@breign/client 1.0.176 → 1.0.178
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/IntegrationsApi.d.ts +174 -0
- package/dist/apis/IntegrationsApi.js +445 -0
- package/dist/apis/McpApi.d.ts +33 -0
- package/dist/apis/McpApi.js +88 -0
- package/dist/apis/ScheduledTasksApi.d.ts +14 -1
- package/dist/apis/ScheduledTasksApi.js +33 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AgentBuilderMcpConfigurationUio.d.ts +32 -0
- package/dist/models/AgentBuilderMcpConfigurationUio.js +48 -0
- package/dist/models/AgentPatchUio.d.ts +7 -0
- package/dist/models/AgentPatchUio.js +3 -0
- package/dist/models/AgentUio.d.ts +7 -0
- package/dist/models/AgentUio.js +3 -0
- package/dist/models/ExternalEventRoutingUio.d.ts +53 -0
- package/dist/models/ExternalEventRoutingUio.js +67 -0
- package/dist/models/ExternalEventStatusUio.d.ts +33 -0
- package/dist/models/ExternalEventStatusUio.js +59 -0
- package/dist/models/ExternalEventUio.d.ts +135 -0
- package/dist/models/ExternalEventUio.js +123 -0
- package/dist/models/GitlabAccessLevelUio.d.ts +28 -0
- package/dist/models/GitlabAccessLevelUio.js +54 -0
- package/dist/models/GitlabBotAccountCreateUio.d.ts +50 -0
- package/dist/models/GitlabBotAccountCreateUio.js +58 -0
- package/dist/models/GitlabBotAccountSummaryUio.d.ts +77 -0
- package/dist/models/GitlabBotAccountSummaryUio.js +83 -0
- package/dist/models/GitlabBotAccountUio.d.ts +125 -0
- package/dist/models/GitlabBotAccountUio.js +115 -0
- package/dist/models/GitlabBotAccountUpdateUio.d.ts +64 -0
- package/dist/models/GitlabBotAccountUpdateUio.js +64 -0
- package/dist/models/GitlabConnectionTestResultUio.d.ts +50 -0
- package/dist/models/GitlabConnectionTestResultUio.js +62 -0
- package/dist/models/GitlabIntegrationCreateUio.d.ts +45 -0
- package/dist/models/GitlabIntegrationCreateUio.js +57 -0
- package/dist/models/GitlabIntegrationDetailUio.d.ts +120 -0
- package/dist/models/GitlabIntegrationDetailUio.js +112 -0
- package/dist/models/GitlabIntegrationUio.d.ts +107 -0
- package/dist/models/GitlabIntegrationUio.js +103 -0
- package/dist/models/GitlabIntegrationUpdateUio.d.ts +65 -0
- package/dist/models/GitlabIntegrationUpdateUio.js +65 -0
- package/dist/models/GitlabRoutingTestResultAgentUio.d.ts +38 -0
- package/dist/models/GitlabRoutingTestResultAgentUio.js +54 -0
- package/dist/models/GitlabRoutingTestResultAutomationsInnerUio.d.ts +38 -0
- package/dist/models/GitlabRoutingTestResultAutomationsInnerUio.js +54 -0
- package/dist/models/GitlabRoutingTestResultBotAccountUio.d.ts +38 -0
- package/dist/models/GitlabRoutingTestResultBotAccountUio.js +54 -0
- package/dist/models/GitlabRoutingTestResultRunAsUserUio.d.ts +38 -0
- package/dist/models/GitlabRoutingTestResultRunAsUserUio.js +54 -0
- package/dist/models/GitlabRoutingTestResultUio.d.ts +77 -0
- package/dist/models/GitlabRoutingTestResultUio.js +85 -0
- package/dist/models/GitlabRoutingTestUio.d.ts +32 -0
- package/dist/models/GitlabRoutingTestUio.js +50 -0
- package/dist/models/ScheduledTaskCreateUio.d.ts +9 -2
- package/dist/models/ScheduledTaskCreateUio.js +4 -3
- package/dist/models/ScheduledTaskRunTriggerAuthorUio.d.ts +38 -0
- package/dist/models/ScheduledTaskRunTriggerAuthorUio.js +54 -0
- package/dist/models/ScheduledTaskRunTriggerUio.d.ts +142 -0
- package/dist/models/ScheduledTaskRunTriggerUio.js +129 -0
- package/dist/models/ScheduledTaskRunUio.d.ts +20 -0
- package/dist/models/ScheduledTaskRunUio.js +12 -1
- package/dist/models/ScheduledTaskUio.d.ts +9 -2
- package/dist/models/ScheduledTaskUio.js +3 -0
- package/dist/models/TaskTriggerReplyUio.d.ts +38 -0
- package/dist/models/TaskTriggerReplyUio.js +54 -0
- package/dist/models/TaskTriggerUio.d.ts +88 -0
- package/dist/models/TaskTriggerUio.js +84 -0
- package/dist/models/ToolAllowedToolsRequestUio.d.ts +16 -0
- package/dist/models/ToolAllowedToolsRequestUio.js +10 -0
- package/dist/models/ToolAllowedToolsResponseUio.d.ts +16 -0
- package/dist/models/ToolAllowedToolsResponseUio.js +10 -0
- package/dist/models/ToolApprovalUio.d.ts +2 -1
- package/dist/models/ToolApprovalUio.js +2 -1
- package/dist/models/ToolCallResultRequestUio.d.ts +1 -1
- package/dist/models/ToolCallUio.d.ts +1 -1
- package/dist/models/ToolSecureMcpUio.d.ts +16 -0
- package/dist/models/ToolSecureMcpUio.js +10 -0
- package/dist/models/index.d.ts +24 -0
- package/dist/models/index.js +24 -0
- package/dist/openapi.json +1401 -38
- package/package.json +1 -1
|
@@ -0,0 +1,125 @@
|
|
|
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
|
+
* A GitLab account mentioned to wake an agent. `@bot Agent …` wakes the named agent when it is callable; otherwise the whole text goes to the default agent.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GitlabBotAccountUio
|
|
16
|
+
*/
|
|
17
|
+
export interface GitlabBotAccountUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitlabBotAccountUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitlabBotAccountUio
|
|
28
|
+
*/
|
|
29
|
+
integrationId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GitlabBotAccountUio
|
|
34
|
+
*/
|
|
35
|
+
organizationId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GitlabBotAccountUio
|
|
40
|
+
*/
|
|
41
|
+
gitlabUserId: number | null;
|
|
42
|
+
/**
|
|
43
|
+
* Without the `@`.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GitlabBotAccountUio
|
|
46
|
+
*/
|
|
47
|
+
username: string;
|
|
48
|
+
/**
|
|
49
|
+
* The end of the token (`glpat-…7f2a`); the token itself is never returned.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof GitlabBotAccountUio
|
|
52
|
+
*/
|
|
53
|
+
tokenHint: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof GitlabBotAccountUio
|
|
58
|
+
*/
|
|
59
|
+
tokenExpiresAt: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof GitlabBotAccountUio
|
|
64
|
+
*/
|
|
65
|
+
defaultAgentId: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* null — every (non personal) agent of the organization is callable by its name.
|
|
68
|
+
* @type {Array<string>}
|
|
69
|
+
* @memberof GitlabBotAccountUio
|
|
70
|
+
*/
|
|
71
|
+
callableAgentIds: Array<string> | null;
|
|
72
|
+
/**
|
|
73
|
+
* The organization member the conversations run as (user-scoped MCP tools, quotas).
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof GitlabBotAccountUio
|
|
76
|
+
*/
|
|
77
|
+
runAsUserId: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof GitlabBotAccountUio
|
|
82
|
+
*/
|
|
83
|
+
runAsUserName: string | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof GitlabBotAccountUio
|
|
88
|
+
*/
|
|
89
|
+
status: GitlabBotAccountUioStatusEnum;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof GitlabBotAccountUio
|
|
94
|
+
*/
|
|
95
|
+
lastError: string | null;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof GitlabBotAccountUio
|
|
100
|
+
*/
|
|
101
|
+
createdAt: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof GitlabBotAccountUio
|
|
106
|
+
*/
|
|
107
|
+
updatedAt: string;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @export
|
|
111
|
+
*/
|
|
112
|
+
export declare const GitlabBotAccountUioStatusEnum: {
|
|
113
|
+
readonly Active: "active";
|
|
114
|
+
readonly TokenInvalid: "token_invalid";
|
|
115
|
+
readonly Disabled: "disabled";
|
|
116
|
+
};
|
|
117
|
+
export type GitlabBotAccountUioStatusEnum = typeof GitlabBotAccountUioStatusEnum[keyof typeof GitlabBotAccountUioStatusEnum];
|
|
118
|
+
/**
|
|
119
|
+
* Check if a given object implements the GitlabBotAccountUio interface.
|
|
120
|
+
*/
|
|
121
|
+
export declare function instanceOfGitlabBotAccountUio(value: object): value is GitlabBotAccountUio;
|
|
122
|
+
export declare function GitlabBotAccountUioFromJSON(json: any): GitlabBotAccountUio;
|
|
123
|
+
export declare function GitlabBotAccountUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitlabBotAccountUio;
|
|
124
|
+
export declare function GitlabBotAccountUioToJSON(json: any): GitlabBotAccountUio;
|
|
125
|
+
export declare function GitlabBotAccountUioToJSONTyped(value?: GitlabBotAccountUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,115 @@
|
|
|
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.GitlabBotAccountUioStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfGitlabBotAccountUio = instanceOfGitlabBotAccountUio;
|
|
18
|
+
exports.GitlabBotAccountUioFromJSON = GitlabBotAccountUioFromJSON;
|
|
19
|
+
exports.GitlabBotAccountUioFromJSONTyped = GitlabBotAccountUioFromJSONTyped;
|
|
20
|
+
exports.GitlabBotAccountUioToJSON = GitlabBotAccountUioToJSON;
|
|
21
|
+
exports.GitlabBotAccountUioToJSONTyped = GitlabBotAccountUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GitlabBotAccountUioStatusEnum = {
|
|
26
|
+
Active: 'active',
|
|
27
|
+
TokenInvalid: 'token_invalid',
|
|
28
|
+
Disabled: 'disabled'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the GitlabBotAccountUio interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfGitlabBotAccountUio(value) {
|
|
34
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('integrationId' in value) || value['integrationId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('gitlabUserId' in value) || value['gitlabUserId'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('tokenHint' in value) || value['tokenHint'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('tokenExpiresAt' in value) || value['tokenExpiresAt'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('defaultAgentId' in value) || value['defaultAgentId'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('callableAgentIds' in value) || value['callableAgentIds'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('runAsUserId' in value) || value['runAsUserId'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('runAsUserName' in value) || value['runAsUserName'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('lastError' in value) || value['lastError'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
function GitlabBotAccountUioFromJSON(json) {
|
|
67
|
+
return GitlabBotAccountUioFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function GitlabBotAccountUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
70
|
+
if (json == null) {
|
|
71
|
+
return json;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'id': json['id'],
|
|
75
|
+
'integrationId': json['integrationId'],
|
|
76
|
+
'organizationId': json['organizationId'],
|
|
77
|
+
'gitlabUserId': json['gitlabUserId'],
|
|
78
|
+
'username': json['username'],
|
|
79
|
+
'tokenHint': json['tokenHint'],
|
|
80
|
+
'tokenExpiresAt': json['tokenExpiresAt'],
|
|
81
|
+
'defaultAgentId': json['defaultAgentId'],
|
|
82
|
+
'callableAgentIds': json['callableAgentIds'] == null ? null : json['callableAgentIds'],
|
|
83
|
+
'runAsUserId': json['runAsUserId'],
|
|
84
|
+
'runAsUserName': json['runAsUserName'],
|
|
85
|
+
'status': json['status'],
|
|
86
|
+
'lastError': json['lastError'],
|
|
87
|
+
'createdAt': json['createdAt'],
|
|
88
|
+
'updatedAt': json['updatedAt'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
function GitlabBotAccountUioToJSON(json) {
|
|
92
|
+
return GitlabBotAccountUioToJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
function GitlabBotAccountUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
return {
|
|
99
|
+
'id': value['id'],
|
|
100
|
+
'integrationId': value['integrationId'],
|
|
101
|
+
'organizationId': value['organizationId'],
|
|
102
|
+
'gitlabUserId': value['gitlabUserId'],
|
|
103
|
+
'username': value['username'],
|
|
104
|
+
'tokenHint': value['tokenHint'],
|
|
105
|
+
'tokenExpiresAt': value['tokenExpiresAt'],
|
|
106
|
+
'defaultAgentId': value['defaultAgentId'],
|
|
107
|
+
'callableAgentIds': value['callableAgentIds'],
|
|
108
|
+
'runAsUserId': value['runAsUserId'],
|
|
109
|
+
'runAsUserName': value['runAsUserName'],
|
|
110
|
+
'status': value['status'],
|
|
111
|
+
'lastError': value['lastError'],
|
|
112
|
+
'createdAt': value['createdAt'],
|
|
113
|
+
'updatedAt': value['updatedAt'],
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 GitlabBotAccountUpdateUio
|
|
16
|
+
*/
|
|
17
|
+
export interface GitlabBotAccountUpdateUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitlabBotAccountUpdateUio
|
|
22
|
+
*/
|
|
23
|
+
token?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitlabBotAccountUpdateUio
|
|
28
|
+
*/
|
|
29
|
+
defaultAgentId?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof GitlabBotAccountUpdateUio
|
|
34
|
+
*/
|
|
35
|
+
callableAgentIds?: Array<string> | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GitlabBotAccountUpdateUio
|
|
40
|
+
*/
|
|
41
|
+
runAsUserId?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GitlabBotAccountUpdateUio
|
|
46
|
+
*/
|
|
47
|
+
status?: GitlabBotAccountUpdateUioStatusEnum;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const GitlabBotAccountUpdateUioStatusEnum: {
|
|
53
|
+
readonly Active: "active";
|
|
54
|
+
readonly Disabled: "disabled";
|
|
55
|
+
};
|
|
56
|
+
export type GitlabBotAccountUpdateUioStatusEnum = typeof GitlabBotAccountUpdateUioStatusEnum[keyof typeof GitlabBotAccountUpdateUioStatusEnum];
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the GitlabBotAccountUpdateUio interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfGitlabBotAccountUpdateUio(value: object): value is GitlabBotAccountUpdateUio;
|
|
61
|
+
export declare function GitlabBotAccountUpdateUioFromJSON(json: any): GitlabBotAccountUpdateUio;
|
|
62
|
+
export declare function GitlabBotAccountUpdateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitlabBotAccountUpdateUio;
|
|
63
|
+
export declare function GitlabBotAccountUpdateUioToJSON(json: any): GitlabBotAccountUpdateUio;
|
|
64
|
+
export declare function GitlabBotAccountUpdateUioToJSONTyped(value?: GitlabBotAccountUpdateUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.GitlabBotAccountUpdateUioStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfGitlabBotAccountUpdateUio = instanceOfGitlabBotAccountUpdateUio;
|
|
18
|
+
exports.GitlabBotAccountUpdateUioFromJSON = GitlabBotAccountUpdateUioFromJSON;
|
|
19
|
+
exports.GitlabBotAccountUpdateUioFromJSONTyped = GitlabBotAccountUpdateUioFromJSONTyped;
|
|
20
|
+
exports.GitlabBotAccountUpdateUioToJSON = GitlabBotAccountUpdateUioToJSON;
|
|
21
|
+
exports.GitlabBotAccountUpdateUioToJSONTyped = GitlabBotAccountUpdateUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GitlabBotAccountUpdateUioStatusEnum = {
|
|
26
|
+
Active: 'active',
|
|
27
|
+
Disabled: 'disabled'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the GitlabBotAccountUpdateUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfGitlabBotAccountUpdateUio(value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function GitlabBotAccountUpdateUioFromJSON(json) {
|
|
36
|
+
return GitlabBotAccountUpdateUioFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function GitlabBotAccountUpdateUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'token': json['token'] == null ? undefined : json['token'],
|
|
44
|
+
'defaultAgentId': json['defaultAgentId'] == null ? undefined : json['defaultAgentId'],
|
|
45
|
+
'callableAgentIds': json['callableAgentIds'] == null ? undefined : json['callableAgentIds'],
|
|
46
|
+
'runAsUserId': json['runAsUserId'] == null ? undefined : json['runAsUserId'],
|
|
47
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function GitlabBotAccountUpdateUioToJSON(json) {
|
|
51
|
+
return GitlabBotAccountUpdateUioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function GitlabBotAccountUpdateUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'token': value['token'],
|
|
59
|
+
'defaultAgentId': value['defaultAgentId'],
|
|
60
|
+
'callableAgentIds': value['callableAgentIds'],
|
|
61
|
+
'runAsUserId': value['runAsUserId'],
|
|
62
|
+
'status': value['status'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 GitlabConnectionTestResultUio
|
|
16
|
+
*/
|
|
17
|
+
export interface GitlabConnectionTestResultUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitlabConnectionTestResultUio
|
|
22
|
+
*/
|
|
23
|
+
botAccountId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitlabConnectionTestResultUio
|
|
28
|
+
*/
|
|
29
|
+
username: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof GitlabConnectionTestResultUio
|
|
34
|
+
*/
|
|
35
|
+
ok: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GitlabConnectionTestResultUio
|
|
40
|
+
*/
|
|
41
|
+
error: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GitlabConnectionTestResultUio interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGitlabConnectionTestResultUio(value: object): value is GitlabConnectionTestResultUio;
|
|
47
|
+
export declare function GitlabConnectionTestResultUioFromJSON(json: any): GitlabConnectionTestResultUio;
|
|
48
|
+
export declare function GitlabConnectionTestResultUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitlabConnectionTestResultUio;
|
|
49
|
+
export declare function GitlabConnectionTestResultUioToJSON(json: any): GitlabConnectionTestResultUio;
|
|
50
|
+
export declare function GitlabConnectionTestResultUioToJSONTyped(value?: GitlabConnectionTestResultUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfGitlabConnectionTestResultUio = instanceOfGitlabConnectionTestResultUio;
|
|
17
|
+
exports.GitlabConnectionTestResultUioFromJSON = GitlabConnectionTestResultUioFromJSON;
|
|
18
|
+
exports.GitlabConnectionTestResultUioFromJSONTyped = GitlabConnectionTestResultUioFromJSONTyped;
|
|
19
|
+
exports.GitlabConnectionTestResultUioToJSON = GitlabConnectionTestResultUioToJSON;
|
|
20
|
+
exports.GitlabConnectionTestResultUioToJSONTyped = GitlabConnectionTestResultUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GitlabConnectionTestResultUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGitlabConnectionTestResultUio(value) {
|
|
25
|
+
if (!('botAccountId' in value) || value['botAccountId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('ok' in value) || value['ok'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('error' in value) || value['error'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function GitlabConnectionTestResultUioFromJSON(json) {
|
|
36
|
+
return GitlabConnectionTestResultUioFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function GitlabConnectionTestResultUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'botAccountId': json['botAccountId'],
|
|
44
|
+
'username': json['username'],
|
|
45
|
+
'ok': json['ok'],
|
|
46
|
+
'error': json['error'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GitlabConnectionTestResultUioToJSON(json) {
|
|
50
|
+
return GitlabConnectionTestResultUioToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GitlabConnectionTestResultUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'botAccountId': value['botAccountId'],
|
|
58
|
+
'username': value['username'],
|
|
59
|
+
'ok': value['ok'],
|
|
60
|
+
'error': value['error'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { GitlabAccessLevelUio } from './GitlabAccessLevelUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GitlabIntegrationCreateUio
|
|
17
|
+
*/
|
|
18
|
+
export interface GitlabIntegrationCreateUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof GitlabIntegrationCreateUio
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GitlabIntegrationCreateUio
|
|
29
|
+
*/
|
|
30
|
+
baseUrl: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {GitlabAccessLevelUio}
|
|
34
|
+
* @memberof GitlabIntegrationCreateUio
|
|
35
|
+
*/
|
|
36
|
+
minAccessLevel?: GitlabAccessLevelUio;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the GitlabIntegrationCreateUio interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfGitlabIntegrationCreateUio(value: object): value is GitlabIntegrationCreateUio;
|
|
42
|
+
export declare function GitlabIntegrationCreateUioFromJSON(json: any): GitlabIntegrationCreateUio;
|
|
43
|
+
export declare function GitlabIntegrationCreateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitlabIntegrationCreateUio;
|
|
44
|
+
export declare function GitlabIntegrationCreateUioToJSON(json: any): GitlabIntegrationCreateUio;
|
|
45
|
+
export declare function GitlabIntegrationCreateUioToJSONTyped(value?: GitlabIntegrationCreateUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfGitlabIntegrationCreateUio = instanceOfGitlabIntegrationCreateUio;
|
|
17
|
+
exports.GitlabIntegrationCreateUioFromJSON = GitlabIntegrationCreateUioFromJSON;
|
|
18
|
+
exports.GitlabIntegrationCreateUioFromJSONTyped = GitlabIntegrationCreateUioFromJSONTyped;
|
|
19
|
+
exports.GitlabIntegrationCreateUioToJSON = GitlabIntegrationCreateUioToJSON;
|
|
20
|
+
exports.GitlabIntegrationCreateUioToJSONTyped = GitlabIntegrationCreateUioToJSONTyped;
|
|
21
|
+
const GitlabAccessLevelUio_1 = require("./GitlabAccessLevelUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GitlabIntegrationCreateUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGitlabIntegrationCreateUio(value) {
|
|
26
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('baseUrl' in value) || value['baseUrl'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function GitlabIntegrationCreateUioFromJSON(json) {
|
|
33
|
+
return GitlabIntegrationCreateUioFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function GitlabIntegrationCreateUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
'baseUrl': json['baseUrl'],
|
|
42
|
+
'minAccessLevel': json['minAccessLevel'] == null ? undefined : (0, GitlabAccessLevelUio_1.GitlabAccessLevelUioFromJSON)(json['minAccessLevel']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function GitlabIntegrationCreateUioToJSON(json) {
|
|
46
|
+
return GitlabIntegrationCreateUioToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GitlabIntegrationCreateUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
'baseUrl': value['baseUrl'],
|
|
55
|
+
'minAccessLevel': (0, GitlabAccessLevelUio_1.GitlabAccessLevelUioToJSON)(value['minAccessLevel']),
|
|
56
|
+
};
|
|
57
|
+
}
|