@wix/ecom 1.0.511 → 1.0.512
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/src/ecom-v1-order-transactions.http.d.ts +4 -4
- package/build/cjs/src/ecom-v1-order-transactions.http.js +4 -4
- package/build/cjs/src/ecom-v1-order-transactions.universal.d.ts +4 -4
- package/build/cjs/src/ecom-v1-order-transactions.universal.js +4 -4
- package/build/cjs/src/ecom-v1-order.universal.d.ts +3 -3
- package/build/es/src/ecom-v1-order-transactions.http.d.ts +4 -4
- package/build/es/src/ecom-v1-order-transactions.http.js +4 -4
- package/build/es/src/ecom-v1-order-transactions.universal.d.ts +4 -4
- package/build/es/src/ecom-v1-order-transactions.universal.js +4 -4
- package/build/es/src/ecom-v1-order.universal.d.ts +3 -3
- package/package.json +2 -2
|
@@ -4,14 +4,14 @@ import { AddPaymentsRequest, AddPaymentsResponse, BulkUpdatePaymentStatusesReque
|
|
|
4
4
|
* Retrieves information about payments and refunds associated with a specified order.
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
|
-
* The `
|
|
7
|
+
* The `listTransactionsForSingleOrder()` function returns a Promise that resolves when the specified order's transaction records are retrieved.
|
|
8
8
|
*/
|
|
9
9
|
export declare function listTransactionsForSingleOrder(payload: ListTransactionsForSingleOrderRequest): RequestOptionsFactory<ListTransactionsForSingleOrderResponse & ListTransactionsForSingleOrderResponseNonNullableFields>;
|
|
10
10
|
/**
|
|
11
11
|
* Retrieves information about payments and refunds associated with all specified orders.
|
|
12
12
|
*
|
|
13
13
|
*
|
|
14
|
-
* The `
|
|
14
|
+
* The `listTransactionsForMultipleOrders()` function returns a Promise that resolves when the specified orders' transaction records are retrieved.
|
|
15
15
|
*/
|
|
16
16
|
export declare function listTransactionsForMultipleOrders(payload: ListTransactionsForMultipleOrdersRequest): RequestOptionsFactory<ListTransactionsForMultipleOrdersResponse & ListTransactionsForMultipleOrdersResponseNonNullableFields>;
|
|
17
17
|
/**
|
|
@@ -27,13 +27,13 @@ export declare function addPayments(payload: AddPaymentsRequest): RequestOptions
|
|
|
27
27
|
* Updates the status of an order's payment.
|
|
28
28
|
*
|
|
29
29
|
*
|
|
30
|
-
* The `
|
|
30
|
+
* The `updatePaymentStatus()` function returns a Promise that resolves when the payment status is updated.
|
|
31
31
|
*/
|
|
32
32
|
export declare function updatePaymentStatus(payload: UpdatePaymentStatusRequest): RequestOptionsFactory<UpdatePaymentStatusResponse & UpdatePaymentStatusResponseNonNullableFields>;
|
|
33
33
|
/**
|
|
34
34
|
* Updates multiple order payments with a specified status.
|
|
35
35
|
*
|
|
36
36
|
*
|
|
37
|
-
* The `
|
|
37
|
+
* The `bulkUpdatePaymentStatus()` function returns a Promise that resolves when the payment statuses are updated.
|
|
38
38
|
*/
|
|
39
39
|
export declare function bulkUpdatePaymentStatuses(payload: BulkUpdatePaymentStatusesRequest): RequestOptionsFactory<BulkUpdatePaymentStatusesResponse & BulkUpdatePaymentStatusesResponseNonNullableFields>;
|
|
@@ -27,7 +27,7 @@ function resolveComWixEcomOrdersPaymentsV1PaymentsUrl(opts) {
|
|
|
27
27
|
* Retrieves information about payments and refunds associated with a specified order.
|
|
28
28
|
*
|
|
29
29
|
*
|
|
30
|
-
* The `
|
|
30
|
+
* The `listTransactionsForSingleOrder()` function returns a Promise that resolves when the specified order's transaction records are retrieved.
|
|
31
31
|
*/
|
|
32
32
|
function listTransactionsForSingleOrder(payload) {
|
|
33
33
|
function __listTransactionsForSingleOrder({ host }) {
|
|
@@ -61,7 +61,7 @@ exports.listTransactionsForSingleOrder = listTransactionsForSingleOrder;
|
|
|
61
61
|
* Retrieves information about payments and refunds associated with all specified orders.
|
|
62
62
|
*
|
|
63
63
|
*
|
|
64
|
-
* The `
|
|
64
|
+
* The `listTransactionsForMultipleOrders()` function returns a Promise that resolves when the specified orders' transaction records are retrieved.
|
|
65
65
|
*/
|
|
66
66
|
function listTransactionsForMultipleOrders(payload) {
|
|
67
67
|
function __listTransactionsForMultipleOrders({ host }) {
|
|
@@ -140,7 +140,7 @@ exports.addPayments = addPayments;
|
|
|
140
140
|
* Updates the status of an order's payment.
|
|
141
141
|
*
|
|
142
142
|
*
|
|
143
|
-
* The `
|
|
143
|
+
* The `updatePaymentStatus()` function returns a Promise that resolves when the payment status is updated.
|
|
144
144
|
*/
|
|
145
145
|
function updatePaymentStatus(payload) {
|
|
146
146
|
function __updatePaymentStatus({ host }) {
|
|
@@ -180,7 +180,7 @@ exports.updatePaymentStatus = updatePaymentStatus;
|
|
|
180
180
|
* Updates multiple order payments with a specified status.
|
|
181
181
|
*
|
|
182
182
|
*
|
|
183
|
-
* The `
|
|
183
|
+
* The `bulkUpdatePaymentStatus()` function returns a Promise that resolves when the payment statuses are updated.
|
|
184
184
|
*/
|
|
185
185
|
function bulkUpdatePaymentStatuses(payload) {
|
|
186
186
|
function __bulkUpdatePaymentStatuses({ host }) {
|
|
@@ -1573,7 +1573,7 @@ export declare const onOrderTransactionsUpdated: EventDefinition<DomainActionEve
|
|
|
1573
1573
|
* Retrieves information about payments and refunds associated with a specified order.
|
|
1574
1574
|
*
|
|
1575
1575
|
*
|
|
1576
|
-
* The `
|
|
1576
|
+
* The `listTransactionsForSingleOrder()` function returns a Promise that resolves when the specified order's transaction records are retrieved.
|
|
1577
1577
|
* @param orderId - Order ID.
|
|
1578
1578
|
* @public
|
|
1579
1579
|
* @documentationMaturity preview
|
|
@@ -1597,7 +1597,7 @@ export declare function listTransactionsForSingleOrder(orderId: string): Promise
|
|
|
1597
1597
|
* Retrieves information about payments and refunds associated with all specified orders.
|
|
1598
1598
|
*
|
|
1599
1599
|
*
|
|
1600
|
-
* The `
|
|
1600
|
+
* The `listTransactionsForMultipleOrders()` function returns a Promise that resolves when the specified orders' transaction records are retrieved.
|
|
1601
1601
|
* @param orderIds - Order IDs for which to retrieve transactions.
|
|
1602
1602
|
* @public
|
|
1603
1603
|
* @documentationMaturity preview
|
|
@@ -1645,7 +1645,7 @@ export declare function addPayments(orderId: string, payments: Payment[]): Promi
|
|
|
1645
1645
|
* Updates the status of an order's payment.
|
|
1646
1646
|
*
|
|
1647
1647
|
*
|
|
1648
|
-
* The `
|
|
1648
|
+
* The `updatePaymentStatus()` function returns a Promise that resolves when the payment status is updated.
|
|
1649
1649
|
* @public
|
|
1650
1650
|
* @documentationMaturity preview
|
|
1651
1651
|
* @requiredField identifiers
|
|
@@ -1674,7 +1674,7 @@ export interface UpdatePaymentStatusOptions {
|
|
|
1674
1674
|
* Updates multiple order payments with a specified status.
|
|
1675
1675
|
*
|
|
1676
1676
|
*
|
|
1677
|
-
* The `
|
|
1677
|
+
* The `bulkUpdatePaymentStatus()` function returns a Promise that resolves when the payment statuses are updated.
|
|
1678
1678
|
* @param paymentAndOrderIds - Order and payment IDs for which to update payment status.
|
|
1679
1679
|
* @public
|
|
1680
1680
|
* @documentationMaturity preview
|
|
@@ -270,7 +270,7 @@ exports.onOrderTransactionsUpdated = (0, sdk_types_1.EventDefinition)('wix.ecom.
|
|
|
270
270
|
* Retrieves information about payments and refunds associated with a specified order.
|
|
271
271
|
*
|
|
272
272
|
*
|
|
273
|
-
* The `
|
|
273
|
+
* The `listTransactionsForSingleOrder()` function returns a Promise that resolves when the specified order's transaction records are retrieved.
|
|
274
274
|
* @param orderId - Order ID.
|
|
275
275
|
* @public
|
|
276
276
|
* @documentationMaturity preview
|
|
@@ -338,7 +338,7 @@ exports.listTransactionsForSingleOrder = listTransactionsForSingleOrder;
|
|
|
338
338
|
* Retrieves information about payments and refunds associated with all specified orders.
|
|
339
339
|
*
|
|
340
340
|
*
|
|
341
|
-
* The `
|
|
341
|
+
* The `listTransactionsForMultipleOrders()` function returns a Promise that resolves when the specified orders' transaction records are retrieved.
|
|
342
342
|
* @param orderIds - Order IDs for which to retrieve transactions.
|
|
343
343
|
* @public
|
|
344
344
|
* @documentationMaturity preview
|
|
@@ -474,7 +474,7 @@ exports.addPayments = addPayments;
|
|
|
474
474
|
* Updates the status of an order's payment.
|
|
475
475
|
*
|
|
476
476
|
*
|
|
477
|
-
* The `
|
|
477
|
+
* The `updatePaymentStatus()` function returns a Promise that resolves when the payment status is updated.
|
|
478
478
|
* @public
|
|
479
479
|
* @documentationMaturity preview
|
|
480
480
|
* @requiredField identifiers
|
|
@@ -545,7 +545,7 @@ exports.updatePaymentStatus = updatePaymentStatus;
|
|
|
545
545
|
* Updates multiple order payments with a specified status.
|
|
546
546
|
*
|
|
547
547
|
*
|
|
548
|
-
* The `
|
|
548
|
+
* The `bulkUpdatePaymentStatus()` function returns a Promise that resolves when the payment statuses are updated.
|
|
549
549
|
* @param paymentAndOrderIds - Order and payment IDs for which to update payment status.
|
|
550
550
|
* @public
|
|
551
551
|
* @documentationMaturity preview
|
|
@@ -242,9 +242,9 @@ export interface CatalogReference {
|
|
|
242
242
|
/**
|
|
243
243
|
* Additional item details in key:value pairs.
|
|
244
244
|
*
|
|
245
|
-
* Use this optional field to
|
|
246
|
-
*
|
|
247
|
-
*
|
|
245
|
+
* Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
|
|
246
|
+
*
|
|
247
|
+
* For products and variants from your Wix Stores catalog, learn more about [eCommerce integration](https://www.wix.com/velo/reference/wix-stores-backend/ecommerce-integration).
|
|
248
248
|
*/
|
|
249
249
|
options?: Record<string, any> | null;
|
|
250
250
|
}
|
|
@@ -4,14 +4,14 @@ import { AddPaymentsRequest, AddPaymentsResponse, BulkUpdatePaymentStatusesReque
|
|
|
4
4
|
* Retrieves information about payments and refunds associated with a specified order.
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
|
-
* The `
|
|
7
|
+
* The `listTransactionsForSingleOrder()` function returns a Promise that resolves when the specified order's transaction records are retrieved.
|
|
8
8
|
*/
|
|
9
9
|
export declare function listTransactionsForSingleOrder(payload: ListTransactionsForSingleOrderRequest): RequestOptionsFactory<ListTransactionsForSingleOrderResponse & ListTransactionsForSingleOrderResponseNonNullableFields>;
|
|
10
10
|
/**
|
|
11
11
|
* Retrieves information about payments and refunds associated with all specified orders.
|
|
12
12
|
*
|
|
13
13
|
*
|
|
14
|
-
* The `
|
|
14
|
+
* The `listTransactionsForMultipleOrders()` function returns a Promise that resolves when the specified orders' transaction records are retrieved.
|
|
15
15
|
*/
|
|
16
16
|
export declare function listTransactionsForMultipleOrders(payload: ListTransactionsForMultipleOrdersRequest): RequestOptionsFactory<ListTransactionsForMultipleOrdersResponse & ListTransactionsForMultipleOrdersResponseNonNullableFields>;
|
|
17
17
|
/**
|
|
@@ -27,13 +27,13 @@ export declare function addPayments(payload: AddPaymentsRequest): RequestOptions
|
|
|
27
27
|
* Updates the status of an order's payment.
|
|
28
28
|
*
|
|
29
29
|
*
|
|
30
|
-
* The `
|
|
30
|
+
* The `updatePaymentStatus()` function returns a Promise that resolves when the payment status is updated.
|
|
31
31
|
*/
|
|
32
32
|
export declare function updatePaymentStatus(payload: UpdatePaymentStatusRequest): RequestOptionsFactory<UpdatePaymentStatusResponse & UpdatePaymentStatusResponseNonNullableFields>;
|
|
33
33
|
/**
|
|
34
34
|
* Updates multiple order payments with a specified status.
|
|
35
35
|
*
|
|
36
36
|
*
|
|
37
|
-
* The `
|
|
37
|
+
* The `bulkUpdatePaymentStatus()` function returns a Promise that resolves when the payment statuses are updated.
|
|
38
38
|
*/
|
|
39
39
|
export declare function bulkUpdatePaymentStatuses(payload: BulkUpdatePaymentStatusesRequest): RequestOptionsFactory<BulkUpdatePaymentStatusesResponse & BulkUpdatePaymentStatusesResponseNonNullableFields>;
|
|
@@ -24,7 +24,7 @@ function resolveComWixEcomOrdersPaymentsV1PaymentsUrl(opts) {
|
|
|
24
24
|
* Retrieves information about payments and refunds associated with a specified order.
|
|
25
25
|
*
|
|
26
26
|
*
|
|
27
|
-
* The `
|
|
27
|
+
* The `listTransactionsForSingleOrder()` function returns a Promise that resolves when the specified order's transaction records are retrieved.
|
|
28
28
|
*/
|
|
29
29
|
export function listTransactionsForSingleOrder(payload) {
|
|
30
30
|
function __listTransactionsForSingleOrder({ host }) {
|
|
@@ -57,7 +57,7 @@ export function listTransactionsForSingleOrder(payload) {
|
|
|
57
57
|
* Retrieves information about payments and refunds associated with all specified orders.
|
|
58
58
|
*
|
|
59
59
|
*
|
|
60
|
-
* The `
|
|
60
|
+
* The `listTransactionsForMultipleOrders()` function returns a Promise that resolves when the specified orders' transaction records are retrieved.
|
|
61
61
|
*/
|
|
62
62
|
export function listTransactionsForMultipleOrders(payload) {
|
|
63
63
|
function __listTransactionsForMultipleOrders({ host }) {
|
|
@@ -134,7 +134,7 @@ export function addPayments(payload) {
|
|
|
134
134
|
* Updates the status of an order's payment.
|
|
135
135
|
*
|
|
136
136
|
*
|
|
137
|
-
* The `
|
|
137
|
+
* The `updatePaymentStatus()` function returns a Promise that resolves when the payment status is updated.
|
|
138
138
|
*/
|
|
139
139
|
export function updatePaymentStatus(payload) {
|
|
140
140
|
function __updatePaymentStatus({ host }) {
|
|
@@ -173,7 +173,7 @@ export function updatePaymentStatus(payload) {
|
|
|
173
173
|
* Updates multiple order payments with a specified status.
|
|
174
174
|
*
|
|
175
175
|
*
|
|
176
|
-
* The `
|
|
176
|
+
* The `bulkUpdatePaymentStatus()` function returns a Promise that resolves when the payment statuses are updated.
|
|
177
177
|
*/
|
|
178
178
|
export function bulkUpdatePaymentStatuses(payload) {
|
|
179
179
|
function __bulkUpdatePaymentStatuses({ host }) {
|
|
@@ -1573,7 +1573,7 @@ export declare const onOrderTransactionsUpdated: EventDefinition<DomainActionEve
|
|
|
1573
1573
|
* Retrieves information about payments and refunds associated with a specified order.
|
|
1574
1574
|
*
|
|
1575
1575
|
*
|
|
1576
|
-
* The `
|
|
1576
|
+
* The `listTransactionsForSingleOrder()` function returns a Promise that resolves when the specified order's transaction records are retrieved.
|
|
1577
1577
|
* @param orderId - Order ID.
|
|
1578
1578
|
* @public
|
|
1579
1579
|
* @documentationMaturity preview
|
|
@@ -1597,7 +1597,7 @@ export declare function listTransactionsForSingleOrder(orderId: string): Promise
|
|
|
1597
1597
|
* Retrieves information about payments and refunds associated with all specified orders.
|
|
1598
1598
|
*
|
|
1599
1599
|
*
|
|
1600
|
-
* The `
|
|
1600
|
+
* The `listTransactionsForMultipleOrders()` function returns a Promise that resolves when the specified orders' transaction records are retrieved.
|
|
1601
1601
|
* @param orderIds - Order IDs for which to retrieve transactions.
|
|
1602
1602
|
* @public
|
|
1603
1603
|
* @documentationMaturity preview
|
|
@@ -1645,7 +1645,7 @@ export declare function addPayments(orderId: string, payments: Payment[]): Promi
|
|
|
1645
1645
|
* Updates the status of an order's payment.
|
|
1646
1646
|
*
|
|
1647
1647
|
*
|
|
1648
|
-
* The `
|
|
1648
|
+
* The `updatePaymentStatus()` function returns a Promise that resolves when the payment status is updated.
|
|
1649
1649
|
* @public
|
|
1650
1650
|
* @documentationMaturity preview
|
|
1651
1651
|
* @requiredField identifiers
|
|
@@ -1674,7 +1674,7 @@ export interface UpdatePaymentStatusOptions {
|
|
|
1674
1674
|
* Updates multiple order payments with a specified status.
|
|
1675
1675
|
*
|
|
1676
1676
|
*
|
|
1677
|
-
* The `
|
|
1677
|
+
* The `bulkUpdatePaymentStatus()` function returns a Promise that resolves when the payment statuses are updated.
|
|
1678
1678
|
* @param paymentAndOrderIds - Order and payment IDs for which to update payment status.
|
|
1679
1679
|
* @public
|
|
1680
1680
|
* @documentationMaturity preview
|
|
@@ -244,7 +244,7 @@ export const onOrderTransactionsUpdated = EventDefinition('wix.ecom.v1.order_tra
|
|
|
244
244
|
* Retrieves information about payments and refunds associated with a specified order.
|
|
245
245
|
*
|
|
246
246
|
*
|
|
247
|
-
* The `
|
|
247
|
+
* The `listTransactionsForSingleOrder()` function returns a Promise that resolves when the specified order's transaction records are retrieved.
|
|
248
248
|
* @param orderId - Order ID.
|
|
249
249
|
* @public
|
|
250
250
|
* @documentationMaturity preview
|
|
@@ -311,7 +311,7 @@ export function listTransactionsForSingleOrder(orderId) {
|
|
|
311
311
|
* Retrieves information about payments and refunds associated with all specified orders.
|
|
312
312
|
*
|
|
313
313
|
*
|
|
314
|
-
* The `
|
|
314
|
+
* The `listTransactionsForMultipleOrders()` function returns a Promise that resolves when the specified orders' transaction records are retrieved.
|
|
315
315
|
* @param orderIds - Order IDs for which to retrieve transactions.
|
|
316
316
|
* @public
|
|
317
317
|
* @documentationMaturity preview
|
|
@@ -445,7 +445,7 @@ export function addPayments(orderId, payments) {
|
|
|
445
445
|
* Updates the status of an order's payment.
|
|
446
446
|
*
|
|
447
447
|
*
|
|
448
|
-
* The `
|
|
448
|
+
* The `updatePaymentStatus()` function returns a Promise that resolves when the payment status is updated.
|
|
449
449
|
* @public
|
|
450
450
|
* @documentationMaturity preview
|
|
451
451
|
* @requiredField identifiers
|
|
@@ -515,7 +515,7 @@ export function updatePaymentStatus(identifiers, options) {
|
|
|
515
515
|
* Updates multiple order payments with a specified status.
|
|
516
516
|
*
|
|
517
517
|
*
|
|
518
|
-
* The `
|
|
518
|
+
* The `bulkUpdatePaymentStatus()` function returns a Promise that resolves when the payment statuses are updated.
|
|
519
519
|
* @param paymentAndOrderIds - Order and payment IDs for which to update payment status.
|
|
520
520
|
* @public
|
|
521
521
|
* @documentationMaturity preview
|
|
@@ -242,9 +242,9 @@ export interface CatalogReference {
|
|
|
242
242
|
/**
|
|
243
243
|
* Additional item details in key:value pairs.
|
|
244
244
|
*
|
|
245
|
-
* Use this optional field to
|
|
246
|
-
*
|
|
247
|
-
*
|
|
245
|
+
* Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
|
|
246
|
+
*
|
|
247
|
+
* For products and variants from your Wix Stores catalog, learn more about [eCommerce integration](https://www.wix.com/velo/reference/wix-stores-backend/ecommerce-integration).
|
|
248
248
|
*/
|
|
249
249
|
options?: Record<string, any> | null;
|
|
250
250
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ecom",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.512",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
"falconPackageHash": "
|
|
38
|
+
"falconPackageHash": "6d314fb821b72e1e7642bccc19e7e42e6421e5823b4dbbfc55ecde4d"
|
|
39
39
|
}
|