@squonk/data-manager-client 4.2.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accounting/accounting.cjs +96 -95
- package/accounting/accounting.cjs.map +1 -1
- package/accounting/accounting.d.cts +47 -47
- package/accounting/accounting.d.ts +47 -47
- package/accounting/accounting.js +102 -101
- package/accounting/accounting.js.map +1 -1
- package/admin/admin.cjs +120 -145
- package/admin/admin.cjs.map +1 -1
- package/admin/admin.d.cts +121 -121
- package/admin/admin.d.ts +121 -121
- package/admin/admin.js +127 -152
- package/admin/admin.js.map +1 -1
- package/application/application.cjs +39 -43
- package/application/application.cjs.map +1 -1
- package/application/application.d.cts +25 -25
- package/application/application.d.ts +25 -25
- package/application/application.js +42 -46
- package/application/application.js.map +1 -1
- package/chunk-OYRETEBZ.js +25 -0
- package/chunk-OYRETEBZ.js.map +1 -0
- package/{chunk-TKLTUR4R.cjs → chunk-RB2KVIEK.cjs} +1 -1
- package/chunk-RB2KVIEK.cjs.map +1 -0
- package/{chunk-EBOQPVLG.js → chunk-XYDLYMQ2.js} +1 -1
- package/chunk-XYDLYMQ2.js.map +1 -0
- package/chunk-ZLY5XEOQ.cjs +25 -0
- package/chunk-ZLY5XEOQ.cjs.map +1 -0
- package/configuration/configuration.cjs +38 -45
- package/configuration/configuration.cjs.map +1 -1
- package/configuration/configuration.d.cts +25 -25
- package/configuration/configuration.d.ts +25 -25
- package/configuration/configuration.js +42 -49
- package/configuration/configuration.js.map +1 -1
- package/dataset/dataset.cjs +126 -141
- package/dataset/dataset.cjs.map +1 -1
- package/dataset/dataset.d.cts +102 -102
- package/dataset/dataset.d.ts +102 -102
- package/dataset/dataset.js +132 -147
- package/dataset/dataset.js.map +1 -1
- package/digest/digest.cjs +22 -24
- package/digest/digest.cjs.map +1 -1
- package/digest/digest.d.cts +14 -14
- package/digest/digest.d.ts +14 -14
- package/digest/digest.js +24 -26
- package/digest/digest.js.map +1 -1
- package/exchange-rate/exchange-rate.cjs +111 -109
- package/exchange-rate/exchange-rate.cjs.map +1 -1
- package/exchange-rate/exchange-rate.d.cts +69 -69
- package/exchange-rate/exchange-rate.d.ts +69 -69
- package/exchange-rate/exchange-rate.js +117 -115
- package/exchange-rate/exchange-rate.js.map +1 -1
- package/file-and-path/file-and-path.cjs +93 -138
- package/file-and-path/file-and-path.cjs.map +1 -1
- package/file-and-path/file-and-path.d.cts +102 -102
- package/file-and-path/file-and-path.d.ts +102 -102
- package/file-and-path/file-and-path.js +105 -150
- package/file-and-path/file-and-path.js.map +1 -1
- package/index.cjs +80 -102
- package/index.cjs.map +1 -1
- package/index.d.cts +2401 -2326
- package/index.d.ts +2401 -2326
- package/index.js +79 -101
- package/index.js.map +1 -1
- package/instance/instance.cjs +100 -107
- package/instance/instance.cjs.map +1 -1
- package/instance/instance.d.cts +76 -76
- package/instance/instance.d.ts +76 -76
- package/instance/instance.js +105 -112
- package/instance/instance.js.map +1 -1
- package/inventory/inventory.cjs +22 -25
- package/inventory/inventory.cjs.map +1 -1
- package/inventory/inventory.d.cts +14 -14
- package/inventory/inventory.d.ts +14 -14
- package/inventory/inventory.js +24 -27
- package/inventory/inventory.js.map +1 -1
- package/job/job.cjs +55 -67
- package/job/job.cjs.map +1 -1
- package/job/job.d.cts +36 -36
- package/job/job.d.ts +36 -36
- package/job/job.js +60 -72
- package/job/job.js.map +1 -1
- package/metadata/metadata.cjs +61 -59
- package/metadata/metadata.cjs.map +1 -1
- package/metadata/metadata.d.cts +47 -47
- package/metadata/metadata.d.ts +47 -47
- package/metadata/metadata.js +65 -63
- package/metadata/metadata.js.map +1 -1
- package/package.json +13 -16
- package/project/project.cjs +165 -186
- package/project/project.cjs.map +1 -1
- package/project/project.d.cts +157 -157
- package/project/project.d.ts +157 -157
- package/project/project.js +172 -193
- package/project/project.js.map +1 -1
- package/src/accounting/accounting.ts +767 -461
- package/src/admin/admin.ts +1187 -787
- package/src/application/application.ts +377 -231
- package/src/configuration/configuration.ts +348 -237
- package/src/custom-instance.ts +3 -3
- package/src/data-manager-api.schemas.ts +2538 -2492
- package/src/dataset/dataset.ts +1199 -792
- package/src/digest/digest.ts +198 -122
- package/src/exchange-rate/exchange-rate.ts +1088 -612
- package/src/file-and-path/file-and-path.ts +869 -616
- package/src/index.ts +2 -2
- package/src/instance/instance.ts +804 -539
- package/src/inventory/inventory.ts +200 -122
- package/src/job/job.ts +556 -348
- package/src/metadata/metadata.ts +587 -371
- package/src/options-mutator.ts +27 -0
- package/src/project/project.ts +1576 -1034
- package/src/task/task.ts +434 -295
- package/src/type/type.ts +180 -126
- package/src/user/user.ts +846 -398
- package/src/workflow/workflow.ts +1750 -1089
- package/task/task.cjs +45 -59
- package/task/task.cjs.map +1 -1
- package/task/task.d.cts +33 -33
- package/task/task.d.ts +33 -33
- package/task/task.js +51 -65
- package/task/task.js.map +1 -1
- package/type/type.cjs +21 -26
- package/type/type.cjs.map +1 -1
- package/type/type.d.cts +14 -14
- package/type/type.d.ts +14 -14
- package/type/type.js +24 -29
- package/type/type.js.map +1 -1
- package/user/user.cjs +114 -80
- package/user/user.cjs.map +1 -1
- package/user/user.d.cts +107 -48
- package/user/user.d.ts +107 -48
- package/user/user.js +120 -86
- package/user/user.js.map +1 -1
- package/workflow/workflow.cjs +179 -193
- package/workflow/workflow.cjs.map +1 -1
- package/workflow/workflow.d.cts +146 -146
- package/workflow/workflow.d.ts +146 -146
- package/workflow/workflow.js +187 -201
- package/workflow/workflow.js.map +1 -1
- package/chunk-EBOQPVLG.js.map +0 -1
- package/chunk-TKLTUR4R.cjs.map +0 -1
package/admin/admin.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UseQueryOptions, DataTag, QueryKey, DefinedInitialDataOptions, DefinedUseQueryResult, UndefinedInitialDataOptions, UseQueryResult, UseSuspenseQueryOptions, UseSuspenseQueryResult, UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
1
|
+
import { UseQueryOptions, DataTag, QueryKey, DefinedInitialDataOptions, QueryClient, DefinedUseQueryResult, UndefinedInitialDataOptions, UseQueryResult, UseSuspenseQueryOptions, UseSuspenseQueryResult, UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
2
2
|
import { AdminGetServiceErrorsParams, customInstance, ServiceErrorsGetResponse, ErrorType, DmError, AdminGetUsersParams, AdminUsersGetResponse, UserAccountDetail, UserPatchBodyBody, AdminJobManifestGetResponse, JobManifestPutBodyBody, AdminJobManifestLoadPutResponse, AdminDeleteJobManifestParams } from '../index.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
|
|
5
|
-
type SecondParameter<T extends (...args:
|
|
5
|
+
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6
6
|
/**
|
|
7
7
|
* Displays the existing Service Errors, which can also include acknowledged errors, normally excluded from the list.
|
|
8
8
|
|
|
@@ -11,8 +11,8 @@ You will need `admin` rights to use this endpoint
|
|
|
11
11
|
* @summary Gets Service Errors
|
|
12
12
|
*/
|
|
13
13
|
declare const adminGetServiceErrors: (params?: AdminGetServiceErrorsParams, options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<ServiceErrorsGetResponse>;
|
|
14
|
-
declare const getAdminGetServiceErrorsQueryKey: (params?: AdminGetServiceErrorsParams) => readonly ["
|
|
15
|
-
declare const
|
|
14
|
+
declare const getAdminGetServiceErrorsQueryKey: (params?: AdminGetServiceErrorsParams) => readonly ["/admin/service-error", ...AdminGetServiceErrorsParams[]];
|
|
15
|
+
declare const useAdminGetServiceErrorsQueryOptions: <TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(params?: AdminGetServiceErrorsParams, options?: {
|
|
16
16
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>>;
|
|
17
17
|
request?: SecondParameter<typeof customInstance>;
|
|
18
18
|
}) => UseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData> & {
|
|
@@ -21,24 +21,24 @@ declare const getAdminGetServiceErrorsQueryOptions: <TData = ServiceErrorsGetRes
|
|
|
21
21
|
type AdminGetServiceErrorsQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetServiceErrors>>>;
|
|
22
22
|
type AdminGetServiceErrorsQueryError = ErrorType<void | DmError>;
|
|
23
23
|
declare function useAdminGetServiceErrors<TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(params: undefined | AdminGetServiceErrorsParams, options: {
|
|
24
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError,
|
|
24
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, Awaited<ReturnType<typeof adminGetServiceErrors>>>, "initialData">;
|
|
25
25
|
request?: SecondParameter<typeof customInstance>;
|
|
26
|
-
}): DefinedUseQueryResult<TData, TError> & {
|
|
26
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
27
27
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
28
28
|
};
|
|
29
29
|
declare function useAdminGetServiceErrors<TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(params?: AdminGetServiceErrorsParams, options?: {
|
|
30
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError,
|
|
30
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, Awaited<ReturnType<typeof adminGetServiceErrors>>>, "initialData">;
|
|
31
31
|
request?: SecondParameter<typeof customInstance>;
|
|
32
|
-
}): UseQueryResult<TData, TError> & {
|
|
32
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
33
33
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
34
34
|
};
|
|
35
35
|
declare function useAdminGetServiceErrors<TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(params?: AdminGetServiceErrorsParams, options?: {
|
|
36
36
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>>;
|
|
37
37
|
request?: SecondParameter<typeof customInstance>;
|
|
38
|
-
}): UseQueryResult<TData, TError> & {
|
|
38
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
39
39
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
40
40
|
};
|
|
41
|
-
declare const
|
|
41
|
+
declare const useAdminGetServiceErrorsSuspenseQueryOptions: <TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(params?: AdminGetServiceErrorsParams, options?: {
|
|
42
42
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>>;
|
|
43
43
|
request?: SecondParameter<typeof customInstance>;
|
|
44
44
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData> & {
|
|
@@ -49,19 +49,19 @@ type AdminGetServiceErrorsSuspenseQueryError = ErrorType<void | DmError>;
|
|
|
49
49
|
declare function useAdminGetServiceErrorsSuspense<TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(params: undefined | AdminGetServiceErrorsParams, options: {
|
|
50
50
|
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>>;
|
|
51
51
|
request?: SecondParameter<typeof customInstance>;
|
|
52
|
-
}): UseSuspenseQueryResult<TData, TError> & {
|
|
52
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
53
53
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
54
54
|
};
|
|
55
55
|
declare function useAdminGetServiceErrorsSuspense<TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(params?: AdminGetServiceErrorsParams, options?: {
|
|
56
56
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>>;
|
|
57
57
|
request?: SecondParameter<typeof customInstance>;
|
|
58
|
-
}): UseSuspenseQueryResult<TData, TError> & {
|
|
58
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
59
59
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
60
60
|
};
|
|
61
61
|
declare function useAdminGetServiceErrorsSuspense<TData = Awaited<ReturnType<typeof adminGetServiceErrors>>, TError = ErrorType<void | DmError>>(params?: AdminGetServiceErrorsParams, options?: {
|
|
62
62
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetServiceErrors>>, TError, TData>>;
|
|
63
63
|
request?: SecondParameter<typeof customInstance>;
|
|
64
|
-
}): UseSuspenseQueryResult<TData, TError> & {
|
|
64
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
65
65
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
@@ -72,64 +72,64 @@ You will need `admin` rights to use this endpoint
|
|
|
72
72
|
* @summary Patches a Service Error
|
|
73
73
|
*/
|
|
74
74
|
declare const adminPatchServiceError: (errorId: number, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
75
|
-
declare const
|
|
76
|
-
mutation?: UseMutationOptions<
|
|
75
|
+
declare const useAdminPatchServiceErrorMutationOptions: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
76
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminPatchServiceError>>, TError, {
|
|
77
77
|
errorId: number;
|
|
78
78
|
}, TContext>;
|
|
79
79
|
request?: SecondParameter<typeof customInstance>;
|
|
80
|
-
}) => UseMutationOptions<
|
|
80
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof adminPatchServiceError>>, TError, {
|
|
81
81
|
errorId: number;
|
|
82
82
|
}, TContext>;
|
|
83
83
|
type AdminPatchServiceErrorMutationResult = NonNullable<Awaited<ReturnType<typeof adminPatchServiceError>>>;
|
|
84
84
|
type AdminPatchServiceErrorMutationError = ErrorType<void | DmError>;
|
|
85
85
|
/**
|
|
86
|
-
* @summary Patches a Service Error
|
|
87
|
-
*/
|
|
88
|
-
declare const useAdminPatchServiceError: <
|
|
89
|
-
mutation?: UseMutationOptions<
|
|
86
|
+
* @summary Patches a Service Error
|
|
87
|
+
*/
|
|
88
|
+
declare const useAdminPatchServiceError: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
89
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminPatchServiceError>>, TError, {
|
|
90
90
|
errorId: number;
|
|
91
91
|
}, TContext>;
|
|
92
92
|
request?: SecondParameter<typeof customInstance>;
|
|
93
|
-
}) => UseMutationResult<
|
|
93
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof adminPatchServiceError>>, TError, {
|
|
94
94
|
errorId: number;
|
|
95
95
|
}, TContext>;
|
|
96
96
|
/**
|
|
97
|
-
* Deletes an existing Service Error.
|
|
97
|
+
* Deletes an existing Service Error.
|
|
98
98
|
|
|
99
99
|
You will need `admin` rights to use this endpoint
|
|
100
100
|
|
|
101
|
-
* @summary Deletes a Service Error
|
|
102
|
-
*/
|
|
101
|
+
* @summary Deletes a Service Error
|
|
102
|
+
*/
|
|
103
103
|
declare const adminDeleteServiceError: (errorId: number, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
104
|
-
declare const
|
|
105
|
-
mutation?: UseMutationOptions<
|
|
104
|
+
declare const useAdminDeleteServiceErrorMutationOptions: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
105
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminDeleteServiceError>>, TError, {
|
|
106
106
|
errorId: number;
|
|
107
107
|
}, TContext>;
|
|
108
108
|
request?: SecondParameter<typeof customInstance>;
|
|
109
|
-
}) => UseMutationOptions<
|
|
109
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof adminDeleteServiceError>>, TError, {
|
|
110
110
|
errorId: number;
|
|
111
111
|
}, TContext>;
|
|
112
112
|
type AdminDeleteServiceErrorMutationResult = NonNullable<Awaited<ReturnType<typeof adminDeleteServiceError>>>;
|
|
113
113
|
type AdminDeleteServiceErrorMutationError = ErrorType<void | DmError>;
|
|
114
114
|
/**
|
|
115
|
-
* @summary Deletes a Service Error
|
|
116
|
-
*/
|
|
117
|
-
declare const useAdminDeleteServiceError: <
|
|
118
|
-
mutation?: UseMutationOptions<
|
|
115
|
+
* @summary Deletes a Service Error
|
|
116
|
+
*/
|
|
117
|
+
declare const useAdminDeleteServiceError: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
118
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminDeleteServiceError>>, TError, {
|
|
119
119
|
errorId: number;
|
|
120
120
|
}, TContext>;
|
|
121
121
|
request?: SecondParameter<typeof customInstance>;
|
|
122
|
-
}) => UseMutationResult<
|
|
122
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof adminDeleteServiceError>>, TError, {
|
|
123
123
|
errorId: number;
|
|
124
124
|
}, TContext>;
|
|
125
125
|
/**
|
|
126
|
-
* You need admin privileges to use this endpoint and you are excluded from the returned list of users
|
|
126
|
+
* You need admin privileges to use this endpoint and you are excluded from the returned list of users
|
|
127
127
|
|
|
128
|
-
* @summary Get detailed information about all known Users
|
|
129
|
-
*/
|
|
128
|
+
* @summary Get detailed information about all known Users
|
|
129
|
+
*/
|
|
130
130
|
declare const adminGetUsers: (params?: AdminGetUsersParams, options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<AdminUsersGetResponse>;
|
|
131
|
-
declare const getAdminGetUsersQueryKey: (params?: AdminGetUsersParams) => readonly ["
|
|
132
|
-
declare const
|
|
131
|
+
declare const getAdminGetUsersQueryKey: (params?: AdminGetUsersParams) => readonly ["/admin/user", ...AdminGetUsersParams[]];
|
|
132
|
+
declare const useAdminGetUsersQueryOptions: <TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(params?: AdminGetUsersParams, options?: {
|
|
133
133
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>>;
|
|
134
134
|
request?: SecondParameter<typeof customInstance>;
|
|
135
135
|
}) => UseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData> & {
|
|
@@ -138,24 +138,24 @@ declare const getAdminGetUsersQueryOptions: <TData = AdminUsersGetResponse, TErr
|
|
|
138
138
|
type AdminGetUsersQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetUsers>>>;
|
|
139
139
|
type AdminGetUsersQueryError = ErrorType<void | DmError>;
|
|
140
140
|
declare function useAdminGetUsers<TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(params: undefined | AdminGetUsersParams, options: {
|
|
141
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError,
|
|
141
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, Awaited<ReturnType<typeof adminGetUsers>>>, "initialData">;
|
|
142
142
|
request?: SecondParameter<typeof customInstance>;
|
|
143
|
-
}): DefinedUseQueryResult<TData, TError> & {
|
|
143
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
144
144
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
145
145
|
};
|
|
146
146
|
declare function useAdminGetUsers<TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(params?: AdminGetUsersParams, options?: {
|
|
147
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError,
|
|
147
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, Awaited<ReturnType<typeof adminGetUsers>>>, "initialData">;
|
|
148
148
|
request?: SecondParameter<typeof customInstance>;
|
|
149
|
-
}): UseQueryResult<TData, TError> & {
|
|
149
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
150
150
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
151
151
|
};
|
|
152
152
|
declare function useAdminGetUsers<TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(params?: AdminGetUsersParams, options?: {
|
|
153
153
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>>;
|
|
154
154
|
request?: SecondParameter<typeof customInstance>;
|
|
155
|
-
}): UseQueryResult<TData, TError> & {
|
|
155
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
156
156
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
157
157
|
};
|
|
158
|
-
declare const
|
|
158
|
+
declare const useAdminGetUsersSuspenseQueryOptions: <TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(params?: AdminGetUsersParams, options?: {
|
|
159
159
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>>;
|
|
160
160
|
request?: SecondParameter<typeof customInstance>;
|
|
161
161
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData> & {
|
|
@@ -166,19 +166,19 @@ type AdminGetUsersSuspenseQueryError = ErrorType<void | DmError>;
|
|
|
166
166
|
declare function useAdminGetUsersSuspense<TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(params: undefined | AdminGetUsersParams, options: {
|
|
167
167
|
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>>;
|
|
168
168
|
request?: SecondParameter<typeof customInstance>;
|
|
169
|
-
}): UseSuspenseQueryResult<TData, TError> & {
|
|
169
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
170
170
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
171
171
|
};
|
|
172
172
|
declare function useAdminGetUsersSuspense<TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(params?: AdminGetUsersParams, options?: {
|
|
173
173
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>>;
|
|
174
174
|
request?: SecondParameter<typeof customInstance>;
|
|
175
|
-
}): UseSuspenseQueryResult<TData, TError> & {
|
|
175
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
176
176
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
177
177
|
};
|
|
178
178
|
declare function useAdminGetUsersSuspense<TData = Awaited<ReturnType<typeof adminGetUsers>>, TError = ErrorType<void | DmError>>(params?: AdminGetUsersParams, options?: {
|
|
179
179
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetUsers>>, TError, TData>>;
|
|
180
180
|
request?: SecondParameter<typeof customInstance>;
|
|
181
|
-
}): UseSuspenseQueryResult<TData, TError> & {
|
|
181
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
182
182
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
183
183
|
};
|
|
184
184
|
/**
|
|
@@ -189,71 +189,71 @@ You will need `admin` rights to use this endpoint
|
|
|
189
189
|
* @summary Prepares a user account in the Data Manager service
|
|
190
190
|
*/
|
|
191
191
|
declare const adminPutUser: (userId: string, options?: SecondParameter<typeof customInstance>) => Promise<UserAccountDetail>;
|
|
192
|
-
declare const
|
|
193
|
-
mutation?: UseMutationOptions<
|
|
192
|
+
declare const useAdminPutUserMutationOptions: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
193
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminPutUser>>, TError, {
|
|
194
194
|
userId: string;
|
|
195
195
|
}, TContext>;
|
|
196
196
|
request?: SecondParameter<typeof customInstance>;
|
|
197
|
-
}) => UseMutationOptions<
|
|
197
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof adminPutUser>>, TError, {
|
|
198
198
|
userId: string;
|
|
199
199
|
}, TContext>;
|
|
200
200
|
type AdminPutUserMutationResult = NonNullable<Awaited<ReturnType<typeof adminPutUser>>>;
|
|
201
201
|
type AdminPutUserMutationError = ErrorType<void | DmError>;
|
|
202
202
|
/**
|
|
203
|
-
* @summary Prepares a user account in the Data Manager service
|
|
204
|
-
*/
|
|
205
|
-
declare const useAdminPutUser: <
|
|
206
|
-
mutation?: UseMutationOptions<
|
|
203
|
+
* @summary Prepares a user account in the Data Manager service
|
|
204
|
+
*/
|
|
205
|
+
declare const useAdminPutUser: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
206
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminPutUser>>, TError, {
|
|
207
207
|
userId: string;
|
|
208
208
|
}, TContext>;
|
|
209
209
|
request?: SecondParameter<typeof customInstance>;
|
|
210
|
-
}) => UseMutationResult<
|
|
210
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof adminPutUser>>, TError, {
|
|
211
211
|
userId: string;
|
|
212
212
|
}, TContext>;
|
|
213
213
|
/**
|
|
214
|
-
* Deletes a user account, along with all the user's Datasets
|
|
214
|
+
* Deletes a user account, along with all the user's Datasets
|
|
215
215
|
|
|
216
216
|
You will need `admin` rights to use this endpoint
|
|
217
217
|
|
|
218
|
-
* @summary Deletes a user account
|
|
219
|
-
*/
|
|
218
|
+
* @summary Deletes a user account
|
|
219
|
+
*/
|
|
220
220
|
declare const adminDeleteUser: (userId: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
221
|
-
declare const
|
|
222
|
-
mutation?: UseMutationOptions<
|
|
221
|
+
declare const useAdminDeleteUserMutationOptions: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
222
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminDeleteUser>>, TError, {
|
|
223
223
|
userId: string;
|
|
224
224
|
}, TContext>;
|
|
225
225
|
request?: SecondParameter<typeof customInstance>;
|
|
226
|
-
}) => UseMutationOptions<
|
|
226
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof adminDeleteUser>>, TError, {
|
|
227
227
|
userId: string;
|
|
228
228
|
}, TContext>;
|
|
229
229
|
type AdminDeleteUserMutationResult = NonNullable<Awaited<ReturnType<typeof adminDeleteUser>>>;
|
|
230
230
|
type AdminDeleteUserMutationError = ErrorType<void | DmError>;
|
|
231
231
|
/**
|
|
232
|
-
* @summary Deletes a user account
|
|
233
|
-
*/
|
|
234
|
-
declare const useAdminDeleteUser: <
|
|
235
|
-
mutation?: UseMutationOptions<
|
|
232
|
+
* @summary Deletes a user account
|
|
233
|
+
*/
|
|
234
|
+
declare const useAdminDeleteUser: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
235
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminDeleteUser>>, TError, {
|
|
236
236
|
userId: string;
|
|
237
237
|
}, TContext>;
|
|
238
238
|
request?: SecondParameter<typeof customInstance>;
|
|
239
|
-
}) => UseMutationResult<
|
|
239
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof adminDeleteUser>>, TError, {
|
|
240
240
|
userId: string;
|
|
241
241
|
}, TContext>;
|
|
242
242
|
/**
|
|
243
|
-
* Patches a user record, typically to suspend or re-enable a user account
|
|
243
|
+
* Patches a user record, typically to suspend or re-enable a user account
|
|
244
244
|
|
|
245
245
|
You will need `admin` rights to use this endpoint
|
|
246
246
|
|
|
247
|
-
* @summary Patch a given user
|
|
248
|
-
*/
|
|
247
|
+
* @summary Patch a given user
|
|
248
|
+
*/
|
|
249
249
|
declare const adminPatchUser: (userId: string, userPatchBodyBody: UserPatchBodyBody, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
250
|
-
declare const
|
|
251
|
-
mutation?: UseMutationOptions<
|
|
250
|
+
declare const useAdminPatchUserMutationOptions: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
251
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminPatchUser>>, TError, {
|
|
252
252
|
userId: string;
|
|
253
253
|
data: UserPatchBodyBody;
|
|
254
254
|
}, TContext>;
|
|
255
255
|
request?: SecondParameter<typeof customInstance>;
|
|
256
|
-
}) => UseMutationOptions<
|
|
256
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof adminPatchUser>>, TError, {
|
|
257
257
|
userId: string;
|
|
258
258
|
data: UserPatchBodyBody;
|
|
259
259
|
}, TContext>;
|
|
@@ -261,28 +261,28 @@ type AdminPatchUserMutationResult = NonNullable<Awaited<ReturnType<typeof adminP
|
|
|
261
261
|
type AdminPatchUserMutationBody = UserPatchBodyBody;
|
|
262
262
|
type AdminPatchUserMutationError = ErrorType<void | DmError>;
|
|
263
263
|
/**
|
|
264
|
-
* @summary Patch a given user
|
|
265
|
-
*/
|
|
266
|
-
declare const useAdminPatchUser: <
|
|
267
|
-
mutation?: UseMutationOptions<
|
|
264
|
+
* @summary Patch a given user
|
|
265
|
+
*/
|
|
266
|
+
declare const useAdminPatchUser: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
267
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminPatchUser>>, TError, {
|
|
268
268
|
userId: string;
|
|
269
269
|
data: UserPatchBodyBody;
|
|
270
270
|
}, TContext>;
|
|
271
271
|
request?: SecondParameter<typeof customInstance>;
|
|
272
|
-
}) => UseMutationResult<
|
|
272
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof adminPatchUser>>, TError, {
|
|
273
273
|
userId: string;
|
|
274
274
|
data: UserPatchBodyBody;
|
|
275
275
|
}, TContext>;
|
|
276
276
|
/**
|
|
277
|
-
* 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.
|
|
277
|
+
* 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.
|
|
278
278
|
|
|
279
279
|
You will need `admin` rights to use this endpoint
|
|
280
280
|
|
|
281
|
-
* @summary Get Job Manifests
|
|
282
|
-
*/
|
|
281
|
+
* @summary Get Job Manifests
|
|
282
|
+
*/
|
|
283
283
|
declare const adminGetJobManifests: (options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<AdminJobManifestGetResponse>;
|
|
284
|
-
declare const getAdminGetJobManifestsQueryKey: () => readonly ["
|
|
285
|
-
declare const
|
|
284
|
+
declare const getAdminGetJobManifestsQueryKey: () => readonly ["/admin/job-manifest"];
|
|
285
|
+
declare const useAdminGetJobManifestsQueryOptions: <TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>(options?: {
|
|
286
286
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>>;
|
|
287
287
|
request?: SecondParameter<typeof customInstance>;
|
|
288
288
|
}) => UseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData> & {
|
|
@@ -291,24 +291,24 @@ declare const getAdminGetJobManifestsQueryOptions: <TData = AdminJobManifestGetR
|
|
|
291
291
|
type AdminGetJobManifestsQueryResult = NonNullable<Awaited<ReturnType<typeof adminGetJobManifests>>>;
|
|
292
292
|
type AdminGetJobManifestsQueryError = ErrorType<void | DmError>;
|
|
293
293
|
declare function useAdminGetJobManifests<TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>(options: {
|
|
294
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError,
|
|
294
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, Awaited<ReturnType<typeof adminGetJobManifests>>>, "initialData">;
|
|
295
295
|
request?: SecondParameter<typeof customInstance>;
|
|
296
|
-
}): DefinedUseQueryResult<TData, TError> & {
|
|
296
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
297
297
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
298
298
|
};
|
|
299
299
|
declare function useAdminGetJobManifests<TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>(options?: {
|
|
300
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError,
|
|
300
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, Awaited<ReturnType<typeof adminGetJobManifests>>>, "initialData">;
|
|
301
301
|
request?: SecondParameter<typeof customInstance>;
|
|
302
|
-
}): UseQueryResult<TData, TError> & {
|
|
302
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
303
303
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
304
304
|
};
|
|
305
305
|
declare function useAdminGetJobManifests<TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>(options?: {
|
|
306
306
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>>;
|
|
307
307
|
request?: SecondParameter<typeof customInstance>;
|
|
308
|
-
}): UseQueryResult<TData, TError> & {
|
|
308
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
309
309
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
310
310
|
};
|
|
311
|
-
declare const
|
|
311
|
+
declare const useAdminGetJobManifestsSuspenseQueryOptions: <TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>(options?: {
|
|
312
312
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>>;
|
|
313
313
|
request?: SecondParameter<typeof customInstance>;
|
|
314
314
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData> & {
|
|
@@ -319,19 +319,19 @@ type AdminGetJobManifestsSuspenseQueryError = ErrorType<void | DmError>;
|
|
|
319
319
|
declare function useAdminGetJobManifestsSuspense<TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>(options: {
|
|
320
320
|
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>>;
|
|
321
321
|
request?: SecondParameter<typeof customInstance>;
|
|
322
|
-
}): UseSuspenseQueryResult<TData, TError> & {
|
|
322
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
323
323
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
324
324
|
};
|
|
325
325
|
declare function useAdminGetJobManifestsSuspense<TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>(options?: {
|
|
326
326
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>>;
|
|
327
327
|
request?: SecondParameter<typeof customInstance>;
|
|
328
|
-
}): UseSuspenseQueryResult<TData, TError> & {
|
|
328
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
329
329
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
330
330
|
};
|
|
331
331
|
declare function useAdminGetJobManifestsSuspense<TData = Awaited<ReturnType<typeof adminGetJobManifests>>, TError = ErrorType<void | DmError>>(options?: {
|
|
332
332
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof adminGetJobManifests>>, TError, TData>>;
|
|
333
333
|
request?: SecondParameter<typeof customInstance>;
|
|
334
|
-
}): UseSuspenseQueryResult<TData, TError> & {
|
|
334
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
335
335
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
336
336
|
};
|
|
337
337
|
/**
|
|
@@ -344,85 +344,85 @@ You will need `admin` rights to use this endpoint
|
|
|
344
344
|
* @summary Adds a Job Manifest and triggers the download of its Job Definitions
|
|
345
345
|
*/
|
|
346
346
|
declare const adminJobManifestPut: (jobManifestPutBodyBody: JobManifestPutBodyBody, options?: SecondParameter<typeof customInstance>) => Promise<AdminJobManifestLoadPutResponse>;
|
|
347
|
-
declare const
|
|
348
|
-
mutation?: UseMutationOptions<
|
|
347
|
+
declare const useAdminJobManifestPutMutationOptions: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
348
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestPut>>, TError, {
|
|
349
349
|
data: JobManifestPutBodyBody;
|
|
350
350
|
}, TContext>;
|
|
351
351
|
request?: SecondParameter<typeof customInstance>;
|
|
352
|
-
}) => UseMutationOptions<
|
|
352
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestPut>>, TError, {
|
|
353
353
|
data: JobManifestPutBodyBody;
|
|
354
354
|
}, TContext>;
|
|
355
355
|
type AdminJobManifestPutMutationResult = NonNullable<Awaited<ReturnType<typeof adminJobManifestPut>>>;
|
|
356
356
|
type AdminJobManifestPutMutationBody = JobManifestPutBodyBody;
|
|
357
357
|
type AdminJobManifestPutMutationError = ErrorType<void | DmError>;
|
|
358
358
|
/**
|
|
359
|
-
* @summary Adds a Job Manifest and triggers the download of its Job Definitions
|
|
360
|
-
*/
|
|
361
|
-
declare const useAdminJobManifestPut: <
|
|
362
|
-
mutation?: UseMutationOptions<
|
|
359
|
+
* @summary Adds a Job Manifest and triggers the download of its Job Definitions
|
|
360
|
+
*/
|
|
361
|
+
declare const useAdminJobManifestPut: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
362
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestPut>>, TError, {
|
|
363
363
|
data: JobManifestPutBodyBody;
|
|
364
364
|
}, TContext>;
|
|
365
365
|
request?: SecondParameter<typeof customInstance>;
|
|
366
|
-
}) => UseMutationResult<
|
|
366
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof adminJobManifestPut>>, TError, {
|
|
367
367
|
data: JobManifestPutBodyBody;
|
|
368
368
|
}, TContext>;
|
|
369
369
|
/**
|
|
370
|
-
* Deletes a Job Manifest record
|
|
370
|
+
* Deletes a Job Manifest record
|
|
371
371
|
|
|
372
372
|
You 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.
|
|
373
373
|
|
|
374
374
|
You will need `admin` rights to use this endpoint and the Data Manager needs to be running in `DEVELOPMENT` **Mode**
|
|
375
375
|
|
|
376
|
-
* @summary Deletes a Job Manifest
|
|
377
|
-
*/
|
|
376
|
+
* @summary Deletes a Job Manifest
|
|
377
|
+
*/
|
|
378
378
|
declare const adminDeleteJobManifest: (jobManifestId: number, params?: AdminDeleteJobManifestParams, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
379
|
-
declare const
|
|
380
|
-
mutation?: UseMutationOptions<
|
|
379
|
+
declare const useAdminDeleteJobManifestMutationOptions: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
380
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminDeleteJobManifest>>, TError, {
|
|
381
381
|
jobManifestId: number;
|
|
382
382
|
params?: AdminDeleteJobManifestParams;
|
|
383
383
|
}, TContext>;
|
|
384
384
|
request?: SecondParameter<typeof customInstance>;
|
|
385
|
-
}) => UseMutationOptions<
|
|
385
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof adminDeleteJobManifest>>, TError, {
|
|
386
386
|
jobManifestId: number;
|
|
387
387
|
params?: AdminDeleteJobManifestParams;
|
|
388
388
|
}, TContext>;
|
|
389
389
|
type AdminDeleteJobManifestMutationResult = NonNullable<Awaited<ReturnType<typeof adminDeleteJobManifest>>>;
|
|
390
390
|
type AdminDeleteJobManifestMutationError = ErrorType<void | DmError>;
|
|
391
391
|
/**
|
|
392
|
-
* @summary Deletes a Job Manifest
|
|
393
|
-
*/
|
|
394
|
-
declare const useAdminDeleteJobManifest: <
|
|
395
|
-
mutation?: UseMutationOptions<
|
|
392
|
+
* @summary Deletes a Job Manifest
|
|
393
|
+
*/
|
|
394
|
+
declare const useAdminDeleteJobManifest: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
395
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminDeleteJobManifest>>, TError, {
|
|
396
396
|
jobManifestId: number;
|
|
397
397
|
params?: AdminDeleteJobManifestParams;
|
|
398
398
|
}, TContext>;
|
|
399
399
|
request?: SecondParameter<typeof customInstance>;
|
|
400
|
-
}) => UseMutationResult<
|
|
400
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof adminDeleteJobManifest>>, TError, {
|
|
401
401
|
jobManifestId: number;
|
|
402
402
|
params?: AdminDeleteJobManifestParams;
|
|
403
403
|
}, TContext>;
|
|
404
404
|
/**
|
|
405
|
-
* 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.
|
|
405
|
+
* 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.
|
|
406
406
|
|
|
407
407
|
You 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.
|
|
408
408
|
|
|
409
409
|
You will need `admin` rights to use this endpoint and the Data Manager needs to be running in `DEVELOPMENT` **Mode**
|
|
410
410
|
|
|
411
|
-
* @summary Trigger a download of Job Definitions using existing Job Manifests
|
|
412
|
-
*/
|
|
411
|
+
* @summary Trigger a download of Job Definitions using existing Job Manifests
|
|
412
|
+
*/
|
|
413
413
|
declare const adminJobManifestLoad: (options?: SecondParameter<typeof customInstance>) => Promise<AdminJobManifestLoadPutResponse>;
|
|
414
|
-
declare const
|
|
415
|
-
mutation?: UseMutationOptions<
|
|
414
|
+
declare const useAdminJobManifestLoadMutationOptions: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
415
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestLoad>>, TError, void, TContext>;
|
|
416
416
|
request?: SecondParameter<typeof customInstance>;
|
|
417
|
-
}) => UseMutationOptions<
|
|
417
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestLoad>>, TError, void, TContext>;
|
|
418
418
|
type AdminJobManifestLoadMutationResult = NonNullable<Awaited<ReturnType<typeof adminJobManifestLoad>>>;
|
|
419
419
|
type AdminJobManifestLoadMutationError = ErrorType<void | DmError>;
|
|
420
420
|
/**
|
|
421
|
-
* @summary Trigger a download of Job Definitions using existing Job Manifests
|
|
422
|
-
*/
|
|
423
|
-
declare const useAdminJobManifestLoad: <
|
|
424
|
-
mutation?: UseMutationOptions<
|
|
421
|
+
* @summary Trigger a download of Job Definitions using existing Job Manifests
|
|
422
|
+
*/
|
|
423
|
+
declare const useAdminJobManifestLoad: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
424
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof adminJobManifestLoad>>, TError, void, TContext>;
|
|
425
425
|
request?: SecondParameter<typeof customInstance>;
|
|
426
|
-
}) => UseMutationResult<
|
|
426
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof adminJobManifestLoad>>, TError, void, TContext>;
|
|
427
427
|
|
|
428
|
-
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,
|
|
428
|
+
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, getAdminGetJobManifestsQueryKey, getAdminGetServiceErrorsQueryKey, getAdminGetUsersQueryKey, useAdminDeleteJobManifest, useAdminDeleteJobManifestMutationOptions, useAdminDeleteServiceError, useAdminDeleteServiceErrorMutationOptions, useAdminDeleteUser, useAdminDeleteUserMutationOptions, useAdminGetJobManifests, useAdminGetJobManifestsQueryOptions, useAdminGetJobManifestsSuspense, useAdminGetJobManifestsSuspenseQueryOptions, useAdminGetServiceErrors, useAdminGetServiceErrorsQueryOptions, useAdminGetServiceErrorsSuspense, useAdminGetServiceErrorsSuspenseQueryOptions, useAdminGetUsers, useAdminGetUsersQueryOptions, useAdminGetUsersSuspense, useAdminGetUsersSuspenseQueryOptions, useAdminJobManifestLoad, useAdminJobManifestLoadMutationOptions, useAdminJobManifestPut, useAdminJobManifestPutMutationOptions, useAdminPatchServiceError, useAdminPatchServiceErrorMutationOptions, useAdminPatchUser, useAdminPatchUserMutationOptions, useAdminPutUser, useAdminPutUserMutationOptions };
|