@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/admin/admin.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { UseQueryOptions, QueryKey, UseQueryResult, UseMutationOptions } from '@tanstack/react-query';
3
- import { b as AdminGetServiceErrorsParams, bZ as customInstance, bh as ServiceErrorsGetResponse, b_ as ErrorType, bV as DmError, a as AdminGetUsersParams, bP as AdminUsersGetResponse, an as UserAccountDetail, a7 as UserPatchBodyBody, bS as AdminJobManifestGetResponse, ad as JobManifestPutBodyBody, bR as AdminJobManifestLoadPutResponse, A as AdminDeleteJobManifestParams } from '../custom-instance-37ed2460.js';
1
+ import * as _tanstack_react_query_build_legacy_types from '@tanstack/react-query/build/legacy/types';
2
+ import { UseQueryOptions, QueryKey, UseQueryResult, UseSuspenseQueryOptions, UseSuspenseQueryResult, UseMutationOptions } from '@tanstack/react-query';
3
+ import { AdminGetServiceErrorsParams, customInstance, ServiceErrorsGetResponse, ErrorType, DmError, AdminGetUsersParams, AdminUsersGetResponse, UserAccountDetail, UserPatchBodyBody, AdminJobManifestGetResponse, JobManifestPutBodyBody, AdminJobManifestLoadPutResponse, AdminDeleteJobManifestParams } from '../index.js';
4
4
  import 'axios';
5
5
 
6
- type SecondParameter<T extends (...args: any) => any> = T extends (config: any, args: infer P) => any ? P : never;
6
+ type SecondParameter<T extends (...args: any) => any> = Parameters<T>[1];
7
7
  /**
8
8
  * Displays the existing Service Errors, which can also include acknowledged errors, normally excluded from the list.
9
9
 
@@ -14,7 +14,7 @@ You will need `admin` rights to use this endpoint
14
14
  declare const adminGetServiceErrors: (params?: AdminGetServiceErrorsParams, options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<ServiceErrorsGetResponse>;
15
15
  declare const getAdminGetServiceErrorsQueryKey: (params?: AdminGetServiceErrorsParams) => readonly ["data-manager-api", "/admin/service-error", ...AdminGetServiceErrorsParams[]];
16
16
  declare const getAdminGetServiceErrorsQueryOptions: <TData = ServiceErrorsGetResponse, TError = ErrorType<void | DmError>>(params?: AdminGetServiceErrorsParams, options?: {
17
- query?: UseQueryOptions<ServiceErrorsGetResponse, TError, TData, QueryKey> | undefined;
17
+ query?: Partial<UseQueryOptions<ServiceErrorsGetResponse, TError, TData, QueryKey>> | undefined;
18
18
  request?: SecondParameter<typeof customInstance>;
19
19
  } | undefined) => UseQueryOptions<ServiceErrorsGetResponse, TError, TData, QueryKey> & {
20
20
  queryKey: QueryKey;
@@ -25,11 +25,28 @@ type AdminGetServiceErrorsQueryError = ErrorType<void | DmError>;
25
25
  * @summary Gets Service Errors
26
26
  */
27
27
  declare const useAdminGetServiceErrors: <TData = ServiceErrorsGetResponse, TError = ErrorType<void | DmError>>(params?: AdminGetServiceErrorsParams, options?: {
28
- query?: UseQueryOptions<ServiceErrorsGetResponse, TError, TData, QueryKey> | undefined;
28
+ query?: Partial<UseQueryOptions<ServiceErrorsGetResponse, TError, TData, QueryKey>> | undefined;
29
29
  request?: SecondParameter<typeof customInstance>;
30
30
  } | undefined) => UseQueryResult<TData, TError> & {
31
31
  queryKey: QueryKey;
32
32
  };
33
+ declare const getAdminGetServiceErrorsSuspenseQueryOptions: <TData = ServiceErrorsGetResponse, TError = ErrorType<void | DmError>>(params?: AdminGetServiceErrorsParams, options?: {
34
+ query?: Partial<UseSuspenseQueryOptions<ServiceErrorsGetResponse, TError, TData, QueryKey>> | undefined;
35
+ request?: SecondParameter<typeof customInstance>;
36
+ } | undefined) => UseSuspenseQueryOptions<ServiceErrorsGetResponse, TError, TData, QueryKey> & {
37
+ queryKey: QueryKey;
38
+ };
39
+ type AdminGetServiceErrorsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetServiceErrors>>>;
40
+ type AdminGetServiceErrorsSuspenseQueryError = ErrorType<void | DmError>;
41
+ /**
42
+ * @summary Gets Service Errors
43
+ */
44
+ declare const useAdminGetServiceErrorsSuspense: <TData = ServiceErrorsGetResponse, TError = ErrorType<void | DmError>>(params?: AdminGetServiceErrorsParams, options?: {
45
+ query?: Partial<UseSuspenseQueryOptions<ServiceErrorsGetResponse, TError, TData, QueryKey>> | undefined;
46
+ request?: SecondParameter<typeof customInstance>;
47
+ } | undefined) => UseSuspenseQueryResult<TData, TError> & {
48
+ queryKey: QueryKey;
49
+ };
33
50
  /**
34
51
  * Used primarily to 'Acknowledge' but not delete a Service Error.
35
52
 
@@ -56,7 +73,7 @@ declare const useAdminPatchServiceError: <TError = ErrorType<DmError>, TContext
56
73
  errorId: number;
57
74
  }, TContext> | undefined;
58
75
  request?: SecondParameter<typeof customInstance>;
59
- } | undefined) => _tanstack_react_query.UseMutationResult<void, TError, {
76
+ } | undefined) => _tanstack_react_query_build_legacy_types.UseMutationResult<void, TError, {
60
77
  errorId: number;
61
78
  }, TContext>;
62
79
  /**
@@ -85,7 +102,7 @@ declare const useAdminDeleteServiceError: <TError = ErrorType<DmError>, TContext
85
102
  errorId: number;
86
103
  }, TContext> | undefined;
87
104
  request?: SecondParameter<typeof customInstance>;
88
- } | undefined) => _tanstack_react_query.UseMutationResult<void, TError, {
105
+ } | undefined) => _tanstack_react_query_build_legacy_types.UseMutationResult<void, TError, {
89
106
  errorId: number;
90
107
  }, TContext>;
91
108
  /**
@@ -96,7 +113,7 @@ declare const useAdminDeleteServiceError: <TError = ErrorType<DmError>, TContext
96
113
  declare const adminGetUsers: (params?: AdminGetUsersParams, options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<AdminUsersGetResponse>;
97
114
  declare const getAdminGetUsersQueryKey: (params?: AdminGetUsersParams) => readonly ["data-manager-api", "/admin/user", ...AdminGetUsersParams[]];
98
115
  declare const getAdminGetUsersQueryOptions: <TData = AdminUsersGetResponse, TError = ErrorType<void | DmError>>(params?: AdminGetUsersParams, options?: {
99
- query?: UseQueryOptions<AdminUsersGetResponse, TError, TData, QueryKey> | undefined;
116
+ query?: Partial<UseQueryOptions<AdminUsersGetResponse, TError, TData, QueryKey>> | undefined;
100
117
  request?: SecondParameter<typeof customInstance>;
101
118
  } | undefined) => UseQueryOptions<AdminUsersGetResponse, TError, TData, QueryKey> & {
102
119
  queryKey: QueryKey;
@@ -107,11 +124,28 @@ type AdminGetUsersQueryError = ErrorType<void | DmError>;
107
124
  * @summary Get detailed information about all known Users
108
125
  */
109
126
  declare const useAdminGetUsers: <TData = AdminUsersGetResponse, TError = ErrorType<void | DmError>>(params?: AdminGetUsersParams, options?: {
110
- query?: UseQueryOptions<AdminUsersGetResponse, TError, TData, QueryKey> | undefined;
127
+ query?: Partial<UseQueryOptions<AdminUsersGetResponse, TError, TData, QueryKey>> | undefined;
111
128
  request?: SecondParameter<typeof customInstance>;
112
129
  } | undefined) => UseQueryResult<TData, TError> & {
113
130
  queryKey: QueryKey;
114
131
  };
132
+ declare const getAdminGetUsersSuspenseQueryOptions: <TData = AdminUsersGetResponse, TError = ErrorType<void | DmError>>(params?: AdminGetUsersParams, options?: {
133
+ query?: Partial<UseSuspenseQueryOptions<AdminUsersGetResponse, TError, TData, QueryKey>> | undefined;
134
+ request?: SecondParameter<typeof customInstance>;
135
+ } | undefined) => UseSuspenseQueryOptions<AdminUsersGetResponse, TError, TData, QueryKey> & {
136
+ queryKey: QueryKey;
137
+ };
138
+ type AdminGetUsersSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetUsers>>>;
139
+ type AdminGetUsersSuspenseQueryError = ErrorType<void | DmError>;
140
+ /**
141
+ * @summary Get detailed information about all known Users
142
+ */
143
+ declare const useAdminGetUsersSuspense: <TData = AdminUsersGetResponse, TError = ErrorType<void | DmError>>(params?: AdminGetUsersParams, options?: {
144
+ query?: Partial<UseSuspenseQueryOptions<AdminUsersGetResponse, TError, TData, QueryKey>> | undefined;
145
+ request?: SecondParameter<typeof customInstance>;
146
+ } | undefined) => UseSuspenseQueryResult<TData, TError> & {
147
+ queryKey: QueryKey;
148
+ };
115
149
  /**
116
150
  * This method adds a user to the Data Manager service. The user is authenticated via a keycloak server but will need an initialised account before they can create Datasets or Projects.
117
151
 
@@ -138,7 +172,7 @@ declare const useAdminPutUser: <TError = ErrorType<void | DmError>, TContext = u
138
172
  userId: string;
139
173
  }, TContext> | undefined;
140
174
  request?: SecondParameter<typeof customInstance>;
141
- } | undefined) => _tanstack_react_query.UseMutationResult<UserAccountDetail, TError, {
175
+ } | undefined) => _tanstack_react_query_build_legacy_types.UseMutationResult<UserAccountDetail, TError, {
142
176
  userId: string;
143
177
  }, TContext>;
144
178
  /**
@@ -167,7 +201,7 @@ declare const useAdminDeleteUser: <TError = ErrorType<DmError>, TContext = unkno
167
201
  userId: string;
168
202
  }, TContext> | undefined;
169
203
  request?: SecondParameter<typeof customInstance>;
170
- } | undefined) => _tanstack_react_query.UseMutationResult<void, TError, {
204
+ } | undefined) => _tanstack_react_query_build_legacy_types.UseMutationResult<void, TError, {
171
205
  userId: string;
172
206
  }, TContext>;
173
207
  /**
@@ -200,7 +234,7 @@ declare const useAdminPatchUser: <TError = ErrorType<DmError>, TContext = unknow
200
234
  data: UserPatchBodyBody;
201
235
  }, TContext> | undefined;
202
236
  request?: SecondParameter<typeof customInstance>;
203
- } | undefined) => _tanstack_react_query.UseMutationResult<void, TError, {
237
+ } | undefined) => _tanstack_react_query_build_legacy_types.UseMutationResult<void, TError, {
204
238
  userId: string;
205
239
  data: UserPatchBodyBody;
206
240
  }, TContext>;
@@ -214,7 +248,7 @@ You will need `admin` rights to use this endpoint
214
248
  declare const adminGetJobManifests: (options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<AdminJobManifestGetResponse>;
215
249
  declare const getAdminGetJobManifestsQueryKey: () => readonly ["data-manager-api", "/admin/job-manifest"];
216
250
  declare const getAdminGetJobManifestsQueryOptions: <TData = AdminJobManifestGetResponse, TError = ErrorType<void | DmError>>(options?: {
217
- query?: UseQueryOptions<AdminJobManifestGetResponse, TError, TData, QueryKey> | undefined;
251
+ query?: Partial<UseQueryOptions<AdminJobManifestGetResponse, TError, TData, QueryKey>> | undefined;
218
252
  request?: SecondParameter<typeof customInstance>;
219
253
  } | undefined) => UseQueryOptions<AdminJobManifestGetResponse, TError, TData, QueryKey> & {
220
254
  queryKey: QueryKey;
@@ -225,11 +259,28 @@ type AdminGetJobManifestsQueryError = ErrorType<void | DmError>;
225
259
  * @summary Get Job Manifests
226
260
  */
227
261
  declare const useAdminGetJobManifests: <TData = AdminJobManifestGetResponse, TError = ErrorType<void | DmError>>(options?: {
228
- query?: UseQueryOptions<AdminJobManifestGetResponse, TError, TData, QueryKey> | undefined;
262
+ query?: Partial<UseQueryOptions<AdminJobManifestGetResponse, TError, TData, QueryKey>> | undefined;
229
263
  request?: SecondParameter<typeof customInstance>;
230
264
  } | undefined) => UseQueryResult<TData, TError> & {
231
265
  queryKey: QueryKey;
232
266
  };
267
+ declare const getAdminGetJobManifestsSuspenseQueryOptions: <TData = AdminJobManifestGetResponse, TError = ErrorType<void | DmError>>(options?: {
268
+ query?: Partial<UseSuspenseQueryOptions<AdminJobManifestGetResponse, TError, TData, QueryKey>> | undefined;
269
+ request?: SecondParameter<typeof customInstance>;
270
+ } | undefined) => UseSuspenseQueryOptions<AdminJobManifestGetResponse, TError, TData, QueryKey> & {
271
+ queryKey: QueryKey;
272
+ };
273
+ type AdminGetJobManifestsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetJobManifests>>>;
274
+ type AdminGetJobManifestsSuspenseQueryError = ErrorType<void | DmError>;
275
+ /**
276
+ * @summary Get Job Manifests
277
+ */
278
+ declare const useAdminGetJobManifestsSuspense: <TData = AdminJobManifestGetResponse, TError = ErrorType<void | DmError>>(options?: {
279
+ query?: Partial<UseSuspenseQueryOptions<AdminJobManifestGetResponse, TError, TData, QueryKey>> | undefined;
280
+ request?: SecondParameter<typeof customInstance>;
281
+ } | undefined) => UseSuspenseQueryResult<TData, TError> & {
282
+ queryKey: QueryKey;
283
+ };
233
284
  /**
234
285
  * This endpoint is used to add (or update an existing **Job Manifest**). Manifests are the source of Job definitions. Once added the manifest is inspected and any Jobs it refers to are loaded.
235
286
 
@@ -259,7 +310,7 @@ declare const useAdminJobManifestPut: <TError = ErrorType<void | DmError>, TCont
259
310
  data: JobManifestPutBodyBody;
260
311
  }, TContext> | undefined;
261
312
  request?: SecondParameter<typeof customInstance>;
262
- } | undefined) => _tanstack_react_query.UseMutationResult<AdminJobManifestLoadPutResponse, TError, {
313
+ } | undefined) => _tanstack_react_query_build_legacy_types.UseMutationResult<AdminJobManifestLoadPutResponse, TError, {
263
314
  data: JobManifestPutBodyBody;
264
315
  }, TContext>;
265
316
  /**
@@ -293,7 +344,7 @@ declare const useAdminDeleteJobManifest: <TError = ErrorType<DmError>, TContext
293
344
  params?: AdminDeleteJobManifestParams | undefined;
294
345
  }, TContext> | undefined;
295
346
  request?: SecondParameter<typeof customInstance>;
296
- } | undefined) => _tanstack_react_query.UseMutationResult<void, TError, {
347
+ } | undefined) => _tanstack_react_query_build_legacy_types.UseMutationResult<void, TError, {
297
348
  jobManifestId: number;
298
349
  params?: AdminDeleteJobManifestParams | undefined;
299
350
  }, TContext>;
@@ -307,18 +358,18 @@ You will need `admin` rights to use this endpoint and the Data Manager needs to
307
358
  * @summary Trigger a download of Job Definitions using existing Job Manifests
308
359
  */
309
360
  declare const adminJobManifestLoad: (options?: SecondParameter<typeof customInstance>) => Promise<AdminJobManifestLoadPutResponse>;
310
- declare const getAdminJobManifestLoadMutationOptions: <TError = ErrorType<void | DmError>, TVariables = void, TContext = unknown>(options?: {
311
- mutation?: UseMutationOptions<AdminJobManifestLoadPutResponse, TError, TVariables, TContext> | undefined;
361
+ declare const getAdminJobManifestLoadMutationOptions: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
362
+ mutation?: UseMutationOptions<AdminJobManifestLoadPutResponse, TError, void, TContext> | undefined;
312
363
  request?: SecondParameter<typeof customInstance>;
313
- } | undefined) => UseMutationOptions<AdminJobManifestLoadPutResponse, TError, TVariables, TContext>;
364
+ } | undefined) => UseMutationOptions<AdminJobManifestLoadPutResponse, TError, void, TContext>;
314
365
  type AdminJobManifestLoadMutationResult = NonNullable<Awaited<ReturnType<typeof adminJobManifestLoad>>>;
315
366
  type AdminJobManifestLoadMutationError = ErrorType<void | DmError>;
316
367
  /**
317
368
  * @summary Trigger a download of Job Definitions using existing Job Manifests
318
369
  */
319
- declare const useAdminJobManifestLoad: <TError = ErrorType<void | DmError>, TVariables = void, TContext = unknown>(options?: {
320
- mutation?: UseMutationOptions<AdminJobManifestLoadPutResponse, TError, TVariables, TContext> | undefined;
370
+ declare const useAdminJobManifestLoad: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
371
+ mutation?: UseMutationOptions<AdminJobManifestLoadPutResponse, TError, void, TContext> | undefined;
321
372
  request?: SecondParameter<typeof customInstance>;
322
- } | undefined) => _tanstack_react_query.UseMutationResult<AdminJobManifestLoadPutResponse, TError, TVariables, TContext>;
373
+ } | undefined) => _tanstack_react_query_build_legacy_types.UseMutationResult<AdminJobManifestLoadPutResponse, TError, void, TContext>;
323
374
 
324
- export { AdminDeleteJobManifestMutationError, AdminDeleteJobManifestMutationResult, AdminDeleteServiceErrorMutationError, AdminDeleteServiceErrorMutationResult, AdminDeleteUserMutationError, AdminDeleteUserMutationResult, AdminGetJobManifestsQueryError, AdminGetJobManifestsQueryResult, AdminGetServiceErrorsQueryError, AdminGetServiceErrorsQueryResult, AdminGetUsersQueryError, AdminGetUsersQueryResult, AdminJobManifestLoadMutationError, AdminJobManifestLoadMutationResult, AdminJobManifestPutMutationBody, AdminJobManifestPutMutationError, AdminJobManifestPutMutationResult, AdminPatchServiceErrorMutationError, AdminPatchServiceErrorMutationResult, AdminPatchUserMutationBody, AdminPatchUserMutationError, AdminPatchUserMutationResult, AdminPutUserMutationError, AdminPutUserMutationResult, adminDeleteJobManifest, adminDeleteServiceError, adminDeleteUser, adminGetJobManifests, adminGetServiceErrors, adminGetUsers, adminJobManifestLoad, adminJobManifestPut, adminPatchServiceError, adminPatchUser, adminPutUser, getAdminDeleteJobManifestMutationOptions, getAdminDeleteServiceErrorMutationOptions, getAdminDeleteUserMutationOptions, getAdminGetJobManifestsQueryKey, getAdminGetJobManifestsQueryOptions, getAdminGetServiceErrorsQueryKey, getAdminGetServiceErrorsQueryOptions, getAdminGetUsersQueryKey, getAdminGetUsersQueryOptions, getAdminJobManifestLoadMutationOptions, getAdminJobManifestPutMutationOptions, getAdminPatchServiceErrorMutationOptions, getAdminPatchUserMutationOptions, getAdminPutUserMutationOptions, useAdminDeleteJobManifest, useAdminDeleteServiceError, useAdminDeleteUser, useAdminGetJobManifests, useAdminGetServiceErrors, useAdminGetUsers, useAdminJobManifestLoad, useAdminJobManifestPut, useAdminPatchServiceError, useAdminPatchUser, useAdminPutUser };
375
+ export { type AdminDeleteJobManifestMutationError, type AdminDeleteJobManifestMutationResult, type AdminDeleteServiceErrorMutationError, type AdminDeleteServiceErrorMutationResult, type AdminDeleteUserMutationError, type AdminDeleteUserMutationResult, type AdminGetJobManifestsQueryError, type AdminGetJobManifestsQueryResult, type AdminGetJobManifestsSuspenseQueryError, type AdminGetJobManifestsSuspenseQueryResult, type AdminGetServiceErrorsQueryError, type AdminGetServiceErrorsQueryResult, type AdminGetServiceErrorsSuspenseQueryError, type AdminGetServiceErrorsSuspenseQueryResult, type AdminGetUsersQueryError, type AdminGetUsersQueryResult, type AdminGetUsersSuspenseQueryError, type AdminGetUsersSuspenseQueryResult, type AdminJobManifestLoadMutationError, type AdminJobManifestLoadMutationResult, type AdminJobManifestPutMutationBody, type AdminJobManifestPutMutationError, type AdminJobManifestPutMutationResult, type AdminPatchServiceErrorMutationError, type AdminPatchServiceErrorMutationResult, type AdminPatchUserMutationBody, type AdminPatchUserMutationError, type AdminPatchUserMutationResult, type AdminPutUserMutationError, type AdminPutUserMutationResult, adminDeleteJobManifest, adminDeleteServiceError, adminDeleteUser, adminGetJobManifests, adminGetServiceErrors, adminGetUsers, adminJobManifestLoad, adminJobManifestPut, adminPatchServiceError, adminPatchUser, adminPutUser, getAdminDeleteJobManifestMutationOptions, getAdminDeleteServiceErrorMutationOptions, getAdminDeleteUserMutationOptions, getAdminGetJobManifestsQueryKey, getAdminGetJobManifestsQueryOptions, getAdminGetJobManifestsSuspenseQueryOptions, getAdminGetServiceErrorsQueryKey, getAdminGetServiceErrorsQueryOptions, getAdminGetServiceErrorsSuspenseQueryOptions, getAdminGetUsersQueryKey, getAdminGetUsersQueryOptions, getAdminGetUsersSuspenseQueryOptions, getAdminJobManifestLoadMutationOptions, getAdminJobManifestPutMutationOptions, getAdminPatchServiceErrorMutationOptions, getAdminPatchUserMutationOptions, getAdminPutUserMutationOptions, useAdminDeleteJobManifest, useAdminDeleteServiceError, useAdminDeleteUser, useAdminGetJobManifests, useAdminGetJobManifestsSuspense, useAdminGetServiceErrors, useAdminGetServiceErrorsSuspense, useAdminGetUsers, useAdminGetUsersSuspense, useAdminJobManifestLoad, useAdminJobManifestPut, useAdminPatchServiceError, useAdminPatchUser, useAdminPutUser };
package/admin/admin.js CHANGED
@@ -1,17 +1,18 @@
1
1
  import {
2
2
  customInstance
3
- } from "../chunk-UKA7G3OB.js";
3
+ } from "../chunk-EBOQPVLG.js";
4
4
 
5
5
  // src/admin/admin.ts
6
6
  import {
7
7
  useMutation,
8
- useQuery
8
+ useQuery,
9
+ useSuspenseQuery
9
10
  } from "@tanstack/react-query";
10
11
  var adminGetServiceErrors = (params, options, signal) => {
11
12
  return customInstance(
12
13
  {
13
14
  url: `/admin/service-error`,
14
- method: "get",
15
+ method: "GET",
15
16
  params,
16
17
  signal
17
18
  },
@@ -33,11 +34,23 @@ var useAdminGetServiceErrors = (params, options) => {
33
34
  query.queryKey = queryOptions.queryKey;
34
35
  return query;
35
36
  };
37
+ var getAdminGetServiceErrorsSuspenseQueryOptions = (params, options) => {
38
+ const { query: queryOptions, request: requestOptions } = options ?? {};
39
+ const queryKey = (queryOptions == null ? void 0 : queryOptions.queryKey) ?? getAdminGetServiceErrorsQueryKey(params);
40
+ const queryFn = ({ signal }) => adminGetServiceErrors(params, requestOptions, signal);
41
+ return { queryKey, queryFn, ...queryOptions };
42
+ };
43
+ var useAdminGetServiceErrorsSuspense = (params, options) => {
44
+ const queryOptions = getAdminGetServiceErrorsSuspenseQueryOptions(params, options);
45
+ const query = useSuspenseQuery(queryOptions);
46
+ query.queryKey = queryOptions.queryKey;
47
+ return query;
48
+ };
36
49
  var adminPatchServiceError = (errorId, options) => {
37
50
  return customInstance(
38
51
  {
39
52
  url: `/admin/service-error/${errorId}`,
40
- method: "patch"
53
+ method: "PATCH"
41
54
  },
42
55
  options
43
56
  );
@@ -58,7 +71,7 @@ var adminDeleteServiceError = (errorId, options) => {
58
71
  return customInstance(
59
72
  {
60
73
  url: `/admin/service-error/${errorId}`,
61
- method: "delete"
74
+ method: "DELETE"
62
75
  },
63
76
  options
64
77
  );
@@ -79,7 +92,7 @@ var adminGetUsers = (params, options, signal) => {
79
92
  return customInstance(
80
93
  {
81
94
  url: `/admin/user`,
82
- method: "get",
95
+ method: "GET",
83
96
  params,
84
97
  signal
85
98
  },
@@ -101,11 +114,23 @@ var useAdminGetUsers = (params, options) => {
101
114
  query.queryKey = queryOptions.queryKey;
102
115
  return query;
103
116
  };
117
+ var getAdminGetUsersSuspenseQueryOptions = (params, options) => {
118
+ const { query: queryOptions, request: requestOptions } = options ?? {};
119
+ const queryKey = (queryOptions == null ? void 0 : queryOptions.queryKey) ?? getAdminGetUsersQueryKey(params);
120
+ const queryFn = ({ signal }) => adminGetUsers(params, requestOptions, signal);
121
+ return { queryKey, queryFn, ...queryOptions };
122
+ };
123
+ var useAdminGetUsersSuspense = (params, options) => {
124
+ const queryOptions = getAdminGetUsersSuspenseQueryOptions(params, options);
125
+ const query = useSuspenseQuery(queryOptions);
126
+ query.queryKey = queryOptions.queryKey;
127
+ return query;
128
+ };
104
129
  var adminPutUser = (userId, options) => {
105
130
  return customInstance(
106
131
  {
107
132
  url: `/admin/user/${userId}`,
108
- method: "put"
133
+ method: "PUT"
109
134
  },
110
135
  options
111
136
  );
@@ -126,7 +151,7 @@ var adminDeleteUser = (userId, options) => {
126
151
  return customInstance(
127
152
  {
128
153
  url: `/admin/user/${userId}`,
129
- method: "delete"
154
+ method: "DELETE"
130
155
  },
131
156
  options
132
157
  );
@@ -151,7 +176,7 @@ var adminPatchUser = (userId, userPatchBodyBody, options) => {
151
176
  return customInstance(
152
177
  {
153
178
  url: `/admin/user/${userId}`,
154
- method: "patch",
179
+ method: "PATCH",
155
180
  headers: { "Content-Type": "multipart/form-data" },
156
181
  data: formData
157
182
  },
@@ -174,7 +199,7 @@ var adminGetJobManifests = (options, signal) => {
174
199
  return customInstance(
175
200
  {
176
201
  url: `/admin/job-manifest`,
177
- method: "get",
202
+ method: "GET",
178
203
  signal
179
204
  },
180
205
  options
@@ -195,6 +220,18 @@ var useAdminGetJobManifests = (options) => {
195
220
  query.queryKey = queryOptions.queryKey;
196
221
  return query;
197
222
  };
223
+ var getAdminGetJobManifestsSuspenseQueryOptions = (options) => {
224
+ const { query: queryOptions, request: requestOptions } = options ?? {};
225
+ const queryKey = (queryOptions == null ? void 0 : queryOptions.queryKey) ?? getAdminGetJobManifestsQueryKey();
226
+ const queryFn = ({ signal }) => adminGetJobManifests(requestOptions, signal);
227
+ return { queryKey, queryFn, ...queryOptions };
228
+ };
229
+ var useAdminGetJobManifestsSuspense = (options) => {
230
+ const queryOptions = getAdminGetJobManifestsSuspenseQueryOptions(options);
231
+ const query = useSuspenseQuery(queryOptions);
232
+ query.queryKey = queryOptions.queryKey;
233
+ return query;
234
+ };
198
235
  var adminJobManifestPut = (jobManifestPutBodyBody, options) => {
199
236
  const formData = new FormData();
200
237
  formData.append("url", jobManifestPutBodyBody.url);
@@ -207,7 +244,7 @@ var adminJobManifestPut = (jobManifestPutBodyBody, options) => {
207
244
  return customInstance(
208
245
  {
209
246
  url: `/admin/job-manifest`,
210
- method: "put",
247
+ method: "PUT",
211
248
  headers: { "Content-Type": "multipart/form-data" },
212
249
  data: formData
213
250
  },
@@ -230,7 +267,7 @@ var adminDeleteJobManifest = (jobManifestId, params, options) => {
230
267
  return customInstance(
231
268
  {
232
269
  url: `/admin/job-manifest/${jobManifestId}`,
233
- method: "delete",
270
+ method: "DELETE",
234
271
  params
235
272
  },
236
273
  options
@@ -252,7 +289,7 @@ var adminJobManifestLoad = (options) => {
252
289
  return customInstance(
253
290
  {
254
291
  url: `/admin/job-manifest/load`,
255
- method: "put"
292
+ method: "PUT"
256
293
  },
257
294
  options
258
295
  );
@@ -285,10 +322,13 @@ export {
285
322
  getAdminDeleteUserMutationOptions,
286
323
  getAdminGetJobManifestsQueryKey,
287
324
  getAdminGetJobManifestsQueryOptions,
325
+ getAdminGetJobManifestsSuspenseQueryOptions,
288
326
  getAdminGetServiceErrorsQueryKey,
289
327
  getAdminGetServiceErrorsQueryOptions,
328
+ getAdminGetServiceErrorsSuspenseQueryOptions,
290
329
  getAdminGetUsersQueryKey,
291
330
  getAdminGetUsersQueryOptions,
331
+ getAdminGetUsersSuspenseQueryOptions,
292
332
  getAdminJobManifestLoadMutationOptions,
293
333
  getAdminJobManifestPutMutationOptions,
294
334
  getAdminPatchServiceErrorMutationOptions,
@@ -298,8 +338,11 @@ export {
298
338
  useAdminDeleteServiceError,
299
339
  useAdminDeleteUser,
300
340
  useAdminGetJobManifests,
341
+ useAdminGetJobManifestsSuspense,
301
342
  useAdminGetServiceErrors,
343
+ useAdminGetServiceErrorsSuspense,
302
344
  useAdminGetUsers,
345
+ useAdminGetUsersSuspense,
303
346
  useAdminJobManifestLoad,
304
347
  useAdminJobManifestPut,
305
348
  useAdminPatchServiceError,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/admin/admin.ts"],"sourcesContent":["/**\n * Generated by orval v6.20.0 🍺\n * Do not edit manually.\n * Dataset Manager API\n * The Dataset Manager API service.\n\nA service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications** and **Jobs** using **Projects** and **Files**.\n\n * OpenAPI spec version: 1.2\n */\nimport {\n useMutation,\n useQuery\n} from '@tanstack/react-query'\nimport type {\n MutationFunction,\n QueryFunction,\n QueryKey,\n UseMutationOptions,\n UseQueryOptions,\n UseQueryResult\n} from '@tanstack/react-query'\nimport type {\n AdminDeleteJobManifestParams,\n AdminGetServiceErrorsParams,\n AdminGetUsersParams,\n AdminJobManifestGetResponse,\n AdminJobManifestLoadPutResponse,\n AdminUsersGetResponse,\n DmError,\n JobManifestPutBodyBody,\n ServiceErrorsGetResponse,\n UserAccountDetail,\n UserPatchBodyBody\n} from '../data-manager-api.schemas'\nimport { customInstance } from '.././custom-instance';\nimport type { ErrorType } from '.././custom-instance';\n\n\n// eslint-disable-next-line\n type SecondParameter<T extends (...args: any) => any> = T extends (\n config: any,\n args: infer P,\n) => any\n ? P\n : never;\n\n\n/**\n * Displays the existing Service Errors, which can also include acknowledged errors, normally excluded from the list.\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Gets Service Errors\n */\nexport const adminGetServiceErrors = (\n params?: AdminGetServiceErrorsParams,\n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<ServiceErrorsGetResponse>(\n {url: `/admin/service-error`, method: 'get',\n params, signal\n },\n options);\n }\n \n\nexport const getAdminGetServiceErrorsQueryKey = (params?: AdminGetServiceErrorsParams,) => {\n \n return [\"data-manager-api\", `/admin/service-error`, ...(params ? [params]: [])] as const;\n }\n\n \nexport const getAdminGetServiceErrorsQueryOptions = <TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(params?: AdminGetServiceErrorsParams, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getAdminGetServiceErrorsQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof adminGetServiceErrors>>> = ({ signal }) => adminGetServiceErrors(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type AdminGetServiceErrorsQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetServiceErrors>>>\nexport type AdminGetServiceErrorsQueryError = ErrorType<void | DmError>\n\n/**\n * @summary Gets Service Errors\n */\nexport const useAdminGetServiceErrors = <TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(\n params?: AdminGetServiceErrorsParams, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey } => {\n\n const queryOptions = getAdminGetServiceErrorsQueryOptions(params,options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n/**\n * Used primarily to 'Acknowledge' but not delete a Service Error.\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Patches a Service Error\n */\nexport const adminPatchServiceError = (\n errorId: number,\n options?: SecondParameter<typeof customInstance>,) => {\n \n \n return customInstance<void>(\n {url: `/admin/service-error/${errorId}`, method: 'patch'\n },\n options);\n }\n \n\n\nexport const getAdminPatchServiceErrorMutationOptions = <TError = ErrorType<DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminPatchServiceError>>, TError,{errorId: number}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminPatchServiceError>>, TError,{errorId: number}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminPatchServiceError>>, {errorId: number}> = (props) => {\n const {errorId} = props ?? {};\n\n return adminPatchServiceError(errorId,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminPatchServiceErrorMutationResult = NonNullable<Awaited<ReturnType<typeof adminPatchServiceError>>>\n \n export type AdminPatchServiceErrorMutationError = ErrorType<DmError>\n\n /**\n * @summary Patches a Service Error\n */\nexport const useAdminPatchServiceError = <TError = ErrorType<DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminPatchServiceError>>, TError,{errorId: number}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminPatchServiceErrorMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Deletes an existing Service Error.\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Deletes a Service Error\n */\nexport const adminDeleteServiceError = (\n errorId: number,\n options?: SecondParameter<typeof customInstance>,) => {\n \n \n return customInstance<void>(\n {url: `/admin/service-error/${errorId}`, method: 'delete'\n },\n options);\n }\n \n\n\nexport const getAdminDeleteServiceErrorMutationOptions = <TError = ErrorType<DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminDeleteServiceError>>, TError,{errorId: number}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminDeleteServiceError>>, TError,{errorId: number}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminDeleteServiceError>>, {errorId: number}> = (props) => {\n const {errorId} = props ?? {};\n\n return adminDeleteServiceError(errorId,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminDeleteServiceErrorMutationResult = NonNullable<Awaited<ReturnType<typeof adminDeleteServiceError>>>\n \n export type AdminDeleteServiceErrorMutationError = ErrorType<DmError>\n\n /**\n * @summary Deletes a Service Error\n */\nexport const useAdminDeleteServiceError = <TError = ErrorType<DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminDeleteServiceError>>, TError,{errorId: number}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminDeleteServiceErrorMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * You need admin privileges to use this endpoint and you are excluded from the returned list of users\n\n * @summary Get detailed information about all known Users\n */\nexport const adminGetUsers = (\n params?: AdminGetUsersParams,\n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<AdminUsersGetResponse>(\n {url: `/admin/user`, method: 'get',\n params, signal\n },\n options);\n }\n \n\nexport const getAdminGetUsersQueryKey = (params?: AdminGetUsersParams,) => {\n \n return [\"data-manager-api\", `/admin/user`, ...(params ? [params]: [])] as const;\n }\n\n \nexport const getAdminGetUsersQueryOptions = <TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(params?: AdminGetUsersParams, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getAdminGetUsersQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof adminGetUsers>>> = ({ signal }) => adminGetUsers(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type AdminGetUsersQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetUsers>>>\nexport type AdminGetUsersQueryError = ErrorType<void | DmError>\n\n/**\n * @summary Get detailed information about all known Users\n */\nexport const useAdminGetUsers = <TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(\n params?: AdminGetUsersParams, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey } => {\n\n const queryOptions = getAdminGetUsersQueryOptions(params,options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n/**\n * This method adds a user to the Data Manager service. The user is authenticated via a keycloak server but will need an initialised account before they can create Datasets or Projects.\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Prepares a user account in the Data Manager service\n */\nexport const adminPutUser = (\n userId: string,\n options?: SecondParameter<typeof customInstance>,) => {\n \n \n return customInstance<UserAccountDetail>(\n {url: `/admin/user/${userId}`, method: 'put'\n },\n options);\n }\n \n\n\nexport const getAdminPutUserMutationOptions = <TError = ErrorType<void | DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminPutUser>>, TError,{userId: string}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminPutUser>>, TError,{userId: string}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminPutUser>>, {userId: string}> = (props) => {\n const {userId} = props ?? {};\n\n return adminPutUser(userId,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminPutUserMutationResult = NonNullable<Awaited<ReturnType<typeof adminPutUser>>>\n \n export type AdminPutUserMutationError = ErrorType<void | DmError>\n\n /**\n * @summary Prepares a user account in the Data Manager service\n */\nexport const useAdminPutUser = <TError = ErrorType<void | DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminPutUser>>, TError,{userId: string}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminPutUserMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Deletes a user account, along with all the user's Datasets\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Deletes a user account\n */\nexport const adminDeleteUser = (\n userId: string,\n options?: SecondParameter<typeof customInstance>,) => {\n \n \n return customInstance<void>(\n {url: `/admin/user/${userId}`, method: 'delete'\n },\n options);\n }\n \n\n\nexport const getAdminDeleteUserMutationOptions = <TError = ErrorType<DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminDeleteUser>>, TError,{userId: string}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminDeleteUser>>, TError,{userId: string}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminDeleteUser>>, {userId: string}> = (props) => {\n const {userId} = props ?? {};\n\n return adminDeleteUser(userId,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminDeleteUserMutationResult = NonNullable<Awaited<ReturnType<typeof adminDeleteUser>>>\n \n export type AdminDeleteUserMutationError = ErrorType<DmError>\n\n /**\n * @summary Deletes a user account\n */\nexport const useAdminDeleteUser = <TError = ErrorType<DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminDeleteUser>>, TError,{userId: string}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminDeleteUserMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Patches a user record, typically to suspend or re-enable a user account\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Patch a given user\n */\nexport const adminPatchUser = (\n userId: string,\n userPatchBodyBody: UserPatchBodyBody,\n options?: SecondParameter<typeof customInstance>,) => {\n \n const formData = new FormData();\nif(userPatchBodyBody.suspend_message !== undefined) {\n formData.append('suspend_message', userPatchBodyBody.suspend_message)\n }\n\n return customInstance<void>(\n {url: `/admin/user/${userId}`, method: 'patch',\n headers: {'Content-Type': 'multipart/form-data', },\n data: formData\n },\n options);\n }\n \n\n\nexport const getAdminPatchUserMutationOptions = <TError = ErrorType<DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminPatchUser>>, TError,{userId: string;data: UserPatchBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminPatchUser>>, TError,{userId: string;data: UserPatchBodyBody}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminPatchUser>>, {userId: string;data: UserPatchBodyBody}> = (props) => {\n const {userId,data} = props ?? {};\n\n return adminPatchUser(userId,data,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminPatchUserMutationResult = NonNullable<Awaited<ReturnType<typeof adminPatchUser>>>\n export type AdminPatchUserMutationBody = UserPatchBodyBody\n export type AdminPatchUserMutationError = ErrorType<DmError>\n\n /**\n * @summary Patch a given user\n */\nexport const useAdminPatchUser = <TError = ErrorType<DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminPatchUser>>, TError,{userId: string;data: UserPatchBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminPatchUserMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Returns the list of known **Job Manifests** including the time the manifest was last loaded and its load status, a message indicating success or failure.\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Get Job Manifests\n */\nexport const adminGetJobManifests = (\n \n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<AdminJobManifestGetResponse>(\n {url: `/admin/job-manifest`, method: 'get', signal\n },\n options);\n }\n \n\nexport const getAdminGetJobManifestsQueryKey = () => {\n \n return [\"data-manager-api\", `/admin/job-manifest`] as const;\n }\n\n \nexport const getAdminGetJobManifestsQueryOptions = <TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>( options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getAdminGetJobManifestsQueryKey();\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof adminGetJobManifests>>> = ({ signal }) => adminGetJobManifests(requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type AdminGetJobManifestsQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetJobManifests>>>\nexport type AdminGetJobManifestsQueryError = ErrorType<void | DmError>\n\n/**\n * @summary Get Job Manifests\n */\nexport const useAdminGetJobManifests = <TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>(\n options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey } => {\n\n const queryOptions = getAdminGetJobManifestsQueryOptions(options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n/**\n * This endpoint is used to add (or update an existing **Job Manifest**). Manifests are the source of Job definitions. Once added the manifest is inspected and any Jobs it refers to are loaded.\n\nA limited number of manifest origins (URLs) are supported. At the moment we support basic GitHib and GitLab URLs, i.e. those that begin `https://raw.githubusercontent.com/` and `https://gitlab.com/api/v4/projects/`.\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Adds a Job Manifest and triggers the download of its Job Definitions\n */\nexport const adminJobManifestPut = (\n jobManifestPutBodyBody: JobManifestPutBodyBody,\n options?: SecondParameter<typeof customInstance>,) => {\n \n const formData = new FormData();\nformData.append('url', jobManifestPutBodyBody.url)\nif(jobManifestPutBodyBody.header !== undefined) {\n formData.append('header', jobManifestPutBodyBody.header)\n }\nif(jobManifestPutBodyBody.params !== undefined) {\n formData.append('params', jobManifestPutBodyBody.params)\n }\n\n return customInstance<AdminJobManifestLoadPutResponse>(\n {url: `/admin/job-manifest`, method: 'put',\n headers: {'Content-Type': 'multipart/form-data', },\n data: formData\n },\n options);\n }\n \n\n\nexport const getAdminJobManifestPutMutationOptions = <TError = ErrorType<void | DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestPut>>, TError,{data: JobManifestPutBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestPut>>, TError,{data: JobManifestPutBodyBody}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminJobManifestPut>>, {data: JobManifestPutBodyBody}> = (props) => {\n const {data} = props ?? {};\n\n return adminJobManifestPut(data,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminJobManifestPutMutationResult = NonNullable<Awaited<ReturnType<typeof adminJobManifestPut>>>\n export type AdminJobManifestPutMutationBody = JobManifestPutBodyBody\n export type AdminJobManifestPutMutationError = ErrorType<void | DmError>\n\n /**\n * @summary Adds a Job Manifest and triggers the download of its Job Definitions\n */\nexport const useAdminJobManifestPut = <TError = ErrorType<void | DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestPut>>, TError,{data: JobManifestPutBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminJobManifestPutMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Deletes a Job Manifest record\n\nYou need to exercise caution using this endpoint. You can disrupt the Data Manager **Instance** execution if you delete and purge Jobs while instances of any affected job may be running.\n\nYou will need `admin` rights to use this endpoint and the Data Manager needs to be running in `DEVELOPMENT` **Mode**\n\n * @summary Deletes a Job Manifest\n */\nexport const adminDeleteJobManifest = (\n jobManifestId: number,\n params?: AdminDeleteJobManifestParams,\n options?: SecondParameter<typeof customInstance>,) => {\n \n \n return customInstance<void>(\n {url: `/admin/job-manifest/${jobManifestId}`, method: 'delete',\n params\n },\n options);\n }\n \n\n\nexport const getAdminDeleteJobManifestMutationOptions = <TError = ErrorType<DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminDeleteJobManifest>>, TError,{jobManifestId: number;params?: AdminDeleteJobManifestParams}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminDeleteJobManifest>>, TError,{jobManifestId: number;params?: AdminDeleteJobManifestParams}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminDeleteJobManifest>>, {jobManifestId: number;params?: AdminDeleteJobManifestParams}> = (props) => {\n const {jobManifestId,params} = props ?? {};\n\n return adminDeleteJobManifest(jobManifestId,params,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminDeleteJobManifestMutationResult = NonNullable<Awaited<ReturnType<typeof adminDeleteJobManifest>>>\n \n export type AdminDeleteJobManifestMutationError = ErrorType<DmError>\n\n /**\n * @summary Deletes a Job Manifest\n */\nexport const useAdminDeleteJobManifest = <TError = ErrorType<DmError>,\n \n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminDeleteJobManifest>>, TError,{jobManifestId: number;params?: AdminDeleteJobManifestParams}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminDeleteJobManifestMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * This endpoint is used to trigger the Data Manager to re-inspect the internal **Job Manifest** table and download the manifests and reprocess the related job definitions. This is normally done by an administrator when the Manifest table has been modified or if external job definitions are known to have changed in the referenced repositories.\n\nYou need to exercise caution using this endpoint. You can disrupt the Data Manager **Instance** execution if you re-load Jobs while instances of any affected job may be running.\n\nYou will need `admin` rights to use this endpoint and the Data Manager needs to be running in `DEVELOPMENT` **Mode**\n\n * @summary Trigger a download of Job Definitions using existing Job Manifests\n */\nexport const adminJobManifestLoad = (\n \n options?: SecondParameter<typeof customInstance>,) => {\n \n \n return customInstance<AdminJobManifestLoadPutResponse>(\n {url: `/admin/job-manifest/load`, method: 'put'\n },\n options);\n }\n \n\n\nexport const getAdminJobManifestLoadMutationOptions = <TError = ErrorType<void | DmError>,\n TVariables = void,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestLoad>>, TError,TVariables, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestLoad>>, TError,TVariables, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminJobManifestLoad>>, TVariables> = () => {\n \n\n return adminJobManifestLoad(requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminJobManifestLoadMutationResult = NonNullable<Awaited<ReturnType<typeof adminJobManifestLoad>>>\n \n export type AdminJobManifestLoadMutationError = ErrorType<void | DmError>\n\n /**\n * @summary Trigger a download of Job Definitions using existing Job Manifests\n */\nexport const useAdminJobManifestLoad = <TError = ErrorType<void | DmError>,\n TVariables = void,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestLoad>>, TError,TVariables, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminJobManifestLoadMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n "],"mappings":";;;;;AAUA;AAAA,EACE;AAAA,EACA;AAAA,OACK;AA0CA,IAAM,wBAAwB,CACjC,QACH,SAAiD,WAC7C;AAGC,SAAO;AAAA,IACP;AAAA,MAAC,KAAK;AAAA,MAAwB,QAAQ;AAAA,MACpC;AAAA,MAAQ;AAAA,IACZ;AAAA,IACE;AAAA,EAAO;AACT;AAGG,IAAM,mCAAmC,CAAC,WAA0C;AAEvF,SAAO,CAAC,oBAAoB,wBAAwB,GAAI,SAAS,CAAC,MAAM,IAAG,CAAC,CAAE;AAC9E;AAGG,IAAM,uCAAuC,CAAgG,QAAsC,YACrL;AAEL,QAAM,EAAC,OAAO,cAAc,SAAS,eAAc,IAAI,WAAW,CAAC;AAEjE,QAAM,YAAY,6CAAc,aAAY,iCAAiC,MAAM;AAIjF,QAAM,UAA4E,CAAC,EAAE,OAAO,MAAM,sBAAsB,QAAQ,gBAAgB,MAAM;AAMvJ,SAAQ,EAAE,UAAU,SAAS,GAAG,aAAY;AAC/C;AAQO,IAAM,2BAA2B,CACvC,QAAsC,YAEyB;AAE9D,QAAM,eAAe,qCAAqC,QAAO,OAAO;AAExE,QAAM,QAAQ,SAAS,YAAY;AAEnC,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,YAAY,eAAe;AACpC;AAUG,IAAM,yBAAyB,CAClC,eACA,QACH,YAAsD;AAGjD,SAAO;AAAA,IACP;AAAA,MAAC,KAAK,uBAAuB,aAAa;AAAA,MAAI,QAAQ;AAAA,MACpD;AAAA,IACJ;AAAA,IACE;AAAA,EAAO;AACT;AAIG,IAAM,2CAA2C,CAEhC,YACqI;AAC5J,QAAM,EAAC,UAAU,iBAAiB,SAAS,eAAc,IAAI,WAAW,CAAC;AAKpE,QAAM,aAAkJ,CAAC,UAAU;AAC/J,UAAM,EAAC,eAAc,OAAM,IAAI,SAAS,CAAC;AAEzC,WAAQ,uBAAuB,eAAc,QAAO,cAAc;AAAA,EACpE;AAKL,SAAQ,EAAE,YAAY,GAAG,gBAAgB;AAAC;AAStC,IAAM,4BAA4B,CAEjB,YACnB;AAEC,QAAM,kBAAkB,yCAAyC,OAAO;AAExE,SAAO,YAAY,eAAe;AACpC;AAUG,IAAM,uBAAuB,CAEnC,YAAsD;AAGjD,SAAO;AAAA,IACP;AAAA,MAAC,KAAK;AAAA,MAA4B,QAAQ;AAAA,IAC5C;AAAA,IACE;AAAA,EAAO;AACT;AAIG,IAAM,yCAAyC,CAE9B,YACgF;AACvG,QAAM,EAAC,UAAU,iBAAiB,SAAS,eAAc,IAAI,WAAW,CAAC;AAKpE,QAAM,aAA6F,MAAM;AAGrG,WAAQ,qBAAqB,cAAc;AAAA,EAC7C;AAKL,SAAQ,EAAE,YAAY,GAAG,gBAAgB;AAAC;AAStC,IAAM,0BAA0B,CAEf,YACnB;AAEC,QAAM,kBAAkB,uCAAuC,OAAO;AAEtE,SAAO,YAAY,eAAe;AACpC;","names":[]}
1
+ {"version":3,"sources":["../../src/admin/admin.ts"],"sourcesContent":["/**\n * Generated by orval v6.25.0 🍺\n * Do not edit manually.\n * Dataset Manager API\n * The Dataset Manager API service.\n\nA service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications** and **Jobs** using **Projects** and **Files**.\n\n * OpenAPI spec version: 1.2\n */\nimport {\n useMutation,\n useQuery,\n useSuspenseQuery\n} from '@tanstack/react-query'\nimport type {\n MutationFunction,\n QueryFunction,\n QueryKey,\n UseMutationOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult\n} from '@tanstack/react-query'\nimport type {\n AdminDeleteJobManifestParams,\n AdminGetServiceErrorsParams,\n AdminGetUsersParams,\n AdminJobManifestGetResponse,\n AdminJobManifestLoadPutResponse,\n AdminUsersGetResponse,\n DmError,\n JobManifestPutBodyBody,\n ServiceErrorsGetResponse,\n UserAccountDetail,\n UserPatchBodyBody\n} from '../data-manager-api.schemas'\nimport { customInstance } from '.././custom-instance';\nimport type { ErrorType } from '.././custom-instance';\n\n\ntype SecondParameter<T extends (...args: any) => any> = Parameters<T>[1];\n\n\n/**\n * Displays the existing Service Errors, which can also include acknowledged errors, normally excluded from the list.\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Gets Service Errors\n */\nexport const adminGetServiceErrors = (\n params?: AdminGetServiceErrorsParams,\n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<ServiceErrorsGetResponse>(\n {url: `/admin/service-error`, method: 'GET',\n params, signal\n },\n options);\n }\n \n\nexport const getAdminGetServiceErrorsQueryKey = (params?: AdminGetServiceErrorsParams,) => {\n return [\"data-manager-api\", `/admin/service-error`, ...(params ? [params]: [])] as const;\n }\n\n \nexport const getAdminGetServiceErrorsQueryOptions = <TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(params?: AdminGetServiceErrorsParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getAdminGetServiceErrorsQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof adminGetServiceErrors>>> = ({ signal }) => adminGetServiceErrors(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type AdminGetServiceErrorsQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetServiceErrors>>>\nexport type AdminGetServiceErrorsQueryError = ErrorType<void | DmError>\n\n/**\n * @summary Gets Service Errors\n */\nexport const useAdminGetServiceErrors = <TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(\n params?: AdminGetServiceErrorsParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey } => {\n\n const queryOptions = getAdminGetServiceErrorsQueryOptions(params,options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\nexport const getAdminGetServiceErrorsSuspenseQueryOptions = <TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(params?: AdminGetServiceErrorsParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getAdminGetServiceErrorsQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof adminGetServiceErrors>>> = ({ signal }) => adminGetServiceErrors(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type AdminGetServiceErrorsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetServiceErrors>>>\nexport type AdminGetServiceErrorsSuspenseQueryError = ErrorType<void | DmError>\n\n/**\n * @summary Gets Service Errors\n */\nexport const useAdminGetServiceErrorsSuspense = <TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(\n params?: AdminGetServiceErrorsParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey } => {\n\n const queryOptions = getAdminGetServiceErrorsSuspenseQueryOptions(params,options)\n\n const query = useSuspenseQuery(queryOptions) as UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n/**\n * Used primarily to 'Acknowledge' but not delete a Service Error.\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Patches a Service Error\n */\nexport const adminPatchServiceError = (\n errorId: number,\n options?: SecondParameter<typeof customInstance>,) => {\n \n \n return customInstance<void>(\n {url: `/admin/service-error/${errorId}`, method: 'PATCH'\n },\n options);\n }\n \n\n\nexport const getAdminPatchServiceErrorMutationOptions = <TError = ErrorType<DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminPatchServiceError>>, TError,{errorId: number}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminPatchServiceError>>, TError,{errorId: number}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminPatchServiceError>>, {errorId: number}> = (props) => {\n const {errorId} = props ?? {};\n\n return adminPatchServiceError(errorId,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminPatchServiceErrorMutationResult = NonNullable<Awaited<ReturnType<typeof adminPatchServiceError>>>\n \n export type AdminPatchServiceErrorMutationError = ErrorType<DmError>\n\n /**\n * @summary Patches a Service Error\n */\nexport const useAdminPatchServiceError = <TError = ErrorType<DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminPatchServiceError>>, TError,{errorId: number}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminPatchServiceErrorMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Deletes an existing Service Error.\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Deletes a Service Error\n */\nexport const adminDeleteServiceError = (\n errorId: number,\n options?: SecondParameter<typeof customInstance>,) => {\n \n \n return customInstance<void>(\n {url: `/admin/service-error/${errorId}`, method: 'DELETE'\n },\n options);\n }\n \n\n\nexport const getAdminDeleteServiceErrorMutationOptions = <TError = ErrorType<DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminDeleteServiceError>>, TError,{errorId: number}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminDeleteServiceError>>, TError,{errorId: number}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminDeleteServiceError>>, {errorId: number}> = (props) => {\n const {errorId} = props ?? {};\n\n return adminDeleteServiceError(errorId,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminDeleteServiceErrorMutationResult = NonNullable<Awaited<ReturnType<typeof adminDeleteServiceError>>>\n \n export type AdminDeleteServiceErrorMutationError = ErrorType<DmError>\n\n /**\n * @summary Deletes a Service Error\n */\nexport const useAdminDeleteServiceError = <TError = ErrorType<DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminDeleteServiceError>>, TError,{errorId: number}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminDeleteServiceErrorMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * You need admin privileges to use this endpoint and you are excluded from the returned list of users\n\n * @summary Get detailed information about all known Users\n */\nexport const adminGetUsers = (\n params?: AdminGetUsersParams,\n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<AdminUsersGetResponse>(\n {url: `/admin/user`, method: 'GET',\n params, signal\n },\n options);\n }\n \n\nexport const getAdminGetUsersQueryKey = (params?: AdminGetUsersParams,) => {\n return [\"data-manager-api\", `/admin/user`, ...(params ? [params]: [])] as const;\n }\n\n \nexport const getAdminGetUsersQueryOptions = <TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(params?: AdminGetUsersParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getAdminGetUsersQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof adminGetUsers>>> = ({ signal }) => adminGetUsers(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type AdminGetUsersQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetUsers>>>\nexport type AdminGetUsersQueryError = ErrorType<void | DmError>\n\n/**\n * @summary Get detailed information about all known Users\n */\nexport const useAdminGetUsers = <TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(\n params?: AdminGetUsersParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey } => {\n\n const queryOptions = getAdminGetUsersQueryOptions(params,options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\nexport const getAdminGetUsersSuspenseQueryOptions = <TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(params?: AdminGetUsersParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getAdminGetUsersQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof adminGetUsers>>> = ({ signal }) => adminGetUsers(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type AdminGetUsersSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetUsers>>>\nexport type AdminGetUsersSuspenseQueryError = ErrorType<void | DmError>\n\n/**\n * @summary Get detailed information about all known Users\n */\nexport const useAdminGetUsersSuspense = <TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(\n params?: AdminGetUsersParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey } => {\n\n const queryOptions = getAdminGetUsersSuspenseQueryOptions(params,options)\n\n const query = useSuspenseQuery(queryOptions) as UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n/**\n * This method adds a user to the Data Manager service. The user is authenticated via a keycloak server but will need an initialised account before they can create Datasets or Projects.\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Prepares a user account in the Data Manager service\n */\nexport const adminPutUser = (\n userId: string,\n options?: SecondParameter<typeof customInstance>,) => {\n \n \n return customInstance<UserAccountDetail>(\n {url: `/admin/user/${userId}`, method: 'PUT'\n },\n options);\n }\n \n\n\nexport const getAdminPutUserMutationOptions = <TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminPutUser>>, TError,{userId: string}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminPutUser>>, TError,{userId: string}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminPutUser>>, {userId: string}> = (props) => {\n const {userId} = props ?? {};\n\n return adminPutUser(userId,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminPutUserMutationResult = NonNullable<Awaited<ReturnType<typeof adminPutUser>>>\n \n export type AdminPutUserMutationError = ErrorType<void | DmError>\n\n /**\n * @summary Prepares a user account in the Data Manager service\n */\nexport const useAdminPutUser = <TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminPutUser>>, TError,{userId: string}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminPutUserMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Deletes a user account, along with all the user's Datasets\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Deletes a user account\n */\nexport const adminDeleteUser = (\n userId: string,\n options?: SecondParameter<typeof customInstance>,) => {\n \n \n return customInstance<void>(\n {url: `/admin/user/${userId}`, method: 'DELETE'\n },\n options);\n }\n \n\n\nexport const getAdminDeleteUserMutationOptions = <TError = ErrorType<DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminDeleteUser>>, TError,{userId: string}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminDeleteUser>>, TError,{userId: string}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminDeleteUser>>, {userId: string}> = (props) => {\n const {userId} = props ?? {};\n\n return adminDeleteUser(userId,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminDeleteUserMutationResult = NonNullable<Awaited<ReturnType<typeof adminDeleteUser>>>\n \n export type AdminDeleteUserMutationError = ErrorType<DmError>\n\n /**\n * @summary Deletes a user account\n */\nexport const useAdminDeleteUser = <TError = ErrorType<DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminDeleteUser>>, TError,{userId: string}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminDeleteUserMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Patches a user record, typically to suspend or re-enable a user account\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Patch a given user\n */\nexport const adminPatchUser = (\n userId: string,\n userPatchBodyBody: UserPatchBodyBody,\n options?: SecondParameter<typeof customInstance>,) => {\n \n const formData = new FormData();\nif(userPatchBodyBody.suspend_message !== undefined) {\n formData.append('suspend_message', userPatchBodyBody.suspend_message)\n }\n\n return customInstance<void>(\n {url: `/admin/user/${userId}`, method: 'PATCH',\n headers: {'Content-Type': 'multipart/form-data', },\n data: formData\n },\n options);\n }\n \n\n\nexport const getAdminPatchUserMutationOptions = <TError = ErrorType<DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminPatchUser>>, TError,{userId: string;data: UserPatchBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminPatchUser>>, TError,{userId: string;data: UserPatchBodyBody}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminPatchUser>>, {userId: string;data: UserPatchBodyBody}> = (props) => {\n const {userId,data} = props ?? {};\n\n return adminPatchUser(userId,data,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminPatchUserMutationResult = NonNullable<Awaited<ReturnType<typeof adminPatchUser>>>\n export type AdminPatchUserMutationBody = UserPatchBodyBody\n export type AdminPatchUserMutationError = ErrorType<DmError>\n\n /**\n * @summary Patch a given user\n */\nexport const useAdminPatchUser = <TError = ErrorType<DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminPatchUser>>, TError,{userId: string;data: UserPatchBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminPatchUserMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Returns the list of known **Job Manifests** including the time the manifest was last loaded and its load status, a message indicating success or failure.\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Get Job Manifests\n */\nexport const adminGetJobManifests = (\n \n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<AdminJobManifestGetResponse>(\n {url: `/admin/job-manifest`, method: 'GET', signal\n },\n options);\n }\n \n\nexport const getAdminGetJobManifestsQueryKey = () => {\n return [\"data-manager-api\", `/admin/job-manifest`] as const;\n }\n\n \nexport const getAdminGetJobManifestsQueryOptions = <TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>( options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getAdminGetJobManifestsQueryKey();\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof adminGetJobManifests>>> = ({ signal }) => adminGetJobManifests(requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type AdminGetJobManifestsQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetJobManifests>>>\nexport type AdminGetJobManifestsQueryError = ErrorType<void | DmError>\n\n/**\n * @summary Get Job Manifests\n */\nexport const useAdminGetJobManifests = <TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>(\n options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey } => {\n\n const queryOptions = getAdminGetJobManifestsQueryOptions(options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\nexport const getAdminGetJobManifestsSuspenseQueryOptions = <TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>( options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getAdminGetJobManifestsQueryKey();\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof adminGetJobManifests>>> = ({ signal }) => adminGetJobManifests(requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type AdminGetJobManifestsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetJobManifests>>>\nexport type AdminGetJobManifestsSuspenseQueryError = ErrorType<void | DmError>\n\n/**\n * @summary Get Job Manifests\n */\nexport const useAdminGetJobManifestsSuspense = <TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>(\n options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey } => {\n\n const queryOptions = getAdminGetJobManifestsSuspenseQueryOptions(options)\n\n const query = useSuspenseQuery(queryOptions) as UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n/**\n * This endpoint is used to add (or update an existing **Job Manifest**). Manifests are the source of Job definitions. Once added the manifest is inspected and any Jobs it refers to are loaded.\n\nA limited number of manifest origins (URLs) are supported. At the moment we support basic GitHib and GitLab URLs, i.e. those that begin `https://raw.githubusercontent.com/` and `https://gitlab.com/api/v4/projects/`.\n\nYou will need `admin` rights to use this endpoint\n\n * @summary Adds a Job Manifest and triggers the download of its Job Definitions\n */\nexport const adminJobManifestPut = (\n jobManifestPutBodyBody: JobManifestPutBodyBody,\n options?: SecondParameter<typeof customInstance>,) => {\n \n const formData = new FormData();\nformData.append('url', jobManifestPutBodyBody.url)\nif(jobManifestPutBodyBody.header !== undefined) {\n formData.append('header', jobManifestPutBodyBody.header)\n }\nif(jobManifestPutBodyBody.params !== undefined) {\n formData.append('params', jobManifestPutBodyBody.params)\n }\n\n return customInstance<AdminJobManifestLoadPutResponse>(\n {url: `/admin/job-manifest`, method: 'PUT',\n headers: {'Content-Type': 'multipart/form-data', },\n data: formData\n },\n options);\n }\n \n\n\nexport const getAdminJobManifestPutMutationOptions = <TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestPut>>, TError,{data: JobManifestPutBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestPut>>, TError,{data: JobManifestPutBodyBody}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminJobManifestPut>>, {data: JobManifestPutBodyBody}> = (props) => {\n const {data} = props ?? {};\n\n return adminJobManifestPut(data,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminJobManifestPutMutationResult = NonNullable<Awaited<ReturnType<typeof adminJobManifestPut>>>\n export type AdminJobManifestPutMutationBody = JobManifestPutBodyBody\n export type AdminJobManifestPutMutationError = ErrorType<void | DmError>\n\n /**\n * @summary Adds a Job Manifest and triggers the download of its Job Definitions\n */\nexport const useAdminJobManifestPut = <TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestPut>>, TError,{data: JobManifestPutBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminJobManifestPutMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Deletes a Job Manifest record\n\nYou need to exercise caution using this endpoint. You can disrupt the Data Manager **Instance** execution if you delete and purge Jobs while instances of any affected job may be running.\n\nYou will need `admin` rights to use this endpoint and the Data Manager needs to be running in `DEVELOPMENT` **Mode**\n\n * @summary Deletes a Job Manifest\n */\nexport const adminDeleteJobManifest = (\n jobManifestId: number,\n params?: AdminDeleteJobManifestParams,\n options?: SecondParameter<typeof customInstance>,) => {\n \n \n return customInstance<void>(\n {url: `/admin/job-manifest/${jobManifestId}`, method: 'DELETE',\n params\n },\n options);\n }\n \n\n\nexport const getAdminDeleteJobManifestMutationOptions = <TError = ErrorType<DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminDeleteJobManifest>>, TError,{jobManifestId: number;params?: AdminDeleteJobManifestParams}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminDeleteJobManifest>>, TError,{jobManifestId: number;params?: AdminDeleteJobManifestParams}, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminDeleteJobManifest>>, {jobManifestId: number;params?: AdminDeleteJobManifestParams}> = (props) => {\n const {jobManifestId,params} = props ?? {};\n\n return adminDeleteJobManifest(jobManifestId,params,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminDeleteJobManifestMutationResult = NonNullable<Awaited<ReturnType<typeof adminDeleteJobManifest>>>\n \n export type AdminDeleteJobManifestMutationError = ErrorType<DmError>\n\n /**\n * @summary Deletes a Job Manifest\n */\nexport const useAdminDeleteJobManifest = <TError = ErrorType<DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminDeleteJobManifest>>, TError,{jobManifestId: number;params?: AdminDeleteJobManifestParams}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminDeleteJobManifestMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * This endpoint is used to trigger the Data Manager to re-inspect the internal **Job Manifest** table and download the manifests and reprocess the related job definitions. This is normally done by an administrator when the Manifest table has been modified or if external job definitions are known to have changed in the referenced repositories.\n\nYou need to exercise caution using this endpoint. You can disrupt the Data Manager **Instance** execution if you re-load Jobs while instances of any affected job may be running.\n\nYou will need `admin` rights to use this endpoint and the Data Manager needs to be running in `DEVELOPMENT` **Mode**\n\n * @summary Trigger a download of Job Definitions using existing Job Manifests\n */\nexport const adminJobManifestLoad = (\n \n options?: SecondParameter<typeof customInstance>,) => {\n \n \n return customInstance<AdminJobManifestLoadPutResponse>(\n {url: `/admin/job-manifest/load`, method: 'PUT'\n },\n options);\n }\n \n\n\nexport const getAdminJobManifestLoadMutationOptions = <TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestLoad>>, TError,void, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestLoad>>, TError,void, TContext> => {\n const {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof adminJobManifestLoad>>, void> = () => {\n \n\n return adminJobManifestLoad(requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type AdminJobManifestLoadMutationResult = NonNullable<Awaited<ReturnType<typeof adminJobManifestLoad>>>\n \n export type AdminJobManifestLoadMutationError = ErrorType<void | DmError>\n\n /**\n * @summary Trigger a download of Job Definitions using existing Job Manifests\n */\nexport const useAdminJobManifestLoad = <TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestLoad>>, TError,void, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\n\n const mutationOptions = getAdminJobManifestLoadMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n "],"mappings":";;;;;AAUA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAsCA,IAAM,wBAAwB,CACjC,QACH,SAAiD,WAC7C;AAGC,SAAO;AAAA,IACP;AAAA,MAAC,KAAK;AAAA,MAAwB,QAAQ;AAAA,MACpC;AAAA,MAAQ;AAAA,IACZ;AAAA,IACE;AAAA,EAAO;AACT;AAGG,IAAM,mCAAmC,CAAC,WAA0C;AACvF,SAAO,CAAC,oBAAoB,wBAAwB,GAAI,SAAS,CAAC,MAAM,IAAG,CAAC,CAAE;AAC9E;AAGG,IAAM,uCAAuC,CAAgG,QAAsC,YACrL;AAEL,QAAM,EAAC,OAAO,cAAc,SAAS,eAAc,IAAI,WAAW,CAAC;AAEjE,QAAM,YAAY,6CAAc,aAAY,iCAAiC,MAAM;AAIjF,QAAM,UAA4E,CAAC,EAAE,OAAO,MAAM,sBAAsB,QAAQ,gBAAgB,MAAM;AAMvJ,SAAQ,EAAE,UAAU,SAAS,GAAG,aAAY;AAC/C;AAQO,IA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