@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,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
|
+
}
|
|
@@ -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
|
+
}
|