@cirrobio/api-client 0.12.14 → 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 (56) 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/index.d.ts +9 -0
  31. package/dist/esm/models/index.js +9 -0
  32. package/dist/esm/runtime.js +1 -1
  33. package/dist/models/AppRegistration.d.ts +93 -0
  34. package/dist/models/AppRegistration.js +82 -0
  35. package/dist/models/AppRegistrationDetail.d.ts +125 -0
  36. package/dist/models/AppRegistrationDetail.js +99 -0
  37. package/dist/models/AppRegistrationInput.d.ts +77 -0
  38. package/dist/models/AppRegistrationInput.js +75 -0
  39. package/dist/models/AppRegistrationSecretResponse.d.ts +49 -0
  40. package/dist/models/AppRegistrationSecretResponse.js +59 -0
  41. package/dist/models/AppType.d.ts +22 -0
  42. package/dist/models/AppType.js +37 -0
  43. package/dist/models/FeatureFlags.d.ts +6 -0
  44. package/dist/models/FeatureFlags.js +3 -0
  45. package/dist/models/PaginatedResponseAppRegistrationDto.d.ts +38 -0
  46. package/dist/models/PaginatedResponseAppRegistrationDto.js +54 -0
  47. package/dist/models/Permission.d.ts +79 -0
  48. package/dist/models/Permission.js +94 -0
  49. package/dist/models/PrincipalType.d.ts +23 -0
  50. package/dist/models/PrincipalType.js +38 -0
  51. package/dist/models/ProjectPermissionSet.d.ts +37 -0
  52. package/dist/models/ProjectPermissionSet.js +53 -0
  53. package/dist/models/index.d.ts +9 -0
  54. package/dist/models/index.js +9 -0
  55. package/dist/runtime.js +1 -1
  56. package/package.json +1 -1
@@ -0,0 +1,99 @@
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.AppRegistrationDetailToJSON = exports.AppRegistrationDetailFromJSONTyped = exports.AppRegistrationDetailFromJSON = exports.instanceOfAppRegistrationDetail = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const AppType_1 = require("./AppType");
19
+ const Permission_1 = require("./Permission");
20
+ const PrincipalType_1 = require("./PrincipalType");
21
+ const ProjectPermissionSet_1 = require("./ProjectPermissionSet");
22
+ /**
23
+ * Check if a given object implements the AppRegistrationDetail interface.
24
+ */
25
+ function instanceOfAppRegistrationDetail(value) {
26
+ let isInstance = true;
27
+ isInstance = isInstance && "id" in value;
28
+ isInstance = isInstance && "clientId" in value;
29
+ isInstance = isInstance && "name" in value;
30
+ isInstance = isInstance && "description" in value;
31
+ isInstance = isInstance && "principalType" in value;
32
+ isInstance = isInstance && "type" in value;
33
+ isInstance = isInstance && "allowedIps" in value;
34
+ isInstance = isInstance && "secretGeneratedAt" in value;
35
+ isInstance = isInstance && "secretGeneratedBy" in value;
36
+ isInstance = isInstance && "projectPermissions" in value;
37
+ isInstance = isInstance && "globalPermissions" in value;
38
+ isInstance = isInstance && "isArchived" in value;
39
+ isInstance = isInstance && "createdAt" in value;
40
+ isInstance = isInstance && "updatedAt" in value;
41
+ isInstance = isInstance && "createdBy" in value;
42
+ return isInstance;
43
+ }
44
+ exports.instanceOfAppRegistrationDetail = instanceOfAppRegistrationDetail;
45
+ function AppRegistrationDetailFromJSON(json) {
46
+ return AppRegistrationDetailFromJSONTyped(json, false);
47
+ }
48
+ exports.AppRegistrationDetailFromJSON = AppRegistrationDetailFromJSON;
49
+ function AppRegistrationDetailFromJSONTyped(json, ignoreDiscriminator) {
50
+ if ((json === undefined) || (json === null)) {
51
+ return json;
52
+ }
53
+ return {
54
+ 'id': json['id'],
55
+ 'clientId': json['clientId'],
56
+ 'name': json['name'],
57
+ 'description': json['description'],
58
+ 'principalType': (0, PrincipalType_1.PrincipalTypeFromJSON)(json['principalType']),
59
+ 'type': (0, AppType_1.AppTypeFromJSON)(json['type']),
60
+ 'allowedIps': json['allowedIps'],
61
+ 'secretExpiresAt': !(0, runtime_1.exists)(json, 'secretExpiresAt') ? undefined : (json['secretExpiresAt'] === null ? null : new Date(json['secretExpiresAt'])),
62
+ 'secretGeneratedAt': (new Date(json['secretGeneratedAt'])),
63
+ 'secretGeneratedBy': json['secretGeneratedBy'],
64
+ 'projectPermissions': (json['projectPermissions'].map(ProjectPermissionSet_1.ProjectPermissionSetFromJSON)),
65
+ 'globalPermissions': (json['globalPermissions'].map(Permission_1.PermissionFromJSON)),
66
+ 'isArchived': json['isArchived'],
67
+ 'createdAt': (new Date(json['createdAt'])),
68
+ 'updatedAt': (new Date(json['updatedAt'])),
69
+ 'createdBy': json['createdBy'],
70
+ };
71
+ }
72
+ exports.AppRegistrationDetailFromJSONTyped = AppRegistrationDetailFromJSONTyped;
73
+ function AppRegistrationDetailToJSON(value) {
74
+ if (value === undefined) {
75
+ return undefined;
76
+ }
77
+ if (value === null) {
78
+ return null;
79
+ }
80
+ return {
81
+ 'id': value.id,
82
+ 'clientId': value.clientId,
83
+ 'name': value.name,
84
+ 'description': value.description,
85
+ 'principalType': (0, PrincipalType_1.PrincipalTypeToJSON)(value.principalType),
86
+ 'type': (0, AppType_1.AppTypeToJSON)(value.type),
87
+ 'allowedIps': value.allowedIps,
88
+ 'secretExpiresAt': value.secretExpiresAt === undefined ? undefined : (value.secretExpiresAt === null ? null : value.secretExpiresAt.toISOString()),
89
+ 'secretGeneratedAt': (value.secretGeneratedAt.toISOString()),
90
+ 'secretGeneratedBy': value.secretGeneratedBy,
91
+ 'projectPermissions': (value.projectPermissions.map(ProjectPermissionSet_1.ProjectPermissionSetToJSON)),
92
+ 'globalPermissions': (value.globalPermissions.map(Permission_1.PermissionToJSON)),
93
+ 'isArchived': value.isArchived,
94
+ 'createdAt': (value.createdAt.toISOString()),
95
+ 'updatedAt': (value.updatedAt.toISOString()),
96
+ 'createdBy': value.createdBy,
97
+ };
98
+ }
99
+ exports.AppRegistrationDetailToJSON = AppRegistrationDetailToJSON;
@@ -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,75 @@
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.AppRegistrationInputToJSON = exports.AppRegistrationInputFromJSONTyped = exports.AppRegistrationInputFromJSON = exports.instanceOfAppRegistrationInput = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const AppType_1 = require("./AppType");
19
+ const Permission_1 = require("./Permission");
20
+ const PrincipalType_1 = require("./PrincipalType");
21
+ const ProjectPermissionSet_1 = require("./ProjectPermissionSet");
22
+ /**
23
+ * Check if a given object implements the AppRegistrationInput interface.
24
+ */
25
+ function instanceOfAppRegistrationInput(value) {
26
+ let isInstance = true;
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 && "allowedIps" in value;
32
+ isInstance = isInstance && "projectPermissions" in value;
33
+ isInstance = isInstance && "globalPermissions" in value;
34
+ return isInstance;
35
+ }
36
+ exports.instanceOfAppRegistrationInput = instanceOfAppRegistrationInput;
37
+ function AppRegistrationInputFromJSON(json) {
38
+ return AppRegistrationInputFromJSONTyped(json, false);
39
+ }
40
+ exports.AppRegistrationInputFromJSON = AppRegistrationInputFromJSON;
41
+ function AppRegistrationInputFromJSONTyped(json, ignoreDiscriminator) {
42
+ if ((json === undefined) || (json === null)) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'name': json['name'],
47
+ 'description': json['description'],
48
+ 'principalType': (0, PrincipalType_1.PrincipalTypeFromJSON)(json['principalType']),
49
+ 'type': (0, AppType_1.AppTypeFromJSON)(json['type']),
50
+ 'allowedIps': json['allowedIps'],
51
+ 'secretExpiresAt': !(0, runtime_1.exists)(json, 'secretExpiresAt') ? undefined : (json['secretExpiresAt'] === null ? null : new Date(json['secretExpiresAt'])),
52
+ 'projectPermissions': (json['projectPermissions'].map(ProjectPermissionSet_1.ProjectPermissionSetFromJSON)),
53
+ 'globalPermissions': (json['globalPermissions'].map(Permission_1.PermissionFromJSON)),
54
+ };
55
+ }
56
+ exports.AppRegistrationInputFromJSONTyped = AppRegistrationInputFromJSONTyped;
57
+ function AppRegistrationInputToJSON(value) {
58
+ if (value === undefined) {
59
+ return undefined;
60
+ }
61
+ if (value === null) {
62
+ return null;
63
+ }
64
+ return {
65
+ 'name': value.name,
66
+ 'description': value.description,
67
+ 'principalType': (0, PrincipalType_1.PrincipalTypeToJSON)(value.principalType),
68
+ 'type': (0, AppType_1.AppTypeToJSON)(value.type),
69
+ 'allowedIps': value.allowedIps,
70
+ 'secretExpiresAt': value.secretExpiresAt === undefined ? undefined : (value.secretExpiresAt === null ? null : value.secretExpiresAt.toISOString()),
71
+ 'projectPermissions': (value.projectPermissions.map(ProjectPermissionSet_1.ProjectPermissionSetToJSON)),
72
+ 'globalPermissions': (value.globalPermissions.map(Permission_1.PermissionToJSON)),
73
+ };
74
+ }
75
+ exports.AppRegistrationInputToJSON = AppRegistrationInputToJSON;
@@ -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,59 @@
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.AppRegistrationSecretResponseToJSON = exports.AppRegistrationSecretResponseFromJSONTyped = exports.AppRegistrationSecretResponseFromJSON = exports.instanceOfAppRegistrationSecretResponse = void 0;
17
+ /**
18
+ * Check if a given object implements the AppRegistrationSecretResponse interface.
19
+ */
20
+ function instanceOfAppRegistrationSecretResponse(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "id" in value;
23
+ isInstance = isInstance && "clientId" in value;
24
+ isInstance = isInstance && "clientSecret" in value;
25
+ isInstance = isInstance && "secretGeneratedAt" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfAppRegistrationSecretResponse = instanceOfAppRegistrationSecretResponse;
29
+ function AppRegistrationSecretResponseFromJSON(json) {
30
+ return AppRegistrationSecretResponseFromJSONTyped(json, false);
31
+ }
32
+ exports.AppRegistrationSecretResponseFromJSON = AppRegistrationSecretResponseFromJSON;
33
+ function AppRegistrationSecretResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'id': json['id'],
39
+ 'clientId': json['clientId'],
40
+ 'clientSecret': json['clientSecret'],
41
+ 'secretGeneratedAt': (new Date(json['secretGeneratedAt'])),
42
+ };
43
+ }
44
+ exports.AppRegistrationSecretResponseFromJSONTyped = AppRegistrationSecretResponseFromJSONTyped;
45
+ function AppRegistrationSecretResponseToJSON(value) {
46
+ if (value === undefined) {
47
+ return undefined;
48
+ }
49
+ if (value === null) {
50
+ return null;
51
+ }
52
+ return {
53
+ 'id': value.id,
54
+ 'clientId': value.clientId,
55
+ 'clientSecret': value.clientSecret,
56
+ 'secretGeneratedAt': (value.secretGeneratedAt.toISOString()),
57
+ };
58
+ }
59
+ exports.AppRegistrationSecretResponseToJSON = AppRegistrationSecretResponseToJSON;
@@ -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,37 @@
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.AppTypeToJSON = exports.AppTypeFromJSONTyped = exports.AppTypeFromJSON = exports.AppType = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var AppType;
23
+ (function (AppType) {
24
+ AppType["ConfidentialClient"] = "CONFIDENTIAL_CLIENT";
25
+ })(AppType = exports.AppType || (exports.AppType = {}));
26
+ function AppTypeFromJSON(json) {
27
+ return AppTypeFromJSONTyped(json, false);
28
+ }
29
+ exports.AppTypeFromJSON = AppTypeFromJSON;
30
+ function AppTypeFromJSONTyped(json, ignoreDiscriminator) {
31
+ return json;
32
+ }
33
+ exports.AppTypeFromJSONTyped = AppTypeFromJSONTyped;
34
+ function AppTypeToJSON(value) {
35
+ return value;
36
+ }
37
+ exports.AppTypeToJSON = AppTypeToJSON;
@@ -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.
@@ -24,6 +24,7 @@ function instanceOfFeatureFlags(value) {
24
24
  isInstance = isInstance && "projectRequestsEnabled" in value;
25
25
  isInstance = isInstance && "workspacesEnabled" in value;
26
26
  isInstance = isInstance && "driveEnabled" in value;
27
+ isInstance = isInstance && "appRegistrationsEnabled" in value;
27
28
  return isInstance;
28
29
  }
29
30
  exports.instanceOfFeatureFlags = instanceOfFeatureFlags;
@@ -41,6 +42,7 @@ function FeatureFlagsFromJSONTyped(json, ignoreDiscriminator) {
41
42
  'projectRequestsEnabled': json['projectRequestsEnabled'],
42
43
  'workspacesEnabled': json['workspacesEnabled'],
43
44
  'driveEnabled': json['driveEnabled'],
45
+ 'appRegistrationsEnabled': json['appRegistrationsEnabled'],
44
46
  };
45
47
  }
46
48
  exports.FeatureFlagsFromJSONTyped = FeatureFlagsFromJSONTyped;
@@ -57,6 +59,7 @@ function FeatureFlagsToJSON(value) {
57
59
  'projectRequestsEnabled': value.projectRequestsEnabled,
58
60
  'workspacesEnabled': value.workspacesEnabled,
59
61
  'driveEnabled': value.driveEnabled,
62
+ 'appRegistrationsEnabled': value.appRegistrationsEnabled,
60
63
  };
61
64
  }
62
65
  exports.FeatureFlagsToJSON = FeatureFlagsToJSON;
@@ -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,54 @@
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.PaginatedResponseAppRegistrationDtoToJSON = exports.PaginatedResponseAppRegistrationDtoFromJSONTyped = exports.PaginatedResponseAppRegistrationDtoFromJSON = exports.instanceOfPaginatedResponseAppRegistrationDto = void 0;
17
+ const AppRegistration_1 = require("./AppRegistration");
18
+ /**
19
+ * Check if a given object implements the PaginatedResponseAppRegistrationDto interface.
20
+ */
21
+ function instanceOfPaginatedResponseAppRegistrationDto(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "data" in value;
24
+ isInstance = isInstance && "nextToken" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfPaginatedResponseAppRegistrationDto = instanceOfPaginatedResponseAppRegistrationDto;
28
+ function PaginatedResponseAppRegistrationDtoFromJSON(json) {
29
+ return PaginatedResponseAppRegistrationDtoFromJSONTyped(json, false);
30
+ }
31
+ exports.PaginatedResponseAppRegistrationDtoFromJSON = PaginatedResponseAppRegistrationDtoFromJSON;
32
+ function PaginatedResponseAppRegistrationDtoFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'data': (json['data'].map(AppRegistration_1.AppRegistrationFromJSON)),
38
+ 'nextToken': json['nextToken'],
39
+ };
40
+ }
41
+ exports.PaginatedResponseAppRegistrationDtoFromJSONTyped = PaginatedResponseAppRegistrationDtoFromJSONTyped;
42
+ function PaginatedResponseAppRegistrationDtoToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'data': (value.data.map(AppRegistration_1.AppRegistrationToJSON)),
51
+ 'nextToken': value.nextToken,
52
+ };
53
+ }
54
+ exports.PaginatedResponseAppRegistrationDtoToJSON = PaginatedResponseAppRegistrationDtoToJSON;
@@ -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;