@wix/auto_sdk_ecom_order-transactions 1.0.11 → 1.0.13
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/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.context.d.ts +9 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.context.js +41 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.context.js.map +1 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.http.d.ts +73 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.http.js +466 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.http.js.map +1 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.meta.d.ts +30 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.meta.js +161 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.meta.js.map +1 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.public.d.ts +63 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.public.js +76 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.public.js.map +1 -0
- package/build/{ecom-v1-order-transactions-order-transactions.universal-DgIVKgiJ.d.mts → cjs/src/ecom-v1-order-transactions-order-transactions.types.d.ts} +199 -221
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.types.js +303 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.types.js.map +1 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.universal.d.ts +2537 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.universal.js +681 -0
- package/build/cjs/src/ecom-v1-order-transactions-order-transactions.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.context.d.ts +9 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.context.js +13 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.context.js.map +1 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.http.d.ts +73 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.http.js +456 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.http.js.map +1 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.meta.d.ts +30 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.meta.js +128 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.meta.js.map +1 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.public.d.ts +63 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.public.js +41 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.public.js.map +1 -0
- package/build/{ecom-v1-order-transactions-order-transactions.universal-DgIVKgiJ.d.ts → es/src/ecom-v1-order-transactions-order-transactions.types.d.ts} +199 -221
- package/build/es/src/ecom-v1-order-transactions-order-transactions.types.js +300 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.types.js.map +1 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.universal.d.ts +2537 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.universal.js +648 -0
- package/build/es/src/ecom-v1-order-transactions-order-transactions.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.context.d.ts +13 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.context.js +41 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.context.js.map +1 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.http.d.ts +73 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.http.js +466 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.http.js.map +1 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.meta.d.ts +30 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.meta.js +161 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.meta.js.map +1 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.public.d.ts +108 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.public.js +76 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.public.js.map +1 -0
- package/build/internal/{ecom-v1-order-transactions-order-transactions.universal-CQewkK3E.d.mts → cjs/src/ecom-v1-order-transactions-order-transactions.types.d.ts} +199 -305
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.types.js +303 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.types.js.map +1 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.universal.d.ts +2684 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.universal.js +681 -0
- package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.context.d.ts +13 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.context.js +13 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.context.js.map +1 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.http.d.ts +73 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.http.js +456 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.http.js.map +1 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.meta.d.ts +30 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.meta.js +128 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.meta.js.map +1 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.public.d.ts +108 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.public.js +41 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.public.js.map +1 -0
- package/build/internal/{ecom-v1-order-transactions-order-transactions.universal-CQewkK3E.d.ts → es/src/ecom-v1-order-transactions-order-transactions.types.d.ts} +199 -305
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.types.js +300 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.types.js.map +1 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.universal.d.ts +2684 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.universal.js +648 -0
- package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.universal.js.map +1 -0
- package/package.json +11 -12
- package/build/index.d.mts +0 -69
- package/build/index.d.ts +0 -69
- package/build/index.js +0 -942
- package/build/index.js.map +0 -1
- package/build/index.mjs +0 -887
- package/build/index.mjs.map +0 -1
- package/build/internal/index.d.mts +0 -118
- package/build/internal/index.d.ts +0 -118
- package/build/internal/index.js +0 -942
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs +0 -887
- package/build/internal/index.mjs.map +0 -1
- package/build/internal/meta.d.mts +0 -602
- package/build/internal/meta.d.ts +0 -602
- package/build/internal/meta.js +0 -566
- package/build/internal/meta.js.map +0 -1
- package/build/internal/meta.mjs +0 -533
- package/build/internal/meta.mjs.map +0 -1
- package/build/meta.d.mts +0 -602
- package/build/meta.d.ts +0 -602
- package/build/meta.js +0 -566
- package/build/meta.js.map +0 -1
- package/build/meta.mjs +0 -533
- package/build/meta.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface OrderTransactions {
|
|
1
|
+
export interface OrderTransactions {
|
|
2
2
|
/**
|
|
3
3
|
* Order ID.
|
|
4
4
|
* @format GUID
|
|
@@ -15,7 +15,7 @@ interface OrderTransactions {
|
|
|
15
15
|
*/
|
|
16
16
|
refunds?: Refund[];
|
|
17
17
|
}
|
|
18
|
-
interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf {
|
|
18
|
+
export interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf {
|
|
19
19
|
/** Regular payment details. */
|
|
20
20
|
regularPaymentDetails?: RegularPaymentDetails;
|
|
21
21
|
/** Gift card payment details. */
|
|
@@ -25,14 +25,14 @@ interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf {
|
|
|
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 @@ interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf {
|
|
|
43
43
|
refundDisabled?: boolean;
|
|
44
44
|
}
|
|
45
45
|
/** @oneof */
|
|
46
|
-
interface PaymentPaymentDetailsOneOf {
|
|
46
|
+
export 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
|
-
interface PaymentReceiptInfoOneOf {
|
|
53
|
+
export interface PaymentReceiptInfoOneOf {
|
|
54
54
|
}
|
|
55
|
-
interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetailsOneOf {
|
|
55
|
+
export interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetailsOneOf {
|
|
56
56
|
/** Whether regular card used */
|
|
57
57
|
creditCardDetails?: CreditCardPaymentMethodDetails;
|
|
58
58
|
/**
|
|
@@ -90,11 +90,11 @@ interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetail
|
|
|
90
90
|
authorizationDetails?: AuthorizationDetails;
|
|
91
91
|
}
|
|
92
92
|
/** @oneof */
|
|
93
|
-
interface RegularPaymentDetailsPaymentMethodDetailsOneOf {
|
|
93
|
+
export interface RegularPaymentDetailsPaymentMethodDetailsOneOf {
|
|
94
94
|
/** Whether regular card used */
|
|
95
95
|
creditCardDetails?: CreditCardPaymentMethodDetails;
|
|
96
96
|
}
|
|
97
|
-
declare enum TransactionStatus {
|
|
97
|
+
export declare enum TransactionStatus {
|
|
98
98
|
UNDEFINED = "UNDEFINED",
|
|
99
99
|
APPROVED = "APPROVED",
|
|
100
100
|
PENDING = "PENDING",
|
|
@@ -106,7 +106,7 @@ declare enum TransactionStatus {
|
|
|
106
106
|
AUTHORIZED = "AUTHORIZED",
|
|
107
107
|
VOIDED = "VOIDED"
|
|
108
108
|
}
|
|
109
|
-
interface CreditCardPaymentMethodDetails {
|
|
109
|
+
export interface CreditCardPaymentMethodDetails {
|
|
110
110
|
/**
|
|
111
111
|
* The last 4 digits of the card number.
|
|
112
112
|
* @maxLength 4
|
|
@@ -118,7 +118,7 @@ interface CreditCardPaymentMethodDetails {
|
|
|
118
118
|
*/
|
|
119
119
|
brand?: string | null;
|
|
120
120
|
}
|
|
121
|
-
interface AuthorizationDetails {
|
|
121
|
+
export interface AuthorizationDetails {
|
|
122
122
|
/**
|
|
123
123
|
* Whether the authorized payment is of a delayed capture.
|
|
124
124
|
* @readonly
|
|
@@ -137,13 +137,13 @@ interface AuthorizationDetails {
|
|
|
137
137
|
/** Scheduled action for this transaction */
|
|
138
138
|
scheduledAction?: ScheduledAction;
|
|
139
139
|
}
|
|
140
|
-
interface AuthorizationCapture {
|
|
140
|
+
export interface AuthorizationCapture {
|
|
141
141
|
/**
|
|
142
142
|
* Capture ID.
|
|
143
143
|
* @format GUID
|
|
144
144
|
* @readonly
|
|
145
145
|
*/
|
|
146
|
-
|
|
146
|
+
id?: string | null;
|
|
147
147
|
/** Status of this capture action */
|
|
148
148
|
status?: AuthorizationCaptureStatus;
|
|
149
149
|
/**
|
|
@@ -152,11 +152,11 @@ interface AuthorizationCapture {
|
|
|
152
152
|
*/
|
|
153
153
|
amount?: Price;
|
|
154
154
|
/** Date and time the capture was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
|
|
155
|
-
|
|
155
|
+
createdDate?: Date | null;
|
|
156
156
|
/** In case of status is FAILED may contain failure details */
|
|
157
157
|
failureDetails?: AuthorizationActionFailureDetails;
|
|
158
158
|
}
|
|
159
|
-
declare enum AuthorizationCaptureStatus {
|
|
159
|
+
export declare enum AuthorizationCaptureStatus {
|
|
160
160
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
161
161
|
/** Capture operation still in progress. */
|
|
162
162
|
PENDING = "PENDING",
|
|
@@ -165,7 +165,7 @@ declare enum AuthorizationCaptureStatus {
|
|
|
165
165
|
/** Capture operation failed. */
|
|
166
166
|
FAILED = "FAILED"
|
|
167
167
|
}
|
|
168
|
-
interface Price {
|
|
168
|
+
export interface Price {
|
|
169
169
|
/**
|
|
170
170
|
* Amount.
|
|
171
171
|
* @decimalValue options { gte:0, lte:1000000000000000 }
|
|
@@ -177,11 +177,11 @@ interface Price {
|
|
|
177
177
|
*/
|
|
178
178
|
formattedAmount?: string;
|
|
179
179
|
}
|
|
180
|
-
interface AuthorizationActionFailureDetails {
|
|
180
|
+
export interface AuthorizationActionFailureDetails {
|
|
181
181
|
/** @maxLength 100 */
|
|
182
182
|
failureCode?: string;
|
|
183
183
|
}
|
|
184
|
-
interface AuthorizationVoid {
|
|
184
|
+
export interface AuthorizationVoid {
|
|
185
185
|
/** Status of this void action */
|
|
186
186
|
status?: AuthorizationVoidStatus;
|
|
187
187
|
/** Date and time the void was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
|
|
@@ -191,7 +191,7 @@ interface AuthorizationVoid {
|
|
|
191
191
|
/** Reason of void action */
|
|
192
192
|
reason?: Reason;
|
|
193
193
|
}
|
|
194
|
-
declare enum AuthorizationVoidStatus {
|
|
194
|
+
export declare enum AuthorizationVoidStatus {
|
|
195
195
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
196
196
|
/** Void operation still in progress. */
|
|
197
197
|
PENDING = "PENDING",
|
|
@@ -201,25 +201,25 @@ declare enum AuthorizationVoidStatus {
|
|
|
201
201
|
FAILED = "FAILED"
|
|
202
202
|
}
|
|
203
203
|
/** Reason the authorization was voided. */
|
|
204
|
-
declare enum Reason {
|
|
204
|
+
export declare enum Reason {
|
|
205
205
|
UNKNOWN_REASON = "UNKNOWN_REASON",
|
|
206
206
|
/** Authorization was voided by user. */
|
|
207
207
|
MANUAL = "MANUAL",
|
|
208
208
|
/** Authorization passed execution date. */
|
|
209
209
|
SCHEDULED = "SCHEDULED"
|
|
210
210
|
}
|
|
211
|
-
interface ScheduledAction {
|
|
211
|
+
export interface ScheduledAction {
|
|
212
212
|
/** Type of the action. */
|
|
213
213
|
actionType?: ActionType;
|
|
214
214
|
/** The date and time of the action. */
|
|
215
215
|
executionDate?: Date | null;
|
|
216
216
|
}
|
|
217
|
-
declare enum ActionType {
|
|
217
|
+
export declare enum ActionType {
|
|
218
218
|
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
219
219
|
VOID = "VOID",
|
|
220
220
|
CAPTURE = "CAPTURE"
|
|
221
221
|
}
|
|
222
|
-
interface GiftCardPaymentDetails {
|
|
222
|
+
export interface GiftCardPaymentDetails {
|
|
223
223
|
/**
|
|
224
224
|
* Gift card payment ID.
|
|
225
225
|
* @minLength 1
|
|
@@ -237,7 +237,7 @@ interface GiftCardPaymentDetails {
|
|
|
237
237
|
*/
|
|
238
238
|
voided?: boolean;
|
|
239
239
|
}
|
|
240
|
-
interface MembershipPaymentDetails {
|
|
240
|
+
export interface MembershipPaymentDetails {
|
|
241
241
|
/**
|
|
242
242
|
* Membership ID.
|
|
243
243
|
* @minLength 1
|
|
@@ -271,13 +271,13 @@ interface MembershipPaymentDetails {
|
|
|
271
271
|
*/
|
|
272
272
|
providerAppId?: string;
|
|
273
273
|
}
|
|
274
|
-
declare enum MembershipPaymentStatus {
|
|
274
|
+
export declare enum MembershipPaymentStatus {
|
|
275
275
|
/** Payment was charged. */
|
|
276
276
|
CHARGED = "CHARGED",
|
|
277
277
|
/** The attempt to charge the payment failed, for example, due to lack of credits. */
|
|
278
278
|
CHARGE_FAILED = "CHARGE_FAILED"
|
|
279
279
|
}
|
|
280
|
-
interface MembershipName {
|
|
280
|
+
export interface MembershipName {
|
|
281
281
|
/**
|
|
282
282
|
* Membership name.
|
|
283
283
|
* @maxLength 100
|
|
@@ -289,7 +289,7 @@ interface MembershipName {
|
|
|
289
289
|
*/
|
|
290
290
|
translated?: string | null;
|
|
291
291
|
}
|
|
292
|
-
interface WixReceiptInfo {
|
|
292
|
+
export interface WixReceiptInfo {
|
|
293
293
|
/**
|
|
294
294
|
* Receipt ID
|
|
295
295
|
* @format GUID
|
|
@@ -302,7 +302,7 @@ interface WixReceiptInfo {
|
|
|
302
302
|
*/
|
|
303
303
|
displayNumber?: string | null;
|
|
304
304
|
}
|
|
305
|
-
interface ExternalReceiptInfo {
|
|
305
|
+
export interface ExternalReceiptInfo {
|
|
306
306
|
/**
|
|
307
307
|
* External receipt ID
|
|
308
308
|
* @maxLength 100
|
|
@@ -320,13 +320,13 @@ interface ExternalReceiptInfo {
|
|
|
320
320
|
*/
|
|
321
321
|
displayNumber?: string | null;
|
|
322
322
|
}
|
|
323
|
-
interface Refund {
|
|
323
|
+
export interface Refund {
|
|
324
324
|
/**
|
|
325
325
|
* Refund ID.
|
|
326
326
|
* @format GUID
|
|
327
327
|
* @readonly
|
|
328
328
|
*/
|
|
329
|
-
|
|
329
|
+
id?: string;
|
|
330
330
|
/**
|
|
331
331
|
* List of transactions.
|
|
332
332
|
* @maxSize 50
|
|
@@ -339,7 +339,7 @@ interface Refund {
|
|
|
339
339
|
* @readonly
|
|
340
340
|
* @immutable
|
|
341
341
|
*/
|
|
342
|
-
|
|
342
|
+
createdDate?: Date | null;
|
|
343
343
|
/**
|
|
344
344
|
* Aggregated refund summary.
|
|
345
345
|
* @readonly
|
|
@@ -353,7 +353,7 @@ interface Refund {
|
|
|
353
353
|
*/
|
|
354
354
|
requestingServiceAppId?: string | null;
|
|
355
355
|
}
|
|
356
|
-
interface RefundTransaction {
|
|
356
|
+
export interface RefundTransaction {
|
|
357
357
|
/**
|
|
358
358
|
* ID of the payment associated with this refund.
|
|
359
359
|
* @format GUID
|
|
@@ -384,7 +384,7 @@ interface RefundTransaction {
|
|
|
384
384
|
externalRefund?: boolean;
|
|
385
385
|
}
|
|
386
386
|
/** Refund transaction status. */
|
|
387
|
-
declare enum RefundStatus {
|
|
387
|
+
export declare enum RefundStatus {
|
|
388
388
|
/** Refund was initiated on payment provider side. PENDING status was assigned by provider. */
|
|
389
389
|
PENDING = "PENDING",
|
|
390
390
|
/** Refund transaction succeeded. */
|
|
@@ -396,7 +396,7 @@ declare enum RefundStatus {
|
|
|
396
396
|
/** Refund was initiated on payment provider side. */
|
|
397
397
|
STARTED = "STARTED"
|
|
398
398
|
}
|
|
399
|
-
interface RefundStatusInfo {
|
|
399
|
+
export interface RefundStatusInfo {
|
|
400
400
|
/**
|
|
401
401
|
* Reason code for the refund's current status.
|
|
402
402
|
*
|
|
@@ -413,7 +413,7 @@ interface RefundStatusInfo {
|
|
|
413
413
|
description?: string | null;
|
|
414
414
|
}
|
|
415
415
|
/** Business model of a refund request */
|
|
416
|
-
interface RefundDetails {
|
|
416
|
+
export interface RefundDetails {
|
|
417
417
|
/**
|
|
418
418
|
* Order line item IDs and quantities that were refunded.
|
|
419
419
|
* @maxSize 300
|
|
@@ -439,7 +439,7 @@ interface RefundDetails {
|
|
|
439
439
|
/** Shipping amount that was refunded. */
|
|
440
440
|
shipping?: ShippingRefund;
|
|
441
441
|
}
|
|
442
|
-
interface RefundItem {
|
|
442
|
+
export interface RefundItem {
|
|
443
443
|
/**
|
|
444
444
|
* Line item ID the refunded line item.
|
|
445
445
|
* @format GUID
|
|
@@ -452,7 +452,7 @@ interface RefundItem {
|
|
|
452
452
|
*/
|
|
453
453
|
quantity?: number;
|
|
454
454
|
}
|
|
455
|
-
interface LineItemRefund {
|
|
455
|
+
export interface LineItemRefund {
|
|
456
456
|
/**
|
|
457
457
|
* Line item ID.
|
|
458
458
|
* @format GUID
|
|
@@ -467,7 +467,7 @@ interface LineItemRefund {
|
|
|
467
467
|
*/
|
|
468
468
|
quantity?: number;
|
|
469
469
|
}
|
|
470
|
-
interface AdditionalFeeRefund {
|
|
470
|
+
export interface AdditionalFeeRefund {
|
|
471
471
|
/**
|
|
472
472
|
* Additional fee ID.
|
|
473
473
|
* @format GUID
|
|
@@ -480,14 +480,14 @@ interface AdditionalFeeRefund {
|
|
|
480
480
|
*/
|
|
481
481
|
amount?: Price;
|
|
482
482
|
}
|
|
483
|
-
interface ShippingRefund {
|
|
483
|
+
export interface ShippingRefund {
|
|
484
484
|
/**
|
|
485
485
|
* Refund amount.
|
|
486
486
|
* @immutable
|
|
487
487
|
*/
|
|
488
488
|
amount?: Price;
|
|
489
489
|
}
|
|
490
|
-
interface AggregatedRefundSummary {
|
|
490
|
+
export interface AggregatedRefundSummary {
|
|
491
491
|
/** Total amount requested for refund. */
|
|
492
492
|
requestedRefund?: Price;
|
|
493
493
|
/** Pending refund amount - the portion of `requestedRefund` that is still pending. */
|
|
@@ -501,14 +501,14 @@ interface AggregatedRefundSummary {
|
|
|
501
501
|
/** Breakdown of refunded items. Available only after refund is complete. */
|
|
502
502
|
breakdown?: RefundItemsBreakdown;
|
|
503
503
|
}
|
|
504
|
-
interface RefundItemsBreakdown {
|
|
504
|
+
export interface RefundItemsBreakdown {
|
|
505
505
|
/**
|
|
506
506
|
* Refunded line items and the amount refunded for each.
|
|
507
507
|
* @maxSize 300
|
|
508
508
|
*/
|
|
509
509
|
lineItems?: LineItemRefundSummary[];
|
|
510
510
|
}
|
|
511
|
-
interface LineItemRefundSummary {
|
|
511
|
+
export interface LineItemRefundSummary {
|
|
512
512
|
/**
|
|
513
513
|
* ID of the refunded line item.
|
|
514
514
|
* @format GUID
|
|
@@ -517,16 +517,16 @@ interface LineItemRefundSummary {
|
|
|
517
517
|
/** Total refunded amount for the line item. */
|
|
518
518
|
totalRefundedAmount?: Price;
|
|
519
519
|
}
|
|
520
|
-
interface SnapshotMessage {
|
|
521
|
-
|
|
520
|
+
export interface SnapshotMessage {
|
|
521
|
+
id?: string;
|
|
522
522
|
opType?: number;
|
|
523
523
|
}
|
|
524
|
-
interface IndexingMessage {
|
|
525
|
-
|
|
524
|
+
export interface IndexingMessage {
|
|
525
|
+
id?: string;
|
|
526
526
|
opType?: number;
|
|
527
527
|
requiredVersions?: string[];
|
|
528
528
|
}
|
|
529
|
-
interface DiffmatokyPayload {
|
|
529
|
+
export interface DiffmatokyPayload {
|
|
530
530
|
left?: string;
|
|
531
531
|
right?: string;
|
|
532
532
|
compareChannel?: string;
|
|
@@ -534,10 +534,10 @@ interface DiffmatokyPayload {
|
|
|
534
534
|
errorInformation?: ErrorInformation;
|
|
535
535
|
tags?: string[];
|
|
536
536
|
}
|
|
537
|
-
interface ErrorInformation {
|
|
537
|
+
export interface ErrorInformation {
|
|
538
538
|
stackTrace?: string;
|
|
539
539
|
}
|
|
540
|
-
interface OrderRefunded {
|
|
540
|
+
export interface OrderRefunded {
|
|
541
541
|
/**
|
|
542
542
|
* Refund ID.
|
|
543
543
|
* @readonly
|
|
@@ -549,13 +549,13 @@ interface OrderRefunded {
|
|
|
549
549
|
*/
|
|
550
550
|
order?: Order;
|
|
551
551
|
}
|
|
552
|
-
interface Order {
|
|
552
|
+
export interface Order {
|
|
553
553
|
/**
|
|
554
554
|
* Order ID (auto-generated upon order creation).
|
|
555
555
|
* @format GUID
|
|
556
556
|
* @readonly
|
|
557
557
|
*/
|
|
558
|
-
|
|
558
|
+
id?: string | null;
|
|
559
559
|
/**
|
|
560
560
|
* Order number displayed in the owner's store (auto-generated).
|
|
561
561
|
* @readonly
|
|
@@ -664,12 +664,12 @@ interface Order {
|
|
|
664
664
|
refunds?: V2Refund[];
|
|
665
665
|
}
|
|
666
666
|
/** Buyer Info */
|
|
667
|
-
interface BuyerInfo {
|
|
667
|
+
export interface BuyerInfo {
|
|
668
668
|
/**
|
|
669
669
|
* Wix customer ID
|
|
670
670
|
* @format GUID
|
|
671
671
|
*/
|
|
672
|
-
|
|
672
|
+
id?: string | null;
|
|
673
673
|
/**
|
|
674
674
|
* Deprecated (use identityType instead)
|
|
675
675
|
* @readonly
|
|
@@ -699,14 +699,14 @@ interface BuyerInfo {
|
|
|
699
699
|
*/
|
|
700
700
|
email?: string;
|
|
701
701
|
}
|
|
702
|
-
declare enum IdentityType {
|
|
702
|
+
export declare enum IdentityType {
|
|
703
703
|
UNSPECIFIED_IDENTITY_TYPE = "UNSPECIFIED_IDENTITY_TYPE",
|
|
704
704
|
/** Site member */
|
|
705
705
|
MEMBER = "MEMBER",
|
|
706
706
|
/** Contact */
|
|
707
707
|
CONTACT = "CONTACT"
|
|
708
708
|
}
|
|
709
|
-
declare enum WeightUnit {
|
|
709
|
+
export declare enum WeightUnit {
|
|
710
710
|
/** Weight unit can't be classified due to an error. */
|
|
711
711
|
UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
|
|
712
712
|
/** Kilograms. */
|
|
@@ -714,7 +714,7 @@ declare enum WeightUnit {
|
|
|
714
714
|
/** Pounds. */
|
|
715
715
|
LB = "LB"
|
|
716
716
|
}
|
|
717
|
-
interface Totals {
|
|
717
|
+
export interface Totals {
|
|
718
718
|
/**
|
|
719
719
|
* Subtotal of all the line items, before tax.
|
|
720
720
|
* @format DECIMAL_VALUE
|
|
@@ -762,7 +762,7 @@ interface Totals {
|
|
|
762
762
|
*/
|
|
763
763
|
giftCard?: string | null;
|
|
764
764
|
}
|
|
765
|
-
interface BillingInfo {
|
|
765
|
+
export interface BillingInfo {
|
|
766
766
|
/**
|
|
767
767
|
* Payment method used for this order
|
|
768
768
|
* @maxLength 50
|
|
@@ -794,7 +794,7 @@ interface BillingInfo {
|
|
|
794
794
|
/** Whether order can be refunded by payment provider (manually or automatic) */
|
|
795
795
|
refundableByPaymentProvider?: boolean | null;
|
|
796
796
|
}
|
|
797
|
-
interface Address extends AddressAddressLine1OptionsOneOf {
|
|
797
|
+
export interface Address extends AddressAddressLine1OptionsOneOf {
|
|
798
798
|
/**
|
|
799
799
|
* Address line 1 (free text)
|
|
800
800
|
* @maxLength 1000
|
|
@@ -848,7 +848,7 @@ interface Address extends AddressAddressLine1OptionsOneOf {
|
|
|
848
848
|
vatId?: VatId;
|
|
849
849
|
}
|
|
850
850
|
/** @oneof */
|
|
851
|
-
interface AddressAddressLine1OptionsOneOf {
|
|
851
|
+
export interface AddressAddressLine1OptionsOneOf {
|
|
852
852
|
/**
|
|
853
853
|
* Address line 1 (free text)
|
|
854
854
|
* @maxLength 1000
|
|
@@ -857,7 +857,7 @@ interface AddressAddressLine1OptionsOneOf {
|
|
|
857
857
|
/** Address line 1 (street) */
|
|
858
858
|
street?: Street;
|
|
859
859
|
}
|
|
860
|
-
interface FullName {
|
|
860
|
+
export interface FullName {
|
|
861
861
|
/**
|
|
862
862
|
* Customer's first name
|
|
863
863
|
* @maxLength 1000
|
|
@@ -869,7 +869,7 @@ interface FullName {
|
|
|
869
869
|
*/
|
|
870
870
|
lastName?: string;
|
|
871
871
|
}
|
|
872
|
-
interface Street {
|
|
872
|
+
export interface Street {
|
|
873
873
|
/**
|
|
874
874
|
* Street number
|
|
875
875
|
* @maxLength 500
|
|
@@ -881,7 +881,7 @@ interface Street {
|
|
|
881
881
|
*/
|
|
882
882
|
name?: string;
|
|
883
883
|
}
|
|
884
|
-
interface VatId {
|
|
884
|
+
export interface VatId {
|
|
885
885
|
/**
|
|
886
886
|
* Customer's tax ID.
|
|
887
887
|
* @maxLength 50
|
|
@@ -895,7 +895,7 @@ interface VatId {
|
|
|
895
895
|
type?: VatType;
|
|
896
896
|
}
|
|
897
897
|
/** Brazilian tax info types */
|
|
898
|
-
declare enum VatType {
|
|
898
|
+
export declare enum VatType {
|
|
899
899
|
/** When the tax info type can't be classified, due to an error */
|
|
900
900
|
UNSPECIFIED_TAX_TYPE = "UNSPECIFIED_TAX_TYPE",
|
|
901
901
|
/** CPF - for individual tax payers */
|
|
@@ -903,7 +903,7 @@ declare enum VatType {
|
|
|
903
903
|
/** CNPJ - for corporations */
|
|
904
904
|
CNPJ = "CNPJ"
|
|
905
905
|
}
|
|
906
|
-
interface ShippingInfo extends ShippingInfoDetailsOneOf {
|
|
906
|
+
export interface ShippingInfo extends ShippingInfoDetailsOneOf {
|
|
907
907
|
/** Shipment details (when this object describes shipment). */
|
|
908
908
|
shipmentDetails?: ShipmentDetails;
|
|
909
909
|
/** Pickup details (when this object describes pickup). */
|
|
@@ -936,13 +936,13 @@ interface ShippingInfo extends ShippingInfoDetailsOneOf {
|
|
|
936
936
|
code?: string | null;
|
|
937
937
|
}
|
|
938
938
|
/** @oneof */
|
|
939
|
-
interface ShippingInfoDetailsOneOf {
|
|
939
|
+
export interface ShippingInfoDetailsOneOf {
|
|
940
940
|
/** Shipment details (when this object describes shipment). */
|
|
941
941
|
shipmentDetails?: ShipmentDetails;
|
|
942
942
|
/** Pickup details (when this object describes pickup). */
|
|
943
943
|
pickupDetails?: PickupDetails;
|
|
944
944
|
}
|
|
945
|
-
interface ShipmentDetails {
|
|
945
|
+
export interface ShipmentDetails {
|
|
946
946
|
/** Shipping destination address. */
|
|
947
947
|
address?: Address;
|
|
948
948
|
/**
|
|
@@ -964,7 +964,7 @@ interface ShipmentDetails {
|
|
|
964
964
|
/** Price data. */
|
|
965
965
|
priceData?: ShippingPriceData;
|
|
966
966
|
}
|
|
967
|
-
interface TrackingInfo {
|
|
967
|
+
export interface TrackingInfo {
|
|
968
968
|
/**
|
|
969
969
|
* Tracking number
|
|
970
970
|
* @maxLength 100
|
|
@@ -984,7 +984,7 @@ interface TrackingInfo {
|
|
|
984
984
|
*/
|
|
985
985
|
trackingLink?: string | null;
|
|
986
986
|
}
|
|
987
|
-
interface ShippingPriceData {
|
|
987
|
+
export interface ShippingPriceData {
|
|
988
988
|
/** Whether tax is included in the price. */
|
|
989
989
|
taxIncludedInPrice?: boolean;
|
|
990
990
|
/**
|
|
@@ -993,7 +993,7 @@ interface ShippingPriceData {
|
|
|
993
993
|
*/
|
|
994
994
|
price?: string | null;
|
|
995
995
|
}
|
|
996
|
-
interface PickupDetails {
|
|
996
|
+
export interface PickupDetails {
|
|
997
997
|
/** Pickup address. */
|
|
998
998
|
pickupAddress?: PickupAddress;
|
|
999
999
|
/**
|
|
@@ -1008,7 +1008,7 @@ interface PickupDetails {
|
|
|
1008
1008
|
*/
|
|
1009
1009
|
pickupInstructions?: string | null;
|
|
1010
1010
|
}
|
|
1011
|
-
interface PickupAddress {
|
|
1011
|
+
export interface PickupAddress {
|
|
1012
1012
|
/** Country code (3 letters) */
|
|
1013
1013
|
country?: string;
|
|
1014
1014
|
/**
|
|
@@ -1032,7 +1032,7 @@ interface PickupAddress {
|
|
|
1032
1032
|
*/
|
|
1033
1033
|
zipCode?: string;
|
|
1034
1034
|
}
|
|
1035
|
-
interface BuyerDetails {
|
|
1035
|
+
export interface BuyerDetails {
|
|
1036
1036
|
/** Addressee name */
|
|
1037
1037
|
fullName?: FullName;
|
|
1038
1038
|
/**
|
|
@@ -1049,7 +1049,7 @@ interface BuyerDetails {
|
|
|
1049
1049
|
phone?: string;
|
|
1050
1050
|
}
|
|
1051
1051
|
/** This might be extended in the future with pending orders statuses */
|
|
1052
|
-
declare enum PaymentStatus {
|
|
1052
|
+
export declare enum PaymentStatus {
|
|
1053
1053
|
/** Payment status can't be classified, due to an error */
|
|
1054
1054
|
UNSPECIFIED_PAYMENT_STATUS = "UNSPECIFIED_PAYMENT_STATUS",
|
|
1055
1055
|
/** Order is pending response from the payment provider */
|
|
@@ -1065,7 +1065,7 @@ declare enum PaymentStatus {
|
|
|
1065
1065
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
1066
1066
|
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
1067
1067
|
}
|
|
1068
|
-
declare enum FulfillmentStatus {
|
|
1068
|
+
export declare enum FulfillmentStatus {
|
|
1069
1069
|
/** None of the order items are fulfilled */
|
|
1070
1070
|
NOT_FULFILLED = "NOT_FULFILLED",
|
|
1071
1071
|
/**
|
|
@@ -1078,7 +1078,7 @@ declare enum FulfillmentStatus {
|
|
|
1078
1078
|
/** Some, but not all of the order items are fulfilled */
|
|
1079
1079
|
PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED"
|
|
1080
1080
|
}
|
|
1081
|
-
interface LineItem {
|
|
1081
|
+
export interface LineItem {
|
|
1082
1082
|
/**
|
|
1083
1083
|
* Line item ID (auto-generated, stable within this order only)
|
|
1084
1084
|
* @readonly
|
|
@@ -1177,7 +1177,7 @@ interface LineItem {
|
|
|
1177
1177
|
/** Price data */
|
|
1178
1178
|
priceData?: LineItemPriceData;
|
|
1179
1179
|
}
|
|
1180
|
-
declare enum LineItemType {
|
|
1180
|
+
export declare enum LineItemType {
|
|
1181
1181
|
/** Line item type can't be classified, due to an error */
|
|
1182
1182
|
UNSPECIFIED_LINE_ITEM_TYPE = "UNSPECIFIED_LINE_ITEM_TYPE",
|
|
1183
1183
|
/** Physical item type */
|
|
@@ -1187,7 +1187,7 @@ declare enum LineItemType {
|
|
|
1187
1187
|
/** Custom item price */
|
|
1188
1188
|
CUSTOM_AMOUNT_ITEM = "CUSTOM_AMOUNT_ITEM"
|
|
1189
1189
|
}
|
|
1190
|
-
interface OptionSelection {
|
|
1190
|
+
export interface OptionSelection {
|
|
1191
1191
|
/**
|
|
1192
1192
|
* Option name
|
|
1193
1193
|
* @maxLength 1000
|
|
@@ -1199,7 +1199,7 @@ interface OptionSelection {
|
|
|
1199
1199
|
*/
|
|
1200
1200
|
selection?: string;
|
|
1201
1201
|
}
|
|
1202
|
-
interface CustomTextFieldSelection {
|
|
1202
|
+
export interface CustomTextFieldSelection {
|
|
1203
1203
|
/**
|
|
1204
1204
|
* Custom text field name
|
|
1205
1205
|
* @maxLength 1000
|
|
@@ -1211,7 +1211,7 @@ interface CustomTextFieldSelection {
|
|
|
1211
1211
|
*/
|
|
1212
1212
|
value?: string;
|
|
1213
1213
|
}
|
|
1214
|
-
interface MediaItem {
|
|
1214
|
+
export interface MediaItem {
|
|
1215
1215
|
/**
|
|
1216
1216
|
* Media type
|
|
1217
1217
|
* @readonly
|
|
@@ -1239,7 +1239,7 @@ interface MediaItem {
|
|
|
1239
1239
|
*/
|
|
1240
1240
|
mediaId?: string | null;
|
|
1241
1241
|
/** Media ID (for media items previously saved in Wix Media) */
|
|
1242
|
-
|
|
1242
|
+
id?: string | null;
|
|
1243
1243
|
/** Media external URL */
|
|
1244
1244
|
externalImageUrl?: string | null;
|
|
1245
1245
|
/**
|
|
@@ -1248,13 +1248,13 @@ interface MediaItem {
|
|
|
1248
1248
|
*/
|
|
1249
1249
|
altText?: string | null;
|
|
1250
1250
|
}
|
|
1251
|
-
declare enum MediaItemType {
|
|
1251
|
+
export declare enum MediaItemType {
|
|
1252
1252
|
/** Media item type can't be classified, due to an error */
|
|
1253
1253
|
UNSPECIFIED_MEDIA_TYPE_ITEM = "UNSPECIFIED_MEDIA_TYPE_ITEM",
|
|
1254
1254
|
/** Image item type */
|
|
1255
1255
|
IMAGE = "IMAGE"
|
|
1256
1256
|
}
|
|
1257
|
-
interface LineItemPriceData {
|
|
1257
|
+
export interface LineItemPriceData {
|
|
1258
1258
|
/** Whether tax is included in the price set for this line item */
|
|
1259
1259
|
taxIncludedInPrice?: boolean;
|
|
1260
1260
|
/**
|
|
@@ -1269,7 +1269,7 @@ interface LineItemPriceData {
|
|
|
1269
1269
|
*/
|
|
1270
1270
|
totalPrice?: string | null;
|
|
1271
1271
|
}
|
|
1272
|
-
interface DigitalFile {
|
|
1272
|
+
export interface DigitalFile {
|
|
1273
1273
|
/**
|
|
1274
1274
|
* id of the secure file in media
|
|
1275
1275
|
* @minLength 1
|
|
@@ -1277,7 +1277,7 @@ interface DigitalFile {
|
|
|
1277
1277
|
*/
|
|
1278
1278
|
fileId?: string;
|
|
1279
1279
|
}
|
|
1280
|
-
interface Activity {
|
|
1280
|
+
export interface Activity {
|
|
1281
1281
|
/**
|
|
1282
1282
|
* Activity item type
|
|
1283
1283
|
* @readonly
|
|
@@ -1301,7 +1301,7 @@ interface Activity {
|
|
|
1301
1301
|
*/
|
|
1302
1302
|
timestamp?: Date | null;
|
|
1303
1303
|
}
|
|
1304
|
-
declare enum ActivityType {
|
|
1304
|
+
export declare enum ActivityType {
|
|
1305
1305
|
/** Activity item type can't be classified, due to an error */
|
|
1306
1306
|
UNSPECIFIED_ORDER_HISTORY_ITEM_TYPE = "UNSPECIFIED_ORDER_HISTORY_ITEM_TYPE",
|
|
1307
1307
|
/** Store owner added a comment */
|
|
@@ -1341,28 +1341,28 @@ declare enum ActivityType {
|
|
|
1341
1341
|
/** Order partially paid. During the checkout for orders with deposit items. */
|
|
1342
1342
|
ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID"
|
|
1343
1343
|
}
|
|
1344
|
-
interface V2InvoiceInfo {
|
|
1344
|
+
export interface V2InvoiceInfo {
|
|
1345
1345
|
/**
|
|
1346
1346
|
* Invoice ID
|
|
1347
1347
|
* @maxLength 100
|
|
1348
1348
|
*/
|
|
1349
|
-
|
|
1349
|
+
id?: string;
|
|
1350
1350
|
/** Invoice source */
|
|
1351
1351
|
source?: InvoiceSource;
|
|
1352
1352
|
}
|
|
1353
|
-
declare enum InvoiceSource {
|
|
1353
|
+
export declare enum InvoiceSource {
|
|
1354
1354
|
/** Invoice source can't be classified, due to an error */
|
|
1355
1355
|
UNSPECIFIED_INVOICE_SOURCE = "UNSPECIFIED_INVOICE_SOURCE",
|
|
1356
1356
|
/** Invoice created using the Invoices API */
|
|
1357
1357
|
WIX = "WIX"
|
|
1358
1358
|
}
|
|
1359
|
-
interface Fulfillment {
|
|
1359
|
+
export interface Fulfillment {
|
|
1360
1360
|
/**
|
|
1361
1361
|
* Fulfillment ID (auto generated upon fulfillment creation).
|
|
1362
1362
|
* @format GUID
|
|
1363
1363
|
* @readonly
|
|
1364
1364
|
*/
|
|
1365
|
-
|
|
1365
|
+
id?: string | null;
|
|
1366
1366
|
/**
|
|
1367
1367
|
* Fulfillment creation date and time.
|
|
1368
1368
|
* @readonly
|
|
@@ -1377,7 +1377,7 @@ interface Fulfillment {
|
|
|
1377
1377
|
/** Tracking information. */
|
|
1378
1378
|
trackingInfo?: FulfillmentTrackingInfo;
|
|
1379
1379
|
}
|
|
1380
|
-
interface FulfillmentLineItem {
|
|
1380
|
+
export interface FulfillmentLineItem {
|
|
1381
1381
|
/**
|
|
1382
1382
|
* Line item ID (mirrors the line item index of the order).
|
|
1383
1383
|
* @min 1
|
|
@@ -1394,7 +1394,7 @@ interface FulfillmentLineItem {
|
|
|
1394
1394
|
*/
|
|
1395
1395
|
quantity?: number | null;
|
|
1396
1396
|
}
|
|
1397
|
-
interface FulfillmentTrackingInfo {
|
|
1397
|
+
export interface FulfillmentTrackingInfo {
|
|
1398
1398
|
/**
|
|
1399
1399
|
* Tracking number.
|
|
1400
1400
|
* @minLength 1
|
|
@@ -1420,7 +1420,7 @@ interface FulfillmentTrackingInfo {
|
|
|
1420
1420
|
*/
|
|
1421
1421
|
trackingLink?: string | null;
|
|
1422
1422
|
}
|
|
1423
|
-
interface Discount {
|
|
1423
|
+
export interface Discount {
|
|
1424
1424
|
/**
|
|
1425
1425
|
* Deprecated (use Totals.discount instead)
|
|
1426
1426
|
* @readonly
|
|
@@ -1430,7 +1430,7 @@ interface Discount {
|
|
|
1430
1430
|
/** Applied coupon */
|
|
1431
1431
|
appliedCoupon?: AppliedCoupon;
|
|
1432
1432
|
}
|
|
1433
|
-
interface AppliedCoupon {
|
|
1433
|
+
export interface AppliedCoupon {
|
|
1434
1434
|
/**
|
|
1435
1435
|
* Coupon ID
|
|
1436
1436
|
* @minLength 1
|
|
@@ -1449,7 +1449,7 @@ interface AppliedCoupon {
|
|
|
1449
1449
|
code?: string;
|
|
1450
1450
|
}
|
|
1451
1451
|
/** Custom field */
|
|
1452
|
-
interface CustomField {
|
|
1452
|
+
export interface CustomField {
|
|
1453
1453
|
/**
|
|
1454
1454
|
* Free text that the customer entered in the custom field during the checkout process
|
|
1455
1455
|
* @maxLength 2000
|
|
@@ -1466,7 +1466,7 @@ interface CustomField {
|
|
|
1466
1466
|
*/
|
|
1467
1467
|
translatedTitle?: string;
|
|
1468
1468
|
}
|
|
1469
|
-
interface ChannelInfo {
|
|
1469
|
+
export interface ChannelInfo {
|
|
1470
1470
|
/** Sales channel that submitted the order */
|
|
1471
1471
|
type?: ChannelType;
|
|
1472
1472
|
/**
|
|
@@ -1480,7 +1480,7 @@ interface ChannelInfo {
|
|
|
1480
1480
|
*/
|
|
1481
1481
|
externalOrderUrl?: string | null;
|
|
1482
1482
|
}
|
|
1483
|
-
declare enum ChannelType {
|
|
1483
|
+
export declare enum ChannelType {
|
|
1484
1484
|
UNSPECIFIED = "UNSPECIFIED",
|
|
1485
1485
|
WEB = "WEB",
|
|
1486
1486
|
POS = "POS",
|
|
@@ -1498,23 +1498,23 @@ declare enum ChannelType {
|
|
|
1498
1498
|
TIKTOK = "TIKTOK",
|
|
1499
1499
|
FAIRE_COM = "FAIRE_COM"
|
|
1500
1500
|
}
|
|
1501
|
-
interface EnteredBy {
|
|
1501
|
+
export interface EnteredBy {
|
|
1502
1502
|
/** @format GUID */
|
|
1503
|
-
|
|
1503
|
+
id?: string;
|
|
1504
1504
|
identityType?: EnteredByIdentityType;
|
|
1505
1505
|
}
|
|
1506
|
-
declare enum EnteredByIdentityType {
|
|
1506
|
+
export declare enum EnteredByIdentityType {
|
|
1507
1507
|
USER = "USER",
|
|
1508
1508
|
MEMBER = "MEMBER",
|
|
1509
1509
|
CONTACT = "CONTACT",
|
|
1510
1510
|
APP = "APP"
|
|
1511
1511
|
}
|
|
1512
|
-
interface SubscriptionInfo {
|
|
1512
|
+
export interface SubscriptionInfo {
|
|
1513
1513
|
/**
|
|
1514
1514
|
* Subscription ID.
|
|
1515
1515
|
* @format GUID
|
|
1516
1516
|
*/
|
|
1517
|
-
|
|
1517
|
+
id?: string | null;
|
|
1518
1518
|
/**
|
|
1519
1519
|
* Current cycle number. For example, if the subscription is in the 3rd month of a 4-month subscription, the value will be `3`.
|
|
1520
1520
|
* @min 1
|
|
@@ -1525,7 +1525,7 @@ interface SubscriptionInfo {
|
|
|
1525
1525
|
/** Subscription options info. */
|
|
1526
1526
|
subscriptionOptionInfo?: SubscriptionOptionInfo;
|
|
1527
1527
|
}
|
|
1528
|
-
interface SubscriptionSettings {
|
|
1528
|
+
export interface SubscriptionSettings {
|
|
1529
1529
|
/** Frequency of recurring payment. */
|
|
1530
1530
|
frequency?: SubscriptionFrequency;
|
|
1531
1531
|
/** Whether subscription is renewed automatically at the end of each period. */
|
|
@@ -1538,14 +1538,14 @@ interface SubscriptionSettings {
|
|
|
1538
1538
|
billingCycles?: number | null;
|
|
1539
1539
|
}
|
|
1540
1540
|
/** Frequency unit of recurring payment */
|
|
1541
|
-
declare enum SubscriptionFrequency {
|
|
1541
|
+
export declare enum SubscriptionFrequency {
|
|
1542
1542
|
UNDEFINED = "UNDEFINED",
|
|
1543
1543
|
DAY = "DAY",
|
|
1544
1544
|
WEEK = "WEEK",
|
|
1545
1545
|
MONTH = "MONTH",
|
|
1546
1546
|
YEAR = "YEAR"
|
|
1547
1547
|
}
|
|
1548
|
-
interface SubscriptionOptionInfo {
|
|
1548
|
+
export interface SubscriptionOptionInfo {
|
|
1549
1549
|
/**
|
|
1550
1550
|
* Subscription option title.
|
|
1551
1551
|
* @minLength 1
|
|
@@ -1558,7 +1558,7 @@ interface SubscriptionOptionInfo {
|
|
|
1558
1558
|
*/
|
|
1559
1559
|
description?: string | null;
|
|
1560
1560
|
}
|
|
1561
|
-
interface V2Refund {
|
|
1561
|
+
export interface V2Refund {
|
|
1562
1562
|
/** Refund created timestamp. */
|
|
1563
1563
|
dateCreated?: Date | null;
|
|
1564
1564
|
/**
|
|
@@ -1574,11 +1574,11 @@ interface V2Refund {
|
|
|
1574
1574
|
* Refund ID.
|
|
1575
1575
|
* @format GUID
|
|
1576
1576
|
*/
|
|
1577
|
-
|
|
1577
|
+
id?: string;
|
|
1578
1578
|
/** Whether refund was made externally (on the payment provider's side). */
|
|
1579
1579
|
externalRefund?: boolean;
|
|
1580
1580
|
}
|
|
1581
|
-
interface GiftCard {
|
|
1581
|
+
export interface GiftCard {
|
|
1582
1582
|
/**
|
|
1583
1583
|
* @minLength 1
|
|
1584
1584
|
* @maxLength 100
|
|
@@ -1590,7 +1590,7 @@ interface GiftCard {
|
|
|
1590
1590
|
* @deprecated giftcard internal ID
|
|
1591
1591
|
* @targetRemovalDate 2024-12-31
|
|
1592
1592
|
*/
|
|
1593
|
-
|
|
1593
|
+
id?: string;
|
|
1594
1594
|
/**
|
|
1595
1595
|
* giftcard provider appid
|
|
1596
1596
|
* @format GUID
|
|
@@ -1603,7 +1603,7 @@ interface GiftCard {
|
|
|
1603
1603
|
amount?: string;
|
|
1604
1604
|
}
|
|
1605
1605
|
/** Triggered when a payment is updated. */
|
|
1606
|
-
interface PaymentsUpdated {
|
|
1606
|
+
export interface PaymentsUpdated {
|
|
1607
1607
|
/** Updated order transactions. */
|
|
1608
1608
|
orderTransactions?: OrderTransactions;
|
|
1609
1609
|
/**
|
|
@@ -1618,7 +1618,7 @@ interface PaymentsUpdated {
|
|
|
1618
1618
|
refundIds?: string[];
|
|
1619
1619
|
}
|
|
1620
1620
|
/** Triggered when a payment is updated. */
|
|
1621
|
-
interface PaymentDetailsUpdated {
|
|
1621
|
+
export interface PaymentDetailsUpdated {
|
|
1622
1622
|
/** Updated order transactions. */
|
|
1623
1623
|
orderTransactions?: OrderTransactions;
|
|
1624
1624
|
/**
|
|
@@ -1635,7 +1635,7 @@ interface PaymentDetailsUpdated {
|
|
|
1635
1635
|
refundIds?: string[];
|
|
1636
1636
|
}
|
|
1637
1637
|
/** Triggered when a refund is created. */
|
|
1638
|
-
interface RefundCreated {
|
|
1638
|
+
export interface RefundCreated {
|
|
1639
1639
|
/** Updated order transactions. */
|
|
1640
1640
|
orderTransactions?: OrderTransactions;
|
|
1641
1641
|
/** ID of the created refund. */
|
|
@@ -1649,7 +1649,7 @@ interface RefundCreated {
|
|
|
1649
1649
|
/** Refunded line items and quantities that are part of the created refund. */
|
|
1650
1650
|
refundItems?: RefundItem[];
|
|
1651
1651
|
}
|
|
1652
|
-
interface RestockInfo {
|
|
1652
|
+
export interface RestockInfo {
|
|
1653
1653
|
/** Restock type. */
|
|
1654
1654
|
type?: RestockType;
|
|
1655
1655
|
/**
|
|
@@ -1658,12 +1658,12 @@ interface RestockInfo {
|
|
|
1658
1658
|
*/
|
|
1659
1659
|
items?: RestockItem[];
|
|
1660
1660
|
}
|
|
1661
|
-
declare enum RestockType {
|
|
1661
|
+
export declare enum RestockType {
|
|
1662
1662
|
NO_ITEMS = "NO_ITEMS",
|
|
1663
1663
|
ALL_ITEMS = "ALL_ITEMS",
|
|
1664
1664
|
SOME_ITEMS = "SOME_ITEMS"
|
|
1665
1665
|
}
|
|
1666
|
-
interface RestockItem {
|
|
1666
|
+
export interface RestockItem {
|
|
1667
1667
|
/**
|
|
1668
1668
|
* ID of the line item being restocked.
|
|
1669
1669
|
* @format GUID
|
|
@@ -1676,7 +1676,7 @@ interface RestockItem {
|
|
|
1676
1676
|
*/
|
|
1677
1677
|
quantity?: number;
|
|
1678
1678
|
}
|
|
1679
|
-
interface RefundCompleted {
|
|
1679
|
+
export interface RefundCompleted {
|
|
1680
1680
|
/**
|
|
1681
1681
|
* Order ID.
|
|
1682
1682
|
* @format GUID
|
|
@@ -1689,7 +1689,7 @@ interface RefundCompleted {
|
|
|
1689
1689
|
/** Order transactions after refund is completed. */
|
|
1690
1690
|
orderTransactions?: OrderTransactions;
|
|
1691
1691
|
}
|
|
1692
|
-
interface RefundSideEffects {
|
|
1692
|
+
export interface RefundSideEffects {
|
|
1693
1693
|
/** Inventory restock details as part of this refund. */
|
|
1694
1694
|
restockInfo?: RestockInfo;
|
|
1695
1695
|
/** Whether to send a refund confirmation email to the customer. */
|
|
@@ -1701,7 +1701,7 @@ interface RefundSideEffects {
|
|
|
1701
1701
|
*/
|
|
1702
1702
|
customMessage?: string | null;
|
|
1703
1703
|
}
|
|
1704
|
-
interface ListTransactionsForSingleOrderRequest {
|
|
1704
|
+
export interface ListTransactionsForSingleOrderRequest {
|
|
1705
1705
|
/**
|
|
1706
1706
|
* Order ID.
|
|
1707
1707
|
* @minLength 1
|
|
@@ -1709,11 +1709,11 @@ interface ListTransactionsForSingleOrderRequest {
|
|
|
1709
1709
|
*/
|
|
1710
1710
|
orderId: string;
|
|
1711
1711
|
}
|
|
1712
|
-
interface ListTransactionsForSingleOrderResponse {
|
|
1712
|
+
export interface ListTransactionsForSingleOrderResponse {
|
|
1713
1713
|
/** Order ID and its associated transactions. */
|
|
1714
1714
|
orderTransactions?: OrderTransactions;
|
|
1715
1715
|
}
|
|
1716
|
-
interface ListTransactionsForMultipleOrdersRequest {
|
|
1716
|
+
export interface ListTransactionsForMultipleOrdersRequest {
|
|
1717
1717
|
/**
|
|
1718
1718
|
* Order IDs for which to retrieve transactions.
|
|
1719
1719
|
* @minSize 1
|
|
@@ -1723,11 +1723,11 @@ interface ListTransactionsForMultipleOrdersRequest {
|
|
|
1723
1723
|
*/
|
|
1724
1724
|
orderIds: string[];
|
|
1725
1725
|
}
|
|
1726
|
-
interface ListTransactionsForMultipleOrdersResponse {
|
|
1726
|
+
export interface ListTransactionsForMultipleOrdersResponse {
|
|
1727
1727
|
/** List of order IDs and their associated transactions. */
|
|
1728
1728
|
orderTransactions?: OrderTransactions[];
|
|
1729
1729
|
}
|
|
1730
|
-
interface AddPaymentsRequest {
|
|
1730
|
+
export interface AddPaymentsRequest {
|
|
1731
1731
|
/**
|
|
1732
1732
|
* Order ID.
|
|
1733
1733
|
* @format GUID
|
|
@@ -1740,13 +1740,13 @@ interface AddPaymentsRequest {
|
|
|
1740
1740
|
*/
|
|
1741
1741
|
payments: Payment[];
|
|
1742
1742
|
}
|
|
1743
|
-
interface AddPaymentsResponse {
|
|
1743
|
+
export interface AddPaymentsResponse {
|
|
1744
1744
|
/** Order ID and its associated transactions. */
|
|
1745
1745
|
orderTransactions?: OrderTransactions;
|
|
1746
1746
|
/** IDs of added order payments. */
|
|
1747
1747
|
paymentsIds?: string[];
|
|
1748
1748
|
}
|
|
1749
|
-
interface AddRefundRequest {
|
|
1749
|
+
export interface AddRefundRequest {
|
|
1750
1750
|
/**
|
|
1751
1751
|
* Order ID this refunds related to
|
|
1752
1752
|
* @minLength 1
|
|
@@ -1758,13 +1758,13 @@ interface AddRefundRequest {
|
|
|
1758
1758
|
/** Side effect details related to refund */
|
|
1759
1759
|
sideEffects?: RefundSideEffects;
|
|
1760
1760
|
}
|
|
1761
|
-
interface AddRefundResponse {
|
|
1761
|
+
export interface AddRefundResponse {
|
|
1762
1762
|
/** Order ID and its associated transactions. */
|
|
1763
1763
|
orderTransactions?: OrderTransactions;
|
|
1764
1764
|
/** Created refund ID */
|
|
1765
1765
|
refundId?: string;
|
|
1766
1766
|
}
|
|
1767
|
-
interface UpdatePaymentStatusRequest {
|
|
1767
|
+
export interface UpdatePaymentStatusRequest {
|
|
1768
1768
|
/**
|
|
1769
1769
|
* Order ID.
|
|
1770
1770
|
* @format GUID
|
|
@@ -1778,11 +1778,11 @@ interface UpdatePaymentStatusRequest {
|
|
|
1778
1778
|
/** Payment status. */
|
|
1779
1779
|
status?: TransactionStatus;
|
|
1780
1780
|
}
|
|
1781
|
-
interface UpdatePaymentStatusResponse {
|
|
1781
|
+
export interface UpdatePaymentStatusResponse {
|
|
1782
1782
|
/** Order ID and its associated transactions after update. */
|
|
1783
1783
|
orderTransactions?: OrderTransactions;
|
|
1784
1784
|
}
|
|
1785
|
-
interface BulkUpdatePaymentStatusesRequest {
|
|
1785
|
+
export interface BulkUpdatePaymentStatusesRequest {
|
|
1786
1786
|
/**
|
|
1787
1787
|
* Order and payment IDs for which to update payment status.
|
|
1788
1788
|
* @minSize 1
|
|
@@ -1794,7 +1794,7 @@ interface BulkUpdatePaymentStatusesRequest {
|
|
|
1794
1794
|
/** Payment status. */
|
|
1795
1795
|
status?: TransactionStatus;
|
|
1796
1796
|
}
|
|
1797
|
-
interface PaymentAndOrderId {
|
|
1797
|
+
export interface PaymentAndOrderId {
|
|
1798
1798
|
/**
|
|
1799
1799
|
* Order ID.
|
|
1800
1800
|
* @format GUID
|
|
@@ -1806,21 +1806,21 @@ interface PaymentAndOrderId {
|
|
|
1806
1806
|
*/
|
|
1807
1807
|
paymentId?: string;
|
|
1808
1808
|
}
|
|
1809
|
-
interface BulkUpdatePaymentStatusesResponse {
|
|
1809
|
+
export interface BulkUpdatePaymentStatusesResponse {
|
|
1810
1810
|
/** Bulk operation results. */
|
|
1811
1811
|
results?: BulkPaymentResult[];
|
|
1812
1812
|
/** Bulk operation metadata. */
|
|
1813
1813
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1814
1814
|
}
|
|
1815
|
-
interface BulkPaymentResult {
|
|
1815
|
+
export interface BulkPaymentResult {
|
|
1816
1816
|
/** Item metadata. */
|
|
1817
1817
|
itemMetadata?: ItemMetadata;
|
|
1818
1818
|
/** Updated payment. Returned if `return_full_entity` set to `true`. */
|
|
1819
1819
|
item?: Payment;
|
|
1820
1820
|
}
|
|
1821
|
-
interface ItemMetadata {
|
|
1821
|
+
export interface ItemMetadata {
|
|
1822
1822
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
1823
|
-
|
|
1823
|
+
id?: string | null;
|
|
1824
1824
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
1825
1825
|
originalIndex?: number;
|
|
1826
1826
|
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
@@ -1828,7 +1828,7 @@ interface ItemMetadata {
|
|
|
1828
1828
|
/** Details about the error in case of failure. */
|
|
1829
1829
|
error?: ApplicationError;
|
|
1830
1830
|
}
|
|
1831
|
-
interface ApplicationError {
|
|
1831
|
+
export interface ApplicationError {
|
|
1832
1832
|
/** Error code. */
|
|
1833
1833
|
code?: string;
|
|
1834
1834
|
/** Description of the error. */
|
|
@@ -1836,7 +1836,7 @@ interface ApplicationError {
|
|
|
1836
1836
|
/** Data related to the error. */
|
|
1837
1837
|
data?: Record<string, any> | null;
|
|
1838
1838
|
}
|
|
1839
|
-
interface BulkActionMetadata {
|
|
1839
|
+
export interface BulkActionMetadata {
|
|
1840
1840
|
/** Number of items that were successfully processed. */
|
|
1841
1841
|
totalSuccesses?: number;
|
|
1842
1842
|
/** Number of items that couldn't be processed. */
|
|
@@ -1844,7 +1844,7 @@ interface BulkActionMetadata {
|
|
|
1844
1844
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
1845
1845
|
undetailedFailures?: number;
|
|
1846
1846
|
}
|
|
1847
|
-
interface UpdateRefundRequest {
|
|
1847
|
+
export interface UpdateRefundRequest {
|
|
1848
1848
|
/**
|
|
1849
1849
|
* Order ID.
|
|
1850
1850
|
* @format GUID
|
|
@@ -1853,25 +1853,25 @@ interface UpdateRefundRequest {
|
|
|
1853
1853
|
/** Refund with updated field values. */
|
|
1854
1854
|
refund?: Refund;
|
|
1855
1855
|
}
|
|
1856
|
-
interface UpdateRefundResponse {
|
|
1856
|
+
export interface UpdateRefundResponse {
|
|
1857
1857
|
/** Refund after update. */
|
|
1858
1858
|
refund?: Refund;
|
|
1859
1859
|
/** Order transactions after update. */
|
|
1860
1860
|
orderTransactions?: OrderTransactions;
|
|
1861
1861
|
}
|
|
1862
|
-
interface UpdateRefundTransactionRequest {
|
|
1862
|
+
export interface UpdateRefundTransactionRequest {
|
|
1863
1863
|
}
|
|
1864
|
-
interface UpdateRefundTransactionResponse {
|
|
1864
|
+
export interface UpdateRefundTransactionResponse {
|
|
1865
1865
|
}
|
|
1866
|
-
interface UpdatePaymentsRequest {
|
|
1866
|
+
export interface UpdatePaymentsRequest {
|
|
1867
1867
|
}
|
|
1868
|
-
interface MaskedPayment {
|
|
1868
|
+
export interface MaskedPayment {
|
|
1869
1869
|
}
|
|
1870
|
-
interface UpdatePaymentsResponse {
|
|
1870
|
+
export interface UpdatePaymentsResponse {
|
|
1871
1871
|
}
|
|
1872
|
-
interface QueryOrderTransactionsRequest {
|
|
1872
|
+
export interface QueryOrderTransactionsRequest {
|
|
1873
1873
|
}
|
|
1874
|
-
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
1874
|
+
export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
1875
1875
|
/** 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`. */
|
|
1876
1876
|
cursorPaging?: CursorPaging;
|
|
1877
1877
|
/** 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) */
|
|
@@ -1884,11 +1884,11 @@ interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
1884
1884
|
sort?: Sorting[];
|
|
1885
1885
|
}
|
|
1886
1886
|
/** @oneof */
|
|
1887
|
-
interface CursorQueryPagingMethodOneOf {
|
|
1887
|
+
export interface CursorQueryPagingMethodOneOf {
|
|
1888
1888
|
/** 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`. */
|
|
1889
1889
|
cursorPaging?: CursorPaging;
|
|
1890
1890
|
}
|
|
1891
|
-
interface Sorting {
|
|
1891
|
+
export interface Sorting {
|
|
1892
1892
|
/**
|
|
1893
1893
|
* Name of the field to sort by.
|
|
1894
1894
|
* @maxLength 512
|
|
@@ -1897,13 +1897,13 @@ interface Sorting {
|
|
|
1897
1897
|
/** Sort order. */
|
|
1898
1898
|
order?: SortOrder;
|
|
1899
1899
|
}
|
|
1900
|
-
declare enum SortOrder {
|
|
1900
|
+
export declare enum SortOrder {
|
|
1901
1901
|
/** Ascending order. */
|
|
1902
1902
|
ASC = "ASC",
|
|
1903
1903
|
/** Descending order. */
|
|
1904
1904
|
DESC = "DESC"
|
|
1905
1905
|
}
|
|
1906
|
-
interface CursorPaging {
|
|
1906
|
+
export interface CursorPaging {
|
|
1907
1907
|
/**
|
|
1908
1908
|
* Maximum number of items to return in the results.
|
|
1909
1909
|
* @max 100
|
|
@@ -1918,9 +1918,9 @@ interface CursorPaging {
|
|
|
1918
1918
|
*/
|
|
1919
1919
|
cursor?: string | null;
|
|
1920
1920
|
}
|
|
1921
|
-
interface QueryOrderTransactionsResponse {
|
|
1921
|
+
export interface QueryOrderTransactionsResponse {
|
|
1922
1922
|
}
|
|
1923
|
-
interface CursorPagingMetadata {
|
|
1923
|
+
export interface CursorPagingMetadata {
|
|
1924
1924
|
/** Number of items returned in the response. */
|
|
1925
1925
|
count?: number | null;
|
|
1926
1926
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -1933,7 +1933,7 @@ interface CursorPagingMetadata {
|
|
|
1933
1933
|
*/
|
|
1934
1934
|
hasNext?: boolean | null;
|
|
1935
1935
|
}
|
|
1936
|
-
interface Cursors {
|
|
1936
|
+
export interface Cursors {
|
|
1937
1937
|
/**
|
|
1938
1938
|
* Cursor string pointing to the next page in the list of results.
|
|
1939
1939
|
* @maxLength 16000
|
|
@@ -1945,7 +1945,7 @@ interface Cursors {
|
|
|
1945
1945
|
*/
|
|
1946
1946
|
prev?: string | null;
|
|
1947
1947
|
}
|
|
1948
|
-
interface TriggerRefundRequest {
|
|
1948
|
+
export interface TriggerRefundRequest {
|
|
1949
1949
|
/**
|
|
1950
1950
|
* The order this refund related to
|
|
1951
1951
|
* @minLength 1
|
|
@@ -1972,7 +1972,7 @@ interface TriggerRefundRequest {
|
|
|
1972
1972
|
*/
|
|
1973
1973
|
customMessage?: string | null;
|
|
1974
1974
|
}
|
|
1975
|
-
interface PaymentRefund {
|
|
1975
|
+
export interface PaymentRefund {
|
|
1976
1976
|
/**
|
|
1977
1977
|
* Specific payment within the order to refund
|
|
1978
1978
|
* @format GUID
|
|
@@ -1987,13 +1987,13 @@ interface PaymentRefund {
|
|
|
1987
1987
|
*/
|
|
1988
1988
|
externalRefund?: boolean;
|
|
1989
1989
|
}
|
|
1990
|
-
interface TriggerRefundResponse {
|
|
1990
|
+
export interface TriggerRefundResponse {
|
|
1991
1991
|
/** All order's transactions after the refunds were added */
|
|
1992
1992
|
orderTransactions?: OrderTransactions;
|
|
1993
1993
|
/** Created refund ID */
|
|
1994
1994
|
refundId?: string;
|
|
1995
1995
|
}
|
|
1996
|
-
interface CalculateRefundRequest {
|
|
1996
|
+
export interface CalculateRefundRequest {
|
|
1997
1997
|
/**
|
|
1998
1998
|
* Order ID
|
|
1999
1999
|
* @minLength 1
|
|
@@ -2008,7 +2008,7 @@ interface CalculateRefundRequest {
|
|
|
2008
2008
|
/** Should include shipping in refund calculation */
|
|
2009
2009
|
refundShipping?: boolean;
|
|
2010
2010
|
}
|
|
2011
|
-
interface CalculateRefundItemRequest {
|
|
2011
|
+
export interface CalculateRefundItemRequest {
|
|
2012
2012
|
/**
|
|
2013
2013
|
* ID of the line item being refunded
|
|
2014
2014
|
* @format GUID
|
|
@@ -2023,7 +2023,7 @@ interface CalculateRefundItemRequest {
|
|
|
2023
2023
|
/** Should this item be restocked (used for validation purposes) */
|
|
2024
2024
|
restock?: boolean;
|
|
2025
2025
|
}
|
|
2026
|
-
interface CalculateRefundResponse {
|
|
2026
|
+
export interface CalculateRefundResponse {
|
|
2027
2027
|
/**
|
|
2028
2028
|
* Total refundable amount
|
|
2029
2029
|
* @format DECIMAL_VALUE
|
|
@@ -2052,13 +2052,13 @@ interface CalculateRefundResponse {
|
|
|
2052
2052
|
/** The refundable items of that order */
|
|
2053
2053
|
items?: CalculateRefundItemResponse[];
|
|
2054
2054
|
}
|
|
2055
|
-
interface CalculateRefundItemResponse {
|
|
2055
|
+
export interface CalculateRefundItemResponse {
|
|
2056
2056
|
/** Line item ID */
|
|
2057
2057
|
lineItemId?: string;
|
|
2058
2058
|
/** The line item's price */
|
|
2059
2059
|
lineItemPrice?: number;
|
|
2060
2060
|
}
|
|
2061
|
-
interface GetRefundabilityStatusRequest {
|
|
2061
|
+
export interface GetRefundabilityStatusRequest {
|
|
2062
2062
|
/**
|
|
2063
2063
|
* Order ID.
|
|
2064
2064
|
* @minLength 1
|
|
@@ -2066,7 +2066,7 @@ interface GetRefundabilityStatusRequest {
|
|
|
2066
2066
|
*/
|
|
2067
2067
|
orderId?: string;
|
|
2068
2068
|
}
|
|
2069
|
-
interface GetRefundabilityStatusResponse {
|
|
2069
|
+
export interface GetRefundabilityStatusResponse {
|
|
2070
2070
|
/**
|
|
2071
2071
|
* Refundability details.
|
|
2072
2072
|
* @maxSize 1
|
|
@@ -2075,7 +2075,7 @@ interface GetRefundabilityStatusResponse {
|
|
|
2075
2075
|
/** Whether the order supports refunding per item. */
|
|
2076
2076
|
refundablePerItem?: boolean;
|
|
2077
2077
|
}
|
|
2078
|
-
interface Refundability extends RefundabilityAdditionalRefundabilityInfoOneOf {
|
|
2078
|
+
export interface Refundability extends RefundabilityAdditionalRefundabilityInfoOneOf {
|
|
2079
2079
|
/** Reason why payment is not refundable. */
|
|
2080
2080
|
nonRefundableReason?: NonRefundableReason;
|
|
2081
2081
|
/** Reason why payment is only refundable manually. */
|
|
@@ -2088,13 +2088,13 @@ interface Refundability extends RefundabilityAdditionalRefundabilityInfoOneOf {
|
|
|
2088
2088
|
providerLink?: string | null;
|
|
2089
2089
|
}
|
|
2090
2090
|
/** @oneof */
|
|
2091
|
-
interface RefundabilityAdditionalRefundabilityInfoOneOf {
|
|
2091
|
+
export interface RefundabilityAdditionalRefundabilityInfoOneOf {
|
|
2092
2092
|
/** Reason why payment is not refundable. */
|
|
2093
2093
|
nonRefundableReason?: NonRefundableReason;
|
|
2094
2094
|
/** Reason why payment is only refundable manually. */
|
|
2095
2095
|
manuallyRefundableReason?: ManuallyRefundableReason;
|
|
2096
2096
|
}
|
|
2097
|
-
declare enum RefundableStatus {
|
|
2097
|
+
export declare enum RefundableStatus {
|
|
2098
2098
|
/** Not refundable. */
|
|
2099
2099
|
NOT_REFUNDABLE = "NOT_REFUNDABLE",
|
|
2100
2100
|
/** Refundable manually. */
|
|
@@ -2102,7 +2102,7 @@ declare enum RefundableStatus {
|
|
|
2102
2102
|
/** Refundable. */
|
|
2103
2103
|
REFUNDABLE = "REFUNDABLE"
|
|
2104
2104
|
}
|
|
2105
|
-
declare enum NonRefundableReason {
|
|
2105
|
+
export declare enum NonRefundableReason {
|
|
2106
2106
|
/** No reason. */
|
|
2107
2107
|
NONE = "NONE",
|
|
2108
2108
|
/** Payment already refunded. */
|
|
@@ -2128,7 +2128,7 @@ declare enum NonRefundableReason {
|
|
|
2128
2128
|
/** Action forbidden. */
|
|
2129
2129
|
FORBIDDEN = "FORBIDDEN"
|
|
2130
2130
|
}
|
|
2131
|
-
declare enum ManuallyRefundableReason {
|
|
2131
|
+
export declare enum ManuallyRefundableReason {
|
|
2132
2132
|
/** Payment expired. */
|
|
2133
2133
|
EXPIRED = "EXPIRED",
|
|
2134
2134
|
/** Payment method not supported. */
|
|
@@ -2140,7 +2140,7 @@ declare enum ManuallyRefundableReason {
|
|
|
2140
2140
|
/** Refund requires interaction with card reader. */
|
|
2141
2141
|
REQUIRES_CARD_READER = "REQUIRES_CARD_READER"
|
|
2142
2142
|
}
|
|
2143
|
-
interface ListInvoicesForSingleOrderRequest {
|
|
2143
|
+
export interface ListInvoicesForSingleOrderRequest {
|
|
2144
2144
|
/**
|
|
2145
2145
|
* Order ID.
|
|
2146
2146
|
* @minLength 1
|
|
@@ -2148,13 +2148,13 @@ interface ListInvoicesForSingleOrderRequest {
|
|
|
2148
2148
|
*/
|
|
2149
2149
|
orderId?: string;
|
|
2150
2150
|
}
|
|
2151
|
-
interface ListInvoicesForSingleOrderResponse {
|
|
2151
|
+
export interface ListInvoicesForSingleOrderResponse {
|
|
2152
2152
|
/** List of invoices. */
|
|
2153
2153
|
invoices?: InvoiceInfo[];
|
|
2154
2154
|
}
|
|
2155
|
-
interface InvoiceInfo {
|
|
2155
|
+
export interface InvoiceInfo {
|
|
2156
2156
|
/** Invoice ID. */
|
|
2157
|
-
|
|
2157
|
+
id?: string;
|
|
2158
2158
|
/** ID of the app that set the invoice. */
|
|
2159
2159
|
appId?: string;
|
|
2160
2160
|
/**
|
|
@@ -2166,9 +2166,9 @@ interface InvoiceInfo {
|
|
|
2166
2166
|
* Invoice creation date and time.
|
|
2167
2167
|
* @deprecated
|
|
2168
2168
|
*/
|
|
2169
|
-
|
|
2169
|
+
createdDate?: Date | null;
|
|
2170
2170
|
}
|
|
2171
|
-
interface ListInvoicesForMultipleOrdersRequest {
|
|
2171
|
+
export interface ListInvoicesForMultipleOrdersRequest {
|
|
2172
2172
|
/**
|
|
2173
2173
|
* Order IDs for which to retrieve invoices.
|
|
2174
2174
|
* @maxSize 300
|
|
@@ -2177,17 +2177,17 @@ interface ListInvoicesForMultipleOrdersRequest {
|
|
|
2177
2177
|
*/
|
|
2178
2178
|
orderIds?: string[];
|
|
2179
2179
|
}
|
|
2180
|
-
interface ListInvoicesForMultipleOrdersResponse {
|
|
2180
|
+
export interface ListInvoicesForMultipleOrdersResponse {
|
|
2181
2181
|
/** List of order IDs and their associated invoices. */
|
|
2182
2182
|
invoicesForOrder?: InvoicesForOrder[];
|
|
2183
2183
|
}
|
|
2184
|
-
interface InvoicesForOrder {
|
|
2184
|
+
export interface InvoicesForOrder {
|
|
2185
2185
|
/** Order ID. */
|
|
2186
2186
|
orderId?: string;
|
|
2187
2187
|
/** Invoices info. */
|
|
2188
2188
|
invoicesInfo?: InvoiceInfo[];
|
|
2189
2189
|
}
|
|
2190
|
-
interface GenerateInvoiceRequest {
|
|
2190
|
+
export interface GenerateInvoiceRequest {
|
|
2191
2191
|
/**
|
|
2192
2192
|
* Order ID.
|
|
2193
2193
|
* @minLength 1
|
|
@@ -2195,11 +2195,11 @@ interface GenerateInvoiceRequest {
|
|
|
2195
2195
|
*/
|
|
2196
2196
|
orderId?: string;
|
|
2197
2197
|
}
|
|
2198
|
-
interface GenerateInvoiceResponse {
|
|
2198
|
+
export interface GenerateInvoiceResponse {
|
|
2199
2199
|
/** Invoice ID. */
|
|
2200
2200
|
invoiceId?: string;
|
|
2201
2201
|
}
|
|
2202
|
-
interface BulkGenerateInvoicesRequest {
|
|
2202
|
+
export interface BulkGenerateInvoicesRequest {
|
|
2203
2203
|
/**
|
|
2204
2204
|
* Order IDs.
|
|
2205
2205
|
* @minSize 1
|
|
@@ -2209,21 +2209,21 @@ interface BulkGenerateInvoicesRequest {
|
|
|
2209
2209
|
*/
|
|
2210
2210
|
orderIds?: string[];
|
|
2211
2211
|
}
|
|
2212
|
-
interface BulkGenerateInvoicesResponse {
|
|
2212
|
+
export interface BulkGenerateInvoicesResponse {
|
|
2213
2213
|
results?: BulkInvoiceResult[];
|
|
2214
2214
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2215
2215
|
}
|
|
2216
|
-
interface BulkInvoiceResult {
|
|
2216
|
+
export interface BulkInvoiceResult {
|
|
2217
2217
|
itemMetadata?: ItemMetadata;
|
|
2218
2218
|
item?: InvoiceForOrder;
|
|
2219
2219
|
}
|
|
2220
|
-
interface InvoiceForOrder {
|
|
2220
|
+
export interface InvoiceForOrder {
|
|
2221
2221
|
/** Order ID. */
|
|
2222
2222
|
orderId?: string;
|
|
2223
2223
|
/** Invoice ID. */
|
|
2224
2224
|
invoiceId?: string;
|
|
2225
2225
|
}
|
|
2226
|
-
interface AddInvoiceToOrderRequest {
|
|
2226
|
+
export interface AddInvoiceToOrderRequest {
|
|
2227
2227
|
/**
|
|
2228
2228
|
* Order ID.
|
|
2229
2229
|
* @minLength 1
|
|
@@ -2233,11 +2233,11 @@ interface AddInvoiceToOrderRequest {
|
|
|
2233
2233
|
/** Invoice info. */
|
|
2234
2234
|
invoiceInfo?: InvoiceInfo;
|
|
2235
2235
|
}
|
|
2236
|
-
interface AddInvoiceToOrderResponse {
|
|
2236
|
+
export interface AddInvoiceToOrderResponse {
|
|
2237
2237
|
/** List of order invoices. */
|
|
2238
2238
|
orderInvoices?: InvoiceInfo[];
|
|
2239
2239
|
}
|
|
2240
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
2240
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
2241
2241
|
createdEvent?: EntityCreatedEvent;
|
|
2242
2242
|
updatedEvent?: EntityUpdatedEvent;
|
|
2243
2243
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -2246,7 +2246,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
2246
2246
|
* Unique event ID.
|
|
2247
2247
|
* Allows clients to ignore duplicate webhooks.
|
|
2248
2248
|
*/
|
|
2249
|
-
|
|
2249
|
+
id?: string;
|
|
2250
2250
|
/**
|
|
2251
2251
|
* Assumes actions are also always typed to an entity_type
|
|
2252
2252
|
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
@@ -2280,34 +2280,36 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
2280
2280
|
entityEventSequence?: string | null;
|
|
2281
2281
|
}
|
|
2282
2282
|
/** @oneof */
|
|
2283
|
-
interface DomainEventBodyOneOf {
|
|
2283
|
+
export interface DomainEventBodyOneOf {
|
|
2284
2284
|
createdEvent?: EntityCreatedEvent;
|
|
2285
2285
|
updatedEvent?: EntityUpdatedEvent;
|
|
2286
2286
|
deletedEvent?: EntityDeletedEvent;
|
|
2287
2287
|
actionEvent?: ActionEvent;
|
|
2288
2288
|
}
|
|
2289
|
-
interface EntityCreatedEvent {
|
|
2290
|
-
|
|
2289
|
+
export interface EntityCreatedEvent {
|
|
2290
|
+
entityAsJson?: string;
|
|
2291
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
2292
|
+
restoreInfo?: RestoreInfo;
|
|
2291
2293
|
}
|
|
2292
|
-
interface RestoreInfo {
|
|
2294
|
+
export interface RestoreInfo {
|
|
2293
2295
|
deletedDate?: Date | null;
|
|
2294
2296
|
}
|
|
2295
|
-
interface EntityUpdatedEvent {
|
|
2297
|
+
export interface EntityUpdatedEvent {
|
|
2296
2298
|
/**
|
|
2297
2299
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
2298
2300
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
2299
2301
|
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
2300
2302
|
*/
|
|
2301
|
-
|
|
2303
|
+
currentEntityAsJson?: string;
|
|
2302
2304
|
}
|
|
2303
|
-
interface EntityDeletedEvent {
|
|
2305
|
+
export interface EntityDeletedEvent {
|
|
2304
2306
|
/** Entity that was deleted */
|
|
2305
|
-
|
|
2307
|
+
deletedEntityAsJson?: string | null;
|
|
2306
2308
|
}
|
|
2307
|
-
interface ActionEvent {
|
|
2308
|
-
|
|
2309
|
+
export interface ActionEvent {
|
|
2310
|
+
bodyAsJson?: string;
|
|
2309
2311
|
}
|
|
2310
|
-
interface MessageEnvelope {
|
|
2312
|
+
export interface MessageEnvelope {
|
|
2311
2313
|
/**
|
|
2312
2314
|
* App instance ID.
|
|
2313
2315
|
* @format GUID
|
|
@@ -2323,7 +2325,7 @@ interface MessageEnvelope {
|
|
|
2323
2325
|
/** Stringify payload. */
|
|
2324
2326
|
data?: string;
|
|
2325
2327
|
}
|
|
2326
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2328
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2327
2329
|
/**
|
|
2328
2330
|
* ID of a site visitor that has not logged in to the site.
|
|
2329
2331
|
* @format GUID
|
|
@@ -2348,7 +2350,7 @@ interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
2348
2350
|
identityType?: WebhookIdentityType;
|
|
2349
2351
|
}
|
|
2350
2352
|
/** @oneof */
|
|
2351
|
-
interface IdentificationDataIdOneOf {
|
|
2353
|
+
export interface IdentificationDataIdOneOf {
|
|
2352
2354
|
/**
|
|
2353
2355
|
* ID of a site visitor that has not logged in to the site.
|
|
2354
2356
|
* @format GUID
|
|
@@ -2370,34 +2372,10 @@ interface IdentificationDataIdOneOf {
|
|
|
2370
2372
|
*/
|
|
2371
2373
|
appId?: string;
|
|
2372
2374
|
}
|
|
2373
|
-
declare enum WebhookIdentityType {
|
|
2375
|
+
export declare enum WebhookIdentityType {
|
|
2374
2376
|
UNKNOWN = "UNKNOWN",
|
|
2375
2377
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
2376
2378
|
MEMBER = "MEMBER",
|
|
2377
2379
|
WIX_USER = "WIX_USER",
|
|
2378
2380
|
APP = "APP"
|
|
2379
2381
|
}
|
|
2380
|
-
interface UpdatePaymentStatusIdentifiers {
|
|
2381
|
-
/**
|
|
2382
|
-
* Payment ID.
|
|
2383
|
-
* @format GUID
|
|
2384
|
-
*/
|
|
2385
|
-
paymentId: string;
|
|
2386
|
-
/**
|
|
2387
|
-
* Order ID.
|
|
2388
|
-
* @format GUID
|
|
2389
|
-
*/
|
|
2390
|
-
orderId: string;
|
|
2391
|
-
}
|
|
2392
|
-
interface UpdatePaymentStatusOptions {
|
|
2393
|
-
/** Payment status. */
|
|
2394
|
-
status?: TransactionStatus;
|
|
2395
|
-
}
|
|
2396
|
-
interface BulkUpdatePaymentStatusesOptions {
|
|
2397
|
-
/** Whether to return the full payment entity (`results.item`) in the response. */
|
|
2398
|
-
returnFullEntity?: boolean;
|
|
2399
|
-
/** Payment status. */
|
|
2400
|
-
status?: TransactionStatus;
|
|
2401
|
-
}
|
|
2402
|
-
|
|
2403
|
-
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 };
|