@breign/client 1.0.212 → 1.0.214
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/README.md +1 -5
- package/dist/apis/GitApi.d.ts +166 -0
- package/dist/apis/GitApi.js +406 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AgentExecutionGroupChoiceUio.d.ts +6 -0
- package/dist/models/AgentExecutionGroupChoiceUio.js +2 -0
- package/dist/models/AgentExecutionNodeChoiceUio.d.ts +6 -0
- package/dist/models/AgentExecutionNodeChoiceUio.js +2 -0
- package/dist/models/AgentExecutionUio.d.ts +7 -0
- package/dist/models/AgentExecutionUio.js +3 -0
- package/dist/models/AgentPatchUio.d.ts +7 -0
- package/dist/models/AgentPatchUio.js +3 -0
- package/dist/models/AgentSubtaskConfigurationUio.d.ts +39 -0
- package/dist/models/AgentSubtaskConfigurationUio.js +51 -0
- package/dist/models/AgentSubtaskModelUio.d.ts +38 -0
- package/dist/models/AgentSubtaskModelUio.js +54 -0
- package/dist/models/AgentUio.d.ts +7 -0
- package/dist/models/AgentUio.js +3 -0
- package/dist/models/AppUio.d.ts +3 -3
- package/dist/models/AppUio.js +2 -2
- package/dist/models/AppUpdateRequestUio.d.ts +1 -1
- package/dist/models/GitBotConnectionCreateUio.d.ts +38 -0
- package/dist/models/GitBotConnectionCreateUio.js +52 -0
- package/dist/models/GitConnectionKindUio.d.ts +26 -0
- package/dist/models/GitConnectionKindUio.js +52 -0
- package/dist/models/GitConnectionUio.d.ts +115 -0
- package/dist/models/GitConnectionUio.js +101 -0
- package/dist/models/GitGithubAppConnectionCreateUio.d.ts +56 -0
- package/dist/models/GitGithubAppConnectionCreateUio.js +62 -0
- package/dist/models/GitOAuthAppCreateUio.d.ts +51 -0
- package/dist/models/GitOAuthAppCreateUio.js +63 -0
- package/dist/models/GitOAuthAppUio.d.ts +81 -0
- package/dist/models/GitOAuthAppUio.js +77 -0
- package/dist/models/GitOAuthAppUpdateUio.d.ts +38 -0
- package/dist/models/GitOAuthAppUpdateUio.js +50 -0
- package/dist/models/GitOAuthAuthorizeRequestUio.d.ts +32 -0
- package/dist/models/GitOAuthAuthorizeRequestUio.js +48 -0
- package/dist/models/GitOAuthAuthorizeResponseUio.d.ts +32 -0
- package/dist/models/GitOAuthAuthorizeResponseUio.js +50 -0
- package/dist/models/GitOAuthCompleteRequestUio.d.ts +38 -0
- package/dist/models/GitOAuthCompleteRequestUio.js +54 -0
- package/dist/models/GitOAuthCompleteResponseUio.d.ts +39 -0
- package/dist/models/GitOAuthCompleteResponseUio.js +55 -0
- package/dist/models/GitOAuthConfigUio.d.ts +32 -0
- package/dist/models/GitOAuthConfigUio.js +50 -0
- package/dist/models/GitProviderUio.d.ts +25 -0
- package/dist/models/GitProviderUio.js +51 -0
- package/dist/models/NodeAgentGitConfigAuthorUio.d.ts +38 -0
- package/dist/models/NodeAgentGitConfigAuthorUio.js +54 -0
- package/dist/models/NodeAgentGitConfigUio.d.ts +46 -0
- package/dist/models/NodeAgentGitConfigUio.js +56 -0
- package/dist/models/NodeGitRepositoryConnectionUio.d.ts +46 -0
- package/dist/models/NodeGitRepositoryConnectionUio.js +60 -0
- package/dist/models/NodeGitRepositoryUio.d.ts +79 -0
- package/dist/models/NodeGitRepositoryUio.js +82 -0
- package/dist/models/SetAgentExecutionRequestUio.d.ts +8 -1
- package/dist/models/SetAgentExecutionRequestUio.js +3 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/dist/openapi.json +824 -2
- package/package.json +1 -1
|
@@ -0,0 +1,46 @@
|
|
|
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 { NodeAgentGitConfigAuthorUio } from './NodeAgentGitConfigAuthorUio';
|
|
13
|
+
import type { NodeGitRepositoryUio } from './NodeGitRepositoryUio';
|
|
14
|
+
/**
|
|
15
|
+
* Les dépôts Git d'un agent rattaché à un nœud ou un groupe (nœuds v3).
|
|
16
|
+
* @export
|
|
17
|
+
* @interface NodeAgentGitConfigUio
|
|
18
|
+
*/
|
|
19
|
+
export interface NodeAgentGitConfigUio {
|
|
20
|
+
/**
|
|
21
|
+
* Préfixe de la branche de travail (défaut `breign/`).
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof NodeAgentGitConfigUio
|
|
24
|
+
*/
|
|
25
|
+
branchPrefix?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {NodeAgentGitConfigAuthorUio}
|
|
29
|
+
* @memberof NodeAgentGitConfigUio
|
|
30
|
+
*/
|
|
31
|
+
author?: NodeAgentGitConfigAuthorUio | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<NodeGitRepositoryUio>}
|
|
35
|
+
* @memberof NodeAgentGitConfigUio
|
|
36
|
+
*/
|
|
37
|
+
repositories: Array<NodeGitRepositoryUio>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the NodeAgentGitConfigUio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfNodeAgentGitConfigUio(value: object): value is NodeAgentGitConfigUio;
|
|
43
|
+
export declare function NodeAgentGitConfigUioFromJSON(json: any): NodeAgentGitConfigUio;
|
|
44
|
+
export declare function NodeAgentGitConfigUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeAgentGitConfigUio;
|
|
45
|
+
export declare function NodeAgentGitConfigUioToJSON(json: any): NodeAgentGitConfigUio;
|
|
46
|
+
export declare function NodeAgentGitConfigUioToJSONTyped(value?: NodeAgentGitConfigUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfNodeAgentGitConfigUio = instanceOfNodeAgentGitConfigUio;
|
|
17
|
+
exports.NodeAgentGitConfigUioFromJSON = NodeAgentGitConfigUioFromJSON;
|
|
18
|
+
exports.NodeAgentGitConfigUioFromJSONTyped = NodeAgentGitConfigUioFromJSONTyped;
|
|
19
|
+
exports.NodeAgentGitConfigUioToJSON = NodeAgentGitConfigUioToJSON;
|
|
20
|
+
exports.NodeAgentGitConfigUioToJSONTyped = NodeAgentGitConfigUioToJSONTyped;
|
|
21
|
+
const NodeAgentGitConfigAuthorUio_1 = require("./NodeAgentGitConfigAuthorUio");
|
|
22
|
+
const NodeGitRepositoryUio_1 = require("./NodeGitRepositoryUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the NodeAgentGitConfigUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfNodeAgentGitConfigUio(value) {
|
|
27
|
+
if (!('repositories' in value) || value['repositories'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function NodeAgentGitConfigUioFromJSON(json) {
|
|
32
|
+
return NodeAgentGitConfigUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function NodeAgentGitConfigUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'branchPrefix': json['branchPrefix'] == null ? undefined : json['branchPrefix'],
|
|
40
|
+
'author': json['author'] == null ? undefined : (0, NodeAgentGitConfigAuthorUio_1.NodeAgentGitConfigAuthorUioFromJSON)(json['author']),
|
|
41
|
+
'repositories': (json['repositories'].map(NodeGitRepositoryUio_1.NodeGitRepositoryUioFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function NodeAgentGitConfigUioToJSON(json) {
|
|
45
|
+
return NodeAgentGitConfigUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function NodeAgentGitConfigUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'branchPrefix': value['branchPrefix'],
|
|
53
|
+
'author': (0, NodeAgentGitConfigAuthorUio_1.NodeAgentGitConfigAuthorUioToJSON)(value['author']),
|
|
54
|
+
'repositories': (value['repositories'].map(NodeGitRepositoryUio_1.NodeGitRepositoryUioToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
* `user` : le compte Git du membre qui lance la conversation, sur la forge du dépôt. `organization` : une connexion d'organisation (compte bot).
|
|
14
|
+
* @export
|
|
15
|
+
* @interface NodeGitRepositoryConnectionUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeGitRepositoryConnectionUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NodeGitRepositoryConnectionUio
|
|
22
|
+
*/
|
|
23
|
+
mode: NodeGitRepositoryConnectionUioModeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Requis avec `mode = organization`, absent avec `mode = user` (vérifié par l'API).
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NodeGitRepositoryConnectionUio
|
|
28
|
+
*/
|
|
29
|
+
connectionId?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const NodeGitRepositoryConnectionUioModeEnum: {
|
|
35
|
+
readonly User: "user";
|
|
36
|
+
readonly Organization: "organization";
|
|
37
|
+
};
|
|
38
|
+
export type NodeGitRepositoryConnectionUioModeEnum = typeof NodeGitRepositoryConnectionUioModeEnum[keyof typeof NodeGitRepositoryConnectionUioModeEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the NodeGitRepositoryConnectionUio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfNodeGitRepositoryConnectionUio(value: object): value is NodeGitRepositoryConnectionUio;
|
|
43
|
+
export declare function NodeGitRepositoryConnectionUioFromJSON(json: any): NodeGitRepositoryConnectionUio;
|
|
44
|
+
export declare function NodeGitRepositoryConnectionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGitRepositoryConnectionUio;
|
|
45
|
+
export declare function NodeGitRepositoryConnectionUioToJSON(json: any): NodeGitRepositoryConnectionUio;
|
|
46
|
+
export declare function NodeGitRepositoryConnectionUioToJSONTyped(value?: NodeGitRepositoryConnectionUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.NodeGitRepositoryConnectionUioModeEnum = void 0;
|
|
17
|
+
exports.instanceOfNodeGitRepositoryConnectionUio = instanceOfNodeGitRepositoryConnectionUio;
|
|
18
|
+
exports.NodeGitRepositoryConnectionUioFromJSON = NodeGitRepositoryConnectionUioFromJSON;
|
|
19
|
+
exports.NodeGitRepositoryConnectionUioFromJSONTyped = NodeGitRepositoryConnectionUioFromJSONTyped;
|
|
20
|
+
exports.NodeGitRepositoryConnectionUioToJSON = NodeGitRepositoryConnectionUioToJSON;
|
|
21
|
+
exports.NodeGitRepositoryConnectionUioToJSONTyped = NodeGitRepositoryConnectionUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.NodeGitRepositoryConnectionUioModeEnum = {
|
|
26
|
+
User: 'user',
|
|
27
|
+
Organization: 'organization'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the NodeGitRepositoryConnectionUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfNodeGitRepositoryConnectionUio(value) {
|
|
33
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function NodeGitRepositoryConnectionUioFromJSON(json) {
|
|
38
|
+
return NodeGitRepositoryConnectionUioFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function NodeGitRepositoryConnectionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'mode': json['mode'],
|
|
46
|
+
'connectionId': json['connectionId'] == null ? undefined : json['connectionId'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function NodeGitRepositoryConnectionUioToJSON(json) {
|
|
50
|
+
return NodeGitRepositoryConnectionUioToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function NodeGitRepositoryConnectionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'mode': value['mode'],
|
|
58
|
+
'connectionId': value['connectionId'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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 { NodeGitRepositoryConnectionUio } from './NodeGitRepositoryConnectionUio';
|
|
13
|
+
/**
|
|
14
|
+
* Un dépôt sur lequel l'agent travaille ; cloné par le nœud dans le dossier `alias`.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface NodeGitRepositoryUio
|
|
17
|
+
*/
|
|
18
|
+
export interface NodeGitRepositoryUio {
|
|
19
|
+
/**
|
|
20
|
+
* Dossier du dépôt dans l'environnement, en minuscules (lettres, chiffres, . _ -).
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof NodeGitRepositoryUio
|
|
23
|
+
*/
|
|
24
|
+
alias: string;
|
|
25
|
+
/**
|
|
26
|
+
* URL HTTPS du dépôt, sans identifiants.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof NodeGitRepositoryUio
|
|
29
|
+
*/
|
|
30
|
+
url: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof NodeGitRepositoryUio
|
|
35
|
+
*/
|
|
36
|
+
baseBranch: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {NodeGitRepositoryConnectionUio}
|
|
40
|
+
* @memberof NodeGitRepositoryUio
|
|
41
|
+
*/
|
|
42
|
+
connection: NodeGitRepositoryConnectionUio;
|
|
43
|
+
/**
|
|
44
|
+
* Cloné à la création de l'environnement, ou seulement quand l'agent le demande.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof NodeGitRepositoryUio
|
|
47
|
+
*/
|
|
48
|
+
clone?: NodeGitRepositoryUioCloneEnum;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof NodeGitRepositoryUio
|
|
53
|
+
*/
|
|
54
|
+
access?: NodeGitRepositoryUioAccessEnum;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @export
|
|
58
|
+
*/
|
|
59
|
+
export declare const NodeGitRepositoryUioCloneEnum: {
|
|
60
|
+
readonly Eager: "eager";
|
|
61
|
+
readonly OnDemand: "on_demand";
|
|
62
|
+
};
|
|
63
|
+
export type NodeGitRepositoryUioCloneEnum = typeof NodeGitRepositoryUioCloneEnum[keyof typeof NodeGitRepositoryUioCloneEnum];
|
|
64
|
+
/**
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export declare const NodeGitRepositoryUioAccessEnum: {
|
|
68
|
+
readonly Read: "read";
|
|
69
|
+
readonly Write: "write";
|
|
70
|
+
};
|
|
71
|
+
export type NodeGitRepositoryUioAccessEnum = typeof NodeGitRepositoryUioAccessEnum[keyof typeof NodeGitRepositoryUioAccessEnum];
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the NodeGitRepositoryUio interface.
|
|
74
|
+
*/
|
|
75
|
+
export declare function instanceOfNodeGitRepositoryUio(value: object): value is NodeGitRepositoryUio;
|
|
76
|
+
export declare function NodeGitRepositoryUioFromJSON(json: any): NodeGitRepositoryUio;
|
|
77
|
+
export declare function NodeGitRepositoryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeGitRepositoryUio;
|
|
78
|
+
export declare function NodeGitRepositoryUioToJSON(json: any): NodeGitRepositoryUio;
|
|
79
|
+
export declare function NodeGitRepositoryUioToJSONTyped(value?: NodeGitRepositoryUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,82 @@
|
|
|
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.NodeGitRepositoryUioAccessEnum = exports.NodeGitRepositoryUioCloneEnum = void 0;
|
|
17
|
+
exports.instanceOfNodeGitRepositoryUio = instanceOfNodeGitRepositoryUio;
|
|
18
|
+
exports.NodeGitRepositoryUioFromJSON = NodeGitRepositoryUioFromJSON;
|
|
19
|
+
exports.NodeGitRepositoryUioFromJSONTyped = NodeGitRepositoryUioFromJSONTyped;
|
|
20
|
+
exports.NodeGitRepositoryUioToJSON = NodeGitRepositoryUioToJSON;
|
|
21
|
+
exports.NodeGitRepositoryUioToJSONTyped = NodeGitRepositoryUioToJSONTyped;
|
|
22
|
+
const NodeGitRepositoryConnectionUio_1 = require("./NodeGitRepositoryConnectionUio");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.NodeGitRepositoryUioCloneEnum = {
|
|
27
|
+
Eager: 'eager',
|
|
28
|
+
OnDemand: 'on_demand'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.NodeGitRepositoryUioAccessEnum = {
|
|
34
|
+
Read: 'read',
|
|
35
|
+
Write: 'write'
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the NodeGitRepositoryUio interface.
|
|
39
|
+
*/
|
|
40
|
+
function instanceOfNodeGitRepositoryUio(value) {
|
|
41
|
+
if (!('alias' in value) || value['alias'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('baseBranch' in value) || value['baseBranch'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('connection' in value) || value['connection'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function NodeGitRepositoryUioFromJSON(json) {
|
|
52
|
+
return NodeGitRepositoryUioFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function NodeGitRepositoryUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'alias': json['alias'],
|
|
60
|
+
'url': json['url'],
|
|
61
|
+
'baseBranch': json['baseBranch'],
|
|
62
|
+
'connection': (0, NodeGitRepositoryConnectionUio_1.NodeGitRepositoryConnectionUioFromJSON)(json['connection']),
|
|
63
|
+
'clone': json['clone'] == null ? undefined : json['clone'],
|
|
64
|
+
'access': json['access'] == null ? undefined : json['access'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function NodeGitRepositoryUioToJSON(json) {
|
|
68
|
+
return NodeGitRepositoryUioToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
function NodeGitRepositoryUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'alias': value['alias'],
|
|
76
|
+
'url': value['url'],
|
|
77
|
+
'baseBranch': value['baseBranch'],
|
|
78
|
+
'connection': (0, NodeGitRepositoryConnectionUio_1.NodeGitRepositoryConnectionUioToJSON)(value['connection']),
|
|
79
|
+
'clone': value['clone'],
|
|
80
|
+
'access': value['access'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { NodeAgentGitConfigUio } from './NodeAgentGitConfigUio';
|
|
12
13
|
/**
|
|
13
14
|
* `{ mode: server }` ramène l'agent sur le serveur Breign. `{ mode: node, … }` le fait tourner sur un nœud ; seul son propriétaire peut le choisir, sur un runtime et un alias déclarés. `{ mode: group, … }` le rattache à un groupe de nœuds de son organisation (`nodeGroup.read`).
|
|
14
15
|
* @export
|
|
@@ -52,7 +53,7 @@ export interface SetAgentExecutionRequestUio {
|
|
|
52
53
|
*/
|
|
53
54
|
runtime?: SetAgentExecutionRequestUioRuntimeEnum;
|
|
54
55
|
/**
|
|
55
|
-
*
|
|
56
|
+
* Sans `git`, le dossier du nœud ; ignoré avec `git`.
|
|
56
57
|
* @type {string}
|
|
57
58
|
* @memberof SetAgentExecutionRequestUio
|
|
58
59
|
*/
|
|
@@ -63,6 +64,12 @@ export interface SetAgentExecutionRequestUio {
|
|
|
63
64
|
* @memberof SetAgentExecutionRequestUio
|
|
64
65
|
*/
|
|
65
66
|
autoResume?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Les dépôts Git de l'agent, clonés par le nœud (nœuds v3) ; remplace `workspaceAlias`.
|
|
69
|
+
* @type {NodeAgentGitConfigUio}
|
|
70
|
+
* @memberof SetAgentExecutionRequestUio
|
|
71
|
+
*/
|
|
72
|
+
git?: NodeAgentGitConfigUio | null;
|
|
66
73
|
}
|
|
67
74
|
/**
|
|
68
75
|
* @export
|
|
@@ -19,6 +19,7 @@ exports.SetAgentExecutionRequestUioFromJSON = SetAgentExecutionRequestUioFromJSO
|
|
|
19
19
|
exports.SetAgentExecutionRequestUioFromJSONTyped = SetAgentExecutionRequestUioFromJSONTyped;
|
|
20
20
|
exports.SetAgentExecutionRequestUioToJSON = SetAgentExecutionRequestUioToJSON;
|
|
21
21
|
exports.SetAgentExecutionRequestUioToJSONTyped = SetAgentExecutionRequestUioToJSONTyped;
|
|
22
|
+
const NodeAgentGitConfigUio_1 = require("./NodeAgentGitConfigUio");
|
|
22
23
|
/**
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
@@ -59,6 +60,7 @@ function SetAgentExecutionRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
60
|
'runtime': json['runtime'] == null ? undefined : json['runtime'],
|
|
60
61
|
'workspaceAlias': json['workspaceAlias'] == null ? undefined : json['workspaceAlias'],
|
|
61
62
|
'autoResume': json['autoResume'] == null ? undefined : json['autoResume'],
|
|
63
|
+
'git': json['git'] == null ? undefined : (0, NodeAgentGitConfigUio_1.NodeAgentGitConfigUioFromJSON)(json['git']),
|
|
62
64
|
};
|
|
63
65
|
}
|
|
64
66
|
function SetAgentExecutionRequestUioToJSON(json) {
|
|
@@ -77,5 +79,6 @@ function SetAgentExecutionRequestUioToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
77
79
|
'runtime': value['runtime'],
|
|
78
80
|
'workspaceAlias': value['workspaceAlias'],
|
|
79
81
|
'autoResume': value['autoResume'],
|
|
82
|
+
'git': (0, NodeAgentGitConfigUio_1.NodeAgentGitConfigUioToJSON)(value['git']),
|
|
80
83
|
};
|
|
81
84
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -82,6 +82,8 @@ export * from './AgentSandboxConfigurationUio';
|
|
|
82
82
|
export * from './AgentSandboxNetworkConfigurationUio';
|
|
83
83
|
export * from './AgentSubscriptionTextInteractionsUio';
|
|
84
84
|
export * from './AgentSubscriptionUio';
|
|
85
|
+
export * from './AgentSubtaskConfigurationUio';
|
|
86
|
+
export * from './AgentSubtaskModelUio';
|
|
85
87
|
export * from './AgentTicketActivityUio';
|
|
86
88
|
export * from './AgentTicketCreationUio';
|
|
87
89
|
export * from './AgentTokenBreakdownUio';
|
|
@@ -371,6 +373,19 @@ export * from './FlowOptionsUio';
|
|
|
371
373
|
export * from './FlowUio';
|
|
372
374
|
export * from './GetJwks200ResponseUio';
|
|
373
375
|
export * from './GetUploadLimits200ResponseUio';
|
|
376
|
+
export * from './GitBotConnectionCreateUio';
|
|
377
|
+
export * from './GitConnectionKindUio';
|
|
378
|
+
export * from './GitConnectionUio';
|
|
379
|
+
export * from './GitGithubAppConnectionCreateUio';
|
|
380
|
+
export * from './GitOAuthAppCreateUio';
|
|
381
|
+
export * from './GitOAuthAppUio';
|
|
382
|
+
export * from './GitOAuthAppUpdateUio';
|
|
383
|
+
export * from './GitOAuthAuthorizeRequestUio';
|
|
384
|
+
export * from './GitOAuthAuthorizeResponseUio';
|
|
385
|
+
export * from './GitOAuthCompleteRequestUio';
|
|
386
|
+
export * from './GitOAuthCompleteResponseUio';
|
|
387
|
+
export * from './GitOAuthConfigUio';
|
|
388
|
+
export * from './GitProviderUio';
|
|
374
389
|
export * from './GitlabAccessLevelUio';
|
|
375
390
|
export * from './GitlabBotAccountCreateUio';
|
|
376
391
|
export * from './GitlabBotAccountSummaryUio';
|
|
@@ -515,7 +530,11 @@ export * from './ModelUserAccessUio';
|
|
|
515
530
|
export * from './MoveTicketsRequestUio';
|
|
516
531
|
export * from './MoveTicketsResultUio';
|
|
517
532
|
export * from './MovedTicketUio';
|
|
533
|
+
export * from './NodeAgentGitConfigAuthorUio';
|
|
534
|
+
export * from './NodeAgentGitConfigUio';
|
|
518
535
|
export * from './NodeAssociationPolicyUio';
|
|
536
|
+
export * from './NodeGitRepositoryConnectionUio';
|
|
537
|
+
export * from './NodeGitRepositoryUio';
|
|
519
538
|
export * from './NodeGroupAgentUio';
|
|
520
539
|
export * from './NodeGroupBulkIdsUio';
|
|
521
540
|
export * from './NodeGroupBulkResultResultsInnerUio';
|
package/dist/models/index.js
CHANGED
|
@@ -100,6 +100,8 @@ __exportStar(require("./AgentSandboxConfigurationUio"), exports);
|
|
|
100
100
|
__exportStar(require("./AgentSandboxNetworkConfigurationUio"), exports);
|
|
101
101
|
__exportStar(require("./AgentSubscriptionTextInteractionsUio"), exports);
|
|
102
102
|
__exportStar(require("./AgentSubscriptionUio"), exports);
|
|
103
|
+
__exportStar(require("./AgentSubtaskConfigurationUio"), exports);
|
|
104
|
+
__exportStar(require("./AgentSubtaskModelUio"), exports);
|
|
103
105
|
__exportStar(require("./AgentTicketActivityUio"), exports);
|
|
104
106
|
__exportStar(require("./AgentTicketCreationUio"), exports);
|
|
105
107
|
__exportStar(require("./AgentTokenBreakdownUio"), exports);
|
|
@@ -389,6 +391,19 @@ __exportStar(require("./FlowOptionsUio"), exports);
|
|
|
389
391
|
__exportStar(require("./FlowUio"), exports);
|
|
390
392
|
__exportStar(require("./GetJwks200ResponseUio"), exports);
|
|
391
393
|
__exportStar(require("./GetUploadLimits200ResponseUio"), exports);
|
|
394
|
+
__exportStar(require("./GitBotConnectionCreateUio"), exports);
|
|
395
|
+
__exportStar(require("./GitConnectionKindUio"), exports);
|
|
396
|
+
__exportStar(require("./GitConnectionUio"), exports);
|
|
397
|
+
__exportStar(require("./GitGithubAppConnectionCreateUio"), exports);
|
|
398
|
+
__exportStar(require("./GitOAuthAppCreateUio"), exports);
|
|
399
|
+
__exportStar(require("./GitOAuthAppUio"), exports);
|
|
400
|
+
__exportStar(require("./GitOAuthAppUpdateUio"), exports);
|
|
401
|
+
__exportStar(require("./GitOAuthAuthorizeRequestUio"), exports);
|
|
402
|
+
__exportStar(require("./GitOAuthAuthorizeResponseUio"), exports);
|
|
403
|
+
__exportStar(require("./GitOAuthCompleteRequestUio"), exports);
|
|
404
|
+
__exportStar(require("./GitOAuthCompleteResponseUio"), exports);
|
|
405
|
+
__exportStar(require("./GitOAuthConfigUio"), exports);
|
|
406
|
+
__exportStar(require("./GitProviderUio"), exports);
|
|
392
407
|
__exportStar(require("./GitlabAccessLevelUio"), exports);
|
|
393
408
|
__exportStar(require("./GitlabBotAccountCreateUio"), exports);
|
|
394
409
|
__exportStar(require("./GitlabBotAccountSummaryUio"), exports);
|
|
@@ -533,7 +548,11 @@ __exportStar(require("./ModelUserAccessUio"), exports);
|
|
|
533
548
|
__exportStar(require("./MoveTicketsRequestUio"), exports);
|
|
534
549
|
__exportStar(require("./MoveTicketsResultUio"), exports);
|
|
535
550
|
__exportStar(require("./MovedTicketUio"), exports);
|
|
551
|
+
__exportStar(require("./NodeAgentGitConfigAuthorUio"), exports);
|
|
552
|
+
__exportStar(require("./NodeAgentGitConfigUio"), exports);
|
|
536
553
|
__exportStar(require("./NodeAssociationPolicyUio"), exports);
|
|
554
|
+
__exportStar(require("./NodeGitRepositoryConnectionUio"), exports);
|
|
555
|
+
__exportStar(require("./NodeGitRepositoryUio"), exports);
|
|
537
556
|
__exportStar(require("./NodeGroupAgentUio"), exports);
|
|
538
557
|
__exportStar(require("./NodeGroupBulkIdsUio"), exports);
|
|
539
558
|
__exportStar(require("./NodeGroupBulkResultResultsInnerUio"), exports);
|