@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
package/build/cjs/meta.d.ts
CHANGED
|
@@ -186,7 +186,6 @@ interface AuthorizationCapture {
|
|
|
186
186
|
failureDetails?: AuthorizationActionFailureDetails;
|
|
187
187
|
}
|
|
188
188
|
declare enum AuthorizationCaptureStatus {
|
|
189
|
-
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
190
189
|
/** Capture operation still in progress. */
|
|
191
190
|
PENDING = "PENDING",
|
|
192
191
|
/** Capture operation succeeded. */
|
|
@@ -195,7 +194,7 @@ declare enum AuthorizationCaptureStatus {
|
|
|
195
194
|
FAILED = "FAILED"
|
|
196
195
|
}
|
|
197
196
|
/** @enumType */
|
|
198
|
-
type AuthorizationCaptureStatusWithLiterals = AuthorizationCaptureStatus | '
|
|
197
|
+
type AuthorizationCaptureStatusWithLiterals = AuthorizationCaptureStatus | 'PENDING' | 'SUCCEEDED' | 'FAILED';
|
|
199
198
|
interface Price {
|
|
200
199
|
/**
|
|
201
200
|
* Amount.
|
|
@@ -223,7 +222,6 @@ interface AuthorizationVoid {
|
|
|
223
222
|
reason?: ReasonWithLiterals;
|
|
224
223
|
}
|
|
225
224
|
declare enum AuthorizationVoidStatus {
|
|
226
|
-
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
227
225
|
/** Void operation still in progress. */
|
|
228
226
|
PENDING = "PENDING",
|
|
229
227
|
/** Void operation succeeded. */
|
|
@@ -232,17 +230,16 @@ declare enum AuthorizationVoidStatus {
|
|
|
232
230
|
FAILED = "FAILED"
|
|
233
231
|
}
|
|
234
232
|
/** @enumType */
|
|
235
|
-
type AuthorizationVoidStatusWithLiterals = AuthorizationVoidStatus | '
|
|
233
|
+
type AuthorizationVoidStatusWithLiterals = AuthorizationVoidStatus | 'PENDING' | 'SUCCEEDED' | 'FAILED';
|
|
236
234
|
/** Reason the authorization was voided. */
|
|
237
235
|
declare enum Reason {
|
|
238
|
-
UNKNOWN_REASON = "UNKNOWN_REASON",
|
|
239
236
|
/** Authorization was voided by user. */
|
|
240
237
|
MANUAL = "MANUAL",
|
|
241
238
|
/** Authorization passed execution date. */
|
|
242
239
|
SCHEDULED = "SCHEDULED"
|
|
243
240
|
}
|
|
244
241
|
/** @enumType */
|
|
245
|
-
type ReasonWithLiterals = Reason | '
|
|
242
|
+
type ReasonWithLiterals = Reason | 'MANUAL' | 'SCHEDULED';
|
|
246
243
|
interface ScheduledAction {
|
|
247
244
|
/** Type of the action. */
|
|
248
245
|
actionType?: ActionTypeWithLiterals;
|
|
@@ -250,12 +247,11 @@ interface ScheduledAction {
|
|
|
250
247
|
executionDate?: Date | null;
|
|
251
248
|
}
|
|
252
249
|
declare enum ActionType {
|
|
253
|
-
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
254
250
|
VOID = "VOID",
|
|
255
251
|
CAPTURE = "CAPTURE"
|
|
256
252
|
}
|
|
257
253
|
/** @enumType */
|
|
258
|
-
type ActionTypeWithLiterals = ActionType | '
|
|
254
|
+
type ActionTypeWithLiterals = ActionType | 'VOID' | 'CAPTURE';
|
|
259
255
|
interface Chargeback {
|
|
260
256
|
/**
|
|
261
257
|
* Chargeback ID.
|
|
@@ -301,14 +297,13 @@ interface Chargeback {
|
|
|
301
297
|
externalId?: string | null;
|
|
302
298
|
}
|
|
303
299
|
declare enum ChargebackStatus {
|
|
304
|
-
UNSPECIFIED = "UNSPECIFIED",
|
|
305
300
|
/** Chargeback was approved. */
|
|
306
301
|
APPROVED = "APPROVED",
|
|
307
302
|
/** Chargeback was reversed. */
|
|
308
303
|
REVERSED = "REVERSED"
|
|
309
304
|
}
|
|
310
305
|
/** @enumType */
|
|
311
|
-
type ChargebackStatusWithLiterals = ChargebackStatus | '
|
|
306
|
+
type ChargebackStatusWithLiterals = ChargebackStatus | 'APPROVED' | 'REVERSED';
|
|
312
307
|
interface PaymentMethodName {
|
|
313
308
|
/**
|
|
314
309
|
* Translated payment method name in buyer language.
|
|
@@ -358,8 +353,6 @@ interface UserDefinedPaymentMethodNameKindOneOf {
|
|
|
358
353
|
}
|
|
359
354
|
/** Predefined payment method types for offline/manual payments. */
|
|
360
355
|
declare enum PredefinedPaymentMethod {
|
|
361
|
-
/** Unknown payment method type. */
|
|
362
|
-
UNKNOWN_PREDEFINED_PAYMENT_METHOD = "UNKNOWN_PREDEFINED_PAYMENT_METHOD",
|
|
363
356
|
/** Cash payment. */
|
|
364
357
|
CASH = "CASH",
|
|
365
358
|
/** Bank transfer. */
|
|
@@ -368,7 +361,7 @@ declare enum PredefinedPaymentMethod {
|
|
|
368
361
|
CHECK = "CHECK"
|
|
369
362
|
}
|
|
370
363
|
/** @enumType */
|
|
371
|
-
type PredefinedPaymentMethodWithLiterals = PredefinedPaymentMethod | '
|
|
364
|
+
type PredefinedPaymentMethodWithLiterals = PredefinedPaymentMethod | 'CASH' | 'BANK_TRANSFER' | 'CHECK';
|
|
372
365
|
interface GiftCardPaymentDetails {
|
|
373
366
|
/**
|
|
374
367
|
* Gift card payment ID.
|
package/build/cjs/meta.js
CHANGED
|
@@ -541,39 +541,33 @@ var TransactionStatus = /* @__PURE__ */ ((TransactionStatus2) => {
|
|
|
541
541
|
return TransactionStatus2;
|
|
542
542
|
})(TransactionStatus || {});
|
|
543
543
|
var AuthorizationCaptureStatus = /* @__PURE__ */ ((AuthorizationCaptureStatus2) => {
|
|
544
|
-
AuthorizationCaptureStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
545
544
|
AuthorizationCaptureStatus2["PENDING"] = "PENDING";
|
|
546
545
|
AuthorizationCaptureStatus2["SUCCEEDED"] = "SUCCEEDED";
|
|
547
546
|
AuthorizationCaptureStatus2["FAILED"] = "FAILED";
|
|
548
547
|
return AuthorizationCaptureStatus2;
|
|
549
548
|
})(AuthorizationCaptureStatus || {});
|
|
550
549
|
var AuthorizationVoidStatus = /* @__PURE__ */ ((AuthorizationVoidStatus2) => {
|
|
551
|
-
AuthorizationVoidStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
552
550
|
AuthorizationVoidStatus2["PENDING"] = "PENDING";
|
|
553
551
|
AuthorizationVoidStatus2["SUCCEEDED"] = "SUCCEEDED";
|
|
554
552
|
AuthorizationVoidStatus2["FAILED"] = "FAILED";
|
|
555
553
|
return AuthorizationVoidStatus2;
|
|
556
554
|
})(AuthorizationVoidStatus || {});
|
|
557
555
|
var Reason = /* @__PURE__ */ ((Reason2) => {
|
|
558
|
-
Reason2["UNKNOWN_REASON"] = "UNKNOWN_REASON";
|
|
559
556
|
Reason2["MANUAL"] = "MANUAL";
|
|
560
557
|
Reason2["SCHEDULED"] = "SCHEDULED";
|
|
561
558
|
return Reason2;
|
|
562
559
|
})(Reason || {});
|
|
563
560
|
var ActionType = /* @__PURE__ */ ((ActionType2) => {
|
|
564
|
-
ActionType2["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
565
561
|
ActionType2["VOID"] = "VOID";
|
|
566
562
|
ActionType2["CAPTURE"] = "CAPTURE";
|
|
567
563
|
return ActionType2;
|
|
568
564
|
})(ActionType || {});
|
|
569
565
|
var ChargebackStatus = /* @__PURE__ */ ((ChargebackStatus2) => {
|
|
570
|
-
ChargebackStatus2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
571
566
|
ChargebackStatus2["APPROVED"] = "APPROVED";
|
|
572
567
|
ChargebackStatus2["REVERSED"] = "REVERSED";
|
|
573
568
|
return ChargebackStatus2;
|
|
574
569
|
})(ChargebackStatus || {});
|
|
575
570
|
var PredefinedPaymentMethod = /* @__PURE__ */ ((PredefinedPaymentMethod2) => {
|
|
576
|
-
PredefinedPaymentMethod2["UNKNOWN_PREDEFINED_PAYMENT_METHOD"] = "UNKNOWN_PREDEFINED_PAYMENT_METHOD";
|
|
577
571
|
PredefinedPaymentMethod2["CASH"] = "CASH";
|
|
578
572
|
PredefinedPaymentMethod2["BANK_TRANSFER"] = "BANK_TRANSFER";
|
|
579
573
|
PredefinedPaymentMethod2["CHECK"] = "CHECK";
|