@wix/auto_sdk_ecom_order-transactions 1.0.77 → 1.0.78
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.js +0 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -13
- package/build/cjs/index.typings.js +0 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +6 -13
- package/build/cjs/meta.js +0 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +0 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -13
- package/build/es/index.typings.mjs +0 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +6 -13
- package/build/es/meta.mjs +0 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +0 -6
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +6 -13
- package/build/internal/cjs/index.typings.js +0 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +6 -13
- package/build/internal/cjs/meta.js +0 -6
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +0 -6
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +6 -13
- package/build/internal/es/index.typings.mjs +0 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +6 -13
- package/build/internal/es/meta.mjs +0 -6
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -185,7 +185,6 @@ interface AuthorizationCapture {
|
|
|
185
185
|
failureDetails?: AuthorizationActionFailureDetails;
|
|
186
186
|
}
|
|
187
187
|
declare enum AuthorizationCaptureStatus {
|
|
188
|
-
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
189
188
|
/** Capture operation still in progress. */
|
|
190
189
|
PENDING = "PENDING",
|
|
191
190
|
/** Capture operation succeeded. */
|
|
@@ -194,7 +193,7 @@ declare enum AuthorizationCaptureStatus {
|
|
|
194
193
|
FAILED = "FAILED"
|
|
195
194
|
}
|
|
196
195
|
/** @enumType */
|
|
197
|
-
type AuthorizationCaptureStatusWithLiterals = AuthorizationCaptureStatus | '
|
|
196
|
+
type AuthorizationCaptureStatusWithLiterals = AuthorizationCaptureStatus | 'PENDING' | 'SUCCEEDED' | 'FAILED';
|
|
198
197
|
interface Price {
|
|
199
198
|
/**
|
|
200
199
|
* Amount.
|
|
@@ -222,7 +221,6 @@ interface AuthorizationVoid {
|
|
|
222
221
|
reason?: ReasonWithLiterals;
|
|
223
222
|
}
|
|
224
223
|
declare enum AuthorizationVoidStatus {
|
|
225
|
-
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
226
224
|
/** Void operation still in progress. */
|
|
227
225
|
PENDING = "PENDING",
|
|
228
226
|
/** Void operation succeeded. */
|
|
@@ -231,17 +229,16 @@ declare enum AuthorizationVoidStatus {
|
|
|
231
229
|
FAILED = "FAILED"
|
|
232
230
|
}
|
|
233
231
|
/** @enumType */
|
|
234
|
-
type AuthorizationVoidStatusWithLiterals = AuthorizationVoidStatus | '
|
|
232
|
+
type AuthorizationVoidStatusWithLiterals = AuthorizationVoidStatus | 'PENDING' | 'SUCCEEDED' | 'FAILED';
|
|
235
233
|
/** Reason the authorization was voided. */
|
|
236
234
|
declare enum Reason {
|
|
237
|
-
UNKNOWN_REASON = "UNKNOWN_REASON",
|
|
238
235
|
/** Authorization was voided by user. */
|
|
239
236
|
MANUAL = "MANUAL",
|
|
240
237
|
/** Authorization passed execution date. */
|
|
241
238
|
SCHEDULED = "SCHEDULED"
|
|
242
239
|
}
|
|
243
240
|
/** @enumType */
|
|
244
|
-
type ReasonWithLiterals = Reason | '
|
|
241
|
+
type ReasonWithLiterals = Reason | 'MANUAL' | 'SCHEDULED';
|
|
245
242
|
interface ScheduledAction {
|
|
246
243
|
/** Type of the action. */
|
|
247
244
|
actionType?: ActionTypeWithLiterals;
|
|
@@ -249,12 +246,11 @@ interface ScheduledAction {
|
|
|
249
246
|
executionDate?: Date | null;
|
|
250
247
|
}
|
|
251
248
|
declare enum ActionType {
|
|
252
|
-
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
253
249
|
VOID = "VOID",
|
|
254
250
|
CAPTURE = "CAPTURE"
|
|
255
251
|
}
|
|
256
252
|
/** @enumType */
|
|
257
|
-
type ActionTypeWithLiterals = ActionType | '
|
|
253
|
+
type ActionTypeWithLiterals = ActionType | 'VOID' | 'CAPTURE';
|
|
258
254
|
interface Chargeback {
|
|
259
255
|
/**
|
|
260
256
|
* Chargeback ID.
|
|
@@ -300,14 +296,13 @@ interface Chargeback {
|
|
|
300
296
|
externalId?: string | null;
|
|
301
297
|
}
|
|
302
298
|
declare enum ChargebackStatus {
|
|
303
|
-
UNSPECIFIED = "UNSPECIFIED",
|
|
304
299
|
/** Chargeback was approved. */
|
|
305
300
|
APPROVED = "APPROVED",
|
|
306
301
|
/** Chargeback was reversed. */
|
|
307
302
|
REVERSED = "REVERSED"
|
|
308
303
|
}
|
|
309
304
|
/** @enumType */
|
|
310
|
-
type ChargebackStatusWithLiterals = ChargebackStatus | '
|
|
305
|
+
type ChargebackStatusWithLiterals = ChargebackStatus | 'APPROVED' | 'REVERSED';
|
|
311
306
|
interface PaymentMethodName {
|
|
312
307
|
/**
|
|
313
308
|
* Translated payment method name in buyer language.
|
|
@@ -357,8 +352,6 @@ interface UserDefinedPaymentMethodNameKindOneOf {
|
|
|
357
352
|
}
|
|
358
353
|
/** Predefined payment method types for offline/manual payments. */
|
|
359
354
|
declare enum PredefinedPaymentMethod {
|
|
360
|
-
/** Unknown payment method type. */
|
|
361
|
-
UNKNOWN_PREDEFINED_PAYMENT_METHOD = "UNKNOWN_PREDEFINED_PAYMENT_METHOD",
|
|
362
355
|
/** Cash payment. */
|
|
363
356
|
CASH = "CASH",
|
|
364
357
|
/** Bank transfer. */
|
|
@@ -367,7 +360,7 @@ declare enum PredefinedPaymentMethod {
|
|
|
367
360
|
CHECK = "CHECK"
|
|
368
361
|
}
|
|
369
362
|
/** @enumType */
|
|
370
|
-
type PredefinedPaymentMethodWithLiterals = PredefinedPaymentMethod | '
|
|
363
|
+
type PredefinedPaymentMethodWithLiterals = PredefinedPaymentMethod | 'CASH' | 'BANK_TRANSFER' | 'CHECK';
|
|
371
364
|
interface GiftCardPaymentDetails {
|
|
372
365
|
/**
|
|
373
366
|
* Gift card payment ID.
|
|
@@ -501,39 +501,33 @@ var TransactionStatus = /* @__PURE__ */ ((TransactionStatus2) => {
|
|
|
501
501
|
return TransactionStatus2;
|
|
502
502
|
})(TransactionStatus || {});
|
|
503
503
|
var AuthorizationCaptureStatus = /* @__PURE__ */ ((AuthorizationCaptureStatus2) => {
|
|
504
|
-
AuthorizationCaptureStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
505
504
|
AuthorizationCaptureStatus2["PENDING"] = "PENDING";
|
|
506
505
|
AuthorizationCaptureStatus2["SUCCEEDED"] = "SUCCEEDED";
|
|
507
506
|
AuthorizationCaptureStatus2["FAILED"] = "FAILED";
|
|
508
507
|
return AuthorizationCaptureStatus2;
|
|
509
508
|
})(AuthorizationCaptureStatus || {});
|
|
510
509
|
var AuthorizationVoidStatus = /* @__PURE__ */ ((AuthorizationVoidStatus2) => {
|
|
511
|
-
AuthorizationVoidStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
512
510
|
AuthorizationVoidStatus2["PENDING"] = "PENDING";
|
|
513
511
|
AuthorizationVoidStatus2["SUCCEEDED"] = "SUCCEEDED";
|
|
514
512
|
AuthorizationVoidStatus2["FAILED"] = "FAILED";
|
|
515
513
|
return AuthorizationVoidStatus2;
|
|
516
514
|
})(AuthorizationVoidStatus || {});
|
|
517
515
|
var Reason = /* @__PURE__ */ ((Reason2) => {
|
|
518
|
-
Reason2["UNKNOWN_REASON"] = "UNKNOWN_REASON";
|
|
519
516
|
Reason2["MANUAL"] = "MANUAL";
|
|
520
517
|
Reason2["SCHEDULED"] = "SCHEDULED";
|
|
521
518
|
return Reason2;
|
|
522
519
|
})(Reason || {});
|
|
523
520
|
var ActionType = /* @__PURE__ */ ((ActionType2) => {
|
|
524
|
-
ActionType2["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
525
521
|
ActionType2["VOID"] = "VOID";
|
|
526
522
|
ActionType2["CAPTURE"] = "CAPTURE";
|
|
527
523
|
return ActionType2;
|
|
528
524
|
})(ActionType || {});
|
|
529
525
|
var ChargebackStatus = /* @__PURE__ */ ((ChargebackStatus2) => {
|
|
530
|
-
ChargebackStatus2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
531
526
|
ChargebackStatus2["APPROVED"] = "APPROVED";
|
|
532
527
|
ChargebackStatus2["REVERSED"] = "REVERSED";
|
|
533
528
|
return ChargebackStatus2;
|
|
534
529
|
})(ChargebackStatus || {});
|
|
535
530
|
var PredefinedPaymentMethod = /* @__PURE__ */ ((PredefinedPaymentMethod2) => {
|
|
536
|
-
PredefinedPaymentMethod2["UNKNOWN_PREDEFINED_PAYMENT_METHOD"] = "UNKNOWN_PREDEFINED_PAYMENT_METHOD";
|
|
537
531
|
PredefinedPaymentMethod2["CASH"] = "CASH";
|
|
538
532
|
PredefinedPaymentMethod2["BANK_TRANSFER"] = "BANK_TRANSFER";
|
|
539
533
|
PredefinedPaymentMethod2["CHECK"] = "CHECK";
|