@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
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
|
-
* Generated by orval v7.
|
|
2
|
+
* Generated by orval v7.10.0 🍺
|
|
4
3
|
* Do not edit manually.
|
|
5
4
|
* Dataset Manager API
|
|
6
5
|
* The Dataset Manager API service.
|
|
@@ -9,34 +8,33 @@ A service that allows *registered* users to make **Datasets** and associated **M
|
|
|
9
8
|
|
|
10
9
|
* OpenAPI spec version: 4.1
|
|
11
10
|
*/
|
|
12
|
-
import {
|
|
13
|
-
useQuery,
|
|
14
|
-
useSuspenseQuery
|
|
15
|
-
} from '@tanstack/react-query'
|
|
11
|
+
import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
16
12
|
import type {
|
|
17
13
|
DataTag,
|
|
18
14
|
DefinedInitialDataOptions,
|
|
19
15
|
DefinedUseQueryResult,
|
|
16
|
+
QueryClient,
|
|
20
17
|
QueryFunction,
|
|
21
18
|
QueryKey,
|
|
22
19
|
UndefinedInitialDataOptions,
|
|
23
20
|
UseQueryOptions,
|
|
24
21
|
UseQueryResult,
|
|
25
22
|
UseSuspenseQueryOptions,
|
|
26
|
-
UseSuspenseQueryResult
|
|
27
|
-
} from
|
|
23
|
+
UseSuspenseQueryResult,
|
|
24
|
+
} from "@tanstack/react-query";
|
|
25
|
+
|
|
28
26
|
import type {
|
|
29
27
|
AccountServerGetNamespaceResponse,
|
|
30
28
|
AccountServerGetRegistrationResponse,
|
|
31
29
|
DmError,
|
|
32
|
-
VersionGetResponse
|
|
33
|
-
} from
|
|
34
|
-
import { customInstance } from '.././custom-instance';
|
|
35
|
-
import type { ErrorType } from '.././custom-instance';
|
|
36
|
-
|
|
30
|
+
VersionGetResponse,
|
|
31
|
+
} from "../data-manager-api.schemas";
|
|
37
32
|
|
|
38
|
-
|
|
33
|
+
import { customInstance } from ".././custom-instance";
|
|
34
|
+
import type { ErrorType } from ".././custom-instance";
|
|
35
|
+
import { queryMutator } from ".././options-mutator";
|
|
39
36
|
|
|
37
|
+
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
40
38
|
|
|
41
39
|
/**
|
|
42
40
|
* If an Account Server is configured its namespace, e.g. `account-server`, is returned, otherwise an empty string is returned
|
|
@@ -44,565 +42,873 @@ type SecondParameter<T extends (...args: any) => any> = Parameters<T>[1];
|
|
|
44
42
|
* @summary Gets the Account Server cluster namespace
|
|
45
43
|
*/
|
|
46
44
|
export const getAccountServerNamespace = (
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
options?: SecondParameter<typeof customInstance>,
|
|
46
|
+
signal?: AbortSignal,
|
|
49
47
|
) => {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
options);
|
|
56
|
-
}
|
|
57
|
-
|
|
48
|
+
return customInstance<AccountServerGetNamespaceResponse>(
|
|
49
|
+
{ url: `/account-server/namespace`, method: "GET", signal },
|
|
50
|
+
options,
|
|
51
|
+
);
|
|
52
|
+
};
|
|
58
53
|
|
|
59
54
|
export const getGetAccountServerNamespaceQueryKey = () => {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
55
|
+
return [`/account-server/namespace`] as const;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export const useGetAccountServerNamespaceQueryOptions = <
|
|
59
|
+
TData = Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
60
|
+
TError = ErrorType<void | DmError>,
|
|
61
|
+
>(options?: {
|
|
62
|
+
query?: Partial<
|
|
63
|
+
UseQueryOptions<Awaited<ReturnType<typeof getAccountServerNamespace>>, TError, TData>
|
|
64
|
+
>;
|
|
65
|
+
request?: SecondParameter<typeof customInstance>;
|
|
66
|
+
}) => {
|
|
67
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
68
|
+
|
|
69
|
+
const queryKey = queryOptions?.queryKey ?? getGetAccountServerNamespaceQueryKey();
|
|
70
|
+
|
|
71
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getAccountServerNamespace>>> = ({
|
|
72
|
+
signal,
|
|
73
|
+
}) => getAccountServerNamespace(requestOptions, signal);
|
|
74
|
+
|
|
75
|
+
const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });
|
|
76
|
+
|
|
77
|
+
return customOptions as UseQueryOptions<
|
|
78
|
+
Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
79
|
+
TError,
|
|
80
|
+
TData
|
|
81
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export type GetAccountServerNamespaceQueryResult = NonNullable<
|
|
85
|
+
Awaited<ReturnType<typeof getAccountServerNamespace>>
|
|
86
|
+
>;
|
|
87
|
+
export type GetAccountServerNamespaceQueryError = ErrorType<void | DmError>;
|
|
88
|
+
|
|
89
|
+
export function useGetAccountServerNamespace<
|
|
90
|
+
TData = Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
91
|
+
TError = ErrorType<void | DmError>,
|
|
92
|
+
>(
|
|
93
|
+
options: {
|
|
94
|
+
query: Partial<
|
|
95
|
+
UseQueryOptions<Awaited<ReturnType<typeof getAccountServerNamespace>>, TError, TData>
|
|
96
|
+
> &
|
|
97
|
+
Pick<
|
|
88
98
|
DefinedInitialDataOptions<
|
|
89
99
|
Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
90
100
|
TError,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
101
|
+
Awaited<ReturnType<typeof getAccountServerNamespace>>
|
|
102
|
+
>,
|
|
103
|
+
"initialData"
|
|
104
|
+
>;
|
|
105
|
+
request?: SecondParameter<typeof customInstance>;
|
|
106
|
+
},
|
|
107
|
+
queryClient?: QueryClient,
|
|
108
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
109
|
+
export function useGetAccountServerNamespace<
|
|
110
|
+
TData = Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
111
|
+
TError = ErrorType<void | DmError>,
|
|
112
|
+
>(
|
|
113
|
+
options?: {
|
|
114
|
+
query?: Partial<
|
|
115
|
+
UseQueryOptions<Awaited<ReturnType<typeof getAccountServerNamespace>>, TError, TData>
|
|
116
|
+
> &
|
|
117
|
+
Pick<
|
|
98
118
|
UndefinedInitialDataOptions<
|
|
99
119
|
Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
100
120
|
TError,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
121
|
+
Awaited<ReturnType<typeof getAccountServerNamespace>>
|
|
122
|
+
>,
|
|
123
|
+
"initialData"
|
|
124
|
+
>;
|
|
125
|
+
request?: SecondParameter<typeof customInstance>;
|
|
126
|
+
},
|
|
127
|
+
queryClient?: QueryClient,
|
|
128
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
129
|
+
export function useGetAccountServerNamespace<
|
|
130
|
+
TData = Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
131
|
+
TError = ErrorType<void | DmError>,
|
|
132
|
+
>(
|
|
133
|
+
options?: {
|
|
134
|
+
query?: Partial<
|
|
135
|
+
UseQueryOptions<Awaited<ReturnType<typeof getAccountServerNamespace>>, TError, TData>
|
|
136
|
+
>;
|
|
137
|
+
request?: SecondParameter<typeof customInstance>;
|
|
138
|
+
},
|
|
139
|
+
queryClient?: QueryClient,
|
|
140
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
110
141
|
/**
|
|
111
142
|
* @summary Gets the Account Server cluster namespace
|
|
112
143
|
*/
|
|
113
144
|
|
|
114
|
-
export function useGetAccountServerNamespace<
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
145
|
+
export function useGetAccountServerNamespace<
|
|
146
|
+
TData = Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
147
|
+
TError = ErrorType<void | DmError>,
|
|
148
|
+
>(
|
|
149
|
+
options?: {
|
|
150
|
+
query?: Partial<
|
|
151
|
+
UseQueryOptions<Awaited<ReturnType<typeof getAccountServerNamespace>>, TError, TData>
|
|
152
|
+
>;
|
|
153
|
+
request?: SecondParameter<typeof customInstance>;
|
|
154
|
+
},
|
|
155
|
+
queryClient?: QueryClient,
|
|
156
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
157
|
+
const queryOptions = useGetAccountServerNamespaceQueryOptions(options);
|
|
158
|
+
|
|
159
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
160
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
query.queryKey = queryOptions.queryKey;
|
|
124
164
|
|
|
125
165
|
return query;
|
|
126
166
|
}
|
|
127
167
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
168
|
+
export const useGetAccountServerNamespaceSuspenseQueryOptions = <
|
|
169
|
+
TData = Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
170
|
+
TError = ErrorType<void | DmError>,
|
|
171
|
+
>(options?: {
|
|
172
|
+
query?: Partial<
|
|
173
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAccountServerNamespace>>, TError, TData>
|
|
174
|
+
>;
|
|
175
|
+
request?: SecondParameter<typeof customInstance>;
|
|
176
|
+
}) => {
|
|
177
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
178
|
+
|
|
179
|
+
const queryKey = queryOptions?.queryKey ?? getGetAccountServerNamespaceQueryKey();
|
|
180
|
+
|
|
181
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getAccountServerNamespace>>> = ({
|
|
182
|
+
signal,
|
|
183
|
+
}) => getAccountServerNamespace(requestOptions, signal);
|
|
184
|
+
|
|
185
|
+
const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });
|
|
186
|
+
|
|
187
|
+
return customOptions as UseSuspenseQueryOptions<
|
|
188
|
+
Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
189
|
+
TError,
|
|
190
|
+
TData
|
|
191
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
export type GetAccountServerNamespaceSuspenseQueryResult = NonNullable<
|
|
195
|
+
Awaited<ReturnType<typeof getAccountServerNamespace>>
|
|
196
|
+
>;
|
|
197
|
+
export type GetAccountServerNamespaceSuspenseQueryError = ErrorType<void | DmError>;
|
|
198
|
+
|
|
199
|
+
export function useGetAccountServerNamespaceSuspense<
|
|
200
|
+
TData = Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
201
|
+
TError = ErrorType<void | DmError>,
|
|
202
|
+
>(
|
|
203
|
+
options: {
|
|
204
|
+
query: Partial<
|
|
205
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAccountServerNamespace>>, TError, TData>
|
|
206
|
+
>;
|
|
207
|
+
request?: SecondParameter<typeof customInstance>;
|
|
208
|
+
},
|
|
209
|
+
queryClient?: QueryClient,
|
|
210
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
211
|
+
export function useGetAccountServerNamespaceSuspense<
|
|
212
|
+
TData = Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
213
|
+
TError = ErrorType<void | DmError>,
|
|
214
|
+
>(
|
|
215
|
+
options?: {
|
|
216
|
+
query?: Partial<
|
|
217
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAccountServerNamespace>>, TError, TData>
|
|
218
|
+
>;
|
|
219
|
+
request?: SecondParameter<typeof customInstance>;
|
|
220
|
+
},
|
|
221
|
+
queryClient?: QueryClient,
|
|
222
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
223
|
+
export function useGetAccountServerNamespaceSuspense<
|
|
224
|
+
TData = Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
225
|
+
TError = ErrorType<void | DmError>,
|
|
226
|
+
>(
|
|
227
|
+
options?: {
|
|
228
|
+
query?: Partial<
|
|
229
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAccountServerNamespace>>, TError, TData>
|
|
230
|
+
>;
|
|
231
|
+
request?: SecondParameter<typeof customInstance>;
|
|
232
|
+
},
|
|
233
|
+
queryClient?: QueryClient,
|
|
234
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
164
235
|
/**
|
|
165
236
|
* @summary Gets the Account Server cluster namespace
|
|
166
237
|
*/
|
|
167
238
|
|
|
168
|
-
export function useGetAccountServerNamespaceSuspense<
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
239
|
+
export function useGetAccountServerNamespaceSuspense<
|
|
240
|
+
TData = Awaited<ReturnType<typeof getAccountServerNamespace>>,
|
|
241
|
+
TError = ErrorType<void | DmError>,
|
|
242
|
+
>(
|
|
243
|
+
options?: {
|
|
244
|
+
query?: Partial<
|
|
245
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAccountServerNamespace>>, TError, TData>
|
|
246
|
+
>;
|
|
247
|
+
request?: SecondParameter<typeof customInstance>;
|
|
248
|
+
},
|
|
249
|
+
queryClient?: QueryClient,
|
|
250
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
251
|
+
const queryOptions = useGetAccountServerNamespaceSuspenseQueryOptions(options);
|
|
252
|
+
|
|
253
|
+
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
254
|
+
TData,
|
|
255
|
+
TError
|
|
256
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
257
|
+
|
|
258
|
+
query.queryKey = queryOptions.queryKey;
|
|
178
259
|
|
|
179
260
|
return query;
|
|
180
261
|
}
|
|
181
262
|
|
|
182
|
-
|
|
183
|
-
|
|
184
263
|
/**
|
|
185
264
|
* Returns our Account Server Registration information
|
|
186
265
|
|
|
187
266
|
* @summary Gets the Data Manager Account Server Registration
|
|
188
267
|
*/
|
|
189
268
|
export const getAccountServerRegistration = (
|
|
190
|
-
|
|
191
|
-
|
|
269
|
+
options?: SecondParameter<typeof customInstance>,
|
|
270
|
+
signal?: AbortSignal,
|
|
192
271
|
) => {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
options);
|
|
199
|
-
}
|
|
200
|
-
|
|
272
|
+
return customInstance<AccountServerGetRegistrationResponse>(
|
|
273
|
+
{ url: `/account-server/registration`, method: "GET", signal },
|
|
274
|
+
options,
|
|
275
|
+
);
|
|
276
|
+
};
|
|
201
277
|
|
|
202
278
|
export const getGetAccountServerRegistrationQueryKey = () => {
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
279
|
+
return [`/account-server/registration`] as const;
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
export const useGetAccountServerRegistrationQueryOptions = <
|
|
283
|
+
TData = Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
284
|
+
TError = ErrorType<void | DmError>,
|
|
285
|
+
>(options?: {
|
|
286
|
+
query?: Partial<
|
|
287
|
+
UseQueryOptions<Awaited<ReturnType<typeof getAccountServerRegistration>>, TError, TData>
|
|
288
|
+
>;
|
|
289
|
+
request?: SecondParameter<typeof customInstance>;
|
|
290
|
+
}) => {
|
|
291
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
292
|
+
|
|
293
|
+
const queryKey = queryOptions?.queryKey ?? getGetAccountServerRegistrationQueryKey();
|
|
294
|
+
|
|
295
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getAccountServerRegistration>>> = ({
|
|
296
|
+
signal,
|
|
297
|
+
}) => getAccountServerRegistration(requestOptions, signal);
|
|
298
|
+
|
|
299
|
+
const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });
|
|
300
|
+
|
|
301
|
+
return customOptions as UseQueryOptions<
|
|
302
|
+
Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
303
|
+
TError,
|
|
304
|
+
TData
|
|
305
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
export type GetAccountServerRegistrationQueryResult = NonNullable<
|
|
309
|
+
Awaited<ReturnType<typeof getAccountServerRegistration>>
|
|
310
|
+
>;
|
|
311
|
+
export type GetAccountServerRegistrationQueryError = ErrorType<void | DmError>;
|
|
312
|
+
|
|
313
|
+
export function useGetAccountServerRegistration<
|
|
314
|
+
TData = Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
315
|
+
TError = ErrorType<void | DmError>,
|
|
316
|
+
>(
|
|
317
|
+
options: {
|
|
318
|
+
query: Partial<
|
|
319
|
+
UseQueryOptions<Awaited<ReturnType<typeof getAccountServerRegistration>>, TError, TData>
|
|
320
|
+
> &
|
|
321
|
+
Pick<
|
|
231
322
|
DefinedInitialDataOptions<
|
|
232
323
|
Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
233
324
|
TError,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
325
|
+
Awaited<ReturnType<typeof getAccountServerRegistration>>
|
|
326
|
+
>,
|
|
327
|
+
"initialData"
|
|
328
|
+
>;
|
|
329
|
+
request?: SecondParameter<typeof customInstance>;
|
|
330
|
+
},
|
|
331
|
+
queryClient?: QueryClient,
|
|
332
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
333
|
+
export function useGetAccountServerRegistration<
|
|
334
|
+
TData = Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
335
|
+
TError = ErrorType<void | DmError>,
|
|
336
|
+
>(
|
|
337
|
+
options?: {
|
|
338
|
+
query?: Partial<
|
|
339
|
+
UseQueryOptions<Awaited<ReturnType<typeof getAccountServerRegistration>>, TError, TData>
|
|
340
|
+
> &
|
|
341
|
+
Pick<
|
|
241
342
|
UndefinedInitialDataOptions<
|
|
242
343
|
Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
243
344
|
TError,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
345
|
+
Awaited<ReturnType<typeof getAccountServerRegistration>>
|
|
346
|
+
>,
|
|
347
|
+
"initialData"
|
|
348
|
+
>;
|
|
349
|
+
request?: SecondParameter<typeof customInstance>;
|
|
350
|
+
},
|
|
351
|
+
queryClient?: QueryClient,
|
|
352
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
353
|
+
export function useGetAccountServerRegistration<
|
|
354
|
+
TData = Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
355
|
+
TError = ErrorType<void | DmError>,
|
|
356
|
+
>(
|
|
357
|
+
options?: {
|
|
358
|
+
query?: Partial<
|
|
359
|
+
UseQueryOptions<Awaited<ReturnType<typeof getAccountServerRegistration>>, TError, TData>
|
|
360
|
+
>;
|
|
361
|
+
request?: SecondParameter<typeof customInstance>;
|
|
362
|
+
},
|
|
363
|
+
queryClient?: QueryClient,
|
|
364
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
253
365
|
/**
|
|
254
366
|
* @summary Gets the Data Manager Account Server Registration
|
|
255
367
|
*/
|
|
256
368
|
|
|
257
|
-
export function useGetAccountServerRegistration<
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
369
|
+
export function useGetAccountServerRegistration<
|
|
370
|
+
TData = Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
371
|
+
TError = ErrorType<void | DmError>,
|
|
372
|
+
>(
|
|
373
|
+
options?: {
|
|
374
|
+
query?: Partial<
|
|
375
|
+
UseQueryOptions<Awaited<ReturnType<typeof getAccountServerRegistration>>, TError, TData>
|
|
376
|
+
>;
|
|
377
|
+
request?: SecondParameter<typeof customInstance>;
|
|
378
|
+
},
|
|
379
|
+
queryClient?: QueryClient,
|
|
380
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
381
|
+
const queryOptions = useGetAccountServerRegistrationQueryOptions(options);
|
|
382
|
+
|
|
383
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
384
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
query.queryKey = queryOptions.queryKey;
|
|
267
388
|
|
|
268
389
|
return query;
|
|
269
390
|
}
|
|
270
391
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
392
|
+
export const useGetAccountServerRegistrationSuspenseQueryOptions = <
|
|
393
|
+
TData = Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
394
|
+
TError = ErrorType<void | DmError>,
|
|
395
|
+
>(options?: {
|
|
396
|
+
query?: Partial<
|
|
397
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAccountServerRegistration>>, TError, TData>
|
|
398
|
+
>;
|
|
399
|
+
request?: SecondParameter<typeof customInstance>;
|
|
400
|
+
}) => {
|
|
401
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
402
|
+
|
|
403
|
+
const queryKey = queryOptions?.queryKey ?? getGetAccountServerRegistrationQueryKey();
|
|
404
|
+
|
|
405
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getAccountServerRegistration>>> = ({
|
|
406
|
+
signal,
|
|
407
|
+
}) => getAccountServerRegistration(requestOptions, signal);
|
|
408
|
+
|
|
409
|
+
const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });
|
|
410
|
+
|
|
411
|
+
return customOptions as UseSuspenseQueryOptions<
|
|
412
|
+
Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
413
|
+
TError,
|
|
414
|
+
TData
|
|
415
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
export type GetAccountServerRegistrationSuspenseQueryResult = NonNullable<
|
|
419
|
+
Awaited<ReturnType<typeof getAccountServerRegistration>>
|
|
420
|
+
>;
|
|
421
|
+
export type GetAccountServerRegistrationSuspenseQueryError = ErrorType<void | DmError>;
|
|
422
|
+
|
|
423
|
+
export function useGetAccountServerRegistrationSuspense<
|
|
424
|
+
TData = Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
425
|
+
TError = ErrorType<void | DmError>,
|
|
426
|
+
>(
|
|
427
|
+
options: {
|
|
428
|
+
query: Partial<
|
|
429
|
+
UseSuspenseQueryOptions<
|
|
430
|
+
Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
431
|
+
TError,
|
|
432
|
+
TData
|
|
433
|
+
>
|
|
434
|
+
>;
|
|
435
|
+
request?: SecondParameter<typeof customInstance>;
|
|
436
|
+
},
|
|
437
|
+
queryClient?: QueryClient,
|
|
438
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
439
|
+
export function useGetAccountServerRegistrationSuspense<
|
|
440
|
+
TData = Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
441
|
+
TError = ErrorType<void | DmError>,
|
|
442
|
+
>(
|
|
443
|
+
options?: {
|
|
444
|
+
query?: Partial<
|
|
445
|
+
UseSuspenseQueryOptions<
|
|
446
|
+
Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
447
|
+
TError,
|
|
448
|
+
TData
|
|
449
|
+
>
|
|
450
|
+
>;
|
|
451
|
+
request?: SecondParameter<typeof customInstance>;
|
|
452
|
+
},
|
|
453
|
+
queryClient?: QueryClient,
|
|
454
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
455
|
+
export function useGetAccountServerRegistrationSuspense<
|
|
456
|
+
TData = Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
457
|
+
TError = ErrorType<void | DmError>,
|
|
458
|
+
>(
|
|
459
|
+
options?: {
|
|
460
|
+
query?: Partial<
|
|
461
|
+
UseSuspenseQueryOptions<
|
|
462
|
+
Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
463
|
+
TError,
|
|
464
|
+
TData
|
|
465
|
+
>
|
|
466
|
+
>;
|
|
467
|
+
request?: SecondParameter<typeof customInstance>;
|
|
468
|
+
},
|
|
469
|
+
queryClient?: QueryClient,
|
|
470
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
307
471
|
/**
|
|
308
472
|
* @summary Gets the Data Manager Account Server Registration
|
|
309
473
|
*/
|
|
310
474
|
|
|
311
|
-
export function useGetAccountServerRegistrationSuspense<
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
475
|
+
export function useGetAccountServerRegistrationSuspense<
|
|
476
|
+
TData = Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
477
|
+
TError = ErrorType<void | DmError>,
|
|
478
|
+
>(
|
|
479
|
+
options?: {
|
|
480
|
+
query?: Partial<
|
|
481
|
+
UseSuspenseQueryOptions<
|
|
482
|
+
Awaited<ReturnType<typeof getAccountServerRegistration>>,
|
|
483
|
+
TError,
|
|
484
|
+
TData
|
|
485
|
+
>
|
|
486
|
+
>;
|
|
487
|
+
request?: SecondParameter<typeof customInstance>;
|
|
488
|
+
},
|
|
489
|
+
queryClient?: QueryClient,
|
|
490
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
491
|
+
const queryOptions = useGetAccountServerRegistrationSuspenseQueryOptions(options);
|
|
492
|
+
|
|
493
|
+
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
494
|
+
TData,
|
|
495
|
+
TError
|
|
496
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
497
|
+
|
|
498
|
+
query.queryKey = queryOptions.queryKey;
|
|
321
499
|
|
|
322
500
|
return query;
|
|
323
501
|
}
|
|
324
502
|
|
|
325
|
-
|
|
326
|
-
|
|
327
503
|
/**
|
|
328
504
|
* @summary Gets the Data Manager version that's running behind the API
|
|
329
505
|
*/
|
|
330
506
|
export const getVersion = (
|
|
331
|
-
|
|
332
|
-
|
|
507
|
+
options?: SecondParameter<typeof customInstance>,
|
|
508
|
+
signal?: AbortSignal,
|
|
333
509
|
) => {
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
return customInstance<VersionGetResponse>(
|
|
337
|
-
{url: `/version`, method: 'GET', signal
|
|
338
|
-
},
|
|
339
|
-
options);
|
|
340
|
-
}
|
|
341
|
-
|
|
510
|
+
return customInstance<VersionGetResponse>({ url: `/version`, method: "GET", signal }, options);
|
|
511
|
+
};
|
|
342
512
|
|
|
343
513
|
export const getGetVersionQueryKey = () => {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
514
|
+
return [`/version`] as const;
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
export const useGetVersionQueryOptions = <
|
|
518
|
+
TData = Awaited<ReturnType<typeof getVersion>>,
|
|
519
|
+
TError = ErrorType<void | DmError>,
|
|
520
|
+
>(options?: {
|
|
521
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getVersion>>, TError, TData>>;
|
|
522
|
+
request?: SecondParameter<typeof customInstance>;
|
|
523
|
+
}) => {
|
|
524
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
525
|
+
|
|
526
|
+
const queryKey = queryOptions?.queryKey ?? getGetVersionQueryKey();
|
|
527
|
+
|
|
528
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getVersion>>> = ({ signal }) =>
|
|
529
|
+
getVersion(requestOptions, signal);
|
|
530
|
+
|
|
531
|
+
const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });
|
|
532
|
+
|
|
533
|
+
return customOptions as UseQueryOptions<Awaited<ReturnType<typeof getVersion>>, TError, TData> & {
|
|
534
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
export type GetVersionQueryResult = NonNullable<Awaited<ReturnType<typeof getVersion>>>;
|
|
539
|
+
export type GetVersionQueryError = ErrorType<void | DmError>;
|
|
540
|
+
|
|
541
|
+
export function useGetVersion<
|
|
542
|
+
TData = Awaited<ReturnType<typeof getVersion>>,
|
|
543
|
+
TError = ErrorType<void | DmError>,
|
|
544
|
+
>(
|
|
545
|
+
options: {
|
|
546
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getVersion>>, TError, TData>> &
|
|
547
|
+
Pick<
|
|
372
548
|
DefinedInitialDataOptions<
|
|
373
549
|
Awaited<ReturnType<typeof getVersion>>,
|
|
374
550
|
TError,
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
551
|
+
Awaited<ReturnType<typeof getVersion>>
|
|
552
|
+
>,
|
|
553
|
+
"initialData"
|
|
554
|
+
>;
|
|
555
|
+
request?: SecondParameter<typeof customInstance>;
|
|
556
|
+
},
|
|
557
|
+
queryClient?: QueryClient,
|
|
558
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
559
|
+
export function useGetVersion<
|
|
560
|
+
TData = Awaited<ReturnType<typeof getVersion>>,
|
|
561
|
+
TError = ErrorType<void | DmError>,
|
|
562
|
+
>(
|
|
563
|
+
options?: {
|
|
564
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getVersion>>, TError, TData>> &
|
|
565
|
+
Pick<
|
|
382
566
|
UndefinedInitialDataOptions<
|
|
383
567
|
Awaited<ReturnType<typeof getVersion>>,
|
|
384
568
|
TError,
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
569
|
+
Awaited<ReturnType<typeof getVersion>>
|
|
570
|
+
>,
|
|
571
|
+
"initialData"
|
|
572
|
+
>;
|
|
573
|
+
request?: SecondParameter<typeof customInstance>;
|
|
574
|
+
},
|
|
575
|
+
queryClient?: QueryClient,
|
|
576
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
577
|
+
export function useGetVersion<
|
|
578
|
+
TData = Awaited<ReturnType<typeof getVersion>>,
|
|
579
|
+
TError = ErrorType<void | DmError>,
|
|
580
|
+
>(
|
|
581
|
+
options?: {
|
|
582
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getVersion>>, TError, TData>>;
|
|
583
|
+
request?: SecondParameter<typeof customInstance>;
|
|
584
|
+
},
|
|
585
|
+
queryClient?: QueryClient,
|
|
586
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
394
587
|
/**
|
|
395
588
|
* @summary Gets the Data Manager version that's running behind the API
|
|
396
589
|
*/
|
|
397
590
|
|
|
398
|
-
export function useGetVersion<
|
|
399
|
-
|
|
591
|
+
export function useGetVersion<
|
|
592
|
+
TData = Awaited<ReturnType<typeof getVersion>>,
|
|
593
|
+
TError = ErrorType<void | DmError>,
|
|
594
|
+
>(
|
|
595
|
+
options?: {
|
|
596
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getVersion>>, TError, TData>>;
|
|
597
|
+
request?: SecondParameter<typeof customInstance>;
|
|
598
|
+
},
|
|
599
|
+
queryClient?: QueryClient,
|
|
600
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
601
|
+
const queryOptions = useGetVersionQueryOptions(options);
|
|
400
602
|
|
|
401
|
-
|
|
603
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
604
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
605
|
+
};
|
|
402
606
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
406
|
-
|
|
407
|
-
query.queryKey = queryOptions.queryKey ;
|
|
607
|
+
query.queryKey = queryOptions.queryKey;
|
|
408
608
|
|
|
409
609
|
return query;
|
|
410
610
|
}
|
|
411
611
|
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
const
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
export
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
612
|
+
export const useGetVersionSuspenseQueryOptions = <
|
|
613
|
+
TData = Awaited<ReturnType<typeof getVersion>>,
|
|
614
|
+
TError = ErrorType<void | DmError>,
|
|
615
|
+
>(options?: {
|
|
616
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getVersion>>, TError, TData>>;
|
|
617
|
+
request?: SecondParameter<typeof customInstance>;
|
|
618
|
+
}) => {
|
|
619
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
620
|
+
|
|
621
|
+
const queryKey = queryOptions?.queryKey ?? getGetVersionQueryKey();
|
|
622
|
+
|
|
623
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getVersion>>> = ({ signal }) =>
|
|
624
|
+
getVersion(requestOptions, signal);
|
|
625
|
+
|
|
626
|
+
const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });
|
|
627
|
+
|
|
628
|
+
return customOptions as UseSuspenseQueryOptions<
|
|
629
|
+
Awaited<ReturnType<typeof getVersion>>,
|
|
630
|
+
TError,
|
|
631
|
+
TData
|
|
632
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
export type GetVersionSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getVersion>>>;
|
|
636
|
+
export type GetVersionSuspenseQueryError = ErrorType<void | DmError>;
|
|
637
|
+
|
|
638
|
+
export function useGetVersionSuspense<
|
|
639
|
+
TData = Awaited<ReturnType<typeof getVersion>>,
|
|
640
|
+
TError = ErrorType<void | DmError>,
|
|
641
|
+
>(
|
|
642
|
+
options: {
|
|
643
|
+
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getVersion>>, TError, TData>>;
|
|
644
|
+
request?: SecondParameter<typeof customInstance>;
|
|
645
|
+
},
|
|
646
|
+
queryClient?: QueryClient,
|
|
647
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
648
|
+
export function useGetVersionSuspense<
|
|
649
|
+
TData = Awaited<ReturnType<typeof getVersion>>,
|
|
650
|
+
TError = ErrorType<void | DmError>,
|
|
651
|
+
>(
|
|
652
|
+
options?: {
|
|
653
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getVersion>>, TError, TData>>;
|
|
654
|
+
request?: SecondParameter<typeof customInstance>;
|
|
655
|
+
},
|
|
656
|
+
queryClient?: QueryClient,
|
|
657
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
658
|
+
export function useGetVersionSuspense<
|
|
659
|
+
TData = Awaited<ReturnType<typeof getVersion>>,
|
|
660
|
+
TError = ErrorType<void | DmError>,
|
|
661
|
+
>(
|
|
662
|
+
options?: {
|
|
663
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getVersion>>, TError, TData>>;
|
|
664
|
+
request?: SecondParameter<typeof customInstance>;
|
|
665
|
+
},
|
|
666
|
+
queryClient?: QueryClient,
|
|
667
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
448
668
|
/**
|
|
449
669
|
* @summary Gets the Data Manager version that's running behind the API
|
|
450
670
|
*/
|
|
451
671
|
|
|
452
|
-
export function useGetVersionSuspense<
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
672
|
+
export function useGetVersionSuspense<
|
|
673
|
+
TData = Awaited<ReturnType<typeof getVersion>>,
|
|
674
|
+
TError = ErrorType<void | DmError>,
|
|
675
|
+
>(
|
|
676
|
+
options?: {
|
|
677
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getVersion>>, TError, TData>>;
|
|
678
|
+
request?: SecondParameter<typeof customInstance>;
|
|
679
|
+
},
|
|
680
|
+
queryClient?: QueryClient,
|
|
681
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
682
|
+
const queryOptions = useGetVersionSuspenseQueryOptions(options);
|
|
683
|
+
|
|
684
|
+
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
685
|
+
TData,
|
|
686
|
+
TError
|
|
687
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
688
|
+
|
|
689
|
+
query.queryKey = queryOptions.queryKey;
|
|
462
690
|
|
|
463
691
|
return query;
|
|
464
692
|
}
|
|
465
693
|
|
|
466
|
-
|
|
467
|
-
|
|
468
694
|
/**
|
|
469
695
|
* @summary Gets the Data Manager Workflow Engine version that's running behind the API
|
|
470
696
|
*/
|
|
471
697
|
export const getWorkflowEngineVersion = (
|
|
472
|
-
|
|
473
|
-
|
|
698
|
+
options?: SecondParameter<typeof customInstance>,
|
|
699
|
+
signal?: AbortSignal,
|
|
474
700
|
) => {
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
options);
|
|
481
|
-
}
|
|
482
|
-
|
|
701
|
+
return customInstance<VersionGetResponse>(
|
|
702
|
+
{ url: `/workflow-engine/version`, method: "GET", signal },
|
|
703
|
+
options,
|
|
704
|
+
);
|
|
705
|
+
};
|
|
483
706
|
|
|
484
707
|
export const getGetWorkflowEngineVersionQueryKey = () => {
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
708
|
+
return [`/workflow-engine/version`] as const;
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
export const useGetWorkflowEngineVersionQueryOptions = <
|
|
712
|
+
TData = Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
713
|
+
TError = ErrorType<void | DmError>,
|
|
714
|
+
>(options?: {
|
|
715
|
+
query?: Partial<
|
|
716
|
+
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowEngineVersion>>, TError, TData>
|
|
717
|
+
>;
|
|
718
|
+
request?: SecondParameter<typeof customInstance>;
|
|
719
|
+
}) => {
|
|
720
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
721
|
+
|
|
722
|
+
const queryKey = queryOptions?.queryKey ?? getGetWorkflowEngineVersionQueryKey();
|
|
723
|
+
|
|
724
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getWorkflowEngineVersion>>> = ({
|
|
725
|
+
signal,
|
|
726
|
+
}) => getWorkflowEngineVersion(requestOptions, signal);
|
|
727
|
+
|
|
728
|
+
const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });
|
|
729
|
+
|
|
730
|
+
return customOptions as UseQueryOptions<
|
|
731
|
+
Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
732
|
+
TError,
|
|
733
|
+
TData
|
|
734
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
export type GetWorkflowEngineVersionQueryResult = NonNullable<
|
|
738
|
+
Awaited<ReturnType<typeof getWorkflowEngineVersion>>
|
|
739
|
+
>;
|
|
740
|
+
export type GetWorkflowEngineVersionQueryError = ErrorType<void | DmError>;
|
|
741
|
+
|
|
742
|
+
export function useGetWorkflowEngineVersion<
|
|
743
|
+
TData = Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
744
|
+
TError = ErrorType<void | DmError>,
|
|
745
|
+
>(
|
|
746
|
+
options: {
|
|
747
|
+
query: Partial<
|
|
748
|
+
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowEngineVersion>>, TError, TData>
|
|
749
|
+
> &
|
|
750
|
+
Pick<
|
|
513
751
|
DefinedInitialDataOptions<
|
|
514
752
|
Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
515
753
|
TError,
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
754
|
+
Awaited<ReturnType<typeof getWorkflowEngineVersion>>
|
|
755
|
+
>,
|
|
756
|
+
"initialData"
|
|
757
|
+
>;
|
|
758
|
+
request?: SecondParameter<typeof customInstance>;
|
|
759
|
+
},
|
|
760
|
+
queryClient?: QueryClient,
|
|
761
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
762
|
+
export function useGetWorkflowEngineVersion<
|
|
763
|
+
TData = Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
764
|
+
TError = ErrorType<void | DmError>,
|
|
765
|
+
>(
|
|
766
|
+
options?: {
|
|
767
|
+
query?: Partial<
|
|
768
|
+
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowEngineVersion>>, TError, TData>
|
|
769
|
+
> &
|
|
770
|
+
Pick<
|
|
523
771
|
UndefinedInitialDataOptions<
|
|
524
772
|
Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
525
773
|
TError,
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
774
|
+
Awaited<ReturnType<typeof getWorkflowEngineVersion>>
|
|
775
|
+
>,
|
|
776
|
+
"initialData"
|
|
777
|
+
>;
|
|
778
|
+
request?: SecondParameter<typeof customInstance>;
|
|
779
|
+
},
|
|
780
|
+
queryClient?: QueryClient,
|
|
781
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
782
|
+
export function useGetWorkflowEngineVersion<
|
|
783
|
+
TData = Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
784
|
+
TError = ErrorType<void | DmError>,
|
|
785
|
+
>(
|
|
786
|
+
options?: {
|
|
787
|
+
query?: Partial<
|
|
788
|
+
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowEngineVersion>>, TError, TData>
|
|
789
|
+
>;
|
|
790
|
+
request?: SecondParameter<typeof customInstance>;
|
|
791
|
+
},
|
|
792
|
+
queryClient?: QueryClient,
|
|
793
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
535
794
|
/**
|
|
536
795
|
* @summary Gets the Data Manager Workflow Engine version that's running behind the API
|
|
537
796
|
*/
|
|
538
797
|
|
|
539
|
-
export function useGetWorkflowEngineVersion<
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
798
|
+
export function useGetWorkflowEngineVersion<
|
|
799
|
+
TData = Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
800
|
+
TError = ErrorType<void | DmError>,
|
|
801
|
+
>(
|
|
802
|
+
options?: {
|
|
803
|
+
query?: Partial<
|
|
804
|
+
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowEngineVersion>>, TError, TData>
|
|
805
|
+
>;
|
|
806
|
+
request?: SecondParameter<typeof customInstance>;
|
|
807
|
+
},
|
|
808
|
+
queryClient?: QueryClient,
|
|
809
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
810
|
+
const queryOptions = useGetWorkflowEngineVersionQueryOptions(options);
|
|
811
|
+
|
|
812
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
813
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
814
|
+
};
|
|
815
|
+
|
|
816
|
+
query.queryKey = queryOptions.queryKey;
|
|
549
817
|
|
|
550
818
|
return query;
|
|
551
819
|
}
|
|
552
820
|
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
821
|
+
export const useGetWorkflowEngineVersionSuspenseQueryOptions = <
|
|
822
|
+
TData = Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
823
|
+
TError = ErrorType<void | DmError>,
|
|
824
|
+
>(options?: {
|
|
825
|
+
query?: Partial<
|
|
826
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getWorkflowEngineVersion>>, TError, TData>
|
|
827
|
+
>;
|
|
828
|
+
request?: SecondParameter<typeof customInstance>;
|
|
829
|
+
}) => {
|
|
830
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
831
|
+
|
|
832
|
+
const queryKey = queryOptions?.queryKey ?? getGetWorkflowEngineVersionQueryKey();
|
|
833
|
+
|
|
834
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getWorkflowEngineVersion>>> = ({
|
|
835
|
+
signal,
|
|
836
|
+
}) => getWorkflowEngineVersion(requestOptions, signal);
|
|
837
|
+
|
|
838
|
+
const customOptions = queryMutator({ ...queryOptions, queryKey, queryFn });
|
|
839
|
+
|
|
840
|
+
return customOptions as UseSuspenseQueryOptions<
|
|
841
|
+
Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
842
|
+
TError,
|
|
843
|
+
TData
|
|
844
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
845
|
+
};
|
|
846
|
+
|
|
847
|
+
export type GetWorkflowEngineVersionSuspenseQueryResult = NonNullable<
|
|
848
|
+
Awaited<ReturnType<typeof getWorkflowEngineVersion>>
|
|
849
|
+
>;
|
|
850
|
+
export type GetWorkflowEngineVersionSuspenseQueryError = ErrorType<void | DmError>;
|
|
851
|
+
|
|
852
|
+
export function useGetWorkflowEngineVersionSuspense<
|
|
853
|
+
TData = Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
854
|
+
TError = ErrorType<void | DmError>,
|
|
855
|
+
>(
|
|
856
|
+
options: {
|
|
857
|
+
query: Partial<
|
|
858
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getWorkflowEngineVersion>>, TError, TData>
|
|
859
|
+
>;
|
|
860
|
+
request?: SecondParameter<typeof customInstance>;
|
|
861
|
+
},
|
|
862
|
+
queryClient?: QueryClient,
|
|
863
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
864
|
+
export function useGetWorkflowEngineVersionSuspense<
|
|
865
|
+
TData = Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
866
|
+
TError = ErrorType<void | DmError>,
|
|
867
|
+
>(
|
|
868
|
+
options?: {
|
|
869
|
+
query?: Partial<
|
|
870
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getWorkflowEngineVersion>>, TError, TData>
|
|
871
|
+
>;
|
|
872
|
+
request?: SecondParameter<typeof customInstance>;
|
|
873
|
+
},
|
|
874
|
+
queryClient?: QueryClient,
|
|
875
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
876
|
+
export function useGetWorkflowEngineVersionSuspense<
|
|
877
|
+
TData = Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
878
|
+
TError = ErrorType<void | DmError>,
|
|
879
|
+
>(
|
|
880
|
+
options?: {
|
|
881
|
+
query?: Partial<
|
|
882
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getWorkflowEngineVersion>>, TError, TData>
|
|
883
|
+
>;
|
|
884
|
+
request?: SecondParameter<typeof customInstance>;
|
|
885
|
+
},
|
|
886
|
+
queryClient?: QueryClient,
|
|
887
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
589
888
|
/**
|
|
590
889
|
* @summary Gets the Data Manager Workflow Engine version that's running behind the API
|
|
591
890
|
*/
|
|
592
891
|
|
|
593
|
-
export function useGetWorkflowEngineVersionSuspense<
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
892
|
+
export function useGetWorkflowEngineVersionSuspense<
|
|
893
|
+
TData = Awaited<ReturnType<typeof getWorkflowEngineVersion>>,
|
|
894
|
+
TError = ErrorType<void | DmError>,
|
|
895
|
+
>(
|
|
896
|
+
options?: {
|
|
897
|
+
query?: Partial<
|
|
898
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getWorkflowEngineVersion>>, TError, TData>
|
|
899
|
+
>;
|
|
900
|
+
request?: SecondParameter<typeof customInstance>;
|
|
901
|
+
},
|
|
902
|
+
queryClient?: QueryClient,
|
|
903
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
904
|
+
const queryOptions = useGetWorkflowEngineVersionSuspenseQueryOptions(options);
|
|
905
|
+
|
|
906
|
+
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
907
|
+
TData,
|
|
908
|
+
TError
|
|
909
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
910
|
+
|
|
911
|
+
query.queryKey = queryOptions.queryKey;
|
|
603
912
|
|
|
604
913
|
return query;
|
|
605
914
|
}
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|