@xfloor/floor-memory-sdk-ts 1.0.8 → 1.0.10

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
@@ -1,4 +1,4 @@
1
- # @xfloor/floor-memory-sdk-ts@1.0.8
1
+ # @xfloor/floor-memory-sdk-ts@1.0.10
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -246,7 +246,7 @@ and is automatically generated by the
246
246
  [OpenAPI Generator](https://openapi-generator.tech) project:
247
247
 
248
248
  - API version: `1.0.0`
249
- - Package version: `1.0.8`
249
+ - Package version: `1.0.10`
250
250
  - Generator version: `7.18.0`
251
251
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
252
252
 
@@ -55,6 +55,24 @@ export interface FloorInfo {
55
55
  * @memberof FloorInfo
56
56
  */
57
57
  avatar?: Media;
58
+ /**
59
+ * Is the user Owner
60
+ * @type {string}
61
+ * @memberof FloorInfo
62
+ */
63
+ isOwner: string;
64
+ /**
65
+ * Type of floor (POD, PUBLIC or PRIVATE)
66
+ * @type {string}
67
+ * @memberof FloorInfo
68
+ */
69
+ floorType: string;
70
+ /**
71
+ * Optional - Applicable only if pod is present.
72
+ * @type {string}
73
+ * @memberof FloorInfo
74
+ */
75
+ appId?: string;
58
76
  }
59
77
  /**
60
78
  * Check if a given object implements the FloorInfo interface.
@@ -32,6 +32,10 @@ function instanceOfFloorInfo(value) {
32
32
  return false;
33
33
  if (!('floorUid' in value) || value['floorUid'] === undefined)
34
34
  return false;
35
+ if (!('isOwner' in value) || value['isOwner'] === undefined)
36
+ return false;
37
+ if (!('floorType' in value) || value['floorType'] === undefined)
38
+ return false;
35
39
  return true;
36
40
  }
37
41
  function FloorInfoFromJSON(json) {
@@ -48,6 +52,9 @@ function FloorInfoFromJSONTyped(json, ignoreDiscriminator) {
48
52
  'floorUid': json['floor_uid'],
49
53
  'blocks': json['blocks'] == null ? undefined : (json['blocks'].map(BlockDetails_1.BlockDetailsFromJSON)),
50
54
  'avatar': json['avatar'] == null ? undefined : (0, Media_1.MediaFromJSON)(json['avatar']),
55
+ 'isOwner': json['is_owner'],
56
+ 'floorType': json['floor_type'],
57
+ 'appId': json['app_id'] == null ? undefined : json['app_id'],
51
58
  };
52
59
  }
53
60
  function FloorInfoToJSON(json) {
@@ -65,5 +72,8 @@ function FloorInfoToJSONTyped(value, ignoreDiscriminator) {
65
72
  'floor_uid': value['floorUid'],
66
73
  'blocks': value['blocks'] == null ? undefined : (value['blocks'].map(BlockDetails_1.BlockDetailsToJSON)),
67
74
  'avatar': (0, Media_1.MediaToJSON)(value['avatar']),
75
+ 'is_owner': value['isOwner'],
76
+ 'floor_type': value['floorType'],
77
+ 'app_id': value['appId'],
68
78
  };
69
79
  }
@@ -55,6 +55,24 @@ export interface GetFloorInformation200Response {
55
55
  * @memberof GetFloorInformation200Response
56
56
  */
57
57
  avatar?: Media;
58
+ /**
59
+ * Is the user Owner
60
+ * @type {string}
61
+ * @memberof GetFloorInformation200Response
62
+ */
63
+ isOwner: string;
64
+ /**
65
+ * Type of floor (POD, PUBLIC or PRIVATE)
66
+ * @type {string}
67
+ * @memberof GetFloorInformation200Response
68
+ */
69
+ floorType: string;
70
+ /**
71
+ * Optional - Applicable only if pod is present.
72
+ * @type {string}
73
+ * @memberof GetFloorInformation200Response
74
+ */
75
+ appId?: string;
58
76
  }
59
77
  /**
60
78
  * Check if a given object implements the GetFloorInformation200Response interface.
@@ -32,6 +32,10 @@ function instanceOfGetFloorInformation200Response(value) {
32
32
  return false;
33
33
  if (!('floorUid' in value) || value['floorUid'] === undefined)
34
34
  return false;
35
+ if (!('isOwner' in value) || value['isOwner'] === undefined)
36
+ return false;
37
+ if (!('floorType' in value) || value['floorType'] === undefined)
38
+ return false;
35
39
  return true;
36
40
  }
37
41
  function GetFloorInformation200ResponseFromJSON(json) {
@@ -48,6 +52,9 @@ function GetFloorInformation200ResponseFromJSONTyped(json, ignoreDiscriminator)
48
52
  'floorUid': json['floor_uid'],
49
53
  'blocks': json['blocks'] == null ? undefined : (json['blocks'].map(BlockDetails_1.BlockDetailsFromJSON)),
50
54
  'avatar': json['avatar'] == null ? undefined : (0, Media_1.MediaFromJSON)(json['avatar']),
55
+ 'isOwner': json['is_owner'],
56
+ 'floorType': json['floor_type'],
57
+ 'appId': json['app_id'] == null ? undefined : json['app_id'],
51
58
  };
52
59
  }
53
60
  function GetFloorInformation200ResponseToJSON(json) {
@@ -65,5 +72,8 @@ function GetFloorInformation200ResponseToJSONTyped(value, ignoreDiscriminator) {
65
72
  'floor_uid': value['floorUid'],
66
73
  'blocks': value['blocks'] == null ? undefined : (value['blocks'].map(BlockDetails_1.BlockDetailsToJSON)),
67
74
  'avatar': (0, Media_1.MediaToJSON)(value['avatar']),
75
+ 'is_owner': value['isOwner'],
76
+ 'floor_type': value['floorType'],
77
+ 'app_id': value['appId'],
68
78
  };
69
79
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfloor/floor-memory-sdk-ts",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "TypeScript SDK for xFloor Memory APIs (Memory + Registration).",
5
5
  "author": "xFloor",
6
6
  "repository": {