@squonk/data-manager-client 1.2.8 → 1.2.9

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