@wix/ecom 1.0.644 → 1.0.646

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.
@@ -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$7;
306
+ cursorPaging?: CursorPaging$9;
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$7[];
310
+ sort?: Sorting$9[];
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$7;
317
+ cursorPaging?: CursorPaging$9;
318
318
  }
319
- interface Sorting$7 {
319
+ interface Sorting$9 {
320
320
  /** Name of the field to sort by. */
321
321
  fieldName?: string;
322
322
  /** Sort order. */
323
- order?: SortOrder$7;
323
+ order?: SortOrder$9;
324
324
  }
325
- declare enum SortOrder$7 {
325
+ declare enum SortOrder$9 {
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$7 {
335
+ interface CursorPaging$9 {
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$7;
360
+ cursors?: Cursors$9;
361
361
  }
362
- interface Cursors$7 {
362
+ interface Cursors$9 {
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$6;
1066
+ cursorPaging?: CursorPaging$8;
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$6[];
1070
+ sort?: Sorting$8[];
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$6;
1077
+ cursorPaging?: CursorPaging$8;
1078
1078
  }
1079
- interface Sorting$6 {
1079
+ interface Sorting$8 {
1080
1080
  /** Name of the field to sort by. */
1081
1081
  fieldName?: string;
1082
1082
  /** Sort order. */
1083
- order?: SortOrder$6;
1083
+ order?: SortOrder$8;
1084
1084
  }
1085
- declare enum SortOrder$6 {
1085
+ declare enum SortOrder$8 {
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$6 {
1095
+ interface CursorPaging$8 {
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$6;
1120
+ cursors?: Cursors$8;
1121
1121
  }
1122
- interface Cursors$6 {
1122
+ interface Cursors$8 {
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$f<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1397
+ type __PublicMethodMetaInfo$g<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$f<K = string, M = unknown, T = unknown, S = unknown,
1404
1404
  __responseType: Q;
1405
1405
  __originalResponseType: R;
1406
1406
  };
1407
- declare function createDiscountRule(): __PublicMethodMetaInfo$f<'POST', {}, CreateDiscountRuleRequest, CreateDiscountRuleRequest$1, CreateDiscountRuleResponse & CreateDiscountRuleResponseNonNullableFields, CreateDiscountRuleResponse$1 & CreateDiscountRuleResponseNonNullableFields$1>;
1408
- declare function getDiscountRule(): __PublicMethodMetaInfo$f<'GET', {
1407
+ declare function createDiscountRule(): __PublicMethodMetaInfo$g<'POST', {}, CreateDiscountRuleRequest, CreateDiscountRuleRequest$1, CreateDiscountRuleResponse & CreateDiscountRuleResponseNonNullableFields, CreateDiscountRuleResponse$1 & CreateDiscountRuleResponseNonNullableFields$1>;
1408
+ declare function getDiscountRule(): __PublicMethodMetaInfo$g<'GET', {
1409
1409
  discountRuleId: string;
1410
1410
  }, GetDiscountRuleRequest, GetDiscountRuleRequest$1, GetDiscountRuleResponse & GetDiscountRuleResponseNonNullableFields, GetDiscountRuleResponse$1 & GetDiscountRuleResponseNonNullableFields$1>;
1411
- declare function updateDiscountRule(): __PublicMethodMetaInfo$f<'PATCH', {
1411
+ declare function updateDiscountRule(): __PublicMethodMetaInfo$g<'PATCH', {
1412
1412
  discountRuleId: string;
1413
1413
  }, UpdateDiscountRuleRequest, UpdateDiscountRuleRequest$1, UpdateDiscountRuleResponse & UpdateDiscountRuleResponseNonNullableFields, UpdateDiscountRuleResponse$1 & UpdateDiscountRuleResponseNonNullableFields$1>;
1414
- declare function deleteDiscountRule(): __PublicMethodMetaInfo$f<'DELETE', {
1414
+ declare function deleteDiscountRule(): __PublicMethodMetaInfo$g<'DELETE', {
1415
1415
  discountRuleId: string;
1416
1416
  }, DeleteDiscountRuleRequest, DeleteDiscountRuleRequest$1, DeleteDiscountRuleResponse, DeleteDiscountRuleResponse$1>;
1417
- declare function queryDiscountRules(): __PublicMethodMetaInfo$f<'POST', {}, QueryDiscountRulesRequest, QueryDiscountRulesRequest$1, QueryDiscountRulesResponse & QueryDiscountRulesResponseNonNullableFields, QueryDiscountRulesResponse$1 & QueryDiscountRulesResponseNonNullableFields$1>;
1417
+ declare function queryDiscountRules(): __PublicMethodMetaInfo$g<'POST', {}, QueryDiscountRulesRequest, QueryDiscountRulesRequest$1, QueryDiscountRulesResponse & QueryDiscountRulesResponseNonNullableFields, QueryDiscountRulesResponse$1 & QueryDiscountRulesResponseNonNullableFields$1>;
1418
1418
 
1419
- declare const meta$f_createDiscountRule: typeof createDiscountRule;
1420
- declare const meta$f_deleteDiscountRule: typeof deleteDiscountRule;
1421
- declare const meta$f_getDiscountRule: typeof getDiscountRule;
1422
- declare const meta$f_queryDiscountRules: typeof queryDiscountRules;
1423
- declare const meta$f_updateDiscountRule: typeof updateDiscountRule;
1424
- declare namespace meta$f {
1425
- export { type __PublicMethodMetaInfo$f as __PublicMethodMetaInfo, meta$f_createDiscountRule as createDiscountRule, meta$f_deleteDiscountRule as deleteDiscountRule, meta$f_getDiscountRule as getDiscountRule, meta$f_queryDiscountRules as queryDiscountRules, meta$f_updateDiscountRule as updateDiscountRule };
1419
+ declare const meta$g_createDiscountRule: typeof createDiscountRule;
1420
+ declare const meta$g_deleteDiscountRule: typeof deleteDiscountRule;
1421
+ declare const meta$g_getDiscountRule: typeof getDiscountRule;
1422
+ declare const meta$g_queryDiscountRules: typeof queryDiscountRules;
1423
+ declare const meta$g_updateDiscountRule: typeof updateDiscountRule;
1424
+ declare namespace meta$g {
1425
+ export { type __PublicMethodMetaInfo$g as __PublicMethodMetaInfo, meta$g_createDiscountRule as createDiscountRule, meta$g_deleteDiscountRule as deleteDiscountRule, meta$g_getDiscountRule as getDiscountRule, meta$g_queryDiscountRules as queryDiscountRules, meta$g_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$e<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1492
+ type __PublicMethodMetaInfo$f<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$e<K = string, M = unknown, T = unknown, S = unknown,
1499
1499
  __responseType: Q;
1500
1500
  __originalResponseType: R;
1501
1501
  };
1502
- declare function listInvoicesForMultipleOrders(): __PublicMethodMetaInfo$e<'POST', {}, ListInvoicesForMultipleOrdersRequest, ListInvoicesForMultipleOrdersRequest$1, ListInvoicesForMultipleOrdersResponse & ListInvoicesForMultipleOrdersResponseNonNullableFields, ListInvoicesForMultipleOrdersResponse$1 & ListInvoicesForMultipleOrdersResponseNonNullableFields$1>;
1502
+ declare function listInvoicesForMultipleOrders(): __PublicMethodMetaInfo$f<'POST', {}, ListInvoicesForMultipleOrdersRequest, ListInvoicesForMultipleOrdersRequest$1, ListInvoicesForMultipleOrdersResponse & ListInvoicesForMultipleOrdersResponseNonNullableFields, ListInvoicesForMultipleOrdersResponse$1 & ListInvoicesForMultipleOrdersResponseNonNullableFields$1>;
1503
1503
 
1504
- declare const meta$e_listInvoicesForMultipleOrders: typeof listInvoicesForMultipleOrders;
1505
- declare namespace meta$e {
1506
- export { type __PublicMethodMetaInfo$e as __PublicMethodMetaInfo, meta$e_listInvoicesForMultipleOrders as listInvoicesForMultipleOrders };
1504
+ declare const meta$f_listInvoicesForMultipleOrders: typeof listInvoicesForMultipleOrders;
1505
+ declare namespace meta$f {
1506
+ export { type __PublicMethodMetaInfo$f as __PublicMethodMetaInfo, meta$f_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$d<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1763
+ type __PublicMethodMetaInfo$e<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$d<K = string, M = unknown, T = unknown, S = unknown,
1770
1770
  __responseType: Q;
1771
1771
  __originalResponseType: R;
1772
1772
  };
1773
- declare function listAvailableAlgorithms(): __PublicMethodMetaInfo$d<'GET', {}, ListAvailableAlgorithmsRequest, ListAvailableAlgorithmsRequest$1, ListAvailableAlgorithmsResponse & ListAvailableAlgorithmsResponseNonNullableFields, ListAvailableAlgorithmsResponse$1 & ListAvailableAlgorithmsResponseNonNullableFields$1>;
1774
- declare function getRecommendation(): __PublicMethodMetaInfo$d<'POST', {}, GetRecommendationRequest, GetRecommendationRequest$1, GetRecommendationResponse & GetRecommendationResponseNonNullableFields, GetRecommendationResponse$1 & GetRecommendationResponseNonNullableFields$1>;
1773
+ declare function listAvailableAlgorithms(): __PublicMethodMetaInfo$e<'GET', {}, ListAvailableAlgorithmsRequest, ListAvailableAlgorithmsRequest$1, ListAvailableAlgorithmsResponse & ListAvailableAlgorithmsResponseNonNullableFields, ListAvailableAlgorithmsResponse$1 & ListAvailableAlgorithmsResponseNonNullableFields$1>;
1774
+ declare function getRecommendation(): __PublicMethodMetaInfo$e<'POST', {}, GetRecommendationRequest, GetRecommendationRequest$1, GetRecommendationResponse & GetRecommendationResponseNonNullableFields, GetRecommendationResponse$1 & GetRecommendationResponseNonNullableFields$1>;
1775
1775
 
1776
- declare const meta$d_getRecommendation: typeof getRecommendation;
1777
- declare const meta$d_listAvailableAlgorithms: typeof listAvailableAlgorithms;
1778
- declare namespace meta$d {
1779
- export { type __PublicMethodMetaInfo$d as __PublicMethodMetaInfo, meta$d_getRecommendation as getRecommendation, meta$d_listAvailableAlgorithms as listAvailableAlgorithms };
1776
+ declare const meta$e_getRecommendation: typeof getRecommendation;
1777
+ declare const meta$e_listAvailableAlgorithms: typeof listAvailableAlgorithms;
1778
+ declare namespace meta$e {
1779
+ export { type __PublicMethodMetaInfo$e as __PublicMethodMetaInfo, meta$e_getRecommendation as getRecommendation, meta$e_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$c<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
2156
+ type __PublicMethodMetaInfo$d<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$c<K = string, M = unknown, T = unknown, S = unknown,
2163
2163
  __responseType: Q;
2164
2164
  __originalResponseType: R;
2165
2165
  };
2166
- declare function getAbandonedCheckout(): __PublicMethodMetaInfo$c<'GET', {
2166
+ declare function getAbandonedCheckout(): __PublicMethodMetaInfo$d<'GET', {
2167
2167
  abandonedCheckoutId: string;
2168
2168
  }, GetAbandonedCheckoutRequest, GetAbandonedCheckoutRequest$1, GetAbandonedCheckoutResponse & GetAbandonedCheckoutResponseNonNullableFields, GetAbandonedCheckoutResponse$1 & GetAbandonedCheckoutResponseNonNullableFields$1>;
2169
2169
 
2170
- declare const meta$c_getAbandonedCheckout: typeof getAbandonedCheckout;
2171
- declare namespace meta$c {
2172
- export { type __PublicMethodMetaInfo$c as __PublicMethodMetaInfo, meta$c_getAbandonedCheckout as getAbandonedCheckout };
2170
+ declare const meta$d_getAbandonedCheckout: typeof getAbandonedCheckout;
2171
+ declare namespace meta$d {
2172
+ export { type __PublicMethodMetaInfo$d as __PublicMethodMetaInfo, meta$d_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$5;
2338
+ cursorPaging?: CursorPaging$7;
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$5[];
2342
+ sort?: Sorting$7[];
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$5;
2349
+ cursorPaging?: CursorPaging$7;
2350
2350
  }
2351
- interface Sorting$5 {
2351
+ interface Sorting$7 {
2352
2352
  /** Name of the field to sort by. */
2353
2353
  fieldName?: string;
2354
2354
  /** Sort order. */
2355
- order?: SortOrder$5;
2355
+ order?: SortOrder$7;
2356
2356
  }
2357
- declare enum SortOrder$5 {
2357
+ declare enum SortOrder$7 {
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$5 {
2367
+ interface CursorPaging$7 {
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$5;
2392
+ cursors?: Cursors$7;
2393
2393
  }
2394
- interface Cursors$5 {
2394
+ interface Cursors$7 {
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$4;
2634
+ cursorPaging?: CursorPaging$6;
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$4[];
2638
+ sort?: Sorting$6[];
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$4;
2645
+ cursorPaging?: CursorPaging$6;
2646
2646
  }
2647
- interface Sorting$4 {
2647
+ interface Sorting$6 {
2648
2648
  /** Name of the field to sort by. */
2649
2649
  fieldName?: string;
2650
2650
  /** Sort order. */
2651
- order?: SortOrder$4;
2651
+ order?: SortOrder$6;
2652
2652
  }
2653
- declare enum SortOrder$4 {
2653
+ declare enum SortOrder$6 {
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$4 {
2663
+ interface CursorPaging$6 {
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$4;
2688
+ cursors?: Cursors$6;
2689
2689
  }
2690
- interface Cursors$4 {
2690
+ interface Cursors$6 {
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$b<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
2794
+ type __PublicMethodMetaInfo$c<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$b<K = string, M = unknown, T = unknown, S = unknown,
2801
2801
  __responseType: Q;
2802
2802
  __originalResponseType: R;
2803
2803
  };
2804
- declare function createBackInStockNotificationRequest(): __PublicMethodMetaInfo$b<'POST', {}, CreateBackInStockNotificationRequestRequest, CreateBackInStockNotificationRequestRequest$1, CreateBackInStockNotificationRequestResponse & CreateBackInStockNotificationRequestResponseNonNullableFields, CreateBackInStockNotificationRequestResponse$1 & CreateBackInStockNotificationRequestResponseNonNullableFields$1>;
2805
- declare function getBackInStockNotificationRequest(): __PublicMethodMetaInfo$b<'GET', {
2804
+ declare function createBackInStockNotificationRequest(): __PublicMethodMetaInfo$c<'POST', {}, CreateBackInStockNotificationRequestRequest, CreateBackInStockNotificationRequestRequest$1, CreateBackInStockNotificationRequestResponse & CreateBackInStockNotificationRequestResponseNonNullableFields, CreateBackInStockNotificationRequestResponse$1 & CreateBackInStockNotificationRequestResponseNonNullableFields$1>;
2805
+ declare function getBackInStockNotificationRequest(): __PublicMethodMetaInfo$c<'GET', {
2806
2806
  id: string;
2807
2807
  }, GetBackInStockNotificationRequestRequest, GetBackInStockNotificationRequestRequest$1, GetBackInStockNotificationRequestResponse & GetBackInStockNotificationRequestResponseNonNullableFields, GetBackInStockNotificationRequestResponse$1 & GetBackInStockNotificationRequestResponseNonNullableFields$1>;
2808
- declare function deleteBackInStockNotificationRequest(): __PublicMethodMetaInfo$b<'DELETE', {
2808
+ declare function deleteBackInStockNotificationRequest(): __PublicMethodMetaInfo$c<'DELETE', {
2809
2809
  id: string;
2810
2810
  }, DeleteBackInStockNotificationRequestRequest, DeleteBackInStockNotificationRequestRequest$1, DeleteBackInStockNotificationRequestResponse, DeleteBackInStockNotificationRequestResponse$1>;
2811
- declare function markAsNotificationSent(): __PublicMethodMetaInfo$b<'PUT', {
2811
+ declare function markAsNotificationSent(): __PublicMethodMetaInfo$c<'PUT', {
2812
2812
  id: string;
2813
2813
  }, MarkAsNotificationSentRequest, MarkAsNotificationSentRequest$1, MarkAsNotificationSentResponse & MarkAsNotificationSentResponseNonNullableFields, MarkAsNotificationSentResponse$1 & MarkAsNotificationSentResponseNonNullableFields$1>;
2814
- declare function queryBackInStockNotificationRequests(): __PublicMethodMetaInfo$b<'GET', {}, QueryBackInStockNotificationRequestsRequest, QueryBackInStockNotificationRequestsRequest$1, QueryBackInStockNotificationRequestsResponse & QueryBackInStockNotificationRequestsResponseNonNullableFields, QueryBackInStockNotificationRequestsResponse$1 & QueryBackInStockNotificationRequestsResponseNonNullableFields$1>;
2815
- declare function getBackInStockNotificationRequestsCountByCatalogReferences(): __PublicMethodMetaInfo$b<'GET', {}, GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, GetBackInStockNotificationRequestsCountByCatalogReferencesRequest$1, GetBackInStockNotificationRequestsCountByCatalogReferencesResponse & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, GetBackInStockNotificationRequestsCountByCatalogReferencesResponse$1 & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields$1>;
2816
- declare function reportItemsBackInStock(): __PublicMethodMetaInfo$b<'POST', {}, ReportItemsBackInStockRequest, ReportItemsBackInStockRequest$1, ReportItemsBackInStockResponse, ReportItemsBackInStockResponse$1>;
2814
+ declare function queryBackInStockNotificationRequests(): __PublicMethodMetaInfo$c<'GET', {}, QueryBackInStockNotificationRequestsRequest, QueryBackInStockNotificationRequestsRequest$1, QueryBackInStockNotificationRequestsResponse & QueryBackInStockNotificationRequestsResponseNonNullableFields, QueryBackInStockNotificationRequestsResponse$1 & QueryBackInStockNotificationRequestsResponseNonNullableFields$1>;
2815
+ declare function getBackInStockNotificationRequestsCountByCatalogReferences(): __PublicMethodMetaInfo$c<'GET', {}, GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, GetBackInStockNotificationRequestsCountByCatalogReferencesRequest$1, GetBackInStockNotificationRequestsCountByCatalogReferencesResponse & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, GetBackInStockNotificationRequestsCountByCatalogReferencesResponse$1 & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields$1>;
2816
+ declare function reportItemsBackInStock(): __PublicMethodMetaInfo$c<'POST', {}, ReportItemsBackInStockRequest, ReportItemsBackInStockRequest$1, ReportItemsBackInStockResponse, ReportItemsBackInStockResponse$1>;
2817
2817
 
2818
- declare const meta$b_createBackInStockNotificationRequest: typeof createBackInStockNotificationRequest;
2819
- declare const meta$b_deleteBackInStockNotificationRequest: typeof deleteBackInStockNotificationRequest;
2820
- declare const meta$b_getBackInStockNotificationRequest: typeof getBackInStockNotificationRequest;
2821
- declare const meta$b_getBackInStockNotificationRequestsCountByCatalogReferences: typeof getBackInStockNotificationRequestsCountByCatalogReferences;
2822
- declare const meta$b_markAsNotificationSent: typeof markAsNotificationSent;
2823
- declare const meta$b_queryBackInStockNotificationRequests: typeof queryBackInStockNotificationRequests;
2824
- declare const meta$b_reportItemsBackInStock: typeof reportItemsBackInStock;
2825
- declare namespace meta$b {
2826
- export { type __PublicMethodMetaInfo$b as __PublicMethodMetaInfo, meta$b_createBackInStockNotificationRequest as createBackInStockNotificationRequest, meta$b_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, meta$b_getBackInStockNotificationRequest as getBackInStockNotificationRequest, meta$b_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, meta$b_markAsNotificationSent as markAsNotificationSent, meta$b_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, meta$b_reportItemsBackInStock as reportItemsBackInStock };
2818
+ declare const meta$c_createBackInStockNotificationRequest: typeof createBackInStockNotificationRequest;
2819
+ declare const meta$c_deleteBackInStockNotificationRequest: typeof deleteBackInStockNotificationRequest;
2820
+ declare const meta$c_getBackInStockNotificationRequest: typeof getBackInStockNotificationRequest;
2821
+ declare const meta$c_getBackInStockNotificationRequestsCountByCatalogReferences: typeof getBackInStockNotificationRequestsCountByCatalogReferences;
2822
+ declare const meta$c_markAsNotificationSent: typeof markAsNotificationSent;
2823
+ declare const meta$c_queryBackInStockNotificationRequests: typeof queryBackInStockNotificationRequests;
2824
+ declare const meta$c_reportItemsBackInStock: typeof reportItemsBackInStock;
2825
+ declare namespace meta$c {
2826
+ export { type __PublicMethodMetaInfo$c as __PublicMethodMetaInfo, meta$c_createBackInStockNotificationRequest as createBackInStockNotificationRequest, meta$c_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, meta$c_getBackInStockNotificationRequest as getBackInStockNotificationRequest, meta$c_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, meta$c_markAsNotificationSent as markAsNotificationSent, meta$c_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, meta$c_reportItemsBackInStock as reportItemsBackInStock };
2827
2827
  }
2828
2828
 
2829
2829
  /**
@@ -2954,7 +2954,7 @@ interface GetSettingsResponseNonNullableFields {
2954
2954
  };
2955
2955
  }
2956
2956
 
2957
- type __PublicMethodMetaInfo$a<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
2957
+ type __PublicMethodMetaInfo$b<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$a<K = string, M = unknown, T = unknown, S = unknown,
2964
2964
  __responseType: Q;
2965
2965
  __originalResponseType: R;
2966
2966
  };
2967
- declare function startCollectingRequests(): __PublicMethodMetaInfo$a<'POST', {}, StartCollectingRequestsRequest, StartCollectingRequestsRequest$1, StartCollectingRequestsResponse & StartCollectingRequestsResponseNonNullableFields, StartCollectingRequestsResponse$1 & StartCollectingRequestsResponseNonNullableFields$1>;
2968
- declare function stopCollectingRequests(): __PublicMethodMetaInfo$a<'POST', {}, StopCollectingRequestsRequest, StopCollectingRequestsRequest$1, StopCollectingRequestsResponse & StopCollectingRequestsResponseNonNullableFields, StopCollectingRequestsResponse$1 & StopCollectingRequestsResponseNonNullableFields$1>;
2969
- declare function getSettings(): __PublicMethodMetaInfo$a<'PUT', {}, GetSettingsRequest, GetSettingsRequest$1, GetSettingsResponse & GetSettingsResponseNonNullableFields, GetSettingsResponse$1 & GetSettingsResponseNonNullableFields$1>;
2967
+ declare function startCollectingRequests(): __PublicMethodMetaInfo$b<'POST', {}, StartCollectingRequestsRequest, StartCollectingRequestsRequest$1, StartCollectingRequestsResponse & StartCollectingRequestsResponseNonNullableFields, StartCollectingRequestsResponse$1 & StartCollectingRequestsResponseNonNullableFields$1>;
2968
+ declare function stopCollectingRequests(): __PublicMethodMetaInfo$b<'POST', {}, StopCollectingRequestsRequest, StopCollectingRequestsRequest$1, StopCollectingRequestsResponse & StopCollectingRequestsResponseNonNullableFields, StopCollectingRequestsResponse$1 & StopCollectingRequestsResponseNonNullableFields$1>;
2969
+ declare function getSettings(): __PublicMethodMetaInfo$b<'PUT', {}, GetSettingsRequest, GetSettingsRequest$1, GetSettingsResponse & GetSettingsResponseNonNullableFields, GetSettingsResponse$1 & GetSettingsResponseNonNullableFields$1>;
2970
2970
 
2971
- declare const meta$a_getSettings: typeof getSettings;
2972
- declare const meta$a_startCollectingRequests: typeof startCollectingRequests;
2973
- declare const meta$a_stopCollectingRequests: typeof stopCollectingRequests;
2974
- declare namespace meta$a {
2975
- export { type __PublicMethodMetaInfo$a as __PublicMethodMetaInfo, meta$a_getSettings as getSettings, meta$a_startCollectingRequests as startCollectingRequests, meta$a_stopCollectingRequests as stopCollectingRequests };
2971
+ declare const meta$b_getSettings: typeof getSettings;
2972
+ declare const meta$b_startCollectingRequests: typeof startCollectingRequests;
2973
+ declare const meta$b_stopCollectingRequests: typeof stopCollectingRequests;
2974
+ declare namespace meta$b {
2975
+ export { type __PublicMethodMetaInfo$b as __PublicMethodMetaInfo, meta$b_getSettings as getSettings, meta$b_startCollectingRequests as startCollectingRequests, meta$b_stopCollectingRequests as stopCollectingRequests };
2976
2976
  }
2977
2977
 
2978
2978
  interface Cart$3 {
@@ -3802,7 +3802,7 @@ interface AutoTaxFallbackCalculationDetails$5 {
3802
3802
  /** reason for fallback */
3803
3803
  fallbackReason?: FallbackReason$5;
3804
3804
  /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
3805
- error?: ApplicationError$9;
3805
+ error?: ApplicationError$b;
3806
3806
  }
3807
3807
  declare enum FallbackReason$5 {
3808
3808
  /** auto-tax failed to be calculated */
@@ -3810,7 +3810,7 @@ declare enum FallbackReason$5 {
3810
3810
  /** auto-tax was temporarily deactivated on a system-level */
3811
3811
  AUTO_TAX_DEACTIVATED = "AUTO_TAX_DEACTIVATED"
3812
3812
  }
3813
- interface ApplicationError$9 {
3813
+ interface ApplicationError$b {
3814
3814
  /** Error code. */
3815
3815
  code?: string;
3816
3816
  /** Description of the error. */
@@ -3902,13 +3902,13 @@ interface SelectedCarrierServiceOptionPrices$5 {
3902
3902
  }
3903
3903
  interface SelectedCarrierServiceOptionOtherCharge$5 {
3904
3904
  /** Type of additional cost. */
3905
- type?: ChargeType$5;
3905
+ type?: ChargeType$7;
3906
3906
  /** Details of the charge, such as 'Full Coverage Insurance of up to 80% of value of shipment'. */
3907
3907
  details?: string | null;
3908
3908
  /** Price of added charge. */
3909
3909
  cost?: SelectedCarrierServiceOptionPrices$5;
3910
3910
  }
3911
- declare enum ChargeType$5 {
3911
+ declare enum ChargeType$7 {
3912
3912
  HANDLING_FEE = "HANDLING_FEE",
3913
3913
  INSURANCE = "INSURANCE"
3914
3914
  }
@@ -3942,7 +3942,7 @@ interface ShippingPrice$7 {
3942
3942
  }
3943
3943
  interface OtherCharge$5 {
3944
3944
  /** Type of additional cost. */
3945
- type?: ChargeType$5;
3945
+ type?: ChargeType$7;
3946
3946
  /** Price of added cost. */
3947
3947
  price?: MultiCurrencyPrice$5;
3948
3948
  }
@@ -4020,7 +4020,7 @@ interface CalculationErrors$5 extends CalculationErrorsShippingCalculationErrorO
4020
4020
  /** Gift card calculation error. */
4021
4021
  giftCardCalculationError?: Details$5;
4022
4022
  /** Order validation errors. */
4023
- orderValidationErrors?: ApplicationError$9[];
4023
+ orderValidationErrors?: ApplicationError$b[];
4024
4024
  /**
4025
4025
  * Membership payment methods calculation errors
4026
4026
  * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
@@ -4037,7 +4037,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf$5 {
4037
4037
  carrierErrors?: CarrierErrors$5;
4038
4038
  }
4039
4039
  interface Details$5 extends DetailsKindOneOf$5 {
4040
- applicationError?: ApplicationError$9;
4040
+ applicationError?: ApplicationError$b;
4041
4041
  validationError?: ValidationError$5;
4042
4042
  systemError?: SystemError$5;
4043
4043
  /**
@@ -4048,7 +4048,7 @@ interface Details$5 extends DetailsKindOneOf$5 {
4048
4048
  }
4049
4049
  /** @oneof */
4050
4050
  interface DetailsKindOneOf$5 {
4051
- applicationError?: ApplicationError$9;
4051
+ applicationError?: ApplicationError$b;
4052
4052
  validationError?: ValidationError$5;
4053
4053
  systemError?: SystemError$5;
4054
4054
  }
@@ -5791,7 +5791,7 @@ interface EstimateTotalsResponseNonNullableFields$3 {
5791
5791
  };
5792
5792
  requestedShippingOption: boolean;
5793
5793
  otherCharges: {
5794
- type: ChargeType$5;
5794
+ type: ChargeType$7;
5795
5795
  cost?: {
5796
5796
  totalPriceAfterTax?: {
5797
5797
  amount: string;
@@ -5911,7 +5911,7 @@ interface EstimateTotalsResponseNonNullableFields$3 {
5911
5911
  formattedConvertedAmount: string;
5912
5912
  };
5913
5913
  otherCharges: {
5914
- type: ChargeType$5;
5914
+ type: ChargeType$7;
5915
5915
  price?: {
5916
5916
  amount: string;
5917
5917
  convertedAmount: string;
@@ -7374,7 +7374,7 @@ interface AutoTaxFallbackCalculationDetails$4 {
7374
7374
  */
7375
7375
  fallbackReason?: FallbackReason$4;
7376
7376
  /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
7377
- error?: ApplicationError$8;
7377
+ error?: ApplicationError$a;
7378
7378
  }
7379
7379
  declare enum FallbackReason$4 {
7380
7380
  /** auto-tax failed to be calculated */
@@ -7382,7 +7382,7 @@ declare enum FallbackReason$4 {
7382
7382
  /** auto-tax was temporarily deactivated on a system-level */
7383
7383
  AUTO_TAX_DEACTIVATED = "AUTO_TAX_DEACTIVATED"
7384
7384
  }
7385
- interface ApplicationError$8 {
7385
+ interface ApplicationError$a {
7386
7386
  /** Error code. */
7387
7387
  code?: string;
7388
7388
  /** Description of the error. */
@@ -7474,13 +7474,13 @@ interface SelectedCarrierServiceOptionPrices$4 {
7474
7474
  }
7475
7475
  interface SelectedCarrierServiceOptionOtherCharge$4 {
7476
7476
  /** Type of additional cost. */
7477
- type?: ChargeType$4;
7477
+ type?: ChargeType$6;
7478
7478
  /** Details of the charge, such as 'Full Coverage Insurance of up to 80% of value of shipment'. */
7479
7479
  details?: string | null;
7480
7480
  /** Price of added charge. */
7481
7481
  cost?: SelectedCarrierServiceOptionPrices$4;
7482
7482
  }
7483
- declare enum ChargeType$4 {
7483
+ declare enum ChargeType$6 {
7484
7484
  HANDLING_FEE = "HANDLING_FEE",
7485
7485
  INSURANCE = "INSURANCE"
7486
7486
  }
@@ -7514,7 +7514,7 @@ interface ShippingPrice$6 {
7514
7514
  }
7515
7515
  interface OtherCharge$4 {
7516
7516
  /** Type of additional cost. */
7517
- type?: ChargeType$4;
7517
+ type?: ChargeType$6;
7518
7518
  /** Price of added cost. */
7519
7519
  price?: MultiCurrencyPrice$4;
7520
7520
  }
@@ -7592,7 +7592,7 @@ interface CalculationErrors$4 extends CalculationErrorsShippingCalculationErrorO
7592
7592
  /** Gift card calculation error. */
7593
7593
  giftCardCalculationError?: Details$4;
7594
7594
  /** Order validation errors. */
7595
- orderValidationErrors?: ApplicationError$8[];
7595
+ orderValidationErrors?: ApplicationError$a[];
7596
7596
  /**
7597
7597
  * Membership payment methods calculation errors
7598
7598
  * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
@@ -7609,7 +7609,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf$4 {
7609
7609
  carrierErrors?: CarrierErrors$4;
7610
7610
  }
7611
7611
  interface Details$4 extends DetailsKindOneOf$4 {
7612
- applicationError?: ApplicationError$8;
7612
+ applicationError?: ApplicationError$a;
7613
7613
  validationError?: ValidationError$4;
7614
7614
  systemError?: SystemError$4;
7615
7615
  /**
@@ -7620,7 +7620,7 @@ interface Details$4 extends DetailsKindOneOf$4 {
7620
7620
  }
7621
7621
  /** @oneof */
7622
7622
  interface DetailsKindOneOf$4 {
7623
- applicationError?: ApplicationError$8;
7623
+ applicationError?: ApplicationError$a;
7624
7624
  validationError?: ValidationError$4;
7625
7625
  systemError?: SystemError$4;
7626
7626
  }
@@ -8878,7 +8878,7 @@ interface EstimateTotalsResponseNonNullableFields$2 {
8878
8878
  };
8879
8879
  requestedShippingOption: boolean;
8880
8880
  otherCharges: {
8881
- type: ChargeType$4;
8881
+ type: ChargeType$6;
8882
8882
  cost?: {
8883
8883
  totalPriceAfterTax?: {
8884
8884
  amount: string;
@@ -8951,7 +8951,7 @@ interface EstimateTotalsResponseNonNullableFields$2 {
8951
8951
  formattedConvertedAmount: string;
8952
8952
  };
8953
8953
  otherCharges: {
8954
- type: ChargeType$4;
8954
+ type: ChargeType$6;
8955
8955
  price?: {
8956
8956
  amount: string;
8957
8957
  convertedAmount: string;
@@ -9510,7 +9510,7 @@ interface GetCartResponseNonNullableFields {
9510
9510
  };
9511
9511
  }
9512
9512
 
9513
- type __PublicMethodMetaInfo$9<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
9513
+ type __PublicMethodMetaInfo$a<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$9<K = string, M = unknown, T = unknown, S = unknown,
9520
9520
  __responseType: Q;
9521
9521
  __originalResponseType: R;
9522
9522
  };
9523
- declare function createCart(): __PublicMethodMetaInfo$9<'POST', {}, CreateCartRequest, CreateCartRequest$1, CreateCartResponse & CreateCartResponseNonNullableFields, CreateCartResponse$1 & CreateCartResponseNonNullableFields$1>;
9524
- declare function updateCart(): __PublicMethodMetaInfo$9<'PATCH', {
9523
+ declare function createCart(): __PublicMethodMetaInfo$a<'POST', {}, CreateCartRequest, CreateCartRequest$1, CreateCartResponse & CreateCartResponseNonNullableFields, CreateCartResponse$1 & CreateCartResponseNonNullableFields$1>;
9524
+ declare function updateCart(): __PublicMethodMetaInfo$a<'PATCH', {
9525
9525
  cartInfoId: string;
9526
9526
  }, UpdateCartRequest$2, UpdateCartRequest$3, UpdateCartResponse$2 & UpdateCartResponseNonNullableFields$2, UpdateCartResponse$3 & UpdateCartResponseNonNullableFields$3>;
9527
- declare function getCart(): __PublicMethodMetaInfo$9<'GET', {
9527
+ declare function getCart(): __PublicMethodMetaInfo$a<'GET', {
9528
9528
  id: string;
9529
9529
  }, GetCartRequest, GetCartRequest$1, GetCartResponse & GetCartResponseNonNullableFields, GetCartResponse$1 & GetCartResponseNonNullableFields$1>;
9530
- declare function addToCart(): __PublicMethodMetaInfo$9<'POST', {
9530
+ declare function addToCart(): __PublicMethodMetaInfo$a<'POST', {
9531
9531
  id: string;
9532
9532
  }, AddToCartRequest, AddToCartRequest$1, AddToCartResponse$2 & AddToCartResponseNonNullableFields$2, AddToCartResponse$3 & AddToCartResponseNonNullableFields$3>;
9533
- declare function removeLineItems$1(): __PublicMethodMetaInfo$9<'POST', {
9533
+ declare function removeLineItems$1(): __PublicMethodMetaInfo$a<'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$9<'POST', {
9536
+ declare function createCheckout$1(): __PublicMethodMetaInfo$a<'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$9<'POST', {
9539
+ declare function removeCoupon$1(): __PublicMethodMetaInfo$a<'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$9<'POST', {
9542
+ declare function updateLineItemsQuantity$1(): __PublicMethodMetaInfo$a<'POST', {
9543
9543
  id: string;
9544
9544
  }, UpdateLineItemsQuantityRequest$2, UpdateLineItemsQuantityRequest$3, UpdateLineItemsQuantityResponse$4 & UpdateLineItemsQuantityResponseNonNullableFields$4, UpdateLineItemsQuantityResponse$5 & UpdateLineItemsQuantityResponseNonNullableFields$5>;
9545
- declare function estimateTotals(): __PublicMethodMetaInfo$9<'POST', {
9545
+ declare function estimateTotals(): __PublicMethodMetaInfo$a<'POST', {
9546
9546
  id: string;
9547
9547
  }, EstimateTotalsRequest, EstimateTotalsRequest$1, EstimateTotalsResponse$2 & EstimateTotalsResponseNonNullableFields$2, EstimateTotalsResponse$3 & EstimateTotalsResponseNonNullableFields$3>;
9548
- declare function deleteCart(): __PublicMethodMetaInfo$9<'DELETE', {
9548
+ declare function deleteCart(): __PublicMethodMetaInfo$a<'DELETE', {
9549
9549
  id: string;
9550
9550
  }, DeleteCartRequest, DeleteCartRequest$1, DeleteCartResponse$2, DeleteCartResponse$3>;
9551
9551
 
9552
- declare const meta$9_addToCart: typeof addToCart;
9553
- declare const meta$9_createCart: typeof createCart;
9554
- declare const meta$9_deleteCart: typeof deleteCart;
9555
- declare const meta$9_estimateTotals: typeof estimateTotals;
9556
- declare const meta$9_getCart: typeof getCart;
9557
- declare const meta$9_updateCart: typeof updateCart;
9558
- declare namespace meta$9 {
9559
- export { type __PublicMethodMetaInfo$9 as __PublicMethodMetaInfo, meta$9_addToCart as addToCart, meta$9_createCart as createCart, createCheckout$1 as createCheckout, meta$9_deleteCart as deleteCart, meta$9_estimateTotals as estimateTotals, meta$9_getCart as getCart, removeCoupon$1 as removeCoupon, removeLineItems$1 as removeLineItems, meta$9_updateCart as updateCart, updateLineItemsQuantity$1 as updateLineItemsQuantity };
9552
+ declare const meta$a_addToCart: typeof addToCart;
9553
+ declare const meta$a_createCart: typeof createCart;
9554
+ declare const meta$a_deleteCart: typeof deleteCart;
9555
+ declare const meta$a_estimateTotals: typeof estimateTotals;
9556
+ declare const meta$a_getCart: typeof getCart;
9557
+ declare const meta$a_updateCart: typeof updateCart;
9558
+ declare namespace meta$a {
9559
+ export { type __PublicMethodMetaInfo$a as __PublicMethodMetaInfo, meta$a_addToCart as addToCart, meta$a_createCart as createCart, createCheckout$1 as createCheckout, meta$a_deleteCart as deleteCart, meta$a_estimateTotals as estimateTotals, meta$a_getCart as getCart, removeCoupon$1 as removeCoupon, removeLineItems$1 as removeLineItems, meta$a_updateCart as updateCart, updateLineItemsQuantity$1 as updateLineItemsQuantity };
9560
9560
  }
9561
9561
 
9562
9562
  interface Cart$1 {
@@ -10396,7 +10396,7 @@ interface AutoTaxFallbackCalculationDetails$3 {
10396
10396
  /** reason for fallback */
10397
10397
  fallbackReason?: FallbackReason$3;
10398
10398
  /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
10399
- error?: ApplicationError$7;
10399
+ error?: ApplicationError$9;
10400
10400
  }
10401
10401
  declare enum FallbackReason$3 {
10402
10402
  /** auto-tax failed to be calculated */
@@ -10404,7 +10404,7 @@ declare enum FallbackReason$3 {
10404
10404
  /** auto-tax was temporarily deactivated on a system-level */
10405
10405
  AUTO_TAX_DEACTIVATED = "AUTO_TAX_DEACTIVATED"
10406
10406
  }
10407
- interface ApplicationError$7 {
10407
+ interface ApplicationError$9 {
10408
10408
  /** Error code. */
10409
10409
  code?: string;
10410
10410
  /** Description of the error. */
@@ -10496,13 +10496,13 @@ interface SelectedCarrierServiceOptionPrices$3 {
10496
10496
  }
10497
10497
  interface SelectedCarrierServiceOptionOtherCharge$3 {
10498
10498
  /** Type of additional cost. */
10499
- type?: ChargeType$3;
10499
+ type?: ChargeType$5;
10500
10500
  /** Details of the charge, such as 'Full Coverage Insurance of up to 80% of value of shipment'. */
10501
10501
  details?: string | null;
10502
10502
  /** Price of added charge. */
10503
10503
  cost?: SelectedCarrierServiceOptionPrices$3;
10504
10504
  }
10505
- declare enum ChargeType$3 {
10505
+ declare enum ChargeType$5 {
10506
10506
  HANDLING_FEE = "HANDLING_FEE",
10507
10507
  INSURANCE = "INSURANCE"
10508
10508
  }
@@ -10536,7 +10536,7 @@ interface ShippingPrice$5 {
10536
10536
  }
10537
10537
  interface OtherCharge$3 {
10538
10538
  /** Type of additional cost. */
10539
- type?: ChargeType$3;
10539
+ type?: ChargeType$5;
10540
10540
  /** Price of added cost. */
10541
10541
  price?: MultiCurrencyPrice$3;
10542
10542
  }
@@ -10614,7 +10614,7 @@ interface CalculationErrors$3 extends CalculationErrorsShippingCalculationErrorO
10614
10614
  /** Gift card calculation error. */
10615
10615
  giftCardCalculationError?: Details$3;
10616
10616
  /** Order validation errors. */
10617
- orderValidationErrors?: ApplicationError$7[];
10617
+ orderValidationErrors?: ApplicationError$9[];
10618
10618
  /**
10619
10619
  * Membership payment methods calculation errors
10620
10620
  * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
@@ -10631,7 +10631,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf$3 {
10631
10631
  carrierErrors?: CarrierErrors$3;
10632
10632
  }
10633
10633
  interface Details$3 extends DetailsKindOneOf$3 {
10634
- applicationError?: ApplicationError$7;
10634
+ applicationError?: ApplicationError$9;
10635
10635
  validationError?: ValidationError$3;
10636
10636
  systemError?: SystemError$3;
10637
10637
  /**
@@ -10642,7 +10642,7 @@ interface Details$3 extends DetailsKindOneOf$3 {
10642
10642
  }
10643
10643
  /** @oneof */
10644
10644
  interface DetailsKindOneOf$3 {
10645
- applicationError?: ApplicationError$7;
10645
+ applicationError?: ApplicationError$9;
10646
10646
  validationError?: ValidationError$3;
10647
10647
  systemError?: SystemError$3;
10648
10648
  }
@@ -12529,7 +12529,7 @@ interface EstimateTotalsResponseNonNullableFields$1 {
12529
12529
  };
12530
12530
  requestedShippingOption: boolean;
12531
12531
  otherCharges: {
12532
- type: ChargeType$3;
12532
+ type: ChargeType$5;
12533
12533
  cost?: {
12534
12534
  totalPriceAfterTax?: {
12535
12535
  amount: string;
@@ -12649,7 +12649,7 @@ interface EstimateTotalsResponseNonNullableFields$1 {
12649
12649
  formattedConvertedAmount: string;
12650
12650
  };
12651
12651
  otherCharges: {
12652
- type: ChargeType$3;
12652
+ type: ChargeType$5;
12653
12653
  price?: {
12654
12654
  amount: string;
12655
12655
  convertedAmount: string;
@@ -13754,7 +13754,7 @@ interface AutoTaxFallbackCalculationDetails$2 {
13754
13754
  */
13755
13755
  fallbackReason?: FallbackReason$2;
13756
13756
  /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
13757
- error?: ApplicationError$6;
13757
+ error?: ApplicationError$8;
13758
13758
  }
13759
13759
  declare enum FallbackReason$2 {
13760
13760
  /** auto-tax failed to be calculated */
@@ -13762,7 +13762,7 @@ declare enum FallbackReason$2 {
13762
13762
  /** auto-tax was temporarily deactivated on a system-level */
13763
13763
  AUTO_TAX_DEACTIVATED = "AUTO_TAX_DEACTIVATED"
13764
13764
  }
13765
- interface ApplicationError$6 {
13765
+ interface ApplicationError$8 {
13766
13766
  /** Error code. */
13767
13767
  code?: string;
13768
13768
  /** Description of the error. */
@@ -13854,13 +13854,13 @@ interface SelectedCarrierServiceOptionPrices$2 {
13854
13854
  }
13855
13855
  interface SelectedCarrierServiceOptionOtherCharge$2 {
13856
13856
  /** Type of additional cost. */
13857
- type?: ChargeType$2;
13857
+ type?: ChargeType$4;
13858
13858
  /** Details of the charge, such as 'Full Coverage Insurance of up to 80% of value of shipment'. */
13859
13859
  details?: string | null;
13860
13860
  /** Price of added charge. */
13861
13861
  cost?: SelectedCarrierServiceOptionPrices$2;
13862
13862
  }
13863
- declare enum ChargeType$2 {
13863
+ declare enum ChargeType$4 {
13864
13864
  HANDLING_FEE = "HANDLING_FEE",
13865
13865
  INSURANCE = "INSURANCE"
13866
13866
  }
@@ -13894,7 +13894,7 @@ interface ShippingPrice$4 {
13894
13894
  }
13895
13895
  interface OtherCharge$2 {
13896
13896
  /** Type of additional cost. */
13897
- type?: ChargeType$2;
13897
+ type?: ChargeType$4;
13898
13898
  /** Price of added cost. */
13899
13899
  price?: MultiCurrencyPrice$2;
13900
13900
  }
@@ -13972,7 +13972,7 @@ interface CalculationErrors$2 extends CalculationErrorsShippingCalculationErrorO
13972
13972
  /** Gift card calculation error. */
13973
13973
  giftCardCalculationError?: Details$2;
13974
13974
  /** Order validation errors. */
13975
- orderValidationErrors?: ApplicationError$6[];
13975
+ orderValidationErrors?: ApplicationError$8[];
13976
13976
  /**
13977
13977
  * Membership payment methods calculation errors
13978
13978
  * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
@@ -13989,7 +13989,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf$2 {
13989
13989
  carrierErrors?: CarrierErrors$2;
13990
13990
  }
13991
13991
  interface Details$2 extends DetailsKindOneOf$2 {
13992
- applicationError?: ApplicationError$6;
13992
+ applicationError?: ApplicationError$8;
13993
13993
  validationError?: ValidationError$2;
13994
13994
  systemError?: SystemError$2;
13995
13995
  /**
@@ -14000,7 +14000,7 @@ interface Details$2 extends DetailsKindOneOf$2 {
14000
14000
  }
14001
14001
  /** @oneof */
14002
14002
  interface DetailsKindOneOf$2 {
14003
- applicationError?: ApplicationError$6;
14003
+ applicationError?: ApplicationError$8;
14004
14004
  validationError?: ValidationError$2;
14005
14005
  systemError?: SystemError$2;
14006
14006
  }
@@ -15340,7 +15340,7 @@ interface EstimateTotalsResponseNonNullableFields {
15340
15340
  };
15341
15341
  requestedShippingOption: boolean;
15342
15342
  otherCharges: {
15343
- type: ChargeType$2;
15343
+ type: ChargeType$4;
15344
15344
  cost?: {
15345
15345
  totalPriceAfterTax?: {
15346
15346
  amount: string;
@@ -15413,7 +15413,7 @@ interface EstimateTotalsResponseNonNullableFields {
15413
15413
  formattedConvertedAmount: string;
15414
15414
  };
15415
15415
  otherCharges: {
15416
- type: ChargeType$2;
15416
+ type: ChargeType$4;
15417
15417
  price?: {
15418
15418
  amount: string;
15419
15419
  convertedAmount: string;
@@ -15728,7 +15728,7 @@ interface EstimateTotalsResponseNonNullableFields {
15728
15728
  }[];
15729
15729
  }
15730
15730
 
15731
- type __PublicMethodMetaInfo$8<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
15731
+ type __PublicMethodMetaInfo$9<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$8<K = string, M = unknown, T = unknown, S = unknown,
15738
15738
  __responseType: Q;
15739
15739
  __originalResponseType: R;
15740
15740
  };
15741
- declare function getCurrentCart(): __PublicMethodMetaInfo$8<'GET', {}, GetCurrentCartRequest, GetCurrentCartRequest$1, GetCurrentCartResponse & GetCurrentCartResponseNonNullableFields, GetCurrentCartResponse$1 & GetCurrentCartResponseNonNullableFields$1>;
15742
- declare function updateCurrentCart(): __PublicMethodMetaInfo$8<'PATCH', {}, UpdateCartRequest, UpdateCartRequest$1, UpdateCartResponse & UpdateCartResponseNonNullableFields, UpdateCartResponse$1 & UpdateCartResponseNonNullableFields$1>;
15743
- declare function addToCurrentCart(): __PublicMethodMetaInfo$8<'POST', {}, AddToCurrentCartRequest, AddToCurrentCartRequest$1, AddToCartResponse & AddToCartResponseNonNullableFields, AddToCartResponse$1 & AddToCartResponseNonNullableFields$1>;
15744
- declare function removeLineItemsFromCurrentCart(): __PublicMethodMetaInfo$8<'POST', {}, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsFromCurrentCartRequest$1, RemoveLineItemsResponse$2 & RemoveLineItemsResponseNonNullableFields$2, RemoveLineItemsResponse$3 & RemoveLineItemsResponseNonNullableFields$3>;
15745
- declare function createCheckoutFromCurrentCart(): __PublicMethodMetaInfo$8<'POST', {}, CreateCheckoutFromCurrentCartRequest, CreateCheckoutFromCurrentCartRequest$1, CreateCheckoutResponse$2 & CreateCheckoutResponseNonNullableFields$2, CreateCheckoutResponse$3 & CreateCheckoutResponseNonNullableFields$3>;
15746
- declare function removeCouponFromCurrentCart(): __PublicMethodMetaInfo$8<'POST', {}, RemoveCouponFromCurrentCartRequest, RemoveCouponFromCurrentCartRequest$1, RemoveCouponResponse$2 & RemoveCouponResponseNonNullableFields$2, RemoveCouponResponse$3 & RemoveCouponResponseNonNullableFields$3>;
15747
- declare function updateCurrentCartLineItemQuantity(): __PublicMethodMetaInfo$8<'POST', {}, UpdateCurrentCartLineItemQuantityRequest, UpdateCurrentCartLineItemQuantityRequest$1, UpdateLineItemsQuantityResponse$2 & UpdateLineItemsQuantityResponseNonNullableFields$2, UpdateLineItemsQuantityResponse$3 & UpdateLineItemsQuantityResponseNonNullableFields$3>;
15748
- declare function estimateCurrentCartTotals(): __PublicMethodMetaInfo$8<'POST', {}, EstimateCurrentCartTotalsRequest, EstimateCurrentCartTotalsRequest$1, EstimateTotalsResponse & EstimateTotalsResponseNonNullableFields, EstimateTotalsResponse$1 & EstimateTotalsResponseNonNullableFields$1>;
15749
- declare function deleteCurrentCart(): __PublicMethodMetaInfo$8<'DELETE', {}, DeleteCurrentCartRequest, DeleteCurrentCartRequest$1, DeleteCartResponse, DeleteCartResponse$1>;
15741
+ declare function getCurrentCart(): __PublicMethodMetaInfo$9<'GET', {}, GetCurrentCartRequest, GetCurrentCartRequest$1, GetCurrentCartResponse & GetCurrentCartResponseNonNullableFields, GetCurrentCartResponse$1 & GetCurrentCartResponseNonNullableFields$1>;
15742
+ declare function updateCurrentCart(): __PublicMethodMetaInfo$9<'PATCH', {}, UpdateCartRequest, UpdateCartRequest$1, UpdateCartResponse & UpdateCartResponseNonNullableFields, UpdateCartResponse$1 & UpdateCartResponseNonNullableFields$1>;
15743
+ declare function addToCurrentCart(): __PublicMethodMetaInfo$9<'POST', {}, AddToCurrentCartRequest, AddToCurrentCartRequest$1, AddToCartResponse & AddToCartResponseNonNullableFields, AddToCartResponse$1 & AddToCartResponseNonNullableFields$1>;
15744
+ declare function removeLineItemsFromCurrentCart(): __PublicMethodMetaInfo$9<'POST', {}, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsFromCurrentCartRequest$1, RemoveLineItemsResponse$2 & RemoveLineItemsResponseNonNullableFields$2, RemoveLineItemsResponse$3 & RemoveLineItemsResponseNonNullableFields$3>;
15745
+ declare function createCheckoutFromCurrentCart(): __PublicMethodMetaInfo$9<'POST', {}, CreateCheckoutFromCurrentCartRequest, CreateCheckoutFromCurrentCartRequest$1, CreateCheckoutResponse$2 & CreateCheckoutResponseNonNullableFields$2, CreateCheckoutResponse$3 & CreateCheckoutResponseNonNullableFields$3>;
15746
+ declare function removeCouponFromCurrentCart(): __PublicMethodMetaInfo$9<'POST', {}, RemoveCouponFromCurrentCartRequest, RemoveCouponFromCurrentCartRequest$1, RemoveCouponResponse$2 & RemoveCouponResponseNonNullableFields$2, RemoveCouponResponse$3 & RemoveCouponResponseNonNullableFields$3>;
15747
+ declare function updateCurrentCartLineItemQuantity(): __PublicMethodMetaInfo$9<'POST', {}, UpdateCurrentCartLineItemQuantityRequest, UpdateCurrentCartLineItemQuantityRequest$1, UpdateLineItemsQuantityResponse$2 & UpdateLineItemsQuantityResponseNonNullableFields$2, UpdateLineItemsQuantityResponse$3 & UpdateLineItemsQuantityResponseNonNullableFields$3>;
15748
+ declare function estimateCurrentCartTotals(): __PublicMethodMetaInfo$9<'POST', {}, EstimateCurrentCartTotalsRequest, EstimateCurrentCartTotalsRequest$1, EstimateTotalsResponse & EstimateTotalsResponseNonNullableFields, EstimateTotalsResponse$1 & EstimateTotalsResponseNonNullableFields$1>;
15749
+ declare function deleteCurrentCart(): __PublicMethodMetaInfo$9<'DELETE', {}, DeleteCurrentCartRequest, DeleteCurrentCartRequest$1, DeleteCartResponse, DeleteCartResponse$1>;
15750
15750
 
15751
- declare const meta$8_addToCurrentCart: typeof addToCurrentCart;
15752
- declare const meta$8_createCheckoutFromCurrentCart: typeof createCheckoutFromCurrentCart;
15753
- declare const meta$8_deleteCurrentCart: typeof deleteCurrentCart;
15754
- declare const meta$8_estimateCurrentCartTotals: typeof estimateCurrentCartTotals;
15755
- declare const meta$8_getCurrentCart: typeof getCurrentCart;
15756
- declare const meta$8_removeCouponFromCurrentCart: typeof removeCouponFromCurrentCart;
15757
- declare const meta$8_removeLineItemsFromCurrentCart: typeof removeLineItemsFromCurrentCart;
15758
- declare const meta$8_updateCurrentCart: typeof updateCurrentCart;
15759
- declare const meta$8_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
15760
- declare namespace meta$8 {
15761
- export { type __PublicMethodMetaInfo$8 as __PublicMethodMetaInfo, meta$8_addToCurrentCart as addToCurrentCart, meta$8_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, meta$8_deleteCurrentCart as deleteCurrentCart, meta$8_estimateCurrentCartTotals as estimateCurrentCartTotals, meta$8_getCurrentCart as getCurrentCart, meta$8_removeCouponFromCurrentCart as removeCouponFromCurrentCart, meta$8_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, meta$8_updateCurrentCart as updateCurrentCart, meta$8_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
15751
+ declare const meta$9_addToCurrentCart: typeof addToCurrentCart;
15752
+ declare const meta$9_createCheckoutFromCurrentCart: typeof createCheckoutFromCurrentCart;
15753
+ declare const meta$9_deleteCurrentCart: typeof deleteCurrentCart;
15754
+ declare const meta$9_estimateCurrentCartTotals: typeof estimateCurrentCartTotals;
15755
+ declare const meta$9_getCurrentCart: typeof getCurrentCart;
15756
+ declare const meta$9_removeCouponFromCurrentCart: typeof removeCouponFromCurrentCart;
15757
+ declare const meta$9_removeLineItemsFromCurrentCart: typeof removeLineItemsFromCurrentCart;
15758
+ declare const meta$9_updateCurrentCart: typeof updateCurrentCart;
15759
+ declare const meta$9_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
15760
+ declare namespace meta$9 {
15761
+ export { type __PublicMethodMetaInfo$9 as __PublicMethodMetaInfo, meta$9_addToCurrentCart as addToCurrentCart, meta$9_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, meta$9_deleteCurrentCart as deleteCurrentCart, meta$9_estimateCurrentCartTotals as estimateCurrentCartTotals, meta$9_getCurrentCart as getCurrentCart, meta$9_removeCouponFromCurrentCart as removeCouponFromCurrentCart, meta$9_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, meta$9_updateCurrentCart as updateCurrentCart, meta$9_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$3;
15907
+ extendedFields?: ExtendedFields$5;
15908
15908
  /**
15909
15909
  * Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
15910
15910
  * @readonly
@@ -16496,13 +16496,13 @@ interface SelectedCarrierServiceOptionPrices$1 {
16496
16496
  }
16497
16497
  interface SelectedCarrierServiceOptionOtherCharge$1 {
16498
16498
  /** Type of additional cost. */
16499
- type?: ChargeType$1;
16499
+ type?: ChargeType$3;
16500
16500
  /** Details of the charge, such as 'Full Coverage Insurance of up to 80% of value of shipment'. */
16501
16501
  details?: string | null;
16502
16502
  /** Price of added charge. */
16503
16503
  cost?: SelectedCarrierServiceOptionPrices$1;
16504
16504
  }
16505
- declare enum ChargeType$1 {
16505
+ declare enum ChargeType$3 {
16506
16506
  HANDLING_FEE = "HANDLING_FEE",
16507
16507
  INSURANCE = "INSURANCE"
16508
16508
  }
@@ -16545,7 +16545,7 @@ interface ShippingPrice$3 {
16545
16545
  }
16546
16546
  interface OtherCharge$1 {
16547
16547
  /** Type of additional cost. */
16548
- type?: ChargeType$1;
16548
+ type?: ChargeType$3;
16549
16549
  /** Price of added cost. */
16550
16550
  price?: MultiCurrencyPrice$1;
16551
16551
  }
@@ -16607,7 +16607,7 @@ interface CalculationErrors$1 extends CalculationErrorsShippingCalculationErrorO
16607
16607
  /** Gift card calculation error. */
16608
16608
  giftCardCalculationError?: Details$1;
16609
16609
  /** Order validation errors. */
16610
- orderValidationErrors?: ApplicationError$5[];
16610
+ orderValidationErrors?: ApplicationError$7[];
16611
16611
  /**
16612
16612
  * Membership payment methods calculation errors
16613
16613
  * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
@@ -16624,7 +16624,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf$1 {
16624
16624
  carrierErrors?: CarrierErrors$1;
16625
16625
  }
16626
16626
  interface Details$1 extends DetailsKindOneOf$1 {
16627
- applicationError?: ApplicationError$5;
16627
+ applicationError?: ApplicationError$7;
16628
16628
  validationError?: ValidationError$1;
16629
16629
  systemError?: SystemError$1;
16630
16630
  /**
@@ -16635,11 +16635,11 @@ interface Details$1 extends DetailsKindOneOf$1 {
16635
16635
  }
16636
16636
  /** @oneof */
16637
16637
  interface DetailsKindOneOf$1 {
16638
- applicationError?: ApplicationError$5;
16638
+ applicationError?: ApplicationError$7;
16639
16639
  validationError?: ValidationError$1;
16640
16640
  systemError?: SystemError$1;
16641
16641
  }
16642
- interface ApplicationError$5 {
16642
+ interface ApplicationError$7 {
16643
16643
  /** Error code. */
16644
16644
  code?: string;
16645
16645
  /** Description of the error. */
@@ -16867,7 +16867,7 @@ interface AutoTaxFallbackCalculationDetails$1 {
16867
16867
  /** reason for fallback */
16868
16868
  fallbackReason?: FallbackReason$1;
16869
16869
  /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
16870
- error?: ApplicationError$5;
16870
+ error?: ApplicationError$7;
16871
16871
  }
16872
16872
  declare enum FallbackReason$1 {
16873
16873
  /** auto-tax failed to be calculated */
@@ -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$3 {
17055
+ interface ExtendedFields$5 {
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.
@@ -17633,7 +17633,7 @@ interface CreateCheckoutResponseNonNullableFields$1 {
17633
17633
  };
17634
17634
  requestedShippingOption: boolean;
17635
17635
  otherCharges: {
17636
- type: ChargeType$1;
17636
+ type: ChargeType$3;
17637
17637
  cost?: {
17638
17638
  totalPriceAfterTax?: {
17639
17639
  amount: string;
@@ -17757,7 +17757,7 @@ interface CreateCheckoutResponseNonNullableFields$1 {
17757
17757
  formattedConvertedAmount: string;
17758
17758
  };
17759
17759
  otherCharges: {
17760
- type: ChargeType$1;
17760
+ type: ChargeType$3;
17761
17761
  price?: {
17762
17762
  amount: string;
17763
17763
  convertedAmount: string;
@@ -18631,7 +18631,7 @@ interface GetCheckoutResponseNonNullableFields$1 {
18631
18631
  };
18632
18632
  requestedShippingOption: boolean;
18633
18633
  otherCharges: {
18634
- type: ChargeType$1;
18634
+ type: ChargeType$3;
18635
18635
  cost?: {
18636
18636
  totalPriceAfterTax?: {
18637
18637
  amount: string;
@@ -18755,7 +18755,7 @@ interface GetCheckoutResponseNonNullableFields$1 {
18755
18755
  formattedConvertedAmount: string;
18756
18756
  };
18757
18757
  otherCharges: {
18758
- type: ChargeType$1;
18758
+ type: ChargeType$3;
18759
18759
  price?: {
18760
18760
  amount: string;
18761
18761
  convertedAmount: string;
@@ -19632,7 +19632,7 @@ interface UpdateCheckoutResponseNonNullableFields$1 {
19632
19632
  };
19633
19633
  requestedShippingOption: boolean;
19634
19634
  otherCharges: {
19635
- type: ChargeType$1;
19635
+ type: ChargeType$3;
19636
19636
  cost?: {
19637
19637
  totalPriceAfterTax?: {
19638
19638
  amount: string;
@@ -19756,7 +19756,7 @@ interface UpdateCheckoutResponseNonNullableFields$1 {
19756
19756
  formattedConvertedAmount: string;
19757
19757
  };
19758
19758
  otherCharges: {
19759
- type: ChargeType$1;
19759
+ type: ChargeType$3;
19760
19760
  price?: {
19761
19761
  amount: string;
19762
19762
  convertedAmount: string;
@@ -20630,7 +20630,7 @@ interface RemoveCouponResponseNonNullableFields$1 {
20630
20630
  };
20631
20631
  requestedShippingOption: boolean;
20632
20632
  otherCharges: {
20633
- type: ChargeType$1;
20633
+ type: ChargeType$3;
20634
20634
  cost?: {
20635
20635
  totalPriceAfterTax?: {
20636
20636
  amount: string;
@@ -20754,7 +20754,7 @@ interface RemoveCouponResponseNonNullableFields$1 {
20754
20754
  formattedConvertedAmount: string;
20755
20755
  };
20756
20756
  otherCharges: {
20757
- type: ChargeType$1;
20757
+ type: ChargeType$3;
20758
20758
  price?: {
20759
20759
  amount: string;
20760
20760
  convertedAmount: string;
@@ -21628,7 +21628,7 @@ interface RemoveGiftCardResponseNonNullableFields$1 {
21628
21628
  };
21629
21629
  requestedShippingOption: boolean;
21630
21630
  otherCharges: {
21631
- type: ChargeType$1;
21631
+ type: ChargeType$3;
21632
21632
  cost?: {
21633
21633
  totalPriceAfterTax?: {
21634
21634
  amount: string;
@@ -21752,7 +21752,7 @@ interface RemoveGiftCardResponseNonNullableFields$1 {
21752
21752
  formattedConvertedAmount: string;
21753
21753
  };
21754
21754
  otherCharges: {
21755
- type: ChargeType$1;
21755
+ type: ChargeType$3;
21756
21756
  price?: {
21757
21757
  amount: string;
21758
21758
  convertedAmount: string;
@@ -22626,7 +22626,7 @@ interface RemoveOverrideCheckoutUrlResponseNonNullableFields$1 {
22626
22626
  };
22627
22627
  requestedShippingOption: boolean;
22628
22628
  otherCharges: {
22629
- type: ChargeType$1;
22629
+ type: ChargeType$3;
22630
22630
  cost?: {
22631
22631
  totalPriceAfterTax?: {
22632
22632
  amount: string;
@@ -22750,7 +22750,7 @@ interface RemoveOverrideCheckoutUrlResponseNonNullableFields$1 {
22750
22750
  formattedConvertedAmount: string;
22751
22751
  };
22752
22752
  otherCharges: {
22753
- type: ChargeType$1;
22753
+ type: ChargeType$3;
22754
22754
  price?: {
22755
22755
  amount: string;
22756
22756
  convertedAmount: string;
@@ -23624,7 +23624,7 @@ interface AddToCheckoutResponseNonNullableFields$1 {
23624
23624
  };
23625
23625
  requestedShippingOption: boolean;
23626
23626
  otherCharges: {
23627
- type: ChargeType$1;
23627
+ type: ChargeType$3;
23628
23628
  cost?: {
23629
23629
  totalPriceAfterTax?: {
23630
23630
  amount: string;
@@ -23748,7 +23748,7 @@ interface AddToCheckoutResponseNonNullableFields$1 {
23748
23748
  formattedConvertedAmount: string;
23749
23749
  };
23750
23750
  otherCharges: {
23751
- type: ChargeType$1;
23751
+ type: ChargeType$3;
23752
23752
  price?: {
23753
23753
  amount: string;
23754
23754
  convertedAmount: string;
@@ -24622,7 +24622,7 @@ interface RemoveLineItemsResponseNonNullableFields$1 {
24622
24622
  };
24623
24623
  requestedShippingOption: boolean;
24624
24624
  otherCharges: {
24625
- type: ChargeType$1;
24625
+ type: ChargeType$3;
24626
24626
  cost?: {
24627
24627
  totalPriceAfterTax?: {
24628
24628
  amount: string;
@@ -24746,7 +24746,7 @@ interface RemoveLineItemsResponseNonNullableFields$1 {
24746
24746
  formattedConvertedAmount: string;
24747
24747
  };
24748
24748
  otherCharges: {
24749
- type: ChargeType$1;
24749
+ type: ChargeType$3;
24750
24750
  price?: {
24751
24751
  amount: string;
24752
24752
  convertedAmount: string;
@@ -25624,7 +25624,7 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$1 {
25624
25624
  };
25625
25625
  requestedShippingOption: boolean;
25626
25626
  otherCharges: {
25627
- type: ChargeType$1;
25627
+ type: ChargeType$3;
25628
25628
  cost?: {
25629
25629
  totalPriceAfterTax?: {
25630
25630
  amount: string;
@@ -25748,7 +25748,7 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$1 {
25748
25748
  formattedConvertedAmount: string;
25749
25749
  };
25750
25750
  otherCharges: {
25751
- type: ChargeType$1;
25751
+ type: ChargeType$3;
25752
25752
  price?: {
25753
25753
  amount: string;
25754
25754
  convertedAmount: string;
@@ -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$2;
26408
+ extendedFields?: ExtendedFields$4;
26409
26409
  /**
26410
26410
  * Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
26411
26411
  * @readonly
@@ -26917,13 +26917,13 @@ interface SelectedCarrierServiceOptionPrices {
26917
26917
  }
26918
26918
  interface SelectedCarrierServiceOptionOtherCharge {
26919
26919
  /** Type of additional cost. */
26920
- type?: ChargeType;
26920
+ type?: ChargeType$2;
26921
26921
  /** Details of the charge, such as 'Full Coverage Insurance of up to 80% of value of shipment'. */
26922
26922
  details?: string | null;
26923
26923
  /** Price of added charge. */
26924
26924
  cost?: SelectedCarrierServiceOptionPrices;
26925
26925
  }
26926
- declare enum ChargeType {
26926
+ declare enum ChargeType$2 {
26927
26927
  HANDLING_FEE = "HANDLING_FEE",
26928
26928
  INSURANCE = "INSURANCE"
26929
26929
  }
@@ -26966,7 +26966,7 @@ interface ShippingPrice$2 {
26966
26966
  }
26967
26967
  interface OtherCharge {
26968
26968
  /** Type of additional cost. */
26969
- type?: ChargeType;
26969
+ type?: ChargeType$2;
26970
26970
  /** Price of added cost. */
26971
26971
  price?: MultiCurrencyPrice;
26972
26972
  }
@@ -27028,7 +27028,7 @@ interface CalculationErrors extends CalculationErrorsShippingCalculationErrorOne
27028
27028
  /** Gift card calculation error. */
27029
27029
  giftCardCalculationError?: Details;
27030
27030
  /** Order validation errors. */
27031
- orderValidationErrors?: ApplicationError$4[];
27031
+ orderValidationErrors?: ApplicationError$6[];
27032
27032
  /**
27033
27033
  * Membership payment methods calculation errors
27034
27034
  * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
@@ -27045,7 +27045,7 @@ interface CalculationErrorsShippingCalculationErrorOneOf {
27045
27045
  carrierErrors?: CarrierErrors;
27046
27046
  }
27047
27047
  interface Details extends DetailsKindOneOf {
27048
- applicationError?: ApplicationError$4;
27048
+ applicationError?: ApplicationError$6;
27049
27049
  validationError?: ValidationError;
27050
27050
  systemError?: SystemError;
27051
27051
  /**
@@ -27056,11 +27056,11 @@ interface Details extends DetailsKindOneOf {
27056
27056
  }
27057
27057
  /** @oneof */
27058
27058
  interface DetailsKindOneOf {
27059
- applicationError?: ApplicationError$4;
27059
+ applicationError?: ApplicationError$6;
27060
27060
  validationError?: ValidationError;
27061
27061
  systemError?: SystemError;
27062
27062
  }
27063
- interface ApplicationError$4 {
27063
+ interface ApplicationError$6 {
27064
27064
  /** Error code. */
27065
27065
  code?: string;
27066
27066
  /** Description of the error. */
@@ -27288,7 +27288,7 @@ interface AutoTaxFallbackCalculationDetails {
27288
27288
  /** reason for fallback */
27289
27289
  fallbackReason?: FallbackReason;
27290
27290
  /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
27291
- error?: ApplicationError$4;
27291
+ error?: ApplicationError$6;
27292
27292
  }
27293
27293
  declare enum FallbackReason {
27294
27294
  /** auto-tax failed to be calculated */
@@ -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$2 {
27476
+ interface ExtendedFields$4 {
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.
@@ -27886,7 +27886,7 @@ interface CreateCheckoutResponseNonNullableFields {
27886
27886
  };
27887
27887
  requestedShippingOption: boolean;
27888
27888
  otherCharges: {
27889
- type: ChargeType;
27889
+ type: ChargeType$2;
27890
27890
  cost?: {
27891
27891
  totalPriceAfterTax?: {
27892
27892
  amount: string;
@@ -27963,7 +27963,7 @@ interface CreateCheckoutResponseNonNullableFields {
27963
27963
  formattedConvertedAmount: string;
27964
27964
  };
27965
27965
  otherCharges: {
27966
- type: ChargeType;
27966
+ type: ChargeType$2;
27967
27967
  price?: {
27968
27968
  amount: string;
27969
27969
  convertedAmount: string;
@@ -28590,7 +28590,7 @@ interface GetCheckoutResponseNonNullableFields {
28590
28590
  };
28591
28591
  requestedShippingOption: boolean;
28592
28592
  otherCharges: {
28593
- type: ChargeType;
28593
+ type: ChargeType$2;
28594
28594
  cost?: {
28595
28595
  totalPriceAfterTax?: {
28596
28596
  amount: string;
@@ -28667,7 +28667,7 @@ interface GetCheckoutResponseNonNullableFields {
28667
28667
  formattedConvertedAmount: string;
28668
28668
  };
28669
28669
  otherCharges: {
28670
- type: ChargeType;
28670
+ type: ChargeType$2;
28671
28671
  price?: {
28672
28672
  amount: string;
28673
28673
  convertedAmount: string;
@@ -29297,7 +29297,7 @@ interface UpdateCheckoutResponseNonNullableFields {
29297
29297
  };
29298
29298
  requestedShippingOption: boolean;
29299
29299
  otherCharges: {
29300
- type: ChargeType;
29300
+ type: ChargeType$2;
29301
29301
  cost?: {
29302
29302
  totalPriceAfterTax?: {
29303
29303
  amount: string;
@@ -29374,7 +29374,7 @@ interface UpdateCheckoutResponseNonNullableFields {
29374
29374
  formattedConvertedAmount: string;
29375
29375
  };
29376
29376
  otherCharges: {
29377
- type: ChargeType;
29377
+ type: ChargeType$2;
29378
29378
  price?: {
29379
29379
  amount: string;
29380
29380
  convertedAmount: string;
@@ -30001,7 +30001,7 @@ interface RemoveCouponResponseNonNullableFields {
30001
30001
  };
30002
30002
  requestedShippingOption: boolean;
30003
30003
  otherCharges: {
30004
- type: ChargeType;
30004
+ type: ChargeType$2;
30005
30005
  cost?: {
30006
30006
  totalPriceAfterTax?: {
30007
30007
  amount: string;
@@ -30078,7 +30078,7 @@ interface RemoveCouponResponseNonNullableFields {
30078
30078
  formattedConvertedAmount: string;
30079
30079
  };
30080
30080
  otherCharges: {
30081
- type: ChargeType;
30081
+ type: ChargeType$2;
30082
30082
  price?: {
30083
30083
  amount: string;
30084
30084
  convertedAmount: string;
@@ -30705,7 +30705,7 @@ interface RemoveGiftCardResponseNonNullableFields {
30705
30705
  };
30706
30706
  requestedShippingOption: boolean;
30707
30707
  otherCharges: {
30708
- type: ChargeType;
30708
+ type: ChargeType$2;
30709
30709
  cost?: {
30710
30710
  totalPriceAfterTax?: {
30711
30711
  amount: string;
@@ -30782,7 +30782,7 @@ interface RemoveGiftCardResponseNonNullableFields {
30782
30782
  formattedConvertedAmount: string;
30783
30783
  };
30784
30784
  otherCharges: {
30785
- type: ChargeType;
30785
+ type: ChargeType$2;
30786
30786
  price?: {
30787
30787
  amount: string;
30788
30788
  convertedAmount: string;
@@ -31409,7 +31409,7 @@ interface RemoveOverrideCheckoutUrlResponseNonNullableFields {
31409
31409
  };
31410
31410
  requestedShippingOption: boolean;
31411
31411
  otherCharges: {
31412
- type: ChargeType;
31412
+ type: ChargeType$2;
31413
31413
  cost?: {
31414
31414
  totalPriceAfterTax?: {
31415
31415
  amount: string;
@@ -31486,7 +31486,7 @@ interface RemoveOverrideCheckoutUrlResponseNonNullableFields {
31486
31486
  formattedConvertedAmount: string;
31487
31487
  };
31488
31488
  otherCharges: {
31489
- type: ChargeType;
31489
+ type: ChargeType$2;
31490
31490
  price?: {
31491
31491
  amount: string;
31492
31492
  convertedAmount: string;
@@ -32113,7 +32113,7 @@ interface AddToCheckoutResponseNonNullableFields {
32113
32113
  };
32114
32114
  requestedShippingOption: boolean;
32115
32115
  otherCharges: {
32116
- type: ChargeType;
32116
+ type: ChargeType$2;
32117
32117
  cost?: {
32118
32118
  totalPriceAfterTax?: {
32119
32119
  amount: string;
@@ -32190,7 +32190,7 @@ interface AddToCheckoutResponseNonNullableFields {
32190
32190
  formattedConvertedAmount: string;
32191
32191
  };
32192
32192
  otherCharges: {
32193
- type: ChargeType;
32193
+ type: ChargeType$2;
32194
32194
  price?: {
32195
32195
  amount: string;
32196
32196
  convertedAmount: string;
@@ -32817,7 +32817,7 @@ interface RemoveLineItemsResponseNonNullableFields {
32817
32817
  };
32818
32818
  requestedShippingOption: boolean;
32819
32819
  otherCharges: {
32820
- type: ChargeType;
32820
+ type: ChargeType$2;
32821
32821
  cost?: {
32822
32822
  totalPriceAfterTax?: {
32823
32823
  amount: string;
@@ -32894,7 +32894,7 @@ interface RemoveLineItemsResponseNonNullableFields {
32894
32894
  formattedConvertedAmount: string;
32895
32895
  };
32896
32896
  otherCharges: {
32897
- type: ChargeType;
32897
+ type: ChargeType$2;
32898
32898
  price?: {
32899
32899
  amount: string;
32900
32900
  convertedAmount: string;
@@ -33525,7 +33525,7 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
33525
33525
  };
33526
33526
  requestedShippingOption: boolean;
33527
33527
  otherCharges: {
33528
- type: ChargeType;
33528
+ type: ChargeType$2;
33529
33529
  cost?: {
33530
33530
  totalPriceAfterTax?: {
33531
33531
  amount: string;
@@ -33602,7 +33602,7 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
33602
33602
  formattedConvertedAmount: string;
33603
33603
  };
33604
33604
  otherCharges: {
33605
- type: ChargeType;
33605
+ type: ChargeType$2;
33606
33606
  price?: {
33607
33607
  amount: string;
33608
33608
  convertedAmount: string;
@@ -34019,7 +34019,7 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
34019
34019
  };
34020
34020
  }
34021
34021
 
34022
- type __PublicMethodMetaInfo$7<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
34022
+ type __PublicMethodMetaInfo$8<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$7<K = string, M = unknown, T = unknown, S = unknown,
34029
34029
  __responseType: Q;
34030
34030
  __originalResponseType: R;
34031
34031
  };
34032
- declare function createCheckout(): __PublicMethodMetaInfo$7<'POST', {}, CreateCheckoutRequest, CreateCheckoutRequest$1, CreateCheckoutResponse & CreateCheckoutResponseNonNullableFields, CreateCheckoutResponse$1 & CreateCheckoutResponseNonNullableFields$1>;
34033
- declare function getCheckout(): __PublicMethodMetaInfo$7<'GET', {
34032
+ declare function createCheckout(): __PublicMethodMetaInfo$8<'POST', {}, CreateCheckoutRequest, CreateCheckoutRequest$1, CreateCheckoutResponse & CreateCheckoutResponseNonNullableFields, CreateCheckoutResponse$1 & CreateCheckoutResponseNonNullableFields$1>;
34033
+ declare function getCheckout(): __PublicMethodMetaInfo$8<'GET', {
34034
34034
  id: string;
34035
34035
  }, GetCheckoutRequest, GetCheckoutRequest$1, GetCheckoutResponse & GetCheckoutResponseNonNullableFields, GetCheckoutResponse$1 & GetCheckoutResponseNonNullableFields$1>;
34036
- declare function getCheckoutUrl(): __PublicMethodMetaInfo$7<'GET', {
34036
+ declare function getCheckoutUrl(): __PublicMethodMetaInfo$8<'GET', {
34037
34037
  id: string;
34038
34038
  }, GetCheckoutURLRequest, GetCheckoutURLRequest$1, GetCheckoutURLResponse & GetCheckoutURLResponseNonNullableFields, GetCheckoutURLResponse$1 & GetCheckoutURLResponseNonNullableFields$1>;
34039
- declare function updateCheckout(): __PublicMethodMetaInfo$7<'PATCH', {
34039
+ declare function updateCheckout(): __PublicMethodMetaInfo$8<'PATCH', {
34040
34040
  checkoutId: string;
34041
34041
  }, UpdateCheckoutRequest, UpdateCheckoutRequest$1, UpdateCheckoutResponse & UpdateCheckoutResponseNonNullableFields, UpdateCheckoutResponse$1 & UpdateCheckoutResponseNonNullableFields$1>;
34042
- declare function removeCoupon(): __PublicMethodMetaInfo$7<'POST', {
34042
+ declare function removeCoupon(): __PublicMethodMetaInfo$8<'POST', {
34043
34043
  id: string;
34044
34044
  }, RemoveCouponRequest, RemoveCouponRequest$1, RemoveCouponResponse & RemoveCouponResponseNonNullableFields, RemoveCouponResponse$1 & RemoveCouponResponseNonNullableFields$1>;
34045
- declare function removeGiftCard(): __PublicMethodMetaInfo$7<'POST', {
34045
+ declare function removeGiftCard(): __PublicMethodMetaInfo$8<'POST', {
34046
34046
  id: string;
34047
34047
  }, RemoveGiftCardRequest, RemoveGiftCardRequest$1, RemoveGiftCardResponse & RemoveGiftCardResponseNonNullableFields, RemoveGiftCardResponse$1 & RemoveGiftCardResponseNonNullableFields$1>;
34048
- declare function removeOverrideCheckoutUrl(): __PublicMethodMetaInfo$7<'POST', {
34048
+ declare function removeOverrideCheckoutUrl(): __PublicMethodMetaInfo$8<'POST', {
34049
34049
  id: string;
34050
34050
  }, RemoveOverrideCheckoutUrlRequest, RemoveOverrideCheckoutUrlRequest$1, RemoveOverrideCheckoutUrlResponse & RemoveOverrideCheckoutUrlResponseNonNullableFields, RemoveOverrideCheckoutUrlResponse$1 & RemoveOverrideCheckoutUrlResponseNonNullableFields$1>;
34051
- declare function addToCheckout(): __PublicMethodMetaInfo$7<'POST', {
34051
+ declare function addToCheckout(): __PublicMethodMetaInfo$8<'POST', {
34052
34052
  id: string;
34053
34053
  }, AddToCheckoutRequest, AddToCheckoutRequest$1, AddToCheckoutResponse & AddToCheckoutResponseNonNullableFields, AddToCheckoutResponse$1 & AddToCheckoutResponseNonNullableFields$1>;
34054
- declare function removeLineItems(): __PublicMethodMetaInfo$7<'POST', {
34054
+ declare function removeLineItems(): __PublicMethodMetaInfo$8<'POST', {
34055
34055
  id: string;
34056
34056
  }, RemoveLineItemsRequest, RemoveLineItemsRequest$1, RemoveLineItemsResponse & RemoveLineItemsResponseNonNullableFields, RemoveLineItemsResponse$1 & RemoveLineItemsResponseNonNullableFields$1>;
34057
- declare function createOrder$1(): __PublicMethodMetaInfo$7<'POST', {
34057
+ declare function createOrder$1(): __PublicMethodMetaInfo$8<'POST', {
34058
34058
  id: string;
34059
34059
  }, CreateOrderRequest$2, CreateOrderRequest$3, CreateOrderResponse$2 & CreateOrderResponseNonNullableFields$2, CreateOrderResponse$3 & CreateOrderResponseNonNullableFields$3>;
34060
- declare function markCheckoutAsCompleted(): __PublicMethodMetaInfo$7<'POST', {
34060
+ declare function markCheckoutAsCompleted(): __PublicMethodMetaInfo$8<'POST', {
34061
34061
  id: string;
34062
34062
  }, MarkCheckoutAsCompletedRequest, MarkCheckoutAsCompletedRequest$1, MarkCheckoutAsCompletedResponse, MarkCheckoutAsCompletedResponse$1>;
34063
- declare function updateLineItemsQuantity(): __PublicMethodMetaInfo$7<'POST', {
34063
+ declare function updateLineItemsQuantity(): __PublicMethodMetaInfo$8<'POST', {
34064
34064
  id: string;
34065
34065
  }, UpdateLineItemsQuantityRequest, UpdateLineItemsQuantityRequest$1, UpdateLineItemsQuantityResponse & UpdateLineItemsQuantityResponseNonNullableFields, UpdateLineItemsQuantityResponse$1 & UpdateLineItemsQuantityResponseNonNullableFields$1>;
34066
34066
 
34067
- declare const meta$7_addToCheckout: typeof addToCheckout;
34068
- declare const meta$7_createCheckout: typeof createCheckout;
34069
- declare const meta$7_getCheckout: typeof getCheckout;
34070
- declare const meta$7_getCheckoutUrl: typeof getCheckoutUrl;
34071
- declare const meta$7_markCheckoutAsCompleted: typeof markCheckoutAsCompleted;
34072
- declare const meta$7_removeCoupon: typeof removeCoupon;
34073
- declare const meta$7_removeGiftCard: typeof removeGiftCard;
34074
- declare const meta$7_removeLineItems: typeof removeLineItems;
34075
- declare const meta$7_removeOverrideCheckoutUrl: typeof removeOverrideCheckoutUrl;
34076
- declare const meta$7_updateCheckout: typeof updateCheckout;
34077
- declare const meta$7_updateLineItemsQuantity: typeof updateLineItemsQuantity;
34078
- declare namespace meta$7 {
34079
- export { type __PublicMethodMetaInfo$7 as __PublicMethodMetaInfo, meta$7_addToCheckout as addToCheckout, meta$7_createCheckout as createCheckout, createOrder$1 as createOrder, meta$7_getCheckout as getCheckout, meta$7_getCheckoutUrl as getCheckoutUrl, meta$7_markCheckoutAsCompleted as markCheckoutAsCompleted, meta$7_removeCoupon as removeCoupon, meta$7_removeGiftCard as removeGiftCard, meta$7_removeLineItems as removeLineItems, meta$7_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, meta$7_updateCheckout as updateCheckout, meta$7_updateLineItemsQuantity as updateLineItemsQuantity };
34067
+ declare const meta$8_addToCheckout: typeof addToCheckout;
34068
+ declare const meta$8_createCheckout: typeof createCheckout;
34069
+ declare const meta$8_getCheckout: typeof getCheckout;
34070
+ declare const meta$8_getCheckoutUrl: typeof getCheckoutUrl;
34071
+ declare const meta$8_markCheckoutAsCompleted: typeof markCheckoutAsCompleted;
34072
+ declare const meta$8_removeCoupon: typeof removeCoupon;
34073
+ declare const meta$8_removeGiftCard: typeof removeGiftCard;
34074
+ declare const meta$8_removeLineItems: typeof removeLineItems;
34075
+ declare const meta$8_removeOverrideCheckoutUrl: typeof removeOverrideCheckoutUrl;
34076
+ declare const meta$8_updateCheckout: typeof updateCheckout;
34077
+ declare const meta$8_updateLineItemsQuantity: typeof updateLineItemsQuantity;
34078
+ declare namespace meta$8 {
34079
+ export { type __PublicMethodMetaInfo$8 as __PublicMethodMetaInfo, meta$8_addToCheckout as addToCheckout, meta$8_createCheckout as createCheckout, createOrder$1 as createOrder, meta$8_getCheckout as getCheckout, meta$8_getCheckoutUrl as getCheckoutUrl, meta$8_markCheckoutAsCompleted as markCheckoutAsCompleted, meta$8_removeCoupon as removeCoupon, meta$8_removeGiftCard as removeGiftCard, meta$8_removeLineItems as removeLineItems, meta$8_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, meta$8_updateCheckout as updateCheckout, meta$8_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$6<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
34363
+ type __PublicMethodMetaInfo$7<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$6<K = string, M = unknown, T = unknown, S = unknown,
34370
34370
  __responseType: Q;
34371
34371
  __originalResponseType: R;
34372
34372
  };
34373
- declare function getCheckoutSettings(): __PublicMethodMetaInfo$6<'GET', {}, GetCheckoutSettingsRequest, GetCheckoutSettingsRequest$1, GetCheckoutSettingsResponse, GetCheckoutSettingsResponse$1>;
34374
- declare function updateCheckoutSettings(): __PublicMethodMetaInfo$6<'PATCH', {}, UpdateCheckoutSettingsRequest, UpdateCheckoutSettingsRequest$1, UpdateCheckoutSettingsResponse, UpdateCheckoutSettingsResponse$1>;
34373
+ declare function getCheckoutSettings(): __PublicMethodMetaInfo$7<'GET', {}, GetCheckoutSettingsRequest, GetCheckoutSettingsRequest$1, GetCheckoutSettingsResponse, GetCheckoutSettingsResponse$1>;
34374
+ declare function updateCheckoutSettings(): __PublicMethodMetaInfo$7<'PATCH', {}, UpdateCheckoutSettingsRequest, UpdateCheckoutSettingsRequest$1, UpdateCheckoutSettingsResponse, UpdateCheckoutSettingsResponse$1>;
34375
34375
 
34376
- declare const meta$6_getCheckoutSettings: typeof getCheckoutSettings;
34377
- declare const meta$6_updateCheckoutSettings: typeof updateCheckoutSettings;
34378
- declare namespace meta$6 {
34379
- export { type __PublicMethodMetaInfo$6 as __PublicMethodMetaInfo, meta$6_getCheckoutSettings as getCheckoutSettings, meta$6_updateCheckoutSettings as updateCheckoutSettings };
34376
+ declare const meta$7_getCheckoutSettings: typeof getCheckoutSettings;
34377
+ declare const meta$7_updateCheckoutSettings: typeof updateCheckoutSettings;
34378
+ declare namespace meta$7 {
34379
+ export { type __PublicMethodMetaInfo$7 as __PublicMethodMetaInfo, meta$7_getCheckoutSettings as getCheckoutSettings, meta$7_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$1;
34666
+ query?: CursorQuery$3;
34667
34667
  }
34668
- interface CursorQuery$1 extends CursorQueryPagingMethodOneOf$1 {
34668
+ interface CursorQuery$3 extends CursorQueryPagingMethodOneOf$3 {
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$3;
34670
+ cursorPaging?: CursorPaging$5;
34671
34671
  /**
34672
34672
  * Filter object in the following format:
34673
34673
  * `"filter" : {
@@ -34682,24 +34682,24 @@ interface CursorQuery$1 extends CursorQueryPagingMethodOneOf$1 {
34682
34682
  * Sort object in the following format:
34683
34683
  * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
34684
34684
  */
34685
- sort?: Sorting$3[];
34685
+ sort?: Sorting$5[];
34686
34686
  }
34687
34687
  /** @oneof */
34688
- interface CursorQueryPagingMethodOneOf$1 {
34688
+ interface CursorQueryPagingMethodOneOf$3 {
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$3;
34690
+ cursorPaging?: CursorPaging$5;
34691
34691
  }
34692
- interface Sorting$3 {
34692
+ interface Sorting$5 {
34693
34693
  /** Name of the field to sort by. */
34694
34694
  fieldName?: string;
34695
34695
  /** Sort order. */
34696
- order?: SortOrder$3;
34696
+ order?: SortOrder$5;
34697
34697
  }
34698
- declare enum SortOrder$3 {
34698
+ declare enum SortOrder$5 {
34699
34699
  ASC = "ASC",
34700
34700
  DESC = "DESC"
34701
34701
  }
34702
- interface CursorPaging$3 {
34702
+ interface CursorPaging$5 {
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$3;
34718
+ pagingMetadata?: CursorPagingMetadata$5;
34719
34719
  }
34720
- interface CursorPagingMetadata$3 {
34720
+ interface CursorPagingMetadata$5 {
34721
34721
  /** Number of items returned in the response. */
34722
34722
  count?: number | null;
34723
34723
  /** Offset that was requested. */
34724
- cursors?: Cursors$3;
34724
+ cursors?: Cursors$5;
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$3 {
34729
34729
  */
34730
34730
  hasNext?: boolean | null;
34731
34731
  }
34732
- interface Cursors$3 {
34732
+ interface Cursors$5 {
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$2;
35473
35473
  }
35474
- interface CursorQuery extends CursorQueryPagingMethodOneOf {
35474
+ interface CursorQuery$2 extends CursorQueryPagingMethodOneOf$2 {
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$2;
35476
+ cursorPaging?: CursorPaging$4;
35477
35477
  /**
35478
35478
  * Filter object in the following format:
35479
35479
  * `"filter" : {
@@ -35488,24 +35488,24 @@ interface CursorQuery extends CursorQueryPagingMethodOneOf {
35488
35488
  * Sort object in the following format:
35489
35489
  * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
35490
35490
  */
35491
- sort?: Sorting$2[];
35491
+ sort?: Sorting$4[];
35492
35492
  }
35493
35493
  /** @oneof */
35494
- interface CursorQueryPagingMethodOneOf {
35494
+ interface CursorQueryPagingMethodOneOf$2 {
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$2;
35496
+ cursorPaging?: CursorPaging$4;
35497
35497
  }
35498
- interface Sorting$2 {
35498
+ interface Sorting$4 {
35499
35499
  /** Name of the field to sort by. */
35500
35500
  fieldName?: string;
35501
35501
  /** Sort order. */
35502
- order?: SortOrder$2;
35502
+ order?: SortOrder$4;
35503
35503
  }
35504
- declare enum SortOrder$2 {
35504
+ declare enum SortOrder$4 {
35505
35505
  ASC = "ASC",
35506
35506
  DESC = "DESC"
35507
35507
  }
35508
- interface CursorPaging$2 {
35508
+ interface CursorPaging$4 {
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$2;
35524
+ pagingMetadata?: CursorPagingMetadata$4;
35525
35525
  }
35526
- interface CursorPagingMetadata$2 {
35526
+ interface CursorPagingMetadata$4 {
35527
35527
  /** Number of items returned in the response. */
35528
35528
  count?: number | null;
35529
35529
  /** Offset that was requested. */
35530
- cursors?: Cursors$2;
35530
+ cursors?: Cursors$4;
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$2 {
35535
35535
  */
35536
35536
  hasNext?: boolean | null;
35537
35537
  }
35538
- interface Cursors$2 {
35538
+ interface Cursors$4 {
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$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
35727
+ type __PublicMethodMetaInfo$6<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,1344 @@ type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown,
35734
35734
  __responseType: Q;
35735
35735
  __originalResponseType: R;
35736
35736
  };
35737
- declare function createCheckoutTemplate(): __PublicMethodMetaInfo$5<'POST', {}, CreateCheckoutTemplateRequest, CreateCheckoutTemplateRequest$1, CreateCheckoutTemplateResponse & CreateCheckoutTemplateResponseNonNullableFields, CreateCheckoutTemplateResponse$1 & CreateCheckoutTemplateResponseNonNullableFields$1>;
35738
- declare function getCheckoutTemplate(): __PublicMethodMetaInfo$5<'GET', {
35737
+ declare function createCheckoutTemplate(): __PublicMethodMetaInfo$6<'POST', {}, CreateCheckoutTemplateRequest, CreateCheckoutTemplateRequest$1, CreateCheckoutTemplateResponse & CreateCheckoutTemplateResponseNonNullableFields, CreateCheckoutTemplateResponse$1 & CreateCheckoutTemplateResponseNonNullableFields$1>;
35738
+ declare function getCheckoutTemplate(): __PublicMethodMetaInfo$6<'GET', {
35739
35739
  checkoutTemplateId: string;
35740
35740
  }, GetCheckoutTemplateRequest, GetCheckoutTemplateRequest$1, GetCheckoutTemplateResponse & GetCheckoutTemplateResponseNonNullableFields, GetCheckoutTemplateResponse$1 & GetCheckoutTemplateResponseNonNullableFields$1>;
35741
- declare function updateCheckoutTemplate(): __PublicMethodMetaInfo$5<'PATCH', {
35741
+ declare function updateCheckoutTemplate(): __PublicMethodMetaInfo$6<'PATCH', {
35742
35742
  checkoutTemplateId: string;
35743
35743
  }, UpdateCheckoutTemplateRequest, UpdateCheckoutTemplateRequest$1, UpdateCheckoutTemplateResponse & UpdateCheckoutTemplateResponseNonNullableFields, UpdateCheckoutTemplateResponse$1 & UpdateCheckoutTemplateResponseNonNullableFields$1>;
35744
- declare function deleteCheckoutTemplate(): __PublicMethodMetaInfo$5<'DELETE', {
35744
+ declare function deleteCheckoutTemplate(): __PublicMethodMetaInfo$6<'DELETE', {
35745
35745
  checkoutTemplateId: string;
35746
35746
  }, DeleteCheckoutTemplateRequest, DeleteCheckoutTemplateRequest$1, DeleteCheckoutTemplateResponse, DeleteCheckoutTemplateResponse$1>;
35747
- declare function queryCheckoutTemplates(): __PublicMethodMetaInfo$5<'POST', {}, QueryCheckoutTemplatesRequest, QueryCheckoutTemplatesRequest$1, QueryCheckoutTemplatesResponse & QueryCheckoutTemplatesResponseNonNullableFields, QueryCheckoutTemplatesResponse$1 & QueryCheckoutTemplatesResponseNonNullableFields$1>;
35748
- declare function createCheckoutFromTemplate(): __PublicMethodMetaInfo$5<'POST', {
35747
+ declare function queryCheckoutTemplates(): __PublicMethodMetaInfo$6<'POST', {}, QueryCheckoutTemplatesRequest, QueryCheckoutTemplatesRequest$1, QueryCheckoutTemplatesResponse & QueryCheckoutTemplatesResponseNonNullableFields, QueryCheckoutTemplatesResponse$1 & QueryCheckoutTemplatesResponseNonNullableFields$1>;
35748
+ declare function createCheckoutFromTemplate(): __PublicMethodMetaInfo$6<'POST', {
35749
35749
  checkoutTemplateId: string;
35750
35750
  }, CreateCheckoutFromTemplateRequest, CreateCheckoutFromTemplateRequest$1, CreateCheckoutFromTemplateResponse & CreateCheckoutFromTemplateResponseNonNullableFields, CreateCheckoutFromTemplateResponse$1 & CreateCheckoutFromTemplateResponseNonNullableFields$1>;
35751
35751
 
35752
- declare const meta$5_createCheckoutFromTemplate: typeof createCheckoutFromTemplate;
35753
- declare const meta$5_createCheckoutTemplate: typeof createCheckoutTemplate;
35754
- declare const meta$5_deleteCheckoutTemplate: typeof deleteCheckoutTemplate;
35755
- declare const meta$5_getCheckoutTemplate: typeof getCheckoutTemplate;
35756
- declare const meta$5_queryCheckoutTemplates: typeof queryCheckoutTemplates;
35757
- declare const meta$5_updateCheckoutTemplate: typeof updateCheckoutTemplate;
35752
+ declare const meta$6_createCheckoutFromTemplate: typeof createCheckoutFromTemplate;
35753
+ declare const meta$6_createCheckoutTemplate: typeof createCheckoutTemplate;
35754
+ declare const meta$6_deleteCheckoutTemplate: typeof deleteCheckoutTemplate;
35755
+ declare const meta$6_getCheckoutTemplate: typeof getCheckoutTemplate;
35756
+ declare const meta$6_queryCheckoutTemplates: typeof queryCheckoutTemplates;
35757
+ declare const meta$6_updateCheckoutTemplate: typeof updateCheckoutTemplate;
35758
+ declare namespace meta$6 {
35759
+ export { type __PublicMethodMetaInfo$6 as __PublicMethodMetaInfo, meta$6_createCheckoutFromTemplate as createCheckoutFromTemplate, meta$6_createCheckoutTemplate as createCheckoutTemplate, meta$6_deleteCheckoutTemplate as deleteCheckoutTemplate, meta$6_getCheckoutTemplate as getCheckoutTemplate, meta$6_queryCheckoutTemplates as queryCheckoutTemplates, meta$6_updateCheckoutTemplate as updateCheckoutTemplate };
35760
+ }
35761
+
35762
+ /**
35763
+ * A DeliveryProfile is a ...
35764
+ * You can ...
35765
+ * Read more about DeliveryProfiles
35766
+ * in this [article](<LINK_TO_KB_ARTICLE>).
35767
+ */
35768
+ interface DeliveryProfile$1 {
35769
+ /**
35770
+ * DeliveryProfile ID.
35771
+ * @readonly
35772
+ */
35773
+ id?: string | null;
35774
+ /** DeliveryProfile name. */
35775
+ name?: string | null;
35776
+ /**
35777
+ * Indicates that this DeliveryProfile is the default DeliveryProfile.
35778
+ * @readonly
35779
+ */
35780
+ default?: boolean | null;
35781
+ /** A list of DeliveryProfile regions. */
35782
+ deliveryRegions?: DeliveryRegion$1[];
35783
+ /**
35784
+ * DeliveryProfile revision.
35785
+ * @readonly
35786
+ */
35787
+ revision?: string | null;
35788
+ /**
35789
+ * Date and time the DeliveryProfile was created.
35790
+ * @readonly
35791
+ */
35792
+ createdDate?: Date;
35793
+ /**
35794
+ * Date and time the DeliveryProfile was last updated.
35795
+ * @readonly
35796
+ */
35797
+ updatedDate?: Date;
35798
+ /** Extended fields. */
35799
+ extendedFields?: ExtendedFields$3;
35800
+ }
35801
+ /** DeliveryRegion can be used to config a Delivery Destinations with its providers */
35802
+ interface DeliveryRegion$1 {
35803
+ /**
35804
+ * The delivery region id.
35805
+ * @readonly
35806
+ */
35807
+ id?: string | null;
35808
+ /** Optional name of the rule, for example: "Domestic". */
35809
+ name?: string | null;
35810
+ /** Indicates that this rule is active, default value is true. */
35811
+ active?: boolean | null;
35812
+ /**
35813
+ * The spi implementers id of shipping-rates spi, assigned to this rule.
35814
+ * @readonly
35815
+ */
35816
+ deliveryCarriers?: DeliveryCarrier$1[];
35817
+ /** The operation region of this rule, if empty than it is global. */
35818
+ destinations?: Destination$1[];
35819
+ /**
35820
+ * Represents the time this Profile was created
35821
+ * @readonly
35822
+ */
35823
+ createdDate?: Date;
35824
+ }
35825
+ interface DeliveryCarrier$1 {
35826
+ /** AppDefId of the provider as it is registered in Wix Dev Center. Can be fetched by listDeliveryProvider api. */
35827
+ appId?: string;
35828
+ /** Backup rate to be used in case the cost returned by the provider is empty. */
35829
+ backupRate?: BackupRate$1;
35830
+ /** Additional charges to add to the delivery rate for this carrier */
35831
+ additionalCharges?: AdditionalCharge$1[];
35832
+ }
35833
+ interface BackupRate$1 {
35834
+ /** Default rate prefix that will concatenate to the delivery options the provider will offer. */
35835
+ prefix?: string | null;
35836
+ /** Default rate price for all delivery options that the provider will offer. */
35837
+ rate?: string | null;
35838
+ /** Should the default rate be used. Default value is false. */
35839
+ enabled?: boolean | null;
35840
+ }
35841
+ interface AdditionalCharge$1 {
35842
+ /** Additional charge type. */
35843
+ type?: ChargeType$1;
35844
+ /** Description of the additional charge. For example, `"Handling fee of $5 applied for gift wrapping"`. */
35845
+ description?: string | null;
35846
+ /** Cost of additional charge. For example, `12.5`. */
35847
+ price?: string;
35848
+ }
35849
+ declare enum ChargeType$1 {
35850
+ HANDLING_FEE = "HANDLING_FEE"
35851
+ }
35852
+ /** Defines the area inside one country that is relevant for this rule. */
35853
+ interface Destination$1 {
35854
+ /** 2-letters code represents the country of the delivery destinations */
35855
+ countryCode?: string;
35856
+ /**
35857
+ * subdivisions - Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).
35858
+ * If empty, the rule applies to the entire country.
35859
+ */
35860
+ subdivisions?: string[];
35861
+ }
35862
+ interface ExtendedFields$3 {
35863
+ /**
35864
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
35865
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
35866
+ *
35867
+ * You can only access fields for which you have the appropriate permissions.
35868
+ *
35869
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
35870
+ */
35871
+ namespaces?: Record<string, Record<string, any>>;
35872
+ }
35873
+ interface CreateDeliveryProfileRequest$1 {
35874
+ /** DeliveryProfile to be created. */
35875
+ deliveryProfile: DeliveryProfile$1;
35876
+ }
35877
+ interface CreateDeliveryProfileResponse$1 {
35878
+ /** The created DeliveryProfile. */
35879
+ deliveryProfile?: DeliveryProfile$1;
35880
+ }
35881
+ interface GetDeliveryProfileRequest$1 {
35882
+ /** ID of the DeliveryProfile to retrieve. */
35883
+ deliveryProfileId: string;
35884
+ }
35885
+ interface GetDeliveryProfileResponse$1 {
35886
+ /** The requested DeliveryProfile. */
35887
+ deliveryProfile?: DeliveryProfile$1;
35888
+ }
35889
+ interface UpdateDeliveryProfileRequest$1 {
35890
+ /** DeliveryProfile to be updated, may be partial. */
35891
+ deliveryProfile: DeliveryProfile$1;
35892
+ }
35893
+ interface UpdateDeliveryProfileResponse$1 {
35894
+ /** Updated DeliveryProfile. */
35895
+ deliveryProfile?: DeliveryProfile$1;
35896
+ }
35897
+ interface DeleteDeliveryProfileRequest$1 {
35898
+ /** Id of the DeliveryProfile to delete. */
35899
+ deliveryProfileId: string;
35900
+ }
35901
+ interface DeleteDeliveryProfileResponse$1 {
35902
+ }
35903
+ interface QueryDeliveryProfilesRequest$1 {
35904
+ /** WQL expression. */
35905
+ query?: CursorQuery$1;
35906
+ }
35907
+ interface CursorQuery$1 extends CursorQueryPagingMethodOneOf$1 {
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$3;
35910
+ /**
35911
+ * Filter object in the following format:
35912
+ * `"filter" : {
35913
+ * "fieldName1": "value1",
35914
+ * "fieldName2":{"$operator":"value2"}
35915
+ * }`
35916
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
35917
+ */
35918
+ filter?: Record<string, any> | null;
35919
+ /**
35920
+ * Sort object in the following format:
35921
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
35922
+ */
35923
+ sort?: Sorting$3[];
35924
+ }
35925
+ /** @oneof */
35926
+ interface CursorQueryPagingMethodOneOf$1 {
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$3;
35929
+ }
35930
+ interface Sorting$3 {
35931
+ /** Name of the field to sort by. */
35932
+ fieldName?: string;
35933
+ /** Sort order. */
35934
+ order?: SortOrder$3;
35935
+ }
35936
+ declare enum SortOrder$3 {
35937
+ ASC = "ASC",
35938
+ DESC = "DESC"
35939
+ }
35940
+ interface CursorPaging$3 {
35941
+ /** Maximum number of items to return in the results. */
35942
+ limit?: number | null;
35943
+ /**
35944
+ * Pointer to the next or previous page in the list of results.
35945
+ *
35946
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
35947
+ * Not relevant for the first request.
35948
+ */
35949
+ cursor?: string | null;
35950
+ }
35951
+ interface QueryDeliveryProfilesResponse$1 {
35952
+ /** List of DeliveryProfiles. */
35953
+ deliveryProfiles?: DeliveryProfile$1[];
35954
+ /** Paging metadata */
35955
+ pagingMetadata?: CursorPagingMetadata$3;
35956
+ }
35957
+ interface CursorPagingMetadata$3 {
35958
+ /** Number of items returned in the response. */
35959
+ count?: number | null;
35960
+ /** Cursor strings that point to the next page, previous page, or both. */
35961
+ cursors?: Cursors$3;
35962
+ /**
35963
+ * Whether there are more pages to retrieve following the current page.
35964
+ *
35965
+ * + `true`: Another page of results can be retrieved.
35966
+ * + `false`: This is the last page.
35967
+ */
35968
+ hasNext?: boolean | null;
35969
+ }
35970
+ interface Cursors$3 {
35971
+ /** Cursor string pointing to the next page in the list of results. */
35972
+ next?: string | null;
35973
+ /** Cursor pointing to the previous page in the list of results. */
35974
+ prev?: string | null;
35975
+ }
35976
+ interface AddDeliveryRegionRequest$1 {
35977
+ /** delivery profile id to associated with the DeliveryRegion */
35978
+ deliveryProfileId: string;
35979
+ /** DeliveryRegion to be created */
35980
+ deliveryRegion: DeliveryRegion$1;
35981
+ /**
35982
+ * DeliveryProfile revision.
35983
+ * @readonly
35984
+ */
35985
+ revision?: string | null;
35986
+ }
35987
+ interface AddDeliveryRegionResponse$1 {
35988
+ /** The updated DeliveryProfile with the new DeliveryRegion */
35989
+ deliveryProfile?: DeliveryProfile$1;
35990
+ }
35991
+ interface UpdateDeliveryRegionRequest$1 {
35992
+ /** DeliveryProfile id that owns the DeliveryRegion */
35993
+ deliveryProfileId: string;
35994
+ /** DeliveryRegion to be updated, may be partial */
35995
+ deliveryRegion: DeliveryRegion$1;
35996
+ /**
35997
+ * DeliveryProfile revision.
35998
+ * @readonly
35999
+ */
36000
+ revision?: string | null;
36001
+ }
36002
+ interface UpdateDeliveryRegionResponse$1 {
36003
+ /** The updated DeliveryProfile with the updated DeliveryRegion */
36004
+ deliveryProfile?: DeliveryProfile$1;
36005
+ }
36006
+ interface RemoveDeliveryRegionRequest$1 {
36007
+ /** DeliveryProfile id that owns the DeliveryRegion */
36008
+ deliveryProfileId: string;
36009
+ /** Id of the DeliveryRegion to delete */
36010
+ deliveryRegionId: string;
36011
+ /**
36012
+ * DeliveryProfile revision.
36013
+ * @readonly
36014
+ */
36015
+ revision?: string | null;
36016
+ }
36017
+ interface RemoveDeliveryRegionResponse$1 {
36018
+ /** The updated DeliveryProfile without DeliveryRegion */
36019
+ deliveryProfile?: DeliveryProfile$1;
36020
+ }
36021
+ interface AddDeliveryCarrierRequest$1 {
36022
+ /** delivery_region id to associated with the delivery_carrier. */
36023
+ deliveryRegionId: string;
36024
+ /** delivery_carrier to be added. */
36025
+ deliveryCarrier: DeliveryCarrier$1;
36026
+ }
36027
+ interface AddDeliveryCarrierResponse$1 {
36028
+ /** The updated DeliveryProfile */
36029
+ deliveryProfile?: DeliveryProfile$1;
36030
+ }
36031
+ interface RemoveDeliveryCarrierRequest$1 {
36032
+ /** Id of the DeliveryRegion */
36033
+ deliveryRegionId: string;
36034
+ /** DeliveryCarrier app id to be removed. */
36035
+ appId: string;
36036
+ }
36037
+ interface RemoveDeliveryCarrierResponse$1 {
36038
+ /** The updated DeliveryProfile */
36039
+ deliveryProfile?: DeliveryProfile$1;
36040
+ }
36041
+ interface UpdateDeliveryCarrierRequest$1 {
36042
+ /** DeliveryRegion id */
36043
+ deliveryRegionId: string;
36044
+ /** Updated delivery_carrier */
36045
+ deliveryCarrier?: DeliveryCarrier$1;
36046
+ }
36047
+ interface UpdateDeliveryCarrierResponse$1 {
36048
+ /** The updated DeliveryProfile with the updated DeliveryCarrier */
36049
+ deliveryProfile?: DeliveryProfile$1;
36050
+ }
36051
+ interface ListDeliveryCarrierDetailsRequest$1 {
36052
+ }
36053
+ interface ListDeliveryCarrierDetailsResponse$1 {
36054
+ /** The list of carrier or multi-carrier services that has implemented the spi and installed on the current context(site) */
36055
+ deliveryCarrierDetails?: DeliveryCarrierDetails$1[];
36056
+ }
36057
+ interface DeliveryCarrierDetails$1 {
36058
+ /** The id of the provider. */
36059
+ id?: string;
36060
+ /** The name of the Provider. */
36061
+ displayName?: string;
36062
+ /** Provider's description. */
36063
+ description?: string | null;
36064
+ /** A link to learn more about the provider. */
36065
+ learnMoreUrl?: string | null;
36066
+ /** Dashboard URL for the provider. */
36067
+ dashboardUrl?: string | null;
36068
+ /** If the provider fallback definition is mandatory. */
36069
+ fallbackDefinitionMandatory?: boolean | null;
36070
+ /** Thumbnail image for provider. */
36071
+ thumbnailUrl?: string | null;
36072
+ /** feature toggle initialized with default value = false. should be true if implemented by spi provider */
36073
+ toggleGetCarrierSettingsEnabled?: boolean;
36074
+ }
36075
+ interface ListDeliveryCarriersRequest$1 {
36076
+ /** Delivery profile id. */
36077
+ deliveryProfileId: string;
36078
+ /** Delivery app ids to get settings for. */
36079
+ appIds?: string[];
36080
+ }
36081
+ interface ListDeliveryCarriersResponse$1 {
36082
+ /** The list of delivery settings for the given requests */
36083
+ results?: ListDeliveryCarriersResult$1[];
36084
+ /** Bulk action metadata. */
36085
+ bulkActionMetadata?: BulkActionMetadata$5;
36086
+ }
36087
+ interface ListDeliveryCarriersResult$1 {
36088
+ /** Information about successful action or error for failure. */
36089
+ deliveryCarrierMetadata?: ItemMetadata$5;
36090
+ /** The delivery carrier details */
36091
+ deliveryCarrierDetails?: DeliveryCarrierDetails$1;
36092
+ /** The delivery settings for the delivery profile and delivery region. */
36093
+ deliveryCarrierRegionalSettings?: DeliveryCarrierRegionalSettings$1[];
36094
+ }
36095
+ interface ItemMetadata$5 {
36096
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
36097
+ id?: string | null;
36098
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
36099
+ success?: boolean;
36100
+ /** Details about the error in case of failure. */
36101
+ error?: ApplicationError$5;
36102
+ }
36103
+ interface ApplicationError$5 {
36104
+ /** Error code. */
36105
+ code?: string;
36106
+ /** Description of the error. */
36107
+ description?: string;
36108
+ /** Data related to the error. */
36109
+ data?: Record<string, any> | null;
36110
+ }
36111
+ interface DeliveryCarrierRegionalSettings$1 {
36112
+ /** The delivery rule id. */
36113
+ deliveryRegionId?: string;
36114
+ /** The shipping table values that are associated with the delivery rule. Can be multiple if the provider is an aggregator of multiple carriers. */
36115
+ dashboardTables?: DashboardTable$1[];
36116
+ }
36117
+ interface DashboardTable$1 {
36118
+ /** The title of the delivery settings that will be displayed in the UI. */
36119
+ title?: string;
36120
+ /** The columns of the delivery settings that will be displayed in the UI. */
36121
+ columns?: Column$1[];
36122
+ /** The content of the delivery settings. Each row is a map of column name to value. */
36123
+ rows?: Row$1[];
36124
+ }
36125
+ interface Column$1 {
36126
+ /** The name of the column. This is used to get the data from the row. */
36127
+ key?: string;
36128
+ /** The title of the column that will be displayed in the UI. */
36129
+ name?: string;
36130
+ }
36131
+ interface Row$1 {
36132
+ /** The external key of the data presented in a row. This is used to identify the row in the UI for editing. */
36133
+ key?: string;
36134
+ /**
36135
+ * The data presented in the row. The key is the column `name` and the value is the data in the specific row and column.
36136
+ * Data will be in JSON format.
36137
+ */
36138
+ data?: Record<string, any> | null;
36139
+ }
36140
+ interface BulkActionMetadata$5 {
36141
+ /** Number of items that were successfully processed. */
36142
+ totalSuccesses?: number;
36143
+ /** Number of items that couldn't be processed. */
36144
+ totalFailures?: number;
36145
+ /** Number of failures without details because detailed failure threshold was exceeded. */
36146
+ undetailedFailures?: number;
36147
+ }
36148
+ interface UpdateExtendedFieldsRequest$1 {
36149
+ /** ID of the entity to update. */
36150
+ id: string;
36151
+ /** Identifier for the app whose extended fields are being updated. */
36152
+ namespace: string;
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
+ namespaceData: Record<string, any> | null;
36155
+ }
36156
+ interface UpdateExtendedFieldsResponse$1 {
36157
+ /** Updated DeliveryProfile. */
36158
+ deliveryProfile?: DeliveryProfile$1;
36159
+ }
36160
+ interface CreateDeliveryProfileResponseNonNullableFields$1 {
36161
+ deliveryProfile?: {
36162
+ deliveryRegions: {
36163
+ deliveryCarriers: {
36164
+ appId: string;
36165
+ additionalCharges: {
36166
+ type: ChargeType$1;
36167
+ price: string;
36168
+ }[];
36169
+ }[];
36170
+ destinations: {
36171
+ countryCode: string;
36172
+ subdivisions: string[];
36173
+ }[];
36174
+ }[];
36175
+ };
36176
+ }
36177
+ interface GetDeliveryProfileResponseNonNullableFields$1 {
36178
+ deliveryProfile?: {
36179
+ deliveryRegions: {
36180
+ deliveryCarriers: {
36181
+ appId: string;
36182
+ additionalCharges: {
36183
+ type: ChargeType$1;
36184
+ price: string;
36185
+ }[];
36186
+ }[];
36187
+ destinations: {
36188
+ countryCode: string;
36189
+ subdivisions: string[];
36190
+ }[];
36191
+ }[];
36192
+ };
36193
+ }
36194
+ interface UpdateDeliveryProfileResponseNonNullableFields$1 {
36195
+ deliveryProfile?: {
36196
+ deliveryRegions: {
36197
+ deliveryCarriers: {
36198
+ appId: string;
36199
+ additionalCharges: {
36200
+ type: ChargeType$1;
36201
+ price: string;
36202
+ }[];
36203
+ }[];
36204
+ destinations: {
36205
+ countryCode: string;
36206
+ subdivisions: string[];
36207
+ }[];
36208
+ }[];
36209
+ };
36210
+ }
36211
+ interface QueryDeliveryProfilesResponseNonNullableFields$1 {
36212
+ deliveryProfiles: {
36213
+ deliveryRegions: {
36214
+ deliveryCarriers: {
36215
+ appId: string;
36216
+ additionalCharges: {
36217
+ type: ChargeType$1;
36218
+ price: string;
36219
+ }[];
36220
+ }[];
36221
+ destinations: {
36222
+ countryCode: string;
36223
+ subdivisions: string[];
36224
+ }[];
36225
+ }[];
36226
+ }[];
36227
+ }
36228
+ interface AddDeliveryRegionResponseNonNullableFields$1 {
36229
+ deliveryProfile?: {
36230
+ deliveryRegions: {
36231
+ deliveryCarriers: {
36232
+ appId: string;
36233
+ additionalCharges: {
36234
+ type: ChargeType$1;
36235
+ price: string;
36236
+ }[];
36237
+ }[];
36238
+ destinations: {
36239
+ countryCode: string;
36240
+ subdivisions: string[];
36241
+ }[];
36242
+ }[];
36243
+ };
36244
+ }
36245
+ interface UpdateDeliveryRegionResponseNonNullableFields$1 {
36246
+ deliveryProfile?: {
36247
+ deliveryRegions: {
36248
+ deliveryCarriers: {
36249
+ appId: string;
36250
+ additionalCharges: {
36251
+ type: ChargeType$1;
36252
+ price: string;
36253
+ }[];
36254
+ }[];
36255
+ destinations: {
36256
+ countryCode: string;
36257
+ subdivisions: string[];
36258
+ }[];
36259
+ }[];
36260
+ };
36261
+ }
36262
+ interface RemoveDeliveryRegionResponseNonNullableFields$1 {
36263
+ deliveryProfile?: {
36264
+ deliveryRegions: {
36265
+ deliveryCarriers: {
36266
+ appId: string;
36267
+ additionalCharges: {
36268
+ type: ChargeType$1;
36269
+ price: string;
36270
+ }[];
36271
+ }[];
36272
+ destinations: {
36273
+ countryCode: string;
36274
+ subdivisions: string[];
36275
+ }[];
36276
+ }[];
36277
+ };
36278
+ }
36279
+ interface AddDeliveryCarrierResponseNonNullableFields$1 {
36280
+ deliveryProfile?: {
36281
+ deliveryRegions: {
36282
+ deliveryCarriers: {
36283
+ appId: string;
36284
+ additionalCharges: {
36285
+ type: ChargeType$1;
36286
+ price: string;
36287
+ }[];
36288
+ }[];
36289
+ destinations: {
36290
+ countryCode: string;
36291
+ subdivisions: string[];
36292
+ }[];
36293
+ }[];
36294
+ };
36295
+ }
36296
+ interface RemoveDeliveryCarrierResponseNonNullableFields$1 {
36297
+ deliveryProfile?: {
36298
+ deliveryRegions: {
36299
+ deliveryCarriers: {
36300
+ appId: string;
36301
+ additionalCharges: {
36302
+ type: ChargeType$1;
36303
+ price: string;
36304
+ }[];
36305
+ }[];
36306
+ destinations: {
36307
+ countryCode: string;
36308
+ subdivisions: string[];
36309
+ }[];
36310
+ }[];
36311
+ };
36312
+ }
36313
+ interface UpdateDeliveryCarrierResponseNonNullableFields$1 {
36314
+ deliveryProfile?: {
36315
+ deliveryRegions: {
36316
+ deliveryCarriers: {
36317
+ appId: string;
36318
+ additionalCharges: {
36319
+ type: ChargeType$1;
36320
+ price: string;
36321
+ }[];
36322
+ }[];
36323
+ destinations: {
36324
+ countryCode: string;
36325
+ subdivisions: string[];
36326
+ }[];
36327
+ }[];
36328
+ };
36329
+ }
36330
+ interface ListDeliveryCarrierDetailsResponseNonNullableFields$1 {
36331
+ deliveryCarrierDetails: {
36332
+ id: string;
36333
+ displayName: string;
36334
+ toggleGetCarrierSettingsEnabled: boolean;
36335
+ }[];
36336
+ }
36337
+ interface ListDeliveryCarriersResponseNonNullableFields$1 {
36338
+ results: {
36339
+ deliveryCarrierMetadata?: {
36340
+ success: boolean;
36341
+ error?: {
36342
+ code: string;
36343
+ description: string;
36344
+ };
36345
+ };
36346
+ deliveryCarrierDetails?: {
36347
+ id: string;
36348
+ displayName: string;
36349
+ toggleGetCarrierSettingsEnabled: boolean;
36350
+ };
36351
+ deliveryCarrierRegionalSettings: {
36352
+ deliveryRegionId: string;
36353
+ dashboardTables: {
36354
+ title: string;
36355
+ columns: {
36356
+ key: string;
36357
+ name: string;
36358
+ }[];
36359
+ rows: {
36360
+ key: string;
36361
+ }[];
36362
+ }[];
36363
+ }[];
36364
+ }[];
36365
+ bulkActionMetadata?: {
36366
+ totalSuccesses: number;
36367
+ totalFailures: number;
36368
+ undetailedFailures: number;
36369
+ };
36370
+ }
36371
+ interface UpdateExtendedFieldsResponseNonNullableFields$1 {
36372
+ deliveryProfile?: {
36373
+ deliveryRegions: {
36374
+ deliveryCarriers: {
36375
+ appId: string;
36376
+ additionalCharges: {
36377
+ type: ChargeType$1;
36378
+ price: string;
36379
+ }[];
36380
+ }[];
36381
+ destinations: {
36382
+ countryCode: string;
36383
+ subdivisions: string[];
36384
+ }[];
36385
+ }[];
36386
+ };
36387
+ }
36388
+
36389
+ /**
36390
+ * A DeliveryProfile is a ...
36391
+ * You can ...
36392
+ * Read more about DeliveryProfiles
36393
+ * in this [article](<LINK_TO_KB_ARTICLE>).
36394
+ */
36395
+ interface DeliveryProfile {
36396
+ /**
36397
+ * DeliveryProfile ID.
36398
+ * @readonly
36399
+ */
36400
+ _id?: string | null;
36401
+ /** DeliveryProfile name. */
36402
+ name?: string | null;
36403
+ /**
36404
+ * Indicates that this DeliveryProfile is the default DeliveryProfile.
36405
+ * @readonly
36406
+ */
36407
+ default?: boolean | null;
36408
+ /** A list of DeliveryProfile regions. */
36409
+ deliveryRegions?: DeliveryRegion[];
36410
+ /**
36411
+ * DeliveryProfile revision.
36412
+ * @readonly
36413
+ */
36414
+ revision?: string | null;
36415
+ /**
36416
+ * Date and time the DeliveryProfile was created.
36417
+ * @readonly
36418
+ */
36419
+ _createdDate?: Date;
36420
+ /**
36421
+ * Date and time the DeliveryProfile was last updated.
36422
+ * @readonly
36423
+ */
36424
+ _updatedDate?: Date;
36425
+ /** Extended fields. */
36426
+ extendedFields?: ExtendedFields$2;
36427
+ }
36428
+ /** DeliveryRegion can be used to config a Delivery Destinations with its providers */
36429
+ interface DeliveryRegion {
36430
+ /**
36431
+ * The delivery region id.
36432
+ * @readonly
36433
+ */
36434
+ _id?: string | null;
36435
+ /** Optional name of the rule, for example: "Domestic". */
36436
+ name?: string | null;
36437
+ /** Indicates that this rule is active, default value is true. */
36438
+ active?: boolean | null;
36439
+ /**
36440
+ * The spi implementers id of shipping-rates spi, assigned to this rule.
36441
+ * @readonly
36442
+ */
36443
+ deliveryCarriers?: DeliveryCarrier[];
36444
+ /** The operation region of this rule, if empty than it is global. */
36445
+ destinations?: Destination[];
36446
+ /**
36447
+ * Represents the time this Profile was created
36448
+ * @readonly
36449
+ */
36450
+ _createdDate?: Date;
36451
+ }
36452
+ interface DeliveryCarrier {
36453
+ /** AppDefId of the provider as it is registered in Wix Dev Center. Can be fetched by listDeliveryProvider api. */
36454
+ appId?: string;
36455
+ /** Backup rate to be used in case the cost returned by the provider is empty. */
36456
+ backupRate?: BackupRate;
36457
+ /** Additional charges to add to the delivery rate for this carrier */
36458
+ additionalCharges?: AdditionalCharge[];
36459
+ }
36460
+ interface BackupRate {
36461
+ /** Default rate prefix that will concatenate to the delivery options the provider will offer. */
36462
+ prefix?: string | null;
36463
+ /** Default rate price for all delivery options that the provider will offer. */
36464
+ rate?: string | null;
36465
+ /** Should the default rate be used. Default value is false. */
36466
+ enabled?: boolean | null;
36467
+ }
36468
+ interface AdditionalCharge {
36469
+ /** Additional charge type. */
36470
+ type?: ChargeType;
36471
+ /** Description of the additional charge. For example, `"Handling fee of $5 applied for gift wrapping"`. */
36472
+ description?: string | null;
36473
+ /** Cost of additional charge. For example, `12.5`. */
36474
+ price?: string;
36475
+ }
36476
+ declare enum ChargeType {
36477
+ HANDLING_FEE = "HANDLING_FEE"
36478
+ }
36479
+ /** Defines the area inside one country that is relevant for this rule. */
36480
+ interface Destination {
36481
+ /** 2-letters code represents the country of the delivery destinations */
36482
+ countryCode?: string;
36483
+ /**
36484
+ * subdivisions - Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).
36485
+ * If empty, the rule applies to the entire country.
36486
+ */
36487
+ subdivisions?: string[];
36488
+ }
36489
+ interface ExtendedFields$2 {
36490
+ /**
36491
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
36492
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
36493
+ *
36494
+ * You can only access fields for which you have the appropriate permissions.
36495
+ *
36496
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
36497
+ */
36498
+ namespaces?: Record<string, Record<string, any>>;
36499
+ }
36500
+ interface CreateDeliveryProfileRequest {
36501
+ /** DeliveryProfile to be created. */
36502
+ deliveryProfile: DeliveryProfile;
36503
+ }
36504
+ interface CreateDeliveryProfileResponse {
36505
+ /** The created DeliveryProfile. */
36506
+ deliveryProfile?: DeliveryProfile;
36507
+ }
36508
+ interface GetDeliveryProfileRequest {
36509
+ /** ID of the DeliveryProfile to retrieve. */
36510
+ deliveryProfileId: string;
36511
+ }
36512
+ interface GetDeliveryProfileResponse {
36513
+ /** The requested DeliveryProfile. */
36514
+ deliveryProfile?: DeliveryProfile;
36515
+ }
36516
+ interface UpdateDeliveryProfileRequest {
36517
+ /** DeliveryProfile to be updated, may be partial. */
36518
+ deliveryProfile: DeliveryProfile;
36519
+ }
36520
+ interface UpdateDeliveryProfileResponse {
36521
+ /** Updated DeliveryProfile. */
36522
+ deliveryProfile?: DeliveryProfile;
36523
+ }
36524
+ interface DeleteDeliveryProfileRequest {
36525
+ /** Id of the DeliveryProfile to delete. */
36526
+ deliveryProfileId: string;
36527
+ }
36528
+ interface DeleteDeliveryProfileResponse {
36529
+ }
36530
+ interface QueryDeliveryProfilesRequest {
36531
+ /** WQL expression. */
36532
+ query?: CursorQuery;
36533
+ }
36534
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
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$2;
36537
+ /**
36538
+ * Filter object in the following format:
36539
+ * `"filter" : {
36540
+ * "fieldName1": "value1",
36541
+ * "fieldName2":{"$operator":"value2"}
36542
+ * }`
36543
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
36544
+ */
36545
+ filter?: Record<string, any> | null;
36546
+ /**
36547
+ * Sort object in the following format:
36548
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
36549
+ */
36550
+ sort?: Sorting$2[];
36551
+ }
36552
+ /** @oneof */
36553
+ interface CursorQueryPagingMethodOneOf {
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$2;
36556
+ }
36557
+ interface Sorting$2 {
36558
+ /** Name of the field to sort by. */
36559
+ fieldName?: string;
36560
+ /** Sort order. */
36561
+ order?: SortOrder$2;
36562
+ }
36563
+ declare enum SortOrder$2 {
36564
+ ASC = "ASC",
36565
+ DESC = "DESC"
36566
+ }
36567
+ interface CursorPaging$2 {
36568
+ /** Maximum number of items to return in the results. */
36569
+ limit?: number | null;
36570
+ /**
36571
+ * Pointer to the next or previous page in the list of results.
36572
+ *
36573
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
36574
+ * Not relevant for the first request.
36575
+ */
36576
+ cursor?: string | null;
36577
+ }
36578
+ interface QueryDeliveryProfilesResponse {
36579
+ /** List of DeliveryProfiles. */
36580
+ deliveryProfiles?: DeliveryProfile[];
36581
+ /** Paging metadata */
36582
+ pagingMetadata?: CursorPagingMetadata$2;
36583
+ }
36584
+ interface CursorPagingMetadata$2 {
36585
+ /** Number of items returned in the response. */
36586
+ count?: number | null;
36587
+ /** Cursor strings that point to the next page, previous page, or both. */
36588
+ cursors?: Cursors$2;
36589
+ /**
36590
+ * Whether there are more pages to retrieve following the current page.
36591
+ *
36592
+ * + `true`: Another page of results can be retrieved.
36593
+ * + `false`: This is the last page.
36594
+ */
36595
+ hasNext?: boolean | null;
36596
+ }
36597
+ interface Cursors$2 {
36598
+ /** Cursor string pointing to the next page in the list of results. */
36599
+ next?: string | null;
36600
+ /** Cursor pointing to the previous page in the list of results. */
36601
+ prev?: string | null;
36602
+ }
36603
+ interface AddDeliveryRegionRequest {
36604
+ /** delivery profile id to associated with the DeliveryRegion */
36605
+ deliveryProfileId: string;
36606
+ /** DeliveryRegion to be created */
36607
+ deliveryRegion: DeliveryRegion;
36608
+ /**
36609
+ * DeliveryProfile revision.
36610
+ * @readonly
36611
+ */
36612
+ revision?: string | null;
36613
+ }
36614
+ interface AddDeliveryRegionResponse {
36615
+ /** The updated DeliveryProfile with the new DeliveryRegion */
36616
+ deliveryProfile?: DeliveryProfile;
36617
+ }
36618
+ interface UpdateDeliveryRegionRequest {
36619
+ /** DeliveryProfile id that owns the DeliveryRegion */
36620
+ deliveryProfileId: string;
36621
+ /** DeliveryRegion to be updated, may be partial */
36622
+ deliveryRegion: DeliveryRegion;
36623
+ /**
36624
+ * DeliveryProfile revision.
36625
+ * @readonly
36626
+ */
36627
+ revision?: string | null;
36628
+ }
36629
+ interface UpdateDeliveryRegionResponse {
36630
+ /** The updated DeliveryProfile with the updated DeliveryRegion */
36631
+ deliveryProfile?: DeliveryProfile;
36632
+ }
36633
+ interface RemoveDeliveryRegionRequest {
36634
+ /** DeliveryProfile id that owns the DeliveryRegion */
36635
+ deliveryProfileId: string;
36636
+ /** Id of the DeliveryRegion to delete */
36637
+ deliveryRegionId: string;
36638
+ /**
36639
+ * DeliveryProfile revision.
36640
+ * @readonly
36641
+ */
36642
+ revision?: string | null;
36643
+ }
36644
+ interface RemoveDeliveryRegionResponse {
36645
+ /** The updated DeliveryProfile without DeliveryRegion */
36646
+ deliveryProfile?: DeliveryProfile;
36647
+ }
36648
+ interface AddDeliveryCarrierRequest {
36649
+ /** delivery_region id to associated with the delivery_carrier. */
36650
+ deliveryRegionId: string;
36651
+ /** delivery_carrier to be added. */
36652
+ deliveryCarrier: DeliveryCarrier;
36653
+ }
36654
+ interface AddDeliveryCarrierResponse {
36655
+ /** The updated DeliveryProfile */
36656
+ deliveryProfile?: DeliveryProfile;
36657
+ }
36658
+ interface RemoveDeliveryCarrierRequest {
36659
+ /** Id of the DeliveryRegion */
36660
+ deliveryRegionId: string;
36661
+ /** DeliveryCarrier app id to be removed. */
36662
+ appId: string;
36663
+ }
36664
+ interface RemoveDeliveryCarrierResponse {
36665
+ /** The updated DeliveryProfile */
36666
+ deliveryProfile?: DeliveryProfile;
36667
+ }
36668
+ interface UpdateDeliveryCarrierRequest {
36669
+ /** DeliveryRegion id */
36670
+ deliveryRegionId: string;
36671
+ /** Updated delivery_carrier */
36672
+ deliveryCarrier?: DeliveryCarrier;
36673
+ }
36674
+ interface UpdateDeliveryCarrierResponse {
36675
+ /** The updated DeliveryProfile with the updated DeliveryCarrier */
36676
+ deliveryProfile?: DeliveryProfile;
36677
+ }
36678
+ interface ListDeliveryCarrierDetailsRequest {
36679
+ }
36680
+ interface ListDeliveryCarrierDetailsResponse {
36681
+ /** The list of carrier or multi-carrier services that has implemented the spi and installed on the current context(site) */
36682
+ deliveryCarrierDetails?: DeliveryCarrierDetails[];
36683
+ }
36684
+ interface DeliveryCarrierDetails {
36685
+ /** The id of the provider. */
36686
+ _id?: string;
36687
+ /** The name of the Provider. */
36688
+ displayName?: string;
36689
+ /** Provider's description. */
36690
+ description?: string | null;
36691
+ /** A link to learn more about the provider. */
36692
+ learnMoreUrl?: string | null;
36693
+ /** Dashboard URL for the provider. */
36694
+ dashboardUrl?: string | null;
36695
+ /** If the provider fallback definition is mandatory. */
36696
+ fallbackDefinitionMandatory?: boolean | null;
36697
+ /** Thumbnail image for provider. */
36698
+ thumbnailUrl?: string | null;
36699
+ /** feature toggle initialized with default value = false. should be true if implemented by spi provider */
36700
+ toggleGetCarrierSettingsEnabled?: boolean;
36701
+ }
36702
+ interface ListDeliveryCarriersRequest {
36703
+ /** Delivery profile id. */
36704
+ deliveryProfileId: string;
36705
+ /** Delivery app ids to get settings for. */
36706
+ appIds?: string[];
36707
+ }
36708
+ interface ListDeliveryCarriersResponse {
36709
+ /** The list of delivery settings for the given requests */
36710
+ results?: ListDeliveryCarriersResult[];
36711
+ /** Bulk action metadata. */
36712
+ bulkActionMetadata?: BulkActionMetadata$4;
36713
+ }
36714
+ interface ListDeliveryCarriersResult {
36715
+ /** Information about successful action or error for failure. */
36716
+ deliveryCarrierMetadata?: ItemMetadata$4;
36717
+ /** The delivery carrier details */
36718
+ deliveryCarrierDetails?: DeliveryCarrierDetails;
36719
+ /** The delivery settings for the delivery profile and delivery region. */
36720
+ deliveryCarrierRegionalSettings?: DeliveryCarrierRegionalSettings[];
36721
+ }
36722
+ interface ItemMetadata$4 {
36723
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
36724
+ _id?: string | null;
36725
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
36726
+ success?: boolean;
36727
+ /** Details about the error in case of failure. */
36728
+ error?: ApplicationError$4;
36729
+ }
36730
+ interface ApplicationError$4 {
36731
+ /** Error code. */
36732
+ code?: string;
36733
+ /** Description of the error. */
36734
+ description?: string;
36735
+ /** Data related to the error. */
36736
+ data?: Record<string, any> | null;
36737
+ }
36738
+ interface DeliveryCarrierRegionalSettings {
36739
+ /** The delivery rule id. */
36740
+ deliveryRegionId?: string;
36741
+ /** The shipping table values that are associated with the delivery rule. Can be multiple if the provider is an aggregator of multiple carriers. */
36742
+ dashboardTables?: DashboardTable[];
36743
+ }
36744
+ interface DashboardTable {
36745
+ /** The title of the delivery settings that will be displayed in the UI. */
36746
+ title?: string;
36747
+ /** The columns of the delivery settings that will be displayed in the UI. */
36748
+ columns?: Column[];
36749
+ /** The content of the delivery settings. Each row is a map of column name to value. */
36750
+ rows?: Row[];
36751
+ }
36752
+ interface Column {
36753
+ /** The name of the column. This is used to get the data from the row. */
36754
+ key?: string;
36755
+ /** The title of the column that will be displayed in the UI. */
36756
+ name?: string;
36757
+ }
36758
+ interface Row {
36759
+ /** The external key of the data presented in a row. This is used to identify the row in the UI for editing. */
36760
+ key?: string;
36761
+ /**
36762
+ * The data presented in the row. The key is the column `name` and the value is the data in the specific row and column.
36763
+ * Data will be in JSON format.
36764
+ */
36765
+ data?: Record<string, any> | null;
36766
+ }
36767
+ interface BulkActionMetadata$4 {
36768
+ /** Number of items that were successfully processed. */
36769
+ totalSuccesses?: number;
36770
+ /** Number of items that couldn't be processed. */
36771
+ totalFailures?: number;
36772
+ /** Number of failures without details because detailed failure threshold was exceeded. */
36773
+ undetailedFailures?: number;
36774
+ }
36775
+ interface UpdateExtendedFieldsRequest {
36776
+ /** ID of the entity to update. */
36777
+ _id: string;
36778
+ /** Identifier for the app whose extended fields are being updated. */
36779
+ namespace: string;
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
+ namespaceData: Record<string, any> | null;
36782
+ }
36783
+ interface UpdateExtendedFieldsResponse {
36784
+ /** Updated DeliveryProfile. */
36785
+ deliveryProfile?: DeliveryProfile;
36786
+ }
36787
+ interface CreateDeliveryProfileResponseNonNullableFields {
36788
+ deliveryProfile?: {
36789
+ deliveryRegions: {
36790
+ deliveryCarriers: {
36791
+ appId: string;
36792
+ additionalCharges: {
36793
+ type: ChargeType;
36794
+ price: string;
36795
+ }[];
36796
+ }[];
36797
+ destinations: {
36798
+ countryCode: string;
36799
+ subdivisions: string[];
36800
+ }[];
36801
+ }[];
36802
+ };
36803
+ }
36804
+ interface GetDeliveryProfileResponseNonNullableFields {
36805
+ deliveryProfile?: {
36806
+ deliveryRegions: {
36807
+ deliveryCarriers: {
36808
+ appId: string;
36809
+ additionalCharges: {
36810
+ type: ChargeType;
36811
+ price: string;
36812
+ }[];
36813
+ }[];
36814
+ destinations: {
36815
+ countryCode: string;
36816
+ subdivisions: string[];
36817
+ }[];
36818
+ }[];
36819
+ };
36820
+ }
36821
+ interface UpdateDeliveryProfileResponseNonNullableFields {
36822
+ deliveryProfile?: {
36823
+ deliveryRegions: {
36824
+ deliveryCarriers: {
36825
+ appId: string;
36826
+ additionalCharges: {
36827
+ type: ChargeType;
36828
+ price: string;
36829
+ }[];
36830
+ }[];
36831
+ destinations: {
36832
+ countryCode: string;
36833
+ subdivisions: string[];
36834
+ }[];
36835
+ }[];
36836
+ };
36837
+ }
36838
+ interface QueryDeliveryProfilesResponseNonNullableFields {
36839
+ deliveryProfiles: {
36840
+ deliveryRegions: {
36841
+ deliveryCarriers: {
36842
+ appId: string;
36843
+ additionalCharges: {
36844
+ type: ChargeType;
36845
+ price: string;
36846
+ }[];
36847
+ }[];
36848
+ destinations: {
36849
+ countryCode: string;
36850
+ subdivisions: string[];
36851
+ }[];
36852
+ }[];
36853
+ }[];
36854
+ }
36855
+ interface AddDeliveryRegionResponseNonNullableFields {
36856
+ deliveryProfile?: {
36857
+ deliveryRegions: {
36858
+ deliveryCarriers: {
36859
+ appId: string;
36860
+ additionalCharges: {
36861
+ type: ChargeType;
36862
+ price: string;
36863
+ }[];
36864
+ }[];
36865
+ destinations: {
36866
+ countryCode: string;
36867
+ subdivisions: string[];
36868
+ }[];
36869
+ }[];
36870
+ };
36871
+ }
36872
+ interface UpdateDeliveryRegionResponseNonNullableFields {
36873
+ deliveryProfile?: {
36874
+ deliveryRegions: {
36875
+ deliveryCarriers: {
36876
+ appId: string;
36877
+ additionalCharges: {
36878
+ type: ChargeType;
36879
+ price: string;
36880
+ }[];
36881
+ }[];
36882
+ destinations: {
36883
+ countryCode: string;
36884
+ subdivisions: string[];
36885
+ }[];
36886
+ }[];
36887
+ };
36888
+ }
36889
+ interface RemoveDeliveryRegionResponseNonNullableFields {
36890
+ deliveryProfile?: {
36891
+ deliveryRegions: {
36892
+ deliveryCarriers: {
36893
+ appId: string;
36894
+ additionalCharges: {
36895
+ type: ChargeType;
36896
+ price: string;
36897
+ }[];
36898
+ }[];
36899
+ destinations: {
36900
+ countryCode: string;
36901
+ subdivisions: string[];
36902
+ }[];
36903
+ }[];
36904
+ };
36905
+ }
36906
+ interface AddDeliveryCarrierResponseNonNullableFields {
36907
+ deliveryProfile?: {
36908
+ deliveryRegions: {
36909
+ deliveryCarriers: {
36910
+ appId: string;
36911
+ additionalCharges: {
36912
+ type: ChargeType;
36913
+ price: string;
36914
+ }[];
36915
+ }[];
36916
+ destinations: {
36917
+ countryCode: string;
36918
+ subdivisions: string[];
36919
+ }[];
36920
+ }[];
36921
+ };
36922
+ }
36923
+ interface RemoveDeliveryCarrierResponseNonNullableFields {
36924
+ deliveryProfile?: {
36925
+ deliveryRegions: {
36926
+ deliveryCarriers: {
36927
+ appId: string;
36928
+ additionalCharges: {
36929
+ type: ChargeType;
36930
+ price: string;
36931
+ }[];
36932
+ }[];
36933
+ destinations: {
36934
+ countryCode: string;
36935
+ subdivisions: string[];
36936
+ }[];
36937
+ }[];
36938
+ };
36939
+ }
36940
+ interface UpdateDeliveryCarrierResponseNonNullableFields {
36941
+ deliveryProfile?: {
36942
+ deliveryRegions: {
36943
+ deliveryCarriers: {
36944
+ appId: string;
36945
+ additionalCharges: {
36946
+ type: ChargeType;
36947
+ price: string;
36948
+ }[];
36949
+ }[];
36950
+ destinations: {
36951
+ countryCode: string;
36952
+ subdivisions: string[];
36953
+ }[];
36954
+ }[];
36955
+ };
36956
+ }
36957
+ interface ListDeliveryCarrierDetailsResponseNonNullableFields {
36958
+ deliveryCarrierDetails: {
36959
+ _id: string;
36960
+ displayName: string;
36961
+ toggleGetCarrierSettingsEnabled: boolean;
36962
+ }[];
36963
+ }
36964
+ interface ListDeliveryCarriersResponseNonNullableFields {
36965
+ results: {
36966
+ deliveryCarrierMetadata?: {
36967
+ success: boolean;
36968
+ error?: {
36969
+ code: string;
36970
+ description: string;
36971
+ };
36972
+ };
36973
+ deliveryCarrierDetails?: {
36974
+ _id: string;
36975
+ displayName: string;
36976
+ toggleGetCarrierSettingsEnabled: boolean;
36977
+ };
36978
+ deliveryCarrierRegionalSettings: {
36979
+ deliveryRegionId: string;
36980
+ dashboardTables: {
36981
+ title: string;
36982
+ columns: {
36983
+ key: string;
36984
+ name: string;
36985
+ }[];
36986
+ rows: {
36987
+ key: string;
36988
+ }[];
36989
+ }[];
36990
+ }[];
36991
+ }[];
36992
+ bulkActionMetadata?: {
36993
+ totalSuccesses: number;
36994
+ totalFailures: number;
36995
+ undetailedFailures: number;
36996
+ };
36997
+ }
36998
+ interface UpdateExtendedFieldsResponseNonNullableFields {
36999
+ deliveryProfile?: {
37000
+ deliveryRegions: {
37001
+ deliveryCarriers: {
37002
+ appId: string;
37003
+ additionalCharges: {
37004
+ type: ChargeType;
37005
+ price: string;
37006
+ }[];
37007
+ }[];
37008
+ destinations: {
37009
+ countryCode: string;
37010
+ subdivisions: string[];
37011
+ }[];
37012
+ }[];
37013
+ };
37014
+ }
37015
+
37016
+ type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
37017
+ getUrl: (context: any) => string;
37018
+ httpMethod: K;
37019
+ path: string;
37020
+ pathParams: M;
37021
+ __requestType: T;
37022
+ __originalRequestType: S;
37023
+ __responseType: Q;
37024
+ __originalResponseType: R;
37025
+ };
37026
+ declare function createDeliveryProfile(): __PublicMethodMetaInfo$5<'POST', {}, CreateDeliveryProfileRequest, CreateDeliveryProfileRequest$1, CreateDeliveryProfileResponse & CreateDeliveryProfileResponseNonNullableFields, CreateDeliveryProfileResponse$1 & CreateDeliveryProfileResponseNonNullableFields$1>;
37027
+ declare function getDeliveryProfile(): __PublicMethodMetaInfo$5<'GET', {
37028
+ deliveryProfileId: string;
37029
+ }, GetDeliveryProfileRequest, GetDeliveryProfileRequest$1, GetDeliveryProfileResponse & GetDeliveryProfileResponseNonNullableFields, GetDeliveryProfileResponse$1 & GetDeliveryProfileResponseNonNullableFields$1>;
37030
+ declare function updateDeliveryProfile(): __PublicMethodMetaInfo$5<'PATCH', {
37031
+ deliveryProfileId: string;
37032
+ }, UpdateDeliveryProfileRequest, UpdateDeliveryProfileRequest$1, UpdateDeliveryProfileResponse & UpdateDeliveryProfileResponseNonNullableFields, UpdateDeliveryProfileResponse$1 & UpdateDeliveryProfileResponseNonNullableFields$1>;
37033
+ declare function deleteDeliveryProfile(): __PublicMethodMetaInfo$5<'DELETE', {
37034
+ deliveryProfileId: string;
37035
+ }, DeleteDeliveryProfileRequest, DeleteDeliveryProfileRequest$1, DeleteDeliveryProfileResponse, DeleteDeliveryProfileResponse$1>;
37036
+ declare function queryDeliveryProfiles(): __PublicMethodMetaInfo$5<'GET', {}, QueryDeliveryProfilesRequest, QueryDeliveryProfilesRequest$1, QueryDeliveryProfilesResponse & QueryDeliveryProfilesResponseNonNullableFields, QueryDeliveryProfilesResponse$1 & QueryDeliveryProfilesResponseNonNullableFields$1>;
37037
+ declare function addDeliveryRegion(): __PublicMethodMetaInfo$5<'POST', {
37038
+ deliveryProfileId: string;
37039
+ }, AddDeliveryRegionRequest, AddDeliveryRegionRequest$1, AddDeliveryRegionResponse & AddDeliveryRegionResponseNonNullableFields, AddDeliveryRegionResponse$1 & AddDeliveryRegionResponseNonNullableFields$1>;
37040
+ declare function updateDeliveryRegion(): __PublicMethodMetaInfo$5<'PATCH', {
37041
+ deliveryProfileId: string;
37042
+ deliveryRegionId: string;
37043
+ }, UpdateDeliveryRegionRequest, UpdateDeliveryRegionRequest$1, UpdateDeliveryRegionResponse & UpdateDeliveryRegionResponseNonNullableFields, UpdateDeliveryRegionResponse$1 & UpdateDeliveryRegionResponseNonNullableFields$1>;
37044
+ declare function removeDeliveryRegion(): __PublicMethodMetaInfo$5<'DELETE', {
37045
+ deliveryProfileId: string;
37046
+ deliveryRegionId: string;
37047
+ }, RemoveDeliveryRegionRequest, RemoveDeliveryRegionRequest$1, RemoveDeliveryRegionResponse & RemoveDeliveryRegionResponseNonNullableFields, RemoveDeliveryRegionResponse$1 & RemoveDeliveryRegionResponseNonNullableFields$1>;
37048
+ declare function addDeliveryCarrier(): __PublicMethodMetaInfo$5<'POST', {}, AddDeliveryCarrierRequest, AddDeliveryCarrierRequest$1, AddDeliveryCarrierResponse & AddDeliveryCarrierResponseNonNullableFields, AddDeliveryCarrierResponse$1 & AddDeliveryCarrierResponseNonNullableFields$1>;
37049
+ declare function removeDeliveryCarrier(): __PublicMethodMetaInfo$5<'POST', {}, RemoveDeliveryCarrierRequest, RemoveDeliveryCarrierRequest$1, RemoveDeliveryCarrierResponse & RemoveDeliveryCarrierResponseNonNullableFields, RemoveDeliveryCarrierResponse$1 & RemoveDeliveryCarrierResponseNonNullableFields$1>;
37050
+ declare function updateDeliveryCarrier(): __PublicMethodMetaInfo$5<'PATCH', {}, UpdateDeliveryCarrierRequest, UpdateDeliveryCarrierRequest$1, UpdateDeliveryCarrierResponse & UpdateDeliveryCarrierResponseNonNullableFields, UpdateDeliveryCarrierResponse$1 & UpdateDeliveryCarrierResponseNonNullableFields$1>;
37051
+ declare function listDeliveryCarrierDetails(): __PublicMethodMetaInfo$5<'GET', {}, ListDeliveryCarrierDetailsRequest, ListDeliveryCarrierDetailsRequest$1, ListDeliveryCarrierDetailsResponse & ListDeliveryCarrierDetailsResponseNonNullableFields, ListDeliveryCarrierDetailsResponse$1 & ListDeliveryCarrierDetailsResponseNonNullableFields$1>;
37052
+ declare function listDeliveryCarriers(): __PublicMethodMetaInfo$5<'POST', {
37053
+ deliveryProfileId: string;
37054
+ }, ListDeliveryCarriersRequest, ListDeliveryCarriersRequest$1, ListDeliveryCarriersResponse & ListDeliveryCarriersResponseNonNullableFields, ListDeliveryCarriersResponse$1 & ListDeliveryCarriersResponseNonNullableFields$1>;
37055
+ declare function updateExtendedFields(): __PublicMethodMetaInfo$5<'POST', {
37056
+ id: string;
37057
+ }, UpdateExtendedFieldsRequest, UpdateExtendedFieldsRequest$1, UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields, UpdateExtendedFieldsResponse$1 & UpdateExtendedFieldsResponseNonNullableFields$1>;
37058
+
37059
+ declare const meta$5_addDeliveryCarrier: typeof addDeliveryCarrier;
37060
+ declare const meta$5_addDeliveryRegion: typeof addDeliveryRegion;
37061
+ declare const meta$5_createDeliveryProfile: typeof createDeliveryProfile;
37062
+ declare const meta$5_deleteDeliveryProfile: typeof deleteDeliveryProfile;
37063
+ declare const meta$5_getDeliveryProfile: typeof getDeliveryProfile;
37064
+ declare const meta$5_listDeliveryCarrierDetails: typeof listDeliveryCarrierDetails;
37065
+ declare const meta$5_listDeliveryCarriers: typeof listDeliveryCarriers;
37066
+ declare const meta$5_queryDeliveryProfiles: typeof queryDeliveryProfiles;
37067
+ declare const meta$5_removeDeliveryCarrier: typeof removeDeliveryCarrier;
37068
+ declare const meta$5_removeDeliveryRegion: typeof removeDeliveryRegion;
37069
+ declare const meta$5_updateDeliveryCarrier: typeof updateDeliveryCarrier;
37070
+ declare const meta$5_updateDeliveryProfile: typeof updateDeliveryProfile;
37071
+ declare const meta$5_updateDeliveryRegion: typeof updateDeliveryRegion;
37072
+ declare const meta$5_updateExtendedFields: typeof updateExtendedFields;
35758
37073
  declare namespace meta$5 {
35759
- export { type __PublicMethodMetaInfo$5 as __PublicMethodMetaInfo, meta$5_createCheckoutFromTemplate as createCheckoutFromTemplate, meta$5_createCheckoutTemplate as createCheckoutTemplate, meta$5_deleteCheckoutTemplate as deleteCheckoutTemplate, meta$5_getCheckoutTemplate as getCheckoutTemplate, meta$5_queryCheckoutTemplates as queryCheckoutTemplates, meta$5_updateCheckoutTemplate as updateCheckoutTemplate };
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 };
35760
37075
  }
35761
37076
 
35762
37077
  interface OrderWithFulfillments$1 {
@@ -44915,4 +46230,4 @@ declare namespace meta {
44915
46230
  export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_convertCurrency as convertCurrency, meta_getConversionRate as getConversionRate, meta_listCurrencies as listCurrencies };
44916
46231
  }
44917
46232
 
44918
- export { meta$c as abandonedCheckouts, meta$b as backInStockNotifications, meta$a as backInStockSettings, meta$9 as cart, meta$7 as checkout, meta$6 as checkoutSettings, meta$5 as checkoutTemplates, meta as currencies, meta$8 as currentCart, meta$f as discountRules, meta$4 as orderFulfillments, meta$e as orderInvoices, meta$2 as orderTransactions, meta$3 as orders, meta$1 as ordersSettings, meta$d as recommendations };
46233
+ export { meta$d as abandonedCheckouts, meta$c as backInStockNotifications, meta$b as backInStockSettings, meta$a as cart, meta$8 as checkout, meta$7 as checkoutSettings, meta$6 as checkoutTemplates, meta as currencies, meta$9 as currentCart, meta$5 as deliveryProfile, meta$g as discountRules, meta$4 as orderFulfillments, meta$f as orderInvoices, meta$2 as orderTransactions, meta$3 as orders, meta$1 as ordersSettings, meta$e as recommendations };