@xfloor/floor-memory-sdk-ts 1.0.20 → 1.0.22

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.
Files changed (33) hide show
  1. package/README.md +52 -52
  2. package/dist/apis/{DefaultApi.d.ts → AuthApi.d.ts} +10 -56
  3. package/dist/apis/{DefaultApi.js → AuthApi.js} +28 -246
  4. package/dist/apis/EventApi.d.ts +16 -1
  5. package/dist/apis/EventApi.js +69 -0
  6. package/dist/apis/FloorApi.d.ts +99 -0
  7. package/dist/apis/FloorApi.js +460 -0
  8. package/dist/apis/index.d.ts +2 -4
  9. package/dist/apis/index.js +2 -4
  10. package/dist/models/{GetFloorInformation200Response.d.ts → EditFloor200Response.d.ts} +17 -17
  11. package/dist/models/{GetFloorInformation200Response.js → EditFloor200Response.js} +13 -13
  12. package/dist/models/SignInResponse.d.ts +48 -0
  13. package/dist/models/SignInResponse.js +61 -0
  14. package/dist/models/UserDetails.d.ts +6 -6
  15. package/dist/models/UserDetails.js +6 -6
  16. package/dist/models/{SignInWithEmail200ResponsePodInfo.d.ts → UserDetailsPodInfo.d.ts} +16 -16
  17. package/dist/models/{SignInWithEmail200ResponsePodInfo.js → UserDetailsPodInfo.js} +13 -13
  18. package/dist/models/{SignInWithEmail200ResponseProfile.d.ts → UserDetailsProfile.d.ts} +20 -20
  19. package/dist/models/{SignInWithEmail200ResponseProfile.js → UserDetailsProfile.js} +16 -16
  20. package/dist/models/UserDetailsProfileAvatar.d.ts +40 -0
  21. package/dist/models/{SignInWithEmail200ResponseProfileAvatar.js → UserDetailsProfileAvatar.js} +13 -13
  22. package/dist/models/index.d.ts +5 -5
  23. package/dist/models/index.js +5 -5
  24. package/package.json +1 -1
  25. package/dist/apis/EditFloorApi.d.ts +0 -38
  26. package/dist/apis/EditFloorApi.js +0 -175
  27. package/dist/apis/GetFloorInformationApi.d.ts +0 -35
  28. package/dist/apis/GetFloorInformationApi.js +0 -149
  29. package/dist/apis/GetRecentEventsApi.d.ts +0 -35
  30. package/dist/apis/GetRecentEventsApi.js +0 -151
  31. package/dist/models/SignInWithEmail200Response.d.ts +0 -48
  32. package/dist/models/SignInWithEmail200Response.js +0 -61
  33. package/dist/models/SignInWithEmail200ResponseProfileAvatar.d.ts +0 -40
@@ -16,69 +16,69 @@ import type { Media } from './Media';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface GetFloorInformation200Response
19
+ * @interface EditFloor200Response
20
20
  */
21
- export interface GetFloorInformation200Response {
21
+ export interface EditFloor200Response {
22
22
  /**
23
23
  * Pod floor ID
24
24
  * @type {string}
25
- * @memberof GetFloorInformation200Response
25
+ * @memberof EditFloor200Response
26
26
  */
27
27
  floorId: string;
28
28
  /**
29
29
  * Title
30
30
  * @type {string}
31
- * @memberof GetFloorInformation200Response
31
+ * @memberof EditFloor200Response
32
32
  */
33
33
  title: string;
34
34
  /**
35
35
  * Brief description about the Pod floor
36
36
  * @type {string}
37
- * @memberof GetFloorInformation200Response
37
+ * @memberof EditFloor200Response
38
38
  */
39
39
  details?: string;
40
40
  /**
41
41
  * Unique numeric ID of the pod floor
42
42
  * @type {string}
43
- * @memberof GetFloorInformation200Response
43
+ * @memberof EditFloor200Response
44
44
  */
45
45
  floorUid: string;
46
46
  /**
47
47
  * List of blocks
48
48
  * @type {Array<BlockDetails>}
49
- * @memberof GetFloorInformation200Response
49
+ * @memberof EditFloor200Response
50
50
  */
51
51
  blocks?: Array<BlockDetails>;
52
52
  /**
53
53
  *
54
54
  * @type {Media}
55
- * @memberof GetFloorInformation200Response
55
+ * @memberof EditFloor200Response
56
56
  */
57
57
  avatar?: Media;
58
58
  /**
59
59
  * Is the user Owner
60
60
  * @type {string}
61
- * @memberof GetFloorInformation200Response
61
+ * @memberof EditFloor200Response
62
62
  */
63
63
  isOwner: string;
64
64
  /**
65
65
  * Type of floor (POD, PUBLIC or PRIVATE)
66
66
  * @type {string}
67
- * @memberof GetFloorInformation200Response
67
+ * @memberof EditFloor200Response
68
68
  */
69
69
  floorType: string;
70
70
  /**
71
71
  * Optional - Applicable only if pod is present.
72
72
  * @type {string}
73
- * @memberof GetFloorInformation200Response
73
+ * @memberof EditFloor200Response
74
74
  */
75
75
  appId?: string;
76
76
  }
77
77
  /**
78
- * Check if a given object implements the GetFloorInformation200Response interface.
78
+ * Check if a given object implements the EditFloor200Response interface.
79
79
  */
80
- export declare function instanceOfGetFloorInformation200Response(value: object): value is GetFloorInformation200Response;
81
- export declare function GetFloorInformation200ResponseFromJSON(json: any): GetFloorInformation200Response;
82
- export declare function GetFloorInformation200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetFloorInformation200Response;
83
- export declare function GetFloorInformation200ResponseToJSON(json: any): GetFloorInformation200Response;
84
- export declare function GetFloorInformation200ResponseToJSONTyped(value?: GetFloorInformation200Response | null, ignoreDiscriminator?: boolean): any;
80
+ export declare function instanceOfEditFloor200Response(value: object): value is EditFloor200Response;
81
+ export declare function EditFloor200ResponseFromJSON(json: any): EditFloor200Response;
82
+ export declare function EditFloor200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): EditFloor200Response;
83
+ export declare function EditFloor200ResponseToJSON(json: any): EditFloor200Response;
84
+ export declare function EditFloor200ResponseToJSONTyped(value?: EditFloor200Response | null, ignoreDiscriminator?: boolean): any;
@@ -15,17 +15,17 @@
15
15
  * Do not edit the class manually.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfGetFloorInformation200Response = instanceOfGetFloorInformation200Response;
19
- exports.GetFloorInformation200ResponseFromJSON = GetFloorInformation200ResponseFromJSON;
20
- exports.GetFloorInformation200ResponseFromJSONTyped = GetFloorInformation200ResponseFromJSONTyped;
21
- exports.GetFloorInformation200ResponseToJSON = GetFloorInformation200ResponseToJSON;
22
- exports.GetFloorInformation200ResponseToJSONTyped = GetFloorInformation200ResponseToJSONTyped;
18
+ exports.instanceOfEditFloor200Response = instanceOfEditFloor200Response;
19
+ exports.EditFloor200ResponseFromJSON = EditFloor200ResponseFromJSON;
20
+ exports.EditFloor200ResponseFromJSONTyped = EditFloor200ResponseFromJSONTyped;
21
+ exports.EditFloor200ResponseToJSON = EditFloor200ResponseToJSON;
22
+ exports.EditFloor200ResponseToJSONTyped = EditFloor200ResponseToJSONTyped;
23
23
  var BlockDetails_1 = require("./BlockDetails");
24
24
  var Media_1 = require("./Media");
25
25
  /**
26
- * Check if a given object implements the GetFloorInformation200Response interface.
26
+ * Check if a given object implements the EditFloor200Response interface.
27
27
  */
28
- function instanceOfGetFloorInformation200Response(value) {
28
+ function instanceOfEditFloor200Response(value) {
29
29
  if (!('floorId' in value) || value['floorId'] === undefined)
30
30
  return false;
31
31
  if (!('title' in value) || value['title'] === undefined)
@@ -38,10 +38,10 @@ function instanceOfGetFloorInformation200Response(value) {
38
38
  return false;
39
39
  return true;
40
40
  }
41
- function GetFloorInformation200ResponseFromJSON(json) {
42
- return GetFloorInformation200ResponseFromJSONTyped(json, false);
41
+ function EditFloor200ResponseFromJSON(json) {
42
+ return EditFloor200ResponseFromJSONTyped(json, false);
43
43
  }
44
- function GetFloorInformation200ResponseFromJSONTyped(json, ignoreDiscriminator) {
44
+ function EditFloor200ResponseFromJSONTyped(json, ignoreDiscriminator) {
45
45
  if (json == null) {
46
46
  return json;
47
47
  }
@@ -57,10 +57,10 @@ function GetFloorInformation200ResponseFromJSONTyped(json, ignoreDiscriminator)
57
57
  'appId': json['app_id'] == null ? undefined : json['app_id'],
58
58
  };
59
59
  }
60
- function GetFloorInformation200ResponseToJSON(json) {
61
- return GetFloorInformation200ResponseToJSONTyped(json, false);
60
+ function EditFloor200ResponseToJSON(json) {
61
+ return EditFloor200ResponseToJSONTyped(json, false);
62
62
  }
63
- function GetFloorInformation200ResponseToJSONTyped(value, ignoreDiscriminator) {
63
+ function EditFloor200ResponseToJSONTyped(value, ignoreDiscriminator) {
64
64
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
65
65
  if (value == null) {
66
66
  return value;
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Floor Memory
3
+ * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
4
+ * - Memory and
5
+ * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: contact@ipomo.in
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import type { UserDetailsPodInfo } from './UserDetailsPodInfo';
15
+ import type { UserDetailsProfile } from './UserDetailsProfile';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SignInResponse
20
+ */
21
+ export interface SignInResponse {
22
+ /**
23
+ *
24
+ * @type {UserDetailsProfile}
25
+ * @memberof SignInResponse
26
+ */
27
+ profile: UserDetailsProfile;
28
+ /**
29
+ *
30
+ * @type {UserDetailsPodInfo}
31
+ * @memberof SignInResponse
32
+ */
33
+ podInfo: UserDetailsPodInfo;
34
+ /**
35
+ * App ID
36
+ * @type {string}
37
+ * @memberof SignInResponse
38
+ */
39
+ appId?: string;
40
+ }
41
+ /**
42
+ * Check if a given object implements the SignInResponse interface.
43
+ */
44
+ export declare function instanceOfSignInResponse(value: object): value is SignInResponse;
45
+ export declare function SignInResponseFromJSON(json: any): SignInResponse;
46
+ export declare function SignInResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignInResponse;
47
+ export declare function SignInResponseToJSON(json: any): SignInResponse;
48
+ export declare function SignInResponseToJSONTyped(value?: SignInResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Floor Memory
6
+ * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
7
+ * - Memory and
8
+ * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
9
+ *
10
+ * The version of the OpenAPI document: 1.0.0
11
+ * Contact: contact@ipomo.in
12
+ *
13
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14
+ * https://openapi-generator.tech
15
+ * Do not edit the class manually.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.instanceOfSignInResponse = instanceOfSignInResponse;
19
+ exports.SignInResponseFromJSON = SignInResponseFromJSON;
20
+ exports.SignInResponseFromJSONTyped = SignInResponseFromJSONTyped;
21
+ exports.SignInResponseToJSON = SignInResponseToJSON;
22
+ exports.SignInResponseToJSONTyped = SignInResponseToJSONTyped;
23
+ var UserDetailsPodInfo_1 = require("./UserDetailsPodInfo");
24
+ var UserDetailsProfile_1 = require("./UserDetailsProfile");
25
+ /**
26
+ * Check if a given object implements the SignInResponse interface.
27
+ */
28
+ function instanceOfSignInResponse(value) {
29
+ if (!('profile' in value) || value['profile'] === undefined)
30
+ return false;
31
+ if (!('podInfo' in value) || value['podInfo'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function SignInResponseFromJSON(json) {
36
+ return SignInResponseFromJSONTyped(json, false);
37
+ }
38
+ function SignInResponseFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'profile': (0, UserDetailsProfile_1.UserDetailsProfileFromJSON)(json['profile']),
44
+ 'podInfo': (0, UserDetailsPodInfo_1.UserDetailsPodInfoFromJSON)(json['pod_info']),
45
+ 'appId': json['app_id'] == null ? undefined : json['app_id'],
46
+ };
47
+ }
48
+ function SignInResponseToJSON(json) {
49
+ return SignInResponseToJSONTyped(json, false);
50
+ }
51
+ function SignInResponseToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'profile': (0, UserDetailsProfile_1.UserDetailsProfileToJSON)(value['profile']),
58
+ 'pod_info': (0, UserDetailsPodInfo_1.UserDetailsPodInfoToJSON)(value['podInfo']),
59
+ 'app_id': value['appId'],
60
+ };
61
+ }
@@ -11,8 +11,8 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import type { SignInWithEmail200ResponsePodInfo } from './SignInWithEmail200ResponsePodInfo';
15
- import type { SignInWithEmail200ResponseProfile } from './SignInWithEmail200ResponseProfile';
14
+ import type { UserDetailsPodInfo } from './UserDetailsPodInfo';
15
+ import type { UserDetailsProfile } from './UserDetailsProfile';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -21,16 +21,16 @@ import type { SignInWithEmail200ResponseProfile } from './SignInWithEmail200Resp
21
21
  export interface UserDetails {
22
22
  /**
23
23
  *
24
- * @type {SignInWithEmail200ResponseProfile}
24
+ * @type {UserDetailsProfile}
25
25
  * @memberof UserDetails
26
26
  */
27
- profile: SignInWithEmail200ResponseProfile;
27
+ profile: UserDetailsProfile;
28
28
  /**
29
29
  *
30
- * @type {SignInWithEmail200ResponsePodInfo}
30
+ * @type {UserDetailsPodInfo}
31
31
  * @memberof UserDetails
32
32
  */
33
- podInfo: SignInWithEmail200ResponsePodInfo;
33
+ podInfo: UserDetailsPodInfo;
34
34
  /**
35
35
  * App ID
36
36
  * @type {string}
@@ -20,8 +20,8 @@ exports.UserDetailsFromJSON = UserDetailsFromJSON;
20
20
  exports.UserDetailsFromJSONTyped = UserDetailsFromJSONTyped;
21
21
  exports.UserDetailsToJSON = UserDetailsToJSON;
22
22
  exports.UserDetailsToJSONTyped = UserDetailsToJSONTyped;
23
- var SignInWithEmail200ResponsePodInfo_1 = require("./SignInWithEmail200ResponsePodInfo");
24
- var SignInWithEmail200ResponseProfile_1 = require("./SignInWithEmail200ResponseProfile");
23
+ var UserDetailsPodInfo_1 = require("./UserDetailsPodInfo");
24
+ var UserDetailsProfile_1 = require("./UserDetailsProfile");
25
25
  /**
26
26
  * Check if a given object implements the UserDetails interface.
27
27
  */
@@ -40,8 +40,8 @@ function UserDetailsFromJSONTyped(json, ignoreDiscriminator) {
40
40
  return json;
41
41
  }
42
42
  return {
43
- 'profile': (0, SignInWithEmail200ResponseProfile_1.SignInWithEmail200ResponseProfileFromJSON)(json['profile']),
44
- 'podInfo': (0, SignInWithEmail200ResponsePodInfo_1.SignInWithEmail200ResponsePodInfoFromJSON)(json['pod_info']),
43
+ 'profile': (0, UserDetailsProfile_1.UserDetailsProfileFromJSON)(json['profile']),
44
+ 'podInfo': (0, UserDetailsPodInfo_1.UserDetailsPodInfoFromJSON)(json['pod_info']),
45
45
  'appId': json['app_id'] == null ? undefined : json['app_id'],
46
46
  };
47
47
  }
@@ -54,8 +54,8 @@ function UserDetailsToJSONTyped(value, ignoreDiscriminator) {
54
54
  return value;
55
55
  }
56
56
  return {
57
- 'profile': (0, SignInWithEmail200ResponseProfile_1.SignInWithEmail200ResponseProfileToJSON)(value['profile']),
58
- 'pod_info': (0, SignInWithEmail200ResponsePodInfo_1.SignInWithEmail200ResponsePodInfoToJSON)(value['podInfo']),
57
+ 'profile': (0, UserDetailsProfile_1.UserDetailsProfileToJSON)(value['profile']),
58
+ 'pod_info': (0, UserDetailsPodInfo_1.UserDetailsPodInfoToJSON)(value['podInfo']),
59
59
  'app_id': value['appId'],
60
60
  };
61
61
  }
@@ -16,63 +16,63 @@ import type { Media } from './Media';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface SignInWithEmail200ResponsePodInfo
19
+ * @interface UserDetailsPodInfo
20
20
  */
21
- export interface SignInWithEmail200ResponsePodInfo {
21
+ export interface UserDetailsPodInfo {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof SignInWithEmail200ResponsePodInfo
25
+ * @memberof UserDetailsPodInfo
26
26
  */
27
27
  floorId: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof SignInWithEmail200ResponsePodInfo
31
+ * @memberof UserDetailsPodInfo
32
32
  */
33
33
  isOwner?: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
- * @memberof SignInWithEmail200ResponsePodInfo
37
+ * @memberof UserDetailsPodInfo
38
38
  */
39
39
  appId?: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
- * @memberof SignInWithEmail200ResponsePodInfo
43
+ * @memberof UserDetailsPodInfo
44
44
  */
45
45
  title: string;
46
46
  /**
47
47
  *
48
48
  * @type {string}
49
- * @memberof SignInWithEmail200ResponsePodInfo
49
+ * @memberof UserDetailsPodInfo
50
50
  */
51
51
  details?: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
55
- * @memberof SignInWithEmail200ResponsePodInfo
55
+ * @memberof UserDetailsPodInfo
56
56
  */
57
57
  floorUid: string;
58
58
  /**
59
59
  *
60
60
  * @type {Array<BlockDetails>}
61
- * @memberof SignInWithEmail200ResponsePodInfo
61
+ * @memberof UserDetailsPodInfo
62
62
  */
63
63
  blocks: Array<BlockDetails>;
64
64
  /**
65
65
  *
66
66
  * @type {Media}
67
- * @memberof SignInWithEmail200ResponsePodInfo
67
+ * @memberof UserDetailsPodInfo
68
68
  */
69
69
  avatar?: Media;
70
70
  }
71
71
  /**
72
- * Check if a given object implements the SignInWithEmail200ResponsePodInfo interface.
72
+ * Check if a given object implements the UserDetailsPodInfo interface.
73
73
  */
74
- export declare function instanceOfSignInWithEmail200ResponsePodInfo(value: object): value is SignInWithEmail200ResponsePodInfo;
75
- export declare function SignInWithEmail200ResponsePodInfoFromJSON(json: any): SignInWithEmail200ResponsePodInfo;
76
- export declare function SignInWithEmail200ResponsePodInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignInWithEmail200ResponsePodInfo;
77
- export declare function SignInWithEmail200ResponsePodInfoToJSON(json: any): SignInWithEmail200ResponsePodInfo;
78
- export declare function SignInWithEmail200ResponsePodInfoToJSONTyped(value?: SignInWithEmail200ResponsePodInfo | null, ignoreDiscriminator?: boolean): any;
74
+ export declare function instanceOfUserDetailsPodInfo(value: object): value is UserDetailsPodInfo;
75
+ export declare function UserDetailsPodInfoFromJSON(json: any): UserDetailsPodInfo;
76
+ export declare function UserDetailsPodInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserDetailsPodInfo;
77
+ export declare function UserDetailsPodInfoToJSON(json: any): UserDetailsPodInfo;
78
+ export declare function UserDetailsPodInfoToJSONTyped(value?: UserDetailsPodInfo | null, ignoreDiscriminator?: boolean): any;
@@ -15,17 +15,17 @@
15
15
  * Do not edit the class manually.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfSignInWithEmail200ResponsePodInfo = instanceOfSignInWithEmail200ResponsePodInfo;
19
- exports.SignInWithEmail200ResponsePodInfoFromJSON = SignInWithEmail200ResponsePodInfoFromJSON;
20
- exports.SignInWithEmail200ResponsePodInfoFromJSONTyped = SignInWithEmail200ResponsePodInfoFromJSONTyped;
21
- exports.SignInWithEmail200ResponsePodInfoToJSON = SignInWithEmail200ResponsePodInfoToJSON;
22
- exports.SignInWithEmail200ResponsePodInfoToJSONTyped = SignInWithEmail200ResponsePodInfoToJSONTyped;
18
+ exports.instanceOfUserDetailsPodInfo = instanceOfUserDetailsPodInfo;
19
+ exports.UserDetailsPodInfoFromJSON = UserDetailsPodInfoFromJSON;
20
+ exports.UserDetailsPodInfoFromJSONTyped = UserDetailsPodInfoFromJSONTyped;
21
+ exports.UserDetailsPodInfoToJSON = UserDetailsPodInfoToJSON;
22
+ exports.UserDetailsPodInfoToJSONTyped = UserDetailsPodInfoToJSONTyped;
23
23
  var BlockDetails_1 = require("./BlockDetails");
24
24
  var Media_1 = require("./Media");
25
25
  /**
26
- * Check if a given object implements the SignInWithEmail200ResponsePodInfo interface.
26
+ * Check if a given object implements the UserDetailsPodInfo interface.
27
27
  */
28
- function instanceOfSignInWithEmail200ResponsePodInfo(value) {
28
+ function instanceOfUserDetailsPodInfo(value) {
29
29
  if (!('floorId' in value) || value['floorId'] === undefined)
30
30
  return false;
31
31
  if (!('title' in value) || value['title'] === undefined)
@@ -36,10 +36,10 @@ function instanceOfSignInWithEmail200ResponsePodInfo(value) {
36
36
  return false;
37
37
  return true;
38
38
  }
39
- function SignInWithEmail200ResponsePodInfoFromJSON(json) {
40
- return SignInWithEmail200ResponsePodInfoFromJSONTyped(json, false);
39
+ function UserDetailsPodInfoFromJSON(json) {
40
+ return UserDetailsPodInfoFromJSONTyped(json, false);
41
41
  }
42
- function SignInWithEmail200ResponsePodInfoFromJSONTyped(json, ignoreDiscriminator) {
42
+ function UserDetailsPodInfoFromJSONTyped(json, ignoreDiscriminator) {
43
43
  if (json == null) {
44
44
  return json;
45
45
  }
@@ -54,10 +54,10 @@ function SignInWithEmail200ResponsePodInfoFromJSONTyped(json, ignoreDiscriminato
54
54
  'avatar': json['avatar'] == null ? undefined : (0, Media_1.MediaFromJSON)(json['avatar']),
55
55
  };
56
56
  }
57
- function SignInWithEmail200ResponsePodInfoToJSON(json) {
58
- return SignInWithEmail200ResponsePodInfoToJSONTyped(json, false);
57
+ function UserDetailsPodInfoToJSON(json) {
58
+ return UserDetailsPodInfoToJSONTyped(json, false);
59
59
  }
60
- function SignInWithEmail200ResponsePodInfoToJSONTyped(value, ignoreDiscriminator) {
60
+ function UserDetailsPodInfoToJSONTyped(value, ignoreDiscriminator) {
61
61
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
62
62
  if (value == null) {
63
63
  return value;
@@ -11,74 +11,74 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import type { SignInWithEmail200ResponseProfileAvatar } from './SignInWithEmail200ResponseProfileAvatar';
15
14
  import type { Remaining } from './Remaining';
15
+ import type { UserDetailsProfileAvatar } from './UserDetailsProfileAvatar';
16
16
  /**
17
17
  * User profile details
18
18
  * @export
19
- * @interface SignInWithEmail200ResponseProfile
19
+ * @interface UserDetailsProfile
20
20
  */
21
- export interface SignInWithEmail200ResponseProfile {
21
+ export interface UserDetailsProfile {
22
22
  /**
23
23
  * Associated floor ID
24
24
  * @type {string}
25
- * @memberof SignInWithEmail200ResponseProfile
25
+ * @memberof UserDetailsProfile
26
26
  */
27
27
  floorId: string;
28
28
  /**
29
29
  *
30
30
  * @type {Remaining}
31
- * @memberof SignInWithEmail200ResponseProfile
31
+ * @memberof UserDetailsProfile
32
32
  */
33
33
  floorCountInfo?: Remaining;
34
34
  /**
35
35
  *
36
36
  * @type {Remaining}
37
- * @memberof SignInWithEmail200ResponseProfile
37
+ * @memberof UserDetailsProfile
38
38
  */
39
39
  blockCountInfo?: Remaining;
40
40
  /**
41
41
  * Unique ID of floor
42
42
  * @type {string}
43
- * @memberof SignInWithEmail200ResponseProfile
43
+ * @memberof UserDetailsProfile
44
44
  */
45
45
  fID: string;
46
46
  /**
47
47
  * User Name
48
48
  * @type {string}
49
- * @memberof SignInWithEmail200ResponseProfile
49
+ * @memberof UserDetailsProfile
50
50
  */
51
51
  name?: string;
52
52
  /**
53
53
  * Email ID
54
54
  * @type {string}
55
- * @memberof SignInWithEmail200ResponseProfile
55
+ * @memberof UserDetailsProfile
56
56
  */
57
57
  email?: string;
58
58
  /**
59
59
  * Mobile number
60
60
  * @type {string}
61
- * @memberof SignInWithEmail200ResponseProfile
61
+ * @memberof UserDetailsProfile
62
62
  */
63
63
  mobileNumber?: string;
64
64
  /**
65
65
  * Unique User ID
66
66
  * @type {string}
67
- * @memberof SignInWithEmail200ResponseProfile
67
+ * @memberof UserDetailsProfile
68
68
  */
69
69
  userId: string;
70
70
  /**
71
71
  *
72
- * @type {SignInWithEmail200ResponseProfileAvatar}
73
- * @memberof SignInWithEmail200ResponseProfile
72
+ * @type {UserDetailsProfileAvatar}
73
+ * @memberof UserDetailsProfile
74
74
  */
75
- avatar?: SignInWithEmail200ResponseProfileAvatar;
75
+ avatar?: UserDetailsProfileAvatar;
76
76
  }
77
77
  /**
78
- * Check if a given object implements the SignInWithEmail200ResponseProfile interface.
78
+ * Check if a given object implements the UserDetailsProfile interface.
79
79
  */
80
- export declare function instanceOfSignInWithEmail200ResponseProfile(value: object): value is SignInWithEmail200ResponseProfile;
81
- export declare function SignInWithEmail200ResponseProfileFromJSON(json: any): SignInWithEmail200ResponseProfile;
82
- export declare function SignInWithEmail200ResponseProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignInWithEmail200ResponseProfile;
83
- export declare function SignInWithEmail200ResponseProfileToJSON(json: any): SignInWithEmail200ResponseProfile;
84
- export declare function SignInWithEmail200ResponseProfileToJSONTyped(value?: SignInWithEmail200ResponseProfile | null, ignoreDiscriminator?: boolean): any;
80
+ export declare function instanceOfUserDetailsProfile(value: object): value is UserDetailsProfile;
81
+ export declare function UserDetailsProfileFromJSON(json: any): UserDetailsProfile;
82
+ export declare function UserDetailsProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserDetailsProfile;
83
+ export declare function UserDetailsProfileToJSON(json: any): UserDetailsProfile;
84
+ export declare function UserDetailsProfileToJSONTyped(value?: UserDetailsProfile | null, ignoreDiscriminator?: boolean): any;
@@ -15,17 +15,17 @@
15
15
  * Do not edit the class manually.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfSignInWithEmail200ResponseProfile = instanceOfSignInWithEmail200ResponseProfile;
19
- exports.SignInWithEmail200ResponseProfileFromJSON = SignInWithEmail200ResponseProfileFromJSON;
20
- exports.SignInWithEmail200ResponseProfileFromJSONTyped = SignInWithEmail200ResponseProfileFromJSONTyped;
21
- exports.SignInWithEmail200ResponseProfileToJSON = SignInWithEmail200ResponseProfileToJSON;
22
- exports.SignInWithEmail200ResponseProfileToJSONTyped = SignInWithEmail200ResponseProfileToJSONTyped;
23
- var SignInWithEmail200ResponseProfileAvatar_1 = require("./SignInWithEmail200ResponseProfileAvatar");
18
+ exports.instanceOfUserDetailsProfile = instanceOfUserDetailsProfile;
19
+ exports.UserDetailsProfileFromJSON = UserDetailsProfileFromJSON;
20
+ exports.UserDetailsProfileFromJSONTyped = UserDetailsProfileFromJSONTyped;
21
+ exports.UserDetailsProfileToJSON = UserDetailsProfileToJSON;
22
+ exports.UserDetailsProfileToJSONTyped = UserDetailsProfileToJSONTyped;
24
23
  var Remaining_1 = require("./Remaining");
24
+ var UserDetailsProfileAvatar_1 = require("./UserDetailsProfileAvatar");
25
25
  /**
26
- * Check if a given object implements the SignInWithEmail200ResponseProfile interface.
26
+ * Check if a given object implements the UserDetailsProfile interface.
27
27
  */
28
- function instanceOfSignInWithEmail200ResponseProfile(value) {
28
+ function instanceOfUserDetailsProfile(value) {
29
29
  if (!('floorId' in value) || value['floorId'] === undefined)
30
30
  return false;
31
31
  if (!('fID' in value) || value['fID'] === undefined)
@@ -34,10 +34,10 @@ function instanceOfSignInWithEmail200ResponseProfile(value) {
34
34
  return false;
35
35
  return true;
36
36
  }
37
- function SignInWithEmail200ResponseProfileFromJSON(json) {
38
- return SignInWithEmail200ResponseProfileFromJSONTyped(json, false);
37
+ function UserDetailsProfileFromJSON(json) {
38
+ return UserDetailsProfileFromJSONTyped(json, false);
39
39
  }
40
- function SignInWithEmail200ResponseProfileFromJSONTyped(json, ignoreDiscriminator) {
40
+ function UserDetailsProfileFromJSONTyped(json, ignoreDiscriminator) {
41
41
  if (json == null) {
42
42
  return json;
43
43
  }
@@ -50,13 +50,13 @@ function SignInWithEmail200ResponseProfileFromJSONTyped(json, ignoreDiscriminato
50
50
  'email': json['email'] == null ? undefined : json['email'],
51
51
  'mobileNumber': json['mobile_number'] == null ? undefined : json['mobile_number'],
52
52
  'userId': json['user_id'],
53
- 'avatar': json['avatar'] == null ? undefined : (0, SignInWithEmail200ResponseProfileAvatar_1.SignInWithEmail200ResponseProfileAvatarFromJSON)(json['avatar']),
53
+ 'avatar': json['avatar'] == null ? undefined : (0, UserDetailsProfileAvatar_1.UserDetailsProfileAvatarFromJSON)(json['avatar']),
54
54
  };
55
55
  }
56
- function SignInWithEmail200ResponseProfileToJSON(json) {
57
- return SignInWithEmail200ResponseProfileToJSONTyped(json, false);
56
+ function UserDetailsProfileToJSON(json) {
57
+ return UserDetailsProfileToJSONTyped(json, false);
58
58
  }
59
- function SignInWithEmail200ResponseProfileToJSONTyped(value, ignoreDiscriminator) {
59
+ function UserDetailsProfileToJSONTyped(value, ignoreDiscriminator) {
60
60
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
61
  if (value == null) {
62
62
  return value;
@@ -70,6 +70,6 @@ function SignInWithEmail200ResponseProfileToJSONTyped(value, ignoreDiscriminator
70
70
  'email': value['email'],
71
71
  'mobile_number': value['mobileNumber'],
72
72
  'user_id': value['userId'],
73
- 'avatar': (0, SignInWithEmail200ResponseProfileAvatar_1.SignInWithEmail200ResponseProfileAvatarToJSON)(value['avatar']),
73
+ 'avatar': (0, UserDetailsProfileAvatar_1.UserDetailsProfileAvatarToJSON)(value['avatar']),
74
74
  };
75
75
  }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Floor Memory
3
+ * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
4
+ * - Memory and
5
+ * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: contact@ipomo.in
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Profile Pick details
16
+ * @export
17
+ * @interface UserDetailsProfileAvatar
18
+ */
19
+ export interface UserDetailsProfileAvatar {
20
+ /**
21
+ * Image URL
22
+ * @type {string}
23
+ * @memberof UserDetailsProfileAvatar
24
+ */
25
+ url: string;
26
+ /**
27
+ * Image ID
28
+ * @type {string}
29
+ * @memberof UserDetailsProfileAvatar
30
+ */
31
+ id: string;
32
+ }
33
+ /**
34
+ * Check if a given object implements the UserDetailsProfileAvatar interface.
35
+ */
36
+ export declare function instanceOfUserDetailsProfileAvatar(value: object): value is UserDetailsProfileAvatar;
37
+ export declare function UserDetailsProfileAvatarFromJSON(json: any): UserDetailsProfileAvatar;
38
+ export declare function UserDetailsProfileAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserDetailsProfileAvatar;
39
+ export declare function UserDetailsProfileAvatarToJSON(json: any): UserDetailsProfileAvatar;
40
+ export declare function UserDetailsProfileAvatarToJSONTyped(value?: UserDetailsProfileAvatar | null, ignoreDiscriminator?: boolean): any;