@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.
- package/LICENSE +1 -0
- package/README.md +176 -0
- package/dist/apis/DefaultApi.d.ts +209 -0
- package/dist/apis/DefaultApi.js +986 -0
- package/dist/apis/EditFloorApi.d.ts +36 -0
- package/dist/apis/EditFloorApi.js +173 -0
- package/dist/apis/EventApi.d.ts +32 -0
- package/dist/apis/EventApi.js +157 -0
- package/dist/apis/GetFloorInformationApi.d.ts +33 -0
- package/dist/apis/GetFloorInformationApi.js +144 -0
- package/dist/apis/GetRecentEventsApi.d.ts +33 -0
- package/dist/apis/GetRecentEventsApi.js +146 -0
- package/dist/apis/QueryApi.d.ts +31 -0
- package/dist/apis/QueryApi.js +139 -0
- package/dist/apis/index.d.ts +6 -0
- package/dist/apis/index.js +24 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/BlockDetails.d.ts +44 -0
- package/dist/models/BlockDetails.js +59 -0
- package/dist/models/ChangePassword200Response.d.ts +32 -0
- package/dist/models/ChangePassword200Response.js +51 -0
- package/dist/models/EditFloor400Response.d.ts +33 -0
- package/dist/models/EditFloor400Response.js +52 -0
- package/dist/models/EditFloor400ResponseError.d.ts +50 -0
- package/dist/models/EditFloor400ResponseError.js +63 -0
- package/dist/models/Event400Response.d.ts +33 -0
- package/dist/models/Event400Response.js +52 -0
- package/dist/models/Event400ResponseError.d.ts +50 -0
- package/dist/models/Event400ResponseError.js +63 -0
- package/dist/models/EventResponse.d.ts +32 -0
- package/dist/models/EventResponse.js +51 -0
- package/dist/models/FloorInfo.d.ts +64 -0
- package/dist/models/FloorInfo.js +67 -0
- package/dist/models/GetFloorInformation200Response.d.ts +64 -0
- package/dist/models/GetFloorInformation200Response.js +67 -0
- package/dist/models/GetRecentEvents200Response.d.ts +39 -0
- package/dist/models/GetRecentEvents200Response.js +56 -0
- package/dist/models/GetRecentEvents200ResponseItemsInner.d.ts +82 -0
- package/dist/models/GetRecentEvents200ResponseItemsInner.js +67 -0
- package/dist/models/GetRecentEvents200ResponseItemsInnerAuthor.d.ts +51 -0
- package/dist/models/GetRecentEvents200ResponseItemsInnerAuthor.js +56 -0
- package/dist/models/GetRecentEvents400Response.d.ts +33 -0
- package/dist/models/GetRecentEvents400Response.js +52 -0
- package/dist/models/GetRecentEvents400ResponseError.d.ts +50 -0
- package/dist/models/GetRecentEvents400ResponseError.js +63 -0
- package/dist/models/Media.d.ts +38 -0
- package/dist/models/Media.js +55 -0
- package/dist/models/Model400ErrorCode.d.ts +50 -0
- package/dist/models/Model400ErrorCode.js +63 -0
- package/dist/models/Query422Response.d.ts +33 -0
- package/dist/models/Query422Response.js +52 -0
- package/dist/models/Query422ResponseError.d.ts +32 -0
- package/dist/models/Query422ResponseError.js +51 -0
- package/dist/models/QueryRequest.d.ts +69 -0
- package/dist/models/QueryRequest.js +68 -0
- package/dist/models/QueryRequestFilters.d.ts +50 -0
- package/dist/models/QueryRequestFilters.js +63 -0
- package/dist/models/QueryResponse.d.ts +39 -0
- package/dist/models/QueryResponse.js +52 -0
- package/dist/models/QueryResponseItemsInner.d.ts +92 -0
- package/dist/models/QueryResponseItemsInner.js +69 -0
- package/dist/models/SendSignInValidationCode200Response.d.ts +44 -0
- package/dist/models/SendSignInValidationCode200Response.js +57 -0
- package/dist/models/SendSignInValidationCode400Response.d.ts +50 -0
- package/dist/models/SendSignInValidationCode400Response.js +63 -0
- package/dist/models/SendValidationCode200Response.d.ts +32 -0
- package/dist/models/SendValidationCode200Response.js +51 -0
- package/dist/models/SendValidationCodeRequest.d.ts +38 -0
- package/dist/models/SendValidationCodeRequest.js +55 -0
- package/dist/models/SignInWithEmail200Response.d.ts +46 -0
- package/dist/models/SignInWithEmail200Response.js +61 -0
- package/dist/models/SignInWithEmail200ResponseProfile.d.ts +76 -0
- package/dist/models/SignInWithEmail200ResponseProfile.js +73 -0
- package/dist/models/SignInWithEmail200ResponseProfileAvatar.d.ts +38 -0
- package/dist/models/SignInWithEmail200ResponseProfileAvatar.js +55 -0
- package/dist/models/SignUp200Response.d.ts +38 -0
- package/dist/models/SignUp200Response.js +55 -0
- package/dist/models/SignUpResponse.d.ts +38 -0
- package/dist/models/SignUpResponse.js +55 -0
- package/dist/models/UserDetails.d.ts +46 -0
- package/dist/models/UserDetails.js +61 -0
- package/dist/models/ValidateCode400Response.d.ts +33 -0
- package/dist/models/ValidateCode400Response.js +52 -0
- package/dist/models/ValidateCode400ResponseError.d.ts +50 -0
- package/dist/models/ValidateCode400ResponseError.js +63 -0
- package/dist/models/ValidateCode412Response.d.ts +32 -0
- package/dist/models/ValidateCode412Response.js +51 -0
- package/dist/models/ValidateCodeRequest.d.ts +50 -0
- package/dist/models/ValidateCodeRequest.js +63 -0
- package/dist/models/index.d.ts +36 -0
- package/dist/models/index.js +54 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +564 -0
- package/package.json +36 -0
|
@@ -0,0 +1,69 @@
|
|
|
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.instanceOfQueryResponseItemsInner = instanceOfQueryResponseItemsInner;
|
|
17
|
+
exports.QueryResponseItemsInnerFromJSON = QueryResponseItemsInnerFromJSON;
|
|
18
|
+
exports.QueryResponseItemsInnerFromJSONTyped = QueryResponseItemsInnerFromJSONTyped;
|
|
19
|
+
exports.QueryResponseItemsInnerToJSON = QueryResponseItemsInnerToJSON;
|
|
20
|
+
exports.QueryResponseItemsInnerToJSONTyped = QueryResponseItemsInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the QueryResponseItemsInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfQueryResponseItemsInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function QueryResponseItemsInnerFromJSON(json) {
|
|
28
|
+
return QueryResponseItemsInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function QueryResponseItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'blockType': json['block_type'] == null ? undefined : json['block_type'],
|
|
36
|
+
'blockId': json['block_id'] == null ? undefined : json['block_id'],
|
|
37
|
+
'floorUid': json['floor_uid'] == null ? undefined : json['floor_uid'],
|
|
38
|
+
'eventId': json['event_id'] == null ? undefined : json['event_id'],
|
|
39
|
+
'text': json['text'] == null ? undefined : json['text'],
|
|
40
|
+
'score': json['score'] == null ? undefined : json['score'],
|
|
41
|
+
'blockTitle': json['block_title'] == null ? undefined : json['block_title'],
|
|
42
|
+
'blockDetails': json['block_details'] == null ? undefined : json['block_details'],
|
|
43
|
+
'fromFloorUid': json['from_floor_uid'] == null ? undefined : json['from_floor_uid'],
|
|
44
|
+
'userId': json['user_id'] == null ? undefined : json['user_id'],
|
|
45
|
+
'matchType': json['match_type'] == null ? undefined : json['match_type'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function QueryResponseItemsInnerToJSON(json) {
|
|
49
|
+
return QueryResponseItemsInnerToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function QueryResponseItemsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'block_type': value['blockType'],
|
|
58
|
+
'block_id': value['blockId'],
|
|
59
|
+
'floor_uid': value['floorUid'],
|
|
60
|
+
'event_id': value['eventId'],
|
|
61
|
+
'text': value['text'],
|
|
62
|
+
'score': value['score'],
|
|
63
|
+
'block_title': value['blockTitle'],
|
|
64
|
+
'block_details': value['blockDetails'],
|
|
65
|
+
'from_floor_uid': value['fromFloorUid'],
|
|
66
|
+
'user_id': value['userId'],
|
|
67
|
+
'match_type': value['matchType'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 SendSignInValidationCode200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface SendSignInValidationCode200Response {
|
|
18
|
+
/**
|
|
19
|
+
* Operation successful
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SendSignInValidationCode200Response
|
|
22
|
+
*/
|
|
23
|
+
success: string;
|
|
24
|
+
/**
|
|
25
|
+
* Mobile number if signed in through mobile number
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SendSignInValidationCode200Response
|
|
28
|
+
*/
|
|
29
|
+
mobileNumber?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Email ID if signed through email
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SendSignInValidationCode200Response
|
|
34
|
+
*/
|
|
35
|
+
emailId: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SendSignInValidationCode200Response interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSendSignInValidationCode200Response(value: object): value is SendSignInValidationCode200Response;
|
|
41
|
+
export declare function SendSignInValidationCode200ResponseFromJSON(json: any): SendSignInValidationCode200Response;
|
|
42
|
+
export declare function SendSignInValidationCode200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendSignInValidationCode200Response;
|
|
43
|
+
export declare function SendSignInValidationCode200ResponseToJSON(json: any): SendSignInValidationCode200Response;
|
|
44
|
+
export declare function SendSignInValidationCode200ResponseToJSONTyped(value?: SendSignInValidationCode200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfSendSignInValidationCode200Response = instanceOfSendSignInValidationCode200Response;
|
|
17
|
+
exports.SendSignInValidationCode200ResponseFromJSON = SendSignInValidationCode200ResponseFromJSON;
|
|
18
|
+
exports.SendSignInValidationCode200ResponseFromJSONTyped = SendSignInValidationCode200ResponseFromJSONTyped;
|
|
19
|
+
exports.SendSignInValidationCode200ResponseToJSON = SendSignInValidationCode200ResponseToJSON;
|
|
20
|
+
exports.SendSignInValidationCode200ResponseToJSONTyped = SendSignInValidationCode200ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SendSignInValidationCode200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSendSignInValidationCode200Response(value) {
|
|
25
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('emailId' in value) || value['emailId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function SendSignInValidationCode200ResponseFromJSON(json) {
|
|
32
|
+
return SendSignInValidationCode200ResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function SendSignInValidationCode200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'success': json['success'],
|
|
40
|
+
'mobileNumber': json['mobile_number'] == null ? undefined : json['mobile_number'],
|
|
41
|
+
'emailId': json['email_id'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function SendSignInValidationCode200ResponseToJSON(json) {
|
|
45
|
+
return SendSignInValidationCode200ResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function SendSignInValidationCode200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'success': value['success'],
|
|
54
|
+
'mobile_number': value['mobileNumber'],
|
|
55
|
+
'email_id': value['emailId'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -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 SendSignInValidationCode400Response
|
|
16
|
+
*/
|
|
17
|
+
export interface SendSignInValidationCode400Response {
|
|
18
|
+
/**
|
|
19
|
+
* Validation Error
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SendSignInValidationCode400Response
|
|
22
|
+
*/
|
|
23
|
+
code: string;
|
|
24
|
+
/**
|
|
25
|
+
* Error Message
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SendSignInValidationCode400Response
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
* REST api path
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SendSignInValidationCode400Response
|
|
34
|
+
*/
|
|
35
|
+
path: string;
|
|
36
|
+
/**
|
|
37
|
+
* Time stamp
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SendSignInValidationCode400Response
|
|
40
|
+
*/
|
|
41
|
+
timestamp: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the SendSignInValidationCode400Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfSendSignInValidationCode400Response(value: object): value is SendSignInValidationCode400Response;
|
|
47
|
+
export declare function SendSignInValidationCode400ResponseFromJSON(json: any): SendSignInValidationCode400Response;
|
|
48
|
+
export declare function SendSignInValidationCode400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendSignInValidationCode400Response;
|
|
49
|
+
export declare function SendSignInValidationCode400ResponseToJSON(json: any): SendSignInValidationCode400Response;
|
|
50
|
+
export declare function SendSignInValidationCode400ResponseToJSONTyped(value?: SendSignInValidationCode400Response | 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.instanceOfSendSignInValidationCode400Response = instanceOfSendSignInValidationCode400Response;
|
|
17
|
+
exports.SendSignInValidationCode400ResponseFromJSON = SendSignInValidationCode400ResponseFromJSON;
|
|
18
|
+
exports.SendSignInValidationCode400ResponseFromJSONTyped = SendSignInValidationCode400ResponseFromJSONTyped;
|
|
19
|
+
exports.SendSignInValidationCode400ResponseToJSON = SendSignInValidationCode400ResponseToJSON;
|
|
20
|
+
exports.SendSignInValidationCode400ResponseToJSONTyped = SendSignInValidationCode400ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SendSignInValidationCode400Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSendSignInValidationCode400Response(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 SendSignInValidationCode400ResponseFromJSON(json) {
|
|
36
|
+
return SendSignInValidationCode400ResponseFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function SendSignInValidationCode400ResponseFromJSONTyped(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 SendSignInValidationCode400ResponseToJSON(json) {
|
|
50
|
+
return SendSignInValidationCode400ResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function SendSignInValidationCode400ResponseToJSONTyped(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 SendValidationCode200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface SendValidationCode200Response {
|
|
18
|
+
/**
|
|
19
|
+
* Validation code sent successfully
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SendValidationCode200Response
|
|
22
|
+
*/
|
|
23
|
+
success: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SendValidationCode200Response interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSendValidationCode200Response(value: object): value is SendValidationCode200Response;
|
|
29
|
+
export declare function SendValidationCode200ResponseFromJSON(json: any): SendValidationCode200Response;
|
|
30
|
+
export declare function SendValidationCode200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendValidationCode200Response;
|
|
31
|
+
export declare function SendValidationCode200ResponseToJSON(json: any): SendValidationCode200Response;
|
|
32
|
+
export declare function SendValidationCode200ResponseToJSONTyped(value?: SendValidationCode200Response | 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.instanceOfSendValidationCode200Response = instanceOfSendValidationCode200Response;
|
|
17
|
+
exports.SendValidationCode200ResponseFromJSON = SendValidationCode200ResponseFromJSON;
|
|
18
|
+
exports.SendValidationCode200ResponseFromJSONTyped = SendValidationCode200ResponseFromJSONTyped;
|
|
19
|
+
exports.SendValidationCode200ResponseToJSON = SendValidationCode200ResponseToJSON;
|
|
20
|
+
exports.SendValidationCode200ResponseToJSONTyped = SendValidationCode200ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SendValidationCode200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSendValidationCode200Response(value) {
|
|
25
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function SendValidationCode200ResponseFromJSON(json) {
|
|
30
|
+
return SendValidationCode200ResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function SendValidationCode200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'success': json['success'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function SendValidationCode200ResponseToJSON(json) {
|
|
41
|
+
return SendValidationCode200ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function SendValidationCode200ResponseToJSONTyped(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,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 SendValidationCodeRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SendValidationCodeRequest {
|
|
18
|
+
/**
|
|
19
|
+
* user id
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SendValidationCodeRequest
|
|
22
|
+
*/
|
|
23
|
+
userId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Mode - 0 for getting activation code, 1 for password change
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SendValidationCodeRequest
|
|
28
|
+
*/
|
|
29
|
+
mode: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SendValidationCodeRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSendValidationCodeRequest(value: object): value is SendValidationCodeRequest;
|
|
35
|
+
export declare function SendValidationCodeRequestFromJSON(json: any): SendValidationCodeRequest;
|
|
36
|
+
export declare function SendValidationCodeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendValidationCodeRequest;
|
|
37
|
+
export declare function SendValidationCodeRequestToJSON(json: any): SendValidationCodeRequest;
|
|
38
|
+
export declare function SendValidationCodeRequestToJSONTyped(value?: SendValidationCodeRequest | 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.instanceOfSendValidationCodeRequest = instanceOfSendValidationCodeRequest;
|
|
17
|
+
exports.SendValidationCodeRequestFromJSON = SendValidationCodeRequestFromJSON;
|
|
18
|
+
exports.SendValidationCodeRequestFromJSONTyped = SendValidationCodeRequestFromJSONTyped;
|
|
19
|
+
exports.SendValidationCodeRequestToJSON = SendValidationCodeRequestToJSON;
|
|
20
|
+
exports.SendValidationCodeRequestToJSONTyped = SendValidationCodeRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SendValidationCodeRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSendValidationCodeRequest(value) {
|
|
25
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function SendValidationCodeRequestFromJSON(json) {
|
|
32
|
+
return SendValidationCodeRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function SendValidationCodeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'userId': json['user_id'],
|
|
40
|
+
'mode': json['mode'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function SendValidationCodeRequestToJSON(json) {
|
|
44
|
+
return SendValidationCodeRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function SendValidationCodeRequestToJSONTyped(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
|
+
'mode': value['mode'],
|
|
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 SignInWithEmail200Response
|
|
18
|
+
*/
|
|
19
|
+
export interface SignInWithEmail200Response {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {FloorInfo}
|
|
23
|
+
* @memberof SignInWithEmail200Response
|
|
24
|
+
*/
|
|
25
|
+
podInfo: FloorInfo;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {SignInWithEmail200ResponseProfile}
|
|
29
|
+
* @memberof SignInWithEmail200Response
|
|
30
|
+
*/
|
|
31
|
+
profile: SignInWithEmail200ResponseProfile;
|
|
32
|
+
/**
|
|
33
|
+
* App ID
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof SignInWithEmail200Response
|
|
36
|
+
*/
|
|
37
|
+
appId: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the SignInWithEmail200Response interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfSignInWithEmail200Response(value: object): value is SignInWithEmail200Response;
|
|
43
|
+
export declare function SignInWithEmail200ResponseFromJSON(json: any): SignInWithEmail200Response;
|
|
44
|
+
export declare function SignInWithEmail200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignInWithEmail200Response;
|
|
45
|
+
export declare function SignInWithEmail200ResponseToJSON(json: any): SignInWithEmail200Response;
|
|
46
|
+
export declare function SignInWithEmail200ResponseToJSONTyped(value?: SignInWithEmail200Response | 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.instanceOfSignInWithEmail200Response = instanceOfSignInWithEmail200Response;
|
|
17
|
+
exports.SignInWithEmail200ResponseFromJSON = SignInWithEmail200ResponseFromJSON;
|
|
18
|
+
exports.SignInWithEmail200ResponseFromJSONTyped = SignInWithEmail200ResponseFromJSONTyped;
|
|
19
|
+
exports.SignInWithEmail200ResponseToJSON = SignInWithEmail200ResponseToJSON;
|
|
20
|
+
exports.SignInWithEmail200ResponseToJSONTyped = SignInWithEmail200ResponseToJSONTyped;
|
|
21
|
+
var FloorInfo_1 = require("./FloorInfo");
|
|
22
|
+
var SignInWithEmail200ResponseProfile_1 = require("./SignInWithEmail200ResponseProfile");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the SignInWithEmail200Response interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfSignInWithEmail200Response(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 SignInWithEmail200ResponseFromJSON(json) {
|
|
36
|
+
return SignInWithEmail200ResponseFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function SignInWithEmail200ResponseFromJSONTyped(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 SignInWithEmail200ResponseToJSON(json) {
|
|
49
|
+
return SignInWithEmail200ResponseToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function SignInWithEmail200ResponseToJSONTyped(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,76 @@
|
|
|
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 { SignInWithEmail200ResponseProfileAvatar } from './SignInWithEmail200ResponseProfileAvatar';
|
|
14
|
+
/**
|
|
15
|
+
* User profile details
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SignInWithEmail200ResponseProfile
|
|
18
|
+
*/
|
|
19
|
+
export interface SignInWithEmail200ResponseProfile {
|
|
20
|
+
/**
|
|
21
|
+
* Associated floor ID
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SignInWithEmail200ResponseProfile
|
|
24
|
+
*/
|
|
25
|
+
floorId: string;
|
|
26
|
+
/**
|
|
27
|
+
* Unique ID of floor
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof SignInWithEmail200ResponseProfile
|
|
30
|
+
*/
|
|
31
|
+
fid: string;
|
|
32
|
+
/**
|
|
33
|
+
* List of Blocks
|
|
34
|
+
* @type {Array<BlockDetails>}
|
|
35
|
+
* @memberof SignInWithEmail200ResponseProfile
|
|
36
|
+
*/
|
|
37
|
+
blocks: Array<BlockDetails>;
|
|
38
|
+
/**
|
|
39
|
+
* User Name
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof SignInWithEmail200ResponseProfile
|
|
42
|
+
*/
|
|
43
|
+
name?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Email ID
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof SignInWithEmail200ResponseProfile
|
|
48
|
+
*/
|
|
49
|
+
email?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Mobile number
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof SignInWithEmail200ResponseProfile
|
|
54
|
+
*/
|
|
55
|
+
mobileNumber?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Unique User ID
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof SignInWithEmail200ResponseProfile
|
|
60
|
+
*/
|
|
61
|
+
userId: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {SignInWithEmail200ResponseProfileAvatar}
|
|
65
|
+
* @memberof SignInWithEmail200ResponseProfile
|
|
66
|
+
*/
|
|
67
|
+
avatar?: SignInWithEmail200ResponseProfileAvatar;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the SignInWithEmail200ResponseProfile interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfSignInWithEmail200ResponseProfile(value: object): value is SignInWithEmail200ResponseProfile;
|
|
73
|
+
export declare function SignInWithEmail200ResponseProfileFromJSON(json: any): SignInWithEmail200ResponseProfile;
|
|
74
|
+
export declare function SignInWithEmail200ResponseProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignInWithEmail200ResponseProfile;
|
|
75
|
+
export declare function SignInWithEmail200ResponseProfileToJSON(json: any): SignInWithEmail200ResponseProfile;
|
|
76
|
+
export declare function SignInWithEmail200ResponseProfileToJSONTyped(value?: SignInWithEmail200ResponseProfile | null, ignoreDiscriminator?: boolean): any;
|