@poweredbysous/storefront-sdk 3.0.0 → 3.0.2

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
@@ -4015,6 +4015,7 @@ interface components {
4015
4015
  readonly modifier_groups: components["schemas"]["ProductModifierGroup"][];
4016
4016
  readonly attribute_values: components["schemas"]["ProductAttributeValue"][];
4017
4017
  readonly net_quantity: string | null;
4018
+ readonly unit_price: components["schemas"]["UnitPrice"] | null;
4018
4019
  readonly images: components["schemas"]["ProductImage"][];
4019
4020
  readonly surcharges: components["schemas"]["Surcharge"][];
4020
4021
  readonly metadata: {
@@ -5799,7 +5800,7 @@ interface operations {
5799
5800
  query?: {
5800
5801
  /** @description Delivery destination city. */
5801
5802
  address_city?: string;
5802
- /** @description Delivery destination country as ISO 3166-1 alpha-2 (e.g. NL, BE). Case-insensitive. */
5803
+ /** @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. */
5803
5804
  address_country?: string;
5804
5805
  /** @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. */
5805
5806
  address_street?: string;
@@ -15540,6 +15541,8 @@ interface operations {
15540
15541
  products_list: {
15541
15542
  parameters: {
15542
15543
  query?: {
15544
+ /** @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. */
15545
+ country?: string;
15543
15546
  /** @description Sort order for products. Use '-popularity' for most popular first. */
15544
15547
  ordering?: "-popularity" | "-position" | "position";
15545
15548
  /** @description A page number within the paginated result set. */
package/dist/index.d.ts CHANGED
@@ -4015,6 +4015,7 @@ interface components {
4015
4015
  readonly modifier_groups: components["schemas"]["ProductModifierGroup"][];
4016
4016
  readonly attribute_values: components["schemas"]["ProductAttributeValue"][];
4017
4017
  readonly net_quantity: string | null;
4018
+ readonly unit_price: components["schemas"]["UnitPrice"] | null;
4018
4019
  readonly images: components["schemas"]["ProductImage"][];
4019
4020
  readonly surcharges: components["schemas"]["Surcharge"][];
4020
4021
  readonly metadata: {
@@ -5799,7 +5800,7 @@ interface operations {
5799
5800
  query?: {
5800
5801
  /** @description Delivery destination city. */
5801
5802
  address_city?: string;
5802
- /** @description Delivery destination country as ISO 3166-1 alpha-2 (e.g. NL, BE). Case-insensitive. */
5803
+ /** @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. */
5803
5804
  address_country?: string;
5804
5805
  /** @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. */
5805
5806
  address_street?: string;
@@ -15540,6 +15541,8 @@ interface operations {
15540
15541
  products_list: {
15541
15542
  parameters: {
15542
15543
  query?: {
15544
+ /** @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. */
15545
+ country?: string;
15543
15546
  /** @description Sort order for products. Use '-popularity' for most popular first. */
15544
15547
  ordering?: "-popularity" | "-position" | "position";
15545
15548
  /** @description A page number within the paginated result set. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poweredbysous/storefront-sdk",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "Type-safe TypeScript SDK for SOUS Storefront Backend",
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
  }