@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,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfFleetAnswersUpdateResultUio = instanceOfFleetAnswersUpdateResultUio;
17
+ exports.FleetAnswersUpdateResultUioFromJSON = FleetAnswersUpdateResultUioFromJSON;
18
+ exports.FleetAnswersUpdateResultUioFromJSONTyped = FleetAnswersUpdateResultUioFromJSONTyped;
19
+ exports.FleetAnswersUpdateResultUioToJSON = FleetAnswersUpdateResultUioToJSON;
20
+ exports.FleetAnswersUpdateResultUioToJSONTyped = FleetAnswersUpdateResultUioToJSONTyped;
21
+ const FleetInstallationUio_1 = require("./FleetInstallationUio");
22
+ /**
23
+ * Check if a given object implements the FleetAnswersUpdateResultUio interface.
24
+ */
25
+ function instanceOfFleetAnswersUpdateResultUio(value) {
26
+ if (!('installation' in value) || value['installation'] === undefined)
27
+ return false;
28
+ if (!('errors' in value) || value['errors'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function FleetAnswersUpdateResultUioFromJSON(json) {
33
+ return FleetAnswersUpdateResultUioFromJSONTyped(json, false);
34
+ }
35
+ function FleetAnswersUpdateResultUioFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'installation': (0, FleetInstallationUio_1.FleetInstallationUioFromJSON)(json['installation']),
41
+ 'errors': json['errors'],
42
+ };
43
+ }
44
+ function FleetAnswersUpdateResultUioToJSON(json) {
45
+ return FleetAnswersUpdateResultUioToJSONTyped(json, false);
46
+ }
47
+ function FleetAnswersUpdateResultUioToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'installation': (0, FleetInstallationUio_1.FleetInstallationUioToJSON)(value['installation']),
53
+ 'errors': value['errors'],
54
+ };
55
+ }
@@ -0,0 +1,34 @@
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 FleetAnswersUpdateUio
16
+ */
17
+ export interface FleetAnswersUpdateUio {
18
+ /**
19
+ * Les réponses d'un écran ; elles remplacent celles des mêmes questions.
20
+ * @type {{ [key: string]: any; }}
21
+ * @memberof FleetAnswersUpdateUio
22
+ */
23
+ answers: {
24
+ [key: string]: any;
25
+ };
26
+ }
27
+ /**
28
+ * Check if a given object implements the FleetAnswersUpdateUio interface.
29
+ */
30
+ export declare function instanceOfFleetAnswersUpdateUio(value: object): value is FleetAnswersUpdateUio;
31
+ export declare function FleetAnswersUpdateUioFromJSON(json: any): FleetAnswersUpdateUio;
32
+ export declare function FleetAnswersUpdateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetAnswersUpdateUio;
33
+ export declare function FleetAnswersUpdateUioToJSON(json: any): FleetAnswersUpdateUio;
34
+ export declare function FleetAnswersUpdateUioToJSONTyped(value?: FleetAnswersUpdateUio | 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.instanceOfFleetAnswersUpdateUio = instanceOfFleetAnswersUpdateUio;
17
+ exports.FleetAnswersUpdateUioFromJSON = FleetAnswersUpdateUioFromJSON;
18
+ exports.FleetAnswersUpdateUioFromJSONTyped = FleetAnswersUpdateUioFromJSONTyped;
19
+ exports.FleetAnswersUpdateUioToJSON = FleetAnswersUpdateUioToJSON;
20
+ exports.FleetAnswersUpdateUioToJSONTyped = FleetAnswersUpdateUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the FleetAnswersUpdateUio interface.
23
+ */
24
+ function instanceOfFleetAnswersUpdateUio(value) {
25
+ if (!('answers' in value) || value['answers'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function FleetAnswersUpdateUioFromJSON(json) {
30
+ return FleetAnswersUpdateUioFromJSONTyped(json, false);
31
+ }
32
+ function FleetAnswersUpdateUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'answers': json['answers'],
38
+ };
39
+ }
40
+ function FleetAnswersUpdateUioToJSON(json) {
41
+ return FleetAnswersUpdateUioToJSONTyped(json, false);
42
+ }
43
+ function FleetAnswersUpdateUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'answers': value['answers'],
49
+ };
50
+ }
@@ -0,0 +1,41 @@
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 { FleetConflictDecisionUio } from './FleetConflictDecisionUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface FleetApplyUio
17
+ */
18
+ export interface FleetApplyUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof FleetApplyUio
23
+ */
24
+ planId: string;
25
+ /**
26
+ * Une décision par conflit du plan.
27
+ * @type {{ [key: string]: FleetConflictDecisionUio; }}
28
+ * @memberof FleetApplyUio
29
+ */
30
+ decisions?: {
31
+ [key: string]: FleetConflictDecisionUio;
32
+ };
33
+ }
34
+ /**
35
+ * Check if a given object implements the FleetApplyUio interface.
36
+ */
37
+ export declare function instanceOfFleetApplyUio(value: object): value is FleetApplyUio;
38
+ export declare function FleetApplyUioFromJSON(json: any): FleetApplyUio;
39
+ export declare function FleetApplyUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetApplyUio;
40
+ export declare function FleetApplyUioToJSON(json: any): FleetApplyUio;
41
+ export declare function FleetApplyUioToJSONTyped(value?: FleetApplyUio | 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.instanceOfFleetApplyUio = instanceOfFleetApplyUio;
17
+ exports.FleetApplyUioFromJSON = FleetApplyUioFromJSON;
18
+ exports.FleetApplyUioFromJSONTyped = FleetApplyUioFromJSONTyped;
19
+ exports.FleetApplyUioToJSON = FleetApplyUioToJSON;
20
+ exports.FleetApplyUioToJSONTyped = FleetApplyUioToJSONTyped;
21
+ const runtime_1 = require("../runtime");
22
+ const FleetConflictDecisionUio_1 = require("./FleetConflictDecisionUio");
23
+ /**
24
+ * Check if a given object implements the FleetApplyUio interface.
25
+ */
26
+ function instanceOfFleetApplyUio(value) {
27
+ if (!('planId' in value) || value['planId'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function FleetApplyUioFromJSON(json) {
32
+ return FleetApplyUioFromJSONTyped(json, false);
33
+ }
34
+ function FleetApplyUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'planId': json['planId'],
40
+ 'decisions': json['decisions'] == null ? undefined : ((0, runtime_1.mapValues)(json['decisions'], FleetConflictDecisionUio_1.FleetConflictDecisionUioFromJSON)),
41
+ };
42
+ }
43
+ function FleetApplyUioToJSON(json) {
44
+ return FleetApplyUioToJSONTyped(json, false);
45
+ }
46
+ function FleetApplyUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'planId': value['planId'],
52
+ 'decisions': value['decisions'] == null ? undefined : ((0, runtime_1.mapValues)(value['decisions'], FleetConflictDecisionUio_1.FleetConflictDecisionUioToJSON)),
53
+ };
54
+ }
@@ -0,0 +1,51 @@
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 { FleetToolBindingUio } from './FleetToolBindingUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface FleetChoiceOptionUio
17
+ */
18
+ export interface FleetChoiceOptionUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof FleetChoiceOptionUio
23
+ */
24
+ value: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof FleetChoiceOptionUio
29
+ */
30
+ label: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof FleetChoiceOptionUio
35
+ */
36
+ hint?: string;
37
+ /**
38
+ *
39
+ * @type {FleetToolBindingUio}
40
+ * @memberof FleetChoiceOptionUio
41
+ */
42
+ tool?: FleetToolBindingUio;
43
+ }
44
+ /**
45
+ * Check if a given object implements the FleetChoiceOptionUio interface.
46
+ */
47
+ export declare function instanceOfFleetChoiceOptionUio(value: object): value is FleetChoiceOptionUio;
48
+ export declare function FleetChoiceOptionUioFromJSON(json: any): FleetChoiceOptionUio;
49
+ export declare function FleetChoiceOptionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetChoiceOptionUio;
50
+ export declare function FleetChoiceOptionUioToJSON(json: any): FleetChoiceOptionUio;
51
+ export declare function FleetChoiceOptionUioToJSONTyped(value?: FleetChoiceOptionUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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.instanceOfFleetChoiceOptionUio = instanceOfFleetChoiceOptionUio;
17
+ exports.FleetChoiceOptionUioFromJSON = FleetChoiceOptionUioFromJSON;
18
+ exports.FleetChoiceOptionUioFromJSONTyped = FleetChoiceOptionUioFromJSONTyped;
19
+ exports.FleetChoiceOptionUioToJSON = FleetChoiceOptionUioToJSON;
20
+ exports.FleetChoiceOptionUioToJSONTyped = FleetChoiceOptionUioToJSONTyped;
21
+ const FleetToolBindingUio_1 = require("./FleetToolBindingUio");
22
+ /**
23
+ * Check if a given object implements the FleetChoiceOptionUio interface.
24
+ */
25
+ function instanceOfFleetChoiceOptionUio(value) {
26
+ if (!('value' in value) || value['value'] === undefined)
27
+ return false;
28
+ if (!('label' in value) || value['label'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function FleetChoiceOptionUioFromJSON(json) {
33
+ return FleetChoiceOptionUioFromJSONTyped(json, false);
34
+ }
35
+ function FleetChoiceOptionUioFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'value': json['value'],
41
+ 'label': json['label'],
42
+ 'hint': json['hint'] == null ? undefined : json['hint'],
43
+ 'tool': json['tool'] == null ? undefined : (0, FleetToolBindingUio_1.FleetToolBindingUioFromJSON)(json['tool']),
44
+ };
45
+ }
46
+ function FleetChoiceOptionUioToJSON(json) {
47
+ return FleetChoiceOptionUioToJSONTyped(json, false);
48
+ }
49
+ function FleetChoiceOptionUioToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'value': value['value'],
55
+ 'label': value['label'],
56
+ 'hint': value['hint'],
57
+ 'tool': (0, FleetToolBindingUio_1.FleetToolBindingUioToJSON)(value['tool']),
58
+ };
59
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const FleetConflictDecisionUio: {
17
+ readonly Keep: "keep";
18
+ readonly Overwrite: "overwrite";
19
+ };
20
+ export type FleetConflictDecisionUio = typeof FleetConflictDecisionUio[keyof typeof FleetConflictDecisionUio];
21
+ export declare function instanceOfFleetConflictDecisionUio(value: any): boolean;
22
+ export declare function FleetConflictDecisionUioFromJSON(json: any): FleetConflictDecisionUio;
23
+ export declare function FleetConflictDecisionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetConflictDecisionUio;
24
+ export declare function FleetConflictDecisionUioToJSON(value?: FleetConflictDecisionUio | null): any;
25
+ export declare function FleetConflictDecisionUioToJSONTyped(value: any, ignoreDiscriminator: boolean): FleetConflictDecisionUio;
@@ -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.FleetConflictDecisionUio = void 0;
17
+ exports.instanceOfFleetConflictDecisionUio = instanceOfFleetConflictDecisionUio;
18
+ exports.FleetConflictDecisionUioFromJSON = FleetConflictDecisionUioFromJSON;
19
+ exports.FleetConflictDecisionUioFromJSONTyped = FleetConflictDecisionUioFromJSONTyped;
20
+ exports.FleetConflictDecisionUioToJSON = FleetConflictDecisionUioToJSON;
21
+ exports.FleetConflictDecisionUioToJSONTyped = FleetConflictDecisionUioToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.FleetConflictDecisionUio = {
27
+ Keep: 'keep',
28
+ Overwrite: 'overwrite'
29
+ };
30
+ function instanceOfFleetConflictDecisionUio(value) {
31
+ for (const key in exports.FleetConflictDecisionUio) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.FleetConflictDecisionUio, key)) {
33
+ if (exports.FleetConflictDecisionUio[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function FleetConflictDecisionUioFromJSON(json) {
41
+ return FleetConflictDecisionUioFromJSONTyped(json, false);
42
+ }
43
+ function FleetConflictDecisionUioFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function FleetConflictDecisionUioToJSON(value) {
47
+ return value;
48
+ }
49
+ function FleetConflictDecisionUioToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -0,0 +1,67 @@
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 { FleetChoiceOptionUio } from './FleetChoiceOptionUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface FleetGroupFieldUio
17
+ */
18
+ export interface FleetGroupFieldUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof FleetGroupFieldUio
23
+ */
24
+ type: FleetGroupFieldUioTypeEnum;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof FleetGroupFieldUio
29
+ */
30
+ label: string;
31
+ /**
32
+ *
33
+ * @type {Array<FleetChoiceOptionUio>}
34
+ * @memberof FleetGroupFieldUio
35
+ */
36
+ options?: Array<FleetChoiceOptionUio>;
37
+ /**
38
+ *
39
+ * @type {any}
40
+ * @memberof FleetGroupFieldUio
41
+ */
42
+ default?: any | null;
43
+ /**
44
+ *
45
+ * @type {boolean}
46
+ * @memberof FleetGroupFieldUio
47
+ */
48
+ required?: boolean;
49
+ }
50
+ /**
51
+ * @export
52
+ */
53
+ export declare const FleetGroupFieldUioTypeEnum: {
54
+ readonly Text: "text";
55
+ readonly Textarea: "textarea";
56
+ readonly Number: "number";
57
+ readonly Choice: "choice";
58
+ };
59
+ export type FleetGroupFieldUioTypeEnum = typeof FleetGroupFieldUioTypeEnum[keyof typeof FleetGroupFieldUioTypeEnum];
60
+ /**
61
+ * Check if a given object implements the FleetGroupFieldUio interface.
62
+ */
63
+ export declare function instanceOfFleetGroupFieldUio(value: object): value is FleetGroupFieldUio;
64
+ export declare function FleetGroupFieldUioFromJSON(json: any): FleetGroupFieldUio;
65
+ export declare function FleetGroupFieldUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetGroupFieldUio;
66
+ export declare function FleetGroupFieldUioToJSON(json: any): FleetGroupFieldUio;
67
+ export declare function FleetGroupFieldUioToJSONTyped(value?: FleetGroupFieldUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,71 @@
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.FleetGroupFieldUioTypeEnum = void 0;
17
+ exports.instanceOfFleetGroupFieldUio = instanceOfFleetGroupFieldUio;
18
+ exports.FleetGroupFieldUioFromJSON = FleetGroupFieldUioFromJSON;
19
+ exports.FleetGroupFieldUioFromJSONTyped = FleetGroupFieldUioFromJSONTyped;
20
+ exports.FleetGroupFieldUioToJSON = FleetGroupFieldUioToJSON;
21
+ exports.FleetGroupFieldUioToJSONTyped = FleetGroupFieldUioToJSONTyped;
22
+ const FleetChoiceOptionUio_1 = require("./FleetChoiceOptionUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.FleetGroupFieldUioTypeEnum = {
27
+ Text: 'text',
28
+ Textarea: 'textarea',
29
+ Number: 'number',
30
+ Choice: 'choice'
31
+ };
32
+ /**
33
+ * Check if a given object implements the FleetGroupFieldUio interface.
34
+ */
35
+ function instanceOfFleetGroupFieldUio(value) {
36
+ if (!('type' in value) || value['type'] === undefined)
37
+ return false;
38
+ if (!('label' in value) || value['label'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function FleetGroupFieldUioFromJSON(json) {
43
+ return FleetGroupFieldUioFromJSONTyped(json, false);
44
+ }
45
+ function FleetGroupFieldUioFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'type': json['type'],
51
+ 'label': json['label'],
52
+ 'options': json['options'] == null ? undefined : (json['options'].map(FleetChoiceOptionUio_1.FleetChoiceOptionUioFromJSON)),
53
+ 'default': json['default'] == null ? undefined : json['default'],
54
+ 'required': json['required'] == null ? undefined : json['required'],
55
+ };
56
+ }
57
+ function FleetGroupFieldUioToJSON(json) {
58
+ return FleetGroupFieldUioToJSONTyped(json, false);
59
+ }
60
+ function FleetGroupFieldUioToJSONTyped(value, ignoreDiscriminator = false) {
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'type': value['type'],
66
+ 'label': value['label'],
67
+ 'options': value['options'] == null ? undefined : (value['options'].map(FleetChoiceOptionUio_1.FleetChoiceOptionUioToJSON)),
68
+ 'default': value['default'],
69
+ 'required': value['required'],
70
+ };
71
+ }
@@ -0,0 +1,119 @@
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 { FleetGroupFieldUio } from './FleetGroupFieldUio';
13
+ import type { FleetKnowledgeSourceUio } from './FleetKnowledgeSourceUio';
14
+ import type { FleetChoiceOptionUio } from './FleetChoiceOptionUio';
15
+ import type { FleetToolBindingUio } from './FleetToolBindingUio';
16
+ /**
17
+ * Une question de l'assistant. La forme de la réponse dépend de `type`.
18
+ * @export
19
+ * @interface FleetInputUio
20
+ */
21
+ export interface FleetInputUio {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof FleetInputUio
26
+ */
27
+ type: FleetInputUioTypeEnum;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof FleetInputUio
32
+ */
33
+ label: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof FleetInputUio
38
+ */
39
+ help?: string;
40
+ /**
41
+ * Condition sur les autres réponses ; la question n'est posée que si elle est vraie.
42
+ * @type {string}
43
+ * @memberof FleetInputUio
44
+ */
45
+ when?: string;
46
+ /**
47
+ *
48
+ * @type {boolean}
49
+ * @memberof FleetInputUio
50
+ */
51
+ required?: boolean;
52
+ /**
53
+ *
54
+ * @type {any}
55
+ * @memberof FleetInputUio
56
+ */
57
+ default?: any | null;
58
+ /**
59
+ *
60
+ * @type {Array<FleetChoiceOptionUio>}
61
+ * @memberof FleetInputUio
62
+ */
63
+ options?: Array<FleetChoiceOptionUio>;
64
+ /**
65
+ *
66
+ * @type {FleetToolBindingUio}
67
+ * @memberof FleetInputUio
68
+ */
69
+ tool?: FleetToolBindingUio;
70
+ /**
71
+ *
72
+ * @type {number}
73
+ * @memberof FleetInputUio
74
+ */
75
+ min?: number;
76
+ /**
77
+ *
78
+ * @type {{ [key: string]: FleetGroupFieldUio; }}
79
+ * @memberof FleetInputUio
80
+ */
81
+ fields?: {
82
+ [key: string]: FleetGroupFieldUio;
83
+ };
84
+ /**
85
+ *
86
+ * @type {Array<FleetKnowledgeSourceUio>}
87
+ * @memberof FleetInputUio
88
+ */
89
+ suggestedSources?: Array<FleetKnowledgeSourceUio>;
90
+ }
91
+ /**
92
+ * @export
93
+ */
94
+ export declare const FleetInputUioTypeEnum: {
95
+ readonly Choice: "choice";
96
+ readonly Multi: "multi";
97
+ readonly Boolean: "boolean";
98
+ readonly Text: "text";
99
+ readonly Textarea: "textarea";
100
+ readonly Email: "email";
101
+ readonly UrlList: "url-list";
102
+ readonly Tool: "tool";
103
+ readonly KnowledgeBase: "knowledge-base";
104
+ readonly Members: "members";
105
+ readonly Member: "member";
106
+ readonly Engine: "engine";
107
+ readonly Agents: "agents";
108
+ readonly BusinessHours: "business-hours";
109
+ readonly Group: "group";
110
+ };
111
+ export type FleetInputUioTypeEnum = typeof FleetInputUioTypeEnum[keyof typeof FleetInputUioTypeEnum];
112
+ /**
113
+ * Check if a given object implements the FleetInputUio interface.
114
+ */
115
+ export declare function instanceOfFleetInputUio(value: object): value is FleetInputUio;
116
+ export declare function FleetInputUioFromJSON(json: any): FleetInputUio;
117
+ export declare function FleetInputUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetInputUio;
118
+ export declare function FleetInputUioToJSON(json: any): FleetInputUio;
119
+ export declare function FleetInputUioToJSONTyped(value?: FleetInputUio | null, ignoreDiscriminator?: boolean): any;