@poweredbysous/storefront-all-sdk 4.15.3 → 4.16.0
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/dist/index.d.cts +1976 -203
- package/dist/index.d.ts +1976 -203
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1355,6 +1355,186 @@ interface paths {
|
|
|
1355
1355
|
patch: operations["admin_stores_locations_delivery_methods_partial_update"];
|
|
1356
1356
|
trace?: never;
|
|
1357
1357
|
};
|
|
1358
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/": {
|
|
1359
|
+
parameters: {
|
|
1360
|
+
query?: never;
|
|
1361
|
+
header?: never;
|
|
1362
|
+
path?: never;
|
|
1363
|
+
cookie?: never;
|
|
1364
|
+
};
|
|
1365
|
+
/**
|
|
1366
|
+
* @description Whether the store is on the library, and how big it is.
|
|
1367
|
+
*
|
|
1368
|
+
* The portal asks this first: a 404 means it shows today's screens.
|
|
1369
|
+
*/
|
|
1370
|
+
get: operations["admin_stores_options_library_retrieve"];
|
|
1371
|
+
put?: never;
|
|
1372
|
+
post?: never;
|
|
1373
|
+
delete?: never;
|
|
1374
|
+
options?: never;
|
|
1375
|
+
head?: never;
|
|
1376
|
+
patch?: never;
|
|
1377
|
+
trace?: never;
|
|
1378
|
+
};
|
|
1379
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/channels/": {
|
|
1380
|
+
parameters: {
|
|
1381
|
+
query?: never;
|
|
1382
|
+
header?: never;
|
|
1383
|
+
path?: never;
|
|
1384
|
+
cookie?: never;
|
|
1385
|
+
};
|
|
1386
|
+
/** @description The marketplaces a snooze does not reach: the ones the store sold on lately. */
|
|
1387
|
+
get: operations["admin_stores_options_library_channels_retrieve"];
|
|
1388
|
+
put?: never;
|
|
1389
|
+
post?: never;
|
|
1390
|
+
delete?: never;
|
|
1391
|
+
options?: never;
|
|
1392
|
+
head?: never;
|
|
1393
|
+
patch?: never;
|
|
1394
|
+
trace?: never;
|
|
1395
|
+
};
|
|
1396
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/groups/": {
|
|
1397
|
+
parameters: {
|
|
1398
|
+
query?: never;
|
|
1399
|
+
header?: never;
|
|
1400
|
+
path?: never;
|
|
1401
|
+
cookie?: never;
|
|
1402
|
+
};
|
|
1403
|
+
/** @description The store's library groups (the Groups tab). */
|
|
1404
|
+
get: operations["admin_stores_options_library_groups_list"];
|
|
1405
|
+
put?: never;
|
|
1406
|
+
/** @description The store's library groups (the Groups tab). */
|
|
1407
|
+
post: operations["admin_stores_options_library_groups_create"];
|
|
1408
|
+
delete?: never;
|
|
1409
|
+
options?: never;
|
|
1410
|
+
head?: never;
|
|
1411
|
+
patch?: never;
|
|
1412
|
+
trace?: never;
|
|
1413
|
+
};
|
|
1414
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/groups/{group_id}/": {
|
|
1415
|
+
parameters: {
|
|
1416
|
+
query?: never;
|
|
1417
|
+
header?: never;
|
|
1418
|
+
path?: never;
|
|
1419
|
+
cookie?: never;
|
|
1420
|
+
};
|
|
1421
|
+
get?: never;
|
|
1422
|
+
put?: never;
|
|
1423
|
+
post?: never;
|
|
1424
|
+
/** @description Edit or delete one library group: the change reaches every product. */
|
|
1425
|
+
delete: operations["admin_stores_options_library_groups_destroy"];
|
|
1426
|
+
options?: never;
|
|
1427
|
+
head?: never;
|
|
1428
|
+
/** @description Edit or delete one library group: the change reaches every product. */
|
|
1429
|
+
patch: operations["admin_stores_options_library_groups_partial_update"];
|
|
1430
|
+
trace?: never;
|
|
1431
|
+
};
|
|
1432
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/options/": {
|
|
1433
|
+
parameters: {
|
|
1434
|
+
query?: never;
|
|
1435
|
+
header?: never;
|
|
1436
|
+
path?: never;
|
|
1437
|
+
cookie?: never;
|
|
1438
|
+
};
|
|
1439
|
+
/** @description The store's library options (the Options tab). */
|
|
1440
|
+
get: operations["admin_stores_options_library_options_list"];
|
|
1441
|
+
put?: never;
|
|
1442
|
+
/** @description The store's library options (the Options tab). */
|
|
1443
|
+
post: operations["admin_stores_options_library_options_create"];
|
|
1444
|
+
delete?: never;
|
|
1445
|
+
options?: never;
|
|
1446
|
+
head?: never;
|
|
1447
|
+
patch?: never;
|
|
1448
|
+
trace?: never;
|
|
1449
|
+
};
|
|
1450
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/options/{option_id}/": {
|
|
1451
|
+
parameters: {
|
|
1452
|
+
query?: never;
|
|
1453
|
+
header?: never;
|
|
1454
|
+
path?: never;
|
|
1455
|
+
cookie?: never;
|
|
1456
|
+
};
|
|
1457
|
+
get?: never;
|
|
1458
|
+
put?: never;
|
|
1459
|
+
post?: never;
|
|
1460
|
+
/** @description Edit, hide or delete one library option. */
|
|
1461
|
+
delete: operations["admin_stores_options_library_options_destroy"];
|
|
1462
|
+
options?: never;
|
|
1463
|
+
head?: never;
|
|
1464
|
+
/** @description Edit, hide or delete one library option. */
|
|
1465
|
+
patch: operations["admin_stores_options_library_options_partial_update"];
|
|
1466
|
+
trace?: never;
|
|
1467
|
+
};
|
|
1468
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/products/{product_id}/groups/": {
|
|
1469
|
+
parameters: {
|
|
1470
|
+
query?: never;
|
|
1471
|
+
header?: never;
|
|
1472
|
+
path?: never;
|
|
1473
|
+
cookie?: never;
|
|
1474
|
+
};
|
|
1475
|
+
/** @description A product's option groups, each linked to a library group. */
|
|
1476
|
+
get: operations["admin_stores_options_library_products_groups_list"];
|
|
1477
|
+
put?: never;
|
|
1478
|
+
/** @description A product's option groups, each linked to a library group. */
|
|
1479
|
+
post: operations["admin_stores_options_library_products_groups_create"];
|
|
1480
|
+
delete?: never;
|
|
1481
|
+
options?: never;
|
|
1482
|
+
head?: never;
|
|
1483
|
+
patch?: never;
|
|
1484
|
+
trace?: never;
|
|
1485
|
+
};
|
|
1486
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/products/{product_id}/groups/{modifier_group_id}/": {
|
|
1487
|
+
parameters: {
|
|
1488
|
+
query?: never;
|
|
1489
|
+
header?: never;
|
|
1490
|
+
path?: never;
|
|
1491
|
+
cookie?: never;
|
|
1492
|
+
};
|
|
1493
|
+
get?: never;
|
|
1494
|
+
put?: never;
|
|
1495
|
+
post?: never;
|
|
1496
|
+
/** @description Remove one linked group from a product; the library keeps it. */
|
|
1497
|
+
delete: operations["admin_stores_options_library_products_groups_destroy"];
|
|
1498
|
+
options?: never;
|
|
1499
|
+
head?: never;
|
|
1500
|
+
patch?: never;
|
|
1501
|
+
trace?: never;
|
|
1502
|
+
};
|
|
1503
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/snoozes/": {
|
|
1504
|
+
parameters: {
|
|
1505
|
+
query?: never;
|
|
1506
|
+
header?: never;
|
|
1507
|
+
path?: never;
|
|
1508
|
+
cookie?: never;
|
|
1509
|
+
};
|
|
1510
|
+
/** @description Everything snoozed at the store (the "Snoozed now" chip and view). */
|
|
1511
|
+
get: operations["admin_stores_options_library_snoozes_list"];
|
|
1512
|
+
put?: never;
|
|
1513
|
+
post?: never;
|
|
1514
|
+
delete?: never;
|
|
1515
|
+
options?: never;
|
|
1516
|
+
head?: never;
|
|
1517
|
+
patch?: never;
|
|
1518
|
+
trace?: never;
|
|
1519
|
+
};
|
|
1520
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/snoozes/{item_type}/{item_id}/": {
|
|
1521
|
+
parameters: {
|
|
1522
|
+
query?: never;
|
|
1523
|
+
header?: never;
|
|
1524
|
+
path?: never;
|
|
1525
|
+
cookie?: never;
|
|
1526
|
+
};
|
|
1527
|
+
get?: never;
|
|
1528
|
+
/** @description Snooze one product or library option, or switch it back on. */
|
|
1529
|
+
put: operations["admin_stores_options_library_snoozes_update"];
|
|
1530
|
+
post?: never;
|
|
1531
|
+
/** @description Snooze one product or library option, or switch it back on. */
|
|
1532
|
+
delete: operations["admin_stores_options_library_snoozes_destroy"];
|
|
1533
|
+
options?: never;
|
|
1534
|
+
head?: never;
|
|
1535
|
+
patch?: never;
|
|
1536
|
+
trace?: never;
|
|
1537
|
+
};
|
|
1358
1538
|
"/api/v1/admin/stores/{store_public_id}/surcharges/": {
|
|
1359
1539
|
parameters: {
|
|
1360
1540
|
query?: never;
|
|
@@ -1746,9 +1926,10 @@ interface paths {
|
|
|
1746
1926
|
* currency); catalogue and write endpoints remain store-scoped and signed.
|
|
1747
1927
|
*
|
|
1748
1928
|
* Stores with no active pickup location are listed only when they are set up
|
|
1749
|
-
* to deliver (an active delivery carrier
|
|
1750
|
-
* offers delivery), with a null
|
|
1751
|
-
* can't be ordered from, so
|
|
1929
|
+
* to deliver on the request's channel (an active delivery carrier offered
|
|
1930
|
+
* there, or an onboarding or store config that offers delivery), with a null
|
|
1931
|
+
* address, coordinates and open status. The rest can't be ordered from, so
|
|
1932
|
+
* they are omitted.
|
|
1752
1933
|
*/
|
|
1753
1934
|
get: operations["brand_locations_list"];
|
|
1754
1935
|
put?: never;
|
|
@@ -2460,6 +2641,10 @@ interface paths {
|
|
|
2460
2641
|
* the customer can toggle at any point in the flow, and folding it into
|
|
2461
2642
|
* ``set_delivery`` would force a ``DELIVERY_SET`` transition on a write that
|
|
2462
2643
|
* changes no totals. Store-scoped like every other checkout mutation.
|
|
2644
|
+
*
|
|
2645
|
+
* The platform opt-in (``platform_opted_in``) is scoped to the channel the
|
|
2646
|
+
* request is resolved for (``X-Channel-Slug``), which must be the checkout's
|
|
2647
|
+
* own platform channel.
|
|
2463
2648
|
*/
|
|
2464
2649
|
patch: operations["checkout_marketing_consent_partial_update"];
|
|
2465
2650
|
trace?: never;
|
|
@@ -7261,6 +7446,8 @@ interface components {
|
|
|
7261
7446
|
end_date?: string | null;
|
|
7262
7447
|
/** @description Total redemption limit (null=unlimited) */
|
|
7263
7448
|
max_redemptions?: number | null;
|
|
7449
|
+
/** @description Combines with other discounts. */
|
|
7450
|
+
combinable?: boolean;
|
|
7264
7451
|
readonly redemption_count: number;
|
|
7265
7452
|
is_active?: boolean;
|
|
7266
7453
|
/** @description Fulfillment types this promotion applies to (empty = all). */
|
|
@@ -7394,6 +7581,11 @@ interface components {
|
|
|
7394
7581
|
* @enum {string}
|
|
7395
7582
|
*/
|
|
7396
7583
|
AssetTypeEnum: "logo" | "hero" | "favicon" | "og_image";
|
|
7584
|
+
/** @description Either a library group to add, or a new group to create and add. */
|
|
7585
|
+
AttachGroup: {
|
|
7586
|
+
library_group_id?: number;
|
|
7587
|
+
group?: components["schemas"]["GroupWrite"];
|
|
7588
|
+
};
|
|
7397
7589
|
Attribute: {
|
|
7398
7590
|
readonly id: number;
|
|
7399
7591
|
readonly name: string;
|
|
@@ -7623,6 +7815,7 @@ interface components {
|
|
|
7623
7815
|
cart_total?: string;
|
|
7624
7816
|
/** Format: decimal */
|
|
7625
7817
|
tax_total?: string;
|
|
7818
|
+
readonly vat_breakdown: components["schemas"]["VatRate"][];
|
|
7626
7819
|
/**
|
|
7627
7820
|
* Format: decimal
|
|
7628
7821
|
* @description Aggregated surcharges (non-discountable, VAT-inclusive)
|
|
@@ -7634,6 +7827,13 @@ interface components {
|
|
|
7634
7827
|
version?: number;
|
|
7635
7828
|
readonly item_count: number;
|
|
7636
7829
|
readonly line_items: components["schemas"]["CartLineItem"][];
|
|
7830
|
+
/**
|
|
7831
|
+
* Format: decimal
|
|
7832
|
+
* @description Sum of the lines' line discounts.
|
|
7833
|
+
*/
|
|
7834
|
+
line_discount_total?: string;
|
|
7835
|
+
/** Format: decimal */
|
|
7836
|
+
readonly order_discount_total: string;
|
|
7637
7837
|
/** @description The discount coming off this cart, code-entered or auto-applied. */
|
|
7638
7838
|
readonly discount: {
|
|
7639
7839
|
[key: string]: unknown;
|
|
@@ -7643,6 +7843,7 @@ interface components {
|
|
|
7643
7843
|
[key: string]: unknown;
|
|
7644
7844
|
} | null;
|
|
7645
7845
|
readonly pending_auto_discount: components["schemas"]["CartPendingAutoDiscount"] | null;
|
|
7846
|
+
readonly pending_discount_code: components["schemas"]["CartPendingDiscountCode"] | null;
|
|
7646
7847
|
readonly shipping_estimate: components["schemas"]["ShippingEstimate"] | null;
|
|
7647
7848
|
/**
|
|
7648
7849
|
* Format: decimal
|
|
@@ -7742,6 +7943,8 @@ interface components {
|
|
|
7742
7943
|
product_id: number;
|
|
7743
7944
|
readonly product_title: string;
|
|
7744
7945
|
readonly product_image: string | null;
|
|
7946
|
+
/** @description The SKU the product's page shows (its first variant SKU), for analytics item ids. Empty when the product has none. */
|
|
7947
|
+
readonly sku: string;
|
|
7745
7948
|
/** Format: decimal */
|
|
7746
7949
|
unit_price: string;
|
|
7747
7950
|
quantity: number;
|
|
@@ -7763,6 +7966,13 @@ interface components {
|
|
|
7763
7966
|
} | null;
|
|
7764
7967
|
readonly note: string;
|
|
7765
7968
|
readonly order_dates: components["schemas"]["CartLineOrderDates"] | null;
|
|
7969
|
+
/** Format: decimal */
|
|
7970
|
+
readonly line_discount_amount: string;
|
|
7971
|
+
readonly line_discount: components["schemas"]["LineDiscountRef"] | null;
|
|
7972
|
+
/** @description The unit price after the line's own discount (the line's average). */
|
|
7973
|
+
readonly discounted_unit_price: string;
|
|
7974
|
+
/** Format: decimal */
|
|
7975
|
+
readonly discounted_line_total: string;
|
|
7766
7976
|
};
|
|
7767
7977
|
CartLineItemOption: {
|
|
7768
7978
|
option_id: number;
|
|
@@ -7866,6 +8076,47 @@ interface components {
|
|
|
7866
8076
|
* @enum {string}
|
|
7867
8077
|
*/
|
|
7868
8078
|
CartPendingAutoDiscountReasonEnum: "min_order_not_met" | "fulfillment_type_not_allowed";
|
|
8079
|
+
/**
|
|
8080
|
+
* @description A typed code that is attached but saves nothing now, and why.
|
|
8081
|
+
*
|
|
8082
|
+
* Documentation only: built by ``CartSerializer.get_pending_discount_code``.
|
|
8083
|
+
* The code stays on the cart, since a later change can make it save
|
|
8084
|
+
* something. Null when the cart has no typed code or the code saves.
|
|
8085
|
+
*/
|
|
8086
|
+
CartPendingDiscountCode: {
|
|
8087
|
+
code: string;
|
|
8088
|
+
/** Format: uuid */
|
|
8089
|
+
discount_id: string;
|
|
8090
|
+
name: string;
|
|
8091
|
+
/**
|
|
8092
|
+
* @description outside_schedule: outside the code's recurring window. min_order_not_met: the items' subtotal before any discount is below min_order_amount; amount_needed says by how much. no_qualifying_items: nothing in the basket is covered by the code. fulfillment_type_not_allowed: no covered line uses one of allowed_fulfillment_types. better_discount_applied: every unit the code covers already has a line discount that saves more.
|
|
8093
|
+
*
|
|
8094
|
+
* * `outside_schedule` - outside_schedule
|
|
8095
|
+
* * `min_order_not_met` - min_order_not_met
|
|
8096
|
+
* * `no_qualifying_items` - no_qualifying_items
|
|
8097
|
+
* * `fulfillment_type_not_allowed` - fulfillment_type_not_allowed
|
|
8098
|
+
* * `better_discount_applied` - better_discount_applied
|
|
8099
|
+
*/
|
|
8100
|
+
reason: components["schemas"]["CartPendingDiscountCodeReasonEnum"];
|
|
8101
|
+
/** Format: decimal */
|
|
8102
|
+
min_order_amount: string | null;
|
|
8103
|
+
/**
|
|
8104
|
+
* Format: decimal
|
|
8105
|
+
* @description What the subtotal still needs. Null unless min_order_not_met.
|
|
8106
|
+
*/
|
|
8107
|
+
amount_needed: string | null;
|
|
8108
|
+
allowed_fulfillment_types: string[];
|
|
8109
|
+
currency: string;
|
|
8110
|
+
};
|
|
8111
|
+
/**
|
|
8112
|
+
* @description * `outside_schedule` - outside_schedule
|
|
8113
|
+
* * `min_order_not_met` - min_order_not_met
|
|
8114
|
+
* * `no_qualifying_items` - no_qualifying_items
|
|
8115
|
+
* * `fulfillment_type_not_allowed` - fulfillment_type_not_allowed
|
|
8116
|
+
* * `better_discount_applied` - better_discount_applied
|
|
8117
|
+
* @enum {string}
|
|
8118
|
+
*/
|
|
8119
|
+
CartPendingDiscountCodeReasonEnum: "outside_schedule" | "min_order_not_met" | "no_qualifying_items" | "fulfillment_type_not_allowed" | "better_discount_applied";
|
|
7869
8120
|
Category: {
|
|
7870
8121
|
readonly id: number;
|
|
7871
8122
|
slug: string;
|
|
@@ -7943,6 +8194,12 @@ interface components {
|
|
|
7943
8194
|
* @enum {string}
|
|
7944
8195
|
*/
|
|
7945
8196
|
CateringOrderStatusEnum: "quote_requested" | "quoted" | "deposit_paid" | "confirmed" | "in_production" | "ready" | "completed" | "cancelled";
|
|
8197
|
+
/**
|
|
8198
|
+
* @description * `manual` - Manual
|
|
8199
|
+
* * `required_group` - Required group
|
|
8200
|
+
* @enum {string}
|
|
8201
|
+
*/
|
|
8202
|
+
CauseEnum: "manual" | "required_group";
|
|
7946
8203
|
/**
|
|
7947
8204
|
* @description * `add` - Add
|
|
7948
8205
|
* * `remove` - Remove
|
|
@@ -7975,6 +8232,10 @@ interface components {
|
|
|
7975
8232
|
* @enum {string}
|
|
7976
8233
|
*/
|
|
7977
8234
|
ChannelTypeEnum: "own_website" | "uber_eats" | "jet" | "other";
|
|
8235
|
+
/** @description The marketplaces a snooze does not reach, for the channel note (C3, C4). */
|
|
8236
|
+
Channels: {
|
|
8237
|
+
platforms: string[];
|
|
8238
|
+
};
|
|
7978
8239
|
/** @description Serialized checkout data for API responses. */
|
|
7979
8240
|
Checkout: {
|
|
7980
8241
|
id: string;
|
|
@@ -8005,6 +8266,10 @@ interface components {
|
|
|
8005
8266
|
}[];
|
|
8006
8267
|
subtotal: string;
|
|
8007
8268
|
tax_total: string;
|
|
8269
|
+
vat_breakdown: {
|
|
8270
|
+
rate: string;
|
|
8271
|
+
amount: string;
|
|
8272
|
+
}[];
|
|
8008
8273
|
shipping_cost: string;
|
|
8009
8274
|
surcharge_total: string;
|
|
8010
8275
|
display_surcharge_total: string;
|
|
@@ -8019,13 +8284,33 @@ interface components {
|
|
|
8019
8284
|
code: string;
|
|
8020
8285
|
reason: string;
|
|
8021
8286
|
} | null;
|
|
8287
|
+
/**
|
|
8288
|
+
* @description A typed code that is attached but saves nothing now, and why.
|
|
8289
|
+
*
|
|
8290
|
+
* The code stays on the cart and checkout because a later change can make
|
|
8291
|
+
* it save something; this tells the shopper what stands in the way, as
|
|
8292
|
+
* ``pending_auto_discount`` does for an automatic discount.
|
|
8293
|
+
*/
|
|
8294
|
+
pending_discount_code: {
|
|
8295
|
+
code: string;
|
|
8296
|
+
discount_id: string;
|
|
8297
|
+
name: string;
|
|
8298
|
+
reason: string;
|
|
8299
|
+
min_order_amount: string | null;
|
|
8300
|
+
amount_needed: string | null;
|
|
8301
|
+
allowed_fulfillment_types: string[];
|
|
8302
|
+
currency: string;
|
|
8303
|
+
} | null;
|
|
8022
8304
|
applied_promotion_id: number | null;
|
|
8023
8305
|
promotion_discount_amount: string;
|
|
8306
|
+
line_discount_total: string;
|
|
8307
|
+
order_discount_total: string;
|
|
8024
8308
|
total: string;
|
|
8025
8309
|
service_fees: {
|
|
8026
8310
|
[key: string]: unknown;
|
|
8027
8311
|
};
|
|
8028
8312
|
platform_fee_customer: string;
|
|
8313
|
+
service_fee_fixed: string | null;
|
|
8029
8314
|
platform_fee_merchant: string;
|
|
8030
8315
|
delivery_fee_customer: string;
|
|
8031
8316
|
delivery_fee_merchant: string;
|
|
@@ -8509,6 +8794,8 @@ interface components {
|
|
|
8509
8794
|
readonly used_count: number;
|
|
8510
8795
|
/** @description Per-customer redemption limit (null=unlimited) */
|
|
8511
8796
|
max_uses_per_customer?: number | null;
|
|
8797
|
+
/** @description Combines with other discounts. */
|
|
8798
|
+
combinable?: boolean;
|
|
8512
8799
|
/**
|
|
8513
8800
|
* Format: date-time
|
|
8514
8801
|
* @description When discount becomes active
|
|
@@ -8756,6 +9043,31 @@ interface components {
|
|
|
8756
9043
|
products_assigned: number;
|
|
8757
9044
|
products_unassigned: number;
|
|
8758
9045
|
};
|
|
9046
|
+
GroupEditResult: {
|
|
9047
|
+
products_affected: number;
|
|
9048
|
+
group: components["schemas"]["LibraryGroup"];
|
|
9049
|
+
};
|
|
9050
|
+
GroupItem: {
|
|
9051
|
+
option_id: number;
|
|
9052
|
+
title: string;
|
|
9053
|
+
/** Format: decimal */
|
|
9054
|
+
price_modifier: string;
|
|
9055
|
+
is_default: boolean;
|
|
9056
|
+
position: number;
|
|
9057
|
+
visible: boolean;
|
|
9058
|
+
snoozable: boolean;
|
|
9059
|
+
snoozed: boolean;
|
|
9060
|
+
};
|
|
9061
|
+
GroupItemWrite: {
|
|
9062
|
+
option_id: number;
|
|
9063
|
+
/**
|
|
9064
|
+
* Format: decimal
|
|
9065
|
+
* @default 0.00
|
|
9066
|
+
*/
|
|
9067
|
+
price_modifier: string;
|
|
9068
|
+
/** @default false */
|
|
9069
|
+
is_default: boolean;
|
|
9070
|
+
};
|
|
8759
9071
|
GroupOrderItemsRequest: {
|
|
8760
9072
|
participant_id: string;
|
|
8761
9073
|
};
|
|
@@ -8817,6 +9129,23 @@ interface components {
|
|
|
8817
9129
|
* @enum {string}
|
|
8818
9130
|
*/
|
|
8819
9131
|
GroupOrderSessionStatusEnum: "open" | "collecting" | "closed" | "checked_out" | "cancelled";
|
|
9132
|
+
/** @description What the Create / Edit group dialog sends. All optional on PATCH. */
|
|
9133
|
+
GroupWrite: {
|
|
9134
|
+
title: string;
|
|
9135
|
+
description?: string;
|
|
9136
|
+
selection_type: components["schemas"]["GroupWriteSelectionTypeEnum"];
|
|
9137
|
+
min_selections: number;
|
|
9138
|
+
max_selections: number | null;
|
|
9139
|
+
items: components["schemas"]["GroupItemWrite"][];
|
|
9140
|
+
required: boolean;
|
|
9141
|
+
};
|
|
9142
|
+
/**
|
|
9143
|
+
* @description * `single` - single
|
|
9144
|
+
* * `multiple` - multiple
|
|
9145
|
+
* * `quantity` - quantity
|
|
9146
|
+
* @enum {string}
|
|
9147
|
+
*/
|
|
9148
|
+
GroupWriteSelectionTypeEnum: "single" | "multiple" | "quantity";
|
|
8820
9149
|
/**
|
|
8821
9150
|
* @description * `champion` - Champion
|
|
8822
9151
|
* * `loyal` - Loyal
|
|
@@ -8949,6 +9278,12 @@ interface components {
|
|
|
8949
9278
|
* @enum {string}
|
|
8950
9279
|
*/
|
|
8951
9280
|
InvoiceStatusEnum: "draft" | "issued" | "paid" | "cancelled";
|
|
9281
|
+
/**
|
|
9282
|
+
* @description * `product` - Product
|
|
9283
|
+
* * `option` - Option
|
|
9284
|
+
* @enum {string}
|
|
9285
|
+
*/
|
|
9286
|
+
ItemTypeEnum: "product" | "option";
|
|
8952
9287
|
/**
|
|
8953
9288
|
* @description * `modifier` - modifier
|
|
8954
9289
|
* * `subitem` - subitem
|
|
@@ -8995,6 +9330,35 @@ interface components {
|
|
|
8995
9330
|
* @enum {string}
|
|
8996
9331
|
*/
|
|
8997
9332
|
LanguagePreferenceEnum: "en" | "nl" | "de" | "fr" | "da" | "sv" | "nb" | "fi" | "es";
|
|
9333
|
+
LibraryGroup: {
|
|
9334
|
+
id: number;
|
|
9335
|
+
title: string;
|
|
9336
|
+
description: string;
|
|
9337
|
+
selection_type: string;
|
|
9338
|
+
min_selections: number;
|
|
9339
|
+
max_selections: number | null;
|
|
9340
|
+
items: components["schemas"]["GroupItem"][];
|
|
9341
|
+
used_in: components["schemas"]["UsedInProduct"][];
|
|
9342
|
+
required: boolean;
|
|
9343
|
+
};
|
|
9344
|
+
LibraryOption: {
|
|
9345
|
+
id: number;
|
|
9346
|
+
title: string;
|
|
9347
|
+
description: string;
|
|
9348
|
+
image_url: string;
|
|
9349
|
+
/** Format: decimal */
|
|
9350
|
+
vat_rate: string;
|
|
9351
|
+
visible: boolean;
|
|
9352
|
+
snoozable: boolean;
|
|
9353
|
+
snoozed: boolean;
|
|
9354
|
+
groups: components["schemas"]["OptionInGroup"][];
|
|
9355
|
+
used_in: components["schemas"]["UsedInProduct"][];
|
|
9356
|
+
};
|
|
9357
|
+
LibrarySummary: {
|
|
9358
|
+
enabled: boolean;
|
|
9359
|
+
option_count: number;
|
|
9360
|
+
group_count: number;
|
|
9361
|
+
};
|
|
8998
9362
|
/** @description One failed outbound push row. */
|
|
8999
9363
|
LightspeedFailedPush: {
|
|
9000
9364
|
id: number;
|
|
@@ -9132,6 +9496,13 @@ interface components {
|
|
|
9132
9496
|
LightspeedWebhook: {
|
|
9133
9497
|
endpoint_id: string;
|
|
9134
9498
|
};
|
|
9499
|
+
/** @description Which discount or promotion a line discount came from. */
|
|
9500
|
+
LineDiscountRef: {
|
|
9501
|
+
id: string;
|
|
9502
|
+
/** @description "discount" or "promotion". */
|
|
9503
|
+
kind: string;
|
|
9504
|
+
name: string;
|
|
9505
|
+
};
|
|
9135
9506
|
/** @description The link endpoint's answer: linked, or held with a message for the customer. */
|
|
9136
9507
|
LinkOutcome: {
|
|
9137
9508
|
outcome: components["schemas"]["OutcomeEnum"];
|
|
@@ -9499,6 +9870,12 @@ interface components {
|
|
|
9499
9870
|
until: string | null;
|
|
9500
9871
|
opens_at: string | null;
|
|
9501
9872
|
};
|
|
9873
|
+
OptionInGroup: {
|
|
9874
|
+
group_id: number;
|
|
9875
|
+
group_title: string;
|
|
9876
|
+
/** Format: decimal */
|
|
9877
|
+
price_modifier: string;
|
|
9878
|
+
};
|
|
9502
9879
|
/** @description Validates a single option selection within an add-item request. */
|
|
9503
9880
|
OptionInput: {
|
|
9504
9881
|
option_id: number;
|
|
@@ -9522,6 +9899,15 @@ interface components {
|
|
|
9522
9899
|
group_ref: string;
|
|
9523
9900
|
group_label: string;
|
|
9524
9901
|
};
|
|
9902
|
+
/** @description What the Create / Edit option dialog sends. All optional on PATCH. */
|
|
9903
|
+
OptionWrite: {
|
|
9904
|
+
title: string;
|
|
9905
|
+
description?: string;
|
|
9906
|
+
/** Format: uri */
|
|
9907
|
+
image_url?: string;
|
|
9908
|
+
visible?: boolean;
|
|
9909
|
+
snoozable?: boolean;
|
|
9910
|
+
};
|
|
9525
9911
|
Order: {
|
|
9526
9912
|
id: string;
|
|
9527
9913
|
order_number: string;
|
|
@@ -9564,11 +9950,19 @@ interface components {
|
|
|
9564
9950
|
subtotal: string;
|
|
9565
9951
|
/** Format: decimal */
|
|
9566
9952
|
tax_total: string;
|
|
9953
|
+
tax_total_includes_charges?: boolean;
|
|
9567
9954
|
/** Format: decimal */
|
|
9568
9955
|
shipping_cost: string;
|
|
9569
9956
|
/** Format: decimal */
|
|
9570
9957
|
discount_amount?: string;
|
|
9571
9958
|
discount_code?: string;
|
|
9959
|
+
/**
|
|
9960
|
+
* Format: decimal
|
|
9961
|
+
* @description Sum of the lines' line discounts.
|
|
9962
|
+
*/
|
|
9963
|
+
line_discount_total?: string;
|
|
9964
|
+
/** Format: decimal */
|
|
9965
|
+
readonly order_discount_total: string;
|
|
9572
9966
|
/**
|
|
9573
9967
|
* Format: decimal
|
|
9574
9968
|
* @description Aggregated non-discountable surcharges (VAT-inclusive)
|
|
@@ -9741,6 +10135,13 @@ interface components {
|
|
|
9741
10135
|
fulfillment_date?: string | null;
|
|
9742
10136
|
options?: unknown;
|
|
9743
10137
|
readonly surcharges: components["schemas"]["OrderLineItemSurcharge"][];
|
|
10138
|
+
/** Format: decimal */
|
|
10139
|
+
readonly line_discount_amount: string;
|
|
10140
|
+
readonly line_discount: components["schemas"]["LineDiscountRef"] | null;
|
|
10141
|
+
/** Format: decimal */
|
|
10142
|
+
readonly discounted_line_total: string;
|
|
10143
|
+
/** Format: decimal */
|
|
10144
|
+
readonly discounted_tax_amount: string;
|
|
9744
10145
|
};
|
|
9745
10146
|
/**
|
|
9746
10147
|
* @description The published shape of one entry in a line's surcharge snapshot.
|
|
@@ -10145,6 +10546,8 @@ interface components {
|
|
|
10145
10546
|
end_date?: string | null;
|
|
10146
10547
|
/** @description Total redemption limit (null=unlimited) */
|
|
10147
10548
|
max_redemptions?: number | null;
|
|
10549
|
+
/** @description Combines with other discounts. */
|
|
10550
|
+
combinable?: boolean;
|
|
10148
10551
|
readonly redemption_count?: number;
|
|
10149
10552
|
is_active?: boolean;
|
|
10150
10553
|
/** @description Fulfillment types this promotion applies to (empty = all). */
|
|
@@ -10334,6 +10737,8 @@ interface components {
|
|
|
10334
10737
|
readonly used_count?: number;
|
|
10335
10738
|
/** @description Per-customer redemption limit (null=unlimited) */
|
|
10336
10739
|
max_uses_per_customer?: number | null;
|
|
10740
|
+
/** @description Combines with other discounts. */
|
|
10741
|
+
combinable?: boolean;
|
|
10337
10742
|
/**
|
|
10338
10743
|
* Format: date-time
|
|
10339
10744
|
* @description When discount becomes active
|
|
@@ -10371,6 +10776,16 @@ interface components {
|
|
|
10371
10776
|
/** Format: date-time */
|
|
10372
10777
|
readonly updated_at?: string;
|
|
10373
10778
|
};
|
|
10779
|
+
/** @description What the Create / Edit group dialog sends. All optional on PATCH. */
|
|
10780
|
+
PatchedGroupWrite: {
|
|
10781
|
+
title?: string;
|
|
10782
|
+
description?: string;
|
|
10783
|
+
selection_type?: components["schemas"]["GroupWriteSelectionTypeEnum"];
|
|
10784
|
+
min_selections?: number;
|
|
10785
|
+
max_selections?: number | null;
|
|
10786
|
+
items?: components["schemas"]["GroupItemWrite"][];
|
|
10787
|
+
required?: boolean;
|
|
10788
|
+
};
|
|
10374
10789
|
/**
|
|
10375
10790
|
* @description Marketing consent captured at checkout.
|
|
10376
10791
|
*
|
|
@@ -10379,10 +10794,20 @@ interface components {
|
|
|
10379
10794
|
* saw. Stored on the checkout and copied to the order at creation, then
|
|
10380
10795
|
* forwarded to the merchant portal, which persists it onto the customer
|
|
10381
10796
|
* record. Unticked by default; the order completes regardless of state.
|
|
10797
|
+
*
|
|
10798
|
+
* ``platform_opted_in`` is a separate, independent opt-in for news and
|
|
10799
|
+
* offers from the platform the checkout runs on (exploreSOUS), never
|
|
10800
|
+
* inferred from ``opted_in``. It is accepted only on a platform channel's
|
|
10801
|
+
* checkout, stays server-side, and is never forwarded to the merchant.
|
|
10382
10802
|
*/
|
|
10383
10803
|
PatchedMarketingConsentInput: {
|
|
10384
10804
|
/** @default false */
|
|
10385
10805
|
opted_in: boolean;
|
|
10806
|
+
/**
|
|
10807
|
+
* @description Opt-in for news and offers from the platform (exploreSOUS), separate from the merchant opt-in. Only accepted on a checkout of that platform's channel.
|
|
10808
|
+
* @default false
|
|
10809
|
+
*/
|
|
10810
|
+
platform_opted_in: boolean;
|
|
10386
10811
|
/**
|
|
10387
10812
|
* @description Version id of the consent copy shown to the customer.
|
|
10388
10813
|
* @default
|
|
@@ -10399,6 +10824,15 @@ interface components {
|
|
|
10399
10824
|
dismiss_duration?: string | null;
|
|
10400
10825
|
targeting?: unknown;
|
|
10401
10826
|
};
|
|
10827
|
+
/** @description What the Create / Edit option dialog sends. All optional on PATCH. */
|
|
10828
|
+
PatchedOptionWrite: {
|
|
10829
|
+
title?: string;
|
|
10830
|
+
description?: string;
|
|
10831
|
+
/** Format: uri */
|
|
10832
|
+
image_url?: string;
|
|
10833
|
+
visible?: boolean;
|
|
10834
|
+
snoozable?: boolean;
|
|
10835
|
+
};
|
|
10402
10836
|
PatchedPrintDeviceUpdateRequest: {
|
|
10403
10837
|
copies?: number;
|
|
10404
10838
|
};
|
|
@@ -10837,14 +11271,20 @@ interface components {
|
|
|
10837
11271
|
name: string;
|
|
10838
11272
|
description: string;
|
|
10839
11273
|
};
|
|
10840
|
-
/** @description
|
|
11274
|
+
/** @description Every active product collection, for the sitemap and the Explore menu. */
|
|
10841
11275
|
ProductCollectionList: {
|
|
10842
11276
|
collections: components["schemas"]["ProductCollectionSummary"][];
|
|
10843
11277
|
};
|
|
10844
|
-
/** @description One listed product collection: its slug
|
|
11278
|
+
/** @description One listed product collection: its slug (the page URL) and menu card. */
|
|
10845
11279
|
ProductCollectionSummary: {
|
|
10846
11280
|
slug: string;
|
|
10847
|
-
|
|
11281
|
+
name: string;
|
|
11282
|
+
description: string;
|
|
11283
|
+
/** Format: uri */
|
|
11284
|
+
image_url: string | null;
|
|
11285
|
+
/** @description Place in the Explore menu, 1 first; null when not on the menu. */
|
|
11286
|
+
menu_position: number | null;
|
|
11287
|
+
};
|
|
10848
11288
|
/** @description Which products reach the address, and the badges each carries there. */
|
|
10849
11289
|
ProductDeliverability: {
|
|
10850
11290
|
results: components["schemas"]["ProductDeliverabilityItem"][];
|
|
@@ -10966,6 +11406,10 @@ interface components {
|
|
|
10966
11406
|
* @enum {string}
|
|
10967
11407
|
*/
|
|
10968
11408
|
ProductFulfilmentDatesReasonEnum: "no_dates";
|
|
11409
|
+
ProductGroup: {
|
|
11410
|
+
modifier_group_id: number;
|
|
11411
|
+
library_group: components["schemas"]["LibraryGroup"];
|
|
11412
|
+
};
|
|
10969
11413
|
ProductImage: {
|
|
10970
11414
|
readonly id: number;
|
|
10971
11415
|
/** Format: uri */
|
|
@@ -11097,13 +11541,20 @@ interface components {
|
|
|
11097
11541
|
ProductModifierGroup: {
|
|
11098
11542
|
readonly id: number;
|
|
11099
11543
|
readonly title: string;
|
|
11100
|
-
selection_type: components["schemas"]["
|
|
11544
|
+
selection_type: components["schemas"]["ProductModifierGroupSelectionTypeEnum"];
|
|
11101
11545
|
required?: boolean;
|
|
11102
11546
|
min_selections?: number;
|
|
11103
11547
|
max_selections?: number | null;
|
|
11104
11548
|
position?: number;
|
|
11105
11549
|
readonly modifiers: components["schemas"]["ProductModifier"][];
|
|
11106
11550
|
};
|
|
11551
|
+
/**
|
|
11552
|
+
* @description * `single` - Single
|
|
11553
|
+
* * `multiple` - Multiple
|
|
11554
|
+
* * `quantity` - Quantity
|
|
11555
|
+
* @enum {string}
|
|
11556
|
+
*/
|
|
11557
|
+
ProductModifierGroupSelectionTypeEnum: "single" | "multiple" | "quantity";
|
|
11107
11558
|
/** @description The closest pickup location: the same shape ``address-check`` returns. */
|
|
11108
11559
|
ProductNearestPickup: {
|
|
11109
11560
|
id: number;
|
|
@@ -11177,6 +11628,9 @@ interface components {
|
|
|
11177
11628
|
/** @description Aggregated prep list */
|
|
11178
11629
|
items?: unknown;
|
|
11179
11630
|
};
|
|
11631
|
+
ProductsAffected: {
|
|
11632
|
+
products_affected: number;
|
|
11633
|
+
};
|
|
11180
11634
|
Promotion: {
|
|
11181
11635
|
readonly id: number;
|
|
11182
11636
|
/** @description Per-location id (PAT-1306). Required when location_scope=SINGLE; NULL for SUBSET and ALL_LOCATIONS. */
|
|
@@ -11585,13 +12039,6 @@ interface components {
|
|
|
11585
12039
|
[key: string]: unknown;
|
|
11586
12040
|
}[];
|
|
11587
12041
|
};
|
|
11588
|
-
/**
|
|
11589
|
-
* @description * `single` - Single
|
|
11590
|
-
* * `multiple` - Multiple
|
|
11591
|
-
* * `quantity` - Quantity
|
|
11592
|
-
* @enum {string}
|
|
11593
|
-
*/
|
|
11594
|
-
SelectionTypeEnum: "single" | "multiple" | "quantity";
|
|
11595
12042
|
/**
|
|
11596
12043
|
* @description Serialiser exposing only the three fields the spec requires.
|
|
11597
12044
|
*
|
|
@@ -11732,6 +12179,16 @@ interface components {
|
|
|
11732
12179
|
/** @description The dish's title in the request's language (``?lang=`` or ``Accept-Language``), with the product endpoint's fallback. */
|
|
11733
12180
|
title: string;
|
|
11734
12181
|
};
|
|
12182
|
+
/** @description One snoozed item. ``sold_out_options`` explains a ``required_group`` one. */
|
|
12183
|
+
Snooze: {
|
|
12184
|
+
item_type: components["schemas"]["ItemTypeEnum"];
|
|
12185
|
+
item_id: number;
|
|
12186
|
+
title: string;
|
|
12187
|
+
cause: components["schemas"]["CauseEnum"];
|
|
12188
|
+
/** Format: date-time */
|
|
12189
|
+
started_at: string;
|
|
12190
|
+
sold_out_options: string[];
|
|
12191
|
+
};
|
|
11735
12192
|
/**
|
|
11736
12193
|
* @description * `manual` - Manual
|
|
11737
12194
|
* * `auto` - Auto-translated
|
|
@@ -12168,6 +12625,10 @@ interface components {
|
|
|
12168
12625
|
slug: string;
|
|
12169
12626
|
abbreviation: string;
|
|
12170
12627
|
};
|
|
12628
|
+
/** @description ``minutes_snoozed`` is null when the item was not snoozed by hand. */
|
|
12629
|
+
UnsnoozeResult: {
|
|
12630
|
+
minutes_snoozed: number | null;
|
|
12631
|
+
};
|
|
12171
12632
|
/** @description The signed token from the unsubscribe link (body or query). */
|
|
12172
12633
|
UnsubscribeToken: {
|
|
12173
12634
|
token: string;
|
|
@@ -12178,6 +12639,10 @@ interface components {
|
|
|
12178
12639
|
scope: string;
|
|
12179
12640
|
status?: string;
|
|
12180
12641
|
};
|
|
12642
|
+
UsedInProduct: {
|
|
12643
|
+
product_id: number;
|
|
12644
|
+
title: string;
|
|
12645
|
+
};
|
|
12181
12646
|
User: {
|
|
12182
12647
|
/** @description Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. */
|
|
12183
12648
|
username: string;
|
|
@@ -12225,6 +12690,13 @@ interface components {
|
|
|
12225
12690
|
price_override: string;
|
|
12226
12691
|
display_name_override?: string;
|
|
12227
12692
|
};
|
|
12693
|
+
/** @description One rate of a basket's VAT (schema only; see ``vat_per_rate``). */
|
|
12694
|
+
VatRate: {
|
|
12695
|
+
/** Format: decimal */
|
|
12696
|
+
rate: string;
|
|
12697
|
+
/** Format: decimal */
|
|
12698
|
+
amount: string;
|
|
12699
|
+
};
|
|
12228
12700
|
WebhookSubscription: {
|
|
12229
12701
|
/** Format: uuid */
|
|
12230
12702
|
readonly id: string;
|
|
@@ -16144,12 +16616,1309 @@ interface operations {
|
|
|
16144
16616
|
};
|
|
16145
16617
|
};
|
|
16146
16618
|
responses: {
|
|
16147
|
-
200: {
|
|
16619
|
+
200: {
|
|
16620
|
+
headers: {
|
|
16621
|
+
[name: string]: unknown;
|
|
16622
|
+
};
|
|
16623
|
+
content: {
|
|
16624
|
+
"application/json": components["schemas"]["AdminPromotion"];
|
|
16625
|
+
};
|
|
16626
|
+
};
|
|
16627
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16628
|
+
400: {
|
|
16629
|
+
headers: {
|
|
16630
|
+
[name: string]: unknown;
|
|
16631
|
+
};
|
|
16632
|
+
content: {
|
|
16633
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16634
|
+
};
|
|
16635
|
+
};
|
|
16636
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16637
|
+
401: {
|
|
16638
|
+
headers: {
|
|
16639
|
+
[name: string]: unknown;
|
|
16640
|
+
};
|
|
16641
|
+
content: {
|
|
16642
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16643
|
+
};
|
|
16644
|
+
};
|
|
16645
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16646
|
+
403: {
|
|
16647
|
+
headers: {
|
|
16648
|
+
[name: string]: unknown;
|
|
16649
|
+
};
|
|
16650
|
+
content: {
|
|
16651
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16652
|
+
};
|
|
16653
|
+
};
|
|
16654
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16655
|
+
404: {
|
|
16656
|
+
headers: {
|
|
16657
|
+
[name: string]: unknown;
|
|
16658
|
+
};
|
|
16659
|
+
content: {
|
|
16660
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16661
|
+
};
|
|
16662
|
+
};
|
|
16663
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16664
|
+
429: {
|
|
16665
|
+
headers: {
|
|
16666
|
+
[name: string]: unknown;
|
|
16667
|
+
};
|
|
16668
|
+
content: {
|
|
16669
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16670
|
+
};
|
|
16671
|
+
};
|
|
16672
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16673
|
+
500: {
|
|
16674
|
+
headers: {
|
|
16675
|
+
[name: string]: unknown;
|
|
16676
|
+
};
|
|
16677
|
+
content: {
|
|
16678
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16679
|
+
};
|
|
16680
|
+
};
|
|
16681
|
+
};
|
|
16682
|
+
};
|
|
16683
|
+
admin_promotions_retrieve: {
|
|
16684
|
+
parameters: {
|
|
16685
|
+
query?: never;
|
|
16686
|
+
header?: {
|
|
16687
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
16688
|
+
"X-Sous-Company-Id"?: number;
|
|
16689
|
+
};
|
|
16690
|
+
path: {
|
|
16691
|
+
/** @description A unique integer value identifying this promotion. */
|
|
16692
|
+
id: number;
|
|
16693
|
+
};
|
|
16694
|
+
cookie?: never;
|
|
16695
|
+
};
|
|
16696
|
+
requestBody?: never;
|
|
16697
|
+
responses: {
|
|
16698
|
+
200: {
|
|
16699
|
+
headers: {
|
|
16700
|
+
[name: string]: unknown;
|
|
16701
|
+
};
|
|
16702
|
+
content: {
|
|
16703
|
+
"application/json": components["schemas"]["AdminPromotion"];
|
|
16704
|
+
};
|
|
16705
|
+
};
|
|
16706
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16707
|
+
400: {
|
|
16708
|
+
headers: {
|
|
16709
|
+
[name: string]: unknown;
|
|
16710
|
+
};
|
|
16711
|
+
content: {
|
|
16712
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16713
|
+
};
|
|
16714
|
+
};
|
|
16715
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16716
|
+
401: {
|
|
16717
|
+
headers: {
|
|
16718
|
+
[name: string]: unknown;
|
|
16719
|
+
};
|
|
16720
|
+
content: {
|
|
16721
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16722
|
+
};
|
|
16723
|
+
};
|
|
16724
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16725
|
+
403: {
|
|
16726
|
+
headers: {
|
|
16727
|
+
[name: string]: unknown;
|
|
16728
|
+
};
|
|
16729
|
+
content: {
|
|
16730
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16731
|
+
};
|
|
16732
|
+
};
|
|
16733
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16734
|
+
404: {
|
|
16735
|
+
headers: {
|
|
16736
|
+
[name: string]: unknown;
|
|
16737
|
+
};
|
|
16738
|
+
content: {
|
|
16739
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16740
|
+
};
|
|
16741
|
+
};
|
|
16742
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16743
|
+
429: {
|
|
16744
|
+
headers: {
|
|
16745
|
+
[name: string]: unknown;
|
|
16746
|
+
};
|
|
16747
|
+
content: {
|
|
16748
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16749
|
+
};
|
|
16750
|
+
};
|
|
16751
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16752
|
+
500: {
|
|
16753
|
+
headers: {
|
|
16754
|
+
[name: string]: unknown;
|
|
16755
|
+
};
|
|
16756
|
+
content: {
|
|
16757
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16758
|
+
};
|
|
16759
|
+
};
|
|
16760
|
+
};
|
|
16761
|
+
};
|
|
16762
|
+
admin_promotions_update: {
|
|
16763
|
+
parameters: {
|
|
16764
|
+
query?: never;
|
|
16765
|
+
header?: {
|
|
16766
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
16767
|
+
"X-Sous-Company-Id"?: number;
|
|
16768
|
+
};
|
|
16769
|
+
path: {
|
|
16770
|
+
/** @description A unique integer value identifying this promotion. */
|
|
16771
|
+
id: number;
|
|
16772
|
+
};
|
|
16773
|
+
cookie?: never;
|
|
16774
|
+
};
|
|
16775
|
+
requestBody: {
|
|
16776
|
+
content: {
|
|
16777
|
+
"application/json": components["schemas"]["AdminPromotion"];
|
|
16778
|
+
"application/x-www-form-urlencoded": components["schemas"]["AdminPromotion"];
|
|
16779
|
+
"multipart/form-data": components["schemas"]["AdminPromotion"];
|
|
16780
|
+
};
|
|
16781
|
+
};
|
|
16782
|
+
responses: {
|
|
16783
|
+
200: {
|
|
16784
|
+
headers: {
|
|
16785
|
+
[name: string]: unknown;
|
|
16786
|
+
};
|
|
16787
|
+
content: {
|
|
16788
|
+
"application/json": components["schemas"]["AdminPromotion"];
|
|
16789
|
+
};
|
|
16790
|
+
};
|
|
16791
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16792
|
+
400: {
|
|
16793
|
+
headers: {
|
|
16794
|
+
[name: string]: unknown;
|
|
16795
|
+
};
|
|
16796
|
+
content: {
|
|
16797
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16798
|
+
};
|
|
16799
|
+
};
|
|
16800
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16801
|
+
401: {
|
|
16802
|
+
headers: {
|
|
16803
|
+
[name: string]: unknown;
|
|
16804
|
+
};
|
|
16805
|
+
content: {
|
|
16806
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16807
|
+
};
|
|
16808
|
+
};
|
|
16809
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16810
|
+
403: {
|
|
16811
|
+
headers: {
|
|
16812
|
+
[name: string]: unknown;
|
|
16813
|
+
};
|
|
16814
|
+
content: {
|
|
16815
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16816
|
+
};
|
|
16817
|
+
};
|
|
16818
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16819
|
+
404: {
|
|
16820
|
+
headers: {
|
|
16821
|
+
[name: string]: unknown;
|
|
16822
|
+
};
|
|
16823
|
+
content: {
|
|
16824
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16825
|
+
};
|
|
16826
|
+
};
|
|
16827
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16828
|
+
429: {
|
|
16829
|
+
headers: {
|
|
16830
|
+
[name: string]: unknown;
|
|
16831
|
+
};
|
|
16832
|
+
content: {
|
|
16833
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16834
|
+
};
|
|
16835
|
+
};
|
|
16836
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16837
|
+
500: {
|
|
16838
|
+
headers: {
|
|
16839
|
+
[name: string]: unknown;
|
|
16840
|
+
};
|
|
16841
|
+
content: {
|
|
16842
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16843
|
+
};
|
|
16844
|
+
};
|
|
16845
|
+
};
|
|
16846
|
+
};
|
|
16847
|
+
admin_promotions_destroy: {
|
|
16848
|
+
parameters: {
|
|
16849
|
+
query?: never;
|
|
16850
|
+
header?: {
|
|
16851
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
16852
|
+
"X-Sous-Company-Id"?: number;
|
|
16853
|
+
};
|
|
16854
|
+
path: {
|
|
16855
|
+
/** @description A unique integer value identifying this promotion. */
|
|
16856
|
+
id: number;
|
|
16857
|
+
};
|
|
16858
|
+
cookie?: never;
|
|
16859
|
+
};
|
|
16860
|
+
requestBody?: never;
|
|
16861
|
+
responses: {
|
|
16862
|
+
/** @description No response body */
|
|
16863
|
+
204: {
|
|
16864
|
+
headers: {
|
|
16865
|
+
[name: string]: unknown;
|
|
16866
|
+
};
|
|
16867
|
+
content?: never;
|
|
16868
|
+
};
|
|
16869
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16870
|
+
400: {
|
|
16871
|
+
headers: {
|
|
16872
|
+
[name: string]: unknown;
|
|
16873
|
+
};
|
|
16874
|
+
content: {
|
|
16875
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16876
|
+
};
|
|
16877
|
+
};
|
|
16878
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16879
|
+
401: {
|
|
16880
|
+
headers: {
|
|
16881
|
+
[name: string]: unknown;
|
|
16882
|
+
};
|
|
16883
|
+
content: {
|
|
16884
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16885
|
+
};
|
|
16886
|
+
};
|
|
16887
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16888
|
+
403: {
|
|
16889
|
+
headers: {
|
|
16890
|
+
[name: string]: unknown;
|
|
16891
|
+
};
|
|
16892
|
+
content: {
|
|
16893
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16894
|
+
};
|
|
16895
|
+
};
|
|
16896
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16897
|
+
404: {
|
|
16898
|
+
headers: {
|
|
16899
|
+
[name: string]: unknown;
|
|
16900
|
+
};
|
|
16901
|
+
content: {
|
|
16902
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16903
|
+
};
|
|
16904
|
+
};
|
|
16905
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16906
|
+
429: {
|
|
16907
|
+
headers: {
|
|
16908
|
+
[name: string]: unknown;
|
|
16909
|
+
};
|
|
16910
|
+
content: {
|
|
16911
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16912
|
+
};
|
|
16913
|
+
};
|
|
16914
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16915
|
+
500: {
|
|
16916
|
+
headers: {
|
|
16917
|
+
[name: string]: unknown;
|
|
16918
|
+
};
|
|
16919
|
+
content: {
|
|
16920
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16921
|
+
};
|
|
16922
|
+
};
|
|
16923
|
+
};
|
|
16924
|
+
};
|
|
16925
|
+
admin_promotions_partial_update: {
|
|
16926
|
+
parameters: {
|
|
16927
|
+
query?: never;
|
|
16928
|
+
header?: {
|
|
16929
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
16930
|
+
"X-Sous-Company-Id"?: number;
|
|
16931
|
+
};
|
|
16932
|
+
path: {
|
|
16933
|
+
/** @description A unique integer value identifying this promotion. */
|
|
16934
|
+
id: number;
|
|
16935
|
+
};
|
|
16936
|
+
cookie?: never;
|
|
16937
|
+
};
|
|
16938
|
+
requestBody?: {
|
|
16939
|
+
content: {
|
|
16940
|
+
"application/json": components["schemas"]["PatchedAdminPromotion"];
|
|
16941
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedAdminPromotion"];
|
|
16942
|
+
"multipart/form-data": components["schemas"]["PatchedAdminPromotion"];
|
|
16943
|
+
};
|
|
16944
|
+
};
|
|
16945
|
+
responses: {
|
|
16946
|
+
200: {
|
|
16947
|
+
headers: {
|
|
16948
|
+
[name: string]: unknown;
|
|
16949
|
+
};
|
|
16950
|
+
content: {
|
|
16951
|
+
"application/json": components["schemas"]["AdminPromotion"];
|
|
16952
|
+
};
|
|
16953
|
+
};
|
|
16954
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16955
|
+
400: {
|
|
16956
|
+
headers: {
|
|
16957
|
+
[name: string]: unknown;
|
|
16958
|
+
};
|
|
16959
|
+
content: {
|
|
16960
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16961
|
+
};
|
|
16962
|
+
};
|
|
16963
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16964
|
+
401: {
|
|
16965
|
+
headers: {
|
|
16966
|
+
[name: string]: unknown;
|
|
16967
|
+
};
|
|
16968
|
+
content: {
|
|
16969
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16970
|
+
};
|
|
16971
|
+
};
|
|
16972
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16973
|
+
403: {
|
|
16974
|
+
headers: {
|
|
16975
|
+
[name: string]: unknown;
|
|
16976
|
+
};
|
|
16977
|
+
content: {
|
|
16978
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16979
|
+
};
|
|
16980
|
+
};
|
|
16981
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16982
|
+
404: {
|
|
16983
|
+
headers: {
|
|
16984
|
+
[name: string]: unknown;
|
|
16985
|
+
};
|
|
16986
|
+
content: {
|
|
16987
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16988
|
+
};
|
|
16989
|
+
};
|
|
16990
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16991
|
+
429: {
|
|
16992
|
+
headers: {
|
|
16993
|
+
[name: string]: unknown;
|
|
16994
|
+
};
|
|
16995
|
+
content: {
|
|
16996
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16997
|
+
};
|
|
16998
|
+
};
|
|
16999
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17000
|
+
500: {
|
|
17001
|
+
headers: {
|
|
17002
|
+
[name: string]: unknown;
|
|
17003
|
+
};
|
|
17004
|
+
content: {
|
|
17005
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17006
|
+
};
|
|
17007
|
+
};
|
|
17008
|
+
};
|
|
17009
|
+
};
|
|
17010
|
+
admin_store_fulfillment_types_list: {
|
|
17011
|
+
parameters: {
|
|
17012
|
+
query?: never;
|
|
17013
|
+
header?: {
|
|
17014
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17015
|
+
"X-Sous-Company-Id"?: number;
|
|
17016
|
+
};
|
|
17017
|
+
path?: never;
|
|
17018
|
+
cookie?: never;
|
|
17019
|
+
};
|
|
17020
|
+
requestBody?: never;
|
|
17021
|
+
responses: {
|
|
17022
|
+
200: {
|
|
17023
|
+
headers: {
|
|
17024
|
+
[name: string]: unknown;
|
|
17025
|
+
};
|
|
17026
|
+
content: {
|
|
17027
|
+
"application/json": components["schemas"]["AdminStoreFulfillment"][];
|
|
17028
|
+
};
|
|
17029
|
+
};
|
|
17030
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17031
|
+
400: {
|
|
17032
|
+
headers: {
|
|
17033
|
+
[name: string]: unknown;
|
|
17034
|
+
};
|
|
17035
|
+
content: {
|
|
17036
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17037
|
+
};
|
|
17038
|
+
};
|
|
17039
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17040
|
+
401: {
|
|
17041
|
+
headers: {
|
|
17042
|
+
[name: string]: unknown;
|
|
17043
|
+
};
|
|
17044
|
+
content: {
|
|
17045
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17046
|
+
};
|
|
17047
|
+
};
|
|
17048
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17049
|
+
403: {
|
|
17050
|
+
headers: {
|
|
17051
|
+
[name: string]: unknown;
|
|
17052
|
+
};
|
|
17053
|
+
content: {
|
|
17054
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17055
|
+
};
|
|
17056
|
+
};
|
|
17057
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17058
|
+
404: {
|
|
17059
|
+
headers: {
|
|
17060
|
+
[name: string]: unknown;
|
|
17061
|
+
};
|
|
17062
|
+
content: {
|
|
17063
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17064
|
+
};
|
|
17065
|
+
};
|
|
17066
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17067
|
+
429: {
|
|
17068
|
+
headers: {
|
|
17069
|
+
[name: string]: unknown;
|
|
17070
|
+
};
|
|
17071
|
+
content: {
|
|
17072
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17073
|
+
};
|
|
17074
|
+
};
|
|
17075
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17076
|
+
500: {
|
|
17077
|
+
headers: {
|
|
17078
|
+
[name: string]: unknown;
|
|
17079
|
+
};
|
|
17080
|
+
content: {
|
|
17081
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17082
|
+
};
|
|
17083
|
+
};
|
|
17084
|
+
};
|
|
17085
|
+
};
|
|
17086
|
+
admin_stores_base_coverage_retrieve: {
|
|
17087
|
+
parameters: {
|
|
17088
|
+
query?: never;
|
|
17089
|
+
header?: {
|
|
17090
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17091
|
+
"X-Sous-Company-Id"?: number;
|
|
17092
|
+
};
|
|
17093
|
+
path: {
|
|
17094
|
+
store_public_id: string;
|
|
17095
|
+
};
|
|
17096
|
+
cookie?: never;
|
|
17097
|
+
};
|
|
17098
|
+
requestBody?: never;
|
|
17099
|
+
responses: {
|
|
17100
|
+
200: {
|
|
17101
|
+
headers: {
|
|
17102
|
+
[name: string]: unknown;
|
|
17103
|
+
};
|
|
17104
|
+
content: {
|
|
17105
|
+
"application/json": components["schemas"]["BaseCoverage"];
|
|
17106
|
+
};
|
|
17107
|
+
};
|
|
17108
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17109
|
+
400: {
|
|
17110
|
+
headers: {
|
|
17111
|
+
[name: string]: unknown;
|
|
17112
|
+
};
|
|
17113
|
+
content: {
|
|
17114
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17115
|
+
};
|
|
17116
|
+
};
|
|
17117
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17118
|
+
401: {
|
|
17119
|
+
headers: {
|
|
17120
|
+
[name: string]: unknown;
|
|
17121
|
+
};
|
|
17122
|
+
content: {
|
|
17123
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17124
|
+
};
|
|
17125
|
+
};
|
|
17126
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17127
|
+
403: {
|
|
17128
|
+
headers: {
|
|
17129
|
+
[name: string]: unknown;
|
|
17130
|
+
};
|
|
17131
|
+
content: {
|
|
17132
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17133
|
+
};
|
|
17134
|
+
};
|
|
17135
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17136
|
+
404: {
|
|
17137
|
+
headers: {
|
|
17138
|
+
[name: string]: unknown;
|
|
17139
|
+
};
|
|
17140
|
+
content: {
|
|
17141
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17142
|
+
};
|
|
17143
|
+
};
|
|
17144
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17145
|
+
429: {
|
|
17146
|
+
headers: {
|
|
17147
|
+
[name: string]: unknown;
|
|
17148
|
+
};
|
|
17149
|
+
content: {
|
|
17150
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17151
|
+
};
|
|
17152
|
+
};
|
|
17153
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17154
|
+
500: {
|
|
17155
|
+
headers: {
|
|
17156
|
+
[name: string]: unknown;
|
|
17157
|
+
};
|
|
17158
|
+
content: {
|
|
17159
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17160
|
+
};
|
|
17161
|
+
};
|
|
17162
|
+
};
|
|
17163
|
+
};
|
|
17164
|
+
admin_stores_base_coverage_update: {
|
|
17165
|
+
parameters: {
|
|
17166
|
+
query?: never;
|
|
17167
|
+
header?: {
|
|
17168
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17169
|
+
"X-Sous-Company-Id"?: number;
|
|
17170
|
+
};
|
|
17171
|
+
path: {
|
|
17172
|
+
store_public_id: string;
|
|
17173
|
+
};
|
|
17174
|
+
cookie?: never;
|
|
17175
|
+
};
|
|
17176
|
+
requestBody: {
|
|
17177
|
+
content: {
|
|
17178
|
+
"application/json": components["schemas"]["BaseCoverage"];
|
|
17179
|
+
"application/x-www-form-urlencoded": components["schemas"]["BaseCoverage"];
|
|
17180
|
+
"multipart/form-data": components["schemas"]["BaseCoverage"];
|
|
17181
|
+
};
|
|
17182
|
+
};
|
|
17183
|
+
responses: {
|
|
17184
|
+
200: {
|
|
17185
|
+
headers: {
|
|
17186
|
+
[name: string]: unknown;
|
|
17187
|
+
};
|
|
17188
|
+
content: {
|
|
17189
|
+
"application/json": components["schemas"]["BaseCoverage"];
|
|
17190
|
+
};
|
|
17191
|
+
};
|
|
17192
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17193
|
+
400: {
|
|
17194
|
+
headers: {
|
|
17195
|
+
[name: string]: unknown;
|
|
17196
|
+
};
|
|
17197
|
+
content: {
|
|
17198
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17199
|
+
};
|
|
17200
|
+
};
|
|
17201
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17202
|
+
401: {
|
|
17203
|
+
headers: {
|
|
17204
|
+
[name: string]: unknown;
|
|
17205
|
+
};
|
|
17206
|
+
content: {
|
|
17207
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17208
|
+
};
|
|
17209
|
+
};
|
|
17210
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17211
|
+
403: {
|
|
17212
|
+
headers: {
|
|
17213
|
+
[name: string]: unknown;
|
|
17214
|
+
};
|
|
17215
|
+
content: {
|
|
17216
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17217
|
+
};
|
|
17218
|
+
};
|
|
17219
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17220
|
+
404: {
|
|
17221
|
+
headers: {
|
|
17222
|
+
[name: string]: unknown;
|
|
17223
|
+
};
|
|
17224
|
+
content: {
|
|
17225
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17226
|
+
};
|
|
17227
|
+
};
|
|
17228
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17229
|
+
429: {
|
|
17230
|
+
headers: {
|
|
17231
|
+
[name: string]: unknown;
|
|
17232
|
+
};
|
|
17233
|
+
content: {
|
|
17234
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17235
|
+
};
|
|
17236
|
+
};
|
|
17237
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17238
|
+
500: {
|
|
17239
|
+
headers: {
|
|
17240
|
+
[name: string]: unknown;
|
|
17241
|
+
};
|
|
17242
|
+
content: {
|
|
17243
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17244
|
+
};
|
|
17245
|
+
};
|
|
17246
|
+
};
|
|
17247
|
+
};
|
|
17248
|
+
admin_stores_compliance_defaults_retrieve: {
|
|
17249
|
+
parameters: {
|
|
17250
|
+
query?: never;
|
|
17251
|
+
header?: {
|
|
17252
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17253
|
+
"X-Sous-Company-Id"?: number;
|
|
17254
|
+
};
|
|
17255
|
+
path: {
|
|
17256
|
+
store_public_id: string;
|
|
17257
|
+
};
|
|
17258
|
+
cookie?: never;
|
|
17259
|
+
};
|
|
17260
|
+
requestBody?: never;
|
|
17261
|
+
responses: {
|
|
17262
|
+
200: {
|
|
17263
|
+
headers: {
|
|
17264
|
+
[name: string]: unknown;
|
|
17265
|
+
};
|
|
17266
|
+
content: {
|
|
17267
|
+
"application/json": components["schemas"]["AdminStoreComplianceDefaults"];
|
|
17268
|
+
};
|
|
17269
|
+
};
|
|
17270
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17271
|
+
400: {
|
|
17272
|
+
headers: {
|
|
17273
|
+
[name: string]: unknown;
|
|
17274
|
+
};
|
|
17275
|
+
content: {
|
|
17276
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17277
|
+
};
|
|
17278
|
+
};
|
|
17279
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17280
|
+
401: {
|
|
17281
|
+
headers: {
|
|
17282
|
+
[name: string]: unknown;
|
|
17283
|
+
};
|
|
17284
|
+
content: {
|
|
17285
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17286
|
+
};
|
|
17287
|
+
};
|
|
17288
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17289
|
+
403: {
|
|
17290
|
+
headers: {
|
|
17291
|
+
[name: string]: unknown;
|
|
17292
|
+
};
|
|
17293
|
+
content: {
|
|
17294
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17295
|
+
};
|
|
17296
|
+
};
|
|
17297
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17298
|
+
404: {
|
|
17299
|
+
headers: {
|
|
17300
|
+
[name: string]: unknown;
|
|
17301
|
+
};
|
|
17302
|
+
content: {
|
|
17303
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17304
|
+
};
|
|
17305
|
+
};
|
|
17306
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17307
|
+
429: {
|
|
17308
|
+
headers: {
|
|
17309
|
+
[name: string]: unknown;
|
|
17310
|
+
};
|
|
17311
|
+
content: {
|
|
17312
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17313
|
+
};
|
|
17314
|
+
};
|
|
17315
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17316
|
+
500: {
|
|
17317
|
+
headers: {
|
|
17318
|
+
[name: string]: unknown;
|
|
17319
|
+
};
|
|
17320
|
+
content: {
|
|
17321
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17322
|
+
};
|
|
17323
|
+
};
|
|
17324
|
+
};
|
|
17325
|
+
};
|
|
17326
|
+
admin_stores_compliance_defaults_partial_update: {
|
|
17327
|
+
parameters: {
|
|
17328
|
+
query?: never;
|
|
17329
|
+
header?: {
|
|
17330
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17331
|
+
"X-Sous-Company-Id"?: number;
|
|
17332
|
+
};
|
|
17333
|
+
path: {
|
|
17334
|
+
store_public_id: string;
|
|
17335
|
+
};
|
|
17336
|
+
cookie?: never;
|
|
17337
|
+
};
|
|
17338
|
+
requestBody?: {
|
|
17339
|
+
content: {
|
|
17340
|
+
"application/json": components["schemas"]["PatchedAdminStoreComplianceDefaults"];
|
|
17341
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedAdminStoreComplianceDefaults"];
|
|
17342
|
+
"multipart/form-data": components["schemas"]["PatchedAdminStoreComplianceDefaults"];
|
|
17343
|
+
};
|
|
17344
|
+
};
|
|
17345
|
+
responses: {
|
|
17346
|
+
200: {
|
|
17347
|
+
headers: {
|
|
17348
|
+
[name: string]: unknown;
|
|
17349
|
+
};
|
|
17350
|
+
content: {
|
|
17351
|
+
"application/json": components["schemas"]["AdminStoreComplianceDefaults"];
|
|
17352
|
+
};
|
|
17353
|
+
};
|
|
17354
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17355
|
+
400: {
|
|
17356
|
+
headers: {
|
|
17357
|
+
[name: string]: unknown;
|
|
17358
|
+
};
|
|
17359
|
+
content: {
|
|
17360
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17361
|
+
};
|
|
17362
|
+
};
|
|
17363
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17364
|
+
401: {
|
|
17365
|
+
headers: {
|
|
17366
|
+
[name: string]: unknown;
|
|
17367
|
+
};
|
|
17368
|
+
content: {
|
|
17369
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17370
|
+
};
|
|
17371
|
+
};
|
|
17372
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17373
|
+
403: {
|
|
17374
|
+
headers: {
|
|
17375
|
+
[name: string]: unknown;
|
|
17376
|
+
};
|
|
17377
|
+
content: {
|
|
17378
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17379
|
+
};
|
|
17380
|
+
};
|
|
17381
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17382
|
+
404: {
|
|
17383
|
+
headers: {
|
|
17384
|
+
[name: string]: unknown;
|
|
17385
|
+
};
|
|
17386
|
+
content: {
|
|
17387
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17388
|
+
};
|
|
17389
|
+
};
|
|
17390
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17391
|
+
429: {
|
|
17392
|
+
headers: {
|
|
17393
|
+
[name: string]: unknown;
|
|
17394
|
+
};
|
|
17395
|
+
content: {
|
|
17396
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17397
|
+
};
|
|
17398
|
+
};
|
|
17399
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17400
|
+
500: {
|
|
17401
|
+
headers: {
|
|
17402
|
+
[name: string]: unknown;
|
|
17403
|
+
};
|
|
17404
|
+
content: {
|
|
17405
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17406
|
+
};
|
|
17407
|
+
};
|
|
17408
|
+
};
|
|
17409
|
+
};
|
|
17410
|
+
admin_stores_compliance_schema_retrieve: {
|
|
17411
|
+
parameters: {
|
|
17412
|
+
query: {
|
|
17413
|
+
/** @description Language code for translated labels. Defaults to 'en'. */
|
|
17414
|
+
lang?: string;
|
|
17415
|
+
/** @description ProductType slug, e.g. 'product' or 'food-product' (products.constants.PLATFORM_PRODUCT_TYPES). */
|
|
17416
|
+
product_type: string;
|
|
17417
|
+
};
|
|
17418
|
+
header?: {
|
|
17419
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17420
|
+
"X-Sous-Company-Id"?: number;
|
|
17421
|
+
};
|
|
17422
|
+
path: {
|
|
17423
|
+
store_public_id: string;
|
|
17424
|
+
};
|
|
17425
|
+
cookie?: never;
|
|
17426
|
+
};
|
|
17427
|
+
requestBody?: never;
|
|
17428
|
+
responses: {
|
|
17429
|
+
200: {
|
|
17430
|
+
headers: {
|
|
17431
|
+
[name: string]: unknown;
|
|
17432
|
+
};
|
|
17433
|
+
content: {
|
|
17434
|
+
"application/json": components["schemas"]["ComplianceSchemaResponse"];
|
|
17435
|
+
};
|
|
17436
|
+
};
|
|
17437
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17438
|
+
400: {
|
|
17439
|
+
headers: {
|
|
17440
|
+
[name: string]: unknown;
|
|
17441
|
+
};
|
|
17442
|
+
content: {
|
|
17443
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17444
|
+
};
|
|
17445
|
+
};
|
|
17446
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17447
|
+
401: {
|
|
17448
|
+
headers: {
|
|
17449
|
+
[name: string]: unknown;
|
|
17450
|
+
};
|
|
17451
|
+
content: {
|
|
17452
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17453
|
+
};
|
|
17454
|
+
};
|
|
17455
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17456
|
+
403: {
|
|
17457
|
+
headers: {
|
|
17458
|
+
[name: string]: unknown;
|
|
17459
|
+
};
|
|
17460
|
+
content: {
|
|
17461
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17462
|
+
};
|
|
17463
|
+
};
|
|
17464
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17465
|
+
404: {
|
|
17466
|
+
headers: {
|
|
17467
|
+
[name: string]: unknown;
|
|
17468
|
+
};
|
|
17469
|
+
content: {
|
|
17470
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17471
|
+
};
|
|
17472
|
+
};
|
|
17473
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17474
|
+
429: {
|
|
17475
|
+
headers: {
|
|
17476
|
+
[name: string]: unknown;
|
|
17477
|
+
};
|
|
17478
|
+
content: {
|
|
17479
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17480
|
+
};
|
|
17481
|
+
};
|
|
17482
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17483
|
+
500: {
|
|
17484
|
+
headers: {
|
|
17485
|
+
[name: string]: unknown;
|
|
17486
|
+
};
|
|
17487
|
+
content: {
|
|
17488
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17489
|
+
};
|
|
17490
|
+
};
|
|
17491
|
+
};
|
|
17492
|
+
};
|
|
17493
|
+
admin_stores_delivery_areas_list: {
|
|
17494
|
+
parameters: {
|
|
17495
|
+
query?: never;
|
|
17496
|
+
header?: {
|
|
17497
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17498
|
+
"X-Sous-Company-Id"?: number;
|
|
17499
|
+
};
|
|
17500
|
+
path: {
|
|
17501
|
+
store_public_id: string;
|
|
17502
|
+
};
|
|
17503
|
+
cookie?: never;
|
|
17504
|
+
};
|
|
17505
|
+
requestBody?: never;
|
|
17506
|
+
responses: {
|
|
17507
|
+
200: {
|
|
17508
|
+
headers: {
|
|
17509
|
+
[name: string]: unknown;
|
|
17510
|
+
};
|
|
17511
|
+
content: {
|
|
17512
|
+
"application/json": components["schemas"]["DeliveryArea"][];
|
|
17513
|
+
};
|
|
17514
|
+
};
|
|
17515
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17516
|
+
400: {
|
|
17517
|
+
headers: {
|
|
17518
|
+
[name: string]: unknown;
|
|
17519
|
+
};
|
|
17520
|
+
content: {
|
|
17521
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17522
|
+
};
|
|
17523
|
+
};
|
|
17524
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17525
|
+
401: {
|
|
17526
|
+
headers: {
|
|
17527
|
+
[name: string]: unknown;
|
|
17528
|
+
};
|
|
17529
|
+
content: {
|
|
17530
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17531
|
+
};
|
|
17532
|
+
};
|
|
17533
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17534
|
+
403: {
|
|
17535
|
+
headers: {
|
|
17536
|
+
[name: string]: unknown;
|
|
17537
|
+
};
|
|
17538
|
+
content: {
|
|
17539
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17540
|
+
};
|
|
17541
|
+
};
|
|
17542
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17543
|
+
404: {
|
|
17544
|
+
headers: {
|
|
17545
|
+
[name: string]: unknown;
|
|
17546
|
+
};
|
|
17547
|
+
content: {
|
|
17548
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17549
|
+
};
|
|
17550
|
+
};
|
|
17551
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17552
|
+
429: {
|
|
17553
|
+
headers: {
|
|
17554
|
+
[name: string]: unknown;
|
|
17555
|
+
};
|
|
17556
|
+
content: {
|
|
17557
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17558
|
+
};
|
|
17559
|
+
};
|
|
17560
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17561
|
+
500: {
|
|
17562
|
+
headers: {
|
|
17563
|
+
[name: string]: unknown;
|
|
17564
|
+
};
|
|
17565
|
+
content: {
|
|
17566
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17567
|
+
};
|
|
17568
|
+
};
|
|
17569
|
+
};
|
|
17570
|
+
};
|
|
17571
|
+
admin_stores_delivery_areas_create: {
|
|
17572
|
+
parameters: {
|
|
17573
|
+
query?: never;
|
|
17574
|
+
header?: {
|
|
17575
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17576
|
+
"X-Sous-Company-Id"?: number;
|
|
17577
|
+
};
|
|
17578
|
+
path: {
|
|
17579
|
+
store_public_id: string;
|
|
17580
|
+
};
|
|
17581
|
+
cookie?: never;
|
|
17582
|
+
};
|
|
17583
|
+
requestBody: {
|
|
17584
|
+
content: {
|
|
17585
|
+
"application/json": components["schemas"]["DeliveryArea"];
|
|
17586
|
+
"application/x-www-form-urlencoded": components["schemas"]["DeliveryArea"];
|
|
17587
|
+
"multipart/form-data": components["schemas"]["DeliveryArea"];
|
|
17588
|
+
};
|
|
17589
|
+
};
|
|
17590
|
+
responses: {
|
|
17591
|
+
201: {
|
|
17592
|
+
headers: {
|
|
17593
|
+
[name: string]: unknown;
|
|
17594
|
+
};
|
|
17595
|
+
content: {
|
|
17596
|
+
"application/json": components["schemas"]["DeliveryArea"];
|
|
17597
|
+
};
|
|
17598
|
+
};
|
|
17599
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17600
|
+
400: {
|
|
17601
|
+
headers: {
|
|
17602
|
+
[name: string]: unknown;
|
|
17603
|
+
};
|
|
17604
|
+
content: {
|
|
17605
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17606
|
+
};
|
|
17607
|
+
};
|
|
17608
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17609
|
+
401: {
|
|
17610
|
+
headers: {
|
|
17611
|
+
[name: string]: unknown;
|
|
17612
|
+
};
|
|
17613
|
+
content: {
|
|
17614
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17615
|
+
};
|
|
17616
|
+
};
|
|
17617
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17618
|
+
403: {
|
|
17619
|
+
headers: {
|
|
17620
|
+
[name: string]: unknown;
|
|
17621
|
+
};
|
|
17622
|
+
content: {
|
|
17623
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17624
|
+
};
|
|
17625
|
+
};
|
|
17626
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17627
|
+
404: {
|
|
17628
|
+
headers: {
|
|
17629
|
+
[name: string]: unknown;
|
|
17630
|
+
};
|
|
17631
|
+
content: {
|
|
17632
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17633
|
+
};
|
|
17634
|
+
};
|
|
17635
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17636
|
+
429: {
|
|
17637
|
+
headers: {
|
|
17638
|
+
[name: string]: unknown;
|
|
17639
|
+
};
|
|
17640
|
+
content: {
|
|
17641
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17642
|
+
};
|
|
17643
|
+
};
|
|
17644
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17645
|
+
500: {
|
|
17646
|
+
headers: {
|
|
17647
|
+
[name: string]: unknown;
|
|
17648
|
+
};
|
|
17649
|
+
content: {
|
|
17650
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17651
|
+
};
|
|
17652
|
+
};
|
|
17653
|
+
};
|
|
17654
|
+
};
|
|
17655
|
+
admin_stores_delivery_areas_destroy: {
|
|
17656
|
+
parameters: {
|
|
17657
|
+
query?: never;
|
|
17658
|
+
header?: {
|
|
17659
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17660
|
+
"X-Sous-Company-Id"?: number;
|
|
17661
|
+
};
|
|
17662
|
+
path: {
|
|
17663
|
+
shape_id: string;
|
|
17664
|
+
store_public_id: string;
|
|
17665
|
+
};
|
|
17666
|
+
cookie?: never;
|
|
17667
|
+
};
|
|
17668
|
+
requestBody?: never;
|
|
17669
|
+
responses: {
|
|
17670
|
+
/** @description No response body */
|
|
17671
|
+
204: {
|
|
17672
|
+
headers: {
|
|
17673
|
+
[name: string]: unknown;
|
|
17674
|
+
};
|
|
17675
|
+
content?: never;
|
|
17676
|
+
};
|
|
17677
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17678
|
+
400: {
|
|
17679
|
+
headers: {
|
|
17680
|
+
[name: string]: unknown;
|
|
17681
|
+
};
|
|
17682
|
+
content: {
|
|
17683
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17684
|
+
};
|
|
17685
|
+
};
|
|
17686
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17687
|
+
401: {
|
|
17688
|
+
headers: {
|
|
17689
|
+
[name: string]: unknown;
|
|
17690
|
+
};
|
|
17691
|
+
content: {
|
|
17692
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17693
|
+
};
|
|
17694
|
+
};
|
|
17695
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17696
|
+
403: {
|
|
17697
|
+
headers: {
|
|
17698
|
+
[name: string]: unknown;
|
|
17699
|
+
};
|
|
17700
|
+
content: {
|
|
17701
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17702
|
+
};
|
|
17703
|
+
};
|
|
17704
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17705
|
+
404: {
|
|
17706
|
+
headers: {
|
|
17707
|
+
[name: string]: unknown;
|
|
17708
|
+
};
|
|
17709
|
+
content: {
|
|
17710
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17711
|
+
};
|
|
17712
|
+
};
|
|
17713
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17714
|
+
429: {
|
|
17715
|
+
headers: {
|
|
17716
|
+
[name: string]: unknown;
|
|
17717
|
+
};
|
|
17718
|
+
content: {
|
|
17719
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17720
|
+
};
|
|
17721
|
+
};
|
|
17722
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17723
|
+
500: {
|
|
17724
|
+
headers: {
|
|
17725
|
+
[name: string]: unknown;
|
|
17726
|
+
};
|
|
17727
|
+
content: {
|
|
17728
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17729
|
+
};
|
|
17730
|
+
};
|
|
17731
|
+
};
|
|
17732
|
+
};
|
|
17733
|
+
admin_stores_delivery_areas_partial_update: {
|
|
17734
|
+
parameters: {
|
|
17735
|
+
query?: never;
|
|
17736
|
+
header?: {
|
|
17737
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17738
|
+
"X-Sous-Company-Id"?: number;
|
|
17739
|
+
};
|
|
17740
|
+
path: {
|
|
17741
|
+
shape_id: string;
|
|
17742
|
+
store_public_id: string;
|
|
17743
|
+
};
|
|
17744
|
+
cookie?: never;
|
|
17745
|
+
};
|
|
17746
|
+
requestBody?: {
|
|
17747
|
+
content: {
|
|
17748
|
+
"application/json": components["schemas"]["PatchedDeliveryAreaUpdate"];
|
|
17749
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedDeliveryAreaUpdate"];
|
|
17750
|
+
"multipart/form-data": components["schemas"]["PatchedDeliveryAreaUpdate"];
|
|
17751
|
+
};
|
|
17752
|
+
};
|
|
17753
|
+
responses: {
|
|
17754
|
+
200: {
|
|
17755
|
+
headers: {
|
|
17756
|
+
[name: string]: unknown;
|
|
17757
|
+
};
|
|
17758
|
+
content: {
|
|
17759
|
+
"application/json": components["schemas"]["DeliveryArea"];
|
|
17760
|
+
};
|
|
17761
|
+
};
|
|
17762
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17763
|
+
400: {
|
|
17764
|
+
headers: {
|
|
17765
|
+
[name: string]: unknown;
|
|
17766
|
+
};
|
|
17767
|
+
content: {
|
|
17768
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17769
|
+
};
|
|
17770
|
+
};
|
|
17771
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17772
|
+
401: {
|
|
17773
|
+
headers: {
|
|
17774
|
+
[name: string]: unknown;
|
|
17775
|
+
};
|
|
17776
|
+
content: {
|
|
17777
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17778
|
+
};
|
|
17779
|
+
};
|
|
17780
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17781
|
+
403: {
|
|
17782
|
+
headers: {
|
|
17783
|
+
[name: string]: unknown;
|
|
17784
|
+
};
|
|
17785
|
+
content: {
|
|
17786
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17787
|
+
};
|
|
17788
|
+
};
|
|
17789
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17790
|
+
404: {
|
|
17791
|
+
headers: {
|
|
17792
|
+
[name: string]: unknown;
|
|
17793
|
+
};
|
|
17794
|
+
content: {
|
|
17795
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17796
|
+
};
|
|
17797
|
+
};
|
|
17798
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17799
|
+
429: {
|
|
17800
|
+
headers: {
|
|
17801
|
+
[name: string]: unknown;
|
|
17802
|
+
};
|
|
17803
|
+
content: {
|
|
17804
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17805
|
+
};
|
|
17806
|
+
};
|
|
17807
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17808
|
+
500: {
|
|
17809
|
+
headers: {
|
|
17810
|
+
[name: string]: unknown;
|
|
17811
|
+
};
|
|
17812
|
+
content: {
|
|
17813
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17814
|
+
};
|
|
17815
|
+
};
|
|
17816
|
+
};
|
|
17817
|
+
};
|
|
17818
|
+
admin_stores_delivery_exclusions_list: {
|
|
17819
|
+
parameters: {
|
|
17820
|
+
query?: never;
|
|
17821
|
+
header?: {
|
|
17822
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17823
|
+
"X-Sous-Company-Id"?: number;
|
|
17824
|
+
};
|
|
17825
|
+
path: {
|
|
17826
|
+
store_public_id: string;
|
|
17827
|
+
};
|
|
17828
|
+
cookie?: never;
|
|
17829
|
+
};
|
|
17830
|
+
requestBody?: never;
|
|
17831
|
+
responses: {
|
|
17832
|
+
200: {
|
|
17833
|
+
headers: {
|
|
17834
|
+
[name: string]: unknown;
|
|
17835
|
+
};
|
|
17836
|
+
content: {
|
|
17837
|
+
"application/json": components["schemas"]["DeliveryExclusion"][];
|
|
17838
|
+
};
|
|
17839
|
+
};
|
|
17840
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17841
|
+
400: {
|
|
17842
|
+
headers: {
|
|
17843
|
+
[name: string]: unknown;
|
|
17844
|
+
};
|
|
17845
|
+
content: {
|
|
17846
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17847
|
+
};
|
|
17848
|
+
};
|
|
17849
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17850
|
+
401: {
|
|
17851
|
+
headers: {
|
|
17852
|
+
[name: string]: unknown;
|
|
17853
|
+
};
|
|
17854
|
+
content: {
|
|
17855
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17856
|
+
};
|
|
17857
|
+
};
|
|
17858
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17859
|
+
403: {
|
|
17860
|
+
headers: {
|
|
17861
|
+
[name: string]: unknown;
|
|
17862
|
+
};
|
|
17863
|
+
content: {
|
|
17864
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17865
|
+
};
|
|
17866
|
+
};
|
|
17867
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17868
|
+
404: {
|
|
17869
|
+
headers: {
|
|
17870
|
+
[name: string]: unknown;
|
|
17871
|
+
};
|
|
17872
|
+
content: {
|
|
17873
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17874
|
+
};
|
|
17875
|
+
};
|
|
17876
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17877
|
+
429: {
|
|
17878
|
+
headers: {
|
|
17879
|
+
[name: string]: unknown;
|
|
17880
|
+
};
|
|
17881
|
+
content: {
|
|
17882
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17883
|
+
};
|
|
17884
|
+
};
|
|
17885
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17886
|
+
500: {
|
|
17887
|
+
headers: {
|
|
17888
|
+
[name: string]: unknown;
|
|
17889
|
+
};
|
|
17890
|
+
content: {
|
|
17891
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17892
|
+
};
|
|
17893
|
+
};
|
|
17894
|
+
};
|
|
17895
|
+
};
|
|
17896
|
+
admin_stores_delivery_exclusions_create: {
|
|
17897
|
+
parameters: {
|
|
17898
|
+
query?: never;
|
|
17899
|
+
header?: {
|
|
17900
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17901
|
+
"X-Sous-Company-Id"?: number;
|
|
17902
|
+
};
|
|
17903
|
+
path: {
|
|
17904
|
+
store_public_id: string;
|
|
17905
|
+
};
|
|
17906
|
+
cookie?: never;
|
|
17907
|
+
};
|
|
17908
|
+
requestBody: {
|
|
17909
|
+
content: {
|
|
17910
|
+
"application/json": components["schemas"]["DeliveryExclusion"];
|
|
17911
|
+
"application/x-www-form-urlencoded": components["schemas"]["DeliveryExclusion"];
|
|
17912
|
+
"multipart/form-data": components["schemas"]["DeliveryExclusion"];
|
|
17913
|
+
};
|
|
17914
|
+
};
|
|
17915
|
+
responses: {
|
|
17916
|
+
201: {
|
|
16148
17917
|
headers: {
|
|
16149
17918
|
[name: string]: unknown;
|
|
16150
17919
|
};
|
|
16151
17920
|
content: {
|
|
16152
|
-
"application/json": components["schemas"]["
|
|
17921
|
+
"application/json": components["schemas"]["DeliveryExclusion"];
|
|
16153
17922
|
};
|
|
16154
17923
|
};
|
|
16155
17924
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16208,7 +17977,7 @@ interface operations {
|
|
|
16208
17977
|
};
|
|
16209
17978
|
};
|
|
16210
17979
|
};
|
|
16211
|
-
|
|
17980
|
+
admin_stores_delivery_exclusions_destroy: {
|
|
16212
17981
|
parameters: {
|
|
16213
17982
|
query?: never;
|
|
16214
17983
|
header?: {
|
|
@@ -16216,20 +17985,19 @@ interface operations {
|
|
|
16216
17985
|
"X-Sous-Company-Id"?: number;
|
|
16217
17986
|
};
|
|
16218
17987
|
path: {
|
|
16219
|
-
|
|
16220
|
-
|
|
17988
|
+
shape_id: string;
|
|
17989
|
+
store_public_id: string;
|
|
16221
17990
|
};
|
|
16222
17991
|
cookie?: never;
|
|
16223
17992
|
};
|
|
16224
17993
|
requestBody?: never;
|
|
16225
17994
|
responses: {
|
|
16226
|
-
|
|
17995
|
+
/** @description No response body */
|
|
17996
|
+
204: {
|
|
16227
17997
|
headers: {
|
|
16228
17998
|
[name: string]: unknown;
|
|
16229
17999
|
};
|
|
16230
|
-
content
|
|
16231
|
-
"application/json": components["schemas"]["AdminPromotion"];
|
|
16232
|
-
};
|
|
18000
|
+
content?: never;
|
|
16233
18001
|
};
|
|
16234
18002
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16235
18003
|
400: {
|
|
@@ -16287,7 +18055,7 @@ interface operations {
|
|
|
16287
18055
|
};
|
|
16288
18056
|
};
|
|
16289
18057
|
};
|
|
16290
|
-
|
|
18058
|
+
admin_stores_delivery_exclusions_partial_update: {
|
|
16291
18059
|
parameters: {
|
|
16292
18060
|
query?: never;
|
|
16293
18061
|
header?: {
|
|
@@ -16295,16 +18063,16 @@ interface operations {
|
|
|
16295
18063
|
"X-Sous-Company-Id"?: number;
|
|
16296
18064
|
};
|
|
16297
18065
|
path: {
|
|
16298
|
-
|
|
16299
|
-
|
|
18066
|
+
shape_id: string;
|
|
18067
|
+
store_public_id: string;
|
|
16300
18068
|
};
|
|
16301
18069
|
cookie?: never;
|
|
16302
18070
|
};
|
|
16303
|
-
requestBody
|
|
18071
|
+
requestBody?: {
|
|
16304
18072
|
content: {
|
|
16305
|
-
"application/json": components["schemas"]["
|
|
16306
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
16307
|
-
"multipart/form-data": components["schemas"]["
|
|
18073
|
+
"application/json": components["schemas"]["PatchedDeliveryExclusionUpdate"];
|
|
18074
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedDeliveryExclusionUpdate"];
|
|
18075
|
+
"multipart/form-data": components["schemas"]["PatchedDeliveryExclusionUpdate"];
|
|
16308
18076
|
};
|
|
16309
18077
|
};
|
|
16310
18078
|
responses: {
|
|
@@ -16313,7 +18081,7 @@ interface operations {
|
|
|
16313
18081
|
[name: string]: unknown;
|
|
16314
18082
|
};
|
|
16315
18083
|
content: {
|
|
16316
|
-
"application/json": components["schemas"]["
|
|
18084
|
+
"application/json": components["schemas"]["DeliveryExclusion"];
|
|
16317
18085
|
};
|
|
16318
18086
|
};
|
|
16319
18087
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16372,7 +18140,7 @@ interface operations {
|
|
|
16372
18140
|
};
|
|
16373
18141
|
};
|
|
16374
18142
|
};
|
|
16375
|
-
|
|
18143
|
+
admin_stores_delivery_fee_retrieve: {
|
|
16376
18144
|
parameters: {
|
|
16377
18145
|
query?: never;
|
|
16378
18146
|
header?: {
|
|
@@ -16380,19 +18148,19 @@ interface operations {
|
|
|
16380
18148
|
"X-Sous-Company-Id"?: number;
|
|
16381
18149
|
};
|
|
16382
18150
|
path: {
|
|
16383
|
-
|
|
16384
|
-
id: number;
|
|
18151
|
+
store_public_id: string;
|
|
16385
18152
|
};
|
|
16386
18153
|
cookie?: never;
|
|
16387
18154
|
};
|
|
16388
18155
|
requestBody?: never;
|
|
16389
18156
|
responses: {
|
|
16390
|
-
|
|
16391
|
-
204: {
|
|
18157
|
+
200: {
|
|
16392
18158
|
headers: {
|
|
16393
18159
|
[name: string]: unknown;
|
|
16394
18160
|
};
|
|
16395
|
-
content
|
|
18161
|
+
content: {
|
|
18162
|
+
"application/json": components["schemas"]["DeliveryFee"];
|
|
18163
|
+
};
|
|
16396
18164
|
};
|
|
16397
18165
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16398
18166
|
400: {
|
|
@@ -16450,7 +18218,7 @@ interface operations {
|
|
|
16450
18218
|
};
|
|
16451
18219
|
};
|
|
16452
18220
|
};
|
|
16453
|
-
|
|
18221
|
+
admin_stores_delivery_fee_update: {
|
|
16454
18222
|
parameters: {
|
|
16455
18223
|
query?: never;
|
|
16456
18224
|
header?: {
|
|
@@ -16458,16 +18226,15 @@ interface operations {
|
|
|
16458
18226
|
"X-Sous-Company-Id"?: number;
|
|
16459
18227
|
};
|
|
16460
18228
|
path: {
|
|
16461
|
-
|
|
16462
|
-
id: number;
|
|
18229
|
+
store_public_id: string;
|
|
16463
18230
|
};
|
|
16464
18231
|
cookie?: never;
|
|
16465
18232
|
};
|
|
16466
|
-
requestBody
|
|
18233
|
+
requestBody: {
|
|
16467
18234
|
content: {
|
|
16468
|
-
"application/json": components["schemas"]["
|
|
16469
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
16470
|
-
"multipart/form-data": components["schemas"]["
|
|
18235
|
+
"application/json": components["schemas"]["DeliveryFee"];
|
|
18236
|
+
"application/x-www-form-urlencoded": components["schemas"]["DeliveryFee"];
|
|
18237
|
+
"multipart/form-data": components["schemas"]["DeliveryFee"];
|
|
16471
18238
|
};
|
|
16472
18239
|
};
|
|
16473
18240
|
responses: {
|
|
@@ -16476,7 +18243,7 @@ interface operations {
|
|
|
16476
18243
|
[name: string]: unknown;
|
|
16477
18244
|
};
|
|
16478
18245
|
content: {
|
|
16479
|
-
"application/json": components["schemas"]["
|
|
18246
|
+
"application/json": components["schemas"]["DeliveryFee"];
|
|
16480
18247
|
};
|
|
16481
18248
|
};
|
|
16482
18249
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16535,14 +18302,16 @@ interface operations {
|
|
|
16535
18302
|
};
|
|
16536
18303
|
};
|
|
16537
18304
|
};
|
|
16538
|
-
|
|
18305
|
+
admin_stores_delivery_fee_split_retrieve: {
|
|
16539
18306
|
parameters: {
|
|
16540
18307
|
query?: never;
|
|
16541
18308
|
header?: {
|
|
16542
18309
|
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
16543
18310
|
"X-Sous-Company-Id"?: number;
|
|
16544
18311
|
};
|
|
16545
|
-
path
|
|
18312
|
+
path: {
|
|
18313
|
+
store_public_id: string;
|
|
18314
|
+
};
|
|
16546
18315
|
cookie?: never;
|
|
16547
18316
|
};
|
|
16548
18317
|
requestBody?: never;
|
|
@@ -16552,7 +18321,7 @@ interface operations {
|
|
|
16552
18321
|
[name: string]: unknown;
|
|
16553
18322
|
};
|
|
16554
18323
|
content: {
|
|
16555
|
-
"application/json": components["schemas"]["
|
|
18324
|
+
"application/json": components["schemas"]["AdminStoreDeliveryFeeSplit"];
|
|
16556
18325
|
};
|
|
16557
18326
|
};
|
|
16558
18327
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16611,7 +18380,7 @@ interface operations {
|
|
|
16611
18380
|
};
|
|
16612
18381
|
};
|
|
16613
18382
|
};
|
|
16614
|
-
|
|
18383
|
+
admin_stores_delivery_fee_split_partial_update: {
|
|
16615
18384
|
parameters: {
|
|
16616
18385
|
query?: never;
|
|
16617
18386
|
header?: {
|
|
@@ -16623,14 +18392,20 @@ interface operations {
|
|
|
16623
18392
|
};
|
|
16624
18393
|
cookie?: never;
|
|
16625
18394
|
};
|
|
16626
|
-
requestBody?:
|
|
18395
|
+
requestBody?: {
|
|
18396
|
+
content: {
|
|
18397
|
+
"application/json": components["schemas"]["PatchedAdminStoreDeliveryFeeSplit"];
|
|
18398
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedAdminStoreDeliveryFeeSplit"];
|
|
18399
|
+
"multipart/form-data": components["schemas"]["PatchedAdminStoreDeliveryFeeSplit"];
|
|
18400
|
+
};
|
|
18401
|
+
};
|
|
16627
18402
|
responses: {
|
|
16628
18403
|
200: {
|
|
16629
18404
|
headers: {
|
|
16630
18405
|
[name: string]: unknown;
|
|
16631
18406
|
};
|
|
16632
18407
|
content: {
|
|
16633
|
-
"application/json": components["schemas"]["
|
|
18408
|
+
"application/json": components["schemas"]["AdminStoreDeliveryFeeSplit"];
|
|
16634
18409
|
};
|
|
16635
18410
|
};
|
|
16636
18411
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16689,7 +18464,7 @@ interface operations {
|
|
|
16689
18464
|
};
|
|
16690
18465
|
};
|
|
16691
18466
|
};
|
|
16692
|
-
|
|
18467
|
+
admin_stores_locations_delivery_methods_list: {
|
|
16693
18468
|
parameters: {
|
|
16694
18469
|
query?: never;
|
|
16695
18470
|
header?: {
|
|
@@ -16697,24 +18472,19 @@ interface operations {
|
|
|
16697
18472
|
"X-Sous-Company-Id"?: number;
|
|
16698
18473
|
};
|
|
16699
18474
|
path: {
|
|
18475
|
+
location_public_id: string;
|
|
16700
18476
|
store_public_id: string;
|
|
16701
18477
|
};
|
|
16702
18478
|
cookie?: never;
|
|
16703
18479
|
};
|
|
16704
|
-
requestBody
|
|
16705
|
-
content: {
|
|
16706
|
-
"application/json": components["schemas"]["BaseCoverage"];
|
|
16707
|
-
"application/x-www-form-urlencoded": components["schemas"]["BaseCoverage"];
|
|
16708
|
-
"multipart/form-data": components["schemas"]["BaseCoverage"];
|
|
16709
|
-
};
|
|
16710
|
-
};
|
|
18480
|
+
requestBody?: never;
|
|
16711
18481
|
responses: {
|
|
16712
18482
|
200: {
|
|
16713
18483
|
headers: {
|
|
16714
18484
|
[name: string]: unknown;
|
|
16715
18485
|
};
|
|
16716
18486
|
content: {
|
|
16717
|
-
"application/json": components["schemas"]["
|
|
18487
|
+
"application/json": components["schemas"]["StoreDeliveryMethodConfig"][];
|
|
16718
18488
|
};
|
|
16719
18489
|
};
|
|
16720
18490
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16773,7 +18543,7 @@ interface operations {
|
|
|
16773
18543
|
};
|
|
16774
18544
|
};
|
|
16775
18545
|
};
|
|
16776
|
-
|
|
18546
|
+
admin_stores_locations_delivery_methods_partial_update: {
|
|
16777
18547
|
parameters: {
|
|
16778
18548
|
query?: never;
|
|
16779
18549
|
header?: {
|
|
@@ -16781,18 +18551,26 @@ interface operations {
|
|
|
16781
18551
|
"X-Sous-Company-Id"?: number;
|
|
16782
18552
|
};
|
|
16783
18553
|
path: {
|
|
18554
|
+
location_public_id: string;
|
|
18555
|
+
method: string;
|
|
16784
18556
|
store_public_id: string;
|
|
16785
18557
|
};
|
|
16786
18558
|
cookie?: never;
|
|
16787
18559
|
};
|
|
16788
|
-
requestBody?:
|
|
18560
|
+
requestBody?: {
|
|
18561
|
+
content: {
|
|
18562
|
+
"application/json": components["schemas"]["PatchedSetStoreDeliveryMethod"];
|
|
18563
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedSetStoreDeliveryMethod"];
|
|
18564
|
+
"multipart/form-data": components["schemas"]["PatchedSetStoreDeliveryMethod"];
|
|
18565
|
+
};
|
|
18566
|
+
};
|
|
16789
18567
|
responses: {
|
|
16790
18568
|
200: {
|
|
16791
18569
|
headers: {
|
|
16792
18570
|
[name: string]: unknown;
|
|
16793
18571
|
};
|
|
16794
18572
|
content: {
|
|
16795
|
-
"application/json": components["schemas"]["
|
|
18573
|
+
"application/json": components["schemas"]["StoreDeliveryMethodConfig"];
|
|
16796
18574
|
};
|
|
16797
18575
|
};
|
|
16798
18576
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16851,7 +18629,7 @@ interface operations {
|
|
|
16851
18629
|
};
|
|
16852
18630
|
};
|
|
16853
18631
|
};
|
|
16854
|
-
|
|
18632
|
+
admin_stores_options_library_retrieve: {
|
|
16855
18633
|
parameters: {
|
|
16856
18634
|
query?: never;
|
|
16857
18635
|
header?: {
|
|
@@ -16863,20 +18641,14 @@ interface operations {
|
|
|
16863
18641
|
};
|
|
16864
18642
|
cookie?: never;
|
|
16865
18643
|
};
|
|
16866
|
-
requestBody?:
|
|
16867
|
-
content: {
|
|
16868
|
-
"application/json": components["schemas"]["PatchedAdminStoreComplianceDefaults"];
|
|
16869
|
-
"application/x-www-form-urlencoded": components["schemas"]["PatchedAdminStoreComplianceDefaults"];
|
|
16870
|
-
"multipart/form-data": components["schemas"]["PatchedAdminStoreComplianceDefaults"];
|
|
16871
|
-
};
|
|
16872
|
-
};
|
|
18644
|
+
requestBody?: never;
|
|
16873
18645
|
responses: {
|
|
16874
18646
|
200: {
|
|
16875
18647
|
headers: {
|
|
16876
18648
|
[name: string]: unknown;
|
|
16877
18649
|
};
|
|
16878
18650
|
content: {
|
|
16879
|
-
"application/json": components["schemas"]["
|
|
18651
|
+
"application/json": components["schemas"]["LibrarySummary"];
|
|
16880
18652
|
};
|
|
16881
18653
|
};
|
|
16882
18654
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16935,14 +18707,9 @@ interface operations {
|
|
|
16935
18707
|
};
|
|
16936
18708
|
};
|
|
16937
18709
|
};
|
|
16938
|
-
|
|
18710
|
+
admin_stores_options_library_channels_retrieve: {
|
|
16939
18711
|
parameters: {
|
|
16940
|
-
query
|
|
16941
|
-
/** @description Language code for translated labels. Defaults to 'en'. */
|
|
16942
|
-
lang?: string;
|
|
16943
|
-
/** @description ProductType slug, e.g. 'product' or 'food-product' (products.constants.PLATFORM_PRODUCT_TYPES). */
|
|
16944
|
-
product_type: string;
|
|
16945
|
-
};
|
|
18712
|
+
query?: never;
|
|
16946
18713
|
header?: {
|
|
16947
18714
|
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
16948
18715
|
"X-Sous-Company-Id"?: number;
|
|
@@ -16959,7 +18726,7 @@ interface operations {
|
|
|
16959
18726
|
[name: string]: unknown;
|
|
16960
18727
|
};
|
|
16961
18728
|
content: {
|
|
16962
|
-
"application/json": components["schemas"]["
|
|
18729
|
+
"application/json": components["schemas"]["Channels"];
|
|
16963
18730
|
};
|
|
16964
18731
|
};
|
|
16965
18732
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -17018,7 +18785,7 @@ interface operations {
|
|
|
17018
18785
|
};
|
|
17019
18786
|
};
|
|
17020
18787
|
};
|
|
17021
|
-
|
|
18788
|
+
admin_stores_options_library_groups_list: {
|
|
17022
18789
|
parameters: {
|
|
17023
18790
|
query?: never;
|
|
17024
18791
|
header?: {
|
|
@@ -17037,7 +18804,7 @@ interface operations {
|
|
|
17037
18804
|
[name: string]: unknown;
|
|
17038
18805
|
};
|
|
17039
18806
|
content: {
|
|
17040
|
-
"application/json": components["schemas"]["
|
|
18807
|
+
"application/json": components["schemas"]["LibraryGroup"][];
|
|
17041
18808
|
};
|
|
17042
18809
|
};
|
|
17043
18810
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -17096,7 +18863,7 @@ interface operations {
|
|
|
17096
18863
|
};
|
|
17097
18864
|
};
|
|
17098
18865
|
};
|
|
17099
|
-
|
|
18866
|
+
admin_stores_options_library_groups_create: {
|
|
17100
18867
|
parameters: {
|
|
17101
18868
|
query?: never;
|
|
17102
18869
|
header?: {
|
|
@@ -17110,9 +18877,9 @@ interface operations {
|
|
|
17110
18877
|
};
|
|
17111
18878
|
requestBody: {
|
|
17112
18879
|
content: {
|
|
17113
|
-
"application/json": components["schemas"]["
|
|
17114
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
17115
|
-
"multipart/form-data": components["schemas"]["
|
|
18880
|
+
"application/json": components["schemas"]["GroupWrite"];
|
|
18881
|
+
"application/x-www-form-urlencoded": components["schemas"]["GroupWrite"];
|
|
18882
|
+
"multipart/form-data": components["schemas"]["GroupWrite"];
|
|
17116
18883
|
};
|
|
17117
18884
|
};
|
|
17118
18885
|
responses: {
|
|
@@ -17121,7 +18888,7 @@ interface operations {
|
|
|
17121
18888
|
[name: string]: unknown;
|
|
17122
18889
|
};
|
|
17123
18890
|
content: {
|
|
17124
|
-
"application/json": components["schemas"]["
|
|
18891
|
+
"application/json": components["schemas"]["LibraryGroup"];
|
|
17125
18892
|
};
|
|
17126
18893
|
};
|
|
17127
18894
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -17180,7 +18947,7 @@ interface operations {
|
|
|
17180
18947
|
};
|
|
17181
18948
|
};
|
|
17182
18949
|
};
|
|
17183
|
-
|
|
18950
|
+
admin_stores_options_library_groups_destroy: {
|
|
17184
18951
|
parameters: {
|
|
17185
18952
|
query?: never;
|
|
17186
18953
|
header?: {
|
|
@@ -17188,19 +18955,20 @@ interface operations {
|
|
|
17188
18955
|
"X-Sous-Company-Id"?: number;
|
|
17189
18956
|
};
|
|
17190
18957
|
path: {
|
|
17191
|
-
|
|
18958
|
+
group_id: number;
|
|
17192
18959
|
store_public_id: string;
|
|
17193
18960
|
};
|
|
17194
18961
|
cookie?: never;
|
|
17195
18962
|
};
|
|
17196
18963
|
requestBody?: never;
|
|
17197
18964
|
responses: {
|
|
17198
|
-
|
|
17199
|
-
204: {
|
|
18965
|
+
200: {
|
|
17200
18966
|
headers: {
|
|
17201
18967
|
[name: string]: unknown;
|
|
17202
18968
|
};
|
|
17203
|
-
content
|
|
18969
|
+
content: {
|
|
18970
|
+
"application/json": components["schemas"]["ProductsAffected"];
|
|
18971
|
+
};
|
|
17204
18972
|
};
|
|
17205
18973
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17206
18974
|
400: {
|
|
@@ -17258,7 +19026,7 @@ interface operations {
|
|
|
17258
19026
|
};
|
|
17259
19027
|
};
|
|
17260
19028
|
};
|
|
17261
|
-
|
|
19029
|
+
admin_stores_options_library_groups_partial_update: {
|
|
17262
19030
|
parameters: {
|
|
17263
19031
|
query?: never;
|
|
17264
19032
|
header?: {
|
|
@@ -17266,16 +19034,16 @@ interface operations {
|
|
|
17266
19034
|
"X-Sous-Company-Id"?: number;
|
|
17267
19035
|
};
|
|
17268
19036
|
path: {
|
|
17269
|
-
|
|
19037
|
+
group_id: number;
|
|
17270
19038
|
store_public_id: string;
|
|
17271
19039
|
};
|
|
17272
19040
|
cookie?: never;
|
|
17273
19041
|
};
|
|
17274
19042
|
requestBody?: {
|
|
17275
19043
|
content: {
|
|
17276
|
-
"application/json": components["schemas"]["
|
|
17277
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
17278
|
-
"multipart/form-data": components["schemas"]["
|
|
19044
|
+
"application/json": components["schemas"]["PatchedGroupWrite"];
|
|
19045
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedGroupWrite"];
|
|
19046
|
+
"multipart/form-data": components["schemas"]["PatchedGroupWrite"];
|
|
17279
19047
|
};
|
|
17280
19048
|
};
|
|
17281
19049
|
responses: {
|
|
@@ -17284,7 +19052,7 @@ interface operations {
|
|
|
17284
19052
|
[name: string]: unknown;
|
|
17285
19053
|
};
|
|
17286
19054
|
content: {
|
|
17287
|
-
"application/json": components["schemas"]["
|
|
19055
|
+
"application/json": components["schemas"]["GroupEditResult"];
|
|
17288
19056
|
};
|
|
17289
19057
|
};
|
|
17290
19058
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -17343,7 +19111,7 @@ interface operations {
|
|
|
17343
19111
|
};
|
|
17344
19112
|
};
|
|
17345
19113
|
};
|
|
17346
|
-
|
|
19114
|
+
admin_stores_options_library_options_list: {
|
|
17347
19115
|
parameters: {
|
|
17348
19116
|
query?: never;
|
|
17349
19117
|
header?: {
|
|
@@ -17362,7 +19130,7 @@ interface operations {
|
|
|
17362
19130
|
[name: string]: unknown;
|
|
17363
19131
|
};
|
|
17364
19132
|
content: {
|
|
17365
|
-
"application/json": components["schemas"]["
|
|
19133
|
+
"application/json": components["schemas"]["LibraryOption"][];
|
|
17366
19134
|
};
|
|
17367
19135
|
};
|
|
17368
19136
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -17421,7 +19189,7 @@ interface operations {
|
|
|
17421
19189
|
};
|
|
17422
19190
|
};
|
|
17423
19191
|
};
|
|
17424
|
-
|
|
19192
|
+
admin_stores_options_library_options_create: {
|
|
17425
19193
|
parameters: {
|
|
17426
19194
|
query?: never;
|
|
17427
19195
|
header?: {
|
|
@@ -17435,9 +19203,9 @@ interface operations {
|
|
|
17435
19203
|
};
|
|
17436
19204
|
requestBody: {
|
|
17437
19205
|
content: {
|
|
17438
|
-
"application/json": components["schemas"]["
|
|
17439
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
17440
|
-
"multipart/form-data": components["schemas"]["
|
|
19206
|
+
"application/json": components["schemas"]["OptionWrite"];
|
|
19207
|
+
"application/x-www-form-urlencoded": components["schemas"]["OptionWrite"];
|
|
19208
|
+
"multipart/form-data": components["schemas"]["OptionWrite"];
|
|
17441
19209
|
};
|
|
17442
19210
|
};
|
|
17443
19211
|
responses: {
|
|
@@ -17446,7 +19214,7 @@ interface operations {
|
|
|
17446
19214
|
[name: string]: unknown;
|
|
17447
19215
|
};
|
|
17448
19216
|
content: {
|
|
17449
|
-
"application/json": components["schemas"]["
|
|
19217
|
+
"application/json": components["schemas"]["LibraryOption"];
|
|
17450
19218
|
};
|
|
17451
19219
|
};
|
|
17452
19220
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -17505,7 +19273,7 @@ interface operations {
|
|
|
17505
19273
|
};
|
|
17506
19274
|
};
|
|
17507
19275
|
};
|
|
17508
|
-
|
|
19276
|
+
admin_stores_options_library_options_destroy: {
|
|
17509
19277
|
parameters: {
|
|
17510
19278
|
query?: never;
|
|
17511
19279
|
header?: {
|
|
@@ -17513,19 +19281,20 @@ interface operations {
|
|
|
17513
19281
|
"X-Sous-Company-Id"?: number;
|
|
17514
19282
|
};
|
|
17515
19283
|
path: {
|
|
17516
|
-
|
|
19284
|
+
option_id: number;
|
|
17517
19285
|
store_public_id: string;
|
|
17518
19286
|
};
|
|
17519
19287
|
cookie?: never;
|
|
17520
19288
|
};
|
|
17521
19289
|
requestBody?: never;
|
|
17522
19290
|
responses: {
|
|
17523
|
-
|
|
17524
|
-
204: {
|
|
19291
|
+
200: {
|
|
17525
19292
|
headers: {
|
|
17526
19293
|
[name: string]: unknown;
|
|
17527
19294
|
};
|
|
17528
|
-
content
|
|
19295
|
+
content: {
|
|
19296
|
+
"application/json": components["schemas"]["ProductsAffected"];
|
|
19297
|
+
};
|
|
17529
19298
|
};
|
|
17530
19299
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17531
19300
|
400: {
|
|
@@ -17583,7 +19352,7 @@ interface operations {
|
|
|
17583
19352
|
};
|
|
17584
19353
|
};
|
|
17585
19354
|
};
|
|
17586
|
-
|
|
19355
|
+
admin_stores_options_library_options_partial_update: {
|
|
17587
19356
|
parameters: {
|
|
17588
19357
|
query?: never;
|
|
17589
19358
|
header?: {
|
|
@@ -17591,16 +19360,16 @@ interface operations {
|
|
|
17591
19360
|
"X-Sous-Company-Id"?: number;
|
|
17592
19361
|
};
|
|
17593
19362
|
path: {
|
|
17594
|
-
|
|
19363
|
+
option_id: number;
|
|
17595
19364
|
store_public_id: string;
|
|
17596
19365
|
};
|
|
17597
19366
|
cookie?: never;
|
|
17598
19367
|
};
|
|
17599
19368
|
requestBody?: {
|
|
17600
19369
|
content: {
|
|
17601
|
-
"application/json": components["schemas"]["
|
|
17602
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
17603
|
-
"multipart/form-data": components["schemas"]["
|
|
19370
|
+
"application/json": components["schemas"]["PatchedOptionWrite"];
|
|
19371
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedOptionWrite"];
|
|
19372
|
+
"multipart/form-data": components["schemas"]["PatchedOptionWrite"];
|
|
17604
19373
|
};
|
|
17605
19374
|
};
|
|
17606
19375
|
responses: {
|
|
@@ -17609,7 +19378,7 @@ interface operations {
|
|
|
17609
19378
|
[name: string]: unknown;
|
|
17610
19379
|
};
|
|
17611
19380
|
content: {
|
|
17612
|
-
"application/json": components["schemas"]["
|
|
19381
|
+
"application/json": components["schemas"]["LibraryOption"];
|
|
17613
19382
|
};
|
|
17614
19383
|
};
|
|
17615
19384
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -17668,7 +19437,7 @@ interface operations {
|
|
|
17668
19437
|
};
|
|
17669
19438
|
};
|
|
17670
19439
|
};
|
|
17671
|
-
|
|
19440
|
+
admin_stores_options_library_products_groups_list: {
|
|
17672
19441
|
parameters: {
|
|
17673
19442
|
query?: never;
|
|
17674
19443
|
header?: {
|
|
@@ -17676,6 +19445,7 @@ interface operations {
|
|
|
17676
19445
|
"X-Sous-Company-Id"?: number;
|
|
17677
19446
|
};
|
|
17678
19447
|
path: {
|
|
19448
|
+
product_id: number;
|
|
17679
19449
|
store_public_id: string;
|
|
17680
19450
|
};
|
|
17681
19451
|
cookie?: never;
|
|
@@ -17687,7 +19457,7 @@ interface operations {
|
|
|
17687
19457
|
[name: string]: unknown;
|
|
17688
19458
|
};
|
|
17689
19459
|
content: {
|
|
17690
|
-
"application/json": components["schemas"]["
|
|
19460
|
+
"application/json": components["schemas"]["ProductGroup"][];
|
|
17691
19461
|
};
|
|
17692
19462
|
};
|
|
17693
19463
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -17746,7 +19516,7 @@ interface operations {
|
|
|
17746
19516
|
};
|
|
17747
19517
|
};
|
|
17748
19518
|
};
|
|
17749
|
-
|
|
19519
|
+
admin_stores_options_library_products_groups_create: {
|
|
17750
19520
|
parameters: {
|
|
17751
19521
|
query?: never;
|
|
17752
19522
|
header?: {
|
|
@@ -17754,24 +19524,25 @@ interface operations {
|
|
|
17754
19524
|
"X-Sous-Company-Id"?: number;
|
|
17755
19525
|
};
|
|
17756
19526
|
path: {
|
|
19527
|
+
product_id: number;
|
|
17757
19528
|
store_public_id: string;
|
|
17758
19529
|
};
|
|
17759
19530
|
cookie?: never;
|
|
17760
19531
|
};
|
|
17761
|
-
requestBody
|
|
19532
|
+
requestBody?: {
|
|
17762
19533
|
content: {
|
|
17763
|
-
"application/json": components["schemas"]["
|
|
17764
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
17765
|
-
"multipart/form-data": components["schemas"]["
|
|
19534
|
+
"application/json": components["schemas"]["AttachGroup"];
|
|
19535
|
+
"application/x-www-form-urlencoded": components["schemas"]["AttachGroup"];
|
|
19536
|
+
"multipart/form-data": components["schemas"]["AttachGroup"];
|
|
17766
19537
|
};
|
|
17767
19538
|
};
|
|
17768
19539
|
responses: {
|
|
17769
|
-
|
|
19540
|
+
201: {
|
|
17770
19541
|
headers: {
|
|
17771
19542
|
[name: string]: unknown;
|
|
17772
19543
|
};
|
|
17773
19544
|
content: {
|
|
17774
|
-
"application/json": components["schemas"]["
|
|
19545
|
+
"application/json": components["schemas"]["ProductGroup"];
|
|
17775
19546
|
};
|
|
17776
19547
|
};
|
|
17777
19548
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -17830,7 +19601,7 @@ interface operations {
|
|
|
17830
19601
|
};
|
|
17831
19602
|
};
|
|
17832
19603
|
};
|
|
17833
|
-
|
|
19604
|
+
admin_stores_options_library_products_groups_destroy: {
|
|
17834
19605
|
parameters: {
|
|
17835
19606
|
query?: never;
|
|
17836
19607
|
header?: {
|
|
@@ -17838,19 +19609,20 @@ interface operations {
|
|
|
17838
19609
|
"X-Sous-Company-Id"?: number;
|
|
17839
19610
|
};
|
|
17840
19611
|
path: {
|
|
19612
|
+
modifier_group_id: number;
|
|
19613
|
+
product_id: number;
|
|
17841
19614
|
store_public_id: string;
|
|
17842
19615
|
};
|
|
17843
19616
|
cookie?: never;
|
|
17844
19617
|
};
|
|
17845
19618
|
requestBody?: never;
|
|
17846
19619
|
responses: {
|
|
17847
|
-
|
|
19620
|
+
/** @description No response body */
|
|
19621
|
+
204: {
|
|
17848
19622
|
headers: {
|
|
17849
19623
|
[name: string]: unknown;
|
|
17850
19624
|
};
|
|
17851
|
-
content
|
|
17852
|
-
"application/json": components["schemas"]["AdminStoreDeliveryFeeSplit"];
|
|
17853
|
-
};
|
|
19625
|
+
content?: never;
|
|
17854
19626
|
};
|
|
17855
19627
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17856
19628
|
400: {
|
|
@@ -17908,7 +19680,7 @@ interface operations {
|
|
|
17908
19680
|
};
|
|
17909
19681
|
};
|
|
17910
19682
|
};
|
|
17911
|
-
|
|
19683
|
+
admin_stores_options_library_snoozes_list: {
|
|
17912
19684
|
parameters: {
|
|
17913
19685
|
query?: never;
|
|
17914
19686
|
header?: {
|
|
@@ -17920,20 +19692,14 @@ interface operations {
|
|
|
17920
19692
|
};
|
|
17921
19693
|
cookie?: never;
|
|
17922
19694
|
};
|
|
17923
|
-
requestBody?:
|
|
17924
|
-
content: {
|
|
17925
|
-
"application/json": components["schemas"]["PatchedAdminStoreDeliveryFeeSplit"];
|
|
17926
|
-
"application/x-www-form-urlencoded": components["schemas"]["PatchedAdminStoreDeliveryFeeSplit"];
|
|
17927
|
-
"multipart/form-data": components["schemas"]["PatchedAdminStoreDeliveryFeeSplit"];
|
|
17928
|
-
};
|
|
17929
|
-
};
|
|
19695
|
+
requestBody?: never;
|
|
17930
19696
|
responses: {
|
|
17931
19697
|
200: {
|
|
17932
19698
|
headers: {
|
|
17933
19699
|
[name: string]: unknown;
|
|
17934
19700
|
};
|
|
17935
19701
|
content: {
|
|
17936
|
-
"application/json": components["schemas"]["
|
|
19702
|
+
"application/json": components["schemas"]["Snooze"][];
|
|
17937
19703
|
};
|
|
17938
19704
|
};
|
|
17939
19705
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -17992,7 +19758,7 @@ interface operations {
|
|
|
17992
19758
|
};
|
|
17993
19759
|
};
|
|
17994
19760
|
};
|
|
17995
|
-
|
|
19761
|
+
admin_stores_options_library_snoozes_update: {
|
|
17996
19762
|
parameters: {
|
|
17997
19763
|
query?: never;
|
|
17998
19764
|
header?: {
|
|
@@ -18000,7 +19766,8 @@ interface operations {
|
|
|
18000
19766
|
"X-Sous-Company-Id"?: number;
|
|
18001
19767
|
};
|
|
18002
19768
|
path: {
|
|
18003
|
-
|
|
19769
|
+
item_id: number;
|
|
19770
|
+
item_type: string;
|
|
18004
19771
|
store_public_id: string;
|
|
18005
19772
|
};
|
|
18006
19773
|
cookie?: never;
|
|
@@ -18012,7 +19779,7 @@ interface operations {
|
|
|
18012
19779
|
[name: string]: unknown;
|
|
18013
19780
|
};
|
|
18014
19781
|
content: {
|
|
18015
|
-
"application/json": components["schemas"]["
|
|
19782
|
+
"application/json": components["schemas"]["Snooze"];
|
|
18016
19783
|
};
|
|
18017
19784
|
};
|
|
18018
19785
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -18071,7 +19838,7 @@ interface operations {
|
|
|
18071
19838
|
};
|
|
18072
19839
|
};
|
|
18073
19840
|
};
|
|
18074
|
-
|
|
19841
|
+
admin_stores_options_library_snoozes_destroy: {
|
|
18075
19842
|
parameters: {
|
|
18076
19843
|
query?: never;
|
|
18077
19844
|
header?: {
|
|
@@ -18079,26 +19846,20 @@ interface operations {
|
|
|
18079
19846
|
"X-Sous-Company-Id"?: number;
|
|
18080
19847
|
};
|
|
18081
19848
|
path: {
|
|
18082
|
-
|
|
18083
|
-
|
|
19849
|
+
item_id: number;
|
|
19850
|
+
item_type: string;
|
|
18084
19851
|
store_public_id: string;
|
|
18085
19852
|
};
|
|
18086
19853
|
cookie?: never;
|
|
18087
19854
|
};
|
|
18088
|
-
requestBody?:
|
|
18089
|
-
content: {
|
|
18090
|
-
"application/json": components["schemas"]["PatchedSetStoreDeliveryMethod"];
|
|
18091
|
-
"application/x-www-form-urlencoded": components["schemas"]["PatchedSetStoreDeliveryMethod"];
|
|
18092
|
-
"multipart/form-data": components["schemas"]["PatchedSetStoreDeliveryMethod"];
|
|
18093
|
-
};
|
|
18094
|
-
};
|
|
19855
|
+
requestBody?: never;
|
|
18095
19856
|
responses: {
|
|
18096
19857
|
200: {
|
|
18097
19858
|
headers: {
|
|
18098
19859
|
[name: string]: unknown;
|
|
18099
19860
|
};
|
|
18100
19861
|
content: {
|
|
18101
|
-
"application/json": components["schemas"]["
|
|
19862
|
+
"application/json": components["schemas"]["UnsnoozeResult"];
|
|
18102
19863
|
};
|
|
18103
19864
|
};
|
|
18104
19865
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -19996,7 +21757,7 @@ interface operations {
|
|
|
19996
21757
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
19997
21758
|
};
|
|
19998
21759
|
};
|
|
19999
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
21760
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20000
21761
|
403: {
|
|
20001
21762
|
headers: {
|
|
20002
21763
|
[name: string]: unknown;
|
|
@@ -20014,7 +21775,7 @@ interface operations {
|
|
|
20014
21775
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20015
21776
|
};
|
|
20016
21777
|
};
|
|
20017
|
-
/** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
21778
|
+
/** @description Possible error codes include `CHANNEL_CHANGE_REFUSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20018
21779
|
409: {
|
|
20019
21780
|
headers: {
|
|
20020
21781
|
[name: string]: unknown;
|
|
@@ -20095,7 +21856,7 @@ interface operations {
|
|
|
20095
21856
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20096
21857
|
};
|
|
20097
21858
|
};
|
|
20098
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
21859
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20099
21860
|
403: {
|
|
20100
21861
|
headers: {
|
|
20101
21862
|
[name: string]: unknown;
|
|
@@ -20113,7 +21874,7 @@ interface operations {
|
|
|
20113
21874
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20114
21875
|
};
|
|
20115
21876
|
};
|
|
20116
|
-
/** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
21877
|
+
/** @description Possible error codes include `CHANNEL_CHANGE_REFUSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20117
21878
|
409: {
|
|
20118
21879
|
headers: {
|
|
20119
21880
|
[name: string]: unknown;
|
|
@@ -20185,7 +21946,7 @@ interface operations {
|
|
|
20185
21946
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20186
21947
|
};
|
|
20187
21948
|
};
|
|
20188
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
21949
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20189
21950
|
403: {
|
|
20190
21951
|
headers: {
|
|
20191
21952
|
[name: string]: unknown;
|
|
@@ -20203,7 +21964,7 @@ interface operations {
|
|
|
20203
21964
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20204
21965
|
};
|
|
20205
21966
|
};
|
|
20206
|
-
/** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
21967
|
+
/** @description Possible error codes include `CHANNEL_CHANGE_REFUSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20207
21968
|
409: {
|
|
20208
21969
|
headers: {
|
|
20209
21970
|
[name: string]: unknown;
|
|
@@ -20275,7 +22036,7 @@ interface operations {
|
|
|
20275
22036
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20276
22037
|
};
|
|
20277
22038
|
};
|
|
20278
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22039
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20279
22040
|
403: {
|
|
20280
22041
|
headers: {
|
|
20281
22042
|
[name: string]: unknown;
|
|
@@ -20293,7 +22054,7 @@ interface operations {
|
|
|
20293
22054
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20294
22055
|
};
|
|
20295
22056
|
};
|
|
20296
|
-
/** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22057
|
+
/** @description Possible error codes include `CHANNEL_CHANGE_REFUSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20297
22058
|
409: {
|
|
20298
22059
|
headers: {
|
|
20299
22060
|
[name: string]: unknown;
|
|
@@ -20365,7 +22126,7 @@ interface operations {
|
|
|
20365
22126
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20366
22127
|
};
|
|
20367
22128
|
};
|
|
20368
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22129
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20369
22130
|
403: {
|
|
20370
22131
|
headers: {
|
|
20371
22132
|
[name: string]: unknown;
|
|
@@ -20383,7 +22144,7 @@ interface operations {
|
|
|
20383
22144
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20384
22145
|
};
|
|
20385
22146
|
};
|
|
20386
|
-
/** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22147
|
+
/** @description Possible error codes include `CHANNEL_CHANGE_REFUSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20387
22148
|
409: {
|
|
20388
22149
|
headers: {
|
|
20389
22150
|
[name: string]: unknown;
|
|
@@ -20456,7 +22217,7 @@ interface operations {
|
|
|
20456
22217
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20457
22218
|
};
|
|
20458
22219
|
};
|
|
20459
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22220
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20460
22221
|
403: {
|
|
20461
22222
|
headers: {
|
|
20462
22223
|
[name: string]: unknown;
|
|
@@ -20474,7 +22235,7 @@ interface operations {
|
|
|
20474
22235
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20475
22236
|
};
|
|
20476
22237
|
};
|
|
20477
|
-
/** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22238
|
+
/** @description Possible error codes include `CHANNEL_CHANGE_REFUSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20478
22239
|
409: {
|
|
20479
22240
|
headers: {
|
|
20480
22241
|
[name: string]: unknown;
|
|
@@ -20546,7 +22307,7 @@ interface operations {
|
|
|
20546
22307
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20547
22308
|
};
|
|
20548
22309
|
};
|
|
20549
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22310
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20550
22311
|
403: {
|
|
20551
22312
|
headers: {
|
|
20552
22313
|
[name: string]: unknown;
|
|
@@ -20564,7 +22325,7 @@ interface operations {
|
|
|
20564
22325
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20565
22326
|
};
|
|
20566
22327
|
};
|
|
20567
|
-
/** @description Possible error codes: `PRODUCT_NO_LONGER_ORDERABLE`, `PRODUCT_NOT_ORDERABLE_FOR_DATE`, `outside_availability_window`, `date_excluded`, `not_a_delivery_day`, `beyond_pre_order_horizon`, `past_order_cutoff`, `no_common_date`. Retryable: no. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22328
|
+
/** @description Possible error codes: `PRODUCT_NO_LONGER_ORDERABLE`, `PRODUCT_NOT_ORDERABLE_FOR_DATE`, `outside_availability_window`, `date_excluded`, `not_a_delivery_day`, `beyond_pre_order_horizon`, `past_order_cutoff`, `no_common_date`. Retryable: no. Possible error codes include `CHANNEL_CHANGE_REFUSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20568
22329
|
409: {
|
|
20569
22330
|
headers: {
|
|
20570
22331
|
[name: string]: unknown;
|
|
@@ -20631,7 +22392,7 @@ interface operations {
|
|
|
20631
22392
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20632
22393
|
};
|
|
20633
22394
|
};
|
|
20634
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22395
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20635
22396
|
403: {
|
|
20636
22397
|
headers: {
|
|
20637
22398
|
[name: string]: unknown;
|
|
@@ -20649,7 +22410,7 @@ interface operations {
|
|
|
20649
22410
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20650
22411
|
};
|
|
20651
22412
|
};
|
|
20652
|
-
/** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22413
|
+
/** @description Possible error codes include `CHANNEL_CHANGE_REFUSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20653
22414
|
409: {
|
|
20654
22415
|
headers: {
|
|
20655
22416
|
[name: string]: unknown;
|
|
@@ -20722,7 +22483,7 @@ interface operations {
|
|
|
20722
22483
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20723
22484
|
};
|
|
20724
22485
|
};
|
|
20725
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22486
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20726
22487
|
403: {
|
|
20727
22488
|
headers: {
|
|
20728
22489
|
[name: string]: unknown;
|
|
@@ -20740,7 +22501,7 @@ interface operations {
|
|
|
20740
22501
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20741
22502
|
};
|
|
20742
22503
|
};
|
|
20743
|
-
/** @description Possible error codes: `PRODUCT_NO_LONGER_ORDERABLE`. Retryable: no. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22504
|
+
/** @description Possible error codes: `PRODUCT_NO_LONGER_ORDERABLE`. Retryable: no. Possible error codes include `CHANNEL_CHANGE_REFUSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20744
22505
|
409: {
|
|
20745
22506
|
headers: {
|
|
20746
22507
|
[name: string]: unknown;
|
|
@@ -20806,7 +22567,7 @@ interface operations {
|
|
|
20806
22567
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20807
22568
|
};
|
|
20808
22569
|
};
|
|
20809
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22570
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20810
22571
|
403: {
|
|
20811
22572
|
headers: {
|
|
20812
22573
|
[name: string]: unknown;
|
|
@@ -20824,7 +22585,7 @@ interface operations {
|
|
|
20824
22585
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20825
22586
|
};
|
|
20826
22587
|
};
|
|
20827
|
-
/** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22588
|
+
/** @description Possible error codes include `CHANNEL_CHANGE_REFUSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20828
22589
|
409: {
|
|
20829
22590
|
headers: {
|
|
20830
22591
|
[name: string]: unknown;
|
|
@@ -20893,7 +22654,7 @@ interface operations {
|
|
|
20893
22654
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20894
22655
|
};
|
|
20895
22656
|
};
|
|
20896
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22657
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20897
22658
|
403: {
|
|
20898
22659
|
headers: {
|
|
20899
22660
|
[name: string]: unknown;
|
|
@@ -20911,7 +22672,7 @@ interface operations {
|
|
|
20911
22672
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20912
22673
|
};
|
|
20913
22674
|
};
|
|
20914
|
-
/** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22675
|
+
/** @description Possible error codes include `CHANNEL_CHANGE_REFUSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20915
22676
|
409: {
|
|
20916
22677
|
headers: {
|
|
20917
22678
|
[name: string]: unknown;
|
|
@@ -20979,7 +22740,7 @@ interface operations {
|
|
|
20979
22740
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20980
22741
|
};
|
|
20981
22742
|
};
|
|
20982
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22743
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
20983
22744
|
403: {
|
|
20984
22745
|
headers: {
|
|
20985
22746
|
[name: string]: unknown;
|
|
@@ -20997,7 +22758,7 @@ interface operations {
|
|
|
20997
22758
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
20998
22759
|
};
|
|
20999
22760
|
};
|
|
21000
|
-
/** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22761
|
+
/** @description Possible error codes include `CHANNEL_CHANGE_REFUSED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
21001
22762
|
409: {
|
|
21002
22763
|
headers: {
|
|
21003
22764
|
[name: string]: unknown;
|
|
@@ -22441,7 +24202,7 @@ interface operations {
|
|
|
22441
24202
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
22442
24203
|
};
|
|
22443
24204
|
};
|
|
22444
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24205
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22445
24206
|
403: {
|
|
22446
24207
|
headers: {
|
|
22447
24208
|
[name: string]: unknown;
|
|
@@ -22459,7 +24220,7 @@ interface operations {
|
|
|
22459
24220
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
22460
24221
|
};
|
|
22461
24222
|
};
|
|
22462
|
-
/** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24223
|
+
/** @description Possible error codes: `CHANNEL_CHANGE_REFUSED`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22463
24224
|
409: {
|
|
22464
24225
|
headers: {
|
|
22465
24226
|
[name: string]: unknown;
|
|
@@ -22537,7 +24298,7 @@ interface operations {
|
|
|
22537
24298
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
22538
24299
|
};
|
|
22539
24300
|
};
|
|
22540
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24301
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22541
24302
|
403: {
|
|
22542
24303
|
headers: {
|
|
22543
24304
|
[name: string]: unknown;
|
|
@@ -22644,7 +24405,7 @@ interface operations {
|
|
|
22644
24405
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
22645
24406
|
};
|
|
22646
24407
|
};
|
|
22647
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24408
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22648
24409
|
403: {
|
|
22649
24410
|
headers: {
|
|
22650
24411
|
[name: string]: unknown;
|
|
@@ -22743,7 +24504,7 @@ interface operations {
|
|
|
22743
24504
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
22744
24505
|
};
|
|
22745
24506
|
};
|
|
22746
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24507
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22747
24508
|
403: {
|
|
22748
24509
|
headers: {
|
|
22749
24510
|
[name: string]: unknown;
|
|
@@ -22842,7 +24603,7 @@ interface operations {
|
|
|
22842
24603
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
22843
24604
|
};
|
|
22844
24605
|
};
|
|
22845
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24606
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22846
24607
|
403: {
|
|
22847
24608
|
headers: {
|
|
22848
24609
|
[name: string]: unknown;
|
|
@@ -22941,7 +24702,7 @@ interface operations {
|
|
|
22941
24702
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
22942
24703
|
};
|
|
22943
24704
|
};
|
|
22944
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24705
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22945
24706
|
403: {
|
|
22946
24707
|
headers: {
|
|
22947
24708
|
[name: string]: unknown;
|
|
@@ -23034,7 +24795,7 @@ interface operations {
|
|
|
23034
24795
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23035
24796
|
};
|
|
23036
24797
|
};
|
|
23037
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24798
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23038
24799
|
403: {
|
|
23039
24800
|
headers: {
|
|
23040
24801
|
[name: string]: unknown;
|
|
@@ -23144,7 +24905,7 @@ interface operations {
|
|
|
23144
24905
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23145
24906
|
};
|
|
23146
24907
|
};
|
|
23147
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24908
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23148
24909
|
403: {
|
|
23149
24910
|
headers: {
|
|
23150
24911
|
[name: string]: unknown;
|
|
@@ -23261,7 +25022,7 @@ interface operations {
|
|
|
23261
25022
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23262
25023
|
};
|
|
23263
25024
|
};
|
|
23264
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25025
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23265
25026
|
403: {
|
|
23266
25027
|
headers: {
|
|
23267
25028
|
[name: string]: unknown;
|
|
@@ -23359,7 +25120,7 @@ interface operations {
|
|
|
23359
25120
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23360
25121
|
};
|
|
23361
25122
|
};
|
|
23362
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25123
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23363
25124
|
403: {
|
|
23364
25125
|
headers: {
|
|
23365
25126
|
[name: string]: unknown;
|
|
@@ -23458,7 +25219,7 @@ interface operations {
|
|
|
23458
25219
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23459
25220
|
};
|
|
23460
25221
|
};
|
|
23461
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25222
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23462
25223
|
403: {
|
|
23463
25224
|
headers: {
|
|
23464
25225
|
[name: string]: unknown;
|
|
@@ -23557,7 +25318,7 @@ interface operations {
|
|
|
23557
25318
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23558
25319
|
};
|
|
23559
25320
|
};
|
|
23560
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25321
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23561
25322
|
403: {
|
|
23562
25323
|
headers: {
|
|
23563
25324
|
[name: string]: unknown;
|
|
@@ -23658,7 +25419,7 @@ interface operations {
|
|
|
23658
25419
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23659
25420
|
};
|
|
23660
25421
|
};
|
|
23661
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25422
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23662
25423
|
403: {
|
|
23663
25424
|
headers: {
|
|
23664
25425
|
[name: string]: unknown;
|
|
@@ -23676,7 +25437,7 @@ interface operations {
|
|
|
23676
25437
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23677
25438
|
};
|
|
23678
25439
|
};
|
|
23679
|
-
/** @description Possible error codes: `CHECKOUT_INVALID_STATUS`, `DELIVERY_METHOD_UNAVAILABLE`, `outside_availability_window`, `date_excluded`, `not_a_delivery_day`, `beyond_pre_order_horizon`, `past_order_cutoff`, `no_common_date`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25440
|
+
/** @description Possible error codes: `CHECKOUT_INVALID_STATUS`, `DELIVERY_METHOD_UNAVAILABLE`, `DISCOUNT_NO_LONGER_AVAILABLE`, `outside_availability_window`, `date_excluded`, `not_a_delivery_day`, `beyond_pre_order_horizon`, `past_order_cutoff`, `no_common_date`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23680
25441
|
409: {
|
|
23681
25442
|
headers: {
|
|
23682
25443
|
[name: string]: unknown;
|
|
@@ -23756,7 +25517,7 @@ interface operations {
|
|
|
23756
25517
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23757
25518
|
};
|
|
23758
25519
|
};
|
|
23759
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25520
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23760
25521
|
403: {
|
|
23761
25522
|
headers: {
|
|
23762
25523
|
[name: string]: unknown;
|
|
@@ -23854,7 +25615,7 @@ interface operations {
|
|
|
23854
25615
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23855
25616
|
};
|
|
23856
25617
|
};
|
|
23857
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25618
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23858
25619
|
403: {
|
|
23859
25620
|
headers: {
|
|
23860
25621
|
[name: string]: unknown;
|
|
@@ -23961,7 +25722,7 @@ interface operations {
|
|
|
23961
25722
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23962
25723
|
};
|
|
23963
25724
|
};
|
|
23964
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25725
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23965
25726
|
403: {
|
|
23966
25727
|
headers: {
|
|
23967
25728
|
[name: string]: unknown;
|
|
@@ -24053,7 +25814,7 @@ interface operations {
|
|
|
24053
25814
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24054
25815
|
};
|
|
24055
25816
|
};
|
|
24056
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25817
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24057
25818
|
403: {
|
|
24058
25819
|
headers: {
|
|
24059
25820
|
[name: string]: unknown;
|
|
@@ -24152,7 +25913,7 @@ interface operations {
|
|
|
24152
25913
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24153
25914
|
};
|
|
24154
25915
|
};
|
|
24155
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25916
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24156
25917
|
403: {
|
|
24157
25918
|
headers: {
|
|
24158
25919
|
[name: string]: unknown;
|
|
@@ -24245,7 +26006,7 @@ interface operations {
|
|
|
24245
26006
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24246
26007
|
};
|
|
24247
26008
|
};
|
|
24248
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
26009
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24249
26010
|
403: {
|
|
24250
26011
|
headers: {
|
|
24251
26012
|
[name: string]: unknown;
|
|
@@ -24338,7 +26099,7 @@ interface operations {
|
|
|
24338
26099
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24339
26100
|
};
|
|
24340
26101
|
};
|
|
24341
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
26102
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24342
26103
|
403: {
|
|
24343
26104
|
headers: {
|
|
24344
26105
|
[name: string]: unknown;
|
|
@@ -24436,7 +26197,7 @@ interface operations {
|
|
|
24436
26197
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24437
26198
|
};
|
|
24438
26199
|
};
|
|
24439
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
26200
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24440
26201
|
403: {
|
|
24441
26202
|
headers: {
|
|
24442
26203
|
[name: string]: unknown;
|
|
@@ -24534,7 +26295,7 @@ interface operations {
|
|
|
24534
26295
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24535
26296
|
};
|
|
24536
26297
|
};
|
|
24537
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
26298
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24538
26299
|
403: {
|
|
24539
26300
|
headers: {
|
|
24540
26301
|
[name: string]: unknown;
|
|
@@ -24641,7 +26402,7 @@ interface operations {
|
|
|
24641
26402
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24642
26403
|
};
|
|
24643
26404
|
};
|
|
24644
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
26405
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24645
26406
|
403: {
|
|
24646
26407
|
headers: {
|
|
24647
26408
|
[name: string]: unknown;
|
|
@@ -24737,7 +26498,7 @@ interface operations {
|
|
|
24737
26498
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24738
26499
|
};
|
|
24739
26500
|
};
|
|
24740
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
26501
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHANNEL_CLAIM_UNVERIFIED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24741
26502
|
403: {
|
|
24742
26503
|
headers: {
|
|
24743
26504
|
[name: string]: unknown;
|
|
@@ -27399,12 +29160,16 @@ interface operations {
|
|
|
27399
29160
|
parameters: {
|
|
27400
29161
|
query?: {
|
|
27401
29162
|
brand_slug?: string;
|
|
29163
|
+
/** @description Only products created within this many days. */
|
|
29164
|
+
created_within_days?: number;
|
|
27402
29165
|
cuisine_tags?: string[];
|
|
27403
29166
|
/** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
|
|
27404
29167
|
date?: string;
|
|
27405
29168
|
fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
|
|
27406
29169
|
/** @description Menu type slugs, for example `vegan` or `meat-fish`. */
|
|
27407
29170
|
menu_types?: string[];
|
|
29171
|
+
/** @description Only products of brands with at least this many Michelin stars. */
|
|
29172
|
+
min_michelin_stars?: number;
|
|
27408
29173
|
/** @description Offering slugs, for example `menubox` or `shop`. */
|
|
27409
29174
|
offering?: string[];
|
|
27410
29175
|
page?: number;
|
|
@@ -27416,6 +29181,8 @@ interface operations {
|
|
|
27416
29181
|
price_per_person_max?: number;
|
|
27417
29182
|
/** @description Cents, inclusive. Excludes products with no party size. */
|
|
27418
29183
|
price_per_person_min?: number;
|
|
29184
|
+
/** @description Discovery tag slugs set by SOUS staff, for example `date-night`. */
|
|
29185
|
+
product_tags?: string[];
|
|
27419
29186
|
q?: string;
|
|
27420
29187
|
/**
|
|
27421
29188
|
* @description * `relevance` - relevance
|
|
@@ -27601,12 +29368,16 @@ interface operations {
|
|
|
27601
29368
|
parameters: {
|
|
27602
29369
|
query?: {
|
|
27603
29370
|
brand_slug?: string;
|
|
29371
|
+
/** @description Only products created within this many days. */
|
|
29372
|
+
created_within_days?: number;
|
|
27604
29373
|
cuisine_tags?: string[];
|
|
27605
29374
|
/** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
|
|
27606
29375
|
date?: string;
|
|
27607
29376
|
fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
|
|
27608
29377
|
/** @description Menu type slugs, for example `vegan` or `meat-fish`. */
|
|
27609
29378
|
menu_types?: string[];
|
|
29379
|
+
/** @description Only products of brands with at least this many Michelin stars. */
|
|
29380
|
+
min_michelin_stars?: number;
|
|
27610
29381
|
/** @description Offering slugs, for example `menubox` or `shop`. */
|
|
27611
29382
|
offering?: string[];
|
|
27612
29383
|
page?: number;
|
|
@@ -27618,6 +29389,8 @@ interface operations {
|
|
|
27618
29389
|
price_per_person_max?: number;
|
|
27619
29390
|
/** @description Cents, inclusive. Excludes products with no party size. */
|
|
27620
29391
|
price_per_person_min?: number;
|
|
29392
|
+
/** @description Discovery tag slugs set by SOUS staff, for example `date-night`. */
|
|
29393
|
+
product_tags?: string[];
|
|
27621
29394
|
q?: string;
|
|
27622
29395
|
/**
|
|
27623
29396
|
* @description * `relevance` - relevance
|