@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.
@@ -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 | 'UNKNOWN_STATUS' | 'PENDING' | 'SUCCEEDED' | 'FAILED';
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 | 'UNKNOWN_STATUS' | 'PENDING' | 'SUCCEEDED' | 'FAILED';
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 | 'UNKNOWN_REASON' | 'MANUAL' | 'SCHEDULED';
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 | 'UNKNOWN_ACTION_TYPE' | 'VOID' | 'CAPTURE';
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 | 'UNSPECIFIED' | 'APPROVED' | 'REVERSED';
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 | 'UNKNOWN_PREDEFINED_PAYMENT_METHOD' | 'CASH' | 'BANK_TRANSFER' | 'CHECK';
364
+ type PredefinedPaymentMethodWithLiterals = PredefinedPaymentMethod | 'CASH' | 'BANK_TRANSFER' | 'CHECK';
372
365
  interface GiftCardPaymentDetails {
373
366
  /**
374
367
  * Gift card payment ID.
@@ -494,39 +494,33 @@ var TransactionStatus = /* @__PURE__ */ ((TransactionStatus2) => {
494
494
  return TransactionStatus2;
495
495
  })(TransactionStatus || {});
496
496
  var AuthorizationCaptureStatus = /* @__PURE__ */ ((AuthorizationCaptureStatus2) => {
497
- AuthorizationCaptureStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
498
497
  AuthorizationCaptureStatus2["PENDING"] = "PENDING";
499
498
  AuthorizationCaptureStatus2["SUCCEEDED"] = "SUCCEEDED";
500
499
  AuthorizationCaptureStatus2["FAILED"] = "FAILED";
501
500
  return AuthorizationCaptureStatus2;
502
501
  })(AuthorizationCaptureStatus || {});
503
502
  var AuthorizationVoidStatus = /* @__PURE__ */ ((AuthorizationVoidStatus2) => {
504
- AuthorizationVoidStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
505
503
  AuthorizationVoidStatus2["PENDING"] = "PENDING";
506
504
  AuthorizationVoidStatus2["SUCCEEDED"] = "SUCCEEDED";
507
505
  AuthorizationVoidStatus2["FAILED"] = "FAILED";
508
506
  return AuthorizationVoidStatus2;
509
507
  })(AuthorizationVoidStatus || {});
510
508
  var Reason = /* @__PURE__ */ ((Reason2) => {
511
- Reason2["UNKNOWN_REASON"] = "UNKNOWN_REASON";
512
509
  Reason2["MANUAL"] = "MANUAL";
513
510
  Reason2["SCHEDULED"] = "SCHEDULED";
514
511
  return Reason2;
515
512
  })(Reason || {});
516
513
  var ActionType = /* @__PURE__ */ ((ActionType2) => {
517
- ActionType2["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
518
514
  ActionType2["VOID"] = "VOID";
519
515
  ActionType2["CAPTURE"] = "CAPTURE";
520
516
  return ActionType2;
521
517
  })(ActionType || {});
522
518
  var ChargebackStatus = /* @__PURE__ */ ((ChargebackStatus2) => {
523
- ChargebackStatus2["UNSPECIFIED"] = "UNSPECIFIED";
524
519
  ChargebackStatus2["APPROVED"] = "APPROVED";
525
520
  ChargebackStatus2["REVERSED"] = "REVERSED";
526
521
  return ChargebackStatus2;
527
522
  })(ChargebackStatus || {});
528
523
  var PredefinedPaymentMethod = /* @__PURE__ */ ((PredefinedPaymentMethod2) => {
529
- PredefinedPaymentMethod2["UNKNOWN_PREDEFINED_PAYMENT_METHOD"] = "UNKNOWN_PREDEFINED_PAYMENT_METHOD";
530
524
  PredefinedPaymentMethod2["CASH"] = "CASH";
531
525
  PredefinedPaymentMethod2["BANK_TRANSFER"] = "BANK_TRANSFER";
532
526
  PredefinedPaymentMethod2["CHECK"] = "CHECK";