@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,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.instanceOfEvent400Response = instanceOfEvent400Response;
17
+ exports.Event400ResponseFromJSON = Event400ResponseFromJSON;
18
+ exports.Event400ResponseFromJSONTyped = Event400ResponseFromJSONTyped;
19
+ exports.Event400ResponseToJSON = Event400ResponseToJSON;
20
+ exports.Event400ResponseToJSONTyped = Event400ResponseToJSONTyped;
21
+ var Event400ResponseError_1 = require("./Event400ResponseError");
22
+ /**
23
+ * Check if a given object implements the Event400Response interface.
24
+ */
25
+ function instanceOfEvent400Response(value) {
26
+ if (!('error' in value) || value['error'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function Event400ResponseFromJSON(json) {
31
+ return Event400ResponseFromJSONTyped(json, false);
32
+ }
33
+ function Event400ResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'error': (0, Event400ResponseError_1.Event400ResponseErrorFromJSON)(json['error']),
39
+ };
40
+ }
41
+ function Event400ResponseToJSON(json) {
42
+ return Event400ResponseToJSONTyped(json, false);
43
+ }
44
+ function Event400ResponseToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'error': (0, Event400ResponseError_1.Event400ResponseErrorToJSON)(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 Event400ResponseError
16
+ */
17
+ export interface Event400ResponseError {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Event400ResponseError
22
+ */
23
+ code: string;
24
+ /**
25
+ * Invalid block type or Invalid Bid type
26
+ * @type {string}
27
+ * @memberof Event400ResponseError
28
+ */
29
+ message: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof Event400ResponseError
34
+ */
35
+ path: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof Event400ResponseError
40
+ */
41
+ timestamp: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the Event400ResponseError interface.
45
+ */
46
+ export declare function instanceOfEvent400ResponseError(value: object): value is Event400ResponseError;
47
+ export declare function Event400ResponseErrorFromJSON(json: any): Event400ResponseError;
48
+ export declare function Event400ResponseErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): Event400ResponseError;
49
+ export declare function Event400ResponseErrorToJSON(json: any): Event400ResponseError;
50
+ export declare function Event400ResponseErrorToJSONTyped(value?: Event400ResponseError | 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.instanceOfEvent400ResponseError = instanceOfEvent400ResponseError;
17
+ exports.Event400ResponseErrorFromJSON = Event400ResponseErrorFromJSON;
18
+ exports.Event400ResponseErrorFromJSONTyped = Event400ResponseErrorFromJSONTyped;
19
+ exports.Event400ResponseErrorToJSON = Event400ResponseErrorToJSON;
20
+ exports.Event400ResponseErrorToJSONTyped = Event400ResponseErrorToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the Event400ResponseError interface.
23
+ */
24
+ function instanceOfEvent400ResponseError(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 Event400ResponseErrorFromJSON(json) {
36
+ return Event400ResponseErrorFromJSONTyped(json, false);
37
+ }
38
+ function Event400ResponseErrorFromJSONTyped(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 Event400ResponseErrorToJSON(json) {
50
+ return Event400ResponseErrorToJSONTyped(json, false);
51
+ }
52
+ function Event400ResponseErrorToJSONTyped(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
+ }
@@ -0,0 +1,32 @@
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 EventResponse
16
+ */
17
+ export interface EventResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof EventResponse
22
+ */
23
+ success: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the EventResponse interface.
27
+ */
28
+ export declare function instanceOfEventResponse(value: object): value is EventResponse;
29
+ export declare function EventResponseFromJSON(json: any): EventResponse;
30
+ export declare function EventResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventResponse;
31
+ export declare function EventResponseToJSON(json: any): EventResponse;
32
+ export declare function EventResponseToJSONTyped(value?: EventResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfEventResponse = instanceOfEventResponse;
17
+ exports.EventResponseFromJSON = EventResponseFromJSON;
18
+ exports.EventResponseFromJSONTyped = EventResponseFromJSONTyped;
19
+ exports.EventResponseToJSON = EventResponseToJSON;
20
+ exports.EventResponseToJSONTyped = EventResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the EventResponse interface.
23
+ */
24
+ function instanceOfEventResponse(value) {
25
+ if (!('success' in value) || value['success'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function EventResponseFromJSON(json) {
30
+ return EventResponseFromJSONTyped(json, false);
31
+ }
32
+ function EventResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'success': json['success'],
38
+ };
39
+ }
40
+ function EventResponseToJSON(json) {
41
+ return EventResponseToJSONTyped(json, false);
42
+ }
43
+ function EventResponseToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'success': value['success'],
50
+ };
51
+ }
@@ -0,0 +1,64 @@
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 { BlockDetails } from './BlockDetails';
13
+ import type { Media } from './Media';
14
+ /**
15
+ * User's Pod floor Infomation
16
+ * @export
17
+ * @interface FloorInfo
18
+ */
19
+ export interface FloorInfo {
20
+ /**
21
+ * Pod floor ID
22
+ * @type {string}
23
+ * @memberof FloorInfo
24
+ */
25
+ floorId: string;
26
+ /**
27
+ * Title
28
+ * @type {string}
29
+ * @memberof FloorInfo
30
+ */
31
+ title: string;
32
+ /**
33
+ * Brief description about the Pod floor
34
+ * @type {string}
35
+ * @memberof FloorInfo
36
+ */
37
+ details?: string;
38
+ /**
39
+ * Unique numeric ID of the pod floor
40
+ * @type {string}
41
+ * @memberof FloorInfo
42
+ */
43
+ fid: string;
44
+ /**
45
+ * List of blocks
46
+ * @type {Array<BlockDetails>}
47
+ * @memberof FloorInfo
48
+ */
49
+ blocks?: Array<BlockDetails>;
50
+ /**
51
+ *
52
+ * @type {Media}
53
+ * @memberof FloorInfo
54
+ */
55
+ avatar?: Media;
56
+ }
57
+ /**
58
+ * Check if a given object implements the FloorInfo interface.
59
+ */
60
+ export declare function instanceOfFloorInfo(value: object): value is FloorInfo;
61
+ export declare function FloorInfoFromJSON(json: any): FloorInfo;
62
+ export declare function FloorInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FloorInfo;
63
+ export declare function FloorInfoToJSON(json: any): FloorInfo;
64
+ export declare function FloorInfoToJSONTyped(value?: FloorInfo | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
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.instanceOfFloorInfo = instanceOfFloorInfo;
17
+ exports.FloorInfoFromJSON = FloorInfoFromJSON;
18
+ exports.FloorInfoFromJSONTyped = FloorInfoFromJSONTyped;
19
+ exports.FloorInfoToJSON = FloorInfoToJSON;
20
+ exports.FloorInfoToJSONTyped = FloorInfoToJSONTyped;
21
+ var BlockDetails_1 = require("./BlockDetails");
22
+ var Media_1 = require("./Media");
23
+ /**
24
+ * Check if a given object implements the FloorInfo interface.
25
+ */
26
+ function instanceOfFloorInfo(value) {
27
+ if (!('floorId' in value) || value['floorId'] === undefined)
28
+ return false;
29
+ if (!('title' in value) || value['title'] === undefined)
30
+ return false;
31
+ if (!('fid' in value) || value['fid'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function FloorInfoFromJSON(json) {
36
+ return FloorInfoFromJSONTyped(json, false);
37
+ }
38
+ function FloorInfoFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'floorId': json['floor_id'],
44
+ 'title': json['title'],
45
+ 'details': json['details'] == null ? undefined : json['details'],
46
+ 'fid': json['fid'],
47
+ 'blocks': json['blocks'] == null ? undefined : (json['blocks'].map(BlockDetails_1.BlockDetailsFromJSON)),
48
+ 'avatar': json['avatar'] == null ? undefined : (0, Media_1.MediaFromJSON)(json['avatar']),
49
+ };
50
+ }
51
+ function FloorInfoToJSON(json) {
52
+ return FloorInfoToJSONTyped(json, false);
53
+ }
54
+ function FloorInfoToJSONTyped(value, ignoreDiscriminator) {
55
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'floor_id': value['floorId'],
61
+ 'title': value['title'],
62
+ 'details': value['details'],
63
+ 'fid': value['fid'],
64
+ 'blocks': value['blocks'] == null ? undefined : (value['blocks'].map(BlockDetails_1.BlockDetailsToJSON)),
65
+ 'avatar': (0, Media_1.MediaToJSON)(value['avatar']),
66
+ };
67
+ }
@@ -0,0 +1,64 @@
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 { BlockDetails } from './BlockDetails';
13
+ import type { Media } from './Media';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface GetFloorInformation200Response
18
+ */
19
+ export interface GetFloorInformation200Response {
20
+ /**
21
+ * Pod floor ID
22
+ * @type {string}
23
+ * @memberof GetFloorInformation200Response
24
+ */
25
+ floorId: string;
26
+ /**
27
+ * Title
28
+ * @type {string}
29
+ * @memberof GetFloorInformation200Response
30
+ */
31
+ title: string;
32
+ /**
33
+ * Brief description about the Pod floor
34
+ * @type {string}
35
+ * @memberof GetFloorInformation200Response
36
+ */
37
+ details?: string;
38
+ /**
39
+ * Unique numeric ID of the pod floor
40
+ * @type {string}
41
+ * @memberof GetFloorInformation200Response
42
+ */
43
+ fid: string;
44
+ /**
45
+ * List of blocks
46
+ * @type {Array<BlockDetails>}
47
+ * @memberof GetFloorInformation200Response
48
+ */
49
+ blocks?: Array<BlockDetails>;
50
+ /**
51
+ *
52
+ * @type {Media}
53
+ * @memberof GetFloorInformation200Response
54
+ */
55
+ avatar?: Media;
56
+ }
57
+ /**
58
+ * Check if a given object implements the GetFloorInformation200Response interface.
59
+ */
60
+ export declare function instanceOfGetFloorInformation200Response(value: object): value is GetFloorInformation200Response;
61
+ export declare function GetFloorInformation200ResponseFromJSON(json: any): GetFloorInformation200Response;
62
+ export declare function GetFloorInformation200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetFloorInformation200Response;
63
+ export declare function GetFloorInformation200ResponseToJSON(json: any): GetFloorInformation200Response;
64
+ export declare function GetFloorInformation200ResponseToJSONTyped(value?: GetFloorInformation200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
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.instanceOfGetFloorInformation200Response = instanceOfGetFloorInformation200Response;
17
+ exports.GetFloorInformation200ResponseFromJSON = GetFloorInformation200ResponseFromJSON;
18
+ exports.GetFloorInformation200ResponseFromJSONTyped = GetFloorInformation200ResponseFromJSONTyped;
19
+ exports.GetFloorInformation200ResponseToJSON = GetFloorInformation200ResponseToJSON;
20
+ exports.GetFloorInformation200ResponseToJSONTyped = GetFloorInformation200ResponseToJSONTyped;
21
+ var BlockDetails_1 = require("./BlockDetails");
22
+ var Media_1 = require("./Media");
23
+ /**
24
+ * Check if a given object implements the GetFloorInformation200Response interface.
25
+ */
26
+ function instanceOfGetFloorInformation200Response(value) {
27
+ if (!('floorId' in value) || value['floorId'] === undefined)
28
+ return false;
29
+ if (!('title' in value) || value['title'] === undefined)
30
+ return false;
31
+ if (!('fid' in value) || value['fid'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function GetFloorInformation200ResponseFromJSON(json) {
36
+ return GetFloorInformation200ResponseFromJSONTyped(json, false);
37
+ }
38
+ function GetFloorInformation200ResponseFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'floorId': json['floor_id'],
44
+ 'title': json['title'],
45
+ 'details': json['details'] == null ? undefined : json['details'],
46
+ 'fid': json['fid'],
47
+ 'blocks': json['blocks'] == null ? undefined : (json['blocks'].map(BlockDetails_1.BlockDetailsFromJSON)),
48
+ 'avatar': json['avatar'] == null ? undefined : (0, Media_1.MediaFromJSON)(json['avatar']),
49
+ };
50
+ }
51
+ function GetFloorInformation200ResponseToJSON(json) {
52
+ return GetFloorInformation200ResponseToJSONTyped(json, false);
53
+ }
54
+ function GetFloorInformation200ResponseToJSONTyped(value, ignoreDiscriminator) {
55
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'floor_id': value['floorId'],
61
+ 'title': value['title'],
62
+ 'details': value['details'],
63
+ 'fid': value['fid'],
64
+ 'blocks': value['blocks'] == null ? undefined : (value['blocks'].map(BlockDetails_1.BlockDetailsToJSON)),
65
+ 'avatar': (0, Media_1.MediaToJSON)(value['avatar']),
66
+ };
67
+ }
@@ -0,0 +1,39 @@
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 { GetRecentEvents200ResponseItemsInner } from './GetRecentEvents200ResponseItemsInner';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetRecentEvents200Response
17
+ */
18
+ export interface GetRecentEvents200Response {
19
+ /**
20
+ * Number of posts
21
+ * @type {string}
22
+ * @memberof GetRecentEvents200Response
23
+ */
24
+ postCount: string;
25
+ /**
26
+ * List of posts
27
+ * @type {Array<GetRecentEvents200ResponseItemsInner>}
28
+ * @memberof GetRecentEvents200Response
29
+ */
30
+ items: Array<GetRecentEvents200ResponseItemsInner>;
31
+ }
32
+ /**
33
+ * Check if a given object implements the GetRecentEvents200Response interface.
34
+ */
35
+ export declare function instanceOfGetRecentEvents200Response(value: object): value is GetRecentEvents200Response;
36
+ export declare function GetRecentEvents200ResponseFromJSON(json: any): GetRecentEvents200Response;
37
+ export declare function GetRecentEvents200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetRecentEvents200Response;
38
+ export declare function GetRecentEvents200ResponseToJSON(json: any): GetRecentEvents200Response;
39
+ export declare function GetRecentEvents200ResponseToJSONTyped(value?: GetRecentEvents200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
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.instanceOfGetRecentEvents200Response = instanceOfGetRecentEvents200Response;
17
+ exports.GetRecentEvents200ResponseFromJSON = GetRecentEvents200ResponseFromJSON;
18
+ exports.GetRecentEvents200ResponseFromJSONTyped = GetRecentEvents200ResponseFromJSONTyped;
19
+ exports.GetRecentEvents200ResponseToJSON = GetRecentEvents200ResponseToJSON;
20
+ exports.GetRecentEvents200ResponseToJSONTyped = GetRecentEvents200ResponseToJSONTyped;
21
+ var GetRecentEvents200ResponseItemsInner_1 = require("./GetRecentEvents200ResponseItemsInner");
22
+ /**
23
+ * Check if a given object implements the GetRecentEvents200Response interface.
24
+ */
25
+ function instanceOfGetRecentEvents200Response(value) {
26
+ if (!('postCount' in value) || value['postCount'] === undefined)
27
+ return false;
28
+ if (!('items' in value) || value['items'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function GetRecentEvents200ResponseFromJSON(json) {
33
+ return GetRecentEvents200ResponseFromJSONTyped(json, false);
34
+ }
35
+ function GetRecentEvents200ResponseFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'postCount': json['post_count'],
41
+ 'items': (json['items'].map(GetRecentEvents200ResponseItemsInner_1.GetRecentEvents200ResponseItemsInnerFromJSON)),
42
+ };
43
+ }
44
+ function GetRecentEvents200ResponseToJSON(json) {
45
+ return GetRecentEvents200ResponseToJSONTyped(json, false);
46
+ }
47
+ function GetRecentEvents200ResponseToJSONTyped(value, ignoreDiscriminator) {
48
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'post_count': value['postCount'],
54
+ 'items': (value['items'].map(GetRecentEvents200ResponseItemsInner_1.GetRecentEvents200ResponseItemsInnerToJSON)),
55
+ };
56
+ }