@gofynd/fdk-client-javascript 1.3.4-beta.2 → 1.3.5-beta.1

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 CHANGED
@@ -214,7 +214,7 @@ console.log("Active Theme: ", response.information.name);
214
214
  The above code will log the curl command in the console
215
215
 
216
216
  ```bash
217
- curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.3.5-beta.2' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
217
+ curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.3.5-beta.1' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
218
218
  Active Theme: Emerge
219
219
  ```
220
220
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gofynd/fdk-client-javascript",
3
- "version": "1.3.4-beta.2",
3
+ "version": "1.3.5-beta.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2062,7 +2062,7 @@ export = CatalogPlatformModel;
2062
2062
  */
2063
2063
  /**
2064
2064
  * @typedef ProductBulkRequestList
2065
- * @property {ProductBulkRequest} [items]
2065
+ * @property {ProductBulkRequest[]} [items]
2066
2066
  * @property {Page} [page]
2067
2067
  */
2068
2068
  /**
@@ -6141,7 +6141,7 @@ type ProductBulkRequest = {
6141
6141
  /** @returns {ProductBulkRequestList} */
6142
6142
  declare function ProductBulkRequestList(): ProductBulkRequestList;
6143
6143
  type ProductBulkRequestList = {
6144
- items?: ProductBulkRequest;
6144
+ items?: ProductBulkRequest[];
6145
6145
  page?: Page;
6146
6146
  };
6147
6147
  /** @returns {ProductBundleItem} */
@@ -2304,7 +2304,7 @@ const Joi = require("joi");
2304
2304
 
2305
2305
  /**
2306
2306
  * @typedef ProductBulkRequestList
2307
- * @property {ProductBulkRequest} [items]
2307
+ * @property {ProductBulkRequest[]} [items]
2308
2308
  * @property {Page} [page]
2309
2309
  */
2310
2310
 
@@ -6113,7 +6113,7 @@ class CatalogPlatformModel {
6113
6113
  /** @returns {ProductBulkRequestList} */
6114
6114
  static ProductBulkRequestList() {
6115
6115
  return Joi.object({
6116
- items: CatalogPlatformModel.ProductBulkRequest(),
6116
+ items: Joi.array().items(CatalogPlatformModel.ProductBulkRequest()),
6117
6117
  page: CatalogPlatformModel.Page(),
6118
6118
  });
6119
6119
  }