@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.
- package/dist/apis/AgentApi.d.ts +14 -0
- package/dist/apis/AgentApi.js +32 -0
- package/dist/apis/ConfigurationApi.d.ts +11 -1
- package/dist/apis/ConfigurationApi.js +26 -0
- package/dist/apis/ScheduledTasksApi.d.ts +143 -0
- package/dist/apis/ScheduledTasksApi.js +364 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ChatUio.d.ts +14 -0
- package/dist/models/ChatUio.js +10 -0
- package/dist/models/GetUploadLimits200ResponseUio.d.ts +32 -0
- package/dist/models/GetUploadLimits200ResponseUio.js +50 -0
- package/dist/models/PromptCreateRequestUio.d.ts +14 -0
- package/dist/models/PromptCreateRequestUio.js +10 -0
- package/dist/models/PromptFlowCreateRequestUio.d.ts +14 -0
- package/dist/models/PromptFlowCreateRequestUio.js +10 -0
- package/dist/models/RunStepUio.d.ts +78 -0
- package/dist/models/RunStepUio.js +74 -0
- package/dist/models/ScheduledTaskCreateUio.d.ts +77 -0
- package/dist/models/ScheduledTaskCreateUio.js +75 -0
- package/dist/models/ScheduledTaskListUio.d.ts +39 -0
- package/dist/models/ScheduledTaskListUio.js +55 -0
- package/dist/models/ScheduledTaskManualRunResponseUio.d.ts +32 -0
- package/dist/models/ScheduledTaskManualRunResponseUio.js +50 -0
- package/dist/models/ScheduledTaskRunListUio.d.ts +39 -0
- package/dist/models/ScheduledTaskRunListUio.js +55 -0
- package/dist/models/ScheduledTaskRunUio.d.ts +110 -0
- package/dist/models/ScheduledTaskRunUio.js +98 -0
- package/dist/models/ScheduledTaskStatusResponseUio.d.ts +46 -0
- package/dist/models/ScheduledTaskStatusResponseUio.js +60 -0
- package/dist/models/ScheduledTaskStatusToggleUio.d.ts +40 -0
- package/dist/models/ScheduledTaskStatusToggleUio.js +58 -0
- package/dist/models/ScheduledTaskUio.d.ts +146 -0
- package/dist/models/ScheduledTaskUio.js +123 -0
- package/dist/models/TaskScheduleEndOneOf1Uio.d.ts +45 -0
- package/dist/models/TaskScheduleEndOneOf1Uio.js +61 -0
- package/dist/models/TaskScheduleEndOneOf2Uio.d.ts +45 -0
- package/dist/models/TaskScheduleEndOneOf2Uio.js +61 -0
- package/dist/models/TaskScheduleEndOneOfUio.d.ts +39 -0
- package/dist/models/TaskScheduleEndOneOfUio.js +57 -0
- package/dist/models/TaskScheduleEndUio.d.ts +24 -0
- package/dist/models/TaskScheduleEndUio.js +64 -0
- package/dist/models/TaskScheduleIntervalUio.d.ts +47 -0
- package/dist/models/TaskScheduleIntervalUio.js +63 -0
- package/dist/models/TaskScheduleUio.d.ts +94 -0
- package/dist/models/TaskScheduleUio.js +78 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/dist/openapi.json +933 -4
- package/package.json +1 -1
|
@@ -0,0 +1,146 @@
|
|
|
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 { TaskScheduleUio } from './TaskScheduleUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ScheduledTaskUio
|
|
17
|
+
*/
|
|
18
|
+
export interface ScheduledTaskUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ScheduledTaskUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ScheduledTaskUio
|
|
29
|
+
*/
|
|
30
|
+
agentId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ScheduledTaskUio
|
|
35
|
+
*/
|
|
36
|
+
organizationId: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ScheduledTaskUio
|
|
41
|
+
*/
|
|
42
|
+
name?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ScheduledTaskUio
|
|
47
|
+
*/
|
|
48
|
+
message: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ScheduledTaskUio
|
|
53
|
+
*/
|
|
54
|
+
mode: ScheduledTaskUioModeEnum;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ScheduledTaskUio
|
|
59
|
+
*/
|
|
60
|
+
status: ScheduledTaskUioStatusEnum;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {TaskScheduleUio}
|
|
64
|
+
* @memberof ScheduledTaskUio
|
|
65
|
+
*/
|
|
66
|
+
schedule: TaskScheduleUio;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof ScheduledTaskUio
|
|
71
|
+
*/
|
|
72
|
+
cronExpression: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ScheduledTaskUio
|
|
77
|
+
*/
|
|
78
|
+
timezone: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof ScheduledTaskUio
|
|
83
|
+
*/
|
|
84
|
+
lang: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof ScheduledTaskUio
|
|
89
|
+
*/
|
|
90
|
+
callbackUrl?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {number}
|
|
94
|
+
* @memberof ScheduledTaskUio
|
|
95
|
+
*/
|
|
96
|
+
runCount: number;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {Date}
|
|
100
|
+
* @memberof ScheduledTaskUio
|
|
101
|
+
*/
|
|
102
|
+
nextRunAt?: Date;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {Date}
|
|
106
|
+
* @memberof ScheduledTaskUio
|
|
107
|
+
*/
|
|
108
|
+
endedAt?: Date;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {Date}
|
|
112
|
+
* @memberof ScheduledTaskUio
|
|
113
|
+
*/
|
|
114
|
+
createdAt: Date;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {Date}
|
|
118
|
+
* @memberof ScheduledTaskUio
|
|
119
|
+
*/
|
|
120
|
+
updatedAt: Date;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* @export
|
|
124
|
+
*/
|
|
125
|
+
export declare const ScheduledTaskUioModeEnum: {
|
|
126
|
+
readonly Once: "once";
|
|
127
|
+
readonly Recurring: "recurring";
|
|
128
|
+
};
|
|
129
|
+
export type ScheduledTaskUioModeEnum = typeof ScheduledTaskUioModeEnum[keyof typeof ScheduledTaskUioModeEnum];
|
|
130
|
+
/**
|
|
131
|
+
* @export
|
|
132
|
+
*/
|
|
133
|
+
export declare const ScheduledTaskUioStatusEnum: {
|
|
134
|
+
readonly Active: "active";
|
|
135
|
+
readonly Paused: "paused";
|
|
136
|
+
readonly Done: "done";
|
|
137
|
+
};
|
|
138
|
+
export type ScheduledTaskUioStatusEnum = typeof ScheduledTaskUioStatusEnum[keyof typeof ScheduledTaskUioStatusEnum];
|
|
139
|
+
/**
|
|
140
|
+
* Check if a given object implements the ScheduledTaskUio interface.
|
|
141
|
+
*/
|
|
142
|
+
export declare function instanceOfScheduledTaskUio(value: object): value is ScheduledTaskUio;
|
|
143
|
+
export declare function ScheduledTaskUioFromJSON(json: any): ScheduledTaskUio;
|
|
144
|
+
export declare function ScheduledTaskUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScheduledTaskUio;
|
|
145
|
+
export declare function ScheduledTaskUioToJSON(json: any): ScheduledTaskUio;
|
|
146
|
+
export declare function ScheduledTaskUioToJSONTyped(value?: ScheduledTaskUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,123 @@
|
|
|
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.ScheduledTaskUioStatusEnum = exports.ScheduledTaskUioModeEnum = void 0;
|
|
17
|
+
exports.instanceOfScheduledTaskUio = instanceOfScheduledTaskUio;
|
|
18
|
+
exports.ScheduledTaskUioFromJSON = ScheduledTaskUioFromJSON;
|
|
19
|
+
exports.ScheduledTaskUioFromJSONTyped = ScheduledTaskUioFromJSONTyped;
|
|
20
|
+
exports.ScheduledTaskUioToJSON = ScheduledTaskUioToJSON;
|
|
21
|
+
exports.ScheduledTaskUioToJSONTyped = ScheduledTaskUioToJSONTyped;
|
|
22
|
+
const TaskScheduleUio_1 = require("./TaskScheduleUio");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ScheduledTaskUioModeEnum = {
|
|
27
|
+
Once: 'once',
|
|
28
|
+
Recurring: 'recurring'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.ScheduledTaskUioStatusEnum = {
|
|
34
|
+
Active: 'active',
|
|
35
|
+
Paused: 'paused',
|
|
36
|
+
Done: 'done'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ScheduledTaskUio interface.
|
|
40
|
+
*/
|
|
41
|
+
function instanceOfScheduledTaskUio(value) {
|
|
42
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('schedule' in value) || value['schedule'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('cronExpression' in value) || value['cronExpression'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('timezone' in value) || value['timezone'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('lang' in value) || value['lang'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('runCount' in value) || value['runCount'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
65
|
+
return false;
|
|
66
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
67
|
+
return false;
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
function ScheduledTaskUioFromJSON(json) {
|
|
71
|
+
return ScheduledTaskUioFromJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
function ScheduledTaskUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
74
|
+
if (json == null) {
|
|
75
|
+
return json;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'id': json['id'],
|
|
79
|
+
'agentId': json['agentId'],
|
|
80
|
+
'organizationId': json['organizationId'],
|
|
81
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
82
|
+
'message': json['message'],
|
|
83
|
+
'mode': json['mode'],
|
|
84
|
+
'status': json['status'],
|
|
85
|
+
'schedule': (0, TaskScheduleUio_1.TaskScheduleUioFromJSON)(json['schedule']),
|
|
86
|
+
'cronExpression': json['cronExpression'],
|
|
87
|
+
'timezone': json['timezone'],
|
|
88
|
+
'lang': json['lang'],
|
|
89
|
+
'callbackUrl': json['callbackUrl'] == null ? undefined : json['callbackUrl'],
|
|
90
|
+
'runCount': json['runCount'],
|
|
91
|
+
'nextRunAt': json['nextRunAt'] == null ? undefined : (new Date(json['nextRunAt'])),
|
|
92
|
+
'endedAt': json['endedAt'] == null ? undefined : (new Date(json['endedAt'])),
|
|
93
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
94
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
function ScheduledTaskUioToJSON(json) {
|
|
98
|
+
return ScheduledTaskUioToJSONTyped(json, false);
|
|
99
|
+
}
|
|
100
|
+
function ScheduledTaskUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
101
|
+
if (value == null) {
|
|
102
|
+
return value;
|
|
103
|
+
}
|
|
104
|
+
return {
|
|
105
|
+
'id': value['id'],
|
|
106
|
+
'agentId': value['agentId'],
|
|
107
|
+
'organizationId': value['organizationId'],
|
|
108
|
+
'name': value['name'],
|
|
109
|
+
'message': value['message'],
|
|
110
|
+
'mode': value['mode'],
|
|
111
|
+
'status': value['status'],
|
|
112
|
+
'schedule': (0, TaskScheduleUio_1.TaskScheduleUioToJSON)(value['schedule']),
|
|
113
|
+
'cronExpression': value['cronExpression'],
|
|
114
|
+
'timezone': value['timezone'],
|
|
115
|
+
'lang': value['lang'],
|
|
116
|
+
'callbackUrl': value['callbackUrl'],
|
|
117
|
+
'runCount': value['runCount'],
|
|
118
|
+
'nextRunAt': value['nextRunAt'] == null ? undefined : ((value['nextRunAt']).toISOString()),
|
|
119
|
+
'endedAt': value['endedAt'] == null ? undefined : ((value['endedAt']).toISOString()),
|
|
120
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
121
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 TaskScheduleEndOneOf1Uio
|
|
16
|
+
*/
|
|
17
|
+
export interface TaskScheduleEndOneOf1Uio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TaskScheduleEndOneOf1Uio
|
|
22
|
+
*/
|
|
23
|
+
type: TaskScheduleEndOneOf1UioTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof TaskScheduleEndOneOf1Uio
|
|
28
|
+
*/
|
|
29
|
+
count: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const TaskScheduleEndOneOf1UioTypeEnum: {
|
|
35
|
+
readonly Count: "count";
|
|
36
|
+
};
|
|
37
|
+
export type TaskScheduleEndOneOf1UioTypeEnum = typeof TaskScheduleEndOneOf1UioTypeEnum[keyof typeof TaskScheduleEndOneOf1UioTypeEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the TaskScheduleEndOneOf1Uio interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfTaskScheduleEndOneOf1Uio(value: object): value is TaskScheduleEndOneOf1Uio;
|
|
42
|
+
export declare function TaskScheduleEndOneOf1UioFromJSON(json: any): TaskScheduleEndOneOf1Uio;
|
|
43
|
+
export declare function TaskScheduleEndOneOf1UioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskScheduleEndOneOf1Uio;
|
|
44
|
+
export declare function TaskScheduleEndOneOf1UioToJSON(json: any): TaskScheduleEndOneOf1Uio;
|
|
45
|
+
export declare function TaskScheduleEndOneOf1UioToJSONTyped(value?: TaskScheduleEndOneOf1Uio | 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.TaskScheduleEndOneOf1UioTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfTaskScheduleEndOneOf1Uio = instanceOfTaskScheduleEndOneOf1Uio;
|
|
18
|
+
exports.TaskScheduleEndOneOf1UioFromJSON = TaskScheduleEndOneOf1UioFromJSON;
|
|
19
|
+
exports.TaskScheduleEndOneOf1UioFromJSONTyped = TaskScheduleEndOneOf1UioFromJSONTyped;
|
|
20
|
+
exports.TaskScheduleEndOneOf1UioToJSON = TaskScheduleEndOneOf1UioToJSON;
|
|
21
|
+
exports.TaskScheduleEndOneOf1UioToJSONTyped = TaskScheduleEndOneOf1UioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.TaskScheduleEndOneOf1UioTypeEnum = {
|
|
26
|
+
Count: 'count'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the TaskScheduleEndOneOf1Uio interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfTaskScheduleEndOneOf1Uio(value) {
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function TaskScheduleEndOneOf1UioFromJSON(json) {
|
|
39
|
+
return TaskScheduleEndOneOf1UioFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function TaskScheduleEndOneOf1UioFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'type': json['type'],
|
|
47
|
+
'count': json['count'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function TaskScheduleEndOneOf1UioToJSON(json) {
|
|
51
|
+
return TaskScheduleEndOneOf1UioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function TaskScheduleEndOneOf1UioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'type': value['type'],
|
|
59
|
+
'count': value['count'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 TaskScheduleEndOneOf2Uio
|
|
16
|
+
*/
|
|
17
|
+
export interface TaskScheduleEndOneOf2Uio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TaskScheduleEndOneOf2Uio
|
|
22
|
+
*/
|
|
23
|
+
type: TaskScheduleEndOneOf2UioTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TaskScheduleEndOneOf2Uio
|
|
28
|
+
*/
|
|
29
|
+
date: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const TaskScheduleEndOneOf2UioTypeEnum: {
|
|
35
|
+
readonly Date: "date";
|
|
36
|
+
};
|
|
37
|
+
export type TaskScheduleEndOneOf2UioTypeEnum = typeof TaskScheduleEndOneOf2UioTypeEnum[keyof typeof TaskScheduleEndOneOf2UioTypeEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the TaskScheduleEndOneOf2Uio interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfTaskScheduleEndOneOf2Uio(value: object): value is TaskScheduleEndOneOf2Uio;
|
|
42
|
+
export declare function TaskScheduleEndOneOf2UioFromJSON(json: any): TaskScheduleEndOneOf2Uio;
|
|
43
|
+
export declare function TaskScheduleEndOneOf2UioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskScheduleEndOneOf2Uio;
|
|
44
|
+
export declare function TaskScheduleEndOneOf2UioToJSON(json: any): TaskScheduleEndOneOf2Uio;
|
|
45
|
+
export declare function TaskScheduleEndOneOf2UioToJSONTyped(value?: TaskScheduleEndOneOf2Uio | 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.TaskScheduleEndOneOf2UioTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfTaskScheduleEndOneOf2Uio = instanceOfTaskScheduleEndOneOf2Uio;
|
|
18
|
+
exports.TaskScheduleEndOneOf2UioFromJSON = TaskScheduleEndOneOf2UioFromJSON;
|
|
19
|
+
exports.TaskScheduleEndOneOf2UioFromJSONTyped = TaskScheduleEndOneOf2UioFromJSONTyped;
|
|
20
|
+
exports.TaskScheduleEndOneOf2UioToJSON = TaskScheduleEndOneOf2UioToJSON;
|
|
21
|
+
exports.TaskScheduleEndOneOf2UioToJSONTyped = TaskScheduleEndOneOf2UioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.TaskScheduleEndOneOf2UioTypeEnum = {
|
|
26
|
+
Date: 'date'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the TaskScheduleEndOneOf2Uio interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfTaskScheduleEndOneOf2Uio(value) {
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('date' in value) || value['date'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function TaskScheduleEndOneOf2UioFromJSON(json) {
|
|
39
|
+
return TaskScheduleEndOneOf2UioFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function TaskScheduleEndOneOf2UioFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'type': json['type'],
|
|
47
|
+
'date': json['date'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function TaskScheduleEndOneOf2UioToJSON(json) {
|
|
51
|
+
return TaskScheduleEndOneOf2UioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function TaskScheduleEndOneOf2UioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'type': value['type'],
|
|
59
|
+
'date': value['date'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 TaskScheduleEndOneOfUio
|
|
16
|
+
*/
|
|
17
|
+
export interface TaskScheduleEndOneOfUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TaskScheduleEndOneOfUio
|
|
22
|
+
*/
|
|
23
|
+
type: TaskScheduleEndOneOfUioTypeEnum;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export declare const TaskScheduleEndOneOfUioTypeEnum: {
|
|
29
|
+
readonly Never: "never";
|
|
30
|
+
};
|
|
31
|
+
export type TaskScheduleEndOneOfUioTypeEnum = typeof TaskScheduleEndOneOfUioTypeEnum[keyof typeof TaskScheduleEndOneOfUioTypeEnum];
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the TaskScheduleEndOneOfUio interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfTaskScheduleEndOneOfUio(value: object): value is TaskScheduleEndOneOfUio;
|
|
36
|
+
export declare function TaskScheduleEndOneOfUioFromJSON(json: any): TaskScheduleEndOneOfUio;
|
|
37
|
+
export declare function TaskScheduleEndOneOfUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskScheduleEndOneOfUio;
|
|
38
|
+
export declare function TaskScheduleEndOneOfUioToJSON(json: any): TaskScheduleEndOneOfUio;
|
|
39
|
+
export declare function TaskScheduleEndOneOfUioToJSONTyped(value?: TaskScheduleEndOneOfUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.TaskScheduleEndOneOfUioTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfTaskScheduleEndOneOfUio = instanceOfTaskScheduleEndOneOfUio;
|
|
18
|
+
exports.TaskScheduleEndOneOfUioFromJSON = TaskScheduleEndOneOfUioFromJSON;
|
|
19
|
+
exports.TaskScheduleEndOneOfUioFromJSONTyped = TaskScheduleEndOneOfUioFromJSONTyped;
|
|
20
|
+
exports.TaskScheduleEndOneOfUioToJSON = TaskScheduleEndOneOfUioToJSON;
|
|
21
|
+
exports.TaskScheduleEndOneOfUioToJSONTyped = TaskScheduleEndOneOfUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.TaskScheduleEndOneOfUioTypeEnum = {
|
|
26
|
+
Never: 'never'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the TaskScheduleEndOneOfUio interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfTaskScheduleEndOneOfUio(value) {
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function TaskScheduleEndOneOfUioFromJSON(json) {
|
|
37
|
+
return TaskScheduleEndOneOfUioFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function TaskScheduleEndOneOfUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'type': json['type'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function TaskScheduleEndOneOfUioToJSON(json) {
|
|
48
|
+
return TaskScheduleEndOneOfUioToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function TaskScheduleEndOneOfUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'type': value['type'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { TaskScheduleEndOneOf1Uio } from './TaskScheduleEndOneOf1Uio';
|
|
13
|
+
import type { TaskScheduleEndOneOf2Uio } from './TaskScheduleEndOneOf2Uio';
|
|
14
|
+
import type { TaskScheduleEndOneOfUio } from './TaskScheduleEndOneOfUio';
|
|
15
|
+
/**
|
|
16
|
+
* @type TaskScheduleEndUio
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type TaskScheduleEndUio = TaskScheduleEndOneOf1Uio | TaskScheduleEndOneOf2Uio | TaskScheduleEndOneOfUio;
|
|
21
|
+
export declare function TaskScheduleEndUioFromJSON(json: any): TaskScheduleEndUio;
|
|
22
|
+
export declare function TaskScheduleEndUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskScheduleEndUio;
|
|
23
|
+
export declare function TaskScheduleEndUioToJSON(json: any): any;
|
|
24
|
+
export declare function TaskScheduleEndUioToJSONTyped(value?: TaskScheduleEndUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.TaskScheduleEndUioFromJSON = TaskScheduleEndUioFromJSON;
|
|
17
|
+
exports.TaskScheduleEndUioFromJSONTyped = TaskScheduleEndUioFromJSONTyped;
|
|
18
|
+
exports.TaskScheduleEndUioToJSON = TaskScheduleEndUioToJSON;
|
|
19
|
+
exports.TaskScheduleEndUioToJSONTyped = TaskScheduleEndUioToJSONTyped;
|
|
20
|
+
const TaskScheduleEndOneOf1Uio_1 = require("./TaskScheduleEndOneOf1Uio");
|
|
21
|
+
const TaskScheduleEndOneOf2Uio_1 = require("./TaskScheduleEndOneOf2Uio");
|
|
22
|
+
const TaskScheduleEndOneOfUio_1 = require("./TaskScheduleEndOneOfUio");
|
|
23
|
+
function TaskScheduleEndUioFromJSON(json) {
|
|
24
|
+
return TaskScheduleEndUioFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
function TaskScheduleEndUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
if (typeof json !== 'object') {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
if ((0, TaskScheduleEndOneOf1Uio_1.instanceOfTaskScheduleEndOneOf1Uio)(json)) {
|
|
34
|
+
return (0, TaskScheduleEndOneOf1Uio_1.TaskScheduleEndOneOf1UioFromJSONTyped)(json, true);
|
|
35
|
+
}
|
|
36
|
+
if ((0, TaskScheduleEndOneOf2Uio_1.instanceOfTaskScheduleEndOneOf2Uio)(json)) {
|
|
37
|
+
return (0, TaskScheduleEndOneOf2Uio_1.TaskScheduleEndOneOf2UioFromJSONTyped)(json, true);
|
|
38
|
+
}
|
|
39
|
+
if ((0, TaskScheduleEndOneOfUio_1.instanceOfTaskScheduleEndOneOfUio)(json)) {
|
|
40
|
+
return (0, TaskScheduleEndOneOfUio_1.TaskScheduleEndOneOfUioFromJSONTyped)(json, true);
|
|
41
|
+
}
|
|
42
|
+
return {};
|
|
43
|
+
}
|
|
44
|
+
function TaskScheduleEndUioToJSON(json) {
|
|
45
|
+
return TaskScheduleEndUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function TaskScheduleEndUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
if (typeof value !== 'object') {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
if ((0, TaskScheduleEndOneOf1Uio_1.instanceOfTaskScheduleEndOneOf1Uio)(value)) {
|
|
55
|
+
return (0, TaskScheduleEndOneOf1Uio_1.TaskScheduleEndOneOf1UioToJSON)(value);
|
|
56
|
+
}
|
|
57
|
+
if ((0, TaskScheduleEndOneOf2Uio_1.instanceOfTaskScheduleEndOneOf2Uio)(value)) {
|
|
58
|
+
return (0, TaskScheduleEndOneOf2Uio_1.TaskScheduleEndOneOf2UioToJSON)(value);
|
|
59
|
+
}
|
|
60
|
+
if ((0, TaskScheduleEndOneOfUio_1.instanceOfTaskScheduleEndOneOfUio)(value)) {
|
|
61
|
+
return (0, TaskScheduleEndOneOfUio_1.TaskScheduleEndOneOfUioToJSON)(value);
|
|
62
|
+
}
|
|
63
|
+
return {};
|
|
64
|
+
}
|