@wix/auto_sdk_ecom_order-transactions 1.0.24 → 1.0.25

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 (29) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js +2 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/{ecom-v1-order-transactions-order-transactions.universal-DRvhf2o2.d.ts → index.typings.d.ts} +107 -1
  5. package/build/cjs/index.typings.js +882 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +2 -1
  8. package/build/es/index.d.mts +2 -2
  9. package/build/es/index.mjs +2 -0
  10. package/build/es/index.mjs.map +1 -1
  11. package/build/es/{ecom-v1-order-transactions-order-transactions.universal-DRvhf2o2.d.mts → index.typings.d.mts} +107 -1
  12. package/build/es/index.typings.mjs +827 -0
  13. package/build/es/index.typings.mjs.map +1 -0
  14. package/build/es/meta.d.mts +2 -1
  15. package/build/internal/cjs/index.d.ts +8 -4
  16. package/build/internal/cjs/index.js +2 -0
  17. package/build/internal/cjs/index.js.map +1 -1
  18. package/build/internal/cjs/{ecom-v1-order-transactions-order-transactions.universal-aENRFMbJ.d.ts → index.typings.d.ts} +158 -1
  19. package/build/internal/cjs/index.typings.js +882 -0
  20. package/build/internal/cjs/index.typings.js.map +1 -0
  21. package/build/internal/cjs/meta.d.ts +2 -1
  22. package/build/internal/es/index.d.mts +8 -4
  23. package/build/internal/es/index.mjs +2 -0
  24. package/build/internal/es/index.mjs.map +1 -1
  25. package/build/internal/es/{ecom-v1-order-transactions-order-transactions.universal-aENRFMbJ.d.mts → index.typings.d.mts} +158 -1
  26. package/build/internal/es/index.typings.mjs +827 -0
  27. package/build/internal/es/index.typings.mjs.map +1 -0
  28. package/build/internal/es/meta.d.mts +2 -1
  29. 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, 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, 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, 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 {
@@ -806,6 +806,7 @@ async function updateRefundTransaction2() {
806
806
  try {
807
807
  const result = await httpClient.request(reqOpts);
808
808
  sideEffects?.onSuccess?.(result);
809
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
809
810
  } catch (err) {
810
811
  const transformedError = (0, import_transform_error.transformError)(
811
812
  err,
@@ -828,6 +829,7 @@ async function updatePayments2() {
828
829
  try {
829
830
  const result = await httpClient.request(reqOpts);
830
831
  sideEffects?.onSuccess?.(result);
832
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
831
833
  } catch (err) {
832
834
  const transformedError = (0, import_transform_error.transformError)(
833
835
  err,