@breign/client 1.0.176 → 1.0.178

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist/apis/IntegrationsApi.d.ts +174 -0
  2. package/dist/apis/IntegrationsApi.js +445 -0
  3. package/dist/apis/McpApi.d.ts +33 -0
  4. package/dist/apis/McpApi.js +88 -0
  5. package/dist/apis/ScheduledTasksApi.d.ts +14 -1
  6. package/dist/apis/ScheduledTasksApi.js +33 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/models/AgentBuilderMcpConfigurationUio.d.ts +32 -0
  10. package/dist/models/AgentBuilderMcpConfigurationUio.js +48 -0
  11. package/dist/models/AgentPatchUio.d.ts +7 -0
  12. package/dist/models/AgentPatchUio.js +3 -0
  13. package/dist/models/AgentUio.d.ts +7 -0
  14. package/dist/models/AgentUio.js +3 -0
  15. package/dist/models/ExternalEventRoutingUio.d.ts +53 -0
  16. package/dist/models/ExternalEventRoutingUio.js +67 -0
  17. package/dist/models/ExternalEventStatusUio.d.ts +33 -0
  18. package/dist/models/ExternalEventStatusUio.js +59 -0
  19. package/dist/models/ExternalEventUio.d.ts +135 -0
  20. package/dist/models/ExternalEventUio.js +123 -0
  21. package/dist/models/GitlabAccessLevelUio.d.ts +28 -0
  22. package/dist/models/GitlabAccessLevelUio.js +54 -0
  23. package/dist/models/GitlabBotAccountCreateUio.d.ts +50 -0
  24. package/dist/models/GitlabBotAccountCreateUio.js +58 -0
  25. package/dist/models/GitlabBotAccountSummaryUio.d.ts +77 -0
  26. package/dist/models/GitlabBotAccountSummaryUio.js +83 -0
  27. package/dist/models/GitlabBotAccountUio.d.ts +125 -0
  28. package/dist/models/GitlabBotAccountUio.js +115 -0
  29. package/dist/models/GitlabBotAccountUpdateUio.d.ts +64 -0
  30. package/dist/models/GitlabBotAccountUpdateUio.js +64 -0
  31. package/dist/models/GitlabConnectionTestResultUio.d.ts +50 -0
  32. package/dist/models/GitlabConnectionTestResultUio.js +62 -0
  33. package/dist/models/GitlabIntegrationCreateUio.d.ts +45 -0
  34. package/dist/models/GitlabIntegrationCreateUio.js +57 -0
  35. package/dist/models/GitlabIntegrationDetailUio.d.ts +120 -0
  36. package/dist/models/GitlabIntegrationDetailUio.js +112 -0
  37. package/dist/models/GitlabIntegrationUio.d.ts +107 -0
  38. package/dist/models/GitlabIntegrationUio.js +103 -0
  39. package/dist/models/GitlabIntegrationUpdateUio.d.ts +65 -0
  40. package/dist/models/GitlabIntegrationUpdateUio.js +65 -0
  41. package/dist/models/GitlabRoutingTestResultAgentUio.d.ts +38 -0
  42. package/dist/models/GitlabRoutingTestResultAgentUio.js +54 -0
  43. package/dist/models/GitlabRoutingTestResultAutomationsInnerUio.d.ts +38 -0
  44. package/dist/models/GitlabRoutingTestResultAutomationsInnerUio.js +54 -0
  45. package/dist/models/GitlabRoutingTestResultBotAccountUio.d.ts +38 -0
  46. package/dist/models/GitlabRoutingTestResultBotAccountUio.js +54 -0
  47. package/dist/models/GitlabRoutingTestResultRunAsUserUio.d.ts +38 -0
  48. package/dist/models/GitlabRoutingTestResultRunAsUserUio.js +54 -0
  49. package/dist/models/GitlabRoutingTestResultUio.d.ts +77 -0
  50. package/dist/models/GitlabRoutingTestResultUio.js +85 -0
  51. package/dist/models/GitlabRoutingTestUio.d.ts +32 -0
  52. package/dist/models/GitlabRoutingTestUio.js +50 -0
  53. package/dist/models/ScheduledTaskCreateUio.d.ts +9 -2
  54. package/dist/models/ScheduledTaskCreateUio.js +4 -3
  55. package/dist/models/ScheduledTaskRunTriggerAuthorUio.d.ts +38 -0
  56. package/dist/models/ScheduledTaskRunTriggerAuthorUio.js +54 -0
  57. package/dist/models/ScheduledTaskRunTriggerUio.d.ts +142 -0
  58. package/dist/models/ScheduledTaskRunTriggerUio.js +129 -0
  59. package/dist/models/ScheduledTaskRunUio.d.ts +20 -0
  60. package/dist/models/ScheduledTaskRunUio.js +12 -1
  61. package/dist/models/ScheduledTaskUio.d.ts +9 -2
  62. package/dist/models/ScheduledTaskUio.js +3 -0
  63. package/dist/models/TaskTriggerReplyUio.d.ts +38 -0
  64. package/dist/models/TaskTriggerReplyUio.js +54 -0
  65. package/dist/models/TaskTriggerUio.d.ts +88 -0
  66. package/dist/models/TaskTriggerUio.js +84 -0
  67. package/dist/models/ToolAllowedToolsRequestUio.d.ts +16 -0
  68. package/dist/models/ToolAllowedToolsRequestUio.js +10 -0
  69. package/dist/models/ToolAllowedToolsResponseUio.d.ts +16 -0
  70. package/dist/models/ToolAllowedToolsResponseUio.js +10 -0
  71. package/dist/models/ToolApprovalUio.d.ts +2 -1
  72. package/dist/models/ToolApprovalUio.js +2 -1
  73. package/dist/models/ToolCallResultRequestUio.d.ts +1 -1
  74. package/dist/models/ToolCallUio.d.ts +1 -1
  75. package/dist/models/ToolSecureMcpUio.d.ts +16 -0
  76. package/dist/models/ToolSecureMcpUio.js +10 -0
  77. package/dist/models/index.d.ts +24 -0
  78. package/dist/models/index.js +24 -0
  79. package/dist/openapi.json +1401 -38
  80. package/package.json +1 -1
@@ -0,0 +1,59 @@
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.ExternalEventStatusUio = void 0;
17
+ exports.instanceOfExternalEventStatusUio = instanceOfExternalEventStatusUio;
18
+ exports.ExternalEventStatusUioFromJSON = ExternalEventStatusUioFromJSON;
19
+ exports.ExternalEventStatusUioFromJSONTyped = ExternalEventStatusUioFromJSONTyped;
20
+ exports.ExternalEventStatusUioToJSON = ExternalEventStatusUioToJSON;
21
+ exports.ExternalEventStatusUioToJSONTyped = ExternalEventStatusUioToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.ExternalEventStatusUio = {
27
+ Received: 'received',
28
+ Queued: 'queued',
29
+ Running: 'running',
30
+ Replying: 'replying',
31
+ Done: 'done',
32
+ Ignored: 'ignored',
33
+ NoAutomation: 'no_automation',
34
+ Expired: 'expired',
35
+ Dead: 'dead',
36
+ DroppedOverload: 'dropped_overload'
37
+ };
38
+ function instanceOfExternalEventStatusUio(value) {
39
+ for (const key in exports.ExternalEventStatusUio) {
40
+ if (Object.prototype.hasOwnProperty.call(exports.ExternalEventStatusUio, key)) {
41
+ if (exports.ExternalEventStatusUio[key] === value) {
42
+ return true;
43
+ }
44
+ }
45
+ }
46
+ return false;
47
+ }
48
+ function ExternalEventStatusUioFromJSON(json) {
49
+ return ExternalEventStatusUioFromJSONTyped(json, false);
50
+ }
51
+ function ExternalEventStatusUioFromJSONTyped(json, ignoreDiscriminator) {
52
+ return json;
53
+ }
54
+ function ExternalEventStatusUioToJSON(value) {
55
+ return value;
56
+ }
57
+ function ExternalEventStatusUioToJSONTyped(value, ignoreDiscriminator) {
58
+ return value;
59
+ }
@@ -0,0 +1,135 @@
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 { ScheduledTaskRunTriggerAuthorUio } from './ScheduledTaskRunTriggerAuthorUio';
14
+ import type { ExternalEventStatusUio } from './ExternalEventStatusUio';
15
+ /**
16
+ * A mention received from GitLab and its way through the queue.
17
+ * @export
18
+ * @interface ExternalEventUio
19
+ */
20
+ export interface ExternalEventUio {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof ExternalEventUio
25
+ */
26
+ id: string;
27
+ /**
28
+ *
29
+ * @type {ExternalEventStatusUio}
30
+ * @memberof ExternalEventUio
31
+ */
32
+ status: ExternalEventStatusUio;
33
+ /**
34
+ *
35
+ * @type {Date}
36
+ * @memberof ExternalEventUio
37
+ */
38
+ receivedAt: Date;
39
+ /**
40
+ * groupe/projet!142, groupe/projet#88…
41
+ * @type {string}
42
+ * @memberof ExternalEventUio
43
+ */
44
+ ref: string;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof ExternalEventUio
49
+ */
50
+ targetType: ExternalEventUioTargetTypeEnum;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof ExternalEventUio
55
+ */
56
+ targetTitle: string | null;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof ExternalEventUio
61
+ */
62
+ url: string | null;
63
+ /**
64
+ *
65
+ * @type {ScheduledTaskRunTriggerAuthorUio}
66
+ * @memberof ExternalEventUio
67
+ */
68
+ author: ScheduledTaskRunTriggerAuthorUio;
69
+ /**
70
+ *
71
+ * @type {string}
72
+ * @memberof ExternalEventUio
73
+ */
74
+ botAccountId: string | null;
75
+ /**
76
+ *
77
+ * @type {string}
78
+ * @memberof ExternalEventUio
79
+ */
80
+ agentId: string | null;
81
+ /**
82
+ *
83
+ * @type {string}
84
+ * @memberof ExternalEventUio
85
+ */
86
+ agentName: string | null;
87
+ /**
88
+ *
89
+ * @type {string}
90
+ * @memberof ExternalEventUio
91
+ */
92
+ taskId: string | null;
93
+ /**
94
+ *
95
+ * @type {string}
96
+ * @memberof ExternalEventUio
97
+ */
98
+ runId: string | null;
99
+ /**
100
+ *
101
+ * @type {ExternalEventRoutingUio}
102
+ * @memberof ExternalEventUio
103
+ */
104
+ routing: ExternalEventRoutingUio | null;
105
+ /**
106
+ *
107
+ * @type {string}
108
+ * @memberof ExternalEventUio
109
+ */
110
+ lastError: string | null;
111
+ /**
112
+ *
113
+ * @type {string}
114
+ * @memberof ExternalEventUio
115
+ */
116
+ replyUrl: string | null;
117
+ }
118
+ /**
119
+ * @export
120
+ */
121
+ export declare const ExternalEventUioTargetTypeEnum: {
122
+ readonly MergeRequest: "merge_request";
123
+ readonly Issue: "issue";
124
+ readonly WorkItem: "work_item";
125
+ readonly Commit: "commit";
126
+ };
127
+ export type ExternalEventUioTargetTypeEnum = typeof ExternalEventUioTargetTypeEnum[keyof typeof ExternalEventUioTargetTypeEnum];
128
+ /**
129
+ * Check if a given object implements the ExternalEventUio interface.
130
+ */
131
+ export declare function instanceOfExternalEventUio(value: object): value is ExternalEventUio;
132
+ export declare function ExternalEventUioFromJSON(json: any): ExternalEventUio;
133
+ export declare function ExternalEventUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExternalEventUio;
134
+ export declare function ExternalEventUioToJSON(json: any): ExternalEventUio;
135
+ export declare function ExternalEventUioToJSONTyped(value?: ExternalEventUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,123 @@
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.ExternalEventUioTargetTypeEnum = void 0;
17
+ exports.instanceOfExternalEventUio = instanceOfExternalEventUio;
18
+ exports.ExternalEventUioFromJSON = ExternalEventUioFromJSON;
19
+ exports.ExternalEventUioFromJSONTyped = ExternalEventUioFromJSONTyped;
20
+ exports.ExternalEventUioToJSON = ExternalEventUioToJSON;
21
+ exports.ExternalEventUioToJSONTyped = ExternalEventUioToJSONTyped;
22
+ const ExternalEventRoutingUio_1 = require("./ExternalEventRoutingUio");
23
+ const ScheduledTaskRunTriggerAuthorUio_1 = require("./ScheduledTaskRunTriggerAuthorUio");
24
+ const ExternalEventStatusUio_1 = require("./ExternalEventStatusUio");
25
+ /**
26
+ * @export
27
+ */
28
+ exports.ExternalEventUioTargetTypeEnum = {
29
+ MergeRequest: 'merge_request',
30
+ Issue: 'issue',
31
+ WorkItem: 'work_item',
32
+ Commit: 'commit'
33
+ };
34
+ /**
35
+ * Check if a given object implements the ExternalEventUio interface.
36
+ */
37
+ function instanceOfExternalEventUio(value) {
38
+ if (!('id' in value) || value['id'] === undefined)
39
+ return false;
40
+ if (!('status' in value) || value['status'] === undefined)
41
+ return false;
42
+ if (!('receivedAt' in value) || value['receivedAt'] === undefined)
43
+ return false;
44
+ if (!('ref' in value) || value['ref'] === undefined)
45
+ return false;
46
+ if (!('targetType' in value) || value['targetType'] === undefined)
47
+ return false;
48
+ if (!('targetTitle' in value) || value['targetTitle'] === undefined)
49
+ return false;
50
+ if (!('url' in value) || value['url'] === undefined)
51
+ return false;
52
+ if (!('author' in value) || value['author'] === undefined)
53
+ return false;
54
+ if (!('botAccountId' in value) || value['botAccountId'] === undefined)
55
+ return false;
56
+ if (!('agentId' in value) || value['agentId'] === undefined)
57
+ return false;
58
+ if (!('agentName' in value) || value['agentName'] === undefined)
59
+ return false;
60
+ if (!('taskId' in value) || value['taskId'] === undefined)
61
+ return false;
62
+ if (!('runId' in value) || value['runId'] === undefined)
63
+ return false;
64
+ if (!('routing' in value) || value['routing'] === undefined)
65
+ return false;
66
+ if (!('lastError' in value) || value['lastError'] === undefined)
67
+ return false;
68
+ if (!('replyUrl' in value) || value['replyUrl'] === undefined)
69
+ return false;
70
+ return true;
71
+ }
72
+ function ExternalEventUioFromJSON(json) {
73
+ return ExternalEventUioFromJSONTyped(json, false);
74
+ }
75
+ function ExternalEventUioFromJSONTyped(json, ignoreDiscriminator) {
76
+ if (json == null) {
77
+ return json;
78
+ }
79
+ return {
80
+ 'id': json['id'],
81
+ 'status': (0, ExternalEventStatusUio_1.ExternalEventStatusUioFromJSON)(json['status']),
82
+ 'receivedAt': (new Date(json['receivedAt'])),
83
+ 'ref': json['ref'],
84
+ 'targetType': json['targetType'],
85
+ 'targetTitle': json['targetTitle'],
86
+ 'url': json['url'],
87
+ 'author': (0, ScheduledTaskRunTriggerAuthorUio_1.ScheduledTaskRunTriggerAuthorUioFromJSON)(json['author']),
88
+ 'botAccountId': json['botAccountId'],
89
+ 'agentId': json['agentId'],
90
+ 'agentName': json['agentName'],
91
+ 'taskId': json['taskId'],
92
+ 'runId': json['runId'],
93
+ 'routing': (0, ExternalEventRoutingUio_1.ExternalEventRoutingUioFromJSON)(json['routing']),
94
+ 'lastError': json['lastError'],
95
+ 'replyUrl': json['replyUrl'],
96
+ };
97
+ }
98
+ function ExternalEventUioToJSON(json) {
99
+ return ExternalEventUioToJSONTyped(json, false);
100
+ }
101
+ function ExternalEventUioToJSONTyped(value, ignoreDiscriminator = false) {
102
+ if (value == null) {
103
+ return value;
104
+ }
105
+ return {
106
+ 'id': value['id'],
107
+ 'status': (0, ExternalEventStatusUio_1.ExternalEventStatusUioToJSON)(value['status']),
108
+ 'receivedAt': ((value['receivedAt']).toISOString()),
109
+ 'ref': value['ref'],
110
+ 'targetType': value['targetType'],
111
+ 'targetTitle': value['targetTitle'],
112
+ 'url': value['url'],
113
+ 'author': (0, ScheduledTaskRunTriggerAuthorUio_1.ScheduledTaskRunTriggerAuthorUioToJSON)(value['author']),
114
+ 'botAccountId': value['botAccountId'],
115
+ 'agentId': value['agentId'],
116
+ 'agentName': value['agentName'],
117
+ 'taskId': value['taskId'],
118
+ 'runId': value['runId'],
119
+ 'routing': (0, ExternalEventRoutingUio_1.ExternalEventRoutingUioToJSON)(value['routing']),
120
+ 'lastError': value['lastError'],
121
+ 'replyUrl': value['replyUrl'],
122
+ };
123
+ }
@@ -0,0 +1,28 @@
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
+ * GitLab access level — Guest (10), Reporter (20), Developer (30), Maintainer (40), Owner (50).
14
+ * @export
15
+ */
16
+ export declare const GitlabAccessLevelUio: {
17
+ readonly NUMBER_10: 10;
18
+ readonly NUMBER_20: 20;
19
+ readonly NUMBER_30: 30;
20
+ readonly NUMBER_40: 40;
21
+ readonly NUMBER_50: 50;
22
+ };
23
+ export type GitlabAccessLevelUio = typeof GitlabAccessLevelUio[keyof typeof GitlabAccessLevelUio];
24
+ export declare function instanceOfGitlabAccessLevelUio(value: any): boolean;
25
+ export declare function GitlabAccessLevelUioFromJSON(json: any): GitlabAccessLevelUio;
26
+ export declare function GitlabAccessLevelUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitlabAccessLevelUio;
27
+ export declare function GitlabAccessLevelUioToJSON(value?: GitlabAccessLevelUio | null): any;
28
+ export declare function GitlabAccessLevelUioToJSONTyped(value: any, ignoreDiscriminator: boolean): GitlabAccessLevelUio;
@@ -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.GitlabAccessLevelUio = void 0;
17
+ exports.instanceOfGitlabAccessLevelUio = instanceOfGitlabAccessLevelUio;
18
+ exports.GitlabAccessLevelUioFromJSON = GitlabAccessLevelUioFromJSON;
19
+ exports.GitlabAccessLevelUioFromJSONTyped = GitlabAccessLevelUioFromJSONTyped;
20
+ exports.GitlabAccessLevelUioToJSON = GitlabAccessLevelUioToJSON;
21
+ exports.GitlabAccessLevelUioToJSONTyped = GitlabAccessLevelUioToJSONTyped;
22
+ /**
23
+ * GitLab access level — Guest (10), Reporter (20), Developer (30), Maintainer (40), Owner (50).
24
+ * @export
25
+ */
26
+ exports.GitlabAccessLevelUio = {
27
+ NUMBER_10: 10,
28
+ NUMBER_20: 20,
29
+ NUMBER_30: 30,
30
+ NUMBER_40: 40,
31
+ NUMBER_50: 50
32
+ };
33
+ function instanceOfGitlabAccessLevelUio(value) {
34
+ for (const key in exports.GitlabAccessLevelUio) {
35
+ if (Object.prototype.hasOwnProperty.call(exports.GitlabAccessLevelUio, key)) {
36
+ if (exports.GitlabAccessLevelUio[key] === value) {
37
+ return true;
38
+ }
39
+ }
40
+ }
41
+ return false;
42
+ }
43
+ function GitlabAccessLevelUioFromJSON(json) {
44
+ return GitlabAccessLevelUioFromJSONTyped(json, false);
45
+ }
46
+ function GitlabAccessLevelUioFromJSONTyped(json, ignoreDiscriminator) {
47
+ return json;
48
+ }
49
+ function GitlabAccessLevelUioToJSON(value) {
50
+ return value;
51
+ }
52
+ function GitlabAccessLevelUioToJSONTyped(value, ignoreDiscriminator) {
53
+ return value;
54
+ }
@@ -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 GitlabBotAccountCreateUio
16
+ */
17
+ export interface GitlabBotAccountCreateUio {
18
+ /**
19
+ * A personal access token of the bot account (scope `api`). Checked against GitLab.
20
+ * @type {string}
21
+ * @memberof GitlabBotAccountCreateUio
22
+ */
23
+ token: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GitlabBotAccountCreateUio
28
+ */
29
+ defaultAgentId?: string | null;
30
+ /**
31
+ *
32
+ * @type {Array<string>}
33
+ * @memberof GitlabBotAccountCreateUio
34
+ */
35
+ callableAgentIds?: Array<string> | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof GitlabBotAccountCreateUio
40
+ */
41
+ runAsUserId: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the GitlabBotAccountCreateUio interface.
45
+ */
46
+ export declare function instanceOfGitlabBotAccountCreateUio(value: object): value is GitlabBotAccountCreateUio;
47
+ export declare function GitlabBotAccountCreateUioFromJSON(json: any): GitlabBotAccountCreateUio;
48
+ export declare function GitlabBotAccountCreateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitlabBotAccountCreateUio;
49
+ export declare function GitlabBotAccountCreateUioToJSON(json: any): GitlabBotAccountCreateUio;
50
+ export declare function GitlabBotAccountCreateUioToJSONTyped(value?: GitlabBotAccountCreateUio | null, ignoreDiscriminator?: boolean): any;
@@ -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
+ }