@breign/client 1.0.101 → 1.0.103
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 +7 -7
- package/dist/apis/ConfigurationApi.js +5 -5
- package/dist/apis/OrganizationsApi.d.ts +175 -1
- package/dist/apis/OrganizationsApi.js +433 -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/AccessRoleCreateRequestUio.d.ts +45 -0
- package/dist/models/AccessRoleCreateRequestUio.js +55 -0
- package/dist/models/AccessRolePermissionsRequestUio.d.ts +33 -0
- package/dist/models/AccessRolePermissionsRequestUio.js +51 -0
- package/dist/models/AccessRoleUio.d.ts +75 -0
- package/dist/models/AccessRoleUio.js +75 -0
- package/dist/models/AccessRoleUpdateRequestUio.d.ts +38 -0
- package/dist/models/AccessRoleUpdateRequestUio.js +52 -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/OrganizationMemberUio.d.ts +51 -0
- package/dist/models/OrganizationMemberUio.js +63 -0
- package/dist/models/OrganizationMemberUserUio.d.ts +32 -0
- package/dist/models/OrganizationMemberUserUio.js +50 -0
- package/dist/models/OrganizationPermissionKeyUio.d.ts +59 -0
- package/dist/models/OrganizationPermissionKeyUio.js +85 -0
- package/dist/models/OrganizationUserInviteRequestUio.d.ts +38 -0
- package/dist/models/OrganizationUserInviteRequestUio.js +52 -0
- package/dist/models/OrganizationUserInviteResponseUio.d.ts +32 -0
- package/dist/models/OrganizationUserInviteResponseUio.js +50 -0
- package/dist/models/PermissionEntryUio.d.ts +39 -0
- package/dist/models/PermissionEntryUio.js +55 -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/ProviderValiationRequestUio.d.ts +6 -0
- package/dist/models/ProviderValiationRequestUio.js +4 -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/UserAccessRolesRequestUio.d.ts +32 -0
- package/dist/models/UserAccessRolesRequestUio.js +50 -0
- package/dist/models/UserAccessUio.d.ts +39 -0
- package/dist/models/UserAccessUio.js +55 -0
- package/dist/models/UserAgentAccessAgentUio.d.ts +38 -0
- package/dist/models/UserAgentAccessAgentUio.js +54 -0
- package/dist/models/UserAgentAccessRequestUio.d.ts +38 -0
- package/dist/models/UserAgentAccessRequestUio.js +54 -0
- package/dist/models/UserAgentAccessUio.d.ts +45 -0
- package/dist/models/UserAgentAccessUio.js +59 -0
- package/dist/models/UserDirectPermissionsRequestUio.d.ts +33 -0
- package/dist/models/UserDirectPermissionsRequestUio.js +51 -0
- package/dist/models/UserUio.d.ts +3 -3
- package/dist/models/UserUio.js +3 -3
- package/dist/models/index.d.ts +32 -2
- package/dist/models/index.js +32 -2
- package/dist/openapi.json +2329 -617
- package/package.json +1 -1
- package/dist/models/UploadLimitsResponseUio.d.ts +0 -32
- package/dist/models/UploadLimitsResponseUio.js +0 -50
- package/dist/models/UserUserUio.d.ts +0 -32
- package/dist/models/UserUserUio.js +0 -50
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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 UserAccessRolesRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface UserAccessRolesRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof UserAccessRolesRequestUio
|
|
22
|
+
*/
|
|
23
|
+
roleIds: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UserAccessRolesRequestUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUserAccessRolesRequestUio(value: object): value is UserAccessRolesRequestUio;
|
|
29
|
+
export declare function UserAccessRolesRequestUioFromJSON(json: any): UserAccessRolesRequestUio;
|
|
30
|
+
export declare function UserAccessRolesRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAccessRolesRequestUio;
|
|
31
|
+
export declare function UserAccessRolesRequestUioToJSON(json: any): UserAccessRolesRequestUio;
|
|
32
|
+
export declare function UserAccessRolesRequestUioToJSONTyped(value?: UserAccessRolesRequestUio | 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.instanceOfUserAccessRolesRequestUio = instanceOfUserAccessRolesRequestUio;
|
|
17
|
+
exports.UserAccessRolesRequestUioFromJSON = UserAccessRolesRequestUioFromJSON;
|
|
18
|
+
exports.UserAccessRolesRequestUioFromJSONTyped = UserAccessRolesRequestUioFromJSONTyped;
|
|
19
|
+
exports.UserAccessRolesRequestUioToJSON = UserAccessRolesRequestUioToJSON;
|
|
20
|
+
exports.UserAccessRolesRequestUioToJSONTyped = UserAccessRolesRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UserAccessRolesRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUserAccessRolesRequestUio(value) {
|
|
25
|
+
if (!('roleIds' in value) || value['roleIds'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function UserAccessRolesRequestUioFromJSON(json) {
|
|
30
|
+
return UserAccessRolesRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function UserAccessRolesRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'roleIds': json['roleIds'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function UserAccessRolesRequestUioToJSON(json) {
|
|
41
|
+
return UserAccessRolesRequestUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function UserAccessRolesRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'roleIds': value['roleIds'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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
|
+
import type { PermissionEntryUio } from './PermissionEntryUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserAccessUio
|
|
17
|
+
*/
|
|
18
|
+
export interface UserAccessUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<string>}
|
|
22
|
+
* @memberof UserAccessUio
|
|
23
|
+
*/
|
|
24
|
+
roleIds: Array<string>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<PermissionEntryUio>}
|
|
28
|
+
* @memberof UserAccessUio
|
|
29
|
+
*/
|
|
30
|
+
directPermissions: Array<PermissionEntryUio>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the UserAccessUio interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfUserAccessUio(value: object): value is UserAccessUio;
|
|
36
|
+
export declare function UserAccessUioFromJSON(json: any): UserAccessUio;
|
|
37
|
+
export declare function UserAccessUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAccessUio;
|
|
38
|
+
export declare function UserAccessUioToJSON(json: any): UserAccessUio;
|
|
39
|
+
export declare function UserAccessUioToJSONTyped(value?: UserAccessUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfUserAccessUio = instanceOfUserAccessUio;
|
|
17
|
+
exports.UserAccessUioFromJSON = UserAccessUioFromJSON;
|
|
18
|
+
exports.UserAccessUioFromJSONTyped = UserAccessUioFromJSONTyped;
|
|
19
|
+
exports.UserAccessUioToJSON = UserAccessUioToJSON;
|
|
20
|
+
exports.UserAccessUioToJSONTyped = UserAccessUioToJSONTyped;
|
|
21
|
+
const PermissionEntryUio_1 = require("./PermissionEntryUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UserAccessUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUserAccessUio(value) {
|
|
26
|
+
if (!('roleIds' in value) || value['roleIds'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('directPermissions' in value) || value['directPermissions'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function UserAccessUioFromJSON(json) {
|
|
33
|
+
return UserAccessUioFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function UserAccessUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'roleIds': json['roleIds'],
|
|
41
|
+
'directPermissions': (json['directPermissions'].map(PermissionEntryUio_1.PermissionEntryUioFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function UserAccessUioToJSON(json) {
|
|
45
|
+
return UserAccessUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function UserAccessUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'roleIds': value['roleIds'],
|
|
53
|
+
'directPermissions': (value['directPermissions'].map(PermissionEntryUio_1.PermissionEntryUioToJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 UserAgentAccessAgentUio
|
|
16
|
+
*/
|
|
17
|
+
export interface UserAgentAccessAgentUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UserAgentAccessAgentUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserAgentAccessAgentUio
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UserAgentAccessAgentUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUserAgentAccessAgentUio(value: object): value is UserAgentAccessAgentUio;
|
|
35
|
+
export declare function UserAgentAccessAgentUioFromJSON(json: any): UserAgentAccessAgentUio;
|
|
36
|
+
export declare function UserAgentAccessAgentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAgentAccessAgentUio;
|
|
37
|
+
export declare function UserAgentAccessAgentUioToJSON(json: any): UserAgentAccessAgentUio;
|
|
38
|
+
export declare function UserAgentAccessAgentUioToJSONTyped(value?: UserAgentAccessAgentUio | 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.instanceOfUserAgentAccessAgentUio = instanceOfUserAgentAccessAgentUio;
|
|
17
|
+
exports.UserAgentAccessAgentUioFromJSON = UserAgentAccessAgentUioFromJSON;
|
|
18
|
+
exports.UserAgentAccessAgentUioFromJSONTyped = UserAgentAccessAgentUioFromJSONTyped;
|
|
19
|
+
exports.UserAgentAccessAgentUioToJSON = UserAgentAccessAgentUioToJSON;
|
|
20
|
+
exports.UserAgentAccessAgentUioToJSONTyped = UserAgentAccessAgentUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UserAgentAccessAgentUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUserAgentAccessAgentUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function UserAgentAccessAgentUioFromJSON(json) {
|
|
32
|
+
return UserAgentAccessAgentUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function UserAgentAccessAgentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function UserAgentAccessAgentUioToJSON(json) {
|
|
44
|
+
return UserAgentAccessAgentUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function UserAgentAccessAgentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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 UserAgentAccessRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface UserAgentAccessRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof UserAgentAccessRequestUio
|
|
22
|
+
*/
|
|
23
|
+
scoped: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof UserAgentAccessRequestUio
|
|
28
|
+
*/
|
|
29
|
+
agentIds: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UserAgentAccessRequestUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUserAgentAccessRequestUio(value: object): value is UserAgentAccessRequestUio;
|
|
35
|
+
export declare function UserAgentAccessRequestUioFromJSON(json: any): UserAgentAccessRequestUio;
|
|
36
|
+
export declare function UserAgentAccessRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAgentAccessRequestUio;
|
|
37
|
+
export declare function UserAgentAccessRequestUioToJSON(json: any): UserAgentAccessRequestUio;
|
|
38
|
+
export declare function UserAgentAccessRequestUioToJSONTyped(value?: UserAgentAccessRequestUio | null, ignoreDiscriminator?: boolean): any;
|