@breign/client 1.0.129 → 1.0.131
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/dist/apis/AdminApi.d.ts +103 -0
- package/dist/apis/AdminApi.js +267 -0
- package/dist/apis/AiGatewayApi.d.ts +26 -1
- package/dist/apis/AiGatewayApi.js +47 -1
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AiGatewayUsageBreakdownItemUio.d.ts +62 -0
- package/dist/models/AiGatewayUsageBreakdownItemUio.js +70 -0
- package/dist/models/AiGatewayUsagePointUio.d.ts +56 -0
- package/dist/models/AiGatewayUsagePointUio.js +66 -0
- package/dist/models/AiGatewayUsageTotalUio.d.ts +62 -0
- package/dist/models/AiGatewayUsageTotalUio.js +70 -0
- package/dist/models/AiGatewayUsageUio.d.ts +59 -0
- package/dist/models/AiGatewayUsageUio.js +69 -0
- package/dist/models/ToolPresetCreateRequestUio.d.ts +118 -0
- package/dist/models/ToolPresetCreateRequestUio.js +86 -0
- package/dist/models/ToolPresetDeleteAllResponseUio.d.ts +32 -0
- package/dist/models/ToolPresetDeleteAllResponseUio.js +50 -0
- package/dist/models/ToolPresetImportItemUio.d.ts +136 -0
- package/dist/models/ToolPresetImportItemUio.js +92 -0
- package/dist/models/ToolPresetImportRequestUio.d.ts +33 -0
- package/dist/models/ToolPresetImportRequestUio.js +51 -0
- package/dist/models/ToolPresetImportResponseUio.d.ts +38 -0
- package/dist/models/ToolPresetImportResponseUio.js +54 -0
- package/dist/models/ToolPresetOAuthRegistrationUio.d.ts +26 -0
- package/dist/models/ToolPresetOAuthRegistrationUio.js +52 -0
- package/dist/models/ToolPresetPageUio.d.ts +63 -0
- package/dist/models/ToolPresetPageUio.js +71 -0
- package/dist/models/ToolPresetTransportUio.d.ts +25 -0
- package/dist/models/ToolPresetTransportUio.js +51 -0
- package/dist/models/ToolPresetUio.d.ts +136 -0
- package/dist/models/ToolPresetUio.js +112 -0
- package/dist/models/ToolPresetUpdateRequestUio.d.ts +118 -0
- package/dist/models/ToolPresetUpdateRequestUio.js +78 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/openapi.json +1771 -965
- package/package.json +1 -1
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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 { ToolPresetTransportUio } from './ToolPresetTransportUio';
|
|
13
|
+
import type { ToolPresetOAuthRegistrationUio } from './ToolPresetOAuthRegistrationUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ToolPresetImportItemUio
|
|
18
|
+
*/
|
|
19
|
+
export interface ToolPresetImportItemUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ToolPresetImportItemUio
|
|
24
|
+
*/
|
|
25
|
+
id?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ToolPresetImportItemUio
|
|
30
|
+
*/
|
|
31
|
+
createdAt?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ToolPresetImportItemUio
|
|
36
|
+
*/
|
|
37
|
+
updatedAt?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ToolPresetImportItemUio
|
|
42
|
+
*/
|
|
43
|
+
slug: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ToolPresetImportItemUio
|
|
48
|
+
*/
|
|
49
|
+
name: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ToolPresetImportItemUio
|
|
54
|
+
*/
|
|
55
|
+
descriptionEn?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ToolPresetImportItemUio
|
|
60
|
+
*/
|
|
61
|
+
descriptionFr?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ToolPresetImportItemUio
|
|
66
|
+
*/
|
|
67
|
+
url: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof ToolPresetImportItemUio
|
|
72
|
+
*/
|
|
73
|
+
logoUrl?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {ToolPresetTransportUio}
|
|
77
|
+
* @memberof ToolPresetImportItemUio
|
|
78
|
+
*/
|
|
79
|
+
transport?: ToolPresetTransportUio;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Array<string>}
|
|
83
|
+
* @memberof ToolPresetImportItemUio
|
|
84
|
+
*/
|
|
85
|
+
authMethods?: Array<string>;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {ToolPresetOAuthRegistrationUio}
|
|
89
|
+
* @memberof ToolPresetImportItemUio
|
|
90
|
+
*/
|
|
91
|
+
oauthRegistration?: ToolPresetOAuthRegistrationUio | null;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof ToolPresetImportItemUio
|
|
96
|
+
*/
|
|
97
|
+
category: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof ToolPresetImportItemUio
|
|
102
|
+
*/
|
|
103
|
+
categoryLabelEn?: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof ToolPresetImportItemUio
|
|
108
|
+
*/
|
|
109
|
+
categoryLabelFr?: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof ToolPresetImportItemUio
|
|
114
|
+
*/
|
|
115
|
+
categoryDescriptionEn?: string;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof ToolPresetImportItemUio
|
|
120
|
+
*/
|
|
121
|
+
categoryDescriptionFr?: string;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {boolean}
|
|
125
|
+
* @memberof ToolPresetImportItemUio
|
|
126
|
+
*/
|
|
127
|
+
isActive?: boolean;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Check if a given object implements the ToolPresetImportItemUio interface.
|
|
131
|
+
*/
|
|
132
|
+
export declare function instanceOfToolPresetImportItemUio(value: object): value is ToolPresetImportItemUio;
|
|
133
|
+
export declare function ToolPresetImportItemUioFromJSON(json: any): ToolPresetImportItemUio;
|
|
134
|
+
export declare function ToolPresetImportItemUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolPresetImportItemUio;
|
|
135
|
+
export declare function ToolPresetImportItemUioToJSON(json: any): ToolPresetImportItemUio;
|
|
136
|
+
export declare function ToolPresetImportItemUioToJSONTyped(value?: ToolPresetImportItemUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.instanceOfToolPresetImportItemUio = instanceOfToolPresetImportItemUio;
|
|
17
|
+
exports.ToolPresetImportItemUioFromJSON = ToolPresetImportItemUioFromJSON;
|
|
18
|
+
exports.ToolPresetImportItemUioFromJSONTyped = ToolPresetImportItemUioFromJSONTyped;
|
|
19
|
+
exports.ToolPresetImportItemUioToJSON = ToolPresetImportItemUioToJSON;
|
|
20
|
+
exports.ToolPresetImportItemUioToJSONTyped = ToolPresetImportItemUioToJSONTyped;
|
|
21
|
+
const ToolPresetTransportUio_1 = require("./ToolPresetTransportUio");
|
|
22
|
+
const ToolPresetOAuthRegistrationUio_1 = require("./ToolPresetOAuthRegistrationUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ToolPresetImportItemUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfToolPresetImportItemUio(value) {
|
|
27
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function ToolPresetImportItemUioFromJSON(json) {
|
|
38
|
+
return ToolPresetImportItemUioFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function ToolPresetImportItemUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
46
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
47
|
+
'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
|
|
48
|
+
'slug': json['slug'],
|
|
49
|
+
'name': json['name'],
|
|
50
|
+
'descriptionEn': json['descriptionEn'] == null ? undefined : json['descriptionEn'],
|
|
51
|
+
'descriptionFr': json['descriptionFr'] == null ? undefined : json['descriptionFr'],
|
|
52
|
+
'url': json['url'],
|
|
53
|
+
'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
|
|
54
|
+
'transport': json['transport'] == null ? undefined : (0, ToolPresetTransportUio_1.ToolPresetTransportUioFromJSON)(json['transport']),
|
|
55
|
+
'authMethods': json['authMethods'] == null ? undefined : json['authMethods'],
|
|
56
|
+
'oauthRegistration': json['oauthRegistration'] == null ? undefined : (0, ToolPresetOAuthRegistrationUio_1.ToolPresetOAuthRegistrationUioFromJSON)(json['oauthRegistration']),
|
|
57
|
+
'category': json['category'],
|
|
58
|
+
'categoryLabelEn': json['categoryLabelEn'] == null ? undefined : json['categoryLabelEn'],
|
|
59
|
+
'categoryLabelFr': json['categoryLabelFr'] == null ? undefined : json['categoryLabelFr'],
|
|
60
|
+
'categoryDescriptionEn': json['categoryDescriptionEn'] == null ? undefined : json['categoryDescriptionEn'],
|
|
61
|
+
'categoryDescriptionFr': json['categoryDescriptionFr'] == null ? undefined : json['categoryDescriptionFr'],
|
|
62
|
+
'isActive': json['isActive'] == null ? undefined : json['isActive'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function ToolPresetImportItemUioToJSON(json) {
|
|
66
|
+
return ToolPresetImportItemUioToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function ToolPresetImportItemUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'id': value['id'],
|
|
74
|
+
'createdAt': value['createdAt'],
|
|
75
|
+
'updatedAt': value['updatedAt'],
|
|
76
|
+
'slug': value['slug'],
|
|
77
|
+
'name': value['name'],
|
|
78
|
+
'descriptionEn': value['descriptionEn'],
|
|
79
|
+
'descriptionFr': value['descriptionFr'],
|
|
80
|
+
'url': value['url'],
|
|
81
|
+
'logoUrl': value['logoUrl'],
|
|
82
|
+
'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioToJSON)(value['transport']),
|
|
83
|
+
'authMethods': value['authMethods'],
|
|
84
|
+
'oauthRegistration': (0, ToolPresetOAuthRegistrationUio_1.ToolPresetOAuthRegistrationUioToJSON)(value['oauthRegistration']),
|
|
85
|
+
'category': value['category'],
|
|
86
|
+
'categoryLabelEn': value['categoryLabelEn'],
|
|
87
|
+
'categoryLabelFr': value['categoryLabelFr'],
|
|
88
|
+
'categoryDescriptionEn': value['categoryDescriptionEn'],
|
|
89
|
+
'categoryDescriptionFr': value['categoryDescriptionFr'],
|
|
90
|
+
'isActive': value['isActive'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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 { ToolPresetImportItemUio } from './ToolPresetImportItemUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ToolPresetImportRequestUio
|
|
17
|
+
*/
|
|
18
|
+
export interface ToolPresetImportRequestUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ToolPresetImportItemUio>}
|
|
22
|
+
* @memberof ToolPresetImportRequestUio
|
|
23
|
+
*/
|
|
24
|
+
presets: Array<ToolPresetImportItemUio>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ToolPresetImportRequestUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfToolPresetImportRequestUio(value: object): value is ToolPresetImportRequestUio;
|
|
30
|
+
export declare function ToolPresetImportRequestUioFromJSON(json: any): ToolPresetImportRequestUio;
|
|
31
|
+
export declare function ToolPresetImportRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolPresetImportRequestUio;
|
|
32
|
+
export declare function ToolPresetImportRequestUioToJSON(json: any): ToolPresetImportRequestUio;
|
|
33
|
+
export declare function ToolPresetImportRequestUioToJSONTyped(value?: ToolPresetImportRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.instanceOfToolPresetImportRequestUio = instanceOfToolPresetImportRequestUio;
|
|
17
|
+
exports.ToolPresetImportRequestUioFromJSON = ToolPresetImportRequestUioFromJSON;
|
|
18
|
+
exports.ToolPresetImportRequestUioFromJSONTyped = ToolPresetImportRequestUioFromJSONTyped;
|
|
19
|
+
exports.ToolPresetImportRequestUioToJSON = ToolPresetImportRequestUioToJSON;
|
|
20
|
+
exports.ToolPresetImportRequestUioToJSONTyped = ToolPresetImportRequestUioToJSONTyped;
|
|
21
|
+
const ToolPresetImportItemUio_1 = require("./ToolPresetImportItemUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ToolPresetImportRequestUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfToolPresetImportRequestUio(value) {
|
|
26
|
+
if (!('presets' in value) || value['presets'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ToolPresetImportRequestUioFromJSON(json) {
|
|
31
|
+
return ToolPresetImportRequestUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ToolPresetImportRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'presets': (json['presets'].map(ToolPresetImportItemUio_1.ToolPresetImportItemUioFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ToolPresetImportRequestUioToJSON(json) {
|
|
42
|
+
return ToolPresetImportRequestUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ToolPresetImportRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'presets': (value['presets'].map(ToolPresetImportItemUio_1.ToolPresetImportItemUioToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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 ToolPresetImportResponseUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ToolPresetImportResponseUio {
|
|
18
|
+
/**
|
|
19
|
+
* Number of presets added
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ToolPresetImportResponseUio
|
|
22
|
+
*/
|
|
23
|
+
created: number;
|
|
24
|
+
/**
|
|
25
|
+
* Number of existing presets replaced
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ToolPresetImportResponseUio
|
|
28
|
+
*/
|
|
29
|
+
updated: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ToolPresetImportResponseUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfToolPresetImportResponseUio(value: object): value is ToolPresetImportResponseUio;
|
|
35
|
+
export declare function ToolPresetImportResponseUioFromJSON(json: any): ToolPresetImportResponseUio;
|
|
36
|
+
export declare function ToolPresetImportResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolPresetImportResponseUio;
|
|
37
|
+
export declare function ToolPresetImportResponseUioToJSON(json: any): ToolPresetImportResponseUio;
|
|
38
|
+
export declare function ToolPresetImportResponseUioToJSONTyped(value?: ToolPresetImportResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.instanceOfToolPresetImportResponseUio = instanceOfToolPresetImportResponseUio;
|
|
17
|
+
exports.ToolPresetImportResponseUioFromJSON = ToolPresetImportResponseUioFromJSON;
|
|
18
|
+
exports.ToolPresetImportResponseUioFromJSONTyped = ToolPresetImportResponseUioFromJSONTyped;
|
|
19
|
+
exports.ToolPresetImportResponseUioToJSON = ToolPresetImportResponseUioToJSON;
|
|
20
|
+
exports.ToolPresetImportResponseUioToJSONTyped = ToolPresetImportResponseUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ToolPresetImportResponseUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfToolPresetImportResponseUio(value) {
|
|
25
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('updated' in value) || value['updated'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ToolPresetImportResponseUioFromJSON(json) {
|
|
32
|
+
return ToolPresetImportResponseUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ToolPresetImportResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'created': json['created'],
|
|
40
|
+
'updated': json['updated'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ToolPresetImportResponseUioToJSON(json) {
|
|
44
|
+
return ToolPresetImportResponseUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ToolPresetImportResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'created': value['created'],
|
|
52
|
+
'updated': value['updated'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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
|
+
*/
|
|
16
|
+
export declare const ToolPresetOAuthRegistrationUio: {
|
|
17
|
+
readonly Auto: "auto";
|
|
18
|
+
readonly ClientId: "client_id";
|
|
19
|
+
readonly ClientIdSecret: "client_id_secret";
|
|
20
|
+
};
|
|
21
|
+
export type ToolPresetOAuthRegistrationUio = typeof ToolPresetOAuthRegistrationUio[keyof typeof ToolPresetOAuthRegistrationUio];
|
|
22
|
+
export declare function instanceOfToolPresetOAuthRegistrationUio(value: any): boolean;
|
|
23
|
+
export declare function ToolPresetOAuthRegistrationUioFromJSON(json: any): ToolPresetOAuthRegistrationUio;
|
|
24
|
+
export declare function ToolPresetOAuthRegistrationUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolPresetOAuthRegistrationUio;
|
|
25
|
+
export declare function ToolPresetOAuthRegistrationUioToJSON(value?: ToolPresetOAuthRegistrationUio | null): any;
|
|
26
|
+
export declare function ToolPresetOAuthRegistrationUioToJSONTyped(value: any, ignoreDiscriminator: boolean): ToolPresetOAuthRegistrationUio;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.ToolPresetOAuthRegistrationUio = void 0;
|
|
17
|
+
exports.instanceOfToolPresetOAuthRegistrationUio = instanceOfToolPresetOAuthRegistrationUio;
|
|
18
|
+
exports.ToolPresetOAuthRegistrationUioFromJSON = ToolPresetOAuthRegistrationUioFromJSON;
|
|
19
|
+
exports.ToolPresetOAuthRegistrationUioFromJSONTyped = ToolPresetOAuthRegistrationUioFromJSONTyped;
|
|
20
|
+
exports.ToolPresetOAuthRegistrationUioToJSON = ToolPresetOAuthRegistrationUioToJSON;
|
|
21
|
+
exports.ToolPresetOAuthRegistrationUioToJSONTyped = ToolPresetOAuthRegistrationUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ToolPresetOAuthRegistrationUio = {
|
|
27
|
+
Auto: 'auto',
|
|
28
|
+
ClientId: 'client_id',
|
|
29
|
+
ClientIdSecret: 'client_id_secret'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfToolPresetOAuthRegistrationUio(value) {
|
|
32
|
+
for (const key in exports.ToolPresetOAuthRegistrationUio) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.ToolPresetOAuthRegistrationUio, key)) {
|
|
34
|
+
if (exports.ToolPresetOAuthRegistrationUio[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function ToolPresetOAuthRegistrationUioFromJSON(json) {
|
|
42
|
+
return ToolPresetOAuthRegistrationUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ToolPresetOAuthRegistrationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function ToolPresetOAuthRegistrationUioToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function ToolPresetOAuthRegistrationUioToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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 { ToolPresetUio } from './ToolPresetUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ToolPresetPageUio
|
|
17
|
+
*/
|
|
18
|
+
export interface ToolPresetPageUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ToolPresetUio>}
|
|
22
|
+
* @memberof ToolPresetPageUio
|
|
23
|
+
*/
|
|
24
|
+
data: Array<ToolPresetUio>;
|
|
25
|
+
/**
|
|
26
|
+
* Number of presets matching the filters
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ToolPresetPageUio
|
|
29
|
+
*/
|
|
30
|
+
total: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ToolPresetPageUio
|
|
35
|
+
*/
|
|
36
|
+
page: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ToolPresetPageUio
|
|
41
|
+
*/
|
|
42
|
+
limit: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof ToolPresetPageUio
|
|
47
|
+
*/
|
|
48
|
+
totalPages: number;
|
|
49
|
+
/**
|
|
50
|
+
* Every category of the library, regardless of the current filter
|
|
51
|
+
* @type {Array<string>}
|
|
52
|
+
* @memberof ToolPresetPageUio
|
|
53
|
+
*/
|
|
54
|
+
allCategories: Array<string>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ToolPresetPageUio interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfToolPresetPageUio(value: object): value is ToolPresetPageUio;
|
|
60
|
+
export declare function ToolPresetPageUioFromJSON(json: any): ToolPresetPageUio;
|
|
61
|
+
export declare function ToolPresetPageUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolPresetPageUio;
|
|
62
|
+
export declare function ToolPresetPageUioToJSON(json: any): ToolPresetPageUio;
|
|
63
|
+
export declare function ToolPresetPageUioToJSONTyped(value?: ToolPresetPageUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.instanceOfToolPresetPageUio = instanceOfToolPresetPageUio;
|
|
17
|
+
exports.ToolPresetPageUioFromJSON = ToolPresetPageUioFromJSON;
|
|
18
|
+
exports.ToolPresetPageUioFromJSONTyped = ToolPresetPageUioFromJSONTyped;
|
|
19
|
+
exports.ToolPresetPageUioToJSON = ToolPresetPageUioToJSON;
|
|
20
|
+
exports.ToolPresetPageUioToJSONTyped = ToolPresetPageUioToJSONTyped;
|
|
21
|
+
const ToolPresetUio_1 = require("./ToolPresetUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ToolPresetPageUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfToolPresetPageUio(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('page' in value) || value['page'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('limit' in value) || value['limit'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('allCategories' in value) || value['allCategories'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function ToolPresetPageUioFromJSON(json) {
|
|
41
|
+
return ToolPresetPageUioFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ToolPresetPageUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': (json['data'].map(ToolPresetUio_1.ToolPresetUioFromJSON)),
|
|
49
|
+
'total': json['total'],
|
|
50
|
+
'page': json['page'],
|
|
51
|
+
'limit': json['limit'],
|
|
52
|
+
'totalPages': json['totalPages'],
|
|
53
|
+
'allCategories': json['allCategories'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function ToolPresetPageUioToJSON(json) {
|
|
57
|
+
return ToolPresetPageUioToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function ToolPresetPageUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'data': (value['data'].map(ToolPresetUio_1.ToolPresetUioToJSON)),
|
|
65
|
+
'total': value['total'],
|
|
66
|
+
'page': value['page'],
|
|
67
|
+
'limit': value['limit'],
|
|
68
|
+
'totalPages': value['totalPages'],
|
|
69
|
+
'allCategories': value['allCategories'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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
|
+
*/
|
|
16
|
+
export declare const ToolPresetTransportUio: {
|
|
17
|
+
readonly Http: "http";
|
|
18
|
+
readonly Sse: "sse";
|
|
19
|
+
};
|
|
20
|
+
export type ToolPresetTransportUio = typeof ToolPresetTransportUio[keyof typeof ToolPresetTransportUio];
|
|
21
|
+
export declare function instanceOfToolPresetTransportUio(value: any): boolean;
|
|
22
|
+
export declare function ToolPresetTransportUioFromJSON(json: any): ToolPresetTransportUio;
|
|
23
|
+
export declare function ToolPresetTransportUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolPresetTransportUio;
|
|
24
|
+
export declare function ToolPresetTransportUioToJSON(value?: ToolPresetTransportUio | null): any;
|
|
25
|
+
export declare function ToolPresetTransportUioToJSONTyped(value: any, ignoreDiscriminator: boolean): ToolPresetTransportUio;
|