@breign/client 1.0.190 → 1.0.192

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/AiGatewayApi.d.ts +15 -1
  2. package/dist/apis/AiGatewayApi.js +34 -0
  3. package/dist/apis/TicketsApi.d.ts +15 -1
  4. package/dist/apis/TicketsApi.js +32 -0
  5. package/dist/models/AgentAtWorkProjectUio.d.ts +44 -0
  6. package/dist/models/AgentAtWorkProjectUio.js +58 -0
  7. package/dist/models/AgentAtWorkUio.d.ts +65 -0
  8. package/dist/models/AgentAtWorkUio.js +73 -0
  9. package/dist/models/AiGatewaySystemOneAnswerUio.d.ts +68 -0
  10. package/dist/models/AiGatewaySystemOneAnswerUio.js +69 -0
  11. package/dist/models/AiGatewaySystemOneQuestionCriteriaUio.d.ts +23 -0
  12. package/dist/models/AiGatewaySystemOneQuestionCriteriaUio.js +37 -0
  13. package/dist/models/AiGatewaySystemOneQuestionUio.d.ts +54 -0
  14. package/dist/models/AiGatewaySystemOneQuestionUio.js +66 -0
  15. package/dist/models/AiGatewaySystemOneRequestStateUio.d.ts +23 -0
  16. package/dist/models/AiGatewaySystemOneRequestStateUio.js +37 -0
  17. package/dist/models/AiGatewaySystemOneRequestUio.d.ts +54 -0
  18. package/dist/models/AiGatewaySystemOneRequestUio.js +63 -0
  19. package/dist/models/AiGatewaySystemOneResponseUio.d.ts +48 -0
  20. package/dist/models/AiGatewaySystemOneResponseUio.js +61 -0
  21. package/dist/models/AiGatewaySystemOneResponseUsageUio.d.ts +38 -0
  22. package/dist/models/AiGatewaySystemOneResponseUsageUio.js +50 -0
  23. package/dist/models/ModelDefinitionUio.d.ts +6 -0
  24. package/dist/models/ModelDefinitionUio.js +2 -0
  25. package/dist/models/ProjectAttentionUio.d.ts +6 -0
  26. package/dist/models/ProjectAttentionUio.js +4 -0
  27. package/dist/models/UpdateUserChatPreferencesRequestUio.d.ts +6 -0
  28. package/dist/models/UpdateUserChatPreferencesRequestUio.js +2 -0
  29. package/dist/models/UserChatPreferencesUio.d.ts +6 -0
  30. package/dist/models/UserChatPreferencesUio.js +4 -0
  31. package/dist/models/index.d.ts +9 -0
  32. package/dist/models/index.js +9 -0
  33. package/dist/openapi.json +327 -2
  34. package/package.json +1 -1
@@ -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.AiGatewaySystemOneQuestionUioTypeEnum = void 0;
17
+ exports.instanceOfAiGatewaySystemOneQuestionUio = instanceOfAiGatewaySystemOneQuestionUio;
18
+ exports.AiGatewaySystemOneQuestionUioFromJSON = AiGatewaySystemOneQuestionUioFromJSON;
19
+ exports.AiGatewaySystemOneQuestionUioFromJSONTyped = AiGatewaySystemOneQuestionUioFromJSONTyped;
20
+ exports.AiGatewaySystemOneQuestionUioToJSON = AiGatewaySystemOneQuestionUioToJSON;
21
+ exports.AiGatewaySystemOneQuestionUioToJSONTyped = AiGatewaySystemOneQuestionUioToJSONTyped;
22
+ const AiGatewaySystemOneQuestionCriteriaUio_1 = require("./AiGatewaySystemOneQuestionCriteriaUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.AiGatewaySystemOneQuestionUioTypeEnum = {
27
+ Choice: 'choice',
28
+ Noul: 'noul',
29
+ Score: 'score'
30
+ };
31
+ /**
32
+ * Check if a given object implements the AiGatewaySystemOneQuestionUio interface.
33
+ */
34
+ function instanceOfAiGatewaySystemOneQuestionUio(value) {
35
+ if (!('type' in value) || value['type'] === undefined)
36
+ return false;
37
+ if (!('instructions' in value) || value['instructions'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function AiGatewaySystemOneQuestionUioFromJSON(json) {
42
+ return AiGatewaySystemOneQuestionUioFromJSONTyped(json, false);
43
+ }
44
+ function AiGatewaySystemOneQuestionUioFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'type': json['type'],
50
+ 'instructions': json['instructions'],
51
+ 'criteria': json['criteria'] == null ? undefined : (0, AiGatewaySystemOneQuestionCriteriaUio_1.AiGatewaySystemOneQuestionCriteriaUioFromJSON)(json['criteria']),
52
+ };
53
+ }
54
+ function AiGatewaySystemOneQuestionUioToJSON(json) {
55
+ return AiGatewaySystemOneQuestionUioToJSONTyped(json, false);
56
+ }
57
+ function AiGatewaySystemOneQuestionUioToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'type': value['type'],
63
+ 'instructions': value['instructions'],
64
+ 'criteria': (0, AiGatewaySystemOneQuestionCriteriaUio_1.AiGatewaySystemOneQuestionCriteriaUioToJSON)(value['criteria']),
65
+ };
66
+ }
@@ -0,0 +1,23 @@
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
+ * @type AiGatewaySystemOneRequestStateUio
14
+ * Entrée sur laquelle décider, texte ou objet JSON.
15
+ * @export
16
+ */
17
+ export type AiGatewaySystemOneRequestStateUio = string | {
18
+ [key: string]: any;
19
+ };
20
+ export declare function AiGatewaySystemOneRequestStateUioFromJSON(json: any): AiGatewaySystemOneRequestStateUio;
21
+ export declare function AiGatewaySystemOneRequestStateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewaySystemOneRequestStateUio;
22
+ export declare function AiGatewaySystemOneRequestStateUioToJSON(json: any): any;
23
+ export declare function AiGatewaySystemOneRequestStateUioToJSONTyped(value?: AiGatewaySystemOneRequestStateUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,37 @@
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.AiGatewaySystemOneRequestStateUioFromJSON = AiGatewaySystemOneRequestStateUioFromJSON;
17
+ exports.AiGatewaySystemOneRequestStateUioFromJSONTyped = AiGatewaySystemOneRequestStateUioFromJSONTyped;
18
+ exports.AiGatewaySystemOneRequestStateUioToJSON = AiGatewaySystemOneRequestStateUioToJSON;
19
+ exports.AiGatewaySystemOneRequestStateUioToJSONTyped = AiGatewaySystemOneRequestStateUioToJSONTyped;
20
+ function AiGatewaySystemOneRequestStateUioFromJSON(json) {
21
+ return AiGatewaySystemOneRequestStateUioFromJSONTyped(json, false);
22
+ }
23
+ function AiGatewaySystemOneRequestStateUioFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {};
28
+ }
29
+ function AiGatewaySystemOneRequestStateUioToJSON(json) {
30
+ return AiGatewaySystemOneRequestStateUioToJSONTyped(json, false);
31
+ }
32
+ function AiGatewaySystemOneRequestStateUioToJSONTyped(value, ignoreDiscriminator = false) {
33
+ if (value == null) {
34
+ return value;
35
+ }
36
+ return {};
37
+ }
@@ -0,0 +1,54 @@
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 { AiGatewaySystemOneQuestionUio } from './AiGatewaySystemOneQuestionUio';
13
+ import type { AiGatewaySystemOneRequestStateUio } from './AiGatewaySystemOneRequestStateUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AiGatewaySystemOneRequestUio
18
+ */
19
+ export interface AiGatewaySystemOneRequestUio {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof AiGatewaySystemOneRequestUio
24
+ */
25
+ model: string;
26
+ /**
27
+ *
28
+ * @type {AiGatewaySystemOneRequestStateUio}
29
+ * @memberof AiGatewaySystemOneRequestUio
30
+ */
31
+ state: AiGatewaySystemOneRequestStateUio;
32
+ /**
33
+ * Images encodées en base64 (PNG, JPEG ou WebP), partagées par toutes les questions.
34
+ * @type {Array<string>}
35
+ * @memberof AiGatewaySystemOneRequestUio
36
+ */
37
+ images?: Array<string>;
38
+ /**
39
+ *
40
+ * @type {{ [key: string]: AiGatewaySystemOneQuestionUio; }}
41
+ * @memberof AiGatewaySystemOneRequestUio
42
+ */
43
+ questions: {
44
+ [key: string]: AiGatewaySystemOneQuestionUio;
45
+ };
46
+ }
47
+ /**
48
+ * Check if a given object implements the AiGatewaySystemOneRequestUio interface.
49
+ */
50
+ export declare function instanceOfAiGatewaySystemOneRequestUio(value: object): value is AiGatewaySystemOneRequestUio;
51
+ export declare function AiGatewaySystemOneRequestUioFromJSON(json: any): AiGatewaySystemOneRequestUio;
52
+ export declare function AiGatewaySystemOneRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewaySystemOneRequestUio;
53
+ export declare function AiGatewaySystemOneRequestUioToJSON(json: any): AiGatewaySystemOneRequestUio;
54
+ export declare function AiGatewaySystemOneRequestUioToJSONTyped(value?: AiGatewaySystemOneRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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.instanceOfAiGatewaySystemOneRequestUio = instanceOfAiGatewaySystemOneRequestUio;
17
+ exports.AiGatewaySystemOneRequestUioFromJSON = AiGatewaySystemOneRequestUioFromJSON;
18
+ exports.AiGatewaySystemOneRequestUioFromJSONTyped = AiGatewaySystemOneRequestUioFromJSONTyped;
19
+ exports.AiGatewaySystemOneRequestUioToJSON = AiGatewaySystemOneRequestUioToJSON;
20
+ exports.AiGatewaySystemOneRequestUioToJSONTyped = AiGatewaySystemOneRequestUioToJSONTyped;
21
+ const runtime_1 = require("../runtime");
22
+ const AiGatewaySystemOneQuestionUio_1 = require("./AiGatewaySystemOneQuestionUio");
23
+ const AiGatewaySystemOneRequestStateUio_1 = require("./AiGatewaySystemOneRequestStateUio");
24
+ /**
25
+ * Check if a given object implements the AiGatewaySystemOneRequestUio interface.
26
+ */
27
+ function instanceOfAiGatewaySystemOneRequestUio(value) {
28
+ if (!('model' in value) || value['model'] === undefined)
29
+ return false;
30
+ if (!('state' in value) || value['state'] === undefined)
31
+ return false;
32
+ if (!('questions' in value) || value['questions'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function AiGatewaySystemOneRequestUioFromJSON(json) {
37
+ return AiGatewaySystemOneRequestUioFromJSONTyped(json, false);
38
+ }
39
+ function AiGatewaySystemOneRequestUioFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'model': json['model'],
45
+ 'state': (0, AiGatewaySystemOneRequestStateUio_1.AiGatewaySystemOneRequestStateUioFromJSON)(json['state']),
46
+ 'images': json['images'] == null ? undefined : json['images'],
47
+ 'questions': ((0, runtime_1.mapValues)(json['questions'], AiGatewaySystemOneQuestionUio_1.AiGatewaySystemOneQuestionUioFromJSON)),
48
+ };
49
+ }
50
+ function AiGatewaySystemOneRequestUioToJSON(json) {
51
+ return AiGatewaySystemOneRequestUioToJSONTyped(json, false);
52
+ }
53
+ function AiGatewaySystemOneRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'model': value['model'],
59
+ 'state': (0, AiGatewaySystemOneRequestStateUio_1.AiGatewaySystemOneRequestStateUioToJSON)(value['state']),
60
+ 'images': value['images'],
61
+ 'questions': ((0, runtime_1.mapValues)(value['questions'], AiGatewaySystemOneQuestionUio_1.AiGatewaySystemOneQuestionUioToJSON)),
62
+ };
63
+ }
@@ -0,0 +1,48 @@
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 { AiGatewaySystemOneResponseUsageUio } from './AiGatewaySystemOneResponseUsageUio';
13
+ import type { AiGatewaySystemOneAnswerUio } from './AiGatewaySystemOneAnswerUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AiGatewaySystemOneResponseUio
18
+ */
19
+ export interface AiGatewaySystemOneResponseUio {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof AiGatewaySystemOneResponseUio
24
+ */
25
+ model: string;
26
+ /**
27
+ *
28
+ * @type {{ [key: string]: AiGatewaySystemOneAnswerUio; }}
29
+ * @memberof AiGatewaySystemOneResponseUio
30
+ */
31
+ answers: {
32
+ [key: string]: AiGatewaySystemOneAnswerUio;
33
+ };
34
+ /**
35
+ *
36
+ * @type {AiGatewaySystemOneResponseUsageUio}
37
+ * @memberof AiGatewaySystemOneResponseUio
38
+ */
39
+ usage: AiGatewaySystemOneResponseUsageUio;
40
+ }
41
+ /**
42
+ * Check if a given object implements the AiGatewaySystemOneResponseUio interface.
43
+ */
44
+ export declare function instanceOfAiGatewaySystemOneResponseUio(value: object): value is AiGatewaySystemOneResponseUio;
45
+ export declare function AiGatewaySystemOneResponseUioFromJSON(json: any): AiGatewaySystemOneResponseUio;
46
+ export declare function AiGatewaySystemOneResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewaySystemOneResponseUio;
47
+ export declare function AiGatewaySystemOneResponseUioToJSON(json: any): AiGatewaySystemOneResponseUio;
48
+ export declare function AiGatewaySystemOneResponseUioToJSONTyped(value?: AiGatewaySystemOneResponseUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
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.instanceOfAiGatewaySystemOneResponseUio = instanceOfAiGatewaySystemOneResponseUio;
17
+ exports.AiGatewaySystemOneResponseUioFromJSON = AiGatewaySystemOneResponseUioFromJSON;
18
+ exports.AiGatewaySystemOneResponseUioFromJSONTyped = AiGatewaySystemOneResponseUioFromJSONTyped;
19
+ exports.AiGatewaySystemOneResponseUioToJSON = AiGatewaySystemOneResponseUioToJSON;
20
+ exports.AiGatewaySystemOneResponseUioToJSONTyped = AiGatewaySystemOneResponseUioToJSONTyped;
21
+ const runtime_1 = require("../runtime");
22
+ const AiGatewaySystemOneResponseUsageUio_1 = require("./AiGatewaySystemOneResponseUsageUio");
23
+ const AiGatewaySystemOneAnswerUio_1 = require("./AiGatewaySystemOneAnswerUio");
24
+ /**
25
+ * Check if a given object implements the AiGatewaySystemOneResponseUio interface.
26
+ */
27
+ function instanceOfAiGatewaySystemOneResponseUio(value) {
28
+ if (!('model' in value) || value['model'] === undefined)
29
+ return false;
30
+ if (!('answers' in value) || value['answers'] === undefined)
31
+ return false;
32
+ if (!('usage' in value) || value['usage'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function AiGatewaySystemOneResponseUioFromJSON(json) {
37
+ return AiGatewaySystemOneResponseUioFromJSONTyped(json, false);
38
+ }
39
+ function AiGatewaySystemOneResponseUioFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'model': json['model'],
45
+ 'answers': ((0, runtime_1.mapValues)(json['answers'], AiGatewaySystemOneAnswerUio_1.AiGatewaySystemOneAnswerUioFromJSON)),
46
+ 'usage': (0, AiGatewaySystemOneResponseUsageUio_1.AiGatewaySystemOneResponseUsageUioFromJSON)(json['usage']),
47
+ };
48
+ }
49
+ function AiGatewaySystemOneResponseUioToJSON(json) {
50
+ return AiGatewaySystemOneResponseUioToJSONTyped(json, false);
51
+ }
52
+ function AiGatewaySystemOneResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'model': value['model'],
58
+ 'answers': ((0, runtime_1.mapValues)(value['answers'], AiGatewaySystemOneAnswerUio_1.AiGatewaySystemOneAnswerUioToJSON)),
59
+ 'usage': (0, AiGatewaySystemOneResponseUsageUio_1.AiGatewaySystemOneResponseUsageUioToJSON)(value['usage']),
60
+ };
61
+ }
@@ -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 AiGatewaySystemOneResponseUsageUio
16
+ */
17
+ export interface AiGatewaySystemOneResponseUsageUio {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof AiGatewaySystemOneResponseUsageUio
22
+ */
23
+ inputTokens?: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof AiGatewaySystemOneResponseUsageUio
28
+ */
29
+ outputTokens?: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the AiGatewaySystemOneResponseUsageUio interface.
33
+ */
34
+ export declare function instanceOfAiGatewaySystemOneResponseUsageUio(value: object): value is AiGatewaySystemOneResponseUsageUio;
35
+ export declare function AiGatewaySystemOneResponseUsageUioFromJSON(json: any): AiGatewaySystemOneResponseUsageUio;
36
+ export declare function AiGatewaySystemOneResponseUsageUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewaySystemOneResponseUsageUio;
37
+ export declare function AiGatewaySystemOneResponseUsageUioToJSON(json: any): AiGatewaySystemOneResponseUsageUio;
38
+ export declare function AiGatewaySystemOneResponseUsageUioToJSONTyped(value?: AiGatewaySystemOneResponseUsageUio | 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.instanceOfAiGatewaySystemOneResponseUsageUio = instanceOfAiGatewaySystemOneResponseUsageUio;
17
+ exports.AiGatewaySystemOneResponseUsageUioFromJSON = AiGatewaySystemOneResponseUsageUioFromJSON;
18
+ exports.AiGatewaySystemOneResponseUsageUioFromJSONTyped = AiGatewaySystemOneResponseUsageUioFromJSONTyped;
19
+ exports.AiGatewaySystemOneResponseUsageUioToJSON = AiGatewaySystemOneResponseUsageUioToJSON;
20
+ exports.AiGatewaySystemOneResponseUsageUioToJSONTyped = AiGatewaySystemOneResponseUsageUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AiGatewaySystemOneResponseUsageUio interface.
23
+ */
24
+ function instanceOfAiGatewaySystemOneResponseUsageUio(value) {
25
+ return true;
26
+ }
27
+ function AiGatewaySystemOneResponseUsageUioFromJSON(json) {
28
+ return AiGatewaySystemOneResponseUsageUioFromJSONTyped(json, false);
29
+ }
30
+ function AiGatewaySystemOneResponseUsageUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'inputTokens': json['input_tokens'] == null ? undefined : json['input_tokens'],
36
+ 'outputTokens': json['output_tokens'] == null ? undefined : json['output_tokens'],
37
+ };
38
+ }
39
+ function AiGatewaySystemOneResponseUsageUioToJSON(json) {
40
+ return AiGatewaySystemOneResponseUsageUioToJSONTyped(json, false);
41
+ }
42
+ function AiGatewaySystemOneResponseUsageUioToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'input_tokens': value['inputTokens'],
48
+ 'output_tokens': value['outputTokens'],
49
+ };
50
+ }
@@ -69,6 +69,12 @@ export interface ModelDefinitionUio {
69
69
  * @memberof ModelDefinitionUio
70
70
  */
71
71
  hasOcr?: boolean;
72
+ /**
73
+ * Modèle de décision (API System One `/v1/systemone`, ou Decisions API d'OpenAI) : il renvoie des probabilités sur des questions typées au lieu de générer du texte. Non conversationnel, accessible uniquement via la ai-gateway (`/ai-gateway/v1/systemone`).
74
+ * @type {boolean}
75
+ * @memberof ModelDefinitionUio
76
+ */
77
+ hasDecision?: boolean;
72
78
  /**
73
79
  *
74
80
  * @type {number}
@@ -54,6 +54,7 @@ function ModelDefinitionUioFromJSONTyped(json, ignoreDiscriminator) {
54
54
  'hasEmbedding': json['hasEmbedding'] == null ? undefined : json['hasEmbedding'],
55
55
  'hasSpeechToText': json['hasSpeechToText'] == null ? undefined : json['hasSpeechToText'],
56
56
  'hasOcr': json['hasOcr'] == null ? undefined : json['hasOcr'],
57
+ 'hasDecision': json['hasDecision'] == null ? undefined : json['hasDecision'],
57
58
  'maxTokens': json['maxTokens'] == null ? undefined : json['maxTokens'],
58
59
  'inputTokenPrice': json['inputTokenPrice'] == null ? undefined : json['inputTokenPrice'],
59
60
  'outputTokenPrice': json['outputTokenPrice'] == null ? undefined : json['outputTokenPrice'],
@@ -79,6 +80,7 @@ function ModelDefinitionUioToJSONTyped(value, ignoreDiscriminator = false) {
79
80
  'hasEmbedding': value['hasEmbedding'],
80
81
  'hasSpeechToText': value['hasSpeechToText'],
81
82
  'hasOcr': value['hasOcr'],
83
+ 'hasDecision': value['hasDecision'],
82
84
  'maxTokens': value['maxTokens'],
83
85
  'inputTokenPrice': value['inputTokenPrice'],
84
86
  'outputTokenPrice': value['outputTokenPrice'],
@@ -39,6 +39,12 @@ export interface ProjectAttentionUio {
39
39
  * @memberof ProjectAttentionUio
40
40
  */
41
41
  goAheads: number;
42
+ /**
43
+ * Demandes d'approbation posées par un agent
44
+ * @type {number}
45
+ * @memberof ProjectAttentionUio
46
+ */
47
+ approvals: number;
42
48
  }
43
49
  /**
44
50
  * Check if a given object implements the ProjectAttentionUio interface.
@@ -30,6 +30,8 @@ function instanceOfProjectAttentionUio(value) {
30
30
  return false;
31
31
  if (!('goAheads' in value) || value['goAheads'] === undefined)
32
32
  return false;
33
+ if (!('approvals' in value) || value['approvals'] === undefined)
34
+ return false;
33
35
  return true;
34
36
  }
35
37
  function ProjectAttentionUioFromJSON(json) {
@@ -44,6 +46,7 @@ function ProjectAttentionUioFromJSONTyped(json, ignoreDiscriminator) {
44
46
  'proposals': json['proposals'],
45
47
  'reviews': json['reviews'],
46
48
  'goAheads': json['goAheads'],
49
+ 'approvals': json['approvals'],
47
50
  };
48
51
  }
49
52
  function ProjectAttentionUioToJSON(json) {
@@ -58,5 +61,6 @@ function ProjectAttentionUioToJSONTyped(value, ignoreDiscriminator = false) {
58
61
  'proposals': value['proposals'],
59
62
  'reviews': value['reviews'],
60
63
  'goAheads': value['goAheads'],
64
+ 'approvals': value['approvals'],
61
65
  };
62
66
  }
@@ -21,6 +21,12 @@ export interface UpdateUserChatPreferencesRequestUio {
21
21
  * @memberof UpdateUserChatPreferencesRequestUio
22
22
  */
23
23
  pinnedAgentIds?: Array<string>;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof UpdateUserChatPreferencesRequestUio
28
+ */
29
+ pinnedProjectIds?: Array<string>;
24
30
  /**
25
31
  *
26
32
  * @type {boolean}
@@ -33,6 +33,7 @@ function UpdateUserChatPreferencesRequestUioFromJSONTyped(json, ignoreDiscrimina
33
33
  }
34
34
  return {
35
35
  'pinnedAgentIds': json['pinnedAgentIds'] == null ? undefined : json['pinnedAgentIds'],
36
+ 'pinnedProjectIds': json['pinnedProjectIds'] == null ? undefined : json['pinnedProjectIds'],
36
37
  'railOpen': json['railOpen'] == null ? undefined : json['railOpen'],
37
38
  };
38
39
  }
@@ -45,6 +46,7 @@ function UpdateUserChatPreferencesRequestUioToJSONTyped(value, ignoreDiscriminat
45
46
  }
46
47
  return {
47
48
  'pinnedAgentIds': value['pinnedAgentIds'],
49
+ 'pinnedProjectIds': value['pinnedProjectIds'],
48
50
  'railOpen': value['railOpen'],
49
51
  };
50
52
  }
@@ -22,6 +22,12 @@ export interface UserChatPreferencesUio {
22
22
  * @memberof UserChatPreferencesUio
23
23
  */
24
24
  pinnedAgentIds: Array<string>;
25
+ /**
26
+ * Liste ordonnée des espaces de travail épinglés dans la barre latérale
27
+ * @type {Array<string>}
28
+ * @memberof UserChatPreferencesUio
29
+ */
30
+ pinnedProjectIds: Array<string>;
25
31
  /**
26
32
  *
27
33
  * @type {boolean}
@@ -25,6 +25,8 @@ const UserAgentConversationUio_1 = require("./UserAgentConversationUio");
25
25
  function instanceOfUserChatPreferencesUio(value) {
26
26
  if (!('pinnedAgentIds' in value) || value['pinnedAgentIds'] === undefined)
27
27
  return false;
28
+ if (!('pinnedProjectIds' in value) || value['pinnedProjectIds'] === undefined)
29
+ return false;
28
30
  if (!('railOpen' in value) || value['railOpen'] === undefined)
29
31
  return false;
30
32
  if (!('agentConversations' in value) || value['agentConversations'] === undefined)
@@ -40,6 +42,7 @@ function UserChatPreferencesUioFromJSONTyped(json, ignoreDiscriminator) {
40
42
  }
41
43
  return {
42
44
  'pinnedAgentIds': json['pinnedAgentIds'],
45
+ 'pinnedProjectIds': json['pinnedProjectIds'],
43
46
  'railOpen': json['railOpen'],
44
47
  'agentConversations': (json['agentConversations'].map(UserAgentConversationUio_1.UserAgentConversationUioFromJSON)),
45
48
  };
@@ -53,6 +56,7 @@ function UserChatPreferencesUioToJSONTyped(value, ignoreDiscriminator = false) {
53
56
  }
54
57
  return {
55
58
  'pinnedAgentIds': value['pinnedAgentIds'],
59
+ 'pinnedProjectIds': value['pinnedProjectIds'],
56
60
  'railOpen': value['railOpen'],
57
61
  'agentConversations': (value['agentConversations'].map(UserAgentConversationUio_1.UserAgentConversationUioToJSON)),
58
62
  };
@@ -18,6 +18,8 @@ export * from './AdvancedFlowEditorNodeUio';
18
18
  export * from './AdvancedFlowEditorUio';
19
19
  export * from './AdvancedFlowEditorUpdateRequestUio';
20
20
  export * from './AgentAssignmentUio';
21
+ export * from './AgentAtWorkProjectUio';
22
+ export * from './AgentAtWorkUio';
21
23
  export * from './AgentBuilderMcpConfigurationUio';
22
24
  export * from './AgentBundleDiffUio';
23
25
  export * from './AgentBundleListDiffUio';
@@ -101,6 +103,13 @@ export * from './AiGatewayModelTokenQuotaUio';
101
103
  export * from './AiGatewayModelUio';
102
104
  export * from './AiGatewaySettingsUio';
103
105
  export * from './AiGatewaySettingsUpdateRequestUio';
106
+ export * from './AiGatewaySystemOneAnswerUio';
107
+ export * from './AiGatewaySystemOneQuestionCriteriaUio';
108
+ export * from './AiGatewaySystemOneQuestionUio';
109
+ export * from './AiGatewaySystemOneRequestStateUio';
110
+ export * from './AiGatewaySystemOneRequestUio';
111
+ export * from './AiGatewaySystemOneResponseUio';
112
+ export * from './AiGatewaySystemOneResponseUsageUio';
104
113
  export * from './AiGatewayUsageBreakdownItemUio';
105
114
  export * from './AiGatewayUsageCostUio';
106
115
  export * from './AiGatewayUsagePointUio';
@@ -36,6 +36,8 @@ __exportStar(require("./AdvancedFlowEditorNodeUio"), exports);
36
36
  __exportStar(require("./AdvancedFlowEditorUio"), exports);
37
37
  __exportStar(require("./AdvancedFlowEditorUpdateRequestUio"), exports);
38
38
  __exportStar(require("./AgentAssignmentUio"), exports);
39
+ __exportStar(require("./AgentAtWorkProjectUio"), exports);
40
+ __exportStar(require("./AgentAtWorkUio"), exports);
39
41
  __exportStar(require("./AgentBuilderMcpConfigurationUio"), exports);
40
42
  __exportStar(require("./AgentBundleDiffUio"), exports);
41
43
  __exportStar(require("./AgentBundleListDiffUio"), exports);
@@ -119,6 +121,13 @@ __exportStar(require("./AiGatewayModelTokenQuotaUio"), exports);
119
121
  __exportStar(require("./AiGatewayModelUio"), exports);
120
122
  __exportStar(require("./AiGatewaySettingsUio"), exports);
121
123
  __exportStar(require("./AiGatewaySettingsUpdateRequestUio"), exports);
124
+ __exportStar(require("./AiGatewaySystemOneAnswerUio"), exports);
125
+ __exportStar(require("./AiGatewaySystemOneQuestionCriteriaUio"), exports);
126
+ __exportStar(require("./AiGatewaySystemOneQuestionUio"), exports);
127
+ __exportStar(require("./AiGatewaySystemOneRequestStateUio"), exports);
128
+ __exportStar(require("./AiGatewaySystemOneRequestUio"), exports);
129
+ __exportStar(require("./AiGatewaySystemOneResponseUio"), exports);
130
+ __exportStar(require("./AiGatewaySystemOneResponseUsageUio"), exports);
122
131
  __exportStar(require("./AiGatewayUsageBreakdownItemUio"), exports);
123
132
  __exportStar(require("./AiGatewayUsageCostUio"), exports);
124
133
  __exportStar(require("./AiGatewayUsagePointUio"), exports);