@xfloor/floor-memory-sdk-ts 1.0.16 → 1.0.18

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 (41) hide show
  1. package/README.md +17 -60
  2. package/dist/apis/DefaultApi.d.ts +12 -94
  3. package/dist/apis/DefaultApi.js +74 -427
  4. package/dist/models/index.d.ts +0 -17
  5. package/dist/models/index.js +0 -17
  6. package/dist/runtime.js +1 -1
  7. package/package.json +1 -1
  8. package/dist/models/ConversationThreads200Response.d.ts +0 -41
  9. package/dist/models/ConversationThreads200Response.js +0 -58
  10. package/dist/models/ConversationThreads200ResponseThreadsInner.d.ts +0 -46
  11. package/dist/models/ConversationThreads200ResponseThreadsInner.js +0 -61
  12. package/dist/models/GetConversations200Response.d.ts +0 -47
  13. package/dist/models/GetConversations200Response.js +0 -62
  14. package/dist/models/GetConversations200ResponseConversationInner.d.ts +0 -42
  15. package/dist/models/GetConversations200ResponseConversationInner.js +0 -55
  16. package/dist/models/GetConversations200ResponseConversationInnerAssistant.d.ts +0 -78
  17. package/dist/models/GetConversations200ResponseConversationInnerAssistant.js +0 -83
  18. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInner.d.ts +0 -61
  19. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInner.js +0 -62
  20. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails.d.ts +0 -76
  21. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails.js +0 -81
  22. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.d.ts +0 -40
  23. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.js +0 -57
  24. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.d.ts +0 -40
  25. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.js +0 -57
  26. package/dist/models/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.d.ts +0 -59
  27. package/dist/models/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.js +0 -70
  28. package/dist/models/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner.d.ts +0 -82
  29. package/dist/models/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner.js +0 -85
  30. package/dist/models/GetConversations200ResponseConversationInnerUser.d.ts +0 -59
  31. package/dist/models/GetConversations200ResponseConversationInnerUser.js +0 -70
  32. package/dist/models/GetConversations200ResponseConversationInnerUserContext.d.ts +0 -58
  33. package/dist/models/GetConversations200ResponseConversationInnerUserContext.js +0 -69
  34. package/dist/models/PostAdd.d.ts +0 -58
  35. package/dist/models/PostAdd.js +0 -69
  36. package/dist/models/SendSignInValidationCode200Response.d.ts +0 -46
  37. package/dist/models/SendSignInValidationCode200Response.js +0 -59
  38. package/dist/models/Threads.d.ts +0 -46
  39. package/dist/models/Threads.js +0 -61
  40. package/dist/models/ValidateCodeRequest.d.ts +0 -52
  41. package/dist/models/ValidateCodeRequest.js +0 -65
@@ -1,46 +0,0 @@
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.
4
- * - Memory and
5
- * - 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.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: contact@ipomo.in
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- *
16
- * @export
17
- * @interface SendSignInValidationCode200Response
18
- */
19
- export interface SendSignInValidationCode200Response {
20
- /**
21
- * Operation successful
22
- * @type {string}
23
- * @memberof SendSignInValidationCode200Response
24
- */
25
- success: string;
26
- /**
27
- * Mobile number if signed in through mobile number
28
- * @type {string}
29
- * @memberof SendSignInValidationCode200Response
30
- */
31
- mobileNumber?: string;
32
- /**
33
- * Email ID if signed through email
34
- * @type {string}
35
- * @memberof SendSignInValidationCode200Response
36
- */
37
- emailId: string;
38
- }
39
- /**
40
- * Check if a given object implements the SendSignInValidationCode200Response interface.
41
- */
42
- export declare function instanceOfSendSignInValidationCode200Response(value: object): value is SendSignInValidationCode200Response;
43
- export declare function SendSignInValidationCode200ResponseFromJSON(json: any): SendSignInValidationCode200Response;
44
- export declare function SendSignInValidationCode200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendSignInValidationCode200Response;
45
- export declare function SendSignInValidationCode200ResponseToJSON(json: any): SendSignInValidationCode200Response;
46
- export declare function SendSignInValidationCode200ResponseToJSONTyped(value?: SendSignInValidationCode200Response | null, ignoreDiscriminator?: boolean): any;
@@ -1,59 +0,0 @@
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.
7
- * - Memory and
8
- * - 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.
9
- *
10
- * The version of the OpenAPI document: 1.0.0
11
- * Contact: contact@ipomo.in
12
- *
13
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14
- * https://openapi-generator.tech
15
- * Do not edit the class manually.
16
- */
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfSendSignInValidationCode200Response = instanceOfSendSignInValidationCode200Response;
19
- exports.SendSignInValidationCode200ResponseFromJSON = SendSignInValidationCode200ResponseFromJSON;
20
- exports.SendSignInValidationCode200ResponseFromJSONTyped = SendSignInValidationCode200ResponseFromJSONTyped;
21
- exports.SendSignInValidationCode200ResponseToJSON = SendSignInValidationCode200ResponseToJSON;
22
- exports.SendSignInValidationCode200ResponseToJSONTyped = SendSignInValidationCode200ResponseToJSONTyped;
23
- /**
24
- * Check if a given object implements the SendSignInValidationCode200Response interface.
25
- */
26
- function instanceOfSendSignInValidationCode200Response(value) {
27
- if (!('success' in value) || value['success'] === undefined)
28
- return false;
29
- if (!('emailId' in value) || value['emailId'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function SendSignInValidationCode200ResponseFromJSON(json) {
34
- return SendSignInValidationCode200ResponseFromJSONTyped(json, false);
35
- }
36
- function SendSignInValidationCode200ResponseFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'success': json['success'],
42
- 'mobileNumber': json['mobile_number'] == null ? undefined : json['mobile_number'],
43
- 'emailId': json['email_id'],
44
- };
45
- }
46
- function SendSignInValidationCode200ResponseToJSON(json) {
47
- return SendSignInValidationCode200ResponseToJSONTyped(json, false);
48
- }
49
- function SendSignInValidationCode200ResponseToJSONTyped(value, ignoreDiscriminator) {
50
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
- if (value == null) {
52
- return value;
53
- }
54
- return {
55
- 'success': value['success'],
56
- 'mobile_number': value['mobileNumber'],
57
- 'email_id': value['emailId'],
58
- };
59
- }
@@ -1,46 +0,0 @@
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.
4
- * - Memory and
5
- * - 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.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: contact@ipomo.in
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- *
16
- * @export
17
- * @interface Threads
18
- */
19
- export interface Threads {
20
- /**
21
- *
22
- * @type {string}
23
- * @memberof Threads
24
- */
25
- threadId: string;
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof Threads
30
- */
31
- title: string;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof Threads
36
- */
37
- lastUpdated: string;
38
- }
39
- /**
40
- * Check if a given object implements the Threads interface.
41
- */
42
- export declare function instanceOfThreads(value: object): value is Threads;
43
- export declare function ThreadsFromJSON(json: any): Threads;
44
- export declare function ThreadsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Threads;
45
- export declare function ThreadsToJSON(json: any): Threads;
46
- export declare function ThreadsToJSONTyped(value?: Threads | null, ignoreDiscriminator?: boolean): any;
@@ -1,61 +0,0 @@
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.
7
- * - Memory and
8
- * - 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.
9
- *
10
- * The version of the OpenAPI document: 1.0.0
11
- * Contact: contact@ipomo.in
12
- *
13
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14
- * https://openapi-generator.tech
15
- * Do not edit the class manually.
16
- */
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfThreads = instanceOfThreads;
19
- exports.ThreadsFromJSON = ThreadsFromJSON;
20
- exports.ThreadsFromJSONTyped = ThreadsFromJSONTyped;
21
- exports.ThreadsToJSON = ThreadsToJSON;
22
- exports.ThreadsToJSONTyped = ThreadsToJSONTyped;
23
- /**
24
- * Check if a given object implements the Threads interface.
25
- */
26
- function instanceOfThreads(value) {
27
- if (!('threadId' in value) || value['threadId'] === undefined)
28
- return false;
29
- if (!('title' in value) || value['title'] === undefined)
30
- return false;
31
- if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
32
- return false;
33
- return true;
34
- }
35
- function ThreadsFromJSON(json) {
36
- return ThreadsFromJSONTyped(json, false);
37
- }
38
- function ThreadsFromJSONTyped(json, ignoreDiscriminator) {
39
- if (json == null) {
40
- return json;
41
- }
42
- return {
43
- 'threadId': json['thread_id'],
44
- 'title': json['title'],
45
- 'lastUpdated': json['last_updated'],
46
- };
47
- }
48
- function ThreadsToJSON(json) {
49
- return ThreadsToJSONTyped(json, false);
50
- }
51
- function ThreadsToJSONTyped(value, ignoreDiscriminator) {
52
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
- if (value == null) {
54
- return value;
55
- }
56
- return {
57
- 'thread_id': value['threadId'],
58
- 'title': value['title'],
59
- 'last_updated': value['lastUpdated'],
60
- };
61
- }
@@ -1,52 +0,0 @@
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.
4
- * - Memory and
5
- * - 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.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: contact@ipomo.in
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- *
16
- * @export
17
- * @interface ValidateCodeRequest
18
- */
19
- export interface ValidateCodeRequest {
20
- /**
21
- * User ID
22
- * @type {string}
23
- * @memberof ValidateCodeRequest
24
- */
25
- userId: string;
26
- /**
27
- * Validation code
28
- * @type {string}
29
- * @memberof ValidateCodeRequest
30
- */
31
- activationCode: string;
32
- /**
33
- * App ID which is given while registering as developer
34
- * @type {string}
35
- * @memberof ValidateCodeRequest
36
- */
37
- appId: string;
38
- /**
39
- * 4 for sign up, 5 for login
40
- * @type {string}
41
- * @memberof ValidateCodeRequest
42
- */
43
- mode: string;
44
- }
45
- /**
46
- * Check if a given object implements the ValidateCodeRequest interface.
47
- */
48
- export declare function instanceOfValidateCodeRequest(value: object): value is ValidateCodeRequest;
49
- export declare function ValidateCodeRequestFromJSON(json: any): ValidateCodeRequest;
50
- export declare function ValidateCodeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidateCodeRequest;
51
- export declare function ValidateCodeRequestToJSON(json: any): ValidateCodeRequest;
52
- export declare function ValidateCodeRequestToJSONTyped(value?: ValidateCodeRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,65 +0,0 @@
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.
7
- * - Memory and
8
- * - 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.
9
- *
10
- * The version of the OpenAPI document: 1.0.0
11
- * Contact: contact@ipomo.in
12
- *
13
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14
- * https://openapi-generator.tech
15
- * Do not edit the class manually.
16
- */
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfValidateCodeRequest = instanceOfValidateCodeRequest;
19
- exports.ValidateCodeRequestFromJSON = ValidateCodeRequestFromJSON;
20
- exports.ValidateCodeRequestFromJSONTyped = ValidateCodeRequestFromJSONTyped;
21
- exports.ValidateCodeRequestToJSON = ValidateCodeRequestToJSON;
22
- exports.ValidateCodeRequestToJSONTyped = ValidateCodeRequestToJSONTyped;
23
- /**
24
- * Check if a given object implements the ValidateCodeRequest interface.
25
- */
26
- function instanceOfValidateCodeRequest(value) {
27
- if (!('userId' in value) || value['userId'] === undefined)
28
- return false;
29
- if (!('activationCode' in value) || value['activationCode'] === undefined)
30
- return false;
31
- if (!('appId' in value) || value['appId'] === undefined)
32
- return false;
33
- if (!('mode' in value) || value['mode'] === undefined)
34
- return false;
35
- return true;
36
- }
37
- function ValidateCodeRequestFromJSON(json) {
38
- return ValidateCodeRequestFromJSONTyped(json, false);
39
- }
40
- function ValidateCodeRequestFromJSONTyped(json, ignoreDiscriminator) {
41
- if (json == null) {
42
- return json;
43
- }
44
- return {
45
- 'userId': json['user_id'],
46
- 'activationCode': json['activation_code'],
47
- 'appId': json['app_id'],
48
- 'mode': json['mode'],
49
- };
50
- }
51
- function ValidateCodeRequestToJSON(json) {
52
- return ValidateCodeRequestToJSONTyped(json, false);
53
- }
54
- function ValidateCodeRequestToJSONTyped(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
- 'activation_code': value['activationCode'],
62
- 'app_id': value['appId'],
63
- 'mode': value['mode'],
64
- };
65
- }