@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,65 @@
|
|
|
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.GitlabIntegrationUpdateUioStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfGitlabIntegrationUpdateUio = instanceOfGitlabIntegrationUpdateUio;
|
|
18
|
+
exports.GitlabIntegrationUpdateUioFromJSON = GitlabIntegrationUpdateUioFromJSON;
|
|
19
|
+
exports.GitlabIntegrationUpdateUioFromJSONTyped = GitlabIntegrationUpdateUioFromJSONTyped;
|
|
20
|
+
exports.GitlabIntegrationUpdateUioToJSON = GitlabIntegrationUpdateUioToJSON;
|
|
21
|
+
exports.GitlabIntegrationUpdateUioToJSONTyped = GitlabIntegrationUpdateUioToJSONTyped;
|
|
22
|
+
const GitlabAccessLevelUio_1 = require("./GitlabAccessLevelUio");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.GitlabIntegrationUpdateUioStatusEnum = {
|
|
27
|
+
Active: 'active',
|
|
28
|
+
Disabled: 'disabled'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the GitlabIntegrationUpdateUio interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfGitlabIntegrationUpdateUio(value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function GitlabIntegrationUpdateUioFromJSON(json) {
|
|
37
|
+
return GitlabIntegrationUpdateUioFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function GitlabIntegrationUpdateUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
45
|
+
'baseUrl': json['baseUrl'] == null ? undefined : json['baseUrl'],
|
|
46
|
+
'minAccessLevel': json['minAccessLevel'] == null ? undefined : (0, GitlabAccessLevelUio_1.GitlabAccessLevelUioFromJSON)(json['minAccessLevel']),
|
|
47
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
48
|
+
'regenerateSecret': json['regenerateSecret'] == null ? undefined : json['regenerateSecret'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function GitlabIntegrationUpdateUioToJSON(json) {
|
|
52
|
+
return GitlabIntegrationUpdateUioToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function GitlabIntegrationUpdateUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'name': value['name'],
|
|
60
|
+
'baseUrl': value['baseUrl'],
|
|
61
|
+
'minAccessLevel': (0, GitlabAccessLevelUio_1.GitlabAccessLevelUioToJSON)(value['minAccessLevel']),
|
|
62
|
+
'status': value['status'],
|
|
63
|
+
'regenerateSecret': value['regenerateSecret'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -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 GitlabRoutingTestResultAgentUio
|
|
16
|
+
*/
|
|
17
|
+
export interface GitlabRoutingTestResultAgentUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitlabRoutingTestResultAgentUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitlabRoutingTestResultAgentUio
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GitlabRoutingTestResultAgentUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGitlabRoutingTestResultAgentUio(value: object): value is GitlabRoutingTestResultAgentUio;
|
|
35
|
+
export declare function GitlabRoutingTestResultAgentUioFromJSON(json: any): GitlabRoutingTestResultAgentUio;
|
|
36
|
+
export declare function GitlabRoutingTestResultAgentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitlabRoutingTestResultAgentUio;
|
|
37
|
+
export declare function GitlabRoutingTestResultAgentUioToJSON(json: any): GitlabRoutingTestResultAgentUio;
|
|
38
|
+
export declare function GitlabRoutingTestResultAgentUioToJSONTyped(value?: GitlabRoutingTestResultAgentUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGitlabRoutingTestResultAgentUio = instanceOfGitlabRoutingTestResultAgentUio;
|
|
17
|
+
exports.GitlabRoutingTestResultAgentUioFromJSON = GitlabRoutingTestResultAgentUioFromJSON;
|
|
18
|
+
exports.GitlabRoutingTestResultAgentUioFromJSONTyped = GitlabRoutingTestResultAgentUioFromJSONTyped;
|
|
19
|
+
exports.GitlabRoutingTestResultAgentUioToJSON = GitlabRoutingTestResultAgentUioToJSON;
|
|
20
|
+
exports.GitlabRoutingTestResultAgentUioToJSONTyped = GitlabRoutingTestResultAgentUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GitlabRoutingTestResultAgentUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGitlabRoutingTestResultAgentUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GitlabRoutingTestResultAgentUioFromJSON(json) {
|
|
32
|
+
return GitlabRoutingTestResultAgentUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GitlabRoutingTestResultAgentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GitlabRoutingTestResultAgentUioToJSON(json) {
|
|
44
|
+
return GitlabRoutingTestResultAgentUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GitlabRoutingTestResultAgentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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 GitlabRoutingTestResultAutomationsInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface GitlabRoutingTestResultAutomationsInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitlabRoutingTestResultAutomationsInnerUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitlabRoutingTestResultAutomationsInnerUio
|
|
28
|
+
*/
|
|
29
|
+
name: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GitlabRoutingTestResultAutomationsInnerUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGitlabRoutingTestResultAutomationsInnerUio(value: object): value is GitlabRoutingTestResultAutomationsInnerUio;
|
|
35
|
+
export declare function GitlabRoutingTestResultAutomationsInnerUioFromJSON(json: any): GitlabRoutingTestResultAutomationsInnerUio;
|
|
36
|
+
export declare function GitlabRoutingTestResultAutomationsInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitlabRoutingTestResultAutomationsInnerUio;
|
|
37
|
+
export declare function GitlabRoutingTestResultAutomationsInnerUioToJSON(json: any): GitlabRoutingTestResultAutomationsInnerUio;
|
|
38
|
+
export declare function GitlabRoutingTestResultAutomationsInnerUioToJSONTyped(value?: GitlabRoutingTestResultAutomationsInnerUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGitlabRoutingTestResultAutomationsInnerUio = instanceOfGitlabRoutingTestResultAutomationsInnerUio;
|
|
17
|
+
exports.GitlabRoutingTestResultAutomationsInnerUioFromJSON = GitlabRoutingTestResultAutomationsInnerUioFromJSON;
|
|
18
|
+
exports.GitlabRoutingTestResultAutomationsInnerUioFromJSONTyped = GitlabRoutingTestResultAutomationsInnerUioFromJSONTyped;
|
|
19
|
+
exports.GitlabRoutingTestResultAutomationsInnerUioToJSON = GitlabRoutingTestResultAutomationsInnerUioToJSON;
|
|
20
|
+
exports.GitlabRoutingTestResultAutomationsInnerUioToJSONTyped = GitlabRoutingTestResultAutomationsInnerUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GitlabRoutingTestResultAutomationsInnerUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGitlabRoutingTestResultAutomationsInnerUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GitlabRoutingTestResultAutomationsInnerUioFromJSON(json) {
|
|
32
|
+
return GitlabRoutingTestResultAutomationsInnerUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GitlabRoutingTestResultAutomationsInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GitlabRoutingTestResultAutomationsInnerUioToJSON(json) {
|
|
44
|
+
return GitlabRoutingTestResultAutomationsInnerUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GitlabRoutingTestResultAutomationsInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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 GitlabRoutingTestResultBotAccountUio
|
|
16
|
+
*/
|
|
17
|
+
export interface GitlabRoutingTestResultBotAccountUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitlabRoutingTestResultBotAccountUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitlabRoutingTestResultBotAccountUio
|
|
28
|
+
*/
|
|
29
|
+
username: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GitlabRoutingTestResultBotAccountUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGitlabRoutingTestResultBotAccountUio(value: object): value is GitlabRoutingTestResultBotAccountUio;
|
|
35
|
+
export declare function GitlabRoutingTestResultBotAccountUioFromJSON(json: any): GitlabRoutingTestResultBotAccountUio;
|
|
36
|
+
export declare function GitlabRoutingTestResultBotAccountUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitlabRoutingTestResultBotAccountUio;
|
|
37
|
+
export declare function GitlabRoutingTestResultBotAccountUioToJSON(json: any): GitlabRoutingTestResultBotAccountUio;
|
|
38
|
+
export declare function GitlabRoutingTestResultBotAccountUioToJSONTyped(value?: GitlabRoutingTestResultBotAccountUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGitlabRoutingTestResultBotAccountUio = instanceOfGitlabRoutingTestResultBotAccountUio;
|
|
17
|
+
exports.GitlabRoutingTestResultBotAccountUioFromJSON = GitlabRoutingTestResultBotAccountUioFromJSON;
|
|
18
|
+
exports.GitlabRoutingTestResultBotAccountUioFromJSONTyped = GitlabRoutingTestResultBotAccountUioFromJSONTyped;
|
|
19
|
+
exports.GitlabRoutingTestResultBotAccountUioToJSON = GitlabRoutingTestResultBotAccountUioToJSON;
|
|
20
|
+
exports.GitlabRoutingTestResultBotAccountUioToJSONTyped = GitlabRoutingTestResultBotAccountUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GitlabRoutingTestResultBotAccountUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGitlabRoutingTestResultBotAccountUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GitlabRoutingTestResultBotAccountUioFromJSON(json) {
|
|
32
|
+
return GitlabRoutingTestResultBotAccountUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GitlabRoutingTestResultBotAccountUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'username': json['username'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GitlabRoutingTestResultBotAccountUioToJSON(json) {
|
|
44
|
+
return GitlabRoutingTestResultBotAccountUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GitlabRoutingTestResultBotAccountUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'username': value['username'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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 GitlabRoutingTestResultRunAsUserUio
|
|
16
|
+
*/
|
|
17
|
+
export interface GitlabRoutingTestResultRunAsUserUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitlabRoutingTestResultRunAsUserUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GitlabRoutingTestResultRunAsUserUio
|
|
28
|
+
*/
|
|
29
|
+
name: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GitlabRoutingTestResultRunAsUserUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGitlabRoutingTestResultRunAsUserUio(value: object): value is GitlabRoutingTestResultRunAsUserUio;
|
|
35
|
+
export declare function GitlabRoutingTestResultRunAsUserUioFromJSON(json: any): GitlabRoutingTestResultRunAsUserUio;
|
|
36
|
+
export declare function GitlabRoutingTestResultRunAsUserUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitlabRoutingTestResultRunAsUserUio;
|
|
37
|
+
export declare function GitlabRoutingTestResultRunAsUserUioToJSON(json: any): GitlabRoutingTestResultRunAsUserUio;
|
|
38
|
+
export declare function GitlabRoutingTestResultRunAsUserUioToJSONTyped(value?: GitlabRoutingTestResultRunAsUserUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGitlabRoutingTestResultRunAsUserUio = instanceOfGitlabRoutingTestResultRunAsUserUio;
|
|
17
|
+
exports.GitlabRoutingTestResultRunAsUserUioFromJSON = GitlabRoutingTestResultRunAsUserUioFromJSON;
|
|
18
|
+
exports.GitlabRoutingTestResultRunAsUserUioFromJSONTyped = GitlabRoutingTestResultRunAsUserUioFromJSONTyped;
|
|
19
|
+
exports.GitlabRoutingTestResultRunAsUserUioToJSON = GitlabRoutingTestResultRunAsUserUioToJSON;
|
|
20
|
+
exports.GitlabRoutingTestResultRunAsUserUioToJSONTyped = GitlabRoutingTestResultRunAsUserUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GitlabRoutingTestResultRunAsUserUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGitlabRoutingTestResultRunAsUserUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GitlabRoutingTestResultRunAsUserUioFromJSON(json) {
|
|
32
|
+
return GitlabRoutingTestResultRunAsUserUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GitlabRoutingTestResultRunAsUserUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GitlabRoutingTestResultRunAsUserUioToJSON(json) {
|
|
44
|
+
return GitlabRoutingTestResultRunAsUserUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GitlabRoutingTestResultRunAsUserUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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
|
+
import type { ExternalEventRoutingUio } from './ExternalEventRoutingUio';
|
|
13
|
+
import type { GitlabRoutingTestResultAgentUio } from './GitlabRoutingTestResultAgentUio';
|
|
14
|
+
import type { GitlabRoutingTestResultAutomationsInnerUio } from './GitlabRoutingTestResultAutomationsInnerUio';
|
|
15
|
+
import type { GitlabRoutingTestResultBotAccountUio } from './GitlabRoutingTestResultBotAccountUio';
|
|
16
|
+
import type { GitlabRoutingTestResultRunAsUserUio } from './GitlabRoutingTestResultRunAsUserUio';
|
|
17
|
+
/**
|
|
18
|
+
* What a comment would trigger, without running anything.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface GitlabRoutingTestResultUio
|
|
21
|
+
*/
|
|
22
|
+
export interface GitlabRoutingTestResultUio {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GitlabRoutingTestResultUio
|
|
27
|
+
*/
|
|
28
|
+
outcome: GitlabRoutingTestResultUioOutcomeEnum;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {GitlabRoutingTestResultBotAccountUio}
|
|
32
|
+
* @memberof GitlabRoutingTestResultUio
|
|
33
|
+
*/
|
|
34
|
+
botAccount: GitlabRoutingTestResultBotAccountUio | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {GitlabRoutingTestResultAgentUio}
|
|
38
|
+
* @memberof GitlabRoutingTestResultUio
|
|
39
|
+
*/
|
|
40
|
+
agent: GitlabRoutingTestResultAgentUio | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {ExternalEventRoutingUio}
|
|
44
|
+
* @memberof GitlabRoutingTestResultUio
|
|
45
|
+
*/
|
|
46
|
+
routing: ExternalEventRoutingUio | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {GitlabRoutingTestResultRunAsUserUio}
|
|
50
|
+
* @memberof GitlabRoutingTestResultUio
|
|
51
|
+
*/
|
|
52
|
+
runAsUser: GitlabRoutingTestResultRunAsUserUio | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Array<GitlabRoutingTestResultAutomationsInnerUio>}
|
|
56
|
+
* @memberof GitlabRoutingTestResultUio
|
|
57
|
+
*/
|
|
58
|
+
automations: Array<GitlabRoutingTestResultAutomationsInnerUio>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* @export
|
|
62
|
+
*/
|
|
63
|
+
export declare const GitlabRoutingTestResultUioOutcomeEnum: {
|
|
64
|
+
readonly Routed: "routed";
|
|
65
|
+
readonly Help: "help";
|
|
66
|
+
readonly NoBotMention: "no_bot_mention";
|
|
67
|
+
readonly NoAutomation: "no_automation";
|
|
68
|
+
};
|
|
69
|
+
export type GitlabRoutingTestResultUioOutcomeEnum = typeof GitlabRoutingTestResultUioOutcomeEnum[keyof typeof GitlabRoutingTestResultUioOutcomeEnum];
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the GitlabRoutingTestResultUio interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfGitlabRoutingTestResultUio(value: object): value is GitlabRoutingTestResultUio;
|
|
74
|
+
export declare function GitlabRoutingTestResultUioFromJSON(json: any): GitlabRoutingTestResultUio;
|
|
75
|
+
export declare function GitlabRoutingTestResultUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitlabRoutingTestResultUio;
|
|
76
|
+
export declare function GitlabRoutingTestResultUioToJSON(json: any): GitlabRoutingTestResultUio;
|
|
77
|
+
export declare function GitlabRoutingTestResultUioToJSONTyped(value?: GitlabRoutingTestResultUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,85 @@
|
|
|
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.GitlabRoutingTestResultUioOutcomeEnum = void 0;
|
|
17
|
+
exports.instanceOfGitlabRoutingTestResultUio = instanceOfGitlabRoutingTestResultUio;
|
|
18
|
+
exports.GitlabRoutingTestResultUioFromJSON = GitlabRoutingTestResultUioFromJSON;
|
|
19
|
+
exports.GitlabRoutingTestResultUioFromJSONTyped = GitlabRoutingTestResultUioFromJSONTyped;
|
|
20
|
+
exports.GitlabRoutingTestResultUioToJSON = GitlabRoutingTestResultUioToJSON;
|
|
21
|
+
exports.GitlabRoutingTestResultUioToJSONTyped = GitlabRoutingTestResultUioToJSONTyped;
|
|
22
|
+
const ExternalEventRoutingUio_1 = require("./ExternalEventRoutingUio");
|
|
23
|
+
const GitlabRoutingTestResultAgentUio_1 = require("./GitlabRoutingTestResultAgentUio");
|
|
24
|
+
const GitlabRoutingTestResultAutomationsInnerUio_1 = require("./GitlabRoutingTestResultAutomationsInnerUio");
|
|
25
|
+
const GitlabRoutingTestResultBotAccountUio_1 = require("./GitlabRoutingTestResultBotAccountUio");
|
|
26
|
+
const GitlabRoutingTestResultRunAsUserUio_1 = require("./GitlabRoutingTestResultRunAsUserUio");
|
|
27
|
+
/**
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
exports.GitlabRoutingTestResultUioOutcomeEnum = {
|
|
31
|
+
Routed: 'routed',
|
|
32
|
+
Help: 'help',
|
|
33
|
+
NoBotMention: 'no_bot_mention',
|
|
34
|
+
NoAutomation: 'no_automation'
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the GitlabRoutingTestResultUio interface.
|
|
38
|
+
*/
|
|
39
|
+
function instanceOfGitlabRoutingTestResultUio(value) {
|
|
40
|
+
if (!('outcome' in value) || value['outcome'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('botAccount' in value) || value['botAccount'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('agent' in value) || value['agent'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('routing' in value) || value['routing'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('runAsUser' in value) || value['runAsUser'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('automations' in value) || value['automations'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
function GitlabRoutingTestResultUioFromJSON(json) {
|
|
55
|
+
return GitlabRoutingTestResultUioFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function GitlabRoutingTestResultUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'outcome': json['outcome'],
|
|
63
|
+
'botAccount': (0, GitlabRoutingTestResultBotAccountUio_1.GitlabRoutingTestResultBotAccountUioFromJSON)(json['botAccount']),
|
|
64
|
+
'agent': (0, GitlabRoutingTestResultAgentUio_1.GitlabRoutingTestResultAgentUioFromJSON)(json['agent']),
|
|
65
|
+
'routing': (0, ExternalEventRoutingUio_1.ExternalEventRoutingUioFromJSON)(json['routing']),
|
|
66
|
+
'runAsUser': (0, GitlabRoutingTestResultRunAsUserUio_1.GitlabRoutingTestResultRunAsUserUioFromJSON)(json['runAsUser']),
|
|
67
|
+
'automations': (json['automations'].map(GitlabRoutingTestResultAutomationsInnerUio_1.GitlabRoutingTestResultAutomationsInnerUioFromJSON)),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function GitlabRoutingTestResultUioToJSON(json) {
|
|
71
|
+
return GitlabRoutingTestResultUioToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
function GitlabRoutingTestResultUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'outcome': value['outcome'],
|
|
79
|
+
'botAccount': (0, GitlabRoutingTestResultBotAccountUio_1.GitlabRoutingTestResultBotAccountUioToJSON)(value['botAccount']),
|
|
80
|
+
'agent': (0, GitlabRoutingTestResultAgentUio_1.GitlabRoutingTestResultAgentUioToJSON)(value['agent']),
|
|
81
|
+
'routing': (0, ExternalEventRoutingUio_1.ExternalEventRoutingUioToJSON)(value['routing']),
|
|
82
|
+
'runAsUser': (0, GitlabRoutingTestResultRunAsUserUio_1.GitlabRoutingTestResultRunAsUserUioToJSON)(value['runAsUser']),
|
|
83
|
+
'automations': (value['automations'].map(GitlabRoutingTestResultAutomationsInnerUio_1.GitlabRoutingTestResultAutomationsInnerUioToJSON)),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -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 GitlabRoutingTestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface GitlabRoutingTestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitlabRoutingTestUio
|
|
22
|
+
*/
|
|
23
|
+
text: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GitlabRoutingTestUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGitlabRoutingTestUio(value: object): value is GitlabRoutingTestUio;
|
|
29
|
+
export declare function GitlabRoutingTestUioFromJSON(json: any): GitlabRoutingTestUio;
|
|
30
|
+
export declare function GitlabRoutingTestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitlabRoutingTestUio;
|
|
31
|
+
export declare function GitlabRoutingTestUioToJSON(json: any): GitlabRoutingTestUio;
|
|
32
|
+
export declare function GitlabRoutingTestUioToJSONTyped(value?: GitlabRoutingTestUio | null, ignoreDiscriminator?: boolean): any;
|