@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,82 @@
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 { GetRecentEvents200ResponseItemsInnerAuthor } from './GetRecentEvents200ResponseItemsInnerAuthor';
13
+ import type { Media } from './Media';
14
+ /**
15
+ * Each post item
16
+ * @export
17
+ * @interface GetRecentEvents200ResponseItemsInner
18
+ */
19
+ export interface GetRecentEvents200ResponseItemsInner {
20
+ /**
21
+ * Post ID
22
+ * @type {string}
23
+ * @memberof GetRecentEvents200ResponseItemsInner
24
+ */
25
+ eventId?: string;
26
+ /**
27
+ * Block Type
28
+ * @type {string}
29
+ * @memberof GetRecentEvents200ResponseItemsInner
30
+ */
31
+ blockType?: string;
32
+ /**
33
+ *
34
+ * @type {GetRecentEvents200ResponseItemsInnerAuthor}
35
+ * @memberof GetRecentEvents200ResponseItemsInner
36
+ */
37
+ author?: GetRecentEvents200ResponseItemsInnerAuthor;
38
+ /**
39
+ * Any media attached
40
+ * @type {Array<Media>}
41
+ * @memberof GetRecentEvents200ResponseItemsInner
42
+ */
43
+ media?: Array<Media>;
44
+ /**
45
+ * 13 digit ID of the floor in which the post is residing
46
+ * @type {string}
47
+ * @memberof GetRecentEvents200ResponseItemsInner
48
+ */
49
+ floorUid?: string;
50
+ /**
51
+ * Post title
52
+ * @type {string}
53
+ * @memberof GetRecentEvents200ResponseItemsInner
54
+ */
55
+ title?: string;
56
+ /**
57
+ * Post details
58
+ * @type {string}
59
+ * @memberof GetRecentEvents200ResponseItemsInner
60
+ */
61
+ text?: string;
62
+ /**
63
+ * Created time in milli seconds
64
+ * @type {string}
65
+ * @memberof GetRecentEvents200ResponseItemsInner
66
+ */
67
+ createdAtMs?: string;
68
+ /**
69
+ * Numeric ID of the block
70
+ * @type {string}
71
+ * @memberof GetRecentEvents200ResponseItemsInner
72
+ */
73
+ blockId?: string;
74
+ }
75
+ /**
76
+ * Check if a given object implements the GetRecentEvents200ResponseItemsInner interface.
77
+ */
78
+ export declare function instanceOfGetRecentEvents200ResponseItemsInner(value: object): value is GetRecentEvents200ResponseItemsInner;
79
+ export declare function GetRecentEvents200ResponseItemsInnerFromJSON(json: any): GetRecentEvents200ResponseItemsInner;
80
+ export declare function GetRecentEvents200ResponseItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetRecentEvents200ResponseItemsInner;
81
+ export declare function GetRecentEvents200ResponseItemsInnerToJSON(json: any): GetRecentEvents200ResponseItemsInner;
82
+ export declare function GetRecentEvents200ResponseItemsInnerToJSONTyped(value?: GetRecentEvents200ResponseItemsInner | 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.instanceOfGetRecentEvents200ResponseItemsInner = instanceOfGetRecentEvents200ResponseItemsInner;
17
+ exports.GetRecentEvents200ResponseItemsInnerFromJSON = GetRecentEvents200ResponseItemsInnerFromJSON;
18
+ exports.GetRecentEvents200ResponseItemsInnerFromJSONTyped = GetRecentEvents200ResponseItemsInnerFromJSONTyped;
19
+ exports.GetRecentEvents200ResponseItemsInnerToJSON = GetRecentEvents200ResponseItemsInnerToJSON;
20
+ exports.GetRecentEvents200ResponseItemsInnerToJSONTyped = GetRecentEvents200ResponseItemsInnerToJSONTyped;
21
+ var GetRecentEvents200ResponseItemsInnerAuthor_1 = require("./GetRecentEvents200ResponseItemsInnerAuthor");
22
+ var Media_1 = require("./Media");
23
+ /**
24
+ * Check if a given object implements the GetRecentEvents200ResponseItemsInner interface.
25
+ */
26
+ function instanceOfGetRecentEvents200ResponseItemsInner(value) {
27
+ return true;
28
+ }
29
+ function GetRecentEvents200ResponseItemsInnerFromJSON(json) {
30
+ return GetRecentEvents200ResponseItemsInnerFromJSONTyped(json, false);
31
+ }
32
+ function GetRecentEvents200ResponseItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'eventId': json['event_id'] == null ? undefined : json['event_id'],
38
+ 'blockType': json['block_type'] == null ? undefined : json['block_type'],
39
+ 'author': json['author'] == null ? undefined : (0, GetRecentEvents200ResponseItemsInnerAuthor_1.GetRecentEvents200ResponseItemsInnerAuthorFromJSON)(json['author']),
40
+ 'media': json['media'] == null ? undefined : (json['media'].map(Media_1.MediaFromJSON)),
41
+ 'floorUid': json['floor_uid'] == null ? undefined : json['floor_uid'],
42
+ 'title': json['title'] == null ? undefined : json['title'],
43
+ 'text': json['text'] == null ? undefined : json['text'],
44
+ 'createdAtMs': json['created_at_ms'] == null ? undefined : json['created_at_ms'],
45
+ 'blockId': json['block_id'] == null ? undefined : json['block_id'],
46
+ };
47
+ }
48
+ function GetRecentEvents200ResponseItemsInnerToJSON(json) {
49
+ return GetRecentEvents200ResponseItemsInnerToJSONTyped(json, false);
50
+ }
51
+ function GetRecentEvents200ResponseItemsInnerToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'event_id': value['eventId'],
58
+ 'block_type': value['blockType'],
59
+ 'author': (0, GetRecentEvents200ResponseItemsInnerAuthor_1.GetRecentEvents200ResponseItemsInnerAuthorToJSON)(value['author']),
60
+ 'media': value['media'] == null ? undefined : (value['media'].map(Media_1.MediaToJSON)),
61
+ 'floor_uid': value['floorUid'],
62
+ 'title': value['title'],
63
+ 'text': value['text'],
64
+ 'created_at_ms': value['createdAtMs'],
65
+ 'block_id': value['blockId'],
66
+ };
67
+ }
@@ -0,0 +1,51 @@
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 { Media } from './Media';
13
+ /**
14
+ * Author details
15
+ * @export
16
+ * @interface GetRecentEvents200ResponseItemsInnerAuthor
17
+ */
18
+ export interface GetRecentEvents200ResponseItemsInnerAuthor {
19
+ /**
20
+ * Name of the author
21
+ * @type {string}
22
+ * @memberof GetRecentEvents200ResponseItemsInnerAuthor
23
+ */
24
+ name?: string;
25
+ /**
26
+ * Profile floor of the auther
27
+ * @type {string}
28
+ * @memberof GetRecentEvents200ResponseItemsInnerAuthor
29
+ */
30
+ floorId?: string;
31
+ /**
32
+ *
33
+ * @type {Media}
34
+ * @memberof GetRecentEvents200ResponseItemsInnerAuthor
35
+ */
36
+ avatar?: Media;
37
+ /**
38
+ * Unique 13 digit id of the profile floor
39
+ * @type {string}
40
+ * @memberof GetRecentEvents200ResponseItemsInnerAuthor
41
+ */
42
+ floorUid?: string;
43
+ }
44
+ /**
45
+ * Check if a given object implements the GetRecentEvents200ResponseItemsInnerAuthor interface.
46
+ */
47
+ export declare function instanceOfGetRecentEvents200ResponseItemsInnerAuthor(value: object): value is GetRecentEvents200ResponseItemsInnerAuthor;
48
+ export declare function GetRecentEvents200ResponseItemsInnerAuthorFromJSON(json: any): GetRecentEvents200ResponseItemsInnerAuthor;
49
+ export declare function GetRecentEvents200ResponseItemsInnerAuthorFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetRecentEvents200ResponseItemsInnerAuthor;
50
+ export declare function GetRecentEvents200ResponseItemsInnerAuthorToJSON(json: any): GetRecentEvents200ResponseItemsInnerAuthor;
51
+ export declare function GetRecentEvents200ResponseItemsInnerAuthorToJSONTyped(value?: GetRecentEvents200ResponseItemsInnerAuthor | 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.instanceOfGetRecentEvents200ResponseItemsInnerAuthor = instanceOfGetRecentEvents200ResponseItemsInnerAuthor;
17
+ exports.GetRecentEvents200ResponseItemsInnerAuthorFromJSON = GetRecentEvents200ResponseItemsInnerAuthorFromJSON;
18
+ exports.GetRecentEvents200ResponseItemsInnerAuthorFromJSONTyped = GetRecentEvents200ResponseItemsInnerAuthorFromJSONTyped;
19
+ exports.GetRecentEvents200ResponseItemsInnerAuthorToJSON = GetRecentEvents200ResponseItemsInnerAuthorToJSON;
20
+ exports.GetRecentEvents200ResponseItemsInnerAuthorToJSONTyped = GetRecentEvents200ResponseItemsInnerAuthorToJSONTyped;
21
+ var Media_1 = require("./Media");
22
+ /**
23
+ * Check if a given object implements the GetRecentEvents200ResponseItemsInnerAuthor interface.
24
+ */
25
+ function instanceOfGetRecentEvents200ResponseItemsInnerAuthor(value) {
26
+ return true;
27
+ }
28
+ function GetRecentEvents200ResponseItemsInnerAuthorFromJSON(json) {
29
+ return GetRecentEvents200ResponseItemsInnerAuthorFromJSONTyped(json, false);
30
+ }
31
+ function GetRecentEvents200ResponseItemsInnerAuthorFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'name': json['name'] == null ? undefined : json['name'],
37
+ 'floorId': json['floor_id'] == null ? undefined : json['floor_id'],
38
+ 'avatar': json['avatar'] == null ? undefined : (0, Media_1.MediaFromJSON)(json['avatar']),
39
+ 'floorUid': json['floor_uid'] == null ? undefined : json['floor_uid'],
40
+ };
41
+ }
42
+ function GetRecentEvents200ResponseItemsInnerAuthorToJSON(json) {
43
+ return GetRecentEvents200ResponseItemsInnerAuthorToJSONTyped(json, false);
44
+ }
45
+ function GetRecentEvents200ResponseItemsInnerAuthorToJSONTyped(value, ignoreDiscriminator) {
46
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'name': value['name'],
52
+ 'floor_id': value['floorId'],
53
+ 'avatar': (0, Media_1.MediaToJSON)(value['avatar']),
54
+ 'floor_uid': value['floorUid'],
55
+ };
56
+ }
@@ -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 { GetRecentEvents400ResponseError } from './GetRecentEvents400ResponseError';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetRecentEvents400Response
17
+ */
18
+ export interface GetRecentEvents400Response {
19
+ /**
20
+ *
21
+ * @type {GetRecentEvents400ResponseError}
22
+ * @memberof GetRecentEvents400Response
23
+ */
24
+ error: GetRecentEvents400ResponseError;
25
+ }
26
+ /**
27
+ * Check if a given object implements the GetRecentEvents400Response interface.
28
+ */
29
+ export declare function instanceOfGetRecentEvents400Response(value: object): value is GetRecentEvents400Response;
30
+ export declare function GetRecentEvents400ResponseFromJSON(json: any): GetRecentEvents400Response;
31
+ export declare function GetRecentEvents400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetRecentEvents400Response;
32
+ export declare function GetRecentEvents400ResponseToJSON(json: any): GetRecentEvents400Response;
33
+ export declare function GetRecentEvents400ResponseToJSONTyped(value?: GetRecentEvents400Response | 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.instanceOfGetRecentEvents400Response = instanceOfGetRecentEvents400Response;
17
+ exports.GetRecentEvents400ResponseFromJSON = GetRecentEvents400ResponseFromJSON;
18
+ exports.GetRecentEvents400ResponseFromJSONTyped = GetRecentEvents400ResponseFromJSONTyped;
19
+ exports.GetRecentEvents400ResponseToJSON = GetRecentEvents400ResponseToJSON;
20
+ exports.GetRecentEvents400ResponseToJSONTyped = GetRecentEvents400ResponseToJSONTyped;
21
+ var GetRecentEvents400ResponseError_1 = require("./GetRecentEvents400ResponseError");
22
+ /**
23
+ * Check if a given object implements the GetRecentEvents400Response interface.
24
+ */
25
+ function instanceOfGetRecentEvents400Response(value) {
26
+ if (!('error' in value) || value['error'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function GetRecentEvents400ResponseFromJSON(json) {
31
+ return GetRecentEvents400ResponseFromJSONTyped(json, false);
32
+ }
33
+ function GetRecentEvents400ResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'error': (0, GetRecentEvents400ResponseError_1.GetRecentEvents400ResponseErrorFromJSON)(json['error']),
39
+ };
40
+ }
41
+ function GetRecentEvents400ResponseToJSON(json) {
42
+ return GetRecentEvents400ResponseToJSONTyped(json, false);
43
+ }
44
+ function GetRecentEvents400ResponseToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'error': (0, GetRecentEvents400ResponseError_1.GetRecentEvents400ResponseErrorToJSON)(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 GetRecentEvents400ResponseError
16
+ */
17
+ export interface GetRecentEvents400ResponseError {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetRecentEvents400ResponseError
22
+ */
23
+ code: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GetRecentEvents400ResponseError
28
+ */
29
+ message: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof GetRecentEvents400ResponseError
34
+ */
35
+ path: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof GetRecentEvents400ResponseError
40
+ */
41
+ timestamp: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the GetRecentEvents400ResponseError interface.
45
+ */
46
+ export declare function instanceOfGetRecentEvents400ResponseError(value: object): value is GetRecentEvents400ResponseError;
47
+ export declare function GetRecentEvents400ResponseErrorFromJSON(json: any): GetRecentEvents400ResponseError;
48
+ export declare function GetRecentEvents400ResponseErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetRecentEvents400ResponseError;
49
+ export declare function GetRecentEvents400ResponseErrorToJSON(json: any): GetRecentEvents400ResponseError;
50
+ export declare function GetRecentEvents400ResponseErrorToJSONTyped(value?: GetRecentEvents400ResponseError | 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.instanceOfGetRecentEvents400ResponseError = instanceOfGetRecentEvents400ResponseError;
17
+ exports.GetRecentEvents400ResponseErrorFromJSON = GetRecentEvents400ResponseErrorFromJSON;
18
+ exports.GetRecentEvents400ResponseErrorFromJSONTyped = GetRecentEvents400ResponseErrorFromJSONTyped;
19
+ exports.GetRecentEvents400ResponseErrorToJSON = GetRecentEvents400ResponseErrorToJSON;
20
+ exports.GetRecentEvents400ResponseErrorToJSONTyped = GetRecentEvents400ResponseErrorToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GetRecentEvents400ResponseError interface.
23
+ */
24
+ function instanceOfGetRecentEvents400ResponseError(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 GetRecentEvents400ResponseErrorFromJSON(json) {
36
+ return GetRecentEvents400ResponseErrorFromJSONTyped(json, false);
37
+ }
38
+ function GetRecentEvents400ResponseErrorFromJSONTyped(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 GetRecentEvents400ResponseErrorToJSON(json) {
50
+ return GetRecentEvents400ResponseErrorToJSONTyped(json, false);
51
+ }
52
+ function GetRecentEvents400ResponseErrorToJSONTyped(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,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 Media
16
+ */
17
+ export interface Media {
18
+ /**
19
+ * Url where media is stored
20
+ * @type {string}
21
+ * @memberof Media
22
+ */
23
+ url: string;
24
+ /**
25
+ * ID of the media
26
+ * @type {string}
27
+ * @memberof Media
28
+ */
29
+ type: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the Media interface.
33
+ */
34
+ export declare function instanceOfMedia(value: object): value is Media;
35
+ export declare function MediaFromJSON(json: any): Media;
36
+ export declare function MediaFromJSONTyped(json: any, ignoreDiscriminator: boolean): Media;
37
+ export declare function MediaToJSON(json: any): Media;
38
+ export declare function MediaToJSONTyped(value?: Media | 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.instanceOfMedia = instanceOfMedia;
17
+ exports.MediaFromJSON = MediaFromJSON;
18
+ exports.MediaFromJSONTyped = MediaFromJSONTyped;
19
+ exports.MediaToJSON = MediaToJSON;
20
+ exports.MediaToJSONTyped = MediaToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the Media interface.
23
+ */
24
+ function instanceOfMedia(value) {
25
+ if (!('url' in value) || value['url'] === undefined)
26
+ return false;
27
+ if (!('type' in value) || value['type'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function MediaFromJSON(json) {
32
+ return MediaFromJSONTyped(json, false);
33
+ }
34
+ function MediaFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'url': json['url'],
40
+ 'type': json['type'],
41
+ };
42
+ }
43
+ function MediaToJSON(json) {
44
+ return MediaToJSONTyped(json, false);
45
+ }
46
+ function MediaToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'url': value['url'],
53
+ 'type': value['type'],
54
+ };
55
+ }
@@ -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 Model400ErrorCode
16
+ */
17
+ export interface Model400ErrorCode {
18
+ /**
19
+ * Validation Error
20
+ * @type {string}
21
+ * @memberof Model400ErrorCode
22
+ */
23
+ code: string;
24
+ /**
25
+ * Error Message
26
+ * @type {string}
27
+ * @memberof Model400ErrorCode
28
+ */
29
+ message: string;
30
+ /**
31
+ * REST api path
32
+ * @type {string}
33
+ * @memberof Model400ErrorCode
34
+ */
35
+ path: string;
36
+ /**
37
+ * Time stamp
38
+ * @type {string}
39
+ * @memberof Model400ErrorCode
40
+ */
41
+ timestamp: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the Model400ErrorCode interface.
45
+ */
46
+ export declare function instanceOfModel400ErrorCode(value: object): value is Model400ErrorCode;
47
+ export declare function Model400ErrorCodeFromJSON(json: any): Model400ErrorCode;
48
+ export declare function Model400ErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Model400ErrorCode;
49
+ export declare function Model400ErrorCodeToJSON(json: any): Model400ErrorCode;
50
+ export declare function Model400ErrorCodeToJSONTyped(value?: Model400ErrorCode | 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.instanceOfModel400ErrorCode = instanceOfModel400ErrorCode;
17
+ exports.Model400ErrorCodeFromJSON = Model400ErrorCodeFromJSON;
18
+ exports.Model400ErrorCodeFromJSONTyped = Model400ErrorCodeFromJSONTyped;
19
+ exports.Model400ErrorCodeToJSON = Model400ErrorCodeToJSON;
20
+ exports.Model400ErrorCodeToJSONTyped = Model400ErrorCodeToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the Model400ErrorCode interface.
23
+ */
24
+ function instanceOfModel400ErrorCode(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 Model400ErrorCodeFromJSON(json) {
36
+ return Model400ErrorCodeFromJSONTyped(json, false);
37
+ }
38
+ function Model400ErrorCodeFromJSONTyped(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 Model400ErrorCodeToJSON(json) {
50
+ return Model400ErrorCodeToJSONTyped(json, false);
51
+ }
52
+ function Model400ErrorCodeToJSONTyped(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
+ }