@wix/ecom 1.0.814 → 1.0.816
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 +10 -8
- package/type-bundles/context.bundle.d.ts +3352 -2584
- package/type-bundles/index.bundle.d.ts +3352 -2584
- package/type-bundles/meta.bundle.d.ts +1758 -736
- package/type-bundles/service-plugins-context.bundle.d.ts +4 -0
- package/type-bundles/service-plugins.bundle.d.ts +4 -0
|
@@ -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 {
|
|
@@ -5818,6 +5818,10 @@ interface CatalogOverrideFields$7 {
|
|
|
5818
5818
|
physicalProperties?: PhysicalProperties$f;
|
|
5819
5819
|
/** Item image. */
|
|
5820
5820
|
image?: Image$6;
|
|
5821
|
+
/** Payment method selected for the item. */
|
|
5822
|
+
paymentOption?: PaymentOption$7;
|
|
5823
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
5824
|
+
depositAmount?: string | null;
|
|
5821
5825
|
/**
|
|
5822
5826
|
* Whether to save the payment method on the order.
|
|
5823
5827
|
*
|
|
@@ -5837,6 +5841,16 @@ interface Image$6 {
|
|
|
5837
5841
|
/** Image filename. Optional. */
|
|
5838
5842
|
filename?: string | null;
|
|
5839
5843
|
}
|
|
5844
|
+
interface PaymentOption$7 {
|
|
5845
|
+
/**
|
|
5846
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
5847
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
5848
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
5849
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
5850
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
5851
|
+
*/
|
|
5852
|
+
paymentOption?: PaymentOptionType$d;
|
|
5853
|
+
}
|
|
5840
5854
|
declare enum TaxableAddressType$b {
|
|
5841
5855
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
5842
5856
|
BUSINESS = "BUSINESS",
|
|
@@ -7775,6 +7789,10 @@ interface CatalogOverrideFields$6 {
|
|
|
7775
7789
|
physicalProperties?: PhysicalProperties$e;
|
|
7776
7790
|
/** Item image. */
|
|
7777
7791
|
image?: string;
|
|
7792
|
+
/** Payment method selected for the item. */
|
|
7793
|
+
paymentOption?: PaymentOption$6;
|
|
7794
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
7795
|
+
depositAmount?: string | null;
|
|
7778
7796
|
/**
|
|
7779
7797
|
* Whether to save the payment method on the order.
|
|
7780
7798
|
*
|
|
@@ -7782,6 +7800,16 @@ interface CatalogOverrideFields$6 {
|
|
|
7782
7800
|
*/
|
|
7783
7801
|
savePaymentMethod?: boolean | null;
|
|
7784
7802
|
}
|
|
7803
|
+
interface PaymentOption$6 {
|
|
7804
|
+
/**
|
|
7805
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
7806
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
7807
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
7808
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
7809
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
7810
|
+
*/
|
|
7811
|
+
paymentOption?: PaymentOptionType$c;
|
|
7812
|
+
}
|
|
7785
7813
|
declare enum TaxableAddressType$a {
|
|
7786
7814
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
7787
7815
|
BUSINESS = "BUSINESS",
|
|
@@ -9301,7 +9329,7 @@ interface GetCartResponseNonNullableFields {
|
|
|
9301
9329
|
cart?: CartNonNullableFields$2;
|
|
9302
9330
|
}
|
|
9303
9331
|
|
|
9304
|
-
type __PublicMethodMetaInfo$
|
|
9332
|
+
type __PublicMethodMetaInfo$m<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
9305
9333
|
getUrl: (context: any) => string;
|
|
9306
9334
|
httpMethod: K;
|
|
9307
9335
|
path: string;
|
|
@@ -9311,43 +9339,43 @@ type __PublicMethodMetaInfo$k<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
9311
9339
|
__responseType: Q;
|
|
9312
9340
|
__originalResponseType: R;
|
|
9313
9341
|
};
|
|
9314
|
-
declare function createCart(): __PublicMethodMetaInfo$
|
|
9315
|
-
declare function updateCart(): __PublicMethodMetaInfo$
|
|
9342
|
+
declare function createCart(): __PublicMethodMetaInfo$m<'POST', {}, CreateCartRequest, CreateCartRequest$1, CreateCartResponse & CreateCartResponseNonNullableFields, CreateCartResponse$1 & CreateCartResponseNonNullableFields$1>;
|
|
9343
|
+
declare function updateCart(): __PublicMethodMetaInfo$m<'PATCH', {
|
|
9316
9344
|
cartInfoId: string;
|
|
9317
9345
|
}, UpdateCartRequest$2, UpdateCartRequest$3, UpdateCartResponse$2 & UpdateCartResponseNonNullableFields$2, UpdateCartResponse$3 & UpdateCartResponseNonNullableFields$3>;
|
|
9318
|
-
declare function getCart(): __PublicMethodMetaInfo$
|
|
9346
|
+
declare function getCart(): __PublicMethodMetaInfo$m<'GET', {
|
|
9319
9347
|
id: string;
|
|
9320
9348
|
}, GetCartRequest, GetCartRequest$1, GetCartResponse & GetCartResponseNonNullableFields, GetCartResponse$1 & GetCartResponseNonNullableFields$1>;
|
|
9321
|
-
declare function addToCart(): __PublicMethodMetaInfo$
|
|
9349
|
+
declare function addToCart(): __PublicMethodMetaInfo$m<'POST', {
|
|
9322
9350
|
id: string;
|
|
9323
9351
|
}, AddToCartRequest, AddToCartRequest$1, AddToCartResponse$2 & AddToCartResponseNonNullableFields$2, AddToCartResponse$3 & AddToCartResponseNonNullableFields$3>;
|
|
9324
|
-
declare function removeLineItems$1(): __PublicMethodMetaInfo$
|
|
9352
|
+
declare function removeLineItems$1(): __PublicMethodMetaInfo$m<'POST', {
|
|
9325
9353
|
id: string;
|
|
9326
9354
|
}, RemoveLineItemsRequest$2, RemoveLineItemsRequest$3, RemoveLineItemsResponse$4 & RemoveLineItemsResponseNonNullableFields$4, RemoveLineItemsResponse$5 & RemoveLineItemsResponseNonNullableFields$5>;
|
|
9327
|
-
declare function createCheckout$1(): __PublicMethodMetaInfo$
|
|
9355
|
+
declare function createCheckout$1(): __PublicMethodMetaInfo$m<'POST', {
|
|
9328
9356
|
id: string;
|
|
9329
9357
|
}, CreateCheckoutRequest$2, CreateCheckoutRequest$3, CreateCheckoutResponse$4 & CreateCheckoutResponseNonNullableFields$4, CreateCheckoutResponse$5 & CreateCheckoutResponseNonNullableFields$5>;
|
|
9330
|
-
declare function removeCoupon$1(): __PublicMethodMetaInfo$
|
|
9358
|
+
declare function removeCoupon$1(): __PublicMethodMetaInfo$m<'POST', {
|
|
9331
9359
|
id: string;
|
|
9332
9360
|
}, RemoveCouponRequest$2, RemoveCouponRequest$3, RemoveCouponResponse$4 & RemoveCouponResponseNonNullableFields$4, RemoveCouponResponse$5 & RemoveCouponResponseNonNullableFields$5>;
|
|
9333
|
-
declare function updateLineItemsQuantity$1(): __PublicMethodMetaInfo$
|
|
9361
|
+
declare function updateLineItemsQuantity$1(): __PublicMethodMetaInfo$m<'POST', {
|
|
9334
9362
|
id: string;
|
|
9335
9363
|
}, UpdateLineItemsQuantityRequest$2, UpdateLineItemsQuantityRequest$3, UpdateLineItemsQuantityResponse$4 & UpdateLineItemsQuantityResponseNonNullableFields$4, UpdateLineItemsQuantityResponse$5 & UpdateLineItemsQuantityResponseNonNullableFields$5>;
|
|
9336
|
-
declare function estimateTotals(): __PublicMethodMetaInfo$
|
|
9364
|
+
declare function estimateTotals(): __PublicMethodMetaInfo$m<'POST', {
|
|
9337
9365
|
id: string;
|
|
9338
9366
|
}, EstimateTotalsRequest, EstimateTotalsRequest$1, EstimateTotalsResponse$2 & EstimateTotalsResponseNonNullableFields$2, EstimateTotalsResponse$3 & EstimateTotalsResponseNonNullableFields$3>;
|
|
9339
|
-
declare function deleteCart(): __PublicMethodMetaInfo$
|
|
9367
|
+
declare function deleteCart(): __PublicMethodMetaInfo$m<'DELETE', {
|
|
9340
9368
|
id: string;
|
|
9341
9369
|
}, DeleteCartRequest, DeleteCartRequest$1, DeleteCartResponse$2, DeleteCartResponse$3>;
|
|
9342
9370
|
|
|
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$
|
|
9371
|
+
declare const meta$m_addToCart: typeof addToCart;
|
|
9372
|
+
declare const meta$m_createCart: typeof createCart;
|
|
9373
|
+
declare const meta$m_deleteCart: typeof deleteCart;
|
|
9374
|
+
declare const meta$m_estimateTotals: typeof estimateTotals;
|
|
9375
|
+
declare const meta$m_getCart: typeof getCart;
|
|
9376
|
+
declare const meta$m_updateCart: typeof updateCart;
|
|
9377
|
+
declare namespace meta$m {
|
|
9378
|
+
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
9379
|
}
|
|
9352
9380
|
|
|
9353
9381
|
interface Cart$1 {
|
|
@@ -9812,6 +9840,10 @@ interface CatalogOverrideFields$5 {
|
|
|
9812
9840
|
physicalProperties?: PhysicalProperties$d;
|
|
9813
9841
|
/** Item image. */
|
|
9814
9842
|
image?: Image$5;
|
|
9843
|
+
/** Payment method selected for the item. */
|
|
9844
|
+
paymentOption?: PaymentOption$5;
|
|
9845
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
9846
|
+
depositAmount?: string | null;
|
|
9815
9847
|
/**
|
|
9816
9848
|
* Whether to save the payment method on the order.
|
|
9817
9849
|
*
|
|
@@ -9831,6 +9863,16 @@ interface Image$5 {
|
|
|
9831
9863
|
/** Image filename. Optional. */
|
|
9832
9864
|
filename?: string | null;
|
|
9833
9865
|
}
|
|
9866
|
+
interface PaymentOption$5 {
|
|
9867
|
+
/**
|
|
9868
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
9869
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
9870
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
9871
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
9872
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
9873
|
+
*/
|
|
9874
|
+
paymentOption?: PaymentOptionType$b;
|
|
9875
|
+
}
|
|
9834
9876
|
declare enum TaxableAddressType$9 {
|
|
9835
9877
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
9836
9878
|
BUSINESS = "BUSINESS",
|
|
@@ -11729,6 +11771,10 @@ interface CatalogOverrideFields$4 {
|
|
|
11729
11771
|
physicalProperties?: PhysicalProperties$c;
|
|
11730
11772
|
/** Item image. */
|
|
11731
11773
|
image?: string;
|
|
11774
|
+
/** Payment method selected for the item. */
|
|
11775
|
+
paymentOption?: PaymentOption$4;
|
|
11776
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
11777
|
+
depositAmount?: string | null;
|
|
11732
11778
|
/**
|
|
11733
11779
|
* Whether to save the payment method on the order.
|
|
11734
11780
|
*
|
|
@@ -11736,6 +11782,16 @@ interface CatalogOverrideFields$4 {
|
|
|
11736
11782
|
*/
|
|
11737
11783
|
savePaymentMethod?: boolean | null;
|
|
11738
11784
|
}
|
|
11785
|
+
interface PaymentOption$4 {
|
|
11786
|
+
/**
|
|
11787
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
11788
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
11789
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
11790
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
11791
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
11792
|
+
*/
|
|
11793
|
+
paymentOption?: PaymentOptionType$a;
|
|
11794
|
+
}
|
|
11739
11795
|
declare enum TaxableAddressType$8 {
|
|
11740
11796
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
11741
11797
|
BUSINESS = "BUSINESS",
|
|
@@ -13215,7 +13271,7 @@ interface EstimateTotalsResponseNonNullableFields {
|
|
|
13215
13271
|
violations: ViolationNonNullableFields$2[];
|
|
13216
13272
|
}
|
|
13217
13273
|
|
|
13218
|
-
type __PublicMethodMetaInfo$
|
|
13274
|
+
type __PublicMethodMetaInfo$l<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
13219
13275
|
getUrl: (context: any) => string;
|
|
13220
13276
|
httpMethod: K;
|
|
13221
13277
|
path: string;
|
|
@@ -13225,27 +13281,27 @@ type __PublicMethodMetaInfo$j<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
13225
13281
|
__responseType: Q;
|
|
13226
13282
|
__originalResponseType: R;
|
|
13227
13283
|
};
|
|
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$
|
|
13284
|
+
declare function getCurrentCart(): __PublicMethodMetaInfo$l<'GET', {}, GetCurrentCartRequest, GetCurrentCartRequest$1, GetCurrentCartResponse & GetCurrentCartResponseNonNullableFields, GetCurrentCartResponse$1 & GetCurrentCartResponseNonNullableFields$1>;
|
|
13285
|
+
declare function updateCurrentCart(): __PublicMethodMetaInfo$l<'PATCH', {}, UpdateCartRequest, UpdateCartRequest$1, UpdateCartResponse & UpdateCartResponseNonNullableFields, UpdateCartResponse$1 & UpdateCartResponseNonNullableFields$1>;
|
|
13286
|
+
declare function addToCurrentCart(): __PublicMethodMetaInfo$l<'POST', {}, AddToCurrentCartRequest, AddToCurrentCartRequest$1, AddToCartResponse & AddToCartResponseNonNullableFields, AddToCartResponse$1 & AddToCartResponseNonNullableFields$1>;
|
|
13287
|
+
declare function removeLineItemsFromCurrentCart(): __PublicMethodMetaInfo$l<'POST', {}, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsFromCurrentCartRequest$1, RemoveLineItemsResponse$2 & RemoveLineItemsResponseNonNullableFields$2, RemoveLineItemsResponse$3 & RemoveLineItemsResponseNonNullableFields$3>;
|
|
13288
|
+
declare function createCheckoutFromCurrentCart(): __PublicMethodMetaInfo$l<'POST', {}, CreateCheckoutFromCurrentCartRequest, CreateCheckoutFromCurrentCartRequest$1, CreateCheckoutResponse$2 & CreateCheckoutResponseNonNullableFields$2, CreateCheckoutResponse$3 & CreateCheckoutResponseNonNullableFields$3>;
|
|
13289
|
+
declare function removeCouponFromCurrentCart(): __PublicMethodMetaInfo$l<'POST', {}, RemoveCouponFromCurrentCartRequest, RemoveCouponFromCurrentCartRequest$1, RemoveCouponResponse$2 & RemoveCouponResponseNonNullableFields$2, RemoveCouponResponse$3 & RemoveCouponResponseNonNullableFields$3>;
|
|
13290
|
+
declare function updateCurrentCartLineItemQuantity(): __PublicMethodMetaInfo$l<'POST', {}, UpdateCurrentCartLineItemQuantityRequest, UpdateCurrentCartLineItemQuantityRequest$1, UpdateLineItemsQuantityResponse$2 & UpdateLineItemsQuantityResponseNonNullableFields$2, UpdateLineItemsQuantityResponse$3 & UpdateLineItemsQuantityResponseNonNullableFields$3>;
|
|
13291
|
+
declare function estimateCurrentCartTotals(): __PublicMethodMetaInfo$l<'POST', {}, EstimateCurrentCartTotalsRequest, EstimateCurrentCartTotalsRequest$1, EstimateTotalsResponse & EstimateTotalsResponseNonNullableFields, EstimateTotalsResponse$1 & EstimateTotalsResponseNonNullableFields$1>;
|
|
13292
|
+
declare function deleteCurrentCart(): __PublicMethodMetaInfo$l<'DELETE', {}, DeleteCurrentCartRequest, DeleteCurrentCartRequest$1, DeleteCartResponse, DeleteCartResponse$1>;
|
|
13237
13293
|
|
|
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$
|
|
13294
|
+
declare const meta$l_addToCurrentCart: typeof addToCurrentCart;
|
|
13295
|
+
declare const meta$l_createCheckoutFromCurrentCart: typeof createCheckoutFromCurrentCart;
|
|
13296
|
+
declare const meta$l_deleteCurrentCart: typeof deleteCurrentCart;
|
|
13297
|
+
declare const meta$l_estimateCurrentCartTotals: typeof estimateCurrentCartTotals;
|
|
13298
|
+
declare const meta$l_getCurrentCart: typeof getCurrentCart;
|
|
13299
|
+
declare const meta$l_removeCouponFromCurrentCart: typeof removeCouponFromCurrentCart;
|
|
13300
|
+
declare const meta$l_removeLineItemsFromCurrentCart: typeof removeLineItemsFromCurrentCart;
|
|
13301
|
+
declare const meta$l_updateCurrentCart: typeof updateCurrentCart;
|
|
13302
|
+
declare const meta$l_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
|
|
13303
|
+
declare namespace meta$l {
|
|
13304
|
+
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
13305
|
}
|
|
13250
13306
|
|
|
13251
13307
|
interface Checkout$1 {
|
|
@@ -13391,7 +13447,7 @@ interface Checkout$1 {
|
|
|
13391
13447
|
*
|
|
13392
13448
|
* [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
13449
|
*/
|
|
13394
|
-
extendedFields?: ExtendedFields$
|
|
13450
|
+
extendedFields?: ExtendedFields$f;
|
|
13395
13451
|
/**
|
|
13396
13452
|
* Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
|
|
13397
13453
|
* @readonly
|
|
@@ -13889,6 +13945,10 @@ interface CatalogOverrideFields$3 {
|
|
|
13889
13945
|
physicalProperties?: PhysicalProperties$b;
|
|
13890
13946
|
/** Item image. */
|
|
13891
13947
|
image?: Image$4;
|
|
13948
|
+
/** Payment method selected for the item. */
|
|
13949
|
+
paymentOption?: PaymentOption$3;
|
|
13950
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
13951
|
+
depositAmount?: string | null;
|
|
13892
13952
|
/**
|
|
13893
13953
|
* Whether to save the payment method on the order.
|
|
13894
13954
|
*
|
|
@@ -13908,13 +13968,23 @@ interface Image$4 {
|
|
|
13908
13968
|
/** Image filename. Optional. */
|
|
13909
13969
|
filename?: string | null;
|
|
13910
13970
|
}
|
|
13971
|
+
interface PaymentOption$3 {
|
|
13972
|
+
/**
|
|
13973
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
13974
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
13975
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
13976
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
13977
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
13978
|
+
*/
|
|
13979
|
+
paymentOption?: PaymentOptionType$9;
|
|
13980
|
+
}
|
|
13911
13981
|
declare enum TaxableAddressType$7 {
|
|
13912
13982
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
13913
13983
|
BUSINESS = "BUSINESS",
|
|
13914
13984
|
BILLING = "BILLING",
|
|
13915
13985
|
SHIPPING = "SHIPPING"
|
|
13916
13986
|
}
|
|
13917
|
-
interface ExtendedFields$
|
|
13987
|
+
interface ExtendedFields$f {
|
|
13918
13988
|
/**
|
|
13919
13989
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
13920
13990
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -15635,7 +15705,7 @@ interface Checkout {
|
|
|
15635
15705
|
*
|
|
15636
15706
|
* [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
15707
|
*/
|
|
15638
|
-
extendedFields?: ExtendedFields$
|
|
15708
|
+
extendedFields?: ExtendedFields$e;
|
|
15639
15709
|
/**
|
|
15640
15710
|
* Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
|
|
15641
15711
|
* @readonly
|
|
@@ -16103,6 +16173,10 @@ interface CatalogOverrideFields$2 {
|
|
|
16103
16173
|
physicalProperties?: PhysicalProperties$a;
|
|
16104
16174
|
/** Item image. */
|
|
16105
16175
|
image?: string;
|
|
16176
|
+
/** Payment method selected for the item. */
|
|
16177
|
+
paymentOption?: PaymentOption$2;
|
|
16178
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
16179
|
+
depositAmount?: string | null;
|
|
16106
16180
|
/**
|
|
16107
16181
|
* Whether to save the payment method on the order.
|
|
16108
16182
|
*
|
|
@@ -16110,13 +16184,23 @@ interface CatalogOverrideFields$2 {
|
|
|
16110
16184
|
*/
|
|
16111
16185
|
savePaymentMethod?: boolean | null;
|
|
16112
16186
|
}
|
|
16187
|
+
interface PaymentOption$2 {
|
|
16188
|
+
/**
|
|
16189
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
16190
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
16191
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
16192
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
16193
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
16194
|
+
*/
|
|
16195
|
+
paymentOption?: PaymentOptionType$8;
|
|
16196
|
+
}
|
|
16113
16197
|
declare enum TaxableAddressType$6 {
|
|
16114
16198
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
16115
16199
|
BUSINESS = "BUSINESS",
|
|
16116
16200
|
BILLING = "BILLING",
|
|
16117
16201
|
SHIPPING = "SHIPPING"
|
|
16118
16202
|
}
|
|
16119
|
-
interface ExtendedFields$
|
|
16203
|
+
interface ExtendedFields$e {
|
|
16120
16204
|
/**
|
|
16121
16205
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
16122
16206
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -17652,7 +17736,7 @@ interface GetCheckoutPaymentSettingsResponseNonNullableFields {
|
|
|
17652
17736
|
blockedPaymentOptions: GetCheckoutPaymentSettingsResponsePaymentOption[];
|
|
17653
17737
|
}
|
|
17654
17738
|
|
|
17655
|
-
type __PublicMethodMetaInfo$
|
|
17739
|
+
type __PublicMethodMetaInfo$k<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
17656
17740
|
getUrl: (context: any) => string;
|
|
17657
17741
|
httpMethod: K;
|
|
17658
17742
|
path: string;
|
|
@@ -17662,62 +17746,62 @@ type __PublicMethodMetaInfo$i<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
17662
17746
|
__responseType: Q;
|
|
17663
17747
|
__originalResponseType: R;
|
|
17664
17748
|
};
|
|
17665
|
-
declare function createCheckout(): __PublicMethodMetaInfo$
|
|
17666
|
-
declare function getCheckout(): __PublicMethodMetaInfo$
|
|
17749
|
+
declare function createCheckout(): __PublicMethodMetaInfo$k<'POST', {}, CreateCheckoutRequest, CreateCheckoutRequest$1, CreateCheckoutResponse & CreateCheckoutResponseNonNullableFields, CreateCheckoutResponse$1 & CreateCheckoutResponseNonNullableFields$1>;
|
|
17750
|
+
declare function getCheckout(): __PublicMethodMetaInfo$k<'GET', {
|
|
17667
17751
|
id: string;
|
|
17668
17752
|
}, GetCheckoutRequest, GetCheckoutRequest$1, GetCheckoutResponse & GetCheckoutResponseNonNullableFields, GetCheckoutResponse$1 & GetCheckoutResponseNonNullableFields$1>;
|
|
17669
|
-
declare function getCheckoutByCartId(): __PublicMethodMetaInfo$
|
|
17753
|
+
declare function getCheckoutByCartId(): __PublicMethodMetaInfo$k<'GET', {
|
|
17670
17754
|
id: string;
|
|
17671
17755
|
}, GetCheckoutByCartIdRequest, GetCheckoutByCartIdRequest$1, GetCheckoutByCartIdResponse & GetCheckoutByCartIdResponseNonNullableFields, GetCheckoutByCartIdResponse$1 & GetCheckoutByCartIdResponseNonNullableFields$1>;
|
|
17672
|
-
declare function getCheckoutUrl(): __PublicMethodMetaInfo$
|
|
17756
|
+
declare function getCheckoutUrl(): __PublicMethodMetaInfo$k<'GET', {
|
|
17673
17757
|
id: string;
|
|
17674
17758
|
}, GetCheckoutURLRequest, GetCheckoutURLRequest$1, GetCheckoutURLResponse & GetCheckoutURLResponseNonNullableFields, GetCheckoutURLResponse$1 & GetCheckoutURLResponseNonNullableFields$1>;
|
|
17675
|
-
declare function updateCheckout(): __PublicMethodMetaInfo$
|
|
17759
|
+
declare function updateCheckout(): __PublicMethodMetaInfo$k<'PATCH', {
|
|
17676
17760
|
checkoutId: string;
|
|
17677
17761
|
}, UpdateCheckoutRequest, UpdateCheckoutRequest$1, UpdateCheckoutResponse & UpdateCheckoutResponseNonNullableFields, UpdateCheckoutResponse$1 & UpdateCheckoutResponseNonNullableFields$1>;
|
|
17678
|
-
declare function removeCoupon(): __PublicMethodMetaInfo$
|
|
17762
|
+
declare function removeCoupon(): __PublicMethodMetaInfo$k<'POST', {
|
|
17679
17763
|
id: string;
|
|
17680
17764
|
}, RemoveCouponRequest, RemoveCouponRequest$1, RemoveCouponResponse & RemoveCouponResponseNonNullableFields, RemoveCouponResponse$1 & RemoveCouponResponseNonNullableFields$1>;
|
|
17681
|
-
declare function removeGiftCard(): __PublicMethodMetaInfo$
|
|
17765
|
+
declare function removeGiftCard(): __PublicMethodMetaInfo$k<'POST', {
|
|
17682
17766
|
id: string;
|
|
17683
17767
|
}, RemoveGiftCardRequest, RemoveGiftCardRequest$1, RemoveGiftCardResponse & RemoveGiftCardResponseNonNullableFields, RemoveGiftCardResponse$1 & RemoveGiftCardResponseNonNullableFields$1>;
|
|
17684
|
-
declare function removeOverrideCheckoutUrl(): __PublicMethodMetaInfo$
|
|
17768
|
+
declare function removeOverrideCheckoutUrl(): __PublicMethodMetaInfo$k<'POST', {
|
|
17685
17769
|
id: string;
|
|
17686
17770
|
}, RemoveOverrideCheckoutUrlRequest, RemoveOverrideCheckoutUrlRequest$1, RemoveOverrideCheckoutUrlResponse & RemoveOverrideCheckoutUrlResponseNonNullableFields, RemoveOverrideCheckoutUrlResponse$1 & RemoveOverrideCheckoutUrlResponseNonNullableFields$1>;
|
|
17687
|
-
declare function addToCheckout(): __PublicMethodMetaInfo$
|
|
17771
|
+
declare function addToCheckout(): __PublicMethodMetaInfo$k<'POST', {
|
|
17688
17772
|
id: string;
|
|
17689
17773
|
}, AddToCheckoutRequest, AddToCheckoutRequest$1, AddToCheckoutResponse & AddToCheckoutResponseNonNullableFields, AddToCheckoutResponse$1 & AddToCheckoutResponseNonNullableFields$1>;
|
|
17690
|
-
declare function removeLineItems(): __PublicMethodMetaInfo$
|
|
17774
|
+
declare function removeLineItems(): __PublicMethodMetaInfo$k<'POST', {
|
|
17691
17775
|
id: string;
|
|
17692
17776
|
}, RemoveLineItemsRequest, RemoveLineItemsRequest$1, RemoveLineItemsResponse & RemoveLineItemsResponseNonNullableFields, RemoveLineItemsResponse$1 & RemoveLineItemsResponseNonNullableFields$1>;
|
|
17693
|
-
declare function createOrder$1(): __PublicMethodMetaInfo$
|
|
17777
|
+
declare function createOrder$1(): __PublicMethodMetaInfo$k<'POST', {
|
|
17694
17778
|
id: string;
|
|
17695
17779
|
}, CreateOrderRequest$2, CreateOrderRequest$3, CreateOrderResponse$2 & CreateOrderResponseNonNullableFields$2, CreateOrderResponse$3 & CreateOrderResponseNonNullableFields$3>;
|
|
17696
|
-
declare function markCheckoutAsCompleted(): __PublicMethodMetaInfo$
|
|
17780
|
+
declare function markCheckoutAsCompleted(): __PublicMethodMetaInfo$k<'POST', {
|
|
17697
17781
|
id: string;
|
|
17698
17782
|
}, MarkCheckoutAsCompletedRequest, MarkCheckoutAsCompletedRequest$1, MarkCheckoutAsCompletedResponse, MarkCheckoutAsCompletedResponse$1>;
|
|
17699
|
-
declare function updateLineItemsQuantity(): __PublicMethodMetaInfo$
|
|
17783
|
+
declare function updateLineItemsQuantity(): __PublicMethodMetaInfo$k<'POST', {
|
|
17700
17784
|
id: string;
|
|
17701
17785
|
}, UpdateLineItemsQuantityRequest, UpdateLineItemsQuantityRequest$1, UpdateLineItemsQuantityResponse & UpdateLineItemsQuantityResponseNonNullableFields, UpdateLineItemsQuantityResponse$1 & UpdateLineItemsQuantityResponseNonNullableFields$1>;
|
|
17702
|
-
declare function getCheckoutPaymentSettings(): __PublicMethodMetaInfo$
|
|
17786
|
+
declare function getCheckoutPaymentSettings(): __PublicMethodMetaInfo$k<'GET', {
|
|
17703
17787
|
id: string;
|
|
17704
17788
|
}, GetCheckoutPaymentSettingsRequest, GetCheckoutPaymentSettingsRequest$1, GetCheckoutPaymentSettingsResponse & GetCheckoutPaymentSettingsResponseNonNullableFields, GetCheckoutPaymentSettingsResponse$1 & GetCheckoutPaymentSettingsResponseNonNullableFields$1>;
|
|
17705
17789
|
|
|
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$
|
|
17790
|
+
declare const meta$k_addToCheckout: typeof addToCheckout;
|
|
17791
|
+
declare const meta$k_createCheckout: typeof createCheckout;
|
|
17792
|
+
declare const meta$k_getCheckout: typeof getCheckout;
|
|
17793
|
+
declare const meta$k_getCheckoutByCartId: typeof getCheckoutByCartId;
|
|
17794
|
+
declare const meta$k_getCheckoutPaymentSettings: typeof getCheckoutPaymentSettings;
|
|
17795
|
+
declare const meta$k_getCheckoutUrl: typeof getCheckoutUrl;
|
|
17796
|
+
declare const meta$k_markCheckoutAsCompleted: typeof markCheckoutAsCompleted;
|
|
17797
|
+
declare const meta$k_removeCoupon: typeof removeCoupon;
|
|
17798
|
+
declare const meta$k_removeGiftCard: typeof removeGiftCard;
|
|
17799
|
+
declare const meta$k_removeLineItems: typeof removeLineItems;
|
|
17800
|
+
declare const meta$k_removeOverrideCheckoutUrl: typeof removeOverrideCheckoutUrl;
|
|
17801
|
+
declare const meta$k_updateCheckout: typeof updateCheckout;
|
|
17802
|
+
declare const meta$k_updateLineItemsQuantity: typeof updateLineItemsQuantity;
|
|
17803
|
+
declare namespace meta$k {
|
|
17804
|
+
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
17805
|
}
|
|
17722
17806
|
|
|
17723
17807
|
interface CheckoutSettings$1 {
|
|
@@ -18155,7 +18239,7 @@ interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
|
18155
18239
|
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
18156
18240
|
}
|
|
18157
18241
|
|
|
18158
|
-
type __PublicMethodMetaInfo$
|
|
18242
|
+
type __PublicMethodMetaInfo$j<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
18159
18243
|
getUrl: (context: any) => string;
|
|
18160
18244
|
httpMethod: K;
|
|
18161
18245
|
path: string;
|
|
@@ -18165,13 +18249,13 @@ type __PublicMethodMetaInfo$h<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
18165
18249
|
__responseType: Q;
|
|
18166
18250
|
__originalResponseType: R;
|
|
18167
18251
|
};
|
|
18168
|
-
declare function getCheckoutSettings(): __PublicMethodMetaInfo$
|
|
18169
|
-
declare function updateCheckoutSettings(): __PublicMethodMetaInfo$
|
|
18252
|
+
declare function getCheckoutSettings(): __PublicMethodMetaInfo$j<'GET', {}, GetCheckoutSettingsRequest, GetCheckoutSettingsRequest$1, GetCheckoutSettingsResponse & GetCheckoutSettingsResponseNonNullableFields, GetCheckoutSettingsResponse$1 & GetCheckoutSettingsResponseNonNullableFields$1>;
|
|
18253
|
+
declare function updateCheckoutSettings(): __PublicMethodMetaInfo$j<'PATCH', {}, UpdateCheckoutSettingsRequest, UpdateCheckoutSettingsRequest$1, UpdateCheckoutSettingsResponse & UpdateCheckoutSettingsResponseNonNullableFields, UpdateCheckoutSettingsResponse$1 & UpdateCheckoutSettingsResponseNonNullableFields$1>;
|
|
18170
18254
|
|
|
18171
|
-
declare const meta$
|
|
18172
|
-
declare const meta$
|
|
18173
|
-
declare namespace meta$
|
|
18174
|
-
export { type __PublicMethodMetaInfo$
|
|
18255
|
+
declare const meta$j_getCheckoutSettings: typeof getCheckoutSettings;
|
|
18256
|
+
declare const meta$j_updateCheckoutSettings: typeof updateCheckoutSettings;
|
|
18257
|
+
declare namespace meta$j {
|
|
18258
|
+
export { type __PublicMethodMetaInfo$j as __PublicMethodMetaInfo, meta$j_getCheckoutSettings as getCheckoutSettings, meta$j_updateCheckoutSettings as updateCheckoutSettings };
|
|
18175
18259
|
}
|
|
18176
18260
|
|
|
18177
18261
|
interface CheckoutTemplate$1 {
|
|
@@ -18306,6 +18390,10 @@ interface CatalogOverrideFields$1 {
|
|
|
18306
18390
|
physicalProperties?: PhysicalProperties$9;
|
|
18307
18391
|
/** Item image. */
|
|
18308
18392
|
image?: Image$3;
|
|
18393
|
+
/** Payment method selected for the item. */
|
|
18394
|
+
paymentOption?: PaymentOption$1;
|
|
18395
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
18396
|
+
depositAmount?: string | null;
|
|
18309
18397
|
/**
|
|
18310
18398
|
* Whether to save the payment method on the order.
|
|
18311
18399
|
*
|
|
@@ -18405,6 +18493,16 @@ interface Image$3 {
|
|
|
18405
18493
|
/** Image filename. Optional. */
|
|
18406
18494
|
filename?: string | null;
|
|
18407
18495
|
}
|
|
18496
|
+
interface PaymentOption$1 {
|
|
18497
|
+
/**
|
|
18498
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
18499
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
18500
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
18501
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
18502
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
18503
|
+
*/
|
|
18504
|
+
paymentOption?: PaymentOptionType$7;
|
|
18505
|
+
}
|
|
18408
18506
|
/** Type of selected payment option for catalog item */
|
|
18409
18507
|
declare enum PaymentOptionType$7 {
|
|
18410
18508
|
/** The entire payment for this item happens as part of the checkout. */
|
|
@@ -18616,7 +18714,7 @@ interface QueryCheckoutTemplatesRequest$1 {
|
|
|
18616
18714
|
}
|
|
18617
18715
|
interface CursorQuery$d extends CursorQueryPagingMethodOneOf$d {
|
|
18618
18716
|
/** 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$
|
|
18717
|
+
cursorPaging?: CursorPaging$l;
|
|
18620
18718
|
/**
|
|
18621
18719
|
* Filter object in the following format:
|
|
18622
18720
|
* `"filter" : {
|
|
@@ -18631,24 +18729,24 @@ interface CursorQuery$d extends CursorQueryPagingMethodOneOf$d {
|
|
|
18631
18729
|
* Sort object in the following format:
|
|
18632
18730
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
18633
18731
|
*/
|
|
18634
|
-
sort?: Sorting$
|
|
18732
|
+
sort?: Sorting$l[];
|
|
18635
18733
|
}
|
|
18636
18734
|
/** @oneof */
|
|
18637
18735
|
interface CursorQueryPagingMethodOneOf$d {
|
|
18638
18736
|
/** 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$
|
|
18737
|
+
cursorPaging?: CursorPaging$l;
|
|
18640
18738
|
}
|
|
18641
|
-
interface Sorting$
|
|
18739
|
+
interface Sorting$l {
|
|
18642
18740
|
/** Name of the field to sort by. */
|
|
18643
18741
|
fieldName?: string;
|
|
18644
18742
|
/** Sort order. */
|
|
18645
|
-
order?: SortOrder$
|
|
18743
|
+
order?: SortOrder$l;
|
|
18646
18744
|
}
|
|
18647
|
-
declare enum SortOrder$
|
|
18745
|
+
declare enum SortOrder$l {
|
|
18648
18746
|
ASC = "ASC",
|
|
18649
18747
|
DESC = "DESC"
|
|
18650
18748
|
}
|
|
18651
|
-
interface CursorPaging$
|
|
18749
|
+
interface CursorPaging$l {
|
|
18652
18750
|
/** Number of items to load. */
|
|
18653
18751
|
limit?: number | null;
|
|
18654
18752
|
/**
|
|
@@ -18670,7 +18768,7 @@ interface CursorPagingMetadata$j {
|
|
|
18670
18768
|
/** Number of items returned in the response. */
|
|
18671
18769
|
count?: number | null;
|
|
18672
18770
|
/** Offset that was requested. */
|
|
18673
|
-
cursors?: Cursors$
|
|
18771
|
+
cursors?: Cursors$l;
|
|
18674
18772
|
/**
|
|
18675
18773
|
* Indicates if there are more results after the current page.
|
|
18676
18774
|
* If `true`, another page of results can be retrieved.
|
|
@@ -18678,7 +18776,7 @@ interface CursorPagingMetadata$j {
|
|
|
18678
18776
|
*/
|
|
18679
18777
|
hasNext?: boolean | null;
|
|
18680
18778
|
}
|
|
18681
|
-
interface Cursors$
|
|
18779
|
+
interface Cursors$l {
|
|
18682
18780
|
/** Cursor pointing to next page in the list of results. */
|
|
18683
18781
|
next?: string | null;
|
|
18684
18782
|
/** Cursor pointing to previous page in the list of results. */
|
|
@@ -18991,6 +19089,10 @@ interface CatalogOverrideFields {
|
|
|
18991
19089
|
physicalProperties?: PhysicalProperties$8;
|
|
18992
19090
|
/** Item image. */
|
|
18993
19091
|
image?: string;
|
|
19092
|
+
/** Payment method selected for the item. */
|
|
19093
|
+
paymentOption?: PaymentOption;
|
|
19094
|
+
/** Partial payment to be paid upfront during the checkout. */
|
|
19095
|
+
depositAmount?: string | null;
|
|
18994
19096
|
/**
|
|
18995
19097
|
* Whether to save the payment method on the order.
|
|
18996
19098
|
*
|
|
@@ -19078,6 +19180,16 @@ interface PhysicalProperties$8 {
|
|
|
19078
19180
|
/** Whether this line item is shippable. */
|
|
19079
19181
|
shippable?: boolean;
|
|
19080
19182
|
}
|
|
19183
|
+
interface PaymentOption {
|
|
19184
|
+
/**
|
|
19185
|
+
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
19186
|
+
* + `FULL_PAYMENT_OFFLINE`: The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
|
|
19187
|
+
* + `MEMBERSHIP`: Payment for this item is done by charging a membership. When selected, `price` is `0`.
|
|
19188
|
+
* + `DEPOSIT_ONLINE`: Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`.
|
|
19189
|
+
* + `MEMBERSHIP_OFFLINE`: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
|
|
19190
|
+
*/
|
|
19191
|
+
paymentOption?: PaymentOptionType$6;
|
|
19192
|
+
}
|
|
19081
19193
|
/** Type of selected payment option for catalog item */
|
|
19082
19194
|
declare enum PaymentOptionType$6 {
|
|
19083
19195
|
/** The entire payment for this item happens as part of the checkout. */
|
|
@@ -19283,7 +19395,7 @@ interface QueryCheckoutTemplatesRequest {
|
|
|
19283
19395
|
}
|
|
19284
19396
|
interface CursorQuery$c extends CursorQueryPagingMethodOneOf$c {
|
|
19285
19397
|
/** 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$
|
|
19398
|
+
cursorPaging?: CursorPaging$k;
|
|
19287
19399
|
/**
|
|
19288
19400
|
* Filter object in the following format:
|
|
19289
19401
|
* `"filter" : {
|
|
@@ -19298,24 +19410,24 @@ interface CursorQuery$c extends CursorQueryPagingMethodOneOf$c {
|
|
|
19298
19410
|
* Sort object in the following format:
|
|
19299
19411
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
19300
19412
|
*/
|
|
19301
|
-
sort?: Sorting$
|
|
19413
|
+
sort?: Sorting$k[];
|
|
19302
19414
|
}
|
|
19303
19415
|
/** @oneof */
|
|
19304
19416
|
interface CursorQueryPagingMethodOneOf$c {
|
|
19305
19417
|
/** 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$
|
|
19418
|
+
cursorPaging?: CursorPaging$k;
|
|
19307
19419
|
}
|
|
19308
|
-
interface Sorting$
|
|
19420
|
+
interface Sorting$k {
|
|
19309
19421
|
/** Name of the field to sort by. */
|
|
19310
19422
|
fieldName?: string;
|
|
19311
19423
|
/** Sort order. */
|
|
19312
|
-
order?: SortOrder$
|
|
19424
|
+
order?: SortOrder$k;
|
|
19313
19425
|
}
|
|
19314
|
-
declare enum SortOrder$
|
|
19426
|
+
declare enum SortOrder$k {
|
|
19315
19427
|
ASC = "ASC",
|
|
19316
19428
|
DESC = "DESC"
|
|
19317
19429
|
}
|
|
19318
|
-
interface CursorPaging$
|
|
19430
|
+
interface CursorPaging$k {
|
|
19319
19431
|
/** Number of items to load. */
|
|
19320
19432
|
limit?: number | null;
|
|
19321
19433
|
/**
|
|
@@ -19337,7 +19449,7 @@ interface CursorPagingMetadata$i {
|
|
|
19337
19449
|
/** Number of items returned in the response. */
|
|
19338
19450
|
count?: number | null;
|
|
19339
19451
|
/** Offset that was requested. */
|
|
19340
|
-
cursors?: Cursors$
|
|
19452
|
+
cursors?: Cursors$k;
|
|
19341
19453
|
/**
|
|
19342
19454
|
* Indicates if there are more results after the current page.
|
|
19343
19455
|
* If `true`, another page of results can be retrieved.
|
|
@@ -19345,7 +19457,7 @@ interface CursorPagingMetadata$i {
|
|
|
19345
19457
|
*/
|
|
19346
19458
|
hasNext?: boolean | null;
|
|
19347
19459
|
}
|
|
19348
|
-
interface Cursors$
|
|
19460
|
+
interface Cursors$k {
|
|
19349
19461
|
/** Cursor pointing to next page in the list of results. */
|
|
19350
19462
|
next?: string | null;
|
|
19351
19463
|
/** Cursor pointing to previous page in the list of results. */
|
|
@@ -19518,7 +19630,7 @@ interface RawHttpResponseNonNullableFields {
|
|
|
19518
19630
|
headers: HeadersEntryNonNullableFields[];
|
|
19519
19631
|
}
|
|
19520
19632
|
|
|
19521
|
-
type __PublicMethodMetaInfo$
|
|
19633
|
+
type __PublicMethodMetaInfo$i<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
19522
19634
|
getUrl: (context: any) => string;
|
|
19523
19635
|
httpMethod: K;
|
|
19524
19636
|
path: string;
|
|
@@ -19528,33 +19640,33 @@ type __PublicMethodMetaInfo$g<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
19528
19640
|
__responseType: Q;
|
|
19529
19641
|
__originalResponseType: R;
|
|
19530
19642
|
};
|
|
19531
|
-
declare function createCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
19532
|
-
declare function getCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
19643
|
+
declare function createCheckoutTemplate(): __PublicMethodMetaInfo$i<'POST', {}, CreateCheckoutTemplateRequest, CreateCheckoutTemplateRequest$1, CreateCheckoutTemplateResponse & CreateCheckoutTemplateResponseNonNullableFields, CreateCheckoutTemplateResponse$1 & CreateCheckoutTemplateResponseNonNullableFields$1>;
|
|
19644
|
+
declare function getCheckoutTemplate(): __PublicMethodMetaInfo$i<'GET', {
|
|
19533
19645
|
checkoutTemplateId: string;
|
|
19534
19646
|
}, GetCheckoutTemplateRequest, GetCheckoutTemplateRequest$1, GetCheckoutTemplateResponse & GetCheckoutTemplateResponseNonNullableFields, GetCheckoutTemplateResponse$1 & GetCheckoutTemplateResponseNonNullableFields$1>;
|
|
19535
|
-
declare function updateCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
19647
|
+
declare function updateCheckoutTemplate(): __PublicMethodMetaInfo$i<'PATCH', {
|
|
19536
19648
|
checkoutTemplateId: string;
|
|
19537
19649
|
}, UpdateCheckoutTemplateRequest, UpdateCheckoutTemplateRequest$1, UpdateCheckoutTemplateResponse & UpdateCheckoutTemplateResponseNonNullableFields, UpdateCheckoutTemplateResponse$1 & UpdateCheckoutTemplateResponseNonNullableFields$1>;
|
|
19538
|
-
declare function deleteCheckoutTemplate(): __PublicMethodMetaInfo$
|
|
19650
|
+
declare function deleteCheckoutTemplate(): __PublicMethodMetaInfo$i<'DELETE', {
|
|
19539
19651
|
checkoutTemplateId: string;
|
|
19540
19652
|
}, DeleteCheckoutTemplateRequest, DeleteCheckoutTemplateRequest$1, DeleteCheckoutTemplateResponse, DeleteCheckoutTemplateResponse$1>;
|
|
19541
|
-
declare function queryCheckoutTemplates(): __PublicMethodMetaInfo$
|
|
19542
|
-
declare function createCheckoutFromTemplate(): __PublicMethodMetaInfo$
|
|
19653
|
+
declare function queryCheckoutTemplates(): __PublicMethodMetaInfo$i<'POST', {}, QueryCheckoutTemplatesRequest, QueryCheckoutTemplatesRequest$1, QueryCheckoutTemplatesResponse & QueryCheckoutTemplatesResponseNonNullableFields, QueryCheckoutTemplatesResponse$1 & QueryCheckoutTemplatesResponseNonNullableFields$1>;
|
|
19654
|
+
declare function createCheckoutFromTemplate(): __PublicMethodMetaInfo$i<'POST', {
|
|
19543
19655
|
checkoutTemplateId: string;
|
|
19544
19656
|
}, CreateCheckoutFromTemplateRequest, CreateCheckoutFromTemplateRequest$1, CreateCheckoutFromTemplateResponse & CreateCheckoutFromTemplateResponseNonNullableFields, CreateCheckoutFromTemplateResponse$1 & CreateCheckoutFromTemplateResponseNonNullableFields$1>;
|
|
19545
|
-
declare function createAndRedirectToCheckout(): __PublicMethodMetaInfo$
|
|
19657
|
+
declare function createAndRedirectToCheckout(): __PublicMethodMetaInfo$i<'GET', {
|
|
19546
19658
|
checkoutTemplateId: string;
|
|
19547
19659
|
}, CreateAndRedirectToCheckoutRequest, CreateAndRedirectToCheckoutRequest$1, RawHttpResponse & RawHttpResponseNonNullableFields, RawHttpResponse$1 & RawHttpResponseNonNullableFields$1>;
|
|
19548
19660
|
|
|
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$
|
|
19661
|
+
declare const meta$i_createAndRedirectToCheckout: typeof createAndRedirectToCheckout;
|
|
19662
|
+
declare const meta$i_createCheckoutFromTemplate: typeof createCheckoutFromTemplate;
|
|
19663
|
+
declare const meta$i_createCheckoutTemplate: typeof createCheckoutTemplate;
|
|
19664
|
+
declare const meta$i_deleteCheckoutTemplate: typeof deleteCheckoutTemplate;
|
|
19665
|
+
declare const meta$i_getCheckoutTemplate: typeof getCheckoutTemplate;
|
|
19666
|
+
declare const meta$i_queryCheckoutTemplates: typeof queryCheckoutTemplates;
|
|
19667
|
+
declare const meta$i_updateCheckoutTemplate: typeof updateCheckoutTemplate;
|
|
19668
|
+
declare namespace meta$i {
|
|
19669
|
+
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
19670
|
}
|
|
19559
19671
|
|
|
19560
19672
|
/**
|
|
@@ -19594,7 +19706,7 @@ interface DeliveryProfile$1 {
|
|
|
19594
19706
|
*/
|
|
19595
19707
|
updatedDate?: Date | null;
|
|
19596
19708
|
/** Extended fields. */
|
|
19597
|
-
extendedFields?: ExtendedFields$
|
|
19709
|
+
extendedFields?: ExtendedFields$d;
|
|
19598
19710
|
}
|
|
19599
19711
|
/** DeliveryRegion can be used to config a Delivery Destinations with its providers */
|
|
19600
19712
|
interface DeliveryRegion$1 {
|
|
@@ -19657,7 +19769,7 @@ interface Destination$3 {
|
|
|
19657
19769
|
*/
|
|
19658
19770
|
subdivisions?: string[];
|
|
19659
19771
|
}
|
|
19660
|
-
interface ExtendedFields$
|
|
19772
|
+
interface ExtendedFields$d {
|
|
19661
19773
|
/**
|
|
19662
19774
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
19663
19775
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -19704,7 +19816,7 @@ interface QueryDeliveryProfilesRequest$1 {
|
|
|
19704
19816
|
}
|
|
19705
19817
|
interface CursorQuery$b extends CursorQueryPagingMethodOneOf$b {
|
|
19706
19818
|
/** 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$
|
|
19819
|
+
cursorPaging?: CursorPaging$j;
|
|
19708
19820
|
/**
|
|
19709
19821
|
* Filter object in the following format:
|
|
19710
19822
|
* `"filter" : {
|
|
@@ -19718,24 +19830,24 @@ interface CursorQuery$b extends CursorQueryPagingMethodOneOf$b {
|
|
|
19718
19830
|
* Sort object in the following format:
|
|
19719
19831
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
19720
19832
|
*/
|
|
19721
|
-
sort?: Sorting$
|
|
19833
|
+
sort?: Sorting$j[];
|
|
19722
19834
|
}
|
|
19723
19835
|
/** @oneof */
|
|
19724
19836
|
interface CursorQueryPagingMethodOneOf$b {
|
|
19725
19837
|
/** 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$
|
|
19838
|
+
cursorPaging?: CursorPaging$j;
|
|
19727
19839
|
}
|
|
19728
|
-
interface Sorting$
|
|
19840
|
+
interface Sorting$j {
|
|
19729
19841
|
/** Name of the field to sort by. */
|
|
19730
19842
|
fieldName?: string;
|
|
19731
19843
|
/** Sort order. */
|
|
19732
|
-
order?: SortOrder$
|
|
19844
|
+
order?: SortOrder$j;
|
|
19733
19845
|
}
|
|
19734
|
-
declare enum SortOrder$
|
|
19846
|
+
declare enum SortOrder$j {
|
|
19735
19847
|
ASC = "ASC",
|
|
19736
19848
|
DESC = "DESC"
|
|
19737
19849
|
}
|
|
19738
|
-
interface CursorPaging$
|
|
19850
|
+
interface CursorPaging$j {
|
|
19739
19851
|
/** Maximum number of items to return in the results. */
|
|
19740
19852
|
limit?: number | null;
|
|
19741
19853
|
/**
|
|
@@ -19756,7 +19868,7 @@ interface CursorPagingMetadata$h {
|
|
|
19756
19868
|
/** Number of items returned in the response. */
|
|
19757
19869
|
count?: number | null;
|
|
19758
19870
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
19759
|
-
cursors?: Cursors$
|
|
19871
|
+
cursors?: Cursors$j;
|
|
19760
19872
|
/**
|
|
19761
19873
|
* Whether there are more pages to retrieve following the current page.
|
|
19762
19874
|
*
|
|
@@ -19765,7 +19877,7 @@ interface CursorPagingMetadata$h {
|
|
|
19765
19877
|
*/
|
|
19766
19878
|
hasNext?: boolean | null;
|
|
19767
19879
|
}
|
|
19768
|
-
interface Cursors$
|
|
19880
|
+
interface Cursors$j {
|
|
19769
19881
|
/** Cursor string pointing to the next page in the list of results. */
|
|
19770
19882
|
next?: string | null;
|
|
19771
19883
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -20091,7 +20203,7 @@ interface DeliveryProfile {
|
|
|
20091
20203
|
*/
|
|
20092
20204
|
_updatedDate?: Date | null;
|
|
20093
20205
|
/** Extended fields. */
|
|
20094
|
-
extendedFields?: ExtendedFields$
|
|
20206
|
+
extendedFields?: ExtendedFields$c;
|
|
20095
20207
|
}
|
|
20096
20208
|
/** DeliveryRegion can be used to config a Delivery Destinations with its providers */
|
|
20097
20209
|
interface DeliveryRegion {
|
|
@@ -20154,7 +20266,7 @@ interface Destination$2 {
|
|
|
20154
20266
|
*/
|
|
20155
20267
|
subdivisions?: string[];
|
|
20156
20268
|
}
|
|
20157
|
-
interface ExtendedFields$
|
|
20269
|
+
interface ExtendedFields$c {
|
|
20158
20270
|
/**
|
|
20159
20271
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
20160
20272
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -20201,7 +20313,7 @@ interface QueryDeliveryProfilesRequest {
|
|
|
20201
20313
|
}
|
|
20202
20314
|
interface CursorQuery$a extends CursorQueryPagingMethodOneOf$a {
|
|
20203
20315
|
/** 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$
|
|
20316
|
+
cursorPaging?: CursorPaging$i;
|
|
20205
20317
|
/**
|
|
20206
20318
|
* Filter object in the following format:
|
|
20207
20319
|
* `"filter" : {
|
|
@@ -20215,24 +20327,24 @@ interface CursorQuery$a extends CursorQueryPagingMethodOneOf$a {
|
|
|
20215
20327
|
* Sort object in the following format:
|
|
20216
20328
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
20217
20329
|
*/
|
|
20218
|
-
sort?: Sorting$
|
|
20330
|
+
sort?: Sorting$i[];
|
|
20219
20331
|
}
|
|
20220
20332
|
/** @oneof */
|
|
20221
20333
|
interface CursorQueryPagingMethodOneOf$a {
|
|
20222
20334
|
/** 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$
|
|
20335
|
+
cursorPaging?: CursorPaging$i;
|
|
20224
20336
|
}
|
|
20225
|
-
interface Sorting$
|
|
20337
|
+
interface Sorting$i {
|
|
20226
20338
|
/** Name of the field to sort by. */
|
|
20227
20339
|
fieldName?: string;
|
|
20228
20340
|
/** Sort order. */
|
|
20229
|
-
order?: SortOrder$
|
|
20341
|
+
order?: SortOrder$i;
|
|
20230
20342
|
}
|
|
20231
|
-
declare enum SortOrder$
|
|
20343
|
+
declare enum SortOrder$i {
|
|
20232
20344
|
ASC = "ASC",
|
|
20233
20345
|
DESC = "DESC"
|
|
20234
20346
|
}
|
|
20235
|
-
interface CursorPaging$
|
|
20347
|
+
interface CursorPaging$i {
|
|
20236
20348
|
/** Maximum number of items to return in the results. */
|
|
20237
20349
|
limit?: number | null;
|
|
20238
20350
|
/**
|
|
@@ -20253,7 +20365,7 @@ interface CursorPagingMetadata$g {
|
|
|
20253
20365
|
/** Number of items returned in the response. */
|
|
20254
20366
|
count?: number | null;
|
|
20255
20367
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
20256
|
-
cursors?: Cursors$
|
|
20368
|
+
cursors?: Cursors$i;
|
|
20257
20369
|
/**
|
|
20258
20370
|
* Whether there are more pages to retrieve following the current page.
|
|
20259
20371
|
*
|
|
@@ -20262,7 +20374,7 @@ interface CursorPagingMetadata$g {
|
|
|
20262
20374
|
*/
|
|
20263
20375
|
hasNext?: boolean | null;
|
|
20264
20376
|
}
|
|
20265
|
-
interface Cursors$
|
|
20377
|
+
interface Cursors$i {
|
|
20266
20378
|
/** Cursor string pointing to the next page in the list of results. */
|
|
20267
20379
|
next?: string | null;
|
|
20268
20380
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -20551,7 +20663,7 @@ interface UpdateExtendedFieldsResponseNonNullableFields$6 {
|
|
|
20551
20663
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
20552
20664
|
}
|
|
20553
20665
|
|
|
20554
|
-
type __PublicMethodMetaInfo$
|
|
20666
|
+
type __PublicMethodMetaInfo$h<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
20555
20667
|
getUrl: (context: any) => string;
|
|
20556
20668
|
httpMethod: K;
|
|
20557
20669
|
path: string;
|
|
@@ -20561,52 +20673,52 @@ type __PublicMethodMetaInfo$f<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
20561
20673
|
__responseType: Q;
|
|
20562
20674
|
__originalResponseType: R;
|
|
20563
20675
|
};
|
|
20564
|
-
declare function createDeliveryProfile(): __PublicMethodMetaInfo$
|
|
20565
|
-
declare function getDeliveryProfile(): __PublicMethodMetaInfo$
|
|
20676
|
+
declare function createDeliveryProfile(): __PublicMethodMetaInfo$h<'POST', {}, CreateDeliveryProfileRequest, CreateDeliveryProfileRequest$1, CreateDeliveryProfileResponse & CreateDeliveryProfileResponseNonNullableFields, CreateDeliveryProfileResponse$1 & CreateDeliveryProfileResponseNonNullableFields$1>;
|
|
20677
|
+
declare function getDeliveryProfile(): __PublicMethodMetaInfo$h<'GET', {
|
|
20566
20678
|
deliveryProfileId: string;
|
|
20567
20679
|
}, GetDeliveryProfileRequest, GetDeliveryProfileRequest$1, GetDeliveryProfileResponse & GetDeliveryProfileResponseNonNullableFields, GetDeliveryProfileResponse$1 & GetDeliveryProfileResponseNonNullableFields$1>;
|
|
20568
|
-
declare function updateDeliveryProfile(): __PublicMethodMetaInfo$
|
|
20680
|
+
declare function updateDeliveryProfile(): __PublicMethodMetaInfo$h<'PATCH', {
|
|
20569
20681
|
deliveryProfileId: string;
|
|
20570
20682
|
}, UpdateDeliveryProfileRequest, UpdateDeliveryProfileRequest$1, UpdateDeliveryProfileResponse & UpdateDeliveryProfileResponseNonNullableFields, UpdateDeliveryProfileResponse$1 & UpdateDeliveryProfileResponseNonNullableFields$1>;
|
|
20571
|
-
declare function deleteDeliveryProfile(): __PublicMethodMetaInfo$
|
|
20683
|
+
declare function deleteDeliveryProfile(): __PublicMethodMetaInfo$h<'DELETE', {
|
|
20572
20684
|
deliveryProfileId: string;
|
|
20573
20685
|
}, DeleteDeliveryProfileRequest, DeleteDeliveryProfileRequest$1, DeleteDeliveryProfileResponse, DeleteDeliveryProfileResponse$1>;
|
|
20574
|
-
declare function queryDeliveryProfiles(): __PublicMethodMetaInfo$
|
|
20575
|
-
declare function addDeliveryRegion$2(): __PublicMethodMetaInfo$
|
|
20686
|
+
declare function queryDeliveryProfiles(): __PublicMethodMetaInfo$h<'GET', {}, QueryDeliveryProfilesRequest, QueryDeliveryProfilesRequest$1, QueryDeliveryProfilesResponse & QueryDeliveryProfilesResponseNonNullableFields, QueryDeliveryProfilesResponse$1 & QueryDeliveryProfilesResponseNonNullableFields$1>;
|
|
20687
|
+
declare function addDeliveryRegion$2(): __PublicMethodMetaInfo$h<'POST', {
|
|
20576
20688
|
deliveryProfileId: string;
|
|
20577
20689
|
}, AddDeliveryRegionRequest$4, AddDeliveryRegionRequest$5, AddDeliveryRegionResponse$4 & AddDeliveryRegionResponseNonNullableFields$4, AddDeliveryRegionResponse$5 & AddDeliveryRegionResponseNonNullableFields$5>;
|
|
20578
|
-
declare function updateDeliveryRegion(): __PublicMethodMetaInfo$
|
|
20690
|
+
declare function updateDeliveryRegion(): __PublicMethodMetaInfo$h<'PATCH', {
|
|
20579
20691
|
deliveryProfileId: string;
|
|
20580
20692
|
deliveryRegionId: string;
|
|
20581
20693
|
}, UpdateDeliveryRegionRequest, UpdateDeliveryRegionRequest$1, UpdateDeliveryRegionResponse & UpdateDeliveryRegionResponseNonNullableFields, UpdateDeliveryRegionResponse$1 & UpdateDeliveryRegionResponseNonNullableFields$1>;
|
|
20582
|
-
declare function removeDeliveryRegion$2(): __PublicMethodMetaInfo$
|
|
20694
|
+
declare function removeDeliveryRegion$2(): __PublicMethodMetaInfo$h<'DELETE', {
|
|
20583
20695
|
deliveryProfileId: string;
|
|
20584
20696
|
deliveryRegionId: string;
|
|
20585
20697
|
}, 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$
|
|
20698
|
+
declare function addDeliveryCarrier(): __PublicMethodMetaInfo$h<'POST', {}, AddDeliveryCarrierRequest, AddDeliveryCarrierRequest$1, AddDeliveryCarrierResponse & AddDeliveryCarrierResponseNonNullableFields, AddDeliveryCarrierResponse$1 & AddDeliveryCarrierResponseNonNullableFields$1>;
|
|
20699
|
+
declare function removeDeliveryCarrier(): __PublicMethodMetaInfo$h<'POST', {}, RemoveDeliveryCarrierRequest, RemoveDeliveryCarrierRequest$1, RemoveDeliveryCarrierResponse & RemoveDeliveryCarrierResponseNonNullableFields, RemoveDeliveryCarrierResponse$1 & RemoveDeliveryCarrierResponseNonNullableFields$1>;
|
|
20700
|
+
declare function updateDeliveryCarrier(): __PublicMethodMetaInfo$h<'PATCH', {}, UpdateDeliveryCarrierRequest, UpdateDeliveryCarrierRequest$1, UpdateDeliveryCarrierResponse & UpdateDeliveryCarrierResponseNonNullableFields, UpdateDeliveryCarrierResponse$1 & UpdateDeliveryCarrierResponseNonNullableFields$1>;
|
|
20701
|
+
declare function listDeliveryCarrierDetails(): __PublicMethodMetaInfo$h<'GET', {}, ListDeliveryCarrierDetailsRequest, ListDeliveryCarrierDetailsRequest$1, ListDeliveryCarrierDetailsResponse & ListDeliveryCarrierDetailsResponseNonNullableFields, ListDeliveryCarrierDetailsResponse$1 & ListDeliveryCarrierDetailsResponseNonNullableFields$1>;
|
|
20702
|
+
declare function listDeliveryCarriers(): __PublicMethodMetaInfo$h<'POST', {
|
|
20591
20703
|
deliveryProfileId: string;
|
|
20592
20704
|
}, ListDeliveryCarriersRequest, ListDeliveryCarriersRequest$1, ListDeliveryCarriersResponse & ListDeliveryCarriersResponseNonNullableFields, ListDeliveryCarriersResponse$1 & ListDeliveryCarriersResponseNonNullableFields$1>;
|
|
20593
|
-
declare function updateExtendedFields$3(): __PublicMethodMetaInfo$
|
|
20705
|
+
declare function updateExtendedFields$3(): __PublicMethodMetaInfo$h<'POST', {
|
|
20594
20706
|
id: string;
|
|
20595
20707
|
}, UpdateExtendedFieldsRequest$6, UpdateExtendedFieldsRequest$7, UpdateExtendedFieldsResponse$6 & UpdateExtendedFieldsResponseNonNullableFields$6, UpdateExtendedFieldsResponse$7 & UpdateExtendedFieldsResponseNonNullableFields$7>;
|
|
20596
20708
|
|
|
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$
|
|
20709
|
+
declare const meta$h_addDeliveryCarrier: typeof addDeliveryCarrier;
|
|
20710
|
+
declare const meta$h_createDeliveryProfile: typeof createDeliveryProfile;
|
|
20711
|
+
declare const meta$h_deleteDeliveryProfile: typeof deleteDeliveryProfile;
|
|
20712
|
+
declare const meta$h_getDeliveryProfile: typeof getDeliveryProfile;
|
|
20713
|
+
declare const meta$h_listDeliveryCarrierDetails: typeof listDeliveryCarrierDetails;
|
|
20714
|
+
declare const meta$h_listDeliveryCarriers: typeof listDeliveryCarriers;
|
|
20715
|
+
declare const meta$h_queryDeliveryProfiles: typeof queryDeliveryProfiles;
|
|
20716
|
+
declare const meta$h_removeDeliveryCarrier: typeof removeDeliveryCarrier;
|
|
20717
|
+
declare const meta$h_updateDeliveryCarrier: typeof updateDeliveryCarrier;
|
|
20718
|
+
declare const meta$h_updateDeliveryProfile: typeof updateDeliveryProfile;
|
|
20719
|
+
declare const meta$h_updateDeliveryRegion: typeof updateDeliveryRegion;
|
|
20720
|
+
declare namespace meta$h {
|
|
20721
|
+
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
20722
|
}
|
|
20611
20723
|
|
|
20612
20724
|
/** DraftOrder is the main entity of DraftOrders service. It represents a single edit order. */
|
|
@@ -20709,7 +20821,7 @@ interface DraftOrder$1 {
|
|
|
20709
20821
|
* Custom field data for the draft order object.
|
|
20710
20822
|
* [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
20823
|
*/
|
|
20712
|
-
extendedFields?: ExtendedFields$
|
|
20824
|
+
extendedFields?: ExtendedFields$b;
|
|
20713
20825
|
}
|
|
20714
20826
|
interface ItemDetails$1 extends ItemDetailsChangeTypeOneOf$1 {
|
|
20715
20827
|
/** Whether the line item was added as part of the draft. */
|
|
@@ -21661,7 +21773,7 @@ interface OrderTaxBreakdown$3 {
|
|
|
21661
21773
|
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
21662
21774
|
aggregatedTaxAmount?: Price$9;
|
|
21663
21775
|
}
|
|
21664
|
-
interface ExtendedFields$
|
|
21776
|
+
interface ExtendedFields$b {
|
|
21665
21777
|
/**
|
|
21666
21778
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
21667
21779
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -22265,7 +22377,7 @@ interface Order$3 {
|
|
|
22265
22377
|
*
|
|
22266
22378
|
* [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
22379
|
*/
|
|
22268
|
-
extendedFields?: ExtendedFields$
|
|
22380
|
+
extendedFields?: ExtendedFields$b;
|
|
22269
22381
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
22270
22382
|
purchaseFlowId?: string | null;
|
|
22271
22383
|
/**
|
|
@@ -22508,7 +22620,7 @@ interface CursorQuery$9 extends CursorQueryPagingMethodOneOf$9 {
|
|
|
22508
22620
|
*
|
|
22509
22621
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
22510
22622
|
*/
|
|
22511
|
-
cursorPaging?: CursorPaging$
|
|
22623
|
+
cursorPaging?: CursorPaging$h;
|
|
22512
22624
|
/**
|
|
22513
22625
|
* Filter object.
|
|
22514
22626
|
*
|
|
@@ -22520,7 +22632,7 @@ interface CursorQuery$9 extends CursorQueryPagingMethodOneOf$9 {
|
|
|
22520
22632
|
*
|
|
22521
22633
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
22522
22634
|
*/
|
|
22523
|
-
sort?: Sorting$
|
|
22635
|
+
sort?: Sorting$h[];
|
|
22524
22636
|
}
|
|
22525
22637
|
/** @oneof */
|
|
22526
22638
|
interface CursorQueryPagingMethodOneOf$9 {
|
|
@@ -22529,19 +22641,19 @@ interface CursorQueryPagingMethodOneOf$9 {
|
|
|
22529
22641
|
*
|
|
22530
22642
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
22531
22643
|
*/
|
|
22532
|
-
cursorPaging?: CursorPaging$
|
|
22644
|
+
cursorPaging?: CursorPaging$h;
|
|
22533
22645
|
}
|
|
22534
|
-
interface Sorting$
|
|
22646
|
+
interface Sorting$h {
|
|
22535
22647
|
/** Name of the field to sort by. */
|
|
22536
22648
|
fieldName?: string;
|
|
22537
22649
|
/** Sort order. */
|
|
22538
|
-
order?: SortOrder$
|
|
22650
|
+
order?: SortOrder$h;
|
|
22539
22651
|
}
|
|
22540
|
-
declare enum SortOrder$
|
|
22652
|
+
declare enum SortOrder$h {
|
|
22541
22653
|
ASC = "ASC",
|
|
22542
22654
|
DESC = "DESC"
|
|
22543
22655
|
}
|
|
22544
|
-
interface CursorPaging$
|
|
22656
|
+
interface CursorPaging$h {
|
|
22545
22657
|
/** Maximum number of items to return in the results. */
|
|
22546
22658
|
limit?: number | null;
|
|
22547
22659
|
/**
|
|
@@ -22562,7 +22674,7 @@ interface CursorPagingMetadata$f {
|
|
|
22562
22674
|
/** Number of items returned in current page. */
|
|
22563
22675
|
count?: number | null;
|
|
22564
22676
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
22565
|
-
cursors?: Cursors$
|
|
22677
|
+
cursors?: Cursors$h;
|
|
22566
22678
|
/**
|
|
22567
22679
|
* Whether there are more pages to retrieve following the current page.
|
|
22568
22680
|
*
|
|
@@ -22571,7 +22683,7 @@ interface CursorPagingMetadata$f {
|
|
|
22571
22683
|
*/
|
|
22572
22684
|
hasNext?: boolean | null;
|
|
22573
22685
|
}
|
|
22574
|
-
interface Cursors$
|
|
22686
|
+
interface Cursors$h {
|
|
22575
22687
|
/** Cursor string pointing to the next page in the list of results. */
|
|
22576
22688
|
next?: string | null;
|
|
22577
22689
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -23332,7 +23444,7 @@ interface DraftOrder {
|
|
|
23332
23444
|
* Custom field data for the draft order object.
|
|
23333
23445
|
* [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
23446
|
*/
|
|
23335
|
-
extendedFields?: ExtendedFields$
|
|
23447
|
+
extendedFields?: ExtendedFields$a;
|
|
23336
23448
|
}
|
|
23337
23449
|
interface ItemDetails extends ItemDetailsChangeTypeOneOf {
|
|
23338
23450
|
/** Whether the line item was added as part of the draft. */
|
|
@@ -24241,7 +24353,7 @@ interface OrderTaxBreakdown$2 {
|
|
|
24241
24353
|
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
24242
24354
|
aggregatedTaxAmount?: Price$8;
|
|
24243
24355
|
}
|
|
24244
|
-
interface ExtendedFields$
|
|
24356
|
+
interface ExtendedFields$a {
|
|
24245
24357
|
/**
|
|
24246
24358
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
24247
24359
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -24839,7 +24951,7 @@ interface Order$2 {
|
|
|
24839
24951
|
*
|
|
24840
24952
|
* [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
24953
|
*/
|
|
24842
|
-
extendedFields?: ExtendedFields$
|
|
24954
|
+
extendedFields?: ExtendedFields$a;
|
|
24843
24955
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
24844
24956
|
purchaseFlowId?: string | null;
|
|
24845
24957
|
/**
|
|
@@ -25082,7 +25194,7 @@ interface CursorQuery$8 extends CursorQueryPagingMethodOneOf$8 {
|
|
|
25082
25194
|
*
|
|
25083
25195
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
25084
25196
|
*/
|
|
25085
|
-
cursorPaging?: CursorPaging$
|
|
25197
|
+
cursorPaging?: CursorPaging$g;
|
|
25086
25198
|
/**
|
|
25087
25199
|
* Filter object.
|
|
25088
25200
|
*
|
|
@@ -25094,7 +25206,7 @@ interface CursorQuery$8 extends CursorQueryPagingMethodOneOf$8 {
|
|
|
25094
25206
|
*
|
|
25095
25207
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
25096
25208
|
*/
|
|
25097
|
-
sort?: Sorting$
|
|
25209
|
+
sort?: Sorting$g[];
|
|
25098
25210
|
}
|
|
25099
25211
|
/** @oneof */
|
|
25100
25212
|
interface CursorQueryPagingMethodOneOf$8 {
|
|
@@ -25103,19 +25215,19 @@ interface CursorQueryPagingMethodOneOf$8 {
|
|
|
25103
25215
|
*
|
|
25104
25216
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
25105
25217
|
*/
|
|
25106
|
-
cursorPaging?: CursorPaging$
|
|
25218
|
+
cursorPaging?: CursorPaging$g;
|
|
25107
25219
|
}
|
|
25108
|
-
interface Sorting$
|
|
25220
|
+
interface Sorting$g {
|
|
25109
25221
|
/** Name of the field to sort by. */
|
|
25110
25222
|
fieldName?: string;
|
|
25111
25223
|
/** Sort order. */
|
|
25112
|
-
order?: SortOrder$
|
|
25224
|
+
order?: SortOrder$g;
|
|
25113
25225
|
}
|
|
25114
|
-
declare enum SortOrder$
|
|
25226
|
+
declare enum SortOrder$g {
|
|
25115
25227
|
ASC = "ASC",
|
|
25116
25228
|
DESC = "DESC"
|
|
25117
25229
|
}
|
|
25118
|
-
interface CursorPaging$
|
|
25230
|
+
interface CursorPaging$g {
|
|
25119
25231
|
/** Maximum number of items to return in the results. */
|
|
25120
25232
|
limit?: number | null;
|
|
25121
25233
|
/**
|
|
@@ -25136,7 +25248,7 @@ interface CursorPagingMetadata$e {
|
|
|
25136
25248
|
/** Number of items returned in current page. */
|
|
25137
25249
|
count?: number | null;
|
|
25138
25250
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
25139
|
-
cursors?: Cursors$
|
|
25251
|
+
cursors?: Cursors$g;
|
|
25140
25252
|
/**
|
|
25141
25253
|
* Whether there are more pages to retrieve following the current page.
|
|
25142
25254
|
*
|
|
@@ -25145,7 +25257,7 @@ interface CursorPagingMetadata$e {
|
|
|
25145
25257
|
*/
|
|
25146
25258
|
hasNext?: boolean | null;
|
|
25147
25259
|
}
|
|
25148
|
-
interface Cursors$
|
|
25260
|
+
interface Cursors$g {
|
|
25149
25261
|
/** Cursor string pointing to the next page in the list of results. */
|
|
25150
25262
|
next?: string | null;
|
|
25151
25263
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -25800,7 +25912,7 @@ interface QueryDraftOrdersResponseNonNullableFields {
|
|
|
25800
25912
|
draftOrders: DraftOrderNonNullableFields[];
|
|
25801
25913
|
}
|
|
25802
25914
|
|
|
25803
|
-
type __PublicMethodMetaInfo$
|
|
25915
|
+
type __PublicMethodMetaInfo$g<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
25804
25916
|
getUrl: (context: any) => string;
|
|
25805
25917
|
httpMethod: K;
|
|
25806
25918
|
path: string;
|
|
@@ -25810,77 +25922,77 @@ type __PublicMethodMetaInfo$e<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
25810
25922
|
__responseType: Q;
|
|
25811
25923
|
__originalResponseType: R;
|
|
25812
25924
|
};
|
|
25813
|
-
declare function createDraftOrder(): __PublicMethodMetaInfo$
|
|
25925
|
+
declare function createDraftOrder(): __PublicMethodMetaInfo$g<'POST', {
|
|
25814
25926
|
orderId: string;
|
|
25815
25927
|
}, CreateDraftOrderRequest, CreateDraftOrderRequest$1, CreateDraftOrderResponse & CreateDraftOrderResponseNonNullableFields, CreateDraftOrderResponse$1 & CreateDraftOrderResponseNonNullableFields$1>;
|
|
25816
|
-
declare function createEmptyDraftOrder(): __PublicMethodMetaInfo$
|
|
25817
|
-
declare function addLineItemsToDraftOrder(): __PublicMethodMetaInfo$
|
|
25928
|
+
declare function createEmptyDraftOrder(): __PublicMethodMetaInfo$g<'POST', {}, CreateEmptyDraftOrderRequest, CreateEmptyDraftOrderRequest$1, CreateEmptyDraftOrderResponse & CreateEmptyDraftOrderResponseNonNullableFields, CreateEmptyDraftOrderResponse$1 & CreateEmptyDraftOrderResponseNonNullableFields$1>;
|
|
25929
|
+
declare function addLineItemsToDraftOrder(): __PublicMethodMetaInfo$g<'POST', {
|
|
25818
25930
|
draftOrderId: string;
|
|
25819
25931
|
}, AddLineItemsToDraftOrderRequest, AddLineItemsToDraftOrderRequest$1, AddLineItemsToDraftOrderResponse & AddLineItemsToDraftOrderResponseNonNullableFields, AddLineItemsToDraftOrderResponse$1 & AddLineItemsToDraftOrderResponseNonNullableFields$1>;
|
|
25820
|
-
declare function updateLineItems(): __PublicMethodMetaInfo$
|
|
25932
|
+
declare function updateLineItems(): __PublicMethodMetaInfo$g<'POST', {
|
|
25821
25933
|
draftOrderId: string;
|
|
25822
25934
|
}, UpdateLineItemsRequest, UpdateLineItemsRequest$1, UpdateLineItemsResponse & UpdateLineItemsResponseNonNullableFields, UpdateLineItemsResponse$1 & UpdateLineItemsResponseNonNullableFields$1>;
|
|
25823
|
-
declare function setDiscounts(): __PublicMethodMetaInfo$
|
|
25935
|
+
declare function setDiscounts(): __PublicMethodMetaInfo$g<'POST', {
|
|
25824
25936
|
draftOrderId: string;
|
|
25825
25937
|
}, SetDiscountsRequest, SetDiscountsRequest$1, SetDiscountsResponse & SetDiscountsResponseNonNullableFields, SetDiscountsResponse$1 & SetDiscountsResponseNonNullableFields$1>;
|
|
25826
|
-
declare function createCustomDiscounts(): __PublicMethodMetaInfo$
|
|
25938
|
+
declare function createCustomDiscounts(): __PublicMethodMetaInfo$g<'POST', {
|
|
25827
25939
|
draftOrderId: string;
|
|
25828
25940
|
}, CreateCustomDiscountsRequest, CreateCustomDiscountsRequest$1, CreateCustomDiscountsResponse & CreateCustomDiscountsResponseNonNullableFields, CreateCustomDiscountsResponse$1 & CreateCustomDiscountsResponseNonNullableFields$1>;
|
|
25829
|
-
declare function deleteCustomDiscounts(): __PublicMethodMetaInfo$
|
|
25941
|
+
declare function deleteCustomDiscounts(): __PublicMethodMetaInfo$g<'POST', {
|
|
25830
25942
|
draftOrderId: string;
|
|
25831
25943
|
}, DeleteCustomDiscountsRequest, DeleteCustomDiscountsRequest$1, DeleteCustomDiscountsResponse & DeleteCustomDiscountsResponseNonNullableFields, DeleteCustomDiscountsResponse$1 & DeleteCustomDiscountsResponseNonNullableFields$1>;
|
|
25832
|
-
declare function setAdditionalFees(): __PublicMethodMetaInfo$
|
|
25944
|
+
declare function setAdditionalFees(): __PublicMethodMetaInfo$g<'POST', {
|
|
25833
25945
|
draftOrderId: string;
|
|
25834
25946
|
}, SetAdditionalFeesRequest, SetAdditionalFeesRequest$1, SetAdditionalFeesResponse & SetAdditionalFeesResponseNonNullableFields, SetAdditionalFeesResponse$1 & SetAdditionalFeesResponseNonNullableFields$1>;
|
|
25835
|
-
declare function createCustomAdditionalFees(): __PublicMethodMetaInfo$
|
|
25947
|
+
declare function createCustomAdditionalFees(): __PublicMethodMetaInfo$g<'POST', {
|
|
25836
25948
|
draftOrderId: string;
|
|
25837
25949
|
}, CreateCustomAdditionalFeesRequest, CreateCustomAdditionalFeesRequest$1, CreateCustomAdditionalFeesResponse & CreateCustomAdditionalFeesResponseNonNullableFields, CreateCustomAdditionalFeesResponse$1 & CreateCustomAdditionalFeesResponseNonNullableFields$1>;
|
|
25838
|
-
declare function deleteCustomAdditionalFees(): __PublicMethodMetaInfo$
|
|
25950
|
+
declare function deleteCustomAdditionalFees(): __PublicMethodMetaInfo$g<'POST', {
|
|
25839
25951
|
draftOrderId: string;
|
|
25840
25952
|
}, 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$
|
|
25953
|
+
declare function setShippingInfo(): __PublicMethodMetaInfo$g<'PUT', {}, SetShippingInfoRequest, SetShippingInfoRequest$1, SetShippingInfoResponse & SetShippingInfoResponseNonNullableFields, SetShippingInfoResponse$1 & SetShippingInfoResponseNonNullableFields$1>;
|
|
25954
|
+
declare function setBuyerInfo(): __PublicMethodMetaInfo$g<'PUT', {}, SetBuyerInfoRequest, SetBuyerInfoRequest$1, SetBuyerInfoResponse & SetBuyerInfoResponseNonNullableFields, SetBuyerInfoResponse$1 & SetBuyerInfoResponseNonNullableFields$1>;
|
|
25955
|
+
declare function setRecipientInfo(): __PublicMethodMetaInfo$g<'PUT', {}, SetRecipientInfoRequest, SetRecipientInfoRequest$1, SetRecipientInfoResponse & SetRecipientInfoResponseNonNullableFields, SetRecipientInfoResponse$1 & SetRecipientInfoResponseNonNullableFields$1>;
|
|
25956
|
+
declare function setBillingInfo(): __PublicMethodMetaInfo$g<'PUT', {}, SetBillingInfoRequest, SetBillingInfoRequest$1, SetBillingInfoResponse & SetBillingInfoResponseNonNullableFields, SetBillingInfoResponse$1 & SetBillingInfoResponseNonNullableFields$1>;
|
|
25957
|
+
declare function getDraftOrder(): __PublicMethodMetaInfo$g<'GET', {
|
|
25846
25958
|
draftOrderId: string;
|
|
25847
25959
|
}, GetDraftOrderRequest, GetDraftOrderRequest$1, GetDraftOrderResponse & GetDraftOrderResponseNonNullableFields, GetDraftOrderResponse$1 & GetDraftOrderResponseNonNullableFields$1>;
|
|
25848
|
-
declare function getOrderDraftabilityStatus(): __PublicMethodMetaInfo$
|
|
25960
|
+
declare function getOrderDraftabilityStatus(): __PublicMethodMetaInfo$g<'GET', {
|
|
25849
25961
|
orderId: string;
|
|
25850
25962
|
}, GetOrderDraftabilityStatusRequest, GetOrderDraftabilityStatusRequest$1, GetOrderDraftabilityStatusResponse & GetOrderDraftabilityStatusResponseNonNullableFields, GetOrderDraftabilityStatusResponse$1 & GetOrderDraftabilityStatusResponseNonNullableFields$1>;
|
|
25851
|
-
declare function commitDraftOrder(): __PublicMethodMetaInfo$
|
|
25963
|
+
declare function commitDraftOrder(): __PublicMethodMetaInfo$g<'POST', {
|
|
25852
25964
|
draftOrderId: string;
|
|
25853
25965
|
}, CommitDraftOrderRequest, CommitDraftOrderRequest$1, CommitDraftOrderResponse & CommitDraftOrderResponseNonNullableFields, CommitDraftOrderResponse$1 & CommitDraftOrderResponseNonNullableFields$1>;
|
|
25854
|
-
declare function createOrderFromDraft(): __PublicMethodMetaInfo$
|
|
25966
|
+
declare function createOrderFromDraft(): __PublicMethodMetaInfo$g<'POST', {
|
|
25855
25967
|
draftOrderId: string;
|
|
25856
25968
|
}, CreateOrderFromDraftRequest, CreateOrderFromDraftRequest$1, CreateOrderFromDraftResponse & CreateOrderFromDraftResponseNonNullableFields, CreateOrderFromDraftResponse$1 & CreateOrderFromDraftResponseNonNullableFields$1>;
|
|
25857
|
-
declare function deleteDraftOrder(): __PublicMethodMetaInfo$
|
|
25969
|
+
declare function deleteDraftOrder(): __PublicMethodMetaInfo$g<'DELETE', {
|
|
25858
25970
|
draftOrderId: string;
|
|
25859
25971
|
}, DeleteDraftOrderRequest, DeleteDraftOrderRequest$1, DeleteDraftOrderResponse, DeleteDraftOrderResponse$1>;
|
|
25860
|
-
declare function queryDraftOrders(): __PublicMethodMetaInfo$
|
|
25972
|
+
declare function queryDraftOrders(): __PublicMethodMetaInfo$g<'POST', {}, QueryDraftOrdersRequest, QueryDraftOrdersRequest$1, QueryDraftOrdersResponse & QueryDraftOrdersResponseNonNullableFields, QueryDraftOrdersResponse$1 & QueryDraftOrdersResponseNonNullableFields$1>;
|
|
25861
25973
|
|
|
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$
|
|
25974
|
+
declare const meta$g_addLineItemsToDraftOrder: typeof addLineItemsToDraftOrder;
|
|
25975
|
+
declare const meta$g_commitDraftOrder: typeof commitDraftOrder;
|
|
25976
|
+
declare const meta$g_createCustomAdditionalFees: typeof createCustomAdditionalFees;
|
|
25977
|
+
declare const meta$g_createCustomDiscounts: typeof createCustomDiscounts;
|
|
25978
|
+
declare const meta$g_createDraftOrder: typeof createDraftOrder;
|
|
25979
|
+
declare const meta$g_createEmptyDraftOrder: typeof createEmptyDraftOrder;
|
|
25980
|
+
declare const meta$g_createOrderFromDraft: typeof createOrderFromDraft;
|
|
25981
|
+
declare const meta$g_deleteCustomAdditionalFees: typeof deleteCustomAdditionalFees;
|
|
25982
|
+
declare const meta$g_deleteCustomDiscounts: typeof deleteCustomDiscounts;
|
|
25983
|
+
declare const meta$g_deleteDraftOrder: typeof deleteDraftOrder;
|
|
25984
|
+
declare const meta$g_getDraftOrder: typeof getDraftOrder;
|
|
25985
|
+
declare const meta$g_getOrderDraftabilityStatus: typeof getOrderDraftabilityStatus;
|
|
25986
|
+
declare const meta$g_queryDraftOrders: typeof queryDraftOrders;
|
|
25987
|
+
declare const meta$g_setAdditionalFees: typeof setAdditionalFees;
|
|
25988
|
+
declare const meta$g_setBillingInfo: typeof setBillingInfo;
|
|
25989
|
+
declare const meta$g_setBuyerInfo: typeof setBuyerInfo;
|
|
25990
|
+
declare const meta$g_setDiscounts: typeof setDiscounts;
|
|
25991
|
+
declare const meta$g_setRecipientInfo: typeof setRecipientInfo;
|
|
25992
|
+
declare const meta$g_setShippingInfo: typeof setShippingInfo;
|
|
25993
|
+
declare const meta$g_updateLineItems: typeof updateLineItems;
|
|
25994
|
+
declare namespace meta$g {
|
|
25995
|
+
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
25996
|
}
|
|
25885
25997
|
|
|
25886
25998
|
interface OrderWithFulfillments$1 {
|
|
@@ -26326,7 +26438,7 @@ interface BulkCreateFulfillmentResponseNonNullableFields {
|
|
|
26326
26438
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$4;
|
|
26327
26439
|
}
|
|
26328
26440
|
|
|
26329
|
-
type __PublicMethodMetaInfo$
|
|
26441
|
+
type __PublicMethodMetaInfo$f<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
26330
26442
|
getUrl: (context: any) => string;
|
|
26331
26443
|
httpMethod: K;
|
|
26332
26444
|
path: string;
|
|
@@ -26336,31 +26448,31 @@ type __PublicMethodMetaInfo$d<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
26336
26448
|
__responseType: Q;
|
|
26337
26449
|
__originalResponseType: R;
|
|
26338
26450
|
};
|
|
26339
|
-
declare function listFulfillmentsForSingleOrder(): __PublicMethodMetaInfo$
|
|
26451
|
+
declare function listFulfillmentsForSingleOrder(): __PublicMethodMetaInfo$f<'GET', {
|
|
26340
26452
|
orderId: string;
|
|
26341
26453
|
}, ListFulfillmentsForSingleOrderRequest, ListFulfillmentsForSingleOrderRequest$1, ListFulfillmentsForSingleOrderResponse & ListFulfillmentsForSingleOrderResponseNonNullableFields, ListFulfillmentsForSingleOrderResponse$1 & ListFulfillmentsForSingleOrderResponseNonNullableFields$1>;
|
|
26342
|
-
declare function listFulfillmentsForMultipleOrders(): __PublicMethodMetaInfo$
|
|
26343
|
-
declare function createFulfillment(): __PublicMethodMetaInfo$
|
|
26454
|
+
declare function listFulfillmentsForMultipleOrders(): __PublicMethodMetaInfo$f<'POST', {}, ListFulfillmentsForMultipleOrdersRequest, ListFulfillmentsForMultipleOrdersRequest$1, ListFulfillmentsForMultipleOrdersResponse & ListFulfillmentsForMultipleOrdersResponseNonNullableFields, ListFulfillmentsForMultipleOrdersResponse$1 & ListFulfillmentsForMultipleOrdersResponseNonNullableFields$1>;
|
|
26455
|
+
declare function createFulfillment(): __PublicMethodMetaInfo$f<'POST', {
|
|
26344
26456
|
orderId: string;
|
|
26345
26457
|
}, CreateFulfillmentRequest, CreateFulfillmentRequest$1, CreateFulfillmentResponse & CreateFulfillmentResponseNonNullableFields, CreateFulfillmentResponse$1 & CreateFulfillmentResponseNonNullableFields$1>;
|
|
26346
|
-
declare function updateFulfillment(): __PublicMethodMetaInfo$
|
|
26458
|
+
declare function updateFulfillment(): __PublicMethodMetaInfo$f<'PATCH', {
|
|
26347
26459
|
fulfillmentId: string;
|
|
26348
26460
|
orderId: string;
|
|
26349
26461
|
}, UpdateFulfillmentRequest, UpdateFulfillmentRequest$1, UpdateFulfillmentResponse & UpdateFulfillmentResponseNonNullableFields, UpdateFulfillmentResponse$1 & UpdateFulfillmentResponseNonNullableFields$1>;
|
|
26350
|
-
declare function deleteFulfillment(): __PublicMethodMetaInfo$
|
|
26462
|
+
declare function deleteFulfillment(): __PublicMethodMetaInfo$f<'DELETE', {
|
|
26351
26463
|
fulfillmentId: string;
|
|
26352
26464
|
orderId: string;
|
|
26353
26465
|
}, DeleteFulfillmentRequest, DeleteFulfillmentRequest$1, DeleteFulfillmentResponse & DeleteFulfillmentResponseNonNullableFields, DeleteFulfillmentResponse$1 & DeleteFulfillmentResponseNonNullableFields$1>;
|
|
26354
|
-
declare function bulkCreateFulfillments(): __PublicMethodMetaInfo$
|
|
26466
|
+
declare function bulkCreateFulfillments(): __PublicMethodMetaInfo$f<'POST', {}, BulkCreateFulfillmentRequest, BulkCreateFulfillmentRequest$1, BulkCreateFulfillmentResponse & BulkCreateFulfillmentResponseNonNullableFields, BulkCreateFulfillmentResponse$1 & BulkCreateFulfillmentResponseNonNullableFields$1>;
|
|
26355
26467
|
|
|
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$
|
|
26468
|
+
declare const meta$f_bulkCreateFulfillments: typeof bulkCreateFulfillments;
|
|
26469
|
+
declare const meta$f_createFulfillment: typeof createFulfillment;
|
|
26470
|
+
declare const meta$f_deleteFulfillment: typeof deleteFulfillment;
|
|
26471
|
+
declare const meta$f_listFulfillmentsForMultipleOrders: typeof listFulfillmentsForMultipleOrders;
|
|
26472
|
+
declare const meta$f_listFulfillmentsForSingleOrder: typeof listFulfillmentsForSingleOrder;
|
|
26473
|
+
declare const meta$f_updateFulfillment: typeof updateFulfillment;
|
|
26474
|
+
declare namespace meta$f {
|
|
26475
|
+
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
26476
|
}
|
|
26365
26477
|
|
|
26366
26478
|
interface GiftCard$3 {
|
|
@@ -26549,7 +26661,7 @@ interface RedeemGiftCardResponseNonNullableFields {
|
|
|
26549
26661
|
transactionId: string;
|
|
26550
26662
|
}
|
|
26551
26663
|
|
|
26552
|
-
type __PublicMethodMetaInfo$
|
|
26664
|
+
type __PublicMethodMetaInfo$e<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
26553
26665
|
getUrl: (context: any) => string;
|
|
26554
26666
|
httpMethod: K;
|
|
26555
26667
|
path: string;
|
|
@@ -26559,17 +26671,17 @@ type __PublicMethodMetaInfo$c<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
26559
26671
|
__responseType: Q;
|
|
26560
26672
|
__originalResponseType: R;
|
|
26561
26673
|
};
|
|
26562
|
-
declare function getGiftCard(): __PublicMethodMetaInfo$
|
|
26674
|
+
declare function getGiftCard(): __PublicMethodMetaInfo$e<'POST', {
|
|
26563
26675
|
code: string;
|
|
26564
26676
|
}, GetGiftCardRequest, GetGiftCardRequest$1, GetGiftCardResponse & GetGiftCardResponseNonNullableFields, GetGiftCardResponse$1 & GetGiftCardResponseNonNullableFields$1>;
|
|
26565
|
-
declare function redeemGiftCard(): __PublicMethodMetaInfo$
|
|
26566
|
-
declare function voidTransaction(): __PublicMethodMetaInfo$
|
|
26677
|
+
declare function redeemGiftCard(): __PublicMethodMetaInfo$e<'POST', {}, RedeemGiftCardRequest, RedeemGiftCardRequest$1, RedeemGiftCardResponse & RedeemGiftCardResponseNonNullableFields, RedeemGiftCardResponse$1 & RedeemGiftCardResponseNonNullableFields$1>;
|
|
26678
|
+
declare function voidTransaction(): __PublicMethodMetaInfo$e<'POST', {}, VoidTransactionRequest, VoidTransactionRequest$1, VoidTransactionResponse, VoidTransactionResponse$1>;
|
|
26567
26679
|
|
|
26568
|
-
declare const meta$
|
|
26569
|
-
declare const meta$
|
|
26570
|
-
declare const meta$
|
|
26571
|
-
declare namespace meta$
|
|
26572
|
-
export { type __PublicMethodMetaInfo$
|
|
26680
|
+
declare const meta$e_getGiftCard: typeof getGiftCard;
|
|
26681
|
+
declare const meta$e_redeemGiftCard: typeof redeemGiftCard;
|
|
26682
|
+
declare const meta$e_voidTransaction: typeof voidTransaction;
|
|
26683
|
+
declare namespace meta$e {
|
|
26684
|
+
export { type __PublicMethodMetaInfo$e as __PublicMethodMetaInfo, meta$e_getGiftCard as getGiftCard, meta$e_redeemGiftCard as redeemGiftCard, meta$e_voidTransaction as voidTransaction };
|
|
26573
26685
|
}
|
|
26574
26686
|
|
|
26575
26687
|
interface LocalDeliveryOption$1 extends LocalDeliveryOptionConfigOneOf$1 {
|
|
@@ -26798,13 +26910,13 @@ interface ListLocalDeliveryOptionsResponse$1 {
|
|
|
26798
26910
|
}
|
|
26799
26911
|
interface QueryLocalDeliveryOptionsRequest$1 {
|
|
26800
26912
|
/** WQL expression */
|
|
26801
|
-
query: QueryV2$
|
|
26913
|
+
query: QueryV2$5;
|
|
26802
26914
|
}
|
|
26803
|
-
interface QueryV2$
|
|
26915
|
+
interface QueryV2$5 extends QueryV2PagingMethodOneOf$5 {
|
|
26804
26916
|
/** Paging options to limit and skip the number of items. */
|
|
26805
|
-
paging?: Paging$
|
|
26917
|
+
paging?: Paging$5;
|
|
26806
26918
|
/** 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$
|
|
26919
|
+
cursorPaging?: CursorPaging$f;
|
|
26808
26920
|
/**
|
|
26809
26921
|
* Filter object.
|
|
26810
26922
|
*
|
|
@@ -26816,36 +26928,36 @@ interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
|
|
|
26816
26928
|
*
|
|
26817
26929
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
26818
26930
|
*/
|
|
26819
|
-
sort?: Sorting$
|
|
26931
|
+
sort?: Sorting$f[];
|
|
26820
26932
|
/** 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
26933
|
fields?: string[];
|
|
26822
26934
|
/** 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
26935
|
fieldsets?: string[];
|
|
26824
26936
|
}
|
|
26825
26937
|
/** @oneof */
|
|
26826
|
-
interface QueryV2PagingMethodOneOf$
|
|
26938
|
+
interface QueryV2PagingMethodOneOf$5 {
|
|
26827
26939
|
/** Paging options to limit and skip the number of items. */
|
|
26828
|
-
paging?: Paging$
|
|
26940
|
+
paging?: Paging$5;
|
|
26829
26941
|
/** 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$
|
|
26942
|
+
cursorPaging?: CursorPaging$f;
|
|
26831
26943
|
}
|
|
26832
|
-
interface Sorting$
|
|
26944
|
+
interface Sorting$f {
|
|
26833
26945
|
/** Name of the field to sort by. */
|
|
26834
26946
|
fieldName?: string;
|
|
26835
26947
|
/** Sort order. */
|
|
26836
|
-
order?: SortOrder$
|
|
26948
|
+
order?: SortOrder$f;
|
|
26837
26949
|
}
|
|
26838
|
-
declare enum SortOrder$
|
|
26950
|
+
declare enum SortOrder$f {
|
|
26839
26951
|
ASC = "ASC",
|
|
26840
26952
|
DESC = "DESC"
|
|
26841
26953
|
}
|
|
26842
|
-
interface Paging$
|
|
26954
|
+
interface Paging$5 {
|
|
26843
26955
|
/** Number of items to load. */
|
|
26844
26956
|
limit?: number | null;
|
|
26845
26957
|
/** Number of items to skip in the current sort order. */
|
|
26846
26958
|
offset?: number | null;
|
|
26847
26959
|
}
|
|
26848
|
-
interface CursorPaging$
|
|
26960
|
+
interface CursorPaging$f {
|
|
26849
26961
|
/** Maximum number of items to return in the results. */
|
|
26850
26962
|
limit?: number | null;
|
|
26851
26963
|
/**
|
|
@@ -26866,7 +26978,7 @@ interface CursorPagingMetadata$d {
|
|
|
26866
26978
|
/** Number of items returned in current page. */
|
|
26867
26979
|
count?: number | null;
|
|
26868
26980
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
26869
|
-
cursors?: Cursors$
|
|
26981
|
+
cursors?: Cursors$f;
|
|
26870
26982
|
/**
|
|
26871
26983
|
* Whether there are more pages to retrieve following the current page.
|
|
26872
26984
|
*
|
|
@@ -26875,7 +26987,7 @@ interface CursorPagingMetadata$d {
|
|
|
26875
26987
|
*/
|
|
26876
26988
|
hasNext?: boolean | null;
|
|
26877
26989
|
}
|
|
26878
|
-
interface Cursors$
|
|
26990
|
+
interface Cursors$f {
|
|
26879
26991
|
/** Cursor string pointing to the next page in the list of results. */
|
|
26880
26992
|
next?: string | null;
|
|
26881
26993
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -27238,13 +27350,13 @@ interface ListLocalDeliveryOptionsResponse {
|
|
|
27238
27350
|
}
|
|
27239
27351
|
interface QueryLocalDeliveryOptionsRequest {
|
|
27240
27352
|
/** WQL expression */
|
|
27241
|
-
query: QueryV2$
|
|
27353
|
+
query: QueryV2$4;
|
|
27242
27354
|
}
|
|
27243
|
-
interface QueryV2$
|
|
27355
|
+
interface QueryV2$4 extends QueryV2PagingMethodOneOf$4 {
|
|
27244
27356
|
/** Paging options to limit and skip the number of items. */
|
|
27245
|
-
paging?: Paging$
|
|
27357
|
+
paging?: Paging$4;
|
|
27246
27358
|
/** 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$
|
|
27359
|
+
cursorPaging?: CursorPaging$e;
|
|
27248
27360
|
/**
|
|
27249
27361
|
* Filter object.
|
|
27250
27362
|
*
|
|
@@ -27256,36 +27368,36 @@ interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
|
|
|
27256
27368
|
*
|
|
27257
27369
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
27258
27370
|
*/
|
|
27259
|
-
sort?: Sorting$
|
|
27371
|
+
sort?: Sorting$e[];
|
|
27260
27372
|
/** 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
27373
|
fields?: string[];
|
|
27262
27374
|
/** 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
27375
|
fieldsets?: string[];
|
|
27264
27376
|
}
|
|
27265
27377
|
/** @oneof */
|
|
27266
|
-
interface QueryV2PagingMethodOneOf$
|
|
27378
|
+
interface QueryV2PagingMethodOneOf$4 {
|
|
27267
27379
|
/** Paging options to limit and skip the number of items. */
|
|
27268
|
-
paging?: Paging$
|
|
27380
|
+
paging?: Paging$4;
|
|
27269
27381
|
/** 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$
|
|
27382
|
+
cursorPaging?: CursorPaging$e;
|
|
27271
27383
|
}
|
|
27272
|
-
interface Sorting$
|
|
27384
|
+
interface Sorting$e {
|
|
27273
27385
|
/** Name of the field to sort by. */
|
|
27274
27386
|
fieldName?: string;
|
|
27275
27387
|
/** Sort order. */
|
|
27276
|
-
order?: SortOrder$
|
|
27388
|
+
order?: SortOrder$e;
|
|
27277
27389
|
}
|
|
27278
|
-
declare enum SortOrder$
|
|
27390
|
+
declare enum SortOrder$e {
|
|
27279
27391
|
ASC = "ASC",
|
|
27280
27392
|
DESC = "DESC"
|
|
27281
27393
|
}
|
|
27282
|
-
interface Paging$
|
|
27394
|
+
interface Paging$4 {
|
|
27283
27395
|
/** Number of items to load. */
|
|
27284
27396
|
limit?: number | null;
|
|
27285
27397
|
/** Number of items to skip in the current sort order. */
|
|
27286
27398
|
offset?: number | null;
|
|
27287
27399
|
}
|
|
27288
|
-
interface CursorPaging$
|
|
27400
|
+
interface CursorPaging$e {
|
|
27289
27401
|
/** Maximum number of items to return in the results. */
|
|
27290
27402
|
limit?: number | null;
|
|
27291
27403
|
/**
|
|
@@ -27306,7 +27418,7 @@ interface CursorPagingMetadata$c {
|
|
|
27306
27418
|
/** Number of items returned in current page. */
|
|
27307
27419
|
count?: number | null;
|
|
27308
27420
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
27309
|
-
cursors?: Cursors$
|
|
27421
|
+
cursors?: Cursors$e;
|
|
27310
27422
|
/**
|
|
27311
27423
|
* Whether there are more pages to retrieve following the current page.
|
|
27312
27424
|
*
|
|
@@ -27315,7 +27427,7 @@ interface CursorPagingMetadata$c {
|
|
|
27315
27427
|
*/
|
|
27316
27428
|
hasNext?: boolean | null;
|
|
27317
27429
|
}
|
|
27318
|
-
interface Cursors$
|
|
27430
|
+
interface Cursors$e {
|
|
27319
27431
|
/** Cursor string pointing to the next page in the list of results. */
|
|
27320
27432
|
next?: string | null;
|
|
27321
27433
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -27452,7 +27564,7 @@ interface RemoveDeliveryRegionResponseNonNullableFields$2 {
|
|
|
27452
27564
|
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
27453
27565
|
}
|
|
27454
27566
|
|
|
27455
|
-
type __PublicMethodMetaInfo$
|
|
27567
|
+
type __PublicMethodMetaInfo$d<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
27456
27568
|
getUrl: (context: any) => string;
|
|
27457
27569
|
httpMethod: K;
|
|
27458
27570
|
path: string;
|
|
@@ -27462,35 +27574,35 @@ type __PublicMethodMetaInfo$b<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
27462
27574
|
__responseType: Q;
|
|
27463
27575
|
__originalResponseType: R;
|
|
27464
27576
|
};
|
|
27465
|
-
declare function createLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
27466
|
-
declare function getLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
27577
|
+
declare function createLocalDeliveryOption(): __PublicMethodMetaInfo$d<'POST', {}, CreateLocalDeliveryOptionRequest, CreateLocalDeliveryOptionRequest$1, CreateLocalDeliveryOptionResponse & CreateLocalDeliveryOptionResponseNonNullableFields, CreateLocalDeliveryOptionResponse$1 & CreateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27578
|
+
declare function getLocalDeliveryOption(): __PublicMethodMetaInfo$d<'GET', {
|
|
27467
27579
|
localDeliveryOptionId: string;
|
|
27468
27580
|
}, GetLocalDeliveryOptionRequest, GetLocalDeliveryOptionRequest$1, GetLocalDeliveryOptionResponse & GetLocalDeliveryOptionResponseNonNullableFields, GetLocalDeliveryOptionResponse$1 & GetLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27469
|
-
declare function listLocalDeliveryOptions(): __PublicMethodMetaInfo$
|
|
27470
|
-
declare function queryLocalDeliveryOptions(): __PublicMethodMetaInfo$
|
|
27471
|
-
declare function updateLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
27581
|
+
declare function listLocalDeliveryOptions(): __PublicMethodMetaInfo$d<'GET', {}, ListLocalDeliveryOptionsRequest, ListLocalDeliveryOptionsRequest$1, ListLocalDeliveryOptionsResponse & ListLocalDeliveryOptionsResponseNonNullableFields, ListLocalDeliveryOptionsResponse$1 & ListLocalDeliveryOptionsResponseNonNullableFields$1>;
|
|
27582
|
+
declare function queryLocalDeliveryOptions(): __PublicMethodMetaInfo$d<'POST', {}, QueryLocalDeliveryOptionsRequest, QueryLocalDeliveryOptionsRequest$1, QueryLocalDeliveryOptionsResponse & QueryLocalDeliveryOptionsResponseNonNullableFields, QueryLocalDeliveryOptionsResponse$1 & QueryLocalDeliveryOptionsResponseNonNullableFields$1>;
|
|
27583
|
+
declare function updateLocalDeliveryOption(): __PublicMethodMetaInfo$d<'PATCH', {
|
|
27472
27584
|
localDeliveryOptionId: string;
|
|
27473
27585
|
}, UpdateLocalDeliveryOptionRequest, UpdateLocalDeliveryOptionRequest$1, UpdateLocalDeliveryOptionResponse & UpdateLocalDeliveryOptionResponseNonNullableFields, UpdateLocalDeliveryOptionResponse$1 & UpdateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27474
|
-
declare function deleteLocalDeliveryOption(): __PublicMethodMetaInfo$
|
|
27586
|
+
declare function deleteLocalDeliveryOption(): __PublicMethodMetaInfo$d<'DELETE', {
|
|
27475
27587
|
localDeliveryOptionId: string;
|
|
27476
27588
|
}, 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$
|
|
27589
|
+
declare function bulkCreateLocalDeliveryOption(): __PublicMethodMetaInfo$d<'POST', {}, BulkCreateLocalDeliveryOptionRequest, BulkCreateLocalDeliveryOptionRequest$1, BulkCreateLocalDeliveryOptionResponse & BulkCreateLocalDeliveryOptionResponseNonNullableFields, BulkCreateLocalDeliveryOptionResponse$1 & BulkCreateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27590
|
+
declare function bulkUpdateLocalDeliveryOption(): __PublicMethodMetaInfo$d<'PATCH', {}, BulkUpdateLocalDeliveryOptionRequest, BulkUpdateLocalDeliveryOptionRequest$1, BulkUpdateLocalDeliveryOptionResponse & BulkUpdateLocalDeliveryOptionResponseNonNullableFields, BulkUpdateLocalDeliveryOptionResponse$1 & BulkUpdateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27591
|
+
declare function bulkDeleteLocalDeliveryOption(): __PublicMethodMetaInfo$d<'DELETE', {}, BulkDeleteLocalDeliveryOptionRequest, BulkDeleteLocalDeliveryOptionRequest$1, BulkDeleteLocalDeliveryOptionResponse, BulkDeleteLocalDeliveryOptionResponse$1>;
|
|
27592
|
+
declare function addDeliveryRegion$1(): __PublicMethodMetaInfo$d<'POST', {}, AddDeliveryRegionRequest$2, AddDeliveryRegionRequest$3, AddDeliveryRegionResponse$2 & AddDeliveryRegionResponseNonNullableFields$2, AddDeliveryRegionResponse$3 & AddDeliveryRegionResponseNonNullableFields$3>;
|
|
27593
|
+
declare function removeDeliveryRegion$1(): __PublicMethodMetaInfo$d<'POST', {}, RemoveDeliveryRegionRequest$2, RemoveDeliveryRegionRequest$3, RemoveDeliveryRegionResponse$2 & RemoveDeliveryRegionResponseNonNullableFields$2, RemoveDeliveryRegionResponse$3 & RemoveDeliveryRegionResponseNonNullableFields$3>;
|
|
27482
27594
|
|
|
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$
|
|
27595
|
+
declare const meta$d_bulkCreateLocalDeliveryOption: typeof bulkCreateLocalDeliveryOption;
|
|
27596
|
+
declare const meta$d_bulkDeleteLocalDeliveryOption: typeof bulkDeleteLocalDeliveryOption;
|
|
27597
|
+
declare const meta$d_bulkUpdateLocalDeliveryOption: typeof bulkUpdateLocalDeliveryOption;
|
|
27598
|
+
declare const meta$d_createLocalDeliveryOption: typeof createLocalDeliveryOption;
|
|
27599
|
+
declare const meta$d_deleteLocalDeliveryOption: typeof deleteLocalDeliveryOption;
|
|
27600
|
+
declare const meta$d_getLocalDeliveryOption: typeof getLocalDeliveryOption;
|
|
27601
|
+
declare const meta$d_listLocalDeliveryOptions: typeof listLocalDeliveryOptions;
|
|
27602
|
+
declare const meta$d_queryLocalDeliveryOptions: typeof queryLocalDeliveryOptions;
|
|
27603
|
+
declare const meta$d_updateLocalDeliveryOption: typeof updateLocalDeliveryOption;
|
|
27604
|
+
declare namespace meta$d {
|
|
27605
|
+
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
27606
|
}
|
|
27495
27607
|
|
|
27496
27608
|
interface Order$1 {
|
|
@@ -27620,7 +27732,7 @@ interface Order$1 {
|
|
|
27620
27732
|
*
|
|
27621
27733
|
* [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
27734
|
*/
|
|
27623
|
-
extendedFields?: ExtendedFields$
|
|
27735
|
+
extendedFields?: ExtendedFields$9;
|
|
27624
27736
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
27625
27737
|
purchaseFlowId?: string | null;
|
|
27626
27738
|
/**
|
|
@@ -28609,7 +28721,7 @@ interface AdditionalFee$1 {
|
|
|
28609
28721
|
*/
|
|
28610
28722
|
lineItemIds?: string[];
|
|
28611
28723
|
}
|
|
28612
|
-
interface ExtendedFields$
|
|
28724
|
+
interface ExtendedFields$9 {
|
|
28613
28725
|
/**
|
|
28614
28726
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
28615
28727
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -28652,17 +28764,17 @@ interface TagList$1 {
|
|
|
28652
28764
|
/** List of tag IDs */
|
|
28653
28765
|
tagIds?: string[];
|
|
28654
28766
|
}
|
|
28655
|
-
interface Sorting$
|
|
28767
|
+
interface Sorting$d {
|
|
28656
28768
|
/** Name of the field to sort by. */
|
|
28657
28769
|
fieldName?: string;
|
|
28658
28770
|
/** Sort order. */
|
|
28659
|
-
order?: SortOrder$
|
|
28771
|
+
order?: SortOrder$d;
|
|
28660
28772
|
}
|
|
28661
|
-
declare enum SortOrder$
|
|
28773
|
+
declare enum SortOrder$d {
|
|
28662
28774
|
ASC = "ASC",
|
|
28663
28775
|
DESC = "DESC"
|
|
28664
28776
|
}
|
|
28665
|
-
interface CursorPaging$
|
|
28777
|
+
interface CursorPaging$d {
|
|
28666
28778
|
/** Maximum number of items to return in the results. */
|
|
28667
28779
|
limit?: number | null;
|
|
28668
28780
|
/**
|
|
@@ -28673,7 +28785,7 @@ interface CursorPaging$b {
|
|
|
28673
28785
|
*/
|
|
28674
28786
|
cursor?: string | null;
|
|
28675
28787
|
}
|
|
28676
|
-
interface Cursors$
|
|
28788
|
+
interface Cursors$d {
|
|
28677
28789
|
/** Cursor string pointing to the next page in the list of results. */
|
|
28678
28790
|
next?: string | null;
|
|
28679
28791
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -29083,7 +29195,7 @@ interface CursorSearch$1 extends CursorSearchPagingMethodOneOf$1 {
|
|
|
29083
29195
|
* Cursor paging options.
|
|
29084
29196
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
29085
29197
|
*/
|
|
29086
|
-
cursorPaging?: CursorPaging$
|
|
29198
|
+
cursorPaging?: CursorPaging$d;
|
|
29087
29199
|
/**
|
|
29088
29200
|
* Filter object.
|
|
29089
29201
|
*
|
|
@@ -29103,7 +29215,7 @@ interface CursorSearch$1 extends CursorSearchPagingMethodOneOf$1 {
|
|
|
29103
29215
|
*
|
|
29104
29216
|
* Learn more about the [sort format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
29105
29217
|
*/
|
|
29106
|
-
sort?: Sorting$
|
|
29218
|
+
sort?: Sorting$d[];
|
|
29107
29219
|
}
|
|
29108
29220
|
/** @oneof */
|
|
29109
29221
|
interface CursorSearchPagingMethodOneOf$1 {
|
|
@@ -29111,7 +29223,7 @@ interface CursorSearchPagingMethodOneOf$1 {
|
|
|
29111
29223
|
* Cursor paging options.
|
|
29112
29224
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
29113
29225
|
*/
|
|
29114
|
-
cursorPaging?: CursorPaging$
|
|
29226
|
+
cursorPaging?: CursorPaging$d;
|
|
29115
29227
|
}
|
|
29116
29228
|
interface SearchOrdersResponse$1 {
|
|
29117
29229
|
/** List of orders. */
|
|
@@ -29123,7 +29235,7 @@ interface CursorPagingMetadata$b {
|
|
|
29123
29235
|
/** Number of items returned in current page. */
|
|
29124
29236
|
count?: number | null;
|
|
29125
29237
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
29126
|
-
cursors?: Cursors$
|
|
29238
|
+
cursors?: Cursors$d;
|
|
29127
29239
|
/**
|
|
29128
29240
|
* Whether there are more pages to retrieve following the current page.
|
|
29129
29241
|
*
|
|
@@ -29928,7 +30040,7 @@ interface Order {
|
|
|
29928
30040
|
*
|
|
29929
30041
|
* [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
30042
|
*/
|
|
29931
|
-
extendedFields?: ExtendedFields$
|
|
30043
|
+
extendedFields?: ExtendedFields$8;
|
|
29932
30044
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
29933
30045
|
purchaseFlowId?: string | null;
|
|
29934
30046
|
/**
|
|
@@ -30874,7 +30986,7 @@ interface AdditionalFee {
|
|
|
30874
30986
|
*/
|
|
30875
30987
|
lineItemIds?: string[];
|
|
30876
30988
|
}
|
|
30877
|
-
interface ExtendedFields$
|
|
30989
|
+
interface ExtendedFields$8 {
|
|
30878
30990
|
/**
|
|
30879
30991
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
30880
30992
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -30917,17 +31029,17 @@ interface TagList {
|
|
|
30917
31029
|
/** List of tag IDs */
|
|
30918
31030
|
tagIds?: string[];
|
|
30919
31031
|
}
|
|
30920
|
-
interface Sorting$
|
|
31032
|
+
interface Sorting$c {
|
|
30921
31033
|
/** Name of the field to sort by. */
|
|
30922
31034
|
fieldName?: string;
|
|
30923
31035
|
/** Sort order. */
|
|
30924
|
-
order?: SortOrder$
|
|
31036
|
+
order?: SortOrder$c;
|
|
30925
31037
|
}
|
|
30926
|
-
declare enum SortOrder$
|
|
31038
|
+
declare enum SortOrder$c {
|
|
30927
31039
|
ASC = "ASC",
|
|
30928
31040
|
DESC = "DESC"
|
|
30929
31041
|
}
|
|
30930
|
-
interface CursorPaging$
|
|
31042
|
+
interface CursorPaging$c {
|
|
30931
31043
|
/** Maximum number of items to return in the results. */
|
|
30932
31044
|
limit?: number | null;
|
|
30933
31045
|
/**
|
|
@@ -30938,7 +31050,7 @@ interface CursorPaging$a {
|
|
|
30938
31050
|
*/
|
|
30939
31051
|
cursor?: string | null;
|
|
30940
31052
|
}
|
|
30941
|
-
interface Cursors$
|
|
31053
|
+
interface Cursors$c {
|
|
30942
31054
|
/** Cursor string pointing to the next page in the list of results. */
|
|
30943
31055
|
next?: string | null;
|
|
30944
31056
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -31348,7 +31460,7 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
31348
31460
|
* Cursor paging options.
|
|
31349
31461
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
31350
31462
|
*/
|
|
31351
|
-
cursorPaging?: CursorPaging$
|
|
31463
|
+
cursorPaging?: CursorPaging$c;
|
|
31352
31464
|
/**
|
|
31353
31465
|
* Filter object.
|
|
31354
31466
|
*
|
|
@@ -31368,7 +31480,7 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
31368
31480
|
*
|
|
31369
31481
|
* Learn more about the [sort format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
31370
31482
|
*/
|
|
31371
|
-
sort?: Sorting$
|
|
31483
|
+
sort?: Sorting$c[];
|
|
31372
31484
|
}
|
|
31373
31485
|
/** @oneof */
|
|
31374
31486
|
interface CursorSearchPagingMethodOneOf {
|
|
@@ -31376,7 +31488,7 @@ interface CursorSearchPagingMethodOneOf {
|
|
|
31376
31488
|
* Cursor paging options.
|
|
31377
31489
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
31378
31490
|
*/
|
|
31379
|
-
cursorPaging?: CursorPaging$
|
|
31491
|
+
cursorPaging?: CursorPaging$c;
|
|
31380
31492
|
}
|
|
31381
31493
|
interface SearchOrdersResponse {
|
|
31382
31494
|
/** List of orders. */
|
|
@@ -31388,7 +31500,7 @@ interface CursorPagingMetadata$a {
|
|
|
31388
31500
|
/** Number of items returned in current page. */
|
|
31389
31501
|
count?: number | null;
|
|
31390
31502
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
31391
|
-
cursors?: Cursors$
|
|
31503
|
+
cursors?: Cursors$c;
|
|
31392
31504
|
/**
|
|
31393
31505
|
* Whether there are more pages to retrieve following the current page.
|
|
31394
31506
|
*
|
|
@@ -32060,7 +32172,7 @@ interface BulkUpdateOrderTagsResponseNonNullableFields {
|
|
|
32060
32172
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
|
|
32061
32173
|
}
|
|
32062
32174
|
|
|
32063
|
-
type __PublicMethodMetaInfo$
|
|
32175
|
+
type __PublicMethodMetaInfo$c<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
32064
32176
|
getUrl: (context: any) => string;
|
|
32065
32177
|
httpMethod: K;
|
|
32066
32178
|
path: string;
|
|
@@ -32070,45 +32182,45 @@ type __PublicMethodMetaInfo$a<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
32070
32182
|
__responseType: Q;
|
|
32071
32183
|
__originalResponseType: R;
|
|
32072
32184
|
};
|
|
32073
|
-
declare function preparePaymentCollection(): __PublicMethodMetaInfo$
|
|
32185
|
+
declare function preparePaymentCollection(): __PublicMethodMetaInfo$c<'POST', {
|
|
32074
32186
|
ecomOrderId: string;
|
|
32075
32187
|
}, PreparePaymentCollectionRequest, PreparePaymentCollectionRequest$1, PreparePaymentCollectionResponse & PreparePaymentCollectionResponseNonNullableFields, PreparePaymentCollectionResponse$1 & PreparePaymentCollectionResponseNonNullableFields$1>;
|
|
32076
|
-
declare function getPaymentCollectabilityStatus(): __PublicMethodMetaInfo$
|
|
32188
|
+
declare function getPaymentCollectabilityStatus(): __PublicMethodMetaInfo$c<'GET', {
|
|
32077
32189
|
ecomOrderId: string;
|
|
32078
32190
|
}, GetPaymentCollectabilityStatusRequest, GetPaymentCollectabilityStatusRequest$1, GetPaymentCollectabilityStatusResponse & GetPaymentCollectabilityStatusResponseNonNullableFields, GetPaymentCollectabilityStatusResponse$1 & GetPaymentCollectabilityStatusResponseNonNullableFields$1>;
|
|
32079
|
-
declare function voidAuthorizedPayments(): __PublicMethodMetaInfo$
|
|
32191
|
+
declare function voidAuthorizedPayments(): __PublicMethodMetaInfo$c<'POST', {
|
|
32080
32192
|
ecomOrderId: string;
|
|
32081
32193
|
}, VoidAuthorizedPaymentsRequest, VoidAuthorizedPaymentsRequest$1, VoidAuthorizedPaymentsResponse & VoidAuthorizedPaymentsResponseNonNullableFields, VoidAuthorizedPaymentsResponse$1 & VoidAuthorizedPaymentsResponseNonNullableFields$1>;
|
|
32082
|
-
declare function captureAuthorizedPayments(): __PublicMethodMetaInfo$
|
|
32194
|
+
declare function captureAuthorizedPayments(): __PublicMethodMetaInfo$c<'POST', {
|
|
32083
32195
|
ecomOrderId: string;
|
|
32084
32196
|
}, CaptureAuthorizedPaymentsRequest, CaptureAuthorizedPaymentsRequest$1, CaptureAuthorizedPaymentsResponse & CaptureAuthorizedPaymentsResponseNonNullableFields, CaptureAuthorizedPaymentsResponse$1 & CaptureAuthorizedPaymentsResponseNonNullableFields$1>;
|
|
32085
|
-
declare function getOrder(): __PublicMethodMetaInfo$
|
|
32197
|
+
declare function getOrder(): __PublicMethodMetaInfo$c<'GET', {
|
|
32086
32198
|
id: string;
|
|
32087
32199
|
}, GetOrderRequest, GetOrderRequest$1, GetOrderResponse & GetOrderResponseNonNullableFields, GetOrderResponse$1 & GetOrderResponseNonNullableFields$1>;
|
|
32088
|
-
declare function searchOrders(): __PublicMethodMetaInfo$
|
|
32089
|
-
declare function createOrder(): __PublicMethodMetaInfo$
|
|
32090
|
-
declare function updateOrder(): __PublicMethodMetaInfo$
|
|
32200
|
+
declare function searchOrders(): __PublicMethodMetaInfo$c<'POST', {}, SearchOrdersRequest, SearchOrdersRequest$1, SearchOrdersResponse & SearchOrdersResponseNonNullableFields, SearchOrdersResponse$1 & SearchOrdersResponseNonNullableFields$1>;
|
|
32201
|
+
declare function createOrder(): __PublicMethodMetaInfo$c<'POST', {}, CreateOrderRequest, CreateOrderRequest$1, CreateOrderResponse & CreateOrderResponseNonNullableFields, CreateOrderResponse$1 & CreateOrderResponseNonNullableFields$1>;
|
|
32202
|
+
declare function updateOrder(): __PublicMethodMetaInfo$c<'PATCH', {
|
|
32091
32203
|
orderId: string;
|
|
32092
32204
|
}, UpdateOrderRequest, UpdateOrderRequest$1, UpdateOrderResponse & UpdateOrderResponseNonNullableFields, UpdateOrderResponse$1 & UpdateOrderResponseNonNullableFields$1>;
|
|
32093
|
-
declare function bulkUpdateOrders(): __PublicMethodMetaInfo$
|
|
32094
|
-
declare function cancelOrder(): __PublicMethodMetaInfo$
|
|
32205
|
+
declare function bulkUpdateOrders(): __PublicMethodMetaInfo$c<'POST', {}, BulkUpdateOrdersRequest, BulkUpdateOrdersRequest$1, BulkUpdateOrdersResponse & BulkUpdateOrdersResponseNonNullableFields, BulkUpdateOrdersResponse$1 & BulkUpdateOrdersResponseNonNullableFields$1>;
|
|
32206
|
+
declare function cancelOrder(): __PublicMethodMetaInfo$c<'POST', {
|
|
32095
32207
|
id: string;
|
|
32096
32208
|
}, CancelOrderRequest, CancelOrderRequest$1, CancelOrderResponse & CancelOrderResponseNonNullableFields, CancelOrderResponse$1 & CancelOrderResponseNonNullableFields$1>;
|
|
32097
|
-
declare function bulkUpdateOrderTags(): __PublicMethodMetaInfo$
|
|
32209
|
+
declare function bulkUpdateOrderTags(): __PublicMethodMetaInfo$c<'POST', {}, BulkUpdateOrderTagsRequest, BulkUpdateOrderTagsRequest$1, BulkUpdateOrderTagsResponse & BulkUpdateOrderTagsResponseNonNullableFields, BulkUpdateOrderTagsResponse$1 & BulkUpdateOrderTagsResponseNonNullableFields$1>;
|
|
32098
32210
|
|
|
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$
|
|
32211
|
+
declare const meta$c_bulkUpdateOrderTags: typeof bulkUpdateOrderTags;
|
|
32212
|
+
declare const meta$c_bulkUpdateOrders: typeof bulkUpdateOrders;
|
|
32213
|
+
declare const meta$c_cancelOrder: typeof cancelOrder;
|
|
32214
|
+
declare const meta$c_captureAuthorizedPayments: typeof captureAuthorizedPayments;
|
|
32215
|
+
declare const meta$c_createOrder: typeof createOrder;
|
|
32216
|
+
declare const meta$c_getOrder: typeof getOrder;
|
|
32217
|
+
declare const meta$c_getPaymentCollectabilityStatus: typeof getPaymentCollectabilityStatus;
|
|
32218
|
+
declare const meta$c_preparePaymentCollection: typeof preparePaymentCollection;
|
|
32219
|
+
declare const meta$c_searchOrders: typeof searchOrders;
|
|
32220
|
+
declare const meta$c_updateOrder: typeof updateOrder;
|
|
32221
|
+
declare const meta$c_voidAuthorizedPayments: typeof voidAuthorizedPayments;
|
|
32222
|
+
declare namespace meta$c {
|
|
32223
|
+
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
32224
|
}
|
|
32113
32225
|
|
|
32114
32226
|
interface OrderPaymentRequest$1 {
|
|
@@ -32155,7 +32267,7 @@ interface OrderPaymentRequest$1 {
|
|
|
32155
32267
|
/** Time and date the order payment request expires. */
|
|
32156
32268
|
expirationDate?: Date | null;
|
|
32157
32269
|
/** [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$
|
|
32270
|
+
extendedFields?: ExtendedFields$7;
|
|
32159
32271
|
/**
|
|
32160
32272
|
* Date and time the OrderPaymentRequest was created.
|
|
32161
32273
|
* @readonly
|
|
@@ -32209,7 +32321,7 @@ interface Image {
|
|
|
32209
32321
|
*/
|
|
32210
32322
|
filename?: string | null;
|
|
32211
32323
|
}
|
|
32212
|
-
interface ExtendedFields$
|
|
32324
|
+
interface ExtendedFields$7 {
|
|
32213
32325
|
/**
|
|
32214
32326
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
32215
32327
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -32258,7 +32370,7 @@ interface QueryOrderPaymentRequestsRequest$1 {
|
|
|
32258
32370
|
}
|
|
32259
32371
|
interface CursorQuery$7 extends CursorQueryPagingMethodOneOf$7 {
|
|
32260
32372
|
/** 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$
|
|
32373
|
+
cursorPaging?: CursorPaging$b;
|
|
32262
32374
|
/**
|
|
32263
32375
|
* Filter object in the following format:
|
|
32264
32376
|
* `"filter" : {
|
|
@@ -32272,24 +32384,24 @@ interface CursorQuery$7 extends CursorQueryPagingMethodOneOf$7 {
|
|
|
32272
32384
|
* Sort object in the following format:
|
|
32273
32385
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
32274
32386
|
*/
|
|
32275
|
-
sort?: Sorting$
|
|
32387
|
+
sort?: Sorting$b[];
|
|
32276
32388
|
}
|
|
32277
32389
|
/** @oneof */
|
|
32278
32390
|
interface CursorQueryPagingMethodOneOf$7 {
|
|
32279
32391
|
/** 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$
|
|
32392
|
+
cursorPaging?: CursorPaging$b;
|
|
32281
32393
|
}
|
|
32282
|
-
interface Sorting$
|
|
32394
|
+
interface Sorting$b {
|
|
32283
32395
|
/** Name of the field to sort by. */
|
|
32284
32396
|
fieldName?: string;
|
|
32285
32397
|
/** Sort order. */
|
|
32286
|
-
order?: SortOrder$
|
|
32398
|
+
order?: SortOrder$b;
|
|
32287
32399
|
}
|
|
32288
|
-
declare enum SortOrder$
|
|
32400
|
+
declare enum SortOrder$b {
|
|
32289
32401
|
ASC = "ASC",
|
|
32290
32402
|
DESC = "DESC"
|
|
32291
32403
|
}
|
|
32292
|
-
interface CursorPaging$
|
|
32404
|
+
interface CursorPaging$b {
|
|
32293
32405
|
/** Maximum number of items to return in the results. */
|
|
32294
32406
|
limit?: number | null;
|
|
32295
32407
|
/**
|
|
@@ -32310,7 +32422,7 @@ interface CursorPagingMetadata$9 {
|
|
|
32310
32422
|
/** Number of items returned in the response. */
|
|
32311
32423
|
count?: number | null;
|
|
32312
32424
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
32313
|
-
cursors?: Cursors$
|
|
32425
|
+
cursors?: Cursors$b;
|
|
32314
32426
|
/**
|
|
32315
32427
|
* Whether there are more pages to retrieve following the current page.
|
|
32316
32428
|
*
|
|
@@ -32319,7 +32431,7 @@ interface CursorPagingMetadata$9 {
|
|
|
32319
32431
|
*/
|
|
32320
32432
|
hasNext?: boolean | null;
|
|
32321
32433
|
}
|
|
32322
|
-
interface Cursors$
|
|
32434
|
+
interface Cursors$b {
|
|
32323
32435
|
/** Cursor string pointing to the next page in the list of results. */
|
|
32324
32436
|
next?: string | null;
|
|
32325
32437
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -32430,7 +32542,7 @@ interface OrderPaymentRequest {
|
|
|
32430
32542
|
/** Time and date the order payment request expires. */
|
|
32431
32543
|
expirationDate?: Date | null;
|
|
32432
32544
|
/** [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$
|
|
32545
|
+
extendedFields?: ExtendedFields$6;
|
|
32434
32546
|
/**
|
|
32435
32547
|
* Date and time the OrderPaymentRequest was created.
|
|
32436
32548
|
* @readonly
|
|
@@ -32463,7 +32575,7 @@ interface Price$4 {
|
|
|
32463
32575
|
*/
|
|
32464
32576
|
formattedAmount?: string;
|
|
32465
32577
|
}
|
|
32466
|
-
interface ExtendedFields$
|
|
32578
|
+
interface ExtendedFields$6 {
|
|
32467
32579
|
/**
|
|
32468
32580
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
32469
32581
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -32512,7 +32624,7 @@ interface QueryOrderPaymentRequestsRequest {
|
|
|
32512
32624
|
}
|
|
32513
32625
|
interface CursorQuery$6 extends CursorQueryPagingMethodOneOf$6 {
|
|
32514
32626
|
/** 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$
|
|
32627
|
+
cursorPaging?: CursorPaging$a;
|
|
32516
32628
|
/**
|
|
32517
32629
|
* Filter object in the following format:
|
|
32518
32630
|
* `"filter" : {
|
|
@@ -32526,24 +32638,24 @@ interface CursorQuery$6 extends CursorQueryPagingMethodOneOf$6 {
|
|
|
32526
32638
|
* Sort object in the following format:
|
|
32527
32639
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
32528
32640
|
*/
|
|
32529
|
-
sort?: Sorting$
|
|
32641
|
+
sort?: Sorting$a[];
|
|
32530
32642
|
}
|
|
32531
32643
|
/** @oneof */
|
|
32532
32644
|
interface CursorQueryPagingMethodOneOf$6 {
|
|
32533
32645
|
/** 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$
|
|
32646
|
+
cursorPaging?: CursorPaging$a;
|
|
32535
32647
|
}
|
|
32536
|
-
interface Sorting$
|
|
32648
|
+
interface Sorting$a {
|
|
32537
32649
|
/** Name of the field to sort by. */
|
|
32538
32650
|
fieldName?: string;
|
|
32539
32651
|
/** Sort order. */
|
|
32540
|
-
order?: SortOrder$
|
|
32652
|
+
order?: SortOrder$a;
|
|
32541
32653
|
}
|
|
32542
|
-
declare enum SortOrder$
|
|
32654
|
+
declare enum SortOrder$a {
|
|
32543
32655
|
ASC = "ASC",
|
|
32544
32656
|
DESC = "DESC"
|
|
32545
32657
|
}
|
|
32546
|
-
interface CursorPaging$
|
|
32658
|
+
interface CursorPaging$a {
|
|
32547
32659
|
/** Maximum number of items to return in the results. */
|
|
32548
32660
|
limit?: number | null;
|
|
32549
32661
|
/**
|
|
@@ -32564,7 +32676,7 @@ interface CursorPagingMetadata$8 {
|
|
|
32564
32676
|
/** Number of items returned in the response. */
|
|
32565
32677
|
count?: number | null;
|
|
32566
32678
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
32567
|
-
cursors?: Cursors$
|
|
32679
|
+
cursors?: Cursors$a;
|
|
32568
32680
|
/**
|
|
32569
32681
|
* Whether there are more pages to retrieve following the current page.
|
|
32570
32682
|
*
|
|
@@ -32573,7 +32685,7 @@ interface CursorPagingMetadata$8 {
|
|
|
32573
32685
|
*/
|
|
32574
32686
|
hasNext?: boolean | null;
|
|
32575
32687
|
}
|
|
32576
|
-
interface Cursors$
|
|
32688
|
+
interface Cursors$a {
|
|
32577
32689
|
/** Cursor string pointing to the next page in the list of results. */
|
|
32578
32690
|
next?: string | null;
|
|
32579
32691
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -32635,7 +32747,7 @@ interface UpdateExtendedFieldsResponseNonNullableFields$4 {
|
|
|
32635
32747
|
orderPaymentRequest?: OrderPaymentRequestNonNullableFields;
|
|
32636
32748
|
}
|
|
32637
32749
|
|
|
32638
|
-
type __PublicMethodMetaInfo$
|
|
32750
|
+
type __PublicMethodMetaInfo$b<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
32639
32751
|
getUrl: (context: any) => string;
|
|
32640
32752
|
httpMethod: K;
|
|
32641
32753
|
path: string;
|
|
@@ -32645,30 +32757,30 @@ type __PublicMethodMetaInfo$9<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
32645
32757
|
__responseType: Q;
|
|
32646
32758
|
__originalResponseType: R;
|
|
32647
32759
|
};
|
|
32648
|
-
declare function createOrderPaymentRequest(): __PublicMethodMetaInfo$
|
|
32649
|
-
declare function getOrderPaymentRequest(): __PublicMethodMetaInfo$
|
|
32760
|
+
declare function createOrderPaymentRequest(): __PublicMethodMetaInfo$b<'POST', {}, CreateOrderPaymentRequestRequest, CreateOrderPaymentRequestRequest$1, CreateOrderPaymentRequestResponse & CreateOrderPaymentRequestResponseNonNullableFields, CreateOrderPaymentRequestResponse$1 & CreateOrderPaymentRequestResponseNonNullableFields$1>;
|
|
32761
|
+
declare function getOrderPaymentRequest(): __PublicMethodMetaInfo$b<'GET', {
|
|
32650
32762
|
orderPaymentRequestId: string;
|
|
32651
32763
|
}, GetOrderPaymentRequestRequest, GetOrderPaymentRequestRequest$1, GetOrderPaymentRequestResponse & GetOrderPaymentRequestResponseNonNullableFields, GetOrderPaymentRequestResponse$1 & GetOrderPaymentRequestResponseNonNullableFields$1>;
|
|
32652
|
-
declare function updateOrderPaymentRequest(): __PublicMethodMetaInfo$
|
|
32764
|
+
declare function updateOrderPaymentRequest(): __PublicMethodMetaInfo$b<'PATCH', {
|
|
32653
32765
|
orderPaymentRequestId: string;
|
|
32654
32766
|
}, UpdateOrderPaymentRequestRequest, UpdateOrderPaymentRequestRequest$1, UpdateOrderPaymentRequestResponse & UpdateOrderPaymentRequestResponseNonNullableFields, UpdateOrderPaymentRequestResponse$1 & UpdateOrderPaymentRequestResponseNonNullableFields$1>;
|
|
32655
|
-
declare function deleteOrderPaymentRequest(): __PublicMethodMetaInfo$
|
|
32767
|
+
declare function deleteOrderPaymentRequest(): __PublicMethodMetaInfo$b<'DELETE', {
|
|
32656
32768
|
orderPaymentRequestId: string;
|
|
32657
32769
|
}, DeleteOrderPaymentRequestRequest, DeleteOrderPaymentRequestRequest$1, DeleteOrderPaymentRequestResponse, DeleteOrderPaymentRequestResponse$1>;
|
|
32658
|
-
declare function queryOrderPaymentRequests(): __PublicMethodMetaInfo$
|
|
32659
|
-
declare function getOrderPaymentRequestUrl(): __PublicMethodMetaInfo$
|
|
32660
|
-
declare function updateExtendedFields$2(): __PublicMethodMetaInfo$
|
|
32770
|
+
declare function queryOrderPaymentRequests(): __PublicMethodMetaInfo$b<'POST', {}, QueryOrderPaymentRequestsRequest, QueryOrderPaymentRequestsRequest$1, QueryOrderPaymentRequestsResponse & QueryOrderPaymentRequestsResponseNonNullableFields, QueryOrderPaymentRequestsResponse$1 & QueryOrderPaymentRequestsResponseNonNullableFields$1>;
|
|
32771
|
+
declare function getOrderPaymentRequestUrl(): __PublicMethodMetaInfo$b<'POST', {}, GetOrderPaymentRequestURLRequest, GetOrderPaymentRequestURLRequest$1, GetOrderPaymentRequestURLResponse & GetOrderPaymentRequestURLResponseNonNullableFields, GetOrderPaymentRequestURLResponse$1 & GetOrderPaymentRequestURLResponseNonNullableFields$1>;
|
|
32772
|
+
declare function updateExtendedFields$2(): __PublicMethodMetaInfo$b<'POST', {
|
|
32661
32773
|
id: string;
|
|
32662
32774
|
}, UpdateExtendedFieldsRequest$4, UpdateExtendedFieldsRequest$5, UpdateExtendedFieldsResponse$4 & UpdateExtendedFieldsResponseNonNullableFields$4, UpdateExtendedFieldsResponse$5 & UpdateExtendedFieldsResponseNonNullableFields$5>;
|
|
32663
32775
|
|
|
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$
|
|
32776
|
+
declare const meta$b_createOrderPaymentRequest: typeof createOrderPaymentRequest;
|
|
32777
|
+
declare const meta$b_deleteOrderPaymentRequest: typeof deleteOrderPaymentRequest;
|
|
32778
|
+
declare const meta$b_getOrderPaymentRequest: typeof getOrderPaymentRequest;
|
|
32779
|
+
declare const meta$b_getOrderPaymentRequestUrl: typeof getOrderPaymentRequestUrl;
|
|
32780
|
+
declare const meta$b_queryOrderPaymentRequests: typeof queryOrderPaymentRequests;
|
|
32781
|
+
declare const meta$b_updateOrderPaymentRequest: typeof updateOrderPaymentRequest;
|
|
32782
|
+
declare namespace meta$b {
|
|
32783
|
+
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
32784
|
}
|
|
32673
32785
|
|
|
32674
32786
|
interface OrderTransactions$1 {
|
|
@@ -33661,7 +33773,7 @@ interface BulkUpdatePaymentStatusesResponseNonNullableFields {
|
|
|
33661
33773
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
33662
33774
|
}
|
|
33663
33775
|
|
|
33664
|
-
type __PublicMethodMetaInfo$
|
|
33776
|
+
type __PublicMethodMetaInfo$a<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
33665
33777
|
getUrl: (context: any) => string;
|
|
33666
33778
|
httpMethod: K;
|
|
33667
33779
|
path: string;
|
|
@@ -33671,26 +33783,26 @@ type __PublicMethodMetaInfo$8<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
33671
33783
|
__responseType: Q;
|
|
33672
33784
|
__originalResponseType: R;
|
|
33673
33785
|
};
|
|
33674
|
-
declare function listTransactionsForSingleOrder(): __PublicMethodMetaInfo$
|
|
33786
|
+
declare function listTransactionsForSingleOrder(): __PublicMethodMetaInfo$a<'GET', {
|
|
33675
33787
|
orderId: string;
|
|
33676
33788
|
}, ListTransactionsForSingleOrderRequest, ListTransactionsForSingleOrderRequest$1, ListTransactionsForSingleOrderResponse & ListTransactionsForSingleOrderResponseNonNullableFields, ListTransactionsForSingleOrderResponse$1 & ListTransactionsForSingleOrderResponseNonNullableFields$1>;
|
|
33677
|
-
declare function listTransactionsForMultipleOrders(): __PublicMethodMetaInfo$
|
|
33678
|
-
declare function addPayments(): __PublicMethodMetaInfo$
|
|
33789
|
+
declare function listTransactionsForMultipleOrders(): __PublicMethodMetaInfo$a<'POST', {}, ListTransactionsForMultipleOrdersRequest, ListTransactionsForMultipleOrdersRequest$1, ListTransactionsForMultipleOrdersResponse & ListTransactionsForMultipleOrdersResponseNonNullableFields, ListTransactionsForMultipleOrdersResponse$1 & ListTransactionsForMultipleOrdersResponseNonNullableFields$1>;
|
|
33790
|
+
declare function addPayments(): __PublicMethodMetaInfo$a<'POST', {
|
|
33679
33791
|
orderId: string;
|
|
33680
33792
|
}, AddPaymentsRequest, AddPaymentsRequest$1, AddPaymentsResponse & AddPaymentsResponseNonNullableFields, AddPaymentsResponse$1 & AddPaymentsResponseNonNullableFields$1>;
|
|
33681
|
-
declare function updatePaymentStatus(): __PublicMethodMetaInfo$
|
|
33793
|
+
declare function updatePaymentStatus(): __PublicMethodMetaInfo$a<'POST', {
|
|
33682
33794
|
paymentId: string;
|
|
33683
33795
|
orderId: string;
|
|
33684
33796
|
}, UpdatePaymentStatusRequest, UpdatePaymentStatusRequest$1, UpdatePaymentStatusResponse & UpdatePaymentStatusResponseNonNullableFields, UpdatePaymentStatusResponse$1 & UpdatePaymentStatusResponseNonNullableFields$1>;
|
|
33685
|
-
declare function bulkUpdatePaymentStatuses(): __PublicMethodMetaInfo$
|
|
33797
|
+
declare function bulkUpdatePaymentStatuses(): __PublicMethodMetaInfo$a<'POST', {}, BulkUpdatePaymentStatusesRequest, BulkUpdatePaymentStatusesRequest$1, BulkUpdatePaymentStatusesResponse & BulkUpdatePaymentStatusesResponseNonNullableFields, BulkUpdatePaymentStatusesResponse$1 & BulkUpdatePaymentStatusesResponseNonNullableFields$1>;
|
|
33686
33798
|
|
|
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$
|
|
33799
|
+
declare const meta$a_addPayments: typeof addPayments;
|
|
33800
|
+
declare const meta$a_bulkUpdatePaymentStatuses: typeof bulkUpdatePaymentStatuses;
|
|
33801
|
+
declare const meta$a_listTransactionsForMultipleOrders: typeof listTransactionsForMultipleOrders;
|
|
33802
|
+
declare const meta$a_listTransactionsForSingleOrder: typeof listTransactionsForSingleOrder;
|
|
33803
|
+
declare const meta$a_updatePaymentStatus: typeof updatePaymentStatus;
|
|
33804
|
+
declare namespace meta$a {
|
|
33805
|
+
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
33806
|
}
|
|
33695
33807
|
|
|
33696
33808
|
interface OrdersSettings$1 {
|
|
@@ -33806,7 +33918,7 @@ interface UpdateOrdersSettingsResponseNonNullableFields {
|
|
|
33806
33918
|
ordersSettings?: OrdersSettingsNonNullableFields;
|
|
33807
33919
|
}
|
|
33808
33920
|
|
|
33809
|
-
type __PublicMethodMetaInfo$
|
|
33921
|
+
type __PublicMethodMetaInfo$9<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
33810
33922
|
getUrl: (context: any) => string;
|
|
33811
33923
|
httpMethod: K;
|
|
33812
33924
|
path: string;
|
|
@@ -33816,13 +33928,13 @@ type __PublicMethodMetaInfo$7<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
33816
33928
|
__responseType: Q;
|
|
33817
33929
|
__originalResponseType: R;
|
|
33818
33930
|
};
|
|
33819
|
-
declare function getOrdersSettings(): __PublicMethodMetaInfo$
|
|
33820
|
-
declare function updateOrdersSettings(): __PublicMethodMetaInfo$
|
|
33931
|
+
declare function getOrdersSettings(): __PublicMethodMetaInfo$9<'GET', {}, GetOrdersSettingsRequest, GetOrdersSettingsRequest$1, GetOrdersSettingsResponse & GetOrdersSettingsResponseNonNullableFields, GetOrdersSettingsResponse$1 & GetOrdersSettingsResponseNonNullableFields$1>;
|
|
33932
|
+
declare function updateOrdersSettings(): __PublicMethodMetaInfo$9<'PATCH', {}, UpdateOrdersSettingsRequest, UpdateOrdersSettingsRequest$1, UpdateOrdersSettingsResponse & UpdateOrdersSettingsResponseNonNullableFields, UpdateOrdersSettingsResponse$1 & UpdateOrdersSettingsResponseNonNullableFields$1>;
|
|
33821
33933
|
|
|
33822
|
-
declare const meta$
|
|
33823
|
-
declare const meta$
|
|
33824
|
-
declare namespace meta$
|
|
33825
|
-
export { type __PublicMethodMetaInfo$
|
|
33934
|
+
declare const meta$9_getOrdersSettings: typeof getOrdersSettings;
|
|
33935
|
+
declare const meta$9_updateOrdersSettings: typeof updateOrdersSettings;
|
|
33936
|
+
declare namespace meta$9 {
|
|
33937
|
+
export { type __PublicMethodMetaInfo$9 as __PublicMethodMetaInfo, meta$9_getOrdersSettings as getOrdersSettings, meta$9_updateOrdersSettings as updateOrdersSettings };
|
|
33826
33938
|
}
|
|
33827
33939
|
|
|
33828
33940
|
/** PickupLocation is the main entity of PickupLocations that can be used for lorem ipsum dolor */
|
|
@@ -33951,13 +34063,13 @@ interface DeletePickupLocationResponse$1 {
|
|
|
33951
34063
|
}
|
|
33952
34064
|
interface QueryPickupLocationRequest$1 {
|
|
33953
34065
|
/** WQL expression */
|
|
33954
|
-
query: QueryV2$
|
|
34066
|
+
query: QueryV2$3;
|
|
33955
34067
|
}
|
|
33956
|
-
interface QueryV2$
|
|
34068
|
+
interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
|
|
33957
34069
|
/** Paging options to limit and skip the number of items. */
|
|
33958
|
-
paging?: Paging$
|
|
34070
|
+
paging?: Paging$3;
|
|
33959
34071
|
/** 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$
|
|
34072
|
+
cursorPaging?: CursorPaging$9;
|
|
33961
34073
|
/**
|
|
33962
34074
|
* Filter object.
|
|
33963
34075
|
*
|
|
@@ -33969,36 +34081,36 @@ interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
|
33969
34081
|
*
|
|
33970
34082
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
33971
34083
|
*/
|
|
33972
|
-
sort?: Sorting$
|
|
34084
|
+
sort?: Sorting$9[];
|
|
33973
34085
|
/** 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
34086
|
fields?: string[];
|
|
33975
34087
|
/** 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
34088
|
fieldsets?: string[];
|
|
33977
34089
|
}
|
|
33978
34090
|
/** @oneof */
|
|
33979
|
-
interface QueryV2PagingMethodOneOf$
|
|
34091
|
+
interface QueryV2PagingMethodOneOf$3 {
|
|
33980
34092
|
/** Paging options to limit and skip the number of items. */
|
|
33981
|
-
paging?: Paging$
|
|
34093
|
+
paging?: Paging$3;
|
|
33982
34094
|
/** 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$
|
|
34095
|
+
cursorPaging?: CursorPaging$9;
|
|
33984
34096
|
}
|
|
33985
|
-
interface Sorting$
|
|
34097
|
+
interface Sorting$9 {
|
|
33986
34098
|
/** Name of the field to sort by. */
|
|
33987
34099
|
fieldName?: string;
|
|
33988
34100
|
/** Sort order. */
|
|
33989
|
-
order?: SortOrder$
|
|
34101
|
+
order?: SortOrder$9;
|
|
33990
34102
|
}
|
|
33991
|
-
declare enum SortOrder$
|
|
34103
|
+
declare enum SortOrder$9 {
|
|
33992
34104
|
ASC = "ASC",
|
|
33993
34105
|
DESC = "DESC"
|
|
33994
34106
|
}
|
|
33995
|
-
interface Paging$
|
|
34107
|
+
interface Paging$3 {
|
|
33996
34108
|
/** Number of items to load. */
|
|
33997
34109
|
limit?: number | null;
|
|
33998
34110
|
/** Number of items to skip in the current sort order. */
|
|
33999
34111
|
offset?: number | null;
|
|
34000
34112
|
}
|
|
34001
|
-
interface CursorPaging$
|
|
34113
|
+
interface CursorPaging$9 {
|
|
34002
34114
|
/** Maximum number of items to return in the results. */
|
|
34003
34115
|
limit?: number | null;
|
|
34004
34116
|
/**
|
|
@@ -34019,7 +34131,7 @@ interface CursorPagingMetadata$7 {
|
|
|
34019
34131
|
/** Number of items returned in current page. */
|
|
34020
34132
|
count?: number | null;
|
|
34021
34133
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
34022
|
-
cursors?: Cursors$
|
|
34134
|
+
cursors?: Cursors$9;
|
|
34023
34135
|
/**
|
|
34024
34136
|
* Whether there are more pages to retrieve following the current page.
|
|
34025
34137
|
*
|
|
@@ -34028,7 +34140,7 @@ interface CursorPagingMetadata$7 {
|
|
|
34028
34140
|
*/
|
|
34029
34141
|
hasNext?: boolean | null;
|
|
34030
34142
|
}
|
|
34031
|
-
interface Cursors$
|
|
34143
|
+
interface Cursors$9 {
|
|
34032
34144
|
/** Cursor string pointing to the next page in the list of results. */
|
|
34033
34145
|
next?: string | null;
|
|
34034
34146
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -34276,13 +34388,13 @@ interface DeletePickupLocationResponse {
|
|
|
34276
34388
|
}
|
|
34277
34389
|
interface QueryPickupLocationRequest {
|
|
34278
34390
|
/** WQL expression */
|
|
34279
|
-
query: QueryV2;
|
|
34391
|
+
query: QueryV2$2;
|
|
34280
34392
|
}
|
|
34281
|
-
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
34393
|
+
interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
|
|
34282
34394
|
/** Paging options to limit and skip the number of items. */
|
|
34283
|
-
paging?: Paging;
|
|
34395
|
+
paging?: Paging$2;
|
|
34284
34396
|
/** 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$
|
|
34397
|
+
cursorPaging?: CursorPaging$8;
|
|
34286
34398
|
/**
|
|
34287
34399
|
* Filter object.
|
|
34288
34400
|
*
|
|
@@ -34294,36 +34406,36 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
34294
34406
|
*
|
|
34295
34407
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
34296
34408
|
*/
|
|
34297
|
-
sort?: Sorting$
|
|
34409
|
+
sort?: Sorting$8[];
|
|
34298
34410
|
/** 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
34411
|
fields?: string[];
|
|
34300
34412
|
/** 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
34413
|
fieldsets?: string[];
|
|
34302
34414
|
}
|
|
34303
34415
|
/** @oneof */
|
|
34304
|
-
interface QueryV2PagingMethodOneOf {
|
|
34416
|
+
interface QueryV2PagingMethodOneOf$2 {
|
|
34305
34417
|
/** Paging options to limit and skip the number of items. */
|
|
34306
|
-
paging?: Paging;
|
|
34418
|
+
paging?: Paging$2;
|
|
34307
34419
|
/** 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$
|
|
34420
|
+
cursorPaging?: CursorPaging$8;
|
|
34309
34421
|
}
|
|
34310
|
-
interface Sorting$
|
|
34422
|
+
interface Sorting$8 {
|
|
34311
34423
|
/** Name of the field to sort by. */
|
|
34312
34424
|
fieldName?: string;
|
|
34313
34425
|
/** Sort order. */
|
|
34314
|
-
order?: SortOrder$
|
|
34426
|
+
order?: SortOrder$8;
|
|
34315
34427
|
}
|
|
34316
|
-
declare enum SortOrder$
|
|
34428
|
+
declare enum SortOrder$8 {
|
|
34317
34429
|
ASC = "ASC",
|
|
34318
34430
|
DESC = "DESC"
|
|
34319
34431
|
}
|
|
34320
|
-
interface Paging {
|
|
34432
|
+
interface Paging$2 {
|
|
34321
34433
|
/** Number of items to load. */
|
|
34322
34434
|
limit?: number | null;
|
|
34323
34435
|
/** Number of items to skip in the current sort order. */
|
|
34324
34436
|
offset?: number | null;
|
|
34325
34437
|
}
|
|
34326
|
-
interface CursorPaging$
|
|
34438
|
+
interface CursorPaging$8 {
|
|
34327
34439
|
/** Maximum number of items to return in the results. */
|
|
34328
34440
|
limit?: number | null;
|
|
34329
34441
|
/**
|
|
@@ -34344,7 +34456,7 @@ interface CursorPagingMetadata$6 {
|
|
|
34344
34456
|
/** Number of items returned in current page. */
|
|
34345
34457
|
count?: number | null;
|
|
34346
34458
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
34347
|
-
cursors?: Cursors$
|
|
34459
|
+
cursors?: Cursors$8;
|
|
34348
34460
|
/**
|
|
34349
34461
|
* Whether there are more pages to retrieve following the current page.
|
|
34350
34462
|
*
|
|
@@ -34353,7 +34465,7 @@ interface CursorPagingMetadata$6 {
|
|
|
34353
34465
|
*/
|
|
34354
34466
|
hasNext?: boolean | null;
|
|
34355
34467
|
}
|
|
34356
|
-
interface Cursors$
|
|
34468
|
+
interface Cursors$8 {
|
|
34357
34469
|
/** Cursor string pointing to the next page in the list of results. */
|
|
34358
34470
|
next?: string | null;
|
|
34359
34471
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -34475,7 +34587,7 @@ interface BulkDeletePickupLocationResponseNonNullableFields {
|
|
|
34475
34587
|
errors: PickupLocationErrorNonNullableFields[];
|
|
34476
34588
|
}
|
|
34477
34589
|
|
|
34478
|
-
type __PublicMethodMetaInfo$
|
|
34590
|
+
type __PublicMethodMetaInfo$8<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
34479
34591
|
getUrl: (context: any) => string;
|
|
34480
34592
|
httpMethod: K;
|
|
34481
34593
|
path: string;
|
|
@@ -34485,39 +34597,39 @@ type __PublicMethodMetaInfo$6<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
34485
34597
|
__responseType: Q;
|
|
34486
34598
|
__originalResponseType: R;
|
|
34487
34599
|
};
|
|
34488
|
-
declare function createPickupLocation(): __PublicMethodMetaInfo$
|
|
34489
|
-
declare function getPickupLocation(): __PublicMethodMetaInfo$
|
|
34600
|
+
declare function createPickupLocation(): __PublicMethodMetaInfo$8<'POST', {}, CreatePickupLocationRequest, CreatePickupLocationRequest$1, CreatePickupLocationResponse & CreatePickupLocationResponseNonNullableFields, CreatePickupLocationResponse$1 & CreatePickupLocationResponseNonNullableFields$1>;
|
|
34601
|
+
declare function getPickupLocation(): __PublicMethodMetaInfo$8<'GET', {
|
|
34490
34602
|
pickupLocationId: string;
|
|
34491
34603
|
}, GetPickupLocationRequest, GetPickupLocationRequest$1, GetPickupLocationResponse & GetPickupLocationResponseNonNullableFields, GetPickupLocationResponse$1 & GetPickupLocationResponseNonNullableFields$1>;
|
|
34492
|
-
declare function updatePickupLocation(): __PublicMethodMetaInfo$
|
|
34604
|
+
declare function updatePickupLocation(): __PublicMethodMetaInfo$8<'PATCH', {
|
|
34493
34605
|
pickupLocationId: string;
|
|
34494
34606
|
}, UpdatePickupLocationRequest, UpdatePickupLocationRequest$1, UpdatePickupLocationResponse & UpdatePickupLocationResponseNonNullableFields, UpdatePickupLocationResponse$1 & UpdatePickupLocationResponseNonNullableFields$1>;
|
|
34495
|
-
declare function deletePickupLocation(): __PublicMethodMetaInfo$
|
|
34607
|
+
declare function deletePickupLocation(): __PublicMethodMetaInfo$8<'DELETE', {
|
|
34496
34608
|
pickupLocationId: string;
|
|
34497
34609
|
}, DeletePickupLocationRequest, DeletePickupLocationRequest$1, DeletePickupLocationResponse, DeletePickupLocationResponse$1>;
|
|
34498
|
-
declare function queryPickupLocation(): __PublicMethodMetaInfo$
|
|
34499
|
-
declare function addDeliveryRegion(): __PublicMethodMetaInfo$
|
|
34610
|
+
declare function queryPickupLocation(): __PublicMethodMetaInfo$8<'POST', {}, QueryPickupLocationRequest, QueryPickupLocationRequest$1, QueryPickupLocationResponse & QueryPickupLocationResponseNonNullableFields, QueryPickupLocationResponse$1 & QueryPickupLocationResponseNonNullableFields$1>;
|
|
34611
|
+
declare function addDeliveryRegion(): __PublicMethodMetaInfo$8<'POST', {
|
|
34500
34612
|
pickupLocationId: string;
|
|
34501
34613
|
}, AddDeliveryRegionRequest, AddDeliveryRegionRequest$1, AddDeliveryRegionResponse & AddDeliveryRegionResponseNonNullableFields, AddDeliveryRegionResponse$1 & AddDeliveryRegionResponseNonNullableFields$1>;
|
|
34502
|
-
declare function removeDeliveryRegion(): __PublicMethodMetaInfo$
|
|
34614
|
+
declare function removeDeliveryRegion(): __PublicMethodMetaInfo$8<'POST', {
|
|
34503
34615
|
pickupLocationId: string;
|
|
34504
34616
|
}, RemoveDeliveryRegionRequest, RemoveDeliveryRegionRequest$1, RemoveDeliveryRegionResponse & RemoveDeliveryRegionResponseNonNullableFields, RemoveDeliveryRegionResponse$1 & RemoveDeliveryRegionResponseNonNullableFields$1>;
|
|
34505
|
-
declare function bulkCreatePickupLocation(): __PublicMethodMetaInfo$
|
|
34506
|
-
declare function bulkUpdatePickupLocation(): __PublicMethodMetaInfo$
|
|
34507
|
-
declare function bulkDeletePickupLocation(): __PublicMethodMetaInfo$
|
|
34617
|
+
declare function bulkCreatePickupLocation(): __PublicMethodMetaInfo$8<'POST', {}, BulkCreatePickupLocationRequest, BulkCreatePickupLocationRequest$1, BulkCreatePickupLocationResponse & BulkCreatePickupLocationResponseNonNullableFields, BulkCreatePickupLocationResponse$1 & BulkCreatePickupLocationResponseNonNullableFields$1>;
|
|
34618
|
+
declare function bulkUpdatePickupLocation(): __PublicMethodMetaInfo$8<'PATCH', {}, BulkUpdatePickupLocationRequest, BulkUpdatePickupLocationRequest$1, BulkUpdatePickupLocationResponse & BulkUpdatePickupLocationResponseNonNullableFields, BulkUpdatePickupLocationResponse$1 & BulkUpdatePickupLocationResponseNonNullableFields$1>;
|
|
34619
|
+
declare function bulkDeletePickupLocation(): __PublicMethodMetaInfo$8<'DELETE', {}, BulkDeletePickupLocationRequest, BulkDeletePickupLocationRequest$1, BulkDeletePickupLocationResponse & BulkDeletePickupLocationResponseNonNullableFields, BulkDeletePickupLocationResponse$1 & BulkDeletePickupLocationResponseNonNullableFields$1>;
|
|
34508
34620
|
|
|
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$
|
|
34621
|
+
declare const meta$8_addDeliveryRegion: typeof addDeliveryRegion;
|
|
34622
|
+
declare const meta$8_bulkCreatePickupLocation: typeof bulkCreatePickupLocation;
|
|
34623
|
+
declare const meta$8_bulkDeletePickupLocation: typeof bulkDeletePickupLocation;
|
|
34624
|
+
declare const meta$8_bulkUpdatePickupLocation: typeof bulkUpdatePickupLocation;
|
|
34625
|
+
declare const meta$8_createPickupLocation: typeof createPickupLocation;
|
|
34626
|
+
declare const meta$8_deletePickupLocation: typeof deletePickupLocation;
|
|
34627
|
+
declare const meta$8_getPickupLocation: typeof getPickupLocation;
|
|
34628
|
+
declare const meta$8_queryPickupLocation: typeof queryPickupLocation;
|
|
34629
|
+
declare const meta$8_removeDeliveryRegion: typeof removeDeliveryRegion;
|
|
34630
|
+
declare const meta$8_updatePickupLocation: typeof updatePickupLocation;
|
|
34631
|
+
declare namespace meta$8 {
|
|
34632
|
+
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
34633
|
}
|
|
34522
34634
|
|
|
34523
34635
|
interface ShippingOption$3 {
|
|
@@ -34553,7 +34665,7 @@ interface ShippingOption$3 {
|
|
|
34553
34665
|
/** 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
34666
|
rates?: ConditionalRates$1[];
|
|
34555
34667
|
/** Data Extensions */
|
|
34556
|
-
extendedFields?: ExtendedFields$
|
|
34668
|
+
extendedFields?: ExtendedFields$5;
|
|
34557
34669
|
}
|
|
34558
34670
|
interface ConditionalRates$1 {
|
|
34559
34671
|
/**
|
|
@@ -34588,7 +34700,7 @@ declare enum LogicalOperator$1 {
|
|
|
34588
34700
|
LT = "LT",
|
|
34589
34701
|
LTE = "LTE"
|
|
34590
34702
|
}
|
|
34591
|
-
interface ExtendedFields$
|
|
34703
|
+
interface ExtendedFields$5 {
|
|
34592
34704
|
/**
|
|
34593
34705
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
34594
34706
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -34635,7 +34747,7 @@ interface QueryShippingOptionsRequest$1 {
|
|
|
34635
34747
|
}
|
|
34636
34748
|
interface CursorQuery$5 extends CursorQueryPagingMethodOneOf$5 {
|
|
34637
34749
|
/** 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$
|
|
34750
|
+
cursorPaging?: CursorPaging$7;
|
|
34639
34751
|
/**
|
|
34640
34752
|
* Filter object in the following format:
|
|
34641
34753
|
* `"filter" : {
|
|
@@ -34649,24 +34761,24 @@ interface CursorQuery$5 extends CursorQueryPagingMethodOneOf$5 {
|
|
|
34649
34761
|
* Sort object in the following format:
|
|
34650
34762
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
34651
34763
|
*/
|
|
34652
|
-
sort?: Sorting$
|
|
34764
|
+
sort?: Sorting$7[];
|
|
34653
34765
|
}
|
|
34654
34766
|
/** @oneof */
|
|
34655
34767
|
interface CursorQueryPagingMethodOneOf$5 {
|
|
34656
34768
|
/** 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$
|
|
34769
|
+
cursorPaging?: CursorPaging$7;
|
|
34658
34770
|
}
|
|
34659
|
-
interface Sorting$
|
|
34771
|
+
interface Sorting$7 {
|
|
34660
34772
|
/** Name of the field to sort by. */
|
|
34661
34773
|
fieldName?: string;
|
|
34662
34774
|
/** Sort order. */
|
|
34663
|
-
order?: SortOrder$
|
|
34775
|
+
order?: SortOrder$7;
|
|
34664
34776
|
}
|
|
34665
|
-
declare enum SortOrder$
|
|
34777
|
+
declare enum SortOrder$7 {
|
|
34666
34778
|
ASC = "ASC",
|
|
34667
34779
|
DESC = "DESC"
|
|
34668
34780
|
}
|
|
34669
|
-
interface CursorPaging$
|
|
34781
|
+
interface CursorPaging$7 {
|
|
34670
34782
|
/** Maximum number of items to return in the results. */
|
|
34671
34783
|
limit?: number | null;
|
|
34672
34784
|
/**
|
|
@@ -34687,7 +34799,7 @@ interface CursorPagingMetadata$5 {
|
|
|
34687
34799
|
/** Number of items returned in the response. */
|
|
34688
34800
|
count?: number | null;
|
|
34689
34801
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
34690
|
-
cursors?: Cursors$
|
|
34802
|
+
cursors?: Cursors$7;
|
|
34691
34803
|
/**
|
|
34692
34804
|
* Whether there are more pages to retrieve following the current page.
|
|
34693
34805
|
*
|
|
@@ -34696,7 +34808,7 @@ interface CursorPagingMetadata$5 {
|
|
|
34696
34808
|
*/
|
|
34697
34809
|
hasNext?: boolean | null;
|
|
34698
34810
|
}
|
|
34699
|
-
interface Cursors$
|
|
34811
|
+
interface Cursors$7 {
|
|
34700
34812
|
/** Cursor string pointing to the next page in the list of results. */
|
|
34701
34813
|
next?: string | null;
|
|
34702
34814
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -34776,7 +34888,7 @@ interface ShippingOption$2 {
|
|
|
34776
34888
|
/** 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
34889
|
rates?: ConditionalRates[];
|
|
34778
34890
|
/** Data Extensions */
|
|
34779
|
-
extendedFields?: ExtendedFields$
|
|
34891
|
+
extendedFields?: ExtendedFields$4;
|
|
34780
34892
|
}
|
|
34781
34893
|
interface ConditionalRates {
|
|
34782
34894
|
/**
|
|
@@ -34811,7 +34923,7 @@ declare enum LogicalOperator {
|
|
|
34811
34923
|
LT = "LT",
|
|
34812
34924
|
LTE = "LTE"
|
|
34813
34925
|
}
|
|
34814
|
-
interface ExtendedFields$
|
|
34926
|
+
interface ExtendedFields$4 {
|
|
34815
34927
|
/**
|
|
34816
34928
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
34817
34929
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -34858,7 +34970,7 @@ interface QueryShippingOptionsRequest {
|
|
|
34858
34970
|
}
|
|
34859
34971
|
interface CursorQuery$4 extends CursorQueryPagingMethodOneOf$4 {
|
|
34860
34972
|
/** 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$
|
|
34973
|
+
cursorPaging?: CursorPaging$6;
|
|
34862
34974
|
/**
|
|
34863
34975
|
* Filter object in the following format:
|
|
34864
34976
|
* `"filter" : {
|
|
@@ -34872,24 +34984,24 @@ interface CursorQuery$4 extends CursorQueryPagingMethodOneOf$4 {
|
|
|
34872
34984
|
* Sort object in the following format:
|
|
34873
34985
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
34874
34986
|
*/
|
|
34875
|
-
sort?: Sorting$
|
|
34987
|
+
sort?: Sorting$6[];
|
|
34876
34988
|
}
|
|
34877
34989
|
/** @oneof */
|
|
34878
34990
|
interface CursorQueryPagingMethodOneOf$4 {
|
|
34879
34991
|
/** 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$
|
|
34992
|
+
cursorPaging?: CursorPaging$6;
|
|
34881
34993
|
}
|
|
34882
|
-
interface Sorting$
|
|
34994
|
+
interface Sorting$6 {
|
|
34883
34995
|
/** Name of the field to sort by. */
|
|
34884
34996
|
fieldName?: string;
|
|
34885
34997
|
/** Sort order. */
|
|
34886
|
-
order?: SortOrder$
|
|
34998
|
+
order?: SortOrder$6;
|
|
34887
34999
|
}
|
|
34888
|
-
declare enum SortOrder$
|
|
35000
|
+
declare enum SortOrder$6 {
|
|
34889
35001
|
ASC = "ASC",
|
|
34890
35002
|
DESC = "DESC"
|
|
34891
35003
|
}
|
|
34892
|
-
interface CursorPaging$
|
|
35004
|
+
interface CursorPaging$6 {
|
|
34893
35005
|
/** Maximum number of items to return in the results. */
|
|
34894
35006
|
limit?: number | null;
|
|
34895
35007
|
/**
|
|
@@ -34910,7 +35022,7 @@ interface CursorPagingMetadata$4 {
|
|
|
34910
35022
|
/** Number of items returned in the response. */
|
|
34911
35023
|
count?: number | null;
|
|
34912
35024
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
34913
|
-
cursors?: Cursors$
|
|
35025
|
+
cursors?: Cursors$6;
|
|
34914
35026
|
/**
|
|
34915
35027
|
* Whether there are more pages to retrieve following the current page.
|
|
34916
35028
|
*
|
|
@@ -34919,7 +35031,7 @@ interface CursorPagingMetadata$4 {
|
|
|
34919
35031
|
*/
|
|
34920
35032
|
hasNext?: boolean | null;
|
|
34921
35033
|
}
|
|
34922
|
-
interface Cursors$
|
|
35034
|
+
interface Cursors$6 {
|
|
34923
35035
|
/** Cursor string pointing to the next page in the list of results. */
|
|
34924
35036
|
next?: string | null;
|
|
34925
35037
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -34966,7 +35078,7 @@ interface UpdateExtendedFieldsResponseNonNullableFields$2 {
|
|
|
34966
35078
|
shippingOption?: ShippingOptionNonNullableFields$2;
|
|
34967
35079
|
}
|
|
34968
35080
|
|
|
34969
|
-
type __PublicMethodMetaInfo$
|
|
35081
|
+
type __PublicMethodMetaInfo$7<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
34970
35082
|
getUrl: (context: any) => string;
|
|
34971
35083
|
httpMethod: K;
|
|
34972
35084
|
path: string;
|
|
@@ -34976,28 +35088,28 @@ type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
34976
35088
|
__responseType: Q;
|
|
34977
35089
|
__originalResponseType: R;
|
|
34978
35090
|
};
|
|
34979
|
-
declare function createShippingOption(): __PublicMethodMetaInfo$
|
|
34980
|
-
declare function getShippingOption(): __PublicMethodMetaInfo$
|
|
35091
|
+
declare function createShippingOption(): __PublicMethodMetaInfo$7<'POST', {}, CreateShippingOptionRequest, CreateShippingOptionRequest$1, CreateShippingOptionResponse & CreateShippingOptionResponseNonNullableFields, CreateShippingOptionResponse$1 & CreateShippingOptionResponseNonNullableFields$1>;
|
|
35092
|
+
declare function getShippingOption(): __PublicMethodMetaInfo$7<'GET', {
|
|
34981
35093
|
shippingOptionId: string;
|
|
34982
35094
|
}, GetShippingOptionRequest, GetShippingOptionRequest$1, GetShippingOptionResponse & GetShippingOptionResponseNonNullableFields, GetShippingOptionResponse$1 & GetShippingOptionResponseNonNullableFields$1>;
|
|
34983
|
-
declare function updateShippingOption(): __PublicMethodMetaInfo$
|
|
35095
|
+
declare function updateShippingOption(): __PublicMethodMetaInfo$7<'PATCH', {
|
|
34984
35096
|
shippingOptionId: string;
|
|
34985
35097
|
}, UpdateShippingOptionRequest, UpdateShippingOptionRequest$1, UpdateShippingOptionResponse & UpdateShippingOptionResponseNonNullableFields, UpdateShippingOptionResponse$1 & UpdateShippingOptionResponseNonNullableFields$1>;
|
|
34986
|
-
declare function deleteShippingOption(): __PublicMethodMetaInfo$
|
|
35098
|
+
declare function deleteShippingOption(): __PublicMethodMetaInfo$7<'DELETE', {
|
|
34987
35099
|
shippingOptionId: string;
|
|
34988
35100
|
}, DeleteShippingOptionRequest, DeleteShippingOptionRequest$1, DeleteShippingOptionResponse, DeleteShippingOptionResponse$1>;
|
|
34989
|
-
declare function queryShippingOptions(): __PublicMethodMetaInfo$
|
|
34990
|
-
declare function updateExtendedFields$1(): __PublicMethodMetaInfo$
|
|
35101
|
+
declare function queryShippingOptions(): __PublicMethodMetaInfo$7<'GET', {}, QueryShippingOptionsRequest, QueryShippingOptionsRequest$1, QueryShippingOptionsResponse & QueryShippingOptionsResponseNonNullableFields, QueryShippingOptionsResponse$1 & QueryShippingOptionsResponseNonNullableFields$1>;
|
|
35102
|
+
declare function updateExtendedFields$1(): __PublicMethodMetaInfo$7<'POST', {
|
|
34991
35103
|
id: string;
|
|
34992
35104
|
}, UpdateExtendedFieldsRequest$2, UpdateExtendedFieldsRequest$3, UpdateExtendedFieldsResponse$2 & UpdateExtendedFieldsResponseNonNullableFields$2, UpdateExtendedFieldsResponse$3 & UpdateExtendedFieldsResponseNonNullableFields$3>;
|
|
34993
35105
|
|
|
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$
|
|
35106
|
+
declare const meta$7_createShippingOption: typeof createShippingOption;
|
|
35107
|
+
declare const meta$7_deleteShippingOption: typeof deleteShippingOption;
|
|
35108
|
+
declare const meta$7_getShippingOption: typeof getShippingOption;
|
|
35109
|
+
declare const meta$7_queryShippingOptions: typeof queryShippingOptions;
|
|
35110
|
+
declare const meta$7_updateShippingOption: typeof updateShippingOption;
|
|
35111
|
+
declare namespace meta$7 {
|
|
35112
|
+
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
35113
|
}
|
|
35002
35114
|
|
|
35003
35115
|
interface ShippoConfiguration$1 {
|
|
@@ -35038,7 +35150,7 @@ interface ShippoConfiguration$1 {
|
|
|
35038
35150
|
/** Backup weight. */
|
|
35039
35151
|
backupWeight?: string | null;
|
|
35040
35152
|
/** Data extensions. */
|
|
35041
|
-
extendedFields?: ExtendedFields$
|
|
35153
|
+
extendedFields?: ExtendedFields$3;
|
|
35042
35154
|
}
|
|
35043
35155
|
interface DomesticServiceSettings$1 {
|
|
35044
35156
|
/** USPS domestic service. */
|
|
@@ -35154,7 +35266,7 @@ interface StreetAddress$5 {
|
|
|
35154
35266
|
/** Street name. */
|
|
35155
35267
|
name?: string;
|
|
35156
35268
|
}
|
|
35157
|
-
interface ExtendedFields$
|
|
35269
|
+
interface ExtendedFields$3 {
|
|
35158
35270
|
/**
|
|
35159
35271
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
35160
35272
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -35202,7 +35314,7 @@ interface QueryShippoConfigurationsRequest$1 {
|
|
|
35202
35314
|
}
|
|
35203
35315
|
interface CursorQuery$3 extends CursorQueryPagingMethodOneOf$3 {
|
|
35204
35316
|
/** 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$
|
|
35317
|
+
cursorPaging?: CursorPaging$5;
|
|
35206
35318
|
/**
|
|
35207
35319
|
* Filter object in the following format:
|
|
35208
35320
|
* `"filter" : {
|
|
@@ -35216,24 +35328,24 @@ interface CursorQuery$3 extends CursorQueryPagingMethodOneOf$3 {
|
|
|
35216
35328
|
* Sort object in the following format:
|
|
35217
35329
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
35218
35330
|
*/
|
|
35219
|
-
sort?: Sorting$
|
|
35331
|
+
sort?: Sorting$5[];
|
|
35220
35332
|
}
|
|
35221
35333
|
/** @oneof */
|
|
35222
35334
|
interface CursorQueryPagingMethodOneOf$3 {
|
|
35223
35335
|
/** 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$
|
|
35336
|
+
cursorPaging?: CursorPaging$5;
|
|
35225
35337
|
}
|
|
35226
|
-
interface Sorting$
|
|
35338
|
+
interface Sorting$5 {
|
|
35227
35339
|
/** Name of the field to sort by. */
|
|
35228
35340
|
fieldName?: string;
|
|
35229
35341
|
/** Sort order. */
|
|
35230
|
-
order?: SortOrder$
|
|
35342
|
+
order?: SortOrder$5;
|
|
35231
35343
|
}
|
|
35232
|
-
declare enum SortOrder$
|
|
35344
|
+
declare enum SortOrder$5 {
|
|
35233
35345
|
ASC = "ASC",
|
|
35234
35346
|
DESC = "DESC"
|
|
35235
35347
|
}
|
|
35236
|
-
interface CursorPaging$
|
|
35348
|
+
interface CursorPaging$5 {
|
|
35237
35349
|
/** Maximum number of items to return in the results. */
|
|
35238
35350
|
limit?: number | null;
|
|
35239
35351
|
/**
|
|
@@ -35254,7 +35366,7 @@ interface CursorPagingMetadata$3 {
|
|
|
35254
35366
|
/** Number of items returned in the response. */
|
|
35255
35367
|
count?: number | null;
|
|
35256
35368
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
35257
|
-
cursors?: Cursors$
|
|
35369
|
+
cursors?: Cursors$5;
|
|
35258
35370
|
/**
|
|
35259
35371
|
* Whether there are more pages to retrieve following the current page.
|
|
35260
35372
|
*
|
|
@@ -35263,7 +35375,7 @@ interface CursorPagingMetadata$3 {
|
|
|
35263
35375
|
*/
|
|
35264
35376
|
hasNext?: boolean | null;
|
|
35265
35377
|
}
|
|
35266
|
-
interface Cursors$
|
|
35378
|
+
interface Cursors$5 {
|
|
35267
35379
|
/** Cursor string pointing to the next page in the list of results. */
|
|
35268
35380
|
next?: string | null;
|
|
35269
35381
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -35373,7 +35485,7 @@ interface ShippoConfiguration {
|
|
|
35373
35485
|
/** Backup weight. */
|
|
35374
35486
|
backupWeight?: string | null;
|
|
35375
35487
|
/** Data extensions. */
|
|
35376
|
-
extendedFields?: ExtendedFields;
|
|
35488
|
+
extendedFields?: ExtendedFields$2;
|
|
35377
35489
|
}
|
|
35378
35490
|
interface DomesticServiceSettings {
|
|
35379
35491
|
/** USPS domestic service. */
|
|
@@ -35479,7 +35591,7 @@ interface StreetAddress$4 {
|
|
|
35479
35591
|
/** Street name. */
|
|
35480
35592
|
name?: string;
|
|
35481
35593
|
}
|
|
35482
|
-
interface ExtendedFields {
|
|
35594
|
+
interface ExtendedFields$2 {
|
|
35483
35595
|
/**
|
|
35484
35596
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
35485
35597
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -35527,7 +35639,7 @@ interface QueryShippoConfigurationsRequest {
|
|
|
35527
35639
|
}
|
|
35528
35640
|
interface CursorQuery$2 extends CursorQueryPagingMethodOneOf$2 {
|
|
35529
35641
|
/** 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$
|
|
35642
|
+
cursorPaging?: CursorPaging$4;
|
|
35531
35643
|
/**
|
|
35532
35644
|
* Filter object in the following format:
|
|
35533
35645
|
* `"filter" : {
|
|
@@ -35541,24 +35653,24 @@ interface CursorQuery$2 extends CursorQueryPagingMethodOneOf$2 {
|
|
|
35541
35653
|
* Sort object in the following format:
|
|
35542
35654
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
35543
35655
|
*/
|
|
35544
|
-
sort?: Sorting$
|
|
35656
|
+
sort?: Sorting$4[];
|
|
35545
35657
|
}
|
|
35546
35658
|
/** @oneof */
|
|
35547
35659
|
interface CursorQueryPagingMethodOneOf$2 {
|
|
35548
35660
|
/** 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$
|
|
35661
|
+
cursorPaging?: CursorPaging$4;
|
|
35550
35662
|
}
|
|
35551
|
-
interface Sorting$
|
|
35663
|
+
interface Sorting$4 {
|
|
35552
35664
|
/** Name of the field to sort by. */
|
|
35553
35665
|
fieldName?: string;
|
|
35554
35666
|
/** Sort order. */
|
|
35555
|
-
order?: SortOrder$
|
|
35667
|
+
order?: SortOrder$4;
|
|
35556
35668
|
}
|
|
35557
|
-
declare enum SortOrder$
|
|
35669
|
+
declare enum SortOrder$4 {
|
|
35558
35670
|
ASC = "ASC",
|
|
35559
35671
|
DESC = "DESC"
|
|
35560
35672
|
}
|
|
35561
|
-
interface CursorPaging$
|
|
35673
|
+
interface CursorPaging$4 {
|
|
35562
35674
|
/** Maximum number of items to return in the results. */
|
|
35563
35675
|
limit?: number | null;
|
|
35564
35676
|
/**
|
|
@@ -35579,7 +35691,7 @@ interface CursorPagingMetadata$2 {
|
|
|
35579
35691
|
/** Number of items returned in the response. */
|
|
35580
35692
|
count?: number | null;
|
|
35581
35693
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
35582
|
-
cursors?: Cursors$
|
|
35694
|
+
cursors?: Cursors$4;
|
|
35583
35695
|
/**
|
|
35584
35696
|
* Whether there are more pages to retrieve following the current page.
|
|
35585
35697
|
*
|
|
@@ -35588,7 +35700,7 @@ interface CursorPagingMetadata$2 {
|
|
|
35588
35700
|
*/
|
|
35589
35701
|
hasNext?: boolean | null;
|
|
35590
35702
|
}
|
|
35591
|
-
interface Cursors$
|
|
35703
|
+
interface Cursors$4 {
|
|
35592
35704
|
/** Cursor string pointing to the next page in the list of results. */
|
|
35593
35705
|
next?: string | null;
|
|
35594
35706
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -35660,7 +35772,7 @@ interface UpdateExtendedFieldsResponseNonNullableFields {
|
|
|
35660
35772
|
shippoConfiguration?: ShippoConfigurationNonNullableFields;
|
|
35661
35773
|
}
|
|
35662
35774
|
|
|
35663
|
-
type __PublicMethodMetaInfo$
|
|
35775
|
+
type __PublicMethodMetaInfo$6<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
35664
35776
|
getUrl: (context: any) => string;
|
|
35665
35777
|
httpMethod: K;
|
|
35666
35778
|
path: string;
|
|
@@ -35670,29 +35782,29 @@ type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
35670
35782
|
__responseType: Q;
|
|
35671
35783
|
__originalResponseType: R;
|
|
35672
35784
|
};
|
|
35673
|
-
declare function createShippoConfiguration(): __PublicMethodMetaInfo$
|
|
35674
|
-
declare function getShippoConfiguration(): __PublicMethodMetaInfo$
|
|
35785
|
+
declare function createShippoConfiguration(): __PublicMethodMetaInfo$6<'POST', {}, CreateShippoConfigurationRequest, CreateShippoConfigurationRequest$1, CreateShippoConfigurationResponse & CreateShippoConfigurationResponseNonNullableFields, CreateShippoConfigurationResponse$1 & CreateShippoConfigurationResponseNonNullableFields$1>;
|
|
35786
|
+
declare function getShippoConfiguration(): __PublicMethodMetaInfo$6<'GET', {
|
|
35675
35787
|
shippoConfigurationId: string;
|
|
35676
35788
|
}, GetShippoConfigurationRequest, GetShippoConfigurationRequest$1, GetShippoConfigurationResponse & GetShippoConfigurationResponseNonNullableFields, GetShippoConfigurationResponse$1 & GetShippoConfigurationResponseNonNullableFields$1>;
|
|
35677
|
-
declare function updateShippoConfiguration(): __PublicMethodMetaInfo$
|
|
35789
|
+
declare function updateShippoConfiguration(): __PublicMethodMetaInfo$6<'PATCH', {
|
|
35678
35790
|
shippoConfigurationId: string;
|
|
35679
35791
|
}, UpdateShippoConfigurationRequest, UpdateShippoConfigurationRequest$1, UpdateShippoConfigurationResponse & UpdateShippoConfigurationResponseNonNullableFields, UpdateShippoConfigurationResponse$1 & UpdateShippoConfigurationResponseNonNullableFields$1>;
|
|
35680
|
-
declare function deleteShippoConfiguration(): __PublicMethodMetaInfo$
|
|
35792
|
+
declare function deleteShippoConfiguration(): __PublicMethodMetaInfo$6<'DELETE', {
|
|
35681
35793
|
shippoConfigurationId: string;
|
|
35682
35794
|
}, DeleteShippoConfigurationRequest, DeleteShippoConfigurationRequest$1, DeleteShippoConfigurationResponse, DeleteShippoConfigurationResponse$1>;
|
|
35683
|
-
declare function queryShippoConfigurations(): __PublicMethodMetaInfo$
|
|
35684
|
-
declare function updateExtendedFields(): __PublicMethodMetaInfo$
|
|
35795
|
+
declare function queryShippoConfigurations(): __PublicMethodMetaInfo$6<'GET', {}, QueryShippoConfigurationsRequest, QueryShippoConfigurationsRequest$1, QueryShippoConfigurationsResponse & QueryShippoConfigurationsResponseNonNullableFields, QueryShippoConfigurationsResponse$1 & QueryShippoConfigurationsResponseNonNullableFields$1>;
|
|
35796
|
+
declare function updateExtendedFields(): __PublicMethodMetaInfo$6<'POST', {
|
|
35685
35797
|
id: string;
|
|
35686
35798
|
}, UpdateExtendedFieldsRequest, UpdateExtendedFieldsRequest$1, UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields, UpdateExtendedFieldsResponse$1 & UpdateExtendedFieldsResponseNonNullableFields$1>;
|
|
35687
35799
|
|
|
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$
|
|
35800
|
+
declare const meta$6_createShippoConfiguration: typeof createShippoConfiguration;
|
|
35801
|
+
declare const meta$6_deleteShippoConfiguration: typeof deleteShippoConfiguration;
|
|
35802
|
+
declare const meta$6_getShippoConfiguration: typeof getShippoConfiguration;
|
|
35803
|
+
declare const meta$6_queryShippoConfigurations: typeof queryShippoConfigurations;
|
|
35804
|
+
declare const meta$6_updateExtendedFields: typeof updateExtendedFields;
|
|
35805
|
+
declare const meta$6_updateShippoConfiguration: typeof updateShippoConfiguration;
|
|
35806
|
+
declare namespace meta$6 {
|
|
35807
|
+
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
35808
|
}
|
|
35697
35809
|
|
|
35698
35810
|
interface CalculateTotalsRequest$1 extends CalculateTotalsRequestCouponOneOf$1, CalculateTotalsRequestGiftCardOneOf$1 {
|
|
@@ -37987,7 +38099,7 @@ interface CalculateTotalsResponseNonNullableFields {
|
|
|
37987
38099
|
totalAfterGiftCard?: MultiCurrencyPriceNonNullableFields;
|
|
37988
38100
|
}
|
|
37989
38101
|
|
|
37990
|
-
type __PublicMethodMetaInfo$
|
|
38102
|
+
type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
37991
38103
|
getUrl: (context: any) => string;
|
|
37992
38104
|
httpMethod: K;
|
|
37993
38105
|
path: string;
|
|
@@ -37997,11 +38109,11 @@ type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
37997
38109
|
__responseType: Q;
|
|
37998
38110
|
__originalResponseType: R;
|
|
37999
38111
|
};
|
|
38000
|
-
declare function calculateTotals(): __PublicMethodMetaInfo$
|
|
38112
|
+
declare function calculateTotals(): __PublicMethodMetaInfo$5<'POST', {}, CalculateTotalsRequest, CalculateTotalsRequest$1, CalculateTotalsResponse & CalculateTotalsResponseNonNullableFields, CalculateTotalsResponse$1 & CalculateTotalsResponseNonNullableFields$1>;
|
|
38001
38113
|
|
|
38002
|
-
declare const meta$
|
|
38003
|
-
declare namespace meta$
|
|
38004
|
-
export { type __PublicMethodMetaInfo$
|
|
38114
|
+
declare const meta$5_calculateTotals: typeof calculateTotals;
|
|
38115
|
+
declare namespace meta$5 {
|
|
38116
|
+
export { type __PublicMethodMetaInfo$5 as __PublicMethodMetaInfo, meta$5_calculateTotals as calculateTotals };
|
|
38005
38117
|
}
|
|
38006
38118
|
|
|
38007
38119
|
interface ListCurrenciesRequest$1 {
|
|
@@ -38128,7 +38240,7 @@ interface ConversionRateResponseNonNullableFields {
|
|
|
38128
38240
|
rate?: DecimalValueNonNullableFields;
|
|
38129
38241
|
}
|
|
38130
38242
|
|
|
38131
|
-
type __PublicMethodMetaInfo$
|
|
38243
|
+
type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
38132
38244
|
getUrl: (context: any) => string;
|
|
38133
38245
|
httpMethod: K;
|
|
38134
38246
|
path: string;
|
|
@@ -38138,21 +38250,21 @@ type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
38138
38250
|
__responseType: Q;
|
|
38139
38251
|
__originalResponseType: R;
|
|
38140
38252
|
};
|
|
38141
|
-
declare function listCurrencies(): __PublicMethodMetaInfo$
|
|
38142
|
-
declare function convertCurrency(): __PublicMethodMetaInfo$
|
|
38253
|
+
declare function listCurrencies(): __PublicMethodMetaInfo$4<'GET', {}, ListCurrenciesRequest, ListCurrenciesRequest$1, ListCurrenciesResponse & ListCurrenciesResponseNonNullableFields, ListCurrenciesResponse$1 & ListCurrenciesResponseNonNullableFields$1>;
|
|
38254
|
+
declare function convertCurrency(): __PublicMethodMetaInfo$4<'POST', {
|
|
38143
38255
|
from: string;
|
|
38144
38256
|
to: string;
|
|
38145
38257
|
}, ConvertCurrencyRequest, ConvertCurrencyRequest$1, ConvertCurrencyResponse & ConvertCurrencyResponseNonNullableFields, ConvertCurrencyResponse$1 & ConvertCurrencyResponseNonNullableFields$1>;
|
|
38146
|
-
declare function getConversionRate(): __PublicMethodMetaInfo$
|
|
38258
|
+
declare function getConversionRate(): __PublicMethodMetaInfo$4<'GET', {
|
|
38147
38259
|
from: string;
|
|
38148
38260
|
to: string;
|
|
38149
38261
|
}, ConversionRateRequest, ConversionRateRequest$1, ConversionRateResponse & ConversionRateResponseNonNullableFields, ConversionRateResponse$1 & ConversionRateResponseNonNullableFields$1>;
|
|
38150
38262
|
|
|
38151
|
-
declare const meta$
|
|
38152
|
-
declare const meta$
|
|
38153
|
-
declare const meta$
|
|
38154
|
-
declare namespace meta$
|
|
38155
|
-
export { type __PublicMethodMetaInfo$
|
|
38263
|
+
declare const meta$4_convertCurrency: typeof convertCurrency;
|
|
38264
|
+
declare const meta$4_getConversionRate: typeof getConversionRate;
|
|
38265
|
+
declare const meta$4_listCurrencies: typeof listCurrencies;
|
|
38266
|
+
declare namespace meta$4 {
|
|
38267
|
+
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_convertCurrency as convertCurrency, meta$4_getConversionRate as getConversionRate, meta$4_listCurrencies as listCurrencies };
|
|
38156
38268
|
}
|
|
38157
38269
|
|
|
38158
38270
|
interface DeliverableItem$1 {
|
|
@@ -38457,8 +38569,6 @@ interface GetDeliverySolutionsRequest$1 {
|
|
|
38457
38569
|
userPreferences?: UserPreference$1[];
|
|
38458
38570
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
38459
38571
|
purchaseFlowId?: string | null;
|
|
38460
|
-
/** Whether tax is included in the items' prices. */
|
|
38461
|
-
taxIncludedInPrices?: boolean | null;
|
|
38462
38572
|
}
|
|
38463
38573
|
interface UserPreference$1 {
|
|
38464
38574
|
/** The delivery carrier app id */
|
|
@@ -38878,8 +38988,6 @@ interface GetDeliverySolutionsRequest {
|
|
|
38878
38988
|
userPreferences?: UserPreference[];
|
|
38879
38989
|
/** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
|
|
38880
38990
|
purchaseFlowId?: string | null;
|
|
38881
|
-
/** Whether tax is included in the items' prices. */
|
|
38882
|
-
taxIncludedInPrices?: boolean | null;
|
|
38883
38991
|
}
|
|
38884
38992
|
interface UserPreference {
|
|
38885
38993
|
/** The delivery carrier app id */
|
|
@@ -39006,6 +39114,920 @@ interface GetDeliverySolutionsResponseNonNullableFields {
|
|
|
39006
39114
|
errors: DeliveryCarrierErrorNonNullableFields[];
|
|
39007
39115
|
}
|
|
39008
39116
|
|
|
39117
|
+
type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
39118
|
+
getUrl: (context: any) => string;
|
|
39119
|
+
httpMethod: K;
|
|
39120
|
+
path: string;
|
|
39121
|
+
pathParams: M;
|
|
39122
|
+
__requestType: T;
|
|
39123
|
+
__originalRequestType: S;
|
|
39124
|
+
__responseType: Q;
|
|
39125
|
+
__originalResponseType: R;
|
|
39126
|
+
};
|
|
39127
|
+
declare function getDeliverySolutions(): __PublicMethodMetaInfo$3<'POST', {}, GetDeliverySolutionsRequest, GetDeliverySolutionsRequest$1, GetDeliverySolutionsResponse & GetDeliverySolutionsResponseNonNullableFields, GetDeliverySolutionsResponse$1 & GetDeliverySolutionsResponseNonNullableFields$1>;
|
|
39128
|
+
|
|
39129
|
+
declare const meta$3_getDeliverySolutions: typeof getDeliverySolutions;
|
|
39130
|
+
declare namespace meta$3 {
|
|
39131
|
+
export { type __PublicMethodMetaInfo$3 as __PublicMethodMetaInfo, meta$3_getDeliverySolutions as getDeliverySolutions };
|
|
39132
|
+
}
|
|
39133
|
+
|
|
39134
|
+
/**
|
|
39135
|
+
* Tip settings define how tips are calculated and distributed among staff. When
|
|
39136
|
+
* Wix Tips is installed, default settings are automatically created. You can't
|
|
39137
|
+
* delete these default settings but you can update them. Creating additional
|
|
39138
|
+
* settings allows business owners to customize tip screens for different payment
|
|
39139
|
+
* terminals or set specific presets for various products or services.
|
|
39140
|
+
*/
|
|
39141
|
+
interface TipSettings$1 extends TipSettingsIdentifierOneOf$1 {
|
|
39142
|
+
/**
|
|
39143
|
+
* ID of the [location](https://dev.wix.com/docs/rest/business-management/locations/location-object)
|
|
39144
|
+
* for which the tip settings apply.
|
|
39145
|
+
*/
|
|
39146
|
+
locationId?: string | null;
|
|
39147
|
+
/**
|
|
39148
|
+
* ID of the payment terminal for which the tip settings apply. Wix Tips doesn't
|
|
39149
|
+
* validate the ID you provide.
|
|
39150
|
+
*
|
|
39151
|
+
* Max: 30 characters
|
|
39152
|
+
*/
|
|
39153
|
+
paymentTerminalId?: string | null;
|
|
39154
|
+
/**
|
|
39155
|
+
* ID of the Wix user for whom the tip settings apply. For example, the site owner or a
|
|
39156
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39157
|
+
*/
|
|
39158
|
+
userId?: string | null;
|
|
39159
|
+
/**
|
|
39160
|
+
* ID of the tip settings.
|
|
39161
|
+
* @readonly
|
|
39162
|
+
*/
|
|
39163
|
+
id?: string | null;
|
|
39164
|
+
/**
|
|
39165
|
+
* Tip type.
|
|
39166
|
+
*
|
|
39167
|
+
* Supported values:
|
|
39168
|
+
* + `UNKNOWN_TIP_TYPE`: There is no information about the tip type.
|
|
39169
|
+
* + `PERCENTAGE`: The tip is calculated as a percentage of the subtotal for all related line items.
|
|
39170
|
+
* + `AMOUNT`: The tip is a fixed amount.
|
|
39171
|
+
*/
|
|
39172
|
+
tipType?: TipType$3;
|
|
39173
|
+
/**
|
|
39174
|
+
* Information about the tip choices that Wix Tips displays to customers during the
|
|
39175
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39176
|
+
*
|
|
39177
|
+
* Min: `1` preset
|
|
39178
|
+
* Max: `3` presets
|
|
39179
|
+
*/
|
|
39180
|
+
presets?: Preset$1[];
|
|
39181
|
+
/**
|
|
39182
|
+
* Whether customer are allowed to tip during the
|
|
39183
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39184
|
+
*
|
|
39185
|
+
* Default: `true`
|
|
39186
|
+
*/
|
|
39187
|
+
allowCustomerTip?: boolean | null;
|
|
39188
|
+
/**
|
|
39189
|
+
* Whether the business owners are given the option to add a tip during the
|
|
39190
|
+
* payment collection flow in their dashboard.
|
|
39191
|
+
*
|
|
39192
|
+
* Default: `true`
|
|
39193
|
+
*/
|
|
39194
|
+
allowBusinessTipAtPayment?: boolean | null;
|
|
39195
|
+
/**
|
|
39196
|
+
* Whether customers can enter a custom tip amount. If set to `false`, customers
|
|
39197
|
+
* can only select a tip value from the available `presets` and can't enter a
|
|
39198
|
+
* custom amount.
|
|
39199
|
+
*
|
|
39200
|
+
* Default: `true`
|
|
39201
|
+
*/
|
|
39202
|
+
allowCustomAmount?: boolean | null;
|
|
39203
|
+
/**
|
|
39204
|
+
* Whether business owners are allowed to edit tip distributions. If set to
|
|
39205
|
+
* `false`, owners can't edit distributions after they were created.
|
|
39206
|
+
*
|
|
39207
|
+
* Default: `true`
|
|
39208
|
+
*/
|
|
39209
|
+
allowEditDistribution?: boolean | null;
|
|
39210
|
+
/**
|
|
39211
|
+
* How the tip is distributed among staff.
|
|
39212
|
+
*
|
|
39213
|
+
* Supported values:
|
|
39214
|
+
* `UNKNOWN_SPLIT_METHOD`: There is no information about the staff distribution method.
|
|
39215
|
+
* `EQUAL`: The tip is distributed equally among all staff.
|
|
39216
|
+
* `PROPORTIONAL`: The tip is distributed proportionally among staff.
|
|
39217
|
+
*/
|
|
39218
|
+
staffDistributionMethod?: StaffDistributionMethod$1;
|
|
39219
|
+
/**
|
|
39220
|
+
* Revision number, which increments by 1 each time `tipSettings` object is
|
|
39221
|
+
* updated. To prevent conflicting changes, the current revision must be passed
|
|
39222
|
+
* when updating `tipSettings`. Ignored when creating a `tipSettings` object.
|
|
39223
|
+
* @readonly
|
|
39224
|
+
*/
|
|
39225
|
+
revision?: string | null;
|
|
39226
|
+
/**
|
|
39227
|
+
* Date and time the tip settings were created in
|
|
39228
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
39229
|
+
* @readonly
|
|
39230
|
+
*/
|
|
39231
|
+
createdDate?: Date | null;
|
|
39232
|
+
/**
|
|
39233
|
+
* Date and time the tip settings were last updated
|
|
39234
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
39235
|
+
* @readonly
|
|
39236
|
+
*/
|
|
39237
|
+
updatedDate?: Date | null;
|
|
39238
|
+
/**
|
|
39239
|
+
* Whether these are the default tip settings. Wix Tips automatically creates
|
|
39240
|
+
* the default settings during the app's installation. You can't delete these
|
|
39241
|
+
* default settings but you can update them. Wix Tips uses the default settings
|
|
39242
|
+
* to calculate tips, unless you specify other settings.
|
|
39243
|
+
* @readonly
|
|
39244
|
+
*/
|
|
39245
|
+
default?: boolean | null;
|
|
39246
|
+
/**
|
|
39247
|
+
* ID of the app that has created the settings. See the list of app IDs for
|
|
39248
|
+
* [Wix business solutions](https://dev.wix.com/docs/rest/articles/getting-started/wix-business-solutions).
|
|
39249
|
+
*/
|
|
39250
|
+
appId?: string | null;
|
|
39251
|
+
/**
|
|
39252
|
+
* Custom field data for the `tipSettings` object. Extended fields must be
|
|
39253
|
+
* configured in the app dashboard before they can be accessed with API calls.
|
|
39254
|
+
*/
|
|
39255
|
+
extendedFields?: ExtendedFields$1;
|
|
39256
|
+
}
|
|
39257
|
+
/** @oneof */
|
|
39258
|
+
interface TipSettingsIdentifierOneOf$1 {
|
|
39259
|
+
/**
|
|
39260
|
+
* ID of the [location](https://dev.wix.com/docs/rest/business-management/locations/location-object)
|
|
39261
|
+
* for which the tip settings apply.
|
|
39262
|
+
*/
|
|
39263
|
+
locationId?: string | null;
|
|
39264
|
+
/**
|
|
39265
|
+
* ID of the payment terminal for which the tip settings apply. Wix Tips doesn't
|
|
39266
|
+
* validate the ID you provide.
|
|
39267
|
+
*
|
|
39268
|
+
* Max: 30 characters
|
|
39269
|
+
*/
|
|
39270
|
+
paymentTerminalId?: string | null;
|
|
39271
|
+
/**
|
|
39272
|
+
* ID of the Wix user for whom the tip settings apply. For example, the site owner or a
|
|
39273
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39274
|
+
*/
|
|
39275
|
+
userId?: string | null;
|
|
39276
|
+
}
|
|
39277
|
+
declare enum TipType$3 {
|
|
39278
|
+
/** There is no information about the tip type. */
|
|
39279
|
+
UNKNOWN_TIP_TYPE = "UNKNOWN_TIP_TYPE",
|
|
39280
|
+
/** The tip is calculated as a percentage of the subtotal of all related line items. */
|
|
39281
|
+
PERCENTAGE = "PERCENTAGE",
|
|
39282
|
+
/** The tip is a fixed amount. */
|
|
39283
|
+
AMOUNT = "AMOUNT"
|
|
39284
|
+
}
|
|
39285
|
+
interface Preset$1 {
|
|
39286
|
+
/**
|
|
39287
|
+
* Value of the preset tip choice that's displayed to customers in the
|
|
39288
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39289
|
+
* For example, `5`, `10`, and `15` percent or `1`, `3`, and `5` USD.
|
|
39290
|
+
*
|
|
39291
|
+
* Min: `0`
|
|
39292
|
+
*/
|
|
39293
|
+
value?: number | null;
|
|
39294
|
+
/**
|
|
39295
|
+
* Whether this tip choice value is the dafault preset that's highlighted automatically in the
|
|
39296
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39297
|
+
*
|
|
39298
|
+
* Default: `false`
|
|
39299
|
+
*/
|
|
39300
|
+
default?: boolean | null;
|
|
39301
|
+
}
|
|
39302
|
+
declare enum StaffDistributionMethod$1 {
|
|
39303
|
+
/** There is no information about the staff distribution method. */
|
|
39304
|
+
UNKNOWN_SPLIT_METHOD = "UNKNOWN_SPLIT_METHOD",
|
|
39305
|
+
/** All staff receive an equal amount of the tip. */
|
|
39306
|
+
EQUAL = "EQUAL",
|
|
39307
|
+
/** Staff receive a proportional amount of the tip. */
|
|
39308
|
+
PROPORTIONAL = "PROPORTIONAL"
|
|
39309
|
+
}
|
|
39310
|
+
interface ExtendedFields$1 {
|
|
39311
|
+
/**
|
|
39312
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
39313
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
39314
|
+
*
|
|
39315
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
39316
|
+
*
|
|
39317
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
39318
|
+
*/
|
|
39319
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
39320
|
+
}
|
|
39321
|
+
interface QueryTipSettingsRequest$1 {
|
|
39322
|
+
/** WQL expression */
|
|
39323
|
+
query: QueryV2$1;
|
|
39324
|
+
}
|
|
39325
|
+
interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
39326
|
+
/** Paging options to limit and skip the number of items. */
|
|
39327
|
+
paging?: Paging$1;
|
|
39328
|
+
/** 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`. */
|
|
39329
|
+
cursorPaging?: CursorPaging$3;
|
|
39330
|
+
/**
|
|
39331
|
+
* Filter object in the following format:
|
|
39332
|
+
* `"filter" : {
|
|
39333
|
+
* "fieldName1": "value1",
|
|
39334
|
+
* "fieldName2":{"$operator":"value2"}
|
|
39335
|
+
* }`
|
|
39336
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
39337
|
+
*/
|
|
39338
|
+
filter?: Record<string, any> | null;
|
|
39339
|
+
/**
|
|
39340
|
+
* Sort object in the following format:
|
|
39341
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
39342
|
+
*/
|
|
39343
|
+
sort?: Sorting$3[];
|
|
39344
|
+
/** 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. */
|
|
39345
|
+
fields?: string[];
|
|
39346
|
+
/** 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. */
|
|
39347
|
+
fieldsets?: string[];
|
|
39348
|
+
}
|
|
39349
|
+
/** @oneof */
|
|
39350
|
+
interface QueryV2PagingMethodOneOf$1 {
|
|
39351
|
+
/** Paging options to limit and skip the number of items. */
|
|
39352
|
+
paging?: Paging$1;
|
|
39353
|
+
/** 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`. */
|
|
39354
|
+
cursorPaging?: CursorPaging$3;
|
|
39355
|
+
}
|
|
39356
|
+
interface Sorting$3 {
|
|
39357
|
+
/** Name of the field to sort by. */
|
|
39358
|
+
fieldName?: string;
|
|
39359
|
+
/** Sort order. */
|
|
39360
|
+
order?: SortOrder$3;
|
|
39361
|
+
}
|
|
39362
|
+
declare enum SortOrder$3 {
|
|
39363
|
+
ASC = "ASC",
|
|
39364
|
+
DESC = "DESC"
|
|
39365
|
+
}
|
|
39366
|
+
interface Paging$1 {
|
|
39367
|
+
/** Number of items to load. */
|
|
39368
|
+
limit?: number | null;
|
|
39369
|
+
/** Number of items to skip in the current sort order. */
|
|
39370
|
+
offset?: number | null;
|
|
39371
|
+
}
|
|
39372
|
+
interface CursorPaging$3 {
|
|
39373
|
+
/** Maximum number of items to return in the results. */
|
|
39374
|
+
limit?: number | null;
|
|
39375
|
+
/**
|
|
39376
|
+
* Pointer to the next or previous page in the list of results.
|
|
39377
|
+
*
|
|
39378
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
39379
|
+
* Not relevant for the first request.
|
|
39380
|
+
*/
|
|
39381
|
+
cursor?: string | null;
|
|
39382
|
+
}
|
|
39383
|
+
interface QueryTipSettingsResponse$1 {
|
|
39384
|
+
/** Retrieved `tipSettings` objects. */
|
|
39385
|
+
tipSettings?: TipSettings$1[];
|
|
39386
|
+
/** Metadate for the paged set of retrieved `tipSettings` objects. */
|
|
39387
|
+
pagingMetadata?: PagingMetadataV2$1;
|
|
39388
|
+
}
|
|
39389
|
+
interface PagingMetadataV2$1 {
|
|
39390
|
+
/** Number of items returned in the response. */
|
|
39391
|
+
count?: number | null;
|
|
39392
|
+
/** Offset that was requested. */
|
|
39393
|
+
offset?: number | null;
|
|
39394
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
39395
|
+
total?: number | null;
|
|
39396
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
39397
|
+
tooManyToCount?: boolean | null;
|
|
39398
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
39399
|
+
cursors?: Cursors$3;
|
|
39400
|
+
}
|
|
39401
|
+
interface Cursors$3 {
|
|
39402
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
39403
|
+
next?: string | null;
|
|
39404
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
39405
|
+
prev?: string | null;
|
|
39406
|
+
}
|
|
39407
|
+
interface UpdateTipSettingsRequest$1 {
|
|
39408
|
+
/** Tip settings to update. */
|
|
39409
|
+
tipSettings: TipSettings$1;
|
|
39410
|
+
}
|
|
39411
|
+
interface UpdateTipSettingsResponse$1 {
|
|
39412
|
+
/** Updated tip settings. */
|
|
39413
|
+
tipSettings?: TipSettings$1;
|
|
39414
|
+
}
|
|
39415
|
+
interface CreateTipSettingsRequest$1 {
|
|
39416
|
+
/** Tip settings to create. */
|
|
39417
|
+
tipSettings: TipSettings$1;
|
|
39418
|
+
}
|
|
39419
|
+
interface CreateTipSettingsResponse$1 {
|
|
39420
|
+
/** Created tip settings. */
|
|
39421
|
+
tipSettings?: TipSettings$1;
|
|
39422
|
+
}
|
|
39423
|
+
interface CreateDefaultTipSettingsRequest$1 {
|
|
39424
|
+
/** Dafault tip settings to create. */
|
|
39425
|
+
tipSettings: TipSettings$1;
|
|
39426
|
+
}
|
|
39427
|
+
interface CreateDefaultTipSettingsResponse$1 {
|
|
39428
|
+
/** Created default tip settings. */
|
|
39429
|
+
tipSettings?: TipSettings$1;
|
|
39430
|
+
}
|
|
39431
|
+
interface DeleteTipSettingsRequest$1 {
|
|
39432
|
+
/** ID of the `tipSettings` object to delete. */
|
|
39433
|
+
tipSettingsId: string | null;
|
|
39434
|
+
}
|
|
39435
|
+
interface DeleteTipSettingsResponse$1 {
|
|
39436
|
+
}
|
|
39437
|
+
interface TipSettingsNonNullableFields$1 {
|
|
39438
|
+
tipType: TipType$3;
|
|
39439
|
+
staffDistributionMethod: StaffDistributionMethod$1;
|
|
39440
|
+
}
|
|
39441
|
+
interface QueryTipSettingsResponseNonNullableFields$1 {
|
|
39442
|
+
tipSettings: TipSettingsNonNullableFields$1[];
|
|
39443
|
+
}
|
|
39444
|
+
interface UpdateTipSettingsResponseNonNullableFields$1 {
|
|
39445
|
+
tipSettings?: TipSettingsNonNullableFields$1;
|
|
39446
|
+
}
|
|
39447
|
+
interface CreateTipSettingsResponseNonNullableFields$1 {
|
|
39448
|
+
tipSettings?: TipSettingsNonNullableFields$1;
|
|
39449
|
+
}
|
|
39450
|
+
interface CreateDefaultTipSettingsResponseNonNullableFields$1 {
|
|
39451
|
+
tipSettings?: TipSettingsNonNullableFields$1;
|
|
39452
|
+
}
|
|
39453
|
+
|
|
39454
|
+
/**
|
|
39455
|
+
* Tip settings define how tips are calculated and distributed among staff. When
|
|
39456
|
+
* Wix Tips is installed, default settings are automatically created. You can't
|
|
39457
|
+
* delete these default settings but you can update them. Creating additional
|
|
39458
|
+
* settings allows business owners to customize tip screens for different payment
|
|
39459
|
+
* terminals or set specific presets for various products or services.
|
|
39460
|
+
*/
|
|
39461
|
+
interface TipSettings extends TipSettingsIdentifierOneOf {
|
|
39462
|
+
/**
|
|
39463
|
+
* ID of the [location](https://dev.wix.com/docs/rest/business-management/locations/location-object)
|
|
39464
|
+
* for which the tip settings apply.
|
|
39465
|
+
*/
|
|
39466
|
+
locationId?: string | null;
|
|
39467
|
+
/**
|
|
39468
|
+
* ID of the payment terminal for which the tip settings apply. Wix Tips doesn't
|
|
39469
|
+
* validate the ID you provide.
|
|
39470
|
+
*
|
|
39471
|
+
* Max: 30 characters
|
|
39472
|
+
*/
|
|
39473
|
+
paymentTerminalId?: string | null;
|
|
39474
|
+
/**
|
|
39475
|
+
* ID of the Wix user for whom the tip settings apply. For example, the site owner or a
|
|
39476
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39477
|
+
*/
|
|
39478
|
+
userId?: string | null;
|
|
39479
|
+
/**
|
|
39480
|
+
* ID of the tip settings.
|
|
39481
|
+
* @readonly
|
|
39482
|
+
*/
|
|
39483
|
+
_id?: string | null;
|
|
39484
|
+
/**
|
|
39485
|
+
* Tip type.
|
|
39486
|
+
*
|
|
39487
|
+
* Supported values:
|
|
39488
|
+
* + `UNKNOWN_TIP_TYPE`: There is no information about the tip type.
|
|
39489
|
+
* + `PERCENTAGE`: The tip is calculated as a percentage of the subtotal for all related line items.
|
|
39490
|
+
* + `AMOUNT`: The tip is a fixed amount.
|
|
39491
|
+
*/
|
|
39492
|
+
tipType?: TipType$2;
|
|
39493
|
+
/**
|
|
39494
|
+
* Information about the tip choices that Wix Tips displays to customers during the
|
|
39495
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39496
|
+
*
|
|
39497
|
+
* Min: `1` preset
|
|
39498
|
+
* Max: `3` presets
|
|
39499
|
+
*/
|
|
39500
|
+
presets?: Preset[];
|
|
39501
|
+
/**
|
|
39502
|
+
* Whether customer are allowed to tip during the
|
|
39503
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39504
|
+
*
|
|
39505
|
+
* Default: `true`
|
|
39506
|
+
*/
|
|
39507
|
+
allowCustomerTip?: boolean | null;
|
|
39508
|
+
/**
|
|
39509
|
+
* Whether the business owners are given the option to add a tip during the
|
|
39510
|
+
* payment collection flow in their dashboard.
|
|
39511
|
+
*
|
|
39512
|
+
* Default: `true`
|
|
39513
|
+
*/
|
|
39514
|
+
allowBusinessTipAtPayment?: boolean | null;
|
|
39515
|
+
/**
|
|
39516
|
+
* Whether customers can enter a custom tip amount. If set to `false`, customers
|
|
39517
|
+
* can only select a tip value from the available `presets` and can't enter a
|
|
39518
|
+
* custom amount.
|
|
39519
|
+
*
|
|
39520
|
+
* Default: `true`
|
|
39521
|
+
*/
|
|
39522
|
+
allowCustomAmount?: boolean | null;
|
|
39523
|
+
/**
|
|
39524
|
+
* Whether business owners are allowed to edit tip distributions. If set to
|
|
39525
|
+
* `false`, owners can't edit distributions after they were created.
|
|
39526
|
+
*
|
|
39527
|
+
* Default: `true`
|
|
39528
|
+
*/
|
|
39529
|
+
allowEditDistribution?: boolean | null;
|
|
39530
|
+
/**
|
|
39531
|
+
* How the tip is distributed among staff.
|
|
39532
|
+
*
|
|
39533
|
+
* Supported values:
|
|
39534
|
+
* `UNKNOWN_SPLIT_METHOD`: There is no information about the staff distribution method.
|
|
39535
|
+
* `EQUAL`: The tip is distributed equally among all staff.
|
|
39536
|
+
* `PROPORTIONAL`: The tip is distributed proportionally among staff.
|
|
39537
|
+
*/
|
|
39538
|
+
staffDistributionMethod?: StaffDistributionMethod;
|
|
39539
|
+
/**
|
|
39540
|
+
* Revision number, which increments by 1 each time `tipSettings` object is
|
|
39541
|
+
* updated. To prevent conflicting changes, the current revision must be passed
|
|
39542
|
+
* when updating `tipSettings`. Ignored when creating a `tipSettings` object.
|
|
39543
|
+
* @readonly
|
|
39544
|
+
*/
|
|
39545
|
+
revision?: string | null;
|
|
39546
|
+
/**
|
|
39547
|
+
* Date and time the tip settings were created in
|
|
39548
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
39549
|
+
* @readonly
|
|
39550
|
+
*/
|
|
39551
|
+
_createdDate?: Date | null;
|
|
39552
|
+
/**
|
|
39553
|
+
* Date and time the tip settings were last updated
|
|
39554
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
39555
|
+
* @readonly
|
|
39556
|
+
*/
|
|
39557
|
+
_updatedDate?: Date | null;
|
|
39558
|
+
/**
|
|
39559
|
+
* Whether these are the default tip settings. Wix Tips automatically creates
|
|
39560
|
+
* the default settings during the app's installation. You can't delete these
|
|
39561
|
+
* default settings but you can update them. Wix Tips uses the default settings
|
|
39562
|
+
* to calculate tips, unless you specify other settings.
|
|
39563
|
+
* @readonly
|
|
39564
|
+
*/
|
|
39565
|
+
default?: boolean | null;
|
|
39566
|
+
/**
|
|
39567
|
+
* ID of the app that has created the settings. See the list of app IDs for
|
|
39568
|
+
* [Wix business solutions](https://dev.wix.com/docs/rest/articles/getting-started/wix-business-solutions).
|
|
39569
|
+
*/
|
|
39570
|
+
appId?: string | null;
|
|
39571
|
+
/**
|
|
39572
|
+
* Custom field data for the `tipSettings` object. Extended fields must be
|
|
39573
|
+
* configured in the app dashboard before they can be accessed with API calls.
|
|
39574
|
+
*/
|
|
39575
|
+
extendedFields?: ExtendedFields;
|
|
39576
|
+
}
|
|
39577
|
+
/** @oneof */
|
|
39578
|
+
interface TipSettingsIdentifierOneOf {
|
|
39579
|
+
/**
|
|
39580
|
+
* ID of the [location](https://dev.wix.com/docs/rest/business-management/locations/location-object)
|
|
39581
|
+
* for which the tip settings apply.
|
|
39582
|
+
*/
|
|
39583
|
+
locationId?: string | null;
|
|
39584
|
+
/**
|
|
39585
|
+
* ID of the payment terminal for which the tip settings apply. Wix Tips doesn't
|
|
39586
|
+
* validate the ID you provide.
|
|
39587
|
+
*
|
|
39588
|
+
* Max: 30 characters
|
|
39589
|
+
*/
|
|
39590
|
+
paymentTerminalId?: string | null;
|
|
39591
|
+
/**
|
|
39592
|
+
* ID of the Wix user for whom the tip settings apply. For example, the site owner or a
|
|
39593
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39594
|
+
*/
|
|
39595
|
+
userId?: string | null;
|
|
39596
|
+
}
|
|
39597
|
+
declare enum TipType$2 {
|
|
39598
|
+
/** There is no information about the tip type. */
|
|
39599
|
+
UNKNOWN_TIP_TYPE = "UNKNOWN_TIP_TYPE",
|
|
39600
|
+
/** The tip is calculated as a percentage of the subtotal of all related line items. */
|
|
39601
|
+
PERCENTAGE = "PERCENTAGE",
|
|
39602
|
+
/** The tip is a fixed amount. */
|
|
39603
|
+
AMOUNT = "AMOUNT"
|
|
39604
|
+
}
|
|
39605
|
+
interface Preset {
|
|
39606
|
+
/**
|
|
39607
|
+
* Value of the preset tip choice that's displayed to customers in the
|
|
39608
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39609
|
+
* For example, `5`, `10`, and `15` percent or `1`, `3`, and `5` USD.
|
|
39610
|
+
*
|
|
39611
|
+
* Min: `0`
|
|
39612
|
+
*/
|
|
39613
|
+
value?: number | null;
|
|
39614
|
+
/**
|
|
39615
|
+
* Whether this tip choice value is the dafault preset that's highlighted automatically in the
|
|
39616
|
+
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/checkout-object).
|
|
39617
|
+
*
|
|
39618
|
+
* Default: `false`
|
|
39619
|
+
*/
|
|
39620
|
+
default?: boolean | null;
|
|
39621
|
+
}
|
|
39622
|
+
declare enum StaffDistributionMethod {
|
|
39623
|
+
/** There is no information about the staff distribution method. */
|
|
39624
|
+
UNKNOWN_SPLIT_METHOD = "UNKNOWN_SPLIT_METHOD",
|
|
39625
|
+
/** All staff receive an equal amount of the tip. */
|
|
39626
|
+
EQUAL = "EQUAL",
|
|
39627
|
+
/** Staff receive a proportional amount of the tip. */
|
|
39628
|
+
PROPORTIONAL = "PROPORTIONAL"
|
|
39629
|
+
}
|
|
39630
|
+
interface ExtendedFields {
|
|
39631
|
+
/**
|
|
39632
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
39633
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
39634
|
+
*
|
|
39635
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
39636
|
+
*
|
|
39637
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
39638
|
+
*/
|
|
39639
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
39640
|
+
}
|
|
39641
|
+
interface QueryTipSettingsRequest {
|
|
39642
|
+
/** WQL expression */
|
|
39643
|
+
query: QueryV2;
|
|
39644
|
+
}
|
|
39645
|
+
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
39646
|
+
/** Paging options to limit and skip the number of items. */
|
|
39647
|
+
paging?: Paging;
|
|
39648
|
+
/** 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`. */
|
|
39649
|
+
cursorPaging?: CursorPaging$2;
|
|
39650
|
+
/**
|
|
39651
|
+
* Filter object in the following format:
|
|
39652
|
+
* `"filter" : {
|
|
39653
|
+
* "fieldName1": "value1",
|
|
39654
|
+
* "fieldName2":{"$operator":"value2"}
|
|
39655
|
+
* }`
|
|
39656
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
39657
|
+
*/
|
|
39658
|
+
filter?: Record<string, any> | null;
|
|
39659
|
+
/**
|
|
39660
|
+
* Sort object in the following format:
|
|
39661
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
39662
|
+
*/
|
|
39663
|
+
sort?: Sorting$2[];
|
|
39664
|
+
/** 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. */
|
|
39665
|
+
fields?: string[];
|
|
39666
|
+
/** 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. */
|
|
39667
|
+
fieldsets?: string[];
|
|
39668
|
+
}
|
|
39669
|
+
/** @oneof */
|
|
39670
|
+
interface QueryV2PagingMethodOneOf {
|
|
39671
|
+
/** Paging options to limit and skip the number of items. */
|
|
39672
|
+
paging?: Paging;
|
|
39673
|
+
/** 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`. */
|
|
39674
|
+
cursorPaging?: CursorPaging$2;
|
|
39675
|
+
}
|
|
39676
|
+
interface Sorting$2 {
|
|
39677
|
+
/** Name of the field to sort by. */
|
|
39678
|
+
fieldName?: string;
|
|
39679
|
+
/** Sort order. */
|
|
39680
|
+
order?: SortOrder$2;
|
|
39681
|
+
}
|
|
39682
|
+
declare enum SortOrder$2 {
|
|
39683
|
+
ASC = "ASC",
|
|
39684
|
+
DESC = "DESC"
|
|
39685
|
+
}
|
|
39686
|
+
interface Paging {
|
|
39687
|
+
/** Number of items to load. */
|
|
39688
|
+
limit?: number | null;
|
|
39689
|
+
/** Number of items to skip in the current sort order. */
|
|
39690
|
+
offset?: number | null;
|
|
39691
|
+
}
|
|
39692
|
+
interface CursorPaging$2 {
|
|
39693
|
+
/** Maximum number of items to return in the results. */
|
|
39694
|
+
limit?: number | null;
|
|
39695
|
+
/**
|
|
39696
|
+
* Pointer to the next or previous page in the list of results.
|
|
39697
|
+
*
|
|
39698
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
39699
|
+
* Not relevant for the first request.
|
|
39700
|
+
*/
|
|
39701
|
+
cursor?: string | null;
|
|
39702
|
+
}
|
|
39703
|
+
interface QueryTipSettingsResponse {
|
|
39704
|
+
/** Retrieved `tipSettings` objects. */
|
|
39705
|
+
tipSettings?: TipSettings[];
|
|
39706
|
+
/** Metadate for the paged set of retrieved `tipSettings` objects. */
|
|
39707
|
+
pagingMetadata?: PagingMetadataV2;
|
|
39708
|
+
}
|
|
39709
|
+
interface PagingMetadataV2 {
|
|
39710
|
+
/** Number of items returned in the response. */
|
|
39711
|
+
count?: number | null;
|
|
39712
|
+
/** Offset that was requested. */
|
|
39713
|
+
offset?: number | null;
|
|
39714
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
39715
|
+
total?: number | null;
|
|
39716
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
39717
|
+
tooManyToCount?: boolean | null;
|
|
39718
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
39719
|
+
cursors?: Cursors$2;
|
|
39720
|
+
}
|
|
39721
|
+
interface Cursors$2 {
|
|
39722
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
39723
|
+
next?: string | null;
|
|
39724
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
39725
|
+
prev?: string | null;
|
|
39726
|
+
}
|
|
39727
|
+
interface UpdateTipSettingsRequest {
|
|
39728
|
+
/** Tip settings to update. */
|
|
39729
|
+
tipSettings: TipSettings;
|
|
39730
|
+
}
|
|
39731
|
+
interface UpdateTipSettingsResponse {
|
|
39732
|
+
/** Updated tip settings. */
|
|
39733
|
+
tipSettings?: TipSettings;
|
|
39734
|
+
}
|
|
39735
|
+
interface CreateTipSettingsRequest {
|
|
39736
|
+
/** Tip settings to create. */
|
|
39737
|
+
tipSettings: TipSettings;
|
|
39738
|
+
}
|
|
39739
|
+
interface CreateTipSettingsResponse {
|
|
39740
|
+
/** Created tip settings. */
|
|
39741
|
+
tipSettings?: TipSettings;
|
|
39742
|
+
}
|
|
39743
|
+
interface CreateDefaultTipSettingsRequest {
|
|
39744
|
+
/** Dafault tip settings to create. */
|
|
39745
|
+
tipSettings: TipSettings;
|
|
39746
|
+
}
|
|
39747
|
+
interface CreateDefaultTipSettingsResponse {
|
|
39748
|
+
/** Created default tip settings. */
|
|
39749
|
+
tipSettings?: TipSettings;
|
|
39750
|
+
}
|
|
39751
|
+
interface DeleteTipSettingsRequest {
|
|
39752
|
+
/** ID of the `tipSettings` object to delete. */
|
|
39753
|
+
tipSettingsId: string | null;
|
|
39754
|
+
}
|
|
39755
|
+
interface DeleteTipSettingsResponse {
|
|
39756
|
+
}
|
|
39757
|
+
interface TipSettingsNonNullableFields {
|
|
39758
|
+
tipType: TipType$2;
|
|
39759
|
+
staffDistributionMethod: StaffDistributionMethod;
|
|
39760
|
+
}
|
|
39761
|
+
interface QueryTipSettingsResponseNonNullableFields {
|
|
39762
|
+
tipSettings: TipSettingsNonNullableFields[];
|
|
39763
|
+
}
|
|
39764
|
+
interface UpdateTipSettingsResponseNonNullableFields {
|
|
39765
|
+
tipSettings?: TipSettingsNonNullableFields;
|
|
39766
|
+
}
|
|
39767
|
+
interface CreateTipSettingsResponseNonNullableFields {
|
|
39768
|
+
tipSettings?: TipSettingsNonNullableFields;
|
|
39769
|
+
}
|
|
39770
|
+
interface CreateDefaultTipSettingsResponseNonNullableFields {
|
|
39771
|
+
tipSettings?: TipSettingsNonNullableFields;
|
|
39772
|
+
}
|
|
39773
|
+
|
|
39774
|
+
type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
39775
|
+
getUrl: (context: any) => string;
|
|
39776
|
+
httpMethod: K;
|
|
39777
|
+
path: string;
|
|
39778
|
+
pathParams: M;
|
|
39779
|
+
__requestType: T;
|
|
39780
|
+
__originalRequestType: S;
|
|
39781
|
+
__responseType: Q;
|
|
39782
|
+
__originalResponseType: R;
|
|
39783
|
+
};
|
|
39784
|
+
declare function queryTipSettings(): __PublicMethodMetaInfo$2<'POST', {}, QueryTipSettingsRequest, QueryTipSettingsRequest$1, QueryTipSettingsResponse & QueryTipSettingsResponseNonNullableFields, QueryTipSettingsResponse$1 & QueryTipSettingsResponseNonNullableFields$1>;
|
|
39785
|
+
declare function updateTipSettings(): __PublicMethodMetaInfo$2<'PATCH', {}, UpdateTipSettingsRequest, UpdateTipSettingsRequest$1, UpdateTipSettingsResponse & UpdateTipSettingsResponseNonNullableFields, UpdateTipSettingsResponse$1 & UpdateTipSettingsResponseNonNullableFields$1>;
|
|
39786
|
+
declare function createTipSettings(): __PublicMethodMetaInfo$2<'POST', {}, CreateTipSettingsRequest, CreateTipSettingsRequest$1, CreateTipSettingsResponse & CreateTipSettingsResponseNonNullableFields, CreateTipSettingsResponse$1 & CreateTipSettingsResponseNonNullableFields$1>;
|
|
39787
|
+
declare function createDefaultTipSettings(): __PublicMethodMetaInfo$2<'POST', {}, CreateDefaultTipSettingsRequest, CreateDefaultTipSettingsRequest$1, CreateDefaultTipSettingsResponse & CreateDefaultTipSettingsResponseNonNullableFields, CreateDefaultTipSettingsResponse$1 & CreateDefaultTipSettingsResponseNonNullableFields$1>;
|
|
39788
|
+
declare function deleteTipSettings(): __PublicMethodMetaInfo$2<'DELETE', {
|
|
39789
|
+
tipSettingsId: string;
|
|
39790
|
+
}, DeleteTipSettingsRequest, DeleteTipSettingsRequest$1, DeleteTipSettingsResponse, DeleteTipSettingsResponse$1>;
|
|
39791
|
+
|
|
39792
|
+
declare const meta$2_createDefaultTipSettings: typeof createDefaultTipSettings;
|
|
39793
|
+
declare const meta$2_createTipSettings: typeof createTipSettings;
|
|
39794
|
+
declare const meta$2_deleteTipSettings: typeof deleteTipSettings;
|
|
39795
|
+
declare const meta$2_queryTipSettings: typeof queryTipSettings;
|
|
39796
|
+
declare const meta$2_updateTipSettings: typeof updateTipSettings;
|
|
39797
|
+
declare namespace meta$2 {
|
|
39798
|
+
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 };
|
|
39799
|
+
}
|
|
39800
|
+
|
|
39801
|
+
/**
|
|
39802
|
+
* Information about a team member who's eligible to receive a portion of the tip.
|
|
39803
|
+
* Currently, only [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/introduction)
|
|
39804
|
+
* and [site collaborators](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site)
|
|
39805
|
+
* are eligible for tip distributions.
|
|
39806
|
+
*/
|
|
39807
|
+
interface Staff$3 {
|
|
39808
|
+
/**
|
|
39809
|
+
* Staff ID. Matches `staffMemberId` if available, or
|
|
39810
|
+
* `identificationData.wixUserId` if not.
|
|
39811
|
+
* @readonly
|
|
39812
|
+
*/
|
|
39813
|
+
id?: string | null;
|
|
39814
|
+
/**
|
|
39815
|
+
* Staff name. Matches the name of the
|
|
39816
|
+
* [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object)
|
|
39817
|
+
* if available.
|
|
39818
|
+
*/
|
|
39819
|
+
name?: string | null;
|
|
39820
|
+
/**
|
|
39821
|
+
* Staff member ID. Available only if the staff is connected to a
|
|
39822
|
+
* [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object).
|
|
39823
|
+
*/
|
|
39824
|
+
staffMemberId?: string | null;
|
|
39825
|
+
/**
|
|
39826
|
+
* Identification data of the staff. Available only if the staff is a
|
|
39827
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39828
|
+
*/
|
|
39829
|
+
identificationData?: IdentificationData$1;
|
|
39830
|
+
}
|
|
39831
|
+
interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
|
|
39832
|
+
/** ID of a site visitor who hasn't logged in to the site. */
|
|
39833
|
+
anonymousVisitorId?: string;
|
|
39834
|
+
/** ID of a site visitor who has logged in to the site. */
|
|
39835
|
+
memberId?: string;
|
|
39836
|
+
/**
|
|
39837
|
+
* ID of a Wix user. For example, the site owner or a
|
|
39838
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39839
|
+
*/
|
|
39840
|
+
wixUserId?: string;
|
|
39841
|
+
/** ID of an app. */
|
|
39842
|
+
appId?: string;
|
|
39843
|
+
/**
|
|
39844
|
+
* ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)
|
|
39845
|
+
* in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
|
|
39846
|
+
*/
|
|
39847
|
+
contactId?: string | null;
|
|
39848
|
+
}
|
|
39849
|
+
/** @oneof */
|
|
39850
|
+
interface IdentificationDataIdOneOf$1 {
|
|
39851
|
+
/** ID of a site visitor who hasn't logged in to the site. */
|
|
39852
|
+
anonymousVisitorId?: string;
|
|
39853
|
+
/** ID of a site visitor who has logged in to the site. */
|
|
39854
|
+
memberId?: string;
|
|
39855
|
+
/**
|
|
39856
|
+
* ID of a Wix user. For example, the site owner or a
|
|
39857
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39858
|
+
*/
|
|
39859
|
+
wixUserId?: string;
|
|
39860
|
+
/** ID of an app. */
|
|
39861
|
+
appId?: string;
|
|
39862
|
+
}
|
|
39863
|
+
declare enum IdentityType$3 {
|
|
39864
|
+
UNKNOWN = "UNKNOWN",
|
|
39865
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
39866
|
+
MEMBER = "MEMBER",
|
|
39867
|
+
WIX_USER = "WIX_USER",
|
|
39868
|
+
APP = "APP"
|
|
39869
|
+
}
|
|
39870
|
+
interface ListTippableStaffRequest$1 {
|
|
39871
|
+
/**
|
|
39872
|
+
* Whether to include staff who are only Wix users and not
|
|
39873
|
+
* [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/about-staff-members-and-resources)
|
|
39874
|
+
* in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
39875
|
+
* staff, including Bookings staff, site collaborators, or those who are both.
|
|
39876
|
+
* By default, or if you provide `{"includeWixUsers": false}`, only Bookings
|
|
39877
|
+
* staff members or those who are both are returned.
|
|
39878
|
+
*
|
|
39879
|
+
* Default: `false`.
|
|
39880
|
+
*/
|
|
39881
|
+
includeWixUsers?: boolean;
|
|
39882
|
+
/**
|
|
39883
|
+
* Filters the returned staff by name. If you provide a name as filter, only
|
|
39884
|
+
* staff whose names start with the given input are returned. The filter isn't
|
|
39885
|
+
* case sensitive.
|
|
39886
|
+
*
|
|
39887
|
+
* Max: 500 characters
|
|
39888
|
+
*/
|
|
39889
|
+
filterByName?: string | null;
|
|
39890
|
+
/**
|
|
39891
|
+
* Filters the returned staff by ID. If you provide a list of IDs as filter,
|
|
39892
|
+
* only staff members with exact matching IDs are returned.
|
|
39893
|
+
*
|
|
39894
|
+
* Max: 100 IDs
|
|
39895
|
+
*/
|
|
39896
|
+
filterByIds?: string[] | null;
|
|
39897
|
+
}
|
|
39898
|
+
interface ListTippableStaffResponse$1 {
|
|
39899
|
+
/** Retrieved staff. */
|
|
39900
|
+
staff?: Staff$3[];
|
|
39901
|
+
}
|
|
39902
|
+
interface IdentificationDataNonNullableFields$1 {
|
|
39903
|
+
anonymousVisitorId: string;
|
|
39904
|
+
memberId: string;
|
|
39905
|
+
wixUserId: string;
|
|
39906
|
+
appId: string;
|
|
39907
|
+
identityType: IdentityType$3;
|
|
39908
|
+
}
|
|
39909
|
+
interface StaffNonNullableFields$3 {
|
|
39910
|
+
identificationData?: IdentificationDataNonNullableFields$1;
|
|
39911
|
+
}
|
|
39912
|
+
interface ListTippableStaffResponseNonNullableFields$1 {
|
|
39913
|
+
staff: StaffNonNullableFields$3[];
|
|
39914
|
+
}
|
|
39915
|
+
|
|
39916
|
+
/**
|
|
39917
|
+
* Information about a team member who's eligible to receive a portion of the tip.
|
|
39918
|
+
* Currently, only [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/introduction)
|
|
39919
|
+
* and [site collaborators](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site)
|
|
39920
|
+
* are eligible for tip distributions.
|
|
39921
|
+
*/
|
|
39922
|
+
interface Staff$2 {
|
|
39923
|
+
/**
|
|
39924
|
+
* Staff ID. Matches `staffMemberId` if available, or
|
|
39925
|
+
* `identificationData.wixUserId` if not.
|
|
39926
|
+
* @readonly
|
|
39927
|
+
*/
|
|
39928
|
+
_id?: string | null;
|
|
39929
|
+
/**
|
|
39930
|
+
* Staff name. Matches the name of the
|
|
39931
|
+
* [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object)
|
|
39932
|
+
* if available.
|
|
39933
|
+
*/
|
|
39934
|
+
name?: string | null;
|
|
39935
|
+
/**
|
|
39936
|
+
* Staff member ID. Available only if the staff is connected to a
|
|
39937
|
+
* [Bookings staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/staff-member-v1/staff-member-object).
|
|
39938
|
+
*/
|
|
39939
|
+
staffMemberId?: string | null;
|
|
39940
|
+
/**
|
|
39941
|
+
* Identification data of the staff. Available only if the staff is a
|
|
39942
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39943
|
+
*/
|
|
39944
|
+
identificationData?: IdentificationData;
|
|
39945
|
+
}
|
|
39946
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
39947
|
+
/** ID of a site visitor who hasn't logged in to the site. */
|
|
39948
|
+
anonymousVisitorId?: string;
|
|
39949
|
+
/** ID of a site visitor who has logged in to the site. */
|
|
39950
|
+
memberId?: string;
|
|
39951
|
+
/**
|
|
39952
|
+
* ID of a Wix user. For example, the site owner or a
|
|
39953
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39954
|
+
*/
|
|
39955
|
+
wixUserId?: string;
|
|
39956
|
+
/** ID of an app. */
|
|
39957
|
+
appId?: string;
|
|
39958
|
+
/**
|
|
39959
|
+
* ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)
|
|
39960
|
+
* in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
|
|
39961
|
+
*/
|
|
39962
|
+
contactId?: string | null;
|
|
39963
|
+
}
|
|
39964
|
+
/** @oneof */
|
|
39965
|
+
interface IdentificationDataIdOneOf {
|
|
39966
|
+
/** ID of a site visitor who hasn't logged in to the site. */
|
|
39967
|
+
anonymousVisitorId?: string;
|
|
39968
|
+
/** ID of a site visitor who has logged in to the site. */
|
|
39969
|
+
memberId?: string;
|
|
39970
|
+
/**
|
|
39971
|
+
* ID of a Wix user. For example, the site owner or a
|
|
39972
|
+
* [site collaborator](https://support.wix.com/en/article/inviting-people-to-contribute-to-your-site).
|
|
39973
|
+
*/
|
|
39974
|
+
wixUserId?: string;
|
|
39975
|
+
/** ID of an app. */
|
|
39976
|
+
appId?: string;
|
|
39977
|
+
}
|
|
39978
|
+
declare enum IdentityType$2 {
|
|
39979
|
+
UNKNOWN = "UNKNOWN",
|
|
39980
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
39981
|
+
MEMBER = "MEMBER",
|
|
39982
|
+
WIX_USER = "WIX_USER",
|
|
39983
|
+
APP = "APP"
|
|
39984
|
+
}
|
|
39985
|
+
interface ListTippableStaffRequest {
|
|
39986
|
+
/**
|
|
39987
|
+
* Whether to include staff who are only Wix users and not
|
|
39988
|
+
* [Bookings staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/about-staff-members-and-resources)
|
|
39989
|
+
* in the response. Setting `{"includeWixUsers": true}` returns all tippable
|
|
39990
|
+
* staff, including Bookings staff, site collaborators, or those who are both.
|
|
39991
|
+
* By default, or if you provide `{"includeWixUsers": false}`, only Bookings
|
|
39992
|
+
* staff members or those who are both are returned.
|
|
39993
|
+
*
|
|
39994
|
+
* Default: `false`.
|
|
39995
|
+
*/
|
|
39996
|
+
includeWixUsers?: boolean;
|
|
39997
|
+
/**
|
|
39998
|
+
* Filters the returned staff by name. If you provide a name as filter, only
|
|
39999
|
+
* staff whose names start with the given input are returned. The filter isn't
|
|
40000
|
+
* case sensitive.
|
|
40001
|
+
*
|
|
40002
|
+
* Max: 500 characters
|
|
40003
|
+
*/
|
|
40004
|
+
filterByName?: string | null;
|
|
40005
|
+
/**
|
|
40006
|
+
* Filters the returned staff by ID. If you provide a list of IDs as filter,
|
|
40007
|
+
* only staff members with exact matching IDs are returned.
|
|
40008
|
+
*
|
|
40009
|
+
* Max: 100 IDs
|
|
40010
|
+
*/
|
|
40011
|
+
filterByIds?: string[] | null;
|
|
40012
|
+
}
|
|
40013
|
+
interface ListTippableStaffResponse {
|
|
40014
|
+
/** Retrieved staff. */
|
|
40015
|
+
staff?: Staff$2[];
|
|
40016
|
+
}
|
|
40017
|
+
interface IdentificationDataNonNullableFields {
|
|
40018
|
+
anonymousVisitorId: string;
|
|
40019
|
+
memberId: string;
|
|
40020
|
+
wixUserId: string;
|
|
40021
|
+
appId: string;
|
|
40022
|
+
identityType: IdentityType$2;
|
|
40023
|
+
}
|
|
40024
|
+
interface StaffNonNullableFields$2 {
|
|
40025
|
+
identificationData?: IdentificationDataNonNullableFields;
|
|
40026
|
+
}
|
|
40027
|
+
interface ListTippableStaffResponseNonNullableFields {
|
|
40028
|
+
staff: StaffNonNullableFields$2[];
|
|
40029
|
+
}
|
|
40030
|
+
|
|
39009
40031
|
type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
39010
40032
|
getUrl: (context: any) => string;
|
|
39011
40033
|
httpMethod: K;
|
|
@@ -39016,11 +40038,11 @@ type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
39016
40038
|
__responseType: Q;
|
|
39017
40039
|
__originalResponseType: R;
|
|
39018
40040
|
};
|
|
39019
|
-
declare function
|
|
40041
|
+
declare function listTippableStaff(): __PublicMethodMetaInfo$1<'GET', {}, ListTippableStaffRequest, ListTippableStaffRequest$1, ListTippableStaffResponse & ListTippableStaffResponseNonNullableFields, ListTippableStaffResponse$1 & ListTippableStaffResponseNonNullableFields$1>;
|
|
39020
40042
|
|
|
39021
|
-
declare const meta$
|
|
40043
|
+
declare const meta$1_listTippableStaff: typeof listTippableStaff;
|
|
39022
40044
|
declare namespace meta$1 {
|
|
39023
|
-
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$
|
|
40045
|
+
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_listTippableStaff as listTippableStaff };
|
|
39024
40046
|
}
|
|
39025
40047
|
|
|
39026
40048
|
/**
|
|
@@ -40139,4 +41161,4 @@ declare namespace meta {
|
|
|
40139
41161
|
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
41162
|
}
|
|
40141
41163
|
|
|
40142
|
-
export { meta$
|
|
41164
|
+
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 };
|