@wix/ecom 1.0.657 → 1.0.659
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/context.d.ts +1 -0
- package/build/cjs/context.js +2 -1
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +2 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +1 -0
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +1 -0
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +1 -0
- package/build/es/meta.js.map +1 -1
- package/package.json +6 -5
- package/type-bundles/index.bundle.d.ts +2729 -1886
- package/type-bundles/meta.bundle.d.ts +1330 -407
|
@@ -303,26 +303,26 @@ interface PlatformQuery$3 extends PlatformQueryPagingMethodOneOf$3 {
|
|
|
303
303
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
304
304
|
paging?: PlatformPaging$3;
|
|
305
305
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
306
|
-
cursorPaging?: CursorPaging$
|
|
306
|
+
cursorPaging?: CursorPaging$b;
|
|
307
307
|
/** Filter object. */
|
|
308
308
|
filter?: Record<string, any> | null;
|
|
309
309
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
310
|
-
sort?: Sorting$
|
|
310
|
+
sort?: Sorting$b[];
|
|
311
311
|
}
|
|
312
312
|
/** @oneof */
|
|
313
313
|
interface PlatformQueryPagingMethodOneOf$3 {
|
|
314
314
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
315
315
|
paging?: PlatformPaging$3;
|
|
316
316
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
317
|
-
cursorPaging?: CursorPaging$
|
|
317
|
+
cursorPaging?: CursorPaging$b;
|
|
318
318
|
}
|
|
319
|
-
interface Sorting$
|
|
319
|
+
interface Sorting$b {
|
|
320
320
|
/** Name of the field to sort by. */
|
|
321
321
|
fieldName?: string;
|
|
322
322
|
/** Sort order. */
|
|
323
|
-
order?: SortOrder$
|
|
323
|
+
order?: SortOrder$b;
|
|
324
324
|
}
|
|
325
|
-
declare enum SortOrder$
|
|
325
|
+
declare enum SortOrder$b {
|
|
326
326
|
ASC = "ASC",
|
|
327
327
|
DESC = "DESC"
|
|
328
328
|
}
|
|
@@ -332,7 +332,7 @@ interface PlatformPaging$3 {
|
|
|
332
332
|
/** Number of items to skip in the current sort order. */
|
|
333
333
|
offset?: number | null;
|
|
334
334
|
}
|
|
335
|
-
interface CursorPaging$
|
|
335
|
+
interface CursorPaging$b {
|
|
336
336
|
/** Maximum number of items to return in the results. */
|
|
337
337
|
limit?: number | null;
|
|
338
338
|
/**
|
|
@@ -357,9 +357,9 @@ interface PlatformPagingMetadata$3 {
|
|
|
357
357
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
358
358
|
total?: number | null;
|
|
359
359
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
360
|
-
cursors?: Cursors$
|
|
360
|
+
cursors?: Cursors$b;
|
|
361
361
|
}
|
|
362
|
-
interface Cursors$
|
|
362
|
+
interface Cursors$b {
|
|
363
363
|
/** Cursor string pointing to the next page in the list of results. */
|
|
364
364
|
next?: string | null;
|
|
365
365
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -1063,26 +1063,26 @@ interface PlatformQuery$2 extends PlatformQueryPagingMethodOneOf$2 {
|
|
|
1063
1063
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
1064
1064
|
paging?: PlatformPaging$2;
|
|
1065
1065
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
1066
|
-
cursorPaging?: CursorPaging$
|
|
1066
|
+
cursorPaging?: CursorPaging$a;
|
|
1067
1067
|
/** Filter object. */
|
|
1068
1068
|
filter?: Record<string, any> | null;
|
|
1069
1069
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
1070
|
-
sort?: Sorting$
|
|
1070
|
+
sort?: Sorting$a[];
|
|
1071
1071
|
}
|
|
1072
1072
|
/** @oneof */
|
|
1073
1073
|
interface PlatformQueryPagingMethodOneOf$2 {
|
|
1074
1074
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
1075
1075
|
paging?: PlatformPaging$2;
|
|
1076
1076
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
1077
|
-
cursorPaging?: CursorPaging$
|
|
1077
|
+
cursorPaging?: CursorPaging$a;
|
|
1078
1078
|
}
|
|
1079
|
-
interface Sorting$
|
|
1079
|
+
interface Sorting$a {
|
|
1080
1080
|
/** Name of the field to sort by. */
|
|
1081
1081
|
fieldName?: string;
|
|
1082
1082
|
/** Sort order. */
|
|
1083
|
-
order?: SortOrder$
|
|
1083
|
+
order?: SortOrder$a;
|
|
1084
1084
|
}
|
|
1085
|
-
declare enum SortOrder$
|
|
1085
|
+
declare enum SortOrder$a {
|
|
1086
1086
|
ASC = "ASC",
|
|
1087
1087
|
DESC = "DESC"
|
|
1088
1088
|
}
|
|
@@ -1092,7 +1092,7 @@ interface PlatformPaging$2 {
|
|
|
1092
1092
|
/** Number of items to skip in the current sort order. */
|
|
1093
1093
|
offset?: number | null;
|
|
1094
1094
|
}
|
|
1095
|
-
interface CursorPaging$
|
|
1095
|
+
interface CursorPaging$a {
|
|
1096
1096
|
/** Maximum number of items to return in the results. */
|
|
1097
1097
|
limit?: number | null;
|
|
1098
1098
|
/**
|
|
@@ -1117,9 +1117,9 @@ interface PlatformPagingMetadata$2 {
|
|
|
1117
1117
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
1118
1118
|
total?: number | null;
|
|
1119
1119
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
1120
|
-
cursors?: Cursors$
|
|
1120
|
+
cursors?: Cursors$a;
|
|
1121
1121
|
}
|
|
1122
|
-
interface Cursors$
|
|
1122
|
+
interface Cursors$a {
|
|
1123
1123
|
/** Cursor string pointing to the next page in the list of results. */
|
|
1124
1124
|
next?: string | null;
|
|
1125
1125
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -1394,7 +1394,7 @@ interface QueryDiscountRulesResponseNonNullableFields {
|
|
|
1394
1394
|
}[];
|
|
1395
1395
|
}
|
|
1396
1396
|
|
|
1397
|
-
type __PublicMethodMetaInfo$
|
|
1397
|
+
type __PublicMethodMetaInfo$h<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1398
1398
|
getUrl: (context: any) => string;
|
|
1399
1399
|
httpMethod: K;
|
|
1400
1400
|
path: string;
|
|
@@ -1404,25 +1404,25 @@ type __PublicMethodMetaInfo$g<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
1404
1404
|
__responseType: Q;
|
|
1405
1405
|
__originalResponseType: R;
|
|
1406
1406
|
};
|
|
1407
|
-
declare function createDiscountRule(): __PublicMethodMetaInfo$
|
|
1408
|
-
declare function getDiscountRule(): __PublicMethodMetaInfo$
|
|
1407
|
+
declare function createDiscountRule(): __PublicMethodMetaInfo$h<'POST', {}, CreateDiscountRuleRequest, CreateDiscountRuleRequest$1, CreateDiscountRuleResponse & CreateDiscountRuleResponseNonNullableFields, CreateDiscountRuleResponse$1 & CreateDiscountRuleResponseNonNullableFields$1>;
|
|
1408
|
+
declare function getDiscountRule(): __PublicMethodMetaInfo$h<'GET', {
|
|
1409
1409
|
discountRuleId: string;
|
|
1410
1410
|
}, GetDiscountRuleRequest, GetDiscountRuleRequest$1, GetDiscountRuleResponse & GetDiscountRuleResponseNonNullableFields, GetDiscountRuleResponse$1 & GetDiscountRuleResponseNonNullableFields$1>;
|
|
1411
|
-
declare function updateDiscountRule(): __PublicMethodMetaInfo$
|
|
1411
|
+
declare function updateDiscountRule(): __PublicMethodMetaInfo$h<'PATCH', {
|
|
1412
1412
|
discountRuleId: string;
|
|
1413
1413
|
}, UpdateDiscountRuleRequest, UpdateDiscountRuleRequest$1, UpdateDiscountRuleResponse & UpdateDiscountRuleResponseNonNullableFields, UpdateDiscountRuleResponse$1 & UpdateDiscountRuleResponseNonNullableFields$1>;
|
|
1414
|
-
declare function deleteDiscountRule(): __PublicMethodMetaInfo$
|
|
1414
|
+
declare function deleteDiscountRule(): __PublicMethodMetaInfo$h<'DELETE', {
|
|
1415
1415
|
discountRuleId: string;
|
|
1416
1416
|
}, DeleteDiscountRuleRequest, DeleteDiscountRuleRequest$1, DeleteDiscountRuleResponse, DeleteDiscountRuleResponse$1>;
|
|
1417
|
-
declare function queryDiscountRules(): __PublicMethodMetaInfo$
|
|
1417
|
+
declare function queryDiscountRules(): __PublicMethodMetaInfo$h<'POST', {}, QueryDiscountRulesRequest, QueryDiscountRulesRequest$1, QueryDiscountRulesResponse & QueryDiscountRulesResponseNonNullableFields, QueryDiscountRulesResponse$1 & QueryDiscountRulesResponseNonNullableFields$1>;
|
|
1418
1418
|
|
|
1419
|
-
declare const meta$
|
|
1420
|
-
declare const meta$
|
|
1421
|
-
declare const meta$
|
|
1422
|
-
declare const meta$
|
|
1423
|
-
declare const meta$
|
|
1424
|
-
declare namespace meta$
|
|
1425
|
-
export { type __PublicMethodMetaInfo$
|
|
1419
|
+
declare const meta$h_createDiscountRule: typeof createDiscountRule;
|
|
1420
|
+
declare const meta$h_deleteDiscountRule: typeof deleteDiscountRule;
|
|
1421
|
+
declare const meta$h_getDiscountRule: typeof getDiscountRule;
|
|
1422
|
+
declare const meta$h_queryDiscountRules: typeof queryDiscountRules;
|
|
1423
|
+
declare const meta$h_updateDiscountRule: typeof updateDiscountRule;
|
|
1424
|
+
declare namespace meta$h {
|
|
1425
|
+
export { type __PublicMethodMetaInfo$h as __PublicMethodMetaInfo, meta$h_createDiscountRule as createDiscountRule, meta$h_deleteDiscountRule as deleteDiscountRule, meta$h_getDiscountRule as getDiscountRule, meta$h_queryDiscountRules as queryDiscountRules, meta$h_updateDiscountRule as updateDiscountRule };
|
|
1426
1426
|
}
|
|
1427
1427
|
|
|
1428
1428
|
interface Invoice$1 {
|
|
@@ -1489,7 +1489,7 @@ interface ListInvoicesForMultipleOrdersResponseNonNullableFields {
|
|
|
1489
1489
|
}[];
|
|
1490
1490
|
}
|
|
1491
1491
|
|
|
1492
|
-
type __PublicMethodMetaInfo$
|
|
1492
|
+
type __PublicMethodMetaInfo$g<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1493
1493
|
getUrl: (context: any) => string;
|
|
1494
1494
|
httpMethod: K;
|
|
1495
1495
|
path: string;
|
|
@@ -1499,11 +1499,11 @@ type __PublicMethodMetaInfo$f<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
1499
1499
|
__responseType: Q;
|
|
1500
1500
|
__originalResponseType: R;
|
|
1501
1501
|
};
|
|
1502
|
-
declare function listInvoicesForMultipleOrders(): __PublicMethodMetaInfo$
|
|
1502
|
+
declare function listInvoicesForMultipleOrders(): __PublicMethodMetaInfo$g<'POST', {}, ListInvoicesForMultipleOrdersRequest, ListInvoicesForMultipleOrdersRequest$1, ListInvoicesForMultipleOrdersResponse & ListInvoicesForMultipleOrdersResponseNonNullableFields, ListInvoicesForMultipleOrdersResponse$1 & ListInvoicesForMultipleOrdersResponseNonNullableFields$1>;
|
|
1503
1503
|
|
|
1504
|
-
declare const meta$
|
|
1505
|
-
declare namespace meta$
|
|
1506
|
-
export { type __PublicMethodMetaInfo$
|
|
1504
|
+
declare const meta$g_listInvoicesForMultipleOrders: typeof listInvoicesForMultipleOrders;
|
|
1505
|
+
declare namespace meta$g {
|
|
1506
|
+
export { type __PublicMethodMetaInfo$g as __PublicMethodMetaInfo, meta$g_listInvoicesForMultipleOrders as listInvoicesForMultipleOrders };
|
|
1507
1507
|
}
|
|
1508
1508
|
|
|
1509
1509
|
interface Recommendation$1 {
|
|
@@ -1760,7 +1760,7 @@ interface GetRecommendationResponseNonNullableFields {
|
|
|
1760
1760
|
};
|
|
1761
1761
|
}
|
|
1762
1762
|
|
|
1763
|
-
type __PublicMethodMetaInfo$
|
|
1763
|
+
type __PublicMethodMetaInfo$f<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1764
1764
|
getUrl: (context: any) => string;
|
|
1765
1765
|
httpMethod: K;
|
|
1766
1766
|
path: string;
|
|
@@ -1770,13 +1770,13 @@ type __PublicMethodMetaInfo$e<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
1770
1770
|
__responseType: Q;
|
|
1771
1771
|
__originalResponseType: R;
|
|
1772
1772
|
};
|
|
1773
|
-
declare function listAvailableAlgorithms(): __PublicMethodMetaInfo$
|
|
1774
|
-
declare function getRecommendation(): __PublicMethodMetaInfo$
|
|
1773
|
+
declare function listAvailableAlgorithms(): __PublicMethodMetaInfo$f<'GET', {}, ListAvailableAlgorithmsRequest, ListAvailableAlgorithmsRequest$1, ListAvailableAlgorithmsResponse & ListAvailableAlgorithmsResponseNonNullableFields, ListAvailableAlgorithmsResponse$1 & ListAvailableAlgorithmsResponseNonNullableFields$1>;
|
|
1774
|
+
declare function getRecommendation(): __PublicMethodMetaInfo$f<'POST', {}, GetRecommendationRequest, GetRecommendationRequest$1, GetRecommendationResponse & GetRecommendationResponseNonNullableFields, GetRecommendationResponse$1 & GetRecommendationResponseNonNullableFields$1>;
|
|
1775
1775
|
|
|
1776
|
-
declare const meta$
|
|
1777
|
-
declare const meta$
|
|
1778
|
-
declare namespace meta$
|
|
1779
|
-
export { type __PublicMethodMetaInfo$
|
|
1776
|
+
declare const meta$f_getRecommendation: typeof getRecommendation;
|
|
1777
|
+
declare const meta$f_listAvailableAlgorithms: typeof listAvailableAlgorithms;
|
|
1778
|
+
declare namespace meta$f {
|
|
1779
|
+
export { type __PublicMethodMetaInfo$f as __PublicMethodMetaInfo, meta$f_getRecommendation as getRecommendation, meta$f_listAvailableAlgorithms as listAvailableAlgorithms };
|
|
1780
1780
|
}
|
|
1781
1781
|
|
|
1782
1782
|
interface AbandonedCheckout$1 {
|
|
@@ -2153,7 +2153,7 @@ interface GetAbandonedCheckoutResponseNonNullableFields {
|
|
|
2153
2153
|
};
|
|
2154
2154
|
}
|
|
2155
2155
|
|
|
2156
|
-
type __PublicMethodMetaInfo$
|
|
2156
|
+
type __PublicMethodMetaInfo$e<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2157
2157
|
getUrl: (context: any) => string;
|
|
2158
2158
|
httpMethod: K;
|
|
2159
2159
|
path: string;
|
|
@@ -2163,13 +2163,13 @@ type __PublicMethodMetaInfo$d<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
2163
2163
|
__responseType: Q;
|
|
2164
2164
|
__originalResponseType: R;
|
|
2165
2165
|
};
|
|
2166
|
-
declare function getAbandonedCheckout(): __PublicMethodMetaInfo$
|
|
2166
|
+
declare function getAbandonedCheckout(): __PublicMethodMetaInfo$e<'GET', {
|
|
2167
2167
|
abandonedCheckoutId: string;
|
|
2168
2168
|
}, GetAbandonedCheckoutRequest, GetAbandonedCheckoutRequest$1, GetAbandonedCheckoutResponse & GetAbandonedCheckoutResponseNonNullableFields, GetAbandonedCheckoutResponse$1 & GetAbandonedCheckoutResponseNonNullableFields$1>;
|
|
2169
2169
|
|
|
2170
|
-
declare const meta$
|
|
2171
|
-
declare namespace meta$
|
|
2172
|
-
export { type __PublicMethodMetaInfo$
|
|
2170
|
+
declare const meta$e_getAbandonedCheckout: typeof getAbandonedCheckout;
|
|
2171
|
+
declare namespace meta$e {
|
|
2172
|
+
export { type __PublicMethodMetaInfo$e as __PublicMethodMetaInfo, meta$e_getAbandonedCheckout as getAbandonedCheckout };
|
|
2173
2173
|
}
|
|
2174
2174
|
|
|
2175
2175
|
/**
|
|
@@ -2335,26 +2335,26 @@ interface PlatformQuery$1 extends PlatformQueryPagingMethodOneOf$1 {
|
|
|
2335
2335
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
2336
2336
|
paging?: PlatformPaging$1;
|
|
2337
2337
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
2338
|
-
cursorPaging?: CursorPaging$
|
|
2338
|
+
cursorPaging?: CursorPaging$9;
|
|
2339
2339
|
/** Filter object. */
|
|
2340
2340
|
filter?: Record<string, any> | null;
|
|
2341
2341
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
2342
|
-
sort?: Sorting$
|
|
2342
|
+
sort?: Sorting$9[];
|
|
2343
2343
|
}
|
|
2344
2344
|
/** @oneof */
|
|
2345
2345
|
interface PlatformQueryPagingMethodOneOf$1 {
|
|
2346
2346
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
2347
2347
|
paging?: PlatformPaging$1;
|
|
2348
2348
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
2349
|
-
cursorPaging?: CursorPaging$
|
|
2349
|
+
cursorPaging?: CursorPaging$9;
|
|
2350
2350
|
}
|
|
2351
|
-
interface Sorting$
|
|
2351
|
+
interface Sorting$9 {
|
|
2352
2352
|
/** Name of the field to sort by. */
|
|
2353
2353
|
fieldName?: string;
|
|
2354
2354
|
/** Sort order. */
|
|
2355
|
-
order?: SortOrder$
|
|
2355
|
+
order?: SortOrder$9;
|
|
2356
2356
|
}
|
|
2357
|
-
declare enum SortOrder$
|
|
2357
|
+
declare enum SortOrder$9 {
|
|
2358
2358
|
ASC = "ASC",
|
|
2359
2359
|
DESC = "DESC"
|
|
2360
2360
|
}
|
|
@@ -2364,7 +2364,7 @@ interface PlatformPaging$1 {
|
|
|
2364
2364
|
/** Number of items to skip in the current sort order. */
|
|
2365
2365
|
offset?: number | null;
|
|
2366
2366
|
}
|
|
2367
|
-
interface CursorPaging$
|
|
2367
|
+
interface CursorPaging$9 {
|
|
2368
2368
|
/** Maximum number of items to return in the results. */
|
|
2369
2369
|
limit?: number | null;
|
|
2370
2370
|
/**
|
|
@@ -2389,9 +2389,9 @@ interface PlatformPagingMetadata$1 {
|
|
|
2389
2389
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
2390
2390
|
total?: number | null;
|
|
2391
2391
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
2392
|
-
cursors?: Cursors$
|
|
2392
|
+
cursors?: Cursors$9;
|
|
2393
2393
|
}
|
|
2394
|
-
interface Cursors$
|
|
2394
|
+
interface Cursors$9 {
|
|
2395
2395
|
/** Cursor string pointing to the next page in the list of results. */
|
|
2396
2396
|
next?: string | null;
|
|
2397
2397
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -2631,26 +2631,26 @@ interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
|
|
2631
2631
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
2632
2632
|
paging?: PlatformPaging;
|
|
2633
2633
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
2634
|
-
cursorPaging?: CursorPaging$
|
|
2634
|
+
cursorPaging?: CursorPaging$8;
|
|
2635
2635
|
/** Filter object. */
|
|
2636
2636
|
filter?: Record<string, any> | null;
|
|
2637
2637
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
2638
|
-
sort?: Sorting$
|
|
2638
|
+
sort?: Sorting$8[];
|
|
2639
2639
|
}
|
|
2640
2640
|
/** @oneof */
|
|
2641
2641
|
interface PlatformQueryPagingMethodOneOf {
|
|
2642
2642
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
2643
2643
|
paging?: PlatformPaging;
|
|
2644
2644
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
2645
|
-
cursorPaging?: CursorPaging$
|
|
2645
|
+
cursorPaging?: CursorPaging$8;
|
|
2646
2646
|
}
|
|
2647
|
-
interface Sorting$
|
|
2647
|
+
interface Sorting$8 {
|
|
2648
2648
|
/** Name of the field to sort by. */
|
|
2649
2649
|
fieldName?: string;
|
|
2650
2650
|
/** Sort order. */
|
|
2651
|
-
order?: SortOrder$
|
|
2651
|
+
order?: SortOrder$8;
|
|
2652
2652
|
}
|
|
2653
|
-
declare enum SortOrder$
|
|
2653
|
+
declare enum SortOrder$8 {
|
|
2654
2654
|
ASC = "ASC",
|
|
2655
2655
|
DESC = "DESC"
|
|
2656
2656
|
}
|
|
@@ -2660,7 +2660,7 @@ interface PlatformPaging {
|
|
|
2660
2660
|
/** Number of items to skip in the current sort order. */
|
|
2661
2661
|
offset?: number | null;
|
|
2662
2662
|
}
|
|
2663
|
-
interface CursorPaging$
|
|
2663
|
+
interface CursorPaging$8 {
|
|
2664
2664
|
/** Maximum number of items to return in the results. */
|
|
2665
2665
|
limit?: number | null;
|
|
2666
2666
|
/**
|
|
@@ -2685,9 +2685,9 @@ interface PlatformPagingMetadata {
|
|
|
2685
2685
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
2686
2686
|
total?: number | null;
|
|
2687
2687
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
2688
|
-
cursors?: Cursors$
|
|
2688
|
+
cursors?: Cursors$8;
|
|
2689
2689
|
}
|
|
2690
|
-
interface Cursors$
|
|
2690
|
+
interface Cursors$8 {
|
|
2691
2691
|
/** Cursor string pointing to the next page in the list of results. */
|
|
2692
2692
|
next?: string | null;
|
|
2693
2693
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -2791,7 +2791,7 @@ interface GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonN
|
|
|
2791
2791
|
}[];
|
|
2792
2792
|
}
|
|
2793
2793
|
|
|
2794
|
-
type __PublicMethodMetaInfo$
|
|
2794
|
+
type __PublicMethodMetaInfo$d<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2795
2795
|
getUrl: (context: any) => string;
|
|
2796
2796
|
httpMethod: K;
|
|
2797
2797
|
path: string;
|
|
@@ -2801,29 +2801,29 @@ type __PublicMethodMetaInfo$c<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
2801
2801
|
__responseType: Q;
|
|
2802
2802
|
__originalResponseType: R;
|
|
2803
2803
|
};
|
|
2804
|
-
declare function createBackInStockNotificationRequest(): __PublicMethodMetaInfo$
|
|
2805
|
-
declare function getBackInStockNotificationRequest(): __PublicMethodMetaInfo$
|
|
2804
|
+
declare function createBackInStockNotificationRequest(): __PublicMethodMetaInfo$d<'POST', {}, CreateBackInStockNotificationRequestRequest, CreateBackInStockNotificationRequestRequest$1, CreateBackInStockNotificationRequestResponse & CreateBackInStockNotificationRequestResponseNonNullableFields, CreateBackInStockNotificationRequestResponse$1 & CreateBackInStockNotificationRequestResponseNonNullableFields$1>;
|
|
2805
|
+
declare function getBackInStockNotificationRequest(): __PublicMethodMetaInfo$d<'GET', {
|
|
2806
2806
|
id: string;
|
|
2807
2807
|
}, GetBackInStockNotificationRequestRequest, GetBackInStockNotificationRequestRequest$1, GetBackInStockNotificationRequestResponse & GetBackInStockNotificationRequestResponseNonNullableFields, GetBackInStockNotificationRequestResponse$1 & GetBackInStockNotificationRequestResponseNonNullableFields$1>;
|
|
2808
|
-
declare function deleteBackInStockNotificationRequest(): __PublicMethodMetaInfo$
|
|
2808
|
+
declare function deleteBackInStockNotificationRequest(): __PublicMethodMetaInfo$d<'DELETE', {
|
|
2809
2809
|
id: string;
|
|
2810
2810
|
}, DeleteBackInStockNotificationRequestRequest, DeleteBackInStockNotificationRequestRequest$1, DeleteBackInStockNotificationRequestResponse, DeleteBackInStockNotificationRequestResponse$1>;
|
|
2811
|
-
declare function markAsNotificationSent(): __PublicMethodMetaInfo$
|
|
2811
|
+
declare function markAsNotificationSent(): __PublicMethodMetaInfo$d<'PUT', {
|
|
2812
2812
|
id: string;
|
|
2813
2813
|
}, MarkAsNotificationSentRequest, MarkAsNotificationSentRequest$1, MarkAsNotificationSentResponse & MarkAsNotificationSentResponseNonNullableFields, MarkAsNotificationSentResponse$1 & MarkAsNotificationSentResponseNonNullableFields$1>;
|
|
2814
|
-
declare function queryBackInStockNotificationRequests(): __PublicMethodMetaInfo$
|
|
2815
|
-
declare function getBackInStockNotificationRequestsCountByCatalogReferences(): __PublicMethodMetaInfo$
|
|
2816
|
-
declare function reportItemsBackInStock(): __PublicMethodMetaInfo$
|
|
2814
|
+
declare function queryBackInStockNotificationRequests(): __PublicMethodMetaInfo$d<'GET', {}, QueryBackInStockNotificationRequestsRequest, QueryBackInStockNotificationRequestsRequest$1, QueryBackInStockNotificationRequestsResponse & QueryBackInStockNotificationRequestsResponseNonNullableFields, QueryBackInStockNotificationRequestsResponse$1 & QueryBackInStockNotificationRequestsResponseNonNullableFields$1>;
|
|
2815
|
+
declare function getBackInStockNotificationRequestsCountByCatalogReferences(): __PublicMethodMetaInfo$d<'GET', {}, GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, GetBackInStockNotificationRequestsCountByCatalogReferencesRequest$1, GetBackInStockNotificationRequestsCountByCatalogReferencesResponse & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, GetBackInStockNotificationRequestsCountByCatalogReferencesResponse$1 & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields$1>;
|
|
2816
|
+
declare function reportItemsBackInStock(): __PublicMethodMetaInfo$d<'POST', {}, ReportItemsBackInStockRequest, ReportItemsBackInStockRequest$1, ReportItemsBackInStockResponse, ReportItemsBackInStockResponse$1>;
|
|
2817
2817
|
|
|
2818
|
-
declare const meta$
|
|
2819
|
-
declare const meta$
|
|
2820
|
-
declare const meta$
|
|
2821
|
-
declare const meta$
|
|
2822
|
-
declare const meta$
|
|
2823
|
-
declare const meta$
|
|
2824
|
-
declare const meta$
|
|
2825
|
-
declare namespace meta$
|
|
2826
|
-
export { type __PublicMethodMetaInfo$
|
|
2818
|
+
declare const meta$d_createBackInStockNotificationRequest: typeof createBackInStockNotificationRequest;
|
|
2819
|
+
declare const meta$d_deleteBackInStockNotificationRequest: typeof deleteBackInStockNotificationRequest;
|
|
2820
|
+
declare const meta$d_getBackInStockNotificationRequest: typeof getBackInStockNotificationRequest;
|
|
2821
|
+
declare const meta$d_getBackInStockNotificationRequestsCountByCatalogReferences: typeof getBackInStockNotificationRequestsCountByCatalogReferences;
|
|
2822
|
+
declare const meta$d_markAsNotificationSent: typeof markAsNotificationSent;
|
|
2823
|
+
declare const meta$d_queryBackInStockNotificationRequests: typeof queryBackInStockNotificationRequests;
|
|
2824
|
+
declare const meta$d_reportItemsBackInStock: typeof reportItemsBackInStock;
|
|
2825
|
+
declare namespace meta$d {
|
|
2826
|
+
export { type __PublicMethodMetaInfo$d as __PublicMethodMetaInfo, meta$d_createBackInStockNotificationRequest as createBackInStockNotificationRequest, meta$d_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, meta$d_getBackInStockNotificationRequest as getBackInStockNotificationRequest, meta$d_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, meta$d_markAsNotificationSent as markAsNotificationSent, meta$d_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, meta$d_reportItemsBackInStock as reportItemsBackInStock };
|
|
2827
2827
|
}
|
|
2828
2828
|
|
|
2829
2829
|
/**
|
|
@@ -2954,7 +2954,7 @@ interface GetSettingsResponseNonNullableFields {
|
|
|
2954
2954
|
};
|
|
2955
2955
|
}
|
|
2956
2956
|
|
|
2957
|
-
type __PublicMethodMetaInfo$
|
|
2957
|
+
type __PublicMethodMetaInfo$c<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2958
2958
|
getUrl: (context: any) => string;
|
|
2959
2959
|
httpMethod: K;
|
|
2960
2960
|
path: string;
|
|
@@ -2964,15 +2964,15 @@ type __PublicMethodMetaInfo$b<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
2964
2964
|
__responseType: Q;
|
|
2965
2965
|
__originalResponseType: R;
|
|
2966
2966
|
};
|
|
2967
|
-
declare function startCollectingRequests(): __PublicMethodMetaInfo$
|
|
2968
|
-
declare function stopCollectingRequests(): __PublicMethodMetaInfo$
|
|
2969
|
-
declare function getSettings(): __PublicMethodMetaInfo$
|
|
2967
|
+
declare function startCollectingRequests(): __PublicMethodMetaInfo$c<'POST', {}, StartCollectingRequestsRequest, StartCollectingRequestsRequest$1, StartCollectingRequestsResponse & StartCollectingRequestsResponseNonNullableFields, StartCollectingRequestsResponse$1 & StartCollectingRequestsResponseNonNullableFields$1>;
|
|
2968
|
+
declare function stopCollectingRequests(): __PublicMethodMetaInfo$c<'POST', {}, StopCollectingRequestsRequest, StopCollectingRequestsRequest$1, StopCollectingRequestsResponse & StopCollectingRequestsResponseNonNullableFields, StopCollectingRequestsResponse$1 & StopCollectingRequestsResponseNonNullableFields$1>;
|
|
2969
|
+
declare function getSettings(): __PublicMethodMetaInfo$c<'PUT', {}, GetSettingsRequest, GetSettingsRequest$1, GetSettingsResponse & GetSettingsResponseNonNullableFields, GetSettingsResponse$1 & GetSettingsResponseNonNullableFields$1>;
|
|
2970
2970
|
|
|
2971
|
-
declare const meta$
|
|
2972
|
-
declare const meta$
|
|
2973
|
-
declare const meta$
|
|
2974
|
-
declare namespace meta$
|
|
2975
|
-
export { type __PublicMethodMetaInfo$
|
|
2971
|
+
declare const meta$c_getSettings: typeof getSettings;
|
|
2972
|
+
declare const meta$c_startCollectingRequests: typeof startCollectingRequests;
|
|
2973
|
+
declare const meta$c_stopCollectingRequests: typeof stopCollectingRequests;
|
|
2974
|
+
declare namespace meta$c {
|
|
2975
|
+
export { type __PublicMethodMetaInfo$c as __PublicMethodMetaInfo, meta$c_getSettings as getSettings, meta$c_startCollectingRequests as startCollectingRequests, meta$c_stopCollectingRequests as stopCollectingRequests };
|
|
2976
2976
|
}
|
|
2977
2977
|
|
|
2978
2978
|
interface Cart$3 {
|
|
@@ -3507,12 +3507,12 @@ interface MerchantDiscount$7 {
|
|
|
3507
3507
|
/** Billing Info and shipping details */
|
|
3508
3508
|
interface AddressWithContact$7 {
|
|
3509
3509
|
/** Address. */
|
|
3510
|
-
address?: Address$
|
|
3510
|
+
address?: Address$7;
|
|
3511
3511
|
/** Contact details. */
|
|
3512
3512
|
contactDetails?: FullAddressContactDetails$7;
|
|
3513
3513
|
}
|
|
3514
3514
|
/** Physical address */
|
|
3515
|
-
interface Address$
|
|
3515
|
+
interface Address$7 {
|
|
3516
3516
|
/** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
|
|
3517
3517
|
country?: string | null;
|
|
3518
3518
|
/** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format. */
|
|
@@ -3522,7 +3522,7 @@ interface Address$5 {
|
|
|
3522
3522
|
/** Postal or zip code. */
|
|
3523
3523
|
postalCode?: string | null;
|
|
3524
3524
|
/** Street address. */
|
|
3525
|
-
streetAddress?: StreetAddress$
|
|
3525
|
+
streetAddress?: StreetAddress$9;
|
|
3526
3526
|
/** Main address line (usually street name and number). */
|
|
3527
3527
|
addressLine?: string | null;
|
|
3528
3528
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
@@ -3538,7 +3538,7 @@ interface Address$5 {
|
|
|
3538
3538
|
*/
|
|
3539
3539
|
subdivisionFullname?: string | null;
|
|
3540
3540
|
}
|
|
3541
|
-
interface StreetAddress$
|
|
3541
|
+
interface StreetAddress$9 {
|
|
3542
3542
|
/** Street number. */
|
|
3543
3543
|
number?: string;
|
|
3544
3544
|
/** Street name. */
|
|
@@ -3874,7 +3874,7 @@ interface DeliveryLogistics$7 {
|
|
|
3874
3874
|
}
|
|
3875
3875
|
interface PickupDetails$7 {
|
|
3876
3876
|
/** Pickup address. */
|
|
3877
|
-
address?: Address$
|
|
3877
|
+
address?: Address$7;
|
|
3878
3878
|
/**
|
|
3879
3879
|
* Whether the pickup address is that of a business - this may effect tax calculation.
|
|
3880
3880
|
* @deprecated
|
|
@@ -4324,9 +4324,9 @@ interface CreateCheckoutRequest$3 {
|
|
|
4324
4324
|
/** __Required.__ Sales channel type. */
|
|
4325
4325
|
channelType?: ChannelType$7;
|
|
4326
4326
|
/** Shipping address. Used for calculating tax and shipping (when applicable). */
|
|
4327
|
-
shippingAddress?: Address$
|
|
4327
|
+
shippingAddress?: Address$7;
|
|
4328
4328
|
/** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
|
|
4329
|
-
billingAddress?: Address$
|
|
4329
|
+
billingAddress?: Address$7;
|
|
4330
4330
|
/** Selected shipping option. */
|
|
4331
4331
|
selectedShippingOption?: SelectedShippingOption$3;
|
|
4332
4332
|
/** Required when setting a billing or shipping address if the site visitor isn't logged in. */
|
|
@@ -4348,9 +4348,9 @@ interface EstimateTotalsRequest$1 {
|
|
|
4348
4348
|
/** Selected shipping option. */
|
|
4349
4349
|
selectedShippingOption?: SelectedShippingOption$3;
|
|
4350
4350
|
/** Shipping address. Used for calculating tax and shipping (when applicable). */
|
|
4351
|
-
shippingAddress?: Address$
|
|
4351
|
+
shippingAddress?: Address$7;
|
|
4352
4352
|
/** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
|
|
4353
|
-
billingAddress?: Address$
|
|
4353
|
+
billingAddress?: Address$7;
|
|
4354
4354
|
/** The selected membership payment options and which line items they apply to. */
|
|
4355
4355
|
selectedMemberships?: SelectedMemberships$5;
|
|
4356
4356
|
}
|
|
@@ -7089,12 +7089,12 @@ interface MerchantDiscount$6 {
|
|
|
7089
7089
|
/** Billing Info and shipping details */
|
|
7090
7090
|
interface AddressWithContact$6 {
|
|
7091
7091
|
/** Address. */
|
|
7092
|
-
address?: Address$
|
|
7092
|
+
address?: Address$6;
|
|
7093
7093
|
/** Contact details. */
|
|
7094
7094
|
contactDetails?: FullAddressContactDetails$6;
|
|
7095
7095
|
}
|
|
7096
7096
|
/** Physical address */
|
|
7097
|
-
interface Address$
|
|
7097
|
+
interface Address$6 {
|
|
7098
7098
|
/** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
|
|
7099
7099
|
country?: string | null;
|
|
7100
7100
|
/** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format. */
|
|
@@ -7104,13 +7104,13 @@ interface Address$4 {
|
|
|
7104
7104
|
/** Postal or zip code. */
|
|
7105
7105
|
postalCode?: string | null;
|
|
7106
7106
|
/** Street address. */
|
|
7107
|
-
streetAddress?: StreetAddress$
|
|
7107
|
+
streetAddress?: StreetAddress$8;
|
|
7108
7108
|
/** Main address line (usually street name and number). */
|
|
7109
7109
|
addressLine1?: string | null;
|
|
7110
7110
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
7111
7111
|
addressLine2?: string | null;
|
|
7112
7112
|
}
|
|
7113
|
-
interface StreetAddress$
|
|
7113
|
+
interface StreetAddress$8 {
|
|
7114
7114
|
/** Street number. */
|
|
7115
7115
|
number?: string;
|
|
7116
7116
|
/** Street name. */
|
|
@@ -7446,7 +7446,7 @@ interface DeliveryLogistics$6 {
|
|
|
7446
7446
|
}
|
|
7447
7447
|
interface PickupDetails$6 {
|
|
7448
7448
|
/** Pickup address. */
|
|
7449
|
-
address?: Address$
|
|
7449
|
+
address?: Address$6;
|
|
7450
7450
|
/**
|
|
7451
7451
|
* Whether the pickup address is that of a business - this may effect tax calculation.
|
|
7452
7452
|
* @deprecated
|
|
@@ -7896,9 +7896,9 @@ interface CreateCheckoutRequest$2 {
|
|
|
7896
7896
|
/** **Required**. Sales channel type. */
|
|
7897
7897
|
channelType?: ChannelType$6;
|
|
7898
7898
|
/** Shipping address. Used for calculating tax and shipping (when applicable). */
|
|
7899
|
-
shippingAddress?: Address$
|
|
7899
|
+
shippingAddress?: Address$6;
|
|
7900
7900
|
/** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
|
|
7901
|
-
billingAddress?: Address$
|
|
7901
|
+
billingAddress?: Address$6;
|
|
7902
7902
|
/** Selected shipping option. */
|
|
7903
7903
|
selectedShippingOption?: SelectedShippingOption$2;
|
|
7904
7904
|
/** Mandatory when setting a billing or shipping address if the site visitor isn't logged in. */
|
|
@@ -7920,9 +7920,9 @@ interface EstimateTotalsRequest {
|
|
|
7920
7920
|
/** Selected shipping option. */
|
|
7921
7921
|
selectedShippingOption?: SelectedShippingOption$2;
|
|
7922
7922
|
/** Shipping address. Used for calculating tax and shipping (when applicable). */
|
|
7923
|
-
shippingAddress?: Address$
|
|
7923
|
+
shippingAddress?: Address$6;
|
|
7924
7924
|
/** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
|
|
7925
|
-
billingAddress?: Address$
|
|
7925
|
+
billingAddress?: Address$6;
|
|
7926
7926
|
/** The selected membership payment options and which line items they apply to. */
|
|
7927
7927
|
selectedMemberships?: SelectedMemberships$4;
|
|
7928
7928
|
}
|
|
@@ -9510,7 +9510,7 @@ interface GetCartResponseNonNullableFields {
|
|
|
9510
9510
|
};
|
|
9511
9511
|
}
|
|
9512
9512
|
|
|
9513
|
-
type __PublicMethodMetaInfo$
|
|
9513
|
+
type __PublicMethodMetaInfo$b<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
9514
9514
|
getUrl: (context: any) => string;
|
|
9515
9515
|
httpMethod: K;
|
|
9516
9516
|
path: string;
|
|
@@ -9520,43 +9520,43 @@ type __PublicMethodMetaInfo$a<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
9520
9520
|
__responseType: Q;
|
|
9521
9521
|
__originalResponseType: R;
|
|
9522
9522
|
};
|
|
9523
|
-
declare function createCart(): __PublicMethodMetaInfo$
|
|
9524
|
-
declare function updateCart(): __PublicMethodMetaInfo$
|
|
9523
|
+
declare function createCart(): __PublicMethodMetaInfo$b<'POST', {}, CreateCartRequest, CreateCartRequest$1, CreateCartResponse & CreateCartResponseNonNullableFields, CreateCartResponse$1 & CreateCartResponseNonNullableFields$1>;
|
|
9524
|
+
declare function updateCart(): __PublicMethodMetaInfo$b<'PATCH', {
|
|
9525
9525
|
cartInfoId: string;
|
|
9526
9526
|
}, UpdateCartRequest$2, UpdateCartRequest$3, UpdateCartResponse$2 & UpdateCartResponseNonNullableFields$2, UpdateCartResponse$3 & UpdateCartResponseNonNullableFields$3>;
|
|
9527
|
-
declare function getCart(): __PublicMethodMetaInfo$
|
|
9527
|
+
declare function getCart(): __PublicMethodMetaInfo$b<'GET', {
|
|
9528
9528
|
id: string;
|
|
9529
9529
|
}, GetCartRequest, GetCartRequest$1, GetCartResponse & GetCartResponseNonNullableFields, GetCartResponse$1 & GetCartResponseNonNullableFields$1>;
|
|
9530
|
-
declare function addToCart(): __PublicMethodMetaInfo$
|
|
9530
|
+
declare function addToCart(): __PublicMethodMetaInfo$b<'POST', {
|
|
9531
9531
|
id: string;
|
|
9532
9532
|
}, AddToCartRequest, AddToCartRequest$1, AddToCartResponse$2 & AddToCartResponseNonNullableFields$2, AddToCartResponse$3 & AddToCartResponseNonNullableFields$3>;
|
|
9533
|
-
declare function removeLineItems$1(): __PublicMethodMetaInfo$
|
|
9533
|
+
declare function removeLineItems$1(): __PublicMethodMetaInfo$b<'POST', {
|
|
9534
9534
|
id: string;
|
|
9535
9535
|
}, RemoveLineItemsRequest$2, RemoveLineItemsRequest$3, RemoveLineItemsResponse$4 & RemoveLineItemsResponseNonNullableFields$4, RemoveLineItemsResponse$5 & RemoveLineItemsResponseNonNullableFields$5>;
|
|
9536
|
-
declare function createCheckout$1(): __PublicMethodMetaInfo$
|
|
9536
|
+
declare function createCheckout$1(): __PublicMethodMetaInfo$b<'POST', {
|
|
9537
9537
|
id: string;
|
|
9538
9538
|
}, CreateCheckoutRequest$2, CreateCheckoutRequest$3, CreateCheckoutResponse$4 & CreateCheckoutResponseNonNullableFields$4, CreateCheckoutResponse$5 & CreateCheckoutResponseNonNullableFields$5>;
|
|
9539
|
-
declare function removeCoupon$1(): __PublicMethodMetaInfo$
|
|
9539
|
+
declare function removeCoupon$1(): __PublicMethodMetaInfo$b<'POST', {
|
|
9540
9540
|
id: string;
|
|
9541
9541
|
}, RemoveCouponRequest$2, RemoveCouponRequest$3, RemoveCouponResponse$4 & RemoveCouponResponseNonNullableFields$4, RemoveCouponResponse$5 & RemoveCouponResponseNonNullableFields$5>;
|
|
9542
|
-
declare function updateLineItemsQuantity$1(): __PublicMethodMetaInfo$
|
|
9542
|
+
declare function updateLineItemsQuantity$1(): __PublicMethodMetaInfo$b<'POST', {
|
|
9543
9543
|
id: string;
|
|
9544
9544
|
}, UpdateLineItemsQuantityRequest$2, UpdateLineItemsQuantityRequest$3, UpdateLineItemsQuantityResponse$4 & UpdateLineItemsQuantityResponseNonNullableFields$4, UpdateLineItemsQuantityResponse$5 & UpdateLineItemsQuantityResponseNonNullableFields$5>;
|
|
9545
|
-
declare function estimateTotals(): __PublicMethodMetaInfo$
|
|
9545
|
+
declare function estimateTotals(): __PublicMethodMetaInfo$b<'POST', {
|
|
9546
9546
|
id: string;
|
|
9547
9547
|
}, EstimateTotalsRequest, EstimateTotalsRequest$1, EstimateTotalsResponse$2 & EstimateTotalsResponseNonNullableFields$2, EstimateTotalsResponse$3 & EstimateTotalsResponseNonNullableFields$3>;
|
|
9548
|
-
declare function deleteCart(): __PublicMethodMetaInfo$
|
|
9548
|
+
declare function deleteCart(): __PublicMethodMetaInfo$b<'DELETE', {
|
|
9549
9549
|
id: string;
|
|
9550
9550
|
}, DeleteCartRequest, DeleteCartRequest$1, DeleteCartResponse$2, DeleteCartResponse$3>;
|
|
9551
9551
|
|
|
9552
|
-
declare const meta$
|
|
9553
|
-
declare const meta$
|
|
9554
|
-
declare const meta$
|
|
9555
|
-
declare const meta$
|
|
9556
|
-
declare const meta$
|
|
9557
|
-
declare const meta$
|
|
9558
|
-
declare namespace meta$
|
|
9559
|
-
export { type __PublicMethodMetaInfo$
|
|
9552
|
+
declare const meta$b_addToCart: typeof addToCart;
|
|
9553
|
+
declare const meta$b_createCart: typeof createCart;
|
|
9554
|
+
declare const meta$b_deleteCart: typeof deleteCart;
|
|
9555
|
+
declare const meta$b_estimateTotals: typeof estimateTotals;
|
|
9556
|
+
declare const meta$b_getCart: typeof getCart;
|
|
9557
|
+
declare const meta$b_updateCart: typeof updateCart;
|
|
9558
|
+
declare namespace meta$b {
|
|
9559
|
+
export { type __PublicMethodMetaInfo$b as __PublicMethodMetaInfo, meta$b_addToCart as addToCart, meta$b_createCart as createCart, createCheckout$1 as createCheckout, meta$b_deleteCart as deleteCart, meta$b_estimateTotals as estimateTotals, meta$b_getCart as getCart, removeCoupon$1 as removeCoupon, removeLineItems$1 as removeLineItems, meta$b_updateCart as updateCart, updateLineItemsQuantity$1 as updateLineItemsQuantity };
|
|
9560
9560
|
}
|
|
9561
9561
|
|
|
9562
9562
|
interface Cart$1 {
|
|
@@ -10091,12 +10091,12 @@ interface MerchantDiscount$5 {
|
|
|
10091
10091
|
/** Billing Info and shipping details */
|
|
10092
10092
|
interface AddressWithContact$5 {
|
|
10093
10093
|
/** Address. */
|
|
10094
|
-
address?: Address$
|
|
10094
|
+
address?: Address$5;
|
|
10095
10095
|
/** Contact details. */
|
|
10096
10096
|
contactDetails?: FullAddressContactDetails$5;
|
|
10097
10097
|
}
|
|
10098
10098
|
/** Physical address */
|
|
10099
|
-
interface Address$
|
|
10099
|
+
interface Address$5 {
|
|
10100
10100
|
/** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
|
|
10101
10101
|
country?: string | null;
|
|
10102
10102
|
/** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format. */
|
|
@@ -10106,7 +10106,7 @@ interface Address$3 {
|
|
|
10106
10106
|
/** Postal or zip code. */
|
|
10107
10107
|
postalCode?: string | null;
|
|
10108
10108
|
/** Street address. */
|
|
10109
|
-
streetAddress?: StreetAddress$
|
|
10109
|
+
streetAddress?: StreetAddress$7;
|
|
10110
10110
|
/** Main address line (usually street name and number). */
|
|
10111
10111
|
addressLine?: string | null;
|
|
10112
10112
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
@@ -10122,7 +10122,7 @@ interface Address$3 {
|
|
|
10122
10122
|
*/
|
|
10123
10123
|
subdivisionFullname?: string | null;
|
|
10124
10124
|
}
|
|
10125
|
-
interface StreetAddress$
|
|
10125
|
+
interface StreetAddress$7 {
|
|
10126
10126
|
/** Street number. */
|
|
10127
10127
|
number?: string;
|
|
10128
10128
|
/** Street name. */
|
|
@@ -10468,7 +10468,7 @@ interface DeliveryLogistics$5 {
|
|
|
10468
10468
|
}
|
|
10469
10469
|
interface PickupDetails$5 {
|
|
10470
10470
|
/** Pickup address. */
|
|
10471
|
-
address?: Address$
|
|
10471
|
+
address?: Address$5;
|
|
10472
10472
|
/**
|
|
10473
10473
|
* Whether the pickup address is that of a business - this may effect tax calculation.
|
|
10474
10474
|
* @deprecated
|
|
@@ -10848,9 +10848,9 @@ interface CreateCheckoutFromCurrentCartRequest$1 {
|
|
|
10848
10848
|
/** __Required.__ Sales channel type. */
|
|
10849
10849
|
channelType?: ChannelType$5;
|
|
10850
10850
|
/** Shipping address. Used for calculating tax and shipping (when applicable). */
|
|
10851
|
-
shippingAddress?: Address$
|
|
10851
|
+
shippingAddress?: Address$5;
|
|
10852
10852
|
/** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
|
|
10853
|
-
billingAddress?: Address$
|
|
10853
|
+
billingAddress?: Address$5;
|
|
10854
10854
|
/** Selected shipping option. */
|
|
10855
10855
|
selectedShippingOption?: SelectedShippingOption$1;
|
|
10856
10856
|
/** Mandatory when setting billing or shipping address and user is not logged in. */
|
|
@@ -10902,9 +10902,9 @@ interface EstimateCurrentCartTotalsRequest$1 {
|
|
|
10902
10902
|
/** Selected shipping option. */
|
|
10903
10903
|
selectedShippingOption?: SelectedShippingOption$1;
|
|
10904
10904
|
/** Shipping address. Used for calculating tax and shipping (when applicable). */
|
|
10905
|
-
shippingAddress?: Address$
|
|
10905
|
+
shippingAddress?: Address$5;
|
|
10906
10906
|
/** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
|
|
10907
|
-
billingAddress?: Address$
|
|
10907
|
+
billingAddress?: Address$5;
|
|
10908
10908
|
/** The selected membership payment options and which line items they apply to. */
|
|
10909
10909
|
selectedMemberships?: SelectedMemberships$3;
|
|
10910
10910
|
}
|
|
@@ -13459,12 +13459,12 @@ interface MerchantDiscount$4 {
|
|
|
13459
13459
|
/** Billing Info and shipping details */
|
|
13460
13460
|
interface AddressWithContact$4 {
|
|
13461
13461
|
/** Address. */
|
|
13462
|
-
address?: Address$
|
|
13462
|
+
address?: Address$4;
|
|
13463
13463
|
/** Contact details. */
|
|
13464
13464
|
contactDetails?: FullAddressContactDetails$4;
|
|
13465
13465
|
}
|
|
13466
13466
|
/** Physical address */
|
|
13467
|
-
interface Address$
|
|
13467
|
+
interface Address$4 {
|
|
13468
13468
|
/** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
|
|
13469
13469
|
country?: string | null;
|
|
13470
13470
|
/** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format. */
|
|
@@ -13474,13 +13474,13 @@ interface Address$2 {
|
|
|
13474
13474
|
/** Postal or zip code. */
|
|
13475
13475
|
postalCode?: string | null;
|
|
13476
13476
|
/** Street address. */
|
|
13477
|
-
streetAddress?: StreetAddress$
|
|
13477
|
+
streetAddress?: StreetAddress$6;
|
|
13478
13478
|
/** Main address line (usually street name and number). */
|
|
13479
13479
|
addressLine1?: string | null;
|
|
13480
13480
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
13481
13481
|
addressLine2?: string | null;
|
|
13482
13482
|
}
|
|
13483
|
-
interface StreetAddress$
|
|
13483
|
+
interface StreetAddress$6 {
|
|
13484
13484
|
/** Street number. */
|
|
13485
13485
|
number?: string;
|
|
13486
13486
|
/** Street name. */
|
|
@@ -13826,7 +13826,7 @@ interface DeliveryLogistics$4 {
|
|
|
13826
13826
|
}
|
|
13827
13827
|
interface PickupDetails$4 {
|
|
13828
13828
|
/** Pickup address. */
|
|
13829
|
-
address?: Address$
|
|
13829
|
+
address?: Address$4;
|
|
13830
13830
|
/**
|
|
13831
13831
|
* Whether the pickup address is that of a business - this may effect tax calculation.
|
|
13832
13832
|
* @deprecated
|
|
@@ -14206,9 +14206,9 @@ interface CreateCheckoutFromCurrentCartRequest {
|
|
|
14206
14206
|
/** **Required**. Sales channel type. */
|
|
14207
14207
|
channelType?: ChannelType$4;
|
|
14208
14208
|
/** Shipping address. Used for calculating tax and shipping (when applicable). */
|
|
14209
|
-
shippingAddress?: Address$
|
|
14209
|
+
shippingAddress?: Address$4;
|
|
14210
14210
|
/** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
|
|
14211
|
-
billingAddress?: Address$
|
|
14211
|
+
billingAddress?: Address$4;
|
|
14212
14212
|
/** Selected shipping option. */
|
|
14213
14213
|
selectedShippingOption?: SelectedShippingOption;
|
|
14214
14214
|
/** Mandatory when setting a billing or shipping address if the site visitor isn't logged in. */
|
|
@@ -14260,9 +14260,9 @@ interface EstimateCurrentCartTotalsRequest {
|
|
|
14260
14260
|
/** Selected shipping option. */
|
|
14261
14261
|
selectedShippingOption?: SelectedShippingOption;
|
|
14262
14262
|
/** Shipping address. Used for calculating tax and shipping (when applicable). */
|
|
14263
|
-
shippingAddress?: Address$
|
|
14263
|
+
shippingAddress?: Address$4;
|
|
14264
14264
|
/** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
|
|
14265
|
-
billingAddress?: Address$
|
|
14265
|
+
billingAddress?: Address$4;
|
|
14266
14266
|
/** The selected membership payment options and which line items they apply to. */
|
|
14267
14267
|
selectedMemberships?: SelectedMemberships$2;
|
|
14268
14268
|
}
|
|
@@ -15728,7 +15728,7 @@ interface EstimateTotalsResponseNonNullableFields {
|
|
|
15728
15728
|
}[];
|
|
15729
15729
|
}
|
|
15730
15730
|
|
|
15731
|
-
type __PublicMethodMetaInfo$
|
|
15731
|
+
type __PublicMethodMetaInfo$a<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
15732
15732
|
getUrl: (context: any) => string;
|
|
15733
15733
|
httpMethod: K;
|
|
15734
15734
|
path: string;
|
|
@@ -15738,27 +15738,27 @@ type __PublicMethodMetaInfo$9<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
15738
15738
|
__responseType: Q;
|
|
15739
15739
|
__originalResponseType: R;
|
|
15740
15740
|
};
|
|
15741
|
-
declare function getCurrentCart(): __PublicMethodMetaInfo$
|
|
15742
|
-
declare function updateCurrentCart(): __PublicMethodMetaInfo$
|
|
15743
|
-
declare function addToCurrentCart(): __PublicMethodMetaInfo$
|
|
15744
|
-
declare function removeLineItemsFromCurrentCart(): __PublicMethodMetaInfo$
|
|
15745
|
-
declare function createCheckoutFromCurrentCart(): __PublicMethodMetaInfo$
|
|
15746
|
-
declare function removeCouponFromCurrentCart(): __PublicMethodMetaInfo$
|
|
15747
|
-
declare function updateCurrentCartLineItemQuantity(): __PublicMethodMetaInfo$
|
|
15748
|
-
declare function estimateCurrentCartTotals(): __PublicMethodMetaInfo$
|
|
15749
|
-
declare function deleteCurrentCart(): __PublicMethodMetaInfo$
|
|
15741
|
+
declare function getCurrentCart(): __PublicMethodMetaInfo$a<'GET', {}, GetCurrentCartRequest, GetCurrentCartRequest$1, GetCurrentCartResponse & GetCurrentCartResponseNonNullableFields, GetCurrentCartResponse$1 & GetCurrentCartResponseNonNullableFields$1>;
|
|
15742
|
+
declare function updateCurrentCart(): __PublicMethodMetaInfo$a<'PATCH', {}, UpdateCartRequest, UpdateCartRequest$1, UpdateCartResponse & UpdateCartResponseNonNullableFields, UpdateCartResponse$1 & UpdateCartResponseNonNullableFields$1>;
|
|
15743
|
+
declare function addToCurrentCart(): __PublicMethodMetaInfo$a<'POST', {}, AddToCurrentCartRequest, AddToCurrentCartRequest$1, AddToCartResponse & AddToCartResponseNonNullableFields, AddToCartResponse$1 & AddToCartResponseNonNullableFields$1>;
|
|
15744
|
+
declare function removeLineItemsFromCurrentCart(): __PublicMethodMetaInfo$a<'POST', {}, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsFromCurrentCartRequest$1, RemoveLineItemsResponse$2 & RemoveLineItemsResponseNonNullableFields$2, RemoveLineItemsResponse$3 & RemoveLineItemsResponseNonNullableFields$3>;
|
|
15745
|
+
declare function createCheckoutFromCurrentCart(): __PublicMethodMetaInfo$a<'POST', {}, CreateCheckoutFromCurrentCartRequest, CreateCheckoutFromCurrentCartRequest$1, CreateCheckoutResponse$2 & CreateCheckoutResponseNonNullableFields$2, CreateCheckoutResponse$3 & CreateCheckoutResponseNonNullableFields$3>;
|
|
15746
|
+
declare function removeCouponFromCurrentCart(): __PublicMethodMetaInfo$a<'POST', {}, RemoveCouponFromCurrentCartRequest, RemoveCouponFromCurrentCartRequest$1, RemoveCouponResponse$2 & RemoveCouponResponseNonNullableFields$2, RemoveCouponResponse$3 & RemoveCouponResponseNonNullableFields$3>;
|
|
15747
|
+
declare function updateCurrentCartLineItemQuantity(): __PublicMethodMetaInfo$a<'POST', {}, UpdateCurrentCartLineItemQuantityRequest, UpdateCurrentCartLineItemQuantityRequest$1, UpdateLineItemsQuantityResponse$2 & UpdateLineItemsQuantityResponseNonNullableFields$2, UpdateLineItemsQuantityResponse$3 & UpdateLineItemsQuantityResponseNonNullableFields$3>;
|
|
15748
|
+
declare function estimateCurrentCartTotals(): __PublicMethodMetaInfo$a<'POST', {}, EstimateCurrentCartTotalsRequest, EstimateCurrentCartTotalsRequest$1, EstimateTotalsResponse & EstimateTotalsResponseNonNullableFields, EstimateTotalsResponse$1 & EstimateTotalsResponseNonNullableFields$1>;
|
|
15749
|
+
declare function deleteCurrentCart(): __PublicMethodMetaInfo$a<'DELETE', {}, DeleteCurrentCartRequest, DeleteCurrentCartRequest$1, DeleteCartResponse, DeleteCartResponse$1>;
|
|
15750
15750
|
|
|
15751
|
-
declare const meta$
|
|
15752
|
-
declare const meta$
|
|
15753
|
-
declare const meta$
|
|
15754
|
-
declare const meta$
|
|
15755
|
-
declare const meta$
|
|
15756
|
-
declare const meta$
|
|
15757
|
-
declare const meta$
|
|
15758
|
-
declare const meta$
|
|
15759
|
-
declare const meta$
|
|
15760
|
-
declare namespace meta$
|
|
15761
|
-
export { type __PublicMethodMetaInfo$
|
|
15751
|
+
declare const meta$a_addToCurrentCart: typeof addToCurrentCart;
|
|
15752
|
+
declare const meta$a_createCheckoutFromCurrentCart: typeof createCheckoutFromCurrentCart;
|
|
15753
|
+
declare const meta$a_deleteCurrentCart: typeof deleteCurrentCart;
|
|
15754
|
+
declare const meta$a_estimateCurrentCartTotals: typeof estimateCurrentCartTotals;
|
|
15755
|
+
declare const meta$a_getCurrentCart: typeof getCurrentCart;
|
|
15756
|
+
declare const meta$a_removeCouponFromCurrentCart: typeof removeCouponFromCurrentCart;
|
|
15757
|
+
declare const meta$a_removeLineItemsFromCurrentCart: typeof removeLineItemsFromCurrentCart;
|
|
15758
|
+
declare const meta$a_updateCurrentCart: typeof updateCurrentCart;
|
|
15759
|
+
declare const meta$a_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
|
|
15760
|
+
declare namespace meta$a {
|
|
15761
|
+
export { type __PublicMethodMetaInfo$a as __PublicMethodMetaInfo, meta$a_addToCurrentCart as addToCurrentCart, meta$a_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, meta$a_deleteCurrentCart as deleteCurrentCart, meta$a_estimateCurrentCartTotals as estimateCurrentCartTotals, meta$a_getCurrentCart as getCurrentCart, meta$a_removeCouponFromCurrentCart as removeCouponFromCurrentCart, meta$a_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, meta$a_updateCurrentCart as updateCurrentCart, meta$a_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
15762
15762
|
}
|
|
15763
15763
|
|
|
15764
15764
|
interface Checkout$1 {
|
|
@@ -15904,7 +15904,7 @@ interface Checkout$1 {
|
|
|
15904
15904
|
*
|
|
15905
15905
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the Wix Dev Center before they can be accessed with API calls.
|
|
15906
15906
|
*/
|
|
15907
|
-
extendedFields?: ExtendedFields$
|
|
15907
|
+
extendedFields?: ExtendedFields$7;
|
|
15908
15908
|
/**
|
|
15909
15909
|
* Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
|
|
15910
15910
|
* @readonly
|
|
@@ -16358,7 +16358,7 @@ interface ApiAddress$1 {
|
|
|
16358
16358
|
/** Postal or zip code. */
|
|
16359
16359
|
postalCode?: string | null;
|
|
16360
16360
|
/** Street address. */
|
|
16361
|
-
streetAddress?: StreetAddress$
|
|
16361
|
+
streetAddress?: StreetAddress$5;
|
|
16362
16362
|
/** Main address line (usually street name and number). */
|
|
16363
16363
|
addressLine?: string | null;
|
|
16364
16364
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
@@ -16374,7 +16374,7 @@ interface ApiAddress$1 {
|
|
|
16374
16374
|
*/
|
|
16375
16375
|
subdivisionFullname?: string | null;
|
|
16376
16376
|
}
|
|
16377
|
-
interface StreetAddress$
|
|
16377
|
+
interface StreetAddress$5 {
|
|
16378
16378
|
/** Street number. */
|
|
16379
16379
|
number?: string;
|
|
16380
16380
|
/** Street name. */
|
|
@@ -17052,7 +17052,7 @@ interface TargetLineItem$1 {
|
|
|
17052
17052
|
/** ID of the line item containing the violation. */
|
|
17053
17053
|
id?: string | null;
|
|
17054
17054
|
}
|
|
17055
|
-
interface ExtendedFields$
|
|
17055
|
+
interface ExtendedFields$7 {
|
|
17056
17056
|
/**
|
|
17057
17057
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
17058
17058
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -26405,7 +26405,7 @@ interface Checkout {
|
|
|
26405
26405
|
*
|
|
26406
26406
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the Wix Dev Center before they can be accessed with API calls.
|
|
26407
26407
|
*/
|
|
26408
|
-
extendedFields?: ExtendedFields$
|
|
26408
|
+
extendedFields?: ExtendedFields$6;
|
|
26409
26409
|
/**
|
|
26410
26410
|
* Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
|
|
26411
26411
|
* @readonly
|
|
@@ -26789,13 +26789,13 @@ interface ApiAddress {
|
|
|
26789
26789
|
/** Postal or zip code. */
|
|
26790
26790
|
postalCode?: string | null;
|
|
26791
26791
|
/** Street address. */
|
|
26792
|
-
streetAddress?: StreetAddress$
|
|
26792
|
+
streetAddress?: StreetAddress$4;
|
|
26793
26793
|
/** Main address line (usually street name and number). */
|
|
26794
26794
|
addressLine1?: string | null;
|
|
26795
26795
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
26796
26796
|
addressLine2?: string | null;
|
|
26797
26797
|
}
|
|
26798
|
-
interface StreetAddress$
|
|
26798
|
+
interface StreetAddress$4 {
|
|
26799
26799
|
/** Street number. */
|
|
26800
26800
|
number?: string;
|
|
26801
26801
|
/** Street name. */
|
|
@@ -27473,7 +27473,7 @@ interface TargetLineItem {
|
|
|
27473
27473
|
/** ID of the line item containing the violation. */
|
|
27474
27474
|
_id?: string | null;
|
|
27475
27475
|
}
|
|
27476
|
-
interface ExtendedFields$
|
|
27476
|
+
interface ExtendedFields$6 {
|
|
27477
27477
|
/**
|
|
27478
27478
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
27479
27479
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -34019,7 +34019,7 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
34019
34019
|
};
|
|
34020
34020
|
}
|
|
34021
34021
|
|
|
34022
|
-
type __PublicMethodMetaInfo$
|
|
34022
|
+
type __PublicMethodMetaInfo$9<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
34023
34023
|
getUrl: (context: any) => string;
|
|
34024
34024
|
httpMethod: K;
|
|
34025
34025
|
path: string;
|
|
@@ -34029,54 +34029,54 @@ type __PublicMethodMetaInfo$8<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
34029
34029
|
__responseType: Q;
|
|
34030
34030
|
__originalResponseType: R;
|
|
34031
34031
|
};
|
|
34032
|
-
declare function createCheckout(): __PublicMethodMetaInfo$
|
|
34033
|
-
declare function getCheckout(): __PublicMethodMetaInfo$
|
|
34032
|
+
declare function createCheckout(): __PublicMethodMetaInfo$9<'POST', {}, CreateCheckoutRequest, CreateCheckoutRequest$1, CreateCheckoutResponse & CreateCheckoutResponseNonNullableFields, CreateCheckoutResponse$1 & CreateCheckoutResponseNonNullableFields$1>;
|
|
34033
|
+
declare function getCheckout(): __PublicMethodMetaInfo$9<'GET', {
|
|
34034
34034
|
id: string;
|
|
34035
34035
|
}, GetCheckoutRequest, GetCheckoutRequest$1, GetCheckoutResponse & GetCheckoutResponseNonNullableFields, GetCheckoutResponse$1 & GetCheckoutResponseNonNullableFields$1>;
|
|
34036
|
-
declare function getCheckoutUrl(): __PublicMethodMetaInfo$
|
|
34036
|
+
declare function getCheckoutUrl(): __PublicMethodMetaInfo$9<'GET', {
|
|
34037
34037
|
id: string;
|
|
34038
34038
|
}, GetCheckoutURLRequest, GetCheckoutURLRequest$1, GetCheckoutURLResponse & GetCheckoutURLResponseNonNullableFields, GetCheckoutURLResponse$1 & GetCheckoutURLResponseNonNullableFields$1>;
|
|
34039
|
-
declare function updateCheckout(): __PublicMethodMetaInfo$
|
|
34039
|
+
declare function updateCheckout(): __PublicMethodMetaInfo$9<'PATCH', {
|
|
34040
34040
|
checkoutId: string;
|
|
34041
34041
|
}, UpdateCheckoutRequest, UpdateCheckoutRequest$1, UpdateCheckoutResponse & UpdateCheckoutResponseNonNullableFields, UpdateCheckoutResponse$1 & UpdateCheckoutResponseNonNullableFields$1>;
|
|
34042
|
-
declare function removeCoupon(): __PublicMethodMetaInfo$
|
|
34042
|
+
declare function removeCoupon(): __PublicMethodMetaInfo$9<'POST', {
|
|
34043
34043
|
id: string;
|
|
34044
34044
|
}, RemoveCouponRequest, RemoveCouponRequest$1, RemoveCouponResponse & RemoveCouponResponseNonNullableFields, RemoveCouponResponse$1 & RemoveCouponResponseNonNullableFields$1>;
|
|
34045
|
-
declare function removeGiftCard(): __PublicMethodMetaInfo$
|
|
34045
|
+
declare function removeGiftCard(): __PublicMethodMetaInfo$9<'POST', {
|
|
34046
34046
|
id: string;
|
|
34047
34047
|
}, RemoveGiftCardRequest, RemoveGiftCardRequest$1, RemoveGiftCardResponse & RemoveGiftCardResponseNonNullableFields, RemoveGiftCardResponse$1 & RemoveGiftCardResponseNonNullableFields$1>;
|
|
34048
|
-
declare function removeOverrideCheckoutUrl(): __PublicMethodMetaInfo$
|
|
34048
|
+
declare function removeOverrideCheckoutUrl(): __PublicMethodMetaInfo$9<'POST', {
|
|
34049
34049
|
id: string;
|
|
34050
34050
|
}, RemoveOverrideCheckoutUrlRequest, RemoveOverrideCheckoutUrlRequest$1, RemoveOverrideCheckoutUrlResponse & RemoveOverrideCheckoutUrlResponseNonNullableFields, RemoveOverrideCheckoutUrlResponse$1 & RemoveOverrideCheckoutUrlResponseNonNullableFields$1>;
|
|
34051
|
-
declare function addToCheckout(): __PublicMethodMetaInfo$
|
|
34051
|
+
declare function addToCheckout(): __PublicMethodMetaInfo$9<'POST', {
|
|
34052
34052
|
id: string;
|
|
34053
34053
|
}, AddToCheckoutRequest, AddToCheckoutRequest$1, AddToCheckoutResponse & AddToCheckoutResponseNonNullableFields, AddToCheckoutResponse$1 & AddToCheckoutResponseNonNullableFields$1>;
|
|
34054
|
-
declare function removeLineItems(): __PublicMethodMetaInfo$
|
|
34054
|
+
declare function removeLineItems(): __PublicMethodMetaInfo$9<'POST', {
|
|
34055
34055
|
id: string;
|
|
34056
34056
|
}, RemoveLineItemsRequest, RemoveLineItemsRequest$1, RemoveLineItemsResponse & RemoveLineItemsResponseNonNullableFields, RemoveLineItemsResponse$1 & RemoveLineItemsResponseNonNullableFields$1>;
|
|
34057
|
-
declare function createOrder$1(): __PublicMethodMetaInfo$
|
|
34057
|
+
declare function createOrder$1(): __PublicMethodMetaInfo$9<'POST', {
|
|
34058
34058
|
id: string;
|
|
34059
34059
|
}, CreateOrderRequest$2, CreateOrderRequest$3, CreateOrderResponse$2 & CreateOrderResponseNonNullableFields$2, CreateOrderResponse$3 & CreateOrderResponseNonNullableFields$3>;
|
|
34060
|
-
declare function markCheckoutAsCompleted(): __PublicMethodMetaInfo$
|
|
34060
|
+
declare function markCheckoutAsCompleted(): __PublicMethodMetaInfo$9<'POST', {
|
|
34061
34061
|
id: string;
|
|
34062
34062
|
}, MarkCheckoutAsCompletedRequest, MarkCheckoutAsCompletedRequest$1, MarkCheckoutAsCompletedResponse, MarkCheckoutAsCompletedResponse$1>;
|
|
34063
|
-
declare function updateLineItemsQuantity(): __PublicMethodMetaInfo$
|
|
34063
|
+
declare function updateLineItemsQuantity(): __PublicMethodMetaInfo$9<'POST', {
|
|
34064
34064
|
id: string;
|
|
34065
34065
|
}, UpdateLineItemsQuantityRequest, UpdateLineItemsQuantityRequest$1, UpdateLineItemsQuantityResponse & UpdateLineItemsQuantityResponseNonNullableFields, UpdateLineItemsQuantityResponse$1 & UpdateLineItemsQuantityResponseNonNullableFields$1>;
|
|
34066
34066
|
|
|
34067
|
-
declare const meta$
|
|
34068
|
-
declare const meta$
|
|
34069
|
-
declare const meta$
|
|
34070
|
-
declare const meta$
|
|
34071
|
-
declare const meta$
|
|
34072
|
-
declare const meta$
|
|
34073
|
-
declare const meta$
|
|
34074
|
-
declare const meta$
|
|
34075
|
-
declare const meta$
|
|
34076
|
-
declare const meta$
|
|
34077
|
-
declare const meta$
|
|
34078
|
-
declare namespace meta$
|
|
34079
|
-
export { type __PublicMethodMetaInfo$
|
|
34067
|
+
declare const meta$9_addToCheckout: typeof addToCheckout;
|
|
34068
|
+
declare const meta$9_createCheckout: typeof createCheckout;
|
|
34069
|
+
declare const meta$9_getCheckout: typeof getCheckout;
|
|
34070
|
+
declare const meta$9_getCheckoutUrl: typeof getCheckoutUrl;
|
|
34071
|
+
declare const meta$9_markCheckoutAsCompleted: typeof markCheckoutAsCompleted;
|
|
34072
|
+
declare const meta$9_removeCoupon: typeof removeCoupon;
|
|
34073
|
+
declare const meta$9_removeGiftCard: typeof removeGiftCard;
|
|
34074
|
+
declare const meta$9_removeLineItems: typeof removeLineItems;
|
|
34075
|
+
declare const meta$9_removeOverrideCheckoutUrl: typeof removeOverrideCheckoutUrl;
|
|
34076
|
+
declare const meta$9_updateCheckout: typeof updateCheckout;
|
|
34077
|
+
declare const meta$9_updateLineItemsQuantity: typeof updateLineItemsQuantity;
|
|
34078
|
+
declare namespace meta$9 {
|
|
34079
|
+
export { type __PublicMethodMetaInfo$9 as __PublicMethodMetaInfo, meta$9_addToCheckout as addToCheckout, meta$9_createCheckout as createCheckout, createOrder$1 as createOrder, meta$9_getCheckout as getCheckout, meta$9_getCheckoutUrl as getCheckoutUrl, meta$9_markCheckoutAsCompleted as markCheckoutAsCompleted, meta$9_removeCoupon as removeCoupon, meta$9_removeGiftCard as removeGiftCard, meta$9_removeLineItems as removeLineItems, meta$9_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, meta$9_updateCheckout as updateCheckout, meta$9_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
34080
34080
|
}
|
|
34081
34081
|
|
|
34082
34082
|
interface CheckoutSettings$1 {
|
|
@@ -34360,7 +34360,7 @@ interface UpdateCheckoutSettingsResponse {
|
|
|
34360
34360
|
checkoutSettings?: CheckoutSettings;
|
|
34361
34361
|
}
|
|
34362
34362
|
|
|
34363
|
-
type __PublicMethodMetaInfo$
|
|
34363
|
+
type __PublicMethodMetaInfo$8<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
34364
34364
|
getUrl: (context: any) => string;
|
|
34365
34365
|
httpMethod: K;
|
|
34366
34366
|
path: string;
|
|
@@ -34370,13 +34370,13 @@ type __PublicMethodMetaInfo$7<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
34370
34370
|
__responseType: Q;
|
|
34371
34371
|
__originalResponseType: R;
|
|
34372
34372
|
};
|
|
34373
|
-
declare function getCheckoutSettings(): __PublicMethodMetaInfo$
|
|
34374
|
-
declare function updateCheckoutSettings(): __PublicMethodMetaInfo$
|
|
34373
|
+
declare function getCheckoutSettings(): __PublicMethodMetaInfo$8<'GET', {}, GetCheckoutSettingsRequest, GetCheckoutSettingsRequest$1, GetCheckoutSettingsResponse, GetCheckoutSettingsResponse$1>;
|
|
34374
|
+
declare function updateCheckoutSettings(): __PublicMethodMetaInfo$8<'PATCH', {}, UpdateCheckoutSettingsRequest, UpdateCheckoutSettingsRequest$1, UpdateCheckoutSettingsResponse, UpdateCheckoutSettingsResponse$1>;
|
|
34375
34375
|
|
|
34376
|
-
declare const meta$
|
|
34377
|
-
declare const meta$
|
|
34378
|
-
declare namespace meta$
|
|
34379
|
-
export { type __PublicMethodMetaInfo$
|
|
34376
|
+
declare const meta$8_getCheckoutSettings: typeof getCheckoutSettings;
|
|
34377
|
+
declare const meta$8_updateCheckoutSettings: typeof updateCheckoutSettings;
|
|
34378
|
+
declare namespace meta$8 {
|
|
34379
|
+
export { type __PublicMethodMetaInfo$8 as __PublicMethodMetaInfo, meta$8_getCheckoutSettings as getCheckoutSettings, meta$8_updateCheckoutSettings as updateCheckoutSettings };
|
|
34380
34380
|
}
|
|
34381
34381
|
|
|
34382
34382
|
interface CheckoutTemplate$1 {
|
|
@@ -34663,11 +34663,11 @@ interface DeleteCheckoutTemplateResponse$1 {
|
|
|
34663
34663
|
}
|
|
34664
34664
|
interface QueryCheckoutTemplatesRequest$1 {
|
|
34665
34665
|
/** Query options. */
|
|
34666
|
-
query?: CursorQuery$
|
|
34666
|
+
query?: CursorQuery$5;
|
|
34667
34667
|
}
|
|
34668
|
-
interface CursorQuery$
|
|
34668
|
+
interface CursorQuery$5 extends CursorQueryPagingMethodOneOf$5 {
|
|
34669
34669
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
34670
|
-
cursorPaging?: CursorPaging$
|
|
34670
|
+
cursorPaging?: CursorPaging$7;
|
|
34671
34671
|
/**
|
|
34672
34672
|
* Filter object in the following format:
|
|
34673
34673
|
* `"filter" : {
|
|
@@ -34682,24 +34682,24 @@ interface CursorQuery$3 extends CursorQueryPagingMethodOneOf$3 {
|
|
|
34682
34682
|
* Sort object in the following format:
|
|
34683
34683
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
34684
34684
|
*/
|
|
34685
|
-
sort?: Sorting$
|
|
34685
|
+
sort?: Sorting$7[];
|
|
34686
34686
|
}
|
|
34687
34687
|
/** @oneof */
|
|
34688
|
-
interface CursorQueryPagingMethodOneOf$
|
|
34688
|
+
interface CursorQueryPagingMethodOneOf$5 {
|
|
34689
34689
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
34690
|
-
cursorPaging?: CursorPaging$
|
|
34690
|
+
cursorPaging?: CursorPaging$7;
|
|
34691
34691
|
}
|
|
34692
|
-
interface Sorting$
|
|
34692
|
+
interface Sorting$7 {
|
|
34693
34693
|
/** Name of the field to sort by. */
|
|
34694
34694
|
fieldName?: string;
|
|
34695
34695
|
/** Sort order. */
|
|
34696
|
-
order?: SortOrder$
|
|
34696
|
+
order?: SortOrder$7;
|
|
34697
34697
|
}
|
|
34698
|
-
declare enum SortOrder$
|
|
34698
|
+
declare enum SortOrder$7 {
|
|
34699
34699
|
ASC = "ASC",
|
|
34700
34700
|
DESC = "DESC"
|
|
34701
34701
|
}
|
|
34702
|
-
interface CursorPaging$
|
|
34702
|
+
interface CursorPaging$7 {
|
|
34703
34703
|
/** Number of items to load. */
|
|
34704
34704
|
limit?: number | null;
|
|
34705
34705
|
/**
|
|
@@ -34715,13 +34715,13 @@ interface QueryCheckoutTemplatesResponse$1 {
|
|
|
34715
34715
|
/** Retrieved checkout templates. */
|
|
34716
34716
|
checkoutTemplates?: CheckoutTemplate$1[];
|
|
34717
34717
|
/** Paging metadata. */
|
|
34718
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
34718
|
+
pagingMetadata?: CursorPagingMetadata$7;
|
|
34719
34719
|
}
|
|
34720
|
-
interface CursorPagingMetadata$
|
|
34720
|
+
interface CursorPagingMetadata$7 {
|
|
34721
34721
|
/** Number of items returned in the response. */
|
|
34722
34722
|
count?: number | null;
|
|
34723
34723
|
/** Offset that was requested. */
|
|
34724
|
-
cursors?: Cursors$
|
|
34724
|
+
cursors?: Cursors$7;
|
|
34725
34725
|
/**
|
|
34726
34726
|
* Indicates if there are more results after the current page.
|
|
34727
34727
|
* If `true`, another page of results can be retrieved.
|
|
@@ -34729,7 +34729,7 @@ interface CursorPagingMetadata$5 {
|
|
|
34729
34729
|
*/
|
|
34730
34730
|
hasNext?: boolean | null;
|
|
34731
34731
|
}
|
|
34732
|
-
interface Cursors$
|
|
34732
|
+
interface Cursors$7 {
|
|
34733
34733
|
/** Cursor pointing to next page in the list of results. */
|
|
34734
34734
|
next?: string | null;
|
|
34735
34735
|
/** Cursor pointing to previous page in the list of results. */
|
|
@@ -35469,11 +35469,11 @@ interface DeleteCheckoutTemplateResponse {
|
|
|
35469
35469
|
}
|
|
35470
35470
|
interface QueryCheckoutTemplatesRequest {
|
|
35471
35471
|
/** Query options. */
|
|
35472
|
-
query?: CursorQuery$
|
|
35472
|
+
query?: CursorQuery$4;
|
|
35473
35473
|
}
|
|
35474
|
-
interface CursorQuery$
|
|
35474
|
+
interface CursorQuery$4 extends CursorQueryPagingMethodOneOf$4 {
|
|
35475
35475
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
35476
|
-
cursorPaging?: CursorPaging$
|
|
35476
|
+
cursorPaging?: CursorPaging$6;
|
|
35477
35477
|
/**
|
|
35478
35478
|
* Filter object in the following format:
|
|
35479
35479
|
* `"filter" : {
|
|
@@ -35488,24 +35488,24 @@ interface CursorQuery$2 extends CursorQueryPagingMethodOneOf$2 {
|
|
|
35488
35488
|
* Sort object in the following format:
|
|
35489
35489
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
35490
35490
|
*/
|
|
35491
|
-
sort?: Sorting$
|
|
35491
|
+
sort?: Sorting$6[];
|
|
35492
35492
|
}
|
|
35493
35493
|
/** @oneof */
|
|
35494
|
-
interface CursorQueryPagingMethodOneOf$
|
|
35494
|
+
interface CursorQueryPagingMethodOneOf$4 {
|
|
35495
35495
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
35496
|
-
cursorPaging?: CursorPaging$
|
|
35496
|
+
cursorPaging?: CursorPaging$6;
|
|
35497
35497
|
}
|
|
35498
|
-
interface Sorting$
|
|
35498
|
+
interface Sorting$6 {
|
|
35499
35499
|
/** Name of the field to sort by. */
|
|
35500
35500
|
fieldName?: string;
|
|
35501
35501
|
/** Sort order. */
|
|
35502
|
-
order?: SortOrder$
|
|
35502
|
+
order?: SortOrder$6;
|
|
35503
35503
|
}
|
|
35504
|
-
declare enum SortOrder$
|
|
35504
|
+
declare enum SortOrder$6 {
|
|
35505
35505
|
ASC = "ASC",
|
|
35506
35506
|
DESC = "DESC"
|
|
35507
35507
|
}
|
|
35508
|
-
interface CursorPaging$
|
|
35508
|
+
interface CursorPaging$6 {
|
|
35509
35509
|
/** Number of items to load. */
|
|
35510
35510
|
limit?: number | null;
|
|
35511
35511
|
/**
|
|
@@ -35521,13 +35521,13 @@ interface QueryCheckoutTemplatesResponse {
|
|
|
35521
35521
|
/** Retrieved checkout templates. */
|
|
35522
35522
|
checkoutTemplates?: CheckoutTemplate[];
|
|
35523
35523
|
/** Paging metadata. */
|
|
35524
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
35524
|
+
pagingMetadata?: CursorPagingMetadata$6;
|
|
35525
35525
|
}
|
|
35526
|
-
interface CursorPagingMetadata$
|
|
35526
|
+
interface CursorPagingMetadata$6 {
|
|
35527
35527
|
/** Number of items returned in the response. */
|
|
35528
35528
|
count?: number | null;
|
|
35529
35529
|
/** Offset that was requested. */
|
|
35530
|
-
cursors?: Cursors$
|
|
35530
|
+
cursors?: Cursors$6;
|
|
35531
35531
|
/**
|
|
35532
35532
|
* Indicates if there are more results after the current page.
|
|
35533
35533
|
* If `true`, another page of results can be retrieved.
|
|
@@ -35535,7 +35535,7 @@ interface CursorPagingMetadata$4 {
|
|
|
35535
35535
|
*/
|
|
35536
35536
|
hasNext?: boolean | null;
|
|
35537
35537
|
}
|
|
35538
|
-
interface Cursors$
|
|
35538
|
+
interface Cursors$6 {
|
|
35539
35539
|
/** Cursor pointing to next page in the list of results. */
|
|
35540
35540
|
next?: string | null;
|
|
35541
35541
|
/** Cursor pointing to previous page in the list of results. */
|
|
@@ -35724,7 +35724,7 @@ interface CreateCheckoutFromTemplateResponseNonNullableFields {
|
|
|
35724
35724
|
checkoutUrl: string;
|
|
35725
35725
|
}
|
|
35726
35726
|
|
|
35727
|
-
type __PublicMethodMetaInfo$
|
|
35727
|
+
type __PublicMethodMetaInfo$7<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
35728
35728
|
getUrl: (context: any) => string;
|
|
35729
35729
|
httpMethod: K;
|
|
35730
35730
|
path: string;
|
|
@@ -35734,29 +35734,29 @@ type __PublicMethodMetaInfo$6<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
35734
35734
|
__responseType: Q;
|
|
35735
35735
|
__originalResponseType: R;
|
|
35736
35736
|
};
|
|
35737
|
-
declare function createCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
35738
|
-
declare function getCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
35737
|
+
declare function createCheckoutTemplate(): __PublicMethodMetaInfo$7<'POST', {}, CreateCheckoutTemplateRequest, CreateCheckoutTemplateRequest$1, CreateCheckoutTemplateResponse & CreateCheckoutTemplateResponseNonNullableFields, CreateCheckoutTemplateResponse$1 & CreateCheckoutTemplateResponseNonNullableFields$1>;
|
|
35738
|
+
declare function getCheckoutTemplate(): __PublicMethodMetaInfo$7<'GET', {
|
|
35739
35739
|
checkoutTemplateId: string;
|
|
35740
35740
|
}, GetCheckoutTemplateRequest, GetCheckoutTemplateRequest$1, GetCheckoutTemplateResponse & GetCheckoutTemplateResponseNonNullableFields, GetCheckoutTemplateResponse$1 & GetCheckoutTemplateResponseNonNullableFields$1>;
|
|
35741
|
-
declare function updateCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
35741
|
+
declare function updateCheckoutTemplate(): __PublicMethodMetaInfo$7<'PATCH', {
|
|
35742
35742
|
checkoutTemplateId: string;
|
|
35743
35743
|
}, UpdateCheckoutTemplateRequest, UpdateCheckoutTemplateRequest$1, UpdateCheckoutTemplateResponse & UpdateCheckoutTemplateResponseNonNullableFields, UpdateCheckoutTemplateResponse$1 & UpdateCheckoutTemplateResponseNonNullableFields$1>;
|
|
35744
|
-
declare function deleteCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
35744
|
+
declare function deleteCheckoutTemplate(): __PublicMethodMetaInfo$7<'DELETE', {
|
|
35745
35745
|
checkoutTemplateId: string;
|
|
35746
35746
|
}, DeleteCheckoutTemplateRequest, DeleteCheckoutTemplateRequest$1, DeleteCheckoutTemplateResponse, DeleteCheckoutTemplateResponse$1>;
|
|
35747
|
-
declare function queryCheckoutTemplates(): __PublicMethodMetaInfo$
|
|
35748
|
-
declare function createCheckoutFromTemplate(): __PublicMethodMetaInfo$
|
|
35747
|
+
declare function queryCheckoutTemplates(): __PublicMethodMetaInfo$7<'POST', {}, QueryCheckoutTemplatesRequest, QueryCheckoutTemplatesRequest$1, QueryCheckoutTemplatesResponse & QueryCheckoutTemplatesResponseNonNullableFields, QueryCheckoutTemplatesResponse$1 & QueryCheckoutTemplatesResponseNonNullableFields$1>;
|
|
35748
|
+
declare function createCheckoutFromTemplate(): __PublicMethodMetaInfo$7<'POST', {
|
|
35749
35749
|
checkoutTemplateId: string;
|
|
35750
35750
|
}, CreateCheckoutFromTemplateRequest, CreateCheckoutFromTemplateRequest$1, CreateCheckoutFromTemplateResponse & CreateCheckoutFromTemplateResponseNonNullableFields, CreateCheckoutFromTemplateResponse$1 & CreateCheckoutFromTemplateResponseNonNullableFields$1>;
|
|
35751
35751
|
|
|
35752
|
-
declare const meta$
|
|
35753
|
-
declare const meta$
|
|
35754
|
-
declare const meta$
|
|
35755
|
-
declare const meta$
|
|
35756
|
-
declare const meta$
|
|
35757
|
-
declare const meta$
|
|
35758
|
-
declare namespace meta$
|
|
35759
|
-
export { type __PublicMethodMetaInfo$
|
|
35752
|
+
declare const meta$7_createCheckoutFromTemplate: typeof createCheckoutFromTemplate;
|
|
35753
|
+
declare const meta$7_createCheckoutTemplate: typeof createCheckoutTemplate;
|
|
35754
|
+
declare const meta$7_deleteCheckoutTemplate: typeof deleteCheckoutTemplate;
|
|
35755
|
+
declare const meta$7_getCheckoutTemplate: typeof getCheckoutTemplate;
|
|
35756
|
+
declare const meta$7_queryCheckoutTemplates: typeof queryCheckoutTemplates;
|
|
35757
|
+
declare const meta$7_updateCheckoutTemplate: typeof updateCheckoutTemplate;
|
|
35758
|
+
declare namespace meta$7 {
|
|
35759
|
+
export { type __PublicMethodMetaInfo$7 as __PublicMethodMetaInfo, meta$7_createCheckoutFromTemplate as createCheckoutFromTemplate, meta$7_createCheckoutTemplate as createCheckoutTemplate, meta$7_deleteCheckoutTemplate as deleteCheckoutTemplate, meta$7_getCheckoutTemplate as getCheckoutTemplate, meta$7_queryCheckoutTemplates as queryCheckoutTemplates, meta$7_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
35760
35760
|
}
|
|
35761
35761
|
|
|
35762
35762
|
/**
|
|
@@ -35796,7 +35796,7 @@ interface DeliveryProfile$1 {
|
|
|
35796
35796
|
*/
|
|
35797
35797
|
updatedDate?: Date;
|
|
35798
35798
|
/** Extended fields. */
|
|
35799
|
-
extendedFields?: ExtendedFields$
|
|
35799
|
+
extendedFields?: ExtendedFields$5;
|
|
35800
35800
|
}
|
|
35801
35801
|
/** DeliveryRegion can be used to config a Delivery Destinations with its providers */
|
|
35802
35802
|
interface DeliveryRegion$1 {
|
|
@@ -35859,7 +35859,7 @@ interface Destination$1 {
|
|
|
35859
35859
|
*/
|
|
35860
35860
|
subdivisions?: string[];
|
|
35861
35861
|
}
|
|
35862
|
-
interface ExtendedFields$
|
|
35862
|
+
interface ExtendedFields$5 {
|
|
35863
35863
|
/**
|
|
35864
35864
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
35865
35865
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -35902,11 +35902,11 @@ interface DeleteDeliveryProfileResponse$1 {
|
|
|
35902
35902
|
}
|
|
35903
35903
|
interface QueryDeliveryProfilesRequest$1 {
|
|
35904
35904
|
/** WQL expression. */
|
|
35905
|
-
query?: CursorQuery$
|
|
35905
|
+
query?: CursorQuery$3;
|
|
35906
35906
|
}
|
|
35907
|
-
interface CursorQuery$
|
|
35907
|
+
interface CursorQuery$3 extends CursorQueryPagingMethodOneOf$3 {
|
|
35908
35908
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
35909
|
-
cursorPaging?: CursorPaging$
|
|
35909
|
+
cursorPaging?: CursorPaging$5;
|
|
35910
35910
|
/**
|
|
35911
35911
|
* Filter object in the following format:
|
|
35912
35912
|
* `"filter" : {
|
|
@@ -35920,24 +35920,24 @@ interface CursorQuery$1 extends CursorQueryPagingMethodOneOf$1 {
|
|
|
35920
35920
|
* Sort object in the following format:
|
|
35921
35921
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
35922
35922
|
*/
|
|
35923
|
-
sort?: Sorting$
|
|
35923
|
+
sort?: Sorting$5[];
|
|
35924
35924
|
}
|
|
35925
35925
|
/** @oneof */
|
|
35926
|
-
interface CursorQueryPagingMethodOneOf$
|
|
35926
|
+
interface CursorQueryPagingMethodOneOf$3 {
|
|
35927
35927
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
35928
|
-
cursorPaging?: CursorPaging$
|
|
35928
|
+
cursorPaging?: CursorPaging$5;
|
|
35929
35929
|
}
|
|
35930
|
-
interface Sorting$
|
|
35930
|
+
interface Sorting$5 {
|
|
35931
35931
|
/** Name of the field to sort by. */
|
|
35932
35932
|
fieldName?: string;
|
|
35933
35933
|
/** Sort order. */
|
|
35934
|
-
order?: SortOrder$
|
|
35934
|
+
order?: SortOrder$5;
|
|
35935
35935
|
}
|
|
35936
|
-
declare enum SortOrder$
|
|
35936
|
+
declare enum SortOrder$5 {
|
|
35937
35937
|
ASC = "ASC",
|
|
35938
35938
|
DESC = "DESC"
|
|
35939
35939
|
}
|
|
35940
|
-
interface CursorPaging$
|
|
35940
|
+
interface CursorPaging$5 {
|
|
35941
35941
|
/** Maximum number of items to return in the results. */
|
|
35942
35942
|
limit?: number | null;
|
|
35943
35943
|
/**
|
|
@@ -35952,13 +35952,13 @@ interface QueryDeliveryProfilesResponse$1 {
|
|
|
35952
35952
|
/** List of DeliveryProfiles. */
|
|
35953
35953
|
deliveryProfiles?: DeliveryProfile$1[];
|
|
35954
35954
|
/** Paging metadata */
|
|
35955
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
35955
|
+
pagingMetadata?: CursorPagingMetadata$5;
|
|
35956
35956
|
}
|
|
35957
|
-
interface CursorPagingMetadata$
|
|
35957
|
+
interface CursorPagingMetadata$5 {
|
|
35958
35958
|
/** Number of items returned in the response. */
|
|
35959
35959
|
count?: number | null;
|
|
35960
35960
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
35961
|
-
cursors?: Cursors$
|
|
35961
|
+
cursors?: Cursors$5;
|
|
35962
35962
|
/**
|
|
35963
35963
|
* Whether there are more pages to retrieve following the current page.
|
|
35964
35964
|
*
|
|
@@ -35967,7 +35967,7 @@ interface CursorPagingMetadata$3 {
|
|
|
35967
35967
|
*/
|
|
35968
35968
|
hasNext?: boolean | null;
|
|
35969
35969
|
}
|
|
35970
|
-
interface Cursors$
|
|
35970
|
+
interface Cursors$5 {
|
|
35971
35971
|
/** Cursor string pointing to the next page in the list of results. */
|
|
35972
35972
|
next?: string | null;
|
|
35973
35973
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -36145,7 +36145,7 @@ interface BulkActionMetadata$5 {
|
|
|
36145
36145
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
36146
36146
|
undetailedFailures?: number;
|
|
36147
36147
|
}
|
|
36148
|
-
interface UpdateExtendedFieldsRequest$
|
|
36148
|
+
interface UpdateExtendedFieldsRequest$3 {
|
|
36149
36149
|
/** ID of the entity to update. */
|
|
36150
36150
|
id: string;
|
|
36151
36151
|
/** Identifier for the app whose extended fields are being updated. */
|
|
@@ -36153,7 +36153,7 @@ interface UpdateExtendedFieldsRequest$1 {
|
|
|
36153
36153
|
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
36154
36154
|
namespaceData: Record<string, any> | null;
|
|
36155
36155
|
}
|
|
36156
|
-
interface UpdateExtendedFieldsResponse$
|
|
36156
|
+
interface UpdateExtendedFieldsResponse$3 {
|
|
36157
36157
|
/** Updated DeliveryProfile. */
|
|
36158
36158
|
deliveryProfile?: DeliveryProfile$1;
|
|
36159
36159
|
}
|
|
@@ -36368,7 +36368,7 @@ interface ListDeliveryCarriersResponseNonNullableFields$1 {
|
|
|
36368
36368
|
undetailedFailures: number;
|
|
36369
36369
|
};
|
|
36370
36370
|
}
|
|
36371
|
-
interface UpdateExtendedFieldsResponseNonNullableFields$
|
|
36371
|
+
interface UpdateExtendedFieldsResponseNonNullableFields$3 {
|
|
36372
36372
|
deliveryProfile?: {
|
|
36373
36373
|
deliveryRegions: {
|
|
36374
36374
|
deliveryCarriers: {
|
|
@@ -36423,7 +36423,7 @@ interface DeliveryProfile {
|
|
|
36423
36423
|
*/
|
|
36424
36424
|
_updatedDate?: Date;
|
|
36425
36425
|
/** Extended fields. */
|
|
36426
|
-
extendedFields?: ExtendedFields$
|
|
36426
|
+
extendedFields?: ExtendedFields$4;
|
|
36427
36427
|
}
|
|
36428
36428
|
/** DeliveryRegion can be used to config a Delivery Destinations with its providers */
|
|
36429
36429
|
interface DeliveryRegion {
|
|
@@ -36486,7 +36486,7 @@ interface Destination {
|
|
|
36486
36486
|
*/
|
|
36487
36487
|
subdivisions?: string[];
|
|
36488
36488
|
}
|
|
36489
|
-
interface ExtendedFields$
|
|
36489
|
+
interface ExtendedFields$4 {
|
|
36490
36490
|
/**
|
|
36491
36491
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
36492
36492
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -36529,11 +36529,11 @@ interface DeleteDeliveryProfileResponse {
|
|
|
36529
36529
|
}
|
|
36530
36530
|
interface QueryDeliveryProfilesRequest {
|
|
36531
36531
|
/** WQL expression. */
|
|
36532
|
-
query?: CursorQuery;
|
|
36532
|
+
query?: CursorQuery$2;
|
|
36533
36533
|
}
|
|
36534
|
-
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
36534
|
+
interface CursorQuery$2 extends CursorQueryPagingMethodOneOf$2 {
|
|
36535
36535
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
36536
|
-
cursorPaging?: CursorPaging$
|
|
36536
|
+
cursorPaging?: CursorPaging$4;
|
|
36537
36537
|
/**
|
|
36538
36538
|
* Filter object in the following format:
|
|
36539
36539
|
* `"filter" : {
|
|
@@ -36547,24 +36547,24 @@ interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
36547
36547
|
* Sort object in the following format:
|
|
36548
36548
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
36549
36549
|
*/
|
|
36550
|
-
sort?: Sorting$
|
|
36550
|
+
sort?: Sorting$4[];
|
|
36551
36551
|
}
|
|
36552
36552
|
/** @oneof */
|
|
36553
|
-
interface CursorQueryPagingMethodOneOf {
|
|
36553
|
+
interface CursorQueryPagingMethodOneOf$2 {
|
|
36554
36554
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
36555
|
-
cursorPaging?: CursorPaging$
|
|
36555
|
+
cursorPaging?: CursorPaging$4;
|
|
36556
36556
|
}
|
|
36557
|
-
interface Sorting$
|
|
36557
|
+
interface Sorting$4 {
|
|
36558
36558
|
/** Name of the field to sort by. */
|
|
36559
36559
|
fieldName?: string;
|
|
36560
36560
|
/** Sort order. */
|
|
36561
|
-
order?: SortOrder$
|
|
36561
|
+
order?: SortOrder$4;
|
|
36562
36562
|
}
|
|
36563
|
-
declare enum SortOrder$
|
|
36563
|
+
declare enum SortOrder$4 {
|
|
36564
36564
|
ASC = "ASC",
|
|
36565
36565
|
DESC = "DESC"
|
|
36566
36566
|
}
|
|
36567
|
-
interface CursorPaging$
|
|
36567
|
+
interface CursorPaging$4 {
|
|
36568
36568
|
/** Maximum number of items to return in the results. */
|
|
36569
36569
|
limit?: number | null;
|
|
36570
36570
|
/**
|
|
@@ -36579,13 +36579,13 @@ interface QueryDeliveryProfilesResponse {
|
|
|
36579
36579
|
/** List of DeliveryProfiles. */
|
|
36580
36580
|
deliveryProfiles?: DeliveryProfile[];
|
|
36581
36581
|
/** Paging metadata */
|
|
36582
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
36582
|
+
pagingMetadata?: CursorPagingMetadata$4;
|
|
36583
36583
|
}
|
|
36584
|
-
interface CursorPagingMetadata$
|
|
36584
|
+
interface CursorPagingMetadata$4 {
|
|
36585
36585
|
/** Number of items returned in the response. */
|
|
36586
36586
|
count?: number | null;
|
|
36587
36587
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
36588
|
-
cursors?: Cursors$
|
|
36588
|
+
cursors?: Cursors$4;
|
|
36589
36589
|
/**
|
|
36590
36590
|
* Whether there are more pages to retrieve following the current page.
|
|
36591
36591
|
*
|
|
@@ -36594,7 +36594,7 @@ interface CursorPagingMetadata$2 {
|
|
|
36594
36594
|
*/
|
|
36595
36595
|
hasNext?: boolean | null;
|
|
36596
36596
|
}
|
|
36597
|
-
interface Cursors$
|
|
36597
|
+
interface Cursors$4 {
|
|
36598
36598
|
/** Cursor string pointing to the next page in the list of results. */
|
|
36599
36599
|
next?: string | null;
|
|
36600
36600
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -36772,7 +36772,7 @@ interface BulkActionMetadata$4 {
|
|
|
36772
36772
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
36773
36773
|
undetailedFailures?: number;
|
|
36774
36774
|
}
|
|
36775
|
-
interface UpdateExtendedFieldsRequest {
|
|
36775
|
+
interface UpdateExtendedFieldsRequest$2 {
|
|
36776
36776
|
/** ID of the entity to update. */
|
|
36777
36777
|
_id: string;
|
|
36778
36778
|
/** Identifier for the app whose extended fields are being updated. */
|
|
@@ -36780,7 +36780,7 @@ interface UpdateExtendedFieldsRequest {
|
|
|
36780
36780
|
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
36781
36781
|
namespaceData: Record<string, any> | null;
|
|
36782
36782
|
}
|
|
36783
|
-
interface UpdateExtendedFieldsResponse {
|
|
36783
|
+
interface UpdateExtendedFieldsResponse$2 {
|
|
36784
36784
|
/** Updated DeliveryProfile. */
|
|
36785
36785
|
deliveryProfile?: DeliveryProfile;
|
|
36786
36786
|
}
|
|
@@ -36995,7 +36995,7 @@ interface ListDeliveryCarriersResponseNonNullableFields {
|
|
|
36995
36995
|
undetailedFailures: number;
|
|
36996
36996
|
};
|
|
36997
36997
|
}
|
|
36998
|
-
interface UpdateExtendedFieldsResponseNonNullableFields {
|
|
36998
|
+
interface UpdateExtendedFieldsResponseNonNullableFields$2 {
|
|
36999
36999
|
deliveryProfile?: {
|
|
37000
37000
|
deliveryRegions: {
|
|
37001
37001
|
deliveryCarriers: {
|
|
@@ -37013,7 +37013,7 @@ interface UpdateExtendedFieldsResponseNonNullableFields {
|
|
|
37013
37013
|
};
|
|
37014
37014
|
}
|
|
37015
37015
|
|
|
37016
|
-
type __PublicMethodMetaInfo$
|
|
37016
|
+
type __PublicMethodMetaInfo$6<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
37017
37017
|
getUrl: (context: any) => string;
|
|
37018
37018
|
httpMethod: K;
|
|
37019
37019
|
path: string;
|
|
@@ -37023,55 +37023,54 @@ type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
37023
37023
|
__responseType: Q;
|
|
37024
37024
|
__originalResponseType: R;
|
|
37025
37025
|
};
|
|
37026
|
-
declare function createDeliveryProfile(): __PublicMethodMetaInfo$
|
|
37027
|
-
declare function getDeliveryProfile(): __PublicMethodMetaInfo$
|
|
37026
|
+
declare function createDeliveryProfile(): __PublicMethodMetaInfo$6<'POST', {}, CreateDeliveryProfileRequest, CreateDeliveryProfileRequest$1, CreateDeliveryProfileResponse & CreateDeliveryProfileResponseNonNullableFields, CreateDeliveryProfileResponse$1 & CreateDeliveryProfileResponseNonNullableFields$1>;
|
|
37027
|
+
declare function getDeliveryProfile(): __PublicMethodMetaInfo$6<'GET', {
|
|
37028
37028
|
deliveryProfileId: string;
|
|
37029
37029
|
}, GetDeliveryProfileRequest, GetDeliveryProfileRequest$1, GetDeliveryProfileResponse & GetDeliveryProfileResponseNonNullableFields, GetDeliveryProfileResponse$1 & GetDeliveryProfileResponseNonNullableFields$1>;
|
|
37030
|
-
declare function updateDeliveryProfile(): __PublicMethodMetaInfo$
|
|
37030
|
+
declare function updateDeliveryProfile(): __PublicMethodMetaInfo$6<'PATCH', {
|
|
37031
37031
|
deliveryProfileId: string;
|
|
37032
37032
|
}, UpdateDeliveryProfileRequest, UpdateDeliveryProfileRequest$1, UpdateDeliveryProfileResponse & UpdateDeliveryProfileResponseNonNullableFields, UpdateDeliveryProfileResponse$1 & UpdateDeliveryProfileResponseNonNullableFields$1>;
|
|
37033
|
-
declare function deleteDeliveryProfile(): __PublicMethodMetaInfo$
|
|
37033
|
+
declare function deleteDeliveryProfile(): __PublicMethodMetaInfo$6<'DELETE', {
|
|
37034
37034
|
deliveryProfileId: string;
|
|
37035
37035
|
}, DeleteDeliveryProfileRequest, DeleteDeliveryProfileRequest$1, DeleteDeliveryProfileResponse, DeleteDeliveryProfileResponse$1>;
|
|
37036
|
-
declare function queryDeliveryProfiles(): __PublicMethodMetaInfo$
|
|
37037
|
-
declare function addDeliveryRegion(): __PublicMethodMetaInfo$
|
|
37036
|
+
declare function queryDeliveryProfiles(): __PublicMethodMetaInfo$6<'GET', {}, QueryDeliveryProfilesRequest, QueryDeliveryProfilesRequest$1, QueryDeliveryProfilesResponse & QueryDeliveryProfilesResponseNonNullableFields, QueryDeliveryProfilesResponse$1 & QueryDeliveryProfilesResponseNonNullableFields$1>;
|
|
37037
|
+
declare function addDeliveryRegion(): __PublicMethodMetaInfo$6<'POST', {
|
|
37038
37038
|
deliveryProfileId: string;
|
|
37039
37039
|
}, AddDeliveryRegionRequest, AddDeliveryRegionRequest$1, AddDeliveryRegionResponse & AddDeliveryRegionResponseNonNullableFields, AddDeliveryRegionResponse$1 & AddDeliveryRegionResponseNonNullableFields$1>;
|
|
37040
|
-
declare function updateDeliveryRegion(): __PublicMethodMetaInfo$
|
|
37040
|
+
declare function updateDeliveryRegion(): __PublicMethodMetaInfo$6<'PATCH', {
|
|
37041
37041
|
deliveryProfileId: string;
|
|
37042
37042
|
deliveryRegionId: string;
|
|
37043
37043
|
}, UpdateDeliveryRegionRequest, UpdateDeliveryRegionRequest$1, UpdateDeliveryRegionResponse & UpdateDeliveryRegionResponseNonNullableFields, UpdateDeliveryRegionResponse$1 & UpdateDeliveryRegionResponseNonNullableFields$1>;
|
|
37044
|
-
declare function removeDeliveryRegion(): __PublicMethodMetaInfo$
|
|
37044
|
+
declare function removeDeliveryRegion(): __PublicMethodMetaInfo$6<'DELETE', {
|
|
37045
37045
|
deliveryProfileId: string;
|
|
37046
37046
|
deliveryRegionId: string;
|
|
37047
37047
|
}, RemoveDeliveryRegionRequest, RemoveDeliveryRegionRequest$1, RemoveDeliveryRegionResponse & RemoveDeliveryRegionResponseNonNullableFields, RemoveDeliveryRegionResponse$1 & RemoveDeliveryRegionResponseNonNullableFields$1>;
|
|
37048
|
-
declare function addDeliveryCarrier(): __PublicMethodMetaInfo$
|
|
37049
|
-
declare function removeDeliveryCarrier(): __PublicMethodMetaInfo$
|
|
37050
|
-
declare function updateDeliveryCarrier(): __PublicMethodMetaInfo$
|
|
37051
|
-
declare function listDeliveryCarrierDetails(): __PublicMethodMetaInfo$
|
|
37052
|
-
declare function listDeliveryCarriers(): __PublicMethodMetaInfo$
|
|
37048
|
+
declare function addDeliveryCarrier(): __PublicMethodMetaInfo$6<'POST', {}, AddDeliveryCarrierRequest, AddDeliveryCarrierRequest$1, AddDeliveryCarrierResponse & AddDeliveryCarrierResponseNonNullableFields, AddDeliveryCarrierResponse$1 & AddDeliveryCarrierResponseNonNullableFields$1>;
|
|
37049
|
+
declare function removeDeliveryCarrier(): __PublicMethodMetaInfo$6<'POST', {}, RemoveDeliveryCarrierRequest, RemoveDeliveryCarrierRequest$1, RemoveDeliveryCarrierResponse & RemoveDeliveryCarrierResponseNonNullableFields, RemoveDeliveryCarrierResponse$1 & RemoveDeliveryCarrierResponseNonNullableFields$1>;
|
|
37050
|
+
declare function updateDeliveryCarrier(): __PublicMethodMetaInfo$6<'PATCH', {}, UpdateDeliveryCarrierRequest, UpdateDeliveryCarrierRequest$1, UpdateDeliveryCarrierResponse & UpdateDeliveryCarrierResponseNonNullableFields, UpdateDeliveryCarrierResponse$1 & UpdateDeliveryCarrierResponseNonNullableFields$1>;
|
|
37051
|
+
declare function listDeliveryCarrierDetails(): __PublicMethodMetaInfo$6<'GET', {}, ListDeliveryCarrierDetailsRequest, ListDeliveryCarrierDetailsRequest$1, ListDeliveryCarrierDetailsResponse & ListDeliveryCarrierDetailsResponseNonNullableFields, ListDeliveryCarrierDetailsResponse$1 & ListDeliveryCarrierDetailsResponseNonNullableFields$1>;
|
|
37052
|
+
declare function listDeliveryCarriers(): __PublicMethodMetaInfo$6<'POST', {
|
|
37053
37053
|
deliveryProfileId: string;
|
|
37054
37054
|
}, ListDeliveryCarriersRequest, ListDeliveryCarriersRequest$1, ListDeliveryCarriersResponse & ListDeliveryCarriersResponseNonNullableFields, ListDeliveryCarriersResponse$1 & ListDeliveryCarriersResponseNonNullableFields$1>;
|
|
37055
|
-
declare function updateExtendedFields(): __PublicMethodMetaInfo$
|
|
37055
|
+
declare function updateExtendedFields$1(): __PublicMethodMetaInfo$6<'POST', {
|
|
37056
37056
|
id: string;
|
|
37057
|
-
}, UpdateExtendedFieldsRequest, UpdateExtendedFieldsRequest$
|
|
37057
|
+
}, UpdateExtendedFieldsRequest$2, UpdateExtendedFieldsRequest$3, UpdateExtendedFieldsResponse$2 & UpdateExtendedFieldsResponseNonNullableFields$2, UpdateExtendedFieldsResponse$3 & UpdateExtendedFieldsResponseNonNullableFields$3>;
|
|
37058
37058
|
|
|
37059
|
-
declare const meta$
|
|
37060
|
-
declare const meta$
|
|
37061
|
-
declare const meta$
|
|
37062
|
-
declare const meta$
|
|
37063
|
-
declare const meta$
|
|
37064
|
-
declare const meta$
|
|
37065
|
-
declare const meta$
|
|
37066
|
-
declare const meta$
|
|
37067
|
-
declare const meta$
|
|
37068
|
-
declare const meta$
|
|
37069
|
-
declare const meta$
|
|
37070
|
-
declare const meta$
|
|
37071
|
-
declare const meta$
|
|
37072
|
-
declare
|
|
37073
|
-
|
|
37074
|
-
export { type __PublicMethodMetaInfo$5 as __PublicMethodMetaInfo, meta$5_addDeliveryCarrier as addDeliveryCarrier, meta$5_addDeliveryRegion as addDeliveryRegion, meta$5_createDeliveryProfile as createDeliveryProfile, meta$5_deleteDeliveryProfile as deleteDeliveryProfile, meta$5_getDeliveryProfile as getDeliveryProfile, meta$5_listDeliveryCarrierDetails as listDeliveryCarrierDetails, meta$5_listDeliveryCarriers as listDeliveryCarriers, meta$5_queryDeliveryProfiles as queryDeliveryProfiles, meta$5_removeDeliveryCarrier as removeDeliveryCarrier, meta$5_removeDeliveryRegion as removeDeliveryRegion, meta$5_updateDeliveryCarrier as updateDeliveryCarrier, meta$5_updateDeliveryProfile as updateDeliveryProfile, meta$5_updateDeliveryRegion as updateDeliveryRegion, meta$5_updateExtendedFields as updateExtendedFields };
|
|
37059
|
+
declare const meta$6_addDeliveryCarrier: typeof addDeliveryCarrier;
|
|
37060
|
+
declare const meta$6_addDeliveryRegion: typeof addDeliveryRegion;
|
|
37061
|
+
declare const meta$6_createDeliveryProfile: typeof createDeliveryProfile;
|
|
37062
|
+
declare const meta$6_deleteDeliveryProfile: typeof deleteDeliveryProfile;
|
|
37063
|
+
declare const meta$6_getDeliveryProfile: typeof getDeliveryProfile;
|
|
37064
|
+
declare const meta$6_listDeliveryCarrierDetails: typeof listDeliveryCarrierDetails;
|
|
37065
|
+
declare const meta$6_listDeliveryCarriers: typeof listDeliveryCarriers;
|
|
37066
|
+
declare const meta$6_queryDeliveryProfiles: typeof queryDeliveryProfiles;
|
|
37067
|
+
declare const meta$6_removeDeliveryCarrier: typeof removeDeliveryCarrier;
|
|
37068
|
+
declare const meta$6_removeDeliveryRegion: typeof removeDeliveryRegion;
|
|
37069
|
+
declare const meta$6_updateDeliveryCarrier: typeof updateDeliveryCarrier;
|
|
37070
|
+
declare const meta$6_updateDeliveryProfile: typeof updateDeliveryProfile;
|
|
37071
|
+
declare const meta$6_updateDeliveryRegion: typeof updateDeliveryRegion;
|
|
37072
|
+
declare namespace meta$6 {
|
|
37073
|
+
export { type __PublicMethodMetaInfo$6 as __PublicMethodMetaInfo, meta$6_addDeliveryCarrier as addDeliveryCarrier, meta$6_addDeliveryRegion as addDeliveryRegion, meta$6_createDeliveryProfile as createDeliveryProfile, meta$6_deleteDeliveryProfile as deleteDeliveryProfile, meta$6_getDeliveryProfile as getDeliveryProfile, meta$6_listDeliveryCarrierDetails as listDeliveryCarrierDetails, meta$6_listDeliveryCarriers as listDeliveryCarriers, meta$6_queryDeliveryProfiles as queryDeliveryProfiles, meta$6_removeDeliveryCarrier as removeDeliveryCarrier, meta$6_removeDeliveryRegion as removeDeliveryRegion, meta$6_updateDeliveryCarrier as updateDeliveryCarrier, meta$6_updateDeliveryProfile as updateDeliveryProfile, meta$6_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$1 as updateExtendedFields };
|
|
37075
37074
|
}
|
|
37076
37075
|
|
|
37077
37076
|
interface OrderWithFulfillments$1 {
|
|
@@ -37573,7 +37572,7 @@ interface BulkCreateFulfillmentResponseNonNullableFields {
|
|
|
37573
37572
|
};
|
|
37574
37573
|
}
|
|
37575
37574
|
|
|
37576
|
-
type __PublicMethodMetaInfo$
|
|
37575
|
+
type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
37577
37576
|
getUrl: (context: any) => string;
|
|
37578
37577
|
httpMethod: K;
|
|
37579
37578
|
path: string;
|
|
@@ -37583,31 +37582,31 @@ type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
37583
37582
|
__responseType: Q;
|
|
37584
37583
|
__originalResponseType: R;
|
|
37585
37584
|
};
|
|
37586
|
-
declare function listFulfillmentsForSingleOrder(): __PublicMethodMetaInfo$
|
|
37585
|
+
declare function listFulfillmentsForSingleOrder(): __PublicMethodMetaInfo$5<'GET', {
|
|
37587
37586
|
orderId: string;
|
|
37588
37587
|
}, ListFulfillmentsForSingleOrderRequest, ListFulfillmentsForSingleOrderRequest$1, ListFulfillmentsForSingleOrderResponse & ListFulfillmentsForSingleOrderResponseNonNullableFields, ListFulfillmentsForSingleOrderResponse$1 & ListFulfillmentsForSingleOrderResponseNonNullableFields$1>;
|
|
37589
|
-
declare function listFulfillmentsForMultipleOrders(): __PublicMethodMetaInfo$
|
|
37590
|
-
declare function createFulfillment(): __PublicMethodMetaInfo$
|
|
37588
|
+
declare function listFulfillmentsForMultipleOrders(): __PublicMethodMetaInfo$5<'POST', {}, ListFulfillmentsForMultipleOrdersRequest, ListFulfillmentsForMultipleOrdersRequest$1, ListFulfillmentsForMultipleOrdersResponse & ListFulfillmentsForMultipleOrdersResponseNonNullableFields, ListFulfillmentsForMultipleOrdersResponse$1 & ListFulfillmentsForMultipleOrdersResponseNonNullableFields$1>;
|
|
37589
|
+
declare function createFulfillment(): __PublicMethodMetaInfo$5<'POST', {
|
|
37591
37590
|
orderId: string;
|
|
37592
37591
|
}, CreateFulfillmentRequest, CreateFulfillmentRequest$1, CreateFulfillmentResponse & CreateFulfillmentResponseNonNullableFields, CreateFulfillmentResponse$1 & CreateFulfillmentResponseNonNullableFields$1>;
|
|
37593
|
-
declare function updateFulfillment(): __PublicMethodMetaInfo$
|
|
37592
|
+
declare function updateFulfillment(): __PublicMethodMetaInfo$5<'PATCH', {
|
|
37594
37593
|
fulfillmentId: string;
|
|
37595
37594
|
orderId: string;
|
|
37596
37595
|
}, UpdateFulfillmentRequest, UpdateFulfillmentRequest$1, UpdateFulfillmentResponse & UpdateFulfillmentResponseNonNullableFields, UpdateFulfillmentResponse$1 & UpdateFulfillmentResponseNonNullableFields$1>;
|
|
37597
|
-
declare function deleteFulfillment(): __PublicMethodMetaInfo$
|
|
37596
|
+
declare function deleteFulfillment(): __PublicMethodMetaInfo$5<'DELETE', {
|
|
37598
37597
|
fulfillmentId: string;
|
|
37599
37598
|
orderId: string;
|
|
37600
37599
|
}, DeleteFulfillmentRequest, DeleteFulfillmentRequest$1, DeleteFulfillmentResponse & DeleteFulfillmentResponseNonNullableFields, DeleteFulfillmentResponse$1 & DeleteFulfillmentResponseNonNullableFields$1>;
|
|
37601
|
-
declare function bulkCreateFulfillments(): __PublicMethodMetaInfo$
|
|
37600
|
+
declare function bulkCreateFulfillments(): __PublicMethodMetaInfo$5<'POST', {}, BulkCreateFulfillmentRequest, BulkCreateFulfillmentRequest$1, BulkCreateFulfillmentResponse & BulkCreateFulfillmentResponseNonNullableFields, BulkCreateFulfillmentResponse$1 & BulkCreateFulfillmentResponseNonNullableFields$1>;
|
|
37602
37601
|
|
|
37603
|
-
declare const meta$
|
|
37604
|
-
declare const meta$
|
|
37605
|
-
declare const meta$
|
|
37606
|
-
declare const meta$
|
|
37607
|
-
declare const meta$
|
|
37608
|
-
declare const meta$
|
|
37609
|
-
declare namespace meta$
|
|
37610
|
-
export { type __PublicMethodMetaInfo$
|
|
37602
|
+
declare const meta$5_bulkCreateFulfillments: typeof bulkCreateFulfillments;
|
|
37603
|
+
declare const meta$5_createFulfillment: typeof createFulfillment;
|
|
37604
|
+
declare const meta$5_deleteFulfillment: typeof deleteFulfillment;
|
|
37605
|
+
declare const meta$5_listFulfillmentsForMultipleOrders: typeof listFulfillmentsForMultipleOrders;
|
|
37606
|
+
declare const meta$5_listFulfillmentsForSingleOrder: typeof listFulfillmentsForSingleOrder;
|
|
37607
|
+
declare const meta$5_updateFulfillment: typeof updateFulfillment;
|
|
37608
|
+
declare namespace meta$5 {
|
|
37609
|
+
export { type __PublicMethodMetaInfo$5 as __PublicMethodMetaInfo, meta$5_bulkCreateFulfillments as bulkCreateFulfillments, meta$5_createFulfillment as createFulfillment, meta$5_deleteFulfillment as deleteFulfillment, meta$5_listFulfillmentsForMultipleOrders as listFulfillmentsForMultipleOrders, meta$5_listFulfillmentsForSingleOrder as listFulfillmentsForSingleOrder, meta$5_updateFulfillment as updateFulfillment };
|
|
37611
37610
|
}
|
|
37612
37611
|
|
|
37613
37612
|
interface Order$1 {
|
|
@@ -37737,7 +37736,7 @@ interface Order$1 {
|
|
|
37737
37736
|
*
|
|
37738
37737
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the Wix Dev Center before they can be accessed with API calls.
|
|
37739
37738
|
*/
|
|
37740
|
-
extendedFields?: ExtendedFields$
|
|
37739
|
+
extendedFields?: ExtendedFields$3;
|
|
37741
37740
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
37742
37741
|
purchaseFlowId?: string | null;
|
|
37743
37742
|
/**
|
|
@@ -38190,12 +38189,12 @@ interface PriceSummary$1 {
|
|
|
38190
38189
|
/** Billing Info and shipping details */
|
|
38191
38190
|
interface AddressWithContact$1 {
|
|
38192
38191
|
/** Address. */
|
|
38193
|
-
address?: Address$
|
|
38192
|
+
address?: Address$3;
|
|
38194
38193
|
/** Contact details. */
|
|
38195
38194
|
contactDetails?: FullAddressContactDetails$1;
|
|
38196
38195
|
}
|
|
38197
38196
|
/** Physical address */
|
|
38198
|
-
interface Address$
|
|
38197
|
+
interface Address$3 {
|
|
38199
38198
|
/** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
|
|
38200
38199
|
country?: string | null;
|
|
38201
38200
|
/** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format. */
|
|
@@ -38205,7 +38204,7 @@ interface Address$1 {
|
|
|
38205
38204
|
/** Postal or zip code. */
|
|
38206
38205
|
postalCode?: string | null;
|
|
38207
38206
|
/** Street address. */
|
|
38208
|
-
streetAddress?: StreetAddress$
|
|
38207
|
+
streetAddress?: StreetAddress$3;
|
|
38209
38208
|
/** Main address line (usually street name and number). */
|
|
38210
38209
|
addressLine?: string | null;
|
|
38211
38210
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
@@ -38221,7 +38220,7 @@ interface Address$1 {
|
|
|
38221
38220
|
*/
|
|
38222
38221
|
subdivisionFullname?: string | null;
|
|
38223
38222
|
}
|
|
38224
|
-
interface StreetAddress$
|
|
38223
|
+
interface StreetAddress$3 {
|
|
38225
38224
|
/** Street number. */
|
|
38226
38225
|
number?: string;
|
|
38227
38226
|
/** Street name. */
|
|
@@ -38318,7 +38317,7 @@ interface PickupAddress$1 {
|
|
|
38318
38317
|
/** Postal or zip code. */
|
|
38319
38318
|
postalCode?: string | null;
|
|
38320
38319
|
/** Street address object, with number, name, and apartment number in separate fields. */
|
|
38321
|
-
streetAddress?: StreetAddress$
|
|
38320
|
+
streetAddress?: StreetAddress$3;
|
|
38322
38321
|
/** Main address line (usually street name and number). */
|
|
38323
38322
|
addressLine?: string | null;
|
|
38324
38323
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
@@ -38711,7 +38710,7 @@ interface AdditionalFee$1 {
|
|
|
38711
38710
|
*/
|
|
38712
38711
|
lineItemIds?: string[];
|
|
38713
38712
|
}
|
|
38714
|
-
interface ExtendedFields$
|
|
38713
|
+
interface ExtendedFields$3 {
|
|
38715
38714
|
/**
|
|
38716
38715
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
38717
38716
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -38722,17 +38721,17 @@ interface ExtendedFields$1 {
|
|
|
38722
38721
|
*/
|
|
38723
38722
|
namespaces?: Record<string, Record<string, any>>;
|
|
38724
38723
|
}
|
|
38725
|
-
interface Sorting$
|
|
38724
|
+
interface Sorting$3 {
|
|
38726
38725
|
/** Name of the field to sort by. */
|
|
38727
38726
|
fieldName?: string;
|
|
38728
38727
|
/** Sort order. */
|
|
38729
|
-
order?: SortOrder$
|
|
38728
|
+
order?: SortOrder$3;
|
|
38730
38729
|
}
|
|
38731
|
-
declare enum SortOrder$
|
|
38730
|
+
declare enum SortOrder$3 {
|
|
38732
38731
|
ASC = "ASC",
|
|
38733
38732
|
DESC = "DESC"
|
|
38734
38733
|
}
|
|
38735
|
-
interface CursorPaging$
|
|
38734
|
+
interface CursorPaging$3 {
|
|
38736
38735
|
/** Maximum number of items to return in the results. */
|
|
38737
38736
|
limit?: number | null;
|
|
38738
38737
|
/**
|
|
@@ -38743,7 +38742,7 @@ interface CursorPaging$1 {
|
|
|
38743
38742
|
*/
|
|
38744
38743
|
cursor?: string | null;
|
|
38745
38744
|
}
|
|
38746
|
-
interface Cursors$
|
|
38745
|
+
interface Cursors$3 {
|
|
38747
38746
|
/** Cursor string pointing to the next page in the list of results. */
|
|
38748
38747
|
next?: string | null;
|
|
38749
38748
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -38783,7 +38782,7 @@ interface CursorSearch$1 extends CursorSearchPagingMethodOneOf$1 {
|
|
|
38783
38782
|
* Cursor paging options.
|
|
38784
38783
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
38785
38784
|
*/
|
|
38786
|
-
cursorPaging?: CursorPaging$
|
|
38785
|
+
cursorPaging?: CursorPaging$3;
|
|
38787
38786
|
/**
|
|
38788
38787
|
* Filter object.
|
|
38789
38788
|
*
|
|
@@ -38803,7 +38802,7 @@ interface CursorSearch$1 extends CursorSearchPagingMethodOneOf$1 {
|
|
|
38803
38802
|
*
|
|
38804
38803
|
* Learn more about the [sort format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
38805
38804
|
*/
|
|
38806
|
-
sort?: Sorting$
|
|
38805
|
+
sort?: Sorting$3[];
|
|
38807
38806
|
}
|
|
38808
38807
|
/** @oneof */
|
|
38809
38808
|
interface CursorSearchPagingMethodOneOf$1 {
|
|
@@ -38811,19 +38810,19 @@ interface CursorSearchPagingMethodOneOf$1 {
|
|
|
38811
38810
|
* Cursor paging options.
|
|
38812
38811
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
38813
38812
|
*/
|
|
38814
|
-
cursorPaging?: CursorPaging$
|
|
38813
|
+
cursorPaging?: CursorPaging$3;
|
|
38815
38814
|
}
|
|
38816
38815
|
interface SearchOrdersResponse$1 {
|
|
38817
38816
|
/** List of orders. */
|
|
38818
38817
|
orders?: Order$1[];
|
|
38819
38818
|
/** Details on the paged set of results returned. */
|
|
38820
|
-
metadata?: CursorPagingMetadata$
|
|
38819
|
+
metadata?: CursorPagingMetadata$3;
|
|
38821
38820
|
}
|
|
38822
|
-
interface CursorPagingMetadata$
|
|
38821
|
+
interface CursorPagingMetadata$3 {
|
|
38823
38822
|
/** Number of items returned in the response. */
|
|
38824
38823
|
count?: number | null;
|
|
38825
38824
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
38826
|
-
cursors?: Cursors$
|
|
38825
|
+
cursors?: Cursors$3;
|
|
38827
38826
|
/**
|
|
38828
38827
|
* Whether there are more pages to retrieve following the current page.
|
|
38829
38828
|
*
|
|
@@ -42068,7 +42067,7 @@ interface Order {
|
|
|
42068
42067
|
*
|
|
42069
42068
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the Wix Dev Center before they can be accessed with API calls.
|
|
42070
42069
|
*/
|
|
42071
|
-
extendedFields?: ExtendedFields;
|
|
42070
|
+
extendedFields?: ExtendedFields$2;
|
|
42072
42071
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
42073
42072
|
purchaseFlowId?: string | null;
|
|
42074
42073
|
/**
|
|
@@ -42493,12 +42492,12 @@ interface PriceSummary {
|
|
|
42493
42492
|
/** Billing Info and shipping details */
|
|
42494
42493
|
interface AddressWithContact {
|
|
42495
42494
|
/** Address. */
|
|
42496
|
-
address?: Address;
|
|
42495
|
+
address?: Address$2;
|
|
42497
42496
|
/** Contact details. */
|
|
42498
42497
|
contactDetails?: FullAddressContactDetails;
|
|
42499
42498
|
}
|
|
42500
42499
|
/** Physical address */
|
|
42501
|
-
interface Address {
|
|
42500
|
+
interface Address$2 {
|
|
42502
42501
|
/** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
|
|
42503
42502
|
country?: string | null;
|
|
42504
42503
|
/** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format. */
|
|
@@ -42508,13 +42507,13 @@ interface Address {
|
|
|
42508
42507
|
/** Postal or zip code. */
|
|
42509
42508
|
postalCode?: string | null;
|
|
42510
42509
|
/** Street address. */
|
|
42511
|
-
streetAddress?: StreetAddress;
|
|
42510
|
+
streetAddress?: StreetAddress$2;
|
|
42512
42511
|
/** Main address line (usually street name and number). */
|
|
42513
42512
|
addressLine1?: string | null;
|
|
42514
42513
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
42515
42514
|
addressLine2?: string | null;
|
|
42516
42515
|
}
|
|
42517
|
-
interface StreetAddress {
|
|
42516
|
+
interface StreetAddress$2 {
|
|
42518
42517
|
/** Street number. */
|
|
42519
42518
|
number?: string;
|
|
42520
42519
|
/** Street name. */
|
|
@@ -42611,7 +42610,7 @@ interface PickupAddress {
|
|
|
42611
42610
|
/** Postal or zip code. */
|
|
42612
42611
|
postalCode?: string | null;
|
|
42613
42612
|
/** Street address object, with number, name, and apartment number in separate fields. */
|
|
42614
|
-
streetAddress?: StreetAddress;
|
|
42613
|
+
streetAddress?: StreetAddress$2;
|
|
42615
42614
|
/** Main address line (usually street name and number). */
|
|
42616
42615
|
addressLine1?: string | null;
|
|
42617
42616
|
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
@@ -42990,7 +42989,7 @@ interface AdditionalFee {
|
|
|
42990
42989
|
*/
|
|
42991
42990
|
lineItemIds?: string[];
|
|
42992
42991
|
}
|
|
42993
|
-
interface ExtendedFields {
|
|
42992
|
+
interface ExtendedFields$2 {
|
|
42994
42993
|
/**
|
|
42995
42994
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
42996
42995
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -43001,17 +43000,17 @@ interface ExtendedFields {
|
|
|
43001
43000
|
*/
|
|
43002
43001
|
namespaces?: Record<string, Record<string, any>>;
|
|
43003
43002
|
}
|
|
43004
|
-
interface Sorting {
|
|
43003
|
+
interface Sorting$2 {
|
|
43005
43004
|
/** Name of the field to sort by. */
|
|
43006
43005
|
fieldName?: string;
|
|
43007
43006
|
/** Sort order. */
|
|
43008
|
-
order?: SortOrder;
|
|
43007
|
+
order?: SortOrder$2;
|
|
43009
43008
|
}
|
|
43010
|
-
declare enum SortOrder {
|
|
43009
|
+
declare enum SortOrder$2 {
|
|
43011
43010
|
ASC = "ASC",
|
|
43012
43011
|
DESC = "DESC"
|
|
43013
43012
|
}
|
|
43014
|
-
interface CursorPaging {
|
|
43013
|
+
interface CursorPaging$2 {
|
|
43015
43014
|
/** Maximum number of items to return in the results. */
|
|
43016
43015
|
limit?: number | null;
|
|
43017
43016
|
/**
|
|
@@ -43022,7 +43021,7 @@ interface CursorPaging {
|
|
|
43022
43021
|
*/
|
|
43023
43022
|
cursor?: string | null;
|
|
43024
43023
|
}
|
|
43025
|
-
interface Cursors {
|
|
43024
|
+
interface Cursors$2 {
|
|
43026
43025
|
/** Cursor string pointing to the next page in the list of results. */
|
|
43027
43026
|
next?: string | null;
|
|
43028
43027
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -43062,7 +43061,7 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
43062
43061
|
* Cursor paging options.
|
|
43063
43062
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
43064
43063
|
*/
|
|
43065
|
-
cursorPaging?: CursorPaging;
|
|
43064
|
+
cursorPaging?: CursorPaging$2;
|
|
43066
43065
|
/**
|
|
43067
43066
|
* Filter object.
|
|
43068
43067
|
*
|
|
@@ -43082,7 +43081,7 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
43082
43081
|
*
|
|
43083
43082
|
* Learn more about the [sort format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
43084
43083
|
*/
|
|
43085
|
-
sort?: Sorting[];
|
|
43084
|
+
sort?: Sorting$2[];
|
|
43086
43085
|
}
|
|
43087
43086
|
/** @oneof */
|
|
43088
43087
|
interface CursorSearchPagingMethodOneOf {
|
|
@@ -43090,19 +43089,19 @@ interface CursorSearchPagingMethodOneOf {
|
|
|
43090
43089
|
* Cursor paging options.
|
|
43091
43090
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
43092
43091
|
*/
|
|
43093
|
-
cursorPaging?: CursorPaging;
|
|
43092
|
+
cursorPaging?: CursorPaging$2;
|
|
43094
43093
|
}
|
|
43095
43094
|
interface SearchOrdersResponse {
|
|
43096
43095
|
/** List of orders. */
|
|
43097
43096
|
orders?: Order[];
|
|
43098
43097
|
/** Details on the paged set of results returned. */
|
|
43099
|
-
metadata?: CursorPagingMetadata;
|
|
43098
|
+
metadata?: CursorPagingMetadata$2;
|
|
43100
43099
|
}
|
|
43101
|
-
interface CursorPagingMetadata {
|
|
43100
|
+
interface CursorPagingMetadata$2 {
|
|
43102
43101
|
/** Number of items returned in the response. */
|
|
43103
43102
|
count?: number | null;
|
|
43104
43103
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
43105
|
-
cursors?: Cursors;
|
|
43104
|
+
cursors?: Cursors$2;
|
|
43106
43105
|
/**
|
|
43107
43106
|
* Whether there are more pages to retrieve following the current page.
|
|
43108
43107
|
*
|
|
@@ -44794,7 +44793,7 @@ interface CancelOrderResponseNonNullableFields {
|
|
|
44794
44793
|
};
|
|
44795
44794
|
}
|
|
44796
44795
|
|
|
44797
|
-
type __PublicMethodMetaInfo$
|
|
44796
|
+
type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
44798
44797
|
getUrl: (context: any) => string;
|
|
44799
44798
|
httpMethod: K;
|
|
44800
44799
|
path: string;
|
|
@@ -44804,29 +44803,29 @@ type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
44804
44803
|
__responseType: Q;
|
|
44805
44804
|
__originalResponseType: R;
|
|
44806
44805
|
};
|
|
44807
|
-
declare function getPaymentCollectabilityStatus(): __PublicMethodMetaInfo$
|
|
44806
|
+
declare function getPaymentCollectabilityStatus(): __PublicMethodMetaInfo$4<'GET', {
|
|
44808
44807
|
ecomOrderId: string;
|
|
44809
44808
|
}, GetPaymentCollectabilityStatusRequest, GetPaymentCollectabilityStatusRequest$1, GetPaymentCollectabilityStatusResponse & GetPaymentCollectabilityStatusResponseNonNullableFields, GetPaymentCollectabilityStatusResponse$1 & GetPaymentCollectabilityStatusResponseNonNullableFields$1>;
|
|
44810
|
-
declare function getOrder(): __PublicMethodMetaInfo$
|
|
44809
|
+
declare function getOrder(): __PublicMethodMetaInfo$4<'GET', {
|
|
44811
44810
|
id: string;
|
|
44812
44811
|
}, GetOrderRequest, GetOrderRequest$1, GetOrderResponse & GetOrderResponseNonNullableFields, GetOrderResponse$1 & GetOrderResponseNonNullableFields$1>;
|
|
44813
|
-
declare function searchOrders(): __PublicMethodMetaInfo$
|
|
44814
|
-
declare function createOrder(): __PublicMethodMetaInfo$
|
|
44815
|
-
declare function updateOrder(): __PublicMethodMetaInfo$
|
|
44812
|
+
declare function searchOrders(): __PublicMethodMetaInfo$4<'POST', {}, SearchOrdersRequest, SearchOrdersRequest$1, SearchOrdersResponse & SearchOrdersResponseNonNullableFields, SearchOrdersResponse$1 & SearchOrdersResponseNonNullableFields$1>;
|
|
44813
|
+
declare function createOrder(): __PublicMethodMetaInfo$4<'POST', {}, CreateOrderRequest, CreateOrderRequest$1, CreateOrderResponse & CreateOrderResponseNonNullableFields, CreateOrderResponse$1 & CreateOrderResponseNonNullableFields$1>;
|
|
44814
|
+
declare function updateOrder(): __PublicMethodMetaInfo$4<'PATCH', {
|
|
44816
44815
|
orderId: string;
|
|
44817
44816
|
}, UpdateOrderRequest, UpdateOrderRequest$1, UpdateOrderResponse & UpdateOrderResponseNonNullableFields, UpdateOrderResponse$1 & UpdateOrderResponseNonNullableFields$1>;
|
|
44818
|
-
declare function cancelOrder(): __PublicMethodMetaInfo$
|
|
44817
|
+
declare function cancelOrder(): __PublicMethodMetaInfo$4<'POST', {
|
|
44819
44818
|
id: string;
|
|
44820
44819
|
}, CancelOrderRequest, CancelOrderRequest$1, CancelOrderResponse & CancelOrderResponseNonNullableFields, CancelOrderResponse$1 & CancelOrderResponseNonNullableFields$1>;
|
|
44821
44820
|
|
|
44822
|
-
declare const meta$
|
|
44823
|
-
declare const meta$
|
|
44824
|
-
declare const meta$
|
|
44825
|
-
declare const meta$
|
|
44826
|
-
declare const meta$
|
|
44827
|
-
declare const meta$
|
|
44828
|
-
declare namespace meta$
|
|
44829
|
-
export { type __PublicMethodMetaInfo$
|
|
44821
|
+
declare const meta$4_cancelOrder: typeof cancelOrder;
|
|
44822
|
+
declare const meta$4_createOrder: typeof createOrder;
|
|
44823
|
+
declare const meta$4_getOrder: typeof getOrder;
|
|
44824
|
+
declare const meta$4_getPaymentCollectabilityStatus: typeof getPaymentCollectabilityStatus;
|
|
44825
|
+
declare const meta$4_searchOrders: typeof searchOrders;
|
|
44826
|
+
declare const meta$4_updateOrder: typeof updateOrder;
|
|
44827
|
+
declare namespace meta$4 {
|
|
44828
|
+
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_cancelOrder as cancelOrder, meta$4_createOrder as createOrder, meta$4_getOrder as getOrder, meta$4_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, meta$4_searchOrders as searchOrders, meta$4_updateOrder as updateOrder };
|
|
44830
44829
|
}
|
|
44831
44830
|
|
|
44832
44831
|
interface OrderTransactions$1 {
|
|
@@ -45963,7 +45962,7 @@ interface BulkUpdatePaymentStatusesResponseNonNullableFields {
|
|
|
45963
45962
|
};
|
|
45964
45963
|
}
|
|
45965
45964
|
|
|
45966
|
-
type __PublicMethodMetaInfo$
|
|
45965
|
+
type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
45967
45966
|
getUrl: (context: any) => string;
|
|
45968
45967
|
httpMethod: K;
|
|
45969
45968
|
path: string;
|
|
@@ -45973,26 +45972,26 @@ type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
45973
45972
|
__responseType: Q;
|
|
45974
45973
|
__originalResponseType: R;
|
|
45975
45974
|
};
|
|
45976
|
-
declare function listTransactionsForSingleOrder(): __PublicMethodMetaInfo$
|
|
45975
|
+
declare function listTransactionsForSingleOrder(): __PublicMethodMetaInfo$3<'GET', {
|
|
45977
45976
|
orderId: string;
|
|
45978
45977
|
}, ListTransactionsForSingleOrderRequest, ListTransactionsForSingleOrderRequest$1, ListTransactionsForSingleOrderResponse & ListTransactionsForSingleOrderResponseNonNullableFields, ListTransactionsForSingleOrderResponse$1 & ListTransactionsForSingleOrderResponseNonNullableFields$1>;
|
|
45979
|
-
declare function listTransactionsForMultipleOrders(): __PublicMethodMetaInfo$
|
|
45980
|
-
declare function addPayments(): __PublicMethodMetaInfo$
|
|
45978
|
+
declare function listTransactionsForMultipleOrders(): __PublicMethodMetaInfo$3<'POST', {}, ListTransactionsForMultipleOrdersRequest, ListTransactionsForMultipleOrdersRequest$1, ListTransactionsForMultipleOrdersResponse & ListTransactionsForMultipleOrdersResponseNonNullableFields, ListTransactionsForMultipleOrdersResponse$1 & ListTransactionsForMultipleOrdersResponseNonNullableFields$1>;
|
|
45979
|
+
declare function addPayments(): __PublicMethodMetaInfo$3<'POST', {
|
|
45981
45980
|
orderId: string;
|
|
45982
45981
|
}, AddPaymentsRequest, AddPaymentsRequest$1, AddPaymentsResponse & AddPaymentsResponseNonNullableFields, AddPaymentsResponse$1 & AddPaymentsResponseNonNullableFields$1>;
|
|
45983
|
-
declare function updatePaymentStatus(): __PublicMethodMetaInfo$
|
|
45982
|
+
declare function updatePaymentStatus(): __PublicMethodMetaInfo$3<'POST', {
|
|
45984
45983
|
paymentId: string;
|
|
45985
45984
|
orderId: string;
|
|
45986
45985
|
}, UpdatePaymentStatusRequest, UpdatePaymentStatusRequest$1, UpdatePaymentStatusResponse & UpdatePaymentStatusResponseNonNullableFields, UpdatePaymentStatusResponse$1 & UpdatePaymentStatusResponseNonNullableFields$1>;
|
|
45987
|
-
declare function bulkUpdatePaymentStatuses(): __PublicMethodMetaInfo$
|
|
45986
|
+
declare function bulkUpdatePaymentStatuses(): __PublicMethodMetaInfo$3<'POST', {}, BulkUpdatePaymentStatusesRequest, BulkUpdatePaymentStatusesRequest$1, BulkUpdatePaymentStatusesResponse & BulkUpdatePaymentStatusesResponseNonNullableFields, BulkUpdatePaymentStatusesResponse$1 & BulkUpdatePaymentStatusesResponseNonNullableFields$1>;
|
|
45988
45987
|
|
|
45989
|
-
declare const meta$
|
|
45990
|
-
declare const meta$
|
|
45991
|
-
declare const meta$
|
|
45992
|
-
declare const meta$
|
|
45993
|
-
declare const meta$
|
|
45994
|
-
declare namespace meta$
|
|
45995
|
-
export { type __PublicMethodMetaInfo$
|
|
45988
|
+
declare const meta$3_addPayments: typeof addPayments;
|
|
45989
|
+
declare const meta$3_bulkUpdatePaymentStatuses: typeof bulkUpdatePaymentStatuses;
|
|
45990
|
+
declare const meta$3_listTransactionsForMultipleOrders: typeof listTransactionsForMultipleOrders;
|
|
45991
|
+
declare const meta$3_listTransactionsForSingleOrder: typeof listTransactionsForSingleOrder;
|
|
45992
|
+
declare const meta$3_updatePaymentStatus: typeof updatePaymentStatus;
|
|
45993
|
+
declare namespace meta$3 {
|
|
45994
|
+
export { type __PublicMethodMetaInfo$3 as __PublicMethodMetaInfo, meta$3_addPayments as addPayments, meta$3_bulkUpdatePaymentStatuses as bulkUpdatePaymentStatuses, meta$3_listTransactionsForMultipleOrders as listTransactionsForMultipleOrders, meta$3_listTransactionsForSingleOrder as listTransactionsForSingleOrder, meta$3_updatePaymentStatus as updatePaymentStatus };
|
|
45996
45995
|
}
|
|
45997
45996
|
|
|
45998
45997
|
interface OrdersSettings$1 {
|
|
@@ -46110,6 +46109,914 @@ interface UpdateOrdersSettingsResponseNonNullableFields {
|
|
|
46110
46109
|
};
|
|
46111
46110
|
}
|
|
46112
46111
|
|
|
46112
|
+
type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
46113
|
+
getUrl: (context: any) => string;
|
|
46114
|
+
httpMethod: K;
|
|
46115
|
+
path: string;
|
|
46116
|
+
pathParams: M;
|
|
46117
|
+
__requestType: T;
|
|
46118
|
+
__originalRequestType: S;
|
|
46119
|
+
__responseType: Q;
|
|
46120
|
+
__originalResponseType: R;
|
|
46121
|
+
};
|
|
46122
|
+
declare function getOrdersSettings(): __PublicMethodMetaInfo$2<'GET', {}, GetOrdersSettingsRequest, GetOrdersSettingsRequest$1, GetOrdersSettingsResponse & GetOrdersSettingsResponseNonNullableFields, GetOrdersSettingsResponse$1 & GetOrdersSettingsResponseNonNullableFields$1>;
|
|
46123
|
+
declare function updateOrdersSettings(): __PublicMethodMetaInfo$2<'PATCH', {}, UpdateOrdersSettingsRequest, UpdateOrdersSettingsRequest$1, UpdateOrdersSettingsResponse & UpdateOrdersSettingsResponseNonNullableFields, UpdateOrdersSettingsResponse$1 & UpdateOrdersSettingsResponseNonNullableFields$1>;
|
|
46124
|
+
|
|
46125
|
+
declare const meta$2_getOrdersSettings: typeof getOrdersSettings;
|
|
46126
|
+
declare const meta$2_updateOrdersSettings: typeof updateOrdersSettings;
|
|
46127
|
+
declare namespace meta$2 {
|
|
46128
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_getOrdersSettings as getOrdersSettings, meta$2_updateOrdersSettings as updateOrdersSettings };
|
|
46129
|
+
}
|
|
46130
|
+
|
|
46131
|
+
interface ShippoConfiguration$1 {
|
|
46132
|
+
/**
|
|
46133
|
+
* ShippoConfiguration ID.
|
|
46134
|
+
* @readonly
|
|
46135
|
+
*/
|
|
46136
|
+
id?: string | null;
|
|
46137
|
+
/** @readonly */
|
|
46138
|
+
revision?: string | null;
|
|
46139
|
+
/**
|
|
46140
|
+
* Date and time the ShippoConfiguration was created.
|
|
46141
|
+
* @readonly
|
|
46142
|
+
*/
|
|
46143
|
+
createdDate?: Date;
|
|
46144
|
+
/**
|
|
46145
|
+
* Date and time the ShippoConfiguration was last updated.
|
|
46146
|
+
* @readonly
|
|
46147
|
+
*/
|
|
46148
|
+
updatedDate?: Date;
|
|
46149
|
+
/** Associated delivery region ID. */
|
|
46150
|
+
deliveryRegionId?: string | null;
|
|
46151
|
+
/** Settings of USPS domestic services. */
|
|
46152
|
+
domesticServices?: DomesticServiceSettings$1[];
|
|
46153
|
+
/** Settings of USPS international services. */
|
|
46154
|
+
internationalServices?: InternationalServiceSettings$1[];
|
|
46155
|
+
/** Package type. */
|
|
46156
|
+
packageType?: PackageType$1;
|
|
46157
|
+
/** Package details. */
|
|
46158
|
+
packageDetails?: PackageDetails$1;
|
|
46159
|
+
/** Location ID from OS location service. */
|
|
46160
|
+
osLocationId?: string | null;
|
|
46161
|
+
/**
|
|
46162
|
+
* Ship from address materialized from OS location.
|
|
46163
|
+
* @readonly
|
|
46164
|
+
*/
|
|
46165
|
+
shipFromAddress?: Address$1;
|
|
46166
|
+
/** Backup weight. */
|
|
46167
|
+
backupWeight?: string | null;
|
|
46168
|
+
/** Data extensions. */
|
|
46169
|
+
extendedFields?: ExtendedFields$1;
|
|
46170
|
+
}
|
|
46171
|
+
interface DomesticServiceSettings$1 {
|
|
46172
|
+
/** USPS domestic service. */
|
|
46173
|
+
service?: DomesticService$1;
|
|
46174
|
+
/** Service settings. */
|
|
46175
|
+
serviceSettings?: ServiceSettings$1;
|
|
46176
|
+
}
|
|
46177
|
+
declare enum DomesticService$1 {
|
|
46178
|
+
UNKNOWN_DOMESTIC_SERVICE = "UNKNOWN_DOMESTIC_SERVICE",
|
|
46179
|
+
GROUND_ADVANTAGE = "GROUND_ADVANTAGE",
|
|
46180
|
+
PRIORITY_MAIL = "PRIORITY_MAIL",
|
|
46181
|
+
PRIORITY_MAIL_EXPRESS = "PRIORITY_MAIL_EXPRESS"
|
|
46182
|
+
}
|
|
46183
|
+
interface ServiceSettings$1 {
|
|
46184
|
+
/** Estimated delivery time. */
|
|
46185
|
+
estimatedDeliveryTime?: string | null;
|
|
46186
|
+
/** Handling fee. */
|
|
46187
|
+
handlingFee?: HandlingFee$1;
|
|
46188
|
+
/** Amount above which free delivery is offered. */
|
|
46189
|
+
freeDeliveryMinimumAmount?: string | null;
|
|
46190
|
+
}
|
|
46191
|
+
interface HandlingFee$1 {
|
|
46192
|
+
/** Value that will be used to calculate the fee. For example, percentage fee with value 5% to calculate the fee. */
|
|
46193
|
+
value?: string;
|
|
46194
|
+
/** How to calculate the fee: fixed amount or by percentage. */
|
|
46195
|
+
calculationType?: CalculationType$1;
|
|
46196
|
+
}
|
|
46197
|
+
declare enum CalculationType$1 {
|
|
46198
|
+
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
46199
|
+
FIXED = "FIXED",
|
|
46200
|
+
PERCENTAGE = "PERCENTAGE"
|
|
46201
|
+
}
|
|
46202
|
+
interface InternationalServiceSettings$1 {
|
|
46203
|
+
/** USPS international service. */
|
|
46204
|
+
service?: InternationalService$1;
|
|
46205
|
+
/** Service settings. */
|
|
46206
|
+
serviceSettings?: ServiceSettings$1;
|
|
46207
|
+
}
|
|
46208
|
+
declare enum InternationalService$1 {
|
|
46209
|
+
UNKNOWN_INTERNATIONAL_SERVICE = "UNKNOWN_INTERNATIONAL_SERVICE",
|
|
46210
|
+
FIRST_CLASS_PACKAGE_INTERNATIONAL = "FIRST_CLASS_PACKAGE_INTERNATIONAL",
|
|
46211
|
+
PRIORITY_MAIL_INTERNATIONAL = "PRIORITY_MAIL_INTERNATIONAL",
|
|
46212
|
+
PRIORITY_MAIL_EXPRESS_INTERNATIONAL = "PRIORITY_MAIL_EXPRESS_INTERNATIONAL"
|
|
46213
|
+
}
|
|
46214
|
+
declare enum PackageType$1 {
|
|
46215
|
+
UNKNOWN_PACKAGE_TYPE = "UNKNOWN_PACKAGE_TYPE",
|
|
46216
|
+
CUSTOM = "CUSTOM",
|
|
46217
|
+
FLAT_RATE_ENVELOPE = "FLAT_RATE_ENVELOPE",
|
|
46218
|
+
PADDED_FLAT_RATE_ENVELOPE = "PADDED_FLAT_RATE_ENVELOPE",
|
|
46219
|
+
SMALL_FLAT_RATE_BOX = "SMALL_FLAT_RATE_BOX",
|
|
46220
|
+
MEDIUM_FLAT_RATE_BOX_1 = "MEDIUM_FLAT_RATE_BOX_1",
|
|
46221
|
+
MEDIUM_FLAT_RATE_BOX_2 = "MEDIUM_FLAT_RATE_BOX_2",
|
|
46222
|
+
LARGE_FLAT_RATE_BOX = "LARGE_FLAT_RATE_BOX"
|
|
46223
|
+
}
|
|
46224
|
+
interface PackageDetails$1 {
|
|
46225
|
+
/**
|
|
46226
|
+
* Package name. Must be set when package type is CUSTOM.
|
|
46227
|
+
* For other package types, it is read-only, and an exception will be thrown
|
|
46228
|
+
* if it set when creating a ShippoConfiguration.
|
|
46229
|
+
*/
|
|
46230
|
+
name?: string | null;
|
|
46231
|
+
/**
|
|
46232
|
+
* Package dimensions. Can only be set when package type is CUSTOM.
|
|
46233
|
+
* For other package types, it is read-only, and an exception will be thrown
|
|
46234
|
+
* if it set when creating a ShippoConfiguration.
|
|
46235
|
+
*/
|
|
46236
|
+
dimensions?: PackageDimensions$1;
|
|
46237
|
+
/**
|
|
46238
|
+
* Maximum number of products. Must be set when package type is NOT CUSTOM.
|
|
46239
|
+
* Otherwise, if the package type is CUSTOM, this field cannot be set and an
|
|
46240
|
+
* exception will be thrown if it is set when creating a ShippoConfiguration.
|
|
46241
|
+
*/
|
|
46242
|
+
maxNumberOfProducts?: string | null;
|
|
46243
|
+
}
|
|
46244
|
+
interface PackageDimensions$1 {
|
|
46245
|
+
/** Package length. */
|
|
46246
|
+
length?: string;
|
|
46247
|
+
/** Package width. */
|
|
46248
|
+
width?: string;
|
|
46249
|
+
/** Package height. */
|
|
46250
|
+
height?: string;
|
|
46251
|
+
}
|
|
46252
|
+
/** Physical address */
|
|
46253
|
+
interface Address$1 {
|
|
46254
|
+
/** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
|
|
46255
|
+
country?: string | null;
|
|
46256
|
+
/** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format. */
|
|
46257
|
+
subdivision?: string | null;
|
|
46258
|
+
/** City name. */
|
|
46259
|
+
city?: string | null;
|
|
46260
|
+
/** Postal or zip code. */
|
|
46261
|
+
postalCode?: string | null;
|
|
46262
|
+
/** Street address. */
|
|
46263
|
+
streetAddress?: StreetAddress$1;
|
|
46264
|
+
/** Main address line (usually street name and number). */
|
|
46265
|
+
addressLine?: string | null;
|
|
46266
|
+
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
46267
|
+
addressLine2?: string | null;
|
|
46268
|
+
/**
|
|
46269
|
+
* Country's full name.
|
|
46270
|
+
* @readonly
|
|
46271
|
+
*/
|
|
46272
|
+
countryFullname?: string | null;
|
|
46273
|
+
/**
|
|
46274
|
+
* Subdivision full-name.
|
|
46275
|
+
* @readonly
|
|
46276
|
+
*/
|
|
46277
|
+
subdivisionFullname?: string | null;
|
|
46278
|
+
}
|
|
46279
|
+
interface StreetAddress$1 {
|
|
46280
|
+
/** Street number. */
|
|
46281
|
+
number?: string;
|
|
46282
|
+
/** Street name. */
|
|
46283
|
+
name?: string;
|
|
46284
|
+
}
|
|
46285
|
+
interface ExtendedFields$1 {
|
|
46286
|
+
/**
|
|
46287
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
46288
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
46289
|
+
*
|
|
46290
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
46291
|
+
*
|
|
46292
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
46293
|
+
*/
|
|
46294
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
46295
|
+
}
|
|
46296
|
+
interface CreateShippoConfigurationRequest$1 {
|
|
46297
|
+
/** ShippoConfiguration to be created. */
|
|
46298
|
+
shippoConfiguration: ShippoConfiguration$1;
|
|
46299
|
+
backupRate?: string | null;
|
|
46300
|
+
}
|
|
46301
|
+
interface CreateShippoConfigurationResponse$1 {
|
|
46302
|
+
/** The created ShippoConfiguration. */
|
|
46303
|
+
shippoConfiguration?: ShippoConfiguration$1;
|
|
46304
|
+
}
|
|
46305
|
+
interface GetShippoConfigurationRequest$1 {
|
|
46306
|
+
/** ID of the ShippoConfiguration to retrieve. */
|
|
46307
|
+
shippoConfigurationId: string;
|
|
46308
|
+
}
|
|
46309
|
+
interface GetShippoConfigurationResponse$1 {
|
|
46310
|
+
/** The requested ShippoConfiguration. */
|
|
46311
|
+
shippoConfiguration?: ShippoConfiguration$1;
|
|
46312
|
+
}
|
|
46313
|
+
interface UpdateShippoConfigurationRequest$1 {
|
|
46314
|
+
/** ShippoConfiguration to be updated, may be partial. */
|
|
46315
|
+
shippoConfiguration: ShippoConfiguration$1;
|
|
46316
|
+
}
|
|
46317
|
+
interface UpdateShippoConfigurationResponse$1 {
|
|
46318
|
+
/** Updated ShippoConfiguration. */
|
|
46319
|
+
shippoConfiguration?: ShippoConfiguration$1;
|
|
46320
|
+
}
|
|
46321
|
+
interface DeleteShippoConfigurationRequest$1 {
|
|
46322
|
+
/** ID of the ShippoConfiguration to delete. */
|
|
46323
|
+
shippoConfigurationId: string;
|
|
46324
|
+
}
|
|
46325
|
+
interface DeleteShippoConfigurationResponse$1 {
|
|
46326
|
+
}
|
|
46327
|
+
interface QueryShippoConfigurationsRequest$1 {
|
|
46328
|
+
/** WQL expression. */
|
|
46329
|
+
query?: CursorQuery$1;
|
|
46330
|
+
}
|
|
46331
|
+
interface CursorQuery$1 extends CursorQueryPagingMethodOneOf$1 {
|
|
46332
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
46333
|
+
cursorPaging?: CursorPaging$1;
|
|
46334
|
+
/**
|
|
46335
|
+
* Filter object in the following format:
|
|
46336
|
+
* `"filter" : {
|
|
46337
|
+
* "fieldName1": "value1",
|
|
46338
|
+
* "fieldName2":{"$operator":"value2"}
|
|
46339
|
+
* }`
|
|
46340
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
46341
|
+
*/
|
|
46342
|
+
filter?: Record<string, any> | null;
|
|
46343
|
+
/**
|
|
46344
|
+
* Sort object in the following format:
|
|
46345
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
46346
|
+
*/
|
|
46347
|
+
sort?: Sorting$1[];
|
|
46348
|
+
}
|
|
46349
|
+
/** @oneof */
|
|
46350
|
+
interface CursorQueryPagingMethodOneOf$1 {
|
|
46351
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
46352
|
+
cursorPaging?: CursorPaging$1;
|
|
46353
|
+
}
|
|
46354
|
+
interface Sorting$1 {
|
|
46355
|
+
/** Name of the field to sort by. */
|
|
46356
|
+
fieldName?: string;
|
|
46357
|
+
/** Sort order. */
|
|
46358
|
+
order?: SortOrder$1;
|
|
46359
|
+
}
|
|
46360
|
+
declare enum SortOrder$1 {
|
|
46361
|
+
ASC = "ASC",
|
|
46362
|
+
DESC = "DESC"
|
|
46363
|
+
}
|
|
46364
|
+
interface CursorPaging$1 {
|
|
46365
|
+
/** Maximum number of items to return in the results. */
|
|
46366
|
+
limit?: number | null;
|
|
46367
|
+
/**
|
|
46368
|
+
* Pointer to the next or previous page in the list of results.
|
|
46369
|
+
*
|
|
46370
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
46371
|
+
* Not relevant for the first request.
|
|
46372
|
+
*/
|
|
46373
|
+
cursor?: string | null;
|
|
46374
|
+
}
|
|
46375
|
+
interface QueryShippoConfigurationsResponse$1 {
|
|
46376
|
+
/** List of ShippoConfigurations. */
|
|
46377
|
+
shippoConfigurations?: ShippoConfiguration$1[];
|
|
46378
|
+
/** Paging metadata. */
|
|
46379
|
+
pagingMetadata?: CursorPagingMetadata$1;
|
|
46380
|
+
}
|
|
46381
|
+
interface CursorPagingMetadata$1 {
|
|
46382
|
+
/** Number of items returned in the response. */
|
|
46383
|
+
count?: number | null;
|
|
46384
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
46385
|
+
cursors?: Cursors$1;
|
|
46386
|
+
/**
|
|
46387
|
+
* Whether there are more pages to retrieve following the current page.
|
|
46388
|
+
*
|
|
46389
|
+
* + `true`: Another page of results can be retrieved.
|
|
46390
|
+
* + `false`: This is the last page.
|
|
46391
|
+
*/
|
|
46392
|
+
hasNext?: boolean | null;
|
|
46393
|
+
}
|
|
46394
|
+
interface Cursors$1 {
|
|
46395
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
46396
|
+
next?: string | null;
|
|
46397
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
46398
|
+
prev?: string | null;
|
|
46399
|
+
}
|
|
46400
|
+
interface UpdateExtendedFieldsRequest$1 {
|
|
46401
|
+
/** ID of the entity to update. */
|
|
46402
|
+
id: string;
|
|
46403
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
46404
|
+
namespace: string;
|
|
46405
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
46406
|
+
namespaceData: Record<string, any> | null;
|
|
46407
|
+
}
|
|
46408
|
+
interface UpdateExtendedFieldsResponse$1 {
|
|
46409
|
+
/** Updated ShippoConfiguration. */
|
|
46410
|
+
shippoConfiguration?: ShippoConfiguration$1;
|
|
46411
|
+
}
|
|
46412
|
+
interface CreateShippoConfigurationResponseNonNullableFields$1 {
|
|
46413
|
+
shippoConfiguration?: {
|
|
46414
|
+
domesticServices: {
|
|
46415
|
+
service: DomesticService$1;
|
|
46416
|
+
serviceSettings?: {
|
|
46417
|
+
handlingFee?: {
|
|
46418
|
+
value: string;
|
|
46419
|
+
calculationType: CalculationType$1;
|
|
46420
|
+
};
|
|
46421
|
+
};
|
|
46422
|
+
}[];
|
|
46423
|
+
internationalServices: {
|
|
46424
|
+
service: InternationalService$1;
|
|
46425
|
+
serviceSettings?: {
|
|
46426
|
+
handlingFee?: {
|
|
46427
|
+
value: string;
|
|
46428
|
+
calculationType: CalculationType$1;
|
|
46429
|
+
};
|
|
46430
|
+
};
|
|
46431
|
+
}[];
|
|
46432
|
+
packageType: PackageType$1;
|
|
46433
|
+
packageDetails?: {
|
|
46434
|
+
dimensions?: {
|
|
46435
|
+
length: string;
|
|
46436
|
+
width: string;
|
|
46437
|
+
height: string;
|
|
46438
|
+
};
|
|
46439
|
+
};
|
|
46440
|
+
shipFromAddress?: {
|
|
46441
|
+
streetAddress?: {
|
|
46442
|
+
number: string;
|
|
46443
|
+
name: string;
|
|
46444
|
+
apt: string;
|
|
46445
|
+
};
|
|
46446
|
+
};
|
|
46447
|
+
};
|
|
46448
|
+
}
|
|
46449
|
+
interface GetShippoConfigurationResponseNonNullableFields$1 {
|
|
46450
|
+
shippoConfiguration?: {
|
|
46451
|
+
domesticServices: {
|
|
46452
|
+
service: DomesticService$1;
|
|
46453
|
+
serviceSettings?: {
|
|
46454
|
+
handlingFee?: {
|
|
46455
|
+
value: string;
|
|
46456
|
+
calculationType: CalculationType$1;
|
|
46457
|
+
};
|
|
46458
|
+
};
|
|
46459
|
+
}[];
|
|
46460
|
+
internationalServices: {
|
|
46461
|
+
service: InternationalService$1;
|
|
46462
|
+
serviceSettings?: {
|
|
46463
|
+
handlingFee?: {
|
|
46464
|
+
value: string;
|
|
46465
|
+
calculationType: CalculationType$1;
|
|
46466
|
+
};
|
|
46467
|
+
};
|
|
46468
|
+
}[];
|
|
46469
|
+
packageType: PackageType$1;
|
|
46470
|
+
packageDetails?: {
|
|
46471
|
+
dimensions?: {
|
|
46472
|
+
length: string;
|
|
46473
|
+
width: string;
|
|
46474
|
+
height: string;
|
|
46475
|
+
};
|
|
46476
|
+
};
|
|
46477
|
+
shipFromAddress?: {
|
|
46478
|
+
streetAddress?: {
|
|
46479
|
+
number: string;
|
|
46480
|
+
name: string;
|
|
46481
|
+
apt: string;
|
|
46482
|
+
};
|
|
46483
|
+
};
|
|
46484
|
+
};
|
|
46485
|
+
}
|
|
46486
|
+
interface UpdateShippoConfigurationResponseNonNullableFields$1 {
|
|
46487
|
+
shippoConfiguration?: {
|
|
46488
|
+
domesticServices: {
|
|
46489
|
+
service: DomesticService$1;
|
|
46490
|
+
serviceSettings?: {
|
|
46491
|
+
handlingFee?: {
|
|
46492
|
+
value: string;
|
|
46493
|
+
calculationType: CalculationType$1;
|
|
46494
|
+
};
|
|
46495
|
+
};
|
|
46496
|
+
}[];
|
|
46497
|
+
internationalServices: {
|
|
46498
|
+
service: InternationalService$1;
|
|
46499
|
+
serviceSettings?: {
|
|
46500
|
+
handlingFee?: {
|
|
46501
|
+
value: string;
|
|
46502
|
+
calculationType: CalculationType$1;
|
|
46503
|
+
};
|
|
46504
|
+
};
|
|
46505
|
+
}[];
|
|
46506
|
+
packageType: PackageType$1;
|
|
46507
|
+
packageDetails?: {
|
|
46508
|
+
dimensions?: {
|
|
46509
|
+
length: string;
|
|
46510
|
+
width: string;
|
|
46511
|
+
height: string;
|
|
46512
|
+
};
|
|
46513
|
+
};
|
|
46514
|
+
shipFromAddress?: {
|
|
46515
|
+
streetAddress?: {
|
|
46516
|
+
number: string;
|
|
46517
|
+
name: string;
|
|
46518
|
+
apt: string;
|
|
46519
|
+
};
|
|
46520
|
+
};
|
|
46521
|
+
};
|
|
46522
|
+
}
|
|
46523
|
+
interface QueryShippoConfigurationsResponseNonNullableFields$1 {
|
|
46524
|
+
shippoConfigurations: {
|
|
46525
|
+
domesticServices: {
|
|
46526
|
+
service: DomesticService$1;
|
|
46527
|
+
serviceSettings?: {
|
|
46528
|
+
handlingFee?: {
|
|
46529
|
+
value: string;
|
|
46530
|
+
calculationType: CalculationType$1;
|
|
46531
|
+
};
|
|
46532
|
+
};
|
|
46533
|
+
}[];
|
|
46534
|
+
internationalServices: {
|
|
46535
|
+
service: InternationalService$1;
|
|
46536
|
+
serviceSettings?: {
|
|
46537
|
+
handlingFee?: {
|
|
46538
|
+
value: string;
|
|
46539
|
+
calculationType: CalculationType$1;
|
|
46540
|
+
};
|
|
46541
|
+
};
|
|
46542
|
+
}[];
|
|
46543
|
+
packageType: PackageType$1;
|
|
46544
|
+
packageDetails?: {
|
|
46545
|
+
dimensions?: {
|
|
46546
|
+
length: string;
|
|
46547
|
+
width: string;
|
|
46548
|
+
height: string;
|
|
46549
|
+
};
|
|
46550
|
+
};
|
|
46551
|
+
shipFromAddress?: {
|
|
46552
|
+
streetAddress?: {
|
|
46553
|
+
number: string;
|
|
46554
|
+
name: string;
|
|
46555
|
+
apt: string;
|
|
46556
|
+
};
|
|
46557
|
+
};
|
|
46558
|
+
}[];
|
|
46559
|
+
}
|
|
46560
|
+
interface UpdateExtendedFieldsResponseNonNullableFields$1 {
|
|
46561
|
+
shippoConfiguration?: {
|
|
46562
|
+
domesticServices: {
|
|
46563
|
+
service: DomesticService$1;
|
|
46564
|
+
serviceSettings?: {
|
|
46565
|
+
handlingFee?: {
|
|
46566
|
+
value: string;
|
|
46567
|
+
calculationType: CalculationType$1;
|
|
46568
|
+
};
|
|
46569
|
+
};
|
|
46570
|
+
}[];
|
|
46571
|
+
internationalServices: {
|
|
46572
|
+
service: InternationalService$1;
|
|
46573
|
+
serviceSettings?: {
|
|
46574
|
+
handlingFee?: {
|
|
46575
|
+
value: string;
|
|
46576
|
+
calculationType: CalculationType$1;
|
|
46577
|
+
};
|
|
46578
|
+
};
|
|
46579
|
+
}[];
|
|
46580
|
+
packageType: PackageType$1;
|
|
46581
|
+
packageDetails?: {
|
|
46582
|
+
dimensions?: {
|
|
46583
|
+
length: string;
|
|
46584
|
+
width: string;
|
|
46585
|
+
height: string;
|
|
46586
|
+
};
|
|
46587
|
+
};
|
|
46588
|
+
shipFromAddress?: {
|
|
46589
|
+
streetAddress?: {
|
|
46590
|
+
number: string;
|
|
46591
|
+
name: string;
|
|
46592
|
+
apt: string;
|
|
46593
|
+
};
|
|
46594
|
+
};
|
|
46595
|
+
};
|
|
46596
|
+
}
|
|
46597
|
+
|
|
46598
|
+
interface ShippoConfiguration {
|
|
46599
|
+
/**
|
|
46600
|
+
* ShippoConfiguration ID.
|
|
46601
|
+
* @readonly
|
|
46602
|
+
*/
|
|
46603
|
+
_id?: string | null;
|
|
46604
|
+
/** @readonly */
|
|
46605
|
+
revision?: string | null;
|
|
46606
|
+
/**
|
|
46607
|
+
* Date and time the ShippoConfiguration was created.
|
|
46608
|
+
* @readonly
|
|
46609
|
+
*/
|
|
46610
|
+
_createdDate?: Date;
|
|
46611
|
+
/**
|
|
46612
|
+
* Date and time the ShippoConfiguration was last updated.
|
|
46613
|
+
* @readonly
|
|
46614
|
+
*/
|
|
46615
|
+
_updatedDate?: Date;
|
|
46616
|
+
/** Associated delivery region ID. */
|
|
46617
|
+
deliveryRegionId?: string | null;
|
|
46618
|
+
/** Settings of USPS domestic services. */
|
|
46619
|
+
domesticServices?: DomesticServiceSettings[];
|
|
46620
|
+
/** Settings of USPS international services. */
|
|
46621
|
+
internationalServices?: InternationalServiceSettings[];
|
|
46622
|
+
/** Package type. */
|
|
46623
|
+
packageType?: PackageType;
|
|
46624
|
+
/** Package details. */
|
|
46625
|
+
packageDetails?: PackageDetails;
|
|
46626
|
+
/** Location ID from OS location service. */
|
|
46627
|
+
osLocationId?: string | null;
|
|
46628
|
+
/**
|
|
46629
|
+
* Ship from address materialized from OS location.
|
|
46630
|
+
* @readonly
|
|
46631
|
+
*/
|
|
46632
|
+
shipFromAddress?: Address;
|
|
46633
|
+
/** Backup weight. */
|
|
46634
|
+
backupWeight?: string | null;
|
|
46635
|
+
/** Data extensions. */
|
|
46636
|
+
extendedFields?: ExtendedFields;
|
|
46637
|
+
}
|
|
46638
|
+
interface DomesticServiceSettings {
|
|
46639
|
+
/** USPS domestic service. */
|
|
46640
|
+
service?: DomesticService;
|
|
46641
|
+
/** Service settings. */
|
|
46642
|
+
serviceSettings?: ServiceSettings;
|
|
46643
|
+
}
|
|
46644
|
+
declare enum DomesticService {
|
|
46645
|
+
UNKNOWN_DOMESTIC_SERVICE = "UNKNOWN_DOMESTIC_SERVICE",
|
|
46646
|
+
GROUND_ADVANTAGE = "GROUND_ADVANTAGE",
|
|
46647
|
+
PRIORITY_MAIL = "PRIORITY_MAIL",
|
|
46648
|
+
PRIORITY_MAIL_EXPRESS = "PRIORITY_MAIL_EXPRESS"
|
|
46649
|
+
}
|
|
46650
|
+
interface ServiceSettings {
|
|
46651
|
+
/** Estimated delivery time. */
|
|
46652
|
+
estimatedDeliveryTime?: string | null;
|
|
46653
|
+
/** Handling fee. */
|
|
46654
|
+
handlingFee?: HandlingFee;
|
|
46655
|
+
/** Amount above which free delivery is offered. */
|
|
46656
|
+
freeDeliveryMinimumAmount?: string | null;
|
|
46657
|
+
}
|
|
46658
|
+
interface HandlingFee {
|
|
46659
|
+
/** Value that will be used to calculate the fee. For example, percentage fee with value 5% to calculate the fee. */
|
|
46660
|
+
value?: string;
|
|
46661
|
+
/** How to calculate the fee: fixed amount or by percentage. */
|
|
46662
|
+
calculationType?: CalculationType;
|
|
46663
|
+
}
|
|
46664
|
+
declare enum CalculationType {
|
|
46665
|
+
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
46666
|
+
FIXED = "FIXED",
|
|
46667
|
+
PERCENTAGE = "PERCENTAGE"
|
|
46668
|
+
}
|
|
46669
|
+
interface InternationalServiceSettings {
|
|
46670
|
+
/** USPS international service. */
|
|
46671
|
+
service?: InternationalService;
|
|
46672
|
+
/** Service settings. */
|
|
46673
|
+
serviceSettings?: ServiceSettings;
|
|
46674
|
+
}
|
|
46675
|
+
declare enum InternationalService {
|
|
46676
|
+
UNKNOWN_INTERNATIONAL_SERVICE = "UNKNOWN_INTERNATIONAL_SERVICE",
|
|
46677
|
+
FIRST_CLASS_PACKAGE_INTERNATIONAL = "FIRST_CLASS_PACKAGE_INTERNATIONAL",
|
|
46678
|
+
PRIORITY_MAIL_INTERNATIONAL = "PRIORITY_MAIL_INTERNATIONAL",
|
|
46679
|
+
PRIORITY_MAIL_EXPRESS_INTERNATIONAL = "PRIORITY_MAIL_EXPRESS_INTERNATIONAL"
|
|
46680
|
+
}
|
|
46681
|
+
declare enum PackageType {
|
|
46682
|
+
UNKNOWN_PACKAGE_TYPE = "UNKNOWN_PACKAGE_TYPE",
|
|
46683
|
+
CUSTOM = "CUSTOM",
|
|
46684
|
+
FLAT_RATE_ENVELOPE = "FLAT_RATE_ENVELOPE",
|
|
46685
|
+
PADDED_FLAT_RATE_ENVELOPE = "PADDED_FLAT_RATE_ENVELOPE",
|
|
46686
|
+
SMALL_FLAT_RATE_BOX = "SMALL_FLAT_RATE_BOX",
|
|
46687
|
+
MEDIUM_FLAT_RATE_BOX_1 = "MEDIUM_FLAT_RATE_BOX_1",
|
|
46688
|
+
MEDIUM_FLAT_RATE_BOX_2 = "MEDIUM_FLAT_RATE_BOX_2",
|
|
46689
|
+
LARGE_FLAT_RATE_BOX = "LARGE_FLAT_RATE_BOX"
|
|
46690
|
+
}
|
|
46691
|
+
interface PackageDetails {
|
|
46692
|
+
/**
|
|
46693
|
+
* Package name. Must be set when package type is CUSTOM.
|
|
46694
|
+
* For other package types, it is read-only, and an exception will be thrown
|
|
46695
|
+
* if it set when creating a ShippoConfiguration.
|
|
46696
|
+
*/
|
|
46697
|
+
name?: string | null;
|
|
46698
|
+
/**
|
|
46699
|
+
* Package dimensions. Can only be set when package type is CUSTOM.
|
|
46700
|
+
* For other package types, it is read-only, and an exception will be thrown
|
|
46701
|
+
* if it set when creating a ShippoConfiguration.
|
|
46702
|
+
*/
|
|
46703
|
+
dimensions?: PackageDimensions;
|
|
46704
|
+
/**
|
|
46705
|
+
* Maximum number of products. Must be set when package type is NOT CUSTOM.
|
|
46706
|
+
* Otherwise, if the package type is CUSTOM, this field cannot be set and an
|
|
46707
|
+
* exception will be thrown if it is set when creating a ShippoConfiguration.
|
|
46708
|
+
*/
|
|
46709
|
+
maxNumberOfProducts?: string | null;
|
|
46710
|
+
}
|
|
46711
|
+
interface PackageDimensions {
|
|
46712
|
+
/** Package length. */
|
|
46713
|
+
length?: string;
|
|
46714
|
+
/** Package width. */
|
|
46715
|
+
width?: string;
|
|
46716
|
+
/** Package height. */
|
|
46717
|
+
height?: string;
|
|
46718
|
+
}
|
|
46719
|
+
/** Physical address */
|
|
46720
|
+
interface Address {
|
|
46721
|
+
/** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
|
|
46722
|
+
country?: string | null;
|
|
46723
|
+
/** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format. */
|
|
46724
|
+
subdivision?: string | null;
|
|
46725
|
+
/** City name. */
|
|
46726
|
+
city?: string | null;
|
|
46727
|
+
/** Postal or zip code. */
|
|
46728
|
+
postalCode?: string | null;
|
|
46729
|
+
/** Street address. */
|
|
46730
|
+
streetAddress?: StreetAddress;
|
|
46731
|
+
/** Main address line (usually street name and number). */
|
|
46732
|
+
addressLine1?: string | null;
|
|
46733
|
+
/** Free text providing more detailed address info. Usually contains apt, suite, floor. */
|
|
46734
|
+
addressLine2?: string | null;
|
|
46735
|
+
}
|
|
46736
|
+
interface StreetAddress {
|
|
46737
|
+
/** Street number. */
|
|
46738
|
+
number?: string;
|
|
46739
|
+
/** Street name. */
|
|
46740
|
+
name?: string;
|
|
46741
|
+
}
|
|
46742
|
+
interface ExtendedFields {
|
|
46743
|
+
/**
|
|
46744
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
46745
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
46746
|
+
*
|
|
46747
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
46748
|
+
*
|
|
46749
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
46750
|
+
*/
|
|
46751
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
46752
|
+
}
|
|
46753
|
+
interface CreateShippoConfigurationRequest {
|
|
46754
|
+
/** ShippoConfiguration to be created. */
|
|
46755
|
+
shippoConfiguration: ShippoConfiguration;
|
|
46756
|
+
backupRate?: string | null;
|
|
46757
|
+
}
|
|
46758
|
+
interface CreateShippoConfigurationResponse {
|
|
46759
|
+
/** The created ShippoConfiguration. */
|
|
46760
|
+
shippoConfiguration?: ShippoConfiguration;
|
|
46761
|
+
}
|
|
46762
|
+
interface GetShippoConfigurationRequest {
|
|
46763
|
+
/** ID of the ShippoConfiguration to retrieve. */
|
|
46764
|
+
shippoConfigurationId: string;
|
|
46765
|
+
}
|
|
46766
|
+
interface GetShippoConfigurationResponse {
|
|
46767
|
+
/** The requested ShippoConfiguration. */
|
|
46768
|
+
shippoConfiguration?: ShippoConfiguration;
|
|
46769
|
+
}
|
|
46770
|
+
interface UpdateShippoConfigurationRequest {
|
|
46771
|
+
/** ShippoConfiguration to be updated, may be partial. */
|
|
46772
|
+
shippoConfiguration: ShippoConfiguration;
|
|
46773
|
+
}
|
|
46774
|
+
interface UpdateShippoConfigurationResponse {
|
|
46775
|
+
/** Updated ShippoConfiguration. */
|
|
46776
|
+
shippoConfiguration?: ShippoConfiguration;
|
|
46777
|
+
}
|
|
46778
|
+
interface DeleteShippoConfigurationRequest {
|
|
46779
|
+
/** ID of the ShippoConfiguration to delete. */
|
|
46780
|
+
shippoConfigurationId: string;
|
|
46781
|
+
}
|
|
46782
|
+
interface DeleteShippoConfigurationResponse {
|
|
46783
|
+
}
|
|
46784
|
+
interface QueryShippoConfigurationsRequest {
|
|
46785
|
+
/** WQL expression. */
|
|
46786
|
+
query?: CursorQuery;
|
|
46787
|
+
}
|
|
46788
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
46789
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
46790
|
+
cursorPaging?: CursorPaging;
|
|
46791
|
+
/**
|
|
46792
|
+
* Filter object in the following format:
|
|
46793
|
+
* `"filter" : {
|
|
46794
|
+
* "fieldName1": "value1",
|
|
46795
|
+
* "fieldName2":{"$operator":"value2"}
|
|
46796
|
+
* }`
|
|
46797
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
46798
|
+
*/
|
|
46799
|
+
filter?: Record<string, any> | null;
|
|
46800
|
+
/**
|
|
46801
|
+
* Sort object in the following format:
|
|
46802
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
46803
|
+
*/
|
|
46804
|
+
sort?: Sorting[];
|
|
46805
|
+
}
|
|
46806
|
+
/** @oneof */
|
|
46807
|
+
interface CursorQueryPagingMethodOneOf {
|
|
46808
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
46809
|
+
cursorPaging?: CursorPaging;
|
|
46810
|
+
}
|
|
46811
|
+
interface Sorting {
|
|
46812
|
+
/** Name of the field to sort by. */
|
|
46813
|
+
fieldName?: string;
|
|
46814
|
+
/** Sort order. */
|
|
46815
|
+
order?: SortOrder;
|
|
46816
|
+
}
|
|
46817
|
+
declare enum SortOrder {
|
|
46818
|
+
ASC = "ASC",
|
|
46819
|
+
DESC = "DESC"
|
|
46820
|
+
}
|
|
46821
|
+
interface CursorPaging {
|
|
46822
|
+
/** Maximum number of items to return in the results. */
|
|
46823
|
+
limit?: number | null;
|
|
46824
|
+
/**
|
|
46825
|
+
* Pointer to the next or previous page in the list of results.
|
|
46826
|
+
*
|
|
46827
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
46828
|
+
* Not relevant for the first request.
|
|
46829
|
+
*/
|
|
46830
|
+
cursor?: string | null;
|
|
46831
|
+
}
|
|
46832
|
+
interface QueryShippoConfigurationsResponse {
|
|
46833
|
+
/** List of ShippoConfigurations. */
|
|
46834
|
+
shippoConfigurations?: ShippoConfiguration[];
|
|
46835
|
+
/** Paging metadata. */
|
|
46836
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
46837
|
+
}
|
|
46838
|
+
interface CursorPagingMetadata {
|
|
46839
|
+
/** Number of items returned in the response. */
|
|
46840
|
+
count?: number | null;
|
|
46841
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
46842
|
+
cursors?: Cursors;
|
|
46843
|
+
/**
|
|
46844
|
+
* Whether there are more pages to retrieve following the current page.
|
|
46845
|
+
*
|
|
46846
|
+
* + `true`: Another page of results can be retrieved.
|
|
46847
|
+
* + `false`: This is the last page.
|
|
46848
|
+
*/
|
|
46849
|
+
hasNext?: boolean | null;
|
|
46850
|
+
}
|
|
46851
|
+
interface Cursors {
|
|
46852
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
46853
|
+
next?: string | null;
|
|
46854
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
46855
|
+
prev?: string | null;
|
|
46856
|
+
}
|
|
46857
|
+
interface UpdateExtendedFieldsRequest {
|
|
46858
|
+
/** ID of the entity to update. */
|
|
46859
|
+
_id: string;
|
|
46860
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
46861
|
+
namespace: string;
|
|
46862
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
46863
|
+
namespaceData: Record<string, any> | null;
|
|
46864
|
+
}
|
|
46865
|
+
interface UpdateExtendedFieldsResponse {
|
|
46866
|
+
/** Updated ShippoConfiguration. */
|
|
46867
|
+
shippoConfiguration?: ShippoConfiguration;
|
|
46868
|
+
}
|
|
46869
|
+
interface CreateShippoConfigurationResponseNonNullableFields {
|
|
46870
|
+
shippoConfiguration?: {
|
|
46871
|
+
domesticServices: {
|
|
46872
|
+
service: DomesticService;
|
|
46873
|
+
serviceSettings?: {
|
|
46874
|
+
handlingFee?: {
|
|
46875
|
+
value: string;
|
|
46876
|
+
calculationType: CalculationType;
|
|
46877
|
+
};
|
|
46878
|
+
};
|
|
46879
|
+
}[];
|
|
46880
|
+
internationalServices: {
|
|
46881
|
+
service: InternationalService;
|
|
46882
|
+
serviceSettings?: {
|
|
46883
|
+
handlingFee?: {
|
|
46884
|
+
value: string;
|
|
46885
|
+
calculationType: CalculationType;
|
|
46886
|
+
};
|
|
46887
|
+
};
|
|
46888
|
+
}[];
|
|
46889
|
+
packageType: PackageType;
|
|
46890
|
+
packageDetails?: {
|
|
46891
|
+
dimensions?: {
|
|
46892
|
+
length: string;
|
|
46893
|
+
width: string;
|
|
46894
|
+
height: string;
|
|
46895
|
+
};
|
|
46896
|
+
};
|
|
46897
|
+
};
|
|
46898
|
+
}
|
|
46899
|
+
interface GetShippoConfigurationResponseNonNullableFields {
|
|
46900
|
+
shippoConfiguration?: {
|
|
46901
|
+
domesticServices: {
|
|
46902
|
+
service: DomesticService;
|
|
46903
|
+
serviceSettings?: {
|
|
46904
|
+
handlingFee?: {
|
|
46905
|
+
value: string;
|
|
46906
|
+
calculationType: CalculationType;
|
|
46907
|
+
};
|
|
46908
|
+
};
|
|
46909
|
+
}[];
|
|
46910
|
+
internationalServices: {
|
|
46911
|
+
service: InternationalService;
|
|
46912
|
+
serviceSettings?: {
|
|
46913
|
+
handlingFee?: {
|
|
46914
|
+
value: string;
|
|
46915
|
+
calculationType: CalculationType;
|
|
46916
|
+
};
|
|
46917
|
+
};
|
|
46918
|
+
}[];
|
|
46919
|
+
packageType: PackageType;
|
|
46920
|
+
packageDetails?: {
|
|
46921
|
+
dimensions?: {
|
|
46922
|
+
length: string;
|
|
46923
|
+
width: string;
|
|
46924
|
+
height: string;
|
|
46925
|
+
};
|
|
46926
|
+
};
|
|
46927
|
+
};
|
|
46928
|
+
}
|
|
46929
|
+
interface UpdateShippoConfigurationResponseNonNullableFields {
|
|
46930
|
+
shippoConfiguration?: {
|
|
46931
|
+
domesticServices: {
|
|
46932
|
+
service: DomesticService;
|
|
46933
|
+
serviceSettings?: {
|
|
46934
|
+
handlingFee?: {
|
|
46935
|
+
value: string;
|
|
46936
|
+
calculationType: CalculationType;
|
|
46937
|
+
};
|
|
46938
|
+
};
|
|
46939
|
+
}[];
|
|
46940
|
+
internationalServices: {
|
|
46941
|
+
service: InternationalService;
|
|
46942
|
+
serviceSettings?: {
|
|
46943
|
+
handlingFee?: {
|
|
46944
|
+
value: string;
|
|
46945
|
+
calculationType: CalculationType;
|
|
46946
|
+
};
|
|
46947
|
+
};
|
|
46948
|
+
}[];
|
|
46949
|
+
packageType: PackageType;
|
|
46950
|
+
packageDetails?: {
|
|
46951
|
+
dimensions?: {
|
|
46952
|
+
length: string;
|
|
46953
|
+
width: string;
|
|
46954
|
+
height: string;
|
|
46955
|
+
};
|
|
46956
|
+
};
|
|
46957
|
+
};
|
|
46958
|
+
}
|
|
46959
|
+
interface QueryShippoConfigurationsResponseNonNullableFields {
|
|
46960
|
+
shippoConfigurations: {
|
|
46961
|
+
domesticServices: {
|
|
46962
|
+
service: DomesticService;
|
|
46963
|
+
serviceSettings?: {
|
|
46964
|
+
handlingFee?: {
|
|
46965
|
+
value: string;
|
|
46966
|
+
calculationType: CalculationType;
|
|
46967
|
+
};
|
|
46968
|
+
};
|
|
46969
|
+
}[];
|
|
46970
|
+
internationalServices: {
|
|
46971
|
+
service: InternationalService;
|
|
46972
|
+
serviceSettings?: {
|
|
46973
|
+
handlingFee?: {
|
|
46974
|
+
value: string;
|
|
46975
|
+
calculationType: CalculationType;
|
|
46976
|
+
};
|
|
46977
|
+
};
|
|
46978
|
+
}[];
|
|
46979
|
+
packageType: PackageType;
|
|
46980
|
+
packageDetails?: {
|
|
46981
|
+
dimensions?: {
|
|
46982
|
+
length: string;
|
|
46983
|
+
width: string;
|
|
46984
|
+
height: string;
|
|
46985
|
+
};
|
|
46986
|
+
};
|
|
46987
|
+
}[];
|
|
46988
|
+
}
|
|
46989
|
+
interface UpdateExtendedFieldsResponseNonNullableFields {
|
|
46990
|
+
shippoConfiguration?: {
|
|
46991
|
+
domesticServices: {
|
|
46992
|
+
service: DomesticService;
|
|
46993
|
+
serviceSettings?: {
|
|
46994
|
+
handlingFee?: {
|
|
46995
|
+
value: string;
|
|
46996
|
+
calculationType: CalculationType;
|
|
46997
|
+
};
|
|
46998
|
+
};
|
|
46999
|
+
}[];
|
|
47000
|
+
internationalServices: {
|
|
47001
|
+
service: InternationalService;
|
|
47002
|
+
serviceSettings?: {
|
|
47003
|
+
handlingFee?: {
|
|
47004
|
+
value: string;
|
|
47005
|
+
calculationType: CalculationType;
|
|
47006
|
+
};
|
|
47007
|
+
};
|
|
47008
|
+
}[];
|
|
47009
|
+
packageType: PackageType;
|
|
47010
|
+
packageDetails?: {
|
|
47011
|
+
dimensions?: {
|
|
47012
|
+
length: string;
|
|
47013
|
+
width: string;
|
|
47014
|
+
height: string;
|
|
47015
|
+
};
|
|
47016
|
+
};
|
|
47017
|
+
};
|
|
47018
|
+
}
|
|
47019
|
+
|
|
46113
47020
|
type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
46114
47021
|
getUrl: (context: any) => string;
|
|
46115
47022
|
httpMethod: K;
|
|
@@ -46120,13 +47027,29 @@ type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
46120
47027
|
__responseType: Q;
|
|
46121
47028
|
__originalResponseType: R;
|
|
46122
47029
|
};
|
|
46123
|
-
declare function
|
|
46124
|
-
declare function
|
|
47030
|
+
declare function createShippoConfiguration(): __PublicMethodMetaInfo$1<'POST', {}, CreateShippoConfigurationRequest, CreateShippoConfigurationRequest$1, CreateShippoConfigurationResponse & CreateShippoConfigurationResponseNonNullableFields, CreateShippoConfigurationResponse$1 & CreateShippoConfigurationResponseNonNullableFields$1>;
|
|
47031
|
+
declare function getShippoConfiguration(): __PublicMethodMetaInfo$1<'GET', {
|
|
47032
|
+
shippoConfigurationId: string;
|
|
47033
|
+
}, GetShippoConfigurationRequest, GetShippoConfigurationRequest$1, GetShippoConfigurationResponse & GetShippoConfigurationResponseNonNullableFields, GetShippoConfigurationResponse$1 & GetShippoConfigurationResponseNonNullableFields$1>;
|
|
47034
|
+
declare function updateShippoConfiguration(): __PublicMethodMetaInfo$1<'PATCH', {
|
|
47035
|
+
shippoConfigurationId: string;
|
|
47036
|
+
}, UpdateShippoConfigurationRequest, UpdateShippoConfigurationRequest$1, UpdateShippoConfigurationResponse & UpdateShippoConfigurationResponseNonNullableFields, UpdateShippoConfigurationResponse$1 & UpdateShippoConfigurationResponseNonNullableFields$1>;
|
|
47037
|
+
declare function deleteShippoConfiguration(): __PublicMethodMetaInfo$1<'DELETE', {
|
|
47038
|
+
shippoConfigurationId: string;
|
|
47039
|
+
}, DeleteShippoConfigurationRequest, DeleteShippoConfigurationRequest$1, DeleteShippoConfigurationResponse, DeleteShippoConfigurationResponse$1>;
|
|
47040
|
+
declare function queryShippoConfigurations(): __PublicMethodMetaInfo$1<'GET', {}, QueryShippoConfigurationsRequest, QueryShippoConfigurationsRequest$1, QueryShippoConfigurationsResponse & QueryShippoConfigurationsResponseNonNullableFields, QueryShippoConfigurationsResponse$1 & QueryShippoConfigurationsResponseNonNullableFields$1>;
|
|
47041
|
+
declare function updateExtendedFields(): __PublicMethodMetaInfo$1<'POST', {
|
|
47042
|
+
id: string;
|
|
47043
|
+
}, UpdateExtendedFieldsRequest, UpdateExtendedFieldsRequest$1, UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields, UpdateExtendedFieldsResponse$1 & UpdateExtendedFieldsResponseNonNullableFields$1>;
|
|
46125
47044
|
|
|
46126
|
-
declare const meta$
|
|
46127
|
-
declare const meta$
|
|
47045
|
+
declare const meta$1_createShippoConfiguration: typeof createShippoConfiguration;
|
|
47046
|
+
declare const meta$1_deleteShippoConfiguration: typeof deleteShippoConfiguration;
|
|
47047
|
+
declare const meta$1_getShippoConfiguration: typeof getShippoConfiguration;
|
|
47048
|
+
declare const meta$1_queryShippoConfigurations: typeof queryShippoConfigurations;
|
|
47049
|
+
declare const meta$1_updateExtendedFields: typeof updateExtendedFields;
|
|
47050
|
+
declare const meta$1_updateShippoConfiguration: typeof updateShippoConfiguration;
|
|
46128
47051
|
declare namespace meta$1 {
|
|
46129
|
-
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$
|
|
47052
|
+
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_createShippoConfiguration as createShippoConfiguration, meta$1_deleteShippoConfiguration as deleteShippoConfiguration, meta$1_getShippoConfiguration as getShippoConfiguration, meta$1_queryShippoConfigurations as queryShippoConfigurations, meta$1_updateExtendedFields as updateExtendedFields, meta$1_updateShippoConfiguration as updateShippoConfiguration };
|
|
46130
47053
|
}
|
|
46131
47054
|
|
|
46132
47055
|
interface ListCurrenciesRequest$1 {
|
|
@@ -46283,4 +47206,4 @@ declare namespace meta {
|
|
|
46283
47206
|
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_convertCurrency as convertCurrency, meta_getConversionRate as getConversionRate, meta_listCurrencies as listCurrencies };
|
|
46284
47207
|
}
|
|
46285
47208
|
|
|
46286
|
-
export { meta$
|
|
47209
|
+
export { meta$e as abandonedCheckouts, meta$d as backInStockNotifications, meta$c as backInStockSettings, meta$b as cart, meta$9 as checkout, meta$8 as checkoutSettings, meta$7 as checkoutTemplates, meta as currencies, meta$a as currentCart, meta$6 as deliveryProfile, meta$h as discountRules, meta$5 as orderFulfillments, meta$g as orderInvoices, meta$3 as orderTransactions, meta$4 as orders, meta$2 as ordersSettings, meta$f as recommendations, meta$1 as shippoConfigurations };
|