Skip to content

Commit

Permalink
Update generated SDKs (#832)
Browse files Browse the repository at this point in the history
* build(codegen): updating SDK

* build(codegen): updating SDK

---------

Co-authored-by: ct-sdks[bot] <153784748+ct-sdks[bot]@users.noreply.github.com>
  • Loading branch information
ct-sdks[bot] authored Oct 23, 2024
1 parent 0576b6b commit ea9f582
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 9 deletions.
2 changes: 2 additions & 0 deletions packages/platform-sdk/src/generated/models/category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ 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).
*
*
*/
readonly key?: string
Expand Down
2 changes: 2 additions & 0 deletions packages/platform-sdk/src/generated/models/customer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ 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/).
*
*
*/
readonly key?: string
Expand Down
2 changes: 2 additions & 0 deletions packages/platform-sdk/src/generated/models/discount-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ 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).
*
*/
readonly key?: string
/**
Expand Down
2 changes: 2 additions & 0 deletions packages/platform-sdk/src/generated/models/inventory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ 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).
*
*
*/
readonly key?: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,19 +155,19 @@ export interface ProductTailoringData {
*/
readonly description?: LocalizedString
/**
* Tailored title of the Product used by external search engines for improved search engine performance.
* Tailored title of the Product as displayed in search engine results.
*
*
*/
readonly metaTitle?: LocalizedString
/**
* Tailored description of the Product used by external search engines for improved search engine performance.
* Tailored description of the Product as displayed in search engine results.
*
*
*/
readonly metaDescription?: LocalizedString
/**
* Tailored keywords related to the Product used by external search engines for improved search engine performance.
* Tailored keywords related to the Product that are used by search engines.
*
*
*/
Expand Down
14 changes: 8 additions & 6 deletions packages/platform-sdk/src/generated/models/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,13 +302,13 @@ export interface ProductData {
*/
readonly slug: LocalizedString
/**
* Title of the Product displayed in search results.
* Title of the Product as displayed in search engine results.
*
*
*/
readonly metaTitle?: LocalizedString
/**
* Description of the Product displayed in search results below the meta title.
* Description of the Product as displayed in search engine results below the meta title.
*
*
*/
Expand Down Expand Up @@ -362,7 +362,9 @@ export interface ProductDraft {
/**
* User-defined unique identifier for the Product.
*
* To update a Product using the [Import API](/../import-export/product), the Product `key` must match the pattern `^[A-Za-z0-9_-]{2,256}$`.
* This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the [Import API](/../import-export/) 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 All @@ -386,13 +388,13 @@ export interface ProductDraft {
*/
readonly categoryOrderHints?: CategoryOrderHints
/**
* Title of the Product displayed in search results.
* Title of the Product as displayed in search engine results.
*
*
*/
readonly metaTitle?: LocalizedString
/**
* Description of the Product displayed in search results.
* Description of the Product as displayed in search engine results.
*
*
*/
Expand Down Expand Up @@ -2093,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](/../import-export/product), the Product `key` must match the pattern `^[A-Za-z0-9_-]{2,256}$`.
* To update a Product using the [Import API](/../import-export/) and the [Merchant Center](/../merchant-center/import-data), the Product `key` must match the pattern `^[A-Za-z0-9_-]{2,256}$`.
*
*
*/
Expand Down
2 changes: 2 additions & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -325,3 +325,5 @@ c27603f949e869148570ebb8bd3ec6db34a985b7
cac013ef26a2c100979f66df86f605953dd5d736
82bca33a98d14907ea79e2cca281625dd82cdf0d
c8c2455221baca20421082b7715eaa0a712af7f1
8e5c10a0c61ddaa5eabbd15344258f53ce6971ee
71b6bfba97b7019e0ba081bb188e43c90c6d79e8

0 comments on commit ea9f582

Please sign in to comment.