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

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.10-beta.1' --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.10-beta.2' --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.10-beta.1",
3
+ "version": "1.3.10-beta.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -28,6 +28,7 @@ export = DiscountPlatformModel;
28
28
  * @property {number[]} [store_ids]
29
29
  * @property {ValidityObject} validity
30
30
  * @property {number} [value]
31
+ * @property {string[]} [zone_ids]
31
32
  */
32
33
  /**
33
34
  * @typedef DiscountItems
@@ -163,6 +164,7 @@ type CreateUpdateDiscount = {
163
164
  store_ids?: number[];
164
165
  validity: ValidityObject;
165
166
  value?: number;
167
+ zone_ids?: string[];
166
168
  };
167
169
  /** @returns {DiscountItems} */
168
170
  declare function DiscountItems(): DiscountItems;
@@ -32,6 +32,7 @@ const Joi = require("joi");
32
32
  * @property {number[]} [store_ids]
33
33
  * @property {ValidityObject} validity
34
34
  * @property {number} [value]
35
+ * @property {string[]} [zone_ids]
35
36
  */
36
37
 
37
38
  /**
@@ -182,6 +183,7 @@ class DiscountPlatformModel {
182
183
  store_ids: Joi.array().items(Joi.number()),
183
184
  validity: DiscountPlatformModel.ValidityObject().required(),
184
185
  value: Joi.number(),
186
+ zone_ids: Joi.array().items(Joi.string().allow("")),
185
187
  });
186
188
  }
187
189
 
@@ -1175,6 +1175,7 @@ export = OrderPlatformModel;
1175
1175
  * @property {OrderBagArticle} [article]
1176
1176
  * @property {BagConfigs} [bag_configs]
1177
1177
  * @property {number} bag_id
1178
+ * @property {BagStatusHistory[]} [bag_status]
1178
1179
  * @property {OrderBrandName} [brand]
1179
1180
  * @property {boolean} [can_cancel]
1180
1181
  * @property {boolean} [can_return]
@@ -1877,7 +1878,7 @@ export = OrderPlatformModel;
1877
1878
  /**
1878
1879
  * @typedef ShipmentItemFulFillingStore
1879
1880
  * @property {string} [address]
1880
- * @property {string} [brand_store_tags]
1881
+ * @property {string[]} [brand_store_tags]
1881
1882
  * @property {string} [city]
1882
1883
  * @property {string} code
1883
1884
  * @property {number} id
@@ -3874,6 +3875,7 @@ type OrderBags = {
3874
3875
  article?: OrderBagArticle;
3875
3876
  bag_configs?: BagConfigs;
3876
3877
  bag_id: number;
3878
+ bag_status?: BagStatusHistory[];
3877
3879
  brand?: OrderBrandName;
3878
3880
  can_cancel?: boolean;
3879
3881
  can_return?: boolean;
@@ -4703,7 +4705,7 @@ type ShipmentItem = {
4703
4705
  declare function ShipmentItemFulFillingStore(): ShipmentItemFulFillingStore;
4704
4706
  type ShipmentItemFulFillingStore = {
4705
4707
  address?: string;
4706
- brand_store_tags?: string;
4708
+ brand_store_tags?: string[];
4707
4709
  city?: string;
4708
4710
  code: string;
4709
4711
  id: number;
@@ -1305,6 +1305,7 @@ const Joi = require("joi");
1305
1305
  * @property {OrderBagArticle} [article]
1306
1306
  * @property {BagConfigs} [bag_configs]
1307
1307
  * @property {number} bag_id
1308
+ * @property {BagStatusHistory[]} [bag_status]
1308
1309
  * @property {OrderBrandName} [brand]
1309
1310
  * @property {boolean} [can_cancel]
1310
1311
  * @property {boolean} [can_return]
@@ -2083,7 +2084,7 @@ const Joi = require("joi");
2083
2084
  /**
2084
2085
  * @typedef ShipmentItemFulFillingStore
2085
2086
  * @property {string} [address]
2086
- * @property {string} [brand_store_tags]
2087
+ * @property {string[]} [brand_store_tags]
2087
2088
  * @property {string} [city]
2088
2089
  * @property {string} code
2089
2090
  * @property {number} id
@@ -4225,6 +4226,7 @@ class OrderPlatformModel {
4225
4226
  article: OrderPlatformModel.OrderBagArticle(),
4226
4227
  bag_configs: OrderPlatformModel.BagConfigs(),
4227
4228
  bag_id: Joi.number().required(),
4229
+ bag_status: Joi.array().items(OrderPlatformModel.BagStatusHistory()),
4228
4230
  brand: OrderPlatformModel.OrderBrandName(),
4229
4231
  can_cancel: Joi.boolean().allow(null),
4230
4232
  can_return: Joi.boolean().allow(null),
@@ -5169,7 +5171,7 @@ class OrderPlatformModel {
5169
5171
  static ShipmentItemFulFillingStore() {
5170
5172
  return Joi.object({
5171
5173
  address: Joi.string().allow("").allow(null),
5172
- brand_store_tags: Joi.string().allow("").allow(null),
5174
+ brand_store_tags: Joi.array().items(Joi.string().allow("")),
5173
5175
  city: Joi.string().allow("").allow(null),
5174
5176
  code: Joi.string().allow("").required(),
5175
5177
  id: Joi.number().required(),