@breign/client 1.0.131 → 1.0.133

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 (38) hide show
  1. package/dist/apis/AiGatewayApi.d.ts +108 -1
  2. package/dist/apis/AiGatewayApi.js +218 -1
  3. package/dist/apis/ConversationsApi.d.ts +28 -1
  4. package/dist/apis/ConversationsApi.js +59 -0
  5. package/dist/models/AgentChatOverviewEntryUio.d.ts +56 -0
  6. package/dist/models/AgentChatOverviewEntryUio.js +64 -0
  7. package/dist/models/AiGatewayV1CreditsUio.d.ts +38 -0
  8. package/dist/models/AiGatewayV1CreditsUio.js +52 -0
  9. package/dist/models/AiGatewayV1EndpointPricingUio.d.ts +50 -0
  10. package/dist/models/AiGatewayV1EndpointPricingUio.js +54 -0
  11. package/dist/models/AiGatewayV1EndpointUio.d.ts +111 -0
  12. package/dist/models/AiGatewayV1EndpointUio.js +85 -0
  13. package/dist/models/AiGatewayV1GenerationDataUio.d.ts +146 -0
  14. package/dist/models/AiGatewayV1GenerationDataUio.js +96 -0
  15. package/dist/models/AiGatewayV1GenerationUio.d.ts +33 -0
  16. package/dist/models/AiGatewayV1GenerationUio.js +51 -0
  17. package/dist/models/AiGatewayV1ModelEndpointsDataArchitectureUio.d.ts +56 -0
  18. package/dist/models/AiGatewayV1ModelEndpointsDataArchitectureUio.js +56 -0
  19. package/dist/models/AiGatewayV1ModelEndpointsDataUio.d.ts +70 -0
  20. package/dist/models/AiGatewayV1ModelEndpointsDataUio.js +72 -0
  21. package/dist/models/AiGatewayV1ModelEndpointsUio.d.ts +33 -0
  22. package/dist/models/AiGatewayV1ModelEndpointsUio.js +51 -0
  23. package/dist/models/AiGatewayV1ModelListUio.d.ts +46 -0
  24. package/dist/models/AiGatewayV1ModelListUio.js +62 -0
  25. package/dist/models/AiGatewayV1ModelPricingUio.d.ts +50 -0
  26. package/dist/models/AiGatewayV1ModelPricingUio.js +54 -0
  27. package/dist/models/AiGatewayV1ModelUio.d.ts +114 -0
  28. package/dist/models/AiGatewayV1ModelUio.js +99 -0
  29. package/dist/models/AiGatewayV1ReportRowUio.d.ts +140 -0
  30. package/dist/models/AiGatewayV1ReportRowUio.js +104 -0
  31. package/dist/models/AiGatewayV1ReportUio.d.ts +33 -0
  32. package/dist/models/AiGatewayV1ReportUio.js +51 -0
  33. package/dist/models/MarkConversationReadRequestUio.d.ts +32 -0
  34. package/dist/models/MarkConversationReadRequestUio.js +48 -0
  35. package/dist/models/index.d.ts +15 -0
  36. package/dist/models/index.js +15 -0
  37. package/dist/openapi.json +1242 -313
  38. package/package.json +1 -1
@@ -0,0 +1,114 @@
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 { AiGatewayV1ModelPricingUio } from './AiGatewayV1ModelPricingUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AiGatewayV1ModelUio
17
+ */
18
+ export interface AiGatewayV1ModelUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof AiGatewayV1ModelUio
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof AiGatewayV1ModelUio
29
+ */
30
+ object: AiGatewayV1ModelUioObjectEnum;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof AiGatewayV1ModelUio
35
+ */
36
+ created: number;
37
+ /**
38
+ * Toujours null — date de sortie non conservée par Breign
39
+ * @type {number}
40
+ * @memberof AiGatewayV1ModelUio
41
+ */
42
+ released?: number | null;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof AiGatewayV1ModelUio
47
+ */
48
+ ownedBy: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof AiGatewayV1ModelUio
53
+ */
54
+ name: string;
55
+ /**
56
+ * Toujours null — description non conservée par Breign
57
+ * @type {string}
58
+ * @memberof AiGatewayV1ModelUio
59
+ */
60
+ description?: string | null;
61
+ /**
62
+ * Toujours null — taille de contexte non conservée par Breign
63
+ * @type {number}
64
+ * @memberof AiGatewayV1ModelUio
65
+ */
66
+ contextWindow?: number | null;
67
+ /**
68
+ *
69
+ * @type {number}
70
+ * @memberof AiGatewayV1ModelUio
71
+ */
72
+ maxTokens?: number | null;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof AiGatewayV1ModelUio
77
+ */
78
+ type: AiGatewayV1ModelUioTypeEnum;
79
+ /**
80
+ *
81
+ * @type {Array<string>}
82
+ * @memberof AiGatewayV1ModelUio
83
+ */
84
+ tags: Array<string>;
85
+ /**
86
+ *
87
+ * @type {AiGatewayV1ModelPricingUio}
88
+ * @memberof AiGatewayV1ModelUio
89
+ */
90
+ pricing?: AiGatewayV1ModelPricingUio | null;
91
+ }
92
+ /**
93
+ * @export
94
+ */
95
+ export declare const AiGatewayV1ModelUioObjectEnum: {
96
+ readonly Model: "model";
97
+ };
98
+ export type AiGatewayV1ModelUioObjectEnum = typeof AiGatewayV1ModelUioObjectEnum[keyof typeof AiGatewayV1ModelUioObjectEnum];
99
+ /**
100
+ * @export
101
+ */
102
+ export declare const AiGatewayV1ModelUioTypeEnum: {
103
+ readonly Language: "language";
104
+ readonly Embedding: "embedding";
105
+ };
106
+ export type AiGatewayV1ModelUioTypeEnum = typeof AiGatewayV1ModelUioTypeEnum[keyof typeof AiGatewayV1ModelUioTypeEnum];
107
+ /**
108
+ * Check if a given object implements the AiGatewayV1ModelUio interface.
109
+ */
110
+ export declare function instanceOfAiGatewayV1ModelUio(value: object): value is AiGatewayV1ModelUio;
111
+ export declare function AiGatewayV1ModelUioFromJSON(json: any): AiGatewayV1ModelUio;
112
+ export declare function AiGatewayV1ModelUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayV1ModelUio;
113
+ export declare function AiGatewayV1ModelUioToJSON(json: any): AiGatewayV1ModelUio;
114
+ export declare function AiGatewayV1ModelUioToJSONTyped(value?: AiGatewayV1ModelUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,99 @@
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.AiGatewayV1ModelUioTypeEnum = exports.AiGatewayV1ModelUioObjectEnum = void 0;
17
+ exports.instanceOfAiGatewayV1ModelUio = instanceOfAiGatewayV1ModelUio;
18
+ exports.AiGatewayV1ModelUioFromJSON = AiGatewayV1ModelUioFromJSON;
19
+ exports.AiGatewayV1ModelUioFromJSONTyped = AiGatewayV1ModelUioFromJSONTyped;
20
+ exports.AiGatewayV1ModelUioToJSON = AiGatewayV1ModelUioToJSON;
21
+ exports.AiGatewayV1ModelUioToJSONTyped = AiGatewayV1ModelUioToJSONTyped;
22
+ const AiGatewayV1ModelPricingUio_1 = require("./AiGatewayV1ModelPricingUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.AiGatewayV1ModelUioObjectEnum = {
27
+ Model: 'model'
28
+ };
29
+ /**
30
+ * @export
31
+ */
32
+ exports.AiGatewayV1ModelUioTypeEnum = {
33
+ Language: 'language',
34
+ Embedding: 'embedding'
35
+ };
36
+ /**
37
+ * Check if a given object implements the AiGatewayV1ModelUio interface.
38
+ */
39
+ function instanceOfAiGatewayV1ModelUio(value) {
40
+ if (!('id' in value) || value['id'] === undefined)
41
+ return false;
42
+ if (!('object' in value) || value['object'] === undefined)
43
+ return false;
44
+ if (!('created' in value) || value['created'] === undefined)
45
+ return false;
46
+ if (!('ownedBy' in value) || value['ownedBy'] === undefined)
47
+ return false;
48
+ if (!('name' in value) || value['name'] === undefined)
49
+ return false;
50
+ if (!('type' in value) || value['type'] === undefined)
51
+ return false;
52
+ if (!('tags' in value) || value['tags'] === undefined)
53
+ return false;
54
+ return true;
55
+ }
56
+ function AiGatewayV1ModelUioFromJSON(json) {
57
+ return AiGatewayV1ModelUioFromJSONTyped(json, false);
58
+ }
59
+ function AiGatewayV1ModelUioFromJSONTyped(json, ignoreDiscriminator) {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+ 'id': json['id'],
65
+ 'object': json['object'],
66
+ 'created': json['created'],
67
+ 'released': json['released'] == null ? undefined : json['released'],
68
+ 'ownedBy': json['owned_by'],
69
+ 'name': json['name'],
70
+ 'description': json['description'] == null ? undefined : json['description'],
71
+ 'contextWindow': json['context_window'] == null ? undefined : json['context_window'],
72
+ 'maxTokens': json['max_tokens'] == null ? undefined : json['max_tokens'],
73
+ 'type': json['type'],
74
+ 'tags': json['tags'],
75
+ 'pricing': json['pricing'] == null ? undefined : (0, AiGatewayV1ModelPricingUio_1.AiGatewayV1ModelPricingUioFromJSON)(json['pricing']),
76
+ };
77
+ }
78
+ function AiGatewayV1ModelUioToJSON(json) {
79
+ return AiGatewayV1ModelUioToJSONTyped(json, false);
80
+ }
81
+ function AiGatewayV1ModelUioToJSONTyped(value, ignoreDiscriminator = false) {
82
+ if (value == null) {
83
+ return value;
84
+ }
85
+ return {
86
+ 'id': value['id'],
87
+ 'object': value['object'],
88
+ 'created': value['created'],
89
+ 'released': value['released'],
90
+ 'owned_by': value['ownedBy'],
91
+ 'name': value['name'],
92
+ 'description': value['description'],
93
+ 'context_window': value['contextWindow'],
94
+ 'max_tokens': value['maxTokens'],
95
+ 'type': value['type'],
96
+ 'tags': value['tags'],
97
+ 'pricing': (0, AiGatewayV1ModelPricingUio_1.AiGatewayV1ModelPricingUioToJSON)(value['pricing']),
98
+ };
99
+ }
@@ -0,0 +1,140 @@
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
+ * Porte la seule clé de regroupement correspondant au group_by demandé, plus les métriques agrégées.
14
+ * @export
15
+ * @interface AiGatewayV1ReportRowUio
16
+ */
17
+ export interface AiGatewayV1ReportRowUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AiGatewayV1ReportRowUio
22
+ */
23
+ day?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AiGatewayV1ReportRowUio
28
+ */
29
+ hour?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AiGatewayV1ReportRowUio
34
+ */
35
+ user?: string | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof AiGatewayV1ReportRowUio
40
+ */
41
+ model?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof AiGatewayV1ReportRowUio
46
+ */
47
+ tag?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof AiGatewayV1ReportRowUio
52
+ */
53
+ provider?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof AiGatewayV1ReportRowUio
58
+ */
59
+ credentialType?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof AiGatewayV1ReportRowUio
64
+ */
65
+ zeroDataRetention?: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof AiGatewayV1ReportRowUio
70
+ */
71
+ apiKeyName?: string | null;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof AiGatewayV1ReportRowUio
76
+ */
77
+ totalCost: number;
78
+ /**
79
+ * Égal à total_cost — Breign ne sert pas d'appels BYOK
80
+ * @type {number}
81
+ * @memberof AiGatewayV1ReportRowUio
82
+ */
83
+ marketCost: number;
84
+ /**
85
+ * Toujours 0 — aucune capacité facturée en supplément
86
+ * @type {number}
87
+ * @memberof AiGatewayV1ReportRowUio
88
+ */
89
+ surchargeCost: number;
90
+ /**
91
+ * Toujours 0 — la passerelle ne facture pas de coût propre
92
+ * @type {number}
93
+ * @memberof AiGatewayV1ReportRowUio
94
+ */
95
+ gatewayCost: number;
96
+ /**
97
+ *
98
+ * @type {number}
99
+ * @memberof AiGatewayV1ReportRowUio
100
+ */
101
+ inputTokens: number;
102
+ /**
103
+ *
104
+ * @type {number}
105
+ * @memberof AiGatewayV1ReportRowUio
106
+ */
107
+ outputTokens: number;
108
+ /**
109
+ *
110
+ * @type {number}
111
+ * @memberof AiGatewayV1ReportRowUio
112
+ */
113
+ cachedInputTokens: number;
114
+ /**
115
+ *
116
+ * @type {number}
117
+ * @memberof AiGatewayV1ReportRowUio
118
+ */
119
+ cacheCreationInputTokens: number;
120
+ /**
121
+ *
122
+ * @type {number}
123
+ * @memberof AiGatewayV1ReportRowUio
124
+ */
125
+ reasoningTokens: number;
126
+ /**
127
+ *
128
+ * @type {number}
129
+ * @memberof AiGatewayV1ReportRowUio
130
+ */
131
+ requestCount: number;
132
+ }
133
+ /**
134
+ * Check if a given object implements the AiGatewayV1ReportRowUio interface.
135
+ */
136
+ export declare function instanceOfAiGatewayV1ReportRowUio(value: object): value is AiGatewayV1ReportRowUio;
137
+ export declare function AiGatewayV1ReportRowUioFromJSON(json: any): AiGatewayV1ReportRowUio;
138
+ export declare function AiGatewayV1ReportRowUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayV1ReportRowUio;
139
+ export declare function AiGatewayV1ReportRowUioToJSON(json: any): AiGatewayV1ReportRowUio;
140
+ export declare function AiGatewayV1ReportRowUioToJSONTyped(value?: AiGatewayV1ReportRowUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,104 @@
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.instanceOfAiGatewayV1ReportRowUio = instanceOfAiGatewayV1ReportRowUio;
17
+ exports.AiGatewayV1ReportRowUioFromJSON = AiGatewayV1ReportRowUioFromJSON;
18
+ exports.AiGatewayV1ReportRowUioFromJSONTyped = AiGatewayV1ReportRowUioFromJSONTyped;
19
+ exports.AiGatewayV1ReportRowUioToJSON = AiGatewayV1ReportRowUioToJSON;
20
+ exports.AiGatewayV1ReportRowUioToJSONTyped = AiGatewayV1ReportRowUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AiGatewayV1ReportRowUio interface.
23
+ */
24
+ function instanceOfAiGatewayV1ReportRowUio(value) {
25
+ if (!('totalCost' in value) || value['totalCost'] === undefined)
26
+ return false;
27
+ if (!('marketCost' in value) || value['marketCost'] === undefined)
28
+ return false;
29
+ if (!('surchargeCost' in value) || value['surchargeCost'] === undefined)
30
+ return false;
31
+ if (!('gatewayCost' in value) || value['gatewayCost'] === undefined)
32
+ return false;
33
+ if (!('inputTokens' in value) || value['inputTokens'] === undefined)
34
+ return false;
35
+ if (!('outputTokens' in value) || value['outputTokens'] === undefined)
36
+ return false;
37
+ if (!('cachedInputTokens' in value) || value['cachedInputTokens'] === undefined)
38
+ return false;
39
+ if (!('cacheCreationInputTokens' in value) || value['cacheCreationInputTokens'] === undefined)
40
+ return false;
41
+ if (!('reasoningTokens' in value) || value['reasoningTokens'] === undefined)
42
+ return false;
43
+ if (!('requestCount' in value) || value['requestCount'] === undefined)
44
+ return false;
45
+ return true;
46
+ }
47
+ function AiGatewayV1ReportRowUioFromJSON(json) {
48
+ return AiGatewayV1ReportRowUioFromJSONTyped(json, false);
49
+ }
50
+ function AiGatewayV1ReportRowUioFromJSONTyped(json, ignoreDiscriminator) {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+ 'day': json['day'] == null ? undefined : json['day'],
56
+ 'hour': json['hour'] == null ? undefined : json['hour'],
57
+ 'user': json['user'] == null ? undefined : json['user'],
58
+ 'model': json['model'] == null ? undefined : json['model'],
59
+ 'tag': json['tag'] == null ? undefined : json['tag'],
60
+ 'provider': json['provider'] == null ? undefined : json['provider'],
61
+ 'credentialType': json['credential_type'] == null ? undefined : json['credential_type'],
62
+ 'zeroDataRetention': json['zero_data_retention'] == null ? undefined : json['zero_data_retention'],
63
+ 'apiKeyName': json['api_key_name'] == null ? undefined : json['api_key_name'],
64
+ 'totalCost': json['total_cost'],
65
+ 'marketCost': json['market_cost'],
66
+ 'surchargeCost': json['surcharge_cost'],
67
+ 'gatewayCost': json['gateway_cost'],
68
+ 'inputTokens': json['input_tokens'],
69
+ 'outputTokens': json['output_tokens'],
70
+ 'cachedInputTokens': json['cached_input_tokens'],
71
+ 'cacheCreationInputTokens': json['cache_creation_input_tokens'],
72
+ 'reasoningTokens': json['reasoning_tokens'],
73
+ 'requestCount': json['request_count'],
74
+ };
75
+ }
76
+ function AiGatewayV1ReportRowUioToJSON(json) {
77
+ return AiGatewayV1ReportRowUioToJSONTyped(json, false);
78
+ }
79
+ function AiGatewayV1ReportRowUioToJSONTyped(value, ignoreDiscriminator = false) {
80
+ if (value == null) {
81
+ return value;
82
+ }
83
+ return {
84
+ 'day': value['day'],
85
+ 'hour': value['hour'],
86
+ 'user': value['user'],
87
+ 'model': value['model'],
88
+ 'tag': value['tag'],
89
+ 'provider': value['provider'],
90
+ 'credential_type': value['credentialType'],
91
+ 'zero_data_retention': value['zeroDataRetention'],
92
+ 'api_key_name': value['apiKeyName'],
93
+ 'total_cost': value['totalCost'],
94
+ 'market_cost': value['marketCost'],
95
+ 'surcharge_cost': value['surchargeCost'],
96
+ 'gateway_cost': value['gatewayCost'],
97
+ 'input_tokens': value['inputTokens'],
98
+ 'output_tokens': value['outputTokens'],
99
+ 'cached_input_tokens': value['cachedInputTokens'],
100
+ 'cache_creation_input_tokens': value['cacheCreationInputTokens'],
101
+ 'reasoning_tokens': value['reasoningTokens'],
102
+ 'request_count': value['requestCount'],
103
+ };
104
+ }
@@ -0,0 +1,33 @@
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 { AiGatewayV1ReportRowUio } from './AiGatewayV1ReportRowUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AiGatewayV1ReportUio
17
+ */
18
+ export interface AiGatewayV1ReportUio {
19
+ /**
20
+ *
21
+ * @type {Array<AiGatewayV1ReportRowUio>}
22
+ * @memberof AiGatewayV1ReportUio
23
+ */
24
+ results: Array<AiGatewayV1ReportRowUio>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the AiGatewayV1ReportUio interface.
28
+ */
29
+ export declare function instanceOfAiGatewayV1ReportUio(value: object): value is AiGatewayV1ReportUio;
30
+ export declare function AiGatewayV1ReportUioFromJSON(json: any): AiGatewayV1ReportUio;
31
+ export declare function AiGatewayV1ReportUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayV1ReportUio;
32
+ export declare function AiGatewayV1ReportUioToJSON(json: any): AiGatewayV1ReportUio;
33
+ export declare function AiGatewayV1ReportUioToJSONTyped(value?: AiGatewayV1ReportUio | null, ignoreDiscriminator?: boolean): any;
@@ -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.instanceOfAiGatewayV1ReportUio = instanceOfAiGatewayV1ReportUio;
17
+ exports.AiGatewayV1ReportUioFromJSON = AiGatewayV1ReportUioFromJSON;
18
+ exports.AiGatewayV1ReportUioFromJSONTyped = AiGatewayV1ReportUioFromJSONTyped;
19
+ exports.AiGatewayV1ReportUioToJSON = AiGatewayV1ReportUioToJSON;
20
+ exports.AiGatewayV1ReportUioToJSONTyped = AiGatewayV1ReportUioToJSONTyped;
21
+ const AiGatewayV1ReportRowUio_1 = require("./AiGatewayV1ReportRowUio");
22
+ /**
23
+ * Check if a given object implements the AiGatewayV1ReportUio interface.
24
+ */
25
+ function instanceOfAiGatewayV1ReportUio(value) {
26
+ if (!('results' in value) || value['results'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function AiGatewayV1ReportUioFromJSON(json) {
31
+ return AiGatewayV1ReportUioFromJSONTyped(json, false);
32
+ }
33
+ function AiGatewayV1ReportUioFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'results': (json['results'].map(AiGatewayV1ReportRowUio_1.AiGatewayV1ReportRowUioFromJSON)),
39
+ };
40
+ }
41
+ function AiGatewayV1ReportUioToJSON(json) {
42
+ return AiGatewayV1ReportUioToJSONTyped(json, false);
43
+ }
44
+ function AiGatewayV1ReportUioToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'results': (value['results'].map(AiGatewayV1ReportRowUio_1.AiGatewayV1ReportRowUioToJSON)),
50
+ };
51
+ }
@@ -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 MarkConversationReadRequestUio
16
+ */
17
+ export interface MarkConversationReadRequestUio {
18
+ /**
19
+ * Position de lecture ; par défaut l'instant courant
20
+ * @type {Date}
21
+ * @memberof MarkConversationReadRequestUio
22
+ */
23
+ readAt?: Date;
24
+ }
25
+ /**
26
+ * Check if a given object implements the MarkConversationReadRequestUio interface.
27
+ */
28
+ export declare function instanceOfMarkConversationReadRequestUio(value: object): value is MarkConversationReadRequestUio;
29
+ export declare function MarkConversationReadRequestUioFromJSON(json: any): MarkConversationReadRequestUio;
30
+ export declare function MarkConversationReadRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): MarkConversationReadRequestUio;
31
+ export declare function MarkConversationReadRequestUioToJSON(json: any): MarkConversationReadRequestUio;
32
+ export declare function MarkConversationReadRequestUioToJSONTyped(value?: MarkConversationReadRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
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.instanceOfMarkConversationReadRequestUio = instanceOfMarkConversationReadRequestUio;
17
+ exports.MarkConversationReadRequestUioFromJSON = MarkConversationReadRequestUioFromJSON;
18
+ exports.MarkConversationReadRequestUioFromJSONTyped = MarkConversationReadRequestUioFromJSONTyped;
19
+ exports.MarkConversationReadRequestUioToJSON = MarkConversationReadRequestUioToJSON;
20
+ exports.MarkConversationReadRequestUioToJSONTyped = MarkConversationReadRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the MarkConversationReadRequestUio interface.
23
+ */
24
+ function instanceOfMarkConversationReadRequestUio(value) {
25
+ return true;
26
+ }
27
+ function MarkConversationReadRequestUioFromJSON(json) {
28
+ return MarkConversationReadRequestUioFromJSONTyped(json, false);
29
+ }
30
+ function MarkConversationReadRequestUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'readAt': json['readAt'] == null ? undefined : (new Date(json['readAt'])),
36
+ };
37
+ }
38
+ function MarkConversationReadRequestUioToJSON(json) {
39
+ return MarkConversationReadRequestUioToJSONTyped(json, false);
40
+ }
41
+ function MarkConversationReadRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'readAt': value['readAt'] == null ? undefined : ((value['readAt']).toISOString()),
47
+ };
48
+ }
@@ -8,6 +8,7 @@ export * from './AdvancedFlowEditorNodePositionUio';
8
8
  export * from './AdvancedFlowEditorNodeUio';
9
9
  export * from './AdvancedFlowEditorUio';
10
10
  export * from './AdvancedFlowEditorUpdateRequestUio';
11
+ export * from './AgentChatOverviewEntryUio';
11
12
  export * from './AgentCreatorUio';
12
13
  export * from './AgentCreatorUserUio';
13
14
  export * from './AgentDuplicateRequestUio';
@@ -65,6 +66,19 @@ export * from './AiGatewayUsageBreakdownItemUio';
65
66
  export * from './AiGatewayUsagePointUio';
66
67
  export * from './AiGatewayUsageTotalUio';
67
68
  export * from './AiGatewayUsageUio';
69
+ export * from './AiGatewayV1CreditsUio';
70
+ export * from './AiGatewayV1EndpointPricingUio';
71
+ export * from './AiGatewayV1EndpointUio';
72
+ export * from './AiGatewayV1GenerationDataUio';
73
+ export * from './AiGatewayV1GenerationUio';
74
+ export * from './AiGatewayV1ModelEndpointsDataArchitectureUio';
75
+ export * from './AiGatewayV1ModelEndpointsDataUio';
76
+ export * from './AiGatewayV1ModelEndpointsUio';
77
+ export * from './AiGatewayV1ModelListUio';
78
+ export * from './AiGatewayV1ModelPricingUio';
79
+ export * from './AiGatewayV1ModelUio';
80
+ export * from './AiGatewayV1ReportRowUio';
81
+ export * from './AiGatewayV1ReportUio';
68
82
  export * from './AnimationCreateRequestUio';
69
83
  export * from './AnimationUio';
70
84
  export * from './AnonymizationStatusUio';
@@ -254,6 +268,7 @@ export * from './LipsyncUio';
254
268
  export * from './ManifestCreateRequestUio';
255
269
  export * from './ManifestUio';
256
270
  export * from './MarkAttachmentProcessed400ResponseUio';
271
+ export * from './MarkConversationReadRequestUio';
257
272
  export * from './MessageAnonymizationUio';
258
273
  export * from './MessageAudioDownloadUrlUio';
259
274
  export * from './MessageStatusErrorUio';