@wix/auto_sdk_ecom_order-transactions 1.0.68 → 1.0.70
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 +1 -1
- package/build/cjs/index.js +10 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +47 -3
- package/build/cjs/index.typings.js +10 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +47 -3
- package/build/cjs/meta.js +10 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +9 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +47 -3
- package/build/es/index.typings.mjs +9 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +47 -3
- package/build/es/meta.mjs +9 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +10 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +54 -3
- package/build/internal/cjs/index.typings.js +10 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +47 -3
- package/build/internal/cjs/meta.js +10 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +9 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +54 -3
- package/build/internal/es/index.typings.mjs +9 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +47 -3
- package/build/internal/es/meta.mjs +9 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
package/build/cjs/meta.d.ts
CHANGED
|
@@ -315,6 +315,48 @@ interface PaymentMethodName {
|
|
|
315
315
|
*/
|
|
316
316
|
siteLanguageName?: string | null;
|
|
317
317
|
}
|
|
318
|
+
/**
|
|
319
|
+
* User-defined payment method name.
|
|
320
|
+
* Allows specifying either a predefined type or a custom name.
|
|
321
|
+
*/
|
|
322
|
+
interface UserDefinedPaymentMethodName extends UserDefinedPaymentMethodNameKindOneOf {
|
|
323
|
+
/** Predefined payment method. */
|
|
324
|
+
predefined?: PredefinedPaymentMethodWithLiterals;
|
|
325
|
+
/**
|
|
326
|
+
* Custom payment method name provided by user.
|
|
327
|
+
*
|
|
328
|
+
* For example, `"Wire transfer"`, `"Money order"`, `"Venmo"` or any other custom name.
|
|
329
|
+
* @minLength 1
|
|
330
|
+
* @maxLength 100
|
|
331
|
+
*/
|
|
332
|
+
custom?: string | null;
|
|
333
|
+
}
|
|
334
|
+
/** @oneof */
|
|
335
|
+
interface UserDefinedPaymentMethodNameKindOneOf {
|
|
336
|
+
/** Predefined payment method. */
|
|
337
|
+
predefined?: PredefinedPaymentMethodWithLiterals;
|
|
338
|
+
/**
|
|
339
|
+
* Custom payment method name provided by user.
|
|
340
|
+
*
|
|
341
|
+
* For example, `"Wire transfer"`, `"Money order"`, `"Venmo"` or any other custom name.
|
|
342
|
+
* @minLength 1
|
|
343
|
+
* @maxLength 100
|
|
344
|
+
*/
|
|
345
|
+
custom?: string | null;
|
|
346
|
+
}
|
|
347
|
+
/** Predefined payment method types for offline/manual payments. */
|
|
348
|
+
declare enum PredefinedPaymentMethod {
|
|
349
|
+
/** Unknown payment method type. */
|
|
350
|
+
UNKNOWN_PREDEFINED_PAYMENT_METHOD = "UNKNOWN_PREDEFINED_PAYMENT_METHOD",
|
|
351
|
+
/** Cash payment. */
|
|
352
|
+
CASH = "CASH",
|
|
353
|
+
/** Bank transfer. */
|
|
354
|
+
BANK_TRANSFER = "BANK_TRANSFER",
|
|
355
|
+
/** Payment by check. */
|
|
356
|
+
CHECK = "CHECK"
|
|
357
|
+
}
|
|
358
|
+
/** @enumType */
|
|
359
|
+
type PredefinedPaymentMethodWithLiterals = PredefinedPaymentMethod | 'UNKNOWN_PREDEFINED_PAYMENT_METHOD' | 'CASH' | 'BANK_TRANSFER' | 'CHECK';
|
|
318
360
|
interface GiftCardPaymentDetails {
|
|
319
361
|
/**
|
|
320
362
|
* Gift card payment ID.
|
|
@@ -373,10 +415,12 @@ declare enum MembershipPaymentStatus {
|
|
|
373
415
|
/** The attempt to charge the payment failed, for example, due to lack of credits. */
|
|
374
416
|
CHARGE_FAILED = "CHARGE_FAILED",
|
|
375
417
|
/** Payment is pending. */
|
|
376
|
-
CHARGE_PENDING = "CHARGE_PENDING"
|
|
418
|
+
CHARGE_PENDING = "CHARGE_PENDING",
|
|
419
|
+
/** Payment was voided. */
|
|
420
|
+
VOIDED = "VOIDED"
|
|
377
421
|
}
|
|
378
422
|
/** @enumType */
|
|
379
|
-
type MembershipPaymentStatusWithLiterals = MembershipPaymentStatus | 'CHARGED' | 'CHARGE_FAILED' | 'CHARGE_PENDING';
|
|
423
|
+
type MembershipPaymentStatusWithLiterals = MembershipPaymentStatus | 'CHARGED' | 'CHARGE_FAILED' | 'CHARGE_PENDING' | 'VOIDED';
|
|
380
424
|
interface MembershipName {
|
|
381
425
|
/**
|
|
382
426
|
* Membership name.
|
|
@@ -1557,4 +1601,4 @@ declare function updatePayments(): __PublicMethodMetaInfo<'POST', {
|
|
|
1557
1601
|
orderId: string;
|
|
1558
1602
|
}, UpdatePaymentsRequest$1, UpdatePaymentsRequest, UpdatePaymentsResponse$1, UpdatePaymentsResponse>;
|
|
1559
1603
|
|
|
1560
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, ActionType as ActionTypeOriginal, type ActionTypeWithLiterals as ActionTypeWithLiteralsOriginal, type AddChargebackRequest as AddChargebackRequestOriginal, type AddChargebackResponse as AddChargebackResponseOriginal, type AddInvoiceToOrderRequest as AddInvoiceToOrderRequestOriginal, type AddInvoiceToOrderResponse as AddInvoiceToOrderResponseOriginal, type AddPaymentsRequest as AddPaymentsRequestOriginal, type AddPaymentsResponse as AddPaymentsResponseOriginal, type AddRefundRequest as AddRefundRequestOriginal, type AddRefundResponse as AddRefundResponseOriginal, type AdditionalFeeRefund as AdditionalFeeRefundOriginal, type AggregatedRefundSummary as AggregatedRefundSummaryOriginal, type ApplicationError as ApplicationErrorOriginal, type AuthorizationActionFailureDetails as AuthorizationActionFailureDetailsOriginal, type AuthorizationCapture as AuthorizationCaptureOriginal, AuthorizationCaptureStatus as AuthorizationCaptureStatusOriginal, type AuthorizationCaptureStatusWithLiterals as AuthorizationCaptureStatusWithLiteralsOriginal, type AuthorizationDetails as AuthorizationDetailsOriginal, type AuthorizationVoid as AuthorizationVoidOriginal, AuthorizationVoidStatus as AuthorizationVoidStatusOriginal, type AuthorizationVoidStatusWithLiterals as AuthorizationVoidStatusWithLiteralsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequestOriginal, type BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponseOriginal, type BulkInvoiceResult as BulkInvoiceResultOriginal, type BulkPaymentResult as BulkPaymentResultOriginal, type BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequestOriginal, type BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponseOriginal, type CalculateRefundItemRequest as CalculateRefundItemRequestOriginal, type CalculateRefundItemResponse as CalculateRefundItemResponseOriginal, type CalculateRefundRequest as CalculateRefundRequestOriginal, type CalculateRefundResponse as CalculateRefundResponseOriginal, type ChargebackApproved as ChargebackApprovedOriginal, type Chargeback as ChargebackOriginal, type ChargebackReversed as ChargebackReversedOriginal, ChargebackStatus as ChargebackStatusOriginal, type ChargebackStatusWithLiterals as ChargebackStatusWithLiteralsOriginal, type CreditCardPaymentMethodDetails as CreditCardPaymentMethodDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExternalReceiptInfo as ExternalReceiptInfoOriginal, type GenerateInvoiceRequest as GenerateInvoiceRequestOriginal, type GenerateInvoiceResponse as GenerateInvoiceResponseOriginal, type GetRefundabilityStatusRequest as GetRefundabilityStatusRequestOriginal, type GetRefundabilityStatusResponse as GetRefundabilityStatusResponseOriginal, type GiftCardPaymentDetails as GiftCardPaymentDetailsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvoiceForOrder as InvoiceForOrderOriginal, type InvoiceInfo as InvoiceInfoOriginal, type InvoicesForOrder as InvoicesForOrderOriginal, type ItemMetadata as ItemMetadataOriginal, type LineItemRefund as LineItemRefundOriginal, type LineItemRefundSummary as LineItemRefundSummaryOriginal, type ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequestOriginal, type ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponseOriginal, type ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequestOriginal, type ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponseOriginal, type ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequestOriginal, type ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponseOriginal, type ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequestOriginal, type ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponseOriginal, ManuallyRefundableReason as ManuallyRefundableReasonOriginal, type ManuallyRefundableReasonWithLiterals as ManuallyRefundableReasonWithLiteralsOriginal, type MaskedPayment as MaskedPaymentOriginal, type MembershipName as MembershipNameOriginal, type MembershipPaymentDetails as MembershipPaymentDetailsOriginal, MembershipPaymentStatus as MembershipPaymentStatusOriginal, type MembershipPaymentStatusWithLiterals as MembershipPaymentStatusWithLiteralsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, NonRefundableReason as NonRefundableReasonOriginal, type NonRefundableReasonWithLiterals as NonRefundableReasonWithLiteralsOriginal, type OrderTransactions as OrderTransactionsOriginal, type PaymentAndOrderId as PaymentAndOrderIdOriginal, type PaymentDetailsUpdated as PaymentDetailsUpdatedOriginal, type PaymentMethodName as PaymentMethodNameOriginal, type Payment as PaymentOriginal, type PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOfOriginal, type PaymentReceiptInfoOneOf as PaymentReceiptInfoOneOfOriginal, type PaymentRefund as PaymentRefundOriginal, type PaymentsUpdated as PaymentsUpdatedOriginal, type Price as PriceOriginal, type QueryOrderTransactionsRequest as QueryOrderTransactionsRequestOriginal, type QueryOrderTransactionsResponse as QueryOrderTransactionsResponseOriginal, Reason as ReasonOriginal, type ReasonWithLiterals as ReasonWithLiteralsOriginal, type RefundCompleted as RefundCompletedOriginal, type RefundCreated as RefundCreatedOriginal, type RefundDetails as RefundDetailsOriginal, type RefundItem as RefundItemOriginal, type RefundItemsBreakdown as RefundItemsBreakdownOriginal, type Refund as RefundOriginal, type RefundSideEffects as RefundSideEffectsOriginal, type RefundStatusInfo as RefundStatusInfoOriginal, RefundStatus as RefundStatusOriginal, type RefundStatusWithLiterals as RefundStatusWithLiteralsOriginal, type RefundTransaction as RefundTransactionOriginal, type RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOfOriginal, type Refundability as RefundabilityOriginal, RefundableStatus as RefundableStatusOriginal, type RefundableStatusWithLiterals as RefundableStatusWithLiteralsOriginal, type RegularPaymentDetails as RegularPaymentDetailsOriginal, type RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOfOriginal, type RestockInfo as RestockInfoOriginal, type RestockItem as RestockItemOriginal, RestockType as RestockTypeOriginal, type RestockTypeWithLiterals as RestockTypeWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type ReverseChargebackRequest as ReverseChargebackRequestOriginal, type ReverseChargebackResponse as ReverseChargebackResponseOriginal, type ScheduledAction as ScheduledActionOriginal, type ShippingRefund as ShippingRefundOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, TransactionStatus as TransactionStatusOriginal, type TransactionStatusWithLiterals as TransactionStatusWithLiteralsOriginal, type TriggerRefundRequest as TriggerRefundRequestOriginal, type TriggerRefundResponse as TriggerRefundResponseOriginal, type UpdatePaymentStatusRequest as UpdatePaymentStatusRequestOriginal, type UpdatePaymentStatusResponse as UpdatePaymentStatusResponseOriginal, type UpdatePaymentsApplicationErrors as UpdatePaymentsApplicationErrorsOriginal, type UpdatePaymentsRequest as UpdatePaymentsRequestOriginal, type UpdatePaymentsResponse as UpdatePaymentsResponseOriginal, type UpdateRefundRequest as UpdateRefundRequestOriginal, type UpdateRefundResponse as UpdateRefundResponseOriginal, type UpdateRefundTransactionApplicationErrors as UpdateRefundTransactionApplicationErrorsOriginal, type UpdateRefundTransactionRequest as UpdateRefundTransactionRequestOriginal, type UpdateRefundTransactionResponse as UpdateRefundTransactionResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WixReceiptInfo as WixReceiptInfoOriginal, type __PublicMethodMetaInfo, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, updatePaymentStatus, updatePayments, updateRefundTransaction };
|
|
1604
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, ActionType as ActionTypeOriginal, type ActionTypeWithLiterals as ActionTypeWithLiteralsOriginal, type AddChargebackRequest as AddChargebackRequestOriginal, type AddChargebackResponse as AddChargebackResponseOriginal, type AddInvoiceToOrderRequest as AddInvoiceToOrderRequestOriginal, type AddInvoiceToOrderResponse as AddInvoiceToOrderResponseOriginal, type AddPaymentsRequest as AddPaymentsRequestOriginal, type AddPaymentsResponse as AddPaymentsResponseOriginal, type AddRefundRequest as AddRefundRequestOriginal, type AddRefundResponse as AddRefundResponseOriginal, type AdditionalFeeRefund as AdditionalFeeRefundOriginal, type AggregatedRefundSummary as AggregatedRefundSummaryOriginal, type ApplicationError as ApplicationErrorOriginal, type AuthorizationActionFailureDetails as AuthorizationActionFailureDetailsOriginal, type AuthorizationCapture as AuthorizationCaptureOriginal, AuthorizationCaptureStatus as AuthorizationCaptureStatusOriginal, type AuthorizationCaptureStatusWithLiterals as AuthorizationCaptureStatusWithLiteralsOriginal, type AuthorizationDetails as AuthorizationDetailsOriginal, type AuthorizationVoid as AuthorizationVoidOriginal, AuthorizationVoidStatus as AuthorizationVoidStatusOriginal, type AuthorizationVoidStatusWithLiterals as AuthorizationVoidStatusWithLiteralsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequestOriginal, type BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponseOriginal, type BulkInvoiceResult as BulkInvoiceResultOriginal, type BulkPaymentResult as BulkPaymentResultOriginal, type BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequestOriginal, type BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponseOriginal, type CalculateRefundItemRequest as CalculateRefundItemRequestOriginal, type CalculateRefundItemResponse as CalculateRefundItemResponseOriginal, type CalculateRefundRequest as CalculateRefundRequestOriginal, type CalculateRefundResponse as CalculateRefundResponseOriginal, type ChargebackApproved as ChargebackApprovedOriginal, type Chargeback as ChargebackOriginal, type ChargebackReversed as ChargebackReversedOriginal, ChargebackStatus as ChargebackStatusOriginal, type ChargebackStatusWithLiterals as ChargebackStatusWithLiteralsOriginal, type CreditCardPaymentMethodDetails as CreditCardPaymentMethodDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExternalReceiptInfo as ExternalReceiptInfoOriginal, type GenerateInvoiceRequest as GenerateInvoiceRequestOriginal, type GenerateInvoiceResponse as GenerateInvoiceResponseOriginal, type GetRefundabilityStatusRequest as GetRefundabilityStatusRequestOriginal, type GetRefundabilityStatusResponse as GetRefundabilityStatusResponseOriginal, type GiftCardPaymentDetails as GiftCardPaymentDetailsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvoiceForOrder as InvoiceForOrderOriginal, type InvoiceInfo as InvoiceInfoOriginal, type InvoicesForOrder as InvoicesForOrderOriginal, type ItemMetadata as ItemMetadataOriginal, type LineItemRefund as LineItemRefundOriginal, type LineItemRefundSummary as LineItemRefundSummaryOriginal, type ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequestOriginal, type ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponseOriginal, type ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequestOriginal, type ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponseOriginal, type ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequestOriginal, type ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponseOriginal, type ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequestOriginal, type ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponseOriginal, ManuallyRefundableReason as ManuallyRefundableReasonOriginal, type ManuallyRefundableReasonWithLiterals as ManuallyRefundableReasonWithLiteralsOriginal, type MaskedPayment as MaskedPaymentOriginal, type MembershipName as MembershipNameOriginal, type MembershipPaymentDetails as MembershipPaymentDetailsOriginal, MembershipPaymentStatus as MembershipPaymentStatusOriginal, type MembershipPaymentStatusWithLiterals as MembershipPaymentStatusWithLiteralsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, NonRefundableReason as NonRefundableReasonOriginal, type NonRefundableReasonWithLiterals as NonRefundableReasonWithLiteralsOriginal, type OrderTransactions as OrderTransactionsOriginal, type PaymentAndOrderId as PaymentAndOrderIdOriginal, type PaymentDetailsUpdated as PaymentDetailsUpdatedOriginal, type PaymentMethodName as PaymentMethodNameOriginal, type Payment as PaymentOriginal, type PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOfOriginal, type PaymentReceiptInfoOneOf as PaymentReceiptInfoOneOfOriginal, type PaymentRefund as PaymentRefundOriginal, type PaymentsUpdated as PaymentsUpdatedOriginal, PredefinedPaymentMethod as PredefinedPaymentMethodOriginal, type PredefinedPaymentMethodWithLiterals as PredefinedPaymentMethodWithLiteralsOriginal, type Price as PriceOriginal, type QueryOrderTransactionsRequest as QueryOrderTransactionsRequestOriginal, type QueryOrderTransactionsResponse as QueryOrderTransactionsResponseOriginal, Reason as ReasonOriginal, type ReasonWithLiterals as ReasonWithLiteralsOriginal, type RefundCompleted as RefundCompletedOriginal, type RefundCreated as RefundCreatedOriginal, type RefundDetails as RefundDetailsOriginal, type RefundItem as RefundItemOriginal, type RefundItemsBreakdown as RefundItemsBreakdownOriginal, type Refund as RefundOriginal, type RefundSideEffects as RefundSideEffectsOriginal, type RefundStatusInfo as RefundStatusInfoOriginal, RefundStatus as RefundStatusOriginal, type RefundStatusWithLiterals as RefundStatusWithLiteralsOriginal, type RefundTransaction as RefundTransactionOriginal, type RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOfOriginal, type Refundability as RefundabilityOriginal, RefundableStatus as RefundableStatusOriginal, type RefundableStatusWithLiterals as RefundableStatusWithLiteralsOriginal, type RegularPaymentDetails as RegularPaymentDetailsOriginal, type RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOfOriginal, type RestockInfo as RestockInfoOriginal, type RestockItem as RestockItemOriginal, RestockType as RestockTypeOriginal, type RestockTypeWithLiterals as RestockTypeWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type ReverseChargebackRequest as ReverseChargebackRequestOriginal, type ReverseChargebackResponse as ReverseChargebackResponseOriginal, type ScheduledAction as ScheduledActionOriginal, type ShippingRefund as ShippingRefundOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, TransactionStatus as TransactionStatusOriginal, type TransactionStatusWithLiterals as TransactionStatusWithLiteralsOriginal, type TriggerRefundRequest as TriggerRefundRequestOriginal, type TriggerRefundResponse as TriggerRefundResponseOriginal, type UpdatePaymentStatusRequest as UpdatePaymentStatusRequestOriginal, type UpdatePaymentStatusResponse as UpdatePaymentStatusResponseOriginal, type UpdatePaymentsApplicationErrors as UpdatePaymentsApplicationErrorsOriginal, type UpdatePaymentsRequest as UpdatePaymentsRequestOriginal, type UpdatePaymentsResponse as UpdatePaymentsResponseOriginal, type UpdateRefundRequest as UpdateRefundRequestOriginal, type UpdateRefundResponse as UpdateRefundResponseOriginal, type UpdateRefundTransactionApplicationErrors as UpdateRefundTransactionApplicationErrorsOriginal, type UpdateRefundTransactionRequest as UpdateRefundTransactionRequestOriginal, type UpdateRefundTransactionResponse as UpdateRefundTransactionResponseOriginal, type UserDefinedPaymentMethodNameKindOneOf as UserDefinedPaymentMethodNameKindOneOfOriginal, type UserDefinedPaymentMethodName as UserDefinedPaymentMethodNameOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WixReceiptInfo as WixReceiptInfoOriginal, type __PublicMethodMetaInfo, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, updatePaymentStatus, updatePayments, updateRefundTransaction };
|
package/build/cjs/meta.js
CHANGED
|
@@ -27,6 +27,7 @@ __export(meta_exports, {
|
|
|
27
27
|
ManuallyRefundableReasonOriginal: () => ManuallyRefundableReason,
|
|
28
28
|
MembershipPaymentStatusOriginal: () => MembershipPaymentStatus,
|
|
29
29
|
NonRefundableReasonOriginal: () => NonRefundableReason,
|
|
30
|
+
PredefinedPaymentMethodOriginal: () => PredefinedPaymentMethod,
|
|
30
31
|
ReasonOriginal: () => Reason,
|
|
31
32
|
RefundStatusOriginal: () => RefundStatus,
|
|
32
33
|
RefundableStatusOriginal: () => RefundableStatus,
|
|
@@ -571,10 +572,18 @@ var ChargebackStatus = /* @__PURE__ */ ((ChargebackStatus2) => {
|
|
|
571
572
|
ChargebackStatus2["REVERSED"] = "REVERSED";
|
|
572
573
|
return ChargebackStatus2;
|
|
573
574
|
})(ChargebackStatus || {});
|
|
575
|
+
var PredefinedPaymentMethod = /* @__PURE__ */ ((PredefinedPaymentMethod2) => {
|
|
576
|
+
PredefinedPaymentMethod2["UNKNOWN_PREDEFINED_PAYMENT_METHOD"] = "UNKNOWN_PREDEFINED_PAYMENT_METHOD";
|
|
577
|
+
PredefinedPaymentMethod2["CASH"] = "CASH";
|
|
578
|
+
PredefinedPaymentMethod2["BANK_TRANSFER"] = "BANK_TRANSFER";
|
|
579
|
+
PredefinedPaymentMethod2["CHECK"] = "CHECK";
|
|
580
|
+
return PredefinedPaymentMethod2;
|
|
581
|
+
})(PredefinedPaymentMethod || {});
|
|
574
582
|
var MembershipPaymentStatus = /* @__PURE__ */ ((MembershipPaymentStatus2) => {
|
|
575
583
|
MembershipPaymentStatus2["CHARGED"] = "CHARGED";
|
|
576
584
|
MembershipPaymentStatus2["CHARGE_FAILED"] = "CHARGE_FAILED";
|
|
577
585
|
MembershipPaymentStatus2["CHARGE_PENDING"] = "CHARGE_PENDING";
|
|
586
|
+
MembershipPaymentStatus2["VOIDED"] = "VOIDED";
|
|
578
587
|
return MembershipPaymentStatus2;
|
|
579
588
|
})(MembershipPaymentStatus || {});
|
|
580
589
|
var RefundStatus = /* @__PURE__ */ ((RefundStatus2) => {
|
|
@@ -774,6 +783,7 @@ function updatePayments2() {
|
|
|
774
783
|
ManuallyRefundableReasonOriginal,
|
|
775
784
|
MembershipPaymentStatusOriginal,
|
|
776
785
|
NonRefundableReasonOriginal,
|
|
786
|
+
PredefinedPaymentMethodOriginal,
|
|
777
787
|
ReasonOriginal,
|
|
778
788
|
RefundStatusOriginal,
|
|
779
789
|
RefundableStatusOriginal,
|