@cirrobio/api-client 0.12.13 → 0.12.15
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/README.md +1 -1
- package/dist/apis/AppRegistrationsApi.d.ts +108 -0
- package/dist/apis/AppRegistrationsApi.js +304 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AppRegistrationsApi.d.ts +108 -0
- package/dist/esm/apis/AppRegistrationsApi.js +300 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AppRegistration.d.ts +93 -0
- package/dist/esm/models/AppRegistration.js +75 -0
- package/dist/esm/models/AppRegistrationDetail.d.ts +125 -0
- package/dist/esm/models/AppRegistrationDetail.js +92 -0
- package/dist/esm/models/AppRegistrationInput.d.ts +77 -0
- package/dist/esm/models/AppRegistrationInput.js +68 -0
- package/dist/esm/models/AppRegistrationSecretResponse.d.ts +49 -0
- package/dist/esm/models/AppRegistrationSecretResponse.js +52 -0
- package/dist/esm/models/AppType.d.ts +22 -0
- package/dist/esm/models/AppType.js +31 -0
- package/dist/esm/models/FeatureFlags.d.ts +6 -0
- package/dist/esm/models/FeatureFlags.js +3 -0
- package/dist/esm/models/PaginatedResponseAppRegistrationDto.d.ts +38 -0
- package/dist/esm/models/PaginatedResponseAppRegistrationDto.js +47 -0
- package/dist/esm/models/Permission.d.ts +79 -0
- package/dist/esm/models/Permission.js +88 -0
- package/dist/esm/models/PrincipalType.d.ts +23 -0
- package/dist/esm/models/PrincipalType.js +32 -0
- package/dist/esm/models/ProjectPermissionSet.d.ts +37 -0
- package/dist/esm/models/ProjectPermissionSet.js +46 -0
- package/dist/esm/models/UpdateUserRequest.d.ts +9 -2
- package/dist/esm/models/UpdateUserRequest.js +2 -0
- package/dist/esm/models/User.d.ts +6 -0
- package/dist/esm/models/User.js +3 -0
- package/dist/esm/models/UserDetail.d.ts +8 -1
- package/dist/esm/models/UserDetail.js +4 -2
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AppRegistration.d.ts +93 -0
- package/dist/models/AppRegistration.js +82 -0
- package/dist/models/AppRegistrationDetail.d.ts +125 -0
- package/dist/models/AppRegistrationDetail.js +99 -0
- package/dist/models/AppRegistrationInput.d.ts +77 -0
- package/dist/models/AppRegistrationInput.js +75 -0
- package/dist/models/AppRegistrationSecretResponse.d.ts +49 -0
- package/dist/models/AppRegistrationSecretResponse.js +59 -0
- package/dist/models/AppType.d.ts +22 -0
- package/dist/models/AppType.js +37 -0
- package/dist/models/FeatureFlags.d.ts +6 -0
- package/dist/models/FeatureFlags.js +3 -0
- package/dist/models/PaginatedResponseAppRegistrationDto.d.ts +38 -0
- package/dist/models/PaginatedResponseAppRegistrationDto.js +54 -0
- package/dist/models/Permission.d.ts +79 -0
- package/dist/models/Permission.js +94 -0
- package/dist/models/PrincipalType.d.ts +23 -0
- package/dist/models/PrincipalType.js +38 -0
- package/dist/models/ProjectPermissionSet.d.ts +37 -0
- package/dist/models/ProjectPermissionSet.js +53 -0
- package/dist/models/UpdateUserRequest.d.ts +9 -2
- package/dist/models/UpdateUserRequest.js +2 -0
- package/dist/models/User.d.ts +6 -0
- package/dist/models/User.js +3 -0
- package/dist/models/UserDetail.d.ts +8 -1
- package/dist/models/UserDetail.js +4 -2
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cirro Data
|
|
5
|
+
* Cirro Data Platform service API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
* Contact: support@cirro.bio
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
import { AppTypeFromJSON, AppTypeToJSON, } from './AppType';
|
|
16
|
+
import { PermissionFromJSON, PermissionToJSON, } from './Permission';
|
|
17
|
+
import { PrincipalTypeFromJSON, PrincipalTypeToJSON, } from './PrincipalType';
|
|
18
|
+
import { ProjectPermissionSetFromJSON, ProjectPermissionSetToJSON, } from './ProjectPermissionSet';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AppRegistrationDetail interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAppRegistrationDetail(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "id" in value;
|
|
25
|
+
isInstance = isInstance && "clientId" in value;
|
|
26
|
+
isInstance = isInstance && "name" in value;
|
|
27
|
+
isInstance = isInstance && "description" in value;
|
|
28
|
+
isInstance = isInstance && "principalType" in value;
|
|
29
|
+
isInstance = isInstance && "type" in value;
|
|
30
|
+
isInstance = isInstance && "allowedIps" in value;
|
|
31
|
+
isInstance = isInstance && "secretGeneratedAt" in value;
|
|
32
|
+
isInstance = isInstance && "secretGeneratedBy" in value;
|
|
33
|
+
isInstance = isInstance && "projectPermissions" in value;
|
|
34
|
+
isInstance = isInstance && "globalPermissions" in value;
|
|
35
|
+
isInstance = isInstance && "isArchived" in value;
|
|
36
|
+
isInstance = isInstance && "createdAt" in value;
|
|
37
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
38
|
+
isInstance = isInstance && "createdBy" in value;
|
|
39
|
+
return isInstance;
|
|
40
|
+
}
|
|
41
|
+
export function AppRegistrationDetailFromJSON(json) {
|
|
42
|
+
return AppRegistrationDetailFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function AppRegistrationDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if ((json === undefined) || (json === null)) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'],
|
|
50
|
+
'clientId': json['clientId'],
|
|
51
|
+
'name': json['name'],
|
|
52
|
+
'description': json['description'],
|
|
53
|
+
'principalType': PrincipalTypeFromJSON(json['principalType']),
|
|
54
|
+
'type': AppTypeFromJSON(json['type']),
|
|
55
|
+
'allowedIps': json['allowedIps'],
|
|
56
|
+
'secretExpiresAt': !exists(json, 'secretExpiresAt') ? undefined : (json['secretExpiresAt'] === null ? null : new Date(json['secretExpiresAt'])),
|
|
57
|
+
'secretGeneratedAt': (new Date(json['secretGeneratedAt'])),
|
|
58
|
+
'secretGeneratedBy': json['secretGeneratedBy'],
|
|
59
|
+
'projectPermissions': (json['projectPermissions'].map(ProjectPermissionSetFromJSON)),
|
|
60
|
+
'globalPermissions': (json['globalPermissions'].map(PermissionFromJSON)),
|
|
61
|
+
'isArchived': json['isArchived'],
|
|
62
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
63
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
64
|
+
'createdBy': json['createdBy'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
export function AppRegistrationDetailToJSON(value) {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'id': value.id,
|
|
76
|
+
'clientId': value.clientId,
|
|
77
|
+
'name': value.name,
|
|
78
|
+
'description': value.description,
|
|
79
|
+
'principalType': PrincipalTypeToJSON(value.principalType),
|
|
80
|
+
'type': AppTypeToJSON(value.type),
|
|
81
|
+
'allowedIps': value.allowedIps,
|
|
82
|
+
'secretExpiresAt': value.secretExpiresAt === undefined ? undefined : (value.secretExpiresAt === null ? null : value.secretExpiresAt.toISOString()),
|
|
83
|
+
'secretGeneratedAt': (value.secretGeneratedAt.toISOString()),
|
|
84
|
+
'secretGeneratedBy': value.secretGeneratedBy,
|
|
85
|
+
'projectPermissions': (value.projectPermissions.map(ProjectPermissionSetToJSON)),
|
|
86
|
+
'globalPermissions': (value.globalPermissions.map(PermissionToJSON)),
|
|
87
|
+
'isArchived': value.isArchived,
|
|
88
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
89
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
90
|
+
'createdBy': value.createdBy,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
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 { AppType } from './AppType';
|
|
13
|
+
import type { Permission } from './Permission';
|
|
14
|
+
import type { PrincipalType } from './PrincipalType';
|
|
15
|
+
import type { ProjectPermissionSet } from './ProjectPermissionSet';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AppRegistrationInput
|
|
20
|
+
*/
|
|
21
|
+
export interface AppRegistrationInput {
|
|
22
|
+
/**
|
|
23
|
+
* Name of app registration
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AppRegistrationInput
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AppRegistrationInput
|
|
32
|
+
*/
|
|
33
|
+
description: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {PrincipalType}
|
|
37
|
+
* @memberof AppRegistrationInput
|
|
38
|
+
*/
|
|
39
|
+
principalType: PrincipalType;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {AppType}
|
|
43
|
+
* @memberof AppRegistrationInput
|
|
44
|
+
*/
|
|
45
|
+
type: AppType;
|
|
46
|
+
/**
|
|
47
|
+
* These IP address ranges are allowed to use this app (will be used later)
|
|
48
|
+
* @type {Array<string>}
|
|
49
|
+
* @memberof AppRegistrationInput
|
|
50
|
+
*/
|
|
51
|
+
allowedIps: Array<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Optional expiry date of secret
|
|
54
|
+
* @type {Date}
|
|
55
|
+
* @memberof AppRegistrationInput
|
|
56
|
+
*/
|
|
57
|
+
secretExpiresAt?: Date | null;
|
|
58
|
+
/**
|
|
59
|
+
* Permissions that this app has on the project
|
|
60
|
+
* @type {Array<ProjectPermissionSet>}
|
|
61
|
+
* @memberof AppRegistrationInput
|
|
62
|
+
*/
|
|
63
|
+
projectPermissions: Array<ProjectPermissionSet>;
|
|
64
|
+
/**
|
|
65
|
+
* Permissions that this app has globally
|
|
66
|
+
* @type {Array<Permission>}
|
|
67
|
+
* @memberof AppRegistrationInput
|
|
68
|
+
*/
|
|
69
|
+
globalPermissions: Array<Permission>;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Check if a given object implements the AppRegistrationInput interface.
|
|
73
|
+
*/
|
|
74
|
+
export declare function instanceOfAppRegistrationInput(value: object): boolean;
|
|
75
|
+
export declare function AppRegistrationInputFromJSON(json: any): AppRegistrationInput;
|
|
76
|
+
export declare function AppRegistrationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppRegistrationInput;
|
|
77
|
+
export declare function AppRegistrationInputToJSON(value?: AppRegistrationInput | null): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cirro Data
|
|
5
|
+
* Cirro Data Platform service API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
* Contact: support@cirro.bio
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
import { AppTypeFromJSON, AppTypeToJSON, } from './AppType';
|
|
16
|
+
import { PermissionFromJSON, PermissionToJSON, } from './Permission';
|
|
17
|
+
import { PrincipalTypeFromJSON, PrincipalTypeToJSON, } from './PrincipalType';
|
|
18
|
+
import { ProjectPermissionSetFromJSON, ProjectPermissionSetToJSON, } from './ProjectPermissionSet';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AppRegistrationInput interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAppRegistrationInput(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
isInstance = isInstance && "description" in value;
|
|
26
|
+
isInstance = isInstance && "principalType" in value;
|
|
27
|
+
isInstance = isInstance && "type" in value;
|
|
28
|
+
isInstance = isInstance && "allowedIps" in value;
|
|
29
|
+
isInstance = isInstance && "projectPermissions" in value;
|
|
30
|
+
isInstance = isInstance && "globalPermissions" in value;
|
|
31
|
+
return isInstance;
|
|
32
|
+
}
|
|
33
|
+
export function AppRegistrationInputFromJSON(json) {
|
|
34
|
+
return AppRegistrationInputFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function AppRegistrationInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if ((json === undefined) || (json === null)) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
'description': json['description'],
|
|
43
|
+
'principalType': PrincipalTypeFromJSON(json['principalType']),
|
|
44
|
+
'type': AppTypeFromJSON(json['type']),
|
|
45
|
+
'allowedIps': json['allowedIps'],
|
|
46
|
+
'secretExpiresAt': !exists(json, 'secretExpiresAt') ? undefined : (json['secretExpiresAt'] === null ? null : new Date(json['secretExpiresAt'])),
|
|
47
|
+
'projectPermissions': (json['projectPermissions'].map(ProjectPermissionSetFromJSON)),
|
|
48
|
+
'globalPermissions': (json['globalPermissions'].map(PermissionFromJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function AppRegistrationInputToJSON(value) {
|
|
52
|
+
if (value === undefined) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
if (value === null) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'name': value.name,
|
|
60
|
+
'description': value.description,
|
|
61
|
+
'principalType': PrincipalTypeToJSON(value.principalType),
|
|
62
|
+
'type': AppTypeToJSON(value.type),
|
|
63
|
+
'allowedIps': value.allowedIps,
|
|
64
|
+
'secretExpiresAt': value.secretExpiresAt === undefined ? undefined : (value.secretExpiresAt === null ? null : value.secretExpiresAt.toISOString()),
|
|
65
|
+
'projectPermissions': (value.projectPermissions.map(ProjectPermissionSetToJSON)),
|
|
66
|
+
'globalPermissions': (value.globalPermissions.map(PermissionToJSON)),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
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 AppRegistrationSecretResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface AppRegistrationSecretResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AppRegistrationSecretResponse
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The oauth client ID.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AppRegistrationSecretResponse
|
|
28
|
+
*/
|
|
29
|
+
clientId: string;
|
|
30
|
+
/**
|
|
31
|
+
* The oauth client secret. This is only returned once.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AppRegistrationSecretResponse
|
|
34
|
+
*/
|
|
35
|
+
clientSecret: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof AppRegistrationSecretResponse
|
|
40
|
+
*/
|
|
41
|
+
secretGeneratedAt: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AppRegistrationSecretResponse interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfAppRegistrationSecretResponse(value: object): boolean;
|
|
47
|
+
export declare function AppRegistrationSecretResponseFromJSON(json: any): AppRegistrationSecretResponse;
|
|
48
|
+
export declare function AppRegistrationSecretResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppRegistrationSecretResponse;
|
|
49
|
+
export declare function AppRegistrationSecretResponseToJSON(value?: AppRegistrationSecretResponse | null): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cirro Data
|
|
5
|
+
* Cirro Data Platform service API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
* Contact: support@cirro.bio
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the AppRegistrationSecretResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAppRegistrationSecretResponse(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "id" in value;
|
|
20
|
+
isInstance = isInstance && "clientId" in value;
|
|
21
|
+
isInstance = isInstance && "clientSecret" in value;
|
|
22
|
+
isInstance = isInstance && "secretGeneratedAt" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function AppRegistrationSecretResponseFromJSON(json) {
|
|
26
|
+
return AppRegistrationSecretResponseFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function AppRegistrationSecretResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'id': json['id'],
|
|
34
|
+
'clientId': json['clientId'],
|
|
35
|
+
'clientSecret': json['clientSecret'],
|
|
36
|
+
'secretGeneratedAt': (new Date(json['secretGeneratedAt'])),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function AppRegistrationSecretResponseToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': value.id,
|
|
48
|
+
'clientId': value.clientId,
|
|
49
|
+
'clientSecret': value.clientSecret,
|
|
50
|
+
'secretGeneratedAt': (value.secretGeneratedAt.toISOString()),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum AppType {
|
|
18
|
+
ConfidentialClient = "CONFIDENTIAL_CLIENT"
|
|
19
|
+
}
|
|
20
|
+
export declare function AppTypeFromJSON(json: any): AppType;
|
|
21
|
+
export declare function AppTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppType;
|
|
22
|
+
export declare function AppTypeToJSON(value?: AppType | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cirro Data
|
|
5
|
+
* Cirro Data Platform service API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
* Contact: support@cirro.bio
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export var AppType;
|
|
20
|
+
(function (AppType) {
|
|
21
|
+
AppType["ConfidentialClient"] = "CONFIDENTIAL_CLIENT";
|
|
22
|
+
})(AppType || (AppType = {}));
|
|
23
|
+
export function AppTypeFromJSON(json) {
|
|
24
|
+
return AppTypeFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function AppTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
export function AppTypeToJSON(value) {
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
@@ -45,6 +45,12 @@ export interface FeatureFlags {
|
|
|
45
45
|
* @memberof FeatureFlags
|
|
46
46
|
*/
|
|
47
47
|
driveEnabled: boolean;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof FeatureFlags
|
|
52
|
+
*/
|
|
53
|
+
appRegistrationsEnabled: boolean;
|
|
48
54
|
}
|
|
49
55
|
/**
|
|
50
56
|
* Check if a given object implements the FeatureFlags interface.
|
|
@@ -21,6 +21,7 @@ export function instanceOfFeatureFlags(value) {
|
|
|
21
21
|
isInstance = isInstance && "projectRequestsEnabled" in value;
|
|
22
22
|
isInstance = isInstance && "workspacesEnabled" in value;
|
|
23
23
|
isInstance = isInstance && "driveEnabled" in value;
|
|
24
|
+
isInstance = isInstance && "appRegistrationsEnabled" in value;
|
|
24
25
|
return isInstance;
|
|
25
26
|
}
|
|
26
27
|
export function FeatureFlagsFromJSON(json) {
|
|
@@ -36,6 +37,7 @@ export function FeatureFlagsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
37
|
'projectRequestsEnabled': json['projectRequestsEnabled'],
|
|
37
38
|
'workspacesEnabled': json['workspacesEnabled'],
|
|
38
39
|
'driveEnabled': json['driveEnabled'],
|
|
40
|
+
'appRegistrationsEnabled': json['appRegistrationsEnabled'],
|
|
39
41
|
};
|
|
40
42
|
}
|
|
41
43
|
export function FeatureFlagsToJSON(value) {
|
|
@@ -51,5 +53,6 @@ export function FeatureFlagsToJSON(value) {
|
|
|
51
53
|
'projectRequestsEnabled': value.projectRequestsEnabled,
|
|
52
54
|
'workspacesEnabled': value.workspacesEnabled,
|
|
53
55
|
'driveEnabled': value.driveEnabled,
|
|
56
|
+
'appRegistrationsEnabled': value.appRegistrationsEnabled,
|
|
54
57
|
};
|
|
55
58
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
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 { AppRegistration } from './AppRegistration';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedResponseAppRegistrationDto
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedResponseAppRegistrationDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<AppRegistration>}
|
|
22
|
+
* @memberof PaginatedResponseAppRegistrationDto
|
|
23
|
+
*/
|
|
24
|
+
data: Array<AppRegistration>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaginatedResponseAppRegistrationDto
|
|
29
|
+
*/
|
|
30
|
+
nextToken: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PaginatedResponseAppRegistrationDto interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfPaginatedResponseAppRegistrationDto(value: object): boolean;
|
|
36
|
+
export declare function PaginatedResponseAppRegistrationDtoFromJSON(json: any): PaginatedResponseAppRegistrationDto;
|
|
37
|
+
export declare function PaginatedResponseAppRegistrationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedResponseAppRegistrationDto;
|
|
38
|
+
export declare function PaginatedResponseAppRegistrationDtoToJSON(value?: PaginatedResponseAppRegistrationDto | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cirro Data
|
|
5
|
+
* Cirro Data Platform service API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
* Contact: support@cirro.bio
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { AppRegistrationFromJSON, AppRegistrationToJSON, } from './AppRegistration';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PaginatedResponseAppRegistrationDto interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPaginatedResponseAppRegistrationDto(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "data" in value;
|
|
21
|
+
isInstance = isInstance && "nextToken" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function PaginatedResponseAppRegistrationDtoFromJSON(json) {
|
|
25
|
+
return PaginatedResponseAppRegistrationDtoFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PaginatedResponseAppRegistrationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'data': (json['data'].map(AppRegistrationFromJSON)),
|
|
33
|
+
'nextToken': json['nextToken'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function PaginatedResponseAppRegistrationDtoToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (value.data.map(AppRegistrationToJSON)),
|
|
45
|
+
'nextToken': value.nextToken,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum Permission {
|
|
18
|
+
ManageMembers = "MANAGE_MEMBERS",
|
|
19
|
+
SearchMembers = "SEARCH_MEMBERS",
|
|
20
|
+
InviteMember = "INVITE_MEMBER",
|
|
21
|
+
CreateByoaProject = "CREATE_BYOA_PROJECT",
|
|
22
|
+
CreateHostedProject = "CREATE_HOSTED_PROJECT",
|
|
23
|
+
RequestProject = "REQUEST_PROJECT",
|
|
24
|
+
EditProject = "EDIT_PROJECT",
|
|
25
|
+
ViewProject = "VIEW_PROJECT",
|
|
26
|
+
DeleteProject = "DELETE_PROJECT",
|
|
27
|
+
ViewProjectCosts = "VIEW_PROJECT_COSTS",
|
|
28
|
+
ViewProjectMembers = "VIEW_PROJECT_MEMBERS",
|
|
29
|
+
EditProjectMembers = "EDIT_PROJECT_MEMBERS",
|
|
30
|
+
ViewProjectReferences = "VIEW_PROJECT_REFERENCES",
|
|
31
|
+
EditProjectReferences = "EDIT_PROJECT_REFERENCES",
|
|
32
|
+
ViewProjectMetadata = "VIEW_PROJECT_METADATA",
|
|
33
|
+
EditProjectMetadata = "EDIT_PROJECT_METADATA",
|
|
34
|
+
GenerateDownloadToken = "GENERATE_DOWNLOAD_TOKEN",
|
|
35
|
+
ViewProjectShares = "VIEW_PROJECT_SHARES",
|
|
36
|
+
ManageProjectShares = "MANAGE_PROJECT_SHARES",
|
|
37
|
+
CreateDiscussion = "CREATE_DISCUSSION",
|
|
38
|
+
ManageDiscussions = "MANAGE_DISCUSSIONS",
|
|
39
|
+
ViewDiscussion = "VIEW_DISCUSSION",
|
|
40
|
+
CreateDataset = "CREATE_DATASET",
|
|
41
|
+
EditDataset = "EDIT_DATASET",
|
|
42
|
+
ViewDataset = "VIEW_DATASET",
|
|
43
|
+
DeleteDataset = "DELETE_DATASET",
|
|
44
|
+
ViewDatasetLogs = "VIEW_DATASET_LOGS",
|
|
45
|
+
RunAnalysis = "RUN_ANALYSIS",
|
|
46
|
+
StopAnalysis = "STOP_ANALYSIS",
|
|
47
|
+
ViewDashboard = "VIEW_DASHBOARD",
|
|
48
|
+
CreateDashboard = "CREATE_DASHBOARD",
|
|
49
|
+
EditDashboard = "EDIT_DASHBOARD",
|
|
50
|
+
CreateNotebookInstance = "CREATE_NOTEBOOK_INSTANCE",
|
|
51
|
+
DeleteNotebookInstance = "DELETE_NOTEBOOK_INSTANCE",
|
|
52
|
+
ControlNotebookInstance = "CONTROL_NOTEBOOK_INSTANCE",
|
|
53
|
+
OpenNotebookInstance = "OPEN_NOTEBOOK_INSTANCE",
|
|
54
|
+
CreateWorkspace = "CREATE_WORKSPACE",
|
|
55
|
+
DeleteWorkspace = "DELETE_WORKSPACE",
|
|
56
|
+
ControlWorkspace = "CONTROL_WORKSPACE",
|
|
57
|
+
OpenWorkspace = "OPEN_WORKSPACE",
|
|
58
|
+
CreateCustomWorkspace = "CREATE_CUSTOM_WORKSPACE",
|
|
59
|
+
CreateCustomPipeline = "CREATE_CUSTOM_PIPELINE",
|
|
60
|
+
CreateCustomPipelineTenant = "CREATE_CUSTOM_PIPELINE_TENANT",
|
|
61
|
+
ViewClassifications = "VIEW_CLASSIFICATIONS",
|
|
62
|
+
ViewContacts = "VIEW_CONTACTS",
|
|
63
|
+
ManageGovernance = "MANAGE_GOVERNANCE",
|
|
64
|
+
ManageAgents = "MANAGE_AGENTS",
|
|
65
|
+
ManageAllAppRegistrations = "MANAGE_ALL_APP_REGISTRATIONS",
|
|
66
|
+
ManageOwnAppRegistrations = "MANAGE_OWN_APP_REGISTRATIONS",
|
|
67
|
+
ViewServiceConnections = "VIEW_SERVICE_CONNECTIONS",
|
|
68
|
+
ViewProcess = "VIEW_PROCESS",
|
|
69
|
+
ViewWorkspaceEnvironments = "VIEW_WORKSPACE_ENVIRONMENTS",
|
|
70
|
+
CreateBillingAccount = "CREATE_BILLING_ACCOUNT",
|
|
71
|
+
ManageBillingAccounts = "MANAGE_BILLING_ACCOUNTS",
|
|
72
|
+
ViewAuditEvents = "VIEW_AUDIT_EVENTS",
|
|
73
|
+
ViewMetrics = "VIEW_METRICS",
|
|
74
|
+
SysAdminOperations = "SYS_ADMIN_OPERATIONS",
|
|
75
|
+
ViewAllData = "VIEW_ALL_DATA"
|
|
76
|
+
}
|
|
77
|
+
export declare function PermissionFromJSON(json: any): Permission;
|
|
78
|
+
export declare function PermissionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Permission;
|
|
79
|
+
export declare function PermissionToJSON(value?: Permission | null): any;
|