@poweredbysous/storefront-admin-sdk 4.6.2 → 4.7.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 +1658 -8
- package/dist/index.d.ts +1658 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1311,6 +1311,186 @@ interface paths {
|
|
|
1311
1311
|
patch: operations["admin_stores_locations_delivery_methods_partial_update"];
|
|
1312
1312
|
trace?: never;
|
|
1313
1313
|
};
|
|
1314
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/": {
|
|
1315
|
+
parameters: {
|
|
1316
|
+
query?: never;
|
|
1317
|
+
header?: never;
|
|
1318
|
+
path?: never;
|
|
1319
|
+
cookie?: never;
|
|
1320
|
+
};
|
|
1321
|
+
/**
|
|
1322
|
+
* @description Whether the store is on the library, and how big it is.
|
|
1323
|
+
*
|
|
1324
|
+
* The portal asks this first: a 404 means it shows today's screens.
|
|
1325
|
+
*/
|
|
1326
|
+
get: operations["admin_stores_options_library_retrieve"];
|
|
1327
|
+
put?: never;
|
|
1328
|
+
post?: never;
|
|
1329
|
+
delete?: never;
|
|
1330
|
+
options?: never;
|
|
1331
|
+
head?: never;
|
|
1332
|
+
patch?: never;
|
|
1333
|
+
trace?: never;
|
|
1334
|
+
};
|
|
1335
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/channels/": {
|
|
1336
|
+
parameters: {
|
|
1337
|
+
query?: never;
|
|
1338
|
+
header?: never;
|
|
1339
|
+
path?: never;
|
|
1340
|
+
cookie?: never;
|
|
1341
|
+
};
|
|
1342
|
+
/** @description The marketplaces a snooze does not reach: the ones the store sold on lately. */
|
|
1343
|
+
get: operations["admin_stores_options_library_channels_retrieve"];
|
|
1344
|
+
put?: never;
|
|
1345
|
+
post?: never;
|
|
1346
|
+
delete?: never;
|
|
1347
|
+
options?: never;
|
|
1348
|
+
head?: never;
|
|
1349
|
+
patch?: never;
|
|
1350
|
+
trace?: never;
|
|
1351
|
+
};
|
|
1352
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/groups/": {
|
|
1353
|
+
parameters: {
|
|
1354
|
+
query?: never;
|
|
1355
|
+
header?: never;
|
|
1356
|
+
path?: never;
|
|
1357
|
+
cookie?: never;
|
|
1358
|
+
};
|
|
1359
|
+
/** @description The store's library groups (the Groups tab). */
|
|
1360
|
+
get: operations["admin_stores_options_library_groups_list"];
|
|
1361
|
+
put?: never;
|
|
1362
|
+
/** @description The store's library groups (the Groups tab). */
|
|
1363
|
+
post: operations["admin_stores_options_library_groups_create"];
|
|
1364
|
+
delete?: never;
|
|
1365
|
+
options?: never;
|
|
1366
|
+
head?: never;
|
|
1367
|
+
patch?: never;
|
|
1368
|
+
trace?: never;
|
|
1369
|
+
};
|
|
1370
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/groups/{group_id}/": {
|
|
1371
|
+
parameters: {
|
|
1372
|
+
query?: never;
|
|
1373
|
+
header?: never;
|
|
1374
|
+
path?: never;
|
|
1375
|
+
cookie?: never;
|
|
1376
|
+
};
|
|
1377
|
+
get?: never;
|
|
1378
|
+
put?: never;
|
|
1379
|
+
post?: never;
|
|
1380
|
+
/** @description Edit or delete one library group: the change reaches every product. */
|
|
1381
|
+
delete: operations["admin_stores_options_library_groups_destroy"];
|
|
1382
|
+
options?: never;
|
|
1383
|
+
head?: never;
|
|
1384
|
+
/** @description Edit or delete one library group: the change reaches every product. */
|
|
1385
|
+
patch: operations["admin_stores_options_library_groups_partial_update"];
|
|
1386
|
+
trace?: never;
|
|
1387
|
+
};
|
|
1388
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/options/": {
|
|
1389
|
+
parameters: {
|
|
1390
|
+
query?: never;
|
|
1391
|
+
header?: never;
|
|
1392
|
+
path?: never;
|
|
1393
|
+
cookie?: never;
|
|
1394
|
+
};
|
|
1395
|
+
/** @description The store's library options (the Options tab). */
|
|
1396
|
+
get: operations["admin_stores_options_library_options_list"];
|
|
1397
|
+
put?: never;
|
|
1398
|
+
/** @description The store's library options (the Options tab). */
|
|
1399
|
+
post: operations["admin_stores_options_library_options_create"];
|
|
1400
|
+
delete?: never;
|
|
1401
|
+
options?: never;
|
|
1402
|
+
head?: never;
|
|
1403
|
+
patch?: never;
|
|
1404
|
+
trace?: never;
|
|
1405
|
+
};
|
|
1406
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/options/{option_id}/": {
|
|
1407
|
+
parameters: {
|
|
1408
|
+
query?: never;
|
|
1409
|
+
header?: never;
|
|
1410
|
+
path?: never;
|
|
1411
|
+
cookie?: never;
|
|
1412
|
+
};
|
|
1413
|
+
get?: never;
|
|
1414
|
+
put?: never;
|
|
1415
|
+
post?: never;
|
|
1416
|
+
/** @description Edit, hide or delete one library option. */
|
|
1417
|
+
delete: operations["admin_stores_options_library_options_destroy"];
|
|
1418
|
+
options?: never;
|
|
1419
|
+
head?: never;
|
|
1420
|
+
/** @description Edit, hide or delete one library option. */
|
|
1421
|
+
patch: operations["admin_stores_options_library_options_partial_update"];
|
|
1422
|
+
trace?: never;
|
|
1423
|
+
};
|
|
1424
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/products/{product_id}/groups/": {
|
|
1425
|
+
parameters: {
|
|
1426
|
+
query?: never;
|
|
1427
|
+
header?: never;
|
|
1428
|
+
path?: never;
|
|
1429
|
+
cookie?: never;
|
|
1430
|
+
};
|
|
1431
|
+
/** @description A product's option groups, each linked to a library group. */
|
|
1432
|
+
get: operations["admin_stores_options_library_products_groups_list"];
|
|
1433
|
+
put?: never;
|
|
1434
|
+
/** @description A product's option groups, each linked to a library group. */
|
|
1435
|
+
post: operations["admin_stores_options_library_products_groups_create"];
|
|
1436
|
+
delete?: never;
|
|
1437
|
+
options?: never;
|
|
1438
|
+
head?: never;
|
|
1439
|
+
patch?: never;
|
|
1440
|
+
trace?: never;
|
|
1441
|
+
};
|
|
1442
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/products/{product_id}/groups/{modifier_group_id}/": {
|
|
1443
|
+
parameters: {
|
|
1444
|
+
query?: never;
|
|
1445
|
+
header?: never;
|
|
1446
|
+
path?: never;
|
|
1447
|
+
cookie?: never;
|
|
1448
|
+
};
|
|
1449
|
+
get?: never;
|
|
1450
|
+
put?: never;
|
|
1451
|
+
post?: never;
|
|
1452
|
+
/** @description Remove one linked group from a product; the library keeps it. */
|
|
1453
|
+
delete: operations["admin_stores_options_library_products_groups_destroy"];
|
|
1454
|
+
options?: never;
|
|
1455
|
+
head?: never;
|
|
1456
|
+
patch?: never;
|
|
1457
|
+
trace?: never;
|
|
1458
|
+
};
|
|
1459
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/snoozes/": {
|
|
1460
|
+
parameters: {
|
|
1461
|
+
query?: never;
|
|
1462
|
+
header?: never;
|
|
1463
|
+
path?: never;
|
|
1464
|
+
cookie?: never;
|
|
1465
|
+
};
|
|
1466
|
+
/** @description Everything snoozed at the store (the "Snoozed now" chip and view). */
|
|
1467
|
+
get: operations["admin_stores_options_library_snoozes_list"];
|
|
1468
|
+
put?: never;
|
|
1469
|
+
post?: never;
|
|
1470
|
+
delete?: never;
|
|
1471
|
+
options?: never;
|
|
1472
|
+
head?: never;
|
|
1473
|
+
patch?: never;
|
|
1474
|
+
trace?: never;
|
|
1475
|
+
};
|
|
1476
|
+
"/api/v1/admin/stores/{store_public_id}/options-library/snoozes/{item_type}/{item_id}/": {
|
|
1477
|
+
parameters: {
|
|
1478
|
+
query?: never;
|
|
1479
|
+
header?: never;
|
|
1480
|
+
path?: never;
|
|
1481
|
+
cookie?: never;
|
|
1482
|
+
};
|
|
1483
|
+
get?: never;
|
|
1484
|
+
/** @description Snooze one product or library option, or switch it back on. */
|
|
1485
|
+
put: operations["admin_stores_options_library_snoozes_update"];
|
|
1486
|
+
post?: never;
|
|
1487
|
+
/** @description Snooze one product or library option, or switch it back on. */
|
|
1488
|
+
delete: operations["admin_stores_options_library_snoozes_destroy"];
|
|
1489
|
+
options?: never;
|
|
1490
|
+
head?: never;
|
|
1491
|
+
patch?: never;
|
|
1492
|
+
trace?: never;
|
|
1493
|
+
};
|
|
1314
1494
|
"/api/v1/admin/stores/{store_public_id}/surcharges/": {
|
|
1315
1495
|
parameters: {
|
|
1316
1496
|
query?: never;
|
|
@@ -3502,6 +3682,8 @@ interface components {
|
|
|
3502
3682
|
end_date?: string | null;
|
|
3503
3683
|
/** @description Total redemption limit (null=unlimited) */
|
|
3504
3684
|
max_redemptions?: number | null;
|
|
3685
|
+
/** @description Combines with other discounts. */
|
|
3686
|
+
combinable?: boolean;
|
|
3505
3687
|
readonly redemption_count: number;
|
|
3506
3688
|
is_active?: boolean;
|
|
3507
3689
|
/** @description Fulfillment types this promotion applies to (empty = all). */
|
|
@@ -3608,6 +3790,11 @@ interface components {
|
|
|
3608
3790
|
* @enum {string}
|
|
3609
3791
|
*/
|
|
3610
3792
|
AssetTypeEnum: "logo" | "hero" | "favicon" | "og_image";
|
|
3793
|
+
/** @description Either a library group to add, or a new group to create and add. */
|
|
3794
|
+
AttachGroup: {
|
|
3795
|
+
library_group_id?: number;
|
|
3796
|
+
group?: components["schemas"]["GroupWrite"];
|
|
3797
|
+
};
|
|
3611
3798
|
Attribute: {
|
|
3612
3799
|
readonly id: number;
|
|
3613
3800
|
readonly name: string;
|
|
@@ -3765,6 +3952,12 @@ interface components {
|
|
|
3765
3952
|
*/
|
|
3766
3953
|
readonly product_count: number;
|
|
3767
3954
|
};
|
|
3955
|
+
/**
|
|
3956
|
+
* @description * `manual` - Manual
|
|
3957
|
+
* * `required_group` - Required group
|
|
3958
|
+
* @enum {string}
|
|
3959
|
+
*/
|
|
3960
|
+
CauseEnum: "manual" | "required_group";
|
|
3768
3961
|
/**
|
|
3769
3962
|
* @description * `add` - Add
|
|
3770
3963
|
* * `remove` - Remove
|
|
@@ -3791,6 +3984,10 @@ interface components {
|
|
|
3791
3984
|
* @enum {string}
|
|
3792
3985
|
*/
|
|
3793
3986
|
ChannelTypeEnum: "own_website" | "uber_eats" | "jet" | "other";
|
|
3987
|
+
/** @description The marketplaces a snooze does not reach, for the channel note (C3, C4). */
|
|
3988
|
+
Channels: {
|
|
3989
|
+
platforms: string[];
|
|
3990
|
+
};
|
|
3794
3991
|
/** @description One row of the company availability list: a method and its on/off state. */
|
|
3795
3992
|
CompanyDeliveryMethodAvailability: {
|
|
3796
3993
|
method: components["schemas"]["MethodEnum"];
|
|
@@ -4078,6 +4275,8 @@ interface components {
|
|
|
4078
4275
|
readonly used_count: number;
|
|
4079
4276
|
/** @description Per-customer redemption limit (null=unlimited) */
|
|
4080
4277
|
max_uses_per_customer?: number | null;
|
|
4278
|
+
/** @description Combines with other discounts. */
|
|
4279
|
+
combinable?: boolean;
|
|
4081
4280
|
/**
|
|
4082
4281
|
* Format: date-time
|
|
4083
4282
|
* @description When discount becomes active
|
|
@@ -4157,6 +4356,48 @@ interface components {
|
|
|
4157
4356
|
* @enum {string}
|
|
4158
4357
|
*/
|
|
4159
4358
|
FulfillmentStatusEnum: "pending" | "fulfilled" | "failed";
|
|
4359
|
+
GroupEditResult: {
|
|
4360
|
+
products_affected: number;
|
|
4361
|
+
group: components["schemas"]["LibraryGroup"];
|
|
4362
|
+
};
|
|
4363
|
+
GroupItem: {
|
|
4364
|
+
option_id: number;
|
|
4365
|
+
title: string;
|
|
4366
|
+
/** Format: decimal */
|
|
4367
|
+
price_modifier: string;
|
|
4368
|
+
is_default: boolean;
|
|
4369
|
+
position: number;
|
|
4370
|
+
visible: boolean;
|
|
4371
|
+
snoozable: boolean;
|
|
4372
|
+
snoozed: boolean;
|
|
4373
|
+
};
|
|
4374
|
+
GroupItemWrite: {
|
|
4375
|
+
option_id: number;
|
|
4376
|
+
/**
|
|
4377
|
+
* Format: decimal
|
|
4378
|
+
* @default 0.00
|
|
4379
|
+
*/
|
|
4380
|
+
price_modifier: string;
|
|
4381
|
+
/** @default false */
|
|
4382
|
+
is_default: boolean;
|
|
4383
|
+
};
|
|
4384
|
+
/** @description What the Create / Edit group dialog sends. All optional on PATCH. */
|
|
4385
|
+
GroupWrite: {
|
|
4386
|
+
title: string;
|
|
4387
|
+
description?: string;
|
|
4388
|
+
selection_type: components["schemas"]["GroupWriteSelectionTypeEnum"];
|
|
4389
|
+
min_selections: number;
|
|
4390
|
+
max_selections: number | null;
|
|
4391
|
+
items: components["schemas"]["GroupItemWrite"][];
|
|
4392
|
+
required: boolean;
|
|
4393
|
+
};
|
|
4394
|
+
/**
|
|
4395
|
+
* @description * `single` - single
|
|
4396
|
+
* * `multiple` - multiple
|
|
4397
|
+
* * `quantity` - quantity
|
|
4398
|
+
* @enum {string}
|
|
4399
|
+
*/
|
|
4400
|
+
GroupWriteSelectionTypeEnum: "single" | "multiple" | "quantity";
|
|
4160
4401
|
/**
|
|
4161
4402
|
* @description * `champion` - Champion
|
|
4162
4403
|
* * `loyal` - Loyal
|
|
@@ -4243,6 +4484,48 @@ interface components {
|
|
|
4243
4484
|
* @enum {string}
|
|
4244
4485
|
*/
|
|
4245
4486
|
InvoiceStatusEnum: "draft" | "issued" | "paid" | "cancelled";
|
|
4487
|
+
/**
|
|
4488
|
+
* @description * `product` - Product
|
|
4489
|
+
* * `option` - Option
|
|
4490
|
+
* @enum {string}
|
|
4491
|
+
*/
|
|
4492
|
+
ItemTypeEnum: "product" | "option";
|
|
4493
|
+
LibraryGroup: {
|
|
4494
|
+
id: number;
|
|
4495
|
+
title: string;
|
|
4496
|
+
description: string;
|
|
4497
|
+
selection_type: string;
|
|
4498
|
+
min_selections: number;
|
|
4499
|
+
max_selections: number | null;
|
|
4500
|
+
items: components["schemas"]["GroupItem"][];
|
|
4501
|
+
used_in: components["schemas"]["UsedInProduct"][];
|
|
4502
|
+
required: boolean;
|
|
4503
|
+
};
|
|
4504
|
+
LibraryOption: {
|
|
4505
|
+
id: number;
|
|
4506
|
+
title: string;
|
|
4507
|
+
description: string;
|
|
4508
|
+
image_url: string;
|
|
4509
|
+
/** Format: decimal */
|
|
4510
|
+
vat_rate: string;
|
|
4511
|
+
visible: boolean;
|
|
4512
|
+
snoozable: boolean;
|
|
4513
|
+
snoozed: boolean;
|
|
4514
|
+
groups: components["schemas"]["OptionInGroup"][];
|
|
4515
|
+
used_in: components["schemas"]["UsedInProduct"][];
|
|
4516
|
+
};
|
|
4517
|
+
LibrarySummary: {
|
|
4518
|
+
enabled: boolean;
|
|
4519
|
+
option_count: number;
|
|
4520
|
+
group_count: number;
|
|
4521
|
+
};
|
|
4522
|
+
/** @description Which discount or promotion a line discount came from. */
|
|
4523
|
+
LineDiscountRef: {
|
|
4524
|
+
id: string;
|
|
4525
|
+
/** @description "discount" or "promotion". */
|
|
4526
|
+
kind: string;
|
|
4527
|
+
name: string;
|
|
4528
|
+
};
|
|
4246
4529
|
/** @description One location's delivery-method state, grouped by the stores serving it. */
|
|
4247
4530
|
LocationDeliveryMethodSummary: {
|
|
4248
4531
|
location_public_id: string;
|
|
@@ -4453,6 +4736,21 @@ interface components {
|
|
|
4453
4736
|
until: string | null;
|
|
4454
4737
|
opens_at: string | null;
|
|
4455
4738
|
};
|
|
4739
|
+
OptionInGroup: {
|
|
4740
|
+
group_id: number;
|
|
4741
|
+
group_title: string;
|
|
4742
|
+
/** Format: decimal */
|
|
4743
|
+
price_modifier: string;
|
|
4744
|
+
};
|
|
4745
|
+
/** @description What the Create / Edit option dialog sends. All optional on PATCH. */
|
|
4746
|
+
OptionWrite: {
|
|
4747
|
+
title: string;
|
|
4748
|
+
description?: string;
|
|
4749
|
+
/** Format: uri */
|
|
4750
|
+
image_url?: string;
|
|
4751
|
+
visible?: boolean;
|
|
4752
|
+
snoozable?: boolean;
|
|
4753
|
+
};
|
|
4456
4754
|
Order: {
|
|
4457
4755
|
id: string;
|
|
4458
4756
|
order_number: string;
|
|
@@ -4495,11 +4793,19 @@ interface components {
|
|
|
4495
4793
|
subtotal: string;
|
|
4496
4794
|
/** Format: decimal */
|
|
4497
4795
|
tax_total: string;
|
|
4796
|
+
tax_total_includes_charges?: boolean;
|
|
4498
4797
|
/** Format: decimal */
|
|
4499
4798
|
shipping_cost: string;
|
|
4500
4799
|
/** Format: decimal */
|
|
4501
4800
|
discount_amount?: string;
|
|
4502
4801
|
discount_code?: string;
|
|
4802
|
+
/**
|
|
4803
|
+
* Format: decimal
|
|
4804
|
+
* @description Sum of the lines' line discounts.
|
|
4805
|
+
*/
|
|
4806
|
+
line_discount_total?: string;
|
|
4807
|
+
/** Format: decimal */
|
|
4808
|
+
readonly order_discount_total: string;
|
|
4503
4809
|
/**
|
|
4504
4810
|
* Format: decimal
|
|
4505
4811
|
* @description Aggregated non-discountable surcharges (VAT-inclusive)
|
|
@@ -4665,6 +4971,13 @@ interface components {
|
|
|
4665
4971
|
fulfillment_date?: string | null;
|
|
4666
4972
|
options?: unknown;
|
|
4667
4973
|
readonly surcharges: components["schemas"]["OrderLineItemSurcharge"][];
|
|
4974
|
+
/** Format: decimal */
|
|
4975
|
+
readonly line_discount_amount: string;
|
|
4976
|
+
readonly line_discount: components["schemas"]["LineDiscountRef"] | null;
|
|
4977
|
+
/** Format: decimal */
|
|
4978
|
+
readonly discounted_line_total: string;
|
|
4979
|
+
/** Format: decimal */
|
|
4980
|
+
readonly discounted_tax_amount: string;
|
|
4668
4981
|
};
|
|
4669
4982
|
/**
|
|
4670
4983
|
* @description The published shape of one entry in a line's surcharge snapshot.
|
|
@@ -4995,6 +5308,8 @@ interface components {
|
|
|
4995
5308
|
end_date?: string | null;
|
|
4996
5309
|
/** @description Total redemption limit (null=unlimited) */
|
|
4997
5310
|
max_redemptions?: number | null;
|
|
5311
|
+
/** @description Combines with other discounts. */
|
|
5312
|
+
combinable?: boolean;
|
|
4998
5313
|
readonly redemption_count?: number;
|
|
4999
5314
|
is_active?: boolean;
|
|
5000
5315
|
/** @description Fulfillment types this promotion applies to (empty = all). */
|
|
@@ -5171,6 +5486,8 @@ interface components {
|
|
|
5171
5486
|
readonly used_count?: number;
|
|
5172
5487
|
/** @description Per-customer redemption limit (null=unlimited) */
|
|
5173
5488
|
max_uses_per_customer?: number | null;
|
|
5489
|
+
/** @description Combines with other discounts. */
|
|
5490
|
+
combinable?: boolean;
|
|
5174
5491
|
/**
|
|
5175
5492
|
* Format: date-time
|
|
5176
5493
|
* @description When discount becomes active
|
|
@@ -5208,6 +5525,16 @@ interface components {
|
|
|
5208
5525
|
/** Format: date-time */
|
|
5209
5526
|
readonly updated_at?: string;
|
|
5210
5527
|
};
|
|
5528
|
+
/** @description What the Create / Edit group dialog sends. All optional on PATCH. */
|
|
5529
|
+
PatchedGroupWrite: {
|
|
5530
|
+
title?: string;
|
|
5531
|
+
description?: string;
|
|
5532
|
+
selection_type?: components["schemas"]["GroupWriteSelectionTypeEnum"];
|
|
5533
|
+
min_selections?: number;
|
|
5534
|
+
max_selections?: number | null;
|
|
5535
|
+
items?: components["schemas"]["GroupItemWrite"][];
|
|
5536
|
+
required?: boolean;
|
|
5537
|
+
};
|
|
5211
5538
|
PatchedMessageUpdate: {
|
|
5212
5539
|
priority?: number;
|
|
5213
5540
|
/** Format: date-time */
|
|
@@ -5218,6 +5545,15 @@ interface components {
|
|
|
5218
5545
|
dismiss_duration?: string | null;
|
|
5219
5546
|
targeting?: unknown;
|
|
5220
5547
|
};
|
|
5548
|
+
/** @description What the Create / Edit option dialog sends. All optional on PATCH. */
|
|
5549
|
+
PatchedOptionWrite: {
|
|
5550
|
+
title?: string;
|
|
5551
|
+
description?: string;
|
|
5552
|
+
/** Format: uri */
|
|
5553
|
+
image_url?: string;
|
|
5554
|
+
visible?: boolean;
|
|
5555
|
+
snoozable?: boolean;
|
|
5556
|
+
};
|
|
5221
5557
|
PatchedPrintDeviceUpdateRequest: {
|
|
5222
5558
|
copies?: number;
|
|
5223
5559
|
};
|
|
@@ -5624,6 +5960,10 @@ interface components {
|
|
|
5624
5960
|
* @enum {string}
|
|
5625
5961
|
*/
|
|
5626
5962
|
ProductFulfilmentDatesReasonEnum: "no_dates";
|
|
5963
|
+
ProductGroup: {
|
|
5964
|
+
modifier_group_id: number;
|
|
5965
|
+
library_group: components["schemas"]["LibraryGroup"];
|
|
5966
|
+
};
|
|
5627
5967
|
ProductImage: {
|
|
5628
5968
|
readonly id: number;
|
|
5629
5969
|
/** Format: uri */
|
|
@@ -5694,13 +6034,20 @@ interface components {
|
|
|
5694
6034
|
ProductModifierGroup: {
|
|
5695
6035
|
readonly id: number;
|
|
5696
6036
|
readonly title: string;
|
|
5697
|
-
selection_type: components["schemas"]["
|
|
6037
|
+
selection_type: components["schemas"]["ProductModifierGroupSelectionTypeEnum"];
|
|
5698
6038
|
required?: boolean;
|
|
5699
6039
|
min_selections?: number;
|
|
5700
6040
|
max_selections?: number | null;
|
|
5701
6041
|
position?: number;
|
|
5702
6042
|
readonly modifiers: components["schemas"]["ProductModifier"][];
|
|
5703
6043
|
};
|
|
6044
|
+
/**
|
|
6045
|
+
* @description * `single` - Single
|
|
6046
|
+
* * `multiple` - Multiple
|
|
6047
|
+
* * `quantity` - Quantity
|
|
6048
|
+
* @enum {string}
|
|
6049
|
+
*/
|
|
6050
|
+
ProductModifierGroupSelectionTypeEnum: "single" | "multiple" | "quantity";
|
|
5704
6051
|
/** @description The closest pickup location: the same shape ``address-check`` returns. */
|
|
5705
6052
|
ProductNearestPickup: {
|
|
5706
6053
|
id: number;
|
|
@@ -5765,6 +6112,9 @@ interface components {
|
|
|
5765
6112
|
position?: number;
|
|
5766
6113
|
readonly attribute_values: components["schemas"]["VariantAttributeValue"][];
|
|
5767
6114
|
};
|
|
6115
|
+
ProductsAffected: {
|
|
6116
|
+
products_affected: number;
|
|
6117
|
+
};
|
|
5768
6118
|
Promotion: {
|
|
5769
6119
|
readonly id: number;
|
|
5770
6120
|
/** @description Per-location id (PAT-1306). Required when location_scope=SINGLE; NULL for SUBSET and ALL_LOCATIONS. */
|
|
@@ -5983,13 +6333,6 @@ interface components {
|
|
|
5983
6333
|
* @enum {string}
|
|
5984
6334
|
*/
|
|
5985
6335
|
SegmentTypeEnum: "system" | "custom" | "manual";
|
|
5986
|
-
/**
|
|
5987
|
-
* @description * `single` - Single
|
|
5988
|
-
* * `multiple` - Multiple
|
|
5989
|
-
* * `quantity` - Quantity
|
|
5990
|
-
* @enum {string}
|
|
5991
|
-
*/
|
|
5992
|
-
SelectionTypeEnum: "single" | "multiple" | "quantity";
|
|
5993
6336
|
SetDelivery: {
|
|
5994
6337
|
shipping_address?: unknown;
|
|
5995
6338
|
shipping_method?: unknown;
|
|
@@ -6023,6 +6366,16 @@ interface components {
|
|
|
6023
6366
|
SharedProductsRequest: {
|
|
6024
6367
|
store_public_ids: string[];
|
|
6025
6368
|
};
|
|
6369
|
+
/** @description One snoozed item. ``sold_out_options`` explains a ``required_group`` one. */
|
|
6370
|
+
Snooze: {
|
|
6371
|
+
item_type: components["schemas"]["ItemTypeEnum"];
|
|
6372
|
+
item_id: number;
|
|
6373
|
+
title: string;
|
|
6374
|
+
cause: components["schemas"]["CauseEnum"];
|
|
6375
|
+
/** Format: date-time */
|
|
6376
|
+
started_at: string;
|
|
6377
|
+
sold_out_options: string[];
|
|
6378
|
+
};
|
|
6026
6379
|
/**
|
|
6027
6380
|
* @description * `manual` - Manual
|
|
6028
6381
|
* * `auto` - Auto-translated
|
|
@@ -6331,6 +6684,14 @@ interface components {
|
|
|
6331
6684
|
slug: string;
|
|
6332
6685
|
abbreviation: string;
|
|
6333
6686
|
};
|
|
6687
|
+
/** @description ``minutes_snoozed`` is null when the item was not snoozed by hand. */
|
|
6688
|
+
UnsnoozeResult: {
|
|
6689
|
+
minutes_snoozed: number | null;
|
|
6690
|
+
};
|
|
6691
|
+
UsedInProduct: {
|
|
6692
|
+
product_id: number;
|
|
6693
|
+
title: string;
|
|
6694
|
+
};
|
|
6334
6695
|
User: {
|
|
6335
6696
|
/** @description Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. */
|
|
6336
6697
|
username: string;
|
|
@@ -12104,6 +12465,1295 @@ interface operations {
|
|
|
12104
12465
|
};
|
|
12105
12466
|
};
|
|
12106
12467
|
};
|
|
12468
|
+
admin_stores_options_library_retrieve: {
|
|
12469
|
+
parameters: {
|
|
12470
|
+
query?: never;
|
|
12471
|
+
header?: {
|
|
12472
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
12473
|
+
"X-Sous-Company-Id"?: number;
|
|
12474
|
+
};
|
|
12475
|
+
path: {
|
|
12476
|
+
store_public_id: string;
|
|
12477
|
+
};
|
|
12478
|
+
cookie?: never;
|
|
12479
|
+
};
|
|
12480
|
+
requestBody?: never;
|
|
12481
|
+
responses: {
|
|
12482
|
+
200: {
|
|
12483
|
+
headers: {
|
|
12484
|
+
[name: string]: unknown;
|
|
12485
|
+
};
|
|
12486
|
+
content: {
|
|
12487
|
+
"application/json": components["schemas"]["LibrarySummary"];
|
|
12488
|
+
};
|
|
12489
|
+
};
|
|
12490
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12491
|
+
400: {
|
|
12492
|
+
headers: {
|
|
12493
|
+
[name: string]: unknown;
|
|
12494
|
+
};
|
|
12495
|
+
content: {
|
|
12496
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12497
|
+
};
|
|
12498
|
+
};
|
|
12499
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12500
|
+
401: {
|
|
12501
|
+
headers: {
|
|
12502
|
+
[name: string]: unknown;
|
|
12503
|
+
};
|
|
12504
|
+
content: {
|
|
12505
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12506
|
+
};
|
|
12507
|
+
};
|
|
12508
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12509
|
+
403: {
|
|
12510
|
+
headers: {
|
|
12511
|
+
[name: string]: unknown;
|
|
12512
|
+
};
|
|
12513
|
+
content: {
|
|
12514
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12515
|
+
};
|
|
12516
|
+
};
|
|
12517
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12518
|
+
404: {
|
|
12519
|
+
headers: {
|
|
12520
|
+
[name: string]: unknown;
|
|
12521
|
+
};
|
|
12522
|
+
content: {
|
|
12523
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12524
|
+
};
|
|
12525
|
+
};
|
|
12526
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12527
|
+
429: {
|
|
12528
|
+
headers: {
|
|
12529
|
+
[name: string]: unknown;
|
|
12530
|
+
};
|
|
12531
|
+
content: {
|
|
12532
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12533
|
+
};
|
|
12534
|
+
};
|
|
12535
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12536
|
+
500: {
|
|
12537
|
+
headers: {
|
|
12538
|
+
[name: string]: unknown;
|
|
12539
|
+
};
|
|
12540
|
+
content: {
|
|
12541
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12542
|
+
};
|
|
12543
|
+
};
|
|
12544
|
+
};
|
|
12545
|
+
};
|
|
12546
|
+
admin_stores_options_library_channels_retrieve: {
|
|
12547
|
+
parameters: {
|
|
12548
|
+
query?: never;
|
|
12549
|
+
header?: {
|
|
12550
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
12551
|
+
"X-Sous-Company-Id"?: number;
|
|
12552
|
+
};
|
|
12553
|
+
path: {
|
|
12554
|
+
store_public_id: string;
|
|
12555
|
+
};
|
|
12556
|
+
cookie?: never;
|
|
12557
|
+
};
|
|
12558
|
+
requestBody?: never;
|
|
12559
|
+
responses: {
|
|
12560
|
+
200: {
|
|
12561
|
+
headers: {
|
|
12562
|
+
[name: string]: unknown;
|
|
12563
|
+
};
|
|
12564
|
+
content: {
|
|
12565
|
+
"application/json": components["schemas"]["Channels"];
|
|
12566
|
+
};
|
|
12567
|
+
};
|
|
12568
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12569
|
+
400: {
|
|
12570
|
+
headers: {
|
|
12571
|
+
[name: string]: unknown;
|
|
12572
|
+
};
|
|
12573
|
+
content: {
|
|
12574
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12575
|
+
};
|
|
12576
|
+
};
|
|
12577
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12578
|
+
401: {
|
|
12579
|
+
headers: {
|
|
12580
|
+
[name: string]: unknown;
|
|
12581
|
+
};
|
|
12582
|
+
content: {
|
|
12583
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12584
|
+
};
|
|
12585
|
+
};
|
|
12586
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12587
|
+
403: {
|
|
12588
|
+
headers: {
|
|
12589
|
+
[name: string]: unknown;
|
|
12590
|
+
};
|
|
12591
|
+
content: {
|
|
12592
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12593
|
+
};
|
|
12594
|
+
};
|
|
12595
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12596
|
+
404: {
|
|
12597
|
+
headers: {
|
|
12598
|
+
[name: string]: unknown;
|
|
12599
|
+
};
|
|
12600
|
+
content: {
|
|
12601
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12602
|
+
};
|
|
12603
|
+
};
|
|
12604
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12605
|
+
429: {
|
|
12606
|
+
headers: {
|
|
12607
|
+
[name: string]: unknown;
|
|
12608
|
+
};
|
|
12609
|
+
content: {
|
|
12610
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12611
|
+
};
|
|
12612
|
+
};
|
|
12613
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12614
|
+
500: {
|
|
12615
|
+
headers: {
|
|
12616
|
+
[name: string]: unknown;
|
|
12617
|
+
};
|
|
12618
|
+
content: {
|
|
12619
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12620
|
+
};
|
|
12621
|
+
};
|
|
12622
|
+
};
|
|
12623
|
+
};
|
|
12624
|
+
admin_stores_options_library_groups_list: {
|
|
12625
|
+
parameters: {
|
|
12626
|
+
query?: never;
|
|
12627
|
+
header?: {
|
|
12628
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
12629
|
+
"X-Sous-Company-Id"?: number;
|
|
12630
|
+
};
|
|
12631
|
+
path: {
|
|
12632
|
+
store_public_id: string;
|
|
12633
|
+
};
|
|
12634
|
+
cookie?: never;
|
|
12635
|
+
};
|
|
12636
|
+
requestBody?: never;
|
|
12637
|
+
responses: {
|
|
12638
|
+
200: {
|
|
12639
|
+
headers: {
|
|
12640
|
+
[name: string]: unknown;
|
|
12641
|
+
};
|
|
12642
|
+
content: {
|
|
12643
|
+
"application/json": components["schemas"]["LibraryGroup"][];
|
|
12644
|
+
};
|
|
12645
|
+
};
|
|
12646
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12647
|
+
400: {
|
|
12648
|
+
headers: {
|
|
12649
|
+
[name: string]: unknown;
|
|
12650
|
+
};
|
|
12651
|
+
content: {
|
|
12652
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12653
|
+
};
|
|
12654
|
+
};
|
|
12655
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12656
|
+
401: {
|
|
12657
|
+
headers: {
|
|
12658
|
+
[name: string]: unknown;
|
|
12659
|
+
};
|
|
12660
|
+
content: {
|
|
12661
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12662
|
+
};
|
|
12663
|
+
};
|
|
12664
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12665
|
+
403: {
|
|
12666
|
+
headers: {
|
|
12667
|
+
[name: string]: unknown;
|
|
12668
|
+
};
|
|
12669
|
+
content: {
|
|
12670
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12671
|
+
};
|
|
12672
|
+
};
|
|
12673
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12674
|
+
404: {
|
|
12675
|
+
headers: {
|
|
12676
|
+
[name: string]: unknown;
|
|
12677
|
+
};
|
|
12678
|
+
content: {
|
|
12679
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12680
|
+
};
|
|
12681
|
+
};
|
|
12682
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12683
|
+
429: {
|
|
12684
|
+
headers: {
|
|
12685
|
+
[name: string]: unknown;
|
|
12686
|
+
};
|
|
12687
|
+
content: {
|
|
12688
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12689
|
+
};
|
|
12690
|
+
};
|
|
12691
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12692
|
+
500: {
|
|
12693
|
+
headers: {
|
|
12694
|
+
[name: string]: unknown;
|
|
12695
|
+
};
|
|
12696
|
+
content: {
|
|
12697
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12698
|
+
};
|
|
12699
|
+
};
|
|
12700
|
+
};
|
|
12701
|
+
};
|
|
12702
|
+
admin_stores_options_library_groups_create: {
|
|
12703
|
+
parameters: {
|
|
12704
|
+
query?: never;
|
|
12705
|
+
header?: {
|
|
12706
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
12707
|
+
"X-Sous-Company-Id"?: number;
|
|
12708
|
+
};
|
|
12709
|
+
path: {
|
|
12710
|
+
store_public_id: string;
|
|
12711
|
+
};
|
|
12712
|
+
cookie?: never;
|
|
12713
|
+
};
|
|
12714
|
+
requestBody: {
|
|
12715
|
+
content: {
|
|
12716
|
+
"application/json": components["schemas"]["GroupWrite"];
|
|
12717
|
+
"application/x-www-form-urlencoded": components["schemas"]["GroupWrite"];
|
|
12718
|
+
"multipart/form-data": components["schemas"]["GroupWrite"];
|
|
12719
|
+
};
|
|
12720
|
+
};
|
|
12721
|
+
responses: {
|
|
12722
|
+
201: {
|
|
12723
|
+
headers: {
|
|
12724
|
+
[name: string]: unknown;
|
|
12725
|
+
};
|
|
12726
|
+
content: {
|
|
12727
|
+
"application/json": components["schemas"]["LibraryGroup"];
|
|
12728
|
+
};
|
|
12729
|
+
};
|
|
12730
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12731
|
+
400: {
|
|
12732
|
+
headers: {
|
|
12733
|
+
[name: string]: unknown;
|
|
12734
|
+
};
|
|
12735
|
+
content: {
|
|
12736
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12737
|
+
};
|
|
12738
|
+
};
|
|
12739
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12740
|
+
401: {
|
|
12741
|
+
headers: {
|
|
12742
|
+
[name: string]: unknown;
|
|
12743
|
+
};
|
|
12744
|
+
content: {
|
|
12745
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12746
|
+
};
|
|
12747
|
+
};
|
|
12748
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12749
|
+
403: {
|
|
12750
|
+
headers: {
|
|
12751
|
+
[name: string]: unknown;
|
|
12752
|
+
};
|
|
12753
|
+
content: {
|
|
12754
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12755
|
+
};
|
|
12756
|
+
};
|
|
12757
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12758
|
+
404: {
|
|
12759
|
+
headers: {
|
|
12760
|
+
[name: string]: unknown;
|
|
12761
|
+
};
|
|
12762
|
+
content: {
|
|
12763
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12764
|
+
};
|
|
12765
|
+
};
|
|
12766
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12767
|
+
429: {
|
|
12768
|
+
headers: {
|
|
12769
|
+
[name: string]: unknown;
|
|
12770
|
+
};
|
|
12771
|
+
content: {
|
|
12772
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12773
|
+
};
|
|
12774
|
+
};
|
|
12775
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12776
|
+
500: {
|
|
12777
|
+
headers: {
|
|
12778
|
+
[name: string]: unknown;
|
|
12779
|
+
};
|
|
12780
|
+
content: {
|
|
12781
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12782
|
+
};
|
|
12783
|
+
};
|
|
12784
|
+
};
|
|
12785
|
+
};
|
|
12786
|
+
admin_stores_options_library_groups_destroy: {
|
|
12787
|
+
parameters: {
|
|
12788
|
+
query?: never;
|
|
12789
|
+
header?: {
|
|
12790
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
12791
|
+
"X-Sous-Company-Id"?: number;
|
|
12792
|
+
};
|
|
12793
|
+
path: {
|
|
12794
|
+
group_id: number;
|
|
12795
|
+
store_public_id: string;
|
|
12796
|
+
};
|
|
12797
|
+
cookie?: never;
|
|
12798
|
+
};
|
|
12799
|
+
requestBody?: never;
|
|
12800
|
+
responses: {
|
|
12801
|
+
200: {
|
|
12802
|
+
headers: {
|
|
12803
|
+
[name: string]: unknown;
|
|
12804
|
+
};
|
|
12805
|
+
content: {
|
|
12806
|
+
"application/json": components["schemas"]["ProductsAffected"];
|
|
12807
|
+
};
|
|
12808
|
+
};
|
|
12809
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12810
|
+
400: {
|
|
12811
|
+
headers: {
|
|
12812
|
+
[name: string]: unknown;
|
|
12813
|
+
};
|
|
12814
|
+
content: {
|
|
12815
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12816
|
+
};
|
|
12817
|
+
};
|
|
12818
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12819
|
+
401: {
|
|
12820
|
+
headers: {
|
|
12821
|
+
[name: string]: unknown;
|
|
12822
|
+
};
|
|
12823
|
+
content: {
|
|
12824
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12825
|
+
};
|
|
12826
|
+
};
|
|
12827
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12828
|
+
403: {
|
|
12829
|
+
headers: {
|
|
12830
|
+
[name: string]: unknown;
|
|
12831
|
+
};
|
|
12832
|
+
content: {
|
|
12833
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12834
|
+
};
|
|
12835
|
+
};
|
|
12836
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12837
|
+
404: {
|
|
12838
|
+
headers: {
|
|
12839
|
+
[name: string]: unknown;
|
|
12840
|
+
};
|
|
12841
|
+
content: {
|
|
12842
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12843
|
+
};
|
|
12844
|
+
};
|
|
12845
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12846
|
+
429: {
|
|
12847
|
+
headers: {
|
|
12848
|
+
[name: string]: unknown;
|
|
12849
|
+
};
|
|
12850
|
+
content: {
|
|
12851
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12852
|
+
};
|
|
12853
|
+
};
|
|
12854
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12855
|
+
500: {
|
|
12856
|
+
headers: {
|
|
12857
|
+
[name: string]: unknown;
|
|
12858
|
+
};
|
|
12859
|
+
content: {
|
|
12860
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12861
|
+
};
|
|
12862
|
+
};
|
|
12863
|
+
};
|
|
12864
|
+
};
|
|
12865
|
+
admin_stores_options_library_groups_partial_update: {
|
|
12866
|
+
parameters: {
|
|
12867
|
+
query?: never;
|
|
12868
|
+
header?: {
|
|
12869
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
12870
|
+
"X-Sous-Company-Id"?: number;
|
|
12871
|
+
};
|
|
12872
|
+
path: {
|
|
12873
|
+
group_id: number;
|
|
12874
|
+
store_public_id: string;
|
|
12875
|
+
};
|
|
12876
|
+
cookie?: never;
|
|
12877
|
+
};
|
|
12878
|
+
requestBody?: {
|
|
12879
|
+
content: {
|
|
12880
|
+
"application/json": components["schemas"]["PatchedGroupWrite"];
|
|
12881
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedGroupWrite"];
|
|
12882
|
+
"multipart/form-data": components["schemas"]["PatchedGroupWrite"];
|
|
12883
|
+
};
|
|
12884
|
+
};
|
|
12885
|
+
responses: {
|
|
12886
|
+
200: {
|
|
12887
|
+
headers: {
|
|
12888
|
+
[name: string]: unknown;
|
|
12889
|
+
};
|
|
12890
|
+
content: {
|
|
12891
|
+
"application/json": components["schemas"]["GroupEditResult"];
|
|
12892
|
+
};
|
|
12893
|
+
};
|
|
12894
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12895
|
+
400: {
|
|
12896
|
+
headers: {
|
|
12897
|
+
[name: string]: unknown;
|
|
12898
|
+
};
|
|
12899
|
+
content: {
|
|
12900
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12901
|
+
};
|
|
12902
|
+
};
|
|
12903
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12904
|
+
401: {
|
|
12905
|
+
headers: {
|
|
12906
|
+
[name: string]: unknown;
|
|
12907
|
+
};
|
|
12908
|
+
content: {
|
|
12909
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12910
|
+
};
|
|
12911
|
+
};
|
|
12912
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12913
|
+
403: {
|
|
12914
|
+
headers: {
|
|
12915
|
+
[name: string]: unknown;
|
|
12916
|
+
};
|
|
12917
|
+
content: {
|
|
12918
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12919
|
+
};
|
|
12920
|
+
};
|
|
12921
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12922
|
+
404: {
|
|
12923
|
+
headers: {
|
|
12924
|
+
[name: string]: unknown;
|
|
12925
|
+
};
|
|
12926
|
+
content: {
|
|
12927
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12928
|
+
};
|
|
12929
|
+
};
|
|
12930
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12931
|
+
429: {
|
|
12932
|
+
headers: {
|
|
12933
|
+
[name: string]: unknown;
|
|
12934
|
+
};
|
|
12935
|
+
content: {
|
|
12936
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12937
|
+
};
|
|
12938
|
+
};
|
|
12939
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12940
|
+
500: {
|
|
12941
|
+
headers: {
|
|
12942
|
+
[name: string]: unknown;
|
|
12943
|
+
};
|
|
12944
|
+
content: {
|
|
12945
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12946
|
+
};
|
|
12947
|
+
};
|
|
12948
|
+
};
|
|
12949
|
+
};
|
|
12950
|
+
admin_stores_options_library_options_list: {
|
|
12951
|
+
parameters: {
|
|
12952
|
+
query?: never;
|
|
12953
|
+
header?: {
|
|
12954
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
12955
|
+
"X-Sous-Company-Id"?: number;
|
|
12956
|
+
};
|
|
12957
|
+
path: {
|
|
12958
|
+
store_public_id: string;
|
|
12959
|
+
};
|
|
12960
|
+
cookie?: never;
|
|
12961
|
+
};
|
|
12962
|
+
requestBody?: never;
|
|
12963
|
+
responses: {
|
|
12964
|
+
200: {
|
|
12965
|
+
headers: {
|
|
12966
|
+
[name: string]: unknown;
|
|
12967
|
+
};
|
|
12968
|
+
content: {
|
|
12969
|
+
"application/json": components["schemas"]["LibraryOption"][];
|
|
12970
|
+
};
|
|
12971
|
+
};
|
|
12972
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12973
|
+
400: {
|
|
12974
|
+
headers: {
|
|
12975
|
+
[name: string]: unknown;
|
|
12976
|
+
};
|
|
12977
|
+
content: {
|
|
12978
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12979
|
+
};
|
|
12980
|
+
};
|
|
12981
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12982
|
+
401: {
|
|
12983
|
+
headers: {
|
|
12984
|
+
[name: string]: unknown;
|
|
12985
|
+
};
|
|
12986
|
+
content: {
|
|
12987
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12988
|
+
};
|
|
12989
|
+
};
|
|
12990
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
12991
|
+
403: {
|
|
12992
|
+
headers: {
|
|
12993
|
+
[name: string]: unknown;
|
|
12994
|
+
};
|
|
12995
|
+
content: {
|
|
12996
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
12997
|
+
};
|
|
12998
|
+
};
|
|
12999
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13000
|
+
404: {
|
|
13001
|
+
headers: {
|
|
13002
|
+
[name: string]: unknown;
|
|
13003
|
+
};
|
|
13004
|
+
content: {
|
|
13005
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13006
|
+
};
|
|
13007
|
+
};
|
|
13008
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13009
|
+
429: {
|
|
13010
|
+
headers: {
|
|
13011
|
+
[name: string]: unknown;
|
|
13012
|
+
};
|
|
13013
|
+
content: {
|
|
13014
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13015
|
+
};
|
|
13016
|
+
};
|
|
13017
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13018
|
+
500: {
|
|
13019
|
+
headers: {
|
|
13020
|
+
[name: string]: unknown;
|
|
13021
|
+
};
|
|
13022
|
+
content: {
|
|
13023
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13024
|
+
};
|
|
13025
|
+
};
|
|
13026
|
+
};
|
|
13027
|
+
};
|
|
13028
|
+
admin_stores_options_library_options_create: {
|
|
13029
|
+
parameters: {
|
|
13030
|
+
query?: never;
|
|
13031
|
+
header?: {
|
|
13032
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
13033
|
+
"X-Sous-Company-Id"?: number;
|
|
13034
|
+
};
|
|
13035
|
+
path: {
|
|
13036
|
+
store_public_id: string;
|
|
13037
|
+
};
|
|
13038
|
+
cookie?: never;
|
|
13039
|
+
};
|
|
13040
|
+
requestBody: {
|
|
13041
|
+
content: {
|
|
13042
|
+
"application/json": components["schemas"]["OptionWrite"];
|
|
13043
|
+
"application/x-www-form-urlencoded": components["schemas"]["OptionWrite"];
|
|
13044
|
+
"multipart/form-data": components["schemas"]["OptionWrite"];
|
|
13045
|
+
};
|
|
13046
|
+
};
|
|
13047
|
+
responses: {
|
|
13048
|
+
201: {
|
|
13049
|
+
headers: {
|
|
13050
|
+
[name: string]: unknown;
|
|
13051
|
+
};
|
|
13052
|
+
content: {
|
|
13053
|
+
"application/json": components["schemas"]["LibraryOption"];
|
|
13054
|
+
};
|
|
13055
|
+
};
|
|
13056
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13057
|
+
400: {
|
|
13058
|
+
headers: {
|
|
13059
|
+
[name: string]: unknown;
|
|
13060
|
+
};
|
|
13061
|
+
content: {
|
|
13062
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13063
|
+
};
|
|
13064
|
+
};
|
|
13065
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13066
|
+
401: {
|
|
13067
|
+
headers: {
|
|
13068
|
+
[name: string]: unknown;
|
|
13069
|
+
};
|
|
13070
|
+
content: {
|
|
13071
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13072
|
+
};
|
|
13073
|
+
};
|
|
13074
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13075
|
+
403: {
|
|
13076
|
+
headers: {
|
|
13077
|
+
[name: string]: unknown;
|
|
13078
|
+
};
|
|
13079
|
+
content: {
|
|
13080
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13081
|
+
};
|
|
13082
|
+
};
|
|
13083
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13084
|
+
404: {
|
|
13085
|
+
headers: {
|
|
13086
|
+
[name: string]: unknown;
|
|
13087
|
+
};
|
|
13088
|
+
content: {
|
|
13089
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13090
|
+
};
|
|
13091
|
+
};
|
|
13092
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13093
|
+
429: {
|
|
13094
|
+
headers: {
|
|
13095
|
+
[name: string]: unknown;
|
|
13096
|
+
};
|
|
13097
|
+
content: {
|
|
13098
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13099
|
+
};
|
|
13100
|
+
};
|
|
13101
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13102
|
+
500: {
|
|
13103
|
+
headers: {
|
|
13104
|
+
[name: string]: unknown;
|
|
13105
|
+
};
|
|
13106
|
+
content: {
|
|
13107
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13108
|
+
};
|
|
13109
|
+
};
|
|
13110
|
+
};
|
|
13111
|
+
};
|
|
13112
|
+
admin_stores_options_library_options_destroy: {
|
|
13113
|
+
parameters: {
|
|
13114
|
+
query?: never;
|
|
13115
|
+
header?: {
|
|
13116
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
13117
|
+
"X-Sous-Company-Id"?: number;
|
|
13118
|
+
};
|
|
13119
|
+
path: {
|
|
13120
|
+
option_id: number;
|
|
13121
|
+
store_public_id: string;
|
|
13122
|
+
};
|
|
13123
|
+
cookie?: never;
|
|
13124
|
+
};
|
|
13125
|
+
requestBody?: never;
|
|
13126
|
+
responses: {
|
|
13127
|
+
200: {
|
|
13128
|
+
headers: {
|
|
13129
|
+
[name: string]: unknown;
|
|
13130
|
+
};
|
|
13131
|
+
content: {
|
|
13132
|
+
"application/json": components["schemas"]["ProductsAffected"];
|
|
13133
|
+
};
|
|
13134
|
+
};
|
|
13135
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13136
|
+
400: {
|
|
13137
|
+
headers: {
|
|
13138
|
+
[name: string]: unknown;
|
|
13139
|
+
};
|
|
13140
|
+
content: {
|
|
13141
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13142
|
+
};
|
|
13143
|
+
};
|
|
13144
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13145
|
+
401: {
|
|
13146
|
+
headers: {
|
|
13147
|
+
[name: string]: unknown;
|
|
13148
|
+
};
|
|
13149
|
+
content: {
|
|
13150
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13151
|
+
};
|
|
13152
|
+
};
|
|
13153
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13154
|
+
403: {
|
|
13155
|
+
headers: {
|
|
13156
|
+
[name: string]: unknown;
|
|
13157
|
+
};
|
|
13158
|
+
content: {
|
|
13159
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13160
|
+
};
|
|
13161
|
+
};
|
|
13162
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13163
|
+
404: {
|
|
13164
|
+
headers: {
|
|
13165
|
+
[name: string]: unknown;
|
|
13166
|
+
};
|
|
13167
|
+
content: {
|
|
13168
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13169
|
+
};
|
|
13170
|
+
};
|
|
13171
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13172
|
+
429: {
|
|
13173
|
+
headers: {
|
|
13174
|
+
[name: string]: unknown;
|
|
13175
|
+
};
|
|
13176
|
+
content: {
|
|
13177
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13178
|
+
};
|
|
13179
|
+
};
|
|
13180
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13181
|
+
500: {
|
|
13182
|
+
headers: {
|
|
13183
|
+
[name: string]: unknown;
|
|
13184
|
+
};
|
|
13185
|
+
content: {
|
|
13186
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13187
|
+
};
|
|
13188
|
+
};
|
|
13189
|
+
};
|
|
13190
|
+
};
|
|
13191
|
+
admin_stores_options_library_options_partial_update: {
|
|
13192
|
+
parameters: {
|
|
13193
|
+
query?: never;
|
|
13194
|
+
header?: {
|
|
13195
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
13196
|
+
"X-Sous-Company-Id"?: number;
|
|
13197
|
+
};
|
|
13198
|
+
path: {
|
|
13199
|
+
option_id: number;
|
|
13200
|
+
store_public_id: string;
|
|
13201
|
+
};
|
|
13202
|
+
cookie?: never;
|
|
13203
|
+
};
|
|
13204
|
+
requestBody?: {
|
|
13205
|
+
content: {
|
|
13206
|
+
"application/json": components["schemas"]["PatchedOptionWrite"];
|
|
13207
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedOptionWrite"];
|
|
13208
|
+
"multipart/form-data": components["schemas"]["PatchedOptionWrite"];
|
|
13209
|
+
};
|
|
13210
|
+
};
|
|
13211
|
+
responses: {
|
|
13212
|
+
200: {
|
|
13213
|
+
headers: {
|
|
13214
|
+
[name: string]: unknown;
|
|
13215
|
+
};
|
|
13216
|
+
content: {
|
|
13217
|
+
"application/json": components["schemas"]["LibraryOption"];
|
|
13218
|
+
};
|
|
13219
|
+
};
|
|
13220
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13221
|
+
400: {
|
|
13222
|
+
headers: {
|
|
13223
|
+
[name: string]: unknown;
|
|
13224
|
+
};
|
|
13225
|
+
content: {
|
|
13226
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13227
|
+
};
|
|
13228
|
+
};
|
|
13229
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13230
|
+
401: {
|
|
13231
|
+
headers: {
|
|
13232
|
+
[name: string]: unknown;
|
|
13233
|
+
};
|
|
13234
|
+
content: {
|
|
13235
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13236
|
+
};
|
|
13237
|
+
};
|
|
13238
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13239
|
+
403: {
|
|
13240
|
+
headers: {
|
|
13241
|
+
[name: string]: unknown;
|
|
13242
|
+
};
|
|
13243
|
+
content: {
|
|
13244
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13245
|
+
};
|
|
13246
|
+
};
|
|
13247
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13248
|
+
404: {
|
|
13249
|
+
headers: {
|
|
13250
|
+
[name: string]: unknown;
|
|
13251
|
+
};
|
|
13252
|
+
content: {
|
|
13253
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13254
|
+
};
|
|
13255
|
+
};
|
|
13256
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13257
|
+
429: {
|
|
13258
|
+
headers: {
|
|
13259
|
+
[name: string]: unknown;
|
|
13260
|
+
};
|
|
13261
|
+
content: {
|
|
13262
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13263
|
+
};
|
|
13264
|
+
};
|
|
13265
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13266
|
+
500: {
|
|
13267
|
+
headers: {
|
|
13268
|
+
[name: string]: unknown;
|
|
13269
|
+
};
|
|
13270
|
+
content: {
|
|
13271
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13272
|
+
};
|
|
13273
|
+
};
|
|
13274
|
+
};
|
|
13275
|
+
};
|
|
13276
|
+
admin_stores_options_library_products_groups_list: {
|
|
13277
|
+
parameters: {
|
|
13278
|
+
query?: never;
|
|
13279
|
+
header?: {
|
|
13280
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
13281
|
+
"X-Sous-Company-Id"?: number;
|
|
13282
|
+
};
|
|
13283
|
+
path: {
|
|
13284
|
+
product_id: number;
|
|
13285
|
+
store_public_id: string;
|
|
13286
|
+
};
|
|
13287
|
+
cookie?: never;
|
|
13288
|
+
};
|
|
13289
|
+
requestBody?: never;
|
|
13290
|
+
responses: {
|
|
13291
|
+
200: {
|
|
13292
|
+
headers: {
|
|
13293
|
+
[name: string]: unknown;
|
|
13294
|
+
};
|
|
13295
|
+
content: {
|
|
13296
|
+
"application/json": components["schemas"]["ProductGroup"][];
|
|
13297
|
+
};
|
|
13298
|
+
};
|
|
13299
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13300
|
+
400: {
|
|
13301
|
+
headers: {
|
|
13302
|
+
[name: string]: unknown;
|
|
13303
|
+
};
|
|
13304
|
+
content: {
|
|
13305
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13306
|
+
};
|
|
13307
|
+
};
|
|
13308
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13309
|
+
401: {
|
|
13310
|
+
headers: {
|
|
13311
|
+
[name: string]: unknown;
|
|
13312
|
+
};
|
|
13313
|
+
content: {
|
|
13314
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13315
|
+
};
|
|
13316
|
+
};
|
|
13317
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13318
|
+
403: {
|
|
13319
|
+
headers: {
|
|
13320
|
+
[name: string]: unknown;
|
|
13321
|
+
};
|
|
13322
|
+
content: {
|
|
13323
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13324
|
+
};
|
|
13325
|
+
};
|
|
13326
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13327
|
+
404: {
|
|
13328
|
+
headers: {
|
|
13329
|
+
[name: string]: unknown;
|
|
13330
|
+
};
|
|
13331
|
+
content: {
|
|
13332
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13333
|
+
};
|
|
13334
|
+
};
|
|
13335
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13336
|
+
429: {
|
|
13337
|
+
headers: {
|
|
13338
|
+
[name: string]: unknown;
|
|
13339
|
+
};
|
|
13340
|
+
content: {
|
|
13341
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13342
|
+
};
|
|
13343
|
+
};
|
|
13344
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13345
|
+
500: {
|
|
13346
|
+
headers: {
|
|
13347
|
+
[name: string]: unknown;
|
|
13348
|
+
};
|
|
13349
|
+
content: {
|
|
13350
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13351
|
+
};
|
|
13352
|
+
};
|
|
13353
|
+
};
|
|
13354
|
+
};
|
|
13355
|
+
admin_stores_options_library_products_groups_create: {
|
|
13356
|
+
parameters: {
|
|
13357
|
+
query?: never;
|
|
13358
|
+
header?: {
|
|
13359
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
13360
|
+
"X-Sous-Company-Id"?: number;
|
|
13361
|
+
};
|
|
13362
|
+
path: {
|
|
13363
|
+
product_id: number;
|
|
13364
|
+
store_public_id: string;
|
|
13365
|
+
};
|
|
13366
|
+
cookie?: never;
|
|
13367
|
+
};
|
|
13368
|
+
requestBody?: {
|
|
13369
|
+
content: {
|
|
13370
|
+
"application/json": components["schemas"]["AttachGroup"];
|
|
13371
|
+
"application/x-www-form-urlencoded": components["schemas"]["AttachGroup"];
|
|
13372
|
+
"multipart/form-data": components["schemas"]["AttachGroup"];
|
|
13373
|
+
};
|
|
13374
|
+
};
|
|
13375
|
+
responses: {
|
|
13376
|
+
201: {
|
|
13377
|
+
headers: {
|
|
13378
|
+
[name: string]: unknown;
|
|
13379
|
+
};
|
|
13380
|
+
content: {
|
|
13381
|
+
"application/json": components["schemas"]["ProductGroup"];
|
|
13382
|
+
};
|
|
13383
|
+
};
|
|
13384
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13385
|
+
400: {
|
|
13386
|
+
headers: {
|
|
13387
|
+
[name: string]: unknown;
|
|
13388
|
+
};
|
|
13389
|
+
content: {
|
|
13390
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13391
|
+
};
|
|
13392
|
+
};
|
|
13393
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13394
|
+
401: {
|
|
13395
|
+
headers: {
|
|
13396
|
+
[name: string]: unknown;
|
|
13397
|
+
};
|
|
13398
|
+
content: {
|
|
13399
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13400
|
+
};
|
|
13401
|
+
};
|
|
13402
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13403
|
+
403: {
|
|
13404
|
+
headers: {
|
|
13405
|
+
[name: string]: unknown;
|
|
13406
|
+
};
|
|
13407
|
+
content: {
|
|
13408
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13409
|
+
};
|
|
13410
|
+
};
|
|
13411
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13412
|
+
404: {
|
|
13413
|
+
headers: {
|
|
13414
|
+
[name: string]: unknown;
|
|
13415
|
+
};
|
|
13416
|
+
content: {
|
|
13417
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13418
|
+
};
|
|
13419
|
+
};
|
|
13420
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13421
|
+
429: {
|
|
13422
|
+
headers: {
|
|
13423
|
+
[name: string]: unknown;
|
|
13424
|
+
};
|
|
13425
|
+
content: {
|
|
13426
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13427
|
+
};
|
|
13428
|
+
};
|
|
13429
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13430
|
+
500: {
|
|
13431
|
+
headers: {
|
|
13432
|
+
[name: string]: unknown;
|
|
13433
|
+
};
|
|
13434
|
+
content: {
|
|
13435
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13436
|
+
};
|
|
13437
|
+
};
|
|
13438
|
+
};
|
|
13439
|
+
};
|
|
13440
|
+
admin_stores_options_library_products_groups_destroy: {
|
|
13441
|
+
parameters: {
|
|
13442
|
+
query?: never;
|
|
13443
|
+
header?: {
|
|
13444
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
13445
|
+
"X-Sous-Company-Id"?: number;
|
|
13446
|
+
};
|
|
13447
|
+
path: {
|
|
13448
|
+
modifier_group_id: number;
|
|
13449
|
+
product_id: number;
|
|
13450
|
+
store_public_id: string;
|
|
13451
|
+
};
|
|
13452
|
+
cookie?: never;
|
|
13453
|
+
};
|
|
13454
|
+
requestBody?: never;
|
|
13455
|
+
responses: {
|
|
13456
|
+
/** @description No response body */
|
|
13457
|
+
204: {
|
|
13458
|
+
headers: {
|
|
13459
|
+
[name: string]: unknown;
|
|
13460
|
+
};
|
|
13461
|
+
content?: never;
|
|
13462
|
+
};
|
|
13463
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13464
|
+
400: {
|
|
13465
|
+
headers: {
|
|
13466
|
+
[name: string]: unknown;
|
|
13467
|
+
};
|
|
13468
|
+
content: {
|
|
13469
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13470
|
+
};
|
|
13471
|
+
};
|
|
13472
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13473
|
+
401: {
|
|
13474
|
+
headers: {
|
|
13475
|
+
[name: string]: unknown;
|
|
13476
|
+
};
|
|
13477
|
+
content: {
|
|
13478
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13479
|
+
};
|
|
13480
|
+
};
|
|
13481
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13482
|
+
403: {
|
|
13483
|
+
headers: {
|
|
13484
|
+
[name: string]: unknown;
|
|
13485
|
+
};
|
|
13486
|
+
content: {
|
|
13487
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13488
|
+
};
|
|
13489
|
+
};
|
|
13490
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13491
|
+
404: {
|
|
13492
|
+
headers: {
|
|
13493
|
+
[name: string]: unknown;
|
|
13494
|
+
};
|
|
13495
|
+
content: {
|
|
13496
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13497
|
+
};
|
|
13498
|
+
};
|
|
13499
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13500
|
+
429: {
|
|
13501
|
+
headers: {
|
|
13502
|
+
[name: string]: unknown;
|
|
13503
|
+
};
|
|
13504
|
+
content: {
|
|
13505
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13506
|
+
};
|
|
13507
|
+
};
|
|
13508
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13509
|
+
500: {
|
|
13510
|
+
headers: {
|
|
13511
|
+
[name: string]: unknown;
|
|
13512
|
+
};
|
|
13513
|
+
content: {
|
|
13514
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13515
|
+
};
|
|
13516
|
+
};
|
|
13517
|
+
};
|
|
13518
|
+
};
|
|
13519
|
+
admin_stores_options_library_snoozes_list: {
|
|
13520
|
+
parameters: {
|
|
13521
|
+
query?: never;
|
|
13522
|
+
header?: {
|
|
13523
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
13524
|
+
"X-Sous-Company-Id"?: number;
|
|
13525
|
+
};
|
|
13526
|
+
path: {
|
|
13527
|
+
store_public_id: string;
|
|
13528
|
+
};
|
|
13529
|
+
cookie?: never;
|
|
13530
|
+
};
|
|
13531
|
+
requestBody?: never;
|
|
13532
|
+
responses: {
|
|
13533
|
+
200: {
|
|
13534
|
+
headers: {
|
|
13535
|
+
[name: string]: unknown;
|
|
13536
|
+
};
|
|
13537
|
+
content: {
|
|
13538
|
+
"application/json": components["schemas"]["Snooze"][];
|
|
13539
|
+
};
|
|
13540
|
+
};
|
|
13541
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13542
|
+
400: {
|
|
13543
|
+
headers: {
|
|
13544
|
+
[name: string]: unknown;
|
|
13545
|
+
};
|
|
13546
|
+
content: {
|
|
13547
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13548
|
+
};
|
|
13549
|
+
};
|
|
13550
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13551
|
+
401: {
|
|
13552
|
+
headers: {
|
|
13553
|
+
[name: string]: unknown;
|
|
13554
|
+
};
|
|
13555
|
+
content: {
|
|
13556
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13557
|
+
};
|
|
13558
|
+
};
|
|
13559
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13560
|
+
403: {
|
|
13561
|
+
headers: {
|
|
13562
|
+
[name: string]: unknown;
|
|
13563
|
+
};
|
|
13564
|
+
content: {
|
|
13565
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13566
|
+
};
|
|
13567
|
+
};
|
|
13568
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13569
|
+
404: {
|
|
13570
|
+
headers: {
|
|
13571
|
+
[name: string]: unknown;
|
|
13572
|
+
};
|
|
13573
|
+
content: {
|
|
13574
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13575
|
+
};
|
|
13576
|
+
};
|
|
13577
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13578
|
+
429: {
|
|
13579
|
+
headers: {
|
|
13580
|
+
[name: string]: unknown;
|
|
13581
|
+
};
|
|
13582
|
+
content: {
|
|
13583
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13584
|
+
};
|
|
13585
|
+
};
|
|
13586
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13587
|
+
500: {
|
|
13588
|
+
headers: {
|
|
13589
|
+
[name: string]: unknown;
|
|
13590
|
+
};
|
|
13591
|
+
content: {
|
|
13592
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13593
|
+
};
|
|
13594
|
+
};
|
|
13595
|
+
};
|
|
13596
|
+
};
|
|
13597
|
+
admin_stores_options_library_snoozes_update: {
|
|
13598
|
+
parameters: {
|
|
13599
|
+
query?: never;
|
|
13600
|
+
header?: {
|
|
13601
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
13602
|
+
"X-Sous-Company-Id"?: number;
|
|
13603
|
+
};
|
|
13604
|
+
path: {
|
|
13605
|
+
item_id: number;
|
|
13606
|
+
item_type: string;
|
|
13607
|
+
store_public_id: string;
|
|
13608
|
+
};
|
|
13609
|
+
cookie?: never;
|
|
13610
|
+
};
|
|
13611
|
+
requestBody?: never;
|
|
13612
|
+
responses: {
|
|
13613
|
+
200: {
|
|
13614
|
+
headers: {
|
|
13615
|
+
[name: string]: unknown;
|
|
13616
|
+
};
|
|
13617
|
+
content: {
|
|
13618
|
+
"application/json": components["schemas"]["Snooze"];
|
|
13619
|
+
};
|
|
13620
|
+
};
|
|
13621
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13622
|
+
400: {
|
|
13623
|
+
headers: {
|
|
13624
|
+
[name: string]: unknown;
|
|
13625
|
+
};
|
|
13626
|
+
content: {
|
|
13627
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13628
|
+
};
|
|
13629
|
+
};
|
|
13630
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13631
|
+
401: {
|
|
13632
|
+
headers: {
|
|
13633
|
+
[name: string]: unknown;
|
|
13634
|
+
};
|
|
13635
|
+
content: {
|
|
13636
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13637
|
+
};
|
|
13638
|
+
};
|
|
13639
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13640
|
+
403: {
|
|
13641
|
+
headers: {
|
|
13642
|
+
[name: string]: unknown;
|
|
13643
|
+
};
|
|
13644
|
+
content: {
|
|
13645
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13646
|
+
};
|
|
13647
|
+
};
|
|
13648
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13649
|
+
404: {
|
|
13650
|
+
headers: {
|
|
13651
|
+
[name: string]: unknown;
|
|
13652
|
+
};
|
|
13653
|
+
content: {
|
|
13654
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13655
|
+
};
|
|
13656
|
+
};
|
|
13657
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13658
|
+
429: {
|
|
13659
|
+
headers: {
|
|
13660
|
+
[name: string]: unknown;
|
|
13661
|
+
};
|
|
13662
|
+
content: {
|
|
13663
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13664
|
+
};
|
|
13665
|
+
};
|
|
13666
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13667
|
+
500: {
|
|
13668
|
+
headers: {
|
|
13669
|
+
[name: string]: unknown;
|
|
13670
|
+
};
|
|
13671
|
+
content: {
|
|
13672
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13673
|
+
};
|
|
13674
|
+
};
|
|
13675
|
+
};
|
|
13676
|
+
};
|
|
13677
|
+
admin_stores_options_library_snoozes_destroy: {
|
|
13678
|
+
parameters: {
|
|
13679
|
+
query?: never;
|
|
13680
|
+
header?: {
|
|
13681
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
13682
|
+
"X-Sous-Company-Id"?: number;
|
|
13683
|
+
};
|
|
13684
|
+
path: {
|
|
13685
|
+
item_id: number;
|
|
13686
|
+
item_type: string;
|
|
13687
|
+
store_public_id: string;
|
|
13688
|
+
};
|
|
13689
|
+
cookie?: never;
|
|
13690
|
+
};
|
|
13691
|
+
requestBody?: never;
|
|
13692
|
+
responses: {
|
|
13693
|
+
200: {
|
|
13694
|
+
headers: {
|
|
13695
|
+
[name: string]: unknown;
|
|
13696
|
+
};
|
|
13697
|
+
content: {
|
|
13698
|
+
"application/json": components["schemas"]["UnsnoozeResult"];
|
|
13699
|
+
};
|
|
13700
|
+
};
|
|
13701
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13702
|
+
400: {
|
|
13703
|
+
headers: {
|
|
13704
|
+
[name: string]: unknown;
|
|
13705
|
+
};
|
|
13706
|
+
content: {
|
|
13707
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13708
|
+
};
|
|
13709
|
+
};
|
|
13710
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13711
|
+
401: {
|
|
13712
|
+
headers: {
|
|
13713
|
+
[name: string]: unknown;
|
|
13714
|
+
};
|
|
13715
|
+
content: {
|
|
13716
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13717
|
+
};
|
|
13718
|
+
};
|
|
13719
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13720
|
+
403: {
|
|
13721
|
+
headers: {
|
|
13722
|
+
[name: string]: unknown;
|
|
13723
|
+
};
|
|
13724
|
+
content: {
|
|
13725
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13726
|
+
};
|
|
13727
|
+
};
|
|
13728
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13729
|
+
404: {
|
|
13730
|
+
headers: {
|
|
13731
|
+
[name: string]: unknown;
|
|
13732
|
+
};
|
|
13733
|
+
content: {
|
|
13734
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13735
|
+
};
|
|
13736
|
+
};
|
|
13737
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13738
|
+
429: {
|
|
13739
|
+
headers: {
|
|
13740
|
+
[name: string]: unknown;
|
|
13741
|
+
};
|
|
13742
|
+
content: {
|
|
13743
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13744
|
+
};
|
|
13745
|
+
};
|
|
13746
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13747
|
+
500: {
|
|
13748
|
+
headers: {
|
|
13749
|
+
[name: string]: unknown;
|
|
13750
|
+
};
|
|
13751
|
+
content: {
|
|
13752
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13753
|
+
};
|
|
13754
|
+
};
|
|
13755
|
+
};
|
|
13756
|
+
};
|
|
12107
13757
|
admin_stores_surcharges_list: {
|
|
12108
13758
|
parameters: {
|
|
12109
13759
|
query?: never;
|