@wix/ecom 1.0.736 → 1.0.737
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/package.json +3 -3
- package/type-bundles/context.bundle.d.ts +684 -658
- package/type-bundles/index.bundle.d.ts +684 -658
- package/type-bundles/meta.bundle.d.ts +165 -55
|
@@ -24920,6 +24920,65 @@ interface ExtendedFields$7 {
|
|
|
24920
24920
|
*/
|
|
24921
24921
|
namespaces?: Record<string, Record<string, any>>;
|
|
24922
24922
|
}
|
|
24923
|
+
/**
|
|
24924
|
+
* Common object for tags.
|
|
24925
|
+
* Should be use as in this example:
|
|
24926
|
+
* message Foo {
|
|
24927
|
+
* string id = 1;
|
|
24928
|
+
* ...
|
|
24929
|
+
* Tags tags = 5
|
|
24930
|
+
* }
|
|
24931
|
+
*
|
|
24932
|
+
* example of taggable entity
|
|
24933
|
+
* {
|
|
24934
|
+
* id: "123"
|
|
24935
|
+
* tags: {
|
|
24936
|
+
* tags: {
|
|
24937
|
+
* tag_ids:["11","22"]
|
|
24938
|
+
* },
|
|
24939
|
+
* private_tags: {
|
|
24940
|
+
* tag_ids: ["33", "44"]
|
|
24941
|
+
* }
|
|
24942
|
+
* }
|
|
24943
|
+
* }
|
|
24944
|
+
*/
|
|
24945
|
+
interface Tags$1 {
|
|
24946
|
+
/** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */
|
|
24947
|
+
privateTags?: TagList$1;
|
|
24948
|
+
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
24949
|
+
tags?: TagList$1;
|
|
24950
|
+
}
|
|
24951
|
+
interface TagList$1 {
|
|
24952
|
+
/** List of tag IDs */
|
|
24953
|
+
tagIds?: string[];
|
|
24954
|
+
}
|
|
24955
|
+
interface Sorting$9 {
|
|
24956
|
+
/** Name of the field to sort by. */
|
|
24957
|
+
fieldName?: string;
|
|
24958
|
+
/** Sort order. */
|
|
24959
|
+
order?: SortOrder$9;
|
|
24960
|
+
}
|
|
24961
|
+
declare enum SortOrder$9 {
|
|
24962
|
+
ASC = "ASC",
|
|
24963
|
+
DESC = "DESC"
|
|
24964
|
+
}
|
|
24965
|
+
interface CursorPaging$9 {
|
|
24966
|
+
/** Maximum number of items to return in the results. */
|
|
24967
|
+
limit?: number | null;
|
|
24968
|
+
/**
|
|
24969
|
+
* Pointer to the next or previous page in the list of results.
|
|
24970
|
+
*
|
|
24971
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
24972
|
+
* Not relevant for the first request.
|
|
24973
|
+
*/
|
|
24974
|
+
cursor?: string | null;
|
|
24975
|
+
}
|
|
24976
|
+
interface Cursors$9 {
|
|
24977
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
24978
|
+
next?: string | null;
|
|
24979
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
24980
|
+
prev?: string | null;
|
|
24981
|
+
}
|
|
24923
24982
|
interface OrderTransactions$3 {
|
|
24924
24983
|
/** Order ID. */
|
|
24925
24984
|
orderId?: string;
|
|
@@ -25173,33 +25232,6 @@ interface RefundItem$3 {
|
|
|
25173
25232
|
/** Line item quantity refunded. */
|
|
25174
25233
|
quantity?: number;
|
|
25175
25234
|
}
|
|
25176
|
-
interface Sorting$9 {
|
|
25177
|
-
/** Name of the field to sort by. */
|
|
25178
|
-
fieldName?: string;
|
|
25179
|
-
/** Sort order. */
|
|
25180
|
-
order?: SortOrder$9;
|
|
25181
|
-
}
|
|
25182
|
-
declare enum SortOrder$9 {
|
|
25183
|
-
ASC = "ASC",
|
|
25184
|
-
DESC = "DESC"
|
|
25185
|
-
}
|
|
25186
|
-
interface CursorPaging$9 {
|
|
25187
|
-
/** Maximum number of items to return in the results. */
|
|
25188
|
-
limit?: number | null;
|
|
25189
|
-
/**
|
|
25190
|
-
* Pointer to the next or previous page in the list of results.
|
|
25191
|
-
*
|
|
25192
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
25193
|
-
* Not relevant for the first request.
|
|
25194
|
-
*/
|
|
25195
|
-
cursor?: string | null;
|
|
25196
|
-
}
|
|
25197
|
-
interface Cursors$9 {
|
|
25198
|
-
/** Cursor string pointing to the next page in the list of results. */
|
|
25199
|
-
next?: string | null;
|
|
25200
|
-
/** Cursor pointing to the previous page in the list of results. */
|
|
25201
|
-
prev?: string | null;
|
|
25202
|
-
}
|
|
25203
25235
|
interface GetPaymentCollectabilityStatusRequest$1 {
|
|
25204
25236
|
/** Ecom order ID. */
|
|
25205
25237
|
ecomOrderId: string;
|
|
@@ -25398,6 +25430,21 @@ interface CancelOrderResponse$1 {
|
|
|
25398
25430
|
/** Canceled order. */
|
|
25399
25431
|
order?: Order$1;
|
|
25400
25432
|
}
|
|
25433
|
+
interface BulkUpdateOrderTagsRequest$1 {
|
|
25434
|
+
/** IDs of orders to update tags for. */
|
|
25435
|
+
orderIds: string[];
|
|
25436
|
+
/** Tags to be added to orders */
|
|
25437
|
+
assignTags?: Tags$1;
|
|
25438
|
+
/** Tags to be removed from orders */
|
|
25439
|
+
unassignTags?: Tags$1;
|
|
25440
|
+
}
|
|
25441
|
+
interface BulkUpdateOrderTagsResponse$1 {
|
|
25442
|
+
results?: BulkUpdateOrderTagsResult$1[];
|
|
25443
|
+
bulkActionMetadata?: BulkActionMetadata$3;
|
|
25444
|
+
}
|
|
25445
|
+
interface BulkUpdateOrderTagsResult$1 {
|
|
25446
|
+
itemMetadata?: ItemMetadata$3;
|
|
25447
|
+
}
|
|
25401
25448
|
interface PriceNonNullableFields$5 {
|
|
25402
25449
|
amount: string;
|
|
25403
25450
|
formattedAmount: string;
|
|
@@ -25957,6 +26004,13 @@ interface BulkUpdateOrdersResponseNonNullableFields$1 {
|
|
|
25957
26004
|
interface CancelOrderResponseNonNullableFields$1 {
|
|
25958
26005
|
order?: OrderNonNullableFields$1;
|
|
25959
26006
|
}
|
|
26007
|
+
interface BulkUpdateOrderTagsResultNonNullableFields$1 {
|
|
26008
|
+
itemMetadata?: ItemMetadataNonNullableFields$3;
|
|
26009
|
+
}
|
|
26010
|
+
interface BulkUpdateOrderTagsResponseNonNullableFields$1 {
|
|
26011
|
+
results: BulkUpdateOrderTagsResultNonNullableFields$1[];
|
|
26012
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields$3;
|
|
26013
|
+
}
|
|
25960
26014
|
|
|
25961
26015
|
interface Order {
|
|
25962
26016
|
/**
|
|
@@ -27037,6 +27091,65 @@ interface ExtendedFields$6 {
|
|
|
27037
27091
|
*/
|
|
27038
27092
|
namespaces?: Record<string, Record<string, any>>;
|
|
27039
27093
|
}
|
|
27094
|
+
/**
|
|
27095
|
+
* Common object for tags.
|
|
27096
|
+
* Should be use as in this example:
|
|
27097
|
+
* message Foo {
|
|
27098
|
+
* string id = 1;
|
|
27099
|
+
* ...
|
|
27100
|
+
* Tags tags = 5
|
|
27101
|
+
* }
|
|
27102
|
+
*
|
|
27103
|
+
* example of taggable entity
|
|
27104
|
+
* {
|
|
27105
|
+
* id: "123"
|
|
27106
|
+
* tags: {
|
|
27107
|
+
* tags: {
|
|
27108
|
+
* tag_ids:["11","22"]
|
|
27109
|
+
* },
|
|
27110
|
+
* private_tags: {
|
|
27111
|
+
* tag_ids: ["33", "44"]
|
|
27112
|
+
* }
|
|
27113
|
+
* }
|
|
27114
|
+
* }
|
|
27115
|
+
*/
|
|
27116
|
+
interface Tags {
|
|
27117
|
+
/** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */
|
|
27118
|
+
privateTags?: TagList;
|
|
27119
|
+
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
27120
|
+
tags?: TagList;
|
|
27121
|
+
}
|
|
27122
|
+
interface TagList {
|
|
27123
|
+
/** List of tag IDs */
|
|
27124
|
+
tagIds?: string[];
|
|
27125
|
+
}
|
|
27126
|
+
interface Sorting$8 {
|
|
27127
|
+
/** Name of the field to sort by. */
|
|
27128
|
+
fieldName?: string;
|
|
27129
|
+
/** Sort order. */
|
|
27130
|
+
order?: SortOrder$8;
|
|
27131
|
+
}
|
|
27132
|
+
declare enum SortOrder$8 {
|
|
27133
|
+
ASC = "ASC",
|
|
27134
|
+
DESC = "DESC"
|
|
27135
|
+
}
|
|
27136
|
+
interface CursorPaging$8 {
|
|
27137
|
+
/** Maximum number of items to return in the results. */
|
|
27138
|
+
limit?: number | null;
|
|
27139
|
+
/**
|
|
27140
|
+
* Pointer to the next or previous page in the list of results.
|
|
27141
|
+
*
|
|
27142
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
27143
|
+
* Not relevant for the first request.
|
|
27144
|
+
*/
|
|
27145
|
+
cursor?: string | null;
|
|
27146
|
+
}
|
|
27147
|
+
interface Cursors$8 {
|
|
27148
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
27149
|
+
next?: string | null;
|
|
27150
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
27151
|
+
prev?: string | null;
|
|
27152
|
+
}
|
|
27040
27153
|
interface OrderTransactions$2 {
|
|
27041
27154
|
/** Order ID. */
|
|
27042
27155
|
orderId?: string;
|
|
@@ -27290,33 +27403,6 @@ interface RefundItem$2 {
|
|
|
27290
27403
|
/** Line item quantity refunded. */
|
|
27291
27404
|
quantity?: number;
|
|
27292
27405
|
}
|
|
27293
|
-
interface Sorting$8 {
|
|
27294
|
-
/** Name of the field to sort by. */
|
|
27295
|
-
fieldName?: string;
|
|
27296
|
-
/** Sort order. */
|
|
27297
|
-
order?: SortOrder$8;
|
|
27298
|
-
}
|
|
27299
|
-
declare enum SortOrder$8 {
|
|
27300
|
-
ASC = "ASC",
|
|
27301
|
-
DESC = "DESC"
|
|
27302
|
-
}
|
|
27303
|
-
interface CursorPaging$8 {
|
|
27304
|
-
/** Maximum number of items to return in the results. */
|
|
27305
|
-
limit?: number | null;
|
|
27306
|
-
/**
|
|
27307
|
-
* Pointer to the next or previous page in the list of results.
|
|
27308
|
-
*
|
|
27309
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
27310
|
-
* Not relevant for the first request.
|
|
27311
|
-
*/
|
|
27312
|
-
cursor?: string | null;
|
|
27313
|
-
}
|
|
27314
|
-
interface Cursors$8 {
|
|
27315
|
-
/** Cursor string pointing to the next page in the list of results. */
|
|
27316
|
-
next?: string | null;
|
|
27317
|
-
/** Cursor pointing to the previous page in the list of results. */
|
|
27318
|
-
prev?: string | null;
|
|
27319
|
-
}
|
|
27320
27406
|
interface GetPaymentCollectabilityStatusRequest {
|
|
27321
27407
|
/** Ecom order ID. */
|
|
27322
27408
|
ecomOrderId: string;
|
|
@@ -27515,6 +27601,21 @@ interface CancelOrderResponse {
|
|
|
27515
27601
|
/** Canceled order. */
|
|
27516
27602
|
order?: Order;
|
|
27517
27603
|
}
|
|
27604
|
+
interface BulkUpdateOrderTagsRequest {
|
|
27605
|
+
/** IDs of orders to update tags for. */
|
|
27606
|
+
orderIds: string[];
|
|
27607
|
+
/** Tags to be added to orders */
|
|
27608
|
+
assignTags?: Tags;
|
|
27609
|
+
/** Tags to be removed from orders */
|
|
27610
|
+
unassignTags?: Tags;
|
|
27611
|
+
}
|
|
27612
|
+
interface BulkUpdateOrderTagsResponse {
|
|
27613
|
+
results?: BulkUpdateOrderTagsResult[];
|
|
27614
|
+
bulkActionMetadata?: BulkActionMetadata$2;
|
|
27615
|
+
}
|
|
27616
|
+
interface BulkUpdateOrderTagsResult {
|
|
27617
|
+
itemMetadata?: ItemMetadata$2;
|
|
27618
|
+
}
|
|
27518
27619
|
interface PriceNonNullableFields$4 {
|
|
27519
27620
|
amount: string;
|
|
27520
27621
|
formattedAmount: string;
|
|
@@ -28068,6 +28169,13 @@ interface BulkUpdateOrdersResponseNonNullableFields {
|
|
|
28068
28169
|
interface CancelOrderResponseNonNullableFields {
|
|
28069
28170
|
order?: OrderNonNullableFields;
|
|
28070
28171
|
}
|
|
28172
|
+
interface BulkUpdateOrderTagsResultNonNullableFields {
|
|
28173
|
+
itemMetadata?: ItemMetadataNonNullableFields$2;
|
|
28174
|
+
}
|
|
28175
|
+
interface BulkUpdateOrderTagsResponseNonNullableFields {
|
|
28176
|
+
results: BulkUpdateOrderTagsResultNonNullableFields[];
|
|
28177
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
|
|
28178
|
+
}
|
|
28071
28179
|
|
|
28072
28180
|
type __PublicMethodMetaInfo$8<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
28073
28181
|
getUrl: (context: any) => string;
|
|
@@ -28100,7 +28208,9 @@ declare function bulkUpdateOrders(): __PublicMethodMetaInfo$8<'POST', {}, BulkUp
|
|
|
28100
28208
|
declare function cancelOrder(): __PublicMethodMetaInfo$8<'POST', {
|
|
28101
28209
|
id: string;
|
|
28102
28210
|
}, CancelOrderRequest, CancelOrderRequest$1, CancelOrderResponse & CancelOrderResponseNonNullableFields, CancelOrderResponse$1 & CancelOrderResponseNonNullableFields$1>;
|
|
28211
|
+
declare function bulkUpdateOrderTags(): __PublicMethodMetaInfo$8<'POST', {}, BulkUpdateOrderTagsRequest, BulkUpdateOrderTagsRequest$1, BulkUpdateOrderTagsResponse & BulkUpdateOrderTagsResponseNonNullableFields, BulkUpdateOrderTagsResponse$1 & BulkUpdateOrderTagsResponseNonNullableFields$1>;
|
|
28103
28212
|
|
|
28213
|
+
declare const meta$8_bulkUpdateOrderTags: typeof bulkUpdateOrderTags;
|
|
28104
28214
|
declare const meta$8_bulkUpdateOrders: typeof bulkUpdateOrders;
|
|
28105
28215
|
declare const meta$8_cancelOrder: typeof cancelOrder;
|
|
28106
28216
|
declare const meta$8_captureAuthorizedPayments: typeof captureAuthorizedPayments;
|
|
@@ -28111,7 +28221,7 @@ declare const meta$8_searchOrders: typeof searchOrders;
|
|
|
28111
28221
|
declare const meta$8_updateOrder: typeof updateOrder;
|
|
28112
28222
|
declare const meta$8_voidAuthorizedPayments: typeof voidAuthorizedPayments;
|
|
28113
28223
|
declare namespace meta$8 {
|
|
28114
|
-
export { type __PublicMethodMetaInfo$8 as __PublicMethodMetaInfo, meta$8_bulkUpdateOrders as bulkUpdateOrders, meta$8_cancelOrder as cancelOrder, meta$8_captureAuthorizedPayments as captureAuthorizedPayments, 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, meta$8_voidAuthorizedPayments as voidAuthorizedPayments };
|
|
28224
|
+
export { type __PublicMethodMetaInfo$8 as __PublicMethodMetaInfo, meta$8_bulkUpdateOrderTags as bulkUpdateOrderTags, meta$8_bulkUpdateOrders as bulkUpdateOrders, meta$8_cancelOrder as cancelOrder, meta$8_captureAuthorizedPayments as captureAuthorizedPayments, 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, meta$8_voidAuthorizedPayments as voidAuthorizedPayments };
|
|
28115
28225
|
}
|
|
28116
28226
|
|
|
28117
28227
|
interface OrderPaymentRequest$1 {
|