@gradientedge/commercetools-utils 5.3.1 → 5.5.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/dist/ge-commercetools-utils-browser.cjs.js +1 -1
- package/dist/ge-commercetools-utils-browser.cjs.js.map +1 -1
- package/dist/ge-commercetools-utils-browser.esm.js +1 -1
- package/dist/ge-commercetools-utils-browser.esm.js.map +1 -1
- package/dist/ge-commercetools-utils-node.cjs.js +1 -1
- package/dist/ge-commercetools-utils-node.cjs.js.map +1 -1
- package/dist/ge-commercetools-utils-node.esm.js +1 -1
- package/dist/typings/models/associate-role.d.ts +79 -0
- package/dist/typings/models/attribute-group.d.ts +68 -0
- package/dist/typings/models/business-unit.d.ts +272 -0
- package/dist/typings/models/cart-discount.d.ts +2 -2
- package/dist/typings/models/cart.d.ts +133 -115
- package/dist/typings/models/channel.d.ts +4 -4
- package/dist/typings/models/common.d.ts +49 -40
- package/dist/typings/models/customer.d.ts +16 -13
- package/dist/typings/models/error.d.ts +451 -18
- package/dist/typings/models/extension.d.ts +7 -3
- package/dist/typings/models/graph-ql.d.ts +3 -1
- package/dist/typings/models/index.d.ts +13 -6
- package/dist/typings/models/me.d.ts +179 -37
- package/dist/typings/models/message.d.ts +849 -20
- package/dist/typings/models/order-edit.d.ts +22 -16
- package/dist/typings/models/order.d.ts +124 -25
- package/dist/typings/models/payment.d.ts +19 -14
- package/dist/typings/models/product-selection.d.ts +39 -6
- package/dist/typings/models/product-type.d.ts +4 -4
- package/dist/typings/models/product.d.ts +13 -5
- package/dist/typings/models/project.d.ts +18 -3
- package/dist/typings/models/quote-request.d.ts +5 -1
- package/dist/typings/models/quote.d.ts +8 -3
- package/dist/typings/models/scalar-types.d.ts +0 -1
- package/dist/typings/models/shipping-method.d.ts +7 -7
- package/dist/typings/models/shopping-list.d.ts +22 -22
- package/dist/typings/models/staged-quote.d.ts +5 -1
- package/dist/typings/models/standalone-price.d.ts +9 -5
- package/dist/typings/models/state.d.ts +2 -2
- package/dist/typings/models/store-country.d.ts +3 -0
- package/dist/typings/models/store.d.ts +16 -1
- package/dist/typings/models/subscription.d.ts +27 -14
- package/dist/typings/models/tax-category.d.ts +6 -2
- package/dist/typings/models/type.d.ts +3 -3
- package/package.json +19 -19
|
@@ -1,16 +1,18 @@
|
|
|
1
|
+
import { AssociateRole, Permission } from './associate-role';
|
|
2
|
+
import { Associate, BusinessUnit, BusinessUnitAssociateMode, BusinessUnitKeyReference, BusinessUnitStatus, BusinessUnitStoreMode } from './business-unit';
|
|
1
3
|
import { CustomLineItem, DiscountCodeState, DiscountedLineItemPriceForQuantity, ItemShippingDetails, LineItem, MethodTaxedPrice, ProductPublishScope, ShippingInfo, ShippingRateInput, TaxedItemPrice } from './cart';
|
|
2
4
|
import { Category, CategoryReference } from './category';
|
|
3
5
|
import { ChannelReference } from './channel';
|
|
4
|
-
import { Address, CentPrecisionMoney, CreatedBy, DiscountedPrice, Image, LastModifiedBy, LocalizedString,
|
|
6
|
+
import { Address, CentPrecisionMoney, CreatedBy, DiscountedPrice, Image, LastModifiedBy, LocalizedString, Price, Reference, _Money } from './common';
|
|
5
7
|
import { Customer, CustomerReference } from './customer';
|
|
6
8
|
import { CustomerGroupReference } from './customer-group';
|
|
7
9
|
import { DiscountCodeReference } from './discount-code';
|
|
8
10
|
import { InventoryEntry } from './inventory';
|
|
9
|
-
import { Delivery, DeliveryItem, ItemState,
|
|
11
|
+
import { Delivery, DeliveryItem, ItemState, OrderState, Parcel, ParcelMeasurements, PaymentState, ReturnInfo, ReturnShipmentState, ShipmentState, TrackingData, _Order } from './order';
|
|
10
12
|
import { OrderEdit, OrderEditApplied } from './order-edit';
|
|
11
13
|
import { Payment, PaymentReference, Transaction, TransactionState } from './payment';
|
|
12
|
-
import { ProductProjection, ProductReference, ProductVariant } from './product';
|
|
13
|
-
import {
|
|
14
|
+
import { ProductPriceModeEnum, ProductProjection, ProductReference, ProductVariant } from './product';
|
|
15
|
+
import { ProductSelection, ProductVariantExclusion, ProductVariantSelection } from './product-selection';
|
|
14
16
|
import { Quote, QuoteState } from './quote';
|
|
15
17
|
import { QuoteRequest, QuoteRequestState } from './quote-request';
|
|
16
18
|
import { Review } from './review';
|
|
@@ -18,12 +20,450 @@ import { StagedQuote, StagedQuoteState } from './staged-quote';
|
|
|
18
20
|
import { StagedStandalonePrice, StandalonePrice } from './standalone-price';
|
|
19
21
|
import { StateReference } from './state';
|
|
20
22
|
import { ProductSelectionSetting, StoreKeyReference } from './store';
|
|
23
|
+
import { StoreCountry } from './store-country';
|
|
21
24
|
import { CustomFields } from './type';
|
|
22
25
|
export interface ContainerAndKey {
|
|
23
26
|
readonly key: string;
|
|
24
27
|
readonly container: string;
|
|
25
28
|
}
|
|
26
|
-
export type Message = CategoryCreatedMessage | CategorySlugChangedMessage | CustomLineItemStateTransitionMessage | CustomerAddressAddedMessage | CustomerAddressChangedMessage | CustomerAddressRemovedMessage | CustomerCompanyNameSetMessage | CustomerCreatedMessage | CustomerDateOfBirthSetMessage | CustomerDeletedMessage | CustomerEmailChangedMessage | CustomerEmailVerifiedMessage | CustomerFirstNameSetMessage | CustomerGroupSetMessage | CustomerLastNameSetMessage | CustomerPasswordUpdatedMessage | CustomerTitleSetMessage | DeliveryAddedMessage | DeliveryAddressSetMessage | DeliveryItemsUpdatedMessage | DeliveryRemovedMessage | InventoryEntryCreatedMessage | InventoryEntryDeletedMessage | InventoryEntryQuantitySetMessage | LineItemStateTransitionMessage | OrderBillingAddressSetMessage | OrderCreatedMessage | OrderCustomLineItemAddedMessage | OrderCustomLineItemDiscountSetMessage | OrderCustomLineItemQuantityChangedMessage | OrderCustomLineItemRemovedMessage | OrderCustomerEmailSetMessage | OrderCustomerGroupSetMessage | OrderCustomerSetMessage | OrderDeletedMessage | OrderDiscountCodeAddedMessage | OrderDiscountCodeRemovedMessage | OrderDiscountCodeStateSetMessage | OrderEditAppliedMessage | OrderImportedMessage | OrderLineItemAddedMessage | OrderLineItemDiscountSetMessage | OrderLineItemDistributionChannelSetMessage | OrderLineItemRemovedMessage | OrderMessage | OrderPaymentAddedMessage | OrderPaymentStateChangedMessage | OrderReturnShipmentStateChangedMessage | OrderShipmentStateChangedMessage | OrderShippingAddressSetMessage | OrderShippingInfoSetMessage | OrderShippingRateInputSetMessage | OrderStateChangedMessage | OrderStateTransitionMessage | OrderStoreSetMessage | ParcelAddedToDeliveryMessage | ParcelItemsUpdatedMessage | ParcelMeasurementsUpdatedMessage | ParcelRemovedFromDeliveryMessage | ParcelTrackingDataUpdatedMessage | PaymentCreatedMessage | PaymentInteractionAddedMessage | PaymentStatusInterfaceCodeSetMessage | PaymentStatusStateTransitionMessage | PaymentTransactionAddedMessage | PaymentTransactionStateChangedMessage | ProductAddedToCategoryMessage | ProductCreatedMessage | ProductDeletedMessage | ProductImageAddedMessage | ProductPriceDiscountsSetMessage | ProductPriceExternalDiscountSetMessage | ProductPublishedMessage | ProductRemovedFromCategoryMessage | ProductRevertedStagedChangesMessage | ProductSelectionCreatedMessage | ProductSelectionDeletedMessage | ProductSelectionProductAddedMessage | ProductSelectionProductRemovedMessage | ProductSelectionVariantSelectionChangedMessage | ProductSlugChangedMessage | ProductStateTransitionMessage | ProductUnpublishedMessage | ProductVariantAddedMessage | ProductVariantDeletedMessage | QuoteCreatedMessage | QuoteDeletedMessage | QuoteRequestCreatedMessage | QuoteRequestDeletedMessage | QuoteRequestStateChangedMessage | QuoteRequestStateTransitionMessage | QuoteStateChangedMessage | QuoteStateTransitionMessage | ReturnInfoAddedMessage | ReturnInfoSetMessage | ReviewCreatedMessage | ReviewRatingSetMessage | ReviewStateTransitionMessage | StagedQuoteCreatedMessage | StagedQuoteDeletedMessage | StagedQuoteSellerCommentSetMessage | StagedQuoteStateChangedMessage | StagedQuoteStateTransitionMessage | StagedQuoteValidToSetMessage | StandalonePriceActiveChangedMessage | StandalonePriceCreatedMessage | StandalonePriceDeletedMessage | StandalonePriceDiscountSetMessage | StandalonePriceExternalDiscountSetMessage | StandalonePriceStagedChangesAppliedMessage | StandalonePriceValueChangedMessage | StoreCreatedMessage | StoreDeletedMessage | StoreDistributionChannelsChangedMessage | StoreLanguagesChangedMessage | StoreNameSetMessage | StoreProductSelectionsChangedMessage;
|
|
29
|
+
export type Message = AssociateRoleBuyerAssignableChangedMessage | AssociateRoleCreatedMessage | AssociateRoleDeletedMessage | AssociateRoleNameChangedMessage | AssociateRolePermissionAddedMessage | AssociateRolePermissionRemovedMessage | AssociateRolePermissionsSetMessage | BusinessUnitAddressAddedMessage | BusinessUnitAddressChangedMessage | BusinessUnitAddressRemovedMessage | BusinessUnitAssociateAddedMessage | BusinessUnitAssociateChangedMessage | BusinessUnitAssociateModeChangedMessage | BusinessUnitAssociateRemovedMessage | BusinessUnitAssociatesSetMessage | BusinessUnitBillingAddressAddedMessage | BusinessUnitBillingAddressRemovedMessage | BusinessUnitContactEmailSetMessage | BusinessUnitCreatedMessage | BusinessUnitDefaultBillingAddressSetMessage | BusinessUnitDefaultShippingAddressSetMessage | BusinessUnitDeletedMessage | BusinessUnitNameChangedMessage | BusinessUnitParentUnitChangedMessage | BusinessUnitShippingAddressAddedMessage | BusinessUnitShippingAddressRemovedMessage | BusinessUnitStatusChangedMessage | BusinessUnitStoreAddedMessage | BusinessUnitStoreModeChangedMessage | BusinessUnitStoreRemovedMessage | BusinessUnitStoresSetMessage | CategoryCreatedMessage | CategorySlugChangedMessage | CustomLineItemStateTransitionMessage | CustomerAddressAddedMessage | CustomerAddressChangedMessage | CustomerAddressRemovedMessage | CustomerCompanyNameSetMessage | CustomerCreatedMessage | CustomerDateOfBirthSetMessage | CustomerDeletedMessage | CustomerEmailChangedMessage | CustomerEmailVerifiedMessage | CustomerFirstNameSetMessage | CustomerGroupSetMessage | CustomerLastNameSetMessage | CustomerPasswordUpdatedMessage | CustomerTitleSetMessage | DeliveryAddedMessage | DeliveryAddressSetMessage | DeliveryItemsUpdatedMessage | DeliveryRemovedMessage | InventoryEntryCreatedMessage | InventoryEntryDeletedMessage | InventoryEntryQuantitySetMessage | LineItemStateTransitionMessage | OrderBillingAddressSetMessage | OrderCreatedMessage | OrderCustomLineItemAddedMessage | OrderCustomLineItemDiscountSetMessage | OrderCustomLineItemQuantityChangedMessage | OrderCustomLineItemRemovedMessage | OrderCustomerEmailSetMessage | OrderCustomerGroupSetMessage | OrderCustomerSetMessage | OrderDeletedMessage | OrderDiscountCodeAddedMessage | OrderDiscountCodeRemovedMessage | OrderDiscountCodeStateSetMessage | OrderEditAppliedMessage | OrderImportedMessage | OrderLineItemAddedMessage | OrderLineItemDiscountSetMessage | OrderLineItemDistributionChannelSetMessage | OrderLineItemRemovedMessage | OrderMessage | OrderPaymentAddedMessage | OrderPaymentStateChangedMessage | OrderPurchaseOrderNumberSetMessage | OrderReturnShipmentStateChangedMessage | OrderShipmentStateChangedMessage | OrderShippingAddressSetMessage | OrderShippingInfoSetMessage | OrderShippingRateInputSetMessage | OrderStateChangedMessage | OrderStateTransitionMessage | OrderStoreSetMessage | ParcelAddedToDeliveryMessage | ParcelItemsUpdatedMessage | ParcelMeasurementsUpdatedMessage | ParcelRemovedFromDeliveryMessage | ParcelTrackingDataUpdatedMessage | PaymentCreatedMessage | PaymentInteractionAddedMessage | PaymentStatusInterfaceCodeSetMessage | PaymentStatusStateTransitionMessage | PaymentTransactionAddedMessage | PaymentTransactionStateChangedMessage | ProductAddedToCategoryMessage | ProductCreatedMessage | ProductDeletedMessage | ProductImageAddedMessage | ProductPriceAddedMessage | ProductPriceChangedMessage | ProductPriceDiscountsSetMessage | ProductPriceExternalDiscountSetMessage | ProductPriceKeySetMessage | ProductPriceModeSetMessage | ProductPriceRemovedMessage | ProductPricesSetMessage | ProductPublishedMessage | ProductRemovedFromCategoryMessage | ProductRevertedStagedChangesMessage | ProductSelectionCreatedMessage | ProductSelectionDeletedMessage | ProductSelectionProductAddedMessage | ProductSelectionProductExcludedMessage | ProductSelectionProductRemovedMessage | ProductSelectionVariantExclusionChangedMessage | ProductSelectionVariantSelectionChangedMessage | ProductSlugChangedMessage | ProductStateTransitionMessage | ProductUnpublishedMessage | ProductVariantAddedMessage | ProductVariantDeletedMessage | QuoteCreatedMessage | QuoteDeletedMessage | QuoteRequestCreatedMessage | QuoteRequestDeletedMessage | QuoteRequestStateChangedMessage | QuoteRequestStateTransitionMessage | QuoteStateChangedMessage | QuoteStateTransitionMessage | ReturnInfoAddedMessage | ReturnInfoSetMessage | ReviewCreatedMessage | ReviewRatingSetMessage | ReviewStateTransitionMessage | StagedQuoteCreatedMessage | StagedQuoteDeletedMessage | StagedQuoteSellerCommentSetMessage | StagedQuoteStateChangedMessage | StagedQuoteStateTransitionMessage | StagedQuoteValidToSetMessage | StandalonePriceActiveChangedMessage | StandalonePriceCreatedMessage | StandalonePriceDeletedMessage | StandalonePriceDiscountSetMessage | StandalonePriceExternalDiscountSetMessage | StandalonePriceKeySetMessage | StandalonePriceStagedChangesAppliedMessage | StandalonePriceValueChangedMessage | StoreCountriesChangedMessage | StoreCreatedMessage | StoreDeletedMessage | StoreDistributionChannelsChangedMessage | StoreLanguagesChangedMessage | StoreNameSetMessage | StoreProductSelectionsChangedMessage | StoreSupplyChannelsChangedMessage;
|
|
30
|
+
export interface AssociateRoleBuyerAssignableChangedMessage {
|
|
31
|
+
readonly type: 'AssociateRoleBuyerAssignableChanged';
|
|
32
|
+
readonly id: string;
|
|
33
|
+
readonly version: number;
|
|
34
|
+
readonly createdAt: string;
|
|
35
|
+
readonly lastModifiedAt: string;
|
|
36
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
37
|
+
readonly createdBy?: CreatedBy;
|
|
38
|
+
readonly sequenceNumber: number;
|
|
39
|
+
readonly resource: Reference;
|
|
40
|
+
readonly resourceVersion: number;
|
|
41
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
42
|
+
readonly buyerAssignable: boolean;
|
|
43
|
+
}
|
|
44
|
+
export interface AssociateRoleCreatedMessage {
|
|
45
|
+
readonly type: 'AssociateRoleCreated';
|
|
46
|
+
readonly id: string;
|
|
47
|
+
readonly version: number;
|
|
48
|
+
readonly createdAt: string;
|
|
49
|
+
readonly lastModifiedAt: string;
|
|
50
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
51
|
+
readonly createdBy?: CreatedBy;
|
|
52
|
+
readonly sequenceNumber: number;
|
|
53
|
+
readonly resource: Reference;
|
|
54
|
+
readonly resourceVersion: number;
|
|
55
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
56
|
+
readonly associateRole: AssociateRole;
|
|
57
|
+
}
|
|
58
|
+
export interface AssociateRoleDeletedMessage {
|
|
59
|
+
readonly type: 'AssociateRoleDeleted';
|
|
60
|
+
readonly id: string;
|
|
61
|
+
readonly version: number;
|
|
62
|
+
readonly createdAt: string;
|
|
63
|
+
readonly lastModifiedAt: string;
|
|
64
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
65
|
+
readonly createdBy?: CreatedBy;
|
|
66
|
+
readonly sequenceNumber: number;
|
|
67
|
+
readonly resource: Reference;
|
|
68
|
+
readonly resourceVersion: number;
|
|
69
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
70
|
+
}
|
|
71
|
+
export interface AssociateRoleNameChangedMessage {
|
|
72
|
+
readonly type: 'AssociateRoleNameSet';
|
|
73
|
+
readonly id: string;
|
|
74
|
+
readonly version: number;
|
|
75
|
+
readonly createdAt: string;
|
|
76
|
+
readonly lastModifiedAt: string;
|
|
77
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
78
|
+
readonly createdBy?: CreatedBy;
|
|
79
|
+
readonly sequenceNumber: number;
|
|
80
|
+
readonly resource: Reference;
|
|
81
|
+
readonly resourceVersion: number;
|
|
82
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
83
|
+
readonly name: string;
|
|
84
|
+
}
|
|
85
|
+
export interface AssociateRolePermissionAddedMessage {
|
|
86
|
+
readonly type: 'AssociateRolePermissionAdded';
|
|
87
|
+
readonly id: string;
|
|
88
|
+
readonly version: number;
|
|
89
|
+
readonly createdAt: string;
|
|
90
|
+
readonly lastModifiedAt: string;
|
|
91
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
92
|
+
readonly createdBy?: CreatedBy;
|
|
93
|
+
readonly sequenceNumber: number;
|
|
94
|
+
readonly resource: Reference;
|
|
95
|
+
readonly resourceVersion: number;
|
|
96
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
97
|
+
readonly permission: Permission;
|
|
98
|
+
}
|
|
99
|
+
export interface AssociateRolePermissionRemovedMessage {
|
|
100
|
+
readonly type: 'AssociateRolePermissionRemoved';
|
|
101
|
+
readonly id: string;
|
|
102
|
+
readonly version: number;
|
|
103
|
+
readonly createdAt: string;
|
|
104
|
+
readonly lastModifiedAt: string;
|
|
105
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
106
|
+
readonly createdBy?: CreatedBy;
|
|
107
|
+
readonly sequenceNumber: number;
|
|
108
|
+
readonly resource: Reference;
|
|
109
|
+
readonly resourceVersion: number;
|
|
110
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
111
|
+
readonly permission: Permission;
|
|
112
|
+
}
|
|
113
|
+
export interface AssociateRolePermissionsSetMessage {
|
|
114
|
+
readonly type: 'AssociateRolePermissionsSet';
|
|
115
|
+
readonly id: string;
|
|
116
|
+
readonly version: number;
|
|
117
|
+
readonly createdAt: string;
|
|
118
|
+
readonly lastModifiedAt: string;
|
|
119
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
120
|
+
readonly createdBy?: CreatedBy;
|
|
121
|
+
readonly sequenceNumber: number;
|
|
122
|
+
readonly resource: Reference;
|
|
123
|
+
readonly resourceVersion: number;
|
|
124
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
125
|
+
readonly permissions: Permission[];
|
|
126
|
+
}
|
|
127
|
+
export interface BusinessUnitAddressAddedMessage {
|
|
128
|
+
readonly type: 'BusinessUnitAddressAdded';
|
|
129
|
+
readonly id: string;
|
|
130
|
+
readonly version: number;
|
|
131
|
+
readonly createdAt: string;
|
|
132
|
+
readonly lastModifiedAt: string;
|
|
133
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
134
|
+
readonly createdBy?: CreatedBy;
|
|
135
|
+
readonly sequenceNumber: number;
|
|
136
|
+
readonly resource: Reference;
|
|
137
|
+
readonly resourceVersion: number;
|
|
138
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
139
|
+
readonly address: Address;
|
|
140
|
+
}
|
|
141
|
+
export interface BusinessUnitAddressChangedMessage {
|
|
142
|
+
readonly type: 'BusinessUnitAddressChanged';
|
|
143
|
+
readonly id: string;
|
|
144
|
+
readonly version: number;
|
|
145
|
+
readonly createdAt: string;
|
|
146
|
+
readonly lastModifiedAt: string;
|
|
147
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
148
|
+
readonly createdBy?: CreatedBy;
|
|
149
|
+
readonly sequenceNumber: number;
|
|
150
|
+
readonly resource: Reference;
|
|
151
|
+
readonly resourceVersion: number;
|
|
152
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
153
|
+
readonly address: Address;
|
|
154
|
+
}
|
|
155
|
+
export interface BusinessUnitAddressRemovedMessage {
|
|
156
|
+
readonly type: 'BusinessUnitAddressRemoved';
|
|
157
|
+
readonly id: string;
|
|
158
|
+
readonly version: number;
|
|
159
|
+
readonly createdAt: string;
|
|
160
|
+
readonly lastModifiedAt: string;
|
|
161
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
162
|
+
readonly createdBy?: CreatedBy;
|
|
163
|
+
readonly sequenceNumber: number;
|
|
164
|
+
readonly resource: Reference;
|
|
165
|
+
readonly resourceVersion: number;
|
|
166
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
167
|
+
readonly address: Address;
|
|
168
|
+
}
|
|
169
|
+
export interface BusinessUnitAssociateAddedMessage {
|
|
170
|
+
readonly type: 'BusinessUnitAssociateAdded';
|
|
171
|
+
readonly id: string;
|
|
172
|
+
readonly version: number;
|
|
173
|
+
readonly createdAt: string;
|
|
174
|
+
readonly lastModifiedAt: string;
|
|
175
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
176
|
+
readonly createdBy?: CreatedBy;
|
|
177
|
+
readonly sequenceNumber: number;
|
|
178
|
+
readonly resource: Reference;
|
|
179
|
+
readonly resourceVersion: number;
|
|
180
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
181
|
+
readonly associate: Associate;
|
|
182
|
+
}
|
|
183
|
+
export interface BusinessUnitAssociateChangedMessage {
|
|
184
|
+
readonly type: 'BusinessUnitAssociateChanged';
|
|
185
|
+
readonly id: string;
|
|
186
|
+
readonly version: number;
|
|
187
|
+
readonly createdAt: string;
|
|
188
|
+
readonly lastModifiedAt: string;
|
|
189
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
190
|
+
readonly createdBy?: CreatedBy;
|
|
191
|
+
readonly sequenceNumber: number;
|
|
192
|
+
readonly resource: Reference;
|
|
193
|
+
readonly resourceVersion: number;
|
|
194
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
195
|
+
readonly associate: Associate;
|
|
196
|
+
}
|
|
197
|
+
export interface BusinessUnitAssociateModeChangedMessage {
|
|
198
|
+
readonly type: 'BusinessUnitAssociateModeChanged';
|
|
199
|
+
readonly id: string;
|
|
200
|
+
readonly version: number;
|
|
201
|
+
readonly createdAt: string;
|
|
202
|
+
readonly lastModifiedAt: string;
|
|
203
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
204
|
+
readonly createdBy?: CreatedBy;
|
|
205
|
+
readonly sequenceNumber: number;
|
|
206
|
+
readonly resource: Reference;
|
|
207
|
+
readonly resourceVersion: number;
|
|
208
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
209
|
+
readonly associateMode: BusinessUnitAssociateMode;
|
|
210
|
+
readonly oldAssociateMode: BusinessUnitAssociateMode;
|
|
211
|
+
}
|
|
212
|
+
export interface BusinessUnitAssociateRemovedMessage {
|
|
213
|
+
readonly type: 'BusinessUnitAssociateRemoved';
|
|
214
|
+
readonly id: string;
|
|
215
|
+
readonly version: number;
|
|
216
|
+
readonly createdAt: string;
|
|
217
|
+
readonly lastModifiedAt: string;
|
|
218
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
219
|
+
readonly createdBy?: CreatedBy;
|
|
220
|
+
readonly sequenceNumber: number;
|
|
221
|
+
readonly resource: Reference;
|
|
222
|
+
readonly resourceVersion: number;
|
|
223
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
224
|
+
readonly associate: Associate;
|
|
225
|
+
}
|
|
226
|
+
export interface BusinessUnitAssociatesSetMessage {
|
|
227
|
+
readonly type: 'BusinessUnitAssociatesSet';
|
|
228
|
+
readonly id: string;
|
|
229
|
+
readonly version: number;
|
|
230
|
+
readonly createdAt: string;
|
|
231
|
+
readonly lastModifiedAt: string;
|
|
232
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
233
|
+
readonly createdBy?: CreatedBy;
|
|
234
|
+
readonly sequenceNumber: number;
|
|
235
|
+
readonly resource: Reference;
|
|
236
|
+
readonly resourceVersion: number;
|
|
237
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
238
|
+
readonly associates: Associate[];
|
|
239
|
+
}
|
|
240
|
+
export interface BusinessUnitBillingAddressAddedMessage {
|
|
241
|
+
readonly type: 'BusinessUnitBillingAddressAdded';
|
|
242
|
+
readonly id: string;
|
|
243
|
+
readonly version: number;
|
|
244
|
+
readonly createdAt: string;
|
|
245
|
+
readonly lastModifiedAt: string;
|
|
246
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
247
|
+
readonly createdBy?: CreatedBy;
|
|
248
|
+
readonly sequenceNumber: number;
|
|
249
|
+
readonly resource: Reference;
|
|
250
|
+
readonly resourceVersion: number;
|
|
251
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
252
|
+
readonly address: Address;
|
|
253
|
+
}
|
|
254
|
+
export interface BusinessUnitBillingAddressRemovedMessage {
|
|
255
|
+
readonly type: 'BusinessUnitBillingAddressRemoved';
|
|
256
|
+
readonly id: string;
|
|
257
|
+
readonly version: number;
|
|
258
|
+
readonly createdAt: string;
|
|
259
|
+
readonly lastModifiedAt: string;
|
|
260
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
261
|
+
readonly createdBy?: CreatedBy;
|
|
262
|
+
readonly sequenceNumber: number;
|
|
263
|
+
readonly resource: Reference;
|
|
264
|
+
readonly resourceVersion: number;
|
|
265
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
266
|
+
readonly address: Address;
|
|
267
|
+
}
|
|
268
|
+
export interface BusinessUnitContactEmailSetMessage {
|
|
269
|
+
readonly type: 'BusinessUnitContactEmailSet';
|
|
270
|
+
readonly id: string;
|
|
271
|
+
readonly version: number;
|
|
272
|
+
readonly createdAt: string;
|
|
273
|
+
readonly lastModifiedAt: string;
|
|
274
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
275
|
+
readonly createdBy?: CreatedBy;
|
|
276
|
+
readonly sequenceNumber: number;
|
|
277
|
+
readonly resource: Reference;
|
|
278
|
+
readonly resourceVersion: number;
|
|
279
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
280
|
+
readonly contactEmail?: string;
|
|
281
|
+
}
|
|
282
|
+
export interface BusinessUnitCreatedMessage {
|
|
283
|
+
readonly type: 'BusinessUnitCreated';
|
|
284
|
+
readonly id: string;
|
|
285
|
+
readonly version: number;
|
|
286
|
+
readonly createdAt: string;
|
|
287
|
+
readonly lastModifiedAt: string;
|
|
288
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
289
|
+
readonly createdBy?: CreatedBy;
|
|
290
|
+
readonly sequenceNumber: number;
|
|
291
|
+
readonly resource: Reference;
|
|
292
|
+
readonly resourceVersion: number;
|
|
293
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
294
|
+
readonly businessUnit: BusinessUnit;
|
|
295
|
+
}
|
|
296
|
+
export interface BusinessUnitDefaultBillingAddressSetMessage {
|
|
297
|
+
readonly type: 'BusinessUnitDefaultBillingAddressSet';
|
|
298
|
+
readonly id: string;
|
|
299
|
+
readonly version: number;
|
|
300
|
+
readonly createdAt: string;
|
|
301
|
+
readonly lastModifiedAt: string;
|
|
302
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
303
|
+
readonly createdBy?: CreatedBy;
|
|
304
|
+
readonly sequenceNumber: number;
|
|
305
|
+
readonly resource: Reference;
|
|
306
|
+
readonly resourceVersion: number;
|
|
307
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
308
|
+
readonly address?: Address;
|
|
309
|
+
}
|
|
310
|
+
export interface BusinessUnitDefaultShippingAddressSetMessage {
|
|
311
|
+
readonly type: 'BusinessUnitDefaultShippingAddressSet';
|
|
312
|
+
readonly id: string;
|
|
313
|
+
readonly version: number;
|
|
314
|
+
readonly createdAt: string;
|
|
315
|
+
readonly lastModifiedAt: string;
|
|
316
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
317
|
+
readonly createdBy?: CreatedBy;
|
|
318
|
+
readonly sequenceNumber: number;
|
|
319
|
+
readonly resource: Reference;
|
|
320
|
+
readonly resourceVersion: number;
|
|
321
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
322
|
+
readonly address?: Address;
|
|
323
|
+
}
|
|
324
|
+
export interface BusinessUnitDeletedMessage {
|
|
325
|
+
readonly type: 'BusinessUnitDeleted';
|
|
326
|
+
readonly id: string;
|
|
327
|
+
readonly version: number;
|
|
328
|
+
readonly createdAt: string;
|
|
329
|
+
readonly lastModifiedAt: string;
|
|
330
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
331
|
+
readonly createdBy?: CreatedBy;
|
|
332
|
+
readonly sequenceNumber: number;
|
|
333
|
+
readonly resource: Reference;
|
|
334
|
+
readonly resourceVersion: number;
|
|
335
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
336
|
+
}
|
|
337
|
+
export interface BusinessUnitNameChangedMessage {
|
|
338
|
+
readonly type: 'BusinessUnitNameChanged';
|
|
339
|
+
readonly id: string;
|
|
340
|
+
readonly version: number;
|
|
341
|
+
readonly createdAt: string;
|
|
342
|
+
readonly lastModifiedAt: string;
|
|
343
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
344
|
+
readonly createdBy?: CreatedBy;
|
|
345
|
+
readonly sequenceNumber: number;
|
|
346
|
+
readonly resource: Reference;
|
|
347
|
+
readonly resourceVersion: number;
|
|
348
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
349
|
+
readonly name: string;
|
|
350
|
+
}
|
|
351
|
+
export interface BusinessUnitParentUnitChangedMessage {
|
|
352
|
+
readonly type: 'BusinessUnitParentUnitChanged';
|
|
353
|
+
readonly id: string;
|
|
354
|
+
readonly version: number;
|
|
355
|
+
readonly createdAt: string;
|
|
356
|
+
readonly lastModifiedAt: string;
|
|
357
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
358
|
+
readonly createdBy?: CreatedBy;
|
|
359
|
+
readonly sequenceNumber: number;
|
|
360
|
+
readonly resource: Reference;
|
|
361
|
+
readonly resourceVersion: number;
|
|
362
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
363
|
+
readonly oldParentUnit?: BusinessUnitKeyReference;
|
|
364
|
+
readonly newParentUnit?: BusinessUnitKeyReference;
|
|
365
|
+
}
|
|
366
|
+
export interface BusinessUnitShippingAddressAddedMessage {
|
|
367
|
+
readonly type: 'BusinessUnitShippingAddressAdded';
|
|
368
|
+
readonly id: string;
|
|
369
|
+
readonly version: number;
|
|
370
|
+
readonly createdAt: string;
|
|
371
|
+
readonly lastModifiedAt: string;
|
|
372
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
373
|
+
readonly createdBy?: CreatedBy;
|
|
374
|
+
readonly sequenceNumber: number;
|
|
375
|
+
readonly resource: Reference;
|
|
376
|
+
readonly resourceVersion: number;
|
|
377
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
378
|
+
readonly address: Address;
|
|
379
|
+
}
|
|
380
|
+
export interface BusinessUnitShippingAddressRemovedMessage {
|
|
381
|
+
readonly type: 'BusinessUnitShippingAddressRemoved';
|
|
382
|
+
readonly id: string;
|
|
383
|
+
readonly version: number;
|
|
384
|
+
readonly createdAt: string;
|
|
385
|
+
readonly lastModifiedAt: string;
|
|
386
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
387
|
+
readonly createdBy?: CreatedBy;
|
|
388
|
+
readonly sequenceNumber: number;
|
|
389
|
+
readonly resource: Reference;
|
|
390
|
+
readonly resourceVersion: number;
|
|
391
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
392
|
+
readonly address: Address;
|
|
393
|
+
}
|
|
394
|
+
export interface BusinessUnitStatusChangedMessage {
|
|
395
|
+
readonly type: 'BusinessUnitStatusChanged';
|
|
396
|
+
readonly id: string;
|
|
397
|
+
readonly version: number;
|
|
398
|
+
readonly createdAt: string;
|
|
399
|
+
readonly lastModifiedAt: string;
|
|
400
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
401
|
+
readonly createdBy?: CreatedBy;
|
|
402
|
+
readonly sequenceNumber: number;
|
|
403
|
+
readonly resource: Reference;
|
|
404
|
+
readonly resourceVersion: number;
|
|
405
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
406
|
+
readonly active: BusinessUnitStatus;
|
|
407
|
+
}
|
|
408
|
+
export interface BusinessUnitStoreAddedMessage {
|
|
409
|
+
readonly type: 'BusinessUnitStoreAdded';
|
|
410
|
+
readonly id: string;
|
|
411
|
+
readonly version: number;
|
|
412
|
+
readonly createdAt: string;
|
|
413
|
+
readonly lastModifiedAt: string;
|
|
414
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
415
|
+
readonly createdBy?: CreatedBy;
|
|
416
|
+
readonly sequenceNumber: number;
|
|
417
|
+
readonly resource: Reference;
|
|
418
|
+
readonly resourceVersion: number;
|
|
419
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
420
|
+
readonly store: StoreKeyReference;
|
|
421
|
+
}
|
|
422
|
+
export interface BusinessUnitStoreModeChangedMessage {
|
|
423
|
+
readonly type: 'BusinessUnitStoreModeChanged';
|
|
424
|
+
readonly id: string;
|
|
425
|
+
readonly version: number;
|
|
426
|
+
readonly createdAt: string;
|
|
427
|
+
readonly lastModifiedAt: string;
|
|
428
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
429
|
+
readonly createdBy?: CreatedBy;
|
|
430
|
+
readonly sequenceNumber: number;
|
|
431
|
+
readonly resource: Reference;
|
|
432
|
+
readonly resourceVersion: number;
|
|
433
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
434
|
+
readonly stores: StoreKeyReference[];
|
|
435
|
+
readonly storeMode: BusinessUnitStoreMode;
|
|
436
|
+
readonly oldStores: StoreKeyReference[];
|
|
437
|
+
readonly oldStoreMode: BusinessUnitStoreMode;
|
|
438
|
+
}
|
|
439
|
+
export interface BusinessUnitStoreRemovedMessage {
|
|
440
|
+
readonly type: 'BusinessUnitStoreRemoved';
|
|
441
|
+
readonly id: string;
|
|
442
|
+
readonly version: number;
|
|
443
|
+
readonly createdAt: string;
|
|
444
|
+
readonly lastModifiedAt: string;
|
|
445
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
446
|
+
readonly createdBy?: CreatedBy;
|
|
447
|
+
readonly sequenceNumber: number;
|
|
448
|
+
readonly resource: Reference;
|
|
449
|
+
readonly resourceVersion: number;
|
|
450
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
451
|
+
readonly store: StoreKeyReference;
|
|
452
|
+
}
|
|
453
|
+
export interface BusinessUnitStoresSetMessage {
|
|
454
|
+
readonly type: 'BusinessUnitStoresSet';
|
|
455
|
+
readonly id: string;
|
|
456
|
+
readonly version: number;
|
|
457
|
+
readonly createdAt: string;
|
|
458
|
+
readonly lastModifiedAt: string;
|
|
459
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
460
|
+
readonly createdBy?: CreatedBy;
|
|
461
|
+
readonly sequenceNumber: number;
|
|
462
|
+
readonly resource: Reference;
|
|
463
|
+
readonly resourceVersion: number;
|
|
464
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
465
|
+
readonly stores: StoreKeyReference[];
|
|
466
|
+
}
|
|
27
467
|
export interface CategoryCreatedMessage {
|
|
28
468
|
readonly type: 'CategoryCreated';
|
|
29
469
|
readonly id: string;
|
|
@@ -309,7 +749,7 @@ export interface MessagesConfigurationDraft {
|
|
|
309
749
|
readonly enabled: boolean;
|
|
310
750
|
readonly deleteDaysAfterCreation: number;
|
|
311
751
|
}
|
|
312
|
-
export type OrderMessage = CustomLineItemStateTransitionMessage | DeliveryAddedMessage | DeliveryAddressSetMessage | DeliveryItemsUpdatedMessage | DeliveryRemovedMessage | LineItemStateTransitionMessage | OrderBillingAddressSetMessage | OrderCreatedMessage | OrderCustomLineItemAddedMessage | OrderCustomLineItemDiscountSetMessage | OrderCustomLineItemQuantityChangedMessage | OrderCustomLineItemRemovedMessage | OrderCustomerEmailSetMessage | OrderCustomerGroupSetMessage | OrderCustomerSetMessage | OrderDeletedMessage | OrderDiscountCodeAddedMessage | OrderDiscountCodeRemovedMessage | OrderDiscountCodeStateSetMessage | OrderEditAppliedMessage | OrderImportedMessage | OrderLineItemAddedMessage | OrderLineItemDiscountSetMessage | OrderLineItemDistributionChannelSetMessage | OrderLineItemRemovedMessage | OrderPaymentStateChangedMessage | OrderReturnShipmentStateChangedMessage | OrderShipmentStateChangedMessage | OrderShippingAddressSetMessage | OrderShippingInfoSetMessage | OrderShippingRateInputSetMessage | OrderStateChangedMessage | OrderStateTransitionMessage | OrderStoreSetMessage | ParcelAddedToDeliveryMessage | ParcelItemsUpdatedMessage | ParcelMeasurementsUpdatedMessage | ParcelRemovedFromDeliveryMessage | ParcelTrackingDataUpdatedMessage | ReturnInfoAddedMessage | ReturnInfoSetMessage;
|
|
752
|
+
export type OrderMessage = CustomLineItemStateTransitionMessage | DeliveryAddedMessage | DeliveryAddressSetMessage | DeliveryItemsUpdatedMessage | DeliveryRemovedMessage | LineItemStateTransitionMessage | OrderBillingAddressSetMessage | OrderCreatedMessage | OrderCustomLineItemAddedMessage | OrderCustomLineItemDiscountSetMessage | OrderCustomLineItemQuantityChangedMessage | OrderCustomLineItemRemovedMessage | OrderCustomerEmailSetMessage | OrderCustomerGroupSetMessage | OrderCustomerSetMessage | OrderDeletedMessage | OrderDiscountCodeAddedMessage | OrderDiscountCodeRemovedMessage | OrderDiscountCodeStateSetMessage | OrderEditAppliedMessage | OrderImportedMessage | OrderLineItemAddedMessage | OrderLineItemDiscountSetMessage | OrderLineItemDistributionChannelSetMessage | OrderLineItemRemovedMessage | OrderPaymentStateChangedMessage | OrderPurchaseOrderNumberSetMessage | OrderReturnShipmentStateChangedMessage | OrderShipmentStateChangedMessage | OrderShippingAddressSetMessage | OrderShippingInfoSetMessage | OrderShippingRateInputSetMessage | OrderStateChangedMessage | OrderStateTransitionMessage | OrderStoreSetMessage | ParcelAddedToDeliveryMessage | ParcelItemsUpdatedMessage | ParcelMeasurementsUpdatedMessage | ParcelRemovedFromDeliveryMessage | ParcelTrackingDataUpdatedMessage | ReturnInfoAddedMessage | ReturnInfoSetMessage;
|
|
313
753
|
export interface CustomLineItemStateTransitionMessage {
|
|
314
754
|
readonly type: 'CustomLineItemStateTransition';
|
|
315
755
|
readonly id: string;
|
|
@@ -437,7 +877,7 @@ export interface OrderCreatedMessage {
|
|
|
437
877
|
readonly resource: Reference;
|
|
438
878
|
readonly resourceVersion: number;
|
|
439
879
|
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
440
|
-
readonly order:
|
|
880
|
+
readonly order: _Order;
|
|
441
881
|
}
|
|
442
882
|
export interface OrderCustomLineItemAddedMessage {
|
|
443
883
|
readonly type: 'OrderCustomLineItemAdded';
|
|
@@ -559,7 +999,7 @@ export interface OrderDeletedMessage {
|
|
|
559
999
|
readonly resource: Reference;
|
|
560
1000
|
readonly resourceVersion: number;
|
|
561
1001
|
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
562
|
-
readonly order:
|
|
1002
|
+
readonly order: _Order;
|
|
563
1003
|
}
|
|
564
1004
|
export interface OrderDiscountCodeAddedMessage {
|
|
565
1005
|
readonly type: 'OrderDiscountCodeAdded';
|
|
@@ -632,7 +1072,7 @@ export interface OrderImportedMessage {
|
|
|
632
1072
|
readonly resource: Reference;
|
|
633
1073
|
readonly resourceVersion: number;
|
|
634
1074
|
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
635
|
-
readonly order:
|
|
1075
|
+
readonly order: _Order;
|
|
636
1076
|
}
|
|
637
1077
|
export interface OrderLineItemAddedMessage {
|
|
638
1078
|
readonly type: 'OrderLineItemAdded';
|
|
@@ -663,7 +1103,7 @@ export interface OrderLineItemDiscountSetMessage {
|
|
|
663
1103
|
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
664
1104
|
readonly lineItemId: string;
|
|
665
1105
|
readonly discountedPricePerQuantity: DiscountedLineItemPriceForQuantity[];
|
|
666
|
-
readonly totalPrice:
|
|
1106
|
+
readonly totalPrice: _Money;
|
|
667
1107
|
readonly taxedPrice?: TaxedItemPrice;
|
|
668
1108
|
readonly taxedPricePortions: MethodTaxedPrice[];
|
|
669
1109
|
}
|
|
@@ -732,6 +1172,21 @@ export interface OrderPaymentStateChangedMessage {
|
|
|
732
1172
|
readonly paymentState: PaymentState;
|
|
733
1173
|
readonly oldPaymentState?: PaymentState;
|
|
734
1174
|
}
|
|
1175
|
+
export interface OrderPurchaseOrderNumberSetMessage {
|
|
1176
|
+
readonly type: 'OrderPurchaseOrderNumberSet';
|
|
1177
|
+
readonly id: string;
|
|
1178
|
+
readonly version: number;
|
|
1179
|
+
readonly createdAt: string;
|
|
1180
|
+
readonly lastModifiedAt: string;
|
|
1181
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
1182
|
+
readonly createdBy?: CreatedBy;
|
|
1183
|
+
readonly sequenceNumber: number;
|
|
1184
|
+
readonly resource: Reference;
|
|
1185
|
+
readonly resourceVersion: number;
|
|
1186
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1187
|
+
readonly purchaseOrderNumber?: string;
|
|
1188
|
+
readonly oldPurchaseOrderNumber?: string;
|
|
1189
|
+
}
|
|
735
1190
|
export interface OrderReturnShipmentStateChangedMessage {
|
|
736
1191
|
readonly type: 'OrderReturnShipmentStateChanged';
|
|
737
1192
|
readonly id: string;
|
|
@@ -1083,6 +1538,40 @@ export interface ProductImageAddedMessage {
|
|
|
1083
1538
|
readonly image: Image;
|
|
1084
1539
|
readonly staged: boolean;
|
|
1085
1540
|
}
|
|
1541
|
+
export interface ProductPriceAddedMessage {
|
|
1542
|
+
readonly type: 'ProductPriceAdded';
|
|
1543
|
+
readonly id: string;
|
|
1544
|
+
readonly version: number;
|
|
1545
|
+
readonly createdAt: string;
|
|
1546
|
+
readonly lastModifiedAt: string;
|
|
1547
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
1548
|
+
readonly createdBy?: CreatedBy;
|
|
1549
|
+
readonly sequenceNumber: number;
|
|
1550
|
+
readonly resource: Reference;
|
|
1551
|
+
readonly resourceVersion: number;
|
|
1552
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1553
|
+
readonly variantId: number;
|
|
1554
|
+
readonly price: Price;
|
|
1555
|
+
readonly staged: boolean;
|
|
1556
|
+
}
|
|
1557
|
+
export interface ProductPriceChangedMessage {
|
|
1558
|
+
readonly type: 'ProductPriceChanged';
|
|
1559
|
+
readonly id: string;
|
|
1560
|
+
readonly version: number;
|
|
1561
|
+
readonly createdAt: string;
|
|
1562
|
+
readonly lastModifiedAt: string;
|
|
1563
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
1564
|
+
readonly createdBy?: CreatedBy;
|
|
1565
|
+
readonly sequenceNumber: number;
|
|
1566
|
+
readonly resource: Reference;
|
|
1567
|
+
readonly resourceVersion: number;
|
|
1568
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1569
|
+
readonly variantId: number;
|
|
1570
|
+
readonly oldPrice: Price;
|
|
1571
|
+
readonly newPrice: Price;
|
|
1572
|
+
readonly staged: boolean;
|
|
1573
|
+
readonly oldStagedPrice?: Price;
|
|
1574
|
+
}
|
|
1086
1575
|
export interface ProductPriceDiscountsSetMessage {
|
|
1087
1576
|
readonly type: 'ProductPriceDiscountsSet';
|
|
1088
1577
|
readonly id: string;
|
|
@@ -1124,6 +1613,70 @@ export interface ProductPriceExternalDiscountSetMessage {
|
|
|
1124
1613
|
readonly discounted?: DiscountedPrice;
|
|
1125
1614
|
readonly staged: boolean;
|
|
1126
1615
|
}
|
|
1616
|
+
export interface ProductPriceKeySetMessage {
|
|
1617
|
+
readonly type: 'ProductPriceKeySet';
|
|
1618
|
+
readonly id: string;
|
|
1619
|
+
readonly version: number;
|
|
1620
|
+
readonly createdAt: string;
|
|
1621
|
+
readonly lastModifiedAt: string;
|
|
1622
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
1623
|
+
readonly createdBy?: CreatedBy;
|
|
1624
|
+
readonly sequenceNumber: number;
|
|
1625
|
+
readonly resource: Reference;
|
|
1626
|
+
readonly resourceVersion: number;
|
|
1627
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1628
|
+
readonly variantId: number;
|
|
1629
|
+
readonly priceId?: string;
|
|
1630
|
+
readonly oldKey?: string;
|
|
1631
|
+
readonly key?: string;
|
|
1632
|
+
readonly staged: boolean;
|
|
1633
|
+
}
|
|
1634
|
+
export interface ProductPriceModeSetMessage {
|
|
1635
|
+
readonly type: 'ProductPriceModeSet';
|
|
1636
|
+
readonly id: string;
|
|
1637
|
+
readonly version: number;
|
|
1638
|
+
readonly createdAt: string;
|
|
1639
|
+
readonly lastModifiedAt: string;
|
|
1640
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
1641
|
+
readonly createdBy?: CreatedBy;
|
|
1642
|
+
readonly sequenceNumber: number;
|
|
1643
|
+
readonly resource: Reference;
|
|
1644
|
+
readonly resourceVersion: number;
|
|
1645
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1646
|
+
readonly to: ProductPriceModeEnum;
|
|
1647
|
+
}
|
|
1648
|
+
export interface ProductPriceRemovedMessage {
|
|
1649
|
+
readonly type: 'ProductPriceRemoved';
|
|
1650
|
+
readonly id: string;
|
|
1651
|
+
readonly version: number;
|
|
1652
|
+
readonly createdAt: string;
|
|
1653
|
+
readonly lastModifiedAt: string;
|
|
1654
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
1655
|
+
readonly createdBy?: CreatedBy;
|
|
1656
|
+
readonly sequenceNumber: number;
|
|
1657
|
+
readonly resource: Reference;
|
|
1658
|
+
readonly resourceVersion: number;
|
|
1659
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1660
|
+
readonly variantId: number;
|
|
1661
|
+
readonly price: Price;
|
|
1662
|
+
readonly staged: boolean;
|
|
1663
|
+
}
|
|
1664
|
+
export interface ProductPricesSetMessage {
|
|
1665
|
+
readonly type: 'ProductPricesSet';
|
|
1666
|
+
readonly id: string;
|
|
1667
|
+
readonly version: number;
|
|
1668
|
+
readonly createdAt: string;
|
|
1669
|
+
readonly lastModifiedAt: string;
|
|
1670
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
1671
|
+
readonly createdBy?: CreatedBy;
|
|
1672
|
+
readonly sequenceNumber: number;
|
|
1673
|
+
readonly resource: Reference;
|
|
1674
|
+
readonly resourceVersion: number;
|
|
1675
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1676
|
+
readonly variantId: number;
|
|
1677
|
+
readonly prices: Price[];
|
|
1678
|
+
readonly staged: boolean;
|
|
1679
|
+
}
|
|
1127
1680
|
export interface ProductPublishedMessage {
|
|
1128
1681
|
readonly type: 'ProductPublished';
|
|
1129
1682
|
readonly id: string;
|
|
@@ -1181,7 +1734,7 @@ export interface ProductSelectionCreatedMessage {
|
|
|
1181
1734
|
readonly resource: Reference;
|
|
1182
1735
|
readonly resourceVersion: number;
|
|
1183
1736
|
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1184
|
-
readonly productSelection:
|
|
1737
|
+
readonly productSelection: ProductSelection;
|
|
1185
1738
|
}
|
|
1186
1739
|
export interface ProductSelectionDeletedMessage {
|
|
1187
1740
|
readonly type: 'ProductSelectionDeleted';
|
|
@@ -1211,6 +1764,21 @@ export interface ProductSelectionProductAddedMessage {
|
|
|
1211
1764
|
readonly product: ProductReference;
|
|
1212
1765
|
readonly variantSelection: ProductVariantSelection;
|
|
1213
1766
|
}
|
|
1767
|
+
export interface ProductSelectionProductExcludedMessage {
|
|
1768
|
+
readonly type: 'ProductSelectionProductExcluded';
|
|
1769
|
+
readonly id: string;
|
|
1770
|
+
readonly version: number;
|
|
1771
|
+
readonly createdAt: string;
|
|
1772
|
+
readonly lastModifiedAt: string;
|
|
1773
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
1774
|
+
readonly createdBy?: CreatedBy;
|
|
1775
|
+
readonly sequenceNumber: number;
|
|
1776
|
+
readonly resource: Reference;
|
|
1777
|
+
readonly resourceVersion: number;
|
|
1778
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1779
|
+
readonly product: ProductReference;
|
|
1780
|
+
readonly variantExclusion: ProductVariantExclusion;
|
|
1781
|
+
}
|
|
1214
1782
|
export interface ProductSelectionProductRemovedMessage {
|
|
1215
1783
|
readonly type: 'ProductSelectionProductRemoved';
|
|
1216
1784
|
readonly id: string;
|
|
@@ -1225,6 +1793,22 @@ export interface ProductSelectionProductRemovedMessage {
|
|
|
1225
1793
|
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1226
1794
|
readonly product: ProductReference;
|
|
1227
1795
|
}
|
|
1796
|
+
export interface ProductSelectionVariantExclusionChangedMessage {
|
|
1797
|
+
readonly type: 'ProductSelectionVariantExclusionChanged';
|
|
1798
|
+
readonly id: string;
|
|
1799
|
+
readonly version: number;
|
|
1800
|
+
readonly createdAt: string;
|
|
1801
|
+
readonly lastModifiedAt: string;
|
|
1802
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
1803
|
+
readonly createdBy?: CreatedBy;
|
|
1804
|
+
readonly sequenceNumber: number;
|
|
1805
|
+
readonly resource: Reference;
|
|
1806
|
+
readonly resourceVersion: number;
|
|
1807
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1808
|
+
readonly product: ProductReference;
|
|
1809
|
+
readonly oldVariantExclusion: ProductVariantExclusion;
|
|
1810
|
+
readonly newVariantExclusion: ProductVariantExclusion;
|
|
1811
|
+
}
|
|
1228
1812
|
export interface ProductSelectionVariantSelectionChangedMessage {
|
|
1229
1813
|
readonly type: 'ProductSelectionVariantSelectionChanged';
|
|
1230
1814
|
readonly id: string;
|
|
@@ -1664,6 +2248,21 @@ export interface StandalonePriceExternalDiscountSetMessage {
|
|
|
1664
2248
|
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1665
2249
|
readonly discounted?: DiscountedPrice;
|
|
1666
2250
|
}
|
|
2251
|
+
export interface StandalonePriceKeySetMessage {
|
|
2252
|
+
readonly type: 'StandalonePriceKeySet';
|
|
2253
|
+
readonly id: string;
|
|
2254
|
+
readonly version: number;
|
|
2255
|
+
readonly createdAt: string;
|
|
2256
|
+
readonly lastModifiedAt: string;
|
|
2257
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
2258
|
+
readonly createdBy?: CreatedBy;
|
|
2259
|
+
readonly sequenceNumber: number;
|
|
2260
|
+
readonly resource: Reference;
|
|
2261
|
+
readonly resourceVersion: number;
|
|
2262
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
2263
|
+
readonly key?: string;
|
|
2264
|
+
readonly oldKey?: string;
|
|
2265
|
+
}
|
|
1667
2266
|
export interface StandalonePriceStagedChangesAppliedMessage {
|
|
1668
2267
|
readonly type: 'StandalonePriceStagedChangesApplied';
|
|
1669
2268
|
readonly id: string;
|
|
@@ -1690,8 +2289,24 @@ export interface StandalonePriceValueChangedMessage {
|
|
|
1690
2289
|
readonly resource: Reference;
|
|
1691
2290
|
readonly resourceVersion: number;
|
|
1692
2291
|
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1693
|
-
readonly value:
|
|
2292
|
+
readonly value: _Money;
|
|
1694
2293
|
readonly staged: boolean;
|
|
2294
|
+
readonly oldValue?: _Money;
|
|
2295
|
+
}
|
|
2296
|
+
export interface StoreCountriesChangedMessage {
|
|
2297
|
+
readonly type: 'StoreCountriesChanged';
|
|
2298
|
+
readonly id: string;
|
|
2299
|
+
readonly version: number;
|
|
2300
|
+
readonly createdAt: string;
|
|
2301
|
+
readonly lastModifiedAt: string;
|
|
2302
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
2303
|
+
readonly createdBy?: CreatedBy;
|
|
2304
|
+
readonly sequenceNumber: number;
|
|
2305
|
+
readonly resource: Reference;
|
|
2306
|
+
readonly resourceVersion: number;
|
|
2307
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
2308
|
+
readonly addedCountries?: StoreCountry[];
|
|
2309
|
+
readonly removedCountries?: StoreCountry[];
|
|
1695
2310
|
}
|
|
1696
2311
|
export interface StoreCreatedMessage {
|
|
1697
2312
|
readonly type: 'StoreCreated';
|
|
@@ -1707,6 +2322,7 @@ export interface StoreCreatedMessage {
|
|
|
1707
2322
|
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
1708
2323
|
readonly name?: LocalizedString;
|
|
1709
2324
|
readonly languages?: string[];
|
|
2325
|
+
readonly countries?: StoreCountry[];
|
|
1710
2326
|
readonly distributionChannels: ChannelReference[];
|
|
1711
2327
|
readonly supplyChannels: ChannelReference[];
|
|
1712
2328
|
readonly productSelections: ProductSelectionSetting[];
|
|
@@ -1786,6 +2402,21 @@ export interface StoreProductSelectionsChangedMessage {
|
|
|
1786
2402
|
readonly removedProductSelections?: ProductSelectionSetting[];
|
|
1787
2403
|
readonly updatedProductSelections?: ProductSelectionSetting[];
|
|
1788
2404
|
}
|
|
2405
|
+
export interface StoreSupplyChannelsChangedMessage {
|
|
2406
|
+
readonly type: 'StoreSupplyChannelsChanged';
|
|
2407
|
+
readonly id: string;
|
|
2408
|
+
readonly version: number;
|
|
2409
|
+
readonly createdAt: string;
|
|
2410
|
+
readonly lastModifiedAt: string;
|
|
2411
|
+
readonly lastModifiedBy?: LastModifiedBy;
|
|
2412
|
+
readonly createdBy?: CreatedBy;
|
|
2413
|
+
readonly sequenceNumber: number;
|
|
2414
|
+
readonly resource: Reference;
|
|
2415
|
+
readonly resourceVersion: number;
|
|
2416
|
+
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
|
|
2417
|
+
readonly addedSupplyChannels?: ChannelReference[];
|
|
2418
|
+
readonly removedSupplyChannels?: ChannelReference[];
|
|
2419
|
+
}
|
|
1789
2420
|
export interface UserProvidedIdentifiers {
|
|
1790
2421
|
readonly key?: string;
|
|
1791
2422
|
readonly externalId?: string;
|
|
@@ -1795,7 +2426,134 @@ export interface UserProvidedIdentifiers {
|
|
|
1795
2426
|
readonly slug?: LocalizedString;
|
|
1796
2427
|
readonly containerAndKey?: ContainerAndKey;
|
|
1797
2428
|
}
|
|
1798
|
-
export type MessagePayload = CategoryCreatedMessagePayload | CategorySlugChangedMessagePayload | CustomLineItemStateTransitionMessagePayload | CustomerAddressAddedMessagePayload | CustomerAddressChangedMessagePayload | CustomerAddressRemovedMessagePayload | CustomerCompanyNameSetMessagePayload | CustomerCreatedMessagePayload | CustomerDateOfBirthSetMessagePayload | CustomerDeletedMessagePayload | CustomerEmailChangedMessagePayload | CustomerEmailVerifiedMessagePayload | CustomerFirstNameSetMessagePayload | CustomerGroupSetMessagePayload | CustomerLastNameSetMessagePayload | CustomerPasswordUpdatedMessagePayload | CustomerTitleSetMessagePayload | DeliveryAddedMessagePayload | DeliveryAddressSetMessagePayload | DeliveryItemsUpdatedMessagePayload | DeliveryRemovedMessagePayload | InventoryEntryCreatedMessagePayload | InventoryEntryDeletedMessagePayload | InventoryEntryQuantitySetMessagePayload | LineItemStateTransitionMessagePayload | OrderBillingAddressSetMessagePayload | OrderCreatedMessagePayload | OrderCustomLineItemAddedMessagePayload | OrderCustomLineItemDiscountSetMessagePayload | OrderCustomLineItemQuantityChangedMessagePayload | OrderCustomLineItemRemovedMessagePayload | OrderCustomerEmailSetMessagePayload | OrderCustomerGroupSetMessagePayload | OrderCustomerSetMessagePayload | OrderDeletedMessagePayload | OrderDiscountCodeAddedMessagePayload | OrderDiscountCodeRemovedMessagePayload | OrderDiscountCodeStateSetMessagePayload | OrderEditAppliedMessagePayload | OrderImportedMessagePayload | OrderLineItemAddedMessagePayload | OrderLineItemDiscountSetMessagePayload | OrderLineItemDistributionChannelSetMessagePayload | OrderLineItemRemovedMessagePayload | OrderMessagePayload | OrderPaymentAddedMessagePayload | OrderPaymentStateChangedMessagePayload | OrderReturnShipmentStateChangedMessagePayload | OrderShipmentStateChangedMessagePayload | OrderShippingAddressSetMessagePayload | OrderShippingInfoSetMessagePayload | OrderShippingRateInputSetMessagePayload | OrderStateChangedMessagePayload | OrderStateTransitionMessagePayload | OrderStoreSetMessagePayload | ParcelAddedToDeliveryMessagePayload | ParcelItemsUpdatedMessagePayload | ParcelMeasurementsUpdatedMessagePayload | ParcelRemovedFromDeliveryMessagePayload | ParcelTrackingDataUpdatedMessagePayload | PaymentCreatedMessagePayload | PaymentInteractionAddedMessagePayload | PaymentStatusInterfaceCodeSetMessagePayload | PaymentStatusStateTransitionMessagePayload | PaymentTransactionAddedMessagePayload | PaymentTransactionStateChangedMessagePayload | ProductAddedToCategoryMessagePayload | ProductCreatedMessagePayload | ProductDeletedMessagePayload | ProductImageAddedMessagePayload | ProductPriceDiscountsSetMessagePayload | ProductPriceExternalDiscountSetMessagePayload | ProductPublishedMessagePayload | ProductRemovedFromCategoryMessagePayload | ProductRevertedStagedChangesMessagePayload | ProductSelectionCreatedMessagePayload | ProductSelectionDeletedMessagePayload | ProductSelectionProductAddedMessagePayload | ProductSelectionProductRemovedMessagePayload | ProductSelectionVariantSelectionChangedMessagePayload | ProductSlugChangedMessagePayload | ProductStateTransitionMessagePayload | ProductUnpublishedMessagePayload | ProductVariantAddedMessagePayload | ProductVariantDeletedMessagePayload | QuoteCreatedMessagePayload | QuoteDeletedMessagePayload | QuoteRequestCreatedMessagePayload | QuoteRequestDeletedMessagePayload | QuoteRequestStateChangedMessagePayload | QuoteRequestStateTransitionMessagePayload | QuoteStateChangedMessagePayload | QuoteStateTransitionMessagePayload | ReturnInfoAddedMessagePayload | ReturnInfoSetMessagePayload | ReviewCreatedMessagePayload | ReviewRatingSetMessagePayload | ReviewStateTransitionMessagePayload | ShoppingListStoreSetMessagePayload | StagedQuoteCreatedMessagePayload | StagedQuoteDeletedMessagePayload | StagedQuoteSellerCommentSetMessagePayload | StagedQuoteStateChangedMessagePayload | StagedQuoteStateTransitionMessagePayload | StagedQuoteValidToSetMessagePayload | StandalonePriceActiveChangedMessagePayload | StandalonePriceCreatedMessagePayload | StandalonePriceDeletedMessagePayload | StandalonePriceDiscountSetMessagePayload | StandalonePriceExternalDiscountSetMessagePayload | StandalonePriceStagedChangesAppliedMessagePayload | StandalonePriceValueChangedMessagePayload | StoreCreatedMessagePayload | StoreDeletedMessagePayload | StoreDistributionChannelsChangedMessagePayload | StoreLanguagesChangedMessagePayload | StoreNameSetMessagePayload | StoreProductSelectionsChangedMessagePayload;
|
|
2429
|
+
export type MessagePayload = AssociateRoleBuyerAssignableChangedMessagePayload | AssociateRoleCreatedMessagePayload | AssociateRoleDeletedMessagePayload | AssociateRoleNameChangedMessagePayload | AssociateRolePermissionAddedMessagePayload | AssociateRolePermissionRemovedMessagePayload | AssociateRolePermissionsSetMessagePayload | BusinessUnitAddressAddedMessagePayload | BusinessUnitAddressChangedMessagePayload | BusinessUnitAddressRemovedMessagePayload | BusinessUnitAssociateAddedMessagePayload | BusinessUnitAssociateChangedMessagePayload | BusinessUnitAssociateModeChangedMessagePayload | BusinessUnitAssociateRemovedMessagePayload | BusinessUnitAssociatesSetMessagePayload | BusinessUnitBillingAddressAddedMessagePayload | BusinessUnitBillingAddressRemovedMessagePayload | BusinessUnitContactEmailSetMessagePayload | BusinessUnitCreatedMessagePayload | BusinessUnitDefaultBillingAddressSetMessagePayload | BusinessUnitDefaultShippingAddressSetMessagePayload | BusinessUnitDeletedMessagePayload | BusinessUnitNameChangedMessagePayload | BusinessUnitParentUnitChangedMessagePayload | BusinessUnitShippingAddressAddedMessagePayload | BusinessUnitShippingAddressRemovedMessagePayload | BusinessUnitStatusChangedMessagePayload | BusinessUnitStoreAddedMessagePayload | BusinessUnitStoreModeChangedMessagePayload | BusinessUnitStoreRemovedMessagePayload | BusinessUnitStoresSetMessagePayload | CategoryCreatedMessagePayload | CategorySlugChangedMessagePayload | CustomLineItemStateTransitionMessagePayload | CustomerAddressAddedMessagePayload | CustomerAddressChangedMessagePayload | CustomerAddressRemovedMessagePayload | CustomerCompanyNameSetMessagePayload | CustomerCreatedMessagePayload | CustomerDateOfBirthSetMessagePayload | CustomerDeletedMessagePayload | CustomerEmailChangedMessagePayload | CustomerEmailVerifiedMessagePayload | CustomerFirstNameSetMessagePayload | CustomerGroupSetMessagePayload | CustomerLastNameSetMessagePayload | CustomerPasswordUpdatedMessagePayload | CustomerTitleSetMessagePayload | DeliveryAddedMessagePayload | DeliveryAddressSetMessagePayload | DeliveryItemsUpdatedMessagePayload | DeliveryRemovedMessagePayload | InventoryEntryCreatedMessagePayload | InventoryEntryDeletedMessagePayload | InventoryEntryQuantitySetMessagePayload | LineItemStateTransitionMessagePayload | OrderBillingAddressSetMessagePayload | OrderCreatedMessagePayload | OrderCustomLineItemAddedMessagePayload | OrderCustomLineItemDiscountSetMessagePayload | OrderCustomLineItemQuantityChangedMessagePayload | OrderCustomLineItemRemovedMessagePayload | OrderCustomerEmailSetMessagePayload | OrderCustomerGroupSetMessagePayload | OrderCustomerSetMessagePayload | OrderDeletedMessagePayload | OrderDiscountCodeAddedMessagePayload | OrderDiscountCodeRemovedMessagePayload | OrderDiscountCodeStateSetMessagePayload | OrderEditAppliedMessagePayload | OrderImportedMessagePayload | OrderLineItemAddedMessagePayload | OrderLineItemDiscountSetMessagePayload | OrderLineItemDistributionChannelSetMessagePayload | OrderLineItemRemovedMessagePayload | OrderMessagePayload | OrderPaymentAddedMessagePayload | OrderPaymentStateChangedMessagePayload | OrderPurchaseOrderNumberSetMessagePayload | OrderReturnShipmentStateChangedMessagePayload | OrderShipmentStateChangedMessagePayload | OrderShippingAddressSetMessagePayload | OrderShippingInfoSetMessagePayload | OrderShippingRateInputSetMessagePayload | OrderStateChangedMessagePayload | OrderStateTransitionMessagePayload | OrderStoreSetMessagePayload | ParcelAddedToDeliveryMessagePayload | ParcelItemsUpdatedMessagePayload | ParcelMeasurementsUpdatedMessagePayload | ParcelRemovedFromDeliveryMessagePayload | ParcelTrackingDataUpdatedMessagePayload | PaymentCreatedMessagePayload | PaymentInteractionAddedMessagePayload | PaymentStatusInterfaceCodeSetMessagePayload | PaymentStatusStateTransitionMessagePayload | PaymentTransactionAddedMessagePayload | PaymentTransactionStateChangedMessagePayload | ProductAddedToCategoryMessagePayload | ProductCreatedMessagePayload | ProductDeletedMessagePayload | ProductImageAddedMessagePayload | ProductPriceAddedMessagePayload | ProductPriceChangedMessagePayload | ProductPriceDiscountsSetMessagePayload | ProductPriceExternalDiscountSetMessagePayload | ProductPriceKeySetMessagePayload | ProductPriceModeSetMessagePayload | ProductPriceRemovedMessagePayload | ProductPricesSetMessagePayload | ProductPublishedMessagePayload | ProductRemovedFromCategoryMessagePayload | ProductRevertedStagedChangesMessagePayload | ProductSelectionCreatedMessagePayload | ProductSelectionDeletedMessagePayload | ProductSelectionProductAddedMessagePayload | ProductSelectionProductExcludedMessagePayload | ProductSelectionProductRemovedMessagePayload | ProductSelectionVariantExclusionChangedMessagePayload | ProductSelectionVariantSelectionChangedMessagePayload | ProductSlugChangedMessagePayload | ProductStateTransitionMessagePayload | ProductUnpublishedMessagePayload | ProductVariantAddedMessagePayload | ProductVariantDeletedMessagePayload | QuoteCreatedMessagePayload | QuoteDeletedMessagePayload | QuoteRequestCreatedMessagePayload | QuoteRequestDeletedMessagePayload | QuoteRequestStateChangedMessagePayload | QuoteRequestStateTransitionMessagePayload | QuoteStateChangedMessagePayload | QuoteStateTransitionMessagePayload | ReturnInfoAddedMessagePayload | ReturnInfoSetMessagePayload | ReviewCreatedMessagePayload | ReviewRatingSetMessagePayload | ReviewStateTransitionMessagePayload | ShoppingListStoreSetMessagePayload | StagedQuoteCreatedMessagePayload | StagedQuoteDeletedMessagePayload | StagedQuoteSellerCommentSetMessagePayload | StagedQuoteStateChangedMessagePayload | StagedQuoteStateTransitionMessagePayload | StagedQuoteValidToSetMessagePayload | StandalonePriceActiveChangedMessagePayload | StandalonePriceCreatedMessagePayload | StandalonePriceDeletedMessagePayload | StandalonePriceDiscountSetMessagePayload | StandalonePriceExternalDiscountSetMessagePayload | StandalonePriceKeySetMessagePayload | StandalonePriceStagedChangesAppliedMessagePayload | StandalonePriceValueChangedMessagePayload | StoreCountriesChangedMessagePayload | StoreCreatedMessagePayload | StoreDeletedMessagePayload | StoreDistributionChannelsChangedMessagePayload | StoreLanguagesChangedMessagePayload | StoreNameSetMessagePayload | StoreProductSelectionsChangedMessagePayload | StoreSupplyChannelsChangedMessagePayload;
|
|
2430
|
+
export interface AssociateRoleBuyerAssignableChangedMessagePayload {
|
|
2431
|
+
readonly type: 'AssociateRoleBuyerAssignableChanged';
|
|
2432
|
+
readonly buyerAssignable: boolean;
|
|
2433
|
+
}
|
|
2434
|
+
export interface AssociateRoleCreatedMessagePayload {
|
|
2435
|
+
readonly type: 'AssociateRoleCreated';
|
|
2436
|
+
readonly associateRole: AssociateRole;
|
|
2437
|
+
}
|
|
2438
|
+
export interface AssociateRoleDeletedMessagePayload {
|
|
2439
|
+
readonly type: 'AssociateRoleDeleted';
|
|
2440
|
+
}
|
|
2441
|
+
export interface AssociateRoleNameChangedMessagePayload {
|
|
2442
|
+
readonly type: 'AssociateRoleNameSet';
|
|
2443
|
+
readonly name: string;
|
|
2444
|
+
}
|
|
2445
|
+
export interface AssociateRolePermissionAddedMessagePayload {
|
|
2446
|
+
readonly type: 'AssociateRolePermissionAdded';
|
|
2447
|
+
readonly permission: Permission;
|
|
2448
|
+
}
|
|
2449
|
+
export interface AssociateRolePermissionRemovedMessagePayload {
|
|
2450
|
+
readonly type: 'AssociateRolePermissionRemoved';
|
|
2451
|
+
readonly permission: Permission;
|
|
2452
|
+
}
|
|
2453
|
+
export interface AssociateRolePermissionsSetMessagePayload {
|
|
2454
|
+
readonly type: 'AssociateRolePermissionsSet';
|
|
2455
|
+
readonly permissions: Permission[];
|
|
2456
|
+
}
|
|
2457
|
+
export interface BusinessUnitAddressAddedMessagePayload {
|
|
2458
|
+
readonly type: 'BusinessUnitAddressAdded';
|
|
2459
|
+
readonly address: Address;
|
|
2460
|
+
}
|
|
2461
|
+
export interface BusinessUnitAddressChangedMessagePayload {
|
|
2462
|
+
readonly type: 'BusinessUnitAddressChanged';
|
|
2463
|
+
readonly address: Address;
|
|
2464
|
+
}
|
|
2465
|
+
export interface BusinessUnitAddressRemovedMessagePayload {
|
|
2466
|
+
readonly type: 'BusinessUnitAddressRemoved';
|
|
2467
|
+
readonly address: Address;
|
|
2468
|
+
}
|
|
2469
|
+
export interface BusinessUnitAssociateAddedMessagePayload {
|
|
2470
|
+
readonly type: 'BusinessUnitAssociateAdded';
|
|
2471
|
+
readonly associate: Associate;
|
|
2472
|
+
}
|
|
2473
|
+
export interface BusinessUnitAssociateChangedMessagePayload {
|
|
2474
|
+
readonly type: 'BusinessUnitAssociateChanged';
|
|
2475
|
+
readonly associate: Associate;
|
|
2476
|
+
}
|
|
2477
|
+
export interface BusinessUnitAssociateModeChangedMessagePayload {
|
|
2478
|
+
readonly type: 'BusinessUnitAssociateModeChanged';
|
|
2479
|
+
readonly associateMode: BusinessUnitAssociateMode;
|
|
2480
|
+
readonly oldAssociateMode: BusinessUnitAssociateMode;
|
|
2481
|
+
}
|
|
2482
|
+
export interface BusinessUnitAssociateRemovedMessagePayload {
|
|
2483
|
+
readonly type: 'BusinessUnitAssociateRemoved';
|
|
2484
|
+
readonly associate: Associate;
|
|
2485
|
+
}
|
|
2486
|
+
export interface BusinessUnitAssociatesSetMessagePayload {
|
|
2487
|
+
readonly type: 'BusinessUnitAssociatesSet';
|
|
2488
|
+
readonly associates: Associate[];
|
|
2489
|
+
}
|
|
2490
|
+
export interface BusinessUnitBillingAddressAddedMessagePayload {
|
|
2491
|
+
readonly type: 'BusinessUnitBillingAddressAdded';
|
|
2492
|
+
readonly address: Address;
|
|
2493
|
+
}
|
|
2494
|
+
export interface BusinessUnitBillingAddressRemovedMessagePayload {
|
|
2495
|
+
readonly type: 'BusinessUnitBillingAddressRemoved';
|
|
2496
|
+
readonly address: Address;
|
|
2497
|
+
}
|
|
2498
|
+
export interface BusinessUnitContactEmailSetMessagePayload {
|
|
2499
|
+
readonly type: 'BusinessUnitContactEmailSet';
|
|
2500
|
+
readonly contactEmail?: string;
|
|
2501
|
+
}
|
|
2502
|
+
export interface BusinessUnitCreatedMessagePayload {
|
|
2503
|
+
readonly type: 'BusinessUnitCreated';
|
|
2504
|
+
readonly businessUnit: BusinessUnit;
|
|
2505
|
+
}
|
|
2506
|
+
export interface BusinessUnitDefaultBillingAddressSetMessagePayload {
|
|
2507
|
+
readonly type: 'BusinessUnitDefaultBillingAddressSet';
|
|
2508
|
+
readonly address?: Address;
|
|
2509
|
+
}
|
|
2510
|
+
export interface BusinessUnitDefaultShippingAddressSetMessagePayload {
|
|
2511
|
+
readonly type: 'BusinessUnitDefaultShippingAddressSet';
|
|
2512
|
+
readonly address?: Address;
|
|
2513
|
+
}
|
|
2514
|
+
export interface BusinessUnitDeletedMessagePayload {
|
|
2515
|
+
readonly type: 'BusinessUnitDeleted';
|
|
2516
|
+
}
|
|
2517
|
+
export interface BusinessUnitNameChangedMessagePayload {
|
|
2518
|
+
readonly type: 'BusinessUnitNameChanged';
|
|
2519
|
+
readonly name: string;
|
|
2520
|
+
}
|
|
2521
|
+
export interface BusinessUnitParentUnitChangedMessagePayload {
|
|
2522
|
+
readonly type: 'BusinessUnitParentUnitChanged';
|
|
2523
|
+
readonly oldParentUnit?: BusinessUnitKeyReference;
|
|
2524
|
+
readonly newParentUnit?: BusinessUnitKeyReference;
|
|
2525
|
+
}
|
|
2526
|
+
export interface BusinessUnitShippingAddressAddedMessagePayload {
|
|
2527
|
+
readonly type: 'BusinessUnitShippingAddressAdded';
|
|
2528
|
+
readonly address: Address;
|
|
2529
|
+
}
|
|
2530
|
+
export interface BusinessUnitShippingAddressRemovedMessagePayload {
|
|
2531
|
+
readonly type: 'BusinessUnitShippingAddressRemoved';
|
|
2532
|
+
readonly address: Address;
|
|
2533
|
+
}
|
|
2534
|
+
export interface BusinessUnitStatusChangedMessagePayload {
|
|
2535
|
+
readonly type: 'BusinessUnitStatusChanged';
|
|
2536
|
+
readonly active: BusinessUnitStatus;
|
|
2537
|
+
}
|
|
2538
|
+
export interface BusinessUnitStoreAddedMessagePayload {
|
|
2539
|
+
readonly type: 'BusinessUnitStoreAdded';
|
|
2540
|
+
readonly store: StoreKeyReference;
|
|
2541
|
+
}
|
|
2542
|
+
export interface BusinessUnitStoreModeChangedMessagePayload {
|
|
2543
|
+
readonly type: 'BusinessUnitStoreModeChanged';
|
|
2544
|
+
readonly stores: StoreKeyReference[];
|
|
2545
|
+
readonly storeMode: BusinessUnitStoreMode;
|
|
2546
|
+
readonly oldStores: StoreKeyReference[];
|
|
2547
|
+
readonly oldStoreMode: BusinessUnitStoreMode;
|
|
2548
|
+
}
|
|
2549
|
+
export interface BusinessUnitStoreRemovedMessagePayload {
|
|
2550
|
+
readonly type: 'BusinessUnitStoreRemoved';
|
|
2551
|
+
readonly store: StoreKeyReference;
|
|
2552
|
+
}
|
|
2553
|
+
export interface BusinessUnitStoresSetMessagePayload {
|
|
2554
|
+
readonly type: 'BusinessUnitStoresSet';
|
|
2555
|
+
readonly stores: StoreKeyReference[];
|
|
2556
|
+
}
|
|
1799
2557
|
export interface CategoryCreatedMessagePayload {
|
|
1800
2558
|
readonly type: 'CategoryCreated';
|
|
1801
2559
|
readonly category: Category;
|
|
@@ -1876,7 +2634,7 @@ export interface InventoryEntryQuantitySetMessagePayload {
|
|
|
1876
2634
|
readonly newAvailableQuantity: number;
|
|
1877
2635
|
readonly supplyChannel?: ChannelReference;
|
|
1878
2636
|
}
|
|
1879
|
-
export type OrderMessagePayload = CustomLineItemStateTransitionMessagePayload | DeliveryAddedMessagePayload | DeliveryAddressSetMessagePayload | DeliveryItemsUpdatedMessagePayload | DeliveryRemovedMessagePayload | LineItemStateTransitionMessagePayload | OrderBillingAddressSetMessagePayload | OrderCreatedMessagePayload | OrderCustomLineItemAddedMessagePayload | OrderCustomLineItemDiscountSetMessagePayload | OrderCustomLineItemQuantityChangedMessagePayload | OrderCustomLineItemRemovedMessagePayload | OrderCustomerEmailSetMessagePayload | OrderCustomerGroupSetMessagePayload | OrderCustomerSetMessagePayload | OrderDeletedMessagePayload | OrderDiscountCodeAddedMessagePayload | OrderDiscountCodeRemovedMessagePayload | OrderDiscountCodeStateSetMessagePayload | OrderEditAppliedMessagePayload | OrderImportedMessagePayload | OrderLineItemAddedMessagePayload | OrderLineItemDiscountSetMessagePayload | OrderLineItemDistributionChannelSetMessagePayload | OrderLineItemRemovedMessagePayload | OrderPaymentStateChangedMessagePayload | OrderReturnShipmentStateChangedMessagePayload | OrderShipmentStateChangedMessagePayload | OrderShippingAddressSetMessagePayload | OrderShippingInfoSetMessagePayload | OrderShippingRateInputSetMessagePayload | OrderStateChangedMessagePayload | OrderStateTransitionMessagePayload | OrderStoreSetMessagePayload | ParcelAddedToDeliveryMessagePayload | ParcelItemsUpdatedMessagePayload | ParcelMeasurementsUpdatedMessagePayload | ParcelRemovedFromDeliveryMessagePayload | ParcelTrackingDataUpdatedMessagePayload | ReturnInfoAddedMessagePayload | ReturnInfoSetMessagePayload;
|
|
2637
|
+
export type OrderMessagePayload = CustomLineItemStateTransitionMessagePayload | DeliveryAddedMessagePayload | DeliveryAddressSetMessagePayload | DeliveryItemsUpdatedMessagePayload | DeliveryRemovedMessagePayload | LineItemStateTransitionMessagePayload | OrderBillingAddressSetMessagePayload | OrderCreatedMessagePayload | OrderCustomLineItemAddedMessagePayload | OrderCustomLineItemDiscountSetMessagePayload | OrderCustomLineItemQuantityChangedMessagePayload | OrderCustomLineItemRemovedMessagePayload | OrderCustomerEmailSetMessagePayload | OrderCustomerGroupSetMessagePayload | OrderCustomerSetMessagePayload | OrderDeletedMessagePayload | OrderDiscountCodeAddedMessagePayload | OrderDiscountCodeRemovedMessagePayload | OrderDiscountCodeStateSetMessagePayload | OrderEditAppliedMessagePayload | OrderImportedMessagePayload | OrderLineItemAddedMessagePayload | OrderLineItemDiscountSetMessagePayload | OrderLineItemDistributionChannelSetMessagePayload | OrderLineItemRemovedMessagePayload | OrderPaymentStateChangedMessagePayload | OrderPurchaseOrderNumberSetMessagePayload | OrderReturnShipmentStateChangedMessagePayload | OrderShipmentStateChangedMessagePayload | OrderShippingAddressSetMessagePayload | OrderShippingInfoSetMessagePayload | OrderShippingRateInputSetMessagePayload | OrderStateChangedMessagePayload | OrderStateTransitionMessagePayload | OrderStoreSetMessagePayload | ParcelAddedToDeliveryMessagePayload | ParcelItemsUpdatedMessagePayload | ParcelMeasurementsUpdatedMessagePayload | ParcelRemovedFromDeliveryMessagePayload | ParcelTrackingDataUpdatedMessagePayload | ReturnInfoAddedMessagePayload | ReturnInfoSetMessagePayload;
|
|
1880
2638
|
export interface CustomLineItemStateTransitionMessagePayload {
|
|
1881
2639
|
readonly type: 'CustomLineItemStateTransition';
|
|
1882
2640
|
readonly customLineItemId: string;
|
|
@@ -1924,7 +2682,7 @@ export interface OrderBillingAddressSetMessagePayload {
|
|
|
1924
2682
|
}
|
|
1925
2683
|
export interface OrderCreatedMessagePayload {
|
|
1926
2684
|
readonly type: 'OrderCreated';
|
|
1927
|
-
readonly order:
|
|
2685
|
+
readonly order: _Order;
|
|
1928
2686
|
}
|
|
1929
2687
|
export interface OrderCustomLineItemAddedMessagePayload {
|
|
1930
2688
|
readonly type: 'OrderCustomLineItemAdded';
|
|
@@ -1966,7 +2724,7 @@ export interface OrderCustomerSetMessagePayload {
|
|
|
1966
2724
|
}
|
|
1967
2725
|
export interface OrderDeletedMessagePayload {
|
|
1968
2726
|
readonly type: 'OrderDeleted';
|
|
1969
|
-
readonly order:
|
|
2727
|
+
readonly order: _Order;
|
|
1970
2728
|
}
|
|
1971
2729
|
export interface OrderDiscountCodeAddedMessagePayload {
|
|
1972
2730
|
readonly type: 'OrderDiscountCodeAdded';
|
|
@@ -1989,7 +2747,7 @@ export interface OrderEditAppliedMessagePayload {
|
|
|
1989
2747
|
}
|
|
1990
2748
|
export interface OrderImportedMessagePayload {
|
|
1991
2749
|
readonly type: 'OrderImported';
|
|
1992
|
-
readonly order:
|
|
2750
|
+
readonly order: _Order;
|
|
1993
2751
|
}
|
|
1994
2752
|
export interface OrderLineItemAddedMessagePayload {
|
|
1995
2753
|
readonly type: 'OrderLineItemAdded';
|
|
@@ -2000,7 +2758,7 @@ export interface OrderLineItemDiscountSetMessagePayload {
|
|
|
2000
2758
|
readonly type: 'OrderLineItemDiscountSet';
|
|
2001
2759
|
readonly lineItemId: string;
|
|
2002
2760
|
readonly discountedPricePerQuantity: DiscountedLineItemPriceForQuantity[];
|
|
2003
|
-
readonly totalPrice:
|
|
2761
|
+
readonly totalPrice: _Money;
|
|
2004
2762
|
readonly taxedPrice?: TaxedItemPrice;
|
|
2005
2763
|
readonly taxedPricePortions: MethodTaxedPrice[];
|
|
2006
2764
|
}
|
|
@@ -2029,6 +2787,11 @@ export interface OrderPaymentStateChangedMessagePayload {
|
|
|
2029
2787
|
readonly paymentState: PaymentState;
|
|
2030
2788
|
readonly oldPaymentState?: PaymentState;
|
|
2031
2789
|
}
|
|
2790
|
+
export interface OrderPurchaseOrderNumberSetMessagePayload {
|
|
2791
|
+
readonly type: 'OrderPurchaseOrderNumberSet';
|
|
2792
|
+
readonly purchaseOrderNumber?: string;
|
|
2793
|
+
readonly oldPurchaseOrderNumber?: string;
|
|
2794
|
+
}
|
|
2032
2795
|
export interface OrderReturnShipmentStateChangedMessagePayload {
|
|
2033
2796
|
readonly type: 'OrderReturnShipmentStateChanged';
|
|
2034
2797
|
readonly returnItemId: string;
|
|
@@ -2150,6 +2913,20 @@ export interface ProductImageAddedMessagePayload {
|
|
|
2150
2913
|
readonly image: Image;
|
|
2151
2914
|
readonly staged: boolean;
|
|
2152
2915
|
}
|
|
2916
|
+
export interface ProductPriceAddedMessagePayload {
|
|
2917
|
+
readonly type: 'ProductPriceAdded';
|
|
2918
|
+
readonly variantId: number;
|
|
2919
|
+
readonly price: Price;
|
|
2920
|
+
readonly staged: boolean;
|
|
2921
|
+
}
|
|
2922
|
+
export interface ProductPriceChangedMessagePayload {
|
|
2923
|
+
readonly type: 'ProductPriceChanged';
|
|
2924
|
+
readonly variantId: number;
|
|
2925
|
+
readonly oldPrice: Price;
|
|
2926
|
+
readonly newPrice: Price;
|
|
2927
|
+
readonly staged: boolean;
|
|
2928
|
+
readonly oldStagedPrice?: Price;
|
|
2929
|
+
}
|
|
2153
2930
|
export interface ProductPriceDiscountsSetMessagePayload {
|
|
2154
2931
|
readonly type: 'ProductPriceDiscountsSet';
|
|
2155
2932
|
readonly updatedPrices: ProductPriceDiscountsSetUpdatedPrice[];
|
|
@@ -2163,6 +2940,30 @@ export interface ProductPriceExternalDiscountSetMessagePayload {
|
|
|
2163
2940
|
readonly discounted?: DiscountedPrice;
|
|
2164
2941
|
readonly staged: boolean;
|
|
2165
2942
|
}
|
|
2943
|
+
export interface ProductPriceKeySetMessagePayload {
|
|
2944
|
+
readonly type: 'ProductPriceKeySet';
|
|
2945
|
+
readonly variantId: number;
|
|
2946
|
+
readonly priceId?: string;
|
|
2947
|
+
readonly oldKey?: string;
|
|
2948
|
+
readonly key?: string;
|
|
2949
|
+
readonly staged: boolean;
|
|
2950
|
+
}
|
|
2951
|
+
export interface ProductPriceModeSetMessagePayload {
|
|
2952
|
+
readonly type: 'ProductPriceModeSet';
|
|
2953
|
+
readonly to: ProductPriceModeEnum;
|
|
2954
|
+
}
|
|
2955
|
+
export interface ProductPriceRemovedMessagePayload {
|
|
2956
|
+
readonly type: 'ProductPriceRemoved';
|
|
2957
|
+
readonly variantId: number;
|
|
2958
|
+
readonly price: Price;
|
|
2959
|
+
readonly staged: boolean;
|
|
2960
|
+
}
|
|
2961
|
+
export interface ProductPricesSetMessagePayload {
|
|
2962
|
+
readonly type: 'ProductPricesSet';
|
|
2963
|
+
readonly variantId: number;
|
|
2964
|
+
readonly prices: Price[];
|
|
2965
|
+
readonly staged: boolean;
|
|
2966
|
+
}
|
|
2166
2967
|
export interface ProductPublishedMessagePayload {
|
|
2167
2968
|
readonly type: 'ProductPublished';
|
|
2168
2969
|
readonly removedImageUrls: string[];
|
|
@@ -2180,7 +2981,7 @@ export interface ProductRevertedStagedChangesMessagePayload {
|
|
|
2180
2981
|
}
|
|
2181
2982
|
export interface ProductSelectionCreatedMessagePayload {
|
|
2182
2983
|
readonly type: 'ProductSelectionCreated';
|
|
2183
|
-
readonly productSelection:
|
|
2984
|
+
readonly productSelection: ProductSelection;
|
|
2184
2985
|
}
|
|
2185
2986
|
export interface ProductSelectionDeletedMessagePayload {
|
|
2186
2987
|
readonly type: 'ProductSelectionDeleted';
|
|
@@ -2190,10 +2991,21 @@ export interface ProductSelectionProductAddedMessagePayload {
|
|
|
2190
2991
|
readonly product: ProductReference;
|
|
2191
2992
|
readonly variantSelection: ProductVariantSelection;
|
|
2192
2993
|
}
|
|
2994
|
+
export interface ProductSelectionProductExcludedMessagePayload {
|
|
2995
|
+
readonly type: 'ProductSelectionProductExcluded';
|
|
2996
|
+
readonly product: ProductReference;
|
|
2997
|
+
readonly variantExclusion: ProductVariantExclusion;
|
|
2998
|
+
}
|
|
2193
2999
|
export interface ProductSelectionProductRemovedMessagePayload {
|
|
2194
3000
|
readonly type: 'ProductSelectionProductRemoved';
|
|
2195
3001
|
readonly product: ProductReference;
|
|
2196
3002
|
}
|
|
3003
|
+
export interface ProductSelectionVariantExclusionChangedMessagePayload {
|
|
3004
|
+
readonly type: 'ProductSelectionVariantExclusionChanged';
|
|
3005
|
+
readonly product: ProductReference;
|
|
3006
|
+
readonly oldVariantExclusion: ProductVariantExclusion;
|
|
3007
|
+
readonly newVariantExclusion: ProductVariantExclusion;
|
|
3008
|
+
}
|
|
2197
3009
|
export interface ProductSelectionVariantSelectionChangedMessagePayload {
|
|
2198
3010
|
readonly type: 'ProductSelectionVariantSelectionChanged';
|
|
2199
3011
|
readonly product: ProductReference;
|
|
@@ -2337,19 +3149,31 @@ export interface StandalonePriceExternalDiscountSetMessagePayload {
|
|
|
2337
3149
|
readonly type: 'StandalonePriceExternalDiscountSet';
|
|
2338
3150
|
readonly discounted?: DiscountedPrice;
|
|
2339
3151
|
}
|
|
3152
|
+
export interface StandalonePriceKeySetMessagePayload {
|
|
3153
|
+
readonly type: 'StandalonePriceKeySet';
|
|
3154
|
+
readonly key?: string;
|
|
3155
|
+
readonly oldKey?: string;
|
|
3156
|
+
}
|
|
2340
3157
|
export interface StandalonePriceStagedChangesAppliedMessagePayload {
|
|
2341
3158
|
readonly type: 'StandalonePriceStagedChangesApplied';
|
|
2342
3159
|
readonly stagedChanges: StagedStandalonePrice;
|
|
2343
3160
|
}
|
|
2344
3161
|
export interface StandalonePriceValueChangedMessagePayload {
|
|
2345
3162
|
readonly type: 'StandalonePriceValueChanged';
|
|
2346
|
-
readonly value:
|
|
3163
|
+
readonly value: _Money;
|
|
2347
3164
|
readonly staged: boolean;
|
|
3165
|
+
readonly oldValue?: _Money;
|
|
3166
|
+
}
|
|
3167
|
+
export interface StoreCountriesChangedMessagePayload {
|
|
3168
|
+
readonly type: 'StoreCountriesChanged';
|
|
3169
|
+
readonly addedCountries?: StoreCountry[];
|
|
3170
|
+
readonly removedCountries?: StoreCountry[];
|
|
2348
3171
|
}
|
|
2349
3172
|
export interface StoreCreatedMessagePayload {
|
|
2350
3173
|
readonly type: 'StoreCreated';
|
|
2351
3174
|
readonly name?: LocalizedString;
|
|
2352
3175
|
readonly languages?: string[];
|
|
3176
|
+
readonly countries?: StoreCountry[];
|
|
2353
3177
|
readonly distributionChannels: ChannelReference[];
|
|
2354
3178
|
readonly supplyChannels: ChannelReference[];
|
|
2355
3179
|
readonly productSelections: ProductSelectionSetting[];
|
|
@@ -2379,3 +3203,8 @@ export interface StoreProductSelectionsChangedMessagePayload {
|
|
|
2379
3203
|
readonly removedProductSelections?: ProductSelectionSetting[];
|
|
2380
3204
|
readonly updatedProductSelections?: ProductSelectionSetting[];
|
|
2381
3205
|
}
|
|
3206
|
+
export interface StoreSupplyChannelsChangedMessagePayload {
|
|
3207
|
+
readonly type: 'StoreSupplyChannelsChanged';
|
|
3208
|
+
readonly addedSupplyChannels?: ChannelReference[];
|
|
3209
|
+
readonly removedSupplyChannels?: ChannelReference[];
|
|
3210
|
+
}
|