gsintegrations 0.0.493 → 0.0.494

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 (52) hide show
  1. package/dist/bundle.cjs.js +2565 -1436
  2. package/dist/bundle.cjs.js.map +2 -2
  3. package/dist/bundle.esm.js +2552 -1437
  4. package/dist/bundle.esm.js.map +2 -2
  5. package/dist/index.d.ts +920 -611
  6. package/dist/types/pages/FinancialAccountsList/FinancialAccountsList.d.ts +22 -9
  7. package/dist/types/pages/FinancialAccountsList/FinancialAccountsList.types.d.ts +103 -64
  8. package/dist/types/pages/FinancialAccountsList/components/FinancialOverviewCard.d.ts +3 -1
  9. package/dist/types/pages/FinancialApp/FinancialAccountsPage.d.ts +10 -0
  10. package/dist/types/pages/FinancialApp/FinancialAddSheet.d.ts +9 -0
  11. package/dist/types/pages/FinancialApp/FinancialApp.types.d.ts +64 -0
  12. package/dist/types/pages/FinancialApp/FinancialAppShell.d.ts +4 -0
  13. package/dist/types/pages/FinancialApp/FinancialBottomNav.d.ts +16 -0
  14. package/dist/types/pages/FinancialApp/FinancialMonthlyFeePage.d.ts +17 -0
  15. package/dist/types/pages/FinancialApp/FinancialMovementSegment.d.ts +8 -0
  16. package/dist/types/pages/FinancialApp/FinancialSectionsCustomize.d.ts +11 -0
  17. package/dist/types/pages/FinancialApp/FinancialSummaryHeader.d.ts +27 -0
  18. package/dist/types/pages/FinancialApp/financialWidgets.catalog.d.ts +41 -0
  19. package/dist/types/pages/FinancialApp/index.d.ts +14 -0
  20. package/dist/types/pages/FinancialApp/useFinancialChrome.d.ts +6 -0
  21. package/dist/types/pages/FinancialRegisterPage/FinancialRegister.types.d.ts +9 -9
  22. package/dist/types/pages/FinancialRegisterPage/useFinancialRegister.d.ts +2 -2
  23. package/dist/types/pages/FinancialTransparencyPage/FinancialTransparencyPage.types.d.ts +163 -160
  24. package/dist/types/pages/FinancialTransparencyPage/useFinancialTransparencyPage.d.ts +45 -45
  25. package/dist/types/pages/HomePage/HomePage.types.d.ts +10 -0
  26. package/dist/types/pages/HomePage/components/HomeMenu.d.ts +2 -2
  27. package/dist/types/pages/HomePage/components/HomeMenu.types.d.ts +4 -4
  28. package/dist/types/pages/HomePage/components/ProfileSelectorDrawer.d.ts +4 -0
  29. package/dist/types/pages/HomePage/components/TopBar.d.ts +4 -0
  30. package/dist/types/pages/HomePage/components/TopBar.types.d.ts +26 -0
  31. package/dist/types/pages/HomePage/components/useProfileSelector.d.ts +2 -0
  32. package/dist/types/pages/HomePage/components/useTopBar.d.ts +4 -0
  33. package/dist/types/pages/HomePage/widgets/homeWidgets.catalog.d.ts +1 -1
  34. package/dist/types/pages/IncomeListPage/IncomeListPage.d.ts +2 -0
  35. package/dist/types/pages/IncomeListPage/IncomeListPage.types.d.ts +6 -0
  36. package/dist/types/pages/InviteLandingPage/InviteLandingPage.fixtures.d.ts +4 -4
  37. package/dist/types/pages/InviteLandingPage/InviteLandingPage.types.d.ts +12 -12
  38. package/dist/types/pages/InviteLandingPage/useInviteLandingPage.d.ts +1 -1
  39. package/dist/types/pages/MediumFinancialTransparencyPage/MediumFinancialTransparencyPage.types.d.ts +234 -230
  40. package/dist/types/pages/MediumFinancialTransparencyPage/useMediumFinancialTransparencyPage.d.ts +45 -45
  41. package/dist/types/pages/MonthlyFeePaymentsManagementPage/MonthlyFeePaymentsManagementPage.types.d.ts +15 -12
  42. package/dist/types/pages/MonthlyFeePaymentsManagementPage/useMonthlyFeePaymentsManagementPage.d.ts +5 -4
  43. package/dist/types/pages/OutcomeListPage/OutcomeListPage.d.ts +2 -0
  44. package/dist/types/pages/OutcomeListPage/OutcomeListPage.types.d.ts +6 -0
  45. package/dist/types/pages/SystemSettingsPage/SystemSettingsPage.types.d.ts +12 -0
  46. package/dist/types/pages/SystemSettingsPage/components/ArchiveTerreiroDialog.d.ts +10 -0
  47. package/dist/types/pages/SystemSettingsPage/components/ArchiveTerreiroSettingsCard.d.ts +7 -0
  48. package/dist/types/pages/SystemSettingsPage/components/RestoreTerreiroDialog.d.ts +10 -0
  49. package/dist/types/pages/TerreiroSearchPage/TerreiroSearchPage.types.d.ts +10 -10
  50. package/dist/types/pages/TerreiroSearchPage/useTerreiroSearchPage.d.ts +1 -1
  51. package/dist/types/pages/index.d.ts +1 -0
  52. package/package.json +1 -1
@@ -159,8 +159,8 @@ export declare const FinancialTransactionFormValuesSchema: z.ZodEffects<z.ZodObj
159
159
  value: number;
160
160
  description: string;
161
161
  isRecurring: boolean;
162
- paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque";
163
162
  settlementStatus: "PROJECTED" | "CONSOLIDATED";
163
+ paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque";
164
164
  categoryId: string;
165
165
  subcategoryId: string;
166
166
  hasDueDate: boolean;
@@ -199,8 +199,8 @@ export declare const FinancialTransactionFormValuesSchema: z.ZodEffects<z.ZodObj
199
199
  value: number;
200
200
  description: string;
201
201
  isRecurring: boolean;
202
- paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque";
203
202
  settlementStatus: "PROJECTED" | "CONSOLIDATED";
203
+ paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque";
204
204
  categoryId: string;
205
205
  subcategoryId: string;
206
206
  hasDueDate: boolean;
@@ -369,8 +369,8 @@ export declare const FinancialRegisterPagePropsSchema: z.ZodObject<{
369
369
  value: number;
370
370
  description: string;
371
371
  isRecurring: boolean;
372
- paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque";
373
372
  settlementStatus: "PROJECTED" | "CONSOLIDATED";
373
+ paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque";
374
374
  categoryId: string;
375
375
  subcategoryId: string;
376
376
  hasDueDate: boolean;
@@ -409,8 +409,8 @@ export declare const FinancialRegisterPagePropsSchema: z.ZodObject<{
409
409
  value: number;
410
410
  description: string;
411
411
  isRecurring: boolean;
412
- paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque";
413
412
  settlementStatus: "PROJECTED" | "CONSOLIDATED";
413
+ paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque";
414
414
  categoryId: string;
415
415
  subcategoryId: string;
416
416
  hasDueDate: boolean;
@@ -472,9 +472,9 @@ export declare const FinancialRegisterPagePropsSchema: z.ZodObject<{
472
472
  description?: string | undefined;
473
473
  dueDate?: string | undefined;
474
474
  isRecurring?: boolean | undefined;
475
- paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined;
476
475
  settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
477
476
  shareReason?: string | null | undefined;
477
+ paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined;
478
478
  transactionType?: "entrada" | "saida" | undefined;
479
479
  categoryId?: string | undefined;
480
480
  subcategoryId?: string | undefined;
@@ -492,9 +492,9 @@ export declare const FinancialRegisterPagePropsSchema: z.ZodObject<{
492
492
  description?: string | undefined;
493
493
  dueDate?: string | undefined;
494
494
  isRecurring?: boolean | undefined;
495
- paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined;
496
495
  settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
497
496
  shareReason?: string | null | undefined;
497
+ paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined;
498
498
  transactionType?: "entrada" | "saida" | undefined;
499
499
  categoryId?: string | undefined;
500
500
  subcategoryId?: string | undefined;
@@ -570,9 +570,9 @@ export declare const FinancialRegisterPagePropsSchema: z.ZodObject<{
570
570
  description?: string | undefined;
571
571
  dueDate?: string | undefined;
572
572
  isRecurring?: boolean | undefined;
573
- paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined;
574
573
  settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
575
574
  shareReason?: string | null | undefined;
575
+ paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined;
576
576
  transactionType?: "entrada" | "saida" | undefined;
577
577
  categoryId?: string | undefined;
578
578
  subcategoryId?: string | undefined;
@@ -596,8 +596,8 @@ export declare const FinancialRegisterPagePropsSchema: z.ZodObject<{
596
596
  value: number;
597
597
  description: string;
598
598
  isRecurring: boolean;
599
- paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque";
600
599
  settlementStatus: "PROJECTED" | "CONSOLIDATED";
600
+ paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque";
601
601
  categoryId: string;
602
602
  subcategoryId: string;
603
603
  hasDueDate: boolean;
@@ -619,9 +619,9 @@ export declare const FinancialRegisterPagePropsSchema: z.ZodObject<{
619
619
  description?: string | undefined;
620
620
  dueDate?: string | undefined;
621
621
  isRecurring?: boolean | undefined;
622
- paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined;
623
622
  settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
624
623
  shareReason?: string | null | undefined;
624
+ paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined;
625
625
  transactionType?: "entrada" | "saida" | undefined;
626
626
  categoryId?: string | undefined;
627
627
  subcategoryId?: string | undefined;
@@ -10,8 +10,8 @@ declare const useFinancialRegister: (props: FinancialRegisterPageProps) => {
10
10
  value: number;
11
11
  description: string;
12
12
  isRecurring: boolean;
13
- paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque";
14
13
  settlementStatus: "PROJECTED" | "CONSOLIDATED";
14
+ paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque";
15
15
  categoryId: string;
16
16
  subcategoryId: string;
17
17
  hasDueDate: boolean;
@@ -27,7 +27,7 @@ declare const useFinancialRegister: (props: FinancialRegisterPageProps) => {
27
27
  inventoryItemId?: string | undefined;
28
28
  purchasedQuantity?: number | undefined;
29
29
  };
30
- errors: Partial<Record<("value" | "description" | "isRecurring" | "paymentMethod" | "settlementStatus" | "categoryId" | "subcategoryId" | "hasDueDate" | "accountId" | "isSharedWithMembers") | ("id" | "dueDate" | "shareReason" | "transactionType" | "installments" | "observation" | "correctionReason" | "inventoryItemId" | "purchasedQuantity"), string>>;
30
+ errors: Partial<Record<("value" | "description" | "isRecurring" | "settlementStatus" | "paymentMethod" | "categoryId" | "subcategoryId" | "hasDueDate" | "accountId" | "isSharedWithMembers") | ("id" | "dueDate" | "shareReason" | "transactionType" | "installments" | "observation" | "correctionReason" | "inventoryItemId" | "purchasedQuantity"), string>>;
31
31
  isFormValid: boolean;
32
32
  isLoading: boolean;
33
33
  pageTitle: string;
@@ -457,46 +457,11 @@ export declare const FinancialTransparencyPagePropsSchema: z.ZodObject<{
457
457
  id: string;
458
458
  name: string;
459
459
  };
460
- period: {
461
- end: string;
462
- month: string;
463
- start: string;
464
- year: number;
465
- };
466
- formatted: {
467
- monthlyFee: string;
468
- totalPaidThisMonth: string;
469
- totalSharedExpenses: string;
470
- contributionPerMember: string;
471
- projectedPaidThisMonth?: string | undefined;
472
- totalPlannedThisMonth?: string | undefined;
473
- projectedSharedExpenses?: string | undefined;
474
- totalSharedExpensesWithProjected?: string | undefined;
475
- };
476
- paymentStatus: {
477
- hasPaidMonthlyFee: boolean;
478
- monthlyFeeAmount: number;
479
- totalPaidThisMonth: number;
480
- payments: {
481
- id: string;
482
- date: string;
483
- description: string | null;
484
- amount: number;
485
- formattedAmount: string;
486
- settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
487
- }[];
488
- projectedPaidThisMonth?: number | undefined;
489
- totalPlannedThisMonth?: number | undefined;
490
- consolidatedPaymentsCount?: number | undefined;
491
- projectedPaymentsCount?: number | undefined;
492
- projectedPayments?: {
493
- id: string;
494
- date: string;
495
- description: string | null;
496
- amount: number;
497
- formattedAmount: string;
498
- settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
499
- }[] | undefined;
460
+ contributionImpact: {
461
+ totalMembers: number;
462
+ amountPerMember: number;
463
+ monthlyFeeCovers: number;
464
+ monthlyFeeCoversTotal: number;
500
465
  };
501
466
  sharedExpenses: {
502
467
  items: {
@@ -540,37 +505,12 @@ export declare const FinancialTransparencyPagePropsSchema: z.ZodObject<{
540
505
  settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
541
506
  }[] | undefined;
542
507
  };
543
- contributionImpact: {
544
- totalMembers: number;
545
- amountPerMember: number;
546
- monthlyFeeCovers: number;
547
- monthlyFeeCoversTotal: number;
548
- };
549
- }, {
550
- medium: {
551
- id: string;
552
- name: string;
553
- };
554
- terreiro: {
555
- id: string;
556
- name: string;
557
- };
558
508
  period: {
559
509
  end: string;
560
510
  month: string;
561
511
  start: string;
562
512
  year: number;
563
513
  };
564
- formatted: {
565
- monthlyFee: string;
566
- totalPaidThisMonth: string;
567
- totalSharedExpenses: string;
568
- contributionPerMember: string;
569
- projectedPaidThisMonth?: string | undefined;
570
- totalPlannedThisMonth?: string | undefined;
571
- projectedSharedExpenses?: string | undefined;
572
- totalSharedExpensesWithProjected?: string | undefined;
573
- };
574
514
  paymentStatus: {
575
515
  hasPaidMonthlyFee: boolean;
576
516
  monthlyFeeAmount: number;
@@ -596,6 +536,31 @@ export declare const FinancialTransparencyPagePropsSchema: z.ZodObject<{
596
536
  settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
597
537
  }[] | undefined;
598
538
  };
539
+ formatted: {
540
+ monthlyFee: string;
541
+ totalPaidThisMonth: string;
542
+ totalSharedExpenses: string;
543
+ contributionPerMember: string;
544
+ projectedPaidThisMonth?: string | undefined;
545
+ totalPlannedThisMonth?: string | undefined;
546
+ projectedSharedExpenses?: string | undefined;
547
+ totalSharedExpensesWithProjected?: string | undefined;
548
+ };
549
+ }, {
550
+ medium: {
551
+ id: string;
552
+ name: string;
553
+ };
554
+ terreiro: {
555
+ id: string;
556
+ name: string;
557
+ };
558
+ contributionImpact: {
559
+ totalMembers: number;
560
+ amountPerMember: number;
561
+ monthlyFeeCovers: number;
562
+ monthlyFeeCoversTotal: number;
563
+ };
599
564
  sharedExpenses: {
600
565
  items: {
601
566
  id: string;
@@ -638,11 +603,46 @@ export declare const FinancialTransparencyPagePropsSchema: z.ZodObject<{
638
603
  settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
639
604
  }[] | undefined;
640
605
  };
641
- contributionImpact: {
642
- totalMembers: number;
643
- amountPerMember: number;
644
- monthlyFeeCovers: number;
645
- monthlyFeeCoversTotal: number;
606
+ period: {
607
+ end: string;
608
+ month: string;
609
+ start: string;
610
+ year: number;
611
+ };
612
+ paymentStatus: {
613
+ hasPaidMonthlyFee: boolean;
614
+ monthlyFeeAmount: number;
615
+ totalPaidThisMonth: number;
616
+ payments: {
617
+ id: string;
618
+ date: string;
619
+ description: string | null;
620
+ amount: number;
621
+ formattedAmount: string;
622
+ settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
623
+ }[];
624
+ projectedPaidThisMonth?: number | undefined;
625
+ totalPlannedThisMonth?: number | undefined;
626
+ consolidatedPaymentsCount?: number | undefined;
627
+ projectedPaymentsCount?: number | undefined;
628
+ projectedPayments?: {
629
+ id: string;
630
+ date: string;
631
+ description: string | null;
632
+ amount: number;
633
+ formattedAmount: string;
634
+ settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
635
+ }[] | undefined;
636
+ };
637
+ formatted: {
638
+ monthlyFee: string;
639
+ totalPaidThisMonth: string;
640
+ totalSharedExpenses: string;
641
+ contributionPerMember: string;
642
+ projectedPaidThisMonth?: string | undefined;
643
+ totalPlannedThisMonth?: string | undefined;
644
+ projectedSharedExpenses?: string | undefined;
645
+ totalSharedExpensesWithProjected?: string | undefined;
646
646
  };
647
647
  }>>>;
648
648
  isLoading: z.ZodOptional<z.ZodBoolean>;
@@ -665,10 +665,12 @@ export declare const FinancialTransparencyPagePropsSchema: z.ZodObject<{
665
665
  onNoteChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], null>, z.ZodVoid>>;
666
666
  onSelectReceipt: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodType<File | null, z.ZodTypeDef, File | null>], null>, z.ZodVoid>>;
667
667
  onSubmitReceipt: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
668
+ section: z.ZodOptional<z.ZodEnum<["overview", "receipt", "all"]>>;
668
669
  }, "strip", z.ZodTypeAny, {
669
670
  note: string;
670
671
  competenceMonth: string;
671
672
  paidAmount: string;
673
+ section?: "all" | "overview" | "receipt" | undefined;
672
674
  error?: string | null | undefined;
673
675
  isSubmitting?: boolean | undefined;
674
676
  onBack?: (() => void) | undefined;
@@ -710,46 +712,11 @@ export declare const FinancialTransparencyPagePropsSchema: z.ZodObject<{
710
712
  id: string;
711
713
  name: string;
712
714
  };
713
- period: {
714
- end: string;
715
- month: string;
716
- start: string;
717
- year: number;
718
- };
719
- formatted: {
720
- monthlyFee: string;
721
- totalPaidThisMonth: string;
722
- totalSharedExpenses: string;
723
- contributionPerMember: string;
724
- projectedPaidThisMonth?: string | undefined;
725
- totalPlannedThisMonth?: string | undefined;
726
- projectedSharedExpenses?: string | undefined;
727
- totalSharedExpensesWithProjected?: string | undefined;
728
- };
729
- paymentStatus: {
730
- hasPaidMonthlyFee: boolean;
731
- monthlyFeeAmount: number;
732
- totalPaidThisMonth: number;
733
- payments: {
734
- id: string;
735
- date: string;
736
- description: string | null;
737
- amount: number;
738
- formattedAmount: string;
739
- settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
740
- }[];
741
- projectedPaidThisMonth?: number | undefined;
742
- totalPlannedThisMonth?: number | undefined;
743
- consolidatedPaymentsCount?: number | undefined;
744
- projectedPaymentsCount?: number | undefined;
745
- projectedPayments?: {
746
- id: string;
747
- date: string;
748
- description: string | null;
749
- amount: number;
750
- formattedAmount: string;
751
- settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
752
- }[] | undefined;
715
+ contributionImpact: {
716
+ totalMembers: number;
717
+ amountPerMember: number;
718
+ monthlyFeeCovers: number;
719
+ monthlyFeeCoversTotal: number;
753
720
  };
754
721
  sharedExpenses: {
755
722
  items: {
@@ -793,17 +760,53 @@ export declare const FinancialTransparencyPagePropsSchema: z.ZodObject<{
793
760
  settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
794
761
  }[] | undefined;
795
762
  };
796
- contributionImpact: {
797
- totalMembers: number;
798
- amountPerMember: number;
799
- monthlyFeeCovers: number;
800
- monthlyFeeCoversTotal: number;
763
+ period: {
764
+ end: string;
765
+ month: string;
766
+ start: string;
767
+ year: number;
768
+ };
769
+ paymentStatus: {
770
+ hasPaidMonthlyFee: boolean;
771
+ monthlyFeeAmount: number;
772
+ totalPaidThisMonth: number;
773
+ payments: {
774
+ id: string;
775
+ date: string;
776
+ description: string | null;
777
+ amount: number;
778
+ formattedAmount: string;
779
+ settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
780
+ }[];
781
+ projectedPaidThisMonth?: number | undefined;
782
+ totalPlannedThisMonth?: number | undefined;
783
+ consolidatedPaymentsCount?: number | undefined;
784
+ projectedPaymentsCount?: number | undefined;
785
+ projectedPayments?: {
786
+ id: string;
787
+ date: string;
788
+ description: string | null;
789
+ amount: number;
790
+ formattedAmount: string;
791
+ settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
792
+ }[] | undefined;
793
+ };
794
+ formatted: {
795
+ monthlyFee: string;
796
+ totalPaidThisMonth: string;
797
+ totalSharedExpenses: string;
798
+ contributionPerMember: string;
799
+ projectedPaidThisMonth?: string | undefined;
800
+ totalPlannedThisMonth?: string | undefined;
801
+ projectedSharedExpenses?: string | undefined;
802
+ totalSharedExpensesWithProjected?: string | undefined;
801
803
  };
802
804
  } | null | undefined;
803
805
  }, {
804
806
  note: string;
805
807
  competenceMonth: string;
806
808
  paidAmount: string;
809
+ section?: "all" | "overview" | "receipt" | undefined;
807
810
  error?: string | null | undefined;
808
811
  isSubmitting?: boolean | undefined;
809
812
  onBack?: (() => void) | undefined;
@@ -845,46 +848,11 @@ export declare const FinancialTransparencyPagePropsSchema: z.ZodObject<{
845
848
  id: string;
846
849
  name: string;
847
850
  };
848
- period: {
849
- end: string;
850
- month: string;
851
- start: string;
852
- year: number;
853
- };
854
- formatted: {
855
- monthlyFee: string;
856
- totalPaidThisMonth: string;
857
- totalSharedExpenses: string;
858
- contributionPerMember: string;
859
- projectedPaidThisMonth?: string | undefined;
860
- totalPlannedThisMonth?: string | undefined;
861
- projectedSharedExpenses?: string | undefined;
862
- totalSharedExpensesWithProjected?: string | undefined;
863
- };
864
- paymentStatus: {
865
- hasPaidMonthlyFee: boolean;
866
- monthlyFeeAmount: number;
867
- totalPaidThisMonth: number;
868
- payments: {
869
- id: string;
870
- date: string;
871
- description: string | null;
872
- amount: number;
873
- formattedAmount: string;
874
- settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
875
- }[];
876
- projectedPaidThisMonth?: number | undefined;
877
- totalPlannedThisMonth?: number | undefined;
878
- consolidatedPaymentsCount?: number | undefined;
879
- projectedPaymentsCount?: number | undefined;
880
- projectedPayments?: {
881
- id: string;
882
- date: string;
883
- description: string | null;
884
- amount: number;
885
- formattedAmount: string;
886
- settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
887
- }[] | undefined;
851
+ contributionImpact: {
852
+ totalMembers: number;
853
+ amountPerMember: number;
854
+ monthlyFeeCovers: number;
855
+ monthlyFeeCoversTotal: number;
888
856
  };
889
857
  sharedExpenses: {
890
858
  items: {
@@ -928,11 +896,46 @@ export declare const FinancialTransparencyPagePropsSchema: z.ZodObject<{
928
896
  settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
929
897
  }[] | undefined;
930
898
  };
931
- contributionImpact: {
932
- totalMembers: number;
933
- amountPerMember: number;
934
- monthlyFeeCovers: number;
935
- monthlyFeeCoversTotal: number;
899
+ period: {
900
+ end: string;
901
+ month: string;
902
+ start: string;
903
+ year: number;
904
+ };
905
+ paymentStatus: {
906
+ hasPaidMonthlyFee: boolean;
907
+ monthlyFeeAmount: number;
908
+ totalPaidThisMonth: number;
909
+ payments: {
910
+ id: string;
911
+ date: string;
912
+ description: string | null;
913
+ amount: number;
914
+ formattedAmount: string;
915
+ settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
916
+ }[];
917
+ projectedPaidThisMonth?: number | undefined;
918
+ totalPlannedThisMonth?: number | undefined;
919
+ consolidatedPaymentsCount?: number | undefined;
920
+ projectedPaymentsCount?: number | undefined;
921
+ projectedPayments?: {
922
+ id: string;
923
+ date: string;
924
+ description: string | null;
925
+ amount: number;
926
+ formattedAmount: string;
927
+ settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
928
+ }[] | undefined;
929
+ };
930
+ formatted: {
931
+ monthlyFee: string;
932
+ totalPaidThisMonth: string;
933
+ totalSharedExpenses: string;
934
+ contributionPerMember: string;
935
+ projectedPaidThisMonth?: string | undefined;
936
+ totalPlannedThisMonth?: string | undefined;
937
+ projectedSharedExpenses?: string | undefined;
938
+ totalSharedExpensesWithProjected?: string | undefined;
936
939
  };
937
940
  } | null | undefined;
938
941
  }>;
@@ -31,46 +31,11 @@ declare const useFinancialTransparencyPage: (props: FinancialTransparencyPagePro
31
31
  id: string;
32
32
  name: string;
33
33
  };
34
- period: {
35
- end: string;
36
- month: string;
37
- start: string;
38
- year: number;
39
- };
40
- formatted: {
41
- monthlyFee: string;
42
- totalPaidThisMonth: string;
43
- totalSharedExpenses: string;
44
- contributionPerMember: string;
45
- projectedPaidThisMonth?: string | undefined;
46
- totalPlannedThisMonth?: string | undefined;
47
- projectedSharedExpenses?: string | undefined;
48
- totalSharedExpensesWithProjected?: string | undefined;
49
- };
50
- paymentStatus: {
51
- hasPaidMonthlyFee: boolean;
52
- monthlyFeeAmount: number;
53
- totalPaidThisMonth: number;
54
- payments: {
55
- id: string;
56
- date: string;
57
- description: string | null;
58
- amount: number;
59
- formattedAmount: string;
60
- settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
61
- }[];
62
- projectedPaidThisMonth?: number | undefined;
63
- totalPlannedThisMonth?: number | undefined;
64
- consolidatedPaymentsCount?: number | undefined;
65
- projectedPaymentsCount?: number | undefined;
66
- projectedPayments?: {
67
- id: string;
68
- date: string;
69
- description: string | null;
70
- amount: number;
71
- formattedAmount: string;
72
- settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
73
- }[] | undefined;
34
+ contributionImpact: {
35
+ totalMembers: number;
36
+ amountPerMember: number;
37
+ monthlyFeeCovers: number;
38
+ monthlyFeeCoversTotal: number;
74
39
  };
75
40
  sharedExpenses: {
76
41
  items: {
@@ -114,11 +79,46 @@ declare const useFinancialTransparencyPage: (props: FinancialTransparencyPagePro
114
79
  settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
115
80
  }[] | undefined;
116
81
  };
117
- contributionImpact: {
118
- totalMembers: number;
119
- amountPerMember: number;
120
- monthlyFeeCovers: number;
121
- monthlyFeeCoversTotal: number;
82
+ period: {
83
+ end: string;
84
+ month: string;
85
+ start: string;
86
+ year: number;
87
+ };
88
+ paymentStatus: {
89
+ hasPaidMonthlyFee: boolean;
90
+ monthlyFeeAmount: number;
91
+ totalPaidThisMonth: number;
92
+ payments: {
93
+ id: string;
94
+ date: string;
95
+ description: string | null;
96
+ amount: number;
97
+ formattedAmount: string;
98
+ settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
99
+ }[];
100
+ projectedPaidThisMonth?: number | undefined;
101
+ totalPlannedThisMonth?: number | undefined;
102
+ consolidatedPaymentsCount?: number | undefined;
103
+ projectedPaymentsCount?: number | undefined;
104
+ projectedPayments?: {
105
+ id: string;
106
+ date: string;
107
+ description: string | null;
108
+ amount: number;
109
+ formattedAmount: string;
110
+ settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
111
+ }[] | undefined;
112
+ };
113
+ formatted: {
114
+ monthlyFee: string;
115
+ totalPaidThisMonth: string;
116
+ totalSharedExpenses: string;
117
+ contributionPerMember: string;
118
+ projectedPaidThisMonth?: string | undefined;
119
+ totalPlannedThisMonth?: string | undefined;
120
+ projectedSharedExpenses?: string | undefined;
121
+ totalSharedExpensesWithProjected?: string | undefined;
122
122
  };
123
123
  } | null | undefined;
124
124
  isLoading: boolean;
@@ -22,6 +22,10 @@ export interface Terreiro {
22
22
  badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED";
23
23
  /** Completeness score percentage (0-100) */
24
24
  completenessScore?: number;
25
+ /** House lifecycle status. Missing means the house is treated as active. */
26
+ status?: "ACTIVE" | "INACTIVE" | "ARCHIVED";
27
+ /** Whether the current user can archive or restore this house. */
28
+ canArchive?: boolean;
25
29
  }
26
30
  export type ProfileSelectorEntryPoint = "top_bar_avatar" | "bottom_nav_logo";
27
31
  export type ProfileSelectorOpenPayload = {
@@ -166,6 +170,12 @@ export interface HomePageProps {
166
170
  terreiros?: (Terreiro | null)[];
167
171
  /** Callback when terreiro selection changes */
168
172
  onTerreiroChange?: (terreiro: Terreiro | null) => void;
173
+ /** Confirms archiving a house after the consequence dialog. */
174
+ onArchiveTerreiro?: (terreiro: Terreiro) => void | Promise<void>;
175
+ /** Confirms restoring an archived house. */
176
+ onRestoreTerreiro?: (terreiro: Terreiro) => void | Promise<void>;
177
+ isArchivingTerreiro?: boolean;
178
+ isRestoringTerreiro?: boolean;
169
179
  /** Callback when the profile selector drawer is opened */
170
180
  onProfileSelectorOpen?: (payload: ProfileSelectorOpenPayload) => void;
171
181
  /** Callback when a profile option is selected in the drawer */
@@ -11,6 +11,7 @@ declare const _default: React.NamedExoticComponent<{
11
11
  description?: string | undefined;
12
12
  badge?: string | number | undefined;
13
13
  }[];
14
+ onWidgetVisibilityChange: (args_0: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals", args_1: boolean) => void;
14
15
  onActionClick: (args_0: string) => void;
15
16
  widgets: {
16
17
  title: string;
@@ -18,9 +19,7 @@ declare const _default: React.NamedExoticComponent<{
18
19
  visible: boolean;
19
20
  description: string;
20
21
  }[];
21
- onWidgetVisibilityChange: (args_0: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals", args_1: boolean) => void;
22
22
  showQuickActions?: boolean | undefined;
23
- onShowQuickActionsChange?: ((args_0: boolean) => void) | undefined;
24
23
  widgetOrder?: ("attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals")[] | undefined;
25
24
  onWidgetOrderChange?: ((args_0: ("attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals")[], args_1: {
26
25
  method: "reset" | "drag" | "arrow_up" | "arrow_down";
@@ -28,6 +27,7 @@ declare const _default: React.NamedExoticComponent<{
28
27
  fromIndex?: number | undefined;
29
28
  toIndex?: number | undefined;
30
29
  } | undefined) => void) | undefined;
30
+ onShowQuickActionsChange?: ((args_0: boolean) => void) | undefined;
31
31
  reorderableWidgets?: {
32
32
  title: string;
33
33
  id: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals";