@wix/auto_sdk_ecom_order-transactions 1.0.25 → 1.0.27
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.
- package/build/cjs/index.d.ts +16 -7
- package/build/cjs/index.js +59 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +119 -1
- package/build/cjs/index.typings.js +59 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +58 -0
- package/build/cjs/meta.js +51 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +16 -7
- package/build/es/index.mjs +58 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +119 -1
- package/build/es/index.typings.mjs +58 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +58 -0
- package/build/es/meta.mjs +51 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +18 -9
- package/build/internal/cjs/index.js +59 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +119 -1
- package/build/internal/cjs/index.typings.js +59 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +58 -0
- package/build/internal/cjs/meta.js +51 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +18 -9
- package/build/internal/es/index.mjs +58 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +119 -1
- package/build/internal/es/index.typings.mjs +58 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +58 -0
- package/build/internal/es/meta.mjs +51 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
1
|
+
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
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';
|
|
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
|
+
type OrderTransactionsNonNullablePaths = `orderId` | `payments` | `payments.${number}.regularPaymentDetails.offlinePayment` | `payments.${number}.regularPaymentDetails.status` | `payments.${number}.regularPaymentDetails.savedPaymentMethod` | `payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `payments.${number}.regularPaymentDetails.authorizationDetails.void.status` | `payments.${number}.regularPaymentDetails.authorizationDetails.void.reason` | `payments.${number}.regularPaymentDetails.authorizationDetails.scheduledAction.actionType` | `payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `payments.${number}.giftcardPaymentDetails.appId` | `payments.${number}.giftcardPaymentDetails.voided` | `payments.${number}.refundDisabled` | `refunds` | `refunds.${number}._id` | `refunds.${number}.details.shippingIncluded` | `refunds.${number}.summary.pending`;
|
|
5
6
|
declare function listTransactionsForSingleOrder$1(httpClient: HttpClient): ListTransactionsForSingleOrderSignature;
|
|
6
7
|
interface ListTransactionsForSingleOrderSignature {
|
|
7
8
|
/**
|
|
@@ -11,7 +12,9 @@ interface ListTransactionsForSingleOrderSignature {
|
|
|
11
12
|
* The `listTransactionsForSingleOrder()` function returns a Promise that resolves when the specified order's transaction records are retrieved.
|
|
12
13
|
* @param - Order ID.
|
|
13
14
|
*/
|
|
14
|
-
(orderId: string): Promise<ListTransactionsForSingleOrderResponse
|
|
15
|
+
(orderId: string): Promise<NonNullablePaths<ListTransactionsForSingleOrderResponse, {
|
|
16
|
+
[P in OrderTransactionsNonNullablePaths]: `orderTransactions.${P}`;
|
|
17
|
+
}[OrderTransactionsNonNullablePaths]>>;
|
|
15
18
|
}
|
|
16
19
|
declare function listTransactionsForMultipleOrders$1(httpClient: HttpClient): ListTransactionsForMultipleOrdersSignature;
|
|
17
20
|
interface ListTransactionsForMultipleOrdersSignature {
|
|
@@ -22,7 +25,9 @@ interface ListTransactionsForMultipleOrdersSignature {
|
|
|
22
25
|
* The `listTransactionsForMultipleOrders()` function returns a Promise that resolves when the specified orders' transaction records are retrieved.
|
|
23
26
|
* @param - Order IDs for which to retrieve transactions.
|
|
24
27
|
*/
|
|
25
|
-
(orderIds: string[]): Promise<ListTransactionsForMultipleOrdersResponse
|
|
28
|
+
(orderIds: string[]): Promise<NonNullablePaths<ListTransactionsForMultipleOrdersResponse, {
|
|
29
|
+
[P in OrderTransactionsNonNullablePaths]: `orderTransactions.${number}.${P}`;
|
|
30
|
+
}[OrderTransactionsNonNullablePaths]>>;
|
|
26
31
|
}
|
|
27
32
|
declare function addPayments$1(httpClient: HttpClient): AddPaymentsSignature;
|
|
28
33
|
interface AddPaymentsSignature {
|
|
@@ -36,7 +41,9 @@ interface AddPaymentsSignature {
|
|
|
36
41
|
* @param - Order ID.
|
|
37
42
|
* @param - Payments to be added to order.
|
|
38
43
|
*/
|
|
39
|
-
(orderId: string, payments: Payment[]): Promise<AddPaymentsResponse
|
|
44
|
+
(orderId: string, payments: NonNullablePaths<Payment, `amount` | `giftcardPaymentDetails.giftCardPaymentId`>[]): Promise<NonNullablePaths<AddPaymentsResponse, {
|
|
45
|
+
[P in OrderTransactionsNonNullablePaths]: `orderTransactions.${P}`;
|
|
46
|
+
}[OrderTransactionsNonNullablePaths] | `paymentsIds`>>;
|
|
40
47
|
}
|
|
41
48
|
declare function updatePaymentStatus$1(httpClient: HttpClient): UpdatePaymentStatusSignature;
|
|
42
49
|
interface UpdatePaymentStatusSignature {
|
|
@@ -46,7 +53,9 @@ interface UpdatePaymentStatusSignature {
|
|
|
46
53
|
*
|
|
47
54
|
* The `updatePaymentStatus()` function returns a Promise that resolves when the payment status is updated.
|
|
48
55
|
*/
|
|
49
|
-
(identifiers: UpdatePaymentStatusIdentifiers, options?: UpdatePaymentStatusOptions
|
|
56
|
+
(identifiers: NonNullablePaths<UpdatePaymentStatusIdentifiers, `orderId` | `paymentId`>, options?: UpdatePaymentStatusOptions): Promise<NonNullablePaths<UpdatePaymentStatusResponse, {
|
|
57
|
+
[P in OrderTransactionsNonNullablePaths]: `orderTransactions.${P}`;
|
|
58
|
+
}[OrderTransactionsNonNullablePaths]>>;
|
|
50
59
|
}
|
|
51
60
|
declare function bulkUpdatePaymentStatuses$1(httpClient: HttpClient): BulkUpdatePaymentStatusesSignature;
|
|
52
61
|
interface BulkUpdatePaymentStatusesSignature {
|
|
@@ -57,7 +66,7 @@ interface BulkUpdatePaymentStatusesSignature {
|
|
|
57
66
|
* The `bulkUpdatePaymentStatus()` function returns a Promise that resolves when the payment statuses are updated.
|
|
58
67
|
* @param - Order and payment IDs for which to update payment status.
|
|
59
68
|
*/
|
|
60
|
-
(paymentAndOrderIds: PaymentAndOrderId[], options?: BulkUpdatePaymentStatusesOptions
|
|
69
|
+
(paymentAndOrderIds: PaymentAndOrderId[], options?: BulkUpdatePaymentStatusesOptions): Promise<NonNullablePaths<BulkUpdatePaymentStatusesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.regularPaymentDetails.offlinePayment` | `results.${number}.item.regularPaymentDetails.status` | `results.${number}.item.regularPaymentDetails.savedPaymentMethod` | `results.${number}.item.regularPaymentDetails.authorizationDetails.delayedCapture` | `results.${number}.item.regularPaymentDetails.authorizationDetails.void.status` | `results.${number}.item.regularPaymentDetails.authorizationDetails.void.reason` | `results.${number}.item.regularPaymentDetails.authorizationDetails.scheduledAction.actionType` | `results.${number}.item.giftcardPaymentDetails.giftCardPaymentId` | `results.${number}.item.giftcardPaymentDetails.appId` | `results.${number}.item.giftcardPaymentDetails.voided` | `results.${number}.item.refundDisabled` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
61
70
|
}
|
|
62
71
|
|
|
63
72
|
declare const listTransactionsForSingleOrder: MaybeContext<BuildRESTFunction<typeof listTransactionsForSingleOrder$1> & typeof listTransactionsForSingleOrder$1>;
|
package/build/cjs/index.js
CHANGED
|
@@ -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";
|
|
@@ -913,6 +970,7 @@ var updatePayments4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)
|
|
|
913
970
|
AuthorizationCaptureStatus,
|
|
914
971
|
AuthorizationVoidStatus,
|
|
915
972
|
ChannelType,
|
|
973
|
+
ChargebackStatus,
|
|
916
974
|
EnteredByIdentityType,
|
|
917
975
|
FulfillmentStatus,
|
|
918
976
|
IdentityType,
|