@wix/auto_sdk_ecom_order-transactions 1.0.97 → 1.0.99
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.map +1 -1
- package/build/cjs/index.typings.d.ts +14 -11
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +14 -11
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +18 -18
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +14 -11
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +14 -11
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +18 -18
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +14 -11
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +14 -11
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +18 -18
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +14 -11
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +14 -11
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +18 -18
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -22,7 +22,7 @@ interface OrderTransactions {
|
|
|
22
22
|
*/
|
|
23
23
|
refunds?: Refund[];
|
|
24
24
|
}
|
|
25
|
-
interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf {
|
|
25
|
+
interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf, PaymentStatusDetailsOneOf {
|
|
26
26
|
/** Regular payment details. */
|
|
27
27
|
regularPaymentDetails?: RegularPaymentDetails;
|
|
28
28
|
/** Gift card payment details. */
|
|
@@ -96,6 +96,9 @@ interface PaymentReceiptInfoOneOf {
|
|
|
96
96
|
*/
|
|
97
97
|
externalReceipt?: ExternalReceiptInfo;
|
|
98
98
|
}
|
|
99
|
+
/** @oneof */
|
|
100
|
+
interface PaymentStatusDetailsOneOf {
|
|
101
|
+
}
|
|
99
102
|
interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetailsOneOf {
|
|
100
103
|
/** Credit card details. */
|
|
101
104
|
creditCardDetails?: CreditCardPaymentMethodDetails;
|
|
@@ -354,12 +357,12 @@ type ChargebackStatusWithLiterals = ChargebackStatus | 'APPROVED' | 'REVERSED';
|
|
|
354
357
|
interface PaymentMethodName {
|
|
355
358
|
/**
|
|
356
359
|
* Translated payment method name in buyer language.
|
|
357
|
-
* @maxLength
|
|
360
|
+
* @maxLength 150
|
|
358
361
|
*/
|
|
359
362
|
buyerLanguageName?: string | null;
|
|
360
363
|
/**
|
|
361
364
|
* Translated payment method name in site owner language.
|
|
362
|
-
* @maxLength
|
|
365
|
+
* @maxLength 150
|
|
363
366
|
*/
|
|
364
367
|
siteLanguageName?: string | null;
|
|
365
368
|
/**
|
|
@@ -381,7 +384,7 @@ interface UserDefinedPaymentMethodName extends UserDefinedPaymentMethodNameKindO
|
|
|
381
384
|
*
|
|
382
385
|
* For example, `"Wire transfer"`, `"Money order"`, `"Venmo"` or any other custom name.
|
|
383
386
|
* @minLength 1
|
|
384
|
-
* @maxLength
|
|
387
|
+
* @maxLength 150
|
|
385
388
|
*/
|
|
386
389
|
custom?: string | null;
|
|
387
390
|
}
|
|
@@ -394,7 +397,7 @@ interface UserDefinedPaymentMethodNameKindOneOf {
|
|
|
394
397
|
*
|
|
395
398
|
* For example, `"Wire transfer"`, `"Money order"`, `"Venmo"` or any other custom name.
|
|
396
399
|
* @minLength 1
|
|
397
|
-
* @maxLength
|
|
400
|
+
* @maxLength 150
|
|
398
401
|
*/
|
|
399
402
|
custom?: string | null;
|
|
400
403
|
}
|
|
@@ -574,11 +577,6 @@ declare enum PaymentStatus {
|
|
|
574
577
|
}
|
|
575
578
|
/** @enumType */
|
|
576
579
|
type PaymentStatusWithLiterals = PaymentStatus | 'APPROVED' | 'PENDING' | 'PENDING_MERCHANT' | 'CANCELED' | 'DECLINED' | 'REFUNDED' | 'PARTIALLY_REFUNDED' | 'AUTHORIZED' | 'VOIDED';
|
|
577
|
-
interface PaymentStatusDetails extends PaymentStatusDetailsStatusDetailsOneOf {
|
|
578
|
-
}
|
|
579
|
-
/** @oneof */
|
|
580
|
-
interface PaymentStatusDetailsStatusDetailsOneOf {
|
|
581
|
-
}
|
|
582
580
|
interface CanceledStatusDetails {
|
|
583
581
|
reason?: CanceledReasonWithLiterals;
|
|
584
582
|
}
|
|
@@ -616,6 +614,11 @@ declare enum VoidedReason {
|
|
|
616
614
|
}
|
|
617
615
|
/** @enumType */
|
|
618
616
|
type VoidedReasonWithLiterals = VoidedReason | 'MERCHANT_REQUEST' | 'OTHER_PAYMENT_FAILURE';
|
|
617
|
+
interface PaymentStatusDetails extends PaymentStatusDetailsStatusDetailsOneOf {
|
|
618
|
+
}
|
|
619
|
+
/** @oneof */
|
|
620
|
+
interface PaymentStatusDetailsStatusDetailsOneOf {
|
|
621
|
+
}
|
|
619
622
|
interface Refund {
|
|
620
623
|
/**
|
|
621
624
|
* Refund ID.
|
|
@@ -2187,4 +2190,4 @@ declare function updatePayments(): Promise<void & {
|
|
|
2187
2190
|
__applicationErrorsType?: UpdatePaymentsApplicationErrors;
|
|
2188
2191
|
}>;
|
|
2189
2192
|
|
|
2190
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActionType, type ActionTypeWithLiterals, type AddChargebackRequest, type AddChargebackResponse, type AddInvoiceToOrderRequest, type AddInvoiceToOrderResponse, type AddPaymentsRequest, type AddPaymentsResponse, type AddRefundRequest, type AddRefundResponse, type AdditionalFeeRefund, type AggregatedRefundSummary, type ApplicationError, type AuthorizationActionFailureDetails, type AuthorizationCapture, AuthorizationCaptureStatus, type AuthorizationCaptureStatusWithLiterals, type AuthorizationDetails, type AuthorizationVoid, AuthorizationVoidStatus, type AuthorizationVoidStatusWithLiterals, type BaseEventMetadata, type BulkActionMetadata, type BulkGenerateInvoicesRequest, type BulkGenerateInvoicesResponse, type BulkInvoiceResult, type BulkPaymentResult, type BulkUpdatePaymentStatusesOptions, type BulkUpdatePaymentStatusesRequest, type BulkUpdatePaymentStatusesResponse, type CalculateRefundItemRequest, type CalculateRefundItemResponse, type CalculateRefundRequest, type CalculateRefundResponse, CanceledReason, type CanceledReasonWithLiterals, type CanceledStatusDetails, type CashRounding, type CashRoundingDetails, type Chargeback, type ChargebackApproved, type ChargebackReversed, ChargebackStatus, type ChargebackStatusWithLiterals, type CreditCardPaymentMethodDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, DeclinedReason, type DeclinedReasonWithLiterals, type DeclinedStatusDetails, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExternalReceiptInfo, type FutureMembershipDetails, type GenerateInvoiceRequest, type GenerateInvoiceResponse, type GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse, type GiftCardPaymentDetails, type IdentificationData, type IdentificationDataIdOneOf, type InvoiceForOrder, type InvoiceInfo, type InvoicesForOrder, type ItemMetadata, type LineItemRefund, type LineItemRefundSummary, type ListInvoicesForMultipleOrdersRequest, type ListInvoicesForMultipleOrdersResponse, type ListInvoicesForSingleOrderRequest, type ListInvoicesForSingleOrderResponse, type ListTransactionsForMultipleOrdersRequest, type ListTransactionsForMultipleOrdersResponse, type ListTransactionsForSingleOrderRequest, type ListTransactionsForSingleOrderResponse, ManuallyRefundableReason, type ManuallyRefundableReasonWithLiterals, type MaskedPayment, type MembershipName, type MembershipPaymentDetails, MembershipPaymentStatus, type MembershipPaymentStatusWithLiterals, type MessageEnvelope, NonRefundableReason, type NonRefundableReasonWithLiterals, type OrderTransactions, type OrderTransactionsChargebackApprovedEnvelope, type OrderTransactionsChargebackReversedEnvelope, type OrderTransactionsDetailsUpdatedEnvelope, type OrderTransactionsRefundCompletedEnvelope, type OrderTransactionsUpdatedEnvelope, type Payment, type PaymentAndOrderId, type PaymentDetailsUpdated, type PaymentMethodName, type PaymentPaymentDetailsOneOf, type PaymentReceiptInfoOneOf, type PaymentRefund, PaymentStatus, type PaymentStatusDetails, type PaymentStatusDetailsStatusDetailsOneOf, type PaymentStatusWithLiterals, type PaymentsUpdated, PredefinedPaymentMethod, type PredefinedPaymentMethodWithLiterals, type Price, type QueryOrderTransactionsRequest, type QueryOrderTransactionsResponse, Reason, type ReasonWithLiterals, type Refund, type RefundCompleted, type RefundCreated, type RefundDetails, type RefundItem, type RefundItemsBreakdown, type RefundSideEffects, RefundStatus, type RefundStatusInfo, type RefundStatusWithLiterals, type RefundTransaction, type Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf, RefundableStatus, type RefundableStatusWithLiterals, type RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf, type RestockInfo, type RestockItem, type RestockLocation, RestockType, type RestockTypeWithLiterals, type RestoreInfo, type ReverseChargebackRequest, type ReverseChargebackResponse, type ScheduledAction, type ShippingRefund, SortOrder, type SortOrderWithLiterals, type Sorting, TransactionStatus, type TransactionStatusWithLiterals, type TriggerRefundRequest, type TriggerRefundResponse, type UpdatePaymentStatusIdentifiers, type UpdatePaymentStatusOptions, type UpdatePaymentStatusRequest, type UpdatePaymentStatusResponse, type UpdatePaymentsApplicationErrors, type UpdatePaymentsRequest, type UpdatePaymentsResponse, type UpdateRefundRequest, type UpdateRefundResponse, type UpdateRefundTransactionApplicationErrors, type UpdateRefundTransactionOptions, type UpdateRefundTransactionRequest, type UpdateRefundTransactionResponse, type UserDefinedPaymentMethodName, type UserDefinedPaymentMethodNameKindOneOf, VoidedReason, type VoidedReasonWithLiterals, type VoidedStatusDetails, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixReceiptInfo, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, onOrderTransactionsChargebackApproved, onOrderTransactionsChargebackReversed, onOrderTransactionsDetailsUpdated, onOrderTransactionsRefundCompleted, onOrderTransactionsUpdated, updatePaymentStatus, updatePayments, updateRefundTransaction };
|
|
2193
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActionType, type ActionTypeWithLiterals, type AddChargebackRequest, type AddChargebackResponse, type AddInvoiceToOrderRequest, type AddInvoiceToOrderResponse, type AddPaymentsRequest, type AddPaymentsResponse, type AddRefundRequest, type AddRefundResponse, type AdditionalFeeRefund, type AggregatedRefundSummary, type ApplicationError, type AuthorizationActionFailureDetails, type AuthorizationCapture, AuthorizationCaptureStatus, type AuthorizationCaptureStatusWithLiterals, type AuthorizationDetails, type AuthorizationVoid, AuthorizationVoidStatus, type AuthorizationVoidStatusWithLiterals, type BaseEventMetadata, type BulkActionMetadata, type BulkGenerateInvoicesRequest, type BulkGenerateInvoicesResponse, type BulkInvoiceResult, type BulkPaymentResult, type BulkUpdatePaymentStatusesOptions, type BulkUpdatePaymentStatusesRequest, type BulkUpdatePaymentStatusesResponse, type CalculateRefundItemRequest, type CalculateRefundItemResponse, type CalculateRefundRequest, type CalculateRefundResponse, CanceledReason, type CanceledReasonWithLiterals, type CanceledStatusDetails, type CashRounding, type CashRoundingDetails, type Chargeback, type ChargebackApproved, type ChargebackReversed, ChargebackStatus, type ChargebackStatusWithLiterals, type CreditCardPaymentMethodDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, DeclinedReason, type DeclinedReasonWithLiterals, type DeclinedStatusDetails, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExternalReceiptInfo, type FutureMembershipDetails, type GenerateInvoiceRequest, type GenerateInvoiceResponse, type GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse, type GiftCardPaymentDetails, type IdentificationData, type IdentificationDataIdOneOf, type InvoiceForOrder, type InvoiceInfo, type InvoicesForOrder, type ItemMetadata, type LineItemRefund, type LineItemRefundSummary, type ListInvoicesForMultipleOrdersRequest, type ListInvoicesForMultipleOrdersResponse, type ListInvoicesForSingleOrderRequest, type ListInvoicesForSingleOrderResponse, type ListTransactionsForMultipleOrdersRequest, type ListTransactionsForMultipleOrdersResponse, type ListTransactionsForSingleOrderRequest, type ListTransactionsForSingleOrderResponse, ManuallyRefundableReason, type ManuallyRefundableReasonWithLiterals, type MaskedPayment, type MembershipName, type MembershipPaymentDetails, MembershipPaymentStatus, type MembershipPaymentStatusWithLiterals, type MessageEnvelope, NonRefundableReason, type NonRefundableReasonWithLiterals, type OrderTransactions, type OrderTransactionsChargebackApprovedEnvelope, type OrderTransactionsChargebackReversedEnvelope, type OrderTransactionsDetailsUpdatedEnvelope, type OrderTransactionsRefundCompletedEnvelope, type OrderTransactionsUpdatedEnvelope, type Payment, type PaymentAndOrderId, type PaymentDetailsUpdated, type PaymentMethodName, type PaymentPaymentDetailsOneOf, type PaymentReceiptInfoOneOf, type PaymentRefund, PaymentStatus, type PaymentStatusDetails, type PaymentStatusDetailsOneOf, type PaymentStatusDetailsStatusDetailsOneOf, type PaymentStatusWithLiterals, type PaymentsUpdated, PredefinedPaymentMethod, type PredefinedPaymentMethodWithLiterals, type Price, type QueryOrderTransactionsRequest, type QueryOrderTransactionsResponse, Reason, type ReasonWithLiterals, type Refund, type RefundCompleted, type RefundCreated, type RefundDetails, type RefundItem, type RefundItemsBreakdown, type RefundSideEffects, RefundStatus, type RefundStatusInfo, type RefundStatusWithLiterals, type RefundTransaction, type Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf, RefundableStatus, type RefundableStatusWithLiterals, type RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf, type RestockInfo, type RestockItem, type RestockLocation, RestockType, type RestockTypeWithLiterals, type RestoreInfo, type ReverseChargebackRequest, type ReverseChargebackResponse, type ScheduledAction, type ShippingRefund, SortOrder, type SortOrderWithLiterals, type Sorting, TransactionStatus, type TransactionStatusWithLiterals, type TriggerRefundRequest, type TriggerRefundResponse, type UpdatePaymentStatusIdentifiers, type UpdatePaymentStatusOptions, type UpdatePaymentStatusRequest, type UpdatePaymentStatusResponse, type UpdatePaymentsApplicationErrors, type UpdatePaymentsRequest, type UpdatePaymentsResponse, type UpdateRefundRequest, type UpdateRefundResponse, type UpdateRefundTransactionApplicationErrors, type UpdateRefundTransactionOptions, type UpdateRefundTransactionRequest, type UpdateRefundTransactionResponse, type UserDefinedPaymentMethodName, type UserDefinedPaymentMethodNameKindOneOf, VoidedReason, type VoidedReasonWithLiterals, type VoidedStatusDetails, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixReceiptInfo, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, onOrderTransactionsChargebackApproved, onOrderTransactionsChargebackReversed, onOrderTransactionsDetailsUpdated, onOrderTransactionsRefundCompleted, onOrderTransactionsUpdated, updatePaymentStatus, updatePayments, updateRefundTransaction };
|