@wix/auto_sdk_ecom_order-transactions 1.0.76 → 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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +0 -6
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +21 -14
  5. package/build/cjs/index.typings.js +0 -6
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +21 -14
  8. package/build/cjs/meta.js +0 -6
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +0 -6
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +21 -14
  14. package/build/es/index.typings.mjs +0 -6
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +21 -14
  17. package/build/es/meta.mjs +0 -6
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +0 -6
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +27 -14
  23. package/build/internal/cjs/index.typings.js +0 -6
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +21 -14
  26. package/build/internal/cjs/meta.js +0 -6
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +0 -6
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +27 -14
  32. package/build/internal/es/index.typings.mjs +0 -6
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +21 -14
  35. package/build/internal/es/meta.mjs +0 -6
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. 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 | 'UNKNOWN_STATUS' | 'PENDING' | 'SUCCEEDED' | 'FAILED';
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 | 'UNKNOWN_STATUS' | 'PENDING' | 'SUCCEEDED' | 'FAILED';
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 | 'UNKNOWN_REASON' | 'MANUAL' | 'SCHEDULED';
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 | 'UNKNOWN_ACTION_TYPE' | 'VOID' | 'CAPTURE';
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 | 'UNSPECIFIED' | 'APPROVED' | 'REVERSED';
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 | 'UNKNOWN_PREDEFINED_PAYMENT_METHOD' | 'CASH' | 'BANK_TRANSFER' | 'CHECK';
363
+ type PredefinedPaymentMethodWithLiterals = PredefinedPaymentMethod | 'CASH' | 'BANK_TRANSFER' | 'CHECK';
371
364
  interface GiftCardPaymentDetails {
372
365
  /**
373
366
  * Gift card payment ID.
@@ -764,6 +757,20 @@ interface RestockItem {
764
757
  */
765
758
  quantity?: number;
766
759
  }
760
+ /** Quantity of items restocked at a specific location. */
761
+ interface RestockLocation {
762
+ /**
763
+ * ID of the location where items were restocked.
764
+ * @format GUID
765
+ */
766
+ locationId?: string;
767
+ /**
768
+ * Number of items restocked at this location.
769
+ * @min 1
770
+ * @max 100000
771
+ */
772
+ quantity?: number;
773
+ }
767
774
  interface RefundCompleted {
768
775
  /**
769
776
  * Order ID.
@@ -1901,4 +1908,4 @@ interface BulkUpdatePaymentStatusesOptions {
1901
1908
  interface UpdateRefundTransactionOptions {
1902
1909
  }
1903
1910
 
1904
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActionType, type ActionTypeWithLiterals, type AddChargebackRequest, type AddChargebackResponse, type AddInvoiceToOrderRequest, type AddInvoiceToOrderResponse, type AddPaymentsRequest, type AddPaymentsResponse, type AddRefundRequest, type AddRefundResponse, type AdditionalFeeRefund, type AggregatedRefundSummary, type ApplicationError, type AuthorizationActionFailureDetails, type AuthorizationCapture, AuthorizationCaptureStatus, type AuthorizationCaptureStatusWithLiterals, type AuthorizationDetails, type AuthorizationVoid, AuthorizationVoidStatus, type AuthorizationVoidStatusWithLiterals, type BaseEventMetadata, type BulkActionMetadata, type BulkGenerateInvoicesRequest, type BulkGenerateInvoicesResponse, type BulkInvoiceResult, type BulkPaymentResult, type BulkUpdatePaymentStatusesOptions, type BulkUpdatePaymentStatusesRequest, type BulkUpdatePaymentStatusesResponse, type CalculateRefundItemRequest, type CalculateRefundItemResponse, type CalculateRefundRequest, type CalculateRefundResponse, type CashRounding, type CashRoundingDetails, type Chargeback, type ChargebackApproved, type ChargebackReversed, ChargebackStatus, type ChargebackStatusWithLiterals, type CreditCardPaymentMethodDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExternalReceiptInfo, type GenerateInvoiceRequest, type GenerateInvoiceResponse, type GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse, type GiftCardPaymentDetails, type IdentificationData, type IdentificationDataIdOneOf, type InvoiceForOrder, type InvoiceInfo, type InvoicesForOrder, type ItemMetadata, type LineItemRefund, type LineItemRefundSummary, type ListInvoicesForMultipleOrdersRequest, type ListInvoicesForMultipleOrdersResponse, type ListInvoicesForSingleOrderRequest, type ListInvoicesForSingleOrderResponse, type ListTransactionsForMultipleOrdersRequest, type ListTransactionsForMultipleOrdersResponse, type ListTransactionsForSingleOrderRequest, type ListTransactionsForSingleOrderResponse, ManuallyRefundableReason, type ManuallyRefundableReasonWithLiterals, type MaskedPayment, type MembershipName, type MembershipPaymentDetails, MembershipPaymentStatus, type MembershipPaymentStatusWithLiterals, type MessageEnvelope, NonRefundableReason, type NonRefundableReasonWithLiterals, type OrderTransactions, type OrderTransactionsChargebackApprovedEnvelope, type OrderTransactionsChargebackReversedEnvelope, type OrderTransactionsDetailsUpdatedEnvelope, type OrderTransactionsRefundCompletedEnvelope, type OrderTransactionsUpdatedEnvelope, type Payment, type PaymentAndOrderId, type PaymentDetailsUpdated, type PaymentMethodName, type PaymentPaymentDetailsOneOf, type PaymentReceiptInfoOneOf, type PaymentRefund, type PaymentsUpdated, PredefinedPaymentMethod, type PredefinedPaymentMethodWithLiterals, type Price, type QueryOrderTransactionsRequest, type QueryOrderTransactionsResponse, Reason, type ReasonWithLiterals, type Refund, type RefundCompleted, type RefundCreated, type RefundDetails, type RefundItem, type RefundItemsBreakdown, type RefundSideEffects, RefundStatus, type RefundStatusInfo, type RefundStatusWithLiterals, type RefundTransaction, type Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf, RefundableStatus, type RefundableStatusWithLiterals, type RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf, type RestockInfo, type RestockItem, RestockType, type RestockTypeWithLiterals, type RestoreInfo, type ReverseChargebackRequest, type ReverseChargebackResponse, type ScheduledAction, type ShippingRefund, SortOrder, type SortOrderWithLiterals, type Sorting, TransactionStatus, type TransactionStatusWithLiterals, type TriggerRefundRequest, type TriggerRefundResponse, type UpdatePaymentStatusIdentifiers, type UpdatePaymentStatusOptions, type UpdatePaymentStatusRequest, type UpdatePaymentStatusResponse, type UpdatePaymentsApplicationErrors, type UpdatePaymentsRequest, type UpdatePaymentsResponse, type UpdateRefundRequest, type UpdateRefundResponse, type UpdateRefundTransactionApplicationErrors, type UpdateRefundTransactionOptions, type UpdateRefundTransactionRequest, type UpdateRefundTransactionResponse, type UserDefinedPaymentMethodName, type UserDefinedPaymentMethodNameKindOneOf, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixReceiptInfo, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, onOrderTransactionsChargebackApproved, onOrderTransactionsChargebackReversed, onOrderTransactionsDetailsUpdated, onOrderTransactionsRefundCompleted, onOrderTransactionsUpdated, updatePaymentStatus };
1911
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActionType, type ActionTypeWithLiterals, type AddChargebackRequest, type AddChargebackResponse, type AddInvoiceToOrderRequest, type AddInvoiceToOrderResponse, type AddPaymentsRequest, type AddPaymentsResponse, type AddRefundRequest, type AddRefundResponse, type AdditionalFeeRefund, type AggregatedRefundSummary, type ApplicationError, type AuthorizationActionFailureDetails, type AuthorizationCapture, AuthorizationCaptureStatus, type AuthorizationCaptureStatusWithLiterals, type AuthorizationDetails, type AuthorizationVoid, AuthorizationVoidStatus, type AuthorizationVoidStatusWithLiterals, type BaseEventMetadata, type BulkActionMetadata, type BulkGenerateInvoicesRequest, type BulkGenerateInvoicesResponse, type BulkInvoiceResult, type BulkPaymentResult, type BulkUpdatePaymentStatusesOptions, type BulkUpdatePaymentStatusesRequest, type BulkUpdatePaymentStatusesResponse, type CalculateRefundItemRequest, type CalculateRefundItemResponse, type CalculateRefundRequest, type CalculateRefundResponse, type CashRounding, type CashRoundingDetails, type Chargeback, type ChargebackApproved, type ChargebackReversed, ChargebackStatus, type ChargebackStatusWithLiterals, type CreditCardPaymentMethodDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExternalReceiptInfo, type GenerateInvoiceRequest, type GenerateInvoiceResponse, type GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse, type GiftCardPaymentDetails, type IdentificationData, type IdentificationDataIdOneOf, type InvoiceForOrder, type InvoiceInfo, type InvoicesForOrder, type ItemMetadata, type LineItemRefund, type LineItemRefundSummary, type ListInvoicesForMultipleOrdersRequest, type ListInvoicesForMultipleOrdersResponse, type ListInvoicesForSingleOrderRequest, type ListInvoicesForSingleOrderResponse, type ListTransactionsForMultipleOrdersRequest, type ListTransactionsForMultipleOrdersResponse, type ListTransactionsForSingleOrderRequest, type ListTransactionsForSingleOrderResponse, ManuallyRefundableReason, type ManuallyRefundableReasonWithLiterals, type MaskedPayment, type MembershipName, type MembershipPaymentDetails, MembershipPaymentStatus, type MembershipPaymentStatusWithLiterals, type MessageEnvelope, NonRefundableReason, type NonRefundableReasonWithLiterals, type OrderTransactions, type OrderTransactionsChargebackApprovedEnvelope, type OrderTransactionsChargebackReversedEnvelope, type OrderTransactionsDetailsUpdatedEnvelope, type OrderTransactionsRefundCompletedEnvelope, type OrderTransactionsUpdatedEnvelope, type Payment, type PaymentAndOrderId, type PaymentDetailsUpdated, type PaymentMethodName, type PaymentPaymentDetailsOneOf, type PaymentReceiptInfoOneOf, type PaymentRefund, type PaymentsUpdated, PredefinedPaymentMethod, type PredefinedPaymentMethodWithLiterals, type Price, type QueryOrderTransactionsRequest, type QueryOrderTransactionsResponse, Reason, type ReasonWithLiterals, type Refund, type RefundCompleted, type RefundCreated, type RefundDetails, type RefundItem, type RefundItemsBreakdown, type RefundSideEffects, RefundStatus, type RefundStatusInfo, type RefundStatusWithLiterals, type RefundTransaction, type Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf, RefundableStatus, type RefundableStatusWithLiterals, type RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf, type RestockInfo, type RestockItem, type RestockLocation, RestockType, type RestockTypeWithLiterals, type RestoreInfo, type ReverseChargebackRequest, type ReverseChargebackResponse, type ScheduledAction, type ShippingRefund, SortOrder, type SortOrderWithLiterals, type Sorting, TransactionStatus, type TransactionStatusWithLiterals, type TriggerRefundRequest, type TriggerRefundResponse, type UpdatePaymentStatusIdentifiers, type UpdatePaymentStatusOptions, type UpdatePaymentStatusRequest, type UpdatePaymentStatusResponse, type UpdatePaymentsApplicationErrors, type UpdatePaymentsRequest, type UpdatePaymentsResponse, type UpdateRefundRequest, type UpdateRefundResponse, type UpdateRefundTransactionApplicationErrors, type UpdateRefundTransactionOptions, type UpdateRefundTransactionRequest, type UpdateRefundTransactionResponse, type UserDefinedPaymentMethodName, type UserDefinedPaymentMethodNameKindOneOf, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixReceiptInfo, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, onOrderTransactionsChargebackApproved, onOrderTransactionsChargebackReversed, onOrderTransactionsDetailsUpdated, onOrderTransactionsRefundCompleted, onOrderTransactionsUpdated, updatePaymentStatus };
@@ -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";