@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,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 { Query422ResponseError } from './Query422ResponseError';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Query422Response
|
|
17
|
+
*/
|
|
18
|
+
export interface Query422Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Query422ResponseError}
|
|
22
|
+
* @memberof Query422Response
|
|
23
|
+
*/
|
|
24
|
+
error: Query422ResponseError;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the Query422Response interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfQuery422Response(value: object): value is Query422Response;
|
|
30
|
+
export declare function Query422ResponseFromJSON(json: any): Query422Response;
|
|
31
|
+
export declare function Query422ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): Query422Response;
|
|
32
|
+
export declare function Query422ResponseToJSON(json: any): Query422Response;
|
|
33
|
+
export declare function Query422ResponseToJSONTyped(value?: Query422Response | 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.instanceOfQuery422Response = instanceOfQuery422Response;
|
|
17
|
+
exports.Query422ResponseFromJSON = Query422ResponseFromJSON;
|
|
18
|
+
exports.Query422ResponseFromJSONTyped = Query422ResponseFromJSONTyped;
|
|
19
|
+
exports.Query422ResponseToJSON = Query422ResponseToJSON;
|
|
20
|
+
exports.Query422ResponseToJSONTyped = Query422ResponseToJSONTyped;
|
|
21
|
+
var Query422ResponseError_1 = require("./Query422ResponseError");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the Query422Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfQuery422Response(value) {
|
|
26
|
+
if (!('error' in value) || value['error'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function Query422ResponseFromJSON(json) {
|
|
31
|
+
return Query422ResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function Query422ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'error': (0, Query422ResponseError_1.Query422ResponseErrorFromJSON)(json['error']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function Query422ResponseToJSON(json) {
|
|
42
|
+
return Query422ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function Query422ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'error': (0, Query422ResponseError_1.Query422ResponseErrorToJSON)(value['error']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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 Query422ResponseError
|
|
16
|
+
*/
|
|
17
|
+
export interface Query422ResponseError {
|
|
18
|
+
/**
|
|
19
|
+
* Error Message
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Query422ResponseError
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the Query422ResponseError interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfQuery422ResponseError(value: object): value is Query422ResponseError;
|
|
29
|
+
export declare function Query422ResponseErrorFromJSON(json: any): Query422ResponseError;
|
|
30
|
+
export declare function Query422ResponseErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): Query422ResponseError;
|
|
31
|
+
export declare function Query422ResponseErrorToJSON(json: any): Query422ResponseError;
|
|
32
|
+
export declare function Query422ResponseErrorToJSONTyped(value?: Query422ResponseError | 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.instanceOfQuery422ResponseError = instanceOfQuery422ResponseError;
|
|
17
|
+
exports.Query422ResponseErrorFromJSON = Query422ResponseErrorFromJSON;
|
|
18
|
+
exports.Query422ResponseErrorFromJSONTyped = Query422ResponseErrorFromJSONTyped;
|
|
19
|
+
exports.Query422ResponseErrorToJSON = Query422ResponseErrorToJSON;
|
|
20
|
+
exports.Query422ResponseErrorToJSONTyped = Query422ResponseErrorToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Query422ResponseError interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfQuery422ResponseError(value) {
|
|
25
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function Query422ResponseErrorFromJSON(json) {
|
|
30
|
+
return Query422ResponseErrorFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function Query422ResponseErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'message': json['message'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function Query422ResponseErrorToJSON(json) {
|
|
41
|
+
return Query422ResponseErrorToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function Query422ResponseErrorToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'message': value['message'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 { QueryRequestFilters } from './QueryRequestFilters';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface QueryRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface QueryRequest {
|
|
19
|
+
/**
|
|
20
|
+
* User ID
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof QueryRequest
|
|
23
|
+
*/
|
|
24
|
+
userId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Query text for conversations
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof QueryRequest
|
|
29
|
+
*/
|
|
30
|
+
query: string;
|
|
31
|
+
/**
|
|
32
|
+
* List of floor IDs
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof QueryRequest
|
|
35
|
+
*/
|
|
36
|
+
floorIds: Array<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Include meta data or not
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof QueryRequest
|
|
41
|
+
*/
|
|
42
|
+
includeMetadata?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Need LLM summary for the lists of posts sent
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof QueryRequest
|
|
47
|
+
*/
|
|
48
|
+
summaryNeeded?: string;
|
|
49
|
+
/**
|
|
50
|
+
* App ID
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof QueryRequest
|
|
53
|
+
*/
|
|
54
|
+
appId?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {QueryRequestFilters}
|
|
58
|
+
* @memberof QueryRequest
|
|
59
|
+
*/
|
|
60
|
+
filters?: QueryRequestFilters;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the QueryRequest interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfQueryRequest(value: object): value is QueryRequest;
|
|
66
|
+
export declare function QueryRequestFromJSON(json: any): QueryRequest;
|
|
67
|
+
export declare function QueryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryRequest;
|
|
68
|
+
export declare function QueryRequestToJSON(json: any): QueryRequest;
|
|
69
|
+
export declare function QueryRequestToJSONTyped(value?: QueryRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.instanceOfQueryRequest = instanceOfQueryRequest;
|
|
17
|
+
exports.QueryRequestFromJSON = QueryRequestFromJSON;
|
|
18
|
+
exports.QueryRequestFromJSONTyped = QueryRequestFromJSONTyped;
|
|
19
|
+
exports.QueryRequestToJSON = QueryRequestToJSON;
|
|
20
|
+
exports.QueryRequestToJSONTyped = QueryRequestToJSONTyped;
|
|
21
|
+
var QueryRequestFilters_1 = require("./QueryRequestFilters");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the QueryRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfQueryRequest(value) {
|
|
26
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('query' in value) || value['query'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('floorIds' in value) || value['floorIds'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function QueryRequestFromJSON(json) {
|
|
35
|
+
return QueryRequestFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function QueryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'userId': json['user_id'],
|
|
43
|
+
'query': json['query'],
|
|
44
|
+
'floorIds': json['floor_ids'],
|
|
45
|
+
'includeMetadata': json['include_metadata'] == null ? undefined : json['include_metadata'],
|
|
46
|
+
'summaryNeeded': json['summary_needed'] == null ? undefined : json['summary_needed'],
|
|
47
|
+
'appId': json['app_id'] == null ? undefined : json['app_id'],
|
|
48
|
+
'filters': json['filters'] == null ? undefined : (0, QueryRequestFilters_1.QueryRequestFiltersFromJSON)(json['filters']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function QueryRequestToJSON(json) {
|
|
52
|
+
return QueryRequestToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function QueryRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'user_id': value['userId'],
|
|
61
|
+
'query': value['query'],
|
|
62
|
+
'floor_ids': value['floorIds'],
|
|
63
|
+
'include_metadata': value['includeMetadata'],
|
|
64
|
+
'summary_needed': value['summaryNeeded'],
|
|
65
|
+
'app_id': value['appId'],
|
|
66
|
+
'filters': (0, QueryRequestFilters_1.QueryRequestFiltersToJSON)(value['filters']),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -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
|
+
* JSON format filters
|
|
14
|
+
* @export
|
|
15
|
+
* @interface QueryRequestFilters
|
|
16
|
+
*/
|
|
17
|
+
export interface QueryRequestFilters {
|
|
18
|
+
/**
|
|
19
|
+
* Start timestamp for filtering content by creation or update time.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof QueryRequestFilters
|
|
22
|
+
*/
|
|
23
|
+
timeFrom: string;
|
|
24
|
+
/**
|
|
25
|
+
* End timestamp for filtering content by creation or update time.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof QueryRequestFilters
|
|
28
|
+
*/
|
|
29
|
+
timeTo: string;
|
|
30
|
+
/**
|
|
31
|
+
* Content types to include (e.g., post, forum).
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof QueryRequestFilters
|
|
34
|
+
*/
|
|
35
|
+
filterTypes: string;
|
|
36
|
+
/**
|
|
37
|
+
* Tags used to further refine the query results.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof QueryRequestFilters
|
|
40
|
+
*/
|
|
41
|
+
filterTags: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the QueryRequestFilters interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfQueryRequestFilters(value: object): value is QueryRequestFilters;
|
|
47
|
+
export declare function QueryRequestFiltersFromJSON(json: any): QueryRequestFilters;
|
|
48
|
+
export declare function QueryRequestFiltersFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryRequestFilters;
|
|
49
|
+
export declare function QueryRequestFiltersToJSON(json: any): QueryRequestFilters;
|
|
50
|
+
export declare function QueryRequestFiltersToJSONTyped(value?: QueryRequestFilters | 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.instanceOfQueryRequestFilters = instanceOfQueryRequestFilters;
|
|
17
|
+
exports.QueryRequestFiltersFromJSON = QueryRequestFiltersFromJSON;
|
|
18
|
+
exports.QueryRequestFiltersFromJSONTyped = QueryRequestFiltersFromJSONTyped;
|
|
19
|
+
exports.QueryRequestFiltersToJSON = QueryRequestFiltersToJSON;
|
|
20
|
+
exports.QueryRequestFiltersToJSONTyped = QueryRequestFiltersToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the QueryRequestFilters interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfQueryRequestFilters(value) {
|
|
25
|
+
if (!('timeFrom' in value) || value['timeFrom'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('timeTo' in value) || value['timeTo'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('filterTypes' in value) || value['filterTypes'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('filterTags' in value) || value['filterTags'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function QueryRequestFiltersFromJSON(json) {
|
|
36
|
+
return QueryRequestFiltersFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function QueryRequestFiltersFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'timeFrom': json['time_from'],
|
|
44
|
+
'timeTo': json['time_to'],
|
|
45
|
+
'filterTypes': json['filter_types'],
|
|
46
|
+
'filterTags': json['filter_tags'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function QueryRequestFiltersToJSON(json) {
|
|
50
|
+
return QueryRequestFiltersToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function QueryRequestFiltersToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'time_from': value['timeFrom'],
|
|
59
|
+
'time_to': value['timeTo'],
|
|
60
|
+
'filter_types': value['filterTypes'],
|
|
61
|
+
'filter_tags': value['filterTags'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -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 { QueryResponseItemsInner } from './QueryResponseItemsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface QueryResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface QueryResponse {
|
|
19
|
+
/**
|
|
20
|
+
* List of source content
|
|
21
|
+
* @type {Array<QueryResponseItemsInner>}
|
|
22
|
+
* @memberof QueryResponse
|
|
23
|
+
*/
|
|
24
|
+
items?: Array<QueryResponseItemsInner>;
|
|
25
|
+
/**
|
|
26
|
+
* Summary of the posts
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof QueryResponse
|
|
29
|
+
*/
|
|
30
|
+
answer?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the QueryResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfQueryResponse(value: object): value is QueryResponse;
|
|
36
|
+
export declare function QueryResponseFromJSON(json: any): QueryResponse;
|
|
37
|
+
export declare function QueryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryResponse;
|
|
38
|
+
export declare function QueryResponseToJSON(json: any): QueryResponse;
|
|
39
|
+
export declare function QueryResponseToJSONTyped(value?: QueryResponse | 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.instanceOfQueryResponse = instanceOfQueryResponse;
|
|
17
|
+
exports.QueryResponseFromJSON = QueryResponseFromJSON;
|
|
18
|
+
exports.QueryResponseFromJSONTyped = QueryResponseFromJSONTyped;
|
|
19
|
+
exports.QueryResponseToJSON = QueryResponseToJSON;
|
|
20
|
+
exports.QueryResponseToJSONTyped = QueryResponseToJSONTyped;
|
|
21
|
+
var QueryResponseItemsInner_1 = require("./QueryResponseItemsInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the QueryResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfQueryResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function QueryResponseFromJSON(json) {
|
|
29
|
+
return QueryResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function QueryResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'items': json['items'] == null ? undefined : (json['items'].map(QueryResponseItemsInner_1.QueryResponseItemsInnerFromJSON)),
|
|
37
|
+
'answer': json['answer'] == null ? undefined : json['answer'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function QueryResponseToJSON(json) {
|
|
41
|
+
return QueryResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function QueryResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'items': value['items'] == null ? undefined : (value['items'].map(QueryResponseItemsInner_1.QueryResponseItemsInnerToJSON)),
|
|
50
|
+
'answer': value['answer'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
* Each item description
|
|
14
|
+
* @export
|
|
15
|
+
* @interface QueryResponseItemsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface QueryResponseItemsInner {
|
|
18
|
+
/**
|
|
19
|
+
* block type ( 0 or 1)
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof QueryResponseItemsInner
|
|
22
|
+
*/
|
|
23
|
+
blockType?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Will be a 13 digit unque number which identifies the block
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof QueryResponseItemsInner
|
|
28
|
+
*/
|
|
29
|
+
blockId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique ID given to the floor which cannot be modifed
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof QueryResponseItemsInner
|
|
34
|
+
*/
|
|
35
|
+
floorUid?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Content ID
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof QueryResponseItemsInner
|
|
40
|
+
*/
|
|
41
|
+
eventId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Related content
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof QueryResponseItemsInner
|
|
46
|
+
*/
|
|
47
|
+
text?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Similarity Score
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof QueryResponseItemsInner
|
|
52
|
+
*/
|
|
53
|
+
score?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Block Title
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof QueryResponseItemsInner
|
|
58
|
+
*/
|
|
59
|
+
blockTitle?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Block Details
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof QueryResponseItemsInner
|
|
64
|
+
*/
|
|
65
|
+
blockDetails?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Source floor content
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof QueryResponseItemsInner
|
|
70
|
+
*/
|
|
71
|
+
fromFloorUid?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Author of the content
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof QueryResponseItemsInner
|
|
76
|
+
*/
|
|
77
|
+
userId?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Match type text or image
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof QueryResponseItemsInner
|
|
82
|
+
*/
|
|
83
|
+
matchType?: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the QueryResponseItemsInner interface.
|
|
87
|
+
*/
|
|
88
|
+
export declare function instanceOfQueryResponseItemsInner(value: object): value is QueryResponseItemsInner;
|
|
89
|
+
export declare function QueryResponseItemsInnerFromJSON(json: any): QueryResponseItemsInner;
|
|
90
|
+
export declare function QueryResponseItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryResponseItemsInner;
|
|
91
|
+
export declare function QueryResponseItemsInnerToJSON(json: any): QueryResponseItemsInner;
|
|
92
|
+
export declare function QueryResponseItemsInnerToJSONTyped(value?: QueryResponseItemsInner | null, ignoreDiscriminator?: boolean): any;
|