@breign/client 1.0.183 → 1.0.185
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/dist/apis/OauthProviderApi.d.ts +155 -0
- package/dist/apis/OauthProviderApi.js +388 -0
- package/dist/apis/TicketsApi.d.ts +16 -1
- package/dist/apis/TicketsApi.js +37 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/InboxItemKindUio.d.ts +2 -1
- package/dist/models/InboxItemKindUio.js +2 -1
- package/dist/models/OAuthAuthorizationConsentRequestUio.d.ts +44 -0
- package/dist/models/OAuthAuthorizationConsentRequestUio.js +56 -0
- package/dist/models/OAuthAuthorizationRedirectUio.d.ts +32 -0
- package/dist/models/OAuthAuthorizationRedirectUio.js +50 -0
- package/dist/models/OAuthAuthorizationResumeClientUio.d.ts +50 -0
- package/dist/models/OAuthAuthorizationResumeClientUio.js +62 -0
- package/dist/models/OAuthAuthorizationResumeOrganizationUio.d.ts +38 -0
- package/dist/models/OAuthAuthorizationResumeOrganizationUio.js +54 -0
- package/dist/models/OAuthAuthorizationResumeRequestUio.d.ts +32 -0
- package/dist/models/OAuthAuthorizationResumeRequestUio.js +50 -0
- package/dist/models/OAuthAuthorizationResumeUio.d.ts +72 -0
- package/dist/models/OAuthAuthorizationResumeUio.js +70 -0
- package/dist/models/OAuthClientCreateUio.d.ts +77 -0
- package/dist/models/OAuthClientCreateUio.js +75 -0
- package/dist/models/OAuthClientTypeUio.d.ts +25 -0
- package/dist/models/OAuthClientTypeUio.js +51 -0
- package/dist/models/OAuthClientUio.d.ts +95 -0
- package/dist/models/OAuthClientUio.js +95 -0
- package/dist/models/OAuthClientUpdateUio.d.ts +62 -0
- package/dist/models/OAuthClientUpdateUio.js +58 -0
- package/dist/models/OAuthClientWithSecretUio.d.ts +101 -0
- package/dist/models/OAuthClientWithSecretUio.js +99 -0
- package/dist/models/OAuthConsentUio.d.ts +68 -0
- package/dist/models/OAuthConsentUio.js +74 -0
- package/dist/models/OAuthProviderInfoUio.d.ts +44 -0
- package/dist/models/OAuthProviderInfoUio.js +58 -0
- package/dist/models/TicketApprovalDecisionUio.d.ts +26 -0
- package/dist/models/TicketApprovalDecisionUio.js +52 -0
- package/dist/models/TicketApprovalRequestUio.d.ts +39 -0
- package/dist/models/TicketApprovalRequestUio.js +53 -0
- package/dist/models/TicketEventKindUio.d.ts +2 -1
- package/dist/models/TicketEventKindUio.js +2 -1
- package/dist/models/TicketEventUio.d.ts +1 -1
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +15 -0
- package/dist/openapi.json +835 -5
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* question, ticket_proposal, review et
|
|
13
|
+
* question, ticket_proposal, review, go_ahead et approval sont des actions (onglet « À traiter ») ; mention a son propre onglet.
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const InboxItemKindUio: {
|
|
@@ -18,6 +18,7 @@ export declare const InboxItemKindUio: {
|
|
|
18
18
|
readonly TicketProposal: "ticket_proposal";
|
|
19
19
|
readonly Review: "review";
|
|
20
20
|
readonly GoAhead: "go_ahead";
|
|
21
|
+
readonly Approval: "approval";
|
|
21
22
|
readonly Mention: "mention";
|
|
22
23
|
};
|
|
23
24
|
export type InboxItemKindUio = typeof InboxItemKindUio[keyof typeof InboxItemKindUio];
|
|
@@ -20,7 +20,7 @@ exports.InboxItemKindUioFromJSONTyped = InboxItemKindUioFromJSONTyped;
|
|
|
20
20
|
exports.InboxItemKindUioToJSON = InboxItemKindUioToJSON;
|
|
21
21
|
exports.InboxItemKindUioToJSONTyped = InboxItemKindUioToJSONTyped;
|
|
22
22
|
/**
|
|
23
|
-
* question, ticket_proposal, review et
|
|
23
|
+
* question, ticket_proposal, review, go_ahead et approval sont des actions (onglet « À traiter ») ; mention a son propre onglet.
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
26
26
|
exports.InboxItemKindUio = {
|
|
@@ -28,6 +28,7 @@ exports.InboxItemKindUio = {
|
|
|
28
28
|
TicketProposal: 'ticket_proposal',
|
|
29
29
|
Review: 'review',
|
|
30
30
|
GoAhead: 'go_ahead',
|
|
31
|
+
Approval: 'approval',
|
|
31
32
|
Mention: 'mention'
|
|
32
33
|
};
|
|
33
34
|
function instanceOfInboxItemKindUio(value) {
|
|
@@ -0,0 +1,44 @@
|
|
|
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 OAuthAuthorizationConsentRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OAuthAuthorizationConsentRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OAuthAuthorizationConsentRequestUio
|
|
22
|
+
*/
|
|
23
|
+
oauthQuery: string;
|
|
24
|
+
/**
|
|
25
|
+
* Un refus renvoie l'application avec `error=access_denied`.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof OAuthAuthorizationConsentRequestUio
|
|
28
|
+
*/
|
|
29
|
+
accept: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Scopes accordés, séparés par des espaces : un sous-ensemble de ceux demandés. Par défaut, tous.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OAuthAuthorizationConsentRequestUio
|
|
34
|
+
*/
|
|
35
|
+
scope?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the OAuthAuthorizationConsentRequestUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfOAuthAuthorizationConsentRequestUio(value: object): value is OAuthAuthorizationConsentRequestUio;
|
|
41
|
+
export declare function OAuthAuthorizationConsentRequestUioFromJSON(json: any): OAuthAuthorizationConsentRequestUio;
|
|
42
|
+
export declare function OAuthAuthorizationConsentRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthAuthorizationConsentRequestUio;
|
|
43
|
+
export declare function OAuthAuthorizationConsentRequestUioToJSON(json: any): OAuthAuthorizationConsentRequestUio;
|
|
44
|
+
export declare function OAuthAuthorizationConsentRequestUioToJSONTyped(value?: OAuthAuthorizationConsentRequestUio | 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.instanceOfOAuthAuthorizationConsentRequestUio = instanceOfOAuthAuthorizationConsentRequestUio;
|
|
17
|
+
exports.OAuthAuthorizationConsentRequestUioFromJSON = OAuthAuthorizationConsentRequestUioFromJSON;
|
|
18
|
+
exports.OAuthAuthorizationConsentRequestUioFromJSONTyped = OAuthAuthorizationConsentRequestUioFromJSONTyped;
|
|
19
|
+
exports.OAuthAuthorizationConsentRequestUioToJSON = OAuthAuthorizationConsentRequestUioToJSON;
|
|
20
|
+
exports.OAuthAuthorizationConsentRequestUioToJSONTyped = OAuthAuthorizationConsentRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OAuthAuthorizationConsentRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOAuthAuthorizationConsentRequestUio(value) {
|
|
25
|
+
if (!('oauthQuery' in value) || value['oauthQuery'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('accept' in value) || value['accept'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function OAuthAuthorizationConsentRequestUioFromJSON(json) {
|
|
32
|
+
return OAuthAuthorizationConsentRequestUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function OAuthAuthorizationConsentRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'oauthQuery': json['oauthQuery'],
|
|
40
|
+
'accept': json['accept'],
|
|
41
|
+
'scope': json['scope'] == null ? undefined : json['scope'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function OAuthAuthorizationConsentRequestUioToJSON(json) {
|
|
45
|
+
return OAuthAuthorizationConsentRequestUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function OAuthAuthorizationConsentRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'oauthQuery': value['oauthQuery'],
|
|
53
|
+
'accept': value['accept'],
|
|
54
|
+
'scope': value['scope'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -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 OAuthAuthorizationRedirectUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OAuthAuthorizationRedirectUio {
|
|
18
|
+
/**
|
|
19
|
+
* Où envoyer le navigateur : l'adresse de retour de l'application, avec le code ou l'erreur.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OAuthAuthorizationRedirectUio
|
|
22
|
+
*/
|
|
23
|
+
redirectUrl: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the OAuthAuthorizationRedirectUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfOAuthAuthorizationRedirectUio(value: object): value is OAuthAuthorizationRedirectUio;
|
|
29
|
+
export declare function OAuthAuthorizationRedirectUioFromJSON(json: any): OAuthAuthorizationRedirectUio;
|
|
30
|
+
export declare function OAuthAuthorizationRedirectUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthAuthorizationRedirectUio;
|
|
31
|
+
export declare function OAuthAuthorizationRedirectUioToJSON(json: any): OAuthAuthorizationRedirectUio;
|
|
32
|
+
export declare function OAuthAuthorizationRedirectUioToJSONTyped(value?: OAuthAuthorizationRedirectUio | 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.instanceOfOAuthAuthorizationRedirectUio = instanceOfOAuthAuthorizationRedirectUio;
|
|
17
|
+
exports.OAuthAuthorizationRedirectUioFromJSON = OAuthAuthorizationRedirectUioFromJSON;
|
|
18
|
+
exports.OAuthAuthorizationRedirectUioFromJSONTyped = OAuthAuthorizationRedirectUioFromJSONTyped;
|
|
19
|
+
exports.OAuthAuthorizationRedirectUioToJSON = OAuthAuthorizationRedirectUioToJSON;
|
|
20
|
+
exports.OAuthAuthorizationRedirectUioToJSONTyped = OAuthAuthorizationRedirectUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OAuthAuthorizationRedirectUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOAuthAuthorizationRedirectUio(value) {
|
|
25
|
+
if (!('redirectUrl' in value) || value['redirectUrl'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function OAuthAuthorizationRedirectUioFromJSON(json) {
|
|
30
|
+
return OAuthAuthorizationRedirectUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function OAuthAuthorizationRedirectUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'redirectUrl': json['redirectUrl'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function OAuthAuthorizationRedirectUioToJSON(json) {
|
|
41
|
+
return OAuthAuthorizationRedirectUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function OAuthAuthorizationRedirectUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'redirectUrl': value['redirectUrl'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
* Présent quand `status` vaut `consent_required`.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OAuthAuthorizationResumeClientUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OAuthAuthorizationResumeClientUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OAuthAuthorizationResumeClientUio
|
|
22
|
+
*/
|
|
23
|
+
clientId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OAuthAuthorizationResumeClientUio
|
|
28
|
+
*/
|
|
29
|
+
name: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OAuthAuthorizationResumeClientUio
|
|
34
|
+
*/
|
|
35
|
+
uri: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OAuthAuthorizationResumeClientUio
|
|
40
|
+
*/
|
|
41
|
+
icon: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the OAuthAuthorizationResumeClientUio interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfOAuthAuthorizationResumeClientUio(value: object): value is OAuthAuthorizationResumeClientUio;
|
|
47
|
+
export declare function OAuthAuthorizationResumeClientUioFromJSON(json: any): OAuthAuthorizationResumeClientUio;
|
|
48
|
+
export declare function OAuthAuthorizationResumeClientUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthAuthorizationResumeClientUio;
|
|
49
|
+
export declare function OAuthAuthorizationResumeClientUioToJSON(json: any): OAuthAuthorizationResumeClientUio;
|
|
50
|
+
export declare function OAuthAuthorizationResumeClientUioToJSONTyped(value?: OAuthAuthorizationResumeClientUio | 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.instanceOfOAuthAuthorizationResumeClientUio = instanceOfOAuthAuthorizationResumeClientUio;
|
|
17
|
+
exports.OAuthAuthorizationResumeClientUioFromJSON = OAuthAuthorizationResumeClientUioFromJSON;
|
|
18
|
+
exports.OAuthAuthorizationResumeClientUioFromJSONTyped = OAuthAuthorizationResumeClientUioFromJSONTyped;
|
|
19
|
+
exports.OAuthAuthorizationResumeClientUioToJSON = OAuthAuthorizationResumeClientUioToJSON;
|
|
20
|
+
exports.OAuthAuthorizationResumeClientUioToJSONTyped = OAuthAuthorizationResumeClientUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OAuthAuthorizationResumeClientUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOAuthAuthorizationResumeClientUio(value) {
|
|
25
|
+
if (!('clientId' in value) || value['clientId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('uri' in value) || value['uri'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('icon' in value) || value['icon'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function OAuthAuthorizationResumeClientUioFromJSON(json) {
|
|
36
|
+
return OAuthAuthorizationResumeClientUioFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function OAuthAuthorizationResumeClientUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'clientId': json['clientId'],
|
|
44
|
+
'name': json['name'],
|
|
45
|
+
'uri': json['uri'],
|
|
46
|
+
'icon': json['icon'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function OAuthAuthorizationResumeClientUioToJSON(json) {
|
|
50
|
+
return OAuthAuthorizationResumeClientUioToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function OAuthAuthorizationResumeClientUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'clientId': value['clientId'],
|
|
58
|
+
'name': value['name'],
|
|
59
|
+
'uri': value['uri'],
|
|
60
|
+
'icon': value['icon'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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
|
+
* Présent quand `status` vaut `consent_required`.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OAuthAuthorizationResumeOrganizationUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OAuthAuthorizationResumeOrganizationUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OAuthAuthorizationResumeOrganizationUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OAuthAuthorizationResumeOrganizationUio
|
|
28
|
+
*/
|
|
29
|
+
name: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the OAuthAuthorizationResumeOrganizationUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfOAuthAuthorizationResumeOrganizationUio(value: object): value is OAuthAuthorizationResumeOrganizationUio;
|
|
35
|
+
export declare function OAuthAuthorizationResumeOrganizationUioFromJSON(json: any): OAuthAuthorizationResumeOrganizationUio;
|
|
36
|
+
export declare function OAuthAuthorizationResumeOrganizationUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthAuthorizationResumeOrganizationUio;
|
|
37
|
+
export declare function OAuthAuthorizationResumeOrganizationUioToJSON(json: any): OAuthAuthorizationResumeOrganizationUio;
|
|
38
|
+
export declare function OAuthAuthorizationResumeOrganizationUioToJSONTyped(value?: OAuthAuthorizationResumeOrganizationUio | 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.instanceOfOAuthAuthorizationResumeOrganizationUio = instanceOfOAuthAuthorizationResumeOrganizationUio;
|
|
17
|
+
exports.OAuthAuthorizationResumeOrganizationUioFromJSON = OAuthAuthorizationResumeOrganizationUioFromJSON;
|
|
18
|
+
exports.OAuthAuthorizationResumeOrganizationUioFromJSONTyped = OAuthAuthorizationResumeOrganizationUioFromJSONTyped;
|
|
19
|
+
exports.OAuthAuthorizationResumeOrganizationUioToJSON = OAuthAuthorizationResumeOrganizationUioToJSON;
|
|
20
|
+
exports.OAuthAuthorizationResumeOrganizationUioToJSONTyped = OAuthAuthorizationResumeOrganizationUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OAuthAuthorizationResumeOrganizationUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOAuthAuthorizationResumeOrganizationUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function OAuthAuthorizationResumeOrganizationUioFromJSON(json) {
|
|
32
|
+
return OAuthAuthorizationResumeOrganizationUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function OAuthAuthorizationResumeOrganizationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function OAuthAuthorizationResumeOrganizationUioToJSON(json) {
|
|
44
|
+
return OAuthAuthorizationResumeOrganizationUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function OAuthAuthorizationResumeOrganizationUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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 OAuthAuthorizationResumeRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OAuthAuthorizationResumeRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
* La requête d'autorisation signée, telle que le fournisseur l'a passée à la page `/oauth/authorize` de breign-app (sa query string, sans le `?`).
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OAuthAuthorizationResumeRequestUio
|
|
22
|
+
*/
|
|
23
|
+
oauthQuery: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the OAuthAuthorizationResumeRequestUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfOAuthAuthorizationResumeRequestUio(value: object): value is OAuthAuthorizationResumeRequestUio;
|
|
29
|
+
export declare function OAuthAuthorizationResumeRequestUioFromJSON(json: any): OAuthAuthorizationResumeRequestUio;
|
|
30
|
+
export declare function OAuthAuthorizationResumeRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthAuthorizationResumeRequestUio;
|
|
31
|
+
export declare function OAuthAuthorizationResumeRequestUioToJSON(json: any): OAuthAuthorizationResumeRequestUio;
|
|
32
|
+
export declare function OAuthAuthorizationResumeRequestUioToJSONTyped(value?: OAuthAuthorizationResumeRequestUio | 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.instanceOfOAuthAuthorizationResumeRequestUio = instanceOfOAuthAuthorizationResumeRequestUio;
|
|
17
|
+
exports.OAuthAuthorizationResumeRequestUioFromJSON = OAuthAuthorizationResumeRequestUioFromJSON;
|
|
18
|
+
exports.OAuthAuthorizationResumeRequestUioFromJSONTyped = OAuthAuthorizationResumeRequestUioFromJSONTyped;
|
|
19
|
+
exports.OAuthAuthorizationResumeRequestUioToJSON = OAuthAuthorizationResumeRequestUioToJSON;
|
|
20
|
+
exports.OAuthAuthorizationResumeRequestUioToJSONTyped = OAuthAuthorizationResumeRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OAuthAuthorizationResumeRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOAuthAuthorizationResumeRequestUio(value) {
|
|
25
|
+
if (!('oauthQuery' in value) || value['oauthQuery'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function OAuthAuthorizationResumeRequestUioFromJSON(json) {
|
|
30
|
+
return OAuthAuthorizationResumeRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function OAuthAuthorizationResumeRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'oauthQuery': json['oauthQuery'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function OAuthAuthorizationResumeRequestUioToJSON(json) {
|
|
41
|
+
return OAuthAuthorizationResumeRequestUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function OAuthAuthorizationResumeRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'oauthQuery': value['oauthQuery'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 { OAuthAuthorizationResumeOrganizationUio } from './OAuthAuthorizationResumeOrganizationUio';
|
|
13
|
+
import type { OAuthAuthorizationResumeClientUio } from './OAuthAuthorizationResumeClientUio';
|
|
14
|
+
/**
|
|
15
|
+
* `redirect` : l'utilisateur a déjà consenti (ou le client s'en dispense), envoyer le navigateur sur `redirectUrl`. `consent_required` : afficher l'écran de consentement.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface OAuthAuthorizationResumeUio
|
|
18
|
+
*/
|
|
19
|
+
export interface OAuthAuthorizationResumeUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof OAuthAuthorizationResumeUio
|
|
24
|
+
*/
|
|
25
|
+
status: OAuthAuthorizationResumeUioStatusEnum;
|
|
26
|
+
/**
|
|
27
|
+
* Présent quand `status` vaut `redirect`.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof OAuthAuthorizationResumeUio
|
|
30
|
+
*/
|
|
31
|
+
redirectUrl?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {OAuthAuthorizationResumeClientUio}
|
|
35
|
+
* @memberof OAuthAuthorizationResumeUio
|
|
36
|
+
*/
|
|
37
|
+
client?: OAuthAuthorizationResumeClientUio;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {OAuthAuthorizationResumeOrganizationUio}
|
|
41
|
+
* @memberof OAuthAuthorizationResumeUio
|
|
42
|
+
*/
|
|
43
|
+
organization?: OAuthAuthorizationResumeOrganizationUio;
|
|
44
|
+
/**
|
|
45
|
+
* Scopes demandés par l'application. Présent quand `status` vaut `consent_required`.
|
|
46
|
+
* @type {Array<string>}
|
|
47
|
+
* @memberof OAuthAuthorizationResumeUio
|
|
48
|
+
*/
|
|
49
|
+
scopes?: Array<string>;
|
|
50
|
+
/**
|
|
51
|
+
* La requête signée à renvoyer à `consent` avec la réponse de l'utilisateur. Présent quand `status` vaut `consent_required` ; elle peut différer de celle passée à `resume`.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof OAuthAuthorizationResumeUio
|
|
54
|
+
*/
|
|
55
|
+
oauthQuery?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const OAuthAuthorizationResumeUioStatusEnum: {
|
|
61
|
+
readonly Redirect: "redirect";
|
|
62
|
+
readonly ConsentRequired: "consent_required";
|
|
63
|
+
};
|
|
64
|
+
export type OAuthAuthorizationResumeUioStatusEnum = typeof OAuthAuthorizationResumeUioStatusEnum[keyof typeof OAuthAuthorizationResumeUioStatusEnum];
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the OAuthAuthorizationResumeUio interface.
|
|
67
|
+
*/
|
|
68
|
+
export declare function instanceOfOAuthAuthorizationResumeUio(value: object): value is OAuthAuthorizationResumeUio;
|
|
69
|
+
export declare function OAuthAuthorizationResumeUioFromJSON(json: any): OAuthAuthorizationResumeUio;
|
|
70
|
+
export declare function OAuthAuthorizationResumeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthAuthorizationResumeUio;
|
|
71
|
+
export declare function OAuthAuthorizationResumeUioToJSON(json: any): OAuthAuthorizationResumeUio;
|
|
72
|
+
export declare function OAuthAuthorizationResumeUioToJSONTyped(value?: OAuthAuthorizationResumeUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
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.OAuthAuthorizationResumeUioStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfOAuthAuthorizationResumeUio = instanceOfOAuthAuthorizationResumeUio;
|
|
18
|
+
exports.OAuthAuthorizationResumeUioFromJSON = OAuthAuthorizationResumeUioFromJSON;
|
|
19
|
+
exports.OAuthAuthorizationResumeUioFromJSONTyped = OAuthAuthorizationResumeUioFromJSONTyped;
|
|
20
|
+
exports.OAuthAuthorizationResumeUioToJSON = OAuthAuthorizationResumeUioToJSON;
|
|
21
|
+
exports.OAuthAuthorizationResumeUioToJSONTyped = OAuthAuthorizationResumeUioToJSONTyped;
|
|
22
|
+
const OAuthAuthorizationResumeOrganizationUio_1 = require("./OAuthAuthorizationResumeOrganizationUio");
|
|
23
|
+
const OAuthAuthorizationResumeClientUio_1 = require("./OAuthAuthorizationResumeClientUio");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.OAuthAuthorizationResumeUioStatusEnum = {
|
|
28
|
+
Redirect: 'redirect',
|
|
29
|
+
ConsentRequired: 'consent_required'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the OAuthAuthorizationResumeUio interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfOAuthAuthorizationResumeUio(value) {
|
|
35
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function OAuthAuthorizationResumeUioFromJSON(json) {
|
|
40
|
+
return OAuthAuthorizationResumeUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function OAuthAuthorizationResumeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'status': json['status'],
|
|
48
|
+
'redirectUrl': json['redirectUrl'] == null ? undefined : json['redirectUrl'],
|
|
49
|
+
'client': json['client'] == null ? undefined : (0, OAuthAuthorizationResumeClientUio_1.OAuthAuthorizationResumeClientUioFromJSON)(json['client']),
|
|
50
|
+
'organization': json['organization'] == null ? undefined : (0, OAuthAuthorizationResumeOrganizationUio_1.OAuthAuthorizationResumeOrganizationUioFromJSON)(json['organization']),
|
|
51
|
+
'scopes': json['scopes'] == null ? undefined : json['scopes'],
|
|
52
|
+
'oauthQuery': json['oauthQuery'] == null ? undefined : json['oauthQuery'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function OAuthAuthorizationResumeUioToJSON(json) {
|
|
56
|
+
return OAuthAuthorizationResumeUioToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function OAuthAuthorizationResumeUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'status': value['status'],
|
|
64
|
+
'redirectUrl': value['redirectUrl'],
|
|
65
|
+
'client': (0, OAuthAuthorizationResumeClientUio_1.OAuthAuthorizationResumeClientUioToJSON)(value['client']),
|
|
66
|
+
'organization': (0, OAuthAuthorizationResumeOrganizationUio_1.OAuthAuthorizationResumeOrganizationUioToJSON)(value['organization']),
|
|
67
|
+
'scopes': value['scopes'],
|
|
68
|
+
'oauthQuery': value['oauthQuery'],
|
|
69
|
+
};
|
|
70
|
+
}
|