@breign/client 1.0.175 → 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/AuthApi.d.ts +60 -1
- package/dist/apis/AuthApi.js +130 -1
- 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/ApplicationAuthorizationErrorUio.d.ts +32 -0
- package/dist/models/ApplicationAuthorizationErrorUio.js +50 -0
- package/dist/models/ApplicationAuthorizationRequestUio.d.ts +63 -0
- package/dist/models/ApplicationAuthorizationRequestUio.js +71 -0
- package/dist/models/ApplicationAuthorizationResponseUio.d.ts +38 -0
- package/dist/models/ApplicationAuthorizationResponseUio.js +54 -0
- package/dist/models/ApplicationTokenErrorUio.d.ts +38 -0
- package/dist/models/ApplicationTokenErrorUio.js +52 -0
- package/dist/models/ApplicationTokenRequestUio.d.ts +63 -0
- package/dist/models/ApplicationTokenRequestUio.js +73 -0
- package/dist/models/ApplicationTokenResponseUio.d.ts +63 -0
- package/dist/models/ApplicationTokenResponseUio.js +71 -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 +29 -0
- package/dist/models/index.js +29 -0
- package/dist/openapi.json +1558 -34
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGitlabRoutingTestUio = instanceOfGitlabRoutingTestUio;
|
|
17
|
+
exports.GitlabRoutingTestUioFromJSON = GitlabRoutingTestUioFromJSON;
|
|
18
|
+
exports.GitlabRoutingTestUioFromJSONTyped = GitlabRoutingTestUioFromJSONTyped;
|
|
19
|
+
exports.GitlabRoutingTestUioToJSON = GitlabRoutingTestUioToJSON;
|
|
20
|
+
exports.GitlabRoutingTestUioToJSONTyped = GitlabRoutingTestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GitlabRoutingTestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGitlabRoutingTestUio(value) {
|
|
25
|
+
if (!('text' in value) || value['text'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GitlabRoutingTestUioFromJSON(json) {
|
|
30
|
+
return GitlabRoutingTestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GitlabRoutingTestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'text': json['text'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GitlabRoutingTestUioToJSON(json) {
|
|
41
|
+
return GitlabRoutingTestUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GitlabRoutingTestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'text': value['text'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -10,8 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { TaskScheduleUio } from './TaskScheduleUio';
|
|
13
|
+
import type { TaskTriggerUio } from './TaskTriggerUio';
|
|
13
14
|
/**
|
|
14
|
-
*
|
|
15
|
+
* `schedule` is required unless `trigger.type` is `event` (then `mode` must be `recurring`).
|
|
15
16
|
* @export
|
|
16
17
|
* @interface ScheduledTaskCreateUio
|
|
17
18
|
*/
|
|
@@ -33,7 +34,13 @@ export interface ScheduledTaskCreateUio {
|
|
|
33
34
|
* @type {TaskScheduleUio}
|
|
34
35
|
* @memberof ScheduledTaskCreateUio
|
|
35
36
|
*/
|
|
36
|
-
schedule
|
|
37
|
+
schedule?: TaskScheduleUio;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {TaskTriggerUio}
|
|
41
|
+
* @memberof ScheduledTaskCreateUio
|
|
42
|
+
*/
|
|
43
|
+
trigger?: TaskTriggerUio;
|
|
37
44
|
/**
|
|
38
45
|
*
|
|
39
46
|
* @type {string}
|
|
@@ -20,6 +20,7 @@ exports.ScheduledTaskCreateUioFromJSONTyped = ScheduledTaskCreateUioFromJSONType
|
|
|
20
20
|
exports.ScheduledTaskCreateUioToJSON = ScheduledTaskCreateUioToJSON;
|
|
21
21
|
exports.ScheduledTaskCreateUioToJSONTyped = ScheduledTaskCreateUioToJSONTyped;
|
|
22
22
|
const TaskScheduleUio_1 = require("./TaskScheduleUio");
|
|
23
|
+
const TaskTriggerUio_1 = require("./TaskTriggerUio");
|
|
23
24
|
/**
|
|
24
25
|
* @export
|
|
25
26
|
*/
|
|
@@ -35,8 +36,6 @@ function instanceOfScheduledTaskCreateUio(value) {
|
|
|
35
36
|
return false;
|
|
36
37
|
if (!('mode' in value) || value['mode'] === undefined)
|
|
37
38
|
return false;
|
|
38
|
-
if (!('schedule' in value) || value['schedule'] === undefined)
|
|
39
|
-
return false;
|
|
40
39
|
return true;
|
|
41
40
|
}
|
|
42
41
|
function ScheduledTaskCreateUioFromJSON(json) {
|
|
@@ -49,7 +48,8 @@ function ScheduledTaskCreateUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
48
|
return {
|
|
50
49
|
'message': json['message'],
|
|
51
50
|
'mode': json['mode'],
|
|
52
|
-
'schedule': (0, TaskScheduleUio_1.TaskScheduleUioFromJSON)(json['schedule']),
|
|
51
|
+
'schedule': json['schedule'] == null ? undefined : (0, TaskScheduleUio_1.TaskScheduleUioFromJSON)(json['schedule']),
|
|
52
|
+
'trigger': json['trigger'] == null ? undefined : (0, TaskTriggerUio_1.TaskTriggerUioFromJSON)(json['trigger']),
|
|
53
53
|
'name': json['name'] == null ? undefined : json['name'],
|
|
54
54
|
'timezone': json['timezone'] == null ? undefined : json['timezone'],
|
|
55
55
|
'callbackUrl': json['callbackUrl'] == null ? undefined : json['callbackUrl'],
|
|
@@ -67,6 +67,7 @@ function ScheduledTaskCreateUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
67
67
|
'message': value['message'],
|
|
68
68
|
'mode': value['mode'],
|
|
69
69
|
'schedule': (0, TaskScheduleUio_1.TaskScheduleUioToJSON)(value['schedule']),
|
|
70
|
+
'trigger': (0, TaskTriggerUio_1.TaskTriggerUioToJSON)(value['trigger']),
|
|
70
71
|
'name': value['name'],
|
|
71
72
|
'timezone': value['timezone'],
|
|
72
73
|
'callbackUrl': value['callbackUrl'],
|
|
@@ -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 ScheduledTaskRunTriggerAuthorUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ScheduledTaskRunTriggerAuthorUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ScheduledTaskRunTriggerAuthorUio
|
|
22
|
+
*/
|
|
23
|
+
username: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScheduledTaskRunTriggerAuthorUio
|
|
28
|
+
*/
|
|
29
|
+
name: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ScheduledTaskRunTriggerAuthorUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfScheduledTaskRunTriggerAuthorUio(value: object): value is ScheduledTaskRunTriggerAuthorUio;
|
|
35
|
+
export declare function ScheduledTaskRunTriggerAuthorUioFromJSON(json: any): ScheduledTaskRunTriggerAuthorUio;
|
|
36
|
+
export declare function ScheduledTaskRunTriggerAuthorUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScheduledTaskRunTriggerAuthorUio;
|
|
37
|
+
export declare function ScheduledTaskRunTriggerAuthorUioToJSON(json: any): ScheduledTaskRunTriggerAuthorUio;
|
|
38
|
+
export declare function ScheduledTaskRunTriggerAuthorUioToJSONTyped(value?: ScheduledTaskRunTriggerAuthorUio | null, ignoreDiscriminator?: boolean): any;
|