@wix/auto_sdk_ecom_order-transactions 1.0.19 → 1.0.21

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 (134) hide show
  1. package/build/{cjs/src/ecom-v1-order-transactions-order-transactions.types.d.ts → ecom-v1-order-transactions-order-transactions.universal-DRvhf2o2.d.mts} +246 -224
  2. package/build/{internal/cjs/src/ecom-v1-order-transactions-order-transactions.types.d.ts → ecom-v1-order-transactions-order-transactions.universal-DRvhf2o2.d.ts} +246 -224
  3. package/build/index.d.mts +69 -0
  4. package/build/index.d.ts +69 -0
  5. package/build/index.js +942 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +887 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/{es/src/ecom-v1-order-transactions-order-transactions.types.d.ts → internal/ecom-v1-order-transactions-order-transactions.universal-aENRFMbJ.d.mts} +330 -224
  10. package/build/internal/{es/src/ecom-v1-order-transactions-order-transactions.types.d.ts → ecom-v1-order-transactions-order-transactions.universal-aENRFMbJ.d.ts} +330 -224
  11. package/build/internal/index.d.mts +118 -0
  12. package/build/internal/index.d.ts +118 -0
  13. package/build/internal/index.js +942 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +887 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +614 -0
  18. package/build/internal/meta.d.ts +614 -0
  19. package/build/internal/meta.js +566 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +533 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +614 -0
  24. package/build/meta.d.ts +614 -0
  25. package/build/meta.js +566 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +533 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.context.d.ts +0 -9
  40. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.context.js +0 -41
  41. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.context.js.map +0 -1
  42. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.http.d.ts +0 -73
  43. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.http.js +0 -466
  44. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.http.js.map +0 -1
  45. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.meta.d.ts +0 -30
  46. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.meta.js +0 -161
  47. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.meta.js.map +0 -1
  48. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.public.d.ts +0 -63
  49. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.public.js +0 -76
  50. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.public.js.map +0 -1
  51. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.types.js +0 -303
  52. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.types.js.map +0 -1
  53. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.universal.d.ts +0 -2589
  54. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.universal.js +0 -695
  55. package/build/cjs/src/ecom-v1-order-transactions-order-transactions.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/ecom-v1-order-transactions-order-transactions.context.d.ts +0 -9
  67. package/build/es/src/ecom-v1-order-transactions-order-transactions.context.js +0 -13
  68. package/build/es/src/ecom-v1-order-transactions-order-transactions.context.js.map +0 -1
  69. package/build/es/src/ecom-v1-order-transactions-order-transactions.http.d.ts +0 -73
  70. package/build/es/src/ecom-v1-order-transactions-order-transactions.http.js +0 -456
  71. package/build/es/src/ecom-v1-order-transactions-order-transactions.http.js.map +0 -1
  72. package/build/es/src/ecom-v1-order-transactions-order-transactions.meta.d.ts +0 -30
  73. package/build/es/src/ecom-v1-order-transactions-order-transactions.meta.js +0 -128
  74. package/build/es/src/ecom-v1-order-transactions-order-transactions.meta.js.map +0 -1
  75. package/build/es/src/ecom-v1-order-transactions-order-transactions.public.d.ts +0 -63
  76. package/build/es/src/ecom-v1-order-transactions-order-transactions.public.js +0 -41
  77. package/build/es/src/ecom-v1-order-transactions-order-transactions.public.js.map +0 -1
  78. package/build/es/src/ecom-v1-order-transactions-order-transactions.types.js +0 -300
  79. package/build/es/src/ecom-v1-order-transactions-order-transactions.types.js.map +0 -1
  80. package/build/es/src/ecom-v1-order-transactions-order-transactions.universal.d.ts +0 -2589
  81. package/build/es/src/ecom-v1-order-transactions-order-transactions.universal.js +0 -662
  82. package/build/es/src/ecom-v1-order-transactions-order-transactions.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.context.d.ts +0 -13
  93. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.context.js +0 -41
  94. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.context.js.map +0 -1
  95. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.http.d.ts +0 -73
  96. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.http.js +0 -466
  97. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.http.js.map +0 -1
  98. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.meta.d.ts +0 -30
  99. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.meta.js +0 -161
  100. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.meta.js.map +0 -1
  101. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.public.d.ts +0 -108
  102. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.public.js +0 -76
  103. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.public.js.map +0 -1
  104. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.types.js +0 -303
  105. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.types.js.map +0 -1
  106. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.universal.d.ts +0 -2740
  107. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.universal.js +0 -695
  108. package/build/internal/cjs/src/ecom-v1-order-transactions-order-transactions.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.context.d.ts +0 -13
  119. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.context.js +0 -13
  120. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.context.js.map +0 -1
  121. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.http.d.ts +0 -73
  122. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.http.js +0 -456
  123. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.http.js.map +0 -1
  124. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.meta.d.ts +0 -30
  125. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.meta.js +0 -128
  126. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.meta.js.map +0 -1
  127. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.public.d.ts +0 -108
  128. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.public.js +0 -41
  129. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.public.js.map +0 -1
  130. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.types.js +0 -300
  131. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.types.js.map +0 -1
  132. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.universal.d.ts +0 -2740
  133. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.universal.js +0 -662
  134. package/build/internal/es/src/ecom-v1-order-transactions-order-transactions.universal.js.map +0 -1
@@ -0,0 +1,118 @@
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-aENRFMbJ.mjs';
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-aENRFMbJ.mjs';
4
+
5
+ declare function listTransactionsForSingleOrder$1(httpClient: HttpClient): ListTransactionsForSingleOrderSignature;
6
+ interface ListTransactionsForSingleOrderSignature {
7
+ /**
8
+ * Retrieves information about payments and refunds associated with a specified order.
9
+ *
10
+ *
11
+ * The `listTransactionsForSingleOrder()` function returns a Promise that resolves when the specified order's transaction records are retrieved.
12
+ * @param - Order ID.
13
+ */
14
+ (orderId: string): Promise<ListTransactionsForSingleOrderResponse>;
15
+ }
16
+ declare function listTransactionsForMultipleOrders$1(httpClient: HttpClient): ListTransactionsForMultipleOrdersSignature;
17
+ interface ListTransactionsForMultipleOrdersSignature {
18
+ /**
19
+ * Retrieves information about payments and refunds associated with all specified orders.
20
+ *
21
+ *
22
+ * The `listTransactionsForMultipleOrders()` function returns a Promise that resolves when the specified orders' transaction records are retrieved.
23
+ * @param - Order IDs for which to retrieve transactions.
24
+ */
25
+ (orderIds: string[]): Promise<ListTransactionsForMultipleOrdersResponse>;
26
+ }
27
+ declare function addPayments$1(httpClient: HttpClient): AddPaymentsSignature;
28
+ interface AddPaymentsSignature {
29
+ /**
30
+ * Adds up to 50 payment records to an order.
31
+ *
32
+ *
33
+ * The `addPayments()` function returns a Promise that resolves when the payment records are added to an order.
34
+ *
35
+ * > **Note:** This does **NOT** perform the actual charging - the order is only updated with records of the payments.
36
+ * @param - Order ID.
37
+ * @param - Payments to be added to order.
38
+ */
39
+ (orderId: string, payments: Payment[]): Promise<AddPaymentsResponse>;
40
+ }
41
+ declare function updatePaymentStatus$1(httpClient: HttpClient): UpdatePaymentStatusSignature;
42
+ interface UpdatePaymentStatusSignature {
43
+ /**
44
+ * Updates the status of an order's payment.
45
+ *
46
+ *
47
+ * The `updatePaymentStatus()` function returns a Promise that resolves when the payment status is updated.
48
+ */
49
+ (identifiers: UpdatePaymentStatusIdentifiers, options?: UpdatePaymentStatusOptions | undefined): Promise<UpdatePaymentStatusResponse>;
50
+ }
51
+ declare function bulkUpdatePaymentStatuses$1(httpClient: HttpClient): BulkUpdatePaymentStatusesSignature;
52
+ interface BulkUpdatePaymentStatusesSignature {
53
+ /**
54
+ * Updates multiple order payments with a specified status.
55
+ *
56
+ *
57
+ * The `bulkUpdatePaymentStatus()` function returns a Promise that resolves when the payment statuses are updated.
58
+ * @param - Order and payment IDs for which to update payment status.
59
+ */
60
+ (paymentAndOrderIds: PaymentAndOrderId[], options?: BulkUpdatePaymentStatusesOptions | undefined): Promise<BulkUpdatePaymentStatusesResponse>;
61
+ }
62
+ /** @internal */
63
+ declare function updateRefundTransaction$1(httpClient: HttpClient): UpdateRefundTransactionSignature;
64
+ interface UpdateRefundTransactionSignature {
65
+ /**
66
+ * Updates OrderTransactions.refunds.transactions properties
67
+ */
68
+ (): Promise<void>;
69
+ }
70
+ /** @internal */
71
+ declare function updatePayments$1(httpClient: HttpClient): UpdatePaymentsSignature;
72
+ interface UpdatePaymentsSignature {
73
+ /**
74
+ * Updates properties of payments associated to order.
75
+ *
76
+ * Currently, the following fields can be updated:
77
+ * + `payment.payment_details.regular_payment_details.provider_transaction_id`
78
+ * + `payment.payment_details.regular_payment_details.status`
79
+ * + `payment.payment_details.regular_payment_details.payment_method_details.credit_card_details`
80
+ * + `payment.payment_details.regular_payment_details.authorization_details`
81
+ * + `payment.payment_details.regular_payment_details.authorization_details.scheduled_action`
82
+ * + `payment.payment_details.regular_payment_details.authorization_details.authorized_date`
83
+ * + `payment.payment_details.regular_payment_details.authorization_details.captures`
84
+ * + `payment.payment_details.regular_payment_details.authorization_details.captures.status`
85
+ * + `payment.payment_details.regular_payment_details.authorization_details.captures.created_date`
86
+ * + `payment.payment_details.regular_payment_details.authorization_details.captures.failure_details`
87
+ * + `payment.payment_details.regular_payment_details.authorization_details.void`
88
+ * + `payment.payment_details.regular_payment_details.authorization_details.void.status`
89
+ * + `payment.payment_details.regular_payment_details.authorization_details.void.voided_date`
90
+ * + `payment.payment_details.regular_payment_details.authorization_details.void.reason`
91
+ * + `payment.payment_details.regular_payment_details.authorization_details.void.failure_details`
92
+ * + `payment.receipt_info`
93
+ * + `payment.receipt_info.wix_receipt`
94
+ * + `payment.receipt_info.wix_receipt.receipt_id`
95
+ * + `payment.receipt_info.wix_receipt.display_number`
96
+ * + `payment.receipt_info.external_receipt`
97
+ * + `payment.receipt_info.external_receipt.receipt_id`
98
+ * + `payment.receipt_info.external_receipt.display_number`
99
+ * + `payment.receipt_info.external_receipt.app_id`
100
+ *
101
+ * To update a field's value, include the new value in the `payment` object in the body params.
102
+ *
103
+ * > **Note:** Removing fields value results in an error.
104
+ */
105
+ (): Promise<void>;
106
+ }
107
+
108
+ declare const listTransactionsForSingleOrder: MaybeContext<BuildRESTFunction<typeof listTransactionsForSingleOrder$1> & typeof listTransactionsForSingleOrder$1>;
109
+ declare const listTransactionsForMultipleOrders: MaybeContext<BuildRESTFunction<typeof listTransactionsForMultipleOrders$1> & typeof listTransactionsForMultipleOrders$1>;
110
+ declare const addPayments: MaybeContext<BuildRESTFunction<typeof addPayments$1> & typeof addPayments$1>;
111
+ declare const updatePaymentStatus: MaybeContext<BuildRESTFunction<typeof updatePaymentStatus$1> & typeof updatePaymentStatus$1>;
112
+ declare const bulkUpdatePaymentStatuses: MaybeContext<BuildRESTFunction<typeof bulkUpdatePaymentStatuses$1> & typeof bulkUpdatePaymentStatuses$1>;
113
+ /** @internal */
114
+ declare const updateRefundTransaction: MaybeContext<BuildRESTFunction<typeof updateRefundTransaction$1> & typeof updateRefundTransaction$1>;
115
+ /** @internal */
116
+ declare const updatePayments: MaybeContext<BuildRESTFunction<typeof updatePayments$1> & typeof updatePayments$1>;
117
+
118
+ export { AddPaymentsResponse, BulkUpdatePaymentStatusesOptions, BulkUpdatePaymentStatusesResponse, ListTransactionsForMultipleOrdersResponse, ListTransactionsForSingleOrderResponse, Payment, PaymentAndOrderId, UpdatePaymentStatusIdentifiers, UpdatePaymentStatusOptions, UpdatePaymentStatusResponse, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, updatePaymentStatus, updatePayments, updateRefundTransaction };
@@ -0,0 +1,118 @@
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-aENRFMbJ.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-aENRFMbJ.js';
4
+
5
+ declare function listTransactionsForSingleOrder$1(httpClient: HttpClient): ListTransactionsForSingleOrderSignature;
6
+ interface ListTransactionsForSingleOrderSignature {
7
+ /**
8
+ * Retrieves information about payments and refunds associated with a specified order.
9
+ *
10
+ *
11
+ * The `listTransactionsForSingleOrder()` function returns a Promise that resolves when the specified order's transaction records are retrieved.
12
+ * @param - Order ID.
13
+ */
14
+ (orderId: string): Promise<ListTransactionsForSingleOrderResponse>;
15
+ }
16
+ declare function listTransactionsForMultipleOrders$1(httpClient: HttpClient): ListTransactionsForMultipleOrdersSignature;
17
+ interface ListTransactionsForMultipleOrdersSignature {
18
+ /**
19
+ * Retrieves information about payments and refunds associated with all specified orders.
20
+ *
21
+ *
22
+ * The `listTransactionsForMultipleOrders()` function returns a Promise that resolves when the specified orders' transaction records are retrieved.
23
+ * @param - Order IDs for which to retrieve transactions.
24
+ */
25
+ (orderIds: string[]): Promise<ListTransactionsForMultipleOrdersResponse>;
26
+ }
27
+ declare function addPayments$1(httpClient: HttpClient): AddPaymentsSignature;
28
+ interface AddPaymentsSignature {
29
+ /**
30
+ * Adds up to 50 payment records to an order.
31
+ *
32
+ *
33
+ * The `addPayments()` function returns a Promise that resolves when the payment records are added to an order.
34
+ *
35
+ * > **Note:** This does **NOT** perform the actual charging - the order is only updated with records of the payments.
36
+ * @param - Order ID.
37
+ * @param - Payments to be added to order.
38
+ */
39
+ (orderId: string, payments: Payment[]): Promise<AddPaymentsResponse>;
40
+ }
41
+ declare function updatePaymentStatus$1(httpClient: HttpClient): UpdatePaymentStatusSignature;
42
+ interface UpdatePaymentStatusSignature {
43
+ /**
44
+ * Updates the status of an order's payment.
45
+ *
46
+ *
47
+ * The `updatePaymentStatus()` function returns a Promise that resolves when the payment status is updated.
48
+ */
49
+ (identifiers: UpdatePaymentStatusIdentifiers, options?: UpdatePaymentStatusOptions | undefined): Promise<UpdatePaymentStatusResponse>;
50
+ }
51
+ declare function bulkUpdatePaymentStatuses$1(httpClient: HttpClient): BulkUpdatePaymentStatusesSignature;
52
+ interface BulkUpdatePaymentStatusesSignature {
53
+ /**
54
+ * Updates multiple order payments with a specified status.
55
+ *
56
+ *
57
+ * The `bulkUpdatePaymentStatus()` function returns a Promise that resolves when the payment statuses are updated.
58
+ * @param - Order and payment IDs for which to update payment status.
59
+ */
60
+ (paymentAndOrderIds: PaymentAndOrderId[], options?: BulkUpdatePaymentStatusesOptions | undefined): Promise<BulkUpdatePaymentStatusesResponse>;
61
+ }
62
+ /** @internal */
63
+ declare function updateRefundTransaction$1(httpClient: HttpClient): UpdateRefundTransactionSignature;
64
+ interface UpdateRefundTransactionSignature {
65
+ /**
66
+ * Updates OrderTransactions.refunds.transactions properties
67
+ */
68
+ (): Promise<void>;
69
+ }
70
+ /** @internal */
71
+ declare function updatePayments$1(httpClient: HttpClient): UpdatePaymentsSignature;
72
+ interface UpdatePaymentsSignature {
73
+ /**
74
+ * Updates properties of payments associated to order.
75
+ *
76
+ * Currently, the following fields can be updated:
77
+ * + `payment.payment_details.regular_payment_details.provider_transaction_id`
78
+ * + `payment.payment_details.regular_payment_details.status`
79
+ * + `payment.payment_details.regular_payment_details.payment_method_details.credit_card_details`
80
+ * + `payment.payment_details.regular_payment_details.authorization_details`
81
+ * + `payment.payment_details.regular_payment_details.authorization_details.scheduled_action`
82
+ * + `payment.payment_details.regular_payment_details.authorization_details.authorized_date`
83
+ * + `payment.payment_details.regular_payment_details.authorization_details.captures`
84
+ * + `payment.payment_details.regular_payment_details.authorization_details.captures.status`
85
+ * + `payment.payment_details.regular_payment_details.authorization_details.captures.created_date`
86
+ * + `payment.payment_details.regular_payment_details.authorization_details.captures.failure_details`
87
+ * + `payment.payment_details.regular_payment_details.authorization_details.void`
88
+ * + `payment.payment_details.regular_payment_details.authorization_details.void.status`
89
+ * + `payment.payment_details.regular_payment_details.authorization_details.void.voided_date`
90
+ * + `payment.payment_details.regular_payment_details.authorization_details.void.reason`
91
+ * + `payment.payment_details.regular_payment_details.authorization_details.void.failure_details`
92
+ * + `payment.receipt_info`
93
+ * + `payment.receipt_info.wix_receipt`
94
+ * + `payment.receipt_info.wix_receipt.receipt_id`
95
+ * + `payment.receipt_info.wix_receipt.display_number`
96
+ * + `payment.receipt_info.external_receipt`
97
+ * + `payment.receipt_info.external_receipt.receipt_id`
98
+ * + `payment.receipt_info.external_receipt.display_number`
99
+ * + `payment.receipt_info.external_receipt.app_id`
100
+ *
101
+ * To update a field's value, include the new value in the `payment` object in the body params.
102
+ *
103
+ * > **Note:** Removing fields value results in an error.
104
+ */
105
+ (): Promise<void>;
106
+ }
107
+
108
+ declare const listTransactionsForSingleOrder: MaybeContext<BuildRESTFunction<typeof listTransactionsForSingleOrder$1> & typeof listTransactionsForSingleOrder$1>;
109
+ declare const listTransactionsForMultipleOrders: MaybeContext<BuildRESTFunction<typeof listTransactionsForMultipleOrders$1> & typeof listTransactionsForMultipleOrders$1>;
110
+ declare const addPayments: MaybeContext<BuildRESTFunction<typeof addPayments$1> & typeof addPayments$1>;
111
+ declare const updatePaymentStatus: MaybeContext<BuildRESTFunction<typeof updatePaymentStatus$1> & typeof updatePaymentStatus$1>;
112
+ declare const bulkUpdatePaymentStatuses: MaybeContext<BuildRESTFunction<typeof bulkUpdatePaymentStatuses$1> & typeof bulkUpdatePaymentStatuses$1>;
113
+ /** @internal */
114
+ declare const updateRefundTransaction: MaybeContext<BuildRESTFunction<typeof updateRefundTransaction$1> & typeof updateRefundTransaction$1>;
115
+ /** @internal */
116
+ declare const updatePayments: MaybeContext<BuildRESTFunction<typeof updatePayments$1> & typeof updatePayments$1>;
117
+
118
+ export { AddPaymentsResponse, BulkUpdatePaymentStatusesOptions, BulkUpdatePaymentStatusesResponse, ListTransactionsForMultipleOrdersResponse, ListTransactionsForSingleOrderResponse, Payment, PaymentAndOrderId, UpdatePaymentStatusIdentifiers, UpdatePaymentStatusOptions, UpdatePaymentStatusResponse, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, updatePaymentStatus, updatePayments, updateRefundTransaction };