@wix/ecom 1.0.682 → 1.0.684
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/context.d.ts +1 -0
- package/build/cjs/context.js +2 -1
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +2 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +1 -0
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +1 -0
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +1 -0
- package/build/es/meta.js.map +1 -1
- package/package.json +5 -4
- package/type-bundles/index.bundle.d.ts +2965 -2454
- package/type-bundles/meta.bundle.d.ts +1085 -605
|
@@ -44,7 +44,7 @@ interface ListTriggersResponseNonNullableFields {
|
|
|
44
44
|
triggers: ListTriggersResponseCustomTriggerNonNullableFields[];
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
type __PublicMethodMetaInfo$
|
|
47
|
+
type __PublicMethodMetaInfo$m<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
48
48
|
getUrl: (context: any) => string;
|
|
49
49
|
httpMethod: K;
|
|
50
50
|
path: string;
|
|
@@ -54,11 +54,11 @@ type __PublicMethodMetaInfo$l<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
54
54
|
__responseType: Q;
|
|
55
55
|
__originalResponseType: R;
|
|
56
56
|
};
|
|
57
|
-
declare function listTriggers(): __PublicMethodMetaInfo$
|
|
57
|
+
declare function listTriggers(): __PublicMethodMetaInfo$m<'POST', {}, ListTriggersRequest, ListTriggersRequest$1, ListTriggersResponse & ListTriggersResponseNonNullableFields, ListTriggersResponse$1 & ListTriggersResponseNonNullableFields$1>;
|
|
58
58
|
|
|
59
|
-
declare const meta$
|
|
60
|
-
declare namespace meta$
|
|
61
|
-
export { type __PublicMethodMetaInfo$
|
|
59
|
+
declare const meta$m_listTriggers: typeof listTriggers;
|
|
60
|
+
declare namespace meta$m {
|
|
61
|
+
export { type __PublicMethodMetaInfo$m as __PublicMethodMetaInfo, meta$m_listTriggers as listTriggers };
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
interface DiscountRule$b {
|
|
@@ -366,26 +366,26 @@ interface PlatformQuery$3 extends PlatformQueryPagingMethodOneOf$3 {
|
|
|
366
366
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
367
367
|
paging?: PlatformPaging$3;
|
|
368
368
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
369
|
-
cursorPaging?: CursorPaging$
|
|
369
|
+
cursorPaging?: CursorPaging$j;
|
|
370
370
|
/** Filter object. */
|
|
371
371
|
filter?: Record<string, any> | null;
|
|
372
372
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
373
|
-
sort?: Sorting$
|
|
373
|
+
sort?: Sorting$j[];
|
|
374
374
|
}
|
|
375
375
|
/** @oneof */
|
|
376
376
|
interface PlatformQueryPagingMethodOneOf$3 {
|
|
377
377
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
378
378
|
paging?: PlatformPaging$3;
|
|
379
379
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
380
|
-
cursorPaging?: CursorPaging$
|
|
380
|
+
cursorPaging?: CursorPaging$j;
|
|
381
381
|
}
|
|
382
|
-
interface Sorting$
|
|
382
|
+
interface Sorting$j {
|
|
383
383
|
/** Name of the field to sort by. */
|
|
384
384
|
fieldName?: string;
|
|
385
385
|
/** Sort order. */
|
|
386
|
-
order?: SortOrder$
|
|
386
|
+
order?: SortOrder$j;
|
|
387
387
|
}
|
|
388
|
-
declare enum SortOrder$
|
|
388
|
+
declare enum SortOrder$j {
|
|
389
389
|
ASC = "ASC",
|
|
390
390
|
DESC = "DESC"
|
|
391
391
|
}
|
|
@@ -395,7 +395,7 @@ interface PlatformPaging$3 {
|
|
|
395
395
|
/** Number of items to skip in the current sort order. */
|
|
396
396
|
offset?: number | null;
|
|
397
397
|
}
|
|
398
|
-
interface CursorPaging$
|
|
398
|
+
interface CursorPaging$j {
|
|
399
399
|
/** Maximum number of items to return in the results. */
|
|
400
400
|
limit?: number | null;
|
|
401
401
|
/**
|
|
@@ -420,9 +420,9 @@ interface PlatformPagingMetadata$3 {
|
|
|
420
420
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
421
421
|
total?: number | null;
|
|
422
422
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
423
|
-
cursors?: Cursors$
|
|
423
|
+
cursors?: Cursors$j;
|
|
424
424
|
}
|
|
425
|
-
interface Cursors$
|
|
425
|
+
interface Cursors$j {
|
|
426
426
|
/** Cursor string pointing to the next page in the list of results. */
|
|
427
427
|
next?: string | null;
|
|
428
428
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -820,26 +820,26 @@ interface PlatformQuery$2 extends PlatformQueryPagingMethodOneOf$2 {
|
|
|
820
820
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
821
821
|
paging?: PlatformPaging$2;
|
|
822
822
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
823
|
-
cursorPaging?: CursorPaging$
|
|
823
|
+
cursorPaging?: CursorPaging$i;
|
|
824
824
|
/** Filter object. */
|
|
825
825
|
filter?: Record<string, any> | null;
|
|
826
826
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
827
|
-
sort?: Sorting$
|
|
827
|
+
sort?: Sorting$i[];
|
|
828
828
|
}
|
|
829
829
|
/** @oneof */
|
|
830
830
|
interface PlatformQueryPagingMethodOneOf$2 {
|
|
831
831
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
832
832
|
paging?: PlatformPaging$2;
|
|
833
833
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
834
|
-
cursorPaging?: CursorPaging$
|
|
834
|
+
cursorPaging?: CursorPaging$i;
|
|
835
835
|
}
|
|
836
|
-
interface Sorting$
|
|
836
|
+
interface Sorting$i {
|
|
837
837
|
/** Name of the field to sort by. */
|
|
838
838
|
fieldName?: string;
|
|
839
839
|
/** Sort order. */
|
|
840
|
-
order?: SortOrder$
|
|
840
|
+
order?: SortOrder$i;
|
|
841
841
|
}
|
|
842
|
-
declare enum SortOrder$
|
|
842
|
+
declare enum SortOrder$i {
|
|
843
843
|
ASC = "ASC",
|
|
844
844
|
DESC = "DESC"
|
|
845
845
|
}
|
|
@@ -849,7 +849,7 @@ interface PlatformPaging$2 {
|
|
|
849
849
|
/** Number of items to skip in the current sort order. */
|
|
850
850
|
offset?: number | null;
|
|
851
851
|
}
|
|
852
|
-
interface CursorPaging$
|
|
852
|
+
interface CursorPaging$i {
|
|
853
853
|
/** Maximum number of items to return in the results. */
|
|
854
854
|
limit?: number | null;
|
|
855
855
|
/**
|
|
@@ -874,9 +874,9 @@ interface PlatformPagingMetadata$2 {
|
|
|
874
874
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
875
875
|
total?: number | null;
|
|
876
876
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
877
|
-
cursors?: Cursors$
|
|
877
|
+
cursors?: Cursors$i;
|
|
878
878
|
}
|
|
879
|
-
interface Cursors$
|
|
879
|
+
interface Cursors$i {
|
|
880
880
|
/** Cursor string pointing to the next page in the list of results. */
|
|
881
881
|
next?: string | null;
|
|
882
882
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -969,7 +969,7 @@ interface QueryDiscountRulesResponseNonNullableFields {
|
|
|
969
969
|
discountRules: DiscountRuleNonNullableFields$a[];
|
|
970
970
|
}
|
|
971
971
|
|
|
972
|
-
type __PublicMethodMetaInfo$
|
|
972
|
+
type __PublicMethodMetaInfo$l<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
973
973
|
getUrl: (context: any) => string;
|
|
974
974
|
httpMethod: K;
|
|
975
975
|
path: string;
|
|
@@ -979,25 +979,25 @@ type __PublicMethodMetaInfo$k<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
979
979
|
__responseType: Q;
|
|
980
980
|
__originalResponseType: R;
|
|
981
981
|
};
|
|
982
|
-
declare function createDiscountRule(): __PublicMethodMetaInfo$
|
|
983
|
-
declare function getDiscountRule(): __PublicMethodMetaInfo$
|
|
982
|
+
declare function createDiscountRule(): __PublicMethodMetaInfo$l<'POST', {}, CreateDiscountRuleRequest, CreateDiscountRuleRequest$1, CreateDiscountRuleResponse & CreateDiscountRuleResponseNonNullableFields, CreateDiscountRuleResponse$1 & CreateDiscountRuleResponseNonNullableFields$1>;
|
|
983
|
+
declare function getDiscountRule(): __PublicMethodMetaInfo$l<'GET', {
|
|
984
984
|
discountRuleId: string;
|
|
985
985
|
}, GetDiscountRuleRequest, GetDiscountRuleRequest$1, GetDiscountRuleResponse & GetDiscountRuleResponseNonNullableFields, GetDiscountRuleResponse$1 & GetDiscountRuleResponseNonNullableFields$1>;
|
|
986
|
-
declare function updateDiscountRule(): __PublicMethodMetaInfo$
|
|
986
|
+
declare function updateDiscountRule(): __PublicMethodMetaInfo$l<'PATCH', {
|
|
987
987
|
discountRuleId: string;
|
|
988
988
|
}, UpdateDiscountRuleRequest, UpdateDiscountRuleRequest$1, UpdateDiscountRuleResponse & UpdateDiscountRuleResponseNonNullableFields, UpdateDiscountRuleResponse$1 & UpdateDiscountRuleResponseNonNullableFields$1>;
|
|
989
|
-
declare function deleteDiscountRule(): __PublicMethodMetaInfo$
|
|
989
|
+
declare function deleteDiscountRule(): __PublicMethodMetaInfo$l<'DELETE', {
|
|
990
990
|
discountRuleId: string;
|
|
991
991
|
}, DeleteDiscountRuleRequest, DeleteDiscountRuleRequest$1, DeleteDiscountRuleResponse, DeleteDiscountRuleResponse$1>;
|
|
992
|
-
declare function queryDiscountRules(): __PublicMethodMetaInfo$
|
|
992
|
+
declare function queryDiscountRules(): __PublicMethodMetaInfo$l<'POST', {}, QueryDiscountRulesRequest, QueryDiscountRulesRequest$1, QueryDiscountRulesResponse & QueryDiscountRulesResponseNonNullableFields, QueryDiscountRulesResponse$1 & QueryDiscountRulesResponseNonNullableFields$1>;
|
|
993
993
|
|
|
994
|
-
declare const meta$
|
|
995
|
-
declare const meta$
|
|
996
|
-
declare const meta$
|
|
997
|
-
declare const meta$
|
|
998
|
-
declare const meta$
|
|
999
|
-
declare namespace meta$
|
|
1000
|
-
export { type __PublicMethodMetaInfo$
|
|
994
|
+
declare const meta$l_createDiscountRule: typeof createDiscountRule;
|
|
995
|
+
declare const meta$l_deleteDiscountRule: typeof deleteDiscountRule;
|
|
996
|
+
declare const meta$l_getDiscountRule: typeof getDiscountRule;
|
|
997
|
+
declare const meta$l_queryDiscountRules: typeof queryDiscountRules;
|
|
998
|
+
declare const meta$l_updateDiscountRule: typeof updateDiscountRule;
|
|
999
|
+
declare namespace meta$l {
|
|
1000
|
+
export { type __PublicMethodMetaInfo$l as __PublicMethodMetaInfo, meta$l_createDiscountRule as createDiscountRule, meta$l_deleteDiscountRule as deleteDiscountRule, meta$l_getDiscountRule as getDiscountRule, meta$l_queryDiscountRules as queryDiscountRules, meta$l_updateDiscountRule as updateDiscountRule };
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
1003
|
interface Invoice$1 {
|
|
@@ -1066,7 +1066,7 @@ interface ListInvoicesForMultipleOrdersResponseNonNullableFields {
|
|
|
1066
1066
|
invoicesForOrder: InvoicesForOrderNonNullableFields[];
|
|
1067
1067
|
}
|
|
1068
1068
|
|
|
1069
|
-
type __PublicMethodMetaInfo$
|
|
1069
|
+
type __PublicMethodMetaInfo$k<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1070
1070
|
getUrl: (context: any) => string;
|
|
1071
1071
|
httpMethod: K;
|
|
1072
1072
|
path: string;
|
|
@@ -1076,11 +1076,11 @@ type __PublicMethodMetaInfo$j<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
1076
1076
|
__responseType: Q;
|
|
1077
1077
|
__originalResponseType: R;
|
|
1078
1078
|
};
|
|
1079
|
-
declare function listInvoicesForMultipleOrders(): __PublicMethodMetaInfo$
|
|
1079
|
+
declare function listInvoicesForMultipleOrders(): __PublicMethodMetaInfo$k<'POST', {}, ListInvoicesForMultipleOrdersRequest, ListInvoicesForMultipleOrdersRequest$1, ListInvoicesForMultipleOrdersResponse & ListInvoicesForMultipleOrdersResponseNonNullableFields, ListInvoicesForMultipleOrdersResponse$1 & ListInvoicesForMultipleOrdersResponseNonNullableFields$1>;
|
|
1080
1080
|
|
|
1081
|
-
declare const meta$
|
|
1082
|
-
declare namespace meta$
|
|
1083
|
-
export { type __PublicMethodMetaInfo$
|
|
1081
|
+
declare const meta$k_listInvoicesForMultipleOrders: typeof listInvoicesForMultipleOrders;
|
|
1082
|
+
declare namespace meta$k {
|
|
1083
|
+
export { type __PublicMethodMetaInfo$k as __PublicMethodMetaInfo, meta$k_listInvoicesForMultipleOrders as listInvoicesForMultipleOrders };
|
|
1084
1084
|
}
|
|
1085
1085
|
|
|
1086
1086
|
interface Recommendation$1 {
|
|
@@ -1347,7 +1347,7 @@ interface GetRecommendationResponseNonNullableFields {
|
|
|
1347
1347
|
recommendation?: RecommendationNonNullableFields;
|
|
1348
1348
|
}
|
|
1349
1349
|
|
|
1350
|
-
type __PublicMethodMetaInfo$
|
|
1350
|
+
type __PublicMethodMetaInfo$j<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1351
1351
|
getUrl: (context: any) => string;
|
|
1352
1352
|
httpMethod: K;
|
|
1353
1353
|
path: string;
|
|
@@ -1357,13 +1357,13 @@ type __PublicMethodMetaInfo$i<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
1357
1357
|
__responseType: Q;
|
|
1358
1358
|
__originalResponseType: R;
|
|
1359
1359
|
};
|
|
1360
|
-
declare function listAvailableAlgorithms(): __PublicMethodMetaInfo$
|
|
1361
|
-
declare function getRecommendation(): __PublicMethodMetaInfo$
|
|
1360
|
+
declare function listAvailableAlgorithms(): __PublicMethodMetaInfo$j<'GET', {}, ListAvailableAlgorithmsRequest, ListAvailableAlgorithmsRequest$1, ListAvailableAlgorithmsResponse & ListAvailableAlgorithmsResponseNonNullableFields, ListAvailableAlgorithmsResponse$1 & ListAvailableAlgorithmsResponseNonNullableFields$1>;
|
|
1361
|
+
declare function getRecommendation(): __PublicMethodMetaInfo$j<'POST', {}, GetRecommendationRequest, GetRecommendationRequest$1, GetRecommendationResponse & GetRecommendationResponseNonNullableFields, GetRecommendationResponse$1 & GetRecommendationResponseNonNullableFields$1>;
|
|
1362
1362
|
|
|
1363
|
-
declare const meta$
|
|
1364
|
-
declare const meta$
|
|
1365
|
-
declare namespace meta$
|
|
1366
|
-
export { type __PublicMethodMetaInfo$
|
|
1363
|
+
declare const meta$j_getRecommendation: typeof getRecommendation;
|
|
1364
|
+
declare const meta$j_listAvailableAlgorithms: typeof listAvailableAlgorithms;
|
|
1365
|
+
declare namespace meta$j {
|
|
1366
|
+
export { type __PublicMethodMetaInfo$j as __PublicMethodMetaInfo, meta$j_getRecommendation as getRecommendation, meta$j_listAvailableAlgorithms as listAvailableAlgorithms };
|
|
1367
1367
|
}
|
|
1368
1368
|
|
|
1369
1369
|
interface AbandonedCheckout$1 {
|
|
@@ -1524,7 +1524,7 @@ interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
|
|
|
1524
1524
|
/** Paging options to limit and skip the number of items. */
|
|
1525
1525
|
paging?: Paging$3;
|
|
1526
1526
|
/** 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`. */
|
|
1527
|
-
cursorPaging?: CursorPaging$
|
|
1527
|
+
cursorPaging?: CursorPaging$h;
|
|
1528
1528
|
/**
|
|
1529
1529
|
* Filter object in the following format:
|
|
1530
1530
|
* `"filter" : {
|
|
@@ -1538,7 +1538,7 @@ interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
|
|
|
1538
1538
|
* Sort object in the following format:
|
|
1539
1539
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
1540
1540
|
*/
|
|
1541
|
-
sort?: Sorting$
|
|
1541
|
+
sort?: Sorting$h[];
|
|
1542
1542
|
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
1543
1543
|
fields?: string[];
|
|
1544
1544
|
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
@@ -1549,15 +1549,15 @@ interface QueryV2PagingMethodOneOf$3 {
|
|
|
1549
1549
|
/** Paging options to limit and skip the number of items. */
|
|
1550
1550
|
paging?: Paging$3;
|
|
1551
1551
|
/** 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`. */
|
|
1552
|
-
cursorPaging?: CursorPaging$
|
|
1552
|
+
cursorPaging?: CursorPaging$h;
|
|
1553
1553
|
}
|
|
1554
|
-
interface Sorting$
|
|
1554
|
+
interface Sorting$h {
|
|
1555
1555
|
/** Name of the field to sort by. */
|
|
1556
1556
|
fieldName?: string;
|
|
1557
1557
|
/** Sort order. */
|
|
1558
|
-
order?: SortOrder$
|
|
1558
|
+
order?: SortOrder$h;
|
|
1559
1559
|
}
|
|
1560
|
-
declare enum SortOrder$
|
|
1560
|
+
declare enum SortOrder$h {
|
|
1561
1561
|
ASC = "ASC",
|
|
1562
1562
|
DESC = "DESC"
|
|
1563
1563
|
}
|
|
@@ -1567,7 +1567,7 @@ interface Paging$3 {
|
|
|
1567
1567
|
/** Number of items to skip in the current sort order. */
|
|
1568
1568
|
offset?: number | null;
|
|
1569
1569
|
}
|
|
1570
|
-
interface CursorPaging$
|
|
1570
|
+
interface CursorPaging$h {
|
|
1571
1571
|
/** Maximum number of items to return in the results. */
|
|
1572
1572
|
limit?: number | null;
|
|
1573
1573
|
/**
|
|
@@ -1599,9 +1599,9 @@ interface PagingMetadataV2$1 {
|
|
|
1599
1599
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
1600
1600
|
tooManyToCount?: boolean | null;
|
|
1601
1601
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
1602
|
-
cursors?: Cursors$
|
|
1602
|
+
cursors?: Cursors$h;
|
|
1603
1603
|
}
|
|
1604
|
-
interface Cursors$
|
|
1604
|
+
interface Cursors$h {
|
|
1605
1605
|
/** Cursor string pointing to the next page in the list of results. */
|
|
1606
1606
|
next?: string | null;
|
|
1607
1607
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -1844,7 +1844,7 @@ interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
|
|
|
1844
1844
|
/** Paging options to limit and skip the number of items. */
|
|
1845
1845
|
paging?: Paging$2;
|
|
1846
1846
|
/** 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`. */
|
|
1847
|
-
cursorPaging?: CursorPaging$
|
|
1847
|
+
cursorPaging?: CursorPaging$g;
|
|
1848
1848
|
/**
|
|
1849
1849
|
* Filter object in the following format:
|
|
1850
1850
|
* `"filter" : {
|
|
@@ -1858,7 +1858,7 @@ interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
|
|
|
1858
1858
|
* Sort object in the following format:
|
|
1859
1859
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
1860
1860
|
*/
|
|
1861
|
-
sort?: Sorting$
|
|
1861
|
+
sort?: Sorting$g[];
|
|
1862
1862
|
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
1863
1863
|
fields?: string[];
|
|
1864
1864
|
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
@@ -1869,15 +1869,15 @@ interface QueryV2PagingMethodOneOf$2 {
|
|
|
1869
1869
|
/** Paging options to limit and skip the number of items. */
|
|
1870
1870
|
paging?: Paging$2;
|
|
1871
1871
|
/** 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`. */
|
|
1872
|
-
cursorPaging?: CursorPaging$
|
|
1872
|
+
cursorPaging?: CursorPaging$g;
|
|
1873
1873
|
}
|
|
1874
|
-
interface Sorting$
|
|
1874
|
+
interface Sorting$g {
|
|
1875
1875
|
/** Name of the field to sort by. */
|
|
1876
1876
|
fieldName?: string;
|
|
1877
1877
|
/** Sort order. */
|
|
1878
|
-
order?: SortOrder$
|
|
1878
|
+
order?: SortOrder$g;
|
|
1879
1879
|
}
|
|
1880
|
-
declare enum SortOrder$
|
|
1880
|
+
declare enum SortOrder$g {
|
|
1881
1881
|
ASC = "ASC",
|
|
1882
1882
|
DESC = "DESC"
|
|
1883
1883
|
}
|
|
@@ -1887,7 +1887,7 @@ interface Paging$2 {
|
|
|
1887
1887
|
/** Number of items to skip in the current sort order. */
|
|
1888
1888
|
offset?: number | null;
|
|
1889
1889
|
}
|
|
1890
|
-
interface CursorPaging$
|
|
1890
|
+
interface CursorPaging$g {
|
|
1891
1891
|
/** Maximum number of items to return in the results. */
|
|
1892
1892
|
limit?: number | null;
|
|
1893
1893
|
/**
|
|
@@ -1919,9 +1919,9 @@ interface PagingMetadataV2 {
|
|
|
1919
1919
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
1920
1920
|
tooManyToCount?: boolean | null;
|
|
1921
1921
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
1922
|
-
cursors?: Cursors$
|
|
1922
|
+
cursors?: Cursors$g;
|
|
1923
1923
|
}
|
|
1924
|
-
interface Cursors$
|
|
1924
|
+
interface Cursors$g {
|
|
1925
1925
|
/** Cursor string pointing to the next page in the list of results. */
|
|
1926
1926
|
next?: string | null;
|
|
1927
1927
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -1990,7 +1990,7 @@ interface RawHttpResponseNonNullableFields$2 {
|
|
|
1990
1990
|
headers: HeadersEntryNonNullableFields$2[];
|
|
1991
1991
|
}
|
|
1992
1992
|
|
|
1993
|
-
type __PublicMethodMetaInfo$
|
|
1993
|
+
type __PublicMethodMetaInfo$i<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1994
1994
|
getUrl: (context: any) => string;
|
|
1995
1995
|
httpMethod: K;
|
|
1996
1996
|
path: string;
|
|
@@ -2000,23 +2000,23 @@ type __PublicMethodMetaInfo$h<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
2000
2000
|
__responseType: Q;
|
|
2001
2001
|
__originalResponseType: R;
|
|
2002
2002
|
};
|
|
2003
|
-
declare function getAbandonedCheckout(): __PublicMethodMetaInfo$
|
|
2003
|
+
declare function getAbandonedCheckout(): __PublicMethodMetaInfo$i<'GET', {
|
|
2004
2004
|
abandonedCheckoutId: string;
|
|
2005
2005
|
}, GetAbandonedCheckoutRequest, GetAbandonedCheckoutRequest$1, GetAbandonedCheckoutResponse & GetAbandonedCheckoutResponseNonNullableFields, GetAbandonedCheckoutResponse$1 & GetAbandonedCheckoutResponseNonNullableFields$1>;
|
|
2006
|
-
declare function deleteAbandonedCheckout(): __PublicMethodMetaInfo$
|
|
2006
|
+
declare function deleteAbandonedCheckout(): __PublicMethodMetaInfo$i<'DELETE', {
|
|
2007
2007
|
abandonedCheckoutId: string;
|
|
2008
2008
|
}, DeleteAbandonedCheckoutRequest, DeleteAbandonedCheckoutRequest$1, DeleteAbandonedCheckoutResponse, DeleteAbandonedCheckoutResponse$1>;
|
|
2009
|
-
declare function queryAbandonedCheckouts(): __PublicMethodMetaInfo$
|
|
2010
|
-
declare function redirectToCheckout(): __PublicMethodMetaInfo$
|
|
2009
|
+
declare function queryAbandonedCheckouts(): __PublicMethodMetaInfo$i<'POST', {}, QueryAbandonedCheckoutsRequest, QueryAbandonedCheckoutsRequest$1, QueryAbandonedCheckoutsResponse & QueryAbandonedCheckoutsResponseNonNullableFields, QueryAbandonedCheckoutsResponse$1 & QueryAbandonedCheckoutsResponseNonNullableFields$1>;
|
|
2010
|
+
declare function redirectToCheckout(): __PublicMethodMetaInfo$i<'GET', {
|
|
2011
2011
|
abandonedCheckoutId: string;
|
|
2012
2012
|
}, RedirectToCheckoutRequest, RedirectToCheckoutRequest$1, RawHttpResponse$2 & RawHttpResponseNonNullableFields$2, RawHttpResponse$3 & RawHttpResponseNonNullableFields$3>;
|
|
2013
2013
|
|
|
2014
|
-
declare const meta$
|
|
2015
|
-
declare const meta$
|
|
2016
|
-
declare const meta$
|
|
2017
|
-
declare const meta$
|
|
2018
|
-
declare namespace meta$
|
|
2019
|
-
export { type __PublicMethodMetaInfo$
|
|
2014
|
+
declare const meta$i_deleteAbandonedCheckout: typeof deleteAbandonedCheckout;
|
|
2015
|
+
declare const meta$i_getAbandonedCheckout: typeof getAbandonedCheckout;
|
|
2016
|
+
declare const meta$i_queryAbandonedCheckouts: typeof queryAbandonedCheckouts;
|
|
2017
|
+
declare const meta$i_redirectToCheckout: typeof redirectToCheckout;
|
|
2018
|
+
declare namespace meta$i {
|
|
2019
|
+
export { type __PublicMethodMetaInfo$i as __PublicMethodMetaInfo, meta$i_deleteAbandonedCheckout as deleteAbandonedCheckout, meta$i_getAbandonedCheckout as getAbandonedCheckout, meta$i_queryAbandonedCheckouts as queryAbandonedCheckouts, meta$i_redirectToCheckout as redirectToCheckout };
|
|
2020
2020
|
}
|
|
2021
2021
|
|
|
2022
2022
|
/**
|
|
@@ -2182,26 +2182,26 @@ interface PlatformQuery$1 extends PlatformQueryPagingMethodOneOf$1 {
|
|
|
2182
2182
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
2183
2183
|
paging?: PlatformPaging$1;
|
|
2184
2184
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
2185
|
-
cursorPaging?: CursorPaging$
|
|
2185
|
+
cursorPaging?: CursorPaging$f;
|
|
2186
2186
|
/** Filter object. */
|
|
2187
2187
|
filter?: Record<string, any> | null;
|
|
2188
2188
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
2189
|
-
sort?: Sorting$
|
|
2189
|
+
sort?: Sorting$f[];
|
|
2190
2190
|
}
|
|
2191
2191
|
/** @oneof */
|
|
2192
2192
|
interface PlatformQueryPagingMethodOneOf$1 {
|
|
2193
2193
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
2194
2194
|
paging?: PlatformPaging$1;
|
|
2195
2195
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
2196
|
-
cursorPaging?: CursorPaging$
|
|
2196
|
+
cursorPaging?: CursorPaging$f;
|
|
2197
2197
|
}
|
|
2198
|
-
interface Sorting$
|
|
2198
|
+
interface Sorting$f {
|
|
2199
2199
|
/** Name of the field to sort by. */
|
|
2200
2200
|
fieldName?: string;
|
|
2201
2201
|
/** Sort order. */
|
|
2202
|
-
order?: SortOrder$
|
|
2202
|
+
order?: SortOrder$f;
|
|
2203
2203
|
}
|
|
2204
|
-
declare enum SortOrder$
|
|
2204
|
+
declare enum SortOrder$f {
|
|
2205
2205
|
ASC = "ASC",
|
|
2206
2206
|
DESC = "DESC"
|
|
2207
2207
|
}
|
|
@@ -2211,7 +2211,7 @@ interface PlatformPaging$1 {
|
|
|
2211
2211
|
/** Number of items to skip in the current sort order. */
|
|
2212
2212
|
offset?: number | null;
|
|
2213
2213
|
}
|
|
2214
|
-
interface CursorPaging$
|
|
2214
|
+
interface CursorPaging$f {
|
|
2215
2215
|
/** Maximum number of items to return in the results. */
|
|
2216
2216
|
limit?: number | null;
|
|
2217
2217
|
/**
|
|
@@ -2236,9 +2236,9 @@ interface PlatformPagingMetadata$1 {
|
|
|
2236
2236
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
2237
2237
|
total?: number | null;
|
|
2238
2238
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
2239
|
-
cursors?: Cursors$
|
|
2239
|
+
cursors?: Cursors$f;
|
|
2240
2240
|
}
|
|
2241
|
-
interface Cursors$
|
|
2241
|
+
interface Cursors$f {
|
|
2242
2242
|
/** Cursor string pointing to the next page in the list of results. */
|
|
2243
2243
|
next?: string | null;
|
|
2244
2244
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -2457,26 +2457,26 @@ interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
|
|
2457
2457
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
2458
2458
|
paging?: PlatformPaging;
|
|
2459
2459
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
2460
|
-
cursorPaging?: CursorPaging$
|
|
2460
|
+
cursorPaging?: CursorPaging$e;
|
|
2461
2461
|
/** Filter object. */
|
|
2462
2462
|
filter?: Record<string, any> | null;
|
|
2463
2463
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
2464
|
-
sort?: Sorting$
|
|
2464
|
+
sort?: Sorting$e[];
|
|
2465
2465
|
}
|
|
2466
2466
|
/** @oneof */
|
|
2467
2467
|
interface PlatformQueryPagingMethodOneOf {
|
|
2468
2468
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
2469
2469
|
paging?: PlatformPaging;
|
|
2470
2470
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
2471
|
-
cursorPaging?: CursorPaging$
|
|
2471
|
+
cursorPaging?: CursorPaging$e;
|
|
2472
2472
|
}
|
|
2473
|
-
interface Sorting$
|
|
2473
|
+
interface Sorting$e {
|
|
2474
2474
|
/** Name of the field to sort by. */
|
|
2475
2475
|
fieldName?: string;
|
|
2476
2476
|
/** Sort order. */
|
|
2477
|
-
order?: SortOrder$
|
|
2477
|
+
order?: SortOrder$e;
|
|
2478
2478
|
}
|
|
2479
|
-
declare enum SortOrder$
|
|
2479
|
+
declare enum SortOrder$e {
|
|
2480
2480
|
ASC = "ASC",
|
|
2481
2481
|
DESC = "DESC"
|
|
2482
2482
|
}
|
|
@@ -2486,7 +2486,7 @@ interface PlatformPaging {
|
|
|
2486
2486
|
/** Number of items to skip in the current sort order. */
|
|
2487
2487
|
offset?: number | null;
|
|
2488
2488
|
}
|
|
2489
|
-
interface CursorPaging$
|
|
2489
|
+
interface CursorPaging$e {
|
|
2490
2490
|
/** Maximum number of items to return in the results. */
|
|
2491
2491
|
limit?: number | null;
|
|
2492
2492
|
/**
|
|
@@ -2511,9 +2511,9 @@ interface PlatformPagingMetadata {
|
|
|
2511
2511
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
2512
2512
|
total?: number | null;
|
|
2513
2513
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
2514
|
-
cursors?: Cursors$
|
|
2514
|
+
cursors?: Cursors$e;
|
|
2515
2515
|
}
|
|
2516
|
-
interface Cursors$
|
|
2516
|
+
interface Cursors$e {
|
|
2517
2517
|
/** Cursor string pointing to the next page in the list of results. */
|
|
2518
2518
|
next?: string | null;
|
|
2519
2519
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -2596,7 +2596,7 @@ interface GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonN
|
|
|
2596
2596
|
countsPerCatalogReference: BackInStockNotificationRequestsCountNonNullableFields[];
|
|
2597
2597
|
}
|
|
2598
2598
|
|
|
2599
|
-
type __PublicMethodMetaInfo$
|
|
2599
|
+
type __PublicMethodMetaInfo$h<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2600
2600
|
getUrl: (context: any) => string;
|
|
2601
2601
|
httpMethod: K;
|
|
2602
2602
|
path: string;
|
|
@@ -2606,29 +2606,29 @@ type __PublicMethodMetaInfo$g<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
2606
2606
|
__responseType: Q;
|
|
2607
2607
|
__originalResponseType: R;
|
|
2608
2608
|
};
|
|
2609
|
-
declare function createBackInStockNotificationRequest(): __PublicMethodMetaInfo$
|
|
2610
|
-
declare function getBackInStockNotificationRequest(): __PublicMethodMetaInfo$
|
|
2609
|
+
declare function createBackInStockNotificationRequest(): __PublicMethodMetaInfo$h<'POST', {}, CreateBackInStockNotificationRequestRequest, CreateBackInStockNotificationRequestRequest$1, CreateBackInStockNotificationRequestResponse & CreateBackInStockNotificationRequestResponseNonNullableFields, CreateBackInStockNotificationRequestResponse$1 & CreateBackInStockNotificationRequestResponseNonNullableFields$1>;
|
|
2610
|
+
declare function getBackInStockNotificationRequest(): __PublicMethodMetaInfo$h<'GET', {
|
|
2611
2611
|
id: string;
|
|
2612
2612
|
}, GetBackInStockNotificationRequestRequest, GetBackInStockNotificationRequestRequest$1, GetBackInStockNotificationRequestResponse & GetBackInStockNotificationRequestResponseNonNullableFields, GetBackInStockNotificationRequestResponse$1 & GetBackInStockNotificationRequestResponseNonNullableFields$1>;
|
|
2613
|
-
declare function deleteBackInStockNotificationRequest(): __PublicMethodMetaInfo$
|
|
2613
|
+
declare function deleteBackInStockNotificationRequest(): __PublicMethodMetaInfo$h<'DELETE', {
|
|
2614
2614
|
id: string;
|
|
2615
2615
|
}, DeleteBackInStockNotificationRequestRequest, DeleteBackInStockNotificationRequestRequest$1, DeleteBackInStockNotificationRequestResponse, DeleteBackInStockNotificationRequestResponse$1>;
|
|
2616
|
-
declare function markAsNotificationSent(): __PublicMethodMetaInfo$
|
|
2616
|
+
declare function markAsNotificationSent(): __PublicMethodMetaInfo$h<'PUT', {
|
|
2617
2617
|
id: string;
|
|
2618
2618
|
}, MarkAsNotificationSentRequest, MarkAsNotificationSentRequest$1, MarkAsNotificationSentResponse & MarkAsNotificationSentResponseNonNullableFields, MarkAsNotificationSentResponse$1 & MarkAsNotificationSentResponseNonNullableFields$1>;
|
|
2619
|
-
declare function queryBackInStockNotificationRequests(): __PublicMethodMetaInfo$
|
|
2620
|
-
declare function getBackInStockNotificationRequestsCountByCatalogReferences(): __PublicMethodMetaInfo$
|
|
2621
|
-
declare function reportItemsBackInStock(): __PublicMethodMetaInfo$
|
|
2619
|
+
declare function queryBackInStockNotificationRequests(): __PublicMethodMetaInfo$h<'GET', {}, QueryBackInStockNotificationRequestsRequest, QueryBackInStockNotificationRequestsRequest$1, QueryBackInStockNotificationRequestsResponse & QueryBackInStockNotificationRequestsResponseNonNullableFields, QueryBackInStockNotificationRequestsResponse$1 & QueryBackInStockNotificationRequestsResponseNonNullableFields$1>;
|
|
2620
|
+
declare function getBackInStockNotificationRequestsCountByCatalogReferences(): __PublicMethodMetaInfo$h<'GET', {}, GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, GetBackInStockNotificationRequestsCountByCatalogReferencesRequest$1, GetBackInStockNotificationRequestsCountByCatalogReferencesResponse & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, GetBackInStockNotificationRequestsCountByCatalogReferencesResponse$1 & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields$1>;
|
|
2621
|
+
declare function reportItemsBackInStock(): __PublicMethodMetaInfo$h<'POST', {}, ReportItemsBackInStockRequest, ReportItemsBackInStockRequest$1, ReportItemsBackInStockResponse, ReportItemsBackInStockResponse$1>;
|
|
2622
2622
|
|
|
2623
|
-
declare const meta$
|
|
2624
|
-
declare const meta$
|
|
2625
|
-
declare const meta$
|
|
2626
|
-
declare const meta$
|
|
2627
|
-
declare const meta$
|
|
2628
|
-
declare const meta$
|
|
2629
|
-
declare const meta$
|
|
2630
|
-
declare namespace meta$
|
|
2631
|
-
export { type __PublicMethodMetaInfo$
|
|
2623
|
+
declare const meta$h_createBackInStockNotificationRequest: typeof createBackInStockNotificationRequest;
|
|
2624
|
+
declare const meta$h_deleteBackInStockNotificationRequest: typeof deleteBackInStockNotificationRequest;
|
|
2625
|
+
declare const meta$h_getBackInStockNotificationRequest: typeof getBackInStockNotificationRequest;
|
|
2626
|
+
declare const meta$h_getBackInStockNotificationRequestsCountByCatalogReferences: typeof getBackInStockNotificationRequestsCountByCatalogReferences;
|
|
2627
|
+
declare const meta$h_markAsNotificationSent: typeof markAsNotificationSent;
|
|
2628
|
+
declare const meta$h_queryBackInStockNotificationRequests: typeof queryBackInStockNotificationRequests;
|
|
2629
|
+
declare const meta$h_reportItemsBackInStock: typeof reportItemsBackInStock;
|
|
2630
|
+
declare namespace meta$h {
|
|
2631
|
+
export { type __PublicMethodMetaInfo$h as __PublicMethodMetaInfo, meta$h_createBackInStockNotificationRequest as createBackInStockNotificationRequest, meta$h_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, meta$h_getBackInStockNotificationRequest as getBackInStockNotificationRequest, meta$h_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, meta$h_markAsNotificationSent as markAsNotificationSent, meta$h_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, meta$h_reportItemsBackInStock as reportItemsBackInStock };
|
|
2632
2632
|
}
|
|
2633
2633
|
|
|
2634
2634
|
/**
|
|
@@ -2743,7 +2743,7 @@ interface GetSettingsResponseNonNullableFields {
|
|
|
2743
2743
|
settings?: BackInStockSettingsNonNullableFields;
|
|
2744
2744
|
}
|
|
2745
2745
|
|
|
2746
|
-
type __PublicMethodMetaInfo$
|
|
2746
|
+
type __PublicMethodMetaInfo$g<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2747
2747
|
getUrl: (context: any) => string;
|
|
2748
2748
|
httpMethod: K;
|
|
2749
2749
|
path: string;
|
|
@@ -2753,15 +2753,15 @@ type __PublicMethodMetaInfo$f<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
2753
2753
|
__responseType: Q;
|
|
2754
2754
|
__originalResponseType: R;
|
|
2755
2755
|
};
|
|
2756
|
-
declare function startCollectingRequests(): __PublicMethodMetaInfo$
|
|
2757
|
-
declare function stopCollectingRequests(): __PublicMethodMetaInfo$
|
|
2758
|
-
declare function getSettings(): __PublicMethodMetaInfo$
|
|
2756
|
+
declare function startCollectingRequests(): __PublicMethodMetaInfo$g<'POST', {}, StartCollectingRequestsRequest, StartCollectingRequestsRequest$1, StartCollectingRequestsResponse & StartCollectingRequestsResponseNonNullableFields, StartCollectingRequestsResponse$1 & StartCollectingRequestsResponseNonNullableFields$1>;
|
|
2757
|
+
declare function stopCollectingRequests(): __PublicMethodMetaInfo$g<'POST', {}, StopCollectingRequestsRequest, StopCollectingRequestsRequest$1, StopCollectingRequestsResponse & StopCollectingRequestsResponseNonNullableFields, StopCollectingRequestsResponse$1 & StopCollectingRequestsResponseNonNullableFields$1>;
|
|
2758
|
+
declare function getSettings(): __PublicMethodMetaInfo$g<'PUT', {}, GetSettingsRequest, GetSettingsRequest$1, GetSettingsResponse & GetSettingsResponseNonNullableFields, GetSettingsResponse$1 & GetSettingsResponseNonNullableFields$1>;
|
|
2759
2759
|
|
|
2760
|
-
declare const meta$
|
|
2761
|
-
declare const meta$
|
|
2762
|
-
declare const meta$
|
|
2763
|
-
declare namespace meta$
|
|
2764
|
-
export { type __PublicMethodMetaInfo$
|
|
2760
|
+
declare const meta$g_getSettings: typeof getSettings;
|
|
2761
|
+
declare const meta$g_startCollectingRequests: typeof startCollectingRequests;
|
|
2762
|
+
declare const meta$g_stopCollectingRequests: typeof stopCollectingRequests;
|
|
2763
|
+
declare namespace meta$g {
|
|
2764
|
+
export { type __PublicMethodMetaInfo$g as __PublicMethodMetaInfo, meta$g_getSettings as getSettings, meta$g_startCollectingRequests as startCollectingRequests, meta$g_stopCollectingRequests as stopCollectingRequests };
|
|
2765
2765
|
}
|
|
2766
2766
|
|
|
2767
2767
|
interface Cart$3 {
|
|
@@ -3677,9 +3677,9 @@ interface CarrierServiceOption$5 {
|
|
|
3677
3677
|
/** Carrier ID. */
|
|
3678
3678
|
carrierId?: string;
|
|
3679
3679
|
/** Shipping options offered by this carrier for this request. */
|
|
3680
|
-
shippingOptions?: ShippingOption$
|
|
3680
|
+
shippingOptions?: ShippingOption$9[];
|
|
3681
3681
|
}
|
|
3682
|
-
interface ShippingOption$
|
|
3682
|
+
interface ShippingOption$9 {
|
|
3683
3683
|
/**
|
|
3684
3684
|
* Unique code of provided shipping option like "usps_std_overnight".
|
|
3685
3685
|
* For legacy calculators this would be the UUID of the option.
|
|
@@ -4427,7 +4427,7 @@ interface ShippingPriceNonNullableFields$9 {
|
|
|
4427
4427
|
price?: MultiCurrencyPriceNonNullableFields$5;
|
|
4428
4428
|
otherCharges: OtherChargeNonNullableFields$5[];
|
|
4429
4429
|
}
|
|
4430
|
-
interface ShippingOptionNonNullableFields$
|
|
4430
|
+
interface ShippingOptionNonNullableFields$9 {
|
|
4431
4431
|
code: string;
|
|
4432
4432
|
title: string;
|
|
4433
4433
|
logistics?: DeliveryLogisticsNonNullableFields$9;
|
|
@@ -4435,7 +4435,7 @@ interface ShippingOptionNonNullableFields$7 {
|
|
|
4435
4435
|
}
|
|
4436
4436
|
interface CarrierServiceOptionNonNullableFields$5 {
|
|
4437
4437
|
carrierId: string;
|
|
4438
|
-
shippingOptions: ShippingOptionNonNullableFields$
|
|
4438
|
+
shippingOptions: ShippingOptionNonNullableFields$9[];
|
|
4439
4439
|
}
|
|
4440
4440
|
interface ShippingInformationNonNullableFields$7 {
|
|
4441
4441
|
region?: ShippingRegionNonNullableFields$5;
|
|
@@ -5432,9 +5432,9 @@ interface CarrierServiceOption$4 {
|
|
|
5432
5432
|
/** Carrier ID. */
|
|
5433
5433
|
carrierId?: string;
|
|
5434
5434
|
/** Shipping options offered by this carrier for this request. */
|
|
5435
|
-
shippingOptions?: ShippingOption$
|
|
5435
|
+
shippingOptions?: ShippingOption$8[];
|
|
5436
5436
|
}
|
|
5437
|
-
interface ShippingOption$
|
|
5437
|
+
interface ShippingOption$8 {
|
|
5438
5438
|
/**
|
|
5439
5439
|
* Unique code of provided shipping option like "usps_std_overnight".
|
|
5440
5440
|
* For legacy calculators this would be the UUID of the option.
|
|
@@ -6168,7 +6168,7 @@ interface ShippingPriceNonNullableFields$8 {
|
|
|
6168
6168
|
price?: MultiCurrencyPriceNonNullableFields$4;
|
|
6169
6169
|
otherCharges: OtherChargeNonNullableFields$4[];
|
|
6170
6170
|
}
|
|
6171
|
-
interface ShippingOptionNonNullableFields$
|
|
6171
|
+
interface ShippingOptionNonNullableFields$8 {
|
|
6172
6172
|
code: string;
|
|
6173
6173
|
title: string;
|
|
6174
6174
|
logistics?: DeliveryLogisticsNonNullableFields$8;
|
|
@@ -6176,7 +6176,7 @@ interface ShippingOptionNonNullableFields$6 {
|
|
|
6176
6176
|
}
|
|
6177
6177
|
interface CarrierServiceOptionNonNullableFields$4 {
|
|
6178
6178
|
carrierId: string;
|
|
6179
|
-
shippingOptions: ShippingOptionNonNullableFields$
|
|
6179
|
+
shippingOptions: ShippingOptionNonNullableFields$8[];
|
|
6180
6180
|
}
|
|
6181
6181
|
interface ShippingInformationNonNullableFields$6 {
|
|
6182
6182
|
region?: ShippingRegionNonNullableFields$4;
|
|
@@ -6315,7 +6315,7 @@ interface GetCartResponseNonNullableFields {
|
|
|
6315
6315
|
cart?: CartNonNullableFields$2;
|
|
6316
6316
|
}
|
|
6317
6317
|
|
|
6318
|
-
type __PublicMethodMetaInfo$
|
|
6318
|
+
type __PublicMethodMetaInfo$f<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
6319
6319
|
getUrl: (context: any) => string;
|
|
6320
6320
|
httpMethod: K;
|
|
6321
6321
|
path: string;
|
|
@@ -6325,43 +6325,43 @@ type __PublicMethodMetaInfo$e<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
6325
6325
|
__responseType: Q;
|
|
6326
6326
|
__originalResponseType: R;
|
|
6327
6327
|
};
|
|
6328
|
-
declare function createCart(): __PublicMethodMetaInfo$
|
|
6329
|
-
declare function updateCart(): __PublicMethodMetaInfo$
|
|
6328
|
+
declare function createCart(): __PublicMethodMetaInfo$f<'POST', {}, CreateCartRequest, CreateCartRequest$1, CreateCartResponse & CreateCartResponseNonNullableFields, CreateCartResponse$1 & CreateCartResponseNonNullableFields$1>;
|
|
6329
|
+
declare function updateCart(): __PublicMethodMetaInfo$f<'PATCH', {
|
|
6330
6330
|
cartInfoId: string;
|
|
6331
6331
|
}, UpdateCartRequest$2, UpdateCartRequest$3, UpdateCartResponse$2 & UpdateCartResponseNonNullableFields$2, UpdateCartResponse$3 & UpdateCartResponseNonNullableFields$3>;
|
|
6332
|
-
declare function getCart(): __PublicMethodMetaInfo$
|
|
6332
|
+
declare function getCart(): __PublicMethodMetaInfo$f<'GET', {
|
|
6333
6333
|
id: string;
|
|
6334
6334
|
}, GetCartRequest, GetCartRequest$1, GetCartResponse & GetCartResponseNonNullableFields, GetCartResponse$1 & GetCartResponseNonNullableFields$1>;
|
|
6335
|
-
declare function addToCart(): __PublicMethodMetaInfo$
|
|
6335
|
+
declare function addToCart(): __PublicMethodMetaInfo$f<'POST', {
|
|
6336
6336
|
id: string;
|
|
6337
6337
|
}, AddToCartRequest, AddToCartRequest$1, AddToCartResponse$2 & AddToCartResponseNonNullableFields$2, AddToCartResponse$3 & AddToCartResponseNonNullableFields$3>;
|
|
6338
|
-
declare function removeLineItems$1(): __PublicMethodMetaInfo$
|
|
6338
|
+
declare function removeLineItems$1(): __PublicMethodMetaInfo$f<'POST', {
|
|
6339
6339
|
id: string;
|
|
6340
6340
|
}, RemoveLineItemsRequest$2, RemoveLineItemsRequest$3, RemoveLineItemsResponse$4 & RemoveLineItemsResponseNonNullableFields$4, RemoveLineItemsResponse$5 & RemoveLineItemsResponseNonNullableFields$5>;
|
|
6341
|
-
declare function createCheckout$1(): __PublicMethodMetaInfo$
|
|
6341
|
+
declare function createCheckout$1(): __PublicMethodMetaInfo$f<'POST', {
|
|
6342
6342
|
id: string;
|
|
6343
6343
|
}, CreateCheckoutRequest$2, CreateCheckoutRequest$3, CreateCheckoutResponse$4 & CreateCheckoutResponseNonNullableFields$4, CreateCheckoutResponse$5 & CreateCheckoutResponseNonNullableFields$5>;
|
|
6344
|
-
declare function removeCoupon$1(): __PublicMethodMetaInfo$
|
|
6344
|
+
declare function removeCoupon$1(): __PublicMethodMetaInfo$f<'POST', {
|
|
6345
6345
|
id: string;
|
|
6346
6346
|
}, RemoveCouponRequest$2, RemoveCouponRequest$3, RemoveCouponResponse$4 & RemoveCouponResponseNonNullableFields$4, RemoveCouponResponse$5 & RemoveCouponResponseNonNullableFields$5>;
|
|
6347
|
-
declare function updateLineItemsQuantity$1(): __PublicMethodMetaInfo$
|
|
6347
|
+
declare function updateLineItemsQuantity$1(): __PublicMethodMetaInfo$f<'POST', {
|
|
6348
6348
|
id: string;
|
|
6349
6349
|
}, UpdateLineItemsQuantityRequest$2, UpdateLineItemsQuantityRequest$3, UpdateLineItemsQuantityResponse$4 & UpdateLineItemsQuantityResponseNonNullableFields$4, UpdateLineItemsQuantityResponse$5 & UpdateLineItemsQuantityResponseNonNullableFields$5>;
|
|
6350
|
-
declare function estimateTotals(): __PublicMethodMetaInfo$
|
|
6350
|
+
declare function estimateTotals(): __PublicMethodMetaInfo$f<'POST', {
|
|
6351
6351
|
id: string;
|
|
6352
6352
|
}, EstimateTotalsRequest, EstimateTotalsRequest$1, EstimateTotalsResponse$2 & EstimateTotalsResponseNonNullableFields$2, EstimateTotalsResponse$3 & EstimateTotalsResponseNonNullableFields$3>;
|
|
6353
|
-
declare function deleteCart(): __PublicMethodMetaInfo$
|
|
6353
|
+
declare function deleteCart(): __PublicMethodMetaInfo$f<'DELETE', {
|
|
6354
6354
|
id: string;
|
|
6355
6355
|
}, DeleteCartRequest, DeleteCartRequest$1, DeleteCartResponse$2, DeleteCartResponse$3>;
|
|
6356
6356
|
|
|
6357
|
-
declare const meta$
|
|
6358
|
-
declare const meta$
|
|
6359
|
-
declare const meta$
|
|
6360
|
-
declare const meta$
|
|
6361
|
-
declare const meta$
|
|
6362
|
-
declare const meta$
|
|
6363
|
-
declare namespace meta$
|
|
6364
|
-
export { type __PublicMethodMetaInfo$
|
|
6357
|
+
declare const meta$f_addToCart: typeof addToCart;
|
|
6358
|
+
declare const meta$f_createCart: typeof createCart;
|
|
6359
|
+
declare const meta$f_deleteCart: typeof deleteCart;
|
|
6360
|
+
declare const meta$f_estimateTotals: typeof estimateTotals;
|
|
6361
|
+
declare const meta$f_getCart: typeof getCart;
|
|
6362
|
+
declare const meta$f_updateCart: typeof updateCart;
|
|
6363
|
+
declare namespace meta$f {
|
|
6364
|
+
export { type __PublicMethodMetaInfo$f as __PublicMethodMetaInfo, meta$f_addToCart as addToCart, meta$f_createCart as createCart, createCheckout$1 as createCheckout, meta$f_deleteCart as deleteCart, meta$f_estimateTotals as estimateTotals, meta$f_getCart as getCart, removeCoupon$1 as removeCoupon, removeLineItems$1 as removeLineItems, meta$f_updateCart as updateCart, updateLineItemsQuantity$1 as updateLineItemsQuantity };
|
|
6365
6365
|
}
|
|
6366
6366
|
|
|
6367
6367
|
interface Cart$1 {
|
|
@@ -7287,9 +7287,9 @@ interface CarrierServiceOption$3 {
|
|
|
7287
7287
|
/** Carrier ID. */
|
|
7288
7288
|
carrierId?: string;
|
|
7289
7289
|
/** Shipping options offered by this carrier for this request. */
|
|
7290
|
-
shippingOptions?: ShippingOption$
|
|
7290
|
+
shippingOptions?: ShippingOption$7[];
|
|
7291
7291
|
}
|
|
7292
|
-
interface ShippingOption$
|
|
7292
|
+
interface ShippingOption$7 {
|
|
7293
7293
|
/**
|
|
7294
7294
|
* Unique code of provided shipping option like "usps_std_overnight".
|
|
7295
7295
|
* For legacy calculators this would be the UUID of the option.
|
|
@@ -8000,7 +8000,7 @@ interface ShippingPriceNonNullableFields$7 {
|
|
|
8000
8000
|
price?: MultiCurrencyPriceNonNullableFields$3;
|
|
8001
8001
|
otherCharges: OtherChargeNonNullableFields$3[];
|
|
8002
8002
|
}
|
|
8003
|
-
interface ShippingOptionNonNullableFields$
|
|
8003
|
+
interface ShippingOptionNonNullableFields$7 {
|
|
8004
8004
|
code: string;
|
|
8005
8005
|
title: string;
|
|
8006
8006
|
logistics?: DeliveryLogisticsNonNullableFields$7;
|
|
@@ -8008,7 +8008,7 @@ interface ShippingOptionNonNullableFields$5 {
|
|
|
8008
8008
|
}
|
|
8009
8009
|
interface CarrierServiceOptionNonNullableFields$3 {
|
|
8010
8010
|
carrierId: string;
|
|
8011
|
-
shippingOptions: ShippingOptionNonNullableFields$
|
|
8011
|
+
shippingOptions: ShippingOptionNonNullableFields$7[];
|
|
8012
8012
|
}
|
|
8013
8013
|
interface ShippingInformationNonNullableFields$5 {
|
|
8014
8014
|
region?: ShippingRegionNonNullableFields$3;
|
|
@@ -9009,9 +9009,9 @@ interface CarrierServiceOption$2 {
|
|
|
9009
9009
|
/** Carrier ID. */
|
|
9010
9010
|
carrierId?: string;
|
|
9011
9011
|
/** Shipping options offered by this carrier for this request. */
|
|
9012
|
-
shippingOptions?: ShippingOption$
|
|
9012
|
+
shippingOptions?: ShippingOption$6[];
|
|
9013
9013
|
}
|
|
9014
|
-
interface ShippingOption$
|
|
9014
|
+
interface ShippingOption$6 {
|
|
9015
9015
|
/**
|
|
9016
9016
|
* Unique code of provided shipping option like "usps_std_overnight".
|
|
9017
9017
|
* For legacy calculators this would be the UUID of the option.
|
|
@@ -9708,7 +9708,7 @@ interface ShippingPriceNonNullableFields$6 {
|
|
|
9708
9708
|
price?: MultiCurrencyPriceNonNullableFields$2;
|
|
9709
9709
|
otherCharges: OtherChargeNonNullableFields$2[];
|
|
9710
9710
|
}
|
|
9711
|
-
interface ShippingOptionNonNullableFields$
|
|
9711
|
+
interface ShippingOptionNonNullableFields$6 {
|
|
9712
9712
|
code: string;
|
|
9713
9713
|
title: string;
|
|
9714
9714
|
logistics?: DeliveryLogisticsNonNullableFields$6;
|
|
@@ -9716,7 +9716,7 @@ interface ShippingOptionNonNullableFields$4 {
|
|
|
9716
9716
|
}
|
|
9717
9717
|
interface CarrierServiceOptionNonNullableFields$2 {
|
|
9718
9718
|
carrierId: string;
|
|
9719
|
-
shippingOptions: ShippingOptionNonNullableFields$
|
|
9719
|
+
shippingOptions: ShippingOptionNonNullableFields$6[];
|
|
9720
9720
|
}
|
|
9721
9721
|
interface ShippingInformationNonNullableFields$4 {
|
|
9722
9722
|
region?: ShippingRegionNonNullableFields$2;
|
|
@@ -9849,7 +9849,7 @@ interface EstimateTotalsResponseNonNullableFields {
|
|
|
9849
9849
|
violations: ViolationNonNullableFields$2[];
|
|
9850
9850
|
}
|
|
9851
9851
|
|
|
9852
|
-
type __PublicMethodMetaInfo$
|
|
9852
|
+
type __PublicMethodMetaInfo$e<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
9853
9853
|
getUrl: (context: any) => string;
|
|
9854
9854
|
httpMethod: K;
|
|
9855
9855
|
path: string;
|
|
@@ -9859,27 +9859,27 @@ type __PublicMethodMetaInfo$d<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
9859
9859
|
__responseType: Q;
|
|
9860
9860
|
__originalResponseType: R;
|
|
9861
9861
|
};
|
|
9862
|
-
declare function getCurrentCart(): __PublicMethodMetaInfo$
|
|
9863
|
-
declare function updateCurrentCart(): __PublicMethodMetaInfo$
|
|
9864
|
-
declare function addToCurrentCart(): __PublicMethodMetaInfo$
|
|
9865
|
-
declare function removeLineItemsFromCurrentCart(): __PublicMethodMetaInfo$
|
|
9866
|
-
declare function createCheckoutFromCurrentCart(): __PublicMethodMetaInfo$
|
|
9867
|
-
declare function removeCouponFromCurrentCart(): __PublicMethodMetaInfo$
|
|
9868
|
-
declare function updateCurrentCartLineItemQuantity(): __PublicMethodMetaInfo$
|
|
9869
|
-
declare function estimateCurrentCartTotals(): __PublicMethodMetaInfo$
|
|
9870
|
-
declare function deleteCurrentCart(): __PublicMethodMetaInfo$
|
|
9862
|
+
declare function getCurrentCart(): __PublicMethodMetaInfo$e<'GET', {}, GetCurrentCartRequest, GetCurrentCartRequest$1, GetCurrentCartResponse & GetCurrentCartResponseNonNullableFields, GetCurrentCartResponse$1 & GetCurrentCartResponseNonNullableFields$1>;
|
|
9863
|
+
declare function updateCurrentCart(): __PublicMethodMetaInfo$e<'PATCH', {}, UpdateCartRequest, UpdateCartRequest$1, UpdateCartResponse & UpdateCartResponseNonNullableFields, UpdateCartResponse$1 & UpdateCartResponseNonNullableFields$1>;
|
|
9864
|
+
declare function addToCurrentCart(): __PublicMethodMetaInfo$e<'POST', {}, AddToCurrentCartRequest, AddToCurrentCartRequest$1, AddToCartResponse & AddToCartResponseNonNullableFields, AddToCartResponse$1 & AddToCartResponseNonNullableFields$1>;
|
|
9865
|
+
declare function removeLineItemsFromCurrentCart(): __PublicMethodMetaInfo$e<'POST', {}, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsFromCurrentCartRequest$1, RemoveLineItemsResponse$2 & RemoveLineItemsResponseNonNullableFields$2, RemoveLineItemsResponse$3 & RemoveLineItemsResponseNonNullableFields$3>;
|
|
9866
|
+
declare function createCheckoutFromCurrentCart(): __PublicMethodMetaInfo$e<'POST', {}, CreateCheckoutFromCurrentCartRequest, CreateCheckoutFromCurrentCartRequest$1, CreateCheckoutResponse$2 & CreateCheckoutResponseNonNullableFields$2, CreateCheckoutResponse$3 & CreateCheckoutResponseNonNullableFields$3>;
|
|
9867
|
+
declare function removeCouponFromCurrentCart(): __PublicMethodMetaInfo$e<'POST', {}, RemoveCouponFromCurrentCartRequest, RemoveCouponFromCurrentCartRequest$1, RemoveCouponResponse$2 & RemoveCouponResponseNonNullableFields$2, RemoveCouponResponse$3 & RemoveCouponResponseNonNullableFields$3>;
|
|
9868
|
+
declare function updateCurrentCartLineItemQuantity(): __PublicMethodMetaInfo$e<'POST', {}, UpdateCurrentCartLineItemQuantityRequest, UpdateCurrentCartLineItemQuantityRequest$1, UpdateLineItemsQuantityResponse$2 & UpdateLineItemsQuantityResponseNonNullableFields$2, UpdateLineItemsQuantityResponse$3 & UpdateLineItemsQuantityResponseNonNullableFields$3>;
|
|
9869
|
+
declare function estimateCurrentCartTotals(): __PublicMethodMetaInfo$e<'POST', {}, EstimateCurrentCartTotalsRequest, EstimateCurrentCartTotalsRequest$1, EstimateTotalsResponse & EstimateTotalsResponseNonNullableFields, EstimateTotalsResponse$1 & EstimateTotalsResponseNonNullableFields$1>;
|
|
9870
|
+
declare function deleteCurrentCart(): __PublicMethodMetaInfo$e<'DELETE', {}, DeleteCurrentCartRequest, DeleteCurrentCartRequest$1, DeleteCartResponse, DeleteCartResponse$1>;
|
|
9871
9871
|
|
|
9872
|
-
declare const meta$
|
|
9873
|
-
declare const meta$
|
|
9874
|
-
declare const meta$
|
|
9875
|
-
declare const meta$
|
|
9876
|
-
declare const meta$
|
|
9877
|
-
declare const meta$
|
|
9878
|
-
declare const meta$
|
|
9879
|
-
declare const meta$
|
|
9880
|
-
declare const meta$
|
|
9881
|
-
declare namespace meta$
|
|
9882
|
-
export { type __PublicMethodMetaInfo$
|
|
9872
|
+
declare const meta$e_addToCurrentCart: typeof addToCurrentCart;
|
|
9873
|
+
declare const meta$e_createCheckoutFromCurrentCart: typeof createCheckoutFromCurrentCart;
|
|
9874
|
+
declare const meta$e_deleteCurrentCart: typeof deleteCurrentCart;
|
|
9875
|
+
declare const meta$e_estimateCurrentCartTotals: typeof estimateCurrentCartTotals;
|
|
9876
|
+
declare const meta$e_getCurrentCart: typeof getCurrentCart;
|
|
9877
|
+
declare const meta$e_removeCouponFromCurrentCart: typeof removeCouponFromCurrentCart;
|
|
9878
|
+
declare const meta$e_removeLineItemsFromCurrentCart: typeof removeLineItemsFromCurrentCart;
|
|
9879
|
+
declare const meta$e_updateCurrentCart: typeof updateCurrentCart;
|
|
9880
|
+
declare const meta$e_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
|
|
9881
|
+
declare namespace meta$e {
|
|
9882
|
+
export { type __PublicMethodMetaInfo$e as __PublicMethodMetaInfo, meta$e_addToCurrentCart as addToCurrentCart, meta$e_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, meta$e_deleteCurrentCart as deleteCurrentCart, meta$e_estimateCurrentCartTotals as estimateCurrentCartTotals, meta$e_getCurrentCart as getCurrentCart, meta$e_removeCouponFromCurrentCart as removeCouponFromCurrentCart, meta$e_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, meta$e_updateCurrentCart as updateCurrentCart, meta$e_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
9883
9883
|
}
|
|
9884
9884
|
|
|
9885
9885
|
interface Checkout$1 {
|
|
@@ -10025,7 +10025,7 @@ interface Checkout$1 {
|
|
|
10025
10025
|
*
|
|
10026
10026
|
* [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.
|
|
10027
10027
|
*/
|
|
10028
|
-
extendedFields?: ExtendedFields$
|
|
10028
|
+
extendedFields?: ExtendedFields$b;
|
|
10029
10029
|
/**
|
|
10030
10030
|
* Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
|
|
10031
10031
|
* @readonly
|
|
@@ -10612,9 +10612,9 @@ interface CarrierServiceOption$1 {
|
|
|
10612
10612
|
/** Carrier ID. */
|
|
10613
10613
|
carrierId?: string;
|
|
10614
10614
|
/** Shipping options offered by this carrier for this request. */
|
|
10615
|
-
shippingOptions?: ShippingOption$
|
|
10615
|
+
shippingOptions?: ShippingOption$5[];
|
|
10616
10616
|
}
|
|
10617
|
-
interface ShippingOption$
|
|
10617
|
+
interface ShippingOption$5 {
|
|
10618
10618
|
/**
|
|
10619
10619
|
* Unique code of provided shipping option like "usps_std_overnight".
|
|
10620
10620
|
* For legacy calculators this would be the UUID of the option.
|
|
@@ -11145,7 +11145,7 @@ interface TargetLineItem$1 {
|
|
|
11145
11145
|
/** ID of the line item containing the violation. */
|
|
11146
11146
|
id?: string | null;
|
|
11147
11147
|
}
|
|
11148
|
-
interface ExtendedFields$
|
|
11148
|
+
interface ExtendedFields$b {
|
|
11149
11149
|
/**
|
|
11150
11150
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
11151
11151
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -11574,7 +11574,7 @@ interface ShippingPriceNonNullableFields$5 {
|
|
|
11574
11574
|
price?: MultiCurrencyPriceNonNullableFields$1;
|
|
11575
11575
|
otherCharges: OtherChargeNonNullableFields$1[];
|
|
11576
11576
|
}
|
|
11577
|
-
interface ShippingOptionNonNullableFields$
|
|
11577
|
+
interface ShippingOptionNonNullableFields$5 {
|
|
11578
11578
|
code: string;
|
|
11579
11579
|
title: string;
|
|
11580
11580
|
logistics?: DeliveryLogisticsNonNullableFields$5;
|
|
@@ -11582,7 +11582,7 @@ interface ShippingOptionNonNullableFields$3 {
|
|
|
11582
11582
|
}
|
|
11583
11583
|
interface CarrierServiceOptionNonNullableFields$1 {
|
|
11584
11584
|
carrierId: string;
|
|
11585
|
-
shippingOptions: ShippingOptionNonNullableFields$
|
|
11585
|
+
shippingOptions: ShippingOptionNonNullableFields$5[];
|
|
11586
11586
|
}
|
|
11587
11587
|
interface ShippingInfoNonNullableFields$1 {
|
|
11588
11588
|
shippingDestination?: AddressWithContactNonNullableFields$5;
|
|
@@ -11985,7 +11985,7 @@ interface Checkout {
|
|
|
11985
11985
|
*
|
|
11986
11986
|
* [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.
|
|
11987
11987
|
*/
|
|
11988
|
-
extendedFields?: ExtendedFields$
|
|
11988
|
+
extendedFields?: ExtendedFields$a;
|
|
11989
11989
|
/**
|
|
11990
11990
|
* Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
|
|
11991
11991
|
* @readonly
|
|
@@ -12534,9 +12534,9 @@ interface CarrierServiceOption {
|
|
|
12534
12534
|
/** Carrier ID. */
|
|
12535
12535
|
carrierId?: string;
|
|
12536
12536
|
/** Shipping options offered by this carrier for this request. */
|
|
12537
|
-
shippingOptions?: ShippingOption$
|
|
12537
|
+
shippingOptions?: ShippingOption$4[];
|
|
12538
12538
|
}
|
|
12539
|
-
interface ShippingOption$
|
|
12539
|
+
interface ShippingOption$4 {
|
|
12540
12540
|
/**
|
|
12541
12541
|
* Unique code of provided shipping option like "usps_std_overnight".
|
|
12542
12542
|
* For legacy calculators this would be the UUID of the option.
|
|
@@ -13067,7 +13067,7 @@ interface TargetLineItem {
|
|
|
13067
13067
|
/** ID of the line item containing the violation. */
|
|
13068
13068
|
_id?: string | null;
|
|
13069
13069
|
}
|
|
13070
|
-
interface ExtendedFields$
|
|
13070
|
+
interface ExtendedFields$a {
|
|
13071
13071
|
/**
|
|
13072
13072
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
13073
13073
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -13464,7 +13464,7 @@ interface ShippingPriceNonNullableFields$4 {
|
|
|
13464
13464
|
price?: MultiCurrencyPriceNonNullableFields;
|
|
13465
13465
|
otherCharges: OtherChargeNonNullableFields[];
|
|
13466
13466
|
}
|
|
13467
|
-
interface ShippingOptionNonNullableFields$
|
|
13467
|
+
interface ShippingOptionNonNullableFields$4 {
|
|
13468
13468
|
code: string;
|
|
13469
13469
|
title: string;
|
|
13470
13470
|
logistics?: DeliveryLogisticsNonNullableFields$4;
|
|
@@ -13472,7 +13472,7 @@ interface ShippingOptionNonNullableFields$2 {
|
|
|
13472
13472
|
}
|
|
13473
13473
|
interface CarrierServiceOptionNonNullableFields {
|
|
13474
13474
|
carrierId: string;
|
|
13475
|
-
shippingOptions: ShippingOptionNonNullableFields$
|
|
13475
|
+
shippingOptions: ShippingOptionNonNullableFields$4[];
|
|
13476
13476
|
}
|
|
13477
13477
|
interface ShippingInfoNonNullableFields {
|
|
13478
13478
|
shippingDestination?: AddressWithContactNonNullableFields$4;
|
|
@@ -13732,7 +13732,7 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
13732
13732
|
checkout?: CheckoutNonNullableFields;
|
|
13733
13733
|
}
|
|
13734
13734
|
|
|
13735
|
-
type __PublicMethodMetaInfo$
|
|
13735
|
+
type __PublicMethodMetaInfo$d<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
13736
13736
|
getUrl: (context: any) => string;
|
|
13737
13737
|
httpMethod: K;
|
|
13738
13738
|
path: string;
|
|
@@ -13742,58 +13742,58 @@ type __PublicMethodMetaInfo$c<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
13742
13742
|
__responseType: Q;
|
|
13743
13743
|
__originalResponseType: R;
|
|
13744
13744
|
};
|
|
13745
|
-
declare function createCheckout(): __PublicMethodMetaInfo$
|
|
13746
|
-
declare function getCheckout(): __PublicMethodMetaInfo$
|
|
13745
|
+
declare function createCheckout(): __PublicMethodMetaInfo$d<'POST', {}, CreateCheckoutRequest, CreateCheckoutRequest$1, CreateCheckoutResponse & CreateCheckoutResponseNonNullableFields, CreateCheckoutResponse$1 & CreateCheckoutResponseNonNullableFields$1>;
|
|
13746
|
+
declare function getCheckout(): __PublicMethodMetaInfo$d<'GET', {
|
|
13747
13747
|
id: string;
|
|
13748
13748
|
}, GetCheckoutRequest, GetCheckoutRequest$1, GetCheckoutResponse & GetCheckoutResponseNonNullableFields, GetCheckoutResponse$1 & GetCheckoutResponseNonNullableFields$1>;
|
|
13749
|
-
declare function getCheckoutByCartId(): __PublicMethodMetaInfo$
|
|
13749
|
+
declare function getCheckoutByCartId(): __PublicMethodMetaInfo$d<'GET', {
|
|
13750
13750
|
id: string;
|
|
13751
13751
|
}, GetCheckoutByCartIdRequest, GetCheckoutByCartIdRequest$1, GetCheckoutByCartIdResponse & GetCheckoutByCartIdResponseNonNullableFields, GetCheckoutByCartIdResponse$1 & GetCheckoutByCartIdResponseNonNullableFields$1>;
|
|
13752
|
-
declare function getCheckoutUrl(): __PublicMethodMetaInfo$
|
|
13752
|
+
declare function getCheckoutUrl(): __PublicMethodMetaInfo$d<'GET', {
|
|
13753
13753
|
id: string;
|
|
13754
13754
|
}, GetCheckoutURLRequest, GetCheckoutURLRequest$1, GetCheckoutURLResponse & GetCheckoutURLResponseNonNullableFields, GetCheckoutURLResponse$1 & GetCheckoutURLResponseNonNullableFields$1>;
|
|
13755
|
-
declare function updateCheckout(): __PublicMethodMetaInfo$
|
|
13755
|
+
declare function updateCheckout(): __PublicMethodMetaInfo$d<'PATCH', {
|
|
13756
13756
|
checkoutId: string;
|
|
13757
13757
|
}, UpdateCheckoutRequest, UpdateCheckoutRequest$1, UpdateCheckoutResponse & UpdateCheckoutResponseNonNullableFields, UpdateCheckoutResponse$1 & UpdateCheckoutResponseNonNullableFields$1>;
|
|
13758
|
-
declare function removeCoupon(): __PublicMethodMetaInfo$
|
|
13758
|
+
declare function removeCoupon(): __PublicMethodMetaInfo$d<'POST', {
|
|
13759
13759
|
id: string;
|
|
13760
13760
|
}, RemoveCouponRequest, RemoveCouponRequest$1, RemoveCouponResponse & RemoveCouponResponseNonNullableFields, RemoveCouponResponse$1 & RemoveCouponResponseNonNullableFields$1>;
|
|
13761
|
-
declare function removeGiftCard(): __PublicMethodMetaInfo$
|
|
13761
|
+
declare function removeGiftCard(): __PublicMethodMetaInfo$d<'POST', {
|
|
13762
13762
|
id: string;
|
|
13763
13763
|
}, RemoveGiftCardRequest, RemoveGiftCardRequest$1, RemoveGiftCardResponse & RemoveGiftCardResponseNonNullableFields, RemoveGiftCardResponse$1 & RemoveGiftCardResponseNonNullableFields$1>;
|
|
13764
|
-
declare function removeOverrideCheckoutUrl(): __PublicMethodMetaInfo$
|
|
13764
|
+
declare function removeOverrideCheckoutUrl(): __PublicMethodMetaInfo$d<'POST', {
|
|
13765
13765
|
id: string;
|
|
13766
13766
|
}, RemoveOverrideCheckoutUrlRequest, RemoveOverrideCheckoutUrlRequest$1, RemoveOverrideCheckoutUrlResponse & RemoveOverrideCheckoutUrlResponseNonNullableFields, RemoveOverrideCheckoutUrlResponse$1 & RemoveOverrideCheckoutUrlResponseNonNullableFields$1>;
|
|
13767
|
-
declare function addToCheckout(): __PublicMethodMetaInfo$
|
|
13767
|
+
declare function addToCheckout(): __PublicMethodMetaInfo$d<'POST', {
|
|
13768
13768
|
id: string;
|
|
13769
13769
|
}, AddToCheckoutRequest, AddToCheckoutRequest$1, AddToCheckoutResponse & AddToCheckoutResponseNonNullableFields, AddToCheckoutResponse$1 & AddToCheckoutResponseNonNullableFields$1>;
|
|
13770
|
-
declare function removeLineItems(): __PublicMethodMetaInfo$
|
|
13770
|
+
declare function removeLineItems(): __PublicMethodMetaInfo$d<'POST', {
|
|
13771
13771
|
id: string;
|
|
13772
13772
|
}, RemoveLineItemsRequest, RemoveLineItemsRequest$1, RemoveLineItemsResponse & RemoveLineItemsResponseNonNullableFields, RemoveLineItemsResponse$1 & RemoveLineItemsResponseNonNullableFields$1>;
|
|
13773
|
-
declare function createOrder$1(): __PublicMethodMetaInfo$
|
|
13773
|
+
declare function createOrder$1(): __PublicMethodMetaInfo$d<'POST', {
|
|
13774
13774
|
id: string;
|
|
13775
13775
|
}, CreateOrderRequest$2, CreateOrderRequest$3, CreateOrderResponse$2 & CreateOrderResponseNonNullableFields$2, CreateOrderResponse$3 & CreateOrderResponseNonNullableFields$3>;
|
|
13776
|
-
declare function markCheckoutAsCompleted(): __PublicMethodMetaInfo$
|
|
13776
|
+
declare function markCheckoutAsCompleted(): __PublicMethodMetaInfo$d<'POST', {
|
|
13777
13777
|
id: string;
|
|
13778
13778
|
}, MarkCheckoutAsCompletedRequest, MarkCheckoutAsCompletedRequest$1, MarkCheckoutAsCompletedResponse, MarkCheckoutAsCompletedResponse$1>;
|
|
13779
|
-
declare function updateLineItemsQuantity(): __PublicMethodMetaInfo$
|
|
13779
|
+
declare function updateLineItemsQuantity(): __PublicMethodMetaInfo$d<'POST', {
|
|
13780
13780
|
id: string;
|
|
13781
13781
|
}, UpdateLineItemsQuantityRequest, UpdateLineItemsQuantityRequest$1, UpdateLineItemsQuantityResponse & UpdateLineItemsQuantityResponseNonNullableFields, UpdateLineItemsQuantityResponse$1 & UpdateLineItemsQuantityResponseNonNullableFields$1>;
|
|
13782
13782
|
|
|
13783
|
-
declare const meta$
|
|
13784
|
-
declare const meta$
|
|
13785
|
-
declare const meta$
|
|
13786
|
-
declare const meta$
|
|
13787
|
-
declare const meta$
|
|
13788
|
-
declare const meta$
|
|
13789
|
-
declare const meta$
|
|
13790
|
-
declare const meta$
|
|
13791
|
-
declare const meta$
|
|
13792
|
-
declare const meta$
|
|
13793
|
-
declare const meta$
|
|
13794
|
-
declare const meta$
|
|
13795
|
-
declare namespace meta$
|
|
13796
|
-
export { type __PublicMethodMetaInfo$
|
|
13783
|
+
declare const meta$d_addToCheckout: typeof addToCheckout;
|
|
13784
|
+
declare const meta$d_createCheckout: typeof createCheckout;
|
|
13785
|
+
declare const meta$d_getCheckout: typeof getCheckout;
|
|
13786
|
+
declare const meta$d_getCheckoutByCartId: typeof getCheckoutByCartId;
|
|
13787
|
+
declare const meta$d_getCheckoutUrl: typeof getCheckoutUrl;
|
|
13788
|
+
declare const meta$d_markCheckoutAsCompleted: typeof markCheckoutAsCompleted;
|
|
13789
|
+
declare const meta$d_removeCoupon: typeof removeCoupon;
|
|
13790
|
+
declare const meta$d_removeGiftCard: typeof removeGiftCard;
|
|
13791
|
+
declare const meta$d_removeLineItems: typeof removeLineItems;
|
|
13792
|
+
declare const meta$d_removeOverrideCheckoutUrl: typeof removeOverrideCheckoutUrl;
|
|
13793
|
+
declare const meta$d_updateCheckout: typeof updateCheckout;
|
|
13794
|
+
declare const meta$d_updateLineItemsQuantity: typeof updateLineItemsQuantity;
|
|
13795
|
+
declare namespace meta$d {
|
|
13796
|
+
export { type __PublicMethodMetaInfo$d as __PublicMethodMetaInfo, meta$d_addToCheckout as addToCheckout, meta$d_createCheckout as createCheckout, createOrder$1 as createOrder, meta$d_getCheckout as getCheckout, meta$d_getCheckoutByCartId as getCheckoutByCartId, meta$d_getCheckoutUrl as getCheckoutUrl, meta$d_markCheckoutAsCompleted as markCheckoutAsCompleted, meta$d_removeCoupon as removeCoupon, meta$d_removeGiftCard as removeGiftCard, meta$d_removeLineItems as removeLineItems, meta$d_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, meta$d_updateCheckout as updateCheckout, meta$d_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
13797
13797
|
}
|
|
13798
13798
|
|
|
13799
13799
|
interface CheckoutSettings$1 {
|
|
@@ -14145,7 +14145,7 @@ interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
|
14145
14145
|
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
14146
14146
|
}
|
|
14147
14147
|
|
|
14148
|
-
type __PublicMethodMetaInfo$
|
|
14148
|
+
type __PublicMethodMetaInfo$c<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
14149
14149
|
getUrl: (context: any) => string;
|
|
14150
14150
|
httpMethod: K;
|
|
14151
14151
|
path: string;
|
|
@@ -14155,13 +14155,13 @@ type __PublicMethodMetaInfo$b<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
14155
14155
|
__responseType: Q;
|
|
14156
14156
|
__originalResponseType: R;
|
|
14157
14157
|
};
|
|
14158
|
-
declare function getCheckoutSettings(): __PublicMethodMetaInfo$
|
|
14159
|
-
declare function updateCheckoutSettings(): __PublicMethodMetaInfo$
|
|
14158
|
+
declare function getCheckoutSettings(): __PublicMethodMetaInfo$c<'GET', {}, GetCheckoutSettingsRequest, GetCheckoutSettingsRequest$1, GetCheckoutSettingsResponse & GetCheckoutSettingsResponseNonNullableFields, GetCheckoutSettingsResponse$1 & GetCheckoutSettingsResponseNonNullableFields$1>;
|
|
14159
|
+
declare function updateCheckoutSettings(): __PublicMethodMetaInfo$c<'PATCH', {}, UpdateCheckoutSettingsRequest, UpdateCheckoutSettingsRequest$1, UpdateCheckoutSettingsResponse & UpdateCheckoutSettingsResponseNonNullableFields, UpdateCheckoutSettingsResponse$1 & UpdateCheckoutSettingsResponseNonNullableFields$1>;
|
|
14160
14160
|
|
|
14161
|
-
declare const meta$
|
|
14162
|
-
declare const meta$
|
|
14163
|
-
declare namespace meta$
|
|
14164
|
-
export { type __PublicMethodMetaInfo$
|
|
14161
|
+
declare const meta$c_getCheckoutSettings: typeof getCheckoutSettings;
|
|
14162
|
+
declare const meta$c_updateCheckoutSettings: typeof updateCheckoutSettings;
|
|
14163
|
+
declare namespace meta$c {
|
|
14164
|
+
export { type __PublicMethodMetaInfo$c as __PublicMethodMetaInfo, meta$c_getCheckoutSettings as getCheckoutSettings, meta$c_updateCheckoutSettings as updateCheckoutSettings };
|
|
14165
14165
|
}
|
|
14166
14166
|
|
|
14167
14167
|
interface CheckoutTemplate$1 {
|
|
@@ -14345,11 +14345,11 @@ interface DeleteCheckoutTemplateResponse$1 {
|
|
|
14345
14345
|
}
|
|
14346
14346
|
interface QueryCheckoutTemplatesRequest$1 {
|
|
14347
14347
|
/** Query options. */
|
|
14348
|
-
query?: CursorQuery$
|
|
14348
|
+
query?: CursorQuery$9;
|
|
14349
14349
|
}
|
|
14350
|
-
interface CursorQuery$
|
|
14350
|
+
interface CursorQuery$9 extends CursorQueryPagingMethodOneOf$9 {
|
|
14351
14351
|
/** 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`. */
|
|
14352
|
-
cursorPaging?: CursorPaging$
|
|
14352
|
+
cursorPaging?: CursorPaging$d;
|
|
14353
14353
|
/**
|
|
14354
14354
|
* Filter object in the following format:
|
|
14355
14355
|
* `"filter" : {
|
|
@@ -14364,24 +14364,24 @@ interface CursorQuery$7 extends CursorQueryPagingMethodOneOf$7 {
|
|
|
14364
14364
|
* Sort object in the following format:
|
|
14365
14365
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
14366
14366
|
*/
|
|
14367
|
-
sort?: Sorting$
|
|
14367
|
+
sort?: Sorting$d[];
|
|
14368
14368
|
}
|
|
14369
14369
|
/** @oneof */
|
|
14370
|
-
interface CursorQueryPagingMethodOneOf$
|
|
14370
|
+
interface CursorQueryPagingMethodOneOf$9 {
|
|
14371
14371
|
/** 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`. */
|
|
14372
|
-
cursorPaging?: CursorPaging$
|
|
14372
|
+
cursorPaging?: CursorPaging$d;
|
|
14373
14373
|
}
|
|
14374
|
-
interface Sorting$
|
|
14374
|
+
interface Sorting$d {
|
|
14375
14375
|
/** Name of the field to sort by. */
|
|
14376
14376
|
fieldName?: string;
|
|
14377
14377
|
/** Sort order. */
|
|
14378
|
-
order?: SortOrder$
|
|
14378
|
+
order?: SortOrder$d;
|
|
14379
14379
|
}
|
|
14380
|
-
declare enum SortOrder$
|
|
14380
|
+
declare enum SortOrder$d {
|
|
14381
14381
|
ASC = "ASC",
|
|
14382
14382
|
DESC = "DESC"
|
|
14383
14383
|
}
|
|
14384
|
-
interface CursorPaging$
|
|
14384
|
+
interface CursorPaging$d {
|
|
14385
14385
|
/** Number of items to load. */
|
|
14386
14386
|
limit?: number | null;
|
|
14387
14387
|
/**
|
|
@@ -14397,13 +14397,13 @@ interface QueryCheckoutTemplatesResponse$1 {
|
|
|
14397
14397
|
/** Retrieved checkout templates. */
|
|
14398
14398
|
checkoutTemplates?: CheckoutTemplate$1[];
|
|
14399
14399
|
/** Paging metadata. */
|
|
14400
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
14400
|
+
pagingMetadata?: CursorPagingMetadata$d;
|
|
14401
14401
|
}
|
|
14402
|
-
interface CursorPagingMetadata$
|
|
14402
|
+
interface CursorPagingMetadata$d {
|
|
14403
14403
|
/** Number of items returned in the response. */
|
|
14404
14404
|
count?: number | null;
|
|
14405
14405
|
/** Offset that was requested. */
|
|
14406
|
-
cursors?: Cursors$
|
|
14406
|
+
cursors?: Cursors$d;
|
|
14407
14407
|
/**
|
|
14408
14408
|
* Indicates if there are more results after the current page.
|
|
14409
14409
|
* If `true`, another page of results can be retrieved.
|
|
@@ -14411,7 +14411,7 @@ interface CursorPagingMetadata$b {
|
|
|
14411
14411
|
*/
|
|
14412
14412
|
hasNext?: boolean | null;
|
|
14413
14413
|
}
|
|
14414
|
-
interface Cursors$
|
|
14414
|
+
interface Cursors$d {
|
|
14415
14415
|
/** Cursor pointing to next page in the list of results. */
|
|
14416
14416
|
next?: string | null;
|
|
14417
14417
|
/** Cursor pointing to previous page in the list of results. */
|
|
@@ -14765,11 +14765,11 @@ interface DeleteCheckoutTemplateResponse {
|
|
|
14765
14765
|
}
|
|
14766
14766
|
interface QueryCheckoutTemplatesRequest {
|
|
14767
14767
|
/** Query options. */
|
|
14768
|
-
query?: CursorQuery$
|
|
14768
|
+
query?: CursorQuery$8;
|
|
14769
14769
|
}
|
|
14770
|
-
interface CursorQuery$
|
|
14770
|
+
interface CursorQuery$8 extends CursorQueryPagingMethodOneOf$8 {
|
|
14771
14771
|
/** 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`. */
|
|
14772
|
-
cursorPaging?: CursorPaging$
|
|
14772
|
+
cursorPaging?: CursorPaging$c;
|
|
14773
14773
|
/**
|
|
14774
14774
|
* Filter object in the following format:
|
|
14775
14775
|
* `"filter" : {
|
|
@@ -14784,24 +14784,24 @@ interface CursorQuery$6 extends CursorQueryPagingMethodOneOf$6 {
|
|
|
14784
14784
|
* Sort object in the following format:
|
|
14785
14785
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
14786
14786
|
*/
|
|
14787
|
-
sort?: Sorting$
|
|
14787
|
+
sort?: Sorting$c[];
|
|
14788
14788
|
}
|
|
14789
14789
|
/** @oneof */
|
|
14790
|
-
interface CursorQueryPagingMethodOneOf$
|
|
14790
|
+
interface CursorQueryPagingMethodOneOf$8 {
|
|
14791
14791
|
/** 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`. */
|
|
14792
|
-
cursorPaging?: CursorPaging$
|
|
14792
|
+
cursorPaging?: CursorPaging$c;
|
|
14793
14793
|
}
|
|
14794
|
-
interface Sorting$
|
|
14794
|
+
interface Sorting$c {
|
|
14795
14795
|
/** Name of the field to sort by. */
|
|
14796
14796
|
fieldName?: string;
|
|
14797
14797
|
/** Sort order. */
|
|
14798
|
-
order?: SortOrder$
|
|
14798
|
+
order?: SortOrder$c;
|
|
14799
14799
|
}
|
|
14800
|
-
declare enum SortOrder$
|
|
14800
|
+
declare enum SortOrder$c {
|
|
14801
14801
|
ASC = "ASC",
|
|
14802
14802
|
DESC = "DESC"
|
|
14803
14803
|
}
|
|
14804
|
-
interface CursorPaging$
|
|
14804
|
+
interface CursorPaging$c {
|
|
14805
14805
|
/** Number of items to load. */
|
|
14806
14806
|
limit?: number | null;
|
|
14807
14807
|
/**
|
|
@@ -14817,13 +14817,13 @@ interface QueryCheckoutTemplatesResponse {
|
|
|
14817
14817
|
/** Retrieved checkout templates. */
|
|
14818
14818
|
checkoutTemplates?: CheckoutTemplate[];
|
|
14819
14819
|
/** Paging metadata. */
|
|
14820
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
14820
|
+
pagingMetadata?: CursorPagingMetadata$c;
|
|
14821
14821
|
}
|
|
14822
|
-
interface CursorPagingMetadata$
|
|
14822
|
+
interface CursorPagingMetadata$c {
|
|
14823
14823
|
/** Number of items returned in the response. */
|
|
14824
14824
|
count?: number | null;
|
|
14825
14825
|
/** Offset that was requested. */
|
|
14826
|
-
cursors?: Cursors$
|
|
14826
|
+
cursors?: Cursors$c;
|
|
14827
14827
|
/**
|
|
14828
14828
|
* Indicates if there are more results after the current page.
|
|
14829
14829
|
* If `true`, another page of results can be retrieved.
|
|
@@ -14831,7 +14831,7 @@ interface CursorPagingMetadata$a {
|
|
|
14831
14831
|
*/
|
|
14832
14832
|
hasNext?: boolean | null;
|
|
14833
14833
|
}
|
|
14834
|
-
interface Cursors$
|
|
14834
|
+
interface Cursors$c {
|
|
14835
14835
|
/** Cursor pointing to next page in the list of results. */
|
|
14836
14836
|
next?: string | null;
|
|
14837
14837
|
/** Cursor pointing to previous page in the list of results. */
|
|
@@ -14996,7 +14996,7 @@ interface RawHttpResponseNonNullableFields {
|
|
|
14996
14996
|
headers: HeadersEntryNonNullableFields[];
|
|
14997
14997
|
}
|
|
14998
14998
|
|
|
14999
|
-
type __PublicMethodMetaInfo$
|
|
14999
|
+
type __PublicMethodMetaInfo$b<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
15000
15000
|
getUrl: (context: any) => string;
|
|
15001
15001
|
httpMethod: K;
|
|
15002
15002
|
path: string;
|
|
@@ -15006,33 +15006,33 @@ type __PublicMethodMetaInfo$a<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
15006
15006
|
__responseType: Q;
|
|
15007
15007
|
__originalResponseType: R;
|
|
15008
15008
|
};
|
|
15009
|
-
declare function createCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
15010
|
-
declare function getCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
15009
|
+
declare function createCheckoutTemplate(): __PublicMethodMetaInfo$b<'POST', {}, CreateCheckoutTemplateRequest, CreateCheckoutTemplateRequest$1, CreateCheckoutTemplateResponse & CreateCheckoutTemplateResponseNonNullableFields, CreateCheckoutTemplateResponse$1 & CreateCheckoutTemplateResponseNonNullableFields$1>;
|
|
15010
|
+
declare function getCheckoutTemplate(): __PublicMethodMetaInfo$b<'GET', {
|
|
15011
15011
|
checkoutTemplateId: string;
|
|
15012
15012
|
}, GetCheckoutTemplateRequest, GetCheckoutTemplateRequest$1, GetCheckoutTemplateResponse & GetCheckoutTemplateResponseNonNullableFields, GetCheckoutTemplateResponse$1 & GetCheckoutTemplateResponseNonNullableFields$1>;
|
|
15013
|
-
declare function updateCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
15013
|
+
declare function updateCheckoutTemplate(): __PublicMethodMetaInfo$b<'PATCH', {
|
|
15014
15014
|
checkoutTemplateId: string;
|
|
15015
15015
|
}, UpdateCheckoutTemplateRequest, UpdateCheckoutTemplateRequest$1, UpdateCheckoutTemplateResponse & UpdateCheckoutTemplateResponseNonNullableFields, UpdateCheckoutTemplateResponse$1 & UpdateCheckoutTemplateResponseNonNullableFields$1>;
|
|
15016
|
-
declare function deleteCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
15016
|
+
declare function deleteCheckoutTemplate(): __PublicMethodMetaInfo$b<'DELETE', {
|
|
15017
15017
|
checkoutTemplateId: string;
|
|
15018
15018
|
}, DeleteCheckoutTemplateRequest, DeleteCheckoutTemplateRequest$1, DeleteCheckoutTemplateResponse, DeleteCheckoutTemplateResponse$1>;
|
|
15019
|
-
declare function queryCheckoutTemplates(): __PublicMethodMetaInfo$
|
|
15020
|
-
declare function createCheckoutFromTemplate(): __PublicMethodMetaInfo$
|
|
15019
|
+
declare function queryCheckoutTemplates(): __PublicMethodMetaInfo$b<'POST', {}, QueryCheckoutTemplatesRequest, QueryCheckoutTemplatesRequest$1, QueryCheckoutTemplatesResponse & QueryCheckoutTemplatesResponseNonNullableFields, QueryCheckoutTemplatesResponse$1 & QueryCheckoutTemplatesResponseNonNullableFields$1>;
|
|
15020
|
+
declare function createCheckoutFromTemplate(): __PublicMethodMetaInfo$b<'POST', {
|
|
15021
15021
|
checkoutTemplateId: string;
|
|
15022
15022
|
}, CreateCheckoutFromTemplateRequest, CreateCheckoutFromTemplateRequest$1, CreateCheckoutFromTemplateResponse & CreateCheckoutFromTemplateResponseNonNullableFields, CreateCheckoutFromTemplateResponse$1 & CreateCheckoutFromTemplateResponseNonNullableFields$1>;
|
|
15023
|
-
declare function createAndRedirectToCheckout(): __PublicMethodMetaInfo$
|
|
15023
|
+
declare function createAndRedirectToCheckout(): __PublicMethodMetaInfo$b<'GET', {
|
|
15024
15024
|
checkoutTemplateId: string;
|
|
15025
15025
|
}, CreateAndRedirectToCheckoutRequest, CreateAndRedirectToCheckoutRequest$1, RawHttpResponse & RawHttpResponseNonNullableFields, RawHttpResponse$1 & RawHttpResponseNonNullableFields$1>;
|
|
15026
15026
|
|
|
15027
|
-
declare const meta$
|
|
15028
|
-
declare const meta$
|
|
15029
|
-
declare const meta$
|
|
15030
|
-
declare const meta$
|
|
15031
|
-
declare const meta$
|
|
15032
|
-
declare const meta$
|
|
15033
|
-
declare const meta$
|
|
15034
|
-
declare namespace meta$
|
|
15035
|
-
export { type __PublicMethodMetaInfo$
|
|
15027
|
+
declare const meta$b_createAndRedirectToCheckout: typeof createAndRedirectToCheckout;
|
|
15028
|
+
declare const meta$b_createCheckoutFromTemplate: typeof createCheckoutFromTemplate;
|
|
15029
|
+
declare const meta$b_createCheckoutTemplate: typeof createCheckoutTemplate;
|
|
15030
|
+
declare const meta$b_deleteCheckoutTemplate: typeof deleteCheckoutTemplate;
|
|
15031
|
+
declare const meta$b_getCheckoutTemplate: typeof getCheckoutTemplate;
|
|
15032
|
+
declare const meta$b_queryCheckoutTemplates: typeof queryCheckoutTemplates;
|
|
15033
|
+
declare const meta$b_updateCheckoutTemplate: typeof updateCheckoutTemplate;
|
|
15034
|
+
declare namespace meta$b {
|
|
15035
|
+
export { type __PublicMethodMetaInfo$b as __PublicMethodMetaInfo, meta$b_createAndRedirectToCheckout as createAndRedirectToCheckout, meta$b_createCheckoutFromTemplate as createCheckoutFromTemplate, meta$b_createCheckoutTemplate as createCheckoutTemplate, meta$b_deleteCheckoutTemplate as deleteCheckoutTemplate, meta$b_getCheckoutTemplate as getCheckoutTemplate, meta$b_queryCheckoutTemplates as queryCheckoutTemplates, meta$b_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
15036
15036
|
}
|
|
15037
15037
|
|
|
15038
15038
|
/**
|
|
@@ -15072,7 +15072,7 @@ interface DeliveryProfile$1 {
|
|
|
15072
15072
|
*/
|
|
15073
15073
|
updatedDate?: Date;
|
|
15074
15074
|
/** Extended fields. */
|
|
15075
|
-
extendedFields?: ExtendedFields$
|
|
15075
|
+
extendedFields?: ExtendedFields$9;
|
|
15076
15076
|
}
|
|
15077
15077
|
/** DeliveryRegion can be used to config a Delivery Destinations with its providers */
|
|
15078
15078
|
interface DeliveryRegion$1 {
|
|
@@ -15135,7 +15135,7 @@ interface Destination$3 {
|
|
|
15135
15135
|
*/
|
|
15136
15136
|
subdivisions?: string[];
|
|
15137
15137
|
}
|
|
15138
|
-
interface ExtendedFields$
|
|
15138
|
+
interface ExtendedFields$9 {
|
|
15139
15139
|
/**
|
|
15140
15140
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
15141
15141
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -15178,11 +15178,11 @@ interface DeleteDeliveryProfileResponse$1 {
|
|
|
15178
15178
|
}
|
|
15179
15179
|
interface QueryDeliveryProfilesRequest$1 {
|
|
15180
15180
|
/** WQL expression. */
|
|
15181
|
-
query?: CursorQuery$
|
|
15181
|
+
query?: CursorQuery$7;
|
|
15182
15182
|
}
|
|
15183
|
-
interface CursorQuery$
|
|
15183
|
+
interface CursorQuery$7 extends CursorQueryPagingMethodOneOf$7 {
|
|
15184
15184
|
/** 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`. */
|
|
15185
|
-
cursorPaging?: CursorPaging$
|
|
15185
|
+
cursorPaging?: CursorPaging$b;
|
|
15186
15186
|
/**
|
|
15187
15187
|
* Filter object in the following format:
|
|
15188
15188
|
* `"filter" : {
|
|
@@ -15196,24 +15196,24 @@ interface CursorQuery$5 extends CursorQueryPagingMethodOneOf$5 {
|
|
|
15196
15196
|
* Sort object in the following format:
|
|
15197
15197
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
15198
15198
|
*/
|
|
15199
|
-
sort?: Sorting$
|
|
15199
|
+
sort?: Sorting$b[];
|
|
15200
15200
|
}
|
|
15201
15201
|
/** @oneof */
|
|
15202
|
-
interface CursorQueryPagingMethodOneOf$
|
|
15202
|
+
interface CursorQueryPagingMethodOneOf$7 {
|
|
15203
15203
|
/** 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`. */
|
|
15204
|
-
cursorPaging?: CursorPaging$
|
|
15204
|
+
cursorPaging?: CursorPaging$b;
|
|
15205
15205
|
}
|
|
15206
|
-
interface Sorting$
|
|
15206
|
+
interface Sorting$b {
|
|
15207
15207
|
/** Name of the field to sort by. */
|
|
15208
15208
|
fieldName?: string;
|
|
15209
15209
|
/** Sort order. */
|
|
15210
|
-
order?: SortOrder$
|
|
15210
|
+
order?: SortOrder$b;
|
|
15211
15211
|
}
|
|
15212
|
-
declare enum SortOrder$
|
|
15212
|
+
declare enum SortOrder$b {
|
|
15213
15213
|
ASC = "ASC",
|
|
15214
15214
|
DESC = "DESC"
|
|
15215
15215
|
}
|
|
15216
|
-
interface CursorPaging$
|
|
15216
|
+
interface CursorPaging$b {
|
|
15217
15217
|
/** Maximum number of items to return in the results. */
|
|
15218
15218
|
limit?: number | null;
|
|
15219
15219
|
/**
|
|
@@ -15228,13 +15228,13 @@ interface QueryDeliveryProfilesResponse$1 {
|
|
|
15228
15228
|
/** List of DeliveryProfiles. */
|
|
15229
15229
|
deliveryProfiles?: DeliveryProfile$1[];
|
|
15230
15230
|
/** Paging metadata */
|
|
15231
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
15231
|
+
pagingMetadata?: CursorPagingMetadata$b;
|
|
15232
15232
|
}
|
|
15233
|
-
interface CursorPagingMetadata$
|
|
15233
|
+
interface CursorPagingMetadata$b {
|
|
15234
15234
|
/** Number of items returned in the response. */
|
|
15235
15235
|
count?: number | null;
|
|
15236
15236
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
15237
|
-
cursors?: Cursors$
|
|
15237
|
+
cursors?: Cursors$b;
|
|
15238
15238
|
/**
|
|
15239
15239
|
* Whether there are more pages to retrieve following the current page.
|
|
15240
15240
|
*
|
|
@@ -15243,7 +15243,7 @@ interface CursorPagingMetadata$9 {
|
|
|
15243
15243
|
*/
|
|
15244
15244
|
hasNext?: boolean | null;
|
|
15245
15245
|
}
|
|
15246
|
-
interface Cursors$
|
|
15246
|
+
interface Cursors$b {
|
|
15247
15247
|
/** Cursor string pointing to the next page in the list of results. */
|
|
15248
15248
|
next?: string | null;
|
|
15249
15249
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -15421,7 +15421,7 @@ interface BulkActionMetadata$7 {
|
|
|
15421
15421
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
15422
15422
|
undetailedFailures?: number;
|
|
15423
15423
|
}
|
|
15424
|
-
interface UpdateExtendedFieldsRequest$
|
|
15424
|
+
interface UpdateExtendedFieldsRequest$5 {
|
|
15425
15425
|
/** ID of the entity to update. */
|
|
15426
15426
|
id: string;
|
|
15427
15427
|
/** Identifier for the app whose extended fields are being updated. */
|
|
@@ -15429,7 +15429,7 @@ interface UpdateExtendedFieldsRequest$3 {
|
|
|
15429
15429
|
/** 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. */
|
|
15430
15430
|
namespaceData: Record<string, any> | null;
|
|
15431
15431
|
}
|
|
15432
|
-
interface UpdateExtendedFieldsResponse$
|
|
15432
|
+
interface UpdateExtendedFieldsResponse$5 {
|
|
15433
15433
|
/** Updated DeliveryProfile. */
|
|
15434
15434
|
deliveryProfile?: DeliveryProfile$1;
|
|
15435
15435
|
}
|
|
@@ -15528,7 +15528,7 @@ interface ListDeliveryCarriersResponseNonNullableFields$1 {
|
|
|
15528
15528
|
results: ListDeliveryCarriersResultNonNullableFields$1[];
|
|
15529
15529
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$7;
|
|
15530
15530
|
}
|
|
15531
|
-
interface UpdateExtendedFieldsResponseNonNullableFields$
|
|
15531
|
+
interface UpdateExtendedFieldsResponseNonNullableFields$5 {
|
|
15532
15532
|
deliveryProfile?: DeliveryProfileNonNullableFields$1;
|
|
15533
15533
|
}
|
|
15534
15534
|
|
|
@@ -15569,7 +15569,7 @@ interface DeliveryProfile {
|
|
|
15569
15569
|
*/
|
|
15570
15570
|
_updatedDate?: Date;
|
|
15571
15571
|
/** Extended fields. */
|
|
15572
|
-
extendedFields?: ExtendedFields$
|
|
15572
|
+
extendedFields?: ExtendedFields$8;
|
|
15573
15573
|
}
|
|
15574
15574
|
/** DeliveryRegion can be used to config a Delivery Destinations with its providers */
|
|
15575
15575
|
interface DeliveryRegion {
|
|
@@ -15632,7 +15632,7 @@ interface Destination$2 {
|
|
|
15632
15632
|
*/
|
|
15633
15633
|
subdivisions?: string[];
|
|
15634
15634
|
}
|
|
15635
|
-
interface ExtendedFields$
|
|
15635
|
+
interface ExtendedFields$8 {
|
|
15636
15636
|
/**
|
|
15637
15637
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
15638
15638
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -15675,11 +15675,11 @@ interface DeleteDeliveryProfileResponse {
|
|
|
15675
15675
|
}
|
|
15676
15676
|
interface QueryDeliveryProfilesRequest {
|
|
15677
15677
|
/** WQL expression. */
|
|
15678
|
-
query?: CursorQuery$
|
|
15678
|
+
query?: CursorQuery$6;
|
|
15679
15679
|
}
|
|
15680
|
-
interface CursorQuery$
|
|
15680
|
+
interface CursorQuery$6 extends CursorQueryPagingMethodOneOf$6 {
|
|
15681
15681
|
/** 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`. */
|
|
15682
|
-
cursorPaging?: CursorPaging$
|
|
15682
|
+
cursorPaging?: CursorPaging$a;
|
|
15683
15683
|
/**
|
|
15684
15684
|
* Filter object in the following format:
|
|
15685
15685
|
* `"filter" : {
|
|
@@ -15693,24 +15693,24 @@ interface CursorQuery$4 extends CursorQueryPagingMethodOneOf$4 {
|
|
|
15693
15693
|
* Sort object in the following format:
|
|
15694
15694
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
15695
15695
|
*/
|
|
15696
|
-
sort?: Sorting$
|
|
15696
|
+
sort?: Sorting$a[];
|
|
15697
15697
|
}
|
|
15698
15698
|
/** @oneof */
|
|
15699
|
-
interface CursorQueryPagingMethodOneOf$
|
|
15699
|
+
interface CursorQueryPagingMethodOneOf$6 {
|
|
15700
15700
|
/** 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`. */
|
|
15701
|
-
cursorPaging?: CursorPaging$
|
|
15701
|
+
cursorPaging?: CursorPaging$a;
|
|
15702
15702
|
}
|
|
15703
|
-
interface Sorting$
|
|
15703
|
+
interface Sorting$a {
|
|
15704
15704
|
/** Name of the field to sort by. */
|
|
15705
15705
|
fieldName?: string;
|
|
15706
15706
|
/** Sort order. */
|
|
15707
|
-
order?: SortOrder$
|
|
15707
|
+
order?: SortOrder$a;
|
|
15708
15708
|
}
|
|
15709
|
-
declare enum SortOrder$
|
|
15709
|
+
declare enum SortOrder$a {
|
|
15710
15710
|
ASC = "ASC",
|
|
15711
15711
|
DESC = "DESC"
|
|
15712
15712
|
}
|
|
15713
|
-
interface CursorPaging$
|
|
15713
|
+
interface CursorPaging$a {
|
|
15714
15714
|
/** Maximum number of items to return in the results. */
|
|
15715
15715
|
limit?: number | null;
|
|
15716
15716
|
/**
|
|
@@ -15725,13 +15725,13 @@ interface QueryDeliveryProfilesResponse {
|
|
|
15725
15725
|
/** List of DeliveryProfiles. */
|
|
15726
15726
|
deliveryProfiles?: DeliveryProfile[];
|
|
15727
15727
|
/** Paging metadata */
|
|
15728
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
15728
|
+
pagingMetadata?: CursorPagingMetadata$a;
|
|
15729
15729
|
}
|
|
15730
|
-
interface CursorPagingMetadata$
|
|
15730
|
+
interface CursorPagingMetadata$a {
|
|
15731
15731
|
/** Number of items returned in the response. */
|
|
15732
15732
|
count?: number | null;
|
|
15733
15733
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
15734
|
-
cursors?: Cursors$
|
|
15734
|
+
cursors?: Cursors$a;
|
|
15735
15735
|
/**
|
|
15736
15736
|
* Whether there are more pages to retrieve following the current page.
|
|
15737
15737
|
*
|
|
@@ -15740,7 +15740,7 @@ interface CursorPagingMetadata$8 {
|
|
|
15740
15740
|
*/
|
|
15741
15741
|
hasNext?: boolean | null;
|
|
15742
15742
|
}
|
|
15743
|
-
interface Cursors$
|
|
15743
|
+
interface Cursors$a {
|
|
15744
15744
|
/** Cursor string pointing to the next page in the list of results. */
|
|
15745
15745
|
next?: string | null;
|
|
15746
15746
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -15918,7 +15918,7 @@ interface BulkActionMetadata$6 {
|
|
|
15918
15918
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
15919
15919
|
undetailedFailures?: number;
|
|
15920
15920
|
}
|
|
15921
|
-
interface UpdateExtendedFieldsRequest$
|
|
15921
|
+
interface UpdateExtendedFieldsRequest$4 {
|
|
15922
15922
|
/** ID of the entity to update. */
|
|
15923
15923
|
_id: string;
|
|
15924
15924
|
/** Identifier for the app whose extended fields are being updated. */
|
|
@@ -15926,7 +15926,7 @@ interface UpdateExtendedFieldsRequest$2 {
|
|
|
15926
15926
|
/** 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. */
|
|
15927
15927
|
namespaceData: Record<string, any> | null;
|
|
15928
15928
|
}
|
|
15929
|
-
interface UpdateExtendedFieldsResponse$
|
|
15929
|
+
interface UpdateExtendedFieldsResponse$4 {
|
|
15930
15930
|
/** Updated DeliveryProfile. */
|
|
15931
15931
|
deliveryProfile?: DeliveryProfile;
|
|
15932
15932
|
}
|
|
@@ -16025,11 +16025,11 @@ interface ListDeliveryCarriersResponseNonNullableFields {
|
|
|
16025
16025
|
results: ListDeliveryCarriersResultNonNullableFields[];
|
|
16026
16026
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$6;
|
|
16027
16027
|
}
|
|
16028
|
-
interface UpdateExtendedFieldsResponseNonNullableFields$
|
|
16028
|
+
interface UpdateExtendedFieldsResponseNonNullableFields$4 {
|
|
16029
16029
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
16030
16030
|
}
|
|
16031
16031
|
|
|
16032
|
-
type __PublicMethodMetaInfo$
|
|
16032
|
+
type __PublicMethodMetaInfo$a<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
16033
16033
|
getUrl: (context: any) => string;
|
|
16034
16034
|
httpMethod: K;
|
|
16035
16035
|
path: string;
|
|
@@ -16039,54 +16039,54 @@ type __PublicMethodMetaInfo$9<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
16039
16039
|
__responseType: Q;
|
|
16040
16040
|
__originalResponseType: R;
|
|
16041
16041
|
};
|
|
16042
|
-
declare function createDeliveryProfile(): __PublicMethodMetaInfo$
|
|
16043
|
-
declare function getDeliveryProfile(): __PublicMethodMetaInfo$
|
|
16042
|
+
declare function createDeliveryProfile(): __PublicMethodMetaInfo$a<'POST', {}, CreateDeliveryProfileRequest, CreateDeliveryProfileRequest$1, CreateDeliveryProfileResponse & CreateDeliveryProfileResponseNonNullableFields, CreateDeliveryProfileResponse$1 & CreateDeliveryProfileResponseNonNullableFields$1>;
|
|
16043
|
+
declare function getDeliveryProfile(): __PublicMethodMetaInfo$a<'GET', {
|
|
16044
16044
|
deliveryProfileId: string;
|
|
16045
16045
|
}, GetDeliveryProfileRequest, GetDeliveryProfileRequest$1, GetDeliveryProfileResponse & GetDeliveryProfileResponseNonNullableFields, GetDeliveryProfileResponse$1 & GetDeliveryProfileResponseNonNullableFields$1>;
|
|
16046
|
-
declare function updateDeliveryProfile(): __PublicMethodMetaInfo$
|
|
16046
|
+
declare function updateDeliveryProfile(): __PublicMethodMetaInfo$a<'PATCH', {
|
|
16047
16047
|
deliveryProfileId: string;
|
|
16048
16048
|
}, UpdateDeliveryProfileRequest, UpdateDeliveryProfileRequest$1, UpdateDeliveryProfileResponse & UpdateDeliveryProfileResponseNonNullableFields, UpdateDeliveryProfileResponse$1 & UpdateDeliveryProfileResponseNonNullableFields$1>;
|
|
16049
|
-
declare function deleteDeliveryProfile(): __PublicMethodMetaInfo$
|
|
16049
|
+
declare function deleteDeliveryProfile(): __PublicMethodMetaInfo$a<'DELETE', {
|
|
16050
16050
|
deliveryProfileId: string;
|
|
16051
16051
|
}, DeleteDeliveryProfileRequest, DeleteDeliveryProfileRequest$1, DeleteDeliveryProfileResponse, DeleteDeliveryProfileResponse$1>;
|
|
16052
|
-
declare function queryDeliveryProfiles(): __PublicMethodMetaInfo$
|
|
16053
|
-
declare function addDeliveryRegion(): __PublicMethodMetaInfo$
|
|
16052
|
+
declare function queryDeliveryProfiles(): __PublicMethodMetaInfo$a<'GET', {}, QueryDeliveryProfilesRequest, QueryDeliveryProfilesRequest$1, QueryDeliveryProfilesResponse & QueryDeliveryProfilesResponseNonNullableFields, QueryDeliveryProfilesResponse$1 & QueryDeliveryProfilesResponseNonNullableFields$1>;
|
|
16053
|
+
declare function addDeliveryRegion(): __PublicMethodMetaInfo$a<'POST', {
|
|
16054
16054
|
deliveryProfileId: string;
|
|
16055
16055
|
}, AddDeliveryRegionRequest, AddDeliveryRegionRequest$1, AddDeliveryRegionResponse & AddDeliveryRegionResponseNonNullableFields, AddDeliveryRegionResponse$1 & AddDeliveryRegionResponseNonNullableFields$1>;
|
|
16056
|
-
declare function updateDeliveryRegion(): __PublicMethodMetaInfo$
|
|
16056
|
+
declare function updateDeliveryRegion(): __PublicMethodMetaInfo$a<'PATCH', {
|
|
16057
16057
|
deliveryProfileId: string;
|
|
16058
16058
|
deliveryRegionId: string;
|
|
16059
16059
|
}, UpdateDeliveryRegionRequest, UpdateDeliveryRegionRequest$1, UpdateDeliveryRegionResponse & UpdateDeliveryRegionResponseNonNullableFields, UpdateDeliveryRegionResponse$1 & UpdateDeliveryRegionResponseNonNullableFields$1>;
|
|
16060
|
-
declare function removeDeliveryRegion(): __PublicMethodMetaInfo$
|
|
16060
|
+
declare function removeDeliveryRegion(): __PublicMethodMetaInfo$a<'DELETE', {
|
|
16061
16061
|
deliveryProfileId: string;
|
|
16062
16062
|
deliveryRegionId: string;
|
|
16063
16063
|
}, RemoveDeliveryRegionRequest, RemoveDeliveryRegionRequest$1, RemoveDeliveryRegionResponse & RemoveDeliveryRegionResponseNonNullableFields, RemoveDeliveryRegionResponse$1 & RemoveDeliveryRegionResponseNonNullableFields$1>;
|
|
16064
|
-
declare function addDeliveryCarrier(): __PublicMethodMetaInfo$
|
|
16065
|
-
declare function removeDeliveryCarrier(): __PublicMethodMetaInfo$
|
|
16066
|
-
declare function updateDeliveryCarrier(): __PublicMethodMetaInfo$
|
|
16067
|
-
declare function listDeliveryCarrierDetails(): __PublicMethodMetaInfo$
|
|
16068
|
-
declare function listDeliveryCarriers(): __PublicMethodMetaInfo$
|
|
16064
|
+
declare function addDeliveryCarrier(): __PublicMethodMetaInfo$a<'POST', {}, AddDeliveryCarrierRequest, AddDeliveryCarrierRequest$1, AddDeliveryCarrierResponse & AddDeliveryCarrierResponseNonNullableFields, AddDeliveryCarrierResponse$1 & AddDeliveryCarrierResponseNonNullableFields$1>;
|
|
16065
|
+
declare function removeDeliveryCarrier(): __PublicMethodMetaInfo$a<'POST', {}, RemoveDeliveryCarrierRequest, RemoveDeliveryCarrierRequest$1, RemoveDeliveryCarrierResponse & RemoveDeliveryCarrierResponseNonNullableFields, RemoveDeliveryCarrierResponse$1 & RemoveDeliveryCarrierResponseNonNullableFields$1>;
|
|
16066
|
+
declare function updateDeliveryCarrier(): __PublicMethodMetaInfo$a<'PATCH', {}, UpdateDeliveryCarrierRequest, UpdateDeliveryCarrierRequest$1, UpdateDeliveryCarrierResponse & UpdateDeliveryCarrierResponseNonNullableFields, UpdateDeliveryCarrierResponse$1 & UpdateDeliveryCarrierResponseNonNullableFields$1>;
|
|
16067
|
+
declare function listDeliveryCarrierDetails(): __PublicMethodMetaInfo$a<'GET', {}, ListDeliveryCarrierDetailsRequest, ListDeliveryCarrierDetailsRequest$1, ListDeliveryCarrierDetailsResponse & ListDeliveryCarrierDetailsResponseNonNullableFields, ListDeliveryCarrierDetailsResponse$1 & ListDeliveryCarrierDetailsResponseNonNullableFields$1>;
|
|
16068
|
+
declare function listDeliveryCarriers(): __PublicMethodMetaInfo$a<'POST', {
|
|
16069
16069
|
deliveryProfileId: string;
|
|
16070
16070
|
}, ListDeliveryCarriersRequest, ListDeliveryCarriersRequest$1, ListDeliveryCarriersResponse & ListDeliveryCarriersResponseNonNullableFields, ListDeliveryCarriersResponse$1 & ListDeliveryCarriersResponseNonNullableFields$1>;
|
|
16071
|
-
declare function updateExtendedFields$
|
|
16071
|
+
declare function updateExtendedFields$2(): __PublicMethodMetaInfo$a<'POST', {
|
|
16072
16072
|
id: string;
|
|
16073
|
-
}, UpdateExtendedFieldsRequest$
|
|
16073
|
+
}, UpdateExtendedFieldsRequest$4, UpdateExtendedFieldsRequest$5, UpdateExtendedFieldsResponse$4 & UpdateExtendedFieldsResponseNonNullableFields$4, UpdateExtendedFieldsResponse$5 & UpdateExtendedFieldsResponseNonNullableFields$5>;
|
|
16074
16074
|
|
|
16075
|
-
declare const meta$
|
|
16076
|
-
declare const meta$
|
|
16077
|
-
declare const meta$
|
|
16078
|
-
declare const meta$
|
|
16079
|
-
declare const meta$
|
|
16080
|
-
declare const meta$
|
|
16081
|
-
declare const meta$
|
|
16082
|
-
declare const meta$
|
|
16083
|
-
declare const meta$
|
|
16084
|
-
declare const meta$
|
|
16085
|
-
declare const meta$
|
|
16086
|
-
declare const meta$
|
|
16087
|
-
declare const meta$
|
|
16088
|
-
declare namespace meta$
|
|
16089
|
-
export { type __PublicMethodMetaInfo$
|
|
16075
|
+
declare const meta$a_addDeliveryCarrier: typeof addDeliveryCarrier;
|
|
16076
|
+
declare const meta$a_addDeliveryRegion: typeof addDeliveryRegion;
|
|
16077
|
+
declare const meta$a_createDeliveryProfile: typeof createDeliveryProfile;
|
|
16078
|
+
declare const meta$a_deleteDeliveryProfile: typeof deleteDeliveryProfile;
|
|
16079
|
+
declare const meta$a_getDeliveryProfile: typeof getDeliveryProfile;
|
|
16080
|
+
declare const meta$a_listDeliveryCarrierDetails: typeof listDeliveryCarrierDetails;
|
|
16081
|
+
declare const meta$a_listDeliveryCarriers: typeof listDeliveryCarriers;
|
|
16082
|
+
declare const meta$a_queryDeliveryProfiles: typeof queryDeliveryProfiles;
|
|
16083
|
+
declare const meta$a_removeDeliveryCarrier: typeof removeDeliveryCarrier;
|
|
16084
|
+
declare const meta$a_removeDeliveryRegion: typeof removeDeliveryRegion;
|
|
16085
|
+
declare const meta$a_updateDeliveryCarrier: typeof updateDeliveryCarrier;
|
|
16086
|
+
declare const meta$a_updateDeliveryProfile: typeof updateDeliveryProfile;
|
|
16087
|
+
declare const meta$a_updateDeliveryRegion: typeof updateDeliveryRegion;
|
|
16088
|
+
declare namespace meta$a {
|
|
16089
|
+
export { type __PublicMethodMetaInfo$a as __PublicMethodMetaInfo, meta$a_addDeliveryCarrier as addDeliveryCarrier, meta$a_addDeliveryRegion as addDeliveryRegion, meta$a_createDeliveryProfile as createDeliveryProfile, meta$a_deleteDeliveryProfile as deleteDeliveryProfile, meta$a_getDeliveryProfile as getDeliveryProfile, meta$a_listDeliveryCarrierDetails as listDeliveryCarrierDetails, meta$a_listDeliveryCarriers as listDeliveryCarriers, meta$a_queryDeliveryProfiles as queryDeliveryProfiles, meta$a_removeDeliveryCarrier as removeDeliveryCarrier, meta$a_removeDeliveryRegion as removeDeliveryRegion, meta$a_updateDeliveryCarrier as updateDeliveryCarrier, meta$a_updateDeliveryProfile as updateDeliveryProfile, meta$a_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$2 as updateExtendedFields };
|
|
16090
16090
|
}
|
|
16091
16091
|
|
|
16092
16092
|
/** DraftOrder is the main entity of DraftOrders service. It represents a single edit order. */
|
|
@@ -16189,7 +16189,7 @@ interface DraftOrder$1 {
|
|
|
16189
16189
|
* Custom field data for the draft order object.
|
|
16190
16190
|
* [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.
|
|
16191
16191
|
*/
|
|
16192
|
-
extendedFields?: ExtendedFields$
|
|
16192
|
+
extendedFields?: ExtendedFields$7;
|
|
16193
16193
|
}
|
|
16194
16194
|
interface ItemDetails$1 extends ItemDetailsChangeTypeOneOf$1 {
|
|
16195
16195
|
/** Whether the line item was added as part of the draft. */
|
|
@@ -17128,7 +17128,7 @@ interface OrderTaxBreakdown$3 {
|
|
|
17128
17128
|
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
17129
17129
|
aggregatedTaxAmount?: Price$5;
|
|
17130
17130
|
}
|
|
17131
|
-
interface ExtendedFields$
|
|
17131
|
+
interface ExtendedFields$7 {
|
|
17132
17132
|
/**
|
|
17133
17133
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
17134
17134
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -17154,11 +17154,11 @@ interface CalculatedDraftOrder$1 {
|
|
|
17154
17154
|
*/
|
|
17155
17155
|
draftOrder?: DraftOrder$1;
|
|
17156
17156
|
/** Shipping options for the order. */
|
|
17157
|
-
shippingOptions?: ShippingOption$
|
|
17157
|
+
shippingOptions?: ShippingOption$3[];
|
|
17158
17158
|
/** Errors that occurred during calculation. */
|
|
17159
17159
|
calculationErrors?: CalculationErrors$1;
|
|
17160
17160
|
}
|
|
17161
|
-
interface ShippingOption$
|
|
17161
|
+
interface ShippingOption$3 {
|
|
17162
17162
|
/** This carrier's unique ID */
|
|
17163
17163
|
carrierId?: string | null;
|
|
17164
17164
|
/** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
|
|
@@ -17710,7 +17710,7 @@ interface Order$3 {
|
|
|
17710
17710
|
*
|
|
17711
17711
|
* [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.
|
|
17712
17712
|
*/
|
|
17713
|
-
extendedFields?: ExtendedFields$
|
|
17713
|
+
extendedFields?: ExtendedFields$7;
|
|
17714
17714
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
17715
17715
|
purchaseFlowId?: string | null;
|
|
17716
17716
|
/**
|
|
@@ -17934,11 +17934,11 @@ interface DeleteDraftOrderResponse$1 {
|
|
|
17934
17934
|
}
|
|
17935
17935
|
interface QueryDraftOrdersRequest$1 {
|
|
17936
17936
|
/** WQL expression */
|
|
17937
|
-
query?: CursorQuery$
|
|
17937
|
+
query?: CursorQuery$5;
|
|
17938
17938
|
}
|
|
17939
|
-
interface CursorQuery$
|
|
17939
|
+
interface CursorQuery$5 extends CursorQueryPagingMethodOneOf$5 {
|
|
17940
17940
|
/** 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`. */
|
|
17941
|
-
cursorPaging?: CursorPaging$
|
|
17941
|
+
cursorPaging?: CursorPaging$9;
|
|
17942
17942
|
/**
|
|
17943
17943
|
* Filter object in the following format:
|
|
17944
17944
|
* `"filter" : {
|
|
@@ -17952,24 +17952,24 @@ interface CursorQuery$3 extends CursorQueryPagingMethodOneOf$3 {
|
|
|
17952
17952
|
* Sort object in the following format:
|
|
17953
17953
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
17954
17954
|
*/
|
|
17955
|
-
sort?: Sorting$
|
|
17955
|
+
sort?: Sorting$9[];
|
|
17956
17956
|
}
|
|
17957
17957
|
/** @oneof */
|
|
17958
|
-
interface CursorQueryPagingMethodOneOf$
|
|
17958
|
+
interface CursorQueryPagingMethodOneOf$5 {
|
|
17959
17959
|
/** 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`. */
|
|
17960
|
-
cursorPaging?: CursorPaging$
|
|
17960
|
+
cursorPaging?: CursorPaging$9;
|
|
17961
17961
|
}
|
|
17962
|
-
interface Sorting$
|
|
17962
|
+
interface Sorting$9 {
|
|
17963
17963
|
/** Name of the field to sort by. */
|
|
17964
17964
|
fieldName?: string;
|
|
17965
17965
|
/** Sort order. */
|
|
17966
|
-
order?: SortOrder$
|
|
17966
|
+
order?: SortOrder$9;
|
|
17967
17967
|
}
|
|
17968
|
-
declare enum SortOrder$
|
|
17968
|
+
declare enum SortOrder$9 {
|
|
17969
17969
|
ASC = "ASC",
|
|
17970
17970
|
DESC = "DESC"
|
|
17971
17971
|
}
|
|
17972
|
-
interface CursorPaging$
|
|
17972
|
+
interface CursorPaging$9 {
|
|
17973
17973
|
/** Maximum number of items to return in the results. */
|
|
17974
17974
|
limit?: number | null;
|
|
17975
17975
|
/**
|
|
@@ -17984,13 +17984,13 @@ interface QueryDraftOrdersResponse$1 {
|
|
|
17984
17984
|
/** list of edits per order */
|
|
17985
17985
|
draftOrders?: DraftOrder$1[];
|
|
17986
17986
|
/** Paging metadata. */
|
|
17987
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
17987
|
+
pagingMetadata?: CursorPagingMetadata$9;
|
|
17988
17988
|
}
|
|
17989
|
-
interface CursorPagingMetadata$
|
|
17989
|
+
interface CursorPagingMetadata$9 {
|
|
17990
17990
|
/** Number of items returned in the response. */
|
|
17991
17991
|
count?: number | null;
|
|
17992
17992
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
17993
|
-
cursors?: Cursors$
|
|
17993
|
+
cursors?: Cursors$9;
|
|
17994
17994
|
/**
|
|
17995
17995
|
* Whether there are more pages to retrieve following the current page.
|
|
17996
17996
|
*
|
|
@@ -17999,7 +17999,7 @@ interface CursorPagingMetadata$7 {
|
|
|
17999
17999
|
*/
|
|
18000
18000
|
hasNext?: boolean | null;
|
|
18001
18001
|
}
|
|
18002
|
-
interface Cursors$
|
|
18002
|
+
interface Cursors$9 {
|
|
18003
18003
|
/** Cursor string pointing to the next page in the list of results. */
|
|
18004
18004
|
next?: string | null;
|
|
18005
18005
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -18327,7 +18327,7 @@ interface ShippingPriceNonNullableFields$3 {
|
|
|
18327
18327
|
price?: PriceNonNullableFields$5;
|
|
18328
18328
|
currency: string;
|
|
18329
18329
|
}
|
|
18330
|
-
interface ShippingOptionNonNullableFields$
|
|
18330
|
+
interface ShippingOptionNonNullableFields$3 {
|
|
18331
18331
|
code: string;
|
|
18332
18332
|
title: string;
|
|
18333
18333
|
logistics?: DeliveryLogisticsNonNullableFields$3;
|
|
@@ -18364,7 +18364,7 @@ interface CalculationErrorsNonNullableFields$1 {
|
|
|
18364
18364
|
}
|
|
18365
18365
|
interface CalculatedDraftOrderNonNullableFields$1 {
|
|
18366
18366
|
draftOrder?: DraftOrderNonNullableFields$1;
|
|
18367
|
-
shippingOptions: ShippingOptionNonNullableFields$
|
|
18367
|
+
shippingOptions: ShippingOptionNonNullableFields$3[];
|
|
18368
18368
|
calculationErrors?: CalculationErrorsNonNullableFields$1;
|
|
18369
18369
|
}
|
|
18370
18370
|
interface CreateDraftOrderResponseNonNullableFields$1 {
|
|
@@ -18672,7 +18672,7 @@ interface DraftOrder {
|
|
|
18672
18672
|
* Custom field data for the draft order object.
|
|
18673
18673
|
* [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.
|
|
18674
18674
|
*/
|
|
18675
|
-
extendedFields?: ExtendedFields$
|
|
18675
|
+
extendedFields?: ExtendedFields$6;
|
|
18676
18676
|
}
|
|
18677
18677
|
interface ItemDetails extends ItemDetailsChangeTypeOneOf {
|
|
18678
18678
|
/** Whether the line item was added as part of the draft. */
|
|
@@ -19568,7 +19568,7 @@ interface OrderTaxBreakdown$2 {
|
|
|
19568
19568
|
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
19569
19569
|
aggregatedTaxAmount?: Price$4;
|
|
19570
19570
|
}
|
|
19571
|
-
interface ExtendedFields$
|
|
19571
|
+
interface ExtendedFields$6 {
|
|
19572
19572
|
/**
|
|
19573
19573
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
19574
19574
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -19594,11 +19594,11 @@ interface CalculatedDraftOrder {
|
|
|
19594
19594
|
*/
|
|
19595
19595
|
draftOrder?: DraftOrder;
|
|
19596
19596
|
/** Shipping options for the order. */
|
|
19597
|
-
shippingOptions?: ShippingOption[];
|
|
19597
|
+
shippingOptions?: ShippingOption$2[];
|
|
19598
19598
|
/** Errors that occurred during calculation. */
|
|
19599
19599
|
calculationErrors?: CalculationErrors;
|
|
19600
19600
|
}
|
|
19601
|
-
interface ShippingOption {
|
|
19601
|
+
interface ShippingOption$2 {
|
|
19602
19602
|
/** This carrier's unique ID */
|
|
19603
19603
|
carrierId?: string | null;
|
|
19604
19604
|
/** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
|
|
@@ -20144,7 +20144,7 @@ interface Order$2 {
|
|
|
20144
20144
|
*
|
|
20145
20145
|
* [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.
|
|
20146
20146
|
*/
|
|
20147
|
-
extendedFields?: ExtendedFields$
|
|
20147
|
+
extendedFields?: ExtendedFields$6;
|
|
20148
20148
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
20149
20149
|
purchaseFlowId?: string | null;
|
|
20150
20150
|
/**
|
|
@@ -20368,11 +20368,11 @@ interface DeleteDraftOrderResponse {
|
|
|
20368
20368
|
}
|
|
20369
20369
|
interface QueryDraftOrdersRequest {
|
|
20370
20370
|
/** WQL expression */
|
|
20371
|
-
query?: CursorQuery$
|
|
20371
|
+
query?: CursorQuery$4;
|
|
20372
20372
|
}
|
|
20373
|
-
interface CursorQuery$
|
|
20373
|
+
interface CursorQuery$4 extends CursorQueryPagingMethodOneOf$4 {
|
|
20374
20374
|
/** 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`. */
|
|
20375
|
-
cursorPaging?: CursorPaging$
|
|
20375
|
+
cursorPaging?: CursorPaging$8;
|
|
20376
20376
|
/**
|
|
20377
20377
|
* Filter object in the following format:
|
|
20378
20378
|
* `"filter" : {
|
|
@@ -20386,24 +20386,24 @@ interface CursorQuery$2 extends CursorQueryPagingMethodOneOf$2 {
|
|
|
20386
20386
|
* Sort object in the following format:
|
|
20387
20387
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
20388
20388
|
*/
|
|
20389
|
-
sort?: Sorting$
|
|
20389
|
+
sort?: Sorting$8[];
|
|
20390
20390
|
}
|
|
20391
20391
|
/** @oneof */
|
|
20392
|
-
interface CursorQueryPagingMethodOneOf$
|
|
20392
|
+
interface CursorQueryPagingMethodOneOf$4 {
|
|
20393
20393
|
/** 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`. */
|
|
20394
|
-
cursorPaging?: CursorPaging$
|
|
20394
|
+
cursorPaging?: CursorPaging$8;
|
|
20395
20395
|
}
|
|
20396
|
-
interface Sorting$
|
|
20396
|
+
interface Sorting$8 {
|
|
20397
20397
|
/** Name of the field to sort by. */
|
|
20398
20398
|
fieldName?: string;
|
|
20399
20399
|
/** Sort order. */
|
|
20400
|
-
order?: SortOrder$
|
|
20400
|
+
order?: SortOrder$8;
|
|
20401
20401
|
}
|
|
20402
|
-
declare enum SortOrder$
|
|
20402
|
+
declare enum SortOrder$8 {
|
|
20403
20403
|
ASC = "ASC",
|
|
20404
20404
|
DESC = "DESC"
|
|
20405
20405
|
}
|
|
20406
|
-
interface CursorPaging$
|
|
20406
|
+
interface CursorPaging$8 {
|
|
20407
20407
|
/** Maximum number of items to return in the results. */
|
|
20408
20408
|
limit?: number | null;
|
|
20409
20409
|
/**
|
|
@@ -20418,13 +20418,13 @@ interface QueryDraftOrdersResponse {
|
|
|
20418
20418
|
/** list of edits per order */
|
|
20419
20419
|
draftOrders?: DraftOrder[];
|
|
20420
20420
|
/** Paging metadata. */
|
|
20421
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
20421
|
+
pagingMetadata?: CursorPagingMetadata$8;
|
|
20422
20422
|
}
|
|
20423
|
-
interface CursorPagingMetadata$
|
|
20423
|
+
interface CursorPagingMetadata$8 {
|
|
20424
20424
|
/** Number of items returned in the response. */
|
|
20425
20425
|
count?: number | null;
|
|
20426
20426
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
20427
|
-
cursors?: Cursors$
|
|
20427
|
+
cursors?: Cursors$8;
|
|
20428
20428
|
/**
|
|
20429
20429
|
* Whether there are more pages to retrieve following the current page.
|
|
20430
20430
|
*
|
|
@@ -20433,7 +20433,7 @@ interface CursorPagingMetadata$6 {
|
|
|
20433
20433
|
*/
|
|
20434
20434
|
hasNext?: boolean | null;
|
|
20435
20435
|
}
|
|
20436
|
-
interface Cursors$
|
|
20436
|
+
interface Cursors$8 {
|
|
20437
20437
|
/** Cursor string pointing to the next page in the list of results. */
|
|
20438
20438
|
next?: string | null;
|
|
20439
20439
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -20755,7 +20755,7 @@ interface ShippingPriceNonNullableFields$2 {
|
|
|
20755
20755
|
price?: PriceNonNullableFields$4;
|
|
20756
20756
|
currency: string;
|
|
20757
20757
|
}
|
|
20758
|
-
interface ShippingOptionNonNullableFields {
|
|
20758
|
+
interface ShippingOptionNonNullableFields$2 {
|
|
20759
20759
|
code: string;
|
|
20760
20760
|
title: string;
|
|
20761
20761
|
logistics?: DeliveryLogisticsNonNullableFields$2;
|
|
@@ -20792,7 +20792,7 @@ interface CalculationErrorsNonNullableFields {
|
|
|
20792
20792
|
}
|
|
20793
20793
|
interface CalculatedDraftOrderNonNullableFields {
|
|
20794
20794
|
draftOrder?: DraftOrderNonNullableFields;
|
|
20795
|
-
shippingOptions: ShippingOptionNonNullableFields[];
|
|
20795
|
+
shippingOptions: ShippingOptionNonNullableFields$2[];
|
|
20796
20796
|
calculationErrors?: CalculationErrorsNonNullableFields;
|
|
20797
20797
|
}
|
|
20798
20798
|
interface CreateDraftOrderResponseNonNullableFields {
|
|
@@ -21000,7 +21000,7 @@ interface QueryDraftOrdersResponseNonNullableFields {
|
|
|
21000
21000
|
draftOrders: DraftOrderNonNullableFields[];
|
|
21001
21001
|
}
|
|
21002
21002
|
|
|
21003
|
-
type __PublicMethodMetaInfo$
|
|
21003
|
+
type __PublicMethodMetaInfo$9<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
21004
21004
|
getUrl: (context: any) => string;
|
|
21005
21005
|
httpMethod: K;
|
|
21006
21006
|
path: string;
|
|
@@ -21010,63 +21010,63 @@ type __PublicMethodMetaInfo$8<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
21010
21010
|
__responseType: Q;
|
|
21011
21011
|
__originalResponseType: R;
|
|
21012
21012
|
};
|
|
21013
|
-
declare function createDraftOrder(): __PublicMethodMetaInfo$
|
|
21013
|
+
declare function createDraftOrder(): __PublicMethodMetaInfo$9<'POST', {
|
|
21014
21014
|
orderId: string;
|
|
21015
21015
|
}, CreateDraftOrderRequest, CreateDraftOrderRequest$1, CreateDraftOrderResponse & CreateDraftOrderResponseNonNullableFields, CreateDraftOrderResponse$1 & CreateDraftOrderResponseNonNullableFields$1>;
|
|
21016
|
-
declare function addLineItemsToDraftOrder(): __PublicMethodMetaInfo$
|
|
21016
|
+
declare function addLineItemsToDraftOrder(): __PublicMethodMetaInfo$9<'POST', {
|
|
21017
21017
|
draftOrderId: string;
|
|
21018
21018
|
}, AddLineItemsToDraftOrderRequest, AddLineItemsToDraftOrderRequest$1, AddLineItemsToDraftOrderResponse & AddLineItemsToDraftOrderResponseNonNullableFields, AddLineItemsToDraftOrderResponse$1 & AddLineItemsToDraftOrderResponseNonNullableFields$1>;
|
|
21019
|
-
declare function updateLineItems(): __PublicMethodMetaInfo$
|
|
21019
|
+
declare function updateLineItems(): __PublicMethodMetaInfo$9<'POST', {
|
|
21020
21020
|
draftOrderId: string;
|
|
21021
21021
|
}, UpdateLineItemsRequest, UpdateLineItemsRequest$1, UpdateLineItemsResponse & UpdateLineItemsResponseNonNullableFields, UpdateLineItemsResponse$1 & UpdateLineItemsResponseNonNullableFields$1>;
|
|
21022
|
-
declare function setDiscounts(): __PublicMethodMetaInfo$
|
|
21022
|
+
declare function setDiscounts(): __PublicMethodMetaInfo$9<'POST', {
|
|
21023
21023
|
draftOrderId: string;
|
|
21024
21024
|
}, SetDiscountsRequest, SetDiscountsRequest$1, SetDiscountsResponse & SetDiscountsResponseNonNullableFields, SetDiscountsResponse$1 & SetDiscountsResponseNonNullableFields$1>;
|
|
21025
|
-
declare function createCustomDiscounts(): __PublicMethodMetaInfo$
|
|
21025
|
+
declare function createCustomDiscounts(): __PublicMethodMetaInfo$9<'POST', {
|
|
21026
21026
|
draftOrderId: string;
|
|
21027
21027
|
}, CreateCustomDiscountsRequest, CreateCustomDiscountsRequest$1, CreateCustomDiscountsResponse & CreateCustomDiscountsResponseNonNullableFields, CreateCustomDiscountsResponse$1 & CreateCustomDiscountsResponseNonNullableFields$1>;
|
|
21028
|
-
declare function deleteCustomDiscounts(): __PublicMethodMetaInfo$
|
|
21028
|
+
declare function deleteCustomDiscounts(): __PublicMethodMetaInfo$9<'POST', {
|
|
21029
21029
|
draftOrderId: string;
|
|
21030
21030
|
}, DeleteCustomDiscountsRequest, DeleteCustomDiscountsRequest$1, DeleteCustomDiscountsResponse & DeleteCustomDiscountsResponseNonNullableFields, DeleteCustomDiscountsResponse$1 & DeleteCustomDiscountsResponseNonNullableFields$1>;
|
|
21031
|
-
declare function setAdditionalFees(): __PublicMethodMetaInfo$
|
|
21031
|
+
declare function setAdditionalFees(): __PublicMethodMetaInfo$9<'POST', {
|
|
21032
21032
|
draftOrderId: string;
|
|
21033
21033
|
}, SetAdditionalFeesRequest, SetAdditionalFeesRequest$1, SetAdditionalFeesResponse & SetAdditionalFeesResponseNonNullableFields, SetAdditionalFeesResponse$1 & SetAdditionalFeesResponseNonNullableFields$1>;
|
|
21034
|
-
declare function createCustomAdditionalFees(): __PublicMethodMetaInfo$
|
|
21034
|
+
declare function createCustomAdditionalFees(): __PublicMethodMetaInfo$9<'POST', {
|
|
21035
21035
|
draftOrderId: string;
|
|
21036
21036
|
}, CreateCustomAdditionalFeesRequest, CreateCustomAdditionalFeesRequest$1, CreateCustomAdditionalFeesResponse & CreateCustomAdditionalFeesResponseNonNullableFields, CreateCustomAdditionalFeesResponse$1 & CreateCustomAdditionalFeesResponseNonNullableFields$1>;
|
|
21037
|
-
declare function deleteCustomAdditionalFees(): __PublicMethodMetaInfo$
|
|
21037
|
+
declare function deleteCustomAdditionalFees(): __PublicMethodMetaInfo$9<'POST', {
|
|
21038
21038
|
draftOrderId: string;
|
|
21039
21039
|
}, DeleteCustomAdditionalFeesRequest, DeleteCustomAdditionalFeesRequest$1, DeleteCustomAdditionalFeesResponse & DeleteCustomAdditionalFeesResponseNonNullableFields, DeleteCustomAdditionalFeesResponse$1 & DeleteCustomAdditionalFeesResponseNonNullableFields$1>;
|
|
21040
|
-
declare function getDraftOrder(): __PublicMethodMetaInfo$
|
|
21040
|
+
declare function getDraftOrder(): __PublicMethodMetaInfo$9<'GET', {
|
|
21041
21041
|
draftOrderId: string;
|
|
21042
21042
|
}, GetDraftOrderRequest, GetDraftOrderRequest$1, GetDraftOrderResponse & GetDraftOrderResponseNonNullableFields, GetDraftOrderResponse$1 & GetDraftOrderResponseNonNullableFields$1>;
|
|
21043
|
-
declare function getOrderDraftabilityStatus(): __PublicMethodMetaInfo$
|
|
21043
|
+
declare function getOrderDraftabilityStatus(): __PublicMethodMetaInfo$9<'GET', {
|
|
21044
21044
|
orderId: string;
|
|
21045
21045
|
}, GetOrderDraftabilityStatusRequest, GetOrderDraftabilityStatusRequest$1, GetOrderDraftabilityStatusResponse & GetOrderDraftabilityStatusResponseNonNullableFields, GetOrderDraftabilityStatusResponse$1 & GetOrderDraftabilityStatusResponseNonNullableFields$1>;
|
|
21046
|
-
declare function commitDraftOrder(): __PublicMethodMetaInfo$
|
|
21046
|
+
declare function commitDraftOrder(): __PublicMethodMetaInfo$9<'POST', {
|
|
21047
21047
|
draftOrderId: string;
|
|
21048
21048
|
}, CommitDraftOrderRequest, CommitDraftOrderRequest$1, CommitDraftOrderResponse & CommitDraftOrderResponseNonNullableFields, CommitDraftOrderResponse$1 & CommitDraftOrderResponseNonNullableFields$1>;
|
|
21049
|
-
declare function deleteDraftOrder(): __PublicMethodMetaInfo$
|
|
21049
|
+
declare function deleteDraftOrder(): __PublicMethodMetaInfo$9<'DELETE', {
|
|
21050
21050
|
draftOrderId: string;
|
|
21051
21051
|
}, DeleteDraftOrderRequest, DeleteDraftOrderRequest$1, DeleteDraftOrderResponse, DeleteDraftOrderResponse$1>;
|
|
21052
|
-
declare function queryDraftOrders(): __PublicMethodMetaInfo$
|
|
21052
|
+
declare function queryDraftOrders(): __PublicMethodMetaInfo$9<'POST', {}, QueryDraftOrdersRequest, QueryDraftOrdersRequest$1, QueryDraftOrdersResponse & QueryDraftOrdersResponseNonNullableFields, QueryDraftOrdersResponse$1 & QueryDraftOrdersResponseNonNullableFields$1>;
|
|
21053
21053
|
|
|
21054
|
-
declare const meta$
|
|
21055
|
-
declare const meta$
|
|
21056
|
-
declare const meta$
|
|
21057
|
-
declare const meta$
|
|
21058
|
-
declare const meta$
|
|
21059
|
-
declare const meta$
|
|
21060
|
-
declare const meta$
|
|
21061
|
-
declare const meta$
|
|
21062
|
-
declare const meta$
|
|
21063
|
-
declare const meta$
|
|
21064
|
-
declare const meta$
|
|
21065
|
-
declare const meta$
|
|
21066
|
-
declare const meta$
|
|
21067
|
-
declare const meta$
|
|
21068
|
-
declare namespace meta$
|
|
21069
|
-
export { type __PublicMethodMetaInfo$
|
|
21054
|
+
declare const meta$9_addLineItemsToDraftOrder: typeof addLineItemsToDraftOrder;
|
|
21055
|
+
declare const meta$9_commitDraftOrder: typeof commitDraftOrder;
|
|
21056
|
+
declare const meta$9_createCustomAdditionalFees: typeof createCustomAdditionalFees;
|
|
21057
|
+
declare const meta$9_createCustomDiscounts: typeof createCustomDiscounts;
|
|
21058
|
+
declare const meta$9_createDraftOrder: typeof createDraftOrder;
|
|
21059
|
+
declare const meta$9_deleteCustomAdditionalFees: typeof deleteCustomAdditionalFees;
|
|
21060
|
+
declare const meta$9_deleteCustomDiscounts: typeof deleteCustomDiscounts;
|
|
21061
|
+
declare const meta$9_deleteDraftOrder: typeof deleteDraftOrder;
|
|
21062
|
+
declare const meta$9_getDraftOrder: typeof getDraftOrder;
|
|
21063
|
+
declare const meta$9_getOrderDraftabilityStatus: typeof getOrderDraftabilityStatus;
|
|
21064
|
+
declare const meta$9_queryDraftOrders: typeof queryDraftOrders;
|
|
21065
|
+
declare const meta$9_setAdditionalFees: typeof setAdditionalFees;
|
|
21066
|
+
declare const meta$9_setDiscounts: typeof setDiscounts;
|
|
21067
|
+
declare const meta$9_updateLineItems: typeof updateLineItems;
|
|
21068
|
+
declare namespace meta$9 {
|
|
21069
|
+
export { type __PublicMethodMetaInfo$9 as __PublicMethodMetaInfo, meta$9_addLineItemsToDraftOrder as addLineItemsToDraftOrder, meta$9_commitDraftOrder as commitDraftOrder, meta$9_createCustomAdditionalFees as createCustomAdditionalFees, meta$9_createCustomDiscounts as createCustomDiscounts, meta$9_createDraftOrder as createDraftOrder, meta$9_deleteCustomAdditionalFees as deleteCustomAdditionalFees, meta$9_deleteCustomDiscounts as deleteCustomDiscounts, meta$9_deleteDraftOrder as deleteDraftOrder, meta$9_getDraftOrder as getDraftOrder, meta$9_getOrderDraftabilityStatus as getOrderDraftabilityStatus, meta$9_queryDraftOrders as queryDraftOrders, meta$9_setAdditionalFees as setAdditionalFees, meta$9_setDiscounts as setDiscounts, meta$9_updateLineItems as updateLineItems };
|
|
21070
21070
|
}
|
|
21071
21071
|
|
|
21072
21072
|
interface OrderWithFulfillments$1 {
|
|
@@ -21512,7 +21512,7 @@ interface BulkCreateFulfillmentResponseNonNullableFields {
|
|
|
21512
21512
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$4;
|
|
21513
21513
|
}
|
|
21514
21514
|
|
|
21515
|
-
type __PublicMethodMetaInfo$
|
|
21515
|
+
type __PublicMethodMetaInfo$8<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
21516
21516
|
getUrl: (context: any) => string;
|
|
21517
21517
|
httpMethod: K;
|
|
21518
21518
|
path: string;
|
|
@@ -21522,31 +21522,31 @@ type __PublicMethodMetaInfo$7<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
21522
21522
|
__responseType: Q;
|
|
21523
21523
|
__originalResponseType: R;
|
|
21524
21524
|
};
|
|
21525
|
-
declare function listFulfillmentsForSingleOrder(): __PublicMethodMetaInfo$
|
|
21525
|
+
declare function listFulfillmentsForSingleOrder(): __PublicMethodMetaInfo$8<'GET', {
|
|
21526
21526
|
orderId: string;
|
|
21527
21527
|
}, ListFulfillmentsForSingleOrderRequest, ListFulfillmentsForSingleOrderRequest$1, ListFulfillmentsForSingleOrderResponse & ListFulfillmentsForSingleOrderResponseNonNullableFields, ListFulfillmentsForSingleOrderResponse$1 & ListFulfillmentsForSingleOrderResponseNonNullableFields$1>;
|
|
21528
|
-
declare function listFulfillmentsForMultipleOrders(): __PublicMethodMetaInfo$
|
|
21529
|
-
declare function createFulfillment(): __PublicMethodMetaInfo$
|
|
21528
|
+
declare function listFulfillmentsForMultipleOrders(): __PublicMethodMetaInfo$8<'POST', {}, ListFulfillmentsForMultipleOrdersRequest, ListFulfillmentsForMultipleOrdersRequest$1, ListFulfillmentsForMultipleOrdersResponse & ListFulfillmentsForMultipleOrdersResponseNonNullableFields, ListFulfillmentsForMultipleOrdersResponse$1 & ListFulfillmentsForMultipleOrdersResponseNonNullableFields$1>;
|
|
21529
|
+
declare function createFulfillment(): __PublicMethodMetaInfo$8<'POST', {
|
|
21530
21530
|
orderId: string;
|
|
21531
21531
|
}, CreateFulfillmentRequest, CreateFulfillmentRequest$1, CreateFulfillmentResponse & CreateFulfillmentResponseNonNullableFields, CreateFulfillmentResponse$1 & CreateFulfillmentResponseNonNullableFields$1>;
|
|
21532
|
-
declare function updateFulfillment(): __PublicMethodMetaInfo$
|
|
21532
|
+
declare function updateFulfillment(): __PublicMethodMetaInfo$8<'PATCH', {
|
|
21533
21533
|
fulfillmentId: string;
|
|
21534
21534
|
orderId: string;
|
|
21535
21535
|
}, UpdateFulfillmentRequest, UpdateFulfillmentRequest$1, UpdateFulfillmentResponse & UpdateFulfillmentResponseNonNullableFields, UpdateFulfillmentResponse$1 & UpdateFulfillmentResponseNonNullableFields$1>;
|
|
21536
|
-
declare function deleteFulfillment(): __PublicMethodMetaInfo$
|
|
21536
|
+
declare function deleteFulfillment(): __PublicMethodMetaInfo$8<'DELETE', {
|
|
21537
21537
|
fulfillmentId: string;
|
|
21538
21538
|
orderId: string;
|
|
21539
21539
|
}, DeleteFulfillmentRequest, DeleteFulfillmentRequest$1, DeleteFulfillmentResponse & DeleteFulfillmentResponseNonNullableFields, DeleteFulfillmentResponse$1 & DeleteFulfillmentResponseNonNullableFields$1>;
|
|
21540
|
-
declare function bulkCreateFulfillments(): __PublicMethodMetaInfo$
|
|
21540
|
+
declare function bulkCreateFulfillments(): __PublicMethodMetaInfo$8<'POST', {}, BulkCreateFulfillmentRequest, BulkCreateFulfillmentRequest$1, BulkCreateFulfillmentResponse & BulkCreateFulfillmentResponseNonNullableFields, BulkCreateFulfillmentResponse$1 & BulkCreateFulfillmentResponseNonNullableFields$1>;
|
|
21541
21541
|
|
|
21542
|
-
declare const meta$
|
|
21543
|
-
declare const meta$
|
|
21544
|
-
declare const meta$
|
|
21545
|
-
declare const meta$
|
|
21546
|
-
declare const meta$
|
|
21547
|
-
declare const meta$
|
|
21548
|
-
declare namespace meta$
|
|
21549
|
-
export { type __PublicMethodMetaInfo$
|
|
21542
|
+
declare const meta$8_bulkCreateFulfillments: typeof bulkCreateFulfillments;
|
|
21543
|
+
declare const meta$8_createFulfillment: typeof createFulfillment;
|
|
21544
|
+
declare const meta$8_deleteFulfillment: typeof deleteFulfillment;
|
|
21545
|
+
declare const meta$8_listFulfillmentsForMultipleOrders: typeof listFulfillmentsForMultipleOrders;
|
|
21546
|
+
declare const meta$8_listFulfillmentsForSingleOrder: typeof listFulfillmentsForSingleOrder;
|
|
21547
|
+
declare const meta$8_updateFulfillment: typeof updateFulfillment;
|
|
21548
|
+
declare namespace meta$8 {
|
|
21549
|
+
export { type __PublicMethodMetaInfo$8 as __PublicMethodMetaInfo, meta$8_bulkCreateFulfillments as bulkCreateFulfillments, meta$8_createFulfillment as createFulfillment, meta$8_deleteFulfillment as deleteFulfillment, meta$8_listFulfillmentsForMultipleOrders as listFulfillmentsForMultipleOrders, meta$8_listFulfillmentsForSingleOrder as listFulfillmentsForSingleOrder, meta$8_updateFulfillment as updateFulfillment };
|
|
21550
21550
|
}
|
|
21551
21551
|
|
|
21552
21552
|
interface LocalDeliveryOption$1 extends LocalDeliveryOptionConfigOneOf$1 {
|
|
@@ -21574,7 +21574,7 @@ interface LocalDeliveryOption$1 extends LocalDeliveryOptionConfigOneOf$1 {
|
|
|
21574
21574
|
revision?: string | null;
|
|
21575
21575
|
scheduledDeliveryConfig?: ScheduledDelivery$1;
|
|
21576
21576
|
/** at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one. */
|
|
21577
|
-
rates?: ConditionalRates$
|
|
21577
|
+
rates?: ConditionalRates$5[];
|
|
21578
21578
|
/**
|
|
21579
21579
|
* Date and time the LocalDeliveryOption was created.
|
|
21580
21580
|
* @readonly
|
|
@@ -21704,16 +21704,16 @@ interface TimeOfDay$1 {
|
|
|
21704
21704
|
/** Minutes */
|
|
21705
21705
|
minutes?: number;
|
|
21706
21706
|
}
|
|
21707
|
-
interface ConditionalRates$
|
|
21707
|
+
interface ConditionalRates$5 {
|
|
21708
21708
|
/**
|
|
21709
21709
|
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
21710
21710
|
* For example: weight > 0 and weight <= 10
|
|
21711
21711
|
*/
|
|
21712
|
-
conditions?: Condition$
|
|
21712
|
+
conditions?: Condition$5[];
|
|
21713
21713
|
amount?: string;
|
|
21714
21714
|
}
|
|
21715
|
-
interface Condition$
|
|
21716
|
-
type?: ConditionType$
|
|
21715
|
+
interface Condition$5 {
|
|
21716
|
+
type?: ConditionType$5;
|
|
21717
21717
|
/**
|
|
21718
21718
|
* The value in respective to the condition type
|
|
21719
21719
|
* Weight values should be in the same weight units of the store: KG / LB
|
|
@@ -21721,15 +21721,15 @@ interface Condition$3 {
|
|
|
21721
21721
|
* Quantity of items should be integers
|
|
21722
21722
|
*/
|
|
21723
21723
|
value?: string;
|
|
21724
|
-
operator?: LogicalOperator$
|
|
21724
|
+
operator?: LogicalOperator$5;
|
|
21725
21725
|
}
|
|
21726
|
-
declare enum ConditionType$
|
|
21726
|
+
declare enum ConditionType$5 {
|
|
21727
21727
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
21728
21728
|
BY_TOTAL_WEIGHT = "BY_TOTAL_WEIGHT",
|
|
21729
21729
|
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
21730
21730
|
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
21731
21731
|
}
|
|
21732
|
-
declare enum LogicalOperator$
|
|
21732
|
+
declare enum LogicalOperator$5 {
|
|
21733
21733
|
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
21734
21734
|
EQ = "EQ",
|
|
21735
21735
|
GT = "GT",
|
|
@@ -21812,13 +21812,13 @@ interface TimeWindowNonNullableFields$1 {
|
|
|
21812
21812
|
interface ScheduledDeliveryNonNullableFields$1 {
|
|
21813
21813
|
timeWindows: TimeWindowNonNullableFields$1[];
|
|
21814
21814
|
}
|
|
21815
|
-
interface ConditionNonNullableFields$
|
|
21816
|
-
type: ConditionType$
|
|
21815
|
+
interface ConditionNonNullableFields$5 {
|
|
21816
|
+
type: ConditionType$5;
|
|
21817
21817
|
value: string;
|
|
21818
|
-
operator: LogicalOperator$
|
|
21818
|
+
operator: LogicalOperator$5;
|
|
21819
21819
|
}
|
|
21820
|
-
interface ConditionalRatesNonNullableFields$
|
|
21821
|
-
conditions: ConditionNonNullableFields$
|
|
21820
|
+
interface ConditionalRatesNonNullableFields$5 {
|
|
21821
|
+
conditions: ConditionNonNullableFields$5[];
|
|
21822
21822
|
amount: string;
|
|
21823
21823
|
}
|
|
21824
21824
|
interface LocalDeliveryOptionNonNullableFields$1 {
|
|
@@ -21826,7 +21826,7 @@ interface LocalDeliveryOptionNonNullableFields$1 {
|
|
|
21826
21826
|
radiusConfig?: RadiusConfigNonNullableFields$1;
|
|
21827
21827
|
destinations: DestinationNonNullableFields$1[];
|
|
21828
21828
|
scheduledDeliveryConfig?: ScheduledDeliveryNonNullableFields$1;
|
|
21829
|
-
rates: ConditionalRatesNonNullableFields$
|
|
21829
|
+
rates: ConditionalRatesNonNullableFields$5[];
|
|
21830
21830
|
}
|
|
21831
21831
|
interface CreateLocalDeliveryOptionResponseNonNullableFields$1 {
|
|
21832
21832
|
localDeliveryOption?: LocalDeliveryOptionNonNullableFields$1;
|
|
@@ -21878,7 +21878,7 @@ interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {
|
|
|
21878
21878
|
revision?: string | null;
|
|
21879
21879
|
scheduledDeliveryConfig?: ScheduledDelivery;
|
|
21880
21880
|
/** at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one. */
|
|
21881
|
-
rates?: ConditionalRates$
|
|
21881
|
+
rates?: ConditionalRates$4[];
|
|
21882
21882
|
/**
|
|
21883
21883
|
* Date and time the LocalDeliveryOption was created.
|
|
21884
21884
|
* @readonly
|
|
@@ -22008,16 +22008,16 @@ interface TimeOfDay {
|
|
|
22008
22008
|
/** Minutes */
|
|
22009
22009
|
minutes?: number;
|
|
22010
22010
|
}
|
|
22011
|
-
interface ConditionalRates$
|
|
22011
|
+
interface ConditionalRates$4 {
|
|
22012
22012
|
/**
|
|
22013
22013
|
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
22014
22014
|
* For example: weight > 0 and weight <= 10
|
|
22015
22015
|
*/
|
|
22016
|
-
conditions?: Condition$
|
|
22016
|
+
conditions?: Condition$4[];
|
|
22017
22017
|
amount?: string;
|
|
22018
22018
|
}
|
|
22019
|
-
interface Condition$
|
|
22020
|
-
type?: ConditionType$
|
|
22019
|
+
interface Condition$4 {
|
|
22020
|
+
type?: ConditionType$4;
|
|
22021
22021
|
/**
|
|
22022
22022
|
* The value in respective to the condition type
|
|
22023
22023
|
* Weight values should be in the same weight units of the store: KG / LB
|
|
@@ -22025,15 +22025,15 @@ interface Condition$2 {
|
|
|
22025
22025
|
* Quantity of items should be integers
|
|
22026
22026
|
*/
|
|
22027
22027
|
value?: string;
|
|
22028
|
-
operator?: LogicalOperator$
|
|
22028
|
+
operator?: LogicalOperator$4;
|
|
22029
22029
|
}
|
|
22030
|
-
declare enum ConditionType$
|
|
22030
|
+
declare enum ConditionType$4 {
|
|
22031
22031
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
22032
22032
|
BY_TOTAL_WEIGHT = "BY_TOTAL_WEIGHT",
|
|
22033
22033
|
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
22034
22034
|
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
22035
22035
|
}
|
|
22036
|
-
declare enum LogicalOperator$
|
|
22036
|
+
declare enum LogicalOperator$4 {
|
|
22037
22037
|
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
22038
22038
|
EQ = "EQ",
|
|
22039
22039
|
GT = "GT",
|
|
@@ -22116,13 +22116,13 @@ interface TimeWindowNonNullableFields {
|
|
|
22116
22116
|
interface ScheduledDeliveryNonNullableFields {
|
|
22117
22117
|
timeWindows: TimeWindowNonNullableFields[];
|
|
22118
22118
|
}
|
|
22119
|
-
interface ConditionNonNullableFields$
|
|
22120
|
-
type: ConditionType$
|
|
22119
|
+
interface ConditionNonNullableFields$4 {
|
|
22120
|
+
type: ConditionType$4;
|
|
22121
22121
|
value: string;
|
|
22122
|
-
operator: LogicalOperator$
|
|
22122
|
+
operator: LogicalOperator$4;
|
|
22123
22123
|
}
|
|
22124
|
-
interface ConditionalRatesNonNullableFields$
|
|
22125
|
-
conditions: ConditionNonNullableFields$
|
|
22124
|
+
interface ConditionalRatesNonNullableFields$4 {
|
|
22125
|
+
conditions: ConditionNonNullableFields$4[];
|
|
22126
22126
|
amount: string;
|
|
22127
22127
|
}
|
|
22128
22128
|
interface LocalDeliveryOptionNonNullableFields {
|
|
@@ -22130,7 +22130,7 @@ interface LocalDeliveryOptionNonNullableFields {
|
|
|
22130
22130
|
radiusConfig?: RadiusConfigNonNullableFields;
|
|
22131
22131
|
destinations: DestinationNonNullableFields[];
|
|
22132
22132
|
scheduledDeliveryConfig?: ScheduledDeliveryNonNullableFields;
|
|
22133
|
-
rates: ConditionalRatesNonNullableFields$
|
|
22133
|
+
rates: ConditionalRatesNonNullableFields$4[];
|
|
22134
22134
|
}
|
|
22135
22135
|
interface CreateLocalDeliveryOptionResponseNonNullableFields {
|
|
22136
22136
|
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
@@ -22157,7 +22157,7 @@ interface BulkUpdateLocalDeliveryOptionResponseNonNullableFields {
|
|
|
22157
22157
|
errors: LocalDeliveryOptionErrorNonNullableFields[];
|
|
22158
22158
|
}
|
|
22159
22159
|
|
|
22160
|
-
type __PublicMethodMetaInfo$
|
|
22160
|
+
type __PublicMethodMetaInfo$7<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
22161
22161
|
getUrl: (context: any) => string;
|
|
22162
22162
|
httpMethod: K;
|
|
22163
22163
|
path: string;
|
|
@@ -22167,31 +22167,31 @@ type __PublicMethodMetaInfo$6<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
22167
22167
|
__responseType: Q;
|
|
22168
22168
|
__originalResponseType: R;
|
|
22169
22169
|
};
|
|
22170
|
-
declare function createLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
22171
|
-
declare function getLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
22170
|
+
declare function createLocalDeliveryOption(): __PublicMethodMetaInfo$7<'POST', {}, CreateLocalDeliveryOptionRequest, CreateLocalDeliveryOptionRequest$1, CreateLocalDeliveryOptionResponse & CreateLocalDeliveryOptionResponseNonNullableFields, CreateLocalDeliveryOptionResponse$1 & CreateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
22171
|
+
declare function getLocalDeliveryOption(): __PublicMethodMetaInfo$7<'GET', {
|
|
22172
22172
|
id: string;
|
|
22173
22173
|
}, GetLocalDeliveryOptionRequest, GetLocalDeliveryOptionRequest$1, GetLocalDeliveryOptionResponse & GetLocalDeliveryOptionResponseNonNullableFields, GetLocalDeliveryOptionResponse$1 & GetLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
22174
|
-
declare function listLocalDeliveryOptions(): __PublicMethodMetaInfo$
|
|
22175
|
-
declare function updateLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
22174
|
+
declare function listLocalDeliveryOptions(): __PublicMethodMetaInfo$7<'GET', {}, ListLocalDeliveryOptionsRequest, ListLocalDeliveryOptionsRequest$1, ListLocalDeliveryOptionsResponse & ListLocalDeliveryOptionsResponseNonNullableFields, ListLocalDeliveryOptionsResponse$1 & ListLocalDeliveryOptionsResponseNonNullableFields$1>;
|
|
22175
|
+
declare function updateLocalDeliveryOption(): __PublicMethodMetaInfo$7<'PATCH', {
|
|
22176
22176
|
localDeliveryOptionId: string;
|
|
22177
22177
|
}, UpdateLocalDeliveryOptionRequest, UpdateLocalDeliveryOptionRequest$1, UpdateLocalDeliveryOptionResponse & UpdateLocalDeliveryOptionResponseNonNullableFields, UpdateLocalDeliveryOptionResponse$1 & UpdateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
22178
|
-
declare function deleteLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
22178
|
+
declare function deleteLocalDeliveryOption(): __PublicMethodMetaInfo$7<'DELETE', {
|
|
22179
22179
|
id: string;
|
|
22180
22180
|
}, DeleteLocalDeliveryOptionRequest, DeleteLocalDeliveryOptionRequest$1, DeleteLocalDeliveryOptionResponse, DeleteLocalDeliveryOptionResponse$1>;
|
|
22181
|
-
declare function bulkCreateLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
22182
|
-
declare function bulkUpdateLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
22183
|
-
declare function bulkDeleteLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
22181
|
+
declare function bulkCreateLocalDeliveryOption(): __PublicMethodMetaInfo$7<'POST', {}, BulkCreateLocalDeliveryOptionRequest, BulkCreateLocalDeliveryOptionRequest$1, BulkCreateLocalDeliveryOptionResponse & BulkCreateLocalDeliveryOptionResponseNonNullableFields, BulkCreateLocalDeliveryOptionResponse$1 & BulkCreateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
22182
|
+
declare function bulkUpdateLocalDeliveryOption(): __PublicMethodMetaInfo$7<'PATCH', {}, BulkUpdateLocalDeliveryOptionRequest, BulkUpdateLocalDeliveryOptionRequest$1, BulkUpdateLocalDeliveryOptionResponse & BulkUpdateLocalDeliveryOptionResponseNonNullableFields, BulkUpdateLocalDeliveryOptionResponse$1 & BulkUpdateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
22183
|
+
declare function bulkDeleteLocalDeliveryOption(): __PublicMethodMetaInfo$7<'POST', {}, BulkDeleteLocalDeliveryOptionRequest, BulkDeleteLocalDeliveryOptionRequest$1, BulkDeleteLocalDeliveryOptionResponse, BulkDeleteLocalDeliveryOptionResponse$1>;
|
|
22184
22184
|
|
|
22185
|
-
declare const meta$
|
|
22186
|
-
declare const meta$
|
|
22187
|
-
declare const meta$
|
|
22188
|
-
declare const meta$
|
|
22189
|
-
declare const meta$
|
|
22190
|
-
declare const meta$
|
|
22191
|
-
declare const meta$
|
|
22192
|
-
declare const meta$
|
|
22193
|
-
declare namespace meta$
|
|
22194
|
-
export { type __PublicMethodMetaInfo$
|
|
22185
|
+
declare const meta$7_bulkCreateLocalDeliveryOption: typeof bulkCreateLocalDeliveryOption;
|
|
22186
|
+
declare const meta$7_bulkDeleteLocalDeliveryOption: typeof bulkDeleteLocalDeliveryOption;
|
|
22187
|
+
declare const meta$7_bulkUpdateLocalDeliveryOption: typeof bulkUpdateLocalDeliveryOption;
|
|
22188
|
+
declare const meta$7_createLocalDeliveryOption: typeof createLocalDeliveryOption;
|
|
22189
|
+
declare const meta$7_deleteLocalDeliveryOption: typeof deleteLocalDeliveryOption;
|
|
22190
|
+
declare const meta$7_getLocalDeliveryOption: typeof getLocalDeliveryOption;
|
|
22191
|
+
declare const meta$7_listLocalDeliveryOptions: typeof listLocalDeliveryOptions;
|
|
22192
|
+
declare const meta$7_updateLocalDeliveryOption: typeof updateLocalDeliveryOption;
|
|
22193
|
+
declare namespace meta$7 {
|
|
22194
|
+
export { type __PublicMethodMetaInfo$7 as __PublicMethodMetaInfo, meta$7_bulkCreateLocalDeliveryOption as bulkCreateLocalDeliveryOption, meta$7_bulkDeleteLocalDeliveryOption as bulkDeleteLocalDeliveryOption, meta$7_bulkUpdateLocalDeliveryOption as bulkUpdateLocalDeliveryOption, meta$7_createLocalDeliveryOption as createLocalDeliveryOption, meta$7_deleteLocalDeliveryOption as deleteLocalDeliveryOption, meta$7_getLocalDeliveryOption as getLocalDeliveryOption, meta$7_listLocalDeliveryOptions as listLocalDeliveryOptions, meta$7_updateLocalDeliveryOption as updateLocalDeliveryOption };
|
|
22195
22195
|
}
|
|
22196
22196
|
|
|
22197
22197
|
interface Order$1 {
|
|
@@ -22321,7 +22321,7 @@ interface Order$1 {
|
|
|
22321
22321
|
*
|
|
22322
22322
|
* [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.
|
|
22323
22323
|
*/
|
|
22324
|
-
extendedFields?: ExtendedFields$
|
|
22324
|
+
extendedFields?: ExtendedFields$5;
|
|
22325
22325
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
22326
22326
|
purchaseFlowId?: string | null;
|
|
22327
22327
|
/**
|
|
@@ -23295,7 +23295,7 @@ interface AdditionalFee$1 {
|
|
|
23295
23295
|
*/
|
|
23296
23296
|
lineItemIds?: string[];
|
|
23297
23297
|
}
|
|
23298
|
-
interface ExtendedFields$
|
|
23298
|
+
interface ExtendedFields$5 {
|
|
23299
23299
|
/**
|
|
23300
23300
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
23301
23301
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -23306,17 +23306,17 @@ interface ExtendedFields$3 {
|
|
|
23306
23306
|
*/
|
|
23307
23307
|
namespaces?: Record<string, Record<string, any>>;
|
|
23308
23308
|
}
|
|
23309
|
-
interface Sorting$
|
|
23309
|
+
interface Sorting$7 {
|
|
23310
23310
|
/** Name of the field to sort by. */
|
|
23311
23311
|
fieldName?: string;
|
|
23312
23312
|
/** Sort order. */
|
|
23313
|
-
order?: SortOrder$
|
|
23313
|
+
order?: SortOrder$7;
|
|
23314
23314
|
}
|
|
23315
|
-
declare enum SortOrder$
|
|
23315
|
+
declare enum SortOrder$7 {
|
|
23316
23316
|
ASC = "ASC",
|
|
23317
23317
|
DESC = "DESC"
|
|
23318
23318
|
}
|
|
23319
|
-
interface CursorPaging$
|
|
23319
|
+
interface CursorPaging$7 {
|
|
23320
23320
|
/** Maximum number of items to return in the results. */
|
|
23321
23321
|
limit?: number | null;
|
|
23322
23322
|
/**
|
|
@@ -23327,7 +23327,7 @@ interface CursorPaging$5 {
|
|
|
23327
23327
|
*/
|
|
23328
23328
|
cursor?: string | null;
|
|
23329
23329
|
}
|
|
23330
|
-
interface Cursors$
|
|
23330
|
+
interface Cursors$7 {
|
|
23331
23331
|
/** Cursor string pointing to the next page in the list of results. */
|
|
23332
23332
|
next?: string | null;
|
|
23333
23333
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -23403,7 +23403,7 @@ interface CursorSearch$1 extends CursorSearchPagingMethodOneOf$1 {
|
|
|
23403
23403
|
* Cursor paging options.
|
|
23404
23404
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
23405
23405
|
*/
|
|
23406
|
-
cursorPaging?: CursorPaging$
|
|
23406
|
+
cursorPaging?: CursorPaging$7;
|
|
23407
23407
|
/**
|
|
23408
23408
|
* Filter object.
|
|
23409
23409
|
*
|
|
@@ -23423,7 +23423,7 @@ interface CursorSearch$1 extends CursorSearchPagingMethodOneOf$1 {
|
|
|
23423
23423
|
*
|
|
23424
23424
|
* Learn more about the [sort format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
23425
23425
|
*/
|
|
23426
|
-
sort?: Sorting$
|
|
23426
|
+
sort?: Sorting$7[];
|
|
23427
23427
|
}
|
|
23428
23428
|
/** @oneof */
|
|
23429
23429
|
interface CursorSearchPagingMethodOneOf$1 {
|
|
@@ -23431,19 +23431,19 @@ interface CursorSearchPagingMethodOneOf$1 {
|
|
|
23431
23431
|
* Cursor paging options.
|
|
23432
23432
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
23433
23433
|
*/
|
|
23434
|
-
cursorPaging?: CursorPaging$
|
|
23434
|
+
cursorPaging?: CursorPaging$7;
|
|
23435
23435
|
}
|
|
23436
23436
|
interface SearchOrdersResponse$1 {
|
|
23437
23437
|
/** List of orders. */
|
|
23438
23438
|
orders?: Order$1[];
|
|
23439
23439
|
/** Details on the paged set of results returned. */
|
|
23440
|
-
metadata?: CursorPagingMetadata$
|
|
23440
|
+
metadata?: CursorPagingMetadata$7;
|
|
23441
23441
|
}
|
|
23442
|
-
interface CursorPagingMetadata$
|
|
23442
|
+
interface CursorPagingMetadata$7 {
|
|
23443
23443
|
/** Number of items returned in the response. */
|
|
23444
23444
|
count?: number | null;
|
|
23445
23445
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
23446
|
-
cursors?: Cursors$
|
|
23446
|
+
cursors?: Cursors$7;
|
|
23447
23447
|
/**
|
|
23448
23448
|
* Whether there are more pages to retrieve following the current page.
|
|
23449
23449
|
*
|
|
@@ -24050,7 +24050,7 @@ interface Order {
|
|
|
24050
24050
|
*
|
|
24051
24051
|
* [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.
|
|
24052
24052
|
*/
|
|
24053
|
-
extendedFields?: ExtendedFields$
|
|
24053
|
+
extendedFields?: ExtendedFields$4;
|
|
24054
24054
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
24055
24055
|
purchaseFlowId?: string | null;
|
|
24056
24056
|
/**
|
|
@@ -24981,7 +24981,7 @@ interface AdditionalFee {
|
|
|
24981
24981
|
*/
|
|
24982
24982
|
lineItemIds?: string[];
|
|
24983
24983
|
}
|
|
24984
|
-
interface ExtendedFields$
|
|
24984
|
+
interface ExtendedFields$4 {
|
|
24985
24985
|
/**
|
|
24986
24986
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
24987
24987
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -24992,17 +24992,17 @@ interface ExtendedFields$2 {
|
|
|
24992
24992
|
*/
|
|
24993
24993
|
namespaces?: Record<string, Record<string, any>>;
|
|
24994
24994
|
}
|
|
24995
|
-
interface Sorting$
|
|
24995
|
+
interface Sorting$6 {
|
|
24996
24996
|
/** Name of the field to sort by. */
|
|
24997
24997
|
fieldName?: string;
|
|
24998
24998
|
/** Sort order. */
|
|
24999
|
-
order?: SortOrder$
|
|
24999
|
+
order?: SortOrder$6;
|
|
25000
25000
|
}
|
|
25001
|
-
declare enum SortOrder$
|
|
25001
|
+
declare enum SortOrder$6 {
|
|
25002
25002
|
ASC = "ASC",
|
|
25003
25003
|
DESC = "DESC"
|
|
25004
25004
|
}
|
|
25005
|
-
interface CursorPaging$
|
|
25005
|
+
interface CursorPaging$6 {
|
|
25006
25006
|
/** Maximum number of items to return in the results. */
|
|
25007
25007
|
limit?: number | null;
|
|
25008
25008
|
/**
|
|
@@ -25013,7 +25013,7 @@ interface CursorPaging$4 {
|
|
|
25013
25013
|
*/
|
|
25014
25014
|
cursor?: string | null;
|
|
25015
25015
|
}
|
|
25016
|
-
interface Cursors$
|
|
25016
|
+
interface Cursors$6 {
|
|
25017
25017
|
/** Cursor string pointing to the next page in the list of results. */
|
|
25018
25018
|
next?: string | null;
|
|
25019
25019
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -25089,7 +25089,7 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
25089
25089
|
* Cursor paging options.
|
|
25090
25090
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
25091
25091
|
*/
|
|
25092
|
-
cursorPaging?: CursorPaging$
|
|
25092
|
+
cursorPaging?: CursorPaging$6;
|
|
25093
25093
|
/**
|
|
25094
25094
|
* Filter object.
|
|
25095
25095
|
*
|
|
@@ -25109,7 +25109,7 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
25109
25109
|
*
|
|
25110
25110
|
* Learn more about the [sort format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
25111
25111
|
*/
|
|
25112
|
-
sort?: Sorting$
|
|
25112
|
+
sort?: Sorting$6[];
|
|
25113
25113
|
}
|
|
25114
25114
|
/** @oneof */
|
|
25115
25115
|
interface CursorSearchPagingMethodOneOf {
|
|
@@ -25117,19 +25117,19 @@ interface CursorSearchPagingMethodOneOf {
|
|
|
25117
25117
|
* Cursor paging options.
|
|
25118
25118
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
25119
25119
|
*/
|
|
25120
|
-
cursorPaging?: CursorPaging$
|
|
25120
|
+
cursorPaging?: CursorPaging$6;
|
|
25121
25121
|
}
|
|
25122
25122
|
interface SearchOrdersResponse {
|
|
25123
25123
|
/** List of orders. */
|
|
25124
25124
|
orders?: Order[];
|
|
25125
25125
|
/** Details on the paged set of results returned. */
|
|
25126
|
-
metadata?: CursorPagingMetadata$
|
|
25126
|
+
metadata?: CursorPagingMetadata$6;
|
|
25127
25127
|
}
|
|
25128
|
-
interface CursorPagingMetadata$
|
|
25128
|
+
interface CursorPagingMetadata$6 {
|
|
25129
25129
|
/** Number of items returned in the response. */
|
|
25130
25130
|
count?: number | null;
|
|
25131
25131
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
25132
|
-
cursors?: Cursors$
|
|
25132
|
+
cursors?: Cursors$6;
|
|
25133
25133
|
/**
|
|
25134
25134
|
* Whether there are more pages to retrieve following the current page.
|
|
25135
25135
|
*
|
|
@@ -25603,7 +25603,7 @@ interface CancelOrderResponseNonNullableFields {
|
|
|
25603
25603
|
order?: OrderNonNullableFields;
|
|
25604
25604
|
}
|
|
25605
25605
|
|
|
25606
|
-
type __PublicMethodMetaInfo$
|
|
25606
|
+
type __PublicMethodMetaInfo$6<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
25607
25607
|
getUrl: (context: any) => string;
|
|
25608
25608
|
httpMethod: K;
|
|
25609
25609
|
path: string;
|
|
@@ -25613,31 +25613,31 @@ type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
25613
25613
|
__responseType: Q;
|
|
25614
25614
|
__originalResponseType: R;
|
|
25615
25615
|
};
|
|
25616
|
-
declare function getPaymentCollectabilityStatus(): __PublicMethodMetaInfo$
|
|
25616
|
+
declare function getPaymentCollectabilityStatus(): __PublicMethodMetaInfo$6<'GET', {
|
|
25617
25617
|
ecomOrderId: string;
|
|
25618
25618
|
}, GetPaymentCollectabilityStatusRequest, GetPaymentCollectabilityStatusRequest$1, GetPaymentCollectabilityStatusResponse & GetPaymentCollectabilityStatusResponseNonNullableFields, GetPaymentCollectabilityStatusResponse$1 & GetPaymentCollectabilityStatusResponseNonNullableFields$1>;
|
|
25619
|
-
declare function getOrder(): __PublicMethodMetaInfo$
|
|
25619
|
+
declare function getOrder(): __PublicMethodMetaInfo$6<'GET', {
|
|
25620
25620
|
id: string;
|
|
25621
25621
|
}, GetOrderRequest, GetOrderRequest$1, GetOrderResponse & GetOrderResponseNonNullableFields, GetOrderResponse$1 & GetOrderResponseNonNullableFields$1>;
|
|
25622
|
-
declare function searchOrders(): __PublicMethodMetaInfo$
|
|
25623
|
-
declare function createOrder(): __PublicMethodMetaInfo$
|
|
25624
|
-
declare function updateOrder(): __PublicMethodMetaInfo$
|
|
25622
|
+
declare function searchOrders(): __PublicMethodMetaInfo$6<'POST', {}, SearchOrdersRequest, SearchOrdersRequest$1, SearchOrdersResponse & SearchOrdersResponseNonNullableFields, SearchOrdersResponse$1 & SearchOrdersResponseNonNullableFields$1>;
|
|
25623
|
+
declare function createOrder(): __PublicMethodMetaInfo$6<'POST', {}, CreateOrderRequest, CreateOrderRequest$1, CreateOrderResponse & CreateOrderResponseNonNullableFields, CreateOrderResponse$1 & CreateOrderResponseNonNullableFields$1>;
|
|
25624
|
+
declare function updateOrder(): __PublicMethodMetaInfo$6<'PATCH', {
|
|
25625
25625
|
orderId: string;
|
|
25626
25626
|
}, UpdateOrderRequest, UpdateOrderRequest$1, UpdateOrderResponse & UpdateOrderResponseNonNullableFields, UpdateOrderResponse$1 & UpdateOrderResponseNonNullableFields$1>;
|
|
25627
|
-
declare function bulkUpdateOrders(): __PublicMethodMetaInfo$
|
|
25628
|
-
declare function cancelOrder(): __PublicMethodMetaInfo$
|
|
25627
|
+
declare function bulkUpdateOrders(): __PublicMethodMetaInfo$6<'POST', {}, BulkUpdateOrdersRequest, BulkUpdateOrdersRequest$1, BulkUpdateOrdersResponse & BulkUpdateOrdersResponseNonNullableFields, BulkUpdateOrdersResponse$1 & BulkUpdateOrdersResponseNonNullableFields$1>;
|
|
25628
|
+
declare function cancelOrder(): __PublicMethodMetaInfo$6<'POST', {
|
|
25629
25629
|
id: string;
|
|
25630
25630
|
}, CancelOrderRequest, CancelOrderRequest$1, CancelOrderResponse & CancelOrderResponseNonNullableFields, CancelOrderResponse$1 & CancelOrderResponseNonNullableFields$1>;
|
|
25631
25631
|
|
|
25632
|
-
declare const meta$
|
|
25633
|
-
declare const meta$
|
|
25634
|
-
declare const meta$
|
|
25635
|
-
declare const meta$
|
|
25636
|
-
declare const meta$
|
|
25637
|
-
declare const meta$
|
|
25638
|
-
declare const meta$
|
|
25639
|
-
declare namespace meta$
|
|
25640
|
-
export { type __PublicMethodMetaInfo$
|
|
25632
|
+
declare const meta$6_bulkUpdateOrders: typeof bulkUpdateOrders;
|
|
25633
|
+
declare const meta$6_cancelOrder: typeof cancelOrder;
|
|
25634
|
+
declare const meta$6_createOrder: typeof createOrder;
|
|
25635
|
+
declare const meta$6_getOrder: typeof getOrder;
|
|
25636
|
+
declare const meta$6_getPaymentCollectabilityStatus: typeof getPaymentCollectabilityStatus;
|
|
25637
|
+
declare const meta$6_searchOrders: typeof searchOrders;
|
|
25638
|
+
declare const meta$6_updateOrder: typeof updateOrder;
|
|
25639
|
+
declare namespace meta$6 {
|
|
25640
|
+
export { type __PublicMethodMetaInfo$6 as __PublicMethodMetaInfo, meta$6_bulkUpdateOrders as bulkUpdateOrders, meta$6_cancelOrder as cancelOrder, meta$6_createOrder as createOrder, meta$6_getOrder as getOrder, meta$6_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, meta$6_searchOrders as searchOrders, meta$6_updateOrder as updateOrder };
|
|
25641
25641
|
}
|
|
25642
25642
|
|
|
25643
25643
|
interface OrderTransactions$1 {
|
|
@@ -26436,7 +26436,7 @@ interface BulkUpdatePaymentStatusesResponseNonNullableFields {
|
|
|
26436
26436
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
26437
26437
|
}
|
|
26438
26438
|
|
|
26439
|
-
type __PublicMethodMetaInfo$
|
|
26439
|
+
type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
26440
26440
|
getUrl: (context: any) => string;
|
|
26441
26441
|
httpMethod: K;
|
|
26442
26442
|
path: string;
|
|
@@ -26446,26 +26446,26 @@ type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
26446
26446
|
__responseType: Q;
|
|
26447
26447
|
__originalResponseType: R;
|
|
26448
26448
|
};
|
|
26449
|
-
declare function listTransactionsForSingleOrder(): __PublicMethodMetaInfo$
|
|
26449
|
+
declare function listTransactionsForSingleOrder(): __PublicMethodMetaInfo$5<'GET', {
|
|
26450
26450
|
orderId: string;
|
|
26451
26451
|
}, ListTransactionsForSingleOrderRequest, ListTransactionsForSingleOrderRequest$1, ListTransactionsForSingleOrderResponse & ListTransactionsForSingleOrderResponseNonNullableFields, ListTransactionsForSingleOrderResponse$1 & ListTransactionsForSingleOrderResponseNonNullableFields$1>;
|
|
26452
|
-
declare function listTransactionsForMultipleOrders(): __PublicMethodMetaInfo$
|
|
26453
|
-
declare function addPayments(): __PublicMethodMetaInfo$
|
|
26452
|
+
declare function listTransactionsForMultipleOrders(): __PublicMethodMetaInfo$5<'POST', {}, ListTransactionsForMultipleOrdersRequest, ListTransactionsForMultipleOrdersRequest$1, ListTransactionsForMultipleOrdersResponse & ListTransactionsForMultipleOrdersResponseNonNullableFields, ListTransactionsForMultipleOrdersResponse$1 & ListTransactionsForMultipleOrdersResponseNonNullableFields$1>;
|
|
26453
|
+
declare function addPayments(): __PublicMethodMetaInfo$5<'POST', {
|
|
26454
26454
|
orderId: string;
|
|
26455
26455
|
}, AddPaymentsRequest, AddPaymentsRequest$1, AddPaymentsResponse & AddPaymentsResponseNonNullableFields, AddPaymentsResponse$1 & AddPaymentsResponseNonNullableFields$1>;
|
|
26456
|
-
declare function updatePaymentStatus(): __PublicMethodMetaInfo$
|
|
26456
|
+
declare function updatePaymentStatus(): __PublicMethodMetaInfo$5<'POST', {
|
|
26457
26457
|
paymentId: string;
|
|
26458
26458
|
orderId: string;
|
|
26459
26459
|
}, UpdatePaymentStatusRequest, UpdatePaymentStatusRequest$1, UpdatePaymentStatusResponse & UpdatePaymentStatusResponseNonNullableFields, UpdatePaymentStatusResponse$1 & UpdatePaymentStatusResponseNonNullableFields$1>;
|
|
26460
|
-
declare function bulkUpdatePaymentStatuses(): __PublicMethodMetaInfo$
|
|
26460
|
+
declare function bulkUpdatePaymentStatuses(): __PublicMethodMetaInfo$5<'POST', {}, BulkUpdatePaymentStatusesRequest, BulkUpdatePaymentStatusesRequest$1, BulkUpdatePaymentStatusesResponse & BulkUpdatePaymentStatusesResponseNonNullableFields, BulkUpdatePaymentStatusesResponse$1 & BulkUpdatePaymentStatusesResponseNonNullableFields$1>;
|
|
26461
26461
|
|
|
26462
|
-
declare const meta$
|
|
26463
|
-
declare const meta$
|
|
26464
|
-
declare const meta$
|
|
26465
|
-
declare const meta$
|
|
26466
|
-
declare const meta$
|
|
26467
|
-
declare namespace meta$
|
|
26468
|
-
export { type __PublicMethodMetaInfo$
|
|
26462
|
+
declare const meta$5_addPayments: typeof addPayments;
|
|
26463
|
+
declare const meta$5_bulkUpdatePaymentStatuses: typeof bulkUpdatePaymentStatuses;
|
|
26464
|
+
declare const meta$5_listTransactionsForMultipleOrders: typeof listTransactionsForMultipleOrders;
|
|
26465
|
+
declare const meta$5_listTransactionsForSingleOrder: typeof listTransactionsForSingleOrder;
|
|
26466
|
+
declare const meta$5_updatePaymentStatus: typeof updatePaymentStatus;
|
|
26467
|
+
declare namespace meta$5 {
|
|
26468
|
+
export { type __PublicMethodMetaInfo$5 as __PublicMethodMetaInfo, meta$5_addPayments as addPayments, meta$5_bulkUpdatePaymentStatuses as bulkUpdatePaymentStatuses, meta$5_listTransactionsForMultipleOrders as listTransactionsForMultipleOrders, meta$5_listTransactionsForSingleOrder as listTransactionsForSingleOrder, meta$5_updatePaymentStatus as updatePaymentStatus };
|
|
26469
26469
|
}
|
|
26470
26470
|
|
|
26471
26471
|
interface OrdersSettings$1 {
|
|
@@ -26581,7 +26581,7 @@ interface UpdateOrdersSettingsResponseNonNullableFields {
|
|
|
26581
26581
|
ordersSettings?: OrdersSettingsNonNullableFields;
|
|
26582
26582
|
}
|
|
26583
26583
|
|
|
26584
|
-
type __PublicMethodMetaInfo$
|
|
26584
|
+
type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
26585
26585
|
getUrl: (context: any) => string;
|
|
26586
26586
|
httpMethod: K;
|
|
26587
26587
|
path: string;
|
|
@@ -26591,13 +26591,13 @@ type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
26591
26591
|
__responseType: Q;
|
|
26592
26592
|
__originalResponseType: R;
|
|
26593
26593
|
};
|
|
26594
|
-
declare function getOrdersSettings(): __PublicMethodMetaInfo$
|
|
26595
|
-
declare function updateOrdersSettings(): __PublicMethodMetaInfo$
|
|
26594
|
+
declare function getOrdersSettings(): __PublicMethodMetaInfo$4<'GET', {}, GetOrdersSettingsRequest, GetOrdersSettingsRequest$1, GetOrdersSettingsResponse & GetOrdersSettingsResponseNonNullableFields, GetOrdersSettingsResponse$1 & GetOrdersSettingsResponseNonNullableFields$1>;
|
|
26595
|
+
declare function updateOrdersSettings(): __PublicMethodMetaInfo$4<'PATCH', {}, UpdateOrdersSettingsRequest, UpdateOrdersSettingsRequest$1, UpdateOrdersSettingsResponse & UpdateOrdersSettingsResponseNonNullableFields, UpdateOrdersSettingsResponse$1 & UpdateOrdersSettingsResponseNonNullableFields$1>;
|
|
26596
26596
|
|
|
26597
|
-
declare const meta$
|
|
26598
|
-
declare const meta$
|
|
26599
|
-
declare namespace meta$
|
|
26600
|
-
export { type __PublicMethodMetaInfo$
|
|
26597
|
+
declare const meta$4_getOrdersSettings: typeof getOrdersSettings;
|
|
26598
|
+
declare const meta$4_updateOrdersSettings: typeof updateOrdersSettings;
|
|
26599
|
+
declare namespace meta$4 {
|
|
26600
|
+
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_getOrdersSettings as getOrdersSettings, meta$4_updateOrdersSettings as updateOrdersSettings };
|
|
26601
26601
|
}
|
|
26602
26602
|
|
|
26603
26603
|
/** PickupLocation is the main entity of PickupLocations that can be used for lorem ipsum dolor */
|
|
@@ -26632,7 +26632,7 @@ interface PickupLocation$1 {
|
|
|
26632
26632
|
/** inactive pickup locations should not be shown in checkout */
|
|
26633
26633
|
active?: boolean | null;
|
|
26634
26634
|
/** at runtime for a given pickup input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one. */
|
|
26635
|
-
rates?: ConditionalRates$
|
|
26635
|
+
rates?: ConditionalRates$3[];
|
|
26636
26636
|
}
|
|
26637
26637
|
/** Physical address */
|
|
26638
26638
|
interface Address$3 extends AddressStreetOneOf$1 {
|
|
@@ -26658,16 +26658,16 @@ interface StreetAddress$3 {
|
|
|
26658
26658
|
number?: string;
|
|
26659
26659
|
name?: string;
|
|
26660
26660
|
}
|
|
26661
|
-
interface ConditionalRates$
|
|
26661
|
+
interface ConditionalRates$3 {
|
|
26662
26662
|
/**
|
|
26663
26663
|
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
26664
26664
|
* For example: weight > 0 and weight <= 10
|
|
26665
26665
|
*/
|
|
26666
|
-
conditions?: Condition$
|
|
26666
|
+
conditions?: Condition$3[];
|
|
26667
26667
|
amount?: string;
|
|
26668
26668
|
}
|
|
26669
|
-
interface Condition$
|
|
26670
|
-
type?: ConditionType$
|
|
26669
|
+
interface Condition$3 {
|
|
26670
|
+
type?: ConditionType$3;
|
|
26671
26671
|
/**
|
|
26672
26672
|
* The value in respective to the condition type
|
|
26673
26673
|
* Weight values should be in the same weight units of the store: KG / LB
|
|
@@ -26675,15 +26675,15 @@ interface Condition$1 {
|
|
|
26675
26675
|
* Quantity of items should be integers
|
|
26676
26676
|
*/
|
|
26677
26677
|
value?: string;
|
|
26678
|
-
operator?: LogicalOperator$
|
|
26678
|
+
operator?: LogicalOperator$3;
|
|
26679
26679
|
}
|
|
26680
|
-
declare enum ConditionType$
|
|
26680
|
+
declare enum ConditionType$3 {
|
|
26681
26681
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
26682
26682
|
BY_TOTAL_WEIGHT = "BY_TOTAL_WEIGHT",
|
|
26683
26683
|
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
26684
26684
|
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
26685
26685
|
}
|
|
26686
|
-
declare enum LogicalOperator$
|
|
26686
|
+
declare enum LogicalOperator$3 {
|
|
26687
26687
|
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
26688
26688
|
EQ = "EQ",
|
|
26689
26689
|
GT = "GT",
|
|
@@ -26729,7 +26729,7 @@ interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
|
26729
26729
|
/** Paging options to limit and skip the number of items. */
|
|
26730
26730
|
paging?: Paging$1;
|
|
26731
26731
|
/** 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`. */
|
|
26732
|
-
cursorPaging?: CursorPaging$
|
|
26732
|
+
cursorPaging?: CursorPaging$5;
|
|
26733
26733
|
/**
|
|
26734
26734
|
* Filter object in the following format:
|
|
26735
26735
|
* `"filter" : {
|
|
@@ -26743,7 +26743,7 @@ interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
|
26743
26743
|
* Sort object in the following format:
|
|
26744
26744
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
26745
26745
|
*/
|
|
26746
|
-
sort?: Sorting$
|
|
26746
|
+
sort?: Sorting$5[];
|
|
26747
26747
|
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
26748
26748
|
fields?: string[];
|
|
26749
26749
|
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
@@ -26754,15 +26754,15 @@ interface QueryV2PagingMethodOneOf$1 {
|
|
|
26754
26754
|
/** Paging options to limit and skip the number of items. */
|
|
26755
26755
|
paging?: Paging$1;
|
|
26756
26756
|
/** 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`. */
|
|
26757
|
-
cursorPaging?: CursorPaging$
|
|
26757
|
+
cursorPaging?: CursorPaging$5;
|
|
26758
26758
|
}
|
|
26759
|
-
interface Sorting$
|
|
26759
|
+
interface Sorting$5 {
|
|
26760
26760
|
/** Name of the field to sort by. */
|
|
26761
26761
|
fieldName?: string;
|
|
26762
26762
|
/** Sort order. */
|
|
26763
|
-
order?: SortOrder$
|
|
26763
|
+
order?: SortOrder$5;
|
|
26764
26764
|
}
|
|
26765
|
-
declare enum SortOrder$
|
|
26765
|
+
declare enum SortOrder$5 {
|
|
26766
26766
|
ASC = "ASC",
|
|
26767
26767
|
DESC = "DESC"
|
|
26768
26768
|
}
|
|
@@ -26772,7 +26772,7 @@ interface Paging$1 {
|
|
|
26772
26772
|
/** Number of items to skip in the current sort order. */
|
|
26773
26773
|
offset?: number | null;
|
|
26774
26774
|
}
|
|
26775
|
-
interface CursorPaging$
|
|
26775
|
+
interface CursorPaging$5 {
|
|
26776
26776
|
/** Maximum number of items to return in the results. */
|
|
26777
26777
|
limit?: number | null;
|
|
26778
26778
|
/**
|
|
@@ -26787,13 +26787,13 @@ interface QueryPickupLocationResponse$1 {
|
|
|
26787
26787
|
/** The retrieved PickupLocations */
|
|
26788
26788
|
pickupLocations?: PickupLocation$1[];
|
|
26789
26789
|
/** Paging metadata */
|
|
26790
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
26790
|
+
pagingMetadata?: CursorPagingMetadata$5;
|
|
26791
26791
|
}
|
|
26792
|
-
interface CursorPagingMetadata$
|
|
26792
|
+
interface CursorPagingMetadata$5 {
|
|
26793
26793
|
/** Number of items returned in the response. */
|
|
26794
26794
|
count?: number | null;
|
|
26795
26795
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
26796
|
-
cursors?: Cursors$
|
|
26796
|
+
cursors?: Cursors$5;
|
|
26797
26797
|
/**
|
|
26798
26798
|
* Whether there are more pages to retrieve following the current page.
|
|
26799
26799
|
*
|
|
@@ -26802,7 +26802,7 @@ interface CursorPagingMetadata$3 {
|
|
|
26802
26802
|
*/
|
|
26803
26803
|
hasNext?: boolean | null;
|
|
26804
26804
|
}
|
|
26805
|
-
interface Cursors$
|
|
26805
|
+
interface Cursors$5 {
|
|
26806
26806
|
/** Cursor string pointing to the next page in the list of results. */
|
|
26807
26807
|
next?: string | null;
|
|
26808
26808
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -26848,18 +26848,18 @@ interface StreetAddressNonNullableFields$3 {
|
|
|
26848
26848
|
interface AddressNonNullableFields$3 {
|
|
26849
26849
|
streetAddress?: StreetAddressNonNullableFields$3;
|
|
26850
26850
|
}
|
|
26851
|
-
interface ConditionNonNullableFields$
|
|
26852
|
-
type: ConditionType$
|
|
26851
|
+
interface ConditionNonNullableFields$3 {
|
|
26852
|
+
type: ConditionType$3;
|
|
26853
26853
|
value: string;
|
|
26854
|
-
operator: LogicalOperator$
|
|
26854
|
+
operator: LogicalOperator$3;
|
|
26855
26855
|
}
|
|
26856
|
-
interface ConditionalRatesNonNullableFields$
|
|
26857
|
-
conditions: ConditionNonNullableFields$
|
|
26856
|
+
interface ConditionalRatesNonNullableFields$3 {
|
|
26857
|
+
conditions: ConditionNonNullableFields$3[];
|
|
26858
26858
|
amount: string;
|
|
26859
26859
|
}
|
|
26860
26860
|
interface PickupLocationNonNullableFields$1 {
|
|
26861
26861
|
address?: AddressNonNullableFields$3;
|
|
26862
|
-
rates: ConditionalRatesNonNullableFields$
|
|
26862
|
+
rates: ConditionalRatesNonNullableFields$3[];
|
|
26863
26863
|
}
|
|
26864
26864
|
interface CreatePickupLocationResponseNonNullableFields$1 {
|
|
26865
26865
|
pickupLocation?: PickupLocationNonNullableFields$1;
|
|
@@ -26925,7 +26925,7 @@ interface PickupLocation {
|
|
|
26925
26925
|
/** inactive pickup locations should not be shown in checkout */
|
|
26926
26926
|
active?: boolean | null;
|
|
26927
26927
|
/** at runtime for a given pickup input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one. */
|
|
26928
|
-
rates?: ConditionalRates[];
|
|
26928
|
+
rates?: ConditionalRates$2[];
|
|
26929
26929
|
}
|
|
26930
26930
|
/** Physical address */
|
|
26931
26931
|
interface Address$2 extends AddressStreetOneOf {
|
|
@@ -26951,16 +26951,16 @@ interface StreetAddress$2 {
|
|
|
26951
26951
|
number?: string;
|
|
26952
26952
|
name?: string;
|
|
26953
26953
|
}
|
|
26954
|
-
interface ConditionalRates {
|
|
26954
|
+
interface ConditionalRates$2 {
|
|
26955
26955
|
/**
|
|
26956
26956
|
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
26957
26957
|
* For example: weight > 0 and weight <= 10
|
|
26958
26958
|
*/
|
|
26959
|
-
conditions?: Condition[];
|
|
26959
|
+
conditions?: Condition$2[];
|
|
26960
26960
|
amount?: string;
|
|
26961
26961
|
}
|
|
26962
|
-
interface Condition {
|
|
26963
|
-
type?: ConditionType;
|
|
26962
|
+
interface Condition$2 {
|
|
26963
|
+
type?: ConditionType$2;
|
|
26964
26964
|
/**
|
|
26965
26965
|
* The value in respective to the condition type
|
|
26966
26966
|
* Weight values should be in the same weight units of the store: KG / LB
|
|
@@ -26968,15 +26968,15 @@ interface Condition {
|
|
|
26968
26968
|
* Quantity of items should be integers
|
|
26969
26969
|
*/
|
|
26970
26970
|
value?: string;
|
|
26971
|
-
operator?: LogicalOperator;
|
|
26971
|
+
operator?: LogicalOperator$2;
|
|
26972
26972
|
}
|
|
26973
|
-
declare enum ConditionType {
|
|
26973
|
+
declare enum ConditionType$2 {
|
|
26974
26974
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
26975
26975
|
BY_TOTAL_WEIGHT = "BY_TOTAL_WEIGHT",
|
|
26976
26976
|
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
26977
26977
|
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
26978
26978
|
}
|
|
26979
|
-
declare enum LogicalOperator {
|
|
26979
|
+
declare enum LogicalOperator$2 {
|
|
26980
26980
|
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
26981
26981
|
EQ = "EQ",
|
|
26982
26982
|
GT = "GT",
|
|
@@ -27022,7 +27022,7 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
27022
27022
|
/** Paging options to limit and skip the number of items. */
|
|
27023
27023
|
paging?: Paging;
|
|
27024
27024
|
/** 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`. */
|
|
27025
|
-
cursorPaging?: CursorPaging$
|
|
27025
|
+
cursorPaging?: CursorPaging$4;
|
|
27026
27026
|
/**
|
|
27027
27027
|
* Filter object in the following format:
|
|
27028
27028
|
* `"filter" : {
|
|
@@ -27036,7 +27036,7 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
27036
27036
|
* Sort object in the following format:
|
|
27037
27037
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
27038
27038
|
*/
|
|
27039
|
-
sort?: Sorting$
|
|
27039
|
+
sort?: Sorting$4[];
|
|
27040
27040
|
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
27041
27041
|
fields?: string[];
|
|
27042
27042
|
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
@@ -27047,15 +27047,15 @@ interface QueryV2PagingMethodOneOf {
|
|
|
27047
27047
|
/** Paging options to limit and skip the number of items. */
|
|
27048
27048
|
paging?: Paging;
|
|
27049
27049
|
/** 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`. */
|
|
27050
|
-
cursorPaging?: CursorPaging$
|
|
27050
|
+
cursorPaging?: CursorPaging$4;
|
|
27051
27051
|
}
|
|
27052
|
-
interface Sorting$
|
|
27052
|
+
interface Sorting$4 {
|
|
27053
27053
|
/** Name of the field to sort by. */
|
|
27054
27054
|
fieldName?: string;
|
|
27055
27055
|
/** Sort order. */
|
|
27056
|
-
order?: SortOrder$
|
|
27056
|
+
order?: SortOrder$4;
|
|
27057
27057
|
}
|
|
27058
|
-
declare enum SortOrder$
|
|
27058
|
+
declare enum SortOrder$4 {
|
|
27059
27059
|
ASC = "ASC",
|
|
27060
27060
|
DESC = "DESC"
|
|
27061
27061
|
}
|
|
@@ -27065,7 +27065,7 @@ interface Paging {
|
|
|
27065
27065
|
/** Number of items to skip in the current sort order. */
|
|
27066
27066
|
offset?: number | null;
|
|
27067
27067
|
}
|
|
27068
|
-
interface CursorPaging$
|
|
27068
|
+
interface CursorPaging$4 {
|
|
27069
27069
|
/** Maximum number of items to return in the results. */
|
|
27070
27070
|
limit?: number | null;
|
|
27071
27071
|
/**
|
|
@@ -27080,13 +27080,13 @@ interface QueryPickupLocationResponse {
|
|
|
27080
27080
|
/** The retrieved PickupLocations */
|
|
27081
27081
|
pickupLocations?: PickupLocation[];
|
|
27082
27082
|
/** Paging metadata */
|
|
27083
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
27083
|
+
pagingMetadata?: CursorPagingMetadata$4;
|
|
27084
27084
|
}
|
|
27085
|
-
interface CursorPagingMetadata$
|
|
27085
|
+
interface CursorPagingMetadata$4 {
|
|
27086
27086
|
/** Number of items returned in the response. */
|
|
27087
27087
|
count?: number | null;
|
|
27088
27088
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
27089
|
-
cursors?: Cursors$
|
|
27089
|
+
cursors?: Cursors$4;
|
|
27090
27090
|
/**
|
|
27091
27091
|
* Whether there are more pages to retrieve following the current page.
|
|
27092
27092
|
*
|
|
@@ -27095,7 +27095,7 @@ interface CursorPagingMetadata$2 {
|
|
|
27095
27095
|
*/
|
|
27096
27096
|
hasNext?: boolean | null;
|
|
27097
27097
|
}
|
|
27098
|
-
interface Cursors$
|
|
27098
|
+
interface Cursors$4 {
|
|
27099
27099
|
/** Cursor string pointing to the next page in the list of results. */
|
|
27100
27100
|
next?: string | null;
|
|
27101
27101
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -27141,18 +27141,18 @@ interface StreetAddressNonNullableFields$2 {
|
|
|
27141
27141
|
interface AddressNonNullableFields$2 {
|
|
27142
27142
|
streetAddress?: StreetAddressNonNullableFields$2;
|
|
27143
27143
|
}
|
|
27144
|
-
interface ConditionNonNullableFields {
|
|
27145
|
-
type: ConditionType;
|
|
27144
|
+
interface ConditionNonNullableFields$2 {
|
|
27145
|
+
type: ConditionType$2;
|
|
27146
27146
|
value: string;
|
|
27147
|
-
operator: LogicalOperator;
|
|
27147
|
+
operator: LogicalOperator$2;
|
|
27148
27148
|
}
|
|
27149
|
-
interface ConditionalRatesNonNullableFields {
|
|
27150
|
-
conditions: ConditionNonNullableFields[];
|
|
27149
|
+
interface ConditionalRatesNonNullableFields$2 {
|
|
27150
|
+
conditions: ConditionNonNullableFields$2[];
|
|
27151
27151
|
amount: string;
|
|
27152
27152
|
}
|
|
27153
27153
|
interface PickupLocationNonNullableFields {
|
|
27154
27154
|
address?: AddressNonNullableFields$2;
|
|
27155
|
-
rates: ConditionalRatesNonNullableFields[];
|
|
27155
|
+
rates: ConditionalRatesNonNullableFields$2[];
|
|
27156
27156
|
}
|
|
27157
27157
|
interface CreatePickupLocationResponseNonNullableFields {
|
|
27158
27158
|
pickupLocation?: PickupLocationNonNullableFields;
|
|
@@ -27186,7 +27186,7 @@ interface BulkDeletePickupLocationResponseNonNullableFields {
|
|
|
27186
27186
|
errors: PickupLocationErrorNonNullableFields[];
|
|
27187
27187
|
}
|
|
27188
27188
|
|
|
27189
|
-
type __PublicMethodMetaInfo$
|
|
27189
|
+
type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
27190
27190
|
getUrl: (context: any) => string;
|
|
27191
27191
|
httpMethod: K;
|
|
27192
27192
|
path: string;
|
|
@@ -27196,31 +27196,511 @@ type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
27196
27196
|
__responseType: Q;
|
|
27197
27197
|
__originalResponseType: R;
|
|
27198
27198
|
};
|
|
27199
|
-
declare function createPickupLocation(): __PublicMethodMetaInfo$
|
|
27200
|
-
declare function getPickupLocation(): __PublicMethodMetaInfo$
|
|
27199
|
+
declare function createPickupLocation(): __PublicMethodMetaInfo$3<'POST', {}, CreatePickupLocationRequest, CreatePickupLocationRequest$1, CreatePickupLocationResponse & CreatePickupLocationResponseNonNullableFields, CreatePickupLocationResponse$1 & CreatePickupLocationResponseNonNullableFields$1>;
|
|
27200
|
+
declare function getPickupLocation(): __PublicMethodMetaInfo$3<'GET', {
|
|
27201
27201
|
pickupLocationId: string;
|
|
27202
27202
|
}, GetPickupLocationRequest, GetPickupLocationRequest$1, GetPickupLocationResponse & GetPickupLocationResponseNonNullableFields, GetPickupLocationResponse$1 & GetPickupLocationResponseNonNullableFields$1>;
|
|
27203
|
-
declare function updatePickupLocation(): __PublicMethodMetaInfo$
|
|
27203
|
+
declare function updatePickupLocation(): __PublicMethodMetaInfo$3<'PATCH', {
|
|
27204
27204
|
pickupLocationId: string;
|
|
27205
27205
|
}, UpdatePickupLocationRequest, UpdatePickupLocationRequest$1, UpdatePickupLocationResponse & UpdatePickupLocationResponseNonNullableFields, UpdatePickupLocationResponse$1 & UpdatePickupLocationResponseNonNullableFields$1>;
|
|
27206
|
-
declare function deletePickupLocation(): __PublicMethodMetaInfo$
|
|
27206
|
+
declare function deletePickupLocation(): __PublicMethodMetaInfo$3<'DELETE', {
|
|
27207
27207
|
pickupLocationId: string;
|
|
27208
27208
|
}, DeletePickupLocationRequest, DeletePickupLocationRequest$1, DeletePickupLocationResponse, DeletePickupLocationResponse$1>;
|
|
27209
|
-
declare function queryPickupLocation(): __PublicMethodMetaInfo$
|
|
27210
|
-
declare function bulkCreatePickupLocation(): __PublicMethodMetaInfo$
|
|
27211
|
-
declare function bulkUpdatePickupLocation(): __PublicMethodMetaInfo$
|
|
27212
|
-
declare function bulkDeletePickupLocation(): __PublicMethodMetaInfo$
|
|
27209
|
+
declare function queryPickupLocation(): __PublicMethodMetaInfo$3<'POST', {}, QueryPickupLocationRequest, QueryPickupLocationRequest$1, QueryPickupLocationResponse & QueryPickupLocationResponseNonNullableFields, QueryPickupLocationResponse$1 & QueryPickupLocationResponseNonNullableFields$1>;
|
|
27210
|
+
declare function bulkCreatePickupLocation(): __PublicMethodMetaInfo$3<'POST', {}, BulkCreatePickupLocationRequest, BulkCreatePickupLocationRequest$1, BulkCreatePickupLocationResponse & BulkCreatePickupLocationResponseNonNullableFields, BulkCreatePickupLocationResponse$1 & BulkCreatePickupLocationResponseNonNullableFields$1>;
|
|
27211
|
+
declare function bulkUpdatePickupLocation(): __PublicMethodMetaInfo$3<'PATCH', {}, BulkUpdatePickupLocationRequest, BulkUpdatePickupLocationRequest$1, BulkUpdatePickupLocationResponse & BulkUpdatePickupLocationResponseNonNullableFields, BulkUpdatePickupLocationResponse$1 & BulkUpdatePickupLocationResponseNonNullableFields$1>;
|
|
27212
|
+
declare function bulkDeletePickupLocation(): __PublicMethodMetaInfo$3<'DELETE', {}, BulkDeletePickupLocationRequest, BulkDeletePickupLocationRequest$1, BulkDeletePickupLocationResponse & BulkDeletePickupLocationResponseNonNullableFields, BulkDeletePickupLocationResponse$1 & BulkDeletePickupLocationResponseNonNullableFields$1>;
|
|
27213
|
+
|
|
27214
|
+
declare const meta$3_bulkCreatePickupLocation: typeof bulkCreatePickupLocation;
|
|
27215
|
+
declare const meta$3_bulkDeletePickupLocation: typeof bulkDeletePickupLocation;
|
|
27216
|
+
declare const meta$3_bulkUpdatePickupLocation: typeof bulkUpdatePickupLocation;
|
|
27217
|
+
declare const meta$3_createPickupLocation: typeof createPickupLocation;
|
|
27218
|
+
declare const meta$3_deletePickupLocation: typeof deletePickupLocation;
|
|
27219
|
+
declare const meta$3_getPickupLocation: typeof getPickupLocation;
|
|
27220
|
+
declare const meta$3_queryPickupLocation: typeof queryPickupLocation;
|
|
27221
|
+
declare const meta$3_updatePickupLocation: typeof updatePickupLocation;
|
|
27222
|
+
declare namespace meta$3 {
|
|
27223
|
+
export { type __PublicMethodMetaInfo$3 as __PublicMethodMetaInfo, meta$3_bulkCreatePickupLocation as bulkCreatePickupLocation, meta$3_bulkDeletePickupLocation as bulkDeletePickupLocation, meta$3_bulkUpdatePickupLocation as bulkUpdatePickupLocation, meta$3_createPickupLocation as createPickupLocation, meta$3_deletePickupLocation as deletePickupLocation, meta$3_getPickupLocation as getPickupLocation, meta$3_queryPickupLocation as queryPickupLocation, meta$3_updatePickupLocation as updatePickupLocation };
|
|
27224
|
+
}
|
|
27225
|
+
|
|
27226
|
+
interface ShippingOption$1 {
|
|
27227
|
+
/**
|
|
27228
|
+
* ShippingOption ID.
|
|
27229
|
+
* @readonly
|
|
27230
|
+
*/
|
|
27231
|
+
id?: string | null;
|
|
27232
|
+
/**
|
|
27233
|
+
* Revision number, which increments by 1 each time the ShippingOption is updated.
|
|
27234
|
+
* To prevent conflicting changes,
|
|
27235
|
+
* the current revision must be passed when updating the ShippingOption.
|
|
27236
|
+
*
|
|
27237
|
+
* Ignored when creating a ShippingOption.
|
|
27238
|
+
* @readonly
|
|
27239
|
+
*/
|
|
27240
|
+
revision?: string | null;
|
|
27241
|
+
/**
|
|
27242
|
+
* Date and time the ShippingOption was created.
|
|
27243
|
+
* @readonly
|
|
27244
|
+
*/
|
|
27245
|
+
createdDate?: Date;
|
|
27246
|
+
/**
|
|
27247
|
+
* Date and time the ShippingOption was last updated.
|
|
27248
|
+
* @readonly
|
|
27249
|
+
*/
|
|
27250
|
+
updatedDate?: Date;
|
|
27251
|
+
/** Associated delivery region id. */
|
|
27252
|
+
deliveryRegionId?: string;
|
|
27253
|
+
/** Delivery option configured for the ShippingOption */
|
|
27254
|
+
title?: string | null;
|
|
27255
|
+
estimateDeliveryTime?: string | null;
|
|
27256
|
+
/** at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one. */
|
|
27257
|
+
rates?: ConditionalRates$1[];
|
|
27258
|
+
/** Data Extensions */
|
|
27259
|
+
extendedFields?: ExtendedFields$3;
|
|
27260
|
+
}
|
|
27261
|
+
interface ConditionalRates$1 {
|
|
27262
|
+
/**
|
|
27263
|
+
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
27264
|
+
* For example: weight > 0 and weight <= 10
|
|
27265
|
+
*/
|
|
27266
|
+
conditions?: Condition$1[];
|
|
27267
|
+
amount?: string;
|
|
27268
|
+
}
|
|
27269
|
+
interface Condition$1 {
|
|
27270
|
+
type?: ConditionType$1;
|
|
27271
|
+
/**
|
|
27272
|
+
* The value in respective to the condition type
|
|
27273
|
+
* Weight values should be in the same weight units of the store: KG / LB
|
|
27274
|
+
* Total price is according to the store currency
|
|
27275
|
+
* Quantity of items should be integers
|
|
27276
|
+
*/
|
|
27277
|
+
value?: string;
|
|
27278
|
+
operator?: LogicalOperator$1;
|
|
27279
|
+
}
|
|
27280
|
+
declare enum ConditionType$1 {
|
|
27281
|
+
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
27282
|
+
BY_TOTAL_WEIGHT = "BY_TOTAL_WEIGHT",
|
|
27283
|
+
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
27284
|
+
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
27285
|
+
}
|
|
27286
|
+
declare enum LogicalOperator$1 {
|
|
27287
|
+
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
27288
|
+
EQ = "EQ",
|
|
27289
|
+
GT = "GT",
|
|
27290
|
+
GTE = "GTE",
|
|
27291
|
+
LT = "LT",
|
|
27292
|
+
LTE = "LTE"
|
|
27293
|
+
}
|
|
27294
|
+
interface ExtendedFields$3 {
|
|
27295
|
+
/**
|
|
27296
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
27297
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
27298
|
+
*
|
|
27299
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
27300
|
+
*
|
|
27301
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
27302
|
+
*/
|
|
27303
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
27304
|
+
}
|
|
27305
|
+
interface CreateShippingOptionRequest$1 {
|
|
27306
|
+
/** ShippingOption to be created. */
|
|
27307
|
+
shippingOption: ShippingOption$1;
|
|
27308
|
+
}
|
|
27309
|
+
interface CreateShippingOptionResponse$1 {
|
|
27310
|
+
/** The created ShippingOption. */
|
|
27311
|
+
shippingOption?: ShippingOption$1;
|
|
27312
|
+
}
|
|
27313
|
+
interface GetShippingOptionRequest$1 {
|
|
27314
|
+
/** ID of the ShippingOption to retrieve. */
|
|
27315
|
+
shippingOptionId: string;
|
|
27316
|
+
}
|
|
27317
|
+
interface GetShippingOptionResponse$1 {
|
|
27318
|
+
/** The requested ShippingOption. */
|
|
27319
|
+
shippingOption?: ShippingOption$1;
|
|
27320
|
+
}
|
|
27321
|
+
interface UpdateShippingOptionRequest$1 {
|
|
27322
|
+
/** ShippingOption to be updated, may be partial. */
|
|
27323
|
+
shippingOption: ShippingOption$1;
|
|
27324
|
+
}
|
|
27325
|
+
interface UpdateShippingOptionResponse$1 {
|
|
27326
|
+
/** Updated ShippingOption. */
|
|
27327
|
+
shippingOption?: ShippingOption$1;
|
|
27328
|
+
}
|
|
27329
|
+
interface DeleteShippingOptionRequest$1 {
|
|
27330
|
+
/** Id of the ShippingOption to delete. */
|
|
27331
|
+
shippingOptionId: string;
|
|
27332
|
+
}
|
|
27333
|
+
interface DeleteShippingOptionResponse$1 {
|
|
27334
|
+
}
|
|
27335
|
+
interface QueryShippingOptionsRequest$1 {
|
|
27336
|
+
/** WQL expression. */
|
|
27337
|
+
query?: CursorQuery$3;
|
|
27338
|
+
}
|
|
27339
|
+
interface CursorQuery$3 extends CursorQueryPagingMethodOneOf$3 {
|
|
27340
|
+
/** 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`. */
|
|
27341
|
+
cursorPaging?: CursorPaging$3;
|
|
27342
|
+
/**
|
|
27343
|
+
* Filter object in the following format:
|
|
27344
|
+
* `"filter" : {
|
|
27345
|
+
* "fieldName1": "value1",
|
|
27346
|
+
* "fieldName2":{"$operator":"value2"}
|
|
27347
|
+
* }`
|
|
27348
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
27349
|
+
*/
|
|
27350
|
+
filter?: Record<string, any> | null;
|
|
27351
|
+
/**
|
|
27352
|
+
* Sort object in the following format:
|
|
27353
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
27354
|
+
*/
|
|
27355
|
+
sort?: Sorting$3[];
|
|
27356
|
+
}
|
|
27357
|
+
/** @oneof */
|
|
27358
|
+
interface CursorQueryPagingMethodOneOf$3 {
|
|
27359
|
+
/** 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`. */
|
|
27360
|
+
cursorPaging?: CursorPaging$3;
|
|
27361
|
+
}
|
|
27362
|
+
interface Sorting$3 {
|
|
27363
|
+
/** Name of the field to sort by. */
|
|
27364
|
+
fieldName?: string;
|
|
27365
|
+
/** Sort order. */
|
|
27366
|
+
order?: SortOrder$3;
|
|
27367
|
+
}
|
|
27368
|
+
declare enum SortOrder$3 {
|
|
27369
|
+
ASC = "ASC",
|
|
27370
|
+
DESC = "DESC"
|
|
27371
|
+
}
|
|
27372
|
+
interface CursorPaging$3 {
|
|
27373
|
+
/** Maximum number of items to return in the results. */
|
|
27374
|
+
limit?: number | null;
|
|
27375
|
+
/**
|
|
27376
|
+
* Pointer to the next or previous page in the list of results.
|
|
27377
|
+
*
|
|
27378
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
27379
|
+
* Not relevant for the first request.
|
|
27380
|
+
*/
|
|
27381
|
+
cursor?: string | null;
|
|
27382
|
+
}
|
|
27383
|
+
interface QueryShippingOptionsResponse$1 {
|
|
27384
|
+
/** List of ShippingOptions. */
|
|
27385
|
+
shippingOptions?: ShippingOption$1[];
|
|
27386
|
+
/** Paging metadata */
|
|
27387
|
+
pagingMetadata?: CursorPagingMetadata$3;
|
|
27388
|
+
}
|
|
27389
|
+
interface CursorPagingMetadata$3 {
|
|
27390
|
+
/** Number of items returned in the response. */
|
|
27391
|
+
count?: number | null;
|
|
27392
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
27393
|
+
cursors?: Cursors$3;
|
|
27394
|
+
/**
|
|
27395
|
+
* Whether there are more pages to retrieve following the current page.
|
|
27396
|
+
*
|
|
27397
|
+
* + `true`: Another page of results can be retrieved.
|
|
27398
|
+
* + `false`: This is the last page.
|
|
27399
|
+
*/
|
|
27400
|
+
hasNext?: boolean | null;
|
|
27401
|
+
}
|
|
27402
|
+
interface Cursors$3 {
|
|
27403
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
27404
|
+
next?: string | null;
|
|
27405
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
27406
|
+
prev?: string | null;
|
|
27407
|
+
}
|
|
27408
|
+
interface UpdateExtendedFieldsRequest$3 {
|
|
27409
|
+
/** ID of the entity to update. */
|
|
27410
|
+
id: string;
|
|
27411
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
27412
|
+
namespace: string;
|
|
27413
|
+
/** 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. */
|
|
27414
|
+
namespaceData: Record<string, any> | null;
|
|
27415
|
+
}
|
|
27416
|
+
interface UpdateExtendedFieldsResponse$3 {
|
|
27417
|
+
/** Updated ShippingOption. */
|
|
27418
|
+
shippingOption?: ShippingOption$1;
|
|
27419
|
+
}
|
|
27420
|
+
interface ConditionNonNullableFields$1 {
|
|
27421
|
+
type: ConditionType$1;
|
|
27422
|
+
value: string;
|
|
27423
|
+
operator: LogicalOperator$1;
|
|
27424
|
+
}
|
|
27425
|
+
interface ConditionalRatesNonNullableFields$1 {
|
|
27426
|
+
conditions: ConditionNonNullableFields$1[];
|
|
27427
|
+
amount: string;
|
|
27428
|
+
}
|
|
27429
|
+
interface ShippingOptionNonNullableFields$1 {
|
|
27430
|
+
deliveryRegionId: string;
|
|
27431
|
+
rates: ConditionalRatesNonNullableFields$1[];
|
|
27432
|
+
}
|
|
27433
|
+
interface CreateShippingOptionResponseNonNullableFields$1 {
|
|
27434
|
+
shippingOption?: ShippingOptionNonNullableFields$1;
|
|
27435
|
+
}
|
|
27436
|
+
interface GetShippingOptionResponseNonNullableFields$1 {
|
|
27437
|
+
shippingOption?: ShippingOptionNonNullableFields$1;
|
|
27438
|
+
}
|
|
27439
|
+
interface UpdateShippingOptionResponseNonNullableFields$1 {
|
|
27440
|
+
shippingOption?: ShippingOptionNonNullableFields$1;
|
|
27441
|
+
}
|
|
27442
|
+
interface QueryShippingOptionsResponseNonNullableFields$1 {
|
|
27443
|
+
shippingOptions: ShippingOptionNonNullableFields$1[];
|
|
27444
|
+
}
|
|
27445
|
+
interface UpdateExtendedFieldsResponseNonNullableFields$3 {
|
|
27446
|
+
shippingOption?: ShippingOptionNonNullableFields$1;
|
|
27447
|
+
}
|
|
27448
|
+
|
|
27449
|
+
interface ShippingOption {
|
|
27450
|
+
/**
|
|
27451
|
+
* ShippingOption ID.
|
|
27452
|
+
* @readonly
|
|
27453
|
+
*/
|
|
27454
|
+
_id?: string | null;
|
|
27455
|
+
/**
|
|
27456
|
+
* Revision number, which increments by 1 each time the ShippingOption is updated.
|
|
27457
|
+
* To prevent conflicting changes,
|
|
27458
|
+
* the current revision must be passed when updating the ShippingOption.
|
|
27459
|
+
*
|
|
27460
|
+
* Ignored when creating a ShippingOption.
|
|
27461
|
+
* @readonly
|
|
27462
|
+
*/
|
|
27463
|
+
revision?: string | null;
|
|
27464
|
+
/**
|
|
27465
|
+
* Date and time the ShippingOption was created.
|
|
27466
|
+
* @readonly
|
|
27467
|
+
*/
|
|
27468
|
+
_createdDate?: Date;
|
|
27469
|
+
/**
|
|
27470
|
+
* Date and time the ShippingOption was last updated.
|
|
27471
|
+
* @readonly
|
|
27472
|
+
*/
|
|
27473
|
+
_updatedDate?: Date;
|
|
27474
|
+
/** Associated delivery region id. */
|
|
27475
|
+
deliveryRegionId?: string;
|
|
27476
|
+
/** Delivery option configured for the ShippingOption */
|
|
27477
|
+
title?: string | null;
|
|
27478
|
+
estimateDeliveryTime?: string | null;
|
|
27479
|
+
/** at runtime for a given shipment input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one. */
|
|
27480
|
+
rates?: ConditionalRates[];
|
|
27481
|
+
/** Data Extensions */
|
|
27482
|
+
extendedFields?: ExtendedFields$2;
|
|
27483
|
+
}
|
|
27484
|
+
interface ConditionalRates {
|
|
27485
|
+
/**
|
|
27486
|
+
* there is an AND logic between all the conditions. Empty conditions means true.
|
|
27487
|
+
* For example: weight > 0 and weight <= 10
|
|
27488
|
+
*/
|
|
27489
|
+
conditions?: Condition[];
|
|
27490
|
+
amount?: string;
|
|
27491
|
+
}
|
|
27492
|
+
interface Condition {
|
|
27493
|
+
type?: ConditionType;
|
|
27494
|
+
/**
|
|
27495
|
+
* The value in respective to the condition type
|
|
27496
|
+
* Weight values should be in the same weight units of the store: KG / LB
|
|
27497
|
+
* Total price is according to the store currency
|
|
27498
|
+
* Quantity of items should be integers
|
|
27499
|
+
*/
|
|
27500
|
+
value?: string;
|
|
27501
|
+
operator?: LogicalOperator;
|
|
27502
|
+
}
|
|
27503
|
+
declare enum ConditionType {
|
|
27504
|
+
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
27505
|
+
BY_TOTAL_WEIGHT = "BY_TOTAL_WEIGHT",
|
|
27506
|
+
BY_TOTAL_PRICE = "BY_TOTAL_PRICE",
|
|
27507
|
+
BY_TOTAL_QUANTITY = "BY_TOTAL_QUANTITY"
|
|
27508
|
+
}
|
|
27509
|
+
declare enum LogicalOperator {
|
|
27510
|
+
UNKNOWN_LOGICAL_OPERATOR_TYPE = "UNKNOWN_LOGICAL_OPERATOR_TYPE",
|
|
27511
|
+
EQ = "EQ",
|
|
27512
|
+
GT = "GT",
|
|
27513
|
+
GTE = "GTE",
|
|
27514
|
+
LT = "LT",
|
|
27515
|
+
LTE = "LTE"
|
|
27516
|
+
}
|
|
27517
|
+
interface ExtendedFields$2 {
|
|
27518
|
+
/**
|
|
27519
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
27520
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
27521
|
+
*
|
|
27522
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
27523
|
+
*
|
|
27524
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
27525
|
+
*/
|
|
27526
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
27527
|
+
}
|
|
27528
|
+
interface CreateShippingOptionRequest {
|
|
27529
|
+
/** ShippingOption to be created. */
|
|
27530
|
+
shippingOption: ShippingOption;
|
|
27531
|
+
}
|
|
27532
|
+
interface CreateShippingOptionResponse {
|
|
27533
|
+
/** The created ShippingOption. */
|
|
27534
|
+
shippingOption?: ShippingOption;
|
|
27535
|
+
}
|
|
27536
|
+
interface GetShippingOptionRequest {
|
|
27537
|
+
/** ID of the ShippingOption to retrieve. */
|
|
27538
|
+
shippingOptionId: string;
|
|
27539
|
+
}
|
|
27540
|
+
interface GetShippingOptionResponse {
|
|
27541
|
+
/** The requested ShippingOption. */
|
|
27542
|
+
shippingOption?: ShippingOption;
|
|
27543
|
+
}
|
|
27544
|
+
interface UpdateShippingOptionRequest {
|
|
27545
|
+
/** ShippingOption to be updated, may be partial. */
|
|
27546
|
+
shippingOption: ShippingOption;
|
|
27547
|
+
}
|
|
27548
|
+
interface UpdateShippingOptionResponse {
|
|
27549
|
+
/** Updated ShippingOption. */
|
|
27550
|
+
shippingOption?: ShippingOption;
|
|
27551
|
+
}
|
|
27552
|
+
interface DeleteShippingOptionRequest {
|
|
27553
|
+
/** Id of the ShippingOption to delete. */
|
|
27554
|
+
shippingOptionId: string;
|
|
27555
|
+
}
|
|
27556
|
+
interface DeleteShippingOptionResponse {
|
|
27557
|
+
}
|
|
27558
|
+
interface QueryShippingOptionsRequest {
|
|
27559
|
+
/** WQL expression. */
|
|
27560
|
+
query?: CursorQuery$2;
|
|
27561
|
+
}
|
|
27562
|
+
interface CursorQuery$2 extends CursorQueryPagingMethodOneOf$2 {
|
|
27563
|
+
/** 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`. */
|
|
27564
|
+
cursorPaging?: CursorPaging$2;
|
|
27565
|
+
/**
|
|
27566
|
+
* Filter object in the following format:
|
|
27567
|
+
* `"filter" : {
|
|
27568
|
+
* "fieldName1": "value1",
|
|
27569
|
+
* "fieldName2":{"$operator":"value2"}
|
|
27570
|
+
* }`
|
|
27571
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
27572
|
+
*/
|
|
27573
|
+
filter?: Record<string, any> | null;
|
|
27574
|
+
/**
|
|
27575
|
+
* Sort object in the following format:
|
|
27576
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
27577
|
+
*/
|
|
27578
|
+
sort?: Sorting$2[];
|
|
27579
|
+
}
|
|
27580
|
+
/** @oneof */
|
|
27581
|
+
interface CursorQueryPagingMethodOneOf$2 {
|
|
27582
|
+
/** 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`. */
|
|
27583
|
+
cursorPaging?: CursorPaging$2;
|
|
27584
|
+
}
|
|
27585
|
+
interface Sorting$2 {
|
|
27586
|
+
/** Name of the field to sort by. */
|
|
27587
|
+
fieldName?: string;
|
|
27588
|
+
/** Sort order. */
|
|
27589
|
+
order?: SortOrder$2;
|
|
27590
|
+
}
|
|
27591
|
+
declare enum SortOrder$2 {
|
|
27592
|
+
ASC = "ASC",
|
|
27593
|
+
DESC = "DESC"
|
|
27594
|
+
}
|
|
27595
|
+
interface CursorPaging$2 {
|
|
27596
|
+
/** Maximum number of items to return in the results. */
|
|
27597
|
+
limit?: number | null;
|
|
27598
|
+
/**
|
|
27599
|
+
* Pointer to the next or previous page in the list of results.
|
|
27600
|
+
*
|
|
27601
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
27602
|
+
* Not relevant for the first request.
|
|
27603
|
+
*/
|
|
27604
|
+
cursor?: string | null;
|
|
27605
|
+
}
|
|
27606
|
+
interface QueryShippingOptionsResponse {
|
|
27607
|
+
/** List of ShippingOptions. */
|
|
27608
|
+
shippingOptions?: ShippingOption[];
|
|
27609
|
+
/** Paging metadata */
|
|
27610
|
+
pagingMetadata?: CursorPagingMetadata$2;
|
|
27611
|
+
}
|
|
27612
|
+
interface CursorPagingMetadata$2 {
|
|
27613
|
+
/** Number of items returned in the response. */
|
|
27614
|
+
count?: number | null;
|
|
27615
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
27616
|
+
cursors?: Cursors$2;
|
|
27617
|
+
/**
|
|
27618
|
+
* Whether there are more pages to retrieve following the current page.
|
|
27619
|
+
*
|
|
27620
|
+
* + `true`: Another page of results can be retrieved.
|
|
27621
|
+
* + `false`: This is the last page.
|
|
27622
|
+
*/
|
|
27623
|
+
hasNext?: boolean | null;
|
|
27624
|
+
}
|
|
27625
|
+
interface Cursors$2 {
|
|
27626
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
27627
|
+
next?: string | null;
|
|
27628
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
27629
|
+
prev?: string | null;
|
|
27630
|
+
}
|
|
27631
|
+
interface UpdateExtendedFieldsRequest$2 {
|
|
27632
|
+
/** ID of the entity to update. */
|
|
27633
|
+
_id: string;
|
|
27634
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
27635
|
+
namespace: string;
|
|
27636
|
+
/** 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. */
|
|
27637
|
+
namespaceData: Record<string, any> | null;
|
|
27638
|
+
}
|
|
27639
|
+
interface UpdateExtendedFieldsResponse$2 {
|
|
27640
|
+
/** Updated ShippingOption. */
|
|
27641
|
+
shippingOption?: ShippingOption;
|
|
27642
|
+
}
|
|
27643
|
+
interface ConditionNonNullableFields {
|
|
27644
|
+
type: ConditionType;
|
|
27645
|
+
value: string;
|
|
27646
|
+
operator: LogicalOperator;
|
|
27647
|
+
}
|
|
27648
|
+
interface ConditionalRatesNonNullableFields {
|
|
27649
|
+
conditions: ConditionNonNullableFields[];
|
|
27650
|
+
amount: string;
|
|
27651
|
+
}
|
|
27652
|
+
interface ShippingOptionNonNullableFields {
|
|
27653
|
+
deliveryRegionId: string;
|
|
27654
|
+
rates: ConditionalRatesNonNullableFields[];
|
|
27655
|
+
}
|
|
27656
|
+
interface CreateShippingOptionResponseNonNullableFields {
|
|
27657
|
+
shippingOption?: ShippingOptionNonNullableFields;
|
|
27658
|
+
}
|
|
27659
|
+
interface GetShippingOptionResponseNonNullableFields {
|
|
27660
|
+
shippingOption?: ShippingOptionNonNullableFields;
|
|
27661
|
+
}
|
|
27662
|
+
interface UpdateShippingOptionResponseNonNullableFields {
|
|
27663
|
+
shippingOption?: ShippingOptionNonNullableFields;
|
|
27664
|
+
}
|
|
27665
|
+
interface QueryShippingOptionsResponseNonNullableFields {
|
|
27666
|
+
shippingOptions: ShippingOptionNonNullableFields[];
|
|
27667
|
+
}
|
|
27668
|
+
interface UpdateExtendedFieldsResponseNonNullableFields$2 {
|
|
27669
|
+
shippingOption?: ShippingOptionNonNullableFields;
|
|
27670
|
+
}
|
|
27671
|
+
|
|
27672
|
+
type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
27673
|
+
getUrl: (context: any) => string;
|
|
27674
|
+
httpMethod: K;
|
|
27675
|
+
path: string;
|
|
27676
|
+
pathParams: M;
|
|
27677
|
+
__requestType: T;
|
|
27678
|
+
__originalRequestType: S;
|
|
27679
|
+
__responseType: Q;
|
|
27680
|
+
__originalResponseType: R;
|
|
27681
|
+
};
|
|
27682
|
+
declare function createShippingOption(): __PublicMethodMetaInfo$2<'POST', {}, CreateShippingOptionRequest, CreateShippingOptionRequest$1, CreateShippingOptionResponse & CreateShippingOptionResponseNonNullableFields, CreateShippingOptionResponse$1 & CreateShippingOptionResponseNonNullableFields$1>;
|
|
27683
|
+
declare function getShippingOption(): __PublicMethodMetaInfo$2<'GET', {
|
|
27684
|
+
shippingOptionId: string;
|
|
27685
|
+
}, GetShippingOptionRequest, GetShippingOptionRequest$1, GetShippingOptionResponse & GetShippingOptionResponseNonNullableFields, GetShippingOptionResponse$1 & GetShippingOptionResponseNonNullableFields$1>;
|
|
27686
|
+
declare function updateShippingOption(): __PublicMethodMetaInfo$2<'PATCH', {
|
|
27687
|
+
shippingOptionId: string;
|
|
27688
|
+
}, UpdateShippingOptionRequest, UpdateShippingOptionRequest$1, UpdateShippingOptionResponse & UpdateShippingOptionResponseNonNullableFields, UpdateShippingOptionResponse$1 & UpdateShippingOptionResponseNonNullableFields$1>;
|
|
27689
|
+
declare function deleteShippingOption(): __PublicMethodMetaInfo$2<'DELETE', {
|
|
27690
|
+
shippingOptionId: string;
|
|
27691
|
+
}, DeleteShippingOptionRequest, DeleteShippingOptionRequest$1, DeleteShippingOptionResponse, DeleteShippingOptionResponse$1>;
|
|
27692
|
+
declare function queryShippingOptions(): __PublicMethodMetaInfo$2<'GET', {}, QueryShippingOptionsRequest, QueryShippingOptionsRequest$1, QueryShippingOptionsResponse & QueryShippingOptionsResponseNonNullableFields, QueryShippingOptionsResponse$1 & QueryShippingOptionsResponseNonNullableFields$1>;
|
|
27693
|
+
declare function updateExtendedFields$1(): __PublicMethodMetaInfo$2<'POST', {
|
|
27694
|
+
id: string;
|
|
27695
|
+
}, UpdateExtendedFieldsRequest$2, UpdateExtendedFieldsRequest$3, UpdateExtendedFieldsResponse$2 & UpdateExtendedFieldsResponseNonNullableFields$2, UpdateExtendedFieldsResponse$3 & UpdateExtendedFieldsResponseNonNullableFields$3>;
|
|
27213
27696
|
|
|
27214
|
-
declare const meta$
|
|
27215
|
-
declare const meta$
|
|
27216
|
-
declare const meta$
|
|
27217
|
-
declare const meta$
|
|
27218
|
-
declare const meta$
|
|
27219
|
-
declare const meta$2_getPickupLocation: typeof getPickupLocation;
|
|
27220
|
-
declare const meta$2_queryPickupLocation: typeof queryPickupLocation;
|
|
27221
|
-
declare const meta$2_updatePickupLocation: typeof updatePickupLocation;
|
|
27697
|
+
declare const meta$2_createShippingOption: typeof createShippingOption;
|
|
27698
|
+
declare const meta$2_deleteShippingOption: typeof deleteShippingOption;
|
|
27699
|
+
declare const meta$2_getShippingOption: typeof getShippingOption;
|
|
27700
|
+
declare const meta$2_queryShippingOptions: typeof queryShippingOptions;
|
|
27701
|
+
declare const meta$2_updateShippingOption: typeof updateShippingOption;
|
|
27222
27702
|
declare namespace meta$2 {
|
|
27223
|
-
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$
|
|
27703
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_createShippingOption as createShippingOption, meta$2_deleteShippingOption as deleteShippingOption, meta$2_getShippingOption as getShippingOption, meta$2_queryShippingOptions as queryShippingOptions, updateExtendedFields$1 as updateExtendedFields, meta$2_updateShippingOption as updateShippingOption };
|
|
27224
27704
|
}
|
|
27225
27705
|
|
|
27226
27706
|
interface ShippoConfiguration$1 {
|
|
@@ -28070,4 +28550,4 @@ declare namespace meta {
|
|
|
28070
28550
|
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_convertCurrency as convertCurrency, meta_getConversionRate as getConversionRate, meta_listCurrencies as listCurrencies };
|
|
28071
28551
|
}
|
|
28072
28552
|
|
|
28073
|
-
export { meta$
|
|
28553
|
+
export { meta$i as abandonedCheckouts, meta$h as backInStockNotifications, meta$g as backInStockSettings, meta$f as cart, meta$d as checkout, meta$c as checkoutSettings, meta$b as checkoutTemplates, meta as currencies, meta$e as currentCart, meta$a as deliveryProfile, meta$l as discountRules, meta$m as discountsCustomTrigger, meta$9 as draftOrders, meta$7 as localDeliveryOptions, meta$8 as orderFulfillments, meta$k as orderInvoices, meta$5 as orderTransactions, meta$6 as orders, meta$4 as ordersSettings, meta$3 as pickupLocations, meta$j as recommendations, meta$2 as shippingOptions, meta$1 as shippoConfigurations };
|