@poweredbysous/storefront-all-sdk 4.19.0 → 5.0.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.cjs +2 -0
- package/dist/index.d.cts +1224 -402
- package/dist/index.d.ts +1224 -402
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -592,13 +592,12 @@ interface paths {
|
|
|
592
592
|
cookie?: never;
|
|
593
593
|
};
|
|
594
594
|
/**
|
|
595
|
-
* @description The store's enabled cloud printers (an empty list: no cloud printing)
|
|
596
|
-
*
|
|
597
|
-
* Backoffice can add one.
|
|
595
|
+
* @description The store's enabled cloud printers (an empty list: no cloud printing),
|
|
596
|
+
* and adding one (setting up).
|
|
598
597
|
*/
|
|
599
598
|
get: operations["admin_printing_store_devices"];
|
|
600
599
|
put?: never;
|
|
601
|
-
/** @description Bind a printer
|
|
600
|
+
/** @description Bind a printer with its provider for this store and save it. */
|
|
602
601
|
post: operations["admin_printing_add_store_device"];
|
|
603
602
|
delete?: never;
|
|
604
603
|
options?: never;
|
|
@@ -619,10 +618,94 @@ interface paths {
|
|
|
619
618
|
delete?: never;
|
|
620
619
|
options?: never;
|
|
621
620
|
head?: never;
|
|
622
|
-
/** @description One printer of the store: change its tickets per order
|
|
621
|
+
/** @description One printer of the store: change its tickets per order. */
|
|
623
622
|
patch: operations["admin_printing_update_store_device"];
|
|
624
623
|
trace?: never;
|
|
625
624
|
};
|
|
625
|
+
"/api/v1/admin/printing/stores/{store_public_id}/devices/{device_id}/regenerate-secret/": {
|
|
626
|
+
parameters: {
|
|
627
|
+
query?: never;
|
|
628
|
+
header?: never;
|
|
629
|
+
path?: never;
|
|
630
|
+
cookie?: never;
|
|
631
|
+
};
|
|
632
|
+
get?: never;
|
|
633
|
+
put?: never;
|
|
634
|
+
/** @description A new password for an Epson printer; the old one stops at once. */
|
|
635
|
+
post: operations["admin_printing_regenerate_store_device_url"];
|
|
636
|
+
delete?: never;
|
|
637
|
+
options?: never;
|
|
638
|
+
head?: never;
|
|
639
|
+
patch?: never;
|
|
640
|
+
trace?: never;
|
|
641
|
+
};
|
|
642
|
+
"/api/v1/admin/printing/stores/{store_public_id}/devices/{device_id}/remove/": {
|
|
643
|
+
parameters: {
|
|
644
|
+
query?: never;
|
|
645
|
+
header?: never;
|
|
646
|
+
path?: never;
|
|
647
|
+
cookie?: never;
|
|
648
|
+
};
|
|
649
|
+
get?: never;
|
|
650
|
+
put?: never;
|
|
651
|
+
/**
|
|
652
|
+
* @description Remove a printer for good: it stops printing, its history stays.
|
|
653
|
+
*
|
|
654
|
+
* Through the portal's server an Epson printer only: a Sunmi one is 404.
|
|
655
|
+
*/
|
|
656
|
+
post: operations["admin_printing_remove_store_device"];
|
|
657
|
+
delete?: never;
|
|
658
|
+
options?: never;
|
|
659
|
+
head?: never;
|
|
660
|
+
patch?: never;
|
|
661
|
+
trace?: never;
|
|
662
|
+
};
|
|
663
|
+
"/api/v1/admin/printing/stores/{store_public_id}/devices/{device_id}/setup/": {
|
|
664
|
+
parameters: {
|
|
665
|
+
query?: never;
|
|
666
|
+
header?: never;
|
|
667
|
+
path?: never;
|
|
668
|
+
cookie?: never;
|
|
669
|
+
};
|
|
670
|
+
/**
|
|
671
|
+
* @description An Epson printer's Web Config values, and whether it has polled yet.
|
|
672
|
+
*
|
|
673
|
+
* The portal's setup card polls this while it is open: ``last_seen_at``
|
|
674
|
+
* turns "Waiting for the printer" into "Connected". 404 for a Sunmi printer:
|
|
675
|
+
* it has nothing to set up.
|
|
676
|
+
*/
|
|
677
|
+
get: operations["admin_printing_store_device_setup"];
|
|
678
|
+
put?: never;
|
|
679
|
+
post?: never;
|
|
680
|
+
delete?: never;
|
|
681
|
+
options?: never;
|
|
682
|
+
head?: never;
|
|
683
|
+
patch?: never;
|
|
684
|
+
trace?: never;
|
|
685
|
+
};
|
|
686
|
+
"/api/v1/admin/printing/stores/{store_public_id}/devices/{device_id}/test-print/": {
|
|
687
|
+
parameters: {
|
|
688
|
+
query?: never;
|
|
689
|
+
header?: never;
|
|
690
|
+
path?: never;
|
|
691
|
+
cookie?: never;
|
|
692
|
+
};
|
|
693
|
+
get?: never;
|
|
694
|
+
put?: never;
|
|
695
|
+
/**
|
|
696
|
+
* @description Print one Test print slip, with no order, on this printer.
|
|
697
|
+
*
|
|
698
|
+
* 202 with the job; a repeated ``request_id`` returns the first job. 429
|
|
699
|
+
* ``TEST_PRINT_PENDING`` while the printer's last Test print waits to be
|
|
700
|
+
* handed over.
|
|
701
|
+
*/
|
|
702
|
+
post: operations["admin_printing_test_print_store_device"];
|
|
703
|
+
delete?: never;
|
|
704
|
+
options?: never;
|
|
705
|
+
head?: never;
|
|
706
|
+
patch?: never;
|
|
707
|
+
trace?: never;
|
|
708
|
+
};
|
|
626
709
|
"/api/v1/admin/products/": {
|
|
627
710
|
parameters: {
|
|
628
711
|
query?: never;
|
|
@@ -3934,9 +4017,8 @@ interface paths {
|
|
|
3934
4017
|
* @description GET /api/v1/loyalty/account/ — loyalty account summary for the
|
|
3935
4018
|
* authenticated user.
|
|
3936
4019
|
*
|
|
3937
|
-
* The ``user_id`` is derived from ``request.
|
|
3938
|
-
*
|
|
3939
|
-
* NEW-AUTH-3 / H3).
|
|
4020
|
+
* The ``user_id`` is derived from ``request.user`` — never from query
|
|
4021
|
+
* params (IDOR closure, NEW-AUTH-3 / H3).
|
|
3940
4022
|
*/
|
|
3941
4023
|
get: operations["loyalty_account_retrieve"];
|
|
3942
4024
|
put?: never;
|
|
@@ -3970,6 +4052,49 @@ interface paths {
|
|
|
3970
4052
|
patch?: never;
|
|
3971
4053
|
trace?: never;
|
|
3972
4054
|
};
|
|
4055
|
+
"/api/v1/loyalty/leat/code/": {
|
|
4056
|
+
parameters: {
|
|
4057
|
+
query?: never;
|
|
4058
|
+
header?: never;
|
|
4059
|
+
path?: never;
|
|
4060
|
+
cookie?: never;
|
|
4061
|
+
};
|
|
4062
|
+
get?: never;
|
|
4063
|
+
put?: never;
|
|
4064
|
+
/**
|
|
4065
|
+
* @description POST /api/v1/loyalty/leat/code/ — SOUS emails the customer a one-time code.
|
|
4066
|
+
*
|
|
4067
|
+
* WorkOS's Magic Auth sends it, for the customer's SOUS account.
|
|
4068
|
+
*/
|
|
4069
|
+
post: operations["loyalty_leat_code_create"];
|
|
4070
|
+
delete?: never;
|
|
4071
|
+
options?: never;
|
|
4072
|
+
head?: never;
|
|
4073
|
+
patch?: never;
|
|
4074
|
+
trace?: never;
|
|
4075
|
+
};
|
|
4076
|
+
"/api/v1/loyalty/leat/verify/": {
|
|
4077
|
+
parameters: {
|
|
4078
|
+
query?: never;
|
|
4079
|
+
header?: never;
|
|
4080
|
+
path?: never;
|
|
4081
|
+
cookie?: never;
|
|
4082
|
+
};
|
|
4083
|
+
get?: never;
|
|
4084
|
+
put?: never;
|
|
4085
|
+
/**
|
|
4086
|
+
* @description POST /api/v1/loyalty/leat/verify/ — check the code, open a loyalty session.
|
|
4087
|
+
*
|
|
4088
|
+
* The right code signs the customer in to their SOUS account (made for a new
|
|
4089
|
+
* email) and finds or creates their member in this store's Leat account.
|
|
4090
|
+
*/
|
|
4091
|
+
post: operations["loyalty_leat_verify_create"];
|
|
4092
|
+
delete?: never;
|
|
4093
|
+
options?: never;
|
|
4094
|
+
head?: never;
|
|
4095
|
+
patch?: never;
|
|
4096
|
+
trace?: never;
|
|
4097
|
+
};
|
|
3973
4098
|
"/api/v1/loyalty/profiles/{customer_profile_id}/": {
|
|
3974
4099
|
parameters: {
|
|
3975
4100
|
query?: never;
|
|
@@ -3981,7 +4106,7 @@ interface paths {
|
|
|
3981
4106
|
* @description GET /api/v1/loyalty/profiles/{customer_profile_id}/ — Zeemijlen summary.
|
|
3982
4107
|
*
|
|
3983
4108
|
* Customer-facing over the store HMAC channel: WorkOS storefronts have no
|
|
3984
|
-
*
|
|
4109
|
+
* customer JWT, so the customer is identified by the storefront
|
|
3985
4110
|
* ``CustomerProfile`` id that the trusted (HMAC) frontend resolves from the
|
|
3986
4111
|
* session — never by an end user directly (the id is scoped to this store).
|
|
3987
4112
|
* Returns a zeroed balance (not 404) when the customer has no account yet, so
|
|
@@ -8605,6 +8730,10 @@ interface components {
|
|
|
8605
8730
|
* @description Storefront CustomerProfile.id of the logged-in customer, so the order can attribute Zeemijlen. Omitted for guest checkouts.
|
|
8606
8731
|
*/
|
|
8607
8732
|
customer_profile_id?: string | null;
|
|
8733
|
+
/** @description PostHog distinct_id. Dropped unless `attribution.consent` is `granted`. Stored on the checkout for the server PostHog capture; never forwarded to the order. */
|
|
8734
|
+
posthog_distinct_id?: string;
|
|
8735
|
+
/** @description PostHog $session_id. Dropped unless `attribution.consent` is `granted`. Stored on the checkout for the server PostHog capture; never forwarded to the order. */
|
|
8736
|
+
posthog_session_id?: string;
|
|
8608
8737
|
};
|
|
8609
8738
|
CreateEdit: {
|
|
8610
8739
|
/** @default */
|
|
@@ -9073,6 +9202,27 @@ interface components {
|
|
|
9073
9202
|
eligible_promotions: components["schemas"]["EligiblePromotionItem"][];
|
|
9074
9203
|
best_promotion_id: number | null;
|
|
9075
9204
|
};
|
|
9205
|
+
/** @description What to type into an Epson printer's Web Config (Server Direct Print). */
|
|
9206
|
+
EpsonSetup: {
|
|
9207
|
+
provider: components["schemas"]["ProviderEnum"];
|
|
9208
|
+
/** @description Web Config "ID": the serial from the printer's label. */
|
|
9209
|
+
printer_id: string;
|
|
9210
|
+
/** @description Web Config "URL": the same for every printer. */
|
|
9211
|
+
poll_url: string;
|
|
9212
|
+
/** @description Web Config "Password", which the printer signs every request with (HTTP Digest, its ID as the user name). Secret: whoever has it can read the store's slips. */
|
|
9213
|
+
password: string;
|
|
9214
|
+
/** @description Web Config "Interval". */
|
|
9215
|
+
interval_seconds: number;
|
|
9216
|
+
/** @description Web Config "Server Authentication": true Enable, false Disable. */
|
|
9217
|
+
server_authentication: boolean;
|
|
9218
|
+
/**
|
|
9219
|
+
* Format: date-time
|
|
9220
|
+
* @description The printer's last poll. Null: it has not polled this URL yet ("Waiting for the printer").
|
|
9221
|
+
*/
|
|
9222
|
+
last_seen_at: string | null;
|
|
9223
|
+
/** @description Polled within three polling intervals, as the printer list's `online`. False after a first poll: it has stopped polling. */
|
|
9224
|
+
online: boolean;
|
|
9225
|
+
};
|
|
9076
9226
|
EventBatch: {
|
|
9077
9227
|
events: components["schemas"]["EventInput"][];
|
|
9078
9228
|
};
|
|
@@ -9417,6 +9567,37 @@ interface components {
|
|
|
9417
9567
|
* @enum {string}
|
|
9418
9568
|
*/
|
|
9419
9569
|
LanguagePreferenceEnum: "en" | "nl" | "de" | "fr" | "da" | "sv" | "nb" | "fi" | "es";
|
|
9570
|
+
LeatCode: {
|
|
9571
|
+
/** Format: email */
|
|
9572
|
+
email: string;
|
|
9573
|
+
/** @description The customer agreed to the text next to the email field. */
|
|
9574
|
+
consent: boolean;
|
|
9575
|
+
};
|
|
9576
|
+
LeatCodeSent: {
|
|
9577
|
+
/**
|
|
9578
|
+
* Format: email
|
|
9579
|
+
* @description Where the code went, normalised.
|
|
9580
|
+
*/
|
|
9581
|
+
email: string;
|
|
9582
|
+
};
|
|
9583
|
+
LeatSession: {
|
|
9584
|
+
/** @description Loyalty-only session: it reads this member's points, nothing else. */
|
|
9585
|
+
token: string;
|
|
9586
|
+
/** Format: email */
|
|
9587
|
+
email: string;
|
|
9588
|
+
/**
|
|
9589
|
+
* @description new when this join created the member.
|
|
9590
|
+
*
|
|
9591
|
+
* * `new` - new
|
|
9592
|
+
* * `existing` - existing
|
|
9593
|
+
*/
|
|
9594
|
+
member_status: components["schemas"]["MemberStatusEnum"];
|
|
9595
|
+
};
|
|
9596
|
+
LeatVerify: {
|
|
9597
|
+
/** Format: email */
|
|
9598
|
+
email: string;
|
|
9599
|
+
code: string;
|
|
9600
|
+
};
|
|
9420
9601
|
LibraryGroup: {
|
|
9421
9602
|
id: number;
|
|
9422
9603
|
title: string;
|
|
@@ -9691,6 +9872,12 @@ interface components {
|
|
|
9691
9872
|
party_sizes: number[];
|
|
9692
9873
|
/** @description Price divided by party size, in cents; null without a party size. */
|
|
9693
9874
|
price_per_person_cents: number | null;
|
|
9875
|
+
/** @description Smallest party of the box's generated party-size group; null when it has none, or when party_size_known is false. */
|
|
9876
|
+
party_size_from: number | null;
|
|
9877
|
+
/** @description False for a document indexed before party_size_from existed: then a null party_size_from says nothing. */
|
|
9878
|
+
party_size_known: boolean;
|
|
9879
|
+
/** @description Every party size a customer can choose in the box's generated party-size group, ascending: one entry is a fixed-size box, more a choice of sizes; empty without a group. Its first entry is party_size_from. Null for a document indexed before this field existed. Not party_sizes, the fixed party-size facet. */
|
|
9880
|
+
party_size_options: number[] | null;
|
|
9694
9881
|
/** @description Store-local dates in the next 90 days on which the cart would accept this product alone for delivery, ascending. A snapshot (see `availability_computed_at`): add-to-cart is the authority. */
|
|
9695
9882
|
servable_dates: string[];
|
|
9696
9883
|
};
|
|
@@ -9745,6 +9932,12 @@ interface components {
|
|
|
9745
9932
|
total_spent: string;
|
|
9746
9933
|
session_count: number;
|
|
9747
9934
|
};
|
|
9935
|
+
/**
|
|
9936
|
+
* @description * `new` - new
|
|
9937
|
+
* * `existing` - existing
|
|
9938
|
+
* @enum {string}
|
|
9939
|
+
*/
|
|
9940
|
+
MemberStatusEnum: "new" | "existing";
|
|
9748
9941
|
MerchantDashboard: {
|
|
9749
9942
|
/**
|
|
9750
9943
|
* Format: int64
|
|
@@ -9962,6 +10155,12 @@ interface components {
|
|
|
9962
10155
|
token: string;
|
|
9963
10156
|
user: components["schemas"]["UserMe"];
|
|
9964
10157
|
};
|
|
10158
|
+
/**
|
|
10159
|
+
* @description * `menubox` - menubox
|
|
10160
|
+
* * `shop` - shop
|
|
10161
|
+
* @enum {string}
|
|
10162
|
+
*/
|
|
10163
|
+
OfferingEnum: "menubox" | "shop";
|
|
9965
10164
|
/** @description Render-ready open/closed badge — see ``availability.get_open_status``. */
|
|
9966
10165
|
OpenStatus: {
|
|
9967
10166
|
open: boolean;
|
|
@@ -10080,6 +10279,12 @@ interface components {
|
|
|
10080
10279
|
/** Format: date-time */
|
|
10081
10280
|
readonly updated_at: string;
|
|
10082
10281
|
};
|
|
10282
|
+
OrderCutoff: {
|
|
10283
|
+
/** Format: date-time */
|
|
10284
|
+
order_before: string;
|
|
10285
|
+
/** Format: date */
|
|
10286
|
+
date: string;
|
|
10287
|
+
};
|
|
10083
10288
|
OrderEdit: {
|
|
10084
10289
|
/** Format: uuid */
|
|
10085
10290
|
readonly id: string;
|
|
@@ -11106,6 +11311,7 @@ interface components {
|
|
|
11106
11311
|
analytics?: unknown;
|
|
11107
11312
|
labels?: unknown;
|
|
11108
11313
|
frame_ancestors?: unknown;
|
|
11314
|
+
setup?: unknown;
|
|
11109
11315
|
multi_store?: boolean;
|
|
11110
11316
|
brand_slug?: string;
|
|
11111
11317
|
default_store?: string;
|
|
@@ -11179,6 +11385,7 @@ interface components {
|
|
|
11179
11385
|
PriceSyncModeEnum: "report" | "write";
|
|
11180
11386
|
PrintDevice: {
|
|
11181
11387
|
id: number;
|
|
11388
|
+
provider: components["schemas"]["ProviderEnum"];
|
|
11182
11389
|
name: string;
|
|
11183
11390
|
/** @description The printer's serial number (Sunmi: the MSN on its label). */
|
|
11184
11391
|
device_identifier: string;
|
|
@@ -11193,16 +11400,24 @@ interface components {
|
|
|
11193
11400
|
alert_state: components["schemas"]["AlertStateEnum"];
|
|
11194
11401
|
/** Format: date-time */
|
|
11195
11402
|
last_seen_at: string | null;
|
|
11196
|
-
/** @description
|
|
11403
|
+
/** @description Sunmi: the last online check run by Sous staff, true online, false offline, null never checked; not live. Epson: live, true when the printer polled within three polling intervals. */
|
|
11197
11404
|
online: boolean | null;
|
|
11198
11405
|
/**
|
|
11199
11406
|
* Format: date-time
|
|
11200
|
-
* @description When
|
|
11407
|
+
* @description When the staff check ran. An Epson printer's live state comes from `last_seen_at` instead.
|
|
11201
11408
|
*/
|
|
11202
11409
|
online_checked_at: string | null;
|
|
11203
11410
|
};
|
|
11204
|
-
/** @description
|
|
11411
|
+
/** @description Sous staff or a merchant adds a printer to the store in the URL. */
|
|
11205
11412
|
PrintDeviceCreateRequest: {
|
|
11413
|
+
/**
|
|
11414
|
+
* @description The printer's make. Sunmi is bound with Sunmi; an Epson printer gets its own password (see the device's setup).
|
|
11415
|
+
*
|
|
11416
|
+
* * `sunmi` - Sunmi
|
|
11417
|
+
* * `epson` - Epson
|
|
11418
|
+
* @default sunmi
|
|
11419
|
+
*/
|
|
11420
|
+
provider: components["schemas"]["ProviderEnum"];
|
|
11206
11421
|
/** @description Serial from the printer's label, e.g. N439259A11700. */
|
|
11207
11422
|
device_identifier: string;
|
|
11208
11423
|
/** @description e.g. "Kitchen" */
|
|
@@ -11494,6 +11709,8 @@ interface components {
|
|
|
11494
11709
|
/** Format: decimal */
|
|
11495
11710
|
readonly customer_service_fee: string | null;
|
|
11496
11711
|
readonly peak_delivery_dates: string[];
|
|
11712
|
+
readonly servable_dates: string[];
|
|
11713
|
+
readonly order_cutoff: components["schemas"]["OrderCutoff"] | null;
|
|
11497
11714
|
/** Format: date-time */
|
|
11498
11715
|
readonly created_at: string;
|
|
11499
11716
|
/** Format: date-time */
|
|
@@ -11549,6 +11766,7 @@ interface components {
|
|
|
11549
11766
|
/** Format: int64 */
|
|
11550
11767
|
store_id: number;
|
|
11551
11768
|
readonly product_type: components["schemas"]["ProductType"];
|
|
11769
|
+
readonly offering: (components["schemas"]["OfferingEnum"] | components["schemas"]["NullEnum"]) | null;
|
|
11552
11770
|
/** Format: decimal */
|
|
11553
11771
|
price: string;
|
|
11554
11772
|
/** Format: decimal */
|
|
@@ -11794,6 +12012,49 @@ interface components {
|
|
|
11794
12012
|
* @enum {string}
|
|
11795
12013
|
*/
|
|
11796
12014
|
PromotionTypeEnum: "buy_x_get_y" | "bogo";
|
|
12015
|
+
/**
|
|
12016
|
+
* @description * `sunmi` - Sunmi
|
|
12017
|
+
* * `epson` - Epson
|
|
12018
|
+
* @enum {string}
|
|
12019
|
+
*/
|
|
12020
|
+
ProviderEnum: "sunmi" | "epson";
|
|
12021
|
+
/** @description The onboarding block the storefront reads: no portal-only ``setup``. */
|
|
12022
|
+
PublicStoreOnboarding: {
|
|
12023
|
+
slug: string;
|
|
12024
|
+
name?: string;
|
|
12025
|
+
tagline?: string;
|
|
12026
|
+
description?: string;
|
|
12027
|
+
logo_text?: string;
|
|
12028
|
+
theme?: unknown;
|
|
12029
|
+
layout?: string;
|
|
12030
|
+
languages?: unknown;
|
|
12031
|
+
default_language?: string;
|
|
12032
|
+
currency?: string;
|
|
12033
|
+
country?: string;
|
|
12034
|
+
timezone?: string;
|
|
12035
|
+
contact?: unknown;
|
|
12036
|
+
hours?: unknown;
|
|
12037
|
+
social?: unknown;
|
|
12038
|
+
seo?: unknown;
|
|
12039
|
+
fulfilment?: unknown;
|
|
12040
|
+
cuisine?: string;
|
|
12041
|
+
price_range?: string;
|
|
12042
|
+
product_placeholder?: string;
|
|
12043
|
+
analytics?: unknown;
|
|
12044
|
+
labels?: unknown;
|
|
12045
|
+
frame_ancestors?: unknown;
|
|
12046
|
+
multi_store?: boolean;
|
|
12047
|
+
brand_slug?: string;
|
|
12048
|
+
default_store?: string;
|
|
12049
|
+
readonly status: components["schemas"]["StoreOnboardingStatusEnum"];
|
|
12050
|
+
/** Format: date-time */
|
|
12051
|
+
readonly published_at: string | null;
|
|
12052
|
+
/** Format: date-time */
|
|
12053
|
+
readonly updated_at: string;
|
|
12054
|
+
readonly brand_assets: components["schemas"]["StoreBrandAsset"][];
|
|
12055
|
+
readonly uber_direct_supported_countries: string[];
|
|
12056
|
+
readonly delivery_method_toggles: components["schemas"]["DeliveryMethodToggles"] | null;
|
|
12057
|
+
};
|
|
11797
12058
|
/** @description Serializer for the purchased gift card detail view. */
|
|
11798
12059
|
PurchasedGiftCardDetail: {
|
|
11799
12060
|
readonly id: number;
|
|
@@ -12342,7 +12603,7 @@ interface components {
|
|
|
12342
12603
|
[key: string]: unknown;
|
|
12343
12604
|
} | null;
|
|
12344
12605
|
readonly brand_assets: components["schemas"]["StoreBrandAsset"][];
|
|
12345
|
-
readonly onboarding: components["schemas"]["
|
|
12606
|
+
readonly onboarding: components["schemas"]["PublicStoreOnboarding"] | null;
|
|
12346
12607
|
/**
|
|
12347
12608
|
* @description False while the merchant has temporarily paused new orders.
|
|
12348
12609
|
*
|
|
@@ -12384,6 +12645,8 @@ interface components {
|
|
|
12384
12645
|
StoreDeliveryMethodStates: {
|
|
12385
12646
|
store_public_id: string;
|
|
12386
12647
|
methods: components["schemas"]["DeliveryMethodState"][];
|
|
12648
|
+
/** @description Method ids (as in ``method``) the merchant chose in the unpublished onboarding draft that the company has no availability record for yet. Nothing is enabled until publish; a screen shows these as pending, not as on or off. */
|
|
12649
|
+
pending_methods: string[];
|
|
12387
12650
|
};
|
|
12388
12651
|
StoreMeAddress: {
|
|
12389
12652
|
address_1: string;
|
|
@@ -12434,6 +12697,7 @@ interface components {
|
|
|
12434
12697
|
analytics?: unknown;
|
|
12435
12698
|
labels?: unknown;
|
|
12436
12699
|
frame_ancestors?: unknown;
|
|
12700
|
+
setup?: unknown;
|
|
12437
12701
|
multi_store?: boolean;
|
|
12438
12702
|
brand_slug?: string;
|
|
12439
12703
|
default_store?: string;
|
|
@@ -12482,6 +12746,7 @@ interface components {
|
|
|
12482
12746
|
analytics?: unknown;
|
|
12483
12747
|
labels?: unknown;
|
|
12484
12748
|
frame_ancestors?: unknown;
|
|
12749
|
+
setup?: unknown;
|
|
12485
12750
|
multi_store?: boolean;
|
|
12486
12751
|
brand_slug?: string;
|
|
12487
12752
|
default_store?: string;
|
|
@@ -12572,6 +12837,7 @@ interface components {
|
|
|
12572
12837
|
image_url: string;
|
|
12573
12838
|
/** Format: decimal */
|
|
12574
12839
|
deposit_amount?: string | null;
|
|
12840
|
+
available_fulfillment_types: string[];
|
|
12575
12841
|
reason: string;
|
|
12576
12842
|
};
|
|
12577
12843
|
Surcharge: {
|
|
@@ -12617,6 +12883,14 @@ interface components {
|
|
|
12617
12883
|
/** Format: date-time */
|
|
12618
12884
|
updated_at: string;
|
|
12619
12885
|
};
|
|
12886
|
+
/** @description ``request_id`` is generated per click: a retry prints nothing new. */
|
|
12887
|
+
TestPrintRequest: {
|
|
12888
|
+
/** Format: uuid */
|
|
12889
|
+
request_id: string;
|
|
12890
|
+
};
|
|
12891
|
+
TestPrintResponse: {
|
|
12892
|
+
job: components["schemas"]["PrintJob"];
|
|
12893
|
+
};
|
|
12620
12894
|
/**
|
|
12621
12895
|
* @description * `info` - Info
|
|
12622
12896
|
* * `success` - Success
|
|
@@ -12676,11 +12950,12 @@ interface components {
|
|
|
12676
12950
|
readonly created_at: string;
|
|
12677
12951
|
};
|
|
12678
12952
|
/**
|
|
12679
|
-
* @description * `auto` -
|
|
12680
|
-
* * `manual` -
|
|
12953
|
+
* @description * `auto` - Automatic (order arrived)
|
|
12954
|
+
* * `manual` - Manual (merchant portal)
|
|
12955
|
+
* * `test` - Test print (merchant portal)
|
|
12681
12956
|
* @enum {string}
|
|
12682
12957
|
*/
|
|
12683
|
-
TriggerEnum: "auto" | "manual";
|
|
12958
|
+
TriggerEnum: "auto" | "manual" | "test";
|
|
12684
12959
|
/**
|
|
12685
12960
|
* @description * `authorization_request` - Authorization Request
|
|
12686
12961
|
* * `authorization_success` - Authorization Success
|
|
@@ -15824,21 +16099,17 @@ interface operations {
|
|
|
15824
16099
|
};
|
|
15825
16100
|
};
|
|
15826
16101
|
};
|
|
15827
|
-
|
|
16102
|
+
admin_printing_regenerate_store_device_url: {
|
|
15828
16103
|
parameters: {
|
|
15829
|
-
query?:
|
|
15830
|
-
/** @description Restrict to the product carrying this external_id (the merchant-portal Menu.id mirrored across the sync). Narrows the company-scoped list and never widens it, so an id belonging to another company yields an empty list — as does an unmatched or non-numeric value. Lets the portal resolve one product without downloading the store's catalogue to search it client-side. */
|
|
15831
|
-
external_id?: number;
|
|
15832
|
-
/** @description Restrict to one store by numeric Store.id. Must belong to the authenticated company; an unrelated id yields an empty list. */
|
|
15833
|
-
store_id?: number;
|
|
15834
|
-
/** @description Restrict to one store by its public_id (the stable, cross-system store key the merchant portal holds). Must belong to the authenticated company; an unrelated value yields an empty list. Preferred over store_id. */
|
|
15835
|
-
store_public_id?: string;
|
|
15836
|
-
};
|
|
16104
|
+
query?: never;
|
|
15837
16105
|
header?: {
|
|
15838
16106
|
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
15839
16107
|
"X-Sous-Company-Id"?: number;
|
|
15840
16108
|
};
|
|
15841
|
-
path
|
|
16109
|
+
path: {
|
|
16110
|
+
device_id: number;
|
|
16111
|
+
store_public_id: string;
|
|
16112
|
+
};
|
|
15842
16113
|
cookie?: never;
|
|
15843
16114
|
};
|
|
15844
16115
|
requestBody?: never;
|
|
@@ -15848,7 +16119,7 @@ interface operations {
|
|
|
15848
16119
|
[name: string]: unknown;
|
|
15849
16120
|
};
|
|
15850
16121
|
content: {
|
|
15851
|
-
"application/json": components["schemas"]["
|
|
16122
|
+
"application/json": components["schemas"]["EpsonSetup"];
|
|
15852
16123
|
};
|
|
15853
16124
|
};
|
|
15854
16125
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -15875,7 +16146,9 @@ interface operations {
|
|
|
15875
16146
|
[name: string]: unknown;
|
|
15876
16147
|
};
|
|
15877
16148
|
content: {
|
|
15878
|
-
"application/json":
|
|
16149
|
+
"application/json": {
|
|
16150
|
+
[key: string]: unknown;
|
|
16151
|
+
};
|
|
15879
16152
|
};
|
|
15880
16153
|
};
|
|
15881
16154
|
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -15884,7 +16157,9 @@ interface operations {
|
|
|
15884
16157
|
[name: string]: unknown;
|
|
15885
16158
|
};
|
|
15886
16159
|
content: {
|
|
15887
|
-
"application/json":
|
|
16160
|
+
"application/json": {
|
|
16161
|
+
[key: string]: unknown;
|
|
16162
|
+
};
|
|
15888
16163
|
};
|
|
15889
16164
|
};
|
|
15890
16165
|
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -15905,9 +16180,19 @@ interface operations {
|
|
|
15905
16180
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
15906
16181
|
};
|
|
15907
16182
|
};
|
|
16183
|
+
503: {
|
|
16184
|
+
headers: {
|
|
16185
|
+
[name: string]: unknown;
|
|
16186
|
+
};
|
|
16187
|
+
content: {
|
|
16188
|
+
"application/json": {
|
|
16189
|
+
[key: string]: unknown;
|
|
16190
|
+
};
|
|
16191
|
+
};
|
|
16192
|
+
};
|
|
15908
16193
|
};
|
|
15909
16194
|
};
|
|
15910
|
-
|
|
16195
|
+
admin_printing_remove_store_device: {
|
|
15911
16196
|
parameters: {
|
|
15912
16197
|
query?: never;
|
|
15913
16198
|
header?: {
|
|
@@ -15915,7 +16200,8 @@ interface operations {
|
|
|
15915
16200
|
"X-Sous-Company-Id"?: number;
|
|
15916
16201
|
};
|
|
15917
16202
|
path: {
|
|
15918
|
-
|
|
16203
|
+
device_id: number;
|
|
16204
|
+
store_public_id: string;
|
|
15919
16205
|
};
|
|
15920
16206
|
cookie?: never;
|
|
15921
16207
|
};
|
|
@@ -15926,7 +16212,7 @@ interface operations {
|
|
|
15926
16212
|
[name: string]: unknown;
|
|
15927
16213
|
};
|
|
15928
16214
|
content: {
|
|
15929
|
-
"application/json": components["schemas"]["
|
|
16215
|
+
"application/json": components["schemas"]["PrintDevice"];
|
|
15930
16216
|
};
|
|
15931
16217
|
};
|
|
15932
16218
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -15953,7 +16239,9 @@ interface operations {
|
|
|
15953
16239
|
[name: string]: unknown;
|
|
15954
16240
|
};
|
|
15955
16241
|
content: {
|
|
15956
|
-
"application/json":
|
|
16242
|
+
"application/json": {
|
|
16243
|
+
[key: string]: unknown;
|
|
16244
|
+
};
|
|
15957
16245
|
};
|
|
15958
16246
|
};
|
|
15959
16247
|
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -15962,7 +16250,9 @@ interface operations {
|
|
|
15962
16250
|
[name: string]: unknown;
|
|
15963
16251
|
};
|
|
15964
16252
|
content: {
|
|
15965
|
-
"application/json":
|
|
16253
|
+
"application/json": {
|
|
16254
|
+
[key: string]: unknown;
|
|
16255
|
+
};
|
|
15966
16256
|
};
|
|
15967
16257
|
};
|
|
15968
16258
|
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -15985,7 +16275,7 @@ interface operations {
|
|
|
15985
16275
|
};
|
|
15986
16276
|
};
|
|
15987
16277
|
};
|
|
15988
|
-
|
|
16278
|
+
admin_printing_store_device_setup: {
|
|
15989
16279
|
parameters: {
|
|
15990
16280
|
query?: never;
|
|
15991
16281
|
header?: {
|
|
@@ -15993,24 +16283,19 @@ interface operations {
|
|
|
15993
16283
|
"X-Sous-Company-Id"?: number;
|
|
15994
16284
|
};
|
|
15995
16285
|
path: {
|
|
15996
|
-
|
|
16286
|
+
device_id: number;
|
|
16287
|
+
store_public_id: string;
|
|
15997
16288
|
};
|
|
15998
16289
|
cookie?: never;
|
|
15999
16290
|
};
|
|
16000
|
-
requestBody
|
|
16001
|
-
content: {
|
|
16002
|
-
"application/json": components["schemas"]["AdminAttributeValuesRequest"];
|
|
16003
|
-
"application/x-www-form-urlencoded": components["schemas"]["AdminAttributeValuesRequest"];
|
|
16004
|
-
"multipart/form-data": components["schemas"]["AdminAttributeValuesRequest"];
|
|
16005
|
-
};
|
|
16006
|
-
};
|
|
16291
|
+
requestBody?: never;
|
|
16007
16292
|
responses: {
|
|
16008
16293
|
200: {
|
|
16009
16294
|
headers: {
|
|
16010
16295
|
[name: string]: unknown;
|
|
16011
16296
|
};
|
|
16012
16297
|
content: {
|
|
16013
|
-
"application/json": components["schemas"]["
|
|
16298
|
+
"application/json": components["schemas"]["EpsonSetup"];
|
|
16014
16299
|
};
|
|
16015
16300
|
};
|
|
16016
16301
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16037,7 +16322,9 @@ interface operations {
|
|
|
16037
16322
|
[name: string]: unknown;
|
|
16038
16323
|
};
|
|
16039
16324
|
content: {
|
|
16040
|
-
"application/json":
|
|
16325
|
+
"application/json": {
|
|
16326
|
+
[key: string]: unknown;
|
|
16327
|
+
};
|
|
16041
16328
|
};
|
|
16042
16329
|
};
|
|
16043
16330
|
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16046,7 +16333,9 @@ interface operations {
|
|
|
16046
16333
|
[name: string]: unknown;
|
|
16047
16334
|
};
|
|
16048
16335
|
content: {
|
|
16049
|
-
"application/json":
|
|
16336
|
+
"application/json": {
|
|
16337
|
+
[key: string]: unknown;
|
|
16338
|
+
};
|
|
16050
16339
|
};
|
|
16051
16340
|
};
|
|
16052
16341
|
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16069,7 +16358,7 @@ interface operations {
|
|
|
16069
16358
|
};
|
|
16070
16359
|
};
|
|
16071
16360
|
};
|
|
16072
|
-
|
|
16361
|
+
admin_printing_test_print_store_device: {
|
|
16073
16362
|
parameters: {
|
|
16074
16363
|
query?: never;
|
|
16075
16364
|
header?: {
|
|
@@ -16077,18 +16366,112 @@ interface operations {
|
|
|
16077
16366
|
"X-Sous-Company-Id"?: number;
|
|
16078
16367
|
};
|
|
16079
16368
|
path: {
|
|
16080
|
-
|
|
16369
|
+
device_id: number;
|
|
16370
|
+
store_public_id: string;
|
|
16081
16371
|
};
|
|
16082
16372
|
cookie?: never;
|
|
16083
16373
|
};
|
|
16084
|
-
requestBody
|
|
16374
|
+
requestBody: {
|
|
16375
|
+
content: {
|
|
16376
|
+
"application/json": components["schemas"]["TestPrintRequest"];
|
|
16377
|
+
"application/x-www-form-urlencoded": components["schemas"]["TestPrintRequest"];
|
|
16378
|
+
"multipart/form-data": components["schemas"]["TestPrintRequest"];
|
|
16379
|
+
};
|
|
16380
|
+
};
|
|
16085
16381
|
responses: {
|
|
16086
|
-
|
|
16382
|
+
202: {
|
|
16087
16383
|
headers: {
|
|
16088
16384
|
[name: string]: unknown;
|
|
16089
16385
|
};
|
|
16090
16386
|
content: {
|
|
16091
|
-
"application/json": components["schemas"]["
|
|
16387
|
+
"application/json": components["schemas"]["TestPrintResponse"];
|
|
16388
|
+
};
|
|
16389
|
+
};
|
|
16390
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16391
|
+
400: {
|
|
16392
|
+
headers: {
|
|
16393
|
+
[name: string]: unknown;
|
|
16394
|
+
};
|
|
16395
|
+
content: {
|
|
16396
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16397
|
+
};
|
|
16398
|
+
};
|
|
16399
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16400
|
+
401: {
|
|
16401
|
+
headers: {
|
|
16402
|
+
[name: string]: unknown;
|
|
16403
|
+
};
|
|
16404
|
+
content: {
|
|
16405
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16406
|
+
};
|
|
16407
|
+
};
|
|
16408
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16409
|
+
403: {
|
|
16410
|
+
headers: {
|
|
16411
|
+
[name: string]: unknown;
|
|
16412
|
+
};
|
|
16413
|
+
content: {
|
|
16414
|
+
"application/json": {
|
|
16415
|
+
[key: string]: unknown;
|
|
16416
|
+
};
|
|
16417
|
+
};
|
|
16418
|
+
};
|
|
16419
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16420
|
+
404: {
|
|
16421
|
+
headers: {
|
|
16422
|
+
[name: string]: unknown;
|
|
16423
|
+
};
|
|
16424
|
+
content: {
|
|
16425
|
+
"application/json": {
|
|
16426
|
+
[key: string]: unknown;
|
|
16427
|
+
};
|
|
16428
|
+
};
|
|
16429
|
+
};
|
|
16430
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `TEST_PRINT_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16431
|
+
429: {
|
|
16432
|
+
headers: {
|
|
16433
|
+
[name: string]: unknown;
|
|
16434
|
+
};
|
|
16435
|
+
content: {
|
|
16436
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16437
|
+
};
|
|
16438
|
+
};
|
|
16439
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16440
|
+
500: {
|
|
16441
|
+
headers: {
|
|
16442
|
+
[name: string]: unknown;
|
|
16443
|
+
};
|
|
16444
|
+
content: {
|
|
16445
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16446
|
+
};
|
|
16447
|
+
};
|
|
16448
|
+
};
|
|
16449
|
+
};
|
|
16450
|
+
admin_products_list: {
|
|
16451
|
+
parameters: {
|
|
16452
|
+
query?: {
|
|
16453
|
+
/** @description Restrict to the product carrying this external_id (the merchant-portal Menu.id mirrored across the sync). Narrows the company-scoped list and never widens it, so an id belonging to another company yields an empty list — as does an unmatched or non-numeric value. Lets the portal resolve one product without downloading the store's catalogue to search it client-side. */
|
|
16454
|
+
external_id?: number;
|
|
16455
|
+
/** @description Restrict to one store by numeric Store.id. Must belong to the authenticated company; an unrelated id yields an empty list. */
|
|
16456
|
+
store_id?: number;
|
|
16457
|
+
/** @description Restrict to one store by its public_id (the stable, cross-system store key the merchant portal holds). Must belong to the authenticated company; an unrelated value yields an empty list. Preferred over store_id. */
|
|
16458
|
+
store_public_id?: string;
|
|
16459
|
+
};
|
|
16460
|
+
header?: {
|
|
16461
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
16462
|
+
"X-Sous-Company-Id"?: number;
|
|
16463
|
+
};
|
|
16464
|
+
path?: never;
|
|
16465
|
+
cookie?: never;
|
|
16466
|
+
};
|
|
16467
|
+
requestBody?: never;
|
|
16468
|
+
responses: {
|
|
16469
|
+
200: {
|
|
16470
|
+
headers: {
|
|
16471
|
+
[name: string]: unknown;
|
|
16472
|
+
};
|
|
16473
|
+
content: {
|
|
16474
|
+
"application/json": components["schemas"]["AdminProductOption"][];
|
|
16092
16475
|
};
|
|
16093
16476
|
};
|
|
16094
16477
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16147,7 +16530,7 @@ interface operations {
|
|
|
16147
16530
|
};
|
|
16148
16531
|
};
|
|
16149
16532
|
};
|
|
16150
|
-
|
|
16533
|
+
admin_products_attribute_values_list: {
|
|
16151
16534
|
parameters: {
|
|
16152
16535
|
query?: never;
|
|
16153
16536
|
header?: {
|
|
@@ -16161,12 +16544,13 @@ interface operations {
|
|
|
16161
16544
|
};
|
|
16162
16545
|
requestBody?: never;
|
|
16163
16546
|
responses: {
|
|
16164
|
-
/** @description No response body */
|
|
16165
16547
|
200: {
|
|
16166
16548
|
headers: {
|
|
16167
16549
|
[name: string]: unknown;
|
|
16168
16550
|
};
|
|
16169
|
-
content
|
|
16551
|
+
content: {
|
|
16552
|
+
"application/json": components["schemas"]["ProductAttributeValue"][];
|
|
16553
|
+
};
|
|
16170
16554
|
};
|
|
16171
16555
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16172
16556
|
400: {
|
|
@@ -16174,7 +16558,7 @@ interface operations {
|
|
|
16174
16558
|
[name: string]: unknown;
|
|
16175
16559
|
};
|
|
16176
16560
|
content: {
|
|
16177
|
-
"application/json": components["schemas"]["
|
|
16561
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16178
16562
|
};
|
|
16179
16563
|
};
|
|
16180
16564
|
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16224,7 +16608,7 @@ interface operations {
|
|
|
16224
16608
|
};
|
|
16225
16609
|
};
|
|
16226
16610
|
};
|
|
16227
|
-
|
|
16611
|
+
admin_products_attribute_values_update: {
|
|
16228
16612
|
parameters: {
|
|
16229
16613
|
query?: never;
|
|
16230
16614
|
header?: {
|
|
@@ -16236,14 +16620,21 @@ interface operations {
|
|
|
16236
16620
|
};
|
|
16237
16621
|
cookie?: never;
|
|
16238
16622
|
};
|
|
16239
|
-
requestBody
|
|
16623
|
+
requestBody: {
|
|
16624
|
+
content: {
|
|
16625
|
+
"application/json": components["schemas"]["AdminAttributeValuesRequest"];
|
|
16626
|
+
"application/x-www-form-urlencoded": components["schemas"]["AdminAttributeValuesRequest"];
|
|
16627
|
+
"multipart/form-data": components["schemas"]["AdminAttributeValuesRequest"];
|
|
16628
|
+
};
|
|
16629
|
+
};
|
|
16240
16630
|
responses: {
|
|
16241
|
-
|
|
16242
|
-
204: {
|
|
16631
|
+
200: {
|
|
16243
16632
|
headers: {
|
|
16244
16633
|
[name: string]: unknown;
|
|
16245
16634
|
};
|
|
16246
|
-
content
|
|
16635
|
+
content: {
|
|
16636
|
+
"application/json": components["schemas"]["ProductAttributeValue"][];
|
|
16637
|
+
};
|
|
16247
16638
|
};
|
|
16248
16639
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16249
16640
|
400: {
|
|
@@ -16301,7 +16692,7 @@ interface operations {
|
|
|
16301
16692
|
};
|
|
16302
16693
|
};
|
|
16303
16694
|
};
|
|
16304
|
-
|
|
16695
|
+
admin_products_confirm_compliance_retrieve: {
|
|
16305
16696
|
parameters: {
|
|
16306
16697
|
query?: never;
|
|
16307
16698
|
header?: {
|
|
@@ -16320,7 +16711,7 @@ interface operations {
|
|
|
16320
16711
|
[name: string]: unknown;
|
|
16321
16712
|
};
|
|
16322
16713
|
content: {
|
|
16323
|
-
"application/json": components["schemas"]["
|
|
16714
|
+
"application/json": components["schemas"]["ComplianceConfirmation"];
|
|
16324
16715
|
};
|
|
16325
16716
|
};
|
|
16326
16717
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16379,7 +16770,7 @@ interface operations {
|
|
|
16379
16770
|
};
|
|
16380
16771
|
};
|
|
16381
16772
|
};
|
|
16382
|
-
|
|
16773
|
+
admin_products_confirm_compliance_create: {
|
|
16383
16774
|
parameters: {
|
|
16384
16775
|
query?: never;
|
|
16385
16776
|
header?: {
|
|
@@ -16391,21 +16782,91 @@ interface operations {
|
|
|
16391
16782
|
};
|
|
16392
16783
|
cookie?: never;
|
|
16393
16784
|
};
|
|
16394
|
-
requestBody
|
|
16395
|
-
content: {
|
|
16396
|
-
"application/json": components["schemas"]["AdminProductDeposit"];
|
|
16397
|
-
"application/x-www-form-urlencoded": components["schemas"]["AdminProductDeposit"];
|
|
16398
|
-
"multipart/form-data": components["schemas"]["AdminProductDeposit"];
|
|
16399
|
-
};
|
|
16400
|
-
};
|
|
16785
|
+
requestBody?: never;
|
|
16401
16786
|
responses: {
|
|
16787
|
+
/** @description No response body */
|
|
16402
16788
|
200: {
|
|
16789
|
+
headers: {
|
|
16790
|
+
[name: string]: unknown;
|
|
16791
|
+
};
|
|
16792
|
+
content?: never;
|
|
16793
|
+
};
|
|
16794
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16795
|
+
400: {
|
|
16403
16796
|
headers: {
|
|
16404
16797
|
[name: string]: unknown;
|
|
16405
16798
|
};
|
|
16406
16799
|
content: {
|
|
16407
|
-
"application/json": components["schemas"]["
|
|
16800
|
+
"application/json": components["schemas"]["ComplianceIncomplete"];
|
|
16801
|
+
};
|
|
16802
|
+
};
|
|
16803
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16804
|
+
401: {
|
|
16805
|
+
headers: {
|
|
16806
|
+
[name: string]: unknown;
|
|
16807
|
+
};
|
|
16808
|
+
content: {
|
|
16809
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16810
|
+
};
|
|
16811
|
+
};
|
|
16812
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16813
|
+
403: {
|
|
16814
|
+
headers: {
|
|
16815
|
+
[name: string]: unknown;
|
|
16816
|
+
};
|
|
16817
|
+
content: {
|
|
16818
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16819
|
+
};
|
|
16820
|
+
};
|
|
16821
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16822
|
+
404: {
|
|
16823
|
+
headers: {
|
|
16824
|
+
[name: string]: unknown;
|
|
16825
|
+
};
|
|
16826
|
+
content: {
|
|
16827
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16828
|
+
};
|
|
16829
|
+
};
|
|
16830
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16831
|
+
429: {
|
|
16832
|
+
headers: {
|
|
16833
|
+
[name: string]: unknown;
|
|
16834
|
+
};
|
|
16835
|
+
content: {
|
|
16836
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16837
|
+
};
|
|
16838
|
+
};
|
|
16839
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16840
|
+
500: {
|
|
16841
|
+
headers: {
|
|
16842
|
+
[name: string]: unknown;
|
|
16843
|
+
};
|
|
16844
|
+
content: {
|
|
16845
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
16846
|
+
};
|
|
16847
|
+
};
|
|
16848
|
+
};
|
|
16849
|
+
};
|
|
16850
|
+
admin_products_confirm_compliance_destroy: {
|
|
16851
|
+
parameters: {
|
|
16852
|
+
query?: never;
|
|
16853
|
+
header?: {
|
|
16854
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
16855
|
+
"X-Sous-Company-Id"?: number;
|
|
16856
|
+
};
|
|
16857
|
+
path: {
|
|
16858
|
+
product_id: number;
|
|
16859
|
+
};
|
|
16860
|
+
cookie?: never;
|
|
16861
|
+
};
|
|
16862
|
+
requestBody?: never;
|
|
16863
|
+
responses: {
|
|
16864
|
+
/** @description No response body */
|
|
16865
|
+
204: {
|
|
16866
|
+
headers: {
|
|
16867
|
+
[name: string]: unknown;
|
|
16408
16868
|
};
|
|
16869
|
+
content?: never;
|
|
16409
16870
|
};
|
|
16410
16871
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
16411
16872
|
400: {
|
|
@@ -16463,7 +16924,7 @@ interface operations {
|
|
|
16463
16924
|
};
|
|
16464
16925
|
};
|
|
16465
16926
|
};
|
|
16466
|
-
|
|
16927
|
+
admin_products_deposit_retrieve: {
|
|
16467
16928
|
parameters: {
|
|
16468
16929
|
query?: never;
|
|
16469
16930
|
header?: {
|
|
@@ -16475,20 +16936,14 @@ interface operations {
|
|
|
16475
16936
|
};
|
|
16476
16937
|
cookie?: never;
|
|
16477
16938
|
};
|
|
16478
|
-
requestBody
|
|
16479
|
-
content: {
|
|
16480
|
-
"application/json": components["schemas"]["AdminProductSurchargesRequest"];
|
|
16481
|
-
"application/x-www-form-urlencoded": components["schemas"]["AdminProductSurchargesRequest"];
|
|
16482
|
-
"multipart/form-data": components["schemas"]["AdminProductSurchargesRequest"];
|
|
16483
|
-
};
|
|
16484
|
-
};
|
|
16939
|
+
requestBody?: never;
|
|
16485
16940
|
responses: {
|
|
16486
16941
|
200: {
|
|
16487
16942
|
headers: {
|
|
16488
16943
|
[name: string]: unknown;
|
|
16489
16944
|
};
|
|
16490
16945
|
content: {
|
|
16491
|
-
"application/json": components["schemas"]["
|
|
16946
|
+
"application/json": components["schemas"]["AdminProductDeposit"];
|
|
16492
16947
|
};
|
|
16493
16948
|
};
|
|
16494
16949
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16547,21 +17002,23 @@ interface operations {
|
|
|
16547
17002
|
};
|
|
16548
17003
|
};
|
|
16549
17004
|
};
|
|
16550
|
-
|
|
17005
|
+
admin_products_deposit_update: {
|
|
16551
17006
|
parameters: {
|
|
16552
17007
|
query?: never;
|
|
16553
17008
|
header?: {
|
|
16554
17009
|
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
16555
17010
|
"X-Sous-Company-Id"?: number;
|
|
16556
17011
|
};
|
|
16557
|
-
path
|
|
17012
|
+
path: {
|
|
17013
|
+
product_id: number;
|
|
17014
|
+
};
|
|
16558
17015
|
cookie?: never;
|
|
16559
17016
|
};
|
|
16560
17017
|
requestBody: {
|
|
16561
17018
|
content: {
|
|
16562
|
-
"application/json": components["schemas"]["
|
|
16563
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
16564
|
-
"multipart/form-data": components["schemas"]["
|
|
17019
|
+
"application/json": components["schemas"]["AdminProductDeposit"];
|
|
17020
|
+
"application/x-www-form-urlencoded": components["schemas"]["AdminProductDeposit"];
|
|
17021
|
+
"multipart/form-data": components["schemas"]["AdminProductDeposit"];
|
|
16565
17022
|
};
|
|
16566
17023
|
};
|
|
16567
17024
|
responses: {
|
|
@@ -16570,7 +17027,7 @@ interface operations {
|
|
|
16570
17027
|
[name: string]: unknown;
|
|
16571
17028
|
};
|
|
16572
17029
|
content: {
|
|
16573
|
-
"application/json": components["schemas"]["
|
|
17030
|
+
"application/json": components["schemas"]["AdminProductDeposit"];
|
|
16574
17031
|
};
|
|
16575
17032
|
};
|
|
16576
17033
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16629,27 +17086,32 @@ interface operations {
|
|
|
16629
17086
|
};
|
|
16630
17087
|
};
|
|
16631
17088
|
};
|
|
16632
|
-
|
|
17089
|
+
admin_products_surcharges_update: {
|
|
16633
17090
|
parameters: {
|
|
16634
|
-
query?:
|
|
16635
|
-
/** @description The pagination cursor value. */
|
|
16636
|
-
cursor?: string;
|
|
16637
|
-
};
|
|
17091
|
+
query?: never;
|
|
16638
17092
|
header?: {
|
|
16639
17093
|
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
16640
17094
|
"X-Sous-Company-Id"?: number;
|
|
16641
17095
|
};
|
|
16642
|
-
path
|
|
17096
|
+
path: {
|
|
17097
|
+
product_id: number;
|
|
17098
|
+
};
|
|
16643
17099
|
cookie?: never;
|
|
16644
17100
|
};
|
|
16645
|
-
requestBody
|
|
17101
|
+
requestBody: {
|
|
17102
|
+
content: {
|
|
17103
|
+
"application/json": components["schemas"]["AdminProductSurchargesRequest"];
|
|
17104
|
+
"application/x-www-form-urlencoded": components["schemas"]["AdminProductSurchargesRequest"];
|
|
17105
|
+
"multipart/form-data": components["schemas"]["AdminProductSurchargesRequest"];
|
|
17106
|
+
};
|
|
17107
|
+
};
|
|
16646
17108
|
responses: {
|
|
16647
17109
|
200: {
|
|
16648
17110
|
headers: {
|
|
16649
17111
|
[name: string]: unknown;
|
|
16650
17112
|
};
|
|
16651
17113
|
content: {
|
|
16652
|
-
"application/json": components["schemas"]["
|
|
17114
|
+
"application/json": components["schemas"]["Surcharge"][];
|
|
16653
17115
|
};
|
|
16654
17116
|
};
|
|
16655
17117
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -16708,7 +17170,7 @@ interface operations {
|
|
|
16708
17170
|
};
|
|
16709
17171
|
};
|
|
16710
17172
|
};
|
|
16711
|
-
|
|
17173
|
+
admin_products_shared_create: {
|
|
16712
17174
|
parameters: {
|
|
16713
17175
|
query?: never;
|
|
16714
17176
|
header?: {
|
|
@@ -16720,9 +17182,9 @@ interface operations {
|
|
|
16720
17182
|
};
|
|
16721
17183
|
requestBody: {
|
|
16722
17184
|
content: {
|
|
16723
|
-
"application/json": components["schemas"]["
|
|
16724
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
16725
|
-
"multipart/form-data": components["schemas"]["
|
|
17185
|
+
"application/json": components["schemas"]["SharedProductsRequest"];
|
|
17186
|
+
"application/x-www-form-urlencoded": components["schemas"]["SharedProductsRequest"];
|
|
17187
|
+
"multipart/form-data": components["schemas"]["SharedProductsRequest"];
|
|
16726
17188
|
};
|
|
16727
17189
|
};
|
|
16728
17190
|
responses: {
|
|
@@ -16731,7 +17193,168 @@ interface operations {
|
|
|
16731
17193
|
[name: string]: unknown;
|
|
16732
17194
|
};
|
|
16733
17195
|
content: {
|
|
16734
|
-
"application/json": components["schemas"]["
|
|
17196
|
+
"application/json": components["schemas"]["SharedBrandProduct"][];
|
|
17197
|
+
};
|
|
17198
|
+
};
|
|
17199
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17200
|
+
400: {
|
|
17201
|
+
headers: {
|
|
17202
|
+
[name: string]: unknown;
|
|
17203
|
+
};
|
|
17204
|
+
content: {
|
|
17205
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17206
|
+
};
|
|
17207
|
+
};
|
|
17208
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17209
|
+
401: {
|
|
17210
|
+
headers: {
|
|
17211
|
+
[name: string]: unknown;
|
|
17212
|
+
};
|
|
17213
|
+
content: {
|
|
17214
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17215
|
+
};
|
|
17216
|
+
};
|
|
17217
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17218
|
+
403: {
|
|
17219
|
+
headers: {
|
|
17220
|
+
[name: string]: unknown;
|
|
17221
|
+
};
|
|
17222
|
+
content: {
|
|
17223
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17224
|
+
};
|
|
17225
|
+
};
|
|
17226
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17227
|
+
404: {
|
|
17228
|
+
headers: {
|
|
17229
|
+
[name: string]: unknown;
|
|
17230
|
+
};
|
|
17231
|
+
content: {
|
|
17232
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17233
|
+
};
|
|
17234
|
+
};
|
|
17235
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17236
|
+
429: {
|
|
17237
|
+
headers: {
|
|
17238
|
+
[name: string]: unknown;
|
|
17239
|
+
};
|
|
17240
|
+
content: {
|
|
17241
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17242
|
+
};
|
|
17243
|
+
};
|
|
17244
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17245
|
+
500: {
|
|
17246
|
+
headers: {
|
|
17247
|
+
[name: string]: unknown;
|
|
17248
|
+
};
|
|
17249
|
+
content: {
|
|
17250
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17251
|
+
};
|
|
17252
|
+
};
|
|
17253
|
+
};
|
|
17254
|
+
};
|
|
17255
|
+
admin_promotions_list: {
|
|
17256
|
+
parameters: {
|
|
17257
|
+
query?: {
|
|
17258
|
+
/** @description The pagination cursor value. */
|
|
17259
|
+
cursor?: string;
|
|
17260
|
+
};
|
|
17261
|
+
header?: {
|
|
17262
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17263
|
+
"X-Sous-Company-Id"?: number;
|
|
17264
|
+
};
|
|
17265
|
+
path?: never;
|
|
17266
|
+
cookie?: never;
|
|
17267
|
+
};
|
|
17268
|
+
requestBody?: never;
|
|
17269
|
+
responses: {
|
|
17270
|
+
200: {
|
|
17271
|
+
headers: {
|
|
17272
|
+
[name: string]: unknown;
|
|
17273
|
+
};
|
|
17274
|
+
content: {
|
|
17275
|
+
"application/json": components["schemas"]["PaginatedAdminPromotionList"];
|
|
17276
|
+
};
|
|
17277
|
+
};
|
|
17278
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17279
|
+
400: {
|
|
17280
|
+
headers: {
|
|
17281
|
+
[name: string]: unknown;
|
|
17282
|
+
};
|
|
17283
|
+
content: {
|
|
17284
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17285
|
+
};
|
|
17286
|
+
};
|
|
17287
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17288
|
+
401: {
|
|
17289
|
+
headers: {
|
|
17290
|
+
[name: string]: unknown;
|
|
17291
|
+
};
|
|
17292
|
+
content: {
|
|
17293
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17294
|
+
};
|
|
17295
|
+
};
|
|
17296
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17297
|
+
403: {
|
|
17298
|
+
headers: {
|
|
17299
|
+
[name: string]: unknown;
|
|
17300
|
+
};
|
|
17301
|
+
content: {
|
|
17302
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17303
|
+
};
|
|
17304
|
+
};
|
|
17305
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17306
|
+
404: {
|
|
17307
|
+
headers: {
|
|
17308
|
+
[name: string]: unknown;
|
|
17309
|
+
};
|
|
17310
|
+
content: {
|
|
17311
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17312
|
+
};
|
|
17313
|
+
};
|
|
17314
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17315
|
+
429: {
|
|
17316
|
+
headers: {
|
|
17317
|
+
[name: string]: unknown;
|
|
17318
|
+
};
|
|
17319
|
+
content: {
|
|
17320
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17321
|
+
};
|
|
17322
|
+
};
|
|
17323
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
17324
|
+
500: {
|
|
17325
|
+
headers: {
|
|
17326
|
+
[name: string]: unknown;
|
|
17327
|
+
};
|
|
17328
|
+
content: {
|
|
17329
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
17330
|
+
};
|
|
17331
|
+
};
|
|
17332
|
+
};
|
|
17333
|
+
};
|
|
17334
|
+
admin_promotions_create: {
|
|
17335
|
+
parameters: {
|
|
17336
|
+
query?: never;
|
|
17337
|
+
header?: {
|
|
17338
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
17339
|
+
"X-Sous-Company-Id"?: number;
|
|
17340
|
+
};
|
|
17341
|
+
path?: never;
|
|
17342
|
+
cookie?: never;
|
|
17343
|
+
};
|
|
17344
|
+
requestBody: {
|
|
17345
|
+
content: {
|
|
17346
|
+
"application/json": components["schemas"]["AdminPromotion"];
|
|
17347
|
+
"application/x-www-form-urlencoded": components["schemas"]["AdminPromotion"];
|
|
17348
|
+
"multipart/form-data": components["schemas"]["AdminPromotion"];
|
|
17349
|
+
};
|
|
17350
|
+
};
|
|
17351
|
+
responses: {
|
|
17352
|
+
200: {
|
|
17353
|
+
headers: {
|
|
17354
|
+
[name: string]: unknown;
|
|
17355
|
+
};
|
|
17356
|
+
content: {
|
|
17357
|
+
"application/json": components["schemas"]["AdminPromotion"];
|
|
16735
17358
|
};
|
|
16736
17359
|
};
|
|
16737
17360
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -22727,6 +23350,8 @@ interface operations {
|
|
|
22727
23350
|
cart_suggestions_list: {
|
|
22728
23351
|
parameters: {
|
|
22729
23352
|
query?: {
|
|
23353
|
+
/** @description The pickup or delivery date the customer has chosen (YYYY-MM-DD). Suggests only the products that can be ordered today for that date by their own dates, the rule the product list's handover_date applies; upsells included, which that list never carries. An unreadable value is ignored. */
|
|
23354
|
+
handover_date?: string;
|
|
22730
23355
|
/** @description Language override for translated content. The primary mechanism is the `Accept-Language` header; this query parameter is an override for widget embedding where merchants cannot control browser headers. Defaults to `en`. */
|
|
22731
23356
|
lang?: string;
|
|
22732
23357
|
};
|
|
@@ -26571,6 +27196,8 @@ interface operations {
|
|
|
26571
27196
|
checkout_suggestions_list: {
|
|
26572
27197
|
parameters: {
|
|
26573
27198
|
query?: {
|
|
27199
|
+
/** @description The pickup or delivery date the customer has chosen (YYYY-MM-DD). Suggests only the products that can be ordered today for that date by their own dates, the rule the product list's handover_date applies; upsells included, which that list never carries. An unreadable value is ignored. */
|
|
27200
|
+
handover_date?: string;
|
|
26574
27201
|
/** @description Language override for translated content. The primary mechanism is the `Accept-Language` header; this query parameter is an override for widget embedding where merchants cannot control browser headers. Defaults to `en`. */
|
|
26575
27202
|
lang?: string;
|
|
26576
27203
|
};
|
|
@@ -29285,7 +29912,9 @@ interface operations {
|
|
|
29285
29912
|
page?: number;
|
|
29286
29913
|
page_size?: number;
|
|
29287
29914
|
party_sizes?: number[];
|
|
29915
|
+
/** @description Cents, inclusive. Compared with the price a listing card shows (see price_min). */
|
|
29288
29916
|
price_max?: number;
|
|
29917
|
+
/** @description Cents, inclusive. Compared with the price a listing card shows: the price per person for a menu box with a party size, the price otherwise. */
|
|
29289
29918
|
price_min?: number;
|
|
29290
29919
|
/** @description Cents, inclusive. Excludes products with no party size. */
|
|
29291
29920
|
price_per_person_max?: number;
|
|
@@ -29295,7 +29924,9 @@ interface operations {
|
|
|
29295
29924
|
product_tags?: string[];
|
|
29296
29925
|
q?: string;
|
|
29297
29926
|
/**
|
|
29298
|
-
* @description
|
|
29927
|
+
* @description price_asc and price_desc order by the price a listing card shows (see price_min).
|
|
29928
|
+
*
|
|
29929
|
+
* * `relevance` - relevance
|
|
29299
29930
|
* * `price_asc` - price_asc
|
|
29300
29931
|
* * `price_desc` - price_desc
|
|
29301
29932
|
*/
|
|
@@ -29493,7 +30124,9 @@ interface operations {
|
|
|
29493
30124
|
page?: number;
|
|
29494
30125
|
page_size?: number;
|
|
29495
30126
|
party_sizes?: number[];
|
|
30127
|
+
/** @description Cents, inclusive. Compared with the price a listing card shows (see price_min). */
|
|
29496
30128
|
price_max?: number;
|
|
30129
|
+
/** @description Cents, inclusive. Compared with the price a listing card shows: the price per person for a menu box with a party size, the price otherwise. */
|
|
29497
30130
|
price_min?: number;
|
|
29498
30131
|
/** @description Cents, inclusive. Excludes products with no party size. */
|
|
29499
30132
|
price_per_person_max?: number;
|
|
@@ -29503,7 +30136,9 @@ interface operations {
|
|
|
29503
30136
|
product_tags?: string[];
|
|
29504
30137
|
q?: string;
|
|
29505
30138
|
/**
|
|
29506
|
-
* @description
|
|
30139
|
+
* @description price_asc and price_desc order by the price a listing card shows (see price_min).
|
|
30140
|
+
*
|
|
30141
|
+
* * `relevance` - relevance
|
|
29507
30142
|
* * `price_asc` - price_asc
|
|
29508
30143
|
* * `price_desc` - price_desc
|
|
29509
30144
|
*/
|
|
@@ -30820,7 +31455,260 @@ interface operations {
|
|
|
30820
31455
|
};
|
|
30821
31456
|
};
|
|
30822
31457
|
};
|
|
30823
|
-
group_orders_destroy: {
|
|
31458
|
+
group_orders_destroy: {
|
|
31459
|
+
parameters: {
|
|
31460
|
+
query?: never;
|
|
31461
|
+
header?: never;
|
|
31462
|
+
path: {
|
|
31463
|
+
join_code: string;
|
|
31464
|
+
};
|
|
31465
|
+
cookie?: never;
|
|
31466
|
+
};
|
|
31467
|
+
requestBody?: never;
|
|
31468
|
+
responses: {
|
|
31469
|
+
/** @description No response body */
|
|
31470
|
+
204: {
|
|
31471
|
+
headers: {
|
|
31472
|
+
[name: string]: unknown;
|
|
31473
|
+
};
|
|
31474
|
+
content?: never;
|
|
31475
|
+
};
|
|
31476
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_DEADLINE_PASSED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31477
|
+
400: {
|
|
31478
|
+
headers: {
|
|
31479
|
+
[name: string]: unknown;
|
|
31480
|
+
};
|
|
31481
|
+
content: {
|
|
31482
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31483
|
+
};
|
|
31484
|
+
};
|
|
31485
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31486
|
+
401: {
|
|
31487
|
+
headers: {
|
|
31488
|
+
[name: string]: unknown;
|
|
31489
|
+
};
|
|
31490
|
+
content: {
|
|
31491
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31492
|
+
};
|
|
31493
|
+
};
|
|
31494
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31495
|
+
403: {
|
|
31496
|
+
headers: {
|
|
31497
|
+
[name: string]: unknown;
|
|
31498
|
+
};
|
|
31499
|
+
content: {
|
|
31500
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31501
|
+
};
|
|
31502
|
+
};
|
|
31503
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_SESSION_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_PARTICIPANT_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31504
|
+
404: {
|
|
31505
|
+
headers: {
|
|
31506
|
+
[name: string]: unknown;
|
|
31507
|
+
};
|
|
31508
|
+
content: {
|
|
31509
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31510
|
+
};
|
|
31511
|
+
};
|
|
31512
|
+
/** @description Possible error codes include `GROUP_ORDER_SESSION_NOT_OPEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_ALREADY_JOINED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31513
|
+
409: {
|
|
31514
|
+
headers: {
|
|
31515
|
+
[name: string]: unknown;
|
|
31516
|
+
};
|
|
31517
|
+
content: {
|
|
31518
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31519
|
+
};
|
|
31520
|
+
};
|
|
31521
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31522
|
+
429: {
|
|
31523
|
+
headers: {
|
|
31524
|
+
[name: string]: unknown;
|
|
31525
|
+
};
|
|
31526
|
+
content: {
|
|
31527
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31528
|
+
};
|
|
31529
|
+
};
|
|
31530
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31531
|
+
500: {
|
|
31532
|
+
headers: {
|
|
31533
|
+
[name: string]: unknown;
|
|
31534
|
+
};
|
|
31535
|
+
content: {
|
|
31536
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31537
|
+
};
|
|
31538
|
+
};
|
|
31539
|
+
};
|
|
31540
|
+
};
|
|
31541
|
+
group_orders_budget_override_create: {
|
|
31542
|
+
parameters: {
|
|
31543
|
+
query?: never;
|
|
31544
|
+
header?: never;
|
|
31545
|
+
path: {
|
|
31546
|
+
join_code: string;
|
|
31547
|
+
};
|
|
31548
|
+
cookie?: never;
|
|
31549
|
+
};
|
|
31550
|
+
requestBody?: never;
|
|
31551
|
+
responses: {
|
|
31552
|
+
200: {
|
|
31553
|
+
headers: {
|
|
31554
|
+
[name: string]: unknown;
|
|
31555
|
+
};
|
|
31556
|
+
content: {
|
|
31557
|
+
"application/json": components["schemas"]["GroupOrderSession"];
|
|
31558
|
+
};
|
|
31559
|
+
};
|
|
31560
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_DEADLINE_PASSED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31561
|
+
400: {
|
|
31562
|
+
headers: {
|
|
31563
|
+
[name: string]: unknown;
|
|
31564
|
+
};
|
|
31565
|
+
content: {
|
|
31566
|
+
"application/json": {
|
|
31567
|
+
[key: string]: unknown;
|
|
31568
|
+
};
|
|
31569
|
+
};
|
|
31570
|
+
};
|
|
31571
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31572
|
+
401: {
|
|
31573
|
+
headers: {
|
|
31574
|
+
[name: string]: unknown;
|
|
31575
|
+
};
|
|
31576
|
+
content: {
|
|
31577
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31578
|
+
};
|
|
31579
|
+
};
|
|
31580
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31581
|
+
403: {
|
|
31582
|
+
headers: {
|
|
31583
|
+
[name: string]: unknown;
|
|
31584
|
+
};
|
|
31585
|
+
content: {
|
|
31586
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31587
|
+
};
|
|
31588
|
+
};
|
|
31589
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_SESSION_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_PARTICIPANT_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31590
|
+
404: {
|
|
31591
|
+
headers: {
|
|
31592
|
+
[name: string]: unknown;
|
|
31593
|
+
};
|
|
31594
|
+
content: {
|
|
31595
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31596
|
+
};
|
|
31597
|
+
};
|
|
31598
|
+
/** @description Possible error codes include `GROUP_ORDER_SESSION_NOT_OPEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_ALREADY_JOINED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31599
|
+
409: {
|
|
31600
|
+
headers: {
|
|
31601
|
+
[name: string]: unknown;
|
|
31602
|
+
};
|
|
31603
|
+
content: {
|
|
31604
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31605
|
+
};
|
|
31606
|
+
};
|
|
31607
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31608
|
+
429: {
|
|
31609
|
+
headers: {
|
|
31610
|
+
[name: string]: unknown;
|
|
31611
|
+
};
|
|
31612
|
+
content: {
|
|
31613
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31614
|
+
};
|
|
31615
|
+
};
|
|
31616
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31617
|
+
500: {
|
|
31618
|
+
headers: {
|
|
31619
|
+
[name: string]: unknown;
|
|
31620
|
+
};
|
|
31621
|
+
content: {
|
|
31622
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31623
|
+
};
|
|
31624
|
+
};
|
|
31625
|
+
};
|
|
31626
|
+
};
|
|
31627
|
+
group_orders_close_create: {
|
|
31628
|
+
parameters: {
|
|
31629
|
+
query?: never;
|
|
31630
|
+
header?: never;
|
|
31631
|
+
path: {
|
|
31632
|
+
join_code: string;
|
|
31633
|
+
};
|
|
31634
|
+
cookie?: never;
|
|
31635
|
+
};
|
|
31636
|
+
requestBody?: never;
|
|
31637
|
+
responses: {
|
|
31638
|
+
200: {
|
|
31639
|
+
headers: {
|
|
31640
|
+
[name: string]: unknown;
|
|
31641
|
+
};
|
|
31642
|
+
content: {
|
|
31643
|
+
"application/json": components["schemas"]["GroupOrderSession"];
|
|
31644
|
+
};
|
|
31645
|
+
};
|
|
31646
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_DEADLINE_PASSED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31647
|
+
400: {
|
|
31648
|
+
headers: {
|
|
31649
|
+
[name: string]: unknown;
|
|
31650
|
+
};
|
|
31651
|
+
content: {
|
|
31652
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31653
|
+
};
|
|
31654
|
+
};
|
|
31655
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31656
|
+
401: {
|
|
31657
|
+
headers: {
|
|
31658
|
+
[name: string]: unknown;
|
|
31659
|
+
};
|
|
31660
|
+
content: {
|
|
31661
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31662
|
+
};
|
|
31663
|
+
};
|
|
31664
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31665
|
+
403: {
|
|
31666
|
+
headers: {
|
|
31667
|
+
[name: string]: unknown;
|
|
31668
|
+
};
|
|
31669
|
+
content: {
|
|
31670
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31671
|
+
};
|
|
31672
|
+
};
|
|
31673
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_SESSION_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_PARTICIPANT_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31674
|
+
404: {
|
|
31675
|
+
headers: {
|
|
31676
|
+
[name: string]: unknown;
|
|
31677
|
+
};
|
|
31678
|
+
content: {
|
|
31679
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31680
|
+
};
|
|
31681
|
+
};
|
|
31682
|
+
/** @description Possible error codes include `GROUP_ORDER_SESSION_NOT_OPEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_ALREADY_JOINED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31683
|
+
409: {
|
|
31684
|
+
headers: {
|
|
31685
|
+
[name: string]: unknown;
|
|
31686
|
+
};
|
|
31687
|
+
content: {
|
|
31688
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31689
|
+
};
|
|
31690
|
+
};
|
|
31691
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31692
|
+
429: {
|
|
31693
|
+
headers: {
|
|
31694
|
+
[name: string]: unknown;
|
|
31695
|
+
};
|
|
31696
|
+
content: {
|
|
31697
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31698
|
+
};
|
|
31699
|
+
};
|
|
31700
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31701
|
+
500: {
|
|
31702
|
+
headers: {
|
|
31703
|
+
[name: string]: unknown;
|
|
31704
|
+
};
|
|
31705
|
+
content: {
|
|
31706
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31707
|
+
};
|
|
31708
|
+
};
|
|
31709
|
+
};
|
|
31710
|
+
};
|
|
31711
|
+
group_orders_items_create: {
|
|
30824
31712
|
parameters: {
|
|
30825
31713
|
query?: never;
|
|
30826
31714
|
header?: never;
|
|
@@ -30829,14 +31717,21 @@ interface operations {
|
|
|
30829
31717
|
};
|
|
30830
31718
|
cookie?: never;
|
|
30831
31719
|
};
|
|
30832
|
-
requestBody
|
|
31720
|
+
requestBody: {
|
|
31721
|
+
content: {
|
|
31722
|
+
"application/json": components["schemas"]["GroupOrderItemsRequest"];
|
|
31723
|
+
"application/x-www-form-urlencoded": components["schemas"]["GroupOrderItemsRequest"];
|
|
31724
|
+
"multipart/form-data": components["schemas"]["GroupOrderItemsRequest"];
|
|
31725
|
+
};
|
|
31726
|
+
};
|
|
30833
31727
|
responses: {
|
|
30834
|
-
|
|
30835
|
-
204: {
|
|
31728
|
+
200: {
|
|
30836
31729
|
headers: {
|
|
30837
31730
|
[name: string]: unknown;
|
|
30838
31731
|
};
|
|
30839
|
-
content
|
|
31732
|
+
content: {
|
|
31733
|
+
"application/json": components["schemas"]["GroupOrderItemsResponse"];
|
|
31734
|
+
};
|
|
30840
31735
|
};
|
|
30841
31736
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_DEADLINE_PASSED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
30842
31737
|
400: {
|
|
@@ -30844,7 +31739,9 @@ interface operations {
|
|
|
30844
31739
|
[name: string]: unknown;
|
|
30845
31740
|
};
|
|
30846
31741
|
content: {
|
|
30847
|
-
"application/json":
|
|
31742
|
+
"application/json": {
|
|
31743
|
+
[key: string]: unknown;
|
|
31744
|
+
};
|
|
30848
31745
|
};
|
|
30849
31746
|
};
|
|
30850
31747
|
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -30903,7 +31800,7 @@ interface operations {
|
|
|
30903
31800
|
};
|
|
30904
31801
|
};
|
|
30905
31802
|
};
|
|
30906
|
-
|
|
31803
|
+
group_orders_join_create: {
|
|
30907
31804
|
parameters: {
|
|
30908
31805
|
query?: never;
|
|
30909
31806
|
header?: never;
|
|
@@ -30912,14 +31809,20 @@ interface operations {
|
|
|
30912
31809
|
};
|
|
30913
31810
|
cookie?: never;
|
|
30914
31811
|
};
|
|
30915
|
-
requestBody
|
|
31812
|
+
requestBody: {
|
|
31813
|
+
content: {
|
|
31814
|
+
"application/json": components["schemas"]["GroupOrderJoinRequest"];
|
|
31815
|
+
"application/x-www-form-urlencoded": components["schemas"]["GroupOrderJoinRequest"];
|
|
31816
|
+
"multipart/form-data": components["schemas"]["GroupOrderJoinRequest"];
|
|
31817
|
+
};
|
|
31818
|
+
};
|
|
30916
31819
|
responses: {
|
|
30917
|
-
|
|
31820
|
+
201: {
|
|
30918
31821
|
headers: {
|
|
30919
31822
|
[name: string]: unknown;
|
|
30920
31823
|
};
|
|
30921
31824
|
content: {
|
|
30922
|
-
"application/json": components["schemas"]["
|
|
31825
|
+
"application/json": components["schemas"]["GroupOrderJoinResponse"];
|
|
30923
31826
|
};
|
|
30924
31827
|
};
|
|
30925
31828
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_DEADLINE_PASSED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -30989,13 +31892,11 @@ interface operations {
|
|
|
30989
31892
|
};
|
|
30990
31893
|
};
|
|
30991
31894
|
};
|
|
30992
|
-
|
|
31895
|
+
group_orders_recurring_list: {
|
|
30993
31896
|
parameters: {
|
|
30994
31897
|
query?: never;
|
|
30995
31898
|
header?: never;
|
|
30996
|
-
path
|
|
30997
|
-
join_code: string;
|
|
30998
|
-
};
|
|
31899
|
+
path?: never;
|
|
30999
31900
|
cookie?: never;
|
|
31000
31901
|
};
|
|
31001
31902
|
requestBody?: never;
|
|
@@ -31005,7 +31906,7 @@ interface operations {
|
|
|
31005
31906
|
[name: string]: unknown;
|
|
31006
31907
|
};
|
|
31007
31908
|
content: {
|
|
31008
|
-
"application/json": components["schemas"]["
|
|
31909
|
+
"application/json": components["schemas"]["RecurringGroupOrder"][];
|
|
31009
31910
|
};
|
|
31010
31911
|
};
|
|
31011
31912
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_DEADLINE_PASSED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -31073,29 +31974,27 @@ interface operations {
|
|
|
31073
31974
|
};
|
|
31074
31975
|
};
|
|
31075
31976
|
};
|
|
31076
|
-
|
|
31977
|
+
group_orders_recurring_create: {
|
|
31077
31978
|
parameters: {
|
|
31078
31979
|
query?: never;
|
|
31079
31980
|
header?: never;
|
|
31080
|
-
path
|
|
31081
|
-
join_code: string;
|
|
31082
|
-
};
|
|
31981
|
+
path?: never;
|
|
31083
31982
|
cookie?: never;
|
|
31084
31983
|
};
|
|
31085
31984
|
requestBody: {
|
|
31086
31985
|
content: {
|
|
31087
|
-
"application/json": components["schemas"]["
|
|
31088
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
31089
|
-
"multipart/form-data": components["schemas"]["
|
|
31986
|
+
"application/json": components["schemas"]["RecurringGroupOrderCreate"];
|
|
31987
|
+
"application/x-www-form-urlencoded": components["schemas"]["RecurringGroupOrderCreate"];
|
|
31988
|
+
"multipart/form-data": components["schemas"]["RecurringGroupOrderCreate"];
|
|
31090
31989
|
};
|
|
31091
31990
|
};
|
|
31092
31991
|
responses: {
|
|
31093
|
-
|
|
31992
|
+
201: {
|
|
31094
31993
|
headers: {
|
|
31095
31994
|
[name: string]: unknown;
|
|
31096
31995
|
};
|
|
31097
31996
|
content: {
|
|
31098
|
-
"application/json": components["schemas"]["
|
|
31997
|
+
"application/json": components["schemas"]["RecurringGroupOrder"];
|
|
31099
31998
|
};
|
|
31100
31999
|
};
|
|
31101
32000
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_DEADLINE_PASSED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -31104,9 +32003,7 @@ interface operations {
|
|
|
31104
32003
|
[name: string]: unknown;
|
|
31105
32004
|
};
|
|
31106
32005
|
content: {
|
|
31107
|
-
"application/json":
|
|
31108
|
-
[key: string]: unknown;
|
|
31109
|
-
};
|
|
32006
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31110
32007
|
};
|
|
31111
32008
|
};
|
|
31112
32009
|
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -31165,30 +32062,23 @@ interface operations {
|
|
|
31165
32062
|
};
|
|
31166
32063
|
};
|
|
31167
32064
|
};
|
|
31168
|
-
|
|
32065
|
+
group_orders_recurring_destroy: {
|
|
31169
32066
|
parameters: {
|
|
31170
32067
|
query?: never;
|
|
31171
32068
|
header?: never;
|
|
31172
32069
|
path: {
|
|
31173
|
-
|
|
32070
|
+
id: string;
|
|
31174
32071
|
};
|
|
31175
32072
|
cookie?: never;
|
|
31176
32073
|
};
|
|
31177
|
-
requestBody
|
|
31178
|
-
content: {
|
|
31179
|
-
"application/json": components["schemas"]["GroupOrderJoinRequest"];
|
|
31180
|
-
"application/x-www-form-urlencoded": components["schemas"]["GroupOrderJoinRequest"];
|
|
31181
|
-
"multipart/form-data": components["schemas"]["GroupOrderJoinRequest"];
|
|
31182
|
-
};
|
|
31183
|
-
};
|
|
32074
|
+
requestBody?: never;
|
|
31184
32075
|
responses: {
|
|
31185
|
-
|
|
32076
|
+
/** @description No response body */
|
|
32077
|
+
204: {
|
|
31186
32078
|
headers: {
|
|
31187
32079
|
[name: string]: unknown;
|
|
31188
32080
|
};
|
|
31189
|
-
content
|
|
31190
|
-
"application/json": components["schemas"]["GroupOrderJoinResponse"];
|
|
31191
|
-
};
|
|
32081
|
+
content?: never;
|
|
31192
32082
|
};
|
|
31193
32083
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_DEADLINE_PASSED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31194
32084
|
400: {
|
|
@@ -31196,9 +32086,7 @@ interface operations {
|
|
|
31196
32086
|
[name: string]: unknown;
|
|
31197
32087
|
};
|
|
31198
32088
|
content: {
|
|
31199
|
-
"application/json":
|
|
31200
|
-
[key: string]: unknown;
|
|
31201
|
-
};
|
|
32089
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31202
32090
|
};
|
|
31203
32091
|
};
|
|
31204
32092
|
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -31257,21 +32145,29 @@ interface operations {
|
|
|
31257
32145
|
};
|
|
31258
32146
|
};
|
|
31259
32147
|
};
|
|
31260
|
-
|
|
32148
|
+
group_orders_recurring_partial_update: {
|
|
31261
32149
|
parameters: {
|
|
31262
32150
|
query?: never;
|
|
31263
32151
|
header?: never;
|
|
31264
|
-
path
|
|
32152
|
+
path: {
|
|
32153
|
+
id: string;
|
|
32154
|
+
};
|
|
31265
32155
|
cookie?: never;
|
|
31266
32156
|
};
|
|
31267
|
-
requestBody?:
|
|
32157
|
+
requestBody?: {
|
|
32158
|
+
content: {
|
|
32159
|
+
"application/json": components["schemas"]["PatchedRecurringGroupOrderUpdate"];
|
|
32160
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedRecurringGroupOrderUpdate"];
|
|
32161
|
+
"multipart/form-data": components["schemas"]["PatchedRecurringGroupOrderUpdate"];
|
|
32162
|
+
};
|
|
32163
|
+
};
|
|
31268
32164
|
responses: {
|
|
31269
32165
|
200: {
|
|
31270
32166
|
headers: {
|
|
31271
32167
|
[name: string]: unknown;
|
|
31272
32168
|
};
|
|
31273
32169
|
content: {
|
|
31274
|
-
"application/json": components["schemas"]["RecurringGroupOrder"]
|
|
32170
|
+
"application/json": components["schemas"]["RecurringGroupOrder"];
|
|
31275
32171
|
};
|
|
31276
32172
|
};
|
|
31277
32173
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_DEADLINE_PASSED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -31339,30 +32235,40 @@ interface operations {
|
|
|
31339
32235
|
};
|
|
31340
32236
|
};
|
|
31341
32237
|
};
|
|
31342
|
-
|
|
32238
|
+
ingestion_webhook_create: {
|
|
31343
32239
|
parameters: {
|
|
31344
32240
|
query?: never;
|
|
31345
32241
|
header?: never;
|
|
31346
|
-
path
|
|
32242
|
+
path: {
|
|
32243
|
+
token: string;
|
|
32244
|
+
};
|
|
31347
32245
|
cookie?: never;
|
|
31348
32246
|
};
|
|
31349
|
-
requestBody
|
|
32247
|
+
requestBody?: {
|
|
31350
32248
|
content: {
|
|
31351
|
-
"application/json":
|
|
31352
|
-
|
|
31353
|
-
|
|
32249
|
+
"application/json": {
|
|
32250
|
+
[key: string]: unknown;
|
|
32251
|
+
};
|
|
32252
|
+
"application/x-www-form-urlencoded": {
|
|
32253
|
+
[key: string]: unknown;
|
|
32254
|
+
};
|
|
32255
|
+
"multipart/form-data": {
|
|
32256
|
+
[key: string]: unknown;
|
|
32257
|
+
};
|
|
31354
32258
|
};
|
|
31355
32259
|
};
|
|
31356
32260
|
responses: {
|
|
31357
|
-
|
|
32261
|
+
200: {
|
|
31358
32262
|
headers: {
|
|
31359
32263
|
[name: string]: unknown;
|
|
31360
32264
|
};
|
|
31361
32265
|
content: {
|
|
31362
|
-
"application/json":
|
|
32266
|
+
"application/json": {
|
|
32267
|
+
[key: string]: unknown;
|
|
32268
|
+
};
|
|
31363
32269
|
};
|
|
31364
32270
|
};
|
|
31365
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata.
|
|
32271
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31366
32272
|
400: {
|
|
31367
32273
|
headers: {
|
|
31368
32274
|
[name: string]: unknown;
|
|
@@ -31371,8 +32277,8 @@ interface operations {
|
|
|
31371
32277
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31372
32278
|
};
|
|
31373
32279
|
};
|
|
31374
|
-
/** @description Possible error codes include `
|
|
31375
|
-
|
|
32280
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32281
|
+
404: {
|
|
31376
32282
|
headers: {
|
|
31377
32283
|
[name: string]: unknown;
|
|
31378
32284
|
};
|
|
@@ -31380,8 +32286,8 @@ interface operations {
|
|
|
31380
32286
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31381
32287
|
};
|
|
31382
32288
|
};
|
|
31383
|
-
/** @description Possible error codes include `
|
|
31384
|
-
|
|
32289
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32290
|
+
429: {
|
|
31385
32291
|
headers: {
|
|
31386
32292
|
[name: string]: unknown;
|
|
31387
32293
|
};
|
|
@@ -31389,7 +32295,58 @@ interface operations {
|
|
|
31389
32295
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31390
32296
|
};
|
|
31391
32297
|
};
|
|
31392
|
-
/** @description Possible error codes include `
|
|
32298
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32299
|
+
500: {
|
|
32300
|
+
headers: {
|
|
32301
|
+
[name: string]: unknown;
|
|
32302
|
+
};
|
|
32303
|
+
content: {
|
|
32304
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
32305
|
+
};
|
|
32306
|
+
};
|
|
32307
|
+
};
|
|
32308
|
+
};
|
|
32309
|
+
ingestion_providers_mergeport_webhook_create: {
|
|
32310
|
+
parameters: {
|
|
32311
|
+
query?: never;
|
|
32312
|
+
header?: never;
|
|
32313
|
+
path?: never;
|
|
32314
|
+
cookie?: never;
|
|
32315
|
+
};
|
|
32316
|
+
requestBody?: {
|
|
32317
|
+
content: {
|
|
32318
|
+
"application/json": {
|
|
32319
|
+
[key: string]: unknown;
|
|
32320
|
+
};
|
|
32321
|
+
"application/x-www-form-urlencoded": {
|
|
32322
|
+
[key: string]: unknown;
|
|
32323
|
+
};
|
|
32324
|
+
"multipart/form-data": {
|
|
32325
|
+
[key: string]: unknown;
|
|
32326
|
+
};
|
|
32327
|
+
};
|
|
32328
|
+
};
|
|
32329
|
+
responses: {
|
|
32330
|
+
200: {
|
|
32331
|
+
headers: {
|
|
32332
|
+
[name: string]: unknown;
|
|
32333
|
+
};
|
|
32334
|
+
content: {
|
|
32335
|
+
"application/json": {
|
|
32336
|
+
[key: string]: unknown;
|
|
32337
|
+
};
|
|
32338
|
+
};
|
|
32339
|
+
};
|
|
32340
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32341
|
+
400: {
|
|
32342
|
+
headers: {
|
|
32343
|
+
[name: string]: unknown;
|
|
32344
|
+
};
|
|
32345
|
+
content: {
|
|
32346
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
32347
|
+
};
|
|
32348
|
+
};
|
|
32349
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31393
32350
|
404: {
|
|
31394
32351
|
headers: {
|
|
31395
32352
|
[name: string]: unknown;
|
|
@@ -31398,8 +32355,72 @@ interface operations {
|
|
|
31398
32355
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31399
32356
|
};
|
|
31400
32357
|
};
|
|
31401
|
-
/** @description Possible error codes include `
|
|
31402
|
-
|
|
32358
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32359
|
+
429: {
|
|
32360
|
+
headers: {
|
|
32361
|
+
[name: string]: unknown;
|
|
32362
|
+
};
|
|
32363
|
+
content: {
|
|
32364
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
32365
|
+
};
|
|
32366
|
+
};
|
|
32367
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32368
|
+
500: {
|
|
32369
|
+
headers: {
|
|
32370
|
+
[name: string]: unknown;
|
|
32371
|
+
};
|
|
32372
|
+
content: {
|
|
32373
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
32374
|
+
};
|
|
32375
|
+
};
|
|
32376
|
+
};
|
|
32377
|
+
};
|
|
32378
|
+
loyalty_account_retrieve: {
|
|
32379
|
+
parameters: {
|
|
32380
|
+
query?: never;
|
|
32381
|
+
header?: never;
|
|
32382
|
+
path?: never;
|
|
32383
|
+
cookie?: never;
|
|
32384
|
+
};
|
|
32385
|
+
requestBody?: never;
|
|
32386
|
+
responses: {
|
|
32387
|
+
200: {
|
|
32388
|
+
headers: {
|
|
32389
|
+
[name: string]: unknown;
|
|
32390
|
+
};
|
|
32391
|
+
content: {
|
|
32392
|
+
"application/json": components["schemas"]["LoyaltyAccountSummary"];
|
|
32393
|
+
};
|
|
32394
|
+
};
|
|
32395
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_INSUFFICIENT_POINTS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_PROGRAM_INACTIVE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32396
|
+
400: {
|
|
32397
|
+
headers: {
|
|
32398
|
+
[name: string]: unknown;
|
|
32399
|
+
};
|
|
32400
|
+
content: {
|
|
32401
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
32402
|
+
};
|
|
32403
|
+
};
|
|
32404
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32405
|
+
401: {
|
|
32406
|
+
headers: {
|
|
32407
|
+
[name: string]: unknown;
|
|
32408
|
+
};
|
|
32409
|
+
content: {
|
|
32410
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
32411
|
+
};
|
|
32412
|
+
};
|
|
32413
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32414
|
+
403: {
|
|
32415
|
+
headers: {
|
|
32416
|
+
[name: string]: unknown;
|
|
32417
|
+
};
|
|
32418
|
+
content: {
|
|
32419
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
32420
|
+
};
|
|
32421
|
+
};
|
|
32422
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_PROGRAM_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_ACCOUNT_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32423
|
+
404: {
|
|
31403
32424
|
headers: {
|
|
31404
32425
|
[name: string]: unknown;
|
|
31405
32426
|
};
|
|
@@ -31427,25 +32448,24 @@ interface operations {
|
|
|
31427
32448
|
};
|
|
31428
32449
|
};
|
|
31429
32450
|
};
|
|
31430
|
-
|
|
32451
|
+
loyalty_history_list: {
|
|
31431
32452
|
parameters: {
|
|
31432
32453
|
query?: never;
|
|
31433
32454
|
header?: never;
|
|
31434
|
-
path
|
|
31435
|
-
id: string;
|
|
31436
|
-
};
|
|
32455
|
+
path?: never;
|
|
31437
32456
|
cookie?: never;
|
|
31438
32457
|
};
|
|
31439
32458
|
requestBody?: never;
|
|
31440
32459
|
responses: {
|
|
31441
|
-
|
|
31442
|
-
204: {
|
|
32460
|
+
200: {
|
|
31443
32461
|
headers: {
|
|
31444
32462
|
[name: string]: unknown;
|
|
31445
32463
|
};
|
|
31446
|
-
content
|
|
32464
|
+
content: {
|
|
32465
|
+
"application/json": components["schemas"]["LoyaltyTransaction"][];
|
|
32466
|
+
};
|
|
31447
32467
|
};
|
|
31448
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `
|
|
32468
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_INSUFFICIENT_POINTS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_PROGRAM_INACTIVE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31449
32469
|
400: {
|
|
31450
32470
|
headers: {
|
|
31451
32471
|
[name: string]: unknown;
|
|
@@ -31472,7 +32492,7 @@ interface operations {
|
|
|
31472
32492
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31473
32493
|
};
|
|
31474
32494
|
};
|
|
31475
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `
|
|
32495
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_PROGRAM_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_ACCOUNT_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31476
32496
|
404: {
|
|
31477
32497
|
headers: {
|
|
31478
32498
|
[name: string]: unknown;
|
|
@@ -31481,15 +32501,6 @@ interface operations {
|
|
|
31481
32501
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31482
32502
|
};
|
|
31483
32503
|
};
|
|
31484
|
-
/** @description Possible error codes include `GROUP_ORDER_SESSION_NOT_OPEN`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GROUP_ORDER_ALREADY_JOINED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31485
|
-
409: {
|
|
31486
|
-
headers: {
|
|
31487
|
-
[name: string]: unknown;
|
|
31488
|
-
};
|
|
31489
|
-
content: {
|
|
31490
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31491
|
-
};
|
|
31492
|
-
};
|
|
31493
32504
|
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31494
32505
|
429: {
|
|
31495
32506
|
headers: {
|
|
@@ -31510,32 +32521,30 @@ interface operations {
|
|
|
31510
32521
|
};
|
|
31511
32522
|
};
|
|
31512
32523
|
};
|
|
31513
|
-
|
|
32524
|
+
loyalty_leat_code_create: {
|
|
31514
32525
|
parameters: {
|
|
31515
32526
|
query?: never;
|
|
31516
32527
|
header?: never;
|
|
31517
|
-
path
|
|
31518
|
-
id: string;
|
|
31519
|
-
};
|
|
32528
|
+
path?: never;
|
|
31520
32529
|
cookie?: never;
|
|
31521
32530
|
};
|
|
31522
|
-
requestBody
|
|
32531
|
+
requestBody: {
|
|
31523
32532
|
content: {
|
|
31524
|
-
"application/json": components["schemas"]["
|
|
31525
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
31526
|
-
"multipart/form-data": components["schemas"]["
|
|
32533
|
+
"application/json": components["schemas"]["LeatCode"];
|
|
32534
|
+
"application/x-www-form-urlencoded": components["schemas"]["LeatCode"];
|
|
32535
|
+
"multipart/form-data": components["schemas"]["LeatCode"];
|
|
31527
32536
|
};
|
|
31528
32537
|
};
|
|
31529
32538
|
responses: {
|
|
31530
|
-
|
|
32539
|
+
202: {
|
|
31531
32540
|
headers: {
|
|
31532
32541
|
[name: string]: unknown;
|
|
31533
32542
|
};
|
|
31534
32543
|
content: {
|
|
31535
|
-
"application/json": components["schemas"]["
|
|
32544
|
+
"application/json": components["schemas"]["LeatCodeSent"];
|
|
31536
32545
|
};
|
|
31537
32546
|
};
|
|
31538
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata.
|
|
32547
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31539
32548
|
400: {
|
|
31540
32549
|
headers: {
|
|
31541
32550
|
[name: string]: unknown;
|
|
@@ -31562,7 +32571,7 @@ interface operations {
|
|
|
31562
32571
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31563
32572
|
};
|
|
31564
32573
|
};
|
|
31565
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `
|
|
32574
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_NOT_AVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31566
32575
|
404: {
|
|
31567
32576
|
headers: {
|
|
31568
32577
|
[name: string]: unknown;
|
|
@@ -31571,16 +32580,7 @@ interface operations {
|
|
|
31571
32580
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31572
32581
|
};
|
|
31573
32582
|
};
|
|
31574
|
-
/** @description Possible error codes include `
|
|
31575
|
-
409: {
|
|
31576
|
-
headers: {
|
|
31577
|
-
[name: string]: unknown;
|
|
31578
|
-
};
|
|
31579
|
-
content: {
|
|
31580
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31581
|
-
};
|
|
31582
|
-
};
|
|
31583
|
-
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32583
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_CODE_RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31584
32584
|
429: {
|
|
31585
32585
|
headers: {
|
|
31586
32586
|
[name: string]: unknown;
|
|
@@ -31598,70 +32598,8 @@ interface operations {
|
|
|
31598
32598
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31599
32599
|
};
|
|
31600
32600
|
};
|
|
31601
|
-
|
|
31602
|
-
|
|
31603
|
-
ingestion_webhook_create: {
|
|
31604
|
-
parameters: {
|
|
31605
|
-
query?: never;
|
|
31606
|
-
header?: never;
|
|
31607
|
-
path: {
|
|
31608
|
-
token: string;
|
|
31609
|
-
};
|
|
31610
|
-
cookie?: never;
|
|
31611
|
-
};
|
|
31612
|
-
requestBody?: {
|
|
31613
|
-
content: {
|
|
31614
|
-
"application/json": {
|
|
31615
|
-
[key: string]: unknown;
|
|
31616
|
-
};
|
|
31617
|
-
"application/x-www-form-urlencoded": {
|
|
31618
|
-
[key: string]: unknown;
|
|
31619
|
-
};
|
|
31620
|
-
"multipart/form-data": {
|
|
31621
|
-
[key: string]: unknown;
|
|
31622
|
-
};
|
|
31623
|
-
};
|
|
31624
|
-
};
|
|
31625
|
-
responses: {
|
|
31626
|
-
200: {
|
|
31627
|
-
headers: {
|
|
31628
|
-
[name: string]: unknown;
|
|
31629
|
-
};
|
|
31630
|
-
content: {
|
|
31631
|
-
"application/json": {
|
|
31632
|
-
[key: string]: unknown;
|
|
31633
|
-
};
|
|
31634
|
-
};
|
|
31635
|
-
};
|
|
31636
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31637
|
-
400: {
|
|
31638
|
-
headers: {
|
|
31639
|
-
[name: string]: unknown;
|
|
31640
|
-
};
|
|
31641
|
-
content: {
|
|
31642
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31643
|
-
};
|
|
31644
|
-
};
|
|
31645
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31646
|
-
404: {
|
|
31647
|
-
headers: {
|
|
31648
|
-
[name: string]: unknown;
|
|
31649
|
-
};
|
|
31650
|
-
content: {
|
|
31651
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31652
|
-
};
|
|
31653
|
-
};
|
|
31654
|
-
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31655
|
-
429: {
|
|
31656
|
-
headers: {
|
|
31657
|
-
[name: string]: unknown;
|
|
31658
|
-
};
|
|
31659
|
-
content: {
|
|
31660
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31661
|
-
};
|
|
31662
|
-
};
|
|
31663
|
-
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31664
|
-
500: {
|
|
32601
|
+
/** @description Possible error codes include `LOYALTY_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32602
|
+
503: {
|
|
31665
32603
|
headers: {
|
|
31666
32604
|
[name: string]: unknown;
|
|
31667
32605
|
};
|
|
@@ -31671,24 +32609,18 @@ interface operations {
|
|
|
31671
32609
|
};
|
|
31672
32610
|
};
|
|
31673
32611
|
};
|
|
31674
|
-
|
|
32612
|
+
loyalty_leat_verify_create: {
|
|
31675
32613
|
parameters: {
|
|
31676
32614
|
query?: never;
|
|
31677
32615
|
header?: never;
|
|
31678
32616
|
path?: never;
|
|
31679
32617
|
cookie?: never;
|
|
31680
32618
|
};
|
|
31681
|
-
requestBody
|
|
32619
|
+
requestBody: {
|
|
31682
32620
|
content: {
|
|
31683
|
-
"application/json":
|
|
31684
|
-
|
|
31685
|
-
|
|
31686
|
-
"application/x-www-form-urlencoded": {
|
|
31687
|
-
[key: string]: unknown;
|
|
31688
|
-
};
|
|
31689
|
-
"multipart/form-data": {
|
|
31690
|
-
[key: string]: unknown;
|
|
31691
|
-
};
|
|
32621
|
+
"application/json": components["schemas"]["LeatVerify"];
|
|
32622
|
+
"application/x-www-form-urlencoded": components["schemas"]["LeatVerify"];
|
|
32623
|
+
"multipart/form-data": components["schemas"]["LeatVerify"];
|
|
31692
32624
|
};
|
|
31693
32625
|
};
|
|
31694
32626
|
responses: {
|
|
@@ -31697,67 +32629,10 @@ interface operations {
|
|
|
31697
32629
|
[name: string]: unknown;
|
|
31698
32630
|
};
|
|
31699
32631
|
content: {
|
|
31700
|
-
"application/json":
|
|
31701
|
-
[key: string]: unknown;
|
|
31702
|
-
};
|
|
32632
|
+
"application/json": components["schemas"]["LeatSession"];
|
|
31703
32633
|
};
|
|
31704
32634
|
};
|
|
31705
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31706
|
-
400: {
|
|
31707
|
-
headers: {
|
|
31708
|
-
[name: string]: unknown;
|
|
31709
|
-
};
|
|
31710
|
-
content: {
|
|
31711
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31712
|
-
};
|
|
31713
|
-
};
|
|
31714
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31715
|
-
404: {
|
|
31716
|
-
headers: {
|
|
31717
|
-
[name: string]: unknown;
|
|
31718
|
-
};
|
|
31719
|
-
content: {
|
|
31720
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31721
|
-
};
|
|
31722
|
-
};
|
|
31723
|
-
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31724
|
-
429: {
|
|
31725
|
-
headers: {
|
|
31726
|
-
[name: string]: unknown;
|
|
31727
|
-
};
|
|
31728
|
-
content: {
|
|
31729
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31730
|
-
};
|
|
31731
|
-
};
|
|
31732
|
-
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31733
|
-
500: {
|
|
31734
|
-
headers: {
|
|
31735
|
-
[name: string]: unknown;
|
|
31736
|
-
};
|
|
31737
|
-
content: {
|
|
31738
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31739
|
-
};
|
|
31740
|
-
};
|
|
31741
|
-
};
|
|
31742
|
-
};
|
|
31743
|
-
loyalty_account_retrieve: {
|
|
31744
|
-
parameters: {
|
|
31745
|
-
query?: never;
|
|
31746
|
-
header?: never;
|
|
31747
|
-
path?: never;
|
|
31748
|
-
cookie?: never;
|
|
31749
|
-
};
|
|
31750
|
-
requestBody?: never;
|
|
31751
|
-
responses: {
|
|
31752
|
-
200: {
|
|
31753
|
-
headers: {
|
|
31754
|
-
[name: string]: unknown;
|
|
31755
|
-
};
|
|
31756
|
-
content: {
|
|
31757
|
-
"application/json": components["schemas"]["LoyaltyAccountSummary"];
|
|
31758
|
-
};
|
|
31759
|
-
};
|
|
31760
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_INSUFFICIENT_POINTS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_PROGRAM_INACTIVE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32635
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_CODE_INVALID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_CONSENT_REQUIRED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31761
32636
|
400: {
|
|
31762
32637
|
headers: {
|
|
31763
32638
|
[name: string]: unknown;
|
|
@@ -31784,7 +32659,7 @@ interface operations {
|
|
|
31784
32659
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31785
32660
|
};
|
|
31786
32661
|
};
|
|
31787
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `
|
|
32662
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_NOT_AVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31788
32663
|
404: {
|
|
31789
32664
|
headers: {
|
|
31790
32665
|
[name: string]: unknown;
|
|
@@ -31793,63 +32668,8 @@ interface operations {
|
|
|
31793
32668
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31794
32669
|
};
|
|
31795
32670
|
};
|
|
31796
|
-
/** @description Possible error codes include `
|
|
31797
|
-
|
|
31798
|
-
headers: {
|
|
31799
|
-
[name: string]: unknown;
|
|
31800
|
-
};
|
|
31801
|
-
content: {
|
|
31802
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31803
|
-
};
|
|
31804
|
-
};
|
|
31805
|
-
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31806
|
-
500: {
|
|
31807
|
-
headers: {
|
|
31808
|
-
[name: string]: unknown;
|
|
31809
|
-
};
|
|
31810
|
-
content: {
|
|
31811
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31812
|
-
};
|
|
31813
|
-
};
|
|
31814
|
-
};
|
|
31815
|
-
};
|
|
31816
|
-
loyalty_history_list: {
|
|
31817
|
-
parameters: {
|
|
31818
|
-
query?: never;
|
|
31819
|
-
header?: never;
|
|
31820
|
-
path?: never;
|
|
31821
|
-
cookie?: never;
|
|
31822
|
-
};
|
|
31823
|
-
requestBody?: never;
|
|
31824
|
-
responses: {
|
|
31825
|
-
200: {
|
|
31826
|
-
headers: {
|
|
31827
|
-
[name: string]: unknown;
|
|
31828
|
-
};
|
|
31829
|
-
content: {
|
|
31830
|
-
"application/json": components["schemas"]["LoyaltyTransaction"][];
|
|
31831
|
-
};
|
|
31832
|
-
};
|
|
31833
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_INSUFFICIENT_POINTS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_PROGRAM_INACTIVE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31834
|
-
400: {
|
|
31835
|
-
headers: {
|
|
31836
|
-
[name: string]: unknown;
|
|
31837
|
-
};
|
|
31838
|
-
content: {
|
|
31839
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31840
|
-
};
|
|
31841
|
-
};
|
|
31842
|
-
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31843
|
-
401: {
|
|
31844
|
-
headers: {
|
|
31845
|
-
[name: string]: unknown;
|
|
31846
|
-
};
|
|
31847
|
-
content: {
|
|
31848
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31849
|
-
};
|
|
31850
|
-
};
|
|
31851
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
31852
|
-
403: {
|
|
32671
|
+
/** @description Possible error codes include `LOYALTY_SIGN_IN_HELD`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32672
|
+
409: {
|
|
31853
32673
|
headers: {
|
|
31854
32674
|
[name: string]: unknown;
|
|
31855
32675
|
};
|
|
@@ -31857,8 +32677,8 @@ interface operations {
|
|
|
31857
32677
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31858
32678
|
};
|
|
31859
32679
|
};
|
|
31860
|
-
/** @description Possible error codes include `
|
|
31861
|
-
|
|
32680
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LOYALTY_CODE_LOCKED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32681
|
+
429: {
|
|
31862
32682
|
headers: {
|
|
31863
32683
|
[name: string]: unknown;
|
|
31864
32684
|
};
|
|
@@ -31866,8 +32686,8 @@ interface operations {
|
|
|
31866
32686
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31867
32687
|
};
|
|
31868
32688
|
};
|
|
31869
|
-
/** @description Possible error codes include `
|
|
31870
|
-
|
|
32689
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32690
|
+
500: {
|
|
31871
32691
|
headers: {
|
|
31872
32692
|
[name: string]: unknown;
|
|
31873
32693
|
};
|
|
@@ -31875,8 +32695,8 @@ interface operations {
|
|
|
31875
32695
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
31876
32696
|
};
|
|
31877
32697
|
};
|
|
31878
|
-
/** @description Possible error codes include `
|
|
31879
|
-
|
|
32698
|
+
/** @description Possible error codes include `LOYALTY_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
32699
|
+
503: {
|
|
31880
32700
|
headers: {
|
|
31881
32701
|
[name: string]: unknown;
|
|
31882
32702
|
};
|
|
@@ -41367,6 +42187,8 @@ interface operations {
|
|
|
41367
42187
|
products_suggestions_list: {
|
|
41368
42188
|
parameters: {
|
|
41369
42189
|
query?: {
|
|
42190
|
+
/** @description The pickup or delivery date the customer has chosen (YYYY-MM-DD). Suggests only the products that can be ordered today for that date by their own dates, the rule the product list's handover_date applies; upsells included, which that list never carries. An unreadable value is ignored. */
|
|
42191
|
+
handover_date?: string;
|
|
41370
42192
|
/** @description Language override for translated content. The primary mechanism is the `Accept-Language` header; this query parameter is an override for widget embedding where merchants cannot control browser headers. Defaults to `en`. */
|
|
41371
42193
|
lang?: string;
|
|
41372
42194
|
};
|