@poweredbysous/storefront-all-sdk 4.0.0 → 4.1.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
@@ -3086,6 +3086,30 @@ interface paths {
3086
3086
  patch?: never;
3087
3087
  trace?: never;
3088
3088
  };
3089
+ "/api/v1/discovery/stores/": {
3090
+ parameters: {
3091
+ query?: never;
3092
+ header?: never;
3093
+ path?: never;
3094
+ cookie?: never;
3095
+ };
3096
+ /**
3097
+ * @description The ``public_id`` of every store on the ExploreSOUS channel.
3098
+ *
3099
+ * A flat membership set, deliberately not a field on the partner index:
3100
+ * that read is brand-grouped and does not say how many locations a brand
3101
+ * has, and this one is a different question. It reveals nothing
3102
+ * ExploreSOUS's sitemap does not, which publishes a URL for every one.
3103
+ */
3104
+ get: operations["discovery_stores_retrieve"];
3105
+ put?: never;
3106
+ post?: never;
3107
+ delete?: never;
3108
+ options?: never;
3109
+ head?: never;
3110
+ patch?: never;
3111
+ trace?: never;
3112
+ };
3089
3113
  "/api/v1/fulfillment/address-check/": {
3090
3114
  parameters: {
3091
3115
  query?: never;
@@ -8021,6 +8045,7 @@ interface components {
8021
8045
  price_band: number | null;
8022
8046
  michelin_stars: number | null;
8023
8047
  tags: string[];
8048
+ book_url: string;
8024
8049
  };
8025
8050
  /**
8026
8051
  * @description The whole directory plus its filter vocabulary, in one read.
@@ -8032,6 +8057,10 @@ interface components {
8032
8057
  tags: components["schemas"]["DiscoveryTag"][];
8033
8058
  partners: components["schemas"]["DiscoveryPartner"][];
8034
8059
  };
8060
+ /** @description The stores ExploreSOUS serves, as ``X-Vendor-ID`` values. */
8061
+ DiscoveryStoreMembership: {
8062
+ store_ids: string[];
8063
+ };
8035
8064
  /** @description One filter option, already named in the reader's language. */
8036
8065
  DiscoveryTag: {
8037
8066
  slug: string;
@@ -25731,6 +25760,61 @@ interface operations {
25731
25760
  };
25732
25761
  };
25733
25762
  };
25763
+ discovery_stores_retrieve: {
25764
+ parameters: {
25765
+ query?: never;
25766
+ header?: never;
25767
+ path?: never;
25768
+ cookie?: never;
25769
+ };
25770
+ requestBody?: never;
25771
+ responses: {
25772
+ 200: {
25773
+ headers: {
25774
+ [name: string]: unknown;
25775
+ };
25776
+ content: {
25777
+ "application/json": components["schemas"]["DiscoveryStoreMembership"];
25778
+ };
25779
+ };
25780
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25781
+ 400: {
25782
+ headers: {
25783
+ [name: string]: unknown;
25784
+ };
25785
+ content: {
25786
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25787
+ };
25788
+ };
25789
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
25790
+ 404: {
25791
+ headers: {
25792
+ [name: string]: unknown;
25793
+ };
25794
+ content: {
25795
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25796
+ };
25797
+ };
25798
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
25799
+ 429: {
25800
+ headers: {
25801
+ [name: string]: unknown;
25802
+ };
25803
+ content: {
25804
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25805
+ };
25806
+ };
25807
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25808
+ 500: {
25809
+ headers: {
25810
+ [name: string]: unknown;
25811
+ };
25812
+ content: {
25813
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25814
+ };
25815
+ };
25816
+ };
25817
+ };
25734
25818
  fulfillment_address_check_create: {
25735
25819
  parameters: {
25736
25820
  query?: never;
package/dist/index.d.ts CHANGED
@@ -3086,6 +3086,30 @@ interface paths {
3086
3086
  patch?: never;
3087
3087
  trace?: never;
3088
3088
  };
3089
+ "/api/v1/discovery/stores/": {
3090
+ parameters: {
3091
+ query?: never;
3092
+ header?: never;
3093
+ path?: never;
3094
+ cookie?: never;
3095
+ };
3096
+ /**
3097
+ * @description The ``public_id`` of every store on the ExploreSOUS channel.
3098
+ *
3099
+ * A flat membership set, deliberately not a field on the partner index:
3100
+ * that read is brand-grouped and does not say how many locations a brand
3101
+ * has, and this one is a different question. It reveals nothing
3102
+ * ExploreSOUS's sitemap does not, which publishes a URL for every one.
3103
+ */
3104
+ get: operations["discovery_stores_retrieve"];
3105
+ put?: never;
3106
+ post?: never;
3107
+ delete?: never;
3108
+ options?: never;
3109
+ head?: never;
3110
+ patch?: never;
3111
+ trace?: never;
3112
+ };
3089
3113
  "/api/v1/fulfillment/address-check/": {
3090
3114
  parameters: {
3091
3115
  query?: never;
@@ -8021,6 +8045,7 @@ interface components {
8021
8045
  price_band: number | null;
8022
8046
  michelin_stars: number | null;
8023
8047
  tags: string[];
8048
+ book_url: string;
8024
8049
  };
8025
8050
  /**
8026
8051
  * @description The whole directory plus its filter vocabulary, in one read.
@@ -8032,6 +8057,10 @@ interface components {
8032
8057
  tags: components["schemas"]["DiscoveryTag"][];
8033
8058
  partners: components["schemas"]["DiscoveryPartner"][];
8034
8059
  };
8060
+ /** @description The stores ExploreSOUS serves, as ``X-Vendor-ID`` values. */
8061
+ DiscoveryStoreMembership: {
8062
+ store_ids: string[];
8063
+ };
8035
8064
  /** @description One filter option, already named in the reader's language. */
8036
8065
  DiscoveryTag: {
8037
8066
  slug: string;
@@ -25731,6 +25760,61 @@ interface operations {
25731
25760
  };
25732
25761
  };
25733
25762
  };
25763
+ discovery_stores_retrieve: {
25764
+ parameters: {
25765
+ query?: never;
25766
+ header?: never;
25767
+ path?: never;
25768
+ cookie?: never;
25769
+ };
25770
+ requestBody?: never;
25771
+ responses: {
25772
+ 200: {
25773
+ headers: {
25774
+ [name: string]: unknown;
25775
+ };
25776
+ content: {
25777
+ "application/json": components["schemas"]["DiscoveryStoreMembership"];
25778
+ };
25779
+ };
25780
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25781
+ 400: {
25782
+ headers: {
25783
+ [name: string]: unknown;
25784
+ };
25785
+ content: {
25786
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25787
+ };
25788
+ };
25789
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
25790
+ 404: {
25791
+ headers: {
25792
+ [name: string]: unknown;
25793
+ };
25794
+ content: {
25795
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25796
+ };
25797
+ };
25798
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
25799
+ 429: {
25800
+ headers: {
25801
+ [name: string]: unknown;
25802
+ };
25803
+ content: {
25804
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25805
+ };
25806
+ };
25807
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25808
+ 500: {
25809
+ headers: {
25810
+ [name: string]: unknown;
25811
+ };
25812
+ content: {
25813
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25814
+ };
25815
+ };
25816
+ };
25817
+ };
25734
25818
  fulfillment_address_check_create: {
25735
25819
  parameters: {
25736
25820
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poweredbysous/storefront-all-sdk",
3
- "version": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "description": "Type-safe TypeScript SDK for all SOUS Storefront Backend endpoints",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,