@poweredbysous/storefront-all-sdk 4.1.0 → 4.3.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 CHANGED
@@ -3001,7 +3001,7 @@ interface paths {
3001
3001
  path?: never;
3002
3002
  cookie?: never;
3003
3003
  };
3004
- /** @description Operation `discovery_collections_retrieve`. */
3004
+ /** @description Return active collection cards with reader-language copy. */
3005
3005
  get: operations["discovery_collections_retrieve"];
3006
3006
  put?: never;
3007
3007
  post?: never;
@@ -3086,6 +3086,45 @@ interface paths {
3086
3086
  patch?: never;
3087
3087
  trace?: never;
3088
3088
  };
3089
+ "/api/v1/discovery/product-collections/": {
3090
+ parameters: {
3091
+ query?: never;
3092
+ header?: never;
3093
+ path?: never;
3094
+ cookie?: never;
3095
+ };
3096
+ /** @description List the active product collections in the reader's language. */
3097
+ get: operations["discovery_product_collections_list"];
3098
+ put?: never;
3099
+ post?: never;
3100
+ delete?: never;
3101
+ options?: never;
3102
+ head?: never;
3103
+ patch?: never;
3104
+ trace?: never;
3105
+ };
3106
+ "/api/v1/discovery/product-collections/{slug}/": {
3107
+ parameters: {
3108
+ query?: never;
3109
+ header?: never;
3110
+ path?: never;
3111
+ cookie?: never;
3112
+ };
3113
+ /**
3114
+ * @description Return a collection page in the reader's language.
3115
+ *
3116
+ * Marketplace query parameters narrow the saved collection and never
3117
+ * widen it.
3118
+ */
3119
+ get: operations["discovery_product_collections_retrieve"];
3120
+ put?: never;
3121
+ post?: never;
3122
+ delete?: never;
3123
+ options?: never;
3124
+ head?: never;
3125
+ patch?: never;
3126
+ trace?: never;
3127
+ };
3089
3128
  "/api/v1/discovery/stores/": {
3090
3129
  parameters: {
3091
3130
  query?: never;
@@ -7641,6 +7680,7 @@ interface components {
7641
7680
  product_type_classified: boolean;
7642
7681
  requires_attestation: boolean;
7643
7682
  deposit_config_enabled: boolean;
7683
+ legacy_product_info_enabled: boolean;
7644
7684
  fields: components["schemas"]["ComplianceSchemaField"][];
7645
7685
  };
7646
7686
  ConfirmEdit: {
@@ -8564,6 +8604,15 @@ interface components {
8564
8604
  fulfillment_types: {
8565
8605
  [key: string]: number;
8566
8606
  };
8607
+ offering: {
8608
+ [key: string]: number;
8609
+ };
8610
+ menu_types: {
8611
+ [key: string]: number;
8612
+ };
8613
+ party_sizes: {
8614
+ [key: string]: number;
8615
+ };
8567
8616
  };
8568
8617
  /** @description One product, with its name and description in the reader's language. */
8569
8618
  MarketplaceProduct: {
@@ -8580,6 +8629,11 @@ interface components {
8580
8629
  product_url_path: string;
8581
8630
  fulfillment_types: string[];
8582
8631
  cuisine_tags: string[];
8632
+ offering: string | null;
8633
+ menu_types: string[];
8634
+ party_sizes: number[];
8635
+ /** @description Price divided by party size, in cents; null without a party size. */
8636
+ price_per_person_cents: number | null;
8583
8637
  };
8584
8638
  /** @description One page of marketplace products, shaped like the catalogue pagination. */
8585
8639
  MarketplaceSearch: {
@@ -10094,6 +10148,32 @@ interface components {
10094
10148
  pre_order_lead_time?: number | null;
10095
10149
  readonly variant_overrides: components["schemas"]["VariantPriceOverride"][];
10096
10150
  };
10151
+ /**
10152
+ * @description A product collection: its copy, then one page of its products.
10153
+ *
10154
+ * Pinned products come first in staff's order; the saved filter's matches
10155
+ * follow in the reader's sort. ``count`` covers both.
10156
+ */
10157
+ ProductCollection: {
10158
+ count: number;
10159
+ total_pages: number;
10160
+ page: number;
10161
+ next: string | null;
10162
+ previous: string | null;
10163
+ results: components["schemas"]["MarketplaceProduct"][];
10164
+ facets: components["schemas"]["MarketplaceFacets"];
10165
+ slug: string;
10166
+ name: string;
10167
+ description: string;
10168
+ };
10169
+ /** @description The active product collections, by slug, for the sitemap's URLs. */
10170
+ ProductCollectionList: {
10171
+ collections: components["schemas"]["ProductCollectionSummary"][];
10172
+ };
10173
+ /** @description One listed product collection: its slug, the URL the page lives at. */
10174
+ ProductCollectionSummary: {
10175
+ slug: string;
10176
+ };
10097
10177
  /** @description Resolve tags from ProductTranslation, falling back to Product.tags. */
10098
10178
  ProductDetail: {
10099
10179
  readonly id: number;
@@ -10135,6 +10215,7 @@ interface components {
10135
10215
  readonly modifier_groups: components["schemas"]["ProductModifierGroup"][];
10136
10216
  readonly attribute_values: components["schemas"]["ProductAttributeValue"][];
10137
10217
  readonly net_quantity: string | null;
10218
+ readonly unit_price: components["schemas"]["UnitPrice"] | null;
10138
10219
  readonly images: components["schemas"]["ProductImage"][];
10139
10220
  readonly surcharges: components["schemas"]["Surcharge"][];
10140
10221
  readonly metadata: {
@@ -18539,7 +18620,7 @@ interface operations {
18539
18620
  query?: {
18540
18621
  /** @description Delivery destination city. */
18541
18622
  address_city?: string;
18542
- /** @description Delivery destination country as ISO 3166-1 alpha-2 (e.g. NL, BE). Case-insensitive. */
18623
+ /** @description Delivery destination country as ISO 3166-1 alpha-2 (e.g. NL, BE). Case-insensitive; any other value is ignored. Unlike a live quote it needs no street or city: a nationwide carrier prices by country, so latitude, longitude, postal_code and this can return cost_known=true. Omit postal_code and a carrier whose service area lists postcodes is left out of the estimate. */
18543
18624
  address_country?: string;
18544
18625
  /** @description Delivery destination street line. Required together with address_city and address_country to trigger a live shipping quote (e.g. from Uber Direct); without all three the shipping_estimate group will report cost_known=false. */
18545
18626
  address_street?: string;
@@ -25629,11 +25710,22 @@ interface operations {
25629
25710
  query?: {
25630
25711
  brand_slug?: string;
25631
25712
  cuisine_tags?: string[];
25713
+ /** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
25714
+ date?: string;
25632
25715
  fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
25716
+ /** @description Menu type slugs, for example `vegan` or `meat-fish`. */
25717
+ menu_types?: string[];
25718
+ /** @description Offering slugs, for example `menubox` or `shop`. */
25719
+ offering?: string[];
25633
25720
  page?: number;
25634
25721
  page_size?: number;
25722
+ party_sizes?: number[];
25635
25723
  price_max?: number;
25636
25724
  price_min?: number;
25725
+ /** @description Cents, inclusive. Excludes products with no party size. */
25726
+ price_per_person_max?: number;
25727
+ /** @description Cents, inclusive. Excludes products with no party size. */
25728
+ price_per_person_min?: number;
25637
25729
  q?: string;
25638
25730
  /**
25639
25731
  * @description * `relevance` - relevance
@@ -25760,6 +25852,155 @@ interface operations {
25760
25852
  };
25761
25853
  };
25762
25854
  };
25855
+ discovery_product_collections_list: {
25856
+ parameters: {
25857
+ query?: never;
25858
+ header?: never;
25859
+ path?: never;
25860
+ cookie?: never;
25861
+ };
25862
+ requestBody?: never;
25863
+ responses: {
25864
+ 200: {
25865
+ headers: {
25866
+ [name: string]: unknown;
25867
+ };
25868
+ content: {
25869
+ "application/json": components["schemas"]["ProductCollectionList"];
25870
+ };
25871
+ };
25872
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25873
+ 400: {
25874
+ headers: {
25875
+ [name: string]: unknown;
25876
+ };
25877
+ content: {
25878
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25879
+ };
25880
+ };
25881
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
25882
+ 404: {
25883
+ headers: {
25884
+ [name: string]: unknown;
25885
+ };
25886
+ content: {
25887
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25888
+ };
25889
+ };
25890
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
25891
+ 429: {
25892
+ headers: {
25893
+ [name: string]: unknown;
25894
+ };
25895
+ content: {
25896
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25897
+ };
25898
+ };
25899
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25900
+ 500: {
25901
+ headers: {
25902
+ [name: string]: unknown;
25903
+ };
25904
+ content: {
25905
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25906
+ };
25907
+ };
25908
+ };
25909
+ };
25910
+ discovery_product_collections_retrieve: {
25911
+ parameters: {
25912
+ query?: {
25913
+ brand_slug?: string;
25914
+ cuisine_tags?: string[];
25915
+ /** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
25916
+ date?: string;
25917
+ fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
25918
+ /** @description Menu type slugs, for example `vegan` or `meat-fish`. */
25919
+ menu_types?: string[];
25920
+ /** @description Offering slugs, for example `menubox` or `shop`. */
25921
+ offering?: string[];
25922
+ page?: number;
25923
+ page_size?: number;
25924
+ party_sizes?: number[];
25925
+ price_max?: number;
25926
+ price_min?: number;
25927
+ /** @description Cents, inclusive. Excludes products with no party size. */
25928
+ price_per_person_max?: number;
25929
+ /** @description Cents, inclusive. Excludes products with no party size. */
25930
+ price_per_person_min?: number;
25931
+ q?: string;
25932
+ /**
25933
+ * @description * `relevance` - relevance
25934
+ * * `price_asc` - price_asc
25935
+ * * `price_desc` - price_desc
25936
+ */
25937
+ sort?: "relevance" | "price_asc" | "price_desc";
25938
+ /** @description Narrow to these stores, typically the `store_public_ids` the deliverability read returned. */
25939
+ store_public_ids?: string[];
25940
+ };
25941
+ header?: never;
25942
+ path: {
25943
+ slug: string;
25944
+ };
25945
+ cookie?: never;
25946
+ };
25947
+ requestBody?: never;
25948
+ responses: {
25949
+ 200: {
25950
+ headers: {
25951
+ [name: string]: unknown;
25952
+ };
25953
+ content: {
25954
+ "application/json": components["schemas"]["ProductCollection"];
25955
+ };
25956
+ };
25957
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25958
+ 400: {
25959
+ headers: {
25960
+ [name: string]: unknown;
25961
+ };
25962
+ content: {
25963
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25964
+ };
25965
+ };
25966
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
25967
+ 404: {
25968
+ headers: {
25969
+ [name: string]: unknown;
25970
+ };
25971
+ content: {
25972
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25973
+ };
25974
+ };
25975
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
25976
+ 429: {
25977
+ headers: {
25978
+ [name: string]: unknown;
25979
+ };
25980
+ content: {
25981
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25982
+ };
25983
+ };
25984
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25985
+ 500: {
25986
+ headers: {
25987
+ [name: string]: unknown;
25988
+ };
25989
+ content: {
25990
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25991
+ };
25992
+ };
25993
+ /** @description Possible error codes: `MARKETPLACE_SEARCH_UNAVAILABLE`. Retryable: yes. */
25994
+ 502: {
25995
+ headers: {
25996
+ [name: string]: unknown;
25997
+ };
25998
+ content: {
25999
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26000
+ };
26001
+ };
26002
+ };
26003
+ };
25763
26004
  discovery_stores_retrieve: {
25764
26005
  parameters: {
25765
26006
  query?: never;
@@ -36686,6 +36927,8 @@ interface operations {
36686
36927
  products_list: {
36687
36928
  parameters: {
36688
36929
  query?: {
36930
+ /** @description Delivery destination country as ISO 3166-1 alpha-2 (e.g. NL, BE), used with latitude and longitude. A nationwide carrier that declares per-country service areas only offers its products once the country is known. Case-insensitive; any other value is treated as no country. */
36931
+ country?: string;
36689
36932
  /** @description Sort order for products. Use '-popularity' for most popular first. */
36690
36933
  ordering?: "-popularity" | "-position" | "position";
36691
36934
  /** @description A page number within the paginated result set. */
package/dist/index.d.ts CHANGED
@@ -3001,7 +3001,7 @@ interface paths {
3001
3001
  path?: never;
3002
3002
  cookie?: never;
3003
3003
  };
3004
- /** @description Operation `discovery_collections_retrieve`. */
3004
+ /** @description Return active collection cards with reader-language copy. */
3005
3005
  get: operations["discovery_collections_retrieve"];
3006
3006
  put?: never;
3007
3007
  post?: never;
@@ -3086,6 +3086,45 @@ interface paths {
3086
3086
  patch?: never;
3087
3087
  trace?: never;
3088
3088
  };
3089
+ "/api/v1/discovery/product-collections/": {
3090
+ parameters: {
3091
+ query?: never;
3092
+ header?: never;
3093
+ path?: never;
3094
+ cookie?: never;
3095
+ };
3096
+ /** @description List the active product collections in the reader's language. */
3097
+ get: operations["discovery_product_collections_list"];
3098
+ put?: never;
3099
+ post?: never;
3100
+ delete?: never;
3101
+ options?: never;
3102
+ head?: never;
3103
+ patch?: never;
3104
+ trace?: never;
3105
+ };
3106
+ "/api/v1/discovery/product-collections/{slug}/": {
3107
+ parameters: {
3108
+ query?: never;
3109
+ header?: never;
3110
+ path?: never;
3111
+ cookie?: never;
3112
+ };
3113
+ /**
3114
+ * @description Return a collection page in the reader's language.
3115
+ *
3116
+ * Marketplace query parameters narrow the saved collection and never
3117
+ * widen it.
3118
+ */
3119
+ get: operations["discovery_product_collections_retrieve"];
3120
+ put?: never;
3121
+ post?: never;
3122
+ delete?: never;
3123
+ options?: never;
3124
+ head?: never;
3125
+ patch?: never;
3126
+ trace?: never;
3127
+ };
3089
3128
  "/api/v1/discovery/stores/": {
3090
3129
  parameters: {
3091
3130
  query?: never;
@@ -7641,6 +7680,7 @@ interface components {
7641
7680
  product_type_classified: boolean;
7642
7681
  requires_attestation: boolean;
7643
7682
  deposit_config_enabled: boolean;
7683
+ legacy_product_info_enabled: boolean;
7644
7684
  fields: components["schemas"]["ComplianceSchemaField"][];
7645
7685
  };
7646
7686
  ConfirmEdit: {
@@ -8564,6 +8604,15 @@ interface components {
8564
8604
  fulfillment_types: {
8565
8605
  [key: string]: number;
8566
8606
  };
8607
+ offering: {
8608
+ [key: string]: number;
8609
+ };
8610
+ menu_types: {
8611
+ [key: string]: number;
8612
+ };
8613
+ party_sizes: {
8614
+ [key: string]: number;
8615
+ };
8567
8616
  };
8568
8617
  /** @description One product, with its name and description in the reader's language. */
8569
8618
  MarketplaceProduct: {
@@ -8580,6 +8629,11 @@ interface components {
8580
8629
  product_url_path: string;
8581
8630
  fulfillment_types: string[];
8582
8631
  cuisine_tags: string[];
8632
+ offering: string | null;
8633
+ menu_types: string[];
8634
+ party_sizes: number[];
8635
+ /** @description Price divided by party size, in cents; null without a party size. */
8636
+ price_per_person_cents: number | null;
8583
8637
  };
8584
8638
  /** @description One page of marketplace products, shaped like the catalogue pagination. */
8585
8639
  MarketplaceSearch: {
@@ -10094,6 +10148,32 @@ interface components {
10094
10148
  pre_order_lead_time?: number | null;
10095
10149
  readonly variant_overrides: components["schemas"]["VariantPriceOverride"][];
10096
10150
  };
10151
+ /**
10152
+ * @description A product collection: its copy, then one page of its products.
10153
+ *
10154
+ * Pinned products come first in staff's order; the saved filter's matches
10155
+ * follow in the reader's sort. ``count`` covers both.
10156
+ */
10157
+ ProductCollection: {
10158
+ count: number;
10159
+ total_pages: number;
10160
+ page: number;
10161
+ next: string | null;
10162
+ previous: string | null;
10163
+ results: components["schemas"]["MarketplaceProduct"][];
10164
+ facets: components["schemas"]["MarketplaceFacets"];
10165
+ slug: string;
10166
+ name: string;
10167
+ description: string;
10168
+ };
10169
+ /** @description The active product collections, by slug, for the sitemap's URLs. */
10170
+ ProductCollectionList: {
10171
+ collections: components["schemas"]["ProductCollectionSummary"][];
10172
+ };
10173
+ /** @description One listed product collection: its slug, the URL the page lives at. */
10174
+ ProductCollectionSummary: {
10175
+ slug: string;
10176
+ };
10097
10177
  /** @description Resolve tags from ProductTranslation, falling back to Product.tags. */
10098
10178
  ProductDetail: {
10099
10179
  readonly id: number;
@@ -10135,6 +10215,7 @@ interface components {
10135
10215
  readonly modifier_groups: components["schemas"]["ProductModifierGroup"][];
10136
10216
  readonly attribute_values: components["schemas"]["ProductAttributeValue"][];
10137
10217
  readonly net_quantity: string | null;
10218
+ readonly unit_price: components["schemas"]["UnitPrice"] | null;
10138
10219
  readonly images: components["schemas"]["ProductImage"][];
10139
10220
  readonly surcharges: components["schemas"]["Surcharge"][];
10140
10221
  readonly metadata: {
@@ -18539,7 +18620,7 @@ interface operations {
18539
18620
  query?: {
18540
18621
  /** @description Delivery destination city. */
18541
18622
  address_city?: string;
18542
- /** @description Delivery destination country as ISO 3166-1 alpha-2 (e.g. NL, BE). Case-insensitive. */
18623
+ /** @description Delivery destination country as ISO 3166-1 alpha-2 (e.g. NL, BE). Case-insensitive; any other value is ignored. Unlike a live quote it needs no street or city: a nationwide carrier prices by country, so latitude, longitude, postal_code and this can return cost_known=true. Omit postal_code and a carrier whose service area lists postcodes is left out of the estimate. */
18543
18624
  address_country?: string;
18544
18625
  /** @description Delivery destination street line. Required together with address_city and address_country to trigger a live shipping quote (e.g. from Uber Direct); without all three the shipping_estimate group will report cost_known=false. */
18545
18626
  address_street?: string;
@@ -25629,11 +25710,22 @@ interface operations {
25629
25710
  query?: {
25630
25711
  brand_slug?: string;
25631
25712
  cuisine_tags?: string[];
25713
+ /** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
25714
+ date?: string;
25632
25715
  fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
25716
+ /** @description Menu type slugs, for example `vegan` or `meat-fish`. */
25717
+ menu_types?: string[];
25718
+ /** @description Offering slugs, for example `menubox` or `shop`. */
25719
+ offering?: string[];
25633
25720
  page?: number;
25634
25721
  page_size?: number;
25722
+ party_sizes?: number[];
25635
25723
  price_max?: number;
25636
25724
  price_min?: number;
25725
+ /** @description Cents, inclusive. Excludes products with no party size. */
25726
+ price_per_person_max?: number;
25727
+ /** @description Cents, inclusive. Excludes products with no party size. */
25728
+ price_per_person_min?: number;
25637
25729
  q?: string;
25638
25730
  /**
25639
25731
  * @description * `relevance` - relevance
@@ -25760,6 +25852,155 @@ interface operations {
25760
25852
  };
25761
25853
  };
25762
25854
  };
25855
+ discovery_product_collections_list: {
25856
+ parameters: {
25857
+ query?: never;
25858
+ header?: never;
25859
+ path?: never;
25860
+ cookie?: never;
25861
+ };
25862
+ requestBody?: never;
25863
+ responses: {
25864
+ 200: {
25865
+ headers: {
25866
+ [name: string]: unknown;
25867
+ };
25868
+ content: {
25869
+ "application/json": components["schemas"]["ProductCollectionList"];
25870
+ };
25871
+ };
25872
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25873
+ 400: {
25874
+ headers: {
25875
+ [name: string]: unknown;
25876
+ };
25877
+ content: {
25878
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25879
+ };
25880
+ };
25881
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
25882
+ 404: {
25883
+ headers: {
25884
+ [name: string]: unknown;
25885
+ };
25886
+ content: {
25887
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25888
+ };
25889
+ };
25890
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
25891
+ 429: {
25892
+ headers: {
25893
+ [name: string]: unknown;
25894
+ };
25895
+ content: {
25896
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25897
+ };
25898
+ };
25899
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25900
+ 500: {
25901
+ headers: {
25902
+ [name: string]: unknown;
25903
+ };
25904
+ content: {
25905
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25906
+ };
25907
+ };
25908
+ };
25909
+ };
25910
+ discovery_product_collections_retrieve: {
25911
+ parameters: {
25912
+ query?: {
25913
+ brand_slug?: string;
25914
+ cuisine_tags?: string[];
25915
+ /** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
25916
+ date?: string;
25917
+ fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
25918
+ /** @description Menu type slugs, for example `vegan` or `meat-fish`. */
25919
+ menu_types?: string[];
25920
+ /** @description Offering slugs, for example `menubox` or `shop`. */
25921
+ offering?: string[];
25922
+ page?: number;
25923
+ page_size?: number;
25924
+ party_sizes?: number[];
25925
+ price_max?: number;
25926
+ price_min?: number;
25927
+ /** @description Cents, inclusive. Excludes products with no party size. */
25928
+ price_per_person_max?: number;
25929
+ /** @description Cents, inclusive. Excludes products with no party size. */
25930
+ price_per_person_min?: number;
25931
+ q?: string;
25932
+ /**
25933
+ * @description * `relevance` - relevance
25934
+ * * `price_asc` - price_asc
25935
+ * * `price_desc` - price_desc
25936
+ */
25937
+ sort?: "relevance" | "price_asc" | "price_desc";
25938
+ /** @description Narrow to these stores, typically the `store_public_ids` the deliverability read returned. */
25939
+ store_public_ids?: string[];
25940
+ };
25941
+ header?: never;
25942
+ path: {
25943
+ slug: string;
25944
+ };
25945
+ cookie?: never;
25946
+ };
25947
+ requestBody?: never;
25948
+ responses: {
25949
+ 200: {
25950
+ headers: {
25951
+ [name: string]: unknown;
25952
+ };
25953
+ content: {
25954
+ "application/json": components["schemas"]["ProductCollection"];
25955
+ };
25956
+ };
25957
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25958
+ 400: {
25959
+ headers: {
25960
+ [name: string]: unknown;
25961
+ };
25962
+ content: {
25963
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25964
+ };
25965
+ };
25966
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
25967
+ 404: {
25968
+ headers: {
25969
+ [name: string]: unknown;
25970
+ };
25971
+ content: {
25972
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25973
+ };
25974
+ };
25975
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
25976
+ 429: {
25977
+ headers: {
25978
+ [name: string]: unknown;
25979
+ };
25980
+ content: {
25981
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25982
+ };
25983
+ };
25984
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25985
+ 500: {
25986
+ headers: {
25987
+ [name: string]: unknown;
25988
+ };
25989
+ content: {
25990
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25991
+ };
25992
+ };
25993
+ /** @description Possible error codes: `MARKETPLACE_SEARCH_UNAVAILABLE`. Retryable: yes. */
25994
+ 502: {
25995
+ headers: {
25996
+ [name: string]: unknown;
25997
+ };
25998
+ content: {
25999
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26000
+ };
26001
+ };
26002
+ };
26003
+ };
25763
26004
  discovery_stores_retrieve: {
25764
26005
  parameters: {
25765
26006
  query?: never;
@@ -36686,6 +36927,8 @@ interface operations {
36686
36927
  products_list: {
36687
36928
  parameters: {
36688
36929
  query?: {
36930
+ /** @description Delivery destination country as ISO 3166-1 alpha-2 (e.g. NL, BE), used with latitude and longitude. A nationwide carrier that declares per-country service areas only offers its products once the country is known. Case-insensitive; any other value is treated as no country. */
36931
+ country?: string;
36689
36932
  /** @description Sort order for products. Use '-popularity' for most popular first. */
36690
36933
  ordering?: "-popularity" | "-position" | "position";
36691
36934
  /** @description A page number within the paginated result set. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poweredbysous/storefront-all-sdk",
3
- "version": "4.1.0",
3
+ "version": "4.3.0",
4
4
  "description": "Type-safe TypeScript SDK for all SOUS Storefront Backend endpoints",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -41,6 +41,6 @@
41
41
  "openapi-typescript": "^7.6.1",
42
42
  "tsup": "^8.3.5",
43
43
  "typescript": "^5.8.2",
44
- "vitest": "^3.2.4"
44
+ "vitest": "^5.0.3"
45
45
  }
46
46
  }