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,48 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdMessagesMessageIdAttachmentsGet200ResponseAttachmentsInner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`messageId` | string
|
|
11
|
+
`kind` | string
|
|
12
|
+
`fileUrl` | string
|
|
13
|
+
`mimeType` | string
|
|
14
|
+
`fileSize` | number
|
|
15
|
+
`metadata` | object
|
|
16
|
+
`createdAt` | Date
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import type { ApiV1ChatsIdMessagesMessageIdAttachmentsGet200ResponseAttachmentsInner } from 'blanche-client-sdk'
|
|
22
|
+
|
|
23
|
+
// TODO: Update the object below with actual values
|
|
24
|
+
const example = {
|
|
25
|
+
"id": null,
|
|
26
|
+
"messageId": null,
|
|
27
|
+
"kind": null,
|
|
28
|
+
"fileUrl": null,
|
|
29
|
+
"mimeType": null,
|
|
30
|
+
"fileSize": null,
|
|
31
|
+
"metadata": null,
|
|
32
|
+
"createdAt": null,
|
|
33
|
+
} satisfies ApiV1ChatsIdMessagesMessageIdAttachmentsGet200ResponseAttachmentsInner
|
|
34
|
+
|
|
35
|
+
console.log(example)
|
|
36
|
+
|
|
37
|
+
// Convert the instance to a JSON string
|
|
38
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
39
|
+
console.log(exampleJSON)
|
|
40
|
+
|
|
41
|
+
// Parse the JSON string back to an object
|
|
42
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdMessagesMessageIdAttachmentsGet200ResponseAttachmentsInner
|
|
43
|
+
console.log(exampleParsed)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
47
|
+
|
|
48
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdMessagesMessageIdAttachmentsPost201Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`messageId` | string
|
|
11
|
+
`kind` | string
|
|
12
|
+
`fileUrl` | string
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { ApiV1ChatsIdMessagesMessageIdAttachmentsPost201Response } from 'blanche-client-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"messageId": null,
|
|
23
|
+
"kind": null,
|
|
24
|
+
"fileUrl": null,
|
|
25
|
+
} satisfies ApiV1ChatsIdMessagesMessageIdAttachmentsPost201Response
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdMessagesMessageIdAttachmentsPost201Response
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdMessagesMessageIdAttachmentsPostRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`kind` | string
|
|
10
|
+
`fileUrl` | string
|
|
11
|
+
`mimeType` | string
|
|
12
|
+
`fileSize` | number
|
|
13
|
+
`metadata` | object
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { ApiV1ChatsIdMessagesMessageIdAttachmentsPostRequest } from 'blanche-client-sdk'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"kind": null,
|
|
23
|
+
"fileUrl": null,
|
|
24
|
+
"mimeType": null,
|
|
25
|
+
"fileSize": null,
|
|
26
|
+
"metadata": null,
|
|
27
|
+
} satisfies ApiV1ChatsIdMessagesMessageIdAttachmentsPostRequest
|
|
28
|
+
|
|
29
|
+
console.log(example)
|
|
30
|
+
|
|
31
|
+
// Convert the instance to a JSON string
|
|
32
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
+
console.log(exampleJSON)
|
|
34
|
+
|
|
35
|
+
// Parse the JSON string back to an object
|
|
36
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdMessagesMessageIdAttachmentsPostRequest
|
|
37
|
+
console.log(exampleParsed)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdReadPost200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`sessionId` | string
|
|
10
|
+
`userId` | string
|
|
11
|
+
`lastReadMessageId` | string
|
|
12
|
+
`lastReadAt` | Date
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { ApiV1ChatsIdReadPost200Response } from 'blanche-client-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"sessionId": null,
|
|
22
|
+
"userId": null,
|
|
23
|
+
"lastReadMessageId": null,
|
|
24
|
+
"lastReadAt": null,
|
|
25
|
+
} satisfies ApiV1ChatsIdReadPost200Response
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdReadPost200Response
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdReadPostRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`lastReadMessageId` | string
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ApiV1ChatsIdReadPostRequest } from 'blanche-client-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"lastReadMessageId": null,
|
|
19
|
+
} satisfies ApiV1ChatsIdReadPostRequest
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdReadPostRequest
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdReportsPost200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`tool` | string
|
|
10
|
+
`planner` | object
|
|
11
|
+
`retrievalStrategy` | string
|
|
12
|
+
`rows` | [Array<ApiV1ChatsIdReportsPost200ResponseRowsInner>](ApiV1ChatsIdReportsPost200ResponseRowsInner.md)
|
|
13
|
+
`sourceMetadata` | [ApiV1ChatsIdReportsPost200ResponseSourceMetadata](ApiV1ChatsIdReportsPost200ResponseSourceMetadata.md)
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { ApiV1ChatsIdReportsPost200Response } from 'blanche-client-sdk'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"tool": null,
|
|
23
|
+
"planner": null,
|
|
24
|
+
"retrievalStrategy": null,
|
|
25
|
+
"rows": null,
|
|
26
|
+
"sourceMetadata": null,
|
|
27
|
+
} satisfies ApiV1ChatsIdReportsPost200Response
|
|
28
|
+
|
|
29
|
+
console.log(example)
|
|
30
|
+
|
|
31
|
+
// Convert the instance to a JSON string
|
|
32
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
+
console.log(exampleJSON)
|
|
34
|
+
|
|
35
|
+
// Parse the JSON string back to an object
|
|
36
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdReportsPost200Response
|
|
37
|
+
console.log(exampleParsed)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdReportsPost200ResponseRowsInner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`bucket` | string
|
|
10
|
+
`calories` | number
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { ApiV1ChatsIdReportsPost200ResponseRowsInner } from 'blanche-client-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"bucket": null,
|
|
20
|
+
"calories": null,
|
|
21
|
+
} satisfies ApiV1ChatsIdReportsPost200ResponseRowsInner
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdReportsPost200ResponseRowsInner
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdReportsPost200ResponseSourceMetadata
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`templateId` | string
|
|
10
|
+
`templateName` | string
|
|
11
|
+
`schemaVersion` | number
|
|
12
|
+
`rowsCount` | number
|
|
13
|
+
`sqlFingerprint` | string
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { ApiV1ChatsIdReportsPost200ResponseSourceMetadata } from 'blanche-client-sdk'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"templateId": null,
|
|
23
|
+
"templateName": null,
|
|
24
|
+
"schemaVersion": null,
|
|
25
|
+
"rowsCount": null,
|
|
26
|
+
"sqlFingerprint": null,
|
|
27
|
+
} satisfies ApiV1ChatsIdReportsPost200ResponseSourceMetadata
|
|
28
|
+
|
|
29
|
+
console.log(example)
|
|
30
|
+
|
|
31
|
+
// Convert the instance to a JSON string
|
|
32
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
+
console.log(exampleJSON)
|
|
34
|
+
|
|
35
|
+
// Parse the JSON string back to an object
|
|
36
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdReportsPost200ResponseSourceMetadata
|
|
37
|
+
console.log(exampleParsed)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
+
|
|
42
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# ApiV1ChatsIdReportsPost422Response
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -11,12 +11,12 @@ Name | Type
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import type {
|
|
14
|
+
import type { ApiV1ChatsIdReportsPost422Response } from 'blanche-client-sdk'
|
|
15
15
|
|
|
16
16
|
// TODO: Update the object below with actual values
|
|
17
17
|
const example = {
|
|
18
18
|
"errors": null,
|
|
19
|
-
} satisfies
|
|
19
|
+
} satisfies ApiV1ChatsIdReportsPost422Response
|
|
20
20
|
|
|
21
21
|
console.log(example)
|
|
22
22
|
|
|
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
25
25
|
console.log(exampleJSON)
|
|
26
26
|
|
|
27
27
|
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdReportsPost422Response
|
|
29
29
|
console.log(exampleParsed)
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdReportsPostRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`planner` | [ApiV1ChatsIdReportsPostRequestPlanner](ApiV1ChatsIdReportsPostRequestPlanner.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ApiV1ChatsIdReportsPostRequest } from 'blanche-client-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"planner": null,
|
|
19
|
+
} satisfies ApiV1ChatsIdReportsPostRequest
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdReportsPostRequest
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdReportsPostRequestPlanner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`intent` | string
|
|
10
|
+
`tool` | string
|
|
11
|
+
`template` | string
|
|
12
|
+
`params` | [ApiV1ChatsIdReportsPostRequestPlannerParams](ApiV1ChatsIdReportsPostRequestPlannerParams.md)
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { ApiV1ChatsIdReportsPostRequestPlanner } from 'blanche-client-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"intent": null,
|
|
22
|
+
"tool": null,
|
|
23
|
+
"template": null,
|
|
24
|
+
"params": null,
|
|
25
|
+
} satisfies ApiV1ChatsIdReportsPostRequestPlanner
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdReportsPostRequestPlanner
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdReportsPostRequestPlannerParams
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`from` | Date
|
|
10
|
+
`to` | Date
|
|
11
|
+
`lastDays` | number
|
|
12
|
+
`interval` | string
|
|
13
|
+
`aggregation` | string
|
|
14
|
+
`metric` | string
|
|
15
|
+
`templates` | Array<string>
|
|
16
|
+
`metrics` | Array<string>
|
|
17
|
+
`filters` | [Array<ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner>](ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner.md)
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import type { ApiV1ChatsIdReportsPostRequestPlannerParams } from 'blanche-client-sdk'
|
|
23
|
+
|
|
24
|
+
// TODO: Update the object below with actual values
|
|
25
|
+
const example = {
|
|
26
|
+
"from": null,
|
|
27
|
+
"to": null,
|
|
28
|
+
"lastDays": null,
|
|
29
|
+
"interval": null,
|
|
30
|
+
"aggregation": null,
|
|
31
|
+
"metric": null,
|
|
32
|
+
"templates": null,
|
|
33
|
+
"metrics": null,
|
|
34
|
+
"filters": null,
|
|
35
|
+
} satisfies ApiV1ChatsIdReportsPostRequestPlannerParams
|
|
36
|
+
|
|
37
|
+
console.log(example)
|
|
38
|
+
|
|
39
|
+
// Convert the instance to a JSON string
|
|
40
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
41
|
+
console.log(exampleJSON)
|
|
42
|
+
|
|
43
|
+
// Parse the JSON string back to an object
|
|
44
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdReportsPostRequestPlannerParams
|
|
45
|
+
console.log(exampleParsed)
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
49
|
+
|
|
50
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`field` | string
|
|
10
|
+
`op` | string
|
|
11
|
+
`value` | any
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner } from 'blanche-client-sdk'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"field": null,
|
|
21
|
+
"op": null,
|
|
22
|
+
"value": null,
|
|
23
|
+
} satisfies ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdRunsRunIdCitationsGet200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`runId` | string
|
|
10
|
+
`citations` | [Array<ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner>](ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { ApiV1ChatsIdRunsRunIdCitationsGet200Response } from 'blanche-client-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"runId": null,
|
|
20
|
+
"citations": null,
|
|
21
|
+
} satisfies ApiV1ChatsIdRunsRunIdCitationsGet200Response
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdRunsRunIdCitationsGet200Response
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`toolName` | string
|
|
11
|
+
`rowsCount` | number
|
|
12
|
+
`sourceMetadata` | object
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner } from 'blanche-client-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"toolName": null,
|
|
23
|
+
"rowsCount": null,
|
|
24
|
+
"sourceMetadata": null,
|
|
25
|
+
} satisfies ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdRunsRunIdGet200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`sessionId` | string
|
|
11
|
+
`status` | string
|
|
12
|
+
`retrievalStrategy` | string
|
|
13
|
+
`requestUuid` | string
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { ApiV1ChatsIdRunsRunIdGet200Response } from 'blanche-client-sdk'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"id": null,
|
|
23
|
+
"sessionId": null,
|
|
24
|
+
"status": null,
|
|
25
|
+
"retrievalStrategy": null,
|
|
26
|
+
"requestUuid": null,
|
|
27
|
+
} satisfies ApiV1ChatsIdRunsRunIdGet200Response
|
|
28
|
+
|
|
29
|
+
console.log(example)
|
|
30
|
+
|
|
31
|
+
// Convert the instance to a JSON string
|
|
32
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
+
console.log(exampleJSON)
|
|
34
|
+
|
|
35
|
+
// Parse the JSON string back to an object
|
|
36
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdRunsRunIdGet200Response
|
|
37
|
+
console.log(exampleParsed)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdRunsRunIdRetryPost201Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`status` | string
|
|
11
|
+
`retrievalStrategy` | string
|
|
12
|
+
`metadata` | object
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { ApiV1ChatsIdRunsRunIdRetryPost201Response } from 'blanche-client-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"status": null,
|
|
23
|
+
"retrievalStrategy": null,
|
|
24
|
+
"metadata": null,
|
|
25
|
+
} satisfies ApiV1ChatsIdRunsRunIdRetryPost201Response
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdRunsRunIdRetryPost201Response
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|