@omni-commerce/sdk 0.9.2 → 0.10.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.js CHANGED
@@ -33,7 +33,7 @@ function normalizeClientOptions(options = {}) {
33
33
  }
34
34
 
35
35
  // src/version.ts
36
- var SDK_VERSION = "0.9.2";
36
+ var SDK_VERSION = "0.10.0";
37
37
  var SDK_USER_AGENT = `omnicommerce-js/${SDK_VERSION}`;
38
38
 
39
39
  // src/environments.ts
@@ -2501,7 +2501,7 @@ var ProductsClient = class {
2501
2501
  ### Input options
2502
2502
 
2503
2503
  - Upload a CSV (2 MiB) or JSON products file (8 MiB) using `multipart/form-data`.
2504
- - Send JSON with a `products` array of 1–1,000 flat product objects (8 MiB request maximum).
2504
+ - Send JSON with a `products` array of 1–5,000 flat product objects (8 MiB request maximum).
2505
2505
  - Send JSON with inline `csvText`.
2506
2506
  - Send JSON referencing a stored `documentId`.
2507
2507
 
@@ -2920,7 +2920,7 @@ var ReviewsClient = class {
2920
2920
  *
2921
2921
  * Draft a reply with AI from the review, the product, recent replies, and the brand kit. Uses AI credits. Requires `reviews:write`.
2922
2922
 
2923
- Nothing is posted; send the text with `POST /api/v1/reviews/actions`.
2923
+ Nothing is posted; review and send the draft from the workspace Reviews page.
2924
2924
  *
2925
2925
  * `POST /api/v1/reviews/{reviewId}/draft-reply`
2926
2926
  */
@@ -2934,25 +2934,6 @@ var ReviewsClient = class {
2934
2934
  ...mergeRequestOptions(requestOptions)
2935
2935
  });
2936
2936
  }
2937
- /**
2938
- * Act on Reviews
2939
- *
2940
- * Reply to up to 50 reviews, or send Amazon review requests for solicitation rows. Requires `reviews:write`.
2941
-
2942
- Each target succeeds or fails on its own; read `data.results`. `ok` is true only when every target succeeds.
2943
- *
2944
- * `POST /api/v1/reviews/actions`
2945
- */
2946
- actions(request, requestOptions) {
2947
- const { ...body } = request ?? {};
2948
- return this._http.request({
2949
- method: "POST",
2950
- path: "/api/v1/reviews/actions",
2951
- query: void 0,
2952
- body,
2953
- ...mergeRequestOptions(requestOptions)
2954
- });
2955
- }
2956
2937
  };
2957
2938
  var SearchClient = class {
2958
2939
  constructor(_http) {