@xfloor/floor-memory-sdk-ts 1.0.19 → 1.0.21

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 (36) hide show
  1. package/README.md +56 -50
  2. package/dist/apis/{DefaultApi.d.ts → AuthApi.d.ts} +21 -51
  3. package/dist/apis/{DefaultApi.js → AuthApi.js} +57 -196
  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/ChangeEmail200Response.d.ts +48 -0
  11. package/dist/models/ChangeEmail200Response.js +61 -0
  12. package/dist/models/{SignInWithEmail200ResponsePodInfo.d.ts → ChangeEmail200ResponsePodInfo.d.ts} +16 -16
  13. package/dist/models/{SignInWithEmail200ResponsePodInfo.js → ChangeEmail200ResponsePodInfo.js} +13 -13
  14. package/dist/models/ChangeEmail200ResponseProfile.d.ts +84 -0
  15. package/dist/models/{SignInWithEmail200ResponseProfile.js → ChangeEmail200ResponseProfile.js} +20 -20
  16. package/dist/models/ChangeEmail200ResponseProfileAvatar.d.ts +40 -0
  17. package/dist/models/{SignInWithEmail200ResponseProfileAvatar.js → ChangeEmail200ResponseProfileAvatar.js} +13 -13
  18. package/dist/models/{GetFloorInformation200Response.d.ts → EditFloor200Response.d.ts} +17 -17
  19. package/dist/models/{GetFloorInformation200Response.js → EditFloor200Response.js} +13 -13
  20. package/dist/models/SignInResponse.d.ts +48 -0
  21. package/dist/models/SignInResponse.js +61 -0
  22. package/dist/models/UserDetails.d.ts +6 -6
  23. package/dist/models/UserDetails.js +6 -6
  24. package/dist/models/index.d.ts +6 -5
  25. package/dist/models/index.js +6 -5
  26. package/package.json +1 -1
  27. package/dist/apis/EditFloorApi.d.ts +0 -38
  28. package/dist/apis/EditFloorApi.js +0 -175
  29. package/dist/apis/GetFloorInformationApi.d.ts +0 -35
  30. package/dist/apis/GetFloorInformationApi.js +0 -149
  31. package/dist/apis/GetRecentEventsApi.d.ts +0 -35
  32. package/dist/apis/GetRecentEventsApi.js +0 -151
  33. package/dist/models/SignInWithEmail200Response.d.ts +0 -48
  34. package/dist/models/SignInWithEmail200Response.js +0 -61
  35. package/dist/models/SignInWithEmail200ResponseProfile.d.ts +0 -84
  36. package/dist/models/SignInWithEmail200ResponseProfileAvatar.d.ts +0 -40
@@ -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.instanceOfChangeEmail200Response = instanceOfChangeEmail200Response;
19
+ exports.ChangeEmail200ResponseFromJSON = ChangeEmail200ResponseFromJSON;
20
+ exports.ChangeEmail200ResponseFromJSONTyped = ChangeEmail200ResponseFromJSONTyped;
21
+ exports.ChangeEmail200ResponseToJSON = ChangeEmail200ResponseToJSON;
22
+ exports.ChangeEmail200ResponseToJSONTyped = ChangeEmail200ResponseToJSONTyped;
23
+ var ChangeEmail200ResponseProfile_1 = require("./ChangeEmail200ResponseProfile");
24
+ var ChangeEmail200ResponsePodInfo_1 = require("./ChangeEmail200ResponsePodInfo");
25
+ /**
26
+ * Check if a given object implements the ChangeEmail200Response interface.
27
+ */
28
+ function instanceOfChangeEmail200Response(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 ChangeEmail200ResponseFromJSON(json) {
36
+ return ChangeEmail200ResponseFromJSONTyped(json, false);
37
+ }
38
+ function ChangeEmail200ResponseFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'profile': (0, ChangeEmail200ResponseProfile_1.ChangeEmail200ResponseProfileFromJSON)(json['profile']),
44
+ 'podInfo': (0, ChangeEmail200ResponsePodInfo_1.ChangeEmail200ResponsePodInfoFromJSON)(json['pod_info']),
45
+ 'appId': json['app_id'] == null ? undefined : json['app_id'],
46
+ };
47
+ }
48
+ function ChangeEmail200ResponseToJSON(json) {
49
+ return ChangeEmail200ResponseToJSONTyped(json, false);
50
+ }
51
+ function ChangeEmail200ResponseToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'profile': (0, ChangeEmail200ResponseProfile_1.ChangeEmail200ResponseProfileToJSON)(value['profile']),
58
+ 'pod_info': (0, ChangeEmail200ResponsePodInfo_1.ChangeEmail200ResponsePodInfoToJSON)(value['podInfo']),
59
+ 'app_id': value['appId'],
60
+ };
61
+ }
@@ -16,63 +16,63 @@ import type { Media } from './Media';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface SignInWithEmail200ResponsePodInfo
19
+ * @interface ChangeEmail200ResponsePodInfo
20
20
  */
21
- export interface SignInWithEmail200ResponsePodInfo {
21
+ export interface ChangeEmail200ResponsePodInfo {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof SignInWithEmail200ResponsePodInfo
25
+ * @memberof ChangeEmail200ResponsePodInfo
26
26
  */
27
27
  floorId: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof SignInWithEmail200ResponsePodInfo
31
+ * @memberof ChangeEmail200ResponsePodInfo
32
32
  */
33
33
  isOwner?: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
- * @memberof SignInWithEmail200ResponsePodInfo
37
+ * @memberof ChangeEmail200ResponsePodInfo
38
38
  */
39
39
  appId?: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
- * @memberof SignInWithEmail200ResponsePodInfo
43
+ * @memberof ChangeEmail200ResponsePodInfo
44
44
  */
45
45
  title: string;
46
46
  /**
47
47
  *
48
48
  * @type {string}
49
- * @memberof SignInWithEmail200ResponsePodInfo
49
+ * @memberof ChangeEmail200ResponsePodInfo
50
50
  */
51
51
  details?: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
55
- * @memberof SignInWithEmail200ResponsePodInfo
55
+ * @memberof ChangeEmail200ResponsePodInfo
56
56
  */
57
57
  floorUid: string;
58
58
  /**
59
59
  *
60
60
  * @type {Array<BlockDetails>}
61
- * @memberof SignInWithEmail200ResponsePodInfo
61
+ * @memberof ChangeEmail200ResponsePodInfo
62
62
  */
63
63
  blocks: Array<BlockDetails>;
64
64
  /**
65
65
  *
66
66
  * @type {Media}
67
- * @memberof SignInWithEmail200ResponsePodInfo
67
+ * @memberof ChangeEmail200ResponsePodInfo
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 ChangeEmail200ResponsePodInfo 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 instanceOfChangeEmail200ResponsePodInfo(value: object): value is ChangeEmail200ResponsePodInfo;
75
+ export declare function ChangeEmail200ResponsePodInfoFromJSON(json: any): ChangeEmail200ResponsePodInfo;
76
+ export declare function ChangeEmail200ResponsePodInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeEmail200ResponsePodInfo;
77
+ export declare function ChangeEmail200ResponsePodInfoToJSON(json: any): ChangeEmail200ResponsePodInfo;
78
+ export declare function ChangeEmail200ResponsePodInfoToJSONTyped(value?: ChangeEmail200ResponsePodInfo | 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.instanceOfChangeEmail200ResponsePodInfo = instanceOfChangeEmail200ResponsePodInfo;
19
+ exports.ChangeEmail200ResponsePodInfoFromJSON = ChangeEmail200ResponsePodInfoFromJSON;
20
+ exports.ChangeEmail200ResponsePodInfoFromJSONTyped = ChangeEmail200ResponsePodInfoFromJSONTyped;
21
+ exports.ChangeEmail200ResponsePodInfoToJSON = ChangeEmail200ResponsePodInfoToJSON;
22
+ exports.ChangeEmail200ResponsePodInfoToJSONTyped = ChangeEmail200ResponsePodInfoToJSONTyped;
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 ChangeEmail200ResponsePodInfo interface.
27
27
  */
28
- function instanceOfSignInWithEmail200ResponsePodInfo(value) {
28
+ function instanceOfChangeEmail200ResponsePodInfo(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 ChangeEmail200ResponsePodInfoFromJSON(json) {
40
+ return ChangeEmail200ResponsePodInfoFromJSONTyped(json, false);
41
41
  }
42
- function SignInWithEmail200ResponsePodInfoFromJSONTyped(json, ignoreDiscriminator) {
42
+ function ChangeEmail200ResponsePodInfoFromJSONTyped(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 ChangeEmail200ResponsePodInfoToJSON(json) {
58
+ return ChangeEmail200ResponsePodInfoToJSONTyped(json, false);
59
59
  }
60
- function SignInWithEmail200ResponsePodInfoToJSONTyped(value, ignoreDiscriminator) {
60
+ function ChangeEmail200ResponsePodInfoToJSONTyped(value, ignoreDiscriminator) {
61
61
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
62
62
  if (value == null) {
63
63
  return value;
@@ -0,0 +1,84 @@
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 { ChangeEmail200ResponseProfileAvatar } from './ChangeEmail200ResponseProfileAvatar';
15
+ import type { Remaining } from './Remaining';
16
+ /**
17
+ * User profile details
18
+ * @export
19
+ * @interface ChangeEmail200ResponseProfile
20
+ */
21
+ export interface ChangeEmail200ResponseProfile {
22
+ /**
23
+ * Associated floor ID
24
+ * @type {string}
25
+ * @memberof ChangeEmail200ResponseProfile
26
+ */
27
+ floorId: string;
28
+ /**
29
+ *
30
+ * @type {Remaining}
31
+ * @memberof ChangeEmail200ResponseProfile
32
+ */
33
+ floorCountInfo?: Remaining;
34
+ /**
35
+ *
36
+ * @type {Remaining}
37
+ * @memberof ChangeEmail200ResponseProfile
38
+ */
39
+ blockCountInfo?: Remaining;
40
+ /**
41
+ * Unique ID of floor
42
+ * @type {string}
43
+ * @memberof ChangeEmail200ResponseProfile
44
+ */
45
+ fID: string;
46
+ /**
47
+ * User Name
48
+ * @type {string}
49
+ * @memberof ChangeEmail200ResponseProfile
50
+ */
51
+ name?: string;
52
+ /**
53
+ * Email ID
54
+ * @type {string}
55
+ * @memberof ChangeEmail200ResponseProfile
56
+ */
57
+ email?: string;
58
+ /**
59
+ * Mobile number
60
+ * @type {string}
61
+ * @memberof ChangeEmail200ResponseProfile
62
+ */
63
+ mobileNumber?: string;
64
+ /**
65
+ * Unique User ID
66
+ * @type {string}
67
+ * @memberof ChangeEmail200ResponseProfile
68
+ */
69
+ userId: string;
70
+ /**
71
+ *
72
+ * @type {ChangeEmail200ResponseProfileAvatar}
73
+ * @memberof ChangeEmail200ResponseProfile
74
+ */
75
+ avatar?: ChangeEmail200ResponseProfileAvatar;
76
+ }
77
+ /**
78
+ * Check if a given object implements the ChangeEmail200ResponseProfile interface.
79
+ */
80
+ export declare function instanceOfChangeEmail200ResponseProfile(value: object): value is ChangeEmail200ResponseProfile;
81
+ export declare function ChangeEmail200ResponseProfileFromJSON(json: any): ChangeEmail200ResponseProfile;
82
+ export declare function ChangeEmail200ResponseProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeEmail200ResponseProfile;
83
+ export declare function ChangeEmail200ResponseProfileToJSON(json: any): ChangeEmail200ResponseProfile;
84
+ export declare function ChangeEmail200ResponseProfileToJSONTyped(value?: ChangeEmail200ResponseProfile | 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.instanceOfChangeEmail200ResponseProfile = instanceOfChangeEmail200ResponseProfile;
19
+ exports.ChangeEmail200ResponseProfileFromJSON = ChangeEmail200ResponseProfileFromJSON;
20
+ exports.ChangeEmail200ResponseProfileFromJSONTyped = ChangeEmail200ResponseProfileFromJSONTyped;
21
+ exports.ChangeEmail200ResponseProfileToJSON = ChangeEmail200ResponseProfileToJSON;
22
+ exports.ChangeEmail200ResponseProfileToJSONTyped = ChangeEmail200ResponseProfileToJSONTyped;
23
+ var ChangeEmail200ResponseProfileAvatar_1 = require("./ChangeEmail200ResponseProfileAvatar");
24
24
  var Remaining_1 = require("./Remaining");
25
25
  /**
26
- * Check if a given object implements the SignInWithEmail200ResponseProfile interface.
26
+ * Check if a given object implements the ChangeEmail200ResponseProfile interface.
27
27
  */
28
- function instanceOfSignInWithEmail200ResponseProfile(value) {
28
+ function instanceOfChangeEmail200ResponseProfile(value) {
29
29
  if (!('floorId' in value) || value['floorId'] === undefined)
30
30
  return false;
31
31
  if (!('fID' in value) || value['fID'] === undefined)
@@ -34,42 +34,42 @@ function instanceOfSignInWithEmail200ResponseProfile(value) {
34
34
  return false;
35
35
  return true;
36
36
  }
37
- function SignInWithEmail200ResponseProfileFromJSON(json) {
38
- return SignInWithEmail200ResponseProfileFromJSONTyped(json, false);
37
+ function ChangeEmail200ResponseProfileFromJSON(json) {
38
+ return ChangeEmail200ResponseProfileFromJSONTyped(json, false);
39
39
  }
40
- function SignInWithEmail200ResponseProfileFromJSONTyped(json, ignoreDiscriminator) {
40
+ function ChangeEmail200ResponseProfileFromJSONTyped(json, ignoreDiscriminator) {
41
41
  if (json == null) {
42
42
  return json;
43
43
  }
44
44
  return {
45
45
  'floorId': json['floor_id'],
46
- 'floors': json['floors'] == null ? undefined : (0, Remaining_1.RemainingFromJSON)(json['floors']),
47
- 'blocks': json['blocks'] == null ? undefined : (0, Remaining_1.RemainingFromJSON)(json['blocks']),
46
+ 'floorCountInfo': json['floor_count_info'] == null ? undefined : (0, Remaining_1.RemainingFromJSON)(json['floor_count_info']),
47
+ 'blockCountInfo': json['block_count_info'] == null ? undefined : (0, Remaining_1.RemainingFromJSON)(json['block_count_info']),
48
48
  'fID': json['FID'],
49
49
  'name': json['name'] == null ? undefined : json['name'],
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, ChangeEmail200ResponseProfileAvatar_1.ChangeEmail200ResponseProfileAvatarFromJSON)(json['avatar']),
54
54
  };
55
55
  }
56
- function SignInWithEmail200ResponseProfileToJSON(json) {
57
- return SignInWithEmail200ResponseProfileToJSONTyped(json, false);
56
+ function ChangeEmail200ResponseProfileToJSON(json) {
57
+ return ChangeEmail200ResponseProfileToJSONTyped(json, false);
58
58
  }
59
- function SignInWithEmail200ResponseProfileToJSONTyped(value, ignoreDiscriminator) {
59
+ function ChangeEmail200ResponseProfileToJSONTyped(value, ignoreDiscriminator) {
60
60
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
61
  if (value == null) {
62
62
  return value;
63
63
  }
64
64
  return {
65
65
  'floor_id': value['floorId'],
66
- 'floors': (0, Remaining_1.RemainingToJSON)(value['floors']),
67
- 'blocks': (0, Remaining_1.RemainingToJSON)(value['blocks']),
66
+ 'floor_count_info': (0, Remaining_1.RemainingToJSON)(value['floorCountInfo']),
67
+ 'block_count_info': (0, Remaining_1.RemainingToJSON)(value['blockCountInfo']),
68
68
  'FID': value['fID'],
69
69
  'name': value['name'],
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, ChangeEmail200ResponseProfileAvatar_1.ChangeEmail200ResponseProfileAvatarToJSON)(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 ChangeEmail200ResponseProfileAvatar
18
+ */
19
+ export interface ChangeEmail200ResponseProfileAvatar {
20
+ /**
21
+ * Image URL
22
+ * @type {string}
23
+ * @memberof ChangeEmail200ResponseProfileAvatar
24
+ */
25
+ url: string;
26
+ /**
27
+ * Image ID
28
+ * @type {string}
29
+ * @memberof ChangeEmail200ResponseProfileAvatar
30
+ */
31
+ id: string;
32
+ }
33
+ /**
34
+ * Check if a given object implements the ChangeEmail200ResponseProfileAvatar interface.
35
+ */
36
+ export declare function instanceOfChangeEmail200ResponseProfileAvatar(value: object): value is ChangeEmail200ResponseProfileAvatar;
37
+ export declare function ChangeEmail200ResponseProfileAvatarFromJSON(json: any): ChangeEmail200ResponseProfileAvatar;
38
+ export declare function ChangeEmail200ResponseProfileAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeEmail200ResponseProfileAvatar;
39
+ export declare function ChangeEmail200ResponseProfileAvatarToJSON(json: any): ChangeEmail200ResponseProfileAvatar;
40
+ export declare function ChangeEmail200ResponseProfileAvatarToJSONTyped(value?: ChangeEmail200ResponseProfileAvatar | null, ignoreDiscriminator?: boolean): any;
@@ -15,25 +15,25 @@
15
15
  * Do not edit the class manually.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfSignInWithEmail200ResponseProfileAvatar = instanceOfSignInWithEmail200ResponseProfileAvatar;
19
- exports.SignInWithEmail200ResponseProfileAvatarFromJSON = SignInWithEmail200ResponseProfileAvatarFromJSON;
20
- exports.SignInWithEmail200ResponseProfileAvatarFromJSONTyped = SignInWithEmail200ResponseProfileAvatarFromJSONTyped;
21
- exports.SignInWithEmail200ResponseProfileAvatarToJSON = SignInWithEmail200ResponseProfileAvatarToJSON;
22
- exports.SignInWithEmail200ResponseProfileAvatarToJSONTyped = SignInWithEmail200ResponseProfileAvatarToJSONTyped;
18
+ exports.instanceOfChangeEmail200ResponseProfileAvatar = instanceOfChangeEmail200ResponseProfileAvatar;
19
+ exports.ChangeEmail200ResponseProfileAvatarFromJSON = ChangeEmail200ResponseProfileAvatarFromJSON;
20
+ exports.ChangeEmail200ResponseProfileAvatarFromJSONTyped = ChangeEmail200ResponseProfileAvatarFromJSONTyped;
21
+ exports.ChangeEmail200ResponseProfileAvatarToJSON = ChangeEmail200ResponseProfileAvatarToJSON;
22
+ exports.ChangeEmail200ResponseProfileAvatarToJSONTyped = ChangeEmail200ResponseProfileAvatarToJSONTyped;
23
23
  /**
24
- * Check if a given object implements the SignInWithEmail200ResponseProfileAvatar interface.
24
+ * Check if a given object implements the ChangeEmail200ResponseProfileAvatar interface.
25
25
  */
26
- function instanceOfSignInWithEmail200ResponseProfileAvatar(value) {
26
+ function instanceOfChangeEmail200ResponseProfileAvatar(value) {
27
27
  if (!('url' in value) || value['url'] === undefined)
28
28
  return false;
29
29
  if (!('id' in value) || value['id'] === undefined)
30
30
  return false;
31
31
  return true;
32
32
  }
33
- function SignInWithEmail200ResponseProfileAvatarFromJSON(json) {
34
- return SignInWithEmail200ResponseProfileAvatarFromJSONTyped(json, false);
33
+ function ChangeEmail200ResponseProfileAvatarFromJSON(json) {
34
+ return ChangeEmail200ResponseProfileAvatarFromJSONTyped(json, false);
35
35
  }
36
- function SignInWithEmail200ResponseProfileAvatarFromJSONTyped(json, ignoreDiscriminator) {
36
+ function ChangeEmail200ResponseProfileAvatarFromJSONTyped(json, ignoreDiscriminator) {
37
37
  if (json == null) {
38
38
  return json;
39
39
  }
@@ -42,10 +42,10 @@ function SignInWithEmail200ResponseProfileAvatarFromJSONTyped(json, ignoreDiscri
42
42
  'id': json['id'],
43
43
  };
44
44
  }
45
- function SignInWithEmail200ResponseProfileAvatarToJSON(json) {
46
- return SignInWithEmail200ResponseProfileAvatarToJSONTyped(json, false);
45
+ function ChangeEmail200ResponseProfileAvatarToJSON(json) {
46
+ return ChangeEmail200ResponseProfileAvatarToJSONTyped(json, false);
47
47
  }
48
- function SignInWithEmail200ResponseProfileAvatarToJSONTyped(value, ignoreDiscriminator) {
48
+ function ChangeEmail200ResponseProfileAvatarToJSONTyped(value, ignoreDiscriminator) {
49
49
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
50
  if (value == null) {
51
51
  return value;
@@ -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 { ChangeEmail200ResponseProfile } from './ChangeEmail200ResponseProfile';
15
+ import type { ChangeEmail200ResponsePodInfo } from './ChangeEmail200ResponsePodInfo';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SignInResponse
20
+ */
21
+ export interface SignInResponse {
22
+ /**
23
+ *
24
+ * @type {ChangeEmail200ResponseProfile}
25
+ * @memberof SignInResponse
26
+ */
27
+ profile: ChangeEmail200ResponseProfile;
28
+ /**
29
+ *
30
+ * @type {ChangeEmail200ResponsePodInfo}
31
+ * @memberof SignInResponse
32
+ */
33
+ podInfo: ChangeEmail200ResponsePodInfo;
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;