@wix/ecom 1.0.814 → 1.0.815
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 +2 -0
- package/build/cjs/context.js +3 -1
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +3 -1
- package/build/cjs/index.js +5 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -0
- package/build/cjs/meta.js +3 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +2 -0
- package/build/es/context.js +2 -0
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +3 -1
- package/build/es/index.js +3 -1
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +2 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -1
- package/package.json +4 -2
- package/type-bundles/context.bundle.d.ts +3336 -2580
- package/type-bundles/index.bundle.d.ts +3336 -2580
- package/type-bundles/meta.bundle.d.ts +1646 -732
|
@@ -88,7 +88,7 @@ interface CheckoutContent {
|
|
|
88
88
|
placeOrderPayButton?: string | null;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
type __PublicMethodMetaInfo$
|
|
91
|
+
type __PublicMethodMetaInfo$v<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
92
92
|
getUrl: (context: any) => string;
|
|
93
93
|
httpMethod: K;
|
|
94
94
|
path: string;
|
|
@@ -98,14 +98,14 @@ type __PublicMethodMetaInfo$t<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
98
98
|
__responseType: Q;
|
|
99
99
|
__originalResponseType: R;
|
|
100
100
|
};
|
|
101
|
-
declare function getCheckoutContent(): __PublicMethodMetaInfo$
|
|
101
|
+
declare function getCheckoutContent(): __PublicMethodMetaInfo$v<'GET', {
|
|
102
102
|
appId: string;
|
|
103
103
|
componentId: string;
|
|
104
104
|
}, GetCheckoutContentRequest, GetCheckoutContentRequest$1, GetCheckoutContentResponse, GetCheckoutContentResponse$1>;
|
|
105
105
|
|
|
106
|
-
declare const meta$
|
|
107
|
-
declare namespace meta$
|
|
108
|
-
export { type __PublicMethodMetaInfo$
|
|
106
|
+
declare const meta$v_getCheckoutContent: typeof getCheckoutContent;
|
|
107
|
+
declare namespace meta$v {
|
|
108
|
+
export { type __PublicMethodMetaInfo$v as __PublicMethodMetaInfo, meta$v_getCheckoutContent as getCheckoutContent };
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
interface ListTriggersRequest$1 {
|
|
@@ -154,7 +154,7 @@ interface ListTriggersResponseNonNullableFields {
|
|
|
154
154
|
triggers: ListTriggersResponseCustomTriggerNonNullableFields[];
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
type __PublicMethodMetaInfo$
|
|
157
|
+
type __PublicMethodMetaInfo$u<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
158
158
|
getUrl: (context: any) => string;
|
|
159
159
|
httpMethod: K;
|
|
160
160
|
path: string;
|
|
@@ -164,11 +164,11 @@ type __PublicMethodMetaInfo$s<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
164
164
|
__responseType: Q;
|
|
165
165
|
__originalResponseType: R;
|
|
166
166
|
};
|
|
167
|
-
declare function listTriggers(): __PublicMethodMetaInfo$
|
|
167
|
+
declare function listTriggers(): __PublicMethodMetaInfo$u<'POST', {}, ListTriggersRequest, ListTriggersRequest$1, ListTriggersResponse & ListTriggersResponseNonNullableFields, ListTriggersResponse$1 & ListTriggersResponseNonNullableFields$1>;
|
|
168
168
|
|
|
169
|
-
declare const meta$
|
|
170
|
-
declare namespace meta$
|
|
171
|
-
export { type __PublicMethodMetaInfo$
|
|
169
|
+
declare const meta$u_listTriggers: typeof listTriggers;
|
|
170
|
+
declare namespace meta$u {
|
|
171
|
+
export { type __PublicMethodMetaInfo$u as __PublicMethodMetaInfo, meta$u_listTriggers as listTriggers };
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
interface DiscountRule$f {
|
|
@@ -472,26 +472,26 @@ interface PlatformQuery$3 extends PlatformQueryPagingMethodOneOf$3 {
|
|
|
472
472
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
473
473
|
paging?: PlatformPaging$3;
|
|
474
474
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
475
|
-
cursorPaging?: CursorPaging$
|
|
475
|
+
cursorPaging?: CursorPaging$t;
|
|
476
476
|
/** Filter object. */
|
|
477
477
|
filter?: Record<string, any> | null;
|
|
478
478
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
479
|
-
sort?: Sorting$
|
|
479
|
+
sort?: Sorting$t[];
|
|
480
480
|
}
|
|
481
481
|
/** @oneof */
|
|
482
482
|
interface PlatformQueryPagingMethodOneOf$3 {
|
|
483
483
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
484
484
|
paging?: PlatformPaging$3;
|
|
485
485
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
486
|
-
cursorPaging?: CursorPaging$
|
|
486
|
+
cursorPaging?: CursorPaging$t;
|
|
487
487
|
}
|
|
488
|
-
interface Sorting$
|
|
488
|
+
interface Sorting$t {
|
|
489
489
|
/** Name of the field to sort by. */
|
|
490
490
|
fieldName?: string;
|
|
491
491
|
/** Sort order. */
|
|
492
|
-
order?: SortOrder$
|
|
492
|
+
order?: SortOrder$t;
|
|
493
493
|
}
|
|
494
|
-
declare enum SortOrder$
|
|
494
|
+
declare enum SortOrder$t {
|
|
495
495
|
ASC = "ASC",
|
|
496
496
|
DESC = "DESC"
|
|
497
497
|
}
|
|
@@ -501,7 +501,7 @@ interface PlatformPaging$3 {
|
|
|
501
501
|
/** Number of items to skip in the current sort order. */
|
|
502
502
|
offset?: number | null;
|
|
503
503
|
}
|
|
504
|
-
interface CursorPaging$
|
|
504
|
+
interface CursorPaging$t {
|
|
505
505
|
/** Maximum number of items to return in the results. */
|
|
506
506
|
limit?: number | null;
|
|
507
507
|
/**
|
|
@@ -526,9 +526,9 @@ interface PlatformPagingMetadata$3 {
|
|
|
526
526
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
527
527
|
total?: number | null;
|
|
528
528
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
529
|
-
cursors?: Cursors$
|
|
529
|
+
cursors?: Cursors$t;
|
|
530
530
|
}
|
|
531
|
-
interface Cursors$
|
|
531
|
+
interface Cursors$t {
|
|
532
532
|
/** Cursor string pointing to the next page in the list of results. */
|
|
533
533
|
next?: string | null;
|
|
534
534
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -922,26 +922,26 @@ interface PlatformQuery$2 extends PlatformQueryPagingMethodOneOf$2 {
|
|
|
922
922
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
923
923
|
paging?: PlatformPaging$2;
|
|
924
924
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
925
|
-
cursorPaging?: CursorPaging$
|
|
925
|
+
cursorPaging?: CursorPaging$s;
|
|
926
926
|
/** Filter object. */
|
|
927
927
|
filter?: Record<string, any> | null;
|
|
928
928
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
929
|
-
sort?: Sorting$
|
|
929
|
+
sort?: Sorting$s[];
|
|
930
930
|
}
|
|
931
931
|
/** @oneof */
|
|
932
932
|
interface PlatformQueryPagingMethodOneOf$2 {
|
|
933
933
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
934
934
|
paging?: PlatformPaging$2;
|
|
935
935
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
936
|
-
cursorPaging?: CursorPaging$
|
|
936
|
+
cursorPaging?: CursorPaging$s;
|
|
937
937
|
}
|
|
938
|
-
interface Sorting$
|
|
938
|
+
interface Sorting$s {
|
|
939
939
|
/** Name of the field to sort by. */
|
|
940
940
|
fieldName?: string;
|
|
941
941
|
/** Sort order. */
|
|
942
|
-
order?: SortOrder$
|
|
942
|
+
order?: SortOrder$s;
|
|
943
943
|
}
|
|
944
|
-
declare enum SortOrder$
|
|
944
|
+
declare enum SortOrder$s {
|
|
945
945
|
ASC = "ASC",
|
|
946
946
|
DESC = "DESC"
|
|
947
947
|
}
|
|
@@ -951,7 +951,7 @@ interface PlatformPaging$2 {
|
|
|
951
951
|
/** Number of items to skip in the current sort order. */
|
|
952
952
|
offset?: number | null;
|
|
953
953
|
}
|
|
954
|
-
interface CursorPaging$
|
|
954
|
+
interface CursorPaging$s {
|
|
955
955
|
/** Maximum number of items to return in the results. */
|
|
956
956
|
limit?: number | null;
|
|
957
957
|
/**
|
|
@@ -976,9 +976,9 @@ interface PlatformPagingMetadata$2 {
|
|
|
976
976
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
977
977
|
total?: number | null;
|
|
978
978
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
979
|
-
cursors?: Cursors$
|
|
979
|
+
cursors?: Cursors$s;
|
|
980
980
|
}
|
|
981
|
-
interface Cursors$
|
|
981
|
+
interface Cursors$s {
|
|
982
982
|
/** Cursor string pointing to the next page in the list of results. */
|
|
983
983
|
next?: string | null;
|
|
984
984
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -1071,7 +1071,7 @@ interface QueryDiscountRulesResponseNonNullableFields {
|
|
|
1071
1071
|
discountRules: DiscountRuleNonNullableFields$e[];
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
|
-
type __PublicMethodMetaInfo$
|
|
1074
|
+
type __PublicMethodMetaInfo$t<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1075
1075
|
getUrl: (context: any) => string;
|
|
1076
1076
|
httpMethod: K;
|
|
1077
1077
|
path: string;
|
|
@@ -1081,25 +1081,25 @@ type __PublicMethodMetaInfo$r<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
1081
1081
|
__responseType: Q;
|
|
1082
1082
|
__originalResponseType: R;
|
|
1083
1083
|
};
|
|
1084
|
-
declare function createDiscountRule(): __PublicMethodMetaInfo$
|
|
1085
|
-
declare function getDiscountRule(): __PublicMethodMetaInfo$
|
|
1084
|
+
declare function createDiscountRule(): __PublicMethodMetaInfo$t<'POST', {}, CreateDiscountRuleRequest, CreateDiscountRuleRequest$1, CreateDiscountRuleResponse & CreateDiscountRuleResponseNonNullableFields, CreateDiscountRuleResponse$1 & CreateDiscountRuleResponseNonNullableFields$1>;
|
|
1085
|
+
declare function getDiscountRule(): __PublicMethodMetaInfo$t<'GET', {
|
|
1086
1086
|
discountRuleId: string;
|
|
1087
1087
|
}, GetDiscountRuleRequest, GetDiscountRuleRequest$1, GetDiscountRuleResponse & GetDiscountRuleResponseNonNullableFields, GetDiscountRuleResponse$1 & GetDiscountRuleResponseNonNullableFields$1>;
|
|
1088
|
-
declare function updateDiscountRule(): __PublicMethodMetaInfo$
|
|
1088
|
+
declare function updateDiscountRule(): __PublicMethodMetaInfo$t<'PATCH', {
|
|
1089
1089
|
discountRuleId: string;
|
|
1090
1090
|
}, UpdateDiscountRuleRequest, UpdateDiscountRuleRequest$1, UpdateDiscountRuleResponse & UpdateDiscountRuleResponseNonNullableFields, UpdateDiscountRuleResponse$1 & UpdateDiscountRuleResponseNonNullableFields$1>;
|
|
1091
|
-
declare function deleteDiscountRule(): __PublicMethodMetaInfo$
|
|
1091
|
+
declare function deleteDiscountRule(): __PublicMethodMetaInfo$t<'DELETE', {
|
|
1092
1092
|
discountRuleId: string;
|
|
1093
1093
|
}, DeleteDiscountRuleRequest, DeleteDiscountRuleRequest$1, DeleteDiscountRuleResponse, DeleteDiscountRuleResponse$1>;
|
|
1094
|
-
declare function queryDiscountRules(): __PublicMethodMetaInfo$
|
|
1094
|
+
declare function queryDiscountRules(): __PublicMethodMetaInfo$t<'POST', {}, QueryDiscountRulesRequest, QueryDiscountRulesRequest$1, QueryDiscountRulesResponse & QueryDiscountRulesResponseNonNullableFields, QueryDiscountRulesResponse$1 & QueryDiscountRulesResponseNonNullableFields$1>;
|
|
1095
1095
|
|
|
1096
|
-
declare const meta$
|
|
1097
|
-
declare const meta$
|
|
1098
|
-
declare const meta$
|
|
1099
|
-
declare const meta$
|
|
1100
|
-
declare const meta$
|
|
1101
|
-
declare namespace meta$
|
|
1102
|
-
export { type __PublicMethodMetaInfo$
|
|
1096
|
+
declare const meta$t_createDiscountRule: typeof createDiscountRule;
|
|
1097
|
+
declare const meta$t_deleteDiscountRule: typeof deleteDiscountRule;
|
|
1098
|
+
declare const meta$t_getDiscountRule: typeof getDiscountRule;
|
|
1099
|
+
declare const meta$t_queryDiscountRules: typeof queryDiscountRules;
|
|
1100
|
+
declare const meta$t_updateDiscountRule: typeof updateDiscountRule;
|
|
1101
|
+
declare namespace meta$t {
|
|
1102
|
+
export { type __PublicMethodMetaInfo$t as __PublicMethodMetaInfo, meta$t_createDiscountRule as createDiscountRule, meta$t_deleteDiscountRule as deleteDiscountRule, meta$t_getDiscountRule as getDiscountRule, meta$t_queryDiscountRules as queryDiscountRules, meta$t_updateDiscountRule as updateDiscountRule };
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
1105
|
interface Invoice$1 {
|
|
@@ -1168,7 +1168,7 @@ interface ListInvoicesForMultipleOrdersResponseNonNullableFields {
|
|
|
1168
1168
|
invoicesForOrder: InvoicesForOrderNonNullableFields[];
|
|
1169
1169
|
}
|
|
1170
1170
|
|
|
1171
|
-
type __PublicMethodMetaInfo$
|
|
1171
|
+
type __PublicMethodMetaInfo$s<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1172
1172
|
getUrl: (context: any) => string;
|
|
1173
1173
|
httpMethod: K;
|
|
1174
1174
|
path: string;
|
|
@@ -1178,11 +1178,11 @@ type __PublicMethodMetaInfo$q<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
1178
1178
|
__responseType: Q;
|
|
1179
1179
|
__originalResponseType: R;
|
|
1180
1180
|
};
|
|
1181
|
-
declare function listInvoicesForMultipleOrders(): __PublicMethodMetaInfo$
|
|
1181
|
+
declare function listInvoicesForMultipleOrders(): __PublicMethodMetaInfo$s<'POST', {}, ListInvoicesForMultipleOrdersRequest, ListInvoicesForMultipleOrdersRequest$1, ListInvoicesForMultipleOrdersResponse & ListInvoicesForMultipleOrdersResponseNonNullableFields, ListInvoicesForMultipleOrdersResponse$1 & ListInvoicesForMultipleOrdersResponseNonNullableFields$1>;
|
|
1182
1182
|
|
|
1183
|
-
declare const meta$
|
|
1184
|
-
declare namespace meta$
|
|
1185
|
-
export { type __PublicMethodMetaInfo$
|
|
1183
|
+
declare const meta$s_listInvoicesForMultipleOrders: typeof listInvoicesForMultipleOrders;
|
|
1184
|
+
declare namespace meta$s {
|
|
1185
|
+
export { type __PublicMethodMetaInfo$s as __PublicMethodMetaInfo, meta$s_listInvoicesForMultipleOrders as listInvoicesForMultipleOrders };
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
1188
|
interface Recommendation$1 {
|
|
@@ -1449,7 +1449,7 @@ interface GetRecommendationResponseNonNullableFields {
|
|
|
1449
1449
|
recommendation?: RecommendationNonNullableFields;
|
|
1450
1450
|
}
|
|
1451
1451
|
|
|
1452
|
-
type __PublicMethodMetaInfo$
|
|
1452
|
+
type __PublicMethodMetaInfo$r<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1453
1453
|
getUrl: (context: any) => string;
|
|
1454
1454
|
httpMethod: K;
|
|
1455
1455
|
path: string;
|
|
@@ -1459,13 +1459,13 @@ type __PublicMethodMetaInfo$p<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
1459
1459
|
__responseType: Q;
|
|
1460
1460
|
__originalResponseType: R;
|
|
1461
1461
|
};
|
|
1462
|
-
declare function listAvailableAlgorithms(): __PublicMethodMetaInfo$
|
|
1463
|
-
declare function getRecommendation(): __PublicMethodMetaInfo$
|
|
1462
|
+
declare function listAvailableAlgorithms(): __PublicMethodMetaInfo$r<'GET', {}, ListAvailableAlgorithmsRequest, ListAvailableAlgorithmsRequest$1, ListAvailableAlgorithmsResponse & ListAvailableAlgorithmsResponseNonNullableFields, ListAvailableAlgorithmsResponse$1 & ListAvailableAlgorithmsResponseNonNullableFields$1>;
|
|
1463
|
+
declare function getRecommendation(): __PublicMethodMetaInfo$r<'POST', {}, GetRecommendationRequest, GetRecommendationRequest$1, GetRecommendationResponse & GetRecommendationResponseNonNullableFields, GetRecommendationResponse$1 & GetRecommendationResponseNonNullableFields$1>;
|
|
1464
1464
|
|
|
1465
|
-
declare const meta$
|
|
1466
|
-
declare const meta$
|
|
1467
|
-
declare namespace meta$
|
|
1468
|
-
export { type __PublicMethodMetaInfo$
|
|
1465
|
+
declare const meta$r_getRecommendation: typeof getRecommendation;
|
|
1466
|
+
declare const meta$r_listAvailableAlgorithms: typeof listAvailableAlgorithms;
|
|
1467
|
+
declare namespace meta$r {
|
|
1468
|
+
export { type __PublicMethodMetaInfo$r as __PublicMethodMetaInfo, meta$r_getRecommendation as getRecommendation, meta$r_listAvailableAlgorithms as listAvailableAlgorithms };
|
|
1469
1469
|
}
|
|
1470
1470
|
|
|
1471
1471
|
/**
|
|
@@ -1552,7 +1552,7 @@ interface SubscriptionContract$1 {
|
|
|
1552
1552
|
*
|
|
1553
1553
|
* [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.
|
|
1554
1554
|
*/
|
|
1555
|
-
extendedFields?: ExtendedFields$
|
|
1555
|
+
extendedFields?: ExtendedFields$h;
|
|
1556
1556
|
/** Subscription option title. For example, `"Monthly coffee Subscription"`. */
|
|
1557
1557
|
title?: string | null;
|
|
1558
1558
|
}
|
|
@@ -2300,7 +2300,7 @@ interface CustomField$7 {
|
|
|
2300
2300
|
/** Translated custom field title. */
|
|
2301
2301
|
translatedTitle?: string | null;
|
|
2302
2302
|
}
|
|
2303
|
-
interface ExtendedFields$
|
|
2303
|
+
interface ExtendedFields$h {
|
|
2304
2304
|
/**
|
|
2305
2305
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
2306
2306
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -2325,7 +2325,7 @@ interface QuerySubscriptionContractsRequest$1 {
|
|
|
2325
2325
|
}
|
|
2326
2326
|
interface CursorQuery$f extends CursorQueryPagingMethodOneOf$f {
|
|
2327
2327
|
/** 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`. */
|
|
2328
|
-
cursorPaging?: CursorPaging$
|
|
2328
|
+
cursorPaging?: CursorPaging$r;
|
|
2329
2329
|
/**
|
|
2330
2330
|
* Filter object in the following format:
|
|
2331
2331
|
* `"filter" : {
|
|
@@ -2341,24 +2341,24 @@ interface CursorQuery$f extends CursorQueryPagingMethodOneOf$f {
|
|
|
2341
2341
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
2342
2342
|
* Learn more about the [sort format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
2343
2343
|
*/
|
|
2344
|
-
sort?: Sorting$
|
|
2344
|
+
sort?: Sorting$r[];
|
|
2345
2345
|
}
|
|
2346
2346
|
/** @oneof */
|
|
2347
2347
|
interface CursorQueryPagingMethodOneOf$f {
|
|
2348
2348
|
/** 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`. */
|
|
2349
|
-
cursorPaging?: CursorPaging$
|
|
2349
|
+
cursorPaging?: CursorPaging$r;
|
|
2350
2350
|
}
|
|
2351
|
-
interface Sorting$
|
|
2351
|
+
interface Sorting$r {
|
|
2352
2352
|
/** Name of the field to sort by. */
|
|
2353
2353
|
fieldName?: string;
|
|
2354
2354
|
/** Sort order. */
|
|
2355
|
-
order?: SortOrder$
|
|
2355
|
+
order?: SortOrder$r;
|
|
2356
2356
|
}
|
|
2357
|
-
declare enum SortOrder$
|
|
2357
|
+
declare enum SortOrder$r {
|
|
2358
2358
|
ASC = "ASC",
|
|
2359
2359
|
DESC = "DESC"
|
|
2360
2360
|
}
|
|
2361
|
-
interface CursorPaging$
|
|
2361
|
+
interface CursorPaging$r {
|
|
2362
2362
|
/** Maximum number of items to return in the results. */
|
|
2363
2363
|
limit?: number | null;
|
|
2364
2364
|
/**
|
|
@@ -2379,7 +2379,7 @@ interface CursorPagingMetadata$l {
|
|
|
2379
2379
|
/** Number of items returned in the response. */
|
|
2380
2380
|
count?: number | null;
|
|
2381
2381
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
2382
|
-
cursors?: Cursors$
|
|
2382
|
+
cursors?: Cursors$r;
|
|
2383
2383
|
/**
|
|
2384
2384
|
* Whether there are more pages to retrieve following the current page.
|
|
2385
2385
|
*
|
|
@@ -2388,7 +2388,7 @@ interface CursorPagingMetadata$l {
|
|
|
2388
2388
|
*/
|
|
2389
2389
|
hasNext?: boolean | null;
|
|
2390
2390
|
}
|
|
2391
|
-
interface Cursors$
|
|
2391
|
+
interface Cursors$r {
|
|
2392
2392
|
/** Cursor string pointing to the next page in the list of results. */
|
|
2393
2393
|
next?: string | null;
|
|
2394
2394
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -2719,7 +2719,7 @@ interface SubscriptionContract {
|
|
|
2719
2719
|
*
|
|
2720
2720
|
* [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.
|
|
2721
2721
|
*/
|
|
2722
|
-
extendedFields?: ExtendedFields$
|
|
2722
|
+
extendedFields?: ExtendedFields$g;
|
|
2723
2723
|
/** Subscription option title. For example, `"Monthly coffee Subscription"`. */
|
|
2724
2724
|
title?: string | null;
|
|
2725
2725
|
}
|
|
@@ -3424,7 +3424,7 @@ interface CustomField$6 {
|
|
|
3424
3424
|
/** Translated custom field title. */
|
|
3425
3425
|
translatedTitle?: string | null;
|
|
3426
3426
|
}
|
|
3427
|
-
interface ExtendedFields$
|
|
3427
|
+
interface ExtendedFields$g {
|
|
3428
3428
|
/**
|
|
3429
3429
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
3430
3430
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -3449,7 +3449,7 @@ interface QuerySubscriptionContractsRequest {
|
|
|
3449
3449
|
}
|
|
3450
3450
|
interface CursorQuery$e extends CursorQueryPagingMethodOneOf$e {
|
|
3451
3451
|
/** 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`. */
|
|
3452
|
-
cursorPaging?: CursorPaging$
|
|
3452
|
+
cursorPaging?: CursorPaging$q;
|
|
3453
3453
|
/**
|
|
3454
3454
|
* Filter object in the following format:
|
|
3455
3455
|
* `"filter" : {
|
|
@@ -3465,24 +3465,24 @@ interface CursorQuery$e extends CursorQueryPagingMethodOneOf$e {
|
|
|
3465
3465
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
3466
3466
|
* Learn more about the [sort format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
3467
3467
|
*/
|
|
3468
|
-
sort?: Sorting$
|
|
3468
|
+
sort?: Sorting$q[];
|
|
3469
3469
|
}
|
|
3470
3470
|
/** @oneof */
|
|
3471
3471
|
interface CursorQueryPagingMethodOneOf$e {
|
|
3472
3472
|
/** 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`. */
|
|
3473
|
-
cursorPaging?: CursorPaging$
|
|
3473
|
+
cursorPaging?: CursorPaging$q;
|
|
3474
3474
|
}
|
|
3475
|
-
interface Sorting$
|
|
3475
|
+
interface Sorting$q {
|
|
3476
3476
|
/** Name of the field to sort by. */
|
|
3477
3477
|
fieldName?: string;
|
|
3478
3478
|
/** Sort order. */
|
|
3479
|
-
order?: SortOrder$
|
|
3479
|
+
order?: SortOrder$q;
|
|
3480
3480
|
}
|
|
3481
|
-
declare enum SortOrder$
|
|
3481
|
+
declare enum SortOrder$q {
|
|
3482
3482
|
ASC = "ASC",
|
|
3483
3483
|
DESC = "DESC"
|
|
3484
3484
|
}
|
|
3485
|
-
interface CursorPaging$
|
|
3485
|
+
interface CursorPaging$q {
|
|
3486
3486
|
/** Maximum number of items to return in the results. */
|
|
3487
3487
|
limit?: number | null;
|
|
3488
3488
|
/**
|
|
@@ -3503,7 +3503,7 @@ interface CursorPagingMetadata$k {
|
|
|
3503
3503
|
/** Number of items returned in the response. */
|
|
3504
3504
|
count?: number | null;
|
|
3505
3505
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
3506
|
-
cursors?: Cursors$
|
|
3506
|
+
cursors?: Cursors$q;
|
|
3507
3507
|
/**
|
|
3508
3508
|
* Whether there are more pages to retrieve following the current page.
|
|
3509
3509
|
*
|
|
@@ -3512,7 +3512,7 @@ interface CursorPagingMetadata$k {
|
|
|
3512
3512
|
*/
|
|
3513
3513
|
hasNext?: boolean | null;
|
|
3514
3514
|
}
|
|
3515
|
-
interface Cursors$
|
|
3515
|
+
interface Cursors$q {
|
|
3516
3516
|
/** Cursor string pointing to the next page in the list of results. */
|
|
3517
3517
|
next?: string | null;
|
|
3518
3518
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -3753,7 +3753,7 @@ interface QuerySubscriptionContractsResponseNonNullableFields {
|
|
|
3753
3753
|
subscriptionContracts: SubscriptionContractNonNullableFields[];
|
|
3754
3754
|
}
|
|
3755
3755
|
|
|
3756
|
-
type __PublicMethodMetaInfo$
|
|
3756
|
+
type __PublicMethodMetaInfo$q<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
3757
3757
|
getUrl: (context: any) => string;
|
|
3758
3758
|
httpMethod: K;
|
|
3759
3759
|
path: string;
|
|
@@ -3763,15 +3763,15 @@ type __PublicMethodMetaInfo$o<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
3763
3763
|
__responseType: Q;
|
|
3764
3764
|
__originalResponseType: R;
|
|
3765
3765
|
};
|
|
3766
|
-
declare function getSubscriptionContract(): __PublicMethodMetaInfo$
|
|
3766
|
+
declare function getSubscriptionContract(): __PublicMethodMetaInfo$q<'GET', {
|
|
3767
3767
|
subscriptionContractId: string;
|
|
3768
3768
|
}, GetSubscriptionContractRequest, GetSubscriptionContractRequest$1, GetSubscriptionContractResponse & GetSubscriptionContractResponseNonNullableFields, GetSubscriptionContractResponse$1 & GetSubscriptionContractResponseNonNullableFields$1>;
|
|
3769
|
-
declare function querySubscriptionContracts(): __PublicMethodMetaInfo$
|
|
3769
|
+
declare function querySubscriptionContracts(): __PublicMethodMetaInfo$q<'GET', {}, QuerySubscriptionContractsRequest, QuerySubscriptionContractsRequest$1, QuerySubscriptionContractsResponse & QuerySubscriptionContractsResponseNonNullableFields, QuerySubscriptionContractsResponse$1 & QuerySubscriptionContractsResponseNonNullableFields$1>;
|
|
3770
3770
|
|
|
3771
|
-
declare const meta$
|
|
3772
|
-
declare const meta$
|
|
3773
|
-
declare namespace meta$
|
|
3774
|
-
export { type __PublicMethodMetaInfo$
|
|
3771
|
+
declare const meta$q_getSubscriptionContract: typeof getSubscriptionContract;
|
|
3772
|
+
declare const meta$q_querySubscriptionContracts: typeof querySubscriptionContracts;
|
|
3773
|
+
declare namespace meta$q {
|
|
3774
|
+
export { type __PublicMethodMetaInfo$q as __PublicMethodMetaInfo, meta$q_getSubscriptionContract as getSubscriptionContract, meta$q_querySubscriptionContracts as querySubscriptionContracts };
|
|
3775
3775
|
}
|
|
3776
3776
|
|
|
3777
3777
|
interface AbandonedCheckout$1 {
|
|
@@ -3926,13 +3926,13 @@ interface DeleteAbandonedCheckoutResponse$1 {
|
|
|
3926
3926
|
}
|
|
3927
3927
|
interface QueryAbandonedCheckoutsRequest$1 {
|
|
3928
3928
|
/** Query options. */
|
|
3929
|
-
query: QueryV2$
|
|
3929
|
+
query: QueryV2$7;
|
|
3930
3930
|
}
|
|
3931
|
-
interface QueryV2$
|
|
3931
|
+
interface QueryV2$7 extends QueryV2PagingMethodOneOf$7 {
|
|
3932
3932
|
/** Paging options to limit and skip the number of items. */
|
|
3933
|
-
paging?: Paging$
|
|
3933
|
+
paging?: Paging$7;
|
|
3934
3934
|
/** 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`. */
|
|
3935
|
-
cursorPaging?: CursorPaging$
|
|
3935
|
+
cursorPaging?: CursorPaging$p;
|
|
3936
3936
|
/**
|
|
3937
3937
|
* Filter object.
|
|
3938
3938
|
*
|
|
@@ -3944,36 +3944,36 @@ interface QueryV2$5 extends QueryV2PagingMethodOneOf$5 {
|
|
|
3944
3944
|
*
|
|
3945
3945
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
3946
3946
|
*/
|
|
3947
|
-
sort?: Sorting$
|
|
3947
|
+
sort?: Sorting$p[];
|
|
3948
3948
|
/** 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. */
|
|
3949
3949
|
fields?: string[];
|
|
3950
3950
|
/** 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. */
|
|
3951
3951
|
fieldsets?: string[];
|
|
3952
3952
|
}
|
|
3953
3953
|
/** @oneof */
|
|
3954
|
-
interface QueryV2PagingMethodOneOf$
|
|
3954
|
+
interface QueryV2PagingMethodOneOf$7 {
|
|
3955
3955
|
/** Paging options to limit and skip the number of items. */
|
|
3956
|
-
paging?: Paging$
|
|
3956
|
+
paging?: Paging$7;
|
|
3957
3957
|
/** 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`. */
|
|
3958
|
-
cursorPaging?: CursorPaging$
|
|
3958
|
+
cursorPaging?: CursorPaging$p;
|
|
3959
3959
|
}
|
|
3960
|
-
interface Sorting$
|
|
3960
|
+
interface Sorting$p {
|
|
3961
3961
|
/** Name of the field to sort by. */
|
|
3962
3962
|
fieldName?: string;
|
|
3963
3963
|
/** Sort order. */
|
|
3964
|
-
order?: SortOrder$
|
|
3964
|
+
order?: SortOrder$p;
|
|
3965
3965
|
}
|
|
3966
|
-
declare enum SortOrder$
|
|
3966
|
+
declare enum SortOrder$p {
|
|
3967
3967
|
ASC = "ASC",
|
|
3968
3968
|
DESC = "DESC"
|
|
3969
3969
|
}
|
|
3970
|
-
interface Paging$
|
|
3970
|
+
interface Paging$7 {
|
|
3971
3971
|
/** Number of items to load. */
|
|
3972
3972
|
limit?: number | null;
|
|
3973
3973
|
/** Number of items to skip in the current sort order. */
|
|
3974
3974
|
offset?: number | null;
|
|
3975
3975
|
}
|
|
3976
|
-
interface CursorPaging$
|
|
3976
|
+
interface CursorPaging$p {
|
|
3977
3977
|
/** Maximum number of items to return in the results. */
|
|
3978
3978
|
limit?: number | null;
|
|
3979
3979
|
/**
|
|
@@ -3993,9 +3993,9 @@ interface QueryAbandonedCheckoutsResponse$1 {
|
|
|
3993
3993
|
/** List of abandoned checkouts. */
|
|
3994
3994
|
abandonedCheckouts?: AbandonedCheckout$1[];
|
|
3995
3995
|
/** Details on the paged set of results returned. */
|
|
3996
|
-
metadata?: PagingMetadataV2$
|
|
3996
|
+
metadata?: PagingMetadataV2$3;
|
|
3997
3997
|
}
|
|
3998
|
-
interface PagingMetadataV2$
|
|
3998
|
+
interface PagingMetadataV2$3 {
|
|
3999
3999
|
/** Number of items returned in the response. */
|
|
4000
4000
|
count?: number | null;
|
|
4001
4001
|
/** Offset that was requested. */
|
|
@@ -4005,9 +4005,9 @@ interface PagingMetadataV2$1 {
|
|
|
4005
4005
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
4006
4006
|
tooManyToCount?: boolean | null;
|
|
4007
4007
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
4008
|
-
cursors?: Cursors$
|
|
4008
|
+
cursors?: Cursors$p;
|
|
4009
4009
|
}
|
|
4010
|
-
interface Cursors$
|
|
4010
|
+
interface Cursors$p {
|
|
4011
4011
|
/** Cursor string pointing to the next page in the list of results. */
|
|
4012
4012
|
next?: string | null;
|
|
4013
4013
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -4337,13 +4337,13 @@ interface DeleteAbandonedCheckoutResponse {
|
|
|
4337
4337
|
}
|
|
4338
4338
|
interface QueryAbandonedCheckoutsRequest {
|
|
4339
4339
|
/** Query options. */
|
|
4340
|
-
query: QueryV2$
|
|
4340
|
+
query: QueryV2$6;
|
|
4341
4341
|
}
|
|
4342
|
-
interface QueryV2$
|
|
4342
|
+
interface QueryV2$6 extends QueryV2PagingMethodOneOf$6 {
|
|
4343
4343
|
/** Paging options to limit and skip the number of items. */
|
|
4344
|
-
paging?: Paging$
|
|
4344
|
+
paging?: Paging$6;
|
|
4345
4345
|
/** 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`. */
|
|
4346
|
-
cursorPaging?: CursorPaging$
|
|
4346
|
+
cursorPaging?: CursorPaging$o;
|
|
4347
4347
|
/**
|
|
4348
4348
|
* Filter object.
|
|
4349
4349
|
*
|
|
@@ -4355,36 +4355,36 @@ interface QueryV2$4 extends QueryV2PagingMethodOneOf$4 {
|
|
|
4355
4355
|
*
|
|
4356
4356
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
4357
4357
|
*/
|
|
4358
|
-
sort?: Sorting$
|
|
4358
|
+
sort?: Sorting$o[];
|
|
4359
4359
|
/** 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. */
|
|
4360
4360
|
fields?: string[];
|
|
4361
4361
|
/** 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. */
|
|
4362
4362
|
fieldsets?: string[];
|
|
4363
4363
|
}
|
|
4364
4364
|
/** @oneof */
|
|
4365
|
-
interface QueryV2PagingMethodOneOf$
|
|
4365
|
+
interface QueryV2PagingMethodOneOf$6 {
|
|
4366
4366
|
/** Paging options to limit and skip the number of items. */
|
|
4367
|
-
paging?: Paging$
|
|
4367
|
+
paging?: Paging$6;
|
|
4368
4368
|
/** 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`. */
|
|
4369
|
-
cursorPaging?: CursorPaging$
|
|
4369
|
+
cursorPaging?: CursorPaging$o;
|
|
4370
4370
|
}
|
|
4371
|
-
interface Sorting$
|
|
4371
|
+
interface Sorting$o {
|
|
4372
4372
|
/** Name of the field to sort by. */
|
|
4373
4373
|
fieldName?: string;
|
|
4374
4374
|
/** Sort order. */
|
|
4375
|
-
order?: SortOrder$
|
|
4375
|
+
order?: SortOrder$o;
|
|
4376
4376
|
}
|
|
4377
|
-
declare enum SortOrder$
|
|
4377
|
+
declare enum SortOrder$o {
|
|
4378
4378
|
ASC = "ASC",
|
|
4379
4379
|
DESC = "DESC"
|
|
4380
4380
|
}
|
|
4381
|
-
interface Paging$
|
|
4381
|
+
interface Paging$6 {
|
|
4382
4382
|
/** Number of items to load. */
|
|
4383
4383
|
limit?: number | null;
|
|
4384
4384
|
/** Number of items to skip in the current sort order. */
|
|
4385
4385
|
offset?: number | null;
|
|
4386
4386
|
}
|
|
4387
|
-
interface CursorPaging$
|
|
4387
|
+
interface CursorPaging$o {
|
|
4388
4388
|
/** Maximum number of items to return in the results. */
|
|
4389
4389
|
limit?: number | null;
|
|
4390
4390
|
/**
|
|
@@ -4404,9 +4404,9 @@ interface QueryAbandonedCheckoutsResponse {
|
|
|
4404
4404
|
/** List of abandoned checkouts. */
|
|
4405
4405
|
abandonedCheckouts?: AbandonedCheckout[];
|
|
4406
4406
|
/** Details on the paged set of results returned. */
|
|
4407
|
-
metadata?: PagingMetadataV2;
|
|
4407
|
+
metadata?: PagingMetadataV2$2;
|
|
4408
4408
|
}
|
|
4409
|
-
interface PagingMetadataV2 {
|
|
4409
|
+
interface PagingMetadataV2$2 {
|
|
4410
4410
|
/** Number of items returned in the response. */
|
|
4411
4411
|
count?: number | null;
|
|
4412
4412
|
/** Offset that was requested. */
|
|
@@ -4416,9 +4416,9 @@ interface PagingMetadataV2 {
|
|
|
4416
4416
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
4417
4417
|
tooManyToCount?: boolean | null;
|
|
4418
4418
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
4419
|
-
cursors?: Cursors$
|
|
4419
|
+
cursors?: Cursors$o;
|
|
4420
4420
|
}
|
|
4421
|
-
interface Cursors$
|
|
4421
|
+
interface Cursors$o {
|
|
4422
4422
|
/** Cursor string pointing to the next page in the list of results. */
|
|
4423
4423
|
next?: string | null;
|
|
4424
4424
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -4580,7 +4580,7 @@ interface RawHttpResponseNonNullableFields$2 {
|
|
|
4580
4580
|
headers: HeadersEntryNonNullableFields$2[];
|
|
4581
4581
|
}
|
|
4582
4582
|
|
|
4583
|
-
type __PublicMethodMetaInfo$
|
|
4583
|
+
type __PublicMethodMetaInfo$p<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4584
4584
|
getUrl: (context: any) => string;
|
|
4585
4585
|
httpMethod: K;
|
|
4586
4586
|
path: string;
|
|
@@ -4590,25 +4590,25 @@ type __PublicMethodMetaInfo$n<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
4590
4590
|
__responseType: Q;
|
|
4591
4591
|
__originalResponseType: R;
|
|
4592
4592
|
};
|
|
4593
|
-
declare function getAbandonedCheckout(): __PublicMethodMetaInfo$
|
|
4593
|
+
declare function getAbandonedCheckout(): __PublicMethodMetaInfo$p<'GET', {
|
|
4594
4594
|
abandonedCheckoutId: string;
|
|
4595
4595
|
}, GetAbandonedCheckoutRequest, GetAbandonedCheckoutRequest$1, GetAbandonedCheckoutResponse & GetAbandonedCheckoutResponseNonNullableFields, GetAbandonedCheckoutResponse$1 & GetAbandonedCheckoutResponseNonNullableFields$1>;
|
|
4596
|
-
declare function deleteAbandonedCheckout(): __PublicMethodMetaInfo$
|
|
4596
|
+
declare function deleteAbandonedCheckout(): __PublicMethodMetaInfo$p<'DELETE', {
|
|
4597
4597
|
abandonedCheckoutId: string;
|
|
4598
4598
|
}, DeleteAbandonedCheckoutRequest, DeleteAbandonedCheckoutRequest$1, DeleteAbandonedCheckoutResponse, DeleteAbandonedCheckoutResponse$1>;
|
|
4599
|
-
declare function queryAbandonedCheckouts(): __PublicMethodMetaInfo$
|
|
4600
|
-
declare function searchAbandonedCheckouts(): __PublicMethodMetaInfo$
|
|
4601
|
-
declare function redirectToCheckout(): __PublicMethodMetaInfo$
|
|
4599
|
+
declare function queryAbandonedCheckouts(): __PublicMethodMetaInfo$p<'POST', {}, QueryAbandonedCheckoutsRequest, QueryAbandonedCheckoutsRequest$1, QueryAbandonedCheckoutsResponse & QueryAbandonedCheckoutsResponseNonNullableFields, QueryAbandonedCheckoutsResponse$1 & QueryAbandonedCheckoutsResponseNonNullableFields$1>;
|
|
4600
|
+
declare function searchAbandonedCheckouts(): __PublicMethodMetaInfo$p<'POST', {}, SearchAbandonedCheckoutsRequest, SearchAbandonedCheckoutsRequest$1, SearchAbandonedCheckoutsResponse & SearchAbandonedCheckoutsResponseNonNullableFields, SearchAbandonedCheckoutsResponse$1 & SearchAbandonedCheckoutsResponseNonNullableFields$1>;
|
|
4601
|
+
declare function redirectToCheckout(): __PublicMethodMetaInfo$p<'GET', {
|
|
4602
4602
|
abandonedCheckoutId: string;
|
|
4603
4603
|
}, RedirectToCheckoutRequest, RedirectToCheckoutRequest$1, RawHttpResponse$2 & RawHttpResponseNonNullableFields$2, RawHttpResponse$3 & RawHttpResponseNonNullableFields$3>;
|
|
4604
4604
|
|
|
4605
|
-
declare const meta$
|
|
4606
|
-
declare const meta$
|
|
4607
|
-
declare const meta$
|
|
4608
|
-
declare const meta$
|
|
4609
|
-
declare const meta$
|
|
4610
|
-
declare namespace meta$
|
|
4611
|
-
export { type __PublicMethodMetaInfo$
|
|
4605
|
+
declare const meta$p_deleteAbandonedCheckout: typeof deleteAbandonedCheckout;
|
|
4606
|
+
declare const meta$p_getAbandonedCheckout: typeof getAbandonedCheckout;
|
|
4607
|
+
declare const meta$p_queryAbandonedCheckouts: typeof queryAbandonedCheckouts;
|
|
4608
|
+
declare const meta$p_redirectToCheckout: typeof redirectToCheckout;
|
|
4609
|
+
declare const meta$p_searchAbandonedCheckouts: typeof searchAbandonedCheckouts;
|
|
4610
|
+
declare namespace meta$p {
|
|
4611
|
+
export { type __PublicMethodMetaInfo$p as __PublicMethodMetaInfo, meta$p_deleteAbandonedCheckout as deleteAbandonedCheckout, meta$p_getAbandonedCheckout as getAbandonedCheckout, meta$p_queryAbandonedCheckouts as queryAbandonedCheckouts, meta$p_redirectToCheckout as redirectToCheckout, meta$p_searchAbandonedCheckouts as searchAbandonedCheckouts };
|
|
4612
4612
|
}
|
|
4613
4613
|
|
|
4614
4614
|
/**
|
|
@@ -4774,26 +4774,26 @@ interface PlatformQuery$1 extends PlatformQueryPagingMethodOneOf$1 {
|
|
|
4774
4774
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
4775
4775
|
paging?: PlatformPaging$1;
|
|
4776
4776
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
4777
|
-
cursorPaging?: CursorPaging$
|
|
4777
|
+
cursorPaging?: CursorPaging$n;
|
|
4778
4778
|
/** Filter object. */
|
|
4779
4779
|
filter?: Record<string, any> | null;
|
|
4780
4780
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
4781
|
-
sort?: Sorting$
|
|
4781
|
+
sort?: Sorting$n[];
|
|
4782
4782
|
}
|
|
4783
4783
|
/** @oneof */
|
|
4784
4784
|
interface PlatformQueryPagingMethodOneOf$1 {
|
|
4785
4785
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
4786
4786
|
paging?: PlatformPaging$1;
|
|
4787
4787
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
4788
|
-
cursorPaging?: CursorPaging$
|
|
4788
|
+
cursorPaging?: CursorPaging$n;
|
|
4789
4789
|
}
|
|
4790
|
-
interface Sorting$
|
|
4790
|
+
interface Sorting$n {
|
|
4791
4791
|
/** Name of the field to sort by. */
|
|
4792
4792
|
fieldName?: string;
|
|
4793
4793
|
/** Sort order. */
|
|
4794
|
-
order?: SortOrder$
|
|
4794
|
+
order?: SortOrder$n;
|
|
4795
4795
|
}
|
|
4796
|
-
declare enum SortOrder$
|
|
4796
|
+
declare enum SortOrder$n {
|
|
4797
4797
|
ASC = "ASC",
|
|
4798
4798
|
DESC = "DESC"
|
|
4799
4799
|
}
|
|
@@ -4803,7 +4803,7 @@ interface PlatformPaging$1 {
|
|
|
4803
4803
|
/** Number of items to skip in the current sort order. */
|
|
4804
4804
|
offset?: number | null;
|
|
4805
4805
|
}
|
|
4806
|
-
interface CursorPaging$
|
|
4806
|
+
interface CursorPaging$n {
|
|
4807
4807
|
/** Maximum number of items to return in the results. */
|
|
4808
4808
|
limit?: number | null;
|
|
4809
4809
|
/**
|
|
@@ -4828,9 +4828,9 @@ interface PlatformPagingMetadata$1 {
|
|
|
4828
4828
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
4829
4829
|
total?: number | null;
|
|
4830
4830
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
4831
|
-
cursors?: Cursors$
|
|
4831
|
+
cursors?: Cursors$n;
|
|
4832
4832
|
}
|
|
4833
|
-
interface Cursors$
|
|
4833
|
+
interface Cursors$n {
|
|
4834
4834
|
/** Cursor string pointing to the next page in the list of results. */
|
|
4835
4835
|
next?: string | null;
|
|
4836
4836
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -5049,26 +5049,26 @@ interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
|
|
5049
5049
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
5050
5050
|
paging?: PlatformPaging;
|
|
5051
5051
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
5052
|
-
cursorPaging?: CursorPaging$
|
|
5052
|
+
cursorPaging?: CursorPaging$m;
|
|
5053
5053
|
/** Filter object. */
|
|
5054
5054
|
filter?: Record<string, any> | null;
|
|
5055
5055
|
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
5056
|
-
sort?: Sorting$
|
|
5056
|
+
sort?: Sorting$m[];
|
|
5057
5057
|
}
|
|
5058
5058
|
/** @oneof */
|
|
5059
5059
|
interface PlatformQueryPagingMethodOneOf {
|
|
5060
5060
|
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
5061
5061
|
paging?: PlatformPaging;
|
|
5062
5062
|
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
5063
|
-
cursorPaging?: CursorPaging$
|
|
5063
|
+
cursorPaging?: CursorPaging$m;
|
|
5064
5064
|
}
|
|
5065
|
-
interface Sorting$
|
|
5065
|
+
interface Sorting$m {
|
|
5066
5066
|
/** Name of the field to sort by. */
|
|
5067
5067
|
fieldName?: string;
|
|
5068
5068
|
/** Sort order. */
|
|
5069
|
-
order?: SortOrder$
|
|
5069
|
+
order?: SortOrder$m;
|
|
5070
5070
|
}
|
|
5071
|
-
declare enum SortOrder$
|
|
5071
|
+
declare enum SortOrder$m {
|
|
5072
5072
|
ASC = "ASC",
|
|
5073
5073
|
DESC = "DESC"
|
|
5074
5074
|
}
|
|
@@ -5078,7 +5078,7 @@ interface PlatformPaging {
|
|
|
5078
5078
|
/** Number of items to skip in the current sort order. */
|
|
5079
5079
|
offset?: number | null;
|
|
5080
5080
|
}
|
|
5081
|
-
interface CursorPaging$
|
|
5081
|
+
interface CursorPaging$m {
|
|
5082
5082
|
/** Maximum number of items to return in the results. */
|
|
5083
5083
|
limit?: number | null;
|
|
5084
5084
|
/**
|
|
@@ -5103,9 +5103,9 @@ interface PlatformPagingMetadata {
|
|
|
5103
5103
|
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
5104
5104
|
total?: number | null;
|
|
5105
5105
|
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
5106
|
-
cursors?: Cursors$
|
|
5106
|
+
cursors?: Cursors$m;
|
|
5107
5107
|
}
|
|
5108
|
-
interface Cursors$
|
|
5108
|
+
interface Cursors$m {
|
|
5109
5109
|
/** Cursor string pointing to the next page in the list of results. */
|
|
5110
5110
|
next?: string | null;
|
|
5111
5111
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -5188,7 +5188,7 @@ interface GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonN
|
|
|
5188
5188
|
countsPerCatalogReference: BackInStockNotificationRequestsCountNonNullableFields[];
|
|
5189
5189
|
}
|
|
5190
5190
|
|
|
5191
|
-
type __PublicMethodMetaInfo$
|
|
5191
|
+
type __PublicMethodMetaInfo$o<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
5192
5192
|
getUrl: (context: any) => string;
|
|
5193
5193
|
httpMethod: K;
|
|
5194
5194
|
path: string;
|
|
@@ -5198,29 +5198,29 @@ type __PublicMethodMetaInfo$m<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
5198
5198
|
__responseType: Q;
|
|
5199
5199
|
__originalResponseType: R;
|
|
5200
5200
|
};
|
|
5201
|
-
declare function createBackInStockNotificationRequest(): __PublicMethodMetaInfo$
|
|
5202
|
-
declare function getBackInStockNotificationRequest(): __PublicMethodMetaInfo$
|
|
5201
|
+
declare function createBackInStockNotificationRequest(): __PublicMethodMetaInfo$o<'POST', {}, CreateBackInStockNotificationRequestRequest, CreateBackInStockNotificationRequestRequest$1, CreateBackInStockNotificationRequestResponse & CreateBackInStockNotificationRequestResponseNonNullableFields, CreateBackInStockNotificationRequestResponse$1 & CreateBackInStockNotificationRequestResponseNonNullableFields$1>;
|
|
5202
|
+
declare function getBackInStockNotificationRequest(): __PublicMethodMetaInfo$o<'GET', {
|
|
5203
5203
|
id: string;
|
|
5204
5204
|
}, GetBackInStockNotificationRequestRequest, GetBackInStockNotificationRequestRequest$1, GetBackInStockNotificationRequestResponse & GetBackInStockNotificationRequestResponseNonNullableFields, GetBackInStockNotificationRequestResponse$1 & GetBackInStockNotificationRequestResponseNonNullableFields$1>;
|
|
5205
|
-
declare function deleteBackInStockNotificationRequest(): __PublicMethodMetaInfo$
|
|
5205
|
+
declare function deleteBackInStockNotificationRequest(): __PublicMethodMetaInfo$o<'DELETE', {
|
|
5206
5206
|
id: string;
|
|
5207
5207
|
}, DeleteBackInStockNotificationRequestRequest, DeleteBackInStockNotificationRequestRequest$1, DeleteBackInStockNotificationRequestResponse, DeleteBackInStockNotificationRequestResponse$1>;
|
|
5208
|
-
declare function markAsNotificationSent(): __PublicMethodMetaInfo$
|
|
5208
|
+
declare function markAsNotificationSent(): __PublicMethodMetaInfo$o<'PUT', {
|
|
5209
5209
|
id: string;
|
|
5210
5210
|
}, MarkAsNotificationSentRequest, MarkAsNotificationSentRequest$1, MarkAsNotificationSentResponse & MarkAsNotificationSentResponseNonNullableFields, MarkAsNotificationSentResponse$1 & MarkAsNotificationSentResponseNonNullableFields$1>;
|
|
5211
|
-
declare function queryBackInStockNotificationRequests(): __PublicMethodMetaInfo$
|
|
5212
|
-
declare function getBackInStockNotificationRequestsCountByCatalogReferences(): __PublicMethodMetaInfo$
|
|
5213
|
-
declare function reportItemsBackInStock(): __PublicMethodMetaInfo$
|
|
5211
|
+
declare function queryBackInStockNotificationRequests(): __PublicMethodMetaInfo$o<'GET', {}, QueryBackInStockNotificationRequestsRequest, QueryBackInStockNotificationRequestsRequest$1, QueryBackInStockNotificationRequestsResponse & QueryBackInStockNotificationRequestsResponseNonNullableFields, QueryBackInStockNotificationRequestsResponse$1 & QueryBackInStockNotificationRequestsResponseNonNullableFields$1>;
|
|
5212
|
+
declare function getBackInStockNotificationRequestsCountByCatalogReferences(): __PublicMethodMetaInfo$o<'GET', {}, GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, GetBackInStockNotificationRequestsCountByCatalogReferencesRequest$1, GetBackInStockNotificationRequestsCountByCatalogReferencesResponse & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, GetBackInStockNotificationRequestsCountByCatalogReferencesResponse$1 & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields$1>;
|
|
5213
|
+
declare function reportItemsBackInStock(): __PublicMethodMetaInfo$o<'POST', {}, ReportItemsBackInStockRequest, ReportItemsBackInStockRequest$1, ReportItemsBackInStockResponse, ReportItemsBackInStockResponse$1>;
|
|
5214
5214
|
|
|
5215
|
-
declare const meta$
|
|
5216
|
-
declare const meta$
|
|
5217
|
-
declare const meta$
|
|
5218
|
-
declare const meta$
|
|
5219
|
-
declare const meta$
|
|
5220
|
-
declare const meta$
|
|
5221
|
-
declare const meta$
|
|
5222
|
-
declare namespace meta$
|
|
5223
|
-
export { type __PublicMethodMetaInfo$
|
|
5215
|
+
declare const meta$o_createBackInStockNotificationRequest: typeof createBackInStockNotificationRequest;
|
|
5216
|
+
declare const meta$o_deleteBackInStockNotificationRequest: typeof deleteBackInStockNotificationRequest;
|
|
5217
|
+
declare const meta$o_getBackInStockNotificationRequest: typeof getBackInStockNotificationRequest;
|
|
5218
|
+
declare const meta$o_getBackInStockNotificationRequestsCountByCatalogReferences: typeof getBackInStockNotificationRequestsCountByCatalogReferences;
|
|
5219
|
+
declare const meta$o_markAsNotificationSent: typeof markAsNotificationSent;
|
|
5220
|
+
declare const meta$o_queryBackInStockNotificationRequests: typeof queryBackInStockNotificationRequests;
|
|
5221
|
+
declare const meta$o_reportItemsBackInStock: typeof reportItemsBackInStock;
|
|
5222
|
+
declare namespace meta$o {
|
|
5223
|
+
export { type __PublicMethodMetaInfo$o as __PublicMethodMetaInfo, meta$o_createBackInStockNotificationRequest as createBackInStockNotificationRequest, meta$o_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, meta$o_getBackInStockNotificationRequest as getBackInStockNotificationRequest, meta$o_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, meta$o_markAsNotificationSent as markAsNotificationSent, meta$o_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, meta$o_reportItemsBackInStock as reportItemsBackInStock };
|
|
5224
5224
|
}
|
|
5225
5225
|
|
|
5226
5226
|
/**
|
|
@@ -5335,7 +5335,7 @@ interface GetSettingsResponseNonNullableFields {
|
|
|
5335
5335
|
settings?: BackInStockSettingsNonNullableFields;
|
|
5336
5336
|
}
|
|
5337
5337
|
|
|
5338
|
-
type __PublicMethodMetaInfo$
|
|
5338
|
+
type __PublicMethodMetaInfo$n<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
5339
5339
|
getUrl: (context: any) => string;
|
|
5340
5340
|
httpMethod: K;
|
|
5341
5341
|
path: string;
|
|
@@ -5345,15 +5345,15 @@ type __PublicMethodMetaInfo$l<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
5345
5345
|
__responseType: Q;
|
|
5346
5346
|
__originalResponseType: R;
|
|
5347
5347
|
};
|
|
5348
|
-
declare function startCollectingRequests(): __PublicMethodMetaInfo$
|
|
5349
|
-
declare function stopCollectingRequests(): __PublicMethodMetaInfo$
|
|
5350
|
-
declare function getSettings(): __PublicMethodMetaInfo$
|
|
5348
|
+
declare function startCollectingRequests(): __PublicMethodMetaInfo$n<'POST', {}, StartCollectingRequestsRequest, StartCollectingRequestsRequest$1, StartCollectingRequestsResponse & StartCollectingRequestsResponseNonNullableFields, StartCollectingRequestsResponse$1 & StartCollectingRequestsResponseNonNullableFields$1>;
|
|
5349
|
+
declare function stopCollectingRequests(): __PublicMethodMetaInfo$n<'POST', {}, StopCollectingRequestsRequest, StopCollectingRequestsRequest$1, StopCollectingRequestsResponse & StopCollectingRequestsResponseNonNullableFields, StopCollectingRequestsResponse$1 & StopCollectingRequestsResponseNonNullableFields$1>;
|
|
5350
|
+
declare function getSettings(): __PublicMethodMetaInfo$n<'PUT', {}, GetSettingsRequest, GetSettingsRequest$1, GetSettingsResponse & GetSettingsResponseNonNullableFields, GetSettingsResponse$1 & GetSettingsResponseNonNullableFields$1>;
|
|
5351
5351
|
|
|
5352
|
-
declare const meta$
|
|
5353
|
-
declare const meta$
|
|
5354
|
-
declare const meta$
|
|
5355
|
-
declare namespace meta$
|
|
5356
|
-
export { type __PublicMethodMetaInfo$
|
|
5352
|
+
declare const meta$n_getSettings: typeof getSettings;
|
|
5353
|
+
declare const meta$n_startCollectingRequests: typeof startCollectingRequests;
|
|
5354
|
+
declare const meta$n_stopCollectingRequests: typeof stopCollectingRequests;
|
|
5355
|
+
declare namespace meta$n {
|
|
5356
|
+
export { type __PublicMethodMetaInfo$n as __PublicMethodMetaInfo, meta$n_getSettings as getSettings, meta$n_startCollectingRequests as startCollectingRequests, meta$n_stopCollectingRequests as stopCollectingRequests };
|
|
5357
5357
|
}
|
|
5358
5358
|
|
|
5359
5359
|
interface Cart$3 {
|
|
@@ -9301,7 +9301,7 @@ interface GetCartResponseNonNullableFields {
|
|
|
9301
9301
|
cart?: CartNonNullableFields$2;
|
|
9302
9302
|
}
|
|
9303
9303
|
|
|
9304
|
-
type __PublicMethodMetaInfo$
|
|
9304
|
+
type __PublicMethodMetaInfo$m<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
9305
9305
|
getUrl: (context: any) => string;
|
|
9306
9306
|
httpMethod: K;
|
|
9307
9307
|
path: string;
|
|
@@ -9311,43 +9311,43 @@ type __PublicMethodMetaInfo$k<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
9311
9311
|
__responseType: Q;
|
|
9312
9312
|
__originalResponseType: R;
|
|
9313
9313
|
};
|
|
9314
|
-
declare function createCart(): __PublicMethodMetaInfo$
|
|
9315
|
-
declare function updateCart(): __PublicMethodMetaInfo$
|
|
9314
|
+
declare function createCart(): __PublicMethodMetaInfo$m<'POST', {}, CreateCartRequest, CreateCartRequest$1, CreateCartResponse & CreateCartResponseNonNullableFields, CreateCartResponse$1 & CreateCartResponseNonNullableFields$1>;
|
|
9315
|
+
declare function updateCart(): __PublicMethodMetaInfo$m<'PATCH', {
|
|
9316
9316
|
cartInfoId: string;
|
|
9317
9317
|
}, UpdateCartRequest$2, UpdateCartRequest$3, UpdateCartResponse$2 & UpdateCartResponseNonNullableFields$2, UpdateCartResponse$3 & UpdateCartResponseNonNullableFields$3>;
|
|
9318
|
-
declare function getCart(): __PublicMethodMetaInfo$
|
|
9318
|
+
declare function getCart(): __PublicMethodMetaInfo$m<'GET', {
|
|
9319
9319
|
id: string;
|
|
9320
9320
|
}, GetCartRequest, GetCartRequest$1, GetCartResponse & GetCartResponseNonNullableFields, GetCartResponse$1 & GetCartResponseNonNullableFields$1>;
|
|
9321
|
-
declare function addToCart(): __PublicMethodMetaInfo$
|
|
9321
|
+
declare function addToCart(): __PublicMethodMetaInfo$m<'POST', {
|
|
9322
9322
|
id: string;
|
|
9323
9323
|
}, AddToCartRequest, AddToCartRequest$1, AddToCartResponse$2 & AddToCartResponseNonNullableFields$2, AddToCartResponse$3 & AddToCartResponseNonNullableFields$3>;
|
|
9324
|
-
declare function removeLineItems$1(): __PublicMethodMetaInfo$
|
|
9324
|
+
declare function removeLineItems$1(): __PublicMethodMetaInfo$m<'POST', {
|
|
9325
9325
|
id: string;
|
|
9326
9326
|
}, RemoveLineItemsRequest$2, RemoveLineItemsRequest$3, RemoveLineItemsResponse$4 & RemoveLineItemsResponseNonNullableFields$4, RemoveLineItemsResponse$5 & RemoveLineItemsResponseNonNullableFields$5>;
|
|
9327
|
-
declare function createCheckout$1(): __PublicMethodMetaInfo$
|
|
9327
|
+
declare function createCheckout$1(): __PublicMethodMetaInfo$m<'POST', {
|
|
9328
9328
|
id: string;
|
|
9329
9329
|
}, CreateCheckoutRequest$2, CreateCheckoutRequest$3, CreateCheckoutResponse$4 & CreateCheckoutResponseNonNullableFields$4, CreateCheckoutResponse$5 & CreateCheckoutResponseNonNullableFields$5>;
|
|
9330
|
-
declare function removeCoupon$1(): __PublicMethodMetaInfo$
|
|
9330
|
+
declare function removeCoupon$1(): __PublicMethodMetaInfo$m<'POST', {
|
|
9331
9331
|
id: string;
|
|
9332
9332
|
}, RemoveCouponRequest$2, RemoveCouponRequest$3, RemoveCouponResponse$4 & RemoveCouponResponseNonNullableFields$4, RemoveCouponResponse$5 & RemoveCouponResponseNonNullableFields$5>;
|
|
9333
|
-
declare function updateLineItemsQuantity$1(): __PublicMethodMetaInfo$
|
|
9333
|
+
declare function updateLineItemsQuantity$1(): __PublicMethodMetaInfo$m<'POST', {
|
|
9334
9334
|
id: string;
|
|
9335
9335
|
}, UpdateLineItemsQuantityRequest$2, UpdateLineItemsQuantityRequest$3, UpdateLineItemsQuantityResponse$4 & UpdateLineItemsQuantityResponseNonNullableFields$4, UpdateLineItemsQuantityResponse$5 & UpdateLineItemsQuantityResponseNonNullableFields$5>;
|
|
9336
|
-
declare function estimateTotals(): __PublicMethodMetaInfo$
|
|
9336
|
+
declare function estimateTotals(): __PublicMethodMetaInfo$m<'POST', {
|
|
9337
9337
|
id: string;
|
|
9338
9338
|
}, EstimateTotalsRequest, EstimateTotalsRequest$1, EstimateTotalsResponse$2 & EstimateTotalsResponseNonNullableFields$2, EstimateTotalsResponse$3 & EstimateTotalsResponseNonNullableFields$3>;
|
|
9339
|
-
declare function deleteCart(): __PublicMethodMetaInfo$
|
|
9339
|
+
declare function deleteCart(): __PublicMethodMetaInfo$m<'DELETE', {
|
|
9340
9340
|
id: string;
|
|
9341
9341
|
}, DeleteCartRequest, DeleteCartRequest$1, DeleteCartResponse$2, DeleteCartResponse$3>;
|
|
9342
9342
|
|
|
9343
|
-
declare const meta$
|
|
9344
|
-
declare const meta$
|
|
9345
|
-
declare const meta$
|
|
9346
|
-
declare const meta$
|
|
9347
|
-
declare const meta$
|
|
9348
|
-
declare const meta$
|
|
9349
|
-
declare namespace meta$
|
|
9350
|
-
export { type __PublicMethodMetaInfo$
|
|
9343
|
+
declare const meta$m_addToCart: typeof addToCart;
|
|
9344
|
+
declare const meta$m_createCart: typeof createCart;
|
|
9345
|
+
declare const meta$m_deleteCart: typeof deleteCart;
|
|
9346
|
+
declare const meta$m_estimateTotals: typeof estimateTotals;
|
|
9347
|
+
declare const meta$m_getCart: typeof getCart;
|
|
9348
|
+
declare const meta$m_updateCart: typeof updateCart;
|
|
9349
|
+
declare namespace meta$m {
|
|
9350
|
+
export { type __PublicMethodMetaInfo$m as __PublicMethodMetaInfo, meta$m_addToCart as addToCart, meta$m_createCart as createCart, createCheckout$1 as createCheckout, meta$m_deleteCart as deleteCart, meta$m_estimateTotals as estimateTotals, meta$m_getCart as getCart, removeCoupon$1 as removeCoupon, removeLineItems$1 as removeLineItems, meta$m_updateCart as updateCart, updateLineItemsQuantity$1 as updateLineItemsQuantity };
|
|
9351
9351
|
}
|
|
9352
9352
|
|
|
9353
9353
|
interface Cart$1 {
|
|
@@ -13215,7 +13215,7 @@ interface EstimateTotalsResponseNonNullableFields {
|
|
|
13215
13215
|
violations: ViolationNonNullableFields$2[];
|
|
13216
13216
|
}
|
|
13217
13217
|
|
|
13218
|
-
type __PublicMethodMetaInfo$
|
|
13218
|
+
type __PublicMethodMetaInfo$l<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
13219
13219
|
getUrl: (context: any) => string;
|
|
13220
13220
|
httpMethod: K;
|
|
13221
13221
|
path: string;
|
|
@@ -13225,27 +13225,27 @@ type __PublicMethodMetaInfo$j<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
13225
13225
|
__responseType: Q;
|
|
13226
13226
|
__originalResponseType: R;
|
|
13227
13227
|
};
|
|
13228
|
-
declare function getCurrentCart(): __PublicMethodMetaInfo$
|
|
13229
|
-
declare function updateCurrentCart(): __PublicMethodMetaInfo$
|
|
13230
|
-
declare function addToCurrentCart(): __PublicMethodMetaInfo$
|
|
13231
|
-
declare function removeLineItemsFromCurrentCart(): __PublicMethodMetaInfo$
|
|
13232
|
-
declare function createCheckoutFromCurrentCart(): __PublicMethodMetaInfo$
|
|
13233
|
-
declare function removeCouponFromCurrentCart(): __PublicMethodMetaInfo$
|
|
13234
|
-
declare function updateCurrentCartLineItemQuantity(): __PublicMethodMetaInfo$
|
|
13235
|
-
declare function estimateCurrentCartTotals(): __PublicMethodMetaInfo$
|
|
13236
|
-
declare function deleteCurrentCart(): __PublicMethodMetaInfo$
|
|
13228
|
+
declare function getCurrentCart(): __PublicMethodMetaInfo$l<'GET', {}, GetCurrentCartRequest, GetCurrentCartRequest$1, GetCurrentCartResponse & GetCurrentCartResponseNonNullableFields, GetCurrentCartResponse$1 & GetCurrentCartResponseNonNullableFields$1>;
|
|
13229
|
+
declare function updateCurrentCart(): __PublicMethodMetaInfo$l<'PATCH', {}, UpdateCartRequest, UpdateCartRequest$1, UpdateCartResponse & UpdateCartResponseNonNullableFields, UpdateCartResponse$1 & UpdateCartResponseNonNullableFields$1>;
|
|
13230
|
+
declare function addToCurrentCart(): __PublicMethodMetaInfo$l<'POST', {}, AddToCurrentCartRequest, AddToCurrentCartRequest$1, AddToCartResponse & AddToCartResponseNonNullableFields, AddToCartResponse$1 & AddToCartResponseNonNullableFields$1>;
|
|
13231
|
+
declare function removeLineItemsFromCurrentCart(): __PublicMethodMetaInfo$l<'POST', {}, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsFromCurrentCartRequest$1, RemoveLineItemsResponse$2 & RemoveLineItemsResponseNonNullableFields$2, RemoveLineItemsResponse$3 & RemoveLineItemsResponseNonNullableFields$3>;
|
|
13232
|
+
declare function createCheckoutFromCurrentCart(): __PublicMethodMetaInfo$l<'POST', {}, CreateCheckoutFromCurrentCartRequest, CreateCheckoutFromCurrentCartRequest$1, CreateCheckoutResponse$2 & CreateCheckoutResponseNonNullableFields$2, CreateCheckoutResponse$3 & CreateCheckoutResponseNonNullableFields$3>;
|
|
13233
|
+
declare function removeCouponFromCurrentCart(): __PublicMethodMetaInfo$l<'POST', {}, RemoveCouponFromCurrentCartRequest, RemoveCouponFromCurrentCartRequest$1, RemoveCouponResponse$2 & RemoveCouponResponseNonNullableFields$2, RemoveCouponResponse$3 & RemoveCouponResponseNonNullableFields$3>;
|
|
13234
|
+
declare function updateCurrentCartLineItemQuantity(): __PublicMethodMetaInfo$l<'POST', {}, UpdateCurrentCartLineItemQuantityRequest, UpdateCurrentCartLineItemQuantityRequest$1, UpdateLineItemsQuantityResponse$2 & UpdateLineItemsQuantityResponseNonNullableFields$2, UpdateLineItemsQuantityResponse$3 & UpdateLineItemsQuantityResponseNonNullableFields$3>;
|
|
13235
|
+
declare function estimateCurrentCartTotals(): __PublicMethodMetaInfo$l<'POST', {}, EstimateCurrentCartTotalsRequest, EstimateCurrentCartTotalsRequest$1, EstimateTotalsResponse & EstimateTotalsResponseNonNullableFields, EstimateTotalsResponse$1 & EstimateTotalsResponseNonNullableFields$1>;
|
|
13236
|
+
declare function deleteCurrentCart(): __PublicMethodMetaInfo$l<'DELETE', {}, DeleteCurrentCartRequest, DeleteCurrentCartRequest$1, DeleteCartResponse, DeleteCartResponse$1>;
|
|
13237
13237
|
|
|
13238
|
-
declare const meta$
|
|
13239
|
-
declare const meta$
|
|
13240
|
-
declare const meta$
|
|
13241
|
-
declare const meta$
|
|
13242
|
-
declare const meta$
|
|
13243
|
-
declare const meta$
|
|
13244
|
-
declare const meta$
|
|
13245
|
-
declare const meta$
|
|
13246
|
-
declare const meta$
|
|
13247
|
-
declare namespace meta$
|
|
13248
|
-
export { type __PublicMethodMetaInfo$
|
|
13238
|
+
declare const meta$l_addToCurrentCart: typeof addToCurrentCart;
|
|
13239
|
+
declare const meta$l_createCheckoutFromCurrentCart: typeof createCheckoutFromCurrentCart;
|
|
13240
|
+
declare const meta$l_deleteCurrentCart: typeof deleteCurrentCart;
|
|
13241
|
+
declare const meta$l_estimateCurrentCartTotals: typeof estimateCurrentCartTotals;
|
|
13242
|
+
declare const meta$l_getCurrentCart: typeof getCurrentCart;
|
|
13243
|
+
declare const meta$l_removeCouponFromCurrentCart: typeof removeCouponFromCurrentCart;
|
|
13244
|
+
declare const meta$l_removeLineItemsFromCurrentCart: typeof removeLineItemsFromCurrentCart;
|
|
13245
|
+
declare const meta$l_updateCurrentCart: typeof updateCurrentCart;
|
|
13246
|
+
declare const meta$l_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
|
|
13247
|
+
declare namespace meta$l {
|
|
13248
|
+
export { type __PublicMethodMetaInfo$l as __PublicMethodMetaInfo, meta$l_addToCurrentCart as addToCurrentCart, meta$l_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, meta$l_deleteCurrentCart as deleteCurrentCart, meta$l_estimateCurrentCartTotals as estimateCurrentCartTotals, meta$l_getCurrentCart as getCurrentCart, meta$l_removeCouponFromCurrentCart as removeCouponFromCurrentCart, meta$l_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, meta$l_updateCurrentCart as updateCurrentCart, meta$l_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
13249
13249
|
}
|
|
13250
13250
|
|
|
13251
13251
|
interface Checkout$1 {
|
|
@@ -13391,7 +13391,7 @@ interface Checkout$1 {
|
|
|
13391
13391
|
*
|
|
13392
13392
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
13393
13393
|
*/
|
|
13394
|
-
extendedFields?: ExtendedFields$
|
|
13394
|
+
extendedFields?: ExtendedFields$f;
|
|
13395
13395
|
/**
|
|
13396
13396
|
* Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
|
|
13397
13397
|
* @readonly
|
|
@@ -13914,7 +13914,7 @@ declare enum TaxableAddressType$7 {
|
|
|
13914
13914
|
BILLING = "BILLING",
|
|
13915
13915
|
SHIPPING = "SHIPPING"
|
|
13916
13916
|
}
|
|
13917
|
-
interface ExtendedFields$
|
|
13917
|
+
interface ExtendedFields$f {
|
|
13918
13918
|
/**
|
|
13919
13919
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
13920
13920
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -15635,7 +15635,7 @@ interface Checkout {
|
|
|
15635
15635
|
*
|
|
15636
15636
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
15637
15637
|
*/
|
|
15638
|
-
extendedFields?: ExtendedFields$
|
|
15638
|
+
extendedFields?: ExtendedFields$e;
|
|
15639
15639
|
/**
|
|
15640
15640
|
* Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
|
|
15641
15641
|
* @readonly
|
|
@@ -16116,7 +16116,7 @@ declare enum TaxableAddressType$6 {
|
|
|
16116
16116
|
BILLING = "BILLING",
|
|
16117
16117
|
SHIPPING = "SHIPPING"
|
|
16118
16118
|
}
|
|
16119
|
-
interface ExtendedFields$
|
|
16119
|
+
interface ExtendedFields$e {
|
|
16120
16120
|
/**
|
|
16121
16121
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
16122
16122
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -17652,7 +17652,7 @@ interface GetCheckoutPaymentSettingsResponseNonNullableFields {
|
|
|
17652
17652
|
blockedPaymentOptions: GetCheckoutPaymentSettingsResponsePaymentOption[];
|
|
17653
17653
|
}
|
|
17654
17654
|
|
|
17655
|
-
type __PublicMethodMetaInfo$
|
|
17655
|
+
type __PublicMethodMetaInfo$k<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
17656
17656
|
getUrl: (context: any) => string;
|
|
17657
17657
|
httpMethod: K;
|
|
17658
17658
|
path: string;
|
|
@@ -17662,62 +17662,62 @@ type __PublicMethodMetaInfo$i<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
17662
17662
|
__responseType: Q;
|
|
17663
17663
|
__originalResponseType: R;
|
|
17664
17664
|
};
|
|
17665
|
-
declare function createCheckout(): __PublicMethodMetaInfo$
|
|
17666
|
-
declare function getCheckout(): __PublicMethodMetaInfo$
|
|
17665
|
+
declare function createCheckout(): __PublicMethodMetaInfo$k<'POST', {}, CreateCheckoutRequest, CreateCheckoutRequest$1, CreateCheckoutResponse & CreateCheckoutResponseNonNullableFields, CreateCheckoutResponse$1 & CreateCheckoutResponseNonNullableFields$1>;
|
|
17666
|
+
declare function getCheckout(): __PublicMethodMetaInfo$k<'GET', {
|
|
17667
17667
|
id: string;
|
|
17668
17668
|
}, GetCheckoutRequest, GetCheckoutRequest$1, GetCheckoutResponse & GetCheckoutResponseNonNullableFields, GetCheckoutResponse$1 & GetCheckoutResponseNonNullableFields$1>;
|
|
17669
|
-
declare function getCheckoutByCartId(): __PublicMethodMetaInfo$
|
|
17669
|
+
declare function getCheckoutByCartId(): __PublicMethodMetaInfo$k<'GET', {
|
|
17670
17670
|
id: string;
|
|
17671
17671
|
}, GetCheckoutByCartIdRequest, GetCheckoutByCartIdRequest$1, GetCheckoutByCartIdResponse & GetCheckoutByCartIdResponseNonNullableFields, GetCheckoutByCartIdResponse$1 & GetCheckoutByCartIdResponseNonNullableFields$1>;
|
|
17672
|
-
declare function getCheckoutUrl(): __PublicMethodMetaInfo$
|
|
17672
|
+
declare function getCheckoutUrl(): __PublicMethodMetaInfo$k<'GET', {
|
|
17673
17673
|
id: string;
|
|
17674
17674
|
}, GetCheckoutURLRequest, GetCheckoutURLRequest$1, GetCheckoutURLResponse & GetCheckoutURLResponseNonNullableFields, GetCheckoutURLResponse$1 & GetCheckoutURLResponseNonNullableFields$1>;
|
|
17675
|
-
declare function updateCheckout(): __PublicMethodMetaInfo$
|
|
17675
|
+
declare function updateCheckout(): __PublicMethodMetaInfo$k<'PATCH', {
|
|
17676
17676
|
checkoutId: string;
|
|
17677
17677
|
}, UpdateCheckoutRequest, UpdateCheckoutRequest$1, UpdateCheckoutResponse & UpdateCheckoutResponseNonNullableFields, UpdateCheckoutResponse$1 & UpdateCheckoutResponseNonNullableFields$1>;
|
|
17678
|
-
declare function removeCoupon(): __PublicMethodMetaInfo$
|
|
17678
|
+
declare function removeCoupon(): __PublicMethodMetaInfo$k<'POST', {
|
|
17679
17679
|
id: string;
|
|
17680
17680
|
}, RemoveCouponRequest, RemoveCouponRequest$1, RemoveCouponResponse & RemoveCouponResponseNonNullableFields, RemoveCouponResponse$1 & RemoveCouponResponseNonNullableFields$1>;
|
|
17681
|
-
declare function removeGiftCard(): __PublicMethodMetaInfo$
|
|
17681
|
+
declare function removeGiftCard(): __PublicMethodMetaInfo$k<'POST', {
|
|
17682
17682
|
id: string;
|
|
17683
17683
|
}, RemoveGiftCardRequest, RemoveGiftCardRequest$1, RemoveGiftCardResponse & RemoveGiftCardResponseNonNullableFields, RemoveGiftCardResponse$1 & RemoveGiftCardResponseNonNullableFields$1>;
|
|
17684
|
-
declare function removeOverrideCheckoutUrl(): __PublicMethodMetaInfo$
|
|
17684
|
+
declare function removeOverrideCheckoutUrl(): __PublicMethodMetaInfo$k<'POST', {
|
|
17685
17685
|
id: string;
|
|
17686
17686
|
}, RemoveOverrideCheckoutUrlRequest, RemoveOverrideCheckoutUrlRequest$1, RemoveOverrideCheckoutUrlResponse & RemoveOverrideCheckoutUrlResponseNonNullableFields, RemoveOverrideCheckoutUrlResponse$1 & RemoveOverrideCheckoutUrlResponseNonNullableFields$1>;
|
|
17687
|
-
declare function addToCheckout(): __PublicMethodMetaInfo$
|
|
17687
|
+
declare function addToCheckout(): __PublicMethodMetaInfo$k<'POST', {
|
|
17688
17688
|
id: string;
|
|
17689
17689
|
}, AddToCheckoutRequest, AddToCheckoutRequest$1, AddToCheckoutResponse & AddToCheckoutResponseNonNullableFields, AddToCheckoutResponse$1 & AddToCheckoutResponseNonNullableFields$1>;
|
|
17690
|
-
declare function removeLineItems(): __PublicMethodMetaInfo$
|
|
17690
|
+
declare function removeLineItems(): __PublicMethodMetaInfo$k<'POST', {
|
|
17691
17691
|
id: string;
|
|
17692
17692
|
}, RemoveLineItemsRequest, RemoveLineItemsRequest$1, RemoveLineItemsResponse & RemoveLineItemsResponseNonNullableFields, RemoveLineItemsResponse$1 & RemoveLineItemsResponseNonNullableFields$1>;
|
|
17693
|
-
declare function createOrder$1(): __PublicMethodMetaInfo$
|
|
17693
|
+
declare function createOrder$1(): __PublicMethodMetaInfo$k<'POST', {
|
|
17694
17694
|
id: string;
|
|
17695
17695
|
}, CreateOrderRequest$2, CreateOrderRequest$3, CreateOrderResponse$2 & CreateOrderResponseNonNullableFields$2, CreateOrderResponse$3 & CreateOrderResponseNonNullableFields$3>;
|
|
17696
|
-
declare function markCheckoutAsCompleted(): __PublicMethodMetaInfo$
|
|
17696
|
+
declare function markCheckoutAsCompleted(): __PublicMethodMetaInfo$k<'POST', {
|
|
17697
17697
|
id: string;
|
|
17698
17698
|
}, MarkCheckoutAsCompletedRequest, MarkCheckoutAsCompletedRequest$1, MarkCheckoutAsCompletedResponse, MarkCheckoutAsCompletedResponse$1>;
|
|
17699
|
-
declare function updateLineItemsQuantity(): __PublicMethodMetaInfo$
|
|
17699
|
+
declare function updateLineItemsQuantity(): __PublicMethodMetaInfo$k<'POST', {
|
|
17700
17700
|
id: string;
|
|
17701
17701
|
}, UpdateLineItemsQuantityRequest, UpdateLineItemsQuantityRequest$1, UpdateLineItemsQuantityResponse & UpdateLineItemsQuantityResponseNonNullableFields, UpdateLineItemsQuantityResponse$1 & UpdateLineItemsQuantityResponseNonNullableFields$1>;
|
|
17702
|
-
declare function getCheckoutPaymentSettings(): __PublicMethodMetaInfo$
|
|
17702
|
+
declare function getCheckoutPaymentSettings(): __PublicMethodMetaInfo$k<'GET', {
|
|
17703
17703
|
id: string;
|
|
17704
17704
|
}, GetCheckoutPaymentSettingsRequest, GetCheckoutPaymentSettingsRequest$1, GetCheckoutPaymentSettingsResponse & GetCheckoutPaymentSettingsResponseNonNullableFields, GetCheckoutPaymentSettingsResponse$1 & GetCheckoutPaymentSettingsResponseNonNullableFields$1>;
|
|
17705
17705
|
|
|
17706
|
-
declare const meta$
|
|
17707
|
-
declare const meta$
|
|
17708
|
-
declare const meta$
|
|
17709
|
-
declare const meta$
|
|
17710
|
-
declare const meta$
|
|
17711
|
-
declare const meta$
|
|
17712
|
-
declare const meta$
|
|
17713
|
-
declare const meta$
|
|
17714
|
-
declare const meta$
|
|
17715
|
-
declare const meta$
|
|
17716
|
-
declare const meta$
|
|
17717
|
-
declare const meta$
|
|
17718
|
-
declare const meta$
|
|
17719
|
-
declare namespace meta$
|
|
17720
|
-
export { type __PublicMethodMetaInfo$
|
|
17706
|
+
declare const meta$k_addToCheckout: typeof addToCheckout;
|
|
17707
|
+
declare const meta$k_createCheckout: typeof createCheckout;
|
|
17708
|
+
declare const meta$k_getCheckout: typeof getCheckout;
|
|
17709
|
+
declare const meta$k_getCheckoutByCartId: typeof getCheckoutByCartId;
|
|
17710
|
+
declare const meta$k_getCheckoutPaymentSettings: typeof getCheckoutPaymentSettings;
|
|
17711
|
+
declare const meta$k_getCheckoutUrl: typeof getCheckoutUrl;
|
|
17712
|
+
declare const meta$k_markCheckoutAsCompleted: typeof markCheckoutAsCompleted;
|
|
17713
|
+
declare const meta$k_removeCoupon: typeof removeCoupon;
|
|
17714
|
+
declare const meta$k_removeGiftCard: typeof removeGiftCard;
|
|
17715
|
+
declare const meta$k_removeLineItems: typeof removeLineItems;
|
|
17716
|
+
declare const meta$k_removeOverrideCheckoutUrl: typeof removeOverrideCheckoutUrl;
|
|
17717
|
+
declare const meta$k_updateCheckout: typeof updateCheckout;
|
|
17718
|
+
declare const meta$k_updateLineItemsQuantity: typeof updateLineItemsQuantity;
|
|
17719
|
+
declare namespace meta$k {
|
|
17720
|
+
export { type __PublicMethodMetaInfo$k as __PublicMethodMetaInfo, meta$k_addToCheckout as addToCheckout, meta$k_createCheckout as createCheckout, createOrder$1 as createOrder, meta$k_getCheckout as getCheckout, meta$k_getCheckoutByCartId as getCheckoutByCartId, meta$k_getCheckoutPaymentSettings as getCheckoutPaymentSettings, meta$k_getCheckoutUrl as getCheckoutUrl, meta$k_markCheckoutAsCompleted as markCheckoutAsCompleted, meta$k_removeCoupon as removeCoupon, meta$k_removeGiftCard as removeGiftCard, meta$k_removeLineItems as removeLineItems, meta$k_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, meta$k_updateCheckout as updateCheckout, meta$k_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
17721
17721
|
}
|
|
17722
17722
|
|
|
17723
17723
|
interface CheckoutSettings$1 {
|
|
@@ -18155,7 +18155,7 @@ interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
|
18155
18155
|
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
18156
18156
|
}
|
|
18157
18157
|
|
|
18158
|
-
type __PublicMethodMetaInfo$
|
|
18158
|
+
type __PublicMethodMetaInfo$j<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
18159
18159
|
getUrl: (context: any) => string;
|
|
18160
18160
|
httpMethod: K;
|
|
18161
18161
|
path: string;
|
|
@@ -18165,13 +18165,13 @@ type __PublicMethodMetaInfo$h<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
18165
18165
|
__responseType: Q;
|
|
18166
18166
|
__originalResponseType: R;
|
|
18167
18167
|
};
|
|
18168
|
-
declare function getCheckoutSettings(): __PublicMethodMetaInfo$
|
|
18169
|
-
declare function updateCheckoutSettings(): __PublicMethodMetaInfo$
|
|
18168
|
+
declare function getCheckoutSettings(): __PublicMethodMetaInfo$j<'GET', {}, GetCheckoutSettingsRequest, GetCheckoutSettingsRequest$1, GetCheckoutSettingsResponse & GetCheckoutSettingsResponseNonNullableFields, GetCheckoutSettingsResponse$1 & GetCheckoutSettingsResponseNonNullableFields$1>;
|
|
18169
|
+
declare function updateCheckoutSettings(): __PublicMethodMetaInfo$j<'PATCH', {}, UpdateCheckoutSettingsRequest, UpdateCheckoutSettingsRequest$1, UpdateCheckoutSettingsResponse & UpdateCheckoutSettingsResponseNonNullableFields, UpdateCheckoutSettingsResponse$1 & UpdateCheckoutSettingsResponseNonNullableFields$1>;
|
|
18170
18170
|
|
|
18171
|
-
declare const meta$
|
|
18172
|
-
declare const meta$
|
|
18173
|
-
declare namespace meta$
|
|
18174
|
-
export { type __PublicMethodMetaInfo$
|
|
18171
|
+
declare const meta$j_getCheckoutSettings: typeof getCheckoutSettings;
|
|
18172
|
+
declare const meta$j_updateCheckoutSettings: typeof updateCheckoutSettings;
|
|
18173
|
+
declare namespace meta$j {
|
|
18174
|
+
export { type __PublicMethodMetaInfo$j as __PublicMethodMetaInfo, meta$j_getCheckoutSettings as getCheckoutSettings, meta$j_updateCheckoutSettings as updateCheckoutSettings };
|
|
18175
18175
|
}
|
|
18176
18176
|
|
|
18177
18177
|
interface CheckoutTemplate$1 {
|
|
@@ -18616,7 +18616,7 @@ interface QueryCheckoutTemplatesRequest$1 {
|
|
|
18616
18616
|
}
|
|
18617
18617
|
interface CursorQuery$d extends CursorQueryPagingMethodOneOf$d {
|
|
18618
18618
|
/** 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`. */
|
|
18619
|
-
cursorPaging?: CursorPaging$
|
|
18619
|
+
cursorPaging?: CursorPaging$l;
|
|
18620
18620
|
/**
|
|
18621
18621
|
* Filter object in the following format:
|
|
18622
18622
|
* `"filter" : {
|
|
@@ -18631,24 +18631,24 @@ interface CursorQuery$d extends CursorQueryPagingMethodOneOf$d {
|
|
|
18631
18631
|
* Sort object in the following format:
|
|
18632
18632
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
18633
18633
|
*/
|
|
18634
|
-
sort?: Sorting$
|
|
18634
|
+
sort?: Sorting$l[];
|
|
18635
18635
|
}
|
|
18636
18636
|
/** @oneof */
|
|
18637
18637
|
interface CursorQueryPagingMethodOneOf$d {
|
|
18638
18638
|
/** 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`. */
|
|
18639
|
-
cursorPaging?: CursorPaging$
|
|
18639
|
+
cursorPaging?: CursorPaging$l;
|
|
18640
18640
|
}
|
|
18641
|
-
interface Sorting$
|
|
18641
|
+
interface Sorting$l {
|
|
18642
18642
|
/** Name of the field to sort by. */
|
|
18643
18643
|
fieldName?: string;
|
|
18644
18644
|
/** Sort order. */
|
|
18645
|
-
order?: SortOrder$
|
|
18645
|
+
order?: SortOrder$l;
|
|
18646
18646
|
}
|
|
18647
|
-
declare enum SortOrder$
|
|
18647
|
+
declare enum SortOrder$l {
|
|
18648
18648
|
ASC = "ASC",
|
|
18649
18649
|
DESC = "DESC"
|
|
18650
18650
|
}
|
|
18651
|
-
interface CursorPaging$
|
|
18651
|
+
interface CursorPaging$l {
|
|
18652
18652
|
/** Number of items to load. */
|
|
18653
18653
|
limit?: number | null;
|
|
18654
18654
|
/**
|
|
@@ -18670,7 +18670,7 @@ interface CursorPagingMetadata$j {
|
|
|
18670
18670
|
/** Number of items returned in the response. */
|
|
18671
18671
|
count?: number | null;
|
|
18672
18672
|
/** Offset that was requested. */
|
|
18673
|
-
cursors?: Cursors$
|
|
18673
|
+
cursors?: Cursors$l;
|
|
18674
18674
|
/**
|
|
18675
18675
|
* Indicates if there are more results after the current page.
|
|
18676
18676
|
* If `true`, another page of results can be retrieved.
|
|
@@ -18678,7 +18678,7 @@ interface CursorPagingMetadata$j {
|
|
|
18678
18678
|
*/
|
|
18679
18679
|
hasNext?: boolean | null;
|
|
18680
18680
|
}
|
|
18681
|
-
interface Cursors$
|
|
18681
|
+
interface Cursors$l {
|
|
18682
18682
|
/** Cursor pointing to next page in the list of results. */
|
|
18683
18683
|
next?: string | null;
|
|
18684
18684
|
/** Cursor pointing to previous page in the list of results. */
|
|
@@ -19283,7 +19283,7 @@ interface QueryCheckoutTemplatesRequest {
|
|
|
19283
19283
|
}
|
|
19284
19284
|
interface CursorQuery$c extends CursorQueryPagingMethodOneOf$c {
|
|
19285
19285
|
/** 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`. */
|
|
19286
|
-
cursorPaging?: CursorPaging$
|
|
19286
|
+
cursorPaging?: CursorPaging$k;
|
|
19287
19287
|
/**
|
|
19288
19288
|
* Filter object in the following format:
|
|
19289
19289
|
* `"filter" : {
|
|
@@ -19298,24 +19298,24 @@ interface CursorQuery$c extends CursorQueryPagingMethodOneOf$c {
|
|
|
19298
19298
|
* Sort object in the following format:
|
|
19299
19299
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
19300
19300
|
*/
|
|
19301
|
-
sort?: Sorting$
|
|
19301
|
+
sort?: Sorting$k[];
|
|
19302
19302
|
}
|
|
19303
19303
|
/** @oneof */
|
|
19304
19304
|
interface CursorQueryPagingMethodOneOf$c {
|
|
19305
19305
|
/** 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`. */
|
|
19306
|
-
cursorPaging?: CursorPaging$
|
|
19306
|
+
cursorPaging?: CursorPaging$k;
|
|
19307
19307
|
}
|
|
19308
|
-
interface Sorting$
|
|
19308
|
+
interface Sorting$k {
|
|
19309
19309
|
/** Name of the field to sort by. */
|
|
19310
19310
|
fieldName?: string;
|
|
19311
19311
|
/** Sort order. */
|
|
19312
|
-
order?: SortOrder$
|
|
19312
|
+
order?: SortOrder$k;
|
|
19313
19313
|
}
|
|
19314
|
-
declare enum SortOrder$
|
|
19314
|
+
declare enum SortOrder$k {
|
|
19315
19315
|
ASC = "ASC",
|
|
19316
19316
|
DESC = "DESC"
|
|
19317
19317
|
}
|
|
19318
|
-
interface CursorPaging$
|
|
19318
|
+
interface CursorPaging$k {
|
|
19319
19319
|
/** Number of items to load. */
|
|
19320
19320
|
limit?: number | null;
|
|
19321
19321
|
/**
|
|
@@ -19337,7 +19337,7 @@ interface CursorPagingMetadata$i {
|
|
|
19337
19337
|
/** Number of items returned in the response. */
|
|
19338
19338
|
count?: number | null;
|
|
19339
19339
|
/** Offset that was requested. */
|
|
19340
|
-
cursors?: Cursors$
|
|
19340
|
+
cursors?: Cursors$k;
|
|
19341
19341
|
/**
|
|
19342
19342
|
* Indicates if there are more results after the current page.
|
|
19343
19343
|
* If `true`, another page of results can be retrieved.
|
|
@@ -19345,7 +19345,7 @@ interface CursorPagingMetadata$i {
|
|
|
19345
19345
|
*/
|
|
19346
19346
|
hasNext?: boolean | null;
|
|
19347
19347
|
}
|
|
19348
|
-
interface Cursors$
|
|
19348
|
+
interface Cursors$k {
|
|
19349
19349
|
/** Cursor pointing to next page in the list of results. */
|
|
19350
19350
|
next?: string | null;
|
|
19351
19351
|
/** Cursor pointing to previous page in the list of results. */
|
|
@@ -19518,7 +19518,7 @@ interface RawHttpResponseNonNullableFields {
|
|
|
19518
19518
|
headers: HeadersEntryNonNullableFields[];
|
|
19519
19519
|
}
|
|
19520
19520
|
|
|
19521
|
-
type __PublicMethodMetaInfo$
|
|
19521
|
+
type __PublicMethodMetaInfo$i<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
19522
19522
|
getUrl: (context: any) => string;
|
|
19523
19523
|
httpMethod: K;
|
|
19524
19524
|
path: string;
|
|
@@ -19528,33 +19528,33 @@ type __PublicMethodMetaInfo$g<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
19528
19528
|
__responseType: Q;
|
|
19529
19529
|
__originalResponseType: R;
|
|
19530
19530
|
};
|
|
19531
|
-
declare function createCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
19532
|
-
declare function getCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
19531
|
+
declare function createCheckoutTemplate(): __PublicMethodMetaInfo$i<'POST', {}, CreateCheckoutTemplateRequest, CreateCheckoutTemplateRequest$1, CreateCheckoutTemplateResponse & CreateCheckoutTemplateResponseNonNullableFields, CreateCheckoutTemplateResponse$1 & CreateCheckoutTemplateResponseNonNullableFields$1>;
|
|
19532
|
+
declare function getCheckoutTemplate(): __PublicMethodMetaInfo$i<'GET', {
|
|
19533
19533
|
checkoutTemplateId: string;
|
|
19534
19534
|
}, GetCheckoutTemplateRequest, GetCheckoutTemplateRequest$1, GetCheckoutTemplateResponse & GetCheckoutTemplateResponseNonNullableFields, GetCheckoutTemplateResponse$1 & GetCheckoutTemplateResponseNonNullableFields$1>;
|
|
19535
|
-
declare function updateCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
19535
|
+
declare function updateCheckoutTemplate(): __PublicMethodMetaInfo$i<'PATCH', {
|
|
19536
19536
|
checkoutTemplateId: string;
|
|
19537
19537
|
}, UpdateCheckoutTemplateRequest, UpdateCheckoutTemplateRequest$1, UpdateCheckoutTemplateResponse & UpdateCheckoutTemplateResponseNonNullableFields, UpdateCheckoutTemplateResponse$1 & UpdateCheckoutTemplateResponseNonNullableFields$1>;
|
|
19538
|
-
declare function deleteCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
19538
|
+
declare function deleteCheckoutTemplate(): __PublicMethodMetaInfo$i<'DELETE', {
|
|
19539
19539
|
checkoutTemplateId: string;
|
|
19540
19540
|
}, DeleteCheckoutTemplateRequest, DeleteCheckoutTemplateRequest$1, DeleteCheckoutTemplateResponse, DeleteCheckoutTemplateResponse$1>;
|
|
19541
|
-
declare function queryCheckoutTemplates(): __PublicMethodMetaInfo$
|
|
19542
|
-
declare function createCheckoutFromTemplate(): __PublicMethodMetaInfo$
|
|
19541
|
+
declare function queryCheckoutTemplates(): __PublicMethodMetaInfo$i<'POST', {}, QueryCheckoutTemplatesRequest, QueryCheckoutTemplatesRequest$1, QueryCheckoutTemplatesResponse & QueryCheckoutTemplatesResponseNonNullableFields, QueryCheckoutTemplatesResponse$1 & QueryCheckoutTemplatesResponseNonNullableFields$1>;
|
|
19542
|
+
declare function createCheckoutFromTemplate(): __PublicMethodMetaInfo$i<'POST', {
|
|
19543
19543
|
checkoutTemplateId: string;
|
|
19544
19544
|
}, CreateCheckoutFromTemplateRequest, CreateCheckoutFromTemplateRequest$1, CreateCheckoutFromTemplateResponse & CreateCheckoutFromTemplateResponseNonNullableFields, CreateCheckoutFromTemplateResponse$1 & CreateCheckoutFromTemplateResponseNonNullableFields$1>;
|
|
19545
|
-
declare function createAndRedirectToCheckout(): __PublicMethodMetaInfo$
|
|
19545
|
+
declare function createAndRedirectToCheckout(): __PublicMethodMetaInfo$i<'GET', {
|
|
19546
19546
|
checkoutTemplateId: string;
|
|
19547
19547
|
}, CreateAndRedirectToCheckoutRequest, CreateAndRedirectToCheckoutRequest$1, RawHttpResponse & RawHttpResponseNonNullableFields, RawHttpResponse$1 & RawHttpResponseNonNullableFields$1>;
|
|
19548
19548
|
|
|
19549
|
-
declare const meta$
|
|
19550
|
-
declare const meta$
|
|
19551
|
-
declare const meta$
|
|
19552
|
-
declare const meta$
|
|
19553
|
-
declare const meta$
|
|
19554
|
-
declare const meta$
|
|
19555
|
-
declare const meta$
|
|
19556
|
-
declare namespace meta$
|
|
19557
|
-
export { type __PublicMethodMetaInfo$
|
|
19549
|
+
declare const meta$i_createAndRedirectToCheckout: typeof createAndRedirectToCheckout;
|
|
19550
|
+
declare const meta$i_createCheckoutFromTemplate: typeof createCheckoutFromTemplate;
|
|
19551
|
+
declare const meta$i_createCheckoutTemplate: typeof createCheckoutTemplate;
|
|
19552
|
+
declare const meta$i_deleteCheckoutTemplate: typeof deleteCheckoutTemplate;
|
|
19553
|
+
declare const meta$i_getCheckoutTemplate: typeof getCheckoutTemplate;
|
|
19554
|
+
declare const meta$i_queryCheckoutTemplates: typeof queryCheckoutTemplates;
|
|
19555
|
+
declare const meta$i_updateCheckoutTemplate: typeof updateCheckoutTemplate;
|
|
19556
|
+
declare namespace meta$i {
|
|
19557
|
+
export { type __PublicMethodMetaInfo$i as __PublicMethodMetaInfo, meta$i_createAndRedirectToCheckout as createAndRedirectToCheckout, meta$i_createCheckoutFromTemplate as createCheckoutFromTemplate, meta$i_createCheckoutTemplate as createCheckoutTemplate, meta$i_deleteCheckoutTemplate as deleteCheckoutTemplate, meta$i_getCheckoutTemplate as getCheckoutTemplate, meta$i_queryCheckoutTemplates as queryCheckoutTemplates, meta$i_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
19558
19558
|
}
|
|
19559
19559
|
|
|
19560
19560
|
/**
|
|
@@ -19594,7 +19594,7 @@ interface DeliveryProfile$1 {
|
|
|
19594
19594
|
*/
|
|
19595
19595
|
updatedDate?: Date | null;
|
|
19596
19596
|
/** Extended fields. */
|
|
19597
|
-
extendedFields?: ExtendedFields$
|
|
19597
|
+
extendedFields?: ExtendedFields$d;
|
|
19598
19598
|
}
|
|
19599
19599
|
/** DeliveryRegion can be used to config a Delivery Destinations with its providers */
|
|
19600
19600
|
interface DeliveryRegion$1 {
|
|
@@ -19657,7 +19657,7 @@ interface Destination$3 {
|
|
|
19657
19657
|
*/
|
|
19658
19658
|
subdivisions?: string[];
|
|
19659
19659
|
}
|
|
19660
|
-
interface ExtendedFields$
|
|
19660
|
+
interface ExtendedFields$d {
|
|
19661
19661
|
/**
|
|
19662
19662
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
19663
19663
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -19704,7 +19704,7 @@ interface QueryDeliveryProfilesRequest$1 {
|
|
|
19704
19704
|
}
|
|
19705
19705
|
interface CursorQuery$b extends CursorQueryPagingMethodOneOf$b {
|
|
19706
19706
|
/** 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`. */
|
|
19707
|
-
cursorPaging?: CursorPaging$
|
|
19707
|
+
cursorPaging?: CursorPaging$j;
|
|
19708
19708
|
/**
|
|
19709
19709
|
* Filter object in the following format:
|
|
19710
19710
|
* `"filter" : {
|
|
@@ -19718,24 +19718,24 @@ interface CursorQuery$b extends CursorQueryPagingMethodOneOf$b {
|
|
|
19718
19718
|
* Sort object in the following format:
|
|
19719
19719
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
19720
19720
|
*/
|
|
19721
|
-
sort?: Sorting$
|
|
19721
|
+
sort?: Sorting$j[];
|
|
19722
19722
|
}
|
|
19723
19723
|
/** @oneof */
|
|
19724
19724
|
interface CursorQueryPagingMethodOneOf$b {
|
|
19725
19725
|
/** 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`. */
|
|
19726
|
-
cursorPaging?: CursorPaging$
|
|
19726
|
+
cursorPaging?: CursorPaging$j;
|
|
19727
19727
|
}
|
|
19728
|
-
interface Sorting$
|
|
19728
|
+
interface Sorting$j {
|
|
19729
19729
|
/** Name of the field to sort by. */
|
|
19730
19730
|
fieldName?: string;
|
|
19731
19731
|
/** Sort order. */
|
|
19732
|
-
order?: SortOrder$
|
|
19732
|
+
order?: SortOrder$j;
|
|
19733
19733
|
}
|
|
19734
|
-
declare enum SortOrder$
|
|
19734
|
+
declare enum SortOrder$j {
|
|
19735
19735
|
ASC = "ASC",
|
|
19736
19736
|
DESC = "DESC"
|
|
19737
19737
|
}
|
|
19738
|
-
interface CursorPaging$
|
|
19738
|
+
interface CursorPaging$j {
|
|
19739
19739
|
/** Maximum number of items to return in the results. */
|
|
19740
19740
|
limit?: number | null;
|
|
19741
19741
|
/**
|
|
@@ -19756,7 +19756,7 @@ interface CursorPagingMetadata$h {
|
|
|
19756
19756
|
/** Number of items returned in the response. */
|
|
19757
19757
|
count?: number | null;
|
|
19758
19758
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
19759
|
-
cursors?: Cursors$
|
|
19759
|
+
cursors?: Cursors$j;
|
|
19760
19760
|
/**
|
|
19761
19761
|
* Whether there are more pages to retrieve following the current page.
|
|
19762
19762
|
*
|
|
@@ -19765,7 +19765,7 @@ interface CursorPagingMetadata$h {
|
|
|
19765
19765
|
*/
|
|
19766
19766
|
hasNext?: boolean | null;
|
|
19767
19767
|
}
|
|
19768
|
-
interface Cursors$
|
|
19768
|
+
interface Cursors$j {
|
|
19769
19769
|
/** Cursor string pointing to the next page in the list of results. */
|
|
19770
19770
|
next?: string | null;
|
|
19771
19771
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -20091,7 +20091,7 @@ interface DeliveryProfile {
|
|
|
20091
20091
|
*/
|
|
20092
20092
|
_updatedDate?: Date | null;
|
|
20093
20093
|
/** Extended fields. */
|
|
20094
|
-
extendedFields?: ExtendedFields$
|
|
20094
|
+
extendedFields?: ExtendedFields$c;
|
|
20095
20095
|
}
|
|
20096
20096
|
/** DeliveryRegion can be used to config a Delivery Destinations with its providers */
|
|
20097
20097
|
interface DeliveryRegion {
|
|
@@ -20154,7 +20154,7 @@ interface Destination$2 {
|
|
|
20154
20154
|
*/
|
|
20155
20155
|
subdivisions?: string[];
|
|
20156
20156
|
}
|
|
20157
|
-
interface ExtendedFields$
|
|
20157
|
+
interface ExtendedFields$c {
|
|
20158
20158
|
/**
|
|
20159
20159
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
20160
20160
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -20201,7 +20201,7 @@ interface QueryDeliveryProfilesRequest {
|
|
|
20201
20201
|
}
|
|
20202
20202
|
interface CursorQuery$a extends CursorQueryPagingMethodOneOf$a {
|
|
20203
20203
|
/** 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`. */
|
|
20204
|
-
cursorPaging?: CursorPaging$
|
|
20204
|
+
cursorPaging?: CursorPaging$i;
|
|
20205
20205
|
/**
|
|
20206
20206
|
* Filter object in the following format:
|
|
20207
20207
|
* `"filter" : {
|
|
@@ -20215,24 +20215,24 @@ interface CursorQuery$a extends CursorQueryPagingMethodOneOf$a {
|
|
|
20215
20215
|
* Sort object in the following format:
|
|
20216
20216
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
20217
20217
|
*/
|
|
20218
|
-
sort?: Sorting$
|
|
20218
|
+
sort?: Sorting$i[];
|
|
20219
20219
|
}
|
|
20220
20220
|
/** @oneof */
|
|
20221
20221
|
interface CursorQueryPagingMethodOneOf$a {
|
|
20222
20222
|
/** 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`. */
|
|
20223
|
-
cursorPaging?: CursorPaging$
|
|
20223
|
+
cursorPaging?: CursorPaging$i;
|
|
20224
20224
|
}
|
|
20225
|
-
interface Sorting$
|
|
20225
|
+
interface Sorting$i {
|
|
20226
20226
|
/** Name of the field to sort by. */
|
|
20227
20227
|
fieldName?: string;
|
|
20228
20228
|
/** Sort order. */
|
|
20229
|
-
order?: SortOrder$
|
|
20229
|
+
order?: SortOrder$i;
|
|
20230
20230
|
}
|
|
20231
|
-
declare enum SortOrder$
|
|
20231
|
+
declare enum SortOrder$i {
|
|
20232
20232
|
ASC = "ASC",
|
|
20233
20233
|
DESC = "DESC"
|
|
20234
20234
|
}
|
|
20235
|
-
interface CursorPaging$
|
|
20235
|
+
interface CursorPaging$i {
|
|
20236
20236
|
/** Maximum number of items to return in the results. */
|
|
20237
20237
|
limit?: number | null;
|
|
20238
20238
|
/**
|
|
@@ -20253,7 +20253,7 @@ interface CursorPagingMetadata$g {
|
|
|
20253
20253
|
/** Number of items returned in the response. */
|
|
20254
20254
|
count?: number | null;
|
|
20255
20255
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
20256
|
-
cursors?: Cursors$
|
|
20256
|
+
cursors?: Cursors$i;
|
|
20257
20257
|
/**
|
|
20258
20258
|
* Whether there are more pages to retrieve following the current page.
|
|
20259
20259
|
*
|
|
@@ -20262,7 +20262,7 @@ interface CursorPagingMetadata$g {
|
|
|
20262
20262
|
*/
|
|
20263
20263
|
hasNext?: boolean | null;
|
|
20264
20264
|
}
|
|
20265
|
-
interface Cursors$
|
|
20265
|
+
interface Cursors$i {
|
|
20266
20266
|
/** Cursor string pointing to the next page in the list of results. */
|
|
20267
20267
|
next?: string | null;
|
|
20268
20268
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -20551,7 +20551,7 @@ interface UpdateExtendedFieldsResponseNonNullableFields$6 {
|
|
|
20551
20551
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
20552
20552
|
}
|
|
20553
20553
|
|
|
20554
|
-
type __PublicMethodMetaInfo$
|
|
20554
|
+
type __PublicMethodMetaInfo$h<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
20555
20555
|
getUrl: (context: any) => string;
|
|
20556
20556
|
httpMethod: K;
|
|
20557
20557
|
path: string;
|
|
@@ -20561,52 +20561,52 @@ type __PublicMethodMetaInfo$f<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
20561
20561
|
__responseType: Q;
|
|
20562
20562
|
__originalResponseType: R;
|
|
20563
20563
|
};
|
|
20564
|
-
declare function createDeliveryProfile(): __PublicMethodMetaInfo$
|
|
20565
|
-
declare function getDeliveryProfile(): __PublicMethodMetaInfo$
|
|
20564
|
+
declare function createDeliveryProfile(): __PublicMethodMetaInfo$h<'POST', {}, CreateDeliveryProfileRequest, CreateDeliveryProfileRequest$1, CreateDeliveryProfileResponse & CreateDeliveryProfileResponseNonNullableFields, CreateDeliveryProfileResponse$1 & CreateDeliveryProfileResponseNonNullableFields$1>;
|
|
20565
|
+
declare function getDeliveryProfile(): __PublicMethodMetaInfo$h<'GET', {
|
|
20566
20566
|
deliveryProfileId: string;
|
|
20567
20567
|
}, GetDeliveryProfileRequest, GetDeliveryProfileRequest$1, GetDeliveryProfileResponse & GetDeliveryProfileResponseNonNullableFields, GetDeliveryProfileResponse$1 & GetDeliveryProfileResponseNonNullableFields$1>;
|
|
20568
|
-
declare function updateDeliveryProfile(): __PublicMethodMetaInfo$
|
|
20568
|
+
declare function updateDeliveryProfile(): __PublicMethodMetaInfo$h<'PATCH', {
|
|
20569
20569
|
deliveryProfileId: string;
|
|
20570
20570
|
}, UpdateDeliveryProfileRequest, UpdateDeliveryProfileRequest$1, UpdateDeliveryProfileResponse & UpdateDeliveryProfileResponseNonNullableFields, UpdateDeliveryProfileResponse$1 & UpdateDeliveryProfileResponseNonNullableFields$1>;
|
|
20571
|
-
declare function deleteDeliveryProfile(): __PublicMethodMetaInfo$
|
|
20571
|
+
declare function deleteDeliveryProfile(): __PublicMethodMetaInfo$h<'DELETE', {
|
|
20572
20572
|
deliveryProfileId: string;
|
|
20573
20573
|
}, DeleteDeliveryProfileRequest, DeleteDeliveryProfileRequest$1, DeleteDeliveryProfileResponse, DeleteDeliveryProfileResponse$1>;
|
|
20574
|
-
declare function queryDeliveryProfiles(): __PublicMethodMetaInfo$
|
|
20575
|
-
declare function addDeliveryRegion$2(): __PublicMethodMetaInfo$
|
|
20574
|
+
declare function queryDeliveryProfiles(): __PublicMethodMetaInfo$h<'GET', {}, QueryDeliveryProfilesRequest, QueryDeliveryProfilesRequest$1, QueryDeliveryProfilesResponse & QueryDeliveryProfilesResponseNonNullableFields, QueryDeliveryProfilesResponse$1 & QueryDeliveryProfilesResponseNonNullableFields$1>;
|
|
20575
|
+
declare function addDeliveryRegion$2(): __PublicMethodMetaInfo$h<'POST', {
|
|
20576
20576
|
deliveryProfileId: string;
|
|
20577
20577
|
}, AddDeliveryRegionRequest$4, AddDeliveryRegionRequest$5, AddDeliveryRegionResponse$4 & AddDeliveryRegionResponseNonNullableFields$4, AddDeliveryRegionResponse$5 & AddDeliveryRegionResponseNonNullableFields$5>;
|
|
20578
|
-
declare function updateDeliveryRegion(): __PublicMethodMetaInfo$
|
|
20578
|
+
declare function updateDeliveryRegion(): __PublicMethodMetaInfo$h<'PATCH', {
|
|
20579
20579
|
deliveryProfileId: string;
|
|
20580
20580
|
deliveryRegionId: string;
|
|
20581
20581
|
}, UpdateDeliveryRegionRequest, UpdateDeliveryRegionRequest$1, UpdateDeliveryRegionResponse & UpdateDeliveryRegionResponseNonNullableFields, UpdateDeliveryRegionResponse$1 & UpdateDeliveryRegionResponseNonNullableFields$1>;
|
|
20582
|
-
declare function removeDeliveryRegion$2(): __PublicMethodMetaInfo$
|
|
20582
|
+
declare function removeDeliveryRegion$2(): __PublicMethodMetaInfo$h<'DELETE', {
|
|
20583
20583
|
deliveryProfileId: string;
|
|
20584
20584
|
deliveryRegionId: string;
|
|
20585
20585
|
}, RemoveDeliveryRegionRequest$4, RemoveDeliveryRegionRequest$5, RemoveDeliveryRegionResponse$4 & RemoveDeliveryRegionResponseNonNullableFields$4, RemoveDeliveryRegionResponse$5 & RemoveDeliveryRegionResponseNonNullableFields$5>;
|
|
20586
|
-
declare function addDeliveryCarrier(): __PublicMethodMetaInfo$
|
|
20587
|
-
declare function removeDeliveryCarrier(): __PublicMethodMetaInfo$
|
|
20588
|
-
declare function updateDeliveryCarrier(): __PublicMethodMetaInfo$
|
|
20589
|
-
declare function listDeliveryCarrierDetails(): __PublicMethodMetaInfo$
|
|
20590
|
-
declare function listDeliveryCarriers(): __PublicMethodMetaInfo$
|
|
20586
|
+
declare function addDeliveryCarrier(): __PublicMethodMetaInfo$h<'POST', {}, AddDeliveryCarrierRequest, AddDeliveryCarrierRequest$1, AddDeliveryCarrierResponse & AddDeliveryCarrierResponseNonNullableFields, AddDeliveryCarrierResponse$1 & AddDeliveryCarrierResponseNonNullableFields$1>;
|
|
20587
|
+
declare function removeDeliveryCarrier(): __PublicMethodMetaInfo$h<'POST', {}, RemoveDeliveryCarrierRequest, RemoveDeliveryCarrierRequest$1, RemoveDeliveryCarrierResponse & RemoveDeliveryCarrierResponseNonNullableFields, RemoveDeliveryCarrierResponse$1 & RemoveDeliveryCarrierResponseNonNullableFields$1>;
|
|
20588
|
+
declare function updateDeliveryCarrier(): __PublicMethodMetaInfo$h<'PATCH', {}, UpdateDeliveryCarrierRequest, UpdateDeliveryCarrierRequest$1, UpdateDeliveryCarrierResponse & UpdateDeliveryCarrierResponseNonNullableFields, UpdateDeliveryCarrierResponse$1 & UpdateDeliveryCarrierResponseNonNullableFields$1>;
|
|
20589
|
+
declare function listDeliveryCarrierDetails(): __PublicMethodMetaInfo$h<'GET', {}, ListDeliveryCarrierDetailsRequest, ListDeliveryCarrierDetailsRequest$1, ListDeliveryCarrierDetailsResponse & ListDeliveryCarrierDetailsResponseNonNullableFields, ListDeliveryCarrierDetailsResponse$1 & ListDeliveryCarrierDetailsResponseNonNullableFields$1>;
|
|
20590
|
+
declare function listDeliveryCarriers(): __PublicMethodMetaInfo$h<'POST', {
|
|
20591
20591
|
deliveryProfileId: string;
|
|
20592
20592
|
}, ListDeliveryCarriersRequest, ListDeliveryCarriersRequest$1, ListDeliveryCarriersResponse & ListDeliveryCarriersResponseNonNullableFields, ListDeliveryCarriersResponse$1 & ListDeliveryCarriersResponseNonNullableFields$1>;
|
|
20593
|
-
declare function updateExtendedFields$3(): __PublicMethodMetaInfo$
|
|
20593
|
+
declare function updateExtendedFields$3(): __PublicMethodMetaInfo$h<'POST', {
|
|
20594
20594
|
id: string;
|
|
20595
20595
|
}, UpdateExtendedFieldsRequest$6, UpdateExtendedFieldsRequest$7, UpdateExtendedFieldsResponse$6 & UpdateExtendedFieldsResponseNonNullableFields$6, UpdateExtendedFieldsResponse$7 & UpdateExtendedFieldsResponseNonNullableFields$7>;
|
|
20596
20596
|
|
|
20597
|
-
declare const meta$
|
|
20598
|
-
declare const meta$
|
|
20599
|
-
declare const meta$
|
|
20600
|
-
declare const meta$
|
|
20601
|
-
declare const meta$
|
|
20602
|
-
declare const meta$
|
|
20603
|
-
declare const meta$
|
|
20604
|
-
declare const meta$
|
|
20605
|
-
declare const meta$
|
|
20606
|
-
declare const meta$
|
|
20607
|
-
declare const meta$
|
|
20608
|
-
declare namespace meta$
|
|
20609
|
-
export { type __PublicMethodMetaInfo$
|
|
20597
|
+
declare const meta$h_addDeliveryCarrier: typeof addDeliveryCarrier;
|
|
20598
|
+
declare const meta$h_createDeliveryProfile: typeof createDeliveryProfile;
|
|
20599
|
+
declare const meta$h_deleteDeliveryProfile: typeof deleteDeliveryProfile;
|
|
20600
|
+
declare const meta$h_getDeliveryProfile: typeof getDeliveryProfile;
|
|
20601
|
+
declare const meta$h_listDeliveryCarrierDetails: typeof listDeliveryCarrierDetails;
|
|
20602
|
+
declare const meta$h_listDeliveryCarriers: typeof listDeliveryCarriers;
|
|
20603
|
+
declare const meta$h_queryDeliveryProfiles: typeof queryDeliveryProfiles;
|
|
20604
|
+
declare const meta$h_removeDeliveryCarrier: typeof removeDeliveryCarrier;
|
|
20605
|
+
declare const meta$h_updateDeliveryCarrier: typeof updateDeliveryCarrier;
|
|
20606
|
+
declare const meta$h_updateDeliveryProfile: typeof updateDeliveryProfile;
|
|
20607
|
+
declare const meta$h_updateDeliveryRegion: typeof updateDeliveryRegion;
|
|
20608
|
+
declare namespace meta$h {
|
|
20609
|
+
export { type __PublicMethodMetaInfo$h as __PublicMethodMetaInfo, meta$h_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$2 as addDeliveryRegion, meta$h_createDeliveryProfile as createDeliveryProfile, meta$h_deleteDeliveryProfile as deleteDeliveryProfile, meta$h_getDeliveryProfile as getDeliveryProfile, meta$h_listDeliveryCarrierDetails as listDeliveryCarrierDetails, meta$h_listDeliveryCarriers as listDeliveryCarriers, meta$h_queryDeliveryProfiles as queryDeliveryProfiles, meta$h_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$2 as removeDeliveryRegion, meta$h_updateDeliveryCarrier as updateDeliveryCarrier, meta$h_updateDeliveryProfile as updateDeliveryProfile, meta$h_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$3 as updateExtendedFields };
|
|
20610
20610
|
}
|
|
20611
20611
|
|
|
20612
20612
|
/** DraftOrder is the main entity of DraftOrders service. It represents a single edit order. */
|
|
@@ -20709,7 +20709,7 @@ interface DraftOrder$1 {
|
|
|
20709
20709
|
* Custom field data for the draft order object.
|
|
20710
20710
|
* [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.
|
|
20711
20711
|
*/
|
|
20712
|
-
extendedFields?: ExtendedFields$
|
|
20712
|
+
extendedFields?: ExtendedFields$b;
|
|
20713
20713
|
}
|
|
20714
20714
|
interface ItemDetails$1 extends ItemDetailsChangeTypeOneOf$1 {
|
|
20715
20715
|
/** Whether the line item was added as part of the draft. */
|
|
@@ -21661,7 +21661,7 @@ interface OrderTaxBreakdown$3 {
|
|
|
21661
21661
|
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
21662
21662
|
aggregatedTaxAmount?: Price$9;
|
|
21663
21663
|
}
|
|
21664
|
-
interface ExtendedFields$
|
|
21664
|
+
interface ExtendedFields$b {
|
|
21665
21665
|
/**
|
|
21666
21666
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
21667
21667
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -22265,7 +22265,7 @@ interface Order$3 {
|
|
|
22265
22265
|
*
|
|
22266
22266
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
22267
22267
|
*/
|
|
22268
|
-
extendedFields?: ExtendedFields$
|
|
22268
|
+
extendedFields?: ExtendedFields$b;
|
|
22269
22269
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
22270
22270
|
purchaseFlowId?: string | null;
|
|
22271
22271
|
/**
|
|
@@ -22508,7 +22508,7 @@ interface CursorQuery$9 extends CursorQueryPagingMethodOneOf$9 {
|
|
|
22508
22508
|
*
|
|
22509
22509
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
22510
22510
|
*/
|
|
22511
|
-
cursorPaging?: CursorPaging$
|
|
22511
|
+
cursorPaging?: CursorPaging$h;
|
|
22512
22512
|
/**
|
|
22513
22513
|
* Filter object.
|
|
22514
22514
|
*
|
|
@@ -22520,7 +22520,7 @@ interface CursorQuery$9 extends CursorQueryPagingMethodOneOf$9 {
|
|
|
22520
22520
|
*
|
|
22521
22521
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
22522
22522
|
*/
|
|
22523
|
-
sort?: Sorting$
|
|
22523
|
+
sort?: Sorting$h[];
|
|
22524
22524
|
}
|
|
22525
22525
|
/** @oneof */
|
|
22526
22526
|
interface CursorQueryPagingMethodOneOf$9 {
|
|
@@ -22529,19 +22529,19 @@ interface CursorQueryPagingMethodOneOf$9 {
|
|
|
22529
22529
|
*
|
|
22530
22530
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
22531
22531
|
*/
|
|
22532
|
-
cursorPaging?: CursorPaging$
|
|
22532
|
+
cursorPaging?: CursorPaging$h;
|
|
22533
22533
|
}
|
|
22534
|
-
interface Sorting$
|
|
22534
|
+
interface Sorting$h {
|
|
22535
22535
|
/** Name of the field to sort by. */
|
|
22536
22536
|
fieldName?: string;
|
|
22537
22537
|
/** Sort order. */
|
|
22538
|
-
order?: SortOrder$
|
|
22538
|
+
order?: SortOrder$h;
|
|
22539
22539
|
}
|
|
22540
|
-
declare enum SortOrder$
|
|
22540
|
+
declare enum SortOrder$h {
|
|
22541
22541
|
ASC = "ASC",
|
|
22542
22542
|
DESC = "DESC"
|
|
22543
22543
|
}
|
|
22544
|
-
interface CursorPaging$
|
|
22544
|
+
interface CursorPaging$h {
|
|
22545
22545
|
/** Maximum number of items to return in the results. */
|
|
22546
22546
|
limit?: number | null;
|
|
22547
22547
|
/**
|
|
@@ -22562,7 +22562,7 @@ interface CursorPagingMetadata$f {
|
|
|
22562
22562
|
/** Number of items returned in current page. */
|
|
22563
22563
|
count?: number | null;
|
|
22564
22564
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
22565
|
-
cursors?: Cursors$
|
|
22565
|
+
cursors?: Cursors$h;
|
|
22566
22566
|
/**
|
|
22567
22567
|
* Whether there are more pages to retrieve following the current page.
|
|
22568
22568
|
*
|
|
@@ -22571,7 +22571,7 @@ interface CursorPagingMetadata$f {
|
|
|
22571
22571
|
*/
|
|
22572
22572
|
hasNext?: boolean | null;
|
|
22573
22573
|
}
|
|
22574
|
-
interface Cursors$
|
|
22574
|
+
interface Cursors$h {
|
|
22575
22575
|
/** Cursor string pointing to the next page in the list of results. */
|
|
22576
22576
|
next?: string | null;
|
|
22577
22577
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -23332,7 +23332,7 @@ interface DraftOrder {
|
|
|
23332
23332
|
* Custom field data for the draft order object.
|
|
23333
23333
|
* [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.
|
|
23334
23334
|
*/
|
|
23335
|
-
extendedFields?: ExtendedFields$
|
|
23335
|
+
extendedFields?: ExtendedFields$a;
|
|
23336
23336
|
}
|
|
23337
23337
|
interface ItemDetails extends ItemDetailsChangeTypeOneOf {
|
|
23338
23338
|
/** Whether the line item was added as part of the draft. */
|
|
@@ -24241,7 +24241,7 @@ interface OrderTaxBreakdown$2 {
|
|
|
24241
24241
|
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
24242
24242
|
aggregatedTaxAmount?: Price$8;
|
|
24243
24243
|
}
|
|
24244
|
-
interface ExtendedFields$
|
|
24244
|
+
interface ExtendedFields$a {
|
|
24245
24245
|
/**
|
|
24246
24246
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
24247
24247
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -24839,7 +24839,7 @@ interface Order$2 {
|
|
|
24839
24839
|
*
|
|
24840
24840
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
24841
24841
|
*/
|
|
24842
|
-
extendedFields?: ExtendedFields$
|
|
24842
|
+
extendedFields?: ExtendedFields$a;
|
|
24843
24843
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
24844
24844
|
purchaseFlowId?: string | null;
|
|
24845
24845
|
/**
|
|
@@ -25082,7 +25082,7 @@ interface CursorQuery$8 extends CursorQueryPagingMethodOneOf$8 {
|
|
|
25082
25082
|
*
|
|
25083
25083
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
25084
25084
|
*/
|
|
25085
|
-
cursorPaging?: CursorPaging$
|
|
25085
|
+
cursorPaging?: CursorPaging$g;
|
|
25086
25086
|
/**
|
|
25087
25087
|
* Filter object.
|
|
25088
25088
|
*
|
|
@@ -25094,7 +25094,7 @@ interface CursorQuery$8 extends CursorQueryPagingMethodOneOf$8 {
|
|
|
25094
25094
|
*
|
|
25095
25095
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
25096
25096
|
*/
|
|
25097
|
-
sort?: Sorting$
|
|
25097
|
+
sort?: Sorting$g[];
|
|
25098
25098
|
}
|
|
25099
25099
|
/** @oneof */
|
|
25100
25100
|
interface CursorQueryPagingMethodOneOf$8 {
|
|
@@ -25103,19 +25103,19 @@ interface CursorQueryPagingMethodOneOf$8 {
|
|
|
25103
25103
|
*
|
|
25104
25104
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
25105
25105
|
*/
|
|
25106
|
-
cursorPaging?: CursorPaging$
|
|
25106
|
+
cursorPaging?: CursorPaging$g;
|
|
25107
25107
|
}
|
|
25108
|
-
interface Sorting$
|
|
25108
|
+
interface Sorting$g {
|
|
25109
25109
|
/** Name of the field to sort by. */
|
|
25110
25110
|
fieldName?: string;
|
|
25111
25111
|
/** Sort order. */
|
|
25112
|
-
order?: SortOrder$
|
|
25112
|
+
order?: SortOrder$g;
|
|
25113
25113
|
}
|
|
25114
|
-
declare enum SortOrder$
|
|
25114
|
+
declare enum SortOrder$g {
|
|
25115
25115
|
ASC = "ASC",
|
|
25116
25116
|
DESC = "DESC"
|
|
25117
25117
|
}
|
|
25118
|
-
interface CursorPaging$
|
|
25118
|
+
interface CursorPaging$g {
|
|
25119
25119
|
/** Maximum number of items to return in the results. */
|
|
25120
25120
|
limit?: number | null;
|
|
25121
25121
|
/**
|
|
@@ -25136,7 +25136,7 @@ interface CursorPagingMetadata$e {
|
|
|
25136
25136
|
/** Number of items returned in current page. */
|
|
25137
25137
|
count?: number | null;
|
|
25138
25138
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
25139
|
-
cursors?: Cursors$
|
|
25139
|
+
cursors?: Cursors$g;
|
|
25140
25140
|
/**
|
|
25141
25141
|
* Whether there are more pages to retrieve following the current page.
|
|
25142
25142
|
*
|
|
@@ -25145,7 +25145,7 @@ interface CursorPagingMetadata$e {
|
|
|
25145
25145
|
*/
|
|
25146
25146
|
hasNext?: boolean | null;
|
|
25147
25147
|
}
|
|
25148
|
-
interface Cursors$
|
|
25148
|
+
interface Cursors$g {
|
|
25149
25149
|
/** Cursor string pointing to the next page in the list of results. */
|
|
25150
25150
|
next?: string | null;
|
|
25151
25151
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -25800,7 +25800,7 @@ interface QueryDraftOrdersResponseNonNullableFields {
|
|
|
25800
25800
|
draftOrders: DraftOrderNonNullableFields[];
|
|
25801
25801
|
}
|
|
25802
25802
|
|
|
25803
|
-
type __PublicMethodMetaInfo$
|
|
25803
|
+
type __PublicMethodMetaInfo$g<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
25804
25804
|
getUrl: (context: any) => string;
|
|
25805
25805
|
httpMethod: K;
|
|
25806
25806
|
path: string;
|
|
@@ -25810,77 +25810,77 @@ type __PublicMethodMetaInfo$e<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
25810
25810
|
__responseType: Q;
|
|
25811
25811
|
__originalResponseType: R;
|
|
25812
25812
|
};
|
|
25813
|
-
declare function createDraftOrder(): __PublicMethodMetaInfo$
|
|
25813
|
+
declare function createDraftOrder(): __PublicMethodMetaInfo$g<'POST', {
|
|
25814
25814
|
orderId: string;
|
|
25815
25815
|
}, CreateDraftOrderRequest, CreateDraftOrderRequest$1, CreateDraftOrderResponse & CreateDraftOrderResponseNonNullableFields, CreateDraftOrderResponse$1 & CreateDraftOrderResponseNonNullableFields$1>;
|
|
25816
|
-
declare function createEmptyDraftOrder(): __PublicMethodMetaInfo$
|
|
25817
|
-
declare function addLineItemsToDraftOrder(): __PublicMethodMetaInfo$
|
|
25816
|
+
declare function createEmptyDraftOrder(): __PublicMethodMetaInfo$g<'POST', {}, CreateEmptyDraftOrderRequest, CreateEmptyDraftOrderRequest$1, CreateEmptyDraftOrderResponse & CreateEmptyDraftOrderResponseNonNullableFields, CreateEmptyDraftOrderResponse$1 & CreateEmptyDraftOrderResponseNonNullableFields$1>;
|
|
25817
|
+
declare function addLineItemsToDraftOrder(): __PublicMethodMetaInfo$g<'POST', {
|
|
25818
25818
|
draftOrderId: string;
|
|
25819
25819
|
}, AddLineItemsToDraftOrderRequest, AddLineItemsToDraftOrderRequest$1, AddLineItemsToDraftOrderResponse & AddLineItemsToDraftOrderResponseNonNullableFields, AddLineItemsToDraftOrderResponse$1 & AddLineItemsToDraftOrderResponseNonNullableFields$1>;
|
|
25820
|
-
declare function updateLineItems(): __PublicMethodMetaInfo$
|
|
25820
|
+
declare function updateLineItems(): __PublicMethodMetaInfo$g<'POST', {
|
|
25821
25821
|
draftOrderId: string;
|
|
25822
25822
|
}, UpdateLineItemsRequest, UpdateLineItemsRequest$1, UpdateLineItemsResponse & UpdateLineItemsResponseNonNullableFields, UpdateLineItemsResponse$1 & UpdateLineItemsResponseNonNullableFields$1>;
|
|
25823
|
-
declare function setDiscounts(): __PublicMethodMetaInfo$
|
|
25823
|
+
declare function setDiscounts(): __PublicMethodMetaInfo$g<'POST', {
|
|
25824
25824
|
draftOrderId: string;
|
|
25825
25825
|
}, SetDiscountsRequest, SetDiscountsRequest$1, SetDiscountsResponse & SetDiscountsResponseNonNullableFields, SetDiscountsResponse$1 & SetDiscountsResponseNonNullableFields$1>;
|
|
25826
|
-
declare function createCustomDiscounts(): __PublicMethodMetaInfo$
|
|
25826
|
+
declare function createCustomDiscounts(): __PublicMethodMetaInfo$g<'POST', {
|
|
25827
25827
|
draftOrderId: string;
|
|
25828
25828
|
}, CreateCustomDiscountsRequest, CreateCustomDiscountsRequest$1, CreateCustomDiscountsResponse & CreateCustomDiscountsResponseNonNullableFields, CreateCustomDiscountsResponse$1 & CreateCustomDiscountsResponseNonNullableFields$1>;
|
|
25829
|
-
declare function deleteCustomDiscounts(): __PublicMethodMetaInfo$
|
|
25829
|
+
declare function deleteCustomDiscounts(): __PublicMethodMetaInfo$g<'POST', {
|
|
25830
25830
|
draftOrderId: string;
|
|
25831
25831
|
}, DeleteCustomDiscountsRequest, DeleteCustomDiscountsRequest$1, DeleteCustomDiscountsResponse & DeleteCustomDiscountsResponseNonNullableFields, DeleteCustomDiscountsResponse$1 & DeleteCustomDiscountsResponseNonNullableFields$1>;
|
|
25832
|
-
declare function setAdditionalFees(): __PublicMethodMetaInfo$
|
|
25832
|
+
declare function setAdditionalFees(): __PublicMethodMetaInfo$g<'POST', {
|
|
25833
25833
|
draftOrderId: string;
|
|
25834
25834
|
}, SetAdditionalFeesRequest, SetAdditionalFeesRequest$1, SetAdditionalFeesResponse & SetAdditionalFeesResponseNonNullableFields, SetAdditionalFeesResponse$1 & SetAdditionalFeesResponseNonNullableFields$1>;
|
|
25835
|
-
declare function createCustomAdditionalFees(): __PublicMethodMetaInfo$
|
|
25835
|
+
declare function createCustomAdditionalFees(): __PublicMethodMetaInfo$g<'POST', {
|
|
25836
25836
|
draftOrderId: string;
|
|
25837
25837
|
}, CreateCustomAdditionalFeesRequest, CreateCustomAdditionalFeesRequest$1, CreateCustomAdditionalFeesResponse & CreateCustomAdditionalFeesResponseNonNullableFields, CreateCustomAdditionalFeesResponse$1 & CreateCustomAdditionalFeesResponseNonNullableFields$1>;
|
|
25838
|
-
declare function deleteCustomAdditionalFees(): __PublicMethodMetaInfo$
|
|
25838
|
+
declare function deleteCustomAdditionalFees(): __PublicMethodMetaInfo$g<'POST', {
|
|
25839
25839
|
draftOrderId: string;
|
|
25840
25840
|
}, DeleteCustomAdditionalFeesRequest, DeleteCustomAdditionalFeesRequest$1, DeleteCustomAdditionalFeesResponse & DeleteCustomAdditionalFeesResponseNonNullableFields, DeleteCustomAdditionalFeesResponse$1 & DeleteCustomAdditionalFeesResponseNonNullableFields$1>;
|
|
25841
|
-
declare function setShippingInfo(): __PublicMethodMetaInfo$
|
|
25842
|
-
declare function setBuyerInfo(): __PublicMethodMetaInfo$
|
|
25843
|
-
declare function setRecipientInfo(): __PublicMethodMetaInfo$
|
|
25844
|
-
declare function setBillingInfo(): __PublicMethodMetaInfo$
|
|
25845
|
-
declare function getDraftOrder(): __PublicMethodMetaInfo$
|
|
25841
|
+
declare function setShippingInfo(): __PublicMethodMetaInfo$g<'PUT', {}, SetShippingInfoRequest, SetShippingInfoRequest$1, SetShippingInfoResponse & SetShippingInfoResponseNonNullableFields, SetShippingInfoResponse$1 & SetShippingInfoResponseNonNullableFields$1>;
|
|
25842
|
+
declare function setBuyerInfo(): __PublicMethodMetaInfo$g<'PUT', {}, SetBuyerInfoRequest, SetBuyerInfoRequest$1, SetBuyerInfoResponse & SetBuyerInfoResponseNonNullableFields, SetBuyerInfoResponse$1 & SetBuyerInfoResponseNonNullableFields$1>;
|
|
25843
|
+
declare function setRecipientInfo(): __PublicMethodMetaInfo$g<'PUT', {}, SetRecipientInfoRequest, SetRecipientInfoRequest$1, SetRecipientInfoResponse & SetRecipientInfoResponseNonNullableFields, SetRecipientInfoResponse$1 & SetRecipientInfoResponseNonNullableFields$1>;
|
|
25844
|
+
declare function setBillingInfo(): __PublicMethodMetaInfo$g<'PUT', {}, SetBillingInfoRequest, SetBillingInfoRequest$1, SetBillingInfoResponse & SetBillingInfoResponseNonNullableFields, SetBillingInfoResponse$1 & SetBillingInfoResponseNonNullableFields$1>;
|
|
25845
|
+
declare function getDraftOrder(): __PublicMethodMetaInfo$g<'GET', {
|
|
25846
25846
|
draftOrderId: string;
|
|
25847
25847
|
}, GetDraftOrderRequest, GetDraftOrderRequest$1, GetDraftOrderResponse & GetDraftOrderResponseNonNullableFields, GetDraftOrderResponse$1 & GetDraftOrderResponseNonNullableFields$1>;
|
|
25848
|
-
declare function getOrderDraftabilityStatus(): __PublicMethodMetaInfo$
|
|
25848
|
+
declare function getOrderDraftabilityStatus(): __PublicMethodMetaInfo$g<'GET', {
|
|
25849
25849
|
orderId: string;
|
|
25850
25850
|
}, GetOrderDraftabilityStatusRequest, GetOrderDraftabilityStatusRequest$1, GetOrderDraftabilityStatusResponse & GetOrderDraftabilityStatusResponseNonNullableFields, GetOrderDraftabilityStatusResponse$1 & GetOrderDraftabilityStatusResponseNonNullableFields$1>;
|
|
25851
|
-
declare function commitDraftOrder(): __PublicMethodMetaInfo$
|
|
25851
|
+
declare function commitDraftOrder(): __PublicMethodMetaInfo$g<'POST', {
|
|
25852
25852
|
draftOrderId: string;
|
|
25853
25853
|
}, CommitDraftOrderRequest, CommitDraftOrderRequest$1, CommitDraftOrderResponse & CommitDraftOrderResponseNonNullableFields, CommitDraftOrderResponse$1 & CommitDraftOrderResponseNonNullableFields$1>;
|
|
25854
|
-
declare function createOrderFromDraft(): __PublicMethodMetaInfo$
|
|
25854
|
+
declare function createOrderFromDraft(): __PublicMethodMetaInfo$g<'POST', {
|
|
25855
25855
|
draftOrderId: string;
|
|
25856
25856
|
}, CreateOrderFromDraftRequest, CreateOrderFromDraftRequest$1, CreateOrderFromDraftResponse & CreateOrderFromDraftResponseNonNullableFields, CreateOrderFromDraftResponse$1 & CreateOrderFromDraftResponseNonNullableFields$1>;
|
|
25857
|
-
declare function deleteDraftOrder(): __PublicMethodMetaInfo$
|
|
25857
|
+
declare function deleteDraftOrder(): __PublicMethodMetaInfo$g<'DELETE', {
|
|
25858
25858
|
draftOrderId: string;
|
|
25859
25859
|
}, DeleteDraftOrderRequest, DeleteDraftOrderRequest$1, DeleteDraftOrderResponse, DeleteDraftOrderResponse$1>;
|
|
25860
|
-
declare function queryDraftOrders(): __PublicMethodMetaInfo$
|
|
25860
|
+
declare function queryDraftOrders(): __PublicMethodMetaInfo$g<'POST', {}, QueryDraftOrdersRequest, QueryDraftOrdersRequest$1, QueryDraftOrdersResponse & QueryDraftOrdersResponseNonNullableFields, QueryDraftOrdersResponse$1 & QueryDraftOrdersResponseNonNullableFields$1>;
|
|
25861
25861
|
|
|
25862
|
-
declare const meta$
|
|
25863
|
-
declare const meta$
|
|
25864
|
-
declare const meta$
|
|
25865
|
-
declare const meta$
|
|
25866
|
-
declare const meta$
|
|
25867
|
-
declare const meta$
|
|
25868
|
-
declare const meta$
|
|
25869
|
-
declare const meta$
|
|
25870
|
-
declare const meta$
|
|
25871
|
-
declare const meta$
|
|
25872
|
-
declare const meta$
|
|
25873
|
-
declare const meta$
|
|
25874
|
-
declare const meta$
|
|
25875
|
-
declare const meta$
|
|
25876
|
-
declare const meta$
|
|
25877
|
-
declare const meta$
|
|
25878
|
-
declare const meta$
|
|
25879
|
-
declare const meta$
|
|
25880
|
-
declare const meta$
|
|
25881
|
-
declare const meta$
|
|
25882
|
-
declare namespace meta$
|
|
25883
|
-
export { type __PublicMethodMetaInfo$
|
|
25862
|
+
declare const meta$g_addLineItemsToDraftOrder: typeof addLineItemsToDraftOrder;
|
|
25863
|
+
declare const meta$g_commitDraftOrder: typeof commitDraftOrder;
|
|
25864
|
+
declare const meta$g_createCustomAdditionalFees: typeof createCustomAdditionalFees;
|
|
25865
|
+
declare const meta$g_createCustomDiscounts: typeof createCustomDiscounts;
|
|
25866
|
+
declare const meta$g_createDraftOrder: typeof createDraftOrder;
|
|
25867
|
+
declare const meta$g_createEmptyDraftOrder: typeof createEmptyDraftOrder;
|
|
25868
|
+
declare const meta$g_createOrderFromDraft: typeof createOrderFromDraft;
|
|
25869
|
+
declare const meta$g_deleteCustomAdditionalFees: typeof deleteCustomAdditionalFees;
|
|
25870
|
+
declare const meta$g_deleteCustomDiscounts: typeof deleteCustomDiscounts;
|
|
25871
|
+
declare const meta$g_deleteDraftOrder: typeof deleteDraftOrder;
|
|
25872
|
+
declare const meta$g_getDraftOrder: typeof getDraftOrder;
|
|
25873
|
+
declare const meta$g_getOrderDraftabilityStatus: typeof getOrderDraftabilityStatus;
|
|
25874
|
+
declare const meta$g_queryDraftOrders: typeof queryDraftOrders;
|
|
25875
|
+
declare const meta$g_setAdditionalFees: typeof setAdditionalFees;
|
|
25876
|
+
declare const meta$g_setBillingInfo: typeof setBillingInfo;
|
|
25877
|
+
declare const meta$g_setBuyerInfo: typeof setBuyerInfo;
|
|
25878
|
+
declare const meta$g_setDiscounts: typeof setDiscounts;
|
|
25879
|
+
declare const meta$g_setRecipientInfo: typeof setRecipientInfo;
|
|
25880
|
+
declare const meta$g_setShippingInfo: typeof setShippingInfo;
|
|
25881
|
+
declare const meta$g_updateLineItems: typeof updateLineItems;
|
|
25882
|
+
declare namespace meta$g {
|
|
25883
|
+
export { type __PublicMethodMetaInfo$g as __PublicMethodMetaInfo, meta$g_addLineItemsToDraftOrder as addLineItemsToDraftOrder, meta$g_commitDraftOrder as commitDraftOrder, meta$g_createCustomAdditionalFees as createCustomAdditionalFees, meta$g_createCustomDiscounts as createCustomDiscounts, meta$g_createDraftOrder as createDraftOrder, meta$g_createEmptyDraftOrder as createEmptyDraftOrder, meta$g_createOrderFromDraft as createOrderFromDraft, meta$g_deleteCustomAdditionalFees as deleteCustomAdditionalFees, meta$g_deleteCustomDiscounts as deleteCustomDiscounts, meta$g_deleteDraftOrder as deleteDraftOrder, meta$g_getDraftOrder as getDraftOrder, meta$g_getOrderDraftabilityStatus as getOrderDraftabilityStatus, meta$g_queryDraftOrders as queryDraftOrders, meta$g_setAdditionalFees as setAdditionalFees, meta$g_setBillingInfo as setBillingInfo, meta$g_setBuyerInfo as setBuyerInfo, meta$g_setDiscounts as setDiscounts, meta$g_setRecipientInfo as setRecipientInfo, meta$g_setShippingInfo as setShippingInfo, meta$g_updateLineItems as updateLineItems };
|
|
25884
25884
|
}
|
|
25885
25885
|
|
|
25886
25886
|
interface OrderWithFulfillments$1 {
|
|
@@ -26326,7 +26326,7 @@ interface BulkCreateFulfillmentResponseNonNullableFields {
|
|
|
26326
26326
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$4;
|
|
26327
26327
|
}
|
|
26328
26328
|
|
|
26329
|
-
type __PublicMethodMetaInfo$
|
|
26329
|
+
type __PublicMethodMetaInfo$f<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
26330
26330
|
getUrl: (context: any) => string;
|
|
26331
26331
|
httpMethod: K;
|
|
26332
26332
|
path: string;
|
|
@@ -26336,31 +26336,31 @@ type __PublicMethodMetaInfo$d<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
26336
26336
|
__responseType: Q;
|
|
26337
26337
|
__originalResponseType: R;
|
|
26338
26338
|
};
|
|
26339
|
-
declare function listFulfillmentsForSingleOrder(): __PublicMethodMetaInfo$
|
|
26339
|
+
declare function listFulfillmentsForSingleOrder(): __PublicMethodMetaInfo$f<'GET', {
|
|
26340
26340
|
orderId: string;
|
|
26341
26341
|
}, ListFulfillmentsForSingleOrderRequest, ListFulfillmentsForSingleOrderRequest$1, ListFulfillmentsForSingleOrderResponse & ListFulfillmentsForSingleOrderResponseNonNullableFields, ListFulfillmentsForSingleOrderResponse$1 & ListFulfillmentsForSingleOrderResponseNonNullableFields$1>;
|
|
26342
|
-
declare function listFulfillmentsForMultipleOrders(): __PublicMethodMetaInfo$
|
|
26343
|
-
declare function createFulfillment(): __PublicMethodMetaInfo$
|
|
26342
|
+
declare function listFulfillmentsForMultipleOrders(): __PublicMethodMetaInfo$f<'POST', {}, ListFulfillmentsForMultipleOrdersRequest, ListFulfillmentsForMultipleOrdersRequest$1, ListFulfillmentsForMultipleOrdersResponse & ListFulfillmentsForMultipleOrdersResponseNonNullableFields, ListFulfillmentsForMultipleOrdersResponse$1 & ListFulfillmentsForMultipleOrdersResponseNonNullableFields$1>;
|
|
26343
|
+
declare function createFulfillment(): __PublicMethodMetaInfo$f<'POST', {
|
|
26344
26344
|
orderId: string;
|
|
26345
26345
|
}, CreateFulfillmentRequest, CreateFulfillmentRequest$1, CreateFulfillmentResponse & CreateFulfillmentResponseNonNullableFields, CreateFulfillmentResponse$1 & CreateFulfillmentResponseNonNullableFields$1>;
|
|
26346
|
-
declare function updateFulfillment(): __PublicMethodMetaInfo$
|
|
26346
|
+
declare function updateFulfillment(): __PublicMethodMetaInfo$f<'PATCH', {
|
|
26347
26347
|
fulfillmentId: string;
|
|
26348
26348
|
orderId: string;
|
|
26349
26349
|
}, UpdateFulfillmentRequest, UpdateFulfillmentRequest$1, UpdateFulfillmentResponse & UpdateFulfillmentResponseNonNullableFields, UpdateFulfillmentResponse$1 & UpdateFulfillmentResponseNonNullableFields$1>;
|
|
26350
|
-
declare function deleteFulfillment(): __PublicMethodMetaInfo$
|
|
26350
|
+
declare function deleteFulfillment(): __PublicMethodMetaInfo$f<'DELETE', {
|
|
26351
26351
|
fulfillmentId: string;
|
|
26352
26352
|
orderId: string;
|
|
26353
26353
|
}, DeleteFulfillmentRequest, DeleteFulfillmentRequest$1, DeleteFulfillmentResponse & DeleteFulfillmentResponseNonNullableFields, DeleteFulfillmentResponse$1 & DeleteFulfillmentResponseNonNullableFields$1>;
|
|
26354
|
-
declare function bulkCreateFulfillments(): __PublicMethodMetaInfo$
|
|
26354
|
+
declare function bulkCreateFulfillments(): __PublicMethodMetaInfo$f<'POST', {}, BulkCreateFulfillmentRequest, BulkCreateFulfillmentRequest$1, BulkCreateFulfillmentResponse & BulkCreateFulfillmentResponseNonNullableFields, BulkCreateFulfillmentResponse$1 & BulkCreateFulfillmentResponseNonNullableFields$1>;
|
|
26355
26355
|
|
|
26356
|
-
declare const meta$
|
|
26357
|
-
declare const meta$
|
|
26358
|
-
declare const meta$
|
|
26359
|
-
declare const meta$
|
|
26360
|
-
declare const meta$
|
|
26361
|
-
declare const meta$
|
|
26362
|
-
declare namespace meta$
|
|
26363
|
-
export { type __PublicMethodMetaInfo$
|
|
26356
|
+
declare const meta$f_bulkCreateFulfillments: typeof bulkCreateFulfillments;
|
|
26357
|
+
declare const meta$f_createFulfillment: typeof createFulfillment;
|
|
26358
|
+
declare const meta$f_deleteFulfillment: typeof deleteFulfillment;
|
|
26359
|
+
declare const meta$f_listFulfillmentsForMultipleOrders: typeof listFulfillmentsForMultipleOrders;
|
|
26360
|
+
declare const meta$f_listFulfillmentsForSingleOrder: typeof listFulfillmentsForSingleOrder;
|
|
26361
|
+
declare const meta$f_updateFulfillment: typeof updateFulfillment;
|
|
26362
|
+
declare namespace meta$f {
|
|
26363
|
+
export { type __PublicMethodMetaInfo$f as __PublicMethodMetaInfo, meta$f_bulkCreateFulfillments as bulkCreateFulfillments, meta$f_createFulfillment as createFulfillment, meta$f_deleteFulfillment as deleteFulfillment, meta$f_listFulfillmentsForMultipleOrders as listFulfillmentsForMultipleOrders, meta$f_listFulfillmentsForSingleOrder as listFulfillmentsForSingleOrder, meta$f_updateFulfillment as updateFulfillment };
|
|
26364
26364
|
}
|
|
26365
26365
|
|
|
26366
26366
|
interface GiftCard$3 {
|
|
@@ -26549,7 +26549,7 @@ interface RedeemGiftCardResponseNonNullableFields {
|
|
|
26549
26549
|
transactionId: string;
|
|
26550
26550
|
}
|
|
26551
26551
|
|
|
26552
|
-
type __PublicMethodMetaInfo$
|
|
26552
|
+
type __PublicMethodMetaInfo$e<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
26553
26553
|
getUrl: (context: any) => string;
|
|
26554
26554
|
httpMethod: K;
|
|
26555
26555
|
path: string;
|
|
@@ -26559,17 +26559,17 @@ type __PublicMethodMetaInfo$c<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
26559
26559
|
__responseType: Q;
|
|
26560
26560
|
__originalResponseType: R;
|
|
26561
26561
|
};
|
|
26562
|
-
declare function getGiftCard(): __PublicMethodMetaInfo$
|
|
26562
|
+
declare function getGiftCard(): __PublicMethodMetaInfo$e<'POST', {
|
|
26563
26563
|
code: string;
|
|
26564
26564
|
}, GetGiftCardRequest, GetGiftCardRequest$1, GetGiftCardResponse & GetGiftCardResponseNonNullableFields, GetGiftCardResponse$1 & GetGiftCardResponseNonNullableFields$1>;
|
|
26565
|
-
declare function redeemGiftCard(): __PublicMethodMetaInfo$
|
|
26566
|
-
declare function voidTransaction(): __PublicMethodMetaInfo$
|
|
26565
|
+
declare function redeemGiftCard(): __PublicMethodMetaInfo$e<'POST', {}, RedeemGiftCardRequest, RedeemGiftCardRequest$1, RedeemGiftCardResponse & RedeemGiftCardResponseNonNullableFields, RedeemGiftCardResponse$1 & RedeemGiftCardResponseNonNullableFields$1>;
|
|
26566
|
+
declare function voidTransaction(): __PublicMethodMetaInfo$e<'POST', {}, VoidTransactionRequest, VoidTransactionRequest$1, VoidTransactionResponse, VoidTransactionResponse$1>;
|
|
26567
26567
|
|
|
26568
|
-
declare const meta$
|
|
26569
|
-
declare const meta$
|
|
26570
|
-
declare const meta$
|
|
26571
|
-
declare namespace meta$
|
|
26572
|
-
export { type __PublicMethodMetaInfo$
|
|
26568
|
+
declare const meta$e_getGiftCard: typeof getGiftCard;
|
|
26569
|
+
declare const meta$e_redeemGiftCard: typeof redeemGiftCard;
|
|
26570
|
+
declare const meta$e_voidTransaction: typeof voidTransaction;
|
|
26571
|
+
declare namespace meta$e {
|
|
26572
|
+
export { type __PublicMethodMetaInfo$e as __PublicMethodMetaInfo, meta$e_getGiftCard as getGiftCard, meta$e_redeemGiftCard as redeemGiftCard, meta$e_voidTransaction as voidTransaction };
|
|
26573
26573
|
}
|
|
26574
26574
|
|
|
26575
26575
|
interface LocalDeliveryOption$1 extends LocalDeliveryOptionConfigOneOf$1 {
|
|
@@ -26798,13 +26798,13 @@ interface ListLocalDeliveryOptionsResponse$1 {
|
|
|
26798
26798
|
}
|
|
26799
26799
|
interface QueryLocalDeliveryOptionsRequest$1 {
|
|
26800
26800
|
/** WQL expression */
|
|
26801
|
-
query: QueryV2$
|
|
26801
|
+
query: QueryV2$5;
|
|
26802
26802
|
}
|
|
26803
|
-
interface QueryV2$
|
|
26803
|
+
interface QueryV2$5 extends QueryV2PagingMethodOneOf$5 {
|
|
26804
26804
|
/** Paging options to limit and skip the number of items. */
|
|
26805
|
-
paging?: Paging$
|
|
26805
|
+
paging?: Paging$5;
|
|
26806
26806
|
/** 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`. */
|
|
26807
|
-
cursorPaging?: CursorPaging$
|
|
26807
|
+
cursorPaging?: CursorPaging$f;
|
|
26808
26808
|
/**
|
|
26809
26809
|
* Filter object.
|
|
26810
26810
|
*
|
|
@@ -26816,36 +26816,36 @@ interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
|
|
|
26816
26816
|
*
|
|
26817
26817
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
26818
26818
|
*/
|
|
26819
|
-
sort?: Sorting$
|
|
26819
|
+
sort?: Sorting$f[];
|
|
26820
26820
|
/** 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. */
|
|
26821
26821
|
fields?: string[];
|
|
26822
26822
|
/** 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. */
|
|
26823
26823
|
fieldsets?: string[];
|
|
26824
26824
|
}
|
|
26825
26825
|
/** @oneof */
|
|
26826
|
-
interface QueryV2PagingMethodOneOf$
|
|
26826
|
+
interface QueryV2PagingMethodOneOf$5 {
|
|
26827
26827
|
/** Paging options to limit and skip the number of items. */
|
|
26828
|
-
paging?: Paging$
|
|
26828
|
+
paging?: Paging$5;
|
|
26829
26829
|
/** 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`. */
|
|
26830
|
-
cursorPaging?: CursorPaging$
|
|
26830
|
+
cursorPaging?: CursorPaging$f;
|
|
26831
26831
|
}
|
|
26832
|
-
interface Sorting$
|
|
26832
|
+
interface Sorting$f {
|
|
26833
26833
|
/** Name of the field to sort by. */
|
|
26834
26834
|
fieldName?: string;
|
|
26835
26835
|
/** Sort order. */
|
|
26836
|
-
order?: SortOrder$
|
|
26836
|
+
order?: SortOrder$f;
|
|
26837
26837
|
}
|
|
26838
|
-
declare enum SortOrder$
|
|
26838
|
+
declare enum SortOrder$f {
|
|
26839
26839
|
ASC = "ASC",
|
|
26840
26840
|
DESC = "DESC"
|
|
26841
26841
|
}
|
|
26842
|
-
interface Paging$
|
|
26842
|
+
interface Paging$5 {
|
|
26843
26843
|
/** Number of items to load. */
|
|
26844
26844
|
limit?: number | null;
|
|
26845
26845
|
/** Number of items to skip in the current sort order. */
|
|
26846
26846
|
offset?: number | null;
|
|
26847
26847
|
}
|
|
26848
|
-
interface CursorPaging$
|
|
26848
|
+
interface CursorPaging$f {
|
|
26849
26849
|
/** Maximum number of items to return in the results. */
|
|
26850
26850
|
limit?: number | null;
|
|
26851
26851
|
/**
|
|
@@ -26866,7 +26866,7 @@ interface CursorPagingMetadata$d {
|
|
|
26866
26866
|
/** Number of items returned in current page. */
|
|
26867
26867
|
count?: number | null;
|
|
26868
26868
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
26869
|
-
cursors?: Cursors$
|
|
26869
|
+
cursors?: Cursors$f;
|
|
26870
26870
|
/**
|
|
26871
26871
|
* Whether there are more pages to retrieve following the current page.
|
|
26872
26872
|
*
|
|
@@ -26875,7 +26875,7 @@ interface CursorPagingMetadata$d {
|
|
|
26875
26875
|
*/
|
|
26876
26876
|
hasNext?: boolean | null;
|
|
26877
26877
|
}
|
|
26878
|
-
interface Cursors$
|
|
26878
|
+
interface Cursors$f {
|
|
26879
26879
|
/** Cursor string pointing to the next page in the list of results. */
|
|
26880
26880
|
next?: string | null;
|
|
26881
26881
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -27238,13 +27238,13 @@ interface ListLocalDeliveryOptionsResponse {
|
|
|
27238
27238
|
}
|
|
27239
27239
|
interface QueryLocalDeliveryOptionsRequest {
|
|
27240
27240
|
/** WQL expression */
|
|
27241
|
-
query: QueryV2$
|
|
27241
|
+
query: QueryV2$4;
|
|
27242
27242
|
}
|
|
27243
|
-
interface QueryV2$
|
|
27243
|
+
interface QueryV2$4 extends QueryV2PagingMethodOneOf$4 {
|
|
27244
27244
|
/** Paging options to limit and skip the number of items. */
|
|
27245
|
-
paging?: Paging$
|
|
27245
|
+
paging?: Paging$4;
|
|
27246
27246
|
/** 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`. */
|
|
27247
|
-
cursorPaging?: CursorPaging$
|
|
27247
|
+
cursorPaging?: CursorPaging$e;
|
|
27248
27248
|
/**
|
|
27249
27249
|
* Filter object.
|
|
27250
27250
|
*
|
|
@@ -27256,36 +27256,36 @@ interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
|
|
|
27256
27256
|
*
|
|
27257
27257
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
27258
27258
|
*/
|
|
27259
|
-
sort?: Sorting$
|
|
27259
|
+
sort?: Sorting$e[];
|
|
27260
27260
|
/** 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. */
|
|
27261
27261
|
fields?: string[];
|
|
27262
27262
|
/** 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. */
|
|
27263
27263
|
fieldsets?: string[];
|
|
27264
27264
|
}
|
|
27265
27265
|
/** @oneof */
|
|
27266
|
-
interface QueryV2PagingMethodOneOf$
|
|
27266
|
+
interface QueryV2PagingMethodOneOf$4 {
|
|
27267
27267
|
/** Paging options to limit and skip the number of items. */
|
|
27268
|
-
paging?: Paging$
|
|
27268
|
+
paging?: Paging$4;
|
|
27269
27269
|
/** 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`. */
|
|
27270
|
-
cursorPaging?: CursorPaging$
|
|
27270
|
+
cursorPaging?: CursorPaging$e;
|
|
27271
27271
|
}
|
|
27272
|
-
interface Sorting$
|
|
27272
|
+
interface Sorting$e {
|
|
27273
27273
|
/** Name of the field to sort by. */
|
|
27274
27274
|
fieldName?: string;
|
|
27275
27275
|
/** Sort order. */
|
|
27276
|
-
order?: SortOrder$
|
|
27276
|
+
order?: SortOrder$e;
|
|
27277
27277
|
}
|
|
27278
|
-
declare enum SortOrder$
|
|
27278
|
+
declare enum SortOrder$e {
|
|
27279
27279
|
ASC = "ASC",
|
|
27280
27280
|
DESC = "DESC"
|
|
27281
27281
|
}
|
|
27282
|
-
interface Paging$
|
|
27282
|
+
interface Paging$4 {
|
|
27283
27283
|
/** Number of items to load. */
|
|
27284
27284
|
limit?: number | null;
|
|
27285
27285
|
/** Number of items to skip in the current sort order. */
|
|
27286
27286
|
offset?: number | null;
|
|
27287
27287
|
}
|
|
27288
|
-
interface CursorPaging$
|
|
27288
|
+
interface CursorPaging$e {
|
|
27289
27289
|
/** Maximum number of items to return in the results. */
|
|
27290
27290
|
limit?: number | null;
|
|
27291
27291
|
/**
|
|
@@ -27306,7 +27306,7 @@ interface CursorPagingMetadata$c {
|
|
|
27306
27306
|
/** Number of items returned in current page. */
|
|
27307
27307
|
count?: number | null;
|
|
27308
27308
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
27309
|
-
cursors?: Cursors$
|
|
27309
|
+
cursors?: Cursors$e;
|
|
27310
27310
|
/**
|
|
27311
27311
|
* Whether there are more pages to retrieve following the current page.
|
|
27312
27312
|
*
|
|
@@ -27315,7 +27315,7 @@ interface CursorPagingMetadata$c {
|
|
|
27315
27315
|
*/
|
|
27316
27316
|
hasNext?: boolean | null;
|
|
27317
27317
|
}
|
|
27318
|
-
interface Cursors$
|
|
27318
|
+
interface Cursors$e {
|
|
27319
27319
|
/** Cursor string pointing to the next page in the list of results. */
|
|
27320
27320
|
next?: string | null;
|
|
27321
27321
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -27452,7 +27452,7 @@ interface RemoveDeliveryRegionResponseNonNullableFields$2 {
|
|
|
27452
27452
|
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
27453
27453
|
}
|
|
27454
27454
|
|
|
27455
|
-
type __PublicMethodMetaInfo$
|
|
27455
|
+
type __PublicMethodMetaInfo$d<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
27456
27456
|
getUrl: (context: any) => string;
|
|
27457
27457
|
httpMethod: K;
|
|
27458
27458
|
path: string;
|
|
@@ -27462,35 +27462,35 @@ type __PublicMethodMetaInfo$b<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
27462
27462
|
__responseType: Q;
|
|
27463
27463
|
__originalResponseType: R;
|
|
27464
27464
|
};
|
|
27465
|
-
declare function createLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
27466
|
-
declare function getLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
27465
|
+
declare function createLocalDeliveryOption(): __PublicMethodMetaInfo$d<'POST', {}, CreateLocalDeliveryOptionRequest, CreateLocalDeliveryOptionRequest$1, CreateLocalDeliveryOptionResponse & CreateLocalDeliveryOptionResponseNonNullableFields, CreateLocalDeliveryOptionResponse$1 & CreateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27466
|
+
declare function getLocalDeliveryOption(): __PublicMethodMetaInfo$d<'GET', {
|
|
27467
27467
|
localDeliveryOptionId: string;
|
|
27468
27468
|
}, GetLocalDeliveryOptionRequest, GetLocalDeliveryOptionRequest$1, GetLocalDeliveryOptionResponse & GetLocalDeliveryOptionResponseNonNullableFields, GetLocalDeliveryOptionResponse$1 & GetLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27469
|
-
declare function listLocalDeliveryOptions(): __PublicMethodMetaInfo$
|
|
27470
|
-
declare function queryLocalDeliveryOptions(): __PublicMethodMetaInfo$
|
|
27471
|
-
declare function updateLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
27469
|
+
declare function listLocalDeliveryOptions(): __PublicMethodMetaInfo$d<'GET', {}, ListLocalDeliveryOptionsRequest, ListLocalDeliveryOptionsRequest$1, ListLocalDeliveryOptionsResponse & ListLocalDeliveryOptionsResponseNonNullableFields, ListLocalDeliveryOptionsResponse$1 & ListLocalDeliveryOptionsResponseNonNullableFields$1>;
|
|
27470
|
+
declare function queryLocalDeliveryOptions(): __PublicMethodMetaInfo$d<'POST', {}, QueryLocalDeliveryOptionsRequest, QueryLocalDeliveryOptionsRequest$1, QueryLocalDeliveryOptionsResponse & QueryLocalDeliveryOptionsResponseNonNullableFields, QueryLocalDeliveryOptionsResponse$1 & QueryLocalDeliveryOptionsResponseNonNullableFields$1>;
|
|
27471
|
+
declare function updateLocalDeliveryOption(): __PublicMethodMetaInfo$d<'PATCH', {
|
|
27472
27472
|
localDeliveryOptionId: string;
|
|
27473
27473
|
}, UpdateLocalDeliveryOptionRequest, UpdateLocalDeliveryOptionRequest$1, UpdateLocalDeliveryOptionResponse & UpdateLocalDeliveryOptionResponseNonNullableFields, UpdateLocalDeliveryOptionResponse$1 & UpdateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27474
|
-
declare function deleteLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
27474
|
+
declare function deleteLocalDeliveryOption(): __PublicMethodMetaInfo$d<'DELETE', {
|
|
27475
27475
|
localDeliveryOptionId: string;
|
|
27476
27476
|
}, DeleteLocalDeliveryOptionRequest, DeleteLocalDeliveryOptionRequest$1, DeleteLocalDeliveryOptionResponse, DeleteLocalDeliveryOptionResponse$1>;
|
|
27477
|
-
declare function bulkCreateLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
27478
|
-
declare function bulkUpdateLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
27479
|
-
declare function bulkDeleteLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
27480
|
-
declare function addDeliveryRegion$1(): __PublicMethodMetaInfo$
|
|
27481
|
-
declare function removeDeliveryRegion$1(): __PublicMethodMetaInfo$
|
|
27477
|
+
declare function bulkCreateLocalDeliveryOption(): __PublicMethodMetaInfo$d<'POST', {}, BulkCreateLocalDeliveryOptionRequest, BulkCreateLocalDeliveryOptionRequest$1, BulkCreateLocalDeliveryOptionResponse & BulkCreateLocalDeliveryOptionResponseNonNullableFields, BulkCreateLocalDeliveryOptionResponse$1 & BulkCreateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27478
|
+
declare function bulkUpdateLocalDeliveryOption(): __PublicMethodMetaInfo$d<'PATCH', {}, BulkUpdateLocalDeliveryOptionRequest, BulkUpdateLocalDeliveryOptionRequest$1, BulkUpdateLocalDeliveryOptionResponse & BulkUpdateLocalDeliveryOptionResponseNonNullableFields, BulkUpdateLocalDeliveryOptionResponse$1 & BulkUpdateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27479
|
+
declare function bulkDeleteLocalDeliveryOption(): __PublicMethodMetaInfo$d<'DELETE', {}, BulkDeleteLocalDeliveryOptionRequest, BulkDeleteLocalDeliveryOptionRequest$1, BulkDeleteLocalDeliveryOptionResponse, BulkDeleteLocalDeliveryOptionResponse$1>;
|
|
27480
|
+
declare function addDeliveryRegion$1(): __PublicMethodMetaInfo$d<'POST', {}, AddDeliveryRegionRequest$2, AddDeliveryRegionRequest$3, AddDeliveryRegionResponse$2 & AddDeliveryRegionResponseNonNullableFields$2, AddDeliveryRegionResponse$3 & AddDeliveryRegionResponseNonNullableFields$3>;
|
|
27481
|
+
declare function removeDeliveryRegion$1(): __PublicMethodMetaInfo$d<'POST', {}, RemoveDeliveryRegionRequest$2, RemoveDeliveryRegionRequest$3, RemoveDeliveryRegionResponse$2 & RemoveDeliveryRegionResponseNonNullableFields$2, RemoveDeliveryRegionResponse$3 & RemoveDeliveryRegionResponseNonNullableFields$3>;
|
|
27482
27482
|
|
|
27483
|
-
declare const meta$
|
|
27484
|
-
declare const meta$
|
|
27485
|
-
declare const meta$
|
|
27486
|
-
declare const meta$
|
|
27487
|
-
declare const meta$
|
|
27488
|
-
declare const meta$
|
|
27489
|
-
declare const meta$
|
|
27490
|
-
declare const meta$
|
|
27491
|
-
declare const meta$
|
|
27492
|
-
declare namespace meta$
|
|
27493
|
-
export { type __PublicMethodMetaInfo$
|
|
27483
|
+
declare const meta$d_bulkCreateLocalDeliveryOption: typeof bulkCreateLocalDeliveryOption;
|
|
27484
|
+
declare const meta$d_bulkDeleteLocalDeliveryOption: typeof bulkDeleteLocalDeliveryOption;
|
|
27485
|
+
declare const meta$d_bulkUpdateLocalDeliveryOption: typeof bulkUpdateLocalDeliveryOption;
|
|
27486
|
+
declare const meta$d_createLocalDeliveryOption: typeof createLocalDeliveryOption;
|
|
27487
|
+
declare const meta$d_deleteLocalDeliveryOption: typeof deleteLocalDeliveryOption;
|
|
27488
|
+
declare const meta$d_getLocalDeliveryOption: typeof getLocalDeliveryOption;
|
|
27489
|
+
declare const meta$d_listLocalDeliveryOptions: typeof listLocalDeliveryOptions;
|
|
27490
|
+
declare const meta$d_queryLocalDeliveryOptions: typeof queryLocalDeliveryOptions;
|
|
27491
|
+
declare const meta$d_updateLocalDeliveryOption: typeof updateLocalDeliveryOption;
|
|
27492
|
+
declare namespace meta$d {
|
|
27493
|
+
export { type __PublicMethodMetaInfo$d as __PublicMethodMetaInfo, addDeliveryRegion$1 as addDeliveryRegion, meta$d_bulkCreateLocalDeliveryOption as bulkCreateLocalDeliveryOption, meta$d_bulkDeleteLocalDeliveryOption as bulkDeleteLocalDeliveryOption, meta$d_bulkUpdateLocalDeliveryOption as bulkUpdateLocalDeliveryOption, meta$d_createLocalDeliveryOption as createLocalDeliveryOption, meta$d_deleteLocalDeliveryOption as deleteLocalDeliveryOption, meta$d_getLocalDeliveryOption as getLocalDeliveryOption, meta$d_listLocalDeliveryOptions as listLocalDeliveryOptions, meta$d_queryLocalDeliveryOptions as queryLocalDeliveryOptions, removeDeliveryRegion$1 as removeDeliveryRegion, meta$d_updateLocalDeliveryOption as updateLocalDeliveryOption };
|
|
27494
27494
|
}
|
|
27495
27495
|
|
|
27496
27496
|
interface Order$1 {
|
|
@@ -27620,7 +27620,7 @@ interface Order$1 {
|
|
|
27620
27620
|
*
|
|
27621
27621
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
27622
27622
|
*/
|
|
27623
|
-
extendedFields?: ExtendedFields$
|
|
27623
|
+
extendedFields?: ExtendedFields$9;
|
|
27624
27624
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
27625
27625
|
purchaseFlowId?: string | null;
|
|
27626
27626
|
/**
|
|
@@ -28609,7 +28609,7 @@ interface AdditionalFee$1 {
|
|
|
28609
28609
|
*/
|
|
28610
28610
|
lineItemIds?: string[];
|
|
28611
28611
|
}
|
|
28612
|
-
interface ExtendedFields$
|
|
28612
|
+
interface ExtendedFields$9 {
|
|
28613
28613
|
/**
|
|
28614
28614
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
28615
28615
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -28652,17 +28652,17 @@ interface TagList$1 {
|
|
|
28652
28652
|
/** List of tag IDs */
|
|
28653
28653
|
tagIds?: string[];
|
|
28654
28654
|
}
|
|
28655
|
-
interface Sorting$
|
|
28655
|
+
interface Sorting$d {
|
|
28656
28656
|
/** Name of the field to sort by. */
|
|
28657
28657
|
fieldName?: string;
|
|
28658
28658
|
/** Sort order. */
|
|
28659
|
-
order?: SortOrder$
|
|
28659
|
+
order?: SortOrder$d;
|
|
28660
28660
|
}
|
|
28661
|
-
declare enum SortOrder$
|
|
28661
|
+
declare enum SortOrder$d {
|
|
28662
28662
|
ASC = "ASC",
|
|
28663
28663
|
DESC = "DESC"
|
|
28664
28664
|
}
|
|
28665
|
-
interface CursorPaging$
|
|
28665
|
+
interface CursorPaging$d {
|
|
28666
28666
|
/** Maximum number of items to return in the results. */
|
|
28667
28667
|
limit?: number | null;
|
|
28668
28668
|
/**
|
|
@@ -28673,7 +28673,7 @@ interface CursorPaging$b {
|
|
|
28673
28673
|
*/
|
|
28674
28674
|
cursor?: string | null;
|
|
28675
28675
|
}
|
|
28676
|
-
interface Cursors$
|
|
28676
|
+
interface Cursors$d {
|
|
28677
28677
|
/** Cursor string pointing to the next page in the list of results. */
|
|
28678
28678
|
next?: string | null;
|
|
28679
28679
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -29083,7 +29083,7 @@ interface CursorSearch$1 extends CursorSearchPagingMethodOneOf$1 {
|
|
|
29083
29083
|
* Cursor paging options.
|
|
29084
29084
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
29085
29085
|
*/
|
|
29086
|
-
cursorPaging?: CursorPaging$
|
|
29086
|
+
cursorPaging?: CursorPaging$d;
|
|
29087
29087
|
/**
|
|
29088
29088
|
* Filter object.
|
|
29089
29089
|
*
|
|
@@ -29103,7 +29103,7 @@ interface CursorSearch$1 extends CursorSearchPagingMethodOneOf$1 {
|
|
|
29103
29103
|
*
|
|
29104
29104
|
* Learn more about the [sort format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
29105
29105
|
*/
|
|
29106
|
-
sort?: Sorting$
|
|
29106
|
+
sort?: Sorting$d[];
|
|
29107
29107
|
}
|
|
29108
29108
|
/** @oneof */
|
|
29109
29109
|
interface CursorSearchPagingMethodOneOf$1 {
|
|
@@ -29111,7 +29111,7 @@ interface CursorSearchPagingMethodOneOf$1 {
|
|
|
29111
29111
|
* Cursor paging options.
|
|
29112
29112
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
29113
29113
|
*/
|
|
29114
|
-
cursorPaging?: CursorPaging$
|
|
29114
|
+
cursorPaging?: CursorPaging$d;
|
|
29115
29115
|
}
|
|
29116
29116
|
interface SearchOrdersResponse$1 {
|
|
29117
29117
|
/** List of orders. */
|
|
@@ -29123,7 +29123,7 @@ interface CursorPagingMetadata$b {
|
|
|
29123
29123
|
/** Number of items returned in current page. */
|
|
29124
29124
|
count?: number | null;
|
|
29125
29125
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
29126
|
-
cursors?: Cursors$
|
|
29126
|
+
cursors?: Cursors$d;
|
|
29127
29127
|
/**
|
|
29128
29128
|
* Whether there are more pages to retrieve following the current page.
|
|
29129
29129
|
*
|
|
@@ -29928,7 +29928,7 @@ interface Order {
|
|
|
29928
29928
|
*
|
|
29929
29929
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
29930
29930
|
*/
|
|
29931
|
-
extendedFields?: ExtendedFields$
|
|
29931
|
+
extendedFields?: ExtendedFields$8;
|
|
29932
29932
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
29933
29933
|
purchaseFlowId?: string | null;
|
|
29934
29934
|
/**
|
|
@@ -30874,7 +30874,7 @@ interface AdditionalFee {
|
|
|
30874
30874
|
*/
|
|
30875
30875
|
lineItemIds?: string[];
|
|
30876
30876
|
}
|
|
30877
|
-
interface ExtendedFields$
|
|
30877
|
+
interface ExtendedFields$8 {
|
|
30878
30878
|
/**
|
|
30879
30879
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
30880
30880
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -30917,17 +30917,17 @@ interface TagList {
|
|
|
30917
30917
|
/** List of tag IDs */
|
|
30918
30918
|
tagIds?: string[];
|
|
30919
30919
|
}
|
|
30920
|
-
interface Sorting$
|
|
30920
|
+
interface Sorting$c {
|
|
30921
30921
|
/** Name of the field to sort by. */
|
|
30922
30922
|
fieldName?: string;
|
|
30923
30923
|
/** Sort order. */
|
|
30924
|
-
order?: SortOrder$
|
|
30924
|
+
order?: SortOrder$c;
|
|
30925
30925
|
}
|
|
30926
|
-
declare enum SortOrder$
|
|
30926
|
+
declare enum SortOrder$c {
|
|
30927
30927
|
ASC = "ASC",
|
|
30928
30928
|
DESC = "DESC"
|
|
30929
30929
|
}
|
|
30930
|
-
interface CursorPaging$
|
|
30930
|
+
interface CursorPaging$c {
|
|
30931
30931
|
/** Maximum number of items to return in the results. */
|
|
30932
30932
|
limit?: number | null;
|
|
30933
30933
|
/**
|
|
@@ -30938,7 +30938,7 @@ interface CursorPaging$a {
|
|
|
30938
30938
|
*/
|
|
30939
30939
|
cursor?: string | null;
|
|
30940
30940
|
}
|
|
30941
|
-
interface Cursors$
|
|
30941
|
+
interface Cursors$c {
|
|
30942
30942
|
/** Cursor string pointing to the next page in the list of results. */
|
|
30943
30943
|
next?: string | null;
|
|
30944
30944
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -31348,7 +31348,7 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
31348
31348
|
* Cursor paging options.
|
|
31349
31349
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
31350
31350
|
*/
|
|
31351
|
-
cursorPaging?: CursorPaging$
|
|
31351
|
+
cursorPaging?: CursorPaging$c;
|
|
31352
31352
|
/**
|
|
31353
31353
|
* Filter object.
|
|
31354
31354
|
*
|
|
@@ -31368,7 +31368,7 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
31368
31368
|
*
|
|
31369
31369
|
* Learn more about the [sort format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
31370
31370
|
*/
|
|
31371
|
-
sort?: Sorting$
|
|
31371
|
+
sort?: Sorting$c[];
|
|
31372
31372
|
}
|
|
31373
31373
|
/** @oneof */
|
|
31374
31374
|
interface CursorSearchPagingMethodOneOf {
|
|
@@ -31376,7 +31376,7 @@ interface CursorSearchPagingMethodOneOf {
|
|
|
31376
31376
|
* Cursor paging options.
|
|
31377
31377
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
31378
31378
|
*/
|
|
31379
|
-
cursorPaging?: CursorPaging$
|
|
31379
|
+
cursorPaging?: CursorPaging$c;
|
|
31380
31380
|
}
|
|
31381
31381
|
interface SearchOrdersResponse {
|
|
31382
31382
|
/** List of orders. */
|
|
@@ -31388,7 +31388,7 @@ interface CursorPagingMetadata$a {
|
|
|
31388
31388
|
/** Number of items returned in current page. */
|
|
31389
31389
|
count?: number | null;
|
|
31390
31390
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
31391
|
-
cursors?: Cursors$
|
|
31391
|
+
cursors?: Cursors$c;
|
|
31392
31392
|
/**
|
|
31393
31393
|
* Whether there are more pages to retrieve following the current page.
|
|
31394
31394
|
*
|
|
@@ -32060,7 +32060,7 @@ interface BulkUpdateOrderTagsResponseNonNullableFields {
|
|
|
32060
32060
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
|
|
32061
32061
|
}
|
|
32062
32062
|
|
|
32063
|
-
type __PublicMethodMetaInfo$
|
|
32063
|
+
type __PublicMethodMetaInfo$c<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
32064
32064
|
getUrl: (context: any) => string;
|
|
32065
32065
|
httpMethod: K;
|
|
32066
32066
|
path: string;
|
|
@@ -32070,45 +32070,45 @@ type __PublicMethodMetaInfo$a<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
32070
32070
|
__responseType: Q;
|
|
32071
32071
|
__originalResponseType: R;
|
|
32072
32072
|
};
|
|
32073
|
-
declare function preparePaymentCollection(): __PublicMethodMetaInfo$
|
|
32073
|
+
declare function preparePaymentCollection(): __PublicMethodMetaInfo$c<'POST', {
|
|
32074
32074
|
ecomOrderId: string;
|
|
32075
32075
|
}, PreparePaymentCollectionRequest, PreparePaymentCollectionRequest$1, PreparePaymentCollectionResponse & PreparePaymentCollectionResponseNonNullableFields, PreparePaymentCollectionResponse$1 & PreparePaymentCollectionResponseNonNullableFields$1>;
|
|
32076
|
-
declare function getPaymentCollectabilityStatus(): __PublicMethodMetaInfo$
|
|
32076
|
+
declare function getPaymentCollectabilityStatus(): __PublicMethodMetaInfo$c<'GET', {
|
|
32077
32077
|
ecomOrderId: string;
|
|
32078
32078
|
}, GetPaymentCollectabilityStatusRequest, GetPaymentCollectabilityStatusRequest$1, GetPaymentCollectabilityStatusResponse & GetPaymentCollectabilityStatusResponseNonNullableFields, GetPaymentCollectabilityStatusResponse$1 & GetPaymentCollectabilityStatusResponseNonNullableFields$1>;
|
|
32079
|
-
declare function voidAuthorizedPayments(): __PublicMethodMetaInfo$
|
|
32079
|
+
declare function voidAuthorizedPayments(): __PublicMethodMetaInfo$c<'POST', {
|
|
32080
32080
|
ecomOrderId: string;
|
|
32081
32081
|
}, VoidAuthorizedPaymentsRequest, VoidAuthorizedPaymentsRequest$1, VoidAuthorizedPaymentsResponse & VoidAuthorizedPaymentsResponseNonNullableFields, VoidAuthorizedPaymentsResponse$1 & VoidAuthorizedPaymentsResponseNonNullableFields$1>;
|
|
32082
|
-
declare function captureAuthorizedPayments(): __PublicMethodMetaInfo$
|
|
32082
|
+
declare function captureAuthorizedPayments(): __PublicMethodMetaInfo$c<'POST', {
|
|
32083
32083
|
ecomOrderId: string;
|
|
32084
32084
|
}, CaptureAuthorizedPaymentsRequest, CaptureAuthorizedPaymentsRequest$1, CaptureAuthorizedPaymentsResponse & CaptureAuthorizedPaymentsResponseNonNullableFields, CaptureAuthorizedPaymentsResponse$1 & CaptureAuthorizedPaymentsResponseNonNullableFields$1>;
|
|
32085
|
-
declare function getOrder(): __PublicMethodMetaInfo$
|
|
32085
|
+
declare function getOrder(): __PublicMethodMetaInfo$c<'GET', {
|
|
32086
32086
|
id: string;
|
|
32087
32087
|
}, GetOrderRequest, GetOrderRequest$1, GetOrderResponse & GetOrderResponseNonNullableFields, GetOrderResponse$1 & GetOrderResponseNonNullableFields$1>;
|
|
32088
|
-
declare function searchOrders(): __PublicMethodMetaInfo$
|
|
32089
|
-
declare function createOrder(): __PublicMethodMetaInfo$
|
|
32090
|
-
declare function updateOrder(): __PublicMethodMetaInfo$
|
|
32088
|
+
declare function searchOrders(): __PublicMethodMetaInfo$c<'POST', {}, SearchOrdersRequest, SearchOrdersRequest$1, SearchOrdersResponse & SearchOrdersResponseNonNullableFields, SearchOrdersResponse$1 & SearchOrdersResponseNonNullableFields$1>;
|
|
32089
|
+
declare function createOrder(): __PublicMethodMetaInfo$c<'POST', {}, CreateOrderRequest, CreateOrderRequest$1, CreateOrderResponse & CreateOrderResponseNonNullableFields, CreateOrderResponse$1 & CreateOrderResponseNonNullableFields$1>;
|
|
32090
|
+
declare function updateOrder(): __PublicMethodMetaInfo$c<'PATCH', {
|
|
32091
32091
|
orderId: string;
|
|
32092
32092
|
}, UpdateOrderRequest, UpdateOrderRequest$1, UpdateOrderResponse & UpdateOrderResponseNonNullableFields, UpdateOrderResponse$1 & UpdateOrderResponseNonNullableFields$1>;
|
|
32093
|
-
declare function bulkUpdateOrders(): __PublicMethodMetaInfo$
|
|
32094
|
-
declare function cancelOrder(): __PublicMethodMetaInfo$
|
|
32093
|
+
declare function bulkUpdateOrders(): __PublicMethodMetaInfo$c<'POST', {}, BulkUpdateOrdersRequest, BulkUpdateOrdersRequest$1, BulkUpdateOrdersResponse & BulkUpdateOrdersResponseNonNullableFields, BulkUpdateOrdersResponse$1 & BulkUpdateOrdersResponseNonNullableFields$1>;
|
|
32094
|
+
declare function cancelOrder(): __PublicMethodMetaInfo$c<'POST', {
|
|
32095
32095
|
id: string;
|
|
32096
32096
|
}, CancelOrderRequest, CancelOrderRequest$1, CancelOrderResponse & CancelOrderResponseNonNullableFields, CancelOrderResponse$1 & CancelOrderResponseNonNullableFields$1>;
|
|
32097
|
-
declare function bulkUpdateOrderTags(): __PublicMethodMetaInfo$
|
|
32097
|
+
declare function bulkUpdateOrderTags(): __PublicMethodMetaInfo$c<'POST', {}, BulkUpdateOrderTagsRequest, BulkUpdateOrderTagsRequest$1, BulkUpdateOrderTagsResponse & BulkUpdateOrderTagsResponseNonNullableFields, BulkUpdateOrderTagsResponse$1 & BulkUpdateOrderTagsResponseNonNullableFields$1>;
|
|
32098
32098
|
|
|
32099
|
-
declare const meta$
|
|
32100
|
-
declare const meta$
|
|
32101
|
-
declare const meta$
|
|
32102
|
-
declare const meta$
|
|
32103
|
-
declare const meta$
|
|
32104
|
-
declare const meta$
|
|
32105
|
-
declare const meta$
|
|
32106
|
-
declare const meta$
|
|
32107
|
-
declare const meta$
|
|
32108
|
-
declare const meta$
|
|
32109
|
-
declare const meta$
|
|
32110
|
-
declare namespace meta$
|
|
32111
|
-
export { type __PublicMethodMetaInfo$
|
|
32099
|
+
declare const meta$c_bulkUpdateOrderTags: typeof bulkUpdateOrderTags;
|
|
32100
|
+
declare const meta$c_bulkUpdateOrders: typeof bulkUpdateOrders;
|
|
32101
|
+
declare const meta$c_cancelOrder: typeof cancelOrder;
|
|
32102
|
+
declare const meta$c_captureAuthorizedPayments: typeof captureAuthorizedPayments;
|
|
32103
|
+
declare const meta$c_createOrder: typeof createOrder;
|
|
32104
|
+
declare const meta$c_getOrder: typeof getOrder;
|
|
32105
|
+
declare const meta$c_getPaymentCollectabilityStatus: typeof getPaymentCollectabilityStatus;
|
|
32106
|
+
declare const meta$c_preparePaymentCollection: typeof preparePaymentCollection;
|
|
32107
|
+
declare const meta$c_searchOrders: typeof searchOrders;
|
|
32108
|
+
declare const meta$c_updateOrder: typeof updateOrder;
|
|
32109
|
+
declare const meta$c_voidAuthorizedPayments: typeof voidAuthorizedPayments;
|
|
32110
|
+
declare namespace meta$c {
|
|
32111
|
+
export { type __PublicMethodMetaInfo$c as __PublicMethodMetaInfo, meta$c_bulkUpdateOrderTags as bulkUpdateOrderTags, meta$c_bulkUpdateOrders as bulkUpdateOrders, meta$c_cancelOrder as cancelOrder, meta$c_captureAuthorizedPayments as captureAuthorizedPayments, meta$c_createOrder as createOrder, meta$c_getOrder as getOrder, meta$c_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, meta$c_preparePaymentCollection as preparePaymentCollection, meta$c_searchOrders as searchOrders, meta$c_updateOrder as updateOrder, meta$c_voidAuthorizedPayments as voidAuthorizedPayments };
|
|
32112
32112
|
}
|
|
32113
32113
|
|
|
32114
32114
|
interface OrderPaymentRequest$1 {
|
|
@@ -32155,7 +32155,7 @@ interface OrderPaymentRequest$1 {
|
|
|
32155
32155
|
/** Time and date the order payment request expires. */
|
|
32156
32156
|
expirationDate?: Date | null;
|
|
32157
32157
|
/** [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. */
|
|
32158
|
-
extendedFields?: ExtendedFields$
|
|
32158
|
+
extendedFields?: ExtendedFields$7;
|
|
32159
32159
|
/**
|
|
32160
32160
|
* Date and time the OrderPaymentRequest was created.
|
|
32161
32161
|
* @readonly
|
|
@@ -32209,7 +32209,7 @@ interface Image {
|
|
|
32209
32209
|
*/
|
|
32210
32210
|
filename?: string | null;
|
|
32211
32211
|
}
|
|
32212
|
-
interface ExtendedFields$
|
|
32212
|
+
interface ExtendedFields$7 {
|
|
32213
32213
|
/**
|
|
32214
32214
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
32215
32215
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -32258,7 +32258,7 @@ interface QueryOrderPaymentRequestsRequest$1 {
|
|
|
32258
32258
|
}
|
|
32259
32259
|
interface CursorQuery$7 extends CursorQueryPagingMethodOneOf$7 {
|
|
32260
32260
|
/** 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`. */
|
|
32261
|
-
cursorPaging?: CursorPaging$
|
|
32261
|
+
cursorPaging?: CursorPaging$b;
|
|
32262
32262
|
/**
|
|
32263
32263
|
* Filter object in the following format:
|
|
32264
32264
|
* `"filter" : {
|
|
@@ -32272,24 +32272,24 @@ interface CursorQuery$7 extends CursorQueryPagingMethodOneOf$7 {
|
|
|
32272
32272
|
* Sort object in the following format:
|
|
32273
32273
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
32274
32274
|
*/
|
|
32275
|
-
sort?: Sorting$
|
|
32275
|
+
sort?: Sorting$b[];
|
|
32276
32276
|
}
|
|
32277
32277
|
/** @oneof */
|
|
32278
32278
|
interface CursorQueryPagingMethodOneOf$7 {
|
|
32279
32279
|
/** 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`. */
|
|
32280
|
-
cursorPaging?: CursorPaging$
|
|
32280
|
+
cursorPaging?: CursorPaging$b;
|
|
32281
32281
|
}
|
|
32282
|
-
interface Sorting$
|
|
32282
|
+
interface Sorting$b {
|
|
32283
32283
|
/** Name of the field to sort by. */
|
|
32284
32284
|
fieldName?: string;
|
|
32285
32285
|
/** Sort order. */
|
|
32286
|
-
order?: SortOrder$
|
|
32286
|
+
order?: SortOrder$b;
|
|
32287
32287
|
}
|
|
32288
|
-
declare enum SortOrder$
|
|
32288
|
+
declare enum SortOrder$b {
|
|
32289
32289
|
ASC = "ASC",
|
|
32290
32290
|
DESC = "DESC"
|
|
32291
32291
|
}
|
|
32292
|
-
interface CursorPaging$
|
|
32292
|
+
interface CursorPaging$b {
|
|
32293
32293
|
/** Maximum number of items to return in the results. */
|
|
32294
32294
|
limit?: number | null;
|
|
32295
32295
|
/**
|
|
@@ -32310,7 +32310,7 @@ interface CursorPagingMetadata$9 {
|
|
|
32310
32310
|
/** Number of items returned in the response. */
|
|
32311
32311
|
count?: number | null;
|
|
32312
32312
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
32313
|
-
cursors?: Cursors$
|
|
32313
|
+
cursors?: Cursors$b;
|
|
32314
32314
|
/**
|
|
32315
32315
|
* Whether there are more pages to retrieve following the current page.
|
|
32316
32316
|
*
|
|
@@ -32319,7 +32319,7 @@ interface CursorPagingMetadata$9 {
|
|
|
32319
32319
|
*/
|
|
32320
32320
|
hasNext?: boolean | null;
|
|
32321
32321
|
}
|
|
32322
|
-
interface Cursors$
|
|
32322
|
+
interface Cursors$b {
|
|
32323
32323
|
/** Cursor string pointing to the next page in the list of results. */
|
|
32324
32324
|
next?: string | null;
|
|
32325
32325
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -32430,7 +32430,7 @@ interface OrderPaymentRequest {
|
|
|
32430
32430
|
/** Time and date the order payment request expires. */
|
|
32431
32431
|
expirationDate?: Date | null;
|
|
32432
32432
|
/** [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. */
|
|
32433
|
-
extendedFields?: ExtendedFields$
|
|
32433
|
+
extendedFields?: ExtendedFields$6;
|
|
32434
32434
|
/**
|
|
32435
32435
|
* Date and time the OrderPaymentRequest was created.
|
|
32436
32436
|
* @readonly
|
|
@@ -32463,7 +32463,7 @@ interface Price$4 {
|
|
|
32463
32463
|
*/
|
|
32464
32464
|
formattedAmount?: string;
|
|
32465
32465
|
}
|
|
32466
|
-
interface ExtendedFields$
|
|
32466
|
+
interface ExtendedFields$6 {
|
|
32467
32467
|
/**
|
|
32468
32468
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
32469
32469
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -32512,7 +32512,7 @@ interface QueryOrderPaymentRequestsRequest {
|
|
|
32512
32512
|
}
|
|
32513
32513
|
interface CursorQuery$6 extends CursorQueryPagingMethodOneOf$6 {
|
|
32514
32514
|
/** 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`. */
|
|
32515
|
-
cursorPaging?: CursorPaging$
|
|
32515
|
+
cursorPaging?: CursorPaging$a;
|
|
32516
32516
|
/**
|
|
32517
32517
|
* Filter object in the following format:
|
|
32518
32518
|
* `"filter" : {
|
|
@@ -32526,24 +32526,24 @@ interface CursorQuery$6 extends CursorQueryPagingMethodOneOf$6 {
|
|
|
32526
32526
|
* Sort object in the following format:
|
|
32527
32527
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
32528
32528
|
*/
|
|
32529
|
-
sort?: Sorting$
|
|
32529
|
+
sort?: Sorting$a[];
|
|
32530
32530
|
}
|
|
32531
32531
|
/** @oneof */
|
|
32532
32532
|
interface CursorQueryPagingMethodOneOf$6 {
|
|
32533
32533
|
/** 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`. */
|
|
32534
|
-
cursorPaging?: CursorPaging$
|
|
32534
|
+
cursorPaging?: CursorPaging$a;
|
|
32535
32535
|
}
|
|
32536
|
-
interface Sorting$
|
|
32536
|
+
interface Sorting$a {
|
|
32537
32537
|
/** Name of the field to sort by. */
|
|
32538
32538
|
fieldName?: string;
|
|
32539
32539
|
/** Sort order. */
|
|
32540
|
-
order?: SortOrder$
|
|
32540
|
+
order?: SortOrder$a;
|
|
32541
32541
|
}
|
|
32542
|
-
declare enum SortOrder$
|
|
32542
|
+
declare enum SortOrder$a {
|
|
32543
32543
|
ASC = "ASC",
|
|
32544
32544
|
DESC = "DESC"
|
|
32545
32545
|
}
|
|
32546
|
-
interface CursorPaging$
|
|
32546
|
+
interface CursorPaging$a {
|
|
32547
32547
|
/** Maximum number of items to return in the results. */
|
|
32548
32548
|
limit?: number | null;
|
|
32549
32549
|
/**
|
|
@@ -32564,7 +32564,7 @@ interface CursorPagingMetadata$8 {
|
|
|
32564
32564
|
/** Number of items returned in the response. */
|
|
32565
32565
|
count?: number | null;
|
|
32566
32566
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
32567
|
-
cursors?: Cursors$
|
|
32567
|
+
cursors?: Cursors$a;
|
|
32568
32568
|
/**
|
|
32569
32569
|
* Whether there are more pages to retrieve following the current page.
|
|
32570
32570
|
*
|
|
@@ -32573,7 +32573,7 @@ interface CursorPagingMetadata$8 {
|
|
|
32573
32573
|
*/
|
|
32574
32574
|
hasNext?: boolean | null;
|
|
32575
32575
|
}
|
|
32576
|
-
interface Cursors$
|
|
32576
|
+
interface Cursors$a {
|
|
32577
32577
|
/** Cursor string pointing to the next page in the list of results. */
|
|
32578
32578
|
next?: string | null;
|
|
32579
32579
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -32635,7 +32635,7 @@ interface UpdateExtendedFieldsResponseNonNullableFields$4 {
|
|
|
32635
32635
|
orderPaymentRequest?: OrderPaymentRequestNonNullableFields;
|
|
32636
32636
|
}
|
|
32637
32637
|
|
|
32638
|
-
type __PublicMethodMetaInfo$
|
|
32638
|
+
type __PublicMethodMetaInfo$b<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
32639
32639
|
getUrl: (context: any) => string;
|
|
32640
32640
|
httpMethod: K;
|
|
32641
32641
|
path: string;
|
|
@@ -32645,30 +32645,30 @@ type __PublicMethodMetaInfo$9<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
32645
32645
|
__responseType: Q;
|
|
32646
32646
|
__originalResponseType: R;
|
|
32647
32647
|
};
|
|
32648
|
-
declare function createOrderPaymentRequest(): __PublicMethodMetaInfo$
|
|
32649
|
-
declare function getOrderPaymentRequest(): __PublicMethodMetaInfo$
|
|
32648
|
+
declare function createOrderPaymentRequest(): __PublicMethodMetaInfo$b<'POST', {}, CreateOrderPaymentRequestRequest, CreateOrderPaymentRequestRequest$1, CreateOrderPaymentRequestResponse & CreateOrderPaymentRequestResponseNonNullableFields, CreateOrderPaymentRequestResponse$1 & CreateOrderPaymentRequestResponseNonNullableFields$1>;
|
|
32649
|
+
declare function getOrderPaymentRequest(): __PublicMethodMetaInfo$b<'GET', {
|
|
32650
32650
|
orderPaymentRequestId: string;
|
|
32651
32651
|
}, GetOrderPaymentRequestRequest, GetOrderPaymentRequestRequest$1, GetOrderPaymentRequestResponse & GetOrderPaymentRequestResponseNonNullableFields, GetOrderPaymentRequestResponse$1 & GetOrderPaymentRequestResponseNonNullableFields$1>;
|
|
32652
|
-
declare function updateOrderPaymentRequest(): __PublicMethodMetaInfo$
|
|
32652
|
+
declare function updateOrderPaymentRequest(): __PublicMethodMetaInfo$b<'PATCH', {
|
|
32653
32653
|
orderPaymentRequestId: string;
|
|
32654
32654
|
}, UpdateOrderPaymentRequestRequest, UpdateOrderPaymentRequestRequest$1, UpdateOrderPaymentRequestResponse & UpdateOrderPaymentRequestResponseNonNullableFields, UpdateOrderPaymentRequestResponse$1 & UpdateOrderPaymentRequestResponseNonNullableFields$1>;
|
|
32655
|
-
declare function deleteOrderPaymentRequest(): __PublicMethodMetaInfo$
|
|
32655
|
+
declare function deleteOrderPaymentRequest(): __PublicMethodMetaInfo$b<'DELETE', {
|
|
32656
32656
|
orderPaymentRequestId: string;
|
|
32657
32657
|
}, DeleteOrderPaymentRequestRequest, DeleteOrderPaymentRequestRequest$1, DeleteOrderPaymentRequestResponse, DeleteOrderPaymentRequestResponse$1>;
|
|
32658
|
-
declare function queryOrderPaymentRequests(): __PublicMethodMetaInfo$
|
|
32659
|
-
declare function getOrderPaymentRequestUrl(): __PublicMethodMetaInfo$
|
|
32660
|
-
declare function updateExtendedFields$2(): __PublicMethodMetaInfo$
|
|
32658
|
+
declare function queryOrderPaymentRequests(): __PublicMethodMetaInfo$b<'POST', {}, QueryOrderPaymentRequestsRequest, QueryOrderPaymentRequestsRequest$1, QueryOrderPaymentRequestsResponse & QueryOrderPaymentRequestsResponseNonNullableFields, QueryOrderPaymentRequestsResponse$1 & QueryOrderPaymentRequestsResponseNonNullableFields$1>;
|
|
32659
|
+
declare function getOrderPaymentRequestUrl(): __PublicMethodMetaInfo$b<'POST', {}, GetOrderPaymentRequestURLRequest, GetOrderPaymentRequestURLRequest$1, GetOrderPaymentRequestURLResponse & GetOrderPaymentRequestURLResponseNonNullableFields, GetOrderPaymentRequestURLResponse$1 & GetOrderPaymentRequestURLResponseNonNullableFields$1>;
|
|
32660
|
+
declare function updateExtendedFields$2(): __PublicMethodMetaInfo$b<'POST', {
|
|
32661
32661
|
id: string;
|
|
32662
32662
|
}, UpdateExtendedFieldsRequest$4, UpdateExtendedFieldsRequest$5, UpdateExtendedFieldsResponse$4 & UpdateExtendedFieldsResponseNonNullableFields$4, UpdateExtendedFieldsResponse$5 & UpdateExtendedFieldsResponseNonNullableFields$5>;
|
|
32663
32663
|
|
|
32664
|
-
declare const meta$
|
|
32665
|
-
declare const meta$
|
|
32666
|
-
declare const meta$
|
|
32667
|
-
declare const meta$
|
|
32668
|
-
declare const meta$
|
|
32669
|
-
declare const meta$
|
|
32670
|
-
declare namespace meta$
|
|
32671
|
-
export { type __PublicMethodMetaInfo$
|
|
32664
|
+
declare const meta$b_createOrderPaymentRequest: typeof createOrderPaymentRequest;
|
|
32665
|
+
declare const meta$b_deleteOrderPaymentRequest: typeof deleteOrderPaymentRequest;
|
|
32666
|
+
declare const meta$b_getOrderPaymentRequest: typeof getOrderPaymentRequest;
|
|
32667
|
+
declare const meta$b_getOrderPaymentRequestUrl: typeof getOrderPaymentRequestUrl;
|
|
32668
|
+
declare const meta$b_queryOrderPaymentRequests: typeof queryOrderPaymentRequests;
|
|
32669
|
+
declare const meta$b_updateOrderPaymentRequest: typeof updateOrderPaymentRequest;
|
|
32670
|
+
declare namespace meta$b {
|
|
32671
|
+
export { type __PublicMethodMetaInfo$b as __PublicMethodMetaInfo, meta$b_createOrderPaymentRequest as createOrderPaymentRequest, meta$b_deleteOrderPaymentRequest as deleteOrderPaymentRequest, meta$b_getOrderPaymentRequest as getOrderPaymentRequest, meta$b_getOrderPaymentRequestUrl as getOrderPaymentRequestUrl, meta$b_queryOrderPaymentRequests as queryOrderPaymentRequests, updateExtendedFields$2 as updateExtendedFields, meta$b_updateOrderPaymentRequest as updateOrderPaymentRequest };
|
|
32672
32672
|
}
|
|
32673
32673
|
|
|
32674
32674
|
interface OrderTransactions$1 {
|
|
@@ -33661,7 +33661,7 @@ interface BulkUpdatePaymentStatusesResponseNonNullableFields {
|
|
|
33661
33661
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
33662
33662
|
}
|
|
33663
33663
|
|
|
33664
|
-
type __PublicMethodMetaInfo$
|
|
33664
|
+
type __PublicMethodMetaInfo$a<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
33665
33665
|
getUrl: (context: any) => string;
|
|
33666
33666
|
httpMethod: K;
|
|
33667
33667
|
path: string;
|
|
@@ -33671,26 +33671,26 @@ type __PublicMethodMetaInfo$8<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
33671
33671
|
__responseType: Q;
|
|
33672
33672
|
__originalResponseType: R;
|
|
33673
33673
|
};
|
|
33674
|
-
declare function listTransactionsForSingleOrder(): __PublicMethodMetaInfo$
|
|
33674
|
+
declare function listTransactionsForSingleOrder(): __PublicMethodMetaInfo$a<'GET', {
|
|
33675
33675
|
orderId: string;
|
|
33676
33676
|
}, ListTransactionsForSingleOrderRequest, ListTransactionsForSingleOrderRequest$1, ListTransactionsForSingleOrderResponse & ListTransactionsForSingleOrderResponseNonNullableFields, ListTransactionsForSingleOrderResponse$1 & ListTransactionsForSingleOrderResponseNonNullableFields$1>;
|
|
33677
|
-
declare function listTransactionsForMultipleOrders(): __PublicMethodMetaInfo$
|
|
33678
|
-
declare function addPayments(): __PublicMethodMetaInfo$
|
|
33677
|
+
declare function listTransactionsForMultipleOrders(): __PublicMethodMetaInfo$a<'POST', {}, ListTransactionsForMultipleOrdersRequest, ListTransactionsForMultipleOrdersRequest$1, ListTransactionsForMultipleOrdersResponse & ListTransactionsForMultipleOrdersResponseNonNullableFields, ListTransactionsForMultipleOrdersResponse$1 & ListTransactionsForMultipleOrdersResponseNonNullableFields$1>;
|
|
33678
|
+
declare function addPayments(): __PublicMethodMetaInfo$a<'POST', {
|
|
33679
33679
|
orderId: string;
|
|
33680
33680
|
}, AddPaymentsRequest, AddPaymentsRequest$1, AddPaymentsResponse & AddPaymentsResponseNonNullableFields, AddPaymentsResponse$1 & AddPaymentsResponseNonNullableFields$1>;
|
|
33681
|
-
declare function updatePaymentStatus(): __PublicMethodMetaInfo$
|
|
33681
|
+
declare function updatePaymentStatus(): __PublicMethodMetaInfo$a<'POST', {
|
|
33682
33682
|
paymentId: string;
|
|
33683
33683
|
orderId: string;
|
|
33684
33684
|
}, UpdatePaymentStatusRequest, UpdatePaymentStatusRequest$1, UpdatePaymentStatusResponse & UpdatePaymentStatusResponseNonNullableFields, UpdatePaymentStatusResponse$1 & UpdatePaymentStatusResponseNonNullableFields$1>;
|
|
33685
|
-
declare function bulkUpdatePaymentStatuses(): __PublicMethodMetaInfo$
|
|
33685
|
+
declare function bulkUpdatePaymentStatuses(): __PublicMethodMetaInfo$a<'POST', {}, BulkUpdatePaymentStatusesRequest, BulkUpdatePaymentStatusesRequest$1, BulkUpdatePaymentStatusesResponse & BulkUpdatePaymentStatusesResponseNonNullableFields, BulkUpdatePaymentStatusesResponse$1 & BulkUpdatePaymentStatusesResponseNonNullableFields$1>;
|
|
33686
33686
|
|
|
33687
|
-
declare const meta$
|
|
33688
|
-
declare const meta$
|
|
33689
|
-
declare const meta$
|
|
33690
|
-
declare const meta$
|
|
33691
|
-
declare const meta$
|
|
33692
|
-
declare namespace meta$
|
|
33693
|
-
export { type __PublicMethodMetaInfo$
|
|
33687
|
+
declare const meta$a_addPayments: typeof addPayments;
|
|
33688
|
+
declare const meta$a_bulkUpdatePaymentStatuses: typeof bulkUpdatePaymentStatuses;
|
|
33689
|
+
declare const meta$a_listTransactionsForMultipleOrders: typeof listTransactionsForMultipleOrders;
|
|
33690
|
+
declare const meta$a_listTransactionsForSingleOrder: typeof listTransactionsForSingleOrder;
|
|
33691
|
+
declare const meta$a_updatePaymentStatus: typeof updatePaymentStatus;
|
|
33692
|
+
declare namespace meta$a {
|
|
33693
|
+
export { type __PublicMethodMetaInfo$a as __PublicMethodMetaInfo, meta$a_addPayments as addPayments, meta$a_bulkUpdatePaymentStatuses as bulkUpdatePaymentStatuses, meta$a_listTransactionsForMultipleOrders as listTransactionsForMultipleOrders, meta$a_listTransactionsForSingleOrder as listTransactionsForSingleOrder, meta$a_updatePaymentStatus as updatePaymentStatus };
|
|
33694
33694
|
}
|
|
33695
33695
|
|
|
33696
33696
|
interface OrdersSettings$1 {
|
|
@@ -33806,7 +33806,7 @@ interface UpdateOrdersSettingsResponseNonNullableFields {
|
|
|
33806
33806
|
ordersSettings?: OrdersSettingsNonNullableFields;
|
|
33807
33807
|
}
|
|
33808
33808
|
|
|
33809
|
-
type __PublicMethodMetaInfo$
|
|
33809
|
+
type __PublicMethodMetaInfo$9<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
33810
33810
|
getUrl: (context: any) => string;
|
|
33811
33811
|
httpMethod: K;
|
|
33812
33812
|
path: string;
|
|
@@ -33816,13 +33816,13 @@ type __PublicMethodMetaInfo$7<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
33816
33816
|
__responseType: Q;
|
|
33817
33817
|
__originalResponseType: R;
|
|
33818
33818
|
};
|
|
33819
|
-
declare function getOrdersSettings(): __PublicMethodMetaInfo$
|
|
33820
|
-
declare function updateOrdersSettings(): __PublicMethodMetaInfo$
|
|
33819
|
+
declare function getOrdersSettings(): __PublicMethodMetaInfo$9<'GET', {}, GetOrdersSettingsRequest, GetOrdersSettingsRequest$1, GetOrdersSettingsResponse & GetOrdersSettingsResponseNonNullableFields, GetOrdersSettingsResponse$1 & GetOrdersSettingsResponseNonNullableFields$1>;
|
|
33820
|
+
declare function updateOrdersSettings(): __PublicMethodMetaInfo$9<'PATCH', {}, UpdateOrdersSettingsRequest, UpdateOrdersSettingsRequest$1, UpdateOrdersSettingsResponse & UpdateOrdersSettingsResponseNonNullableFields, UpdateOrdersSettingsResponse$1 & UpdateOrdersSettingsResponseNonNullableFields$1>;
|
|
33821
33821
|
|
|
33822
|
-
declare const meta$
|
|
33823
|
-
declare const meta$
|
|
33824
|
-
declare namespace meta$
|
|
33825
|
-
export { type __PublicMethodMetaInfo$
|
|
33822
|
+
declare const meta$9_getOrdersSettings: typeof getOrdersSettings;
|
|
33823
|
+
declare const meta$9_updateOrdersSettings: typeof updateOrdersSettings;
|
|
33824
|
+
declare namespace meta$9 {
|
|
33825
|
+
export { type __PublicMethodMetaInfo$9 as __PublicMethodMetaInfo, meta$9_getOrdersSettings as getOrdersSettings, meta$9_updateOrdersSettings as updateOrdersSettings };
|
|
33826
33826
|
}
|
|
33827
33827
|
|
|
33828
33828
|
/** PickupLocation is the main entity of PickupLocations that can be used for lorem ipsum dolor */
|
|
@@ -33951,13 +33951,13 @@ interface DeletePickupLocationResponse$1 {
|
|
|
33951
33951
|
}
|
|
33952
33952
|
interface QueryPickupLocationRequest$1 {
|
|
33953
33953
|
/** WQL expression */
|
|
33954
|
-
query: QueryV2$
|
|
33954
|
+
query: QueryV2$3;
|
|
33955
33955
|
}
|
|
33956
|
-
interface QueryV2$
|
|
33956
|
+
interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
|
|
33957
33957
|
/** Paging options to limit and skip the number of items. */
|
|
33958
|
-
paging?: Paging$
|
|
33958
|
+
paging?: Paging$3;
|
|
33959
33959
|
/** 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`. */
|
|
33960
|
-
cursorPaging?: CursorPaging$
|
|
33960
|
+
cursorPaging?: CursorPaging$9;
|
|
33961
33961
|
/**
|
|
33962
33962
|
* Filter object.
|
|
33963
33963
|
*
|
|
@@ -33969,36 +33969,36 @@ interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
|
33969
33969
|
*
|
|
33970
33970
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
33971
33971
|
*/
|
|
33972
|
-
sort?: Sorting$
|
|
33972
|
+
sort?: Sorting$9[];
|
|
33973
33973
|
/** 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. */
|
|
33974
33974
|
fields?: string[];
|
|
33975
33975
|
/** 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. */
|
|
33976
33976
|
fieldsets?: string[];
|
|
33977
33977
|
}
|
|
33978
33978
|
/** @oneof */
|
|
33979
|
-
interface QueryV2PagingMethodOneOf$
|
|
33979
|
+
interface QueryV2PagingMethodOneOf$3 {
|
|
33980
33980
|
/** Paging options to limit and skip the number of items. */
|
|
33981
|
-
paging?: Paging$
|
|
33981
|
+
paging?: Paging$3;
|
|
33982
33982
|
/** 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`. */
|
|
33983
|
-
cursorPaging?: CursorPaging$
|
|
33983
|
+
cursorPaging?: CursorPaging$9;
|
|
33984
33984
|
}
|
|
33985
|
-
interface Sorting$
|
|
33985
|
+
interface Sorting$9 {
|
|
33986
33986
|
/** Name of the field to sort by. */
|
|
33987
33987
|
fieldName?: string;
|
|
33988
33988
|
/** Sort order. */
|
|
33989
|
-
order?: SortOrder$
|
|
33989
|
+
order?: SortOrder$9;
|
|
33990
33990
|
}
|
|
33991
|
-
declare enum SortOrder$
|
|
33991
|
+
declare enum SortOrder$9 {
|
|
33992
33992
|
ASC = "ASC",
|
|
33993
33993
|
DESC = "DESC"
|
|
33994
33994
|
}
|
|
33995
|
-
interface Paging$
|
|
33995
|
+
interface Paging$3 {
|
|
33996
33996
|
/** Number of items to load. */
|
|
33997
33997
|
limit?: number | null;
|
|
33998
33998
|
/** Number of items to skip in the current sort order. */
|
|
33999
33999
|
offset?: number | null;
|
|
34000
34000
|
}
|
|
34001
|
-
interface CursorPaging$
|
|
34001
|
+
interface CursorPaging$9 {
|
|
34002
34002
|
/** Maximum number of items to return in the results. */
|
|
34003
34003
|
limit?: number | null;
|
|
34004
34004
|
/**
|
|
@@ -34019,7 +34019,7 @@ interface CursorPagingMetadata$7 {
|
|
|
34019
34019
|
/** Number of items returned in current page. */
|
|
34020
34020
|
count?: number | null;
|
|
34021
34021
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
34022
|
-
cursors?: Cursors$
|
|
34022
|
+
cursors?: Cursors$9;
|
|
34023
34023
|
/**
|
|
34024
34024
|
* Whether there are more pages to retrieve following the current page.
|
|
34025
34025
|
*
|
|
@@ -34028,7 +34028,7 @@ interface CursorPagingMetadata$7 {
|
|
|
34028
34028
|
*/
|
|
34029
34029
|
hasNext?: boolean | null;
|
|
34030
34030
|
}
|
|
34031
|
-
interface Cursors$
|
|
34031
|
+
interface Cursors$9 {
|
|
34032
34032
|
/** Cursor string pointing to the next page in the list of results. */
|
|
34033
34033
|
next?: string | null;
|
|
34034
34034
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -34276,13 +34276,13 @@ interface DeletePickupLocationResponse {
|
|
|
34276
34276
|
}
|
|
34277
34277
|
interface QueryPickupLocationRequest {
|
|
34278
34278
|
/** WQL expression */
|
|
34279
|
-
query: QueryV2;
|
|
34279
|
+
query: QueryV2$2;
|
|
34280
34280
|
}
|
|
34281
|
-
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
34281
|
+
interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
|
|
34282
34282
|
/** Paging options to limit and skip the number of items. */
|
|
34283
|
-
paging?: Paging;
|
|
34283
|
+
paging?: Paging$2;
|
|
34284
34284
|
/** 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`. */
|
|
34285
|
-
cursorPaging?: CursorPaging$
|
|
34285
|
+
cursorPaging?: CursorPaging$8;
|
|
34286
34286
|
/**
|
|
34287
34287
|
* Filter object.
|
|
34288
34288
|
*
|
|
@@ -34294,36 +34294,36 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
34294
34294
|
*
|
|
34295
34295
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
34296
34296
|
*/
|
|
34297
|
-
sort?: Sorting$
|
|
34297
|
+
sort?: Sorting$8[];
|
|
34298
34298
|
/** 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. */
|
|
34299
34299
|
fields?: string[];
|
|
34300
34300
|
/** 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. */
|
|
34301
34301
|
fieldsets?: string[];
|
|
34302
34302
|
}
|
|
34303
34303
|
/** @oneof */
|
|
34304
|
-
interface QueryV2PagingMethodOneOf {
|
|
34304
|
+
interface QueryV2PagingMethodOneOf$2 {
|
|
34305
34305
|
/** Paging options to limit and skip the number of items. */
|
|
34306
|
-
paging?: Paging;
|
|
34306
|
+
paging?: Paging$2;
|
|
34307
34307
|
/** 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`. */
|
|
34308
|
-
cursorPaging?: CursorPaging$
|
|
34308
|
+
cursorPaging?: CursorPaging$8;
|
|
34309
34309
|
}
|
|
34310
|
-
interface Sorting$
|
|
34310
|
+
interface Sorting$8 {
|
|
34311
34311
|
/** Name of the field to sort by. */
|
|
34312
34312
|
fieldName?: string;
|
|
34313
34313
|
/** Sort order. */
|
|
34314
|
-
order?: SortOrder$
|
|
34314
|
+
order?: SortOrder$8;
|
|
34315
34315
|
}
|
|
34316
|
-
declare enum SortOrder$
|
|
34316
|
+
declare enum SortOrder$8 {
|
|
34317
34317
|
ASC = "ASC",
|
|
34318
34318
|
DESC = "DESC"
|
|
34319
34319
|
}
|
|
34320
|
-
interface Paging {
|
|
34320
|
+
interface Paging$2 {
|
|
34321
34321
|
/** Number of items to load. */
|
|
34322
34322
|
limit?: number | null;
|
|
34323
34323
|
/** Number of items to skip in the current sort order. */
|
|
34324
34324
|
offset?: number | null;
|
|
34325
34325
|
}
|
|
34326
|
-
interface CursorPaging$
|
|
34326
|
+
interface CursorPaging$8 {
|
|
34327
34327
|
/** Maximum number of items to return in the results. */
|
|
34328
34328
|
limit?: number | null;
|
|
34329
34329
|
/**
|
|
@@ -34344,7 +34344,7 @@ interface CursorPagingMetadata$6 {
|
|
|
34344
34344
|
/** Number of items returned in current page. */
|
|
34345
34345
|
count?: number | null;
|
|
34346
34346
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
34347
|
-
cursors?: Cursors$
|
|
34347
|
+
cursors?: Cursors$8;
|
|
34348
34348
|
/**
|
|
34349
34349
|
* Whether there are more pages to retrieve following the current page.
|
|
34350
34350
|
*
|
|
@@ -34353,7 +34353,7 @@ interface CursorPagingMetadata$6 {
|
|
|
34353
34353
|
*/
|
|
34354
34354
|
hasNext?: boolean | null;
|
|
34355
34355
|
}
|
|
34356
|
-
interface Cursors$
|
|
34356
|
+
interface Cursors$8 {
|
|
34357
34357
|
/** Cursor string pointing to the next page in the list of results. */
|
|
34358
34358
|
next?: string | null;
|
|
34359
34359
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -34475,7 +34475,7 @@ interface BulkDeletePickupLocationResponseNonNullableFields {
|
|
|
34475
34475
|
errors: PickupLocationErrorNonNullableFields[];
|
|
34476
34476
|
}
|
|
34477
34477
|
|
|
34478
|
-
type __PublicMethodMetaInfo$
|
|
34478
|
+
type __PublicMethodMetaInfo$8<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
34479
34479
|
getUrl: (context: any) => string;
|
|
34480
34480
|
httpMethod: K;
|
|
34481
34481
|
path: string;
|
|
@@ -34485,39 +34485,39 @@ type __PublicMethodMetaInfo$6<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
34485
34485
|
__responseType: Q;
|
|
34486
34486
|
__originalResponseType: R;
|
|
34487
34487
|
};
|
|
34488
|
-
declare function createPickupLocation(): __PublicMethodMetaInfo$
|
|
34489
|
-
declare function getPickupLocation(): __PublicMethodMetaInfo$
|
|
34488
|
+
declare function createPickupLocation(): __PublicMethodMetaInfo$8<'POST', {}, CreatePickupLocationRequest, CreatePickupLocationRequest$1, CreatePickupLocationResponse & CreatePickupLocationResponseNonNullableFields, CreatePickupLocationResponse$1 & CreatePickupLocationResponseNonNullableFields$1>;
|
|
34489
|
+
declare function getPickupLocation(): __PublicMethodMetaInfo$8<'GET', {
|
|
34490
34490
|
pickupLocationId: string;
|
|
34491
34491
|
}, GetPickupLocationRequest, GetPickupLocationRequest$1, GetPickupLocationResponse & GetPickupLocationResponseNonNullableFields, GetPickupLocationResponse$1 & GetPickupLocationResponseNonNullableFields$1>;
|
|
34492
|
-
declare function updatePickupLocation(): __PublicMethodMetaInfo$
|
|
34492
|
+
declare function updatePickupLocation(): __PublicMethodMetaInfo$8<'PATCH', {
|
|
34493
34493
|
pickupLocationId: string;
|
|
34494
34494
|
}, UpdatePickupLocationRequest, UpdatePickupLocationRequest$1, UpdatePickupLocationResponse & UpdatePickupLocationResponseNonNullableFields, UpdatePickupLocationResponse$1 & UpdatePickupLocationResponseNonNullableFields$1>;
|
|
34495
|
-
declare function deletePickupLocation(): __PublicMethodMetaInfo$
|
|
34495
|
+
declare function deletePickupLocation(): __PublicMethodMetaInfo$8<'DELETE', {
|
|
34496
34496
|
pickupLocationId: string;
|
|
34497
34497
|
}, DeletePickupLocationRequest, DeletePickupLocationRequest$1, DeletePickupLocationResponse, DeletePickupLocationResponse$1>;
|
|
34498
|
-
declare function queryPickupLocation(): __PublicMethodMetaInfo$
|
|
34499
|
-
declare function addDeliveryRegion(): __PublicMethodMetaInfo$
|
|
34498
|
+
declare function queryPickupLocation(): __PublicMethodMetaInfo$8<'POST', {}, QueryPickupLocationRequest, QueryPickupLocationRequest$1, QueryPickupLocationResponse & QueryPickupLocationResponseNonNullableFields, QueryPickupLocationResponse$1 & QueryPickupLocationResponseNonNullableFields$1>;
|
|
34499
|
+
declare function addDeliveryRegion(): __PublicMethodMetaInfo$8<'POST', {
|
|
34500
34500
|
pickupLocationId: string;
|
|
34501
34501
|
}, AddDeliveryRegionRequest, AddDeliveryRegionRequest$1, AddDeliveryRegionResponse & AddDeliveryRegionResponseNonNullableFields, AddDeliveryRegionResponse$1 & AddDeliveryRegionResponseNonNullableFields$1>;
|
|
34502
|
-
declare function removeDeliveryRegion(): __PublicMethodMetaInfo$
|
|
34502
|
+
declare function removeDeliveryRegion(): __PublicMethodMetaInfo$8<'POST', {
|
|
34503
34503
|
pickupLocationId: string;
|
|
34504
34504
|
}, RemoveDeliveryRegionRequest, RemoveDeliveryRegionRequest$1, RemoveDeliveryRegionResponse & RemoveDeliveryRegionResponseNonNullableFields, RemoveDeliveryRegionResponse$1 & RemoveDeliveryRegionResponseNonNullableFields$1>;
|
|
34505
|
-
declare function bulkCreatePickupLocation(): __PublicMethodMetaInfo$
|
|
34506
|
-
declare function bulkUpdatePickupLocation(): __PublicMethodMetaInfo$
|
|
34507
|
-
declare function bulkDeletePickupLocation(): __PublicMethodMetaInfo$
|
|
34505
|
+
declare function bulkCreatePickupLocation(): __PublicMethodMetaInfo$8<'POST', {}, BulkCreatePickupLocationRequest, BulkCreatePickupLocationRequest$1, BulkCreatePickupLocationResponse & BulkCreatePickupLocationResponseNonNullableFields, BulkCreatePickupLocationResponse$1 & BulkCreatePickupLocationResponseNonNullableFields$1>;
|
|
34506
|
+
declare function bulkUpdatePickupLocation(): __PublicMethodMetaInfo$8<'PATCH', {}, BulkUpdatePickupLocationRequest, BulkUpdatePickupLocationRequest$1, BulkUpdatePickupLocationResponse & BulkUpdatePickupLocationResponseNonNullableFields, BulkUpdatePickupLocationResponse$1 & BulkUpdatePickupLocationResponseNonNullableFields$1>;
|
|
34507
|
+
declare function bulkDeletePickupLocation(): __PublicMethodMetaInfo$8<'DELETE', {}, BulkDeletePickupLocationRequest, BulkDeletePickupLocationRequest$1, BulkDeletePickupLocationResponse & BulkDeletePickupLocationResponseNonNullableFields, BulkDeletePickupLocationResponse$1 & BulkDeletePickupLocationResponseNonNullableFields$1>;
|
|
34508
34508
|
|
|
34509
|
-
declare const meta$
|
|
34510
|
-
declare const meta$
|
|
34511
|
-
declare const meta$
|
|
34512
|
-
declare const meta$
|
|
34513
|
-
declare const meta$
|
|
34514
|
-
declare const meta$
|
|
34515
|
-
declare const meta$
|
|
34516
|
-
declare const meta$
|
|
34517
|
-
declare const meta$
|
|
34518
|
-
declare const meta$
|
|
34519
|
-
declare namespace meta$
|
|
34520
|
-
export { type __PublicMethodMetaInfo$
|
|
34509
|
+
declare const meta$8_addDeliveryRegion: typeof addDeliveryRegion;
|
|
34510
|
+
declare const meta$8_bulkCreatePickupLocation: typeof bulkCreatePickupLocation;
|
|
34511
|
+
declare const meta$8_bulkDeletePickupLocation: typeof bulkDeletePickupLocation;
|
|
34512
|
+
declare const meta$8_bulkUpdatePickupLocation: typeof bulkUpdatePickupLocation;
|
|
34513
|
+
declare const meta$8_createPickupLocation: typeof createPickupLocation;
|
|
34514
|
+
declare const meta$8_deletePickupLocation: typeof deletePickupLocation;
|
|
34515
|
+
declare const meta$8_getPickupLocation: typeof getPickupLocation;
|
|
34516
|
+
declare const meta$8_queryPickupLocation: typeof queryPickupLocation;
|
|
34517
|
+
declare const meta$8_removeDeliveryRegion: typeof removeDeliveryRegion;
|
|
34518
|
+
declare const meta$8_updatePickupLocation: typeof updatePickupLocation;
|
|
34519
|
+
declare namespace meta$8 {
|
|
34520
|
+
export { type __PublicMethodMetaInfo$8 as __PublicMethodMetaInfo, meta$8_addDeliveryRegion as addDeliveryRegion, meta$8_bulkCreatePickupLocation as bulkCreatePickupLocation, meta$8_bulkDeletePickupLocation as bulkDeletePickupLocation, meta$8_bulkUpdatePickupLocation as bulkUpdatePickupLocation, meta$8_createPickupLocation as createPickupLocation, meta$8_deletePickupLocation as deletePickupLocation, meta$8_getPickupLocation as getPickupLocation, meta$8_queryPickupLocation as queryPickupLocation, meta$8_removeDeliveryRegion as removeDeliveryRegion, meta$8_updatePickupLocation as updatePickupLocation };
|
|
34521
34521
|
}
|
|
34522
34522
|
|
|
34523
34523
|
interface ShippingOption$3 {
|
|
@@ -34553,7 +34553,7 @@ interface ShippingOption$3 {
|
|
|
34553
34553
|
/** 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. */
|
|
34554
34554
|
rates?: ConditionalRates$1[];
|
|
34555
34555
|
/** Data Extensions */
|
|
34556
|
-
extendedFields?: ExtendedFields$
|
|
34556
|
+
extendedFields?: ExtendedFields$5;
|
|
34557
34557
|
}
|
|
34558
34558
|
interface ConditionalRates$1 {
|
|
34559
34559
|
/**
|
|
@@ -34588,7 +34588,7 @@ declare enum LogicalOperator$1 {
|
|
|
34588
34588
|
LT = "LT",
|
|
34589
34589
|
LTE = "LTE"
|
|
34590
34590
|
}
|
|
34591
|
-
interface ExtendedFields$
|
|
34591
|
+
interface ExtendedFields$5 {
|
|
34592
34592
|
/**
|
|
34593
34593
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
34594
34594
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -34635,7 +34635,7 @@ interface QueryShippingOptionsRequest$1 {
|
|
|
34635
34635
|
}
|
|
34636
34636
|
interface CursorQuery$5 extends CursorQueryPagingMethodOneOf$5 {
|
|
34637
34637
|
/** 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`. */
|
|
34638
|
-
cursorPaging?: CursorPaging$
|
|
34638
|
+
cursorPaging?: CursorPaging$7;
|
|
34639
34639
|
/**
|
|
34640
34640
|
* Filter object in the following format:
|
|
34641
34641
|
* `"filter" : {
|
|
@@ -34649,24 +34649,24 @@ interface CursorQuery$5 extends CursorQueryPagingMethodOneOf$5 {
|
|
|
34649
34649
|
* Sort object in the following format:
|
|
34650
34650
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
34651
34651
|
*/
|
|
34652
|
-
sort?: Sorting$
|
|
34652
|
+
sort?: Sorting$7[];
|
|
34653
34653
|
}
|
|
34654
34654
|
/** @oneof */
|
|
34655
34655
|
interface CursorQueryPagingMethodOneOf$5 {
|
|
34656
34656
|
/** 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`. */
|
|
34657
|
-
cursorPaging?: CursorPaging$
|
|
34657
|
+
cursorPaging?: CursorPaging$7;
|
|
34658
34658
|
}
|
|
34659
|
-
interface Sorting$
|
|
34659
|
+
interface Sorting$7 {
|
|
34660
34660
|
/** Name of the field to sort by. */
|
|
34661
34661
|
fieldName?: string;
|
|
34662
34662
|
/** Sort order. */
|
|
34663
|
-
order?: SortOrder$
|
|
34663
|
+
order?: SortOrder$7;
|
|
34664
34664
|
}
|
|
34665
|
-
declare enum SortOrder$
|
|
34665
|
+
declare enum SortOrder$7 {
|
|
34666
34666
|
ASC = "ASC",
|
|
34667
34667
|
DESC = "DESC"
|
|
34668
34668
|
}
|
|
34669
|
-
interface CursorPaging$
|
|
34669
|
+
interface CursorPaging$7 {
|
|
34670
34670
|
/** Maximum number of items to return in the results. */
|
|
34671
34671
|
limit?: number | null;
|
|
34672
34672
|
/**
|
|
@@ -34687,7 +34687,7 @@ interface CursorPagingMetadata$5 {
|
|
|
34687
34687
|
/** Number of items returned in the response. */
|
|
34688
34688
|
count?: number | null;
|
|
34689
34689
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
34690
|
-
cursors?: Cursors$
|
|
34690
|
+
cursors?: Cursors$7;
|
|
34691
34691
|
/**
|
|
34692
34692
|
* Whether there are more pages to retrieve following the current page.
|
|
34693
34693
|
*
|
|
@@ -34696,7 +34696,7 @@ interface CursorPagingMetadata$5 {
|
|
|
34696
34696
|
*/
|
|
34697
34697
|
hasNext?: boolean | null;
|
|
34698
34698
|
}
|
|
34699
|
-
interface Cursors$
|
|
34699
|
+
interface Cursors$7 {
|
|
34700
34700
|
/** Cursor string pointing to the next page in the list of results. */
|
|
34701
34701
|
next?: string | null;
|
|
34702
34702
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -34776,7 +34776,7 @@ interface ShippingOption$2 {
|
|
|
34776
34776
|
/** 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. */
|
|
34777
34777
|
rates?: ConditionalRates[];
|
|
34778
34778
|
/** Data Extensions */
|
|
34779
|
-
extendedFields?: ExtendedFields$
|
|
34779
|
+
extendedFields?: ExtendedFields$4;
|
|
34780
34780
|
}
|
|
34781
34781
|
interface ConditionalRates {
|
|
34782
34782
|
/**
|
|
@@ -34811,7 +34811,7 @@ declare enum LogicalOperator {
|
|
|
34811
34811
|
LT = "LT",
|
|
34812
34812
|
LTE = "LTE"
|
|
34813
34813
|
}
|
|
34814
|
-
interface ExtendedFields$
|
|
34814
|
+
interface ExtendedFields$4 {
|
|
34815
34815
|
/**
|
|
34816
34816
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
34817
34817
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -34858,7 +34858,7 @@ interface QueryShippingOptionsRequest {
|
|
|
34858
34858
|
}
|
|
34859
34859
|
interface CursorQuery$4 extends CursorQueryPagingMethodOneOf$4 {
|
|
34860
34860
|
/** 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`. */
|
|
34861
|
-
cursorPaging?: CursorPaging$
|
|
34861
|
+
cursorPaging?: CursorPaging$6;
|
|
34862
34862
|
/**
|
|
34863
34863
|
* Filter object in the following format:
|
|
34864
34864
|
* `"filter" : {
|
|
@@ -34872,24 +34872,24 @@ interface CursorQuery$4 extends CursorQueryPagingMethodOneOf$4 {
|
|
|
34872
34872
|
* Sort object in the following format:
|
|
34873
34873
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
34874
34874
|
*/
|
|
34875
|
-
sort?: Sorting$
|
|
34875
|
+
sort?: Sorting$6[];
|
|
34876
34876
|
}
|
|
34877
34877
|
/** @oneof */
|
|
34878
34878
|
interface CursorQueryPagingMethodOneOf$4 {
|
|
34879
34879
|
/** 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`. */
|
|
34880
|
-
cursorPaging?: CursorPaging$
|
|
34880
|
+
cursorPaging?: CursorPaging$6;
|
|
34881
34881
|
}
|
|
34882
|
-
interface Sorting$
|
|
34882
|
+
interface Sorting$6 {
|
|
34883
34883
|
/** Name of the field to sort by. */
|
|
34884
34884
|
fieldName?: string;
|
|
34885
34885
|
/** Sort order. */
|
|
34886
|
-
order?: SortOrder$
|
|
34886
|
+
order?: SortOrder$6;
|
|
34887
34887
|
}
|
|
34888
|
-
declare enum SortOrder$
|
|
34888
|
+
declare enum SortOrder$6 {
|
|
34889
34889
|
ASC = "ASC",
|
|
34890
34890
|
DESC = "DESC"
|
|
34891
34891
|
}
|
|
34892
|
-
interface CursorPaging$
|
|
34892
|
+
interface CursorPaging$6 {
|
|
34893
34893
|
/** Maximum number of items to return in the results. */
|
|
34894
34894
|
limit?: number | null;
|
|
34895
34895
|
/**
|
|
@@ -34910,7 +34910,7 @@ interface CursorPagingMetadata$4 {
|
|
|
34910
34910
|
/** Number of items returned in the response. */
|
|
34911
34911
|
count?: number | null;
|
|
34912
34912
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
34913
|
-
cursors?: Cursors$
|
|
34913
|
+
cursors?: Cursors$6;
|
|
34914
34914
|
/**
|
|
34915
34915
|
* Whether there are more pages to retrieve following the current page.
|
|
34916
34916
|
*
|
|
@@ -34919,7 +34919,7 @@ interface CursorPagingMetadata$4 {
|
|
|
34919
34919
|
*/
|
|
34920
34920
|
hasNext?: boolean | null;
|
|
34921
34921
|
}
|
|
34922
|
-
interface Cursors$
|
|
34922
|
+
interface Cursors$6 {
|
|
34923
34923
|
/** Cursor string pointing to the next page in the list of results. */
|
|
34924
34924
|
next?: string | null;
|
|
34925
34925
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -34966,7 +34966,7 @@ interface UpdateExtendedFieldsResponseNonNullableFields$2 {
|
|
|
34966
34966
|
shippingOption?: ShippingOptionNonNullableFields$2;
|
|
34967
34967
|
}
|
|
34968
34968
|
|
|
34969
|
-
type __PublicMethodMetaInfo$
|
|
34969
|
+
type __PublicMethodMetaInfo$7<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
34970
34970
|
getUrl: (context: any) => string;
|
|
34971
34971
|
httpMethod: K;
|
|
34972
34972
|
path: string;
|
|
@@ -34976,28 +34976,28 @@ type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
34976
34976
|
__responseType: Q;
|
|
34977
34977
|
__originalResponseType: R;
|
|
34978
34978
|
};
|
|
34979
|
-
declare function createShippingOption(): __PublicMethodMetaInfo$
|
|
34980
|
-
declare function getShippingOption(): __PublicMethodMetaInfo$
|
|
34979
|
+
declare function createShippingOption(): __PublicMethodMetaInfo$7<'POST', {}, CreateShippingOptionRequest, CreateShippingOptionRequest$1, CreateShippingOptionResponse & CreateShippingOptionResponseNonNullableFields, CreateShippingOptionResponse$1 & CreateShippingOptionResponseNonNullableFields$1>;
|
|
34980
|
+
declare function getShippingOption(): __PublicMethodMetaInfo$7<'GET', {
|
|
34981
34981
|
shippingOptionId: string;
|
|
34982
34982
|
}, GetShippingOptionRequest, GetShippingOptionRequest$1, GetShippingOptionResponse & GetShippingOptionResponseNonNullableFields, GetShippingOptionResponse$1 & GetShippingOptionResponseNonNullableFields$1>;
|
|
34983
|
-
declare function updateShippingOption(): __PublicMethodMetaInfo$
|
|
34983
|
+
declare function updateShippingOption(): __PublicMethodMetaInfo$7<'PATCH', {
|
|
34984
34984
|
shippingOptionId: string;
|
|
34985
34985
|
}, UpdateShippingOptionRequest, UpdateShippingOptionRequest$1, UpdateShippingOptionResponse & UpdateShippingOptionResponseNonNullableFields, UpdateShippingOptionResponse$1 & UpdateShippingOptionResponseNonNullableFields$1>;
|
|
34986
|
-
declare function deleteShippingOption(): __PublicMethodMetaInfo$
|
|
34986
|
+
declare function deleteShippingOption(): __PublicMethodMetaInfo$7<'DELETE', {
|
|
34987
34987
|
shippingOptionId: string;
|
|
34988
34988
|
}, DeleteShippingOptionRequest, DeleteShippingOptionRequest$1, DeleteShippingOptionResponse, DeleteShippingOptionResponse$1>;
|
|
34989
|
-
declare function queryShippingOptions(): __PublicMethodMetaInfo$
|
|
34990
|
-
declare function updateExtendedFields$1(): __PublicMethodMetaInfo$
|
|
34989
|
+
declare function queryShippingOptions(): __PublicMethodMetaInfo$7<'GET', {}, QueryShippingOptionsRequest, QueryShippingOptionsRequest$1, QueryShippingOptionsResponse & QueryShippingOptionsResponseNonNullableFields, QueryShippingOptionsResponse$1 & QueryShippingOptionsResponseNonNullableFields$1>;
|
|
34990
|
+
declare function updateExtendedFields$1(): __PublicMethodMetaInfo$7<'POST', {
|
|
34991
34991
|
id: string;
|
|
34992
34992
|
}, UpdateExtendedFieldsRequest$2, UpdateExtendedFieldsRequest$3, UpdateExtendedFieldsResponse$2 & UpdateExtendedFieldsResponseNonNullableFields$2, UpdateExtendedFieldsResponse$3 & UpdateExtendedFieldsResponseNonNullableFields$3>;
|
|
34993
34993
|
|
|
34994
|
-
declare const meta$
|
|
34995
|
-
declare const meta$
|
|
34996
|
-
declare const meta$
|
|
34997
|
-
declare const meta$
|
|
34998
|
-
declare const meta$
|
|
34999
|
-
declare namespace meta$
|
|
35000
|
-
export { type __PublicMethodMetaInfo$
|
|
34994
|
+
declare const meta$7_createShippingOption: typeof createShippingOption;
|
|
34995
|
+
declare const meta$7_deleteShippingOption: typeof deleteShippingOption;
|
|
34996
|
+
declare const meta$7_getShippingOption: typeof getShippingOption;
|
|
34997
|
+
declare const meta$7_queryShippingOptions: typeof queryShippingOptions;
|
|
34998
|
+
declare const meta$7_updateShippingOption: typeof updateShippingOption;
|
|
34999
|
+
declare namespace meta$7 {
|
|
35000
|
+
export { type __PublicMethodMetaInfo$7 as __PublicMethodMetaInfo, meta$7_createShippingOption as createShippingOption, meta$7_deleteShippingOption as deleteShippingOption, meta$7_getShippingOption as getShippingOption, meta$7_queryShippingOptions as queryShippingOptions, updateExtendedFields$1 as updateExtendedFields, meta$7_updateShippingOption as updateShippingOption };
|
|
35001
35001
|
}
|
|
35002
35002
|
|
|
35003
35003
|
interface ShippoConfiguration$1 {
|
|
@@ -35038,7 +35038,7 @@ interface ShippoConfiguration$1 {
|
|
|
35038
35038
|
/** Backup weight. */
|
|
35039
35039
|
backupWeight?: string | null;
|
|
35040
35040
|
/** Data extensions. */
|
|
35041
|
-
extendedFields?: ExtendedFields$
|
|
35041
|
+
extendedFields?: ExtendedFields$3;
|
|
35042
35042
|
}
|
|
35043
35043
|
interface DomesticServiceSettings$1 {
|
|
35044
35044
|
/** USPS domestic service. */
|
|
@@ -35154,7 +35154,7 @@ interface StreetAddress$5 {
|
|
|
35154
35154
|
/** Street name. */
|
|
35155
35155
|
name?: string;
|
|
35156
35156
|
}
|
|
35157
|
-
interface ExtendedFields$
|
|
35157
|
+
interface ExtendedFields$3 {
|
|
35158
35158
|
/**
|
|
35159
35159
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
35160
35160
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -35202,7 +35202,7 @@ interface QueryShippoConfigurationsRequest$1 {
|
|
|
35202
35202
|
}
|
|
35203
35203
|
interface CursorQuery$3 extends CursorQueryPagingMethodOneOf$3 {
|
|
35204
35204
|
/** 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`. */
|
|
35205
|
-
cursorPaging?: CursorPaging$
|
|
35205
|
+
cursorPaging?: CursorPaging$5;
|
|
35206
35206
|
/**
|
|
35207
35207
|
* Filter object in the following format:
|
|
35208
35208
|
* `"filter" : {
|
|
@@ -35216,24 +35216,24 @@ interface CursorQuery$3 extends CursorQueryPagingMethodOneOf$3 {
|
|
|
35216
35216
|
* Sort object in the following format:
|
|
35217
35217
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
35218
35218
|
*/
|
|
35219
|
-
sort?: Sorting$
|
|
35219
|
+
sort?: Sorting$5[];
|
|
35220
35220
|
}
|
|
35221
35221
|
/** @oneof */
|
|
35222
35222
|
interface CursorQueryPagingMethodOneOf$3 {
|
|
35223
35223
|
/** 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`. */
|
|
35224
|
-
cursorPaging?: CursorPaging$
|
|
35224
|
+
cursorPaging?: CursorPaging$5;
|
|
35225
35225
|
}
|
|
35226
|
-
interface Sorting$
|
|
35226
|
+
interface Sorting$5 {
|
|
35227
35227
|
/** Name of the field to sort by. */
|
|
35228
35228
|
fieldName?: string;
|
|
35229
35229
|
/** Sort order. */
|
|
35230
|
-
order?: SortOrder$
|
|
35230
|
+
order?: SortOrder$5;
|
|
35231
35231
|
}
|
|
35232
|
-
declare enum SortOrder$
|
|
35232
|
+
declare enum SortOrder$5 {
|
|
35233
35233
|
ASC = "ASC",
|
|
35234
35234
|
DESC = "DESC"
|
|
35235
35235
|
}
|
|
35236
|
-
interface CursorPaging$
|
|
35236
|
+
interface CursorPaging$5 {
|
|
35237
35237
|
/** Maximum number of items to return in the results. */
|
|
35238
35238
|
limit?: number | null;
|
|
35239
35239
|
/**
|
|
@@ -35254,7 +35254,7 @@ interface CursorPagingMetadata$3 {
|
|
|
35254
35254
|
/** Number of items returned in the response. */
|
|
35255
35255
|
count?: number | null;
|
|
35256
35256
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
35257
|
-
cursors?: Cursors$
|
|
35257
|
+
cursors?: Cursors$5;
|
|
35258
35258
|
/**
|
|
35259
35259
|
* Whether there are more pages to retrieve following the current page.
|
|
35260
35260
|
*
|
|
@@ -35263,7 +35263,7 @@ interface CursorPagingMetadata$3 {
|
|
|
35263
35263
|
*/
|
|
35264
35264
|
hasNext?: boolean | null;
|
|
35265
35265
|
}
|
|
35266
|
-
interface Cursors$
|
|
35266
|
+
interface Cursors$5 {
|
|
35267
35267
|
/** Cursor string pointing to the next page in the list of results. */
|
|
35268
35268
|
next?: string | null;
|
|
35269
35269
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -35373,7 +35373,7 @@ interface ShippoConfiguration {
|
|
|
35373
35373
|
/** Backup weight. */
|
|
35374
35374
|
backupWeight?: string | null;
|
|
35375
35375
|
/** Data extensions. */
|
|
35376
|
-
extendedFields?: ExtendedFields;
|
|
35376
|
+
extendedFields?: ExtendedFields$2;
|
|
35377
35377
|
}
|
|
35378
35378
|
interface DomesticServiceSettings {
|
|
35379
35379
|
/** USPS domestic service. */
|
|
@@ -35479,7 +35479,7 @@ interface StreetAddress$4 {
|
|
|
35479
35479
|
/** Street name. */
|
|
35480
35480
|
name?: string;
|
|
35481
35481
|
}
|
|
35482
|
-
interface ExtendedFields {
|
|
35482
|
+
interface ExtendedFields$2 {
|
|
35483
35483
|
/**
|
|
35484
35484
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
35485
35485
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -35527,7 +35527,7 @@ interface QueryShippoConfigurationsRequest {
|
|
|
35527
35527
|
}
|
|
35528
35528
|
interface CursorQuery$2 extends CursorQueryPagingMethodOneOf$2 {
|
|
35529
35529
|
/** 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`. */
|
|
35530
|
-
cursorPaging?: CursorPaging$
|
|
35530
|
+
cursorPaging?: CursorPaging$4;
|
|
35531
35531
|
/**
|
|
35532
35532
|
* Filter object in the following format:
|
|
35533
35533
|
* `"filter" : {
|
|
@@ -35541,24 +35541,24 @@ interface CursorQuery$2 extends CursorQueryPagingMethodOneOf$2 {
|
|
|
35541
35541
|
* Sort object in the following format:
|
|
35542
35542
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
35543
35543
|
*/
|
|
35544
|
-
sort?: Sorting$
|
|
35544
|
+
sort?: Sorting$4[];
|
|
35545
35545
|
}
|
|
35546
35546
|
/** @oneof */
|
|
35547
35547
|
interface CursorQueryPagingMethodOneOf$2 {
|
|
35548
35548
|
/** 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`. */
|
|
35549
|
-
cursorPaging?: CursorPaging$
|
|
35549
|
+
cursorPaging?: CursorPaging$4;
|
|
35550
35550
|
}
|
|
35551
|
-
interface Sorting$
|
|
35551
|
+
interface Sorting$4 {
|
|
35552
35552
|
/** Name of the field to sort by. */
|
|
35553
35553
|
fieldName?: string;
|
|
35554
35554
|
/** Sort order. */
|
|
35555
|
-
order?: SortOrder$
|
|
35555
|
+
order?: SortOrder$4;
|
|
35556
35556
|
}
|
|
35557
|
-
declare enum SortOrder$
|
|
35557
|
+
declare enum SortOrder$4 {
|
|
35558
35558
|
ASC = "ASC",
|
|
35559
35559
|
DESC = "DESC"
|
|
35560
35560
|
}
|
|
35561
|
-
interface CursorPaging$
|
|
35561
|
+
interface CursorPaging$4 {
|
|
35562
35562
|
/** Maximum number of items to return in the results. */
|
|
35563
35563
|
limit?: number | null;
|
|
35564
35564
|
/**
|
|
@@ -35579,7 +35579,7 @@ interface CursorPagingMetadata$2 {
|
|
|
35579
35579
|
/** Number of items returned in the response. */
|
|
35580
35580
|
count?: number | null;
|
|
35581
35581
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
35582
|
-
cursors?: Cursors$
|
|
35582
|
+
cursors?: Cursors$4;
|
|
35583
35583
|
/**
|
|
35584
35584
|
* Whether there are more pages to retrieve following the current page.
|
|
35585
35585
|
*
|
|
@@ -35588,7 +35588,7 @@ interface CursorPagingMetadata$2 {
|
|
|
35588
35588
|
*/
|
|
35589
35589
|
hasNext?: boolean | null;
|
|
35590
35590
|
}
|
|
35591
|
-
interface Cursors$
|
|
35591
|
+
interface Cursors$4 {
|
|
35592
35592
|
/** Cursor string pointing to the next page in the list of results. */
|
|
35593
35593
|
next?: string | null;
|
|
35594
35594
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -35660,7 +35660,7 @@ interface UpdateExtendedFieldsResponseNonNullableFields {
|
|
|
35660
35660
|
shippoConfiguration?: ShippoConfigurationNonNullableFields;
|
|
35661
35661
|
}
|
|
35662
35662
|
|
|
35663
|
-
type __PublicMethodMetaInfo$
|
|
35663
|
+
type __PublicMethodMetaInfo$6<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
35664
35664
|
getUrl: (context: any) => string;
|
|
35665
35665
|
httpMethod: K;
|
|
35666
35666
|
path: string;
|
|
@@ -35670,29 +35670,29 @@ type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
35670
35670
|
__responseType: Q;
|
|
35671
35671
|
__originalResponseType: R;
|
|
35672
35672
|
};
|
|
35673
|
-
declare function createShippoConfiguration(): __PublicMethodMetaInfo$
|
|
35674
|
-
declare function getShippoConfiguration(): __PublicMethodMetaInfo$
|
|
35673
|
+
declare function createShippoConfiguration(): __PublicMethodMetaInfo$6<'POST', {}, CreateShippoConfigurationRequest, CreateShippoConfigurationRequest$1, CreateShippoConfigurationResponse & CreateShippoConfigurationResponseNonNullableFields, CreateShippoConfigurationResponse$1 & CreateShippoConfigurationResponseNonNullableFields$1>;
|
|
35674
|
+
declare function getShippoConfiguration(): __PublicMethodMetaInfo$6<'GET', {
|
|
35675
35675
|
shippoConfigurationId: string;
|
|
35676
35676
|
}, GetShippoConfigurationRequest, GetShippoConfigurationRequest$1, GetShippoConfigurationResponse & GetShippoConfigurationResponseNonNullableFields, GetShippoConfigurationResponse$1 & GetShippoConfigurationResponseNonNullableFields$1>;
|
|
35677
|
-
declare function updateShippoConfiguration(): __PublicMethodMetaInfo$
|
|
35677
|
+
declare function updateShippoConfiguration(): __PublicMethodMetaInfo$6<'PATCH', {
|
|
35678
35678
|
shippoConfigurationId: string;
|
|
35679
35679
|
}, UpdateShippoConfigurationRequest, UpdateShippoConfigurationRequest$1, UpdateShippoConfigurationResponse & UpdateShippoConfigurationResponseNonNullableFields, UpdateShippoConfigurationResponse$1 & UpdateShippoConfigurationResponseNonNullableFields$1>;
|
|
35680
|
-
declare function deleteShippoConfiguration(): __PublicMethodMetaInfo$
|
|
35680
|
+
declare function deleteShippoConfiguration(): __PublicMethodMetaInfo$6<'DELETE', {
|
|
35681
35681
|
shippoConfigurationId: string;
|
|
35682
35682
|
}, DeleteShippoConfigurationRequest, DeleteShippoConfigurationRequest$1, DeleteShippoConfigurationResponse, DeleteShippoConfigurationResponse$1>;
|
|
35683
|
-
declare function queryShippoConfigurations(): __PublicMethodMetaInfo$
|
|
35684
|
-
declare function updateExtendedFields(): __PublicMethodMetaInfo$
|
|
35683
|
+
declare function queryShippoConfigurations(): __PublicMethodMetaInfo$6<'GET', {}, QueryShippoConfigurationsRequest, QueryShippoConfigurationsRequest$1, QueryShippoConfigurationsResponse & QueryShippoConfigurationsResponseNonNullableFields, QueryShippoConfigurationsResponse$1 & QueryShippoConfigurationsResponseNonNullableFields$1>;
|
|
35684
|
+
declare function updateExtendedFields(): __PublicMethodMetaInfo$6<'POST', {
|
|
35685
35685
|
id: string;
|
|
35686
35686
|
}, UpdateExtendedFieldsRequest, UpdateExtendedFieldsRequest$1, UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields, UpdateExtendedFieldsResponse$1 & UpdateExtendedFieldsResponseNonNullableFields$1>;
|
|
35687
35687
|
|
|
35688
|
-
declare const meta$
|
|
35689
|
-
declare const meta$
|
|
35690
|
-
declare const meta$
|
|
35691
|
-
declare const meta$
|
|
35692
|
-
declare const meta$
|
|
35693
|
-
declare const meta$
|
|
35694
|
-
declare namespace meta$
|
|
35695
|
-
export { type __PublicMethodMetaInfo$
|
|
35688
|
+
declare const meta$6_createShippoConfiguration: typeof createShippoConfiguration;
|
|
35689
|
+
declare const meta$6_deleteShippoConfiguration: typeof deleteShippoConfiguration;
|
|
35690
|
+
declare const meta$6_getShippoConfiguration: typeof getShippoConfiguration;
|
|
35691
|
+
declare const meta$6_queryShippoConfigurations: typeof queryShippoConfigurations;
|
|
35692
|
+
declare const meta$6_updateExtendedFields: typeof updateExtendedFields;
|
|
35693
|
+
declare const meta$6_updateShippoConfiguration: typeof updateShippoConfiguration;
|
|
35694
|
+
declare namespace meta$6 {
|
|
35695
|
+
export { type __PublicMethodMetaInfo$6 as __PublicMethodMetaInfo, meta$6_createShippoConfiguration as createShippoConfiguration, meta$6_deleteShippoConfiguration as deleteShippoConfiguration, meta$6_getShippoConfiguration as getShippoConfiguration, meta$6_queryShippoConfigurations as queryShippoConfigurations, meta$6_updateExtendedFields as updateExtendedFields, meta$6_updateShippoConfiguration as updateShippoConfiguration };
|
|
35696
35696
|
}
|
|
35697
35697
|
|
|
35698
35698
|
interface CalculateTotalsRequest$1 extends CalculateTotalsRequestCouponOneOf$1, CalculateTotalsRequestGiftCardOneOf$1 {
|
|
@@ -37987,7 +37987,7 @@ interface CalculateTotalsResponseNonNullableFields {
|
|
|
37987
37987
|
totalAfterGiftCard?: MultiCurrencyPriceNonNullableFields;
|
|
37988
37988
|
}
|
|
37989
37989
|
|
|
37990
|
-
type __PublicMethodMetaInfo$
|
|
37990
|
+
type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
37991
37991
|
getUrl: (context: any) => string;
|
|
37992
37992
|
httpMethod: K;
|
|
37993
37993
|
path: string;
|
|
@@ -37997,11 +37997,11 @@ type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
37997
37997
|
__responseType: Q;
|
|
37998
37998
|
__originalResponseType: R;
|
|
37999
37999
|
};
|
|
38000
|
-
declare function calculateTotals(): __PublicMethodMetaInfo$
|
|
38000
|
+
declare function calculateTotals(): __PublicMethodMetaInfo$5<'POST', {}, CalculateTotalsRequest, CalculateTotalsRequest$1, CalculateTotalsResponse & CalculateTotalsResponseNonNullableFields, CalculateTotalsResponse$1 & CalculateTotalsResponseNonNullableFields$1>;
|
|
38001
38001
|
|
|
38002
|
-
declare const meta$
|
|
38003
|
-
declare namespace meta$
|
|
38004
|
-
export { type __PublicMethodMetaInfo$
|
|
38002
|
+
declare const meta$5_calculateTotals: typeof calculateTotals;
|
|
38003
|
+
declare namespace meta$5 {
|
|
38004
|
+
export { type __PublicMethodMetaInfo$5 as __PublicMethodMetaInfo, meta$5_calculateTotals as calculateTotals };
|
|
38005
38005
|
}
|
|
38006
38006
|
|
|
38007
38007
|
interface ListCurrenciesRequest$1 {
|
|
@@ -38128,7 +38128,7 @@ interface ConversionRateResponseNonNullableFields {
|
|
|
38128
38128
|
rate?: DecimalValueNonNullableFields;
|
|
38129
38129
|
}
|
|
38130
38130
|
|
|
38131
|
-
type __PublicMethodMetaInfo$
|
|
38131
|
+
type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
38132
38132
|
getUrl: (context: any) => string;
|
|
38133
38133
|
httpMethod: K;
|
|
38134
38134
|
path: string;
|
|
@@ -38138,21 +38138,21 @@ type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
38138
38138
|
__responseType: Q;
|
|
38139
38139
|
__originalResponseType: R;
|
|
38140
38140
|
};
|
|
38141
|
-
declare function listCurrencies(): __PublicMethodMetaInfo$
|
|
38142
|
-
declare function convertCurrency(): __PublicMethodMetaInfo$
|
|
38141
|
+
declare function listCurrencies(): __PublicMethodMetaInfo$4<'GET', {}, ListCurrenciesRequest, ListCurrenciesRequest$1, ListCurrenciesResponse & ListCurrenciesResponseNonNullableFields, ListCurrenciesResponse$1 & ListCurrenciesResponseNonNullableFields$1>;
|
|
38142
|
+
declare function convertCurrency(): __PublicMethodMetaInfo$4<'POST', {
|
|
38143
38143
|
from: string;
|
|
38144
38144
|
to: string;
|
|
38145
38145
|
}, ConvertCurrencyRequest, ConvertCurrencyRequest$1, ConvertCurrencyResponse & ConvertCurrencyResponseNonNullableFields, ConvertCurrencyResponse$1 & ConvertCurrencyResponseNonNullableFields$1>;
|
|
38146
|
-
declare function getConversionRate(): __PublicMethodMetaInfo$
|
|
38146
|
+
declare function getConversionRate(): __PublicMethodMetaInfo$4<'GET', {
|
|
38147
38147
|
from: string;
|
|
38148
38148
|
to: string;
|
|
38149
38149
|
}, ConversionRateRequest, ConversionRateRequest$1, ConversionRateResponse & ConversionRateResponseNonNullableFields, ConversionRateResponse$1 & ConversionRateResponseNonNullableFields$1>;
|
|
38150
38150
|
|
|
38151
|
-
declare const meta$
|
|
38152
|
-
declare const meta$
|
|
38153
|
-
declare const meta$
|
|
38154
|
-
declare namespace meta$
|
|
38155
|
-
export { type __PublicMethodMetaInfo$
|
|
38151
|
+
declare const meta$4_convertCurrency: typeof convertCurrency;
|
|
38152
|
+
declare const meta$4_getConversionRate: typeof getConversionRate;
|
|
38153
|
+
declare const meta$4_listCurrencies: typeof listCurrencies;
|
|
38154
|
+
declare namespace meta$4 {
|
|
38155
|
+
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_convertCurrency as convertCurrency, meta$4_getConversionRate as getConversionRate, meta$4_listCurrencies as listCurrencies };
|
|
38156
38156
|
}
|
|
38157
38157
|
|
|
38158
38158
|
interface DeliverableItem$1 {
|
|
@@ -39006,6 +39006,920 @@ interface GetDeliverySolutionsResponseNonNullableFields {
|
|
|
39006
39006
|
errors: DeliveryCarrierErrorNonNullableFields[];
|
|
39007
39007
|
}
|
|
39008
39008
|
|
|
39009
|
+
type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
39010
|
+
getUrl: (context: any) => string;
|
|
39011
|
+
httpMethod: K;
|
|
39012
|
+
path: string;
|
|
39013
|
+
pathParams: M;
|
|
39014
|
+
__requestType: T;
|
|
39015
|
+
__originalRequestType: S;
|
|
39016
|
+
__responseType: Q;
|
|
39017
|
+
__originalResponseType: R;
|
|
39018
|
+
};
|
|
39019
|
+
declare function getDeliverySolutions(): __PublicMethodMetaInfo$3<'POST', {}, GetDeliverySolutionsRequest, GetDeliverySolutionsRequest$1, GetDeliverySolutionsResponse & GetDeliverySolutionsResponseNonNullableFields, GetDeliverySolutionsResponse$1 & GetDeliverySolutionsResponseNonNullableFields$1>;
|
|
39020
|
+
|
|
39021
|
+
declare const meta$3_getDeliverySolutions: typeof getDeliverySolutions;
|
|
39022
|
+
declare namespace meta$3 {
|
|
39023
|
+
export { type __PublicMethodMetaInfo$3 as __PublicMethodMetaInfo, meta$3_getDeliverySolutions as getDeliverySolutions };
|
|
39024
|
+
}
|
|
39025
|
+
|
|
39026
|
+
/**
|
|
39027
|
+
* Tip settings define how tips are calculated and distributed among staff. When
|
|
39028
|
+
* Wix Tips is installed, default settings are automatically created. You can't
|
|
39029
|
+
* delete these default settings but you can update them. Creating additional
|
|
39030
|
+
* settings allows business owners to customize tip screens for different payment
|
|
39031
|
+
* terminals or set specific presets for various products or services.
|
|
39032
|
+
*/
|
|
39033
|
+
interface TipSettings$1 extends TipSettingsIdentifierOneOf$1 {
|
|
39034
|
+
/**
|
|
39035
|
+
* ID of the [location](https://dev.wix.com/docs/rest/business-management/locations/location-object)
|
|
39036
|
+
* for which the tip settings apply.
|
|
39037
|
+
*/
|
|
39038
|
+
locationId?: string | null;
|
|
39039
|
+
/**
|
|
39040
|
+
* ID of the payment terminal for which the tip settings apply. Wix Tips doesn't
|
|
39041
|
+
* validate the ID you provide.
|
|
39042
|
+
*
|
|
39043
|
+
* Max: 30 characters
|
|
39044
|
+
*/
|
|
39045
|
+
paymentTerminalId?: string | null;
|
|
39046
|
+
/**
|
|
39047
|
+
* ID of the Wix user for whom the tip settings apply. For example, the site owner or a
|
|
39048
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39049
|
+
*/
|
|
39050
|
+
userId?: string | null;
|
|
39051
|
+
/**
|
|
39052
|
+
* ID of the tip settings.
|
|
39053
|
+
* @readonly
|
|
39054
|
+
*/
|
|
39055
|
+
id?: string | null;
|
|
39056
|
+
/**
|
|
39057
|
+
* Tip type.
|
|
39058
|
+
*
|
|
39059
|
+
* Supported values:
|
|
39060
|
+
* + `UNKNOWN_TIP_TYPE`: There is no information about the tip type.
|
|
39061
|
+
* + `PERCENTAGE`: The tip is calculated as a percentage of the subtotal for all related line items.
|
|
39062
|
+
* + `AMOUNT`: The tip is a fixed amount.
|
|
39063
|
+
*/
|
|
39064
|
+
tipType?: TipType$3;
|
|
39065
|
+
/**
|
|
39066
|
+
* Information about the tip choices that Wix Tips displays to customers during the
|
|
39067
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39068
|
+
*
|
|
39069
|
+
* Min: `1` preset
|
|
39070
|
+
* Max: `3` presets
|
|
39071
|
+
*/
|
|
39072
|
+
presets?: Preset$1[];
|
|
39073
|
+
/**
|
|
39074
|
+
* Whether customer are allowed to tip during the
|
|
39075
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39076
|
+
*
|
|
39077
|
+
* Default: `true`
|
|
39078
|
+
*/
|
|
39079
|
+
allowCustomerTip?: boolean | null;
|
|
39080
|
+
/**
|
|
39081
|
+
* Whether the business owners are given the option to add a tip during the
|
|
39082
|
+
* payment collection flow in their dashboard.
|
|
39083
|
+
*
|
|
39084
|
+
* Default: `true`
|
|
39085
|
+
*/
|
|
39086
|
+
allowBusinessTipAtPayment?: boolean | null;
|
|
39087
|
+
/**
|
|
39088
|
+
* Whether customers can enter a custom tip amount. If set to `false`, customers
|
|
39089
|
+
* can only select a tip value from the available `presets` and can't enter a
|
|
39090
|
+
* custom amount.
|
|
39091
|
+
*
|
|
39092
|
+
* Default: `true`
|
|
39093
|
+
*/
|
|
39094
|
+
allowCustomAmount?: boolean | null;
|
|
39095
|
+
/**
|
|
39096
|
+
* Whether business owners are allowed to edit tip distributions. If set to
|
|
39097
|
+
* `false`, owners can't edit distributions after they were created.
|
|
39098
|
+
*
|
|
39099
|
+
* Default: `true`
|
|
39100
|
+
*/
|
|
39101
|
+
allowEditDistribution?: boolean | null;
|
|
39102
|
+
/**
|
|
39103
|
+
* How the tip is distributed among staff.
|
|
39104
|
+
*
|
|
39105
|
+
* Supported values:
|
|
39106
|
+
* `UNKNOWN_SPLIT_METHOD`: There is no information about the staff distribution method.
|
|
39107
|
+
* `EQUAL`: The tip is distributed equally among all staff.
|
|
39108
|
+
* `PROPORTIONAL`: The tip is distributed proportionally among staff.
|
|
39109
|
+
*/
|
|
39110
|
+
staffDistributionMethod?: StaffDistributionMethod$1;
|
|
39111
|
+
/**
|
|
39112
|
+
* Revision number, which increments by 1 each time `tipSettings` object is
|
|
39113
|
+
* updated. To prevent conflicting changes, the current revision must be passed
|
|
39114
|
+
* when updating `tipSettings`. Ignored when creating a `tipSettings` object.
|
|
39115
|
+
* @readonly
|
|
39116
|
+
*/
|
|
39117
|
+
revision?: string | null;
|
|
39118
|
+
/**
|
|
39119
|
+
* Date and time the tip settings were created in
|
|
39120
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
39121
|
+
* @readonly
|
|
39122
|
+
*/
|
|
39123
|
+
createdDate?: Date | null;
|
|
39124
|
+
/**
|
|
39125
|
+
* Date and time the tip settings were last updated
|
|
39126
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
39127
|
+
* @readonly
|
|
39128
|
+
*/
|
|
39129
|
+
updatedDate?: Date | null;
|
|
39130
|
+
/**
|
|
39131
|
+
* Whether these are the default tip settings. Wix Tips automatically creates
|
|
39132
|
+
* the default settings during the app's installation. You can't delete these
|
|
39133
|
+
* default settings but you can update them. Wix Tips uses the default settings
|
|
39134
|
+
* to calculate tips, unless you specify other settings.
|
|
39135
|
+
* @readonly
|
|
39136
|
+
*/
|
|
39137
|
+
default?: boolean | null;
|
|
39138
|
+
/**
|
|
39139
|
+
* ID of the app that has created the settings. See the list of app IDs for
|
|
39140
|
+
* [Wix business solutions](https://dev.wix.com/docs/rest/articles/getting-started/wix-business-solutions).
|
|
39141
|
+
*/
|
|
39142
|
+
appId?: string | null;
|
|
39143
|
+
/**
|
|
39144
|
+
* Custom field data for the `tipSettings` object. Extended fields must be
|
|
39145
|
+
* configured in the app dashboard before they can be accessed with API calls.
|
|
39146
|
+
*/
|
|
39147
|
+
extendedFields?: ExtendedFields$1;
|
|
39148
|
+
}
|
|
39149
|
+
/** @oneof */
|
|
39150
|
+
interface TipSettingsIdentifierOneOf$1 {
|
|
39151
|
+
/**
|
|
39152
|
+
* ID of the [location](https://dev.wix.com/docs/rest/business-management/locations/location-object)
|
|
39153
|
+
* for which the tip settings apply.
|
|
39154
|
+
*/
|
|
39155
|
+
locationId?: string | null;
|
|
39156
|
+
/**
|
|
39157
|
+
* ID of the payment terminal for which the tip settings apply. Wix Tips doesn't
|
|
39158
|
+
* validate the ID you provide.
|
|
39159
|
+
*
|
|
39160
|
+
* Max: 30 characters
|
|
39161
|
+
*/
|
|
39162
|
+
paymentTerminalId?: string | null;
|
|
39163
|
+
/**
|
|
39164
|
+
* ID of the Wix user for whom the tip settings apply. For example, the site owner or a
|
|
39165
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39166
|
+
*/
|
|
39167
|
+
userId?: string | null;
|
|
39168
|
+
}
|
|
39169
|
+
declare enum TipType$3 {
|
|
39170
|
+
/** There is no information about the tip type. */
|
|
39171
|
+
UNKNOWN_TIP_TYPE = "UNKNOWN_TIP_TYPE",
|
|
39172
|
+
/** The tip is calculated as a percentage of the subtotal of all related line items. */
|
|
39173
|
+
PERCENTAGE = "PERCENTAGE",
|
|
39174
|
+
/** The tip is a fixed amount. */
|
|
39175
|
+
AMOUNT = "AMOUNT"
|
|
39176
|
+
}
|
|
39177
|
+
interface Preset$1 {
|
|
39178
|
+
/**
|
|
39179
|
+
* Value of the preset tip choice that's displayed to customers in the
|
|
39180
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39181
|
+
* For example, `5`, `10`, and `15` percent or `1`, `3`, and `5` USD.
|
|
39182
|
+
*
|
|
39183
|
+
* Min: `0`
|
|
39184
|
+
*/
|
|
39185
|
+
value?: number | null;
|
|
39186
|
+
/**
|
|
39187
|
+
* Whether this tip choice value is the dafault preset that's highlighted automatically in the
|
|
39188
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39189
|
+
*
|
|
39190
|
+
* Default: `false`
|
|
39191
|
+
*/
|
|
39192
|
+
default?: boolean | null;
|
|
39193
|
+
}
|
|
39194
|
+
declare enum StaffDistributionMethod$1 {
|
|
39195
|
+
/** There is no information about the staff distribution method. */
|
|
39196
|
+
UNKNOWN_SPLIT_METHOD = "UNKNOWN_SPLIT_METHOD",
|
|
39197
|
+
/** All staff receive an equal amount of the tip. */
|
|
39198
|
+
EQUAL = "EQUAL",
|
|
39199
|
+
/** Staff receive a proportional amount of the tip. */
|
|
39200
|
+
PROPORTIONAL = "PROPORTIONAL"
|
|
39201
|
+
}
|
|
39202
|
+
interface ExtendedFields$1 {
|
|
39203
|
+
/**
|
|
39204
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
39205
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
39206
|
+
*
|
|
39207
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
39208
|
+
*
|
|
39209
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
39210
|
+
*/
|
|
39211
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
39212
|
+
}
|
|
39213
|
+
interface QueryTipSettingsRequest$1 {
|
|
39214
|
+
/** WQL expression */
|
|
39215
|
+
query: QueryV2$1;
|
|
39216
|
+
}
|
|
39217
|
+
interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
39218
|
+
/** Paging options to limit and skip the number of items. */
|
|
39219
|
+
paging?: Paging$1;
|
|
39220
|
+
/** 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`. */
|
|
39221
|
+
cursorPaging?: CursorPaging$3;
|
|
39222
|
+
/**
|
|
39223
|
+
* Filter object in the following format:
|
|
39224
|
+
* `"filter" : {
|
|
39225
|
+
* "fieldName1": "value1",
|
|
39226
|
+
* "fieldName2":{"$operator":"value2"}
|
|
39227
|
+
* }`
|
|
39228
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
39229
|
+
*/
|
|
39230
|
+
filter?: Record<string, any> | null;
|
|
39231
|
+
/**
|
|
39232
|
+
* Sort object in the following format:
|
|
39233
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
39234
|
+
*/
|
|
39235
|
+
sort?: Sorting$3[];
|
|
39236
|
+
/** 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. */
|
|
39237
|
+
fields?: string[];
|
|
39238
|
+
/** 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. */
|
|
39239
|
+
fieldsets?: string[];
|
|
39240
|
+
}
|
|
39241
|
+
/** @oneof */
|
|
39242
|
+
interface QueryV2PagingMethodOneOf$1 {
|
|
39243
|
+
/** Paging options to limit and skip the number of items. */
|
|
39244
|
+
paging?: Paging$1;
|
|
39245
|
+
/** 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`. */
|
|
39246
|
+
cursorPaging?: CursorPaging$3;
|
|
39247
|
+
}
|
|
39248
|
+
interface Sorting$3 {
|
|
39249
|
+
/** Name of the field to sort by. */
|
|
39250
|
+
fieldName?: string;
|
|
39251
|
+
/** Sort order. */
|
|
39252
|
+
order?: SortOrder$3;
|
|
39253
|
+
}
|
|
39254
|
+
declare enum SortOrder$3 {
|
|
39255
|
+
ASC = "ASC",
|
|
39256
|
+
DESC = "DESC"
|
|
39257
|
+
}
|
|
39258
|
+
interface Paging$1 {
|
|
39259
|
+
/** Number of items to load. */
|
|
39260
|
+
limit?: number | null;
|
|
39261
|
+
/** Number of items to skip in the current sort order. */
|
|
39262
|
+
offset?: number | null;
|
|
39263
|
+
}
|
|
39264
|
+
interface CursorPaging$3 {
|
|
39265
|
+
/** Maximum number of items to return in the results. */
|
|
39266
|
+
limit?: number | null;
|
|
39267
|
+
/**
|
|
39268
|
+
* Pointer to the next or previous page in the list of results.
|
|
39269
|
+
*
|
|
39270
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
39271
|
+
* Not relevant for the first request.
|
|
39272
|
+
*/
|
|
39273
|
+
cursor?: string | null;
|
|
39274
|
+
}
|
|
39275
|
+
interface QueryTipSettingsResponse$1 {
|
|
39276
|
+
/** Retrieved `tipSettings` objects. */
|
|
39277
|
+
tipSettings?: TipSettings$1[];
|
|
39278
|
+
/** Metadate for the paged set of retrieved `tipSettings` objects. */
|
|
39279
|
+
pagingMetadata?: PagingMetadataV2$1;
|
|
39280
|
+
}
|
|
39281
|
+
interface PagingMetadataV2$1 {
|
|
39282
|
+
/** Number of items returned in the response. */
|
|
39283
|
+
count?: number | null;
|
|
39284
|
+
/** Offset that was requested. */
|
|
39285
|
+
offset?: number | null;
|
|
39286
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
39287
|
+
total?: number | null;
|
|
39288
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
39289
|
+
tooManyToCount?: boolean | null;
|
|
39290
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
39291
|
+
cursors?: Cursors$3;
|
|
39292
|
+
}
|
|
39293
|
+
interface Cursors$3 {
|
|
39294
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
39295
|
+
next?: string | null;
|
|
39296
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
39297
|
+
prev?: string | null;
|
|
39298
|
+
}
|
|
39299
|
+
interface UpdateTipSettingsRequest$1 {
|
|
39300
|
+
/** Tip settings to update. */
|
|
39301
|
+
tipSettings: TipSettings$1;
|
|
39302
|
+
}
|
|
39303
|
+
interface UpdateTipSettingsResponse$1 {
|
|
39304
|
+
/** Updated tip settings. */
|
|
39305
|
+
tipSettings?: TipSettings$1;
|
|
39306
|
+
}
|
|
39307
|
+
interface CreateTipSettingsRequest$1 {
|
|
39308
|
+
/** Tip settings to create. */
|
|
39309
|
+
tipSettings: TipSettings$1;
|
|
39310
|
+
}
|
|
39311
|
+
interface CreateTipSettingsResponse$1 {
|
|
39312
|
+
/** Created tip settings. */
|
|
39313
|
+
tipSettings?: TipSettings$1;
|
|
39314
|
+
}
|
|
39315
|
+
interface CreateDefaultTipSettingsRequest$1 {
|
|
39316
|
+
/** Dafault tip settings to create. */
|
|
39317
|
+
tipSettings: TipSettings$1;
|
|
39318
|
+
}
|
|
39319
|
+
interface CreateDefaultTipSettingsResponse$1 {
|
|
39320
|
+
/** Created default tip settings. */
|
|
39321
|
+
tipSettings?: TipSettings$1;
|
|
39322
|
+
}
|
|
39323
|
+
interface DeleteTipSettingsRequest$1 {
|
|
39324
|
+
/** ID of the `tipSettings` object to delete. */
|
|
39325
|
+
tipSettingsId: string | null;
|
|
39326
|
+
}
|
|
39327
|
+
interface DeleteTipSettingsResponse$1 {
|
|
39328
|
+
}
|
|
39329
|
+
interface TipSettingsNonNullableFields$1 {
|
|
39330
|
+
tipType: TipType$3;
|
|
39331
|
+
staffDistributionMethod: StaffDistributionMethod$1;
|
|
39332
|
+
}
|
|
39333
|
+
interface QueryTipSettingsResponseNonNullableFields$1 {
|
|
39334
|
+
tipSettings: TipSettingsNonNullableFields$1[];
|
|
39335
|
+
}
|
|
39336
|
+
interface UpdateTipSettingsResponseNonNullableFields$1 {
|
|
39337
|
+
tipSettings?: TipSettingsNonNullableFields$1;
|
|
39338
|
+
}
|
|
39339
|
+
interface CreateTipSettingsResponseNonNullableFields$1 {
|
|
39340
|
+
tipSettings?: TipSettingsNonNullableFields$1;
|
|
39341
|
+
}
|
|
39342
|
+
interface CreateDefaultTipSettingsResponseNonNullableFields$1 {
|
|
39343
|
+
tipSettings?: TipSettingsNonNullableFields$1;
|
|
39344
|
+
}
|
|
39345
|
+
|
|
39346
|
+
/**
|
|
39347
|
+
* Tip settings define how tips are calculated and distributed among staff. When
|
|
39348
|
+
* Wix Tips is installed, default settings are automatically created. You can't
|
|
39349
|
+
* delete these default settings but you can update them. Creating additional
|
|
39350
|
+
* settings allows business owners to customize tip screens for different payment
|
|
39351
|
+
* terminals or set specific presets for various products or services.
|
|
39352
|
+
*/
|
|
39353
|
+
interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
39354
|
+
/**
|
|
39355
|
+
* ID of the [location](https://dev.wix.com/docs/rest/business-management/locations/location-object)
|
|
39356
|
+
* for which the tip settings apply.
|
|
39357
|
+
*/
|
|
39358
|
+
locationId?: string | null;
|
|
39359
|
+
/**
|
|
39360
|
+
* ID of the payment terminal for which the tip settings apply. Wix Tips doesn't
|
|
39361
|
+
* validate the ID you provide.
|
|
39362
|
+
*
|
|
39363
|
+
* Max: 30 characters
|
|
39364
|
+
*/
|
|
39365
|
+
paymentTerminalId?: string | null;
|
|
39366
|
+
/**
|
|
39367
|
+
* ID of the Wix user for whom the tip settings apply. For example, the site owner or a
|
|
39368
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39369
|
+
*/
|
|
39370
|
+
userId?: string | null;
|
|
39371
|
+
/**
|
|
39372
|
+
* ID of the tip settings.
|
|
39373
|
+
* @readonly
|
|
39374
|
+
*/
|
|
39375
|
+
_id?: string | null;
|
|
39376
|
+
/**
|
|
39377
|
+
* Tip type.
|
|
39378
|
+
*
|
|
39379
|
+
* Supported values:
|
|
39380
|
+
* + `UNKNOWN_TIP_TYPE`: There is no information about the tip type.
|
|
39381
|
+
* + `PERCENTAGE`: The tip is calculated as a percentage of the subtotal for all related line items.
|
|
39382
|
+
* + `AMOUNT`: The tip is a fixed amount.
|
|
39383
|
+
*/
|
|
39384
|
+
tipType?: TipType$2;
|
|
39385
|
+
/**
|
|
39386
|
+
* Information about the tip choices that Wix Tips displays to customers during the
|
|
39387
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39388
|
+
*
|
|
39389
|
+
* Min: `1` preset
|
|
39390
|
+
* Max: `3` presets
|
|
39391
|
+
*/
|
|
39392
|
+
presets?: Preset[];
|
|
39393
|
+
/**
|
|
39394
|
+
* Whether customer are allowed to tip during the
|
|
39395
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39396
|
+
*
|
|
39397
|
+
* Default: `true`
|
|
39398
|
+
*/
|
|
39399
|
+
allowCustomerTip?: boolean | null;
|
|
39400
|
+
/**
|
|
39401
|
+
* Whether the business owners are given the option to add a tip during the
|
|
39402
|
+
* payment collection flow in their dashboard.
|
|
39403
|
+
*
|
|
39404
|
+
* Default: `true`
|
|
39405
|
+
*/
|
|
39406
|
+
allowBusinessTipAtPayment?: boolean | null;
|
|
39407
|
+
/**
|
|
39408
|
+
* Whether customers can enter a custom tip amount. If set to `false`, customers
|
|
39409
|
+
* can only select a tip value from the available `presets` and can't enter a
|
|
39410
|
+
* custom amount.
|
|
39411
|
+
*
|
|
39412
|
+
* Default: `true`
|
|
39413
|
+
*/
|
|
39414
|
+
allowCustomAmount?: boolean | null;
|
|
39415
|
+
/**
|
|
39416
|
+
* Whether business owners are allowed to edit tip distributions. If set to
|
|
39417
|
+
* `false`, owners can't edit distributions after they were created.
|
|
39418
|
+
*
|
|
39419
|
+
* Default: `true`
|
|
39420
|
+
*/
|
|
39421
|
+
allowEditDistribution?: boolean | null;
|
|
39422
|
+
/**
|
|
39423
|
+
* How the tip is distributed among staff.
|
|
39424
|
+
*
|
|
39425
|
+
* Supported values:
|
|
39426
|
+
* `UNKNOWN_SPLIT_METHOD`: There is no information about the staff distribution method.
|
|
39427
|
+
* `EQUAL`: The tip is distributed equally among all staff.
|
|
39428
|
+
* `PROPORTIONAL`: The tip is distributed proportionally among staff.
|
|
39429
|
+
*/
|
|
39430
|
+
staffDistributionMethod?: StaffDistributionMethod;
|
|
39431
|
+
/**
|
|
39432
|
+
* Revision number, which increments by 1 each time `tipSettings` object is
|
|
39433
|
+
* updated. To prevent conflicting changes, the current revision must be passed
|
|
39434
|
+
* when updating `tipSettings`. Ignored when creating a `tipSettings` object.
|
|
39435
|
+
* @readonly
|
|
39436
|
+
*/
|
|
39437
|
+
revision?: string | null;
|
|
39438
|
+
/**
|
|
39439
|
+
* Date and time the tip settings were created in
|
|
39440
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
39441
|
+
* @readonly
|
|
39442
|
+
*/
|
|
39443
|
+
_createdDate?: Date | null;
|
|
39444
|
+
/**
|
|
39445
|
+
* Date and time the tip settings were last updated
|
|
39446
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
39447
|
+
* @readonly
|
|
39448
|
+
*/
|
|
39449
|
+
_updatedDate?: Date | null;
|
|
39450
|
+
/**
|
|
39451
|
+
* Whether these are the default tip settings. Wix Tips automatically creates
|
|
39452
|
+
* the default settings during the app's installation. You can't delete these
|
|
39453
|
+
* default settings but you can update them. Wix Tips uses the default settings
|
|
39454
|
+
* to calculate tips, unless you specify other settings.
|
|
39455
|
+
* @readonly
|
|
39456
|
+
*/
|
|
39457
|
+
default?: boolean | null;
|
|
39458
|
+
/**
|
|
39459
|
+
* ID of the app that has created the settings. See the list of app IDs for
|
|
39460
|
+
* [Wix business solutions](https://dev.wix.com/docs/rest/articles/getting-started/wix-business-solutions).
|
|
39461
|
+
*/
|
|
39462
|
+
appId?: string | null;
|
|
39463
|
+
/**
|
|
39464
|
+
* Custom field data for the `tipSettings` object. Extended fields must be
|
|
39465
|
+
* configured in the app dashboard before they can be accessed with API calls.
|
|
39466
|
+
*/
|
|
39467
|
+
extendedFields?: ExtendedFields;
|
|
39468
|
+
}
|
|
39469
|
+
/** @oneof */
|
|
39470
|
+
interface TipSettingsIdentifierOneOf {
|
|
39471
|
+
/**
|
|
39472
|
+
* ID of the [location](https://dev.wix.com/docs/rest/business-management/locations/location-object)
|
|
39473
|
+
* for which the tip settings apply.
|
|
39474
|
+
*/
|
|
39475
|
+
locationId?: string | null;
|
|
39476
|
+
/**
|
|
39477
|
+
* ID of the payment terminal for which the tip settings apply. Wix Tips doesn't
|
|
39478
|
+
* validate the ID you provide.
|
|
39479
|
+
*
|
|
39480
|
+
* Max: 30 characters
|
|
39481
|
+
*/
|
|
39482
|
+
paymentTerminalId?: string | null;
|
|
39483
|
+
/**
|
|
39484
|
+
* ID of the Wix user for whom the tip settings apply. For example, the site owner or a
|
|
39485
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39486
|
+
*/
|
|
39487
|
+
userId?: string | null;
|
|
39488
|
+
}
|
|
39489
|
+
declare enum TipType$2 {
|
|
39490
|
+
/** There is no information about the tip type. */
|
|
39491
|
+
UNKNOWN_TIP_TYPE = "UNKNOWN_TIP_TYPE",
|
|
39492
|
+
/** The tip is calculated as a percentage of the subtotal of all related line items. */
|
|
39493
|
+
PERCENTAGE = "PERCENTAGE",
|
|
39494
|
+
/** The tip is a fixed amount. */
|
|
39495
|
+
AMOUNT = "AMOUNT"
|
|
39496
|
+
}
|
|
39497
|
+
interface Preset {
|
|
39498
|
+
/**
|
|
39499
|
+
* Value of the preset tip choice that's displayed to customers in the
|
|
39500
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39501
|
+
* For example, `5`, `10`, and `15` percent or `1`, `3`, and `5` USD.
|
|
39502
|
+
*
|
|
39503
|
+
* Min: `0`
|
|
39504
|
+
*/
|
|
39505
|
+
value?: number | null;
|
|
39506
|
+
/**
|
|
39507
|
+
* Whether this tip choice value is the dafault preset that's highlighted automatically in the
|
|
39508
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39509
|
+
*
|
|
39510
|
+
* Default: `false`
|
|
39511
|
+
*/
|
|
39512
|
+
default?: boolean | null;
|
|
39513
|
+
}
|
|
39514
|
+
declare enum StaffDistributionMethod {
|
|
39515
|
+
/** There is no information about the staff distribution method. */
|
|
39516
|
+
UNKNOWN_SPLIT_METHOD = "UNKNOWN_SPLIT_METHOD",
|
|
39517
|
+
/** All staff receive an equal amount of the tip. */
|
|
39518
|
+
EQUAL = "EQUAL",
|
|
39519
|
+
/** Staff receive a proportional amount of the tip. */
|
|
39520
|
+
PROPORTIONAL = "PROPORTIONAL"
|
|
39521
|
+
}
|
|
39522
|
+
interface ExtendedFields {
|
|
39523
|
+
/**
|
|
39524
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
39525
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
39526
|
+
*
|
|
39527
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
39528
|
+
*
|
|
39529
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
39530
|
+
*/
|
|
39531
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
39532
|
+
}
|
|
39533
|
+
interface QueryTipSettingsRequest {
|
|
39534
|
+
/** WQL expression */
|
|
39535
|
+
query: QueryV2;
|
|
39536
|
+
}
|
|
39537
|
+
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
39538
|
+
/** Paging options to limit and skip the number of items. */
|
|
39539
|
+
paging?: Paging;
|
|
39540
|
+
/** 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`. */
|
|
39541
|
+
cursorPaging?: CursorPaging$2;
|
|
39542
|
+
/**
|
|
39543
|
+
* Filter object in the following format:
|
|
39544
|
+
* `"filter" : {
|
|
39545
|
+
* "fieldName1": "value1",
|
|
39546
|
+
* "fieldName2":{"$operator":"value2"}
|
|
39547
|
+
* }`
|
|
39548
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
39549
|
+
*/
|
|
39550
|
+
filter?: Record<string, any> | null;
|
|
39551
|
+
/**
|
|
39552
|
+
* Sort object in the following format:
|
|
39553
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
39554
|
+
*/
|
|
39555
|
+
sort?: Sorting$2[];
|
|
39556
|
+
/** 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. */
|
|
39557
|
+
fields?: string[];
|
|
39558
|
+
/** 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. */
|
|
39559
|
+
fieldsets?: string[];
|
|
39560
|
+
}
|
|
39561
|
+
/** @oneof */
|
|
39562
|
+
interface QueryV2PagingMethodOneOf {
|
|
39563
|
+
/** Paging options to limit and skip the number of items. */
|
|
39564
|
+
paging?: Paging;
|
|
39565
|
+
/** 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`. */
|
|
39566
|
+
cursorPaging?: CursorPaging$2;
|
|
39567
|
+
}
|
|
39568
|
+
interface Sorting$2 {
|
|
39569
|
+
/** Name of the field to sort by. */
|
|
39570
|
+
fieldName?: string;
|
|
39571
|
+
/** Sort order. */
|
|
39572
|
+
order?: SortOrder$2;
|
|
39573
|
+
}
|
|
39574
|
+
declare enum SortOrder$2 {
|
|
39575
|
+
ASC = "ASC",
|
|
39576
|
+
DESC = "DESC"
|
|
39577
|
+
}
|
|
39578
|
+
interface Paging {
|
|
39579
|
+
/** Number of items to load. */
|
|
39580
|
+
limit?: number | null;
|
|
39581
|
+
/** Number of items to skip in the current sort order. */
|
|
39582
|
+
offset?: number | null;
|
|
39583
|
+
}
|
|
39584
|
+
interface CursorPaging$2 {
|
|
39585
|
+
/** Maximum number of items to return in the results. */
|
|
39586
|
+
limit?: number | null;
|
|
39587
|
+
/**
|
|
39588
|
+
* Pointer to the next or previous page in the list of results.
|
|
39589
|
+
*
|
|
39590
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
39591
|
+
* Not relevant for the first request.
|
|
39592
|
+
*/
|
|
39593
|
+
cursor?: string | null;
|
|
39594
|
+
}
|
|
39595
|
+
interface QueryTipSettingsResponse {
|
|
39596
|
+
/** Retrieved `tipSettings` objects. */
|
|
39597
|
+
tipSettings?: TipSettings[];
|
|
39598
|
+
/** Metadate for the paged set of retrieved `tipSettings` objects. */
|
|
39599
|
+
pagingMetadata?: PagingMetadataV2;
|
|
39600
|
+
}
|
|
39601
|
+
interface PagingMetadataV2 {
|
|
39602
|
+
/** Number of items returned in the response. */
|
|
39603
|
+
count?: number | null;
|
|
39604
|
+
/** Offset that was requested. */
|
|
39605
|
+
offset?: number | null;
|
|
39606
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
39607
|
+
total?: number | null;
|
|
39608
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
39609
|
+
tooManyToCount?: boolean | null;
|
|
39610
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
39611
|
+
cursors?: Cursors$2;
|
|
39612
|
+
}
|
|
39613
|
+
interface Cursors$2 {
|
|
39614
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
39615
|
+
next?: string | null;
|
|
39616
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
39617
|
+
prev?: string | null;
|
|
39618
|
+
}
|
|
39619
|
+
interface UpdateTipSettingsRequest {
|
|
39620
|
+
/** Tip settings to update. */
|
|
39621
|
+
tipSettings: TipSettings;
|
|
39622
|
+
}
|
|
39623
|
+
interface UpdateTipSettingsResponse {
|
|
39624
|
+
/** Updated tip settings. */
|
|
39625
|
+
tipSettings?: TipSettings;
|
|
39626
|
+
}
|
|
39627
|
+
interface CreateTipSettingsRequest {
|
|
39628
|
+
/** Tip settings to create. */
|
|
39629
|
+
tipSettings: TipSettings;
|
|
39630
|
+
}
|
|
39631
|
+
interface CreateTipSettingsResponse {
|
|
39632
|
+
/** Created tip settings. */
|
|
39633
|
+
tipSettings?: TipSettings;
|
|
39634
|
+
}
|
|
39635
|
+
interface CreateDefaultTipSettingsRequest {
|
|
39636
|
+
/** Dafault tip settings to create. */
|
|
39637
|
+
tipSettings: TipSettings;
|
|
39638
|
+
}
|
|
39639
|
+
interface CreateDefaultTipSettingsResponse {
|
|
39640
|
+
/** Created default tip settings. */
|
|
39641
|
+
tipSettings?: TipSettings;
|
|
39642
|
+
}
|
|
39643
|
+
interface DeleteTipSettingsRequest {
|
|
39644
|
+
/** ID of the `tipSettings` object to delete. */
|
|
39645
|
+
tipSettingsId: string | null;
|
|
39646
|
+
}
|
|
39647
|
+
interface DeleteTipSettingsResponse {
|
|
39648
|
+
}
|
|
39649
|
+
interface TipSettingsNonNullableFields {
|
|
39650
|
+
tipType: TipType$2;
|
|
39651
|
+
staffDistributionMethod: StaffDistributionMethod;
|
|
39652
|
+
}
|
|
39653
|
+
interface QueryTipSettingsResponseNonNullableFields {
|
|
39654
|
+
tipSettings: TipSettingsNonNullableFields[];
|
|
39655
|
+
}
|
|
39656
|
+
interface UpdateTipSettingsResponseNonNullableFields {
|
|
39657
|
+
tipSettings?: TipSettingsNonNullableFields;
|
|
39658
|
+
}
|
|
39659
|
+
interface CreateTipSettingsResponseNonNullableFields {
|
|
39660
|
+
tipSettings?: TipSettingsNonNullableFields;
|
|
39661
|
+
}
|
|
39662
|
+
interface CreateDefaultTipSettingsResponseNonNullableFields {
|
|
39663
|
+
tipSettings?: TipSettingsNonNullableFields;
|
|
39664
|
+
}
|
|
39665
|
+
|
|
39666
|
+
type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
39667
|
+
getUrl: (context: any) => string;
|
|
39668
|
+
httpMethod: K;
|
|
39669
|
+
path: string;
|
|
39670
|
+
pathParams: M;
|
|
39671
|
+
__requestType: T;
|
|
39672
|
+
__originalRequestType: S;
|
|
39673
|
+
__responseType: Q;
|
|
39674
|
+
__originalResponseType: R;
|
|
39675
|
+
};
|
|
39676
|
+
declare function queryTipSettings(): __PublicMethodMetaInfo$2<'POST', {}, QueryTipSettingsRequest, QueryTipSettingsRequest$1, QueryTipSettingsResponse & QueryTipSettingsResponseNonNullableFields, QueryTipSettingsResponse$1 & QueryTipSettingsResponseNonNullableFields$1>;
|
|
39677
|
+
declare function updateTipSettings(): __PublicMethodMetaInfo$2<'PATCH', {}, UpdateTipSettingsRequest, UpdateTipSettingsRequest$1, UpdateTipSettingsResponse & UpdateTipSettingsResponseNonNullableFields, UpdateTipSettingsResponse$1 & UpdateTipSettingsResponseNonNullableFields$1>;
|
|
39678
|
+
declare function createTipSettings(): __PublicMethodMetaInfo$2<'POST', {}, CreateTipSettingsRequest, CreateTipSettingsRequest$1, CreateTipSettingsResponse & CreateTipSettingsResponseNonNullableFields, CreateTipSettingsResponse$1 & CreateTipSettingsResponseNonNullableFields$1>;
|
|
39679
|
+
declare function createDefaultTipSettings(): __PublicMethodMetaInfo$2<'POST', {}, CreateDefaultTipSettingsRequest, CreateDefaultTipSettingsRequest$1, CreateDefaultTipSettingsResponse & CreateDefaultTipSettingsResponseNonNullableFields, CreateDefaultTipSettingsResponse$1 & CreateDefaultTipSettingsResponseNonNullableFields$1>;
|
|
39680
|
+
declare function deleteTipSettings(): __PublicMethodMetaInfo$2<'DELETE', {
|
|
39681
|
+
tipSettingsId: string;
|
|
39682
|
+
}, DeleteTipSettingsRequest, DeleteTipSettingsRequest$1, DeleteTipSettingsResponse, DeleteTipSettingsResponse$1>;
|
|
39683
|
+
|
|
39684
|
+
declare const meta$2_createDefaultTipSettings: typeof createDefaultTipSettings;
|
|
39685
|
+
declare const meta$2_createTipSettings: typeof createTipSettings;
|
|
39686
|
+
declare const meta$2_deleteTipSettings: typeof deleteTipSettings;
|
|
39687
|
+
declare const meta$2_queryTipSettings: typeof queryTipSettings;
|
|
39688
|
+
declare const meta$2_updateTipSettings: typeof updateTipSettings;
|
|
39689
|
+
declare namespace meta$2 {
|
|
39690
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_createDefaultTipSettings as createDefaultTipSettings, meta$2_createTipSettings as createTipSettings, meta$2_deleteTipSettings as deleteTipSettings, meta$2_queryTipSettings as queryTipSettings, meta$2_updateTipSettings as updateTipSettings };
|
|
39691
|
+
}
|
|
39692
|
+
|
|
39693
|
+
/**
|
|
39694
|
+
* Information about a team member who's eligible to receive a portion of the tip.
|
|
39695
|
+
* Currently, only [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/introduction)
|
|
39696
|
+
* and [site collaborators](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site)
|
|
39697
|
+
* are eligible for tip distributions.
|
|
39698
|
+
*/
|
|
39699
|
+
interface Staff$3 {
|
|
39700
|
+
/**
|
|
39701
|
+
* Staff ID. Matches `staffMemberId` if available, or
|
|
39702
|
+
* `identificationData.wixUserId` if not.
|
|
39703
|
+
* @readonly
|
|
39704
|
+
*/
|
|
39705
|
+
id?: string | null;
|
|
39706
|
+
/**
|
|
39707
|
+
* Staff name. Matches the name of the
|
|
39708
|
+
* [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object)
|
|
39709
|
+
* if available.
|
|
39710
|
+
*/
|
|
39711
|
+
name?: string | null;
|
|
39712
|
+
/**
|
|
39713
|
+
* Staff member ID. Available only if the staff is connected to a
|
|
39714
|
+
* [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object).
|
|
39715
|
+
*/
|
|
39716
|
+
staffMemberId?: string | null;
|
|
39717
|
+
/**
|
|
39718
|
+
* Identification data of the staff. Available only if the staff is a
|
|
39719
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39720
|
+
*/
|
|
39721
|
+
identificationData?: IdentificationData$1;
|
|
39722
|
+
}
|
|
39723
|
+
interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
|
|
39724
|
+
/** ID of a site visitor who hasn't logged in to the site. */
|
|
39725
|
+
anonymousVisitorId?: string;
|
|
39726
|
+
/** ID of a site visitor who has logged in to the site. */
|
|
39727
|
+
memberId?: string;
|
|
39728
|
+
/**
|
|
39729
|
+
* ID of a Wix user. For example, the site owner or a
|
|
39730
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39731
|
+
*/
|
|
39732
|
+
wixUserId?: string;
|
|
39733
|
+
/** ID of an app. */
|
|
39734
|
+
appId?: string;
|
|
39735
|
+
/**
|
|
39736
|
+
* ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)
|
|
39737
|
+
* in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
|
|
39738
|
+
*/
|
|
39739
|
+
contactId?: string | null;
|
|
39740
|
+
}
|
|
39741
|
+
/** @oneof */
|
|
39742
|
+
interface IdentificationDataIdOneOf$1 {
|
|
39743
|
+
/** ID of a site visitor who hasn't logged in to the site. */
|
|
39744
|
+
anonymousVisitorId?: string;
|
|
39745
|
+
/** ID of a site visitor who has logged in to the site. */
|
|
39746
|
+
memberId?: string;
|
|
39747
|
+
/**
|
|
39748
|
+
* ID of a Wix user. For example, the site owner or a
|
|
39749
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39750
|
+
*/
|
|
39751
|
+
wixUserId?: string;
|
|
39752
|
+
/** ID of an app. */
|
|
39753
|
+
appId?: string;
|
|
39754
|
+
}
|
|
39755
|
+
declare enum IdentityType$3 {
|
|
39756
|
+
UNKNOWN = "UNKNOWN",
|
|
39757
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
39758
|
+
MEMBER = "MEMBER",
|
|
39759
|
+
WIX_USER = "WIX_USER",
|
|
39760
|
+
APP = "APP"
|
|
39761
|
+
}
|
|
39762
|
+
interface ListTippableStaffRequest$1 {
|
|
39763
|
+
/**
|
|
39764
|
+
* Whether to include staff who are only Wix users and not
|
|
39765
|
+
* [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/about-staff-members-and-resources)
|
|
39766
|
+
* in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
39767
|
+
* staff, including Bookings staff, site collaborators, or those who are both.
|
|
39768
|
+
* By default, or if you provide `{"includeWixUsers": false}`, only Bookings
|
|
39769
|
+
* staff members or those who are both are returned.
|
|
39770
|
+
*
|
|
39771
|
+
* Default: `false`.
|
|
39772
|
+
*/
|
|
39773
|
+
includeWixUsers?: boolean;
|
|
39774
|
+
/**
|
|
39775
|
+
* Filters the returned staff by name. If you provide a name as filter, only
|
|
39776
|
+
* staff whose names start with the given input are returned. The filter isn't
|
|
39777
|
+
* case sensitive.
|
|
39778
|
+
*
|
|
39779
|
+
* Max: 500 characters
|
|
39780
|
+
*/
|
|
39781
|
+
filterByName?: string | null;
|
|
39782
|
+
/**
|
|
39783
|
+
* Filters the returned staff by ID. If you provide a list of IDs as filter,
|
|
39784
|
+
* only staff members with exact matching IDs are returned.
|
|
39785
|
+
*
|
|
39786
|
+
* Max: 100 IDs
|
|
39787
|
+
*/
|
|
39788
|
+
filterByIds?: string[] | null;
|
|
39789
|
+
}
|
|
39790
|
+
interface ListTippableStaffResponse$1 {
|
|
39791
|
+
/** Retrieved staff. */
|
|
39792
|
+
staff?: Staff$3[];
|
|
39793
|
+
}
|
|
39794
|
+
interface IdentificationDataNonNullableFields$1 {
|
|
39795
|
+
anonymousVisitorId: string;
|
|
39796
|
+
memberId: string;
|
|
39797
|
+
wixUserId: string;
|
|
39798
|
+
appId: string;
|
|
39799
|
+
identityType: IdentityType$3;
|
|
39800
|
+
}
|
|
39801
|
+
interface StaffNonNullableFields$3 {
|
|
39802
|
+
identificationData?: IdentificationDataNonNullableFields$1;
|
|
39803
|
+
}
|
|
39804
|
+
interface ListTippableStaffResponseNonNullableFields$1 {
|
|
39805
|
+
staff: StaffNonNullableFields$3[];
|
|
39806
|
+
}
|
|
39807
|
+
|
|
39808
|
+
/**
|
|
39809
|
+
* Information about a team member who's eligible to receive a portion of the tip.
|
|
39810
|
+
* Currently, only [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/introduction)
|
|
39811
|
+
* and [site collaborators](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site)
|
|
39812
|
+
* are eligible for tip distributions.
|
|
39813
|
+
*/
|
|
39814
|
+
interface Staff$2 {
|
|
39815
|
+
/**
|
|
39816
|
+
* Staff ID. Matches `staffMemberId` if available, or
|
|
39817
|
+
* `identificationData.wixUserId` if not.
|
|
39818
|
+
* @readonly
|
|
39819
|
+
*/
|
|
39820
|
+
_id?: string | null;
|
|
39821
|
+
/**
|
|
39822
|
+
* Staff name. Matches the name of the
|
|
39823
|
+
* [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object)
|
|
39824
|
+
* if available.
|
|
39825
|
+
*/
|
|
39826
|
+
name?: string | null;
|
|
39827
|
+
/**
|
|
39828
|
+
* Staff member ID. Available only if the staff is connected to a
|
|
39829
|
+
* [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object).
|
|
39830
|
+
*/
|
|
39831
|
+
staffMemberId?: string | null;
|
|
39832
|
+
/**
|
|
39833
|
+
* Identification data of the staff. Available only if the staff is a
|
|
39834
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39835
|
+
*/
|
|
39836
|
+
identificationData?: IdentificationData;
|
|
39837
|
+
}
|
|
39838
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
39839
|
+
/** ID of a site visitor who hasn't logged in to the site. */
|
|
39840
|
+
anonymousVisitorId?: string;
|
|
39841
|
+
/** ID of a site visitor who has logged in to the site. */
|
|
39842
|
+
memberId?: string;
|
|
39843
|
+
/**
|
|
39844
|
+
* ID of a Wix user. For example, the site owner or a
|
|
39845
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39846
|
+
*/
|
|
39847
|
+
wixUserId?: string;
|
|
39848
|
+
/** ID of an app. */
|
|
39849
|
+
appId?: string;
|
|
39850
|
+
/**
|
|
39851
|
+
* ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)
|
|
39852
|
+
* in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
|
|
39853
|
+
*/
|
|
39854
|
+
contactId?: string | null;
|
|
39855
|
+
}
|
|
39856
|
+
/** @oneof */
|
|
39857
|
+
interface IdentificationDataIdOneOf {
|
|
39858
|
+
/** ID of a site visitor who hasn't logged in to the site. */
|
|
39859
|
+
anonymousVisitorId?: string;
|
|
39860
|
+
/** ID of a site visitor who has logged in to the site. */
|
|
39861
|
+
memberId?: string;
|
|
39862
|
+
/**
|
|
39863
|
+
* ID of a Wix user. For example, the site owner or a
|
|
39864
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39865
|
+
*/
|
|
39866
|
+
wixUserId?: string;
|
|
39867
|
+
/** ID of an app. */
|
|
39868
|
+
appId?: string;
|
|
39869
|
+
}
|
|
39870
|
+
declare enum IdentityType$2 {
|
|
39871
|
+
UNKNOWN = "UNKNOWN",
|
|
39872
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
39873
|
+
MEMBER = "MEMBER",
|
|
39874
|
+
WIX_USER = "WIX_USER",
|
|
39875
|
+
APP = "APP"
|
|
39876
|
+
}
|
|
39877
|
+
interface ListTippableStaffRequest {
|
|
39878
|
+
/**
|
|
39879
|
+
* Whether to include staff who are only Wix users and not
|
|
39880
|
+
* [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/about-staff-members-and-resources)
|
|
39881
|
+
* in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
39882
|
+
* staff, including Bookings staff, site collaborators, or those who are both.
|
|
39883
|
+
* By default, or if you provide `{"includeWixUsers": false}`, only Bookings
|
|
39884
|
+
* staff members or those who are both are returned.
|
|
39885
|
+
*
|
|
39886
|
+
* Default: `false`.
|
|
39887
|
+
*/
|
|
39888
|
+
includeWixUsers?: boolean;
|
|
39889
|
+
/**
|
|
39890
|
+
* Filters the returned staff by name. If you provide a name as filter, only
|
|
39891
|
+
* staff whose names start with the given input are returned. The filter isn't
|
|
39892
|
+
* case sensitive.
|
|
39893
|
+
*
|
|
39894
|
+
* Max: 500 characters
|
|
39895
|
+
*/
|
|
39896
|
+
filterByName?: string | null;
|
|
39897
|
+
/**
|
|
39898
|
+
* Filters the returned staff by ID. If you provide a list of IDs as filter,
|
|
39899
|
+
* only staff members with exact matching IDs are returned.
|
|
39900
|
+
*
|
|
39901
|
+
* Max: 100 IDs
|
|
39902
|
+
*/
|
|
39903
|
+
filterByIds?: string[] | null;
|
|
39904
|
+
}
|
|
39905
|
+
interface ListTippableStaffResponse {
|
|
39906
|
+
/** Retrieved staff. */
|
|
39907
|
+
staff?: Staff$2[];
|
|
39908
|
+
}
|
|
39909
|
+
interface IdentificationDataNonNullableFields {
|
|
39910
|
+
anonymousVisitorId: string;
|
|
39911
|
+
memberId: string;
|
|
39912
|
+
wixUserId: string;
|
|
39913
|
+
appId: string;
|
|
39914
|
+
identityType: IdentityType$2;
|
|
39915
|
+
}
|
|
39916
|
+
interface StaffNonNullableFields$2 {
|
|
39917
|
+
identificationData?: IdentificationDataNonNullableFields;
|
|
39918
|
+
}
|
|
39919
|
+
interface ListTippableStaffResponseNonNullableFields {
|
|
39920
|
+
staff: StaffNonNullableFields$2[];
|
|
39921
|
+
}
|
|
39922
|
+
|
|
39009
39923
|
type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
39010
39924
|
getUrl: (context: any) => string;
|
|
39011
39925
|
httpMethod: K;
|
|
@@ -39016,11 +39930,11 @@ type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
39016
39930
|
__responseType: Q;
|
|
39017
39931
|
__originalResponseType: R;
|
|
39018
39932
|
};
|
|
39019
|
-
declare function
|
|
39933
|
+
declare function listTippableStaff(): __PublicMethodMetaInfo$1<'GET', {}, ListTippableStaffRequest, ListTippableStaffRequest$1, ListTippableStaffResponse & ListTippableStaffResponseNonNullableFields, ListTippableStaffResponse$1 & ListTippableStaffResponseNonNullableFields$1>;
|
|
39020
39934
|
|
|
39021
|
-
declare const meta$
|
|
39935
|
+
declare const meta$1_listTippableStaff: typeof listTippableStaff;
|
|
39022
39936
|
declare namespace meta$1 {
|
|
39023
|
-
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$
|
|
39937
|
+
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_listTippableStaff as listTippableStaff };
|
|
39024
39938
|
}
|
|
39025
39939
|
|
|
39026
39940
|
/**
|
|
@@ -40139,4 +41053,4 @@ declare namespace meta {
|
|
|
40139
41053
|
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_addTipDistributionsToOrder as addTipDistributionsToOrder, meta_getTipByDraftOrderId as getTipByDraftOrderId, meta_getTipByOrderId as getTipByOrderId, meta_getTipChoice as getTipChoice, meta_previewTip as previewTip, meta_queryTipDistributions as queryTipDistributions, meta_removeTipFromOrder as removeTipFromOrder, meta_setTipOnOrder as setTipOnOrder, meta_sumTipDistributionAmounts as sumTipDistributionAmounts, meta_updateTipChoice as updateTipChoice };
|
|
40140
41054
|
}
|
|
40141
41055
|
|
|
40142
|
-
export { meta$
|
|
41056
|
+
export { meta$p as abandonedCheckouts, meta$o as backInStockNotifications, meta$n as backInStockSettings, meta$m as cart, meta$k as checkout, meta$v as checkoutContent, meta$j as checkoutSettings, meta$i as checkoutTemplates, meta$4 as currencies, meta$l as currentCart, meta$h as deliveryProfile, meta$3 as deliverySolutions, meta$t as discountRules, meta$u as discountsCustomTrigger, meta$g as draftOrders, meta$e as giftVouchers, meta$d as localDeliveryOptions, meta$f as orderFulfillments, meta$s as orderInvoices, meta$b as orderPaymentRequests, meta$a as orderTransactions, meta$c as orders, meta$9 as ordersSettings, meta$8 as pickupLocations, meta$r as recommendations, meta$7 as shippingOptions, meta$6 as shippoConfigurations, meta$q as subscriptionContracts, meta$2 as tipSettings, meta$1 as tippableStaff, meta as tips, meta$5 as totalsCalculator };
|