@breign/client 1.0.213 → 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.
Files changed (59) hide show
  1. package/README.md +1 -5
  2. package/dist/apis/GitApi.d.ts +166 -0
  3. package/dist/apis/GitApi.js +406 -0
  4. package/dist/apis/index.d.ts +1 -0
  5. package/dist/apis/index.js +1 -0
  6. package/dist/models/AgentExecutionGroupChoiceUio.d.ts +6 -0
  7. package/dist/models/AgentExecutionGroupChoiceUio.js +2 -0
  8. package/dist/models/AgentExecutionNodeChoiceUio.d.ts +6 -0
  9. package/dist/models/AgentExecutionNodeChoiceUio.js +2 -0
  10. package/dist/models/AgentExecutionUio.d.ts +7 -0
  11. package/dist/models/AgentExecutionUio.js +3 -0
  12. package/dist/models/AgentPatchUio.d.ts +7 -0
  13. package/dist/models/AgentPatchUio.js +3 -0
  14. package/dist/models/AgentSubtaskConfigurationUio.d.ts +39 -0
  15. package/dist/models/AgentSubtaskConfigurationUio.js +51 -0
  16. package/dist/models/AgentSubtaskModelUio.d.ts +38 -0
  17. package/dist/models/AgentSubtaskModelUio.js +54 -0
  18. package/dist/models/AgentUio.d.ts +7 -0
  19. package/dist/models/AgentUio.js +3 -0
  20. package/dist/models/GitBotConnectionCreateUio.d.ts +38 -0
  21. package/dist/models/GitBotConnectionCreateUio.js +52 -0
  22. package/dist/models/GitConnectionKindUio.d.ts +26 -0
  23. package/dist/models/GitConnectionKindUio.js +52 -0
  24. package/dist/models/GitConnectionUio.d.ts +115 -0
  25. package/dist/models/GitConnectionUio.js +101 -0
  26. package/dist/models/GitGithubAppConnectionCreateUio.d.ts +56 -0
  27. package/dist/models/GitGithubAppConnectionCreateUio.js +62 -0
  28. package/dist/models/GitOAuthAppCreateUio.d.ts +51 -0
  29. package/dist/models/GitOAuthAppCreateUio.js +63 -0
  30. package/dist/models/GitOAuthAppUio.d.ts +81 -0
  31. package/dist/models/GitOAuthAppUio.js +77 -0
  32. package/dist/models/GitOAuthAppUpdateUio.d.ts +38 -0
  33. package/dist/models/GitOAuthAppUpdateUio.js +50 -0
  34. package/dist/models/GitOAuthAuthorizeRequestUio.d.ts +32 -0
  35. package/dist/models/GitOAuthAuthorizeRequestUio.js +48 -0
  36. package/dist/models/GitOAuthAuthorizeResponseUio.d.ts +32 -0
  37. package/dist/models/GitOAuthAuthorizeResponseUio.js +50 -0
  38. package/dist/models/GitOAuthCompleteRequestUio.d.ts +38 -0
  39. package/dist/models/GitOAuthCompleteRequestUio.js +54 -0
  40. package/dist/models/GitOAuthCompleteResponseUio.d.ts +39 -0
  41. package/dist/models/GitOAuthCompleteResponseUio.js +55 -0
  42. package/dist/models/GitOAuthConfigUio.d.ts +32 -0
  43. package/dist/models/GitOAuthConfigUio.js +50 -0
  44. package/dist/models/GitProviderUio.d.ts +25 -0
  45. package/dist/models/GitProviderUio.js +51 -0
  46. package/dist/models/NodeAgentGitConfigAuthorUio.d.ts +38 -0
  47. package/dist/models/NodeAgentGitConfigAuthorUio.js +54 -0
  48. package/dist/models/NodeAgentGitConfigUio.d.ts +46 -0
  49. package/dist/models/NodeAgentGitConfigUio.js +56 -0
  50. package/dist/models/NodeGitRepositoryConnectionUio.d.ts +46 -0
  51. package/dist/models/NodeGitRepositoryConnectionUio.js +60 -0
  52. package/dist/models/NodeGitRepositoryUio.d.ts +79 -0
  53. package/dist/models/NodeGitRepositoryUio.js +82 -0
  54. package/dist/models/SetAgentExecutionRequestUio.d.ts +8 -1
  55. package/dist/models/SetAgentExecutionRequestUio.js +3 -0
  56. package/dist/models/index.d.ts +19 -0
  57. package/dist/models/index.js +19 -0
  58. package/dist/openapi.json +820 -0
  59. package/package.json +1 -1
@@ -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 GitOAuthAuthorizeResponseUio
16
+ */
17
+ export interface GitOAuthAuthorizeResponseUio {
18
+ /**
19
+ * L'adresse de la forge où envoyer le membre.
20
+ * @type {string}
21
+ * @memberof GitOAuthAuthorizeResponseUio
22
+ */
23
+ url: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the GitOAuthAuthorizeResponseUio interface.
27
+ */
28
+ export declare function instanceOfGitOAuthAuthorizeResponseUio(value: object): value is GitOAuthAuthorizeResponseUio;
29
+ export declare function GitOAuthAuthorizeResponseUioFromJSON(json: any): GitOAuthAuthorizeResponseUio;
30
+ export declare function GitOAuthAuthorizeResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitOAuthAuthorizeResponseUio;
31
+ export declare function GitOAuthAuthorizeResponseUioToJSON(json: any): GitOAuthAuthorizeResponseUio;
32
+ export declare function GitOAuthAuthorizeResponseUioToJSONTyped(value?: GitOAuthAuthorizeResponseUio | 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.instanceOfGitOAuthAuthorizeResponseUio = instanceOfGitOAuthAuthorizeResponseUio;
17
+ exports.GitOAuthAuthorizeResponseUioFromJSON = GitOAuthAuthorizeResponseUioFromJSON;
18
+ exports.GitOAuthAuthorizeResponseUioFromJSONTyped = GitOAuthAuthorizeResponseUioFromJSONTyped;
19
+ exports.GitOAuthAuthorizeResponseUioToJSON = GitOAuthAuthorizeResponseUioToJSON;
20
+ exports.GitOAuthAuthorizeResponseUioToJSONTyped = GitOAuthAuthorizeResponseUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GitOAuthAuthorizeResponseUio interface.
23
+ */
24
+ function instanceOfGitOAuthAuthorizeResponseUio(value) {
25
+ if (!('url' in value) || value['url'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function GitOAuthAuthorizeResponseUioFromJSON(json) {
30
+ return GitOAuthAuthorizeResponseUioFromJSONTyped(json, false);
31
+ }
32
+ function GitOAuthAuthorizeResponseUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'url': json['url'],
38
+ };
39
+ }
40
+ function GitOAuthAuthorizeResponseUioToJSON(json) {
41
+ return GitOAuthAuthorizeResponseUioToJSONTyped(json, false);
42
+ }
43
+ function GitOAuthAuthorizeResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'url': value['url'],
49
+ };
50
+ }
@@ -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 GitOAuthCompleteRequestUio
16
+ */
17
+ export interface GitOAuthCompleteRequestUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GitOAuthCompleteRequestUio
22
+ */
23
+ code: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GitOAuthCompleteRequestUio
28
+ */
29
+ state: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the GitOAuthCompleteRequestUio interface.
33
+ */
34
+ export declare function instanceOfGitOAuthCompleteRequestUio(value: object): value is GitOAuthCompleteRequestUio;
35
+ export declare function GitOAuthCompleteRequestUioFromJSON(json: any): GitOAuthCompleteRequestUio;
36
+ export declare function GitOAuthCompleteRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitOAuthCompleteRequestUio;
37
+ export declare function GitOAuthCompleteRequestUioToJSON(json: any): GitOAuthCompleteRequestUio;
38
+ export declare function GitOAuthCompleteRequestUioToJSONTyped(value?: GitOAuthCompleteRequestUio | 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.instanceOfGitOAuthCompleteRequestUio = instanceOfGitOAuthCompleteRequestUio;
17
+ exports.GitOAuthCompleteRequestUioFromJSON = GitOAuthCompleteRequestUioFromJSON;
18
+ exports.GitOAuthCompleteRequestUioFromJSONTyped = GitOAuthCompleteRequestUioFromJSONTyped;
19
+ exports.GitOAuthCompleteRequestUioToJSON = GitOAuthCompleteRequestUioToJSON;
20
+ exports.GitOAuthCompleteRequestUioToJSONTyped = GitOAuthCompleteRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GitOAuthCompleteRequestUio interface.
23
+ */
24
+ function instanceOfGitOAuthCompleteRequestUio(value) {
25
+ if (!('code' in value) || value['code'] === undefined)
26
+ return false;
27
+ if (!('state' in value) || value['state'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function GitOAuthCompleteRequestUioFromJSON(json) {
32
+ return GitOAuthCompleteRequestUioFromJSONTyped(json, false);
33
+ }
34
+ function GitOAuthCompleteRequestUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'code': json['code'],
40
+ 'state': json['state'],
41
+ };
42
+ }
43
+ function GitOAuthCompleteRequestUioToJSON(json) {
44
+ return GitOAuthCompleteRequestUioToJSONTyped(json, false);
45
+ }
46
+ function GitOAuthCompleteRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'code': value['code'],
52
+ 'state': value['state'],
53
+ };
54
+ }
@@ -0,0 +1,39 @@
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 { GitConnectionUio } from './GitConnectionUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GitOAuthCompleteResponseUio
17
+ */
18
+ export interface GitOAuthCompleteResponseUio {
19
+ /**
20
+ *
21
+ * @type {GitConnectionUio}
22
+ * @memberof GitOAuthCompleteResponseUio
23
+ */
24
+ connection: GitConnectionUio;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof GitOAuthCompleteResponseUio
29
+ */
30
+ returnTo: string | null;
31
+ }
32
+ /**
33
+ * Check if a given object implements the GitOAuthCompleteResponseUio interface.
34
+ */
35
+ export declare function instanceOfGitOAuthCompleteResponseUio(value: object): value is GitOAuthCompleteResponseUio;
36
+ export declare function GitOAuthCompleteResponseUioFromJSON(json: any): GitOAuthCompleteResponseUio;
37
+ export declare function GitOAuthCompleteResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitOAuthCompleteResponseUio;
38
+ export declare function GitOAuthCompleteResponseUioToJSON(json: any): GitOAuthCompleteResponseUio;
39
+ export declare function GitOAuthCompleteResponseUioToJSONTyped(value?: GitOAuthCompleteResponseUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfGitOAuthCompleteResponseUio = instanceOfGitOAuthCompleteResponseUio;
17
+ exports.GitOAuthCompleteResponseUioFromJSON = GitOAuthCompleteResponseUioFromJSON;
18
+ exports.GitOAuthCompleteResponseUioFromJSONTyped = GitOAuthCompleteResponseUioFromJSONTyped;
19
+ exports.GitOAuthCompleteResponseUioToJSON = GitOAuthCompleteResponseUioToJSON;
20
+ exports.GitOAuthCompleteResponseUioToJSONTyped = GitOAuthCompleteResponseUioToJSONTyped;
21
+ const GitConnectionUio_1 = require("./GitConnectionUio");
22
+ /**
23
+ * Check if a given object implements the GitOAuthCompleteResponseUio interface.
24
+ */
25
+ function instanceOfGitOAuthCompleteResponseUio(value) {
26
+ if (!('connection' in value) || value['connection'] === undefined)
27
+ return false;
28
+ if (!('returnTo' in value) || value['returnTo'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function GitOAuthCompleteResponseUioFromJSON(json) {
33
+ return GitOAuthCompleteResponseUioFromJSONTyped(json, false);
34
+ }
35
+ function GitOAuthCompleteResponseUioFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'connection': (0, GitConnectionUio_1.GitConnectionUioFromJSON)(json['connection']),
41
+ 'returnTo': json['returnTo'],
42
+ };
43
+ }
44
+ function GitOAuthCompleteResponseUioToJSON(json) {
45
+ return GitOAuthCompleteResponseUioToJSONTyped(json, false);
46
+ }
47
+ function GitOAuthCompleteResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'connection': (0, GitConnectionUio_1.GitConnectionUioToJSON)(value['connection']),
53
+ 'returnTo': value['returnTo'],
54
+ };
55
+ }
@@ -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 GitOAuthConfigUio
16
+ */
17
+ export interface GitOAuthConfigUio {
18
+ /**
19
+ * L'adresse de retour que l'API envoie à la forge ; à déclarer dans son application OAuth.
20
+ * @type {string}
21
+ * @memberof GitOAuthConfigUio
22
+ */
23
+ redirectUri: string | null;
24
+ }
25
+ /**
26
+ * Check if a given object implements the GitOAuthConfigUio interface.
27
+ */
28
+ export declare function instanceOfGitOAuthConfigUio(value: object): value is GitOAuthConfigUio;
29
+ export declare function GitOAuthConfigUioFromJSON(json: any): GitOAuthConfigUio;
30
+ export declare function GitOAuthConfigUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitOAuthConfigUio;
31
+ export declare function GitOAuthConfigUioToJSON(json: any): GitOAuthConfigUio;
32
+ export declare function GitOAuthConfigUioToJSONTyped(value?: GitOAuthConfigUio | 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.instanceOfGitOAuthConfigUio = instanceOfGitOAuthConfigUio;
17
+ exports.GitOAuthConfigUioFromJSON = GitOAuthConfigUioFromJSON;
18
+ exports.GitOAuthConfigUioFromJSONTyped = GitOAuthConfigUioFromJSONTyped;
19
+ exports.GitOAuthConfigUioToJSON = GitOAuthConfigUioToJSON;
20
+ exports.GitOAuthConfigUioToJSONTyped = GitOAuthConfigUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GitOAuthConfigUio interface.
23
+ */
24
+ function instanceOfGitOAuthConfigUio(value) {
25
+ if (!('redirectUri' in value) || value['redirectUri'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function GitOAuthConfigUioFromJSON(json) {
30
+ return GitOAuthConfigUioFromJSONTyped(json, false);
31
+ }
32
+ function GitOAuthConfigUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'redirectUri': json['redirectUri'],
38
+ };
39
+ }
40
+ function GitOAuthConfigUioToJSON(json) {
41
+ return GitOAuthConfigUioToJSONTyped(json, false);
42
+ }
43
+ function GitOAuthConfigUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'redirectUri': value['redirectUri'],
49
+ };
50
+ }
@@ -0,0 +1,25 @@
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
+ */
16
+ export declare const GitProviderUio: {
17
+ readonly Gitlab: "gitlab";
18
+ readonly Github: "github";
19
+ };
20
+ export type GitProviderUio = typeof GitProviderUio[keyof typeof GitProviderUio];
21
+ export declare function instanceOfGitProviderUio(value: any): boolean;
22
+ export declare function GitProviderUioFromJSON(json: any): GitProviderUio;
23
+ export declare function GitProviderUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitProviderUio;
24
+ export declare function GitProviderUioToJSON(value?: GitProviderUio | null): any;
25
+ export declare function GitProviderUioToJSONTyped(value: any, ignoreDiscriminator: boolean): GitProviderUio;
@@ -0,0 +1,51 @@
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.GitProviderUio = void 0;
17
+ exports.instanceOfGitProviderUio = instanceOfGitProviderUio;
18
+ exports.GitProviderUioFromJSON = GitProviderUioFromJSON;
19
+ exports.GitProviderUioFromJSONTyped = GitProviderUioFromJSONTyped;
20
+ exports.GitProviderUioToJSON = GitProviderUioToJSON;
21
+ exports.GitProviderUioToJSONTyped = GitProviderUioToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.GitProviderUio = {
27
+ Gitlab: 'gitlab',
28
+ Github: 'github'
29
+ };
30
+ function instanceOfGitProviderUio(value) {
31
+ for (const key in exports.GitProviderUio) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.GitProviderUio, key)) {
33
+ if (exports.GitProviderUio[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function GitProviderUioFromJSON(json) {
41
+ return GitProviderUioFromJSONTyped(json, false);
42
+ }
43
+ function GitProviderUioFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function GitProviderUioToJSON(value) {
47
+ return value;
48
+ }
49
+ function GitProviderUioToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -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
+ * Auteur des commits (défaut l'identité de la connexion).
14
+ * @export
15
+ * @interface NodeAgentGitConfigAuthorUio
16
+ */
17
+ export interface NodeAgentGitConfigAuthorUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof NodeAgentGitConfigAuthorUio
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof NodeAgentGitConfigAuthorUio
28
+ */
29
+ email: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the NodeAgentGitConfigAuthorUio interface.
33
+ */
34
+ export declare function instanceOfNodeAgentGitConfigAuthorUio(value: object): value is NodeAgentGitConfigAuthorUio;
35
+ export declare function NodeAgentGitConfigAuthorUioFromJSON(json: any): NodeAgentGitConfigAuthorUio;
36
+ export declare function NodeAgentGitConfigAuthorUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeAgentGitConfigAuthorUio;
37
+ export declare function NodeAgentGitConfigAuthorUioToJSON(json: any): NodeAgentGitConfigAuthorUio;
38
+ export declare function NodeAgentGitConfigAuthorUioToJSONTyped(value?: NodeAgentGitConfigAuthorUio | 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.instanceOfNodeAgentGitConfigAuthorUio = instanceOfNodeAgentGitConfigAuthorUio;
17
+ exports.NodeAgentGitConfigAuthorUioFromJSON = NodeAgentGitConfigAuthorUioFromJSON;
18
+ exports.NodeAgentGitConfigAuthorUioFromJSONTyped = NodeAgentGitConfigAuthorUioFromJSONTyped;
19
+ exports.NodeAgentGitConfigAuthorUioToJSON = NodeAgentGitConfigAuthorUioToJSON;
20
+ exports.NodeAgentGitConfigAuthorUioToJSONTyped = NodeAgentGitConfigAuthorUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NodeAgentGitConfigAuthorUio interface.
23
+ */
24
+ function instanceOfNodeAgentGitConfigAuthorUio(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('email' in value) || value['email'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function NodeAgentGitConfigAuthorUioFromJSON(json) {
32
+ return NodeAgentGitConfigAuthorUioFromJSONTyped(json, false);
33
+ }
34
+ function NodeAgentGitConfigAuthorUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'name': json['name'],
40
+ 'email': json['email'],
41
+ };
42
+ }
43
+ function NodeAgentGitConfigAuthorUioToJSON(json) {
44
+ return NodeAgentGitConfigAuthorUioToJSONTyped(json, false);
45
+ }
46
+ function NodeAgentGitConfigAuthorUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'name': value['name'],
52
+ 'email': value['email'],
53
+ };
54
+ }
@@ -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;