blanche-client-sdk 0.6.2 → 0.6.4
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 +6 -4
- package/README.md +6 -4
- package/dist/apis/ChatsApi.d.ts +17 -1
- package/dist/apis/ChatsApi.js +63 -0
- package/dist/models/ApiV1ChatsIdReportsPost410Response.d.ts +32 -0
- package/dist/models/ApiV1ChatsIdReportsPost410Response.js +51 -0
- package/dist/models/ApiV1ChatsIdRunsRunIdCancelPost200Response.d.ts +51 -0
- package/dist/models/ApiV1ChatsIdRunsRunIdCancelPost200Response.js +66 -0
- package/dist/models/ApiV1ChatsIdRunsRunIdCancelPost422Response.d.ts +32 -0
- package/dist/models/ApiV1ChatsIdRunsRunIdCancelPost422Response.js +51 -0
- package/dist/models/index.d.ts +3 -2
- package/dist/models/index.js +3 -2
- package/docs/{ApiV1ChatsIdReportsPost422Response.md → ApiV1ChatsIdReportsPost410Response.md} +6 -6
- package/docs/ApiV1ChatsIdRunsRunIdCancelPost200Response.md +38 -0
- package/docs/{ApiV1TemplatesIdGet404Response.md → ApiV1ChatsIdRunsRunIdCancelPost422Response.md} +6 -6
- package/docs/ChatsApi.md +71 -0
- package/package.json +1 -1
- package/src/apis/ChatsApi.ts +67 -3
- package/src/apis/RecordsApi.ts +3 -3
- package/src/apis/TemplatesApi.ts +6 -6
- package/src/models/ApiV1ChatsIdReportsPost410Response.ts +66 -0
- package/src/models/ApiV1ChatsIdRunsRunIdCancelPost200Response.ts +94 -0
- package/src/models/ApiV1ChatsIdRunsRunIdCancelPost422Response.ts +66 -0
- package/src/models/index.ts +3 -2
- package/dist/models/ApiV1ChatsIdReportsPost422Response.d.ts +0 -32
- package/dist/models/ApiV1ChatsIdReportsPost422Response.js +0 -51
- package/dist/models/ApiV1TemplatesIdGet404Response.d.ts +0 -32
- package/dist/models/ApiV1TemplatesIdGet404Response.js +0 -51
- package/src/models/ApiV1ChatsIdReportsPost422Response.ts +0 -66
- package/src/models/ApiV1TemplatesIdGet404Response.ts +0 -66
package/.openapi-generator/FILES
CHANGED
|
@@ -20,13 +20,15 @@ docs/ApiV1ChatsIdReadPostRequest.md
|
|
|
20
20
|
docs/ApiV1ChatsIdReportsPost200Response.md
|
|
21
21
|
docs/ApiV1ChatsIdReportsPost200ResponseRowsInner.md
|
|
22
22
|
docs/ApiV1ChatsIdReportsPost200ResponseSourceMetadata.md
|
|
23
|
-
docs/
|
|
23
|
+
docs/ApiV1ChatsIdReportsPost410Response.md
|
|
24
24
|
docs/ApiV1ChatsIdReportsPostRequest.md
|
|
25
25
|
docs/ApiV1ChatsIdReportsPostRequestPlanner.md
|
|
26
26
|
docs/ApiV1ChatsIdReportsPostRequestPlannerParams.md
|
|
27
27
|
docs/ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner.md
|
|
28
28
|
docs/ApiV1ChatsIdRunsRunIdArtifactsGet200Response.md
|
|
29
29
|
docs/ApiV1ChatsIdRunsRunIdArtifactsGet200ResponseArtifactsInner.md
|
|
30
|
+
docs/ApiV1ChatsIdRunsRunIdCancelPost200Response.md
|
|
31
|
+
docs/ApiV1ChatsIdRunsRunIdCancelPost422Response.md
|
|
30
32
|
docs/ApiV1ChatsIdRunsRunIdCitationsGet200Response.md
|
|
31
33
|
docs/ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner.md
|
|
32
34
|
docs/ApiV1ChatsIdRunsRunIdGet200Response.md
|
|
@@ -66,7 +68,6 @@ docs/ApiV1TemplatesGet200ResponseTemplatesInner.md
|
|
|
66
68
|
docs/ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema.md
|
|
67
69
|
docs/ApiV1TemplatesIdGet200Response.md
|
|
68
70
|
docs/ApiV1TemplatesIdGet200ResponseSchemasInner.md
|
|
69
|
-
docs/ApiV1TemplatesIdGet404Response.md
|
|
70
71
|
docs/ApiV1TemplatesIdPutRequest.md
|
|
71
72
|
docs/ApiV1TemplatesIdPutRequestTemplate.md
|
|
72
73
|
docs/ApiV1TemplatesPost201Response.md
|
|
@@ -122,13 +123,15 @@ src/models/ApiV1ChatsIdReadPostRequest.ts
|
|
|
122
123
|
src/models/ApiV1ChatsIdReportsPost200Response.ts
|
|
123
124
|
src/models/ApiV1ChatsIdReportsPost200ResponseRowsInner.ts
|
|
124
125
|
src/models/ApiV1ChatsIdReportsPost200ResponseSourceMetadata.ts
|
|
125
|
-
src/models/
|
|
126
|
+
src/models/ApiV1ChatsIdReportsPost410Response.ts
|
|
126
127
|
src/models/ApiV1ChatsIdReportsPostRequest.ts
|
|
127
128
|
src/models/ApiV1ChatsIdReportsPostRequestPlanner.ts
|
|
128
129
|
src/models/ApiV1ChatsIdReportsPostRequestPlannerParams.ts
|
|
129
130
|
src/models/ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner.ts
|
|
130
131
|
src/models/ApiV1ChatsIdRunsRunIdArtifactsGet200Response.ts
|
|
131
132
|
src/models/ApiV1ChatsIdRunsRunIdArtifactsGet200ResponseArtifactsInner.ts
|
|
133
|
+
src/models/ApiV1ChatsIdRunsRunIdCancelPost200Response.ts
|
|
134
|
+
src/models/ApiV1ChatsIdRunsRunIdCancelPost422Response.ts
|
|
132
135
|
src/models/ApiV1ChatsIdRunsRunIdCitationsGet200Response.ts
|
|
133
136
|
src/models/ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner.ts
|
|
134
137
|
src/models/ApiV1ChatsIdRunsRunIdGet200Response.ts
|
|
@@ -168,7 +171,6 @@ src/models/ApiV1TemplatesGet200ResponseTemplatesInner.ts
|
|
|
168
171
|
src/models/ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema.ts
|
|
169
172
|
src/models/ApiV1TemplatesIdGet200Response.ts
|
|
170
173
|
src/models/ApiV1TemplatesIdGet200ResponseSchemasInner.ts
|
|
171
|
-
src/models/ApiV1TemplatesIdGet404Response.ts
|
|
172
174
|
src/models/ApiV1TemplatesIdPutRequest.ts
|
|
173
175
|
src/models/ApiV1TemplatesIdPutRequestTemplate.ts
|
|
174
176
|
src/models/ApiV1TemplatesPost201Response.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# blanche-client-sdk@0.6.
|
|
1
|
+
# blanche-client-sdk@0.6.4
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -64,6 +64,7 @@ All URIs are relative to *http://localhost:3000*
|
|
|
64
64
|
*ChatsApi* | [**apiV1ChatsIdReadPost**](docs/ChatsApi.md#apiv1chatsidreadpostoperation) | **POST** /api/v1/chats/{id}/read | Mark chat as read
|
|
65
65
|
*ChatsApi* | [**apiV1ChatsIdReportsPost**](docs/ChatsApi.md#apiv1chatsidreportspostoperation) | **POST** /api/v1/chats/{id}/reports | Run deterministic SQL report tool
|
|
66
66
|
*ChatsApi* | [**apiV1ChatsIdRunsRunIdArtifactsGet**](docs/ChatsApi.md#apiv1chatsidrunsrunidartifactsget) | **GET** /api/v1/chats/{id}/runs/{run_id}/artifacts | List artifacts for chat run
|
|
67
|
+
*ChatsApi* | [**apiV1ChatsIdRunsRunIdCancelPost**](docs/ChatsApi.md#apiv1chatsidrunsrunidcancelpost) | **POST** /api/v1/chats/{id}/runs/{run_id}/cancel | Cancel chat run
|
|
67
68
|
*ChatsApi* | [**apiV1ChatsIdRunsRunIdCitationsGet**](docs/ChatsApi.md#apiv1chatsidrunsrunidcitationsget) | **GET** /api/v1/chats/{id}/runs/{run_id}/citations | Get run citations
|
|
68
69
|
*ChatsApi* | [**apiV1ChatsIdRunsRunIdGet**](docs/ChatsApi.md#apiv1chatsidrunsrunidget) | **GET** /api/v1/chats/{id}/runs/{run_id} | Get chat run status
|
|
69
70
|
*ChatsApi* | [**apiV1ChatsIdRunsRunIdRetryPost**](docs/ChatsApi.md#apiv1chatsidrunsrunidretrypost) | **POST** /api/v1/chats/{id}/runs/{run_id}/retry | Retry chat run
|
|
@@ -122,13 +123,15 @@ All URIs are relative to *http://localhost:3000*
|
|
|
122
123
|
- [ApiV1ChatsIdReportsPost200Response](docs/ApiV1ChatsIdReportsPost200Response.md)
|
|
123
124
|
- [ApiV1ChatsIdReportsPost200ResponseRowsInner](docs/ApiV1ChatsIdReportsPost200ResponseRowsInner.md)
|
|
124
125
|
- [ApiV1ChatsIdReportsPost200ResponseSourceMetadata](docs/ApiV1ChatsIdReportsPost200ResponseSourceMetadata.md)
|
|
125
|
-
- [
|
|
126
|
+
- [ApiV1ChatsIdReportsPost410Response](docs/ApiV1ChatsIdReportsPost410Response.md)
|
|
126
127
|
- [ApiV1ChatsIdReportsPostRequest](docs/ApiV1ChatsIdReportsPostRequest.md)
|
|
127
128
|
- [ApiV1ChatsIdReportsPostRequestPlanner](docs/ApiV1ChatsIdReportsPostRequestPlanner.md)
|
|
128
129
|
- [ApiV1ChatsIdReportsPostRequestPlannerParams](docs/ApiV1ChatsIdReportsPostRequestPlannerParams.md)
|
|
129
130
|
- [ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner](docs/ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner.md)
|
|
130
131
|
- [ApiV1ChatsIdRunsRunIdArtifactsGet200Response](docs/ApiV1ChatsIdRunsRunIdArtifactsGet200Response.md)
|
|
131
132
|
- [ApiV1ChatsIdRunsRunIdArtifactsGet200ResponseArtifactsInner](docs/ApiV1ChatsIdRunsRunIdArtifactsGet200ResponseArtifactsInner.md)
|
|
133
|
+
- [ApiV1ChatsIdRunsRunIdCancelPost200Response](docs/ApiV1ChatsIdRunsRunIdCancelPost200Response.md)
|
|
134
|
+
- [ApiV1ChatsIdRunsRunIdCancelPost422Response](docs/ApiV1ChatsIdRunsRunIdCancelPost422Response.md)
|
|
132
135
|
- [ApiV1ChatsIdRunsRunIdCitationsGet200Response](docs/ApiV1ChatsIdRunsRunIdCitationsGet200Response.md)
|
|
133
136
|
- [ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner](docs/ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner.md)
|
|
134
137
|
- [ApiV1ChatsIdRunsRunIdGet200Response](docs/ApiV1ChatsIdRunsRunIdGet200Response.md)
|
|
@@ -168,7 +171,6 @@ All URIs are relative to *http://localhost:3000*
|
|
|
168
171
|
- [ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema](docs/ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema.md)
|
|
169
172
|
- [ApiV1TemplatesIdGet200Response](docs/ApiV1TemplatesIdGet200Response.md)
|
|
170
173
|
- [ApiV1TemplatesIdGet200ResponseSchemasInner](docs/ApiV1TemplatesIdGet200ResponseSchemasInner.md)
|
|
171
|
-
- [ApiV1TemplatesIdGet404Response](docs/ApiV1TemplatesIdGet404Response.md)
|
|
172
174
|
- [ApiV1TemplatesIdPutRequest](docs/ApiV1TemplatesIdPutRequest.md)
|
|
173
175
|
- [ApiV1TemplatesIdPutRequestTemplate](docs/ApiV1TemplatesIdPutRequestTemplate.md)
|
|
174
176
|
- [ApiV1TemplatesPost201Response](docs/ApiV1TemplatesPost201Response.md)
|
|
@@ -202,7 +204,7 @@ and is automatically generated by the
|
|
|
202
204
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
203
205
|
|
|
204
206
|
- API version: `v1`
|
|
205
|
-
- Package version: `0.6.
|
|
207
|
+
- Package version: `0.6.4`
|
|
206
208
|
- Generator version: `7.20.0`
|
|
207
209
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
208
210
|
|
package/dist/apis/ChatsApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApiV1ChatsChatIdMessagesGet200Response, ApiV1ChatsChatIdMessagesPost201Response, ApiV1ChatsChatIdMessagesPostRequest, ApiV1ChatsChatIdMessagesSyncGet200Response, ApiV1ChatsGet200Response, ApiV1ChatsIdArtifactsGet200Response, ApiV1ChatsIdMessagesMessageIdAttachmentsGet200Response, ApiV1ChatsIdMessagesMessageIdAttachmentsPost201Response, ApiV1ChatsIdMessagesMessageIdAttachmentsPostRequest, ApiV1ChatsIdReadPost200Response, ApiV1ChatsIdReadPostRequest, ApiV1ChatsIdReportsPost200Response, ApiV1ChatsIdReportsPostRequest, ApiV1ChatsIdRunsRunIdArtifactsGet200Response, ApiV1ChatsIdRunsRunIdCitationsGet200Response, ApiV1ChatsIdRunsRunIdGet200Response, ApiV1ChatsIdRunsRunIdRetryPost201Response, ApiV1ChatsIdSavedReportsGet200Response, ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner, ApiV1ChatsIdSavedReportsPostRequest, ApiV1ChatsPlannerContractGet200Response, ApiV1ChatsPlannerPost200Response, ApiV1ChatsPlannerPostRequest, ApiV1ChatsPost201Response, ApiV1ChatsPostRequest, ApiV1ChatsRealtimeContractGet200Response, ApiV1ChatsSyncGet200Response } from '../models/index';
|
|
13
|
+
import type { ApiV1ChatsChatIdMessagesGet200Response, ApiV1ChatsChatIdMessagesPost201Response, ApiV1ChatsChatIdMessagesPostRequest, ApiV1ChatsChatIdMessagesSyncGet200Response, ApiV1ChatsGet200Response, ApiV1ChatsIdArtifactsGet200Response, ApiV1ChatsIdMessagesMessageIdAttachmentsGet200Response, ApiV1ChatsIdMessagesMessageIdAttachmentsPost201Response, ApiV1ChatsIdMessagesMessageIdAttachmentsPostRequest, ApiV1ChatsIdReadPost200Response, ApiV1ChatsIdReadPostRequest, ApiV1ChatsIdReportsPost200Response, ApiV1ChatsIdReportsPostRequest, ApiV1ChatsIdRunsRunIdArtifactsGet200Response, ApiV1ChatsIdRunsRunIdCancelPost200Response, ApiV1ChatsIdRunsRunIdCitationsGet200Response, ApiV1ChatsIdRunsRunIdGet200Response, ApiV1ChatsIdRunsRunIdRetryPost201Response, ApiV1ChatsIdSavedReportsGet200Response, ApiV1ChatsIdSavedReportsGet200ResponseSavedReportsInner, ApiV1ChatsIdSavedReportsPostRequest, ApiV1ChatsPlannerContractGet200Response, ApiV1ChatsPlannerPost200Response, ApiV1ChatsPlannerPostRequest, ApiV1ChatsPost201Response, ApiV1ChatsPostRequest, ApiV1ChatsRealtimeContractGet200Response, ApiV1ChatsSyncGet200Response } from '../models/index';
|
|
14
14
|
export interface ApiV1ChatsChatIdMessagesGetRequest {
|
|
15
15
|
chatId: string;
|
|
16
16
|
limit?: number;
|
|
@@ -53,6 +53,10 @@ export interface ApiV1ChatsIdRunsRunIdArtifactsGetRequest {
|
|
|
53
53
|
id: string;
|
|
54
54
|
runId: string;
|
|
55
55
|
}
|
|
56
|
+
export interface ApiV1ChatsIdRunsRunIdCancelPostRequest {
|
|
57
|
+
id: string;
|
|
58
|
+
runId: string;
|
|
59
|
+
}
|
|
56
60
|
export interface ApiV1ChatsIdRunsRunIdCitationsGetRequest {
|
|
57
61
|
id: string;
|
|
58
62
|
runId: string;
|
|
@@ -206,6 +210,18 @@ export declare class ChatsApi extends runtime.BaseAPI {
|
|
|
206
210
|
* List artifacts for chat run
|
|
207
211
|
*/
|
|
208
212
|
apiV1ChatsIdRunsRunIdArtifactsGet(requestParameters: ApiV1ChatsIdRunsRunIdArtifactsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1ChatsIdRunsRunIdArtifactsGet200Response>;
|
|
213
|
+
/**
|
|
214
|
+
* Creates request options for apiV1ChatsIdRunsRunIdCancelPost without sending the request
|
|
215
|
+
*/
|
|
216
|
+
apiV1ChatsIdRunsRunIdCancelPostRequestOpts(requestParameters: ApiV1ChatsIdRunsRunIdCancelPostRequest): Promise<runtime.RequestOpts>;
|
|
217
|
+
/**
|
|
218
|
+
* Cancel chat run
|
|
219
|
+
*/
|
|
220
|
+
apiV1ChatsIdRunsRunIdCancelPostRaw(requestParameters: ApiV1ChatsIdRunsRunIdCancelPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1ChatsIdRunsRunIdCancelPost200Response>>;
|
|
221
|
+
/**
|
|
222
|
+
* Cancel chat run
|
|
223
|
+
*/
|
|
224
|
+
apiV1ChatsIdRunsRunIdCancelPost(requestParameters: ApiV1ChatsIdRunsRunIdCancelPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1ChatsIdRunsRunIdCancelPost200Response>;
|
|
209
225
|
/**
|
|
210
226
|
* Creates request options for apiV1ChatsIdRunsRunIdCitationsGet without sending the request
|
|
211
227
|
*/
|
package/dist/apis/ChatsApi.js
CHANGED
|
@@ -700,6 +700,69 @@ var ChatsApi = /** @class */ (function (_super) {
|
|
|
700
700
|
});
|
|
701
701
|
});
|
|
702
702
|
};
|
|
703
|
+
/**
|
|
704
|
+
* Creates request options for apiV1ChatsIdRunsRunIdCancelPost without sending the request
|
|
705
|
+
*/
|
|
706
|
+
ChatsApi.prototype.apiV1ChatsIdRunsRunIdCancelPostRequestOpts = function (requestParameters) {
|
|
707
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
708
|
+
var queryParameters, headerParameters, urlPath;
|
|
709
|
+
return __generator(this, function (_a) {
|
|
710
|
+
if (requestParameters['id'] == null) {
|
|
711
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiV1ChatsIdRunsRunIdCancelPost().');
|
|
712
|
+
}
|
|
713
|
+
if (requestParameters['runId'] == null) {
|
|
714
|
+
throw new runtime.RequiredError('runId', 'Required parameter "runId" was null or undefined when calling apiV1ChatsIdRunsRunIdCancelPost().');
|
|
715
|
+
}
|
|
716
|
+
queryParameters = {};
|
|
717
|
+
headerParameters = {};
|
|
718
|
+
urlPath = "/api/v1/chats/{id}/runs/{run_id}/cancel";
|
|
719
|
+
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
720
|
+
urlPath = urlPath.replace("{".concat("run_id", "}"), encodeURIComponent(String(requestParameters['runId'])));
|
|
721
|
+
return [2 /*return*/, {
|
|
722
|
+
path: urlPath,
|
|
723
|
+
method: 'POST',
|
|
724
|
+
headers: headerParameters,
|
|
725
|
+
query: queryParameters,
|
|
726
|
+
}];
|
|
727
|
+
});
|
|
728
|
+
});
|
|
729
|
+
};
|
|
730
|
+
/**
|
|
731
|
+
* Cancel chat run
|
|
732
|
+
*/
|
|
733
|
+
ChatsApi.prototype.apiV1ChatsIdRunsRunIdCancelPostRaw = function (requestParameters, initOverrides) {
|
|
734
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
735
|
+
var requestOptions, response;
|
|
736
|
+
return __generator(this, function (_a) {
|
|
737
|
+
switch (_a.label) {
|
|
738
|
+
case 0: return [4 /*yield*/, this.apiV1ChatsIdRunsRunIdCancelPostRequestOpts(requestParameters)];
|
|
739
|
+
case 1:
|
|
740
|
+
requestOptions = _a.sent();
|
|
741
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
742
|
+
case 2:
|
|
743
|
+
response = _a.sent();
|
|
744
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ApiV1ChatsIdRunsRunIdCancelPost200ResponseFromJSON)(jsonValue); })];
|
|
745
|
+
}
|
|
746
|
+
});
|
|
747
|
+
});
|
|
748
|
+
};
|
|
749
|
+
/**
|
|
750
|
+
* Cancel chat run
|
|
751
|
+
*/
|
|
752
|
+
ChatsApi.prototype.apiV1ChatsIdRunsRunIdCancelPost = function (requestParameters, initOverrides) {
|
|
753
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
754
|
+
var response;
|
|
755
|
+
return __generator(this, function (_a) {
|
|
756
|
+
switch (_a.label) {
|
|
757
|
+
case 0: return [4 /*yield*/, this.apiV1ChatsIdRunsRunIdCancelPostRaw(requestParameters, initOverrides)];
|
|
758
|
+
case 1:
|
|
759
|
+
response = _a.sent();
|
|
760
|
+
return [4 /*yield*/, response.value()];
|
|
761
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
762
|
+
}
|
|
763
|
+
});
|
|
764
|
+
});
|
|
765
|
+
};
|
|
703
766
|
/**
|
|
704
767
|
* Creates request options for apiV1ChatsIdRunsRunIdCitationsGet without sending the request
|
|
705
768
|
*/
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ApiV1ChatsIdReportsPost410Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1ChatsIdReportsPost410Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1ChatsIdReportsPost410Response
|
|
22
|
+
*/
|
|
23
|
+
error: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiV1ChatsIdReportsPost410Response interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiV1ChatsIdReportsPost410Response(value: object): value is ApiV1ChatsIdReportsPost410Response;
|
|
29
|
+
export declare function ApiV1ChatsIdReportsPost410ResponseFromJSON(json: any): ApiV1ChatsIdReportsPost410Response;
|
|
30
|
+
export declare function ApiV1ChatsIdReportsPost410ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1ChatsIdReportsPost410Response;
|
|
31
|
+
export declare function ApiV1ChatsIdReportsPost410ResponseToJSON(json: any): ApiV1ChatsIdReportsPost410Response;
|
|
32
|
+
export declare function ApiV1ChatsIdReportsPost410ResponseToJSONTyped(value?: ApiV1ChatsIdReportsPost410Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfApiV1ChatsIdReportsPost410Response = instanceOfApiV1ChatsIdReportsPost410Response;
|
|
17
|
+
exports.ApiV1ChatsIdReportsPost410ResponseFromJSON = ApiV1ChatsIdReportsPost410ResponseFromJSON;
|
|
18
|
+
exports.ApiV1ChatsIdReportsPost410ResponseFromJSONTyped = ApiV1ChatsIdReportsPost410ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiV1ChatsIdReportsPost410ResponseToJSON = ApiV1ChatsIdReportsPost410ResponseToJSON;
|
|
20
|
+
exports.ApiV1ChatsIdReportsPost410ResponseToJSONTyped = ApiV1ChatsIdReportsPost410ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiV1ChatsIdReportsPost410Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiV1ChatsIdReportsPost410Response(value) {
|
|
25
|
+
if (!('error' in value) || value['error'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ApiV1ChatsIdReportsPost410ResponseFromJSON(json) {
|
|
30
|
+
return ApiV1ChatsIdReportsPost410ResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ApiV1ChatsIdReportsPost410ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'error': json['error'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ApiV1ChatsIdReportsPost410ResponseToJSON(json) {
|
|
41
|
+
return ApiV1ChatsIdReportsPost410ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ApiV1ChatsIdReportsPost410ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'error': value['error'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 ApiV1ChatsIdRunsRunIdCancelPost200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1ChatsIdRunsRunIdCancelPost200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1ChatsIdRunsRunIdCancelPost200Response
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {ApiV1ChatsIdRunsRunIdCancelPost200ResponseStatusEnum}
|
|
27
|
+
* @memberof ApiV1ChatsIdRunsRunIdCancelPost200Response
|
|
28
|
+
*/
|
|
29
|
+
status: ApiV1ChatsIdRunsRunIdCancelPost200ResponseStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof ApiV1ChatsIdRunsRunIdCancelPost200Response
|
|
34
|
+
*/
|
|
35
|
+
metadata: object;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const ApiV1ChatsIdRunsRunIdCancelPost200ResponseStatusEnum: {
|
|
41
|
+
readonly Cancelled: "cancelled";
|
|
42
|
+
};
|
|
43
|
+
export type ApiV1ChatsIdRunsRunIdCancelPost200ResponseStatusEnum = typeof ApiV1ChatsIdRunsRunIdCancelPost200ResponseStatusEnum[keyof typeof ApiV1ChatsIdRunsRunIdCancelPost200ResponseStatusEnum];
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiV1ChatsIdRunsRunIdCancelPost200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiV1ChatsIdRunsRunIdCancelPost200Response(value: object): value is ApiV1ChatsIdRunsRunIdCancelPost200Response;
|
|
48
|
+
export declare function ApiV1ChatsIdRunsRunIdCancelPost200ResponseFromJSON(json: any): ApiV1ChatsIdRunsRunIdCancelPost200Response;
|
|
49
|
+
export declare function ApiV1ChatsIdRunsRunIdCancelPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1ChatsIdRunsRunIdCancelPost200Response;
|
|
50
|
+
export declare function ApiV1ChatsIdRunsRunIdCancelPost200ResponseToJSON(json: any): ApiV1ChatsIdRunsRunIdCancelPost200Response;
|
|
51
|
+
export declare function ApiV1ChatsIdRunsRunIdCancelPost200ResponseToJSONTyped(value?: ApiV1ChatsIdRunsRunIdCancelPost200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.ApiV1ChatsIdRunsRunIdCancelPost200ResponseStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfApiV1ChatsIdRunsRunIdCancelPost200Response = instanceOfApiV1ChatsIdRunsRunIdCancelPost200Response;
|
|
18
|
+
exports.ApiV1ChatsIdRunsRunIdCancelPost200ResponseFromJSON = ApiV1ChatsIdRunsRunIdCancelPost200ResponseFromJSON;
|
|
19
|
+
exports.ApiV1ChatsIdRunsRunIdCancelPost200ResponseFromJSONTyped = ApiV1ChatsIdRunsRunIdCancelPost200ResponseFromJSONTyped;
|
|
20
|
+
exports.ApiV1ChatsIdRunsRunIdCancelPost200ResponseToJSON = ApiV1ChatsIdRunsRunIdCancelPost200ResponseToJSON;
|
|
21
|
+
exports.ApiV1ChatsIdRunsRunIdCancelPost200ResponseToJSONTyped = ApiV1ChatsIdRunsRunIdCancelPost200ResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ApiV1ChatsIdRunsRunIdCancelPost200ResponseStatusEnum = {
|
|
26
|
+
Cancelled: 'cancelled'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the ApiV1ChatsIdRunsRunIdCancelPost200Response interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfApiV1ChatsIdRunsRunIdCancelPost200Response(value) {
|
|
32
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function ApiV1ChatsIdRunsRunIdCancelPost200ResponseFromJSON(json) {
|
|
41
|
+
return ApiV1ChatsIdRunsRunIdCancelPost200ResponseFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ApiV1ChatsIdRunsRunIdCancelPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': json['id'],
|
|
49
|
+
'status': json['status'],
|
|
50
|
+
'metadata': json['metadata'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function ApiV1ChatsIdRunsRunIdCancelPost200ResponseToJSON(json) {
|
|
54
|
+
return ApiV1ChatsIdRunsRunIdCancelPost200ResponseToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function ApiV1ChatsIdRunsRunIdCancelPost200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'id': value['id'],
|
|
63
|
+
'status': value['status'],
|
|
64
|
+
'metadata': value['metadata'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ApiV1ChatsIdRunsRunIdCancelPost422Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1ChatsIdRunsRunIdCancelPost422Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ApiV1ChatsIdRunsRunIdCancelPost422Response
|
|
22
|
+
*/
|
|
23
|
+
errors: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiV1ChatsIdRunsRunIdCancelPost422Response interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiV1ChatsIdRunsRunIdCancelPost422Response(value: object): value is ApiV1ChatsIdRunsRunIdCancelPost422Response;
|
|
29
|
+
export declare function ApiV1ChatsIdRunsRunIdCancelPost422ResponseFromJSON(json: any): ApiV1ChatsIdRunsRunIdCancelPost422Response;
|
|
30
|
+
export declare function ApiV1ChatsIdRunsRunIdCancelPost422ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1ChatsIdRunsRunIdCancelPost422Response;
|
|
31
|
+
export declare function ApiV1ChatsIdRunsRunIdCancelPost422ResponseToJSON(json: any): ApiV1ChatsIdRunsRunIdCancelPost422Response;
|
|
32
|
+
export declare function ApiV1ChatsIdRunsRunIdCancelPost422ResponseToJSONTyped(value?: ApiV1ChatsIdRunsRunIdCancelPost422Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfApiV1ChatsIdRunsRunIdCancelPost422Response = instanceOfApiV1ChatsIdRunsRunIdCancelPost422Response;
|
|
17
|
+
exports.ApiV1ChatsIdRunsRunIdCancelPost422ResponseFromJSON = ApiV1ChatsIdRunsRunIdCancelPost422ResponseFromJSON;
|
|
18
|
+
exports.ApiV1ChatsIdRunsRunIdCancelPost422ResponseFromJSONTyped = ApiV1ChatsIdRunsRunIdCancelPost422ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiV1ChatsIdRunsRunIdCancelPost422ResponseToJSON = ApiV1ChatsIdRunsRunIdCancelPost422ResponseToJSON;
|
|
20
|
+
exports.ApiV1ChatsIdRunsRunIdCancelPost422ResponseToJSONTyped = ApiV1ChatsIdRunsRunIdCancelPost422ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiV1ChatsIdRunsRunIdCancelPost422Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiV1ChatsIdRunsRunIdCancelPost422Response(value) {
|
|
25
|
+
if (!('errors' in value) || value['errors'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ApiV1ChatsIdRunsRunIdCancelPost422ResponseFromJSON(json) {
|
|
30
|
+
return ApiV1ChatsIdRunsRunIdCancelPost422ResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ApiV1ChatsIdRunsRunIdCancelPost422ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'errors': json['errors'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ApiV1ChatsIdRunsRunIdCancelPost422ResponseToJSON(json) {
|
|
41
|
+
return ApiV1ChatsIdRunsRunIdCancelPost422ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ApiV1ChatsIdRunsRunIdCancelPost422ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'errors': value['errors'],
|
|
50
|
+
};
|
|
51
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -16,13 +16,15 @@ export * from './ApiV1ChatsIdReadPostRequest';
|
|
|
16
16
|
export * from './ApiV1ChatsIdReportsPost200Response';
|
|
17
17
|
export * from './ApiV1ChatsIdReportsPost200ResponseRowsInner';
|
|
18
18
|
export * from './ApiV1ChatsIdReportsPost200ResponseSourceMetadata';
|
|
19
|
-
export * from './
|
|
19
|
+
export * from './ApiV1ChatsIdReportsPost410Response';
|
|
20
20
|
export * from './ApiV1ChatsIdReportsPostRequest';
|
|
21
21
|
export * from './ApiV1ChatsIdReportsPostRequestPlanner';
|
|
22
22
|
export * from './ApiV1ChatsIdReportsPostRequestPlannerParams';
|
|
23
23
|
export * from './ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner';
|
|
24
24
|
export * from './ApiV1ChatsIdRunsRunIdArtifactsGet200Response';
|
|
25
25
|
export * from './ApiV1ChatsIdRunsRunIdArtifactsGet200ResponseArtifactsInner';
|
|
26
|
+
export * from './ApiV1ChatsIdRunsRunIdCancelPost200Response';
|
|
27
|
+
export * from './ApiV1ChatsIdRunsRunIdCancelPost422Response';
|
|
26
28
|
export * from './ApiV1ChatsIdRunsRunIdCitationsGet200Response';
|
|
27
29
|
export * from './ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner';
|
|
28
30
|
export * from './ApiV1ChatsIdRunsRunIdGet200Response';
|
|
@@ -62,7 +64,6 @@ export * from './ApiV1TemplatesGet200ResponseTemplatesInner';
|
|
|
62
64
|
export * from './ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema';
|
|
63
65
|
export * from './ApiV1TemplatesIdGet200Response';
|
|
64
66
|
export * from './ApiV1TemplatesIdGet200ResponseSchemasInner';
|
|
65
|
-
export * from './ApiV1TemplatesIdGet404Response';
|
|
66
67
|
export * from './ApiV1TemplatesIdPutRequest';
|
|
67
68
|
export * from './ApiV1TemplatesIdPutRequestTemplate';
|
|
68
69
|
export * from './ApiV1TemplatesPost201Response';
|
package/dist/models/index.js
CHANGED
|
@@ -34,13 +34,15 @@ __exportStar(require("./ApiV1ChatsIdReadPostRequest"), exports);
|
|
|
34
34
|
__exportStar(require("./ApiV1ChatsIdReportsPost200Response"), exports);
|
|
35
35
|
__exportStar(require("./ApiV1ChatsIdReportsPost200ResponseRowsInner"), exports);
|
|
36
36
|
__exportStar(require("./ApiV1ChatsIdReportsPost200ResponseSourceMetadata"), exports);
|
|
37
|
-
__exportStar(require("./
|
|
37
|
+
__exportStar(require("./ApiV1ChatsIdReportsPost410Response"), exports);
|
|
38
38
|
__exportStar(require("./ApiV1ChatsIdReportsPostRequest"), exports);
|
|
39
39
|
__exportStar(require("./ApiV1ChatsIdReportsPostRequestPlanner"), exports);
|
|
40
40
|
__exportStar(require("./ApiV1ChatsIdReportsPostRequestPlannerParams"), exports);
|
|
41
41
|
__exportStar(require("./ApiV1ChatsIdReportsPostRequestPlannerParamsFiltersInner"), exports);
|
|
42
42
|
__exportStar(require("./ApiV1ChatsIdRunsRunIdArtifactsGet200Response"), exports);
|
|
43
43
|
__exportStar(require("./ApiV1ChatsIdRunsRunIdArtifactsGet200ResponseArtifactsInner"), exports);
|
|
44
|
+
__exportStar(require("./ApiV1ChatsIdRunsRunIdCancelPost200Response"), exports);
|
|
45
|
+
__exportStar(require("./ApiV1ChatsIdRunsRunIdCancelPost422Response"), exports);
|
|
44
46
|
__exportStar(require("./ApiV1ChatsIdRunsRunIdCitationsGet200Response"), exports);
|
|
45
47
|
__exportStar(require("./ApiV1ChatsIdRunsRunIdCitationsGet200ResponseCitationsInner"), exports);
|
|
46
48
|
__exportStar(require("./ApiV1ChatsIdRunsRunIdGet200Response"), exports);
|
|
@@ -80,7 +82,6 @@ __exportStar(require("./ApiV1TemplatesGet200ResponseTemplatesInner"), exports);
|
|
|
80
82
|
__exportStar(require("./ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema"), exports);
|
|
81
83
|
__exportStar(require("./ApiV1TemplatesIdGet200Response"), exports);
|
|
82
84
|
__exportStar(require("./ApiV1TemplatesIdGet200ResponseSchemasInner"), exports);
|
|
83
|
-
__exportStar(require("./ApiV1TemplatesIdGet404Response"), exports);
|
|
84
85
|
__exportStar(require("./ApiV1TemplatesIdPutRequest"), exports);
|
|
85
86
|
__exportStar(require("./ApiV1TemplatesIdPutRequestTemplate"), exports);
|
|
86
87
|
__exportStar(require("./ApiV1TemplatesPost201Response"), exports);
|
package/docs/{ApiV1ChatsIdReportsPost422Response.md → ApiV1ChatsIdReportsPost410Response.md}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# ApiV1ChatsIdReportsPost410Response
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`
|
|
9
|
+
`error` | string
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import type {
|
|
14
|
+
import type { ApiV1ChatsIdReportsPost410Response } from 'blanche-client-sdk'
|
|
15
15
|
|
|
16
16
|
// TODO: Update the object below with actual values
|
|
17
17
|
const example = {
|
|
18
|
-
"
|
|
19
|
-
} satisfies
|
|
18
|
+
"error": null,
|
|
19
|
+
} satisfies ApiV1ChatsIdReportsPost410Response
|
|
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 ApiV1ChatsIdReportsPost410Response
|
|
29
29
|
console.log(exampleParsed)
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1ChatsIdRunsRunIdCancelPost200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`status` | string
|
|
11
|
+
`metadata` | object
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { ApiV1ChatsIdRunsRunIdCancelPost200Response } from 'blanche-client-sdk'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"id": null,
|
|
21
|
+
"status": null,
|
|
22
|
+
"metadata": null,
|
|
23
|
+
} satisfies ApiV1ChatsIdRunsRunIdCancelPost200Response
|
|
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 ApiV1ChatsIdRunsRunIdCancelPost200Response
|
|
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
|
+
|