@poweredbysous/storefront-sdk 3.0.0 → 3.0.1
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 +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -5799,7 +5799,7 @@ interface operations {
|
|
|
5799
5799
|
query?: {
|
|
5800
5800
|
/** @description Delivery destination city. */
|
|
5801
5801
|
address_city?: string;
|
|
5802
|
-
/** @description Delivery destination country as ISO 3166-1 alpha-2 (e.g. NL, BE). Case-insensitive. */
|
|
5802
|
+
/** @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
5803
|
address_country?: string;
|
|
5804
5804
|
/** @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
5805
|
address_street?: string;
|
|
@@ -15540,6 +15540,8 @@ interface operations {
|
|
|
15540
15540
|
products_list: {
|
|
15541
15541
|
parameters: {
|
|
15542
15542
|
query?: {
|
|
15543
|
+
/** @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. */
|
|
15544
|
+
country?: string;
|
|
15543
15545
|
/** @description Sort order for products. Use '-popularity' for most popular first. */
|
|
15544
15546
|
ordering?: "-popularity" | "-position" | "position";
|
|
15545
15547
|
/** @description A page number within the paginated result set. */
|
package/dist/index.d.ts
CHANGED
|
@@ -5799,7 +5799,7 @@ interface operations {
|
|
|
5799
5799
|
query?: {
|
|
5800
5800
|
/** @description Delivery destination city. */
|
|
5801
5801
|
address_city?: string;
|
|
5802
|
-
/** @description Delivery destination country as ISO 3166-1 alpha-2 (e.g. NL, BE). Case-insensitive. */
|
|
5802
|
+
/** @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
5803
|
address_country?: string;
|
|
5804
5804
|
/** @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
5805
|
address_street?: string;
|
|
@@ -15540,6 +15540,8 @@ interface operations {
|
|
|
15540
15540
|
products_list: {
|
|
15541
15541
|
parameters: {
|
|
15542
15542
|
query?: {
|
|
15543
|
+
/** @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. */
|
|
15544
|
+
country?: string;
|
|
15543
15545
|
/** @description Sort order for products. Use '-popularity' for most popular first. */
|
|
15544
15546
|
ordering?: "-popularity" | "-position" | "position";
|
|
15545
15547
|
/** @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.
|
|
3
|
+
"version": "3.0.1",
|
|
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": "^
|
|
44
|
+
"vitest": "^5.0.3"
|
|
45
45
|
}
|
|
46
46
|
}
|