blanche-client-sdk 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +40 -0
- package/README.md +39 -9
- package/dist/apis/RecordsApi.d.ts +65 -0
- package/dist/apis/RecordsApi.js +272 -0
- package/dist/apis/TemplatesApi.d.ts +63 -0
- package/dist/apis/TemplatesApi.js +265 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/ApiV1RecordsGet200Response.d.ts +51 -0
- package/dist/models/ApiV1RecordsGet200Response.js +64 -0
- package/dist/models/ApiV1RecordsGet200ResponseRecordsInner.d.ts +56 -0
- package/dist/models/ApiV1RecordsGet200ResponseRecordsInner.js +67 -0
- package/dist/models/ApiV1RecordsIdDelete200Response.d.ts +32 -0
- package/dist/models/ApiV1RecordsIdDelete200Response.js +51 -0
- package/dist/models/ApiV1RecordsIdGet200Response.d.ts +62 -0
- package/dist/models/ApiV1RecordsIdGet200Response.js +71 -0
- package/dist/models/ApiV1RecordsIdPatch200Response.d.ts +50 -0
- package/dist/models/ApiV1RecordsIdPatch200Response.js +63 -0
- package/dist/models/ApiV1RecordsIdPatch422Response.d.ts +32 -0
- package/dist/models/ApiV1RecordsIdPatch422Response.js +51 -0
- package/dist/models/ApiV1RecordsIdPatchRequest.d.ts +32 -0
- package/dist/models/ApiV1RecordsIdPatchRequest.js +51 -0
- package/dist/models/ApiV1TemplatesGet200Response.d.ts +39 -0
- package/dist/models/ApiV1TemplatesGet200Response.js +56 -0
- package/dist/models/ApiV1TemplatesGet200ResponseTemplatesInner.d.ts +93 -0
- package/dist/models/ApiV1TemplatesGet200ResponseTemplatesInner.js +74 -0
- package/dist/models/ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema.d.ts +38 -0
- package/dist/models/ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema.js +51 -0
- package/dist/models/ApiV1TemplatesIdGet200Response.d.ts +69 -0
- package/dist/models/ApiV1TemplatesIdGet200Response.js +76 -0
- package/dist/models/ApiV1TemplatesIdGet200ResponseSchemasInner.d.ts +62 -0
- package/dist/models/ApiV1TemplatesIdGet200ResponseSchemasInner.js +69 -0
- package/dist/models/ApiV1TemplatesIdGet404Response.d.ts +32 -0
- package/dist/models/ApiV1TemplatesIdGet404Response.js +51 -0
- package/dist/models/ApiV1TemplatesIdPatchRequest.d.ts +33 -0
- package/dist/models/ApiV1TemplatesIdPatchRequest.js +52 -0
- package/dist/models/ApiV1TemplatesIdPatchRequestTemplate.d.ts +38 -0
- package/dist/models/ApiV1TemplatesIdPatchRequestTemplate.js +51 -0
- package/dist/models/ApiV1TemplatesPost201Response.d.ts +44 -0
- package/dist/models/ApiV1TemplatesPost201Response.js +59 -0
- package/dist/models/ApiV1TemplatesPostRequest.d.ts +33 -0
- package/dist/models/ApiV1TemplatesPostRequest.js +52 -0
- package/dist/models/ApiV1TemplatesPostRequestTemplate.d.ts +38 -0
- package/dist/models/ApiV1TemplatesPostRequestTemplate.js +53 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +18 -0
- package/docs/ApiV1RecordsGet200Response.md +40 -0
- package/docs/ApiV1RecordsGet200ResponseRecordsInner.md +42 -0
- package/docs/ApiV1RecordsIdDelete200Response.md +34 -0
- package/docs/ApiV1RecordsIdGet200Response.md +44 -0
- package/docs/ApiV1RecordsIdPatch200Response.md +40 -0
- package/docs/ApiV1RecordsIdPatch422Response.md +34 -0
- package/docs/ApiV1RecordsIdPatchRequest.md +34 -0
- package/docs/ApiV1TemplatesGet200Response.md +36 -0
- package/docs/ApiV1TemplatesGet200ResponseTemplatesInner.md +54 -0
- package/docs/ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema.md +36 -0
- package/docs/ApiV1TemplatesIdGet200Response.md +46 -0
- package/docs/ApiV1TemplatesIdGet200ResponseSchemasInner.md +44 -0
- package/docs/ApiV1TemplatesIdGet404Response.md +34 -0
- package/docs/ApiV1TemplatesIdPatchRequest.md +34 -0
- package/docs/ApiV1TemplatesIdPatchRequestTemplate.md +36 -0
- package/docs/ApiV1TemplatesPost201Response.md +38 -0
- package/docs/ApiV1TemplatesPostRequest.md +34 -0
- package/docs/ApiV1TemplatesPostRequestTemplate.md +36 -0
- package/docs/RecordsApi.md +282 -0
- package/docs/TemplatesApi.md +279 -0
- package/package.json +1 -1
- package/src/apis/RecordsApi.ts +219 -0
- package/src/apis/TemplatesApi.ts +207 -0
- package/src/apis/index.ts +2 -0
- package/src/models/ApiV1RecordsGet200Response.ts +101 -0
- package/src/models/ApiV1RecordsGet200ResponseRecordsInner.ts +102 -0
- package/src/models/ApiV1RecordsIdDelete200Response.ts +66 -0
- package/src/models/ApiV1RecordsIdGet200Response.ts +111 -0
- package/src/models/ApiV1RecordsIdPatch200Response.ts +93 -0
- package/src/models/ApiV1RecordsIdPatch422Response.ts +66 -0
- package/src/models/ApiV1RecordsIdPatchRequest.ts +66 -0
- package/src/models/ApiV1TemplatesGet200Response.ts +83 -0
- package/src/models/ApiV1TemplatesGet200ResponseTemplatesInner.ts +155 -0
- package/src/models/ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema.ts +73 -0
- package/src/models/ApiV1TemplatesIdGet200Response.ts +128 -0
- package/src/models/ApiV1TemplatesIdGet200ResponseSchemasInner.ts +110 -0
- package/src/models/ApiV1TemplatesIdGet404Response.ts +66 -0
- package/src/models/ApiV1TemplatesIdPatchRequest.ts +74 -0
- package/src/models/ApiV1TemplatesIdPatchRequestTemplate.ts +73 -0
- package/src/models/ApiV1TemplatesPost201Response.ts +84 -0
- package/src/models/ApiV1TemplatesPostRequest.ts +74 -0
- package/src/models/ApiV1TemplatesPostRequestTemplate.ts +74 -0
- package/src/models/index.ts +18 -0
|
@@ -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.instanceOfApiV1TemplatesPost201Response = instanceOfApiV1TemplatesPost201Response;
|
|
17
|
+
exports.ApiV1TemplatesPost201ResponseFromJSON = ApiV1TemplatesPost201ResponseFromJSON;
|
|
18
|
+
exports.ApiV1TemplatesPost201ResponseFromJSONTyped = ApiV1TemplatesPost201ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiV1TemplatesPost201ResponseToJSON = ApiV1TemplatesPost201ResponseToJSON;
|
|
20
|
+
exports.ApiV1TemplatesPost201ResponseToJSONTyped = ApiV1TemplatesPost201ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiV1TemplatesPost201Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiV1TemplatesPost201Response(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function ApiV1TemplatesPost201ResponseFromJSON(json) {
|
|
34
|
+
return ApiV1TemplatesPost201ResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ApiV1TemplatesPost201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'message': json['message'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function ApiV1TemplatesPost201ResponseToJSON(json) {
|
|
47
|
+
return ApiV1TemplatesPost201ResponseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function ApiV1TemplatesPost201ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'message': value['message'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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 { ApiV1TemplatesPostRequestTemplate } from './ApiV1TemplatesPostRequestTemplate';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiV1TemplatesPostRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiV1TemplatesPostRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ApiV1TemplatesPostRequestTemplate}
|
|
22
|
+
* @memberof ApiV1TemplatesPostRequest
|
|
23
|
+
*/
|
|
24
|
+
template: ApiV1TemplatesPostRequestTemplate;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ApiV1TemplatesPostRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfApiV1TemplatesPostRequest(value: object): value is ApiV1TemplatesPostRequest;
|
|
30
|
+
export declare function ApiV1TemplatesPostRequestFromJSON(json: any): ApiV1TemplatesPostRequest;
|
|
31
|
+
export declare function ApiV1TemplatesPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1TemplatesPostRequest;
|
|
32
|
+
export declare function ApiV1TemplatesPostRequestToJSON(json: any): ApiV1TemplatesPostRequest;
|
|
33
|
+
export declare function ApiV1TemplatesPostRequestToJSONTyped(value?: ApiV1TemplatesPostRequest | 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.instanceOfApiV1TemplatesPostRequest = instanceOfApiV1TemplatesPostRequest;
|
|
17
|
+
exports.ApiV1TemplatesPostRequestFromJSON = ApiV1TemplatesPostRequestFromJSON;
|
|
18
|
+
exports.ApiV1TemplatesPostRequestFromJSONTyped = ApiV1TemplatesPostRequestFromJSONTyped;
|
|
19
|
+
exports.ApiV1TemplatesPostRequestToJSON = ApiV1TemplatesPostRequestToJSON;
|
|
20
|
+
exports.ApiV1TemplatesPostRequestToJSONTyped = ApiV1TemplatesPostRequestToJSONTyped;
|
|
21
|
+
var ApiV1TemplatesPostRequestTemplate_1 = require("./ApiV1TemplatesPostRequestTemplate");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApiV1TemplatesPostRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfApiV1TemplatesPostRequest(value) {
|
|
26
|
+
if (!('template' in value) || value['template'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ApiV1TemplatesPostRequestFromJSON(json) {
|
|
31
|
+
return ApiV1TemplatesPostRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ApiV1TemplatesPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'template': (0, ApiV1TemplatesPostRequestTemplate_1.ApiV1TemplatesPostRequestTemplateFromJSON)(json['template']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ApiV1TemplatesPostRequestToJSON(json) {
|
|
42
|
+
return ApiV1TemplatesPostRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ApiV1TemplatesPostRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'template': (0, ApiV1TemplatesPostRequestTemplate_1.ApiV1TemplatesPostRequestTemplateToJSON)(value['template']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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 ApiV1TemplatesPostRequestTemplate
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1TemplatesPostRequestTemplate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1TemplatesPostRequestTemplate
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof ApiV1TemplatesPostRequestTemplate
|
|
28
|
+
*/
|
|
29
|
+
visible?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiV1TemplatesPostRequestTemplate interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiV1TemplatesPostRequestTemplate(value: object): value is ApiV1TemplatesPostRequestTemplate;
|
|
35
|
+
export declare function ApiV1TemplatesPostRequestTemplateFromJSON(json: any): ApiV1TemplatesPostRequestTemplate;
|
|
36
|
+
export declare function ApiV1TemplatesPostRequestTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1TemplatesPostRequestTemplate;
|
|
37
|
+
export declare function ApiV1TemplatesPostRequestTemplateToJSON(json: any): ApiV1TemplatesPostRequestTemplate;
|
|
38
|
+
export declare function ApiV1TemplatesPostRequestTemplateToJSONTyped(value?: ApiV1TemplatesPostRequestTemplate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.instanceOfApiV1TemplatesPostRequestTemplate = instanceOfApiV1TemplatesPostRequestTemplate;
|
|
17
|
+
exports.ApiV1TemplatesPostRequestTemplateFromJSON = ApiV1TemplatesPostRequestTemplateFromJSON;
|
|
18
|
+
exports.ApiV1TemplatesPostRequestTemplateFromJSONTyped = ApiV1TemplatesPostRequestTemplateFromJSONTyped;
|
|
19
|
+
exports.ApiV1TemplatesPostRequestTemplateToJSON = ApiV1TemplatesPostRequestTemplateToJSON;
|
|
20
|
+
exports.ApiV1TemplatesPostRequestTemplateToJSONTyped = ApiV1TemplatesPostRequestTemplateToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiV1TemplatesPostRequestTemplate interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiV1TemplatesPostRequestTemplate(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ApiV1TemplatesPostRequestTemplateFromJSON(json) {
|
|
30
|
+
return ApiV1TemplatesPostRequestTemplateFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ApiV1TemplatesPostRequestTemplateFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'visible': json['visible'] == null ? undefined : json['visible'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ApiV1TemplatesPostRequestTemplateToJSON(json) {
|
|
42
|
+
return ApiV1TemplatesPostRequestTemplateToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ApiV1TemplatesPostRequestTemplateToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'name': value['name'],
|
|
51
|
+
'visible': value['visible'],
|
|
52
|
+
};
|
|
53
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
export * from './ApiV1ProfileGet200Response';
|
|
2
2
|
export * from './ApiV1ProfileGet401Response';
|
|
3
|
+
export * from './ApiV1RecordsGet200Response';
|
|
4
|
+
export * from './ApiV1RecordsGet200ResponseRecordsInner';
|
|
5
|
+
export * from './ApiV1RecordsIdDelete200Response';
|
|
6
|
+
export * from './ApiV1RecordsIdGet200Response';
|
|
7
|
+
export * from './ApiV1RecordsIdPatch200Response';
|
|
8
|
+
export * from './ApiV1RecordsIdPatch422Response';
|
|
9
|
+
export * from './ApiV1RecordsIdPatchRequest';
|
|
3
10
|
export * from './ApiV1SessionsPost200Response';
|
|
4
11
|
export * from './ApiV1SessionsPost401Response';
|
|
5
12
|
export * from './ApiV1SessionsPostRequest';
|
|
@@ -10,6 +17,17 @@ export * from './ApiV1TelegramLinksPost201Response';
|
|
|
10
17
|
export * from './ApiV1TelegramLinksTokenGet200Response';
|
|
11
18
|
export * from './ApiV1TelegramLinksTokenGet200ResponseTelegram';
|
|
12
19
|
export * from './ApiV1TelegramLinksTokenGet404Response';
|
|
20
|
+
export * from './ApiV1TemplatesGet200Response';
|
|
21
|
+
export * from './ApiV1TemplatesGet200ResponseTemplatesInner';
|
|
22
|
+
export * from './ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema';
|
|
23
|
+
export * from './ApiV1TemplatesIdGet200Response';
|
|
24
|
+
export * from './ApiV1TemplatesIdGet200ResponseSchemasInner';
|
|
25
|
+
export * from './ApiV1TemplatesIdGet404Response';
|
|
26
|
+
export * from './ApiV1TemplatesIdPatchRequest';
|
|
27
|
+
export * from './ApiV1TemplatesIdPatchRequestTemplate';
|
|
28
|
+
export * from './ApiV1TemplatesPost201Response';
|
|
29
|
+
export * from './ApiV1TemplatesPostRequest';
|
|
30
|
+
export * from './ApiV1TemplatesPostRequestTemplate';
|
|
13
31
|
export * from './ApiV1UsersIdPatch200Response';
|
|
14
32
|
export * from './ApiV1UsersIdPatch422Response';
|
|
15
33
|
export * from './ApiV1UsersIdPatchRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -18,6 +18,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./ApiV1ProfileGet200Response"), exports);
|
|
20
20
|
__exportStar(require("./ApiV1ProfileGet401Response"), exports);
|
|
21
|
+
__exportStar(require("./ApiV1RecordsGet200Response"), exports);
|
|
22
|
+
__exportStar(require("./ApiV1RecordsGet200ResponseRecordsInner"), exports);
|
|
23
|
+
__exportStar(require("./ApiV1RecordsIdDelete200Response"), exports);
|
|
24
|
+
__exportStar(require("./ApiV1RecordsIdGet200Response"), exports);
|
|
25
|
+
__exportStar(require("./ApiV1RecordsIdPatch200Response"), exports);
|
|
26
|
+
__exportStar(require("./ApiV1RecordsIdPatch422Response"), exports);
|
|
27
|
+
__exportStar(require("./ApiV1RecordsIdPatchRequest"), exports);
|
|
21
28
|
__exportStar(require("./ApiV1SessionsPost200Response"), exports);
|
|
22
29
|
__exportStar(require("./ApiV1SessionsPost401Response"), exports);
|
|
23
30
|
__exportStar(require("./ApiV1SessionsPostRequest"), exports);
|
|
@@ -28,6 +35,17 @@ __exportStar(require("./ApiV1TelegramLinksPost201Response"), exports);
|
|
|
28
35
|
__exportStar(require("./ApiV1TelegramLinksTokenGet200Response"), exports);
|
|
29
36
|
__exportStar(require("./ApiV1TelegramLinksTokenGet200ResponseTelegram"), exports);
|
|
30
37
|
__exportStar(require("./ApiV1TelegramLinksTokenGet404Response"), exports);
|
|
38
|
+
__exportStar(require("./ApiV1TemplatesGet200Response"), exports);
|
|
39
|
+
__exportStar(require("./ApiV1TemplatesGet200ResponseTemplatesInner"), exports);
|
|
40
|
+
__exportStar(require("./ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema"), exports);
|
|
41
|
+
__exportStar(require("./ApiV1TemplatesIdGet200Response"), exports);
|
|
42
|
+
__exportStar(require("./ApiV1TemplatesIdGet200ResponseSchemasInner"), exports);
|
|
43
|
+
__exportStar(require("./ApiV1TemplatesIdGet404Response"), exports);
|
|
44
|
+
__exportStar(require("./ApiV1TemplatesIdPatchRequest"), exports);
|
|
45
|
+
__exportStar(require("./ApiV1TemplatesIdPatchRequestTemplate"), exports);
|
|
46
|
+
__exportStar(require("./ApiV1TemplatesPost201Response"), exports);
|
|
47
|
+
__exportStar(require("./ApiV1TemplatesPostRequest"), exports);
|
|
48
|
+
__exportStar(require("./ApiV1TemplatesPostRequestTemplate"), exports);
|
|
31
49
|
__exportStar(require("./ApiV1UsersIdPatch200Response"), exports);
|
|
32
50
|
__exportStar(require("./ApiV1UsersIdPatch422Response"), exports);
|
|
33
51
|
__exportStar(require("./ApiV1UsersIdPatchRequest"), exports);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1RecordsGet200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`records` | [Array<ApiV1RecordsGet200ResponseRecordsInner>](ApiV1RecordsGet200ResponseRecordsInner.md)
|
|
10
|
+
`total` | number
|
|
11
|
+
`limit` | number
|
|
12
|
+
`offset` | number
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { ApiV1RecordsGet200Response } from 'blanche-client-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"records": null,
|
|
22
|
+
"total": null,
|
|
23
|
+
"limit": null,
|
|
24
|
+
"offset": null,
|
|
25
|
+
} satisfies ApiV1RecordsGet200Response
|
|
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 ApiV1RecordsGet200Response
|
|
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
|
+
# ApiV1RecordsGet200ResponseRecordsInner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`template` | string
|
|
11
|
+
`data` | object
|
|
12
|
+
`createdAt` | Date
|
|
13
|
+
`updatedAt` | Date
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { ApiV1RecordsGet200ResponseRecordsInner } from 'blanche-client-sdk'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"id": null,
|
|
23
|
+
"template": null,
|
|
24
|
+
"data": null,
|
|
25
|
+
"createdAt": null,
|
|
26
|
+
"updatedAt": null,
|
|
27
|
+
} satisfies ApiV1RecordsGet200ResponseRecordsInner
|
|
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 ApiV1RecordsGet200ResponseRecordsInner
|
|
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,34 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1RecordsIdDelete200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`message` | string
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ApiV1RecordsIdDelete200Response } from 'blanche-client-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"message": null,
|
|
19
|
+
} satisfies ApiV1RecordsIdDelete200Response
|
|
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 ApiV1RecordsIdDelete200Response
|
|
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,44 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1RecordsIdGet200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`template` | string
|
|
11
|
+
`data` | object
|
|
12
|
+
`schemaVersion` | number
|
|
13
|
+
`createdAt` | Date
|
|
14
|
+
`updatedAt` | Date
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { ApiV1RecordsIdGet200Response } from 'blanche-client-sdk'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"id": null,
|
|
24
|
+
"template": null,
|
|
25
|
+
"data": null,
|
|
26
|
+
"schemaVersion": null,
|
|
27
|
+
"createdAt": null,
|
|
28
|
+
"updatedAt": null,
|
|
29
|
+
} satisfies ApiV1RecordsIdGet200Response
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1RecordsIdGet200Response
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1RecordsIdPatch200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`template` | string
|
|
11
|
+
`data` | object
|
|
12
|
+
`updatedAt` | Date
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { ApiV1RecordsIdPatch200Response } from 'blanche-client-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"template": null,
|
|
23
|
+
"data": null,
|
|
24
|
+
"updatedAt": null,
|
|
25
|
+
} satisfies ApiV1RecordsIdPatch200Response
|
|
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 ApiV1RecordsIdPatch200Response
|
|
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
|
+
# ApiV1RecordsIdPatch422Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`errors` | Array<string>
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ApiV1RecordsIdPatch422Response } from 'blanche-client-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"errors": null,
|
|
19
|
+
} satisfies ApiV1RecordsIdPatch422Response
|
|
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 ApiV1RecordsIdPatch422Response
|
|
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,34 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1RecordsIdPatchRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | object
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ApiV1RecordsIdPatchRequest } from 'blanche-client-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies ApiV1RecordsIdPatchRequest
|
|
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 ApiV1RecordsIdPatchRequest
|
|
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,36 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1TemplatesGet200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`templates` | [Array<ApiV1TemplatesGet200ResponseTemplatesInner>](ApiV1TemplatesGet200ResponseTemplatesInner.md)
|
|
10
|
+
`systemPrompt` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { ApiV1TemplatesGet200Response } from 'blanche-client-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"templates": null,
|
|
20
|
+
"systemPrompt": null,
|
|
21
|
+
} satisfies ApiV1TemplatesGet200Response
|
|
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 ApiV1TemplatesGet200Response
|
|
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,54 @@
|
|
|
1
|
+
|
|
2
|
+
# ApiV1TemplatesGet200ResponseTemplatesInner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`name` | string
|
|
11
|
+
`visible` | boolean
|
|
12
|
+
`system` | boolean
|
|
13
|
+
`hasActiveSchema` | boolean
|
|
14
|
+
`schemasCount` | number
|
|
15
|
+
`activeSchema` | [ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema](ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema.md)
|
|
16
|
+
`createdAt` | Date
|
|
17
|
+
`updatedAt` | Date
|
|
18
|
+
`schema` | object
|
|
19
|
+
`prompt` | string
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import type { ApiV1TemplatesGet200ResponseTemplatesInner } from 'blanche-client-sdk'
|
|
25
|
+
|
|
26
|
+
// TODO: Update the object below with actual values
|
|
27
|
+
const example = {
|
|
28
|
+
"id": null,
|
|
29
|
+
"name": null,
|
|
30
|
+
"visible": null,
|
|
31
|
+
"system": null,
|
|
32
|
+
"hasActiveSchema": null,
|
|
33
|
+
"schemasCount": null,
|
|
34
|
+
"activeSchema": null,
|
|
35
|
+
"createdAt": null,
|
|
36
|
+
"updatedAt": null,
|
|
37
|
+
"schema": null,
|
|
38
|
+
"prompt": null,
|
|
39
|
+
} satisfies ApiV1TemplatesGet200ResponseTemplatesInner
|
|
40
|
+
|
|
41
|
+
console.log(example)
|
|
42
|
+
|
|
43
|
+
// Convert the instance to a JSON string
|
|
44
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
45
|
+
console.log(exampleJSON)
|
|
46
|
+
|
|
47
|
+
// Parse the JSON string back to an object
|
|
48
|
+
const exampleParsed = JSON.parse(exampleJSON) as ApiV1TemplatesGet200ResponseTemplatesInner
|
|
49
|
+
console.log(exampleParsed)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
53
|
+
|
|
54
|
+
|