blanche-client-sdk 0.5.0 → 0.6.1
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/.openapi-generator/FILES +100 -10
- package/README.md +86 -16
- package/dist/apis/ChatsApi.d.ts +298 -0
- package/dist/apis/ChatsApi.js +1180 -0
- package/dist/apis/RecordsApi.d.ts +22 -6
- package/dist/apis/RecordsApi.js +63 -2
- package/dist/apis/TemplateSchemasApi.d.ts +115 -0
- package/dist/apis/TemplateSchemasApi.js +456 -0
- package/dist/apis/TemplatesApi.d.ts +22 -6
- package/dist/apis/TemplatesApi.js +62 -1
- package/dist/apis/UsersApi.d.ts +17 -1
- package/dist/apis/UsersApi.js +59 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/ApiV1ChatsChatIdMessagesGet200Response.d.ts +51 -0
- package/dist/models/ApiV1ChatsChatIdMessagesGet200Response.js +64 -0
- package/dist/models/ApiV1ChatsChatIdMessagesGet200ResponseMessagesInner.d.ts +74 -0
- package/dist/models/ApiV1ChatsChatIdMessagesGet200ResponseMessagesInner.js +79 -0
- package/dist/models/ApiV1ChatsChatIdMessagesPost201Response.d.ts +62 -0
- package/dist/models/ApiV1ChatsChatIdMessagesPost201Response.js +71 -0
- package/dist/models/ApiV1ChatsChatIdMessagesPostRequest.d.ts +44 -0
- package/dist/models/ApiV1ChatsChatIdMessagesPostRequest.js +55 -0
- package/dist/models/ApiV1ChatsChatIdMessagesSyncGet200Response.d.ts +51 -0
- package/dist/models/ApiV1ChatsChatIdMessagesSyncGet200Response.js +62 -0
- package/dist/models/ApiV1ChatsGet200Response.d.ts +51 -0
- package/dist/models/ApiV1ChatsGet200Response.js +64 -0
- package/dist/models/ApiV1ChatsGet200ResponseChatsInner.d.ts +68 -0
- package/dist/models/ApiV1ChatsGet200ResponseChatsInner.js +69 -0
- package/dist/models/ApiV1ChatsIdMessagesMessageIdAttachmentsGet200Response.d.ts +33 -0
- package/dist/models/ApiV1ChatsIdMessagesMessageIdAttachmentsGet200Response.js +52 -0
- package/dist/models/ApiV1ChatsIdMessagesMessageIdAttachmentsGet200ResponseAttachmentsInner.d.ts +74 -0
- package/dist/models/ApiV1ChatsIdMessagesMessageIdAttachmentsGet200ResponseAttachmentsInner.js +75 -0
- package/dist/models/ApiV1ChatsIdMessagesMessageIdAttachmentsPost201Response.d.ts +50 -0
- package/dist/models/ApiV1ChatsIdMessagesMessageIdAttachmentsPost201Response.js +63 -0
- package/dist/models/ApiV1ChatsIdMessagesMessageIdAttachmentsPostRequest.d.ts +65 -0
- package/dist/models/ApiV1ChatsIdMessagesMessageIdAttachmentsPostRequest.js +68 -0
- package/dist/models/ApiV1ChatsIdReadPost200Response.d.ts +50 -0
- package/dist/models/ApiV1ChatsIdReadPost200Response.js +61 -0
- package/dist/models/ApiV1ChatsIdReadPostRequest.d.ts +32 -0
- package/dist/models/ApiV1ChatsIdReadPostRequest.js +49 -0
- package/dist/models/ApiV1ChatsIdReportsPost200Response.d.ts +58 -0
- package/dist/models/ApiV1ChatsIdReportsPost200Response.js +69 -0
- package/dist/models/ApiV1ChatsIdReportsPost200ResponseRowsInner.d.ts +38 -0
- package/dist/models/ApiV1ChatsIdReportsPost200ResponseRowsInner.js +53 -0
- package/dist/models/ApiV1ChatsIdReportsPost200ResponseSourceMetadata.d.ts +56 -0
- package/dist/models/ApiV1ChatsIdReportsPost200ResponseSourceMetadata.js +67 -0
- package/dist/models/ApiV1ChatsIdReportsPost422Response.d.ts +32 -0
- package/dist/models/ApiV1ChatsIdReportsPost422Response.js +51 -0
- package/dist/models/ApiV1ChatsIdReportsPostRequest.d.ts +33 -0
- package/dist/models/ApiV1ChatsIdReportsPostRequest.js +52 -0
- package/dist/models/ApiV1ChatsIdReportsPostRequestPlanner.d.ts +61 -0
- package/dist/models/ApiV1ChatsIdReportsPostRequestPlanner.js +74 -0
- package/dist/models/ApiV1ChatsIdReportsPostRequestPlannerParams.d.ts +100 -0
- package/dist/models/ApiV1ChatsIdReportsPostRequestPlannerParams.js +84 -0
- package/dist/models/ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner.d.ts +56 -0
- package/dist/models/ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner.js +71 -0
- package/dist/models/ApiV1ChatsIdRunsRunIdCitationsGet200Response.d.ts +39 -0
- package/dist/models/ApiV1ChatsIdRunsRunIdCitationsGet200Response.js +56 -0
- package/dist/models/ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner.d.ts +50 -0
- package/dist/models/ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner.js +59 -0
- package/dist/models/ApiV1ChatsIdRunsRunIdGet200Response.d.ts +56 -0
- package/dist/models/ApiV1ChatsIdRunsRunIdGet200Response.js +65 -0
- package/dist/models/ApiV1ChatsIdRunsRunIdRetryPost201Response.d.ts +50 -0
- package/dist/models/ApiV1ChatsIdRunsRunIdRetryPost201Response.js +61 -0
- package/dist/models/ApiV1ChatsIdSavedReportsGet200Response.d.ts +33 -0
- package/dist/models/ApiV1ChatsIdSavedReportsGet200Response.js +52 -0
- package/dist/models/ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner.d.ts +56 -0
- package/dist/models/ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner.js +65 -0
- package/dist/models/ApiV1ChatsIdSavedReportsPostRequest.d.ts +38 -0
- package/dist/models/ApiV1ChatsIdSavedReportsPostRequest.js +53 -0
- package/dist/models/ApiV1ChatsPlannerContractGet200Response.d.ts +38 -0
- package/dist/models/ApiV1ChatsPlannerContractGet200Response.js +55 -0
- package/dist/models/ApiV1ChatsPlannerPost200Response.d.ts +62 -0
- package/dist/models/ApiV1ChatsPlannerPost200Response.js +71 -0
- package/dist/models/ApiV1ChatsPlannerPostRequest.d.ts +50 -0
- package/dist/models/ApiV1ChatsPlannerPostRequest.js +59 -0
- package/dist/models/ApiV1ChatsPost201Response.d.ts +56 -0
- package/dist/models/ApiV1ChatsPost201Response.js +65 -0
- package/dist/models/ApiV1ChatsPostRequest.d.ts +32 -0
- package/dist/models/ApiV1ChatsPostRequest.js +49 -0
- package/dist/models/ApiV1ChatsRealtimeContractGet200Response.d.ts +57 -0
- package/dist/models/ApiV1ChatsRealtimeContractGet200Response.js +68 -0
- package/dist/models/ApiV1ChatsRealtimeContractGet200ResponseEventsInner.d.ts +38 -0
- package/dist/models/ApiV1ChatsRealtimeContractGet200ResponseEventsInner.js +55 -0
- package/dist/models/ApiV1ChatsSyncGet200Response.d.ts +51 -0
- package/dist/models/ApiV1ChatsSyncGet200Response.js +62 -0
- package/dist/models/ApiV1ChatsSyncGet200ResponseCursorContract.d.ts +38 -0
- package/dist/models/ApiV1ChatsSyncGet200ResponseCursorContract.js +55 -0
- package/dist/models/ApiV1RecordsIdPut200Response.d.ts +50 -0
- package/dist/models/{ApiV1RecordsIdPatch200Response.js → ApiV1RecordsIdPut200Response.js} +13 -13
- package/dist/models/ApiV1RecordsIdPutRequest.d.ts +32 -0
- package/dist/models/ApiV1RecordsIdPutRequest.js +51 -0
- package/dist/models/ApiV1TemplatesIdPutRequest.d.ts +33 -0
- package/dist/models/ApiV1TemplatesIdPutRequest.js +52 -0
- package/dist/models/ApiV1TemplatesIdPutRequestTemplate.d.ts +38 -0
- package/dist/models/ApiV1TemplatesIdPutRequestTemplate.js +51 -0
- package/dist/models/ApiV1TemplatesTemplateIdSchemasGet200Response.d.ts +33 -0
- package/dist/models/ApiV1TemplatesTemplateIdSchemasGet200Response.js +52 -0
- package/dist/models/ApiV1TemplatesTemplateIdSchemasGet200ResponseSchemasInner.d.ts +62 -0
- package/dist/models/ApiV1TemplatesTemplateIdSchemasGet200ResponseSchemasInner.js +69 -0
- package/dist/models/ApiV1TemplatesTemplateIdSchemasIdPutRequest.d.ts +50 -0
- package/dist/models/ApiV1TemplatesTemplateIdSchemasIdPutRequest.js +55 -0
- package/dist/models/ApiV1TemplatesTemplateIdSchemasPost201Response.d.ts +44 -0
- package/dist/models/ApiV1TemplatesTemplateIdSchemasPost201Response.js +59 -0
- package/dist/models/ApiV1TemplatesTemplateIdSchemasPostRequest.d.ts +50 -0
- package/dist/models/ApiV1TemplatesTemplateIdSchemasPostRequest.js +59 -0
- package/dist/models/ApiV1UsersIdPutRequest.d.ts +33 -0
- package/dist/models/ApiV1UsersIdPutRequest.js +52 -0
- package/dist/models/ApiV1UsersIdPutRequestUser.d.ts +56 -0
- package/dist/models/ApiV1UsersIdPutRequestUser.js +57 -0
- package/dist/models/index.d.ts +48 -5
- package/dist/models/index.js +48 -5
- package/docs/ApiV1ChatsChatIdMessagesGet200Response.md +40 -0
- package/docs/ApiV1ChatsChatIdMessagesGet200ResponseMessagesInner.md +48 -0
- package/docs/ApiV1ChatsChatIdMessagesPost201Response.md +44 -0
- package/docs/ApiV1ChatsChatIdMessagesPostRequest.md +38 -0
- package/docs/ApiV1ChatsChatIdMessagesSyncGet200Response.md +40 -0
- package/docs/ApiV1ChatsGet200Response.md +40 -0
- package/docs/ApiV1ChatsGet200ResponseChatsInner.md +46 -0
- package/docs/ApiV1ChatsIdMessagesMessageIdAttachmentsGet200Response.md +34 -0
- package/docs/ApiV1ChatsIdMessagesMessageIdAttachmentsGet200ResponseAttachmentsInner.md +48 -0
- package/docs/ApiV1ChatsIdMessagesMessageIdAttachmentsPost201Response.md +40 -0
- package/docs/ApiV1ChatsIdMessagesMessageIdAttachmentsPostRequest.md +42 -0
- package/docs/ApiV1ChatsIdReadPost200Response.md +40 -0
- package/docs/ApiV1ChatsIdReadPostRequest.md +34 -0
- package/docs/ApiV1ChatsIdReportsPost200Response.md +42 -0
- package/docs/ApiV1ChatsIdReportsPost200ResponseRowsInner.md +36 -0
- package/docs/ApiV1ChatsIdReportsPost200ResponseSourceMetadata.md +42 -0
- package/docs/{ApiV1RecordsIdPatch422Response.md → ApiV1ChatsIdReportsPost422Response.md} +4 -4
- package/docs/ApiV1ChatsIdReportsPostRequest.md +34 -0
- package/docs/ApiV1ChatsIdReportsPostRequestPlanner.md +40 -0
- package/docs/ApiV1ChatsIdReportsPostRequestPlannerParams.md +50 -0
- package/docs/ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner.md +38 -0
- package/docs/ApiV1ChatsIdRunsRunIdCitationsGet200Response.md +36 -0
- package/docs/ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner.md +40 -0
- package/docs/ApiV1ChatsIdRunsRunIdGet200Response.md +42 -0
- package/docs/ApiV1ChatsIdRunsRunIdRetryPost201Response.md +40 -0
- package/docs/ApiV1ChatsIdSavedReportsGet200Response.md +34 -0
- package/docs/ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner.md +42 -0
- package/docs/ApiV1ChatsIdSavedReportsPostRequest.md +36 -0
- package/docs/ApiV1ChatsPlannerContractGet200Response.md +36 -0
- package/docs/ApiV1ChatsPlannerPost200Response.md +44 -0
- package/docs/ApiV1ChatsPlannerPostRequest.md +40 -0
- package/docs/ApiV1ChatsPost201Response.md +42 -0
- package/docs/ApiV1ChatsPostRequest.md +34 -0
- package/docs/ApiV1ChatsRealtimeContractGet200Response.md +42 -0
- package/docs/ApiV1ChatsRealtimeContractGet200ResponseEventsInner.md +36 -0
- package/docs/ApiV1ChatsSyncGet200Response.md +40 -0
- package/docs/ApiV1ChatsSyncGet200ResponseCursorContract.md +36 -0
- package/docs/{ApiV1RecordsIdPatch200Response.md → ApiV1RecordsIdPut200Response.md} +4 -4
- package/docs/{ApiV1RecordsIdPatchRequest.md → ApiV1RecordsIdPutRequest.md} +4 -4
- package/docs/{ApiV1TemplatesIdPatchRequest.md → ApiV1TemplatesIdPutRequest.md} +5 -5
- package/docs/{ApiV1TemplatesIdPatchRequestTemplate.md → ApiV1TemplatesIdPutRequestTemplate.md} +4 -4
- package/docs/ApiV1TemplatesTemplateIdSchemasGet200Response.md +34 -0
- package/docs/ApiV1TemplatesTemplateIdSchemasGet200ResponseSchemasInner.md +44 -0
- package/docs/ApiV1TemplatesTemplateIdSchemasIdPutRequest.md +40 -0
- package/docs/ApiV1TemplatesTemplateIdSchemasPost201Response.md +38 -0
- package/docs/ApiV1TemplatesTemplateIdSchemasPostRequest.md +40 -0
- package/docs/ApiV1UsersIdPutRequest.md +34 -0
- package/docs/ApiV1UsersIdPutRequestUser.md +42 -0
- package/docs/ChatsApi.md +1230 -0
- package/docs/RecordsApi.md +77 -8
- package/docs/TemplateSchemasApi.md +425 -0
- package/docs/TemplatesApi.md +76 -7
- package/docs/UsersApi.md +69 -0
- package/package.json +1 -1
- package/src/apis/ChatsApi.ts +1040 -0
- package/src/apis/RecordsApi.ts +69 -16
- package/src/apis/TemplateSchemasApi.ts +381 -0
- package/src/apis/TemplatesApi.ts +65 -12
- package/src/apis/UsersApi.ts +55 -0
- package/src/apis/index.ts +2 -0
- package/src/models/ApiV1ChatsChatIdMessagesGet200Response.ts +101 -0
- package/src/models/ApiV1ChatsChatIdMessagesGet200ResponseMessagesInner.ts +129 -0
- package/src/models/ApiV1ChatsChatIdMessagesPost201Response.ts +111 -0
- package/src/models/ApiV1ChatsChatIdMessagesPostRequest.ts +82 -0
- package/src/models/ApiV1ChatsChatIdMessagesSyncGet200Response.ts +100 -0
- package/src/models/ApiV1ChatsGet200Response.ts +101 -0
- package/src/models/ApiV1ChatsGet200ResponseChatsInner.ts +117 -0
- package/src/models/ApiV1ChatsIdMessagesMessageIdAttachmentsGet200Response.ts +74 -0
- package/src/models/ApiV1ChatsIdMessagesMessageIdAttachmentsGet200ResponseAttachmentsInner.ts +127 -0
- package/src/models/ApiV1ChatsIdMessagesMessageIdAttachmentsPost201Response.ts +93 -0
- package/src/models/ApiV1ChatsIdMessagesMessageIdAttachmentsPostRequest.ts +110 -0
- package/src/models/ApiV1ChatsIdReadPost200Response.ts +92 -0
- package/src/models/ApiV1ChatsIdReadPostRequest.ts +65 -0
- package/src/models/ApiV1ChatsIdReportsPost200Response.ts +117 -0
- package/src/models/ApiV1ChatsIdReportsPost200ResponseRowsInner.ts +74 -0
- package/src/models/ApiV1ChatsIdReportsPost200ResponseSourceMetadata.ts +102 -0
- package/src/models/ApiV1ChatsIdReportsPost422Response.ts +66 -0
- package/src/models/ApiV1ChatsIdReportsPostRequest.ts +74 -0
- package/src/models/ApiV1ChatsIdReportsPostRequestPlanner.ts +114 -0
- package/src/models/ApiV1ChatsIdReportsPostRequestPlannerParams.ts +160 -0
- package/src/models/ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner.ts +99 -0
- package/src/models/ApiV1ChatsIdRunsRunIdCitationsGet200Response.ts +83 -0
- package/src/models/ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner.ts +91 -0
- package/src/models/ApiV1ChatsIdRunsRunIdGet200Response.ts +101 -0
- package/src/models/ApiV1ChatsIdRunsRunIdRetryPost201Response.ts +92 -0
- package/src/models/ApiV1ChatsIdSavedReportsGet200Response.ts +74 -0
- package/src/models/ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner.ts +101 -0
- package/src/models/ApiV1ChatsIdSavedReportsPostRequest.ts +74 -0
- package/src/models/ApiV1ChatsPlannerContractGet200Response.ts +75 -0
- package/src/models/ApiV1ChatsPlannerPost200Response.ts +111 -0
- package/src/models/ApiV1ChatsPlannerPostRequest.ts +91 -0
- package/src/models/ApiV1ChatsPost201Response.ts +101 -0
- package/src/models/ApiV1ChatsPostRequest.ts +65 -0
- package/src/models/ApiV1ChatsRealtimeContractGet200Response.ts +110 -0
- package/src/models/ApiV1ChatsRealtimeContractGet200ResponseEventsInner.ts +75 -0
- package/src/models/ApiV1ChatsSyncGet200Response.ts +100 -0
- package/src/models/ApiV1ChatsSyncGet200ResponseCursorContract.ts +75 -0
- package/src/models/{ApiV1RecordsIdPatch200Response.ts → ApiV1RecordsIdPut200Response.ts} +14 -14
- package/src/models/ApiV1RecordsIdPutRequest.ts +66 -0
- package/src/models/ApiV1TemplatesIdPutRequest.ts +74 -0
- package/src/models/ApiV1TemplatesIdPutRequestTemplate.ts +73 -0
- package/src/models/ApiV1TemplatesTemplateIdSchemasGet200Response.ts +74 -0
- package/src/models/ApiV1TemplatesTemplateIdSchemasGet200ResponseSchemasInner.ts +110 -0
- package/src/models/ApiV1TemplatesTemplateIdSchemasIdPutRequest.ts +89 -0
- package/src/models/ApiV1TemplatesTemplateIdSchemasPost201Response.ts +84 -0
- package/src/models/ApiV1TemplatesTemplateIdSchemasPostRequest.ts +91 -0
- package/src/models/ApiV1UsersIdPutRequest.ts +74 -0
- package/src/models/ApiV1UsersIdPutRequestUser.ts +97 -0
- package/src/models/index.ts +48 -5
- package/dist/models/ApiV1RecordsIdPatch200Response.d.ts +0 -50
- package/dist/models/ApiV1RecordsIdPatch422Response.d.ts +0 -32
- package/dist/models/ApiV1RecordsIdPatch422Response.js +0 -51
- package/dist/models/ApiV1RecordsIdPatchRequest.d.ts +0 -32
- package/dist/models/ApiV1RecordsIdPatchRequest.js +0 -51
- package/dist/models/ApiV1TemplatesIdPatchRequest.d.ts +0 -33
- package/dist/models/ApiV1TemplatesIdPatchRequest.js +0 -52
- package/dist/models/ApiV1TemplatesIdPatchRequestTemplate.d.ts +0 -38
- package/dist/models/ApiV1TemplatesIdPatchRequestTemplate.js +0 -51
- package/src/models/ApiV1RecordsIdPatch422Response.ts +0 -66
- package/src/models/ApiV1RecordsIdPatchRequest.ts +0 -66
- package/src/models/ApiV1TemplatesIdPatchRequest.ts +0 -74
- package/src/models/ApiV1TemplatesIdPatchRequestTemplate.ts +0 -73
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Blanche API
|
|
6
|
+
* AI-powered life tracking system API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
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.instanceOfApiV1ChatsIdRunsRunIdCitationsGet200Response = instanceOfApiV1ChatsIdRunsRunIdCitationsGet200Response;
|
|
17
|
+
exports.ApiV1ChatsIdRunsRunIdCitationsGet200ResponseFromJSON = ApiV1ChatsIdRunsRunIdCitationsGet200ResponseFromJSON;
|
|
18
|
+
exports.ApiV1ChatsIdRunsRunIdCitationsGet200ResponseFromJSONTyped = ApiV1ChatsIdRunsRunIdCitationsGet200ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiV1ChatsIdRunsRunIdCitationsGet200ResponseToJSON = ApiV1ChatsIdRunsRunIdCitationsGet200ResponseToJSON;
|
|
20
|
+
exports.ApiV1ChatsIdRunsRunIdCitationsGet200ResponseToJSONTyped = ApiV1ChatsIdRunsRunIdCitationsGet200ResponseToJSONTyped;
|
|
21
|
+
var ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner_1 = require("./ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApiV1ChatsIdRunsRunIdCitationsGet200Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfApiV1ChatsIdRunsRunIdCitationsGet200Response(value) {
|
|
26
|
+
if (!('runId' in value) || value['runId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('citations' in value) || value['citations'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function ApiV1ChatsIdRunsRunIdCitationsGet200ResponseFromJSON(json) {
|
|
33
|
+
return ApiV1ChatsIdRunsRunIdCitationsGet200ResponseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function ApiV1ChatsIdRunsRunIdCitationsGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'runId': json['run_id'],
|
|
41
|
+
'citations': (json['citations'].map(ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner_1.ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function ApiV1ChatsIdRunsRunIdCitationsGet200ResponseToJSON(json) {
|
|
45
|
+
return ApiV1ChatsIdRunsRunIdCitationsGet200ResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function ApiV1ChatsIdRunsRunIdCitationsGet200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'run_id': value['runId'],
|
|
54
|
+
'citations': (value['citations'].map(ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner_1.ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Blanche API
|
|
3
|
+
* AI-powered life tracking system API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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 ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner
|
|
28
|
+
*/
|
|
29
|
+
toolName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner
|
|
34
|
+
*/
|
|
35
|
+
rowsCount?: number | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {object}
|
|
39
|
+
* @memberof ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner
|
|
40
|
+
*/
|
|
41
|
+
sourceMetadata?: object | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner(value: object): value is ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner;
|
|
47
|
+
export declare function ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerFromJSON(json: any): ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner;
|
|
48
|
+
export declare function ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner;
|
|
49
|
+
export declare function ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerToJSON(json: any): ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner;
|
|
50
|
+
export declare function ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerToJSONTyped(value?: ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Blanche API
|
|
6
|
+
* AI-powered life tracking system API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
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.instanceOfApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner = instanceOfApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner;
|
|
17
|
+
exports.ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerFromJSON = ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerFromJSON;
|
|
18
|
+
exports.ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerFromJSONTyped = ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerFromJSONTyped;
|
|
19
|
+
exports.ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerToJSON = ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerToJSON;
|
|
20
|
+
exports.ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerToJSONTyped = ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('toolName' in value) || value['toolName'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerFromJSON(json) {
|
|
32
|
+
return ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'toolName': json['tool_name'],
|
|
41
|
+
'rowsCount': json['rows_count'] == null ? undefined : json['rows_count'],
|
|
42
|
+
'sourceMetadata': json['source_metadata'] == null ? undefined : json['source_metadata'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerToJSON(json) {
|
|
46
|
+
return ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'tool_name': value['toolName'],
|
|
56
|
+
'rows_count': value['rowsCount'],
|
|
57
|
+
'source_metadata': value['sourceMetadata'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Blanche API
|
|
3
|
+
* AI-powered life tracking system API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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 ApiV1ChatsIdRunsRunIdGet200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1ChatsIdRunsRunIdGet200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1ChatsIdRunsRunIdGet200Response
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiV1ChatsIdRunsRunIdGet200Response
|
|
28
|
+
*/
|
|
29
|
+
sessionId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiV1ChatsIdRunsRunIdGet200Response
|
|
34
|
+
*/
|
|
35
|
+
status: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiV1ChatsIdRunsRunIdGet200Response
|
|
40
|
+
*/
|
|
41
|
+
retrievalStrategy?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ApiV1ChatsIdRunsRunIdGet200Response
|
|
46
|
+
*/
|
|
47
|
+
requestUuid: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ApiV1ChatsIdRunsRunIdGet200Response interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfApiV1ChatsIdRunsRunIdGet200Response(value: object): value is ApiV1ChatsIdRunsRunIdGet200Response;
|
|
53
|
+
export declare function ApiV1ChatsIdRunsRunIdGet200ResponseFromJSON(json: any): ApiV1ChatsIdRunsRunIdGet200Response;
|
|
54
|
+
export declare function ApiV1ChatsIdRunsRunIdGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1ChatsIdRunsRunIdGet200Response;
|
|
55
|
+
export declare function ApiV1ChatsIdRunsRunIdGet200ResponseToJSON(json: any): ApiV1ChatsIdRunsRunIdGet200Response;
|
|
56
|
+
export declare function ApiV1ChatsIdRunsRunIdGet200ResponseToJSONTyped(value?: ApiV1ChatsIdRunsRunIdGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Blanche API
|
|
6
|
+
* AI-powered life tracking system API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
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.instanceOfApiV1ChatsIdRunsRunIdGet200Response = instanceOfApiV1ChatsIdRunsRunIdGet200Response;
|
|
17
|
+
exports.ApiV1ChatsIdRunsRunIdGet200ResponseFromJSON = ApiV1ChatsIdRunsRunIdGet200ResponseFromJSON;
|
|
18
|
+
exports.ApiV1ChatsIdRunsRunIdGet200ResponseFromJSONTyped = ApiV1ChatsIdRunsRunIdGet200ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiV1ChatsIdRunsRunIdGet200ResponseToJSON = ApiV1ChatsIdRunsRunIdGet200ResponseToJSON;
|
|
20
|
+
exports.ApiV1ChatsIdRunsRunIdGet200ResponseToJSONTyped = ApiV1ChatsIdRunsRunIdGet200ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiV1ChatsIdRunsRunIdGet200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiV1ChatsIdRunsRunIdGet200Response(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('requestUuid' in value) || value['requestUuid'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function ApiV1ChatsIdRunsRunIdGet200ResponseFromJSON(json) {
|
|
36
|
+
return ApiV1ChatsIdRunsRunIdGet200ResponseFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ApiV1ChatsIdRunsRunIdGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'sessionId': json['session_id'],
|
|
45
|
+
'status': json['status'],
|
|
46
|
+
'retrievalStrategy': json['retrieval_strategy'] == null ? undefined : json['retrieval_strategy'],
|
|
47
|
+
'requestUuid': json['request_uuid'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function ApiV1ChatsIdRunsRunIdGet200ResponseToJSON(json) {
|
|
51
|
+
return ApiV1ChatsIdRunsRunIdGet200ResponseToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function ApiV1ChatsIdRunsRunIdGet200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'session_id': value['sessionId'],
|
|
61
|
+
'status': value['status'],
|
|
62
|
+
'retrieval_strategy': value['retrievalStrategy'],
|
|
63
|
+
'request_uuid': value['requestUuid'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Blanche API
|
|
3
|
+
* AI-powered life tracking system API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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 ApiV1ChatsIdRunsRunIdRetryPost201Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1ChatsIdRunsRunIdRetryPost201Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1ChatsIdRunsRunIdRetryPost201Response
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiV1ChatsIdRunsRunIdRetryPost201Response
|
|
28
|
+
*/
|
|
29
|
+
status: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiV1ChatsIdRunsRunIdRetryPost201Response
|
|
34
|
+
*/
|
|
35
|
+
retrievalStrategy?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {object}
|
|
39
|
+
* @memberof ApiV1ChatsIdRunsRunIdRetryPost201Response
|
|
40
|
+
*/
|
|
41
|
+
metadata: object;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ApiV1ChatsIdRunsRunIdRetryPost201Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfApiV1ChatsIdRunsRunIdRetryPost201Response(value: object): value is ApiV1ChatsIdRunsRunIdRetryPost201Response;
|
|
47
|
+
export declare function ApiV1ChatsIdRunsRunIdRetryPost201ResponseFromJSON(json: any): ApiV1ChatsIdRunsRunIdRetryPost201Response;
|
|
48
|
+
export declare function ApiV1ChatsIdRunsRunIdRetryPost201ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1ChatsIdRunsRunIdRetryPost201Response;
|
|
49
|
+
export declare function ApiV1ChatsIdRunsRunIdRetryPost201ResponseToJSON(json: any): ApiV1ChatsIdRunsRunIdRetryPost201Response;
|
|
50
|
+
export declare function ApiV1ChatsIdRunsRunIdRetryPost201ResponseToJSONTyped(value?: ApiV1ChatsIdRunsRunIdRetryPost201Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Blanche API
|
|
6
|
+
* AI-powered life tracking system API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
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.instanceOfApiV1ChatsIdRunsRunIdRetryPost201Response = instanceOfApiV1ChatsIdRunsRunIdRetryPost201Response;
|
|
17
|
+
exports.ApiV1ChatsIdRunsRunIdRetryPost201ResponseFromJSON = ApiV1ChatsIdRunsRunIdRetryPost201ResponseFromJSON;
|
|
18
|
+
exports.ApiV1ChatsIdRunsRunIdRetryPost201ResponseFromJSONTyped = ApiV1ChatsIdRunsRunIdRetryPost201ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiV1ChatsIdRunsRunIdRetryPost201ResponseToJSON = ApiV1ChatsIdRunsRunIdRetryPost201ResponseToJSON;
|
|
20
|
+
exports.ApiV1ChatsIdRunsRunIdRetryPost201ResponseToJSONTyped = ApiV1ChatsIdRunsRunIdRetryPost201ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiV1ChatsIdRunsRunIdRetryPost201Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiV1ChatsIdRunsRunIdRetryPost201Response(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function ApiV1ChatsIdRunsRunIdRetryPost201ResponseFromJSON(json) {
|
|
34
|
+
return ApiV1ChatsIdRunsRunIdRetryPost201ResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ApiV1ChatsIdRunsRunIdRetryPost201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'status': json['status'],
|
|
43
|
+
'retrievalStrategy': json['retrieval_strategy'] == null ? undefined : json['retrieval_strategy'],
|
|
44
|
+
'metadata': json['metadata'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function ApiV1ChatsIdRunsRunIdRetryPost201ResponseToJSON(json) {
|
|
48
|
+
return ApiV1ChatsIdRunsRunIdRetryPost201ResponseToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function ApiV1ChatsIdRunsRunIdRetryPost201ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': value['id'],
|
|
57
|
+
'status': value['status'],
|
|
58
|
+
'retrieval_strategy': value['retrievalStrategy'],
|
|
59
|
+
'metadata': value['metadata'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Blanche API
|
|
3
|
+
* AI-powered life tracking system API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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 { ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner } from './ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiV1ChatsIdSavedReportsGet200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiV1ChatsIdSavedReportsGet200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner>}
|
|
22
|
+
* @memberof ApiV1ChatsIdSavedReportsGet200Response
|
|
23
|
+
*/
|
|
24
|
+
savedReports: Array<ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ApiV1ChatsIdSavedReportsGet200Response interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfApiV1ChatsIdSavedReportsGet200Response(value: object): value is ApiV1ChatsIdSavedReportsGet200Response;
|
|
30
|
+
export declare function ApiV1ChatsIdSavedReportsGet200ResponseFromJSON(json: any): ApiV1ChatsIdSavedReportsGet200Response;
|
|
31
|
+
export declare function ApiV1ChatsIdSavedReportsGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1ChatsIdSavedReportsGet200Response;
|
|
32
|
+
export declare function ApiV1ChatsIdSavedReportsGet200ResponseToJSON(json: any): ApiV1ChatsIdSavedReportsGet200Response;
|
|
33
|
+
export declare function ApiV1ChatsIdSavedReportsGet200ResponseToJSONTyped(value?: ApiV1ChatsIdSavedReportsGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Blanche API
|
|
6
|
+
* AI-powered life tracking system API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
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.instanceOfApiV1ChatsIdSavedReportsGet200Response = instanceOfApiV1ChatsIdSavedReportsGet200Response;
|
|
17
|
+
exports.ApiV1ChatsIdSavedReportsGet200ResponseFromJSON = ApiV1ChatsIdSavedReportsGet200ResponseFromJSON;
|
|
18
|
+
exports.ApiV1ChatsIdSavedReportsGet200ResponseFromJSONTyped = ApiV1ChatsIdSavedReportsGet200ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiV1ChatsIdSavedReportsGet200ResponseToJSON = ApiV1ChatsIdSavedReportsGet200ResponseToJSON;
|
|
20
|
+
exports.ApiV1ChatsIdSavedReportsGet200ResponseToJSONTyped = ApiV1ChatsIdSavedReportsGet200ResponseToJSONTyped;
|
|
21
|
+
var ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner_1 = require("./ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApiV1ChatsIdSavedReportsGet200Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfApiV1ChatsIdSavedReportsGet200Response(value) {
|
|
26
|
+
if (!('savedReports' in value) || value['savedReports'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ApiV1ChatsIdSavedReportsGet200ResponseFromJSON(json) {
|
|
31
|
+
return ApiV1ChatsIdSavedReportsGet200ResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ApiV1ChatsIdSavedReportsGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'savedReports': (json['saved_reports'].map(ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner_1.ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ApiV1ChatsIdSavedReportsGet200ResponseToJSON(json) {
|
|
42
|
+
return ApiV1ChatsIdSavedReportsGet200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ApiV1ChatsIdSavedReportsGet200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'saved_reports': (value['savedReports'].map(ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner_1.ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Blanche API
|
|
3
|
+
* AI-powered life tracking system API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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 ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner
|
|
28
|
+
*/
|
|
29
|
+
runId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner
|
|
34
|
+
*/
|
|
35
|
+
title?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {object}
|
|
39
|
+
* @memberof ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner
|
|
40
|
+
*/
|
|
41
|
+
report: object;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {object}
|
|
45
|
+
* @memberof ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner
|
|
46
|
+
*/
|
|
47
|
+
chartSpec: object;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner(value: object): value is ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner;
|
|
53
|
+
export declare function ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerFromJSON(json: any): ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner;
|
|
54
|
+
export declare function ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner;
|
|
55
|
+
export declare function ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerToJSON(json: any): ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner;
|
|
56
|
+
export declare function ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerToJSONTyped(value?: ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Blanche API
|
|
6
|
+
* AI-powered life tracking system API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
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.instanceOfApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner = instanceOfApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner;
|
|
17
|
+
exports.ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerFromJSON = ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerFromJSON;
|
|
18
|
+
exports.ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerFromJSONTyped = ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerFromJSONTyped;
|
|
19
|
+
exports.ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerToJSON = ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerToJSON;
|
|
20
|
+
exports.ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerToJSONTyped = ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('runId' in value) || value['runId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('report' in value) || value['report'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('chartSpec' in value) || value['chartSpec'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerFromJSON(json) {
|
|
36
|
+
return ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'runId': json['run_id'],
|
|
45
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
46
|
+
'report': json['report'],
|
|
47
|
+
'chartSpec': json['chart_spec'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerToJSON(json) {
|
|
51
|
+
return ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'run_id': value['runId'],
|
|
61
|
+
'title': value['title'],
|
|
62
|
+
'report': value['report'],
|
|
63
|
+
'chart_spec': value['chartSpec'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Blanche API
|
|
3
|
+
* AI-powered life tracking system API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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 ApiV1ChatsIdSavedReportsPostRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1ChatsIdSavedReportsPostRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1ChatsIdSavedReportsPostRequest
|
|
22
|
+
*/
|
|
23
|
+
runId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiV1ChatsIdSavedReportsPostRequest
|
|
28
|
+
*/
|
|
29
|
+
title?: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiV1ChatsIdSavedReportsPostRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiV1ChatsIdSavedReportsPostRequest(value: object): value is ApiV1ChatsIdSavedReportsPostRequest;
|
|
35
|
+
export declare function ApiV1ChatsIdSavedReportsPostRequestFromJSON(json: any): ApiV1ChatsIdSavedReportsPostRequest;
|
|
36
|
+
export declare function ApiV1ChatsIdSavedReportsPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1ChatsIdSavedReportsPostRequest;
|
|
37
|
+
export declare function ApiV1ChatsIdSavedReportsPostRequestToJSON(json: any): ApiV1ChatsIdSavedReportsPostRequest;
|
|
38
|
+
export declare function ApiV1ChatsIdSavedReportsPostRequestToJSONTyped(value?: ApiV1ChatsIdSavedReportsPostRequest | null, ignoreDiscriminator?: boolean): any;
|