@breign/client 1.0.185 → 1.0.187

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 (66) hide show
  1. package/dist/apis/FleetsApi.d.ts +153 -0
  2. package/dist/apis/FleetsApi.js +370 -0
  3. package/dist/apis/index.d.ts +1 -0
  4. package/dist/apis/index.js +1 -0
  5. package/dist/models/FleetAnswersUpdateResultUio.d.ts +47 -0
  6. package/dist/models/FleetAnswersUpdateResultUio.js +59 -0
  7. package/dist/models/FleetAnswersUpdateUio.d.ts +34 -0
  8. package/dist/models/FleetAnswersUpdateUio.js +50 -0
  9. package/dist/models/FleetApplyUio.d.ts +41 -0
  10. package/dist/models/FleetApplyUio.js +54 -0
  11. package/dist/models/FleetChoiceOptionUio.d.ts +51 -0
  12. package/dist/models/FleetChoiceOptionUio.js +59 -0
  13. package/dist/models/FleetConflictDecisionUio.d.ts +25 -0
  14. package/dist/models/FleetConflictDecisionUio.js +51 -0
  15. package/dist/models/FleetGroupFieldUio.d.ts +67 -0
  16. package/dist/models/FleetGroupFieldUio.js +71 -0
  17. package/dist/models/FleetInputUio.d.ts +119 -0
  18. package/dist/models/FleetInputUio.js +98 -0
  19. package/dist/models/FleetInstallationStartUio.d.ts +32 -0
  20. package/dist/models/FleetInstallationStartUio.js +50 -0
  21. package/dist/models/FleetInstallationStatusUio.d.ts +28 -0
  22. package/dist/models/FleetInstallationStatusUio.js +54 -0
  23. package/dist/models/FleetInstallationUio.d.ts +152 -0
  24. package/dist/models/FleetInstallationUio.js +129 -0
  25. package/dist/models/FleetInstalledResourceUio.d.ts +59 -0
  26. package/dist/models/FleetInstalledResourceUio.js +65 -0
  27. package/dist/models/FleetKnowledgeSourceUio.d.ts +64 -0
  28. package/dist/models/FleetKnowledgeSourceUio.js +66 -0
  29. package/dist/models/FleetManualStepUio.d.ts +44 -0
  30. package/dist/models/FleetManualStepUio.js +58 -0
  31. package/dist/models/FleetManualStepUpdateUio.d.ts +32 -0
  32. package/dist/models/FleetManualStepUpdateUio.js +50 -0
  33. package/dist/models/FleetPlanActionUio.d.ts +30 -0
  34. package/dist/models/FleetPlanActionUio.js +56 -0
  35. package/dist/models/FleetPlanBlockingUio.d.ts +38 -0
  36. package/dist/models/FleetPlanBlockingUio.js +52 -0
  37. package/dist/models/FleetPlanItemUio.d.ts +70 -0
  38. package/dist/models/FleetPlanItemUio.js +70 -0
  39. package/dist/models/FleetPlanUio.d.ts +68 -0
  40. package/dist/models/FleetPlanUio.js +72 -0
  41. package/dist/models/FleetResourceTypeUio.d.ts +31 -0
  42. package/dist/models/FleetResourceTypeUio.js +57 -0
  43. package/dist/models/FleetSecretsUio.d.ts +33 -0
  44. package/dist/models/FleetSecretsUio.js +51 -0
  45. package/dist/models/FleetStepLogUio.d.ts +65 -0
  46. package/dist/models/FleetStepLogUio.js +73 -0
  47. package/dist/models/FleetStepUio.d.ts +50 -0
  48. package/dist/models/FleetStepUio.js +60 -0
  49. package/dist/models/FleetTemplateAgentUio.d.ts +50 -0
  50. package/dist/models/FleetTemplateAgentUio.js +62 -0
  51. package/dist/models/FleetTemplateCountsUio.d.ts +56 -0
  52. package/dist/models/FleetTemplateCountsUio.js +66 -0
  53. package/dist/models/FleetTemplateInstallationRefUio.d.ts +45 -0
  54. package/dist/models/FleetTemplateInstallationRefUio.js +59 -0
  55. package/dist/models/FleetTemplateSummaryUio.d.ts +82 -0
  56. package/dist/models/FleetTemplateSummaryUio.js +84 -0
  57. package/dist/models/FleetTemplateUio.d.ts +104 -0
  58. package/dist/models/FleetTemplateUio.js +99 -0
  59. package/dist/models/FleetToolBindingUio.d.ts +44 -0
  60. package/dist/models/FleetToolBindingUio.js +52 -0
  61. package/dist/models/FleetWebhookSecretUio.d.ts +50 -0
  62. package/dist/models/FleetWebhookSecretUio.js +62 -0
  63. package/dist/models/index.d.ts +29 -0
  64. package/dist/models/index.js +29 -0
  65. package/dist/openapi.json +1068 -0
  66. package/package.json +1 -1
@@ -0,0 +1,64 @@
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 FleetKnowledgeSourceUio
16
+ */
17
+ export interface FleetKnowledgeSourceUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FleetKnowledgeSourceUio
22
+ */
23
+ type: FleetKnowledgeSourceUioTypeEnum;
24
+ /**
25
+ * Pour un site web.
26
+ * @type {string}
27
+ * @memberof FleetKnowledgeSourceUio
28
+ */
29
+ url?: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof FleetKnowledgeSourceUio
34
+ */
35
+ onlyThisSite?: boolean;
36
+ /**
37
+ * Pour des fichiers livrés avec le modèle.
38
+ * @type {string}
39
+ * @memberof FleetKnowledgeSourceUio
40
+ */
41
+ path?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof FleetKnowledgeSourceUio
46
+ */
47
+ label?: string;
48
+ }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const FleetKnowledgeSourceUioTypeEnum: {
53
+ readonly Website: "website";
54
+ readonly Files: "files";
55
+ };
56
+ export type FleetKnowledgeSourceUioTypeEnum = typeof FleetKnowledgeSourceUioTypeEnum[keyof typeof FleetKnowledgeSourceUioTypeEnum];
57
+ /**
58
+ * Check if a given object implements the FleetKnowledgeSourceUio interface.
59
+ */
60
+ export declare function instanceOfFleetKnowledgeSourceUio(value: object): value is FleetKnowledgeSourceUio;
61
+ export declare function FleetKnowledgeSourceUioFromJSON(json: any): FleetKnowledgeSourceUio;
62
+ export declare function FleetKnowledgeSourceUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetKnowledgeSourceUio;
63
+ export declare function FleetKnowledgeSourceUioToJSON(json: any): FleetKnowledgeSourceUio;
64
+ export declare function FleetKnowledgeSourceUioToJSONTyped(value?: FleetKnowledgeSourceUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
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.FleetKnowledgeSourceUioTypeEnum = void 0;
17
+ exports.instanceOfFleetKnowledgeSourceUio = instanceOfFleetKnowledgeSourceUio;
18
+ exports.FleetKnowledgeSourceUioFromJSON = FleetKnowledgeSourceUioFromJSON;
19
+ exports.FleetKnowledgeSourceUioFromJSONTyped = FleetKnowledgeSourceUioFromJSONTyped;
20
+ exports.FleetKnowledgeSourceUioToJSON = FleetKnowledgeSourceUioToJSON;
21
+ exports.FleetKnowledgeSourceUioToJSONTyped = FleetKnowledgeSourceUioToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.FleetKnowledgeSourceUioTypeEnum = {
26
+ Website: 'website',
27
+ Files: 'files'
28
+ };
29
+ /**
30
+ * Check if a given object implements the FleetKnowledgeSourceUio interface.
31
+ */
32
+ function instanceOfFleetKnowledgeSourceUio(value) {
33
+ if (!('type' in value) || value['type'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function FleetKnowledgeSourceUioFromJSON(json) {
38
+ return FleetKnowledgeSourceUioFromJSONTyped(json, false);
39
+ }
40
+ function FleetKnowledgeSourceUioFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'type': json['type'],
46
+ 'url': json['url'] == null ? undefined : json['url'],
47
+ 'onlyThisSite': json['onlyThisSite'] == null ? undefined : json['onlyThisSite'],
48
+ 'path': json['path'] == null ? undefined : json['path'],
49
+ 'label': json['label'] == null ? undefined : json['label'],
50
+ };
51
+ }
52
+ function FleetKnowledgeSourceUioToJSON(json) {
53
+ return FleetKnowledgeSourceUioToJSONTyped(json, false);
54
+ }
55
+ function FleetKnowledgeSourceUioToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'type': value['type'],
61
+ 'url': value['url'],
62
+ 'onlyThisSite': value['onlyThisSite'],
63
+ 'path': value['path'],
64
+ 'label': value['label'],
65
+ };
66
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface FleetManualStepUio
16
+ */
17
+ export interface FleetManualStepUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FleetManualStepUio
22
+ */
23
+ key: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof FleetManualStepUio
28
+ */
29
+ text: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof FleetManualStepUio
34
+ */
35
+ done: boolean;
36
+ }
37
+ /**
38
+ * Check if a given object implements the FleetManualStepUio interface.
39
+ */
40
+ export declare function instanceOfFleetManualStepUio(value: object): value is FleetManualStepUio;
41
+ export declare function FleetManualStepUioFromJSON(json: any): FleetManualStepUio;
42
+ export declare function FleetManualStepUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetManualStepUio;
43
+ export declare function FleetManualStepUioToJSON(json: any): FleetManualStepUio;
44
+ export declare function FleetManualStepUioToJSONTyped(value?: FleetManualStepUio | 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.instanceOfFleetManualStepUio = instanceOfFleetManualStepUio;
17
+ exports.FleetManualStepUioFromJSON = FleetManualStepUioFromJSON;
18
+ exports.FleetManualStepUioFromJSONTyped = FleetManualStepUioFromJSONTyped;
19
+ exports.FleetManualStepUioToJSON = FleetManualStepUioToJSON;
20
+ exports.FleetManualStepUioToJSONTyped = FleetManualStepUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the FleetManualStepUio interface.
23
+ */
24
+ function instanceOfFleetManualStepUio(value) {
25
+ if (!('key' in value) || value['key'] === undefined)
26
+ return false;
27
+ if (!('text' in value) || value['text'] === undefined)
28
+ return false;
29
+ if (!('done' in value) || value['done'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function FleetManualStepUioFromJSON(json) {
34
+ return FleetManualStepUioFromJSONTyped(json, false);
35
+ }
36
+ function FleetManualStepUioFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'key': json['key'],
42
+ 'text': json['text'],
43
+ 'done': json['done'],
44
+ };
45
+ }
46
+ function FleetManualStepUioToJSON(json) {
47
+ return FleetManualStepUioToJSONTyped(json, false);
48
+ }
49
+ function FleetManualStepUioToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'key': value['key'],
55
+ 'text': value['text'],
56
+ 'done': value['done'],
57
+ };
58
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface FleetManualStepUpdateUio
16
+ */
17
+ export interface FleetManualStepUpdateUio {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof FleetManualStepUpdateUio
22
+ */
23
+ done: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the FleetManualStepUpdateUio interface.
27
+ */
28
+ export declare function instanceOfFleetManualStepUpdateUio(value: object): value is FleetManualStepUpdateUio;
29
+ export declare function FleetManualStepUpdateUioFromJSON(json: any): FleetManualStepUpdateUio;
30
+ export declare function FleetManualStepUpdateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetManualStepUpdateUio;
31
+ export declare function FleetManualStepUpdateUioToJSON(json: any): FleetManualStepUpdateUio;
32
+ export declare function FleetManualStepUpdateUioToJSONTyped(value?: FleetManualStepUpdateUio | 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.instanceOfFleetManualStepUpdateUio = instanceOfFleetManualStepUpdateUio;
17
+ exports.FleetManualStepUpdateUioFromJSON = FleetManualStepUpdateUioFromJSON;
18
+ exports.FleetManualStepUpdateUioFromJSONTyped = FleetManualStepUpdateUioFromJSONTyped;
19
+ exports.FleetManualStepUpdateUioToJSON = FleetManualStepUpdateUioToJSON;
20
+ exports.FleetManualStepUpdateUioToJSONTyped = FleetManualStepUpdateUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the FleetManualStepUpdateUio interface.
23
+ */
24
+ function instanceOfFleetManualStepUpdateUio(value) {
25
+ if (!('done' in value) || value['done'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function FleetManualStepUpdateUioFromJSON(json) {
30
+ return FleetManualStepUpdateUioFromJSONTyped(json, false);
31
+ }
32
+ function FleetManualStepUpdateUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'done': json['done'],
38
+ };
39
+ }
40
+ function FleetManualStepUpdateUioToJSON(json) {
41
+ return FleetManualStepUpdateUioToJSONTyped(json, false);
42
+ }
43
+ function FleetManualStepUpdateUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'done': value['done'],
49
+ };
50
+ }
@@ -0,0 +1,30 @@
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 FleetPlanActionUio: {
17
+ readonly Create: "create";
18
+ readonly Reuse: "reuse";
19
+ readonly Update: "update";
20
+ readonly Unchanged: "unchanged";
21
+ readonly Skip: "skip";
22
+ readonly Conflict: "conflict";
23
+ readonly Orphan: "orphan";
24
+ };
25
+ export type FleetPlanActionUio = typeof FleetPlanActionUio[keyof typeof FleetPlanActionUio];
26
+ export declare function instanceOfFleetPlanActionUio(value: any): boolean;
27
+ export declare function FleetPlanActionUioFromJSON(json: any): FleetPlanActionUio;
28
+ export declare function FleetPlanActionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetPlanActionUio;
29
+ export declare function FleetPlanActionUioToJSON(value?: FleetPlanActionUio | null): any;
30
+ export declare function FleetPlanActionUioToJSONTyped(value: any, ignoreDiscriminator: boolean): FleetPlanActionUio;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.FleetPlanActionUio = void 0;
17
+ exports.instanceOfFleetPlanActionUio = instanceOfFleetPlanActionUio;
18
+ exports.FleetPlanActionUioFromJSON = FleetPlanActionUioFromJSON;
19
+ exports.FleetPlanActionUioFromJSONTyped = FleetPlanActionUioFromJSONTyped;
20
+ exports.FleetPlanActionUioToJSON = FleetPlanActionUioToJSON;
21
+ exports.FleetPlanActionUioToJSONTyped = FleetPlanActionUioToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.FleetPlanActionUio = {
27
+ Create: 'create',
28
+ Reuse: 'reuse',
29
+ Update: 'update',
30
+ Unchanged: 'unchanged',
31
+ Skip: 'skip',
32
+ Conflict: 'conflict',
33
+ Orphan: 'orphan'
34
+ };
35
+ function instanceOfFleetPlanActionUio(value) {
36
+ for (const key in exports.FleetPlanActionUio) {
37
+ if (Object.prototype.hasOwnProperty.call(exports.FleetPlanActionUio, key)) {
38
+ if (exports.FleetPlanActionUio[key] === value) {
39
+ return true;
40
+ }
41
+ }
42
+ }
43
+ return false;
44
+ }
45
+ function FleetPlanActionUioFromJSON(json) {
46
+ return FleetPlanActionUioFromJSONTyped(json, false);
47
+ }
48
+ function FleetPlanActionUioFromJSONTyped(json, ignoreDiscriminator) {
49
+ return json;
50
+ }
51
+ function FleetPlanActionUioToJSON(value) {
52
+ return value;
53
+ }
54
+ function FleetPlanActionUioToJSONTyped(value, ignoreDiscriminator) {
55
+ return value;
56
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface FleetPlanBlockingUio
16
+ */
17
+ export interface FleetPlanBlockingUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FleetPlanBlockingUio
22
+ */
23
+ key?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof FleetPlanBlockingUio
28
+ */
29
+ message: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the FleetPlanBlockingUio interface.
33
+ */
34
+ export declare function instanceOfFleetPlanBlockingUio(value: object): value is FleetPlanBlockingUio;
35
+ export declare function FleetPlanBlockingUioFromJSON(json: any): FleetPlanBlockingUio;
36
+ export declare function FleetPlanBlockingUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetPlanBlockingUio;
37
+ export declare function FleetPlanBlockingUioToJSON(json: any): FleetPlanBlockingUio;
38
+ export declare function FleetPlanBlockingUioToJSONTyped(value?: FleetPlanBlockingUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfFleetPlanBlockingUio = instanceOfFleetPlanBlockingUio;
17
+ exports.FleetPlanBlockingUioFromJSON = FleetPlanBlockingUioFromJSON;
18
+ exports.FleetPlanBlockingUioFromJSONTyped = FleetPlanBlockingUioFromJSONTyped;
19
+ exports.FleetPlanBlockingUioToJSON = FleetPlanBlockingUioToJSON;
20
+ exports.FleetPlanBlockingUioToJSONTyped = FleetPlanBlockingUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the FleetPlanBlockingUio interface.
23
+ */
24
+ function instanceOfFleetPlanBlockingUio(value) {
25
+ if (!('message' in value) || value['message'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function FleetPlanBlockingUioFromJSON(json) {
30
+ return FleetPlanBlockingUioFromJSONTyped(json, false);
31
+ }
32
+ function FleetPlanBlockingUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'key': json['key'] == null ? undefined : json['key'],
38
+ 'message': json['message'],
39
+ };
40
+ }
41
+ function FleetPlanBlockingUioToJSON(json) {
42
+ return FleetPlanBlockingUioToJSONTyped(json, false);
43
+ }
44
+ function FleetPlanBlockingUioToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'key': value['key'],
50
+ 'message': value['message'],
51
+ };
52
+ }
@@ -0,0 +1,70 @@
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 { FleetPlanActionUio } from './FleetPlanActionUio';
13
+ import type { FleetResourceTypeUio } from './FleetResourceTypeUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface FleetPlanItemUio
18
+ */
19
+ export interface FleetPlanItemUio {
20
+ /**
21
+ * Clé du modèle (`agents.accueil`) ou de l'outil réutilisé (`tools.<id>`).
22
+ * @type {string}
23
+ * @memberof FleetPlanItemUio
24
+ */
25
+ key: string;
26
+ /**
27
+ *
28
+ * @type {FleetResourceTypeUio}
29
+ * @memberof FleetPlanItemUio
30
+ */
31
+ type: FleetResourceTypeUio;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof FleetPlanItemUio
36
+ */
37
+ label: string;
38
+ /**
39
+ *
40
+ * @type {FleetPlanActionUio}
41
+ * @memberof FleetPlanItemUio
42
+ */
43
+ action: FleetPlanActionUio;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof FleetPlanItemUio
48
+ */
49
+ resourceId?: string;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof FleetPlanItemUio
54
+ */
55
+ reason?: string;
56
+ /**
57
+ * Trouvée par son nom sans appartenir à la flotte ; l'écraser la fait reprendre.
58
+ * @type {boolean}
59
+ * @memberof FleetPlanItemUio
60
+ */
61
+ adopted?: boolean;
62
+ }
63
+ /**
64
+ * Check if a given object implements the FleetPlanItemUio interface.
65
+ */
66
+ export declare function instanceOfFleetPlanItemUio(value: object): value is FleetPlanItemUio;
67
+ export declare function FleetPlanItemUioFromJSON(json: any): FleetPlanItemUio;
68
+ export declare function FleetPlanItemUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetPlanItemUio;
69
+ export declare function FleetPlanItemUioToJSON(json: any): FleetPlanItemUio;
70
+ export declare function FleetPlanItemUioToJSONTyped(value?: FleetPlanItemUio | 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.instanceOfFleetPlanItemUio = instanceOfFleetPlanItemUio;
17
+ exports.FleetPlanItemUioFromJSON = FleetPlanItemUioFromJSON;
18
+ exports.FleetPlanItemUioFromJSONTyped = FleetPlanItemUioFromJSONTyped;
19
+ exports.FleetPlanItemUioToJSON = FleetPlanItemUioToJSON;
20
+ exports.FleetPlanItemUioToJSONTyped = FleetPlanItemUioToJSONTyped;
21
+ const FleetPlanActionUio_1 = require("./FleetPlanActionUio");
22
+ const FleetResourceTypeUio_1 = require("./FleetResourceTypeUio");
23
+ /**
24
+ * Check if a given object implements the FleetPlanItemUio interface.
25
+ */
26
+ function instanceOfFleetPlanItemUio(value) {
27
+ if (!('key' in value) || value['key'] === undefined)
28
+ return false;
29
+ if (!('type' in value) || value['type'] === undefined)
30
+ return false;
31
+ if (!('label' in value) || value['label'] === undefined)
32
+ return false;
33
+ if (!('action' in value) || value['action'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function FleetPlanItemUioFromJSON(json) {
38
+ return FleetPlanItemUioFromJSONTyped(json, false);
39
+ }
40
+ function FleetPlanItemUioFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'key': json['key'],
46
+ 'type': (0, FleetResourceTypeUio_1.FleetResourceTypeUioFromJSON)(json['type']),
47
+ 'label': json['label'],
48
+ 'action': (0, FleetPlanActionUio_1.FleetPlanActionUioFromJSON)(json['action']),
49
+ 'resourceId': json['resourceId'] == null ? undefined : json['resourceId'],
50
+ 'reason': json['reason'] == null ? undefined : json['reason'],
51
+ 'adopted': json['adopted'] == null ? undefined : json['adopted'],
52
+ };
53
+ }
54
+ function FleetPlanItemUioToJSON(json) {
55
+ return FleetPlanItemUioToJSONTyped(json, false);
56
+ }
57
+ function FleetPlanItemUioToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'key': value['key'],
63
+ 'type': (0, FleetResourceTypeUio_1.FleetResourceTypeUioToJSON)(value['type']),
64
+ 'label': value['label'],
65
+ 'action': (0, FleetPlanActionUio_1.FleetPlanActionUioToJSON)(value['action']),
66
+ 'resourceId': value['resourceId'],
67
+ 'reason': value['reason'],
68
+ 'adopted': value['adopted'],
69
+ };
70
+ }