ce-storefront 0.13.1 → 0.13.3

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.
Files changed (105) hide show
  1. package/FUNCTIONS.md +5 -22
  2. package/README.md +44 -58
  3. package/docs/sdks/auth/README.md +50 -90
  4. package/docs/sdks/carts/README.md +60 -108
  5. package/docs/sdks/catalog/README.md +62 -104
  6. package/docs/sdks/common/README.md +5 -9
  7. package/docs/sdks/customers/README.md +35 -63
  8. package/docs/sdks/orders/README.md +35 -63
  9. package/docs/sdks/shipping/README.md +5 -9
  10. package/esm/funcs/catalogGetProductDetail.d.ts +1 -1
  11. package/esm/funcs/catalogGetProductDetail.js +5 -11
  12. package/esm/funcs/catalogGetProductDetail.js.map +1 -1
  13. package/esm/funcs/catalogGetVariantDetail.js +2 -5
  14. package/esm/funcs/catalogGetVariantDetail.js.map +1 -1
  15. package/esm/funcs/catalogListCategories.js +1 -0
  16. package/esm/funcs/catalogListCategories.js.map +1 -1
  17. package/esm/funcs/catalogListCrosssellProducts.js +2 -1
  18. package/esm/funcs/catalogListCrosssellProducts.js.map +1 -1
  19. package/esm/funcs/catalogListProductVariants.js +2 -5
  20. package/esm/funcs/catalogListProductVariants.js.map +1 -1
  21. package/esm/funcs/catalogListProducts.js +3 -2
  22. package/esm/funcs/catalogListProducts.js.map +1 -1
  23. package/esm/funcs/catalogListSimilarProducts.js +2 -1
  24. package/esm/funcs/catalogListSimilarProducts.js.map +1 -1
  25. package/esm/funcs/catalogListSkus.js +2 -2
  26. package/esm/funcs/catalogListSkus.js.map +1 -1
  27. package/esm/funcs/catalogListUpsellProducts.js +2 -1
  28. package/esm/funcs/catalogListUpsellProducts.js.map +1 -1
  29. package/esm/index.d.ts +2 -0
  30. package/esm/index.d.ts.map +1 -1
  31. package/esm/index.js +1 -0
  32. package/esm/index.js.map +1 -1
  33. package/esm/lib/config.d.ts +3 -3
  34. package/esm/lib/config.js +3 -3
  35. package/esm/models/components/productreview.d.ts +1 -10
  36. package/esm/models/components/productreview.d.ts.map +1 -1
  37. package/esm/models/components/productreview.js +2 -5
  38. package/esm/models/components/productreview.js.map +1 -1
  39. package/esm/models/errors/ceerror.d.ts +14 -2
  40. package/esm/models/errors/ceerror.d.ts.map +1 -1
  41. package/esm/models/errors/ceerror.js +1 -1
  42. package/esm/models/errors/ceerror.js.map +1 -1
  43. package/esm/models/operations/getproductdetail.d.ts +5 -5
  44. package/esm/models/operations/getproductdetail.d.ts.map +1 -1
  45. package/esm/models/operations/getproductdetail.js +4 -4
  46. package/esm/models/operations/getproductdetail.js.map +1 -1
  47. package/esm/models/operations/getvariantdetail.d.ts +5 -5
  48. package/esm/models/operations/getvariantdetail.d.ts.map +1 -1
  49. package/esm/models/operations/getvariantdetail.js +4 -4
  50. package/esm/models/operations/getvariantdetail.js.map +1 -1
  51. package/esm/models/operations/listcategories.d.ts +6 -1
  52. package/esm/models/operations/listcategories.d.ts.map +1 -1
  53. package/esm/models/operations/listcategories.js +4 -0
  54. package/esm/models/operations/listcategories.js.map +1 -1
  55. package/esm/models/operations/listcrosssellproducts.d.ts +5 -0
  56. package/esm/models/operations/listcrosssellproducts.d.ts.map +1 -1
  57. package/esm/models/operations/listcrosssellproducts.js +4 -0
  58. package/esm/models/operations/listcrosssellproducts.js.map +1 -1
  59. package/esm/models/operations/listproducts.d.ts +7 -2
  60. package/esm/models/operations/listproducts.d.ts.map +1 -1
  61. package/esm/models/operations/listproducts.js +4 -0
  62. package/esm/models/operations/listproducts.js.map +1 -1
  63. package/esm/models/operations/listproductvariants.d.ts +5 -5
  64. package/esm/models/operations/listproductvariants.d.ts.map +1 -1
  65. package/esm/models/operations/listproductvariants.js +4 -4
  66. package/esm/models/operations/listproductvariants.js.map +1 -1
  67. package/esm/models/operations/listsimilarproducts.d.ts +5 -0
  68. package/esm/models/operations/listsimilarproducts.d.ts.map +1 -1
  69. package/esm/models/operations/listsimilarproducts.js +4 -0
  70. package/esm/models/operations/listsimilarproducts.js.map +1 -1
  71. package/esm/models/operations/listskus.d.ts +5 -5
  72. package/esm/models/operations/listskus.d.ts.map +1 -1
  73. package/esm/models/operations/listskus.js +2 -2
  74. package/esm/models/operations/listskus.js.map +1 -1
  75. package/esm/models/operations/listupsellproducts.d.ts +5 -0
  76. package/esm/models/operations/listupsellproducts.d.ts.map +1 -1
  77. package/esm/models/operations/listupsellproducts.js +4 -0
  78. package/esm/models/operations/listupsellproducts.js.map +1 -1
  79. package/esm/sdk/catalog.d.ts +1 -1
  80. package/esm/sdk/catalog.js +1 -1
  81. package/jsr.json +1 -1
  82. package/package.json +1 -1
  83. package/src/funcs/catalogGetProductDetail.ts +13 -12
  84. package/src/funcs/catalogGetVariantDetail.ts +6 -6
  85. package/src/funcs/catalogListCategories.ts +1 -0
  86. package/src/funcs/catalogListCrosssellProducts.ts +6 -1
  87. package/src/funcs/catalogListProductVariants.ts +6 -6
  88. package/src/funcs/catalogListProducts.ts +7 -2
  89. package/src/funcs/catalogListSimilarProducts.ts +6 -1
  90. package/src/funcs/catalogListSkus.ts +6 -2
  91. package/src/funcs/catalogListUpsellProducts.ts +6 -1
  92. package/src/index.ts +2 -0
  93. package/src/lib/config.ts +3 -3
  94. package/src/models/components/productreview.ts +3 -6
  95. package/src/models/errors/ceerror.ts +18 -3
  96. package/src/models/operations/getproductdetail.ts +9 -9
  97. package/src/models/operations/getvariantdetail.ts +9 -9
  98. package/src/models/operations/listcategories.ts +10 -1
  99. package/src/models/operations/listcrosssellproducts.ts +9 -0
  100. package/src/models/operations/listproducts.ts +11 -2
  101. package/src/models/operations/listproductvariants.ts +9 -9
  102. package/src/models/operations/listsimilarproducts.ts +9 -0
  103. package/src/models/operations/listskus.ts +7 -7
  104. package/src/models/operations/listupsellproducts.ts +9 -0
  105. package/src/sdk/catalog.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"listupsellproducts.js","sourceRoot":"","sources":["../../../src/models/operations/listupsellproducts.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH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CAAC;AASH,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,wCAAwC,CAAC;CAChE,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,+BAA+B,CAO/C;AAPD,WAAiB,+BAA+B;IAC9C,8EAA8E;IACjE,6CAAa,GAAG,4CAA4C,CAAC;IAC1E,+EAA+E;IAClE,8CAAc,GAAG,6CAA6C,CAAC;AAG9E,CAAC,EAPgB,+BAA+B,KAA/B,+BAA+B,QAO/C;AAED,MAAM,UAAU,oCAAoC,CAClD,8BAA8D;IAE9D,OAAO,IAAI,CAAC,SAAS,CACnB,6CAA6C,CAAC,KAAK,CACjD,8BAA8B,CAC/B,CACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sCAAsC,CACpD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAA4C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,4DAA4D,CAC7D,CAAC;AACJ,CAAC"}
@@ -20,7 +20,7 @@ export declare class Catalog extends ClientSDK {
20
20
  * Retrieve a product detail
21
21
  *
22
22
  * @remarks
23
- * Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Commerce Engine will return the corresponding product information.
23
+ * Retrieves the details of an existing product. Supply either the unique product ID or the unique slug, and Commerce Engine will return the corresponding product information.
24
24
  */
25
25
  getProductDetail(request: operations.GetProductDetailRequest, options?: RequestOptions): Promise<operations.GetProductDetailResponseBody>;
26
26
  /**
@@ -37,7 +37,7 @@ export class Catalog extends ClientSDK {
37
37
  * Retrieve a product detail
38
38
  *
39
39
  * @remarks
40
- * Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Commerce Engine will return the corresponding product information.
40
+ * Retrieves the details of an existing product. Supply either the unique product ID or the unique slug, and Commerce Engine will return the corresponding product information.
41
41
  */
42
42
  async getProductDetail(request, options) {
43
43
  return unwrapAsync(catalogGetProductDetail(this, request, options));
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "ce-storefront",
5
- "version": "0.13.1",
5
+ "version": "0.13.3",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ce-storefront",
3
- "version": "0.13.1",
3
+ "version": "0.13.3",
4
4
  "author": "TarkAI",
5
5
  "type": "module",
6
6
  "main": "./esm/index.js",
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { CeStorefrontCore } from "../core.js";
6
- import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
6
+ import { encodeSimple } from "../lib/encodings.js";
7
7
  import * as M from "../lib/matchers.js";
8
8
  import { compactMap } from "../lib/primitives.js";
9
9
  import { safeParse } from "../lib/schemas.js";
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * Retrieve a product detail
29
29
  *
30
30
  * @remarks
31
- * Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Commerce Engine will return the corresponding product information.
31
+ * Retrieves the details of an existing product. Supply either the unique product ID or the unique slug, and Commerce Engine will return the corresponding product information.
32
32
  */
33
33
  export function catalogGetProductDetail(
34
34
  client: CeStorefrontCore,
@@ -88,20 +88,22 @@ async function $do(
88
88
  const body = null;
89
89
 
90
90
  const pathParams = {
91
- product_id: encodeSimple("product_id", payload.product_id, {
92
- explode: false,
93
- charEncoding: "percent",
94
- }),
91
+ product_id_or_slug: encodeSimple(
92
+ "product_id_or_slug",
93
+ payload.product_id_or_slug,
94
+ { explode: false, charEncoding: "percent" },
95
+ ),
95
96
  };
96
97
 
97
- const path = pathToFunc("/catalog/products/{product_id}")(pathParams);
98
-
99
- const query = encodeFormQuery({
100
- "customer_group_id": payload.customer_group_id,
101
- });
98
+ const path = pathToFunc("/catalog/products/{product_id_or_slug}")(pathParams);
102
99
 
103
100
  const headers = new Headers(compactMap({
104
101
  Accept: "application/json",
102
+ "customer_group_id": encodeSimple(
103
+ "customer_group_id",
104
+ payload.customer_group_id,
105
+ { explode: false, charEncoding: "none" },
106
+ ),
105
107
  }));
106
108
 
107
109
  const secConfig = await extractSecurity(client._options.authorization);
@@ -129,7 +131,6 @@ async function $do(
129
131
  baseURL: options?.serverURL,
130
132
  path: path,
131
133
  headers: headers,
132
- query: query,
133
134
  body: body,
134
135
  userAgent: client._options.userAgent,
135
136
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { CeStorefrontCore } from "../core.js";
6
- import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
6
+ import { encodeSimple } from "../lib/encodings.js";
7
7
  import * as M from "../lib/matchers.js";
8
8
  import { compactMap } from "../lib/primitives.js";
9
9
  import { safeParse } from "../lib/schemas.js";
@@ -102,12 +102,13 @@ async function $do(
102
102
  "/catalog/products/{product_id}/variants/{variant_id}",
103
103
  )(pathParams);
104
104
 
105
- const query = encodeFormQuery({
106
- "customer_group_id": payload.customer_group_id,
107
- });
108
-
109
105
  const headers = new Headers(compactMap({
110
106
  Accept: "application/json",
107
+ "customer_group_id": encodeSimple(
108
+ "customer_group_id",
109
+ payload.customer_group_id,
110
+ { explode: false, charEncoding: "none" },
111
+ ),
111
112
  }));
112
113
 
113
114
  const secConfig = await extractSecurity(client._options.authorization);
@@ -135,7 +136,6 @@ async function $do(
135
136
  baseURL: options?.serverURL,
136
137
  path: path,
137
138
  headers: headers,
138
- query: query,
139
139
  body: body,
140
140
  userAgent: client._options.userAgent,
141
141
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
@@ -94,6 +94,7 @@ async function $do(
94
94
  const query = encodeFormQuery({
95
95
  "nested_level": payload.nested_level,
96
96
  "parent_category_id": payload.parent_category_id,
97
+ "parent_category_slug": payload.parent_category_slug,
97
98
  "search": payload.search,
98
99
  "sort_by": payload.sort_by,
99
100
  });
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { CeStorefrontCore } from "../core.js";
6
- import { encodeFormQuery } from "../lib/encodings.js";
6
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
7
7
  import * as M from "../lib/matchers.js";
8
8
  import { compactMap } from "../lib/primitives.js";
9
9
  import { safeParse } from "../lib/schemas.js";
@@ -99,6 +99,11 @@ async function $do(
99
99
 
100
100
  const headers = new Headers(compactMap({
101
101
  Accept: "application/json",
102
+ "customer_group_id": encodeSimple(
103
+ "customer_group_id",
104
+ payload.customer_group_id,
105
+ { explode: false, charEncoding: "none" },
106
+ ),
102
107
  }));
103
108
 
104
109
  const secConfig = await extractSecurity(client._options.authorization);
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { CeStorefrontCore } from "../core.js";
6
- import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
6
+ import { encodeSimple } from "../lib/encodings.js";
7
7
  import * as M from "../lib/matchers.js";
8
8
  import { compactMap } from "../lib/primitives.js";
9
9
  import { safeParse } from "../lib/schemas.js";
@@ -99,12 +99,13 @@ async function $do(
99
99
  pathParams,
100
100
  );
101
101
 
102
- const query = encodeFormQuery({
103
- "customer_group_id": payload.customer_group_id,
104
- });
105
-
106
102
  const headers = new Headers(compactMap({
107
103
  Accept: "application/json",
104
+ "customer_group_id": encodeSimple(
105
+ "customer_group_id",
106
+ payload.customer_group_id,
107
+ { explode: false, charEncoding: "none" },
108
+ ),
108
109
  }));
109
110
 
110
111
  const secConfig = await extractSecurity(client._options.authorization);
@@ -132,7 +133,6 @@ async function $do(
132
133
  baseURL: options?.serverURL,
133
134
  path: path,
134
135
  headers: headers,
135
- query: query,
136
136
  body: body,
137
137
  userAgent: client._options.userAgent,
138
138
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { CeStorefrontCore } from "../core.js";
6
- import { encodeFormQuery } from "../lib/encodings.js";
6
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
7
7
  import * as M from "../lib/matchers.js";
8
8
  import { compactMap } from "../lib/primitives.js";
9
9
  import { safeParse } from "../lib/schemas.js";
@@ -91,7 +91,7 @@ async function $do(
91
91
 
92
92
  const query = encodeFormQuery({
93
93
  "category_id": payload.category_id,
94
- "customer_group_id": payload.customer_group_id,
94
+ "category_slug": payload.category_slug,
95
95
  "limit": payload.limit,
96
96
  "page": payload.page,
97
97
  "sort_by": payload.sort_by,
@@ -99,6 +99,11 @@ async function $do(
99
99
 
100
100
  const headers = new Headers(compactMap({
101
101
  Accept: "application/json",
102
+ "customer_group_id": encodeSimple(
103
+ "customer_group_id",
104
+ payload.customer_group_id,
105
+ { explode: false, charEncoding: "none" },
106
+ ),
102
107
  }));
103
108
 
104
109
  const secConfig = await extractSecurity(client._options.authorization);
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { CeStorefrontCore } from "../core.js";
6
- import { encodeFormQuery } from "../lib/encodings.js";
6
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
7
7
  import * as M from "../lib/matchers.js";
8
8
  import { compactMap } from "../lib/primitives.js";
9
9
  import { safeParse } from "../lib/schemas.js";
@@ -99,6 +99,11 @@ async function $do(
99
99
 
100
100
  const headers = new Headers(compactMap({
101
101
  Accept: "application/json",
102
+ "customer_group_id": encodeSimple(
103
+ "customer_group_id",
104
+ payload.customer_group_id,
105
+ { explode: false, charEncoding: "none" },
106
+ ),
102
107
  }));
103
108
 
104
109
  const secConfig = await extractSecurity(client._options.authorization);
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { CeStorefrontCore } from "../core.js";
6
- import { encodeFormQuery } from "../lib/encodings.js";
6
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
7
7
  import * as M from "../lib/matchers.js";
8
8
  import { compactMap } from "../lib/primitives.js";
9
9
  import { safeParse } from "../lib/schemas.js";
@@ -91,7 +91,6 @@ async function $do(
91
91
 
92
92
  const query = encodeFormQuery({
93
93
  "category_id": payload.category_id,
94
- "customer_group_id": payload.customer_group_id,
95
94
  "limit": payload.limit,
96
95
  "page": payload.page,
97
96
  "sku": payload.sku,
@@ -100,6 +99,11 @@ async function $do(
100
99
 
101
100
  const headers = new Headers(compactMap({
102
101
  Accept: "application/json",
102
+ "customer_group_id": encodeSimple(
103
+ "customer_group_id",
104
+ payload.customer_group_id,
105
+ { explode: false, charEncoding: "none" },
106
+ ),
103
107
  }));
104
108
 
105
109
  const secConfig = await extractSecurity(client._options.authorization);
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { CeStorefrontCore } from "../core.js";
6
- import { encodeFormQuery } from "../lib/encodings.js";
6
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
7
7
  import * as M from "../lib/matchers.js";
8
8
  import { compactMap } from "../lib/primitives.js";
9
9
  import { safeParse } from "../lib/schemas.js";
@@ -98,6 +98,11 @@ async function $do(
98
98
 
99
99
  const headers = new Headers(compactMap({
100
100
  Accept: "application/json",
101
+ "customer_group_id": encodeSimple(
102
+ "customer_group_id",
103
+ payload.customer_group_id,
104
+ { explode: false, charEncoding: "none" },
105
+ ),
101
106
  }));
102
107
 
103
108
  const secConfig = await extractSecurity(client._options.authorization);
package/src/index.ts CHANGED
@@ -4,4 +4,6 @@
4
4
 
5
5
  export * from "./lib/config.js";
6
6
  export * as files from "./lib/files.js";
7
+ export { HTTPClient } from "./lib/http.js";
8
+ export type { Fetcher, HTTPClientOptions } from "./lib/http.js";
7
9
  export * from "./sdk/sdk.js";
package/src/lib/config.ts CHANGED
@@ -80,7 +80,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
80
80
  export const SDK_METADATA = {
81
81
  language: "typescript",
82
82
  openapiDocVersion: "1.0",
83
- sdkVersion: "0.13.1",
84
- genVersion: "2.616.1",
85
- userAgent: "speakeasy-sdk/typescript 0.13.1 2.616.1 1.0 ce-storefront",
83
+ sdkVersion: "0.13.3",
84
+ genVersion: "2.621.3",
85
+ userAgent: "speakeasy-sdk/typescript 0.13.3 2.621.3 1.0 ce-storefront",
86
86
  } as const;
@@ -14,9 +14,6 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
14
14
  */
15
15
  export const Status = {
16
16
  Approved: "approved",
17
- Rejected: "rejected",
18
- Archived: "archived",
19
- Pending: "pending",
20
17
  } as const;
21
18
  /**
22
19
  * Reviews with approved status will be displayed.
@@ -303,7 +300,7 @@ export const ProductReview$inboundSchema: z.ZodType<
303
300
  review_text: z.string().optional(),
304
301
  name: z.string().optional(),
305
302
  email: z.string().optional(),
306
- status: Status$inboundSchema.default("pending"),
303
+ status: Status$inboundSchema.optional(),
307
304
  is_featured: z.boolean().default(false),
308
305
  tags: z.array(z.string()).optional(),
309
306
  review_date: z.string().datetime({ offset: true }).transform(v => new Date(v))
@@ -330,7 +327,7 @@ export type ProductReview$Outbound = {
330
327
  review_text?: string | undefined;
331
328
  name?: string | undefined;
332
329
  email?: string | undefined;
333
- status: string;
330
+ status?: string | undefined;
334
331
  is_featured: boolean;
335
332
  tags?: Array<string> | undefined;
336
333
  review_date?: string | undefined;
@@ -350,7 +347,7 @@ export const ProductReview$outboundSchema: z.ZodType<
350
347
  reviewText: z.string().optional(),
351
348
  name: z.string().optional(),
352
349
  email: z.string().optional(),
353
- status: Status$outboundSchema.default("pending"),
350
+ status: Status$outboundSchema.optional(),
354
351
  isFeatured: z.boolean().default(false),
355
352
  tags: z.array(z.string()).optional(),
356
353
  reviewDate: z.date().transform(v => v.toISOString()).optional(),
@@ -3,22 +3,37 @@
3
3
  */
4
4
 
5
5
  export class CeError extends Error {
6
+ /**
7
+ * HTTP status code
8
+ */
6
9
  public readonly statusCode: number;
10
+ /**
11
+ * HTTP content type
12
+ */
7
13
  public readonly contentType: string;
14
+ /**
15
+ * HTTP body
16
+ */
17
+ public readonly body: string;
18
+ /**
19
+ * Raw response
20
+ */
21
+ public readonly rawResponse: Response;
8
22
 
9
23
  constructor(
10
24
  message: string,
11
- public readonly rawResponse: Response,
12
- public readonly body: string = "",
25
+ rawResponse: Response,
26
+ body: string = "",
13
27
  ) {
14
28
  const statusCode = rawResponse.status;
15
29
  const contentType = rawResponse.headers.get("content-type") || "";
16
30
  const bodyString = body.length > 0 ? `\n${body}` : "";
17
-
18
31
  super(
19
32
  `${message}: Status ${statusCode} Content-Type ${contentType} Body ${bodyString}`,
20
33
  );
21
34
 
35
+ this.body = body;
36
+ this.rawResponse = rawResponse;
22
37
  this.statusCode = statusCode;
23
38
  this.contentType = contentType;
24
39
 
@@ -11,13 +11,13 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  export type GetProductDetailRequest = {
13
13
  /**
14
- * use this param only if different pricing is configured as per customer group
14
+ * The unique identifier of the product. Can be either the product ID or the slug.
15
15
  */
16
- customerGroupId?: string | undefined;
16
+ productIdOrSlug: string;
17
17
  /**
18
- * id of a particular product
18
+ * The customer_group_id is used to determine product pricing, promotions, and subscription rates. If a valid customer_group_id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer_group_id, the system will fall back to the default customer_group_id. If no data is found for the default group either, the highest applicable price will be returned.
19
19
  */
20
- productId?: string | undefined;
20
+ customerGroupId?: string | undefined;
21
21
  };
22
22
 
23
23
  export type GetProductDetailContent = {
@@ -39,19 +39,19 @@ export const GetProductDetailRequest$inboundSchema: z.ZodType<
39
39
  z.ZodTypeDef,
40
40
  unknown
41
41
  > = z.object({
42
+ product_id_or_slug: z.string(),
42
43
  customer_group_id: z.string().optional(),
43
- product_id: z.string().default("1"),
44
44
  }).transform((v) => {
45
45
  return remap$(v, {
46
+ "product_id_or_slug": "productIdOrSlug",
46
47
  "customer_group_id": "customerGroupId",
47
- "product_id": "productId",
48
48
  });
49
49
  });
50
50
 
51
51
  /** @internal */
52
52
  export type GetProductDetailRequest$Outbound = {
53
+ product_id_or_slug: string;
53
54
  customer_group_id?: string | undefined;
54
- product_id: string;
55
55
  };
56
56
 
57
57
  /** @internal */
@@ -60,12 +60,12 @@ export const GetProductDetailRequest$outboundSchema: z.ZodType<
60
60
  z.ZodTypeDef,
61
61
  GetProductDetailRequest
62
62
  > = z.object({
63
+ productIdOrSlug: z.string(),
63
64
  customerGroupId: z.string().optional(),
64
- productId: z.string().default("1"),
65
65
  }).transform((v) => {
66
66
  return remap$(v, {
67
+ productIdOrSlug: "product_id_or_slug",
67
68
  customerGroupId: "customer_group_id",
68
- productId: "product_id",
69
69
  });
70
70
  });
71
71
 
@@ -10,10 +10,6 @@ import * as components from "../components/index.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  export type GetVariantDetailRequest = {
13
- /**
14
- * use this param only if different pricing is configured as per customer group
15
- */
16
- customerGroupId?: string | undefined;
17
13
  /**
18
14
  * product id
19
15
  */
@@ -22,6 +18,10 @@ export type GetVariantDetailRequest = {
22
18
  * variant id
23
19
  */
24
20
  variantId: string;
21
+ /**
22
+ * The customer_group_id is used to determine product pricing, promotions, and subscription rates. If a valid customer_group_id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer_group_id, the system will fall back to the default customer_group_id. If no data is found for the default group either, the highest applicable price will be returned.
23
+ */
24
+ customerGroupId?: string | undefined;
25
25
  };
26
26
 
27
27
  export type GetVariantDetailContent = {
@@ -43,22 +43,22 @@ export const GetVariantDetailRequest$inboundSchema: z.ZodType<
43
43
  z.ZodTypeDef,
44
44
  unknown
45
45
  > = z.object({
46
- customer_group_id: z.string().optional(),
47
46
  product_id: z.string(),
48
47
  variant_id: z.string(),
48
+ customer_group_id: z.string().optional(),
49
49
  }).transform((v) => {
50
50
  return remap$(v, {
51
- "customer_group_id": "customerGroupId",
52
51
  "product_id": "productId",
53
52
  "variant_id": "variantId",
53
+ "customer_group_id": "customerGroupId",
54
54
  });
55
55
  });
56
56
 
57
57
  /** @internal */
58
58
  export type GetVariantDetailRequest$Outbound = {
59
- customer_group_id?: string | undefined;
60
59
  product_id: string;
61
60
  variant_id: string;
61
+ customer_group_id?: string | undefined;
62
62
  };
63
63
 
64
64
  /** @internal */
@@ -67,14 +67,14 @@ export const GetVariantDetailRequest$outboundSchema: z.ZodType<
67
67
  z.ZodTypeDef,
68
68
  GetVariantDetailRequest
69
69
  > = z.object({
70
- customerGroupId: z.string().optional(),
71
70
  productId: z.string(),
72
71
  variantId: z.string(),
72
+ customerGroupId: z.string().optional(),
73
73
  }).transform((v) => {
74
74
  return remap$(v, {
75
- customerGroupId: "customer_group_id",
76
75
  productId: "product_id",
77
76
  variantId: "variant_id",
77
+ customerGroupId: "customer_group_id",
78
78
  });
79
79
  });
80
80
 
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  export type ListCategoriesRequest = {
13
13
  /**
14
- * To return child categories
14
+ * To return child categories using category id.
15
15
  */
16
16
  parentCategoryId?: string | undefined;
17
17
  /**
@@ -26,6 +26,10 @@ export type ListCategoriesRequest = {
26
26
  * JSON string format: {"field1":"asc", "field2":"desc"}
27
27
  */
28
28
  sortBy?: string | undefined;
29
+ /**
30
+ * To return child categories using category slug
31
+ */
32
+ parentCategorySlug?: string | undefined;
29
33
  };
30
34
 
31
35
  export type ListCategoriesContent = {
@@ -55,11 +59,13 @@ export const ListCategoriesRequest$inboundSchema: z.ZodType<
55
59
  nested_level: z.number().int().default(0),
56
60
  search: z.string().optional(),
57
61
  sort_by: z.string().optional(),
62
+ parent_category_slug: z.string().optional(),
58
63
  }).transform((v) => {
59
64
  return remap$(v, {
60
65
  "parent_category_id": "parentCategoryId",
61
66
  "nested_level": "nestedLevel",
62
67
  "sort_by": "sortBy",
68
+ "parent_category_slug": "parentCategorySlug",
63
69
  });
64
70
  });
65
71
 
@@ -69,6 +75,7 @@ export type ListCategoriesRequest$Outbound = {
69
75
  nested_level: number;
70
76
  search?: string | undefined;
71
77
  sort_by?: string | undefined;
78
+ parent_category_slug?: string | undefined;
72
79
  };
73
80
 
74
81
  /** @internal */
@@ -81,11 +88,13 @@ export const ListCategoriesRequest$outboundSchema: z.ZodType<
81
88
  nestedLevel: z.number().int().default(0),
82
89
  search: z.string().optional(),
83
90
  sortBy: z.string().optional(),
91
+ parentCategorySlug: z.string().optional(),
84
92
  }).transform((v) => {
85
93
  return remap$(v, {
86
94
  parentCategoryId: "parent_category_id",
87
95
  nestedLevel: "nested_level",
88
96
  sortBy: "sort_by",
97
+ parentCategorySlug: "parent_category_slug",
89
98
  });
90
99
  });
91
100
 
@@ -26,6 +26,10 @@ export type ListCrosssellProductsRequest = {
26
26
  * json to sort records
27
27
  */
28
28
  sortBy?: string | undefined;
29
+ /**
30
+ * The customer_group_id is used to determine product pricing, promotions, and subscription rates. If a valid customer_group_id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer_group_id, the system will fall back to the default customer_group_id. If no data is found for the default group either, the highest applicable price will be returned.
31
+ */
32
+ customerGroupId?: string | undefined;
29
33
  };
30
34
 
31
35
  export type ListCrosssellProductsContent = {
@@ -55,10 +59,12 @@ export const ListCrosssellProductsRequest$inboundSchema: z.ZodType<
55
59
  page: z.number().int().optional(),
56
60
  limit: z.number().int().optional(),
57
61
  sort_by: z.string().optional(),
62
+ customer_group_id: z.string().optional(),
58
63
  }).transform((v) => {
59
64
  return remap$(v, {
60
65
  "product_id": "productId",
61
66
  "sort_by": "sortBy",
67
+ "customer_group_id": "customerGroupId",
62
68
  });
63
69
  });
64
70
 
@@ -68,6 +74,7 @@ export type ListCrosssellProductsRequest$Outbound = {
68
74
  page?: number | undefined;
69
75
  limit?: number | undefined;
70
76
  sort_by?: string | undefined;
77
+ customer_group_id?: string | undefined;
71
78
  };
72
79
 
73
80
  /** @internal */
@@ -80,10 +87,12 @@ export const ListCrosssellProductsRequest$outboundSchema: z.ZodType<
80
87
  page: z.number().int().optional(),
81
88
  limit: z.number().int().optional(),
82
89
  sortBy: z.string().optional(),
90
+ customerGroupId: z.string().optional(),
83
91
  }).transform((v) => {
84
92
  return remap$(v, {
85
93
  productId: "product_id",
86
94
  sortBy: "sort_by",
95
+ customerGroupId: "customer_group_id",
87
96
  });
88
97
  });
89
98