@wix/auto_sdk_ecom_order-transactions 1.0.19 → 1.0.21
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/build/{cjs/src/ecom-v1-order-transactions-order-transactions.types.d.ts → ecom-v1-order-transactions-order-transactions.universal-DRvhf2o2.d.mts} +246 -224
- package/build/{internal/cjs/src/ecom-v1-order-transactions-order-transactions.types.d.ts → ecom-v1-order-transactions-order-transactions.universal-DRvhf2o2.d.ts} +246 -224
- package/build/index.d.mts +69 -0
- package/build/index.d.ts +69 -0
- package/build/index.js +942 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +887 -0
- package/build/index.mjs.map +1 -0
- package/build/{es/src/ecom-v1-order-transactions-order-transactions.types.d.ts → internal/ecom-v1-order-transactions-order-transactions.universal-aENRFMbJ.d.mts} +330 -224
- package/build/internal/{es/src/ecom-v1-order-transactions-order-transactions.types.d.ts → ecom-v1-order-transactions-order-transactions.universal-aENRFMbJ.d.ts} +330 -224
- package/build/internal/index.d.mts +118 -0
- package/build/internal/index.d.ts +118 -0
- package/build/internal/index.js +942 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +887 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +614 -0
- package/build/internal/meta.d.ts +614 -0
- package/build/internal/meta.js +566 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +533 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/meta.d.mts +614 -0
- package/build/meta.d.ts +614 -0
- package/build/meta.js +566 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +533 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.context.d.ts +0 -9
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.context.js +0 -41
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.http.d.ts +0 -73
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.http.js +0 -466
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.meta.d.ts +0 -30
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.meta.js +0 -161
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.public.d.ts +0 -63
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.public.js +0 -76
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.types.js +0 -303
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.universal.d.ts +0 -2589
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.universal.js +0 -695
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/ecom-v1-order-transactions-order-transactions.context.d.ts +0 -9
- package/build/es/src/ecom-v1-order-transactions-order-transactions.context.js +0 -13
- package/build/es/src/ecom-v1-order-transactions-order-transactions.context.js.map +0 -1
- package/build/es/src/ecom-v1-order-transactions-order-transactions.http.d.ts +0 -73
- package/build/es/src/ecom-v1-order-transactions-order-transactions.http.js +0 -456
- package/build/es/src/ecom-v1-order-transactions-order-transactions.http.js.map +0 -1
- package/build/es/src/ecom-v1-order-transactions-order-transactions.meta.d.ts +0 -30
- package/build/es/src/ecom-v1-order-transactions-order-transactions.meta.js +0 -128
- package/build/es/src/ecom-v1-order-transactions-order-transactions.meta.js.map +0 -1
- package/build/es/src/ecom-v1-order-transactions-order-transactions.public.d.ts +0 -63
- package/build/es/src/ecom-v1-order-transactions-order-transactions.public.js +0 -41
- package/build/es/src/ecom-v1-order-transactions-order-transactions.public.js.map +0 -1
- package/build/es/src/ecom-v1-order-transactions-order-transactions.types.js +0 -300
- package/build/es/src/ecom-v1-order-transactions-order-transactions.types.js.map +0 -1
- package/build/es/src/ecom-v1-order-transactions-order-transactions.universal.d.ts +0 -2589
- package/build/es/src/ecom-v1-order-transactions-order-transactions.universal.js +0 -662
- package/build/es/src/ecom-v1-order-transactions-order-transactions.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.context.d.ts +0 -13
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.context.js +0 -41
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.context.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.http.d.ts +0 -73
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.http.js +0 -466
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.http.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.meta.d.ts +0 -30
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.meta.js +0 -161
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.meta.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.public.d.ts +0 -108
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.public.js +0 -76
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.public.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.types.js +0 -303
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.types.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.universal.d.ts +0 -2740
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.universal.js +0 -695
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.context.d.ts +0 -13
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.context.js +0 -13
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.context.js.map +0 -1
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.http.d.ts +0 -73
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.http.js +0 -456
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.http.js.map +0 -1
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.meta.d.ts +0 -30
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.meta.js +0 -128
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.meta.js.map +0 -1
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.public.d.ts +0 -108
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.public.js +0 -41
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.public.js.map +0 -1
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.types.js +0 -300
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.types.js.map +0 -1
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.universal.d.ts +0 -2740
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.universal.js +0 -662
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.universal.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
interface OrderTransactions {
|
|
2
2
|
/**
|
|
3
3
|
* Order ID.
|
|
4
4
|
* @format GUID
|
|
@@ -15,7 +15,7 @@ export interface OrderTransactions {
|
|
|
15
15
|
*/
|
|
16
16
|
refunds?: Refund[];
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf {
|
|
19
19
|
/** Regular payment details. */
|
|
20
20
|
regularPaymentDetails?: RegularPaymentDetails;
|
|
21
21
|
/** Gift card payment details. */
|
|
@@ -25,14 +25,14 @@ export interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoO
|
|
|
25
25
|
* @format GUID
|
|
26
26
|
* @readonly
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
_id?: string | null;
|
|
29
29
|
/** Date and time the payment was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
|
|
30
|
-
|
|
30
|
+
_createdDate?: Date | null;
|
|
31
31
|
/**
|
|
32
32
|
* Date and time the payment was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
33
33
|
* @readonly
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
_updatedDate?: Date | null;
|
|
36
36
|
/** Payment amount. */
|
|
37
37
|
amount?: Price;
|
|
38
38
|
/**
|
|
@@ -43,16 +43,16 @@ export interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoO
|
|
|
43
43
|
refundDisabled?: boolean;
|
|
44
44
|
}
|
|
45
45
|
/** @oneof */
|
|
46
|
-
|
|
46
|
+
interface PaymentPaymentDetailsOneOf {
|
|
47
47
|
/** Regular payment details. */
|
|
48
48
|
regularPaymentDetails?: RegularPaymentDetails;
|
|
49
49
|
/** Gift card payment details. */
|
|
50
50
|
giftcardPaymentDetails?: GiftCardPaymentDetails;
|
|
51
51
|
}
|
|
52
52
|
/** @oneof */
|
|
53
|
-
|
|
53
|
+
interface PaymentReceiptInfoOneOf {
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetailsOneOf {
|
|
56
56
|
/** Whether regular card used */
|
|
57
57
|
creditCardDetails?: CreditCardPaymentMethodDetails;
|
|
58
58
|
/**
|
|
@@ -90,11 +90,11 @@ export interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMetho
|
|
|
90
90
|
authorizationDetails?: AuthorizationDetails;
|
|
91
91
|
}
|
|
92
92
|
/** @oneof */
|
|
93
|
-
|
|
93
|
+
interface RegularPaymentDetailsPaymentMethodDetailsOneOf {
|
|
94
94
|
/** Whether regular card used */
|
|
95
95
|
creditCardDetails?: CreditCardPaymentMethodDetails;
|
|
96
96
|
}
|
|
97
|
-
|
|
97
|
+
declare enum TransactionStatus {
|
|
98
98
|
UNDEFINED = "UNDEFINED",
|
|
99
99
|
APPROVED = "APPROVED",
|
|
100
100
|
PENDING = "PENDING",
|
|
@@ -107,8 +107,8 @@ export declare enum TransactionStatus {
|
|
|
107
107
|
VOIDED = "VOIDED"
|
|
108
108
|
}
|
|
109
109
|
/** @enumType */
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
type TransactionStatusWithLiterals = TransactionStatus | 'UNDEFINED' | 'APPROVED' | 'PENDING' | 'PENDING_MERCHANT' | 'CANCELED' | 'DECLINED' | 'REFUNDED' | 'PARTIALLY_REFUNDED' | 'AUTHORIZED' | 'VOIDED';
|
|
111
|
+
interface CreditCardPaymentMethodDetails {
|
|
112
112
|
/**
|
|
113
113
|
* The last 4 digits of the card number.
|
|
114
114
|
* @maxLength 4
|
|
@@ -120,7 +120,7 @@ export interface CreditCardPaymentMethodDetails {
|
|
|
120
120
|
*/
|
|
121
121
|
brand?: string | null;
|
|
122
122
|
}
|
|
123
|
-
|
|
123
|
+
interface AuthorizationDetails {
|
|
124
124
|
/**
|
|
125
125
|
* Whether the authorized payment is of a delayed capture.
|
|
126
126
|
* @readonly
|
|
@@ -139,13 +139,13 @@ export interface AuthorizationDetails {
|
|
|
139
139
|
/** Scheduled action for this transaction */
|
|
140
140
|
scheduledAction?: ScheduledAction;
|
|
141
141
|
}
|
|
142
|
-
|
|
142
|
+
interface AuthorizationCapture {
|
|
143
143
|
/**
|
|
144
144
|
* Capture ID.
|
|
145
145
|
* @format GUID
|
|
146
146
|
* @readonly
|
|
147
147
|
*/
|
|
148
|
-
|
|
148
|
+
_id?: string | null;
|
|
149
149
|
/** Status of this capture action */
|
|
150
150
|
status?: AuthorizationCaptureStatusWithLiterals;
|
|
151
151
|
/**
|
|
@@ -154,11 +154,11 @@ export interface AuthorizationCapture {
|
|
|
154
154
|
*/
|
|
155
155
|
amount?: Price;
|
|
156
156
|
/** Date and time the capture was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
|
|
157
|
-
|
|
157
|
+
_createdDate?: Date | null;
|
|
158
158
|
/** In case of status is FAILED may contain failure details */
|
|
159
159
|
failureDetails?: AuthorizationActionFailureDetails;
|
|
160
160
|
}
|
|
161
|
-
|
|
161
|
+
declare enum AuthorizationCaptureStatus {
|
|
162
162
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
163
163
|
/** Capture operation still in progress. */
|
|
164
164
|
PENDING = "PENDING",
|
|
@@ -168,8 +168,8 @@ export declare enum AuthorizationCaptureStatus {
|
|
|
168
168
|
FAILED = "FAILED"
|
|
169
169
|
}
|
|
170
170
|
/** @enumType */
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
type AuthorizationCaptureStatusWithLiterals = AuthorizationCaptureStatus | 'UNKNOWN_STATUS' | 'PENDING' | 'SUCCEEDED' | 'FAILED';
|
|
172
|
+
interface Price {
|
|
173
173
|
/**
|
|
174
174
|
* Amount.
|
|
175
175
|
* @decimalValue options { gte:0, lte:1000000000000000 }
|
|
@@ -181,11 +181,11 @@ export interface Price {
|
|
|
181
181
|
*/
|
|
182
182
|
formattedAmount?: string;
|
|
183
183
|
}
|
|
184
|
-
|
|
184
|
+
interface AuthorizationActionFailureDetails {
|
|
185
185
|
/** @maxLength 100 */
|
|
186
186
|
failureCode?: string;
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
interface AuthorizationVoid {
|
|
189
189
|
/** Status of this void action */
|
|
190
190
|
status?: AuthorizationVoidStatusWithLiterals;
|
|
191
191
|
/** Date and time the void was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
|
|
@@ -195,7 +195,7 @@ export interface AuthorizationVoid {
|
|
|
195
195
|
/** Reason of void action */
|
|
196
196
|
reason?: ReasonWithLiterals;
|
|
197
197
|
}
|
|
198
|
-
|
|
198
|
+
declare enum AuthorizationVoidStatus {
|
|
199
199
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
200
200
|
/** Void operation still in progress. */
|
|
201
201
|
PENDING = "PENDING",
|
|
@@ -205,9 +205,9 @@ export declare enum AuthorizationVoidStatus {
|
|
|
205
205
|
FAILED = "FAILED"
|
|
206
206
|
}
|
|
207
207
|
/** @enumType */
|
|
208
|
-
|
|
208
|
+
type AuthorizationVoidStatusWithLiterals = AuthorizationVoidStatus | 'UNKNOWN_STATUS' | 'PENDING' | 'SUCCEEDED' | 'FAILED';
|
|
209
209
|
/** Reason the authorization was voided. */
|
|
210
|
-
|
|
210
|
+
declare enum Reason {
|
|
211
211
|
UNKNOWN_REASON = "UNKNOWN_REASON",
|
|
212
212
|
/** Authorization was voided by user. */
|
|
213
213
|
MANUAL = "MANUAL",
|
|
@@ -215,21 +215,21 @@ export declare enum Reason {
|
|
|
215
215
|
SCHEDULED = "SCHEDULED"
|
|
216
216
|
}
|
|
217
217
|
/** @enumType */
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
type ReasonWithLiterals = Reason | 'UNKNOWN_REASON' | 'MANUAL' | 'SCHEDULED';
|
|
219
|
+
interface ScheduledAction {
|
|
220
220
|
/** Type of the action. */
|
|
221
221
|
actionType?: ActionTypeWithLiterals;
|
|
222
222
|
/** The date and time of the action. */
|
|
223
223
|
executionDate?: Date | null;
|
|
224
224
|
}
|
|
225
|
-
|
|
225
|
+
declare enum ActionType {
|
|
226
226
|
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
227
227
|
VOID = "VOID",
|
|
228
228
|
CAPTURE = "CAPTURE"
|
|
229
229
|
}
|
|
230
230
|
/** @enumType */
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
type ActionTypeWithLiterals = ActionType | 'UNKNOWN_ACTION_TYPE' | 'VOID' | 'CAPTURE';
|
|
232
|
+
interface GiftCardPaymentDetails {
|
|
233
233
|
/**
|
|
234
234
|
* Gift card payment ID.
|
|
235
235
|
* @minLength 1
|
|
@@ -247,7 +247,7 @@ export interface GiftCardPaymentDetails {
|
|
|
247
247
|
*/
|
|
248
248
|
voided?: boolean;
|
|
249
249
|
}
|
|
250
|
-
|
|
250
|
+
interface MembershipPaymentDetails {
|
|
251
251
|
/**
|
|
252
252
|
* Membership ID.
|
|
253
253
|
* @minLength 1
|
|
@@ -281,15 +281,15 @@ export interface MembershipPaymentDetails {
|
|
|
281
281
|
*/
|
|
282
282
|
providerAppId?: string;
|
|
283
283
|
}
|
|
284
|
-
|
|
284
|
+
declare enum MembershipPaymentStatus {
|
|
285
285
|
/** Payment was charged. */
|
|
286
286
|
CHARGED = "CHARGED",
|
|
287
287
|
/** The attempt to charge the payment failed, for example, due to lack of credits. */
|
|
288
288
|
CHARGE_FAILED = "CHARGE_FAILED"
|
|
289
289
|
}
|
|
290
290
|
/** @enumType */
|
|
291
|
-
|
|
292
|
-
|
|
291
|
+
type MembershipPaymentStatusWithLiterals = MembershipPaymentStatus | 'CHARGED' | 'CHARGE_FAILED';
|
|
292
|
+
interface MembershipName {
|
|
293
293
|
/**
|
|
294
294
|
* Membership name.
|
|
295
295
|
* @maxLength 100
|
|
@@ -301,7 +301,7 @@ export interface MembershipName {
|
|
|
301
301
|
*/
|
|
302
302
|
translated?: string | null;
|
|
303
303
|
}
|
|
304
|
-
|
|
304
|
+
interface WixReceiptInfo {
|
|
305
305
|
/**
|
|
306
306
|
* Receipt ID
|
|
307
307
|
* @format GUID
|
|
@@ -314,7 +314,7 @@ export interface WixReceiptInfo {
|
|
|
314
314
|
*/
|
|
315
315
|
displayNumber?: string | null;
|
|
316
316
|
}
|
|
317
|
-
|
|
317
|
+
interface ExternalReceiptInfo {
|
|
318
318
|
/**
|
|
319
319
|
* External receipt ID
|
|
320
320
|
* @maxLength 100
|
|
@@ -332,13 +332,13 @@ export interface ExternalReceiptInfo {
|
|
|
332
332
|
*/
|
|
333
333
|
displayNumber?: string | null;
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
interface Refund {
|
|
336
336
|
/**
|
|
337
337
|
* Refund ID.
|
|
338
338
|
* @format GUID
|
|
339
339
|
* @readonly
|
|
340
340
|
*/
|
|
341
|
-
|
|
341
|
+
_id?: string;
|
|
342
342
|
/**
|
|
343
343
|
* List of transactions.
|
|
344
344
|
* @maxSize 50
|
|
@@ -351,7 +351,7 @@ export interface Refund {
|
|
|
351
351
|
* @readonly
|
|
352
352
|
* @immutable
|
|
353
353
|
*/
|
|
354
|
-
|
|
354
|
+
_createdDate?: Date | null;
|
|
355
355
|
/**
|
|
356
356
|
* Aggregated refund summary.
|
|
357
357
|
* @readonly
|
|
@@ -365,7 +365,7 @@ export interface Refund {
|
|
|
365
365
|
*/
|
|
366
366
|
requestingServiceAppId?: string | null;
|
|
367
367
|
}
|
|
368
|
-
|
|
368
|
+
interface RefundTransaction {
|
|
369
369
|
/**
|
|
370
370
|
* ID of the payment associated with this refund.
|
|
371
371
|
* @format GUID
|
|
@@ -396,7 +396,7 @@ export interface RefundTransaction {
|
|
|
396
396
|
externalRefund?: boolean;
|
|
397
397
|
}
|
|
398
398
|
/** Refund transaction status. */
|
|
399
|
-
|
|
399
|
+
declare enum RefundStatus {
|
|
400
400
|
/** Refund was initiated on payment provider side. PENDING status was assigned by provider. */
|
|
401
401
|
PENDING = "PENDING",
|
|
402
402
|
/** Refund transaction succeeded. */
|
|
@@ -409,8 +409,8 @@ export declare enum RefundStatus {
|
|
|
409
409
|
STARTED = "STARTED"
|
|
410
410
|
}
|
|
411
411
|
/** @enumType */
|
|
412
|
-
|
|
413
|
-
|
|
412
|
+
type RefundStatusWithLiterals = RefundStatus | 'PENDING' | 'SUCCEEDED' | 'FAILED' | 'SCHEDULED' | 'STARTED';
|
|
413
|
+
interface RefundStatusInfo {
|
|
414
414
|
/**
|
|
415
415
|
* Reason code for the refund's current status.
|
|
416
416
|
*
|
|
@@ -427,7 +427,7 @@ export interface RefundStatusInfo {
|
|
|
427
427
|
description?: string | null;
|
|
428
428
|
}
|
|
429
429
|
/** Business model of a refund request */
|
|
430
|
-
|
|
430
|
+
interface RefundDetails {
|
|
431
431
|
/**
|
|
432
432
|
* Order line item IDs and quantities that were refunded.
|
|
433
433
|
* @maxSize 300
|
|
@@ -453,7 +453,7 @@ export interface RefundDetails {
|
|
|
453
453
|
/** Shipping amount that was refunded. */
|
|
454
454
|
shipping?: ShippingRefund;
|
|
455
455
|
}
|
|
456
|
-
|
|
456
|
+
interface RefundItem {
|
|
457
457
|
/**
|
|
458
458
|
* Line item ID the refunded line item.
|
|
459
459
|
* @format GUID
|
|
@@ -466,7 +466,7 @@ export interface RefundItem {
|
|
|
466
466
|
*/
|
|
467
467
|
quantity?: number;
|
|
468
468
|
}
|
|
469
|
-
|
|
469
|
+
interface LineItemRefund {
|
|
470
470
|
/**
|
|
471
471
|
* Line item ID.
|
|
472
472
|
* @format GUID
|
|
@@ -481,7 +481,7 @@ export interface LineItemRefund {
|
|
|
481
481
|
*/
|
|
482
482
|
quantity?: number;
|
|
483
483
|
}
|
|
484
|
-
|
|
484
|
+
interface AdditionalFeeRefund {
|
|
485
485
|
/**
|
|
486
486
|
* Additional fee ID.
|
|
487
487
|
* @format GUID
|
|
@@ -494,14 +494,14 @@ export interface AdditionalFeeRefund {
|
|
|
494
494
|
*/
|
|
495
495
|
amount?: Price;
|
|
496
496
|
}
|
|
497
|
-
|
|
497
|
+
interface ShippingRefund {
|
|
498
498
|
/**
|
|
499
499
|
* Refund amount.
|
|
500
500
|
* @immutable
|
|
501
501
|
*/
|
|
502
502
|
amount?: Price;
|
|
503
503
|
}
|
|
504
|
-
|
|
504
|
+
interface AggregatedRefundSummary {
|
|
505
505
|
/** Total amount requested for refund. */
|
|
506
506
|
requestedRefund?: Price;
|
|
507
507
|
/** Pending refund amount - the portion of `requestedRefund` that is still pending. */
|
|
@@ -515,14 +515,14 @@ export interface AggregatedRefundSummary {
|
|
|
515
515
|
/** Breakdown of refunded items. Available only after refund is complete. */
|
|
516
516
|
breakdown?: RefundItemsBreakdown;
|
|
517
517
|
}
|
|
518
|
-
|
|
518
|
+
interface RefundItemsBreakdown {
|
|
519
519
|
/**
|
|
520
520
|
* Refunded line items and the amount refunded for each.
|
|
521
521
|
* @maxSize 300
|
|
522
522
|
*/
|
|
523
523
|
lineItems?: LineItemRefundSummary[];
|
|
524
524
|
}
|
|
525
|
-
|
|
525
|
+
interface LineItemRefundSummary {
|
|
526
526
|
/**
|
|
527
527
|
* ID of the refunded line item.
|
|
528
528
|
* @format GUID
|
|
@@ -531,16 +531,16 @@ export interface LineItemRefundSummary {
|
|
|
531
531
|
/** Total refunded amount for the line item. */
|
|
532
532
|
totalRefundedAmount?: Price;
|
|
533
533
|
}
|
|
534
|
-
|
|
535
|
-
|
|
534
|
+
interface SnapshotMessage {
|
|
535
|
+
_id?: string;
|
|
536
536
|
opType?: number;
|
|
537
537
|
}
|
|
538
|
-
|
|
539
|
-
|
|
538
|
+
interface IndexingMessage {
|
|
539
|
+
_id?: string;
|
|
540
540
|
opType?: number;
|
|
541
541
|
requiredVersions?: string[];
|
|
542
542
|
}
|
|
543
|
-
|
|
543
|
+
interface DiffmatokyPayload {
|
|
544
544
|
left?: string;
|
|
545
545
|
right?: string;
|
|
546
546
|
compareChannel?: string;
|
|
@@ -548,10 +548,10 @@ export interface DiffmatokyPayload {
|
|
|
548
548
|
errorInformation?: ErrorInformation;
|
|
549
549
|
tags?: string[];
|
|
550
550
|
}
|
|
551
|
-
|
|
551
|
+
interface ErrorInformation {
|
|
552
552
|
stackTrace?: string;
|
|
553
553
|
}
|
|
554
|
-
|
|
554
|
+
interface OrderRefunded {
|
|
555
555
|
/**
|
|
556
556
|
* Refund ID.
|
|
557
557
|
* @readonly
|
|
@@ -563,13 +563,13 @@ export interface OrderRefunded {
|
|
|
563
563
|
*/
|
|
564
564
|
order?: Order;
|
|
565
565
|
}
|
|
566
|
-
|
|
566
|
+
interface Order {
|
|
567
567
|
/**
|
|
568
568
|
* Order ID (auto-generated upon order creation).
|
|
569
569
|
* @format GUID
|
|
570
570
|
* @readonly
|
|
571
571
|
*/
|
|
572
|
-
|
|
572
|
+
_id?: string | null;
|
|
573
573
|
/**
|
|
574
574
|
* Order number displayed in the owner's store (auto-generated).
|
|
575
575
|
* @readonly
|
|
@@ -678,12 +678,12 @@ export interface Order {
|
|
|
678
678
|
refunds?: V2Refund[];
|
|
679
679
|
}
|
|
680
680
|
/** Buyer Info */
|
|
681
|
-
|
|
681
|
+
interface BuyerInfo {
|
|
682
682
|
/**
|
|
683
683
|
* Wix customer ID
|
|
684
684
|
* @format GUID
|
|
685
685
|
*/
|
|
686
|
-
|
|
686
|
+
_id?: string | null;
|
|
687
687
|
/**
|
|
688
688
|
* Deprecated (use identityType instead)
|
|
689
689
|
* @readonly
|
|
@@ -713,7 +713,7 @@ export interface BuyerInfo {
|
|
|
713
713
|
*/
|
|
714
714
|
email?: string;
|
|
715
715
|
}
|
|
716
|
-
|
|
716
|
+
declare enum IdentityType {
|
|
717
717
|
UNSPECIFIED_IDENTITY_TYPE = "UNSPECIFIED_IDENTITY_TYPE",
|
|
718
718
|
/** Site member */
|
|
719
719
|
MEMBER = "MEMBER",
|
|
@@ -721,8 +721,8 @@ export declare enum IdentityType {
|
|
|
721
721
|
CONTACT = "CONTACT"
|
|
722
722
|
}
|
|
723
723
|
/** @enumType */
|
|
724
|
-
|
|
725
|
-
|
|
724
|
+
type IdentityTypeWithLiterals = IdentityType | 'UNSPECIFIED_IDENTITY_TYPE' | 'MEMBER' | 'CONTACT';
|
|
725
|
+
declare enum WeightUnit {
|
|
726
726
|
/** Weight unit can't be classified due to an error. */
|
|
727
727
|
UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
|
|
728
728
|
/** Kilograms. */
|
|
@@ -731,8 +731,8 @@ export declare enum WeightUnit {
|
|
|
731
731
|
LB = "LB"
|
|
732
732
|
}
|
|
733
733
|
/** @enumType */
|
|
734
|
-
|
|
735
|
-
|
|
734
|
+
type WeightUnitWithLiterals = WeightUnit | 'UNSPECIFIED_WEIGHT_UNIT' | 'KG' | 'LB';
|
|
735
|
+
interface Totals {
|
|
736
736
|
/**
|
|
737
737
|
* Subtotal of all the line items, before tax.
|
|
738
738
|
* @format DECIMAL_VALUE
|
|
@@ -780,7 +780,7 @@ export interface Totals {
|
|
|
780
780
|
*/
|
|
781
781
|
giftCard?: string | null;
|
|
782
782
|
}
|
|
783
|
-
|
|
783
|
+
interface BillingInfo {
|
|
784
784
|
/**
|
|
785
785
|
* Payment method used for this order
|
|
786
786
|
* @maxLength 50
|
|
@@ -812,7 +812,7 @@ export interface BillingInfo {
|
|
|
812
812
|
/** Whether order can be refunded by payment provider (manually or automatic) */
|
|
813
813
|
refundableByPaymentProvider?: boolean | null;
|
|
814
814
|
}
|
|
815
|
-
|
|
815
|
+
interface Address extends AddressAddressLine1OptionsOneOf {
|
|
816
816
|
/**
|
|
817
817
|
* Address line 1 (free text)
|
|
818
818
|
* @maxLength 1000
|
|
@@ -866,7 +866,7 @@ export interface Address extends AddressAddressLine1OptionsOneOf {
|
|
|
866
866
|
vatId?: VatId;
|
|
867
867
|
}
|
|
868
868
|
/** @oneof */
|
|
869
|
-
|
|
869
|
+
interface AddressAddressLine1OptionsOneOf {
|
|
870
870
|
/**
|
|
871
871
|
* Address line 1 (free text)
|
|
872
872
|
* @maxLength 1000
|
|
@@ -875,7 +875,7 @@ export interface AddressAddressLine1OptionsOneOf {
|
|
|
875
875
|
/** Address line 1 (street) */
|
|
876
876
|
street?: Street;
|
|
877
877
|
}
|
|
878
|
-
|
|
878
|
+
interface FullName {
|
|
879
879
|
/**
|
|
880
880
|
* Customer's first name
|
|
881
881
|
* @maxLength 1000
|
|
@@ -887,7 +887,7 @@ export interface FullName {
|
|
|
887
887
|
*/
|
|
888
888
|
lastName?: string;
|
|
889
889
|
}
|
|
890
|
-
|
|
890
|
+
interface Street {
|
|
891
891
|
/**
|
|
892
892
|
* Street number
|
|
893
893
|
* @maxLength 500
|
|
@@ -899,7 +899,7 @@ export interface Street {
|
|
|
899
899
|
*/
|
|
900
900
|
name?: string;
|
|
901
901
|
}
|
|
902
|
-
|
|
902
|
+
interface VatId {
|
|
903
903
|
/**
|
|
904
904
|
* Customer's tax ID.
|
|
905
905
|
* @maxLength 50
|
|
@@ -913,7 +913,7 @@ export interface VatId {
|
|
|
913
913
|
type?: VatTypeWithLiterals;
|
|
914
914
|
}
|
|
915
915
|
/** Brazilian tax info types */
|
|
916
|
-
|
|
916
|
+
declare enum VatType {
|
|
917
917
|
/** When the tax info type can't be classified, due to an error */
|
|
918
918
|
UNSPECIFIED_TAX_TYPE = "UNSPECIFIED_TAX_TYPE",
|
|
919
919
|
/** CPF - for individual tax payers */
|
|
@@ -922,8 +922,8 @@ export declare enum VatType {
|
|
|
922
922
|
CNPJ = "CNPJ"
|
|
923
923
|
}
|
|
924
924
|
/** @enumType */
|
|
925
|
-
|
|
926
|
-
|
|
925
|
+
type VatTypeWithLiterals = VatType | 'UNSPECIFIED_TAX_TYPE' | 'CPF' | 'CNPJ';
|
|
926
|
+
interface ShippingInfo extends ShippingInfoDetailsOneOf {
|
|
927
927
|
/** Shipment details (when this object describes shipment). */
|
|
928
928
|
shipmentDetails?: ShipmentDetails;
|
|
929
929
|
/** Pickup details (when this object describes pickup). */
|
|
@@ -956,13 +956,13 @@ export interface ShippingInfo extends ShippingInfoDetailsOneOf {
|
|
|
956
956
|
code?: string | null;
|
|
957
957
|
}
|
|
958
958
|
/** @oneof */
|
|
959
|
-
|
|
959
|
+
interface ShippingInfoDetailsOneOf {
|
|
960
960
|
/** Shipment details (when this object describes shipment). */
|
|
961
961
|
shipmentDetails?: ShipmentDetails;
|
|
962
962
|
/** Pickup details (when this object describes pickup). */
|
|
963
963
|
pickupDetails?: PickupDetails;
|
|
964
964
|
}
|
|
965
|
-
|
|
965
|
+
interface ShipmentDetails {
|
|
966
966
|
/** Shipping destination address. */
|
|
967
967
|
address?: Address;
|
|
968
968
|
/**
|
|
@@ -984,7 +984,7 @@ export interface ShipmentDetails {
|
|
|
984
984
|
/** Price data. */
|
|
985
985
|
priceData?: ShippingPriceData;
|
|
986
986
|
}
|
|
987
|
-
|
|
987
|
+
interface TrackingInfo {
|
|
988
988
|
/**
|
|
989
989
|
* Tracking number
|
|
990
990
|
* @maxLength 100
|
|
@@ -1004,7 +1004,7 @@ export interface TrackingInfo {
|
|
|
1004
1004
|
*/
|
|
1005
1005
|
trackingLink?: string | null;
|
|
1006
1006
|
}
|
|
1007
|
-
|
|
1007
|
+
interface ShippingPriceData {
|
|
1008
1008
|
/** Whether tax is included in the price. */
|
|
1009
1009
|
taxIncludedInPrice?: boolean;
|
|
1010
1010
|
/**
|
|
@@ -1013,7 +1013,7 @@ export interface ShippingPriceData {
|
|
|
1013
1013
|
*/
|
|
1014
1014
|
price?: string | null;
|
|
1015
1015
|
}
|
|
1016
|
-
|
|
1016
|
+
interface PickupDetails {
|
|
1017
1017
|
/** Pickup address. */
|
|
1018
1018
|
pickupAddress?: PickupAddress;
|
|
1019
1019
|
/**
|
|
@@ -1028,7 +1028,7 @@ export interface PickupDetails {
|
|
|
1028
1028
|
*/
|
|
1029
1029
|
pickupInstructions?: string | null;
|
|
1030
1030
|
}
|
|
1031
|
-
|
|
1031
|
+
interface PickupAddress {
|
|
1032
1032
|
/** Country code (3 letters) */
|
|
1033
1033
|
country?: string;
|
|
1034
1034
|
/**
|
|
@@ -1052,7 +1052,7 @@ export interface PickupAddress {
|
|
|
1052
1052
|
*/
|
|
1053
1053
|
zipCode?: string;
|
|
1054
1054
|
}
|
|
1055
|
-
|
|
1055
|
+
interface BuyerDetails {
|
|
1056
1056
|
/** Addressee name */
|
|
1057
1057
|
fullName?: FullName;
|
|
1058
1058
|
/**
|
|
@@ -1069,7 +1069,7 @@ export interface BuyerDetails {
|
|
|
1069
1069
|
phone?: string;
|
|
1070
1070
|
}
|
|
1071
1071
|
/** This might be extended in the future with pending orders statuses */
|
|
1072
|
-
|
|
1072
|
+
declare enum PaymentStatus {
|
|
1073
1073
|
/** Payment status can't be classified, due to an error */
|
|
1074
1074
|
UNSPECIFIED_PAYMENT_STATUS = "UNSPECIFIED_PAYMENT_STATUS",
|
|
1075
1075
|
/** Order is pending response from the payment provider */
|
|
@@ -1086,8 +1086,8 @@ export declare enum PaymentStatus {
|
|
|
1086
1086
|
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
1087
1087
|
}
|
|
1088
1088
|
/** @enumType */
|
|
1089
|
-
|
|
1090
|
-
|
|
1089
|
+
type PaymentStatusWithLiterals = PaymentStatus | 'UNSPECIFIED_PAYMENT_STATUS' | 'PENDING' | 'NOT_PAID' | 'PAID' | 'PARTIALLY_REFUNDED' | 'FULLY_REFUNDED' | 'PARTIALLY_PAID';
|
|
1090
|
+
declare enum FulfillmentStatus {
|
|
1091
1091
|
/** None of the order items are fulfilled */
|
|
1092
1092
|
NOT_FULFILLED = "NOT_FULFILLED",
|
|
1093
1093
|
/**
|
|
@@ -1101,8 +1101,8 @@ export declare enum FulfillmentStatus {
|
|
|
1101
1101
|
PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED"
|
|
1102
1102
|
}
|
|
1103
1103
|
/** @enumType */
|
|
1104
|
-
|
|
1105
|
-
|
|
1104
|
+
type FulfillmentStatusWithLiterals = FulfillmentStatus | 'NOT_FULFILLED' | 'FULFILLED' | 'CANCELED' | 'PARTIALLY_FULFILLED';
|
|
1105
|
+
interface LineItem {
|
|
1106
1106
|
/**
|
|
1107
1107
|
* Line item ID (auto-generated, stable within this order only)
|
|
1108
1108
|
* @readonly
|
|
@@ -1201,7 +1201,7 @@ export interface LineItem {
|
|
|
1201
1201
|
/** Price data */
|
|
1202
1202
|
priceData?: LineItemPriceData;
|
|
1203
1203
|
}
|
|
1204
|
-
|
|
1204
|
+
declare enum LineItemType {
|
|
1205
1205
|
/** Line item type can't be classified, due to an error */
|
|
1206
1206
|
UNSPECIFIED_LINE_ITEM_TYPE = "UNSPECIFIED_LINE_ITEM_TYPE",
|
|
1207
1207
|
/** Physical item type */
|
|
@@ -1212,8 +1212,8 @@ export declare enum LineItemType {
|
|
|
1212
1212
|
CUSTOM_AMOUNT_ITEM = "CUSTOM_AMOUNT_ITEM"
|
|
1213
1213
|
}
|
|
1214
1214
|
/** @enumType */
|
|
1215
|
-
|
|
1216
|
-
|
|
1215
|
+
type LineItemTypeWithLiterals = LineItemType | 'UNSPECIFIED_LINE_ITEM_TYPE' | 'PHYSICAL' | 'DIGITAL' | 'CUSTOM_AMOUNT_ITEM';
|
|
1216
|
+
interface OptionSelection {
|
|
1217
1217
|
/**
|
|
1218
1218
|
* Option name
|
|
1219
1219
|
* @maxLength 1000
|
|
@@ -1225,7 +1225,7 @@ export interface OptionSelection {
|
|
|
1225
1225
|
*/
|
|
1226
1226
|
selection?: string;
|
|
1227
1227
|
}
|
|
1228
|
-
|
|
1228
|
+
interface CustomTextFieldSelection {
|
|
1229
1229
|
/**
|
|
1230
1230
|
* Custom text field name
|
|
1231
1231
|
* @maxLength 1000
|
|
@@ -1237,7 +1237,7 @@ export interface CustomTextFieldSelection {
|
|
|
1237
1237
|
*/
|
|
1238
1238
|
value?: string;
|
|
1239
1239
|
}
|
|
1240
|
-
|
|
1240
|
+
interface MediaItem {
|
|
1241
1241
|
/**
|
|
1242
1242
|
* Media type
|
|
1243
1243
|
* @readonly
|
|
@@ -1265,7 +1265,7 @@ export interface MediaItem {
|
|
|
1265
1265
|
*/
|
|
1266
1266
|
mediaId?: string | null;
|
|
1267
1267
|
/** Media ID (for media items previously saved in Wix Media) */
|
|
1268
|
-
|
|
1268
|
+
_id?: string | null;
|
|
1269
1269
|
/** Media external URL */
|
|
1270
1270
|
externalImageUrl?: string | null;
|
|
1271
1271
|
/**
|
|
@@ -1274,15 +1274,15 @@ export interface MediaItem {
|
|
|
1274
1274
|
*/
|
|
1275
1275
|
altText?: string | null;
|
|
1276
1276
|
}
|
|
1277
|
-
|
|
1277
|
+
declare enum MediaItemType {
|
|
1278
1278
|
/** Media item type can't be classified, due to an error */
|
|
1279
1279
|
UNSPECIFIED_MEDIA_TYPE_ITEM = "UNSPECIFIED_MEDIA_TYPE_ITEM",
|
|
1280
1280
|
/** Image item type */
|
|
1281
1281
|
IMAGE = "IMAGE"
|
|
1282
1282
|
}
|
|
1283
1283
|
/** @enumType */
|
|
1284
|
-
|
|
1285
|
-
|
|
1284
|
+
type MediaItemTypeWithLiterals = MediaItemType | 'UNSPECIFIED_MEDIA_TYPE_ITEM' | 'IMAGE';
|
|
1285
|
+
interface LineItemPriceData {
|
|
1286
1286
|
/** Whether tax is included in the price set for this line item */
|
|
1287
1287
|
taxIncludedInPrice?: boolean;
|
|
1288
1288
|
/**
|
|
@@ -1297,7 +1297,7 @@ export interface LineItemPriceData {
|
|
|
1297
1297
|
*/
|
|
1298
1298
|
totalPrice?: string | null;
|
|
1299
1299
|
}
|
|
1300
|
-
|
|
1300
|
+
interface DigitalFile {
|
|
1301
1301
|
/**
|
|
1302
1302
|
* id of the secure file in media
|
|
1303
1303
|
* @minLength 1
|
|
@@ -1305,7 +1305,7 @@ export interface DigitalFile {
|
|
|
1305
1305
|
*/
|
|
1306
1306
|
fileId?: string;
|
|
1307
1307
|
}
|
|
1308
|
-
|
|
1308
|
+
interface Activity {
|
|
1309
1309
|
/**
|
|
1310
1310
|
* Activity item type
|
|
1311
1311
|
* @readonly
|
|
@@ -1329,7 +1329,7 @@ export interface Activity {
|
|
|
1329
1329
|
*/
|
|
1330
1330
|
timestamp?: Date | null;
|
|
1331
1331
|
}
|
|
1332
|
-
|
|
1332
|
+
declare enum ActivityType {
|
|
1333
1333
|
/** Activity item type can't be classified, due to an error */
|
|
1334
1334
|
UNSPECIFIED_ORDER_HISTORY_ITEM_TYPE = "UNSPECIFIED_ORDER_HISTORY_ITEM_TYPE",
|
|
1335
1335
|
/** Store owner added a comment */
|
|
@@ -1370,31 +1370,31 @@ export declare enum ActivityType {
|
|
|
1370
1370
|
ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID"
|
|
1371
1371
|
}
|
|
1372
1372
|
/** @enumType */
|
|
1373
|
-
|
|
1374
|
-
|
|
1373
|
+
type ActivityTypeWithLiterals = ActivityType | 'UNSPECIFIED_ORDER_HISTORY_ITEM_TYPE' | 'MERCHANT_COMMENT' | 'ORDER_PLACED' | 'ORDER_PAID' | 'ORDER_FULFILLED' | 'ORDER_NOT_FULFILLED' | 'DOWNLOAD_LINK_SENT' | 'PICKUP_READY_EMAIL_SENT' | 'TRACKING_NUMBER_ADDED' | 'TRACKING_NUMBER_EDITED' | 'TRACKING_LINK_WAS_SET' | 'SHIPPING_CONFIRMATION_EMAIL_SENT' | 'INVOICE_WAS_SET' | 'INVOICE_WAS_REMOVED' | 'INVOICE_WAS_SENT' | 'FULFILLER_EMAIL_SENT' | 'SHIPPING_ADDRESS_EDITED' | 'EMAIL_EDITED' | 'ORDER_PARTIALLY_PAID';
|
|
1374
|
+
interface V2InvoiceInfo {
|
|
1375
1375
|
/**
|
|
1376
1376
|
* Invoice ID
|
|
1377
1377
|
* @maxLength 100
|
|
1378
1378
|
*/
|
|
1379
|
-
|
|
1379
|
+
_id?: string;
|
|
1380
1380
|
/** Invoice source */
|
|
1381
1381
|
source?: InvoiceSourceWithLiterals;
|
|
1382
1382
|
}
|
|
1383
|
-
|
|
1383
|
+
declare enum InvoiceSource {
|
|
1384
1384
|
/** Invoice source can't be classified, due to an error */
|
|
1385
1385
|
UNSPECIFIED_INVOICE_SOURCE = "UNSPECIFIED_INVOICE_SOURCE",
|
|
1386
1386
|
/** Invoice created using the Invoices API */
|
|
1387
1387
|
WIX = "WIX"
|
|
1388
1388
|
}
|
|
1389
1389
|
/** @enumType */
|
|
1390
|
-
|
|
1391
|
-
|
|
1390
|
+
type InvoiceSourceWithLiterals = InvoiceSource | 'UNSPECIFIED_INVOICE_SOURCE' | 'WIX';
|
|
1391
|
+
interface Fulfillment {
|
|
1392
1392
|
/**
|
|
1393
1393
|
* Fulfillment ID (auto generated upon fulfillment creation).
|
|
1394
1394
|
* @format GUID
|
|
1395
1395
|
* @readonly
|
|
1396
1396
|
*/
|
|
1397
|
-
|
|
1397
|
+
_id?: string | null;
|
|
1398
1398
|
/**
|
|
1399
1399
|
* Fulfillment creation date and time.
|
|
1400
1400
|
* @readonly
|
|
@@ -1409,7 +1409,7 @@ export interface Fulfillment {
|
|
|
1409
1409
|
/** Tracking information. */
|
|
1410
1410
|
trackingInfo?: FulfillmentTrackingInfo;
|
|
1411
1411
|
}
|
|
1412
|
-
|
|
1412
|
+
interface FulfillmentLineItem {
|
|
1413
1413
|
/**
|
|
1414
1414
|
* Line item ID (mirrors the line item index of the order).
|
|
1415
1415
|
* @min 1
|
|
@@ -1426,7 +1426,7 @@ export interface FulfillmentLineItem {
|
|
|
1426
1426
|
*/
|
|
1427
1427
|
quantity?: number | null;
|
|
1428
1428
|
}
|
|
1429
|
-
|
|
1429
|
+
interface FulfillmentTrackingInfo {
|
|
1430
1430
|
/**
|
|
1431
1431
|
* Tracking number.
|
|
1432
1432
|
* @minLength 1
|
|
@@ -1452,7 +1452,7 @@ export interface FulfillmentTrackingInfo {
|
|
|
1452
1452
|
*/
|
|
1453
1453
|
trackingLink?: string | null;
|
|
1454
1454
|
}
|
|
1455
|
-
|
|
1455
|
+
interface Discount {
|
|
1456
1456
|
/**
|
|
1457
1457
|
* Deprecated (use Totals.discount instead)
|
|
1458
1458
|
* @readonly
|
|
@@ -1462,7 +1462,7 @@ export interface Discount {
|
|
|
1462
1462
|
/** Applied coupon */
|
|
1463
1463
|
appliedCoupon?: AppliedCoupon;
|
|
1464
1464
|
}
|
|
1465
|
-
|
|
1465
|
+
interface AppliedCoupon {
|
|
1466
1466
|
/**
|
|
1467
1467
|
* Coupon ID
|
|
1468
1468
|
* @minLength 1
|
|
@@ -1481,7 +1481,7 @@ export interface AppliedCoupon {
|
|
|
1481
1481
|
code?: string;
|
|
1482
1482
|
}
|
|
1483
1483
|
/** Custom field */
|
|
1484
|
-
|
|
1484
|
+
interface CustomField {
|
|
1485
1485
|
/**
|
|
1486
1486
|
* Free text that the customer entered in the custom field during the checkout process
|
|
1487
1487
|
* @maxLength 2000
|
|
@@ -1498,7 +1498,7 @@ export interface CustomField {
|
|
|
1498
1498
|
*/
|
|
1499
1499
|
translatedTitle?: string;
|
|
1500
1500
|
}
|
|
1501
|
-
|
|
1501
|
+
interface ChannelInfo {
|
|
1502
1502
|
/** Sales channel that submitted the order */
|
|
1503
1503
|
type?: ChannelTypeWithLiterals;
|
|
1504
1504
|
/**
|
|
@@ -1512,7 +1512,7 @@ export interface ChannelInfo {
|
|
|
1512
1512
|
*/
|
|
1513
1513
|
externalOrderUrl?: string | null;
|
|
1514
1514
|
}
|
|
1515
|
-
|
|
1515
|
+
declare enum ChannelType {
|
|
1516
1516
|
UNSPECIFIED = "UNSPECIFIED",
|
|
1517
1517
|
WEB = "WEB",
|
|
1518
1518
|
POS = "POS",
|
|
@@ -1531,26 +1531,26 @@ export declare enum ChannelType {
|
|
|
1531
1531
|
FAIRE_COM = "FAIRE_COM"
|
|
1532
1532
|
}
|
|
1533
1533
|
/** @enumType */
|
|
1534
|
-
|
|
1535
|
-
|
|
1534
|
+
type ChannelTypeWithLiterals = ChannelType | 'UNSPECIFIED' | 'WEB' | 'POS' | 'EBAY' | 'AMAZON' | 'OTHER_PLATFORM' | 'WIX_APP_STORE' | 'WIX_INVOICES' | 'BACKOFFICE_MERCHANT' | 'WISH' | 'CLASS_PASS' | 'GLOBAL_E' | 'FACEBOOK' | 'ETSY' | 'TIKTOK' | 'FAIRE_COM';
|
|
1535
|
+
interface EnteredBy {
|
|
1536
1536
|
/** @format GUID */
|
|
1537
|
-
|
|
1537
|
+
_id?: string;
|
|
1538
1538
|
identityType?: EnteredByIdentityTypeWithLiterals;
|
|
1539
1539
|
}
|
|
1540
|
-
|
|
1540
|
+
declare enum EnteredByIdentityType {
|
|
1541
1541
|
USER = "USER",
|
|
1542
1542
|
MEMBER = "MEMBER",
|
|
1543
1543
|
CONTACT = "CONTACT",
|
|
1544
1544
|
APP = "APP"
|
|
1545
1545
|
}
|
|
1546
1546
|
/** @enumType */
|
|
1547
|
-
|
|
1548
|
-
|
|
1547
|
+
type EnteredByIdentityTypeWithLiterals = EnteredByIdentityType | 'USER' | 'MEMBER' | 'CONTACT' | 'APP';
|
|
1548
|
+
interface SubscriptionInfo {
|
|
1549
1549
|
/**
|
|
1550
1550
|
* Subscription ID.
|
|
1551
1551
|
* @format GUID
|
|
1552
1552
|
*/
|
|
1553
|
-
|
|
1553
|
+
_id?: string | null;
|
|
1554
1554
|
/**
|
|
1555
1555
|
* Current cycle number. For example, if the subscription is in the 3rd month of a 4-month subscription, the value will be `3`.
|
|
1556
1556
|
* @min 1
|
|
@@ -1561,7 +1561,7 @@ export interface SubscriptionInfo {
|
|
|
1561
1561
|
/** Subscription options info. */
|
|
1562
1562
|
subscriptionOptionInfo?: SubscriptionOptionInfo;
|
|
1563
1563
|
}
|
|
1564
|
-
|
|
1564
|
+
interface SubscriptionSettings {
|
|
1565
1565
|
/** Frequency of recurring payment. */
|
|
1566
1566
|
frequency?: SubscriptionFrequencyWithLiterals;
|
|
1567
1567
|
/** Whether subscription is renewed automatically at the end of each period. */
|
|
@@ -1574,7 +1574,7 @@ export interface SubscriptionSettings {
|
|
|
1574
1574
|
billingCycles?: number | null;
|
|
1575
1575
|
}
|
|
1576
1576
|
/** Frequency unit of recurring payment */
|
|
1577
|
-
|
|
1577
|
+
declare enum SubscriptionFrequency {
|
|
1578
1578
|
UNDEFINED = "UNDEFINED",
|
|
1579
1579
|
DAY = "DAY",
|
|
1580
1580
|
WEEK = "WEEK",
|
|
@@ -1582,8 +1582,8 @@ export declare enum SubscriptionFrequency {
|
|
|
1582
1582
|
YEAR = "YEAR"
|
|
1583
1583
|
}
|
|
1584
1584
|
/** @enumType */
|
|
1585
|
-
|
|
1586
|
-
|
|
1585
|
+
type SubscriptionFrequencyWithLiterals = SubscriptionFrequency | 'UNDEFINED' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
|
|
1586
|
+
interface SubscriptionOptionInfo {
|
|
1587
1587
|
/**
|
|
1588
1588
|
* Subscription option title.
|
|
1589
1589
|
* @minLength 1
|
|
@@ -1596,7 +1596,7 @@ export interface SubscriptionOptionInfo {
|
|
|
1596
1596
|
*/
|
|
1597
1597
|
description?: string | null;
|
|
1598
1598
|
}
|
|
1599
|
-
|
|
1599
|
+
interface V2Refund {
|
|
1600
1600
|
/** Refund created timestamp. */
|
|
1601
1601
|
dateCreated?: Date | null;
|
|
1602
1602
|
/**
|
|
@@ -1612,11 +1612,11 @@ export interface V2Refund {
|
|
|
1612
1612
|
* Refund ID.
|
|
1613
1613
|
* @format GUID
|
|
1614
1614
|
*/
|
|
1615
|
-
|
|
1615
|
+
_id?: string;
|
|
1616
1616
|
/** Whether refund was made externally (on the payment provider's side). */
|
|
1617
1617
|
externalRefund?: boolean;
|
|
1618
1618
|
}
|
|
1619
|
-
|
|
1619
|
+
interface GiftCard {
|
|
1620
1620
|
/**
|
|
1621
1621
|
* @minLength 1
|
|
1622
1622
|
* @maxLength 100
|
|
@@ -1628,7 +1628,7 @@ export interface GiftCard {
|
|
|
1628
1628
|
* @deprecated giftcard internal ID
|
|
1629
1629
|
* @targetRemovalDate 2024-12-31
|
|
1630
1630
|
*/
|
|
1631
|
-
|
|
1631
|
+
_id?: string;
|
|
1632
1632
|
/**
|
|
1633
1633
|
* giftcard provider appid
|
|
1634
1634
|
* @format GUID
|
|
@@ -1641,7 +1641,7 @@ export interface GiftCard {
|
|
|
1641
1641
|
amount?: string;
|
|
1642
1642
|
}
|
|
1643
1643
|
/** Triggered when a payment is updated. */
|
|
1644
|
-
|
|
1644
|
+
interface PaymentsUpdated {
|
|
1645
1645
|
/** Updated order transactions. */
|
|
1646
1646
|
orderTransactions?: OrderTransactions;
|
|
1647
1647
|
/**
|
|
@@ -1656,7 +1656,7 @@ export interface PaymentsUpdated {
|
|
|
1656
1656
|
refundIds?: string[];
|
|
1657
1657
|
}
|
|
1658
1658
|
/** Triggered when a payment is updated. */
|
|
1659
|
-
|
|
1659
|
+
interface PaymentDetailsUpdated {
|
|
1660
1660
|
/** Updated order transactions. */
|
|
1661
1661
|
orderTransactions?: OrderTransactions;
|
|
1662
1662
|
/**
|
|
@@ -1673,7 +1673,7 @@ export interface PaymentDetailsUpdated {
|
|
|
1673
1673
|
refundIds?: string[];
|
|
1674
1674
|
}
|
|
1675
1675
|
/** Triggered when a refund is created. */
|
|
1676
|
-
|
|
1676
|
+
interface RefundCreated {
|
|
1677
1677
|
/** Updated order transactions. */
|
|
1678
1678
|
orderTransactions?: OrderTransactions;
|
|
1679
1679
|
/** ID of the created refund. */
|
|
@@ -1687,7 +1687,7 @@ export interface RefundCreated {
|
|
|
1687
1687
|
/** Refunded line items and quantities that are part of the created refund. */
|
|
1688
1688
|
refundItems?: RefundItem[];
|
|
1689
1689
|
}
|
|
1690
|
-
|
|
1690
|
+
interface RestockInfo {
|
|
1691
1691
|
/** Restock type. */
|
|
1692
1692
|
type?: RestockTypeWithLiterals;
|
|
1693
1693
|
/**
|
|
@@ -1696,14 +1696,14 @@ export interface RestockInfo {
|
|
|
1696
1696
|
*/
|
|
1697
1697
|
items?: RestockItem[];
|
|
1698
1698
|
}
|
|
1699
|
-
|
|
1699
|
+
declare enum RestockType {
|
|
1700
1700
|
NO_ITEMS = "NO_ITEMS",
|
|
1701
1701
|
ALL_ITEMS = "ALL_ITEMS",
|
|
1702
1702
|
SOME_ITEMS = "SOME_ITEMS"
|
|
1703
1703
|
}
|
|
1704
1704
|
/** @enumType */
|
|
1705
|
-
|
|
1706
|
-
|
|
1705
|
+
type RestockTypeWithLiterals = RestockType | 'NO_ITEMS' | 'ALL_ITEMS' | 'SOME_ITEMS';
|
|
1706
|
+
interface RestockItem {
|
|
1707
1707
|
/**
|
|
1708
1708
|
* ID of the line item being restocked.
|
|
1709
1709
|
* @format GUID
|
|
@@ -1716,7 +1716,7 @@ export interface RestockItem {
|
|
|
1716
1716
|
*/
|
|
1717
1717
|
quantity?: number;
|
|
1718
1718
|
}
|
|
1719
|
-
|
|
1719
|
+
interface RefundCompleted {
|
|
1720
1720
|
/**
|
|
1721
1721
|
* Order ID.
|
|
1722
1722
|
* @format GUID
|
|
@@ -1729,7 +1729,7 @@ export interface RefundCompleted {
|
|
|
1729
1729
|
/** Order transactions after refund is completed. */
|
|
1730
1730
|
orderTransactions?: OrderTransactions;
|
|
1731
1731
|
}
|
|
1732
|
-
|
|
1732
|
+
interface RefundSideEffects {
|
|
1733
1733
|
/** Inventory restock details as part of this refund. */
|
|
1734
1734
|
restockInfo?: RestockInfo;
|
|
1735
1735
|
/** Whether to send a refund confirmation email to the customer. */
|
|
@@ -1741,7 +1741,7 @@ export interface RefundSideEffects {
|
|
|
1741
1741
|
*/
|
|
1742
1742
|
customMessage?: string | null;
|
|
1743
1743
|
}
|
|
1744
|
-
|
|
1744
|
+
interface ListTransactionsForSingleOrderRequest {
|
|
1745
1745
|
/**
|
|
1746
1746
|
* Order ID.
|
|
1747
1747
|
* @minLength 1
|
|
@@ -1749,11 +1749,11 @@ export interface ListTransactionsForSingleOrderRequest {
|
|
|
1749
1749
|
*/
|
|
1750
1750
|
orderId: string;
|
|
1751
1751
|
}
|
|
1752
|
-
|
|
1752
|
+
interface ListTransactionsForSingleOrderResponse {
|
|
1753
1753
|
/** Order ID and its associated transactions. */
|
|
1754
1754
|
orderTransactions?: OrderTransactions;
|
|
1755
1755
|
}
|
|
1756
|
-
|
|
1756
|
+
interface ListTransactionsForMultipleOrdersRequest {
|
|
1757
1757
|
/**
|
|
1758
1758
|
* Order IDs for which to retrieve transactions.
|
|
1759
1759
|
* @minSize 1
|
|
@@ -1763,11 +1763,11 @@ export interface ListTransactionsForMultipleOrdersRequest {
|
|
|
1763
1763
|
*/
|
|
1764
1764
|
orderIds: string[];
|
|
1765
1765
|
}
|
|
1766
|
-
|
|
1766
|
+
interface ListTransactionsForMultipleOrdersResponse {
|
|
1767
1767
|
/** List of order IDs and their associated transactions. */
|
|
1768
1768
|
orderTransactions?: OrderTransactions[];
|
|
1769
1769
|
}
|
|
1770
|
-
|
|
1770
|
+
interface AddPaymentsRequest {
|
|
1771
1771
|
/**
|
|
1772
1772
|
* Order ID.
|
|
1773
1773
|
* @format GUID
|
|
@@ -1780,13 +1780,13 @@ export interface AddPaymentsRequest {
|
|
|
1780
1780
|
*/
|
|
1781
1781
|
payments: Payment[];
|
|
1782
1782
|
}
|
|
1783
|
-
|
|
1783
|
+
interface AddPaymentsResponse {
|
|
1784
1784
|
/** Order ID and its associated transactions. */
|
|
1785
1785
|
orderTransactions?: OrderTransactions;
|
|
1786
1786
|
/** IDs of added order payments. */
|
|
1787
1787
|
paymentsIds?: string[];
|
|
1788
1788
|
}
|
|
1789
|
-
|
|
1789
|
+
interface AddRefundRequest {
|
|
1790
1790
|
/**
|
|
1791
1791
|
* Order ID this refunds related to
|
|
1792
1792
|
* @minLength 1
|
|
@@ -1798,13 +1798,13 @@ export interface AddRefundRequest {
|
|
|
1798
1798
|
/** Side effect details related to refund */
|
|
1799
1799
|
sideEffects?: RefundSideEffects;
|
|
1800
1800
|
}
|
|
1801
|
-
|
|
1801
|
+
interface AddRefundResponse {
|
|
1802
1802
|
/** Order ID and its associated transactions. */
|
|
1803
1803
|
orderTransactions?: OrderTransactions;
|
|
1804
1804
|
/** Created refund ID */
|
|
1805
1805
|
refundId?: string;
|
|
1806
1806
|
}
|
|
1807
|
-
|
|
1807
|
+
interface UpdatePaymentStatusRequest {
|
|
1808
1808
|
/**
|
|
1809
1809
|
* Order ID.
|
|
1810
1810
|
* @format GUID
|
|
@@ -1818,11 +1818,11 @@ export interface UpdatePaymentStatusRequest {
|
|
|
1818
1818
|
/** Payment status. */
|
|
1819
1819
|
status?: TransactionStatusWithLiterals;
|
|
1820
1820
|
}
|
|
1821
|
-
|
|
1821
|
+
interface UpdatePaymentStatusResponse {
|
|
1822
1822
|
/** Order ID and its associated transactions after update. */
|
|
1823
1823
|
orderTransactions?: OrderTransactions;
|
|
1824
1824
|
}
|
|
1825
|
-
|
|
1825
|
+
interface BulkUpdatePaymentStatusesRequest {
|
|
1826
1826
|
/**
|
|
1827
1827
|
* Order and payment IDs for which to update payment status.
|
|
1828
1828
|
* @minSize 1
|
|
@@ -1834,7 +1834,7 @@ export interface BulkUpdatePaymentStatusesRequest {
|
|
|
1834
1834
|
/** Payment status. */
|
|
1835
1835
|
status?: TransactionStatusWithLiterals;
|
|
1836
1836
|
}
|
|
1837
|
-
|
|
1837
|
+
interface PaymentAndOrderId {
|
|
1838
1838
|
/**
|
|
1839
1839
|
* Order ID.
|
|
1840
1840
|
* @format GUID
|
|
@@ -1846,21 +1846,21 @@ export interface PaymentAndOrderId {
|
|
|
1846
1846
|
*/
|
|
1847
1847
|
paymentId?: string;
|
|
1848
1848
|
}
|
|
1849
|
-
|
|
1849
|
+
interface BulkUpdatePaymentStatusesResponse {
|
|
1850
1850
|
/** Bulk operation results. */
|
|
1851
1851
|
results?: BulkPaymentResult[];
|
|
1852
1852
|
/** Bulk operation metadata. */
|
|
1853
1853
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1854
1854
|
}
|
|
1855
|
-
|
|
1855
|
+
interface BulkPaymentResult {
|
|
1856
1856
|
/** Item metadata. */
|
|
1857
1857
|
itemMetadata?: ItemMetadata;
|
|
1858
1858
|
/** Updated payment. Returned if `return_full_entity` set to `true`. */
|
|
1859
1859
|
item?: Payment;
|
|
1860
1860
|
}
|
|
1861
|
-
|
|
1861
|
+
interface ItemMetadata {
|
|
1862
1862
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
1863
|
-
|
|
1863
|
+
_id?: string | null;
|
|
1864
1864
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
1865
1865
|
originalIndex?: number;
|
|
1866
1866
|
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
@@ -1868,7 +1868,7 @@ export interface ItemMetadata {
|
|
|
1868
1868
|
/** Details about the error in case of failure. */
|
|
1869
1869
|
error?: ApplicationError;
|
|
1870
1870
|
}
|
|
1871
|
-
|
|
1871
|
+
interface ApplicationError {
|
|
1872
1872
|
/** Error code. */
|
|
1873
1873
|
code?: string;
|
|
1874
1874
|
/** Description of the error. */
|
|
@@ -1876,7 +1876,7 @@ export interface ApplicationError {
|
|
|
1876
1876
|
/** Data related to the error. */
|
|
1877
1877
|
data?: Record<string, any> | null;
|
|
1878
1878
|
}
|
|
1879
|
-
|
|
1879
|
+
interface BulkActionMetadata {
|
|
1880
1880
|
/** Number of items that were successfully processed. */
|
|
1881
1881
|
totalSuccesses?: number;
|
|
1882
1882
|
/** Number of items that couldn't be processed. */
|
|
@@ -1884,7 +1884,7 @@ export interface BulkActionMetadata {
|
|
|
1884
1884
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
1885
1885
|
undetailedFailures?: number;
|
|
1886
1886
|
}
|
|
1887
|
-
|
|
1887
|
+
interface UpdateRefundRequest {
|
|
1888
1888
|
/**
|
|
1889
1889
|
* Order ID.
|
|
1890
1890
|
* @format GUID
|
|
@@ -1893,25 +1893,25 @@ export interface UpdateRefundRequest {
|
|
|
1893
1893
|
/** Refund with updated field values. */
|
|
1894
1894
|
refund?: Refund;
|
|
1895
1895
|
}
|
|
1896
|
-
|
|
1896
|
+
interface UpdateRefundResponse {
|
|
1897
1897
|
/** Refund after update. */
|
|
1898
1898
|
refund?: Refund;
|
|
1899
1899
|
/** Order transactions after update. */
|
|
1900
1900
|
orderTransactions?: OrderTransactions;
|
|
1901
1901
|
}
|
|
1902
|
-
|
|
1902
|
+
interface UpdateRefundTransactionRequest {
|
|
1903
1903
|
}
|
|
1904
|
-
|
|
1904
|
+
interface UpdateRefundTransactionResponse {
|
|
1905
1905
|
}
|
|
1906
|
-
|
|
1906
|
+
interface UpdatePaymentsRequest {
|
|
1907
1907
|
}
|
|
1908
|
-
|
|
1908
|
+
interface MaskedPayment {
|
|
1909
1909
|
}
|
|
1910
|
-
|
|
1910
|
+
interface UpdatePaymentsResponse {
|
|
1911
1911
|
}
|
|
1912
|
-
|
|
1912
|
+
interface QueryOrderTransactionsRequest {
|
|
1913
1913
|
}
|
|
1914
|
-
|
|
1914
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
1915
1915
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
1916
1916
|
cursorPaging?: CursorPaging;
|
|
1917
1917
|
/** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
@@ -1924,11 +1924,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
1924
1924
|
sort?: Sorting[];
|
|
1925
1925
|
}
|
|
1926
1926
|
/** @oneof */
|
|
1927
|
-
|
|
1927
|
+
interface CursorQueryPagingMethodOneOf {
|
|
1928
1928
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
1929
1929
|
cursorPaging?: CursorPaging;
|
|
1930
1930
|
}
|
|
1931
|
-
|
|
1931
|
+
interface Sorting {
|
|
1932
1932
|
/**
|
|
1933
1933
|
* Name of the field to sort by.
|
|
1934
1934
|
* @maxLength 512
|
|
@@ -1937,15 +1937,15 @@ export interface Sorting {
|
|
|
1937
1937
|
/** Sort order. */
|
|
1938
1938
|
order?: SortOrderWithLiterals;
|
|
1939
1939
|
}
|
|
1940
|
-
|
|
1940
|
+
declare enum SortOrder {
|
|
1941
1941
|
/** Ascending order. */
|
|
1942
1942
|
ASC = "ASC",
|
|
1943
1943
|
/** Descending order. */
|
|
1944
1944
|
DESC = "DESC"
|
|
1945
1945
|
}
|
|
1946
1946
|
/** @enumType */
|
|
1947
|
-
|
|
1948
|
-
|
|
1947
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
1948
|
+
interface CursorPaging {
|
|
1949
1949
|
/**
|
|
1950
1950
|
* Maximum number of items to return in the results.
|
|
1951
1951
|
* @max 100
|
|
@@ -1960,9 +1960,9 @@ export interface CursorPaging {
|
|
|
1960
1960
|
*/
|
|
1961
1961
|
cursor?: string | null;
|
|
1962
1962
|
}
|
|
1963
|
-
|
|
1963
|
+
interface QueryOrderTransactionsResponse {
|
|
1964
1964
|
}
|
|
1965
|
-
|
|
1965
|
+
interface CursorPagingMetadata {
|
|
1966
1966
|
/** Number of items returned in the response. */
|
|
1967
1967
|
count?: number | null;
|
|
1968
1968
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -1975,7 +1975,7 @@ export interface CursorPagingMetadata {
|
|
|
1975
1975
|
*/
|
|
1976
1976
|
hasNext?: boolean | null;
|
|
1977
1977
|
}
|
|
1978
|
-
|
|
1978
|
+
interface Cursors {
|
|
1979
1979
|
/**
|
|
1980
1980
|
* Cursor string pointing to the next page in the list of results.
|
|
1981
1981
|
* @maxLength 16000
|
|
@@ -1987,7 +1987,7 @@ export interface Cursors {
|
|
|
1987
1987
|
*/
|
|
1988
1988
|
prev?: string | null;
|
|
1989
1989
|
}
|
|
1990
|
-
|
|
1990
|
+
interface TriggerRefundRequest {
|
|
1991
1991
|
/**
|
|
1992
1992
|
* The order this refund related to
|
|
1993
1993
|
* @minLength 1
|
|
@@ -2014,7 +2014,7 @@ export interface TriggerRefundRequest {
|
|
|
2014
2014
|
*/
|
|
2015
2015
|
customMessage?: string | null;
|
|
2016
2016
|
}
|
|
2017
|
-
|
|
2017
|
+
interface PaymentRefund {
|
|
2018
2018
|
/**
|
|
2019
2019
|
* Specific payment within the order to refund
|
|
2020
2020
|
* @format GUID
|
|
@@ -2029,13 +2029,13 @@ export interface PaymentRefund {
|
|
|
2029
2029
|
*/
|
|
2030
2030
|
externalRefund?: boolean;
|
|
2031
2031
|
}
|
|
2032
|
-
|
|
2032
|
+
interface TriggerRefundResponse {
|
|
2033
2033
|
/** All order's transactions after the refunds were added */
|
|
2034
2034
|
orderTransactions?: OrderTransactions;
|
|
2035
2035
|
/** Created refund ID */
|
|
2036
2036
|
refundId?: string;
|
|
2037
2037
|
}
|
|
2038
|
-
|
|
2038
|
+
interface CalculateRefundRequest {
|
|
2039
2039
|
/**
|
|
2040
2040
|
* Order ID
|
|
2041
2041
|
* @minLength 1
|
|
@@ -2050,7 +2050,7 @@ export interface CalculateRefundRequest {
|
|
|
2050
2050
|
/** Should include shipping in refund calculation */
|
|
2051
2051
|
refundShipping?: boolean;
|
|
2052
2052
|
}
|
|
2053
|
-
|
|
2053
|
+
interface CalculateRefundItemRequest {
|
|
2054
2054
|
/**
|
|
2055
2055
|
* ID of the line item being refunded
|
|
2056
2056
|
* @format GUID
|
|
@@ -2065,7 +2065,7 @@ export interface CalculateRefundItemRequest {
|
|
|
2065
2065
|
/** Should this item be restocked (used for validation purposes) */
|
|
2066
2066
|
restock?: boolean;
|
|
2067
2067
|
}
|
|
2068
|
-
|
|
2068
|
+
interface CalculateRefundResponse {
|
|
2069
2069
|
/**
|
|
2070
2070
|
* Total refundable amount
|
|
2071
2071
|
* @format DECIMAL_VALUE
|
|
@@ -2094,13 +2094,13 @@ export interface CalculateRefundResponse {
|
|
|
2094
2094
|
/** The refundable items of that order */
|
|
2095
2095
|
items?: CalculateRefundItemResponse[];
|
|
2096
2096
|
}
|
|
2097
|
-
|
|
2097
|
+
interface CalculateRefundItemResponse {
|
|
2098
2098
|
/** Line item ID */
|
|
2099
2099
|
lineItemId?: string;
|
|
2100
2100
|
/** The line item's price */
|
|
2101
2101
|
lineItemPrice?: number;
|
|
2102
2102
|
}
|
|
2103
|
-
|
|
2103
|
+
interface GetRefundabilityStatusRequest {
|
|
2104
2104
|
/**
|
|
2105
2105
|
* Order ID.
|
|
2106
2106
|
* @minLength 1
|
|
@@ -2108,7 +2108,7 @@ export interface GetRefundabilityStatusRequest {
|
|
|
2108
2108
|
*/
|
|
2109
2109
|
orderId?: string;
|
|
2110
2110
|
}
|
|
2111
|
-
|
|
2111
|
+
interface GetRefundabilityStatusResponse {
|
|
2112
2112
|
/**
|
|
2113
2113
|
* Refundability details.
|
|
2114
2114
|
* @maxSize 1
|
|
@@ -2117,7 +2117,7 @@ export interface GetRefundabilityStatusResponse {
|
|
|
2117
2117
|
/** Whether the order supports refunding per item. */
|
|
2118
2118
|
refundablePerItem?: boolean;
|
|
2119
2119
|
}
|
|
2120
|
-
|
|
2120
|
+
interface Refundability extends RefundabilityAdditionalRefundabilityInfoOneOf {
|
|
2121
2121
|
/** Reason why payment is not refundable. */
|
|
2122
2122
|
nonRefundableReason?: NonRefundableReasonWithLiterals;
|
|
2123
2123
|
/** Reason why payment is only refundable manually. */
|
|
@@ -2130,13 +2130,13 @@ export interface Refundability extends RefundabilityAdditionalRefundabilityInfoO
|
|
|
2130
2130
|
providerLink?: string | null;
|
|
2131
2131
|
}
|
|
2132
2132
|
/** @oneof */
|
|
2133
|
-
|
|
2133
|
+
interface RefundabilityAdditionalRefundabilityInfoOneOf {
|
|
2134
2134
|
/** Reason why payment is not refundable. */
|
|
2135
2135
|
nonRefundableReason?: NonRefundableReasonWithLiterals;
|
|
2136
2136
|
/** Reason why payment is only refundable manually. */
|
|
2137
2137
|
manuallyRefundableReason?: ManuallyRefundableReasonWithLiterals;
|
|
2138
2138
|
}
|
|
2139
|
-
|
|
2139
|
+
declare enum RefundableStatus {
|
|
2140
2140
|
/** Not refundable. */
|
|
2141
2141
|
NOT_REFUNDABLE = "NOT_REFUNDABLE",
|
|
2142
2142
|
/** Refundable manually. */
|
|
@@ -2145,8 +2145,8 @@ export declare enum RefundableStatus {
|
|
|
2145
2145
|
REFUNDABLE = "REFUNDABLE"
|
|
2146
2146
|
}
|
|
2147
2147
|
/** @enumType */
|
|
2148
|
-
|
|
2149
|
-
|
|
2148
|
+
type RefundableStatusWithLiterals = RefundableStatus | 'NOT_REFUNDABLE' | 'MANUAL' | 'REFUNDABLE';
|
|
2149
|
+
declare enum NonRefundableReason {
|
|
2150
2150
|
/** No reason. */
|
|
2151
2151
|
NONE = "NONE",
|
|
2152
2152
|
/** Payment already refunded. */
|
|
@@ -2173,8 +2173,8 @@ export declare enum NonRefundableReason {
|
|
|
2173
2173
|
FORBIDDEN = "FORBIDDEN"
|
|
2174
2174
|
}
|
|
2175
2175
|
/** @enumType */
|
|
2176
|
-
|
|
2177
|
-
|
|
2176
|
+
type NonRefundableReasonWithLiterals = NonRefundableReason | 'NONE' | 'ALREADY_REFUNDED' | 'PROVIDER_IS_DOWN' | 'INTERNAL_ERROR' | 'NOT_PAID' | 'ACCESS_DENIED' | 'ZERO_PRICE' | 'DISABLED_BY_PROVIDER' | 'PARTIALLY_PAID' | 'DEPOSIT_ONLINE_ITEM' | 'PENDING_REFUND' | 'FORBIDDEN';
|
|
2177
|
+
declare enum ManuallyRefundableReason {
|
|
2178
2178
|
/** Payment expired. */
|
|
2179
2179
|
EXPIRED = "EXPIRED",
|
|
2180
2180
|
/** Payment method not supported. */
|
|
@@ -2187,8 +2187,8 @@ export declare enum ManuallyRefundableReason {
|
|
|
2187
2187
|
REQUIRES_CARD_READER = "REQUIRES_CARD_READER"
|
|
2188
2188
|
}
|
|
2189
2189
|
/** @enumType */
|
|
2190
|
-
|
|
2191
|
-
|
|
2190
|
+
type ManuallyRefundableReasonWithLiterals = ManuallyRefundableReason | 'EXPIRED' | 'NOT_SUPPORTED' | 'NOT_FOUND' | 'OFFLINE' | 'REQUIRES_CARD_READER';
|
|
2191
|
+
interface ListInvoicesForSingleOrderRequest {
|
|
2192
2192
|
/**
|
|
2193
2193
|
* Order ID.
|
|
2194
2194
|
* @minLength 1
|
|
@@ -2196,13 +2196,13 @@ export interface ListInvoicesForSingleOrderRequest {
|
|
|
2196
2196
|
*/
|
|
2197
2197
|
orderId?: string;
|
|
2198
2198
|
}
|
|
2199
|
-
|
|
2199
|
+
interface ListInvoicesForSingleOrderResponse {
|
|
2200
2200
|
/** List of invoices. */
|
|
2201
2201
|
invoices?: InvoiceInfo[];
|
|
2202
2202
|
}
|
|
2203
|
-
|
|
2203
|
+
interface InvoiceInfo {
|
|
2204
2204
|
/** Invoice ID. */
|
|
2205
|
-
|
|
2205
|
+
_id?: string;
|
|
2206
2206
|
/** ID of the app that set the invoice. */
|
|
2207
2207
|
appId?: string;
|
|
2208
2208
|
/**
|
|
@@ -2214,9 +2214,9 @@ export interface InvoiceInfo {
|
|
|
2214
2214
|
* Invoice creation date and time.
|
|
2215
2215
|
* @deprecated
|
|
2216
2216
|
*/
|
|
2217
|
-
|
|
2217
|
+
_createdDate?: Date | null;
|
|
2218
2218
|
}
|
|
2219
|
-
|
|
2219
|
+
interface ListInvoicesForMultipleOrdersRequest {
|
|
2220
2220
|
/**
|
|
2221
2221
|
* Order IDs for which to retrieve invoices.
|
|
2222
2222
|
* @maxSize 300
|
|
@@ -2225,17 +2225,17 @@ export interface ListInvoicesForMultipleOrdersRequest {
|
|
|
2225
2225
|
*/
|
|
2226
2226
|
orderIds?: string[];
|
|
2227
2227
|
}
|
|
2228
|
-
|
|
2228
|
+
interface ListInvoicesForMultipleOrdersResponse {
|
|
2229
2229
|
/** List of order IDs and their associated invoices. */
|
|
2230
2230
|
invoicesForOrder?: InvoicesForOrder[];
|
|
2231
2231
|
}
|
|
2232
|
-
|
|
2232
|
+
interface InvoicesForOrder {
|
|
2233
2233
|
/** Order ID. */
|
|
2234
2234
|
orderId?: string;
|
|
2235
2235
|
/** Invoices info. */
|
|
2236
2236
|
invoicesInfo?: InvoiceInfo[];
|
|
2237
2237
|
}
|
|
2238
|
-
|
|
2238
|
+
interface GenerateInvoiceRequest {
|
|
2239
2239
|
/**
|
|
2240
2240
|
* Order ID.
|
|
2241
2241
|
* @minLength 1
|
|
@@ -2243,11 +2243,11 @@ export interface GenerateInvoiceRequest {
|
|
|
2243
2243
|
*/
|
|
2244
2244
|
orderId?: string;
|
|
2245
2245
|
}
|
|
2246
|
-
|
|
2246
|
+
interface GenerateInvoiceResponse {
|
|
2247
2247
|
/** Invoice ID. */
|
|
2248
2248
|
invoiceId?: string;
|
|
2249
2249
|
}
|
|
2250
|
-
|
|
2250
|
+
interface BulkGenerateInvoicesRequest {
|
|
2251
2251
|
/**
|
|
2252
2252
|
* Order IDs.
|
|
2253
2253
|
* @minSize 1
|
|
@@ -2257,21 +2257,21 @@ export interface BulkGenerateInvoicesRequest {
|
|
|
2257
2257
|
*/
|
|
2258
2258
|
orderIds?: string[];
|
|
2259
2259
|
}
|
|
2260
|
-
|
|
2260
|
+
interface BulkGenerateInvoicesResponse {
|
|
2261
2261
|
results?: BulkInvoiceResult[];
|
|
2262
2262
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2263
2263
|
}
|
|
2264
|
-
|
|
2264
|
+
interface BulkInvoiceResult {
|
|
2265
2265
|
itemMetadata?: ItemMetadata;
|
|
2266
2266
|
item?: InvoiceForOrder;
|
|
2267
2267
|
}
|
|
2268
|
-
|
|
2268
|
+
interface InvoiceForOrder {
|
|
2269
2269
|
/** Order ID. */
|
|
2270
2270
|
orderId?: string;
|
|
2271
2271
|
/** Invoice ID. */
|
|
2272
2272
|
invoiceId?: string;
|
|
2273
2273
|
}
|
|
2274
|
-
|
|
2274
|
+
interface AddInvoiceToOrderRequest {
|
|
2275
2275
|
/**
|
|
2276
2276
|
* Order ID.
|
|
2277
2277
|
* @minLength 1
|
|
@@ -2281,17 +2281,17 @@ export interface AddInvoiceToOrderRequest {
|
|
|
2281
2281
|
/** Invoice info. */
|
|
2282
2282
|
invoiceInfo?: InvoiceInfo;
|
|
2283
2283
|
}
|
|
2284
|
-
|
|
2284
|
+
interface AddInvoiceToOrderResponse {
|
|
2285
2285
|
/** List of order invoices. */
|
|
2286
2286
|
orderInvoices?: InvoiceInfo[];
|
|
2287
2287
|
}
|
|
2288
|
-
|
|
2288
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
2289
2289
|
createdEvent?: EntityCreatedEvent;
|
|
2290
2290
|
updatedEvent?: EntityUpdatedEvent;
|
|
2291
2291
|
deletedEvent?: EntityDeletedEvent;
|
|
2292
2292
|
actionEvent?: ActionEvent;
|
|
2293
2293
|
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
2294
|
-
|
|
2294
|
+
_id?: string;
|
|
2295
2295
|
/**
|
|
2296
2296
|
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
2297
2297
|
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
@@ -2320,36 +2320,34 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
2320
2320
|
entityEventSequence?: string | null;
|
|
2321
2321
|
}
|
|
2322
2322
|
/** @oneof */
|
|
2323
|
-
|
|
2323
|
+
interface DomainEventBodyOneOf {
|
|
2324
2324
|
createdEvent?: EntityCreatedEvent;
|
|
2325
2325
|
updatedEvent?: EntityUpdatedEvent;
|
|
2326
2326
|
deletedEvent?: EntityDeletedEvent;
|
|
2327
2327
|
actionEvent?: ActionEvent;
|
|
2328
2328
|
}
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
2332
|
-
restoreInfo?: RestoreInfo;
|
|
2329
|
+
interface EntityCreatedEvent {
|
|
2330
|
+
entity?: string;
|
|
2333
2331
|
}
|
|
2334
|
-
|
|
2332
|
+
interface RestoreInfo {
|
|
2335
2333
|
deletedDate?: Date | null;
|
|
2336
2334
|
}
|
|
2337
|
-
|
|
2335
|
+
interface EntityUpdatedEvent {
|
|
2338
2336
|
/**
|
|
2339
2337
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
2340
2338
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
2341
2339
|
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
2342
2340
|
*/
|
|
2343
|
-
|
|
2341
|
+
currentEntity?: string;
|
|
2344
2342
|
}
|
|
2345
|
-
|
|
2343
|
+
interface EntityDeletedEvent {
|
|
2346
2344
|
/** Entity that was deleted. */
|
|
2347
|
-
|
|
2345
|
+
deletedEntity?: string | null;
|
|
2348
2346
|
}
|
|
2349
|
-
|
|
2350
|
-
|
|
2347
|
+
interface ActionEvent {
|
|
2348
|
+
body?: string;
|
|
2351
2349
|
}
|
|
2352
|
-
|
|
2350
|
+
interface MessageEnvelope {
|
|
2353
2351
|
/**
|
|
2354
2352
|
* App instance ID.
|
|
2355
2353
|
* @format GUID
|
|
@@ -2365,7 +2363,7 @@ export interface MessageEnvelope {
|
|
|
2365
2363
|
/** Stringify payload. */
|
|
2366
2364
|
data?: string;
|
|
2367
2365
|
}
|
|
2368
|
-
|
|
2366
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2369
2367
|
/**
|
|
2370
2368
|
* ID of a site visitor that has not logged in to the site.
|
|
2371
2369
|
* @format GUID
|
|
@@ -2390,7 +2388,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
2390
2388
|
identityType?: WebhookIdentityTypeWithLiterals;
|
|
2391
2389
|
}
|
|
2392
2390
|
/** @oneof */
|
|
2393
|
-
|
|
2391
|
+
interface IdentificationDataIdOneOf {
|
|
2394
2392
|
/**
|
|
2395
2393
|
* ID of a site visitor that has not logged in to the site.
|
|
2396
2394
|
* @format GUID
|
|
@@ -2412,7 +2410,7 @@ export interface IdentificationDataIdOneOf {
|
|
|
2412
2410
|
*/
|
|
2413
2411
|
appId?: string;
|
|
2414
2412
|
}
|
|
2415
|
-
|
|
2413
|
+
declare enum WebhookIdentityType {
|
|
2416
2414
|
UNKNOWN = "UNKNOWN",
|
|
2417
2415
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
2418
2416
|
MEMBER = "MEMBER",
|
|
@@ -2420,4 +2418,28 @@ export declare enum WebhookIdentityType {
|
|
|
2420
2418
|
APP = "APP"
|
|
2421
2419
|
}
|
|
2422
2420
|
/** @enumType */
|
|
2423
|
-
|
|
2421
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
2422
|
+
interface UpdatePaymentStatusIdentifiers {
|
|
2423
|
+
/**
|
|
2424
|
+
* Payment ID.
|
|
2425
|
+
* @format GUID
|
|
2426
|
+
*/
|
|
2427
|
+
paymentId: string;
|
|
2428
|
+
/**
|
|
2429
|
+
* Order ID.
|
|
2430
|
+
* @format GUID
|
|
2431
|
+
*/
|
|
2432
|
+
orderId: string;
|
|
2433
|
+
}
|
|
2434
|
+
interface UpdatePaymentStatusOptions {
|
|
2435
|
+
/** Payment status. */
|
|
2436
|
+
status?: TransactionStatusWithLiterals;
|
|
2437
|
+
}
|
|
2438
|
+
interface BulkUpdatePaymentStatusesOptions {
|
|
2439
|
+
/** Whether to return the full payment entity (`results.item`) in the response. */
|
|
2440
|
+
returnFullEntity?: boolean;
|
|
2441
|
+
/** Payment status. */
|
|
2442
|
+
status?: TransactionStatusWithLiterals;
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2445
|
+
export { type RefundTransaction as $, type AddPaymentsResponse as A, type BulkUpdatePaymentStatusesOptions as B, ChannelType as C, type Price as D, EnteredByIdentityType as E, FulfillmentStatus as F, type AuthorizationActionFailureDetails as G, type AuthorizationVoid as H, IdentityType as I, type ScheduledAction as J, type GiftCardPaymentDetails as K, type ListTransactionsForSingleOrderResponse as L, MembershipPaymentStatus as M, NonRefundableReason as N, type OrderTransactions as O, type Payment as P, type MembershipPaymentDetails as Q, Reason as R, SubscriptionFrequency as S, TransactionStatus as T, type UpdatePaymentStatusIdentifiers as U, VatType as V, WeightUnit as W, type MembershipName as X, type WixReceiptInfo as Y, type ExternalReceiptInfo as Z, type Refund as _, type ListTransactionsForMultipleOrdersResponse as a, type AddRefundResponse as a$, type RefundStatusInfo as a0, type RefundDetails as a1, type RefundItem as a2, type LineItemRefund as a3, type AdditionalFeeRefund as a4, type ShippingRefund as a5, type AggregatedRefundSummary as a6, type RefundItemsBreakdown as a7, type LineItemRefundSummary as a8, type SnapshotMessage as a9, type DigitalFile as aA, type Activity as aB, type V2InvoiceInfo as aC, type Fulfillment as aD, type FulfillmentLineItem as aE, type FulfillmentTrackingInfo as aF, type Discount as aG, type AppliedCoupon as aH, type CustomField as aI, type ChannelInfo as aJ, type EnteredBy as aK, type SubscriptionInfo as aL, type SubscriptionSettings as aM, type SubscriptionOptionInfo as aN, type V2Refund as aO, type GiftCard as aP, type PaymentsUpdated as aQ, type PaymentDetailsUpdated as aR, type RefundCreated as aS, type RestockInfo as aT, type RestockItem as aU, type RefundCompleted as aV, type RefundSideEffects as aW, type ListTransactionsForSingleOrderRequest as aX, type ListTransactionsForMultipleOrdersRequest as aY, type AddPaymentsRequest as aZ, type AddRefundRequest as a_, type IndexingMessage as aa, type DiffmatokyPayload as ab, type ErrorInformation as ac, type OrderRefunded as ad, type Order as ae, type BuyerInfo as af, type Totals as ag, type BillingInfo as ah, type Address as ai, type AddressAddressLine1OptionsOneOf as aj, type FullName as ak, type Street as al, type VatId as am, type ShippingInfo as an, type ShippingInfoDetailsOneOf as ao, type ShipmentDetails as ap, type TrackingInfo as aq, type ShippingPriceData as ar, type PickupDetails as as, type PickupAddress as at, type BuyerDetails as au, type LineItem as av, type OptionSelection as aw, type CustomTextFieldSelection as ax, type MediaItem as ay, type LineItemPriceData as az, type UpdatePaymentStatusOptions as b, type UpdatePaymentStatusRequest as b0, type BulkUpdatePaymentStatusesRequest as b1, type BulkPaymentResult as b2, type ItemMetadata as b3, type ApplicationError as b4, type BulkActionMetadata as b5, type UpdateRefundRequest as b6, type UpdateRefundResponse as b7, type UpdateRefundTransactionRequest as b8, type UpdateRefundTransactionResponse as b9, type ListInvoicesForMultipleOrdersResponse as bA, type InvoicesForOrder as bB, type GenerateInvoiceRequest as bC, type GenerateInvoiceResponse as bD, type BulkGenerateInvoicesRequest as bE, type BulkGenerateInvoicesResponse as bF, type BulkInvoiceResult as bG, type InvoiceForOrder as bH, type AddInvoiceToOrderRequest as bI, type AddInvoiceToOrderResponse as bJ, type DomainEvent as bK, type DomainEventBodyOneOf as bL, type EntityCreatedEvent as bM, type RestoreInfo as bN, type EntityUpdatedEvent as bO, type EntityDeletedEvent as bP, type ActionEvent as bQ, type MessageEnvelope as bR, type IdentificationData as bS, type IdentificationDataIdOneOf as bT, type UpdatePaymentsRequest as ba, type MaskedPayment as bb, type UpdatePaymentsResponse as bc, type QueryOrderTransactionsRequest as bd, type CursorQuery as be, type CursorQueryPagingMethodOneOf as bf, type Sorting as bg, type CursorPaging as bh, type QueryOrderTransactionsResponse as bi, type CursorPagingMetadata as bj, type Cursors as bk, type TriggerRefundRequest as bl, type PaymentRefund as bm, type TriggerRefundResponse as bn, type CalculateRefundRequest as bo, type CalculateRefundItemRequest as bp, type CalculateRefundResponse as bq, type CalculateRefundItemResponse as br, type GetRefundabilityStatusRequest as bs, type GetRefundabilityStatusResponse as bt, type Refundability as bu, type RefundabilityAdditionalRefundabilityInfoOneOf as bv, type ListInvoicesForSingleOrderRequest as bw, type ListInvoicesForSingleOrderResponse as bx, type InvoiceInfo as by, type ListInvoicesForMultipleOrdersRequest as bz, type UpdatePaymentStatusResponse as c, type PaymentAndOrderId as d, type BulkUpdatePaymentStatusesResponse as e, AuthorizationCaptureStatus as f, AuthorizationVoidStatus as g, ActionType as h, RefundStatus as i, PaymentStatus as j, LineItemType as k, MediaItemType as l, ActivityType as m, InvoiceSource as n, RestockType as o, SortOrder as p, RefundableStatus as q, ManuallyRefundableReason as r, WebhookIdentityType as s, type PaymentPaymentDetailsOneOf as t, type PaymentReceiptInfoOneOf as u, type RegularPaymentDetails as v, type RegularPaymentDetailsPaymentMethodDetailsOneOf as w, type CreditCardPaymentMethodDetails as x, type AuthorizationDetails as y, type AuthorizationCapture as z };
|