@breign/client 1.0.100 → 1.0.102

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 (50) hide show
  1. package/dist/apis/AgentApi.d.ts +14 -0
  2. package/dist/apis/AgentApi.js +32 -0
  3. package/dist/apis/ConfigurationApi.d.ts +11 -1
  4. package/dist/apis/ConfigurationApi.js +26 -0
  5. package/dist/apis/ScheduledTasksApi.d.ts +143 -0
  6. package/dist/apis/ScheduledTasksApi.js +364 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/models/ChatUio.d.ts +14 -0
  10. package/dist/models/ChatUio.js +10 -0
  11. package/dist/models/GetUploadLimits200ResponseUio.d.ts +32 -0
  12. package/dist/models/GetUploadLimits200ResponseUio.js +50 -0
  13. package/dist/models/PromptCreateRequestUio.d.ts +14 -0
  14. package/dist/models/PromptCreateRequestUio.js +10 -0
  15. package/dist/models/PromptFlowCreateRequestUio.d.ts +14 -0
  16. package/dist/models/PromptFlowCreateRequestUio.js +10 -0
  17. package/dist/models/RunStepUio.d.ts +78 -0
  18. package/dist/models/RunStepUio.js +74 -0
  19. package/dist/models/ScheduledTaskCreateUio.d.ts +77 -0
  20. package/dist/models/ScheduledTaskCreateUio.js +75 -0
  21. package/dist/models/ScheduledTaskListUio.d.ts +39 -0
  22. package/dist/models/ScheduledTaskListUio.js +55 -0
  23. package/dist/models/ScheduledTaskManualRunResponseUio.d.ts +32 -0
  24. package/dist/models/ScheduledTaskManualRunResponseUio.js +50 -0
  25. package/dist/models/ScheduledTaskRunListUio.d.ts +39 -0
  26. package/dist/models/ScheduledTaskRunListUio.js +55 -0
  27. package/dist/models/ScheduledTaskRunUio.d.ts +110 -0
  28. package/dist/models/ScheduledTaskRunUio.js +98 -0
  29. package/dist/models/ScheduledTaskStatusResponseUio.d.ts +46 -0
  30. package/dist/models/ScheduledTaskStatusResponseUio.js +60 -0
  31. package/dist/models/ScheduledTaskStatusToggleUio.d.ts +40 -0
  32. package/dist/models/ScheduledTaskStatusToggleUio.js +58 -0
  33. package/dist/models/ScheduledTaskUio.d.ts +146 -0
  34. package/dist/models/ScheduledTaskUio.js +123 -0
  35. package/dist/models/TaskScheduleEndOneOf1Uio.d.ts +45 -0
  36. package/dist/models/TaskScheduleEndOneOf1Uio.js +61 -0
  37. package/dist/models/TaskScheduleEndOneOf2Uio.d.ts +45 -0
  38. package/dist/models/TaskScheduleEndOneOf2Uio.js +61 -0
  39. package/dist/models/TaskScheduleEndOneOfUio.d.ts +39 -0
  40. package/dist/models/TaskScheduleEndOneOfUio.js +57 -0
  41. package/dist/models/TaskScheduleEndUio.d.ts +24 -0
  42. package/dist/models/TaskScheduleEndUio.js +64 -0
  43. package/dist/models/TaskScheduleIntervalUio.d.ts +47 -0
  44. package/dist/models/TaskScheduleIntervalUio.js +63 -0
  45. package/dist/models/TaskScheduleUio.d.ts +94 -0
  46. package/dist/models/TaskScheduleUio.js +78 -0
  47. package/dist/models/index.d.ts +16 -0
  48. package/dist/models/index.js +16 -0
  49. package/dist/openapi.json +933 -4
  50. package/package.json +1 -1
@@ -0,0 +1,47 @@
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 TaskScheduleIntervalUio
16
+ */
17
+ export interface TaskScheduleIntervalUio {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof TaskScheduleIntervalUio
22
+ */
23
+ n: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof TaskScheduleIntervalUio
28
+ */
29
+ unit: TaskScheduleIntervalUioUnitEnum;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const TaskScheduleIntervalUioUnitEnum: {
35
+ readonly Minutes: "minutes";
36
+ readonly Hours: "hours";
37
+ readonly Days: "days";
38
+ };
39
+ export type TaskScheduleIntervalUioUnitEnum = typeof TaskScheduleIntervalUioUnitEnum[keyof typeof TaskScheduleIntervalUioUnitEnum];
40
+ /**
41
+ * Check if a given object implements the TaskScheduleIntervalUio interface.
42
+ */
43
+ export declare function instanceOfTaskScheduleIntervalUio(value: object): value is TaskScheduleIntervalUio;
44
+ export declare function TaskScheduleIntervalUioFromJSON(json: any): TaskScheduleIntervalUio;
45
+ export declare function TaskScheduleIntervalUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskScheduleIntervalUio;
46
+ export declare function TaskScheduleIntervalUioToJSON(json: any): TaskScheduleIntervalUio;
47
+ export declare function TaskScheduleIntervalUioToJSONTyped(value?: TaskScheduleIntervalUio | 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.TaskScheduleIntervalUioUnitEnum = void 0;
17
+ exports.instanceOfTaskScheduleIntervalUio = instanceOfTaskScheduleIntervalUio;
18
+ exports.TaskScheduleIntervalUioFromJSON = TaskScheduleIntervalUioFromJSON;
19
+ exports.TaskScheduleIntervalUioFromJSONTyped = TaskScheduleIntervalUioFromJSONTyped;
20
+ exports.TaskScheduleIntervalUioToJSON = TaskScheduleIntervalUioToJSON;
21
+ exports.TaskScheduleIntervalUioToJSONTyped = TaskScheduleIntervalUioToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.TaskScheduleIntervalUioUnitEnum = {
26
+ Minutes: 'minutes',
27
+ Hours: 'hours',
28
+ Days: 'days'
29
+ };
30
+ /**
31
+ * Check if a given object implements the TaskScheduleIntervalUio interface.
32
+ */
33
+ function instanceOfTaskScheduleIntervalUio(value) {
34
+ if (!('n' in value) || value['n'] === undefined)
35
+ return false;
36
+ if (!('unit' in value) || value['unit'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function TaskScheduleIntervalUioFromJSON(json) {
41
+ return TaskScheduleIntervalUioFromJSONTyped(json, false);
42
+ }
43
+ function TaskScheduleIntervalUioFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'n': json['n'],
49
+ 'unit': json['unit'],
50
+ };
51
+ }
52
+ function TaskScheduleIntervalUioToJSON(json) {
53
+ return TaskScheduleIntervalUioToJSONTyped(json, false);
54
+ }
55
+ function TaskScheduleIntervalUioToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'n': value['n'],
61
+ 'unit': value['unit'],
62
+ };
63
+ }
@@ -0,0 +1,94 @@
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 { TaskScheduleIntervalUio } from './TaskScheduleIntervalUio';
13
+ import type { TaskScheduleEndUio } from './TaskScheduleEndUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface TaskScheduleUio
18
+ */
19
+ export interface TaskScheduleUio {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof TaskScheduleUio
24
+ */
25
+ at?: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof TaskScheduleUio
30
+ */
31
+ freq?: TaskScheduleUioFreqEnum;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof TaskScheduleUio
36
+ */
37
+ time?: string;
38
+ /**
39
+ *
40
+ * @type {Array<number>}
41
+ * @memberof TaskScheduleUio
42
+ */
43
+ days?: Array<number>;
44
+ /**
45
+ *
46
+ * @type {number}
47
+ * @memberof TaskScheduleUio
48
+ */
49
+ dom?: number;
50
+ /**
51
+ *
52
+ * @type {TaskScheduleIntervalUio}
53
+ * @memberof TaskScheduleUio
54
+ */
55
+ interval?: TaskScheduleIntervalUio;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof TaskScheduleUio
60
+ */
61
+ cron?: string;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof TaskScheduleUio
66
+ */
67
+ start?: string;
68
+ /**
69
+ *
70
+ * @type {TaskScheduleEndUio}
71
+ * @memberof TaskScheduleUio
72
+ */
73
+ end?: TaskScheduleEndUio;
74
+ }
75
+ /**
76
+ * @export
77
+ */
78
+ export declare const TaskScheduleUioFreqEnum: {
79
+ readonly Minute: "minute";
80
+ readonly Interval: "interval";
81
+ readonly Daily: "daily";
82
+ readonly Weekly: "weekly";
83
+ readonly Monthly: "monthly";
84
+ readonly Cron: "cron";
85
+ };
86
+ export type TaskScheduleUioFreqEnum = typeof TaskScheduleUioFreqEnum[keyof typeof TaskScheduleUioFreqEnum];
87
+ /**
88
+ * Check if a given object implements the TaskScheduleUio interface.
89
+ */
90
+ export declare function instanceOfTaskScheduleUio(value: object): value is TaskScheduleUio;
91
+ export declare function TaskScheduleUioFromJSON(json: any): TaskScheduleUio;
92
+ export declare function TaskScheduleUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskScheduleUio;
93
+ export declare function TaskScheduleUioToJSON(json: any): TaskScheduleUio;
94
+ export declare function TaskScheduleUioToJSONTyped(value?: TaskScheduleUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,78 @@
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.TaskScheduleUioFreqEnum = void 0;
17
+ exports.instanceOfTaskScheduleUio = instanceOfTaskScheduleUio;
18
+ exports.TaskScheduleUioFromJSON = TaskScheduleUioFromJSON;
19
+ exports.TaskScheduleUioFromJSONTyped = TaskScheduleUioFromJSONTyped;
20
+ exports.TaskScheduleUioToJSON = TaskScheduleUioToJSON;
21
+ exports.TaskScheduleUioToJSONTyped = TaskScheduleUioToJSONTyped;
22
+ const TaskScheduleIntervalUio_1 = require("./TaskScheduleIntervalUio");
23
+ const TaskScheduleEndUio_1 = require("./TaskScheduleEndUio");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.TaskScheduleUioFreqEnum = {
28
+ Minute: 'minute',
29
+ Interval: 'interval',
30
+ Daily: 'daily',
31
+ Weekly: 'weekly',
32
+ Monthly: 'monthly',
33
+ Cron: 'cron'
34
+ };
35
+ /**
36
+ * Check if a given object implements the TaskScheduleUio interface.
37
+ */
38
+ function instanceOfTaskScheduleUio(value) {
39
+ return true;
40
+ }
41
+ function TaskScheduleUioFromJSON(json) {
42
+ return TaskScheduleUioFromJSONTyped(json, false);
43
+ }
44
+ function TaskScheduleUioFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'at': json['at'] == null ? undefined : json['at'],
50
+ 'freq': json['freq'] == null ? undefined : json['freq'],
51
+ 'time': json['time'] == null ? undefined : json['time'],
52
+ 'days': json['days'] == null ? undefined : json['days'],
53
+ 'dom': json['dom'] == null ? undefined : json['dom'],
54
+ 'interval': json['interval'] == null ? undefined : (0, TaskScheduleIntervalUio_1.TaskScheduleIntervalUioFromJSON)(json['interval']),
55
+ 'cron': json['cron'] == null ? undefined : json['cron'],
56
+ 'start': json['start'] == null ? undefined : json['start'],
57
+ 'end': json['end'] == null ? undefined : (0, TaskScheduleEndUio_1.TaskScheduleEndUioFromJSON)(json['end']),
58
+ };
59
+ }
60
+ function TaskScheduleUioToJSON(json) {
61
+ return TaskScheduleUioToJSONTyped(json, false);
62
+ }
63
+ function TaskScheduleUioToJSONTyped(value, ignoreDiscriminator = false) {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+ return {
68
+ 'at': value['at'],
69
+ 'freq': value['freq'],
70
+ 'time': value['time'],
71
+ 'days': value['days'],
72
+ 'dom': value['dom'],
73
+ 'interval': (0, TaskScheduleIntervalUio_1.TaskScheduleIntervalUioToJSON)(value['interval']),
74
+ 'cron': value['cron'],
75
+ 'start': value['start'],
76
+ 'end': (0, TaskScheduleEndUio_1.TaskScheduleEndUioToJSON)(value['end']),
77
+ };
78
+ }
@@ -149,6 +149,7 @@ export * from './FlowEditorUpdateRequestUio';
149
149
  export * from './FlowEntrypointsUio';
150
150
  export * from './FlowOptionsUio';
151
151
  export * from './FlowUio';
152
+ export * from './GetUploadLimits200ResponseUio';
152
153
  export * from './GuardianCreateRequestUio';
153
154
  export * from './GuardianEngineUio';
154
155
  export * from './GuardianPositionUio';
@@ -219,8 +220,17 @@ export * from './RevealTokenRequestUio';
219
220
  export * from './RevealTokenResponseUio';
220
221
  export * from './RoleCreateRequestUio';
221
222
  export * from './RoleUio';
223
+ export * from './RunStepUio';
222
224
  export * from './S3UploadBodyUio';
223
225
  export * from './STTResponseUio';
226
+ export * from './ScheduledTaskCreateUio';
227
+ export * from './ScheduledTaskListUio';
228
+ export * from './ScheduledTaskManualRunResponseUio';
229
+ export * from './ScheduledTaskRunListUio';
230
+ export * from './ScheduledTaskRunUio';
231
+ export * from './ScheduledTaskStatusResponseUio';
232
+ export * from './ScheduledTaskStatusToggleUio';
233
+ export * from './ScheduledTaskUio';
224
234
  export * from './SequenceContentsUio';
225
235
  export * from './SequenceCreateRequestUio';
226
236
  export * from './SequenceUio';
@@ -239,6 +249,12 @@ export * from './SubscriptionMetricUio';
239
249
  export * from './SuggestionUio';
240
250
  export * from './TTSRequestUio';
241
251
  export * from './TTSResponseUio';
252
+ export * from './TaskScheduleEndOneOf1Uio';
253
+ export * from './TaskScheduleEndOneOf2Uio';
254
+ export * from './TaskScheduleEndOneOfUio';
255
+ export * from './TaskScheduleEndUio';
256
+ export * from './TaskScheduleIntervalUio';
257
+ export * from './TaskScheduleUio';
242
258
  export * from './TextToSpeechProviderUio';
243
259
  export * from './TokenUsageUio';
244
260
  export * from './ToolActionUio';
@@ -167,6 +167,7 @@ __exportStar(require("./FlowEditorUpdateRequestUio"), exports);
167
167
  __exportStar(require("./FlowEntrypointsUio"), exports);
168
168
  __exportStar(require("./FlowOptionsUio"), exports);
169
169
  __exportStar(require("./FlowUio"), exports);
170
+ __exportStar(require("./GetUploadLimits200ResponseUio"), exports);
170
171
  __exportStar(require("./GuardianCreateRequestUio"), exports);
171
172
  __exportStar(require("./GuardianEngineUio"), exports);
172
173
  __exportStar(require("./GuardianPositionUio"), exports);
@@ -237,8 +238,17 @@ __exportStar(require("./RevealTokenRequestUio"), exports);
237
238
  __exportStar(require("./RevealTokenResponseUio"), exports);
238
239
  __exportStar(require("./RoleCreateRequestUio"), exports);
239
240
  __exportStar(require("./RoleUio"), exports);
241
+ __exportStar(require("./RunStepUio"), exports);
240
242
  __exportStar(require("./S3UploadBodyUio"), exports);
241
243
  __exportStar(require("./STTResponseUio"), exports);
244
+ __exportStar(require("./ScheduledTaskCreateUio"), exports);
245
+ __exportStar(require("./ScheduledTaskListUio"), exports);
246
+ __exportStar(require("./ScheduledTaskManualRunResponseUio"), exports);
247
+ __exportStar(require("./ScheduledTaskRunListUio"), exports);
248
+ __exportStar(require("./ScheduledTaskRunUio"), exports);
249
+ __exportStar(require("./ScheduledTaskStatusResponseUio"), exports);
250
+ __exportStar(require("./ScheduledTaskStatusToggleUio"), exports);
251
+ __exportStar(require("./ScheduledTaskUio"), exports);
242
252
  __exportStar(require("./SequenceContentsUio"), exports);
243
253
  __exportStar(require("./SequenceCreateRequestUio"), exports);
244
254
  __exportStar(require("./SequenceUio"), exports);
@@ -257,6 +267,12 @@ __exportStar(require("./SubscriptionMetricUio"), exports);
257
267
  __exportStar(require("./SuggestionUio"), exports);
258
268
  __exportStar(require("./TTSRequestUio"), exports);
259
269
  __exportStar(require("./TTSResponseUio"), exports);
270
+ __exportStar(require("./TaskScheduleEndOneOf1Uio"), exports);
271
+ __exportStar(require("./TaskScheduleEndOneOf2Uio"), exports);
272
+ __exportStar(require("./TaskScheduleEndOneOfUio"), exports);
273
+ __exportStar(require("./TaskScheduleEndUio"), exports);
274
+ __exportStar(require("./TaskScheduleIntervalUio"), exports);
275
+ __exportStar(require("./TaskScheduleUio"), exports);
260
276
  __exportStar(require("./TextToSpeechProviderUio"), exports);
261
277
  __exportStar(require("./TokenUsageUio"), exports);
262
278
  __exportStar(require("./ToolActionUio"), exports);