@omniumretail/shared-resources 0.3.13 → 0.3.14

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.
@@ -0,0 +1,12 @@
1
+ import { UseQueryOptions } from "@tanstack/react-query";
2
+ import { FlowExecution, ResponseList } from "../../../interfaces";
3
+ interface FlowExecutionProps extends Omit<UseQueryOptions<ResponseList<"Executions", FlowExecution>>, "queryKey"> {
4
+ page: number;
5
+ records: number;
6
+ sortBy: string;
7
+ sortDirection: string;
8
+ terms?: string;
9
+ query?: string;
10
+ }
11
+ export declare const getFlowExecutionQuery: ({ page, records, sortBy, sortDirection, terms, query, ...options }: FlowExecutionProps) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Executions", FlowExecution>, unknown>;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import { UseQueryOptions } from "@tanstack/react-query";
2
+ import { FlowList, ResponseList } from "../../../interfaces";
3
+ interface FlowListProps extends Omit<UseQueryOptions<ResponseList<"FlowConfigurationResponses", FlowList>>, "queryKey"> {
4
+ page: number;
5
+ records: number;
6
+ sortBy: string;
7
+ sortDirection: string;
8
+ terms?: string;
9
+ query?: string;
10
+ }
11
+ export declare const getFlowListQuery: ({ page, records, sortBy, sortDirection, terms, query, ...options }: FlowListProps) => import("@tanstack/react-query").UseQueryResult<ResponseList<"FlowConfigurationResponses", FlowList>, unknown>;
12
+ export {};
@@ -354,8 +354,8 @@ export * from "./ATIM/BackOffice/mutate/postAttendanceRange.hook";
354
354
  export * from "./ATIM/BackOffice/mutate/useUpdateAttendancesSummary.hook";
355
355
  export * from "./ATIM/BackOffice/mutate/useAttendancesById.hook";
356
356
  export * from "./ATIM/BackOffice/mutate/useScheduleMutateQuery.hook";
357
- export * from "./Frd/get/getFlowExecutionQuery.hook";
358
- export * from "./Frd/get/getFlowListQuery.hook";
357
+ export * from "./Aexp/get/getFlowExecutionQuery.hook";
358
+ export * from "./Aexp/get/getFlowListQuery.hook";
359
359
  export * from "./Others/useJobTitlesQuery.hook";
360
360
  export * from "./Others/useContractStatesQuery.hook";
361
361
  export * from "./Others/useApplicationDataQuery.hook";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/shared-resources",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "private": false,
5
5
  "description": "Shared Components and services or utils to the frontend versions",
6
6
  "main": "dist/bundle.js",
@@ -14,7 +14,7 @@ interface FlowExecutionProps extends Omit<UseQueryOptions<ResponseList<"Executio
14
14
  export const getFlowExecutionQuery = ({ page, records, sortBy, sortDirection, terms, query, ...options }: FlowExecutionProps) => {
15
15
  return useQuery(
16
16
  ['FLOW_EXECUTION_QUERY', page, records, sortBy, sortDirection, terms, query, options],
17
- () => getAuth0<ResponseList<"Executions", FlowExecution>>(`/FRD/Execution`, {
17
+ () => getAuth0<ResponseList<"Executions", FlowExecution>>(`/AEXP/Execution`, {
18
18
  pPage: page || 1,
19
19
  pRecords: records || 50,
20
20
  pSortBy: sortBy || "Name",
@@ -14,7 +14,7 @@ interface FlowListProps extends Omit<UseQueryOptions<ResponseList<"FlowConfigura
14
14
  export const getFlowListQuery = ({ page, records, sortBy, sortDirection, terms, query, ...options }: FlowListProps) => {
15
15
  return useQuery(
16
16
  ['FLOW_LIST_QUERY', page, records, sortBy, sortDirection, terms, query, options],
17
- () => getAuth0<ResponseList<"FlowConfigurationResponses", FlowList>>(`/FRD/FlowConfiguration`, {
17
+ () => getAuth0<ResponseList<"FlowConfigurationResponses", FlowList>>(`/AEXP/FlowConfiguration`, {
18
18
  pPage: page || 1,
19
19
  pRecords: records || 50,
20
20
  pSortBy: sortBy || "Name",
@@ -416,9 +416,9 @@ export * from "./ATIM/BackOffice/mutate/useUpdateAttendancesSummary.hook";
416
416
  export * from "./ATIM/BackOffice/mutate/useAttendancesById.hook";
417
417
  export * from "./ATIM/BackOffice/mutate/useScheduleMutateQuery.hook";
418
418
 
419
- //Frd
420
- export * from "./Frd/get/getFlowExecutionQuery.hook";
421
- export * from "./Frd/get/getFlowListQuery.hook";
419
+ //Aexp
420
+ export * from "./Aexp/get/getFlowExecutionQuery.hook";
421
+ export * from "./Aexp/get/getFlowListQuery.hook";
422
422
 
423
423
  //Others
424
424
  export * from "./Others/useJobTitlesQuery.hook";