@breign/client 1.0.102 → 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/OrganizationsApi.d.ts +175 -1
- package/dist/apis/OrganizationsApi.js +433 -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/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/ProviderValiationRequestUio.d.ts +6 -0
- package/dist/models/ProviderValiationRequestUio.js +4 -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 +16 -1
- package/dist/models/index.js +16 -1
- package/dist/openapi.json +824 -11
- package/package.json +1 -1
- package/dist/models/UserUserUio.d.ts +0 -32
- package/dist/models/UserUserUio.js +0 -50
|
@@ -0,0 +1,75 @@
|
|
|
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 AccessRoleUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AccessRoleUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AccessRoleUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AccessRoleUio
|
|
29
|
+
*/
|
|
30
|
+
organizationId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AccessRoleUio
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AccessRoleUio
|
|
41
|
+
*/
|
|
42
|
+
description: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AccessRoleUio
|
|
47
|
+
*/
|
|
48
|
+
slug?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof AccessRoleUio
|
|
53
|
+
*/
|
|
54
|
+
isSystem?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof AccessRoleUio
|
|
59
|
+
*/
|
|
60
|
+
createdAt: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Array<PermissionEntryUio>}
|
|
64
|
+
* @memberof AccessRoleUio
|
|
65
|
+
*/
|
|
66
|
+
permissions: Array<PermissionEntryUio>;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the AccessRoleUio interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfAccessRoleUio(value: object): value is AccessRoleUio;
|
|
72
|
+
export declare function AccessRoleUioFromJSON(json: any): AccessRoleUio;
|
|
73
|
+
export declare function AccessRoleUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessRoleUio;
|
|
74
|
+
export declare function AccessRoleUioToJSON(json: any): AccessRoleUio;
|
|
75
|
+
export declare function AccessRoleUioToJSONTyped(value?: AccessRoleUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
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.instanceOfAccessRoleUio = instanceOfAccessRoleUio;
|
|
17
|
+
exports.AccessRoleUioFromJSON = AccessRoleUioFromJSON;
|
|
18
|
+
exports.AccessRoleUioFromJSONTyped = AccessRoleUioFromJSONTyped;
|
|
19
|
+
exports.AccessRoleUioToJSON = AccessRoleUioToJSON;
|
|
20
|
+
exports.AccessRoleUioToJSONTyped = AccessRoleUioToJSONTyped;
|
|
21
|
+
const PermissionEntryUio_1 = require("./PermissionEntryUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AccessRoleUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAccessRoleUio(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function AccessRoleUioFromJSON(json) {
|
|
41
|
+
return AccessRoleUioFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AccessRoleUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': json['id'],
|
|
49
|
+
'organizationId': json['organizationId'],
|
|
50
|
+
'name': json['name'],
|
|
51
|
+
'description': json['description'],
|
|
52
|
+
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
53
|
+
'isSystem': json['isSystem'] == null ? undefined : json['isSystem'],
|
|
54
|
+
'createdAt': json['createdAt'],
|
|
55
|
+
'permissions': (json['permissions'].map(PermissionEntryUio_1.PermissionEntryUioFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function AccessRoleUioToJSON(json) {
|
|
59
|
+
return AccessRoleUioToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function AccessRoleUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': value['id'],
|
|
67
|
+
'organizationId': value['organizationId'],
|
|
68
|
+
'name': value['name'],
|
|
69
|
+
'description': value['description'],
|
|
70
|
+
'slug': value['slug'],
|
|
71
|
+
'isSystem': value['isSystem'],
|
|
72
|
+
'createdAt': value['createdAt'],
|
|
73
|
+
'permissions': (value['permissions'].map(PermissionEntryUio_1.PermissionEntryUioToJSON)),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -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 AccessRoleUpdateRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AccessRoleUpdateRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AccessRoleUpdateRequestUio
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AccessRoleUpdateRequestUio
|
|
28
|
+
*/
|
|
29
|
+
description?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AccessRoleUpdateRequestUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAccessRoleUpdateRequestUio(value: object): value is AccessRoleUpdateRequestUio;
|
|
35
|
+
export declare function AccessRoleUpdateRequestUioFromJSON(json: any): AccessRoleUpdateRequestUio;
|
|
36
|
+
export declare function AccessRoleUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessRoleUpdateRequestUio;
|
|
37
|
+
export declare function AccessRoleUpdateRequestUioToJSON(json: any): AccessRoleUpdateRequestUio;
|
|
38
|
+
export declare function AccessRoleUpdateRequestUioToJSONTyped(value?: AccessRoleUpdateRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfAccessRoleUpdateRequestUio = instanceOfAccessRoleUpdateRequestUio;
|
|
17
|
+
exports.AccessRoleUpdateRequestUioFromJSON = AccessRoleUpdateRequestUioFromJSON;
|
|
18
|
+
exports.AccessRoleUpdateRequestUioFromJSONTyped = AccessRoleUpdateRequestUioFromJSONTyped;
|
|
19
|
+
exports.AccessRoleUpdateRequestUioToJSON = AccessRoleUpdateRequestUioToJSON;
|
|
20
|
+
exports.AccessRoleUpdateRequestUioToJSONTyped = AccessRoleUpdateRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AccessRoleUpdateRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAccessRoleUpdateRequestUio(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AccessRoleUpdateRequestUioFromJSON(json) {
|
|
30
|
+
return AccessRoleUpdateRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AccessRoleUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AccessRoleUpdateRequestUioToJSON(json) {
|
|
42
|
+
return AccessRoleUpdateRequestUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AccessRoleUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'name': value['name'],
|
|
50
|
+
'description': value['description'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { OrganizationMemberUserUio } from './OrganizationMemberUserUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationMemberUio
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationMemberUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OrganizationMemberUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof OrganizationMemberUio
|
|
29
|
+
*/
|
|
30
|
+
role: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof OrganizationMemberUio
|
|
35
|
+
*/
|
|
36
|
+
createdAt: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {OrganizationMemberUserUio}
|
|
40
|
+
* @memberof OrganizationMemberUio
|
|
41
|
+
*/
|
|
42
|
+
user: OrganizationMemberUserUio;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the OrganizationMemberUio interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfOrganizationMemberUio(value: object): value is OrganizationMemberUio;
|
|
48
|
+
export declare function OrganizationMemberUioFromJSON(json: any): OrganizationMemberUio;
|
|
49
|
+
export declare function OrganizationMemberUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationMemberUio;
|
|
50
|
+
export declare function OrganizationMemberUioToJSON(json: any): OrganizationMemberUio;
|
|
51
|
+
export declare function OrganizationMemberUioToJSONTyped(value?: OrganizationMemberUio | 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.instanceOfOrganizationMemberUio = instanceOfOrganizationMemberUio;
|
|
17
|
+
exports.OrganizationMemberUioFromJSON = OrganizationMemberUioFromJSON;
|
|
18
|
+
exports.OrganizationMemberUioFromJSONTyped = OrganizationMemberUioFromJSONTyped;
|
|
19
|
+
exports.OrganizationMemberUioToJSON = OrganizationMemberUioToJSON;
|
|
20
|
+
exports.OrganizationMemberUioToJSONTyped = OrganizationMemberUioToJSONTyped;
|
|
21
|
+
const OrganizationMemberUserUio_1 = require("./OrganizationMemberUserUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the OrganizationMemberUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfOrganizationMemberUio(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('role' in value) || value['role'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function OrganizationMemberUioFromJSON(json) {
|
|
37
|
+
return OrganizationMemberUioFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function OrganizationMemberUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'role': json['role'],
|
|
46
|
+
'createdAt': json['createdAt'],
|
|
47
|
+
'user': (0, OrganizationMemberUserUio_1.OrganizationMemberUserUioFromJSON)(json['user']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function OrganizationMemberUioToJSON(json) {
|
|
51
|
+
return OrganizationMemberUioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function OrganizationMemberUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'role': value['role'],
|
|
60
|
+
'createdAt': value['createdAt'],
|
|
61
|
+
'user': (0, OrganizationMemberUserUio_1.OrganizationMemberUserUioToJSON)(value['user']),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -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 OrganizationMemberUserUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationMemberUserUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationMemberUserUio
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the OrganizationMemberUserUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfOrganizationMemberUserUio(value: object): value is OrganizationMemberUserUio;
|
|
29
|
+
export declare function OrganizationMemberUserUioFromJSON(json: any): OrganizationMemberUserUio;
|
|
30
|
+
export declare function OrganizationMemberUserUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationMemberUserUio;
|
|
31
|
+
export declare function OrganizationMemberUserUioToJSON(json: any): OrganizationMemberUserUio;
|
|
32
|
+
export declare function OrganizationMemberUserUioToJSONTyped(value?: OrganizationMemberUserUio | 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.instanceOfOrganizationMemberUserUio = instanceOfOrganizationMemberUserUio;
|
|
17
|
+
exports.OrganizationMemberUserUioFromJSON = OrganizationMemberUserUioFromJSON;
|
|
18
|
+
exports.OrganizationMemberUserUioFromJSONTyped = OrganizationMemberUserUioFromJSONTyped;
|
|
19
|
+
exports.OrganizationMemberUserUioToJSON = OrganizationMemberUserUioToJSON;
|
|
20
|
+
exports.OrganizationMemberUserUioToJSONTyped = OrganizationMemberUserUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrganizationMemberUserUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrganizationMemberUserUio(value) {
|
|
25
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function OrganizationMemberUserUioFromJSON(json) {
|
|
30
|
+
return OrganizationMemberUserUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function OrganizationMemberUserUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'email': json['email'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function OrganizationMemberUserUioToJSON(json) {
|
|
41
|
+
return OrganizationMemberUserUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function OrganizationMemberUserUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'email': value['email'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const OrganizationPermissionKeyUio: {
|
|
17
|
+
readonly OrgRead: "org.read";
|
|
18
|
+
readonly AgentRead: "agent.read";
|
|
19
|
+
readonly AgentUpdate: "agent.update";
|
|
20
|
+
readonly AgentDelete: "agent.delete";
|
|
21
|
+
readonly AgentChat: "agent.chat";
|
|
22
|
+
readonly AppRead: "app.read";
|
|
23
|
+
readonly KnowledgeRead: "knowledge.read";
|
|
24
|
+
readonly KnowledgeCreate: "knowledge.create";
|
|
25
|
+
readonly KnowledgeUpdate: "knowledge.update";
|
|
26
|
+
readonly KnowledgeDelete: "knowledge.delete";
|
|
27
|
+
readonly KnowledgeFileAdd: "knowledge.file.add";
|
|
28
|
+
readonly KnowledgeFileDelete: "knowledge.file.delete";
|
|
29
|
+
readonly KnowledgeFileDownload: "knowledge.file.download";
|
|
30
|
+
readonly SkillRead: "skill.read";
|
|
31
|
+
readonly SkillCreate: "skill.create";
|
|
32
|
+
readonly SkillUpdate: "skill.update";
|
|
33
|
+
readonly SkillDelete: "skill.delete";
|
|
34
|
+
readonly SkillFileAdd: "skill.file.add";
|
|
35
|
+
readonly SkillFileDelete: "skill.file.delete";
|
|
36
|
+
readonly ModerationRead: "moderation.read";
|
|
37
|
+
readonly ModerationCreate: "moderation.create";
|
|
38
|
+
readonly ModerationUpdate: "moderation.update";
|
|
39
|
+
readonly ModerationDelete: "moderation.delete";
|
|
40
|
+
readonly UserRead: "user.read";
|
|
41
|
+
readonly UserCreate: "user.create";
|
|
42
|
+
readonly UserUpdate: "user.update";
|
|
43
|
+
readonly UserDelete: "user.delete";
|
|
44
|
+
readonly EngineRead: "engine.read";
|
|
45
|
+
readonly EngineCreate: "engine.create";
|
|
46
|
+
readonly EngineUpdate: "engine.update";
|
|
47
|
+
readonly EngineDelete: "engine.delete";
|
|
48
|
+
readonly ToolRead: "tool.read";
|
|
49
|
+
readonly ToolCreate: "tool.create";
|
|
50
|
+
readonly ToolUpdate: "tool.update";
|
|
51
|
+
readonly ToolDelete: "tool.delete";
|
|
52
|
+
readonly FlowRead: "flow.read";
|
|
53
|
+
};
|
|
54
|
+
export type OrganizationPermissionKeyUio = typeof OrganizationPermissionKeyUio[keyof typeof OrganizationPermissionKeyUio];
|
|
55
|
+
export declare function instanceOfOrganizationPermissionKeyUio(value: any): boolean;
|
|
56
|
+
export declare function OrganizationPermissionKeyUioFromJSON(json: any): OrganizationPermissionKeyUio;
|
|
57
|
+
export declare function OrganizationPermissionKeyUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationPermissionKeyUio;
|
|
58
|
+
export declare function OrganizationPermissionKeyUioToJSON(value?: OrganizationPermissionKeyUio | null): any;
|
|
59
|
+
export declare function OrganizationPermissionKeyUioToJSONTyped(value: any, ignoreDiscriminator: boolean): OrganizationPermissionKeyUio;
|
|
@@ -0,0 +1,85 @@
|
|
|
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.OrganizationPermissionKeyUio = void 0;
|
|
17
|
+
exports.instanceOfOrganizationPermissionKeyUio = instanceOfOrganizationPermissionKeyUio;
|
|
18
|
+
exports.OrganizationPermissionKeyUioFromJSON = OrganizationPermissionKeyUioFromJSON;
|
|
19
|
+
exports.OrganizationPermissionKeyUioFromJSONTyped = OrganizationPermissionKeyUioFromJSONTyped;
|
|
20
|
+
exports.OrganizationPermissionKeyUioToJSON = OrganizationPermissionKeyUioToJSON;
|
|
21
|
+
exports.OrganizationPermissionKeyUioToJSONTyped = OrganizationPermissionKeyUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.OrganizationPermissionKeyUio = {
|
|
27
|
+
OrgRead: 'org.read',
|
|
28
|
+
AgentRead: 'agent.read',
|
|
29
|
+
AgentUpdate: 'agent.update',
|
|
30
|
+
AgentDelete: 'agent.delete',
|
|
31
|
+
AgentChat: 'agent.chat',
|
|
32
|
+
AppRead: 'app.read',
|
|
33
|
+
KnowledgeRead: 'knowledge.read',
|
|
34
|
+
KnowledgeCreate: 'knowledge.create',
|
|
35
|
+
KnowledgeUpdate: 'knowledge.update',
|
|
36
|
+
KnowledgeDelete: 'knowledge.delete',
|
|
37
|
+
KnowledgeFileAdd: 'knowledge.file.add',
|
|
38
|
+
KnowledgeFileDelete: 'knowledge.file.delete',
|
|
39
|
+
KnowledgeFileDownload: 'knowledge.file.download',
|
|
40
|
+
SkillRead: 'skill.read',
|
|
41
|
+
SkillCreate: 'skill.create',
|
|
42
|
+
SkillUpdate: 'skill.update',
|
|
43
|
+
SkillDelete: 'skill.delete',
|
|
44
|
+
SkillFileAdd: 'skill.file.add',
|
|
45
|
+
SkillFileDelete: 'skill.file.delete',
|
|
46
|
+
ModerationRead: 'moderation.read',
|
|
47
|
+
ModerationCreate: 'moderation.create',
|
|
48
|
+
ModerationUpdate: 'moderation.update',
|
|
49
|
+
ModerationDelete: 'moderation.delete',
|
|
50
|
+
UserRead: 'user.read',
|
|
51
|
+
UserCreate: 'user.create',
|
|
52
|
+
UserUpdate: 'user.update',
|
|
53
|
+
UserDelete: 'user.delete',
|
|
54
|
+
EngineRead: 'engine.read',
|
|
55
|
+
EngineCreate: 'engine.create',
|
|
56
|
+
EngineUpdate: 'engine.update',
|
|
57
|
+
EngineDelete: 'engine.delete',
|
|
58
|
+
ToolRead: 'tool.read',
|
|
59
|
+
ToolCreate: 'tool.create',
|
|
60
|
+
ToolUpdate: 'tool.update',
|
|
61
|
+
ToolDelete: 'tool.delete',
|
|
62
|
+
FlowRead: 'flow.read'
|
|
63
|
+
};
|
|
64
|
+
function instanceOfOrganizationPermissionKeyUio(value) {
|
|
65
|
+
for (const key in exports.OrganizationPermissionKeyUio) {
|
|
66
|
+
if (Object.prototype.hasOwnProperty.call(exports.OrganizationPermissionKeyUio, key)) {
|
|
67
|
+
if (exports.OrganizationPermissionKeyUio[key] === value) {
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
function OrganizationPermissionKeyUioFromJSON(json) {
|
|
75
|
+
return OrganizationPermissionKeyUioFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
function OrganizationPermissionKeyUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
78
|
+
return json;
|
|
79
|
+
}
|
|
80
|
+
function OrganizationPermissionKeyUioToJSON(value) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
function OrganizationPermissionKeyUioToJSONTyped(value, ignoreDiscriminator) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
@@ -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 OrganizationUserInviteRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationUserInviteRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationUserInviteRequestUio
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationUserInviteRequestUio
|
|
28
|
+
*/
|
|
29
|
+
role?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the OrganizationUserInviteRequestUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfOrganizationUserInviteRequestUio(value: object): value is OrganizationUserInviteRequestUio;
|
|
35
|
+
export declare function OrganizationUserInviteRequestUioFromJSON(json: any): OrganizationUserInviteRequestUio;
|
|
36
|
+
export declare function OrganizationUserInviteRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationUserInviteRequestUio;
|
|
37
|
+
export declare function OrganizationUserInviteRequestUioToJSON(json: any): OrganizationUserInviteRequestUio;
|
|
38
|
+
export declare function OrganizationUserInviteRequestUioToJSONTyped(value?: OrganizationUserInviteRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfOrganizationUserInviteRequestUio = instanceOfOrganizationUserInviteRequestUio;
|
|
17
|
+
exports.OrganizationUserInviteRequestUioFromJSON = OrganizationUserInviteRequestUioFromJSON;
|
|
18
|
+
exports.OrganizationUserInviteRequestUioFromJSONTyped = OrganizationUserInviteRequestUioFromJSONTyped;
|
|
19
|
+
exports.OrganizationUserInviteRequestUioToJSON = OrganizationUserInviteRequestUioToJSON;
|
|
20
|
+
exports.OrganizationUserInviteRequestUioToJSONTyped = OrganizationUserInviteRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrganizationUserInviteRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrganizationUserInviteRequestUio(value) {
|
|
25
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function OrganizationUserInviteRequestUioFromJSON(json) {
|
|
30
|
+
return OrganizationUserInviteRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function OrganizationUserInviteRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'email': json['email'],
|
|
38
|
+
'role': json['role'] == null ? undefined : json['role'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function OrganizationUserInviteRequestUioToJSON(json) {
|
|
42
|
+
return OrganizationUserInviteRequestUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function OrganizationUserInviteRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'email': value['email'],
|
|
50
|
+
'role': value['role'],
|
|
51
|
+
};
|
|
52
|
+
}
|