@squonk/data-manager-client 1.2.8 → 2.0.0-alpha.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.
Files changed (122) hide show
  1. package/README.md +1 -1
  2. package/accounting/accounting.cjs +51 -8
  3. package/accounting/accounting.cjs.map +1 -1
  4. package/accounting/accounting.d.cts +61 -10
  5. package/accounting/accounting.d.ts +61 -10
  6. package/accounting/accounting.js +49 -6
  7. package/accounting/accounting.js.map +1 -1
  8. package/admin/admin.cjs +67 -24
  9. package/admin/admin.cjs.map +1 -1
  10. package/admin/admin.d.cts +75 -24
  11. package/admin/admin.d.ts +75 -24
  12. package/admin/admin.js +56 -13
  13. package/admin/admin.js.map +1 -1
  14. package/application/application.cjs +35 -6
  15. package/application/application.cjs.map +1 -1
  16. package/application/application.d.cts +42 -8
  17. package/application/application.d.ts +42 -8
  18. package/application/application.js +34 -5
  19. package/application/application.js.map +1 -1
  20. package/{chunk-UKA7G3OB.js → chunk-EBOQPVLG.js} +2 -2
  21. package/{chunk-UKA7G3OB.js.map → chunk-EBOQPVLG.js.map} +1 -1
  22. package/{chunk-J22A7LHX.cjs → chunk-TKLTUR4R.cjs} +2 -2
  23. package/chunk-TKLTUR4R.cjs.map +1 -0
  24. package/configuration/configuration.cjs +19 -4
  25. package/configuration/configuration.cjs.map +1 -1
  26. package/configuration/configuration.d.cts +23 -6
  27. package/configuration/configuration.d.ts +23 -6
  28. package/configuration/configuration.js +19 -4
  29. package/configuration/configuration.js.map +1 -1
  30. package/dataset/dataset.cjs +93 -22
  31. package/dataset/dataset.cjs.map +1 -1
  32. package/dataset/dataset.d.cts +105 -20
  33. package/dataset/dataset.d.ts +105 -20
  34. package/dataset/dataset.js +83 -12
  35. package/dataset/dataset.js.map +1 -1
  36. package/exchange-rate/exchange-rate.cjs +71 -14
  37. package/exchange-rate/exchange-rate.cjs.map +1 -1
  38. package/exchange-rate/exchange-rate.d.cts +83 -15
  39. package/exchange-rate/exchange-rate.d.ts +83 -15
  40. package/exchange-rate/exchange-rate.js +65 -8
  41. package/exchange-rate/exchange-rate.js.map +1 -1
  42. package/file-and-path/file-and-path.cjs +45 -16
  43. package/file-and-path/file-and-path.cjs.map +1 -1
  44. package/file-and-path/file-and-path.d.cts +53 -19
  45. package/file-and-path/file-and-path.d.ts +53 -19
  46. package/file-and-path/file-and-path.js +39 -10
  47. package/file-and-path/file-and-path.js.map +1 -1
  48. package/index.cjs +2 -2
  49. package/index.cjs.map +1 -1
  50. package/index.d.cts +2102 -2
  51. package/index.d.ts +2102 -2
  52. package/index.js +1 -1
  53. package/index.js.map +1 -1
  54. package/instance/instance.cjs +45 -16
  55. package/instance/instance.cjs.map +1 -1
  56. package/instance/instance.d.cts +48 -14
  57. package/instance/instance.d.ts +48 -14
  58. package/instance/instance.js +38 -9
  59. package/instance/instance.js.map +1 -1
  60. package/inventory/inventory.cjs +56 -0
  61. package/inventory/inventory.cjs.map +1 -0
  62. package/inventory/inventory.d.cts +50 -0
  63. package/inventory/inventory.d.ts +50 -0
  64. package/inventory/inventory.js +56 -0
  65. package/inventory/inventory.js.map +1 -0
  66. package/inventory/package.json +7 -0
  67. package/job/job.cjs +51 -8
  68. package/job/job.cjs.map +1 -1
  69. package/job/job.d.cts +61 -10
  70. package/job/job.d.ts +61 -10
  71. package/job/job.js +49 -6
  72. package/job/job.js.map +1 -1
  73. package/metadata/metadata.cjs +39 -10
  74. package/metadata/metadata.cjs.map +1 -1
  75. package/metadata/metadata.d.cts +45 -11
  76. package/metadata/metadata.d.ts +45 -11
  77. package/metadata/metadata.js +36 -7
  78. package/metadata/metadata.js.map +1 -1
  79. package/package.json +11 -11
  80. package/project/project.cjs +131 -26
  81. package/project/project.cjs.map +1 -1
  82. package/project/project.d.cts +166 -30
  83. package/project/project.d.ts +166 -30
  84. package/project/project.js +119 -14
  85. package/project/project.js.map +1 -1
  86. package/src/accounting/accounting.ts +137 -23
  87. package/src/admin/admin.ts +149 -51
  88. package/src/application/application.ts +94 -19
  89. package/src/configuration/configuration.ts +51 -15
  90. package/src/custom-instance.ts +3 -4
  91. package/src/data-manager-api.schemas.ts +115 -13
  92. package/src/dataset/dataset.ts +234 -46
  93. package/src/exchange-rate/exchange-rate.ts +186 -33
  94. package/src/file-and-path/file-and-path.ts +104 -39
  95. package/src/instance/instance.ts +99 -34
  96. package/src/inventory/inventory.ts +140 -0
  97. package/src/job/job.ts +139 -23
  98. package/src/metadata/metadata.ts +98 -25
  99. package/src/project/project.ts +313 -60
  100. package/src/task/task.ts +97 -22
  101. package/src/type/type.ts +51 -15
  102. package/src/user/user.ts +138 -26
  103. package/task/task.cjs +37 -8
  104. package/task/task.cjs.map +1 -1
  105. package/task/task.d.cts +44 -10
  106. package/task/task.d.ts +44 -10
  107. package/task/task.js +35 -6
  108. package/task/task.js.map +1 -1
  109. package/type/type.cjs +19 -4
  110. package/type/type.cjs.map +1 -1
  111. package/type/type.d.cts +23 -6
  112. package/type/type.d.ts +23 -6
  113. package/type/type.js +19 -4
  114. package/type/type.js.map +1 -1
  115. package/user/user.cjs +53 -10
  116. package/user/user.cjs.map +1 -1
  117. package/user/user.d.cts +63 -12
  118. package/user/user.d.ts +63 -12
  119. package/user/user.js +49 -6
  120. package/user/user.js.map +1 -1
  121. package/chunk-J22A7LHX.cjs.map +0 -1
  122. package/custom-instance-37ed2460.d.ts +0 -2014
package/index.d.cts CHANGED
@@ -1,2 +1,2102 @@
1
- export { bW as AXIOS_INSTANCE, bT as AccountServerGetNamespaceResponse, bU as AccountServerGetRegistrationResponse, A as AdminDeleteJobManifestParams, b as AdminGetServiceErrorsParams, a as AdminGetUsersParams, bS as AdminJobManifestGetResponse, bR as AdminJobManifestLoadPutResponse, bQ as AdminUserPutResponse, bP as AdminUsersGetResponse, b7 as ApiLogDetail, b6 as ApiLogDetailMethod, aU as ApplicationExchangeRateSummary, bO as ApplicationGetResponse, b4 as ApplicationImageVariant, b5 as ApplicationImageVariants, b3 as ApplicationSummary, bN as ApplicationsGetResponse, ak as AsAdditionalDataProcessingCharge, C as CreatePathParams, b2 as DatasetDetail, bL as DatasetDigestGetResponse, bK as DatasetMetaGetResponse, ai as DatasetMetaPostBodyBody, aj as DatasetPostBodyBody, ag as DatasetPutBodyBody, bM as DatasetPutPostResponse, bJ as DatasetSchemaGetResponse, bI as DatasetSchemaGetResponseType, b1 as DatasetSummary, bH as DatasetVersionDeleteResponse, b0 as DatasetVersionDetail, a$ as DatasetVersionDetailLabels, a_ as DatasetVersionDetailProcessingStage, ah as DatasetVersionMetaPostBodyBody, aZ as DatasetVersionProjectFile, aY as DatasetVersionSummary, aX as DatasetVersionSummaryLabels, aW as DatasetVersionSummaryProcessingStage, bG as DatasetVersionsGetResponse, bF as DatasetsGetResponse, o as DeleteDatasetParams, u as DeletePathParams, D as DeleteUnmanagedFileParams, bV as DmError, b_ as ErrorType, aV as ExchangeRateDetail, ac as ExchangeRatePutBodyBody, aS as FilePathFile, af as FilePostBodyBody, bB as FilePostResponse, aR as FileStat, bA as FilesGetResponse, k as GetAllApplicationExchangeRatesParams, bz as GetAllExchangeRatesResponse, by as GetAllExchangeRatesResponseExchangeRatesItem, f as GetAllJobExchangeRatesParams, j as GetApplicationExchangeRatesParams, q as GetDatasetsParams, bx as GetExchangeRatesResponse, bw as GetExchangeRatesResponseId, n as GetFilesParams, d as GetInstancesParams, h as GetJobByVersionParams, e as GetJobExchangeRatesParams, g as GetJobParams, i as GetJobsParams, s as GetProjectFileParams, r as GetProjectFileWithTokenParams, t as GetProjectsParams, l as GetTaskParams, m as GetTasksParams, c as GetUserAccountParams, G as GetUserApiLogParams, p as GetVersionsParams, bE as InstanceDeleteResponse, bD as InstanceDryRunPostResponse, bv as InstanceGetResponse, bu as InstanceGetResponseApplicationType, bt as InstanceGetResponseJobImageType, bs as InstanceGetResponsePhase, ae as InstancePostBodyBody, bC as InstancePostResponse, aQ as InstanceSummary, aP as InstanceSummaryApplicationType, aO as InstanceSummaryJobImageType, aN as InstanceSummaryPhase, bq as InstanceTask, bp as InstanceTaskPurpose, br as InstancesGetResponse, aM as JobApplication, aT as JobExchangeRateSummary, bo as JobGetResponse, bn as JobGetResponseImageType, aL as JobManifestDetail, ad as JobManifestPutBodyBody, aE as JobOrderDetail, aC as JobReplacement, aD as JobReplacements, aK as JobSummary, aJ as JobSummaryImageType, aI as JobVariables, aH as JobVariablesInputs, aG as JobVariablesOptions, aF as JobVariablesOutputs, bm as JobsGetResponse, b8 as ModeGetResponse, P as PatchInstanceParams, bl as ProjectDeleteResponse, aB as ProjectDetail, aA as ProjectFileDetail, ab as ProjectFilePutBodyBody, bk as ProjectGetResponse, aa as ProjectPatchBodyBody, a9 as ProjectPostBodyBody, bj as ProjectPostResponse, bi as ProjectsGetResponse, Y as QActiveDaysParameter, a6 as QApplicationIdParameter, a5 as QCurrentParameter, a3 as QDatasetMimeTypeParameter, a4 as QDoNotImpersonateParameter, Q as QEditorsParameter, a2 as QEventLimitParameter, a1 as QEventPriorOrdinalParameter, a0 as QExcludeDoneParameter, _ as QExcludePurposeParameter, $ as QExcludeRemovalParameter, X as QFileParameter, W as QFilePathParameter, V as QFileProjectIdParameter, U as QFromParameter, Z as QIdleDaysParameter, T as QIncludeAcknowlegedParameter, S as QIncludeDeletedParameter, R as QIncludeHiddenParameter, O as QInstanceArchiveParameter, B as QInstanceCallbackContextParameter, N as QJobCollectionParameter, M as QJobIdParameter, L as QJobJobParameter, K as QJobVersionParameter, J as QKeepProjectFilesParameter, H as QLabelsParameter, I as QOnlyUndefinedParameter, w as QOwnersParameter, F as QProjectIdParameter, E as QProjectNameParameter, v as QPurgeParameter, z as QTokenParameter, y as QUntilParameter, x as QUsernameParameter, az as ServiceErrorSummary, ay as ServiceErrorSummarySeverity, bh as ServiceErrorsGetResponse, ax as TaskEvent, aw as TaskEventLevel, bg as TaskGetResponse, bf as TaskGetResponsePurpose, av as TaskIdentity, au as TaskState, at as TaskStateState, as as TaskSummary, ar as TaskSummaryProcessingStage, be as TasksGetResponse, aq as TypeSummary, ap as TypeSummaryFormatterOptions, ao as TypeSummaryFormatterOptionsType, bd as TypesGetResponse, an as UserAccountDetail, bc as UserAccountGetResponse, a8 as UserAccountPatchBodyBody, bb as UserApiLogGetResponse, am as UserDetail, a7 as UserPatchBodyBody, al as UserSummary, ba as UsersGetResponse, b9 as VersionGetResponse, bZ as customInstance, bX as setAuthToken, bY as setBaseUrl } from './custom-instance-37ed2460.js';
2
- import 'axios';
1
+ import * as axios from 'axios';
2
+ import { AxiosRequestConfig, AxiosError } from 'axios';
3
+
4
+ /**
5
+ * Generated by orval v6.25.0 🍺
6
+ * Do not edit manually.
7
+ * Dataset Manager API
8
+ * The Dataset Manager API service.
9
+
10
+ A service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications** and **Jobs** using **Projects** and **Files**.
11
+
12
+ * OpenAPI spec version: 2.0
13
+ */
14
+ type GetUserInventoryParams = {
15
+ /**
16
+ * An Organisation identity
17
+ */
18
+ org_id?: QOrgIdParameter;
19
+ /**
20
+ * A Unit identity
21
+ */
22
+ unit_id?: QUnitIdParameter;
23
+ /**
24
+ * A comma-separated list of usernames
25
+
26
+ */
27
+ usernames?: QUsernamesParameter;
28
+ };
29
+ type AdminDeleteJobManifestParams = {
30
+ /**
31
+ * Purge unreferenced Jobs
32
+ */
33
+ purge?: QPurgeParameter;
34
+ };
35
+ type AdminGetUsersParams = {
36
+ /**
37
+ * Maximum days a user has been idle (has not used the API). If you specify `2` and it's Monday then users who have not used the API since Saturday will be returned.
38
+
39
+ */
40
+ idle_days?: QIdleDaysParameter;
41
+ /**
42
+ * Minimum days a user has been active (has used the API). If you specify `2` and it's Monday then users who have used the API on Saturday or later will be returned.
43
+
44
+ */
45
+ active_days?: QActiveDaysParameter;
46
+ };
47
+ type AdminGetServiceErrorsParams = {
48
+ /**
49
+ * Set to include acknowledged items
50
+
51
+ */
52
+ include_acknowleged?: QIncludeAcknowlegedParameter;
53
+ };
54
+ type GetUserApiLogParams = {
55
+ /**
56
+ * A from (inclusive) date-time. If provided no API calls prior to this will be returned. UTC is assumed if no timezone is provided
57
+
58
+ */
59
+ from?: QFromParameter;
60
+ /**
61
+ * An until (exclusive) date-time. If provided only API calls made before this will be returned. UTC is assumed if no timezone is provided
62
+
63
+ */
64
+ until?: QUntilParameter;
65
+ };
66
+ type GetUserAccountParams = {
67
+ /**
68
+ * Set, if you're an admin, to call the endpoint without impersonation
69
+
70
+ */
71
+ do_not_impersonate?: QDoNotImpersonateParameter;
72
+ };
73
+ type PatchInstanceParams = {
74
+ /**
75
+ * True to archive the instance
76
+ */
77
+ archive?: QInstanceArchiveParameter;
78
+ };
79
+ type GetInstancesParams = {
80
+ /**
81
+ * A Project identity
82
+ */
83
+ project_id?: QProjectIdParameter;
84
+ };
85
+ type GetJobExchangeRatesParams = {
86
+ /**
87
+ * Set to get current
88
+
89
+ */
90
+ current?: QCurrentParameter;
91
+ };
92
+ type GetAllJobExchangeRatesParams = {
93
+ /**
94
+ * Only return records where the exchange rate is undefined
95
+
96
+ */
97
+ only_undefined?: QOnlyUndefinedParameter;
98
+ };
99
+ type GetJobParams = {
100
+ /**
101
+ * A Project identity
102
+ */
103
+ project_id?: QProjectIdParameter;
104
+ };
105
+ type GetJobByVersionParams = {
106
+ /**
107
+ * The Collection for a Job, i.e. "im-test"
108
+
109
+ */
110
+ collection: QJobCollectionParameter;
111
+ /**
112
+ * The Job, i.e. "nop"
113
+
114
+ */
115
+ job: QJobJobParameter;
116
+ /**
117
+ * The version of a Job, i.e. "1.0.0"
118
+
119
+ */
120
+ version: QJobVersionParameter;
121
+ /**
122
+ * A Project identity
123
+ */
124
+ project_id?: QProjectIdParameter;
125
+ };
126
+ type GetJobsParams = {
127
+ /**
128
+ * A Project identity
129
+ */
130
+ project_id?: QProjectIdParameter;
131
+ };
132
+ type GetApplicationExchangeRatesParams = {
133
+ /**
134
+ * Set to get current
135
+
136
+ */
137
+ current?: QCurrentParameter;
138
+ };
139
+ type GetAllApplicationExchangeRatesParams = {
140
+ /**
141
+ * Only return records where the exchange rate is undefined
142
+
143
+ */
144
+ only_undefined?: QOnlyUndefinedParameter;
145
+ };
146
+ type GetTaskParams = {
147
+ /**
148
+ * Maximum number of events to return. If provided, can be 1 or more.
149
+
150
+ */
151
+ event_limit?: QEventLimitParameter;
152
+ /**
153
+ * The ordinal of a previously received event. If set, only events subsequent to the ordinal provided will be returned. Providing a value of 0 will result in retrieving the first and subsequent events.
154
+
155
+ */
156
+ event_prior_ordinal?: QEventPriorOrdinalParameter;
157
+ };
158
+ type GetTasksParams = {
159
+ /**
160
+ * Set true if you want to exclude 'done' tasks, i.e. just see those that are still running.
161
+
162
+ */
163
+ exclude_done?: QExcludeDoneParameter;
164
+ /**
165
+ * Set true if you want to exclude Tasks related to object removal.
166
+
167
+ */
168
+ exclude_removal?: QExcludeRemovalParameter;
169
+ /**
170
+ * Set to a dot-separated string of purpose enumerations, i.e. `DATASET`, `FILE`, `INSTANCE`, or `PROJECT`. To exclude file and dataset tasks set this field to `FILE.DATASET`
171
+
172
+ */
173
+ exclude_purpose?: QExcludePurposeParameter;
174
+ /**
175
+ * A Project identity
176
+ */
177
+ project_id?: QProjectIdParameter;
178
+ /**
179
+ * An instance callback context string
180
+ */
181
+ instance_callback_context?: QInstanceCallbackContextParameter;
182
+ };
183
+ type DeleteUnmanagedFileParams = {
184
+ /**
185
+ * A project file.
186
+
187
+ */
188
+ file: QFileParameter;
189
+ /**
190
+ * A project path. If provided it must begin `/` and refers to a path where `/` represents the project's root directory
191
+
192
+ */
193
+ path?: QFilePathParameter;
194
+ /**
195
+ * The Project identity
196
+ */
197
+ project_id: QFileProjectIdParameter;
198
+ };
199
+ type GetFilesParams = {
200
+ /**
201
+ * The Project identity
202
+ */
203
+ project_id: QFileProjectIdParameter;
204
+ /**
205
+ * A project path. If provided it must begin `/` and refers to a path where `/` represents the project's root directory
206
+
207
+ */
208
+ path?: QFilePathParameter;
209
+ /**
210
+ * Whether to include hidden files and directories
211
+ */
212
+ include_hidden?: QIncludeHiddenParameter;
213
+ };
214
+ type DeleteDatasetParams = {
215
+ /**
216
+ * Whether to convert Project managed file instances to unmanaged files
217
+
218
+ */
219
+ keep_project_files?: QKeepProjectFilesParameter;
220
+ };
221
+ type GetVersionsParams = {
222
+ /**
223
+ * Whether to include records that are deleted
224
+ */
225
+ include_deleted?: QIncludeDeletedParameter;
226
+ };
227
+ type GetDatasetsParams = {
228
+ /**
229
+ * Whether to include records that are deleted
230
+ */
231
+ include_deleted?: QIncludeDeletedParameter;
232
+ /**
233
+ * Filter the datasets by username
234
+
235
+ */
236
+ username?: QUsernameParameter;
237
+ /**
238
+ * Filter the datasets by the supplied mime_type.
239
+
240
+ */
241
+ dataset_mime_type?: QDatasetMimeTypeParameter;
242
+ /**
243
+ * A comma-separated list of owners
244
+
245
+ */
246
+ owners?: QOwnersParameter;
247
+ /**
248
+ * A comma-separated list of editors
249
+
250
+ */
251
+ editors?: QEditorsParameter;
252
+ /**
253
+ * JSON string containing a list of label/value pairs for the datasets to be filtered by. If the value is set to null, then only the label is matched. If both the label and value are set, then both are matched. e.g. '{"label1": null, "label2": "value2"}'
254
+
255
+ */
256
+ labels?: QLabelsParameter;
257
+ };
258
+ type GetProjectFileWithTokenParams = {
259
+ /**
260
+ * A token
261
+ */
262
+ token?: QTokenParameter;
263
+ /**
264
+ * A project path. If provided it must begin `/` and refers to a path where `/` represents the project's root directory
265
+
266
+ */
267
+ path?: QFilePathParameter;
268
+ /**
269
+ * A project file.
270
+
271
+ */
272
+ file: QFileParameter;
273
+ };
274
+ type GetProjectFileParams = {
275
+ /**
276
+ * A project path. If provided it must begin `/` and refers to a path where `/` represents the project's root directory
277
+
278
+ */
279
+ path?: QFilePathParameter;
280
+ /**
281
+ * A project file.
282
+
283
+ */
284
+ file: QFileParameter;
285
+ };
286
+ type GetProjectsParams = {
287
+ /**
288
+ * A Project name
289
+ */
290
+ project_name?: QProjectNameParameter;
291
+ };
292
+ type DeletePathParams = {
293
+ /**
294
+ * The Project identity
295
+ */
296
+ project_id: QFileProjectIdParameter;
297
+ /**
298
+ * A project path. If provided it must begin `/` and refers to a path where `/` represents the project's root directory
299
+
300
+ */
301
+ path?: QFilePathParameter;
302
+ };
303
+ type CreatePathParams = {
304
+ /**
305
+ * The Project identity
306
+ */
307
+ project_id: QFileProjectIdParameter;
308
+ /**
309
+ * A project path. If provided it must begin `/` and refers to a path where `/` represents the project's root directory
310
+
311
+ */
312
+ path?: QFilePathParameter;
313
+ };
314
+ /**
315
+ * A comma-separated list of editors
316
+
317
+ */
318
+ type QEditorsParameter = string;
319
+ /**
320
+ * Purge unreferenced Jobs
321
+ */
322
+ type QPurgeParameter = boolean;
323
+ /**
324
+ * A comma-separated list of owners
325
+
326
+ */
327
+ type QOwnersParameter = string;
328
+ /**
329
+ * A comma-separated list of usernames
330
+
331
+ */
332
+ type QUsernamesParameter = string;
333
+ /**
334
+ * Filter the datasets by username
335
+
336
+ */
337
+ type QUsernameParameter = string;
338
+ /**
339
+ * An until (exclusive) date-time. If provided only API calls made before this will be returned. UTC is assumed if no timezone is provided
340
+
341
+ */
342
+ type QUntilParameter = string;
343
+ /**
344
+ * A Unit identity
345
+ */
346
+ type QUnitIdParameter = string;
347
+ /**
348
+ * A token
349
+ */
350
+ type QTokenParameter = string;
351
+ /**
352
+ * An instance callback context string
353
+ */
354
+ type QInstanceCallbackContextParameter = string;
355
+ /**
356
+ * A Project name
357
+ */
358
+ type QProjectNameParameter = string;
359
+ /**
360
+ * A Project identity
361
+ */
362
+ type QProjectIdParameter = string;
363
+ /**
364
+ * An Organisation identity
365
+ */
366
+ type QOrgIdParameter = string;
367
+ /**
368
+ * JSON string containing a list of label/value pairs for the datasets to be filtered by. If the value is set to null, then only the label is matched. If both the label and value are set, then both are matched. e.g. '{"label1": null, "label2": "value2"}'
369
+
370
+ */
371
+ type QLabelsParameter = string;
372
+ /**
373
+ * Only return records where the exchange rate is undefined
374
+
375
+ */
376
+ type QOnlyUndefinedParameter = boolean;
377
+ /**
378
+ * Whether to convert Project managed file instances to unmanaged files
379
+
380
+ */
381
+ type QKeepProjectFilesParameter = boolean;
382
+ /**
383
+ * The version of a Job, i.e. "1.0.0"
384
+
385
+ */
386
+ type QJobVersionParameter = string;
387
+ /**
388
+ * The Job, i.e. "nop"
389
+
390
+ */
391
+ type QJobJobParameter = string;
392
+ /**
393
+ * A Job identity
394
+
395
+ */
396
+ type QJobIdParameter = number;
397
+ /**
398
+ * The Collection for a Job, i.e. "im-test"
399
+
400
+ */
401
+ type QJobCollectionParameter = string;
402
+ /**
403
+ * True to archive the instance
404
+ */
405
+ type QInstanceArchiveParameter = boolean;
406
+ /**
407
+ * Whether to include hidden files and directories
408
+ */
409
+ type QIncludeHiddenParameter = boolean;
410
+ /**
411
+ * Whether to include records that are deleted
412
+ */
413
+ type QIncludeDeletedParameter = boolean;
414
+ /**
415
+ * Set to include acknowledged items
416
+
417
+ */
418
+ type QIncludeAcknowlegedParameter = boolean;
419
+ /**
420
+ * A from (inclusive) date-time. If provided no API calls prior to this will be returned. UTC is assumed if no timezone is provided
421
+
422
+ */
423
+ type QFromParameter = string;
424
+ /**
425
+ * The Project identity
426
+ */
427
+ type QFileProjectIdParameter = string;
428
+ /**
429
+ * A project path. If provided it must begin `/` and refers to a path where `/` represents the project's root directory
430
+
431
+ */
432
+ type QFilePathParameter = string;
433
+ /**
434
+ * A project file.
435
+
436
+ */
437
+ type QFileParameter = string;
438
+ /**
439
+ * Minimum days a user has been active (has used the API). If you specify `2` and it's Monday then users who have used the API on Saturday or later will be returned.
440
+
441
+ */
442
+ type QActiveDaysParameter = number;
443
+ /**
444
+ * Maximum days a user has been idle (has not used the API). If you specify `2` and it's Monday then users who have not used the API since Saturday will be returned.
445
+
446
+ */
447
+ type QIdleDaysParameter = number;
448
+ /**
449
+ * Set to a dot-separated string of purpose enumerations, i.e. `DATASET`, `FILE`, `INSTANCE`, or `PROJECT`. To exclude file and dataset tasks set this field to `FILE.DATASET`
450
+
451
+ */
452
+ type QExcludePurposeParameter = string;
453
+ /**
454
+ * Set true if you want to exclude Tasks related to object removal.
455
+
456
+ */
457
+ type QExcludeRemovalParameter = boolean;
458
+ /**
459
+ * Set true if you want to exclude 'done' tasks, i.e. just see those that are still running.
460
+
461
+ */
462
+ type QExcludeDoneParameter = boolean;
463
+ /**
464
+ * The ordinal of a previously received event. If set, only events subsequent to the ordinal provided will be returned. Providing a value of 0 will result in retrieving the first and subsequent events.
465
+
466
+ */
467
+ type QEventPriorOrdinalParameter = number;
468
+ /**
469
+ * Maximum number of events to return. If provided, can be 1 or more.
470
+
471
+ */
472
+ type QEventLimitParameter = number;
473
+ /**
474
+ * Filter the datasets by the supplied mime_type.
475
+
476
+ */
477
+ type QDatasetMimeTypeParameter = string;
478
+ /**
479
+ * Set, if you're an admin, to call the endpoint without impersonation
480
+
481
+ */
482
+ type QDoNotImpersonateParameter = boolean;
483
+ /**
484
+ * Set to get current
485
+
486
+ */
487
+ type QCurrentParameter = boolean;
488
+ /**
489
+ * An Application identity
490
+
491
+ */
492
+ type QApplicationIdParameter = string;
493
+ type UserPatchBodyBody = {
494
+ /** If set to a message the user account is suspended, with the user receiving this message when they try and use the API. A suspended user account can be restored by setting the message to `/restore`
495
+ */
496
+ suspend_message?: string;
497
+ };
498
+ type UserAccountPatchBodyBody = {
499
+ /** For `admin` accounts, if set the user account is able to read anything, i.e. `GET` API calls (i.e. endpoints that do not change the Data Manager state) behave as though the caller is acting as *everyone*. An `admin` user would set ths parameter in order to browse the system, and then switch to `impersonate` mode in order to change things as the chosen user
500
+ */
501
+ become_admin?: boolean;
502
+ /** For `admin` accounts, if set API calls behave as though the caller is the user being impersonated. To stop impersonating set this to an empty string. To set impersonation to anything other than an empty string you must also set `become_admin`
503
+ */
504
+ impersonate?: string;
505
+ /** If set the user account becomes private, if provided but false the user account becomes public. Public Users show up in user searches
506
+ */
507
+ private?: boolean;
508
+ /** For `admin` accounts, if this is set the account for the user being impersonated is patched, rather then the user's own account. To use this you must have a value for `impersonate`
509
+ */
510
+ use_impersonation?: boolean;
511
+ };
512
+ type ProjectPostBodyBody = {
513
+ name: string;
514
+ /** Whether the project is private. You may not be permitted to make the project private, that will depend on the project product you're using to create the project
515
+ */
516
+ private?: boolean;
517
+ /** The Data Manager *Tier Product ID* you're using to create the Project
518
+ */
519
+ tier_product_id: string;
520
+ };
521
+ type ProjectPatchBodyBody = {
522
+ /** The new name of the ptojct
523
+ */
524
+ name?: string;
525
+ private?: boolean;
526
+ };
527
+ type ProjectFilePutBodyBody = {
528
+ /** An alternative filename to use for the uploaded File
529
+ */
530
+ as_filename?: string;
531
+ file: Blob;
532
+ /** The Project path of the file.
533
+ */
534
+ path?: string;
535
+ };
536
+ type ExchangeRatePutBodyBody = {
537
+ /** A brief comment relating to the new rate
538
+ */
539
+ comment?: string;
540
+ /** A decimal value used as the new Exchange Rate. Application _raw_ **costs** are multiplied by this value to covert costs to **coins**. A string is used to avoid rounding errors. Internally the value is treated as a Python Decimal.
541
+ */
542
+ rate: string;
543
+ };
544
+ type JobManifestPutBodyBody = {
545
+ /** Optional URL header values (a JSON string) */
546
+ header?: string;
547
+ /** Optional URL parameter values (a JSON string) */
548
+ params?: string;
549
+ /** The URL of the Job Manifest */
550
+ url: string;
551
+ };
552
+ type InstancePostBodyBody = {
553
+ /** A supported application. Applications instances are managed using pre-deployed Kubernetes **Operators**. The application ID is a combination of the operator _plural_ and _group_.
554
+
555
+ Application IDs currently supported include `datamanagerjobs.squonk.it` and `jupyternotebooks.squonk.it`
556
+ */
557
+ application_id: string;
558
+ /** A supported application version to launch.
559
+
560
+ This property is **Deprecated**. It is currently ignored will be removed in a future release
561
+ */
562
+ application_version?: string;
563
+ /** The name to use for the instance
564
+ */
565
+ as_name: string;
566
+ /** Used in conjunction with the `callback_url` any value provided here will be passed back in the message payload that's delivered to the callback URL. It can be used by the recipient to provide a context that's meaningful
567
+ */
568
+ callback_context?: string;
569
+ /** An optional 22-character **sortuuid** callback token that is supplied by the remote service. If not provided the user can use `generate_callback_token` to have one generated and returned in the response.
570
+
571
+ See the Python module's `shortuuid.get_alphabet()` for the full list of permitted characters
572
+ */
573
+ callback_token?: string;
574
+ /** A URL the DM will use to PUT job progress messages as the requested instance runs. Used, at the moment, for Job execution
575
+ */
576
+ callback_url?: string;
577
+ /** A debug value that may be used by the instance.
578
+
579
+ For Data Manager **Job** applications setting this to anything other zero ('0') prevents the Job's Pod from being deleted automatically, allowing a developer to inspect the Pod's log for example.
580
+
581
+ The behaviour of **Application** instances using this property is undefined. It will depend on whether the application **CRD** handles the Data Manager debug field.
582
+ */
583
+ debug?: string;
584
+ /** If set a callback token will be provided in the response. The token allows files to be downloaded from the instance project and expires after a pre-configured amount of time after the instance is complete or if the user revokes the token.
585
+
586
+ Caution should be taken using this feature. A 3rd party can access the Project's files without authentication, they just need the token and the project identity.
587
+
588
+ Tokens should therefore be revoked when they're no longer required
589
+ */
590
+ generate_callback_token?: boolean;
591
+ /** The project to attach
592
+ */
593
+ project_id: string;
594
+ /** The instance specification. A JSON string that's application-specific and controls the application's behaviour.
595
+
596
+ When launching a Data Manager **Job** Application you must identify the Job using the properties `collection`, `job` and `version`, e.g. `{"collection":"im-test","job":"nop","version":"1.0.0"}`
597
+
598
+ Jobs that offer commands will often advertise a series of **inputs** and **options** where the values can be provided using a **variables** map in the specification. Something like `"variables":{"x":7}`.
599
+
600
+ Jobs start in a Job-specific **working directory** but the starting directory for any Job can be adjusted by defining a `sub_path` to the root specification. For example, if you want the Job to start in the path `foo/bar` (inside the Job's built-in working directory) you can add `"sub_path":"foo/bar"` to the specification. You can only use a sub-path for a Job if the Job defines a working directory and `sub-path` cannot begin or end with a path separator (`/`).
601
+
602
+ Applications also support `variables`. The Jupyter notebook application supports the definition of the notebook `"image"`, `"cpu"` and `"memory"`. A full Jupyter notebook specification might be `{"variables":{"image":"Tensorflow 2.9","cpu":2,"memory":"4Gi"}}`, where `memory` is limited to `Gi` as a suffix.
603
+ */
604
+ specification?: string;
605
+ };
606
+ type FilePostBodyBody = {
607
+ /** The desired Dataset file type (a MIME type). Whether or not the chosen fileType is supported will depend on the Dataset
608
+ */
609
+ as_type: string;
610
+ /** Whether to compress the Dataset File as it's attached. Compression is achieved using gzip, resulting in a File ending `.gz`. By default the file will be compressed
611
+ */
612
+ compress?: boolean;
613
+ /** The Dataset UUID for the File that you intend to attach
614
+ */
615
+ dataset_id: string;
616
+ /** The Dataset version to attach
617
+ */
618
+ dataset_version: number;
619
+ /** Whether the Dataset File can be modified while in the Project. By default the File cannot be modified
620
+ */
621
+ immutable?: boolean;
622
+ /** A path within the Project to add the File, default is the project root ('/'), the mount-point within the application container. Paths must begin '/'
623
+ */
624
+ path?: string;
625
+ /** The Project UUID you're attaching to
626
+ */
627
+ project_id: string;
628
+ };
629
+ type DatasetPutBodyBody = {
630
+ /** If provided the File becomes a new version of the Dataset named. If not provided this File becomes the first version of a new Dataset, whose ID is returned to you on success.
631
+ */
632
+ dataset_id?: string;
633
+ /** The MIME type of the Dataset
634
+ */
635
+ dataset_type: string;
636
+ /** The file name of the file in the Project path to load as a new Dataset.
637
+ */
638
+ file_name: string;
639
+ /** Extra variables (text) presented to the Dataset format-support container, which occurs during the upload and database processing stage. The content of the text is Dataset type specific.
640
+ */
641
+ format_extra_variables?: string;
642
+ /** The Project path of the file.
643
+ */
644
+ path: string;
645
+ /** The Project the file belongs to
646
+ */
647
+ project_id: string;
648
+ /** If set the post-format database load action is skipped. This means the dataset is uploaded but its molecules are not entered into the Data Manager database. This can save significant time if you're just experimenting with the dataset and do not need the molecules in the database
649
+ */
650
+ skip_molecule_load?: boolean;
651
+ /** The Organisational Unit you want the Dataset to belong to. If not supplied the Project Unit is used
652
+ */
653
+ unit_id?: string;
654
+ };
655
+ type DatasetVersionMetaPostBodyBody = {
656
+ /** JSON string containing a list of annotations. The format of the labels should match either the Fields Descriptor or Service Execution annotation formats described in the data-manager-metadata library.
657
+ */
658
+ annotations?: string;
659
+ /** JSON string containing a list of parameter changes to the metadata. Only the description is currently allowed.
660
+ */
661
+ meta_properties?: string;
662
+ };
663
+ type DatasetMetaPostBodyBody = {
664
+ /** JSON string containing a list of labels. The format of the labels should match the label annotation format described in the data-manager-metadata library.
665
+ */
666
+ labels?: string;
667
+ /** JSON string containing a list of parameter changes to the metadata. Only the description is currently allowed.
668
+ */
669
+ meta_properties?: string;
670
+ };
671
+ type DatasetPostBodyBody = {
672
+ /** An optional new filename to use for the uploaded Dataset. The Dataset will be stored using this name.
673
+ */
674
+ as_filename?: string;
675
+ dataset_file: Blob;
676
+ /** If provided the Dataset becomes a new version of the Dataset named. If not provided this Dataset becomes the first version of a new Dataset, whose ID is returned to you on success.
677
+ */
678
+ dataset_id?: string;
679
+ /** The MIME type of the Dataset. Values like `chemical/x-mdl-sdfile`, `chemical/x-mdl-molfile`, and `chemical/x-pdb` are permitted. See the **\/type** endpoint for a full list of types.
680
+ */
681
+ dataset_type: string;
682
+ /** Extra variables (text) presented to the Dataset format-support container, which occurs during the upload and database processing stage. The content of the text is Dataset type specific.
683
+ */
684
+ format_extra_variables?: string;
685
+ /** If set the post-format database load action is skipped. This means the dataset is uploaded but its molecules are not entered into the Data Manager database. This can save significant time if you're just experimenting with the dataset and do not need the molecules in the database
686
+ */
687
+ skip_molecule_load?: boolean;
688
+ /** The Organisational Unit you want the Dataset to belong to
689
+ */
690
+ unit_id: string;
691
+ };
692
+ interface AsAdditionalDataProcessingCharge {
693
+ collateral_cpu_hours?: string;
694
+ collateral_pod_count?: number;
695
+ cost: string;
696
+ cost_scale_factor: string;
697
+ cost_to_coins_er: string;
698
+ error_message?: string;
699
+ instance_id: string;
700
+ instance_name: string;
701
+ job_collection?: string;
702
+ job_job?: string;
703
+ job_version?: string;
704
+ run_time?: string;
705
+ started: string;
706
+ stopped?: string;
707
+ }
708
+ interface UserSummary {
709
+ /** The user's preferred username
710
+ */
711
+ username: string;
712
+ }
713
+ interface UserDetail {
714
+ /** For admin accounts, whether the user is acting in an administrative capacity, i.e. acting as everyone
715
+ */
716
+ become_admin?: boolean;
717
+ /** The user's filesystem user uid
718
+ */
719
+ f_uid?: number;
720
+ /** The date and time the user was first seen (an ISO-8601 formatted string in UTC)
721
+ */
722
+ first_seen?: string;
723
+ /** For admin accounts, whether the user is impersonating another user
724
+ */
725
+ impersonate?: string;
726
+ /** The date the user was last seen
727
+ */
728
+ last_seen_date?: string;
729
+ /** Set if the user's account is marked as private. Private accounts do not show up against general queries.
730
+ */
731
+ private: boolean;
732
+ /** True if the account is suspended
733
+ */
734
+ suspended?: boolean;
735
+ /** If the account is suspended this typically displays a reason for suspension
736
+ */
737
+ suspension_message?: string;
738
+ /** The user's preferred username
739
+ */
740
+ username: string;
741
+ }
742
+ interface UserAccountDetail {
743
+ /** Whether the caller has admin privilege */
744
+ caller_has_admin_privilege: boolean;
745
+ /** The Data Manager roles the user has */
746
+ data_manager_roles: string[];
747
+ user: UserDetail;
748
+ }
749
+ /**
750
+ * The Schema type (an object)
751
+
752
+ */
753
+ type TypeSummaryFormatterOptionsType = typeof TypeSummaryFormatterOptionsType[keyof typeof TypeSummaryFormatterOptionsType];
754
+ declare const TypeSummaryFormatterOptionsType: {
755
+ readonly object: "object";
756
+ };
757
+ /**
758
+ * If present, contains the formatter_options that can be entered in the format_extra_variables field in the POST /dataset api.
759
+
760
+ */
761
+ type TypeSummaryFormatterOptions = {
762
+ /** Required properties
763
+ */
764
+ required: string[];
765
+ /** The title of the Formatter object
766
+ */
767
+ title: string;
768
+ /** The Schema type (an object)
769
+ */
770
+ type: TypeSummaryFormatterOptionsType;
771
+ [key: string]: any;
772
+ };
773
+ interface TypeSummary {
774
+ /** The file's supported file extensions. Each type is limited to a limited number of extensions. For example, SDF files must have the extension `.sdf` (or `.sdf.gz`).
775
+ */
776
+ file_extensions: string[];
777
+ /** The file's type's format-support container image (if set). Types without a format support image cannot be uploaded, but they might be available for use as destination type when a Dataset is added to a Project.
778
+ */
779
+ formatter_image?: string;
780
+ /** If present, contains the formatter_options that can be entered in the format_extra_variables field in the POST /dataset api.
781
+ */
782
+ formatter_options?: TypeSummaryFormatterOptions;
783
+ /** True if Datasets uploaded using this type's support loading of data into the Data Manager data-base.
784
+ */
785
+ formatter_supports_db_load?: boolean;
786
+ /** The File Type MIME
787
+ */
788
+ mime: string;
789
+ }
790
+ /**
791
+ * The processing stage. When loading a Dataset it typically passes through `COPYING`, `FORMATTING` and `LOADING` stages before reaching `DONE` (or `FAILED`). A Dataset can be used (and deleted) as long as it's passed the `FORMATTING` stage
792
+
793
+ */
794
+ type TaskSummaryProcessingStage = typeof TaskSummaryProcessingStage[keyof typeof TaskSummaryProcessingStage];
795
+ declare const TaskSummaryProcessingStage: {
796
+ readonly COPYING: "COPYING";
797
+ readonly FAILED: "FAILED";
798
+ readonly FORMATTING: "FORMATTING";
799
+ readonly LOADING: "LOADING";
800
+ readonly DELETING: "DELETING";
801
+ readonly DONE: "DONE";
802
+ };
803
+ interface TaskSummary {
804
+ /** The date and time the task was created
805
+ */
806
+ created: string;
807
+ /** True if the task has run to completion. If the task finished successfully the `exit_code` will be zero.
808
+ */
809
+ done: boolean;
810
+ /** Present when `done` and zero if the task finished successfully.
811
+ */
812
+ exit_code?: number;
813
+ /** The Task UUID
814
+ */
815
+ id: string;
816
+ /** If a container image is launched by the task the image name is available here
817
+ */
818
+ image?: string;
819
+ /** The processing stage. When loading a Dataset it typically passes through `COPYING`, `FORMATTING` and `LOADING` stages before reaching `DONE` (or `FAILED`). A Dataset can be used (and deleted) as long as it's passed the `FORMATTING` stage
820
+ */
821
+ processing_stage?: TaskSummaryProcessingStage;
822
+ /** The purpose for the Task. Tasks are responsible for _uploading_ a Dataset, _attaching_ a Dataset as a File to a project or launching an Applications _instance_.
823
+ */
824
+ purpose: string;
825
+ /** The related object ID for the Task purpose. If the purpose relates to a **Dataset** upload the ID will be a Dataset ID.
826
+ */
827
+ purpose_id: string;
828
+ /** The related object version for the Task purpose. This field will only be set if the **purpose** is `DATASET`.
829
+ */
830
+ purpose_version?: number;
831
+ /** True if the Task relates to an object removal, i.e. a DELETE
832
+ */
833
+ removal?: boolean;
834
+ }
835
+ /**
836
+ * The task state. The typical state sequence is `PENDING`, then `STARTED` and finally `SUCCESS`
837
+
838
+ */
839
+ type TaskStateState = typeof TaskStateState[keyof typeof TaskStateState];
840
+ declare const TaskStateState: {
841
+ readonly PENDING: "PENDING";
842
+ readonly STARTED: "STARTED";
843
+ readonly RETRY: "RETRY";
844
+ readonly SUCCESS: "SUCCESS";
845
+ readonly FAILURE: "FAILURE";
846
+ };
847
+ interface TaskState {
848
+ /** A short message accompanying the state, generally only found when the state is `FAILURE`
849
+ */
850
+ message?: string;
851
+ /** The task state. The typical state sequence is `PENDING`, then `STARTED` and finally `SUCCESS`
852
+ */
853
+ state: TaskStateState;
854
+ /** The date and time of the state change
855
+ */
856
+ time: string;
857
+ }
858
+ interface TaskIdentity {
859
+ task_id: string;
860
+ }
861
+ /**
862
+ * The level of the message, a typical logging framework value
863
+
864
+ */
865
+ type TaskEventLevel = typeof TaskEventLevel[keyof typeof TaskEventLevel];
866
+ declare const TaskEventLevel: {
867
+ readonly CRITICAL: "CRITICAL";
868
+ readonly ERROR: "ERROR";
869
+ readonly WARNING: "WARNING";
870
+ readonly INFO: "INFO";
871
+ readonly DEBUG: "DEBUG";
872
+ };
873
+ interface TaskEvent {
874
+ /** The level of the message, a typical logging framework value
875
+ */
876
+ level: TaskEventLevel;
877
+ /** A short message.
878
+ */
879
+ message: string;
880
+ /** The event sequence number. The first event is always '1'.
881
+ */
882
+ ordinal: number;
883
+ /** The date and time the event was generated
884
+ */
885
+ time: string;
886
+ }
887
+ type ServiceErrorSummarySeverity = typeof ServiceErrorSummarySeverity[keyof typeof ServiceErrorSummarySeverity];
888
+ declare const ServiceErrorSummarySeverity: {
889
+ readonly CRITICAL: "CRITICAL";
890
+ readonly ERROR: "ERROR";
891
+ readonly WARNING: "WARNING";
892
+ };
893
+ interface ServiceErrorSummary {
894
+ acknowledged: boolean;
895
+ acknowledged_at?: string;
896
+ acknowledging_user?: string;
897
+ created: string;
898
+ error_code?: number;
899
+ hostname: string;
900
+ id: number;
901
+ severity: ServiceErrorSummarySeverity;
902
+ stack_trace: string;
903
+ summary: string;
904
+ }
905
+ interface ProjectFileDetail {
906
+ /** The code obtained from the Account Server
907
+ */
908
+ authorisation_code?: number;
909
+ /** The ProjectFile's Dataset origin
910
+ */
911
+ dataset_id?: string;
912
+ /** The ProjectFile's Dataset origin version
913
+ */
914
+ dataset_version?: number;
915
+ /** The ProjectFile's unique ID
916
+ */
917
+ file_id: string;
918
+ /** The ProjectFile's filename within the Project
919
+ */
920
+ file_name: string;
921
+ /** The ProjectFile's path within the Project volume
922
+ */
923
+ file_path: string;
924
+ /** True if the ProjectFile cannot be modified while in the Project
925
+ */
926
+ immutable: boolean;
927
+ /** The ProjectFile MIME type
928
+ */
929
+ mime_type: string;
930
+ /** The owner of the ProjectFile. This is the user that added the Dataset (as this file) to the Project
931
+ */
932
+ owner: string;
933
+ /** The Project the ProjectFile belongs to
934
+ */
935
+ project_id?: string;
936
+ }
937
+ interface ProjectDetail {
938
+ /** An administrator (user_id) of the project */
939
+ administrators: string[];
940
+ created: string;
941
+ /** The user who created the project
942
+ */
943
+ creator: string;
944
+ /** An editor (user_id) of the project */
945
+ editors: string[];
946
+ /** A list of managed files in the Project
947
+ */
948
+ files?: ProjectFileDetail[];
949
+ /** The project name
950
+ */
951
+ name: string;
952
+ /** An observer (user_id) of the project */
953
+ observers: string[];
954
+ /** The Account Server Organisation the Project Product Unit belongs to
955
+ */
956
+ organisation_id?: string;
957
+ /** True if the project is private. Private projects are only visible to editors.
958
+ */
959
+ private: boolean;
960
+ /** The Account Server Product the Project belongs to
961
+ */
962
+ product_id?: string;
963
+ /** The project unique reference
964
+ */
965
+ project_id: string;
966
+ /** The approximate size of all the files in the Project volume. This is updated regularly throughout the day and its current size may differ from what is reported here. The smallest billable unit is 1GiB (1,073,741,824 bytes). Therefore a project that contains 32KiB of files is recorded as 1GiB in size */
967
+ size: number;
968
+ /** The Account Server Unit the Project Product belongs to
969
+ */
970
+ unit_id?: string;
971
+ }
972
+ interface JobReplacement {
973
+ collection: string;
974
+ job: string;
975
+ }
976
+ /**
977
+ * A list of Jobs, collection and job that are either replacing or being replaced
978
+
979
+ */
980
+ type JobReplacements = JobReplacement[];
981
+ interface JobOrderDetail {
982
+ options: string[];
983
+ }
984
+ /**
985
+ * The Job command's outputs. The JSONSchema for the command's inputs, essentially the **variables/outputs** block of the Job's JobDefinition.
986
+
987
+ */
988
+ type JobVariablesOutputs = {
989
+ [key: string]: any;
990
+ };
991
+ /**
992
+ * The Job command's options. The JSONSchema for the command's options, essentially the **variables/options** block of the Job's JobDefinition.
993
+
994
+ */
995
+ type JobVariablesOptions = {
996
+ [key: string]: any;
997
+ };
998
+ /**
999
+ * The Job command's inputs. The JSONSchema for the command's inputs, essentially the **variables/inputs** block of the Job's JobDefinition.
1000
+
1001
+ */
1002
+ type JobVariablesInputs = {
1003
+ [key: string]: any;
1004
+ };
1005
+ interface JobVariables {
1006
+ /** The Job command's inputs. The JSONSchema for the command's inputs, essentially the **variables/inputs** block of the Job's JobDefinition.
1007
+ */
1008
+ inputs?: JobVariablesInputs;
1009
+ /** The Job command's options. The JSONSchema for the command's options, essentially the **variables/options** block of the Job's JobDefinition.
1010
+ */
1011
+ options?: JobVariablesOptions;
1012
+ /** The Job command's variable ordering declaration. Contains a list of `options` in an ordered list, the order defines the order of presentation of the Job's variables.
1013
+ */
1014
+ order?: JobOrderDetail;
1015
+ /** The Job command's outputs. The JSONSchema for the command's inputs, essentially the **variables/outputs** block of the Job's JobDefinition.
1016
+ */
1017
+ outputs?: JobVariablesOutputs;
1018
+ }
1019
+ /**
1020
+ * The optional container image type. Typically a single-container 'SIMPLE' (where only one container runs) or a workflow where multiple container images can be spawned (like NEXTFLOW)
1021
+
1022
+ */
1023
+ type JobSummaryImageType = typeof JobSummaryImageType[keyof typeof JobSummaryImageType];
1024
+ declare const JobSummaryImageType: {
1025
+ readonly SIMPLE: "SIMPLE";
1026
+ readonly NEXTFLOW: "NEXTFLOW";
1027
+ };
1028
+ interface JobSummary {
1029
+ /** The Job's category
1030
+ */
1031
+ category?: string;
1032
+ /** The Job namespace
1033
+ */
1034
+ collection: string;
1035
+ /** The description of the job in English
1036
+ */
1037
+ description?: string;
1038
+ /** True if disabled. Disabled Jobs cannot be executed. If disabled a reason will be found in `disabled_reason`
1039
+ */
1040
+ disabled: boolean;
1041
+ /** A reason why the Job has been disabled.
1042
+ */
1043
+ disabled_reason?: string;
1044
+ /** A suggested remedy that accompanies the "disabled_reason". This provides the client with advice on how to avoid the reason that the Job's been disabled, for reasons that can be avoided (not all are).
1045
+
1046
+ Where there is no remedy for a given reason the remedy will be "There is no remedy".
1047
+ */
1048
+ disabled_remedy?: string;
1049
+ /** A URL linking to the Job documentation
1050
+ */
1051
+ doc_url?: string;
1052
+ /** The Job's unique ID
1053
+ */
1054
+ id: number;
1055
+ /** The optional container image type. Typically a single-container 'SIMPLE' (where only one container runs) or a workflow where multiple container images can be spawned (like NEXTFLOW)
1056
+ */
1057
+ image_type: JobSummaryImageType;
1058
+ /** The Job name, unique within a given namespace
1059
+ */
1060
+ job: string;
1061
+ /** The list of keywords assigned to the Job
1062
+ */
1063
+ keywords?: string[];
1064
+ /** A list of Account Server "required_assets" that cannot be found. If assets cannot be found the user will receive a "disabled_reason" that should explain the problem.
1065
+ */
1066
+ missing_assets?: string[];
1067
+ /** The name of the job in English
1068
+ */
1069
+ name: string;
1070
+ replaced_by?: JobReplacements;
1071
+ replaces?: JobReplacements;
1072
+ /** A list of Account Server assets names required to run the Job. You need access to these assets in order to run the Job
1073
+ */
1074
+ required_assets: string[];
1075
+ /** The Job version
1076
+ */
1077
+ version: string;
1078
+ }
1079
+ interface JobManifestDetail {
1080
+ /** The Date (and time) the manifest was created
1081
+ */
1082
+ created: string;
1083
+ /** The (admin) user who created the manifest
1084
+ */
1085
+ creator?: string;
1086
+ header?: string;
1087
+ /** The Job Manifest record ID */
1088
+ id: number;
1089
+ /** The number of job definition files loaded during the most recent successful load
1090
+ */
1091
+ job_definition_files_loaded?: number;
1092
+ /** The number of job definitions loaded during the most recent successful load
1093
+ */
1094
+ job_definitions_loaded?: number;
1095
+ /** The status of the time the manifest was last loaded. If the load was successful this will be `SUCCESS` and `last_successful_load` will be the same as `last_load`
1096
+ */
1097
+ last_load_status: string;
1098
+ /** The Date (and time) the manifest was last loaded, successfully or otherwise. If the manifest (or any of the Job definition files it refers to) fails to load the `load_status` should provide some diagnostic feedback
1099
+ */
1100
+ last_load_time?: string;
1101
+ /** The Date (and time) the manifest was last loaded successfully
1102
+ */
1103
+ last_successful_load_time?: string;
1104
+ params?: string;
1105
+ url: string;
1106
+ }
1107
+ interface JobApplication {
1108
+ /** The Job's operator ID */
1109
+ id: string;
1110
+ /** The Job's operator version */
1111
+ version: string;
1112
+ }
1113
+ /**
1114
+ * The phase of the application. This is a string, one of a limited number of values that are defined internally within the Data Manager.
1115
+ The initial phase, indicating that the Instance is preparing to run, is `PENDING`. The instance is running when the phase is `RUNNING`. `COMPLETED` indicates the Instance has finished successfully and `FAILED` when it's finished but unsuccessfully.
1116
+
1117
+ */
1118
+ type InstanceSummaryPhase = typeof InstanceSummaryPhase[keyof typeof InstanceSummaryPhase];
1119
+ declare const InstanceSummaryPhase: {
1120
+ readonly COMPLETED: "COMPLETED";
1121
+ readonly CRASH_LOOP_BACKOFF: "CRASH_LOOP_BACKOFF";
1122
+ readonly FAILED: "FAILED";
1123
+ readonly IMAGE_PULL_BACKOFF: "IMAGE_PULL_BACKOFF";
1124
+ readonly PENDING: "PENDING";
1125
+ readonly RUNNING: "RUNNING";
1126
+ readonly SUCCEEDED: "SUCCEEDED";
1127
+ readonly UNKNOWN: "UNKNOWN";
1128
+ };
1129
+ /**
1130
+ * The Job container image type. Typically a single-container 'SIMPLE' (where only one container runs) or a workflow where multiple container images can be spawned (like NEXTFLOW)
1131
+
1132
+ */
1133
+ type InstanceSummaryJobImageType = typeof InstanceSummaryJobImageType[keyof typeof InstanceSummaryJobImageType];
1134
+ declare const InstanceSummaryJobImageType: {
1135
+ readonly SIMPLE: "SIMPLE";
1136
+ readonly NEXTFLOW: "NEXTFLOW";
1137
+ };
1138
+ /**
1139
+ * The type of Application, which can be a `job` or an `application`
1140
+
1141
+ */
1142
+ type InstanceSummaryApplicationType = typeof InstanceSummaryApplicationType[keyof typeof InstanceSummaryApplicationType];
1143
+ declare const InstanceSummaryApplicationType: {
1144
+ readonly APPLICATION: "APPLICATION";
1145
+ readonly JOB: "JOB";
1146
+ };
1147
+ interface InstanceSummary {
1148
+ /** The application ID
1149
+ */
1150
+ application_id: string;
1151
+ /** The User's specification, provided when the application was launched
1152
+ */
1153
+ application_specification?: string;
1154
+ /** The type of Application, which can be a `job` or an `application`
1155
+ */
1156
+ application_type: InstanceSummaryApplicationType;
1157
+ /** The application version
1158
+ */
1159
+ application_version: string;
1160
+ /** True if the instance is archived (protected from automatic deletion)
1161
+ */
1162
+ archived: boolean;
1163
+ /** The code obtained from the Account Server
1164
+ */
1165
+ authorisation_code?: number;
1166
+ /** The current running coin cost of the instance.
1167
+ */
1168
+ coins?: string;
1169
+ /** Set if the instance output file permissions are expected to be fixed by the Data Manager when the Instance completes.
1170
+ */
1171
+ fix_permissions?: boolean;
1172
+ /** The application instance ID
1173
+ */
1174
+ id: string;
1175
+ /** If the instance relates to a job, this will be the job collection, as defined in the original collection's job definition.
1176
+ */
1177
+ job_collection?: string;
1178
+ /** The Job definition's unique ID
1179
+ */
1180
+ job_id?: number;
1181
+ /** The Job container image type. Typically a single-container 'SIMPLE' (where only one container runs) or a workflow where multiple container images can be spawned (like NEXTFLOW)
1182
+ */
1183
+ job_image_type?: InstanceSummaryJobImageType;
1184
+ /** If the instance relates to a job, this will be the job, as defined in the original collection's job definition.
1185
+ */
1186
+ job_job?: string;
1187
+ /** If the instance relates to a job, this will be the job's name, as defined in the original collection's job definition.
1188
+ */
1189
+ job_name?: string;
1190
+ /** If the instance relates to a job, this will be the job's name, as defined in the original collection's job definition.
1191
+ */
1192
+ job_version?: string;
1193
+ /** The data and time (UTC) the instance was launched
1194
+ */
1195
+ launched: string;
1196
+ /** The Instance name
1197
+ */
1198
+ name: string;
1199
+ /** The instance's known outputs, a JSON string defining a map of all the outputs. Typically applied only to JOB application types
1200
+ */
1201
+ outputs?: string;
1202
+ /** The application instance owner, the person who launched the application and is the only user than can stop it.
1203
+ */
1204
+ owner: string;
1205
+ /** The phase of the application. This is a string, one of a limited number of values that are defined internally within the Data Manager.
1206
+ The initial phase, indicating that the Instance is preparing to run, is `PENDING`. The instance is running when the phase is `RUNNING`. `COMPLETED` indicates the Instance has finished successfully and `FAILED` when it's finished but unsuccessfully.
1207
+ */
1208
+ phase: InstanceSummaryPhase;
1209
+ /** The Project the instances is running in.
1210
+ */
1211
+ project_id: string;
1212
+ /** The time the instance has spent running in the cluster. It's a string representation of a Python `timedelta`` object, e.g. `0:12:32` for a run-time of 12 minutes and 32 seconds. The run-time must be considered as an _estimate_ until the instance has stopped and the instance is only considered to be running once `started` has been set.
1213
+ */
1214
+ run_time: string;
1215
+ /** The data and time (UTC) the instance started running
1216
+ */
1217
+ started?: string;
1218
+ /** The data and time (UTC) the instance stopped running
1219
+ */
1220
+ stopped?: string;
1221
+ /** For applications (not Jobs) this is the URL the application has exposed. It will only be available when the application has started.
1222
+ */
1223
+ url?: string;
1224
+ }
1225
+ interface FileStat {
1226
+ /** The date and time (UTC) of the last modification
1227
+ */
1228
+ modified: string;
1229
+ /** The size of the file in bytes
1230
+ */
1231
+ size: number;
1232
+ }
1233
+ interface FilePathFile {
1234
+ /** The code obtained from the Account Server
1235
+ */
1236
+ authorisation_code?: number;
1237
+ /** The file's Dataset ID (if the file belongs to a Dataset)
1238
+ */
1239
+ dataset_id?: string;
1240
+ /** The file's Dataset version (if the file belongs to a Dataset)
1241
+ */
1242
+ dataset_version?: number;
1243
+ /** The ID of the file (if the file belongs to a Dataset)
1244
+ */
1245
+ file_id?: string;
1246
+ /** The file name
1247
+ */
1248
+ file_name: string;
1249
+ /** Whether the file is immutable (read-only)
1250
+ */
1251
+ immutable?: boolean;
1252
+ /** The file's MIME type
1253
+ */
1254
+ mime_type?: string;
1255
+ /** The file's owner
1256
+ */
1257
+ owner: string;
1258
+ stat: FileStat;
1259
+ }
1260
+ interface JobExchangeRateSummary {
1261
+ collection: string;
1262
+ id: number;
1263
+ job: string;
1264
+ rate?: string;
1265
+ version: string;
1266
+ }
1267
+ interface ApplicationExchangeRateSummary {
1268
+ id: string;
1269
+ rate?: string;
1270
+ }
1271
+ interface ExchangeRateDetail {
1272
+ comment?: string;
1273
+ created: string;
1274
+ id: number;
1275
+ rate: string;
1276
+ user_id: string;
1277
+ }
1278
+ /**
1279
+ * The processing stage. When loading a Dataset it typically passes through `COPYING`, `FORMATTING` and `LOADING` stages before reaching `DONE` (or `FAILED`). A Dataset can be used (and deleted) as long as it's passed the `FORMATTING` stage
1280
+
1281
+ */
1282
+ type DatasetVersionSummaryProcessingStage = typeof DatasetVersionSummaryProcessingStage[keyof typeof DatasetVersionSummaryProcessingStage];
1283
+ declare const DatasetVersionSummaryProcessingStage: {
1284
+ readonly COPYING: "COPYING";
1285
+ readonly FAILED: "FAILED";
1286
+ readonly FORMATTING: "FORMATTING";
1287
+ readonly LOADING: "LOADING";
1288
+ readonly DELETING: "DELETING";
1289
+ readonly DONE: "DONE";
1290
+ };
1291
+ /**
1292
+ * The dictionary of label/value pairs
1293
+
1294
+ */
1295
+ type DatasetVersionSummaryLabels = {
1296
+ [key: string]: any;
1297
+ };
1298
+ interface DatasetVersionSummary {
1299
+ /** The code obtained from the Account Server
1300
+ */
1301
+ authorisation_code?: number;
1302
+ /** The name of the Pod handling the creation of the Dataset
1303
+ */
1304
+ creator_pod_name?: string;
1305
+ /** If this is a Deleted dataset this is the date and time the dataset was deleted (an ISO-8601 formatted string in UTC)
1306
+ */
1307
+ deleted?: string;
1308
+ /** If this is a Deleted dataset this is the username of the user that deleted the Dataset
1309
+ */
1310
+ deleting_user?: string;
1311
+ /** The filename of the Dataset
1312
+ */
1313
+ file_name: string;
1314
+ /** Any extra variables passed in during the upload and handed to the format-support container.
1315
+ */
1316
+ format_extra_variables?: string;
1317
+ /** The dictionary of label/value pairs
1318
+ */
1319
+ labels?: DatasetVersionSummaryLabels;
1320
+ /** The owner of the Dataset version
1321
+ */
1322
+ owner?: string;
1323
+ /** The processing stage. When loading a Dataset it typically passes through `COPYING`, `FORMATTING` and `LOADING` stages before reaching `DONE` (or `FAILED`). A Dataset can be used (and deleted) as long as it's passed the `FORMATTING` stage
1324
+ */
1325
+ processing_stage: DatasetVersionSummaryProcessingStage;
1326
+ /** The list of Project's the Dataset is attached to
1327
+ */
1328
+ projects: string[];
1329
+ /** The date and time the Dataset was uploaded (an ISO-8601 formatted string in UTC)
1330
+ */
1331
+ published: string;
1332
+ /** The size, in bytes, of the formatted Dataset
1333
+ */
1334
+ size?: number;
1335
+ /** The source of the Dataset - typically the name of the Dataset that was uploaded or a URL reference
1336
+ */
1337
+ source_ref: string;
1338
+ /** The Dataset MIME type
1339
+ */
1340
+ type: string;
1341
+ /** The version of the dataset
1342
+ */
1343
+ version: number;
1344
+ }
1345
+ interface DatasetVersionProjectFile {
1346
+ files: string[];
1347
+ project: string;
1348
+ project_name: string;
1349
+ }
1350
+ /**
1351
+ * The processing stage. When loading a Dataset it typically passes through `COPYING`, `FORMATTING` and `LOADING` stages before reaching `DONE` (or `FAILED`). A Dataset can be used (and deleted) as long as it's passed the `FORMATTING` stage
1352
+
1353
+ */
1354
+ type DatasetVersionDetailProcessingStage = typeof DatasetVersionDetailProcessingStage[keyof typeof DatasetVersionDetailProcessingStage];
1355
+ declare const DatasetVersionDetailProcessingStage: {
1356
+ readonly COPYING: "COPYING";
1357
+ readonly FAILED: "FAILED";
1358
+ readonly FORMATTING: "FORMATTING";
1359
+ readonly LOADING: "LOADING";
1360
+ readonly DELETING: "DELETING";
1361
+ readonly DONE: "DONE";
1362
+ };
1363
+ /**
1364
+ * The dictionary of label/value pairs
1365
+
1366
+ */
1367
+ type DatasetVersionDetailLabels = {
1368
+ [key: string]: any;
1369
+ };
1370
+ interface DatasetVersionDetail {
1371
+ /** The code obtained from the Account Server
1372
+ */
1373
+ authorisation_code?: number;
1374
+ /** The name of the Pod handling the creation of the Dataset
1375
+ */
1376
+ creator_pod_name?: string;
1377
+ /** If this is a Deleted dataset this is the date and time the dataset was deleted (an ISO-8601 formatted string in UTC)
1378
+ */
1379
+ deleted?: string;
1380
+ /** If this is a Deleted dataset this is the username of the user that deleted the Dataset
1381
+ */
1382
+ deleting_user?: string;
1383
+ /** The filename of the Dataset
1384
+ */
1385
+ file_name: string;
1386
+ /** Any extra variables passed in during the upload and handed to the format-support container.
1387
+ */
1388
+ format_extra_variables?: string;
1389
+ /** The dictionary of label/value pairs
1390
+ */
1391
+ labels?: DatasetVersionDetailLabels;
1392
+ /** The owner of the Dataset version
1393
+ */
1394
+ owner: string;
1395
+ /** The processing stage. When loading a Dataset it typically passes through `COPYING`, `FORMATTING` and `LOADING` stages before reaching `DONE` (or `FAILED`). A Dataset can be used (and deleted) as long as it's passed the `FORMATTING` stage
1396
+ */
1397
+ processing_stage: DatasetVersionDetailProcessingStage;
1398
+ /** The list of
1399
+ */
1400
+ project_files: DatasetVersionProjectFile[];
1401
+ /** The list of Project's the Dataset is attached to
1402
+ */
1403
+ projects: string[];
1404
+ /** The date and time the Dataset was uploaded (an ISO-8601 formatted string in UTC)
1405
+ */
1406
+ published: string;
1407
+ /** The size, in bytes, of the formatted Dataset
1408
+ */
1409
+ size?: number;
1410
+ /** The source of the Dataset - typically the name of the Dataset that was uploaded or a URL reference
1411
+ */
1412
+ source_ref: string;
1413
+ /** The Dataset MIME type
1414
+ */
1415
+ type: string;
1416
+ /** The version of the dataset
1417
+ */
1418
+ version: number;
1419
+ }
1420
+ interface DatasetSummary {
1421
+ /** The Dataset ID
1422
+ */
1423
+ dataset_id: string;
1424
+ /** The list of editors
1425
+ */
1426
+ editors: string[];
1427
+ /** The set of separate versions of the Dataset
1428
+ */
1429
+ versions: DatasetVersionSummary[];
1430
+ }
1431
+ interface DatasetDetail {
1432
+ /** The Dataset ID
1433
+ */
1434
+ dataset_id: string;
1435
+ /** The list of editors
1436
+ */
1437
+ editors: string[];
1438
+ /** The owner of the Dataset
1439
+ */
1440
+ owner: string;
1441
+ /** The set of separate versions of the Dataset
1442
+ */
1443
+ versions: DatasetVersionDetail[];
1444
+ }
1445
+ interface ApplicationSummary {
1446
+ /** The application unique reference, the value of the Kubernetes **Custom Resource Definition** `metadata.name` property
1447
+ */
1448
+ application_id: string;
1449
+ /** The application group
1450
+ */
1451
+ group?: string;
1452
+ /** The application name, the value of the Kubernetes **Custom Resource Definition** `spec.names.kind` property
1453
+ */
1454
+ kind: string;
1455
+ /** The application's latest version as declared in The **Custom Resource Definition**
1456
+ */
1457
+ latest_version: string;
1458
+ }
1459
+ interface ApplicationImageVariant {
1460
+ image: string;
1461
+ name: string;
1462
+ }
1463
+ interface ApplicationImageVariants {
1464
+ public?: ApplicationImageVariant[];
1465
+ }
1466
+ /**
1467
+ * The REST method used. GET methods are not logged
1468
+
1469
+ */
1470
+ type ApiLogDetailMethod = typeof ApiLogDetailMethod[keyof typeof ApiLogDetailMethod];
1471
+ declare const ApiLogDetailMethod: {
1472
+ readonly DELETE: "DELETE";
1473
+ readonly PATCH: "PATCH";
1474
+ readonly POST: "POST";
1475
+ readonly PUT: "PUT";
1476
+ };
1477
+ interface ApiLogDetail {
1478
+ /** The date/time the API call began
1479
+ */
1480
+ began: string;
1481
+ /** A JSON string representing the in-body properties used in the call
1482
+ */
1483
+ body?: string;
1484
+ /** The REST method approximate execution time (nS) in a humanised form, where 7969400 is presented as 7,969,400
1485
+ */
1486
+ duration_ns?: string;
1487
+ /** Not all API calls using your user ID may have been executed by you, In cases where an administrator has executed a REST API call on your behalf, their user ID will be revealed using this property
1488
+ */
1489
+ impersonator?: string;
1490
+ /** The REST method used. GET methods are not logged
1491
+ */
1492
+ method: ApiLogDetailMethod;
1493
+ /** A JSON string representing the in-query properties used in the call
1494
+ */
1495
+ params?: string;
1496
+ /** The API path used, e.g. `/dataset`
1497
+ */
1498
+ path: string;
1499
+ /** The HTTP response status code
1500
+ */
1501
+ status_code?: number;
1502
+ }
1503
+ interface ModeGetResponse {
1504
+ /** The Data Manager mode. The mode determines what features are available through the API. There are two modes, DEVELOPMENT, and PRODUCTION. In DEVELOPMENT mode some destructive operation are permitted (for example the removal of Job Definitions)
1505
+ */
1506
+ mode: string;
1507
+ }
1508
+ interface VersionGetResponse {
1509
+ /** The Data Manager version. This is guaranteed to be a valid semantic version for official (tagged) images. The version value format for unofficial images is a string but otherwise undefined
1510
+ */
1511
+ version: string;
1512
+ }
1513
+ interface UsersGetResponse {
1514
+ /** A list of Users that have used the Data Manager
1515
+ */
1516
+ users: UserSummary[];
1517
+ }
1518
+ interface UserApiLogGetResponse {
1519
+ /** A list of API loc call records, with the oldest record first in the list
1520
+ */
1521
+ api_log: ApiLogDetail[];
1522
+ }
1523
+ interface UserActivityDetail {
1524
+ /** A list of dates where the API has been used during the monitoring period. Dates are returned if when the activity is not 100% and active dates are present. Dates are listed in reverse chronological order (i.e. the most recent first)
1525
+ */
1526
+ active_dates?: string[];
1527
+ /** The number of days the API has been used
1528
+ */
1529
+ active_days: number;
1530
+ /** Active days, as a percentage, over the monitoring period.
1531
+ */
1532
+ activity: string;
1533
+ /** The number of days the API has not been used
1534
+ */
1535
+ inactive_days: number;
1536
+ /** The period over which the activity is monitored
1537
+ */
1538
+ monitoring_period: string;
1539
+ }
1540
+ type UserAccountGetResponse = UserAccountDetail;
1541
+ interface TypesGetResponse {
1542
+ /** A list of available MIME types
1543
+ */
1544
+ types: TypeSummary[];
1545
+ }
1546
+ interface TasksGetResponse {
1547
+ /** A list of Tasks
1548
+ */
1549
+ tasks: TaskSummary[];
1550
+ }
1551
+ /**
1552
+ * The purpose of the task. Tasks are typically executed for the purpose of Dataset processing, attaching as Project Files or Application Instance execution. Other fields in this object are only valid if the purpose is known (i.e. is not `UNKNOWN`)
1553
+
1554
+ */
1555
+ type TaskGetResponsePurpose = typeof TaskGetResponsePurpose[keyof typeof TaskGetResponsePurpose];
1556
+ declare const TaskGetResponsePurpose: {
1557
+ readonly DATASET: "DATASET";
1558
+ readonly FILE: "FILE";
1559
+ readonly INSTANCE: "INSTANCE";
1560
+ readonly PROJECT: "PROJECT";
1561
+ };
1562
+ interface TaskGetResponse {
1563
+ /** The date and time the task was created
1564
+ */
1565
+ created: string;
1566
+ /** True if the task has run to completion. If the task finished successfully the `exit_code` will be zero.
1567
+ */
1568
+ done: boolean;
1569
+ /** A (possibly empty) list of application events. The oldest event occupies the first position in the list.
1570
+ */
1571
+ events?: TaskEvent[];
1572
+ /** Present when `done` and zero if the task finished successfully.
1573
+ */
1574
+ exit_code?: number;
1575
+ /** If a container image is launched by the task the image name is available here
1576
+ */
1577
+ image?: string;
1578
+ /** Is the Task Purpose is `INSTANCE`, and the instance was given a `specification` the specification can be found here. For **Applications** the specification is returned verbatim.
1579
+ */
1580
+ instance_specification?: string;
1581
+ /** The purpose of the task. Tasks are typically executed for the purpose of Dataset processing, attaching as Project Files or Application Instance execution. Other fields in this object are only valid if the purpose is known (i.e. is not `UNKNOWN`)
1582
+ */
1583
+ purpose: TaskGetResponsePurpose;
1584
+ /** The identity of the purpose, where available. This will be the Dataset UUID if the purpose of the task is/was for Dataset processing.
1585
+ */
1586
+ purpose_id: string;
1587
+ /** The version number, relating to the object under control. For Datasets this will be the Dataset version.
1588
+ */
1589
+ purpose_version?: number;
1590
+ /** True if the Task relates to an object removal, i.e. a DELETE
1591
+ */
1592
+ removal?: boolean;
1593
+ /** A (possibly empty) list of application states, the oldest state occupies the first position in the list.
1594
+ */
1595
+ states?: TaskState[];
1596
+ }
1597
+ interface ServiceErrorsGetResponse {
1598
+ /** A list of service errors
1599
+ */
1600
+ service_errors: ServiceErrorSummary[];
1601
+ }
1602
+ interface ProjectsGetResponse {
1603
+ projects: ProjectDetail[];
1604
+ }
1605
+ interface ProjectPostResponse {
1606
+ /** The project identity
1607
+ */
1608
+ project_id: string;
1609
+ }
1610
+ type ProjectGetResponse = ProjectDetail;
1611
+ type ProjectDeleteResponse = TaskIdentity;
1612
+ interface JobsGetResponse {
1613
+ jobs: JobSummary[];
1614
+ }
1615
+ /**
1616
+ * The directory used as the container image working directory (if defined)
1617
+
1618
+ */
1619
+ type JobGetResponseImageWorkingDirectory = {};
1620
+ /**
1621
+ * The optional container image type. Typically a single-container `SIMPLE` (where only one container runs) or a workflow where multiple container images can be spawned (like `NEXTFLOW`)
1622
+
1623
+ */
1624
+ type JobGetResponseImageType = typeof JobGetResponseImageType[keyof typeof JobGetResponseImageType];
1625
+ declare const JobGetResponseImageType: {
1626
+ readonly SIMPLE: "SIMPLE";
1627
+ readonly NEXTFLOW: "NEXTFLOW";
1628
+ };
1629
+ interface JobGetResponse {
1630
+ application: ApplicationSummary;
1631
+ /** The Job's category
1632
+ */
1633
+ category?: string;
1634
+ /** The Job collection
1635
+ */
1636
+ collection: string;
1637
+ /** The Job command (usually encoded)
1638
+ */
1639
+ command: string;
1640
+ /** The Job command encoding
1641
+ */
1642
+ command_encoding: string;
1643
+ /** English description of the job
1644
+ */
1645
+ description?: string;
1646
+ /** True if disabled. Disabled Jobs cannot be executed. If disabled a reason will be found in `disabled_reason`
1647
+ */
1648
+ disabled: boolean;
1649
+ /** A reason why the Job has been disabled.
1650
+ */
1651
+ disabled_reason?: string;
1652
+ /** A suggested remedy that accompanies the "disabled_reason". This provides the client with advice on how to avoid the reason that the Job's been disabled, for reasons that can be avoided (not all are).
1653
+
1654
+ Where there is no remedy for a given reason the remedy will be "There is no remedy".
1655
+ */
1656
+ disabled_remedy?: string;
1657
+ /** A URL linking to the Job documentation
1658
+ */
1659
+ doc_url?: string;
1660
+ exchange_rate: string;
1661
+ /** The Job's unique ID
1662
+ */
1663
+ id: number;
1664
+ /** The name of the container image that houses the job
1665
+ */
1666
+ image_name: string;
1667
+ /** The directory where the project volume will be mounted. The root path to the project files
1668
+ */
1669
+ image_project_directory: string;
1670
+ /** The container image tag
1671
+ */
1672
+ image_tag: string;
1673
+ /** The optional container image type. Typically a single-container `SIMPLE` (where only one container runs) or a workflow where multiple container images can be spawned (like `NEXTFLOW`)
1674
+ */
1675
+ image_type?: JobGetResponseImageType;
1676
+ /** The directory used as the container image working directory (if defined)
1677
+ */
1678
+ image_working_directory?: JobGetResponseImageWorkingDirectory;
1679
+ /** The Job name, unique within a given collection
1680
+ */
1681
+ job: string;
1682
+ /** The list of keywords assigned to the Job
1683
+ */
1684
+ keywords?: string[];
1685
+ /** A list of Account Server "required_assets" that cannot be found. If assets cannot be found the user will receive a "disabled_reason" that should explain the problem.
1686
+ */
1687
+ missing_assets?: string[];
1688
+ /** The Job's descriptive name
1689
+ */
1690
+ name: string;
1691
+ replaced_by?: JobReplacements;
1692
+ replaces?: JobReplacements;
1693
+ /** A list of Account Server assets names required to run the Job. You need access to these assets in order to run the Job
1694
+ */
1695
+ required_assets: string[];
1696
+ variables?: JobVariables;
1697
+ /** The Job version
1698
+ */
1699
+ version: string;
1700
+ }
1701
+ interface InventoryProjectDetail {
1702
+ id: string;
1703
+ name: string;
1704
+ unit_id: string;
1705
+ }
1706
+ interface InventoryDatasetDetail {
1707
+ filename: string;
1708
+ id: string;
1709
+ unit_id: string;
1710
+ version: number;
1711
+ }
1712
+ type InventoryUserDetailProjects = {
1713
+ administrator: InventoryProjectDetail[];
1714
+ editor: InventoryProjectDetail[];
1715
+ observer: InventoryProjectDetail[];
1716
+ };
1717
+ type InventoryUserDetailDatasets = {
1718
+ editor?: InventoryDatasetDetail[];
1719
+ owner?: InventoryDatasetDetail[];
1720
+ };
1721
+ interface InventoryUserDetail {
1722
+ activity: UserActivityDetail;
1723
+ datasets: InventoryUserDetailDatasets;
1724
+ f_uid: number;
1725
+ first_seen: string;
1726
+ last_seen_date: string;
1727
+ projects: InventoryUserDetailProjects;
1728
+ username: string;
1729
+ }
1730
+ type InstanceTaskPurpose = typeof InstanceTaskPurpose[keyof typeof InstanceTaskPurpose];
1731
+ declare const InstanceTaskPurpose: {
1732
+ readonly CREATE: "CREATE";
1733
+ readonly DELETE: "DELETE";
1734
+ };
1735
+ interface InstanceTask {
1736
+ id: string;
1737
+ purpose: InstanceTaskPurpose;
1738
+ }
1739
+ interface InstancesGetResponse {
1740
+ instances: InstanceSummary[];
1741
+ }
1742
+ /**
1743
+ * The phase of the application. This is a string, one of a limited number of values that are defined internally within the Data Manager.
1744
+ The initial phase, indicating that the Instance is preparing to run, is `PENDING`. The instance is running when the phase is `RUNNING`. `COMPLETED` indicates the Instance has finished successfully and `FAILED` when it's finished but unsuccessfully.
1745
+
1746
+ */
1747
+ type InstanceGetResponsePhase = typeof InstanceGetResponsePhase[keyof typeof InstanceGetResponsePhase];
1748
+ declare const InstanceGetResponsePhase: {
1749
+ readonly COMPLETED: "COMPLETED";
1750
+ readonly CRASH_LOOP_BACKOFF: "CRASH_LOOP_BACKOFF";
1751
+ readonly FAILED: "FAILED";
1752
+ readonly IMAGE_PULL_BACKOFF: "IMAGE_PULL_BACKOFF";
1753
+ readonly PENDING: "PENDING";
1754
+ readonly RUNNING: "RUNNING";
1755
+ readonly SUCCEEDED: "SUCCEEDED";
1756
+ readonly UNKNOWN: "UNKNOWN";
1757
+ };
1758
+ /**
1759
+ * The Job container image type. Typically a single-container 'SIMPLE' (where only one container runs) or a workflow where multiple container images can be spawned (like NEXTFLOW)
1760
+
1761
+ */
1762
+ type InstanceGetResponseJobImageType = typeof InstanceGetResponseJobImageType[keyof typeof InstanceGetResponseJobImageType];
1763
+ declare const InstanceGetResponseJobImageType: {
1764
+ readonly SIMPLE: "SIMPLE";
1765
+ readonly NEXTFLOW: "NEXTFLOW";
1766
+ };
1767
+ /**
1768
+ * The type of Application, which can be a `job` or an `application`
1769
+
1770
+ */
1771
+ type InstanceGetResponseApplicationType = typeof InstanceGetResponseApplicationType[keyof typeof InstanceGetResponseApplicationType];
1772
+ declare const InstanceGetResponseApplicationType: {
1773
+ readonly APPLICATION: "APPLICATION";
1774
+ readonly JOB: "JOB";
1775
+ };
1776
+ interface InstanceGetResponse {
1777
+ /** The application ID
1778
+ */
1779
+ application_id: string;
1780
+ /** The optional application specification. For **Applications** this is returned verbatim. For **Jobs** additional material will be found.
1781
+ */
1782
+ application_specification?: string;
1783
+ /** The type of Application, which can be a `job` or an `application`
1784
+ */
1785
+ application_type: InstanceGetResponseApplicationType;
1786
+ /** The application version
1787
+ */
1788
+ application_version: string;
1789
+ /** True if the instance is archived (protected from automatic deletion)
1790
+ */
1791
+ archived: boolean;
1792
+ /** The code obtained from the Account Server
1793
+ */
1794
+ authorisation_code?: number;
1795
+ /** The accumulated coins accrued by the running Job. Coins are calculated based on the `cost` multiplied by the `launch_exchange_rate`. This is a string representation of a Decimal value, e.g. `'16.4'`
1796
+ */
1797
+ coins?: string;
1798
+ /** Where available, this is the number of hours that the JOb would take if the collateral Pods had access to only one CPU core. Collateral Pods are all the pods created by the Job that are in addition to the main (controlling) Pod. A value of `'0.5'` implies the job would have run in 30 minutes on 1 core. The minimum time resolution is 0.001 (3.6 seconds).
1799
+ */
1800
+ collateral_cpu_hours?: string;
1801
+ /** Where available, the number of collateral Pods spawned by the instance, typically used by Job instances. Collateral Pods are all the pods created by the Job that are in addition to the main (controlling) Pod. For `NEXTFLOW` jobs this is a count of the number of Task pods spawned.
1802
+ */
1803
+ collateral_pod_count?: number;
1804
+ /** The accumulated cost accrued by the running Job. Depending on the the Job, this is either known when the Job completes or may change as the Job runs. This is a string representation of a Decimal value, e.g. `'32.8'`
1805
+ */
1806
+ cost?: string;
1807
+ /** An optional error message, used to report underlying problems.
1808
+ */
1809
+ error_message?: string;
1810
+ /** Set if the instance output file permissions are expected to be fixed by the Data Manager when the Instance completes.
1811
+ */
1812
+ fix_permissions?: boolean;
1813
+ /** Set if the instance has a valid callback token. Instances with a valid token allow users to read files form the project without authentication
1814
+ */
1815
+ has_valid_callback_token: boolean;
1816
+ /** If the instance relates to a job, this will be the job collection, as defined in the original collection's job definition.
1817
+ */
1818
+ job_collection?: string;
1819
+ /** The Job definition's unique ID
1820
+ */
1821
+ job_id?: number;
1822
+ /** The Job container image type. Typically a single-container 'SIMPLE' (where only one container runs) or a workflow where multiple container images can be spawned (like NEXTFLOW)
1823
+ */
1824
+ job_image_type?: InstanceGetResponseJobImageType;
1825
+ /** If the instance relates to a job, this will be the job, as defined in the original collection's job definition.
1826
+ */
1827
+ job_job?: string;
1828
+ /** If the instance relates to a job, this will be the job's name, as defined in the original collection's job definition.
1829
+ */
1830
+ job_name?: string;
1831
+ /** If the instance relates to a job, this will be the job's name, as defined in the original collection's job definition.
1832
+ */
1833
+ job_version?: string;
1834
+ /** The cost exchange rate that applies to the Job at the time of launch. This is a string representation of a Decimal, e.g. `'0.5'`
1835
+ */
1836
+ launch_exchange_rate?: string;
1837
+ /** The date and time the instance was started, an ISO-8601 format string.
1838
+ */
1839
+ launched: string;
1840
+ /** The application name
1841
+ */
1842
+ name: string;
1843
+ /** The JSON string representation of the JobDefinition's outputs
1844
+ */
1845
+ outputs?: string;
1846
+ /** The application owner, the person who launched the application and is the only user than can stop it.
1847
+ */
1848
+ owner: string;
1849
+ /** The phase of the application. This is a string, one of a limited number of values that are defined internally within the Data Manager.
1850
+ The initial phase, indicating that the Instance is preparing to run, is `PENDING`. The instance is running when the phase is `RUNNING`. `COMPLETED` indicates the Instance has finished successfully and `FAILED` when it's finished but unsuccessfully.
1851
+ */
1852
+ phase: InstanceGetResponsePhase;
1853
+ /** The Project the Instance is running in
1854
+ */
1855
+ project_id: string;
1856
+ /** The time the instance has spent running in the cluster. It's a string representation of a Python timedelta object, e.g. `0:12:32` for a run-time of 12 minutes and 32 seconds. The run-time must be considered as an _estimate_ until the instance has stopped and the instance is only considered to be running once `started` has been set.
1857
+ */
1858
+ run_time: string;
1859
+ /** The date and time the instance started running in the cluster. This is typically close to the launch time but contention may mean the instance starts only when resources are available.
1860
+ */
1861
+ started?: string;
1862
+ /** The date and time the instance stopped, an ISO-8601 format string.
1863
+ */
1864
+ stopped?: string;
1865
+ /** A list of Tasks related to the application. Tasks are responsible for creating and deleting the instance. You should fins at least one, assuming the corresponding task has not been deleted.
1866
+ */
1867
+ tasks: InstanceTask[];
1868
+ /** The application endpoint
1869
+ */
1870
+ url?: string;
1871
+ }
1872
+ type GetExchangeRatesResponseId = number | string;
1873
+ interface GetExchangeRatesResponse {
1874
+ exchange_rates: ExchangeRateDetail[];
1875
+ id: GetExchangeRatesResponseId;
1876
+ }
1877
+ type GetAllExchangeRatesResponseExchangeRatesItem = ApplicationExchangeRateSummary | JobExchangeRateSummary;
1878
+ interface GetAllExchangeRatesResponse {
1879
+ exchange_rates: GetAllExchangeRatesResponseExchangeRatesItem[];
1880
+ only_undefined: boolean;
1881
+ }
1882
+ interface FilesGetResponse {
1883
+ /** The dataset identity (not its name). A unique reference assigned automatically when uploaded
1884
+ */
1885
+ files: FilePathFile[];
1886
+ /** The project path
1887
+ */
1888
+ path: string;
1889
+ /** Sub-directories in the current path
1890
+ */
1891
+ paths: string[];
1892
+ /** The project
1893
+ */
1894
+ project_id: string;
1895
+ }
1896
+ interface FilePostResponse {
1897
+ /** The Project File identity, assigned automatically when a Dataset is added to a Project
1898
+ */
1899
+ file_id: string;
1900
+ /** The name of the File that will appear in the Project
1901
+ */
1902
+ file_name: string;
1903
+ /** The path to the file in the Project, relative to the volume root (mount point). Files in the root of the project will have a path value of '/'
1904
+ */
1905
+ file_path: string;
1906
+ /** The File task identity. The task assigned to convert and attach the Dataset File to the Project
1907
+ */
1908
+ task_id: string;
1909
+ }
1910
+ interface InstancePostResponse {
1911
+ /** A token that can be used to access data in the project without further authentication. The token expires automatically or if the user revokes it. The token is only provided if asked for when the instance is launched.
1912
+ */
1913
+ callback_token?: string;
1914
+ /** The instance expanded command. Applies only to Job instances.
1915
+ */
1916
+ command?: string;
1917
+ /** The application instance identity (not its name). Assigned automatically when created
1918
+ */
1919
+ instance_id: string;
1920
+ /** The instance task identity. The task assigned to process the instance
1921
+ */
1922
+ task_id: string;
1923
+ }
1924
+ interface InstanceDryRunPostResponse {
1925
+ /** A token that can be used to access data in the project without further authentication. The token expires automatically or if the user revokes it.
1926
+ */
1927
+ callback_token?: string;
1928
+ /** The instance expanded command. Applies only to Job instances.
1929
+ */
1930
+ command?: string;
1931
+ }
1932
+ type InstanceDeleteResponse = TaskIdentity;
1933
+ interface DatasetsGetResponse {
1934
+ datasets: DatasetSummary[];
1935
+ }
1936
+ type DatasetVersionsGetResponse = DatasetDetail;
1937
+ type DatasetVersionDeleteResponse = TaskIdentity;
1938
+ /**
1939
+ * The Metadata type (an object)
1940
+
1941
+ */
1942
+ type DatasetSchemaGetResponseType = typeof DatasetSchemaGetResponseType[keyof typeof DatasetSchemaGetResponseType];
1943
+ declare const DatasetSchemaGetResponseType: {
1944
+ readonly object: "object";
1945
+ };
1946
+ interface DatasetSchemaGetResponse {
1947
+ /** The Metadata description
1948
+ */
1949
+ description: string;
1950
+ /** Required properties
1951
+ */
1952
+ required: string[];
1953
+ /** The Metadata title
1954
+ */
1955
+ title: string;
1956
+ /** The Metadata type (an object)
1957
+ */
1958
+ type: DatasetSchemaGetResponseType;
1959
+ [key: string]: any;
1960
+ }
1961
+ type DatasetMetaGetResponseLabelsItem = {};
1962
+ type DatasetMetaGetResponseAnnotationsItem = {};
1963
+ interface DatasetMetaGetResponse {
1964
+ /** The Metadata's annotations
1965
+ */
1966
+ annotations: DatasetMetaGetResponseAnnotationsItem[];
1967
+ /** The date and time of creation
1968
+ */
1969
+ created: string;
1970
+ /** The user who created the Metadata
1971
+ */
1972
+ created_by: string;
1973
+ /** The Metadata description
1974
+ */
1975
+ dataset_id: string;
1976
+ /** The Metadata title
1977
+ */
1978
+ dataset_name: string;
1979
+ /** The Metadata type (an object)
1980
+ */
1981
+ description: string;
1982
+ /** The Metadata's labels
1983
+ */
1984
+ labels: DatasetMetaGetResponseLabelsItem[];
1985
+ /** The date and time it was last updated
1986
+ */
1987
+ last_updated: string;
1988
+ /** The Metadata version
1989
+ */
1990
+ metadata_version: string;
1991
+ [key: string]: any;
1992
+ }
1993
+ interface DatasetDigestGetResponse {
1994
+ /** The Dataset matching the digest
1995
+ */
1996
+ dataset_id: string;
1997
+ /** The Dataset version
1998
+ */
1999
+ dataset_version: number;
2000
+ }
2001
+ interface DatasetPutPostResponse {
2002
+ /** The dataset identity (not its name). Assigned automatically when uploaded
2003
+ */
2004
+ dataset_id: string;
2005
+ /** The dataset identity version. Assigned automatically when uploaded
2006
+ */
2007
+ dataset_version: number;
2008
+ /** The dataset task identity. The task assigned to process the dataset
2009
+ */
2010
+ task_id: string;
2011
+ }
2012
+ interface ApplicationsGetResponse {
2013
+ /** A list of installed applications, which are application-compliant Kubernetes "operators"
2014
+ */
2015
+ applications: ApplicationSummary[];
2016
+ }
2017
+ interface ApplicationGetResponse {
2018
+ /** The Application COST exchange rate
2019
+ */
2020
+ exchange_rate: string;
2021
+ /** The application group
2022
+ */
2023
+ group: string;
2024
+ /** The Application's unique ID
2025
+ */
2026
+ id: string;
2027
+ image_variants?: ApplicationImageVariants;
2028
+ /** A list of instances of the application
2029
+ */
2030
+ instances: string[];
2031
+ /** The name (kind) of the application
2032
+ */
2033
+ kind: string;
2034
+ /** The application specification template. Used when creating application instances
2035
+ */
2036
+ template: string;
2037
+ /** The list of available versions
2038
+ */
2039
+ versions: string[];
2040
+ }
2041
+ interface AdminUsersGetResponse {
2042
+ /** A list of Users that have used the Data Manager
2043
+ */
2044
+ users: UserDetail[];
2045
+ }
2046
+ type AdminUserPutResponse = UserAccountDetail;
2047
+ interface AdminJobManifestLoadPutResponse {
2048
+ /** The number of Job Definitions inspected
2049
+ */
2050
+ job_definitions_inspected: number;
2051
+ /** The number of Jobs inspected
2052
+ */
2053
+ jobs_inspected: number;
2054
+ /** The number of Job Manifests inspected
2055
+ */
2056
+ manifests_inspected: number;
2057
+ /** True if successful, false otherwise
2058
+ */
2059
+ status: boolean;
2060
+ }
2061
+ interface InventoryUserGetResponse {
2062
+ /** The list of known Users
2063
+ */
2064
+ users: InventoryUserDetail[];
2065
+ }
2066
+ interface AdminJobManifestGetResponse {
2067
+ /** The list of known Job manifests
2068
+ */
2069
+ job_manifests: JobManifestDetail[];
2070
+ }
2071
+ interface AccountServerGetNamespaceResponse {
2072
+ /** The configured Account Server namespace, which will be an empty string if one is not configured. The AS API is expected as the service `as-api` in this namespace.
2073
+ */
2074
+ namespace: string;
2075
+ }
2076
+ interface AccountServerGetRegistrationResponse {
2077
+ merchant_id: number;
2078
+ name: string;
2079
+ registered: string;
2080
+ }
2081
+ interface DmError {
2082
+ /** Brief error text that can be presented to the user
2083
+ */
2084
+ error: string;
2085
+ }
2086
+
2087
+ declare const AXIOS_INSTANCE: axios.AxiosInstance;
2088
+ /**
2089
+ * Set the access token to be added as the `Authorization: Bearer 'token'` header
2090
+ * Useful for client only apps where a proxy API route isn't involved to securely add the access token
2091
+ * @param token access token
2092
+ */
2093
+ declare const setAuthToken: (token: string) => void;
2094
+ /**
2095
+ * Set the url to which request paths are added to.
2096
+ * @param baseUrl origin + subpath e.g. 'https://example.com/subpath' or '/subpath'
2097
+ */
2098
+ declare const setBaseUrl: (baseUrl: string) => void;
2099
+ declare const customInstance: <TReturn>(config: AxiosRequestConfig, options?: AxiosRequestConfig) => Promise<TReturn>;
2100
+ type ErrorType<TError> = AxiosError<TError>;
2101
+
2102
+ export { AXIOS_INSTANCE, type AccountServerGetNamespaceResponse, type AccountServerGetRegistrationResponse, type AdminDeleteJobManifestParams, type AdminGetServiceErrorsParams, type AdminGetUsersParams, type AdminJobManifestGetResponse, type AdminJobManifestLoadPutResponse, type AdminUserPutResponse, type AdminUsersGetResponse, type ApiLogDetail, ApiLogDetailMethod, type ApplicationExchangeRateSummary, type ApplicationGetResponse, type ApplicationImageVariant, type ApplicationImageVariants, type ApplicationSummary, type ApplicationsGetResponse, type AsAdditionalDataProcessingCharge, type CreatePathParams, type DatasetDetail, type DatasetDigestGetResponse, type DatasetMetaGetResponse, type DatasetMetaGetResponseAnnotationsItem, type DatasetMetaGetResponseLabelsItem, type DatasetMetaPostBodyBody, type DatasetPostBodyBody, type DatasetPutBodyBody, type DatasetPutPostResponse, type DatasetSchemaGetResponse, DatasetSchemaGetResponseType, type DatasetSummary, type DatasetVersionDeleteResponse, type DatasetVersionDetail, type DatasetVersionDetailLabels, DatasetVersionDetailProcessingStage, type DatasetVersionMetaPostBodyBody, type DatasetVersionProjectFile, type DatasetVersionSummary, type DatasetVersionSummaryLabels, DatasetVersionSummaryProcessingStage, type DatasetVersionsGetResponse, type DatasetsGetResponse, type DeleteDatasetParams, type DeletePathParams, type DeleteUnmanagedFileParams, type DmError, type ErrorType, type ExchangeRateDetail, type ExchangeRatePutBodyBody, type FilePathFile, type FilePostBodyBody, type FilePostResponse, type FileStat, type FilesGetResponse, type GetAllApplicationExchangeRatesParams, type GetAllExchangeRatesResponse, type GetAllExchangeRatesResponseExchangeRatesItem, type GetAllJobExchangeRatesParams, type GetApplicationExchangeRatesParams, type GetDatasetsParams, type GetExchangeRatesResponse, type GetExchangeRatesResponseId, type GetFilesParams, type GetInstancesParams, type GetJobByVersionParams, type GetJobExchangeRatesParams, type GetJobParams, type GetJobsParams, type GetProjectFileParams, type GetProjectFileWithTokenParams, type GetProjectsParams, type GetTaskParams, type GetTasksParams, type GetUserAccountParams, type GetUserApiLogParams, type GetUserInventoryParams, type GetVersionsParams, type InstanceDeleteResponse, type InstanceDryRunPostResponse, type InstanceGetResponse, InstanceGetResponseApplicationType, InstanceGetResponseJobImageType, InstanceGetResponsePhase, type InstancePostBodyBody, type InstancePostResponse, type InstanceSummary, InstanceSummaryApplicationType, InstanceSummaryJobImageType, InstanceSummaryPhase, type InstanceTask, InstanceTaskPurpose, type InstancesGetResponse, type InventoryDatasetDetail, type InventoryProjectDetail, type InventoryUserDetail, type InventoryUserDetailDatasets, type InventoryUserDetailProjects, type InventoryUserGetResponse, type JobApplication, type JobExchangeRateSummary, type JobGetResponse, JobGetResponseImageType, type JobGetResponseImageWorkingDirectory, type JobManifestDetail, type JobManifestPutBodyBody, type JobOrderDetail, type JobReplacement, type JobReplacements, type JobSummary, JobSummaryImageType, type JobVariables, type JobVariablesInputs, type JobVariablesOptions, type JobVariablesOutputs, type JobsGetResponse, type ModeGetResponse, type PatchInstanceParams, type ProjectDeleteResponse, type ProjectDetail, type ProjectFileDetail, type ProjectFilePutBodyBody, type ProjectGetResponse, type ProjectPatchBodyBody, type ProjectPostBodyBody, type ProjectPostResponse, type ProjectsGetResponse, type QActiveDaysParameter, type QApplicationIdParameter, type QCurrentParameter, type QDatasetMimeTypeParameter, type QDoNotImpersonateParameter, type QEditorsParameter, type QEventLimitParameter, type QEventPriorOrdinalParameter, type QExcludeDoneParameter, type QExcludePurposeParameter, type QExcludeRemovalParameter, type QFileParameter, type QFilePathParameter, type QFileProjectIdParameter, type QFromParameter, type QIdleDaysParameter, type QIncludeAcknowlegedParameter, type QIncludeDeletedParameter, type QIncludeHiddenParameter, type QInstanceArchiveParameter, type QInstanceCallbackContextParameter, type QJobCollectionParameter, type QJobIdParameter, type QJobJobParameter, type QJobVersionParameter, type QKeepProjectFilesParameter, type QLabelsParameter, type QOnlyUndefinedParameter, type QOrgIdParameter, type QOwnersParameter, type QProjectIdParameter, type QProjectNameParameter, type QPurgeParameter, type QTokenParameter, type QUnitIdParameter, type QUntilParameter, type QUsernameParameter, type QUsernamesParameter, type ServiceErrorSummary, ServiceErrorSummarySeverity, type ServiceErrorsGetResponse, type TaskEvent, TaskEventLevel, type TaskGetResponse, TaskGetResponsePurpose, type TaskIdentity, type TaskState, TaskStateState, type TaskSummary, TaskSummaryProcessingStage, type TasksGetResponse, type TypeSummary, type TypeSummaryFormatterOptions, TypeSummaryFormatterOptionsType, type TypesGetResponse, type UserAccountDetail, type UserAccountGetResponse, type UserAccountPatchBodyBody, type UserActivityDetail, type UserApiLogGetResponse, type UserDetail, type UserPatchBodyBody, type UserSummary, type UsersGetResponse, type VersionGetResponse, customInstance, setAuthToken, setBaseUrl };