Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
176 changes: 88 additions & 88 deletions packages/platform-sdk/src/generated/models/approval-rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,94 @@ export interface IApprovalRuleUpdateAction {
*/
readonly action: string
}
export interface ApproverConjunction {
/**
* All of the nested disjunctions must be approved in order for the conjunction to be considered approved.
*
*
*/
readonly and: ApproverDisjunction[]
}
export interface ApproverConjunctionDraft {
/**
* All of the nested disjunctions must be approved in order for the conjunction to be considered approved.
*
*
*/
readonly and: ApproverDisjunctionDraft[]
}
export interface ApproverDisjunction {
/**
* Any of the nested approvers must approve in order for the disjunction to be considered approved.
*
*
*/
readonly or: RuleApprover[]
}
export interface ApproverDisjunctionDraft {
/**
* Any of the nested approvers must approve in order for the disjunction to be considered approved.
*
*
*/
readonly or: RuleApproverDraft[]
}
/**
* Describes the order in which [Associates](ctp:api:type:Associate) can approve the matched [Order](ctp:api:type:Order).
*
*/
export interface ApproverHierarchy {
/**
* All of the nested conjunctions must be approved in order for the hierarchy to be considered approved.
*
*
*/
readonly tiers: ApproverConjunction[]
}
/**
* Describes the sequence in which [Associates](ctp:api:type:Associate) can approve an [Order](ctp:api:type:Order).
*
*/
export interface ApproverHierarchyDraft {
/**
* Nested conjunctions representing tiers of approvers in a hierarchy.
*
*
*/
readonly tiers: ApproverConjunctionDraft[]
}
export interface RuleApprover {
/**
* The Associate Role that is allowed to approve at a given stage in the approval process.
*
*
*/
readonly associateRole: AssociateRoleKeyReference
}
export interface RuleApproverDraft {
/**
* Any Associate with this Role can approve.
*
*
*/
readonly associateRole: AssociateRoleResourceIdentifier
}
export interface RuleRequester {
/**
* 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.
*
*
*/
readonly associateRole: AssociateRoleKeyReference
}
export interface RuleRequesterDraft {
/**
* 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.
*
*
*/
readonly associateRole: AssociateRoleResourceIdentifier
}
/**
* Setting the approvers for an [Approval Rule](ctp:api:type:ApprovalRule) generates an [ApprovalRuleApproversSet](ctp:api:type:ApprovalRuleApproversSetMessage) Message.
*
Expand Down Expand Up @@ -355,91 +443,3 @@ export interface ApprovalRuleSetStatusAction extends IApprovalRuleUpdateAction {
*/
readonly status: ApprovalRuleStatus
}
export interface ApproverConjunction {
/**
* All of the nested disjunctions must be approved in order for the conjunction to be considered approved.
*
*
*/
readonly and: ApproverDisjunction[]
}
export interface ApproverConjunctionDraft {
/**
* All of the nested disjunctions must be approved in order for the conjunction to be considered approved.
*
*
*/
readonly and: ApproverDisjunctionDraft[]
}
export interface ApproverDisjunction {
/**
* Any of the nested approvers must approve in order for the disjunction to be considered approved.
*
*
*/
readonly or: RuleApprover[]
}
export interface ApproverDisjunctionDraft {
/**
* Any of the nested approvers must approve in order for the disjunction to be considered approved.
*
*
*/
readonly or: RuleApproverDraft[]
}
/**
* Describes the order in which [Associates](ctp:api:type:Associate) can approve the matched [Order](ctp:api:type:Order).
*
*/
export interface ApproverHierarchy {
/**
* All of the nested conjunctions must be approved in order for the hierarchy to be considered approved.
*
*
*/
readonly tiers: ApproverConjunction[]
}
/**
* Describes the sequence in which [Associates](ctp:api:type:Associate) can approve an [Order](ctp:api:type:Order).
*
*/
export interface ApproverHierarchyDraft {
/**
* Nested conjunctions representing tiers of approvers in a hierarchy.
*
*
*/
readonly tiers: ApproverConjunctionDraft[]
}
export interface RuleApprover {
/**
* The Associate Role that is allowed to approve at a given stage in the approval process.
*
*
*/
readonly associateRole: AssociateRoleKeyReference
}
export interface RuleApproverDraft {
/**
* Any Associate with this Role can approve.
*
*
*/
readonly associateRole: AssociateRoleResourceIdentifier
}
export interface RuleRequester {
/**
* 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.
*
*
*/
readonly associateRole: AssociateRoleKeyReference
}
export interface RuleRequesterDraft {
/**
* 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.
*
*
*/
readonly associateRole: AssociateRoleResourceIdentifier
}
1 change: 1 addition & 0 deletions reference.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e61e787fc1dc7de60c632a6a5f99f5f61f1e314a
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -511,3 +511,4 @@ a9c69a2e32f13e695d381fb1c492ee6ed7e6f046
8b51ad0f1cb789c4294135568e272854eea7ac53
da68d777f48ba0233a7542a5344d86ef185db481
d90411c7dae76245a17c90707bfd18b735f04a9c
f3ae1f87cbf764a30d228bf4e01215405951d454
Loading