@sonic-commerce/storefront-types 0.23.0 → 0.23.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.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // Generated by scripts/build.mjs from app/openapi/public-api.json — do not edit.
2
- // Spec version 0.23.0, 54 named schemas.
2
+ // Spec version 0.23.2, 54 named schemas.
3
3
 
4
4
  export type { paths, components, operations } from "./schema";
5
5
  import type { components } from "./schema";
package/dist/schema.d.ts CHANGED
@@ -1549,7 +1549,10 @@ export interface paths {
1549
1549
  post: {
1550
1550
  parameters: {
1551
1551
  query?: never;
1552
- header?: never;
1552
+ header?: {
1553
+ /** @description The shopper's IP address (one IPv4 or IPv6 address). **Required on the shared API host**, where the caller is the storefront's server: this endpoint is rate-limited per shopper, and the request is refused with a 400 without it. Ignored on a store's own custom domain, where the caller's address is the shopper's. */
1554
+ "x-shopper-ip"?: string;
1555
+ };
1553
1556
  path?: never;
1554
1557
  cookie?: never;
1555
1558
  };
@@ -1612,7 +1615,10 @@ export interface paths {
1612
1615
  post: {
1613
1616
  parameters: {
1614
1617
  query?: never;
1615
- header?: never;
1618
+ header?: {
1619
+ /** @description The shopper's IP address (one IPv4 or IPv6 address). **Required on the shared API host**, where the caller is the storefront's server: this endpoint is rate-limited per shopper, and the request is refused with a 400 without it. Ignored on a store's own custom domain, where the caller's address is the shopper's. */
1620
+ "x-shopper-ip"?: string;
1621
+ };
1616
1622
  path?: never;
1617
1623
  cookie?: never;
1618
1624
  };
@@ -1804,7 +1810,10 @@ export interface paths {
1804
1810
  post: {
1805
1811
  parameters: {
1806
1812
  query?: never;
1807
- header?: never;
1813
+ header?: {
1814
+ /** @description The shopper's IP address (one IPv4 or IPv6 address). **Required on the shared API host**, where the caller is the storefront's server: this endpoint is rate-limited per shopper, and the request is refused with a 400 without it. Ignored on a store's own custom domain, where the caller's address is the shopper's. */
1815
+ "x-shopper-ip"?: string;
1816
+ };
1808
1817
  path?: never;
1809
1818
  cookie?: never;
1810
1819
  };
@@ -3453,7 +3462,10 @@ export interface paths {
3453
3462
  /** @description The email the order was placed with. */
3454
3463
  email: string;
3455
3464
  };
3456
- header?: never;
3465
+ header?: {
3466
+ /** @description The shopper's IP address (one IPv4 or IPv6 address). **Required on the shared API host**, where the caller is the storefront's server: this endpoint is rate-limited per shopper, and the request is refused with a 400 without it. Ignored on a store's own custom domain, where the caller's address is the shopper's. */
3467
+ "x-shopper-ip"?: string;
3468
+ };
3457
3469
  path?: never;
3458
3470
  cookie?: never;
3459
3471
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonic-commerce/storefront-types",
3
- "version": "0.23.0",
3
+ "version": "0.23.2",
4
4
  "description": "TypeScript types for the Sonic Commerce storefront API (/api/v1).",
5
5
  "keywords": ["sonic-commerce", "openapi", "types", "storefront"],
6
6
  "license": "UNLICENSED",