@gofynd/fdk-client-javascript 1.1.4 → 1.1.6

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.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11370,6 +11370,7 @@ type EntityRegionView_Error = {
11370
11370
  value?: string;
11371
11371
  };
11372
11372
  type EntityRegionView_Items = {
11373
+ display_name?: string;
11373
11374
  name: string;
11374
11375
  sub_type: string;
11375
11376
  uid: string;
@@ -11496,8 +11497,8 @@ type ListViewProduct = {
11496
11497
  };
11497
11498
  type ListViewResponse = {
11498
11499
  items: ListViewItems[];
11499
- page: ZoneDataItem[];
11500
- summary: ListViewSummary[];
11500
+ page: ZoneDataItem;
11501
+ summary: ListViewSummary;
11501
11502
  };
11502
11503
  type ListViewSummary = {
11503
11504
  total_active_zones: number;
@@ -13621,6 +13621,7 @@ class PlatformClient {
13621
13621
  */
13622
13622
  /**
13623
13623
  * @typedef EntityRegionView_Items
13624
+ * @property {string} [display_name]
13624
13625
  * @property {string} name
13625
13626
  * @property {string} sub_type
13626
13627
  * @property {string} uid
@@ -13778,8 +13779,8 @@ class PlatformClient {
13778
13779
  /**
13779
13780
  * @typedef ListViewResponse
13780
13781
  * @property {ListViewItems[]} items
13781
- * @property {ZoneDataItem[]} page
13782
- * @property {ListViewSummary[]} summary
13782
+ * @property {ZoneDataItem} page
13783
+ * @property {ListViewSummary} summary
13783
13784
  */
13784
13785
  /**
13785
13786
  * @typedef ListViewSummary
@@ -286,6 +286,7 @@ class ServiceabilityModel {
286
286
  }
287
287
  static EntityRegionView_Items() {
288
288
  return Joi.object({
289
+ display_name: Joi.string().allow(""),
289
290
  name: Joi.string().allow("").required(),
290
291
  sub_type: Joi.string().allow("").required(),
291
292
  uid: Joi.string().allow("").required(),
@@ -472,10 +473,8 @@ class ServiceabilityModel {
472
473
  static ListViewResponse() {
473
474
  return Joi.object({
474
475
  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(),
476
+ page: ServiceabilityModel.ZoneDataItem().required(),
477
+ summary: ServiceabilityModel.ListViewSummary().required(),
479
478
  });
480
479
  }
481
480
  static ListViewSummary() {