@arascreative/erp-api-client 1.0.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 +736 -1
- package/dist/index.d.ts +736 -1
- package/dist/index.js +742 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +631 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -264,6 +264,394 @@ function useListStockMovements(params, options, queryClient) {
|
|
|
264
264
|
query.queryKey = queryOptions.queryKey;
|
|
265
265
|
return query;
|
|
266
266
|
}
|
|
267
|
+
var getApiIdentityAntiforgery = (options) => {
|
|
268
|
+
return axios.get(`/api/identity/antiforgery`, options);
|
|
269
|
+
};
|
|
270
|
+
var getGetApiIdentityAntiforgeryQueryKey = () => {
|
|
271
|
+
return [`/api/identity/antiforgery`];
|
|
272
|
+
};
|
|
273
|
+
var getGetApiIdentityAntiforgeryQueryOptions = (options) => {
|
|
274
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
275
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAntiforgeryQueryKey();
|
|
276
|
+
const queryFn = ({
|
|
277
|
+
signal
|
|
278
|
+
}) => getApiIdentityAntiforgery({ signal, ...axiosOptions });
|
|
279
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
280
|
+
};
|
|
281
|
+
function useGetApiIdentityAntiforgery(options, queryClient) {
|
|
282
|
+
const queryOptions = getGetApiIdentityAntiforgeryQueryOptions(options);
|
|
283
|
+
const query = useQuery(queryOptions, queryClient);
|
|
284
|
+
query.queryKey = queryOptions.queryKey;
|
|
285
|
+
return query;
|
|
286
|
+
}
|
|
287
|
+
var postApiIdentityLogin = (loginRequest, options) => {
|
|
288
|
+
return axios.post(`/api/identity/login`, loginRequest, options);
|
|
289
|
+
};
|
|
290
|
+
var getPostApiIdentityLoginMutationOptions = (options) => {
|
|
291
|
+
const mutationKey = ["postApiIdentityLogin"];
|
|
292
|
+
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 };
|
|
293
|
+
const mutationFn = (props) => {
|
|
294
|
+
const { data } = props ?? {};
|
|
295
|
+
return postApiIdentityLogin(data, axiosOptions);
|
|
296
|
+
};
|
|
297
|
+
return { mutationFn, ...mutationOptions };
|
|
298
|
+
};
|
|
299
|
+
var usePostApiIdentityLogin = (options, queryClient) => {
|
|
300
|
+
const mutationOptions = getPostApiIdentityLoginMutationOptions(options);
|
|
301
|
+
return useMutation(mutationOptions, queryClient);
|
|
302
|
+
};
|
|
303
|
+
var postApiIdentityLogout = (options) => {
|
|
304
|
+
return axios.post(`/api/identity/logout`, void 0, options);
|
|
305
|
+
};
|
|
306
|
+
var getPostApiIdentityLogoutMutationOptions = (options) => {
|
|
307
|
+
const mutationKey = ["postApiIdentityLogout"];
|
|
308
|
+
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 };
|
|
309
|
+
const mutationFn = () => {
|
|
310
|
+
return postApiIdentityLogout(axiosOptions);
|
|
311
|
+
};
|
|
312
|
+
return { mutationFn, ...mutationOptions };
|
|
313
|
+
};
|
|
314
|
+
var usePostApiIdentityLogout = (options, queryClient) => {
|
|
315
|
+
const mutationOptions = getPostApiIdentityLogoutMutationOptions(options);
|
|
316
|
+
return useMutation(mutationOptions, queryClient);
|
|
317
|
+
};
|
|
318
|
+
var postApiIdentityForgotPassword = (emailRequest, options) => {
|
|
319
|
+
return axios.post(`/api/identity/forgotPassword`, emailRequest, options);
|
|
320
|
+
};
|
|
321
|
+
var getPostApiIdentityForgotPasswordMutationOptions = (options) => {
|
|
322
|
+
const mutationKey = ["postApiIdentityForgotPassword"];
|
|
323
|
+
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 };
|
|
324
|
+
const mutationFn = (props) => {
|
|
325
|
+
const { data } = props ?? {};
|
|
326
|
+
return postApiIdentityForgotPassword(data, axiosOptions);
|
|
327
|
+
};
|
|
328
|
+
return { mutationFn, ...mutationOptions };
|
|
329
|
+
};
|
|
330
|
+
var usePostApiIdentityForgotPassword = (options, queryClient) => {
|
|
331
|
+
const mutationOptions = getPostApiIdentityForgotPasswordMutationOptions(options);
|
|
332
|
+
return useMutation(mutationOptions, queryClient);
|
|
333
|
+
};
|
|
334
|
+
var postApiIdentityResetPassword = (resetPasswordRequest, options) => {
|
|
335
|
+
return axios.post(`/api/identity/resetPassword`, resetPasswordRequest, options);
|
|
336
|
+
};
|
|
337
|
+
var getPostApiIdentityResetPasswordMutationOptions = (options) => {
|
|
338
|
+
const mutationKey = ["postApiIdentityResetPassword"];
|
|
339
|
+
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 };
|
|
340
|
+
const mutationFn = (props) => {
|
|
341
|
+
const { data } = props ?? {};
|
|
342
|
+
return postApiIdentityResetPassword(data, axiosOptions);
|
|
343
|
+
};
|
|
344
|
+
return { mutationFn, ...mutationOptions };
|
|
345
|
+
};
|
|
346
|
+
var usePostApiIdentityResetPassword = (options, queryClient) => {
|
|
347
|
+
const mutationOptions = getPostApiIdentityResetPasswordMutationOptions(options);
|
|
348
|
+
return useMutation(mutationOptions, queryClient);
|
|
349
|
+
};
|
|
350
|
+
var getApiIdentityManage2fa = (options) => {
|
|
351
|
+
return axios.get(`/api/identity/manage/2fa`, options);
|
|
352
|
+
};
|
|
353
|
+
var getGetApiIdentityManage2faQueryKey = () => {
|
|
354
|
+
return [`/api/identity/manage/2fa`];
|
|
355
|
+
};
|
|
356
|
+
var getGetApiIdentityManage2faQueryOptions = (options) => {
|
|
357
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
358
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityManage2faQueryKey();
|
|
359
|
+
const queryFn = ({
|
|
360
|
+
signal
|
|
361
|
+
}) => getApiIdentityManage2fa({ signal, ...axiosOptions });
|
|
362
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
363
|
+
};
|
|
364
|
+
function useGetApiIdentityManage2fa(options, queryClient) {
|
|
365
|
+
const queryOptions = getGetApiIdentityManage2faQueryOptions(options);
|
|
366
|
+
const query = useQuery(queryOptions, queryClient);
|
|
367
|
+
query.queryKey = queryOptions.queryKey;
|
|
368
|
+
return query;
|
|
369
|
+
}
|
|
370
|
+
var postApiIdentityManage2fa = (twoFactorRequest, options) => {
|
|
371
|
+
return axios.post(`/api/identity/manage/2fa`, twoFactorRequest, options);
|
|
372
|
+
};
|
|
373
|
+
var getPostApiIdentityManage2faMutationOptions = (options) => {
|
|
374
|
+
const mutationKey = ["postApiIdentityManage2fa"];
|
|
375
|
+
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 };
|
|
376
|
+
const mutationFn = (props) => {
|
|
377
|
+
const { data } = props ?? {};
|
|
378
|
+
return postApiIdentityManage2fa(data, axiosOptions);
|
|
379
|
+
};
|
|
380
|
+
return { mutationFn, ...mutationOptions };
|
|
381
|
+
};
|
|
382
|
+
var usePostApiIdentityManage2fa = (options, queryClient) => {
|
|
383
|
+
const mutationOptions = getPostApiIdentityManage2faMutationOptions(options);
|
|
384
|
+
return useMutation(mutationOptions, queryClient);
|
|
385
|
+
};
|
|
386
|
+
var getApiIdentityManageInfo = (options) => {
|
|
387
|
+
return axios.get(`/api/identity/manage/info`, options);
|
|
388
|
+
};
|
|
389
|
+
var getGetApiIdentityManageInfoQueryKey = () => {
|
|
390
|
+
return [`/api/identity/manage/info`];
|
|
391
|
+
};
|
|
392
|
+
var getGetApiIdentityManageInfoQueryOptions = (options) => {
|
|
393
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
394
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityManageInfoQueryKey();
|
|
395
|
+
const queryFn = ({
|
|
396
|
+
signal
|
|
397
|
+
}) => getApiIdentityManageInfo({ signal, ...axiosOptions });
|
|
398
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
399
|
+
};
|
|
400
|
+
function useGetApiIdentityManageInfo(options, queryClient) {
|
|
401
|
+
const queryOptions = getGetApiIdentityManageInfoQueryOptions(options);
|
|
402
|
+
const query = useQuery(queryOptions, queryClient);
|
|
403
|
+
query.queryKey = queryOptions.queryKey;
|
|
404
|
+
return query;
|
|
405
|
+
}
|
|
406
|
+
var postApiIdentityManageInfo = (updateAccountRequest, options) => {
|
|
407
|
+
return axios.post(`/api/identity/manage/info`, updateAccountRequest, options);
|
|
408
|
+
};
|
|
409
|
+
var getPostApiIdentityManageInfoMutationOptions = (options) => {
|
|
410
|
+
const mutationKey = ["postApiIdentityManageInfo"];
|
|
411
|
+
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 };
|
|
412
|
+
const mutationFn = (props) => {
|
|
413
|
+
const { data } = props ?? {};
|
|
414
|
+
return postApiIdentityManageInfo(data, axiosOptions);
|
|
415
|
+
};
|
|
416
|
+
return { mutationFn, ...mutationOptions };
|
|
417
|
+
};
|
|
418
|
+
var usePostApiIdentityManageInfo = (options, queryClient) => {
|
|
419
|
+
const mutationOptions = getPostApiIdentityManageInfoMutationOptions(options);
|
|
420
|
+
return useMutation(mutationOptions, queryClient);
|
|
421
|
+
};
|
|
422
|
+
var getApiIdentityAdminRoles = (options) => {
|
|
423
|
+
return axios.get(`/api/identity/admin/roles`, options);
|
|
424
|
+
};
|
|
425
|
+
var getGetApiIdentityAdminRolesQueryKey = () => {
|
|
426
|
+
return [`/api/identity/admin/roles`];
|
|
427
|
+
};
|
|
428
|
+
var getGetApiIdentityAdminRolesQueryOptions = (options) => {
|
|
429
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
430
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminRolesQueryKey();
|
|
431
|
+
const queryFn = ({
|
|
432
|
+
signal
|
|
433
|
+
}) => getApiIdentityAdminRoles({ signal, ...axiosOptions });
|
|
434
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
435
|
+
};
|
|
436
|
+
function useGetApiIdentityAdminRoles(options, queryClient) {
|
|
437
|
+
const queryOptions = getGetApiIdentityAdminRolesQueryOptions(options);
|
|
438
|
+
const query = useQuery(queryOptions, queryClient);
|
|
439
|
+
query.queryKey = queryOptions.queryKey;
|
|
440
|
+
return query;
|
|
441
|
+
}
|
|
442
|
+
var postApiIdentityAdminRoles = (roleNameRequest, options) => {
|
|
443
|
+
return axios.post(`/api/identity/admin/roles`, roleNameRequest, options);
|
|
444
|
+
};
|
|
445
|
+
var getPostApiIdentityAdminRolesMutationOptions = (options) => {
|
|
446
|
+
const mutationKey = ["postApiIdentityAdminRoles"];
|
|
447
|
+
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 };
|
|
448
|
+
const mutationFn = (props) => {
|
|
449
|
+
const { data } = props ?? {};
|
|
450
|
+
return postApiIdentityAdminRoles(data, axiosOptions);
|
|
451
|
+
};
|
|
452
|
+
return { mutationFn, ...mutationOptions };
|
|
453
|
+
};
|
|
454
|
+
var usePostApiIdentityAdminRoles = (options, queryClient) => {
|
|
455
|
+
const mutationOptions = getPostApiIdentityAdminRolesMutationOptions(options);
|
|
456
|
+
return useMutation(mutationOptions, queryClient);
|
|
457
|
+
};
|
|
458
|
+
var getApiIdentityAdminRolesId = (id, options) => {
|
|
459
|
+
return axios.get(`/api/identity/admin/roles/${id}`, options);
|
|
460
|
+
};
|
|
461
|
+
var getGetApiIdentityAdminRolesIdQueryKey = (id) => {
|
|
462
|
+
return [`/api/identity/admin/roles/${id}`];
|
|
463
|
+
};
|
|
464
|
+
var getGetApiIdentityAdminRolesIdQueryOptions = (id, options) => {
|
|
465
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
466
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminRolesIdQueryKey(id);
|
|
467
|
+
const queryFn = ({
|
|
468
|
+
signal
|
|
469
|
+
}) => getApiIdentityAdminRolesId(id, { signal, ...axiosOptions });
|
|
470
|
+
return { queryKey, queryFn, enabled: !!id, ...queryOptions };
|
|
471
|
+
};
|
|
472
|
+
function useGetApiIdentityAdminRolesId(id, options, queryClient) {
|
|
473
|
+
const queryOptions = getGetApiIdentityAdminRolesIdQueryOptions(id, options);
|
|
474
|
+
const query = useQuery(queryOptions, queryClient);
|
|
475
|
+
query.queryKey = queryOptions.queryKey;
|
|
476
|
+
return query;
|
|
477
|
+
}
|
|
478
|
+
var putApiIdentityAdminRolesId = (id, roleNameRequest, options) => {
|
|
479
|
+
return axios.put(`/api/identity/admin/roles/${id}`, roleNameRequest, options);
|
|
480
|
+
};
|
|
481
|
+
var getPutApiIdentityAdminRolesIdMutationOptions = (options) => {
|
|
482
|
+
const mutationKey = ["putApiIdentityAdminRolesId"];
|
|
483
|
+
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 };
|
|
484
|
+
const mutationFn = (props) => {
|
|
485
|
+
const { id, data } = props ?? {};
|
|
486
|
+
return putApiIdentityAdminRolesId(id, data, axiosOptions);
|
|
487
|
+
};
|
|
488
|
+
return { mutationFn, ...mutationOptions };
|
|
489
|
+
};
|
|
490
|
+
var usePutApiIdentityAdminRolesId = (options, queryClient) => {
|
|
491
|
+
const mutationOptions = getPutApiIdentityAdminRolesIdMutationOptions(options);
|
|
492
|
+
return useMutation(mutationOptions, queryClient);
|
|
493
|
+
};
|
|
494
|
+
var deleteApiIdentityAdminRolesId = (id, options) => {
|
|
495
|
+
return axios.delete(`/api/identity/admin/roles/${id}`, options);
|
|
496
|
+
};
|
|
497
|
+
var getDeleteApiIdentityAdminRolesIdMutationOptions = (options) => {
|
|
498
|
+
const mutationKey = ["deleteApiIdentityAdminRolesId"];
|
|
499
|
+
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 };
|
|
500
|
+
const mutationFn = (props) => {
|
|
501
|
+
const { id } = props ?? {};
|
|
502
|
+
return deleteApiIdentityAdminRolesId(id, axiosOptions);
|
|
503
|
+
};
|
|
504
|
+
return { mutationFn, ...mutationOptions };
|
|
505
|
+
};
|
|
506
|
+
var useDeleteApiIdentityAdminRolesId = (options, queryClient) => {
|
|
507
|
+
const mutationOptions = getDeleteApiIdentityAdminRolesIdMutationOptions(options);
|
|
508
|
+
return useMutation(mutationOptions, queryClient);
|
|
509
|
+
};
|
|
510
|
+
var putApiIdentityAdminRolesIdPermissions = (id, setPermissionsRequest, options) => {
|
|
511
|
+
return axios.put(`/api/identity/admin/roles/${id}/permissions`, setPermissionsRequest, options);
|
|
512
|
+
};
|
|
513
|
+
var getPutApiIdentityAdminRolesIdPermissionsMutationOptions = (options) => {
|
|
514
|
+
const mutationKey = ["putApiIdentityAdminRolesIdPermissions"];
|
|
515
|
+
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 };
|
|
516
|
+
const mutationFn = (props) => {
|
|
517
|
+
const { id, data } = props ?? {};
|
|
518
|
+
return putApiIdentityAdminRolesIdPermissions(id, data, axiosOptions);
|
|
519
|
+
};
|
|
520
|
+
return { mutationFn, ...mutationOptions };
|
|
521
|
+
};
|
|
522
|
+
var usePutApiIdentityAdminRolesIdPermissions = (options, queryClient) => {
|
|
523
|
+
const mutationOptions = getPutApiIdentityAdminRolesIdPermissionsMutationOptions(options);
|
|
524
|
+
return useMutation(mutationOptions, queryClient);
|
|
525
|
+
};
|
|
526
|
+
var getApiIdentityAdminPermissions = (options) => {
|
|
527
|
+
return axios.get(`/api/identity/admin/permissions`, options);
|
|
528
|
+
};
|
|
529
|
+
var getGetApiIdentityAdminPermissionsQueryKey = () => {
|
|
530
|
+
return [`/api/identity/admin/permissions`];
|
|
531
|
+
};
|
|
532
|
+
var getGetApiIdentityAdminPermissionsQueryOptions = (options) => {
|
|
533
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
534
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminPermissionsQueryKey();
|
|
535
|
+
const queryFn = ({
|
|
536
|
+
signal
|
|
537
|
+
}) => getApiIdentityAdminPermissions({ signal, ...axiosOptions });
|
|
538
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
539
|
+
};
|
|
540
|
+
function useGetApiIdentityAdminPermissions(options, queryClient) {
|
|
541
|
+
const queryOptions = getGetApiIdentityAdminPermissionsQueryOptions(options);
|
|
542
|
+
const query = useQuery(queryOptions, queryClient);
|
|
543
|
+
query.queryKey = queryOptions.queryKey;
|
|
544
|
+
return query;
|
|
545
|
+
}
|
|
546
|
+
var getApiIdentityAdminUsers = (params, options) => {
|
|
547
|
+
return axios.get(`/api/identity/admin/users`, {
|
|
548
|
+
...options,
|
|
549
|
+
params: { ...params, ...options?.params }
|
|
550
|
+
});
|
|
551
|
+
};
|
|
552
|
+
var getGetApiIdentityAdminUsersQueryKey = (params) => {
|
|
553
|
+
return [`/api/identity/admin/users`, ...params ? [params] : []];
|
|
554
|
+
};
|
|
555
|
+
var getGetApiIdentityAdminUsersQueryOptions = (params, options) => {
|
|
556
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
557
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminUsersQueryKey(params);
|
|
558
|
+
const queryFn = ({
|
|
559
|
+
signal
|
|
560
|
+
}) => getApiIdentityAdminUsers(params, { signal, ...axiosOptions });
|
|
561
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
562
|
+
};
|
|
563
|
+
function useGetApiIdentityAdminUsers(params, options, queryClient) {
|
|
564
|
+
const queryOptions = getGetApiIdentityAdminUsersQueryOptions(params, options);
|
|
565
|
+
const query = useQuery(queryOptions, queryClient);
|
|
566
|
+
query.queryKey = queryOptions.queryKey;
|
|
567
|
+
return query;
|
|
568
|
+
}
|
|
569
|
+
var getApiIdentityAdminUsersIdRoles = (id, options) => {
|
|
570
|
+
return axios.get(`/api/identity/admin/users/${id}/roles`, options);
|
|
571
|
+
};
|
|
572
|
+
var getGetApiIdentityAdminUsersIdRolesQueryKey = (id) => {
|
|
573
|
+
return [`/api/identity/admin/users/${id}/roles`];
|
|
574
|
+
};
|
|
575
|
+
var getGetApiIdentityAdminUsersIdRolesQueryOptions = (id, options) => {
|
|
576
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
577
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminUsersIdRolesQueryKey(id);
|
|
578
|
+
const queryFn = ({
|
|
579
|
+
signal
|
|
580
|
+
}) => getApiIdentityAdminUsersIdRoles(id, { signal, ...axiosOptions });
|
|
581
|
+
return { queryKey, queryFn, enabled: !!id, ...queryOptions };
|
|
582
|
+
};
|
|
583
|
+
function useGetApiIdentityAdminUsersIdRoles(id, options, queryClient) {
|
|
584
|
+
const queryOptions = getGetApiIdentityAdminUsersIdRolesQueryOptions(id, options);
|
|
585
|
+
const query = useQuery(queryOptions, queryClient);
|
|
586
|
+
query.queryKey = queryOptions.queryKey;
|
|
587
|
+
return query;
|
|
588
|
+
}
|
|
589
|
+
var putApiIdentityAdminUsersIdRoles = (id, setUserRolesRequest, options) => {
|
|
590
|
+
return axios.put(`/api/identity/admin/users/${id}/roles`, setUserRolesRequest, options);
|
|
591
|
+
};
|
|
592
|
+
var getPutApiIdentityAdminUsersIdRolesMutationOptions = (options) => {
|
|
593
|
+
const mutationKey = ["putApiIdentityAdminUsersIdRoles"];
|
|
594
|
+
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 };
|
|
595
|
+
const mutationFn = (props) => {
|
|
596
|
+
const { id, data } = props ?? {};
|
|
597
|
+
return putApiIdentityAdminUsersIdRoles(id, data, axiosOptions);
|
|
598
|
+
};
|
|
599
|
+
return { mutationFn, ...mutationOptions };
|
|
600
|
+
};
|
|
601
|
+
var usePutApiIdentityAdminUsersIdRoles = (options, queryClient) => {
|
|
602
|
+
const mutationOptions = getPutApiIdentityAdminUsersIdRolesMutationOptions(options);
|
|
603
|
+
return useMutation(mutationOptions, queryClient);
|
|
604
|
+
};
|
|
605
|
+
var getApiIdentityAdminUsersIdPermissions = (id, options) => {
|
|
606
|
+
return axios.get(`/api/identity/admin/users/${id}/permissions`, options);
|
|
607
|
+
};
|
|
608
|
+
var getGetApiIdentityAdminUsersIdPermissionsQueryKey = (id) => {
|
|
609
|
+
return [`/api/identity/admin/users/${id}/permissions`];
|
|
610
|
+
};
|
|
611
|
+
var getGetApiIdentityAdminUsersIdPermissionsQueryOptions = (id, options) => {
|
|
612
|
+
const { query: queryOptions, axios: axiosOptions } = options ?? {};
|
|
613
|
+
const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminUsersIdPermissionsQueryKey(id);
|
|
614
|
+
const queryFn = ({ signal }) => getApiIdentityAdminUsersIdPermissions(id, { signal, ...axiosOptions });
|
|
615
|
+
return { queryKey, queryFn, enabled: !!id, ...queryOptions };
|
|
616
|
+
};
|
|
617
|
+
function useGetApiIdentityAdminUsersIdPermissions(id, options, queryClient) {
|
|
618
|
+
const queryOptions = getGetApiIdentityAdminUsersIdPermissionsQueryOptions(id, options);
|
|
619
|
+
const query = useQuery(queryOptions, queryClient);
|
|
620
|
+
query.queryKey = queryOptions.queryKey;
|
|
621
|
+
return query;
|
|
622
|
+
}
|
|
623
|
+
var putApiIdentityAdminUsersIdActive = (id, setUserActiveRequest, options) => {
|
|
624
|
+
return axios.put(`/api/identity/admin/users/${id}/active`, setUserActiveRequest, options);
|
|
625
|
+
};
|
|
626
|
+
var getPutApiIdentityAdminUsersIdActiveMutationOptions = (options) => {
|
|
627
|
+
const mutationKey = ["putApiIdentityAdminUsersIdActive"];
|
|
628
|
+
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 };
|
|
629
|
+
const mutationFn = (props) => {
|
|
630
|
+
const { id, data } = props ?? {};
|
|
631
|
+
return putApiIdentityAdminUsersIdActive(id, data, axiosOptions);
|
|
632
|
+
};
|
|
633
|
+
return { mutationFn, ...mutationOptions };
|
|
634
|
+
};
|
|
635
|
+
var usePutApiIdentityAdminUsersIdActive = (options, queryClient) => {
|
|
636
|
+
const mutationOptions = getPutApiIdentityAdminUsersIdActiveMutationOptions(options);
|
|
637
|
+
return useMutation(mutationOptions, queryClient);
|
|
638
|
+
};
|
|
639
|
+
var postApiIdentityAdminUsersIdLogout = (id, options) => {
|
|
640
|
+
return axios.post(`/api/identity/admin/users/${id}/logout`, void 0, options);
|
|
641
|
+
};
|
|
642
|
+
var getPostApiIdentityAdminUsersIdLogoutMutationOptions = (options) => {
|
|
643
|
+
const mutationKey = ["postApiIdentityAdminUsersIdLogout"];
|
|
644
|
+
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 };
|
|
645
|
+
const mutationFn = (props) => {
|
|
646
|
+
const { id } = props ?? {};
|
|
647
|
+
return postApiIdentityAdminUsersIdLogout(id, axiosOptions);
|
|
648
|
+
};
|
|
649
|
+
return { mutationFn, ...mutationOptions };
|
|
650
|
+
};
|
|
651
|
+
var usePostApiIdentityAdminUsersIdLogout = (options, queryClient) => {
|
|
652
|
+
const mutationOptions = getPostApiIdentityAdminUsersIdLogoutMutationOptions(options);
|
|
653
|
+
return useMutation(mutationOptions, queryClient);
|
|
654
|
+
};
|
|
267
655
|
|
|
268
656
|
// src/gen/v1.zod.ts
|
|
269
657
|
import * as zod from "zod";
|
|
@@ -478,6 +866,138 @@ var listStockMovementsResponse = zod.strictObject({
|
|
|
478
866
|
hasNextPage: zod.boolean().optional(),
|
|
479
867
|
hasPreviousPage: zod.boolean().optional()
|
|
480
868
|
});
|
|
869
|
+
var getApiIdentityAntiforgeryResponse = zod.strictObject({
|
|
870
|
+
requestToken: zod.string()
|
|
871
|
+
});
|
|
872
|
+
var postApiIdentityLoginBody = zod.strictObject({
|
|
873
|
+
email: zod.string(),
|
|
874
|
+
password: zod.string(),
|
|
875
|
+
twoFactorCode: zod.string().nullable(),
|
|
876
|
+
twoFactorRecoveryCode: zod.string().nullable()
|
|
877
|
+
});
|
|
878
|
+
var postApiIdentityLoginResponse = zod.strictObject({
|
|
879
|
+
requiresTwoFactor: zod.boolean()
|
|
880
|
+
});
|
|
881
|
+
var postApiIdentityForgotPasswordBody = zod.strictObject({
|
|
882
|
+
email: zod.string()
|
|
883
|
+
});
|
|
884
|
+
var postApiIdentityResetPasswordBody = zod.strictObject({
|
|
885
|
+
email: zod.string(),
|
|
886
|
+
resetCode: zod.string(),
|
|
887
|
+
newPassword: zod.string()
|
|
888
|
+
});
|
|
889
|
+
var getApiIdentityManage2faResponse = zod.strictObject({
|
|
890
|
+
sharedKey: zod.string().nullable(),
|
|
891
|
+
recoveryCodes: zod.array(zod.string()).nullable(),
|
|
892
|
+
recoveryCodesLeft: zod.number(),
|
|
893
|
+
isTwoFactorEnabled: zod.boolean(),
|
|
894
|
+
isMachineRemembered: zod.boolean()
|
|
895
|
+
});
|
|
896
|
+
var postApiIdentityManage2faBody = zod.strictObject({
|
|
897
|
+
enable: zod.boolean().nullable(),
|
|
898
|
+
resetSharedKey: zod.boolean(),
|
|
899
|
+
resetRecoveryCodes: zod.boolean(),
|
|
900
|
+
forgetMachine: zod.boolean(),
|
|
901
|
+
twoFactorCode: zod.string().nullable(),
|
|
902
|
+
password: zod.string().nullable()
|
|
903
|
+
});
|
|
904
|
+
var postApiIdentityManage2faResponse = zod.strictObject({
|
|
905
|
+
sharedKey: zod.string().nullable(),
|
|
906
|
+
recoveryCodes: zod.array(zod.string()).nullable(),
|
|
907
|
+
recoveryCodesLeft: zod.number(),
|
|
908
|
+
isTwoFactorEnabled: zod.boolean(),
|
|
909
|
+
isMachineRemembered: zod.boolean()
|
|
910
|
+
});
|
|
911
|
+
var getApiIdentityManageInfoResponse = zod.strictObject({
|
|
912
|
+
email: zod.string(),
|
|
913
|
+
isEmailConfirmed: zod.boolean()
|
|
914
|
+
});
|
|
915
|
+
var postApiIdentityManageInfoBody = zod.strictObject({
|
|
916
|
+
newEmail: zod.string().nullable(),
|
|
917
|
+
newPassword: zod.string().nullable(),
|
|
918
|
+
oldPassword: zod.string().nullable()
|
|
919
|
+
});
|
|
920
|
+
var postApiIdentityManageInfoResponse = zod.strictObject({
|
|
921
|
+
email: zod.string(),
|
|
922
|
+
isEmailConfirmed: zod.boolean()
|
|
923
|
+
});
|
|
924
|
+
var getApiIdentityAdminRolesResponseItem = zod.strictObject({
|
|
925
|
+
id: zod.uuid(),
|
|
926
|
+
name: zod.string(),
|
|
927
|
+
permissions: zod.array(zod.string())
|
|
928
|
+
});
|
|
929
|
+
var getApiIdentityAdminRolesResponse = zod.array(getApiIdentityAdminRolesResponseItem);
|
|
930
|
+
var postApiIdentityAdminRolesBody = zod.strictObject({
|
|
931
|
+
name: zod.string()
|
|
932
|
+
});
|
|
933
|
+
var getApiIdentityAdminRolesIdParams = zod.strictObject({
|
|
934
|
+
id: zod.uuid()
|
|
935
|
+
});
|
|
936
|
+
var getApiIdentityAdminRolesIdResponse = zod.strictObject({
|
|
937
|
+
id: zod.uuid(),
|
|
938
|
+
name: zod.string(),
|
|
939
|
+
permissions: zod.array(zod.string())
|
|
940
|
+
});
|
|
941
|
+
var putApiIdentityAdminRolesIdParams = zod.strictObject({
|
|
942
|
+
id: zod.uuid()
|
|
943
|
+
});
|
|
944
|
+
var putApiIdentityAdminRolesIdBody = zod.strictObject({
|
|
945
|
+
name: zod.string()
|
|
946
|
+
});
|
|
947
|
+
var deleteApiIdentityAdminRolesIdParams = zod.strictObject({
|
|
948
|
+
id: zod.uuid()
|
|
949
|
+
});
|
|
950
|
+
var putApiIdentityAdminRolesIdPermissionsParams = zod.strictObject({
|
|
951
|
+
id: zod.uuid()
|
|
952
|
+
});
|
|
953
|
+
var putApiIdentityAdminRolesIdPermissionsBody = zod.strictObject({
|
|
954
|
+
codes: zod.array(zod.string())
|
|
955
|
+
});
|
|
956
|
+
var getApiIdentityAdminPermissionsResponseItem = zod.strictObject({
|
|
957
|
+
module: zod.string(),
|
|
958
|
+
code: zod.string(),
|
|
959
|
+
description: zod.string()
|
|
960
|
+
});
|
|
961
|
+
var getApiIdentityAdminPermissionsResponse = zod.array(
|
|
962
|
+
getApiIdentityAdminPermissionsResponseItem
|
|
963
|
+
);
|
|
964
|
+
var getApiIdentityAdminUsersQueryParams = zod.strictObject({
|
|
965
|
+
email: zod.coerce.string()
|
|
966
|
+
});
|
|
967
|
+
var getApiIdentityAdminUsersResponse = zod.strictObject({
|
|
968
|
+
id: zod.uuid(),
|
|
969
|
+
email: zod.string(),
|
|
970
|
+
isActive: zod.boolean()
|
|
971
|
+
});
|
|
972
|
+
var getApiIdentityAdminUsersIdRolesParams = zod.strictObject({
|
|
973
|
+
id: zod.uuid()
|
|
974
|
+
});
|
|
975
|
+
var getApiIdentityAdminUsersIdRolesResponseItem = zod.string();
|
|
976
|
+
var getApiIdentityAdminUsersIdRolesResponse = zod.array(
|
|
977
|
+
getApiIdentityAdminUsersIdRolesResponseItem
|
|
978
|
+
);
|
|
979
|
+
var putApiIdentityAdminUsersIdRolesParams = zod.strictObject({
|
|
980
|
+
id: zod.uuid()
|
|
981
|
+
});
|
|
982
|
+
var putApiIdentityAdminUsersIdRolesBody = zod.strictObject({
|
|
983
|
+
roles: zod.array(zod.string())
|
|
984
|
+
});
|
|
985
|
+
var getApiIdentityAdminUsersIdPermissionsParams = zod.strictObject({
|
|
986
|
+
id: zod.uuid()
|
|
987
|
+
});
|
|
988
|
+
var getApiIdentityAdminUsersIdPermissionsResponseItem = zod.string();
|
|
989
|
+
var getApiIdentityAdminUsersIdPermissionsResponse = zod.array(
|
|
990
|
+
getApiIdentityAdminUsersIdPermissionsResponseItem
|
|
991
|
+
);
|
|
992
|
+
var putApiIdentityAdminUsersIdActiveParams = zod.strictObject({
|
|
993
|
+
id: zod.uuid()
|
|
994
|
+
});
|
|
995
|
+
var putApiIdentityAdminUsersIdActiveBody = zod.strictObject({
|
|
996
|
+
isActive: zod.boolean()
|
|
997
|
+
});
|
|
998
|
+
var postApiIdentityAdminUsersIdLogoutParams = zod.strictObject({
|
|
999
|
+
id: zod.uuid()
|
|
1000
|
+
});
|
|
481
1001
|
export {
|
|
482
1002
|
ConsumeBatchSourceType,
|
|
483
1003
|
SourceTypeEnum,
|
|
@@ -490,13 +1010,60 @@ export {
|
|
|
490
1010
|
createStockItemsBody,
|
|
491
1011
|
createWarehouse,
|
|
492
1012
|
createWarehouseBody,
|
|
1013
|
+
deleteApiIdentityAdminRolesId,
|
|
1014
|
+
deleteApiIdentityAdminRolesIdParams,
|
|
493
1015
|
deleteWarehouse,
|
|
494
1016
|
deleteWarehouseParams,
|
|
1017
|
+
getApiIdentityAdminPermissions,
|
|
1018
|
+
getApiIdentityAdminPermissionsResponse,
|
|
1019
|
+
getApiIdentityAdminPermissionsResponseItem,
|
|
1020
|
+
getApiIdentityAdminRoles,
|
|
1021
|
+
getApiIdentityAdminRolesId,
|
|
1022
|
+
getApiIdentityAdminRolesIdParams,
|
|
1023
|
+
getApiIdentityAdminRolesIdResponse,
|
|
1024
|
+
getApiIdentityAdminRolesResponse,
|
|
1025
|
+
getApiIdentityAdminRolesResponseItem,
|
|
1026
|
+
getApiIdentityAdminUsers,
|
|
1027
|
+
getApiIdentityAdminUsersIdPermissions,
|
|
1028
|
+
getApiIdentityAdminUsersIdPermissionsParams,
|
|
1029
|
+
getApiIdentityAdminUsersIdPermissionsResponse,
|
|
1030
|
+
getApiIdentityAdminUsersIdPermissionsResponseItem,
|
|
1031
|
+
getApiIdentityAdminUsersIdRoles,
|
|
1032
|
+
getApiIdentityAdminUsersIdRolesParams,
|
|
1033
|
+
getApiIdentityAdminUsersIdRolesResponse,
|
|
1034
|
+
getApiIdentityAdminUsersIdRolesResponseItem,
|
|
1035
|
+
getApiIdentityAdminUsersQueryParams,
|
|
1036
|
+
getApiIdentityAdminUsersResponse,
|
|
1037
|
+
getApiIdentityAntiforgery,
|
|
1038
|
+
getApiIdentityAntiforgeryResponse,
|
|
1039
|
+
getApiIdentityManage2fa,
|
|
1040
|
+
getApiIdentityManage2faResponse,
|
|
1041
|
+
getApiIdentityManageInfo,
|
|
1042
|
+
getApiIdentityManageInfoResponse,
|
|
495
1043
|
getConsumeBatchMutationOptions,
|
|
496
1044
|
getCreateBatchMutationOptions,
|
|
497
1045
|
getCreateStockItemsMutationOptions,
|
|
498
1046
|
getCreateWarehouseMutationOptions,
|
|
1047
|
+
getDeleteApiIdentityAdminRolesIdMutationOptions,
|
|
499
1048
|
getDeleteWarehouseMutationOptions,
|
|
1049
|
+
getGetApiIdentityAdminPermissionsQueryKey,
|
|
1050
|
+
getGetApiIdentityAdminPermissionsQueryOptions,
|
|
1051
|
+
getGetApiIdentityAdminRolesIdQueryKey,
|
|
1052
|
+
getGetApiIdentityAdminRolesIdQueryOptions,
|
|
1053
|
+
getGetApiIdentityAdminRolesQueryKey,
|
|
1054
|
+
getGetApiIdentityAdminRolesQueryOptions,
|
|
1055
|
+
getGetApiIdentityAdminUsersIdPermissionsQueryKey,
|
|
1056
|
+
getGetApiIdentityAdminUsersIdPermissionsQueryOptions,
|
|
1057
|
+
getGetApiIdentityAdminUsersIdRolesQueryKey,
|
|
1058
|
+
getGetApiIdentityAdminUsersIdRolesQueryOptions,
|
|
1059
|
+
getGetApiIdentityAdminUsersQueryKey,
|
|
1060
|
+
getGetApiIdentityAdminUsersQueryOptions,
|
|
1061
|
+
getGetApiIdentityAntiforgeryQueryKey,
|
|
1062
|
+
getGetApiIdentityAntiforgeryQueryOptions,
|
|
1063
|
+
getGetApiIdentityManage2faQueryKey,
|
|
1064
|
+
getGetApiIdentityManage2faQueryOptions,
|
|
1065
|
+
getGetApiIdentityManageInfoQueryKey,
|
|
1066
|
+
getGetApiIdentityManageInfoQueryOptions,
|
|
500
1067
|
getGetHealthQueryKey,
|
|
501
1068
|
getGetHealthQueryOptions,
|
|
502
1069
|
getGetWarehouseByIdQueryKey,
|
|
@@ -510,6 +1077,18 @@ export {
|
|
|
510
1077
|
getListStockMovementsQueryOptions,
|
|
511
1078
|
getListWarehousesQueryKey,
|
|
512
1079
|
getListWarehousesQueryOptions,
|
|
1080
|
+
getPostApiIdentityAdminRolesMutationOptions,
|
|
1081
|
+
getPostApiIdentityAdminUsersIdLogoutMutationOptions,
|
|
1082
|
+
getPostApiIdentityForgotPasswordMutationOptions,
|
|
1083
|
+
getPostApiIdentityLoginMutationOptions,
|
|
1084
|
+
getPostApiIdentityLogoutMutationOptions,
|
|
1085
|
+
getPostApiIdentityManage2faMutationOptions,
|
|
1086
|
+
getPostApiIdentityManageInfoMutationOptions,
|
|
1087
|
+
getPostApiIdentityResetPasswordMutationOptions,
|
|
1088
|
+
getPutApiIdentityAdminRolesIdMutationOptions,
|
|
1089
|
+
getPutApiIdentityAdminRolesIdPermissionsMutationOptions,
|
|
1090
|
+
getPutApiIdentityAdminUsersIdActiveMutationOptions,
|
|
1091
|
+
getPutApiIdentityAdminUsersIdRolesMutationOptions,
|
|
513
1092
|
getSearchAddressesQueryKey,
|
|
514
1093
|
getSearchAddressesQueryOptions,
|
|
515
1094
|
getToggleWarehouseStatusMutationOptions,
|
|
@@ -537,6 +1116,36 @@ export {
|
|
|
537
1116
|
listWarehousesQueryPageSizeDefault,
|
|
538
1117
|
listWarehousesQueryParams,
|
|
539
1118
|
listWarehousesResponse,
|
|
1119
|
+
postApiIdentityAdminRoles,
|
|
1120
|
+
postApiIdentityAdminRolesBody,
|
|
1121
|
+
postApiIdentityAdminUsersIdLogout,
|
|
1122
|
+
postApiIdentityAdminUsersIdLogoutParams,
|
|
1123
|
+
postApiIdentityForgotPassword,
|
|
1124
|
+
postApiIdentityForgotPasswordBody,
|
|
1125
|
+
postApiIdentityLogin,
|
|
1126
|
+
postApiIdentityLoginBody,
|
|
1127
|
+
postApiIdentityLoginResponse,
|
|
1128
|
+
postApiIdentityLogout,
|
|
1129
|
+
postApiIdentityManage2fa,
|
|
1130
|
+
postApiIdentityManage2faBody,
|
|
1131
|
+
postApiIdentityManage2faResponse,
|
|
1132
|
+
postApiIdentityManageInfo,
|
|
1133
|
+
postApiIdentityManageInfoBody,
|
|
1134
|
+
postApiIdentityManageInfoResponse,
|
|
1135
|
+
postApiIdentityResetPassword,
|
|
1136
|
+
postApiIdentityResetPasswordBody,
|
|
1137
|
+
putApiIdentityAdminRolesId,
|
|
1138
|
+
putApiIdentityAdminRolesIdBody,
|
|
1139
|
+
putApiIdentityAdminRolesIdParams,
|
|
1140
|
+
putApiIdentityAdminRolesIdPermissions,
|
|
1141
|
+
putApiIdentityAdminRolesIdPermissionsBody,
|
|
1142
|
+
putApiIdentityAdminRolesIdPermissionsParams,
|
|
1143
|
+
putApiIdentityAdminUsersIdActive,
|
|
1144
|
+
putApiIdentityAdminUsersIdActiveBody,
|
|
1145
|
+
putApiIdentityAdminUsersIdActiveParams,
|
|
1146
|
+
putApiIdentityAdminUsersIdRoles,
|
|
1147
|
+
putApiIdentityAdminUsersIdRolesBody,
|
|
1148
|
+
putApiIdentityAdminUsersIdRolesParams,
|
|
540
1149
|
searchAddresses,
|
|
541
1150
|
searchAddressesQueryLimitDefault,
|
|
542
1151
|
searchAddressesQueryParams,
|
|
@@ -551,13 +1160,35 @@ export {
|
|
|
551
1160
|
useCreateBatch,
|
|
552
1161
|
useCreateStockItems,
|
|
553
1162
|
useCreateWarehouse,
|
|
1163
|
+
useDeleteApiIdentityAdminRolesId,
|
|
554
1164
|
useDeleteWarehouse,
|
|
1165
|
+
useGetApiIdentityAdminPermissions,
|
|
1166
|
+
useGetApiIdentityAdminRoles,
|
|
1167
|
+
useGetApiIdentityAdminRolesId,
|
|
1168
|
+
useGetApiIdentityAdminUsers,
|
|
1169
|
+
useGetApiIdentityAdminUsersIdPermissions,
|
|
1170
|
+
useGetApiIdentityAdminUsersIdRoles,
|
|
1171
|
+
useGetApiIdentityAntiforgery,
|
|
1172
|
+
useGetApiIdentityManage2fa,
|
|
1173
|
+
useGetApiIdentityManageInfo,
|
|
555
1174
|
useGetHealth,
|
|
556
1175
|
useGetWarehouseById,
|
|
557
1176
|
useGetWarehouseOptions,
|
|
558
1177
|
useListStockItems,
|
|
559
1178
|
useListStockMovements,
|
|
560
1179
|
useListWarehouses,
|
|
1180
|
+
usePostApiIdentityAdminRoles,
|
|
1181
|
+
usePostApiIdentityAdminUsersIdLogout,
|
|
1182
|
+
usePostApiIdentityForgotPassword,
|
|
1183
|
+
usePostApiIdentityLogin,
|
|
1184
|
+
usePostApiIdentityLogout,
|
|
1185
|
+
usePostApiIdentityManage2fa,
|
|
1186
|
+
usePostApiIdentityManageInfo,
|
|
1187
|
+
usePostApiIdentityResetPassword,
|
|
1188
|
+
usePutApiIdentityAdminRolesId,
|
|
1189
|
+
usePutApiIdentityAdminRolesIdPermissions,
|
|
1190
|
+
usePutApiIdentityAdminUsersIdActive,
|
|
1191
|
+
usePutApiIdentityAdminUsersIdRoles,
|
|
561
1192
|
useSearchAddresses,
|
|
562
1193
|
useToggleWarehouseStatus,
|
|
563
1194
|
useUpdateWarehouse
|