@gradientedge/commercetools-utils 6.6.0 → 6.8.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/cjs/api/CommercetoolsApi.d.ts +2 -4
- package/dist/cjs/api/CommercetoolsApi.d.ts.map +1 -1
- package/dist/cjs/api/CommercetoolsApi.js.map +1 -1
- package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/cjs/types/models/business-unit.d.ts +18 -12
- package/dist/cjs/types/models/business-unit.d.ts.map +1 -1
- package/dist/cjs/types/models/cart-discount.d.ts +44 -10
- package/dist/cjs/types/models/cart-discount.d.ts.map +1 -1
- package/dist/cjs/types/models/cart-discount.js.map +1 -1
- package/dist/cjs/types/models/cart.d.ts +131 -103
- package/dist/cjs/types/models/cart.d.ts.map +1 -1
- package/dist/cjs/types/models/cart.js +5 -1
- package/dist/cjs/types/models/cart.js.map +1 -1
- package/dist/cjs/types/models/common.d.ts +19 -10
- package/dist/cjs/types/models/common.d.ts.map +1 -1
- package/dist/cjs/types/models/common.js +4 -0
- package/dist/cjs/types/models/common.js.map +1 -1
- package/dist/cjs/types/models/customer.d.ts +37 -13
- package/dist/cjs/types/models/customer.d.ts.map +1 -1
- package/dist/cjs/types/models/discount-group.d.ts +252 -0
- package/dist/cjs/types/models/discount-group.d.ts.map +1 -0
- package/dist/cjs/types/models/discount-group.js +8 -0
- package/dist/cjs/types/models/discount-group.js.map +1 -0
- package/dist/cjs/types/models/error.d.ts +68 -4
- package/dist/cjs/types/models/error.d.ts.map +1 -1
- package/dist/cjs/types/models/event.d.ts +405 -58
- package/dist/cjs/types/models/event.d.ts.map +1 -1
- package/dist/cjs/types/models/extension.d.ts +2 -1
- package/dist/cjs/types/models/extension.d.ts.map +1 -1
- package/dist/cjs/types/models/extension.js +1 -0
- package/dist/cjs/types/models/extension.js.map +1 -1
- package/dist/cjs/types/models/index.d.ts +4 -3
- package/dist/cjs/types/models/index.d.ts.map +1 -1
- package/dist/cjs/types/models/index.js +4 -3
- package/dist/cjs/types/models/index.js.map +1 -1
- package/dist/cjs/types/models/me.d.ts +135 -10
- package/dist/cjs/types/models/me.d.ts.map +1 -1
- package/dist/cjs/types/models/me.js.map +1 -1
- package/dist/cjs/types/models/message.d.ts +7118 -3267
- package/dist/cjs/types/models/message.d.ts.map +1 -1
- package/dist/cjs/types/models/order-edit.d.ts +29 -3
- package/dist/cjs/types/models/order-edit.d.ts.map +1 -1
- package/dist/cjs/types/models/order.d.ts +23 -9
- package/dist/cjs/types/models/order.d.ts.map +1 -1
- package/dist/cjs/types/models/order.js.map +1 -1
- package/dist/cjs/types/models/payment-method.d.ts +439 -0
- package/dist/cjs/types/models/payment-method.d.ts.map +1 -0
- package/dist/cjs/types/models/payment-method.js +14 -0
- package/dist/cjs/types/models/payment-method.js.map +1 -0
- package/dist/cjs/types/models/payment.d.ts +225 -8
- package/dist/cjs/types/models/payment.d.ts.map +1 -1
- package/dist/cjs/types/models/payment.js.map +1 -1
- package/dist/cjs/types/models/product-search.d.ts +77 -2
- package/dist/cjs/types/models/product-search.d.ts.map +1 -1
- package/dist/cjs/types/models/product-search.js.map +1 -1
- package/dist/cjs/types/models/product-tailoring.d.ts +54 -1
- package/dist/cjs/types/models/product-tailoring.d.ts.map +1 -1
- package/dist/cjs/types/models/product-type.d.ts +20 -2
- package/dist/cjs/types/models/product-type.d.ts.map +1 -1
- package/dist/cjs/types/models/product-type.js +6 -1
- package/dist/cjs/types/models/product-type.js.map +1 -1
- package/dist/cjs/types/models/product.d.ts +67 -16
- package/dist/cjs/types/models/product.d.ts.map +1 -1
- package/dist/cjs/types/models/product.js.map +1 -1
- package/dist/cjs/types/models/project.d.ts +35 -4
- package/dist/cjs/types/models/project.d.ts.map +1 -1
- package/dist/cjs/types/models/project.js.map +1 -1
- package/dist/cjs/types/models/quote-request.d.ts +6 -0
- package/dist/cjs/types/models/quote-request.d.ts.map +1 -1
- package/dist/cjs/types/models/quote-request.js.map +1 -1
- package/dist/cjs/types/models/quote.d.ts +6 -0
- package/dist/cjs/types/models/quote.d.ts.map +1 -1
- package/dist/cjs/types/models/quote.js.map +1 -1
- package/dist/cjs/types/models/recurrence-policy.d.ts +233 -71
- package/dist/cjs/types/models/recurrence-policy.d.ts.map +1 -1
- package/dist/cjs/types/models/recurrence-policy.js +14 -8
- package/dist/cjs/types/models/recurrence-policy.js.map +1 -1
- package/dist/cjs/types/models/recurring-order.d.ts +463 -103
- package/dist/cjs/types/models/recurring-order.d.ts.map +1 -1
- package/dist/cjs/types/models/recurring-order.js +23 -15
- package/dist/cjs/types/models/recurring-order.js.map +1 -1
- package/dist/cjs/types/models/search.d.ts +1 -1
- package/dist/cjs/types/models/search.d.ts.map +1 -1
- package/dist/cjs/types/models/shopping-list.d.ts +11 -4
- package/dist/cjs/types/models/shopping-list.d.ts.map +1 -1
- package/dist/cjs/types/models/standalone-price.d.ts +10 -8
- package/dist/cjs/types/models/standalone-price.d.ts.map +1 -1
- package/dist/cjs/types/models/state.d.ts +2 -1
- package/dist/cjs/types/models/state.d.ts.map +1 -1
- package/dist/cjs/types/models/state.js +1 -0
- package/dist/cjs/types/models/state.js.map +1 -1
- package/dist/cjs/types/models/subscription.d.ts +31 -19
- package/dist/cjs/types/models/subscription.d.ts.map +1 -1
- package/dist/cjs/types/models/subscription.js +12 -0
- package/dist/cjs/types/models/subscription.js.map +1 -1
- package/dist/cjs/types/models/type.d.ts +2 -1
- package/dist/cjs/types/models/type.d.ts.map +1 -1
- package/dist/cjs/types/models/type.js +1 -0
- package/dist/cjs/types/models/type.js.map +1 -1
- package/dist/cjs/utils/get-attribute-value.d.ts +1 -1
- package/dist/cjs/utils/get-attribute-value.d.ts.map +1 -1
- package/dist/mjs/api/CommercetoolsApi.d.ts +2 -4
- package/dist/mjs/api/CommercetoolsApi.d.ts.map +1 -1
- package/dist/mjs/api/CommercetoolsApi.js +1 -1
- package/dist/mjs/api/CommercetoolsApi.js.map +1 -1
- package/dist/mjs/tsconfig.tsbuildinfo +1 -1
- package/dist/mjs/types/models/business-unit.d.ts +18 -12
- package/dist/mjs/types/models/business-unit.d.ts.map +1 -1
- package/dist/mjs/types/models/cart-discount.d.ts +44 -10
- package/dist/mjs/types/models/cart-discount.d.ts.map +1 -1
- package/dist/mjs/types/models/cart-discount.js.map +1 -1
- package/dist/mjs/types/models/cart.d.ts +131 -103
- package/dist/mjs/types/models/cart.d.ts.map +1 -1
- package/dist/mjs/types/models/cart.js +5 -1
- package/dist/mjs/types/models/cart.js.map +1 -1
- package/dist/mjs/types/models/common.d.ts +19 -10
- package/dist/mjs/types/models/common.d.ts.map +1 -1
- package/dist/mjs/types/models/common.js +4 -0
- package/dist/mjs/types/models/common.js.map +1 -1
- package/dist/mjs/types/models/customer.d.ts +37 -13
- package/dist/mjs/types/models/customer.d.ts.map +1 -1
- package/dist/mjs/types/models/discount-group.d.ts +252 -0
- package/dist/mjs/types/models/discount-group.d.ts.map +1 -0
- package/dist/mjs/types/models/discount-group.js +7 -0
- package/dist/mjs/types/models/discount-group.js.map +1 -0
- package/dist/mjs/types/models/error.d.ts +68 -4
- package/dist/mjs/types/models/error.d.ts.map +1 -1
- package/dist/mjs/types/models/event.d.ts +405 -58
- package/dist/mjs/types/models/event.d.ts.map +1 -1
- package/dist/mjs/types/models/extension.d.ts +2 -1
- package/dist/mjs/types/models/extension.d.ts.map +1 -1
- package/dist/mjs/types/models/extension.js +1 -0
- package/dist/mjs/types/models/extension.js.map +1 -1
- package/dist/mjs/types/models/index.d.ts +4 -3
- package/dist/mjs/types/models/index.d.ts.map +1 -1
- package/dist/mjs/types/models/index.js +4 -3
- package/dist/mjs/types/models/index.js.map +1 -1
- package/dist/mjs/types/models/me.d.ts +135 -10
- package/dist/mjs/types/models/me.d.ts.map +1 -1
- package/dist/mjs/types/models/me.js.map +1 -1
- package/dist/mjs/types/models/message.d.ts +7118 -3267
- package/dist/mjs/types/models/message.d.ts.map +1 -1
- package/dist/mjs/types/models/order-edit.d.ts +29 -3
- package/dist/mjs/types/models/order-edit.d.ts.map +1 -1
- package/dist/mjs/types/models/order.d.ts +23 -9
- package/dist/mjs/types/models/order.d.ts.map +1 -1
- package/dist/mjs/types/models/order.js.map +1 -1
- package/dist/mjs/types/models/payment-method.d.ts +439 -0
- package/dist/mjs/types/models/payment-method.d.ts.map +1 -0
- package/dist/mjs/types/models/payment-method.js +11 -0
- package/dist/mjs/types/models/payment-method.js.map +1 -0
- package/dist/mjs/types/models/payment.d.ts +225 -8
- package/dist/mjs/types/models/payment.d.ts.map +1 -1
- package/dist/mjs/types/models/payment.js.map +1 -1
- package/dist/mjs/types/models/product-search.d.ts +77 -2
- package/dist/mjs/types/models/product-search.d.ts.map +1 -1
- package/dist/mjs/types/models/product-search.js.map +1 -1
- package/dist/mjs/types/models/product-tailoring.d.ts +54 -1
- package/dist/mjs/types/models/product-tailoring.d.ts.map +1 -1
- package/dist/mjs/types/models/product-type.d.ts +20 -2
- package/dist/mjs/types/models/product-type.d.ts.map +1 -1
- package/dist/mjs/types/models/product-type.js +5 -0
- package/dist/mjs/types/models/product-type.js.map +1 -1
- package/dist/mjs/types/models/product.d.ts +67 -16
- package/dist/mjs/types/models/product.d.ts.map +1 -1
- package/dist/mjs/types/models/product.js.map +1 -1
- package/dist/mjs/types/models/project.d.ts +35 -4
- package/dist/mjs/types/models/project.d.ts.map +1 -1
- package/dist/mjs/types/models/project.js.map +1 -1
- package/dist/mjs/types/models/quote-request.d.ts +6 -0
- package/dist/mjs/types/models/quote-request.d.ts.map +1 -1
- package/dist/mjs/types/models/quote-request.js.map +1 -1
- package/dist/mjs/types/models/quote.d.ts +6 -0
- package/dist/mjs/types/models/quote.d.ts.map +1 -1
- package/dist/mjs/types/models/quote.js.map +1 -1
- package/dist/mjs/types/models/recurrence-policy.d.ts +233 -71
- package/dist/mjs/types/models/recurrence-policy.d.ts.map +1 -1
- package/dist/mjs/types/models/recurrence-policy.js +13 -7
- package/dist/mjs/types/models/recurrence-policy.js.map +1 -1
- package/dist/mjs/types/models/recurring-order.d.ts +463 -103
- package/dist/mjs/types/models/recurring-order.d.ts.map +1 -1
- package/dist/mjs/types/models/recurring-order.js +22 -14
- package/dist/mjs/types/models/recurring-order.js.map +1 -1
- package/dist/mjs/types/models/search.d.ts +1 -1
- package/dist/mjs/types/models/search.d.ts.map +1 -1
- package/dist/mjs/types/models/shopping-list.d.ts +11 -4
- package/dist/mjs/types/models/shopping-list.d.ts.map +1 -1
- package/dist/mjs/types/models/standalone-price.d.ts +10 -8
- package/dist/mjs/types/models/standalone-price.d.ts.map +1 -1
- package/dist/mjs/types/models/state.d.ts +2 -1
- package/dist/mjs/types/models/state.d.ts.map +1 -1
- package/dist/mjs/types/models/state.js +1 -0
- package/dist/mjs/types/models/state.js.map +1 -1
- package/dist/mjs/types/models/subscription.d.ts +31 -19
- package/dist/mjs/types/models/subscription.d.ts.map +1 -1
- package/dist/mjs/types/models/subscription.js +12 -0
- package/dist/mjs/types/models/subscription.js.map +1 -1
- package/dist/mjs/types/models/type.d.ts +2 -1
- package/dist/mjs/types/models/type.d.ts.map +1 -1
- package/dist/mjs/types/models/type.js +1 -0
- package/dist/mjs/types/models/type.js.map +1 -1
- package/dist/mjs/utils/get-attribute-value.d.ts +1 -1
- package/dist/mjs/utils/get-attribute-value.d.ts.map +1 -1
- package/package.json +1 -2
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
4
4
|
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
5
5
|
*/
|
|
6
|
+
import { CartReference } from './cart.js';
|
|
7
|
+
import { ErrorObject } from './error.js';
|
|
8
|
+
import { OrderReference } from './order.js';
|
|
9
|
+
import { PaymentReference } from './payment.js';
|
|
6
10
|
import { EventSubscriptionResourceTypeId, EventType } from './subscription.js';
|
|
7
11
|
/**
|
|
8
12
|
* Base representation of an Event containing common fields to all [Event Types](#eventtype).
|
|
@@ -46,7 +50,7 @@ export interface BaseEvent {
|
|
|
46
50
|
* Base representation of an Event containing common fields to all [Event Types](#eventtype).
|
|
47
51
|
*
|
|
48
52
|
*/
|
|
49
|
-
export type Event = ImportContainerCreatedEvent | ImportContainerDeletedEvent | ImportOperationRejectedEvent | ImportUnresolvedEvent | ImportValidationFailedEvent | ImportWaitForMasterVariantEvent;
|
|
53
|
+
export type Event = CheckoutOrderCreationFailedEvent | CheckoutPaymentAuthorizationCancelledEvent | CheckoutPaymentAuthorizationFailedEvent | CheckoutPaymentAuthorizedEvent | CheckoutPaymentCancelAuthorizationFailedEvent | CheckoutPaymentChargeFailedEvent | CheckoutPaymentChargedEvent | CheckoutPaymentRefundFailedEvent | CheckoutPaymentRefundedEvent | ImportContainerCreatedEvent | ImportContainerDeletedEvent | ImportOperationRejectedEvent | ImportUnresolvedEvent | ImportValidationFailedEvent | ImportWaitForMasterVariantEvent;
|
|
50
54
|
export interface IEvent {
|
|
51
55
|
/**
|
|
52
56
|
* Unique identifier of the Event.
|
|
@@ -76,10 +80,11 @@ export interface IEvent {
|
|
|
76
80
|
readonly createdAt: string;
|
|
77
81
|
}
|
|
78
82
|
/**
|
|
79
|
-
* Generated when an
|
|
83
|
+
* Generated when an order creation attempt fails in Checkout. This event includes information about why the order could not be created.
|
|
84
|
+
*
|
|
80
85
|
*/
|
|
81
|
-
export interface
|
|
82
|
-
readonly type: '
|
|
86
|
+
export interface CheckoutOrderCreationFailedEvent extends IEvent {
|
|
87
|
+
readonly type: 'CheckoutOrderCreationFailed';
|
|
83
88
|
/**
|
|
84
89
|
* Unique identifier of the Event.
|
|
85
90
|
*
|
|
@@ -99,46 +104,80 @@ export interface ImportContainerCreatedEvent extends IEvent {
|
|
|
99
104
|
*/
|
|
100
105
|
readonly createdAt: string;
|
|
101
106
|
/**
|
|
102
|
-
* An object containing details of the
|
|
107
|
+
* An object containing details of the order which could not be created.
|
|
103
108
|
*
|
|
104
109
|
*
|
|
105
110
|
*/
|
|
106
|
-
readonly data:
|
|
111
|
+
readonly data: CheckoutMessageOrderPayloadBaseData;
|
|
107
112
|
}
|
|
108
113
|
/**
|
|
109
|
-
*
|
|
114
|
+
* Generated when a payment authorization is successfully cancelled in Checkout. This event indicates that the payment is cancelled before it is charged.
|
|
115
|
+
*
|
|
110
116
|
*/
|
|
111
|
-
export interface
|
|
117
|
+
export interface CheckoutPaymentAuthorizationCancelledEvent extends IEvent {
|
|
118
|
+
readonly type: 'CheckoutPaymentAuthorizationCancelled';
|
|
112
119
|
/**
|
|
113
|
-
*
|
|
120
|
+
* Unique identifier of the Event.
|
|
114
121
|
*
|
|
122
|
+
*/
|
|
123
|
+
readonly id: string;
|
|
124
|
+
/**
|
|
115
125
|
*
|
|
116
126
|
*/
|
|
117
|
-
readonly
|
|
127
|
+
readonly notificationType: string;
|
|
118
128
|
/**
|
|
119
|
-
* The `version` of the created Import Container.
|
|
120
129
|
*
|
|
130
|
+
*/
|
|
131
|
+
readonly resourceType: EventSubscriptionResourceTypeId;
|
|
132
|
+
/**
|
|
133
|
+
* Date and time (UTC) the Event was generated.
|
|
121
134
|
*
|
|
122
135
|
*/
|
|
123
|
-
readonly
|
|
136
|
+
readonly createdAt: string;
|
|
124
137
|
/**
|
|
125
|
-
*
|
|
138
|
+
* An object containing details of the payment authorization that was cancelled.
|
|
126
139
|
*
|
|
127
140
|
*
|
|
128
141
|
*/
|
|
142
|
+
readonly data: CheckoutMessagePaymentsPayloadBaseData;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Generated when an attempt to authorize a payment fails in Checkout. This failure could result from insufficient funds, incorrect payment details, expired cards, or risk related rejections.
|
|
146
|
+
*
|
|
147
|
+
*/
|
|
148
|
+
export interface CheckoutPaymentAuthorizationFailedEvent extends IEvent {
|
|
149
|
+
readonly type: 'CheckoutPaymentAuthorizationFailed';
|
|
150
|
+
/**
|
|
151
|
+
* Unique identifier of the Event.
|
|
152
|
+
*
|
|
153
|
+
*/
|
|
154
|
+
readonly id: string;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
158
|
+
readonly notificationType: string;
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
*/
|
|
162
|
+
readonly resourceType: EventSubscriptionResourceTypeId;
|
|
163
|
+
/**
|
|
164
|
+
* Date and time (UTC) the Event was generated.
|
|
165
|
+
*
|
|
166
|
+
*/
|
|
129
167
|
readonly createdAt: string;
|
|
130
168
|
/**
|
|
131
|
-
*
|
|
169
|
+
* An object containing details of the payment authorization that failed.
|
|
132
170
|
*
|
|
133
171
|
*
|
|
134
172
|
*/
|
|
135
|
-
readonly
|
|
173
|
+
readonly data: CheckoutMessagePaymentsPayloadBaseData;
|
|
136
174
|
}
|
|
137
175
|
/**
|
|
138
|
-
* Generated when
|
|
176
|
+
* Generated when a payment is successfully authorized in Checkout. This event indicates the payment has been validated and the amount has been reserved but not yet charged.
|
|
177
|
+
*
|
|
139
178
|
*/
|
|
140
|
-
export interface
|
|
141
|
-
readonly type: '
|
|
179
|
+
export interface CheckoutPaymentAuthorizedEvent extends IEvent {
|
|
180
|
+
readonly type: 'CheckoutPaymentAuthorized';
|
|
142
181
|
/**
|
|
143
182
|
* Unique identifier of the Event.
|
|
144
183
|
*
|
|
@@ -158,34 +197,49 @@ export interface ImportContainerDeletedEvent extends IEvent {
|
|
|
158
197
|
*/
|
|
159
198
|
readonly createdAt: string;
|
|
160
199
|
/**
|
|
161
|
-
* An object containing details of the
|
|
200
|
+
* An object containing details of the successful payment authorization.
|
|
162
201
|
*
|
|
163
202
|
*
|
|
164
203
|
*/
|
|
165
|
-
readonly data:
|
|
204
|
+
readonly data: CheckoutMessagePaymentsPayloadBaseData;
|
|
166
205
|
}
|
|
167
206
|
/**
|
|
168
|
-
*
|
|
207
|
+
* Generated when an attempt to cancel a payment authorization fails in Checkout. This could happen if the authorization has already been expired, been captured already or no longer valid.
|
|
208
|
+
*
|
|
169
209
|
*/
|
|
170
|
-
export interface
|
|
210
|
+
export interface CheckoutPaymentCancelAuthorizationFailedEvent extends IEvent {
|
|
211
|
+
readonly type: 'CheckoutPaymentCancelAuthorizationFailed';
|
|
171
212
|
/**
|
|
172
|
-
*
|
|
213
|
+
* Unique identifier of the Event.
|
|
173
214
|
*
|
|
215
|
+
*/
|
|
216
|
+
readonly id: string;
|
|
217
|
+
/**
|
|
174
218
|
*
|
|
175
219
|
*/
|
|
176
|
-
readonly
|
|
220
|
+
readonly notificationType: string;
|
|
177
221
|
/**
|
|
178
|
-
*
|
|
222
|
+
*
|
|
223
|
+
*/
|
|
224
|
+
readonly resourceType: EventSubscriptionResourceTypeId;
|
|
225
|
+
/**
|
|
226
|
+
* Date and time (UTC) the Event was generated.
|
|
227
|
+
*
|
|
228
|
+
*/
|
|
229
|
+
readonly createdAt: string;
|
|
230
|
+
/**
|
|
231
|
+
* An object containing details of the payment authorization that could not be cancelled.
|
|
179
232
|
*
|
|
180
233
|
*
|
|
181
234
|
*/
|
|
182
|
-
readonly
|
|
235
|
+
readonly data: CheckoutMessagePaymentsPayloadBaseData;
|
|
183
236
|
}
|
|
184
237
|
/**
|
|
185
|
-
* Generated when an
|
|
238
|
+
* Generated when an attempt to charge a payment fails in Checkout. Even if a payment was previously authorized, charging it may still fail.
|
|
239
|
+
*
|
|
186
240
|
*/
|
|
187
|
-
export interface
|
|
188
|
-
readonly type: '
|
|
241
|
+
export interface CheckoutPaymentChargeFailedEvent extends IEvent {
|
|
242
|
+
readonly type: 'CheckoutPaymentChargeFailed';
|
|
189
243
|
/**
|
|
190
244
|
* Unique identifier of the Event.
|
|
191
245
|
*
|
|
@@ -205,28 +259,80 @@ export interface ImportOperationRejectedEvent extends IEvent {
|
|
|
205
259
|
*/
|
|
206
260
|
readonly createdAt: string;
|
|
207
261
|
/**
|
|
208
|
-
* An object containing details of the
|
|
262
|
+
* An object containing details of the failed payment charge.
|
|
209
263
|
*
|
|
210
264
|
*
|
|
211
265
|
*/
|
|
212
|
-
readonly data:
|
|
266
|
+
readonly data: CheckoutMessagePaymentsPayloadBaseData;
|
|
213
267
|
}
|
|
214
268
|
/**
|
|
215
|
-
*
|
|
269
|
+
* Generated when a payment is successfully charged in Checkout. This event indicates that the authorized amount has been successfully debited from your customer's account.
|
|
270
|
+
*
|
|
216
271
|
*/
|
|
217
|
-
export interface
|
|
272
|
+
export interface CheckoutPaymentChargedEvent extends IEvent {
|
|
273
|
+
readonly type: 'CheckoutPaymentCharged';
|
|
274
|
+
/**
|
|
275
|
+
* Unique identifier of the Event.
|
|
276
|
+
*
|
|
277
|
+
*/
|
|
278
|
+
readonly id: string;
|
|
279
|
+
/**
|
|
280
|
+
*
|
|
281
|
+
*/
|
|
282
|
+
readonly notificationType: string;
|
|
218
283
|
/**
|
|
219
|
-
* The `id` of the Import Operation with the `rejected` state.
|
|
220
284
|
*
|
|
285
|
+
*/
|
|
286
|
+
readonly resourceType: EventSubscriptionResourceTypeId;
|
|
287
|
+
/**
|
|
288
|
+
* Date and time (UTC) the Event was generated.
|
|
289
|
+
*
|
|
290
|
+
*/
|
|
291
|
+
readonly createdAt: string;
|
|
292
|
+
/**
|
|
293
|
+
* An object containing details of the successful payment charge.
|
|
294
|
+
*
|
|
295
|
+
*
|
|
296
|
+
*/
|
|
297
|
+
readonly data: CheckoutMessagePaymentsPayloadBaseData;
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Generated when an attempt to refund a payment refund fails in Checkout. This failure indicates that the planned refund amount was not successfully sent to your customer’s account.
|
|
301
|
+
*
|
|
302
|
+
*/
|
|
303
|
+
export interface CheckoutPaymentRefundFailedEvent extends IEvent {
|
|
304
|
+
readonly type: 'CheckoutPaymentRefundFailed';
|
|
305
|
+
/**
|
|
306
|
+
* Unique identifier of the Event.
|
|
221
307
|
*
|
|
222
308
|
*/
|
|
223
309
|
readonly id: string;
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
*/
|
|
313
|
+
readonly notificationType: string;
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
*/
|
|
317
|
+
readonly resourceType: EventSubscriptionResourceTypeId;
|
|
318
|
+
/**
|
|
319
|
+
* Date and time (UTC) the Event was generated.
|
|
320
|
+
*
|
|
321
|
+
*/
|
|
322
|
+
readonly createdAt: string;
|
|
323
|
+
/**
|
|
324
|
+
* An object containing details of the failed payment refund attempt.
|
|
325
|
+
*
|
|
326
|
+
*
|
|
327
|
+
*/
|
|
328
|
+
readonly data: CheckoutMessagePaymentsPayloadBaseData;
|
|
224
329
|
}
|
|
225
330
|
/**
|
|
226
|
-
* Generated when
|
|
331
|
+
* Generated when a payment is successfully refunded in Checkout. This event confirms that the refund has been processed and sent to your customer.
|
|
332
|
+
*
|
|
227
333
|
*/
|
|
228
|
-
export interface
|
|
229
|
-
readonly type: '
|
|
334
|
+
export interface CheckoutPaymentRefundedEvent extends IEvent {
|
|
335
|
+
readonly type: 'CheckoutPaymentRefunded';
|
|
230
336
|
/**
|
|
231
337
|
* Unique identifier of the Event.
|
|
232
338
|
*
|
|
@@ -246,40 +352,77 @@ export interface ImportUnresolvedEvent extends IEvent {
|
|
|
246
352
|
*/
|
|
247
353
|
readonly createdAt: string;
|
|
248
354
|
/**
|
|
249
|
-
* An object containing details of the
|
|
355
|
+
* An object containing details of the successful payment refund.
|
|
250
356
|
*
|
|
251
357
|
*
|
|
252
358
|
*/
|
|
253
|
-
readonly data:
|
|
359
|
+
readonly data: CheckoutMessagePaymentsPayloadBaseData;
|
|
254
360
|
}
|
|
255
361
|
/**
|
|
256
|
-
*
|
|
362
|
+
* Generated when an [Import Container](ctp:import:type:ImportContainer) is created.
|
|
257
363
|
*/
|
|
258
|
-
export interface
|
|
364
|
+
export interface ImportContainerCreatedEvent extends IEvent {
|
|
365
|
+
readonly type: 'ImportContainerCreated';
|
|
366
|
+
/**
|
|
367
|
+
* Unique identifier of the Event.
|
|
368
|
+
*
|
|
369
|
+
*/
|
|
370
|
+
readonly id: string;
|
|
259
371
|
/**
|
|
260
|
-
* The `id` of the Import Operation with the `unresolved` state.
|
|
261
372
|
*
|
|
373
|
+
*/
|
|
374
|
+
readonly notificationType: string;
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
*/
|
|
378
|
+
readonly resourceType: EventSubscriptionResourceTypeId;
|
|
379
|
+
/**
|
|
380
|
+
* Date and time (UTC) the Event was generated.
|
|
381
|
+
*
|
|
382
|
+
*/
|
|
383
|
+
readonly createdAt: string;
|
|
384
|
+
/**
|
|
385
|
+
* An object containing details of the created Import Container.
|
|
386
|
+
*
|
|
387
|
+
*
|
|
388
|
+
*/
|
|
389
|
+
readonly data: ImportContainerCreatedEventData;
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* Generated when an [Import Container](ctp:import:type:ImportContainer) is deleted.
|
|
393
|
+
*/
|
|
394
|
+
export interface ImportContainerDeletedEvent extends IEvent {
|
|
395
|
+
readonly type: 'ImportContainerDeleted';
|
|
396
|
+
/**
|
|
397
|
+
* Unique identifier of the Event.
|
|
262
398
|
*
|
|
263
399
|
*/
|
|
264
400
|
readonly id: string;
|
|
265
401
|
/**
|
|
266
|
-
* The `version` of the Import Operation with the `unresolved` state.
|
|
267
402
|
*
|
|
403
|
+
*/
|
|
404
|
+
readonly notificationType: string;
|
|
405
|
+
/**
|
|
406
|
+
*
|
|
407
|
+
*/
|
|
408
|
+
readonly resourceType: EventSubscriptionResourceTypeId;
|
|
409
|
+
/**
|
|
410
|
+
* Date and time (UTC) the Event was generated.
|
|
268
411
|
*
|
|
269
412
|
*/
|
|
270
|
-
readonly
|
|
413
|
+
readonly createdAt: string;
|
|
271
414
|
/**
|
|
272
|
-
*
|
|
415
|
+
* An object containing details of the deleted Import Container.
|
|
273
416
|
*
|
|
274
417
|
*
|
|
275
418
|
*/
|
|
276
|
-
readonly
|
|
419
|
+
readonly data: ImportContainerDeletedEventData;
|
|
277
420
|
}
|
|
278
421
|
/**
|
|
279
|
-
* Generated when an [Import Operation](ctp:import:type:ImportOperation) has the `
|
|
422
|
+
* Generated when an [Import Operation](ctp:import:type:ImportOperation) has the `rejected` [ProcessingState](ctp:import:type:ProcessingState).
|
|
280
423
|
*/
|
|
281
|
-
export interface
|
|
282
|
-
readonly type: '
|
|
424
|
+
export interface ImportOperationRejectedEvent extends IEvent {
|
|
425
|
+
readonly type: 'ImportOperationRejected';
|
|
283
426
|
/**
|
|
284
427
|
* Unique identifier of the Event.
|
|
285
428
|
*
|
|
@@ -299,34 +442,71 @@ export interface ImportValidationFailedEvent extends IEvent {
|
|
|
299
442
|
*/
|
|
300
443
|
readonly createdAt: string;
|
|
301
444
|
/**
|
|
302
|
-
* An object containing details of the Import Operation with the `
|
|
445
|
+
* An object containing details of the Import Operation with the `rejected` state.
|
|
303
446
|
*
|
|
304
447
|
*
|
|
305
448
|
*/
|
|
306
|
-
readonly data:
|
|
449
|
+
readonly data: ImportOperationRejectedEventData;
|
|
307
450
|
}
|
|
308
451
|
/**
|
|
309
|
-
*
|
|
452
|
+
* Generated when an [Import Operation](ctp:import:type:ImportOperation) has the `unresolved` [ProcessingState](ctp:import:type:ProcessingState).
|
|
310
453
|
*/
|
|
311
|
-
export interface
|
|
454
|
+
export interface ImportUnresolvedEvent extends IEvent {
|
|
455
|
+
readonly type: 'ImportUnresolved';
|
|
312
456
|
/**
|
|
313
|
-
*
|
|
457
|
+
* Unique identifier of the Event.
|
|
314
458
|
*
|
|
459
|
+
*/
|
|
460
|
+
readonly id: string;
|
|
461
|
+
/**
|
|
462
|
+
*
|
|
463
|
+
*/
|
|
464
|
+
readonly notificationType: string;
|
|
465
|
+
/**
|
|
466
|
+
*
|
|
467
|
+
*/
|
|
468
|
+
readonly resourceType: EventSubscriptionResourceTypeId;
|
|
469
|
+
/**
|
|
470
|
+
* Date and time (UTC) the Event was generated.
|
|
471
|
+
*
|
|
472
|
+
*/
|
|
473
|
+
readonly createdAt: string;
|
|
474
|
+
/**
|
|
475
|
+
* An object containing details of the Import Operation with the `unresolved` state.
|
|
476
|
+
*
|
|
477
|
+
*
|
|
478
|
+
*/
|
|
479
|
+
readonly data: ImportUnresolvedEventData;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* Generated when an [Import Operation](ctp:import:type:ImportOperation) has the `validationFailed` [ProcessingState](ctp:import:type:ProcessingState).
|
|
483
|
+
*/
|
|
484
|
+
export interface ImportValidationFailedEvent extends IEvent {
|
|
485
|
+
readonly type: 'ImportValidationFailed';
|
|
486
|
+
/**
|
|
487
|
+
* Unique identifier of the Event.
|
|
315
488
|
*
|
|
316
489
|
*/
|
|
317
490
|
readonly id: string;
|
|
318
491
|
/**
|
|
319
|
-
* The `version` of the Import Operation with the `validationFailed` state.
|
|
320
492
|
*
|
|
493
|
+
*/
|
|
494
|
+
readonly notificationType: string;
|
|
495
|
+
/**
|
|
496
|
+
*
|
|
497
|
+
*/
|
|
498
|
+
readonly resourceType: EventSubscriptionResourceTypeId;
|
|
499
|
+
/**
|
|
500
|
+
* Date and time (UTC) the Event was generated.
|
|
321
501
|
*
|
|
322
502
|
*/
|
|
323
|
-
readonly
|
|
503
|
+
readonly createdAt: string;
|
|
324
504
|
/**
|
|
325
|
-
*
|
|
505
|
+
* An object containing details of the Import Operation with the `validationFailed` state.
|
|
326
506
|
*
|
|
327
507
|
*
|
|
328
508
|
*/
|
|
329
|
-
readonly
|
|
509
|
+
readonly data: ImportValidationFailedEventData;
|
|
330
510
|
}
|
|
331
511
|
/**
|
|
332
512
|
* Generated when an [Import Operation](ctp:import:type:ImportOperation) has the `waitForMasterVariant` [ProcessingState](ctp:import:type:ProcessingState).
|
|
@@ -358,6 +538,173 @@ export interface ImportWaitForMasterVariantEvent extends IEvent {
|
|
|
358
538
|
*/
|
|
359
539
|
readonly data: ImportWaitForMasterVariantEventData;
|
|
360
540
|
}
|
|
541
|
+
/**
|
|
542
|
+
* The `data` payload of all related order event messages.
|
|
543
|
+
*/
|
|
544
|
+
export interface CheckoutMessageOrderPayloadBaseData {
|
|
545
|
+
/**
|
|
546
|
+
* `key` of the [Project](ctp:api:type:Project) where the order would belong to.
|
|
547
|
+
*
|
|
548
|
+
*
|
|
549
|
+
*/
|
|
550
|
+
readonly projectKey: string;
|
|
551
|
+
/**
|
|
552
|
+
* The [Cart](ctp:api:type:Cart) on which the change or action was performed.
|
|
553
|
+
*
|
|
554
|
+
*
|
|
555
|
+
*/
|
|
556
|
+
readonly cart: CartReference;
|
|
557
|
+
/**
|
|
558
|
+
* The [Payments](ctp:api:type:Payment) on which the change or action was performed.
|
|
559
|
+
*
|
|
560
|
+
*
|
|
561
|
+
*/
|
|
562
|
+
readonly payments: PaymentReference[];
|
|
563
|
+
/**
|
|
564
|
+
* Errors associated with the order event.
|
|
565
|
+
*
|
|
566
|
+
*
|
|
567
|
+
*/
|
|
568
|
+
readonly errors: ErrorObject[];
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* The `data` payload of all payment related event messages.
|
|
572
|
+
*/
|
|
573
|
+
export interface CheckoutMessagePaymentsPayloadBaseData {
|
|
574
|
+
/**
|
|
575
|
+
* `key` of the [Project](ctp:api:type:Project) where the payment was made.
|
|
576
|
+
*
|
|
577
|
+
*
|
|
578
|
+
*/
|
|
579
|
+
readonly projectKey: string;
|
|
580
|
+
/**
|
|
581
|
+
* The [Payment](ctp:api:type:Payment) on which the change or action was performed.
|
|
582
|
+
*
|
|
583
|
+
*
|
|
584
|
+
*/
|
|
585
|
+
readonly payment: PaymentReference;
|
|
586
|
+
/**
|
|
587
|
+
* `id` of the [Transaction](/../api/projects/payments#transaction).
|
|
588
|
+
*
|
|
589
|
+
*
|
|
590
|
+
*/
|
|
591
|
+
readonly transactionId: string;
|
|
592
|
+
/**
|
|
593
|
+
* The [Cart](ctp:api:type:Cart) on which the change or action was performed.
|
|
594
|
+
*
|
|
595
|
+
*
|
|
596
|
+
*/
|
|
597
|
+
readonly cart?: CartReference;
|
|
598
|
+
/**
|
|
599
|
+
* The [Order](ctp:api:type:Order) on which the change or action was performed.
|
|
600
|
+
*
|
|
601
|
+
*
|
|
602
|
+
*/
|
|
603
|
+
readonly order?: OrderReference;
|
|
604
|
+
}
|
|
605
|
+
/**
|
|
606
|
+
* The `data` of the [Import Container Created Event](ctp:api:type:ImportContainerCreatedEvent).
|
|
607
|
+
*/
|
|
608
|
+
export interface ImportContainerCreatedEventData {
|
|
609
|
+
/**
|
|
610
|
+
* The `key` of the created Import Container.
|
|
611
|
+
*
|
|
612
|
+
*
|
|
613
|
+
*/
|
|
614
|
+
readonly key: string;
|
|
615
|
+
/**
|
|
616
|
+
* The `version` of the created Import Container.
|
|
617
|
+
*
|
|
618
|
+
*
|
|
619
|
+
*/
|
|
620
|
+
readonly version: number;
|
|
621
|
+
/**
|
|
622
|
+
* Date and time (UTC) the Import Container was created.
|
|
623
|
+
*
|
|
624
|
+
*
|
|
625
|
+
*/
|
|
626
|
+
readonly createdAt: string;
|
|
627
|
+
/**
|
|
628
|
+
* Date and time (UTC) the Import Container was last updated.
|
|
629
|
+
*
|
|
630
|
+
*
|
|
631
|
+
*/
|
|
632
|
+
readonly lastModifiedAt: string;
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* The `data` of the [Import Container Deleted Event](ctp:api:type:ImportContainerDeletedEvent).
|
|
636
|
+
*/
|
|
637
|
+
export interface ImportContainerDeletedEventData {
|
|
638
|
+
/**
|
|
639
|
+
* The `key` of the deleted Import Container.
|
|
640
|
+
*
|
|
641
|
+
*
|
|
642
|
+
*/
|
|
643
|
+
readonly key: string;
|
|
644
|
+
/**
|
|
645
|
+
* The `version` of the deleted Import Container.
|
|
646
|
+
*
|
|
647
|
+
*
|
|
648
|
+
*/
|
|
649
|
+
readonly version: number;
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
* The `data` of the [Import Operation Rejected Event](ctp:api:type:ImportOperationRejectedEvent).
|
|
653
|
+
*/
|
|
654
|
+
export interface ImportOperationRejectedEventData {
|
|
655
|
+
/**
|
|
656
|
+
* The `id` of the Import Operation with the `rejected` state.
|
|
657
|
+
*
|
|
658
|
+
*
|
|
659
|
+
*/
|
|
660
|
+
readonly id: string;
|
|
661
|
+
}
|
|
662
|
+
/**
|
|
663
|
+
* The `data` of the [Import Unresolved Event](ctp:api:type:ImportUnresolvedEvent).
|
|
664
|
+
*/
|
|
665
|
+
export interface ImportUnresolvedEventData {
|
|
666
|
+
/**
|
|
667
|
+
* The `id` of the Import Operation with the `unresolved` state.
|
|
668
|
+
*
|
|
669
|
+
*
|
|
670
|
+
*/
|
|
671
|
+
readonly id: string;
|
|
672
|
+
/**
|
|
673
|
+
* The `version` of the Import Operation with the `unresolved` state.
|
|
674
|
+
*
|
|
675
|
+
*
|
|
676
|
+
*/
|
|
677
|
+
readonly version: number;
|
|
678
|
+
/**
|
|
679
|
+
* The `key` of the Import Container.
|
|
680
|
+
*
|
|
681
|
+
*
|
|
682
|
+
*/
|
|
683
|
+
readonly importContainerKey: string;
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* The `data` of the [Import Validation Failed Event](ctp:api:type:ImportValidationFailedEvent).
|
|
687
|
+
*/
|
|
688
|
+
export interface ImportValidationFailedEventData {
|
|
689
|
+
/**
|
|
690
|
+
* The `id` of the Import Operation with the `validationFailed` state.
|
|
691
|
+
*
|
|
692
|
+
*
|
|
693
|
+
*/
|
|
694
|
+
readonly id: string;
|
|
695
|
+
/**
|
|
696
|
+
* The `version` of the Import Operation with the `validationFailed` state.
|
|
697
|
+
*
|
|
698
|
+
*
|
|
699
|
+
*/
|
|
700
|
+
readonly version: number;
|
|
701
|
+
/**
|
|
702
|
+
* The `key` of the Import Container.
|
|
703
|
+
*
|
|
704
|
+
*
|
|
705
|
+
*/
|
|
706
|
+
readonly importContainerKey: string;
|
|
707
|
+
}
|
|
361
708
|
/**
|
|
362
709
|
* The `data` of the [Import Wait For Master Variant Event](ctp:api:type:ImportWaitForMasterVariantEvent).
|
|
363
710
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/models/event.ts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AmC;IAClD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAA;CACpC"}
|
|
@@ -208,12 +208,13 @@ export declare enum ExtensionResourceTypeIdValues {
|
|
|
208
208
|
CustomerGroup = "customer-group",
|
|
209
209
|
Order = "order",
|
|
210
210
|
Payment = "payment",
|
|
211
|
+
PaymentMethod = "payment-method",
|
|
211
212
|
Quote = "quote",
|
|
212
213
|
QuoteRequest = "quote-request",
|
|
213
214
|
ShoppingList = "shopping-list",
|
|
214
215
|
StagedQuote = "staged-quote"
|
|
215
216
|
}
|
|
216
|
-
export type ExtensionResourceTypeId = 'business-unit' | 'cart' | 'customer' | 'customer-group' | 'order' | 'payment' | 'quote' | 'quote-request' | 'shopping-list' | 'staged-quote' | (string & {});
|
|
217
|
+
export type ExtensionResourceTypeId = 'business-unit' | 'cart' | 'customer' | 'customer-group' | 'order' | 'payment' | 'payment-method' | 'quote' | 'quote-request' | 'shopping-list' | 'staged-quote' | (string & {});
|
|
217
218
|
export interface ExtensionTrigger {
|
|
218
219
|
/**
|
|
219
220
|
* The resource that triggers the Extension.
|