@cirrobio/api-client 0.12.18 → 0.12.20
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/esm/models/AppRegistration.d.ts +7 -0
- package/dist/esm/models/AppRegistration.js +4 -0
- package/dist/esm/models/AppRegistrationDetail.d.ts +18 -0
- package/dist/esm/models/AppRegistrationDetail.js +6 -0
- package/dist/esm/models/WorkspaceComputeConfig.d.ts +6 -0
- package/dist/esm/models/WorkspaceComputeConfig.js +2 -0
- package/dist/models/AppRegistration.d.ts +7 -0
- package/dist/models/AppRegistration.js +4 -0
- package/dist/models/AppRegistrationDetail.d.ts +18 -0
- package/dist/models/AppRegistrationDetail.js +6 -0
- package/dist/models/WorkspaceComputeConfig.d.ts +6 -0
- package/dist/models/WorkspaceComputeConfig.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AppClientType } from './AppClientType';
|
|
12
13
|
import type { AppType } from './AppType';
|
|
13
14
|
import type { PrincipalType } from './PrincipalType';
|
|
14
15
|
/**
|
|
@@ -53,6 +54,12 @@ export interface AppRegistration {
|
|
|
53
54
|
* @memberof AppRegistration
|
|
54
55
|
*/
|
|
55
56
|
type: AppType;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {AppClientType}
|
|
60
|
+
* @memberof AppRegistration
|
|
61
|
+
*/
|
|
62
|
+
clientType: AppClientType;
|
|
56
63
|
/**
|
|
57
64
|
*
|
|
58
65
|
* @type {Date}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
+
import { AppClientTypeFromJSON, AppClientTypeToJSON, } from './AppClientType';
|
|
15
16
|
import { AppTypeFromJSON, AppTypeToJSON, } from './AppType';
|
|
16
17
|
import { PrincipalTypeFromJSON, PrincipalTypeToJSON, } from './PrincipalType';
|
|
17
18
|
/**
|
|
@@ -25,6 +26,7 @@ export function instanceOfAppRegistration(value) {
|
|
|
25
26
|
isInstance = isInstance && "description" in value;
|
|
26
27
|
isInstance = isInstance && "principalType" in value;
|
|
27
28
|
isInstance = isInstance && "type" in value;
|
|
29
|
+
isInstance = isInstance && "clientType" in value;
|
|
28
30
|
isInstance = isInstance && "isArchived" in value;
|
|
29
31
|
isInstance = isInstance && "requiresAdminConsent" in value;
|
|
30
32
|
isInstance = isInstance && "updatedAt" in value;
|
|
@@ -46,6 +48,7 @@ export function AppRegistrationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
48
|
'description': json['description'],
|
|
47
49
|
'principalType': PrincipalTypeFromJSON(json['principalType']),
|
|
48
50
|
'type': AppTypeFromJSON(json['type']),
|
|
51
|
+
'clientType': AppClientTypeFromJSON(json['clientType']),
|
|
49
52
|
'secretExpiresAt': !exists(json, 'secretExpiresAt') ? undefined : (json['secretExpiresAt'] === null ? null : new Date(json['secretExpiresAt'])),
|
|
50
53
|
'isArchived': json['isArchived'],
|
|
51
54
|
'requiresAdminConsent': json['requiresAdminConsent'],
|
|
@@ -68,6 +71,7 @@ export function AppRegistrationToJSON(value) {
|
|
|
68
71
|
'description': value.description,
|
|
69
72
|
'principalType': PrincipalTypeToJSON(value.principalType),
|
|
70
73
|
'type': AppTypeToJSON(value.type),
|
|
74
|
+
'clientType': AppClientTypeToJSON(value.clientType),
|
|
71
75
|
'secretExpiresAt': value.secretExpiresAt === undefined ? undefined : (value.secretExpiresAt === null ? null : value.secretExpiresAt.toISOString()),
|
|
72
76
|
'isArchived': value.isArchived,
|
|
73
77
|
'requiresAdminConsent': value.requiresAdminConsent,
|
|
@@ -68,6 +68,12 @@ export interface AppRegistrationDetail {
|
|
|
68
68
|
* @memberof AppRegistrationDetail
|
|
69
69
|
*/
|
|
70
70
|
allowedIps?: Array<string> | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof AppRegistrationDetail
|
|
75
|
+
*/
|
|
76
|
+
redirectUris?: Array<string> | null;
|
|
71
77
|
/**
|
|
72
78
|
*
|
|
73
79
|
* @type {Date}
|
|
@@ -110,6 +116,18 @@ export interface AppRegistrationDetail {
|
|
|
110
116
|
* @memberof AppRegistrationDetail
|
|
111
117
|
*/
|
|
112
118
|
requiresAdminConsent: boolean;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {Date}
|
|
122
|
+
* @memberof AppRegistrationDetail
|
|
123
|
+
*/
|
|
124
|
+
approvedAt?: Date | null;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof AppRegistrationDetail
|
|
129
|
+
*/
|
|
130
|
+
approvedBy?: string | null;
|
|
113
131
|
/**
|
|
114
132
|
*
|
|
115
133
|
* @type {Date}
|
|
@@ -54,6 +54,7 @@ export function AppRegistrationDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
'type': AppTypeFromJSON(json['type']),
|
|
55
55
|
'clientType': AppClientTypeFromJSON(json['clientType']),
|
|
56
56
|
'allowedIps': !exists(json, 'allowedIps') ? undefined : json['allowedIps'],
|
|
57
|
+
'redirectUris': !exists(json, 'redirectUris') ? undefined : json['redirectUris'],
|
|
57
58
|
'secretExpiresAt': !exists(json, 'secretExpiresAt') ? undefined : (json['secretExpiresAt'] === null ? null : new Date(json['secretExpiresAt'])),
|
|
58
59
|
'secretGeneratedAt': !exists(json, 'secretGeneratedAt') ? undefined : (json['secretGeneratedAt'] === null ? null : new Date(json['secretGeneratedAt'])),
|
|
59
60
|
'secretGeneratedBy': !exists(json, 'secretGeneratedBy') ? undefined : json['secretGeneratedBy'],
|
|
@@ -61,6 +62,8 @@ export function AppRegistrationDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
62
|
'globalPermissions': (json['globalPermissions'].map(PermissionFromJSON)),
|
|
62
63
|
'isArchived': json['isArchived'],
|
|
63
64
|
'requiresAdminConsent': json['requiresAdminConsent'],
|
|
65
|
+
'approvedAt': !exists(json, 'approvedAt') ? undefined : (json['approvedAt'] === null ? null : new Date(json['approvedAt'])),
|
|
66
|
+
'approvedBy': !exists(json, 'approvedBy') ? undefined : json['approvedBy'],
|
|
64
67
|
'createdAt': (new Date(json['createdAt'])),
|
|
65
68
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
66
69
|
'createdBy': json['createdBy'],
|
|
@@ -82,6 +85,7 @@ export function AppRegistrationDetailToJSON(value) {
|
|
|
82
85
|
'type': AppTypeToJSON(value.type),
|
|
83
86
|
'clientType': AppClientTypeToJSON(value.clientType),
|
|
84
87
|
'allowedIps': value.allowedIps,
|
|
88
|
+
'redirectUris': value.redirectUris,
|
|
85
89
|
'secretExpiresAt': value.secretExpiresAt === undefined ? undefined : (value.secretExpiresAt === null ? null : value.secretExpiresAt.toISOString()),
|
|
86
90
|
'secretGeneratedAt': value.secretGeneratedAt === undefined ? undefined : (value.secretGeneratedAt === null ? null : value.secretGeneratedAt.toISOString()),
|
|
87
91
|
'secretGeneratedBy': value.secretGeneratedBy,
|
|
@@ -89,6 +93,8 @@ export function AppRegistrationDetailToJSON(value) {
|
|
|
89
93
|
'globalPermissions': (value.globalPermissions.map(PermissionToJSON)),
|
|
90
94
|
'isArchived': value.isArchived,
|
|
91
95
|
'requiresAdminConsent': value.requiresAdminConsent,
|
|
96
|
+
'approvedAt': value.approvedAt === undefined ? undefined : (value.approvedAt === null ? null : value.approvedAt.toISOString()),
|
|
97
|
+
'approvedBy': value.approvedBy,
|
|
92
98
|
'createdAt': (value.createdAt.toISOString()),
|
|
93
99
|
'updatedAt': (value.updatedAt.toISOString()),
|
|
94
100
|
'createdBy': value.createdBy,
|
|
@@ -45,6 +45,12 @@ export interface WorkspaceComputeConfig {
|
|
|
45
45
|
* @memberof WorkspaceComputeConfig
|
|
46
46
|
*/
|
|
47
47
|
gpu?: number;
|
|
48
|
+
/**
|
|
49
|
+
* NVIDIA GPU model. When null, AWS selects from any available GPU instance family.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof WorkspaceComputeConfig
|
|
52
|
+
*/
|
|
53
|
+
gpuModel?: string | null;
|
|
48
54
|
/**
|
|
49
55
|
* Map of environment variables injected into the container at runtime. Keys must be non-blank.
|
|
50
56
|
* @type {{ [key: string]: string; }}
|
|
@@ -33,6 +33,7 @@ export function WorkspaceComputeConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'memoryGiB': !exists(json, 'memoryGiB') ? undefined : json['memoryGiB'],
|
|
34
34
|
'volumeSizeGiB': !exists(json, 'volumeSizeGiB') ? undefined : json['volumeSizeGiB'],
|
|
35
35
|
'gpu': !exists(json, 'gpu') ? undefined : json['gpu'],
|
|
36
|
+
'gpuModel': !exists(json, 'gpuModel') ? undefined : json['gpuModel'],
|
|
36
37
|
'environmentVariables': !exists(json, 'environmentVariables') ? undefined : json['environmentVariables'],
|
|
37
38
|
'localPort': !exists(json, 'localPort') ? undefined : json['localPort'],
|
|
38
39
|
};
|
|
@@ -50,6 +51,7 @@ export function WorkspaceComputeConfigToJSON(value) {
|
|
|
50
51
|
'memoryGiB': value.memoryGiB,
|
|
51
52
|
'volumeSizeGiB': value.volumeSizeGiB,
|
|
52
53
|
'gpu': value.gpu,
|
|
54
|
+
'gpuModel': value.gpuModel,
|
|
53
55
|
'environmentVariables': value.environmentVariables,
|
|
54
56
|
'localPort': value.localPort,
|
|
55
57
|
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AppClientType } from './AppClientType';
|
|
12
13
|
import type { AppType } from './AppType';
|
|
13
14
|
import type { PrincipalType } from './PrincipalType';
|
|
14
15
|
/**
|
|
@@ -53,6 +54,12 @@ export interface AppRegistration {
|
|
|
53
54
|
* @memberof AppRegistration
|
|
54
55
|
*/
|
|
55
56
|
type: AppType;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {AppClientType}
|
|
60
|
+
* @memberof AppRegistration
|
|
61
|
+
*/
|
|
62
|
+
clientType: AppClientType;
|
|
56
63
|
/**
|
|
57
64
|
*
|
|
58
65
|
* @type {Date}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AppRegistrationToJSON = exports.AppRegistrationFromJSONTyped = exports.AppRegistrationFromJSON = exports.instanceOfAppRegistration = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
const AppClientType_1 = require("./AppClientType");
|
|
18
19
|
const AppType_1 = require("./AppType");
|
|
19
20
|
const PrincipalType_1 = require("./PrincipalType");
|
|
20
21
|
/**
|
|
@@ -28,6 +29,7 @@ function instanceOfAppRegistration(value) {
|
|
|
28
29
|
isInstance = isInstance && "description" in value;
|
|
29
30
|
isInstance = isInstance && "principalType" in value;
|
|
30
31
|
isInstance = isInstance && "type" in value;
|
|
32
|
+
isInstance = isInstance && "clientType" in value;
|
|
31
33
|
isInstance = isInstance && "isArchived" in value;
|
|
32
34
|
isInstance = isInstance && "requiresAdminConsent" in value;
|
|
33
35
|
isInstance = isInstance && "updatedAt" in value;
|
|
@@ -51,6 +53,7 @@ function AppRegistrationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
'description': json['description'],
|
|
52
54
|
'principalType': (0, PrincipalType_1.PrincipalTypeFromJSON)(json['principalType']),
|
|
53
55
|
'type': (0, AppType_1.AppTypeFromJSON)(json['type']),
|
|
56
|
+
'clientType': (0, AppClientType_1.AppClientTypeFromJSON)(json['clientType']),
|
|
54
57
|
'secretExpiresAt': !(0, runtime_1.exists)(json, 'secretExpiresAt') ? undefined : (json['secretExpiresAt'] === null ? null : new Date(json['secretExpiresAt'])),
|
|
55
58
|
'isArchived': json['isArchived'],
|
|
56
59
|
'requiresAdminConsent': json['requiresAdminConsent'],
|
|
@@ -74,6 +77,7 @@ function AppRegistrationToJSON(value) {
|
|
|
74
77
|
'description': value.description,
|
|
75
78
|
'principalType': (0, PrincipalType_1.PrincipalTypeToJSON)(value.principalType),
|
|
76
79
|
'type': (0, AppType_1.AppTypeToJSON)(value.type),
|
|
80
|
+
'clientType': (0, AppClientType_1.AppClientTypeToJSON)(value.clientType),
|
|
77
81
|
'secretExpiresAt': value.secretExpiresAt === undefined ? undefined : (value.secretExpiresAt === null ? null : value.secretExpiresAt.toISOString()),
|
|
78
82
|
'isArchived': value.isArchived,
|
|
79
83
|
'requiresAdminConsent': value.requiresAdminConsent,
|
|
@@ -68,6 +68,12 @@ export interface AppRegistrationDetail {
|
|
|
68
68
|
* @memberof AppRegistrationDetail
|
|
69
69
|
*/
|
|
70
70
|
allowedIps?: Array<string> | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof AppRegistrationDetail
|
|
75
|
+
*/
|
|
76
|
+
redirectUris?: Array<string> | null;
|
|
71
77
|
/**
|
|
72
78
|
*
|
|
73
79
|
* @type {Date}
|
|
@@ -110,6 +116,18 @@ export interface AppRegistrationDetail {
|
|
|
110
116
|
* @memberof AppRegistrationDetail
|
|
111
117
|
*/
|
|
112
118
|
requiresAdminConsent: boolean;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {Date}
|
|
122
|
+
* @memberof AppRegistrationDetail
|
|
123
|
+
*/
|
|
124
|
+
approvedAt?: Date | null;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof AppRegistrationDetail
|
|
129
|
+
*/
|
|
130
|
+
approvedBy?: string | null;
|
|
113
131
|
/**
|
|
114
132
|
*
|
|
115
133
|
* @type {Date}
|
|
@@ -59,6 +59,7 @@ function AppRegistrationDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
59
|
'type': (0, AppType_1.AppTypeFromJSON)(json['type']),
|
|
60
60
|
'clientType': (0, AppClientType_1.AppClientTypeFromJSON)(json['clientType']),
|
|
61
61
|
'allowedIps': !(0, runtime_1.exists)(json, 'allowedIps') ? undefined : json['allowedIps'],
|
|
62
|
+
'redirectUris': !(0, runtime_1.exists)(json, 'redirectUris') ? undefined : json['redirectUris'],
|
|
62
63
|
'secretExpiresAt': !(0, runtime_1.exists)(json, 'secretExpiresAt') ? undefined : (json['secretExpiresAt'] === null ? null : new Date(json['secretExpiresAt'])),
|
|
63
64
|
'secretGeneratedAt': !(0, runtime_1.exists)(json, 'secretGeneratedAt') ? undefined : (json['secretGeneratedAt'] === null ? null : new Date(json['secretGeneratedAt'])),
|
|
64
65
|
'secretGeneratedBy': !(0, runtime_1.exists)(json, 'secretGeneratedBy') ? undefined : json['secretGeneratedBy'],
|
|
@@ -66,6 +67,8 @@ function AppRegistrationDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
67
|
'globalPermissions': (json['globalPermissions'].map(Permission_1.PermissionFromJSON)),
|
|
67
68
|
'isArchived': json['isArchived'],
|
|
68
69
|
'requiresAdminConsent': json['requiresAdminConsent'],
|
|
70
|
+
'approvedAt': !(0, runtime_1.exists)(json, 'approvedAt') ? undefined : (json['approvedAt'] === null ? null : new Date(json['approvedAt'])),
|
|
71
|
+
'approvedBy': !(0, runtime_1.exists)(json, 'approvedBy') ? undefined : json['approvedBy'],
|
|
69
72
|
'createdAt': (new Date(json['createdAt'])),
|
|
70
73
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
71
74
|
'createdBy': json['createdBy'],
|
|
@@ -88,6 +91,7 @@ function AppRegistrationDetailToJSON(value) {
|
|
|
88
91
|
'type': (0, AppType_1.AppTypeToJSON)(value.type),
|
|
89
92
|
'clientType': (0, AppClientType_1.AppClientTypeToJSON)(value.clientType),
|
|
90
93
|
'allowedIps': value.allowedIps,
|
|
94
|
+
'redirectUris': value.redirectUris,
|
|
91
95
|
'secretExpiresAt': value.secretExpiresAt === undefined ? undefined : (value.secretExpiresAt === null ? null : value.secretExpiresAt.toISOString()),
|
|
92
96
|
'secretGeneratedAt': value.secretGeneratedAt === undefined ? undefined : (value.secretGeneratedAt === null ? null : value.secretGeneratedAt.toISOString()),
|
|
93
97
|
'secretGeneratedBy': value.secretGeneratedBy,
|
|
@@ -95,6 +99,8 @@ function AppRegistrationDetailToJSON(value) {
|
|
|
95
99
|
'globalPermissions': (value.globalPermissions.map(Permission_1.PermissionToJSON)),
|
|
96
100
|
'isArchived': value.isArchived,
|
|
97
101
|
'requiresAdminConsent': value.requiresAdminConsent,
|
|
102
|
+
'approvedAt': value.approvedAt === undefined ? undefined : (value.approvedAt === null ? null : value.approvedAt.toISOString()),
|
|
103
|
+
'approvedBy': value.approvedBy,
|
|
98
104
|
'createdAt': (value.createdAt.toISOString()),
|
|
99
105
|
'updatedAt': (value.updatedAt.toISOString()),
|
|
100
106
|
'createdBy': value.createdBy,
|
|
@@ -45,6 +45,12 @@ export interface WorkspaceComputeConfig {
|
|
|
45
45
|
* @memberof WorkspaceComputeConfig
|
|
46
46
|
*/
|
|
47
47
|
gpu?: number;
|
|
48
|
+
/**
|
|
49
|
+
* NVIDIA GPU model. When null, AWS selects from any available GPU instance family.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof WorkspaceComputeConfig
|
|
52
|
+
*/
|
|
53
|
+
gpuModel?: string | null;
|
|
48
54
|
/**
|
|
49
55
|
* Map of environment variables injected into the container at runtime. Keys must be non-blank.
|
|
50
56
|
* @type {{ [key: string]: string; }}
|
|
@@ -38,6 +38,7 @@ function WorkspaceComputeConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'memoryGiB': !(0, runtime_1.exists)(json, 'memoryGiB') ? undefined : json['memoryGiB'],
|
|
39
39
|
'volumeSizeGiB': !(0, runtime_1.exists)(json, 'volumeSizeGiB') ? undefined : json['volumeSizeGiB'],
|
|
40
40
|
'gpu': !(0, runtime_1.exists)(json, 'gpu') ? undefined : json['gpu'],
|
|
41
|
+
'gpuModel': !(0, runtime_1.exists)(json, 'gpuModel') ? undefined : json['gpuModel'],
|
|
41
42
|
'environmentVariables': !(0, runtime_1.exists)(json, 'environmentVariables') ? undefined : json['environmentVariables'],
|
|
42
43
|
'localPort': !(0, runtime_1.exists)(json, 'localPort') ? undefined : json['localPort'],
|
|
43
44
|
};
|
|
@@ -56,6 +57,7 @@ function WorkspaceComputeConfigToJSON(value) {
|
|
|
56
57
|
'memoryGiB': value.memoryGiB,
|
|
57
58
|
'volumeSizeGiB': value.volumeSizeGiB,
|
|
58
59
|
'gpu': value.gpu,
|
|
60
|
+
'gpuModel': value.gpuModel,
|
|
59
61
|
'environmentVariables': value.environmentVariables,
|
|
60
62
|
'localPort': value.localPort,
|
|
61
63
|
};
|