@xfloor/floor-memory-sdk-ts 1.0.0

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 (95) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +176 -0
  3. package/dist/apis/DefaultApi.d.ts +209 -0
  4. package/dist/apis/DefaultApi.js +986 -0
  5. package/dist/apis/EditFloorApi.d.ts +36 -0
  6. package/dist/apis/EditFloorApi.js +173 -0
  7. package/dist/apis/EventApi.d.ts +32 -0
  8. package/dist/apis/EventApi.js +157 -0
  9. package/dist/apis/GetFloorInformationApi.d.ts +33 -0
  10. package/dist/apis/GetFloorInformationApi.js +144 -0
  11. package/dist/apis/GetRecentEventsApi.d.ts +33 -0
  12. package/dist/apis/GetRecentEventsApi.js +146 -0
  13. package/dist/apis/QueryApi.d.ts +31 -0
  14. package/dist/apis/QueryApi.js +139 -0
  15. package/dist/apis/index.d.ts +6 -0
  16. package/dist/apis/index.js +24 -0
  17. package/dist/index.d.ts +3 -0
  18. package/dist/index.js +21 -0
  19. package/dist/models/BlockDetails.d.ts +44 -0
  20. package/dist/models/BlockDetails.js +59 -0
  21. package/dist/models/ChangePassword200Response.d.ts +32 -0
  22. package/dist/models/ChangePassword200Response.js +51 -0
  23. package/dist/models/EditFloor400Response.d.ts +33 -0
  24. package/dist/models/EditFloor400Response.js +52 -0
  25. package/dist/models/EditFloor400ResponseError.d.ts +50 -0
  26. package/dist/models/EditFloor400ResponseError.js +63 -0
  27. package/dist/models/Event400Response.d.ts +33 -0
  28. package/dist/models/Event400Response.js +52 -0
  29. package/dist/models/Event400ResponseError.d.ts +50 -0
  30. package/dist/models/Event400ResponseError.js +63 -0
  31. package/dist/models/EventResponse.d.ts +32 -0
  32. package/dist/models/EventResponse.js +51 -0
  33. package/dist/models/FloorInfo.d.ts +64 -0
  34. package/dist/models/FloorInfo.js +67 -0
  35. package/dist/models/GetFloorInformation200Response.d.ts +64 -0
  36. package/dist/models/GetFloorInformation200Response.js +67 -0
  37. package/dist/models/GetRecentEvents200Response.d.ts +39 -0
  38. package/dist/models/GetRecentEvents200Response.js +56 -0
  39. package/dist/models/GetRecentEvents200ResponseItemsInner.d.ts +82 -0
  40. package/dist/models/GetRecentEvents200ResponseItemsInner.js +67 -0
  41. package/dist/models/GetRecentEvents200ResponseItemsInnerAuthor.d.ts +51 -0
  42. package/dist/models/GetRecentEvents200ResponseItemsInnerAuthor.js +56 -0
  43. package/dist/models/GetRecentEvents400Response.d.ts +33 -0
  44. package/dist/models/GetRecentEvents400Response.js +52 -0
  45. package/dist/models/GetRecentEvents400ResponseError.d.ts +50 -0
  46. package/dist/models/GetRecentEvents400ResponseError.js +63 -0
  47. package/dist/models/Media.d.ts +38 -0
  48. package/dist/models/Media.js +55 -0
  49. package/dist/models/Model400ErrorCode.d.ts +50 -0
  50. package/dist/models/Model400ErrorCode.js +63 -0
  51. package/dist/models/Query422Response.d.ts +33 -0
  52. package/dist/models/Query422Response.js +52 -0
  53. package/dist/models/Query422ResponseError.d.ts +32 -0
  54. package/dist/models/Query422ResponseError.js +51 -0
  55. package/dist/models/QueryRequest.d.ts +69 -0
  56. package/dist/models/QueryRequest.js +68 -0
  57. package/dist/models/QueryRequestFilters.d.ts +50 -0
  58. package/dist/models/QueryRequestFilters.js +63 -0
  59. package/dist/models/QueryResponse.d.ts +39 -0
  60. package/dist/models/QueryResponse.js +52 -0
  61. package/dist/models/QueryResponseItemsInner.d.ts +92 -0
  62. package/dist/models/QueryResponseItemsInner.js +69 -0
  63. package/dist/models/SendSignInValidationCode200Response.d.ts +44 -0
  64. package/dist/models/SendSignInValidationCode200Response.js +57 -0
  65. package/dist/models/SendSignInValidationCode400Response.d.ts +50 -0
  66. package/dist/models/SendSignInValidationCode400Response.js +63 -0
  67. package/dist/models/SendValidationCode200Response.d.ts +32 -0
  68. package/dist/models/SendValidationCode200Response.js +51 -0
  69. package/dist/models/SendValidationCodeRequest.d.ts +38 -0
  70. package/dist/models/SendValidationCodeRequest.js +55 -0
  71. package/dist/models/SignInWithEmail200Response.d.ts +46 -0
  72. package/dist/models/SignInWithEmail200Response.js +61 -0
  73. package/dist/models/SignInWithEmail200ResponseProfile.d.ts +76 -0
  74. package/dist/models/SignInWithEmail200ResponseProfile.js +73 -0
  75. package/dist/models/SignInWithEmail200ResponseProfileAvatar.d.ts +38 -0
  76. package/dist/models/SignInWithEmail200ResponseProfileAvatar.js +55 -0
  77. package/dist/models/SignUp200Response.d.ts +38 -0
  78. package/dist/models/SignUp200Response.js +55 -0
  79. package/dist/models/SignUpResponse.d.ts +38 -0
  80. package/dist/models/SignUpResponse.js +55 -0
  81. package/dist/models/UserDetails.d.ts +46 -0
  82. package/dist/models/UserDetails.js +61 -0
  83. package/dist/models/ValidateCode400Response.d.ts +33 -0
  84. package/dist/models/ValidateCode400Response.js +52 -0
  85. package/dist/models/ValidateCode400ResponseError.d.ts +50 -0
  86. package/dist/models/ValidateCode400ResponseError.js +63 -0
  87. package/dist/models/ValidateCode412Response.d.ts +32 -0
  88. package/dist/models/ValidateCode412Response.js +51 -0
  89. package/dist/models/ValidateCodeRequest.d.ts +50 -0
  90. package/dist/models/ValidateCodeRequest.js +63 -0
  91. package/dist/models/index.d.ts +36 -0
  92. package/dist/models/index.js +54 -0
  93. package/dist/runtime.d.ts +184 -0
  94. package/dist/runtime.js +564 -0
  95. package/package.json +36 -0
@@ -0,0 +1,73 @@
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. - Memory and - 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@ipomo.in
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSignInWithEmail200ResponseProfile = instanceOfSignInWithEmail200ResponseProfile;
17
+ exports.SignInWithEmail200ResponseProfileFromJSON = SignInWithEmail200ResponseProfileFromJSON;
18
+ exports.SignInWithEmail200ResponseProfileFromJSONTyped = SignInWithEmail200ResponseProfileFromJSONTyped;
19
+ exports.SignInWithEmail200ResponseProfileToJSON = SignInWithEmail200ResponseProfileToJSON;
20
+ exports.SignInWithEmail200ResponseProfileToJSONTyped = SignInWithEmail200ResponseProfileToJSONTyped;
21
+ var BlockDetails_1 = require("./BlockDetails");
22
+ var SignInWithEmail200ResponseProfileAvatar_1 = require("./SignInWithEmail200ResponseProfileAvatar");
23
+ /**
24
+ * Check if a given object implements the SignInWithEmail200ResponseProfile interface.
25
+ */
26
+ function instanceOfSignInWithEmail200ResponseProfile(value) {
27
+ if (!('floorId' in value) || value['floorId'] === undefined)
28
+ return false;
29
+ if (!('fid' in value) || value['fid'] === undefined)
30
+ return false;
31
+ if (!('blocks' in value) || value['blocks'] === undefined)
32
+ return false;
33
+ if (!('userId' in value) || value['userId'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function SignInWithEmail200ResponseProfileFromJSON(json) {
38
+ return SignInWithEmail200ResponseProfileFromJSONTyped(json, false);
39
+ }
40
+ function SignInWithEmail200ResponseProfileFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'floorId': json['floor_id'],
46
+ 'fid': json['fid'],
47
+ 'blocks': (json['blocks'].map(BlockDetails_1.BlockDetailsFromJSON)),
48
+ 'name': json['name'] == null ? undefined : json['name'],
49
+ 'email': json['email'] == null ? undefined : json['email'],
50
+ 'mobileNumber': json['mobile_number'] == null ? undefined : json['mobile_number'],
51
+ 'userId': json['user_id'],
52
+ 'avatar': json['avatar'] == null ? undefined : (0, SignInWithEmail200ResponseProfileAvatar_1.SignInWithEmail200ResponseProfileAvatarFromJSON)(json['avatar']),
53
+ };
54
+ }
55
+ function SignInWithEmail200ResponseProfileToJSON(json) {
56
+ return SignInWithEmail200ResponseProfileToJSONTyped(json, false);
57
+ }
58
+ function SignInWithEmail200ResponseProfileToJSONTyped(value, ignoreDiscriminator) {
59
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'floor_id': value['floorId'],
65
+ 'fid': value['fid'],
66
+ 'blocks': (value['blocks'].map(BlockDetails_1.BlockDetailsToJSON)),
67
+ 'name': value['name'],
68
+ 'email': value['email'],
69
+ 'mobile_number': value['mobileNumber'],
70
+ 'user_id': value['userId'],
71
+ 'avatar': (0, SignInWithEmail200ResponseProfileAvatar_1.SignInWithEmail200ResponseProfileAvatarToJSON)(value['avatar']),
72
+ };
73
+ }
@@ -0,0 +1,38 @@
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. - Memory and - 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: contact@ipomo.in
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Profile Pick details
14
+ * @export
15
+ * @interface SignInWithEmail200ResponseProfileAvatar
16
+ */
17
+ export interface SignInWithEmail200ResponseProfileAvatar {
18
+ /**
19
+ * Image URL
20
+ * @type {string}
21
+ * @memberof SignInWithEmail200ResponseProfileAvatar
22
+ */
23
+ url: string;
24
+ /**
25
+ * Image ID
26
+ * @type {string}
27
+ * @memberof SignInWithEmail200ResponseProfileAvatar
28
+ */
29
+ id: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SignInWithEmail200ResponseProfileAvatar interface.
33
+ */
34
+ export declare function instanceOfSignInWithEmail200ResponseProfileAvatar(value: object): value is SignInWithEmail200ResponseProfileAvatar;
35
+ export declare function SignInWithEmail200ResponseProfileAvatarFromJSON(json: any): SignInWithEmail200ResponseProfileAvatar;
36
+ export declare function SignInWithEmail200ResponseProfileAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignInWithEmail200ResponseProfileAvatar;
37
+ export declare function SignInWithEmail200ResponseProfileAvatarToJSON(json: any): SignInWithEmail200ResponseProfileAvatar;
38
+ export declare function SignInWithEmail200ResponseProfileAvatarToJSONTyped(value?: SignInWithEmail200ResponseProfileAvatar | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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. - Memory and - 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@ipomo.in
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSignInWithEmail200ResponseProfileAvatar = instanceOfSignInWithEmail200ResponseProfileAvatar;
17
+ exports.SignInWithEmail200ResponseProfileAvatarFromJSON = SignInWithEmail200ResponseProfileAvatarFromJSON;
18
+ exports.SignInWithEmail200ResponseProfileAvatarFromJSONTyped = SignInWithEmail200ResponseProfileAvatarFromJSONTyped;
19
+ exports.SignInWithEmail200ResponseProfileAvatarToJSON = SignInWithEmail200ResponseProfileAvatarToJSON;
20
+ exports.SignInWithEmail200ResponseProfileAvatarToJSONTyped = SignInWithEmail200ResponseProfileAvatarToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SignInWithEmail200ResponseProfileAvatar interface.
23
+ */
24
+ function instanceOfSignInWithEmail200ResponseProfileAvatar(value) {
25
+ if (!('url' in value) || value['url'] === undefined)
26
+ return false;
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function SignInWithEmail200ResponseProfileAvatarFromJSON(json) {
32
+ return SignInWithEmail200ResponseProfileAvatarFromJSONTyped(json, false);
33
+ }
34
+ function SignInWithEmail200ResponseProfileAvatarFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'url': json['url'],
40
+ 'id': json['id'],
41
+ };
42
+ }
43
+ function SignInWithEmail200ResponseProfileAvatarToJSON(json) {
44
+ return SignInWithEmail200ResponseProfileAvatarToJSONTyped(json, false);
45
+ }
46
+ function SignInWithEmail200ResponseProfileAvatarToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'url': value['url'],
53
+ 'id': value['id'],
54
+ };
55
+ }
@@ -0,0 +1,38 @@
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. - Memory and - 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: contact@ipomo.in
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SignUp200Response
16
+ */
17
+ export interface SignUp200Response {
18
+ /**
19
+ * User ID
20
+ * @type {string}
21
+ * @memberof SignUp200Response
22
+ */
23
+ userId: string;
24
+ /**
25
+ * Success string - "Enter Validation code"
26
+ * @type {string}
27
+ * @memberof SignUp200Response
28
+ */
29
+ success: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SignUp200Response interface.
33
+ */
34
+ export declare function instanceOfSignUp200Response(value: object): value is SignUp200Response;
35
+ export declare function SignUp200ResponseFromJSON(json: any): SignUp200Response;
36
+ export declare function SignUp200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignUp200Response;
37
+ export declare function SignUp200ResponseToJSON(json: any): SignUp200Response;
38
+ export declare function SignUp200ResponseToJSONTyped(value?: SignUp200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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. - Memory and - 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@ipomo.in
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSignUp200Response = instanceOfSignUp200Response;
17
+ exports.SignUp200ResponseFromJSON = SignUp200ResponseFromJSON;
18
+ exports.SignUp200ResponseFromJSONTyped = SignUp200ResponseFromJSONTyped;
19
+ exports.SignUp200ResponseToJSON = SignUp200ResponseToJSON;
20
+ exports.SignUp200ResponseToJSONTyped = SignUp200ResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SignUp200Response interface.
23
+ */
24
+ function instanceOfSignUp200Response(value) {
25
+ if (!('userId' in value) || value['userId'] === undefined)
26
+ return false;
27
+ if (!('success' in value) || value['success'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function SignUp200ResponseFromJSON(json) {
32
+ return SignUp200ResponseFromJSONTyped(json, false);
33
+ }
34
+ function SignUp200ResponseFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'userId': json['user_id'],
40
+ 'success': json['success'],
41
+ };
42
+ }
43
+ function SignUp200ResponseToJSON(json) {
44
+ return SignUp200ResponseToJSONTyped(json, false);
45
+ }
46
+ function SignUp200ResponseToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'user_id': value['userId'],
53
+ 'success': value['success'],
54
+ };
55
+ }
@@ -0,0 +1,38 @@
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. - Memory and - 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: contact@ipomo.in
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SignUpResponse
16
+ */
17
+ export interface SignUpResponse {
18
+ /**
19
+ * User ID
20
+ * @type {string}
21
+ * @memberof SignUpResponse
22
+ */
23
+ userId: string;
24
+ /**
25
+ * Success string - "Enter Validation code"
26
+ * @type {string}
27
+ * @memberof SignUpResponse
28
+ */
29
+ success: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SignUpResponse interface.
33
+ */
34
+ export declare function instanceOfSignUpResponse(value: object): value is SignUpResponse;
35
+ export declare function SignUpResponseFromJSON(json: any): SignUpResponse;
36
+ export declare function SignUpResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignUpResponse;
37
+ export declare function SignUpResponseToJSON(json: any): SignUpResponse;
38
+ export declare function SignUpResponseToJSONTyped(value?: SignUpResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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. - Memory and - 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@ipomo.in
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSignUpResponse = instanceOfSignUpResponse;
17
+ exports.SignUpResponseFromJSON = SignUpResponseFromJSON;
18
+ exports.SignUpResponseFromJSONTyped = SignUpResponseFromJSONTyped;
19
+ exports.SignUpResponseToJSON = SignUpResponseToJSON;
20
+ exports.SignUpResponseToJSONTyped = SignUpResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SignUpResponse interface.
23
+ */
24
+ function instanceOfSignUpResponse(value) {
25
+ if (!('userId' in value) || value['userId'] === undefined)
26
+ return false;
27
+ if (!('success' in value) || value['success'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function SignUpResponseFromJSON(json) {
32
+ return SignUpResponseFromJSONTyped(json, false);
33
+ }
34
+ function SignUpResponseFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'userId': json['user_id'],
40
+ 'success': json['success'],
41
+ };
42
+ }
43
+ function SignUpResponseToJSON(json) {
44
+ return SignUpResponseToJSONTyped(json, false);
45
+ }
46
+ function SignUpResponseToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'user_id': value['userId'],
53
+ 'success': value['success'],
54
+ };
55
+ }
@@ -0,0 +1,46 @@
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. - Memory and - 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: contact@ipomo.in
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { FloorInfo } from './FloorInfo';
13
+ import type { SignInWithEmail200ResponseProfile } from './SignInWithEmail200ResponseProfile';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface UserDetails
18
+ */
19
+ export interface UserDetails {
20
+ /**
21
+ *
22
+ * @type {FloorInfo}
23
+ * @memberof UserDetails
24
+ */
25
+ podInfo: FloorInfo;
26
+ /**
27
+ *
28
+ * @type {SignInWithEmail200ResponseProfile}
29
+ * @memberof UserDetails
30
+ */
31
+ profile: SignInWithEmail200ResponseProfile;
32
+ /**
33
+ * App ID
34
+ * @type {string}
35
+ * @memberof UserDetails
36
+ */
37
+ appId: string;
38
+ }
39
+ /**
40
+ * Check if a given object implements the UserDetails interface.
41
+ */
42
+ export declare function instanceOfUserDetails(value: object): value is UserDetails;
43
+ export declare function UserDetailsFromJSON(json: any): UserDetails;
44
+ export declare function UserDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserDetails;
45
+ export declare function UserDetailsToJSON(json: any): UserDetails;
46
+ export declare function UserDetailsToJSONTyped(value?: UserDetails | 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. - Memory and - 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@ipomo.in
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfUserDetails = instanceOfUserDetails;
17
+ exports.UserDetailsFromJSON = UserDetailsFromJSON;
18
+ exports.UserDetailsFromJSONTyped = UserDetailsFromJSONTyped;
19
+ exports.UserDetailsToJSON = UserDetailsToJSON;
20
+ exports.UserDetailsToJSONTyped = UserDetailsToJSONTyped;
21
+ var FloorInfo_1 = require("./FloorInfo");
22
+ var SignInWithEmail200ResponseProfile_1 = require("./SignInWithEmail200ResponseProfile");
23
+ /**
24
+ * Check if a given object implements the UserDetails interface.
25
+ */
26
+ function instanceOfUserDetails(value) {
27
+ if (!('podInfo' in value) || value['podInfo'] === undefined)
28
+ return false;
29
+ if (!('profile' in value) || value['profile'] === undefined)
30
+ return false;
31
+ if (!('appId' in value) || value['appId'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function UserDetailsFromJSON(json) {
36
+ return UserDetailsFromJSONTyped(json, false);
37
+ }
38
+ function UserDetailsFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'podInfo': (0, FloorInfo_1.FloorInfoFromJSON)(json['pod_info']),
44
+ 'profile': (0, SignInWithEmail200ResponseProfile_1.SignInWithEmail200ResponseProfileFromJSON)(json['profile']),
45
+ 'appId': json['app_id'],
46
+ };
47
+ }
48
+ function UserDetailsToJSON(json) {
49
+ return UserDetailsToJSONTyped(json, false);
50
+ }
51
+ function UserDetailsToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'pod_info': (0, FloorInfo_1.FloorInfoToJSON)(value['podInfo']),
58
+ 'profile': (0, SignInWithEmail200ResponseProfile_1.SignInWithEmail200ResponseProfileToJSON)(value['profile']),
59
+ 'app_id': value['appId'],
60
+ };
61
+ }
@@ -0,0 +1,33 @@
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. - Memory and - 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: contact@ipomo.in
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ValidateCode400ResponseError } from './ValidateCode400ResponseError';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ValidateCode400Response
17
+ */
18
+ export interface ValidateCode400Response {
19
+ /**
20
+ *
21
+ * @type {ValidateCode400ResponseError}
22
+ * @memberof ValidateCode400Response
23
+ */
24
+ error: ValidateCode400ResponseError;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ValidateCode400Response interface.
28
+ */
29
+ export declare function instanceOfValidateCode400Response(value: object): value is ValidateCode400Response;
30
+ export declare function ValidateCode400ResponseFromJSON(json: any): ValidateCode400Response;
31
+ export declare function ValidateCode400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidateCode400Response;
32
+ export declare function ValidateCode400ResponseToJSON(json: any): ValidateCode400Response;
33
+ export declare function ValidateCode400ResponseToJSONTyped(value?: ValidateCode400Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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. - Memory and - 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@ipomo.in
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfValidateCode400Response = instanceOfValidateCode400Response;
17
+ exports.ValidateCode400ResponseFromJSON = ValidateCode400ResponseFromJSON;
18
+ exports.ValidateCode400ResponseFromJSONTyped = ValidateCode400ResponseFromJSONTyped;
19
+ exports.ValidateCode400ResponseToJSON = ValidateCode400ResponseToJSON;
20
+ exports.ValidateCode400ResponseToJSONTyped = ValidateCode400ResponseToJSONTyped;
21
+ var ValidateCode400ResponseError_1 = require("./ValidateCode400ResponseError");
22
+ /**
23
+ * Check if a given object implements the ValidateCode400Response interface.
24
+ */
25
+ function instanceOfValidateCode400Response(value) {
26
+ if (!('error' in value) || value['error'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function ValidateCode400ResponseFromJSON(json) {
31
+ return ValidateCode400ResponseFromJSONTyped(json, false);
32
+ }
33
+ function ValidateCode400ResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'error': (0, ValidateCode400ResponseError_1.ValidateCode400ResponseErrorFromJSON)(json['error']),
39
+ };
40
+ }
41
+ function ValidateCode400ResponseToJSON(json) {
42
+ return ValidateCode400ResponseToJSONTyped(json, false);
43
+ }
44
+ function ValidateCode400ResponseToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'error': (0, ValidateCode400ResponseError_1.ValidateCode400ResponseErrorToJSON)(value['error']),
51
+ };
52
+ }
@@ -0,0 +1,50 @@
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. - Memory and - 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: contact@ipomo.in
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ValidateCode400ResponseError
16
+ */
17
+ export interface ValidateCode400ResponseError {
18
+ /**
19
+ * error code
20
+ * @type {string}
21
+ * @memberof ValidateCode400ResponseError
22
+ */
23
+ code: string;
24
+ /**
25
+ * The signup failed or wrong user_id
26
+ * @type {string}
27
+ * @memberof ValidateCode400ResponseError
28
+ */
29
+ message: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ValidateCode400ResponseError
34
+ */
35
+ path: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ValidateCode400ResponseError
40
+ */
41
+ timestamp: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the ValidateCode400ResponseError interface.
45
+ */
46
+ export declare function instanceOfValidateCode400ResponseError(value: object): value is ValidateCode400ResponseError;
47
+ export declare function ValidateCode400ResponseErrorFromJSON(json: any): ValidateCode400ResponseError;
48
+ export declare function ValidateCode400ResponseErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidateCode400ResponseError;
49
+ export declare function ValidateCode400ResponseErrorToJSON(json: any): ValidateCode400ResponseError;
50
+ export declare function ValidateCode400ResponseErrorToJSONTyped(value?: ValidateCode400ResponseError | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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. - Memory and - 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@ipomo.in
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfValidateCode400ResponseError = instanceOfValidateCode400ResponseError;
17
+ exports.ValidateCode400ResponseErrorFromJSON = ValidateCode400ResponseErrorFromJSON;
18
+ exports.ValidateCode400ResponseErrorFromJSONTyped = ValidateCode400ResponseErrorFromJSONTyped;
19
+ exports.ValidateCode400ResponseErrorToJSON = ValidateCode400ResponseErrorToJSON;
20
+ exports.ValidateCode400ResponseErrorToJSONTyped = ValidateCode400ResponseErrorToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ValidateCode400ResponseError interface.
23
+ */
24
+ function instanceOfValidateCode400ResponseError(value) {
25
+ if (!('code' in value) || value['code'] === undefined)
26
+ return false;
27
+ if (!('message' in value) || value['message'] === undefined)
28
+ return false;
29
+ if (!('path' in value) || value['path'] === undefined)
30
+ return false;
31
+ if (!('timestamp' in value) || value['timestamp'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function ValidateCode400ResponseErrorFromJSON(json) {
36
+ return ValidateCode400ResponseErrorFromJSONTyped(json, false);
37
+ }
38
+ function ValidateCode400ResponseErrorFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'code': json['code'],
44
+ 'message': json['message'],
45
+ 'path': json['path'],
46
+ 'timestamp': json['timestamp'],
47
+ };
48
+ }
49
+ function ValidateCode400ResponseErrorToJSON(json) {
50
+ return ValidateCode400ResponseErrorToJSONTyped(json, false);
51
+ }
52
+ function ValidateCode400ResponseErrorToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'code': value['code'],
59
+ 'message': value['message'],
60
+ 'path': value['path'],
61
+ 'timestamp': value['timestamp'],
62
+ };
63
+ }