@gofynd/fdk-client-javascript 1.1.4 → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gofynd/fdk-client-javascript",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11496,8 +11496,8 @@ type ListViewProduct = {
11496
11496
  };
11497
11497
  type ListViewResponse = {
11498
11498
  items: ListViewItems[];
11499
- page: ZoneDataItem[];
11500
- summary: ListViewSummary[];
11499
+ page: ZoneDataItem;
11500
+ summary: ListViewSummary;
11501
11501
  };
11502
11502
  type ListViewSummary = {
11503
11503
  total_active_zones: number;
@@ -13778,8 +13778,8 @@ class PlatformClient {
13778
13778
  /**
13779
13779
  * @typedef ListViewResponse
13780
13780
  * @property {ListViewItems[]} items
13781
- * @property {ZoneDataItem[]} page
13782
- * @property {ListViewSummary[]} summary
13781
+ * @property {ZoneDataItem} page
13782
+ * @property {ListViewSummary} summary
13783
13783
  */
13784
13784
  /**
13785
13785
  * @typedef ListViewSummary
@@ -472,10 +472,8 @@ class ServiceabilityModel {
472
472
  static ListViewResponse() {
473
473
  return Joi.object({
474
474
  items: Joi.array().items(ServiceabilityModel.ListViewItems()).required(),
475
- page: Joi.array().items(ServiceabilityModel.ZoneDataItem()).required(),
476
- summary: Joi.array()
477
- .items(ServiceabilityModel.ListViewSummary())
478
- .required(),
475
+ page: ServiceabilityModel.ZoneDataItem().required(),
476
+ summary: ServiceabilityModel.ListViewSummary().required(),
479
477
  });
480
478
  }
481
479
  static ListViewSummary() {