@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.
Files changed (42) hide show
  1. package/dist/ge-commercetools-utils-browser.cjs.js +1 -1
  2. package/dist/ge-commercetools-utils-browser.cjs.js.map +1 -1
  3. package/dist/ge-commercetools-utils-browser.esm.js +1 -1
  4. package/dist/ge-commercetools-utils-browser.esm.js.map +1 -1
  5. package/dist/ge-commercetools-utils-node.cjs.js +1 -1
  6. package/dist/ge-commercetools-utils-node.cjs.js.map +1 -1
  7. package/dist/ge-commercetools-utils-node.esm.js +1 -1
  8. package/dist/typings/models/associate-role.d.ts +79 -0
  9. package/dist/typings/models/attribute-group.d.ts +68 -0
  10. package/dist/typings/models/business-unit.d.ts +272 -0
  11. package/dist/typings/models/cart-discount.d.ts +2 -2
  12. package/dist/typings/models/cart.d.ts +133 -115
  13. package/dist/typings/models/channel.d.ts +4 -4
  14. package/dist/typings/models/common.d.ts +49 -40
  15. package/dist/typings/models/customer.d.ts +16 -13
  16. package/dist/typings/models/error.d.ts +451 -18
  17. package/dist/typings/models/extension.d.ts +7 -3
  18. package/dist/typings/models/graph-ql.d.ts +3 -1
  19. package/dist/typings/models/index.d.ts +13 -6
  20. package/dist/typings/models/me.d.ts +179 -37
  21. package/dist/typings/models/message.d.ts +849 -20
  22. package/dist/typings/models/order-edit.d.ts +22 -16
  23. package/dist/typings/models/order.d.ts +124 -25
  24. package/dist/typings/models/payment.d.ts +19 -14
  25. package/dist/typings/models/product-selection.d.ts +39 -6
  26. package/dist/typings/models/product-type.d.ts +4 -4
  27. package/dist/typings/models/product.d.ts +13 -5
  28. package/dist/typings/models/project.d.ts +18 -3
  29. package/dist/typings/models/quote-request.d.ts +5 -1
  30. package/dist/typings/models/quote.d.ts +8 -3
  31. package/dist/typings/models/scalar-types.d.ts +0 -1
  32. package/dist/typings/models/shipping-method.d.ts +7 -7
  33. package/dist/typings/models/shopping-list.d.ts +22 -22
  34. package/dist/typings/models/staged-quote.d.ts +5 -1
  35. package/dist/typings/models/standalone-price.d.ts +9 -5
  36. package/dist/typings/models/state.d.ts +2 -2
  37. package/dist/typings/models/store-country.d.ts +3 -0
  38. package/dist/typings/models/store.d.ts +16 -1
  39. package/dist/typings/models/subscription.d.ts +27 -14
  40. package/dist/typings/models/tax-category.d.ts +6 -2
  41. package/dist/typings/models/type.d.ts +3 -3
  42. package/package.json +19 -19
@@ -1,36 +1,61 @@
1
- import { CartReference, CartResourceIdentifier, ExternalLineItemTotalPrice, ExternalTaxRateDraft, InventoryMode, ItemShippingDetailsDraft, ItemShippingTarget, TaxMode } from './cart';
1
+ import { AssociateDraft, AssociateRoleAssignmentDraft, BusinessUnitResourceIdentifier, BusinessUnitUpdateAction } from './business-unit';
2
+ import { CartReference, ExternalLineItemTotalPrice, ExternalTaxRateDraft, InventoryMode, ItemShippingDetailsDraft, ItemShippingTarget, TaxMode } from './cart';
2
3
  import { ChannelResourceIdentifier } from './channel';
3
- import { BaseAddress, LocalizedString, Money, TypedMoney } from './common';
4
- import { CustomerReference } from './customer';
4
+ import { BaseAddress, CentPrecisionMoney, LocalizedString, _BaseAddress, _Money } from './common';
5
+ import { CustomerReference, CustomerResourceIdentifier } from './customer';
5
6
  import { DiscountCodeReference } from './discount-code';
6
7
  import { OrderReference } from './order';
7
8
  import { PaymentMethodInfo, PaymentResourceIdentifier, Transaction, TransactionDraft, TransactionType } from './payment';
8
9
  import { ShippingMethodResourceIdentifier } from './shipping-method';
9
10
  import { ShoppingListLineItemDraft, TextLineItemDraft } from './shopping-list';
10
- import { StoreKeyReference, StoreResourceIdentifier } from './store';
11
+ import { StoreResourceIdentifier } from './store';
11
12
  import { CustomFields, CustomFieldsDraft, FieldContainer, TypeResourceIdentifier } from './type';
13
+ export interface MyBusinessUnitAssociateDraft {
14
+ readonly version: number;
15
+ readonly customer: MyCustomerDraft;
16
+ readonly associateRoleAssignments: AssociateRoleAssignmentDraft[];
17
+ }
18
+ export type MyBusinessUnitDraft = MyCompanyDraft | MyDivisionDraft;
19
+ export interface MyBusinessUnitUpdate {
20
+ readonly version: number;
21
+ readonly actions: BusinessUnitUpdateAction[];
22
+ }
23
+ export type MyBusinessUnitUpdateAction = MyBusinessUnitAddAddressAction | MyBusinessUnitAddBillingAddressIdAction | MyBusinessUnitAddShippingAddressIdAction | MyBusinessUnitChangeAddressAction | MyBusinessUnitChangeAssociateAction | MyBusinessUnitChangeNameAction | MyBusinessUnitChangeParentUnitAction | MyBusinessUnitRemoveAddressAction | MyBusinessUnitRemoveAssociateAction | MyBusinessUnitRemoveBillingAddressIdAction | MyBusinessUnitRemoveShippingAddressIdAction | MyBusinessUnitSetAddressCustomFieldAction | MyBusinessUnitSetAddressCustomTypeAction | MyBusinessUnitSetContactEmailAction | MyBusinessUnitSetCustomFieldAction | MyBusinessUnitSetCustomTypeAction | MyBusinessUnitSetDefaultBillingAddressAction | MyBusinessUnitSetDefaultShippingAddressAction;
12
24
  export interface MyCartDraft {
13
25
  readonly currency: string;
14
26
  readonly customerEmail?: string;
15
- readonly country?: string;
16
- readonly inventoryMode?: InventoryMode;
27
+ readonly businessUnit?: BusinessUnitResourceIdentifier;
28
+ readonly store?: StoreResourceIdentifier;
17
29
  readonly lineItems?: MyLineItemDraft[];
18
- readonly shippingAddress?: BaseAddress;
19
- readonly billingAddress?: BaseAddress;
20
- readonly shippingMethod?: ShippingMethodResourceIdentifier;
21
- readonly custom?: CustomFieldsDraft;
22
- readonly locale?: string;
23
30
  readonly taxMode?: TaxMode;
24
- readonly deleteDaysAfterLastModification?: number;
31
+ readonly inventoryMode?: InventoryMode;
32
+ readonly billingAddress?: _BaseAddress;
33
+ readonly shippingAddress?: _BaseAddress;
34
+ readonly shippingMethod?: ShippingMethodResourceIdentifier;
25
35
  readonly itemShippingAddresses?: BaseAddress[];
26
- readonly store?: StoreKeyReference;
27
36
  readonly discountCodes?: string[];
37
+ readonly country?: string;
38
+ readonly locale?: string;
39
+ readonly deleteDaysAfterLastModification?: number;
40
+ readonly custom?: CustomFieldsDraft;
28
41
  }
29
42
  export interface MyCartUpdate {
30
43
  readonly version: number;
31
44
  readonly actions: MyCartUpdateAction[];
32
45
  }
33
- export type MyCartUpdateAction = MyCartAddDiscountCodeAction | MyCartAddItemShippingAddressAction | MyCartAddLineItemAction | MyCartAddPaymentAction | MyCartApplyDeltaToLineItemShippingDetailsTargetsAction | MyCartChangeLineItemQuantityAction | MyCartChangeTaxModeAction | MyCartRecalculateAction | MyCartRemoveDiscountCodeAction | MyCartRemoveItemShippingAddressAction | MyCartRemoveLineItemAction | MyCartRemovePaymentAction | MyCartSetBillingAddressAction | MyCartSetCountryAction | MyCartSetCustomFieldAction | MyCartSetCustomTypeAction | MyCartSetCustomerEmailAction | MyCartSetDeleteDaysAfterLastModificationAction | MyCartSetLineItemCustomFieldAction | MyCartSetLineItemCustomTypeAction | MyCartSetLineItemDistributionChannelAction | MyCartSetLineItemShippingDetailsAction | MyCartSetLineItemSupplyChannelAction | MyCartSetLocaleAction | MyCartSetShippingAddressAction | MyCartSetShippingMethodAction | MyCartUpdateItemShippingAddressAction;
46
+ export type MyCartUpdateAction = MyCartAddDiscountCodeAction | MyCartAddItemShippingAddressAction | MyCartAddLineItemAction | MyCartAddPaymentAction | MyCartApplyDeltaToLineItemShippingDetailsTargetsAction | MyCartChangeLineItemQuantityAction | MyCartChangeTaxModeAction | MyCartRecalculateAction | MyCartRemoveDiscountCodeAction | MyCartRemoveItemShippingAddressAction | MyCartRemoveLineItemAction | MyCartRemovePaymentAction | MyCartSetBillingAddressAction | MyCartSetBusinessUnitAction | MyCartSetCountryAction | MyCartSetCustomFieldAction | MyCartSetCustomTypeAction | MyCartSetCustomerEmailAction | MyCartSetDeleteDaysAfterLastModificationAction | MyCartSetLineItemCustomFieldAction | MyCartSetLineItemCustomTypeAction | MyCartSetLineItemDistributionChannelAction | MyCartSetLineItemShippingDetailsAction | MyCartSetLineItemSupplyChannelAction | MyCartSetLocaleAction | MyCartSetShippingAddressAction | MyCartSetShippingMethodAction | MyCartUpdateItemShippingAddressAction;
47
+ export interface MyCompanyDraft {
48
+ readonly unitType: 'Company';
49
+ readonly key: string;
50
+ readonly name: string;
51
+ readonly contactEmail?: string;
52
+ readonly custom?: CustomFields;
53
+ readonly addresses?: BaseAddress[];
54
+ readonly shippingAddresses?: number[];
55
+ readonly defaultShippingAddress?: number;
56
+ readonly billingAddresses?: number[];
57
+ readonly defaultBillingAddress?: number;
58
+ }
34
59
  export interface MyCustomerDraft {
35
60
  readonly email: string;
36
61
  readonly password: string;
@@ -38,6 +63,7 @@ export interface MyCustomerDraft {
38
63
  readonly lastName?: string;
39
64
  readonly middleName?: string;
40
65
  readonly title?: string;
66
+ readonly salutation?: string;
41
67
  readonly dateOfBirth?: string;
42
68
  readonly companyName?: string;
43
69
  readonly vatId?: string;
@@ -53,33 +79,51 @@ export interface MyCustomerUpdate {
53
79
  readonly actions: MyCustomerUpdateAction[];
54
80
  }
55
81
  export type MyCustomerUpdateAction = MyCustomerAddAddressAction | MyCustomerAddBillingAddressIdAction | MyCustomerAddShippingAddressIdAction | MyCustomerChangeAddressAction | MyCustomerChangeEmailAction | MyCustomerRemoveAddressAction | MyCustomerRemoveBillingAddressIdAction | MyCustomerRemoveShippingAddressIdAction | MyCustomerSetCompanyNameAction | MyCustomerSetCustomFieldAction | MyCustomerSetCustomTypeAction | MyCustomerSetDateOfBirthAction | MyCustomerSetDefaultBillingAddressAction | MyCustomerSetDefaultShippingAddressAction | MyCustomerSetFirstNameAction | MyCustomerSetLastNameAction | MyCustomerSetLocaleAction | MyCustomerSetMiddleNameAction | MyCustomerSetSalutationAction | MyCustomerSetTitleAction | MyCustomerSetVatIdAction;
82
+ export interface MyDivisionDraft {
83
+ readonly unitType: 'Division';
84
+ readonly key: string;
85
+ readonly name: string;
86
+ readonly contactEmail?: string;
87
+ readonly custom?: CustomFields;
88
+ readonly addresses?: BaseAddress[];
89
+ readonly shippingAddresses?: number[];
90
+ readonly defaultShippingAddress?: number;
91
+ readonly billingAddresses?: number[];
92
+ readonly defaultBillingAddress?: number;
93
+ readonly parentUnit: BusinessUnitResourceIdentifier;
94
+ }
56
95
  export interface MyLineItemDraft {
57
96
  readonly productId?: string;
58
97
  readonly variantId?: number;
59
- readonly quantity: number;
98
+ readonly sku?: string;
99
+ readonly quantity?: number;
60
100
  readonly addedAt?: string;
61
101
  readonly supplyChannel?: ChannelResourceIdentifier;
62
102
  readonly distributionChannel?: ChannelResourceIdentifier;
63
- readonly custom?: CustomFieldsDraft;
64
103
  readonly shippingDetails?: ItemShippingDetailsDraft;
65
- readonly sku?: string;
104
+ readonly custom?: CustomFieldsDraft;
66
105
  }
67
106
  export interface MyOrderFromCartDraft {
68
107
  readonly id: string;
69
108
  readonly version: number;
70
109
  }
110
+ export interface MyOrderFromQuoteDraft {
111
+ readonly id: string;
112
+ readonly version: number;
113
+ readonly quoteStateToAccepted?: boolean;
114
+ }
71
115
  export interface MyPayment {
72
116
  readonly id: string;
73
117
  readonly version: number;
74
118
  readonly customer?: CustomerReference;
75
119
  readonly anonymousId?: string;
76
- readonly amountPlanned: TypedMoney;
120
+ readonly amountPlanned: CentPrecisionMoney;
77
121
  readonly paymentMethodInfo: PaymentMethodInfo;
78
122
  readonly transactions: Transaction[];
79
123
  readonly custom?: CustomFields;
80
124
  }
81
125
  export interface MyPaymentDraft {
82
- readonly amountPlanned: Money;
126
+ readonly amountPlanned: _Money;
83
127
  readonly paymentMethodInfo?: PaymentMethodInfo;
84
128
  readonly custom?: CustomFieldsDraft;
85
129
  readonly transaction?: MyTransactionDraft;
@@ -97,8 +141,8 @@ export interface MyPaymentUpdate {
97
141
  }
98
142
  export type MyPaymentUpdateAction = MyPaymentAddTransactionAction | MyPaymentChangeAmountPlannedAction | MyPaymentSetCustomFieldAction | MyPaymentSetMethodInfoInterfaceAction | MyPaymentSetMethodInfoMethodAction | MyPaymentSetMethodInfoNameAction | MyPaymentSetTransactionCustomFieldAction;
99
143
  export interface MyQuoteRequestDraft {
100
- readonly cart: CartResourceIdentifier;
101
- readonly version: number;
144
+ readonly cartId: string;
145
+ readonly cartVersion: number;
102
146
  readonly comment: string;
103
147
  }
104
148
  export interface MyQuoteRequestUpdate {
@@ -106,6 +150,12 @@ export interface MyQuoteRequestUpdate {
106
150
  readonly actions: MyQuoteRequestUpdateAction[];
107
151
  }
108
152
  export type MyQuoteRequestUpdateAction = MyQuoteRequestCancelAction;
153
+ export type MyQuoteState = 'Accepted' | 'Declined' | string;
154
+ export interface MyQuoteUpdate {
155
+ readonly version: number;
156
+ readonly actions: MyQuoteUpdateAction[];
157
+ }
158
+ export type MyQuoteUpdateAction = MyQuoteChangeMyQuoteStateAction;
109
159
  export interface MyShoppingListDraft {
110
160
  readonly name: LocalizedString;
111
161
  readonly description?: LocalizedString;
@@ -123,35 +173,119 @@ export type MyShoppingListUpdateAction = MyShoppingListAddLineItemAction | MySho
123
173
  export interface MyTransactionDraft {
124
174
  readonly timestamp?: string;
125
175
  readonly type: TransactionType;
126
- readonly amount: Money;
176
+ readonly amount: _Money;
127
177
  readonly interactionId?: string;
128
178
  readonly custom?: CustomFieldsDraft;
129
179
  }
130
180
  export interface ReplicaMyCartDraft {
131
181
  readonly reference: CartReference | OrderReference;
132
182
  }
183
+ export interface MyBusinessUnitAddAddressAction {
184
+ readonly action: 'addAddress';
185
+ readonly address: _BaseAddress;
186
+ }
187
+ export interface MyBusinessUnitAddBillingAddressIdAction {
188
+ readonly action: 'addBillingAddressId';
189
+ readonly addressId?: string;
190
+ readonly addressKey?: string;
191
+ }
192
+ export interface MyBusinessUnitAddShippingAddressIdAction {
193
+ readonly action: 'addShippingAddressId';
194
+ readonly addressId?: string;
195
+ readonly addressKey?: string;
196
+ }
197
+ export interface MyBusinessUnitChangeAddressAction {
198
+ readonly action: 'changeAddress';
199
+ readonly addressId?: string;
200
+ readonly addressKey?: string;
201
+ readonly address: _BaseAddress;
202
+ }
203
+ export interface MyBusinessUnitChangeAssociateAction {
204
+ readonly action: 'changeAssociate';
205
+ readonly associate: AssociateDraft;
206
+ }
207
+ export interface MyBusinessUnitChangeNameAction {
208
+ readonly action: 'changeName';
209
+ readonly name: string;
210
+ }
211
+ export interface MyBusinessUnitChangeParentUnitAction {
212
+ readonly action: 'changeParentUnit';
213
+ readonly parentUnit: BusinessUnitResourceIdentifier;
214
+ }
215
+ export interface MyBusinessUnitRemoveAddressAction {
216
+ readonly action: 'removeAddress';
217
+ readonly addressId?: string;
218
+ readonly addressKey?: string;
219
+ }
220
+ export interface MyBusinessUnitRemoveAssociateAction {
221
+ readonly action: 'removeAssociate';
222
+ readonly customer: CustomerResourceIdentifier;
223
+ }
224
+ export interface MyBusinessUnitRemoveBillingAddressIdAction {
225
+ readonly action: 'removeBillingAddressId';
226
+ readonly addressId?: string;
227
+ readonly addressKey?: string;
228
+ }
229
+ export interface MyBusinessUnitRemoveShippingAddressIdAction {
230
+ readonly action: 'removeShippingAddressId';
231
+ readonly addressId?: string;
232
+ readonly addressKey?: string;
233
+ }
234
+ export interface MyBusinessUnitSetAddressCustomFieldAction {
235
+ readonly action: 'setAddressCustomField';
236
+ readonly addressId: string;
237
+ readonly name: string;
238
+ readonly value?: any;
239
+ }
240
+ export interface MyBusinessUnitSetAddressCustomTypeAction {
241
+ readonly action: 'setAddressCustomType';
242
+ readonly type?: TypeResourceIdentifier;
243
+ readonly fields?: FieldContainer;
244
+ readonly addressId: string;
245
+ }
246
+ export interface MyBusinessUnitSetContactEmailAction {
247
+ readonly action: 'setContactEmail';
248
+ readonly contactEmail?: string;
249
+ }
250
+ export interface MyBusinessUnitSetCustomFieldAction {
251
+ readonly action: 'setCustomField';
252
+ readonly name: string;
253
+ readonly value?: any;
254
+ }
255
+ export interface MyBusinessUnitSetCustomTypeAction {
256
+ readonly action: 'setCustomType';
257
+ readonly type?: TypeResourceIdentifier;
258
+ readonly fields?: FieldContainer;
259
+ }
260
+ export interface MyBusinessUnitSetDefaultBillingAddressAction {
261
+ readonly action: 'setDefaultBillingAddress';
262
+ readonly addressId?: string;
263
+ readonly addressKey?: string;
264
+ }
265
+ export interface MyBusinessUnitSetDefaultShippingAddressAction {
266
+ readonly action: 'setDefaultShippingAddress';
267
+ readonly addressId?: string;
268
+ readonly addressKey?: string;
269
+ }
133
270
  export interface MyCartAddDiscountCodeAction {
134
271
  readonly action: 'addDiscountCode';
135
272
  readonly code: string;
136
273
  }
137
274
  export interface MyCartAddItemShippingAddressAction {
138
275
  readonly action: 'addItemShippingAddress';
139
- readonly address: BaseAddress;
276
+ readonly address: _BaseAddress;
140
277
  }
141
278
  export interface MyCartAddLineItemAction {
142
279
  readonly action: 'addLineItem';
143
- readonly custom?: CustomFieldsDraft;
144
- readonly distributionChannel?: ChannelResourceIdentifier;
145
- readonly externalTaxRate?: ExternalTaxRateDraft;
146
280
  readonly productId?: string;
147
281
  readonly variantId?: number;
148
282
  readonly sku?: string;
149
283
  readonly quantity?: number;
284
+ readonly addedAt?: string;
285
+ readonly distributionChannel?: ChannelResourceIdentifier;
150
286
  readonly supplyChannel?: ChannelResourceIdentifier;
151
- readonly externalPrice?: Money;
152
- readonly externalTotalPrice?: ExternalLineItemTotalPrice;
153
287
  readonly shippingDetails?: ItemShippingDetailsDraft;
154
- readonly addedAt?: string;
288
+ readonly custom?: CustomFieldsDraft;
155
289
  }
156
290
  export interface MyCartAddPaymentAction {
157
291
  readonly action: 'addPayment';
@@ -166,7 +300,7 @@ export interface MyCartChangeLineItemQuantityAction {
166
300
  readonly action: 'changeLineItemQuantity';
167
301
  readonly lineItemId: string;
168
302
  readonly quantity: number;
169
- readonly externalPrice?: Money;
303
+ readonly externalPrice?: _Money;
170
304
  readonly externalTotalPrice?: ExternalLineItemTotalPrice;
171
305
  }
172
306
  export interface MyCartChangeTaxModeAction {
@@ -189,7 +323,7 @@ export interface MyCartRemoveLineItemAction {
189
323
  readonly action: 'removeLineItem';
190
324
  readonly lineItemId: string;
191
325
  readonly quantity?: number;
192
- readonly externalPrice?: Money;
326
+ readonly externalPrice?: _Money;
193
327
  readonly externalTotalPrice?: ExternalLineItemTotalPrice;
194
328
  readonly shippingDetailsToRemove?: ItemShippingDetailsDraft;
195
329
  }
@@ -199,7 +333,11 @@ export interface MyCartRemovePaymentAction {
199
333
  }
200
334
  export interface MyCartSetBillingAddressAction {
201
335
  readonly action: 'setBillingAddress';
202
- readonly address?: BaseAddress;
336
+ readonly address?: _BaseAddress;
337
+ }
338
+ export interface MyCartSetBusinessUnitAction {
339
+ readonly action: 'setBusinessUnit';
340
+ readonly businessUnit: BusinessUnitResourceIdentifier;
203
341
  }
204
342
  export interface MyCartSetCountryAction {
205
343
  readonly action: 'setCountry';
@@ -256,7 +394,7 @@ export interface MyCartSetLocaleAction {
256
394
  }
257
395
  export interface MyCartSetShippingAddressAction {
258
396
  readonly action: 'setShippingAddress';
259
- readonly address?: BaseAddress;
397
+ readonly address?: _BaseAddress;
260
398
  }
261
399
  export interface MyCartSetShippingMethodAction {
262
400
  readonly action: 'setShippingMethod';
@@ -265,11 +403,11 @@ export interface MyCartSetShippingMethodAction {
265
403
  }
266
404
  export interface MyCartUpdateItemShippingAddressAction {
267
405
  readonly action: 'updateItemShippingAddress';
268
- readonly address: BaseAddress;
406
+ readonly address: _BaseAddress;
269
407
  }
270
408
  export interface MyCustomerAddAddressAction {
271
409
  readonly action: 'addAddress';
272
- readonly address: BaseAddress;
410
+ readonly address: _BaseAddress;
273
411
  }
274
412
  export interface MyCustomerAddBillingAddressIdAction {
275
413
  readonly action: 'addBillingAddressId';
@@ -285,7 +423,7 @@ export interface MyCustomerChangeAddressAction {
285
423
  readonly action: 'changeAddress';
286
424
  readonly addressId?: string;
287
425
  readonly addressKey?: string;
288
- readonly address: BaseAddress;
426
+ readonly address: _BaseAddress;
289
427
  }
290
428
  export interface MyCustomerChangeEmailAction {
291
429
  readonly action: 'changeEmail';
@@ -368,7 +506,7 @@ export interface MyPaymentAddTransactionAction {
368
506
  }
369
507
  export interface MyPaymentChangeAmountPlannedAction {
370
508
  readonly action: 'changeAmountPlanned';
371
- readonly amount: Money;
509
+ readonly amount: _Money;
372
510
  }
373
511
  export interface MyPaymentSetCustomFieldAction {
374
512
  readonly action: 'setCustomField';
@@ -392,6 +530,10 @@ export interface MyPaymentSetTransactionCustomFieldAction {
392
530
  readonly name: string;
393
531
  readonly value?: any;
394
532
  }
533
+ export interface MyQuoteChangeMyQuoteStateAction {
534
+ readonly action: 'changeMyQuoteState';
535
+ readonly quoteState: MyQuoteState;
536
+ }
395
537
  export interface MyQuoteRequestCancelAction {
396
538
  readonly action: 'cancelQuoteRequest';
397
539
  }