@arascreative/erp-api-client 0.1.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +885 -282
- package/dist/index.d.ts +885 -282
- package/dist/index.js +840 -162
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +727 -162
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41,13 +41,60 @@ __export(index_exports, {
|
|
|
41
41
|
createStockItemsBody: () => createStockItemsBody,
|
|
42
42
|
createWarehouse: () => createWarehouse,
|
|
43
43
|
createWarehouseBody: () => createWarehouseBody,
|
|
44
|
+
deleteApiIdentityAdminRolesId: () => deleteApiIdentityAdminRolesId,
|
|
45
|
+
deleteApiIdentityAdminRolesIdParams: () => deleteApiIdentityAdminRolesIdParams,
|
|
44
46
|
deleteWarehouse: () => deleteWarehouse,
|
|
45
47
|
deleteWarehouseParams: () => deleteWarehouseParams,
|
|
48
|
+
getApiIdentityAdminPermissions: () => getApiIdentityAdminPermissions,
|
|
49
|
+
getApiIdentityAdminPermissionsResponse: () => getApiIdentityAdminPermissionsResponse,
|
|
50
|
+
getApiIdentityAdminPermissionsResponseItem: () => getApiIdentityAdminPermissionsResponseItem,
|
|
51
|
+
getApiIdentityAdminRoles: () => getApiIdentityAdminRoles,
|
|
52
|
+
getApiIdentityAdminRolesId: () => getApiIdentityAdminRolesId,
|
|
53
|
+
getApiIdentityAdminRolesIdParams: () => getApiIdentityAdminRolesIdParams,
|
|
54
|
+
getApiIdentityAdminRolesIdResponse: () => getApiIdentityAdminRolesIdResponse,
|
|
55
|
+
getApiIdentityAdminRolesResponse: () => getApiIdentityAdminRolesResponse,
|
|
56
|
+
getApiIdentityAdminRolesResponseItem: () => getApiIdentityAdminRolesResponseItem,
|
|
57
|
+
getApiIdentityAdminUsers: () => getApiIdentityAdminUsers,
|
|
58
|
+
getApiIdentityAdminUsersIdPermissions: () => getApiIdentityAdminUsersIdPermissions,
|
|
59
|
+
getApiIdentityAdminUsersIdPermissionsParams: () => getApiIdentityAdminUsersIdPermissionsParams,
|
|
60
|
+
getApiIdentityAdminUsersIdPermissionsResponse: () => getApiIdentityAdminUsersIdPermissionsResponse,
|
|
61
|
+
getApiIdentityAdminUsersIdPermissionsResponseItem: () => getApiIdentityAdminUsersIdPermissionsResponseItem,
|
|
62
|
+
getApiIdentityAdminUsersIdRoles: () => getApiIdentityAdminUsersIdRoles,
|
|
63
|
+
getApiIdentityAdminUsersIdRolesParams: () => getApiIdentityAdminUsersIdRolesParams,
|
|
64
|
+
getApiIdentityAdminUsersIdRolesResponse: () => getApiIdentityAdminUsersIdRolesResponse,
|
|
65
|
+
getApiIdentityAdminUsersIdRolesResponseItem: () => getApiIdentityAdminUsersIdRolesResponseItem,
|
|
66
|
+
getApiIdentityAdminUsersQueryParams: () => getApiIdentityAdminUsersQueryParams,
|
|
67
|
+
getApiIdentityAdminUsersResponse: () => getApiIdentityAdminUsersResponse,
|
|
68
|
+
getApiIdentityAntiforgery: () => getApiIdentityAntiforgery,
|
|
69
|
+
getApiIdentityAntiforgeryResponse: () => getApiIdentityAntiforgeryResponse,
|
|
70
|
+
getApiIdentityManage2fa: () => getApiIdentityManage2fa,
|
|
71
|
+
getApiIdentityManage2faResponse: () => getApiIdentityManage2faResponse,
|
|
72
|
+
getApiIdentityManageInfo: () => getApiIdentityManageInfo,
|
|
73
|
+
getApiIdentityManageInfoResponse: () => getApiIdentityManageInfoResponse,
|
|
46
74
|
getConsumeBatchMutationOptions: () => getConsumeBatchMutationOptions,
|
|
47
75
|
getCreateBatchMutationOptions: () => getCreateBatchMutationOptions,
|
|
48
76
|
getCreateStockItemsMutationOptions: () => getCreateStockItemsMutationOptions,
|
|
49
77
|
getCreateWarehouseMutationOptions: () => getCreateWarehouseMutationOptions,
|
|
78
|
+
getDeleteApiIdentityAdminRolesIdMutationOptions: () => getDeleteApiIdentityAdminRolesIdMutationOptions,
|
|
50
79
|
getDeleteWarehouseMutationOptions: () => getDeleteWarehouseMutationOptions,
|
|
80
|
+
getGetApiIdentityAdminPermissionsQueryKey: () => getGetApiIdentityAdminPermissionsQueryKey,
|
|
81
|
+
getGetApiIdentityAdminPermissionsQueryOptions: () => getGetApiIdentityAdminPermissionsQueryOptions,
|
|
82
|
+
getGetApiIdentityAdminRolesIdQueryKey: () => getGetApiIdentityAdminRolesIdQueryKey,
|
|
83
|
+
getGetApiIdentityAdminRolesIdQueryOptions: () => getGetApiIdentityAdminRolesIdQueryOptions,
|
|
84
|
+
getGetApiIdentityAdminRolesQueryKey: () => getGetApiIdentityAdminRolesQueryKey,
|
|
85
|
+
getGetApiIdentityAdminRolesQueryOptions: () => getGetApiIdentityAdminRolesQueryOptions,
|
|
86
|
+
getGetApiIdentityAdminUsersIdPermissionsQueryKey: () => getGetApiIdentityAdminUsersIdPermissionsQueryKey,
|
|
87
|
+
getGetApiIdentityAdminUsersIdPermissionsQueryOptions: () => getGetApiIdentityAdminUsersIdPermissionsQueryOptions,
|
|
88
|
+
getGetApiIdentityAdminUsersIdRolesQueryKey: () => getGetApiIdentityAdminUsersIdRolesQueryKey,
|
|
89
|
+
getGetApiIdentityAdminUsersIdRolesQueryOptions: () => getGetApiIdentityAdminUsersIdRolesQueryOptions,
|
|
90
|
+
getGetApiIdentityAdminUsersQueryKey: () => getGetApiIdentityAdminUsersQueryKey,
|
|
91
|
+
getGetApiIdentityAdminUsersQueryOptions: () => getGetApiIdentityAdminUsersQueryOptions,
|
|
92
|
+
getGetApiIdentityAntiforgeryQueryKey: () => getGetApiIdentityAntiforgeryQueryKey,
|
|
93
|
+
getGetApiIdentityAntiforgeryQueryOptions: () => getGetApiIdentityAntiforgeryQueryOptions,
|
|
94
|
+
getGetApiIdentityManage2faQueryKey: () => getGetApiIdentityManage2faQueryKey,
|
|
95
|
+
getGetApiIdentityManage2faQueryOptions: () => getGetApiIdentityManage2faQueryOptions,
|
|
96
|
+
getGetApiIdentityManageInfoQueryKey: () => getGetApiIdentityManageInfoQueryKey,
|
|
97
|
+
getGetApiIdentityManageInfoQueryOptions: () => getGetApiIdentityManageInfoQueryOptions,
|
|
51
98
|
getGetHealthQueryKey: () => getGetHealthQueryKey,
|
|
52
99
|
getGetHealthQueryOptions: () => getGetHealthQueryOptions,
|
|
53
100
|
getGetWarehouseByIdQueryKey: () => getGetWarehouseByIdQueryKey,
|
|
@@ -61,6 +108,18 @@ __export(index_exports, {
|
|
|
61
108
|
getListStockMovementsQueryOptions: () => getListStockMovementsQueryOptions,
|
|
62
109
|
getListWarehousesQueryKey: () => getListWarehousesQueryKey,
|
|
63
110
|
getListWarehousesQueryOptions: () => getListWarehousesQueryOptions,
|
|
111
|
+
getPostApiIdentityAdminRolesMutationOptions: () => getPostApiIdentityAdminRolesMutationOptions,
|
|
112
|
+
getPostApiIdentityAdminUsersIdLogoutMutationOptions: () => getPostApiIdentityAdminUsersIdLogoutMutationOptions,
|
|
113
|
+
getPostApiIdentityForgotPasswordMutationOptions: () => getPostApiIdentityForgotPasswordMutationOptions,
|
|
114
|
+
getPostApiIdentityLoginMutationOptions: () => getPostApiIdentityLoginMutationOptions,
|
|
115
|
+
getPostApiIdentityLogoutMutationOptions: () => getPostApiIdentityLogoutMutationOptions,
|
|
116
|
+
getPostApiIdentityManage2faMutationOptions: () => getPostApiIdentityManage2faMutationOptions,
|
|
117
|
+
getPostApiIdentityManageInfoMutationOptions: () => getPostApiIdentityManageInfoMutationOptions,
|
|
118
|
+
getPostApiIdentityResetPasswordMutationOptions: () => getPostApiIdentityResetPasswordMutationOptions,
|
|
119
|
+
getPutApiIdentityAdminRolesIdMutationOptions: () => getPutApiIdentityAdminRolesIdMutationOptions,
|
|
120
|
+
getPutApiIdentityAdminRolesIdPermissionsMutationOptions: () => getPutApiIdentityAdminRolesIdPermissionsMutationOptions,
|
|
121
|
+
getPutApiIdentityAdminUsersIdActiveMutationOptions: () => getPutApiIdentityAdminUsersIdActiveMutationOptions,
|
|
122
|
+
getPutApiIdentityAdminUsersIdRolesMutationOptions: () => getPutApiIdentityAdminUsersIdRolesMutationOptions,
|
|
64
123
|
getSearchAddressesQueryKey: () => getSearchAddressesQueryKey,
|
|
65
124
|
getSearchAddressesQueryOptions: () => getSearchAddressesQueryOptions,
|
|
66
125
|
getToggleWarehouseStatusMutationOptions: () => getToggleWarehouseStatusMutationOptions,
|
|
@@ -70,6 +129,7 @@ __export(index_exports, {
|
|
|
70
129
|
getWarehouseByIdResponse: () => getWarehouseByIdResponse,
|
|
71
130
|
getWarehouseOptions: () => getWarehouseOptions,
|
|
72
131
|
getWarehouseOptionsResponse: () => getWarehouseOptionsResponse,
|
|
132
|
+
getWarehouseOptionsResponseItem: () => getWarehouseOptionsResponseItem,
|
|
73
133
|
listStockItems: () => listStockItems,
|
|
74
134
|
listStockItemsQueryDescendingDefault: () => listStockItemsQueryDescendingDefault,
|
|
75
135
|
listStockItemsQueryPageDefault: () => listStockItemsQueryPageDefault,
|
|
@@ -87,10 +147,41 @@ __export(index_exports, {
|
|
|
87
147
|
listWarehousesQueryPageSizeDefault: () => listWarehousesQueryPageSizeDefault,
|
|
88
148
|
listWarehousesQueryParams: () => listWarehousesQueryParams,
|
|
89
149
|
listWarehousesResponse: () => listWarehousesResponse,
|
|
150
|
+
postApiIdentityAdminRoles: () => postApiIdentityAdminRoles,
|
|
151
|
+
postApiIdentityAdminRolesBody: () => postApiIdentityAdminRolesBody,
|
|
152
|
+
postApiIdentityAdminUsersIdLogout: () => postApiIdentityAdminUsersIdLogout,
|
|
153
|
+
postApiIdentityAdminUsersIdLogoutParams: () => postApiIdentityAdminUsersIdLogoutParams,
|
|
154
|
+
postApiIdentityForgotPassword: () => postApiIdentityForgotPassword,
|
|
155
|
+
postApiIdentityForgotPasswordBody: () => postApiIdentityForgotPasswordBody,
|
|
156
|
+
postApiIdentityLogin: () => postApiIdentityLogin,
|
|
157
|
+
postApiIdentityLoginBody: () => postApiIdentityLoginBody,
|
|
158
|
+
postApiIdentityLoginResponse: () => postApiIdentityLoginResponse,
|
|
159
|
+
postApiIdentityLogout: () => postApiIdentityLogout,
|
|
160
|
+
postApiIdentityManage2fa: () => postApiIdentityManage2fa,
|
|
161
|
+
postApiIdentityManage2faBody: () => postApiIdentityManage2faBody,
|
|
162
|
+
postApiIdentityManage2faResponse: () => postApiIdentityManage2faResponse,
|
|
163
|
+
postApiIdentityManageInfo: () => postApiIdentityManageInfo,
|
|
164
|
+
postApiIdentityManageInfoBody: () => postApiIdentityManageInfoBody,
|
|
165
|
+
postApiIdentityManageInfoResponse: () => postApiIdentityManageInfoResponse,
|
|
166
|
+
postApiIdentityResetPassword: () => postApiIdentityResetPassword,
|
|
167
|
+
postApiIdentityResetPasswordBody: () => postApiIdentityResetPasswordBody,
|
|
168
|
+
putApiIdentityAdminRolesId: () => putApiIdentityAdminRolesId,
|
|
169
|
+
putApiIdentityAdminRolesIdBody: () => putApiIdentityAdminRolesIdBody,
|
|
170
|
+
putApiIdentityAdminRolesIdParams: () => putApiIdentityAdminRolesIdParams,
|
|
171
|
+
putApiIdentityAdminRolesIdPermissions: () => putApiIdentityAdminRolesIdPermissions,
|
|
172
|
+
putApiIdentityAdminRolesIdPermissionsBody: () => putApiIdentityAdminRolesIdPermissionsBody,
|
|
173
|
+
putApiIdentityAdminRolesIdPermissionsParams: () => putApiIdentityAdminRolesIdPermissionsParams,
|
|
174
|
+
putApiIdentityAdminUsersIdActive: () => putApiIdentityAdminUsersIdActive,
|
|
175
|
+
putApiIdentityAdminUsersIdActiveBody: () => putApiIdentityAdminUsersIdActiveBody,
|
|
176
|
+
putApiIdentityAdminUsersIdActiveParams: () => putApiIdentityAdminUsersIdActiveParams,
|
|
177
|
+
putApiIdentityAdminUsersIdRoles: () => putApiIdentityAdminUsersIdRoles,
|
|
178
|
+
putApiIdentityAdminUsersIdRolesBody: () => putApiIdentityAdminUsersIdRolesBody,
|
|
179
|
+
putApiIdentityAdminUsersIdRolesParams: () => putApiIdentityAdminUsersIdRolesParams,
|
|
90
180
|
searchAddresses: () => searchAddresses,
|
|
91
181
|
searchAddressesQueryLimitDefault: () => searchAddressesQueryLimitDefault,
|
|
92
182
|
searchAddressesQueryParams: () => searchAddressesQueryParams,
|
|
93
183
|
searchAddressesResponse: () => searchAddressesResponse,
|
|
184
|
+
searchAddressesResponseItem: () => searchAddressesResponseItem,
|
|
94
185
|
toggleWarehouseStatus: () => toggleWarehouseStatus,
|
|
95
186
|
toggleWarehouseStatusParams: () => toggleWarehouseStatusParams,
|
|
96
187
|
updateWarehouse: () => updateWarehouse,
|
|
@@ -100,13 +191,35 @@ __export(index_exports, {
|
|
|
100
191
|
useCreateBatch: () => useCreateBatch,
|
|
101
192
|
useCreateStockItems: () => useCreateStockItems,
|
|
102
193
|
useCreateWarehouse: () => useCreateWarehouse,
|
|
194
|
+
useDeleteApiIdentityAdminRolesId: () => useDeleteApiIdentityAdminRolesId,
|
|
103
195
|
useDeleteWarehouse: () => useDeleteWarehouse,
|
|
196
|
+
useGetApiIdentityAdminPermissions: () => useGetApiIdentityAdminPermissions,
|
|
197
|
+
useGetApiIdentityAdminRoles: () => useGetApiIdentityAdminRoles,
|
|
198
|
+
useGetApiIdentityAdminRolesId: () => useGetApiIdentityAdminRolesId,
|
|
199
|
+
useGetApiIdentityAdminUsers: () => useGetApiIdentityAdminUsers,
|
|
200
|
+
useGetApiIdentityAdminUsersIdPermissions: () => useGetApiIdentityAdminUsersIdPermissions,
|
|
201
|
+
useGetApiIdentityAdminUsersIdRoles: () => useGetApiIdentityAdminUsersIdRoles,
|
|
202
|
+
useGetApiIdentityAntiforgery: () => useGetApiIdentityAntiforgery,
|
|
203
|
+
useGetApiIdentityManage2fa: () => useGetApiIdentityManage2fa,
|
|
204
|
+
useGetApiIdentityManageInfo: () => useGetApiIdentityManageInfo,
|
|
104
205
|
useGetHealth: () => useGetHealth,
|
|
105
206
|
useGetWarehouseById: () => useGetWarehouseById,
|
|
106
207
|
useGetWarehouseOptions: () => useGetWarehouseOptions,
|
|
107
208
|
useListStockItems: () => useListStockItems,
|
|
108
209
|
useListStockMovements: () => useListStockMovements,
|
|
109
210
|
useListWarehouses: () => useListWarehouses,
|
|
211
|
+
usePostApiIdentityAdminRoles: () => usePostApiIdentityAdminRoles,
|
|
212
|
+
usePostApiIdentityAdminUsersIdLogout: () => usePostApiIdentityAdminUsersIdLogout,
|
|
213
|
+
usePostApiIdentityForgotPassword: () => usePostApiIdentityForgotPassword,
|
|
214
|
+
usePostApiIdentityLogin: () => usePostApiIdentityLogin,
|
|
215
|
+
usePostApiIdentityLogout: () => usePostApiIdentityLogout,
|
|
216
|
+
usePostApiIdentityManage2fa: () => usePostApiIdentityManage2fa,
|
|
217
|
+
usePostApiIdentityManageInfo: () => usePostApiIdentityManageInfo,
|
|
218
|
+
usePostApiIdentityResetPassword: () => usePostApiIdentityResetPassword,
|
|
219
|
+
usePutApiIdentityAdminRolesId: () => usePutApiIdentityAdminRolesId,
|
|
220
|
+
usePutApiIdentityAdminRolesIdPermissions: () => usePutApiIdentityAdminRolesIdPermissions,
|
|
221
|
+
usePutApiIdentityAdminUsersIdActive: () => usePutApiIdentityAdminUsersIdActive,
|
|
222
|
+
usePutApiIdentityAdminUsersIdRoles: () => usePutApiIdentityAdminUsersIdRoles,
|
|
110
223
|
useSearchAddresses: () => useSearchAddresses,
|
|
111
224
|
useToggleWarehouseStatus: () => useToggleWarehouseStatus,
|
|
112
225
|
useUpdateWarehouse: () => useUpdateWarehouse
|
|
@@ -379,24 +492,402 @@ function useListStockMovements(params, options, queryClient) {
|
|
|
379
492
|
query.queryKey = queryOptions.queryKey;
|
|
380
493
|
return query;
|
|
381
494
|
}
|
|
495
|
+
var getApiIdentityAntiforgery = (options) => {
|
|
496
|
+
return import_axios.default.get(`/api/identity/antiforgery`, options);
|
|
497
|
+
};
|
|
498
|
+
var getGetApiIdentityAntiforgeryQueryKey = () => {
|
|
499
|
+
return [`/api/identity/antiforgery`];
|
|
500
|
+
};
|
|
501
|
+
var getGetApiIdentityAntiforgeryQueryOptions = (options) => {
|
|
502
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
503
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAntiforgeryQueryKey();
|
|
504
|
+
const queryFn = ({
|
|
505
|
+
signal
|
|
506
|
+
}) => getApiIdentityAntiforgery({ signal, ...axiosOptions });
|
|
507
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
508
|
+
};
|
|
509
|
+
function useGetApiIdentityAntiforgery(options, queryClient) {
|
|
510
|
+
const queryOptions = getGetApiIdentityAntiforgeryQueryOptions(options);
|
|
511
|
+
const query = (0, import_react_query.useQuery)(queryOptions, queryClient);
|
|
512
|
+
query.queryKey = queryOptions.queryKey;
|
|
513
|
+
return query;
|
|
514
|
+
}
|
|
515
|
+
var postApiIdentityLogin = (loginRequest, options) => {
|
|
516
|
+
return import_axios.default.post(`/api/identity/login`, loginRequest, options);
|
|
517
|
+
};
|
|
518
|
+
var getPostApiIdentityLoginMutationOptions = (options) => {
|
|
519
|
+
const mutationKey = ["postApiIdentityLogin"];
|
|
520
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
|
|
521
|
+
const mutationFn = (props) => {
|
|
522
|
+
const { data } = props ?? {};
|
|
523
|
+
return postApiIdentityLogin(data, axiosOptions);
|
|
524
|
+
};
|
|
525
|
+
return { mutationFn, ...mutationOptions };
|
|
526
|
+
};
|
|
527
|
+
var usePostApiIdentityLogin = (options, queryClient) => {
|
|
528
|
+
const mutationOptions = getPostApiIdentityLoginMutationOptions(options);
|
|
529
|
+
return (0, import_react_query.useMutation)(mutationOptions, queryClient);
|
|
530
|
+
};
|
|
531
|
+
var postApiIdentityLogout = (options) => {
|
|
532
|
+
return import_axios.default.post(`/api/identity/logout`, void 0, options);
|
|
533
|
+
};
|
|
534
|
+
var getPostApiIdentityLogoutMutationOptions = (options) => {
|
|
535
|
+
const mutationKey = ["postApiIdentityLogout"];
|
|
536
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
|
|
537
|
+
const mutationFn = () => {
|
|
538
|
+
return postApiIdentityLogout(axiosOptions);
|
|
539
|
+
};
|
|
540
|
+
return { mutationFn, ...mutationOptions };
|
|
541
|
+
};
|
|
542
|
+
var usePostApiIdentityLogout = (options, queryClient) => {
|
|
543
|
+
const mutationOptions = getPostApiIdentityLogoutMutationOptions(options);
|
|
544
|
+
return (0, import_react_query.useMutation)(mutationOptions, queryClient);
|
|
545
|
+
};
|
|
546
|
+
var postApiIdentityForgotPassword = (emailRequest, options) => {
|
|
547
|
+
return import_axios.default.post(`/api/identity/forgotPassword`, emailRequest, options);
|
|
548
|
+
};
|
|
549
|
+
var getPostApiIdentityForgotPasswordMutationOptions = (options) => {
|
|
550
|
+
const mutationKey = ["postApiIdentityForgotPassword"];
|
|
551
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
|
|
552
|
+
const mutationFn = (props) => {
|
|
553
|
+
const { data } = props ?? {};
|
|
554
|
+
return postApiIdentityForgotPassword(data, axiosOptions);
|
|
555
|
+
};
|
|
556
|
+
return { mutationFn, ...mutationOptions };
|
|
557
|
+
};
|
|
558
|
+
var usePostApiIdentityForgotPassword = (options, queryClient) => {
|
|
559
|
+
const mutationOptions = getPostApiIdentityForgotPasswordMutationOptions(options);
|
|
560
|
+
return (0, import_react_query.useMutation)(mutationOptions, queryClient);
|
|
561
|
+
};
|
|
562
|
+
var postApiIdentityResetPassword = (resetPasswordRequest, options) => {
|
|
563
|
+
return import_axios.default.post(`/api/identity/resetPassword`, resetPasswordRequest, options);
|
|
564
|
+
};
|
|
565
|
+
var getPostApiIdentityResetPasswordMutationOptions = (options) => {
|
|
566
|
+
const mutationKey = ["postApiIdentityResetPassword"];
|
|
567
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
|
|
568
|
+
const mutationFn = (props) => {
|
|
569
|
+
const { data } = props ?? {};
|
|
570
|
+
return postApiIdentityResetPassword(data, axiosOptions);
|
|
571
|
+
};
|
|
572
|
+
return { mutationFn, ...mutationOptions };
|
|
573
|
+
};
|
|
574
|
+
var usePostApiIdentityResetPassword = (options, queryClient) => {
|
|
575
|
+
const mutationOptions = getPostApiIdentityResetPasswordMutationOptions(options);
|
|
576
|
+
return (0, import_react_query.useMutation)(mutationOptions, queryClient);
|
|
577
|
+
};
|
|
578
|
+
var getApiIdentityManage2fa = (options) => {
|
|
579
|
+
return import_axios.default.get(`/api/identity/manage/2fa`, options);
|
|
580
|
+
};
|
|
581
|
+
var getGetApiIdentityManage2faQueryKey = () => {
|
|
582
|
+
return [`/api/identity/manage/2fa`];
|
|
583
|
+
};
|
|
584
|
+
var getGetApiIdentityManage2faQueryOptions = (options) => {
|
|
585
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
586
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityManage2faQueryKey();
|
|
587
|
+
const queryFn = ({
|
|
588
|
+
signal
|
|
589
|
+
}) => getApiIdentityManage2fa({ signal, ...axiosOptions });
|
|
590
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
591
|
+
};
|
|
592
|
+
function useGetApiIdentityManage2fa(options, queryClient) {
|
|
593
|
+
const queryOptions = getGetApiIdentityManage2faQueryOptions(options);
|
|
594
|
+
const query = (0, import_react_query.useQuery)(queryOptions, queryClient);
|
|
595
|
+
query.queryKey = queryOptions.queryKey;
|
|
596
|
+
return query;
|
|
597
|
+
}
|
|
598
|
+
var postApiIdentityManage2fa = (twoFactorRequest, options) => {
|
|
599
|
+
return import_axios.default.post(`/api/identity/manage/2fa`, twoFactorRequest, options);
|
|
600
|
+
};
|
|
601
|
+
var getPostApiIdentityManage2faMutationOptions = (options) => {
|
|
602
|
+
const mutationKey = ["postApiIdentityManage2fa"];
|
|
603
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
|
|
604
|
+
const mutationFn = (props) => {
|
|
605
|
+
const { data } = props ?? {};
|
|
606
|
+
return postApiIdentityManage2fa(data, axiosOptions);
|
|
607
|
+
};
|
|
608
|
+
return { mutationFn, ...mutationOptions };
|
|
609
|
+
};
|
|
610
|
+
var usePostApiIdentityManage2fa = (options, queryClient) => {
|
|
611
|
+
const mutationOptions = getPostApiIdentityManage2faMutationOptions(options);
|
|
612
|
+
return (0, import_react_query.useMutation)(mutationOptions, queryClient);
|
|
613
|
+
};
|
|
614
|
+
var getApiIdentityManageInfo = (options) => {
|
|
615
|
+
return import_axios.default.get(`/api/identity/manage/info`, options);
|
|
616
|
+
};
|
|
617
|
+
var getGetApiIdentityManageInfoQueryKey = () => {
|
|
618
|
+
return [`/api/identity/manage/info`];
|
|
619
|
+
};
|
|
620
|
+
var getGetApiIdentityManageInfoQueryOptions = (options) => {
|
|
621
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
622
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityManageInfoQueryKey();
|
|
623
|
+
const queryFn = ({
|
|
624
|
+
signal
|
|
625
|
+
}) => getApiIdentityManageInfo({ signal, ...axiosOptions });
|
|
626
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
627
|
+
};
|
|
628
|
+
function useGetApiIdentityManageInfo(options, queryClient) {
|
|
629
|
+
const queryOptions = getGetApiIdentityManageInfoQueryOptions(options);
|
|
630
|
+
const query = (0, import_react_query.useQuery)(queryOptions, queryClient);
|
|
631
|
+
query.queryKey = queryOptions.queryKey;
|
|
632
|
+
return query;
|
|
633
|
+
}
|
|
634
|
+
var postApiIdentityManageInfo = (updateAccountRequest, options) => {
|
|
635
|
+
return import_axios.default.post(`/api/identity/manage/info`, updateAccountRequest, options);
|
|
636
|
+
};
|
|
637
|
+
var getPostApiIdentityManageInfoMutationOptions = (options) => {
|
|
638
|
+
const mutationKey = ["postApiIdentityManageInfo"];
|
|
639
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
|
|
640
|
+
const mutationFn = (props) => {
|
|
641
|
+
const { data } = props ?? {};
|
|
642
|
+
return postApiIdentityManageInfo(data, axiosOptions);
|
|
643
|
+
};
|
|
644
|
+
return { mutationFn, ...mutationOptions };
|
|
645
|
+
};
|
|
646
|
+
var usePostApiIdentityManageInfo = (options, queryClient) => {
|
|
647
|
+
const mutationOptions = getPostApiIdentityManageInfoMutationOptions(options);
|
|
648
|
+
return (0, import_react_query.useMutation)(mutationOptions, queryClient);
|
|
649
|
+
};
|
|
650
|
+
var getApiIdentityAdminRoles = (options) => {
|
|
651
|
+
return import_axios.default.get(`/api/identity/admin/roles`, options);
|
|
652
|
+
};
|
|
653
|
+
var getGetApiIdentityAdminRolesQueryKey = () => {
|
|
654
|
+
return [`/api/identity/admin/roles`];
|
|
655
|
+
};
|
|
656
|
+
var getGetApiIdentityAdminRolesQueryOptions = (options) => {
|
|
657
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
658
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminRolesQueryKey();
|
|
659
|
+
const queryFn = ({
|
|
660
|
+
signal
|
|
661
|
+
}) => getApiIdentityAdminRoles({ signal, ...axiosOptions });
|
|
662
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
663
|
+
};
|
|
664
|
+
function useGetApiIdentityAdminRoles(options, queryClient) {
|
|
665
|
+
const queryOptions = getGetApiIdentityAdminRolesQueryOptions(options);
|
|
666
|
+
const query = (0, import_react_query.useQuery)(queryOptions, queryClient);
|
|
667
|
+
query.queryKey = queryOptions.queryKey;
|
|
668
|
+
return query;
|
|
669
|
+
}
|
|
670
|
+
var postApiIdentityAdminRoles = (roleNameRequest, options) => {
|
|
671
|
+
return import_axios.default.post(`/api/identity/admin/roles`, roleNameRequest, options);
|
|
672
|
+
};
|
|
673
|
+
var getPostApiIdentityAdminRolesMutationOptions = (options) => {
|
|
674
|
+
const mutationKey = ["postApiIdentityAdminRoles"];
|
|
675
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
|
|
676
|
+
const mutationFn = (props) => {
|
|
677
|
+
const { data } = props ?? {};
|
|
678
|
+
return postApiIdentityAdminRoles(data, axiosOptions);
|
|
679
|
+
};
|
|
680
|
+
return { mutationFn, ...mutationOptions };
|
|
681
|
+
};
|
|
682
|
+
var usePostApiIdentityAdminRoles = (options, queryClient) => {
|
|
683
|
+
const mutationOptions = getPostApiIdentityAdminRolesMutationOptions(options);
|
|
684
|
+
return (0, import_react_query.useMutation)(mutationOptions, queryClient);
|
|
685
|
+
};
|
|
686
|
+
var getApiIdentityAdminRolesId = (id, options) => {
|
|
687
|
+
return import_axios.default.get(`/api/identity/admin/roles/${id}`, options);
|
|
688
|
+
};
|
|
689
|
+
var getGetApiIdentityAdminRolesIdQueryKey = (id) => {
|
|
690
|
+
return [`/api/identity/admin/roles/${id}`];
|
|
691
|
+
};
|
|
692
|
+
var getGetApiIdentityAdminRolesIdQueryOptions = (id, options) => {
|
|
693
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
694
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminRolesIdQueryKey(id);
|
|
695
|
+
const queryFn = ({
|
|
696
|
+
signal
|
|
697
|
+
}) => getApiIdentityAdminRolesId(id, { signal, ...axiosOptions });
|
|
698
|
+
return { queryKey, queryFn, enabled: !!id, ...queryOptions };
|
|
699
|
+
};
|
|
700
|
+
function useGetApiIdentityAdminRolesId(id, options, queryClient) {
|
|
701
|
+
const queryOptions = getGetApiIdentityAdminRolesIdQueryOptions(id, options);
|
|
702
|
+
const query = (0, import_react_query.useQuery)(queryOptions, queryClient);
|
|
703
|
+
query.queryKey = queryOptions.queryKey;
|
|
704
|
+
return query;
|
|
705
|
+
}
|
|
706
|
+
var putApiIdentityAdminRolesId = (id, roleNameRequest, options) => {
|
|
707
|
+
return import_axios.default.put(`/api/identity/admin/roles/${id}`, roleNameRequest, options);
|
|
708
|
+
};
|
|
709
|
+
var getPutApiIdentityAdminRolesIdMutationOptions = (options) => {
|
|
710
|
+
const mutationKey = ["putApiIdentityAdminRolesId"];
|
|
711
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
|
|
712
|
+
const mutationFn = (props) => {
|
|
713
|
+
const { id, data } = props ?? {};
|
|
714
|
+
return putApiIdentityAdminRolesId(id, data, axiosOptions);
|
|
715
|
+
};
|
|
716
|
+
return { mutationFn, ...mutationOptions };
|
|
717
|
+
};
|
|
718
|
+
var usePutApiIdentityAdminRolesId = (options, queryClient) => {
|
|
719
|
+
const mutationOptions = getPutApiIdentityAdminRolesIdMutationOptions(options);
|
|
720
|
+
return (0, import_react_query.useMutation)(mutationOptions, queryClient);
|
|
721
|
+
};
|
|
722
|
+
var deleteApiIdentityAdminRolesId = (id, options) => {
|
|
723
|
+
return import_axios.default.delete(`/api/identity/admin/roles/${id}`, options);
|
|
724
|
+
};
|
|
725
|
+
var getDeleteApiIdentityAdminRolesIdMutationOptions = (options) => {
|
|
726
|
+
const mutationKey = ["deleteApiIdentityAdminRolesId"];
|
|
727
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
|
|
728
|
+
const mutationFn = (props) => {
|
|
729
|
+
const { id } = props ?? {};
|
|
730
|
+
return deleteApiIdentityAdminRolesId(id, axiosOptions);
|
|
731
|
+
};
|
|
732
|
+
return { mutationFn, ...mutationOptions };
|
|
733
|
+
};
|
|
734
|
+
var useDeleteApiIdentityAdminRolesId = (options, queryClient) => {
|
|
735
|
+
const mutationOptions = getDeleteApiIdentityAdminRolesIdMutationOptions(options);
|
|
736
|
+
return (0, import_react_query.useMutation)(mutationOptions, queryClient);
|
|
737
|
+
};
|
|
738
|
+
var putApiIdentityAdminRolesIdPermissions = (id, setPermissionsRequest, options) => {
|
|
739
|
+
return import_axios.default.put(`/api/identity/admin/roles/${id}/permissions`, setPermissionsRequest, options);
|
|
740
|
+
};
|
|
741
|
+
var getPutApiIdentityAdminRolesIdPermissionsMutationOptions = (options) => {
|
|
742
|
+
const mutationKey = ["putApiIdentityAdminRolesIdPermissions"];
|
|
743
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
|
|
744
|
+
const mutationFn = (props) => {
|
|
745
|
+
const { id, data } = props ?? {};
|
|
746
|
+
return putApiIdentityAdminRolesIdPermissions(id, data, axiosOptions);
|
|
747
|
+
};
|
|
748
|
+
return { mutationFn, ...mutationOptions };
|
|
749
|
+
};
|
|
750
|
+
var usePutApiIdentityAdminRolesIdPermissions = (options, queryClient) => {
|
|
751
|
+
const mutationOptions = getPutApiIdentityAdminRolesIdPermissionsMutationOptions(options);
|
|
752
|
+
return (0, import_react_query.useMutation)(mutationOptions, queryClient);
|
|
753
|
+
};
|
|
754
|
+
var getApiIdentityAdminPermissions = (options) => {
|
|
755
|
+
return import_axios.default.get(`/api/identity/admin/permissions`, options);
|
|
756
|
+
};
|
|
757
|
+
var getGetApiIdentityAdminPermissionsQueryKey = () => {
|
|
758
|
+
return [`/api/identity/admin/permissions`];
|
|
759
|
+
};
|
|
760
|
+
var getGetApiIdentityAdminPermissionsQueryOptions = (options) => {
|
|
761
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
762
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminPermissionsQueryKey();
|
|
763
|
+
const queryFn = ({
|
|
764
|
+
signal
|
|
765
|
+
}) => getApiIdentityAdminPermissions({ signal, ...axiosOptions });
|
|
766
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
767
|
+
};
|
|
768
|
+
function useGetApiIdentityAdminPermissions(options, queryClient) {
|
|
769
|
+
const queryOptions = getGetApiIdentityAdminPermissionsQueryOptions(options);
|
|
770
|
+
const query = (0, import_react_query.useQuery)(queryOptions, queryClient);
|
|
771
|
+
query.queryKey = queryOptions.queryKey;
|
|
772
|
+
return query;
|
|
773
|
+
}
|
|
774
|
+
var getApiIdentityAdminUsers = (params, options) => {
|
|
775
|
+
return import_axios.default.get(`/api/identity/admin/users`, {
|
|
776
|
+
...options,
|
|
777
|
+
params: { ...params, ...options?.params }
|
|
778
|
+
});
|
|
779
|
+
};
|
|
780
|
+
var getGetApiIdentityAdminUsersQueryKey = (params) => {
|
|
781
|
+
return [`/api/identity/admin/users`, ...params ? [params] : []];
|
|
782
|
+
};
|
|
783
|
+
var getGetApiIdentityAdminUsersQueryOptions = (params, options) => {
|
|
784
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
785
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminUsersQueryKey(params);
|
|
786
|
+
const queryFn = ({
|
|
787
|
+
signal
|
|
788
|
+
}) => getApiIdentityAdminUsers(params, { signal, ...axiosOptions });
|
|
789
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
790
|
+
};
|
|
791
|
+
function useGetApiIdentityAdminUsers(params, options, queryClient) {
|
|
792
|
+
const queryOptions = getGetApiIdentityAdminUsersQueryOptions(params, options);
|
|
793
|
+
const query = (0, import_react_query.useQuery)(queryOptions, queryClient);
|
|
794
|
+
query.queryKey = queryOptions.queryKey;
|
|
795
|
+
return query;
|
|
796
|
+
}
|
|
797
|
+
var getApiIdentityAdminUsersIdRoles = (id, options) => {
|
|
798
|
+
return import_axios.default.get(`/api/identity/admin/users/${id}/roles`, options);
|
|
799
|
+
};
|
|
800
|
+
var getGetApiIdentityAdminUsersIdRolesQueryKey = (id) => {
|
|
801
|
+
return [`/api/identity/admin/users/${id}/roles`];
|
|
802
|
+
};
|
|
803
|
+
var getGetApiIdentityAdminUsersIdRolesQueryOptions = (id, options) => {
|
|
804
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
805
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminUsersIdRolesQueryKey(id);
|
|
806
|
+
const queryFn = ({
|
|
807
|
+
signal
|
|
808
|
+
}) => getApiIdentityAdminUsersIdRoles(id, { signal, ...axiosOptions });
|
|
809
|
+
return { queryKey, queryFn, enabled: !!id, ...queryOptions };
|
|
810
|
+
};
|
|
811
|
+
function useGetApiIdentityAdminUsersIdRoles(id, options, queryClient) {
|
|
812
|
+
const queryOptions = getGetApiIdentityAdminUsersIdRolesQueryOptions(id, options);
|
|
813
|
+
const query = (0, import_react_query.useQuery)(queryOptions, queryClient);
|
|
814
|
+
query.queryKey = queryOptions.queryKey;
|
|
815
|
+
return query;
|
|
816
|
+
}
|
|
817
|
+
var putApiIdentityAdminUsersIdRoles = (id, setUserRolesRequest, options) => {
|
|
818
|
+
return import_axios.default.put(`/api/identity/admin/users/${id}/roles`, setUserRolesRequest, options);
|
|
819
|
+
};
|
|
820
|
+
var getPutApiIdentityAdminUsersIdRolesMutationOptions = (options) => {
|
|
821
|
+
const mutationKey = ["putApiIdentityAdminUsersIdRoles"];
|
|
822
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
|
|
823
|
+
const mutationFn = (props) => {
|
|
824
|
+
const { id, data } = props ?? {};
|
|
825
|
+
return putApiIdentityAdminUsersIdRoles(id, data, axiosOptions);
|
|
826
|
+
};
|
|
827
|
+
return { mutationFn, ...mutationOptions };
|
|
828
|
+
};
|
|
829
|
+
var usePutApiIdentityAdminUsersIdRoles = (options, queryClient) => {
|
|
830
|
+
const mutationOptions = getPutApiIdentityAdminUsersIdRolesMutationOptions(options);
|
|
831
|
+
return (0, import_react_query.useMutation)(mutationOptions, queryClient);
|
|
832
|
+
};
|
|
833
|
+
var getApiIdentityAdminUsersIdPermissions = (id, options) => {
|
|
834
|
+
return import_axios.default.get(`/api/identity/admin/users/${id}/permissions`, options);
|
|
835
|
+
};
|
|
836
|
+
var getGetApiIdentityAdminUsersIdPermissionsQueryKey = (id) => {
|
|
837
|
+
return [`/api/identity/admin/users/${id}/permissions`];
|
|
838
|
+
};
|
|
839
|
+
var getGetApiIdentityAdminUsersIdPermissionsQueryOptions = (id, options) => {
|
|
840
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
841
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminUsersIdPermissionsQueryKey(id);
|
|
842
|
+
const queryFn = ({ signal }) => getApiIdentityAdminUsersIdPermissions(id, { signal, ...axiosOptions });
|
|
843
|
+
return { queryKey, queryFn, enabled: !!id, ...queryOptions };
|
|
844
|
+
};
|
|
845
|
+
function useGetApiIdentityAdminUsersIdPermissions(id, options, queryClient) {
|
|
846
|
+
const queryOptions = getGetApiIdentityAdminUsersIdPermissionsQueryOptions(id, options);
|
|
847
|
+
const query = (0, import_react_query.useQuery)(queryOptions, queryClient);
|
|
848
|
+
query.queryKey = queryOptions.queryKey;
|
|
849
|
+
return query;
|
|
850
|
+
}
|
|
851
|
+
var putApiIdentityAdminUsersIdActive = (id, setUserActiveRequest, options) => {
|
|
852
|
+
return import_axios.default.put(`/api/identity/admin/users/${id}/active`, setUserActiveRequest, options);
|
|
853
|
+
};
|
|
854
|
+
var getPutApiIdentityAdminUsersIdActiveMutationOptions = (options) => {
|
|
855
|
+
const mutationKey = ["putApiIdentityAdminUsersIdActive"];
|
|
856
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
|
|
857
|
+
const mutationFn = (props) => {
|
|
858
|
+
const { id, data } = props ?? {};
|
|
859
|
+
return putApiIdentityAdminUsersIdActive(id, data, axiosOptions);
|
|
860
|
+
};
|
|
861
|
+
return { mutationFn, ...mutationOptions };
|
|
862
|
+
};
|
|
863
|
+
var usePutApiIdentityAdminUsersIdActive = (options, queryClient) => {
|
|
864
|
+
const mutationOptions = getPutApiIdentityAdminUsersIdActiveMutationOptions(options);
|
|
865
|
+
return (0, import_react_query.useMutation)(mutationOptions, queryClient);
|
|
866
|
+
};
|
|
867
|
+
var postApiIdentityAdminUsersIdLogout = (id, options) => {
|
|
868
|
+
return import_axios.default.post(`/api/identity/admin/users/${id}/logout`, void 0, options);
|
|
869
|
+
};
|
|
870
|
+
var getPostApiIdentityAdminUsersIdLogoutMutationOptions = (options) => {
|
|
871
|
+
const mutationKey = ["postApiIdentityAdminUsersIdLogout"];
|
|
872
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
|
|
873
|
+
const mutationFn = (props) => {
|
|
874
|
+
const { id } = props ?? {};
|
|
875
|
+
return postApiIdentityAdminUsersIdLogout(id, axiosOptions);
|
|
876
|
+
};
|
|
877
|
+
return { mutationFn, ...mutationOptions };
|
|
878
|
+
};
|
|
879
|
+
var usePostApiIdentityAdminUsersIdLogout = (options, queryClient) => {
|
|
880
|
+
const mutationOptions = getPostApiIdentityAdminUsersIdLogoutMutationOptions(options);
|
|
881
|
+
return (0, import_react_query.useMutation)(mutationOptions, queryClient);
|
|
882
|
+
};
|
|
382
883
|
|
|
383
884
|
// src/gen/v1.zod.ts
|
|
384
885
|
var zod = __toESM(require("zod"));
|
|
385
|
-
var
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
zod.strictObject({
|
|
389
|
-
warehouseId: zod.uuid(),
|
|
390
|
-
name: zod.string()
|
|
391
|
-
})
|
|
392
|
-
).nullish(),
|
|
393
|
-
success: zod.boolean().optional(),
|
|
394
|
-
statusCode: zod.number().optional(),
|
|
395
|
-
message: zod.string().nullish(),
|
|
396
|
-
errors: zod.array(zod.string()).nullish(),
|
|
397
|
-
requestId: zod.string().nullish(),
|
|
398
|
-
timestamp: zod.iso.datetime({}).optional()
|
|
886
|
+
var getWarehouseOptionsResponseItem = zod.strictObject({
|
|
887
|
+
warehouseId: zod.uuid(),
|
|
888
|
+
name: zod.string()
|
|
399
889
|
});
|
|
890
|
+
var getWarehouseOptionsResponse = zod.array(getWarehouseOptionsResponseItem);
|
|
400
891
|
var listWarehousesQueryPageDefault = 1;
|
|
401
892
|
var listWarehousesQueryPageSizeDefault = 10;
|
|
402
893
|
var listWarehousesQueryParams = zod.strictObject({
|
|
@@ -404,61 +895,7 @@ var listWarehousesQueryParams = zod.strictObject({
|
|
|
404
895
|
pageSize: zod.coerce.number().default(listWarehousesQueryPageSizeDefault).describe("Number of items per page (max 100).")
|
|
405
896
|
});
|
|
406
897
|
var listWarehousesResponse = zod.strictObject({
|
|
407
|
-
|
|
408
|
-
data: zod.union([
|
|
409
|
-
zod.null(),
|
|
410
|
-
zod.strictObject({
|
|
411
|
-
items: zod.array(
|
|
412
|
-
zod.strictObject({
|
|
413
|
-
warehouseId: zod.uuid(),
|
|
414
|
-
name: zod.string(),
|
|
415
|
-
isActive: zod.boolean(),
|
|
416
|
-
personInCharge: zod.strictObject({
|
|
417
|
-
name: zod.string(),
|
|
418
|
-
phone: zod.string().nullable()
|
|
419
|
-
}),
|
|
420
|
-
address: zod.strictObject({
|
|
421
|
-
addressId: zod.uuid(),
|
|
422
|
-
subDistrictName: zod.string(),
|
|
423
|
-
districtName: zod.string(),
|
|
424
|
-
cityName: zod.string(),
|
|
425
|
-
provinceName: zod.string(),
|
|
426
|
-
zipCode: zod.string()
|
|
427
|
-
}),
|
|
428
|
-
fullAddressText: zod.string().nullish()
|
|
429
|
-
})
|
|
430
|
-
),
|
|
431
|
-
page: zod.number(),
|
|
432
|
-
pageSize: zod.number(),
|
|
433
|
-
totalCount: zod.number(),
|
|
434
|
-
totalPages: zod.number().optional(),
|
|
435
|
-
hasNextPage: zod.boolean().optional(),
|
|
436
|
-
hasPreviousPage: zod.boolean().optional()
|
|
437
|
-
})
|
|
438
|
-
]).optional(),
|
|
439
|
-
success: zod.boolean().optional(),
|
|
440
|
-
statusCode: zod.number().optional(),
|
|
441
|
-
message: zod.string().nullish(),
|
|
442
|
-
errors: zod.array(zod.string()).nullish(),
|
|
443
|
-
requestId: zod.string().nullish(),
|
|
444
|
-
timestamp: zod.iso.datetime({}).optional()
|
|
445
|
-
});
|
|
446
|
-
var createWarehouseBody = zod.strictObject({
|
|
447
|
-
name: zod.string(),
|
|
448
|
-
addressId: zod.uuid(),
|
|
449
|
-
personInCharge: zod.strictObject({
|
|
450
|
-
name: zod.string(),
|
|
451
|
-
phone: zod.string().nullable()
|
|
452
|
-
}),
|
|
453
|
-
fullAddressText: zod.string().nullish()
|
|
454
|
-
});
|
|
455
|
-
var getWarehouseByIdParams = zod.strictObject({
|
|
456
|
-
id: zod.uuid().describe("Warehouse identifier.")
|
|
457
|
-
});
|
|
458
|
-
var getWarehouseByIdResponse = zod.strictObject({
|
|
459
|
-
code: zod.string().nullish(),
|
|
460
|
-
data: zod.union([
|
|
461
|
-
zod.null(),
|
|
898
|
+
items: zod.array(
|
|
462
899
|
zod.strictObject({
|
|
463
900
|
warehouseId: zod.uuid(),
|
|
464
901
|
name: zod.string(),
|
|
@@ -477,13 +914,43 @@ var getWarehouseByIdResponse = zod.strictObject({
|
|
|
477
914
|
}),
|
|
478
915
|
fullAddressText: zod.string().nullish()
|
|
479
916
|
})
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
917
|
+
),
|
|
918
|
+
page: zod.number(),
|
|
919
|
+
pageSize: zod.number(),
|
|
920
|
+
totalCount: zod.number(),
|
|
921
|
+
totalPages: zod.number().optional(),
|
|
922
|
+
hasNextPage: zod.boolean().optional(),
|
|
923
|
+
hasPreviousPage: zod.boolean().optional()
|
|
924
|
+
});
|
|
925
|
+
var createWarehouseBody = zod.strictObject({
|
|
926
|
+
name: zod.string(),
|
|
927
|
+
addressId: zod.uuid(),
|
|
928
|
+
personInCharge: zod.strictObject({
|
|
929
|
+
name: zod.string(),
|
|
930
|
+
phone: zod.string().nullable()
|
|
931
|
+
}),
|
|
932
|
+
fullAddressText: zod.string().nullish()
|
|
933
|
+
});
|
|
934
|
+
var getWarehouseByIdParams = zod.strictObject({
|
|
935
|
+
id: zod.uuid().describe("Warehouse identifier.")
|
|
936
|
+
});
|
|
937
|
+
var getWarehouseByIdResponse = zod.strictObject({
|
|
938
|
+
warehouseId: zod.uuid(),
|
|
939
|
+
name: zod.string(),
|
|
940
|
+
isActive: zod.boolean(),
|
|
941
|
+
personInCharge: zod.strictObject({
|
|
942
|
+
name: zod.string(),
|
|
943
|
+
phone: zod.string().nullable()
|
|
944
|
+
}),
|
|
945
|
+
address: zod.strictObject({
|
|
946
|
+
addressId: zod.uuid(),
|
|
947
|
+
subDistrictName: zod.string(),
|
|
948
|
+
districtName: zod.string(),
|
|
949
|
+
cityName: zod.string(),
|
|
950
|
+
provinceName: zod.string(),
|
|
951
|
+
zipCode: zod.string()
|
|
952
|
+
}),
|
|
953
|
+
fullAddressText: zod.string().nullish()
|
|
487
954
|
});
|
|
488
955
|
var updateWarehouseParams = zod.strictObject({
|
|
489
956
|
id: zod.uuid().describe("Warehouse identifier.")
|
|
@@ -509,28 +976,18 @@ var searchAddressesQueryParams = zod.strictObject({
|
|
|
509
976
|
keyword: zod.coerce.string(),
|
|
510
977
|
limit: zod.coerce.number().default(searchAddressesQueryLimitDefault)
|
|
511
978
|
});
|
|
512
|
-
var
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
districtName: zod.string().optional(),
|
|
523
|
-
subDistrictName: zod.string().optional(),
|
|
524
|
-
zipCode: zod.string().optional()
|
|
525
|
-
})
|
|
526
|
-
).nullish(),
|
|
527
|
-
success: zod.boolean().optional(),
|
|
528
|
-
statusCode: zod.number().optional(),
|
|
529
|
-
message: zod.string().nullish(),
|
|
530
|
-
errors: zod.array(zod.string()).nullish(),
|
|
531
|
-
requestId: zod.string().nullish(),
|
|
532
|
-
timestamp: zod.iso.datetime({}).optional()
|
|
979
|
+
var searchAddressesResponseItem = zod.strictObject({
|
|
980
|
+
addressId: zod.uuid().optional(),
|
|
981
|
+
externalId: zod.string().nullish(),
|
|
982
|
+
destinationCode: zod.string().optional(),
|
|
983
|
+
originCode: zod.string().optional(),
|
|
984
|
+
provinceName: zod.string().optional(),
|
|
985
|
+
cityName: zod.string().optional(),
|
|
986
|
+
districtName: zod.string().optional(),
|
|
987
|
+
subDistrictName: zod.string().optional(),
|
|
988
|
+
zipCode: zod.string().optional()
|
|
533
989
|
});
|
|
990
|
+
var searchAddressesResponse = zod.array(searchAddressesResponseItem);
|
|
534
991
|
var createStockItemsBody = zod.strictObject({
|
|
535
992
|
name: zod.string(),
|
|
536
993
|
sku: zod.string(),
|
|
@@ -549,38 +1006,26 @@ var listStockItemsQueryParams = zod.strictObject({
|
|
|
549
1006
|
warehouseId: zod.uuid().optional().describe("Filters by warehouse.")
|
|
550
1007
|
});
|
|
551
1008
|
var listStockItemsResponse = zod.strictObject({
|
|
552
|
-
|
|
553
|
-
data: zod.union([
|
|
554
|
-
zod.null(),
|
|
1009
|
+
items: zod.array(
|
|
555
1010
|
zod.strictObject({
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
reservedQty: zod.number().optional(),
|
|
567
|
-
availableQty: zod.number().optional()
|
|
568
|
-
})
|
|
569
|
-
),
|
|
570
|
-
page: zod.number(),
|
|
571
|
-
pageSize: zod.number(),
|
|
572
|
-
totalCount: zod.number(),
|
|
573
|
-
totalPages: zod.number().optional(),
|
|
574
|
-
hasNextPage: zod.boolean().optional(),
|
|
575
|
-
hasPreviousPage: zod.boolean().optional()
|
|
1011
|
+
id: zod.uuid().optional(),
|
|
1012
|
+
sku: zod.string().optional(),
|
|
1013
|
+
name: zod.string().optional(),
|
|
1014
|
+
unit: zod.string().optional(),
|
|
1015
|
+
isActive: zod.boolean().optional(),
|
|
1016
|
+
warehouseId: zod.uuid().nullish(),
|
|
1017
|
+
warehouseName: zod.string().nullish(),
|
|
1018
|
+
onHandQty: zod.number().optional(),
|
|
1019
|
+
reservedQty: zod.number().optional(),
|
|
1020
|
+
availableQty: zod.number().optional()
|
|
576
1021
|
})
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
1022
|
+
),
|
|
1023
|
+
page: zod.number(),
|
|
1024
|
+
pageSize: zod.number(),
|
|
1025
|
+
totalCount: zod.number(),
|
|
1026
|
+
totalPages: zod.number().optional(),
|
|
1027
|
+
hasNextPage: zod.boolean().optional(),
|
|
1028
|
+
hasPreviousPage: zod.boolean().optional()
|
|
584
1029
|
});
|
|
585
1030
|
var createBatchBody = zod.strictObject({
|
|
586
1031
|
itemId: zod.uuid(),
|
|
@@ -623,43 +1068,163 @@ var listStockMovementsQueryParams = zod.strictObject({
|
|
|
623
1068
|
descending: zod.coerce.boolean().optional().describe("Sort descending when true.")
|
|
624
1069
|
});
|
|
625
1070
|
var listStockMovementsResponse = zod.strictObject({
|
|
626
|
-
|
|
627
|
-
data: zod.union([
|
|
628
|
-
zod.null(),
|
|
1071
|
+
items: zod.array(
|
|
629
1072
|
zod.strictObject({
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
recordedBy: zod.uuid().optional(),
|
|
646
|
-
receivedBy: zod.string().nullish()
|
|
647
|
-
})
|
|
648
|
-
),
|
|
649
|
-
page: zod.number(),
|
|
650
|
-
pageSize: zod.number(),
|
|
651
|
-
totalCount: zod.number(),
|
|
652
|
-
totalPages: zod.number().optional(),
|
|
653
|
-
hasNextPage: zod.boolean().optional(),
|
|
654
|
-
hasPreviousPage: zod.boolean().optional()
|
|
1073
|
+
id: zod.uuid().optional(),
|
|
1074
|
+
itemId: zod.uuid().optional(),
|
|
1075
|
+
itemName: zod.string().optional(),
|
|
1076
|
+
warehouseId: zod.uuid().optional(),
|
|
1077
|
+
warehouseName: zod.string().nullish(),
|
|
1078
|
+
batchId: zod.uuid().nullish(),
|
|
1079
|
+
direction: zod.string().optional(),
|
|
1080
|
+
quantity: zod.number().optional(),
|
|
1081
|
+
sourceType: zod.string().optional(),
|
|
1082
|
+
sourceReferenceId: zod.uuid().nullish(),
|
|
1083
|
+
externalReferenceNo: zod.string().nullish(),
|
|
1084
|
+
note: zod.string().nullish(),
|
|
1085
|
+
createdAt: zod.iso.datetime({}).optional(),
|
|
1086
|
+
recordedBy: zod.uuid().optional(),
|
|
1087
|
+
receivedBy: zod.string().nullish()
|
|
655
1088
|
})
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
1089
|
+
),
|
|
1090
|
+
page: zod.number(),
|
|
1091
|
+
pageSize: zod.number(),
|
|
1092
|
+
totalCount: zod.number(),
|
|
1093
|
+
totalPages: zod.number().optional(),
|
|
1094
|
+
hasNextPage: zod.boolean().optional(),
|
|
1095
|
+
hasPreviousPage: zod.boolean().optional()
|
|
1096
|
+
});
|
|
1097
|
+
var getApiIdentityAntiforgeryResponse = zod.strictObject({
|
|
1098
|
+
requestToken: zod.string()
|
|
1099
|
+
});
|
|
1100
|
+
var postApiIdentityLoginBody = zod.strictObject({
|
|
1101
|
+
email: zod.string(),
|
|
1102
|
+
password: zod.string(),
|
|
1103
|
+
twoFactorCode: zod.string().nullable(),
|
|
1104
|
+
twoFactorRecoveryCode: zod.string().nullable()
|
|
1105
|
+
});
|
|
1106
|
+
var postApiIdentityLoginResponse = zod.strictObject({
|
|
1107
|
+
requiresTwoFactor: zod.boolean()
|
|
1108
|
+
});
|
|
1109
|
+
var postApiIdentityForgotPasswordBody = zod.strictObject({
|
|
1110
|
+
email: zod.string()
|
|
1111
|
+
});
|
|
1112
|
+
var postApiIdentityResetPasswordBody = zod.strictObject({
|
|
1113
|
+
email: zod.string(),
|
|
1114
|
+
resetCode: zod.string(),
|
|
1115
|
+
newPassword: zod.string()
|
|
1116
|
+
});
|
|
1117
|
+
var getApiIdentityManage2faResponse = zod.strictObject({
|
|
1118
|
+
sharedKey: zod.string().nullable(),
|
|
1119
|
+
recoveryCodes: zod.array(zod.string()).nullable(),
|
|
1120
|
+
recoveryCodesLeft: zod.number(),
|
|
1121
|
+
isTwoFactorEnabled: zod.boolean(),
|
|
1122
|
+
isMachineRemembered: zod.boolean()
|
|
1123
|
+
});
|
|
1124
|
+
var postApiIdentityManage2faBody = zod.strictObject({
|
|
1125
|
+
enable: zod.boolean().nullable(),
|
|
1126
|
+
resetSharedKey: zod.boolean(),
|
|
1127
|
+
resetRecoveryCodes: zod.boolean(),
|
|
1128
|
+
forgetMachine: zod.boolean(),
|
|
1129
|
+
twoFactorCode: zod.string().nullable(),
|
|
1130
|
+
password: zod.string().nullable()
|
|
1131
|
+
});
|
|
1132
|
+
var postApiIdentityManage2faResponse = zod.strictObject({
|
|
1133
|
+
sharedKey: zod.string().nullable(),
|
|
1134
|
+
recoveryCodes: zod.array(zod.string()).nullable(),
|
|
1135
|
+
recoveryCodesLeft: zod.number(),
|
|
1136
|
+
isTwoFactorEnabled: zod.boolean(),
|
|
1137
|
+
isMachineRemembered: zod.boolean()
|
|
1138
|
+
});
|
|
1139
|
+
var getApiIdentityManageInfoResponse = zod.strictObject({
|
|
1140
|
+
email: zod.string(),
|
|
1141
|
+
isEmailConfirmed: zod.boolean()
|
|
1142
|
+
});
|
|
1143
|
+
var postApiIdentityManageInfoBody = zod.strictObject({
|
|
1144
|
+
newEmail: zod.string().nullable(),
|
|
1145
|
+
newPassword: zod.string().nullable(),
|
|
1146
|
+
oldPassword: zod.string().nullable()
|
|
1147
|
+
});
|
|
1148
|
+
var postApiIdentityManageInfoResponse = zod.strictObject({
|
|
1149
|
+
email: zod.string(),
|
|
1150
|
+
isEmailConfirmed: zod.boolean()
|
|
1151
|
+
});
|
|
1152
|
+
var getApiIdentityAdminRolesResponseItem = zod.strictObject({
|
|
1153
|
+
id: zod.uuid(),
|
|
1154
|
+
name: zod.string(),
|
|
1155
|
+
permissions: zod.array(zod.string())
|
|
1156
|
+
});
|
|
1157
|
+
var getApiIdentityAdminRolesResponse = zod.array(getApiIdentityAdminRolesResponseItem);
|
|
1158
|
+
var postApiIdentityAdminRolesBody = zod.strictObject({
|
|
1159
|
+
name: zod.string()
|
|
1160
|
+
});
|
|
1161
|
+
var getApiIdentityAdminRolesIdParams = zod.strictObject({
|
|
1162
|
+
id: zod.uuid()
|
|
1163
|
+
});
|
|
1164
|
+
var getApiIdentityAdminRolesIdResponse = zod.strictObject({
|
|
1165
|
+
id: zod.uuid(),
|
|
1166
|
+
name: zod.string(),
|
|
1167
|
+
permissions: zod.array(zod.string())
|
|
1168
|
+
});
|
|
1169
|
+
var putApiIdentityAdminRolesIdParams = zod.strictObject({
|
|
1170
|
+
id: zod.uuid()
|
|
1171
|
+
});
|
|
1172
|
+
var putApiIdentityAdminRolesIdBody = zod.strictObject({
|
|
1173
|
+
name: zod.string()
|
|
1174
|
+
});
|
|
1175
|
+
var deleteApiIdentityAdminRolesIdParams = zod.strictObject({
|
|
1176
|
+
id: zod.uuid()
|
|
1177
|
+
});
|
|
1178
|
+
var putApiIdentityAdminRolesIdPermissionsParams = zod.strictObject({
|
|
1179
|
+
id: zod.uuid()
|
|
1180
|
+
});
|
|
1181
|
+
var putApiIdentityAdminRolesIdPermissionsBody = zod.strictObject({
|
|
1182
|
+
codes: zod.array(zod.string())
|
|
1183
|
+
});
|
|
1184
|
+
var getApiIdentityAdminPermissionsResponseItem = zod.strictObject({
|
|
1185
|
+
module: zod.string(),
|
|
1186
|
+
code: zod.string(),
|
|
1187
|
+
description: zod.string()
|
|
1188
|
+
});
|
|
1189
|
+
var getApiIdentityAdminPermissionsResponse = zod.array(
|
|
1190
|
+
getApiIdentityAdminPermissionsResponseItem
|
|
1191
|
+
);
|
|
1192
|
+
var getApiIdentityAdminUsersQueryParams = zod.strictObject({
|
|
1193
|
+
email: zod.coerce.string()
|
|
1194
|
+
});
|
|
1195
|
+
var getApiIdentityAdminUsersResponse = zod.strictObject({
|
|
1196
|
+
id: zod.uuid(),
|
|
1197
|
+
email: zod.string(),
|
|
1198
|
+
isActive: zod.boolean()
|
|
1199
|
+
});
|
|
1200
|
+
var getApiIdentityAdminUsersIdRolesParams = zod.strictObject({
|
|
1201
|
+
id: zod.uuid()
|
|
1202
|
+
});
|
|
1203
|
+
var getApiIdentityAdminUsersIdRolesResponseItem = zod.string();
|
|
1204
|
+
var getApiIdentityAdminUsersIdRolesResponse = zod.array(
|
|
1205
|
+
getApiIdentityAdminUsersIdRolesResponseItem
|
|
1206
|
+
);
|
|
1207
|
+
var putApiIdentityAdminUsersIdRolesParams = zod.strictObject({
|
|
1208
|
+
id: zod.uuid()
|
|
1209
|
+
});
|
|
1210
|
+
var putApiIdentityAdminUsersIdRolesBody = zod.strictObject({
|
|
1211
|
+
roles: zod.array(zod.string())
|
|
1212
|
+
});
|
|
1213
|
+
var getApiIdentityAdminUsersIdPermissionsParams = zod.strictObject({
|
|
1214
|
+
id: zod.uuid()
|
|
1215
|
+
});
|
|
1216
|
+
var getApiIdentityAdminUsersIdPermissionsResponseItem = zod.string();
|
|
1217
|
+
var getApiIdentityAdminUsersIdPermissionsResponse = zod.array(
|
|
1218
|
+
getApiIdentityAdminUsersIdPermissionsResponseItem
|
|
1219
|
+
);
|
|
1220
|
+
var putApiIdentityAdminUsersIdActiveParams = zod.strictObject({
|
|
1221
|
+
id: zod.uuid()
|
|
1222
|
+
});
|
|
1223
|
+
var putApiIdentityAdminUsersIdActiveBody = zod.strictObject({
|
|
1224
|
+
isActive: zod.boolean()
|
|
1225
|
+
});
|
|
1226
|
+
var postApiIdentityAdminUsersIdLogoutParams = zod.strictObject({
|
|
1227
|
+
id: zod.uuid()
|
|
663
1228
|
});
|
|
664
1229
|
// Annotate the CommonJS export names for ESM import in node:
|
|
665
1230
|
0 && (module.exports = {
|
|
@@ -674,13 +1239,60 @@ var listStockMovementsResponse = zod.strictObject({
|
|
|
674
1239
|
createStockItemsBody,
|
|
675
1240
|
createWarehouse,
|
|
676
1241
|
createWarehouseBody,
|
|
1242
|
+
deleteApiIdentityAdminRolesId,
|
|
1243
|
+
deleteApiIdentityAdminRolesIdParams,
|
|
677
1244
|
deleteWarehouse,
|
|
678
1245
|
deleteWarehouseParams,
|
|
1246
|
+
getApiIdentityAdminPermissions,
|
|
1247
|
+
getApiIdentityAdminPermissionsResponse,
|
|
1248
|
+
getApiIdentityAdminPermissionsResponseItem,
|
|
1249
|
+
getApiIdentityAdminRoles,
|
|
1250
|
+
getApiIdentityAdminRolesId,
|
|
1251
|
+
getApiIdentityAdminRolesIdParams,
|
|
1252
|
+
getApiIdentityAdminRolesIdResponse,
|
|
1253
|
+
getApiIdentityAdminRolesResponse,
|
|
1254
|
+
getApiIdentityAdminRolesResponseItem,
|
|
1255
|
+
getApiIdentityAdminUsers,
|
|
1256
|
+
getApiIdentityAdminUsersIdPermissions,
|
|
1257
|
+
getApiIdentityAdminUsersIdPermissionsParams,
|
|
1258
|
+
getApiIdentityAdminUsersIdPermissionsResponse,
|
|
1259
|
+
getApiIdentityAdminUsersIdPermissionsResponseItem,
|
|
1260
|
+
getApiIdentityAdminUsersIdRoles,
|
|
1261
|
+
getApiIdentityAdminUsersIdRolesParams,
|
|
1262
|
+
getApiIdentityAdminUsersIdRolesResponse,
|
|
1263
|
+
getApiIdentityAdminUsersIdRolesResponseItem,
|
|
1264
|
+
getApiIdentityAdminUsersQueryParams,
|
|
1265
|
+
getApiIdentityAdminUsersResponse,
|
|
1266
|
+
getApiIdentityAntiforgery,
|
|
1267
|
+
getApiIdentityAntiforgeryResponse,
|
|
1268
|
+
getApiIdentityManage2fa,
|
|
1269
|
+
getApiIdentityManage2faResponse,
|
|
1270
|
+
getApiIdentityManageInfo,
|
|
1271
|
+
getApiIdentityManageInfoResponse,
|
|
679
1272
|
getConsumeBatchMutationOptions,
|
|
680
1273
|
getCreateBatchMutationOptions,
|
|
681
1274
|
getCreateStockItemsMutationOptions,
|
|
682
1275
|
getCreateWarehouseMutationOptions,
|
|
1276
|
+
getDeleteApiIdentityAdminRolesIdMutationOptions,
|
|
683
1277
|
getDeleteWarehouseMutationOptions,
|
|
1278
|
+
getGetApiIdentityAdminPermissionsQueryKey,
|
|
1279
|
+
getGetApiIdentityAdminPermissionsQueryOptions,
|
|
1280
|
+
getGetApiIdentityAdminRolesIdQueryKey,
|
|
1281
|
+
getGetApiIdentityAdminRolesIdQueryOptions,
|
|
1282
|
+
getGetApiIdentityAdminRolesQueryKey,
|
|
1283
|
+
getGetApiIdentityAdminRolesQueryOptions,
|
|
1284
|
+
getGetApiIdentityAdminUsersIdPermissionsQueryKey,
|
|
1285
|
+
getGetApiIdentityAdminUsersIdPermissionsQueryOptions,
|
|
1286
|
+
getGetApiIdentityAdminUsersIdRolesQueryKey,
|
|
1287
|
+
getGetApiIdentityAdminUsersIdRolesQueryOptions,
|
|
1288
|
+
getGetApiIdentityAdminUsersQueryKey,
|
|
1289
|
+
getGetApiIdentityAdminUsersQueryOptions,
|
|
1290
|
+
getGetApiIdentityAntiforgeryQueryKey,
|
|
1291
|
+
getGetApiIdentityAntiforgeryQueryOptions,
|
|
1292
|
+
getGetApiIdentityManage2faQueryKey,
|
|
1293
|
+
getGetApiIdentityManage2faQueryOptions,
|
|
1294
|
+
getGetApiIdentityManageInfoQueryKey,
|
|
1295
|
+
getGetApiIdentityManageInfoQueryOptions,
|
|
684
1296
|
getGetHealthQueryKey,
|
|
685
1297
|
getGetHealthQueryOptions,
|
|
686
1298
|
getGetWarehouseByIdQueryKey,
|
|
@@ -694,6 +1306,18 @@ var listStockMovementsResponse = zod.strictObject({
|
|
|
694
1306
|
getListStockMovementsQueryOptions,
|
|
695
1307
|
getListWarehousesQueryKey,
|
|
696
1308
|
getListWarehousesQueryOptions,
|
|
1309
|
+
getPostApiIdentityAdminRolesMutationOptions,
|
|
1310
|
+
getPostApiIdentityAdminUsersIdLogoutMutationOptions,
|
|
1311
|
+
getPostApiIdentityForgotPasswordMutationOptions,
|
|
1312
|
+
getPostApiIdentityLoginMutationOptions,
|
|
1313
|
+
getPostApiIdentityLogoutMutationOptions,
|
|
1314
|
+
getPostApiIdentityManage2faMutationOptions,
|
|
1315
|
+
getPostApiIdentityManageInfoMutationOptions,
|
|
1316
|
+
getPostApiIdentityResetPasswordMutationOptions,
|
|
1317
|
+
getPutApiIdentityAdminRolesIdMutationOptions,
|
|
1318
|
+
getPutApiIdentityAdminRolesIdPermissionsMutationOptions,
|
|
1319
|
+
getPutApiIdentityAdminUsersIdActiveMutationOptions,
|
|
1320
|
+
getPutApiIdentityAdminUsersIdRolesMutationOptions,
|
|
697
1321
|
getSearchAddressesQueryKey,
|
|
698
1322
|
getSearchAddressesQueryOptions,
|
|
699
1323
|
getToggleWarehouseStatusMutationOptions,
|
|
@@ -703,6 +1327,7 @@ var listStockMovementsResponse = zod.strictObject({
|
|
|
703
1327
|
getWarehouseByIdResponse,
|
|
704
1328
|
getWarehouseOptions,
|
|
705
1329
|
getWarehouseOptionsResponse,
|
|
1330
|
+
getWarehouseOptionsResponseItem,
|
|
706
1331
|
listStockItems,
|
|
707
1332
|
listStockItemsQueryDescendingDefault,
|
|
708
1333
|
listStockItemsQueryPageDefault,
|
|
@@ -720,10 +1345,41 @@ var listStockMovementsResponse = zod.strictObject({
|
|
|
720
1345
|
listWarehousesQueryPageSizeDefault,
|
|
721
1346
|
listWarehousesQueryParams,
|
|
722
1347
|
listWarehousesResponse,
|
|
1348
|
+
postApiIdentityAdminRoles,
|
|
1349
|
+
postApiIdentityAdminRolesBody,
|
|
1350
|
+
postApiIdentityAdminUsersIdLogout,
|
|
1351
|
+
postApiIdentityAdminUsersIdLogoutParams,
|
|
1352
|
+
postApiIdentityForgotPassword,
|
|
1353
|
+
postApiIdentityForgotPasswordBody,
|
|
1354
|
+
postApiIdentityLogin,
|
|
1355
|
+
postApiIdentityLoginBody,
|
|
1356
|
+
postApiIdentityLoginResponse,
|
|
1357
|
+
postApiIdentityLogout,
|
|
1358
|
+
postApiIdentityManage2fa,
|
|
1359
|
+
postApiIdentityManage2faBody,
|
|
1360
|
+
postApiIdentityManage2faResponse,
|
|
1361
|
+
postApiIdentityManageInfo,
|
|
1362
|
+
postApiIdentityManageInfoBody,
|
|
1363
|
+
postApiIdentityManageInfoResponse,
|
|
1364
|
+
postApiIdentityResetPassword,
|
|
1365
|
+
postApiIdentityResetPasswordBody,
|
|
1366
|
+
putApiIdentityAdminRolesId,
|
|
1367
|
+
putApiIdentityAdminRolesIdBody,
|
|
1368
|
+
putApiIdentityAdminRolesIdParams,
|
|
1369
|
+
putApiIdentityAdminRolesIdPermissions,
|
|
1370
|
+
putApiIdentityAdminRolesIdPermissionsBody,
|
|
1371
|
+
putApiIdentityAdminRolesIdPermissionsParams,
|
|
1372
|
+
putApiIdentityAdminUsersIdActive,
|
|
1373
|
+
putApiIdentityAdminUsersIdActiveBody,
|
|
1374
|
+
putApiIdentityAdminUsersIdActiveParams,
|
|
1375
|
+
putApiIdentityAdminUsersIdRoles,
|
|
1376
|
+
putApiIdentityAdminUsersIdRolesBody,
|
|
1377
|
+
putApiIdentityAdminUsersIdRolesParams,
|
|
723
1378
|
searchAddresses,
|
|
724
1379
|
searchAddressesQueryLimitDefault,
|
|
725
1380
|
searchAddressesQueryParams,
|
|
726
1381
|
searchAddressesResponse,
|
|
1382
|
+
searchAddressesResponseItem,
|
|
727
1383
|
toggleWarehouseStatus,
|
|
728
1384
|
toggleWarehouseStatusParams,
|
|
729
1385
|
updateWarehouse,
|
|
@@ -733,13 +1389,35 @@ var listStockMovementsResponse = zod.strictObject({
|
|
|
733
1389
|
useCreateBatch,
|
|
734
1390
|
useCreateStockItems,
|
|
735
1391
|
useCreateWarehouse,
|
|
1392
|
+
useDeleteApiIdentityAdminRolesId,
|
|
736
1393
|
useDeleteWarehouse,
|
|
1394
|
+
useGetApiIdentityAdminPermissions,
|
|
1395
|
+
useGetApiIdentityAdminRoles,
|
|
1396
|
+
useGetApiIdentityAdminRolesId,
|
|
1397
|
+
useGetApiIdentityAdminUsers,
|
|
1398
|
+
useGetApiIdentityAdminUsersIdPermissions,
|
|
1399
|
+
useGetApiIdentityAdminUsersIdRoles,
|
|
1400
|
+
useGetApiIdentityAntiforgery,
|
|
1401
|
+
useGetApiIdentityManage2fa,
|
|
1402
|
+
useGetApiIdentityManageInfo,
|
|
737
1403
|
useGetHealth,
|
|
738
1404
|
useGetWarehouseById,
|
|
739
1405
|
useGetWarehouseOptions,
|
|
740
1406
|
useListStockItems,
|
|
741
1407
|
useListStockMovements,
|
|
742
1408
|
useListWarehouses,
|
|
1409
|
+
usePostApiIdentityAdminRoles,
|
|
1410
|
+
usePostApiIdentityAdminUsersIdLogout,
|
|
1411
|
+
usePostApiIdentityForgotPassword,
|
|
1412
|
+
usePostApiIdentityLogin,
|
|
1413
|
+
usePostApiIdentityLogout,
|
|
1414
|
+
usePostApiIdentityManage2fa,
|
|
1415
|
+
usePostApiIdentityManageInfo,
|
|
1416
|
+
usePostApiIdentityResetPassword,
|
|
1417
|
+
usePutApiIdentityAdminRolesId,
|
|
1418
|
+
usePutApiIdentityAdminRolesIdPermissions,
|
|
1419
|
+
usePutApiIdentityAdminUsersIdActive,
|
|
1420
|
+
usePutApiIdentityAdminUsersIdRoles,
|
|
743
1421
|
useSearchAddresses,
|
|
744
1422
|
useToggleWarehouseStatus,
|
|
745
1423
|
useUpdateWarehouse
|