@burdenoff/microfe-housingvista 2026.1102.1 → 2026.1102.3

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 (72) hide show
  1. package/dist/housingvista/components/ServiceCategoryIcon.d.ts +13 -0
  2. package/dist/housingvista/components/ServiceCategoryIcon.d.ts.map +1 -0
  3. package/dist/housingvista/components/ServiceCategoryIcon.js +23 -0
  4. package/dist/housingvista/components/ServiceCategoryIcon.js.map +1 -0
  5. package/dist/housingvista/hooks/index.d.ts +12 -14
  6. package/dist/housingvista/hooks/index.d.ts.map +1 -1
  7. package/dist/housingvista/hooks/index.js +288 -280
  8. package/dist/housingvista/hooks/index.js.map +1 -1
  9. package/dist/housingvista/pages/amc/AMCManagementPage.d.ts.map +1 -1
  10. package/dist/housingvista/pages/amc/AMCManagementPage.js +205 -194
  11. package/dist/housingvista/pages/amc/AMCManagementPage.js.map +1 -1
  12. package/dist/housingvista/pages/amc/AmcContractFormDialog.d.ts.map +1 -1
  13. package/dist/housingvista/pages/amc/AmcContractFormDialog.js +95 -90
  14. package/dist/housingvista/pages/amc/AmcContractFormDialog.js.map +1 -1
  15. package/dist/housingvista/pages/amc/amcDates.d.ts +2 -0
  16. package/dist/housingvista/pages/amc/amcDates.d.ts.map +1 -1
  17. package/dist/housingvista/pages/amc/amcDates.js +4 -1
  18. package/dist/housingvista/pages/amc/amcDates.js.map +1 -1
  19. package/dist/housingvista/pages/amc/amcStats.d.ts +16 -0
  20. package/dist/housingvista/pages/amc/amcStats.d.ts.map +1 -0
  21. package/dist/housingvista/pages/amc/amcStats.js +18 -0
  22. package/dist/housingvista/pages/amc/amcStats.js.map +1 -0
  23. package/dist/housingvista/pages/amc/useAmcManagement.d.ts +6 -1
  24. package/dist/housingvista/pages/amc/useAmcManagement.d.ts.map +1 -1
  25. package/dist/housingvista/pages/amc/useAmcManagement.js +28 -25
  26. package/dist/housingvista/pages/amc/useAmcManagement.js.map +1 -1
  27. package/dist/housingvista/pages/analytics/AnalyticsPage.d.ts.map +1 -1
  28. package/dist/housingvista/pages/analytics/AnalyticsPage.js +109 -105
  29. package/dist/housingvista/pages/analytics/AnalyticsPage.js.map +1 -1
  30. package/dist/housingvista/pages/investments/InvestmentsPage.d.ts.map +1 -1
  31. package/dist/housingvista/pages/investments/InvestmentsPage.js +6 -2
  32. package/dist/housingvista/pages/investments/InvestmentsPage.js.map +1 -1
  33. package/dist/housingvista/pages/legal/LegalPage.d.ts.map +1 -1
  34. package/dist/housingvista/pages/legal/LegalPage.js +87 -110
  35. package/dist/housingvista/pages/legal/LegalPage.js.map +1 -1
  36. package/dist/housingvista/pages/marketplace/MarketplacePage.d.ts.map +1 -1
  37. package/dist/housingvista/pages/marketplace/MarketplacePage.js +80 -113
  38. package/dist/housingvista/pages/marketplace/MarketplacePage.js.map +1 -1
  39. package/dist/housingvista/pages/marketplace/ServiceDetailPage.d.ts.map +1 -1
  40. package/dist/housingvista/pages/marketplace/ServiceDetailPage.js +127 -135
  41. package/dist/housingvista/pages/marketplace/ServiceDetailPage.js.map +1 -1
  42. package/dist/housingvista/pages/offers/OffersPage.d.ts.map +1 -1
  43. package/dist/housingvista/pages/offers/OffersPage.js +110 -176
  44. package/dist/housingvista/pages/offers/OffersPage.js.map +1 -1
  45. package/dist/housingvista/pages/offers/offerTimeline.d.ts +14 -0
  46. package/dist/housingvista/pages/offers/offerTimeline.d.ts.map +1 -0
  47. package/dist/housingvista/pages/offers/offerTimeline.js +77 -0
  48. package/dist/housingvista/pages/offers/offerTimeline.js.map +1 -0
  49. package/dist/housingvista/pages/properties/PropertyDetailPage.d.ts.map +1 -1
  50. package/dist/housingvista/pages/properties/PropertyDetailPage.js +262 -257
  51. package/dist/housingvista/pages/properties/PropertyDetailPage.js.map +1 -1
  52. package/dist/housingvista/services/createSandboxAssistantTransport.d.ts.map +1 -1
  53. package/dist/housingvista/services/createSandboxAssistantTransport.js +12 -6
  54. package/dist/housingvista/services/createSandboxAssistantTransport.js.map +1 -1
  55. package/dist/housingvista/types/index.d.ts +1 -1
  56. package/dist/housingvista/types/index.d.ts.map +1 -1
  57. package/dist/housingvista/utils/assistantRetry.d.ts +31 -0
  58. package/dist/housingvista/utils/assistantRetry.d.ts.map +1 -0
  59. package/dist/housingvista/utils/assistantRetry.js +33 -0
  60. package/dist/housingvista/utils/assistantRetry.js.map +1 -0
  61. package/dist/housingvista/utils/helpers.d.ts +2 -0
  62. package/dist/housingvista/utils/helpers.d.ts.map +1 -1
  63. package/dist/housingvista/utils/helpers.js.map +1 -1
  64. package/dist/housingvista/utils/serviceCategories.d.ts +105 -0
  65. package/dist/housingvista/utils/serviceCategories.d.ts.map +1 -0
  66. package/dist/housingvista/utils/serviceCategories.js +70 -0
  67. package/dist/housingvista/utils/serviceCategories.js.map +1 -0
  68. package/dist/housingvista/utils/similarProperties.d.ts +14 -0
  69. package/dist/housingvista/utils/similarProperties.d.ts.map +1 -0
  70. package/dist/housingvista/utils/similarProperties.js +17 -0
  71. package/dist/housingvista/utils/similarProperties.js.map +1 -0
  72. package/package.json +1 -1
@@ -2,16 +2,16 @@ import "./platform.js";
2
2
  import "./useHousingVistaAnalytics.js";
3
3
  import { useCallback as e, useEffect as t, useMemo as n, useRef as r, useState as i } from "react";
4
4
  import { gql as a } from "@apollo/client";
5
- import { useApolloClient as ee, useLazyQuery as o, useMutation as s, useQuery as c } from "@apollo/client/react";
6
- import { useSafePermissions as l } from "@burdenoff/fe-libs/shared/providers/shell";
5
+ import { useApolloClient as o, useLazyQuery as s, useMutation as c, useQuery as l } from "@apollo/client/react";
6
+ import { useSafePermissions as u } from "@burdenoff/fe-libs/shared/providers/shell";
7
7
  //#region src/housingvista/hooks/index.ts
8
- var u = {
8
+ var d = {
9
9
  limit: 50,
10
10
  offset: 0
11
- }, d = (e = u) => ({ pagination: {
12
- limit: e.limit ?? u.limit,
13
- offset: e.offset ?? u.offset
14
- } }), f = a`
11
+ }, f = (e = d) => ({ pagination: {
12
+ limit: e.limit ?? d.limit,
13
+ offset: e.offset ?? d.offset
14
+ } }), p = a`
15
15
  query GetDashboardStats {
16
16
  housingvistaDashboardStats {
17
17
  totalProperties
@@ -47,7 +47,7 @@ var u = {
47
47
  }
48
48
  }
49
49
  }
50
- `, p = a`
50
+ `, m = a`
51
51
  fragment PropertyFields on HousingVistaProperty {
52
52
  id
53
53
  title
@@ -114,7 +114,7 @@ var u = {
114
114
  isPrimary
115
115
  }
116
116
  }
117
- `, m = a`
117
+ `, h = a`
118
118
  fragment PropertyVerificationFields on HousingVistaProperty {
119
119
  verificationItems {
120
120
  id
@@ -130,23 +130,23 @@ var u = {
130
130
  }
131
131
  }
132
132
  }
133
- `, h = a`
134
- ${p}
133
+ `, g = a`
134
+ ${m}
135
135
  query GetProperties($filter: HousingVistaPropertyFilterInput, $pagination: HousingVistaPaginationInput) {
136
136
  housingvistaProperties(filter: $filter, pagination: $pagination) {
137
137
  ...PropertyFields
138
138
  }
139
139
  }
140
- `, g = a`
141
- ${p}
140
+ `, _ = a`
142
141
  ${m}
142
+ ${h}
143
143
  query GetProperty($id: ID!) {
144
144
  housingvistaProperty(id: $id) {
145
145
  ...PropertyFields
146
146
  ...PropertyVerificationFields
147
147
  }
148
148
  }
149
- `, _ = a`
149
+ `, v = a`
150
150
  fragment TransactionFields on HousingVistaTransaction {
151
151
  id
152
152
  title
@@ -201,21 +201,21 @@ var u = {
201
201
  avatar
202
202
  }
203
203
  }
204
- `, v = a`
205
- ${_}
204
+ `, y = a`
205
+ ${v}
206
206
  query GetTransactions($filter: HousingVistaTransactionFilterInput, $pagination: HousingVistaPaginationInput) {
207
207
  housingvistaTransactions(filter: $filter, pagination: $pagination) {
208
208
  ...TransactionFields
209
209
  }
210
210
  }
211
- `, y = a`
212
- ${_}
211
+ `, b = a`
212
+ ${v}
213
213
  query GetTransaction($id: ID!) {
214
214
  housingvistaTransaction(id: $id) {
215
215
  ...TransactionFields
216
216
  }
217
217
  }
218
- `, b = a`
218
+ `, x = a`
219
219
  fragment InvestmentFields on HousingVistaInvestment {
220
220
  id
221
221
  title
@@ -236,22 +236,22 @@ var u = {
236
236
  }
237
237
  }
238
238
  }
239
- `, te = a`
240
- ${b}
239
+ `, S = a`
240
+ ${x}
241
241
  query GetInvestments($filter: HousingVistaInvestmentFilterInput, $pagination: HousingVistaPaginationInput) {
242
242
  housingvistaInvestments(filter: $filter, pagination: $pagination) {
243
243
  ...InvestmentFields
244
244
  }
245
245
  }
246
- `, x = a`
246
+ `, ee = a`
247
247
  query GetHousingvistaInvestmentCompliance {
248
248
  housingvistaInvestmentComplianceSetting {
249
249
  workspaceId
250
250
  eligibilityVerified
251
251
  }
252
252
  }
253
- `, S = a`
254
- ${b}
253
+ `, te = a`
254
+ ${x}
255
255
  query GetInvestment($id: ID!) {
256
256
  housingvistaInvestment(id: $id) {
257
257
  ...InvestmentFields
@@ -377,14 +377,14 @@ var u = {
377
377
  ...VerificationFields
378
378
  }
379
379
  }
380
- `, A = a`
380
+ `, ae = a`
381
381
  ${k}
382
382
  query GetVerification($id: ID!) {
383
383
  housingvistaVerificationItem(id: $id) {
384
384
  ...VerificationFields
385
385
  }
386
386
  }
387
- `, j = a`
387
+ `, A = a`
388
388
  fragment LegalServiceFields on HousingVistaLegalService {
389
389
  id
390
390
  title
@@ -398,21 +398,21 @@ var u = {
398
398
  consultationFee
399
399
  documentsRequired
400
400
  }
401
- `, M = a`
402
- ${j}
401
+ `, j = a`
402
+ ${A}
403
403
  query GetLegalServices($filter: HousingVistaLegalServiceFilterInput, $pagination: HousingVistaPaginationInput) {
404
404
  housingvistaLegalServices(filter: $filter, pagination: $pagination) {
405
405
  ...LegalServiceFields
406
406
  }
407
407
  }
408
- `, N = a`
409
- ${j}
408
+ `, M = a`
409
+ ${A}
410
410
  query GetLegalService($id: ID!) {
411
411
  housingvistaLegalService(id: $id) {
412
412
  ...LegalServiceFields
413
413
  }
414
414
  }
415
- `, P = a`
415
+ `, N = a`
416
416
  fragment HomeLoanFields on HousingVistaHomeLoanOffer {
417
417
  id
418
418
  bankName
@@ -427,21 +427,21 @@ var u = {
427
427
  specialOffer
428
428
  prepaymentCharges
429
429
  }
430
- `, F = a`
431
- ${P}
430
+ `, P = a`
431
+ ${N}
432
432
  query GetHomeLoans($pagination: HousingVistaPaginationInput) {
433
433
  housingvistaHomeLoanOffers(pagination: $pagination) {
434
434
  ...HomeLoanFields
435
435
  }
436
436
  }
437
- `, I = a`
438
- ${P}
437
+ `, F = a`
438
+ ${N}
439
439
  query GetHomeLoan($id: ID!) {
440
440
  housingvistaHomeLoanOffer(id: $id) {
441
441
  ...HomeLoanFields
442
442
  }
443
443
  }
444
- `, L = a`
444
+ `, I = a`
445
445
  query GetMarketTrends($pagination: HousingVistaPaginationInput) {
446
446
  housingvistaMarketTrends(pagination: $pagination) {
447
447
  month
@@ -452,7 +452,7 @@ var u = {
452
452
  priceChangePercent
453
453
  }
454
454
  }
455
- `, R = a`
455
+ `, L = a`
456
456
  query GetAreaInsights($pagination: HousingVistaPaginationInput) {
457
457
  housingvistaAreaInsights(pagination: $pagination) {
458
458
  id
@@ -489,7 +489,7 @@ var u = {
489
489
  malls
490
490
  }
491
491
  }
492
- `, z = a`
492
+ `, R = a`
493
493
  query GetHousingvistaAnalytics($period: HousingVistaAnalyticsPeriod) {
494
494
  housingvistaAnalytics(period: $period) {
495
495
  kpis {
@@ -518,8 +518,8 @@ var u = {
518
518
  period
519
519
  }
520
520
  }
521
- `, B = a`
522
- ${p}
521
+ `, z = a`
522
+ ${m}
523
523
  fragment ShortlistFields on HousingVistaShortlist {
524
524
  id
525
525
  propertyId
@@ -529,14 +529,14 @@ var u = {
529
529
  ...PropertyFields
530
530
  }
531
531
  }
532
- `, V = a`
533
- ${B}
532
+ `, B = a`
533
+ ${z}
534
534
  query GetShortlists($pagination: HousingVistaPaginationInput) {
535
535
  housingvistaShortlists(pagination: $pagination) {
536
536
  ...ShortlistFields
537
537
  }
538
538
  }
539
- `, H = a`
539
+ `, V = a`
540
540
  fragment OfferFields on HousingVistaOffer {
541
541
  id
542
542
  propertyId
@@ -569,8 +569,8 @@ var u = {
569
569
  }
570
570
  }
571
571
  }
572
- `, U = a`
573
- ${H}
572
+ `, H = a`
573
+ ${V}
574
574
  query GetOffers($filter: HousingVistaOfferFilterInput, $pagination: HousingVistaPaginationInput) {
575
575
  housingvistaOffers(filter: $filter, pagination: $pagination) {
576
576
  ...OfferFields
@@ -578,14 +578,14 @@ var u = {
578
578
  }
579
579
  `;
580
580
  a`
581
- ${H}
581
+ ${V}
582
582
  query GetOffer($id: ID!) {
583
583
  housingvistaOffer(id: $id) {
584
584
  ...OfferFields
585
585
  }
586
586
  }
587
587
  `;
588
- var W = a`
588
+ var U = a`
589
589
  fragment ViewingFields on HousingVistaViewing {
590
590
  id
591
591
  propertyId
@@ -611,8 +611,8 @@ var W = a`
611
611
  }
612
612
  }
613
613
  }
614
- `, G = a`
615
- ${W}
614
+ `, W = a`
615
+ ${U}
616
616
  query GetViewings($filter: HousingVistaViewingFilterInput, $pagination: HousingVistaPaginationInput) {
617
617
  housingvistaViewings(filter: $filter, pagination: $pagination) {
618
618
  ...ViewingFields
@@ -620,14 +620,14 @@ var W = a`
620
620
  }
621
621
  `;
622
622
  a`
623
- ${W}
623
+ ${U}
624
624
  query GetViewing($id: ID!) {
625
625
  housingvistaViewing(id: $id) {
626
626
  ...ViewingFields
627
627
  }
628
628
  }
629
629
  `;
630
- var K = a`
630
+ var G = a`
631
631
  fragment RentalApplicationFields on HousingVistaRentalApplication {
632
632
  id
633
633
  rentalUnitId
@@ -649,8 +649,8 @@ var K = a`
649
649
  monthlyRent
650
650
  }
651
651
  }
652
- `, q = a`
653
- ${K}
652
+ `, K = a`
653
+ ${G}
654
654
  query GetRentalApplications(
655
655
  $filter: HousingVistaRentalApplicationFilterInput
656
656
  $pagination: HousingVistaPaginationInput
@@ -659,7 +659,7 @@ var K = a`
659
659
  ...RentalApplicationFields
660
660
  }
661
661
  }
662
- `, J = a`
662
+ `, q = a`
663
663
  fragment MaintenanceFields on HousingVistaMaintenanceRequest {
664
664
  id
665
665
  propertyId
@@ -674,8 +674,8 @@ var K = a`
674
674
  createdAt
675
675
  updatedAt
676
676
  }
677
- `, Y = a`
678
- ${J}
677
+ `, J = a`
678
+ ${q}
679
679
  query GetMaintenanceRequests(
680
680
  $filter: HousingVistaMaintenanceRequestFilterInput
681
681
  $pagination: HousingVistaPaginationInput
@@ -684,36 +684,36 @@ var K = a`
684
684
  ...MaintenanceFields
685
685
  }
686
686
  }
687
- `, ae = a`
688
- ${p}
687
+ `, oe = a`
688
+ ${m}
689
689
  mutation CreateHousingvistaProperty($input: HousingVistaCreatePropertyInput!) {
690
690
  createHousingvistaProperty(input: $input) {
691
691
  ...PropertyFields
692
692
  }
693
693
  }
694
- `, oe = a`
695
- ${p}
694
+ `, se = a`
695
+ ${m}
696
696
  mutation UpdateHousingvistaProperty($id: ID!, $input: HousingVistaUpdatePropertyInput!) {
697
697
  updateHousingvistaProperty(id: $id, input: $input) {
698
698
  ...PropertyFields
699
699
  }
700
700
  }
701
- `, se = a`
701
+ `, ce = a`
702
702
  mutation DeleteHousingvistaProperty($id: ID!) {
703
703
  deleteHousingvistaProperty(id: $id)
704
704
  }
705
- `, ce = a`
706
- ${B}
705
+ `, le = a`
706
+ ${z}
707
707
  mutation SaveHousingvistaShortlist($input: HousingVistaSaveShortlistInput!) {
708
708
  saveHousingvistaShortlist(input: $input) {
709
709
  ...ShortlistFields
710
710
  }
711
711
  }
712
- `, le = a`
712
+ `, ue = a`
713
713
  mutation RemoveHousingvistaShortlist($propertyId: ID!) {
714
714
  removeHousingvistaShortlist(propertyId: $propertyId)
715
715
  }
716
- `, ue = a`
716
+ `, de = a`
717
717
  mutation BookHousingvistaViewing($input: HousingVistaBookViewingInput!) {
718
718
  bookHousingvistaViewing(input: $input) {
719
719
  id
@@ -726,14 +726,14 @@ var K = a`
726
726
  notes
727
727
  }
728
728
  }
729
- `, de = a`
729
+ `, fe = a`
730
730
  mutation CancelHousingvistaViewing($id: ID!) {
731
731
  cancelHousingvistaViewing(id: $id) {
732
732
  id
733
733
  status
734
734
  }
735
735
  }
736
- `, fe = a`
736
+ `, pe = a`
737
737
  mutation SubmitHousingvistaOffer($input: HousingVistaSubmitOfferInput!) {
738
738
  submitHousingvistaOffer(input: $input) {
739
739
  id
@@ -746,7 +746,7 @@ var K = a`
746
746
  createdAt
747
747
  }
748
748
  }
749
- `, pe = a`
749
+ `, me = a`
750
750
  mutation RespondHousingvistaOffer($id: ID!, $input: HousingVistaRespondOfferInput!) {
751
751
  respondHousingvistaOffer(id: $id, input: $input) {
752
752
  id
@@ -755,21 +755,21 @@ var K = a`
755
755
  respondedAt
756
756
  }
757
757
  }
758
- `, me = a`
759
- ${_}
758
+ `, he = a`
759
+ ${v}
760
760
  mutation CreateHousingvistaTransaction($input: HousingVistaCreateTransactionInput!) {
761
761
  createHousingvistaTransaction(input: $input) {
762
762
  ...TransactionFields
763
763
  }
764
764
  }
765
- `, he = a`
766
- ${b}
765
+ `, ge = a`
766
+ ${x}
767
767
  mutation CreateHousingvistaInvestment($input: HousingVistaCreateInvestmentInput!) {
768
768
  createHousingvistaInvestment(input: $input) {
769
769
  ...InvestmentFields
770
770
  }
771
771
  }
772
- `, ge = a`
772
+ `, _e = a`
773
773
  mutation CreateHousingvistaRentalUnit($input: HousingVistaCreateRentalUnitInput!) {
774
774
  createHousingvistaRentalUnit(input: $input) {
775
775
  id
@@ -780,7 +780,7 @@ var K = a`
780
780
  status
781
781
  }
782
782
  }
783
- `, _e = a`
783
+ `, ve = a`
784
784
  mutation SubmitHousingvistaRentalApplication($input: HousingVistaSubmitRentalApplicationInput!) {
785
785
  submitHousingvistaRentalApplication(input: $input) {
786
786
  id
@@ -789,7 +789,7 @@ var K = a`
789
789
  status
790
790
  }
791
791
  }
792
- `, ve = a`
792
+ `, ye = a`
793
793
  mutation CreateHousingvistaAmcContract($input: HousingVistaCreateAmcContractInput!) {
794
794
  createHousingvistaAmcContract(input: $input) {
795
795
  id
@@ -800,7 +800,7 @@ var K = a`
800
800
  status
801
801
  }
802
802
  }
803
- `, ye = a`
803
+ `, be = a`
804
804
  mutation CreateHousingvistaMaintenanceRequest($input: HousingVistaCreateMaintenanceRequestInput!) {
805
805
  createHousingvistaMaintenanceRequest(input: $input) {
806
806
  id
@@ -810,7 +810,7 @@ var K = a`
810
810
  status
811
811
  }
812
812
  }
813
- `, be = a`
813
+ `, xe = a`
814
814
  mutation CreateHousingvistaVerificationItem($input: HousingVistaCreateVerificationItemInput!) {
815
815
  createHousingvistaVerificationItem(input: $input) {
816
816
  id
@@ -818,7 +818,7 @@ var K = a`
818
818
  entityLabel
819
819
  }
820
820
  }
821
- `, xe = a`
821
+ `, Se = a`
822
822
  mutation ApproveHousingvistaVerificationItem($id: ID!, $notes: String) {
823
823
  approveHousingvistaVerificationItem(id: $id, notes: $notes) {
824
824
  id
@@ -831,7 +831,7 @@ var K = a`
831
831
  entityId
832
832
  }
833
833
  }
834
- `, Se = a`
834
+ `, Ce = a`
835
835
  mutation RejectHousingvistaVerificationItem($id: ID!, $notes: String) {
836
836
  rejectHousingvistaVerificationItem(id: $id, notes: $notes) {
837
837
  id
@@ -842,7 +842,7 @@ var K = a`
842
842
  entityId
843
843
  }
844
844
  }
845
- `, Ce = a`
845
+ `, we = a`
846
846
  mutation UpdateHousingvistaPropertyReraStatus(
847
847
  $id: ID!
848
848
  $status: HousingVistaReraVerificationStatus!
@@ -854,14 +854,14 @@ var K = a`
854
854
  reraApprovalDate
855
855
  }
856
856
  }
857
- `, we = a`
857
+ `, Te = a`
858
858
  mutation WithdrawHousingvistaOffer($id: ID!) {
859
859
  withdrawHousingvistaOffer(id: $id) {
860
860
  id
861
861
  status
862
862
  }
863
863
  }
864
- `, Te = a`
864
+ `, Ee = a`
865
865
  mutation UpdateHousingvistaViewing($id: ID!, $input: HousingVistaUpdateViewingInput!) {
866
866
  updateHousingvistaViewing(id: $id, input: $input) {
867
867
  id
@@ -871,18 +871,18 @@ var K = a`
871
871
  notes
872
872
  }
873
873
  }
874
- `, Ee = a`
875
- ${b}
874
+ `, De = a`
875
+ ${x}
876
876
  mutation UpdateHousingvistaInvestment($id: ID!, $input: HousingVistaUpdateInvestmentInput!) {
877
877
  updateHousingvistaInvestment(id: $id, input: $input) {
878
878
  ...InvestmentFields
879
879
  }
880
880
  }
881
- `, De = a`
881
+ `, Oe = a`
882
882
  mutation DeleteHousingvistaInvestment($id: ID!) {
883
883
  deleteHousingvistaInvestment(id: $id)
884
884
  }
885
- `, Oe = a`
885
+ `, ke = a`
886
886
  ${w}
887
887
  mutation CreateHousingvistaAsset($input: HousingVistaCreateAssetInput!) {
888
888
  createHousingvistaAsset(input: $input) {
@@ -902,7 +902,7 @@ a`
902
902
  deleteHousingvistaAsset(id: $id)
903
903
  }
904
904
  `;
905
- var ke = a`
905
+ var Ae = a`
906
906
  mutation UpdateHousingvistaAmcContract($id: ID!, $input: HousingVistaUpdateAmcContractInput!) {
907
907
  updateHousingvistaAmcContract(id: $id, input: $input) {
908
908
  id
@@ -912,12 +912,12 @@ var ke = a`
912
912
  monthlyCost
913
913
  }
914
914
  }
915
- `, Ae = a`
915
+ `, je = a`
916
916
  mutation DeleteHousingvistaAmcContract($id: ID!) {
917
917
  deleteHousingvistaAmcContract(id: $id)
918
918
  }
919
- `, je = a`
920
- ${_}
919
+ `, Me = a`
920
+ ${v}
921
921
  mutation UpdateHousingvistaTransaction($id: ID!, $input: HousingVistaUpdateTransactionInput!) {
922
922
  updateHousingvistaTransaction(id: $id, input: $input) {
923
923
  ...TransactionFields
@@ -929,21 +929,21 @@ a`
929
929
  deleteHousingvistaTransaction(id: $id)
930
930
  }
931
931
  `;
932
- var Me = a`
933
- ${J}
932
+ var Ne = a`
933
+ ${q}
934
934
  mutation ResolveHousingvistaMaintenanceRequest($id: ID!, $resolutionNotes: String) {
935
935
  resolveHousingvistaMaintenanceRequest(id: $id, resolutionNotes: $resolutionNotes) {
936
936
  ...MaintenanceFields
937
937
  }
938
938
  }
939
- `, Ne = a`
940
- ${K}
939
+ `, Pe = a`
940
+ ${G}
941
941
  mutation ReviewHousingvistaRentalApplication($id: ID!, $input: HousingVistaReviewRentalApplicationInput!) {
942
942
  reviewHousingvistaRentalApplication(id: $id, input: $input) {
943
943
  ...RentalApplicationFields
944
944
  }
945
945
  }
946
- `, X = (e) => ({
946
+ `, Y = (e) => ({
947
947
  id: e.id,
948
948
  title: e.title,
949
949
  description: e.description ?? "",
@@ -987,13 +987,13 @@ var Me = a`
987
987
  reraApprovalDate: e.reraApprovalDate ? new Date(e.reraApprovalDate) : null,
988
988
  reraUrl: e.reraUrl,
989
989
  reraVerificationStatus: e.reraVerificationStatus ?? "not_applicable"
990
- }), Pe = {
990
+ }), Fe = {
991
991
  totalProperties: [],
992
992
  monthlyRevenue: [],
993
993
  occupancyRate: [],
994
994
  activeTransactions: []
995
- }, Fe = () => {
996
- let { data: e, loading: t, error: n } = c(f), r = {
995
+ }, Ie = () => {
996
+ let { data: e, loading: t, error: n } = l(p), r = {
997
997
  totalProperties: 0,
998
998
  totalValue: 0,
999
999
  occupancyRate: 0,
@@ -1006,15 +1006,15 @@ var Me = a`
1006
1006
  maintenanceRequests: 0,
1007
1007
  unreadMessages: 0,
1008
1008
  upcomingViewings: 0,
1009
- trends: Pe
1009
+ trends: Fe
1010
1010
  };
1011
1011
  return {
1012
1012
  data: e?.housingvistaDashboardStats ?? r,
1013
1013
  loading: t,
1014
1014
  error: n
1015
1015
  };
1016
- }, Ie = (e) => {
1017
- let { data: t, loading: n, error: r } = c(v, { variables: d(e) });
1016
+ }, Le = (e) => {
1017
+ let { data: t, loading: n, error: r } = l(y, { variables: f(e) });
1018
1018
  return {
1019
1019
  data: (t?.housingvistaTransactions ?? []).map((e) => ({
1020
1020
  id: `act-${e.id}`,
@@ -1030,33 +1030,33 @@ var Me = a`
1030
1030
  loading: n,
1031
1031
  error: r
1032
1032
  };
1033
- }, Le = (e) => {
1034
- let { data: t, loading: n, error: r, refetch: i } = c(h, {
1033
+ }, Re = (e) => {
1034
+ let { data: t, loading: n, error: r, refetch: i } = l(g, {
1035
1035
  variables: {
1036
1036
  filter: e?.filter,
1037
- ...d(e?.pagination)
1037
+ ...f(e?.pagination)
1038
1038
  },
1039
1039
  skip: e?.skip
1040
1040
  });
1041
1041
  return {
1042
- data: (t?.housingvistaProperties ?? []).map(X),
1042
+ data: (t?.housingvistaProperties ?? []).map(Y),
1043
1043
  loading: n,
1044
1044
  error: r,
1045
1045
  refetch: i
1046
1046
  };
1047
- }, Re = (e) => {
1048
- let { data: t, loading: n, error: r } = c(g, {
1047
+ }, ze = (e) => {
1048
+ let { data: t, loading: n, error: r } = l(_, {
1049
1049
  variables: { id: e ?? "" },
1050
1050
  skip: !e,
1051
1051
  fetchPolicy: "cache-and-network"
1052
1052
  });
1053
1053
  return {
1054
- data: t?.housingvistaProperty ? X(t.housingvistaProperty) : null,
1054
+ data: t?.housingvistaProperty ? Y(t.housingvistaProperty) : null,
1055
1055
  loading: n,
1056
1056
  error: r
1057
1057
  };
1058
- }, ze = a`
1059
- ${p}
1058
+ }, Be = a`
1059
+ ${m}
1060
1060
  query HousingVistaNaturalLanguageSearch($query: String!, $pagination: HousingVistaPaginationInput) {
1061
1061
  housingvistaNaturalLanguageSearch(query: $query, pagination: $pagination) {
1062
1062
  query
@@ -1078,8 +1078,8 @@ var Me = a`
1078
1078
  }
1079
1079
  }
1080
1080
  }
1081
- `, Be = () => {
1082
- let [e, { data: t, loading: n, error: r }] = o(ze), i = (t, n) => e({ variables: {
1081
+ `, Ve = () => {
1082
+ let [e, { data: t, loading: n, error: r }] = s(Be), i = (t, n) => e({ variables: {
1083
1083
  query: t,
1084
1084
  pagination: n
1085
1085
  } }), a = t?.housingvistaNaturalLanguageSearch;
@@ -1090,12 +1090,12 @@ var Me = a`
1090
1090
  method: a?.method ?? null,
1091
1091
  fallbackReason: a?.fallbackReason ?? null,
1092
1092
  filter: a?.filter ?? null,
1093
- properties: (a?.properties ?? []).map(X)
1093
+ properties: (a?.properties ?? []).map(Y)
1094
1094
  };
1095
- }, Ve = (e) => {
1096
- let { data: t, loading: n, error: r, refetch: i } = c(v, { variables: {
1095
+ }, He = (e) => {
1096
+ let { data: t, loading: n, error: r, refetch: i } = l(y, { variables: {
1097
1097
  filter: e?.filter,
1098
- ...d(e?.pagination)
1098
+ ...f(e?.pagination)
1099
1099
  } });
1100
1100
  return {
1101
1101
  data: t?.housingvistaTransactions ?? [],
@@ -1104,18 +1104,18 @@ var Me = a`
1104
1104
  refetch: i
1105
1105
  };
1106
1106
  };
1107
- function Z(n, a, o) {
1108
- let s = ee(), [c, l] = i([]), [u, d] = i(!0), [f, p] = i(null), m = r(o);
1107
+ function X(n, a, s) {
1108
+ let c = o(), [l, u] = i([]), [d, f] = i(!0), [p, m] = i(null), h = r(s);
1109
1109
  t(() => {
1110
- m.current = o;
1111
- }, [o]);
1112
- let h = e(async (e) => {
1110
+ h.current = s;
1111
+ }, [s]);
1112
+ let g = e(async (e) => {
1113
1113
  let t = [], r = 0;
1114
1114
  for (let i = 0; i < 50 && !e?.(); i += 1) {
1115
- let e = (await s.query({
1115
+ let e = (await c.query({
1116
1116
  query: n,
1117
1117
  variables: {
1118
- ...m.current,
1118
+ ...h.current,
1119
1119
  pagination: {
1120
1120
  limit: 100,
1121
1121
  offset: r
@@ -1128,50 +1128,50 @@ function Z(n, a, o) {
1128
1128
  }
1129
1129
  return t;
1130
1130
  }, [
1131
- s,
1131
+ c,
1132
1132
  n,
1133
1133
  a
1134
- ]), g = r(0), _ = e(async () => {
1135
- let e = ++g.current;
1136
- d(!0), p(null);
1134
+ ]), _ = r(0), v = e(async () => {
1135
+ let e = ++_.current;
1136
+ f(!0), m(null);
1137
1137
  try {
1138
- let t = await h();
1139
- if (e !== g.current) return;
1140
- l(t);
1138
+ let t = await g();
1139
+ if (e !== _.current) return;
1140
+ u(t);
1141
1141
  } catch (t) {
1142
- e === g.current && p(t);
1142
+ e === _.current && m(t);
1143
1143
  } finally {
1144
- e === g.current && d(!1);
1144
+ e === _.current && f(!1);
1145
1145
  }
1146
- }, [h]);
1146
+ }, [g]);
1147
1147
  return t(() => {
1148
- let e = !1, t = ++g.current;
1149
- return d(!0), p(null), h(() => e).then((n) => {
1150
- !e && t === g.current && l(n);
1151
- }).catch((t) => {
1152
- e || p(t);
1148
+ let e = !1, t = ++_.current;
1149
+ return f(!0), m(null), g(() => e).then((n) => {
1150
+ !e && t === _.current && u(n);
1151
+ }).catch((n) => {
1152
+ !e && t === _.current && m(n);
1153
1153
  }).finally(() => {
1154
- e || d(!1);
1154
+ !e && t === _.current && f(!1);
1155
1155
  }), () => {
1156
1156
  e = !0;
1157
1157
  };
1158
- }, [h]), {
1159
- data: c,
1160
- loading: u,
1161
- error: f,
1162
- refetch: _
1158
+ }, [g]), {
1159
+ data: l,
1160
+ loading: d,
1161
+ error: p,
1162
+ refetch: v
1163
1163
  };
1164
1164
  }
1165
- var He = () => {
1166
- let { data: e, loading: t, error: n, refetch: r } = Z(v, "housingvistaTransactions");
1165
+ var Ue = () => {
1166
+ let { data: e, loading: t, error: n, refetch: r } = X(y, "housingvistaTransactions");
1167
1167
  return {
1168
1168
  data: e,
1169
1169
  loading: t,
1170
1170
  error: n,
1171
1171
  refetch: r
1172
1172
  };
1173
- }, Ue = (e) => {
1174
- let { data: t, loading: n, error: r } = c(y, {
1173
+ }, We = (e) => {
1174
+ let { data: t, loading: n, error: r } = l(b, {
1175
1175
  variables: { id: e ?? "" },
1176
1176
  skip: !e
1177
1177
  });
@@ -1180,10 +1180,10 @@ var He = () => {
1180
1180
  loading: n,
1181
1181
  error: r
1182
1182
  };
1183
- }, We = (e) => {
1184
- let { data: t, loading: n, error: r, refetch: i } = c(te, { variables: {
1183
+ }, Ge = (e) => {
1184
+ let { data: t, loading: n, error: r, refetch: i } = l(S, { variables: {
1185
1185
  filter: e?.filter,
1186
- ...d(e?.pagination)
1186
+ ...f(e?.pagination)
1187
1187
  } });
1188
1188
  return {
1189
1189
  data: t?.housingvistaInvestments ?? [],
@@ -1191,14 +1191,14 @@ var He = () => {
1191
1191
  error: r,
1192
1192
  refetch: i
1193
1193
  };
1194
- }, Ge = () => {
1195
- let e = l(), t = e !== null && !e.isLoading && e.hasPermission("investment-compliance:read"), { data: n, loading: r } = c(x, { skip: !t });
1194
+ }, Ke = () => {
1195
+ let e = u(), t = e !== null && !e.isLoading && e.hasPermission("investment-compliance:read"), { data: n, loading: r } = l(ee, { skip: !t });
1196
1196
  return {
1197
1197
  eligibilityVerified: n?.housingvistaInvestmentComplianceSetting.eligibilityVerified === !0,
1198
1198
  loading: e !== null && (e.isLoading || t && r)
1199
1199
  };
1200
- }, Ke = (e) => {
1201
- let { data: t, loading: n, error: r } = c(S, {
1200
+ }, qe = (e) => {
1201
+ let { data: t, loading: n, error: r } = l(te, {
1202
1202
  variables: { id: e ?? "" },
1203
1203
  skip: !e
1204
1204
  });
@@ -1207,10 +1207,10 @@ var He = () => {
1207
1207
  loading: n,
1208
1208
  error: r
1209
1209
  };
1210
- }, qe = (e) => {
1211
- let { data: t, loading: n, error: r, refetch: i } = c(C, { variables: {
1210
+ }, Je = (e) => {
1211
+ let { data: t, loading: n, error: r, refetch: i } = l(C, { variables: {
1212
1212
  filter: e?.filter,
1213
- ...d(e?.pagination)
1213
+ ...f(e?.pagination)
1214
1214
  } });
1215
1215
  return {
1216
1216
  data: t?.housingvistaRentalUnits ?? [],
@@ -1218,10 +1218,10 @@ var He = () => {
1218
1218
  error: r,
1219
1219
  refetch: i
1220
1220
  };
1221
- }, Je = (e) => {
1222
- let { data: t, loading: n, error: r, refetch: i } = c(T, { variables: {
1221
+ }, Ye = (e) => {
1222
+ let { data: t, loading: n, error: r, refetch: i } = l(T, { variables: {
1223
1223
  filter: e?.filter,
1224
- ...d(e?.pagination)
1224
+ ...f(e?.pagination)
1225
1225
  } });
1226
1226
  return {
1227
1227
  data: t?.housingvistaAssets ?? [],
@@ -1229,8 +1229,8 @@ var He = () => {
1229
1229
  error: r,
1230
1230
  refetch: i
1231
1231
  };
1232
- }, Ye = (e) => {
1233
- let { data: t, loading: n, error: r } = c(E, {
1232
+ }, Xe = (e) => {
1233
+ let { data: t, loading: n, error: r } = l(E, {
1234
1234
  variables: { id: e ?? "" },
1235
1235
  skip: !e
1236
1236
  });
@@ -1239,24 +1239,32 @@ var He = () => {
1239
1239
  loading: n,
1240
1240
  error: r
1241
1241
  };
1242
- }, Xe = (e) => {
1243
- let { data: t, loading: r, error: i, refetch: a } = c(D, { variables: {
1242
+ }, Z = (e) => e.map((e) => ({
1243
+ ...e,
1244
+ servicesIncluded: Array.isArray(e.servicesIncluded) ? e.servicesIncluded : []
1245
+ })), Ze = (e) => {
1246
+ let { data: t, loading: r, error: i, refetch: a } = l(D, { variables: {
1244
1247
  filter: e?.filter,
1245
- ...d(e?.pagination)
1248
+ ...f(e?.pagination)
1246
1249
  } });
1247
1250
  return {
1248
- data: n(() => (t?.housingvistaAmcContracts ?? []).map((e) => ({
1249
- ...e,
1250
- servicesIncluded: Array.isArray(e.servicesIncluded) ? e.servicesIncluded : []
1251
- })), [t]),
1251
+ data: n(() => Z(t?.housingvistaAmcContracts ?? []), [t]),
1252
1252
  loading: r,
1253
1253
  error: i,
1254
1254
  refetch: a
1255
1255
  };
1256
- }, Ze = (e) => {
1257
- let { data: t, loading: n, error: r, refetch: i } = c(ne, { variables: {
1256
+ }, Qe = () => {
1257
+ let { data: e, loading: t, error: r, refetch: i } = X(D, "housingvistaAmcContracts");
1258
+ return {
1259
+ data: n(() => Z(e), [e]),
1260
+ loading: t,
1261
+ error: r,
1262
+ refetch: i
1263
+ };
1264
+ }, $e = (e) => {
1265
+ let { data: t, loading: n, error: r, refetch: i } = l(ne, { variables: {
1258
1266
  filter: e?.filter,
1259
- ...d(e?.pagination)
1267
+ ...f(e?.pagination)
1260
1268
  } });
1261
1269
  return {
1262
1270
  data: t?.housingvistaMarketplaceServices ?? [],
@@ -1264,8 +1272,8 @@ var He = () => {
1264
1272
  error: r,
1265
1273
  refetch: i
1266
1274
  };
1267
- }, Qe = (e) => {
1268
- let { data: t, loading: n, error: r } = c(re, {
1275
+ }, et = (e) => {
1276
+ let { data: t, loading: n, error: r } = l(re, {
1269
1277
  variables: { id: e ?? "" },
1270
1278
  skip: !e
1271
1279
  });
@@ -1274,10 +1282,10 @@ var He = () => {
1274
1282
  loading: n,
1275
1283
  error: r
1276
1284
  };
1277
- }, $e = (e) => {
1278
- let { data: t, loading: n, error: r, refetch: i } = c(ie, { variables: {
1285
+ }, tt = (e) => {
1286
+ let { data: t, loading: n, error: r, refetch: i } = l(ie, { variables: {
1279
1287
  filter: e?.filter,
1280
- ...d(e?.pagination)
1288
+ ...f(e?.pagination)
1281
1289
  } });
1282
1290
  return {
1283
1291
  data: t?.housingvistaVerificationItems ?? [],
@@ -1285,8 +1293,8 @@ var He = () => {
1285
1293
  error: r,
1286
1294
  refetch: i
1287
1295
  };
1288
- }, et = (e) => {
1289
- let { data: t, loading: n, error: r, refetch: i } = c(A, {
1296
+ }, nt = (e) => {
1297
+ let { data: t, loading: n, error: r, refetch: i } = l(ae, {
1290
1298
  variables: { id: e ?? "" },
1291
1299
  skip: !e
1292
1300
  });
@@ -1296,10 +1304,10 @@ var He = () => {
1296
1304
  error: r,
1297
1305
  refetch: i
1298
1306
  };
1299
- }, tt = (e) => {
1300
- let { data: t, loading: n, error: r, refetch: i } = c(M, { variables: {
1307
+ }, rt = (e) => {
1308
+ let { data: t, loading: n, error: r, refetch: i } = l(j, { variables: {
1301
1309
  filter: e?.filter,
1302
- ...d(e?.pagination)
1310
+ ...f(e?.pagination)
1303
1311
  } });
1304
1312
  return {
1305
1313
  data: t?.housingvistaLegalServices ?? [],
@@ -1307,8 +1315,8 @@ var He = () => {
1307
1315
  error: r,
1308
1316
  refetch: i
1309
1317
  };
1310
- }, nt = (e) => {
1311
- let { data: t, loading: n, error: r } = c(N, {
1318
+ }, it = (e) => {
1319
+ let { data: t, loading: n, error: r } = l(M, {
1312
1320
  variables: { id: e ?? "" },
1313
1321
  skip: !e
1314
1322
  });
@@ -1317,15 +1325,15 @@ var He = () => {
1317
1325
  loading: n,
1318
1326
  error: r
1319
1327
  };
1320
- }, rt = (e) => {
1321
- let { data: t, loading: n, error: r } = c(F, { variables: d(e) });
1328
+ }, at = (e) => {
1329
+ let { data: t, loading: n, error: r } = l(P, { variables: f(e) });
1322
1330
  return {
1323
1331
  data: t?.housingvistaHomeLoanOffers ?? [],
1324
1332
  loading: n,
1325
1333
  error: r
1326
1334
  };
1327
- }, it = (e) => {
1328
- let { data: t, loading: n, error: r } = c(I, {
1335
+ }, ot = (e) => {
1336
+ let { data: t, loading: n, error: r } = l(F, {
1329
1337
  variables: { id: e ?? "" },
1330
1338
  skip: !e
1331
1339
  });
@@ -1334,45 +1342,45 @@ var He = () => {
1334
1342
  loading: n,
1335
1343
  error: r
1336
1344
  };
1337
- }, at = (e) => {
1338
- let { data: t, loading: n, error: r } = c(L, { variables: d(e) });
1345
+ }, st = (e) => {
1346
+ let { data: t, loading: n, error: r } = l(I, { variables: f(e) });
1339
1347
  return {
1340
1348
  data: t?.housingvistaMarketTrends ?? [],
1341
1349
  loading: n,
1342
1350
  error: r
1343
1351
  };
1344
- }, ot = (e) => {
1345
- let { data: t, loading: n, error: r } = c(R, { variables: d(e) });
1352
+ }, ct = (e) => {
1353
+ let { data: t, loading: n, error: r } = l(L, { variables: f(e) });
1346
1354
  return {
1347
1355
  data: t?.housingvistaAreaInsights ?? [],
1348
1356
  loading: n,
1349
1357
  error: r
1350
1358
  };
1351
- }, st = (e) => {
1352
- let { data: t, loading: n, error: r, refetch: i } = c(V, { variables: d(e) });
1359
+ }, lt = (e) => {
1360
+ let { data: t, loading: n, error: r, refetch: i } = l(B, { variables: f(e) });
1353
1361
  return {
1354
1362
  data: (t?.housingvistaShortlists ?? []).map((e) => ({
1355
1363
  id: e.id,
1356
1364
  propertyId: e.propertyId,
1357
1365
  notes: e.notes ?? void 0,
1358
1366
  createdAt: e.createdAt,
1359
- property: X(e.property)
1367
+ property: Y(e.property)
1360
1368
  })),
1361
1369
  loading: n,
1362
1370
  error: r,
1363
1371
  refetch: i
1364
1372
  };
1365
- }, ct = (e = "month") => {
1366
- let { data: t, loading: n, error: r } = c(z, { variables: { period: e } });
1373
+ }, ut = (e = "month") => {
1374
+ let { data: t, loading: n, error: r } = l(R, { variables: { period: e } });
1367
1375
  return {
1368
1376
  data: t?.housingvistaAnalytics ?? null,
1369
1377
  loading: n,
1370
1378
  error: r
1371
1379
  };
1372
- }, lt = (e) => {
1373
- let { data: t, loading: n, error: r, refetch: i } = c(U, { variables: {
1380
+ }, dt = (e) => {
1381
+ let { data: t, loading: n, error: r, refetch: i } = l(H, { variables: {
1374
1382
  filter: e?.filter,
1375
- ...d(e?.pagination)
1383
+ ...f(e?.pagination)
1376
1384
  } });
1377
1385
  return {
1378
1386
  data: t?.housingvistaOffers ?? [],
@@ -1380,10 +1388,10 @@ var He = () => {
1380
1388
  error: r,
1381
1389
  refetch: i
1382
1390
  };
1383
- }, ut = (e) => {
1384
- let { data: t, loading: n, error: r, refetch: i } = c(G, { variables: {
1391
+ }, ft = (e) => {
1392
+ let { data: t, loading: n, error: r, refetch: i } = l(W, { variables: {
1385
1393
  filter: e?.filter,
1386
- ...d(e?.pagination)
1394
+ ...f(e?.pagination)
1387
1395
  } });
1388
1396
  return {
1389
1397
  data: t?.housingvistaViewings ?? [],
@@ -1391,10 +1399,10 @@ var He = () => {
1391
1399
  error: r,
1392
1400
  refetch: i
1393
1401
  };
1394
- }, dt = (e) => {
1395
- let { data: t, loading: n, error: r, refetch: i } = c(q, { variables: {
1402
+ }, pt = (e) => {
1403
+ let { data: t, loading: n, error: r, refetch: i } = l(K, { variables: {
1396
1404
  filter: e?.filter,
1397
- ...d(e?.pagination)
1405
+ ...f(e?.pagination)
1398
1406
  } });
1399
1407
  return {
1400
1408
  data: t?.housingvistaRentalApplications ?? [],
@@ -1424,15 +1432,15 @@ var He = () => {
1424
1432
  propertyTitle
1425
1433
  }
1426
1434
  }
1427
- `, ft = a`
1435
+ `, mt = a`
1428
1436
  ${Q}
1429
1437
  query GetLeases($filter: HousingVistaLeaseFilterInput, $pagination: HousingVistaPaginationInput) {
1430
1438
  housingvistaLeases(filter: $filter, pagination: $pagination) {
1431
1439
  ...LeaseFields
1432
1440
  }
1433
1441
  }
1434
- `, pt = () => Z(ft, "housingvistaLeases"), mt = () => {
1435
- let [e, { loading: t }] = s(a`
1442
+ `, ht = () => X(mt, "housingvistaLeases"), gt = () => {
1443
+ let [e, { loading: t }] = c(a`
1436
1444
  ${Q}
1437
1445
  mutation CreateHousingvistaLease($input: HousingVistaCreateLeaseInput!) {
1438
1446
  createHousingvistaLease(input: $input) {
@@ -1453,8 +1461,8 @@ var He = () => {
1453
1461
  },
1454
1462
  loading: t
1455
1463
  };
1456
- }, ht = () => {
1457
- let [e, { loading: t }] = s(a`
1464
+ }, _t = () => {
1465
+ let [e, { loading: t }] = c(a`
1458
1466
  ${Q}
1459
1467
  mutation RenewHousingvistaLease($id: ID!, $input: HousingVistaRenewLeaseInput!) {
1460
1468
  renewHousingvistaLease(id: $id, input: $input) {
@@ -1474,8 +1482,8 @@ var He = () => {
1474
1482
  },
1475
1483
  loading: t
1476
1484
  };
1477
- }, gt = () => {
1478
- let [e, { loading: t }] = s(a`
1485
+ }, vt = () => {
1486
+ let [e, { loading: t }] = c(a`
1479
1487
  ${Q}
1480
1488
  mutation TerminateHousingvistaLease($id: ID!, $input: HousingVistaTerminateLeaseInput!) {
1481
1489
  terminateHousingvistaLease(id: $id, input: $input) {
@@ -1495,10 +1503,10 @@ var He = () => {
1495
1503
  },
1496
1504
  loading: t
1497
1505
  };
1498
- }, _t = (e) => {
1499
- let { data: t, loading: n, error: r, refetch: i } = c(Y, { variables: {
1506
+ }, yt = (e) => {
1507
+ let { data: t, loading: n, error: r, refetch: i } = l(J, { variables: {
1500
1508
  filter: e?.filter,
1501
- ...d(e?.pagination)
1509
+ ...f(e?.pagination)
1502
1510
  } });
1503
1511
  return {
1504
1512
  data: t?.housingvistaMaintenanceRequests ?? [],
@@ -1506,8 +1514,8 @@ var He = () => {
1506
1514
  error: r,
1507
1515
  refetch: i
1508
1516
  };
1509
- }, vt = () => {
1510
- let [e, { loading: t }] = s(ae, {
1517
+ }, bt = () => {
1518
+ let [e, { loading: t }] = c(oe, {
1511
1519
  refetchQueries: ["GetProperties"],
1512
1520
  awaitRefetchQueries: !0
1513
1521
  });
@@ -1515,12 +1523,12 @@ var He = () => {
1515
1523
  createProperty: async (t) => {
1516
1524
  let n = await e({ variables: { input: t } });
1517
1525
  if (!n.data) throw Error("Property was not created");
1518
- return X(n.data.createHousingvistaProperty);
1526
+ return Y(n.data.createHousingvistaProperty);
1519
1527
  },
1520
1528
  loading: t
1521
1529
  };
1522
- }, yt = () => {
1523
- let [e, { loading: t }] = s(oe);
1530
+ }, xt = () => {
1531
+ let [e, { loading: t }] = c(se);
1524
1532
  return {
1525
1533
  updateProperty: async (t, n) => {
1526
1534
  let r = await e({ variables: {
@@ -1528,12 +1536,12 @@ var He = () => {
1528
1536
  input: n
1529
1537
  } });
1530
1538
  if (!r.data) throw Error("Property was not updated");
1531
- return X(r.data.updateHousingvistaProperty);
1539
+ return Y(r.data.updateHousingvistaProperty);
1532
1540
  },
1533
1541
  loading: t
1534
1542
  };
1535
- }, bt = () => {
1536
- let [e, { loading: t }] = s(se, {
1543
+ }, St = () => {
1544
+ let [e, { loading: t }] = c(ce, {
1537
1545
  refetchQueries: ["GetProperties"],
1538
1546
  awaitRefetchQueries: !0
1539
1547
  });
@@ -1541,8 +1549,8 @@ var He = () => {
1541
1549
  deleteProperty: async (t) => (await e({ variables: { id: t } })).data?.deleteHousingvistaProperty ?? !1,
1542
1550
  loading: t
1543
1551
  };
1544
- }, xt = () => {
1545
- let [e, { loading: t }] = s(ce, {
1552
+ }, Ct = () => {
1553
+ let [e, { loading: t }] = c(le, {
1546
1554
  refetchQueries: ["GetShortlists"],
1547
1555
  awaitRefetchQueries: !0
1548
1556
  });
@@ -1555,8 +1563,8 @@ var He = () => {
1555
1563
  },
1556
1564
  loading: t
1557
1565
  };
1558
- }, St = () => {
1559
- let [e, { loading: t }] = s(le, {
1566
+ }, wt = () => {
1567
+ let [e, { loading: t }] = c(ue, {
1560
1568
  refetchQueries: ["GetShortlists"],
1561
1569
  awaitRefetchQueries: !0
1562
1570
  });
@@ -1566,32 +1574,32 @@ var He = () => {
1566
1574
  },
1567
1575
  loading: t
1568
1576
  };
1569
- }, Ct = () => {
1570
- let [e, { loading: t }] = s(ue);
1577
+ }, Tt = () => {
1578
+ let [e, { loading: t }] = c(de);
1571
1579
  return {
1572
1580
  bookViewing: async (t) => {
1573
1581
  await e({ variables: { input: t } });
1574
1582
  },
1575
1583
  loading: t
1576
1584
  };
1577
- }, wt = () => {
1578
- let [e, { loading: t }] = s(de);
1585
+ }, Et = () => {
1586
+ let [e, { loading: t }] = c(fe);
1579
1587
  return {
1580
1588
  cancelViewing: async (t) => {
1581
1589
  await e({ variables: { id: t } });
1582
1590
  },
1583
1591
  loading: t
1584
1592
  };
1585
- }, Tt = () => {
1586
- let [e, { loading: t }] = s(fe);
1593
+ }, Dt = () => {
1594
+ let [e, { loading: t }] = c(pe);
1587
1595
  return {
1588
1596
  submitOffer: async (t) => {
1589
1597
  await e({ variables: { input: t } });
1590
1598
  },
1591
1599
  loading: t
1592
1600
  };
1593
- }, Et = () => {
1594
- let [e, { loading: t }] = s(pe);
1601
+ }, Ot = () => {
1602
+ let [e, { loading: t }] = c(me);
1595
1603
  return {
1596
1604
  respondOffer: async (t, n) => {
1597
1605
  await e({ variables: {
@@ -1601,8 +1609,8 @@ var He = () => {
1601
1609
  },
1602
1610
  loading: t
1603
1611
  };
1604
- }, Dt = () => {
1605
- let [e, { loading: t }] = s(me, {
1612
+ }, kt = () => {
1613
+ let [e, { loading: t }] = c(he, {
1606
1614
  refetchQueries: ["GetTransactions"],
1607
1615
  awaitRefetchQueries: !0
1608
1616
  });
@@ -1612,8 +1620,8 @@ var He = () => {
1612
1620
  },
1613
1621
  loading: t
1614
1622
  };
1615
- }, Ot = () => {
1616
- let [e, { loading: t }] = s(he, {
1623
+ }, At = () => {
1624
+ let [e, { loading: t }] = c(ge, {
1617
1625
  refetchQueries: ["GetInvestments"],
1618
1626
  awaitRefetchQueries: !0
1619
1627
  });
@@ -1623,8 +1631,8 @@ var He = () => {
1623
1631
  },
1624
1632
  loading: t
1625
1633
  };
1626
- }, kt = () => {
1627
- let [e, { loading: t }] = s(ge, {
1634
+ }, jt = () => {
1635
+ let [e, { loading: t }] = c(_e, {
1628
1636
  refetchQueries: ["GetRentalUnits"],
1629
1637
  awaitRefetchQueries: !0
1630
1638
  });
@@ -1634,16 +1642,16 @@ var He = () => {
1634
1642
  },
1635
1643
  loading: t
1636
1644
  };
1637
- }, At = () => {
1638
- let [e, { loading: t }] = s(_e);
1645
+ }, Mt = () => {
1646
+ let [e, { loading: t }] = c(ve);
1639
1647
  return {
1640
1648
  submitRentalApplication: async (t) => {
1641
1649
  await e({ variables: { input: t } });
1642
1650
  },
1643
1651
  loading: t
1644
1652
  };
1645
- }, jt = () => {
1646
- let [e, { loading: t }] = s(ve, {
1653
+ }, Nt = () => {
1654
+ let [e, { loading: t }] = c(ye, {
1647
1655
  refetchQueries: ["GetAmcContracts"],
1648
1656
  awaitRefetchQueries: !0
1649
1657
  });
@@ -1653,16 +1661,16 @@ var He = () => {
1653
1661
  },
1654
1662
  loading: t
1655
1663
  };
1656
- }, Mt = () => {
1657
- let [e, { loading: t }] = s(ye);
1664
+ }, $ = () => {
1665
+ let [e, { loading: t }] = c(be);
1658
1666
  return {
1659
1667
  createMaintenanceRequest: async (t) => {
1660
1668
  await e({ variables: { input: t } });
1661
1669
  },
1662
1670
  loading: t
1663
1671
  };
1664
- }, Nt = () => {
1665
- let [e, { loading: t }] = s(be, {
1672
+ }, Pt = () => {
1673
+ let [e, { loading: t }] = c(xe, {
1666
1674
  refetchQueries: ["GetVerifications", "GetProperty"],
1667
1675
  awaitRefetchQueries: !0
1668
1676
  });
@@ -1672,8 +1680,8 @@ var He = () => {
1672
1680
  },
1673
1681
  loading: t
1674
1682
  };
1675
- }, $ = () => {
1676
- let [e, { loading: t }] = s(xe, {
1683
+ }, Ft = () => {
1684
+ let [e, { loading: t }] = c(Se, {
1677
1685
  refetchQueries: ["GetVerifications", "GetProperty"],
1678
1686
  awaitRefetchQueries: !0,
1679
1687
  update: (e, t) => {
@@ -1698,8 +1706,8 @@ var He = () => {
1698
1706
  },
1699
1707
  loading: t
1700
1708
  };
1701
- }, Pt = () => {
1702
- let [e, { loading: t }] = s(Se, {
1709
+ }, It = () => {
1710
+ let [e, { loading: t }] = c(Ce, {
1703
1711
  refetchQueries: ["GetVerifications", "GetProperty"],
1704
1712
  awaitRefetchQueries: !0,
1705
1713
  update: (e, t) => {
@@ -1724,8 +1732,8 @@ var He = () => {
1724
1732
  },
1725
1733
  loading: t
1726
1734
  };
1727
- }, Ft = () => {
1728
- let [e, { loading: t }] = s(Ce, {
1735
+ }, Lt = () => {
1736
+ let [e, { loading: t }] = c(we, {
1729
1737
  refetchQueries: ["GetProperties", "GetProperty"],
1730
1738
  awaitRefetchQueries: !0
1731
1739
  });
@@ -1739,8 +1747,8 @@ var He = () => {
1739
1747
  },
1740
1748
  loading: t
1741
1749
  };
1742
- }, It = () => {
1743
- let [e, { loading: t }] = s(we, {
1750
+ }, Rt = () => {
1751
+ let [e, { loading: t }] = c(Te, {
1744
1752
  refetchQueries: ["GetOffers", "GetOffer"],
1745
1753
  awaitRefetchQueries: !0
1746
1754
  });
@@ -1750,8 +1758,8 @@ var He = () => {
1750
1758
  },
1751
1759
  loading: t
1752
1760
  };
1753
- }, Lt = () => {
1754
- let [e, { loading: t }] = s(Te, {
1761
+ }, zt = () => {
1762
+ let [e, { loading: t }] = c(Ee, {
1755
1763
  refetchQueries: ["GetViewings", "GetViewing"],
1756
1764
  awaitRefetchQueries: !0
1757
1765
  });
@@ -1764,8 +1772,8 @@ var He = () => {
1764
1772
  },
1765
1773
  loading: t
1766
1774
  };
1767
- }, Rt = () => {
1768
- let [e, { loading: t }] = s(Ee, {
1775
+ }, Bt = () => {
1776
+ let [e, { loading: t }] = c(De, {
1769
1777
  refetchQueries: ["GetInvestments", "GetInvestment"],
1770
1778
  awaitRefetchQueries: !0
1771
1779
  });
@@ -1778,8 +1786,8 @@ var He = () => {
1778
1786
  },
1779
1787
  loading: t
1780
1788
  };
1781
- }, zt = () => {
1782
- let [e, { loading: t }] = s(De, {
1789
+ }, Vt = () => {
1790
+ let [e, { loading: t }] = c(Oe, {
1783
1791
  refetchQueries: ["GetInvestments"],
1784
1792
  awaitRefetchQueries: !0
1785
1793
  });
@@ -1787,8 +1795,8 @@ var He = () => {
1787
1795
  deleteInvestment: async (t) => (await e({ variables: { id: t } })).data?.deleteHousingvistaInvestment ?? !1,
1788
1796
  loading: t
1789
1797
  };
1790
- }, Bt = () => {
1791
- let [e, { loading: t }] = s(Oe, {
1798
+ }, Ht = () => {
1799
+ let [e, { loading: t }] = c(ke, {
1792
1800
  refetchQueries: ["GetAssets"],
1793
1801
  awaitRefetchQueries: !0
1794
1802
  });
@@ -1798,8 +1806,8 @@ var He = () => {
1798
1806
  },
1799
1807
  loading: t
1800
1808
  };
1801
- }, Vt = () => {
1802
- let [e, { loading: t }] = s(ke, {
1809
+ }, Ut = () => {
1810
+ let [e, { loading: t }] = c(Ae, {
1803
1811
  refetchQueries: ["GetAmcContracts"],
1804
1812
  awaitRefetchQueries: !0
1805
1813
  });
@@ -1812,8 +1820,8 @@ var He = () => {
1812
1820
  },
1813
1821
  loading: t
1814
1822
  };
1815
- }, Ht = () => {
1816
- let [e, { loading: t }] = s(a`
1823
+ }, Wt = () => {
1824
+ let [e, { loading: t }] = c(a`
1817
1825
  mutation RenewHousingvistaAmcContract($id: ID!, $input: HousingVistaRenewAmcContractInput!) {
1818
1826
  renewHousingvistaAmcContract(id: $id, input: $input) {
1819
1827
  id
@@ -1834,8 +1842,8 @@ var He = () => {
1834
1842
  },
1835
1843
  loading: t
1836
1844
  };
1837
- }, Ut = () => {
1838
- let [e, { loading: t }] = s(Ae, {
1845
+ }, Gt = () => {
1846
+ let [e, { loading: t }] = c(je, {
1839
1847
  refetchQueries: ["GetAmcContracts"],
1840
1848
  awaitRefetchQueries: !0
1841
1849
  });
@@ -1843,8 +1851,8 @@ var He = () => {
1843
1851
  deleteAmcContract: async (t) => (await e({ variables: { id: t } })).data?.deleteHousingvistaAmcContract ?? !1,
1844
1852
  loading: t
1845
1853
  };
1846
- }, Wt = () => {
1847
- let [e, { loading: t }] = s(je, {
1854
+ }, Kt = () => {
1855
+ let [e, { loading: t }] = c(Me, {
1848
1856
  refetchQueries: ["GetTransactions", "GetTransaction"],
1849
1857
  awaitRefetchQueries: !0
1850
1858
  });
@@ -1857,8 +1865,8 @@ var He = () => {
1857
1865
  },
1858
1866
  loading: t
1859
1867
  };
1860
- }, Gt = () => {
1861
- let [e, { loading: t }] = s(Me, {
1868
+ }, qt = () => {
1869
+ let [e, { loading: t }] = c(Ne, {
1862
1870
  refetchQueries: ["GetMaintenanceRequests"],
1863
1871
  awaitRefetchQueries: !0
1864
1872
  });
@@ -1871,8 +1879,8 @@ var He = () => {
1871
1879
  },
1872
1880
  loading: t
1873
1881
  };
1874
- }, Kt = () => {
1875
- let [e, { loading: t }] = s(Ne, {
1882
+ }, Jt = () => {
1883
+ let [e, { loading: t }] = c(Pe, {
1876
1884
  refetchQueries: ["GetRentalApplications"],
1877
1885
  awaitRefetchQueries: !0
1878
1886
  });
@@ -1887,6 +1895,6 @@ var He = () => {
1887
1895
  };
1888
1896
  };
1889
1897
  //#endregion
1890
- export { Xe as useAMCContracts, pt as useAllLeases, He as useAllTransactions, ct as useAnalyticsData, $ as useApproveVerification, ot as useAreaInsights, Ye as useAsset, Je as useAssets, Ct as useBookViewing, wt as useCancelViewing, jt as useCreateAmcContract, Bt as useCreateAsset, Ot as useCreateInvestment, mt as useCreateLease, Mt as useCreateMaintenanceRequest, vt as useCreateProperty, kt as useCreateRentalUnit, Dt as useCreateTransaction, Nt as useCreateVerification, Fe as useDashboardStats, Ut as useDeleteAmcContract, zt as useDeleteInvestment, bt as useDeleteProperty, it as useHomeLoanOffer, rt as useHomeLoans, Ke as useInvestment, Ge as useInvestmentCompliance, We as useInvestments, nt as useLegalService, tt as useLegalServices, _t as useMaintenanceRequests, at as useMarketTrends, Qe as useMarketplaceService, Ze as useMarketplaceServices, Be as useNaturalLanguageSearch, lt as useOffers, Le as useProperties, Re as useProperty, Ie as useRecentActivities, Pt as useRejectVerification, St as useRemoveShortlist, Ht as useRenewAmcContract, ht as useRenewLease, dt as useRentalApplications, qe as useRentalUnits, Gt as useResolveMaintenanceRequest, Et as useRespondOffer, Kt as useReviewRentalApplication, xt as useSaveShortlist, st as useShortlists, Tt as useSubmitOffer, At as useSubmitRentalApplication, gt as useTerminateLease, Ue as useTransaction, Ve as useTransactions, Vt as useUpdateAmcContract, Rt as useUpdateInvestment, yt as useUpdateProperty, Ft as useUpdatePropertyReraStatus, Wt as useUpdateTransaction, Lt as useUpdateViewing, et as useVerificationItem, $e as useVerifications, ut as useViewings, It as useWithdrawOffer };
1898
+ export { Ze as useAMCContracts, Qe as useAllAmcContracts, ht as useAllLeases, Ue as useAllTransactions, ut as useAnalyticsData, Ft as useApproveVerification, ct as useAreaInsights, Xe as useAsset, Ye as useAssets, Tt as useBookViewing, Et as useCancelViewing, Nt as useCreateAmcContract, Ht as useCreateAsset, At as useCreateInvestment, gt as useCreateLease, $ as useCreateMaintenanceRequest, bt as useCreateProperty, jt as useCreateRentalUnit, kt as useCreateTransaction, Pt as useCreateVerification, Ie as useDashboardStats, Gt as useDeleteAmcContract, Vt as useDeleteInvestment, St as useDeleteProperty, ot as useHomeLoanOffer, at as useHomeLoans, qe as useInvestment, Ke as useInvestmentCompliance, Ge as useInvestments, it as useLegalService, rt as useLegalServices, yt as useMaintenanceRequests, st as useMarketTrends, et as useMarketplaceService, $e as useMarketplaceServices, Ve as useNaturalLanguageSearch, dt as useOffers, Re as useProperties, ze as useProperty, Le as useRecentActivities, It as useRejectVerification, wt as useRemoveShortlist, Wt as useRenewAmcContract, _t as useRenewLease, pt as useRentalApplications, Je as useRentalUnits, qt as useResolveMaintenanceRequest, Ot as useRespondOffer, Jt as useReviewRentalApplication, Ct as useSaveShortlist, lt as useShortlists, Dt as useSubmitOffer, Mt as useSubmitRentalApplication, vt as useTerminateLease, We as useTransaction, He as useTransactions, Ut as useUpdateAmcContract, Bt as useUpdateInvestment, xt as useUpdateProperty, Lt as useUpdatePropertyReraStatus, Kt as useUpdateTransaction, zt as useUpdateViewing, nt as useVerificationItem, tt as useVerifications, ft as useViewings, Rt as useWithdrawOffer };
1891
1899
 
1892
1900
  //# sourceMappingURL=index.js.map