@wix/ecom 1.0.797 → 1.0.799
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.
|
@@ -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$p;
|
|
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$p[];
|
|
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$p;
|
|
487
487
|
}
|
|
488
|
-
interface Sorting$
|
|
488
|
+
interface Sorting$p {
|
|
489
489
|
/** Name of the field to sort by. */
|
|
490
490
|
fieldName?: string;
|
|
491
491
|
/** Sort order. */
|
|
492
|
-
order?: SortOrder$
|
|
492
|
+
order?: SortOrder$p;
|
|
493
493
|
}
|
|
494
|
-
declare enum SortOrder$
|
|
494
|
+
declare enum SortOrder$p {
|
|
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$p {
|
|
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$p;
|
|
530
530
|
}
|
|
531
|
-
interface Cursors$
|
|
531
|
+
interface Cursors$p {
|
|
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$o;
|
|
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$o[];
|
|
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$o;
|
|
937
937
|
}
|
|
938
|
-
interface Sorting$
|
|
938
|
+
interface Sorting$o {
|
|
939
939
|
/** Name of the field to sort by. */
|
|
940
940
|
fieldName?: string;
|
|
941
941
|
/** Sort order. */
|
|
942
|
-
order?: SortOrder$
|
|
942
|
+
order?: SortOrder$o;
|
|
943
943
|
}
|
|
944
|
-
declare enum SortOrder$
|
|
944
|
+
declare enum SortOrder$o {
|
|
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$o {
|
|
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$o;
|
|
980
980
|
}
|
|
981
|
-
interface Cursors$
|
|
981
|
+
interface Cursors$o {
|
|
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. */
|
|
@@ -1917,9 +1917,9 @@ interface SubscriptionInfo$5 {
|
|
|
1917
1917
|
/** Subscription option description. For example, `"1kg of selected coffee, once a month"`. */
|
|
1918
1918
|
subscriptionOptionDescription?: string | null;
|
|
1919
1919
|
/** Subscription detailed information. */
|
|
1920
|
-
subscriptionSettings?: SubscriptionSettings$
|
|
1920
|
+
subscriptionSettings?: SubscriptionSettings$9;
|
|
1921
1921
|
}
|
|
1922
|
-
interface SubscriptionSettings$
|
|
1922
|
+
interface SubscriptionSettings$9 {
|
|
1923
1923
|
/** Frequency of recurring payment. */
|
|
1924
1924
|
frequency?: V2SubscriptionFrequency$1;
|
|
1925
1925
|
/** Interval of recurring payment. */
|
|
@@ -2325,7 +2325,7 @@ interface QuerySubscriptionContractsRequest$1 {
|
|
|
2325
2325
|
}
|
|
2326
2326
|
interface CursorQuery$d extends CursorQueryPagingMethodOneOf$d {
|
|
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$n;
|
|
2329
2329
|
/**
|
|
2330
2330
|
* Filter object in the following format:
|
|
2331
2331
|
* `"filter" : {
|
|
@@ -2341,24 +2341,24 @@ interface CursorQuery$d extends CursorQueryPagingMethodOneOf$d {
|
|
|
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$n[];
|
|
2345
2345
|
}
|
|
2346
2346
|
/** @oneof */
|
|
2347
2347
|
interface CursorQueryPagingMethodOneOf$d {
|
|
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$n;
|
|
2350
2350
|
}
|
|
2351
|
-
interface Sorting$
|
|
2351
|
+
interface Sorting$n {
|
|
2352
2352
|
/** Name of the field to sort by. */
|
|
2353
2353
|
fieldName?: string;
|
|
2354
2354
|
/** Sort order. */
|
|
2355
|
-
order?: SortOrder$
|
|
2355
|
+
order?: SortOrder$n;
|
|
2356
2356
|
}
|
|
2357
|
-
declare enum SortOrder$
|
|
2357
|
+
declare enum SortOrder$n {
|
|
2358
2358
|
ASC = "ASC",
|
|
2359
2359
|
DESC = "DESC"
|
|
2360
2360
|
}
|
|
2361
|
-
interface CursorPaging$
|
|
2361
|
+
interface CursorPaging$n {
|
|
2362
2362
|
/** Maximum number of items to return in the results. */
|
|
2363
2363
|
limit?: number | null;
|
|
2364
2364
|
/**
|
|
@@ -2373,13 +2373,13 @@ interface QuerySubscriptionContractsResponse$1 {
|
|
|
2373
2373
|
/** List of SubscriptionContracts. */
|
|
2374
2374
|
subscriptionContracts?: SubscriptionContract$1[];
|
|
2375
2375
|
/** Paging metadata */
|
|
2376
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
2376
|
+
pagingMetadata?: CursorPagingMetadata$j;
|
|
2377
2377
|
}
|
|
2378
|
-
interface CursorPagingMetadata$
|
|
2378
|
+
interface CursorPagingMetadata$j {
|
|
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$n;
|
|
2383
2383
|
/**
|
|
2384
2384
|
* Whether there are more pages to retrieve following the current page.
|
|
2385
2385
|
*
|
|
@@ -2388,7 +2388,7 @@ interface CursorPagingMetadata$h {
|
|
|
2388
2388
|
*/
|
|
2389
2389
|
hasNext?: boolean | null;
|
|
2390
2390
|
}
|
|
2391
|
-
interface Cursors$
|
|
2391
|
+
interface Cursors$n {
|
|
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. */
|
|
@@ -3061,9 +3061,9 @@ interface SubscriptionInfo$4 {
|
|
|
3061
3061
|
/** Subscription option description. For example, `"1kg of selected coffee, once a month"`. */
|
|
3062
3062
|
subscriptionOptionDescription?: string | null;
|
|
3063
3063
|
/** Subscription detailed information. */
|
|
3064
|
-
subscriptionSettings?: SubscriptionSettings$
|
|
3064
|
+
subscriptionSettings?: SubscriptionSettings$8;
|
|
3065
3065
|
}
|
|
3066
|
-
interface SubscriptionSettings$
|
|
3066
|
+
interface SubscriptionSettings$8 {
|
|
3067
3067
|
/** Frequency of recurring payment. */
|
|
3068
3068
|
frequency?: V2SubscriptionFrequency;
|
|
3069
3069
|
/** Interval of recurring payment. */
|
|
@@ -3449,7 +3449,7 @@ interface QuerySubscriptionContractsRequest {
|
|
|
3449
3449
|
}
|
|
3450
3450
|
interface CursorQuery$c extends CursorQueryPagingMethodOneOf$c {
|
|
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$m;
|
|
3453
3453
|
/**
|
|
3454
3454
|
* Filter object in the following format:
|
|
3455
3455
|
* `"filter" : {
|
|
@@ -3465,24 +3465,24 @@ interface CursorQuery$c extends CursorQueryPagingMethodOneOf$c {
|
|
|
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$m[];
|
|
3469
3469
|
}
|
|
3470
3470
|
/** @oneof */
|
|
3471
3471
|
interface CursorQueryPagingMethodOneOf$c {
|
|
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$m;
|
|
3474
3474
|
}
|
|
3475
|
-
interface Sorting$
|
|
3475
|
+
interface Sorting$m {
|
|
3476
3476
|
/** Name of the field to sort by. */
|
|
3477
3477
|
fieldName?: string;
|
|
3478
3478
|
/** Sort order. */
|
|
3479
|
-
order?: SortOrder$
|
|
3479
|
+
order?: SortOrder$m;
|
|
3480
3480
|
}
|
|
3481
|
-
declare enum SortOrder$
|
|
3481
|
+
declare enum SortOrder$m {
|
|
3482
3482
|
ASC = "ASC",
|
|
3483
3483
|
DESC = "DESC"
|
|
3484
3484
|
}
|
|
3485
|
-
interface CursorPaging$
|
|
3485
|
+
interface CursorPaging$m {
|
|
3486
3486
|
/** Maximum number of items to return in the results. */
|
|
3487
3487
|
limit?: number | null;
|
|
3488
3488
|
/**
|
|
@@ -3497,13 +3497,13 @@ interface QuerySubscriptionContractsResponse {
|
|
|
3497
3497
|
/** List of SubscriptionContracts. */
|
|
3498
3498
|
subscriptionContracts?: SubscriptionContract[];
|
|
3499
3499
|
/** Paging metadata */
|
|
3500
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
3500
|
+
pagingMetadata?: CursorPagingMetadata$i;
|
|
3501
3501
|
}
|
|
3502
|
-
interface CursorPagingMetadata$
|
|
3502
|
+
interface CursorPagingMetadata$i {
|
|
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$m;
|
|
3507
3507
|
/**
|
|
3508
3508
|
* Whether there are more pages to retrieve following the current page.
|
|
3509
3509
|
*
|
|
@@ -3512,7 +3512,7 @@ interface CursorPagingMetadata$g {
|
|
|
3512
3512
|
*/
|
|
3513
3513
|
hasNext?: boolean | null;
|
|
3514
3514
|
}
|
|
3515
|
-
interface Cursors$
|
|
3515
|
+
interface Cursors$m {
|
|
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. */
|
|
@@ -3926,13 +3926,13 @@ interface DeleteAbandonedCheckoutResponse$1 {
|
|
|
3926
3926
|
}
|
|
3927
3927
|
interface QueryAbandonedCheckoutsRequest$1 {
|
|
3928
3928
|
/** Query options. */
|
|
3929
|
-
query: QueryV2$
|
|
3929
|
+
query: QueryV2$5;
|
|
3930
3930
|
}
|
|
3931
|
-
interface QueryV2$
|
|
3931
|
+
interface QueryV2$5 extends QueryV2PagingMethodOneOf$5 {
|
|
3932
3932
|
/** Paging options to limit and skip the number of items. */
|
|
3933
|
-
paging?: Paging$
|
|
3933
|
+
paging?: Paging$5;
|
|
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$l;
|
|
3936
3936
|
/**
|
|
3937
3937
|
* Filter object.
|
|
3938
3938
|
*
|
|
@@ -3944,36 +3944,36 @@ interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
|
|
|
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$l[];
|
|
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$5 {
|
|
3955
3955
|
/** Paging options to limit and skip the number of items. */
|
|
3956
|
-
paging?: Paging$
|
|
3956
|
+
paging?: Paging$5;
|
|
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$l;
|
|
3959
3959
|
}
|
|
3960
|
-
interface Sorting$
|
|
3960
|
+
interface Sorting$l {
|
|
3961
3961
|
/** Name of the field to sort by. */
|
|
3962
3962
|
fieldName?: string;
|
|
3963
3963
|
/** Sort order. */
|
|
3964
|
-
order?: SortOrder$
|
|
3964
|
+
order?: SortOrder$l;
|
|
3965
3965
|
}
|
|
3966
|
-
declare enum SortOrder$
|
|
3966
|
+
declare enum SortOrder$l {
|
|
3967
3967
|
ASC = "ASC",
|
|
3968
3968
|
DESC = "DESC"
|
|
3969
3969
|
}
|
|
3970
|
-
interface Paging$
|
|
3970
|
+
interface Paging$5 {
|
|
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$l {
|
|
3977
3977
|
/** Maximum number of items to return in the results. */
|
|
3978
3978
|
limit?: number | null;
|
|
3979
3979
|
/**
|
|
@@ -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$l;
|
|
4009
4009
|
}
|
|
4010
|
-
interface Cursors$
|
|
4010
|
+
interface Cursors$l {
|
|
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$4;
|
|
4341
4341
|
}
|
|
4342
|
-
interface QueryV2$
|
|
4342
|
+
interface QueryV2$4 extends QueryV2PagingMethodOneOf$4 {
|
|
4343
4343
|
/** Paging options to limit and skip the number of items. */
|
|
4344
|
-
paging?: Paging$
|
|
4344
|
+
paging?: Paging$4;
|
|
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$k;
|
|
4347
4347
|
/**
|
|
4348
4348
|
* Filter object.
|
|
4349
4349
|
*
|
|
@@ -4355,36 +4355,36 @@ interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
|
|
|
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$k[];
|
|
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$4 {
|
|
4366
4366
|
/** Paging options to limit and skip the number of items. */
|
|
4367
|
-
paging?: Paging$
|
|
4367
|
+
paging?: Paging$4;
|
|
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$k;
|
|
4370
4370
|
}
|
|
4371
|
-
interface Sorting$
|
|
4371
|
+
interface Sorting$k {
|
|
4372
4372
|
/** Name of the field to sort by. */
|
|
4373
4373
|
fieldName?: string;
|
|
4374
4374
|
/** Sort order. */
|
|
4375
|
-
order?: SortOrder$
|
|
4375
|
+
order?: SortOrder$k;
|
|
4376
4376
|
}
|
|
4377
|
-
declare enum SortOrder$
|
|
4377
|
+
declare enum SortOrder$k {
|
|
4378
4378
|
ASC = "ASC",
|
|
4379
4379
|
DESC = "DESC"
|
|
4380
4380
|
}
|
|
4381
|
-
interface Paging$
|
|
4381
|
+
interface Paging$4 {
|
|
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$k {
|
|
4388
4388
|
/** Maximum number of items to return in the results. */
|
|
4389
4389
|
limit?: number | null;
|
|
4390
4390
|
/**
|
|
@@ -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$k;
|
|
4420
4420
|
}
|
|
4421
|
-
interface Cursors$
|
|
4421
|
+
interface Cursors$k {
|
|
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. */
|
|
@@ -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$j;
|
|
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$j[];
|
|
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$j;
|
|
4789
4789
|
}
|
|
4790
|
-
interface Sorting$
|
|
4790
|
+
interface Sorting$j {
|
|
4791
4791
|
/** Name of the field to sort by. */
|
|
4792
4792
|
fieldName?: string;
|
|
4793
4793
|
/** Sort order. */
|
|
4794
|
-
order?: SortOrder$
|
|
4794
|
+
order?: SortOrder$j;
|
|
4795
4795
|
}
|
|
4796
|
-
declare enum SortOrder$
|
|
4796
|
+
declare enum SortOrder$j {
|
|
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$j {
|
|
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$j;
|
|
4832
4832
|
}
|
|
4833
|
-
interface Cursors$
|
|
4833
|
+
interface Cursors$j {
|
|
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$i;
|
|
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$i[];
|
|
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$i;
|
|
5064
5064
|
}
|
|
5065
|
-
interface Sorting$
|
|
5065
|
+
interface Sorting$i {
|
|
5066
5066
|
/** Name of the field to sort by. */
|
|
5067
5067
|
fieldName?: string;
|
|
5068
5068
|
/** Sort order. */
|
|
5069
|
-
order?: SortOrder$
|
|
5069
|
+
order?: SortOrder$i;
|
|
5070
5070
|
}
|
|
5071
|
-
declare enum SortOrder$
|
|
5071
|
+
declare enum SortOrder$i {
|
|
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$i {
|
|
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$i;
|
|
5107
5107
|
}
|
|
5108
|
-
interface Cursors$
|
|
5108
|
+
interface Cursors$i {
|
|
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. */
|
|
@@ -13462,6 +13462,11 @@ interface LineItem$3 {
|
|
|
13462
13462
|
* @readonly
|
|
13463
13463
|
*/
|
|
13464
13464
|
itemType?: ItemType$9;
|
|
13465
|
+
/**
|
|
13466
|
+
* Subscription option information.
|
|
13467
|
+
* @readonly
|
|
13468
|
+
*/
|
|
13469
|
+
subscriptionOptionInfo?: SubscriptionOptionInfo$1;
|
|
13465
13470
|
/**
|
|
13466
13471
|
* Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
|
|
13467
13472
|
* + `FULL_PAYMENT_ONLINE`: The entire payment for this item happens as part of the checkout.
|
|
@@ -13740,6 +13745,29 @@ declare enum ItemTypeItemType$9 {
|
|
|
13740
13745
|
GIFT_CARD = "GIFT_CARD",
|
|
13741
13746
|
SERVICE = "SERVICE"
|
|
13742
13747
|
}
|
|
13748
|
+
interface SubscriptionOptionInfo$1 {
|
|
13749
|
+
/** Subscription option settings. */
|
|
13750
|
+
subscriptionSettings?: SubscriptionSettings$7;
|
|
13751
|
+
/** Subscription option title. */
|
|
13752
|
+
title?: Title$1;
|
|
13753
|
+
/** Subscription option description. */
|
|
13754
|
+
description?: Description$1;
|
|
13755
|
+
}
|
|
13756
|
+
interface SubscriptionSettings$7 {
|
|
13757
|
+
/** Frequency of recurring payment. */
|
|
13758
|
+
frequency?: SubscriptionFrequency$9;
|
|
13759
|
+
/**
|
|
13760
|
+
* Interval of recurring payment.
|
|
13761
|
+
*
|
|
13762
|
+
* Default: `1`.
|
|
13763
|
+
* If SubscriptionFrequency is Day the minimum interval is 7
|
|
13764
|
+
*/
|
|
13765
|
+
interval?: number | null;
|
|
13766
|
+
/** Whether subscription is renewed automatically at the end of each period. */
|
|
13767
|
+
autoRenewal?: boolean;
|
|
13768
|
+
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
13769
|
+
billingCycles?: number | null;
|
|
13770
|
+
}
|
|
13743
13771
|
/** Frequency unit of recurring payment */
|
|
13744
13772
|
declare enum SubscriptionFrequency$9 {
|
|
13745
13773
|
UNDEFINED = "UNDEFINED",
|
|
@@ -13748,6 +13776,22 @@ declare enum SubscriptionFrequency$9 {
|
|
|
13748
13776
|
MONTH = "MONTH",
|
|
13749
13777
|
YEAR = "YEAR"
|
|
13750
13778
|
}
|
|
13779
|
+
interface Title$1 {
|
|
13780
|
+
/** Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
13781
|
+
original?: string;
|
|
13782
|
+
/**
|
|
13783
|
+
* Subscription option name translated into the buyer's language.
|
|
13784
|
+
*
|
|
13785
|
+
* Default: Same as `original`.
|
|
13786
|
+
*/
|
|
13787
|
+
translated?: string | null;
|
|
13788
|
+
}
|
|
13789
|
+
interface Description$1 {
|
|
13790
|
+
/** Subscription option description. */
|
|
13791
|
+
original?: string;
|
|
13792
|
+
/** Translated subscription option description. */
|
|
13793
|
+
translated?: string | null;
|
|
13794
|
+
}
|
|
13751
13795
|
declare enum FileType$3 {
|
|
13752
13796
|
UNSPECIFIED = "UNSPECIFIED",
|
|
13753
13797
|
SECURE_PICTURE = "SECURE_PICTURE",
|
|
@@ -15649,6 +15693,11 @@ interface LineItem$2 {
|
|
|
15649
15693
|
* @readonly
|
|
15650
15694
|
*/
|
|
15651
15695
|
itemType?: ItemType$8;
|
|
15696
|
+
/**
|
|
15697
|
+
* Subscription option information.
|
|
15698
|
+
* @readonly
|
|
15699
|
+
*/
|
|
15700
|
+
subscriptionOptionInfo?: SubscriptionOptionInfo;
|
|
15652
15701
|
/**
|
|
15653
15702
|
* Type of selected payment option for current item. Defaults to `"FULL_PAYMENT_ONLINE"`.
|
|
15654
15703
|
* + `"FULL_PAYMENT_ONLINE"`: The entire payment for this item happens as part of the checkout.
|
|
@@ -15899,6 +15948,29 @@ declare enum ItemTypeItemType$8 {
|
|
|
15899
15948
|
GIFT_CARD = "GIFT_CARD",
|
|
15900
15949
|
SERVICE = "SERVICE"
|
|
15901
15950
|
}
|
|
15951
|
+
interface SubscriptionOptionInfo {
|
|
15952
|
+
/** Subscription option settings. */
|
|
15953
|
+
subscriptionSettings?: SubscriptionSettings$6;
|
|
15954
|
+
/** Subscription option title. */
|
|
15955
|
+
title?: Title;
|
|
15956
|
+
/** Subscription option description. */
|
|
15957
|
+
description?: Description;
|
|
15958
|
+
}
|
|
15959
|
+
interface SubscriptionSettings$6 {
|
|
15960
|
+
/** Frequency of recurring payment. */
|
|
15961
|
+
frequency?: SubscriptionFrequency$8;
|
|
15962
|
+
/**
|
|
15963
|
+
* Interval of recurring payment.
|
|
15964
|
+
*
|
|
15965
|
+
* Default: `1`.
|
|
15966
|
+
* If SubscriptionFrequency is Day the minimum interval is 7
|
|
15967
|
+
*/
|
|
15968
|
+
interval?: number | null;
|
|
15969
|
+
/** Whether subscription is renewed automatically at the end of each period. */
|
|
15970
|
+
autoRenewal?: boolean;
|
|
15971
|
+
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
15972
|
+
billingCycles?: number | null;
|
|
15973
|
+
}
|
|
15902
15974
|
/** Frequency unit of recurring payment */
|
|
15903
15975
|
declare enum SubscriptionFrequency$8 {
|
|
15904
15976
|
UNDEFINED = "UNDEFINED",
|
|
@@ -15907,6 +15979,22 @@ declare enum SubscriptionFrequency$8 {
|
|
|
15907
15979
|
MONTH = "MONTH",
|
|
15908
15980
|
YEAR = "YEAR"
|
|
15909
15981
|
}
|
|
15982
|
+
interface Title {
|
|
15983
|
+
/** Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
15984
|
+
original?: string;
|
|
15985
|
+
/**
|
|
15986
|
+
* Subscription option name translated into the buyer's language.
|
|
15987
|
+
*
|
|
15988
|
+
* Default: Same as `original`.
|
|
15989
|
+
*/
|
|
15990
|
+
translated?: string | null;
|
|
15991
|
+
}
|
|
15992
|
+
interface Description {
|
|
15993
|
+
/** Subscription option description. */
|
|
15994
|
+
original?: string;
|
|
15995
|
+
/** Translated subscription option description. */
|
|
15996
|
+
translated?: string | null;
|
|
15997
|
+
}
|
|
15910
15998
|
declare enum FileType$2 {
|
|
15911
15999
|
UNSPECIFIED = "UNSPECIFIED",
|
|
15912
16000
|
SECURE_PICTURE = "SECURE_PICTURE",
|
|
@@ -18462,7 +18550,7 @@ interface QueryCheckoutTemplatesRequest$1 {
|
|
|
18462
18550
|
}
|
|
18463
18551
|
interface CursorQuery$b extends CursorQueryPagingMethodOneOf$b {
|
|
18464
18552
|
/** 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`. */
|
|
18465
|
-
cursorPaging?: CursorPaging$
|
|
18553
|
+
cursorPaging?: CursorPaging$h;
|
|
18466
18554
|
/**
|
|
18467
18555
|
* Filter object in the following format:
|
|
18468
18556
|
* `"filter" : {
|
|
@@ -18477,24 +18565,24 @@ interface CursorQuery$b extends CursorQueryPagingMethodOneOf$b {
|
|
|
18477
18565
|
* Sort object in the following format:
|
|
18478
18566
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
18479
18567
|
*/
|
|
18480
|
-
sort?: Sorting$
|
|
18568
|
+
sort?: Sorting$h[];
|
|
18481
18569
|
}
|
|
18482
18570
|
/** @oneof */
|
|
18483
18571
|
interface CursorQueryPagingMethodOneOf$b {
|
|
18484
18572
|
/** 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`. */
|
|
18485
|
-
cursorPaging?: CursorPaging$
|
|
18573
|
+
cursorPaging?: CursorPaging$h;
|
|
18486
18574
|
}
|
|
18487
|
-
interface Sorting$
|
|
18575
|
+
interface Sorting$h {
|
|
18488
18576
|
/** Name of the field to sort by. */
|
|
18489
18577
|
fieldName?: string;
|
|
18490
18578
|
/** Sort order. */
|
|
18491
|
-
order?: SortOrder$
|
|
18579
|
+
order?: SortOrder$h;
|
|
18492
18580
|
}
|
|
18493
|
-
declare enum SortOrder$
|
|
18581
|
+
declare enum SortOrder$h {
|
|
18494
18582
|
ASC = "ASC",
|
|
18495
18583
|
DESC = "DESC"
|
|
18496
18584
|
}
|
|
18497
|
-
interface CursorPaging$
|
|
18585
|
+
interface CursorPaging$h {
|
|
18498
18586
|
/** Number of items to load. */
|
|
18499
18587
|
limit?: number | null;
|
|
18500
18588
|
/**
|
|
@@ -18510,13 +18598,13 @@ interface QueryCheckoutTemplatesResponse$1 {
|
|
|
18510
18598
|
/** Retrieved checkout templates. */
|
|
18511
18599
|
checkoutTemplates?: CheckoutTemplate$1[];
|
|
18512
18600
|
/** Paging metadata. */
|
|
18513
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
18601
|
+
pagingMetadata?: CursorPagingMetadata$h;
|
|
18514
18602
|
}
|
|
18515
|
-
interface CursorPagingMetadata$
|
|
18603
|
+
interface CursorPagingMetadata$h {
|
|
18516
18604
|
/** Number of items returned in the response. */
|
|
18517
18605
|
count?: number | null;
|
|
18518
18606
|
/** Offset that was requested. */
|
|
18519
|
-
cursors?: Cursors$
|
|
18607
|
+
cursors?: Cursors$h;
|
|
18520
18608
|
/**
|
|
18521
18609
|
* Indicates if there are more results after the current page.
|
|
18522
18610
|
* If `true`, another page of results can be retrieved.
|
|
@@ -18524,7 +18612,7 @@ interface CursorPagingMetadata$f {
|
|
|
18524
18612
|
*/
|
|
18525
18613
|
hasNext?: boolean | null;
|
|
18526
18614
|
}
|
|
18527
|
-
interface Cursors$
|
|
18615
|
+
interface Cursors$h {
|
|
18528
18616
|
/** Cursor pointing to next page in the list of results. */
|
|
18529
18617
|
next?: string | null;
|
|
18530
18618
|
/** Cursor pointing to previous page in the list of results. */
|
|
@@ -19125,7 +19213,7 @@ interface QueryCheckoutTemplatesRequest {
|
|
|
19125
19213
|
}
|
|
19126
19214
|
interface CursorQuery$a extends CursorQueryPagingMethodOneOf$a {
|
|
19127
19215
|
/** 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`. */
|
|
19128
|
-
cursorPaging?: CursorPaging$
|
|
19216
|
+
cursorPaging?: CursorPaging$g;
|
|
19129
19217
|
/**
|
|
19130
19218
|
* Filter object in the following format:
|
|
19131
19219
|
* `"filter" : {
|
|
@@ -19140,24 +19228,24 @@ interface CursorQuery$a extends CursorQueryPagingMethodOneOf$a {
|
|
|
19140
19228
|
* Sort object in the following format:
|
|
19141
19229
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
19142
19230
|
*/
|
|
19143
|
-
sort?: Sorting$
|
|
19231
|
+
sort?: Sorting$g[];
|
|
19144
19232
|
}
|
|
19145
19233
|
/** @oneof */
|
|
19146
19234
|
interface CursorQueryPagingMethodOneOf$a {
|
|
19147
19235
|
/** 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`. */
|
|
19148
|
-
cursorPaging?: CursorPaging$
|
|
19236
|
+
cursorPaging?: CursorPaging$g;
|
|
19149
19237
|
}
|
|
19150
|
-
interface Sorting$
|
|
19238
|
+
interface Sorting$g {
|
|
19151
19239
|
/** Name of the field to sort by. */
|
|
19152
19240
|
fieldName?: string;
|
|
19153
19241
|
/** Sort order. */
|
|
19154
|
-
order?: SortOrder$
|
|
19242
|
+
order?: SortOrder$g;
|
|
19155
19243
|
}
|
|
19156
|
-
declare enum SortOrder$
|
|
19244
|
+
declare enum SortOrder$g {
|
|
19157
19245
|
ASC = "ASC",
|
|
19158
19246
|
DESC = "DESC"
|
|
19159
19247
|
}
|
|
19160
|
-
interface CursorPaging$
|
|
19248
|
+
interface CursorPaging$g {
|
|
19161
19249
|
/** Number of items to load. */
|
|
19162
19250
|
limit?: number | null;
|
|
19163
19251
|
/**
|
|
@@ -19173,13 +19261,13 @@ interface QueryCheckoutTemplatesResponse {
|
|
|
19173
19261
|
/** Retrieved checkout templates. */
|
|
19174
19262
|
checkoutTemplates?: CheckoutTemplate[];
|
|
19175
19263
|
/** Paging metadata. */
|
|
19176
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
19264
|
+
pagingMetadata?: CursorPagingMetadata$g;
|
|
19177
19265
|
}
|
|
19178
|
-
interface CursorPagingMetadata$
|
|
19266
|
+
interface CursorPagingMetadata$g {
|
|
19179
19267
|
/** Number of items returned in the response. */
|
|
19180
19268
|
count?: number | null;
|
|
19181
19269
|
/** Offset that was requested. */
|
|
19182
|
-
cursors?: Cursors$
|
|
19270
|
+
cursors?: Cursors$g;
|
|
19183
19271
|
/**
|
|
19184
19272
|
* Indicates if there are more results after the current page.
|
|
19185
19273
|
* If `true`, another page of results can be retrieved.
|
|
@@ -19187,7 +19275,7 @@ interface CursorPagingMetadata$e {
|
|
|
19187
19275
|
*/
|
|
19188
19276
|
hasNext?: boolean | null;
|
|
19189
19277
|
}
|
|
19190
|
-
interface Cursors$
|
|
19278
|
+
interface Cursors$g {
|
|
19191
19279
|
/** Cursor pointing to next page in the list of results. */
|
|
19192
19280
|
next?: string | null;
|
|
19193
19281
|
/** Cursor pointing to previous page in the list of results. */
|
|
@@ -19542,7 +19630,7 @@ interface QueryDeliveryProfilesRequest$1 {
|
|
|
19542
19630
|
}
|
|
19543
19631
|
interface CursorQuery$9 extends CursorQueryPagingMethodOneOf$9 {
|
|
19544
19632
|
/** 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`. */
|
|
19545
|
-
cursorPaging?: CursorPaging$
|
|
19633
|
+
cursorPaging?: CursorPaging$f;
|
|
19546
19634
|
/**
|
|
19547
19635
|
* Filter object in the following format:
|
|
19548
19636
|
* `"filter" : {
|
|
@@ -19556,24 +19644,24 @@ interface CursorQuery$9 extends CursorQueryPagingMethodOneOf$9 {
|
|
|
19556
19644
|
* Sort object in the following format:
|
|
19557
19645
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
19558
19646
|
*/
|
|
19559
|
-
sort?: Sorting$
|
|
19647
|
+
sort?: Sorting$f[];
|
|
19560
19648
|
}
|
|
19561
19649
|
/** @oneof */
|
|
19562
19650
|
interface CursorQueryPagingMethodOneOf$9 {
|
|
19563
19651
|
/** 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`. */
|
|
19564
|
-
cursorPaging?: CursorPaging$
|
|
19652
|
+
cursorPaging?: CursorPaging$f;
|
|
19565
19653
|
}
|
|
19566
|
-
interface Sorting$
|
|
19654
|
+
interface Sorting$f {
|
|
19567
19655
|
/** Name of the field to sort by. */
|
|
19568
19656
|
fieldName?: string;
|
|
19569
19657
|
/** Sort order. */
|
|
19570
|
-
order?: SortOrder$
|
|
19658
|
+
order?: SortOrder$f;
|
|
19571
19659
|
}
|
|
19572
|
-
declare enum SortOrder$
|
|
19660
|
+
declare enum SortOrder$f {
|
|
19573
19661
|
ASC = "ASC",
|
|
19574
19662
|
DESC = "DESC"
|
|
19575
19663
|
}
|
|
19576
|
-
interface CursorPaging$
|
|
19664
|
+
interface CursorPaging$f {
|
|
19577
19665
|
/** Maximum number of items to return in the results. */
|
|
19578
19666
|
limit?: number | null;
|
|
19579
19667
|
/**
|
|
@@ -19588,13 +19676,13 @@ interface QueryDeliveryProfilesResponse$1 {
|
|
|
19588
19676
|
/** List of DeliveryProfiles. */
|
|
19589
19677
|
deliveryProfiles?: DeliveryProfile$1[];
|
|
19590
19678
|
/** Paging metadata */
|
|
19591
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
19679
|
+
pagingMetadata?: CursorPagingMetadata$f;
|
|
19592
19680
|
}
|
|
19593
|
-
interface CursorPagingMetadata$
|
|
19681
|
+
interface CursorPagingMetadata$f {
|
|
19594
19682
|
/** Number of items returned in the response. */
|
|
19595
19683
|
count?: number | null;
|
|
19596
19684
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
19597
|
-
cursors?: Cursors$
|
|
19685
|
+
cursors?: Cursors$f;
|
|
19598
19686
|
/**
|
|
19599
19687
|
* Whether there are more pages to retrieve following the current page.
|
|
19600
19688
|
*
|
|
@@ -19603,13 +19691,13 @@ interface CursorPagingMetadata$d {
|
|
|
19603
19691
|
*/
|
|
19604
19692
|
hasNext?: boolean | null;
|
|
19605
19693
|
}
|
|
19606
|
-
interface Cursors$
|
|
19694
|
+
interface Cursors$f {
|
|
19607
19695
|
/** Cursor string pointing to the next page in the list of results. */
|
|
19608
19696
|
next?: string | null;
|
|
19609
19697
|
/** Cursor pointing to the previous page in the list of results. */
|
|
19610
19698
|
prev?: string | null;
|
|
19611
19699
|
}
|
|
19612
|
-
interface AddDeliveryRegionRequest$
|
|
19700
|
+
interface AddDeliveryRegionRequest$5 {
|
|
19613
19701
|
/** delivery profile id to associated with the DeliveryRegion */
|
|
19614
19702
|
deliveryProfileId: string;
|
|
19615
19703
|
/** DeliveryRegion to be created */
|
|
@@ -19620,7 +19708,7 @@ interface AddDeliveryRegionRequest$3 {
|
|
|
19620
19708
|
*/
|
|
19621
19709
|
revision?: string | null;
|
|
19622
19710
|
}
|
|
19623
|
-
interface AddDeliveryRegionResponse$
|
|
19711
|
+
interface AddDeliveryRegionResponse$5 {
|
|
19624
19712
|
/** The updated DeliveryProfile with the new DeliveryRegion */
|
|
19625
19713
|
deliveryProfile?: DeliveryProfile$1;
|
|
19626
19714
|
}
|
|
@@ -19639,7 +19727,7 @@ interface UpdateDeliveryRegionResponse$1 {
|
|
|
19639
19727
|
/** The updated DeliveryProfile with the updated DeliveryRegion */
|
|
19640
19728
|
deliveryProfile?: DeliveryProfile$1;
|
|
19641
19729
|
}
|
|
19642
|
-
interface RemoveDeliveryRegionRequest$
|
|
19730
|
+
interface RemoveDeliveryRegionRequest$5 {
|
|
19643
19731
|
/** DeliveryProfile id that owns the DeliveryRegion */
|
|
19644
19732
|
deliveryProfileId: string;
|
|
19645
19733
|
/** Id of the DeliveryRegion to delete */
|
|
@@ -19650,7 +19738,7 @@ interface RemoveDeliveryRegionRequest$3 {
|
|
|
19650
19738
|
*/
|
|
19651
19739
|
revision?: string | null;
|
|
19652
19740
|
}
|
|
19653
|
-
interface RemoveDeliveryRegionResponse$
|
|
19741
|
+
interface RemoveDeliveryRegionResponse$5 {
|
|
19654
19742
|
/** The updated DeliveryProfile without DeliveryRegion */
|
|
19655
19743
|
deliveryProfile?: DeliveryProfile$1;
|
|
19656
19744
|
}
|
|
@@ -19824,13 +19912,13 @@ interface UpdateDeliveryProfileResponseNonNullableFields$1 {
|
|
|
19824
19912
|
interface QueryDeliveryProfilesResponseNonNullableFields$1 {
|
|
19825
19913
|
deliveryProfiles: DeliveryProfileNonNullableFields$1[];
|
|
19826
19914
|
}
|
|
19827
|
-
interface AddDeliveryRegionResponseNonNullableFields$
|
|
19915
|
+
interface AddDeliveryRegionResponseNonNullableFields$5 {
|
|
19828
19916
|
deliveryProfile?: DeliveryProfileNonNullableFields$1;
|
|
19829
19917
|
}
|
|
19830
19918
|
interface UpdateDeliveryRegionResponseNonNullableFields$1 {
|
|
19831
19919
|
deliveryProfile?: DeliveryProfileNonNullableFields$1;
|
|
19832
19920
|
}
|
|
19833
|
-
interface RemoveDeliveryRegionResponseNonNullableFields$
|
|
19921
|
+
interface RemoveDeliveryRegionResponseNonNullableFields$5 {
|
|
19834
19922
|
deliveryProfile?: DeliveryProfileNonNullableFields$1;
|
|
19835
19923
|
}
|
|
19836
19924
|
interface AddDeliveryCarrierResponseNonNullableFields$1 {
|
|
@@ -20039,7 +20127,7 @@ interface QueryDeliveryProfilesRequest {
|
|
|
20039
20127
|
}
|
|
20040
20128
|
interface CursorQuery$8 extends CursorQueryPagingMethodOneOf$8 {
|
|
20041
20129
|
/** 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`. */
|
|
20042
|
-
cursorPaging?: CursorPaging$
|
|
20130
|
+
cursorPaging?: CursorPaging$e;
|
|
20043
20131
|
/**
|
|
20044
20132
|
* Filter object in the following format:
|
|
20045
20133
|
* `"filter" : {
|
|
@@ -20053,24 +20141,24 @@ interface CursorQuery$8 extends CursorQueryPagingMethodOneOf$8 {
|
|
|
20053
20141
|
* Sort object in the following format:
|
|
20054
20142
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
20055
20143
|
*/
|
|
20056
|
-
sort?: Sorting$
|
|
20144
|
+
sort?: Sorting$e[];
|
|
20057
20145
|
}
|
|
20058
20146
|
/** @oneof */
|
|
20059
20147
|
interface CursorQueryPagingMethodOneOf$8 {
|
|
20060
20148
|
/** 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`. */
|
|
20061
|
-
cursorPaging?: CursorPaging$
|
|
20149
|
+
cursorPaging?: CursorPaging$e;
|
|
20062
20150
|
}
|
|
20063
|
-
interface Sorting$
|
|
20151
|
+
interface Sorting$e {
|
|
20064
20152
|
/** Name of the field to sort by. */
|
|
20065
20153
|
fieldName?: string;
|
|
20066
20154
|
/** Sort order. */
|
|
20067
|
-
order?: SortOrder$
|
|
20155
|
+
order?: SortOrder$e;
|
|
20068
20156
|
}
|
|
20069
|
-
declare enum SortOrder$
|
|
20157
|
+
declare enum SortOrder$e {
|
|
20070
20158
|
ASC = "ASC",
|
|
20071
20159
|
DESC = "DESC"
|
|
20072
20160
|
}
|
|
20073
|
-
interface CursorPaging$
|
|
20161
|
+
interface CursorPaging$e {
|
|
20074
20162
|
/** Maximum number of items to return in the results. */
|
|
20075
20163
|
limit?: number | null;
|
|
20076
20164
|
/**
|
|
@@ -20085,13 +20173,13 @@ interface QueryDeliveryProfilesResponse {
|
|
|
20085
20173
|
/** List of DeliveryProfiles. */
|
|
20086
20174
|
deliveryProfiles?: DeliveryProfile[];
|
|
20087
20175
|
/** Paging metadata */
|
|
20088
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
20176
|
+
pagingMetadata?: CursorPagingMetadata$e;
|
|
20089
20177
|
}
|
|
20090
|
-
interface CursorPagingMetadata$
|
|
20178
|
+
interface CursorPagingMetadata$e {
|
|
20091
20179
|
/** Number of items returned in the response. */
|
|
20092
20180
|
count?: number | null;
|
|
20093
20181
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
20094
|
-
cursors?: Cursors$
|
|
20182
|
+
cursors?: Cursors$e;
|
|
20095
20183
|
/**
|
|
20096
20184
|
* Whether there are more pages to retrieve following the current page.
|
|
20097
20185
|
*
|
|
@@ -20100,13 +20188,13 @@ interface CursorPagingMetadata$c {
|
|
|
20100
20188
|
*/
|
|
20101
20189
|
hasNext?: boolean | null;
|
|
20102
20190
|
}
|
|
20103
|
-
interface Cursors$
|
|
20191
|
+
interface Cursors$e {
|
|
20104
20192
|
/** Cursor string pointing to the next page in the list of results. */
|
|
20105
20193
|
next?: string | null;
|
|
20106
20194
|
/** Cursor pointing to the previous page in the list of results. */
|
|
20107
20195
|
prev?: string | null;
|
|
20108
20196
|
}
|
|
20109
|
-
interface AddDeliveryRegionRequest$
|
|
20197
|
+
interface AddDeliveryRegionRequest$4 {
|
|
20110
20198
|
/** delivery profile id to associated with the DeliveryRegion */
|
|
20111
20199
|
deliveryProfileId: string;
|
|
20112
20200
|
/** DeliveryRegion to be created */
|
|
@@ -20117,7 +20205,7 @@ interface AddDeliveryRegionRequest$2 {
|
|
|
20117
20205
|
*/
|
|
20118
20206
|
revision?: string | null;
|
|
20119
20207
|
}
|
|
20120
|
-
interface AddDeliveryRegionResponse$
|
|
20208
|
+
interface AddDeliveryRegionResponse$4 {
|
|
20121
20209
|
/** The updated DeliveryProfile with the new DeliveryRegion */
|
|
20122
20210
|
deliveryProfile?: DeliveryProfile;
|
|
20123
20211
|
}
|
|
@@ -20136,7 +20224,7 @@ interface UpdateDeliveryRegionResponse {
|
|
|
20136
20224
|
/** The updated DeliveryProfile with the updated DeliveryRegion */
|
|
20137
20225
|
deliveryProfile?: DeliveryProfile;
|
|
20138
20226
|
}
|
|
20139
|
-
interface RemoveDeliveryRegionRequest$
|
|
20227
|
+
interface RemoveDeliveryRegionRequest$4 {
|
|
20140
20228
|
/** DeliveryProfile id that owns the DeliveryRegion */
|
|
20141
20229
|
deliveryProfileId: string;
|
|
20142
20230
|
/** Id of the DeliveryRegion to delete */
|
|
@@ -20147,7 +20235,7 @@ interface RemoveDeliveryRegionRequest$2 {
|
|
|
20147
20235
|
*/
|
|
20148
20236
|
revision?: string | null;
|
|
20149
20237
|
}
|
|
20150
|
-
interface RemoveDeliveryRegionResponse$
|
|
20238
|
+
interface RemoveDeliveryRegionResponse$4 {
|
|
20151
20239
|
/** The updated DeliveryProfile without DeliveryRegion */
|
|
20152
20240
|
deliveryProfile?: DeliveryProfile;
|
|
20153
20241
|
}
|
|
@@ -20321,13 +20409,13 @@ interface UpdateDeliveryProfileResponseNonNullableFields {
|
|
|
20321
20409
|
interface QueryDeliveryProfilesResponseNonNullableFields {
|
|
20322
20410
|
deliveryProfiles: DeliveryProfileNonNullableFields[];
|
|
20323
20411
|
}
|
|
20324
|
-
interface AddDeliveryRegionResponseNonNullableFields$
|
|
20412
|
+
interface AddDeliveryRegionResponseNonNullableFields$4 {
|
|
20325
20413
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
20326
20414
|
}
|
|
20327
20415
|
interface UpdateDeliveryRegionResponseNonNullableFields {
|
|
20328
20416
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
20329
20417
|
}
|
|
20330
|
-
interface RemoveDeliveryRegionResponseNonNullableFields$
|
|
20418
|
+
interface RemoveDeliveryRegionResponseNonNullableFields$4 {
|
|
20331
20419
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
20332
20420
|
}
|
|
20333
20421
|
interface AddDeliveryCarrierResponseNonNullableFields {
|
|
@@ -20410,17 +20498,17 @@ declare function deleteDeliveryProfile(): __PublicMethodMetaInfo$e<'DELETE', {
|
|
|
20410
20498
|
deliveryProfileId: string;
|
|
20411
20499
|
}, DeleteDeliveryProfileRequest, DeleteDeliveryProfileRequest$1, DeleteDeliveryProfileResponse, DeleteDeliveryProfileResponse$1>;
|
|
20412
20500
|
declare function queryDeliveryProfiles(): __PublicMethodMetaInfo$e<'GET', {}, QueryDeliveryProfilesRequest, QueryDeliveryProfilesRequest$1, QueryDeliveryProfilesResponse & QueryDeliveryProfilesResponseNonNullableFields, QueryDeliveryProfilesResponse$1 & QueryDeliveryProfilesResponseNonNullableFields$1>;
|
|
20413
|
-
declare function addDeliveryRegion$
|
|
20501
|
+
declare function addDeliveryRegion$2(): __PublicMethodMetaInfo$e<'POST', {
|
|
20414
20502
|
deliveryProfileId: string;
|
|
20415
|
-
}, AddDeliveryRegionRequest$
|
|
20503
|
+
}, AddDeliveryRegionRequest$4, AddDeliveryRegionRequest$5, AddDeliveryRegionResponse$4 & AddDeliveryRegionResponseNonNullableFields$4, AddDeliveryRegionResponse$5 & AddDeliveryRegionResponseNonNullableFields$5>;
|
|
20416
20504
|
declare function updateDeliveryRegion(): __PublicMethodMetaInfo$e<'PATCH', {
|
|
20417
20505
|
deliveryProfileId: string;
|
|
20418
20506
|
deliveryRegionId: string;
|
|
20419
20507
|
}, UpdateDeliveryRegionRequest, UpdateDeliveryRegionRequest$1, UpdateDeliveryRegionResponse & UpdateDeliveryRegionResponseNonNullableFields, UpdateDeliveryRegionResponse$1 & UpdateDeliveryRegionResponseNonNullableFields$1>;
|
|
20420
|
-
declare function removeDeliveryRegion$
|
|
20508
|
+
declare function removeDeliveryRegion$2(): __PublicMethodMetaInfo$e<'DELETE', {
|
|
20421
20509
|
deliveryProfileId: string;
|
|
20422
20510
|
deliveryRegionId: string;
|
|
20423
|
-
}, RemoveDeliveryRegionRequest$
|
|
20511
|
+
}, RemoveDeliveryRegionRequest$4, RemoveDeliveryRegionRequest$5, RemoveDeliveryRegionResponse$4 & RemoveDeliveryRegionResponseNonNullableFields$4, RemoveDeliveryRegionResponse$5 & RemoveDeliveryRegionResponseNonNullableFields$5>;
|
|
20424
20512
|
declare function addDeliveryCarrier(): __PublicMethodMetaInfo$e<'POST', {}, AddDeliveryCarrierRequest, AddDeliveryCarrierRequest$1, AddDeliveryCarrierResponse & AddDeliveryCarrierResponseNonNullableFields, AddDeliveryCarrierResponse$1 & AddDeliveryCarrierResponseNonNullableFields$1>;
|
|
20425
20513
|
declare function removeDeliveryCarrier(): __PublicMethodMetaInfo$e<'POST', {}, RemoveDeliveryCarrierRequest, RemoveDeliveryCarrierRequest$1, RemoveDeliveryCarrierResponse & RemoveDeliveryCarrierResponseNonNullableFields, RemoveDeliveryCarrierResponse$1 & RemoveDeliveryCarrierResponseNonNullableFields$1>;
|
|
20426
20514
|
declare function updateDeliveryCarrier(): __PublicMethodMetaInfo$e<'PATCH', {}, UpdateDeliveryCarrierRequest, UpdateDeliveryCarrierRequest$1, UpdateDeliveryCarrierResponse & UpdateDeliveryCarrierResponseNonNullableFields, UpdateDeliveryCarrierResponse$1 & UpdateDeliveryCarrierResponseNonNullableFields$1>;
|
|
@@ -20444,7 +20532,7 @@ declare const meta$e_updateDeliveryCarrier: typeof updateDeliveryCarrier;
|
|
|
20444
20532
|
declare const meta$e_updateDeliveryProfile: typeof updateDeliveryProfile;
|
|
20445
20533
|
declare const meta$e_updateDeliveryRegion: typeof updateDeliveryRegion;
|
|
20446
20534
|
declare namespace meta$e {
|
|
20447
|
-
export { type __PublicMethodMetaInfo$e as __PublicMethodMetaInfo, meta$e_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$
|
|
20535
|
+
export { type __PublicMethodMetaInfo$e as __PublicMethodMetaInfo, meta$e_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$2 as addDeliveryRegion, meta$e_createDeliveryProfile as createDeliveryProfile, meta$e_deleteDeliveryProfile as deleteDeliveryProfile, meta$e_getDeliveryProfile as getDeliveryProfile, meta$e_listDeliveryCarrierDetails as listDeliveryCarrierDetails, meta$e_listDeliveryCarriers as listDeliveryCarriers, meta$e_queryDeliveryProfiles as queryDeliveryProfiles, meta$e_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$2 as removeDeliveryRegion, meta$e_updateDeliveryCarrier as updateDeliveryCarrier, meta$e_updateDeliveryProfile as updateDeliveryProfile, meta$e_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$3 as updateExtendedFields };
|
|
20448
20536
|
}
|
|
20449
20537
|
|
|
20450
20538
|
/** DraftOrder is the main entity of DraftOrders service. It represents a single edit order. */
|
|
@@ -22341,7 +22429,7 @@ interface CursorQuery$7 extends CursorQueryPagingMethodOneOf$7 {
|
|
|
22341
22429
|
*
|
|
22342
22430
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
22343
22431
|
*/
|
|
22344
|
-
cursorPaging?: CursorPaging$
|
|
22432
|
+
cursorPaging?: CursorPaging$d;
|
|
22345
22433
|
/**
|
|
22346
22434
|
* Filter object.
|
|
22347
22435
|
*
|
|
@@ -22353,7 +22441,7 @@ interface CursorQuery$7 extends CursorQueryPagingMethodOneOf$7 {
|
|
|
22353
22441
|
*
|
|
22354
22442
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
22355
22443
|
*/
|
|
22356
|
-
sort?: Sorting$
|
|
22444
|
+
sort?: Sorting$d[];
|
|
22357
22445
|
}
|
|
22358
22446
|
/** @oneof */
|
|
22359
22447
|
interface CursorQueryPagingMethodOneOf$7 {
|
|
@@ -22362,19 +22450,19 @@ interface CursorQueryPagingMethodOneOf$7 {
|
|
|
22362
22450
|
*
|
|
22363
22451
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
22364
22452
|
*/
|
|
22365
|
-
cursorPaging?: CursorPaging$
|
|
22453
|
+
cursorPaging?: CursorPaging$d;
|
|
22366
22454
|
}
|
|
22367
|
-
interface Sorting$
|
|
22455
|
+
interface Sorting$d {
|
|
22368
22456
|
/** Name of the field to sort by. */
|
|
22369
22457
|
fieldName?: string;
|
|
22370
22458
|
/** Sort order. */
|
|
22371
|
-
order?: SortOrder$
|
|
22459
|
+
order?: SortOrder$d;
|
|
22372
22460
|
}
|
|
22373
|
-
declare enum SortOrder$
|
|
22461
|
+
declare enum SortOrder$d {
|
|
22374
22462
|
ASC = "ASC",
|
|
22375
22463
|
DESC = "DESC"
|
|
22376
22464
|
}
|
|
22377
|
-
interface CursorPaging$
|
|
22465
|
+
interface CursorPaging$d {
|
|
22378
22466
|
/** Maximum number of items to return in the results. */
|
|
22379
22467
|
limit?: number | null;
|
|
22380
22468
|
/**
|
|
@@ -22389,13 +22477,13 @@ interface QueryDraftOrdersResponse$1 {
|
|
|
22389
22477
|
/** list of edits per order */
|
|
22390
22478
|
draftOrders?: DraftOrder$1[];
|
|
22391
22479
|
/** Paging metadata. */
|
|
22392
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
22480
|
+
pagingMetadata?: CursorPagingMetadata$d;
|
|
22393
22481
|
}
|
|
22394
|
-
interface CursorPagingMetadata$
|
|
22482
|
+
interface CursorPagingMetadata$d {
|
|
22395
22483
|
/** Number of items returned in current page. */
|
|
22396
22484
|
count?: number | null;
|
|
22397
22485
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
22398
|
-
cursors?: Cursors$
|
|
22486
|
+
cursors?: Cursors$d;
|
|
22399
22487
|
/**
|
|
22400
22488
|
* Whether there are more pages to retrieve following the current page.
|
|
22401
22489
|
*
|
|
@@ -22404,7 +22492,7 @@ interface CursorPagingMetadata$b {
|
|
|
22404
22492
|
*/
|
|
22405
22493
|
hasNext?: boolean | null;
|
|
22406
22494
|
}
|
|
22407
|
-
interface Cursors$
|
|
22495
|
+
interface Cursors$d {
|
|
22408
22496
|
/** Cursor string pointing to the next page in the list of results. */
|
|
22409
22497
|
next?: string | null;
|
|
22410
22498
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -24910,7 +24998,7 @@ interface CursorQuery$6 extends CursorQueryPagingMethodOneOf$6 {
|
|
|
24910
24998
|
*
|
|
24911
24999
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
24912
25000
|
*/
|
|
24913
|
-
cursorPaging?: CursorPaging$
|
|
25001
|
+
cursorPaging?: CursorPaging$c;
|
|
24914
25002
|
/**
|
|
24915
25003
|
* Filter object.
|
|
24916
25004
|
*
|
|
@@ -24922,7 +25010,7 @@ interface CursorQuery$6 extends CursorQueryPagingMethodOneOf$6 {
|
|
|
24922
25010
|
*
|
|
24923
25011
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
24924
25012
|
*/
|
|
24925
|
-
sort?: Sorting$
|
|
25013
|
+
sort?: Sorting$c[];
|
|
24926
25014
|
}
|
|
24927
25015
|
/** @oneof */
|
|
24928
25016
|
interface CursorQueryPagingMethodOneOf$6 {
|
|
@@ -24931,19 +25019,19 @@ interface CursorQueryPagingMethodOneOf$6 {
|
|
|
24931
25019
|
*
|
|
24932
25020
|
* Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
|
|
24933
25021
|
*/
|
|
24934
|
-
cursorPaging?: CursorPaging$
|
|
25022
|
+
cursorPaging?: CursorPaging$c;
|
|
24935
25023
|
}
|
|
24936
|
-
interface Sorting$
|
|
25024
|
+
interface Sorting$c {
|
|
24937
25025
|
/** Name of the field to sort by. */
|
|
24938
25026
|
fieldName?: string;
|
|
24939
25027
|
/** Sort order. */
|
|
24940
|
-
order?: SortOrder$
|
|
25028
|
+
order?: SortOrder$c;
|
|
24941
25029
|
}
|
|
24942
|
-
declare enum SortOrder$
|
|
25030
|
+
declare enum SortOrder$c {
|
|
24943
25031
|
ASC = "ASC",
|
|
24944
25032
|
DESC = "DESC"
|
|
24945
25033
|
}
|
|
24946
|
-
interface CursorPaging$
|
|
25034
|
+
interface CursorPaging$c {
|
|
24947
25035
|
/** Maximum number of items to return in the results. */
|
|
24948
25036
|
limit?: number | null;
|
|
24949
25037
|
/**
|
|
@@ -24958,13 +25046,13 @@ interface QueryDraftOrdersResponse {
|
|
|
24958
25046
|
/** list of edits per order */
|
|
24959
25047
|
draftOrders?: DraftOrder[];
|
|
24960
25048
|
/** Paging metadata. */
|
|
24961
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
25049
|
+
pagingMetadata?: CursorPagingMetadata$c;
|
|
24962
25050
|
}
|
|
24963
|
-
interface CursorPagingMetadata$
|
|
25051
|
+
interface CursorPagingMetadata$c {
|
|
24964
25052
|
/** Number of items returned in current page. */
|
|
24965
25053
|
count?: number | null;
|
|
24966
25054
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
24967
|
-
cursors?: Cursors$
|
|
25055
|
+
cursors?: Cursors$c;
|
|
24968
25056
|
/**
|
|
24969
25057
|
* Whether there are more pages to retrieve following the current page.
|
|
24970
25058
|
*
|
|
@@ -24973,7 +25061,7 @@ interface CursorPagingMetadata$a {
|
|
|
24973
25061
|
*/
|
|
24974
25062
|
hasNext?: boolean | null;
|
|
24975
25063
|
}
|
|
24976
|
-
interface Cursors$
|
|
25064
|
+
interface Cursors$c {
|
|
24977
25065
|
/** Cursor string pointing to the next page in the list of results. */
|
|
24978
25066
|
next?: string | null;
|
|
24979
25067
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -26406,15 +26494,21 @@ interface LocalDeliveryOption$1 extends LocalDeliveryOptionConfigOneOf$1 {
|
|
|
26406
26494
|
customAreaConfig?: CustomAreaConfig$1;
|
|
26407
26495
|
/** LocalDeliveryOptionId - unique identifier of local delivery option */
|
|
26408
26496
|
id?: string | null;
|
|
26409
|
-
/**
|
|
26410
|
-
externalId?: string | null;
|
|
26411
|
-
/** Name of Local Delivery Option */
|
|
26497
|
+
/** Area name of Local Delivery Option */
|
|
26412
26498
|
areaName?: string | null;
|
|
26413
|
-
/**
|
|
26499
|
+
/**
|
|
26500
|
+
* Flat price of local delivery
|
|
26501
|
+
* @deprecated Flat price of local delivery
|
|
26502
|
+
* @targetRemovalDate 2025-01-12
|
|
26503
|
+
*/
|
|
26414
26504
|
rate?: string | null;
|
|
26415
26505
|
/** Estimated delivery time description text */
|
|
26416
26506
|
estimatedDeliveryTime?: string | null;
|
|
26417
|
-
/**
|
|
26507
|
+
/**
|
|
26508
|
+
* Minimum order total to be eligible for free delivery
|
|
26509
|
+
* @deprecated Minimum order total to be eligible for free delivery
|
|
26510
|
+
* @targetRemovalDate 2025-01-12
|
|
26511
|
+
*/
|
|
26418
26512
|
minimumFreeDeliveryOrderAmount?: number | null;
|
|
26419
26513
|
/** List of countries with subdivisions */
|
|
26420
26514
|
destinations?: Destination$1[];
|
|
@@ -26431,6 +26525,13 @@ interface LocalDeliveryOption$1 extends LocalDeliveryOptionConfigOneOf$1 {
|
|
|
26431
26525
|
* @readonly
|
|
26432
26526
|
*/
|
|
26433
26527
|
createdDate?: Date | null;
|
|
26528
|
+
/**
|
|
26529
|
+
* Date and time the LocalDeliveryOption was last updated.
|
|
26530
|
+
* @readonly
|
|
26531
|
+
*/
|
|
26532
|
+
updatedDate?: Date | null;
|
|
26533
|
+
/** This local delivery is active for the following delivery regions. */
|
|
26534
|
+
deliveryRegionIds?: string[];
|
|
26434
26535
|
}
|
|
26435
26536
|
/** @oneof */
|
|
26436
26537
|
interface LocalDeliveryOptionConfigOneOf$1 {
|
|
@@ -26595,7 +26696,12 @@ interface CreateLocalDeliveryOptionResponse$1 {
|
|
|
26595
26696
|
localDeliveryOption?: LocalDeliveryOption$1;
|
|
26596
26697
|
}
|
|
26597
26698
|
interface GetLocalDeliveryOptionRequest$1 {
|
|
26598
|
-
|
|
26699
|
+
/**
|
|
26700
|
+
* @deprecated
|
|
26701
|
+
* @targetRemovalDate 2025-01-12
|
|
26702
|
+
*/
|
|
26703
|
+
id?: string;
|
|
26704
|
+
localDeliveryOptionId: string;
|
|
26599
26705
|
}
|
|
26600
26706
|
interface GetLocalDeliveryOptionResponse$1 {
|
|
26601
26707
|
localDeliveryOption?: LocalDeliveryOption$1;
|
|
@@ -26606,6 +26712,91 @@ interface ListLocalDeliveryOptionsRequest$1 {
|
|
|
26606
26712
|
interface ListLocalDeliveryOptionsResponse$1 {
|
|
26607
26713
|
localDeliveryOptions?: LocalDeliveryOption$1[];
|
|
26608
26714
|
}
|
|
26715
|
+
interface QueryLocalDeliveryOptionsRequest$1 {
|
|
26716
|
+
/** WQL expression */
|
|
26717
|
+
query: QueryV2$3;
|
|
26718
|
+
}
|
|
26719
|
+
interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
|
|
26720
|
+
/** Paging options to limit and skip the number of items. */
|
|
26721
|
+
paging?: Paging$3;
|
|
26722
|
+
/** 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`. */
|
|
26723
|
+
cursorPaging?: CursorPaging$b;
|
|
26724
|
+
/**
|
|
26725
|
+
* Filter object.
|
|
26726
|
+
*
|
|
26727
|
+
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
26728
|
+
*/
|
|
26729
|
+
filter?: Record<string, any> | null;
|
|
26730
|
+
/**
|
|
26731
|
+
* Sort object.
|
|
26732
|
+
*
|
|
26733
|
+
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
26734
|
+
*/
|
|
26735
|
+
sort?: Sorting$b[];
|
|
26736
|
+
/** 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. */
|
|
26737
|
+
fields?: string[];
|
|
26738
|
+
/** 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. */
|
|
26739
|
+
fieldsets?: string[];
|
|
26740
|
+
}
|
|
26741
|
+
/** @oneof */
|
|
26742
|
+
interface QueryV2PagingMethodOneOf$3 {
|
|
26743
|
+
/** Paging options to limit and skip the number of items. */
|
|
26744
|
+
paging?: Paging$3;
|
|
26745
|
+
/** 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`. */
|
|
26746
|
+
cursorPaging?: CursorPaging$b;
|
|
26747
|
+
}
|
|
26748
|
+
interface Sorting$b {
|
|
26749
|
+
/** Name of the field to sort by. */
|
|
26750
|
+
fieldName?: string;
|
|
26751
|
+
/** Sort order. */
|
|
26752
|
+
order?: SortOrder$b;
|
|
26753
|
+
}
|
|
26754
|
+
declare enum SortOrder$b {
|
|
26755
|
+
ASC = "ASC",
|
|
26756
|
+
DESC = "DESC"
|
|
26757
|
+
}
|
|
26758
|
+
interface Paging$3 {
|
|
26759
|
+
/** Number of items to load. */
|
|
26760
|
+
limit?: number | null;
|
|
26761
|
+
/** Number of items to skip in the current sort order. */
|
|
26762
|
+
offset?: number | null;
|
|
26763
|
+
}
|
|
26764
|
+
interface CursorPaging$b {
|
|
26765
|
+
/** Maximum number of items to return in the results. */
|
|
26766
|
+
limit?: number | null;
|
|
26767
|
+
/**
|
|
26768
|
+
* Pointer to the next or previous page in the list of results.
|
|
26769
|
+
*
|
|
26770
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
26771
|
+
* Not relevant for the first request.
|
|
26772
|
+
*/
|
|
26773
|
+
cursor?: string | null;
|
|
26774
|
+
}
|
|
26775
|
+
interface QueryLocalDeliveryOptionsResponse$1 {
|
|
26776
|
+
/** Retrieved local delivery options. */
|
|
26777
|
+
localDeliveryOptions?: LocalDeliveryOption$1[];
|
|
26778
|
+
/** Paging metadata. */
|
|
26779
|
+
pagingMetadata?: CursorPagingMetadata$b;
|
|
26780
|
+
}
|
|
26781
|
+
interface CursorPagingMetadata$b {
|
|
26782
|
+
/** Number of items returned in current page. */
|
|
26783
|
+
count?: number | null;
|
|
26784
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
26785
|
+
cursors?: Cursors$b;
|
|
26786
|
+
/**
|
|
26787
|
+
* Whether there are more pages to retrieve following the current page.
|
|
26788
|
+
*
|
|
26789
|
+
* + `true`: Another page of results can be retrieved.
|
|
26790
|
+
* + `false`: This is the last page.
|
|
26791
|
+
*/
|
|
26792
|
+
hasNext?: boolean | null;
|
|
26793
|
+
}
|
|
26794
|
+
interface Cursors$b {
|
|
26795
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
26796
|
+
next?: string | null;
|
|
26797
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
26798
|
+
prev?: string | null;
|
|
26799
|
+
}
|
|
26609
26800
|
interface UpdateLocalDeliveryOptionRequest$1 {
|
|
26610
26801
|
localDeliveryOption: LocalDeliveryOption$1;
|
|
26611
26802
|
}
|
|
@@ -26613,7 +26804,12 @@ interface UpdateLocalDeliveryOptionResponse$1 {
|
|
|
26613
26804
|
localDeliveryOption?: LocalDeliveryOption$1;
|
|
26614
26805
|
}
|
|
26615
26806
|
interface DeleteLocalDeliveryOptionRequest$1 {
|
|
26616
|
-
|
|
26807
|
+
/**
|
|
26808
|
+
* @deprecated
|
|
26809
|
+
* @targetRemovalDate 2025-01-12
|
|
26810
|
+
*/
|
|
26811
|
+
id?: string;
|
|
26812
|
+
localDeliveryOptionId: string;
|
|
26617
26813
|
}
|
|
26618
26814
|
interface DeleteLocalDeliveryOptionResponse$1 {
|
|
26619
26815
|
}
|
|
@@ -26640,6 +26836,24 @@ interface BulkDeleteLocalDeliveryOptionRequest$1 {
|
|
|
26640
26836
|
}
|
|
26641
26837
|
interface BulkDeleteLocalDeliveryOptionResponse$1 {
|
|
26642
26838
|
}
|
|
26839
|
+
interface AddDeliveryRegionRequest$3 {
|
|
26840
|
+
deliveryRegionId: string;
|
|
26841
|
+
localDeliveryOptionId: string;
|
|
26842
|
+
/** Revision of the PickupLocation */
|
|
26843
|
+
revision?: string | null;
|
|
26844
|
+
}
|
|
26845
|
+
interface AddDeliveryRegionResponse$3 {
|
|
26846
|
+
localDeliveryOption?: LocalDeliveryOption$1;
|
|
26847
|
+
}
|
|
26848
|
+
interface RemoveDeliveryRegionRequest$3 {
|
|
26849
|
+
deliveryRegionId: string;
|
|
26850
|
+
localDeliveryOptionId: string;
|
|
26851
|
+
/** Revision of the PickupLocation */
|
|
26852
|
+
revision?: string | null;
|
|
26853
|
+
}
|
|
26854
|
+
interface RemoveDeliveryRegionResponse$3 {
|
|
26855
|
+
localDeliveryOption?: LocalDeliveryOption$1;
|
|
26856
|
+
}
|
|
26643
26857
|
interface ZipCodeConfigNonNullableFields$1 {
|
|
26644
26858
|
zipCodes: string[];
|
|
26645
26859
|
}
|
|
@@ -26678,6 +26892,7 @@ interface LocalDeliveryOptionNonNullableFields$1 {
|
|
|
26678
26892
|
destinations: DestinationNonNullableFields$1[];
|
|
26679
26893
|
scheduledDeliveryConfig?: ScheduledDeliveryNonNullableFields$1;
|
|
26680
26894
|
rates: ConditionalRatesNonNullableFields$5[];
|
|
26895
|
+
deliveryRegionIds: string[];
|
|
26681
26896
|
}
|
|
26682
26897
|
interface CreateLocalDeliveryOptionResponseNonNullableFields$1 {
|
|
26683
26898
|
localDeliveryOption?: LocalDeliveryOptionNonNullableFields$1;
|
|
@@ -26688,6 +26903,9 @@ interface GetLocalDeliveryOptionResponseNonNullableFields$1 {
|
|
|
26688
26903
|
interface ListLocalDeliveryOptionsResponseNonNullableFields$1 {
|
|
26689
26904
|
localDeliveryOptions: LocalDeliveryOptionNonNullableFields$1[];
|
|
26690
26905
|
}
|
|
26906
|
+
interface QueryLocalDeliveryOptionsResponseNonNullableFields$1 {
|
|
26907
|
+
localDeliveryOptions: LocalDeliveryOptionNonNullableFields$1[];
|
|
26908
|
+
}
|
|
26691
26909
|
interface UpdateLocalDeliveryOptionResponseNonNullableFields$1 {
|
|
26692
26910
|
localDeliveryOption?: LocalDeliveryOptionNonNullableFields$1;
|
|
26693
26911
|
}
|
|
@@ -26703,6 +26921,12 @@ interface BulkUpdateLocalDeliveryOptionResponseNonNullableFields$1 {
|
|
|
26703
26921
|
localDeliveryOptions: LocalDeliveryOptionNonNullableFields$1[];
|
|
26704
26922
|
errors: LocalDeliveryOptionErrorNonNullableFields$1[];
|
|
26705
26923
|
}
|
|
26924
|
+
interface AddDeliveryRegionResponseNonNullableFields$3 {
|
|
26925
|
+
localDeliveryOption?: LocalDeliveryOptionNonNullableFields$1;
|
|
26926
|
+
}
|
|
26927
|
+
interface RemoveDeliveryRegionResponseNonNullableFields$3 {
|
|
26928
|
+
localDeliveryOption?: LocalDeliveryOptionNonNullableFields$1;
|
|
26929
|
+
}
|
|
26706
26930
|
|
|
26707
26931
|
interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {
|
|
26708
26932
|
zipConfig?: ZipCodeConfig;
|
|
@@ -26710,15 +26934,21 @@ interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {
|
|
|
26710
26934
|
customAreaConfig?: CustomAreaConfig;
|
|
26711
26935
|
/** LocalDeliveryOptionId - unique identifier of local delivery option */
|
|
26712
26936
|
_id?: string | null;
|
|
26713
|
-
/**
|
|
26714
|
-
externalId?: string | null;
|
|
26715
|
-
/** Name of Local Delivery Option */
|
|
26937
|
+
/** Area name of Local Delivery Option */
|
|
26716
26938
|
areaName?: string | null;
|
|
26717
|
-
/**
|
|
26939
|
+
/**
|
|
26940
|
+
* Flat price of local delivery
|
|
26941
|
+
* @deprecated Flat price of local delivery
|
|
26942
|
+
* @targetRemovalDate 2025-01-12
|
|
26943
|
+
*/
|
|
26718
26944
|
rate?: string | null;
|
|
26719
26945
|
/** Estimated delivery time description text */
|
|
26720
26946
|
estimatedDeliveryTime?: string | null;
|
|
26721
|
-
/**
|
|
26947
|
+
/**
|
|
26948
|
+
* Minimum order total to be eligible for free delivery
|
|
26949
|
+
* @deprecated Minimum order total to be eligible for free delivery
|
|
26950
|
+
* @targetRemovalDate 2025-01-12
|
|
26951
|
+
*/
|
|
26722
26952
|
minimumFreeDeliveryOrderAmount?: number | null;
|
|
26723
26953
|
/** List of countries with subdivisions */
|
|
26724
26954
|
destinations?: Destination[];
|
|
@@ -26735,6 +26965,13 @@ interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {
|
|
|
26735
26965
|
* @readonly
|
|
26736
26966
|
*/
|
|
26737
26967
|
_createdDate?: Date | null;
|
|
26968
|
+
/**
|
|
26969
|
+
* Date and time the LocalDeliveryOption was last updated.
|
|
26970
|
+
* @readonly
|
|
26971
|
+
*/
|
|
26972
|
+
_updatedDate?: Date | null;
|
|
26973
|
+
/** This local delivery is active for the following delivery regions. */
|
|
26974
|
+
deliveryRegionIds?: string[];
|
|
26738
26975
|
}
|
|
26739
26976
|
/** @oneof */
|
|
26740
26977
|
interface LocalDeliveryOptionConfigOneOf {
|
|
@@ -26899,7 +27136,12 @@ interface CreateLocalDeliveryOptionResponse {
|
|
|
26899
27136
|
localDeliveryOption?: LocalDeliveryOption;
|
|
26900
27137
|
}
|
|
26901
27138
|
interface GetLocalDeliveryOptionRequest {
|
|
26902
|
-
|
|
27139
|
+
/**
|
|
27140
|
+
* @deprecated
|
|
27141
|
+
* @targetRemovalDate 2025-01-12
|
|
27142
|
+
*/
|
|
27143
|
+
_id?: string;
|
|
27144
|
+
localDeliveryOptionId: string;
|
|
26903
27145
|
}
|
|
26904
27146
|
interface GetLocalDeliveryOptionResponse {
|
|
26905
27147
|
localDeliveryOption?: LocalDeliveryOption;
|
|
@@ -26910,6 +27152,91 @@ interface ListLocalDeliveryOptionsRequest {
|
|
|
26910
27152
|
interface ListLocalDeliveryOptionsResponse {
|
|
26911
27153
|
localDeliveryOptions?: LocalDeliveryOption[];
|
|
26912
27154
|
}
|
|
27155
|
+
interface QueryLocalDeliveryOptionsRequest {
|
|
27156
|
+
/** WQL expression */
|
|
27157
|
+
query: QueryV2$2;
|
|
27158
|
+
}
|
|
27159
|
+
interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
|
|
27160
|
+
/** Paging options to limit and skip the number of items. */
|
|
27161
|
+
paging?: Paging$2;
|
|
27162
|
+
/** 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`. */
|
|
27163
|
+
cursorPaging?: CursorPaging$a;
|
|
27164
|
+
/**
|
|
27165
|
+
* Filter object.
|
|
27166
|
+
*
|
|
27167
|
+
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
27168
|
+
*/
|
|
27169
|
+
filter?: Record<string, any> | null;
|
|
27170
|
+
/**
|
|
27171
|
+
* Sort object.
|
|
27172
|
+
*
|
|
27173
|
+
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
27174
|
+
*/
|
|
27175
|
+
sort?: Sorting$a[];
|
|
27176
|
+
/** 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. */
|
|
27177
|
+
fields?: string[];
|
|
27178
|
+
/** 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. */
|
|
27179
|
+
fieldsets?: string[];
|
|
27180
|
+
}
|
|
27181
|
+
/** @oneof */
|
|
27182
|
+
interface QueryV2PagingMethodOneOf$2 {
|
|
27183
|
+
/** Paging options to limit and skip the number of items. */
|
|
27184
|
+
paging?: Paging$2;
|
|
27185
|
+
/** 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`. */
|
|
27186
|
+
cursorPaging?: CursorPaging$a;
|
|
27187
|
+
}
|
|
27188
|
+
interface Sorting$a {
|
|
27189
|
+
/** Name of the field to sort by. */
|
|
27190
|
+
fieldName?: string;
|
|
27191
|
+
/** Sort order. */
|
|
27192
|
+
order?: SortOrder$a;
|
|
27193
|
+
}
|
|
27194
|
+
declare enum SortOrder$a {
|
|
27195
|
+
ASC = "ASC",
|
|
27196
|
+
DESC = "DESC"
|
|
27197
|
+
}
|
|
27198
|
+
interface Paging$2 {
|
|
27199
|
+
/** Number of items to load. */
|
|
27200
|
+
limit?: number | null;
|
|
27201
|
+
/** Number of items to skip in the current sort order. */
|
|
27202
|
+
offset?: number | null;
|
|
27203
|
+
}
|
|
27204
|
+
interface CursorPaging$a {
|
|
27205
|
+
/** Maximum number of items to return in the results. */
|
|
27206
|
+
limit?: number | null;
|
|
27207
|
+
/**
|
|
27208
|
+
* Pointer to the next or previous page in the list of results.
|
|
27209
|
+
*
|
|
27210
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
27211
|
+
* Not relevant for the first request.
|
|
27212
|
+
*/
|
|
27213
|
+
cursor?: string | null;
|
|
27214
|
+
}
|
|
27215
|
+
interface QueryLocalDeliveryOptionsResponse {
|
|
27216
|
+
/** Retrieved local delivery options. */
|
|
27217
|
+
localDeliveryOptions?: LocalDeliveryOption[];
|
|
27218
|
+
/** Paging metadata. */
|
|
27219
|
+
pagingMetadata?: CursorPagingMetadata$a;
|
|
27220
|
+
}
|
|
27221
|
+
interface CursorPagingMetadata$a {
|
|
27222
|
+
/** Number of items returned in current page. */
|
|
27223
|
+
count?: number | null;
|
|
27224
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
27225
|
+
cursors?: Cursors$a;
|
|
27226
|
+
/**
|
|
27227
|
+
* Whether there are more pages to retrieve following the current page.
|
|
27228
|
+
*
|
|
27229
|
+
* + `true`: Another page of results can be retrieved.
|
|
27230
|
+
* + `false`: This is the last page.
|
|
27231
|
+
*/
|
|
27232
|
+
hasNext?: boolean | null;
|
|
27233
|
+
}
|
|
27234
|
+
interface Cursors$a {
|
|
27235
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
27236
|
+
next?: string | null;
|
|
27237
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
27238
|
+
prev?: string | null;
|
|
27239
|
+
}
|
|
26913
27240
|
interface UpdateLocalDeliveryOptionRequest {
|
|
26914
27241
|
localDeliveryOption: LocalDeliveryOption;
|
|
26915
27242
|
}
|
|
@@ -26917,7 +27244,12 @@ interface UpdateLocalDeliveryOptionResponse {
|
|
|
26917
27244
|
localDeliveryOption?: LocalDeliveryOption;
|
|
26918
27245
|
}
|
|
26919
27246
|
interface DeleteLocalDeliveryOptionRequest {
|
|
26920
|
-
|
|
27247
|
+
/**
|
|
27248
|
+
* @deprecated
|
|
27249
|
+
* @targetRemovalDate 2025-01-12
|
|
27250
|
+
*/
|
|
27251
|
+
_id?: string;
|
|
27252
|
+
localDeliveryOptionId: string;
|
|
26921
27253
|
}
|
|
26922
27254
|
interface DeleteLocalDeliveryOptionResponse {
|
|
26923
27255
|
}
|
|
@@ -26944,6 +27276,24 @@ interface BulkDeleteLocalDeliveryOptionRequest {
|
|
|
26944
27276
|
}
|
|
26945
27277
|
interface BulkDeleteLocalDeliveryOptionResponse {
|
|
26946
27278
|
}
|
|
27279
|
+
interface AddDeliveryRegionRequest$2 {
|
|
27280
|
+
deliveryRegionId: string;
|
|
27281
|
+
localDeliveryOptionId: string;
|
|
27282
|
+
/** Revision of the PickupLocation */
|
|
27283
|
+
revision?: string | null;
|
|
27284
|
+
}
|
|
27285
|
+
interface AddDeliveryRegionResponse$2 {
|
|
27286
|
+
localDeliveryOption?: LocalDeliveryOption;
|
|
27287
|
+
}
|
|
27288
|
+
interface RemoveDeliveryRegionRequest$2 {
|
|
27289
|
+
deliveryRegionId: string;
|
|
27290
|
+
localDeliveryOptionId: string;
|
|
27291
|
+
/** Revision of the PickupLocation */
|
|
27292
|
+
revision?: string | null;
|
|
27293
|
+
}
|
|
27294
|
+
interface RemoveDeliveryRegionResponse$2 {
|
|
27295
|
+
localDeliveryOption?: LocalDeliveryOption;
|
|
27296
|
+
}
|
|
26947
27297
|
interface ZipCodeConfigNonNullableFields {
|
|
26948
27298
|
zipCodes: string[];
|
|
26949
27299
|
}
|
|
@@ -26982,6 +27332,7 @@ interface LocalDeliveryOptionNonNullableFields {
|
|
|
26982
27332
|
destinations: DestinationNonNullableFields[];
|
|
26983
27333
|
scheduledDeliveryConfig?: ScheduledDeliveryNonNullableFields;
|
|
26984
27334
|
rates: ConditionalRatesNonNullableFields$4[];
|
|
27335
|
+
deliveryRegionIds: string[];
|
|
26985
27336
|
}
|
|
26986
27337
|
interface CreateLocalDeliveryOptionResponseNonNullableFields {
|
|
26987
27338
|
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
@@ -26992,6 +27343,9 @@ interface GetLocalDeliveryOptionResponseNonNullableFields {
|
|
|
26992
27343
|
interface ListLocalDeliveryOptionsResponseNonNullableFields {
|
|
26993
27344
|
localDeliveryOptions: LocalDeliveryOptionNonNullableFields[];
|
|
26994
27345
|
}
|
|
27346
|
+
interface QueryLocalDeliveryOptionsResponseNonNullableFields {
|
|
27347
|
+
localDeliveryOptions: LocalDeliveryOptionNonNullableFields[];
|
|
27348
|
+
}
|
|
26995
27349
|
interface UpdateLocalDeliveryOptionResponseNonNullableFields {
|
|
26996
27350
|
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
26997
27351
|
}
|
|
@@ -27007,6 +27361,12 @@ interface BulkUpdateLocalDeliveryOptionResponseNonNullableFields {
|
|
|
27007
27361
|
localDeliveryOptions: LocalDeliveryOptionNonNullableFields[];
|
|
27008
27362
|
errors: LocalDeliveryOptionErrorNonNullableFields[];
|
|
27009
27363
|
}
|
|
27364
|
+
interface AddDeliveryRegionResponseNonNullableFields$2 {
|
|
27365
|
+
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
27366
|
+
}
|
|
27367
|
+
interface RemoveDeliveryRegionResponseNonNullableFields$2 {
|
|
27368
|
+
localDeliveryOption?: LocalDeliveryOptionNonNullableFields;
|
|
27369
|
+
}
|
|
27010
27370
|
|
|
27011
27371
|
type __PublicMethodMetaInfo$a<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
27012
27372
|
getUrl: (context: any) => string;
|
|
@@ -27020,18 +27380,21 @@ type __PublicMethodMetaInfo$a<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
27020
27380
|
};
|
|
27021
27381
|
declare function createLocalDeliveryOption(): __PublicMethodMetaInfo$a<'POST', {}, CreateLocalDeliveryOptionRequest, CreateLocalDeliveryOptionRequest$1, CreateLocalDeliveryOptionResponse & CreateLocalDeliveryOptionResponseNonNullableFields, CreateLocalDeliveryOptionResponse$1 & CreateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27022
27382
|
declare function getLocalDeliveryOption(): __PublicMethodMetaInfo$a<'GET', {
|
|
27023
|
-
|
|
27383
|
+
localDeliveryOptionId: string;
|
|
27024
27384
|
}, GetLocalDeliveryOptionRequest, GetLocalDeliveryOptionRequest$1, GetLocalDeliveryOptionResponse & GetLocalDeliveryOptionResponseNonNullableFields, GetLocalDeliveryOptionResponse$1 & GetLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27025
27385
|
declare function listLocalDeliveryOptions(): __PublicMethodMetaInfo$a<'GET', {}, ListLocalDeliveryOptionsRequest, ListLocalDeliveryOptionsRequest$1, ListLocalDeliveryOptionsResponse & ListLocalDeliveryOptionsResponseNonNullableFields, ListLocalDeliveryOptionsResponse$1 & ListLocalDeliveryOptionsResponseNonNullableFields$1>;
|
|
27386
|
+
declare function queryLocalDeliveryOptions(): __PublicMethodMetaInfo$a<'POST', {}, QueryLocalDeliveryOptionsRequest, QueryLocalDeliveryOptionsRequest$1, QueryLocalDeliveryOptionsResponse & QueryLocalDeliveryOptionsResponseNonNullableFields, QueryLocalDeliveryOptionsResponse$1 & QueryLocalDeliveryOptionsResponseNonNullableFields$1>;
|
|
27026
27387
|
declare function updateLocalDeliveryOption(): __PublicMethodMetaInfo$a<'PATCH', {
|
|
27027
27388
|
localDeliveryOptionId: string;
|
|
27028
27389
|
}, UpdateLocalDeliveryOptionRequest, UpdateLocalDeliveryOptionRequest$1, UpdateLocalDeliveryOptionResponse & UpdateLocalDeliveryOptionResponseNonNullableFields, UpdateLocalDeliveryOptionResponse$1 & UpdateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27029
27390
|
declare function deleteLocalDeliveryOption(): __PublicMethodMetaInfo$a<'DELETE', {
|
|
27030
|
-
|
|
27391
|
+
localDeliveryOptionId: string;
|
|
27031
27392
|
}, DeleteLocalDeliveryOptionRequest, DeleteLocalDeliveryOptionRequest$1, DeleteLocalDeliveryOptionResponse, DeleteLocalDeliveryOptionResponse$1>;
|
|
27032
27393
|
declare function bulkCreateLocalDeliveryOption(): __PublicMethodMetaInfo$a<'POST', {}, BulkCreateLocalDeliveryOptionRequest, BulkCreateLocalDeliveryOptionRequest$1, BulkCreateLocalDeliveryOptionResponse & BulkCreateLocalDeliveryOptionResponseNonNullableFields, BulkCreateLocalDeliveryOptionResponse$1 & BulkCreateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27033
27394
|
declare function bulkUpdateLocalDeliveryOption(): __PublicMethodMetaInfo$a<'PATCH', {}, BulkUpdateLocalDeliveryOptionRequest, BulkUpdateLocalDeliveryOptionRequest$1, BulkUpdateLocalDeliveryOptionResponse & BulkUpdateLocalDeliveryOptionResponseNonNullableFields, BulkUpdateLocalDeliveryOptionResponse$1 & BulkUpdateLocalDeliveryOptionResponseNonNullableFields$1>;
|
|
27034
|
-
declare function bulkDeleteLocalDeliveryOption(): __PublicMethodMetaInfo$a<'
|
|
27395
|
+
declare function bulkDeleteLocalDeliveryOption(): __PublicMethodMetaInfo$a<'DELETE', {}, BulkDeleteLocalDeliveryOptionRequest, BulkDeleteLocalDeliveryOptionRequest$1, BulkDeleteLocalDeliveryOptionResponse, BulkDeleteLocalDeliveryOptionResponse$1>;
|
|
27396
|
+
declare function addDeliveryRegion$1(): __PublicMethodMetaInfo$a<'POST', {}, AddDeliveryRegionRequest$2, AddDeliveryRegionRequest$3, AddDeliveryRegionResponse$2 & AddDeliveryRegionResponseNonNullableFields$2, AddDeliveryRegionResponse$3 & AddDeliveryRegionResponseNonNullableFields$3>;
|
|
27397
|
+
declare function removeDeliveryRegion$1(): __PublicMethodMetaInfo$a<'POST', {}, RemoveDeliveryRegionRequest$2, RemoveDeliveryRegionRequest$3, RemoveDeliveryRegionResponse$2 & RemoveDeliveryRegionResponseNonNullableFields$2, RemoveDeliveryRegionResponse$3 & RemoveDeliveryRegionResponseNonNullableFields$3>;
|
|
27035
27398
|
|
|
27036
27399
|
declare const meta$a_bulkCreateLocalDeliveryOption: typeof bulkCreateLocalDeliveryOption;
|
|
27037
27400
|
declare const meta$a_bulkDeleteLocalDeliveryOption: typeof bulkDeleteLocalDeliveryOption;
|
|
@@ -27040,9 +27403,10 @@ declare const meta$a_createLocalDeliveryOption: typeof createLocalDeliveryOption
|
|
|
27040
27403
|
declare const meta$a_deleteLocalDeliveryOption: typeof deleteLocalDeliveryOption;
|
|
27041
27404
|
declare const meta$a_getLocalDeliveryOption: typeof getLocalDeliveryOption;
|
|
27042
27405
|
declare const meta$a_listLocalDeliveryOptions: typeof listLocalDeliveryOptions;
|
|
27406
|
+
declare const meta$a_queryLocalDeliveryOptions: typeof queryLocalDeliveryOptions;
|
|
27043
27407
|
declare const meta$a_updateLocalDeliveryOption: typeof updateLocalDeliveryOption;
|
|
27044
27408
|
declare namespace meta$a {
|
|
27045
|
-
export { type __PublicMethodMetaInfo$a as __PublicMethodMetaInfo, meta$a_bulkCreateLocalDeliveryOption as bulkCreateLocalDeliveryOption, meta$a_bulkDeleteLocalDeliveryOption as bulkDeleteLocalDeliveryOption, meta$a_bulkUpdateLocalDeliveryOption as bulkUpdateLocalDeliveryOption, meta$a_createLocalDeliveryOption as createLocalDeliveryOption, meta$a_deleteLocalDeliveryOption as deleteLocalDeliveryOption, meta$a_getLocalDeliveryOption as getLocalDeliveryOption, meta$a_listLocalDeliveryOptions as listLocalDeliveryOptions, meta$a_updateLocalDeliveryOption as updateLocalDeliveryOption };
|
|
27409
|
+
export { type __PublicMethodMetaInfo$a as __PublicMethodMetaInfo, addDeliveryRegion$1 as addDeliveryRegion, meta$a_bulkCreateLocalDeliveryOption as bulkCreateLocalDeliveryOption, meta$a_bulkDeleteLocalDeliveryOption as bulkDeleteLocalDeliveryOption, meta$a_bulkUpdateLocalDeliveryOption as bulkUpdateLocalDeliveryOption, meta$a_createLocalDeliveryOption as createLocalDeliveryOption, meta$a_deleteLocalDeliveryOption as deleteLocalDeliveryOption, meta$a_getLocalDeliveryOption as getLocalDeliveryOption, meta$a_listLocalDeliveryOptions as listLocalDeliveryOptions, meta$a_queryLocalDeliveryOptions as queryLocalDeliveryOptions, removeDeliveryRegion$1 as removeDeliveryRegion, meta$a_updateLocalDeliveryOption as updateLocalDeliveryOption };
|
|
27046
27410
|
}
|
|
27047
27411
|
|
|
27048
27412
|
interface Order$1 {
|