@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.
- 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/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 +820 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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.instanceOfGitOAuthAppUpdateUio = instanceOfGitOAuthAppUpdateUio;
|
|
17
|
+
exports.GitOAuthAppUpdateUioFromJSON = GitOAuthAppUpdateUioFromJSON;
|
|
18
|
+
exports.GitOAuthAppUpdateUioFromJSONTyped = GitOAuthAppUpdateUioFromJSONTyped;
|
|
19
|
+
exports.GitOAuthAppUpdateUioToJSON = GitOAuthAppUpdateUioToJSON;
|
|
20
|
+
exports.GitOAuthAppUpdateUioToJSONTyped = GitOAuthAppUpdateUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GitOAuthAppUpdateUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGitOAuthAppUpdateUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function GitOAuthAppUpdateUioFromJSON(json) {
|
|
28
|
+
return GitOAuthAppUpdateUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function GitOAuthAppUpdateUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'clientId': json['clientId'] == null ? undefined : json['clientId'],
|
|
36
|
+
'clientSecret': json['clientSecret'] == null ? undefined : json['clientSecret'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function GitOAuthAppUpdateUioToJSON(json) {
|
|
40
|
+
return GitOAuthAppUpdateUioToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function GitOAuthAppUpdateUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'clientId': value['clientId'],
|
|
48
|
+
'clientSecret': value['clientSecret'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 GitOAuthAuthorizeRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface GitOAuthAuthorizeRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
* Chemin de Breign App où revenir après la connexion (commence par `/`).
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GitOAuthAuthorizeRequestUio
|
|
22
|
+
*/
|
|
23
|
+
returnTo?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GitOAuthAuthorizeRequestUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGitOAuthAuthorizeRequestUio(value: object): value is GitOAuthAuthorizeRequestUio;
|
|
29
|
+
export declare function GitOAuthAuthorizeRequestUioFromJSON(json: any): GitOAuthAuthorizeRequestUio;
|
|
30
|
+
export declare function GitOAuthAuthorizeRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitOAuthAuthorizeRequestUio;
|
|
31
|
+
export declare function GitOAuthAuthorizeRequestUioToJSON(json: any): GitOAuthAuthorizeRequestUio;
|
|
32
|
+
export declare function GitOAuthAuthorizeRequestUioToJSONTyped(value?: GitOAuthAuthorizeRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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.instanceOfGitOAuthAuthorizeRequestUio = instanceOfGitOAuthAuthorizeRequestUio;
|
|
17
|
+
exports.GitOAuthAuthorizeRequestUioFromJSON = GitOAuthAuthorizeRequestUioFromJSON;
|
|
18
|
+
exports.GitOAuthAuthorizeRequestUioFromJSONTyped = GitOAuthAuthorizeRequestUioFromJSONTyped;
|
|
19
|
+
exports.GitOAuthAuthorizeRequestUioToJSON = GitOAuthAuthorizeRequestUioToJSON;
|
|
20
|
+
exports.GitOAuthAuthorizeRequestUioToJSONTyped = GitOAuthAuthorizeRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GitOAuthAuthorizeRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGitOAuthAuthorizeRequestUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function GitOAuthAuthorizeRequestUioFromJSON(json) {
|
|
28
|
+
return GitOAuthAuthorizeRequestUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function GitOAuthAuthorizeRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'returnTo': json['returnTo'] == null ? undefined : json['returnTo'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function GitOAuthAuthorizeRequestUioToJSON(json) {
|
|
39
|
+
return GitOAuthAuthorizeRequestUioToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function GitOAuthAuthorizeRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'returnTo': value['returnTo'],
|
|
47
|
+
};
|
|
48
|
+
}
|