@poweredbysous/storefront-all-sdk 4.2.0 → 4.3.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,23 @@ interface paths {
3086
3086
  patch?: never;
3087
3087
  trace?: never;
3088
3088
  };
3089
+ "/api/v1/discovery/product-collections/": {
3090
+ parameters: {
3091
+ query?: never;
3092
+ header?: never;
3093
+ path?: never;
3094
+ cookie?: never;
3095
+ };
3096
+ /** @description List the active product collections in the reader's language. */
3097
+ get: operations["discovery_product_collections_list"];
3098
+ put?: never;
3099
+ post?: never;
3100
+ delete?: never;
3101
+ options?: never;
3102
+ head?: never;
3103
+ patch?: never;
3104
+ trace?: never;
3105
+ };
3089
3106
  "/api/v1/discovery/product-collections/{slug}/": {
3090
3107
  parameters: {
3091
3108
  query?: never;
@@ -10149,6 +10166,14 @@ interface components {
10149
10166
  name: string;
10150
10167
  description: string;
10151
10168
  };
10169
+ /** @description The active product collections, by slug, for the sitemap's URLs. */
10170
+ ProductCollectionList: {
10171
+ collections: components["schemas"]["ProductCollectionSummary"][];
10172
+ };
10173
+ /** @description One listed product collection: its slug, the URL the page lives at. */
10174
+ ProductCollectionSummary: {
10175
+ slug: string;
10176
+ };
10152
10177
  /** @description Resolve tags from ProductTranslation, falling back to Product.tags. */
10153
10178
  ProductDetail: {
10154
10179
  readonly id: number;
@@ -10190,6 +10215,7 @@ interface components {
10190
10215
  readonly modifier_groups: components["schemas"]["ProductModifierGroup"][];
10191
10216
  readonly attribute_values: components["schemas"]["ProductAttributeValue"][];
10192
10217
  readonly net_quantity: string | null;
10218
+ readonly unit_price: components["schemas"]["UnitPrice"] | null;
10193
10219
  readonly images: components["schemas"]["ProductImage"][];
10194
10220
  readonly surcharges: components["schemas"]["Surcharge"][];
10195
10221
  readonly metadata: {
@@ -25826,6 +25852,61 @@ interface operations {
25826
25852
  };
25827
25853
  };
25828
25854
  };
25855
+ discovery_product_collections_list: {
25856
+ parameters: {
25857
+ query?: never;
25858
+ header?: never;
25859
+ path?: never;
25860
+ cookie?: never;
25861
+ };
25862
+ requestBody?: never;
25863
+ responses: {
25864
+ 200: {
25865
+ headers: {
25866
+ [name: string]: unknown;
25867
+ };
25868
+ content: {
25869
+ "application/json": components["schemas"]["ProductCollectionList"];
25870
+ };
25871
+ };
25872
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25873
+ 400: {
25874
+ headers: {
25875
+ [name: string]: unknown;
25876
+ };
25877
+ content: {
25878
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25879
+ };
25880
+ };
25881
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
25882
+ 404: {
25883
+ headers: {
25884
+ [name: string]: unknown;
25885
+ };
25886
+ content: {
25887
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25888
+ };
25889
+ };
25890
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
25891
+ 429: {
25892
+ headers: {
25893
+ [name: string]: unknown;
25894
+ };
25895
+ content: {
25896
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25897
+ };
25898
+ };
25899
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25900
+ 500: {
25901
+ headers: {
25902
+ [name: string]: unknown;
25903
+ };
25904
+ content: {
25905
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25906
+ };
25907
+ };
25908
+ };
25909
+ };
25829
25910
  discovery_product_collections_retrieve: {
25830
25911
  parameters: {
25831
25912
  query?: {
package/dist/index.d.ts CHANGED
@@ -3086,6 +3086,23 @@ interface paths {
3086
3086
  patch?: never;
3087
3087
  trace?: never;
3088
3088
  };
3089
+ "/api/v1/discovery/product-collections/": {
3090
+ parameters: {
3091
+ query?: never;
3092
+ header?: never;
3093
+ path?: never;
3094
+ cookie?: never;
3095
+ };
3096
+ /** @description List the active product collections in the reader's language. */
3097
+ get: operations["discovery_product_collections_list"];
3098
+ put?: never;
3099
+ post?: never;
3100
+ delete?: never;
3101
+ options?: never;
3102
+ head?: never;
3103
+ patch?: never;
3104
+ trace?: never;
3105
+ };
3089
3106
  "/api/v1/discovery/product-collections/{slug}/": {
3090
3107
  parameters: {
3091
3108
  query?: never;
@@ -10149,6 +10166,14 @@ interface components {
10149
10166
  name: string;
10150
10167
  description: string;
10151
10168
  };
10169
+ /** @description The active product collections, by slug, for the sitemap's URLs. */
10170
+ ProductCollectionList: {
10171
+ collections: components["schemas"]["ProductCollectionSummary"][];
10172
+ };
10173
+ /** @description One listed product collection: its slug, the URL the page lives at. */
10174
+ ProductCollectionSummary: {
10175
+ slug: string;
10176
+ };
10152
10177
  /** @description Resolve tags from ProductTranslation, falling back to Product.tags. */
10153
10178
  ProductDetail: {
10154
10179
  readonly id: number;
@@ -10190,6 +10215,7 @@ interface components {
10190
10215
  readonly modifier_groups: components["schemas"]["ProductModifierGroup"][];
10191
10216
  readonly attribute_values: components["schemas"]["ProductAttributeValue"][];
10192
10217
  readonly net_quantity: string | null;
10218
+ readonly unit_price: components["schemas"]["UnitPrice"] | null;
10193
10219
  readonly images: components["schemas"]["ProductImage"][];
10194
10220
  readonly surcharges: components["schemas"]["Surcharge"][];
10195
10221
  readonly metadata: {
@@ -25826,6 +25852,61 @@ interface operations {
25826
25852
  };
25827
25853
  };
25828
25854
  };
25855
+ discovery_product_collections_list: {
25856
+ parameters: {
25857
+ query?: never;
25858
+ header?: never;
25859
+ path?: never;
25860
+ cookie?: never;
25861
+ };
25862
+ requestBody?: never;
25863
+ responses: {
25864
+ 200: {
25865
+ headers: {
25866
+ [name: string]: unknown;
25867
+ };
25868
+ content: {
25869
+ "application/json": components["schemas"]["ProductCollectionList"];
25870
+ };
25871
+ };
25872
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25873
+ 400: {
25874
+ headers: {
25875
+ [name: string]: unknown;
25876
+ };
25877
+ content: {
25878
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25879
+ };
25880
+ };
25881
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
25882
+ 404: {
25883
+ headers: {
25884
+ [name: string]: unknown;
25885
+ };
25886
+ content: {
25887
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25888
+ };
25889
+ };
25890
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
25891
+ 429: {
25892
+ headers: {
25893
+ [name: string]: unknown;
25894
+ };
25895
+ content: {
25896
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25897
+ };
25898
+ };
25899
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
25900
+ 500: {
25901
+ headers: {
25902
+ [name: string]: unknown;
25903
+ };
25904
+ content: {
25905
+ "application/json": components["schemas"]["APIErrorEnvelope"];
25906
+ };
25907
+ };
25908
+ };
25909
+ };
25829
25910
  discovery_product_collections_retrieve: {
25830
25911
  parameters: {
25831
25912
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poweredbysous/storefront-all-sdk",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "description": "Type-safe TypeScript SDK for all SOUS Storefront Backend endpoints",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,