@cirrobio/api-client 0.1.0 → 0.1.2
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/.openapi-generator/FILES +6 -0
- package/README.md +1 -1
- package/dist/apis/AuditApi.d.ts +44 -0
- package/dist/apis/AuditApi.js +175 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AuditEvent.d.ts +89 -0
- package/dist/models/AuditEvent.js +68 -0
- package/dist/models/ColumnDefinition.d.ts +43 -0
- package/dist/models/ColumnDefinition.js +54 -0
- package/dist/models/DatasetAssetsManifest.d.ts +7 -0
- package/dist/models/DatasetAssetsManifest.js +3 -0
- package/dist/models/LoginProvider.d.ts +49 -0
- package/dist/models/LoginProvider.js +59 -0
- package/dist/models/Process.d.ts +6 -0
- package/dist/models/Process.js +2 -0
- package/dist/models/ProcessDetail.d.ts +6 -0
- package/dist/models/ProcessDetail.js +2 -0
- package/dist/models/SystemInfoResponse.d.ts +8 -1
- package/dist/models/SystemInfoResponse.js +7 -3
- package/dist/models/Table.d.ts +62 -0
- package/dist/models/Table.js +62 -0
- package/dist/models/TenantInfo.d.ts +80 -0
- package/dist/models/TenantInfo.js +75 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
- package/src/apis/AuditApi.ts +106 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AuditEvent.ts +137 -0
- package/src/models/ColumnDefinition.ts +81 -0
- package/src/models/DatasetAssetsManifest.ts +14 -0
- package/src/models/LoginProvider.ts +93 -0
- package/src/models/Process.ts +8 -0
- package/src/models/ProcessDetail.ts +8 -0
- package/src/models/SystemInfoResponse.ts +19 -4
- package/src/models/Table.ts +113 -0
- package/src/models/TenantInfo.ts +145 -0
- package/src/models/index.ts +5 -0
|
@@ -0,0 +1,145 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { LoginProvider } from './LoginProvider';
|
|
17
|
+
import {
|
|
18
|
+
LoginProviderFromJSON,
|
|
19
|
+
LoginProviderFromJSONTyped,
|
|
20
|
+
LoginProviderToJSON,
|
|
21
|
+
} from './LoginProvider';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface TenantInfo
|
|
27
|
+
*/
|
|
28
|
+
export interface TenantInfo {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof TenantInfo
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof TenantInfo
|
|
39
|
+
*/
|
|
40
|
+
name: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof TenantInfo
|
|
45
|
+
*/
|
|
46
|
+
description: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof TenantInfo
|
|
51
|
+
*/
|
|
52
|
+
location: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof TenantInfo
|
|
57
|
+
*/
|
|
58
|
+
contactEmail: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof TenantInfo
|
|
63
|
+
*/
|
|
64
|
+
tenantLogoUrl: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof TenantInfo
|
|
69
|
+
*/
|
|
70
|
+
termsOfServiceUrl: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof TenantInfo
|
|
75
|
+
*/
|
|
76
|
+
privacyPolicyUrl: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Array<LoginProvider>}
|
|
80
|
+
* @memberof TenantInfo
|
|
81
|
+
*/
|
|
82
|
+
loginProviders: Array<LoginProvider>;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the TenantInfo interface.
|
|
87
|
+
*/
|
|
88
|
+
export function instanceOfTenantInfo(value: object): boolean {
|
|
89
|
+
let isInstance = true;
|
|
90
|
+
isInstance = isInstance && "id" in value;
|
|
91
|
+
isInstance = isInstance && "name" in value;
|
|
92
|
+
isInstance = isInstance && "description" in value;
|
|
93
|
+
isInstance = isInstance && "location" in value;
|
|
94
|
+
isInstance = isInstance && "contactEmail" in value;
|
|
95
|
+
isInstance = isInstance && "tenantLogoUrl" in value;
|
|
96
|
+
isInstance = isInstance && "termsOfServiceUrl" in value;
|
|
97
|
+
isInstance = isInstance && "privacyPolicyUrl" in value;
|
|
98
|
+
isInstance = isInstance && "loginProviders" in value;
|
|
99
|
+
|
|
100
|
+
return isInstance;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function TenantInfoFromJSON(json: any): TenantInfo {
|
|
104
|
+
return TenantInfoFromJSONTyped(json, false);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export function TenantInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantInfo {
|
|
108
|
+
if ((json === undefined) || (json === null)) {
|
|
109
|
+
return json;
|
|
110
|
+
}
|
|
111
|
+
return {
|
|
112
|
+
|
|
113
|
+
'id': json['id'],
|
|
114
|
+
'name': json['name'],
|
|
115
|
+
'description': json['description'],
|
|
116
|
+
'location': json['location'],
|
|
117
|
+
'contactEmail': json['contactEmail'],
|
|
118
|
+
'tenantLogoUrl': json['tenantLogoUrl'],
|
|
119
|
+
'termsOfServiceUrl': json['termsOfServiceUrl'],
|
|
120
|
+
'privacyPolicyUrl': json['privacyPolicyUrl'],
|
|
121
|
+
'loginProviders': ((json['loginProviders'] as Array<any>).map(LoginProviderFromJSON)),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function TenantInfoToJSON(value?: TenantInfo | null): any {
|
|
126
|
+
if (value === undefined) {
|
|
127
|
+
return undefined;
|
|
128
|
+
}
|
|
129
|
+
if (value === null) {
|
|
130
|
+
return null;
|
|
131
|
+
}
|
|
132
|
+
return {
|
|
133
|
+
|
|
134
|
+
'id': value.id,
|
|
135
|
+
'name': value.name,
|
|
136
|
+
'description': value.description,
|
|
137
|
+
'location': value.location,
|
|
138
|
+
'contactEmail': value.contactEmail,
|
|
139
|
+
'tenantLogoUrl': value.tenantLogoUrl,
|
|
140
|
+
'termsOfServiceUrl': value.termsOfServiceUrl,
|
|
141
|
+
'privacyPolicyUrl': value.privacyPolicyUrl,
|
|
142
|
+
'loginProviders': ((value.loginProviders as Array<any>).map(LoginProviderToJSON)),
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
export * from './AWSCredentials';
|
|
4
4
|
export * from './AccessType';
|
|
5
5
|
export * from './AllowedDataType';
|
|
6
|
+
export * from './AuditEvent';
|
|
6
7
|
export * from './BillingAccount';
|
|
7
8
|
export * from './BillingAccountRequest';
|
|
8
9
|
export * from './BillingMethod';
|
|
9
10
|
export * from './BudgetPeriod';
|
|
10
11
|
export * from './CloudAccount';
|
|
12
|
+
export * from './ColumnDefinition';
|
|
11
13
|
export * from './Contact';
|
|
12
14
|
export * from './CreateNotebookInstanceRequest';
|
|
13
15
|
export * from './CreateReferenceRequest';
|
|
@@ -33,6 +35,7 @@ export * from './ImportDataRequest';
|
|
|
33
35
|
export * from './InviteUserRequest';
|
|
34
36
|
export * from './InviteUserResponse';
|
|
35
37
|
export * from './LogEntry';
|
|
38
|
+
export * from './LoginProvider';
|
|
36
39
|
export * from './MetricRecord';
|
|
37
40
|
export * from './NotebookInstance';
|
|
38
41
|
export * from './NotebookInstanceStatusResponse';
|
|
@@ -64,8 +67,10 @@ export * from './Status';
|
|
|
64
67
|
export * from './StopExecutionResponse';
|
|
65
68
|
export * from './SyncStatus';
|
|
66
69
|
export * from './SystemInfoResponse';
|
|
70
|
+
export * from './Table';
|
|
67
71
|
export * from './Tag';
|
|
68
72
|
export * from './Task';
|
|
73
|
+
export * from './TenantInfo';
|
|
69
74
|
export * from './UpdateDatasetRequest';
|
|
70
75
|
export * from './UpdateUserRequest';
|
|
71
76
|
export * from './UploadDatasetCreateResponse';
|