@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
|
@@ -235,7 +235,6 @@ interface AuthorizationCapture {
|
|
|
235
235
|
failureDetails?: AuthorizationActionFailureDetails;
|
|
236
236
|
}
|
|
237
237
|
declare enum AuthorizationCaptureStatus {
|
|
238
|
-
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
239
238
|
/** Capture operation still in progress. */
|
|
240
239
|
PENDING = "PENDING",
|
|
241
240
|
/** Capture operation succeeded. */
|
|
@@ -244,7 +243,7 @@ declare enum AuthorizationCaptureStatus {
|
|
|
244
243
|
FAILED = "FAILED"
|
|
245
244
|
}
|
|
246
245
|
/** @enumType */
|
|
247
|
-
type AuthorizationCaptureStatusWithLiterals = AuthorizationCaptureStatus | '
|
|
246
|
+
type AuthorizationCaptureStatusWithLiterals = AuthorizationCaptureStatus | 'PENDING' | 'SUCCEEDED' | 'FAILED';
|
|
248
247
|
interface Price {
|
|
249
248
|
/**
|
|
250
249
|
* Amount.
|
|
@@ -272,7 +271,6 @@ interface AuthorizationVoid {
|
|
|
272
271
|
reason?: ReasonWithLiterals;
|
|
273
272
|
}
|
|
274
273
|
declare enum AuthorizationVoidStatus {
|
|
275
|
-
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
276
274
|
/** Void operation still in progress. */
|
|
277
275
|
PENDING = "PENDING",
|
|
278
276
|
/** Void operation succeeded. */
|
|
@@ -281,17 +279,16 @@ declare enum AuthorizationVoidStatus {
|
|
|
281
279
|
FAILED = "FAILED"
|
|
282
280
|
}
|
|
283
281
|
/** @enumType */
|
|
284
|
-
type AuthorizationVoidStatusWithLiterals = AuthorizationVoidStatus | '
|
|
282
|
+
type AuthorizationVoidStatusWithLiterals = AuthorizationVoidStatus | 'PENDING' | 'SUCCEEDED' | 'FAILED';
|
|
285
283
|
/** Reason the authorization was voided. */
|
|
286
284
|
declare enum Reason {
|
|
287
|
-
UNKNOWN_REASON = "UNKNOWN_REASON",
|
|
288
285
|
/** Authorization was voided by user. */
|
|
289
286
|
MANUAL = "MANUAL",
|
|
290
287
|
/** Authorization passed execution date. */
|
|
291
288
|
SCHEDULED = "SCHEDULED"
|
|
292
289
|
}
|
|
293
290
|
/** @enumType */
|
|
294
|
-
type ReasonWithLiterals = Reason | '
|
|
291
|
+
type ReasonWithLiterals = Reason | 'MANUAL' | 'SCHEDULED';
|
|
295
292
|
interface ScheduledAction {
|
|
296
293
|
/** Type of the action. */
|
|
297
294
|
actionType?: ActionTypeWithLiterals;
|
|
@@ -299,12 +296,11 @@ interface ScheduledAction {
|
|
|
299
296
|
executionDate?: Date | null;
|
|
300
297
|
}
|
|
301
298
|
declare enum ActionType {
|
|
302
|
-
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
303
299
|
VOID = "VOID",
|
|
304
300
|
CAPTURE = "CAPTURE"
|
|
305
301
|
}
|
|
306
302
|
/** @enumType */
|
|
307
|
-
type ActionTypeWithLiterals = ActionType | '
|
|
303
|
+
type ActionTypeWithLiterals = ActionType | 'VOID' | 'CAPTURE';
|
|
308
304
|
interface Chargeback {
|
|
309
305
|
/**
|
|
310
306
|
* Chargeback ID.
|
|
@@ -350,14 +346,13 @@ interface Chargeback {
|
|
|
350
346
|
externalId?: string | null;
|
|
351
347
|
}
|
|
352
348
|
declare enum ChargebackStatus {
|
|
353
|
-
UNSPECIFIED = "UNSPECIFIED",
|
|
354
349
|
/** Chargeback was approved. */
|
|
355
350
|
APPROVED = "APPROVED",
|
|
356
351
|
/** Chargeback was reversed. */
|
|
357
352
|
REVERSED = "REVERSED"
|
|
358
353
|
}
|
|
359
354
|
/** @enumType */
|
|
360
|
-
type ChargebackStatusWithLiterals = ChargebackStatus | '
|
|
355
|
+
type ChargebackStatusWithLiterals = ChargebackStatus | 'APPROVED' | 'REVERSED';
|
|
361
356
|
interface PaymentMethodName {
|
|
362
357
|
/**
|
|
363
358
|
* Translated payment method name in buyer language.
|
|
@@ -407,8 +402,6 @@ interface UserDefinedPaymentMethodNameKindOneOf {
|
|
|
407
402
|
}
|
|
408
403
|
/** Predefined payment method types for offline/manual payments. */
|
|
409
404
|
declare enum PredefinedPaymentMethod {
|
|
410
|
-
/** Unknown payment method type. */
|
|
411
|
-
UNKNOWN_PREDEFINED_PAYMENT_METHOD = "UNKNOWN_PREDEFINED_PAYMENT_METHOD",
|
|
412
405
|
/** Cash payment. */
|
|
413
406
|
CASH = "CASH",
|
|
414
407
|
/** Bank transfer. */
|
|
@@ -417,7 +410,7 @@ declare enum PredefinedPaymentMethod {
|
|
|
417
410
|
CHECK = "CHECK"
|
|
418
411
|
}
|
|
419
412
|
/** @enumType */
|
|
420
|
-
type PredefinedPaymentMethodWithLiterals = PredefinedPaymentMethod | '
|
|
413
|
+
type PredefinedPaymentMethodWithLiterals = PredefinedPaymentMethod | 'CASH' | 'BANK_TRANSFER' | 'CHECK';
|
|
421
414
|
interface GiftCardPaymentDetails {
|
|
422
415
|
/**
|
|
423
416
|
* Gift card payment ID.
|
|
@@ -545,39 +545,33 @@ var TransactionStatus = /* @__PURE__ */ ((TransactionStatus2) => {
|
|
|
545
545
|
return TransactionStatus2;
|
|
546
546
|
})(TransactionStatus || {});
|
|
547
547
|
var AuthorizationCaptureStatus = /* @__PURE__ */ ((AuthorizationCaptureStatus2) => {
|
|
548
|
-
AuthorizationCaptureStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
549
548
|
AuthorizationCaptureStatus2["PENDING"] = "PENDING";
|
|
550
549
|
AuthorizationCaptureStatus2["SUCCEEDED"] = "SUCCEEDED";
|
|
551
550
|
AuthorizationCaptureStatus2["FAILED"] = "FAILED";
|
|
552
551
|
return AuthorizationCaptureStatus2;
|
|
553
552
|
})(AuthorizationCaptureStatus || {});
|
|
554
553
|
var AuthorizationVoidStatus = /* @__PURE__ */ ((AuthorizationVoidStatus2) => {
|
|
555
|
-
AuthorizationVoidStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
556
554
|
AuthorizationVoidStatus2["PENDING"] = "PENDING";
|
|
557
555
|
AuthorizationVoidStatus2["SUCCEEDED"] = "SUCCEEDED";
|
|
558
556
|
AuthorizationVoidStatus2["FAILED"] = "FAILED";
|
|
559
557
|
return AuthorizationVoidStatus2;
|
|
560
558
|
})(AuthorizationVoidStatus || {});
|
|
561
559
|
var Reason = /* @__PURE__ */ ((Reason2) => {
|
|
562
|
-
Reason2["UNKNOWN_REASON"] = "UNKNOWN_REASON";
|
|
563
560
|
Reason2["MANUAL"] = "MANUAL";
|
|
564
561
|
Reason2["SCHEDULED"] = "SCHEDULED";
|
|
565
562
|
return Reason2;
|
|
566
563
|
})(Reason || {});
|
|
567
564
|
var ActionType = /* @__PURE__ */ ((ActionType2) => {
|
|
568
|
-
ActionType2["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
569
565
|
ActionType2["VOID"] = "VOID";
|
|
570
566
|
ActionType2["CAPTURE"] = "CAPTURE";
|
|
571
567
|
return ActionType2;
|
|
572
568
|
})(ActionType || {});
|
|
573
569
|
var ChargebackStatus = /* @__PURE__ */ ((ChargebackStatus2) => {
|
|
574
|
-
ChargebackStatus2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
575
570
|
ChargebackStatus2["APPROVED"] = "APPROVED";
|
|
576
571
|
ChargebackStatus2["REVERSED"] = "REVERSED";
|
|
577
572
|
return ChargebackStatus2;
|
|
578
573
|
})(ChargebackStatus || {});
|
|
579
574
|
var PredefinedPaymentMethod = /* @__PURE__ */ ((PredefinedPaymentMethod2) => {
|
|
580
|
-
PredefinedPaymentMethod2["UNKNOWN_PREDEFINED_PAYMENT_METHOD"] = "UNKNOWN_PREDEFINED_PAYMENT_METHOD";
|
|
581
575
|
PredefinedPaymentMethod2["CASH"] = "CASH";
|
|
582
576
|
PredefinedPaymentMethod2["BANK_TRANSFER"] = "BANK_TRANSFER";
|
|
583
577
|
PredefinedPaymentMethod2["CHECK"] = "CHECK";
|