@squonk/data-manager-client 4.3.0 → 5.0.0-5-0.2173777171

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 (119) hide show
  1. package/accounting/accounting.cjs +55 -10
  2. package/accounting/accounting.cjs.map +1 -1
  3. package/accounting/accounting.d.cts +58 -1
  4. package/accounting/accounting.d.ts +58 -1
  5. package/accounting/accounting.js +46 -1
  6. package/accounting/accounting.js.map +1 -1
  7. package/admin/admin.cjs +15 -15
  8. package/admin/admin.cjs.map +1 -1
  9. package/admin/admin.d.cts +2 -0
  10. package/admin/admin.d.ts +2 -0
  11. package/admin/admin.js +1 -1
  12. package/admin/admin.js.map +1 -1
  13. package/application/application.cjs +5 -5
  14. package/application/application.cjs.map +1 -1
  15. package/application/application.js +1 -1
  16. package/application/application.js.map +1 -1
  17. package/{chunk-OYRETEBZ.js → chunk-76ADQBHZ.js} +3 -3
  18. package/chunk-76ADQBHZ.js.map +1 -0
  19. package/{chunk-ZLY5XEOQ.cjs → chunk-KHB5TJT7.cjs} +3 -3
  20. package/chunk-KHB5TJT7.cjs.map +1 -0
  21. package/chunk-RB2KVIEK.cjs.map +1 -1
  22. package/configuration/configuration.cjs +5 -5
  23. package/configuration/configuration.cjs.map +1 -1
  24. package/configuration/configuration.d.cts +1 -1
  25. package/configuration/configuration.d.ts +1 -1
  26. package/configuration/configuration.js +1 -1
  27. package/configuration/configuration.js.map +1 -1
  28. package/dataset/dataset.cjs +14 -14
  29. package/dataset/dataset.cjs.map +1 -1
  30. package/dataset/dataset.js +1 -1
  31. package/dataset/dataset.js.map +1 -1
  32. package/digest/digest.cjs +3 -3
  33. package/digest/digest.cjs.map +1 -1
  34. package/digest/digest.js +1 -1
  35. package/digest/digest.js.map +1 -1
  36. package/file-and-path/file-and-path.cjs +139 -17
  37. package/file-and-path/file-and-path.cjs.map +1 -1
  38. package/file-and-path/file-and-path.d.cts +162 -2
  39. package/file-and-path/file-and-path.d.ts +162 -2
  40. package/file-and-path/file-and-path.js +123 -1
  41. package/file-and-path/file-and-path.js.map +1 -1
  42. package/index.cjs +4 -2
  43. package/index.cjs.map +1 -1
  44. package/index.d.cts +53 -37
  45. package/index.d.ts +53 -37
  46. package/index.js +3 -1
  47. package/index.js.map +1 -1
  48. package/instance/instance.cjs +10 -10
  49. package/instance/instance.cjs.map +1 -1
  50. package/instance/instance.js +1 -1
  51. package/instance/instance.js.map +1 -1
  52. package/inventory/inventory.cjs +3 -3
  53. package/inventory/inventory.cjs.map +1 -1
  54. package/inventory/inventory.js +1 -1
  55. package/inventory/inventory.js.map +1 -1
  56. package/job/job.cjs +124 -8
  57. package/job/job.cjs.map +1 -1
  58. package/job/job.d.cts +159 -3
  59. package/job/job.d.ts +159 -3
  60. package/job/job.js +119 -3
  61. package/job/job.js.map +1 -1
  62. package/metadata/metadata.cjs +7 -7
  63. package/metadata/metadata.cjs.map +1 -1
  64. package/metadata/metadata.js +1 -1
  65. package/metadata/metadata.js.map +1 -1
  66. package/package.json +1 -1
  67. package/project/project.cjs +15 -137
  68. package/project/project.cjs.map +1 -1
  69. package/project/project.d.cts +3 -163
  70. package/project/project.d.ts +3 -163
  71. package/project/project.js +1 -123
  72. package/project/project.js.map +1 -1
  73. package/src/{data-manager-api.schemas.ts → API_TARGET_NAME.schemas.ts} +52 -43
  74. package/src/accounting/accounting.ts +244 -2
  75. package/src/admin/admin.ts +4 -2
  76. package/src/application/application.ts +2 -2
  77. package/src/configuration/configuration.ts +5 -9
  78. package/src/dataset/dataset.ts +2 -2
  79. package/src/digest/digest.ts +2 -2
  80. package/src/file-and-path/file-and-path.ts +602 -2
  81. package/src/index.ts +2 -2
  82. package/src/instance/instance.ts +2 -2
  83. package/src/inventory/inventory.ts +2 -2
  84. package/src/job/job.ts +599 -3
  85. package/src/metadata/metadata.ts +2 -2
  86. package/src/options-mutator.ts +2 -2
  87. package/src/project/project.ts +5 -604
  88. package/src/task/task.ts +2 -2
  89. package/src/type/type.ts +2 -2
  90. package/src/user/user.ts +2 -2
  91. package/src/workflow/workflow.ts +5 -3
  92. package/task/task.cjs +6 -6
  93. package/task/task.cjs.map +1 -1
  94. package/task/task.js +1 -1
  95. package/task/task.js.map +1 -1
  96. package/type/type.cjs +3 -3
  97. package/type/type.cjs.map +1 -1
  98. package/type/type.js +1 -1
  99. package/type/type.js.map +1 -1
  100. package/user/user.cjs +10 -10
  101. package/user/user.cjs.map +1 -1
  102. package/user/user.js +1 -1
  103. package/user/user.js.map +1 -1
  104. package/workflow/workflow.cjs +20 -20
  105. package/workflow/workflow.cjs.map +1 -1
  106. package/workflow/workflow.d.cts +3 -1
  107. package/workflow/workflow.d.ts +3 -1
  108. package/workflow/workflow.js +1 -1
  109. package/workflow/workflow.js.map +1 -1
  110. package/chunk-OYRETEBZ.js.map +0 -1
  111. package/chunk-ZLY5XEOQ.cjs.map +0 -1
  112. package/exchange-rate/exchange-rate.cjs +0 -255
  113. package/exchange-rate/exchange-rate.cjs.map +0 -1
  114. package/exchange-rate/exchange-rate.d.cts +0 -319
  115. package/exchange-rate/exchange-rate.d.ts +0 -319
  116. package/exchange-rate/exchange-rate.js +0 -255
  117. package/exchange-rate/exchange-rate.js.map +0 -1
  118. package/exchange-rate/package.json +0 -7
  119. package/src/exchange-rate/exchange-rate.ts +0 -1276
package/index.d.cts CHANGED
@@ -9,7 +9,7 @@ import { AxiosRequestConfig, AxiosError } from 'axios';
9
9
 
10
10
  A service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications**, **Jobs**, and **Workflows** using **Projects** and **Files**.
11
11
 
12
- * OpenAPI spec version: 4.1
12
+ * OpenAPI spec version: 5.0
13
13
  */
14
14
  interface DmError {
15
15
  /** Brief error text that can be presented to the user
@@ -79,13 +79,18 @@ interface AdminUsersGetResponse {
79
79
  */
80
80
  users: UserDetail[];
81
81
  }
82
+ /**
83
+ * The unit being charged. PxGi is application processor count x Memory (GiB).
84
+ Only required if the cost if non-zero.
85
+ */
86
+ type ApplicationGetResponseCostUnit = (typeof ApplicationGetResponseCostUnit)[keyof typeof ApplicationGetResponseCostUnit];
87
+ declare const ApplicationGetResponseCostUnit: {
88
+ readonly PxGi: "PxGi";
89
+ };
82
90
  interface ApplicationGetResponse {
83
91
  /** The Application's unique ID
84
92
  */
85
93
  id: string;
86
- /** The Application COST exchange rate
87
- */
88
- exchange_rate: string;
89
94
  /** The application specification template. Used when creating application instances
90
95
  */
91
96
  template: string;
@@ -102,6 +107,16 @@ interface ApplicationGetResponse {
102
107
  */
103
108
  versions: string[];
104
109
  image_variants?: ApplicationImageVariants;
110
+ /** A string representation of the deciaml cost (in coins) of the application. Charged per cost-unit and period. */
111
+ cost: string;
112
+ /** The unit being charged. PxGi is application processor count x Memory (GiB).
113
+ Only required if the cost if non-zero. */
114
+ cost_unit?: ApplicationGetResponseCostUnit;
115
+ /** Humanised expresssion of cost period, e.g. "1 hour"
116
+ Only required if the cost if non-zero. */
117
+ cost_period?: string;
118
+ /** True if costs are charged 'pro rata' Only required if the cost if non-zero. */
119
+ cost_pro_rata?: boolean;
105
120
  }
106
121
  interface ApplicationsGetResponse {
107
122
  /** The number of known Applications
@@ -256,11 +271,10 @@ interface FilesGetResponse {
256
271
  */
257
272
  paths: string[];
258
273
  }
259
- type GetAllExchangeRatesResponseExchangeRatesItem = ApplicationExchangeRateSummary | JobExchangeRateSummary;
260
274
  interface GetAllExchangeRatesResponse {
261
275
  count: number;
262
276
  only_undefined: boolean;
263
- exchange_rates: GetAllExchangeRatesResponseExchangeRatesItem[];
277
+ exchange_rates: JobExchangeRateSummary[];
264
278
  }
265
279
  type GetExchangeRatesResponseId = number | string;
266
280
  interface GetExchangeRatesResponse {
@@ -302,6 +316,12 @@ declare const InstanceGetResponseJobImageType: {
302
316
  readonly SIMPLE: "SIMPLE";
303
317
  readonly NEXTFLOW: "NEXTFLOW";
304
318
  };
319
+ /**
320
+ * A set of instance-relative output files (or directories) defined at the time of launch. These are used by step instances and can be used by jobs too.
321
+ */
322
+ type InstanceGetResponseOutputs = {
323
+ [key: string]: unknown;
324
+ };
305
325
  interface InstanceGetResponse {
306
326
  /** The Project the Instance is running in
307
327
  */
@@ -367,9 +387,11 @@ interface InstanceGetResponse {
367
387
  /** 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`)
368
388
  */
369
389
  job_image_type?: InstanceGetResponseJobImageType;
390
+ /** A set of instance-relative output files (or directories) defined at the time of launch. These are used by step instances and can be used by jobs too. */
391
+ outputs: InstanceGetResponseOutputs;
370
392
  /** The JSON string representation of the JobDefinition's outputs
371
393
  */
372
- outputs?: string;
394
+ rendered_outputs?: string;
373
395
  /** Set if the instance output file permissions are expected to be fixed by the Data Manager when the Instance completes.
374
396
  */
375
397
  fix_permissions?: boolean;
@@ -800,11 +822,6 @@ interface RunningWorkflowGetAllResponse {
800
822
  count: number;
801
823
  running_workflows: RunningWorkflowSummary[];
802
824
  }
803
- interface PriorRunningWorkflowStep {
804
- /** The Running Workflows Step's unique ID that ran prior to this step
805
- */
806
- id: string;
807
- }
808
825
  /**
809
826
  * The status of the running workflow
810
827
  */
@@ -827,7 +844,7 @@ interface RunningWorkflowSummary {
827
844
  /** The status of the running workflow */
828
845
  status: RunningWorkflowSummaryStatus;
829
846
  /** The date and time the running workflow was started */
830
- started?: string;
847
+ started: string;
831
848
  /** The date and time the running workflow was stopped
832
849
  */
833
850
  stopped?: string;
@@ -912,7 +929,6 @@ interface RunningWorkflowStep {
912
929
  /** True if the running workflow step has finished successfully */
913
930
  success?: boolean;
914
931
  running_workflow: RunningWorkflowSummary;
915
- prior_running_workflow_step?: PriorRunningWorkflowStep;
916
932
  }
917
933
  interface ModeGetResponse {
918
934
  /** 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)
@@ -1154,10 +1170,6 @@ interface ExchangeRateDetail {
1154
1170
  user_id: string;
1155
1171
  comment?: string;
1156
1172
  }
1157
- interface ApplicationExchangeRateSummary {
1158
- id: string;
1159
- rate?: string;
1160
- }
1161
1173
  interface JobExchangeRateSummary {
1162
1174
  id: number;
1163
1175
  rate?: string;
@@ -1234,6 +1246,12 @@ declare const InstanceSummaryJobImageType: {
1234
1246
  readonly SIMPLE: "SIMPLE";
1235
1247
  readonly NEXTFLOW: "NEXTFLOW";
1236
1248
  };
1249
+ /**
1250
+ * A set of instance-relative output files (or directories) defined at the time of launch. These are used by step instances and can be used by jobs too.
1251
+ */
1252
+ type InstanceSummaryOutputs = {
1253
+ [key: string]: unknown;
1254
+ };
1237
1255
  interface InstanceSummary {
1238
1256
  /** The application instance ID
1239
1257
  */
@@ -1302,9 +1320,11 @@ interface InstanceSummary {
1302
1320
  /** 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`)
1303
1321
  */
1304
1322
  job_image_type?: InstanceSummaryJobImageType;
1305
- /** The instance's known outputs, a JSON string defining a map of all the outputs. Typically applied only to JOB application types
1323
+ /** A set of instance-relative output files (or directories) defined at the time of launch. These are used by step instances and can be used by jobs too. */
1324
+ outputs?: InstanceSummaryOutputs;
1325
+ /** The instance's known outputs, a JSON string defining a map of all the rendered outputs. Typically applied only to JOB application types
1306
1326
  */
1307
- outputs?: string;
1327
+ rendered_outputs?: string;
1308
1328
  /** Set if the instance output file permissions are expected to be fixed by the Data Manager when the Instance completes.
1309
1329
  */
1310
1330
  fix_permissions?: boolean;
@@ -1468,6 +1488,9 @@ interface ProjectDetail {
1468
1488
  /** The Account Server Product the Project belongs to
1469
1489
  */
1470
1490
  product_id?: string;
1491
+ /** If it's applicable, the Account Server Product flavour. Typically one of `GOLD`, `SILVER`, `BRONZE`, `EVALUATION`
1492
+ */
1493
+ product_flavour?: string;
1471
1494
  /** The Account Server Organisation the Project Product Unit belongs to
1472
1495
  */
1473
1496
  organisation_id?: string;
@@ -1540,10 +1563,12 @@ interface ProjectFileDetail {
1540
1563
  interface RunningWorkflowWorkflow {
1541
1564
  /** The Workflow ID
1542
1565
  */
1543
- id?: string;
1566
+ id: string;
1544
1567
  /** The Workflow name
1545
1568
  */
1546
- name?: string;
1569
+ name: string;
1570
+ /** The version of the workflow. If there is no version (if the server is in DEVELOPER mode for example) the value will be `Unversioned`. */
1571
+ version: string;
1547
1572
  }
1548
1573
  interface RunningWorkflowProject {
1549
1574
  /** The Project ID
@@ -2615,20 +2640,6 @@ type GetTaskParams = {
2615
2640
  */
2616
2641
  event_prior_ordinal?: QEventPriorOrdinalParameter;
2617
2642
  };
2618
- type GetAllApplicationExchangeRatesParams = {
2619
- /**
2620
- * Only return records where the exchange rate is undefined
2621
-
2622
- */
2623
- only_undefined?: QOnlyUndefinedParameter;
2624
- };
2625
- type GetApplicationExchangeRatesParams = {
2626
- /**
2627
- * Set to get current
2628
-
2629
- */
2630
- current?: QCurrentParameter;
2631
- };
2632
2643
  type GetJobsParams = {
2633
2644
  /**
2634
2645
  * A Project identity
@@ -2731,6 +2742,11 @@ type GetRunningWorkflowsParams = {
2731
2742
  * @pattern ^workflow-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
2732
2743
  */
2733
2744
  workflow_id?: QWorkflowIdParameter;
2745
+ /**
2746
+ * A Project identity
2747
+ * @pattern ^project-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
2748
+ */
2749
+ project_id?: QProjectIdParameter;
2734
2750
  };
2735
2751
  type AdminGetServiceErrorsParams = {
2736
2752
  /**
@@ -2794,4 +2810,4 @@ declare const setBaseUrl: (baseUrl: string) => void;
2794
2810
  declare const customInstance: <TReturn>(config: AxiosRequestConfig, options?: AxiosRequestConfig) => Promise<TReturn>;
2795
2811
  type ErrorType<TError> = AxiosError<TError>;
2796
2812
 
2797
- 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 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 GetRunningWorkflowsParams, type GetTaskParams, type GetTasksParams, type GetUserAccountParams, type GetUserApiLogParams, type GetUserInventoryParams, type GetVersionsParams, type InputHandlerDetail, type InputHandlerGetResponse, type InstanceDeleteResponse, type InstanceDryRunPostResponse, type InstanceGetResponse, InstanceGetResponseApplicationType, InstanceGetResponseJobImageType, InstanceGetResponsePhase, type InstancePostBodyBody, type InstancePostResponse, type InstanceSummary, InstanceSummaryApplicationType, InstanceSummaryJobImageType, InstanceSummaryPhase, type InstanceTask, InstanceTaskPurpose, type InstancesGetResponse, type InventoryDatasetDetail, type InventoryProjectDetail, type InventoryUserDetail, type InventoryUserDetailDatasets, type InventoryUserDetailProjects, type InventoryUserGetResponse, type JobApplication, type JobExchangeRateSummary, type JobGetResponse, JobGetResponseImageType, type 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 MoveFileInProjectParams, type MovePathParams, type PatchInstanceParams, type PriorRunningWorkflowStep, type ProjectDeleteResponse, type ProjectDetail, type ProjectFileDetail, ProjectFileDetailProcessingStage, type ProjectFilePutBodyBody, type ProjectGetResponse, type ProjectPatchBodyBody, type ProjectPostBodyBody, type ProjectPostResponse, type ProjectsGetResponse, type QActiveDaysParameter, type QApplicationIdParameter, type QCurrentParameter, type QDatasetMimeTypeParameter, type QDoNotImpersonateParameter, type QDstFileParameter, type QEditorsParameter, type QEventLimitParameter, type QEventPriorOrdinalParameter, type QExcludeDoneParameter, type QExcludePurposeParameter, type QExcludeRemovalParameter, type QFileDstPathParameter, type QFileParameter, type QFilePathParameter, type QFileProjectIdParameter, type QFileSrcPathParameter, type QFromParameter, type QIdleDaysParameter, type QIncludeAcknowledgedParameter, type QIncludeDeletedParameter, type QIncludeHiddenParameter, type QInstanceArchiveParameter, type QInstanceCallbackContextParameter, type QJobCollectionParameter, type QJobIdParameter, type QJobJobParameter, type QJobVersionParameter, type QKeepProjectFilesParameter, type QLabelsParameter, type QOnlyUndefinedParameter, type QOrgIdParameter, type QOwnersParameter, type QProjectIdParameter, type QProjectNameParameter, type QPurgeParameter, QPurposeParameter, type QTokenParameter, type QUnitIdParameter, type QUntilParameter, type QUsernameParameter, type QUsernamesParameter, type QWorkflowIdParameter, type RunningWorkflowGetAllResponse, type RunningWorkflowGetResponse, RunningWorkflowGetResponseStatus, type RunningWorkflowGetResponseVariables, type RunningWorkflowProject, type RunningWorkflowStep, RunningWorkflowStepStatus, type RunningWorkflowStepVariables, type RunningWorkflowStepsGetResponse, type RunningWorkflowSummary, RunningWorkflowSummaryStatus, type RunningWorkflowWorkflow, type ServiceErrorSummary, ServiceErrorSummarySeverity, type ServiceErrorsGetResponse, type TaskEvent, TaskEventLevel, type TaskGetResponse, TaskGetResponsePurpose, type TaskIdentity, type TaskState, TaskStateState, type TaskSummary, TaskSummaryProcessingStage, type TasksGetResponse, type TypeSummary, type TypeSummaryFormatterOptions, TypeSummaryFormatterOptionsType, type TypesGetResponse, type UserAccountDetail, type UserAccountGetResponse, type UserAccountPatchBodyBody, type UserActivityDetail, type UserActivityDetailPeriod, type UserApiLogGetResponse, type UserApiTokenGetResponse, type UserDetail, type UserPatchBodyBody, type UserSummary, type UsersGetResponse, type VersionGetResponse, type WorkflowDefinitionGetResponse, type WorkflowGetAllResponse, type WorkflowGetResponse, WorkflowGetResponseScope, type WorkflowGetResponseVariables, type WorkflowPatchBodyBody, type WorkflowPatchResponse, type WorkflowPostBodyBody, WorkflowPostBodyBodyScope, type WorkflowPostResponse, type WorkflowRunPostBodyBody, type WorkflowRunPostResponse, type WorkflowStepSummary, type WorkflowStepSummarySpecification, type WorkflowSummary, WorkflowSummaryScope, type WorkflowVersionPutBodyBody, type WorkflowVersionPutResponse, customInstance, setAuthToken, setBaseUrl };
2813
+ 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 ApplicationGetResponse, ApplicationGetResponseCostUnit, type ApplicationImageVariant, type ApplicationImageVariants, type ApplicationSummary, type ApplicationsGetResponse, type AsAdditionalDataProcessingCharge, type CreatePathParams, type DatasetDetail, type DatasetDigestGetResponse, type DatasetMetaGetResponse, 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 GetAllExchangeRatesResponse, type GetAllJobExchangeRatesParams, 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 GetRunningWorkflowsParams, type GetTaskParams, type GetTasksParams, type GetUserAccountParams, type GetUserApiLogParams, type GetUserInventoryParams, type GetVersionsParams, type InputHandlerDetail, type InputHandlerGetResponse, type InstanceDeleteResponse, type InstanceDryRunPostResponse, type InstanceGetResponse, InstanceGetResponseApplicationType, InstanceGetResponseJobImageType, type InstanceGetResponseOutputs, InstanceGetResponsePhase, type InstancePostBodyBody, type InstancePostResponse, type InstanceSummary, InstanceSummaryApplicationType, InstanceSummaryJobImageType, type InstanceSummaryOutputs, InstanceSummaryPhase, type InstanceTask, InstanceTaskPurpose, type InstancesGetResponse, type InventoryDatasetDetail, type InventoryProjectDetail, type InventoryUserDetail, type InventoryUserDetailDatasets, type InventoryUserDetailProjects, type InventoryUserGetResponse, type JobApplication, type JobExchangeRateSummary, type JobGetResponse, JobGetResponseImageType, type 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 MoveFileInProjectParams, type MovePathParams, type PatchInstanceParams, type ProjectDeleteResponse, type ProjectDetail, type ProjectFileDetail, ProjectFileDetailProcessingStage, type ProjectFilePutBodyBody, type ProjectGetResponse, type ProjectPatchBodyBody, type ProjectPostBodyBody, type ProjectPostResponse, type ProjectsGetResponse, type QActiveDaysParameter, type QApplicationIdParameter, type QCurrentParameter, type QDatasetMimeTypeParameter, type QDoNotImpersonateParameter, type QDstFileParameter, type QEditorsParameter, type QEventLimitParameter, type QEventPriorOrdinalParameter, type QExcludeDoneParameter, type QExcludePurposeParameter, type QExcludeRemovalParameter, type QFileDstPathParameter, type QFileParameter, type QFilePathParameter, type QFileProjectIdParameter, type QFileSrcPathParameter, type QFromParameter, type QIdleDaysParameter, type QIncludeAcknowledgedParameter, type QIncludeDeletedParameter, type QIncludeHiddenParameter, type QInstanceArchiveParameter, type QInstanceCallbackContextParameter, type QJobCollectionParameter, type QJobIdParameter, type QJobJobParameter, type QJobVersionParameter, type QKeepProjectFilesParameter, type QLabelsParameter, type QOnlyUndefinedParameter, type QOrgIdParameter, type QOwnersParameter, type QProjectIdParameter, type QProjectNameParameter, type QPurgeParameter, QPurposeParameter, type QTokenParameter, type QUnitIdParameter, type QUntilParameter, type QUsernameParameter, type QUsernamesParameter, type QWorkflowIdParameter, type RunningWorkflowGetAllResponse, type RunningWorkflowGetResponse, RunningWorkflowGetResponseStatus, type RunningWorkflowGetResponseVariables, type RunningWorkflowProject, type RunningWorkflowStep, RunningWorkflowStepStatus, type RunningWorkflowStepVariables, type RunningWorkflowStepsGetResponse, type RunningWorkflowSummary, RunningWorkflowSummaryStatus, type RunningWorkflowWorkflow, type ServiceErrorSummary, ServiceErrorSummarySeverity, type ServiceErrorsGetResponse, type TaskEvent, TaskEventLevel, type TaskGetResponse, TaskGetResponsePurpose, type TaskIdentity, type TaskState, TaskStateState, type TaskSummary, TaskSummaryProcessingStage, type TasksGetResponse, type TypeSummary, type TypeSummaryFormatterOptions, TypeSummaryFormatterOptionsType, type TypesGetResponse, type UserAccountDetail, type UserAccountGetResponse, type UserAccountPatchBodyBody, type UserActivityDetail, type UserActivityDetailPeriod, type UserApiLogGetResponse, type UserApiTokenGetResponse, type UserDetail, type UserPatchBodyBody, type UserSummary, type UsersGetResponse, type VersionGetResponse, type WorkflowDefinitionGetResponse, type WorkflowGetAllResponse, type WorkflowGetResponse, WorkflowGetResponseScope, type WorkflowGetResponseVariables, type WorkflowPatchBodyBody, type WorkflowPatchResponse, type WorkflowPostBodyBody, WorkflowPostBodyBodyScope, type WorkflowPostResponse, type WorkflowRunPostBodyBody, type WorkflowRunPostResponse, type WorkflowStepSummary, type WorkflowStepSummarySpecification, type WorkflowSummary, WorkflowSummaryScope, type WorkflowVersionPutBodyBody, type WorkflowVersionPutResponse, customInstance, setAuthToken, setBaseUrl };
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@ import { AxiosRequestConfig, AxiosError } from 'axios';
9
9
 
10
10
  A service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications**, **Jobs**, and **Workflows** using **Projects** and **Files**.
11
11
 
12
- * OpenAPI spec version: 4.1
12
+ * OpenAPI spec version: 5.0
13
13
  */
14
14
  interface DmError {
15
15
  /** Brief error text that can be presented to the user
@@ -79,13 +79,18 @@ interface AdminUsersGetResponse {
79
79
  */
80
80
  users: UserDetail[];
81
81
  }
82
+ /**
83
+ * The unit being charged. PxGi is application processor count x Memory (GiB).
84
+ Only required if the cost if non-zero.
85
+ */
86
+ type ApplicationGetResponseCostUnit = (typeof ApplicationGetResponseCostUnit)[keyof typeof ApplicationGetResponseCostUnit];
87
+ declare const ApplicationGetResponseCostUnit: {
88
+ readonly PxGi: "PxGi";
89
+ };
82
90
  interface ApplicationGetResponse {
83
91
  /** The Application's unique ID
84
92
  */
85
93
  id: string;
86
- /** The Application COST exchange rate
87
- */
88
- exchange_rate: string;
89
94
  /** The application specification template. Used when creating application instances
90
95
  */
91
96
  template: string;
@@ -102,6 +107,16 @@ interface ApplicationGetResponse {
102
107
  */
103
108
  versions: string[];
104
109
  image_variants?: ApplicationImageVariants;
110
+ /** A string representation of the deciaml cost (in coins) of the application. Charged per cost-unit and period. */
111
+ cost: string;
112
+ /** The unit being charged. PxGi is application processor count x Memory (GiB).
113
+ Only required if the cost if non-zero. */
114
+ cost_unit?: ApplicationGetResponseCostUnit;
115
+ /** Humanised expresssion of cost period, e.g. "1 hour"
116
+ Only required if the cost if non-zero. */
117
+ cost_period?: string;
118
+ /** True if costs are charged 'pro rata' Only required if the cost if non-zero. */
119
+ cost_pro_rata?: boolean;
105
120
  }
106
121
  interface ApplicationsGetResponse {
107
122
  /** The number of known Applications
@@ -256,11 +271,10 @@ interface FilesGetResponse {
256
271
  */
257
272
  paths: string[];
258
273
  }
259
- type GetAllExchangeRatesResponseExchangeRatesItem = ApplicationExchangeRateSummary | JobExchangeRateSummary;
260
274
  interface GetAllExchangeRatesResponse {
261
275
  count: number;
262
276
  only_undefined: boolean;
263
- exchange_rates: GetAllExchangeRatesResponseExchangeRatesItem[];
277
+ exchange_rates: JobExchangeRateSummary[];
264
278
  }
265
279
  type GetExchangeRatesResponseId = number | string;
266
280
  interface GetExchangeRatesResponse {
@@ -302,6 +316,12 @@ declare const InstanceGetResponseJobImageType: {
302
316
  readonly SIMPLE: "SIMPLE";
303
317
  readonly NEXTFLOW: "NEXTFLOW";
304
318
  };
319
+ /**
320
+ * A set of instance-relative output files (or directories) defined at the time of launch. These are used by step instances and can be used by jobs too.
321
+ */
322
+ type InstanceGetResponseOutputs = {
323
+ [key: string]: unknown;
324
+ };
305
325
  interface InstanceGetResponse {
306
326
  /** The Project the Instance is running in
307
327
  */
@@ -367,9 +387,11 @@ interface InstanceGetResponse {
367
387
  /** 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`)
368
388
  */
369
389
  job_image_type?: InstanceGetResponseJobImageType;
390
+ /** A set of instance-relative output files (or directories) defined at the time of launch. These are used by step instances and can be used by jobs too. */
391
+ outputs: InstanceGetResponseOutputs;
370
392
  /** The JSON string representation of the JobDefinition's outputs
371
393
  */
372
- outputs?: string;
394
+ rendered_outputs?: string;
373
395
  /** Set if the instance output file permissions are expected to be fixed by the Data Manager when the Instance completes.
374
396
  */
375
397
  fix_permissions?: boolean;
@@ -800,11 +822,6 @@ interface RunningWorkflowGetAllResponse {
800
822
  count: number;
801
823
  running_workflows: RunningWorkflowSummary[];
802
824
  }
803
- interface PriorRunningWorkflowStep {
804
- /** The Running Workflows Step's unique ID that ran prior to this step
805
- */
806
- id: string;
807
- }
808
825
  /**
809
826
  * The status of the running workflow
810
827
  */
@@ -827,7 +844,7 @@ interface RunningWorkflowSummary {
827
844
  /** The status of the running workflow */
828
845
  status: RunningWorkflowSummaryStatus;
829
846
  /** The date and time the running workflow was started */
830
- started?: string;
847
+ started: string;
831
848
  /** The date and time the running workflow was stopped
832
849
  */
833
850
  stopped?: string;
@@ -912,7 +929,6 @@ interface RunningWorkflowStep {
912
929
  /** True if the running workflow step has finished successfully */
913
930
  success?: boolean;
914
931
  running_workflow: RunningWorkflowSummary;
915
- prior_running_workflow_step?: PriorRunningWorkflowStep;
916
932
  }
917
933
  interface ModeGetResponse {
918
934
  /** 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)
@@ -1154,10 +1170,6 @@ interface ExchangeRateDetail {
1154
1170
  user_id: string;
1155
1171
  comment?: string;
1156
1172
  }
1157
- interface ApplicationExchangeRateSummary {
1158
- id: string;
1159
- rate?: string;
1160
- }
1161
1173
  interface JobExchangeRateSummary {
1162
1174
  id: number;
1163
1175
  rate?: string;
@@ -1234,6 +1246,12 @@ declare const InstanceSummaryJobImageType: {
1234
1246
  readonly SIMPLE: "SIMPLE";
1235
1247
  readonly NEXTFLOW: "NEXTFLOW";
1236
1248
  };
1249
+ /**
1250
+ * A set of instance-relative output files (or directories) defined at the time of launch. These are used by step instances and can be used by jobs too.
1251
+ */
1252
+ type InstanceSummaryOutputs = {
1253
+ [key: string]: unknown;
1254
+ };
1237
1255
  interface InstanceSummary {
1238
1256
  /** The application instance ID
1239
1257
  */
@@ -1302,9 +1320,11 @@ interface InstanceSummary {
1302
1320
  /** 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`)
1303
1321
  */
1304
1322
  job_image_type?: InstanceSummaryJobImageType;
1305
- /** The instance's known outputs, a JSON string defining a map of all the outputs. Typically applied only to JOB application types
1323
+ /** A set of instance-relative output files (or directories) defined at the time of launch. These are used by step instances and can be used by jobs too. */
1324
+ outputs?: InstanceSummaryOutputs;
1325
+ /** The instance's known outputs, a JSON string defining a map of all the rendered outputs. Typically applied only to JOB application types
1306
1326
  */
1307
- outputs?: string;
1327
+ rendered_outputs?: string;
1308
1328
  /** Set if the instance output file permissions are expected to be fixed by the Data Manager when the Instance completes.
1309
1329
  */
1310
1330
  fix_permissions?: boolean;
@@ -1468,6 +1488,9 @@ interface ProjectDetail {
1468
1488
  /** The Account Server Product the Project belongs to
1469
1489
  */
1470
1490
  product_id?: string;
1491
+ /** If it's applicable, the Account Server Product flavour. Typically one of `GOLD`, `SILVER`, `BRONZE`, `EVALUATION`
1492
+ */
1493
+ product_flavour?: string;
1471
1494
  /** The Account Server Organisation the Project Product Unit belongs to
1472
1495
  */
1473
1496
  organisation_id?: string;
@@ -1540,10 +1563,12 @@ interface ProjectFileDetail {
1540
1563
  interface RunningWorkflowWorkflow {
1541
1564
  /** The Workflow ID
1542
1565
  */
1543
- id?: string;
1566
+ id: string;
1544
1567
  /** The Workflow name
1545
1568
  */
1546
- name?: string;
1569
+ name: string;
1570
+ /** The version of the workflow. If there is no version (if the server is in DEVELOPER mode for example) the value will be `Unversioned`. */
1571
+ version: string;
1547
1572
  }
1548
1573
  interface RunningWorkflowProject {
1549
1574
  /** The Project ID
@@ -2615,20 +2640,6 @@ type GetTaskParams = {
2615
2640
  */
2616
2641
  event_prior_ordinal?: QEventPriorOrdinalParameter;
2617
2642
  };
2618
- type GetAllApplicationExchangeRatesParams = {
2619
- /**
2620
- * Only return records where the exchange rate is undefined
2621
-
2622
- */
2623
- only_undefined?: QOnlyUndefinedParameter;
2624
- };
2625
- type GetApplicationExchangeRatesParams = {
2626
- /**
2627
- * Set to get current
2628
-
2629
- */
2630
- current?: QCurrentParameter;
2631
- };
2632
2643
  type GetJobsParams = {
2633
2644
  /**
2634
2645
  * A Project identity
@@ -2731,6 +2742,11 @@ type GetRunningWorkflowsParams = {
2731
2742
  * @pattern ^workflow-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
2732
2743
  */
2733
2744
  workflow_id?: QWorkflowIdParameter;
2745
+ /**
2746
+ * A Project identity
2747
+ * @pattern ^project-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
2748
+ */
2749
+ project_id?: QProjectIdParameter;
2734
2750
  };
2735
2751
  type AdminGetServiceErrorsParams = {
2736
2752
  /**
@@ -2794,4 +2810,4 @@ declare const setBaseUrl: (baseUrl: string) => void;
2794
2810
  declare const customInstance: <TReturn>(config: AxiosRequestConfig, options?: AxiosRequestConfig) => Promise<TReturn>;
2795
2811
  type ErrorType<TError> = AxiosError<TError>;
2796
2812
 
2797
- 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 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 GetRunningWorkflowsParams, type GetTaskParams, type GetTasksParams, type GetUserAccountParams, type GetUserApiLogParams, type GetUserInventoryParams, type GetVersionsParams, type InputHandlerDetail, type InputHandlerGetResponse, type InstanceDeleteResponse, type InstanceDryRunPostResponse, type InstanceGetResponse, InstanceGetResponseApplicationType, InstanceGetResponseJobImageType, InstanceGetResponsePhase, type InstancePostBodyBody, type InstancePostResponse, type InstanceSummary, InstanceSummaryApplicationType, InstanceSummaryJobImageType, InstanceSummaryPhase, type InstanceTask, InstanceTaskPurpose, type InstancesGetResponse, type InventoryDatasetDetail, type InventoryProjectDetail, type InventoryUserDetail, type InventoryUserDetailDatasets, type InventoryUserDetailProjects, type InventoryUserGetResponse, type JobApplication, type JobExchangeRateSummary, type JobGetResponse, JobGetResponseImageType, type 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 MoveFileInProjectParams, type MovePathParams, type PatchInstanceParams, type PriorRunningWorkflowStep, type ProjectDeleteResponse, type ProjectDetail, type ProjectFileDetail, ProjectFileDetailProcessingStage, type ProjectFilePutBodyBody, type ProjectGetResponse, type ProjectPatchBodyBody, type ProjectPostBodyBody, type ProjectPostResponse, type ProjectsGetResponse, type QActiveDaysParameter, type QApplicationIdParameter, type QCurrentParameter, type QDatasetMimeTypeParameter, type QDoNotImpersonateParameter, type QDstFileParameter, type QEditorsParameter, type QEventLimitParameter, type QEventPriorOrdinalParameter, type QExcludeDoneParameter, type QExcludePurposeParameter, type QExcludeRemovalParameter, type QFileDstPathParameter, type QFileParameter, type QFilePathParameter, type QFileProjectIdParameter, type QFileSrcPathParameter, type QFromParameter, type QIdleDaysParameter, type QIncludeAcknowledgedParameter, type QIncludeDeletedParameter, type QIncludeHiddenParameter, type QInstanceArchiveParameter, type QInstanceCallbackContextParameter, type QJobCollectionParameter, type QJobIdParameter, type QJobJobParameter, type QJobVersionParameter, type QKeepProjectFilesParameter, type QLabelsParameter, type QOnlyUndefinedParameter, type QOrgIdParameter, type QOwnersParameter, type QProjectIdParameter, type QProjectNameParameter, type QPurgeParameter, QPurposeParameter, type QTokenParameter, type QUnitIdParameter, type QUntilParameter, type QUsernameParameter, type QUsernamesParameter, type QWorkflowIdParameter, type RunningWorkflowGetAllResponse, type RunningWorkflowGetResponse, RunningWorkflowGetResponseStatus, type RunningWorkflowGetResponseVariables, type RunningWorkflowProject, type RunningWorkflowStep, RunningWorkflowStepStatus, type RunningWorkflowStepVariables, type RunningWorkflowStepsGetResponse, type RunningWorkflowSummary, RunningWorkflowSummaryStatus, type RunningWorkflowWorkflow, type ServiceErrorSummary, ServiceErrorSummarySeverity, type ServiceErrorsGetResponse, type TaskEvent, TaskEventLevel, type TaskGetResponse, TaskGetResponsePurpose, type TaskIdentity, type TaskState, TaskStateState, type TaskSummary, TaskSummaryProcessingStage, type TasksGetResponse, type TypeSummary, type TypeSummaryFormatterOptions, TypeSummaryFormatterOptionsType, type TypesGetResponse, type UserAccountDetail, type UserAccountGetResponse, type UserAccountPatchBodyBody, type UserActivityDetail, type UserActivityDetailPeriod, type UserApiLogGetResponse, type UserApiTokenGetResponse, type UserDetail, type UserPatchBodyBody, type UserSummary, type UsersGetResponse, type VersionGetResponse, type WorkflowDefinitionGetResponse, type WorkflowGetAllResponse, type WorkflowGetResponse, WorkflowGetResponseScope, type WorkflowGetResponseVariables, type WorkflowPatchBodyBody, type WorkflowPatchResponse, type WorkflowPostBodyBody, WorkflowPostBodyBodyScope, type WorkflowPostResponse, type WorkflowRunPostBodyBody, type WorkflowRunPostResponse, type WorkflowStepSummary, type WorkflowStepSummarySpecification, type WorkflowSummary, WorkflowSummaryScope, type WorkflowVersionPutBodyBody, type WorkflowVersionPutResponse, customInstance, setAuthToken, setBaseUrl };
2813
+ 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 ApplicationGetResponse, ApplicationGetResponseCostUnit, type ApplicationImageVariant, type ApplicationImageVariants, type ApplicationSummary, type ApplicationsGetResponse, type AsAdditionalDataProcessingCharge, type CreatePathParams, type DatasetDetail, type DatasetDigestGetResponse, type DatasetMetaGetResponse, 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 GetAllExchangeRatesResponse, type GetAllJobExchangeRatesParams, 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 GetRunningWorkflowsParams, type GetTaskParams, type GetTasksParams, type GetUserAccountParams, type GetUserApiLogParams, type GetUserInventoryParams, type GetVersionsParams, type InputHandlerDetail, type InputHandlerGetResponse, type InstanceDeleteResponse, type InstanceDryRunPostResponse, type InstanceGetResponse, InstanceGetResponseApplicationType, InstanceGetResponseJobImageType, type InstanceGetResponseOutputs, InstanceGetResponsePhase, type InstancePostBodyBody, type InstancePostResponse, type InstanceSummary, InstanceSummaryApplicationType, InstanceSummaryJobImageType, type InstanceSummaryOutputs, InstanceSummaryPhase, type InstanceTask, InstanceTaskPurpose, type InstancesGetResponse, type InventoryDatasetDetail, type InventoryProjectDetail, type InventoryUserDetail, type InventoryUserDetailDatasets, type InventoryUserDetailProjects, type InventoryUserGetResponse, type JobApplication, type JobExchangeRateSummary, type JobGetResponse, JobGetResponseImageType, type 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 MoveFileInProjectParams, type MovePathParams, type PatchInstanceParams, type ProjectDeleteResponse, type ProjectDetail, type ProjectFileDetail, ProjectFileDetailProcessingStage, type ProjectFilePutBodyBody, type ProjectGetResponse, type ProjectPatchBodyBody, type ProjectPostBodyBody, type ProjectPostResponse, type ProjectsGetResponse, type QActiveDaysParameter, type QApplicationIdParameter, type QCurrentParameter, type QDatasetMimeTypeParameter, type QDoNotImpersonateParameter, type QDstFileParameter, type QEditorsParameter, type QEventLimitParameter, type QEventPriorOrdinalParameter, type QExcludeDoneParameter, type QExcludePurposeParameter, type QExcludeRemovalParameter, type QFileDstPathParameter, type QFileParameter, type QFilePathParameter, type QFileProjectIdParameter, type QFileSrcPathParameter, type QFromParameter, type QIdleDaysParameter, type QIncludeAcknowledgedParameter, type QIncludeDeletedParameter, type QIncludeHiddenParameter, type QInstanceArchiveParameter, type QInstanceCallbackContextParameter, type QJobCollectionParameter, type QJobIdParameter, type QJobJobParameter, type QJobVersionParameter, type QKeepProjectFilesParameter, type QLabelsParameter, type QOnlyUndefinedParameter, type QOrgIdParameter, type QOwnersParameter, type QProjectIdParameter, type QProjectNameParameter, type QPurgeParameter, QPurposeParameter, type QTokenParameter, type QUnitIdParameter, type QUntilParameter, type QUsernameParameter, type QUsernamesParameter, type QWorkflowIdParameter, type RunningWorkflowGetAllResponse, type RunningWorkflowGetResponse, RunningWorkflowGetResponseStatus, type RunningWorkflowGetResponseVariables, type RunningWorkflowProject, type RunningWorkflowStep, RunningWorkflowStepStatus, type RunningWorkflowStepVariables, type RunningWorkflowStepsGetResponse, type RunningWorkflowSummary, RunningWorkflowSummaryStatus, type RunningWorkflowWorkflow, type ServiceErrorSummary, ServiceErrorSummarySeverity, type ServiceErrorsGetResponse, type TaskEvent, TaskEventLevel, type TaskGetResponse, TaskGetResponsePurpose, type TaskIdentity, type TaskState, TaskStateState, type TaskSummary, TaskSummaryProcessingStage, type TasksGetResponse, type TypeSummary, type TypeSummaryFormatterOptions, TypeSummaryFormatterOptionsType, type TypesGetResponse, type UserAccountDetail, type UserAccountGetResponse, type UserAccountPatchBodyBody, type UserActivityDetail, type UserActivityDetailPeriod, type UserApiLogGetResponse, type UserApiTokenGetResponse, type UserDetail, type UserPatchBodyBody, type UserSummary, type UsersGetResponse, type VersionGetResponse, type WorkflowDefinitionGetResponse, type WorkflowGetAllResponse, type WorkflowGetResponse, WorkflowGetResponseScope, type WorkflowGetResponseVariables, type WorkflowPatchBodyBody, type WorkflowPatchResponse, type WorkflowPostBodyBody, WorkflowPostBodyBodyScope, type WorkflowPostResponse, type WorkflowRunPostBodyBody, type WorkflowRunPostResponse, type WorkflowStepSummary, type WorkflowStepSummarySpecification, type WorkflowSummary, WorkflowSummaryScope, type WorkflowVersionPutBodyBody, type WorkflowVersionPutResponse, customInstance, setAuthToken, setBaseUrl };
package/index.js CHANGED
@@ -5,7 +5,8 @@ import {
5
5
  setBaseUrl
6
6
  } from "./chunk-XYDLYMQ2.js";
7
7
 
8
- // src/data-manager-api.schemas.ts
8
+ // src/API_TARGET_NAME.schemas.ts
9
+ var ApplicationGetResponseCostUnit = { PxGi: "PxGi" };
9
10
  var DatasetSchemaGetResponseType = { object: "object" };
10
11
  var InstanceGetResponseApplicationType = {
11
12
  APPLICATION: "APPLICATION",
@@ -142,6 +143,7 @@ var QPurposeParameter = {
142
143
  export {
143
144
  AXIOS_INSTANCE,
144
145
  ApiLogDetailMethod,
146
+ ApplicationGetResponseCostUnit,
145
147
  DatasetSchemaGetResponseType,
146
148
  DatasetVersionDetailProcessingStage,
147
149
  DatasetVersionSummaryProcessingStage,