ce-storefront 0.2.4 → 0.2.5
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/README.md +2 -2
- package/docs/sdks/cestorefrontreviews/README.md +2 -2
- package/funcs/catalogProductsReviewsList.d.ts +2 -2
- package/funcs/catalogProductsReviewsList.js +2 -2
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/package.json +1 -1
- package/sdk/cestorefrontreviews.d.ts +2 -2
- package/sdk/cestorefrontreviews.js +2 -2
- package/src/funcs/catalogProductsReviewsList.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/sdk/cestorefrontreviews.ts +2 -2
package/README.md
CHANGED
|
@@ -166,7 +166,7 @@ run();
|
|
|
166
166
|
|
|
167
167
|
#### [catalog.products.reviews](docs/sdks/cestorefrontreviews/README.md)
|
|
168
168
|
|
|
169
|
-
* [list](docs/sdks/cestorefrontreviews/README.md#list) -
|
|
169
|
+
* [list](docs/sdks/cestorefrontreviews/README.md#list) - List all product reviews
|
|
170
170
|
* [create](docs/sdks/cestorefrontreviews/README.md#create) - Create product review
|
|
171
171
|
|
|
172
172
|
#### [catalog.products.variants](docs/sdks/variants/README.md)
|
|
@@ -333,7 +333,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
333
333
|
- [`catalogProductsGetUpsells`](docs/sdks/products/README.md#getupsells) - Retrieve up-sell products
|
|
334
334
|
- [`catalogProductsList`](docs/sdks/products/README.md#list) - List all products
|
|
335
335
|
- [`catalogProductsReviewsCreate`](docs/sdks/cestorefrontreviews/README.md#create) - Create product review
|
|
336
|
-
- [`catalogProductsReviewsList`](docs/sdks/cestorefrontreviews/README.md#list) -
|
|
336
|
+
- [`catalogProductsReviewsList`](docs/sdks/cestorefrontreviews/README.md#list) - List all product reviews
|
|
337
337
|
- [`catalogProductsVariantsGet`](docs/sdks/variants/README.md#get) - Retrieve variant detail
|
|
338
338
|
- [`catalogProductsVariantsList`](docs/sdks/variants/README.md#list) - Retrieve product variants
|
|
339
339
|
- [`catalogSkusList`](docs/sdks/skus/README.md#list) - List all SKUs
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
|
-
* [list](#list) -
|
|
8
|
+
* [list](#list) - List all product reviews
|
|
9
9
|
* [create](#create) - Create product review
|
|
10
10
|
|
|
11
11
|
## list
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
|
|
14
14
|
|
|
15
15
|
### Example Usage
|
|
16
16
|
|
|
@@ -7,10 +7,10 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
7
7
|
import * as operations from "../models/operations/index.js";
|
|
8
8
|
import { Result } from "../types/fp.js";
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* List all product reviews
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
*
|
|
13
|
+
* List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
|
|
14
14
|
*/
|
|
15
15
|
export declare function catalogProductsReviewsList(client: CeStorefrontCore, request: operations.GetProductsIdReviewsRequest, options?: RequestOptions): Promise<Result<operations.GetProductsIdReviewsResponseBody, errors.Unauthorized | errors.NotFound | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
16
|
//# sourceMappingURL=catalogProductsReviewsList.d.ts.map
|
|
@@ -35,10 +35,10 @@ const url_js_1 = require("../lib/url.js");
|
|
|
35
35
|
const errors = __importStar(require("../models/errors/index.js"));
|
|
36
36
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* List all product reviews
|
|
39
39
|
*
|
|
40
40
|
* @remarks
|
|
41
|
-
*
|
|
41
|
+
* List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
|
|
42
42
|
*/
|
|
43
43
|
async function catalogProductsReviewsList(client, request, options) {
|
|
44
44
|
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.GetProductsIdReviewsRequest$outboundSchema.parse(value), "Input validation failed");
|
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.0";
|
|
34
|
-
readonly sdkVersion: "0.2.
|
|
35
|
-
readonly genVersion: "2.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.2.
|
|
34
|
+
readonly sdkVersion: "0.2.5";
|
|
35
|
+
readonly genVersion: "2.481.0";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.2.5 2.481.0 1.0 ce-storefront";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -45,8 +45,8 @@ function serverURLFromOptions(options) {
|
|
|
45
45
|
exports.SDK_METADATA = {
|
|
46
46
|
language: "typescript",
|
|
47
47
|
openapiDocVersion: "1.0",
|
|
48
|
-
sdkVersion: "0.2.
|
|
49
|
-
genVersion: "2.
|
|
50
|
-
userAgent: "speakeasy-sdk/typescript 0.2.
|
|
48
|
+
sdkVersion: "0.2.5",
|
|
49
|
+
genVersion: "2.481.0",
|
|
50
|
+
userAgent: "speakeasy-sdk/typescript 0.2.5 2.481.0 1.0 ce-storefront",
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=config.js.map
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
|
2
2
|
import * as operations from "../models/operations/index.js";
|
|
3
3
|
export declare class CeStorefrontReviews extends ClientSDK {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* List all product reviews
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
|
|
9
9
|
*/
|
|
10
10
|
list(request: operations.GetProductsIdReviewsRequest, options?: RequestOptions): Promise<operations.GetProductsIdReviewsResponseBody>;
|
|
11
11
|
/**
|
|
@@ -10,10 +10,10 @@ const sdks_js_1 = require("../lib/sdks.js");
|
|
|
10
10
|
const fp_js_1 = require("../types/fp.js");
|
|
11
11
|
class CeStorefrontReviews extends sdks_js_1.ClientSDK {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* List all product reviews
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
|
|
17
17
|
*/
|
|
18
18
|
async list(request, options) {
|
|
19
19
|
return (0, fp_js_1.unwrapAsync)((0, catalogProductsReviewsList_js_1.catalogProductsReviewsList)(this, request, options));
|
|
@@ -23,10 +23,10 @@ import * as operations from "../models/operations/index.js";
|
|
|
23
23
|
import { Result } from "../types/fp.js";
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* List all product reviews
|
|
27
27
|
*
|
|
28
28
|
* @remarks
|
|
29
|
-
*
|
|
29
|
+
* List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
|
|
30
30
|
*/
|
|
31
31
|
export async function catalogProductsReviewsList(
|
|
32
32
|
client: CeStorefrontCore,
|
package/src/lib/config.ts
CHANGED
|
@@ -74,7 +74,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
74
74
|
export const SDK_METADATA = {
|
|
75
75
|
language: "typescript",
|
|
76
76
|
openapiDocVersion: "1.0",
|
|
77
|
-
sdkVersion: "0.2.
|
|
78
|
-
genVersion: "2.
|
|
79
|
-
userAgent: "speakeasy-sdk/typescript 0.2.
|
|
77
|
+
sdkVersion: "0.2.5",
|
|
78
|
+
genVersion: "2.481.0",
|
|
79
|
+
userAgent: "speakeasy-sdk/typescript 0.2.5 2.481.0 1.0 ce-storefront",
|
|
80
80
|
} as const;
|
|
@@ -10,10 +10,10 @@ import { unwrapAsync } from "../types/fp.js";
|
|
|
10
10
|
|
|
11
11
|
export class CeStorefrontReviews extends ClientSDK {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* List all product reviews
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
|
|
17
17
|
*/
|
|
18
18
|
async list(
|
|
19
19
|
request: operations.GetProductsIdReviewsRequest,
|