@commercetools/history-sdk 2.4.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,52 @@
1
1
  # @commercetools/history-sdk
2
2
 
3
+ ## 2.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#291](https://github.com/commercetools/commercetools-sdk-typescript/pull/291) [`cde61f4`](https://github.com/commercetools/commercetools-sdk-typescript/commit/cde61f45563970ca1648496198268976e4f83d8e) Thanks [@github-actions](https://github.com/apps/github-actions)! - ### History API
8
+
9
+ - add support for quotes
10
+ - add support for authentication mode
11
+ - add product selection support
12
+
13
+ ### Import API
14
+
15
+ - add support for inventory imports
16
+ - remove import sink endpoints
17
+
18
+ ### Platform API
19
+
20
+ - add support for quotes
21
+ - fix localeProjection query parameter type
22
+ - add missing query parameters to product selection assigment
23
+ - add HEAD request to product types
24
+ - add DeliveryDraft model
25
+ - removed deprecated fields from Payment models
26
+
27
+ ## 2.5.1
28
+
29
+ ### Patch Changes
30
+
31
+ - [#258](https://github.com/commercetools/commercetools-sdk-typescript/pull/258) [`ba52d38`](https://github.com/commercetools/commercetools-sdk-typescript/commit/ba52d38a0a00299de61f554ae753cfb984401d79) Thanks [@github-actions](https://github.com/apps/github-actions)! - Update generated SDKs
32
+
33
+ - add support for Standalone Prices
34
+
35
+ * [#266](https://github.com/commercetools/commercetools-sdk-typescript/pull/266) [`fd29fa7`](https://github.com/commercetools/commercetools-sdk-typescript/commit/fd29fa759f906040d76a889c2d3fbfbdf2ac6617) Thanks [@github-actions](https://github.com/apps/github-actions)! - Platform SDK updates:
36
+
37
+ - Fix /me/email/confirm arguments and return type (https://github.com/commercetools/commercetools-sdk-typescript/issues/274)
38
+
39
+ ## 2.5.0
40
+
41
+ ### Minor Changes
42
+
43
+ - [#257](https://github.com/commercetools/commercetools-sdk-typescript/pull/257) [`facc47b`](https://github.com/commercetools/commercetools-sdk-typescript/commit/facc47ba50b00056adc232d7c75a2849cdcc6689) Thanks [@ajimae](https://github.com/ajimae)! - release latest sdk
44
+
45
+ ### Patch Changes
46
+
47
+ - Updated dependencies [[`facc47b`](https://github.com/commercetools/commercetools-sdk-typescript/commit/facc47ba50b00056adc232d7c75a2849cdcc6689), [`7512c3f`](https://github.com/commercetools/commercetools-sdk-typescript/commit/7512c3f1f488645da3952f296d4f4fe3149b7fba)]:
48
+ - @commercetools/sdk-client-v2@1.4.0
49
+
3
50
  ## 2.4.0
4
51
 
5
52
  ### Minor Changes
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Typescript SDK for commercetools Audit log (history) APIs.
1
+ # Typescript SDK for Composable Commerce Audit log (history) APIs.
2
2
 
3
3
  ## Usage examples
4
4
 
@@ -104,6 +104,9 @@ class ApiRequest {
104
104
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
105
105
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
106
106
  */
107
+ /**
108
+ **/
109
+
107
110
  class ByProjectKeyByResourceTypeByIDRequestBuilder {
108
111
  constructor(args) {
109
112
  this.args = args;
@@ -128,6 +131,9 @@ class ByProjectKeyByResourceTypeByIDRequestBuilder {
128
131
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
129
132
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
130
133
  */
134
+ /**
135
+ **/
136
+
131
137
  class ByProjectKeyByResourceTypeRequestBuilder {
132
138
  constructor(args) {
133
139
  this.args = args;
@@ -162,6 +168,9 @@ class ByProjectKeyByResourceTypeRequestBuilder {
162
168
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
163
169
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
164
170
  */
171
+ /**
172
+ **/
173
+
165
174
  class ByProjectKeyRequestBuilder {
166
175
  constructor(args) {
167
176
  this.args = args;
@@ -100,6 +100,9 @@ class ApiRequest {
100
100
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
101
101
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
102
102
  */
103
+ /**
104
+ **/
105
+
103
106
  class ByProjectKeyByResourceTypeByIDRequestBuilder {
104
107
  constructor(args) {
105
108
  this.args = args;
@@ -124,6 +127,9 @@ class ByProjectKeyByResourceTypeByIDRequestBuilder {
124
127
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
125
128
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
126
129
  */
130
+ /**
131
+ **/
132
+
127
133
  class ByProjectKeyByResourceTypeRequestBuilder {
128
134
  constructor(args) {
129
135
  this.args = args;
@@ -158,6 +164,9 @@ class ByProjectKeyByResourceTypeRequestBuilder {
158
164
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
159
165
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
160
166
  */
167
+ /**
168
+ **/
169
+
161
170
  class ByProjectKeyRequestBuilder {
162
171
  constructor(args) {
163
172
  this.args = args;
@@ -104,6 +104,9 @@ class ApiRequest {
104
104
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
105
105
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
106
106
  */
107
+ /**
108
+ **/
109
+
107
110
  class ByProjectKeyByResourceTypeByIDRequestBuilder {
108
111
  constructor(args) {
109
112
  this.args = args;
@@ -128,6 +131,9 @@ class ByProjectKeyByResourceTypeByIDRequestBuilder {
128
131
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
129
132
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
130
133
  */
134
+ /**
135
+ **/
136
+
131
137
  class ByProjectKeyByResourceTypeRequestBuilder {
132
138
  constructor(args) {
133
139
  this.args = args;
@@ -162,6 +168,9 @@ class ByProjectKeyByResourceTypeRequestBuilder {
162
168
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
163
169
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
164
170
  */
171
+ /**
172
+ **/
173
+
165
174
  class ByProjectKeyRequestBuilder {
166
175
  constructor(args) {
167
176
  this.args = args;
@@ -104,6 +104,9 @@ class ApiRequest {
104
104
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
105
105
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
106
106
  */
107
+ /**
108
+ **/
109
+
107
110
  class ByProjectKeyByResourceTypeByIDRequestBuilder {
108
111
  constructor(args) {
109
112
  this.args = args;
@@ -128,6 +131,9 @@ class ByProjectKeyByResourceTypeByIDRequestBuilder {
128
131
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
129
132
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
130
133
  */
134
+ /**
135
+ **/
136
+
131
137
  class ByProjectKeyByResourceTypeRequestBuilder {
132
138
  constructor(args) {
133
139
  this.args = args;
@@ -162,6 +168,9 @@ class ByProjectKeyByResourceTypeRequestBuilder {
162
168
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
163
169
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
164
170
  */
171
+ /**
172
+ **/
173
+
165
174
  class ByProjectKeyRequestBuilder {
166
175
  constructor(args) {
167
176
  this.args = args;
@@ -100,6 +100,9 @@ class ApiRequest {
100
100
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
101
101
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
102
102
  */
103
+ /**
104
+ **/
105
+
103
106
  class ByProjectKeyByResourceTypeByIDRequestBuilder {
104
107
  constructor(args) {
105
108
  this.args = args;
@@ -124,6 +127,9 @@ class ByProjectKeyByResourceTypeByIDRequestBuilder {
124
127
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
125
128
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
126
129
  */
130
+ /**
131
+ **/
132
+
127
133
  class ByProjectKeyByResourceTypeRequestBuilder {
128
134
  constructor(args) {
129
135
  this.args = args;
@@ -158,6 +164,9 @@ class ByProjectKeyByResourceTypeRequestBuilder {
158
164
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
159
165
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
160
166
  */
167
+ /**
168
+ **/
169
+
161
170
  class ByProjectKeyRequestBuilder {
162
171
  constructor(args) {
163
172
  this.args = args;
@@ -6,6 +6,8 @@
6
6
  import { PlatformInitiatedChange, RecordPagedQueryResponse } from '../models/change-history';
7
7
  import { executeRequest, QueryParam } from '../shared/utils/common-types';
8
8
  import { ApiRequest } from '../shared/utils/requests-utils';
9
+ /**
10
+ **/
9
11
  export declare class ByProjectKeyByResourceTypeByIDRequestBuilder {
10
12
  protected readonly args: {
11
13
  pathArgs: {
@@ -7,6 +7,8 @@ import { PlatformInitiatedChange, RecordPagedQueryResponse } from '../models/cha
7
7
  import { executeRequest, QueryParam } from '../shared/utils/common-types';
8
8
  import { ApiRequest } from '../shared/utils/requests-utils';
9
9
  import { ByProjectKeyByResourceTypeByIDRequestBuilder } from './by-project-key-by-resource-type-by-id-request-builder';
10
+ /**
11
+ **/
10
12
  export declare class ByProjectKeyByResourceTypeRequestBuilder {
11
13
  protected readonly args: {
12
14
  pathArgs: {
@@ -7,6 +7,8 @@ import { ChangeHistoryResourceType, PlatformInitiatedChange, RecordPagedQueryRes
7
7
  import { executeRequest, QueryParam } from '../shared/utils/common-types';
8
8
  import { ApiRequest } from '../shared/utils/requests-utils';
9
9
  import { ByProjectKeyByResourceTypeRequestBuilder } from './by-project-key-by-resource-type-request-builder';
10
+ /**
11
+ **/
10
12
  export declare class ByProjectKeyRequestBuilder {
11
13
  protected readonly args: {
12
14
  pathArgs: {
@@ -49,7 +49,7 @@ export interface Record {
49
49
  readonly previousLabel: Label;
50
50
  /**
51
51
  * Shows the differences in the resource between `previousVersion` and `version`.
52
- * The value is not identical to the actual array of update actions that was sent to the platform and is not limited to update actions (see, for example, [Optimistic Concurrency Control](/general-concepts#optimistic-concurrency-control)).
52
+ * The value is not identical to the actual array of update actions sent and is not limited to update actions (see, for example, [Optimistic Concurrency Control](/general-concepts#optimistic-concurrency-control)).
53
53
  *
54
54
  *
55
55
  */
@@ -80,7 +80,7 @@ export interface Record {
80
80
  */
81
81
  export interface RecordPagedQueryResponse {
82
82
  /**
83
- * Maximum number of results requested in the query request.
83
+ * Number of [results requested](/../api/general-concepts#limit).
84
84
  *
85
85
  *
86
86
  */
@@ -99,7 +99,7 @@ export interface RecordPagedQueryResponse {
99
99
  */
100
100
  readonly total: number;
101
101
  /**
102
- * The number of elements skipped, not a page number. Supplied by the client or the server default.
102
+ * Number of [elements skipped](/../api/general-concepts#offset).
103
103
  *
104
104
  *
105
105
  */
@@ -114,7 +114,7 @@ export interface RecordPagedQueryResponse {
114
114
  * The value must be one of the following:
115
115
  *
116
116
  */
117
- export declare type ChangeHistoryResourceType = 'cart-discount' | 'category' | 'channel' | 'customer' | 'customer-group' | 'discount-code' | 'inventory-entry' | 'key-value-document' | 'order' | 'payment' | 'product' | 'product-discount' | 'product-type' | 'review' | 'shopping-list' | 'state' | 'store' | 'tax-category' | 'type' | 'zone';
117
+ export declare type ChangeHistoryResourceType = 'cart-discount' | 'category' | 'channel' | 'customer' | 'customer-group' | 'discount-code' | 'inventory-entry' | 'key-value-document' | 'order' | 'payment' | 'product' | 'product-discount' | 'product-selection' | 'product-type' | 'quote' | 'quote-request' | 'review' | 'shopping-list' | 'staged-quote' | 'state' | 'store' | 'tax-category' | 'type' | 'zone';
118
118
  /**
119
119
  * This type consists of one enum value:
120
120
  *
@@ -4,8 +4,8 @@
4
4
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
5
5
  */
6
6
  import { AssetChangeValue, AttributeValue, ChangeTargetChangeValue, ChangeValueChangeValue, CustomFieldExpandedValue, CustomShippingMethodChangeValue, DeliveryChangeValue, EnumValue, FieldDefinitionOrderValue, InventoryQuantityValue, LocalizedEnumValue, ParcelChangeValue, SetCartClassificationShippingRateInputValue, SetCartScoreShippingRateInputValue, ShippingMethodChangeValue, ShippingMethodTaxAmountChangeValue, ShoppingListLineItemValue, TextLineItemValue, TransactionChangeValue, ValidFromAndUntilValue } from './change-value';
7
- import { Address, Asset, AssetSource, AttributeConstraintEnum, AttributeDefinition, CategoryOrderHints, ChannelRole, CustomFields, CustomLineItem, Delivery, DeliveryItem, DiscountCodeInfo, DiscountedLineItemPrice, DiscountedLineItemPriceForQuantity, FieldDefinition, GeoLocation, Image, ItemShippingDetails, ItemState, LineItem, LocalizedString, Location, Money, OrderState, Parcel, ParcelMeasurements, PaymentInfo, PaymentState, Price, ProductVariantAvailability, Reference, Reservation, ReturnInfo, ReturnPaymentState, ReturnShipmentState, ReviewRatingStatistics, RoundingMode, SearchKeywords, ShipmentState, StackingMode, StateRole, StateType, SyncInfo, TaxCalculationMode, TaxedItemPrice, TaxedPrice, TaxMode, TaxRate, TextInputHint, TextLineItem, TrackingData, Transaction, TransactionState, Variant } from './common';
8
- export declare type Change = AddAddressChange | AddAssetChange | AddAttributeDefinitionChange | AddBillingAddressIdChange | AddChannelRolesChange | AddCustomLineItemChange | AddDeliveryChange | AddDiscountCodeChange | AddEnumValueChange | AddExternalImageChange | AddFieldDefinitionChange | AddInterfaceInteractionChange | AddItemShippingAddressesChange | AddLocalizedEnumValueChange | AddLocationChange | AddOrderLineItemChange | AddParcelToDeliveryChange | AddPaymentChange | AddPlainEnumValueChange | AddPriceChange | AddPropertyChange | AddReturnInfoChange | AddShippingAddressIdChange | AddShoppingListLineItemChange | AddStateRolesChange | AddTaxRateChange | AddTextLineItemChange | AddToCategoryChange | AddTransactionChange | AddVariantChange | ChangeAddressChange | ChangeAmountAuthorizedChange | ChangeAmountPlannedChange | ChangeAssetNameChange | ChangeAssetOrderChange | ChangeAttributeConstraintChange | ChangeAttributeOrderByNameChange | ChangeCartDiscountsChange | ChangeCartPredicateChange | ChangeCustomLineItemQuantityChange | ChangeDescriptionChange | ChangeEmailChange | ChangeEnumValueLabelChange | ChangeEnumValueOrderChange | ChangeFieldDefinitionOrderChange | ChangeGroupsChange | ChangeInitialChange | ChangeInputHintChange | ChangeIsActiveChange | ChangeIsSearchableChange | ChangeKeyChange | ChangeLabelChange | ChangeLineItemQuantityChange | ChangeLocalizedDescriptionChange | ChangeLocalizedEnumValueLabelChange | ChangeLocalizedEnumValueOrderChange | ChangeLocalizedNameChange | ChangeMasterVariantChange | ChangeNameChange | ChangeOrderHintChange | ChangeOrderStateChange | ChangeParentChange | ChangePaymentStateChange | ChangePlainEnumValueLabelChange | ChangePlainEnumValueOrderChange | ChangePredicateChange | ChangePriceChange | ChangeQuantityChange | ChangeRequiresDiscountCodeChange | ChangeReviewRatingStatisticsChange | ChangeShipmentStateChange | ChangeShoppingListLineItemQuantityChange | ChangeShoppingListLineItemsOrderChange | ChangeSlugChange | ChangeSortOrderChange | ChangeStackingModeChange | ChangeStateTypeChange | ChangeTargetChange | ChangeTaxCalculationModeChange | ChangeTaxModeChange | ChangeTaxRoundingModeChange | ChangeTextLineItemNameChange | ChangeTextLineItemQuantityChange | ChangeTextLineItemsOrderChange | ChangeTransactionInteractionIdChange | ChangeTransactionStateChange | ChangeTransactionTimestampChange | ChangeValueChange | MoveImageToPositionChange | PublishChange | RemoveAddressChange | RemoveAssetChange | RemoveAttributeDefinitionChange | RemoveBillingAddressIdChange | RemoveChannelRolesChange | RemoveCustomLineItemChange | RemoveDeliveryItemsChange | RemoveDiscountCodeChange | RemoveEnumValuesChange | RemoveFieldDefinitionChange | RemoveFromCategoryChange | RemoveImageChange | RemoveItemShippingAddressesChange | RemoveLocalizedEnumValuesChange | RemoveLocationChange | RemoveOrderLineItemChange | RemoveParcelFromDeliveryChange | RemovePaymentChange | RemovePriceChange | RemovePropertyChange | RemoveShippingAddressIdChange | RemoveShoppingListLineItemChange | RemoveStateRolesChange | RemoveTaxRateChange | RemoveTextLineItemChange | RemoveVariantChange | SetAddressChange | SetAnonymousIdChange | SetApplicationVersionChange | SetAssetCustomFieldChange | SetAssetCustomTypeChange | SetAssetDescriptionChange | SetAssetKeyChange | SetAssetSourcesChange | SetAssetTagsChange | SetAttributeChange | SetAuthorNameChange | SetBillingAddressChange | SetCartPredicateChange | SetCategoryOrderHintChange | SetChannelRolesChange | SetCompanyNameChange | SetCountryChange | SetCustomFieldChange | SetCustomLineItemCustomFieldChange | SetCustomLineItemCustomTypeChange | SetCustomLineItemMoneyChange | SetCustomLineItemShippingDetailsChange | SetCustomLineItemTaxAmountChange | SetCustomLineItemTaxCategoryChange | SetCustomLineItemTaxRateChange | SetCustomLineItemTaxedPriceChange | SetCustomLineItemTotalPriceChange | SetCustomShippingMethodChange | SetCustomTypeChange | SetCustomerChange | SetCustomerEmailChange | SetCustomerGroupChange | SetCustomerIdChange | SetCustomerNumberChange | SetDateOfBirthChange | SetDefaultBillingAddressChange | SetDefaultShippingAddressChange | SetDeleteDaysAfterLastModificationChange | SetDeliveryAddressChange | SetDeliveryItemsChange | SetDescriptionChange | SetDiscountedPriceChange | SetDistributionChannelsChange | SetExpectedDeliveryChange | SetExternalIdChange | SetFirstNameChange | SetGeoLocationChange | SetImageLabelChange | SetInputTipChange | SetInterfaceIdChange | SetIsValidChange | SetKeyChange | SetLanguagesChange | SetLastNameChange | SetLineItemDiscountedPriceChange | SetLineItemDiscountedPricePerQuantityChange | SetLineItemDistributionChannelChange | SetLineItemPriceChange | SetLineItemProductSlugChange | SetLineItemShippingDetailsChange | SetLineItemTaxAmountChange | SetLineItemTaxRateChange | SetLineItemTaxedPriceChange | SetLineItemTotalPriceChange | SetLocaleChange | SetLocalizedDescriptionChange | SetMaxApplicationsChange | SetMaxApplicationsPerCustomerChange | SetMetaDescriptionChange | SetMetaKeywordsChange | SetMetaTitleChange | SetMethodInfoInterfaceChange | SetMethodInfoMethodChange | SetMethodInfoNameChange | SetMiddleNameChange | SetNameChange | SetOrderLineItemCustomFieldChange | SetOrderLineItemCustomTypeChange | SetOrderNumberChange | SetOrderTaxedPriceChange | SetOrderTotalPriceChange | SetOrderTotalTaxChange | SetParcelItemsChange | SetParcelMeasurementsChange | SetParcelTrackingDataChange | SetPricesChange | SetProductPriceCustomFieldChange | SetProductPriceCustomTypeChange | SetProductVariantKeyChange | SetPropertyChange | SetRatingChange | SetReservationsChange | SetRestockableInDaysChange | SetReturnPaymentStateChange | SetReturnShipmentStateChange | SetSalutationChange | SetSearchKeywordsChange | SetShippingAddressChange | SetShippingInfoPriceChange | SetShippingInfoTaxedPriceChange | SetShippingMethodChange | SetShippingMethodTaxAmountChange | SetShippingMethodTaxRateChange | SetShippingRateChange | SetShippingRateInputChange | SetShoppingListLineItemCustomFieldChange | SetShoppingListLineItemCustomTypeChange | SetSkuChange | SetSlugChange | SetStateRolesChange | SetStatusInterfaceCodeChange | SetStatusInterfaceTextChange | SetStoreChange | SetStoresChange | SetSupplyChannelChange | SetSupplyChannelsChange | SetTargetChange | SetTaxCategoryChange | SetTextChange | SetTextLineItemCustomFieldChange | SetTextLineItemCustomTypeChange | SetTextLineItemDescriptionChange | SetTitleChange | SetTransitionsChange | SetValidFromAndUntilChange | SetValidFromChange | SetValidUntilChange | SetValueChange | SetVariantAvailabilityChange | SetVatIdChange | TransitionCustomLineItemStateChange | TransitionLineItemStateChange | TransitionStateChange | UnknownChange | UnpublishChange | UpdateSyncInfoChange | VerifyEmailChange;
7
+ import { Address, Asset, AssetSource, AttributeConstraintEnum, AttributeDefinition, AuthenticationMode, CategoryOrderHints, ChannelRole, CustomFields, CustomLineItem, Delivery, DeliveryItem, DiscountCodeInfo, DiscountedLineItemPrice, DiscountedLineItemPriceForQuantity, FieldDefinition, GeoLocation, Image, ItemShippingDetails, ItemState, LineItem, LocalizedString, Location, Money, OrderState, Parcel, ParcelMeasurements, PaymentInfo, PaymentState, Price, ProductSelectionSetting, ProductVariantAvailability, QuoteRequestState, QuoteState, Reference, Reservation, ReturnInfo, ReturnPaymentState, ReturnShipmentState, ReviewRatingStatistics, RoundingMode, SearchKeywords, ShipmentState, StackingMode, StagedQuoteState, StateRole, StateType, SyncInfo, TaxCalculationMode, TaxedItemPrice, TaxedPrice, TaxMode, TaxRate, TextInputHint, TextLineItem, TrackingData, Transaction, TransactionState, Variant } from './common';
8
+ export declare type Change = AddAddressChange | AddAssetChange | AddAttributeDefinitionChange | AddBillingAddressIdChange | AddChannelRolesChange | AddCustomLineItemChange | AddDeliveryChange | AddDiscountCodeChange | AddEnumValueChange | AddExternalImageChange | AddFieldDefinitionChange | AddInterfaceInteractionChange | AddItemShippingAddressesChange | AddLocalizedEnumValueChange | AddLocationChange | AddOrderLineItemChange | AddParcelToDeliveryChange | AddPaymentChange | AddPlainEnumValueChange | AddPriceChange | AddProductChange | AddPropertyChange | AddReturnInfoChange | AddShippingAddressIdChange | AddShoppingListLineItemChange | AddStateRolesChange | AddTaxRateChange | AddTextLineItemChange | AddToCategoryChange | AddTransactionChange | AddVariantChange | ChangeAddressChange | ChangeAmountAuthorizedChange | ChangeAmountPlannedChange | ChangeAssetNameChange | ChangeAssetOrderChange | ChangeAttributeConstraintChange | ChangeAttributeOrderByNameChange | ChangeCartDiscountsChange | ChangeCartPredicateChange | ChangeCustomLineItemQuantityChange | ChangeDescriptionChange | ChangeEmailChange | ChangeEnumValueLabelChange | ChangeEnumValueOrderChange | ChangeFieldDefinitionOrderChange | ChangeGroupsChange | ChangeInitialChange | ChangeInputHintChange | ChangeIsActiveChange | ChangeIsSearchableChange | ChangeKeyChange | ChangeLabelChange | ChangeLineItemQuantityChange | ChangeLocalizedDescriptionChange | ChangeLocalizedEnumValueLabelChange | ChangeLocalizedEnumValueOrderChange | ChangeLocalizedNameChange | ChangeMasterVariantChange | ChangeNameChange | ChangeOrderHintChange | ChangeOrderStateChange | ChangeParentChange | ChangePaymentStateChange | ChangePlainEnumValueLabelChange | ChangePlainEnumValueOrderChange | ChangePredicateChange | ChangePriceChange | ChangeQuantityChange | ChangeQuoteRequestStateChange | ChangeQuoteStateChange | ChangeRequiresDiscountCodeChange | ChangeReviewRatingStatisticsChange | ChangeShipmentStateChange | ChangeShoppingListLineItemQuantityChange | ChangeShoppingListLineItemsOrderChange | ChangeSlugChange | ChangeSortOrderChange | ChangeStackingModeChange | ChangeStagedQuoteStateChange | ChangeStateTypeChange | ChangeTargetChange | ChangeTaxCalculationModeChange | ChangeTaxModeChange | ChangeTaxRoundingModeChange | ChangeTextLineItemNameChange | ChangeTextLineItemQuantityChange | ChangeTextLineItemsOrderChange | ChangeTransactionInteractionIdChange | ChangeTransactionStateChange | ChangeTransactionTimestampChange | ChangeValueChange | MoveImageToPositionChange | PublishChange | RemoveAddressChange | RemoveAssetChange | RemoveAttributeDefinitionChange | RemoveBillingAddressIdChange | RemoveChannelRolesChange | RemoveCustomLineItemChange | RemoveDeliveryItemsChange | RemoveDiscountCodeChange | RemoveEnumValuesChange | RemoveFieldDefinitionChange | RemoveFromCategoryChange | RemoveImageChange | RemoveItemShippingAddressesChange | RemoveLocalizedEnumValuesChange | RemoveLocationChange | RemoveOrderLineItemChange | RemoveParcelFromDeliveryChange | RemovePaymentChange | RemovePriceChange | RemoveProductChange | RemovePropertyChange | RemoveShippingAddressIdChange | RemoveShoppingListLineItemChange | RemoveStateRolesChange | RemoveTaxRateChange | RemoveTextLineItemChange | RemoveVariantChange | SetAddressChange | SetAnonymousIdChange | SetApplicationVersionChange | SetAssetCustomFieldChange | SetAssetCustomTypeChange | SetAssetDescriptionChange | SetAssetKeyChange | SetAssetSourcesChange | SetAssetTagsChange | SetAttributeChange | SetAuthenticationModeChange | SetAuthorNameChange | SetBillingAddressChange | SetCartPredicateChange | SetCategoryOrderHintChange | SetChannelRolesChange | SetCompanyNameChange | SetCountryChange | SetCustomFieldChange | SetCustomLineItemCustomFieldChange | SetCustomLineItemCustomTypeChange | SetCustomLineItemMoneyChange | SetCustomLineItemShippingDetailsChange | SetCustomLineItemTaxAmountChange | SetCustomLineItemTaxCategoryChange | SetCustomLineItemTaxRateChange | SetCustomLineItemTaxedPriceChange | SetCustomLineItemTotalPriceChange | SetCustomShippingMethodChange | SetCustomTypeChange | SetCustomerChange | SetCustomerEmailChange | SetCustomerGroupChange | SetCustomerIdChange | SetCustomerNumberChange | SetDateOfBirthChange | SetDefaultBillingAddressChange | SetDefaultShippingAddressChange | SetDeleteDaysAfterLastModificationChange | SetDeliveryAddressChange | SetDeliveryItemsChange | SetDescriptionChange | SetDiscountedPriceChange | SetDistributionChannelsChange | SetExpectedDeliveryChange | SetExternalIdChange | SetFirstNameChange | SetGeoLocationChange | SetImageLabelChange | SetInputTipChange | SetInterfaceIdChange | SetIsValidChange | SetKeyChange | SetLanguagesChange | SetLastNameChange | SetLineItemDeactivatedAtChange | SetLineItemDiscountedPriceChange | SetLineItemDiscountedPricePerQuantityChange | SetLineItemDistributionChannelChange | SetLineItemPriceChange | SetLineItemProductKeyChange | SetLineItemProductSlugChange | SetLineItemShippingDetailsChange | SetLineItemTaxAmountChange | SetLineItemTaxRateChange | SetLineItemTaxedPriceChange | SetLineItemTotalPriceChange | SetLocaleChange | SetLocalizedDescriptionChange | SetMaxApplicationsChange | SetMaxApplicationsPerCustomerChange | SetMetaDescriptionChange | SetMetaKeywordsChange | SetMetaTitleChange | SetMethodInfoInterfaceChange | SetMethodInfoMethodChange | SetMethodInfoNameChange | SetMiddleNameChange | SetNameChange | SetOrderLineItemCustomFieldChange | SetOrderLineItemCustomTypeChange | SetOrderNumberChange | SetOrderTaxedPriceChange | SetOrderTotalPriceChange | SetOrderTotalTaxChange | SetParcelItemsChange | SetParcelMeasurementsChange | SetParcelTrackingDataChange | SetPricesChange | SetProductCountChange | SetProductPriceCustomFieldChange | SetProductPriceCustomTypeChange | SetProductSelectionsChange | SetProductVariantKeyChange | SetPropertyChange | SetRatingChange | SetReservationsChange | SetRestockableInDaysChange | SetReturnPaymentStateChange | SetReturnShipmentStateChange | SetSalutationChange | SetSearchKeywordsChange | SetSellerCommentChange | SetShippingAddressChange | SetShippingInfoPriceChange | SetShippingInfoTaxedPriceChange | SetShippingMethodChange | SetShippingMethodTaxAmountChange | SetShippingMethodTaxRateChange | SetShippingRateChange | SetShippingRateInputChange | SetShoppingListLineItemCustomFieldChange | SetShoppingListLineItemCustomTypeChange | SetSkuChange | SetSlugChange | SetStateRolesChange | SetStatusInterfaceCodeChange | SetStatusInterfaceTextChange | SetStoreChange | SetStoresChange | SetSupplyChannelChange | SetSupplyChannelsChange | SetTargetChange | SetTaxCategoryChange | SetTextChange | SetTextLineItemCustomFieldChange | SetTextLineItemCustomTypeChange | SetTextLineItemDescriptionChange | SetTitleChange | SetTransitionsChange | SetValidFromAndUntilChange | SetValidFromChange | SetValidToChange | SetValidUntilChange | SetValueChange | SetVariantAvailabilityChange | SetVatIdChange | TransitionCustomLineItemStateChange | TransitionLineItemStateChange | TransitionStateChange | UnknownChange | UnpublishChange | UpdateSyncInfoChange | VerifyEmailChange;
9
9
  export interface AddAddressChange {
10
10
  readonly type: 'AddAddressChange';
11
11
  /**
@@ -331,6 +331,18 @@ export interface AddPriceChange {
331
331
  */
332
332
  readonly nextValue: Price;
333
333
  }
334
+ export interface AddProductChange {
335
+ readonly type: 'AddProductChange';
336
+ /**
337
+ * Update action for when a product is assigned to a product selection
338
+ *
339
+ */
340
+ readonly change: string;
341
+ /**
342
+ *
343
+ */
344
+ readonly nextValue: Reference;
345
+ }
334
346
  export interface AddPropertyChange {
335
347
  readonly type: 'AddPropertyChange';
336
348
  /**
@@ -1212,6 +1224,42 @@ export interface ChangeQuantityChange {
1212
1224
  */
1213
1225
  readonly previousValue: InventoryQuantityValue;
1214
1226
  }
1227
+ /**
1228
+ * Update action for `changeQuoteRequestState` on `quote-request`
1229
+ */
1230
+ export interface ChangeQuoteRequestStateChange {
1231
+ readonly type: 'ChangeQuoteRequestStateChange';
1232
+ /**
1233
+ *
1234
+ */
1235
+ readonly change: string;
1236
+ /**
1237
+ *
1238
+ */
1239
+ readonly nextValue: QuoteRequestState;
1240
+ /**
1241
+ *
1242
+ */
1243
+ readonly previousValue: QuoteRequestState;
1244
+ }
1245
+ /**
1246
+ * Update action for `changeQuoteState` on `quote`
1247
+ */
1248
+ export interface ChangeQuoteStateChange {
1249
+ readonly type: 'ChangeQuoteStateChange';
1250
+ /**
1251
+ *
1252
+ */
1253
+ readonly change: string;
1254
+ /**
1255
+ *
1256
+ */
1257
+ readonly nextValue: QuoteState;
1258
+ /**
1259
+ *
1260
+ */
1261
+ readonly previousValue: QuoteState;
1262
+ }
1215
1263
  export interface ChangeRequiresDiscountCodeChange {
1216
1264
  readonly type: 'ChangeRequiresDiscountCodeChange';
1217
1265
  /**
@@ -1342,6 +1390,24 @@ export interface ChangeStackingModeChange {
1342
1390
  */
1343
1391
  readonly previousValue: StackingMode;
1344
1392
  }
1393
+ /**
1394
+ * Update action for `changeStagedQuoteState` on `staged-quote`
1395
+ */
1396
+ export interface ChangeStagedQuoteStateChange {
1397
+ readonly type: 'ChangeStagedQuoteStateChange';
1398
+ /**
1399
+ *
1400
+ */
1401
+ readonly change: string;
1402
+ /**
1403
+ *
1404
+ */
1405
+ readonly nextValue: StagedQuoteState;
1406
+ /**
1407
+ *
1408
+ */
1409
+ readonly previousValue: StagedQuoteState;
1410
+ }
1345
1411
  export interface ChangeStateTypeChange {
1346
1412
  readonly type: 'ChangeStateTypeChange';
1347
1413
  /**
@@ -1881,6 +1947,18 @@ export interface RemovePriceChange {
1881
1947
  */
1882
1948
  readonly nextValue: Price;
1883
1949
  }
1950
+ export interface RemoveProductChange {
1951
+ readonly type: 'RemoveProductChange';
1952
+ /**
1953
+ * Update action for when a product is unassigned from a product selection
1954
+ *
1955
+ */
1956
+ readonly change: string;
1957
+ /**
1958
+ *
1959
+ */
1960
+ readonly previousValue: Reference;
1961
+ }
1884
1962
  export interface RemovePropertyChange {
1885
1963
  readonly type: 'RemovePropertyChange';
1886
1964
  /**
@@ -2197,6 +2275,22 @@ export interface SetAttributeChange {
2197
2275
  */
2198
2276
  readonly nextValue: AttributeValue;
2199
2277
  }
2278
+ export interface SetAuthenticationModeChange {
2279
+ readonly type: 'SetAuthenticationModeChange';
2280
+ /**
2281
+ * Update action for `setAuthenticationMode`
2282
+ *
2283
+ */
2284
+ readonly change: string;
2285
+ /**
2286
+ *
2287
+ */
2288
+ readonly previousValue: AuthenticationMode;
2289
+ /**
2290
+ *
2291
+ */
2292
+ readonly nextValue: AuthenticationMode;
2293
+ }
2200
2294
  export interface SetAuthorNameChange {
2201
2295
  readonly type: 'SetAuthorNameChange';
2202
2296
  /**
@@ -2308,12 +2402,14 @@ export interface SetCountryChange {
2308
2402
  */
2309
2403
  readonly change: string;
2310
2404
  /**
2311
- * A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
2405
+ * Two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
2406
+ *
2312
2407
  *
2313
2408
  */
2314
2409
  readonly previousValue: string;
2315
2410
  /**
2316
- * A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
2411
+ * Two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
2412
+ *
2317
2413
  *
2318
2414
  */
2319
2415
  readonly nextValue: string;
@@ -3032,6 +3128,26 @@ export interface SetLastNameChange {
3032
3128
  */
3033
3129
  readonly nextValue: string;
3034
3130
  }
3131
+ export interface SetLineItemDeactivatedAtChange {
3132
+ readonly type: 'SetLineItemDeactivatedAtChange';
3133
+ /**
3134
+ * Update action for `setLineItemDeactivatedAt`
3135
+ *
3136
+ */
3137
+ readonly change: string;
3138
+ /**
3139
+ *
3140
+ */
3141
+ readonly lineItem: ShoppingListLineItemValue;
3142
+ /**
3143
+ *
3144
+ */
3145
+ readonly previousValue: string;
3146
+ /**
3147
+ *
3148
+ */
3149
+ readonly nextValue: string;
3150
+ }
3035
3151
  export interface SetLineItemDiscountedPriceChange {
3036
3152
  readonly type: 'SetLineItemDiscountedPriceChange';
3037
3153
  /**
@@ -3124,6 +3240,34 @@ export interface SetLineItemPriceChange {
3124
3240
  */
3125
3241
  readonly previousValue: Price;
3126
3242
  }
3243
+ export interface SetLineItemProductKeyChange {
3244
+ readonly type: 'SetLineItemProductKeyChange';
3245
+ /**
3246
+ * Update action for `setLineItemProductKey`
3247
+ *
3248
+ */
3249
+ readonly change: string;
3250
+ /**
3251
+ *
3252
+ */
3253
+ readonly lineItem: LocalizedString;
3254
+ /**
3255
+ *
3256
+ */
3257
+ readonly lineItemId: string;
3258
+ /**
3259
+ *
3260
+ */
3261
+ readonly variant: string;
3262
+ /**
3263
+ *
3264
+ */
3265
+ readonly previousValue: string;
3266
+ /**
3267
+ *
3268
+ */
3269
+ readonly nextValue: string;
3270
+ }
3127
3271
  export interface SetLineItemProductSlugChange {
3128
3272
  readonly type: 'SetLineItemProductSlugChange';
3129
3273
  /**
@@ -3678,6 +3822,22 @@ export interface SetPricesChange {
3678
3822
  */
3679
3823
  readonly nextValue: Price[];
3680
3824
  }
3825
+ export interface SetProductCountChange {
3826
+ readonly type: 'SetProductCountChange';
3827
+ /**
3828
+ * Update action for `setProductCount`
3829
+ *
3830
+ */
3831
+ readonly change: string;
3832
+ /**
3833
+ *
3834
+ */
3835
+ readonly previousValue: number;
3836
+ /**
3837
+ *
3838
+ */
3839
+ readonly nextValue: number;
3840
+ }
3681
3841
  export interface SetProductPriceCustomFieldChange {
3682
3842
  readonly type: 'SetProductPriceCustomFieldChange';
3683
3843
  /**
@@ -3718,6 +3878,22 @@ export interface SetProductPriceCustomTypeChange {
3718
3878
  */
3719
3879
  readonly nextValue: CustomFields;
3720
3880
  }
3881
+ export interface SetProductSelectionsChange {
3882
+ readonly type: 'SetProductSelectionsChange';
3883
+ /**
3884
+ * Update action for `setProductSelections`
3885
+ *
3886
+ */
3887
+ readonly change: string;
3888
+ /**
3889
+ *
3890
+ */
3891
+ readonly previousValue: ProductSelectionSetting[];
3892
+ /**
3893
+ *
3894
+ */
3895
+ readonly nextValue: ProductSelectionSetting[];
3896
+ }
3721
3897
  export interface SetProductVariantKeyChange {
3722
3898
  readonly type: 'SetProductVariantKeyChange';
3723
3899
  /**
@@ -3875,6 +4051,22 @@ export interface SetSearchKeywordsChange {
3875
4051
  */
3876
4052
  readonly nextValue: SearchKeywords;
3877
4053
  }
4054
+ export interface SetSellerCommentChange {
4055
+ readonly type: 'SetSellerCommentChange';
4056
+ /**
4057
+ * Shape of the action for `setSellerComment`
4058
+ *
4059
+ */
4060
+ readonly change: string;
4061
+ /**
4062
+ *
4063
+ */
4064
+ readonly previousValue: string;
4065
+ /**
4066
+ *
4067
+ */
4068
+ readonly nextValue: string;
4069
+ }
3878
4070
  export interface SetShippingAddressChange {
3879
4071
  readonly type: 'SetShippingAddressChange';
3880
4072
  /**
@@ -4388,6 +4580,22 @@ export interface SetValidFromChange {
4388
4580
  */
4389
4581
  readonly nextValue: string;
4390
4582
  }
4583
+ export interface SetValidToChange {
4584
+ readonly type: 'SetValidToChange';
4585
+ /**
4586
+ * Shape of the action for `setValidTo`
4587
+ *
4588
+ */
4589
+ readonly change: string;
4590
+ /**
4591
+ *
4592
+ */
4593
+ readonly previousValue: string;
4594
+ /**
4595
+ *
4596
+ */
4597
+ readonly nextValue: string;
4598
+ }
4391
4599
  export interface SetValidUntilChange {
4392
4600
  readonly type: 'SetValidUntilChange';
4393
4601
  /**
@@ -8,6 +8,7 @@ export interface LocalizedString {
8
8
  }
9
9
  export interface Address {
10
10
  /**
11
+ * Unique ID of the Address.
11
12
  *
12
13
  */
13
14
  readonly id: string;
@@ -60,7 +61,8 @@ export interface Address {
60
61
  */
61
62
  readonly state: string;
62
63
  /**
63
- * A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
64
+ * Two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
65
+ *
64
66
  *
65
67
  */
66
68
  readonly country: string;
@@ -203,6 +205,7 @@ export interface AttributeType {
203
205
  */
204
206
  readonly name: string;
205
207
  }
208
+ export declare type AuthenticationMode = 'ExternalAuth' | 'Password';
206
209
  export interface CategoryOrderHints {
207
210
  [key: string]: string;
208
211
  }
@@ -478,7 +481,8 @@ export interface LineItem {
478
481
  */
479
482
  export interface Location {
480
483
  /**
481
- * A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
484
+ * Two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
485
+ *
482
486
  *
483
487
  */
484
488
  readonly country: string;
@@ -489,7 +493,7 @@ export interface Location {
489
493
  }
490
494
  export interface Money {
491
495
  /**
492
- * The currency code compliant to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
496
+ * Currency code compliant to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
493
497
  *
494
498
  *
495
499
  */
@@ -566,6 +570,16 @@ export interface Price {
566
570
  */
567
571
  readonly value: Money;
568
572
  }
573
+ export interface ProductSelectionSetting {
574
+ /**
575
+ *
576
+ */
577
+ readonly productSelection: Reference;
578
+ /**
579
+ *
580
+ */
581
+ readonly active: boolean;
582
+ }
569
583
  export interface ProductVariantAvailability {
570
584
  /**
571
585
  *
@@ -601,6 +615,8 @@ export interface ProductVariantChannelAvailability {
601
615
  export interface ProductVariantChannelAvailabilityMap {
602
616
  [key: string]: ProductVariantChannelAvailability;
603
617
  }
618
+ export declare type QuoteRequestState = 'Accepted' | 'Cancelled' | 'Closed' | 'Rejected' | 'Submitted';
619
+ export declare type QuoteState = 'Accepted' | 'Declined' | 'Failed' | 'Pending' | 'Withdrawn';
604
620
  export interface Reference {
605
621
  /**
606
622
  *
@@ -611,7 +627,7 @@ export interface Reference {
611
627
  */
612
628
  readonly typeId: ReferenceTypeId;
613
629
  }
614
- export declare type ReferenceTypeId = 'cart' | 'cart-discount' | 'category' | 'channel' | 'customer' | 'customer-email-token' | 'customer-group' | 'customer-password-token' | 'discount-code' | 'extension' | 'inventory-entry' | 'key-value-document' | 'order' | 'order-edit' | 'payment' | 'product' | 'product-discount' | 'product-type' | 'review' | 'shipping-method' | 'shopping-list' | 'state' | 'store' | 'subscription' | 'tax-category' | 'type' | 'zone';
630
+ export declare type ReferenceTypeId = 'cart' | 'cart-discount' | 'category' | 'channel' | 'customer' | 'customer-email-token' | 'customer-group' | 'customer-password-token' | 'discount-code' | 'extension' | 'inventory-entry' | 'key-value-document' | 'order' | 'order-edit' | 'payment' | 'product' | 'product-discount' | 'product-selection' | 'product-type' | 'quote' | 'quote-request' | 'review' | 'shipping-method' | 'shopping-list' | 'staged-quote' | 'state' | 'store' | 'subscription' | 'tax-category' | 'type' | 'zone';
615
631
  export interface Reservation {
616
632
  /**
617
633
  *
@@ -734,7 +750,7 @@ export interface ShippingRate {
734
750
  */
735
751
  readonly freeAbove: Money;
736
752
  /**
737
- * Only appears in response to requests for shipping methods by cart or location to mark this shipping rate as one that matches the cart or location.
753
+ * Only appears in response to requests for ShippingMethods by Cart or location to mark this shipping rate as one that matches the Cart or location.
738
754
  *
739
755
  */
740
756
  readonly isMatching: boolean;
@@ -751,6 +767,7 @@ export interface ShippingRatePriceTier {
751
767
  }
752
768
  export declare type ShippingRateTierType = 'CartClassification' | 'CartScore' | 'CartValue';
753
769
  export declare type StackingMode = 'Stacking' | 'StopAfterThisDiscount';
770
+ export declare type StagedQuoteState = 'Closed' | 'InProgress' | 'Sent';
754
771
  export declare type StateRole = 'Return' | 'ReviewIncludedInStatistics';
755
772
  export declare type StateType = 'LineItemState' | 'OrderState' | 'PaymentState' | 'ProductState' | 'ReviewState';
756
773
  export interface SubRate {
@@ -809,7 +826,8 @@ export interface TaxRate {
809
826
  */
810
827
  readonly includedInPrice: boolean;
811
828
  /**
812
- * A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
829
+ * Two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
830
+ *
813
831
  *
814
832
  */
815
833
  readonly country: string;
@@ -3,11 +3,11 @@
3
3
  * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
4
4
  * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
5
5
  */
6
- import { LocalizedString, Money } from './common';
6
+ import { LocalizedString, Money, Reference } from './common';
7
7
  /**
8
8
  * Provides descriptive information specific to the resource.
9
9
  */
10
- export declare type Label = CustomObjectLabel | CustomerLabel | LocalizedLabel | OrderLabel | PaymentLabel | ProductLabel | ReviewLabel | StringLabel;
10
+ export declare type Label = CustomObjectLabel | CustomerLabel | LocalizedLabel | OrderLabel | PaymentLabel | ProductLabel | QuoteLabel | QuoteRequestLabel | ReviewLabel | StagedQuoteLabel | StringLabel;
11
11
  export interface CustomObjectLabel {
12
12
  readonly type: 'CustomObjectLabel';
13
13
  /**
@@ -74,6 +74,36 @@ export interface ProductLabel {
74
74
  */
75
75
  readonly name: LocalizedString;
76
76
  }
77
+ export interface QuoteLabel {
78
+ readonly type: 'QuoteLabel';
79
+ /**
80
+ *
81
+ */
82
+ readonly key: string;
83
+ /**
84
+ *
85
+ */
86
+ readonly customer: Reference;
87
+ /**
88
+ *
89
+ */
90
+ readonly stagedQuote: Reference;
91
+ /**
92
+ *
93
+ */
94
+ readonly quoteRequest: Reference;
95
+ }
96
+ export interface QuoteRequestLabel {
97
+ readonly type: 'QuoteRequestLabel';
98
+ /**
99
+ *
100
+ */
101
+ readonly key: string;
102
+ /**
103
+ *
104
+ */
105
+ readonly customer: Reference;
106
+ }
77
107
  export interface ReviewLabel {
78
108
  readonly type: 'ReviewLabel';
79
109
  /**
@@ -85,6 +115,21 @@ export interface ReviewLabel {
85
115
  */
86
116
  readonly title: string;
87
117
  }
118
+ export interface StagedQuoteLabel {
119
+ readonly type: 'StagedQuoteLabel';
120
+ /**
121
+ *
122
+ */
123
+ readonly key: string;
124
+ /**
125
+ *
126
+ */
127
+ readonly customer: Reference;
128
+ /**
129
+ *
130
+ */
131
+ readonly quoteRequest: Reference;
132
+ }
88
133
  export interface StringLabel {
89
134
  readonly type: 'StringLabel';
90
135
  /**
package/package.json CHANGED
@@ -4,9 +4,15 @@
4
4
  "access": "public"
5
5
  },
6
6
  "name": "@commercetools/history-sdk",
7
- "version": "2.4.0",
8
- "description": "Type script sdk for commercetools audit log features",
9
- "keywords": ["commercetools", "typescript", "sdk", "history"],
7
+ "version": "2.6.0",
8
+ "description": "Typescript SDK for Composable Commerce Audit Log features",
9
+ "keywords": [
10
+ "commercetools",
11
+ "composable commerce",
12
+ "typescript",
13
+ "sdk",
14
+ "history"
15
+ ],
10
16
  "homepage": "https://github.com/commercetools/commercetools-typescript-sdks/packages/history-sdk",
11
17
  "bugs": "https://github.com/commercetools/commercetools-typescript-sdks/issues",
12
18
  "repository": {
@@ -23,16 +29,16 @@
23
29
  "./dist/commercetools-history-sdk.esm.js": "./dist/commercetools-history-sdk.browser.esm.js"
24
30
  },
25
31
  "dependencies": {
26
- "@commercetools/sdk-client-v2": "^1.3.0",
32
+ "@commercetools/sdk-client-v2": "^1.4.0",
27
33
  "@commercetools/sdk-middleware-auth": "^6.0.4",
28
34
  "@commercetools/sdk-middleware-http": "^6.0.4",
29
35
  "@commercetools/sdk-middleware-logger": "^2.1.1",
30
36
  "querystring": "^0.2.1"
31
37
  },
32
38
  "devDependencies": {
33
- "@commercetools/platform-sdk": "2.6.0",
39
+ "@commercetools/platform-sdk": "3.0.0",
34
40
  "@types/uuid": "8.3.4",
35
- "organize-imports-cli": "0.9.0",
41
+ "organize-imports-cli": "0.10.0",
36
42
  "tsconfig-replace-paths": "0.0.11",
37
43
  "uuid": "8.3.2"
38
44
  },