@breign/client 1.0.176 → 1.0.177
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/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/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/index.d.ts +23 -0
- package/dist/models/index.js +23 -0
- package/dist/openapi.json +1272 -34
- package/package.json +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfGitlabBotAccountCreateUio = instanceOfGitlabBotAccountCreateUio;
|
|
17
|
+
exports.GitlabBotAccountCreateUioFromJSON = GitlabBotAccountCreateUioFromJSON;
|
|
18
|
+
exports.GitlabBotAccountCreateUioFromJSONTyped = GitlabBotAccountCreateUioFromJSONTyped;
|
|
19
|
+
exports.GitlabBotAccountCreateUioToJSON = GitlabBotAccountCreateUioToJSON;
|
|
20
|
+
exports.GitlabBotAccountCreateUioToJSONTyped = GitlabBotAccountCreateUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GitlabBotAccountCreateUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGitlabBotAccountCreateUio(value) {
|
|
25
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('runAsUserId' in value) || value['runAsUserId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GitlabBotAccountCreateUioFromJSON(json) {
|
|
32
|
+
return GitlabBotAccountCreateUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GitlabBotAccountCreateUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'token': json['token'],
|
|
40
|
+
'defaultAgentId': json['defaultAgentId'] == null ? undefined : json['defaultAgentId'],
|
|
41
|
+
'callableAgentIds': json['callableAgentIds'] == null ? undefined : json['callableAgentIds'],
|
|
42
|
+
'runAsUserId': json['runAsUserId'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function GitlabBotAccountCreateUioToJSON(json) {
|
|
46
|
+
return GitlabBotAccountCreateUioToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GitlabBotAccountCreateUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'token': value['token'],
|
|
54
|
+
'defaultAgentId': value['defaultAgentId'],
|
|
55
|
+
'callableAgentIds': value['callableAgentIds'],
|
|
56
|
+
'runAsUserId': value['runAsUserId'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 bot account as members see it, to pick one in an automation. No secret.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GitlabBotAccountSummaryUio
|
|
16
|
+
*/
|
|
17
|
+
export interface GitlabBotAccountSummaryUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitlabBotAccountSummaryUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitlabBotAccountSummaryUio
|
|
28
|
+
*/
|
|
29
|
+
username: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GitlabBotAccountSummaryUio
|
|
34
|
+
*/
|
|
35
|
+
integrationId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GitlabBotAccountSummaryUio
|
|
40
|
+
*/
|
|
41
|
+
integrationName: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GitlabBotAccountSummaryUio
|
|
46
|
+
*/
|
|
47
|
+
defaultAgentId: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof GitlabBotAccountSummaryUio
|
|
52
|
+
*/
|
|
53
|
+
callableAgentIds: Array<string> | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof GitlabBotAccountSummaryUio
|
|
58
|
+
*/
|
|
59
|
+
status: GitlabBotAccountSummaryUioStatusEnum;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const GitlabBotAccountSummaryUioStatusEnum: {
|
|
65
|
+
readonly Active: "active";
|
|
66
|
+
readonly TokenInvalid: "token_invalid";
|
|
67
|
+
readonly Disabled: "disabled";
|
|
68
|
+
};
|
|
69
|
+
export type GitlabBotAccountSummaryUioStatusEnum = typeof GitlabBotAccountSummaryUioStatusEnum[keyof typeof GitlabBotAccountSummaryUioStatusEnum];
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the GitlabBotAccountSummaryUio interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfGitlabBotAccountSummaryUio(value: object): value is GitlabBotAccountSummaryUio;
|
|
74
|
+
export declare function GitlabBotAccountSummaryUioFromJSON(json: any): GitlabBotAccountSummaryUio;
|
|
75
|
+
export declare function GitlabBotAccountSummaryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitlabBotAccountSummaryUio;
|
|
76
|
+
export declare function GitlabBotAccountSummaryUioToJSON(json: any): GitlabBotAccountSummaryUio;
|
|
77
|
+
export declare function GitlabBotAccountSummaryUioToJSONTyped(value?: GitlabBotAccountSummaryUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
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.GitlabBotAccountSummaryUioStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfGitlabBotAccountSummaryUio = instanceOfGitlabBotAccountSummaryUio;
|
|
18
|
+
exports.GitlabBotAccountSummaryUioFromJSON = GitlabBotAccountSummaryUioFromJSON;
|
|
19
|
+
exports.GitlabBotAccountSummaryUioFromJSONTyped = GitlabBotAccountSummaryUioFromJSONTyped;
|
|
20
|
+
exports.GitlabBotAccountSummaryUioToJSON = GitlabBotAccountSummaryUioToJSON;
|
|
21
|
+
exports.GitlabBotAccountSummaryUioToJSONTyped = GitlabBotAccountSummaryUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GitlabBotAccountSummaryUioStatusEnum = {
|
|
26
|
+
Active: 'active',
|
|
27
|
+
TokenInvalid: 'token_invalid',
|
|
28
|
+
Disabled: 'disabled'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the GitlabBotAccountSummaryUio interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfGitlabBotAccountSummaryUio(value) {
|
|
34
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('integrationId' in value) || value['integrationId'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('integrationName' in value) || value['integrationName'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('defaultAgentId' in value) || value['defaultAgentId'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('callableAgentIds' in value) || value['callableAgentIds'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
function GitlabBotAccountSummaryUioFromJSON(json) {
|
|
51
|
+
return GitlabBotAccountSummaryUioFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function GitlabBotAccountSummaryUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': json['id'],
|
|
59
|
+
'username': json['username'],
|
|
60
|
+
'integrationId': json['integrationId'],
|
|
61
|
+
'integrationName': json['integrationName'],
|
|
62
|
+
'defaultAgentId': json['defaultAgentId'],
|
|
63
|
+
'callableAgentIds': json['callableAgentIds'] == null ? null : json['callableAgentIds'],
|
|
64
|
+
'status': json['status'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function GitlabBotAccountSummaryUioToJSON(json) {
|
|
68
|
+
return GitlabBotAccountSummaryUioToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
function GitlabBotAccountSummaryUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'id': value['id'],
|
|
76
|
+
'username': value['username'],
|
|
77
|
+
'integrationId': value['integrationId'],
|
|
78
|
+
'integrationName': value['integrationName'],
|
|
79
|
+
'defaultAgentId': value['defaultAgentId'],
|
|
80
|
+
'callableAgentIds': value['callableAgentIds'],
|
|
81
|
+
'status': value['status'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -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;
|