@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.
Files changed (62) 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/AppUio.d.ts +3 -3
  21. package/dist/models/AppUio.js +2 -2
  22. package/dist/models/AppUpdateRequestUio.d.ts +1 -1
  23. package/dist/models/GitBotConnectionCreateUio.d.ts +38 -0
  24. package/dist/models/GitBotConnectionCreateUio.js +52 -0
  25. package/dist/models/GitConnectionKindUio.d.ts +26 -0
  26. package/dist/models/GitConnectionKindUio.js +52 -0
  27. package/dist/models/GitConnectionUio.d.ts +115 -0
  28. package/dist/models/GitConnectionUio.js +101 -0
  29. package/dist/models/GitGithubAppConnectionCreateUio.d.ts +56 -0
  30. package/dist/models/GitGithubAppConnectionCreateUio.js +62 -0
  31. package/dist/models/GitOAuthAppCreateUio.d.ts +51 -0
  32. package/dist/models/GitOAuthAppCreateUio.js +63 -0
  33. package/dist/models/GitOAuthAppUio.d.ts +81 -0
  34. package/dist/models/GitOAuthAppUio.js +77 -0
  35. package/dist/models/GitOAuthAppUpdateUio.d.ts +38 -0
  36. package/dist/models/GitOAuthAppUpdateUio.js +50 -0
  37. package/dist/models/GitOAuthAuthorizeRequestUio.d.ts +32 -0
  38. package/dist/models/GitOAuthAuthorizeRequestUio.js +48 -0
  39. package/dist/models/GitOAuthAuthorizeResponseUio.d.ts +32 -0
  40. package/dist/models/GitOAuthAuthorizeResponseUio.js +50 -0
  41. package/dist/models/GitOAuthCompleteRequestUio.d.ts +38 -0
  42. package/dist/models/GitOAuthCompleteRequestUio.js +54 -0
  43. package/dist/models/GitOAuthCompleteResponseUio.d.ts +39 -0
  44. package/dist/models/GitOAuthCompleteResponseUio.js +55 -0
  45. package/dist/models/GitOAuthConfigUio.d.ts +32 -0
  46. package/dist/models/GitOAuthConfigUio.js +50 -0
  47. package/dist/models/GitProviderUio.d.ts +25 -0
  48. package/dist/models/GitProviderUio.js +51 -0
  49. package/dist/models/NodeAgentGitConfigAuthorUio.d.ts +38 -0
  50. package/dist/models/NodeAgentGitConfigAuthorUio.js +54 -0
  51. package/dist/models/NodeAgentGitConfigUio.d.ts +46 -0
  52. package/dist/models/NodeAgentGitConfigUio.js +56 -0
  53. package/dist/models/NodeGitRepositoryConnectionUio.d.ts +46 -0
  54. package/dist/models/NodeGitRepositoryConnectionUio.js +60 -0
  55. package/dist/models/NodeGitRepositoryUio.d.ts +79 -0
  56. package/dist/models/NodeGitRepositoryUio.js +82 -0
  57. package/dist/models/SetAgentExecutionRequestUio.d.ts +8 -1
  58. package/dist/models/SetAgentExecutionRequestUio.js +3 -0
  59. package/dist/models/index.d.ts +19 -0
  60. package/dist/models/index.js +19 -0
  61. package/dist/openapi.json +824 -2
  62. package/package.json +1 -1
@@ -0,0 +1,115 @@
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 { GitConnectionKindUio } from './GitConnectionKindUio';
13
+ import type { GitProviderUio } from './GitProviderUio';
14
+ /**
15
+ * Une connexion Git ; ses jetons ne sortent jamais.
16
+ * @export
17
+ * @interface GitConnectionUio
18
+ */
19
+ export interface GitConnectionUio {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof GitConnectionUio
24
+ */
25
+ id: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof GitConnectionUio
30
+ */
31
+ organizationId: string;
32
+ /**
33
+ *
34
+ * @type {GitProviderUio}
35
+ * @memberof GitConnectionUio
36
+ */
37
+ provider: GitProviderUio;
38
+ /**
39
+ *
40
+ * @type {GitConnectionKindUio}
41
+ * @memberof GitConnectionUio
42
+ */
43
+ kind: GitConnectionKindUio;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof GitConnectionUio
48
+ */
49
+ baseUrl: string;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof GitConnectionUio
54
+ */
55
+ name: string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof GitConnectionUio
60
+ */
61
+ userId?: string | null;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof GitConnectionUio
66
+ */
67
+ externalUsername?: string | null;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof GitConnectionUio
72
+ */
73
+ expiresAt?: string | null;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof GitConnectionUio
78
+ */
79
+ status: GitConnectionUioStatusEnum;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof GitConnectionUio
84
+ */
85
+ lastError?: string | null;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof GitConnectionUio
90
+ */
91
+ createdAt: string;
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof GitConnectionUio
96
+ */
97
+ updatedAt: string;
98
+ }
99
+ /**
100
+ * @export
101
+ */
102
+ export declare const GitConnectionUioStatusEnum: {
103
+ readonly Active: "active";
104
+ readonly TokenInvalid: "token_invalid";
105
+ readonly Disabled: "disabled";
106
+ };
107
+ export type GitConnectionUioStatusEnum = typeof GitConnectionUioStatusEnum[keyof typeof GitConnectionUioStatusEnum];
108
+ /**
109
+ * Check if a given object implements the GitConnectionUio interface.
110
+ */
111
+ export declare function instanceOfGitConnectionUio(value: object): value is GitConnectionUio;
112
+ export declare function GitConnectionUioFromJSON(json: any): GitConnectionUio;
113
+ export declare function GitConnectionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitConnectionUio;
114
+ export declare function GitConnectionUioToJSON(json: any): GitConnectionUio;
115
+ export declare function GitConnectionUioToJSONTyped(value?: GitConnectionUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,101 @@
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.GitConnectionUioStatusEnum = void 0;
17
+ exports.instanceOfGitConnectionUio = instanceOfGitConnectionUio;
18
+ exports.GitConnectionUioFromJSON = GitConnectionUioFromJSON;
19
+ exports.GitConnectionUioFromJSONTyped = GitConnectionUioFromJSONTyped;
20
+ exports.GitConnectionUioToJSON = GitConnectionUioToJSON;
21
+ exports.GitConnectionUioToJSONTyped = GitConnectionUioToJSONTyped;
22
+ const GitConnectionKindUio_1 = require("./GitConnectionKindUio");
23
+ const GitProviderUio_1 = require("./GitProviderUio");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.GitConnectionUioStatusEnum = {
28
+ Active: 'active',
29
+ TokenInvalid: 'token_invalid',
30
+ Disabled: 'disabled'
31
+ };
32
+ /**
33
+ * Check if a given object implements the GitConnectionUio interface.
34
+ */
35
+ function instanceOfGitConnectionUio(value) {
36
+ if (!('id' in value) || value['id'] === undefined)
37
+ return false;
38
+ if (!('organizationId' in value) || value['organizationId'] === undefined)
39
+ return false;
40
+ if (!('provider' in value) || value['provider'] === undefined)
41
+ return false;
42
+ if (!('kind' in value) || value['kind'] === undefined)
43
+ return false;
44
+ if (!('baseUrl' in value) || value['baseUrl'] === undefined)
45
+ return false;
46
+ if (!('name' in value) || value['name'] === undefined)
47
+ return false;
48
+ if (!('status' in value) || value['status'] === undefined)
49
+ return false;
50
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
51
+ return false;
52
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
53
+ return false;
54
+ return true;
55
+ }
56
+ function GitConnectionUioFromJSON(json) {
57
+ return GitConnectionUioFromJSONTyped(json, false);
58
+ }
59
+ function GitConnectionUioFromJSONTyped(json, ignoreDiscriminator) {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+ 'id': json['id'],
65
+ 'organizationId': json['organizationId'],
66
+ 'provider': (0, GitProviderUio_1.GitProviderUioFromJSON)(json['provider']),
67
+ 'kind': (0, GitConnectionKindUio_1.GitConnectionKindUioFromJSON)(json['kind']),
68
+ 'baseUrl': json['baseUrl'],
69
+ 'name': json['name'],
70
+ 'userId': json['userId'] == null ? undefined : json['userId'],
71
+ 'externalUsername': json['externalUsername'] == null ? undefined : json['externalUsername'],
72
+ 'expiresAt': json['expiresAt'] == null ? undefined : json['expiresAt'],
73
+ 'status': json['status'],
74
+ 'lastError': json['lastError'] == null ? undefined : json['lastError'],
75
+ 'createdAt': json['createdAt'],
76
+ 'updatedAt': json['updatedAt'],
77
+ };
78
+ }
79
+ function GitConnectionUioToJSON(json) {
80
+ return GitConnectionUioToJSONTyped(json, false);
81
+ }
82
+ function GitConnectionUioToJSONTyped(value, ignoreDiscriminator = false) {
83
+ if (value == null) {
84
+ return value;
85
+ }
86
+ return {
87
+ 'id': value['id'],
88
+ 'organizationId': value['organizationId'],
89
+ 'provider': (0, GitProviderUio_1.GitProviderUioToJSON)(value['provider']),
90
+ 'kind': (0, GitConnectionKindUio_1.GitConnectionKindUioToJSON)(value['kind']),
91
+ 'baseUrl': value['baseUrl'],
92
+ 'name': value['name'],
93
+ 'userId': value['userId'],
94
+ 'externalUsername': value['externalUsername'],
95
+ 'expiresAt': value['expiresAt'],
96
+ 'status': value['status'],
97
+ 'lastError': value['lastError'],
98
+ 'createdAt': value['createdAt'],
99
+ 'updatedAt': value['updatedAt'],
100
+ };
101
+ }
@@ -0,0 +1,56 @@
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
+ * Une GitHub App installée sur une organisation GitHub, comme identité Git de l'organisation.
14
+ * @export
15
+ * @interface GitGithubAppConnectionCreateUio
16
+ */
17
+ export interface GitGithubAppConnectionCreateUio {
18
+ /**
19
+ * GitHub Enterprise Server (origine HTTPS) ; défaut https://github.com.
20
+ * @type {string}
21
+ * @memberof GitGithubAppConnectionCreateUio
22
+ */
23
+ baseUrl?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GitGithubAppConnectionCreateUio
28
+ */
29
+ appId: string;
30
+ /**
31
+ * Clé privée PEM de l'App ; chiffrée côté Breign, jamais rendue.
32
+ * @type {string}
33
+ * @memberof GitGithubAppConnectionCreateUio
34
+ */
35
+ privateKey: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof GitGithubAppConnectionCreateUio
40
+ */
41
+ installationId: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof GitGithubAppConnectionCreateUio
46
+ */
47
+ name?: string;
48
+ }
49
+ /**
50
+ * Check if a given object implements the GitGithubAppConnectionCreateUio interface.
51
+ */
52
+ export declare function instanceOfGitGithubAppConnectionCreateUio(value: object): value is GitGithubAppConnectionCreateUio;
53
+ export declare function GitGithubAppConnectionCreateUioFromJSON(json: any): GitGithubAppConnectionCreateUio;
54
+ export declare function GitGithubAppConnectionCreateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitGithubAppConnectionCreateUio;
55
+ export declare function GitGithubAppConnectionCreateUioToJSON(json: any): GitGithubAppConnectionCreateUio;
56
+ export declare function GitGithubAppConnectionCreateUioToJSONTyped(value?: GitGithubAppConnectionCreateUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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.instanceOfGitGithubAppConnectionCreateUio = instanceOfGitGithubAppConnectionCreateUio;
17
+ exports.GitGithubAppConnectionCreateUioFromJSON = GitGithubAppConnectionCreateUioFromJSON;
18
+ exports.GitGithubAppConnectionCreateUioFromJSONTyped = GitGithubAppConnectionCreateUioFromJSONTyped;
19
+ exports.GitGithubAppConnectionCreateUioToJSON = GitGithubAppConnectionCreateUioToJSON;
20
+ exports.GitGithubAppConnectionCreateUioToJSONTyped = GitGithubAppConnectionCreateUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GitGithubAppConnectionCreateUio interface.
23
+ */
24
+ function instanceOfGitGithubAppConnectionCreateUio(value) {
25
+ if (!('appId' in value) || value['appId'] === undefined)
26
+ return false;
27
+ if (!('privateKey' in value) || value['privateKey'] === undefined)
28
+ return false;
29
+ if (!('installationId' in value) || value['installationId'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function GitGithubAppConnectionCreateUioFromJSON(json) {
34
+ return GitGithubAppConnectionCreateUioFromJSONTyped(json, false);
35
+ }
36
+ function GitGithubAppConnectionCreateUioFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'baseUrl': json['baseUrl'] == null ? undefined : json['baseUrl'],
42
+ 'appId': json['appId'],
43
+ 'privateKey': json['privateKey'],
44
+ 'installationId': json['installationId'],
45
+ 'name': json['name'] == null ? undefined : json['name'],
46
+ };
47
+ }
48
+ function GitGithubAppConnectionCreateUioToJSON(json) {
49
+ return GitGithubAppConnectionCreateUioToJSONTyped(json, false);
50
+ }
51
+ function GitGithubAppConnectionCreateUioToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'baseUrl': value['baseUrl'],
57
+ 'appId': value['appId'],
58
+ 'privateKey': value['privateKey'],
59
+ 'installationId': value['installationId'],
60
+ 'name': value['name'],
61
+ };
62
+ }
@@ -0,0 +1,51 @@
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 { GitProviderUio } from './GitProviderUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GitOAuthAppCreateUio
17
+ */
18
+ export interface GitOAuthAppCreateUio {
19
+ /**
20
+ *
21
+ * @type {GitProviderUio}
22
+ * @memberof GitOAuthAppCreateUio
23
+ */
24
+ provider: GitProviderUio;
25
+ /**
26
+ * Origine HTTPS de la forge (https://gitlab.exemple.com).
27
+ * @type {string}
28
+ * @memberof GitOAuthAppCreateUio
29
+ */
30
+ baseUrl: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof GitOAuthAppCreateUio
35
+ */
36
+ clientId: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof GitOAuthAppCreateUio
41
+ */
42
+ clientSecret: string;
43
+ }
44
+ /**
45
+ * Check if a given object implements the GitOAuthAppCreateUio interface.
46
+ */
47
+ export declare function instanceOfGitOAuthAppCreateUio(value: object): value is GitOAuthAppCreateUio;
48
+ export declare function GitOAuthAppCreateUioFromJSON(json: any): GitOAuthAppCreateUio;
49
+ export declare function GitOAuthAppCreateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitOAuthAppCreateUio;
50
+ export declare function GitOAuthAppCreateUioToJSON(json: any): GitOAuthAppCreateUio;
51
+ export declare function GitOAuthAppCreateUioToJSONTyped(value?: GitOAuthAppCreateUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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.instanceOfGitOAuthAppCreateUio = instanceOfGitOAuthAppCreateUio;
17
+ exports.GitOAuthAppCreateUioFromJSON = GitOAuthAppCreateUioFromJSON;
18
+ exports.GitOAuthAppCreateUioFromJSONTyped = GitOAuthAppCreateUioFromJSONTyped;
19
+ exports.GitOAuthAppCreateUioToJSON = GitOAuthAppCreateUioToJSON;
20
+ exports.GitOAuthAppCreateUioToJSONTyped = GitOAuthAppCreateUioToJSONTyped;
21
+ const GitProviderUio_1 = require("./GitProviderUio");
22
+ /**
23
+ * Check if a given object implements the GitOAuthAppCreateUio interface.
24
+ */
25
+ function instanceOfGitOAuthAppCreateUio(value) {
26
+ if (!('provider' in value) || value['provider'] === undefined)
27
+ return false;
28
+ if (!('baseUrl' in value) || value['baseUrl'] === undefined)
29
+ return false;
30
+ if (!('clientId' in value) || value['clientId'] === undefined)
31
+ return false;
32
+ if (!('clientSecret' in value) || value['clientSecret'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function GitOAuthAppCreateUioFromJSON(json) {
37
+ return GitOAuthAppCreateUioFromJSONTyped(json, false);
38
+ }
39
+ function GitOAuthAppCreateUioFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'provider': (0, GitProviderUio_1.GitProviderUioFromJSON)(json['provider']),
45
+ 'baseUrl': json['baseUrl'],
46
+ 'clientId': json['clientId'],
47
+ 'clientSecret': json['clientSecret'],
48
+ };
49
+ }
50
+ function GitOAuthAppCreateUioToJSON(json) {
51
+ return GitOAuthAppCreateUioToJSONTyped(json, false);
52
+ }
53
+ function GitOAuthAppCreateUioToJSONTyped(value, ignoreDiscriminator = false) {
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'provider': (0, GitProviderUio_1.GitProviderUioToJSON)(value['provider']),
59
+ 'baseUrl': value['baseUrl'],
60
+ 'clientId': value['clientId'],
61
+ 'clientSecret': value['clientSecret'],
62
+ };
63
+ }
@@ -0,0 +1,81 @@
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 { GitProviderUio } from './GitProviderUio';
13
+ /**
14
+ * L'application OAuth d'une forge ; le secret ne sort jamais, l'identifiant seulement pour les admins.
15
+ * @export
16
+ * @interface GitOAuthAppUio
17
+ */
18
+ export interface GitOAuthAppUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof GitOAuthAppUio
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof GitOAuthAppUio
29
+ */
30
+ organizationId: string;
31
+ /**
32
+ *
33
+ * @type {GitProviderUio}
34
+ * @memberof GitOAuthAppUio
35
+ */
36
+ provider: GitProviderUio;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof GitOAuthAppUio
41
+ */
42
+ baseUrl: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof GitOAuthAppUio
47
+ */
48
+ clientId?: string;
49
+ /**
50
+ * À la création — l'URL de redirection à déclarer dans l'application de la forge.
51
+ * @type {string}
52
+ * @memberof GitOAuthAppUio
53
+ */
54
+ redirectUri?: string | null;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof GitOAuthAppUio
59
+ */
60
+ createdByUserId?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof GitOAuthAppUio
65
+ */
66
+ createdAt: string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof GitOAuthAppUio
71
+ */
72
+ updatedAt: string;
73
+ }
74
+ /**
75
+ * Check if a given object implements the GitOAuthAppUio interface.
76
+ */
77
+ export declare function instanceOfGitOAuthAppUio(value: object): value is GitOAuthAppUio;
78
+ export declare function GitOAuthAppUioFromJSON(json: any): GitOAuthAppUio;
79
+ export declare function GitOAuthAppUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitOAuthAppUio;
80
+ export declare function GitOAuthAppUioToJSON(json: any): GitOAuthAppUio;
81
+ export declare function GitOAuthAppUioToJSONTyped(value?: GitOAuthAppUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,77 @@
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.instanceOfGitOAuthAppUio = instanceOfGitOAuthAppUio;
17
+ exports.GitOAuthAppUioFromJSON = GitOAuthAppUioFromJSON;
18
+ exports.GitOAuthAppUioFromJSONTyped = GitOAuthAppUioFromJSONTyped;
19
+ exports.GitOAuthAppUioToJSON = GitOAuthAppUioToJSON;
20
+ exports.GitOAuthAppUioToJSONTyped = GitOAuthAppUioToJSONTyped;
21
+ const GitProviderUio_1 = require("./GitProviderUio");
22
+ /**
23
+ * Check if a given object implements the GitOAuthAppUio interface.
24
+ */
25
+ function instanceOfGitOAuthAppUio(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('organizationId' in value) || value['organizationId'] === undefined)
29
+ return false;
30
+ if (!('provider' in value) || value['provider'] === undefined)
31
+ return false;
32
+ if (!('baseUrl' in value) || value['baseUrl'] === undefined)
33
+ return false;
34
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
35
+ return false;
36
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function GitOAuthAppUioFromJSON(json) {
41
+ return GitOAuthAppUioFromJSONTyped(json, false);
42
+ }
43
+ function GitOAuthAppUioFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'id': json['id'],
49
+ 'organizationId': json['organizationId'],
50
+ 'provider': (0, GitProviderUio_1.GitProviderUioFromJSON)(json['provider']),
51
+ 'baseUrl': json['baseUrl'],
52
+ 'clientId': json['clientId'] == null ? undefined : json['clientId'],
53
+ 'redirectUri': json['redirectUri'] == null ? undefined : json['redirectUri'],
54
+ 'createdByUserId': json['createdByUserId'] == null ? undefined : json['createdByUserId'],
55
+ 'createdAt': json['createdAt'],
56
+ 'updatedAt': json['updatedAt'],
57
+ };
58
+ }
59
+ function GitOAuthAppUioToJSON(json) {
60
+ return GitOAuthAppUioToJSONTyped(json, false);
61
+ }
62
+ function GitOAuthAppUioToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'id': value['id'],
68
+ 'organizationId': value['organizationId'],
69
+ 'provider': (0, GitProviderUio_1.GitProviderUioToJSON)(value['provider']),
70
+ 'baseUrl': value['baseUrl'],
71
+ 'clientId': value['clientId'],
72
+ 'redirectUri': value['redirectUri'],
73
+ 'createdByUserId': value['createdByUserId'],
74
+ 'createdAt': value['createdAt'],
75
+ 'updatedAt': value['updatedAt'],
76
+ };
77
+ }
@@ -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 GitOAuthAppUpdateUio
16
+ */
17
+ export interface GitOAuthAppUpdateUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GitOAuthAppUpdateUio
22
+ */
23
+ clientId?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GitOAuthAppUpdateUio
28
+ */
29
+ clientSecret?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the GitOAuthAppUpdateUio interface.
33
+ */
34
+ export declare function instanceOfGitOAuthAppUpdateUio(value: object): value is GitOAuthAppUpdateUio;
35
+ export declare function GitOAuthAppUpdateUioFromJSON(json: any): GitOAuthAppUpdateUio;
36
+ export declare function GitOAuthAppUpdateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitOAuthAppUpdateUio;
37
+ export declare function GitOAuthAppUpdateUioToJSON(json: any): GitOAuthAppUpdateUio;
38
+ export declare function GitOAuthAppUpdateUioToJSONTyped(value?: GitOAuthAppUpdateUio | null, ignoreDiscriminator?: boolean): any;