@breign/client 1.0.128 → 1.0.130
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/ConversationsApi.d.ts +14 -1
- package/dist/apis/ConversationsApi.js +29 -0
- package/dist/apis/GuardiansApi.d.ts +15 -1
- package/dist/apis/GuardiansApi.js +34 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AnonymizationStatusUio.d.ts +27 -0
- package/dist/models/AnonymizationStatusUio.js +53 -0
- package/dist/models/AnonymizeRequestUio.d.ts +32 -0
- package/dist/models/AnonymizeRequestUio.js +50 -0
- package/dist/models/AnonymizeResponseUio.d.ts +32 -0
- package/dist/models/AnonymizeResponseUio.js +48 -0
- package/dist/models/ChatMessageUio.d.ts +6 -0
- package/dist/models/ChatMessageUio.js +2 -0
- package/dist/models/GuardianPutRequestUio.d.ts +13 -0
- package/dist/models/GuardianPutRequestUio.js +5 -0
- package/dist/models/GuardianRoleUio.d.ts +1 -1
- package/dist/models/GuardianRoleUio.js +1 -1
- package/dist/models/GuardianUio.d.ts +13 -0
- package/dist/models/GuardianUio.js +5 -0
- package/dist/models/MessageAnonymizationUio.d.ts +93 -0
- package/dist/models/MessageAnonymizationUio.js +85 -0
- package/dist/models/RegexPatternUio.d.ts +56 -0
- package/dist/models/RegexPatternUio.js +66 -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 +15 -0
- package/dist/models/index.js +15 -0
- package/dist/openapi.json +938 -109
- package/package.json +1 -1
|
@@ -0,0 +1,118 @@
|
|
|
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 ToolPresetCreateRequestUio
|
|
18
|
+
*/
|
|
19
|
+
export interface ToolPresetCreateRequestUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ToolPresetCreateRequestUio
|
|
24
|
+
*/
|
|
25
|
+
slug: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ToolPresetCreateRequestUio
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ToolPresetCreateRequestUio
|
|
36
|
+
*/
|
|
37
|
+
descriptionEn?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ToolPresetCreateRequestUio
|
|
42
|
+
*/
|
|
43
|
+
descriptionFr?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ToolPresetCreateRequestUio
|
|
48
|
+
*/
|
|
49
|
+
url: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ToolPresetCreateRequestUio
|
|
54
|
+
*/
|
|
55
|
+
logoUrl?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {ToolPresetTransportUio}
|
|
59
|
+
* @memberof ToolPresetCreateRequestUio
|
|
60
|
+
*/
|
|
61
|
+
transport?: ToolPresetTransportUio;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Array<string>}
|
|
65
|
+
* @memberof ToolPresetCreateRequestUio
|
|
66
|
+
*/
|
|
67
|
+
authMethods?: Array<string>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {ToolPresetOAuthRegistrationUio}
|
|
71
|
+
* @memberof ToolPresetCreateRequestUio
|
|
72
|
+
*/
|
|
73
|
+
oauthRegistration?: ToolPresetOAuthRegistrationUio | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof ToolPresetCreateRequestUio
|
|
78
|
+
*/
|
|
79
|
+
category: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof ToolPresetCreateRequestUio
|
|
84
|
+
*/
|
|
85
|
+
categoryLabelEn?: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof ToolPresetCreateRequestUio
|
|
90
|
+
*/
|
|
91
|
+
categoryLabelFr?: string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof ToolPresetCreateRequestUio
|
|
96
|
+
*/
|
|
97
|
+
categoryDescriptionEn?: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof ToolPresetCreateRequestUio
|
|
102
|
+
*/
|
|
103
|
+
categoryDescriptionFr?: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {boolean}
|
|
107
|
+
* @memberof ToolPresetCreateRequestUio
|
|
108
|
+
*/
|
|
109
|
+
isActive?: boolean;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Check if a given object implements the ToolPresetCreateRequestUio interface.
|
|
113
|
+
*/
|
|
114
|
+
export declare function instanceOfToolPresetCreateRequestUio(value: object): value is ToolPresetCreateRequestUio;
|
|
115
|
+
export declare function ToolPresetCreateRequestUioFromJSON(json: any): ToolPresetCreateRequestUio;
|
|
116
|
+
export declare function ToolPresetCreateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolPresetCreateRequestUio;
|
|
117
|
+
export declare function ToolPresetCreateRequestUioToJSON(json: any): ToolPresetCreateRequestUio;
|
|
118
|
+
export declare function ToolPresetCreateRequestUioToJSONTyped(value?: ToolPresetCreateRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,86 @@
|
|
|
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.instanceOfToolPresetCreateRequestUio = instanceOfToolPresetCreateRequestUio;
|
|
17
|
+
exports.ToolPresetCreateRequestUioFromJSON = ToolPresetCreateRequestUioFromJSON;
|
|
18
|
+
exports.ToolPresetCreateRequestUioFromJSONTyped = ToolPresetCreateRequestUioFromJSONTyped;
|
|
19
|
+
exports.ToolPresetCreateRequestUioToJSON = ToolPresetCreateRequestUioToJSON;
|
|
20
|
+
exports.ToolPresetCreateRequestUioToJSONTyped = ToolPresetCreateRequestUioToJSONTyped;
|
|
21
|
+
const ToolPresetTransportUio_1 = require("./ToolPresetTransportUio");
|
|
22
|
+
const ToolPresetOAuthRegistrationUio_1 = require("./ToolPresetOAuthRegistrationUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ToolPresetCreateRequestUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfToolPresetCreateRequestUio(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 ToolPresetCreateRequestUioFromJSON(json) {
|
|
38
|
+
return ToolPresetCreateRequestUioFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function ToolPresetCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'slug': json['slug'],
|
|
46
|
+
'name': json['name'],
|
|
47
|
+
'descriptionEn': json['descriptionEn'] == null ? undefined : json['descriptionEn'],
|
|
48
|
+
'descriptionFr': json['descriptionFr'] == null ? undefined : json['descriptionFr'],
|
|
49
|
+
'url': json['url'],
|
|
50
|
+
'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
|
|
51
|
+
'transport': json['transport'] == null ? undefined : (0, ToolPresetTransportUio_1.ToolPresetTransportUioFromJSON)(json['transport']),
|
|
52
|
+
'authMethods': json['authMethods'] == null ? undefined : json['authMethods'],
|
|
53
|
+
'oauthRegistration': json['oauthRegistration'] == null ? undefined : (0, ToolPresetOAuthRegistrationUio_1.ToolPresetOAuthRegistrationUioFromJSON)(json['oauthRegistration']),
|
|
54
|
+
'category': json['category'],
|
|
55
|
+
'categoryLabelEn': json['categoryLabelEn'] == null ? undefined : json['categoryLabelEn'],
|
|
56
|
+
'categoryLabelFr': json['categoryLabelFr'] == null ? undefined : json['categoryLabelFr'],
|
|
57
|
+
'categoryDescriptionEn': json['categoryDescriptionEn'] == null ? undefined : json['categoryDescriptionEn'],
|
|
58
|
+
'categoryDescriptionFr': json['categoryDescriptionFr'] == null ? undefined : json['categoryDescriptionFr'],
|
|
59
|
+
'isActive': json['isActive'] == null ? undefined : json['isActive'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function ToolPresetCreateRequestUioToJSON(json) {
|
|
63
|
+
return ToolPresetCreateRequestUioToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function ToolPresetCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'slug': value['slug'],
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'descriptionEn': value['descriptionEn'],
|
|
73
|
+
'descriptionFr': value['descriptionFr'],
|
|
74
|
+
'url': value['url'],
|
|
75
|
+
'logoUrl': value['logoUrl'],
|
|
76
|
+
'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioToJSON)(value['transport']),
|
|
77
|
+
'authMethods': value['authMethods'],
|
|
78
|
+
'oauthRegistration': (0, ToolPresetOAuthRegistrationUio_1.ToolPresetOAuthRegistrationUioToJSON)(value['oauthRegistration']),
|
|
79
|
+
'category': value['category'],
|
|
80
|
+
'categoryLabelEn': value['categoryLabelEn'],
|
|
81
|
+
'categoryLabelFr': value['categoryLabelFr'],
|
|
82
|
+
'categoryDescriptionEn': value['categoryDescriptionEn'],
|
|
83
|
+
'categoryDescriptionFr': value['categoryDescriptionFr'],
|
|
84
|
+
'isActive': value['isActive'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ToolPresetDeleteAllResponseUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ToolPresetDeleteAllResponseUio {
|
|
18
|
+
/**
|
|
19
|
+
* Number of presets removed from the library
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ToolPresetDeleteAllResponseUio
|
|
22
|
+
*/
|
|
23
|
+
deleted: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ToolPresetDeleteAllResponseUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfToolPresetDeleteAllResponseUio(value: object): value is ToolPresetDeleteAllResponseUio;
|
|
29
|
+
export declare function ToolPresetDeleteAllResponseUioFromJSON(json: any): ToolPresetDeleteAllResponseUio;
|
|
30
|
+
export declare function ToolPresetDeleteAllResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolPresetDeleteAllResponseUio;
|
|
31
|
+
export declare function ToolPresetDeleteAllResponseUioToJSON(json: any): ToolPresetDeleteAllResponseUio;
|
|
32
|
+
export declare function ToolPresetDeleteAllResponseUioToJSONTyped(value?: ToolPresetDeleteAllResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfToolPresetDeleteAllResponseUio = instanceOfToolPresetDeleteAllResponseUio;
|
|
17
|
+
exports.ToolPresetDeleteAllResponseUioFromJSON = ToolPresetDeleteAllResponseUioFromJSON;
|
|
18
|
+
exports.ToolPresetDeleteAllResponseUioFromJSONTyped = ToolPresetDeleteAllResponseUioFromJSONTyped;
|
|
19
|
+
exports.ToolPresetDeleteAllResponseUioToJSON = ToolPresetDeleteAllResponseUioToJSON;
|
|
20
|
+
exports.ToolPresetDeleteAllResponseUioToJSONTyped = ToolPresetDeleteAllResponseUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ToolPresetDeleteAllResponseUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfToolPresetDeleteAllResponseUio(value) {
|
|
25
|
+
if (!('deleted' in value) || value['deleted'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ToolPresetDeleteAllResponseUioFromJSON(json) {
|
|
30
|
+
return ToolPresetDeleteAllResponseUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ToolPresetDeleteAllResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'deleted': json['deleted'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ToolPresetDeleteAllResponseUioToJSON(json) {
|
|
41
|
+
return ToolPresetDeleteAllResponseUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ToolPresetDeleteAllResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'deleted': value['deleted'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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;
|