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