@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.
|
|
@@ -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";
|