@poweredbysous/storefront-all-sdk 3.1.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +1636 -430
- package/dist/index.d.ts +1636 -430
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -621,6 +621,50 @@ interface paths {
|
|
|
621
621
|
patch?: never;
|
|
622
622
|
trace?: never;
|
|
623
623
|
};
|
|
624
|
+
"/api/v1/admin/products/{product_id}/deposit/": {
|
|
625
|
+
parameters: {
|
|
626
|
+
query?: never;
|
|
627
|
+
header?: never;
|
|
628
|
+
path?: never;
|
|
629
|
+
cookie?: never;
|
|
630
|
+
};
|
|
631
|
+
/**
|
|
632
|
+
* Get a product's deposit (Pfand)
|
|
633
|
+
* @description Read or set one product's deposit (Pfand) from the Price tab.
|
|
634
|
+
*
|
|
635
|
+
* The portal sends an amount, not a surcharge id: this turns it into an
|
|
636
|
+
* attachment (``services.set_product_deposit``) and leaves the product's
|
|
637
|
+
* other surcharges alone, unlike ``AdminProductSurchargesView`` which
|
|
638
|
+
* replaces the whole set.
|
|
639
|
+
*
|
|
640
|
+
* Adding a deposit is refused unless the store's compliance profile offers
|
|
641
|
+
* one, so a store outside Germany — or with no country — cannot get a
|
|
642
|
+
* deposit by calling the API directly when the portal never shows the
|
|
643
|
+
* section. Removing one is always allowed.
|
|
644
|
+
*/
|
|
645
|
+
get: operations["admin_products_deposit_retrieve"];
|
|
646
|
+
/**
|
|
647
|
+
* Set a product's deposit (Pfand)
|
|
648
|
+
* @description Read or set one product's deposit (Pfand) from the Price tab.
|
|
649
|
+
*
|
|
650
|
+
* The portal sends an amount, not a surcharge id: this turns it into an
|
|
651
|
+
* attachment (``services.set_product_deposit``) and leaves the product's
|
|
652
|
+
* other surcharges alone, unlike ``AdminProductSurchargesView`` which
|
|
653
|
+
* replaces the whole set.
|
|
654
|
+
*
|
|
655
|
+
* Adding a deposit is refused unless the store's compliance profile offers
|
|
656
|
+
* one, so a store outside Germany — or with no country — cannot get a
|
|
657
|
+
* deposit by calling the API directly when the portal never shows the
|
|
658
|
+
* section. Removing one is always allowed.
|
|
659
|
+
*/
|
|
660
|
+
put: operations["admin_products_deposit_update"];
|
|
661
|
+
post?: never;
|
|
662
|
+
delete?: never;
|
|
663
|
+
options?: never;
|
|
664
|
+
head?: never;
|
|
665
|
+
patch?: never;
|
|
666
|
+
trace?: never;
|
|
667
|
+
};
|
|
624
668
|
"/api/v1/admin/products/{product_id}/surcharges/": {
|
|
625
669
|
parameters: {
|
|
626
670
|
query?: never;
|
|
@@ -2928,6 +2972,120 @@ interface paths {
|
|
|
2928
2972
|
patch?: never;
|
|
2929
2973
|
trace?: never;
|
|
2930
2974
|
};
|
|
2975
|
+
"/api/v1/discovery/brands/{slug}/": {
|
|
2976
|
+
parameters: {
|
|
2977
|
+
query?: never;
|
|
2978
|
+
header?: never;
|
|
2979
|
+
path?: never;
|
|
2980
|
+
cookie?: never;
|
|
2981
|
+
};
|
|
2982
|
+
/**
|
|
2983
|
+
* @description A brand's own page — the brand, plus the places it can be ordered from.
|
|
2984
|
+
*
|
|
2985
|
+
* A single-location brand is not special-cased: how many locations a
|
|
2986
|
+
* merchant has is not a fact a reader should learn from where a link lands.
|
|
2987
|
+
*/
|
|
2988
|
+
get: operations["discovery_brands_retrieve"];
|
|
2989
|
+
put?: never;
|
|
2990
|
+
post?: never;
|
|
2991
|
+
delete?: never;
|
|
2992
|
+
options?: never;
|
|
2993
|
+
head?: never;
|
|
2994
|
+
patch?: never;
|
|
2995
|
+
trace?: never;
|
|
2996
|
+
};
|
|
2997
|
+
"/api/v1/discovery/collections/{slug}/": {
|
|
2998
|
+
parameters: {
|
|
2999
|
+
query?: never;
|
|
3000
|
+
header?: never;
|
|
3001
|
+
path?: never;
|
|
3002
|
+
cookie?: never;
|
|
3003
|
+
};
|
|
3004
|
+
/** @description Operation `discovery_collections_retrieve`. */
|
|
3005
|
+
get: operations["discovery_collections_retrieve"];
|
|
3006
|
+
put?: never;
|
|
3007
|
+
post?: never;
|
|
3008
|
+
delete?: never;
|
|
3009
|
+
options?: never;
|
|
3010
|
+
head?: never;
|
|
3011
|
+
patch?: never;
|
|
3012
|
+
trace?: never;
|
|
3013
|
+
};
|
|
3014
|
+
"/api/v1/discovery/deliverability/": {
|
|
3015
|
+
parameters: {
|
|
3016
|
+
query?: never;
|
|
3017
|
+
header?: never;
|
|
3018
|
+
path?: never;
|
|
3019
|
+
cookie?: never;
|
|
3020
|
+
};
|
|
3021
|
+
get?: never;
|
|
3022
|
+
put?: never;
|
|
3023
|
+
/**
|
|
3024
|
+
* @description Which channelled partners deliver to an address.
|
|
3025
|
+
*
|
|
3026
|
+
* POST rather than GET because the body carries a street address, and the
|
|
3027
|
+
* privacy rule is that personal data never goes in a URL, a query string
|
|
3028
|
+
* or a log line.
|
|
3029
|
+
*
|
|
3030
|
+
* Unauthenticated and unscoped like the rest of discovery: the caller has
|
|
3031
|
+
* not chosen a store, which is the whole point of asking.
|
|
3032
|
+
*/
|
|
3033
|
+
post: operations["discovery_deliverability_create"];
|
|
3034
|
+
delete?: never;
|
|
3035
|
+
options?: never;
|
|
3036
|
+
head?: never;
|
|
3037
|
+
patch?: never;
|
|
3038
|
+
trace?: never;
|
|
3039
|
+
};
|
|
3040
|
+
"/api/v1/discovery/marketplace/": {
|
|
3041
|
+
parameters: {
|
|
3042
|
+
query?: never;
|
|
3043
|
+
header?: never;
|
|
3044
|
+
path?: never;
|
|
3045
|
+
cookie?: never;
|
|
3046
|
+
};
|
|
3047
|
+
/**
|
|
3048
|
+
* @description Products across every partner on the ExploreSOUS channel.
|
|
3049
|
+
*
|
|
3050
|
+
* Backs ``/delivery`` and sitewide search. Unauthenticated and unscoped
|
|
3051
|
+
* like the rest of discovery. The channel scope is not applied here: it is
|
|
3052
|
+
* a property of what the index holds (see ``marketplace_search``), so
|
|
3053
|
+
* there is no read-time condition a crafted request could omit.
|
|
3054
|
+
*
|
|
3055
|
+
* Meilisearch unreachable answers 502 rather than an empty page, so
|
|
3056
|
+
* "nothing matches" and "search is down" never look the same.
|
|
3057
|
+
*/
|
|
3058
|
+
get: operations["discovery_marketplace_retrieve"];
|
|
3059
|
+
put?: never;
|
|
3060
|
+
post?: never;
|
|
3061
|
+
delete?: never;
|
|
3062
|
+
options?: never;
|
|
3063
|
+
head?: never;
|
|
3064
|
+
patch?: never;
|
|
3065
|
+
trace?: never;
|
|
3066
|
+
};
|
|
3067
|
+
"/api/v1/discovery/partners/": {
|
|
3068
|
+
parameters: {
|
|
3069
|
+
query?: never;
|
|
3070
|
+
header?: never;
|
|
3071
|
+
path?: never;
|
|
3072
|
+
cookie?: never;
|
|
3073
|
+
};
|
|
3074
|
+
/**
|
|
3075
|
+
* @description Every partner on the ExploreSOUS channel, with the filter vocabulary.
|
|
3076
|
+
*
|
|
3077
|
+
* One read for the whole directory: at this size filtering belongs in the
|
|
3078
|
+
* browser, and a round trip per checkbox would be slower and no more correct.
|
|
3079
|
+
*/
|
|
3080
|
+
get: operations["discovery_partners_retrieve"];
|
|
3081
|
+
put?: never;
|
|
3082
|
+
post?: never;
|
|
3083
|
+
delete?: never;
|
|
3084
|
+
options?: never;
|
|
3085
|
+
head?: never;
|
|
3086
|
+
patch?: never;
|
|
3087
|
+
trace?: never;
|
|
3088
|
+
};
|
|
2931
3089
|
"/api/v1/fulfillment/address-check/": {
|
|
2932
3090
|
parameters: {
|
|
2933
3091
|
query?: never;
|
|
@@ -5897,6 +6055,63 @@ interface paths {
|
|
|
5897
6055
|
patch?: never;
|
|
5898
6056
|
trace?: never;
|
|
5899
6057
|
};
|
|
6058
|
+
"/api/v1/sync/merchant-portal/printing/jobs/": {
|
|
6059
|
+
parameters: {
|
|
6060
|
+
query?: never;
|
|
6061
|
+
header?: never;
|
|
6062
|
+
path?: never;
|
|
6063
|
+
cookie?: never;
|
|
6064
|
+
};
|
|
6065
|
+
/** @description The latest print job per printer for an order: did it print? */
|
|
6066
|
+
get: operations["sync_printing_order_jobs"];
|
|
6067
|
+
put?: never;
|
|
6068
|
+
post?: never;
|
|
6069
|
+
delete?: never;
|
|
6070
|
+
options?: never;
|
|
6071
|
+
head?: never;
|
|
6072
|
+
patch?: never;
|
|
6073
|
+
trace?: never;
|
|
6074
|
+
};
|
|
6075
|
+
"/api/v1/sync/merchant-portal/printing/print-order/": {
|
|
6076
|
+
parameters: {
|
|
6077
|
+
query?: never;
|
|
6078
|
+
header?: never;
|
|
6079
|
+
path?: never;
|
|
6080
|
+
cookie?: never;
|
|
6081
|
+
};
|
|
6082
|
+
get?: never;
|
|
6083
|
+
put?: never;
|
|
6084
|
+
/**
|
|
6085
|
+
* @description Print an order again on the store's cloud printers.
|
|
6086
|
+
*
|
|
6087
|
+
* 202 with the jobs created (or, for a repeated ``request_id``, the jobs the
|
|
6088
|
+
* first request created). 409 when the store has no enabled printer for the
|
|
6089
|
+
* order's kitchen, so the portal can fall back to printing locally.
|
|
6090
|
+
*/
|
|
6091
|
+
post: operations["sync_printing_print_order"];
|
|
6092
|
+
delete?: never;
|
|
6093
|
+
options?: never;
|
|
6094
|
+
head?: never;
|
|
6095
|
+
patch?: never;
|
|
6096
|
+
trace?: never;
|
|
6097
|
+
};
|
|
6098
|
+
"/api/v1/sync/merchant-portal/printing/stores/{store_public_id}/devices/": {
|
|
6099
|
+
parameters: {
|
|
6100
|
+
query?: never;
|
|
6101
|
+
header?: never;
|
|
6102
|
+
path?: never;
|
|
6103
|
+
cookie?: never;
|
|
6104
|
+
};
|
|
6105
|
+
/** @description The store's enabled cloud printers. An empty list: no cloud printing. */
|
|
6106
|
+
get: operations["sync_printing_store_devices"];
|
|
6107
|
+
put?: never;
|
|
6108
|
+
post?: never;
|
|
6109
|
+
delete?: never;
|
|
6110
|
+
options?: never;
|
|
6111
|
+
head?: never;
|
|
6112
|
+
patch?: never;
|
|
6113
|
+
trace?: never;
|
|
6114
|
+
};
|
|
5900
6115
|
"/api/v1/sync/merchant-portal/refund-approve/": {
|
|
5901
6116
|
parameters: {
|
|
5902
6117
|
query?: never;
|
|
@@ -6480,6 +6695,7 @@ interface components {
|
|
|
6480
6695
|
/** Format: decimal */
|
|
6481
6696
|
value_numeric?: string | null;
|
|
6482
6697
|
selected_choice_slugs?: string[];
|
|
6698
|
+
value_json?: unknown;
|
|
6483
6699
|
};
|
|
6484
6700
|
/**
|
|
6485
6701
|
* @description The request body of the admin attribute-value upsert.
|
|
@@ -6499,6 +6715,21 @@ interface components {
|
|
|
6499
6715
|
AdminAttributeValuesRequest: {
|
|
6500
6716
|
values: components["schemas"]["AdminAttributeValueWrite"][];
|
|
6501
6717
|
};
|
|
6718
|
+
/**
|
|
6719
|
+
* @description A product's deposit (Pfand) as the merchant portal's Price tab edits it.
|
|
6720
|
+
*
|
|
6721
|
+
* ``amount`` is the per-unit deposit in the store's currency, VAT-inclusive
|
|
6722
|
+
* like every surcharge amount: positive, in cents. Optional even when
|
|
6723
|
+
* ``applies`` is true — the amount is not hard-blocking (PAT-2275), and
|
|
6724
|
+
* ``{"applies": true, "amount": null}`` is a saved state in which nothing
|
|
6725
|
+
* is charged or shown until an amount is set. Ignored (and read back as
|
|
6726
|
+
* ``null``) when ``applies`` is false, and must be between 0.01 and 10.00.
|
|
6727
|
+
*/
|
|
6728
|
+
AdminProductDeposit: {
|
|
6729
|
+
applies: boolean;
|
|
6730
|
+
/** Format: decimal */
|
|
6731
|
+
amount?: string | null;
|
|
6732
|
+
};
|
|
6502
6733
|
/**
|
|
6503
6734
|
* @description Lightweight product row for the merchant-portal product picker.
|
|
6504
6735
|
*
|
|
@@ -6647,8 +6878,8 @@ interface components {
|
|
|
6647
6878
|
AdminStoreComplianceDefaults: {
|
|
6648
6879
|
/** @description Merchant-authored statement of how a customer returns a deposit-carrying container for the Pfand refund (D7). The platform charges and displays the deposit; the merchant runs the return — this is the platform's disclosure of that process, not the process itself. A store with any active deposit-charging product must set this before that product can list (see ``compliance.resolver.validate_products``). Empty means unset. */
|
|
6649
6880
|
deposit_return_policy?: string;
|
|
6650
|
-
/** @description Fallback ``responsible_business`` compliance value for this store's own prepacked products, so a merchant can supply it once instead of on every product (D26). A product-level value always takes precedence.
|
|
6651
|
-
default_responsible_business?:
|
|
6881
|
+
/** @description Fallback ``responsible_business`` compliance value for this store's own prepacked products, so a merchant can supply it once instead of on every product (D26). A structured object of the operator's address sub-fields (company, street, postal_code, city, country). A product-level value always takes precedence. An empty object means unset. */
|
|
6882
|
+
default_responsible_business?: unknown;
|
|
6652
6883
|
/** @description Fallback ``country_of_origin`` compliance value for this store's own prepacked products (D26). A product-level value always takes precedence. Empty means unset. */
|
|
6653
6884
|
default_country_of_origin?: string;
|
|
6654
6885
|
/** @description Whether this store offers reusable delivery packaging. German VerpackG §33 obliges eligible restaurants to offer and display the option; stores outside that scope leave it off and see no change. */
|
|
@@ -6687,6 +6918,12 @@ interface components {
|
|
|
6687
6918
|
public_id: string;
|
|
6688
6919
|
fulfillment_types: string[];
|
|
6689
6920
|
};
|
|
6921
|
+
/**
|
|
6922
|
+
* @description * `ok` - ok
|
|
6923
|
+
* * `alerting` - alerting
|
|
6924
|
+
* @enum {string}
|
|
6925
|
+
*/
|
|
6926
|
+
AlertStateEnum: "ok" | "alerting";
|
|
6690
6927
|
/**
|
|
6691
6928
|
* @description * `order` - Entire Order
|
|
6692
6929
|
* * `shipping` - Shipping
|
|
@@ -6839,6 +7076,7 @@ interface components {
|
|
|
6839
7076
|
/** Format: double */
|
|
6840
7077
|
longitude?: number | null;
|
|
6841
7078
|
open_status?: components["schemas"]["OpenStatus"] | null;
|
|
7079
|
+
phone?: string;
|
|
6842
7080
|
};
|
|
6843
7081
|
/** @description Pickup address of a brand location (from its primary pickup location). */
|
|
6844
7082
|
BrandLocationAddress: {
|
|
@@ -7126,24 +7364,10 @@ interface components {
|
|
|
7126
7364
|
/**
|
|
7127
7365
|
* @description How many products this category shows, descendants included.
|
|
7128
7366
|
*
|
|
7129
|
-
* Counted through the compliance gate (D15), because the count and the
|
|
7130
|
-
* listing are one read model: ``/categories/`` reported 5 while
|
|
7131
|
-
* ``/categories/<id>/products/`` returned 0, which discloses how many
|
|
7132
|
-
* hidden products sit in each category and, by diffing, which categories
|
|
7133
|
-
* are affected. Search's ``total`` had already closed the same gap.
|
|
7134
|
-
*
|
|
7135
|
-
* No ``annotated_product_count`` shortcut any more: a ``Count()`` in the
|
|
7136
|
-
* view cannot know the verdict, so such an annotation would be an ungated
|
|
7137
|
-
* number that silently won over this one.
|
|
7138
|
-
*
|
|
7139
7367
|
* The listing precomputes every category's count in one pass
|
|
7140
|
-
* (``views.
|
|
7141
|
-
*
|
|
7142
|
-
*
|
|
7143
|
-
* bounds the depth but not the breadth, and breadth is what drives it.
|
|
7144
|
-
*
|
|
7145
|
-
* The fallback below is the single-object path (retrieve), where there is
|
|
7146
|
-
* no tree to amortise over and one gate call is the whole cost.
|
|
7368
|
+
* (``views._build_product_counts``) and passes it in context; the
|
|
7369
|
+
* fallback below is the single-object path (retrieve), which counts its
|
|
7370
|
+
* own subtree directly.
|
|
7147
7371
|
*/
|
|
7148
7372
|
readonly product_count: number;
|
|
7149
7373
|
};
|
|
@@ -7290,12 +7514,13 @@ interface components {
|
|
|
7290
7514
|
label: string;
|
|
7291
7515
|
choices: components["schemas"]["ComplianceChoice"][];
|
|
7292
7516
|
inherits_store_default: boolean;
|
|
7293
|
-
inherited_value:
|
|
7517
|
+
inherited_value: unknown;
|
|
7294
7518
|
};
|
|
7295
7519
|
ComplianceSchemaResponse: {
|
|
7296
7520
|
product_type: string;
|
|
7297
7521
|
product_type_classified: boolean;
|
|
7298
7522
|
requires_attestation: boolean;
|
|
7523
|
+
deposit_config_enabled: boolean;
|
|
7299
7524
|
fields: components["schemas"]["ComplianceSchemaField"][];
|
|
7300
7525
|
};
|
|
7301
7526
|
ConfirmEdit: {
|
|
@@ -7487,6 +7712,27 @@ interface components {
|
|
|
7487
7712
|
* @enum {string}
|
|
7488
7713
|
*/
|
|
7489
7714
|
CutoffModeEnum: "before_close" | "by_day";
|
|
7715
|
+
/** @description Which channelled partners deliver there. */
|
|
7716
|
+
Deliverability: {
|
|
7717
|
+
store_public_ids: string[];
|
|
7718
|
+
resolved: boolean;
|
|
7719
|
+
checked: number;
|
|
7720
|
+
partial: boolean;
|
|
7721
|
+
};
|
|
7722
|
+
/**
|
|
7723
|
+
* @description The address to answer for.
|
|
7724
|
+
*
|
|
7725
|
+
* ``postal_code`` and ``country`` are required and the rest is optional:
|
|
7726
|
+
* most Dutch delivery areas resolve on postcode alone, and demanding a
|
|
7727
|
+
* house number to filter a listing page would ask for more personal data
|
|
7728
|
+
* than the answer needs.
|
|
7729
|
+
*/
|
|
7730
|
+
DeliverabilityRequest: {
|
|
7731
|
+
postal_code: string;
|
|
7732
|
+
country: string;
|
|
7733
|
+
address_line_1?: string;
|
|
7734
|
+
city?: string;
|
|
7735
|
+
};
|
|
7490
7736
|
/**
|
|
7491
7737
|
* @description One area a merchant drew on a map.
|
|
7492
7738
|
*
|
|
@@ -7539,6 +7785,14 @@ interface components {
|
|
|
7539
7785
|
/** Format: date-time */
|
|
7540
7786
|
disabled_at: string | null;
|
|
7541
7787
|
};
|
|
7788
|
+
/**
|
|
7789
|
+
* @description What merchant-portal-backend's publish needs to know about a store
|
|
7790
|
+
* whose delivery methods the portal's toggles own.
|
|
7791
|
+
*/
|
|
7792
|
+
DeliveryMethodToggles: {
|
|
7793
|
+
wizard_choice_applies: components["schemas"]["WizardChoiceApplies"];
|
|
7794
|
+
publish_readiness: string[];
|
|
7795
|
+
};
|
|
7542
7796
|
/**
|
|
7543
7797
|
* @description Merchant-facing CRUD serializer for :class:`Discount`.
|
|
7544
7798
|
*
|
|
@@ -7638,6 +7892,55 @@ interface components {
|
|
|
7638
7892
|
* @enum {string}
|
|
7639
7893
|
*/
|
|
7640
7894
|
DiscountTypeEnum: "percentage" | "fixed_amount" | "free_product";
|
|
7895
|
+
/** @description One featured brand. Routing data only — the card links to the brand page. */
|
|
7896
|
+
DiscoveryBrand: {
|
|
7897
|
+
slug: string;
|
|
7898
|
+
name: string;
|
|
7899
|
+
image_url: string;
|
|
7900
|
+
location_count: number;
|
|
7901
|
+
};
|
|
7902
|
+
/** @description A brand's own page: who it is, and where a reader can order from it. */
|
|
7903
|
+
DiscoveryBrandPage: {
|
|
7904
|
+
slug: string;
|
|
7905
|
+
name: string;
|
|
7906
|
+
image_url: string;
|
|
7907
|
+
locations: components["schemas"]["BrandLocation"][];
|
|
7908
|
+
tags: components["schemas"]["DiscoveryTag"][];
|
|
7909
|
+
description: string;
|
|
7910
|
+
seo_title: string;
|
|
7911
|
+
images: string[];
|
|
7912
|
+
book_url: string;
|
|
7913
|
+
};
|
|
7914
|
+
DiscoveryCollection: {
|
|
7915
|
+
slug: string;
|
|
7916
|
+
name: string;
|
|
7917
|
+
subtitle: string;
|
|
7918
|
+
brands: components["schemas"]["DiscoveryBrand"][];
|
|
7919
|
+
};
|
|
7920
|
+
/** @description One row of the partner directory. */
|
|
7921
|
+
DiscoveryPartner: {
|
|
7922
|
+
slug: string;
|
|
7923
|
+
name: string;
|
|
7924
|
+
image_url: string;
|
|
7925
|
+
price_band: number | null;
|
|
7926
|
+
michelin_stars: number | null;
|
|
7927
|
+
tags: string[];
|
|
7928
|
+
};
|
|
7929
|
+
/**
|
|
7930
|
+
* @description The whole directory plus its filter vocabulary, in one read.
|
|
7931
|
+
*
|
|
7932
|
+
* The vocabulary travels with the rows because the filter list is fixed
|
|
7933
|
+
* rather than derived from them.
|
|
7934
|
+
*/
|
|
7935
|
+
DiscoveryPartnerIndex: {
|
|
7936
|
+
tags: components["schemas"]["DiscoveryTag"][];
|
|
7937
|
+
partners: components["schemas"]["DiscoveryPartner"][];
|
|
7938
|
+
};
|
|
7939
|
+
/** @description One filter option, already named in the reader's language. */
|
|
7940
|
+
DiscoveryTag: {
|
|
7941
|
+
slug: string;
|
|
7942
|
+
name: string;
|
|
7943
|
+
};
|
|
7641
7944
|
/**
|
|
7642
7945
|
* @description * `new` - new
|
|
7643
7946
|
* * `changed` - changed
|
|
@@ -7667,6 +7970,7 @@ interface components {
|
|
|
7667
7970
|
unit_price: string;
|
|
7668
7971
|
line_total: string;
|
|
7669
7972
|
tax_amount: string;
|
|
7973
|
+
deposit_amount?: string;
|
|
7670
7974
|
};
|
|
7671
7975
|
/**
|
|
7672
7976
|
* @description The snapshot computed by ``eligibility_for_order``.
|
|
@@ -7744,6 +8048,17 @@ interface components {
|
|
|
7744
8048
|
* @enum {string}
|
|
7745
8049
|
*/
|
|
7746
8050
|
FulfillmentTypeEnum: "nationwide_delivery" | "local_delivery" | "pickup" | "room_service";
|
|
8051
|
+
/**
|
|
8052
|
+
* @description What publish provisioned (``fulfillment.services
|
|
8053
|
+
* .StoreFulfilmentProvisionResult``).
|
|
8054
|
+
*/
|
|
8055
|
+
FulfilmentProvisioning: {
|
|
8056
|
+
pickup_enabled: boolean;
|
|
8057
|
+
uber_direct_enabled: boolean;
|
|
8058
|
+
uber_direct_skipped_reason: string | null;
|
|
8059
|
+
products_assigned: number;
|
|
8060
|
+
products_unassigned: number;
|
|
8061
|
+
};
|
|
7747
8062
|
GroupOrderItemsRequest: {
|
|
7748
8063
|
participant_id: string;
|
|
7749
8064
|
};
|
|
@@ -7836,12 +8151,14 @@ interface components {
|
|
|
7836
8151
|
* * `datetime` - Date & Time
|
|
7837
8152
|
* * `dropdown` - Dropdown
|
|
7838
8153
|
* * `multiselect` - Multi-select
|
|
8154
|
+
* * `structured_list` - Structured List
|
|
8155
|
+
* * `structured_object` - Structured Object
|
|
7839
8156
|
* * `file` - File
|
|
7840
8157
|
* * `reference` - Reference
|
|
7841
8158
|
* * `color` - Color
|
|
7842
8159
|
* @enum {string}
|
|
7843
8160
|
*/
|
|
7844
|
-
InputTypeEnum: "text" | "rich_text" | "numeric" | "boolean" | "date" | "datetime" | "dropdown" | "multiselect" | "file" | "reference" | "color";
|
|
8161
|
+
InputTypeEnum: "text" | "rich_text" | "numeric" | "boolean" | "date" | "datetime" | "dropdown" | "multiselect" | "structured_list" | "structured_object" | "file" | "reference" | "color";
|
|
7845
8162
|
/**
|
|
7846
8163
|
* @description * `weekly` - Weekly
|
|
7847
8164
|
* * `biweekly` - Biweekly
|
|
@@ -8017,6 +8334,7 @@ interface components {
|
|
|
8017
8334
|
service_fee_sku?: string;
|
|
8018
8335
|
delivery_fee_sku?: string;
|
|
8019
8336
|
deposit_sku?: string;
|
|
8337
|
+
deposit_sku_reduced?: string;
|
|
8020
8338
|
/** Format: int64 */
|
|
8021
8339
|
pos_staff_id?: number | null;
|
|
8022
8340
|
};
|
|
@@ -8113,6 +8431,41 @@ interface components {
|
|
|
8113
8431
|
/** Format: date-time */
|
|
8114
8432
|
readonly created_at: string;
|
|
8115
8433
|
};
|
|
8434
|
+
/** @description How many matching products carry each value, under the current filters. */
|
|
8435
|
+
MarketplaceFacets: {
|
|
8436
|
+
cuisine_tags: {
|
|
8437
|
+
[key: string]: number;
|
|
8438
|
+
};
|
|
8439
|
+
fulfillment_types: {
|
|
8440
|
+
[key: string]: number;
|
|
8441
|
+
};
|
|
8442
|
+
};
|
|
8443
|
+
/** @description One product, with its name and description in the reader's language. */
|
|
8444
|
+
MarketplaceProduct: {
|
|
8445
|
+
id: string;
|
|
8446
|
+
product_id: number;
|
|
8447
|
+
store_public_id: string;
|
|
8448
|
+
brand_slug: string;
|
|
8449
|
+
brand_name: string;
|
|
8450
|
+
name: string;
|
|
8451
|
+
description: string;
|
|
8452
|
+
price_cents: number;
|
|
8453
|
+
currency: string;
|
|
8454
|
+
image_url: string;
|
|
8455
|
+
product_url_path: string;
|
|
8456
|
+
fulfillment_types: string[];
|
|
8457
|
+
cuisine_tags: string[];
|
|
8458
|
+
};
|
|
8459
|
+
/** @description One page of marketplace products, shaped like the catalogue pagination. */
|
|
8460
|
+
MarketplaceSearch: {
|
|
8461
|
+
count: number;
|
|
8462
|
+
total_pages: number;
|
|
8463
|
+
page: number;
|
|
8464
|
+
next: string | null;
|
|
8465
|
+
previous: string | null;
|
|
8466
|
+
results: components["schemas"]["MarketplaceProduct"][];
|
|
8467
|
+
facets: components["schemas"]["MarketplaceFacets"];
|
|
8468
|
+
};
|
|
8116
8469
|
/**
|
|
8117
8470
|
* @description * `all` - All
|
|
8118
8471
|
* * `any` - Any
|
|
@@ -8423,6 +8776,11 @@ interface components {
|
|
|
8423
8776
|
* @description Aggregated non-discountable surcharges (VAT-inclusive)
|
|
8424
8777
|
*/
|
|
8425
8778
|
surcharge_total?: string;
|
|
8779
|
+
/**
|
|
8780
|
+
* Format: decimal
|
|
8781
|
+
* @description Deposits (subset of surcharge_total), shown separately.
|
|
8782
|
+
*/
|
|
8783
|
+
deposit_total?: string;
|
|
8426
8784
|
cancellation_reason?: string;
|
|
8427
8785
|
/** Format: decimal */
|
|
8428
8786
|
total: string;
|
|
@@ -8573,6 +8931,11 @@ interface components {
|
|
|
8573
8931
|
tax_amount: string;
|
|
8574
8932
|
/** Format: decimal */
|
|
8575
8933
|
line_total: string;
|
|
8934
|
+
/**
|
|
8935
|
+
* Format: decimal
|
|
8936
|
+
* @description Deposit charged on this line, snapshotted at order time so removing the line refunds it.
|
|
8937
|
+
*/
|
|
8938
|
+
deposit_amount?: string;
|
|
8576
8939
|
fulfillment_type: string;
|
|
8577
8940
|
/** Format: date */
|
|
8578
8941
|
fulfillment_date?: string | null;
|
|
@@ -9021,8 +9384,8 @@ interface components {
|
|
|
9021
9384
|
PatchedAdminStoreComplianceDefaults: {
|
|
9022
9385
|
/** @description Merchant-authored statement of how a customer returns a deposit-carrying container for the Pfand refund (D7). The platform charges and displays the deposit; the merchant runs the return — this is the platform's disclosure of that process, not the process itself. A store with any active deposit-charging product must set this before that product can list (see ``compliance.resolver.validate_products``). Empty means unset. */
|
|
9023
9386
|
deposit_return_policy?: string;
|
|
9024
|
-
/** @description Fallback ``responsible_business`` compliance value for this store's own prepacked products, so a merchant can supply it once instead of on every product (D26). A product-level value always takes precedence.
|
|
9025
|
-
default_responsible_business?:
|
|
9387
|
+
/** @description Fallback ``responsible_business`` compliance value for this store's own prepacked products, so a merchant can supply it once instead of on every product (D26). A structured object of the operator's address sub-fields (company, street, postal_code, city, country). A product-level value always takes precedence. An empty object means unset. */
|
|
9388
|
+
default_responsible_business?: unknown;
|
|
9026
9389
|
/** @description Fallback ``country_of_origin`` compliance value for this store's own prepacked products (D26). A product-level value always takes precedence. Empty means unset. */
|
|
9027
9390
|
default_country_of_origin?: string;
|
|
9028
9391
|
/** @description Whether this store offers reusable delivery packaging. German VerpackG §33 obliges eligible restaurants to offer and display the option; stores outside that scope leave it off and see no change. */
|
|
@@ -9394,6 +9757,7 @@ interface components {
|
|
|
9394
9757
|
readonly updated_at?: string;
|
|
9395
9758
|
readonly brand_assets?: components["schemas"]["StoreBrandAsset"][];
|
|
9396
9759
|
readonly uber_direct_supported_countries?: string[];
|
|
9760
|
+
readonly delivery_method_toggles?: components["schemas"]["DeliveryMethodToggles"] | null;
|
|
9397
9761
|
};
|
|
9398
9762
|
PatchedSurcharge: {
|
|
9399
9763
|
readonly id?: number;
|
|
@@ -9408,7 +9772,7 @@ interface components {
|
|
|
9408
9772
|
amount?: string;
|
|
9409
9773
|
/**
|
|
9410
9774
|
* Format: decimal
|
|
9411
|
-
* @description VAT rate for this surcharge
|
|
9775
|
+
* @description VAT rate for this surcharge. Not used for a deposit attached to a product or modifier: German Pfand is an ancillary charge on the container and is taxed at the rate of the item it is attached to (UStAE A 10.1 Abs. 8). A deposit's rate here only applies when it is charged per order as the reusable-packaging deposit. Stored as a fraction — the convention every VAT rate in this codebase carries: 19% is stored as 0.19, never 19.00. Required, like Product.vat_rate and ProductModifier.vat_rate: a missing rate must fail loudly rather than silently invoice at 0%.
|
|
9412
9776
|
*/
|
|
9413
9777
|
vat_rate?: string;
|
|
9414
9778
|
/** @description Category: sup, deposit, bag_fee, packaging, etc. */
|
|
@@ -9454,6 +9818,68 @@ interface components {
|
|
|
9454
9818
|
* @enum {string}
|
|
9455
9819
|
*/
|
|
9456
9820
|
PriceSyncModeEnum: "report" | "write";
|
|
9821
|
+
PrintDevice: {
|
|
9822
|
+
id: number;
|
|
9823
|
+
name: string;
|
|
9824
|
+
/**
|
|
9825
|
+
* @description `alerting`: the printer recently failed to print and the merchant was emailed. Cleared by its next successful print.
|
|
9826
|
+
*
|
|
9827
|
+
* * `ok` - ok
|
|
9828
|
+
* * `alerting` - alerting
|
|
9829
|
+
*/
|
|
9830
|
+
alert_state: components["schemas"]["AlertStateEnum"];
|
|
9831
|
+
/** Format: date-time */
|
|
9832
|
+
last_seen_at: string | null;
|
|
9833
|
+
};
|
|
9834
|
+
PrintDevicesResponse: {
|
|
9835
|
+
devices: components["schemas"]["PrintDevice"][];
|
|
9836
|
+
};
|
|
9837
|
+
PrintJob: {
|
|
9838
|
+
/** Format: uuid */
|
|
9839
|
+
id: string;
|
|
9840
|
+
device_id: number;
|
|
9841
|
+
device_name: string;
|
|
9842
|
+
trigger: components["schemas"]["TriggerEnum"];
|
|
9843
|
+
status: components["schemas"]["PrintJobStatusEnum"];
|
|
9844
|
+
failure_reason: string;
|
|
9845
|
+
/** Format: date-time */
|
|
9846
|
+
queued_at: string;
|
|
9847
|
+
/** Format: date-time */
|
|
9848
|
+
printed_at: string | null;
|
|
9849
|
+
};
|
|
9850
|
+
/**
|
|
9851
|
+
* @description * `queued` - queued
|
|
9852
|
+
* * `announced` - announced
|
|
9853
|
+
* * `collected` - collected
|
|
9854
|
+
* * `printed` - printed
|
|
9855
|
+
* * `failed` - failed
|
|
9856
|
+
* @enum {string}
|
|
9857
|
+
*/
|
|
9858
|
+
PrintJobStatusEnum: "queued" | "announced" | "collected" | "printed" | "failed";
|
|
9859
|
+
PrintJobsResponse: {
|
|
9860
|
+
jobs: components["schemas"]["PrintJob"][];
|
|
9861
|
+
};
|
|
9862
|
+
/**
|
|
9863
|
+
* @description A merchant pressed Print on an order in the merchant portal.
|
|
9864
|
+
*
|
|
9865
|
+
* ``order_id`` is the storefront Order PK and ``store_id`` the storefront
|
|
9866
|
+
* ``Store.id``, both as merchant-portal-backend records them on its order
|
|
9867
|
+
* (``external_id``, ``metadata.store_id``). The store must own the order,
|
|
9868
|
+
* for the same reason as in ``RefundInitiateRequestSerializer``: the HMAC
|
|
9869
|
+
* authenticates the portal, not the merchant, so this catches a mispaired
|
|
9870
|
+
* order. ``request_id`` is generated per click: a retry with the same id
|
|
9871
|
+
* prints nothing new. ``requested_by`` identifies the merchant user for the
|
|
9872
|
+
* audit trail.
|
|
9873
|
+
*/
|
|
9874
|
+
PrintOrderRequest: {
|
|
9875
|
+
/** Format: uuid */
|
|
9876
|
+
order_id: string;
|
|
9877
|
+
store_id: number;
|
|
9878
|
+
/** Format: uuid */
|
|
9879
|
+
request_id: string;
|
|
9880
|
+
/** @default */
|
|
9881
|
+
requested_by: string;
|
|
9882
|
+
};
|
|
9457
9883
|
/**
|
|
9458
9884
|
* @description Validates the request body for processing a payment.
|
|
9459
9885
|
*
|
|
@@ -9504,6 +9930,7 @@ interface components {
|
|
|
9504
9930
|
value_file?: string;
|
|
9505
9931
|
/** Format: int64 */
|
|
9506
9932
|
value_reference?: number | null;
|
|
9933
|
+
value_json?: unknown;
|
|
9507
9934
|
readonly selected_choices: components["schemas"]["AttributeChoice"][];
|
|
9508
9935
|
};
|
|
9509
9936
|
/**
|
|
@@ -9651,6 +10078,8 @@ interface components {
|
|
|
9651
10078
|
/** Format: decimal */
|
|
9652
10079
|
price: string;
|
|
9653
10080
|
/** Format: decimal */
|
|
10081
|
+
readonly deposit_amount: string | null;
|
|
10082
|
+
/** Format: decimal */
|
|
9654
10083
|
compare_at_price?: string | null;
|
|
9655
10084
|
currency?: string;
|
|
9656
10085
|
/** Format: decimal */
|
|
@@ -10493,6 +10922,7 @@ interface components {
|
|
|
10493
10922
|
readonly updated_at: string;
|
|
10494
10923
|
readonly brand_assets: components["schemas"]["StoreBrandAsset"][];
|
|
10495
10924
|
readonly uber_direct_supported_countries: string[];
|
|
10925
|
+
readonly delivery_method_toggles: components["schemas"]["DeliveryMethodToggles"] | null;
|
|
10496
10926
|
};
|
|
10497
10927
|
/**
|
|
10498
10928
|
* @description * `draft` - Draft
|
|
@@ -10500,6 +10930,49 @@ interface components {
|
|
|
10500
10930
|
* @enum {string}
|
|
10501
10931
|
*/
|
|
10502
10932
|
StoreOnboardingStatusEnum: "draft" | "published";
|
|
10933
|
+
/**
|
|
10934
|
+
* @description The published onboarding row, plus what publish provisioned -- the only
|
|
10935
|
+
* way a merchant learns why an Uber Direct they ticked is not live.
|
|
10936
|
+
*
|
|
10937
|
+
* The provisioning result comes in through ``context["provisioning"]``.
|
|
10938
|
+
*/
|
|
10939
|
+
StorePublishResponse: {
|
|
10940
|
+
slug: string;
|
|
10941
|
+
name?: string;
|
|
10942
|
+
tagline?: string;
|
|
10943
|
+
description?: string;
|
|
10944
|
+
logo_text?: string;
|
|
10945
|
+
theme?: unknown;
|
|
10946
|
+
layout?: string;
|
|
10947
|
+
languages?: unknown;
|
|
10948
|
+
default_language?: string;
|
|
10949
|
+
currency?: string;
|
|
10950
|
+
country?: string;
|
|
10951
|
+
timezone?: string;
|
|
10952
|
+
contact?: unknown;
|
|
10953
|
+
hours?: unknown;
|
|
10954
|
+
social?: unknown;
|
|
10955
|
+
seo?: unknown;
|
|
10956
|
+
fulfilment?: unknown;
|
|
10957
|
+
cuisine?: string;
|
|
10958
|
+
price_range?: string;
|
|
10959
|
+
product_placeholder?: string;
|
|
10960
|
+
analytics?: unknown;
|
|
10961
|
+
labels?: unknown;
|
|
10962
|
+
frame_ancestors?: unknown;
|
|
10963
|
+
multi_store?: boolean;
|
|
10964
|
+
brand_slug?: string;
|
|
10965
|
+
default_store?: string;
|
|
10966
|
+
readonly status: components["schemas"]["StoreOnboardingStatusEnum"];
|
|
10967
|
+
/** Format: date-time */
|
|
10968
|
+
readonly published_at: string | null;
|
|
10969
|
+
/** Format: date-time */
|
|
10970
|
+
readonly updated_at: string;
|
|
10971
|
+
readonly brand_assets: components["schemas"]["StoreBrandAsset"][];
|
|
10972
|
+
readonly uber_direct_supported_countries: string[];
|
|
10973
|
+
readonly delivery_method_toggles: components["schemas"]["DeliveryMethodToggles"] | null;
|
|
10974
|
+
readonly provisioning: components["schemas"]["FulfilmentProvisioning"];
|
|
10975
|
+
};
|
|
10503
10976
|
/**
|
|
10504
10977
|
* @description Customer-facing profile view (no CRM/analytics fields).
|
|
10505
10978
|
*
|
|
@@ -10575,6 +11048,8 @@ interface components {
|
|
|
10575
11048
|
price: string;
|
|
10576
11049
|
currency: string;
|
|
10577
11050
|
image_url: string;
|
|
11051
|
+
/** Format: decimal */
|
|
11052
|
+
deposit_amount?: string | null;
|
|
10578
11053
|
reason: string;
|
|
10579
11054
|
};
|
|
10580
11055
|
Surcharge: {
|
|
@@ -10590,7 +11065,7 @@ interface components {
|
|
|
10590
11065
|
amount: string;
|
|
10591
11066
|
/**
|
|
10592
11067
|
* Format: decimal
|
|
10593
|
-
* @description VAT rate for this surcharge
|
|
11068
|
+
* @description VAT rate for this surcharge. Not used for a deposit attached to a product or modifier: German Pfand is an ancillary charge on the container and is taxed at the rate of the item it is attached to (UStAE A 10.1 Abs. 8). A deposit's rate here only applies when it is charged per order as the reusable-packaging deposit. Stored as a fraction — the convention every VAT rate in this codebase carries: 19% is stored as 0.19, never 19.00. Required, like Product.vat_rate and ProductModifier.vat_rate: a missing rate must fail loudly rather than silently invoice at 0%.
|
|
10594
11069
|
*/
|
|
10595
11070
|
vat_rate: string;
|
|
10596
11071
|
/** @description Category: sup, deposit, bag_fee, packaging, etc. */
|
|
@@ -10678,6 +11153,12 @@ interface components {
|
|
|
10678
11153
|
/** Format: date-time */
|
|
10679
11154
|
readonly created_at: string;
|
|
10680
11155
|
};
|
|
11156
|
+
/**
|
|
11157
|
+
* @description * `auto` - auto
|
|
11158
|
+
* * `manual` - manual
|
|
11159
|
+
* @enum {string}
|
|
11160
|
+
*/
|
|
11161
|
+
TriggerEnum: "auto" | "manual";
|
|
10681
11162
|
/**
|
|
10682
11163
|
* @description * `authorization_request` - Authorization Request
|
|
10683
11164
|
* * `authorization_success` - Authorization Success
|
|
@@ -10764,6 +11245,7 @@ interface components {
|
|
|
10764
11245
|
value_file?: string;
|
|
10765
11246
|
/** Format: int64 */
|
|
10766
11247
|
value_reference?: number | null;
|
|
11248
|
+
value_json?: unknown;
|
|
10767
11249
|
readonly selected_choices: components["schemas"]["AttributeChoice"][];
|
|
10768
11250
|
};
|
|
10769
11251
|
VariantPriceOverride: {
|
|
@@ -10837,6 +11319,11 @@ interface components {
|
|
|
10837
11319
|
completed_at: string | null;
|
|
10838
11320
|
eligibility_snapshot: components["schemas"]["EligibilitySnapshot"];
|
|
10839
11321
|
};
|
|
11322
|
+
/** @description Per delivery method: whether the wizard's toggle still decides it. */
|
|
11323
|
+
WizardChoiceApplies: {
|
|
11324
|
+
uber_direct: boolean;
|
|
11325
|
+
lieferando: boolean;
|
|
11326
|
+
};
|
|
10840
11327
|
/** @description Customer-facing Zeemijlen balance + redemption economics. */
|
|
10841
11328
|
ZeemijlenSummary: {
|
|
10842
11329
|
points_balance: number;
|
|
@@ -13027,48 +13514,209 @@ interface operations {
|
|
|
13027
13514
|
};
|
|
13028
13515
|
};
|
|
13029
13516
|
};
|
|
13030
|
-
admin_pages_publish_create: {
|
|
13517
|
+
admin_pages_publish_create: {
|
|
13518
|
+
parameters: {
|
|
13519
|
+
query?: never;
|
|
13520
|
+
header?: never;
|
|
13521
|
+
path: {
|
|
13522
|
+
page_id: string;
|
|
13523
|
+
};
|
|
13524
|
+
cookie?: never;
|
|
13525
|
+
};
|
|
13526
|
+
requestBody?: {
|
|
13527
|
+
content: {
|
|
13528
|
+
"application/json": {
|
|
13529
|
+
[key: string]: unknown;
|
|
13530
|
+
};
|
|
13531
|
+
"application/x-www-form-urlencoded": {
|
|
13532
|
+
[key: string]: unknown;
|
|
13533
|
+
};
|
|
13534
|
+
"multipart/form-data": {
|
|
13535
|
+
[key: string]: unknown;
|
|
13536
|
+
};
|
|
13537
|
+
};
|
|
13538
|
+
};
|
|
13539
|
+
responses: {
|
|
13540
|
+
200: {
|
|
13541
|
+
headers: {
|
|
13542
|
+
[name: string]: unknown;
|
|
13543
|
+
};
|
|
13544
|
+
content: {
|
|
13545
|
+
"application/json": {
|
|
13546
|
+
[key: string]: unknown;
|
|
13547
|
+
};
|
|
13548
|
+
};
|
|
13549
|
+
};
|
|
13550
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_BLOCK_TYPE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13551
|
+
400: {
|
|
13552
|
+
headers: {
|
|
13553
|
+
[name: string]: unknown;
|
|
13554
|
+
};
|
|
13555
|
+
content: {
|
|
13556
|
+
"application/json": {
|
|
13557
|
+
[key: string]: unknown;
|
|
13558
|
+
};
|
|
13559
|
+
};
|
|
13560
|
+
};
|
|
13561
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13562
|
+
401: {
|
|
13563
|
+
headers: {
|
|
13564
|
+
[name: string]: unknown;
|
|
13565
|
+
};
|
|
13566
|
+
content: {
|
|
13567
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13568
|
+
};
|
|
13569
|
+
};
|
|
13570
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13571
|
+
403: {
|
|
13572
|
+
headers: {
|
|
13573
|
+
[name: string]: unknown;
|
|
13574
|
+
};
|
|
13575
|
+
content: {
|
|
13576
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13577
|
+
};
|
|
13578
|
+
};
|
|
13579
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAGE_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `BLOCK_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13580
|
+
404: {
|
|
13581
|
+
headers: {
|
|
13582
|
+
[name: string]: unknown;
|
|
13583
|
+
};
|
|
13584
|
+
content: {
|
|
13585
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13586
|
+
};
|
|
13587
|
+
};
|
|
13588
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13589
|
+
429: {
|
|
13590
|
+
headers: {
|
|
13591
|
+
[name: string]: unknown;
|
|
13592
|
+
};
|
|
13593
|
+
content: {
|
|
13594
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13595
|
+
};
|
|
13596
|
+
};
|
|
13597
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13598
|
+
500: {
|
|
13599
|
+
headers: {
|
|
13600
|
+
[name: string]: unknown;
|
|
13601
|
+
};
|
|
13602
|
+
content: {
|
|
13603
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13604
|
+
};
|
|
13605
|
+
};
|
|
13606
|
+
};
|
|
13607
|
+
};
|
|
13608
|
+
admin_products_list: {
|
|
13609
|
+
parameters: {
|
|
13610
|
+
query?: {
|
|
13611
|
+
/** @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. */
|
|
13612
|
+
external_id?: number;
|
|
13613
|
+
/** @description Restrict to one store by numeric Store.id. Must belong to the authenticated company; an unrelated id yields an empty list. */
|
|
13614
|
+
store_id?: number;
|
|
13615
|
+
/** @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. */
|
|
13616
|
+
store_public_id?: string;
|
|
13617
|
+
};
|
|
13618
|
+
header?: {
|
|
13619
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
13620
|
+
"X-Sous-Company-Id"?: number;
|
|
13621
|
+
};
|
|
13622
|
+
path?: never;
|
|
13623
|
+
cookie?: never;
|
|
13624
|
+
};
|
|
13625
|
+
requestBody?: never;
|
|
13626
|
+
responses: {
|
|
13627
|
+
200: {
|
|
13628
|
+
headers: {
|
|
13629
|
+
[name: string]: unknown;
|
|
13630
|
+
};
|
|
13631
|
+
content: {
|
|
13632
|
+
"application/json": components["schemas"]["AdminProductOption"][];
|
|
13633
|
+
};
|
|
13634
|
+
};
|
|
13635
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13636
|
+
400: {
|
|
13637
|
+
headers: {
|
|
13638
|
+
[name: string]: unknown;
|
|
13639
|
+
};
|
|
13640
|
+
content: {
|
|
13641
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13642
|
+
};
|
|
13643
|
+
};
|
|
13644
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13645
|
+
401: {
|
|
13646
|
+
headers: {
|
|
13647
|
+
[name: string]: unknown;
|
|
13648
|
+
};
|
|
13649
|
+
content: {
|
|
13650
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13651
|
+
};
|
|
13652
|
+
};
|
|
13653
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13654
|
+
403: {
|
|
13655
|
+
headers: {
|
|
13656
|
+
[name: string]: unknown;
|
|
13657
|
+
};
|
|
13658
|
+
content: {
|
|
13659
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13660
|
+
};
|
|
13661
|
+
};
|
|
13662
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13663
|
+
404: {
|
|
13664
|
+
headers: {
|
|
13665
|
+
[name: string]: unknown;
|
|
13666
|
+
};
|
|
13667
|
+
content: {
|
|
13668
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13669
|
+
};
|
|
13670
|
+
};
|
|
13671
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13672
|
+
429: {
|
|
13673
|
+
headers: {
|
|
13674
|
+
[name: string]: unknown;
|
|
13675
|
+
};
|
|
13676
|
+
content: {
|
|
13677
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13678
|
+
};
|
|
13679
|
+
};
|
|
13680
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13681
|
+
500: {
|
|
13682
|
+
headers: {
|
|
13683
|
+
[name: string]: unknown;
|
|
13684
|
+
};
|
|
13685
|
+
content: {
|
|
13686
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13687
|
+
};
|
|
13688
|
+
};
|
|
13689
|
+
};
|
|
13690
|
+
};
|
|
13691
|
+
admin_products_attribute_values_list: {
|
|
13031
13692
|
parameters: {
|
|
13032
13693
|
query?: never;
|
|
13033
|
-
header?:
|
|
13694
|
+
header?: {
|
|
13695
|
+
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
13696
|
+
"X-Sous-Company-Id"?: number;
|
|
13697
|
+
};
|
|
13034
13698
|
path: {
|
|
13035
|
-
|
|
13699
|
+
product_id: number;
|
|
13036
13700
|
};
|
|
13037
13701
|
cookie?: never;
|
|
13038
13702
|
};
|
|
13039
|
-
requestBody?:
|
|
13040
|
-
content: {
|
|
13041
|
-
"application/json": {
|
|
13042
|
-
[key: string]: unknown;
|
|
13043
|
-
};
|
|
13044
|
-
"application/x-www-form-urlencoded": {
|
|
13045
|
-
[key: string]: unknown;
|
|
13046
|
-
};
|
|
13047
|
-
"multipart/form-data": {
|
|
13048
|
-
[key: string]: unknown;
|
|
13049
|
-
};
|
|
13050
|
-
};
|
|
13051
|
-
};
|
|
13703
|
+
requestBody?: never;
|
|
13052
13704
|
responses: {
|
|
13053
13705
|
200: {
|
|
13054
13706
|
headers: {
|
|
13055
13707
|
[name: string]: unknown;
|
|
13056
13708
|
};
|
|
13057
13709
|
content: {
|
|
13058
|
-
"application/json":
|
|
13059
|
-
[key: string]: unknown;
|
|
13060
|
-
};
|
|
13710
|
+
"application/json": components["schemas"]["ProductAttributeValue"][];
|
|
13061
13711
|
};
|
|
13062
13712
|
};
|
|
13063
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata.
|
|
13713
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13064
13714
|
400: {
|
|
13065
13715
|
headers: {
|
|
13066
13716
|
[name: string]: unknown;
|
|
13067
13717
|
};
|
|
13068
13718
|
content: {
|
|
13069
|
-
"application/json":
|
|
13070
|
-
[key: string]: unknown;
|
|
13071
|
-
};
|
|
13719
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13072
13720
|
};
|
|
13073
13721
|
};
|
|
13074
13722
|
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -13089,7 +13737,7 @@ interface operations {
|
|
|
13089
13737
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13090
13738
|
};
|
|
13091
13739
|
};
|
|
13092
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata.
|
|
13740
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13093
13741
|
404: {
|
|
13094
13742
|
headers: {
|
|
13095
13743
|
[name: string]: unknown;
|
|
@@ -13118,31 +13766,32 @@ interface operations {
|
|
|
13118
13766
|
};
|
|
13119
13767
|
};
|
|
13120
13768
|
};
|
|
13121
|
-
|
|
13769
|
+
admin_products_attribute_values_update: {
|
|
13122
13770
|
parameters: {
|
|
13123
|
-
query?:
|
|
13124
|
-
/** @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. */
|
|
13125
|
-
external_id?: number;
|
|
13126
|
-
/** @description Restrict to one store by numeric Store.id. Must belong to the authenticated company; an unrelated id yields an empty list. */
|
|
13127
|
-
store_id?: number;
|
|
13128
|
-
/** @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. */
|
|
13129
|
-
store_public_id?: string;
|
|
13130
|
-
};
|
|
13771
|
+
query?: never;
|
|
13131
13772
|
header?: {
|
|
13132
13773
|
/** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
|
|
13133
13774
|
"X-Sous-Company-Id"?: number;
|
|
13134
13775
|
};
|
|
13135
|
-
path
|
|
13776
|
+
path: {
|
|
13777
|
+
product_id: number;
|
|
13778
|
+
};
|
|
13136
13779
|
cookie?: never;
|
|
13137
13780
|
};
|
|
13138
|
-
requestBody
|
|
13781
|
+
requestBody: {
|
|
13782
|
+
content: {
|
|
13783
|
+
"application/json": components["schemas"]["AdminAttributeValuesRequest"];
|
|
13784
|
+
"application/x-www-form-urlencoded": components["schemas"]["AdminAttributeValuesRequest"];
|
|
13785
|
+
"multipart/form-data": components["schemas"]["AdminAttributeValuesRequest"];
|
|
13786
|
+
};
|
|
13787
|
+
};
|
|
13139
13788
|
responses: {
|
|
13140
13789
|
200: {
|
|
13141
13790
|
headers: {
|
|
13142
13791
|
[name: string]: unknown;
|
|
13143
13792
|
};
|
|
13144
13793
|
content: {
|
|
13145
|
-
"application/json": components["schemas"]["
|
|
13794
|
+
"application/json": components["schemas"]["ProductAttributeValue"][];
|
|
13146
13795
|
};
|
|
13147
13796
|
};
|
|
13148
13797
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -13201,7 +13850,7 @@ interface operations {
|
|
|
13201
13850
|
};
|
|
13202
13851
|
};
|
|
13203
13852
|
};
|
|
13204
|
-
|
|
13853
|
+
admin_products_confirm_compliance_retrieve: {
|
|
13205
13854
|
parameters: {
|
|
13206
13855
|
query?: never;
|
|
13207
13856
|
header?: {
|
|
@@ -13220,7 +13869,7 @@ interface operations {
|
|
|
13220
13869
|
[name: string]: unknown;
|
|
13221
13870
|
};
|
|
13222
13871
|
content: {
|
|
13223
|
-
"application/json": components["schemas"]["
|
|
13872
|
+
"application/json": components["schemas"]["ComplianceConfirmation"];
|
|
13224
13873
|
};
|
|
13225
13874
|
};
|
|
13226
13875
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -13279,7 +13928,7 @@ interface operations {
|
|
|
13279
13928
|
};
|
|
13280
13929
|
};
|
|
13281
13930
|
};
|
|
13282
|
-
|
|
13931
|
+
admin_products_confirm_compliance_create: {
|
|
13283
13932
|
parameters: {
|
|
13284
13933
|
query?: never;
|
|
13285
13934
|
header?: {
|
|
@@ -13291,21 +13940,14 @@ interface operations {
|
|
|
13291
13940
|
};
|
|
13292
13941
|
cookie?: never;
|
|
13293
13942
|
};
|
|
13294
|
-
requestBody
|
|
13295
|
-
content: {
|
|
13296
|
-
"application/json": components["schemas"]["AdminAttributeValuesRequest"];
|
|
13297
|
-
"application/x-www-form-urlencoded": components["schemas"]["AdminAttributeValuesRequest"];
|
|
13298
|
-
"multipart/form-data": components["schemas"]["AdminAttributeValuesRequest"];
|
|
13299
|
-
};
|
|
13300
|
-
};
|
|
13943
|
+
requestBody?: never;
|
|
13301
13944
|
responses: {
|
|
13945
|
+
/** @description No response body */
|
|
13302
13946
|
200: {
|
|
13303
13947
|
headers: {
|
|
13304
13948
|
[name: string]: unknown;
|
|
13305
13949
|
};
|
|
13306
|
-
content
|
|
13307
|
-
"application/json": components["schemas"]["ProductAttributeValue"][];
|
|
13308
|
-
};
|
|
13950
|
+
content?: never;
|
|
13309
13951
|
};
|
|
13310
13952
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13311
13953
|
400: {
|
|
@@ -13313,7 +13955,7 @@ interface operations {
|
|
|
13313
13955
|
[name: string]: unknown;
|
|
13314
13956
|
};
|
|
13315
13957
|
content: {
|
|
13316
|
-
"application/json": components["schemas"]["
|
|
13958
|
+
"application/json": components["schemas"]["ComplianceIncomplete"];
|
|
13317
13959
|
};
|
|
13318
13960
|
};
|
|
13319
13961
|
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -13363,7 +14005,7 @@ interface operations {
|
|
|
13363
14005
|
};
|
|
13364
14006
|
};
|
|
13365
14007
|
};
|
|
13366
|
-
|
|
14008
|
+
admin_products_confirm_compliance_destroy: {
|
|
13367
14009
|
parameters: {
|
|
13368
14010
|
query?: never;
|
|
13369
14011
|
header?: {
|
|
@@ -13377,13 +14019,12 @@ interface operations {
|
|
|
13377
14019
|
};
|
|
13378
14020
|
requestBody?: never;
|
|
13379
14021
|
responses: {
|
|
13380
|
-
|
|
14022
|
+
/** @description No response body */
|
|
14023
|
+
204: {
|
|
13381
14024
|
headers: {
|
|
13382
14025
|
[name: string]: unknown;
|
|
13383
14026
|
};
|
|
13384
|
-
content
|
|
13385
|
-
"application/json": components["schemas"]["ComplianceConfirmation"];
|
|
13386
|
-
};
|
|
14027
|
+
content?: never;
|
|
13387
14028
|
};
|
|
13388
14029
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13389
14030
|
400: {
|
|
@@ -13441,7 +14082,7 @@ interface operations {
|
|
|
13441
14082
|
};
|
|
13442
14083
|
};
|
|
13443
14084
|
};
|
|
13444
|
-
|
|
14085
|
+
admin_products_deposit_retrieve: {
|
|
13445
14086
|
parameters: {
|
|
13446
14087
|
query?: never;
|
|
13447
14088
|
header?: {
|
|
@@ -13455,12 +14096,13 @@ interface operations {
|
|
|
13455
14096
|
};
|
|
13456
14097
|
requestBody?: never;
|
|
13457
14098
|
responses: {
|
|
13458
|
-
/** @description No response body */
|
|
13459
14099
|
200: {
|
|
13460
14100
|
headers: {
|
|
13461
14101
|
[name: string]: unknown;
|
|
13462
14102
|
};
|
|
13463
|
-
content
|
|
14103
|
+
content: {
|
|
14104
|
+
"application/json": components["schemas"]["AdminProductDeposit"];
|
|
14105
|
+
};
|
|
13464
14106
|
};
|
|
13465
14107
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13466
14108
|
400: {
|
|
@@ -13468,7 +14110,7 @@ interface operations {
|
|
|
13468
14110
|
[name: string]: unknown;
|
|
13469
14111
|
};
|
|
13470
14112
|
content: {
|
|
13471
|
-
"application/json": components["schemas"]["
|
|
14113
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
13472
14114
|
};
|
|
13473
14115
|
};
|
|
13474
14116
|
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -13518,7 +14160,7 @@ interface operations {
|
|
|
13518
14160
|
};
|
|
13519
14161
|
};
|
|
13520
14162
|
};
|
|
13521
|
-
|
|
14163
|
+
admin_products_deposit_update: {
|
|
13522
14164
|
parameters: {
|
|
13523
14165
|
query?: never;
|
|
13524
14166
|
header?: {
|
|
@@ -13530,14 +14172,21 @@ interface operations {
|
|
|
13530
14172
|
};
|
|
13531
14173
|
cookie?: never;
|
|
13532
14174
|
};
|
|
13533
|
-
requestBody
|
|
14175
|
+
requestBody: {
|
|
14176
|
+
content: {
|
|
14177
|
+
"application/json": components["schemas"]["AdminProductDeposit"];
|
|
14178
|
+
"application/x-www-form-urlencoded": components["schemas"]["AdminProductDeposit"];
|
|
14179
|
+
"multipart/form-data": components["schemas"]["AdminProductDeposit"];
|
|
14180
|
+
};
|
|
14181
|
+
};
|
|
13534
14182
|
responses: {
|
|
13535
|
-
|
|
13536
|
-
204: {
|
|
14183
|
+
200: {
|
|
13537
14184
|
headers: {
|
|
13538
14185
|
[name: string]: unknown;
|
|
13539
14186
|
};
|
|
13540
|
-
content
|
|
14187
|
+
content: {
|
|
14188
|
+
"application/json": components["schemas"]["AdminProductDeposit"];
|
|
14189
|
+
};
|
|
13541
14190
|
};
|
|
13542
14191
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
13543
14192
|
400: {
|
|
@@ -21101,7 +21750,7 @@ interface operations {
|
|
|
21101
21750
|
};
|
|
21102
21751
|
};
|
|
21103
21752
|
};
|
|
21104
|
-
/** @description Possible error codes: `MISSING_GATEWAY_ID`, `GATEWAY_NOT_ENABLED`, `INVALID_GATEWAY`, `MISSING_GIFT_CARD_CODE`, `INVALID_TAX_PROVIDER`, `PRODUCT_UNAVAILABLE`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
21753
|
+
/** @description Possible error codes: `MISSING_GATEWAY_ID`, `GATEWAY_NOT_ENABLED`, `INVALID_GATEWAY`, `MISSING_GIFT_CARD_CODE`, `INVALID_TAX_PROVIDER`, `PRODUCT_UNAVAILABLE`, `SERVICE_POINT_REQUIRED`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
21105
21754
|
400: {
|
|
21106
21755
|
headers: {
|
|
21107
21756
|
[name: string]: unknown;
|
|
@@ -22420,28 +23069,180 @@ interface operations {
|
|
|
22420
23069
|
};
|
|
22421
23070
|
};
|
|
22422
23071
|
};
|
|
22423
|
-
collections_products_retrieve: {
|
|
23072
|
+
collections_products_retrieve: {
|
|
23073
|
+
parameters: {
|
|
23074
|
+
query?: {
|
|
23075
|
+
/** @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`. */
|
|
23076
|
+
lang?: string;
|
|
23077
|
+
};
|
|
23078
|
+
header?: never;
|
|
23079
|
+
path: {
|
|
23080
|
+
slug: string;
|
|
23081
|
+
};
|
|
23082
|
+
cookie?: never;
|
|
23083
|
+
};
|
|
23084
|
+
requestBody?: never;
|
|
23085
|
+
responses: {
|
|
23086
|
+
200: {
|
|
23087
|
+
headers: {
|
|
23088
|
+
[name: string]: unknown;
|
|
23089
|
+
};
|
|
23090
|
+
content: {
|
|
23091
|
+
"application/json": {
|
|
23092
|
+
[key: string]: unknown;
|
|
23093
|
+
};
|
|
23094
|
+
};
|
|
23095
|
+
};
|
|
23096
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23097
|
+
400: {
|
|
23098
|
+
headers: {
|
|
23099
|
+
[name: string]: unknown;
|
|
23100
|
+
};
|
|
23101
|
+
content: {
|
|
23102
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23103
|
+
};
|
|
23104
|
+
};
|
|
23105
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23106
|
+
401: {
|
|
23107
|
+
headers: {
|
|
23108
|
+
[name: string]: unknown;
|
|
23109
|
+
};
|
|
23110
|
+
content: {
|
|
23111
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23112
|
+
};
|
|
23113
|
+
};
|
|
23114
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23115
|
+
403: {
|
|
23116
|
+
headers: {
|
|
23117
|
+
[name: string]: unknown;
|
|
23118
|
+
};
|
|
23119
|
+
content: {
|
|
23120
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23121
|
+
};
|
|
23122
|
+
};
|
|
23123
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `COLLECTION_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23124
|
+
404: {
|
|
23125
|
+
headers: {
|
|
23126
|
+
[name: string]: unknown;
|
|
23127
|
+
};
|
|
23128
|
+
content: {
|
|
23129
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23130
|
+
};
|
|
23131
|
+
};
|
|
23132
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23133
|
+
429: {
|
|
23134
|
+
headers: {
|
|
23135
|
+
[name: string]: unknown;
|
|
23136
|
+
};
|
|
23137
|
+
content: {
|
|
23138
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23139
|
+
};
|
|
23140
|
+
};
|
|
23141
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23142
|
+
500: {
|
|
23143
|
+
headers: {
|
|
23144
|
+
[name: string]: unknown;
|
|
23145
|
+
};
|
|
23146
|
+
content: {
|
|
23147
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23148
|
+
};
|
|
23149
|
+
};
|
|
23150
|
+
};
|
|
23151
|
+
};
|
|
23152
|
+
corporate_accounts_list: {
|
|
23153
|
+
parameters: {
|
|
23154
|
+
query?: never;
|
|
23155
|
+
header?: never;
|
|
23156
|
+
path?: never;
|
|
23157
|
+
cookie?: never;
|
|
23158
|
+
};
|
|
23159
|
+
requestBody?: never;
|
|
23160
|
+
responses: {
|
|
23161
|
+
200: {
|
|
23162
|
+
headers: {
|
|
23163
|
+
[name: string]: unknown;
|
|
23164
|
+
};
|
|
23165
|
+
content: {
|
|
23166
|
+
"application/json": components["schemas"]["BusinessAccount"][];
|
|
23167
|
+
};
|
|
23168
|
+
};
|
|
23169
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23170
|
+
400: {
|
|
23171
|
+
headers: {
|
|
23172
|
+
[name: string]: unknown;
|
|
23173
|
+
};
|
|
23174
|
+
content: {
|
|
23175
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23176
|
+
};
|
|
23177
|
+
};
|
|
23178
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23179
|
+
401: {
|
|
23180
|
+
headers: {
|
|
23181
|
+
[name: string]: unknown;
|
|
23182
|
+
};
|
|
23183
|
+
content: {
|
|
23184
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23185
|
+
};
|
|
23186
|
+
};
|
|
23187
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23188
|
+
403: {
|
|
23189
|
+
headers: {
|
|
23190
|
+
[name: string]: unknown;
|
|
23191
|
+
};
|
|
23192
|
+
content: {
|
|
23193
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23194
|
+
};
|
|
23195
|
+
};
|
|
23196
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23197
|
+
404: {
|
|
23198
|
+
headers: {
|
|
23199
|
+
[name: string]: unknown;
|
|
23200
|
+
};
|
|
23201
|
+
content: {
|
|
23202
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23203
|
+
};
|
|
23204
|
+
};
|
|
23205
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23206
|
+
429: {
|
|
23207
|
+
headers: {
|
|
23208
|
+
[name: string]: unknown;
|
|
23209
|
+
};
|
|
23210
|
+
content: {
|
|
23211
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23212
|
+
};
|
|
23213
|
+
};
|
|
23214
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23215
|
+
500: {
|
|
23216
|
+
headers: {
|
|
23217
|
+
[name: string]: unknown;
|
|
23218
|
+
};
|
|
23219
|
+
content: {
|
|
23220
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23221
|
+
};
|
|
23222
|
+
};
|
|
23223
|
+
};
|
|
23224
|
+
};
|
|
23225
|
+
corporate_accounts_create: {
|
|
22424
23226
|
parameters: {
|
|
22425
|
-
query?:
|
|
22426
|
-
/** @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`. */
|
|
22427
|
-
lang?: string;
|
|
22428
|
-
};
|
|
23227
|
+
query?: never;
|
|
22429
23228
|
header?: never;
|
|
22430
|
-
path
|
|
22431
|
-
slug: string;
|
|
22432
|
-
};
|
|
23229
|
+
path?: never;
|
|
22433
23230
|
cookie?: never;
|
|
22434
23231
|
};
|
|
22435
|
-
requestBody
|
|
23232
|
+
requestBody: {
|
|
23233
|
+
content: {
|
|
23234
|
+
"application/json": components["schemas"]["BusinessAccountCreate"];
|
|
23235
|
+
"application/x-www-form-urlencoded": components["schemas"]["BusinessAccountCreate"];
|
|
23236
|
+
"multipart/form-data": components["schemas"]["BusinessAccountCreate"];
|
|
23237
|
+
};
|
|
23238
|
+
};
|
|
22436
23239
|
responses: {
|
|
22437
|
-
|
|
23240
|
+
201: {
|
|
22438
23241
|
headers: {
|
|
22439
23242
|
[name: string]: unknown;
|
|
22440
23243
|
};
|
|
22441
23244
|
content: {
|
|
22442
|
-
"application/json":
|
|
22443
|
-
[key: string]: unknown;
|
|
22444
|
-
};
|
|
23245
|
+
"application/json": components["schemas"]["BusinessAccount"];
|
|
22445
23246
|
};
|
|
22446
23247
|
};
|
|
22447
23248
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -22471,7 +23272,7 @@ interface operations {
|
|
|
22471
23272
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
22472
23273
|
};
|
|
22473
23274
|
};
|
|
22474
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata.
|
|
23275
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
22475
23276
|
404: {
|
|
22476
23277
|
headers: {
|
|
22477
23278
|
[name: string]: unknown;
|
|
@@ -22500,11 +23301,13 @@ interface operations {
|
|
|
22500
23301
|
};
|
|
22501
23302
|
};
|
|
22502
23303
|
};
|
|
22503
|
-
|
|
23304
|
+
corporate_accounts_retrieve: {
|
|
22504
23305
|
parameters: {
|
|
22505
23306
|
query?: never;
|
|
22506
23307
|
header?: never;
|
|
22507
|
-
path
|
|
23308
|
+
path: {
|
|
23309
|
+
account_id: string;
|
|
23310
|
+
};
|
|
22508
23311
|
cookie?: never;
|
|
22509
23312
|
};
|
|
22510
23313
|
requestBody?: never;
|
|
@@ -22514,7 +23317,7 @@ interface operations {
|
|
|
22514
23317
|
[name: string]: unknown;
|
|
22515
23318
|
};
|
|
22516
23319
|
content: {
|
|
22517
|
-
"application/json": components["schemas"]["BusinessAccount"]
|
|
23320
|
+
"application/json": components["schemas"]["BusinessAccount"];
|
|
22518
23321
|
};
|
|
22519
23322
|
};
|
|
22520
23323
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -22573,22 +23376,24 @@ interface operations {
|
|
|
22573
23376
|
};
|
|
22574
23377
|
};
|
|
22575
23378
|
};
|
|
22576
|
-
|
|
23379
|
+
corporate_accounts_partial_update: {
|
|
22577
23380
|
parameters: {
|
|
22578
23381
|
query?: never;
|
|
22579
23382
|
header?: never;
|
|
22580
|
-
path
|
|
23383
|
+
path: {
|
|
23384
|
+
account_id: string;
|
|
23385
|
+
};
|
|
22581
23386
|
cookie?: never;
|
|
22582
23387
|
};
|
|
22583
|
-
requestBody
|
|
23388
|
+
requestBody?: {
|
|
22584
23389
|
content: {
|
|
22585
|
-
"application/json": components["schemas"]["
|
|
22586
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
22587
|
-
"multipart/form-data": components["schemas"]["
|
|
23390
|
+
"application/json": components["schemas"]["PatchedBusinessAccountUpdate"];
|
|
23391
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedBusinessAccountUpdate"];
|
|
23392
|
+
"multipart/form-data": components["schemas"]["PatchedBusinessAccountUpdate"];
|
|
22588
23393
|
};
|
|
22589
23394
|
};
|
|
22590
23395
|
responses: {
|
|
22591
|
-
|
|
23396
|
+
200: {
|
|
22592
23397
|
headers: {
|
|
22593
23398
|
[name: string]: unknown;
|
|
22594
23399
|
};
|
|
@@ -22652,9 +23457,12 @@ interface operations {
|
|
|
22652
23457
|
};
|
|
22653
23458
|
};
|
|
22654
23459
|
};
|
|
22655
|
-
|
|
23460
|
+
corporate_accounts_billing_retrieve: {
|
|
22656
23461
|
parameters: {
|
|
22657
|
-
query
|
|
23462
|
+
query: {
|
|
23463
|
+
month: number;
|
|
23464
|
+
year: number;
|
|
23465
|
+
};
|
|
22658
23466
|
header?: never;
|
|
22659
23467
|
path: {
|
|
22660
23468
|
account_id: string;
|
|
@@ -22668,7 +23476,7 @@ interface operations {
|
|
|
22668
23476
|
[name: string]: unknown;
|
|
22669
23477
|
};
|
|
22670
23478
|
content: {
|
|
22671
|
-
"application/json": components["schemas"]["
|
|
23479
|
+
"application/json": components["schemas"]["BillingSummary"];
|
|
22672
23480
|
};
|
|
22673
23481
|
};
|
|
22674
23482
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -22727,29 +23535,25 @@ interface operations {
|
|
|
22727
23535
|
};
|
|
22728
23536
|
};
|
|
22729
23537
|
};
|
|
22730
|
-
|
|
23538
|
+
corporate_accounts_members_list: {
|
|
22731
23539
|
parameters: {
|
|
22732
|
-
query?:
|
|
23540
|
+
query?: {
|
|
23541
|
+
include_inactive?: boolean;
|
|
23542
|
+
};
|
|
22733
23543
|
header?: never;
|
|
22734
23544
|
path: {
|
|
22735
23545
|
account_id: string;
|
|
22736
23546
|
};
|
|
22737
23547
|
cookie?: never;
|
|
22738
23548
|
};
|
|
22739
|
-
requestBody?:
|
|
22740
|
-
content: {
|
|
22741
|
-
"application/json": components["schemas"]["PatchedBusinessAccountUpdate"];
|
|
22742
|
-
"application/x-www-form-urlencoded": components["schemas"]["PatchedBusinessAccountUpdate"];
|
|
22743
|
-
"multipart/form-data": components["schemas"]["PatchedBusinessAccountUpdate"];
|
|
22744
|
-
};
|
|
22745
|
-
};
|
|
23549
|
+
requestBody?: never;
|
|
22746
23550
|
responses: {
|
|
22747
23551
|
200: {
|
|
22748
23552
|
headers: {
|
|
22749
23553
|
[name: string]: unknown;
|
|
22750
23554
|
};
|
|
22751
23555
|
content: {
|
|
22752
|
-
"application/json": components["schemas"]["
|
|
23556
|
+
"application/json": components["schemas"]["BusinessAccountMember"][];
|
|
22753
23557
|
};
|
|
22754
23558
|
};
|
|
22755
23559
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -22808,26 +23612,29 @@ interface operations {
|
|
|
22808
23612
|
};
|
|
22809
23613
|
};
|
|
22810
23614
|
};
|
|
22811
|
-
|
|
23615
|
+
corporate_accounts_members_create: {
|
|
22812
23616
|
parameters: {
|
|
22813
|
-
query
|
|
22814
|
-
month: number;
|
|
22815
|
-
year: number;
|
|
22816
|
-
};
|
|
23617
|
+
query?: never;
|
|
22817
23618
|
header?: never;
|
|
22818
23619
|
path: {
|
|
22819
23620
|
account_id: string;
|
|
22820
23621
|
};
|
|
22821
23622
|
cookie?: never;
|
|
22822
23623
|
};
|
|
22823
|
-
requestBody
|
|
23624
|
+
requestBody: {
|
|
23625
|
+
content: {
|
|
23626
|
+
"application/json": components["schemas"]["BusinessAccountMemberCreate"];
|
|
23627
|
+
"application/x-www-form-urlencoded": components["schemas"]["BusinessAccountMemberCreate"];
|
|
23628
|
+
"multipart/form-data": components["schemas"]["BusinessAccountMemberCreate"];
|
|
23629
|
+
};
|
|
23630
|
+
};
|
|
22824
23631
|
responses: {
|
|
22825
|
-
|
|
23632
|
+
201: {
|
|
22826
23633
|
headers: {
|
|
22827
23634
|
[name: string]: unknown;
|
|
22828
23635
|
};
|
|
22829
23636
|
content: {
|
|
22830
|
-
"application/json": components["schemas"]["
|
|
23637
|
+
"application/json": components["schemas"]["BusinessAccountMember"];
|
|
22831
23638
|
};
|
|
22832
23639
|
};
|
|
22833
23640
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -22886,25 +23693,30 @@ interface operations {
|
|
|
22886
23693
|
};
|
|
22887
23694
|
};
|
|
22888
23695
|
};
|
|
22889
|
-
|
|
23696
|
+
corporate_accounts_members_partial_update: {
|
|
22890
23697
|
parameters: {
|
|
22891
|
-
query?:
|
|
22892
|
-
include_inactive?: boolean;
|
|
22893
|
-
};
|
|
23698
|
+
query?: never;
|
|
22894
23699
|
header?: never;
|
|
22895
23700
|
path: {
|
|
22896
23701
|
account_id: string;
|
|
23702
|
+
member_id: string;
|
|
22897
23703
|
};
|
|
22898
23704
|
cookie?: never;
|
|
22899
23705
|
};
|
|
22900
|
-
requestBody?:
|
|
23706
|
+
requestBody?: {
|
|
23707
|
+
content: {
|
|
23708
|
+
"application/json": components["schemas"]["PatchedBusinessAccountMemberUpdate"];
|
|
23709
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedBusinessAccountMemberUpdate"];
|
|
23710
|
+
"multipart/form-data": components["schemas"]["PatchedBusinessAccountMemberUpdate"];
|
|
23711
|
+
};
|
|
23712
|
+
};
|
|
22901
23713
|
responses: {
|
|
22902
23714
|
200: {
|
|
22903
23715
|
headers: {
|
|
22904
23716
|
[name: string]: unknown;
|
|
22905
23717
|
};
|
|
22906
23718
|
content: {
|
|
22907
|
-
"application/json": components["schemas"]["BusinessAccountMember"]
|
|
23719
|
+
"application/json": components["schemas"]["BusinessAccountMember"];
|
|
22908
23720
|
};
|
|
22909
23721
|
};
|
|
22910
23722
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -22963,29 +23775,27 @@ interface operations {
|
|
|
22963
23775
|
};
|
|
22964
23776
|
};
|
|
22965
23777
|
};
|
|
22966
|
-
|
|
23778
|
+
customer_profiles_provision: {
|
|
22967
23779
|
parameters: {
|
|
22968
23780
|
query?: never;
|
|
22969
23781
|
header?: never;
|
|
22970
|
-
path
|
|
22971
|
-
account_id: string;
|
|
22972
|
-
};
|
|
23782
|
+
path?: never;
|
|
22973
23783
|
cookie?: never;
|
|
22974
23784
|
};
|
|
22975
23785
|
requestBody: {
|
|
22976
23786
|
content: {
|
|
22977
|
-
"application/json": components["schemas"]["
|
|
22978
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
22979
|
-
"multipart/form-data": components["schemas"]["
|
|
23787
|
+
"application/json": components["schemas"]["CustomerProfileProvision"];
|
|
23788
|
+
"application/x-www-form-urlencoded": components["schemas"]["CustomerProfileProvision"];
|
|
23789
|
+
"multipart/form-data": components["schemas"]["CustomerProfileProvision"];
|
|
22980
23790
|
};
|
|
22981
23791
|
};
|
|
22982
23792
|
responses: {
|
|
22983
|
-
|
|
23793
|
+
200: {
|
|
22984
23794
|
headers: {
|
|
22985
23795
|
[name: string]: unknown;
|
|
22986
23796
|
};
|
|
22987
23797
|
content: {
|
|
22988
|
-
"application/json": components["schemas"]["
|
|
23798
|
+
"application/json": components["schemas"]["StorefrontCustomerProfile"];
|
|
22989
23799
|
};
|
|
22990
23800
|
};
|
|
22991
23801
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -23015,7 +23825,7 @@ interface operations {
|
|
|
23015
23825
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23016
23826
|
};
|
|
23017
23827
|
};
|
|
23018
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23828
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CUSTOMER_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23019
23829
|
404: {
|
|
23020
23830
|
headers: {
|
|
23021
23831
|
[name: string]: unknown;
|
|
@@ -23044,30 +23854,23 @@ interface operations {
|
|
|
23044
23854
|
};
|
|
23045
23855
|
};
|
|
23046
23856
|
};
|
|
23047
|
-
|
|
23857
|
+
customer_profiles_detail: {
|
|
23048
23858
|
parameters: {
|
|
23049
23859
|
query?: never;
|
|
23050
23860
|
header?: never;
|
|
23051
23861
|
path: {
|
|
23052
|
-
|
|
23053
|
-
member_id: string;
|
|
23862
|
+
customer_profile_id: string;
|
|
23054
23863
|
};
|
|
23055
23864
|
cookie?: never;
|
|
23056
23865
|
};
|
|
23057
|
-
requestBody?:
|
|
23058
|
-
content: {
|
|
23059
|
-
"application/json": components["schemas"]["PatchedBusinessAccountMemberUpdate"];
|
|
23060
|
-
"application/x-www-form-urlencoded": components["schemas"]["PatchedBusinessAccountMemberUpdate"];
|
|
23061
|
-
"multipart/form-data": components["schemas"]["PatchedBusinessAccountMemberUpdate"];
|
|
23062
|
-
};
|
|
23063
|
-
};
|
|
23866
|
+
requestBody?: never;
|
|
23064
23867
|
responses: {
|
|
23065
23868
|
200: {
|
|
23066
23869
|
headers: {
|
|
23067
23870
|
[name: string]: unknown;
|
|
23068
23871
|
};
|
|
23069
23872
|
content: {
|
|
23070
|
-
"application/json": components["schemas"]["
|
|
23873
|
+
"application/json": components["schemas"]["StorefrontCustomerProfile"];
|
|
23071
23874
|
};
|
|
23072
23875
|
};
|
|
23073
23876
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -23097,7 +23900,7 @@ interface operations {
|
|
|
23097
23900
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23098
23901
|
};
|
|
23099
23902
|
};
|
|
23100
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23903
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CUSTOMER_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23101
23904
|
404: {
|
|
23102
23905
|
headers: {
|
|
23103
23906
|
[name: string]: unknown;
|
|
@@ -23126,27 +23929,23 @@ interface operations {
|
|
|
23126
23929
|
};
|
|
23127
23930
|
};
|
|
23128
23931
|
};
|
|
23129
|
-
|
|
23932
|
+
addresses_list: {
|
|
23130
23933
|
parameters: {
|
|
23131
23934
|
query?: never;
|
|
23132
23935
|
header?: never;
|
|
23133
|
-
path
|
|
23134
|
-
|
|
23135
|
-
};
|
|
23136
|
-
requestBody: {
|
|
23137
|
-
content: {
|
|
23138
|
-
"application/json": components["schemas"]["CustomerProfileProvision"];
|
|
23139
|
-
"application/x-www-form-urlencoded": components["schemas"]["CustomerProfileProvision"];
|
|
23140
|
-
"multipart/form-data": components["schemas"]["CustomerProfileProvision"];
|
|
23936
|
+
path: {
|
|
23937
|
+
customer_profile_id: string;
|
|
23141
23938
|
};
|
|
23939
|
+
cookie?: never;
|
|
23142
23940
|
};
|
|
23941
|
+
requestBody?: never;
|
|
23143
23942
|
responses: {
|
|
23144
23943
|
200: {
|
|
23145
23944
|
headers: {
|
|
23146
23945
|
[name: string]: unknown;
|
|
23147
23946
|
};
|
|
23148
23947
|
content: {
|
|
23149
|
-
"application/json": components["schemas"]["
|
|
23948
|
+
"application/json": components["schemas"]["SavedAddress"][];
|
|
23150
23949
|
};
|
|
23151
23950
|
};
|
|
23152
23951
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -23176,7 +23975,7 @@ interface operations {
|
|
|
23176
23975
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23177
23976
|
};
|
|
23178
23977
|
};
|
|
23179
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CUSTOMER_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23978
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CUSTOMER_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `ADDRESS_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23180
23979
|
404: {
|
|
23181
23980
|
headers: {
|
|
23182
23981
|
[name: string]: unknown;
|
|
@@ -23205,7 +24004,7 @@ interface operations {
|
|
|
23205
24004
|
};
|
|
23206
24005
|
};
|
|
23207
24006
|
};
|
|
23208
|
-
|
|
24007
|
+
addresses_create: {
|
|
23209
24008
|
parameters: {
|
|
23210
24009
|
query?: never;
|
|
23211
24010
|
header?: never;
|
|
@@ -23214,14 +24013,20 @@ interface operations {
|
|
|
23214
24013
|
};
|
|
23215
24014
|
cookie?: never;
|
|
23216
24015
|
};
|
|
23217
|
-
requestBody
|
|
24016
|
+
requestBody: {
|
|
24017
|
+
content: {
|
|
24018
|
+
"application/json": components["schemas"]["SavedAddressCreate"];
|
|
24019
|
+
"application/x-www-form-urlencoded": components["schemas"]["SavedAddressCreate"];
|
|
24020
|
+
"multipart/form-data": components["schemas"]["SavedAddressCreate"];
|
|
24021
|
+
};
|
|
24022
|
+
};
|
|
23218
24023
|
responses: {
|
|
23219
|
-
|
|
24024
|
+
201: {
|
|
23220
24025
|
headers: {
|
|
23221
24026
|
[name: string]: unknown;
|
|
23222
24027
|
};
|
|
23223
24028
|
content: {
|
|
23224
|
-
"application/json": components["schemas"]["
|
|
24029
|
+
"application/json": components["schemas"]["SavedAddress"];
|
|
23225
24030
|
};
|
|
23226
24031
|
};
|
|
23227
24032
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -23251,7 +24056,7 @@ interface operations {
|
|
|
23251
24056
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23252
24057
|
};
|
|
23253
24058
|
};
|
|
23254
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CUSTOMER_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24059
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CUSTOMER_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `ADDRESS_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23255
24060
|
404: {
|
|
23256
24061
|
headers: {
|
|
23257
24062
|
[name: string]: unknown;
|
|
@@ -23280,11 +24085,12 @@ interface operations {
|
|
|
23280
24085
|
};
|
|
23281
24086
|
};
|
|
23282
24087
|
};
|
|
23283
|
-
|
|
24088
|
+
addresses_detail: {
|
|
23284
24089
|
parameters: {
|
|
23285
24090
|
query?: never;
|
|
23286
24091
|
header?: never;
|
|
23287
24092
|
path: {
|
|
24093
|
+
address_id: string;
|
|
23288
24094
|
customer_profile_id: string;
|
|
23289
24095
|
};
|
|
23290
24096
|
cookie?: never;
|
|
@@ -23296,7 +24102,7 @@ interface operations {
|
|
|
23296
24102
|
[name: string]: unknown;
|
|
23297
24103
|
};
|
|
23298
24104
|
content: {
|
|
23299
|
-
"application/json": components["schemas"]["SavedAddress"]
|
|
24105
|
+
"application/json": components["schemas"]["SavedAddress"];
|
|
23300
24106
|
};
|
|
23301
24107
|
};
|
|
23302
24108
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -23355,11 +24161,12 @@ interface operations {
|
|
|
23355
24161
|
};
|
|
23356
24162
|
};
|
|
23357
24163
|
};
|
|
23358
|
-
|
|
24164
|
+
addresses_update: {
|
|
23359
24165
|
parameters: {
|
|
23360
24166
|
query?: never;
|
|
23361
24167
|
header?: never;
|
|
23362
24168
|
path: {
|
|
24169
|
+
address_id: string;
|
|
23363
24170
|
customer_profile_id: string;
|
|
23364
24171
|
};
|
|
23365
24172
|
cookie?: never;
|
|
@@ -23372,7 +24179,7 @@ interface operations {
|
|
|
23372
24179
|
};
|
|
23373
24180
|
};
|
|
23374
24181
|
responses: {
|
|
23375
|
-
|
|
24182
|
+
200: {
|
|
23376
24183
|
headers: {
|
|
23377
24184
|
[name: string]: unknown;
|
|
23378
24185
|
};
|
|
@@ -23436,7 +24243,7 @@ interface operations {
|
|
|
23436
24243
|
};
|
|
23437
24244
|
};
|
|
23438
24245
|
};
|
|
23439
|
-
|
|
24246
|
+
addresses_delete: {
|
|
23440
24247
|
parameters: {
|
|
23441
24248
|
query?: never;
|
|
23442
24249
|
header?: never;
|
|
@@ -23448,13 +24255,12 @@ interface operations {
|
|
|
23448
24255
|
};
|
|
23449
24256
|
requestBody?: never;
|
|
23450
24257
|
responses: {
|
|
23451
|
-
|
|
24258
|
+
/** @description No response body */
|
|
24259
|
+
204: {
|
|
23452
24260
|
headers: {
|
|
23453
24261
|
[name: string]: unknown;
|
|
23454
24262
|
};
|
|
23455
|
-
content
|
|
23456
|
-
"application/json": components["schemas"]["SavedAddress"];
|
|
23457
|
-
};
|
|
24263
|
+
content?: never;
|
|
23458
24264
|
};
|
|
23459
24265
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23460
24266
|
400: {
|
|
@@ -23512,33 +24318,26 @@ interface operations {
|
|
|
23512
24318
|
};
|
|
23513
24319
|
};
|
|
23514
24320
|
};
|
|
23515
|
-
|
|
24321
|
+
customers_list: {
|
|
23516
24322
|
parameters: {
|
|
23517
24323
|
query?: never;
|
|
23518
24324
|
header?: never;
|
|
23519
|
-
path
|
|
23520
|
-
address_id: string;
|
|
23521
|
-
customer_profile_id: string;
|
|
23522
|
-
};
|
|
24325
|
+
path?: never;
|
|
23523
24326
|
cookie?: never;
|
|
23524
24327
|
};
|
|
23525
|
-
requestBody
|
|
23526
|
-
content: {
|
|
23527
|
-
"application/json": components["schemas"]["SavedAddressCreate"];
|
|
23528
|
-
"application/x-www-form-urlencoded": components["schemas"]["SavedAddressCreate"];
|
|
23529
|
-
"multipart/form-data": components["schemas"]["SavedAddressCreate"];
|
|
23530
|
-
};
|
|
23531
|
-
};
|
|
24328
|
+
requestBody?: never;
|
|
23532
24329
|
responses: {
|
|
23533
24330
|
200: {
|
|
23534
24331
|
headers: {
|
|
23535
24332
|
[name: string]: unknown;
|
|
23536
24333
|
};
|
|
23537
24334
|
content: {
|
|
23538
|
-
"application/json":
|
|
24335
|
+
"application/json": {
|
|
24336
|
+
[key: string]: unknown;
|
|
24337
|
+
};
|
|
23539
24338
|
};
|
|
23540
24339
|
};
|
|
23541
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24340
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SEGMENT_RULE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23542
24341
|
400: {
|
|
23543
24342
|
headers: {
|
|
23544
24343
|
[name: string]: unknown;
|
|
@@ -23565,7 +24364,7 @@ interface operations {
|
|
|
23565
24364
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23566
24365
|
};
|
|
23567
24366
|
};
|
|
23568
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CUSTOMER_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `
|
|
24367
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CUSTOMER_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SEGMENT_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23569
24368
|
404: {
|
|
23570
24369
|
headers: {
|
|
23571
24370
|
[name: string]: unknown;
|
|
@@ -23594,26 +24393,26 @@ interface operations {
|
|
|
23594
24393
|
};
|
|
23595
24394
|
};
|
|
23596
24395
|
};
|
|
23597
|
-
|
|
24396
|
+
customers_detail: {
|
|
23598
24397
|
parameters: {
|
|
23599
24398
|
query?: never;
|
|
23600
24399
|
header?: never;
|
|
23601
24400
|
path: {
|
|
23602
|
-
|
|
23603
|
-
customer_profile_id: string;
|
|
24401
|
+
customer_id: string;
|
|
23604
24402
|
};
|
|
23605
24403
|
cookie?: never;
|
|
23606
24404
|
};
|
|
23607
24405
|
requestBody?: never;
|
|
23608
24406
|
responses: {
|
|
23609
|
-
|
|
23610
|
-
204: {
|
|
24407
|
+
200: {
|
|
23611
24408
|
headers: {
|
|
23612
24409
|
[name: string]: unknown;
|
|
23613
24410
|
};
|
|
23614
|
-
content
|
|
24411
|
+
content: {
|
|
24412
|
+
"application/json": components["schemas"]["CustomerProfile"];
|
|
24413
|
+
};
|
|
23615
24414
|
};
|
|
23616
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24415
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SEGMENT_RULE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23617
24416
|
400: {
|
|
23618
24417
|
headers: {
|
|
23619
24418
|
[name: string]: unknown;
|
|
@@ -23640,7 +24439,7 @@ interface operations {
|
|
|
23640
24439
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
23641
24440
|
};
|
|
23642
24441
|
};
|
|
23643
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CUSTOMER_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `
|
|
24442
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CUSTOMER_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SEGMENT_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23644
24443
|
404: {
|
|
23645
24444
|
headers: {
|
|
23646
24445
|
[name: string]: unknown;
|
|
@@ -23669,23 +24468,29 @@ interface operations {
|
|
|
23669
24468
|
};
|
|
23670
24469
|
};
|
|
23671
24470
|
};
|
|
23672
|
-
|
|
24471
|
+
customers_partial_update: {
|
|
23673
24472
|
parameters: {
|
|
23674
24473
|
query?: never;
|
|
23675
24474
|
header?: never;
|
|
23676
|
-
path
|
|
24475
|
+
path: {
|
|
24476
|
+
customer_id: string;
|
|
24477
|
+
};
|
|
23677
24478
|
cookie?: never;
|
|
23678
24479
|
};
|
|
23679
|
-
requestBody?:
|
|
24480
|
+
requestBody?: {
|
|
24481
|
+
content: {
|
|
24482
|
+
"application/json": components["schemas"]["PatchedCustomerProfileUpdate"];
|
|
24483
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedCustomerProfileUpdate"];
|
|
24484
|
+
"multipart/form-data": components["schemas"]["PatchedCustomerProfileUpdate"];
|
|
24485
|
+
};
|
|
24486
|
+
};
|
|
23680
24487
|
responses: {
|
|
23681
24488
|
200: {
|
|
23682
24489
|
headers: {
|
|
23683
24490
|
[name: string]: unknown;
|
|
23684
24491
|
};
|
|
23685
24492
|
content: {
|
|
23686
|
-
"application/json":
|
|
23687
|
-
[key: string]: unknown;
|
|
23688
|
-
};
|
|
24493
|
+
"application/json": components["schemas"]["CustomerProfile"];
|
|
23689
24494
|
};
|
|
23690
24495
|
};
|
|
23691
24496
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SEGMENT_RULE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -23744,13 +24549,11 @@ interface operations {
|
|
|
23744
24549
|
};
|
|
23745
24550
|
};
|
|
23746
24551
|
};
|
|
23747
|
-
|
|
24552
|
+
customers_segments_retrieve: {
|
|
23748
24553
|
parameters: {
|
|
23749
24554
|
query?: never;
|
|
23750
24555
|
header?: never;
|
|
23751
|
-
path
|
|
23752
|
-
customer_id: string;
|
|
23753
|
-
};
|
|
24556
|
+
path?: never;
|
|
23754
24557
|
cookie?: never;
|
|
23755
24558
|
};
|
|
23756
24559
|
requestBody?: never;
|
|
@@ -23760,7 +24563,9 @@ interface operations {
|
|
|
23760
24563
|
[name: string]: unknown;
|
|
23761
24564
|
};
|
|
23762
24565
|
content: {
|
|
23763
|
-
"application/json":
|
|
24566
|
+
"application/json": {
|
|
24567
|
+
[key: string]: unknown;
|
|
24568
|
+
};
|
|
23764
24569
|
};
|
|
23765
24570
|
};
|
|
23766
24571
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SEGMENT_RULE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -23819,29 +24624,27 @@ interface operations {
|
|
|
23819
24624
|
};
|
|
23820
24625
|
};
|
|
23821
24626
|
};
|
|
23822
|
-
|
|
24627
|
+
customers_segments_create: {
|
|
23823
24628
|
parameters: {
|
|
23824
24629
|
query?: never;
|
|
23825
24630
|
header?: never;
|
|
23826
|
-
path
|
|
23827
|
-
customer_id: string;
|
|
23828
|
-
};
|
|
24631
|
+
path?: never;
|
|
23829
24632
|
cookie?: never;
|
|
23830
24633
|
};
|
|
23831
|
-
requestBody
|
|
24634
|
+
requestBody: {
|
|
23832
24635
|
content: {
|
|
23833
|
-
"application/json": components["schemas"]["
|
|
23834
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
23835
|
-
"multipart/form-data": components["schemas"]["
|
|
24636
|
+
"application/json": components["schemas"]["CustomerSegmentCreate"];
|
|
24637
|
+
"application/x-www-form-urlencoded": components["schemas"]["CustomerSegmentCreate"];
|
|
24638
|
+
"multipart/form-data": components["schemas"]["CustomerSegmentCreate"];
|
|
23836
24639
|
};
|
|
23837
24640
|
};
|
|
23838
24641
|
responses: {
|
|
23839
|
-
|
|
24642
|
+
201: {
|
|
23840
24643
|
headers: {
|
|
23841
24644
|
[name: string]: unknown;
|
|
23842
24645
|
};
|
|
23843
24646
|
content: {
|
|
23844
|
-
"application/json": components["schemas"]["
|
|
24647
|
+
"application/json": components["schemas"]["CustomerSegment"];
|
|
23845
24648
|
};
|
|
23846
24649
|
};
|
|
23847
24650
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SEGMENT_RULE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -23900,24 +24703,23 @@ interface operations {
|
|
|
23900
24703
|
};
|
|
23901
24704
|
};
|
|
23902
24705
|
};
|
|
23903
|
-
|
|
24706
|
+
customers_segments_destroy: {
|
|
23904
24707
|
parameters: {
|
|
23905
24708
|
query?: never;
|
|
23906
24709
|
header?: never;
|
|
23907
|
-
path
|
|
24710
|
+
path: {
|
|
24711
|
+
segment_id: string;
|
|
24712
|
+
};
|
|
23908
24713
|
cookie?: never;
|
|
23909
24714
|
};
|
|
23910
24715
|
requestBody?: never;
|
|
23911
24716
|
responses: {
|
|
23912
|
-
|
|
24717
|
+
/** @description No response body */
|
|
24718
|
+
204: {
|
|
23913
24719
|
headers: {
|
|
23914
24720
|
[name: string]: unknown;
|
|
23915
24721
|
};
|
|
23916
|
-
content
|
|
23917
|
-
"application/json": {
|
|
23918
|
-
[key: string]: unknown;
|
|
23919
|
-
};
|
|
23920
|
-
};
|
|
24722
|
+
content?: never;
|
|
23921
24723
|
};
|
|
23922
24724
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SEGMENT_RULE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
23923
24725
|
400: {
|
|
@@ -23975,22 +24777,24 @@ interface operations {
|
|
|
23975
24777
|
};
|
|
23976
24778
|
};
|
|
23977
24779
|
};
|
|
23978
|
-
|
|
24780
|
+
customers_segments_partial_update: {
|
|
23979
24781
|
parameters: {
|
|
23980
24782
|
query?: never;
|
|
23981
24783
|
header?: never;
|
|
23982
|
-
path
|
|
24784
|
+
path: {
|
|
24785
|
+
segment_id: string;
|
|
24786
|
+
};
|
|
23983
24787
|
cookie?: never;
|
|
23984
24788
|
};
|
|
23985
|
-
requestBody
|
|
24789
|
+
requestBody?: {
|
|
23986
24790
|
content: {
|
|
23987
|
-
"application/json": components["schemas"]["
|
|
23988
|
-
"application/x-www-form-urlencoded": components["schemas"]["
|
|
23989
|
-
"multipart/form-data": components["schemas"]["
|
|
24791
|
+
"application/json": components["schemas"]["PatchedCustomerSegmentCreate"];
|
|
24792
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedCustomerSegmentCreate"];
|
|
24793
|
+
"multipart/form-data": components["schemas"]["PatchedCustomerSegmentCreate"];
|
|
23990
24794
|
};
|
|
23991
24795
|
};
|
|
23992
24796
|
responses: {
|
|
23993
|
-
|
|
24797
|
+
200: {
|
|
23994
24798
|
headers: {
|
|
23995
24799
|
[name: string]: unknown;
|
|
23996
24800
|
};
|
|
@@ -24054,7 +24858,7 @@ interface operations {
|
|
|
24054
24858
|
};
|
|
24055
24859
|
};
|
|
24056
24860
|
};
|
|
24057
|
-
|
|
24861
|
+
customers_segments_members_retrieve: {
|
|
24058
24862
|
parameters: {
|
|
24059
24863
|
query?: never;
|
|
24060
24864
|
header?: never;
|
|
@@ -24065,12 +24869,15 @@ interface operations {
|
|
|
24065
24869
|
};
|
|
24066
24870
|
requestBody?: never;
|
|
24067
24871
|
responses: {
|
|
24068
|
-
|
|
24069
|
-
204: {
|
|
24872
|
+
200: {
|
|
24070
24873
|
headers: {
|
|
24071
24874
|
[name: string]: unknown;
|
|
24072
24875
|
};
|
|
24073
|
-
content
|
|
24876
|
+
content: {
|
|
24877
|
+
"application/json": {
|
|
24878
|
+
[key: string]: unknown;
|
|
24879
|
+
};
|
|
24880
|
+
};
|
|
24074
24881
|
};
|
|
24075
24882
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SEGMENT_RULE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24076
24883
|
400: {
|
|
@@ -24128,7 +24935,7 @@ interface operations {
|
|
|
24128
24935
|
};
|
|
24129
24936
|
};
|
|
24130
24937
|
};
|
|
24131
|
-
|
|
24938
|
+
customers_segments_refresh_create: {
|
|
24132
24939
|
parameters: {
|
|
24133
24940
|
query?: never;
|
|
24134
24941
|
header?: never;
|
|
@@ -24137,20 +24944,16 @@ interface operations {
|
|
|
24137
24944
|
};
|
|
24138
24945
|
cookie?: never;
|
|
24139
24946
|
};
|
|
24140
|
-
requestBody?:
|
|
24141
|
-
content: {
|
|
24142
|
-
"application/json": components["schemas"]["PatchedCustomerSegmentCreate"];
|
|
24143
|
-
"application/x-www-form-urlencoded": components["schemas"]["PatchedCustomerSegmentCreate"];
|
|
24144
|
-
"multipart/form-data": components["schemas"]["PatchedCustomerSegmentCreate"];
|
|
24145
|
-
};
|
|
24146
|
-
};
|
|
24947
|
+
requestBody?: never;
|
|
24147
24948
|
responses: {
|
|
24148
24949
|
200: {
|
|
24149
24950
|
headers: {
|
|
24150
24951
|
[name: string]: unknown;
|
|
24151
24952
|
};
|
|
24152
24953
|
content: {
|
|
24153
|
-
"application/json":
|
|
24954
|
+
"application/json": {
|
|
24955
|
+
[key: string]: unknown;
|
|
24956
|
+
};
|
|
24154
24957
|
};
|
|
24155
24958
|
};
|
|
24156
24959
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SEGMENT_RULE`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -24209,18 +25012,52 @@ interface operations {
|
|
|
24209
25012
|
};
|
|
24210
25013
|
};
|
|
24211
25014
|
};
|
|
24212
|
-
|
|
25015
|
+
dashboard_retrieve: {
|
|
24213
25016
|
parameters: {
|
|
24214
25017
|
query?: never;
|
|
24215
25018
|
header?: never;
|
|
24216
|
-
path
|
|
24217
|
-
segment_id: string;
|
|
24218
|
-
};
|
|
25019
|
+
path?: never;
|
|
24219
25020
|
cookie?: never;
|
|
24220
25021
|
};
|
|
24221
25022
|
requestBody?: never;
|
|
24222
25023
|
responses: {
|
|
24223
25024
|
200: {
|
|
25025
|
+
headers: {
|
|
25026
|
+
[name: string]: unknown;
|
|
25027
|
+
};
|
|
25028
|
+
content: {
|
|
25029
|
+
"application/json": components["schemas"]["MerchantDashboard"];
|
|
25030
|
+
};
|
|
25031
|
+
};
|
|
25032
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25033
|
+
400: {
|
|
25034
|
+
headers: {
|
|
25035
|
+
[name: string]: unknown;
|
|
25036
|
+
};
|
|
25037
|
+
content: {
|
|
25038
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
25039
|
+
};
|
|
25040
|
+
};
|
|
25041
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25042
|
+
401: {
|
|
25043
|
+
headers: {
|
|
25044
|
+
[name: string]: unknown;
|
|
25045
|
+
};
|
|
25046
|
+
content: {
|
|
25047
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
25048
|
+
};
|
|
25049
|
+
};
|
|
25050
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25051
|
+
403: {
|
|
25052
|
+
headers: {
|
|
25053
|
+
[name: string]: unknown;
|
|
25054
|
+
};
|
|
25055
|
+
content: {
|
|
25056
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
25057
|
+
};
|
|
25058
|
+
};
|
|
25059
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25060
|
+
404: {
|
|
24224
25061
|
headers: {
|
|
24225
25062
|
[name: string]: unknown;
|
|
24226
25063
|
};
|
|
@@ -24230,8 +25067,83 @@ interface operations {
|
|
|
24230
25067
|
};
|
|
24231
25068
|
};
|
|
24232
25069
|
};
|
|
24233
|
-
/** @description Possible error codes include `
|
|
25070
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25071
|
+
429: {
|
|
25072
|
+
headers: {
|
|
25073
|
+
[name: string]: unknown;
|
|
25074
|
+
};
|
|
25075
|
+
content: {
|
|
25076
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
25077
|
+
};
|
|
25078
|
+
};
|
|
25079
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25080
|
+
500: {
|
|
25081
|
+
headers: {
|
|
25082
|
+
[name: string]: unknown;
|
|
25083
|
+
};
|
|
25084
|
+
content: {
|
|
25085
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
25086
|
+
};
|
|
25087
|
+
};
|
|
25088
|
+
};
|
|
25089
|
+
};
|
|
25090
|
+
dashboard_daily_list: {
|
|
25091
|
+
parameters: {
|
|
25092
|
+
query?: never;
|
|
25093
|
+
header?: never;
|
|
25094
|
+
path?: never;
|
|
25095
|
+
cookie?: never;
|
|
25096
|
+
};
|
|
25097
|
+
requestBody?: never;
|
|
25098
|
+
responses: {
|
|
25099
|
+
200: {
|
|
25100
|
+
headers: {
|
|
25101
|
+
[name: string]: unknown;
|
|
25102
|
+
};
|
|
25103
|
+
content: {
|
|
25104
|
+
"application/json": components["schemas"]["OrderSummary"][];
|
|
25105
|
+
};
|
|
25106
|
+
};
|
|
25107
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24234
25108
|
400: {
|
|
25109
|
+
headers: {
|
|
25110
|
+
[name: string]: unknown;
|
|
25111
|
+
};
|
|
25112
|
+
content: {
|
|
25113
|
+
"application/json": {
|
|
25114
|
+
[key: string]: unknown;
|
|
25115
|
+
};
|
|
25116
|
+
};
|
|
25117
|
+
};
|
|
25118
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25119
|
+
401: {
|
|
25120
|
+
headers: {
|
|
25121
|
+
[name: string]: unknown;
|
|
25122
|
+
};
|
|
25123
|
+
content: {
|
|
25124
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
25125
|
+
};
|
|
25126
|
+
};
|
|
25127
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25128
|
+
403: {
|
|
25129
|
+
headers: {
|
|
25130
|
+
[name: string]: unknown;
|
|
25131
|
+
};
|
|
25132
|
+
content: {
|
|
25133
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
25134
|
+
};
|
|
25135
|
+
};
|
|
25136
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25137
|
+
404: {
|
|
25138
|
+
headers: {
|
|
25139
|
+
[name: string]: unknown;
|
|
25140
|
+
};
|
|
25141
|
+
content: {
|
|
25142
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
25143
|
+
};
|
|
25144
|
+
};
|
|
25145
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25146
|
+
429: {
|
|
24235
25147
|
headers: {
|
|
24236
25148
|
[name: string]: unknown;
|
|
24237
25149
|
};
|
|
@@ -24239,6 +25151,53 @@ interface operations {
|
|
|
24239
25151
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24240
25152
|
};
|
|
24241
25153
|
};
|
|
25154
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25155
|
+
500: {
|
|
25156
|
+
headers: {
|
|
25157
|
+
[name: string]: unknown;
|
|
25158
|
+
};
|
|
25159
|
+
content: {
|
|
25160
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
25161
|
+
};
|
|
25162
|
+
};
|
|
25163
|
+
};
|
|
25164
|
+
};
|
|
25165
|
+
dine_in_session_retrieve: {
|
|
25166
|
+
parameters: {
|
|
25167
|
+
query?: never;
|
|
25168
|
+
header?: never;
|
|
25169
|
+
path?: never;
|
|
25170
|
+
cookie?: never;
|
|
25171
|
+
};
|
|
25172
|
+
requestBody?: never;
|
|
25173
|
+
responses: {
|
|
25174
|
+
200: {
|
|
25175
|
+
headers: {
|
|
25176
|
+
[name: string]: unknown;
|
|
25177
|
+
};
|
|
25178
|
+
content: {
|
|
25179
|
+
"application/json": components["schemas"]["TableSession"];
|
|
25180
|
+
};
|
|
25181
|
+
};
|
|
25182
|
+
201: {
|
|
25183
|
+
headers: {
|
|
25184
|
+
[name: string]: unknown;
|
|
25185
|
+
};
|
|
25186
|
+
content: {
|
|
25187
|
+
"application/json": components["schemas"]["TableSession"];
|
|
25188
|
+
};
|
|
25189
|
+
};
|
|
25190
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_TABLE_PARAMS`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25191
|
+
400: {
|
|
25192
|
+
headers: {
|
|
25193
|
+
[name: string]: unknown;
|
|
25194
|
+
};
|
|
25195
|
+
content: {
|
|
25196
|
+
"application/json": {
|
|
25197
|
+
[key: string]: unknown;
|
|
25198
|
+
};
|
|
25199
|
+
};
|
|
25200
|
+
};
|
|
24242
25201
|
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24243
25202
|
401: {
|
|
24244
25203
|
headers: {
|
|
@@ -24257,7 +25216,7 @@ interface operations {
|
|
|
24257
25216
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24258
25217
|
};
|
|
24259
25218
|
};
|
|
24260
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `
|
|
25219
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SESSION_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24261
25220
|
404: {
|
|
24262
25221
|
headers: {
|
|
24263
25222
|
[name: string]: unknown;
|
|
@@ -24266,6 +25225,15 @@ interface operations {
|
|
|
24266
25225
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24267
25226
|
};
|
|
24268
25227
|
};
|
|
25228
|
+
/** @description Possible error codes include `SESSION_ALREADY_CLOSED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25229
|
+
409: {
|
|
25230
|
+
headers: {
|
|
25231
|
+
[name: string]: unknown;
|
|
25232
|
+
};
|
|
25233
|
+
content: {
|
|
25234
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
25235
|
+
};
|
|
25236
|
+
};
|
|
24269
25237
|
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24270
25238
|
429: {
|
|
24271
25239
|
headers: {
|
|
@@ -24286,12 +25254,12 @@ interface operations {
|
|
|
24286
25254
|
};
|
|
24287
25255
|
};
|
|
24288
25256
|
};
|
|
24289
|
-
|
|
25257
|
+
dine_in_session_close_create: {
|
|
24290
25258
|
parameters: {
|
|
24291
25259
|
query?: never;
|
|
24292
25260
|
header?: never;
|
|
24293
25261
|
path: {
|
|
24294
|
-
|
|
25262
|
+
token: string;
|
|
24295
25263
|
};
|
|
24296
25264
|
cookie?: never;
|
|
24297
25265
|
};
|
|
@@ -24302,12 +25270,10 @@ interface operations {
|
|
|
24302
25270
|
[name: string]: unknown;
|
|
24303
25271
|
};
|
|
24304
25272
|
content: {
|
|
24305
|
-
"application/json":
|
|
24306
|
-
[key: string]: unknown;
|
|
24307
|
-
};
|
|
25273
|
+
"application/json": components["schemas"]["TableSession"];
|
|
24308
25274
|
};
|
|
24309
25275
|
};
|
|
24310
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `
|
|
25276
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_TABLE_PARAMS`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24311
25277
|
400: {
|
|
24312
25278
|
headers: {
|
|
24313
25279
|
[name: string]: unknown;
|
|
@@ -24334,7 +25300,7 @@ interface operations {
|
|
|
24334
25300
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24335
25301
|
};
|
|
24336
25302
|
};
|
|
24337
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `
|
|
25303
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SESSION_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24338
25304
|
404: {
|
|
24339
25305
|
headers: {
|
|
24340
25306
|
[name: string]: unknown;
|
|
@@ -24343,6 +25309,15 @@ interface operations {
|
|
|
24343
25309
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24344
25310
|
};
|
|
24345
25311
|
};
|
|
25312
|
+
/** @description Possible error codes include `SESSION_ALREADY_CLOSED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25313
|
+
409: {
|
|
25314
|
+
headers: {
|
|
25315
|
+
[name: string]: unknown;
|
|
25316
|
+
};
|
|
25317
|
+
content: {
|
|
25318
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
25319
|
+
};
|
|
25320
|
+
};
|
|
24346
25321
|
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24347
25322
|
429: {
|
|
24348
25323
|
headers: {
|
|
@@ -24363,11 +25338,13 @@ interface operations {
|
|
|
24363
25338
|
};
|
|
24364
25339
|
};
|
|
24365
25340
|
};
|
|
24366
|
-
|
|
25341
|
+
discovery_brands_retrieve: {
|
|
24367
25342
|
parameters: {
|
|
24368
25343
|
query?: never;
|
|
24369
25344
|
header?: never;
|
|
24370
|
-
path
|
|
25345
|
+
path: {
|
|
25346
|
+
slug: string;
|
|
25347
|
+
};
|
|
24371
25348
|
cookie?: never;
|
|
24372
25349
|
};
|
|
24373
25350
|
requestBody?: never;
|
|
@@ -24377,7 +25354,7 @@ interface operations {
|
|
|
24377
25354
|
[name: string]: unknown;
|
|
24378
25355
|
};
|
|
24379
25356
|
content: {
|
|
24380
|
-
"application/json": components["schemas"]["
|
|
25357
|
+
"application/json": components["schemas"]["DiscoveryBrandPage"];
|
|
24381
25358
|
};
|
|
24382
25359
|
};
|
|
24383
25360
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -24389,33 +25366,13 @@ interface operations {
|
|
|
24389
25366
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24390
25367
|
};
|
|
24391
25368
|
};
|
|
24392
|
-
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24393
|
-
401: {
|
|
24394
|
-
headers: {
|
|
24395
|
-
[name: string]: unknown;
|
|
24396
|
-
};
|
|
24397
|
-
content: {
|
|
24398
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24399
|
-
};
|
|
24400
|
-
};
|
|
24401
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24402
|
-
403: {
|
|
24403
|
-
headers: {
|
|
24404
|
-
[name: string]: unknown;
|
|
24405
|
-
};
|
|
24406
|
-
content: {
|
|
24407
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24408
|
-
};
|
|
24409
|
-
};
|
|
24410
25369
|
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24411
25370
|
404: {
|
|
24412
25371
|
headers: {
|
|
24413
25372
|
[name: string]: unknown;
|
|
24414
25373
|
};
|
|
24415
25374
|
content: {
|
|
24416
|
-
"application/json":
|
|
24417
|
-
[key: string]: unknown;
|
|
24418
|
-
};
|
|
25375
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24419
25376
|
};
|
|
24420
25377
|
};
|
|
24421
25378
|
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -24438,11 +25395,13 @@ interface operations {
|
|
|
24438
25395
|
};
|
|
24439
25396
|
};
|
|
24440
25397
|
};
|
|
24441
|
-
|
|
25398
|
+
discovery_collections_retrieve: {
|
|
24442
25399
|
parameters: {
|
|
24443
25400
|
query?: never;
|
|
24444
25401
|
header?: never;
|
|
24445
|
-
path
|
|
25402
|
+
path: {
|
|
25403
|
+
slug: string;
|
|
25404
|
+
};
|
|
24446
25405
|
cookie?: never;
|
|
24447
25406
|
};
|
|
24448
25407
|
requestBody?: never;
|
|
@@ -24452,31 +25411,11 @@ interface operations {
|
|
|
24452
25411
|
[name: string]: unknown;
|
|
24453
25412
|
};
|
|
24454
25413
|
content: {
|
|
24455
|
-
"application/json": components["schemas"]["
|
|
25414
|
+
"application/json": components["schemas"]["DiscoveryCollection"];
|
|
24456
25415
|
};
|
|
24457
25416
|
};
|
|
24458
25417
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24459
25418
|
400: {
|
|
24460
|
-
headers: {
|
|
24461
|
-
[name: string]: unknown;
|
|
24462
|
-
};
|
|
24463
|
-
content: {
|
|
24464
|
-
"application/json": {
|
|
24465
|
-
[key: string]: unknown;
|
|
24466
|
-
};
|
|
24467
|
-
};
|
|
24468
|
-
};
|
|
24469
|
-
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24470
|
-
401: {
|
|
24471
|
-
headers: {
|
|
24472
|
-
[name: string]: unknown;
|
|
24473
|
-
};
|
|
24474
|
-
content: {
|
|
24475
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24476
|
-
};
|
|
24477
|
-
};
|
|
24478
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24479
|
-
403: {
|
|
24480
25419
|
headers: {
|
|
24481
25420
|
[name: string]: unknown;
|
|
24482
25421
|
};
|
|
@@ -24513,44 +25452,49 @@ interface operations {
|
|
|
24513
25452
|
};
|
|
24514
25453
|
};
|
|
24515
25454
|
};
|
|
24516
|
-
|
|
25455
|
+
discovery_deliverability_create: {
|
|
24517
25456
|
parameters: {
|
|
24518
25457
|
query?: never;
|
|
24519
25458
|
header?: never;
|
|
24520
25459
|
path?: never;
|
|
24521
25460
|
cookie?: never;
|
|
24522
25461
|
};
|
|
24523
|
-
requestBody
|
|
25462
|
+
requestBody: {
|
|
25463
|
+
content: {
|
|
25464
|
+
"application/json": components["schemas"]["DeliverabilityRequest"];
|
|
25465
|
+
"application/x-www-form-urlencoded": components["schemas"]["DeliverabilityRequest"];
|
|
25466
|
+
"multipart/form-data": components["schemas"]["DeliverabilityRequest"];
|
|
25467
|
+
};
|
|
25468
|
+
};
|
|
24524
25469
|
responses: {
|
|
24525
25470
|
200: {
|
|
24526
25471
|
headers: {
|
|
24527
25472
|
[name: string]: unknown;
|
|
24528
25473
|
};
|
|
24529
25474
|
content: {
|
|
24530
|
-
"application/json": components["schemas"]["
|
|
25475
|
+
"application/json": components["schemas"]["Deliverability"];
|
|
24531
25476
|
};
|
|
24532
25477
|
};
|
|
24533
|
-
|
|
25478
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25479
|
+
400: {
|
|
24534
25480
|
headers: {
|
|
24535
25481
|
[name: string]: unknown;
|
|
24536
25482
|
};
|
|
24537
25483
|
content: {
|
|
24538
|
-
"application/json": components["schemas"]["
|
|
25484
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24539
25485
|
};
|
|
24540
25486
|
};
|
|
24541
|
-
/** @description Possible error codes include `
|
|
24542
|
-
|
|
25487
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25488
|
+
404: {
|
|
24543
25489
|
headers: {
|
|
24544
25490
|
[name: string]: unknown;
|
|
24545
25491
|
};
|
|
24546
25492
|
content: {
|
|
24547
|
-
"application/json":
|
|
24548
|
-
[key: string]: unknown;
|
|
24549
|
-
};
|
|
25493
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24550
25494
|
};
|
|
24551
25495
|
};
|
|
24552
|
-
/** @description Possible error codes include `
|
|
24553
|
-
|
|
25496
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25497
|
+
429: {
|
|
24554
25498
|
headers: {
|
|
24555
25499
|
[name: string]: unknown;
|
|
24556
25500
|
};
|
|
@@ -24558,8 +25502,8 @@ interface operations {
|
|
|
24558
25502
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24559
25503
|
};
|
|
24560
25504
|
};
|
|
24561
|
-
/** @description Possible error codes include `
|
|
24562
|
-
|
|
25505
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25506
|
+
500: {
|
|
24563
25507
|
headers: {
|
|
24564
25508
|
[name: string]: unknown;
|
|
24565
25509
|
};
|
|
@@ -24567,8 +25511,44 @@ interface operations {
|
|
|
24567
25511
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24568
25512
|
};
|
|
24569
25513
|
};
|
|
24570
|
-
|
|
24571
|
-
|
|
25514
|
+
};
|
|
25515
|
+
};
|
|
25516
|
+
discovery_marketplace_retrieve: {
|
|
25517
|
+
parameters: {
|
|
25518
|
+
query?: {
|
|
25519
|
+
brand_slug?: string;
|
|
25520
|
+
cuisine_tags?: string[];
|
|
25521
|
+
fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
|
|
25522
|
+
page?: number;
|
|
25523
|
+
page_size?: number;
|
|
25524
|
+
price_max?: number;
|
|
25525
|
+
price_min?: number;
|
|
25526
|
+
q?: string;
|
|
25527
|
+
/**
|
|
25528
|
+
* @description * `relevance` - relevance
|
|
25529
|
+
* * `price_asc` - price_asc
|
|
25530
|
+
* * `price_desc` - price_desc
|
|
25531
|
+
*/
|
|
25532
|
+
sort?: "relevance" | "price_asc" | "price_desc";
|
|
25533
|
+
/** @description Narrow to these stores, typically the `store_public_ids` the deliverability read returned. */
|
|
25534
|
+
store_public_ids?: string[];
|
|
25535
|
+
};
|
|
25536
|
+
header?: never;
|
|
25537
|
+
path?: never;
|
|
25538
|
+
cookie?: never;
|
|
25539
|
+
};
|
|
25540
|
+
requestBody?: never;
|
|
25541
|
+
responses: {
|
|
25542
|
+
200: {
|
|
25543
|
+
headers: {
|
|
25544
|
+
[name: string]: unknown;
|
|
25545
|
+
};
|
|
25546
|
+
content: {
|
|
25547
|
+
"application/json": components["schemas"]["MarketplaceSearch"];
|
|
25548
|
+
};
|
|
25549
|
+
};
|
|
25550
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25551
|
+
400: {
|
|
24572
25552
|
headers: {
|
|
24573
25553
|
[name: string]: unknown;
|
|
24574
25554
|
};
|
|
@@ -24576,8 +25556,8 @@ interface operations {
|
|
|
24576
25556
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24577
25557
|
};
|
|
24578
25558
|
};
|
|
24579
|
-
/** @description Possible error codes include `
|
|
24580
|
-
|
|
25559
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25560
|
+
404: {
|
|
24581
25561
|
headers: {
|
|
24582
25562
|
[name: string]: unknown;
|
|
24583
25563
|
};
|
|
@@ -24603,15 +25583,22 @@ interface operations {
|
|
|
24603
25583
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24604
25584
|
};
|
|
24605
25585
|
};
|
|
25586
|
+
/** @description Possible error codes: `MARKETPLACE_SEARCH_UNAVAILABLE`. Retryable: yes. */
|
|
25587
|
+
502: {
|
|
25588
|
+
headers: {
|
|
25589
|
+
[name: string]: unknown;
|
|
25590
|
+
};
|
|
25591
|
+
content: {
|
|
25592
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
25593
|
+
};
|
|
25594
|
+
};
|
|
24606
25595
|
};
|
|
24607
25596
|
};
|
|
24608
|
-
|
|
25597
|
+
discovery_partners_retrieve: {
|
|
24609
25598
|
parameters: {
|
|
24610
25599
|
query?: never;
|
|
24611
25600
|
header?: never;
|
|
24612
|
-
path
|
|
24613
|
-
token: string;
|
|
24614
|
-
};
|
|
25601
|
+
path?: never;
|
|
24615
25602
|
cookie?: never;
|
|
24616
25603
|
};
|
|
24617
25604
|
requestBody?: never;
|
|
@@ -24621,10 +25608,10 @@ interface operations {
|
|
|
24621
25608
|
[name: string]: unknown;
|
|
24622
25609
|
};
|
|
24623
25610
|
content: {
|
|
24624
|
-
"application/json": components["schemas"]["
|
|
25611
|
+
"application/json": components["schemas"]["DiscoveryPartnerIndex"];
|
|
24625
25612
|
};
|
|
24626
25613
|
};
|
|
24627
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata.
|
|
25614
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24628
25615
|
400: {
|
|
24629
25616
|
headers: {
|
|
24630
25617
|
[name: string]: unknown;
|
|
@@ -24633,25 +25620,7 @@ interface operations {
|
|
|
24633
25620
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24634
25621
|
};
|
|
24635
25622
|
};
|
|
24636
|
-
/** @description Possible error codes include `
|
|
24637
|
-
401: {
|
|
24638
|
-
headers: {
|
|
24639
|
-
[name: string]: unknown;
|
|
24640
|
-
};
|
|
24641
|
-
content: {
|
|
24642
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24643
|
-
};
|
|
24644
|
-
};
|
|
24645
|
-
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24646
|
-
403: {
|
|
24647
|
-
headers: {
|
|
24648
|
-
[name: string]: unknown;
|
|
24649
|
-
};
|
|
24650
|
-
content: {
|
|
24651
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24652
|
-
};
|
|
24653
|
-
};
|
|
24654
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SESSION_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
25623
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24655
25624
|
404: {
|
|
24656
25625
|
headers: {
|
|
24657
25626
|
[name: string]: unknown;
|
|
@@ -24660,15 +25629,6 @@ interface operations {
|
|
|
24660
25629
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24661
25630
|
};
|
|
24662
25631
|
};
|
|
24663
|
-
/** @description Possible error codes include `SESSION_ALREADY_CLOSED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24664
|
-
409: {
|
|
24665
|
-
headers: {
|
|
24666
|
-
[name: string]: unknown;
|
|
24667
|
-
};
|
|
24668
|
-
content: {
|
|
24669
|
-
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
24670
|
-
};
|
|
24671
|
-
};
|
|
24672
25632
|
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
24673
25633
|
429: {
|
|
24674
25634
|
headers: {
|
|
@@ -27591,7 +28551,7 @@ interface operations {
|
|
|
27591
28551
|
[name: string]: unknown;
|
|
27592
28552
|
};
|
|
27593
28553
|
content: {
|
|
27594
|
-
"application/json": components["schemas"]["
|
|
28554
|
+
"application/json": components["schemas"]["StorePublishResponse"];
|
|
27595
28555
|
};
|
|
27596
28556
|
};
|
|
27597
28557
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -37009,24 +37969,120 @@ interface operations {
|
|
|
37009
37969
|
};
|
|
37010
37970
|
};
|
|
37011
37971
|
};
|
|
37012
|
-
subscriptions_plans_list: {
|
|
37972
|
+
subscriptions_plans_list: {
|
|
37973
|
+
parameters: {
|
|
37974
|
+
query?: never;
|
|
37975
|
+
header?: never;
|
|
37976
|
+
path?: never;
|
|
37977
|
+
cookie?: never;
|
|
37978
|
+
};
|
|
37979
|
+
requestBody?: never;
|
|
37980
|
+
responses: {
|
|
37981
|
+
200: {
|
|
37982
|
+
headers: {
|
|
37983
|
+
[name: string]: unknown;
|
|
37984
|
+
};
|
|
37985
|
+
content: {
|
|
37986
|
+
"application/json": components["schemas"]["MealPlan"][];
|
|
37987
|
+
};
|
|
37988
|
+
};
|
|
37989
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SUBSCRIPTION_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SUBSCRIPTION_MAX_ITEMS_EXCEEDED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
37990
|
+
400: {
|
|
37991
|
+
headers: {
|
|
37992
|
+
[name: string]: unknown;
|
|
37993
|
+
};
|
|
37994
|
+
content: {
|
|
37995
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
37996
|
+
};
|
|
37997
|
+
};
|
|
37998
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
37999
|
+
401: {
|
|
38000
|
+
headers: {
|
|
38001
|
+
[name: string]: unknown;
|
|
38002
|
+
};
|
|
38003
|
+
content: {
|
|
38004
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38005
|
+
};
|
|
38006
|
+
};
|
|
38007
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38008
|
+
403: {
|
|
38009
|
+
headers: {
|
|
38010
|
+
[name: string]: unknown;
|
|
38011
|
+
};
|
|
38012
|
+
content: {
|
|
38013
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38014
|
+
};
|
|
38015
|
+
};
|
|
38016
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SUBSCRIPTION_PLAN_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SUBSCRIPTION_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SUBSCRIPTION_ORDER_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38017
|
+
404: {
|
|
38018
|
+
headers: {
|
|
38019
|
+
[name: string]: unknown;
|
|
38020
|
+
};
|
|
38021
|
+
content: {
|
|
38022
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38023
|
+
};
|
|
38024
|
+
};
|
|
38025
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38026
|
+
429: {
|
|
38027
|
+
headers: {
|
|
38028
|
+
[name: string]: unknown;
|
|
38029
|
+
};
|
|
38030
|
+
content: {
|
|
38031
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38032
|
+
};
|
|
38033
|
+
};
|
|
38034
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38035
|
+
500: {
|
|
38036
|
+
headers: {
|
|
38037
|
+
[name: string]: unknown;
|
|
38038
|
+
};
|
|
38039
|
+
content: {
|
|
38040
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38041
|
+
};
|
|
38042
|
+
};
|
|
38043
|
+
/** @description Possible error codes include `SUBSCRIPTION_STRIPE_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38044
|
+
502: {
|
|
38045
|
+
headers: {
|
|
38046
|
+
[name: string]: unknown;
|
|
38047
|
+
};
|
|
38048
|
+
content: {
|
|
38049
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38050
|
+
};
|
|
38051
|
+
};
|
|
38052
|
+
};
|
|
38053
|
+
};
|
|
38054
|
+
sync_merchant_portal_apply_create: {
|
|
37013
38055
|
parameters: {
|
|
37014
38056
|
query?: never;
|
|
37015
38057
|
header?: never;
|
|
37016
38058
|
path?: never;
|
|
37017
38059
|
cookie?: never;
|
|
37018
38060
|
};
|
|
37019
|
-
requestBody?:
|
|
38061
|
+
requestBody?: {
|
|
38062
|
+
content: {
|
|
38063
|
+
"application/json": {
|
|
38064
|
+
[key: string]: unknown;
|
|
38065
|
+
};
|
|
38066
|
+
"application/x-www-form-urlencoded": {
|
|
38067
|
+
[key: string]: unknown;
|
|
38068
|
+
};
|
|
38069
|
+
"multipart/form-data": {
|
|
38070
|
+
[key: string]: unknown;
|
|
38071
|
+
};
|
|
38072
|
+
};
|
|
38073
|
+
};
|
|
37020
38074
|
responses: {
|
|
37021
38075
|
200: {
|
|
37022
38076
|
headers: {
|
|
37023
38077
|
[name: string]: unknown;
|
|
37024
38078
|
};
|
|
37025
38079
|
content: {
|
|
37026
|
-
"application/json":
|
|
38080
|
+
"application/json": {
|
|
38081
|
+
[key: string]: unknown;
|
|
38082
|
+
};
|
|
37027
38083
|
};
|
|
37028
38084
|
};
|
|
37029
|
-
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata.
|
|
38085
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
37030
38086
|
400: {
|
|
37031
38087
|
headers: {
|
|
37032
38088
|
[name: string]: unknown;
|
|
@@ -37053,7 +38109,7 @@ interface operations {
|
|
|
37053
38109
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
37054
38110
|
};
|
|
37055
38111
|
};
|
|
37056
|
-
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata.
|
|
38112
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
37057
38113
|
404: {
|
|
37058
38114
|
headers: {
|
|
37059
38115
|
[name: string]: unknown;
|
|
@@ -37062,17 +38118,28 @@ interface operations {
|
|
|
37062
38118
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
37063
38119
|
};
|
|
37064
38120
|
};
|
|
37065
|
-
|
|
37066
|
-
429: {
|
|
38121
|
+
409: {
|
|
37067
38122
|
headers: {
|
|
37068
38123
|
[name: string]: unknown;
|
|
37069
38124
|
};
|
|
37070
38125
|
content: {
|
|
37071
|
-
"application/json":
|
|
38126
|
+
"application/json": {
|
|
38127
|
+
[key: string]: unknown;
|
|
38128
|
+
};
|
|
37072
38129
|
};
|
|
37073
38130
|
};
|
|
37074
|
-
|
|
37075
|
-
|
|
38131
|
+
422: {
|
|
38132
|
+
headers: {
|
|
38133
|
+
[name: string]: unknown;
|
|
38134
|
+
};
|
|
38135
|
+
content: {
|
|
38136
|
+
"application/json": {
|
|
38137
|
+
[key: string]: unknown;
|
|
38138
|
+
};
|
|
38139
|
+
};
|
|
38140
|
+
};
|
|
38141
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38142
|
+
429: {
|
|
37076
38143
|
headers: {
|
|
37077
38144
|
[name: string]: unknown;
|
|
37078
38145
|
};
|
|
@@ -37080,8 +38147,8 @@ interface operations {
|
|
|
37080
38147
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
37081
38148
|
};
|
|
37082
38149
|
};
|
|
37083
|
-
/** @description Possible error codes include `
|
|
37084
|
-
|
|
38150
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38151
|
+
500: {
|
|
37085
38152
|
headers: {
|
|
37086
38153
|
[name: string]: unknown;
|
|
37087
38154
|
};
|
|
@@ -37091,7 +38158,7 @@ interface operations {
|
|
|
37091
38158
|
};
|
|
37092
38159
|
};
|
|
37093
38160
|
};
|
|
37094
|
-
|
|
38161
|
+
sync_merchant_portal_delete_create: {
|
|
37095
38162
|
parameters: {
|
|
37096
38163
|
query?: never;
|
|
37097
38164
|
header?: never;
|
|
@@ -37158,24 +38225,80 @@ interface operations {
|
|
|
37158
38225
|
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
37159
38226
|
};
|
|
37160
38227
|
};
|
|
37161
|
-
|
|
38228
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38229
|
+
429: {
|
|
37162
38230
|
headers: {
|
|
37163
38231
|
[name: string]: unknown;
|
|
37164
38232
|
};
|
|
37165
38233
|
content: {
|
|
37166
|
-
"application/json":
|
|
37167
|
-
[key: string]: unknown;
|
|
37168
|
-
};
|
|
38234
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
37169
38235
|
};
|
|
37170
38236
|
};
|
|
37171
|
-
|
|
38237
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38238
|
+
500: {
|
|
37172
38239
|
headers: {
|
|
37173
38240
|
[name: string]: unknown;
|
|
37174
38241
|
};
|
|
37175
38242
|
content: {
|
|
37176
|
-
"application/json":
|
|
37177
|
-
|
|
37178
|
-
|
|
38243
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38244
|
+
};
|
|
38245
|
+
};
|
|
38246
|
+
};
|
|
38247
|
+
};
|
|
38248
|
+
sync_merchant_portal_export_order_lines_retrieve: {
|
|
38249
|
+
parameters: {
|
|
38250
|
+
query: {
|
|
38251
|
+
date: string;
|
|
38252
|
+
store_id: number;
|
|
38253
|
+
};
|
|
38254
|
+
header?: never;
|
|
38255
|
+
path?: never;
|
|
38256
|
+
cookie?: never;
|
|
38257
|
+
};
|
|
38258
|
+
requestBody?: never;
|
|
38259
|
+
responses: {
|
|
38260
|
+
200: {
|
|
38261
|
+
headers: {
|
|
38262
|
+
[name: string]: unknown;
|
|
38263
|
+
};
|
|
38264
|
+
content: {
|
|
38265
|
+
"application/json": components["schemas"]["OrderLineExportResponse"];
|
|
38266
|
+
};
|
|
38267
|
+
};
|
|
38268
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38269
|
+
400: {
|
|
38270
|
+
headers: {
|
|
38271
|
+
[name: string]: unknown;
|
|
38272
|
+
};
|
|
38273
|
+
content: {
|
|
38274
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38275
|
+
};
|
|
38276
|
+
};
|
|
38277
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38278
|
+
401: {
|
|
38279
|
+
headers: {
|
|
38280
|
+
[name: string]: unknown;
|
|
38281
|
+
};
|
|
38282
|
+
content: {
|
|
38283
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38284
|
+
};
|
|
38285
|
+
};
|
|
38286
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38287
|
+
403: {
|
|
38288
|
+
headers: {
|
|
38289
|
+
[name: string]: unknown;
|
|
38290
|
+
};
|
|
38291
|
+
content: {
|
|
38292
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38293
|
+
};
|
|
38294
|
+
};
|
|
38295
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38296
|
+
404: {
|
|
38297
|
+
headers: {
|
|
38298
|
+
[name: string]: unknown;
|
|
38299
|
+
};
|
|
38300
|
+
content: {
|
|
38301
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
37179
38302
|
};
|
|
37180
38303
|
};
|
|
37181
38304
|
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -37198,7 +38321,7 @@ interface operations {
|
|
|
37198
38321
|
};
|
|
37199
38322
|
};
|
|
37200
38323
|
};
|
|
37201
|
-
|
|
38324
|
+
sync_merchant_portal_order_edit_create: {
|
|
37202
38325
|
parameters: {
|
|
37203
38326
|
query?: never;
|
|
37204
38327
|
header?: never;
|
|
@@ -37235,7 +38358,9 @@ interface operations {
|
|
|
37235
38358
|
[name: string]: unknown;
|
|
37236
38359
|
};
|
|
37237
38360
|
content: {
|
|
37238
|
-
"application/json":
|
|
38361
|
+
"application/json": {
|
|
38362
|
+
[key: string]: unknown;
|
|
38363
|
+
};
|
|
37239
38364
|
};
|
|
37240
38365
|
};
|
|
37241
38366
|
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -37262,7 +38387,9 @@ interface operations {
|
|
|
37262
38387
|
[name: string]: unknown;
|
|
37263
38388
|
};
|
|
37264
38389
|
content: {
|
|
37265
|
-
"application/json":
|
|
38390
|
+
"application/json": {
|
|
38391
|
+
[key: string]: unknown;
|
|
38392
|
+
};
|
|
37266
38393
|
};
|
|
37267
38394
|
};
|
|
37268
38395
|
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -37285,11 +38412,11 @@ interface operations {
|
|
|
37285
38412
|
};
|
|
37286
38413
|
};
|
|
37287
38414
|
};
|
|
37288
|
-
|
|
38415
|
+
sync_order_edit_history: {
|
|
37289
38416
|
parameters: {
|
|
37290
38417
|
query: {
|
|
37291
|
-
|
|
37292
|
-
|
|
38418
|
+
/** @description Order UUID whose applied edit history to return. */
|
|
38419
|
+
order_id: string;
|
|
37293
38420
|
};
|
|
37294
38421
|
header?: never;
|
|
37295
38422
|
path?: never;
|
|
@@ -37302,7 +38429,9 @@ interface operations {
|
|
|
37302
38429
|
[name: string]: unknown;
|
|
37303
38430
|
};
|
|
37304
38431
|
content: {
|
|
37305
|
-
"application/json":
|
|
38432
|
+
"application/json": {
|
|
38433
|
+
[key: string]: unknown;
|
|
38434
|
+
};
|
|
37306
38435
|
};
|
|
37307
38436
|
};
|
|
37308
38437
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -37311,7 +38440,9 @@ interface operations {
|
|
|
37311
38440
|
[name: string]: unknown;
|
|
37312
38441
|
};
|
|
37313
38442
|
content: {
|
|
37314
|
-
"application/json":
|
|
38443
|
+
"application/json": {
|
|
38444
|
+
[key: string]: unknown;
|
|
38445
|
+
};
|
|
37315
38446
|
};
|
|
37316
38447
|
};
|
|
37317
38448
|
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -37361,7 +38492,7 @@ interface operations {
|
|
|
37361
38492
|
};
|
|
37362
38493
|
};
|
|
37363
38494
|
};
|
|
37364
|
-
|
|
38495
|
+
sync_merchant_portal_order_status_create: {
|
|
37365
38496
|
parameters: {
|
|
37366
38497
|
query?: never;
|
|
37367
38498
|
header?: never;
|
|
@@ -37398,9 +38529,7 @@ interface operations {
|
|
|
37398
38529
|
[name: string]: unknown;
|
|
37399
38530
|
};
|
|
37400
38531
|
content: {
|
|
37401
|
-
"application/json":
|
|
37402
|
-
[key: string]: unknown;
|
|
37403
|
-
};
|
|
38532
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
37404
38533
|
};
|
|
37405
38534
|
};
|
|
37406
38535
|
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -37427,9 +38556,7 @@ interface operations {
|
|
|
37427
38556
|
[name: string]: unknown;
|
|
37428
38557
|
};
|
|
37429
38558
|
content: {
|
|
37430
|
-
"application/json":
|
|
37431
|
-
[key: string]: unknown;
|
|
37432
|
-
};
|
|
38559
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
37433
38560
|
};
|
|
37434
38561
|
};
|
|
37435
38562
|
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -37452,11 +38579,11 @@ interface operations {
|
|
|
37452
38579
|
};
|
|
37453
38580
|
};
|
|
37454
38581
|
};
|
|
37455
|
-
|
|
38582
|
+
sync_printing_order_jobs: {
|
|
37456
38583
|
parameters: {
|
|
37457
38584
|
query: {
|
|
37458
|
-
/** @description Order UUID whose applied edit history to return. */
|
|
37459
38585
|
order_id: string;
|
|
38586
|
+
store_id: number;
|
|
37460
38587
|
};
|
|
37461
38588
|
header?: never;
|
|
37462
38589
|
path?: never;
|
|
@@ -37469,9 +38596,7 @@ interface operations {
|
|
|
37469
38596
|
[name: string]: unknown;
|
|
37470
38597
|
};
|
|
37471
38598
|
content: {
|
|
37472
|
-
"application/json":
|
|
37473
|
-
[key: string]: unknown;
|
|
37474
|
-
};
|
|
38599
|
+
"application/json": components["schemas"]["PrintJobsResponse"];
|
|
37475
38600
|
};
|
|
37476
38601
|
};
|
|
37477
38602
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -37480,9 +38605,7 @@ interface operations {
|
|
|
37480
38605
|
[name: string]: unknown;
|
|
37481
38606
|
};
|
|
37482
38607
|
content: {
|
|
37483
|
-
"application/json":
|
|
37484
|
-
[key: string]: unknown;
|
|
37485
|
-
};
|
|
38608
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
37486
38609
|
};
|
|
37487
38610
|
};
|
|
37488
38611
|
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -37509,7 +38632,9 @@ interface operations {
|
|
|
37509
38632
|
[name: string]: unknown;
|
|
37510
38633
|
};
|
|
37511
38634
|
content: {
|
|
37512
|
-
"application/json":
|
|
38635
|
+
"application/json": {
|
|
38636
|
+
[key: string]: unknown;
|
|
38637
|
+
};
|
|
37513
38638
|
};
|
|
37514
38639
|
};
|
|
37515
38640
|
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
@@ -37532,28 +38657,68 @@ interface operations {
|
|
|
37532
38657
|
};
|
|
37533
38658
|
};
|
|
37534
38659
|
};
|
|
37535
|
-
|
|
38660
|
+
sync_printing_print_order: {
|
|
37536
38661
|
parameters: {
|
|
37537
38662
|
query?: never;
|
|
37538
38663
|
header?: never;
|
|
37539
38664
|
path?: never;
|
|
37540
38665
|
cookie?: never;
|
|
37541
38666
|
};
|
|
37542
|
-
requestBody
|
|
38667
|
+
requestBody: {
|
|
37543
38668
|
content: {
|
|
37544
|
-
"application/json":
|
|
37545
|
-
|
|
38669
|
+
"application/json": components["schemas"]["PrintOrderRequest"];
|
|
38670
|
+
"application/x-www-form-urlencoded": components["schemas"]["PrintOrderRequest"];
|
|
38671
|
+
"multipart/form-data": components["schemas"]["PrintOrderRequest"];
|
|
38672
|
+
};
|
|
38673
|
+
};
|
|
38674
|
+
responses: {
|
|
38675
|
+
202: {
|
|
38676
|
+
headers: {
|
|
38677
|
+
[name: string]: unknown;
|
|
37546
38678
|
};
|
|
37547
|
-
|
|
37548
|
-
|
|
38679
|
+
content: {
|
|
38680
|
+
"application/json": components["schemas"]["PrintJobsResponse"];
|
|
37549
38681
|
};
|
|
37550
|
-
|
|
37551
|
-
|
|
38682
|
+
};
|
|
38683
|
+
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38684
|
+
400: {
|
|
38685
|
+
headers: {
|
|
38686
|
+
[name: string]: unknown;
|
|
38687
|
+
};
|
|
38688
|
+
content: {
|
|
38689
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
37552
38690
|
};
|
|
37553
38691
|
};
|
|
37554
|
-
|
|
37555
|
-
|
|
37556
|
-
|
|
38692
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38693
|
+
401: {
|
|
38694
|
+
headers: {
|
|
38695
|
+
[name: string]: unknown;
|
|
38696
|
+
};
|
|
38697
|
+
content: {
|
|
38698
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38699
|
+
};
|
|
38700
|
+
};
|
|
38701
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38702
|
+
403: {
|
|
38703
|
+
headers: {
|
|
38704
|
+
[name: string]: unknown;
|
|
38705
|
+
};
|
|
38706
|
+
content: {
|
|
38707
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38708
|
+
};
|
|
38709
|
+
};
|
|
38710
|
+
/** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38711
|
+
404: {
|
|
38712
|
+
headers: {
|
|
38713
|
+
[name: string]: unknown;
|
|
38714
|
+
};
|
|
38715
|
+
content: {
|
|
38716
|
+
"application/json": {
|
|
38717
|
+
[key: string]: unknown;
|
|
38718
|
+
};
|
|
38719
|
+
};
|
|
38720
|
+
};
|
|
38721
|
+
409: {
|
|
37557
38722
|
headers: {
|
|
37558
38723
|
[name: string]: unknown;
|
|
37559
38724
|
};
|
|
@@ -37563,6 +38728,45 @@ interface operations {
|
|
|
37563
38728
|
};
|
|
37564
38729
|
};
|
|
37565
38730
|
};
|
|
38731
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38732
|
+
429: {
|
|
38733
|
+
headers: {
|
|
38734
|
+
[name: string]: unknown;
|
|
38735
|
+
};
|
|
38736
|
+
content: {
|
|
38737
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38738
|
+
};
|
|
38739
|
+
};
|
|
38740
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
38741
|
+
500: {
|
|
38742
|
+
headers: {
|
|
38743
|
+
[name: string]: unknown;
|
|
38744
|
+
};
|
|
38745
|
+
content: {
|
|
38746
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
38747
|
+
};
|
|
38748
|
+
};
|
|
38749
|
+
};
|
|
38750
|
+
};
|
|
38751
|
+
sync_printing_store_devices: {
|
|
38752
|
+
parameters: {
|
|
38753
|
+
query?: never;
|
|
38754
|
+
header?: never;
|
|
38755
|
+
path: {
|
|
38756
|
+
store_public_id: string;
|
|
38757
|
+
};
|
|
38758
|
+
cookie?: never;
|
|
38759
|
+
};
|
|
38760
|
+
requestBody?: never;
|
|
38761
|
+
responses: {
|
|
38762
|
+
200: {
|
|
38763
|
+
headers: {
|
|
38764
|
+
[name: string]: unknown;
|
|
38765
|
+
};
|
|
38766
|
+
content: {
|
|
38767
|
+
"application/json": components["schemas"]["PrintDevicesResponse"];
|
|
38768
|
+
};
|
|
38769
|
+
};
|
|
37566
38770
|
/** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
37567
38771
|
400: {
|
|
37568
38772
|
headers: {
|
|
@@ -37596,7 +38800,9 @@ interface operations {
|
|
|
37596
38800
|
[name: string]: unknown;
|
|
37597
38801
|
};
|
|
37598
38802
|
content: {
|
|
37599
|
-
"application/json":
|
|
38803
|
+
"application/json": {
|
|
38804
|
+
[key: string]: unknown;
|
|
38805
|
+
};
|
|
37600
38806
|
};
|
|
37601
38807
|
};
|
|
37602
38808
|
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
|