@burdenoff/microfe-govcitizenhub 2026.1110.1 → 2026.1110.2

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.
@@ -1,7 +1,7 @@
1
- import { govQuery as e, page as t, useGovAddCaseNote as n, useGovAddDocument as r, useGovAgencies as i, useGovAgency as a, useGovApplication as o, useGovApplicationSlaSummary as s, useGovApplications as c, useGovApplicationsByService as l, useGovArchiveAgency as u, useGovAttachPermitFile as d, useGovCreateAgency as f, useGovCreateApplication as p, useGovCreatePayment as m, useGovCreateService as h, useGovDashboardSummary as g, useGovGrievance as _, useGovGrievances as v, useGovIssuePermit as y, useGovMarkPaymentPaid as b, useGovMyApplications as x, useGovMyGrievances as S, useGovPayments as C, useGovPermitPdf as w, useGovPermits as T, useGovRefundPayment as E, useGovReplyToMyApplication as D, useGovReportGrievance as O, useGovReviewDocument as k, useGovRevokePermit as A, useGovService as j, useGovServices as M, useGovSubmitApplication as N, useGovTransitionApplication as P, useGovTransitionGrievance as F, useGovTransitionService as I, useGovUpdateAgency as L, useGovUpdateApplication as R, useGovUpdateGrievance as z, useGovUpdateService as B, useGovVerifyPermit as V } from "./useGovApi.js";
2
- import { useGovAdminLevelPresets as H, useGovAdminLevels as U, useGovBudget as W, useGovBudgetExecution as G, useGovBudgets as K, useGovCloseConsultation as q, useGovConsultationResults as J, useGovConsultations as Y, useGovCreateAdminLevel as X, useGovCreateBudget as Z, useGovCreateConsultation as Q, useGovCreateDataset as $, useGovCreateElection as ee, useGovCreateIndicator as te, useGovCreateJurisdiction as ne, useGovCreateJurisdictionEvent as re, useGovCreateOfficial as ie, useGovCreateOfficialCommitment as ae, useGovCreateProject as oe, useGovCreateProjectMilestone as se, useGovCreatePublicAsset as ce, useGovDataChangeProposals as le, useGovDataset as ue, useGovDatasets as de, useGovDeleteAdminLevel as fe, useGovDeleteBudgetLine as pe, useGovDeleteConsultation as me, useGovDeleteDataset as he, useGovDeleteElection as ge, useGovDeleteIndicator as _e, useGovDeleteIndicatorValue as ve, useGovDeleteJurisdictionEvent as ye, useGovDeleteOfficial as be, useGovDeleteOfficialCommitment as xe, useGovDeleteProjectMilestone as Se, useGovDeletePublicAsset as Ce, useGovElection as we, useGovElections as Te, useGovFollowJurisdiction as Ee, useGovIndicatorSeries as De, useGovIndicatorValues as Oe, useGovIndicators as ke, useGovJurisdictionBenchmark as Ae, useGovJurisdictionEvents as je, useGovJurisdictionGrievanceInsights as Me, useGovJurisdictionOverview as Ne, useGovJurisdictionServicePerformance as Pe, useGovJurisdictionTree as Fe, useGovJurisdictions as Ie, useGovMyConsultationResponse as Le, useGovMyDataChangeProposals as Re, useGovMyFollowedJurisdictions as ze, useGovOfficial as Be, useGovOfficials as Ve, useGovOpenConsultation as He, useGovProject as Ue, useGovProjects as We, useGovPublicAssetSummary as Ge, useGovPublicAssets as Ke, useGovPublishBudget as qe, useGovPublishConsultationResults as Je, useGovPublishDataset as Ye, useGovRecordDatasetDownload as Xe, useGovRecordElectionResults as Ze, useGovRecordIndicatorValue as Qe, useGovReviewDataChangeProposal as $e, useGovSeedAdminLevels as et, useGovSeedIndicatorCatalog as tt, useGovSubmitConsultationResponse as nt, useGovSubmitDataChangeProposal as rt, useGovUnfollowJurisdiction as it, useGovUpdateAdminLevel as at, useGovUpdateBudget as ot, useGovUpdateConsultation as st, useGovUpdateDataset as ct, useGovUpdateElection as lt, useGovUpdateIndicator as ut, useGovUpdateIndicatorValue as dt, useGovUpdateJurisdictionEvent as ft, useGovUpdateOfficial as pt, useGovUpdateOfficialCommitment as mt, useGovUpdateProject as ht, useGovUpdateProjectMilestone as gt, useGovUpdateProjectStatus as _t, useGovUpdatePublicAsset as vt, useGovUpsertBudgetLines as yt, useGovWithdrawDataChangeProposal as bt } from "./useIntelligenceApi.js";
3
- import { useCursorPager as xt } from "./useCursorPager.js";
4
- import { FILE_FOLDERS as St, uploadFileToFiles as Ct, useFileUrl as wt } from "./useFiles.js";
5
- import { useGovCitizenHubAnalytics as Tt } from "./useGovCitizenHubAnalytics.js";
6
- import { useIsMobileViewport as Et } from "./useIsMobileViewport.js";
7
- export { St as FILE_FOLDERS, e as govQuery, t as page, Ct as uploadFileToFiles, xt as useCursorPager, wt as useFileUrl, n as useGovAddCaseNote, r as useGovAddDocument, H as useGovAdminLevelPresets, U as useGovAdminLevels, i as useGovAgencies, a as useGovAgency, o as useGovApplication, s as useGovApplicationSlaSummary, c as useGovApplications, l as useGovApplicationsByService, u as useGovArchiveAgency, d as useGovAttachPermitFile, W as useGovBudget, G as useGovBudgetExecution, K as useGovBudgets, Tt as useGovCitizenHubAnalytics, q as useGovCloseConsultation, J as useGovConsultationResults, Y as useGovConsultations, X as useGovCreateAdminLevel, f as useGovCreateAgency, p as useGovCreateApplication, Z as useGovCreateBudget, Q as useGovCreateConsultation, $ as useGovCreateDataset, ee as useGovCreateElection, te as useGovCreateIndicator, ne as useGovCreateJurisdiction, re as useGovCreateJurisdictionEvent, ie as useGovCreateOfficial, ae as useGovCreateOfficialCommitment, m as useGovCreatePayment, oe as useGovCreateProject, se as useGovCreateProjectMilestone, ce as useGovCreatePublicAsset, h as useGovCreateService, g as useGovDashboardSummary, le as useGovDataChangeProposals, ue as useGovDataset, de as useGovDatasets, fe as useGovDeleteAdminLevel, pe as useGovDeleteBudgetLine, me as useGovDeleteConsultation, he as useGovDeleteDataset, ge as useGovDeleteElection, _e as useGovDeleteIndicator, ve as useGovDeleteIndicatorValue, ye as useGovDeleteJurisdictionEvent, be as useGovDeleteOfficial, xe as useGovDeleteOfficialCommitment, Se as useGovDeleteProjectMilestone, Ce as useGovDeletePublicAsset, we as useGovElection, Te as useGovElections, Ee as useGovFollowJurisdiction, _ as useGovGrievance, v as useGovGrievances, De as useGovIndicatorSeries, Oe as useGovIndicatorValues, ke as useGovIndicators, y as useGovIssuePermit, Ae as useGovJurisdictionBenchmark, je as useGovJurisdictionEvents, Me as useGovJurisdictionGrievanceInsights, Ne as useGovJurisdictionOverview, Pe as useGovJurisdictionServicePerformance, Fe as useGovJurisdictionTree, Ie as useGovJurisdictions, b as useGovMarkPaymentPaid, x as useGovMyApplications, Le as useGovMyConsultationResponse, Re as useGovMyDataChangeProposals, ze as useGovMyFollowedJurisdictions, S as useGovMyGrievances, Be as useGovOfficial, Ve as useGovOfficials, He as useGovOpenConsultation, C as useGovPayments, w as useGovPermitPdf, T as useGovPermits, Ue as useGovProject, We as useGovProjects, Ge as useGovPublicAssetSummary, Ke as useGovPublicAssets, qe as useGovPublishBudget, Je as useGovPublishConsultationResults, Ye as useGovPublishDataset, Xe as useGovRecordDatasetDownload, Ze as useGovRecordElectionResults, Qe as useGovRecordIndicatorValue, E as useGovRefundPayment, D as useGovReplyToMyApplication, O as useGovReportGrievance, $e as useGovReviewDataChangeProposal, k as useGovReviewDocument, A as useGovRevokePermit, et as useGovSeedAdminLevels, tt as useGovSeedIndicatorCatalog, j as useGovService, M as useGovServices, N as useGovSubmitApplication, nt as useGovSubmitConsultationResponse, rt as useGovSubmitDataChangeProposal, P as useGovTransitionApplication, F as useGovTransitionGrievance, I as useGovTransitionService, it as useGovUnfollowJurisdiction, at as useGovUpdateAdminLevel, L as useGovUpdateAgency, R as useGovUpdateApplication, ot as useGovUpdateBudget, st as useGovUpdateConsultation, ct as useGovUpdateDataset, lt as useGovUpdateElection, z as useGovUpdateGrievance, ut as useGovUpdateIndicator, dt as useGovUpdateIndicatorValue, ft as useGovUpdateJurisdictionEvent, pt as useGovUpdateOfficial, mt as useGovUpdateOfficialCommitment, ht as useGovUpdateProject, gt as useGovUpdateProjectMilestone, _t as useGovUpdateProjectStatus, vt as useGovUpdatePublicAsset, B as useGovUpdateService, yt as useGovUpsertBudgetLines, V as useGovVerifyPermit, bt as useGovWithdrawDataChangeProposal, Et as useIsMobileViewport };
1
+ import { govQuery as e, page as t, useGovAddCaseNote as n, useGovAddDocument as r, useGovAgencies as i, useGovAgency as a, useGovApplication as o, useGovApplicationSlaSummary as s, useGovApplications as c, useGovApplicationsByService as l, useGovArchiveAgency as u, useGovAttachPermitFile as d, useGovCreateAgency as f, useGovCreateApplication as p, useGovCreatePayment as m, useGovCreateService as h, useGovDashboardSummary as g, useGovGrievance as _, useGovGrievances as v, useGovIssuePermit as y, useGovMarkPaymentPaid as b, useGovMyApplications as x, useGovMyGrievances as S, useGovPayments as C, useGovPermitPdf as w, useGovPermits as T, useGovRefundPayment as E, useGovReplyToMyApplication as D, useGovReportGrievance as O, useGovReviewDocument as k, useGovRevokePermit as A, useGovService as j, useGovServices as M, useGovSlaSummaryByDesk as N, useGovSlaSummaryByRegion as P, useGovSubmitApplication as F, useGovTransitionApplication as I, useGovTransitionGrievance as L, useGovTransitionService as R, useGovUpdateAgency as z, useGovUpdateApplication as B, useGovUpdateGrievance as V, useGovUpdateService as H, useGovVerifyPermit as U } from "./useGovApi.js";
2
+ import { useGovAdminLevelPresets as W, useGovAdminLevels as G, useGovBudget as K, useGovBudgetExecution as q, useGovBudgets as J, useGovCloseConsultation as Y, useGovConsultationResults as X, useGovConsultations as Z, useGovCreateAdminLevel as Q, useGovCreateBudget as $, useGovCreateConsultation as ee, useGovCreateDataset as te, useGovCreateElection as ne, useGovCreateIndicator as re, useGovCreateJurisdiction as ie, useGovCreateJurisdictionEvent as ae, useGovCreateOfficial as oe, useGovCreateOfficialCommitment as se, useGovCreateProject as ce, useGovCreateProjectMilestone as le, useGovCreatePublicAsset as ue, useGovDataChangeProposals as de, useGovDataset as fe, useGovDatasets as pe, useGovDeleteAdminLevel as me, useGovDeleteBudgetLine as he, useGovDeleteConsultation as ge, useGovDeleteDataset as _e, useGovDeleteElection as ve, useGovDeleteIndicator as ye, useGovDeleteIndicatorValue as be, useGovDeleteJurisdictionEvent as xe, useGovDeleteOfficial as Se, useGovDeleteOfficialCommitment as Ce, useGovDeleteProjectMilestone as we, useGovDeletePublicAsset as Te, useGovElection as Ee, useGovElections as De, useGovFollowJurisdiction as Oe, useGovIndicatorSeries as ke, useGovIndicatorValues as Ae, useGovIndicators as je, useGovJurisdictionBenchmark as Me, useGovJurisdictionEvents as Ne, useGovJurisdictionGrievanceInsights as Pe, useGovJurisdictionOverview as Fe, useGovJurisdictionServicePerformance as Ie, useGovJurisdictionTree as Le, useGovJurisdictions as Re, useGovMyConsultationResponse as ze, useGovMyDataChangeProposals as Be, useGovMyFollowedJurisdictions as Ve, useGovOfficial as He, useGovOfficials as Ue, useGovOpenConsultation as We, useGovProject as Ge, useGovProjects as Ke, useGovPublicAssetSummary as qe, useGovPublicAssets as Je, useGovPublishBudget as Ye, useGovPublishConsultationResults as Xe, useGovPublishDataset as Ze, useGovRecordDatasetDownload as Qe, useGovRecordElectionResults as $e, useGovRecordIndicatorValue as et, useGovReviewDataChangeProposal as tt, useGovSeedAdminLevels as nt, useGovSeedIndicatorCatalog as rt, useGovSubmitConsultationResponse as it, useGovSubmitDataChangeProposal as at, useGovUnfollowJurisdiction as ot, useGovUpdateAdminLevel as st, useGovUpdateBudget as ct, useGovUpdateConsultation as lt, useGovUpdateDataset as ut, useGovUpdateElection as dt, useGovUpdateIndicator as ft, useGovUpdateIndicatorValue as pt, useGovUpdateJurisdictionEvent as mt, useGovUpdateOfficial as ht, useGovUpdateOfficialCommitment as gt, useGovUpdateProject as _t, useGovUpdateProjectMilestone as vt, useGovUpdateProjectStatus as yt, useGovUpdatePublicAsset as bt, useGovUpsertBudgetLines as xt, useGovWithdrawDataChangeProposal as St } from "./useIntelligenceApi.js";
3
+ import { useCursorPager as Ct } from "./useCursorPager.js";
4
+ import { FILE_FOLDERS as wt, uploadFileToFiles as Tt, useFileUrl as Et } from "./useFiles.js";
5
+ import { useGovCitizenHubAnalytics as Dt } from "./useGovCitizenHubAnalytics.js";
6
+ import { useIsMobileViewport as Ot } from "./useIsMobileViewport.js";
7
+ export { wt as FILE_FOLDERS, e as govQuery, t as page, Tt as uploadFileToFiles, Ct as useCursorPager, Et as useFileUrl, n as useGovAddCaseNote, r as useGovAddDocument, W as useGovAdminLevelPresets, G as useGovAdminLevels, i as useGovAgencies, a as useGovAgency, o as useGovApplication, s as useGovApplicationSlaSummary, c as useGovApplications, l as useGovApplicationsByService, u as useGovArchiveAgency, d as useGovAttachPermitFile, K as useGovBudget, q as useGovBudgetExecution, J as useGovBudgets, Dt as useGovCitizenHubAnalytics, Y as useGovCloseConsultation, X as useGovConsultationResults, Z as useGovConsultations, Q as useGovCreateAdminLevel, f as useGovCreateAgency, p as useGovCreateApplication, $ as useGovCreateBudget, ee as useGovCreateConsultation, te as useGovCreateDataset, ne as useGovCreateElection, re as useGovCreateIndicator, ie as useGovCreateJurisdiction, ae as useGovCreateJurisdictionEvent, oe as useGovCreateOfficial, se as useGovCreateOfficialCommitment, m as useGovCreatePayment, ce as useGovCreateProject, le as useGovCreateProjectMilestone, ue as useGovCreatePublicAsset, h as useGovCreateService, g as useGovDashboardSummary, de as useGovDataChangeProposals, fe as useGovDataset, pe as useGovDatasets, me as useGovDeleteAdminLevel, he as useGovDeleteBudgetLine, ge as useGovDeleteConsultation, _e as useGovDeleteDataset, ve as useGovDeleteElection, ye as useGovDeleteIndicator, be as useGovDeleteIndicatorValue, xe as useGovDeleteJurisdictionEvent, Se as useGovDeleteOfficial, Ce as useGovDeleteOfficialCommitment, we as useGovDeleteProjectMilestone, Te as useGovDeletePublicAsset, Ee as useGovElection, De as useGovElections, Oe as useGovFollowJurisdiction, _ as useGovGrievance, v as useGovGrievances, ke as useGovIndicatorSeries, Ae as useGovIndicatorValues, je as useGovIndicators, y as useGovIssuePermit, Me as useGovJurisdictionBenchmark, Ne as useGovJurisdictionEvents, Pe as useGovJurisdictionGrievanceInsights, Fe as useGovJurisdictionOverview, Ie as useGovJurisdictionServicePerformance, Le as useGovJurisdictionTree, Re as useGovJurisdictions, b as useGovMarkPaymentPaid, x as useGovMyApplications, ze as useGovMyConsultationResponse, Be as useGovMyDataChangeProposals, Ve as useGovMyFollowedJurisdictions, S as useGovMyGrievances, He as useGovOfficial, Ue as useGovOfficials, We as useGovOpenConsultation, C as useGovPayments, w as useGovPermitPdf, T as useGovPermits, Ge as useGovProject, Ke as useGovProjects, qe as useGovPublicAssetSummary, Je as useGovPublicAssets, Ye as useGovPublishBudget, Xe as useGovPublishConsultationResults, Ze as useGovPublishDataset, Qe as useGovRecordDatasetDownload, $e as useGovRecordElectionResults, et as useGovRecordIndicatorValue, E as useGovRefundPayment, D as useGovReplyToMyApplication, O as useGovReportGrievance, tt as useGovReviewDataChangeProposal, k as useGovReviewDocument, A as useGovRevokePermit, nt as useGovSeedAdminLevels, rt as useGovSeedIndicatorCatalog, j as useGovService, M as useGovServices, N as useGovSlaSummaryByDesk, P as useGovSlaSummaryByRegion, F as useGovSubmitApplication, it as useGovSubmitConsultationResponse, at as useGovSubmitDataChangeProposal, I as useGovTransitionApplication, L as useGovTransitionGrievance, R as useGovTransitionService, ot as useGovUnfollowJurisdiction, st as useGovUpdateAdminLevel, z as useGovUpdateAgency, B as useGovUpdateApplication, ct as useGovUpdateBudget, lt as useGovUpdateConsultation, ut as useGovUpdateDataset, dt as useGovUpdateElection, V as useGovUpdateGrievance, ft as useGovUpdateIndicator, pt as useGovUpdateIndicatorValue, mt as useGovUpdateJurisdictionEvent, ht as useGovUpdateOfficial, gt as useGovUpdateOfficialCommitment, _t as useGovUpdateProject, vt as useGovUpdateProjectMilestone, yt as useGovUpdateProjectStatus, bt as useGovUpdatePublicAsset, H as useGovUpdateService, xt as useGovUpsertBudgetLines, U as useGovVerifyPermit, St as useGovWithdrawDataChangeProposal, Ot as useIsMobileViewport };
@@ -1,4 +1,4 @@
1
- import { GovConnection, GovAgency, GovService, GovServiceCategory, GovServiceStatus, GovApplication, GovApplicationStatus, GovDocument, GovDocumentStatus, GovCaseNote, GovPermit, GovPermitStatus, GovPayment, GovPaymentStatus, GovGrievance, GovGrievanceStatus, GovCreateAgencyInput, GovUpdateAgencyInput, GovCreateServiceInput, GovUpdateServiceInput, GovCreateApplicationInput, GovUpdateApplicationInput, GovAddDocumentInput, GovAddCaseNoteInput, GovCreatePaymentInput, GovIssuePermitInput, GovReportGrievanceInput, GovUpdateGrievanceInput, GovDashboardSummary, GovApplicationSlaSummary, GovServiceApplicationCount, GovDeskApplicationCount, PaginationInput } from '../types';
1
+ import { GovConnection, GovAgency, GovService, GovServiceCategory, GovServiceStatus, GovApplication, GovApplicationStatus, GovDocument, GovDocumentStatus, GovCaseNote, GovPermit, GovPermitStatus, GovPayment, GovPaymentStatus, GovGrievance, GovGrievanceStatus, GovCreateAgencyInput, GovUpdateAgencyInput, GovCreateServiceInput, GovUpdateServiceInput, GovCreateApplicationInput, GovUpdateApplicationInput, GovAddDocumentInput, GovAddCaseNoteInput, GovCreatePaymentInput, GovIssuePermitInput, GovReportGrievanceInput, GovUpdateGrievanceInput, GovDashboardSummary, GovApplicationSlaSummary, GovServiceApplicationCount, GovDeskApplicationCount, GovDeskSlaSummary, GovRegionSlaSummary, PaginationInput } from '../types';
2
2
 
3
3
  export declare const govQuery: <TData>(query: string, variables: Record<string, unknown>, baseUrl?: string) => Promise<TData>;
4
4
  /** Build a clean PaginationInput, dropping nullish cursor so the svc never sees `cursor: null`. */
@@ -14,6 +14,21 @@ export declare const useGovApplicationSlaSummary: () => import('@tanstack/react-
14
14
  export declare const useGovApplicationsByService: () => import('@tanstack/react-query').UseQueryResult<GovServiceApplicationCount[], Error>;
15
15
  /** Reads `govApplicationsByDesk` — corpus-wide application volume per assigned officer. */
16
16
  export declare const useGovApplicationsByDesk: () => import('@tanstack/react-query').UseQueryResult<GovDeskApplicationCount[], Error>;
17
+ /**
18
+ * Reads `govSlaSummaryByDesk` — SLA compliance per assigned officer across
19
+ * non-terminal applications, with `compliancePercent` withheld (null +
20
+ * `isSuppressed`) below the svc's minimum group size. Officer ids are resolved
21
+ * to names by the desk tile via the shared `useActorProfiles` directory.
22
+ */
23
+ export declare const useGovSlaSummaryByDesk: () => import('@tanstack/react-query').UseQueryResult<GovDeskSlaSummary[], Error>;
24
+ /**
25
+ * Reads `govSlaSummaryByRegion` — SLA compliance per administrative region
26
+ * (application → service → agency → jurisdiction), with `compliancePercent`
27
+ * withheld (null + `isSuppressed`) below the svc's minimum group size. Rows
28
+ * whose agencies are only free-text-linked carry a null `regionId` and the
29
+ * label in `regionName`.
30
+ */
31
+ export declare const useGovSlaSummaryByRegion: () => import('@tanstack/react-query').UseQueryResult<GovRegionSlaSummary[], Error>;
17
32
  export interface AgencyFilters {
18
33
  isActive?: boolean;
19
34
  pagination?: PaginationInput;
@@ -1 +1 @@
1
- {"version":3,"file":"useGovApi.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/hooks/useGovApi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,KAAK,EACV,aAAa,EACb,SAAS,EACT,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,wBAAwB,EACxB,0BAA0B,EAC1B,uBAAuB,EACvB,eAAe,EAChB,MAAM,UAAU,CAAC;AAQlB,eAAO,MAAM,QAAQ,GAAU,KAAK,EAClC,OAAO,MAAM,EACb,WAAW,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAClC,UAAU,MAAM,KACf,OAAO,CAAC,KAAK,CAmCf,CAAC;AAwBF,mGAAmG;AACnG,eAAO,MAAM,IAAI,GAAI,IAAI,eAAe,KAAG,eAM1C,CAAC;AAyDF,eAAO,MAAM,sBAAsB,kFA8BlC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,uFAevC,CAAC;AAEF,qFAAqF;AACrF,eAAO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,eAAO,MAAM,yBAAyB;QAK5B,MAAM;YACF,kBAAkB;iBACb,MAAM,GAAG,IAAI;WAgB/B,CAAC"}
1
+ {"version":3,"file":"useGovApi.d.ts","sourceRoot":"","sources":["../../../src/govcitizenhub/hooks/useGovApi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,KAAK,EACV,aAAa,EACb,SAAS,EACT,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,wBAAwB,EACxB,0BAA0B,EAC1B,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACnB,eAAe,EAChB,MAAM,UAAU,CAAC;AAQlB,eAAO,MAAM,QAAQ,GAAU,KAAK,EAClC,OAAO,MAAM,EACb,WAAW,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAClC,UAAU,MAAM,KACf,OAAO,CAAC,KAAK,CAmCf,CAAC;AA0BF,mGAAmG;AACnG,eAAO,MAAM,IAAI,GAAI,IAAI,eAAe,KAAG,eAM1C,CAAC;AAyDF,eAAO,MAAM,sBAAsB,kFA8BlC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,uFAevC,CAAC;AAEF,qFAAqF;AACrF,eAAO,MAAM,2BAA2B,2FAevC,CAAC;AAEF,2FAA2F;AAC3F,eAAO,MAAM,wBAAwB,wFAepC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,kFAwBlC,CAAC;AAEF;;;;;;GA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kBAAkB;iBACb,MAAM,GAAG,IAAI;WAgB/B,CAAC"}
@@ -24,6 +24,8 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
24
24
  applicationSlaSummary: ["govcitizenhub", "application-sla-summary"],
25
25
  applicationsByService: ["govcitizenhub", "applications-by-service"],
26
26
  applicationsByDesk: ["govcitizenhub", "applications-by-desk"],
27
+ slaSummaryByDesk: ["govcitizenhub", "sla-summary-by-desk"],
28
+ slaSummaryByRegion: ["govcitizenhub", "sla-summary-by-region"],
27
29
  agencies: ["govcitizenhub", "agencies"],
28
30
  agency: (e) => [
29
31
  "govcitizenhub",
@@ -94,7 +96,19 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
94
96
  queryKey: l.applicationsByService,
95
97
  queryFn: async () => (await c("query GovApplicationsByService {\n govApplicationsByService { serviceId serviceName count }\n }", {}, t)).govApplicationsByService
96
98
  });
97
- }, w = (t = {}) => {
99
+ }, w = () => {
100
+ let { apiGatewayUrl: t } = e();
101
+ return i({
102
+ queryKey: l.slaSummaryByDesk,
103
+ queryFn: async () => (await c("query GovSlaSummaryByDesk {\n govSlaSummaryByDesk {\n assignedToId\n total\n onTrack\n dueSoon\n overdue\n noDueDate\n compliancePercent\n isSuppressed\n }\n }", {}, t)).govSlaSummaryByDesk
104
+ });
105
+ }, T = () => {
106
+ let { apiGatewayUrl: t } = e();
107
+ return i({
108
+ queryKey: l.slaSummaryByRegion,
109
+ queryFn: async () => (await c("query GovSlaSummaryByRegion {\n govSlaSummaryByRegion {\n regionId\n regionName\n total\n onTrack\n dueSoon\n overdue\n noDueDate\n compliancePercent\n isSuppressed\n }\n }", {}, t)).govSlaSummaryByRegion
110
+ });
111
+ }, E = (t = {}) => {
98
112
  let { apiGatewayUrl: n } = e();
99
113
  return i({
100
114
  queryKey: [...l.agencies, t],
@@ -108,7 +122,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
108
122
  pagination: d(t.pagination ?? { limit: 100 })
109
123
  }, n)).govListAgencies.items
110
124
  });
111
- }, T = (t) => {
125
+ }, D = (t) => {
112
126
  let { apiGatewayUrl: n } = e();
113
127
  return i({
114
128
  queryKey: l.agency(t ?? ""),
@@ -117,7 +131,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
117
131
  govAgency(id: $id) { ${f} services { ${p} } }
118
132
  }`, { id: t }, n)).govAgency
119
133
  });
120
- }, E = () => {
134
+ }, O = () => {
121
135
  let { apiGatewayUrl: t } = e(), n = a();
122
136
  return r({
123
137
  mutationFn: async (e) => (await c(`mutation GovCreateAgency($input: GovCreateAgencyInput!) {
@@ -125,7 +139,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
125
139
  }`, { input: e }, t)).govCreateAgency,
126
140
  onSuccess: () => n.invalidateQueries({ queryKey: l.agencies })
127
141
  });
128
- }, D = () => {
142
+ }, k = () => {
129
143
  let { apiGatewayUrl: t } = e(), n = a();
130
144
  return r({
131
145
  mutationFn: async (e) => (await c(`mutation GovUpdateAgency($id: ID!, $input: GovUpdateAgencyInput!) {
@@ -135,13 +149,13 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
135
149
  n.invalidateQueries({ queryKey: l.agencies }), n.invalidateQueries({ queryKey: l.agency(e.id) });
136
150
  }
137
151
  });
138
- }, O = () => {
152
+ }, A = () => {
139
153
  let { apiGatewayUrl: t } = e(), n = a();
140
154
  return r({
141
155
  mutationFn: async (e) => (await c("mutation GovArchiveAgency($id: ID!) { govArchiveAgency(id: $id) }", { id: e }, t)).govArchiveAgency,
142
156
  onSuccess: () => n.invalidateQueries({ queryKey: l.agencies })
143
157
  });
144
- }, k = (n = {}) => {
158
+ }, j = (n = {}) => {
145
159
  let { apiGatewayUrl: r } = e(), a = t();
146
160
  return i({
147
161
  queryKey: [
@@ -169,7 +183,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
169
183
  pagination: d(n.pagination)
170
184
  }, r)).govListServices
171
185
  });
172
- }, A = (n) => {
186
+ }, M = (n) => {
173
187
  let { apiGatewayUrl: r } = e(), a = t();
174
188
  return i({
175
189
  queryKey: [...l.service(n ?? ""), a],
@@ -180,7 +194,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
180
194
  govService(id: $id) { ${p} agency { ${f} } }
181
195
  }`, { id: n }, r)).govService
182
196
  });
183
- }, j = () => {
197
+ }, N = () => {
184
198
  let { apiGatewayUrl: t } = e(), n = a();
185
199
  return r({
186
200
  mutationFn: async (e) => (await c(`mutation GovCreateService($input: GovCreateServiceInput!) {
@@ -188,7 +202,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
188
202
  }`, { input: e }, t)).govCreateService,
189
203
  onSuccess: () => n.invalidateQueries({ queryKey: l.services })
190
204
  });
191
- }, M = () => {
205
+ }, P = () => {
192
206
  let { apiGatewayUrl: t } = e(), n = a();
193
207
  return r({
194
208
  mutationFn: async (e) => (await c(`mutation GovUpdateService($id: ID!, $input: GovUpdateServiceInput!) {
@@ -198,7 +212,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
198
212
  n.invalidateQueries({ queryKey: l.services }), n.invalidateQueries({ queryKey: l.service(e.id) });
199
213
  }
200
214
  });
201
- }, N = () => {
215
+ }, F = () => {
202
216
  let { apiGatewayUrl: t } = e(), n = a();
203
217
  return r({
204
218
  mutationFn: async (e) => (await c(`mutation GovTransitionService($id: ID!, $status: GovServiceStatus!) {
@@ -208,7 +222,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
208
222
  n.invalidateQueries({ queryKey: l.services }), n.invalidateQueries({ queryKey: l.service(e.id) });
209
223
  }
210
224
  });
211
- }, P = (t = {}, n = {}) => {
225
+ }, I = (t = {}, n = {}) => {
212
226
  let { apiGatewayUrl: r } = e();
213
227
  return i({
214
228
  queryKey: [...l.applications, t],
@@ -226,7 +240,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
226
240
  pagination: d(t.pagination)
227
241
  }, r)).govListApplications
228
242
  });
229
- }, F = (t, n = {}) => {
243
+ }, L = (t, n = {}) => {
230
244
  let { apiGatewayUrl: r } = e();
231
245
  return i({
232
246
  queryKey: [...l.myApplications, t ?? null],
@@ -238,7 +252,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
238
252
  }
239
253
  }`, { pagination: d(t) }, r)).govMyApplications
240
254
  });
241
- }, I = (n) => {
255
+ }, R = (n) => {
242
256
  let { apiGatewayUrl: r } = e(), a = t(), o = a === "citizen" ? "govMyApplication" : "govApplication";
243
257
  return i({
244
258
  queryKey: [...l.application(n ?? ""), a],
@@ -253,7 +267,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
253
267
  }
254
268
  }`, { id: n }, r))[o] ?? null
255
269
  });
256
- }, L = () => {
270
+ }, z = () => {
257
271
  let { apiGatewayUrl: n } = e(), i = a(), o = t() === "citizen" ? "govCreateMyApplication" : "govCreateApplication";
258
272
  return r({
259
273
  mutationFn: async (e) => (await c(`mutation GovCreateApplication($input: GovCreateApplicationInput!) {
@@ -263,7 +277,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
263
277
  i.invalidateQueries({ queryKey: l.applications }), i.invalidateQueries({ queryKey: l.myApplications });
264
278
  }
265
279
  });
266
- }, R = () => {
280
+ }, B = () => {
267
281
  let { apiGatewayUrl: t } = e(), n = a();
268
282
  return r({
269
283
  mutationFn: async (e) => (await c(`mutation GovUpdateApplication($id: ID!, $input: GovUpdateApplicationInput!) {
@@ -273,7 +287,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
273
287
  n.invalidateQueries({ queryKey: l.applications }), n.invalidateQueries({ queryKey: l.myApplications }), n.invalidateQueries({ queryKey: l.application(e.id) });
274
288
  }
275
289
  });
276
- }, z = () => {
290
+ }, ee = () => {
277
291
  let { apiGatewayUrl: n } = e(), i = a(), o = t() === "citizen" ? "govSubmitMyApplication" : "govSubmitApplication";
278
292
  return r({
279
293
  mutationFn: async (e) => (await c(`mutation GovSubmitApplication($id: ID!) {
@@ -283,7 +297,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
283
297
  i.invalidateQueries({ queryKey: l.applications }), i.invalidateQueries({ queryKey: l.myApplications }), i.invalidateQueries({ queryKey: l.application(e.id) });
284
298
  }
285
299
  });
286
- }, B = () => {
300
+ }, V = () => {
287
301
  let { apiGatewayUrl: t } = e(), n = a();
288
302
  return r({
289
303
  mutationFn: async (e) => (await c(`mutation GovTransitionApplication($id: ID!, $status: GovApplicationStatus!, $reason: String) {
@@ -293,7 +307,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
293
307
  n.invalidateQueries({ queryKey: l.applications }), n.invalidateQueries({ queryKey: l.myApplications }), n.invalidateQueries({ queryKey: l.application(e.id) });
294
308
  }
295
309
  });
296
- }, ee = () => {
310
+ }, H = () => {
297
311
  let { apiGatewayUrl: n } = e(), i = a(), o = t() === "citizen" ? "govAddMyDocument" : "govAddDocument";
298
312
  return r({
299
313
  mutationFn: async (e) => (await c(`mutation GovAddDocument($input: GovAddDocumentInput!) {
@@ -303,7 +317,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
303
317
  i.invalidateQueries({ queryKey: l.application(e.applicationId) }), i.invalidateQueries({ queryKey: l.applications }), i.invalidateQueries({ queryKey: l.myApplications });
304
318
  }
305
319
  });
306
- }, V = () => {
320
+ }, U = () => {
307
321
  let { apiGatewayUrl: t } = e(), n = a();
308
322
  return r({
309
323
  mutationFn: async (e) => (await c(`mutation GovReviewDocument($id: ID!, $status: GovDocumentStatus!, $rejectionReason: String) {
@@ -317,7 +331,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
317
331
  n.invalidateQueries({ queryKey: l.application(e.applicationId) });
318
332
  }
319
333
  });
320
- }, H = () => {
334
+ }, W = () => {
321
335
  let { apiGatewayUrl: t } = e(), n = a();
322
336
  return r({
323
337
  mutationFn: async (e) => (await c(`mutation GovAddCaseNote($input: GovAddCaseNoteInput!) {
@@ -327,7 +341,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
327
341
  n.invalidateQueries({ queryKey: l.application(e.applicationId) });
328
342
  }
329
343
  });
330
- }, U = () => {
344
+ }, G = () => {
331
345
  let { apiGatewayUrl: t } = e(), n = a();
332
346
  return r({
333
347
  mutationFn: async (e) => (await c(`mutation GovReplyToMyApplication($applicationId: ID!, $body: String!) {
@@ -337,7 +351,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
337
351
  n.invalidateQueries({ queryKey: l.application(e.applicationId) });
338
352
  }
339
353
  });
340
- }, W = (t = {}, n = {}) => {
354
+ }, K = (t = {}, n = {}) => {
341
355
  let { apiGatewayUrl: r } = e();
342
356
  return i({
343
357
  queryKey: [...l.payments, t],
@@ -354,7 +368,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
354
368
  pagination: d(t.pagination)
355
369
  }, r)).govListPayments
356
370
  });
357
- }, G = () => {
371
+ }, q = () => {
358
372
  let { apiGatewayUrl: t } = e(), n = a();
359
373
  return r({
360
374
  mutationFn: async (e) => (await c(`mutation GovCreatePayment($input: GovCreatePaymentInput!) {
@@ -364,7 +378,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
364
378
  n.invalidateQueries({ queryKey: l.payments }), e.applicationId && n.invalidateQueries({ queryKey: l.application(e.applicationId) });
365
379
  }
366
380
  });
367
- }, K = () => {
381
+ }, J = () => {
368
382
  let { apiGatewayUrl: t } = e(), n = a();
369
383
  return r({
370
384
  mutationFn: async (e) => (await c(`mutation GovMarkPaymentPaid($id: ID!, $providerRef: String) {
@@ -372,7 +386,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
372
386
  }`, e, t)).govMarkPaymentPaid,
373
387
  onSuccess: () => n.invalidateQueries({ queryKey: l.payments })
374
388
  });
375
- }, q = () => {
389
+ }, Y = () => {
376
390
  let { apiGatewayUrl: t } = e(), n = a();
377
391
  return r({
378
392
  mutationFn: async (e) => (await c(`mutation GovRefundPayment($id: ID!) {
@@ -380,7 +394,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
380
394
  }`, { id: e }, t)).govRefundPayment,
381
395
  onSuccess: () => n.invalidateQueries({ queryKey: l.payments })
382
396
  });
383
- }, J = (t = {}) => {
397
+ }, X = (t = {}) => {
384
398
  let { apiGatewayUrl: n } = e();
385
399
  return i({
386
400
  queryKey: [...l.permits, t],
@@ -396,7 +410,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
396
410
  pagination: d(t.pagination)
397
411
  }, n)).govListPermits.items
398
412
  });
399
- }, Y = () => {
413
+ }, Z = () => {
400
414
  let { apiGatewayUrl: t } = e(), n = a();
401
415
  return r({
402
416
  mutationFn: async (e) => (await c(`mutation GovIssuePermit($input: GovIssuePermitInput!) {
@@ -406,7 +420,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
406
420
  n.invalidateQueries({ queryKey: l.permits }), e.applicationId && n.invalidateQueries({ queryKey: l.application(e.applicationId) });
407
421
  }
408
422
  });
409
- }, X = () => {
423
+ }, Q = () => {
410
424
  let { apiGatewayUrl: t } = e(), n = a();
411
425
  return r({
412
426
  mutationFn: async (e) => (await c(`mutation GovRevokePermit($id: ID!, $reason: String) {
@@ -414,10 +428,10 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
414
428
  }`, e, t)).govRevokePermit,
415
429
  onSuccess: () => n.invalidateQueries({ queryKey: l.permits })
416
430
  });
417
- }, Z = () => {
431
+ }, $ = () => {
418
432
  let { apiGatewayUrl: t } = e();
419
433
  return r({ mutationFn: async (e) => (await c("query GovPermitPdf($id: ID!) {\n govPermitPdf(id: $id) { pdfBase64 filename generatedAt }\n }", { id: e }, t)).govPermitPdf });
420
- }, Q = () => {
434
+ }, te = () => {
421
435
  let { apiGatewayUrl: t } = e(), n = a();
422
436
  return r({
423
437
  mutationFn: async (e) => (await c(`mutation GovAttachPermitFile($id: ID!, $fileId: ID!) {
@@ -425,7 +439,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
425
439
  }`, e, t)).govAttachPermitFile,
426
440
  onSuccess: () => n.invalidateQueries({ queryKey: l.permits })
427
441
  });
428
- }, $ = (t) => {
442
+ }, ne = (t) => {
429
443
  let { apiGatewayUrl: n } = e();
430
444
  return i({
431
445
  queryKey: [
@@ -439,7 +453,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
439
453
  govVerifyPermit(verificationCode: $verificationCode) { ${g} }
440
454
  }`, { verificationCode: t }, n)).govVerifyPermit
441
455
  });
442
- }, te = (t = {}, n = {}) => {
456
+ }, re = (t = {}, n = {}) => {
443
457
  let { apiGatewayUrl: r } = e();
444
458
  return i({
445
459
  queryKey: [...l.grievances, t],
@@ -456,7 +470,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
456
470
  pagination: d(t.pagination)
457
471
  }, r)).govListGrievances
458
472
  });
459
- }, ne = (t, n = {}) => {
473
+ }, ie = (t, n = {}) => {
460
474
  let { apiGatewayUrl: r } = e();
461
475
  return i({
462
476
  queryKey: [
@@ -472,7 +486,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
472
486
  }
473
487
  }`, { pagination: d(t) }, r)).govMyGrievances
474
488
  });
475
- }, re = (n) => {
489
+ }, ae = (n) => {
476
490
  let { apiGatewayUrl: r } = e(), a = t(), o = a === "citizen" ? "govMyGrievance" : "govGrievance";
477
491
  return i({
478
492
  queryKey: [...l.grievance(n ?? ""), a],
@@ -481,7 +495,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
481
495
  ${o}(id: $id) { ${y} }
482
496
  }`, { id: n }, r))[o] ?? null
483
497
  });
484
- }, ie = () => {
498
+ }, oe = () => {
485
499
  let { apiGatewayUrl: n } = e(), i = a(), o = t() === "citizen" ? "govReportMyGrievance" : "govReportGrievance";
486
500
  return r({
487
501
  mutationFn: async (e) => (await c(`mutation GovReportGrievance($input: GovReportGrievanceInput!) {
@@ -489,7 +503,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
489
503
  }`, { input: e }, n))[o],
490
504
  onSuccess: () => i.invalidateQueries({ queryKey: l.grievances })
491
505
  });
492
- }, ae = () => {
506
+ }, se = () => {
493
507
  let { apiGatewayUrl: t } = e(), n = a();
494
508
  return r({
495
509
  mutationFn: async (e) => (await c(`mutation GovUpdateGrievance($id: ID!, $input: GovUpdateGrievanceInput!) {
@@ -499,7 +513,7 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
499
513
  n.invalidateQueries({ queryKey: l.grievances }), n.invalidateQueries({ queryKey: l.grievance(e.id) });
500
514
  }
501
515
  });
502
- }, oe = () => {
516
+ }, ce = () => {
503
517
  let { apiGatewayUrl: t } = e(), n = a();
504
518
  return r({
505
519
  mutationFn: async (e) => (await c(`mutation GovTransitionGrievance($id: ID!, $status: GovGrievanceStatus!, $resolution: String) {
@@ -510,6 +524,6 @@ var s = (e) => /^\s*mutation\b/.test(e), c = async (e, t, r) => {
510
524
  }
511
525
  });
512
526
  };
513
- export { c as govQuery, d as page, H as useGovAddCaseNote, ee as useGovAddDocument, w as useGovAgencies, T as useGovAgency, I as useGovApplication, S as useGovApplicationSlaSummary, P as useGovApplications, C as useGovApplicationsByService, O as useGovArchiveAgency, Q as useGovAttachPermitFile, E as useGovCreateAgency, L as useGovCreateApplication, G as useGovCreatePayment, j as useGovCreateService, x as useGovDashboardSummary, re as useGovGrievance, te as useGovGrievances, Y as useGovIssuePermit, K as useGovMarkPaymentPaid, F as useGovMyApplications, ne as useGovMyGrievances, W as useGovPayments, Z as useGovPermitPdf, J as useGovPermits, q as useGovRefundPayment, U as useGovReplyToMyApplication, ie as useGovReportGrievance, V as useGovReviewDocument, X as useGovRevokePermit, A as useGovService, k as useGovServices, z as useGovSubmitApplication, B as useGovTransitionApplication, oe as useGovTransitionGrievance, N as useGovTransitionService, D as useGovUpdateAgency, R as useGovUpdateApplication, ae as useGovUpdateGrievance, M as useGovUpdateService, $ as useGovVerifyPermit };
527
+ export { c as govQuery, d as page, W as useGovAddCaseNote, H as useGovAddDocument, E as useGovAgencies, D as useGovAgency, R as useGovApplication, S as useGovApplicationSlaSummary, I as useGovApplications, C as useGovApplicationsByService, A as useGovArchiveAgency, te as useGovAttachPermitFile, O as useGovCreateAgency, z as useGovCreateApplication, q as useGovCreatePayment, N as useGovCreateService, x as useGovDashboardSummary, ae as useGovGrievance, re as useGovGrievances, Z as useGovIssuePermit, J as useGovMarkPaymentPaid, L as useGovMyApplications, ie as useGovMyGrievances, K as useGovPayments, $ as useGovPermitPdf, X as useGovPermits, Y as useGovRefundPayment, G as useGovReplyToMyApplication, oe as useGovReportGrievance, U as useGovReviewDocument, Q as useGovRevokePermit, M as useGovService, j as useGovServices, w as useGovSlaSummaryByDesk, T as useGovSlaSummaryByRegion, ee as useGovSubmitApplication, V as useGovTransitionApplication, ce as useGovTransitionGrievance, F as useGovTransitionService, k as useGovUpdateAgency, B as useGovUpdateApplication, se as useGovUpdateGrievance, P as useGovUpdateService, ne as useGovVerifyPermit };
514
528
 
515
529
  //# sourceMappingURL=useGovApi.js.map