@poweredbysous/storefront-all-sdk 4.17.0 → 4.18.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
@@ -9658,6 +9658,10 @@ interface components {
9658
9658
  party_sizes: {
9659
9659
  [key: string]: number;
9660
9660
  };
9661
+ /** @description Date (YYYY-MM-DD) to how many matching products can be delivered that day. The `date` parameter never narrows these counts. */
9662
+ servable_dates: {
9663
+ [key: string]: number;
9664
+ };
9661
9665
  };
9662
9666
  /** @description One product, with its name and description in the reader's language. */
9663
9667
  MarketplaceProduct: {
@@ -9687,6 +9691,8 @@ interface components {
9687
9691
  party_sizes: number[];
9688
9692
  /** @description Price divided by party size, in cents; null without a party size. */
9689
9693
  price_per_person_cents: number | null;
9694
+ /** @description Store-local dates in the next 90 days on which the cart would accept this product alone for delivery, ascending. A snapshot (see `availability_computed_at`): add-to-cart is the authority. */
9695
+ servable_dates: string[];
9690
9696
  };
9691
9697
  /** @description One page of marketplace products, shaped like the catalogue pagination. */
9692
9698
  MarketplaceSearch: {
@@ -9697,6 +9703,11 @@ interface components {
9697
9703
  previous: string | null;
9698
9704
  results: components["schemas"]["MarketplaceProduct"][];
9699
9705
  facets: components["schemas"]["MarketplaceFacets"];
9706
+ /**
9707
+ * Format: date-time
9708
+ * @description When the stalest result's `servable_dates` were computed; null when there are no results.
9709
+ */
9710
+ availability_computed_at: string | null;
9700
9711
  };
9701
9712
  /**
9702
9713
  * @description * `all` - All
@@ -11354,6 +11365,11 @@ interface components {
11354
11365
  previous: string | null;
11355
11366
  results: components["schemas"]["MarketplaceProduct"][];
11356
11367
  facets: components["schemas"]["MarketplaceFacets"];
11368
+ /**
11369
+ * Format: date-time
11370
+ * @description When the stalest result's `servable_dates` were computed; null when there are no results.
11371
+ */
11372
+ availability_computed_at: string | null;
11357
11373
  slug: string;
11358
11374
  name: string;
11359
11375
  description: string;
@@ -11475,6 +11491,9 @@ interface components {
11475
11491
  readonly trend_score: string | null;
11476
11492
  readonly promotion: components["schemas"]["ProductPromotion"] | null;
11477
11493
  readonly auto_discount: components["schemas"]["ProductAutoDiscount"] | null;
11494
+ /** Format: decimal */
11495
+ readonly customer_service_fee: string | null;
11496
+ readonly peak_delivery_dates: string[];
11478
11497
  /** Format: date-time */
11479
11498
  readonly created_at: string;
11480
11499
  /** Format: date-time */
@@ -29254,7 +29273,7 @@ interface operations {
29254
29273
  /** @description Only products created within this many days. */
29255
29274
  created_within_days?: number;
29256
29275
  cuisine_tags?: string[];
29257
- /** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
29276
+ /** @description The delivery date the reader has chosen (YYYY-MM-DD). A hint, not a filter: products that cannot be delivered that day are still listed and counted, and each result's `servable_dates` says whether it can. Add-to-cart is the authority. */
29258
29277
  date?: string;
29259
29278
  fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
29260
29279
  /** @description Menu type slugs, for example `vegan` or `meat-fish`. */
@@ -29462,7 +29481,7 @@ interface operations {
29462
29481
  /** @description Only products created within this many days. */
29463
29482
  created_within_days?: number;
29464
29483
  cuisine_tags?: string[];
29465
- /** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
29484
+ /** @description The delivery date the reader has chosen (YYYY-MM-DD). A hint, not a filter: products that cannot be delivered that day are still listed and counted, and each result's `servable_dates` says whether it can. Add-to-cart is the authority. */
29466
29485
  date?: string;
29467
29486
  fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
29468
29487
  /** @description Menu type slugs, for example `vegan` or `meat-fish`. */
package/dist/index.d.ts CHANGED
@@ -9658,6 +9658,10 @@ interface components {
9658
9658
  party_sizes: {
9659
9659
  [key: string]: number;
9660
9660
  };
9661
+ /** @description Date (YYYY-MM-DD) to how many matching products can be delivered that day. The `date` parameter never narrows these counts. */
9662
+ servable_dates: {
9663
+ [key: string]: number;
9664
+ };
9661
9665
  };
9662
9666
  /** @description One product, with its name and description in the reader's language. */
9663
9667
  MarketplaceProduct: {
@@ -9687,6 +9691,8 @@ interface components {
9687
9691
  party_sizes: number[];
9688
9692
  /** @description Price divided by party size, in cents; null without a party size. */
9689
9693
  price_per_person_cents: number | null;
9694
+ /** @description Store-local dates in the next 90 days on which the cart would accept this product alone for delivery, ascending. A snapshot (see `availability_computed_at`): add-to-cart is the authority. */
9695
+ servable_dates: string[];
9690
9696
  };
9691
9697
  /** @description One page of marketplace products, shaped like the catalogue pagination. */
9692
9698
  MarketplaceSearch: {
@@ -9697,6 +9703,11 @@ interface components {
9697
9703
  previous: string | null;
9698
9704
  results: components["schemas"]["MarketplaceProduct"][];
9699
9705
  facets: components["schemas"]["MarketplaceFacets"];
9706
+ /**
9707
+ * Format: date-time
9708
+ * @description When the stalest result's `servable_dates` were computed; null when there are no results.
9709
+ */
9710
+ availability_computed_at: string | null;
9700
9711
  };
9701
9712
  /**
9702
9713
  * @description * `all` - All
@@ -11354,6 +11365,11 @@ interface components {
11354
11365
  previous: string | null;
11355
11366
  results: components["schemas"]["MarketplaceProduct"][];
11356
11367
  facets: components["schemas"]["MarketplaceFacets"];
11368
+ /**
11369
+ * Format: date-time
11370
+ * @description When the stalest result's `servable_dates` were computed; null when there are no results.
11371
+ */
11372
+ availability_computed_at: string | null;
11357
11373
  slug: string;
11358
11374
  name: string;
11359
11375
  description: string;
@@ -11475,6 +11491,9 @@ interface components {
11475
11491
  readonly trend_score: string | null;
11476
11492
  readonly promotion: components["schemas"]["ProductPromotion"] | null;
11477
11493
  readonly auto_discount: components["schemas"]["ProductAutoDiscount"] | null;
11494
+ /** Format: decimal */
11495
+ readonly customer_service_fee: string | null;
11496
+ readonly peak_delivery_dates: string[];
11478
11497
  /** Format: date-time */
11479
11498
  readonly created_at: string;
11480
11499
  /** Format: date-time */
@@ -29254,7 +29273,7 @@ interface operations {
29254
29273
  /** @description Only products created within this many days. */
29255
29274
  created_within_days?: number;
29256
29275
  cuisine_tags?: string[];
29257
- /** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
29276
+ /** @description The delivery date the reader has chosen (YYYY-MM-DD). A hint, not a filter: products that cannot be delivered that day are still listed and counted, and each result's `servable_dates` says whether it can. Add-to-cart is the authority. */
29258
29277
  date?: string;
29259
29278
  fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
29260
29279
  /** @description Menu type slugs, for example `vegan` or `meat-fish`. */
@@ -29462,7 +29481,7 @@ interface operations {
29462
29481
  /** @description Only products created within this many days. */
29463
29482
  created_within_days?: number;
29464
29483
  cuisine_tags?: string[];
29465
- /** @description Only products servable on this store-local date (YYYY-MM-DD), within the next 60 days. Advisory: add-to-cart is the authority. */
29484
+ /** @description The delivery date the reader has chosen (YYYY-MM-DD). A hint, not a filter: products that cannot be delivered that day are still listed and counted, and each result's `servable_dates` says whether it can. Add-to-cart is the authority. */
29466
29485
  date?: string;
29467
29486
  fulfillment_types?: ("delivery" | "pickup" | "dinein")[];
29468
29487
  /** @description Menu type slugs, for example `vegan` or `meat-fish`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poweredbysous/storefront-all-sdk",
3
- "version": "4.17.0",
3
+ "version": "4.18.0",
4
4
  "description": "Type-safe TypeScript SDK for all SOUS Storefront Backend endpoints",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,