@bluecopa/react 0.1.109 → 0.1.111

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.
Files changed (93) hide show
  1. package/dist/hooks/pipeline/types.d.ts +32 -0
  2. package/dist/hooks/pipeline/types.d.ts.map +1 -0
  3. package/dist/hooks/pipeline/useLastSuccessfulPipelineRun.d.ts +16 -0
  4. package/dist/hooks/pipeline/useLastSuccessfulPipelineRun.d.ts.map +1 -0
  5. package/dist/hooks/pipeline/usePipelineList.d.ts +23 -0
  6. package/dist/hooks/pipeline/usePipelineList.d.ts.map +1 -0
  7. package/dist/hooks/pipeline/usePipelineRunDetail.d.ts +3 -0
  8. package/dist/hooks/pipeline/usePipelineRunDetail.d.ts.map +1 -0
  9. package/dist/hooks/pipeline/usePipelineRuns.d.ts +16 -0
  10. package/dist/hooks/pipeline/usePipelineRuns.d.ts.map +1 -0
  11. package/dist/hooks/useCancelInboxItem.d.ts +9 -0
  12. package/dist/hooks/useCancelInboxItem.d.ts.map +1 -0
  13. package/dist/hooks/useCancelInboxItemsByKey.d.ts +10 -0
  14. package/dist/hooks/useCancelInboxItemsByKey.d.ts.map +1 -0
  15. package/dist/hooks/useClaimInboxItem.d.ts +10 -0
  16. package/dist/hooks/useClaimInboxItem.d.ts.map +1 -0
  17. package/dist/hooks/useCompleteInboxItem.d.ts +9 -0
  18. package/dist/hooks/useCompleteInboxItem.d.ts.map +1 -0
  19. package/dist/hooks/useCompleteInboxItemsByKey.d.ts +10 -0
  20. package/dist/hooks/useCompleteInboxItemsByKey.d.ts.map +1 -0
  21. package/dist/hooks/useCreateFiscalCalendar.d.ts +11 -0
  22. package/dist/hooks/useCreateFiscalCalendar.d.ts.map +1 -0
  23. package/dist/hooks/useCreateHolidayCalendar.d.ts +12 -0
  24. package/dist/hooks/useCreateHolidayCalendar.d.ts.map +1 -0
  25. package/dist/hooks/useCreateInboxItem.d.ts +10 -0
  26. package/dist/hooks/useCreateInboxItem.d.ts.map +1 -0
  27. package/dist/hooks/useCreateInboxType.d.ts +9 -0
  28. package/dist/hooks/useCreateInboxType.d.ts.map +1 -0
  29. package/dist/hooks/useDataset.d.ts +2 -1
  30. package/dist/hooks/useDataset.d.ts.map +1 -1
  31. package/dist/hooks/useDeleteFiscalCalendar.d.ts +11 -0
  32. package/dist/hooks/useDeleteFiscalCalendar.d.ts.map +1 -0
  33. package/dist/hooks/useDeleteHolidayCalendar.d.ts +9 -0
  34. package/dist/hooks/useDeleteHolidayCalendar.d.ts.map +1 -0
  35. package/dist/hooks/useDeleteInboxType.d.ts +8 -0
  36. package/dist/hooks/useDeleteInboxType.d.ts.map +1 -0
  37. package/dist/hooks/useDismissInboxItem.d.ts +9 -0
  38. package/dist/hooks/useDismissInboxItem.d.ts.map +1 -0
  39. package/dist/hooks/useGetFiscalCalendar.d.ts +13 -0
  40. package/dist/hooks/useGetFiscalCalendar.d.ts.map +1 -0
  41. package/dist/hooks/useGetHolidayCalendar.d.ts +12 -0
  42. package/dist/hooks/useGetHolidayCalendar.d.ts.map +1 -0
  43. package/dist/hooks/useGetInboxItem.d.ts +11 -0
  44. package/dist/hooks/useGetInboxItem.d.ts.map +1 -0
  45. package/dist/hooks/useGetInboxType.d.ts +11 -0
  46. package/dist/hooks/useGetInboxType.d.ts.map +1 -0
  47. package/dist/hooks/useGetVirtualDatasets.d.ts +1 -1
  48. package/dist/hooks/useGetVirtualDatasets.d.ts.map +1 -1
  49. package/dist/hooks/useImportHolidays.d.ts +17 -0
  50. package/dist/hooks/useImportHolidays.d.ts.map +1 -0
  51. package/dist/hooks/useInputTable.d.ts +1 -1
  52. package/dist/hooks/useInputTable.d.ts.map +1 -1
  53. package/dist/hooks/useListFiscalCalendars.d.ts +12 -0
  54. package/dist/hooks/useListFiscalCalendars.d.ts.map +1 -0
  55. package/dist/hooks/useListHolidayCalendars.d.ts +12 -0
  56. package/dist/hooks/useListHolidayCalendars.d.ts.map +1 -0
  57. package/dist/hooks/useListHolidays.d.ts +13 -0
  58. package/dist/hooks/useListHolidays.d.ts.map +1 -0
  59. package/dist/hooks/useListInboxTypes.d.ts +9 -0
  60. package/dist/hooks/useListInboxTypes.d.ts.map +1 -0
  61. package/dist/hooks/useListMyInboxItems.d.ts +10 -0
  62. package/dist/hooks/useListMyInboxItems.d.ts.map +1 -0
  63. package/dist/hooks/useMarkInboxItemsRead.d.ts +9 -0
  64. package/dist/hooks/useMarkInboxItemsRead.d.ts.map +1 -0
  65. package/dist/hooks/useMarkInboxItemsUnread.d.ts +9 -0
  66. package/dist/hooks/useMarkInboxItemsUnread.d.ts.map +1 -0
  67. package/dist/hooks/useMetric.d.ts.map +1 -1
  68. package/dist/hooks/useReassignInboxItem.d.ts +14 -0
  69. package/dist/hooks/useReassignInboxItem.d.ts.map +1 -0
  70. package/dist/hooks/useReleaseInboxItem.d.ts +10 -0
  71. package/dist/hooks/useReleaseInboxItem.d.ts.map +1 -0
  72. package/dist/hooks/useSnoozeInboxItem.d.ts +13 -0
  73. package/dist/hooks/useSnoozeInboxItem.d.ts.map +1 -0
  74. package/dist/hooks/useUpdateFiscalCalendar.d.ts +16 -0
  75. package/dist/hooks/useUpdateFiscalCalendar.d.ts.map +1 -0
  76. package/dist/hooks/useUpdateHolidayCalendar.d.ts +16 -0
  77. package/dist/hooks/useUpdateHolidayCalendar.d.ts.map +1 -0
  78. package/dist/hooks/useUpdateInboxItem.d.ts +14 -0
  79. package/dist/hooks/useUpdateInboxItem.d.ts.map +1 -0
  80. package/dist/hooks/useUpdateInboxType.d.ts +13 -0
  81. package/dist/hooks/useUpdateInboxType.d.ts.map +1 -0
  82. package/dist/hooks/workingPaper/types.d.ts +21 -0
  83. package/dist/hooks/workingPaper/types.d.ts.map +1 -0
  84. package/dist/hooks/workingPaper/useFxDefinitionSheet.d.ts +42 -0
  85. package/dist/hooks/workingPaper/useFxDefinitionSheet.d.ts.map +1 -0
  86. package/dist/hooks/workingPaper/useInputTableSheet.d.ts +37 -0
  87. package/dist/hooks/workingPaper/useInputTableSheet.d.ts.map +1 -0
  88. package/dist/hooks/workingPaper/useWorkingPaper.d.ts +14 -0
  89. package/dist/hooks/workingPaper/useWorkingPaper.d.ts.map +1 -0
  90. package/dist/index.d.ts +41 -0
  91. package/dist/index.d.ts.map +1 -1
  92. package/dist/index.es.js +1407 -937
  93. package/package.json +2 -2
@@ -0,0 +1,32 @@
1
+ import { PipelineNode, PipelineEdge, PipelineRunInfo } from '@bluecopa/core';
2
+ export interface NodeProperties {
3
+ [key: string]: unknown;
4
+ }
5
+ export interface PipelineRunColumn {
6
+ name: string;
7
+ data_type?: string;
8
+ [key: string]: unknown;
9
+ }
10
+ export interface PipelineRunOutput {
11
+ columns: PipelineRunColumn[];
12
+ rows: Record<string, unknown>[];
13
+ }
14
+ export interface UsePipelineRunDetailOptions {
15
+ /** disable fetching (e.g. while ids are not yet known) */
16
+ enabled?: boolean;
17
+ }
18
+ export interface UsePipelineRunDetailController {
19
+ run: PipelineRunInfo | undefined;
20
+ nodes: PipelineNode[];
21
+ edges: PipelineEdge[];
22
+ isCurrentDefinition: boolean;
23
+ isLoading: boolean;
24
+ error: Error | null;
25
+ getNodeProperties: (nodeId: string) => NodeProperties | undefined;
26
+ output: PipelineRunOutput | undefined;
27
+ isOutputLoading: boolean;
28
+ outputError: Error | null;
29
+ loadOutput: () => void;
30
+ refetch: () => void;
31
+ }
32
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/hooks/pipeline/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAElF,MAAM,WAAW,cAAc;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;CACjC;AAED,MAAM,WAAW,2BAA2B;IAC1C,0DAA0D;IAC1D,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,8BAA8B;IAC7C,GAAG,EAAE,eAAe,GAAG,SAAS,CAAC;IACjC,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,cAAc,GAAG,SAAS,CAAC;IAClE,MAAM,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACtC,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,KAAK,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB"}
@@ -0,0 +1,16 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import { PipelineRunInfo } from '@bluecopa/core';
3
+ export interface UseLastSuccessfulPipelineRunResult {
4
+ /** The most recent SUCCEEDED run (by startedAt), or undefined if none. */
5
+ run: PipelineRunInfo | undefined;
6
+ isLoading: boolean;
7
+ error: Error | null;
8
+ refetch: () => void;
9
+ }
10
+ /**
11
+ * Headless controller returning a pipeline's most recent successful run.
12
+ * Composes usePipelineRuns (sharing its query cache) and derives the latest
13
+ * run whose status is "SUCCEEDED", compared by startedAt.
14
+ */
15
+ export declare function useLastSuccessfulPipelineRun(pipelineId: string | null | undefined, options?: Omit<UseQueryOptions<PipelineRunInfo[], Error>, "queryKey" | "queryFn">): UseLastSuccessfulPipelineRunResult;
16
+ //# sourceMappingURL=useLastSuccessfulPipelineRun.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLastSuccessfulPipelineRun.d.ts","sourceRoot":"","sources":["../../../src/hooks/pipeline/useLastSuccessfulPipelineRun.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,MAAM,WAAW,kCAAkC;IACjD,0EAA0E;IAC1E,GAAG,EAAE,eAAe,GAAG,SAAS,CAAC;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACrC,OAAO,GAAE,IAAI,CAAC,eAAe,CAAC,eAAe,EAAE,EAAE,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAM,GACpF,kCAAkC,CAapC"}
@@ -0,0 +1,23 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import { PipelineListItem } from '@bluecopa/core';
3
+ export interface PipelineListFilter {
4
+ /** dotted key path, e.g. "customFields.region" */
5
+ key: string;
6
+ value: unknown;
7
+ }
8
+ export interface UsePipelineListResult {
9
+ pipelines: PipelineListItem[];
10
+ isLoading: boolean;
11
+ error: Error | null;
12
+ refetch: () => void;
13
+ }
14
+ /**
15
+ * Headless controller listing data pipelines, optionally filtered in-memory by a
16
+ * single { key, value } pair (supports dotted key paths).
17
+ *
18
+ * Reads through the curated hub (`GET /blui-api/v1/data-pipelines` via
19
+ * `copaApi.pipeline.getPipelineList`) — ALLOCATION_WORKFLOW workbooks,
20
+ * most-recently-modified first — consistent with usePipelineRuns/usePipelineRunDetail.
21
+ */
22
+ export declare function usePipelineList(filter?: PipelineListFilter, options?: Omit<UseQueryOptions<PipelineListItem[], Error>, "queryKey" | "queryFn">): UsePipelineListResult;
23
+ //# sourceMappingURL=usePipelineList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePipelineList.d.ts","sourceRoot":"","sources":["../../../src/hooks/pipeline/usePipelineList.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,WAAW,kBAAkB;IACjC,kDAAkD;IAClD,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAUD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,MAAM,CAAC,EAAE,kBAAkB,EAC3B,OAAO,GAAE,IAAI,CAAC,eAAe,CAAC,gBAAgB,EAAE,EAAE,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAM,GACrF,qBAAqB,CAmBvB"}
@@ -0,0 +1,3 @@
1
+ import { UsePipelineRunDetailController, UsePipelineRunDetailOptions } from './types';
2
+ export declare function usePipelineRunDetail(pipelineId: string | null | undefined, runId: string | null | undefined, options?: UsePipelineRunDetailOptions): UsePipelineRunDetailController;
3
+ //# sourceMappingURL=usePipelineRunDetail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePipelineRunDetail.d.ts","sourceRoot":"","sources":["../../../src/hooks/pipeline/usePipelineRunDetail.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,8BAA8B,EAC9B,2BAA2B,EAI5B,MAAM,SAAS,CAAC;AAEjB,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACrC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,OAAO,GAAE,2BAAgC,GACxC,8BAA8B,CAsFhC"}
@@ -0,0 +1,16 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import { PipelineRunInfo } from '@bluecopa/core';
3
+ export interface UsePipelineRunsResult {
4
+ runs: PipelineRunInfo[];
5
+ isLoading: boolean;
6
+ error: Error | null;
7
+ refetch: () => void;
8
+ }
9
+ /**
10
+ * Headless controller listing the runs of a pipeline (most-recent first).
11
+ * Prepackaged wrapper over the curated hub endpoint
12
+ * `copaApi.pipeline.getPipelineRunStatus` (GET /blui-api/v1/data-pipelines/{id}/run-status)
13
+ * using TanStack Query, so consumers don't hand-roll useQuery.
14
+ */
15
+ export declare function usePipelineRuns(pipelineId: string | null | undefined, options?: Omit<UseQueryOptions<PipelineRunInfo[], Error>, "queryKey" | "queryFn">): UsePipelineRunsResult;
16
+ //# sourceMappingURL=usePipelineRuns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePipelineRuns.d.ts","sourceRoot":"","sources":["../../../src/hooks/pipeline/usePipelineRuns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACrC,OAAO,GAAE,IAAI,CAAC,eAAe,CAAC,eAAe,EAAE,EAAE,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAM,GACpF,qBAAqB,CAevB"}
@@ -0,0 +1,9 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { InboxItemV2 } from '@bluecopa/core';
3
+ /**
4
+ * Cancels an inbox item (ACTIONABLE/task kind). InboxItem V2, PRD-3399.
5
+ * @param options - Mutation options
6
+ * @returns useMutation taking the item id
7
+ */
8
+ export declare function useCancelInboxItem(options?: {}): UseMutationResult<InboxItemV2, Error, string>;
9
+ //# sourceMappingURL=useCancelInboxItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCancelInboxItem.d.ts","sourceRoot":"","sources":["../../src/hooks/useCancelInboxItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,KAAK,GACX,iBAAiB,CAAC,WAAW,EAAE,KAAK,EAAE,MAAM,CAAC,CAO/C"}
@@ -0,0 +1,10 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { InboxItemV2, ResolveByKeyRequest } from '@bluecopa/core';
3
+ /**
4
+ * Cancels inbox items matched by type key + dedupe key (ACTIONABLE/task kind).
5
+ * InboxItem V2, PRD-3399.
6
+ * @param options - Mutation options
7
+ * @returns useMutation returning the cancelled items
8
+ */
9
+ export declare function useCancelInboxItemsByKey(options?: {}): UseMutationResult<InboxItemV2[], Error, ResolveByKeyRequest>;
10
+ //# sourceMappingURL=useCancelInboxItemsByKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCancelInboxItemsByKey.d.ts","sourceRoot":"","sources":["../../src/hooks/useCancelInboxItemsByKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAEvE;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,KAAK,GACX,iBAAiB,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,mBAAmB,CAAC,CAO9D"}
@@ -0,0 +1,10 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { InboxItemV2 } from '@bluecopa/core';
3
+ /**
4
+ * Claims an inbox item for the current user (ACTIONABLE/task kind).
5
+ * InboxItem V2, PRD-3399.
6
+ * @param options - Mutation options
7
+ * @returns useMutation taking the item id
8
+ */
9
+ export declare function useClaimInboxItem(options?: {}): UseMutationResult<InboxItemV2, Error, string>;
10
+ //# sourceMappingURL=useClaimInboxItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useClaimInboxItem.d.ts","sourceRoot":"","sources":["../../src/hooks/useClaimInboxItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,KAAK,GACX,iBAAiB,CAAC,WAAW,EAAE,KAAK,EAAE,MAAM,CAAC,CAO/C"}
@@ -0,0 +1,9 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { InboxItemV2 } from '@bluecopa/core';
3
+ /**
4
+ * Completes an inbox item (ACTIONABLE/task kind). InboxItem V2, PRD-3399.
5
+ * @param options - Mutation options
6
+ * @returns useMutation taking the item id
7
+ */
8
+ export declare function useCompleteInboxItem(options?: {}): UseMutationResult<InboxItemV2, Error, string>;
9
+ //# sourceMappingURL=useCompleteInboxItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCompleteInboxItem.d.ts","sourceRoot":"","sources":["../../src/hooks/useCompleteInboxItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,KAAK,GACX,iBAAiB,CAAC,WAAW,EAAE,KAAK,EAAE,MAAM,CAAC,CAO/C"}
@@ -0,0 +1,10 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { InboxItemV2, ResolveByKeyRequest } from '@bluecopa/core';
3
+ /**
4
+ * Completes inbox items matched by type key + dedupe key (ACTIONABLE/task kind).
5
+ * InboxItem V2, PRD-3399.
6
+ * @param options - Mutation options
7
+ * @returns useMutation returning the completed items
8
+ */
9
+ export declare function useCompleteInboxItemsByKey(options?: {}): UseMutationResult<InboxItemV2[], Error, ResolveByKeyRequest>;
10
+ //# sourceMappingURL=useCompleteInboxItemsByKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCompleteInboxItemsByKey.d.ts","sourceRoot":"","sources":["../../src/hooks/useCompleteInboxItemsByKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAEvE;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,KAAK,GACX,iBAAiB,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,mBAAmB,CAAC,CAO9D"}
@@ -0,0 +1,11 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { FiscalCalendar, FiscalCalendarRequest } from '@bluecopa/core';
3
+ /**
4
+ * Creates a fiscal calendar. MONTH_WISE auto-generates 12 monthly periods
5
+ * server-side; CUSTOM uses the periods supplied in the request.
6
+ *
7
+ * @param options - Mutation options (onSuccess, onError, …).
8
+ * @returns useMutation for creating a fiscal calendar.
9
+ */
10
+ export declare function useCreateFiscalCalendar(options?: {}): UseMutationResult<FiscalCalendar, Error, FiscalCalendarRequest>;
11
+ //# sourceMappingURL=useCreateFiscalCalendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCreateFiscalCalendar.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreateFiscalCalendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC3B,MAAM,gBAAgB,CAAC;AAExB;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,KAAK,GACX,iBAAiB,CAAC,cAAc,EAAE,KAAK,EAAE,qBAAqB,CAAC,CAOjE"}
@@ -0,0 +1,12 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { HolidayCalendar, HolidayCalendarRequest } from '@bluecopa/core';
3
+ /**
4
+ * Creates a holiday calendar attached to a fiscal calendar. The server
5
+ * materialises WEEKEND entries from weeklyOff and merges with the explicit
6
+ * HOLIDAY entries (HOLIDAY wins on shared dates).
7
+ *
8
+ * @param options - Mutation options.
9
+ * @returns useMutation for creating a holiday calendar.
10
+ */
11
+ export declare function useCreateHolidayCalendar(options?: {}): UseMutationResult<HolidayCalendar, Error, HolidayCalendarRequest>;
12
+ //# sourceMappingURL=useCreateHolidayCalendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCreateHolidayCalendar.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreateHolidayCalendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC5B,MAAM,gBAAgB,CAAC;AAExB;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,KAAK,GACX,iBAAiB,CAAC,eAAe,EAAE,KAAK,EAAE,sBAAsB,CAAC,CAOnE"}
@@ -0,0 +1,10 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { CreateInboxItemRequestV2, InboxItemV2 } from '@bluecopa/core';
3
+ /**
4
+ * Creates an inbox item; the backend fans it out to each resolved recipient
5
+ * (InboxItem V2, PRD-3399).
6
+ * @param options - Mutation options
7
+ * @returns useMutation returning the created items (one per recipient)
8
+ */
9
+ export declare function useCreateInboxItem(options?: {}): UseMutationResult<InboxItemV2[], Error, CreateInboxItemRequestV2>;
10
+ //# sourceMappingURL=useCreateInboxItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCreateInboxItem.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreateInboxItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE5E;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,KAAK,GACX,iBAAiB,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,wBAAwB,CAAC,CAOnE"}
@@ -0,0 +1,9 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { CreateInboxItemTypeRequest, InboxItemType } from '@bluecopa/core';
3
+ /**
4
+ * Creates an inbox item type (InboxItem V2, PRD-3399).
5
+ * @param options - Mutation options
6
+ * @returns useMutation for creating an inbox item type
7
+ */
8
+ export declare function useCreateInboxType(options?: {}): UseMutationResult<InboxItemType, Error, CreateInboxItemTypeRequest>;
9
+ //# sourceMappingURL=useCreateInboxType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCreateInboxType.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreateInboxType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EAAE,0BAA0B,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEhF;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,KAAK,GACX,iBAAiB,CAAC,aAAa,EAAE,KAAK,EAAE,0BAA0B,CAAC,CAOrE"}
@@ -1,4 +1,5 @@
1
1
  import { UseQueryResult } from '@tanstack/react-query';
2
+ import { copaApi } from '@bluecopa/core';
2
3
  import { UseDatasetOptions } from '../types';
3
4
  /**
4
5
  * Custom hook for fetching dataset data using TanStack React Query
@@ -10,5 +11,5 @@ export declare function useDataset(datasetId: string | null | undefined, options
10
11
  /**
11
12
  * Custom hook for fetching all datasets using TanStack React Query
12
13
  */
13
- export declare function useGetDatasets(): UseQueryResult<Worksheet[], Error>;
14
+ export declare function useGetDatasets(): UseQueryResult<copaApi.pipeline.PipelineWorksheet[], Error>;
14
15
  //# sourceMappingURL=useDataset.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDataset.d.ts","sourceRoot":"","sources":["../../src/hooks/useDataset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C;;;;;GAKG;AACH,wBAAgB,UAAU,CACxB,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,GAAE,iBAAsB,GAC9B,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,CAuB5B;AAED;;GAEG;AACH,wBAAgB,cAAc,uCAc7B"}
1
+ {"version":3,"file":"useDataset.d.ts","sourceRoot":"","sources":["../../src/hooks/useDataset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C;;;;;GAKG;AACH,wBAAgB,UAAU,CACxB,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,GAAE,iBAAsB,GAC9B,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,CAuB5B;AAED;;GAEG;AACH,wBAAgB,cAAc,gEAc7B"}
@@ -0,0 +1,11 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ /**
3
+ * Soft-deletes a fiscal calendar. Idempotent — deleting an already-deleted
4
+ * calendar still resolves. The backend does not cascade; any holiday
5
+ * calendar attached via calendarId is left in place.
6
+ *
7
+ * @param options - Mutation options.
8
+ * @returns useMutation; the variable is the calendar id string.
9
+ */
10
+ export declare function useDeleteFiscalCalendar(options?: {}): UseMutationResult<void, Error, string>;
11
+ //# sourceMappingURL=useDeleteFiscalCalendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDeleteFiscalCalendar.d.ts","sourceRoot":"","sources":["../../src/hooks/useDeleteFiscalCalendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG5E;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,KAAK,GACX,iBAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,CAOxC"}
@@ -0,0 +1,9 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ /**
3
+ * Soft-deletes a holiday calendar. Idempotent.
4
+ *
5
+ * @param options - Mutation options.
6
+ * @returns useMutation; the variable is the calendar id string.
7
+ */
8
+ export declare function useDeleteHolidayCalendar(options?: {}): UseMutationResult<void, Error, string>;
9
+ //# sourceMappingURL=useDeleteHolidayCalendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDeleteHolidayCalendar.d.ts","sourceRoot":"","sources":["../../src/hooks/useDeleteHolidayCalendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG5E;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,KAAK,GACX,iBAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,CAOxC"}
@@ -0,0 +1,8 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ /**
3
+ * Deletes an inbox item type by id (InboxItem V2, PRD-3399).
4
+ * @param options - Mutation options
5
+ * @returns useMutation taking the type id
6
+ */
7
+ export declare function useDeleteInboxType(options?: {}): UseMutationResult<void, Error, string>;
8
+ //# sourceMappingURL=useDeleteInboxType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDeleteInboxType.d.ts","sourceRoot":"","sources":["../../src/hooks/useDeleteInboxType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG5E;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,KAAK,GACX,iBAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,CAOxC"}
@@ -0,0 +1,9 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { InboxItemReceipt } from '@bluecopa/core';
3
+ /**
4
+ * Dismisses an inbox item (NOTIFICATION kind). InboxItem V2, PRD-3399.
5
+ * @param options - Mutation options
6
+ * @returns useMutation taking the item id
7
+ */
8
+ export declare function useDismissInboxItem(options?: {}): UseMutationResult<InboxItemReceipt, Error, string>;
9
+ //# sourceMappingURL=useDismissInboxItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDismissInboxItem.d.ts","sourceRoot":"","sources":["../../src/hooks/useDismissInboxItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,KAAK,GACX,iBAAiB,CAAC,gBAAgB,EAAE,KAAK,EAAE,MAAM,CAAC,CAOpD"}
@@ -0,0 +1,13 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { FiscalCalendar } from '@bluecopa/core';
3
+ import { BaseQueryOptions } from '../types';
4
+ /**
5
+ * Fetches a single fiscal calendar by id. Disabled until `id` is truthy so
6
+ * callers can render conditionally without juggling enabled themselves.
7
+ *
8
+ * @param id - The fiscal calendar id (null/undefined disables the query).
9
+ * @param options - TanStack Query options.
10
+ * @returns UseQueryResult with the calendar and its resolved periods.
11
+ */
12
+ export declare function useGetFiscalCalendar(id: string | null | undefined, options?: BaseQueryOptions): UseQueryResult<FiscalCalendar, Error>;
13
+ //# sourceMappingURL=useGetFiscalCalendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGetFiscalCalendar.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetFiscalCalendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7B,OAAO,GAAE,gBAAqB,GAC7B,cAAc,CAAC,cAAc,EAAE,KAAK,CAAC,CAkBvC"}
@@ -0,0 +1,12 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { HolidayCalendar } from '@bluecopa/core';
3
+ import { BaseQueryOptions } from '../types';
4
+ /**
5
+ * Fetches a single holiday calendar by id, including its inline materialised
6
+ * holidays (WEEKEND + HOLIDAY entries, sorted by date).
7
+ *
8
+ * @param id - The holiday calendar id (null/undefined disables the query).
9
+ * @param options - TanStack Query options.
10
+ */
11
+ export declare function useGetHolidayCalendar(id: string | null | undefined, options?: BaseQueryOptions): UseQueryResult<HolidayCalendar, Error>;
12
+ //# sourceMappingURL=useGetHolidayCalendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGetHolidayCalendar.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetHolidayCalendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAW,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7B,OAAO,GAAE,gBAAqB,GAC7B,cAAc,CAAC,eAAe,EAAE,KAAK,CAAC,CAkBxC"}
@@ -0,0 +1,11 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { InboxItemV2 } from '@bluecopa/core';
3
+ /**
4
+ * Gets a single inbox item by id (InboxItem V2, PRD-3399).
5
+ * Disabled automatically when `id` is empty; caller may override via options.
6
+ * @param id - The inbox item id
7
+ * @param options - Query options
8
+ * @returns UseQueryResult with the inbox item
9
+ */
10
+ export declare function useGetInboxItem(id: string, options?: {}): UseQueryResult<InboxItemV2, Error>;
11
+ //# sourceMappingURL=useGetInboxItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGetInboxItem.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetInboxItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,EAAE,EAAE,MAAM,EACV,OAAO,KAAK,GACX,cAAc,CAAC,WAAW,EAAE,KAAK,CAAC,CASpC"}
@@ -0,0 +1,11 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { InboxItemType } from '@bluecopa/core';
3
+ /**
4
+ * Gets a single inbox item type by id (InboxItem V2, PRD-3399).
5
+ * Disabled automatically when `id` is empty; caller may override via options.
6
+ * @param id - The inbox item type id
7
+ * @param options - Query options
8
+ * @returns UseQueryResult with the inbox item type
9
+ */
10
+ export declare function useGetInboxType(id: string, options?: {}): UseQueryResult<InboxItemType, Error>;
11
+ //# sourceMappingURL=useGetInboxType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGetInboxType.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetInboxType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,EAAE,EAAE,MAAM,EACV,OAAO,KAAK,GACX,cAAc,CAAC,aAAa,EAAE,KAAK,CAAC,CAStC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Custom hook for fetching all virtual datasets using TanStack React Query
3
3
  */
4
- export declare function useGetVirtualDatasets(): import('@tanstack/react-query').UseQueryResult<VirtualDataset[], Error>;
4
+ export declare function useGetVirtualDatasets(): import('@tanstack/react-query').UseQueryResult<import('../../../models/src/lib/gen/Api').VirtualDataset[], Error>;
5
5
  //# sourceMappingURL=useGetVirtualDatasets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useGetVirtualDatasets.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetVirtualDatasets.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,wBAAgB,qBAAqB,4EAYpC"}
1
+ {"version":3,"file":"useGetVirtualDatasets.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetVirtualDatasets.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,wBAAgB,qBAAqB,sHAYpC"}
@@ -0,0 +1,17 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { HolidayCalendar, HolidayRequest } from '@bluecopa/core';
3
+ /** Mutation variables: `{ id, items }` pair. */
4
+ export interface ImportHolidaysVariables {
5
+ id: string;
6
+ items: HolidayRequest[];
7
+ }
8
+ /**
9
+ * Bulk-appends HOLIDAY entries to a holiday calendar. Additive counterpart
10
+ * to the full-set PUT. Atomic: a single invalid row rolls back the entire
11
+ * batch (nothing is imported). Existing named HOLIDAYs are NOT overwritten;
12
+ * existing WEEKEND entries on imported dates are replaced.
13
+ *
14
+ * @param options - Mutation options.
15
+ */
16
+ export declare function useImportHolidays(options?: {}): UseMutationResult<HolidayCalendar, Error, ImportHolidaysVariables>;
17
+ //# sourceMappingURL=useImportHolidays.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useImportHolidays.d.ts","sourceRoot":"","sources":["../../src/hooks/useImportHolidays.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,gBAAgB,CAAC;AAExB,gDAAgD;AAChD,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,cAAc,EAAE,CAAC;CACzB;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,KAAK,GACX,iBAAiB,CAAC,eAAe,EAAE,KAAK,EAAE,uBAAuB,CAAC,CAOpE"}
@@ -11,5 +11,5 @@ export declare function useInputTable(inputTableId: string | null | undefined, i
11
11
  /**
12
12
  * Custom hook for fetching all input tables using TanStack React Query
13
13
  */
14
- export declare function useGetInputTables(): UseQueryResult<InputTable[], Error>;
14
+ export declare function useGetInputTables(): UseQueryResult<import('../../../models/src/lib/gen/Api').InputTable[], Error>;
15
15
  //# sourceMappingURL=useInputTable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useInputTable.d.ts","sourceRoot":"","sources":["../../src/hooks/useInputTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD;;;;;;GAMG;AACH,wBAAgB,aAAa,CAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACvC,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC3C,OAAO,GAAE,oBAAyB,GACjC,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,CAoC5B;AAED;;GAEG;AACH,wBAAgB,iBAAiB,wCAchC"}
1
+ {"version":3,"file":"useInputTable.d.ts","sourceRoot":"","sources":["../../src/hooks/useInputTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD;;;;;;GAMG;AACH,wBAAgB,aAAa,CAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACvC,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC3C,OAAO,GAAE,oBAAyB,GACjC,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,CAoC5B;AAED;;GAEG;AACH,wBAAgB,iBAAiB,kFAchC"}
@@ -0,0 +1,12 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { FiscalCalendar } from '@bluecopa/core';
3
+ import { BaseQueryOptions } from '../types';
4
+ /**
5
+ * Lists fiscal calendars in the caller's workspace.
6
+ *
7
+ * @param fiscalYear - Optional year filter; omit to list all calendars.
8
+ * @param options - TanStack Query options (enabled, staleTime, retry, …).
9
+ * @returns UseQueryResult with the matching calendars (may be empty).
10
+ */
11
+ export declare function useListFiscalCalendars(fiscalYear?: number, options?: BaseQueryOptions): UseQueryResult<FiscalCalendar[], Error>;
12
+ //# sourceMappingURL=useListFiscalCalendars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useListFiscalCalendars.d.ts","sourceRoot":"","sources":["../../src/hooks/useListFiscalCalendars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,UAAU,CAAC,EAAE,MAAM,EACnB,OAAO,GAAE,gBAAqB,GAC7B,cAAc,CAAC,cAAc,EAAE,EAAE,KAAK,CAAC,CAYzC"}
@@ -0,0 +1,12 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { HolidayCalendar } from '@bluecopa/core';
3
+ import { BaseQueryOptions } from '../types';
4
+ /**
5
+ * Lists holiday calendars in the caller's workspace.
6
+ *
7
+ * @param year - Optional year filter; omit to list all calendars.
8
+ * @param options - TanStack Query options.
9
+ * @returns UseQueryResult with the matching calendars (may be empty).
10
+ */
11
+ export declare function useListHolidayCalendars(year?: number, options?: BaseQueryOptions): UseQueryResult<HolidayCalendar[], Error>;
12
+ //# sourceMappingURL=useListHolidayCalendars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useListHolidayCalendars.d.ts","sourceRoot":"","sources":["../../src/hooks/useListHolidayCalendars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAW,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,CAAC,EAAE,MAAM,EACb,OAAO,GAAE,gBAAqB,GAC7B,cAAc,CAAC,eAAe,EAAE,EAAE,KAAK,CAAC,CAY1C"}
@@ -0,0 +1,13 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { Holiday } from '@bluecopa/core';
3
+ import { BaseQueryOptions } from '../types';
4
+ /**
5
+ * Returns only the inline materialised holidays (WEEKEND + HOLIDAY) for a
6
+ * given holiday calendar, sorted by date. Lighter than getHolidayCalendar
7
+ * when only the day list is needed (e.g. a month/grid view).
8
+ *
9
+ * @param id - The holiday calendar id (null/undefined disables the query).
10
+ * @param options - TanStack Query options.
11
+ */
12
+ export declare function useListHolidays(id: string | null | undefined, options?: BaseQueryOptions): UseQueryResult<Holiday[], Error>;
13
+ //# sourceMappingURL=useListHolidays.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useListHolidays.d.ts","sourceRoot":"","sources":["../../src/hooks/useListHolidays.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAW,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7B,OAAO,GAAE,gBAAqB,GAC7B,cAAc,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC,CAkBlC"}
@@ -0,0 +1,9 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { InboxItemType } from '@bluecopa/core';
3
+ /**
4
+ * Lists inbox item types (InboxItem V2, PRD-3399).
5
+ * @param options - Query options (enabled, staleTime, ...)
6
+ * @returns UseQueryResult with the list of inbox item types
7
+ */
8
+ export declare function useListInboxTypes(options?: {}): UseQueryResult<InboxItemType[], Error>;
9
+ //# sourceMappingURL=useListInboxTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useListInboxTypes.d.ts","sourceRoot":"","sources":["../../src/hooks/useListInboxTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,KAAK,GACX,cAAc,CAAC,aAAa,EAAE,EAAE,KAAK,CAAC,CAQxC"}
@@ -0,0 +1,10 @@
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { ListMyInboxItemsParams, PageInboxItemWithReceipt } from '@bluecopa/core';
3
+ /**
4
+ * Lists the current user's inbox items, paged with receipts (InboxItem V2, PRD-3399).
5
+ * @param params - Optional filters: status[], typeKey, dueBefore, page, perPage
6
+ * @param options - Query options
7
+ * @returns UseQueryResult with a page of inbox items + receipts
8
+ */
9
+ export declare function useListMyInboxItems(params?: ListMyInboxItemsParams, options?: {}): UseQueryResult<PageInboxItemWithReceipt, Error>;
10
+ //# sourceMappingURL=useListMyInboxItems.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useListMyInboxItems.d.ts","sourceRoot":"","sources":["../../src/hooks/useListMyInboxItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;AAExB;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,GAAE,sBAA2B,EACnC,OAAO,KAAK,GACX,cAAc,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAgBjD"}
@@ -0,0 +1,9 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { MarkInboxItemsRequest } from '@bluecopa/core';
3
+ /**
4
+ * Marks inbox items as read for the current user (InboxItem V2, PRD-3399).
5
+ * @param options - Mutation options
6
+ * @returns useMutation for marking items read
7
+ */
8
+ export declare function useMarkInboxItemsRead(options?: {}): UseMutationResult<void, Error, MarkInboxItemsRequest>;
9
+ //# sourceMappingURL=useMarkInboxItemsRead.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMarkInboxItemsRead.d.ts","sourceRoot":"","sources":["../../src/hooks/useMarkInboxItemsRead.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE5D;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,KAAK,GACX,iBAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,qBAAqB,CAAC,CAOvD"}
@@ -0,0 +1,9 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { MarkInboxItemsRequest } from '@bluecopa/core';
3
+ /**
4
+ * Marks inbox items as unread for the current user (InboxItem V2, PRD-3399).
5
+ * @param options - Mutation options
6
+ * @returns useMutation for marking items unread
7
+ */
8
+ export declare function useMarkInboxItemsUnread(options?: {}): UseMutationResult<void, Error, MarkInboxItemsRequest>;
9
+ //# sourceMappingURL=useMarkInboxItemsUnread.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMarkInboxItemsUnread.d.ts","sourceRoot":"","sources":["../../src/hooks/useMarkInboxItemsUnread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE5D;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,KAAK,GACX,iBAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,qBAAqB,CAAC,CAOvD"}
@@ -1 +1 @@
1
- {"version":3,"file":"useMetric.d.ts","sourceRoot":"","sources":["../../src/hooks/useMetric.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,OAAO,GAAE,gBAAqB,GAC7B,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,CA2B5B"}
1
+ {"version":3,"file":"useMetric.d.ts","sourceRoot":"","sources":["../../src/hooks/useMetric.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,OAAO,GAAE,gBAAqB,GAC7B,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,CA6B5B"}
@@ -0,0 +1,14 @@
1
+ import { UseMutationResult } from '@tanstack/react-query';
2
+ import { InboxItemV2, ReassignInboxItemRequest } from '@bluecopa/core';
3
+ export interface ReassignInboxItemVariables {
4
+ id: string;
5
+ data: ReassignInboxItemRequest;
6
+ }
7
+ /**
8
+ * Reassigns an inbox item to another assignee (ACTIONABLE/task kind).
9
+ * InboxItem V2, PRD-3399.
10
+ * @param options - Mutation options
11
+ * @returns useMutation taking { id, data: { assigneeType, assigneeId } }
12
+ */
13
+ export declare function useReassignInboxItem(options?: {}): UseMutationResult<InboxItemV2, Error, ReassignInboxItemVariables>;
14
+ //# sourceMappingURL=useReassignInboxItem.d.ts.map