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 #878

Merged
merged 1 commit into from
Dec 13, 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
309 changes: 309 additions & 0 deletions .changeset/changes_api.md

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions .changeset/changes_history.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@commercetools/history-sdk': minor
---

**History changes**

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

- changed property `id` of type `ModifiedBy` to be optional
</details>
25 changes: 25 additions & 0 deletions .changeset/changes_import.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
'@commercetools/importapi-sdk': minor
---

**Import changes**

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

- added type `InvalidFieldsUpdateError`
- added type `NewMasterVariantAdditionNotAllowedError`
</details>

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

- property `PriceImport::publish` is removed
- property `ProductVariantImport::publish` is removed
</details>

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

- added enum `customer-group` to type `CustomFieldReferenceValue`
</details>
2 changes: 1 addition & 1 deletion packages/platform-sdk/src/generated/models/category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export interface CategoryDraft {
/**
* User-defined unique identifier for the Category.
*
* This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Categories with the [Import API](/../import-export/) and the [Merchant Center](/../merchant-center/import-data).
* This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Categories with the [Import API](/../import-export/overview) and the [Merchant Center](/../merchant-center/import-data).
*
*
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-sdk/src/generated/models/customer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export interface CustomerDraft {
* User-defined unique identifier for the Customer.
* The `key` field is preferred over `customerNumber` as it is mutable and provides more flexibility.
*
* This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Customers with the [Import API](/../import-export/).
* This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Customers with the [Import API](/../import-export/overview).
*
*
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export interface DiscountCodeDraft {
/**
* User-defined unique identifier for the DiscountCode.
*
* This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Discount Codes with the [Import API](/../import-export/) and the [Merchant Center](/../merchant-center/import-data).
* This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Discount Codes with the [Import API](/../import-export/overview) and the [Merchant Center](/../merchant-center/import-data).
*
*/
readonly key?: string
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-sdk/src/generated/models/inventory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export interface InventoryEntryDraft {
/**
* User-defined unique identifier for the InventoryEntry.
*
* This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing InventoryEntries with the [Import API](/../import-export/) and the [Merchant Center](/../merchant-center/import-data).
* This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing InventoryEntries with the [Import API](/../import-export/overview) and the [Merchant Center](/../merchant-center/import-data).
*
*
*/
Expand Down
4 changes: 2 additions & 2 deletions packages/platform-sdk/src/generated/models/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ export interface ProductDraft {
/**
* User-defined unique identifier for the Product.
*
* This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the [Import API](/../api/import-export/) and the [Merchant Center](/../merchant-center/import-data).
* This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the [Import API](/../api/import-export/overview) and the [Merchant Center](/../merchant-center/import-data).
*
* To update a Product using the Import API or Merchant Center, the Product `key` must match the pattern `^[A-Za-z0-9_-]{2,256}$`.
*
Expand Down Expand Up @@ -2095,7 +2095,7 @@ export interface ProductSetKeyAction {
/**
* Value to set. If empty, any existing value will be removed.
*
* To update a Product using the [Import API](/../api/import-export/) and the [Merchant Center](/../merchant-center/import-data), the Product `key` must match the pattern `^[A-Za-z0-9_-]{2,256}$`.
* To update a Product using the [Import API](/../api/import-export/overview) and the [Merchant Center](/../merchant-center/import-data), the Product `key` must match the pattern `^[A-Za-z0-9_-]{2,256}$`.
*
*
*/
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -348,3 +348,4 @@ b747e1fa4f246b748a89bccbfd8a43f5b6f51175
df53588d26d7953dfdf44166866ca03045f0a70b
6b69c5425fe16564147deb9b1d6a9a1078dc5330
99e7aa1c7e3ba67a59b6df3efbaf4e320611c549
269027575a6fd5a2a29387930064a06f22f09bbf
Loading