Skip to content

Commit c08b835

Browse files
authored
build(codegen): updating SDK (#1230)
Co-authored-by: ct-sdks[bot] <153784748+ct-sdks[bot]@users.noreply.github.com>
1 parent e4adc09 commit c08b835

3 files changed

Lines changed: 90 additions & 88 deletions

File tree

packages/platform-sdk/src/generated/models/approval-rule.ts

Lines changed: 88 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,94 @@ export interface IApprovalRuleUpdateAction {
229229
*/
230230
readonly action: string
231231
}
232+
export interface ApproverConjunction {
233+
/**
234+
* All of the nested disjunctions must be approved in order for the conjunction to be considered approved.
235+
*
236+
*
237+
*/
238+
readonly and: ApproverDisjunction[]
239+
}
240+
export interface ApproverConjunctionDraft {
241+
/**
242+
* All of the nested disjunctions must be approved in order for the conjunction to be considered approved.
243+
*
244+
*
245+
*/
246+
readonly and: ApproverDisjunctionDraft[]
247+
}
248+
export interface ApproverDisjunction {
249+
/**
250+
* Any of the nested approvers must approve in order for the disjunction to be considered approved.
251+
*
252+
*
253+
*/
254+
readonly or: RuleApprover[]
255+
}
256+
export interface ApproverDisjunctionDraft {
257+
/**
258+
* Any of the nested approvers must approve in order for the disjunction to be considered approved.
259+
*
260+
*
261+
*/
262+
readonly or: RuleApproverDraft[]
263+
}
264+
/**
265+
* Describes the order in which [Associates](ctp:api:type:Associate) can approve the matched [Order](ctp:api:type:Order).
266+
*
267+
*/
268+
export interface ApproverHierarchy {
269+
/**
270+
* All of the nested conjunctions must be approved in order for the hierarchy to be considered approved.
271+
*
272+
*
273+
*/
274+
readonly tiers: ApproverConjunction[]
275+
}
276+
/**
277+
* Describes the sequence in which [Associates](ctp:api:type:Associate) can approve an [Order](ctp:api:type:Order).
278+
*
279+
*/
280+
export interface ApproverHierarchyDraft {
281+
/**
282+
* Nested conjunctions representing tiers of approvers in a hierarchy.
283+
*
284+
*
285+
*/
286+
readonly tiers: ApproverConjunctionDraft[]
287+
}
288+
export interface RuleApprover {
289+
/**
290+
* The Associate Role that is allowed to approve at a given stage in the approval process.
291+
*
292+
*
293+
*/
294+
readonly associateRole: AssociateRoleKeyReference
295+
}
296+
export interface RuleApproverDraft {
297+
/**
298+
* Any Associate with this Role can approve.
299+
*
300+
*
301+
*/
302+
readonly associateRole: AssociateRoleResourceIdentifier
303+
}
304+
export interface RuleRequester {
305+
/**
306+
* The [Associate Role](ctp:api:type:AssociateRole) that an [Associate](ctp:api:type:Associate) must hold for the Approval Rule to apply to the Orders they create.
307+
*
308+
*
309+
*/
310+
readonly associateRole: AssociateRoleKeyReference
311+
}
312+
export interface RuleRequesterDraft {
313+
/**
314+
* The [Associate Role](ctp:api:type:AssociateRole) that an [Associate](ctp:api:type:Associate) must hold for the Approval Rule to apply to the Orders they create.
315+
*
316+
*
317+
*/
318+
readonly associateRole: AssociateRoleResourceIdentifier
319+
}
232320
/**
233321
* Setting the approvers for an [Approval Rule](ctp:api:type:ApprovalRule) generates an [ApprovalRuleApproversSet](ctp:api:type:ApprovalRuleApproversSetMessage) Message.
234322
*
@@ -355,91 +443,3 @@ export interface ApprovalRuleSetStatusAction extends IApprovalRuleUpdateAction {
355443
*/
356444
readonly status: ApprovalRuleStatus
357445
}
358-
export interface ApproverConjunction {
359-
/**
360-
* All of the nested disjunctions must be approved in order for the conjunction to be considered approved.
361-
*
362-
*
363-
*/
364-
readonly and: ApproverDisjunction[]
365-
}
366-
export interface ApproverConjunctionDraft {
367-
/**
368-
* All of the nested disjunctions must be approved in order for the conjunction to be considered approved.
369-
*
370-
*
371-
*/
372-
readonly and: ApproverDisjunctionDraft[]
373-
}
374-
export interface ApproverDisjunction {
375-
/**
376-
* Any of the nested approvers must approve in order for the disjunction to be considered approved.
377-
*
378-
*
379-
*/
380-
readonly or: RuleApprover[]
381-
}
382-
export interface ApproverDisjunctionDraft {
383-
/**
384-
* Any of the nested approvers must approve in order for the disjunction to be considered approved.
385-
*
386-
*
387-
*/
388-
readonly or: RuleApproverDraft[]
389-
}
390-
/**
391-
* Describes the order in which [Associates](ctp:api:type:Associate) can approve the matched [Order](ctp:api:type:Order).
392-
*
393-
*/
394-
export interface ApproverHierarchy {
395-
/**
396-
* All of the nested conjunctions must be approved in order for the hierarchy to be considered approved.
397-
*
398-
*
399-
*/
400-
readonly tiers: ApproverConjunction[]
401-
}
402-
/**
403-
* Describes the sequence in which [Associates](ctp:api:type:Associate) can approve an [Order](ctp:api:type:Order).
404-
*
405-
*/
406-
export interface ApproverHierarchyDraft {
407-
/**
408-
* Nested conjunctions representing tiers of approvers in a hierarchy.
409-
*
410-
*
411-
*/
412-
readonly tiers: ApproverConjunctionDraft[]
413-
}
414-
export interface RuleApprover {
415-
/**
416-
* The Associate Role that is allowed to approve at a given stage in the approval process.
417-
*
418-
*
419-
*/
420-
readonly associateRole: AssociateRoleKeyReference
421-
}
422-
export interface RuleApproverDraft {
423-
/**
424-
* Any Associate with this Role can approve.
425-
*
426-
*
427-
*/
428-
readonly associateRole: AssociateRoleResourceIdentifier
429-
}
430-
export interface RuleRequester {
431-
/**
432-
* The [Associate Role](ctp:api:type:AssociateRole) that an [Associate](ctp:api:type:Associate) must hold for the Approval Rule to apply to the Orders they create.
433-
*
434-
*
435-
*/
436-
readonly associateRole: AssociateRoleKeyReference
437-
}
438-
export interface RuleRequesterDraft {
439-
/**
440-
* The [Associate Role](ctp:api:type:AssociateRole) that an [Associate](ctp:api:type:Associate) must hold for the Approval Rule to apply to the Orders they create.
441-
*
442-
*
443-
*/
444-
readonly associateRole: AssociateRoleResourceIdentifier
445-
}

reference.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
e61e787fc1dc7de60c632a6a5f99f5f61f1e314a

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,3 +511,4 @@ a9c69a2e32f13e695d381fb1c492ee6ed7e6f046
511511
8b51ad0f1cb789c4294135568e272854eea7ac53
512512
da68d777f48ba0233a7542a5344d86ef185db481
513513
d90411c7dae76245a17c90707bfd18b735f04a9c
514+
f3ae1f87cbf764a30d228bf4e01215405951d454

0 commit comments

Comments
 (0)