Skip to content

Commit

Permalink
Merge pull request #525 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
jenschude authored Dec 15, 2023
2 parents f40a070 + 4513a06 commit 1dbde3a
Show file tree
Hide file tree
Showing 92 changed files with 1,276 additions and 1,044 deletions.
222 changes: 36 additions & 186 deletions changes.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ input AddCartDiscountCode {
validateDuplicates: Boolean = false
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input AddCartDiscountStore {
store: ResourceIdentifierInput!
}
Expand Down Expand Up @@ -1699,7 +1698,6 @@ type Cart implements Versioned & ReferenceExpandable {
customLineItems: [CustomLineItem!]!
totalPrice: Money!
taxedPrice: TaxedPrice
"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
discountOnTotalPrice: DiscountOnTotalPrice
shippingAddress: Address
billingAddress: Address
Expand Down Expand Up @@ -1784,11 +1782,7 @@ type CartDiscount implements Versioned & ReferenceExpandable {
descriptionAllLocales: [LocalizedString!]
referenceRefs: [Reference!]!
custom: CustomFieldsType

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
storesRef: [KeyReference!]!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
stores: [Store!]!
value: CartDiscountValue!
target: CartDiscountTarget
Expand All @@ -1814,8 +1808,6 @@ input CartDiscountDraft {
isActive: Boolean = true
custom: CustomFieldsDraft
key: String

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
stores: [ResourceIdentifierInput!]
}

Expand Down Expand Up @@ -1862,23 +1854,16 @@ input CartDiscountTargetInput {
totalPrice: CartDiscountTotalPriceTargetInput
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
type CartDiscountTotalPriceTarget implements CartDiscountTarget {
type: String!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input CartDiscountTotalPriceTargetInput {
dummy: String
}
input CartDiscountUpdateAction {
"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
setStores: SetCartDiscountStores

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
addStore: AddCartDiscountStore

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
removeStore: RemoveCartDiscountStore
changeCartPredicate: ChangeCartDiscountCartPredicate
changeIsActive: ChangeCartDiscountIsActive
Expand Down Expand Up @@ -4092,7 +4077,6 @@ type DiscountedProductSearchPriceValue {
discount: ProductDiscount
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
type DiscountedTotalPricePortion {
discount: CartDiscount
discountRef: Reference!
Expand Down Expand Up @@ -6451,7 +6435,6 @@ type Order implements Versioned & ReferenceExpandable {
customLineItems: [CustomLineItem!]!
totalPrice: Money!
taxedPrice: TaxedPrice
"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
discountOnTotalPrice: DiscountOnTotalPrice
shippingAddress: Address
billingAddress: Address
Expand Down Expand Up @@ -9243,7 +9226,6 @@ input RemoveCartDiscountCode {
discountCode: ReferenceInput!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input RemoveCartDiscountStore {
store: ResourceIdentifierInput!
}
Expand Down Expand Up @@ -10163,7 +10145,6 @@ input SetCartDiscountKey {
key: String
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input SetCartDiscountStores {
stores: [ResourceIdentifierInput!]
}
Expand Down Expand Up @@ -13685,7 +13666,6 @@ type TimeType implements FieldType {
name: String!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
type DiscountOnTotalPrice {
discountedAmount: BaseMoney!
includedDiscounts: [DiscountedTotalPricePortion!]!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public interface BusinessUnit extends BaseResource, com.commercetools.api.models
public List<Associate> getAssociates();

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @return inheritedAssociates
*/
@Valid
Expand Down Expand Up @@ -436,15 +436,15 @@ public interface BusinessUnit extends BaseResource, com.commercetools.api.models
public void setAssociates(final List<Associate> associates);

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param inheritedAssociates values to be set
*/

@JsonIgnore
public void setInheritedAssociates(final InheritedAssociate... inheritedAssociates);

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param inheritedAssociates values to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public java.util.List<com.commercetools.api.models.business_unit.Associate> getA
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
*/

public java.util.List<com.commercetools.api.models.business_unit.InheritedAssociate> getInheritedAssociates() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public interface BusinessUnitStatus extends JsonEnum {
*/
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="ctp:api:endpoint:/{projectKey}/me/business-units:POST">general endpoint</a>.
<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>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ public CompanyBuilder setAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param inheritedAssociates value to be set
* @return Builder
*/
Expand All @@ -690,7 +690,7 @@ public CompanyBuilder inheritedAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param inheritedAssociates value to be set
* @return Builder
*/
Expand All @@ -702,7 +702,7 @@ public CompanyBuilder inheritedAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param inheritedAssociates value to be set
* @return Builder
*/
Expand All @@ -717,7 +717,7 @@ public CompanyBuilder plusInheritedAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param builder function to build the inheritedAssociates value
* @return Builder
*/
Expand All @@ -733,7 +733,7 @@ public CompanyBuilder plusInheritedAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param builder function to build the inheritedAssociates value
* @return Builder
*/
Expand All @@ -747,7 +747,7 @@ public CompanyBuilder withInheritedAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param builder function to build the inheritedAssociates value
* @return Builder
*/
Expand All @@ -759,7 +759,7 @@ public CompanyBuilder addInheritedAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param builder function to build the inheritedAssociates value
* @return Builder
*/
Expand Down Expand Up @@ -1039,7 +1039,7 @@ public java.util.List<com.commercetools.api.models.business_unit.Associate> getA
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @return inheritedAssociates
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public java.util.List<com.commercetools.api.models.business_unit.Associate> getA
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
*/

public java.util.List<com.commercetools.api.models.business_unit.InheritedAssociate> getInheritedAssociates() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ public DivisionBuilder setAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param inheritedAssociates value to be set
* @return Builder
*/
Expand All @@ -690,7 +690,7 @@ public DivisionBuilder inheritedAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param inheritedAssociates value to be set
* @return Builder
*/
Expand All @@ -702,7 +702,7 @@ public DivisionBuilder inheritedAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param inheritedAssociates value to be set
* @return Builder
*/
Expand All @@ -717,7 +717,7 @@ public DivisionBuilder plusInheritedAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param builder function to build the inheritedAssociates value
* @return Builder
*/
Expand All @@ -733,7 +733,7 @@ public DivisionBuilder plusInheritedAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param builder function to build the inheritedAssociates value
* @return Builder
*/
Expand All @@ -747,7 +747,7 @@ public DivisionBuilder withInheritedAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param builder function to build the inheritedAssociates value
* @return Builder
*/
Expand All @@ -759,7 +759,7 @@ public DivisionBuilder addInheritedAssociates(
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @param builder function to build the inheritedAssociates value
* @return Builder
*/
Expand Down Expand Up @@ -1039,7 +1039,7 @@ public java.util.List<com.commercetools.api.models.business_unit.Associate> getA
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* @return inheritedAssociates
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public java.util.List<com.commercetools.api.models.business_unit.Associate> getA
}

/**
* <p>Associates that are inherited from a parent Business Unit. This value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
* <p>Associates that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the <code>associateMode</code> is set to <code>ExplicitAndFromParent</code>.</p>
*/

public java.util.List<com.commercetools.api.models.business_unit.InheritedAssociate> getInheritedAssociates() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import io.vrap.rmf.base.client.utils.Generated;

/**
* <p>Indicates the shipment status of the Parcel.</p>
* <p>Indicates the shipment status of the Order.</p>
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public interface ShipmentState extends JsonEnum {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* <div class=code-example>
* <pre><code class='java'>
* AttributeReferenceType attributeReferenceType = AttributeReferenceType.builder()
* .referenceTypeId(AttributeReferenceTypeId.CART)
* .referenceTypeId(AttributeReferenceTypeId.ASSOCIATE_ROLE)
* .build()
* </code></pre>
* </div>
Expand Down
Loading

0 comments on commit 1dbde3a

Please sign in to comment.