@squonk/data-manager-client 3.3.0 → 3.3.1
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.map +1 -1
- package/accounting/accounting.d.cts +25 -25
- package/accounting/accounting.d.ts +25 -25
- package/accounting/accounting.js.map +1 -1
- package/admin/admin.cjs +16 -8
- package/admin/admin.cjs.map +1 -1
- package/admin/admin.d.cts +73 -73
- package/admin/admin.d.ts +73 -73
- package/admin/admin.js +16 -8
- package/admin/admin.js.map +1 -1
- package/application/application.cjs +1 -1
- package/application/application.cjs.map +1 -1
- package/application/application.d.cts +17 -17
- package/application/application.d.ts +17 -17
- package/application/application.js +1 -1
- package/application/application.js.map +1 -1
- package/configuration/configuration.cjs.map +1 -1
- package/configuration/configuration.d.cts +9 -9
- package/configuration/configuration.d.ts +9 -9
- package/configuration/configuration.js.map +1 -1
- package/dataset/dataset.cjs +16 -10
- package/dataset/dataset.cjs.map +1 -1
- package/dataset/dataset.d.cts +64 -64
- package/dataset/dataset.d.ts +64 -64
- package/dataset/dataset.js +16 -10
- package/dataset/dataset.js.map +1 -1
- package/digest/digest.cjs +1 -1
- package/digest/digest.cjs.map +1 -1
- package/digest/digest.d.cts +9 -9
- package/digest/digest.d.ts +9 -9
- package/digest/digest.js +1 -1
- package/digest/digest.js.map +1 -1
- package/exchange-rate/exchange-rate.cjs +6 -4
- package/exchange-rate/exchange-rate.cjs.map +1 -1
- package/exchange-rate/exchange-rate.d.cts +45 -45
- package/exchange-rate/exchange-rate.d.ts +45 -45
- package/exchange-rate/exchange-rate.js +6 -4
- package/exchange-rate/exchange-rate.js.map +1 -1
- package/file-and-path/file-and-path.cjs +18 -10
- package/file-and-path/file-and-path.cjs.map +1 -1
- package/file-and-path/file-and-path.d.cts +60 -60
- package/file-and-path/file-and-path.d.ts +60 -60
- package/file-and-path/file-and-path.js +18 -10
- package/file-and-path/file-and-path.js.map +1 -1
- package/index.cjs +8 -8
- package/index.cjs.map +1 -1
- package/index.d.cts +537 -537
- package/index.d.ts +537 -537
- package/index.js +8 -8
- package/index.js.map +1 -1
- package/instance/instance.cjs +17 -10
- package/instance/instance.cjs.map +1 -1
- package/instance/instance.d.cts +49 -49
- package/instance/instance.d.ts +49 -49
- package/instance/instance.js +17 -10
- package/instance/instance.js.map +1 -1
- package/inventory/inventory.cjs.map +1 -1
- package/inventory/inventory.d.cts +9 -9
- package/inventory/inventory.d.ts +9 -9
- package/inventory/inventory.js.map +1 -1
- package/job/job.cjs +1 -1
- package/job/job.cjs.map +1 -1
- package/job/job.d.cts +25 -25
- package/job/job.d.ts +25 -25
- package/job/job.js +1 -1
- package/job/job.js.map +1 -1
- package/metadata/metadata.cjs +12 -8
- package/metadata/metadata.cjs.map +1 -1
- package/metadata/metadata.d.cts +31 -31
- package/metadata/metadata.d.ts +31 -31
- package/metadata/metadata.js +12 -8
- package/metadata/metadata.js.map +1 -1
- package/package.json +11 -11
- package/project/project.cjs +26 -15
- package/project/project.cjs.map +1 -1
- package/project/project.d.cts +94 -94
- package/project/project.d.ts +94 -94
- package/project/project.js +26 -15
- package/project/project.js.map +1 -1
- package/src/accounting/accounting.ts +38 -37
- package/src/admin/admin.ts +142 -101
- package/src/application/application.ts +26 -25
- package/src/configuration/configuration.ts +14 -13
- package/src/data-manager-api.schemas.ts +545 -545
- package/src/dataset/dataset.ts +118 -91
- package/src/digest/digest.ts +14 -13
- package/src/exchange-rate/exchange-rate.ts +76 -65
- package/src/file-and-path/file-and-path.ts +120 -83
- package/src/instance/instance.ts +97 -69
- package/src/inventory/inventory.ts +14 -13
- package/src/job/job.ts +38 -37
- package/src/metadata/metadata.ts +58 -45
- package/src/project/project.ts +183 -131
- package/src/task/task.ts +39 -33
- package/src/type/type.ts +14 -13
- package/src/user/user.ts +51 -45
- package/task/task.cjs +3 -2
- package/task/task.cjs.map +1 -1
- package/task/task.d.cts +23 -23
- package/task/task.d.ts +23 -23
- package/task/task.js +3 -2
- package/task/task.js.map +1 -1
- package/type/type.cjs.map +1 -1
- package/type/type.d.cts +9 -9
- package/type/type.d.ts +9 -9
- package/type/type.js.map +1 -1
- package/user/user.cjs +2 -1
- package/user/user.cjs.map +1 -1
- package/user/user.d.cts +31 -31
- package/user/user.d.ts +31 -31
- package/user/user.js +2 -1
- package/user/user.js.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UseQueryOptions, QueryKey, DefinedInitialDataOptions, DefinedUseQueryResult, UndefinedInitialDataOptions, UseQueryResult, UseSuspenseQueryOptions, UseSuspenseQueryResult, UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
1
|
+
import { UseQueryOptions, DataTag, QueryKey, DefinedInitialDataOptions, DefinedUseQueryResult, UndefinedInitialDataOptions, UseQueryResult, UseSuspenseQueryOptions, UseSuspenseQueryResult, UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
2
2
|
import { GetAllApplicationExchangeRatesParams, customInstance, GetAllExchangeRatesResponse, ErrorType, DmError, ExchangeRatePutBodyBody, GetApplicationExchangeRatesParams, GetExchangeRatesResponse, GetAllJobExchangeRatesParams, GetJobExchangeRatesParams } from '../index.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
|
|
@@ -16,7 +16,7 @@ declare const getGetAllApplicationExchangeRatesQueryOptions: <TData = GetAllExch
|
|
|
16
16
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>;
|
|
17
17
|
request?: SecondParameter<typeof customInstance>;
|
|
18
18
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData> & {
|
|
19
|
-
queryKey: QueryKey
|
|
19
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
20
20
|
};
|
|
21
21
|
type GetAllApplicationExchangeRatesQueryResult = NonNullable<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>>;
|
|
22
22
|
type GetAllApplicationExchangeRatesQueryError = ErrorType<void | DmError>;
|
|
@@ -24,25 +24,25 @@ declare function useGetAllApplicationExchangeRates<TData = Awaited<ReturnType<ty
|
|
|
24
24
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>, 'initialData'>;
|
|
25
25
|
request?: SecondParameter<typeof customInstance>;
|
|
26
26
|
}): DefinedUseQueryResult<TData, TError> & {
|
|
27
|
-
queryKey: QueryKey
|
|
27
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
28
28
|
};
|
|
29
29
|
declare function useGetAllApplicationExchangeRates<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllApplicationExchangeRatesParams, options?: {
|
|
30
30
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>, 'initialData'>;
|
|
31
31
|
request?: SecondParameter<typeof customInstance>;
|
|
32
32
|
}): UseQueryResult<TData, TError> & {
|
|
33
|
-
queryKey: QueryKey
|
|
33
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
34
34
|
};
|
|
35
35
|
declare function useGetAllApplicationExchangeRates<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllApplicationExchangeRatesParams, options?: {
|
|
36
36
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>;
|
|
37
37
|
request?: SecondParameter<typeof customInstance>;
|
|
38
38
|
}): UseQueryResult<TData, TError> & {
|
|
39
|
-
queryKey: QueryKey
|
|
39
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
40
40
|
};
|
|
41
41
|
declare const getGetAllApplicationExchangeRatesSuspenseQueryOptions: <TData = GetAllExchangeRatesResponse, TError = ErrorType<void | DmError>>(params?: GetAllApplicationExchangeRatesParams, options?: {
|
|
42
42
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>;
|
|
43
43
|
request?: SecondParameter<typeof customInstance>;
|
|
44
44
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData> & {
|
|
45
|
-
queryKey: QueryKey
|
|
45
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
46
46
|
};
|
|
47
47
|
type GetAllApplicationExchangeRatesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>>;
|
|
48
48
|
type GetAllApplicationExchangeRatesSuspenseQueryError = ErrorType<void | DmError>;
|
|
@@ -50,19 +50,19 @@ declare function useGetAllApplicationExchangeRatesSuspense<TData = Awaited<Retur
|
|
|
50
50
|
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>;
|
|
51
51
|
request?: SecondParameter<typeof customInstance>;
|
|
52
52
|
}): UseSuspenseQueryResult<TData, TError> & {
|
|
53
|
-
queryKey: QueryKey
|
|
53
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
54
54
|
};
|
|
55
55
|
declare function useGetAllApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllApplicationExchangeRatesParams, options?: {
|
|
56
56
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>;
|
|
57
57
|
request?: SecondParameter<typeof customInstance>;
|
|
58
58
|
}): UseSuspenseQueryResult<TData, TError> & {
|
|
59
|
-
queryKey: QueryKey
|
|
59
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
60
60
|
};
|
|
61
61
|
declare function useGetAllApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllApplicationExchangeRatesParams, options?: {
|
|
62
62
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>;
|
|
63
63
|
request?: SecondParameter<typeof customInstance>;
|
|
64
64
|
}): UseSuspenseQueryResult<TData, TError> & {
|
|
65
|
-
queryKey: QueryKey
|
|
65
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
68
|
* Sets the Exchange Rate for a specific Application. The rate replaces any existing rate for the Application and applies to all future executions of the Application.
|
|
@@ -74,13 +74,13 @@ You need `admin` privilege to use this method.
|
|
|
74
74
|
* @summary Sets the Exchange Rate for a specific Application
|
|
75
75
|
*/
|
|
76
76
|
declare const setApplicationExchangeRate: (applicationId: string, exchangeRatePutBodyBody: ExchangeRatePutBodyBody, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
77
|
-
declare const getSetApplicationExchangeRateMutationOptions: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
78
|
-
mutation?: UseMutationOptions<
|
|
77
|
+
declare const getSetApplicationExchangeRateMutationOptions: <TData = void, TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
78
|
+
mutation?: UseMutationOptions<TData, TError, {
|
|
79
79
|
applicationId: string;
|
|
80
80
|
data: ExchangeRatePutBodyBody;
|
|
81
81
|
}, TContext>;
|
|
82
82
|
request?: SecondParameter<typeof customInstance>;
|
|
83
|
-
}) => UseMutationOptions<
|
|
83
|
+
}) => UseMutationOptions<TData, TError, {
|
|
84
84
|
applicationId: string;
|
|
85
85
|
data: ExchangeRatePutBodyBody;
|
|
86
86
|
}, TContext>;
|
|
@@ -90,13 +90,13 @@ type SetApplicationExchangeRateMutationError = ErrorType<void | DmError>;
|
|
|
90
90
|
/**
|
|
91
91
|
* @summary Sets the Exchange Rate for a specific Application
|
|
92
92
|
*/
|
|
93
|
-
declare const useSetApplicationExchangeRate: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
94
|
-
mutation?: UseMutationOptions<
|
|
93
|
+
declare const useSetApplicationExchangeRate: <TData = void, TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
94
|
+
mutation?: UseMutationOptions<TData, TError, {
|
|
95
95
|
applicationId: string;
|
|
96
96
|
data: ExchangeRatePutBodyBody;
|
|
97
97
|
}, TContext>;
|
|
98
98
|
request?: SecondParameter<typeof customInstance>;
|
|
99
|
-
}) => UseMutationResult<
|
|
99
|
+
}) => UseMutationResult<TData, TError, {
|
|
100
100
|
applicationId: string;
|
|
101
101
|
data: ExchangeRatePutBodyBody;
|
|
102
102
|
}, TContext>;
|
|
@@ -111,7 +111,7 @@ declare const getGetApplicationExchangeRatesQueryOptions: <TData = GetExchangeRa
|
|
|
111
111
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>;
|
|
112
112
|
request?: SecondParameter<typeof customInstance>;
|
|
113
113
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData> & {
|
|
114
|
-
queryKey: QueryKey
|
|
114
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
115
115
|
};
|
|
116
116
|
type GetApplicationExchangeRatesQueryResult = NonNullable<Awaited<ReturnType<typeof getApplicationExchangeRates>>>;
|
|
117
117
|
type GetApplicationExchangeRatesQueryError = ErrorType<void | DmError>;
|
|
@@ -119,25 +119,25 @@ declare function useGetApplicationExchangeRates<TData = Awaited<ReturnType<typeo
|
|
|
119
119
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>, 'initialData'>;
|
|
120
120
|
request?: SecondParameter<typeof customInstance>;
|
|
121
121
|
}): DefinedUseQueryResult<TData, TError> & {
|
|
122
|
-
queryKey: QueryKey
|
|
122
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
123
123
|
};
|
|
124
124
|
declare function useGetApplicationExchangeRates<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(applicationId: string, params?: GetApplicationExchangeRatesParams, options?: {
|
|
125
125
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>, 'initialData'>;
|
|
126
126
|
request?: SecondParameter<typeof customInstance>;
|
|
127
127
|
}): UseQueryResult<TData, TError> & {
|
|
128
|
-
queryKey: QueryKey
|
|
128
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
129
129
|
};
|
|
130
130
|
declare function useGetApplicationExchangeRates<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(applicationId: string, params?: GetApplicationExchangeRatesParams, options?: {
|
|
131
131
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>;
|
|
132
132
|
request?: SecondParameter<typeof customInstance>;
|
|
133
133
|
}): UseQueryResult<TData, TError> & {
|
|
134
|
-
queryKey: QueryKey
|
|
134
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
135
135
|
};
|
|
136
136
|
declare const getGetApplicationExchangeRatesSuspenseQueryOptions: <TData = GetExchangeRatesResponse, TError = ErrorType<void | DmError>>(applicationId: string, params?: GetApplicationExchangeRatesParams, options?: {
|
|
137
137
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>;
|
|
138
138
|
request?: SecondParameter<typeof customInstance>;
|
|
139
139
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData> & {
|
|
140
|
-
queryKey: QueryKey
|
|
140
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
141
141
|
};
|
|
142
142
|
type GetApplicationExchangeRatesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getApplicationExchangeRates>>>;
|
|
143
143
|
type GetApplicationExchangeRatesSuspenseQueryError = ErrorType<void | DmError>;
|
|
@@ -145,19 +145,19 @@ declare function useGetApplicationExchangeRatesSuspense<TData = Awaited<ReturnTy
|
|
|
145
145
|
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>;
|
|
146
146
|
request?: SecondParameter<typeof customInstance>;
|
|
147
147
|
}): UseSuspenseQueryResult<TData, TError> & {
|
|
148
|
-
queryKey: QueryKey
|
|
148
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
149
149
|
};
|
|
150
150
|
declare function useGetApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(applicationId: string, params?: GetApplicationExchangeRatesParams, options?: {
|
|
151
151
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>;
|
|
152
152
|
request?: SecondParameter<typeof customInstance>;
|
|
153
153
|
}): UseSuspenseQueryResult<TData, TError> & {
|
|
154
|
-
queryKey: QueryKey
|
|
154
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
155
155
|
};
|
|
156
156
|
declare function useGetApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(applicationId: string, params?: GetApplicationExchangeRatesParams, options?: {
|
|
157
157
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>;
|
|
158
158
|
request?: SecondParameter<typeof customInstance>;
|
|
159
159
|
}): UseSuspenseQueryResult<TData, TError> & {
|
|
160
|
-
queryKey: QueryKey
|
|
160
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
161
161
|
};
|
|
162
162
|
/**
|
|
163
163
|
* For every Job that has an exchange rate the current rate is returned. If you want a list of all Jobs that have no exchange rate, set the `only_undefined` query option.
|
|
@@ -170,7 +170,7 @@ declare const getGetAllJobExchangeRatesQueryOptions: <TData = GetAllExchangeRate
|
|
|
170
170
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>;
|
|
171
171
|
request?: SecondParameter<typeof customInstance>;
|
|
172
172
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData> & {
|
|
173
|
-
queryKey: QueryKey
|
|
173
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
174
174
|
};
|
|
175
175
|
type GetAllJobExchangeRatesQueryResult = NonNullable<Awaited<ReturnType<typeof getAllJobExchangeRates>>>;
|
|
176
176
|
type GetAllJobExchangeRatesQueryError = ErrorType<void | DmError>;
|
|
@@ -178,25 +178,25 @@ declare function useGetAllJobExchangeRates<TData = Awaited<ReturnType<typeof get
|
|
|
178
178
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>, 'initialData'>;
|
|
179
179
|
request?: SecondParameter<typeof customInstance>;
|
|
180
180
|
}): DefinedUseQueryResult<TData, TError> & {
|
|
181
|
-
queryKey: QueryKey
|
|
181
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
182
182
|
};
|
|
183
183
|
declare function useGetAllJobExchangeRates<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllJobExchangeRatesParams, options?: {
|
|
184
184
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>, 'initialData'>;
|
|
185
185
|
request?: SecondParameter<typeof customInstance>;
|
|
186
186
|
}): UseQueryResult<TData, TError> & {
|
|
187
|
-
queryKey: QueryKey
|
|
187
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
188
188
|
};
|
|
189
189
|
declare function useGetAllJobExchangeRates<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllJobExchangeRatesParams, options?: {
|
|
190
190
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>;
|
|
191
191
|
request?: SecondParameter<typeof customInstance>;
|
|
192
192
|
}): UseQueryResult<TData, TError> & {
|
|
193
|
-
queryKey: QueryKey
|
|
193
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
194
194
|
};
|
|
195
195
|
declare const getGetAllJobExchangeRatesSuspenseQueryOptions: <TData = GetAllExchangeRatesResponse, TError = ErrorType<void | DmError>>(params?: GetAllJobExchangeRatesParams, options?: {
|
|
196
196
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>;
|
|
197
197
|
request?: SecondParameter<typeof customInstance>;
|
|
198
198
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData> & {
|
|
199
|
-
queryKey: QueryKey
|
|
199
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
200
200
|
};
|
|
201
201
|
type GetAllJobExchangeRatesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getAllJobExchangeRates>>>;
|
|
202
202
|
type GetAllJobExchangeRatesSuspenseQueryError = ErrorType<void | DmError>;
|
|
@@ -204,19 +204,19 @@ declare function useGetAllJobExchangeRatesSuspense<TData = Awaited<ReturnType<ty
|
|
|
204
204
|
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>;
|
|
205
205
|
request?: SecondParameter<typeof customInstance>;
|
|
206
206
|
}): UseSuspenseQueryResult<TData, TError> & {
|
|
207
|
-
queryKey: QueryKey
|
|
207
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
208
208
|
};
|
|
209
209
|
declare function useGetAllJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllJobExchangeRatesParams, options?: {
|
|
210
210
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>;
|
|
211
211
|
request?: SecondParameter<typeof customInstance>;
|
|
212
212
|
}): UseSuspenseQueryResult<TData, TError> & {
|
|
213
|
-
queryKey: QueryKey
|
|
213
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
214
214
|
};
|
|
215
215
|
declare function useGetAllJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllJobExchangeRatesParams, options?: {
|
|
216
216
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>;
|
|
217
217
|
request?: SecondParameter<typeof customInstance>;
|
|
218
218
|
}): UseSuspenseQueryResult<TData, TError> & {
|
|
219
|
-
queryKey: QueryKey
|
|
219
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
220
220
|
};
|
|
221
221
|
/**
|
|
222
222
|
* Sets the Exchange Rate for a specific job. The rate replaces any existing rate for the Job and applies immediately and future job executions for this Job will inherit this rate.
|
|
@@ -230,13 +230,13 @@ You need `admin` privilege to use this method.
|
|
|
230
230
|
* @summary Sets the Exchange Rate for a specific Job
|
|
231
231
|
*/
|
|
232
232
|
declare const setJobPricing: (jobId: number, exchangeRatePutBodyBody: ExchangeRatePutBodyBody, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
233
|
-
declare const getSetJobPricingMutationOptions: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
234
|
-
mutation?: UseMutationOptions<
|
|
233
|
+
declare const getSetJobPricingMutationOptions: <TData = void, TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
234
|
+
mutation?: UseMutationOptions<TData, TError, {
|
|
235
235
|
jobId: number;
|
|
236
236
|
data: ExchangeRatePutBodyBody;
|
|
237
237
|
}, TContext>;
|
|
238
238
|
request?: SecondParameter<typeof customInstance>;
|
|
239
|
-
}) => UseMutationOptions<
|
|
239
|
+
}) => UseMutationOptions<TData, TError, {
|
|
240
240
|
jobId: number;
|
|
241
241
|
data: ExchangeRatePutBodyBody;
|
|
242
242
|
}, TContext>;
|
|
@@ -246,13 +246,13 @@ type SetJobPricingMutationError = ErrorType<void | DmError>;
|
|
|
246
246
|
/**
|
|
247
247
|
* @summary Sets the Exchange Rate for a specific Job
|
|
248
248
|
*/
|
|
249
|
-
declare const useSetJobPricing: <TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
250
|
-
mutation?: UseMutationOptions<
|
|
249
|
+
declare const useSetJobPricing: <TData = void, TError = ErrorType<void | DmError>, TContext = unknown>(options?: {
|
|
250
|
+
mutation?: UseMutationOptions<TData, TError, {
|
|
251
251
|
jobId: number;
|
|
252
252
|
data: ExchangeRatePutBodyBody;
|
|
253
253
|
}, TContext>;
|
|
254
254
|
request?: SecondParameter<typeof customInstance>;
|
|
255
|
-
}) => UseMutationResult<
|
|
255
|
+
}) => UseMutationResult<TData, TError, {
|
|
256
256
|
jobId: number;
|
|
257
257
|
data: ExchangeRatePutBodyBody;
|
|
258
258
|
}, TContext>;
|
|
@@ -267,7 +267,7 @@ declare const getGetJobExchangeRatesQueryOptions: <TData = GetExchangeRatesRespo
|
|
|
267
267
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>;
|
|
268
268
|
request?: SecondParameter<typeof customInstance>;
|
|
269
269
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData> & {
|
|
270
|
-
queryKey: QueryKey
|
|
270
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
271
271
|
};
|
|
272
272
|
type GetJobExchangeRatesQueryResult = NonNullable<Awaited<ReturnType<typeof getJobExchangeRates>>>;
|
|
273
273
|
type GetJobExchangeRatesQueryError = ErrorType<void | DmError>;
|
|
@@ -275,25 +275,25 @@ declare function useGetJobExchangeRates<TData = Awaited<ReturnType<typeof getJob
|
|
|
275
275
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>, 'initialData'>;
|
|
276
276
|
request?: SecondParameter<typeof customInstance>;
|
|
277
277
|
}): DefinedUseQueryResult<TData, TError> & {
|
|
278
|
-
queryKey: QueryKey
|
|
278
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
279
279
|
};
|
|
280
280
|
declare function useGetJobExchangeRates<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(jobId: number, params?: GetJobExchangeRatesParams, options?: {
|
|
281
281
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>, 'initialData'>;
|
|
282
282
|
request?: SecondParameter<typeof customInstance>;
|
|
283
283
|
}): UseQueryResult<TData, TError> & {
|
|
284
|
-
queryKey: QueryKey
|
|
284
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
285
285
|
};
|
|
286
286
|
declare function useGetJobExchangeRates<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(jobId: number, params?: GetJobExchangeRatesParams, options?: {
|
|
287
287
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>;
|
|
288
288
|
request?: SecondParameter<typeof customInstance>;
|
|
289
289
|
}): UseQueryResult<TData, TError> & {
|
|
290
|
-
queryKey: QueryKey
|
|
290
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
291
291
|
};
|
|
292
292
|
declare const getGetJobExchangeRatesSuspenseQueryOptions: <TData = GetExchangeRatesResponse, TError = ErrorType<void | DmError>>(jobId: number, params?: GetJobExchangeRatesParams, options?: {
|
|
293
293
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>;
|
|
294
294
|
request?: SecondParameter<typeof customInstance>;
|
|
295
295
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData> & {
|
|
296
|
-
queryKey: QueryKey
|
|
296
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
297
297
|
};
|
|
298
298
|
type GetJobExchangeRatesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getJobExchangeRates>>>;
|
|
299
299
|
type GetJobExchangeRatesSuspenseQueryError = ErrorType<void | DmError>;
|
|
@@ -301,19 +301,19 @@ declare function useGetJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeo
|
|
|
301
301
|
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>;
|
|
302
302
|
request?: SecondParameter<typeof customInstance>;
|
|
303
303
|
}): UseSuspenseQueryResult<TData, TError> & {
|
|
304
|
-
queryKey: QueryKey
|
|
304
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
305
305
|
};
|
|
306
306
|
declare function useGetJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(jobId: number, params?: GetJobExchangeRatesParams, options?: {
|
|
307
307
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>;
|
|
308
308
|
request?: SecondParameter<typeof customInstance>;
|
|
309
309
|
}): UseSuspenseQueryResult<TData, TError> & {
|
|
310
|
-
queryKey: QueryKey
|
|
310
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
311
311
|
};
|
|
312
312
|
declare function useGetJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(jobId: number, params?: GetJobExchangeRatesParams, options?: {
|
|
313
313
|
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>;
|
|
314
314
|
request?: SecondParameter<typeof customInstance>;
|
|
315
315
|
}): UseSuspenseQueryResult<TData, TError> & {
|
|
316
|
-
queryKey: QueryKey
|
|
316
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
317
317
|
};
|
|
318
318
|
|
|
319
319
|
export { type GetAllApplicationExchangeRatesQueryError, type GetAllApplicationExchangeRatesQueryResult, type GetAllApplicationExchangeRatesSuspenseQueryError, type GetAllApplicationExchangeRatesSuspenseQueryResult, type GetAllJobExchangeRatesQueryError, type GetAllJobExchangeRatesQueryResult, type GetAllJobExchangeRatesSuspenseQueryError, type GetAllJobExchangeRatesSuspenseQueryResult, type GetApplicationExchangeRatesQueryError, type GetApplicationExchangeRatesQueryResult, type GetApplicationExchangeRatesSuspenseQueryError, type GetApplicationExchangeRatesSuspenseQueryResult, type GetJobExchangeRatesQueryError, type GetJobExchangeRatesQueryResult, type GetJobExchangeRatesSuspenseQueryError, type GetJobExchangeRatesSuspenseQueryResult, type SetApplicationExchangeRateMutationBody, type SetApplicationExchangeRateMutationError, type SetApplicationExchangeRateMutationResult, type SetJobPricingMutationBody, type SetJobPricingMutationError, type SetJobPricingMutationResult, getAllApplicationExchangeRates, getAllJobExchangeRates, getApplicationExchangeRates, getGetAllApplicationExchangeRatesQueryKey, getGetAllApplicationExchangeRatesQueryOptions, getGetAllApplicationExchangeRatesSuspenseQueryOptions, getGetAllJobExchangeRatesQueryKey, getGetAllJobExchangeRatesQueryOptions, getGetAllJobExchangeRatesSuspenseQueryOptions, getGetApplicationExchangeRatesQueryKey, getGetApplicationExchangeRatesQueryOptions, getGetApplicationExchangeRatesSuspenseQueryOptions, getGetJobExchangeRatesQueryKey, getGetJobExchangeRatesQueryOptions, getGetJobExchangeRatesSuspenseQueryOptions, getJobExchangeRates, getSetApplicationExchangeRateMutationOptions, getSetJobPricingMutationOptions, setApplicationExchangeRate, setJobPricing, useGetAllApplicationExchangeRates, useGetAllApplicationExchangeRatesSuspense, useGetAllJobExchangeRates, useGetAllJobExchangeRatesSuspense, useGetApplicationExchangeRates, useGetApplicationExchangeRatesSuspense, useGetJobExchangeRates, useGetJobExchangeRatesSuspense, useSetApplicationExchangeRate, useSetJobPricing };
|
|
@@ -63,7 +63,8 @@ var setApplicationExchangeRate = (applicationId, exchangeRatePutBodyBody, option
|
|
|
63
63
|
);
|
|
64
64
|
};
|
|
65
65
|
var getSetApplicationExchangeRateMutationOptions = (options) => {
|
|
66
|
-
const
|
|
66
|
+
const mutationKey = ["setApplicationExchangeRate"];
|
|
67
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, request: void 0 };
|
|
67
68
|
const mutationFn = (props) => {
|
|
68
69
|
const { applicationId, data } = props ?? {};
|
|
69
70
|
return setApplicationExchangeRate(applicationId, data, requestOptions);
|
|
@@ -104,7 +105,7 @@ var getGetApplicationExchangeRatesSuspenseQueryOptions = (applicationId, params,
|
|
|
104
105
|
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
105
106
|
const queryKey = (queryOptions == null ? void 0 : queryOptions.queryKey) ?? getGetApplicationExchangeRatesQueryKey(applicationId, params);
|
|
106
107
|
const queryFn = ({ signal }) => getApplicationExchangeRates(applicationId, params, requestOptions, signal);
|
|
107
|
-
return { queryKey, queryFn,
|
|
108
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
108
109
|
};
|
|
109
110
|
function useGetApplicationExchangeRatesSuspense(applicationId, params, options) {
|
|
110
111
|
const queryOptions = getGetApplicationExchangeRatesSuspenseQueryOptions(applicationId, params, options);
|
|
@@ -167,7 +168,8 @@ var setJobPricing = (jobId, exchangeRatePutBodyBody, options) => {
|
|
|
167
168
|
);
|
|
168
169
|
};
|
|
169
170
|
var getSetJobPricingMutationOptions = (options) => {
|
|
170
|
-
const
|
|
171
|
+
const mutationKey = ["setJobPricing"];
|
|
172
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, request: void 0 };
|
|
171
173
|
const mutationFn = (props) => {
|
|
172
174
|
const { jobId, data } = props ?? {};
|
|
173
175
|
return setJobPricing(jobId, data, requestOptions);
|
|
@@ -208,7 +210,7 @@ var getGetJobExchangeRatesSuspenseQueryOptions = (jobId, params, options) => {
|
|
|
208
210
|
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
209
211
|
const queryKey = (queryOptions == null ? void 0 : queryOptions.queryKey) ?? getGetJobExchangeRatesQueryKey(jobId, params);
|
|
210
212
|
const queryFn = ({ signal }) => getJobExchangeRates(jobId, params, requestOptions, signal);
|
|
211
|
-
return { queryKey, queryFn,
|
|
213
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
212
214
|
};
|
|
213
215
|
function useGetJobExchangeRatesSuspense(jobId, params, options) {
|
|
214
216
|
const queryOptions = getGetJobExchangeRatesSuspenseQueryOptions(jobId, params, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exchange-rate/exchange-rate.ts"],"sourcesContent":["// @ts-nocheck\n/**\n * Generated by orval v7.2.0 🍺\n * Do not edit manually.\n * Dataset Manager API\n * The Dataset Manager API service.\n\nA service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications** and **Jobs** using **Projects** and **Files**.\n\n * OpenAPI spec version: 3.3\n */\nimport {\n useMutation,\n useQuery,\n useSuspenseQuery\n} from '@tanstack/react-query'\nimport type {\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n MutationFunction,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseMutationOptions,\n UseMutationResult,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult\n} from '@tanstack/react-query'\nimport type {\n DmError,\n ExchangeRatePutBodyBody,\n GetAllApplicationExchangeRatesParams,\n GetAllExchangeRatesResponse,\n GetAllJobExchangeRatesParams,\n GetApplicationExchangeRatesParams,\n GetExchangeRatesResponse,\n GetJobExchangeRatesParams\n} from '../data-manager-api.schemas'\nimport { customInstance } from '.././custom-instance';\nimport type { ErrorType } from '.././custom-instance';\n\n\ntype SecondParameter<T extends (...args: any) => any> = Parameters<T>[1];\n\n\n/**\n * For every Application that has an exchange rate the current rate is returned. If you want a list of all Applications that have no exchange rate, set the `only_undefined` query option.\n\nIf an Application has no specific rate it adopts the current value of the default Application Exchange Rate.\n\n * @summary Gets Exchange Rates for all Applications\n */\nexport const getAllApplicationExchangeRates = (\n params?: GetAllApplicationExchangeRatesParams,\n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<GetAllExchangeRatesResponse>(\n {url: `/application/exchange-rate`, method: 'GET',\n params, signal\n },\n options);\n }\n \n\nexport const getGetAllApplicationExchangeRatesQueryKey = (params?: GetAllApplicationExchangeRatesParams,) => {\n return [\"data-manager-api\", `/application/exchange-rate`, ...(params ? [params]: [])] as const;\n }\n\n \nexport const getGetAllApplicationExchangeRatesQueryOptions = <TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetAllApplicationExchangeRatesQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>> = ({ signal }) => getAllApplicationExchangeRates(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type GetAllApplicationExchangeRatesQueryResult = NonNullable<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>>\nexport type GetAllApplicationExchangeRatesQueryError = ErrorType<void | DmError>\n\n\nexport function useGetAllApplicationExchangeRates<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params: undefined | GetAllApplicationExchangeRatesParams, options: { query:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>> & Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getAllApplicationExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): DefinedUseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetAllApplicationExchangeRates<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>> & Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getAllApplicationExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetAllApplicationExchangeRates<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey }\n/**\n * @summary Gets Exchange Rates for all Applications\n */\n\nexport function useGetAllApplicationExchangeRates<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey } {\n\n const queryOptions = getGetAllApplicationExchangeRatesQueryOptions(params,options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\nexport const getGetAllApplicationExchangeRatesSuspenseQueryOptions = <TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetAllApplicationExchangeRatesQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>> = ({ signal }) => getAllApplicationExchangeRates(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type GetAllApplicationExchangeRatesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>>\nexport type GetAllApplicationExchangeRatesSuspenseQueryError = ErrorType<void | DmError>\n\n\nexport function useGetAllApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params: undefined | GetAllApplicationExchangeRatesParams, options: { query:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetAllApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetAllApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey }\n/**\n * @summary Gets Exchange Rates for all Applications\n */\n\nexport function useGetAllApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey } {\n\n const queryOptions = getGetAllApplicationExchangeRatesSuspenseQueryOptions(params,options)\n\n const query = useSuspenseQuery(queryOptions) as UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n/**\n * Sets the Exchange Rate for a specific Application. The rate replaces any existing rate for the Application and applies to all future executions of the Application.\n\nIf an Application has no specific rate it adopts the current value of the default Application Exchange Rate.\n\nYou need `admin` privilege to use this method.\n\n * @summary Sets the Exchange Rate for a specific Application\n */\nexport const setApplicationExchangeRate = (\n applicationId: string,\n exchangeRatePutBodyBody: ExchangeRatePutBodyBody,\n options?: SecondParameter<typeof customInstance>,) => {\n \n const formData = new FormData();\nformData.append('rate', exchangeRatePutBodyBody.rate)\nif(exchangeRatePutBodyBody.comment !== undefined) {\n formData.append('comment', exchangeRatePutBodyBody.comment)\n }\n\n return customInstance<void>(\n {url: `/application/${applicationId}/exchange-rate`, method: 'PUT',\n headers: {'Content-Type': 'multipart/form-data', },\n data: formData\n },\n options);\n }\n \n\n\nexport const getSetApplicationExchangeRateMutationOptions = <TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof setApplicationExchangeRate>>, TError,{applicationId: string;data: ExchangeRatePutBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof setApplicationExchangeRate>>, TError,{applicationId: string;data: ExchangeRatePutBodyBody}, TContext> => {\nconst {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof setApplicationExchangeRate>>, {applicationId: string;data: ExchangeRatePutBodyBody}> = (props) => {\n const {applicationId,data} = props ?? {};\n\n return setApplicationExchangeRate(applicationId,data,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type SetApplicationExchangeRateMutationResult = NonNullable<Awaited<ReturnType<typeof setApplicationExchangeRate>>>\n export type SetApplicationExchangeRateMutationBody = ExchangeRatePutBodyBody\n export type SetApplicationExchangeRateMutationError = ErrorType<void | DmError>\n\n /**\n * @summary Sets the Exchange Rate for a specific Application\n */\nexport const useSetApplicationExchangeRate = <TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof setApplicationExchangeRate>>, TError,{applicationId: string;data: ExchangeRatePutBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationResult<\n Awaited<ReturnType<typeof setApplicationExchangeRate>>,\n TError,\n {applicationId: string;data: ExchangeRatePutBodyBody},\n TContext\n > => {\n\n const mutationOptions = getSetApplicationExchangeRateMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Gets the exchange rate history for a specific Application. Rates are returned in reverse chronological order, with the most recent rate, the current rate, as the first entry in the list.\n\n * @summary Gets the Application's Exchange Rate history\n */\nexport const getApplicationExchangeRates = (\n applicationId: string,\n params?: GetApplicationExchangeRatesParams,\n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<GetExchangeRatesResponse>(\n {url: `/application/${applicationId}/exchange-rate`, method: 'GET',\n params, signal\n },\n options);\n }\n \n\nexport const getGetApplicationExchangeRatesQueryKey = (applicationId: string,\n params?: GetApplicationExchangeRatesParams,) => {\n return [\"data-manager-api\", `/application/${applicationId}/exchange-rate`, ...(params ? [params]: [])] as const;\n }\n\n \nexport const getGetApplicationExchangeRatesQueryOptions = <TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetApplicationExchangeRatesQueryKey(applicationId,params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getApplicationExchangeRates>>> = ({ signal }) => getApplicationExchangeRates(applicationId,params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, enabled: !!(applicationId), ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type GetApplicationExchangeRatesQueryResult = NonNullable<Awaited<ReturnType<typeof getApplicationExchangeRates>>>\nexport type GetApplicationExchangeRatesQueryError = ErrorType<void | DmError>\n\n\nexport function useGetApplicationExchangeRates<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params: undefined | GetApplicationExchangeRatesParams, options: { query:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>> & Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getApplicationExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): DefinedUseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetApplicationExchangeRates<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>> & Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getApplicationExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetApplicationExchangeRates<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey }\n/**\n * @summary Gets the Application's Exchange Rate history\n */\n\nexport function useGetApplicationExchangeRates<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey } {\n\n const queryOptions = getGetApplicationExchangeRatesQueryOptions(applicationId,params,options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\nexport const getGetApplicationExchangeRatesSuspenseQueryOptions = <TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetApplicationExchangeRatesQueryKey(applicationId,params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getApplicationExchangeRates>>> = ({ signal }) => getApplicationExchangeRates(applicationId,params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, enabled: !!(applicationId), ...queryOptions} as UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type GetApplicationExchangeRatesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getApplicationExchangeRates>>>\nexport type GetApplicationExchangeRatesSuspenseQueryError = ErrorType<void | DmError>\n\n\nexport function useGetApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params: undefined | GetApplicationExchangeRatesParams, options: { query:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey }\n/**\n * @summary Gets the Application's Exchange Rate history\n */\n\nexport function useGetApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey } {\n\n const queryOptions = getGetApplicationExchangeRatesSuspenseQueryOptions(applicationId,params,options)\n\n const query = useSuspenseQuery(queryOptions) as UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n/**\n * For every Job that has an exchange rate the current rate is returned. If you want a list of all Jobs that have no exchange rate, set the `only_undefined` query option.\n\n * @summary Gets Exchange Rates for all Jobs\n */\nexport const getAllJobExchangeRates = (\n params?: GetAllJobExchangeRatesParams,\n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<GetAllExchangeRatesResponse>(\n {url: `/job/exchange-rate`, method: 'GET',\n params, signal\n },\n options);\n }\n \n\nexport const getGetAllJobExchangeRatesQueryKey = (params?: GetAllJobExchangeRatesParams,) => {\n return [\"data-manager-api\", `/job/exchange-rate`, ...(params ? [params]: [])] as const;\n }\n\n \nexport const getGetAllJobExchangeRatesQueryOptions = <TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetAllJobExchangeRatesQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getAllJobExchangeRates>>> = ({ signal }) => getAllJobExchangeRates(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type GetAllJobExchangeRatesQueryResult = NonNullable<Awaited<ReturnType<typeof getAllJobExchangeRates>>>\nexport type GetAllJobExchangeRatesQueryError = ErrorType<void | DmError>\n\n\nexport function useGetAllJobExchangeRates<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params: undefined | GetAllJobExchangeRatesParams, options: { query:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>> & Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getAllJobExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): DefinedUseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetAllJobExchangeRates<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>> & Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getAllJobExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetAllJobExchangeRates<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey }\n/**\n * @summary Gets Exchange Rates for all Jobs\n */\n\nexport function useGetAllJobExchangeRates<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey } {\n\n const queryOptions = getGetAllJobExchangeRatesQueryOptions(params,options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\nexport const getGetAllJobExchangeRatesSuspenseQueryOptions = <TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetAllJobExchangeRatesQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getAllJobExchangeRates>>> = ({ signal }) => getAllJobExchangeRates(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type GetAllJobExchangeRatesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getAllJobExchangeRates>>>\nexport type GetAllJobExchangeRatesSuspenseQueryError = ErrorType<void | DmError>\n\n\nexport function useGetAllJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params: undefined | GetAllJobExchangeRatesParams, options: { query:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetAllJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetAllJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey }\n/**\n * @summary Gets Exchange Rates for all Jobs\n */\n\nexport function useGetAllJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey } {\n\n const queryOptions = getGetAllJobExchangeRatesSuspenseQueryOptions(params,options)\n\n const query = useSuspenseQuery(queryOptions) as UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n/**\n * Sets the Exchange Rate for a specific job. The rate replaces any existing rate for the Job and applies immediately and future job executions for this Job will inherit this rate.\n\nExchange rates are divided by an internal **scale factor** prior to being applied. The scale factor has a value of 1,000. The scale factor is used to make the exchange rates a little easier to digest, because without this on some jobs we would need to support values ike '0.00001'. With a scale factor of `1,000` the exchange rate is a much more humanly-digestible, e.g. '0.00001' becomes '0.01'.\n\nIf a Job has no specific rate it adopts the current value of the default Job Exchange Rate.\n\nYou need `admin` privilege to use this method.\n\n * @summary Sets the Exchange Rate for a specific Job\n */\nexport const setJobPricing = (\n jobId: number,\n exchangeRatePutBodyBody: ExchangeRatePutBodyBody,\n options?: SecondParameter<typeof customInstance>,) => {\n \n const formData = new FormData();\nformData.append('rate', exchangeRatePutBodyBody.rate)\nif(exchangeRatePutBodyBody.comment !== undefined) {\n formData.append('comment', exchangeRatePutBodyBody.comment)\n }\n\n return customInstance<void>(\n {url: `/job/${jobId}/exchange-rate`, method: 'PUT',\n headers: {'Content-Type': 'multipart/form-data', },\n data: formData\n },\n options);\n }\n \n\n\nexport const getSetJobPricingMutationOptions = <TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof setJobPricing>>, TError,{jobId: number;data: ExchangeRatePutBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationOptions<Awaited<ReturnType<typeof setJobPricing>>, TError,{jobId: number;data: ExchangeRatePutBodyBody}, TContext> => {\nconst {mutation: mutationOptions, request: requestOptions} = options ?? {};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof setJobPricing>>, {jobId: number;data: ExchangeRatePutBodyBody}> = (props) => {\n const {jobId,data} = props ?? {};\n\n return setJobPricing(jobId,data,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions }}\n\n export type SetJobPricingMutationResult = NonNullable<Awaited<ReturnType<typeof setJobPricing>>>\n export type SetJobPricingMutationBody = ExchangeRatePutBodyBody\n export type SetJobPricingMutationError = ErrorType<void | DmError>\n\n /**\n * @summary Sets the Exchange Rate for a specific Job\n */\nexport const useSetJobPricing = <TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof setJobPricing>>, TError,{jobId: number;data: ExchangeRatePutBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationResult<\n Awaited<ReturnType<typeof setJobPricing>>,\n TError,\n {jobId: number;data: ExchangeRatePutBodyBody},\n TContext\n > => {\n\n const mutationOptions = getSetJobPricingMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Gets all the exchange rate history for a specific Job. Rates are returned in reverse chronological order, with the most recent rate, the current rate, as the first entry in the list.\n\n * @summary Gets Job Exchange Rates\n */\nexport const getJobExchangeRates = (\n jobId: number,\n params?: GetJobExchangeRatesParams,\n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<GetExchangeRatesResponse>(\n {url: `/job/${jobId}/exchange-rate`, method: 'GET',\n params, signal\n },\n options);\n }\n \n\nexport const getGetJobExchangeRatesQueryKey = (jobId: number,\n params?: GetJobExchangeRatesParams,) => {\n return [\"data-manager-api\", `/job/${jobId}/exchange-rate`, ...(params ? [params]: [])] as const;\n }\n\n \nexport const getGetJobExchangeRatesQueryOptions = <TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetJobExchangeRatesQueryKey(jobId,params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getJobExchangeRates>>> = ({ signal }) => getJobExchangeRates(jobId,params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, enabled: !!(jobId), ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type GetJobExchangeRatesQueryResult = NonNullable<Awaited<ReturnType<typeof getJobExchangeRates>>>\nexport type GetJobExchangeRatesQueryError = ErrorType<void | DmError>\n\n\nexport function useGetJobExchangeRates<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params: undefined | GetJobExchangeRatesParams, options: { query:Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>> & Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getJobExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): DefinedUseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetJobExchangeRates<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>> & Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getJobExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetJobExchangeRates<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey }\n/**\n * @summary Gets Job Exchange Rates\n */\n\nexport function useGetJobExchangeRates<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: QueryKey } {\n\n const queryOptions = getGetJobExchangeRatesQueryOptions(jobId,params,options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\nexport const getGetJobExchangeRatesSuspenseQueryOptions = <TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetJobExchangeRatesQueryKey(jobId,params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getJobExchangeRates>>> = ({ signal }) => getJobExchangeRates(jobId,params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, enabled: !!(jobId), ...queryOptions} as UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData> & { queryKey: QueryKey }\n}\n\nexport type GetJobExchangeRatesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getJobExchangeRates>>>\nexport type GetJobExchangeRatesSuspenseQueryError = ErrorType<void | DmError>\n\n\nexport function useGetJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params: undefined | GetJobExchangeRatesParams, options: { query:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey }\nexport function useGetJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey }\n/**\n * @summary Gets Job Exchange Rates\n */\n\nexport function useGetJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey } {\n\n const queryOptions = getGetJobExchangeRatesSuspenseQueryOptions(jobId,params,options)\n\n const query = useSuspenseQuery(queryOptions) as UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n"],"mappings":";;;;;AAWA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAuCA,IAAM,iCAAiC,CAC1C,QACH,SAAiD,WAC7C;AAGC,SAAO;AAAA,IACP;AAAA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,QAAM,eAAe,2CAA2C,OAAM,QAAO,OAAO;AAEpF,QAAM,QAAQ,iBAAiB,YAAY;AAE3C,QAAM,WAAW,aAAa;AAE9B,SAAO;AACT;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/exchange-rate/exchange-rate.ts"],"sourcesContent":["// @ts-nocheck\n/**\n * Generated by orval v7.4.1 🍺\n * Do not edit manually.\n * Dataset Manager API\n * The Dataset Manager API service.\n\nA service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications** and **Jobs** using **Projects** and **Files**.\n\n * OpenAPI spec version: 3.3\n */\nimport {\n useMutation,\n useQuery,\n useSuspenseQuery\n} from '@tanstack/react-query'\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n MutationFunction,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseMutationOptions,\n UseMutationResult,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult\n} from '@tanstack/react-query'\nimport type {\n DmError,\n ExchangeRatePutBodyBody,\n GetAllApplicationExchangeRatesParams,\n GetAllExchangeRatesResponse,\n GetAllJobExchangeRatesParams,\n GetApplicationExchangeRatesParams,\n GetExchangeRatesResponse,\n GetJobExchangeRatesParams\n} from '../data-manager-api.schemas'\nimport { customInstance } from '.././custom-instance';\nimport type { ErrorType } from '.././custom-instance';\n\n\ntype SecondParameter<T extends (...args: any) => any> = Parameters<T>[1];\n\n\n/**\n * For every Application that has an exchange rate the current rate is returned. If you want a list of all Applications that have no exchange rate, set the `only_undefined` query option.\n\nIf an Application has no specific rate it adopts the current value of the default Application Exchange Rate.\n\n * @summary Gets Exchange Rates for all Applications\n */\nexport const getAllApplicationExchangeRates = (\n params?: GetAllApplicationExchangeRatesParams,\n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<GetAllExchangeRatesResponse>(\n {url: `/application/exchange-rate`, method: 'GET',\n params, signal\n },\n options);\n }\n \n\nexport const getGetAllApplicationExchangeRatesQueryKey = (params?: GetAllApplicationExchangeRatesParams,) => {\n return [\"data-manager-api\", `/application/exchange-rate`, ...(params ? [params]: [])] as const;\n }\n\n \nexport const getGetAllApplicationExchangeRatesQueryOptions = <TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetAllApplicationExchangeRatesQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>> = ({ signal }) => getAllApplicationExchangeRates(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData> & { queryKey: DataTag<QueryKey, TData, TError> }\n}\n\nexport type GetAllApplicationExchangeRatesQueryResult = NonNullable<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>>\nexport type GetAllApplicationExchangeRatesQueryError = ErrorType<void | DmError>\n\n\nexport function useGetAllApplicationExchangeRates<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params: undefined | GetAllApplicationExchangeRatesParams, options: { query:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>> & Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getAllApplicationExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetAllApplicationExchangeRates<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>> & Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getAllApplicationExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetAllApplicationExchangeRates<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\n/**\n * @summary Gets Exchange Rates for all Applications\n */\n\nexport function useGetAllApplicationExchangeRates<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n\n const queryOptions = getGetAllApplicationExchangeRatesQueryOptions(params,options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\nexport const getGetAllApplicationExchangeRatesSuspenseQueryOptions = <TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetAllApplicationExchangeRatesQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>> = ({ signal }) => getAllApplicationExchangeRates(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData> & { queryKey: DataTag<QueryKey, TData, TError> }\n}\n\nexport type GetAllApplicationExchangeRatesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>>\nexport type GetAllApplicationExchangeRatesSuspenseQueryError = ErrorType<void | DmError>\n\n\nexport function useGetAllApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params: undefined | GetAllApplicationExchangeRatesParams, options: { query:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetAllApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetAllApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\n/**\n * @summary Gets Exchange Rates for all Applications\n */\n\nexport function useGetAllApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n\n const queryOptions = getGetAllApplicationExchangeRatesSuspenseQueryOptions(params,options)\n\n const query = useSuspenseQuery(queryOptions) as UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n/**\n * Sets the Exchange Rate for a specific Application. The rate replaces any existing rate for the Application and applies to all future executions of the Application.\n\nIf an Application has no specific rate it adopts the current value of the default Application Exchange Rate.\n\nYou need `admin` privilege to use this method.\n\n * @summary Sets the Exchange Rate for a specific Application\n */\nexport const setApplicationExchangeRate = (\n applicationId: string,\n exchangeRatePutBodyBody: ExchangeRatePutBodyBody,\n options?: SecondParameter<typeof customInstance>,) => {\n \n const formData = new FormData();\nformData.append('rate', exchangeRatePutBodyBody.rate)\nif(exchangeRatePutBodyBody.comment !== undefined) {\n formData.append('comment', exchangeRatePutBodyBody.comment)\n }\n\n return customInstance<void>(\n {url: `/application/${applicationId}/exchange-rate`, method: 'PUT',\n headers: {'Content-Type': 'multipart/form-data', },\n data: formData\n },\n options);\n }\n \n\n\nexport const getSetApplicationExchangeRateMutationOptions = <TData = Awaited<ReturnType<typeof setApplicationExchangeRate>>, TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<TData, TError,{applicationId: string;data: ExchangeRatePutBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\nconst mutationKey = ['setApplicationExchangeRate'];\nconst {mutation: mutationOptions, request: requestOptions} = options ?\n options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?\n options\n : {...options, mutation: {...options.mutation, mutationKey}}\n : {mutation: { mutationKey, }, request: undefined};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof setApplicationExchangeRate>>, {applicationId: string;data: ExchangeRatePutBodyBody}> = (props) => {\n const {applicationId,data} = props ?? {};\n\n return setApplicationExchangeRate(applicationId,data,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions } as UseMutationOptions<TData, TError,{applicationId: string;data: ExchangeRatePutBodyBody}, TContext>}\n\n export type SetApplicationExchangeRateMutationResult = NonNullable<Awaited<ReturnType<typeof setApplicationExchangeRate>>>\n export type SetApplicationExchangeRateMutationBody = ExchangeRatePutBodyBody\n export type SetApplicationExchangeRateMutationError = ErrorType<void | DmError>\n\n /**\n * @summary Sets the Exchange Rate for a specific Application\n */\nexport const useSetApplicationExchangeRate = <TData = Awaited<ReturnType<typeof setApplicationExchangeRate>>, TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<TData, TError,{applicationId: string;data: ExchangeRatePutBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationResult<\n TData,\n TError,\n {applicationId: string;data: ExchangeRatePutBodyBody},\n TContext\n > => {\n\n const mutationOptions = getSetApplicationExchangeRateMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Gets the exchange rate history for a specific Application. Rates are returned in reverse chronological order, with the most recent rate, the current rate, as the first entry in the list.\n\n * @summary Gets the Application's Exchange Rate history\n */\nexport const getApplicationExchangeRates = (\n applicationId: string,\n params?: GetApplicationExchangeRatesParams,\n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<GetExchangeRatesResponse>(\n {url: `/application/${applicationId}/exchange-rate`, method: 'GET',\n params, signal\n },\n options);\n }\n \n\nexport const getGetApplicationExchangeRatesQueryKey = (applicationId: string,\n params?: GetApplicationExchangeRatesParams,) => {\n return [\"data-manager-api\", `/application/${applicationId}/exchange-rate`, ...(params ? [params]: [])] as const;\n }\n\n \nexport const getGetApplicationExchangeRatesQueryOptions = <TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetApplicationExchangeRatesQueryKey(applicationId,params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getApplicationExchangeRates>>> = ({ signal }) => getApplicationExchangeRates(applicationId,params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, enabled: !!(applicationId), ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData> & { queryKey: DataTag<QueryKey, TData, TError> }\n}\n\nexport type GetApplicationExchangeRatesQueryResult = NonNullable<Awaited<ReturnType<typeof getApplicationExchangeRates>>>\nexport type GetApplicationExchangeRatesQueryError = ErrorType<void | DmError>\n\n\nexport function useGetApplicationExchangeRates<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params: undefined | GetApplicationExchangeRatesParams, options: { query:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>> & Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getApplicationExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetApplicationExchangeRates<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>> & Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getApplicationExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetApplicationExchangeRates<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\n/**\n * @summary Gets the Application's Exchange Rate history\n */\n\nexport function useGetApplicationExchangeRates<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n\n const queryOptions = getGetApplicationExchangeRatesQueryOptions(applicationId,params,options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\nexport const getGetApplicationExchangeRatesSuspenseQueryOptions = <TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetApplicationExchangeRatesQueryKey(applicationId,params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getApplicationExchangeRates>>> = ({ signal }) => getApplicationExchangeRates(applicationId,params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData> & { queryKey: DataTag<QueryKey, TData, TError> }\n}\n\nexport type GetApplicationExchangeRatesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getApplicationExchangeRates>>>\nexport type GetApplicationExchangeRatesSuspenseQueryError = ErrorType<void | DmError>\n\n\nexport function useGetApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params: undefined | GetApplicationExchangeRatesParams, options: { query:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\n/**\n * @summary Gets the Application's Exchange Rate history\n */\n\nexport function useGetApplicationExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError = ErrorType<void | DmError>>(\n applicationId: string,\n params?: GetApplicationExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getApplicationExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n\n const queryOptions = getGetApplicationExchangeRatesSuspenseQueryOptions(applicationId,params,options)\n\n const query = useSuspenseQuery(queryOptions) as UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n/**\n * For every Job that has an exchange rate the current rate is returned. If you want a list of all Jobs that have no exchange rate, set the `only_undefined` query option.\n\n * @summary Gets Exchange Rates for all Jobs\n */\nexport const getAllJobExchangeRates = (\n params?: GetAllJobExchangeRatesParams,\n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<GetAllExchangeRatesResponse>(\n {url: `/job/exchange-rate`, method: 'GET',\n params, signal\n },\n options);\n }\n \n\nexport const getGetAllJobExchangeRatesQueryKey = (params?: GetAllJobExchangeRatesParams,) => {\n return [\"data-manager-api\", `/job/exchange-rate`, ...(params ? [params]: [])] as const;\n }\n\n \nexport const getGetAllJobExchangeRatesQueryOptions = <TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetAllJobExchangeRatesQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getAllJobExchangeRates>>> = ({ signal }) => getAllJobExchangeRates(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData> & { queryKey: DataTag<QueryKey, TData, TError> }\n}\n\nexport type GetAllJobExchangeRatesQueryResult = NonNullable<Awaited<ReturnType<typeof getAllJobExchangeRates>>>\nexport type GetAllJobExchangeRatesQueryError = ErrorType<void | DmError>\n\n\nexport function useGetAllJobExchangeRates<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params: undefined | GetAllJobExchangeRatesParams, options: { query:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>> & Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getAllJobExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetAllJobExchangeRates<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>> & Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getAllJobExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetAllJobExchangeRates<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\n/**\n * @summary Gets Exchange Rates for all Jobs\n */\n\nexport function useGetAllJobExchangeRates<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n\n const queryOptions = getGetAllJobExchangeRatesQueryOptions(params,options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\nexport const getGetAllJobExchangeRatesSuspenseQueryOptions = <TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetAllJobExchangeRatesQueryKey(params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getAllJobExchangeRates>>> = ({ signal }) => getAllJobExchangeRates(params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData> & { queryKey: DataTag<QueryKey, TData, TError> }\n}\n\nexport type GetAllJobExchangeRatesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getAllJobExchangeRates>>>\nexport type GetAllJobExchangeRatesSuspenseQueryError = ErrorType<void | DmError>\n\n\nexport function useGetAllJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params: undefined | GetAllJobExchangeRatesParams, options: { query:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetAllJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetAllJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\n/**\n * @summary Gets Exchange Rates for all Jobs\n */\n\nexport function useGetAllJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n params?: GetAllJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n\n const queryOptions = getGetAllJobExchangeRatesSuspenseQueryOptions(params,options)\n\n const query = useSuspenseQuery(queryOptions) as UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n/**\n * Sets the Exchange Rate for a specific job. The rate replaces any existing rate for the Job and applies immediately and future job executions for this Job will inherit this rate.\n\nExchange rates are divided by an internal **scale factor** prior to being applied. The scale factor has a value of 1,000. The scale factor is used to make the exchange rates a little easier to digest, because without this on some jobs we would need to support values ike '0.00001'. With a scale factor of `1,000` the exchange rate is a much more humanly-digestible, e.g. '0.00001' becomes '0.01'.\n\nIf a Job has no specific rate it adopts the current value of the default Job Exchange Rate.\n\nYou need `admin` privilege to use this method.\n\n * @summary Sets the Exchange Rate for a specific Job\n */\nexport const setJobPricing = (\n jobId: number,\n exchangeRatePutBodyBody: ExchangeRatePutBodyBody,\n options?: SecondParameter<typeof customInstance>,) => {\n \n const formData = new FormData();\nformData.append('rate', exchangeRatePutBodyBody.rate)\nif(exchangeRatePutBodyBody.comment !== undefined) {\n formData.append('comment', exchangeRatePutBodyBody.comment)\n }\n\n return customInstance<void>(\n {url: `/job/${jobId}/exchange-rate`, method: 'PUT',\n headers: {'Content-Type': 'multipart/form-data', },\n data: formData\n },\n options);\n }\n \n\n\nexport const getSetJobPricingMutationOptions = <TData = Awaited<ReturnType<typeof setJobPricing>>, TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<TData, TError,{jobId: number;data: ExchangeRatePutBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n) => {\nconst mutationKey = ['setJobPricing'];\nconst {mutation: mutationOptions, request: requestOptions} = options ?\n options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?\n options\n : {...options, mutation: {...options.mutation, mutationKey}}\n : {mutation: { mutationKey, }, request: undefined};\n\n \n\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof setJobPricing>>, {jobId: number;data: ExchangeRatePutBodyBody}> = (props) => {\n const {jobId,data} = props ?? {};\n\n return setJobPricing(jobId,data,requestOptions)\n }\n\n \n\n\n return { mutationFn, ...mutationOptions } as UseMutationOptions<TData, TError,{jobId: number;data: ExchangeRatePutBodyBody}, TContext>}\n\n export type SetJobPricingMutationResult = NonNullable<Awaited<ReturnType<typeof setJobPricing>>>\n export type SetJobPricingMutationBody = ExchangeRatePutBodyBody\n export type SetJobPricingMutationError = ErrorType<void | DmError>\n\n /**\n * @summary Sets the Exchange Rate for a specific Job\n */\nexport const useSetJobPricing = <TData = Awaited<ReturnType<typeof setJobPricing>>, TError = ErrorType<void | DmError>,\n TContext = unknown>(options?: { mutation?:UseMutationOptions<TData, TError,{jobId: number;data: ExchangeRatePutBodyBody}, TContext>, request?: SecondParameter<typeof customInstance>}\n): UseMutationResult<\n TData,\n TError,\n {jobId: number;data: ExchangeRatePutBodyBody},\n TContext\n > => {\n\n const mutationOptions = getSetJobPricingMutationOptions(options);\n\n return useMutation(mutationOptions);\n }\n /**\n * Gets all the exchange rate history for a specific Job. Rates are returned in reverse chronological order, with the most recent rate, the current rate, as the first entry in the list.\n\n * @summary Gets Job Exchange Rates\n */\nexport const getJobExchangeRates = (\n jobId: number,\n params?: GetJobExchangeRatesParams,\n options?: SecondParameter<typeof customInstance>,signal?: AbortSignal\n) => {\n \n \n return customInstance<GetExchangeRatesResponse>(\n {url: `/job/${jobId}/exchange-rate`, method: 'GET',\n params, signal\n },\n options);\n }\n \n\nexport const getGetJobExchangeRatesQueryKey = (jobId: number,\n params?: GetJobExchangeRatesParams,) => {\n return [\"data-manager-api\", `/job/${jobId}/exchange-rate`, ...(params ? [params]: [])] as const;\n }\n\n \nexport const getGetJobExchangeRatesQueryOptions = <TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetJobExchangeRatesQueryKey(jobId,params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getJobExchangeRates>>> = ({ signal }) => getJobExchangeRates(jobId,params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, enabled: !!(jobId), ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData> & { queryKey: DataTag<QueryKey, TData, TError> }\n}\n\nexport type GetJobExchangeRatesQueryResult = NonNullable<Awaited<ReturnType<typeof getJobExchangeRates>>>\nexport type GetJobExchangeRatesQueryError = ErrorType<void | DmError>\n\n\nexport function useGetJobExchangeRates<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params: undefined | GetJobExchangeRatesParams, options: { query:Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>> & Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getJobExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetJobExchangeRates<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>> & Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getJobExchangeRates>>,\n TError,\n TData\n > , 'initialData'\n >, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetJobExchangeRates<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\n/**\n * @summary Gets Job Exchange Rates\n */\n\nexport function useGetJobExchangeRates<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n\n const queryOptions = getGetJobExchangeRatesQueryOptions(jobId,params,options)\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\nexport const getGetJobExchangeRatesSuspenseQueryOptions = <TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n) => {\n\nconst {query: queryOptions, request: requestOptions} = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetJobExchangeRatesQueryKey(jobId,params);\n\n \n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getJobExchangeRates>>> = ({ signal }) => getJobExchangeRates(jobId,params, requestOptions, signal);\n\n \n\n \n\n return { queryKey, queryFn, ...queryOptions} as UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData> & { queryKey: DataTag<QueryKey, TData, TError> }\n}\n\nexport type GetJobExchangeRatesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getJobExchangeRates>>>\nexport type GetJobExchangeRatesSuspenseQueryError = ErrorType<void | DmError>\n\n\nexport function useGetJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params: undefined | GetJobExchangeRatesParams, options: { query:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\nexport function useGetJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> }\n/**\n * @summary Gets Job Exchange Rates\n */\n\nexport function useGetJobExchangeRatesSuspense<TData = Awaited<ReturnType<typeof getJobExchangeRates>>, TError = ErrorType<void | DmError>>(\n jobId: number,\n params?: GetJobExchangeRatesParams, options?: { query?:Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getJobExchangeRates>>, TError, TData>>, request?: SecondParameter<typeof customInstance>}\n\n ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n\n const queryOptions = getGetJobExchangeRatesSuspenseQueryOptions(jobId,params,options)\n\n const query = useSuspenseQuery(queryOptions) as UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n\n query.queryKey = queryOptions.queryKey ;\n\n return query;\n}\n\n\n\n"],"mappings":";;;;;AAWA;AAAA,EACE;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