@breign/client 1.0.204 → 1.0.206
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/TicketsApi.d.ts +53 -1
- package/dist/apis/TicketsApi.js +126 -0
- package/dist/models/ArtifactLibraryItemAllOfProjectUio.d.ts +56 -0
- package/dist/models/ArtifactLibraryItemAllOfProjectUio.js +66 -0
- package/dist/models/ArtifactLibraryItemAllOfTicketUio.d.ts +51 -0
- package/dist/models/ArtifactLibraryItemAllOfTicketUio.js +63 -0
- package/dist/models/ArtifactLibraryItemUio.d.ts +103 -0
- package/dist/models/ArtifactLibraryItemUio.js +99 -0
- package/dist/models/ToolPresetConfigOptionInputUio.d.ts +82 -0
- package/dist/models/ToolPresetConfigOptionInputUio.js +76 -0
- package/dist/models/ToolPresetConfigOptionUio.d.ts +82 -0
- package/dist/models/ToolPresetConfigOptionUio.js +86 -0
- package/dist/models/ToolPresetCreateRequestUio.d.ts +7 -0
- package/dist/models/ToolPresetCreateRequestUio.js +3 -0
- package/dist/models/ToolPresetImportItemUio.d.ts +7 -0
- package/dist/models/ToolPresetImportItemUio.js +3 -0
- package/dist/models/ToolPresetUio.d.ts +8 -1
- package/dist/models/ToolPresetUio.js +3 -0
- package/dist/models/ToolPresetUpdateRequestUio.d.ts +7 -0
- package/dist/models/ToolPresetUpdateRequestUio.js +3 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/openapi.json +578 -45
- package/package.json +1 -1
|
@@ -0,0 +1,82 @@
|
|
|
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 ToolPresetConfigOptionInputUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ToolPresetConfigOptionInputUio {
|
|
18
|
+
/**
|
|
19
|
+
* Variable name, used as {{key}} in the preset URL
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ToolPresetConfigOptionInputUio
|
|
22
|
+
*/
|
|
23
|
+
key: string;
|
|
24
|
+
/**
|
|
25
|
+
* url: base http(s) address without query or fragment, which must start the preset URL. text: URL-encoded value, allowed anywhere.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ToolPresetConfigOptionInputUio
|
|
28
|
+
*/
|
|
29
|
+
type: ToolPresetConfigOptionInputUioTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ToolPresetConfigOptionInputUio
|
|
34
|
+
*/
|
|
35
|
+
labelEn: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ToolPresetConfigOptionInputUio
|
|
40
|
+
*/
|
|
41
|
+
labelFr?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ToolPresetConfigOptionInputUio
|
|
46
|
+
*/
|
|
47
|
+
descriptionEn?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ToolPresetConfigOptionInputUio
|
|
52
|
+
*/
|
|
53
|
+
descriptionFr?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Used when the organization leaves the field empty
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ToolPresetConfigOptionInputUio
|
|
58
|
+
*/
|
|
59
|
+
defaultValue?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof ToolPresetConfigOptionInputUio
|
|
64
|
+
*/
|
|
65
|
+
required?: boolean;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const ToolPresetConfigOptionInputUioTypeEnum: {
|
|
71
|
+
readonly Url: "url";
|
|
72
|
+
readonly Text: "text";
|
|
73
|
+
};
|
|
74
|
+
export type ToolPresetConfigOptionInputUioTypeEnum = typeof ToolPresetConfigOptionInputUioTypeEnum[keyof typeof ToolPresetConfigOptionInputUioTypeEnum];
|
|
75
|
+
/**
|
|
76
|
+
* Check if a given object implements the ToolPresetConfigOptionInputUio interface.
|
|
77
|
+
*/
|
|
78
|
+
export declare function instanceOfToolPresetConfigOptionInputUio(value: object): value is ToolPresetConfigOptionInputUio;
|
|
79
|
+
export declare function ToolPresetConfigOptionInputUioFromJSON(json: any): ToolPresetConfigOptionInputUio;
|
|
80
|
+
export declare function ToolPresetConfigOptionInputUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolPresetConfigOptionInputUio;
|
|
81
|
+
export declare function ToolPresetConfigOptionInputUioToJSON(json: any): ToolPresetConfigOptionInputUio;
|
|
82
|
+
export declare function ToolPresetConfigOptionInputUioToJSONTyped(value?: ToolPresetConfigOptionInputUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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.ToolPresetConfigOptionInputUioTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfToolPresetConfigOptionInputUio = instanceOfToolPresetConfigOptionInputUio;
|
|
18
|
+
exports.ToolPresetConfigOptionInputUioFromJSON = ToolPresetConfigOptionInputUioFromJSON;
|
|
19
|
+
exports.ToolPresetConfigOptionInputUioFromJSONTyped = ToolPresetConfigOptionInputUioFromJSONTyped;
|
|
20
|
+
exports.ToolPresetConfigOptionInputUioToJSON = ToolPresetConfigOptionInputUioToJSON;
|
|
21
|
+
exports.ToolPresetConfigOptionInputUioToJSONTyped = ToolPresetConfigOptionInputUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ToolPresetConfigOptionInputUioTypeEnum = {
|
|
26
|
+
Url: 'url',
|
|
27
|
+
Text: 'text'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the ToolPresetConfigOptionInputUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfToolPresetConfigOptionInputUio(value) {
|
|
33
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('labelEn' in value) || value['labelEn'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function ToolPresetConfigOptionInputUioFromJSON(json) {
|
|
42
|
+
return ToolPresetConfigOptionInputUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ToolPresetConfigOptionInputUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'key': json['key'],
|
|
50
|
+
'type': json['type'],
|
|
51
|
+
'labelEn': json['labelEn'],
|
|
52
|
+
'labelFr': json['labelFr'] == null ? undefined : json['labelFr'],
|
|
53
|
+
'descriptionEn': json['descriptionEn'] == null ? undefined : json['descriptionEn'],
|
|
54
|
+
'descriptionFr': json['descriptionFr'] == null ? undefined : json['descriptionFr'],
|
|
55
|
+
'defaultValue': json['defaultValue'] == null ? undefined : json['defaultValue'],
|
|
56
|
+
'required': json['required'] == null ? undefined : json['required'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function ToolPresetConfigOptionInputUioToJSON(json) {
|
|
60
|
+
return ToolPresetConfigOptionInputUioToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function ToolPresetConfigOptionInputUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'key': value['key'],
|
|
68
|
+
'type': value['type'],
|
|
69
|
+
'labelEn': value['labelEn'],
|
|
70
|
+
'labelFr': value['labelFr'],
|
|
71
|
+
'descriptionEn': value['descriptionEn'],
|
|
72
|
+
'descriptionFr': value['descriptionFr'],
|
|
73
|
+
'defaultValue': value['defaultValue'],
|
|
74
|
+
'required': value['required'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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 ToolPresetConfigOptionUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ToolPresetConfigOptionUio {
|
|
18
|
+
/**
|
|
19
|
+
* Variable name, used as {{key}} in the preset URL
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ToolPresetConfigOptionUio
|
|
22
|
+
*/
|
|
23
|
+
key: string;
|
|
24
|
+
/**
|
|
25
|
+
* url: base http(s) address without query or fragment, which must start the preset URL. text: URL-encoded value, allowed anywhere.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ToolPresetConfigOptionUio
|
|
28
|
+
*/
|
|
29
|
+
type: ToolPresetConfigOptionUioTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ToolPresetConfigOptionUio
|
|
34
|
+
*/
|
|
35
|
+
labelEn: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ToolPresetConfigOptionUio
|
|
40
|
+
*/
|
|
41
|
+
labelFr: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ToolPresetConfigOptionUio
|
|
46
|
+
*/
|
|
47
|
+
descriptionEn: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ToolPresetConfigOptionUio
|
|
52
|
+
*/
|
|
53
|
+
descriptionFr: string;
|
|
54
|
+
/**
|
|
55
|
+
* Used when the organization leaves the field empty
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ToolPresetConfigOptionUio
|
|
58
|
+
*/
|
|
59
|
+
defaultValue: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof ToolPresetConfigOptionUio
|
|
64
|
+
*/
|
|
65
|
+
required: boolean;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const ToolPresetConfigOptionUioTypeEnum: {
|
|
71
|
+
readonly Url: "url";
|
|
72
|
+
readonly Text: "text";
|
|
73
|
+
};
|
|
74
|
+
export type ToolPresetConfigOptionUioTypeEnum = typeof ToolPresetConfigOptionUioTypeEnum[keyof typeof ToolPresetConfigOptionUioTypeEnum];
|
|
75
|
+
/**
|
|
76
|
+
* Check if a given object implements the ToolPresetConfigOptionUio interface.
|
|
77
|
+
*/
|
|
78
|
+
export declare function instanceOfToolPresetConfigOptionUio(value: object): value is ToolPresetConfigOptionUio;
|
|
79
|
+
export declare function ToolPresetConfigOptionUioFromJSON(json: any): ToolPresetConfigOptionUio;
|
|
80
|
+
export declare function ToolPresetConfigOptionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolPresetConfigOptionUio;
|
|
81
|
+
export declare function ToolPresetConfigOptionUioToJSON(json: any): ToolPresetConfigOptionUio;
|
|
82
|
+
export declare function ToolPresetConfigOptionUioToJSONTyped(value?: ToolPresetConfigOptionUio | 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.ToolPresetConfigOptionUioTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfToolPresetConfigOptionUio = instanceOfToolPresetConfigOptionUio;
|
|
18
|
+
exports.ToolPresetConfigOptionUioFromJSON = ToolPresetConfigOptionUioFromJSON;
|
|
19
|
+
exports.ToolPresetConfigOptionUioFromJSONTyped = ToolPresetConfigOptionUioFromJSONTyped;
|
|
20
|
+
exports.ToolPresetConfigOptionUioToJSON = ToolPresetConfigOptionUioToJSON;
|
|
21
|
+
exports.ToolPresetConfigOptionUioToJSONTyped = ToolPresetConfigOptionUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ToolPresetConfigOptionUioTypeEnum = {
|
|
26
|
+
Url: 'url',
|
|
27
|
+
Text: 'text'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the ToolPresetConfigOptionUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfToolPresetConfigOptionUio(value) {
|
|
33
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('labelEn' in value) || value['labelEn'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('labelFr' in value) || value['labelFr'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('descriptionEn' in value) || value['descriptionEn'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('descriptionFr' in value) || value['descriptionFr'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('defaultValue' in value) || value['defaultValue'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('required' in value) || value['required'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function ToolPresetConfigOptionUioFromJSON(json) {
|
|
52
|
+
return ToolPresetConfigOptionUioFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function ToolPresetConfigOptionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'key': json['key'],
|
|
60
|
+
'type': json['type'],
|
|
61
|
+
'labelEn': json['labelEn'],
|
|
62
|
+
'labelFr': json['labelFr'],
|
|
63
|
+
'descriptionEn': json['descriptionEn'],
|
|
64
|
+
'descriptionFr': json['descriptionFr'],
|
|
65
|
+
'defaultValue': json['defaultValue'],
|
|
66
|
+
'required': json['required'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function ToolPresetConfigOptionUioToJSON(json) {
|
|
70
|
+
return ToolPresetConfigOptionUioToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
function ToolPresetConfigOptionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
'key': value['key'],
|
|
78
|
+
'type': value['type'],
|
|
79
|
+
'labelEn': value['labelEn'],
|
|
80
|
+
'labelFr': value['labelFr'],
|
|
81
|
+
'descriptionEn': value['descriptionEn'],
|
|
82
|
+
'descriptionFr': value['descriptionFr'],
|
|
83
|
+
'defaultValue': value['defaultValue'],
|
|
84
|
+
'required': value['required'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ToolPresetTransportUio } from './ToolPresetTransportUio';
|
|
13
13
|
import type { ToolPresetOAuthRegistrationUio } from './ToolPresetOAuthRegistrationUio';
|
|
14
|
+
import type { ToolPresetConfigOptionInputUio } from './ToolPresetConfigOptionInputUio';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -47,6 +48,12 @@ export interface ToolPresetCreateRequestUio {
|
|
|
47
48
|
* @memberof ToolPresetCreateRequestUio
|
|
48
49
|
*/
|
|
49
50
|
url: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<ToolPresetConfigOptionInputUio>}
|
|
54
|
+
* @memberof ToolPresetCreateRequestUio
|
|
55
|
+
*/
|
|
56
|
+
configOptions?: Array<ToolPresetConfigOptionInputUio>;
|
|
50
57
|
/**
|
|
51
58
|
*
|
|
52
59
|
* @type {string}
|
|
@@ -20,6 +20,7 @@ exports.ToolPresetCreateRequestUioToJSON = ToolPresetCreateRequestUioToJSON;
|
|
|
20
20
|
exports.ToolPresetCreateRequestUioToJSONTyped = ToolPresetCreateRequestUioToJSONTyped;
|
|
21
21
|
const ToolPresetTransportUio_1 = require("./ToolPresetTransportUio");
|
|
22
22
|
const ToolPresetOAuthRegistrationUio_1 = require("./ToolPresetOAuthRegistrationUio");
|
|
23
|
+
const ToolPresetConfigOptionInputUio_1 = require("./ToolPresetConfigOptionInputUio");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the ToolPresetCreateRequestUio interface.
|
|
25
26
|
*/
|
|
@@ -47,6 +48,7 @@ function ToolPresetCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
48
|
'descriptionEn': json['descriptionEn'] == null ? undefined : json['descriptionEn'],
|
|
48
49
|
'descriptionFr': json['descriptionFr'] == null ? undefined : json['descriptionFr'],
|
|
49
50
|
'url': json['url'],
|
|
51
|
+
'configOptions': json['configOptions'] == null ? undefined : (json['configOptions'].map(ToolPresetConfigOptionInputUio_1.ToolPresetConfigOptionInputUioFromJSON)),
|
|
50
52
|
'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
|
|
51
53
|
'transport': json['transport'] == null ? undefined : (0, ToolPresetTransportUio_1.ToolPresetTransportUioFromJSON)(json['transport']),
|
|
52
54
|
'authMethods': json['authMethods'] == null ? undefined : json['authMethods'],
|
|
@@ -72,6 +74,7 @@ function ToolPresetCreateRequestUioToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
72
74
|
'descriptionEn': value['descriptionEn'],
|
|
73
75
|
'descriptionFr': value['descriptionFr'],
|
|
74
76
|
'url': value['url'],
|
|
77
|
+
'configOptions': value['configOptions'] == null ? undefined : (value['configOptions'].map(ToolPresetConfigOptionInputUio_1.ToolPresetConfigOptionInputUioToJSON)),
|
|
75
78
|
'logoUrl': value['logoUrl'],
|
|
76
79
|
'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioToJSON)(value['transport']),
|
|
77
80
|
'authMethods': value['authMethods'],
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ToolPresetTransportUio } from './ToolPresetTransportUio';
|
|
13
13
|
import type { ToolPresetOAuthRegistrationUio } from './ToolPresetOAuthRegistrationUio';
|
|
14
|
+
import type { ToolPresetConfigOptionInputUio } from './ToolPresetConfigOptionInputUio';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -65,6 +66,12 @@ export interface ToolPresetImportItemUio {
|
|
|
65
66
|
* @memberof ToolPresetImportItemUio
|
|
66
67
|
*/
|
|
67
68
|
url: string;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {Array<ToolPresetConfigOptionInputUio>}
|
|
72
|
+
* @memberof ToolPresetImportItemUio
|
|
73
|
+
*/
|
|
74
|
+
configOptions?: Array<ToolPresetConfigOptionInputUio>;
|
|
68
75
|
/**
|
|
69
76
|
*
|
|
70
77
|
* @type {string}
|
|
@@ -20,6 +20,7 @@ exports.ToolPresetImportItemUioToJSON = ToolPresetImportItemUioToJSON;
|
|
|
20
20
|
exports.ToolPresetImportItemUioToJSONTyped = ToolPresetImportItemUioToJSONTyped;
|
|
21
21
|
const ToolPresetTransportUio_1 = require("./ToolPresetTransportUio");
|
|
22
22
|
const ToolPresetOAuthRegistrationUio_1 = require("./ToolPresetOAuthRegistrationUio");
|
|
23
|
+
const ToolPresetConfigOptionInputUio_1 = require("./ToolPresetConfigOptionInputUio");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the ToolPresetImportItemUio interface.
|
|
25
26
|
*/
|
|
@@ -50,6 +51,7 @@ function ToolPresetImportItemUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
51
|
'descriptionEn': json['descriptionEn'] == null ? undefined : json['descriptionEn'],
|
|
51
52
|
'descriptionFr': json['descriptionFr'] == null ? undefined : json['descriptionFr'],
|
|
52
53
|
'url': json['url'],
|
|
54
|
+
'configOptions': json['configOptions'] == null ? undefined : (json['configOptions'].map(ToolPresetConfigOptionInputUio_1.ToolPresetConfigOptionInputUioFromJSON)),
|
|
53
55
|
'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
|
|
54
56
|
'transport': json['transport'] == null ? undefined : (0, ToolPresetTransportUio_1.ToolPresetTransportUioFromJSON)(json['transport']),
|
|
55
57
|
'authMethods': json['authMethods'] == null ? undefined : json['authMethods'],
|
|
@@ -78,6 +80,7 @@ function ToolPresetImportItemUioToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
78
80
|
'descriptionEn': value['descriptionEn'],
|
|
79
81
|
'descriptionFr': value['descriptionFr'],
|
|
80
82
|
'url': value['url'],
|
|
83
|
+
'configOptions': value['configOptions'] == null ? undefined : (value['configOptions'].map(ToolPresetConfigOptionInputUio_1.ToolPresetConfigOptionInputUioToJSON)),
|
|
81
84
|
'logoUrl': value['logoUrl'],
|
|
82
85
|
'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioToJSON)(value['transport']),
|
|
83
86
|
'authMethods': value['authMethods'],
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ToolPresetTransportUio } from './ToolPresetTransportUio';
|
|
13
|
+
import type { ToolPresetConfigOptionUio } from './ToolPresetConfigOptionUio';
|
|
13
14
|
import type { ToolPresetOAuthRegistrationUio } from './ToolPresetOAuthRegistrationUio';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -48,11 +49,17 @@ export interface ToolPresetUio {
|
|
|
48
49
|
*/
|
|
49
50
|
descriptionFr: string;
|
|
50
51
|
/**
|
|
51
|
-
* MCP server URL
|
|
52
|
+
* MCP server URL, possibly with {{key}} variables declared in configOptions
|
|
52
53
|
* @type {string}
|
|
53
54
|
* @memberof ToolPresetUio
|
|
54
55
|
*/
|
|
55
56
|
url: string;
|
|
57
|
+
/**
|
|
58
|
+
* Options the organization fills in when adding the tool. Optional so that a client talking to an API without this field keeps working.
|
|
59
|
+
* @type {Array<ToolPresetConfigOptionUio>}
|
|
60
|
+
* @memberof ToolPresetUio
|
|
61
|
+
*/
|
|
62
|
+
configOptions?: Array<ToolPresetConfigOptionUio>;
|
|
56
63
|
/**
|
|
57
64
|
*
|
|
58
65
|
* @type {string}
|
|
@@ -19,6 +19,7 @@ exports.ToolPresetUioFromJSONTyped = ToolPresetUioFromJSONTyped;
|
|
|
19
19
|
exports.ToolPresetUioToJSON = ToolPresetUioToJSON;
|
|
20
20
|
exports.ToolPresetUioToJSONTyped = ToolPresetUioToJSONTyped;
|
|
21
21
|
const ToolPresetTransportUio_1 = require("./ToolPresetTransportUio");
|
|
22
|
+
const ToolPresetConfigOptionUio_1 = require("./ToolPresetConfigOptionUio");
|
|
22
23
|
const ToolPresetOAuthRegistrationUio_1 = require("./ToolPresetOAuthRegistrationUio");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the ToolPresetUio interface.
|
|
@@ -68,6 +69,7 @@ function ToolPresetUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
69
|
'descriptionEn': json['descriptionEn'],
|
|
69
70
|
'descriptionFr': json['descriptionFr'],
|
|
70
71
|
'url': json['url'],
|
|
72
|
+
'configOptions': json['configOptions'] == null ? undefined : (json['configOptions'].map(ToolPresetConfigOptionUio_1.ToolPresetConfigOptionUioFromJSON)),
|
|
71
73
|
'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
|
|
72
74
|
'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioFromJSON)(json['transport']),
|
|
73
75
|
'authMethods': json['authMethods'],
|
|
@@ -96,6 +98,7 @@ function ToolPresetUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
96
98
|
'descriptionEn': value['descriptionEn'],
|
|
97
99
|
'descriptionFr': value['descriptionFr'],
|
|
98
100
|
'url': value['url'],
|
|
101
|
+
'configOptions': value['configOptions'] == null ? undefined : (value['configOptions'].map(ToolPresetConfigOptionUio_1.ToolPresetConfigOptionUioToJSON)),
|
|
99
102
|
'logoUrl': value['logoUrl'],
|
|
100
103
|
'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioToJSON)(value['transport']),
|
|
101
104
|
'authMethods': value['authMethods'],
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ToolPresetTransportUio } from './ToolPresetTransportUio';
|
|
13
13
|
import type { ToolPresetOAuthRegistrationUio } from './ToolPresetOAuthRegistrationUio';
|
|
14
|
+
import type { ToolPresetConfigOptionInputUio } from './ToolPresetConfigOptionInputUio';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -47,6 +48,12 @@ export interface ToolPresetUpdateRequestUio {
|
|
|
47
48
|
* @memberof ToolPresetUpdateRequestUio
|
|
48
49
|
*/
|
|
49
50
|
url?: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<ToolPresetConfigOptionInputUio>}
|
|
54
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
55
|
+
*/
|
|
56
|
+
configOptions?: Array<ToolPresetConfigOptionInputUio>;
|
|
50
57
|
/**
|
|
51
58
|
*
|
|
52
59
|
* @type {string}
|
|
@@ -20,6 +20,7 @@ exports.ToolPresetUpdateRequestUioToJSON = ToolPresetUpdateRequestUioToJSON;
|
|
|
20
20
|
exports.ToolPresetUpdateRequestUioToJSONTyped = ToolPresetUpdateRequestUioToJSONTyped;
|
|
21
21
|
const ToolPresetTransportUio_1 = require("./ToolPresetTransportUio");
|
|
22
22
|
const ToolPresetOAuthRegistrationUio_1 = require("./ToolPresetOAuthRegistrationUio");
|
|
23
|
+
const ToolPresetConfigOptionInputUio_1 = require("./ToolPresetConfigOptionInputUio");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the ToolPresetUpdateRequestUio interface.
|
|
25
26
|
*/
|
|
@@ -39,6 +40,7 @@ function ToolPresetUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
'descriptionEn': json['descriptionEn'] == null ? undefined : json['descriptionEn'],
|
|
40
41
|
'descriptionFr': json['descriptionFr'] == null ? undefined : json['descriptionFr'],
|
|
41
42
|
'url': json['url'] == null ? undefined : json['url'],
|
|
43
|
+
'configOptions': json['configOptions'] == null ? undefined : (json['configOptions'].map(ToolPresetConfigOptionInputUio_1.ToolPresetConfigOptionInputUioFromJSON)),
|
|
42
44
|
'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
|
|
43
45
|
'transport': json['transport'] == null ? undefined : (0, ToolPresetTransportUio_1.ToolPresetTransportUioFromJSON)(json['transport']),
|
|
44
46
|
'authMethods': json['authMethods'] == null ? undefined : json['authMethods'],
|
|
@@ -64,6 +66,7 @@ function ToolPresetUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
64
66
|
'descriptionEn': value['descriptionEn'],
|
|
65
67
|
'descriptionFr': value['descriptionFr'],
|
|
66
68
|
'url': value['url'],
|
|
69
|
+
'configOptions': value['configOptions'] == null ? undefined : (value['configOptions'].map(ToolPresetConfigOptionInputUio_1.ToolPresetConfigOptionInputUioToJSON)),
|
|
67
70
|
'logoUrl': value['logoUrl'],
|
|
68
71
|
'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioToJSON)(value['transport']),
|
|
69
72
|
'authMethods': value['authMethods'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -183,6 +183,9 @@ export * from './ApplicationTokenFormatUio';
|
|
|
183
183
|
export * from './ApplicationTokenRequestUio';
|
|
184
184
|
export * from './ApplicationTokenResponseUio';
|
|
185
185
|
export * from './ApplicationTokenRevocationRequestUio';
|
|
186
|
+
export * from './ArtifactLibraryItemAllOfProjectUio';
|
|
187
|
+
export * from './ArtifactLibraryItemAllOfTicketUio';
|
|
188
|
+
export * from './ArtifactLibraryItemUio';
|
|
186
189
|
export * from './AttachmentCreateRequestUio';
|
|
187
190
|
export * from './AttachmentCreateResponseUio';
|
|
188
191
|
export * from './AttachmentDetailsResponseUio';
|
|
@@ -741,6 +744,8 @@ export * from './ToolOpenApiReimportRequestUio';
|
|
|
741
744
|
export * from './ToolOpenApiReimportResponseUio';
|
|
742
745
|
export * from './ToolOpenApiSourceUio';
|
|
743
746
|
export * from './ToolOpenApiUio';
|
|
747
|
+
export * from './ToolPresetConfigOptionInputUio';
|
|
748
|
+
export * from './ToolPresetConfigOptionUio';
|
|
744
749
|
export * from './ToolPresetCreateRequestUio';
|
|
745
750
|
export * from './ToolPresetDeleteAllResponseUio';
|
|
746
751
|
export * from './ToolPresetImportItemUio';
|
package/dist/models/index.js
CHANGED
|
@@ -201,6 +201,9 @@ __exportStar(require("./ApplicationTokenFormatUio"), exports);
|
|
|
201
201
|
__exportStar(require("./ApplicationTokenRequestUio"), exports);
|
|
202
202
|
__exportStar(require("./ApplicationTokenResponseUio"), exports);
|
|
203
203
|
__exportStar(require("./ApplicationTokenRevocationRequestUio"), exports);
|
|
204
|
+
__exportStar(require("./ArtifactLibraryItemAllOfProjectUio"), exports);
|
|
205
|
+
__exportStar(require("./ArtifactLibraryItemAllOfTicketUio"), exports);
|
|
206
|
+
__exportStar(require("./ArtifactLibraryItemUio"), exports);
|
|
204
207
|
__exportStar(require("./AttachmentCreateRequestUio"), exports);
|
|
205
208
|
__exportStar(require("./AttachmentCreateResponseUio"), exports);
|
|
206
209
|
__exportStar(require("./AttachmentDetailsResponseUio"), exports);
|
|
@@ -759,6 +762,8 @@ __exportStar(require("./ToolOpenApiReimportRequestUio"), exports);
|
|
|
759
762
|
__exportStar(require("./ToolOpenApiReimportResponseUio"), exports);
|
|
760
763
|
__exportStar(require("./ToolOpenApiSourceUio"), exports);
|
|
761
764
|
__exportStar(require("./ToolOpenApiUio"), exports);
|
|
765
|
+
__exportStar(require("./ToolPresetConfigOptionInputUio"), exports);
|
|
766
|
+
__exportStar(require("./ToolPresetConfigOptionUio"), exports);
|
|
762
767
|
__exportStar(require("./ToolPresetCreateRequestUio"), exports);
|
|
763
768
|
__exportStar(require("./ToolPresetDeleteAllResponseUio"), exports);
|
|
764
769
|
__exportStar(require("./ToolPresetImportItemUio"), exports);
|