@breign/client 1.0.184 → 1.0.186

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 (94) hide show
  1. package/dist/apis/FleetsApi.d.ts +153 -0
  2. package/dist/apis/FleetsApi.js +370 -0
  3. package/dist/apis/OauthProviderApi.d.ts +155 -0
  4. package/dist/apis/OauthProviderApi.js +388 -0
  5. package/dist/apis/index.d.ts +2 -0
  6. package/dist/apis/index.js +2 -0
  7. package/dist/models/FleetAnswersUpdateResultUio.d.ts +41 -0
  8. package/dist/models/FleetAnswersUpdateResultUio.js +55 -0
  9. package/dist/models/FleetAnswersUpdateUio.d.ts +34 -0
  10. package/dist/models/FleetAnswersUpdateUio.js +50 -0
  11. package/dist/models/FleetApplyUio.d.ts +41 -0
  12. package/dist/models/FleetApplyUio.js +54 -0
  13. package/dist/models/FleetChoiceOptionUio.d.ts +51 -0
  14. package/dist/models/FleetChoiceOptionUio.js +59 -0
  15. package/dist/models/FleetConflictDecisionUio.d.ts +25 -0
  16. package/dist/models/FleetConflictDecisionUio.js +51 -0
  17. package/dist/models/FleetGroupFieldUio.d.ts +67 -0
  18. package/dist/models/FleetGroupFieldUio.js +71 -0
  19. package/dist/models/FleetInputUio.d.ts +119 -0
  20. package/dist/models/FleetInputUio.js +98 -0
  21. package/dist/models/FleetInstallationStartUio.d.ts +32 -0
  22. package/dist/models/FleetInstallationStartUio.js +50 -0
  23. package/dist/models/FleetInstallationStatusUio.d.ts +28 -0
  24. package/dist/models/FleetInstallationStatusUio.js +54 -0
  25. package/dist/models/FleetInstallationUio.d.ts +152 -0
  26. package/dist/models/FleetInstallationUio.js +129 -0
  27. package/dist/models/FleetInstalledResourceUio.d.ts +59 -0
  28. package/dist/models/FleetInstalledResourceUio.js +65 -0
  29. package/dist/models/FleetKnowledgeSourceUio.d.ts +64 -0
  30. package/dist/models/FleetKnowledgeSourceUio.js +66 -0
  31. package/dist/models/FleetManualStepUio.d.ts +44 -0
  32. package/dist/models/FleetManualStepUio.js +58 -0
  33. package/dist/models/FleetManualStepUpdateUio.d.ts +32 -0
  34. package/dist/models/FleetManualStepUpdateUio.js +50 -0
  35. package/dist/models/FleetPlanActionUio.d.ts +30 -0
  36. package/dist/models/FleetPlanActionUio.js +56 -0
  37. package/dist/models/FleetPlanBlockingUio.d.ts +38 -0
  38. package/dist/models/FleetPlanBlockingUio.js +52 -0
  39. package/dist/models/FleetPlanItemUio.d.ts +70 -0
  40. package/dist/models/FleetPlanItemUio.js +70 -0
  41. package/dist/models/FleetPlanUio.d.ts +68 -0
  42. package/dist/models/FleetPlanUio.js +72 -0
  43. package/dist/models/FleetResourceTypeUio.d.ts +31 -0
  44. package/dist/models/FleetResourceTypeUio.js +57 -0
  45. package/dist/models/FleetSecretsUio.d.ts +33 -0
  46. package/dist/models/FleetSecretsUio.js +51 -0
  47. package/dist/models/FleetStepLogUio.d.ts +65 -0
  48. package/dist/models/FleetStepLogUio.js +73 -0
  49. package/dist/models/FleetStepUio.d.ts +50 -0
  50. package/dist/models/FleetStepUio.js +60 -0
  51. package/dist/models/FleetTemplateAgentUio.d.ts +50 -0
  52. package/dist/models/FleetTemplateAgentUio.js +62 -0
  53. package/dist/models/FleetTemplateCountsUio.d.ts +56 -0
  54. package/dist/models/FleetTemplateCountsUio.js +66 -0
  55. package/dist/models/FleetTemplateInstallationRefUio.d.ts +45 -0
  56. package/dist/models/FleetTemplateInstallationRefUio.js +59 -0
  57. package/dist/models/FleetTemplateSummaryUio.d.ts +82 -0
  58. package/dist/models/FleetTemplateSummaryUio.js +84 -0
  59. package/dist/models/FleetTemplateUio.d.ts +104 -0
  60. package/dist/models/FleetTemplateUio.js +99 -0
  61. package/dist/models/FleetToolBindingUio.d.ts +44 -0
  62. package/dist/models/FleetToolBindingUio.js +52 -0
  63. package/dist/models/FleetWebhookSecretUio.d.ts +50 -0
  64. package/dist/models/FleetWebhookSecretUio.js +62 -0
  65. package/dist/models/OAuthAuthorizationConsentRequestUio.d.ts +44 -0
  66. package/dist/models/OAuthAuthorizationConsentRequestUio.js +56 -0
  67. package/dist/models/OAuthAuthorizationRedirectUio.d.ts +32 -0
  68. package/dist/models/OAuthAuthorizationRedirectUio.js +50 -0
  69. package/dist/models/OAuthAuthorizationResumeClientUio.d.ts +50 -0
  70. package/dist/models/OAuthAuthorizationResumeClientUio.js +62 -0
  71. package/dist/models/OAuthAuthorizationResumeOrganizationUio.d.ts +38 -0
  72. package/dist/models/OAuthAuthorizationResumeOrganizationUio.js +54 -0
  73. package/dist/models/OAuthAuthorizationResumeRequestUio.d.ts +32 -0
  74. package/dist/models/OAuthAuthorizationResumeRequestUio.js +50 -0
  75. package/dist/models/OAuthAuthorizationResumeUio.d.ts +72 -0
  76. package/dist/models/OAuthAuthorizationResumeUio.js +70 -0
  77. package/dist/models/OAuthClientCreateUio.d.ts +77 -0
  78. package/dist/models/OAuthClientCreateUio.js +75 -0
  79. package/dist/models/OAuthClientTypeUio.d.ts +25 -0
  80. package/dist/models/OAuthClientTypeUio.js +51 -0
  81. package/dist/models/OAuthClientUio.d.ts +95 -0
  82. package/dist/models/OAuthClientUio.js +95 -0
  83. package/dist/models/OAuthClientUpdateUio.d.ts +62 -0
  84. package/dist/models/OAuthClientUpdateUio.js +58 -0
  85. package/dist/models/OAuthClientWithSecretUio.d.ts +101 -0
  86. package/dist/models/OAuthClientWithSecretUio.js +99 -0
  87. package/dist/models/OAuthConsentUio.d.ts +68 -0
  88. package/dist/models/OAuthConsentUio.js +74 -0
  89. package/dist/models/OAuthProviderInfoUio.d.ts +44 -0
  90. package/dist/models/OAuthProviderInfoUio.js +58 -0
  91. package/dist/models/index.d.ts +42 -0
  92. package/dist/models/index.js +42 -0
  93. package/dist/openapi.json +4119 -2308
  94. package/package.json +1 -1
@@ -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
+ }
@@ -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
+ }