@cirrobio/api-client 0.0.1
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 +54 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +45 -0
- package/dist/apis/BillingApi.d.ts +68 -0
- package/dist/apis/BillingApi.js +264 -0
- package/dist/apis/DatasetsApi.d.ts +88 -0
- package/dist/apis/DatasetsApi.js +335 -0
- package/dist/apis/ExecutionApi.d.ts +96 -0
- package/dist/apis/ExecutionApi.js +394 -0
- package/dist/apis/MetricsApi.d.ts +31 -0
- package/dist/apis/MetricsApi.js +126 -0
- package/dist/apis/NotebooksApi.d.ts +77 -0
- package/dist/apis/NotebooksApi.js +351 -0
- package/dist/apis/ProcessesApi.d.ts +41 -0
- package/dist/apis/ProcessesApi.js +169 -0
- package/dist/apis/ProjectsApi.d.ts +97 -0
- package/dist/apis/ProjectsApi.js +369 -0
- package/dist/apis/SystemApi.d.ts +46 -0
- package/dist/apis/SystemApi.js +207 -0
- package/dist/apis/UsersApi.d.ts +58 -0
- package/dist/apis/UsersApi.js +226 -0
- package/dist/apis/index.d.ts +9 -0
- package/dist/apis/index.js +27 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/BillingAccount.d.ts +82 -0
- package/dist/models/BillingAccount.js +77 -0
- package/dist/models/BillingMethod.d.ts +24 -0
- package/dist/models/BillingMethod.js +37 -0
- package/dist/models/BudgetPeriod.d.ts +24 -0
- package/dist/models/BudgetPeriod.js +37 -0
- package/dist/models/CloudAccount.d.ts +50 -0
- package/dist/models/CloudAccount.js +57 -0
- package/dist/models/Contact.d.ts +49 -0
- package/dist/models/Contact.js +56 -0
- package/dist/models/CreateNotebookInstanceRequest.d.ts +49 -0
- package/dist/models/CreateNotebookInstanceRequest.js +59 -0
- package/dist/models/CreateResponse.d.ts +37 -0
- package/dist/models/CreateResponse.js +53 -0
- package/dist/models/CustomerType.d.ts +25 -0
- package/dist/models/CustomerType.js +38 -0
- package/dist/models/Dataset.d.ts +86 -0
- package/dist/models/Dataset.js +78 -0
- package/dist/models/DatasetDetail.d.ts +114 -0
- package/dist/models/DatasetDetail.js +90 -0
- package/dist/models/DatasetType.d.ts +23 -0
- package/dist/models/DatasetType.js +36 -0
- package/dist/models/Executor.d.ts +24 -0
- package/dist/models/Executor.js +37 -0
- package/dist/models/FormSchema.d.ts +41 -0
- package/dist/models/FormSchema.js +52 -0
- package/dist/models/GetExecutionLogsResponse.d.ts +32 -0
- package/dist/models/GetExecutionLogsResponse.js +51 -0
- package/dist/models/LogEntry.d.ts +37 -0
- package/dist/models/LogEntry.js +53 -0
- package/dist/models/NotebookInstance.d.ts +43 -0
- package/dist/models/NotebookInstance.js +56 -0
- package/dist/models/OpenNotebookInstanceResponse.d.ts +37 -0
- package/dist/models/OpenNotebookInstanceResponse.js +53 -0
- package/dist/models/Process.d.ts +68 -0
- package/dist/models/Process.js +63 -0
- package/dist/models/Project.d.ts +49 -0
- package/dist/models/Project.js +59 -0
- package/dist/models/ProjectDetail.d.ts +100 -0
- package/dist/models/ProjectDetail.js +86 -0
- package/dist/models/ProjectMetrics.d.ts +47 -0
- package/dist/models/ProjectMetrics.js +56 -0
- package/dist/models/ProjectRequest.d.ts +71 -0
- package/dist/models/ProjectRequest.js +72 -0
- package/dist/models/ProjectRole.d.ts +25 -0
- package/dist/models/ProjectRole.js +38 -0
- package/dist/models/ProjectSettings.d.ts +92 -0
- package/dist/models/ProjectSettings.js +71 -0
- package/dist/models/ReferenceType.d.ts +31 -0
- package/dist/models/ReferenceType.js +50 -0
- package/dist/models/Region.d.ts +31 -0
- package/dist/models/Region.js +50 -0
- package/dist/models/RegisterDatasetRequest.d.ts +31 -0
- package/dist/models/RegisterDatasetRequest.js +50 -0
- package/dist/models/ServiceConnection.d.ts +31 -0
- package/dist/models/ServiceConnection.js +50 -0
- package/dist/models/SetUserProjectRoleRequest.d.ts +31 -0
- package/dist/models/SetUserProjectRoleRequest.js +50 -0
- package/dist/models/StopExecutionResponse.d.ts +37 -0
- package/dist/models/StopExecutionResponse.js +52 -0
- package/dist/models/SystemInfoResponse.d.ts +55 -0
- package/dist/models/SystemInfoResponse.js +62 -0
- package/dist/models/Tag.d.ts +37 -0
- package/dist/models/Tag.js +53 -0
- package/dist/models/Task.d.ts +73 -0
- package/dist/models/Task.js +68 -0
- package/dist/models/UpdateDatasetRequest.d.ts +31 -0
- package/dist/models/UpdateDatasetRequest.js +50 -0
- package/dist/models/UpdateUserRequest.d.ts +57 -0
- package/dist/models/UpdateUserRequest.js +62 -0
- package/dist/models/User.d.ts +49 -0
- package/dist/models/User.js +59 -0
- package/dist/models/index.d.ts +36 -0
- package/dist/models/index.js +54 -0
- package/dist/runtime.d.ts +182 -0
- package/dist/runtime.js +562 -0
- package/package.json +22 -0
- package/src/apis/BillingApi.ts +178 -0
- package/src/apis/DatasetsApi.ts +257 -0
- package/src/apis/ExecutionApi.ts +317 -0
- package/src/apis/MetricsApi.ts +66 -0
- package/src/apis/NotebooksApi.ts +261 -0
- package/src/apis/ProcessesApi.ts +97 -0
- package/src/apis/ProjectsApi.ts +283 -0
- package/src/apis/SystemApi.ts +118 -0
- package/src/apis/UsersApi.ts +153 -0
- package/src/apis/index.ts +11 -0
- package/src/index.ts +5 -0
- package/src/models/BillingAccount.ts +157 -0
- package/src/models/BillingMethod.ts +39 -0
- package/src/models/BudgetPeriod.ts +39 -0
- package/src/models/CloudAccount.ts +96 -0
- package/src/models/Contact.ts +89 -0
- package/src/models/CreateNotebookInstanceRequest.ts +93 -0
- package/src/models/CreateResponse.ts +75 -0
- package/src/models/CustomerType.ts +40 -0
- package/src/models/Dataset.ts +154 -0
- package/src/models/DatasetDetail.ts +190 -0
- package/src/models/DatasetType.ts +38 -0
- package/src/models/Executor.ts +39 -0
- package/src/models/FormSchema.ts +73 -0
- package/src/models/GetExecutionLogsResponse.ts +73 -0
- package/src/models/LogEntry.ts +74 -0
- package/src/models/NotebookInstance.ts +84 -0
- package/src/models/OpenNotebookInstanceResponse.ts +75 -0
- package/src/models/Process.ts +120 -0
- package/src/models/Project.ts +93 -0
- package/src/models/ProjectDetail.ts +184 -0
- package/src/models/ProjectMetrics.ts +84 -0
- package/src/models/ProjectRequest.ts +145 -0
- package/src/models/ProjectRole.ts +40 -0
- package/src/models/ProjectSettings.ts +152 -0
- package/src/models/ReferenceType.ts +66 -0
- package/src/models/Region.ts +65 -0
- package/src/models/RegisterDatasetRequest.ts +65 -0
- package/src/models/ServiceConnection.ts +66 -0
- package/src/models/SetUserProjectRoleRequest.ts +65 -0
- package/src/models/StopExecutionResponse.ts +73 -0
- package/src/models/SystemInfoResponse.ts +102 -0
- package/src/models/Tag.ts +75 -0
- package/src/models/Task.ts +125 -0
- package/src/models/UpdateDatasetRequest.ts +65 -0
- package/src/models/UpdateUserRequest.ts +102 -0
- package/src/models/User.ts +93 -0
- package/src/models/index.ts +38 -0
- package/src/runtime.ts +431 -0
- package/templates/README.mustache +45 -0
- package/templates/package.mustache +43 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,226 @@
|
|
|
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
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
41
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
+
function step(op) {
|
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
+
switch (op[0]) {
|
|
49
|
+
case 0: case 1: t = op; break;
|
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
+
default:
|
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
+
if (t[2]) _.ops.pop();
|
|
59
|
+
_.trys.pop(); continue;
|
|
60
|
+
}
|
|
61
|
+
op = body.call(thisArg, _);
|
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
exports.UsersApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var UsersApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(UsersApi, _super);
|
|
75
|
+
function UsersApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Get user information
|
|
80
|
+
* Get user
|
|
81
|
+
*/
|
|
82
|
+
UsersApi.prototype.getUserRaw = function (requestParameters, initOverrides) {
|
|
83
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
+
var queryParameters, headerParameters, response;
|
|
85
|
+
return __generator(this, function (_a) {
|
|
86
|
+
switch (_a.label) {
|
|
87
|
+
case 0:
|
|
88
|
+
if (requestParameters.username === null || requestParameters.username === undefined) {
|
|
89
|
+
throw new runtime.RequiredError('username', 'Required parameter requestParameters.username was null or undefined when calling getUser.');
|
|
90
|
+
}
|
|
91
|
+
queryParameters = {};
|
|
92
|
+
headerParameters = {};
|
|
93
|
+
return [4 /*yield*/, this.request({
|
|
94
|
+
path: "/users/{username}".replace("{".concat("username", "}"), encodeURIComponent(String(requestParameters.username))),
|
|
95
|
+
method: 'GET',
|
|
96
|
+
headers: headerParameters,
|
|
97
|
+
query: queryParameters,
|
|
98
|
+
}, initOverrides)];
|
|
99
|
+
case 1:
|
|
100
|
+
response = _a.sent();
|
|
101
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserFromJSON)(jsonValue); })];
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Get user information
|
|
108
|
+
* Get user
|
|
109
|
+
*/
|
|
110
|
+
UsersApi.prototype.getUser = function (requestParameters, initOverrides) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
112
|
+
var response;
|
|
113
|
+
return __generator(this, function (_a) {
|
|
114
|
+
switch (_a.label) {
|
|
115
|
+
case 0: return [4 /*yield*/, this.getUserRaw(requestParameters, initOverrides)];
|
|
116
|
+
case 1:
|
|
117
|
+
response = _a.sent();
|
|
118
|
+
return [4 /*yield*/, response.value()];
|
|
119
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Gets a list of users matching the username pattern
|
|
126
|
+
* List users
|
|
127
|
+
*/
|
|
128
|
+
UsersApi.prototype.getUsersRaw = function (requestParameters, initOverrides) {
|
|
129
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
130
|
+
var queryParameters, headerParameters, response;
|
|
131
|
+
return __generator(this, function (_a) {
|
|
132
|
+
switch (_a.label) {
|
|
133
|
+
case 0:
|
|
134
|
+
if (requestParameters.username === null || requestParameters.username === undefined) {
|
|
135
|
+
throw new runtime.RequiredError('username', 'Required parameter requestParameters.username was null or undefined when calling getUsers.');
|
|
136
|
+
}
|
|
137
|
+
queryParameters = {};
|
|
138
|
+
if (requestParameters.username !== undefined) {
|
|
139
|
+
queryParameters['username'] = requestParameters.username;
|
|
140
|
+
}
|
|
141
|
+
headerParameters = {};
|
|
142
|
+
return [4 /*yield*/, this.request({
|
|
143
|
+
path: "/users",
|
|
144
|
+
method: 'GET',
|
|
145
|
+
headers: headerParameters,
|
|
146
|
+
query: queryParameters,
|
|
147
|
+
}, initOverrides)];
|
|
148
|
+
case 1:
|
|
149
|
+
response = _a.sent();
|
|
150
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.UserFromJSON); })];
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Gets a list of users matching the username pattern
|
|
157
|
+
* List users
|
|
158
|
+
*/
|
|
159
|
+
UsersApi.prototype.getUsers = function (requestParameters, initOverrides) {
|
|
160
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
161
|
+
var response;
|
|
162
|
+
return __generator(this, function (_a) {
|
|
163
|
+
switch (_a.label) {
|
|
164
|
+
case 0: return [4 /*yield*/, this.getUsersRaw(requestParameters, initOverrides)];
|
|
165
|
+
case 1:
|
|
166
|
+
response = _a.sent();
|
|
167
|
+
return [4 /*yield*/, response.value()];
|
|
168
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
});
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* Update user information
|
|
175
|
+
* Update user
|
|
176
|
+
*/
|
|
177
|
+
UsersApi.prototype.updateUserRaw = function (requestParameters, initOverrides) {
|
|
178
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
179
|
+
var queryParameters, headerParameters, response;
|
|
180
|
+
return __generator(this, function (_a) {
|
|
181
|
+
switch (_a.label) {
|
|
182
|
+
case 0:
|
|
183
|
+
if (requestParameters.username === null || requestParameters.username === undefined) {
|
|
184
|
+
throw new runtime.RequiredError('username', 'Required parameter requestParameters.username was null or undefined when calling updateUser.');
|
|
185
|
+
}
|
|
186
|
+
if (requestParameters.updateUserRequest === null || requestParameters.updateUserRequest === undefined) {
|
|
187
|
+
throw new runtime.RequiredError('updateUserRequest', 'Required parameter requestParameters.updateUserRequest was null or undefined when calling updateUser.');
|
|
188
|
+
}
|
|
189
|
+
queryParameters = {};
|
|
190
|
+
headerParameters = {};
|
|
191
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
192
|
+
return [4 /*yield*/, this.request({
|
|
193
|
+
path: "/users/{username}".replace("{".concat("username", "}"), encodeURIComponent(String(requestParameters.username))),
|
|
194
|
+
method: 'PUT',
|
|
195
|
+
headers: headerParameters,
|
|
196
|
+
query: queryParameters,
|
|
197
|
+
body: (0, index_1.UpdateUserRequestToJSON)(requestParameters.updateUserRequest),
|
|
198
|
+
}, initOverrides)];
|
|
199
|
+
case 1:
|
|
200
|
+
response = _a.sent();
|
|
201
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserFromJSON)(jsonValue); })];
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
});
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* Update user information
|
|
208
|
+
* Update user
|
|
209
|
+
*/
|
|
210
|
+
UsersApi.prototype.updateUser = function (requestParameters, initOverrides) {
|
|
211
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
212
|
+
var response;
|
|
213
|
+
return __generator(this, function (_a) {
|
|
214
|
+
switch (_a.label) {
|
|
215
|
+
case 0: return [4 /*yield*/, this.updateUserRaw(requestParameters, initOverrides)];
|
|
216
|
+
case 1:
|
|
217
|
+
response = _a.sent();
|
|
218
|
+
return [4 /*yield*/, response.value()];
|
|
219
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
});
|
|
223
|
+
};
|
|
224
|
+
return UsersApi;
|
|
225
|
+
}(runtime.BaseAPI));
|
|
226
|
+
exports.UsersApi = UsersApi;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './BillingApi';
|
|
2
|
+
export * from './DatasetsApi';
|
|
3
|
+
export * from './ExecutionApi';
|
|
4
|
+
export * from './MetricsApi';
|
|
5
|
+
export * from './NotebooksApi';
|
|
6
|
+
export * from './ProcessesApi';
|
|
7
|
+
export * from './ProjectsApi';
|
|
8
|
+
export * from './SystemApi';
|
|
9
|
+
export * from './UsersApi';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./BillingApi"), exports);
|
|
20
|
+
__exportStar(require("./DatasetsApi"), exports);
|
|
21
|
+
__exportStar(require("./ExecutionApi"), exports);
|
|
22
|
+
__exportStar(require("./MetricsApi"), exports);
|
|
23
|
+
__exportStar(require("./NotebooksApi"), exports);
|
|
24
|
+
__exportStar(require("./ProcessesApi"), exports);
|
|
25
|
+
__exportStar(require("./ProjectsApi"), exports);
|
|
26
|
+
__exportStar(require("./SystemApi"), exports);
|
|
27
|
+
__exportStar(require("./UsersApi"), exports);
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./runtime"), exports);
|
|
20
|
+
__exportStar(require("./apis/index"), exports);
|
|
21
|
+
__exportStar(require("./models/index"), exports);
|
|
@@ -0,0 +1,82 @@
|
|
|
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 { BillingMethod } from './BillingMethod';
|
|
13
|
+
import type { Contact } from './Contact';
|
|
14
|
+
import type { CustomerType } from './CustomerType';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface BillingAccount
|
|
19
|
+
*/
|
|
20
|
+
export interface BillingAccount {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof BillingAccount
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof BillingAccount
|
|
31
|
+
*/
|
|
32
|
+
name: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof BillingAccount
|
|
37
|
+
*/
|
|
38
|
+
organization: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {Array<Contact>}
|
|
42
|
+
* @memberof BillingAccount
|
|
43
|
+
*/
|
|
44
|
+
contacts: Array<Contact>;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {CustomerType}
|
|
48
|
+
* @memberof BillingAccount
|
|
49
|
+
*/
|
|
50
|
+
customerType: CustomerType;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {BillingMethod}
|
|
54
|
+
* @memberof BillingAccount
|
|
55
|
+
*/
|
|
56
|
+
billingMethod: BillingMethod;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof BillingAccount
|
|
61
|
+
*/
|
|
62
|
+
primaryBudgetNumber: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof BillingAccount
|
|
67
|
+
*/
|
|
68
|
+
owner: string;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {Array<string>}
|
|
72
|
+
* @memberof BillingAccount
|
|
73
|
+
*/
|
|
74
|
+
sharedWith: Array<string>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the BillingAccount interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfBillingAccount(value: object): boolean;
|
|
80
|
+
export declare function BillingAccountFromJSON(json: any): BillingAccount;
|
|
81
|
+
export declare function BillingAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingAccount;
|
|
82
|
+
export declare function BillingAccountToJSON(value?: BillingAccount | null): any;
|
|
@@ -0,0 +1,77 @@
|
|
|
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.BillingAccountToJSON = exports.BillingAccountFromJSONTyped = exports.BillingAccountFromJSON = exports.instanceOfBillingAccount = void 0;
|
|
17
|
+
var BillingMethod_1 = require("./BillingMethod");
|
|
18
|
+
var Contact_1 = require("./Contact");
|
|
19
|
+
var CustomerType_1 = require("./CustomerType");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the BillingAccount interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfBillingAccount(value) {
|
|
24
|
+
var isInstance = true;
|
|
25
|
+
isInstance = isInstance && "id" in value;
|
|
26
|
+
isInstance = isInstance && "name" in value;
|
|
27
|
+
isInstance = isInstance && "organization" in value;
|
|
28
|
+
isInstance = isInstance && "contacts" in value;
|
|
29
|
+
isInstance = isInstance && "customerType" in value;
|
|
30
|
+
isInstance = isInstance && "billingMethod" in value;
|
|
31
|
+
isInstance = isInstance && "primaryBudgetNumber" in value;
|
|
32
|
+
isInstance = isInstance && "owner" in value;
|
|
33
|
+
isInstance = isInstance && "sharedWith" in value;
|
|
34
|
+
return isInstance;
|
|
35
|
+
}
|
|
36
|
+
exports.instanceOfBillingAccount = instanceOfBillingAccount;
|
|
37
|
+
function BillingAccountFromJSON(json) {
|
|
38
|
+
return BillingAccountFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
exports.BillingAccountFromJSON = BillingAccountFromJSON;
|
|
41
|
+
function BillingAccountFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if ((json === undefined) || (json === null)) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'id': json['id'],
|
|
47
|
+
'name': json['name'],
|
|
48
|
+
'organization': json['organization'],
|
|
49
|
+
'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
|
|
50
|
+
'customerType': (0, CustomerType_1.CustomerTypeFromJSON)(json['customerType']),
|
|
51
|
+
'billingMethod': (0, BillingMethod_1.BillingMethodFromJSON)(json['billingMethod']),
|
|
52
|
+
'primaryBudgetNumber': json['primaryBudgetNumber'],
|
|
53
|
+
'owner': json['owner'],
|
|
54
|
+
'sharedWith': json['sharedWith'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
exports.BillingAccountFromJSONTyped = BillingAccountFromJSONTyped;
|
|
58
|
+
function BillingAccountToJSON(value) {
|
|
59
|
+
if (value === undefined) {
|
|
60
|
+
return undefined;
|
|
61
|
+
}
|
|
62
|
+
if (value === null) {
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': value.id,
|
|
67
|
+
'name': value.name,
|
|
68
|
+
'organization': value.organization,
|
|
69
|
+
'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
|
|
70
|
+
'customerType': (0, CustomerType_1.CustomerTypeToJSON)(value.customerType),
|
|
71
|
+
'billingMethod': (0, BillingMethod_1.BillingMethodToJSON)(value.billingMethod),
|
|
72
|
+
'primaryBudgetNumber': value.primaryBudgetNumber,
|
|
73
|
+
'owner': value.owner,
|
|
74
|
+
'sharedWith': value.sharedWith,
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
exports.BillingAccountToJSON = BillingAccountToJSON;
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const BillingMethod: {
|
|
17
|
+
readonly BudgetNumber: "BUDGET_NUMBER";
|
|
18
|
+
readonly PurchaseOrder: "PURCHASE_ORDER";
|
|
19
|
+
readonly Credit: "CREDIT";
|
|
20
|
+
};
|
|
21
|
+
export type BillingMethod = typeof BillingMethod[keyof typeof BillingMethod];
|
|
22
|
+
export declare function BillingMethodFromJSON(json: any): BillingMethod;
|
|
23
|
+
export declare function BillingMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingMethod;
|
|
24
|
+
export declare function BillingMethodToJSON(value?: BillingMethod | 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.BillingMethodToJSON = exports.BillingMethodFromJSONTyped = exports.BillingMethodFromJSON = exports.BillingMethod = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.BillingMethod = {
|
|
22
|
+
BudgetNumber: 'BUDGET_NUMBER',
|
|
23
|
+
PurchaseOrder: 'PURCHASE_ORDER',
|
|
24
|
+
Credit: 'CREDIT'
|
|
25
|
+
};
|
|
26
|
+
function BillingMethodFromJSON(json) {
|
|
27
|
+
return BillingMethodFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.BillingMethodFromJSON = BillingMethodFromJSON;
|
|
30
|
+
function BillingMethodFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
exports.BillingMethodFromJSONTyped = BillingMethodFromJSONTyped;
|
|
34
|
+
function BillingMethodToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
exports.BillingMethodToJSON = BillingMethodToJSON;
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const BudgetPeriod: {
|
|
17
|
+
readonly Annually: "ANNUALLY";
|
|
18
|
+
readonly Quarterly: "QUARTERLY";
|
|
19
|
+
readonly Monthly: "MONTHLY";
|
|
20
|
+
};
|
|
21
|
+
export type BudgetPeriod = typeof BudgetPeriod[keyof typeof BudgetPeriod];
|
|
22
|
+
export declare function BudgetPeriodFromJSON(json: any): BudgetPeriod;
|
|
23
|
+
export declare function BudgetPeriodFromJSONTyped(json: any, ignoreDiscriminator: boolean): BudgetPeriod;
|
|
24
|
+
export declare function BudgetPeriodToJSON(value?: BudgetPeriod | 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.BudgetPeriodToJSON = exports.BudgetPeriodFromJSONTyped = exports.BudgetPeriodFromJSON = exports.BudgetPeriod = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.BudgetPeriod = {
|
|
22
|
+
Annually: 'ANNUALLY',
|
|
23
|
+
Quarterly: 'QUARTERLY',
|
|
24
|
+
Monthly: 'MONTHLY'
|
|
25
|
+
};
|
|
26
|
+
function BudgetPeriodFromJSON(json) {
|
|
27
|
+
return BudgetPeriodFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.BudgetPeriodFromJSON = BudgetPeriodFromJSON;
|
|
30
|
+
function BudgetPeriodFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
exports.BudgetPeriodFromJSONTyped = BudgetPeriodFromJSONTyped;
|
|
34
|
+
function BudgetPeriodToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
exports.BudgetPeriodToJSON = BudgetPeriodToJSON;
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { Region } from './Region';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CloudAccount
|
|
17
|
+
*/
|
|
18
|
+
export interface CloudAccount {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Region}
|
|
22
|
+
* @memberof CloudAccount
|
|
23
|
+
*/
|
|
24
|
+
region?: Region;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CloudAccount
|
|
29
|
+
*/
|
|
30
|
+
accountId?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CloudAccount
|
|
35
|
+
*/
|
|
36
|
+
accountName?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CloudAccount
|
|
41
|
+
*/
|
|
42
|
+
regionName?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the CloudAccount interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfCloudAccount(value: object): boolean;
|
|
48
|
+
export declare function CloudAccountFromJSON(json: any): CloudAccount;
|
|
49
|
+
export declare function CloudAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloudAccount;
|
|
50
|
+
export declare function CloudAccountToJSON(value?: CloudAccount | null): any;
|