@breign/client 1.0.184 → 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 (34) hide show
  1. package/dist/apis/OauthProviderApi.d.ts +155 -0
  2. package/dist/apis/OauthProviderApi.js +388 -0
  3. package/dist/apis/index.d.ts +1 -0
  4. package/dist/apis/index.js +1 -0
  5. package/dist/models/OAuthAuthorizationConsentRequestUio.d.ts +44 -0
  6. package/dist/models/OAuthAuthorizationConsentRequestUio.js +56 -0
  7. package/dist/models/OAuthAuthorizationRedirectUio.d.ts +32 -0
  8. package/dist/models/OAuthAuthorizationRedirectUio.js +50 -0
  9. package/dist/models/OAuthAuthorizationResumeClientUio.d.ts +50 -0
  10. package/dist/models/OAuthAuthorizationResumeClientUio.js +62 -0
  11. package/dist/models/OAuthAuthorizationResumeOrganizationUio.d.ts +38 -0
  12. package/dist/models/OAuthAuthorizationResumeOrganizationUio.js +54 -0
  13. package/dist/models/OAuthAuthorizationResumeRequestUio.d.ts +32 -0
  14. package/dist/models/OAuthAuthorizationResumeRequestUio.js +50 -0
  15. package/dist/models/OAuthAuthorizationResumeUio.d.ts +72 -0
  16. package/dist/models/OAuthAuthorizationResumeUio.js +70 -0
  17. package/dist/models/OAuthClientCreateUio.d.ts +77 -0
  18. package/dist/models/OAuthClientCreateUio.js +75 -0
  19. package/dist/models/OAuthClientTypeUio.d.ts +25 -0
  20. package/dist/models/OAuthClientTypeUio.js +51 -0
  21. package/dist/models/OAuthClientUio.d.ts +95 -0
  22. package/dist/models/OAuthClientUio.js +95 -0
  23. package/dist/models/OAuthClientUpdateUio.d.ts +62 -0
  24. package/dist/models/OAuthClientUpdateUio.js +58 -0
  25. package/dist/models/OAuthClientWithSecretUio.d.ts +101 -0
  26. package/dist/models/OAuthClientWithSecretUio.js +99 -0
  27. package/dist/models/OAuthConsentUio.d.ts +68 -0
  28. package/dist/models/OAuthConsentUio.js +74 -0
  29. package/dist/models/OAuthProviderInfoUio.d.ts +44 -0
  30. package/dist/models/OAuthProviderInfoUio.js +58 -0
  31. package/dist/models/index.d.ts +13 -0
  32. package/dist/models/index.js +13 -0
  33. package/dist/openapi.json +750 -0
  34. package/package.json +1 -1
@@ -0,0 +1,74 @@
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.instanceOfOAuthConsentUio = instanceOfOAuthConsentUio;
17
+ exports.OAuthConsentUioFromJSON = OAuthConsentUioFromJSON;
18
+ exports.OAuthConsentUioFromJSONTyped = OAuthConsentUioFromJSONTyped;
19
+ exports.OAuthConsentUioToJSON = OAuthConsentUioToJSON;
20
+ exports.OAuthConsentUioToJSONTyped = OAuthConsentUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the OAuthConsentUio interface.
23
+ */
24
+ function instanceOfOAuthConsentUio(value) {
25
+ if (!('clientId' in value) || value['clientId'] === undefined)
26
+ return false;
27
+ if (!('clientName' in value) || value['clientName'] === undefined)
28
+ return false;
29
+ if (!('clientIcon' in value) || value['clientIcon'] === undefined)
30
+ return false;
31
+ if (!('clientUri' in value) || value['clientUri'] === undefined)
32
+ return false;
33
+ if (!('scopes' in value) || value['scopes'] === undefined)
34
+ return false;
35
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
36
+ return false;
37
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function OAuthConsentUioFromJSON(json) {
42
+ return OAuthConsentUioFromJSONTyped(json, false);
43
+ }
44
+ function OAuthConsentUioFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'clientId': json['clientId'],
50
+ 'clientName': json['clientName'],
51
+ 'clientIcon': json['clientIcon'],
52
+ 'clientUri': json['clientUri'],
53
+ 'scopes': json['scopes'],
54
+ 'createdAt': (json['createdAt'] == null ? null : new Date(json['createdAt'])),
55
+ 'updatedAt': (json['updatedAt'] == null ? null : new Date(json['updatedAt'])),
56
+ };
57
+ }
58
+ function OAuthConsentUioToJSON(json) {
59
+ return OAuthConsentUioToJSONTyped(json, false);
60
+ }
61
+ function OAuthConsentUioToJSONTyped(value, ignoreDiscriminator = false) {
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ return {
66
+ 'clientId': value['clientId'],
67
+ 'clientName': value['clientName'],
68
+ 'clientIcon': value['clientIcon'],
69
+ 'clientUri': value['clientUri'],
70
+ 'scopes': value['scopes'],
71
+ 'createdAt': (value['createdAt'] == null ? null : value['createdAt'].toISOString()),
72
+ 'updatedAt': (value['updatedAt'] == null ? null : value['updatedAt'].toISOString()),
73
+ };
74
+ }
@@ -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
+ * Le fournisseur OAuth de la plateforme. Répond 404 quand il est désactivé.
14
+ * @export
15
+ * @interface OAuthProviderInfoUio
16
+ */
17
+ export interface OAuthProviderInfoUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof OAuthProviderInfoUio
22
+ */
23
+ issuer: string;
24
+ /**
25
+ * La valeur exacte que les applications passent en `resource`.
26
+ * @type {string}
27
+ * @memberof OAuthProviderInfoUio
28
+ */
29
+ resource: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof OAuthProviderInfoUio
34
+ */
35
+ discoveryUrl: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the OAuthProviderInfoUio interface.
39
+ */
40
+ export declare function instanceOfOAuthProviderInfoUio(value: object): value is OAuthProviderInfoUio;
41
+ export declare function OAuthProviderInfoUioFromJSON(json: any): OAuthProviderInfoUio;
42
+ export declare function OAuthProviderInfoUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthProviderInfoUio;
43
+ export declare function OAuthProviderInfoUioToJSON(json: any): OAuthProviderInfoUio;
44
+ export declare function OAuthProviderInfoUioToJSONTyped(value?: OAuthProviderInfoUio | 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.instanceOfOAuthProviderInfoUio = instanceOfOAuthProviderInfoUio;
17
+ exports.OAuthProviderInfoUioFromJSON = OAuthProviderInfoUioFromJSON;
18
+ exports.OAuthProviderInfoUioFromJSONTyped = OAuthProviderInfoUioFromJSONTyped;
19
+ exports.OAuthProviderInfoUioToJSON = OAuthProviderInfoUioToJSON;
20
+ exports.OAuthProviderInfoUioToJSONTyped = OAuthProviderInfoUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the OAuthProviderInfoUio interface.
23
+ */
24
+ function instanceOfOAuthProviderInfoUio(value) {
25
+ if (!('issuer' in value) || value['issuer'] === undefined)
26
+ return false;
27
+ if (!('resource' in value) || value['resource'] === undefined)
28
+ return false;
29
+ if (!('discoveryUrl' in value) || value['discoveryUrl'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function OAuthProviderInfoUioFromJSON(json) {
34
+ return OAuthProviderInfoUioFromJSONTyped(json, false);
35
+ }
36
+ function OAuthProviderInfoUioFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'issuer': json['issuer'],
42
+ 'resource': json['resource'],
43
+ 'discoveryUrl': json['discoveryUrl'],
44
+ };
45
+ }
46
+ function OAuthProviderInfoUioToJSON(json) {
47
+ return OAuthProviderInfoUioToJSONTyped(json, false);
48
+ }
49
+ function OAuthProviderInfoUioToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'issuer': value['issuer'],
55
+ 'resource': value['resource'],
56
+ 'discoveryUrl': value['discoveryUrl'],
57
+ };
58
+ }
@@ -456,6 +456,19 @@ export * from './NodeSessionProgressUio';
456
456
  export * from './NodeSessionStateUio';
457
457
  export * from './NodeSessionUio';
458
458
  export * from './NodeTurnCancelResultUio';
459
+ export * from './OAuthAuthorizationConsentRequestUio';
460
+ export * from './OAuthAuthorizationRedirectUio';
461
+ export * from './OAuthAuthorizationResumeClientUio';
462
+ export * from './OAuthAuthorizationResumeOrganizationUio';
463
+ export * from './OAuthAuthorizationResumeRequestUio';
464
+ export * from './OAuthAuthorizationResumeUio';
465
+ export * from './OAuthClientCreateUio';
466
+ export * from './OAuthClientTypeUio';
467
+ export * from './OAuthClientUio';
468
+ export * from './OAuthClientUpdateUio';
469
+ export * from './OAuthClientWithSecretUio';
470
+ export * from './OAuthConsentUio';
471
+ export * from './OAuthProviderInfoUio';
459
472
  export * from './OcrModeUio';
460
473
  export * from './OpenAiChatCompletionRequestStreamOptionsUio';
461
474
  export * from './OpenAiChatCompletionRequestUio';
@@ -474,6 +474,19 @@ __exportStar(require("./NodeSessionProgressUio"), exports);
474
474
  __exportStar(require("./NodeSessionStateUio"), exports);
475
475
  __exportStar(require("./NodeSessionUio"), exports);
476
476
  __exportStar(require("./NodeTurnCancelResultUio"), exports);
477
+ __exportStar(require("./OAuthAuthorizationConsentRequestUio"), exports);
478
+ __exportStar(require("./OAuthAuthorizationRedirectUio"), exports);
479
+ __exportStar(require("./OAuthAuthorizationResumeClientUio"), exports);
480
+ __exportStar(require("./OAuthAuthorizationResumeOrganizationUio"), exports);
481
+ __exportStar(require("./OAuthAuthorizationResumeRequestUio"), exports);
482
+ __exportStar(require("./OAuthAuthorizationResumeUio"), exports);
483
+ __exportStar(require("./OAuthClientCreateUio"), exports);
484
+ __exportStar(require("./OAuthClientTypeUio"), exports);
485
+ __exportStar(require("./OAuthClientUio"), exports);
486
+ __exportStar(require("./OAuthClientUpdateUio"), exports);
487
+ __exportStar(require("./OAuthClientWithSecretUio"), exports);
488
+ __exportStar(require("./OAuthConsentUio"), exports);
489
+ __exportStar(require("./OAuthProviderInfoUio"), exports);
477
490
  __exportStar(require("./OcrModeUio"), exports);
478
491
  __exportStar(require("./OpenAiChatCompletionRequestStreamOptionsUio"), exports);
479
492
  __exportStar(require("./OpenAiChatCompletionRequestUio"), exports);