@poweredbysous/storefront-admin-sdk 3.3.0 → 4.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 CHANGED
@@ -3676,6 +3676,7 @@ interface components {
3676
3676
  product_type_classified: boolean;
3677
3677
  requires_attestation: boolean;
3678
3678
  deposit_config_enabled: boolean;
3679
+ legacy_product_info_enabled: boolean;
3679
3680
  fields: components["schemas"]["ComplianceSchemaField"][];
3680
3681
  };
3681
3682
  ConfirmEdit: {
@@ -18996,7 +18997,11 @@ interface operations {
18996
18997
  };
18997
18998
  pickup_locations_time_slots_retrieve: {
18998
18999
  parameters: {
18999
- query?: {
19000
+ query: {
19001
+ /** @description Requested date in ISO-8601 format (YYYY-MM-DD). */
19002
+ date: string;
19003
+ /** @description Set to `local_delivery` to return own-delivery slots. */
19004
+ fulfillment_type?: string;
19000
19005
  /** @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`. */
19001
19006
  lang?: string;
19002
19007
  };
@@ -19232,6 +19237,8 @@ interface operations {
19232
19237
  products_list: {
19233
19238
  parameters: {
19234
19239
  query?: {
19240
+ /** @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. */
19241
+ country?: string;
19235
19242
  /** @description Sort order for products. Use '-popularity' for most popular first. */
19236
19243
  ordering?: "-popularity" | "-position" | "position";
19237
19244
  /** @description A page number within the paginated result set. */
package/dist/index.d.ts CHANGED
@@ -3676,6 +3676,7 @@ interface components {
3676
3676
  product_type_classified: boolean;
3677
3677
  requires_attestation: boolean;
3678
3678
  deposit_config_enabled: boolean;
3679
+ legacy_product_info_enabled: boolean;
3679
3680
  fields: components["schemas"]["ComplianceSchemaField"][];
3680
3681
  };
3681
3682
  ConfirmEdit: {
@@ -18996,7 +18997,11 @@ interface operations {
18996
18997
  };
18997
18998
  pickup_locations_time_slots_retrieve: {
18998
18999
  parameters: {
18999
- query?: {
19000
+ query: {
19001
+ /** @description Requested date in ISO-8601 format (YYYY-MM-DD). */
19002
+ date: string;
19003
+ /** @description Set to `local_delivery` to return own-delivery slots. */
19004
+ fulfillment_type?: string;
19000
19005
  /** @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`. */
19001
19006
  lang?: string;
19002
19007
  };
@@ -19232,6 +19237,8 @@ interface operations {
19232
19237
  products_list: {
19233
19238
  parameters: {
19234
19239
  query?: {
19240
+ /** @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. */
19241
+ country?: string;
19235
19242
  /** @description Sort order for products. Use '-popularity' for most popular first. */
19236
19243
  ordering?: "-popularity" | "-position" | "position";
19237
19244
  /** @description A page number within the paginated result set. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poweredbysous/storefront-admin-sdk",
3
- "version": "3.3.0",
3
+ "version": "4.0.1",
4
4
  "description": "Type-safe TypeScript SDK for SOUS Storefront Backend admin 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
  }