@wix/ecom 1.0.735 → 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 +4 -4
- package/type-bundles/context.bundle.d.ts +636 -612
- package/type-bundles/index.bundle.d.ts +636 -612
- package/type-bundles/meta.bundle.d.ts +169 -79
|
@@ -19172,7 +19172,7 @@ interface Order$3 {
|
|
|
19172
19172
|
* @replacedBy tax_info
|
|
19173
19173
|
* @targetRemovalDate 2024-09-30
|
|
19174
19174
|
*/
|
|
19175
|
-
taxSummary?:
|
|
19175
|
+
taxSummary?: TaxSummary$3;
|
|
19176
19176
|
/** Tax information. */
|
|
19177
19177
|
taxInfo?: OrderTaxInfo$3;
|
|
19178
19178
|
/** Applied discounts. */
|
|
@@ -19252,13 +19252,6 @@ declare enum OrderStatus$3 {
|
|
|
19252
19252
|
APPROVED = "APPROVED",
|
|
19253
19253
|
CANCELED = "CANCELED"
|
|
19254
19254
|
}
|
|
19255
|
-
interface ApiTaxSummary$3 {
|
|
19256
|
-
/**
|
|
19257
|
-
* Total tax.
|
|
19258
|
-
* @readonly
|
|
19259
|
-
*/
|
|
19260
|
-
totalTax?: Price$7;
|
|
19261
|
-
}
|
|
19262
19255
|
interface Activity$3 extends ActivityContentOneOf$3 {
|
|
19263
19256
|
/** Custom activity details (optional). `activity.type` must be `CUSTOM_ACTIVITY`. */
|
|
19264
19257
|
customActivity?: CustomActivity$3;
|
|
@@ -19924,9 +19917,6 @@ interface GetOrderDraftabilityStatusResponseNonNullableFields$1 {
|
|
|
19924
19917
|
orderDraftable: boolean;
|
|
19925
19918
|
nonDraftableReasons: NonDraftableReason$1[];
|
|
19926
19919
|
}
|
|
19927
|
-
interface ApiTaxSummaryNonNullableFields$3 {
|
|
19928
|
-
totalTax?: PriceNonNullableFields$7;
|
|
19929
|
-
}
|
|
19930
19920
|
interface CustomActivityNonNullableFields$3 {
|
|
19931
19921
|
appId: string;
|
|
19932
19922
|
type: string;
|
|
@@ -20107,7 +20097,7 @@ interface OrderNonNullableFields$3 {
|
|
|
20107
20097
|
billingInfo?: AddressWithContactNonNullableFields$3;
|
|
20108
20098
|
shippingInfo?: V1ShippingInformationNonNullableFields$3;
|
|
20109
20099
|
status: OrderStatus$3;
|
|
20110
|
-
taxSummary?:
|
|
20100
|
+
taxSummary?: TaxSummaryNonNullableFields$3;
|
|
20111
20101
|
taxInfo?: OrderTaxInfoNonNullableFields$3;
|
|
20112
20102
|
appliedDiscounts: AppliedDiscountNonNullableFields$5[];
|
|
20113
20103
|
activities: ActivityNonNullableFields$3[];
|
|
@@ -21672,7 +21662,7 @@ interface Order$2 {
|
|
|
21672
21662
|
* @replacedBy tax_info
|
|
21673
21663
|
* @targetRemovalDate 2024-09-30
|
|
21674
21664
|
*/
|
|
21675
|
-
taxSummary?:
|
|
21665
|
+
taxSummary?: TaxSummary$2;
|
|
21676
21666
|
/** Tax information. */
|
|
21677
21667
|
taxInfo?: OrderTaxInfo$2;
|
|
21678
21668
|
/** Applied discounts. */
|
|
@@ -21752,13 +21742,6 @@ declare enum OrderStatus$2 {
|
|
|
21752
21742
|
APPROVED = "APPROVED",
|
|
21753
21743
|
CANCELED = "CANCELED"
|
|
21754
21744
|
}
|
|
21755
|
-
interface ApiTaxSummary$2 {
|
|
21756
|
-
/**
|
|
21757
|
-
* Total tax.
|
|
21758
|
-
* @readonly
|
|
21759
|
-
*/
|
|
21760
|
-
totalTax?: Price$6;
|
|
21761
|
-
}
|
|
21762
21745
|
interface Activity$2 extends ActivityContentOneOf$2 {
|
|
21763
21746
|
/** Custom activity details (optional). `activity.type` must be `CUSTOM_ACTIVITY`. */
|
|
21764
21747
|
customActivity?: CustomActivity$2;
|
|
@@ -22418,9 +22401,6 @@ interface GetOrderDraftabilityStatusResponseNonNullableFields {
|
|
|
22418
22401
|
orderDraftable: boolean;
|
|
22419
22402
|
nonDraftableReasons: NonDraftableReason[];
|
|
22420
22403
|
}
|
|
22421
|
-
interface ApiTaxSummaryNonNullableFields$2 {
|
|
22422
|
-
totalTax?: PriceNonNullableFields$6;
|
|
22423
|
-
}
|
|
22424
22404
|
interface CustomActivityNonNullableFields$2 {
|
|
22425
22405
|
appId: string;
|
|
22426
22406
|
type: string;
|
|
@@ -22601,7 +22581,7 @@ interface OrderNonNullableFields$2 {
|
|
|
22601
22581
|
billingInfo?: AddressWithContactNonNullableFields$2;
|
|
22602
22582
|
shippingInfo?: V1ShippingInformationNonNullableFields$2;
|
|
22603
22583
|
status: OrderStatus$2;
|
|
22604
|
-
taxSummary?:
|
|
22584
|
+
taxSummary?: TaxSummaryNonNullableFields$2;
|
|
22605
22585
|
taxInfo?: OrderTaxInfoNonNullableFields$2;
|
|
22606
22586
|
appliedDiscounts: AppliedDiscountNonNullableFields$4[];
|
|
22607
22587
|
activities: ActivityNonNullableFields$2[];
|
|
@@ -24940,6 +24920,65 @@ interface ExtendedFields$7 {
|
|
|
24940
24920
|
*/
|
|
24941
24921
|
namespaces?: Record<string, Record<string, any>>;
|
|
24942
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
|
+
}
|
|
24943
24982
|
interface OrderTransactions$3 {
|
|
24944
24983
|
/** Order ID. */
|
|
24945
24984
|
orderId?: string;
|
|
@@ -25193,33 +25232,6 @@ interface RefundItem$3 {
|
|
|
25193
25232
|
/** Line item quantity refunded. */
|
|
25194
25233
|
quantity?: number;
|
|
25195
25234
|
}
|
|
25196
|
-
interface Sorting$9 {
|
|
25197
|
-
/** Name of the field to sort by. */
|
|
25198
|
-
fieldName?: string;
|
|
25199
|
-
/** Sort order. */
|
|
25200
|
-
order?: SortOrder$9;
|
|
25201
|
-
}
|
|
25202
|
-
declare enum SortOrder$9 {
|
|
25203
|
-
ASC = "ASC",
|
|
25204
|
-
DESC = "DESC"
|
|
25205
|
-
}
|
|
25206
|
-
interface CursorPaging$9 {
|
|
25207
|
-
/** Maximum number of items to return in the results. */
|
|
25208
|
-
limit?: number | null;
|
|
25209
|
-
/**
|
|
25210
|
-
* Pointer to the next or previous page in the list of results.
|
|
25211
|
-
*
|
|
25212
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
25213
|
-
* Not relevant for the first request.
|
|
25214
|
-
*/
|
|
25215
|
-
cursor?: string | null;
|
|
25216
|
-
}
|
|
25217
|
-
interface Cursors$9 {
|
|
25218
|
-
/** Cursor string pointing to the next page in the list of results. */
|
|
25219
|
-
next?: string | null;
|
|
25220
|
-
/** Cursor pointing to the previous page in the list of results. */
|
|
25221
|
-
prev?: string | null;
|
|
25222
|
-
}
|
|
25223
25235
|
interface GetPaymentCollectabilityStatusRequest$1 {
|
|
25224
25236
|
/** Ecom order ID. */
|
|
25225
25237
|
ecomOrderId: string;
|
|
@@ -25418,6 +25430,21 @@ interface CancelOrderResponse$1 {
|
|
|
25418
25430
|
/** Canceled order. */
|
|
25419
25431
|
order?: Order$1;
|
|
25420
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
|
+
}
|
|
25421
25448
|
interface PriceNonNullableFields$5 {
|
|
25422
25449
|
amount: string;
|
|
25423
25450
|
formattedAmount: string;
|
|
@@ -25977,6 +26004,13 @@ interface BulkUpdateOrdersResponseNonNullableFields$1 {
|
|
|
25977
26004
|
interface CancelOrderResponseNonNullableFields$1 {
|
|
25978
26005
|
order?: OrderNonNullableFields$1;
|
|
25979
26006
|
}
|
|
26007
|
+
interface BulkUpdateOrderTagsResultNonNullableFields$1 {
|
|
26008
|
+
itemMetadata?: ItemMetadataNonNullableFields$3;
|
|
26009
|
+
}
|
|
26010
|
+
interface BulkUpdateOrderTagsResponseNonNullableFields$1 {
|
|
26011
|
+
results: BulkUpdateOrderTagsResultNonNullableFields$1[];
|
|
26012
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields$3;
|
|
26013
|
+
}
|
|
25980
26014
|
|
|
25981
26015
|
interface Order {
|
|
25982
26016
|
/**
|
|
@@ -27057,6 +27091,65 @@ interface ExtendedFields$6 {
|
|
|
27057
27091
|
*/
|
|
27058
27092
|
namespaces?: Record<string, Record<string, any>>;
|
|
27059
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
|
+
}
|
|
27060
27153
|
interface OrderTransactions$2 {
|
|
27061
27154
|
/** Order ID. */
|
|
27062
27155
|
orderId?: string;
|
|
@@ -27310,33 +27403,6 @@ interface RefundItem$2 {
|
|
|
27310
27403
|
/** Line item quantity refunded. */
|
|
27311
27404
|
quantity?: number;
|
|
27312
27405
|
}
|
|
27313
|
-
interface Sorting$8 {
|
|
27314
|
-
/** Name of the field to sort by. */
|
|
27315
|
-
fieldName?: string;
|
|
27316
|
-
/** Sort order. */
|
|
27317
|
-
order?: SortOrder$8;
|
|
27318
|
-
}
|
|
27319
|
-
declare enum SortOrder$8 {
|
|
27320
|
-
ASC = "ASC",
|
|
27321
|
-
DESC = "DESC"
|
|
27322
|
-
}
|
|
27323
|
-
interface CursorPaging$8 {
|
|
27324
|
-
/** Maximum number of items to return in the results. */
|
|
27325
|
-
limit?: number | null;
|
|
27326
|
-
/**
|
|
27327
|
-
* Pointer to the next or previous page in the list of results.
|
|
27328
|
-
*
|
|
27329
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
27330
|
-
* Not relevant for the first request.
|
|
27331
|
-
*/
|
|
27332
|
-
cursor?: string | null;
|
|
27333
|
-
}
|
|
27334
|
-
interface Cursors$8 {
|
|
27335
|
-
/** Cursor string pointing to the next page in the list of results. */
|
|
27336
|
-
next?: string | null;
|
|
27337
|
-
/** Cursor pointing to the previous page in the list of results. */
|
|
27338
|
-
prev?: string | null;
|
|
27339
|
-
}
|
|
27340
27406
|
interface GetPaymentCollectabilityStatusRequest {
|
|
27341
27407
|
/** Ecom order ID. */
|
|
27342
27408
|
ecomOrderId: string;
|
|
@@ -27535,6 +27601,21 @@ interface CancelOrderResponse {
|
|
|
27535
27601
|
/** Canceled order. */
|
|
27536
27602
|
order?: Order;
|
|
27537
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
|
+
}
|
|
27538
27619
|
interface PriceNonNullableFields$4 {
|
|
27539
27620
|
amount: string;
|
|
27540
27621
|
formattedAmount: string;
|
|
@@ -28088,6 +28169,13 @@ interface BulkUpdateOrdersResponseNonNullableFields {
|
|
|
28088
28169
|
interface CancelOrderResponseNonNullableFields {
|
|
28089
28170
|
order?: OrderNonNullableFields;
|
|
28090
28171
|
}
|
|
28172
|
+
interface BulkUpdateOrderTagsResultNonNullableFields {
|
|
28173
|
+
itemMetadata?: ItemMetadataNonNullableFields$2;
|
|
28174
|
+
}
|
|
28175
|
+
interface BulkUpdateOrderTagsResponseNonNullableFields {
|
|
28176
|
+
results: BulkUpdateOrderTagsResultNonNullableFields[];
|
|
28177
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
|
|
28178
|
+
}
|
|
28091
28179
|
|
|
28092
28180
|
type __PublicMethodMetaInfo$8<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
28093
28181
|
getUrl: (context: any) => string;
|
|
@@ -28120,7 +28208,9 @@ declare function bulkUpdateOrders(): __PublicMethodMetaInfo$8<'POST', {}, BulkUp
|
|
|
28120
28208
|
declare function cancelOrder(): __PublicMethodMetaInfo$8<'POST', {
|
|
28121
28209
|
id: string;
|
|
28122
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>;
|
|
28123
28212
|
|
|
28213
|
+
declare const meta$8_bulkUpdateOrderTags: typeof bulkUpdateOrderTags;
|
|
28124
28214
|
declare const meta$8_bulkUpdateOrders: typeof bulkUpdateOrders;
|
|
28125
28215
|
declare const meta$8_cancelOrder: typeof cancelOrder;
|
|
28126
28216
|
declare const meta$8_captureAuthorizedPayments: typeof captureAuthorizedPayments;
|
|
@@ -28131,7 +28221,7 @@ declare const meta$8_searchOrders: typeof searchOrders;
|
|
|
28131
28221
|
declare const meta$8_updateOrder: typeof updateOrder;
|
|
28132
28222
|
declare const meta$8_voidAuthorizedPayments: typeof voidAuthorizedPayments;
|
|
28133
28223
|
declare namespace meta$8 {
|
|
28134
|
-
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 };
|
|
28135
28225
|
}
|
|
28136
28226
|
|
|
28137
28227
|
interface OrderPaymentRequest$1 {
|