@breign/client 1.0.158 → 1.0.160

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 +28 -1
  2. package/dist/apis/AiGatewayApi.js +63 -0
  3. package/dist/apis/PromptsApi.d.ts +41 -1
  4. package/dist/apis/PromptsApi.js +92 -0
  5. package/dist/apis/ToolsApi.d.ts +46 -1
  6. package/dist/apis/ToolsApi.js +107 -0
  7. package/dist/models/AgentRateLimitSettingsUio.d.ts +80 -0
  8. package/dist/models/AgentRateLimitSettingsUio.js +80 -0
  9. package/dist/models/AgentRateLimitSettingsUpdateRequestUio.d.ts +50 -0
  10. package/dist/models/AgentRateLimitSettingsUpdateRequestUio.js +54 -0
  11. package/dist/models/AiGatewayModelTokenQuotaUio.d.ts +64 -0
  12. package/dist/models/AiGatewayModelTokenQuotaUio.js +72 -0
  13. package/dist/models/AiGatewaySettingsUio.d.ts +57 -0
  14. package/dist/models/AiGatewaySettingsUio.js +65 -0
  15. package/dist/models/AiGatewaySettingsUpdateRequestUio.d.ts +39 -0
  16. package/dist/models/AiGatewaySettingsUpdateRequestUio.js +51 -0
  17. package/dist/models/McpCallLogCursorUio.d.ts +38 -0
  18. package/dist/models/McpCallLogCursorUio.js +54 -0
  19. package/dist/models/McpCallLogEventUio.d.ts +27 -0
  20. package/dist/models/McpCallLogEventUio.js +53 -0
  21. package/dist/models/McpCallLogStatusUio.d.ts +25 -0
  22. package/dist/models/McpCallLogStatusUio.js +51 -0
  23. package/dist/models/McpCallLogUio.d.ts +162 -0
  24. package/dist/models/McpCallLogUio.js +114 -0
  25. package/dist/models/McpCallLogsDeletedResponseUio.d.ts +32 -0
  26. package/dist/models/McpCallLogsDeletedResponseUio.js +50 -0
  27. package/dist/models/McpCallLogsResponseUio.d.ts +58 -0
  28. package/dist/models/McpCallLogsResponseUio.js +68 -0
  29. package/dist/models/McpLogsSettingsRequestUio.d.ts +38 -0
  30. package/dist/models/McpLogsSettingsRequestUio.js +50 -0
  31. package/dist/models/McpLogsSettingsResponseUio.d.ts +38 -0
  32. package/dist/models/McpLogsSettingsResponseUio.js +54 -0
  33. package/dist/models/PromptRateLimitResponseUio.d.ts +50 -0
  34. package/dist/models/PromptRateLimitResponseUio.js +62 -0
  35. package/dist/models/index.d.ts +14 -0
  36. package/dist/models/index.js +14 -0
  37. package/dist/openapi.json +752 -1
  38. package/package.json +1 -1
@@ -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.instanceOfMcpLogsSettingsRequestUio = instanceOfMcpLogsSettingsRequestUio;
17
+ exports.McpLogsSettingsRequestUioFromJSON = McpLogsSettingsRequestUioFromJSON;
18
+ exports.McpLogsSettingsRequestUioFromJSONTyped = McpLogsSettingsRequestUioFromJSONTyped;
19
+ exports.McpLogsSettingsRequestUioToJSON = McpLogsSettingsRequestUioToJSON;
20
+ exports.McpLogsSettingsRequestUioToJSONTyped = McpLogsSettingsRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the McpLogsSettingsRequestUio interface.
23
+ */
24
+ function instanceOfMcpLogsSettingsRequestUio(value) {
25
+ return true;
26
+ }
27
+ function McpLogsSettingsRequestUioFromJSON(json) {
28
+ return McpLogsSettingsRequestUioFromJSONTyped(json, false);
29
+ }
30
+ function McpLogsSettingsRequestUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'payloads': json['payloads'] == null ? undefined : json['payloads'],
36
+ 'verbose': json['verbose'] == null ? undefined : json['verbose'],
37
+ };
38
+ }
39
+ function McpLogsSettingsRequestUioToJSON(json) {
40
+ return McpLogsSettingsRequestUioToJSONTyped(json, false);
41
+ }
42
+ function McpLogsSettingsRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'payloads': value['payloads'],
48
+ 'verbose': value['verbose'],
49
+ };
50
+ }
@@ -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 McpLogsSettingsResponseUio
16
+ */
17
+ export interface McpLogsSettingsResponseUio {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof McpLogsSettingsResponseUio
22
+ */
23
+ payloads: boolean;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof McpLogsSettingsResponseUio
28
+ */
29
+ verbose: boolean;
30
+ }
31
+ /**
32
+ * Check if a given object implements the McpLogsSettingsResponseUio interface.
33
+ */
34
+ export declare function instanceOfMcpLogsSettingsResponseUio(value: object): value is McpLogsSettingsResponseUio;
35
+ export declare function McpLogsSettingsResponseUioFromJSON(json: any): McpLogsSettingsResponseUio;
36
+ export declare function McpLogsSettingsResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpLogsSettingsResponseUio;
37
+ export declare function McpLogsSettingsResponseUioToJSON(json: any): McpLogsSettingsResponseUio;
38
+ export declare function McpLogsSettingsResponseUioToJSONTyped(value?: McpLogsSettingsResponseUio | 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.instanceOfMcpLogsSettingsResponseUio = instanceOfMcpLogsSettingsResponseUio;
17
+ exports.McpLogsSettingsResponseUioFromJSON = McpLogsSettingsResponseUioFromJSON;
18
+ exports.McpLogsSettingsResponseUioFromJSONTyped = McpLogsSettingsResponseUioFromJSONTyped;
19
+ exports.McpLogsSettingsResponseUioToJSON = McpLogsSettingsResponseUioToJSON;
20
+ exports.McpLogsSettingsResponseUioToJSONTyped = McpLogsSettingsResponseUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the McpLogsSettingsResponseUio interface.
23
+ */
24
+ function instanceOfMcpLogsSettingsResponseUio(value) {
25
+ if (!('payloads' in value) || value['payloads'] === undefined)
26
+ return false;
27
+ if (!('verbose' in value) || value['verbose'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function McpLogsSettingsResponseUioFromJSON(json) {
32
+ return McpLogsSettingsResponseUioFromJSONTyped(json, false);
33
+ }
34
+ function McpLogsSettingsResponseUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'payloads': json['payloads'],
40
+ 'verbose': json['verbose'],
41
+ };
42
+ }
43
+ function McpLogsSettingsResponseUioToJSON(json) {
44
+ return McpLogsSettingsResponseUioToJSONTyped(json, false);
45
+ }
46
+ function McpLogsSettingsResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'payloads': value['payloads'],
52
+ 'verbose': value['verbose'],
53
+ };
54
+ }
@@ -0,0 +1,50 @@
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
+ * Current prompt rate-limit usage for the calling subject on an agent
14
+ * @export
15
+ * @interface PromptRateLimitResponseUio
16
+ */
17
+ export interface PromptRateLimitResponseUio {
18
+ /**
19
+ * Max prompts allowed in the sliding window
20
+ * @type {number}
21
+ * @memberof PromptRateLimitResponseUio
22
+ */
23
+ limit: number;
24
+ /**
25
+ * Prompts already consumed in the current window
26
+ * @type {number}
27
+ * @memberof PromptRateLimitResponseUio
28
+ */
29
+ used: number;
30
+ /**
31
+ * Prompts left before rate limiting
32
+ * @type {number}
33
+ * @memberof PromptRateLimitResponseUio
34
+ */
35
+ remaining: number;
36
+ /**
37
+ * Seconds until the oldest event in the window expires
38
+ * @type {number}
39
+ * @memberof PromptRateLimitResponseUio
40
+ */
41
+ resetSeconds: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the PromptRateLimitResponseUio interface.
45
+ */
46
+ export declare function instanceOfPromptRateLimitResponseUio(value: object): value is PromptRateLimitResponseUio;
47
+ export declare function PromptRateLimitResponseUioFromJSON(json: any): PromptRateLimitResponseUio;
48
+ export declare function PromptRateLimitResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): PromptRateLimitResponseUio;
49
+ export declare function PromptRateLimitResponseUioToJSON(json: any): PromptRateLimitResponseUio;
50
+ export declare function PromptRateLimitResponseUioToJSONTyped(value?: PromptRateLimitResponseUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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.instanceOfPromptRateLimitResponseUio = instanceOfPromptRateLimitResponseUio;
17
+ exports.PromptRateLimitResponseUioFromJSON = PromptRateLimitResponseUioFromJSON;
18
+ exports.PromptRateLimitResponseUioFromJSONTyped = PromptRateLimitResponseUioFromJSONTyped;
19
+ exports.PromptRateLimitResponseUioToJSON = PromptRateLimitResponseUioToJSON;
20
+ exports.PromptRateLimitResponseUioToJSONTyped = PromptRateLimitResponseUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PromptRateLimitResponseUio interface.
23
+ */
24
+ function instanceOfPromptRateLimitResponseUio(value) {
25
+ if (!('limit' in value) || value['limit'] === undefined)
26
+ return false;
27
+ if (!('used' in value) || value['used'] === undefined)
28
+ return false;
29
+ if (!('remaining' in value) || value['remaining'] === undefined)
30
+ return false;
31
+ if (!('resetSeconds' in value) || value['resetSeconds'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function PromptRateLimitResponseUioFromJSON(json) {
36
+ return PromptRateLimitResponseUioFromJSONTyped(json, false);
37
+ }
38
+ function PromptRateLimitResponseUioFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'limit': json['limit'],
44
+ 'used': json['used'],
45
+ 'remaining': json['remaining'],
46
+ 'resetSeconds': json['resetSeconds'],
47
+ };
48
+ }
49
+ function PromptRateLimitResponseUioToJSON(json) {
50
+ return PromptRateLimitResponseUioToJSONTyped(json, false);
51
+ }
52
+ function PromptRateLimitResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'limit': value['limit'],
58
+ 'used': value['used'],
59
+ 'remaining': value['remaining'],
60
+ 'resetSeconds': value['resetSeconds'],
61
+ };
62
+ }
@@ -54,6 +54,8 @@ export * from './AgentModuleTypeUio';
54
54
  export * from './AgentModuleUio';
55
55
  export * from './AgentPatchEngineUio';
56
56
  export * from './AgentPatchUio';
57
+ export * from './AgentRateLimitSettingsUio';
58
+ export * from './AgentRateLimitSettingsUpdateRequestUio';
57
59
  export * from './AgentRefUio';
58
60
  export * from './AgentRequestUio';
59
61
  export * from './AgentRoleDetailsUio';
@@ -79,7 +81,10 @@ export * from './AiGatewayErrorUio';
79
81
  export * from './AiGatewayMessageUio';
80
82
  export * from './AiGatewayModelListDataInnerUio';
81
83
  export * from './AiGatewayModelListUio';
84
+ export * from './AiGatewayModelTokenQuotaUio';
82
85
  export * from './AiGatewayModelUio';
86
+ export * from './AiGatewaySettingsUio';
87
+ export * from './AiGatewaySettingsUpdateRequestUio';
83
88
  export * from './AiGatewayUsageBreakdownItemUio';
84
89
  export * from './AiGatewayUsagePointUio';
85
90
  export * from './AiGatewayUsageTotalUio';
@@ -314,6 +319,12 @@ export * from './MarkAttachmentProcessed400ResponseUio';
314
319
  export * from './MarkConversationReadRequestUio';
315
320
  export * from './McpAgentListAgentsInnerUio';
316
321
  export * from './McpAgentListUio';
322
+ export * from './McpCallLogCursorUio';
323
+ export * from './McpCallLogEventUio';
324
+ export * from './McpCallLogStatusUio';
325
+ export * from './McpCallLogUio';
326
+ export * from './McpCallLogsDeletedResponseUio';
327
+ export * from './McpCallLogsResponseUio';
317
328
  export * from './McpCallToolResultStructuredContentUio';
318
329
  export * from './McpCallToolResultUio';
319
330
  export * from './McpJsonRpcErrorUio';
@@ -321,6 +332,8 @@ export * from './McpJsonRpcRequestIdUio';
321
332
  export * from './McpJsonRpcRequestUio';
322
333
  export * from './McpJsonRpcResponseIdUio';
323
334
  export * from './McpJsonRpcResponseUio';
335
+ export * from './McpLogsSettingsRequestUio';
336
+ export * from './McpLogsSettingsResponseUio';
324
337
  export * from './McpTextContentUio';
325
338
  export * from './McpTicketViewUio';
326
339
  export * from './MessageAnonymizationUio';
@@ -381,6 +394,7 @@ export * from './PromptCreateResponseUio';
381
394
  export * from './PromptFlowCreateRequestUio';
382
395
  export * from './PromptFlowCreateResponseUio';
383
396
  export * from './PromptInitUio';
397
+ export * from './PromptRateLimitResponseUio';
384
398
  export * from './ProviderCreateRequestUio';
385
399
  export * from './ProviderTypeUio';
386
400
  export * from './ProviderUio';
@@ -72,6 +72,8 @@ __exportStar(require("./AgentModuleTypeUio"), exports);
72
72
  __exportStar(require("./AgentModuleUio"), exports);
73
73
  __exportStar(require("./AgentPatchEngineUio"), exports);
74
74
  __exportStar(require("./AgentPatchUio"), exports);
75
+ __exportStar(require("./AgentRateLimitSettingsUio"), exports);
76
+ __exportStar(require("./AgentRateLimitSettingsUpdateRequestUio"), exports);
75
77
  __exportStar(require("./AgentRefUio"), exports);
76
78
  __exportStar(require("./AgentRequestUio"), exports);
77
79
  __exportStar(require("./AgentRoleDetailsUio"), exports);
@@ -97,7 +99,10 @@ __exportStar(require("./AiGatewayErrorUio"), exports);
97
99
  __exportStar(require("./AiGatewayMessageUio"), exports);
98
100
  __exportStar(require("./AiGatewayModelListDataInnerUio"), exports);
99
101
  __exportStar(require("./AiGatewayModelListUio"), exports);
102
+ __exportStar(require("./AiGatewayModelTokenQuotaUio"), exports);
100
103
  __exportStar(require("./AiGatewayModelUio"), exports);
104
+ __exportStar(require("./AiGatewaySettingsUio"), exports);
105
+ __exportStar(require("./AiGatewaySettingsUpdateRequestUio"), exports);
101
106
  __exportStar(require("./AiGatewayUsageBreakdownItemUio"), exports);
102
107
  __exportStar(require("./AiGatewayUsagePointUio"), exports);
103
108
  __exportStar(require("./AiGatewayUsageTotalUio"), exports);
@@ -332,6 +337,12 @@ __exportStar(require("./MarkAttachmentProcessed400ResponseUio"), exports);
332
337
  __exportStar(require("./MarkConversationReadRequestUio"), exports);
333
338
  __exportStar(require("./McpAgentListAgentsInnerUio"), exports);
334
339
  __exportStar(require("./McpAgentListUio"), exports);
340
+ __exportStar(require("./McpCallLogCursorUio"), exports);
341
+ __exportStar(require("./McpCallLogEventUio"), exports);
342
+ __exportStar(require("./McpCallLogStatusUio"), exports);
343
+ __exportStar(require("./McpCallLogUio"), exports);
344
+ __exportStar(require("./McpCallLogsDeletedResponseUio"), exports);
345
+ __exportStar(require("./McpCallLogsResponseUio"), exports);
335
346
  __exportStar(require("./McpCallToolResultStructuredContentUio"), exports);
336
347
  __exportStar(require("./McpCallToolResultUio"), exports);
337
348
  __exportStar(require("./McpJsonRpcErrorUio"), exports);
@@ -339,6 +350,8 @@ __exportStar(require("./McpJsonRpcRequestIdUio"), exports);
339
350
  __exportStar(require("./McpJsonRpcRequestUio"), exports);
340
351
  __exportStar(require("./McpJsonRpcResponseIdUio"), exports);
341
352
  __exportStar(require("./McpJsonRpcResponseUio"), exports);
353
+ __exportStar(require("./McpLogsSettingsRequestUio"), exports);
354
+ __exportStar(require("./McpLogsSettingsResponseUio"), exports);
342
355
  __exportStar(require("./McpTextContentUio"), exports);
343
356
  __exportStar(require("./McpTicketViewUio"), exports);
344
357
  __exportStar(require("./MessageAnonymizationUio"), exports);
@@ -399,6 +412,7 @@ __exportStar(require("./PromptCreateResponseUio"), exports);
399
412
  __exportStar(require("./PromptFlowCreateRequestUio"), exports);
400
413
  __exportStar(require("./PromptFlowCreateResponseUio"), exports);
401
414
  __exportStar(require("./PromptInitUio"), exports);
415
+ __exportStar(require("./PromptRateLimitResponseUio"), exports);
402
416
  __exportStar(require("./ProviderCreateRequestUio"), exports);
403
417
  __exportStar(require("./ProviderTypeUio"), exports);
404
418
  __exportStar(require("./ProviderUio"), exports);