Skip to content

Commit

Permalink
Merge pull request #686 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
kodiakhq[bot] authored Jul 2, 2024
2 parents a16ba34 + 9fe3a30 commit c9e79c3
Show file tree
Hide file tree
Showing 64 changed files with 10,265 additions and 47 deletions.
104 changes: 57 additions & 47 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,10 @@
**Api changes**

<details>
<summary>Added Property(s)</summary>

- added property `approvalRuleMode` to type `BusinessUnit`
- added property `approvalRuleMode` to type `BusinessUnitDraft`
- added property `approvalRuleMode` to type `Company`
- added property `approvalRuleMode` to type `CompanyDraft`
- added property `approvalRuleMode` to type `Division`
- added property `approvalRuleMode` to type `DivisionDraft`
- added property `metaTitle` to type `ProductTailoringCreatedMessage`
- added property `metaDescription` to type `ProductTailoringCreatedMessage`
- added property `metaKeywords` to type `ProductTailoringCreatedMessage`
- added property `variants` to type `ProductTailoringCreatedMessage`
- added property `metaTitle` to type `ProductTailoringCreatedMessagePayload`
- added property `metaDescription` to type `ProductTailoringCreatedMessagePayload`
- added property `metaKeywords` to type `ProductTailoringCreatedMessagePayload`
- added property `variants` to type `ProductTailoringCreatedMessagePayload`
- added property `variants` to type `ProductTailoringData`
- added property `variants` to type `ProductTailoringDraft`
- added property `variants` to type `ProductTailoringInStoreDraft`
- added property `store` to type `StagedQuote`
</details>


<details>
<summary>Added Resource(s)</summary>
<summary>Added Enum(s)</summary>

- added resource `/{projectKey}/customers/search`
- added resource `/{projectKey}/customers/search/indexing-status`
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests`
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes`
- added resource `/{projectKey}/in-store/key={storeKey}/quotes`
- added resource `/{projectKey}/in-store/key={storeKey}/orders/quotes`
- added resource `/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring/images`
- added resource `/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring/images`
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}`
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}`
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}`
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}`
- added resource `/{projectKey}/in-store/key={storeKey}/quotes/key={key}`
- added resource `/{projectKey}/in-store/key={storeKey}/quotes/{ID}`
- added enum `attribute-group` to type `ChangeSubscriptionResourceTypeId`
- added enum `product-tailoring` to type `ChangeSubscriptionResourceTypeId`
</details>


Expand All @@ -51,14 +15,6 @@
</details>


<details>
<summary>Added Enum(s)</summary>

- added enum `attribute-group` to type `ChangeSubscriptionResourceTypeId`
- added enum `product-tailoring` to type `ChangeSubscriptionResourceTypeId`
</details>


<details>
<summary>Added Method(s)</summary>

Expand Down Expand Up @@ -104,6 +60,30 @@
</details>


<details>
<summary>Added Property(s)</summary>

- added property `approvalRuleMode` to type `BusinessUnit`
- added property `approvalRuleMode` to type `BusinessUnitDraft`
- added property `approvalRuleMode` to type `Company`
- added property `approvalRuleMode` to type `CompanyDraft`
- added property `approvalRuleMode` to type `Division`
- added property `approvalRuleMode` to type `DivisionDraft`
- added property `metaTitle` to type `ProductTailoringCreatedMessage`
- added property `metaDescription` to type `ProductTailoringCreatedMessage`
- added property `metaKeywords` to type `ProductTailoringCreatedMessage`
- added property `variants` to type `ProductTailoringCreatedMessage`
- added property `metaTitle` to type `ProductTailoringCreatedMessagePayload`
- added property `metaDescription` to type `ProductTailoringCreatedMessagePayload`
- added property `metaKeywords` to type `ProductTailoringCreatedMessagePayload`
- added property `variants` to type `ProductTailoringCreatedMessagePayload`
- added property `variants` to type `ProductTailoringData`
- added property `variants` to type `ProductTailoringDraft`
- added property `variants` to type `ProductTailoringInStoreDraft`
- added property `store` to type `StagedQuote`
</details>


<details>
<summary>Added Type(s)</summary>

Expand All @@ -116,11 +96,21 @@
- added type `CustomerSearchRequest`
- added type `CustomerSearchResult`
- added type `BusinessUnitApprovalRuleModeChangedMessage`
- added type `ProductPriceCustomFieldAddedMessage`
- added type `ProductPriceCustomFieldChangedMessage`
- added type `ProductPriceCustomFieldRemovedMessage`
- added type `ProductPriceCustomFieldsRemovedMessage`
- added type `ProductPriceCustomFieldsSetMessage`
- added type `ProductTailoringImageAddedMessage`
- added type `ProductTailoringImagesSetMessage`
- added type `ProductVariantTailoringAddedMessage`
- added type `ProductVariantTailoringRemovedMessage`
- added type `BusinessUnitApprovalRuleModeChangedMessagePayload`
- added type `ProductPriceCustomFieldAddedMessagePayload`
- added type `ProductPriceCustomFieldChangedMessagePayload`
- added type `ProductPriceCustomFieldRemovedMessagePayload`
- added type `ProductPriceCustomFieldsRemovedMessagePayload`
- added type `ProductPriceCustomFieldsSetMessagePayload`
- added type `ProductTailoringImageAddedMessagePayload`
- added type `ProductTailoringImagesSetMessagePayload`
- added type `ProductVariantTailoringAddedMessagePayload`
Expand Down Expand Up @@ -162,3 +152,23 @@
- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/{ID}`
</details>


<details>
<summary>Added Resource(s)</summary>

- added resource `/{projectKey}/customers/search`
- added resource `/{projectKey}/customers/search/indexing-status`
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests`
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes`
- added resource `/{projectKey}/in-store/key={storeKey}/quotes`
- added resource `/{projectKey}/in-store/key={storeKey}/orders/quotes`
- added resource `/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring/images`
- added resource `/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring/images`
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}`
- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}`
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}`
- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}`
- added resource `/{projectKey}/in-store/key={storeKey}/quotes/key={key}`
- added resource `/{projectKey}/in-store/key={storeKey}/quotes/{ID}`
</details>

Original file line number Diff line number Diff line change
Expand Up @@ -7828,6 +7828,48 @@ type ProductPriceChanged implements MessagePayload {
type: String!
}

type ProductPriceCustomFieldAdded implements MessagePayload {
priceId: String!
variantId: Int!
staged: Boolean!
name: String!
value: Json!
type: String!
}

type ProductPriceCustomFieldChanged implements MessagePayload {
priceId: String!
variantId: Int!
staged: Boolean!
name: String!
value: Json!
type: String!
}

type ProductPriceCustomFieldRemoved implements MessagePayload {
priceId: String!
variantId: Int!
staged: Boolean!
name: String!
type: String!
}

type ProductPriceCustomFieldsRemoved implements MessagePayload {
priceId: String!
variantId: Int!
staged: Boolean!
type: String!
}

type ProductPriceCustomFieldsSet implements MessagePayload {
priceId: String!
variantId: Int!
staged: Boolean!
customField: CustomFieldsType!
oldTypeId: String
type: String!
}

input ProductPriceDataInput {
value: BaseMoneyInput!
key: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@
@JsonSubTypes.Type(value = com.commercetools.api.models.message.ProductImageAddedMessageImpl.class, name = ProductImageAddedMessage.PRODUCT_IMAGE_ADDED),
@JsonSubTypes.Type(value = com.commercetools.api.models.message.ProductPriceAddedMessageImpl.class, name = ProductPriceAddedMessage.PRODUCT_PRICE_ADDED),
@JsonSubTypes.Type(value = com.commercetools.api.models.message.ProductPriceChangedMessageImpl.class, name = ProductPriceChangedMessage.PRODUCT_PRICE_CHANGED),
@JsonSubTypes.Type(value = com.commercetools.api.models.message.ProductPriceCustomFieldAddedMessageImpl.class, name = ProductPriceCustomFieldAddedMessage.PRODUCT_PRICE_CUSTOM_FIELD_ADDED),
@JsonSubTypes.Type(value = com.commercetools.api.models.message.ProductPriceCustomFieldChangedMessageImpl.class, name = ProductPriceCustomFieldChangedMessage.PRODUCT_PRICE_CUSTOM_FIELD_CHANGED),
@JsonSubTypes.Type(value = com.commercetools.api.models.message.ProductPriceCustomFieldRemovedMessageImpl.class, name = ProductPriceCustomFieldRemovedMessage.PRODUCT_PRICE_CUSTOM_FIELD_REMOVED),
@JsonSubTypes.Type(value = com.commercetools.api.models.message.ProductPriceCustomFieldsRemovedMessageImpl.class, name = ProductPriceCustomFieldsRemovedMessage.PRODUCT_PRICE_CUSTOM_FIELDS_REMOVED),
@JsonSubTypes.Type(value = com.commercetools.api.models.message.ProductPriceCustomFieldsSetMessageImpl.class, name = ProductPriceCustomFieldsSetMessage.PRODUCT_PRICE_CUSTOM_FIELDS_SET),
@JsonSubTypes.Type(value = com.commercetools.api.models.message.ProductPriceDiscountsSetMessageImpl.class, name = ProductPriceDiscountsSetMessage.PRODUCT_PRICE_DISCOUNTS_SET),
@JsonSubTypes.Type(value = com.commercetools.api.models.message.ProductPriceExternalDiscountSetMessageImpl.class, name = ProductPriceExternalDiscountSetMessage.PRODUCT_PRICE_EXTERNAL_DISCOUNT_SET),
@JsonSubTypes.Type(value = com.commercetools.api.models.message.ProductPriceKeySetMessageImpl.class, name = ProductPriceKeySetMessage.PRODUCT_PRICE_KEY_SET),
Expand Down Expand Up @@ -897,6 +902,26 @@ public static Message deepCopy(@Nullable final Message template) {
return com.commercetools.api.models.message.ProductPriceChangedMessage
.deepCopy((com.commercetools.api.models.message.ProductPriceChangedMessage) template);
}
if (template instanceof com.commercetools.api.models.message.ProductPriceCustomFieldAddedMessage) {
return com.commercetools.api.models.message.ProductPriceCustomFieldAddedMessage
.deepCopy((com.commercetools.api.models.message.ProductPriceCustomFieldAddedMessage) template);
}
if (template instanceof com.commercetools.api.models.message.ProductPriceCustomFieldChangedMessage) {
return com.commercetools.api.models.message.ProductPriceCustomFieldChangedMessage
.deepCopy((com.commercetools.api.models.message.ProductPriceCustomFieldChangedMessage) template);
}
if (template instanceof com.commercetools.api.models.message.ProductPriceCustomFieldRemovedMessage) {
return com.commercetools.api.models.message.ProductPriceCustomFieldRemovedMessage
.deepCopy((com.commercetools.api.models.message.ProductPriceCustomFieldRemovedMessage) template);
}
if (template instanceof com.commercetools.api.models.message.ProductPriceCustomFieldsRemovedMessage) {
return com.commercetools.api.models.message.ProductPriceCustomFieldsRemovedMessage
.deepCopy((com.commercetools.api.models.message.ProductPriceCustomFieldsRemovedMessage) template);
}
if (template instanceof com.commercetools.api.models.message.ProductPriceCustomFieldsSetMessage) {
return com.commercetools.api.models.message.ProductPriceCustomFieldsSetMessage
.deepCopy((com.commercetools.api.models.message.ProductPriceCustomFieldsSetMessage) template);
}
if (template instanceof com.commercetools.api.models.message.ProductPriceDiscountsSetMessage) {
return com.commercetools.api.models.message.ProductPriceDiscountsSetMessage
.deepCopy((com.commercetools.api.models.message.ProductPriceDiscountsSetMessage) template);
Expand Down Expand Up @@ -2461,6 +2486,46 @@ public static com.commercetools.api.models.message.ProductPriceChangedMessageBui
return com.commercetools.api.models.message.ProductPriceChangedMessageBuilder.of();
}

/**
* builder for productPriceCustomFieldAdded subtype
* @return builder
*/
public static com.commercetools.api.models.message.ProductPriceCustomFieldAddedMessageBuilder productPriceCustomFieldAddedBuilder() {
return com.commercetools.api.models.message.ProductPriceCustomFieldAddedMessageBuilder.of();
}

/**
* builder for productPriceCustomFieldChanged subtype
* @return builder
*/
public static com.commercetools.api.models.message.ProductPriceCustomFieldChangedMessageBuilder productPriceCustomFieldChangedBuilder() {
return com.commercetools.api.models.message.ProductPriceCustomFieldChangedMessageBuilder.of();
}

/**
* builder for productPriceCustomFieldRemoved subtype
* @return builder
*/
public static com.commercetools.api.models.message.ProductPriceCustomFieldRemovedMessageBuilder productPriceCustomFieldRemovedBuilder() {
return com.commercetools.api.models.message.ProductPriceCustomFieldRemovedMessageBuilder.of();
}

/**
* builder for productPriceCustomFieldsRemoved subtype
* @return builder
*/
public static com.commercetools.api.models.message.ProductPriceCustomFieldsRemovedMessageBuilder productPriceCustomFieldsRemovedBuilder() {
return com.commercetools.api.models.message.ProductPriceCustomFieldsRemovedMessageBuilder.of();
}

/**
* builder for productPriceCustomFieldsSet subtype
* @return builder
*/
public static com.commercetools.api.models.message.ProductPriceCustomFieldsSetMessageBuilder productPriceCustomFieldsSetBuilder() {
return com.commercetools.api.models.message.ProductPriceCustomFieldsSetMessageBuilder.of();
}

/**
* builder for productPriceDiscountsSet subtype
* @return builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,26 @@ public com.commercetools.api.models.message.ProductPriceChangedMessageBuilder pr
return com.commercetools.api.models.message.ProductPriceChangedMessageBuilder.of();
}

public com.commercetools.api.models.message.ProductPriceCustomFieldAddedMessageBuilder productPriceCustomFieldAddedBuilder() {
return com.commercetools.api.models.message.ProductPriceCustomFieldAddedMessageBuilder.of();
}

public com.commercetools.api.models.message.ProductPriceCustomFieldChangedMessageBuilder productPriceCustomFieldChangedBuilder() {
return com.commercetools.api.models.message.ProductPriceCustomFieldChangedMessageBuilder.of();
}

public com.commercetools.api.models.message.ProductPriceCustomFieldRemovedMessageBuilder productPriceCustomFieldRemovedBuilder() {
return com.commercetools.api.models.message.ProductPriceCustomFieldRemovedMessageBuilder.of();
}

public com.commercetools.api.models.message.ProductPriceCustomFieldsRemovedMessageBuilder productPriceCustomFieldsRemovedBuilder() {
return com.commercetools.api.models.message.ProductPriceCustomFieldsRemovedMessageBuilder.of();
}

public com.commercetools.api.models.message.ProductPriceCustomFieldsSetMessageBuilder productPriceCustomFieldsSetBuilder() {
return com.commercetools.api.models.message.ProductPriceCustomFieldsSetMessageBuilder.of();
}

public com.commercetools.api.models.message.ProductPriceDiscountsSetMessageBuilder productPriceDiscountsSetBuilder() {
return com.commercetools.api.models.message.ProductPriceDiscountsSetMessageBuilder.of();
}
Expand Down
Loading

0 comments on commit c9e79c3

Please sign in to comment.