@poweredbysous/storefront-all-sdk 4.0.0 → 4.2.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,52 @@ interface paths {
3086
3086
  patch?: never;
3087
3087
  trace?: never;
3088
3088
  };
3089
+ "/api/v1/discovery/product-collections/{slug}/": {
3090
+ parameters: {
3091
+ query?: never;
3092
+ header?: never;
3093
+ path?: never;
3094
+ cookie?: never;
3095
+ };
3096
+ /**
3097
+ * @description Return a collection page in the reader's language.
3098
+ *
3099
+ * Marketplace query parameters narrow the saved collection and never
3100
+ * widen it.
3101
+ */
3102
+ get: operations["discovery_product_collections_retrieve"];
3103
+ put?: never;
3104
+ post?: never;
3105
+ delete?: never;
3106
+ options?: never;
3107
+ head?: never;
3108
+ patch?: never;
3109
+ trace?: never;
3110
+ };
3111
+ "/api/v1/discovery/stores/": {
3112
+ parameters: {
3113
+ query?: never;
3114
+ header?: never;
3115
+ path?: never;
3116
+ cookie?: never;
3117
+ };
3118
+ /**
3119
+ * @description The ``public_id`` of every store on the ExploreSOUS channel.
3120
+ *
3121
+ * A flat membership set, deliberately not a field on the partner index:
3122
+ * that read is brand-grouped and does not say how many locations a brand
3123
+ * has, and this one is a different question. It reveals nothing
3124
+ * ExploreSOUS's sitemap does not, which publishes a URL for every one.
3125
+ */
3126
+ get: operations["discovery_stores_retrieve"];
3127
+ put?: never;
3128
+ post?: never;
3129
+ delete?: never;
3130
+ options?: never;
3131
+ head?: never;
3132
+ patch?: never;
3133
+ trace?: never;
3134
+ };
3089
3135
  "/api/v1/fulfillment/address-check/": {
3090
3136
  parameters: {
3091
3137
  query?: never;
@@ -7617,6 +7663,7 @@ interface components {
7617
7663
  product_type_classified: boolean;
7618
7664
  requires_attestation: boolean;
7619
7665
  deposit_config_enabled: boolean;
7666
+ legacy_product_info_enabled: boolean;
7620
7667
  fields: components["schemas"]["ComplianceSchemaField"][];
7621
7668
  };
7622
7669
  ConfirmEdit: {
@@ -8021,6 +8068,7 @@ interface components {
8021
8068
  price_band: number | null;
8022
8069
  michelin_stars: number | null;
8023
8070
  tags: string[];
8071
+ book_url: string;
8024
8072
  };
8025
8073
  /**
8026
8074
  * @description The whole directory plus its filter vocabulary, in one read.
@@ -8032,6 +8080,10 @@ interface components {
8032
8080
  tags: components["schemas"]["DiscoveryTag"][];
8033
8081
  partners: components["schemas"]["DiscoveryPartner"][];
8034
8082
  };
8083
+ /** @description The stores ExploreSOUS serves, as ``X-Vendor-ID`` values. */
8084
+ DiscoveryStoreMembership: {
8085
+ store_ids: string[];
8086
+ };
8035
8087
  /** @description One filter option, already named in the reader's language. */
8036
8088
  DiscoveryTag: {
8037
8089
  slug: string;
@@ -8535,6 +8587,15 @@ interface components {
8535
8587
  fulfillment_types: {
8536
8588
  [key: string]: number;
8537
8589
  };
8590
+ offering: {
8591
+ [key: string]: number;
8592
+ };
8593
+ menu_types: {
8594
+ [key: string]: number;
8595
+ };
8596
+ party_sizes: {
8597
+ [key: string]: number;
8598
+ };
8538
8599
  };
8539
8600
  /** @description One product, with its name and description in the reader's language. */
8540
8601
  MarketplaceProduct: {
@@ -8551,6 +8612,11 @@ interface components {
8551
8612
  product_url_path: string;
8552
8613
  fulfillment_types: string[];
8553
8614
  cuisine_tags: string[];
8615
+ offering: string | null;
8616
+ menu_types: string[];
8617
+ party_sizes: number[];
8618
+ /** @description Price divided by party size, in cents; null without a party size. */
8619
+ price_per_person_cents: number | null;
8554
8620
  };
8555
8621
  /** @description One page of marketplace products, shaped like the catalogue pagination. */
8556
8622
  MarketplaceSearch: {
@@ -10065,6 +10131,24 @@ interface components {
10065
10131
  pre_order_lead_time?: number | null;
10066
10132
  readonly variant_overrides: components["schemas"]["VariantPriceOverride"][];
10067
10133
  };
10134
+ /**
10135
+ * @description A product collection: its copy, then one page of its products.
10136
+ *
10137
+ * Pinned products come first in staff's order; the saved filter's matches
10138
+ * follow in the reader's sort. ``count`` covers both.
10139
+ */
10140
+ ProductCollection: {
10141
+ count: number;
10142
+ total_pages: number;
10143
+ page: number;
10144
+ next: string | null;
10145
+ previous: string | null;
10146
+ results: components["schemas"]["MarketplaceProduct"][];
10147
+ facets: components["schemas"]["MarketplaceFacets"];
10148
+ slug: string;
10149
+ name: string;
10150
+ description: string;
10151
+ };
10068
10152
  /** @description Resolve tags from ProductTranslation, falling back to Product.tags. */
10069
10153
  ProductDetail: {
10070
10154
  readonly id: number;
@@ -18510,7 +18594,7 @@ interface operations {
18510
18594
  query?: {
18511
18595
  /** @description Delivery destination city. */
18512
18596
  address_city?: string;
18513
- /** @description Delivery destination country as ISO 3166-1 alpha-2 (e.g. NL, BE). Case-insensitive. */
18597
+ /** @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. */
18514
18598
  address_country?: string;
18515
18599
  /** @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. */
18516
18600
  address_street?: string;
@@ -25600,11 +25684,22 @@ interface operations {
25600
25684
  query?: {
25601
25685
  brand_slug?: string;
25602
25686
  cuisine_tags?: string[];
25687
+ /** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
25688
+ date?: string;
25603
25689
  fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
25690
+ /** @description Menu type slugs, for example `vegan` or `meat-fish`. */
25691
+ menu_types?: string[];
25692
+ /** @description Offering slugs, for example `menubox` or `shop`. */
25693
+ offering?: string[];
25604
25694
  page?: number;
25605
25695
  page_size?: number;
25696
+ party_sizes?: number[];
25606
25697
  price_max?: number;
25607
25698
  price_min?: number;
25699
+ /** @description Cents, inclusive. Excludes products with no party size. */
25700
+ price_per_person_max?: number;
25701
+ /** @description Cents, inclusive. Excludes products with no party size. */
25702
+ price_per_person_min?: number;
25608
25703
  q?: string;
25609
25704
  /**
25610
25705
  * @description * `relevance` - relevance
@@ -25731,6 +25826,155 @@ interface operations {
25731
25826
  };
25732
25827
  };
25733
25828
  };
25829
+ discovery_product_collections_retrieve: {
25830
+ parameters: {
25831
+ query?: {
25832
+ brand_slug?: string;
25833
+ cuisine_tags?: string[];
25834
+ /** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
25835
+ date?: string;
25836
+ fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
25837
+ /** @description Menu type slugs, for example `vegan` or `meat-fish`. */
25838
+ menu_types?: string[];
25839
+ /** @description Offering slugs, for example `menubox` or `shop`. */
25840
+ offering?: string[];
25841
+ page?: number;
25842
+ page_size?: number;
25843
+ party_sizes?: number[];
25844
+ price_max?: number;
25845
+ price_min?: number;
25846
+ /** @description Cents, inclusive. Excludes products with no party size. */
25847
+ price_per_person_max?: number;
25848
+ /** @description Cents, inclusive. Excludes products with no party size. */
25849
+ price_per_person_min?: number;
25850
+ q?: string;
25851
+ /**
25852
+ * @description * `relevance` - relevance
25853
+ * * `price_asc` - price_asc
25854
+ * * `price_desc` - price_desc
25855
+ */
25856
+ sort?: "relevance" | "price_asc" | "price_desc";
25857
+ /** @description Narrow to these stores, typically the `store_public_ids` the deliverability read returned. */
25858
+ store_public_ids?: string[];
25859
+ };
25860
+ header?: never;
25861
+ path: {
25862
+ slug: string;
25863
+ };
25864
+ cookie?: never;
25865
+ };
25866
+ requestBody?: never;
25867
+ responses: {
25868
+ 200: {
25869
+ headers: {
25870
+ [name: string]: unknown;
25871
+ };
25872
+ content: {
25873
+ "application/json": components["schemas"]["ProductCollection"];
25874
+ };
25875
+ };
25876
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25877
+ 400: {
25878
+ headers: {
25879
+ [name: string]: unknown;
25880
+ };
25881
+ content: {
25882
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25883
+ };
25884
+ };
25885
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
25886
+ 404: {
25887
+ headers: {
25888
+ [name: string]: unknown;
25889
+ };
25890
+ content: {
25891
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25892
+ };
25893
+ };
25894
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
25895
+ 429: {
25896
+ headers: {
25897
+ [name: string]: unknown;
25898
+ };
25899
+ content: {
25900
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25901
+ };
25902
+ };
25903
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25904
+ 500: {
25905
+ headers: {
25906
+ [name: string]: unknown;
25907
+ };
25908
+ content: {
25909
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25910
+ };
25911
+ };
25912
+ /** @description Possible error codes: `MARKETPLACE_SEARCH_UNAVAILABLE`. Retryable: yes. */
25913
+ 502: {
25914
+ headers: {
25915
+ [name: string]: unknown;
25916
+ };
25917
+ content: {
25918
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25919
+ };
25920
+ };
25921
+ };
25922
+ };
25923
+ discovery_stores_retrieve: {
25924
+ parameters: {
25925
+ query?: never;
25926
+ header?: never;
25927
+ path?: never;
25928
+ cookie?: never;
25929
+ };
25930
+ requestBody?: never;
25931
+ responses: {
25932
+ 200: {
25933
+ headers: {
25934
+ [name: string]: unknown;
25935
+ };
25936
+ content: {
25937
+ "application/json": components["schemas"]["DiscoveryStoreMembership"];
25938
+ };
25939
+ };
25940
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25941
+ 400: {
25942
+ headers: {
25943
+ [name: string]: unknown;
25944
+ };
25945
+ content: {
25946
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25947
+ };
25948
+ };
25949
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
25950
+ 404: {
25951
+ headers: {
25952
+ [name: string]: unknown;
25953
+ };
25954
+ content: {
25955
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25956
+ };
25957
+ };
25958
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
25959
+ 429: {
25960
+ headers: {
25961
+ [name: string]: unknown;
25962
+ };
25963
+ content: {
25964
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25965
+ };
25966
+ };
25967
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25968
+ 500: {
25969
+ headers: {
25970
+ [name: string]: unknown;
25971
+ };
25972
+ content: {
25973
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25974
+ };
25975
+ };
25976
+ };
25977
+ };
25734
25978
  fulfillment_address_check_create: {
25735
25979
  parameters: {
25736
25980
  query?: never;
@@ -36602,6 +36846,8 @@ interface operations {
36602
36846
  products_list: {
36603
36847
  parameters: {
36604
36848
  query?: {
36849
+ /** @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. */
36850
+ country?: string;
36605
36851
  /** @description Sort order for products. Use '-popularity' for most popular first. */
36606
36852
  ordering?: "-popularity" | "-position" | "position";
36607
36853
  /** @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,52 @@ interface paths {
3086
3086
  patch?: never;
3087
3087
  trace?: never;
3088
3088
  };
3089
+ "/api/v1/discovery/product-collections/{slug}/": {
3090
+ parameters: {
3091
+ query?: never;
3092
+ header?: never;
3093
+ path?: never;
3094
+ cookie?: never;
3095
+ };
3096
+ /**
3097
+ * @description Return a collection page in the reader's language.
3098
+ *
3099
+ * Marketplace query parameters narrow the saved collection and never
3100
+ * widen it.
3101
+ */
3102
+ get: operations["discovery_product_collections_retrieve"];
3103
+ put?: never;
3104
+ post?: never;
3105
+ delete?: never;
3106
+ options?: never;
3107
+ head?: never;
3108
+ patch?: never;
3109
+ trace?: never;
3110
+ };
3111
+ "/api/v1/discovery/stores/": {
3112
+ parameters: {
3113
+ query?: never;
3114
+ header?: never;
3115
+ path?: never;
3116
+ cookie?: never;
3117
+ };
3118
+ /**
3119
+ * @description The ``public_id`` of every store on the ExploreSOUS channel.
3120
+ *
3121
+ * A flat membership set, deliberately not a field on the partner index:
3122
+ * that read is brand-grouped and does not say how many locations a brand
3123
+ * has, and this one is a different question. It reveals nothing
3124
+ * ExploreSOUS's sitemap does not, which publishes a URL for every one.
3125
+ */
3126
+ get: operations["discovery_stores_retrieve"];
3127
+ put?: never;
3128
+ post?: never;
3129
+ delete?: never;
3130
+ options?: never;
3131
+ head?: never;
3132
+ patch?: never;
3133
+ trace?: never;
3134
+ };
3089
3135
  "/api/v1/fulfillment/address-check/": {
3090
3136
  parameters: {
3091
3137
  query?: never;
@@ -7617,6 +7663,7 @@ interface components {
7617
7663
  product_type_classified: boolean;
7618
7664
  requires_attestation: boolean;
7619
7665
  deposit_config_enabled: boolean;
7666
+ legacy_product_info_enabled: boolean;
7620
7667
  fields: components["schemas"]["ComplianceSchemaField"][];
7621
7668
  };
7622
7669
  ConfirmEdit: {
@@ -8021,6 +8068,7 @@ interface components {
8021
8068
  price_band: number | null;
8022
8069
  michelin_stars: number | null;
8023
8070
  tags: string[];
8071
+ book_url: string;
8024
8072
  };
8025
8073
  /**
8026
8074
  * @description The whole directory plus its filter vocabulary, in one read.
@@ -8032,6 +8080,10 @@ interface components {
8032
8080
  tags: components["schemas"]["DiscoveryTag"][];
8033
8081
  partners: components["schemas"]["DiscoveryPartner"][];
8034
8082
  };
8083
+ /** @description The stores ExploreSOUS serves, as ``X-Vendor-ID`` values. */
8084
+ DiscoveryStoreMembership: {
8085
+ store_ids: string[];
8086
+ };
8035
8087
  /** @description One filter option, already named in the reader's language. */
8036
8088
  DiscoveryTag: {
8037
8089
  slug: string;
@@ -8535,6 +8587,15 @@ interface components {
8535
8587
  fulfillment_types: {
8536
8588
  [key: string]: number;
8537
8589
  };
8590
+ offering: {
8591
+ [key: string]: number;
8592
+ };
8593
+ menu_types: {
8594
+ [key: string]: number;
8595
+ };
8596
+ party_sizes: {
8597
+ [key: string]: number;
8598
+ };
8538
8599
  };
8539
8600
  /** @description One product, with its name and description in the reader's language. */
8540
8601
  MarketplaceProduct: {
@@ -8551,6 +8612,11 @@ interface components {
8551
8612
  product_url_path: string;
8552
8613
  fulfillment_types: string[];
8553
8614
  cuisine_tags: string[];
8615
+ offering: string | null;
8616
+ menu_types: string[];
8617
+ party_sizes: number[];
8618
+ /** @description Price divided by party size, in cents; null without a party size. */
8619
+ price_per_person_cents: number | null;
8554
8620
  };
8555
8621
  /** @description One page of marketplace products, shaped like the catalogue pagination. */
8556
8622
  MarketplaceSearch: {
@@ -10065,6 +10131,24 @@ interface components {
10065
10131
  pre_order_lead_time?: number | null;
10066
10132
  readonly variant_overrides: components["schemas"]["VariantPriceOverride"][];
10067
10133
  };
10134
+ /**
10135
+ * @description A product collection: its copy, then one page of its products.
10136
+ *
10137
+ * Pinned products come first in staff's order; the saved filter's matches
10138
+ * follow in the reader's sort. ``count`` covers both.
10139
+ */
10140
+ ProductCollection: {
10141
+ count: number;
10142
+ total_pages: number;
10143
+ page: number;
10144
+ next: string | null;
10145
+ previous: string | null;
10146
+ results: components["schemas"]["MarketplaceProduct"][];
10147
+ facets: components["schemas"]["MarketplaceFacets"];
10148
+ slug: string;
10149
+ name: string;
10150
+ description: string;
10151
+ };
10068
10152
  /** @description Resolve tags from ProductTranslation, falling back to Product.tags. */
10069
10153
  ProductDetail: {
10070
10154
  readonly id: number;
@@ -18510,7 +18594,7 @@ interface operations {
18510
18594
  query?: {
18511
18595
  /** @description Delivery destination city. */
18512
18596
  address_city?: string;
18513
- /** @description Delivery destination country as ISO 3166-1 alpha-2 (e.g. NL, BE). Case-insensitive. */
18597
+ /** @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. */
18514
18598
  address_country?: string;
18515
18599
  /** @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. */
18516
18600
  address_street?: string;
@@ -25600,11 +25684,22 @@ interface operations {
25600
25684
  query?: {
25601
25685
  brand_slug?: string;
25602
25686
  cuisine_tags?: string[];
25687
+ /** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
25688
+ date?: string;
25603
25689
  fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
25690
+ /** @description Menu type slugs, for example `vegan` or `meat-fish`. */
25691
+ menu_types?: string[];
25692
+ /** @description Offering slugs, for example `menubox` or `shop`. */
25693
+ offering?: string[];
25604
25694
  page?: number;
25605
25695
  page_size?: number;
25696
+ party_sizes?: number[];
25606
25697
  price_max?: number;
25607
25698
  price_min?: number;
25699
+ /** @description Cents, inclusive. Excludes products with no party size. */
25700
+ price_per_person_max?: number;
25701
+ /** @description Cents, inclusive. Excludes products with no party size. */
25702
+ price_per_person_min?: number;
25608
25703
  q?: string;
25609
25704
  /**
25610
25705
  * @description * `relevance` - relevance
@@ -25731,6 +25826,155 @@ interface operations {
25731
25826
  };
25732
25827
  };
25733
25828
  };
25829
+ discovery_product_collections_retrieve: {
25830
+ parameters: {
25831
+ query?: {
25832
+ brand_slug?: string;
25833
+ cuisine_tags?: string[];
25834
+ /** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
25835
+ date?: string;
25836
+ fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
25837
+ /** @description Menu type slugs, for example `vegan` or `meat-fish`. */
25838
+ menu_types?: string[];
25839
+ /** @description Offering slugs, for example `menubox` or `shop`. */
25840
+ offering?: string[];
25841
+ page?: number;
25842
+ page_size?: number;
25843
+ party_sizes?: number[];
25844
+ price_max?: number;
25845
+ price_min?: number;
25846
+ /** @description Cents, inclusive. Excludes products with no party size. */
25847
+ price_per_person_max?: number;
25848
+ /** @description Cents, inclusive. Excludes products with no party size. */
25849
+ price_per_person_min?: number;
25850
+ q?: string;
25851
+ /**
25852
+ * @description * `relevance` - relevance
25853
+ * * `price_asc` - price_asc
25854
+ * * `price_desc` - price_desc
25855
+ */
25856
+ sort?: "relevance" | "price_asc" | "price_desc";
25857
+ /** @description Narrow to these stores, typically the `store_public_ids` the deliverability read returned. */
25858
+ store_public_ids?: string[];
25859
+ };
25860
+ header?: never;
25861
+ path: {
25862
+ slug: string;
25863
+ };
25864
+ cookie?: never;
25865
+ };
25866
+ requestBody?: never;
25867
+ responses: {
25868
+ 200: {
25869
+ headers: {
25870
+ [name: string]: unknown;
25871
+ };
25872
+ content: {
25873
+ "application/json": components["schemas"]["ProductCollection"];
25874
+ };
25875
+ };
25876
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25877
+ 400: {
25878
+ headers: {
25879
+ [name: string]: unknown;
25880
+ };
25881
+ content: {
25882
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25883
+ };
25884
+ };
25885
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
25886
+ 404: {
25887
+ headers: {
25888
+ [name: string]: unknown;
25889
+ };
25890
+ content: {
25891
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25892
+ };
25893
+ };
25894
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
25895
+ 429: {
25896
+ headers: {
25897
+ [name: string]: unknown;
25898
+ };
25899
+ content: {
25900
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25901
+ };
25902
+ };
25903
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25904
+ 500: {
25905
+ headers: {
25906
+ [name: string]: unknown;
25907
+ };
25908
+ content: {
25909
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25910
+ };
25911
+ };
25912
+ /** @description Possible error codes: `MARKETPLACE_SEARCH_UNAVAILABLE`. Retryable: yes. */
25913
+ 502: {
25914
+ headers: {
25915
+ [name: string]: unknown;
25916
+ };
25917
+ content: {
25918
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25919
+ };
25920
+ };
25921
+ };
25922
+ };
25923
+ discovery_stores_retrieve: {
25924
+ parameters: {
25925
+ query?: never;
25926
+ header?: never;
25927
+ path?: never;
25928
+ cookie?: never;
25929
+ };
25930
+ requestBody?: never;
25931
+ responses: {
25932
+ 200: {
25933
+ headers: {
25934
+ [name: string]: unknown;
25935
+ };
25936
+ content: {
25937
+ "application/json": components["schemas"]["DiscoveryStoreMembership"];
25938
+ };
25939
+ };
25940
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25941
+ 400: {
25942
+ headers: {
25943
+ [name: string]: unknown;
25944
+ };
25945
+ content: {
25946
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25947
+ };
25948
+ };
25949
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
25950
+ 404: {
25951
+ headers: {
25952
+ [name: string]: unknown;
25953
+ };
25954
+ content: {
25955
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25956
+ };
25957
+ };
25958
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
25959
+ 429: {
25960
+ headers: {
25961
+ [name: string]: unknown;
25962
+ };
25963
+ content: {
25964
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25965
+ };
25966
+ };
25967
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25968
+ 500: {
25969
+ headers: {
25970
+ [name: string]: unknown;
25971
+ };
25972
+ content: {
25973
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25974
+ };
25975
+ };
25976
+ };
25977
+ };
25734
25978
  fulfillment_address_check_create: {
25735
25979
  parameters: {
25736
25980
  query?: never;
@@ -36602,6 +36846,8 @@ interface operations {
36602
36846
  products_list: {
36603
36847
  parameters: {
36604
36848
  query?: {
36849
+ /** @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. */
36850
+ country?: string;
36605
36851
  /** @description Sort order for products. Use '-popularity' for most popular first. */
36606
36852
  ordering?: "-popularity" | "-position" | "position";
36607
36853
  /** @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.0.0",
3
+ "version": "4.2.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
  }