Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated SDKs #571

Merged
merged 1 commit into from
Feb 7, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,13 @@
public interface ApprovalFlowStatus extends JsonEnum {

/**
<p>Default status of Approval Flows, indicating that the Approval Flow has not been fully approved or rejected.</p>

*/
<p>Default status of Approval Flows, indicating that the Approval Flow has not been fully approved or rejected.</p> */
ApprovalFlowStatus PENDING = ApprovalFlowStatusEnum.PENDING;
/**
<p>Automatically set when all approvers from matching Approval Rules have approved. It indicates that the Approval Flow has been fully approved and is completed.</p>

*/
<p>Automatically set when all approvers from matching Approval Rules have approved. It indicates that the Approval Flow has been fully approved and is completed.</p> */
ApprovalFlowStatus APPROVED = ApprovalFlowStatusEnum.APPROVED;
/**
<p>Automatically set when a rejection occurs in the Approval Flow. A single rejection is sufficient to reject the entire Approval Flow.</p>

*/
<p>Automatically set when a rejection occurs in the Approval Flow. A single rejection is sufficient to reject the entire Approval Flow.</p> */
ApprovalFlowStatus REJECTED = ApprovalFlowStatusEnum.REJECTED;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,10 @@
public interface ApprovalRuleStatus extends JsonEnum {

/**
<p>The Approval Rule is in effect and will be used in evaluating approval requests for <a href="ctp:api:type:Order">Orders</a>.</p>

*/
<p>The Approval Rule is in effect and will be used in evaluating approval requests for Orders.</p> */
ApprovalRuleStatus ACTIVE = ApprovalRuleStatusEnum.ACTIVE;
/**
<p>The Approval Rule is not in effect and will not be used in evaluating approval requests for Orders.</p>

*/
<p>The Approval Rule is not in effect and will not be used in evaluating approval requests for Orders.</p> */
ApprovalRuleStatus INACTIVE = ApprovalRuleStatusEnum.INACTIVE;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,199 +17,121 @@
public interface Permission extends JsonEnum {

/**
<p>An Associate can create a child Business Unit.</p>

*/
<p>An Associate can create a child Business Unit.</p> */
Permission ADD_CHILD_UNITS = PermissionEnum.ADD_CHILD_UNITS;
/**
<p>An Associate can manage other Associates.</p>

*/
<p>An Associate can manage other Associates.</p> */
Permission UPDATE_ASSOCIATES = PermissionEnum.UPDATE_ASSOCIATES;
/**
<p>An Associate can edit Business Unit details.</p>

*/
<p>An Associate can edit Business Unit details.</p> */
Permission UPDATE_BUSINESS_UNIT_DETAILS = PermissionEnum.UPDATE_BUSINESS_UNIT_DETAILS;
/**
<p>An Associate can assign a Business Unit to be the parent unit. Additionally, the Associate requires the <code>AddChildUnits</code> permission in the new parent to perform the assignment.</p>

*/
<p>An Associate can assign a Business Unit to be the parent unit. Additionally, the Associate requires the <code>AddChildUnits</code> permission in the new parent to perform the assignment.</p> */
Permission UPDATE_PARENT_UNIT = PermissionEnum.UPDATE_PARENT_UNIT;
/**
<p>An Associate can view their own B2B Carts.</p>

*/
<p>An Associate can view their own B2B Carts.</p> */
Permission VIEW_MY_CARTS = PermissionEnum.VIEW_MY_CARTS;
/**
<p>An Associate can view B2B Carts that belong to other Associates.</p>

*/
<p>An Associate can view B2B Carts that belong to other Associates.</p> */
Permission VIEW_OTHERS_CARTS = PermissionEnum.VIEW_OTHERS_CARTS;
/**
<p>An Associate can update their own B2B Carts.</p>

*/
<p>An Associate can update their own B2B Carts.</p> */
Permission UPDATE_MY_CARTS = PermissionEnum.UPDATE_MY_CARTS;
/**
<p>An Associate can update B2B Carts that belong to other Associates.</p>

*/
<p>An Associate can update B2B Carts that belong to other Associates.</p> */
Permission UPDATE_OTHERS_CARTS = PermissionEnum.UPDATE_OTHERS_CARTS;
/**
<p>An Associate can create their own B2B Carts.</p>

*/
<p>An Associate can create their own B2B Carts.</p> */
Permission CREATE_MY_CARTS = PermissionEnum.CREATE_MY_CARTS;
/**
<p>An Associate can create B2B Carts that belong to other Associates.</p>

*/
<p>An Associate can create B2B Carts that belong to other Associates.</p> */
Permission CREATE_OTHERS_CARTS = PermissionEnum.CREATE_OTHERS_CARTS;
/**
<p>An Associate can delete their own B2B Carts.</p>

*/
<p>An Associate can delete their own B2B Carts.</p> */
Permission DELETE_MY_CARTS = PermissionEnum.DELETE_MY_CARTS;
/**
<p>An Associate can delete B2B Carts that belong to other Associates.</p>

*/
<p>An Associate can delete B2B Carts that belong to other Associates.</p> */
Permission DELETE_OTHERS_CARTS = PermissionEnum.DELETE_OTHERS_CARTS;
/**
<p>An Associate can view their own B2B Orders.</p>

*/
<p>An Associate can view their own B2B Orders.</p> */
Permission VIEW_MY_ORDERS = PermissionEnum.VIEW_MY_ORDERS;
/**
<p>An Associate can view B2B Orders that belong to other Associates.</p>

*/
<p>An Associate can view B2B Orders that belong to other Associates.</p> */
Permission VIEW_OTHERS_ORDERS = PermissionEnum.VIEW_OTHERS_ORDERS;
/**
<p>An Associate can update their own B2B Orders.</p>

*/
<p>An Associate can update their own B2B Orders.</p> */
Permission UPDATE_MY_ORDERS = PermissionEnum.UPDATE_MY_ORDERS;
/**
<p>An Associate can update B2B Orders that belong to other Associates.</p>

*/
<p>An Associate can update B2B Orders that belong to other Associates.</p> */
Permission UPDATE_OTHERS_ORDERS = PermissionEnum.UPDATE_OTHERS_ORDERS;
/**
<p>An Associate can create Orders from their own B2B Carts.</p>

*/
<p>An Associate can create Orders from their own B2B Carts.</p> */
Permission CREATE_MY_ORDERS_FROM_MY_CARTS = PermissionEnum.CREATE_MY_ORDERS_FROM_MY_CARTS;
/**
<p>An Associate can create Orders from their own B2B Quotes.</p>

*/
<p>An Associate can create Orders from their own B2B Quotes.</p> */
Permission CREATE_MY_ORDERS_FROM_MY_QUOTES = PermissionEnum.CREATE_MY_ORDERS_FROM_MY_QUOTES;
/**
<p>An Associate can create Orders from B2B Carts that belong to other Associates.</p>

*/
<p>An Associate can create Orders from B2B Carts that belong to other Associates.</p> */
Permission CREATE_ORDERS_FROM_OTHERS_CARTS = PermissionEnum.CREATE_ORDERS_FROM_OTHERS_CARTS;
/**
<p>An Associate can create Orders from B2B Quotes that belong to other Associates.</p>

*/
<p>An Associate can create Orders from B2B Quotes that belong to other Associates.</p> */
Permission CREATE_ORDERS_FROM_OTHERS_QUOTES = PermissionEnum.CREATE_ORDERS_FROM_OTHERS_QUOTES;
/**
<p>An Associate can view their own B2B Quotes.</p>

*/
<p>An Associate can view their own B2B Quotes.</p> */
Permission VIEW_MY_QUOTES = PermissionEnum.VIEW_MY_QUOTES;
/**
<p>An Associate can view B2B Quotes that belong to other Associates.</p>

*/
<p>An Associate can view B2B Quotes that belong to other Associates.</p> */
Permission VIEW_OTHERS_QUOTES = PermissionEnum.VIEW_OTHERS_QUOTES;
/**
<p>An Associate can accept their own B2B Quotes.</p>

*/
<p>An Associate can accept their own B2B Quotes.</p> */
Permission ACCEPT_MY_QUOTES = PermissionEnum.ACCEPT_MY_QUOTES;
/**
<p>An Associate can accept B2B Quotes that belong to other Associates.</p>

*/
<p>An Associate can accept B2B Quotes that belong to other Associates.</p> */
Permission ACCEPT_OTHERS_QUOTES = PermissionEnum.ACCEPT_OTHERS_QUOTES;
/**
<p>An Associate can decline their own B2B Quotes.</p>

*/
<p>An Associate can decline their own B2B Quotes.</p> */
Permission DECLINE_MY_QUOTES = PermissionEnum.DECLINE_MY_QUOTES;
/**
<p>An Associate can decline B2B Quotes that belong to other Associates.</p>

*/
<p>An Associate can decline B2B Quotes that belong to other Associates.</p> */
Permission DECLINE_OTHERS_QUOTES = PermissionEnum.DECLINE_OTHERS_QUOTES;
/**
<p>An Associate can renegotiate their own B2B Quotes.</p>

*/
<p>An Associate can renegotiate their own B2B Quotes.</p> */
Permission RENEGOTIATE_MY_QUOTES = PermissionEnum.RENEGOTIATE_MY_QUOTES;
/**
<p>An Associate can renegotiate B2B Quotes that belong to other Associates.</p>

*/
<p>An Associate can renegotiate B2B Quotes that belong to other Associates.</p> */
Permission RENEGOTIATE_OTHERS_QUOTES = PermissionEnum.RENEGOTIATE_OTHERS_QUOTES;
/**
<p>An Associate can reassign their own B2B Quotes to a different Associate.</p>

*/
<p>An Associate can reassign their own B2B Quotes to a different Associate.</p> */
Permission REASSIGN_MY_QUOTES = PermissionEnum.REASSIGN_MY_QUOTES;
/**
<p>An Associate can reassign B2B Quotes that belong to other Associates.</p>

*/
<p>An Associate can reassign B2B Quotes that belong to other Associates.</p> */
Permission REASSIGN_OTHERS_QUOTES = PermissionEnum.REASSIGN_OTHERS_QUOTES;
/**
<p>An Associate can view their own B2B Quote Requests.</p>

*/
<p>An Associate can view their own B2B Quote Requests.</p> */
Permission VIEW_MY_QUOTE_REQUESTS = PermissionEnum.VIEW_MY_QUOTE_REQUESTS;
/**
<p>An Associate can view B2B Quote Requests that belong to other Associates.</p>

*/
<p>An Associate can view B2B Quote Requests that belong to other Associates.</p> */
Permission VIEW_OTHERS_QUOTE_REQUESTS = PermissionEnum.VIEW_OTHERS_QUOTE_REQUESTS;
/**
<p>An Associate can update their own B2B Quote Requests.</p>

*/
<p>An Associate can update their own B2B Quote Requests.</p> */
Permission UPDATE_MY_QUOTE_REQUESTS = PermissionEnum.UPDATE_MY_QUOTE_REQUESTS;
/**
<p>An Associate can update B2B Quote Requests of other Associates.</p>

*/
<p>An Associate can update B2B Quote Requests of other Associates.</p> */
Permission UPDATE_OTHERS_QUOTE_REQUESTS = PermissionEnum.UPDATE_OTHERS_QUOTE_REQUESTS;
/**
<p>An Associate can create their own Quote Requests from their own B2B Carts.</p>

*/
<p>An Associate can create their own Quote Requests from their own B2B Carts.</p> */
Permission CREATE_MY_QUOTE_REQUESTS_FROM_MY_CARTS = PermissionEnum.CREATE_MY_QUOTE_REQUESTS_FROM_MY_CARTS;
/**
<p>An Associate can create Quote Requests from B2B Carts that belong to other Associates.</p>

*/
<p>An Associate can create Quote Requests from B2B Carts that belong to other Associates.</p> */
Permission CREATE_QUOTE_REQUESTS_FROM_OTHERS_CARTS = PermissionEnum.CREATE_QUOTE_REQUESTS_FROM_OTHERS_CARTS;
/**
<p>An Associate can create Approval Rules.</p>

*/
<p>An Associate can create Approval Rules.</p> */
Permission CREATE_APPROVAL_RULES = PermissionEnum.CREATE_APPROVAL_RULES;
/**
<p>An Associate can update Approval Rules.</p>

*/
<p>An Associate can update Approval Rules.</p> */
Permission UPDATE_APPROVAL_RULES = PermissionEnum.UPDATE_APPROVAL_RULES;
/**
<p>An Associate can update Approval Flows.</p>

*/
<p>An Associate can update Approval Flows.</p> */
Permission UPDATE_APPROVAL_FLOWS = PermissionEnum.UPDATE_APPROVAL_FLOWS;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,10 @@
public interface AssociateRoleInheritanceMode extends JsonEnum {

/**
<p>The assignment can be inherited by child Business Units.</p>

*/
<p>The assignment can be inherited by child Business Units.</p> */
AssociateRoleInheritanceMode ENABLED = AssociateRoleInheritanceModeEnum.ENABLED;
/**
<p>The assignment cannot be inherited by child Business Units.</p>

*/
<p>The assignment cannot be inherited by child Business Units.</p> */
AssociateRoleInheritanceMode DISABLED = AssociateRoleInheritanceModeEnum.DISABLED;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,10 @@
public interface BusinessUnitAssociateMode extends JsonEnum {

/**
<p>All Associates of a Business Unit must be explicitly assigned. The Business Unit cannot inherit Associates from a parent.</p>

*/
<p>All Associates of a Business Unit must be explicitly assigned. The Business Unit cannot inherit Associates from a parent.</p> */
BusinessUnitAssociateMode EXPLICIT = BusinessUnitAssociateModeEnum.EXPLICIT;
/**
<p>Associates of a Business Unit can be assigned explicitly and inherited from a parent.</p>

*/
<p>Associates of a Business Unit can be assigned explicitly and inherited from a parent.</p> */
BusinessUnitAssociateMode EXPLICIT_AND_FROM_PARENT = BusinessUnitAssociateModeEnum.EXPLICIT_AND_FROM_PARENT;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,10 @@
public interface BusinessUnitStatus extends JsonEnum {

/**
<p>The Business Unit can be used in Carts, Orders, Quote Requests, and Quotes and can be edited.</p>

*/
<p>The Business Unit can be used in Carts, Orders, Quote Requests, and Quotes and can be edited.</p> */
BusinessUnitStatus ACTIVE = BusinessUnitStatusEnum.ACTIVE;
/**
<p>The Business Unit cannot be used in Carts, Orders, Quote Requests, and Quotes and can only be edited using the <a href="/../api/associates-overview#through-the-general-endpoints">general endpoint</a>.
Status doesn't affect inheritance. Even if a parent unit is inactive, its children remain active and can inherit role assignments.</p>

*/
<p>The Business Unit cannot be used in Carts, Orders, Quote Requests, and Quotes and can only be edited using the general endpoint. Status doesn't affect inheritance. Even if a parent unit is inactive, its children remain active and can inherit role assignments.</p> */
BusinessUnitStatus INACTIVE = BusinessUnitStatusEnum.INACTIVE;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,10 @@
public interface BusinessUnitStoreMode extends JsonEnum {

/**
<p>Stores are defined on the Business Unit.</p>

*/
<p>Stores are defined on the Business Unit.</p> */
BusinessUnitStoreMode EXPLICIT = BusinessUnitStoreModeEnum.EXPLICIT;
/**
<p>Stores are inherited from the closest parent in the hierarchy that has Stores defined.</p>

*/
<p>Stores are inherited from the closest parent in the hierarchy that has Stores defined.</p> */
BusinessUnitStoreMode FROM_PARENT = BusinessUnitStoreModeEnum.FROM_PARENT;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,10 @@
public interface BusinessUnitType extends JsonEnum {

/**
<p>Top-level Business Unit. Must not have a <code>parentUnit</code> defined.</p>

*/
<p>Top-level Business Unit. Must not have a <code>parentUnit</code> defined.</p> */
BusinessUnitType COMPANY = BusinessUnitTypeEnum.COMPANY;
/**
<p>Business Unit with a <code>parentUnit</code> reference to a <a href="ctp:api:type:Division">Company</a> or another Division.</p>

*/
<p>Business Unit with a <code>parentUnit</code> reference to a Company or another Division.</p> */
BusinessUnitType DIVISION = BusinessUnitTypeEnum.DIVISION;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,14 @@
public interface CartOrigin extends JsonEnum {

/**
<p>Cart was created by a Customer.</p>
<p>This is the default value.</p>

*/
<p>Cart was created by a Customer.</p>
<p>This is the default value.</p> */
CartOrigin CUSTOMER = CartOriginEnum.CUSTOMER;
/**
<p>Cart was created by a merchant on behalf of a Customer.</p>

*/
<p>Cart was created by a merchant on behalf of a Customer.</p> */
CartOrigin MERCHANT = CartOriginEnum.MERCHANT;
/**
<p>Cart was created as part of a Quote.</p>

*/
<p>Cart was created as part of a Quote.</p> */
CartOrigin QUOTE = CartOriginEnum.QUOTE;

/**
Expand Down
Loading
Loading