@poweredbysous/storefront-all-sdk 4.8.0 → 4.10.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 +428 -5
- package/dist/index.d.ts +428 -5
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -520,6 +520,63 @@ interface paths {
|
|
|
520
520
|
patch?: never;
|
|
521
521
|
trace?: never;
|
|
522
522
|
};
|
|
523
|
+
"/api/v1/admin/printing/jobs/": {
|
|
524
|
+
parameters: {
|
|
525
|
+
query?: never;
|
|
526
|
+
header?: never;
|
|
527
|
+
path?: never;
|
|
528
|
+
cookie?: never;
|
|
529
|
+
};
|
|
530
|
+
/** @description The latest print job per printer for an order: did it print? */
|
|
531
|
+
get: operations["admin_printing_order_jobs"];
|
|
532
|
+
put?: never;
|
|
533
|
+
post?: never;
|
|
534
|
+
delete?: never;
|
|
535
|
+
options?: never;
|
|
536
|
+
head?: never;
|
|
537
|
+
patch?: never;
|
|
538
|
+
trace?: never;
|
|
539
|
+
};
|
|
540
|
+
"/api/v1/admin/printing/print-order/": {
|
|
541
|
+
parameters: {
|
|
542
|
+
query?: never;
|
|
543
|
+
header?: never;
|
|
544
|
+
path?: never;
|
|
545
|
+
cookie?: never;
|
|
546
|
+
};
|
|
547
|
+
get?: never;
|
|
548
|
+
put?: never;
|
|
549
|
+
/**
|
|
550
|
+
* @description Print an order again on the store's cloud printers.
|
|
551
|
+
*
|
|
552
|
+
* 202 with the jobs created (or, for a repeated ``request_id``, the jobs the
|
|
553
|
+
* first request created). 409 when the store has no enabled printer for the
|
|
554
|
+
* order's kitchen, so the portal can fall back to printing locally.
|
|
555
|
+
*/
|
|
556
|
+
post: operations["admin_printing_print_order"];
|
|
557
|
+
delete?: never;
|
|
558
|
+
options?: never;
|
|
559
|
+
head?: never;
|
|
560
|
+
patch?: never;
|
|
561
|
+
trace?: never;
|
|
562
|
+
};
|
|
563
|
+
"/api/v1/admin/printing/stores/{store_public_id}/devices/": {
|
|
564
|
+
parameters: {
|
|
565
|
+
query?: never;
|
|
566
|
+
header?: never;
|
|
567
|
+
path?: never;
|
|
568
|
+
cookie?: never;
|
|
569
|
+
};
|
|
570
|
+
/** @description The store's enabled cloud printers. An empty list: no cloud printing. */
|
|
571
|
+
get: operations["admin_printing_store_devices"];
|
|
572
|
+
put?: never;
|
|
573
|
+
post?: never;
|
|
574
|
+
delete?: never;
|
|
575
|
+
options?: never;
|
|
576
|
+
head?: never;
|
|
577
|
+
patch?: never;
|
|
578
|
+
trace?: never;
|
|
579
|
+
};
|
|
523
580
|
"/api/v1/admin/products/": {
|
|
524
581
|
parameters: {
|
|
525
582
|
query?: never;
|
|
@@ -3097,6 +3154,13 @@ interface paths {
|
|
|
3097
3154
|
*
|
|
3098
3155
|
* Meilisearch unreachable answers 502 rather than an empty page, so
|
|
3099
3156
|
* "nothing matches" and "search is down" never look the same.
|
|
3157
|
+
*
|
|
3158
|
+
* A 200 is cacheable by shared caches for a minute (``CACHE_CONTROL_OK``).
|
|
3159
|
+
* That is safe because the body is a function of the URL and the language
|
|
3160
|
+
* only: there are no authentication classes, no cookie is read or set, and
|
|
3161
|
+
* the store ids it may carry are public identifiers. Search staleness is
|
|
3162
|
+
* acceptable by contract (add-to-cart re-checks fulfilment). Anything that
|
|
3163
|
+
* is not a 200 is ``no-store`` so an outage is never replayed from a cache.
|
|
3100
3164
|
*/
|
|
3101
3165
|
get: operations["discovery_marketplace_retrieve"];
|
|
3102
3166
|
put?: never;
|
|
@@ -3168,6 +3232,29 @@ interface paths {
|
|
|
3168
3232
|
patch?: never;
|
|
3169
3233
|
trace?: never;
|
|
3170
3234
|
};
|
|
3235
|
+
"/api/v1/discovery/store-routes/": {
|
|
3236
|
+
parameters: {
|
|
3237
|
+
query?: never;
|
|
3238
|
+
header?: never;
|
|
3239
|
+
path?: never;
|
|
3240
|
+
cookie?: never;
|
|
3241
|
+
};
|
|
3242
|
+
/**
|
|
3243
|
+
* @description Each ExploreSOUS store's brand and location slug, for its page URL.
|
|
3244
|
+
*
|
|
3245
|
+
* ExploreSOUS serves a store at ``/brands/{brand_slug}/{slug}`` and resolves
|
|
3246
|
+
* both ways with this: a segment pair to the store, and an old
|
|
3247
|
+
* ``/stores/{public_id}`` link to its new address.
|
|
3248
|
+
*/
|
|
3249
|
+
get: operations["discovery_store_routes_retrieve"];
|
|
3250
|
+
put?: never;
|
|
3251
|
+
post?: never;
|
|
3252
|
+
delete?: never;
|
|
3253
|
+
options?: never;
|
|
3254
|
+
head?: never;
|
|
3255
|
+
patch?: never;
|
|
3256
|
+
trace?: never;
|
|
3257
|
+
};
|
|
3171
3258
|
"/api/v1/discovery/stores/": {
|
|
3172
3259
|
parameters: {
|
|
3173
3260
|
query?: never;
|
|
@@ -7602,12 +7689,12 @@ interface components {
|
|
|
7602
7689
|
[key: string]: unknown;
|
|
7603
7690
|
}[];
|
|
7604
7691
|
/**
|
|
7605
|
-
* @description How many products this category shows, descendants included.
|
|
7692
|
+
* @description How many products this category's listing shows, descendants included.
|
|
7606
7693
|
*
|
|
7607
|
-
*
|
|
7608
|
-
* (``views._build_product_counts``) and
|
|
7609
|
-
*
|
|
7610
|
-
*
|
|
7694
|
+
* Precomputed for every category in one pass
|
|
7695
|
+
* (``views._build_product_counts``) and passed in context, on both list
|
|
7696
|
+
* and retrieve: counting here instead would count products the listing
|
|
7697
|
+
* leaves out.
|
|
7611
7698
|
*/
|
|
7612
7699
|
readonly product_count: number;
|
|
7613
7700
|
};
|
|
@@ -8328,6 +8415,15 @@ interface components {
|
|
|
8328
8415
|
DiscoveryStoreMembership: {
|
|
8329
8416
|
store_ids: string[];
|
|
8330
8417
|
};
|
|
8418
|
+
DiscoveryStoreRoute: {
|
|
8419
|
+
public_id: string;
|
|
8420
|
+
brand_slug: string | null;
|
|
8421
|
+
slug: string | null;
|
|
8422
|
+
};
|
|
8423
|
+
/** @description Each ExploreSOUS store's ``/brands/{brand_slug}/{slug}`` address. */
|
|
8424
|
+
DiscoveryStoreRoutes: {
|
|
8425
|
+
stores: components["schemas"]["DiscoveryStoreRoute"][];
|
|
8426
|
+
};
|
|
8331
8427
|
/** @description One filter option, already named in the reader's language. */
|
|
8332
8428
|
DiscoveryTag: {
|
|
8333
8429
|
slug: string;
|
|
@@ -9003,6 +9099,23 @@ interface components {
|
|
|
9003
9099
|
/** Format: date-time */
|
|
9004
9100
|
readonly updated_at: string;
|
|
9005
9101
|
};
|
|
9102
|
+
/**
|
|
9103
|
+
* @description A merchant pressed Print on an order in the merchant portal.
|
|
9104
|
+
*
|
|
9105
|
+
* ``order_id`` is the storefront Order PK and ``store_id`` the storefront
|
|
9106
|
+
* ``Store.id``, as merchant-portal-backend records them on its order
|
|
9107
|
+
* (``external_id``, ``metadata.store_id``). The store must be the merchant's
|
|
9108
|
+
* and must own the order. ``request_id`` is generated per click: a retry
|
|
9109
|
+
* with the same id prints nothing new. Who asked is read from the login
|
|
9110
|
+
* token, not from the body.
|
|
9111
|
+
*/
|
|
9112
|
+
MerchantPrintOrderRequest: {
|
|
9113
|
+
/** Format: uuid */
|
|
9114
|
+
order_id: string;
|
|
9115
|
+
store_id: number;
|
|
9116
|
+
/** Format: uuid */
|
|
9117
|
+
request_id: string;
|
|
9118
|
+
};
|
|
9006
9119
|
/**
|
|
9007
9120
|
* @description The merchant pastes the restaurant id Mergeport gave them.
|
|
9008
9121
|
*
|
|
@@ -14217,6 +14330,261 @@ interface operations {
|
|
|
14217
14330
|
};
|
|
14218
14331
|
};
|
|
14219
14332
|
};
|
|
14333
|
+
admin_printing_order_jobs: {
|
|
14334
|
+
parameters: {
|
|
14335
|
+
query: {
|
|
14336
|
+
order_id: string;
|
|
14337
|
+
store_id: number;
|
|
14338
|
+
};
|
|
14339
|
+
header?: {
|
|
14340
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
14341
|
+
"X-Sous-Company-Id"?: number;
|
|
14342
|
+
};
|
|
14343
|
+
path?: never;
|
|
14344
|
+
cookie?: never;
|
|
14345
|
+
};
|
|
14346
|
+
requestBody?: never;
|
|
14347
|
+
responses: {
|
|
14348
|
+
200: {
|
|
14349
|
+
headers: {
|
|
14350
|
+
[name: string]: unknown;
|
|
14351
|
+
};
|
|
14352
|
+
content: {
|
|
14353
|
+
"application/json": components["schemas"]["PrintJobsResponse"];
|
|
14354
|
+
};
|
|
14355
|
+
};
|
|
14356
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14357
|
+
400: {
|
|
14358
|
+
headers: {
|
|
14359
|
+
[name: string]: unknown;
|
|
14360
|
+
};
|
|
14361
|
+
content: {
|
|
14362
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14363
|
+
};
|
|
14364
|
+
};
|
|
14365
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14366
|
+
401: {
|
|
14367
|
+
headers: {
|
|
14368
|
+
[name: string]: unknown;
|
|
14369
|
+
};
|
|
14370
|
+
content: {
|
|
14371
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14372
|
+
};
|
|
14373
|
+
};
|
|
14374
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14375
|
+
403: {
|
|
14376
|
+
headers: {
|
|
14377
|
+
[name: string]: unknown;
|
|
14378
|
+
};
|
|
14379
|
+
content: {
|
|
14380
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14381
|
+
};
|
|
14382
|
+
};
|
|
14383
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14384
|
+
404: {
|
|
14385
|
+
headers: {
|
|
14386
|
+
[name: string]: unknown;
|
|
14387
|
+
};
|
|
14388
|
+
content: {
|
|
14389
|
+
"application/json": {
|
|
14390
|
+
[key: string]: unknown;
|
|
14391
|
+
};
|
|
14392
|
+
};
|
|
14393
|
+
};
|
|
14394
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14395
|
+
429: {
|
|
14396
|
+
headers: {
|
|
14397
|
+
[name: string]: unknown;
|
|
14398
|
+
};
|
|
14399
|
+
content: {
|
|
14400
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14401
|
+
};
|
|
14402
|
+
};
|
|
14403
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14404
|
+
500: {
|
|
14405
|
+
headers: {
|
|
14406
|
+
[name: string]: unknown;
|
|
14407
|
+
};
|
|
14408
|
+
content: {
|
|
14409
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14410
|
+
};
|
|
14411
|
+
};
|
|
14412
|
+
};
|
|
14413
|
+
};
|
|
14414
|
+
admin_printing_print_order: {
|
|
14415
|
+
parameters: {
|
|
14416
|
+
query?: never;
|
|
14417
|
+
header?: {
|
|
14418
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
14419
|
+
"X-Sous-Company-Id"?: number;
|
|
14420
|
+
};
|
|
14421
|
+
path?: never;
|
|
14422
|
+
cookie?: never;
|
|
14423
|
+
};
|
|
14424
|
+
requestBody: {
|
|
14425
|
+
content: {
|
|
14426
|
+
"application/json": components["schemas"]["MerchantPrintOrderRequest"];
|
|
14427
|
+
"application/x-www-form-urlencoded": components["schemas"]["MerchantPrintOrderRequest"];
|
|
14428
|
+
"multipart/form-data": components["schemas"]["MerchantPrintOrderRequest"];
|
|
14429
|
+
};
|
|
14430
|
+
};
|
|
14431
|
+
responses: {
|
|
14432
|
+
202: {
|
|
14433
|
+
headers: {
|
|
14434
|
+
[name: string]: unknown;
|
|
14435
|
+
};
|
|
14436
|
+
content: {
|
|
14437
|
+
"application/json": components["schemas"]["PrintJobsResponse"];
|
|
14438
|
+
};
|
|
14439
|
+
};
|
|
14440
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14441
|
+
400: {
|
|
14442
|
+
headers: {
|
|
14443
|
+
[name: string]: unknown;
|
|
14444
|
+
};
|
|
14445
|
+
content: {
|
|
14446
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14447
|
+
};
|
|
14448
|
+
};
|
|
14449
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14450
|
+
401: {
|
|
14451
|
+
headers: {
|
|
14452
|
+
[name: string]: unknown;
|
|
14453
|
+
};
|
|
14454
|
+
content: {
|
|
14455
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14456
|
+
};
|
|
14457
|
+
};
|
|
14458
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14459
|
+
403: {
|
|
14460
|
+
headers: {
|
|
14461
|
+
[name: string]: unknown;
|
|
14462
|
+
};
|
|
14463
|
+
content: {
|
|
14464
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14465
|
+
};
|
|
14466
|
+
};
|
|
14467
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14468
|
+
404: {
|
|
14469
|
+
headers: {
|
|
14470
|
+
[name: string]: unknown;
|
|
14471
|
+
};
|
|
14472
|
+
content: {
|
|
14473
|
+
"application/json": {
|
|
14474
|
+
[key: string]: unknown;
|
|
14475
|
+
};
|
|
14476
|
+
};
|
|
14477
|
+
};
|
|
14478
|
+
409: {
|
|
14479
|
+
headers: {
|
|
14480
|
+
[name: string]: unknown;
|
|
14481
|
+
};
|
|
14482
|
+
content: {
|
|
14483
|
+
"application/json": {
|
|
14484
|
+
[key: string]: unknown;
|
|
14485
|
+
};
|
|
14486
|
+
};
|
|
14487
|
+
};
|
|
14488
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14489
|
+
429: {
|
|
14490
|
+
headers: {
|
|
14491
|
+
[name: string]: unknown;
|
|
14492
|
+
};
|
|
14493
|
+
content: {
|
|
14494
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14495
|
+
};
|
|
14496
|
+
};
|
|
14497
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14498
|
+
500: {
|
|
14499
|
+
headers: {
|
|
14500
|
+
[name: string]: unknown;
|
|
14501
|
+
};
|
|
14502
|
+
content: {
|
|
14503
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14504
|
+
};
|
|
14505
|
+
};
|
|
14506
|
+
};
|
|
14507
|
+
};
|
|
14508
|
+
admin_printing_store_devices: {
|
|
14509
|
+
parameters: {
|
|
14510
|
+
query?: never;
|
|
14511
|
+
header?: {
|
|
14512
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
14513
|
+
"X-Sous-Company-Id"?: number;
|
|
14514
|
+
};
|
|
14515
|
+
path: {
|
|
14516
|
+
store_public_id: string;
|
|
14517
|
+
};
|
|
14518
|
+
cookie?: never;
|
|
14519
|
+
};
|
|
14520
|
+
requestBody?: never;
|
|
14521
|
+
responses: {
|
|
14522
|
+
200: {
|
|
14523
|
+
headers: {
|
|
14524
|
+
[name: string]: unknown;
|
|
14525
|
+
};
|
|
14526
|
+
content: {
|
|
14527
|
+
"application/json": components["schemas"]["PrintDevicesResponse"];
|
|
14528
|
+
};
|
|
14529
|
+
};
|
|
14530
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14531
|
+
400: {
|
|
14532
|
+
headers: {
|
|
14533
|
+
[name: string]: unknown;
|
|
14534
|
+
};
|
|
14535
|
+
content: {
|
|
14536
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14537
|
+
};
|
|
14538
|
+
};
|
|
14539
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14540
|
+
401: {
|
|
14541
|
+
headers: {
|
|
14542
|
+
[name: string]: unknown;
|
|
14543
|
+
};
|
|
14544
|
+
content: {
|
|
14545
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14546
|
+
};
|
|
14547
|
+
};
|
|
14548
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14549
|
+
403: {
|
|
14550
|
+
headers: {
|
|
14551
|
+
[name: string]: unknown;
|
|
14552
|
+
};
|
|
14553
|
+
content: {
|
|
14554
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14555
|
+
};
|
|
14556
|
+
};
|
|
14557
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14558
|
+
404: {
|
|
14559
|
+
headers: {
|
|
14560
|
+
[name: string]: unknown;
|
|
14561
|
+
};
|
|
14562
|
+
content: {
|
|
14563
|
+
"application/json": {
|
|
14564
|
+
[key: string]: unknown;
|
|
14565
|
+
};
|
|
14566
|
+
};
|
|
14567
|
+
};
|
|
14568
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14569
|
+
429: {
|
|
14570
|
+
headers: {
|
|
14571
|
+
[name: string]: unknown;
|
|
14572
|
+
};
|
|
14573
|
+
content: {
|
|
14574
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14575
|
+
};
|
|
14576
|
+
};
|
|
14577
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14578
|
+
500: {
|
|
14579
|
+
headers: {
|
|
14580
|
+
[name: string]: unknown;
|
|
14581
|
+
};
|
|
14582
|
+
content: {
|
|
14583
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14584
|
+
};
|
|
14585
|
+
};
|
|
14586
|
+
};
|
|
14587
|
+
};
|
|
14220
14588
|
admin_products_list: {
|
|
14221
14589
|
parameters: {
|
|
14222
14590
|
query?: {
|
|
@@ -26666,6 +27034,61 @@ interface operations {
|
|
|
26666
27034
|
};
|
|
26667
27035
|
};
|
|
26668
27036
|
};
|
|
27037
|
+
discovery_store_routes_retrieve: {
|
|
27038
|
+
parameters: {
|
|
27039
|
+
query?: never;
|
|
27040
|
+
header?: never;
|
|
27041
|
+
path?: never;
|
|
27042
|
+
cookie?: never;
|
|
27043
|
+
};
|
|
27044
|
+
requestBody?: never;
|
|
27045
|
+
responses: {
|
|
27046
|
+
200: {
|
|
27047
|
+
headers: {
|
|
27048
|
+
[name: string]: unknown;
|
|
27049
|
+
};
|
|
27050
|
+
content: {
|
|
27051
|
+
"application/json": components["schemas"]["DiscoveryStoreRoutes"];
|
|
27052
|
+
};
|
|
27053
|
+
};
|
|
27054
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
27055
|
+
400: {
|
|
27056
|
+
headers: {
|
|
27057
|
+
[name: string]: unknown;
|
|
27058
|
+
};
|
|
27059
|
+
content: {
|
|
27060
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
27061
|
+
};
|
|
27062
|
+
};
|
|
27063
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
27064
|
+
404: {
|
|
27065
|
+
headers: {
|
|
27066
|
+
[name: string]: unknown;
|
|
27067
|
+
};
|
|
27068
|
+
content: {
|
|
27069
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
27070
|
+
};
|
|
27071
|
+
};
|
|
27072
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
27073
|
+
429: {
|
|
27074
|
+
headers: {
|
|
27075
|
+
[name: string]: unknown;
|
|
27076
|
+
};
|
|
27077
|
+
content: {
|
|
27078
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
27079
|
+
};
|
|
27080
|
+
};
|
|
27081
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
27082
|
+
500: {
|
|
27083
|
+
headers: {
|
|
27084
|
+
[name: string]: unknown;
|
|
27085
|
+
};
|
|
27086
|
+
content: {
|
|
27087
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
27088
|
+
};
|
|
27089
|
+
};
|
|
27090
|
+
};
|
|
27091
|
+
};
|
|
26669
27092
|
discovery_stores_retrieve: {
|
|
26670
27093
|
parameters: {
|
|
26671
27094
|
query?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -520,6 +520,63 @@ interface paths {
|
|
|
520
520
|
patch?: never;
|
|
521
521
|
trace?: never;
|
|
522
522
|
};
|
|
523
|
+
"/api/v1/admin/printing/jobs/": {
|
|
524
|
+
parameters: {
|
|
525
|
+
query?: never;
|
|
526
|
+
header?: never;
|
|
527
|
+
path?: never;
|
|
528
|
+
cookie?: never;
|
|
529
|
+
};
|
|
530
|
+
/** @description The latest print job per printer for an order: did it print? */
|
|
531
|
+
get: operations["admin_printing_order_jobs"];
|
|
532
|
+
put?: never;
|
|
533
|
+
post?: never;
|
|
534
|
+
delete?: never;
|
|
535
|
+
options?: never;
|
|
536
|
+
head?: never;
|
|
537
|
+
patch?: never;
|
|
538
|
+
trace?: never;
|
|
539
|
+
};
|
|
540
|
+
"/api/v1/admin/printing/print-order/": {
|
|
541
|
+
parameters: {
|
|
542
|
+
query?: never;
|
|
543
|
+
header?: never;
|
|
544
|
+
path?: never;
|
|
545
|
+
cookie?: never;
|
|
546
|
+
};
|
|
547
|
+
get?: never;
|
|
548
|
+
put?: never;
|
|
549
|
+
/**
|
|
550
|
+
* @description Print an order again on the store's cloud printers.
|
|
551
|
+
*
|
|
552
|
+
* 202 with the jobs created (or, for a repeated ``request_id``, the jobs the
|
|
553
|
+
* first request created). 409 when the store has no enabled printer for the
|
|
554
|
+
* order's kitchen, so the portal can fall back to printing locally.
|
|
555
|
+
*/
|
|
556
|
+
post: operations["admin_printing_print_order"];
|
|
557
|
+
delete?: never;
|
|
558
|
+
options?: never;
|
|
559
|
+
head?: never;
|
|
560
|
+
patch?: never;
|
|
561
|
+
trace?: never;
|
|
562
|
+
};
|
|
563
|
+
"/api/v1/admin/printing/stores/{store_public_id}/devices/": {
|
|
564
|
+
parameters: {
|
|
565
|
+
query?: never;
|
|
566
|
+
header?: never;
|
|
567
|
+
path?: never;
|
|
568
|
+
cookie?: never;
|
|
569
|
+
};
|
|
570
|
+
/** @description The store's enabled cloud printers. An empty list: no cloud printing. */
|
|
571
|
+
get: operations["admin_printing_store_devices"];
|
|
572
|
+
put?: never;
|
|
573
|
+
post?: never;
|
|
574
|
+
delete?: never;
|
|
575
|
+
options?: never;
|
|
576
|
+
head?: never;
|
|
577
|
+
patch?: never;
|
|
578
|
+
trace?: never;
|
|
579
|
+
};
|
|
523
580
|
"/api/v1/admin/products/": {
|
|
524
581
|
parameters: {
|
|
525
582
|
query?: never;
|
|
@@ -3097,6 +3154,13 @@ interface paths {
|
|
|
3097
3154
|
*
|
|
3098
3155
|
* Meilisearch unreachable answers 502 rather than an empty page, so
|
|
3099
3156
|
* "nothing matches" and "search is down" never look the same.
|
|
3157
|
+
*
|
|
3158
|
+
* A 200 is cacheable by shared caches for a minute (``CACHE_CONTROL_OK``).
|
|
3159
|
+
* That is safe because the body is a function of the URL and the language
|
|
3160
|
+
* only: there are no authentication classes, no cookie is read or set, and
|
|
3161
|
+
* the store ids it may carry are public identifiers. Search staleness is
|
|
3162
|
+
* acceptable by contract (add-to-cart re-checks fulfilment). Anything that
|
|
3163
|
+
* is not a 200 is ``no-store`` so an outage is never replayed from a cache.
|
|
3100
3164
|
*/
|
|
3101
3165
|
get: operations["discovery_marketplace_retrieve"];
|
|
3102
3166
|
put?: never;
|
|
@@ -3168,6 +3232,29 @@ interface paths {
|
|
|
3168
3232
|
patch?: never;
|
|
3169
3233
|
trace?: never;
|
|
3170
3234
|
};
|
|
3235
|
+
"/api/v1/discovery/store-routes/": {
|
|
3236
|
+
parameters: {
|
|
3237
|
+
query?: never;
|
|
3238
|
+
header?: never;
|
|
3239
|
+
path?: never;
|
|
3240
|
+
cookie?: never;
|
|
3241
|
+
};
|
|
3242
|
+
/**
|
|
3243
|
+
* @description Each ExploreSOUS store's brand and location slug, for its page URL.
|
|
3244
|
+
*
|
|
3245
|
+
* ExploreSOUS serves a store at ``/brands/{brand_slug}/{slug}`` and resolves
|
|
3246
|
+
* both ways with this: a segment pair to the store, and an old
|
|
3247
|
+
* ``/stores/{public_id}`` link to its new address.
|
|
3248
|
+
*/
|
|
3249
|
+
get: operations["discovery_store_routes_retrieve"];
|
|
3250
|
+
put?: never;
|
|
3251
|
+
post?: never;
|
|
3252
|
+
delete?: never;
|
|
3253
|
+
options?: never;
|
|
3254
|
+
head?: never;
|
|
3255
|
+
patch?: never;
|
|
3256
|
+
trace?: never;
|
|
3257
|
+
};
|
|
3171
3258
|
"/api/v1/discovery/stores/": {
|
|
3172
3259
|
parameters: {
|
|
3173
3260
|
query?: never;
|
|
@@ -7602,12 +7689,12 @@ interface components {
|
|
|
7602
7689
|
[key: string]: unknown;
|
|
7603
7690
|
}[];
|
|
7604
7691
|
/**
|
|
7605
|
-
* @description How many products this category shows, descendants included.
|
|
7692
|
+
* @description How many products this category's listing shows, descendants included.
|
|
7606
7693
|
*
|
|
7607
|
-
*
|
|
7608
|
-
* (``views._build_product_counts``) and
|
|
7609
|
-
*
|
|
7610
|
-
*
|
|
7694
|
+
* Precomputed for every category in one pass
|
|
7695
|
+
* (``views._build_product_counts``) and passed in context, on both list
|
|
7696
|
+
* and retrieve: counting here instead would count products the listing
|
|
7697
|
+
* leaves out.
|
|
7611
7698
|
*/
|
|
7612
7699
|
readonly product_count: number;
|
|
7613
7700
|
};
|
|
@@ -8328,6 +8415,15 @@ interface components {
|
|
|
8328
8415
|
DiscoveryStoreMembership: {
|
|
8329
8416
|
store_ids: string[];
|
|
8330
8417
|
};
|
|
8418
|
+
DiscoveryStoreRoute: {
|
|
8419
|
+
public_id: string;
|
|
8420
|
+
brand_slug: string | null;
|
|
8421
|
+
slug: string | null;
|
|
8422
|
+
};
|
|
8423
|
+
/** @description Each ExploreSOUS store's ``/brands/{brand_slug}/{slug}`` address. */
|
|
8424
|
+
DiscoveryStoreRoutes: {
|
|
8425
|
+
stores: components["schemas"]["DiscoveryStoreRoute"][];
|
|
8426
|
+
};
|
|
8331
8427
|
/** @description One filter option, already named in the reader's language. */
|
|
8332
8428
|
DiscoveryTag: {
|
|
8333
8429
|
slug: string;
|
|
@@ -9003,6 +9099,23 @@ interface components {
|
|
|
9003
9099
|
/** Format: date-time */
|
|
9004
9100
|
readonly updated_at: string;
|
|
9005
9101
|
};
|
|
9102
|
+
/**
|
|
9103
|
+
* @description A merchant pressed Print on an order in the merchant portal.
|
|
9104
|
+
*
|
|
9105
|
+
* ``order_id`` is the storefront Order PK and ``store_id`` the storefront
|
|
9106
|
+
* ``Store.id``, as merchant-portal-backend records them on its order
|
|
9107
|
+
* (``external_id``, ``metadata.store_id``). The store must be the merchant's
|
|
9108
|
+
* and must own the order. ``request_id`` is generated per click: a retry
|
|
9109
|
+
* with the same id prints nothing new. Who asked is read from the login
|
|
9110
|
+
* token, not from the body.
|
|
9111
|
+
*/
|
|
9112
|
+
MerchantPrintOrderRequest: {
|
|
9113
|
+
/** Format: uuid */
|
|
9114
|
+
order_id: string;
|
|
9115
|
+
store_id: number;
|
|
9116
|
+
/** Format: uuid */
|
|
9117
|
+
request_id: string;
|
|
9118
|
+
};
|
|
9006
9119
|
/**
|
|
9007
9120
|
* @description The merchant pastes the restaurant id Mergeport gave them.
|
|
9008
9121
|
*
|
|
@@ -14217,6 +14330,261 @@ interface operations {
|
|
|
14217
14330
|
};
|
|
14218
14331
|
};
|
|
14219
14332
|
};
|
|
14333
|
+
admin_printing_order_jobs: {
|
|
14334
|
+
parameters: {
|
|
14335
|
+
query: {
|
|
14336
|
+
order_id: string;
|
|
14337
|
+
store_id: number;
|
|
14338
|
+
};
|
|
14339
|
+
header?: {
|
|
14340
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
14341
|
+
"X-Sous-Company-Id"?: number;
|
|
14342
|
+
};
|
|
14343
|
+
path?: never;
|
|
14344
|
+
cookie?: never;
|
|
14345
|
+
};
|
|
14346
|
+
requestBody?: never;
|
|
14347
|
+
responses: {
|
|
14348
|
+
200: {
|
|
14349
|
+
headers: {
|
|
14350
|
+
[name: string]: unknown;
|
|
14351
|
+
};
|
|
14352
|
+
content: {
|
|
14353
|
+
"application/json": components["schemas"]["PrintJobsResponse"];
|
|
14354
|
+
};
|
|
14355
|
+
};
|
|
14356
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14357
|
+
400: {
|
|
14358
|
+
headers: {
|
|
14359
|
+
[name: string]: unknown;
|
|
14360
|
+
};
|
|
14361
|
+
content: {
|
|
14362
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14363
|
+
};
|
|
14364
|
+
};
|
|
14365
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14366
|
+
401: {
|
|
14367
|
+
headers: {
|
|
14368
|
+
[name: string]: unknown;
|
|
14369
|
+
};
|
|
14370
|
+
content: {
|
|
14371
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14372
|
+
};
|
|
14373
|
+
};
|
|
14374
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14375
|
+
403: {
|
|
14376
|
+
headers: {
|
|
14377
|
+
[name: string]: unknown;
|
|
14378
|
+
};
|
|
14379
|
+
content: {
|
|
14380
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14381
|
+
};
|
|
14382
|
+
};
|
|
14383
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14384
|
+
404: {
|
|
14385
|
+
headers: {
|
|
14386
|
+
[name: string]: unknown;
|
|
14387
|
+
};
|
|
14388
|
+
content: {
|
|
14389
|
+
"application/json": {
|
|
14390
|
+
[key: string]: unknown;
|
|
14391
|
+
};
|
|
14392
|
+
};
|
|
14393
|
+
};
|
|
14394
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14395
|
+
429: {
|
|
14396
|
+
headers: {
|
|
14397
|
+
[name: string]: unknown;
|
|
14398
|
+
};
|
|
14399
|
+
content: {
|
|
14400
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14401
|
+
};
|
|
14402
|
+
};
|
|
14403
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14404
|
+
500: {
|
|
14405
|
+
headers: {
|
|
14406
|
+
[name: string]: unknown;
|
|
14407
|
+
};
|
|
14408
|
+
content: {
|
|
14409
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14410
|
+
};
|
|
14411
|
+
};
|
|
14412
|
+
};
|
|
14413
|
+
};
|
|
14414
|
+
admin_printing_print_order: {
|
|
14415
|
+
parameters: {
|
|
14416
|
+
query?: never;
|
|
14417
|
+
header?: {
|
|
14418
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
14419
|
+
"X-Sous-Company-Id"?: number;
|
|
14420
|
+
};
|
|
14421
|
+
path?: never;
|
|
14422
|
+
cookie?: never;
|
|
14423
|
+
};
|
|
14424
|
+
requestBody: {
|
|
14425
|
+
content: {
|
|
14426
|
+
"application/json": components["schemas"]["MerchantPrintOrderRequest"];
|
|
14427
|
+
"application/x-www-form-urlencoded": components["schemas"]["MerchantPrintOrderRequest"];
|
|
14428
|
+
"multipart/form-data": components["schemas"]["MerchantPrintOrderRequest"];
|
|
14429
|
+
};
|
|
14430
|
+
};
|
|
14431
|
+
responses: {
|
|
14432
|
+
202: {
|
|
14433
|
+
headers: {
|
|
14434
|
+
[name: string]: unknown;
|
|
14435
|
+
};
|
|
14436
|
+
content: {
|
|
14437
|
+
"application/json": components["schemas"]["PrintJobsResponse"];
|
|
14438
|
+
};
|
|
14439
|
+
};
|
|
14440
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14441
|
+
400: {
|
|
14442
|
+
headers: {
|
|
14443
|
+
[name: string]: unknown;
|
|
14444
|
+
};
|
|
14445
|
+
content: {
|
|
14446
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14447
|
+
};
|
|
14448
|
+
};
|
|
14449
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14450
|
+
401: {
|
|
14451
|
+
headers: {
|
|
14452
|
+
[name: string]: unknown;
|
|
14453
|
+
};
|
|
14454
|
+
content: {
|
|
14455
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14456
|
+
};
|
|
14457
|
+
};
|
|
14458
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14459
|
+
403: {
|
|
14460
|
+
headers: {
|
|
14461
|
+
[name: string]: unknown;
|
|
14462
|
+
};
|
|
14463
|
+
content: {
|
|
14464
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14465
|
+
};
|
|
14466
|
+
};
|
|
14467
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14468
|
+
404: {
|
|
14469
|
+
headers: {
|
|
14470
|
+
[name: string]: unknown;
|
|
14471
|
+
};
|
|
14472
|
+
content: {
|
|
14473
|
+
"application/json": {
|
|
14474
|
+
[key: string]: unknown;
|
|
14475
|
+
};
|
|
14476
|
+
};
|
|
14477
|
+
};
|
|
14478
|
+
409: {
|
|
14479
|
+
headers: {
|
|
14480
|
+
[name: string]: unknown;
|
|
14481
|
+
};
|
|
14482
|
+
content: {
|
|
14483
|
+
"application/json": {
|
|
14484
|
+
[key: string]: unknown;
|
|
14485
|
+
};
|
|
14486
|
+
};
|
|
14487
|
+
};
|
|
14488
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14489
|
+
429: {
|
|
14490
|
+
headers: {
|
|
14491
|
+
[name: string]: unknown;
|
|
14492
|
+
};
|
|
14493
|
+
content: {
|
|
14494
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14495
|
+
};
|
|
14496
|
+
};
|
|
14497
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14498
|
+
500: {
|
|
14499
|
+
headers: {
|
|
14500
|
+
[name: string]: unknown;
|
|
14501
|
+
};
|
|
14502
|
+
content: {
|
|
14503
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14504
|
+
};
|
|
14505
|
+
};
|
|
14506
|
+
};
|
|
14507
|
+
};
|
|
14508
|
+
admin_printing_store_devices: {
|
|
14509
|
+
parameters: {
|
|
14510
|
+
query?: never;
|
|
14511
|
+
header?: {
|
|
14512
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
14513
|
+
"X-Sous-Company-Id"?: number;
|
|
14514
|
+
};
|
|
14515
|
+
path: {
|
|
14516
|
+
store_public_id: string;
|
|
14517
|
+
};
|
|
14518
|
+
cookie?: never;
|
|
14519
|
+
};
|
|
14520
|
+
requestBody?: never;
|
|
14521
|
+
responses: {
|
|
14522
|
+
200: {
|
|
14523
|
+
headers: {
|
|
14524
|
+
[name: string]: unknown;
|
|
14525
|
+
};
|
|
14526
|
+
content: {
|
|
14527
|
+
"application/json": components["schemas"]["PrintDevicesResponse"];
|
|
14528
|
+
};
|
|
14529
|
+
};
|
|
14530
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14531
|
+
400: {
|
|
14532
|
+
headers: {
|
|
14533
|
+
[name: string]: unknown;
|
|
14534
|
+
};
|
|
14535
|
+
content: {
|
|
14536
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14537
|
+
};
|
|
14538
|
+
};
|
|
14539
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14540
|
+
401: {
|
|
14541
|
+
headers: {
|
|
14542
|
+
[name: string]: unknown;
|
|
14543
|
+
};
|
|
14544
|
+
content: {
|
|
14545
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14546
|
+
};
|
|
14547
|
+
};
|
|
14548
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14549
|
+
403: {
|
|
14550
|
+
headers: {
|
|
14551
|
+
[name: string]: unknown;
|
|
14552
|
+
};
|
|
14553
|
+
content: {
|
|
14554
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14555
|
+
};
|
|
14556
|
+
};
|
|
14557
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14558
|
+
404: {
|
|
14559
|
+
headers: {
|
|
14560
|
+
[name: string]: unknown;
|
|
14561
|
+
};
|
|
14562
|
+
content: {
|
|
14563
|
+
"application/json": {
|
|
14564
|
+
[key: string]: unknown;
|
|
14565
|
+
};
|
|
14566
|
+
};
|
|
14567
|
+
};
|
|
14568
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14569
|
+
429: {
|
|
14570
|
+
headers: {
|
|
14571
|
+
[name: string]: unknown;
|
|
14572
|
+
};
|
|
14573
|
+
content: {
|
|
14574
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14575
|
+
};
|
|
14576
|
+
};
|
|
14577
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
14578
|
+
500: {
|
|
14579
|
+
headers: {
|
|
14580
|
+
[name: string]: unknown;
|
|
14581
|
+
};
|
|
14582
|
+
content: {
|
|
14583
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
14584
|
+
};
|
|
14585
|
+
};
|
|
14586
|
+
};
|
|
14587
|
+
};
|
|
14220
14588
|
admin_products_list: {
|
|
14221
14589
|
parameters: {
|
|
14222
14590
|
query?: {
|
|
@@ -26666,6 +27034,61 @@ interface operations {
|
|
|
26666
27034
|
};
|
|
26667
27035
|
};
|
|
26668
27036
|
};
|
|
27037
|
+
discovery_store_routes_retrieve: {
|
|
27038
|
+
parameters: {
|
|
27039
|
+
query?: never;
|
|
27040
|
+
header?: never;
|
|
27041
|
+
path?: never;
|
|
27042
|
+
cookie?: never;
|
|
27043
|
+
};
|
|
27044
|
+
requestBody?: never;
|
|
27045
|
+
responses: {
|
|
27046
|
+
200: {
|
|
27047
|
+
headers: {
|
|
27048
|
+
[name: string]: unknown;
|
|
27049
|
+
};
|
|
27050
|
+
content: {
|
|
27051
|
+
"application/json": components["schemas"]["DiscoveryStoreRoutes"];
|
|
27052
|
+
};
|
|
27053
|
+
};
|
|
27054
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
27055
|
+
400: {
|
|
27056
|
+
headers: {
|
|
27057
|
+
[name: string]: unknown;
|
|
27058
|
+
};
|
|
27059
|
+
content: {
|
|
27060
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
27061
|
+
};
|
|
27062
|
+
};
|
|
27063
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
27064
|
+
404: {
|
|
27065
|
+
headers: {
|
|
27066
|
+
[name: string]: unknown;
|
|
27067
|
+
};
|
|
27068
|
+
content: {
|
|
27069
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
27070
|
+
};
|
|
27071
|
+
};
|
|
27072
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
27073
|
+
429: {
|
|
27074
|
+
headers: {
|
|
27075
|
+
[name: string]: unknown;
|
|
27076
|
+
};
|
|
27077
|
+
content: {
|
|
27078
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
27079
|
+
};
|
|
27080
|
+
};
|
|
27081
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
27082
|
+
500: {
|
|
27083
|
+
headers: {
|
|
27084
|
+
[name: string]: unknown;
|
|
27085
|
+
};
|
|
27086
|
+
content: {
|
|
27087
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
27088
|
+
};
|
|
27089
|
+
};
|
|
27090
|
+
};
|
|
27091
|
+
};
|
|
26669
27092
|
discovery_stores_retrieve: {
|
|
26670
27093
|
parameters: {
|
|
26671
27094
|
query?: never;
|