Skip to content

Commit

Permalink
Update generated SDKs (#137)
Browse files Browse the repository at this point in the history
Co-authored-by: Auto Mation <automation@commercetools.com>
  • Loading branch information
github-actions[bot] and Auto Mation authored Nov 22, 2021
1 parent 6d45ce4 commit f119f8a
Show file tree
Hide file tree
Showing 16 changed files with 571 additions and 74 deletions.
7 changes: 7 additions & 0 deletions .changeset/tame-toes-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@commercetools/history-sdk": patch
"@commercetools/importapi-sdk": patch
"@commercetools/platform-sdk": patch
---

Update generated SDKs
2 changes: 1 addition & 1 deletion packages/history-sdk/src/generated/models/change-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export interface ChangeValueGiftLineItemChangeValue {
/**
*
*/
readonly supplyChannel: Reference
readonly supplyChannel?: Reference
/**
*
*/
Expand Down
4 changes: 4 additions & 0 deletions packages/importapi-sdk/src/generated/models/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ export interface InvalidFieldError {
*
*/
readonly allowedValues?: any[]
/**
*
*/
readonly resourceIndex?: number
}
/**
* An invalid JSON input has been sent to the service.
Expand Down
4 changes: 2 additions & 2 deletions packages/platform-sdk/src/generated/models/api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ export interface ApiClientPagedQueryResponse {
readonly count: number
/**
* Total number of results matching the query.
* This number is an estimation that is not [strongly consistent](/general-concepts#strong-consistency).
* This number is an estimation that is not [strongly consistent](/../api/general-concepts#strong-consistency).
* This field is returned by default.
* For improved performance, calculating this field can be deactivated by using the query parameter `withTotal=false`.
* When the results are filtered with a [Query Predicate](/predicates/query), `total` is subject to a [limit](/contract#queries).
* When the results are filtered with a [Query Predicate](/../api/predicates/query), `total` is subject to a [limit](/../api/limits#queries).
*
*
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface CartDiscount extends BaseResource {
/**
*
*/
readonly value: CartDiscountValueDraft
readonly value: CartDiscountValue
/**
* A valid Cart predicate.
*
Expand Down
6 changes: 5 additions & 1 deletion packages/platform-sdk/src/generated/models/cart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,8 @@ export interface CartAddCustomLineItemAction {
*/
readonly slug: string
/**
* [ResourceIdentifier](/../api/types#resourceidentifier) to a [TaxCategory](ctp:api:type:TaxCategory).
*
*
*/
readonly taxCategory?: TaxCategoryResourceIdentifier
Expand Down Expand Up @@ -1482,6 +1484,8 @@ export interface CartSetCustomShippingMethodAction {
*/
readonly shippingRate: ShippingRateDraft
/**
* [ResourceIdentifier](/../api/types#resourceidentifier) to a [TaxCategory](ctp:api:type:TaxCategory).
*
*
*/
readonly taxCategory?: TaxCategoryResourceIdentifier
Expand Down Expand Up @@ -1511,7 +1515,7 @@ export interface CartSetCustomerEmailAction {
export interface CartSetCustomerGroupAction {
readonly action: 'setCustomerGroup'
/**
* [ResourceIdentifier](/types#resourceidentifier) to a [CustomerGroup](ctp:api:type:CustomerGroup).
* [ResourceIdentifier](/../api/types#resourceidentifier) to a [CustomerGroup](ctp:api:type:CustomerGroup).
*
*
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-sdk/src/generated/models/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ export interface PriceDraft {
*/
readonly country?: string
/**
* [ResourceIdentifier](/types#resourceidentifier) to a [CustomerGroup](ctp:api:type:CustomerGroup).
* [ResourceIdentifier](/../api/types#resourceidentifier) to a [CustomerGroup](ctp:api:type:CustomerGroup).
*
*
*/
Expand Down
12 changes: 6 additions & 6 deletions packages/platform-sdk/src/generated/models/customer-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ export interface CustomerGroup extends BaseResource {
*/
readonly lastModifiedAt: string
/**
* Present on resources updated after 1 February 2019 except for [events not tracked](/client-logging#events-tracked).
* Present on resources updated after 1 February 2019 except for [events not tracked](/../api/client-logging#events-tracked).
*
*
*/
readonly lastModifiedBy?: LastModifiedBy
/**
* Present on resources created after 1 February 2019 except for [events not tracked](/client-logging#events-tracked).
* Present on resources created after 1 February 2019 except for [events not tracked](/../api/client-logging#events-tracked).
*
*
*/
Expand Down Expand Up @@ -116,10 +116,10 @@ export interface CustomerGroupPagedQueryResponse {
readonly count: number
/**
* Total number of results matching the query.
* This number is an estimation that is not [strongly consistent](/general-concepts#strong-consistency).
* This number is an estimation that is not [strongly consistent](/../api/general-concepts#strong-consistency).
* This field is returned by default.
* For improved performance, calculating this field can be deactivated by using the query parameter `withTotal=false`.
* When the results are filtered with a [Query Predicate](/predicates/query), `total` is subject to a [limit](/contract#queries).
* When the results are filtered with a [Query Predicate](/../api/predicates/query), `total` is subject to a [limit](/../api/limits#queries).
*
*
*/
Expand All @@ -144,14 +144,14 @@ export interface CustomerGroupReference {
*/
readonly id: string
/**
* Contains the representation of the expanded Customer Group. Only present in responses to requests with [Reference Expansion](/general-concepts#reference-expansion) for Customer Groups.
* Contains the representation of the expanded Customer Group. Only present in responses to requests with [Reference Expansion](/../api/general-concepts#reference-expansion) for Customer Groups.
*
*
*/
readonly obj?: CustomerGroup
}
/**
* [ResourceIdentifier](/types#resourceidentifier) to a [CustomerGroup](ctp:api:type:CustomerGroup).
* [ResourceIdentifier](/../api/types#resourceidentifier) to a [CustomerGroup](ctp:api:type:CustomerGroup).
*
*/
export interface CustomerGroupResourceIdentifier {
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 @@ -48,7 +48,7 @@ export interface InventoryEntry extends BaseResource {
*/
readonly sku: string
/**
* Optional connection to a particular supplier.
* Connection to a particular supplier.
*
*/
readonly supplyChannel?: ChannelReference
Expand Down
Loading

0 comments on commit f119f8a

Please sign in to comment.