@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.
Files changed (45) hide show
  1. package/dist/apis/OauthProviderApi.d.ts +155 -0
  2. package/dist/apis/OauthProviderApi.js +388 -0
  3. package/dist/apis/TicketsApi.d.ts +16 -1
  4. package/dist/apis/TicketsApi.js +37 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/InboxItemKindUio.d.ts +2 -1
  8. package/dist/models/InboxItemKindUio.js +2 -1
  9. package/dist/models/OAuthAuthorizationConsentRequestUio.d.ts +44 -0
  10. package/dist/models/OAuthAuthorizationConsentRequestUio.js +56 -0
  11. package/dist/models/OAuthAuthorizationRedirectUio.d.ts +32 -0
  12. package/dist/models/OAuthAuthorizationRedirectUio.js +50 -0
  13. package/dist/models/OAuthAuthorizationResumeClientUio.d.ts +50 -0
  14. package/dist/models/OAuthAuthorizationResumeClientUio.js +62 -0
  15. package/dist/models/OAuthAuthorizationResumeOrganizationUio.d.ts +38 -0
  16. package/dist/models/OAuthAuthorizationResumeOrganizationUio.js +54 -0
  17. package/dist/models/OAuthAuthorizationResumeRequestUio.d.ts +32 -0
  18. package/dist/models/OAuthAuthorizationResumeRequestUio.js +50 -0
  19. package/dist/models/OAuthAuthorizationResumeUio.d.ts +72 -0
  20. package/dist/models/OAuthAuthorizationResumeUio.js +70 -0
  21. package/dist/models/OAuthClientCreateUio.d.ts +77 -0
  22. package/dist/models/OAuthClientCreateUio.js +75 -0
  23. package/dist/models/OAuthClientTypeUio.d.ts +25 -0
  24. package/dist/models/OAuthClientTypeUio.js +51 -0
  25. package/dist/models/OAuthClientUio.d.ts +95 -0
  26. package/dist/models/OAuthClientUio.js +95 -0
  27. package/dist/models/OAuthClientUpdateUio.d.ts +62 -0
  28. package/dist/models/OAuthClientUpdateUio.js +58 -0
  29. package/dist/models/OAuthClientWithSecretUio.d.ts +101 -0
  30. package/dist/models/OAuthClientWithSecretUio.js +99 -0
  31. package/dist/models/OAuthConsentUio.d.ts +68 -0
  32. package/dist/models/OAuthConsentUio.js +74 -0
  33. package/dist/models/OAuthProviderInfoUio.d.ts +44 -0
  34. package/dist/models/OAuthProviderInfoUio.js +58 -0
  35. package/dist/models/TicketApprovalDecisionUio.d.ts +26 -0
  36. package/dist/models/TicketApprovalDecisionUio.js +52 -0
  37. package/dist/models/TicketApprovalRequestUio.d.ts +39 -0
  38. package/dist/models/TicketApprovalRequestUio.js +53 -0
  39. package/dist/models/TicketEventKindUio.d.ts +2 -1
  40. package/dist/models/TicketEventKindUio.js +2 -1
  41. package/dist/models/TicketEventUio.d.ts +1 -1
  42. package/dist/models/index.d.ts +15 -0
  43. package/dist/models/index.js +15 -0
  44. package/dist/openapi.json +835 -5
  45. package/package.json +1 -1
@@ -0,0 +1,77 @@
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 { OAuthClientTypeUio } from './OAuthClientTypeUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface OAuthClientCreateUio
17
+ */
18
+ export interface OAuthClientCreateUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof OAuthClientCreateUio
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {OAuthClientTypeUio}
28
+ * @memberof OAuthClientCreateUio
29
+ */
30
+ type: OAuthClientTypeUio;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof OAuthClientCreateUio
35
+ */
36
+ applicationType?: OAuthClientCreateUioApplicationTypeEnum;
37
+ /**
38
+ *
39
+ * @type {Array<string>}
40
+ * @memberof OAuthClientCreateUio
41
+ */
42
+ redirectUris: Array<string>;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof OAuthClientCreateUio
47
+ */
48
+ uri?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof OAuthClientCreateUio
53
+ */
54
+ icon?: string;
55
+ /**
56
+ *
57
+ * @type {boolean}
58
+ * @memberof OAuthClientCreateUio
59
+ */
60
+ skipConsent?: boolean;
61
+ }
62
+ /**
63
+ * @export
64
+ */
65
+ export declare const OAuthClientCreateUioApplicationTypeEnum: {
66
+ readonly Web: "web";
67
+ readonly Native: "native";
68
+ };
69
+ export type OAuthClientCreateUioApplicationTypeEnum = typeof OAuthClientCreateUioApplicationTypeEnum[keyof typeof OAuthClientCreateUioApplicationTypeEnum];
70
+ /**
71
+ * Check if a given object implements the OAuthClientCreateUio interface.
72
+ */
73
+ export declare function instanceOfOAuthClientCreateUio(value: object): value is OAuthClientCreateUio;
74
+ export declare function OAuthClientCreateUioFromJSON(json: any): OAuthClientCreateUio;
75
+ export declare function OAuthClientCreateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthClientCreateUio;
76
+ export declare function OAuthClientCreateUioToJSON(json: any): OAuthClientCreateUio;
77
+ export declare function OAuthClientCreateUioToJSONTyped(value?: OAuthClientCreateUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,75 @@
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.OAuthClientCreateUioApplicationTypeEnum = void 0;
17
+ exports.instanceOfOAuthClientCreateUio = instanceOfOAuthClientCreateUio;
18
+ exports.OAuthClientCreateUioFromJSON = OAuthClientCreateUioFromJSON;
19
+ exports.OAuthClientCreateUioFromJSONTyped = OAuthClientCreateUioFromJSONTyped;
20
+ exports.OAuthClientCreateUioToJSON = OAuthClientCreateUioToJSON;
21
+ exports.OAuthClientCreateUioToJSONTyped = OAuthClientCreateUioToJSONTyped;
22
+ const OAuthClientTypeUio_1 = require("./OAuthClientTypeUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.OAuthClientCreateUioApplicationTypeEnum = {
27
+ Web: 'web',
28
+ Native: 'native'
29
+ };
30
+ /**
31
+ * Check if a given object implements the OAuthClientCreateUio interface.
32
+ */
33
+ function instanceOfOAuthClientCreateUio(value) {
34
+ if (!('name' in value) || value['name'] === undefined)
35
+ return false;
36
+ if (!('type' in value) || value['type'] === undefined)
37
+ return false;
38
+ if (!('redirectUris' in value) || value['redirectUris'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function OAuthClientCreateUioFromJSON(json) {
43
+ return OAuthClientCreateUioFromJSONTyped(json, false);
44
+ }
45
+ function OAuthClientCreateUioFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'name': json['name'],
51
+ 'type': (0, OAuthClientTypeUio_1.OAuthClientTypeUioFromJSON)(json['type']),
52
+ 'applicationType': json['applicationType'] == null ? undefined : json['applicationType'],
53
+ 'redirectUris': json['redirectUris'],
54
+ 'uri': json['uri'] == null ? undefined : json['uri'],
55
+ 'icon': json['icon'] == null ? undefined : json['icon'],
56
+ 'skipConsent': json['skipConsent'] == null ? undefined : json['skipConsent'],
57
+ };
58
+ }
59
+ function OAuthClientCreateUioToJSON(json) {
60
+ return OAuthClientCreateUioToJSONTyped(json, false);
61
+ }
62
+ function OAuthClientCreateUioToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'name': value['name'],
68
+ 'type': (0, OAuthClientTypeUio_1.OAuthClientTypeUioToJSON)(value['type']),
69
+ 'applicationType': value['applicationType'],
70
+ 'redirectUris': value['redirectUris'],
71
+ 'uri': value['uri'],
72
+ 'icon': value['icon'],
73
+ 'skipConsent': value['skipConsent'],
74
+ };
75
+ }
@@ -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
+ * `confidential` : application avec serveur, qui garde un secret. `public` : SPA, mobile ou desktop, sans secret, PKCE obligatoire.
14
+ * @export
15
+ */
16
+ export declare const OAuthClientTypeUio: {
17
+ readonly Confidential: "confidential";
18
+ readonly Public: "public";
19
+ };
20
+ export type OAuthClientTypeUio = typeof OAuthClientTypeUio[keyof typeof OAuthClientTypeUio];
21
+ export declare function instanceOfOAuthClientTypeUio(value: any): boolean;
22
+ export declare function OAuthClientTypeUioFromJSON(json: any): OAuthClientTypeUio;
23
+ export declare function OAuthClientTypeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthClientTypeUio;
24
+ export declare function OAuthClientTypeUioToJSON(value?: OAuthClientTypeUio | null): any;
25
+ export declare function OAuthClientTypeUioToJSONTyped(value: any, ignoreDiscriminator: boolean): OAuthClientTypeUio;
@@ -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.OAuthClientTypeUio = void 0;
17
+ exports.instanceOfOAuthClientTypeUio = instanceOfOAuthClientTypeUio;
18
+ exports.OAuthClientTypeUioFromJSON = OAuthClientTypeUioFromJSON;
19
+ exports.OAuthClientTypeUioFromJSONTyped = OAuthClientTypeUioFromJSONTyped;
20
+ exports.OAuthClientTypeUioToJSON = OAuthClientTypeUioToJSON;
21
+ exports.OAuthClientTypeUioToJSONTyped = OAuthClientTypeUioToJSONTyped;
22
+ /**
23
+ * `confidential` : application avec serveur, qui garde un secret. `public` : SPA, mobile ou desktop, sans secret, PKCE obligatoire.
24
+ * @export
25
+ */
26
+ exports.OAuthClientTypeUio = {
27
+ Confidential: 'confidential',
28
+ Public: 'public'
29
+ };
30
+ function instanceOfOAuthClientTypeUio(value) {
31
+ for (const key in exports.OAuthClientTypeUio) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.OAuthClientTypeUio, key)) {
33
+ if (exports.OAuthClientTypeUio[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function OAuthClientTypeUioFromJSON(json) {
41
+ return OAuthClientTypeUioFromJSONTyped(json, false);
42
+ }
43
+ function OAuthClientTypeUioFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function OAuthClientTypeUioToJSON(value) {
47
+ return value;
48
+ }
49
+ function OAuthClientTypeUioToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -0,0 +1,95 @@
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 { OAuthClientTypeUio } from './OAuthClientTypeUio';
13
+ /**
14
+ * Une application tierce autorisée à connecter les utilisateurs de l'organisation.
15
+ * @export
16
+ * @interface OAuthClientUio
17
+ */
18
+ export interface OAuthClientUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof OAuthClientUio
23
+ */
24
+ clientId: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof OAuthClientUio
29
+ */
30
+ name: string | null;
31
+ /**
32
+ *
33
+ * @type {OAuthClientTypeUio}
34
+ * @memberof OAuthClientUio
35
+ */
36
+ type: OAuthClientTypeUio;
37
+ /**
38
+ * `native` pour une appli mobile ou desktop (retour en loopback ou schéma privé).
39
+ * @type {string}
40
+ * @memberof OAuthClientUio
41
+ */
42
+ applicationType: OAuthClientUioApplicationTypeEnum;
43
+ /**
44
+ *
45
+ * @type {Array<string>}
46
+ * @memberof OAuthClientUio
47
+ */
48
+ redirectUris: Array<string>;
49
+ /**
50
+ * Site de l'application, affiché sur l'écran de consentement.
51
+ * @type {string}
52
+ * @memberof OAuthClientUio
53
+ */
54
+ uri: string | null;
55
+ /**
56
+ * Logo de l'application, affiché sur l'écran de consentement.
57
+ * @type {string}
58
+ * @memberof OAuthClientUio
59
+ */
60
+ icon: string | null;
61
+ /**
62
+ * Application de confiance, les utilisateurs ne voient pas l'écran de consentement.
63
+ * @type {boolean}
64
+ * @memberof OAuthClientUio
65
+ */
66
+ skipConsent: boolean;
67
+ /**
68
+ *
69
+ * @type {boolean}
70
+ * @memberof OAuthClientUio
71
+ */
72
+ disabled: boolean;
73
+ /**
74
+ *
75
+ * @type {Date}
76
+ * @memberof OAuthClientUio
77
+ */
78
+ createdAt: Date | null;
79
+ }
80
+ /**
81
+ * @export
82
+ */
83
+ export declare const OAuthClientUioApplicationTypeEnum: {
84
+ readonly Web: "web";
85
+ readonly Native: "native";
86
+ };
87
+ export type OAuthClientUioApplicationTypeEnum = typeof OAuthClientUioApplicationTypeEnum[keyof typeof OAuthClientUioApplicationTypeEnum];
88
+ /**
89
+ * Check if a given object implements the OAuthClientUio interface.
90
+ */
91
+ export declare function instanceOfOAuthClientUio(value: object): value is OAuthClientUio;
92
+ export declare function OAuthClientUioFromJSON(json: any): OAuthClientUio;
93
+ export declare function OAuthClientUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthClientUio;
94
+ export declare function OAuthClientUioToJSON(json: any): OAuthClientUio;
95
+ export declare function OAuthClientUioToJSONTyped(value?: OAuthClientUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,95 @@
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.OAuthClientUioApplicationTypeEnum = void 0;
17
+ exports.instanceOfOAuthClientUio = instanceOfOAuthClientUio;
18
+ exports.OAuthClientUioFromJSON = OAuthClientUioFromJSON;
19
+ exports.OAuthClientUioFromJSONTyped = OAuthClientUioFromJSONTyped;
20
+ exports.OAuthClientUioToJSON = OAuthClientUioToJSON;
21
+ exports.OAuthClientUioToJSONTyped = OAuthClientUioToJSONTyped;
22
+ const OAuthClientTypeUio_1 = require("./OAuthClientTypeUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.OAuthClientUioApplicationTypeEnum = {
27
+ Web: 'web',
28
+ Native: 'native'
29
+ };
30
+ /**
31
+ * Check if a given object implements the OAuthClientUio interface.
32
+ */
33
+ function instanceOfOAuthClientUio(value) {
34
+ if (!('clientId' in value) || value['clientId'] === undefined)
35
+ return false;
36
+ if (!('name' in value) || value['name'] === undefined)
37
+ return false;
38
+ if (!('type' in value) || value['type'] === undefined)
39
+ return false;
40
+ if (!('applicationType' in value) || value['applicationType'] === undefined)
41
+ return false;
42
+ if (!('redirectUris' in value) || value['redirectUris'] === undefined)
43
+ return false;
44
+ if (!('uri' in value) || value['uri'] === undefined)
45
+ return false;
46
+ if (!('icon' in value) || value['icon'] === undefined)
47
+ return false;
48
+ if (!('skipConsent' in value) || value['skipConsent'] === undefined)
49
+ return false;
50
+ if (!('disabled' in value) || value['disabled'] === undefined)
51
+ return false;
52
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
53
+ return false;
54
+ return true;
55
+ }
56
+ function OAuthClientUioFromJSON(json) {
57
+ return OAuthClientUioFromJSONTyped(json, false);
58
+ }
59
+ function OAuthClientUioFromJSONTyped(json, ignoreDiscriminator) {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+ 'clientId': json['clientId'],
65
+ 'name': json['name'],
66
+ 'type': (0, OAuthClientTypeUio_1.OAuthClientTypeUioFromJSON)(json['type']),
67
+ 'applicationType': json['applicationType'],
68
+ 'redirectUris': json['redirectUris'],
69
+ 'uri': json['uri'],
70
+ 'icon': json['icon'],
71
+ 'skipConsent': json['skipConsent'],
72
+ 'disabled': json['disabled'],
73
+ 'createdAt': (json['createdAt'] == null ? null : new Date(json['createdAt'])),
74
+ };
75
+ }
76
+ function OAuthClientUioToJSON(json) {
77
+ return OAuthClientUioToJSONTyped(json, false);
78
+ }
79
+ function OAuthClientUioToJSONTyped(value, ignoreDiscriminator = false) {
80
+ if (value == null) {
81
+ return value;
82
+ }
83
+ return {
84
+ 'clientId': value['clientId'],
85
+ 'name': value['name'],
86
+ 'type': (0, OAuthClientTypeUio_1.OAuthClientTypeUioToJSON)(value['type']),
87
+ 'applicationType': value['applicationType'],
88
+ 'redirectUris': value['redirectUris'],
89
+ 'uri': value['uri'],
90
+ 'icon': value['icon'],
91
+ 'skipConsent': value['skipConsent'],
92
+ 'disabled': value['disabled'],
93
+ 'createdAt': (value['createdAt'] == null ? null : value['createdAt'].toISOString()),
94
+ };
95
+ }
@@ -0,0 +1,62 @@
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 OAuthClientUpdateUio
16
+ */
17
+ export interface OAuthClientUpdateUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof OAuthClientUpdateUio
22
+ */
23
+ name?: string;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof OAuthClientUpdateUio
28
+ */
29
+ redirectUris?: Array<string>;
30
+ /**
31
+ * URL du site, ou chaîne vide pour l'effacer.
32
+ * @type {string}
33
+ * @memberof OAuthClientUpdateUio
34
+ */
35
+ uri?: string;
36
+ /**
37
+ * URL du logo, ou chaîne vide pour l'effacer.
38
+ * @type {string}
39
+ * @memberof OAuthClientUpdateUio
40
+ */
41
+ icon?: string;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof OAuthClientUpdateUio
46
+ */
47
+ skipConsent?: boolean;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof OAuthClientUpdateUio
52
+ */
53
+ disabled?: boolean;
54
+ }
55
+ /**
56
+ * Check if a given object implements the OAuthClientUpdateUio interface.
57
+ */
58
+ export declare function instanceOfOAuthClientUpdateUio(value: object): value is OAuthClientUpdateUio;
59
+ export declare function OAuthClientUpdateUioFromJSON(json: any): OAuthClientUpdateUio;
60
+ export declare function OAuthClientUpdateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthClientUpdateUio;
61
+ export declare function OAuthClientUpdateUioToJSON(json: any): OAuthClientUpdateUio;
62
+ export declare function OAuthClientUpdateUioToJSONTyped(value?: OAuthClientUpdateUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
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.instanceOfOAuthClientUpdateUio = instanceOfOAuthClientUpdateUio;
17
+ exports.OAuthClientUpdateUioFromJSON = OAuthClientUpdateUioFromJSON;
18
+ exports.OAuthClientUpdateUioFromJSONTyped = OAuthClientUpdateUioFromJSONTyped;
19
+ exports.OAuthClientUpdateUioToJSON = OAuthClientUpdateUioToJSON;
20
+ exports.OAuthClientUpdateUioToJSONTyped = OAuthClientUpdateUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the OAuthClientUpdateUio interface.
23
+ */
24
+ function instanceOfOAuthClientUpdateUio(value) {
25
+ return true;
26
+ }
27
+ function OAuthClientUpdateUioFromJSON(json) {
28
+ return OAuthClientUpdateUioFromJSONTyped(json, false);
29
+ }
30
+ function OAuthClientUpdateUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'name': json['name'] == null ? undefined : json['name'],
36
+ 'redirectUris': json['redirectUris'] == null ? undefined : json['redirectUris'],
37
+ 'uri': json['uri'] == null ? undefined : json['uri'],
38
+ 'icon': json['icon'] == null ? undefined : json['icon'],
39
+ 'skipConsent': json['skipConsent'] == null ? undefined : json['skipConsent'],
40
+ 'disabled': json['disabled'] == null ? undefined : json['disabled'],
41
+ };
42
+ }
43
+ function OAuthClientUpdateUioToJSON(json) {
44
+ return OAuthClientUpdateUioToJSONTyped(json, false);
45
+ }
46
+ function OAuthClientUpdateUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'name': value['name'],
52
+ 'redirectUris': value['redirectUris'],
53
+ 'uri': value['uri'],
54
+ 'icon': value['icon'],
55
+ 'skipConsent': value['skipConsent'],
56
+ 'disabled': value['disabled'],
57
+ };
58
+ }
@@ -0,0 +1,101 @@
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 { OAuthClientTypeUio } from './OAuthClientTypeUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface OAuthClientWithSecretUio
17
+ */
18
+ export interface OAuthClientWithSecretUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof OAuthClientWithSecretUio
23
+ */
24
+ clientId: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof OAuthClientWithSecretUio
29
+ */
30
+ name: string | null;
31
+ /**
32
+ *
33
+ * @type {OAuthClientTypeUio}
34
+ * @memberof OAuthClientWithSecretUio
35
+ */
36
+ type: OAuthClientTypeUio;
37
+ /**
38
+ * `native` pour une appli mobile ou desktop (retour en loopback ou schéma privé).
39
+ * @type {string}
40
+ * @memberof OAuthClientWithSecretUio
41
+ */
42
+ applicationType: OAuthClientWithSecretUioApplicationTypeEnum;
43
+ /**
44
+ *
45
+ * @type {Array<string>}
46
+ * @memberof OAuthClientWithSecretUio
47
+ */
48
+ redirectUris: Array<string>;
49
+ /**
50
+ * Site de l'application, affiché sur l'écran de consentement.
51
+ * @type {string}
52
+ * @memberof OAuthClientWithSecretUio
53
+ */
54
+ uri: string | null;
55
+ /**
56
+ * Logo de l'application, affiché sur l'écran de consentement.
57
+ * @type {string}
58
+ * @memberof OAuthClientWithSecretUio
59
+ */
60
+ icon: string | null;
61
+ /**
62
+ * Application de confiance, les utilisateurs ne voient pas l'écran de consentement.
63
+ * @type {boolean}
64
+ * @memberof OAuthClientWithSecretUio
65
+ */
66
+ skipConsent: boolean;
67
+ /**
68
+ *
69
+ * @type {boolean}
70
+ * @memberof OAuthClientWithSecretUio
71
+ */
72
+ disabled: boolean;
73
+ /**
74
+ *
75
+ * @type {Date}
76
+ * @memberof OAuthClientWithSecretUio
77
+ */
78
+ createdAt: Date | null;
79
+ /**
80
+ * Le secret d'un client confidentiel, affiché une seule fois (création, rotation). Null pour un client public.
81
+ * @type {string}
82
+ * @memberof OAuthClientWithSecretUio
83
+ */
84
+ clientSecret: string | null;
85
+ }
86
+ /**
87
+ * @export
88
+ */
89
+ export declare const OAuthClientWithSecretUioApplicationTypeEnum: {
90
+ readonly Web: "web";
91
+ readonly Native: "native";
92
+ };
93
+ export type OAuthClientWithSecretUioApplicationTypeEnum = typeof OAuthClientWithSecretUioApplicationTypeEnum[keyof typeof OAuthClientWithSecretUioApplicationTypeEnum];
94
+ /**
95
+ * Check if a given object implements the OAuthClientWithSecretUio interface.
96
+ */
97
+ export declare function instanceOfOAuthClientWithSecretUio(value: object): value is OAuthClientWithSecretUio;
98
+ export declare function OAuthClientWithSecretUioFromJSON(json: any): OAuthClientWithSecretUio;
99
+ export declare function OAuthClientWithSecretUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthClientWithSecretUio;
100
+ export declare function OAuthClientWithSecretUioToJSON(json: any): OAuthClientWithSecretUio;
101
+ export declare function OAuthClientWithSecretUioToJSONTyped(value?: OAuthClientWithSecretUio | null, ignoreDiscriminator?: boolean): any;