@wix/ecom 1.0.702 → 1.0.703
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.
|
@@ -24549,6 +24549,23 @@ interface Cursors$9 {
|
|
|
24549
24549
|
/** Cursor pointing to the previous page in the list of results. */
|
|
24550
24550
|
prev?: string | null;
|
|
24551
24551
|
}
|
|
24552
|
+
interface GetPaymentCollectabilityStatusRequest$1 {
|
|
24553
|
+
/** Ecom order ID. */
|
|
24554
|
+
ecomOrderId: string;
|
|
24555
|
+
}
|
|
24556
|
+
interface GetPaymentCollectabilityStatusResponse$1 {
|
|
24557
|
+
/** Payment collectability status */
|
|
24558
|
+
status?: PaymentCollectabilityStatus$1;
|
|
24559
|
+
/** Collectable order amount */
|
|
24560
|
+
amount?: Price$5;
|
|
24561
|
+
}
|
|
24562
|
+
declare enum PaymentCollectabilityStatus$1 {
|
|
24563
|
+
UNKNOWN = "UNKNOWN",
|
|
24564
|
+
COLLECTABLE = "COLLECTABLE",
|
|
24565
|
+
NONCOLLECTABLE_ORDER_IS_CANCELLED = "NONCOLLECTABLE_ORDER_IS_CANCELLED",
|
|
24566
|
+
NONCOLLECTABLE_ORDER_IS_PAID = "NONCOLLECTABLE_ORDER_IS_PAID",
|
|
24567
|
+
NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD"
|
|
24568
|
+
}
|
|
24552
24569
|
interface BulkOrderResult$1 {
|
|
24553
24570
|
/** Item metadata. */
|
|
24554
24571
|
itemMetadata?: ItemMetadata$3;
|
|
@@ -24701,6 +24718,15 @@ interface CancelOrderResponse$1 {
|
|
|
24701
24718
|
/** Canceled order. */
|
|
24702
24719
|
order?: Order$1;
|
|
24703
24720
|
}
|
|
24721
|
+
interface PriceNonNullableFields$5 {
|
|
24722
|
+
amount: string;
|
|
24723
|
+
formattedAmount: string;
|
|
24724
|
+
}
|
|
24725
|
+
interface GetPaymentCollectabilityStatusResponseNonNullableFields$1 {
|
|
24726
|
+
status: PaymentCollectabilityStatus$1;
|
|
24727
|
+
amount?: PriceNonNullableFields$5;
|
|
24728
|
+
authorizationSupported: boolean;
|
|
24729
|
+
}
|
|
24704
24730
|
interface ProductNameNonNullableFields$1 {
|
|
24705
24731
|
original: string;
|
|
24706
24732
|
}
|
|
@@ -24708,10 +24734,6 @@ interface CatalogReferenceNonNullableFields$1 {
|
|
|
24708
24734
|
catalogItemId: string;
|
|
24709
24735
|
appId: string;
|
|
24710
24736
|
}
|
|
24711
|
-
interface PriceNonNullableFields$5 {
|
|
24712
|
-
amount: string;
|
|
24713
|
-
formattedAmount: string;
|
|
24714
|
-
}
|
|
24715
24737
|
interface PlainTextValueNonNullableFields$1 {
|
|
24716
24738
|
original: string;
|
|
24717
24739
|
}
|
|
@@ -26222,6 +26244,23 @@ interface Cursors$8 {
|
|
|
26222
26244
|
/** Cursor pointing to the previous page in the list of results. */
|
|
26223
26245
|
prev?: string | null;
|
|
26224
26246
|
}
|
|
26247
|
+
interface GetPaymentCollectabilityStatusRequest {
|
|
26248
|
+
/** Ecom order ID. */
|
|
26249
|
+
ecomOrderId: string;
|
|
26250
|
+
}
|
|
26251
|
+
interface GetPaymentCollectabilityStatusResponse {
|
|
26252
|
+
/** Payment collectability status */
|
|
26253
|
+
status?: PaymentCollectabilityStatus;
|
|
26254
|
+
/** Collectable order amount */
|
|
26255
|
+
amount?: Price$4;
|
|
26256
|
+
}
|
|
26257
|
+
declare enum PaymentCollectabilityStatus {
|
|
26258
|
+
UNKNOWN = "UNKNOWN",
|
|
26259
|
+
COLLECTABLE = "COLLECTABLE",
|
|
26260
|
+
NONCOLLECTABLE_ORDER_IS_CANCELLED = "NONCOLLECTABLE_ORDER_IS_CANCELLED",
|
|
26261
|
+
NONCOLLECTABLE_ORDER_IS_PAID = "NONCOLLECTABLE_ORDER_IS_PAID",
|
|
26262
|
+
NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD"
|
|
26263
|
+
}
|
|
26225
26264
|
interface BulkOrderResult {
|
|
26226
26265
|
/** Item metadata. */
|
|
26227
26266
|
itemMetadata?: ItemMetadata$2;
|
|
@@ -26374,6 +26413,15 @@ interface CancelOrderResponse {
|
|
|
26374
26413
|
/** Canceled order. */
|
|
26375
26414
|
order?: Order;
|
|
26376
26415
|
}
|
|
26416
|
+
interface PriceNonNullableFields$4 {
|
|
26417
|
+
amount: string;
|
|
26418
|
+
formattedAmount: string;
|
|
26419
|
+
}
|
|
26420
|
+
interface GetPaymentCollectabilityStatusResponseNonNullableFields {
|
|
26421
|
+
status: PaymentCollectabilityStatus;
|
|
26422
|
+
amount?: PriceNonNullableFields$4;
|
|
26423
|
+
authorizationSupported: boolean;
|
|
26424
|
+
}
|
|
26377
26425
|
interface ProductNameNonNullableFields {
|
|
26378
26426
|
original: string;
|
|
26379
26427
|
}
|
|
@@ -26381,10 +26429,6 @@ interface CatalogReferenceNonNullableFields {
|
|
|
26381
26429
|
catalogItemId: string;
|
|
26382
26430
|
appId: string;
|
|
26383
26431
|
}
|
|
26384
|
-
interface PriceNonNullableFields$4 {
|
|
26385
|
-
amount: string;
|
|
26386
|
-
formattedAmount: string;
|
|
26387
|
-
}
|
|
26388
26432
|
interface PlainTextValueNonNullableFields {
|
|
26389
26433
|
original: string;
|
|
26390
26434
|
}
|
|
@@ -26803,6 +26847,9 @@ type __PublicMethodMetaInfo$8<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
26803
26847
|
__responseType: Q;
|
|
26804
26848
|
__originalResponseType: R;
|
|
26805
26849
|
};
|
|
26850
|
+
declare function getPaymentCollectabilityStatus(): __PublicMethodMetaInfo$8<'GET', {
|
|
26851
|
+
ecomOrderId: string;
|
|
26852
|
+
}, GetPaymentCollectabilityStatusRequest, GetPaymentCollectabilityStatusRequest$1, GetPaymentCollectabilityStatusResponse & GetPaymentCollectabilityStatusResponseNonNullableFields, GetPaymentCollectabilityStatusResponse$1 & GetPaymentCollectabilityStatusResponseNonNullableFields$1>;
|
|
26806
26853
|
declare function getOrder(): __PublicMethodMetaInfo$8<'GET', {
|
|
26807
26854
|
id: string;
|
|
26808
26855
|
}, GetOrderRequest, GetOrderRequest$1, GetOrderResponse & GetOrderResponseNonNullableFields, GetOrderResponse$1 & GetOrderResponseNonNullableFields$1>;
|
|
@@ -26820,10 +26867,11 @@ declare const meta$8_bulkUpdateOrders: typeof bulkUpdateOrders;
|
|
|
26820
26867
|
declare const meta$8_cancelOrder: typeof cancelOrder;
|
|
26821
26868
|
declare const meta$8_createOrder: typeof createOrder;
|
|
26822
26869
|
declare const meta$8_getOrder: typeof getOrder;
|
|
26870
|
+
declare const meta$8_getPaymentCollectabilityStatus: typeof getPaymentCollectabilityStatus;
|
|
26823
26871
|
declare const meta$8_searchOrders: typeof searchOrders;
|
|
26824
26872
|
declare const meta$8_updateOrder: typeof updateOrder;
|
|
26825
26873
|
declare namespace meta$8 {
|
|
26826
|
-
export { type __PublicMethodMetaInfo$8 as __PublicMethodMetaInfo, meta$8_bulkUpdateOrders as bulkUpdateOrders, meta$8_cancelOrder as cancelOrder, meta$8_createOrder as createOrder, meta$8_getOrder as getOrder, meta$8_searchOrders as searchOrders, meta$8_updateOrder as updateOrder };
|
|
26874
|
+
export { type __PublicMethodMetaInfo$8 as __PublicMethodMetaInfo, meta$8_bulkUpdateOrders as bulkUpdateOrders, meta$8_cancelOrder as cancelOrder, meta$8_createOrder as createOrder, meta$8_getOrder as getOrder, meta$8_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, meta$8_searchOrders as searchOrders, meta$8_updateOrder as updateOrder };
|
|
26827
26875
|
}
|
|
26828
26876
|
|
|
26829
26877
|
interface OrderPaymentRequest$1 {
|