@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.
Files changed (68) hide show
  1. package/README.md +1 -1
  2. package/dist/apis/AppRegistrationsApi.d.ts +108 -0
  3. package/dist/apis/AppRegistrationsApi.js +304 -0
  4. package/dist/apis/index.d.ts +1 -0
  5. package/dist/apis/index.js +1 -0
  6. package/dist/esm/apis/AppRegistrationsApi.d.ts +108 -0
  7. package/dist/esm/apis/AppRegistrationsApi.js +300 -0
  8. package/dist/esm/apis/index.d.ts +1 -0
  9. package/dist/esm/apis/index.js +1 -0
  10. package/dist/esm/models/AppRegistration.d.ts +93 -0
  11. package/dist/esm/models/AppRegistration.js +75 -0
  12. package/dist/esm/models/AppRegistrationDetail.d.ts +125 -0
  13. package/dist/esm/models/AppRegistrationDetail.js +92 -0
  14. package/dist/esm/models/AppRegistrationInput.d.ts +77 -0
  15. package/dist/esm/models/AppRegistrationInput.js +68 -0
  16. package/dist/esm/models/AppRegistrationSecretResponse.d.ts +49 -0
  17. package/dist/esm/models/AppRegistrationSecretResponse.js +52 -0
  18. package/dist/esm/models/AppType.d.ts +22 -0
  19. package/dist/esm/models/AppType.js +31 -0
  20. package/dist/esm/models/FeatureFlags.d.ts +6 -0
  21. package/dist/esm/models/FeatureFlags.js +3 -0
  22. package/dist/esm/models/PaginatedResponseAppRegistrationDto.d.ts +38 -0
  23. package/dist/esm/models/PaginatedResponseAppRegistrationDto.js +47 -0
  24. package/dist/esm/models/Permission.d.ts +79 -0
  25. package/dist/esm/models/Permission.js +88 -0
  26. package/dist/esm/models/PrincipalType.d.ts +23 -0
  27. package/dist/esm/models/PrincipalType.js +32 -0
  28. package/dist/esm/models/ProjectPermissionSet.d.ts +37 -0
  29. package/dist/esm/models/ProjectPermissionSet.js +46 -0
  30. package/dist/esm/models/UpdateUserRequest.d.ts +9 -2
  31. package/dist/esm/models/UpdateUserRequest.js +2 -0
  32. package/dist/esm/models/User.d.ts +6 -0
  33. package/dist/esm/models/User.js +3 -0
  34. package/dist/esm/models/UserDetail.d.ts +8 -1
  35. package/dist/esm/models/UserDetail.js +4 -2
  36. package/dist/esm/models/index.d.ts +9 -0
  37. package/dist/esm/models/index.js +9 -0
  38. package/dist/esm/runtime.js +1 -1
  39. package/dist/models/AppRegistration.d.ts +93 -0
  40. package/dist/models/AppRegistration.js +82 -0
  41. package/dist/models/AppRegistrationDetail.d.ts +125 -0
  42. package/dist/models/AppRegistrationDetail.js +99 -0
  43. package/dist/models/AppRegistrationInput.d.ts +77 -0
  44. package/dist/models/AppRegistrationInput.js +75 -0
  45. package/dist/models/AppRegistrationSecretResponse.d.ts +49 -0
  46. package/dist/models/AppRegistrationSecretResponse.js +59 -0
  47. package/dist/models/AppType.d.ts +22 -0
  48. package/dist/models/AppType.js +37 -0
  49. package/dist/models/FeatureFlags.d.ts +6 -0
  50. package/dist/models/FeatureFlags.js +3 -0
  51. package/dist/models/PaginatedResponseAppRegistrationDto.d.ts +38 -0
  52. package/dist/models/PaginatedResponseAppRegistrationDto.js +54 -0
  53. package/dist/models/Permission.d.ts +79 -0
  54. package/dist/models/Permission.js +94 -0
  55. package/dist/models/PrincipalType.d.ts +23 -0
  56. package/dist/models/PrincipalType.js +38 -0
  57. package/dist/models/ProjectPermissionSet.d.ts +37 -0
  58. package/dist/models/ProjectPermissionSet.js +53 -0
  59. package/dist/models/UpdateUserRequest.d.ts +9 -2
  60. package/dist/models/UpdateUserRequest.js +2 -0
  61. package/dist/models/User.d.ts +6 -0
  62. package/dist/models/User.js +3 -0
  63. package/dist/models/UserDetail.d.ts +8 -1
  64. package/dist/models/UserDetail.js +4 -2
  65. package/dist/models/index.d.ts +9 -0
  66. package/dist/models/index.js +9 -0
  67. package/dist/runtime.js +1 -1
  68. package/package.json +1 -1
@@ -0,0 +1,88 @@
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 Permission;
20
+ (function (Permission) {
21
+ Permission["ManageMembers"] = "MANAGE_MEMBERS";
22
+ Permission["SearchMembers"] = "SEARCH_MEMBERS";
23
+ Permission["InviteMember"] = "INVITE_MEMBER";
24
+ Permission["CreateByoaProject"] = "CREATE_BYOA_PROJECT";
25
+ Permission["CreateHostedProject"] = "CREATE_HOSTED_PROJECT";
26
+ Permission["RequestProject"] = "REQUEST_PROJECT";
27
+ Permission["EditProject"] = "EDIT_PROJECT";
28
+ Permission["ViewProject"] = "VIEW_PROJECT";
29
+ Permission["DeleteProject"] = "DELETE_PROJECT";
30
+ Permission["ViewProjectCosts"] = "VIEW_PROJECT_COSTS";
31
+ Permission["ViewProjectMembers"] = "VIEW_PROJECT_MEMBERS";
32
+ Permission["EditProjectMembers"] = "EDIT_PROJECT_MEMBERS";
33
+ Permission["ViewProjectReferences"] = "VIEW_PROJECT_REFERENCES";
34
+ Permission["EditProjectReferences"] = "EDIT_PROJECT_REFERENCES";
35
+ Permission["ViewProjectMetadata"] = "VIEW_PROJECT_METADATA";
36
+ Permission["EditProjectMetadata"] = "EDIT_PROJECT_METADATA";
37
+ Permission["GenerateDownloadToken"] = "GENERATE_DOWNLOAD_TOKEN";
38
+ Permission["ViewProjectShares"] = "VIEW_PROJECT_SHARES";
39
+ Permission["ManageProjectShares"] = "MANAGE_PROJECT_SHARES";
40
+ Permission["CreateDiscussion"] = "CREATE_DISCUSSION";
41
+ Permission["ManageDiscussions"] = "MANAGE_DISCUSSIONS";
42
+ Permission["ViewDiscussion"] = "VIEW_DISCUSSION";
43
+ Permission["CreateDataset"] = "CREATE_DATASET";
44
+ Permission["EditDataset"] = "EDIT_DATASET";
45
+ Permission["ViewDataset"] = "VIEW_DATASET";
46
+ Permission["DeleteDataset"] = "DELETE_DATASET";
47
+ Permission["ViewDatasetLogs"] = "VIEW_DATASET_LOGS";
48
+ Permission["RunAnalysis"] = "RUN_ANALYSIS";
49
+ Permission["StopAnalysis"] = "STOP_ANALYSIS";
50
+ Permission["ViewDashboard"] = "VIEW_DASHBOARD";
51
+ Permission["CreateDashboard"] = "CREATE_DASHBOARD";
52
+ Permission["EditDashboard"] = "EDIT_DASHBOARD";
53
+ Permission["CreateNotebookInstance"] = "CREATE_NOTEBOOK_INSTANCE";
54
+ Permission["DeleteNotebookInstance"] = "DELETE_NOTEBOOK_INSTANCE";
55
+ Permission["ControlNotebookInstance"] = "CONTROL_NOTEBOOK_INSTANCE";
56
+ Permission["OpenNotebookInstance"] = "OPEN_NOTEBOOK_INSTANCE";
57
+ Permission["CreateWorkspace"] = "CREATE_WORKSPACE";
58
+ Permission["DeleteWorkspace"] = "DELETE_WORKSPACE";
59
+ Permission["ControlWorkspace"] = "CONTROL_WORKSPACE";
60
+ Permission["OpenWorkspace"] = "OPEN_WORKSPACE";
61
+ Permission["CreateCustomWorkspace"] = "CREATE_CUSTOM_WORKSPACE";
62
+ Permission["CreateCustomPipeline"] = "CREATE_CUSTOM_PIPELINE";
63
+ Permission["CreateCustomPipelineTenant"] = "CREATE_CUSTOM_PIPELINE_TENANT";
64
+ Permission["ViewClassifications"] = "VIEW_CLASSIFICATIONS";
65
+ Permission["ViewContacts"] = "VIEW_CONTACTS";
66
+ Permission["ManageGovernance"] = "MANAGE_GOVERNANCE";
67
+ Permission["ManageAgents"] = "MANAGE_AGENTS";
68
+ Permission["ManageAllAppRegistrations"] = "MANAGE_ALL_APP_REGISTRATIONS";
69
+ Permission["ManageOwnAppRegistrations"] = "MANAGE_OWN_APP_REGISTRATIONS";
70
+ Permission["ViewServiceConnections"] = "VIEW_SERVICE_CONNECTIONS";
71
+ Permission["ViewProcess"] = "VIEW_PROCESS";
72
+ Permission["ViewWorkspaceEnvironments"] = "VIEW_WORKSPACE_ENVIRONMENTS";
73
+ Permission["CreateBillingAccount"] = "CREATE_BILLING_ACCOUNT";
74
+ Permission["ManageBillingAccounts"] = "MANAGE_BILLING_ACCOUNTS";
75
+ Permission["ViewAuditEvents"] = "VIEW_AUDIT_EVENTS";
76
+ Permission["ViewMetrics"] = "VIEW_METRICS";
77
+ Permission["SysAdminOperations"] = "SYS_ADMIN_OPERATIONS";
78
+ Permission["ViewAllData"] = "VIEW_ALL_DATA";
79
+ })(Permission || (Permission = {}));
80
+ export function PermissionFromJSON(json) {
81
+ return PermissionFromJSONTyped(json, false);
82
+ }
83
+ export function PermissionFromJSONTyped(json, ignoreDiscriminator) {
84
+ return json;
85
+ }
86
+ export function PermissionToJSON(value) {
87
+ return value;
88
+ }
@@ -0,0 +1,23 @@
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 PrincipalType {
18
+ User = "USER",
19
+ System = "SYSTEM"
20
+ }
21
+ export declare function PrincipalTypeFromJSON(json: any): PrincipalType;
22
+ export declare function PrincipalTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrincipalType;
23
+ export declare function PrincipalTypeToJSON(value?: PrincipalType | null): any;
@@ -0,0 +1,32 @@
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 PrincipalType;
20
+ (function (PrincipalType) {
21
+ PrincipalType["User"] = "USER";
22
+ PrincipalType["System"] = "SYSTEM";
23
+ })(PrincipalType || (PrincipalType = {}));
24
+ export function PrincipalTypeFromJSON(json) {
25
+ return PrincipalTypeFromJSONTyped(json, false);
26
+ }
27
+ export function PrincipalTypeFromJSONTyped(json, ignoreDiscriminator) {
28
+ return json;
29
+ }
30
+ export function PrincipalTypeToJSON(value) {
31
+ return value;
32
+ }
@@ -0,0 +1,37 @@
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 ProjectPermissionSet
16
+ */
17
+ export interface ProjectPermissionSet {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ProjectPermissionSet
22
+ */
23
+ projectId: string;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof ProjectPermissionSet
28
+ */
29
+ permissions: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ProjectPermissionSet interface.
33
+ */
34
+ export declare function instanceOfProjectPermissionSet(value: object): boolean;
35
+ export declare function ProjectPermissionSetFromJSON(json: any): ProjectPermissionSet;
36
+ export declare function ProjectPermissionSetFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectPermissionSet;
37
+ export declare function ProjectPermissionSetToJSON(value?: ProjectPermissionSet | null): any;
@@ -0,0 +1,46 @@
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 ProjectPermissionSet interface.
16
+ */
17
+ export function instanceOfProjectPermissionSet(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "projectId" in value;
20
+ isInstance = isInstance && "permissions" in value;
21
+ return isInstance;
22
+ }
23
+ export function ProjectPermissionSetFromJSON(json) {
24
+ return ProjectPermissionSetFromJSONTyped(json, false);
25
+ }
26
+ export function ProjectPermissionSetFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'projectId': json['projectId'],
32
+ 'permissions': json['permissions'],
33
+ };
34
+ }
35
+ export function ProjectPermissionSetToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'projectId': value.projectId,
44
+ 'permissions': value.permissions,
45
+ };
46
+ }
@@ -59,11 +59,18 @@ export interface UpdateUserRequest {
59
59
  */
60
60
  settings?: UserSettings | null;
61
61
  /**
62
- * Groups the user belongs to, only editable by administrators
62
+ * Global roles the user belongs to, only editable by administrators
63
63
  * @type {Array<string>}
64
64
  * @memberof UpdateUserRequest
65
65
  */
66
- groups?: Array<string>;
66
+ globalRoles?: Array<string> | null;
67
+ /**
68
+ * Groups the user belongs to, only editable by administrators. Replaced by global roles
69
+ * @type {Array<string>}
70
+ * @memberof UpdateUserRequest
71
+ * @deprecated
72
+ */
73
+ groups?: Array<string> | null;
67
74
  }
68
75
  /**
69
76
  * Check if a given object implements the UpdateUserRequest interface.
@@ -37,6 +37,7 @@ export function UpdateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'jobTitle': !exists(json, 'jobTitle') ? undefined : json['jobTitle'],
38
38
  'organization': !exists(json, 'organization') ? undefined : json['organization'],
39
39
  'settings': !exists(json, 'settings') ? undefined : UserSettingsFromJSON(json['settings']),
40
+ 'globalRoles': !exists(json, 'globalRoles') ? undefined : json['globalRoles'],
40
41
  'groups': !exists(json, 'groups') ? undefined : json['groups'],
41
42
  };
42
43
  }
@@ -55,6 +56,7 @@ export function UpdateUserRequestToJSON(value) {
55
56
  'jobTitle': value.jobTitle,
56
57
  'organization': value.organization,
57
58
  'settings': UserSettingsToJSON(value.settings),
59
+ 'globalRoles': value.globalRoles,
58
60
  'groups': value.groups,
59
61
  };
60
62
  }
@@ -45,6 +45,12 @@ export interface User {
45
45
  * @memberof User
46
46
  */
47
47
  jobTitle: string;
48
+ /**
49
+ *
50
+ * @type {Array<string>}
51
+ * @memberof User
52
+ */
53
+ globalRoles: Array<string>;
48
54
  }
49
55
  /**
50
56
  * Check if a given object implements the User interface.
@@ -21,6 +21,7 @@ export function instanceOfUser(value) {
21
21
  isInstance = isInstance && "organization" in value;
22
22
  isInstance = isInstance && "department" in value;
23
23
  isInstance = isInstance && "jobTitle" in value;
24
+ isInstance = isInstance && "globalRoles" in value;
24
25
  return isInstance;
25
26
  }
26
27
  export function UserFromJSON(json) {
@@ -36,6 +37,7 @@ export function UserFromJSONTyped(json, ignoreDiscriminator) {
36
37
  'organization': json['organization'],
37
38
  'department': json['department'],
38
39
  'jobTitle': json['jobTitle'],
40
+ 'globalRoles': json['globalRoles'],
39
41
  };
40
42
  }
41
43
  export function UserToJSON(value) {
@@ -51,5 +53,6 @@ export function UserToJSON(value) {
51
53
  'organization': value.organization,
52
54
  'department': value.department,
53
55
  'jobTitle': value.jobTitle,
56
+ 'globalRoles': value.globalRoles,
54
57
  };
55
58
  }
@@ -88,7 +88,14 @@ export interface UserDetail {
88
88
  * @type {Array<string>}
89
89
  * @memberof UserDetail
90
90
  */
91
- groups: Array<string>;
91
+ globalRoles: Array<string>;
92
+ /**
93
+ * Replaced by globalRoles.
94
+ * @type {Array<string>}
95
+ * @memberof UserDetail
96
+ * @deprecated
97
+ */
98
+ groups?: Array<string>;
92
99
  /**
93
100
  *
94
101
  * @type {UserSettings}
@@ -28,7 +28,7 @@ export function instanceOfUserDetail(value) {
28
28
  isInstance = isInstance && "department" in value;
29
29
  isInstance = isInstance && "invitedBy" in value;
30
30
  isInstance = isInstance && "projectAssignments" in value;
31
- isInstance = isInstance && "groups" in value;
31
+ isInstance = isInstance && "globalRoles" in value;
32
32
  isInstance = isInstance && "settings" in value;
33
33
  return isInstance;
34
34
  }
@@ -51,7 +51,8 @@ export function UserDetailFromJSONTyped(json, ignoreDiscriminator) {
51
51
  'signUpTime': !exists(json, 'signUpTime') ? undefined : (json['signUpTime'] === null ? null : new Date(json['signUpTime'])),
52
52
  'lastSignedIn': !exists(json, 'lastSignedIn') ? undefined : (json['lastSignedIn'] === null ? null : new Date(json['lastSignedIn'])),
53
53
  'projectAssignments': (json['projectAssignments'].map(UserProjectAssignmentFromJSON)),
54
- 'groups': json['groups'],
54
+ 'globalRoles': json['globalRoles'],
55
+ 'groups': !exists(json, 'groups') ? undefined : json['groups'],
55
56
  'settings': UserSettingsFromJSON(json['settings']),
56
57
  };
57
58
  }
@@ -74,6 +75,7 @@ export function UserDetailToJSON(value) {
74
75
  'signUpTime': value.signUpTime === undefined ? undefined : (value.signUpTime === null ? null : value.signUpTime.toISOString()),
75
76
  'lastSignedIn': value.lastSignedIn === undefined ? undefined : (value.lastSignedIn === null ? null : value.lastSignedIn.toISOString()),
76
77
  'projectAssignments': (value.projectAssignments.map(UserProjectAssignmentToJSON)),
78
+ 'globalRoles': value.globalRoles,
77
79
  'groups': value.groups,
78
80
  'settings': UserSettingsToJSON(value.settings),
79
81
  };
@@ -5,6 +5,11 @@ export * from './AgentInput';
5
5
  export * from './AgentRegistration';
6
6
  export * from './AgentStatus';
7
7
  export * from './AllowedDataType';
8
+ export * from './AppRegistration';
9
+ export * from './AppRegistrationDetail';
10
+ export * from './AppRegistrationInput';
11
+ export * from './AppRegistrationSecretResponse';
12
+ export * from './AppType';
8
13
  export * from './ApproveProjectAccessRequest';
9
14
  export * from './Artifact';
10
15
  export * from './ArtifactType';
@@ -87,15 +92,18 @@ export * from './NamedItem';
87
92
  export * from './NotebookInstance';
88
93
  export * from './NotebookInstanceStatusResponse';
89
94
  export * from './OpenNotebookInstanceResponse';
95
+ export * from './PaginatedResponseAppRegistrationDto';
90
96
  export * from './PaginatedResponseDatasetListDto';
91
97
  export * from './PaginatedResponseDiscussion';
92
98
  export * from './PaginatedResponseMessage';
93
99
  export * from './PaginatedResponseSampleDto';
94
100
  export * from './PaginatedResponseUserDto';
101
+ export * from './Permission';
95
102
  export * from './PipelineCode';
96
103
  export * from './PipelineCost';
97
104
  export * from './PortalErrorResponse';
98
105
  export * from './PostponeWorkspaceAutostopInput';
106
+ export * from './PrincipalType';
99
107
  export * from './Process';
100
108
  export * from './ProcessDetail';
101
109
  export * from './ProcessDocumentation';
@@ -107,6 +115,7 @@ export * from './ProjectDetail';
107
115
  export * from './ProjectFileAccessRequest';
108
116
  export * from './ProjectInput';
109
117
  export * from './ProjectMetrics';
118
+ export * from './ProjectPermissionSet';
110
119
  export * from './ProjectRequest';
111
120
  export * from './ProjectRequirement';
112
121
  export * from './ProjectRole';
@@ -7,6 +7,11 @@ export * from './AgentInput';
7
7
  export * from './AgentRegistration';
8
8
  export * from './AgentStatus';
9
9
  export * from './AllowedDataType';
10
+ export * from './AppRegistration';
11
+ export * from './AppRegistrationDetail';
12
+ export * from './AppRegistrationInput';
13
+ export * from './AppRegistrationSecretResponse';
14
+ export * from './AppType';
10
15
  export * from './ApproveProjectAccessRequest';
11
16
  export * from './Artifact';
12
17
  export * from './ArtifactType';
@@ -89,15 +94,18 @@ export * from './NamedItem';
89
94
  export * from './NotebookInstance';
90
95
  export * from './NotebookInstanceStatusResponse';
91
96
  export * from './OpenNotebookInstanceResponse';
97
+ export * from './PaginatedResponseAppRegistrationDto';
92
98
  export * from './PaginatedResponseDatasetListDto';
93
99
  export * from './PaginatedResponseDiscussion';
94
100
  export * from './PaginatedResponseMessage';
95
101
  export * from './PaginatedResponseSampleDto';
96
102
  export * from './PaginatedResponseUserDto';
103
+ export * from './Permission';
97
104
  export * from './PipelineCode';
98
105
  export * from './PipelineCost';
99
106
  export * from './PortalErrorResponse';
100
107
  export * from './PostponeWorkspaceAutostopInput';
108
+ export * from './PrincipalType';
101
109
  export * from './Process';
102
110
  export * from './ProcessDetail';
103
111
  export * from './ProcessDocumentation';
@@ -109,6 +117,7 @@ export * from './ProjectDetail';
109
117
  export * from './ProjectFileAccessRequest';
110
118
  export * from './ProjectInput';
111
119
  export * from './ProjectMetrics';
120
+ export * from './ProjectPermissionSet';
112
121
  export * from './ProjectRequest';
113
122
  export * from './ProjectRequirement';
114
123
  export * from './ProjectRole';
@@ -20,7 +20,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
20
20
  step((generator = generator.apply(thisArg, _arguments || [])).next());
21
21
  });
22
22
  };
23
- export const BASE_PATH = "https://dev.cirro.bio/api".replace(/\/+$/, "");
23
+ export const BASE_PATH = "http://localhost:8080/api".replace(/\/+$/, "");
24
24
  export class Configuration {
25
25
  constructor(configuration = {}) {
26
26
  this.configuration = configuration;
@@ -0,0 +1,93 @@
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 { PrincipalType } from './PrincipalType';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AppRegistration
18
+ */
19
+ export interface AppRegistration {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof AppRegistration
24
+ */
25
+ id: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof AppRegistration
30
+ */
31
+ clientId: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof AppRegistration
36
+ */
37
+ name: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof AppRegistration
42
+ */
43
+ description: string;
44
+ /**
45
+ *
46
+ * @type {PrincipalType}
47
+ * @memberof AppRegistration
48
+ */
49
+ principalType: PrincipalType;
50
+ /**
51
+ *
52
+ * @type {AppType}
53
+ * @memberof AppRegistration
54
+ */
55
+ type: AppType;
56
+ /**
57
+ *
58
+ * @type {Date}
59
+ * @memberof AppRegistration
60
+ */
61
+ secretExpiresAt?: Date | null;
62
+ /**
63
+ *
64
+ * @type {boolean}
65
+ * @memberof AppRegistration
66
+ */
67
+ isArchived: boolean;
68
+ /**
69
+ *
70
+ * @type {Date}
71
+ * @memberof AppRegistration
72
+ */
73
+ updatedAt: Date;
74
+ /**
75
+ *
76
+ * @type {Date}
77
+ * @memberof AppRegistration
78
+ */
79
+ createdAt: Date;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof AppRegistration
84
+ */
85
+ createdBy: string;
86
+ }
87
+ /**
88
+ * Check if a given object implements the AppRegistration interface.
89
+ */
90
+ export declare function instanceOfAppRegistration(value: object): boolean;
91
+ export declare function AppRegistrationFromJSON(json: any): AppRegistration;
92
+ export declare function AppRegistrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppRegistration;
93
+ export declare function AppRegistrationToJSON(value?: AppRegistration | null): any;
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Cirro Data
6
+ * Cirro Data Platform service API
7
+ *
8
+ * The version of the OpenAPI document: latest
9
+ * Contact: support@cirro.bio
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.AppRegistrationToJSON = exports.AppRegistrationFromJSONTyped = exports.AppRegistrationFromJSON = exports.instanceOfAppRegistration = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const AppType_1 = require("./AppType");
19
+ const PrincipalType_1 = require("./PrincipalType");
20
+ /**
21
+ * Check if a given object implements the AppRegistration interface.
22
+ */
23
+ function instanceOfAppRegistration(value) {
24
+ let isInstance = true;
25
+ isInstance = isInstance && "id" in value;
26
+ isInstance = isInstance && "clientId" in value;
27
+ isInstance = isInstance && "name" in value;
28
+ isInstance = isInstance && "description" in value;
29
+ isInstance = isInstance && "principalType" in value;
30
+ isInstance = isInstance && "type" in value;
31
+ isInstance = isInstance && "isArchived" in value;
32
+ isInstance = isInstance && "updatedAt" in value;
33
+ isInstance = isInstance && "createdAt" in value;
34
+ isInstance = isInstance && "createdBy" in value;
35
+ return isInstance;
36
+ }
37
+ exports.instanceOfAppRegistration = instanceOfAppRegistration;
38
+ function AppRegistrationFromJSON(json) {
39
+ return AppRegistrationFromJSONTyped(json, false);
40
+ }
41
+ exports.AppRegistrationFromJSON = AppRegistrationFromJSON;
42
+ function AppRegistrationFromJSONTyped(json, ignoreDiscriminator) {
43
+ if ((json === undefined) || (json === null)) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'id': json['id'],
48
+ 'clientId': json['clientId'],
49
+ 'name': json['name'],
50
+ 'description': json['description'],
51
+ 'principalType': (0, PrincipalType_1.PrincipalTypeFromJSON)(json['principalType']),
52
+ 'type': (0, AppType_1.AppTypeFromJSON)(json['type']),
53
+ 'secretExpiresAt': !(0, runtime_1.exists)(json, 'secretExpiresAt') ? undefined : (json['secretExpiresAt'] === null ? null : new Date(json['secretExpiresAt'])),
54
+ 'isArchived': json['isArchived'],
55
+ 'updatedAt': (new Date(json['updatedAt'])),
56
+ 'createdAt': (new Date(json['createdAt'])),
57
+ 'createdBy': json['createdBy'],
58
+ };
59
+ }
60
+ exports.AppRegistrationFromJSONTyped = AppRegistrationFromJSONTyped;
61
+ function AppRegistrationToJSON(value) {
62
+ if (value === undefined) {
63
+ return undefined;
64
+ }
65
+ if (value === null) {
66
+ return null;
67
+ }
68
+ return {
69
+ 'id': value.id,
70
+ 'clientId': value.clientId,
71
+ 'name': value.name,
72
+ 'description': value.description,
73
+ 'principalType': (0, PrincipalType_1.PrincipalTypeToJSON)(value.principalType),
74
+ 'type': (0, AppType_1.AppTypeToJSON)(value.type),
75
+ 'secretExpiresAt': value.secretExpiresAt === undefined ? undefined : (value.secretExpiresAt === null ? null : value.secretExpiresAt.toISOString()),
76
+ 'isArchived': value.isArchived,
77
+ 'updatedAt': (value.updatedAt.toISOString()),
78
+ 'createdAt': (value.createdAt.toISOString()),
79
+ 'createdBy': value.createdBy,
80
+ };
81
+ }
82
+ exports.AppRegistrationToJSON = AppRegistrationToJSON;