@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.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +61 -1
- package/build/cjs/index.js.map +1 -1
- package/build/{internal/cjs/ecom-v1-order-transactions-order-transactions.universal-aENRFMbJ.d.ts → cjs/index.typings.d.ts} +223 -83
- package/build/cjs/index.typings.js +940 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +60 -1
- package/build/cjs/meta.js +51 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +60 -1
- package/build/es/index.mjs.map +1 -1
- package/build/{internal/es/ecom-v1-order-transactions-order-transactions.universal-aENRFMbJ.d.mts → es/index.typings.d.mts} +223 -83
- package/build/es/index.typings.mjs +884 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +60 -1
- package/build/es/meta.mjs +51 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +8 -4
- package/build/internal/cjs/index.js +61 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/{cjs/ecom-v1-order-transactions-order-transactions.universal-DRvhf2o2.d.ts → internal/cjs/index.typings.d.ts} +360 -1
- package/build/internal/cjs/index.typings.js +940 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +60 -1
- package/build/internal/cjs/meta.js +51 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +8 -4
- package/build/internal/es/index.mjs +60 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/{es/ecom-v1-order-transactions-order-transactions.universal-DRvhf2o2.d.mts → internal/es/index.typings.d.mts} +360 -1
- package/build/internal/es/index.typings.mjs +884 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +60 -1
- 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,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
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 {
|
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";
|
|
@@ -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,
|