@wix/auto_sdk_ecom_order-transactions 1.0.24 → 1.0.26

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 +2 -2
  2. package/build/cjs/index.js +61 -1
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/{internal/cjs/ecom-v1-order-transactions-order-transactions.universal-aENRFMbJ.d.ts → cjs/index.typings.d.ts} +223 -83
  5. package/build/cjs/index.typings.js +940 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +60 -1
  8. package/build/cjs/meta.js +51 -1
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +2 -2
  11. package/build/es/index.mjs +60 -1
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/{internal/es/ecom-v1-order-transactions-order-transactions.universal-aENRFMbJ.d.mts → es/index.typings.d.mts} +223 -83
  14. package/build/es/index.typings.mjs +884 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +60 -1
  17. package/build/es/meta.mjs +51 -1
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +8 -4
  20. package/build/internal/cjs/index.js +61 -1
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/{cjs/ecom-v1-order-transactions-order-transactions.universal-DRvhf2o2.d.ts → internal/cjs/index.typings.d.ts} +360 -1
  23. package/build/internal/cjs/index.typings.js +940 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -0
  25. package/build/internal/cjs/meta.d.ts +60 -1
  26. package/build/internal/cjs/meta.js +51 -1
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +8 -4
  29. package/build/internal/es/index.mjs +60 -1
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/{es/ecom-v1-order-transactions-order-transactions.universal-DRvhf2o2.d.mts → internal/es/index.typings.d.mts} +360 -1
  32. package/build/internal/es/index.typings.mjs +884 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -0
  34. package/build/internal/es/meta.d.mts +60 -1
  35. package/build/internal/es/meta.mjs +51 -1
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
- import { L as ListTransactionsForSingleOrderResponse, a as ListTransactionsForMultipleOrdersResponse, P as Payment, A as AddPaymentsResponse, U as UpdatePaymentStatusIdentifiers, b as UpdatePaymentStatusOptions, c as UpdatePaymentStatusResponse, d as PaymentAndOrderId, B as BulkUpdatePaymentStatusesOptions, e as BulkUpdatePaymentStatusesResponse } from './ecom-v1-order-transactions-order-transactions.universal-DRvhf2o2.js';
3
- export { bQ as ActionEvent, h as ActionType, aB as Activity, m as ActivityType, bI as AddInvoiceToOrderRequest, bJ as AddInvoiceToOrderResponse, aZ as AddPaymentsRequest, a_ as AddRefundRequest, a$ as AddRefundResponse, a4 as AdditionalFeeRefund, ai as Address, aj as AddressAddressLine1OptionsOneOf, a6 as AggregatedRefundSummary, b4 as ApplicationError, aH as AppliedCoupon, G as AuthorizationActionFailureDetails, z as AuthorizationCapture, f as AuthorizationCaptureStatus, y as AuthorizationDetails, H as AuthorizationVoid, g as AuthorizationVoidStatus, ah as BillingInfo, b5 as BulkActionMetadata, bE as BulkGenerateInvoicesRequest, bF as BulkGenerateInvoicesResponse, bG as BulkInvoiceResult, b2 as BulkPaymentResult, b1 as BulkUpdatePaymentStatusesRequest, au as BuyerDetails, af as BuyerInfo, bp as CalculateRefundItemRequest, br as CalculateRefundItemResponse, bo as CalculateRefundRequest, bq as CalculateRefundResponse, aJ as ChannelInfo, C as ChannelType, x as CreditCardPaymentMethodDetails, bh as CursorPaging, bj as CursorPagingMetadata, be as CursorQuery, bf as CursorQueryPagingMethodOneOf, bk as Cursors, aI as CustomField, ax as CustomTextFieldSelection, ab as DiffmatokyPayload, aA as DigitalFile, aG as Discount, bK as DomainEvent, bL as DomainEventBodyOneOf, aK as EnteredBy, E as EnteredByIdentityType, bM as EntityCreatedEvent, bP as EntityDeletedEvent, bO as EntityUpdatedEvent, ac as ErrorInformation, Z as ExternalReceiptInfo, aD as Fulfillment, aE as FulfillmentLineItem, F as FulfillmentStatus, aF as FulfillmentTrackingInfo, ak as FullName, bC as GenerateInvoiceRequest, bD as GenerateInvoiceResponse, bs as GetRefundabilityStatusRequest, bt as GetRefundabilityStatusResponse, aP as GiftCard, K as GiftCardPaymentDetails, bS as IdentificationData, bT as IdentificationDataIdOneOf, I as IdentityType, aa as IndexingMessage, bH as InvoiceForOrder, by as InvoiceInfo, n as InvoiceSource, bB as InvoicesForOrder, b3 as ItemMetadata, av as LineItem, az as LineItemPriceData, a3 as LineItemRefund, a8 as LineItemRefundSummary, k as LineItemType, bz as ListInvoicesForMultipleOrdersRequest, bA as ListInvoicesForMultipleOrdersResponse, bw as ListInvoicesForSingleOrderRequest, bx as ListInvoicesForSingleOrderResponse, aY as ListTransactionsForMultipleOrdersRequest, aX as ListTransactionsForSingleOrderRequest, r as ManuallyRefundableReason, bb as MaskedPayment, ay as MediaItem, l as MediaItemType, X as MembershipName, Q as MembershipPaymentDetails, M as MembershipPaymentStatus, bR as MessageEnvelope, N as NonRefundableReason, aw as OptionSelection, ae as Order, ad as OrderRefunded, O as OrderTransactions, aR as PaymentDetailsUpdated, t as PaymentPaymentDetailsOneOf, u as PaymentReceiptInfoOneOf, bm as PaymentRefund, j as PaymentStatus, aQ as PaymentsUpdated, at as PickupAddress, as as PickupDetails, D as Price, bd as QueryOrderTransactionsRequest, bi as QueryOrderTransactionsResponse, R as Reason, _ as Refund, aV as RefundCompleted, aS as RefundCreated, a1 as RefundDetails, a2 as RefundItem, a7 as RefundItemsBreakdown, aW as RefundSideEffects, i as RefundStatus, a0 as RefundStatusInfo, $ as RefundTransaction, bu as Refundability, bv as RefundabilityAdditionalRefundabilityInfoOneOf, q as RefundableStatus, v as RegularPaymentDetails, w as RegularPaymentDetailsPaymentMethodDetailsOneOf, aT as RestockInfo, aU as RestockItem, o as RestockType, bN as RestoreInfo, J as ScheduledAction, ap as ShipmentDetails, an as ShippingInfo, ao as ShippingInfoDetailsOneOf, ar as ShippingPriceData, a5 as ShippingRefund, a9 as SnapshotMessage, p as SortOrder, bg as Sorting, al as Street, S as SubscriptionFrequency, aL as SubscriptionInfo, aN as SubscriptionOptionInfo, aM as SubscriptionSettings, ag as Totals, aq as TrackingInfo, T as TransactionStatus, bl as TriggerRefundRequest, bn as TriggerRefundResponse, b0 as UpdatePaymentStatusRequest, ba as UpdatePaymentsRequest, bc as UpdatePaymentsResponse, b6 as UpdateRefundRequest, b7 as UpdateRefundResponse, b8 as UpdateRefundTransactionRequest, b9 as UpdateRefundTransactionResponse, aC as V2InvoiceInfo, aO as V2Refund, am as VatId, V as VatType, s as WebhookIdentityType, W as WeightUnit, Y as WixReceiptInfo } from './ecom-v1-order-transactions-order-transactions.universal-DRvhf2o2.js';
2
+ import { ListTransactionsForSingleOrderResponse, ListTransactionsForMultipleOrdersResponse, Payment, AddPaymentsResponse, UpdatePaymentStatusIdentifiers, UpdatePaymentStatusOptions, UpdatePaymentStatusResponse, PaymentAndOrderId, BulkUpdatePaymentStatusesOptions, BulkUpdatePaymentStatusesResponse } from './index.typings.js';
3
+ export { ActionEvent, ActionType, Activity, ActivityType, AddChargebackRequest, AddChargebackResponse, AddInvoiceToOrderRequest, AddInvoiceToOrderResponse, AddPaymentsRequest, AddRefundRequest, AddRefundResponse, AdditionalFeeRefund, Address, AddressAddressLine1OptionsOneOf, AggregatedRefundSummary, ApplicationError, AppliedCoupon, AuthorizationActionFailureDetails, AuthorizationCapture, AuthorizationCaptureStatus, AuthorizationDetails, AuthorizationVoid, AuthorizationVoidStatus, BillingInfo, BulkActionMetadata, BulkGenerateInvoicesRequest, BulkGenerateInvoicesResponse, BulkInvoiceResult, BulkPaymentResult, BulkUpdatePaymentStatusesRequest, BuyerDetails, BuyerInfo, CalculateRefundItemRequest, CalculateRefundItemResponse, CalculateRefundRequest, CalculateRefundResponse, ChannelInfo, ChannelType, Chargeback, ChargebackApproved, ChargebackReversed, ChargebackStatus, CreditCardPaymentMethodDetails, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomField, CustomTextFieldSelection, DiffmatokyPayload, DigitalFile, Discount, DomainEvent, DomainEventBodyOneOf, EnteredBy, EnteredByIdentityType, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ErrorInformation, ExternalReceiptInfo, Fulfillment, FulfillmentLineItem, FulfillmentStatus, FulfillmentTrackingInfo, FullName, GenerateInvoiceRequest, GenerateInvoiceResponse, GetRefundabilityStatusRequest, GetRefundabilityStatusResponse, GiftCard, GiftCardPaymentDetails, IdentificationData, IdentificationDataIdOneOf, IdentityType, IndexingMessage, InvoiceForOrder, InvoiceInfo, InvoiceSource, InvoicesForOrder, ItemMetadata, LineItem, LineItemPriceData, LineItemRefund, LineItemRefundSummary, LineItemType, ListInvoicesForMultipleOrdersRequest, ListInvoicesForMultipleOrdersResponse, ListInvoicesForSingleOrderRequest, ListInvoicesForSingleOrderResponse, ListTransactionsForMultipleOrdersRequest, ListTransactionsForSingleOrderRequest, ManuallyRefundableReason, MaskedPayment, MediaItem, MediaItemType, MembershipName, MembershipPaymentDetails, MembershipPaymentStatus, MessageEnvelope, NonRefundableReason, OptionSelection, Order, OrderRefunded, OrderTransactions, PaymentDetailsUpdated, PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf, PaymentRefund, PaymentStatus, PaymentsUpdated, PickupAddress, PickupDetails, Price, QueryOrderTransactionsRequest, QueryOrderTransactionsResponse, Reason, Refund, RefundCompleted, RefundCreated, RefundDetails, RefundItem, RefundItemsBreakdown, RefundSideEffects, RefundStatus, RefundStatusInfo, RefundTransaction, Refundability, RefundabilityAdditionalRefundabilityInfoOneOf, RefundableStatus, RegularPaymentDetails, RegularPaymentDetailsPaymentMethodDetailsOneOf, RestockInfo, RestockItem, RestockType, RestoreInfo, ScheduledAction, ShipmentDetails, ShippingInfo, ShippingInfoDetailsOneOf, ShippingPriceData, ShippingRefund, SnapshotMessage, SortOrder, Sorting, Street, SubscriptionFrequency, SubscriptionInfo, SubscriptionOptionInfo, SubscriptionSettings, Totals, TrackingInfo, TransactionStatus, TriggerRefundRequest, TriggerRefundResponse, UpdateChargebackRequest, UpdateChargebackResponse, UpdatePaymentStatusRequest, UpdatePaymentsRequest, UpdatePaymentsResponse, UpdateRefundRequest, UpdateRefundResponse, UpdateRefundTransactionRequest, UpdateRefundTransactionResponse, V2InvoiceInfo, V2Refund, VatId, VatType, WebhookIdentityType, WeightUnit, WixReceiptInfo } from './index.typings.js';
4
4
 
5
5
  declare function listTransactionsForSingleOrder$1(httpClient: HttpClient): ListTransactionsForSingleOrderSignature;
6
6
  interface ListTransactionsForSingleOrderSignature {
@@ -25,6 +25,7 @@ __export(index_exports, {
25
25
  AuthorizationCaptureStatus: () => AuthorizationCaptureStatus,
26
26
  AuthorizationVoidStatus: () => AuthorizationVoidStatus,
27
27
  ChannelType: () => ChannelType,
28
+ ChargebackStatus: () => ChargebackStatus,
28
29
  EnteredByIdentityType: () => EnteredByIdentityType,
29
30
  FulfillmentStatus: () => FulfillmentStatus,
30
31
  IdentityType: () => IdentityType,
@@ -137,6 +138,12 @@ function listTransactionsForSingleOrder(payload) {
137
138
  {
138
139
  path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
139
140
  },
141
+ {
142
+ path: "orderTransactions.payments.regularPaymentDetails.chargebacks.createdDate"
143
+ },
144
+ {
145
+ path: "orderTransactions.payments.regularPaymentDetails.chargebacks.updatedDate"
146
+ },
140
147
  { path: "orderTransactions.refunds.createdDate" }
141
148
  ]
142
149
  }
@@ -177,6 +184,12 @@ function listTransactionsForMultipleOrders(payload) {
177
184
  {
178
185
  path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
179
186
  },
187
+ {
188
+ path: "orderTransactions.payments.regularPaymentDetails.chargebacks.createdDate"
189
+ },
190
+ {
191
+ path: "orderTransactions.payments.regularPaymentDetails.chargebacks.updatedDate"
192
+ },
180
193
  { path: "orderTransactions.refunds.createdDate" }
181
194
  ]
182
195
  }
@@ -205,7 +218,9 @@ function addPayments(payload) {
205
218
  },
206
219
  {
207
220
  path: "payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
208
- }
221
+ },
222
+ { path: "payments.regularPaymentDetails.chargebacks.createdDate" },
223
+ { path: "payments.regularPaymentDetails.chargebacks.updatedDate" }
209
224
  ]
210
225
  }
211
226
  ]);
@@ -238,6 +253,12 @@ function addPayments(payload) {
238
253
  {
239
254
  path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
240
255
  },
256
+ {
257
+ path: "orderTransactions.payments.regularPaymentDetails.chargebacks.createdDate"
258
+ },
259
+ {
260
+ path: "orderTransactions.payments.regularPaymentDetails.chargebacks.updatedDate"
261
+ },
241
262
  { path: "orderTransactions.refunds.createdDate" }
242
263
  ]
243
264
  }
@@ -284,6 +305,12 @@ function updatePaymentStatus(payload) {
284
305
  {
285
306
  path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
286
307
  },
308
+ {
309
+ path: "orderTransactions.payments.regularPaymentDetails.chargebacks.createdDate"
310
+ },
311
+ {
312
+ path: "orderTransactions.payments.regularPaymentDetails.chargebacks.updatedDate"
313
+ },
287
314
  { path: "orderTransactions.refunds.createdDate" }
288
315
  ]
289
316
  }
@@ -329,6 +356,12 @@ function bulkUpdatePaymentStatuses(payload) {
329
356
  },
330
357
  {
331
358
  path: "results.item.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
359
+ },
360
+ {
361
+ path: "results.item.regularPaymentDetails.chargebacks.createdDate"
362
+ },
363
+ {
364
+ path: "results.item.regularPaymentDetails.chargebacks.updatedDate"
332
365
  }
333
366
  ]
334
367
  }
@@ -375,6 +408,12 @@ function updateRefundTransaction(payload) {
375
408
  {
376
409
  path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
377
410
  },
411
+ {
412
+ path: "orderTransactions.payments.regularPaymentDetails.chargebacks.createdDate"
413
+ },
414
+ {
415
+ path: "orderTransactions.payments.regularPaymentDetails.chargebacks.updatedDate"
416
+ },
378
417
  { path: "orderTransactions.refunds.createdDate" }
379
418
  ]
380
419
  }
@@ -408,6 +447,12 @@ function updatePayments(payload) {
408
447
  },
409
448
  {
410
449
  path: "payments.payment.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
450
+ },
451
+ {
452
+ path: "payments.payment.regularPaymentDetails.chargebacks.createdDate"
453
+ },
454
+ {
455
+ path: "payments.payment.regularPaymentDetails.chargebacks.updatedDate"
411
456
  }
412
457
  ]
413
458
  }
@@ -441,6 +486,12 @@ function updatePayments(payload) {
441
486
  {
442
487
  path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
443
488
  },
489
+ {
490
+ path: "orderTransactions.payments.regularPaymentDetails.chargebacks.createdDate"
491
+ },
492
+ {
493
+ path: "orderTransactions.payments.regularPaymentDetails.chargebacks.updatedDate"
494
+ },
444
495
  { path: "orderTransactions.refunds.createdDate" }
445
496
  ]
446
497
  }
@@ -491,6 +542,12 @@ var ActionType = /* @__PURE__ */ ((ActionType2) => {
491
542
  ActionType2["CAPTURE"] = "CAPTURE";
492
543
  return ActionType2;
493
544
  })(ActionType || {});
545
+ var ChargebackStatus = /* @__PURE__ */ ((ChargebackStatus2) => {
546
+ ChargebackStatus2["UNSPECIFIED"] = "UNSPECIFIED";
547
+ ChargebackStatus2["APPROVED"] = "APPROVED";
548
+ ChargebackStatus2["REVERSED"] = "REVERSED";
549
+ return ChargebackStatus2;
550
+ })(ChargebackStatus || {});
494
551
  var MembershipPaymentStatus = /* @__PURE__ */ ((MembershipPaymentStatus2) => {
495
552
  MembershipPaymentStatus2["CHARGED"] = "CHARGED";
496
553
  MembershipPaymentStatus2["CHARGE_FAILED"] = "CHARGE_FAILED";
@@ -806,6 +863,7 @@ async function updateRefundTransaction2() {
806
863
  try {
807
864
  const result = await httpClient.request(reqOpts);
808
865
  sideEffects?.onSuccess?.(result);
866
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
809
867
  } catch (err) {
810
868
  const transformedError = (0, import_transform_error.transformError)(
811
869
  err,
@@ -828,6 +886,7 @@ async function updatePayments2() {
828
886
  try {
829
887
  const result = await httpClient.request(reqOpts);
830
888
  sideEffects?.onSuccess?.(result);
889
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
831
890
  } catch (err) {
832
891
  const transformedError = (0, import_transform_error.transformError)(
833
892
  err,
@@ -911,6 +970,7 @@ var updatePayments4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)
911
970
  AuthorizationCaptureStatus,
912
971
  AuthorizationVoidStatus,
913
972
  ChannelType,
973
+ ChargebackStatus,
914
974
  EnteredByIdentityType,
915
975
  FulfillmentStatus,
916
976
  IdentityType,