gsintegrations 0.0.493 → 0.0.495
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.
- package/dist/bundle.cjs.js +2731 -1554
- package/dist/bundle.cjs.js.map +2 -2
- package/dist/bundle.esm.js +2718 -1555
- package/dist/bundle.esm.js.map +2 -2
- package/dist/index.d.ts +981 -663
- package/dist/types/pages/FinancialAccountsList/FinancialAccountsList.d.ts +32 -19
- package/dist/types/pages/FinancialAccountsList/FinancialAccountsList.types.d.ts +123 -84
- package/dist/types/pages/FinancialAccountsList/components/FinancialOverviewCard.d.ts +3 -1
- package/dist/types/pages/FinancialApp/FinancialAccountsPage.d.ts +10 -0
- package/dist/types/pages/FinancialApp/FinancialAddSheet.d.ts +9 -0
- package/dist/types/pages/FinancialApp/FinancialApp.types.d.ts +64 -0
- package/dist/types/pages/FinancialApp/FinancialAppShell.d.ts +4 -0
- package/dist/types/pages/FinancialApp/FinancialBottomNav.d.ts +16 -0
- package/dist/types/pages/FinancialApp/FinancialMonthlyFeePage.d.ts +17 -0
- package/dist/types/pages/FinancialApp/FinancialMovementSegment.d.ts +8 -0
- package/dist/types/pages/FinancialApp/FinancialSectionsCustomize.d.ts +11 -0
- package/dist/types/pages/FinancialApp/FinancialSummaryHeader.d.ts +32 -0
- package/dist/types/pages/FinancialApp/financialWidgets.catalog.d.ts +41 -0
- package/dist/types/pages/FinancialApp/index.d.ts +14 -0
- package/dist/types/pages/FinancialApp/useFinancialChrome.d.ts +6 -0
- package/dist/types/pages/FinancialRegisterPage/FinancialRegister.types.d.ts +9 -9
- package/dist/types/pages/FinancialRegisterPage/useFinancialRegister.d.ts +2 -2
- package/dist/types/pages/FinancialTransparencyPage/FinancialTransparencyPage.types.d.ts +163 -160
- package/dist/types/pages/FinancialTransparencyPage/useFinancialTransparencyPage.d.ts +45 -45
- package/dist/types/pages/HomePage/HomePage.types.d.ts +10 -0
- package/dist/types/pages/HomePage/components/HomeMenu.d.ts +2 -2
- package/dist/types/pages/HomePage/components/HomeMenu.types.d.ts +4 -4
- package/dist/types/pages/HomePage/components/ProfileSelectorDrawer.d.ts +4 -0
- package/dist/types/pages/HomePage/components/TopBar.d.ts +4 -0
- package/dist/types/pages/HomePage/components/TopBar.types.d.ts +26 -0
- package/dist/types/pages/HomePage/components/useProfileSelector.d.ts +2 -0
- package/dist/types/pages/HomePage/components/useTopBar.d.ts +4 -0
- package/dist/types/pages/HomePage/widgets/homeWidgets.catalog.d.ts +1 -1
- package/dist/types/pages/IncomeListPage/IncomeListPage.d.ts +4 -0
- package/dist/types/pages/IncomeListPage/IncomeListPage.types.d.ts +12 -0
- package/dist/types/pages/InviteLandingPage/InviteLandingPage.fixtures.d.ts +4 -4
- package/dist/types/pages/InviteLandingPage/InviteLandingPage.types.d.ts +12 -12
- package/dist/types/pages/InviteLandingPage/useInviteLandingPage.d.ts +1 -1
- package/dist/types/pages/MediumFinancialTransparencyPage/MediumFinancialTransparencyPage.types.d.ts +234 -230
- package/dist/types/pages/MediumFinancialTransparencyPage/useMediumFinancialTransparencyPage.d.ts +45 -45
- package/dist/types/pages/MonthlyFeePaymentsManagementPage/MonthlyFeePaymentsManagementPage.types.d.ts +15 -12
- package/dist/types/pages/MonthlyFeePaymentsManagementPage/useMonthlyFeePaymentsManagementPage.d.ts +5 -4
- package/dist/types/pages/OutcomeListPage/OutcomeListPage.d.ts +4 -0
- package/dist/types/pages/OutcomeListPage/OutcomeListPage.types.d.ts +12 -0
- package/dist/types/pages/SystemSettingsPage/SystemSettingsPage.types.d.ts +12 -0
- package/dist/types/pages/SystemSettingsPage/components/ArchiveTerreiroDialog.d.ts +10 -0
- package/dist/types/pages/SystemSettingsPage/components/ArchiveTerreiroSettingsCard.d.ts +7 -0
- package/dist/types/pages/SystemSettingsPage/components/RestoreTerreiroDialog.d.ts +10 -0
- package/dist/types/pages/TerreiroSearchPage/TerreiroSearchPage.types.d.ts +10 -10
- package/dist/types/pages/TerreiroSearchPage/useTerreiroSearchPage.d.ts +1 -1
- package/dist/types/pages/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -31,46 +31,11 @@ declare const useFinancialTransparencyPage: (props: FinancialTransparencyPagePro
|
|
|
31
31
|
id: string;
|
|
32
32
|
name: string;
|
|
33
33
|
};
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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";
|
|
@@ -154,6 +154,7 @@ export declare const HomeMenuPropsSchema: z.ZodObject<{
|
|
|
154
154
|
description?: string | undefined;
|
|
155
155
|
badge?: string | number | undefined;
|
|
156
156
|
}[];
|
|
157
|
+
onWidgetVisibilityChange: (args_0: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals", args_1: boolean) => void;
|
|
157
158
|
onActionClick: (args_0: string) => void;
|
|
158
159
|
widgets: {
|
|
159
160
|
title: string;
|
|
@@ -161,9 +162,7 @@ export declare const HomeMenuPropsSchema: z.ZodObject<{
|
|
|
161
162
|
visible: boolean;
|
|
162
163
|
description: string;
|
|
163
164
|
}[];
|
|
164
|
-
onWidgetVisibilityChange: (args_0: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals", args_1: boolean) => void;
|
|
165
165
|
showQuickActions?: boolean | undefined;
|
|
166
|
-
onShowQuickActionsChange?: ((args_0: boolean) => void) | undefined;
|
|
167
166
|
widgetOrder?: ("attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals")[] | undefined;
|
|
168
167
|
onWidgetOrderChange?: ((args_0: ("attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals")[], args_1: {
|
|
169
168
|
method: "reset" | "drag" | "arrow_up" | "arrow_down";
|
|
@@ -171,6 +170,7 @@ export declare const HomeMenuPropsSchema: z.ZodObject<{
|
|
|
171
170
|
fromIndex?: number | undefined;
|
|
172
171
|
toIndex?: number | undefined;
|
|
173
172
|
} | undefined) => void) | undefined;
|
|
173
|
+
onShowQuickActionsChange?: ((args_0: boolean) => void) | undefined;
|
|
174
174
|
reorderableWidgets?: {
|
|
175
175
|
title: string;
|
|
176
176
|
id: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals";
|
|
@@ -205,6 +205,7 @@ export declare const HomeMenuPropsSchema: z.ZodObject<{
|
|
|
205
205
|
description?: string | undefined;
|
|
206
206
|
badge?: string | number | undefined;
|
|
207
207
|
}[];
|
|
208
|
+
onWidgetVisibilityChange: (args_0: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals", args_1: boolean) => void;
|
|
208
209
|
onActionClick: (args_0: string) => void;
|
|
209
210
|
widgets: {
|
|
210
211
|
title: string;
|
|
@@ -212,9 +213,7 @@ export declare const HomeMenuPropsSchema: z.ZodObject<{
|
|
|
212
213
|
visible: boolean;
|
|
213
214
|
description: string;
|
|
214
215
|
}[];
|
|
215
|
-
onWidgetVisibilityChange: (args_0: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals", args_1: boolean) => void;
|
|
216
216
|
showQuickActions?: boolean | undefined;
|
|
217
|
-
onShowQuickActionsChange?: ((args_0: boolean) => void) | undefined;
|
|
218
217
|
widgetOrder?: ("attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals")[] | undefined;
|
|
219
218
|
onWidgetOrderChange?: ((args_0: ("attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals")[], args_1: {
|
|
220
219
|
method: "reset" | "drag" | "arrow_up" | "arrow_down";
|
|
@@ -222,6 +221,7 @@ export declare const HomeMenuPropsSchema: z.ZodObject<{
|
|
|
222
221
|
fromIndex?: number | undefined;
|
|
223
222
|
toIndex?: number | undefined;
|
|
224
223
|
} | undefined) => void) | undefined;
|
|
224
|
+
onShowQuickActionsChange?: ((args_0: boolean) => void) | undefined;
|
|
225
225
|
reorderableWidgets?: {
|
|
226
226
|
title: string;
|
|
227
227
|
id: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals";
|
|
@@ -6,6 +6,10 @@ export type ProfileSelectorDrawerProps = {
|
|
|
6
6
|
terreiros: (Terreiro | null)[];
|
|
7
7
|
selectedTerreiroIdx: number;
|
|
8
8
|
onTerreiroSelect: (idx: number) => void;
|
|
9
|
+
onArchiveTerreiro?: (terreiro: Terreiro) => void | Promise<void>;
|
|
10
|
+
onRestoreTerreiro?: (terreiro: Terreiro) => void | Promise<void>;
|
|
11
|
+
isArchiving?: boolean;
|
|
12
|
+
isRestoring?: boolean;
|
|
9
13
|
inviteShareUrl?: string;
|
|
10
14
|
snackbarOpen: boolean;
|
|
11
15
|
snackbarMsg: string;
|
|
@@ -8,9 +8,11 @@ declare const TopBar: React.NamedExoticComponent<{
|
|
|
8
8
|
terreiros: ({
|
|
9
9
|
id: string;
|
|
10
10
|
name: string;
|
|
11
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
11
12
|
completenessScore?: number | undefined;
|
|
12
13
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
13
14
|
imageUrl?: string | null | undefined;
|
|
15
|
+
canArchive?: boolean | undefined;
|
|
14
16
|
} | null)[];
|
|
15
17
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
16
18
|
user?: {
|
|
@@ -37,9 +39,11 @@ declare const TopBar: React.NamedExoticComponent<{
|
|
|
37
39
|
onTerreiroChange?: ((args_0: {
|
|
38
40
|
id: string;
|
|
39
41
|
name: string;
|
|
42
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
40
43
|
completenessScore?: number | undefined;
|
|
41
44
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
42
45
|
imageUrl?: string | null | undefined;
|
|
46
|
+
canArchive?: boolean | undefined;
|
|
43
47
|
} | null) => void) | undefined;
|
|
44
48
|
selectedTerreiroIdx?: number | undefined;
|
|
45
49
|
mediumStatus?: "PENDING" | "APPROVED" | "REJECTED" | undefined;
|
|
@@ -34,18 +34,24 @@ export declare const TerreiroSchema: z.ZodObject<{
|
|
|
34
34
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
badgeTier: z.ZodOptional<z.ZodEnum<["STARTER", "BASIC", "ACTIVE", "VERIFIED"]>>;
|
|
36
36
|
completenessScore: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "ARCHIVED"]>>;
|
|
38
|
+
canArchive: z.ZodOptional<z.ZodBoolean>;
|
|
37
39
|
}, "strip", z.ZodTypeAny, {
|
|
38
40
|
id: string;
|
|
39
41
|
name: string;
|
|
42
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
40
43
|
completenessScore?: number | undefined;
|
|
41
44
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
42
45
|
imageUrl?: string | null | undefined;
|
|
46
|
+
canArchive?: boolean | undefined;
|
|
43
47
|
}, {
|
|
44
48
|
id: string;
|
|
45
49
|
name: string;
|
|
50
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
46
51
|
completenessScore?: number | undefined;
|
|
47
52
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
48
53
|
imageUrl?: string | null | undefined;
|
|
54
|
+
canArchive?: boolean | undefined;
|
|
49
55
|
}>;
|
|
50
56
|
export type Terreiro = z.infer<typeof TerreiroSchema>;
|
|
51
57
|
export declare const MediumStatusSchema: z.ZodOptional<z.ZodEnum<["PENDING", "APPROVED", "REJECTED"]>>;
|
|
@@ -118,18 +124,24 @@ export declare const TopBarPropsSchema: z.ZodObject<{
|
|
|
118
124
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
125
|
badgeTier: z.ZodOptional<z.ZodEnum<["STARTER", "BASIC", "ACTIVE", "VERIFIED"]>>;
|
|
120
126
|
completenessScore: z.ZodOptional<z.ZodNumber>;
|
|
127
|
+
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "ARCHIVED"]>>;
|
|
128
|
+
canArchive: z.ZodOptional<z.ZodBoolean>;
|
|
121
129
|
}, "strip", z.ZodTypeAny, {
|
|
122
130
|
id: string;
|
|
123
131
|
name: string;
|
|
132
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
124
133
|
completenessScore?: number | undefined;
|
|
125
134
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
126
135
|
imageUrl?: string | null | undefined;
|
|
136
|
+
canArchive?: boolean | undefined;
|
|
127
137
|
}, {
|
|
128
138
|
id: string;
|
|
129
139
|
name: string;
|
|
140
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
130
141
|
completenessScore?: number | undefined;
|
|
131
142
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
132
143
|
imageUrl?: string | null | undefined;
|
|
144
|
+
canArchive?: boolean | undefined;
|
|
133
145
|
}>>, "many">>>;
|
|
134
146
|
onTerreiroChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodNullable<z.ZodObject<{
|
|
135
147
|
id: z.ZodString;
|
|
@@ -137,18 +149,24 @@ export declare const TopBarPropsSchema: z.ZodObject<{
|
|
|
137
149
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
138
150
|
badgeTier: z.ZodOptional<z.ZodEnum<["STARTER", "BASIC", "ACTIVE", "VERIFIED"]>>;
|
|
139
151
|
completenessScore: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "ARCHIVED"]>>;
|
|
153
|
+
canArchive: z.ZodOptional<z.ZodBoolean>;
|
|
140
154
|
}, "strip", z.ZodTypeAny, {
|
|
141
155
|
id: string;
|
|
142
156
|
name: string;
|
|
157
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
143
158
|
completenessScore?: number | undefined;
|
|
144
159
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
145
160
|
imageUrl?: string | null | undefined;
|
|
161
|
+
canArchive?: boolean | undefined;
|
|
146
162
|
}, {
|
|
147
163
|
id: string;
|
|
148
164
|
name: string;
|
|
165
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
149
166
|
completenessScore?: number | undefined;
|
|
150
167
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
151
168
|
imageUrl?: string | null | undefined;
|
|
169
|
+
canArchive?: boolean | undefined;
|
|
152
170
|
}>>], null>, z.ZodVoid>>;
|
|
153
171
|
selectedTerreiroIdx: z.ZodOptional<z.ZodNumber>;
|
|
154
172
|
mediumStatus: z.ZodOptional<z.ZodEnum<["PENDING", "APPROVED", "REJECTED"]>>;
|
|
@@ -221,9 +239,11 @@ export declare const TopBarPropsSchema: z.ZodObject<{
|
|
|
221
239
|
terreiros: ({
|
|
222
240
|
id: string;
|
|
223
241
|
name: string;
|
|
242
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
224
243
|
completenessScore?: number | undefined;
|
|
225
244
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
226
245
|
imageUrl?: string | null | undefined;
|
|
246
|
+
canArchive?: boolean | undefined;
|
|
227
247
|
} | null)[];
|
|
228
248
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
229
249
|
user?: {
|
|
@@ -250,9 +270,11 @@ export declare const TopBarPropsSchema: z.ZodObject<{
|
|
|
250
270
|
onTerreiroChange?: ((args_0: {
|
|
251
271
|
id: string;
|
|
252
272
|
name: string;
|
|
273
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
253
274
|
completenessScore?: number | undefined;
|
|
254
275
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
255
276
|
imageUrl?: string | null | undefined;
|
|
277
|
+
canArchive?: boolean | undefined;
|
|
256
278
|
} | null) => void) | undefined;
|
|
257
279
|
selectedTerreiroIdx?: number | undefined;
|
|
258
280
|
mediumStatus?: "PENDING" | "APPROVED" | "REJECTED" | undefined;
|
|
@@ -305,16 +327,20 @@ export declare const TopBarPropsSchema: z.ZodObject<{
|
|
|
305
327
|
terreiros?: ({
|
|
306
328
|
id: string;
|
|
307
329
|
name: string;
|
|
330
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
308
331
|
completenessScore?: number | undefined;
|
|
309
332
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
310
333
|
imageUrl?: string | null | undefined;
|
|
334
|
+
canArchive?: boolean | undefined;
|
|
311
335
|
} | null)[] | undefined;
|
|
312
336
|
onTerreiroChange?: ((args_0: {
|
|
313
337
|
id: string;
|
|
314
338
|
name: string;
|
|
339
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
315
340
|
completenessScore?: number | undefined;
|
|
316
341
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
317
342
|
imageUrl?: string | null | undefined;
|
|
343
|
+
canArchive?: boolean | undefined;
|
|
318
344
|
} | null) => void) | undefined;
|
|
319
345
|
selectedTerreiroIdx?: number | undefined;
|
|
320
346
|
mediumStatus?: "PENDING" | "APPROVED" | "REJECTED" | undefined;
|
|
@@ -16,9 +16,11 @@ declare const useProfileSelector: ({ terreiros, selectedTerreiroIdx, onTerreiroC
|
|
|
16
16
|
terreiros: ({
|
|
17
17
|
id: string;
|
|
18
18
|
name: string;
|
|
19
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
19
20
|
completenessScore?: number | undefined;
|
|
20
21
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
21
22
|
imageUrl?: string | null | undefined;
|
|
23
|
+
canArchive?: boolean | undefined;
|
|
22
24
|
} | null)[];
|
|
23
25
|
};
|
|
24
26
|
fns: {
|
|
@@ -7,16 +7,20 @@ declare const useTopBar: (props: Pick<TopBarProps, "terreiros" | "selectedTerrei
|
|
|
7
7
|
terreiro: {
|
|
8
8
|
id: string;
|
|
9
9
|
name: string;
|
|
10
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
10
11
|
completenessScore?: number | undefined;
|
|
11
12
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
12
13
|
imageUrl?: string | null | undefined;
|
|
14
|
+
canArchive?: boolean | undefined;
|
|
13
15
|
} | null;
|
|
14
16
|
terreiros: ({
|
|
15
17
|
id: string;
|
|
16
18
|
name: string;
|
|
19
|
+
status?: "ACTIVE" | "INACTIVE" | "ARCHIVED" | undefined;
|
|
17
20
|
completenessScore?: number | undefined;
|
|
18
21
|
badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined;
|
|
19
22
|
imageUrl?: string | null | undefined;
|
|
23
|
+
canArchive?: boolean | undefined;
|
|
20
24
|
} | null)[];
|
|
21
25
|
};
|
|
22
26
|
};
|
|
@@ -16,8 +16,8 @@ export declare const HomeWidgetCatalogEntrySchema: z.ZodObject<{
|
|
|
16
16
|
id: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals";
|
|
17
17
|
description: string;
|
|
18
18
|
defaultVisible: boolean;
|
|
19
|
-
reorderable: boolean;
|
|
20
19
|
profiles: ("terreiro" | "personal")[];
|
|
20
|
+
reorderable: boolean;
|
|
21
21
|
}, {
|
|
22
22
|
title: string;
|
|
23
23
|
id: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals";
|
|
@@ -45,6 +45,10 @@ declare const _default: React.NamedExoticComponent<{
|
|
|
45
45
|
onResetToCurrentPeriod?: (() => void) | undefined;
|
|
46
46
|
onBack?: ((...args: unknown[]) => void) | undefined;
|
|
47
47
|
onAdd?: ((...args: unknown[]) => void) | undefined;
|
|
48
|
+
movementKind?: "income" | "outcome" | undefined;
|
|
49
|
+
incomeTotalLabel?: string | undefined;
|
|
50
|
+
outcomeTotalLabel?: string | undefined;
|
|
51
|
+
onMovementKindChange?: ((args_0: "income" | "outcome") => void) | undefined;
|
|
48
52
|
showPeriodFilter?: boolean | undefined;
|
|
49
53
|
onToggleSettlementStatus?: ((args_0: string, args_1: "PROJECTED" | "CONSOLIDATED") => void) | undefined;
|
|
50
54
|
}>;
|
|
@@ -370,6 +370,10 @@ export declare const IncomeListPagePropsSchema: z.ZodObject<{
|
|
|
370
370
|
canConfirmTransactions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
371
371
|
isUpdatingSettlementStatus: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
372
372
|
onToggleSettlementStatus: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodEnum<["PROJECTED", "CONSOLIDATED"]>], null>, z.ZodVoid>>;
|
|
373
|
+
movementKind: z.ZodOptional<z.ZodEnum<["income", "outcome"]>>;
|
|
374
|
+
onMovementKindChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodEnum<["income", "outcome"]>], null>, z.ZodVoid>>;
|
|
375
|
+
incomeTotalLabel: z.ZodOptional<z.ZodString>;
|
|
376
|
+
outcomeTotalLabel: z.ZodOptional<z.ZodString>;
|
|
373
377
|
data: z.ZodOptional<z.ZodObject<{
|
|
374
378
|
month: z.ZodNumber;
|
|
375
379
|
year: z.ZodNumber;
|
|
@@ -600,6 +604,10 @@ export declare const IncomeListPagePropsSchema: z.ZodObject<{
|
|
|
600
604
|
onResetToCurrentPeriod?: (() => void) | undefined;
|
|
601
605
|
onBack?: ((...args: unknown[]) => void) | undefined;
|
|
602
606
|
onAdd?: ((...args: unknown[]) => void) | undefined;
|
|
607
|
+
movementKind?: "income" | "outcome" | undefined;
|
|
608
|
+
incomeTotalLabel?: string | undefined;
|
|
609
|
+
outcomeTotalLabel?: string | undefined;
|
|
610
|
+
onMovementKindChange?: ((args_0: "income" | "outcome") => void) | undefined;
|
|
603
611
|
showPeriodFilter?: boolean | undefined;
|
|
604
612
|
onToggleSettlementStatus?: ((args_0: string, args_1: "PROJECTED" | "CONSOLIDATED") => void) | undefined;
|
|
605
613
|
}, {
|
|
@@ -646,6 +654,10 @@ export declare const IncomeListPagePropsSchema: z.ZodObject<{
|
|
|
646
654
|
onResetToCurrentPeriod?: (() => void) | undefined;
|
|
647
655
|
onBack?: ((...args: unknown[]) => void) | undefined;
|
|
648
656
|
onAdd?: ((...args: unknown[]) => void) | undefined;
|
|
657
|
+
movementKind?: "income" | "outcome" | undefined;
|
|
658
|
+
incomeTotalLabel?: string | undefined;
|
|
659
|
+
outcomeTotalLabel?: string | undefined;
|
|
660
|
+
onMovementKindChange?: ((args_0: "income" | "outcome") => void) | undefined;
|
|
649
661
|
showPeriodFilter?: boolean | undefined;
|
|
650
662
|
canConfirmTransactions?: boolean | undefined;
|
|
651
663
|
isUpdatingSettlementStatus?: boolean | undefined;
|
|
@@ -6,8 +6,8 @@ export declare const mockTerreiroFull: {
|
|
|
6
6
|
name: string;
|
|
7
7
|
imageUrl?: string | null | undefined;
|
|
8
8
|
monthlyFee?: {
|
|
9
|
-
dueDay: number;
|
|
10
9
|
amount: number;
|
|
10
|
+
dueDay: number;
|
|
11
11
|
paymentMethod?: string | null | undefined;
|
|
12
12
|
} | null | undefined;
|
|
13
13
|
privacyPolicyUrl?: string | null | undefined;
|
|
@@ -28,8 +28,8 @@ export declare const mockTerreiroNoFee: {
|
|
|
28
28
|
name: string;
|
|
29
29
|
imageUrl?: string | null | undefined;
|
|
30
30
|
monthlyFee?: {
|
|
31
|
-
dueDay: number;
|
|
32
31
|
amount: number;
|
|
32
|
+
dueDay: number;
|
|
33
33
|
paymentMethod?: string | null | undefined;
|
|
34
34
|
} | null | undefined;
|
|
35
35
|
privacyPolicyUrl?: string | null | undefined;
|
|
@@ -50,8 +50,8 @@ export declare const mockTerreiroNoPolicy: {
|
|
|
50
50
|
name: string;
|
|
51
51
|
imageUrl?: string | null | undefined;
|
|
52
52
|
monthlyFee?: {
|
|
53
|
-
dueDay: number;
|
|
54
53
|
amount: number;
|
|
54
|
+
dueDay: number;
|
|
55
55
|
paymentMethod?: string | null | undefined;
|
|
56
56
|
} | null | undefined;
|
|
57
57
|
privacyPolicyUrl?: string | null | undefined;
|
|
@@ -72,8 +72,8 @@ export declare const mockTerreiroMinimal: {
|
|
|
72
72
|
name: string;
|
|
73
73
|
imageUrl?: string | null | undefined;
|
|
74
74
|
monthlyFee?: {
|
|
75
|
-
dueDay: number;
|
|
76
75
|
amount: number;
|
|
76
|
+
dueDay: number;
|
|
77
77
|
paymentMethod?: string | null | undefined;
|
|
78
78
|
} | null | undefined;
|
|
79
79
|
privacyPolicyUrl?: string | null | undefined;
|
|
@@ -12,12 +12,12 @@ export declare const MonthlyFeeInfoSchema: z.ZodObject<{
|
|
|
12
12
|
/** Payment method label (e.g. "PIX", "Transferência") */
|
|
13
13
|
paymentMethod: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
dueDay: number;
|
|
16
15
|
amount: number;
|
|
16
|
+
dueDay: number;
|
|
17
17
|
paymentMethod?: string | null | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
dueDay: number;
|
|
20
19
|
amount: number;
|
|
20
|
+
dueDay: number;
|
|
21
21
|
paymentMethod?: string | null | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
export type MonthlyFeeInfo = z.infer<typeof MonthlyFeeInfoSchema>;
|
|
@@ -83,12 +83,12 @@ export declare const InviteTerreiroInfoSchema: z.ZodObject<{
|
|
|
83
83
|
/** Payment method label (e.g. "PIX", "Transferência") */
|
|
84
84
|
paymentMethod: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
85
85
|
}, "strip", z.ZodTypeAny, {
|
|
86
|
-
dueDay: number;
|
|
87
86
|
amount: number;
|
|
87
|
+
dueDay: number;
|
|
88
88
|
paymentMethod?: string | null | undefined;
|
|
89
89
|
}, {
|
|
90
|
-
dueDay: number;
|
|
91
90
|
amount: number;
|
|
91
|
+
dueDay: number;
|
|
92
92
|
paymentMethod?: string | null | undefined;
|
|
93
93
|
}>>>;
|
|
94
94
|
inviteExpiresAt: z.ZodOptional<z.ZodString>;
|
|
@@ -98,8 +98,8 @@ export declare const InviteTerreiroInfoSchema: z.ZodObject<{
|
|
|
98
98
|
name: string;
|
|
99
99
|
imageUrl?: string | null | undefined;
|
|
100
100
|
monthlyFee?: {
|
|
101
|
-
dueDay: number;
|
|
102
101
|
amount: number;
|
|
102
|
+
dueDay: number;
|
|
103
103
|
paymentMethod?: string | null | undefined;
|
|
104
104
|
} | null | undefined;
|
|
105
105
|
privacyPolicyUrl?: string | null | undefined;
|
|
@@ -118,8 +118,8 @@ export declare const InviteTerreiroInfoSchema: z.ZodObject<{
|
|
|
118
118
|
name: string;
|
|
119
119
|
imageUrl?: string | null | undefined;
|
|
120
120
|
monthlyFee?: {
|
|
121
|
-
dueDay: number;
|
|
122
121
|
amount: number;
|
|
122
|
+
dueDay: number;
|
|
123
123
|
paymentMethod?: string | null | undefined;
|
|
124
124
|
} | null | undefined;
|
|
125
125
|
privacyPolicyUrl?: string | null | undefined;
|
|
@@ -173,12 +173,12 @@ export declare const InviteLandingPagePropsSchema: z.ZodObject<{
|
|
|
173
173
|
/** Payment method label (e.g. "PIX", "Transferência") */
|
|
174
174
|
paymentMethod: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
175
175
|
}, "strip", z.ZodTypeAny, {
|
|
176
|
-
dueDay: number;
|
|
177
176
|
amount: number;
|
|
177
|
+
dueDay: number;
|
|
178
178
|
paymentMethod?: string | null | undefined;
|
|
179
179
|
}, {
|
|
180
|
-
dueDay: number;
|
|
181
180
|
amount: number;
|
|
181
|
+
dueDay: number;
|
|
182
182
|
paymentMethod?: string | null | undefined;
|
|
183
183
|
}>>>;
|
|
184
184
|
inviteExpiresAt: z.ZodOptional<z.ZodString>;
|
|
@@ -188,8 +188,8 @@ export declare const InviteLandingPagePropsSchema: z.ZodObject<{
|
|
|
188
188
|
name: string;
|
|
189
189
|
imageUrl?: string | null | undefined;
|
|
190
190
|
monthlyFee?: {
|
|
191
|
-
dueDay: number;
|
|
192
191
|
amount: number;
|
|
192
|
+
dueDay: number;
|
|
193
193
|
paymentMethod?: string | null | undefined;
|
|
194
194
|
} | null | undefined;
|
|
195
195
|
privacyPolicyUrl?: string | null | undefined;
|
|
@@ -208,8 +208,8 @@ export declare const InviteLandingPagePropsSchema: z.ZodObject<{
|
|
|
208
208
|
name: string;
|
|
209
209
|
imageUrl?: string | null | undefined;
|
|
210
210
|
monthlyFee?: {
|
|
211
|
-
dueDay: number;
|
|
212
211
|
amount: number;
|
|
212
|
+
dueDay: number;
|
|
213
213
|
paymentMethod?: string | null | undefined;
|
|
214
214
|
} | null | undefined;
|
|
215
215
|
privacyPolicyUrl?: string | null | undefined;
|
|
@@ -270,8 +270,8 @@ export declare const InviteLandingPagePropsSchema: z.ZodObject<{
|
|
|
270
270
|
name: string;
|
|
271
271
|
imageUrl?: string | null | undefined;
|
|
272
272
|
monthlyFee?: {
|
|
273
|
-
dueDay: number;
|
|
274
273
|
amount: number;
|
|
274
|
+
dueDay: number;
|
|
275
275
|
paymentMethod?: string | null | undefined;
|
|
276
276
|
} | null | undefined;
|
|
277
277
|
privacyPolicyUrl?: string | null | undefined;
|
|
@@ -312,8 +312,8 @@ export declare const InviteLandingPagePropsSchema: z.ZodObject<{
|
|
|
312
312
|
name: string;
|
|
313
313
|
imageUrl?: string | null | undefined;
|
|
314
314
|
monthlyFee?: {
|
|
315
|
-
dueDay: number;
|
|
316
315
|
amount: number;
|
|
316
|
+
dueDay: number;
|
|
317
317
|
paymentMethod?: string | null | undefined;
|
|
318
318
|
} | null | undefined;
|
|
319
319
|
privacyPolicyUrl?: string | null | undefined;
|
|
@@ -7,8 +7,8 @@ declare const useInviteLandingPage: (props: InviteLandingPageProps) => {
|
|
|
7
7
|
name: string;
|
|
8
8
|
imageUrl?: string | null | undefined;
|
|
9
9
|
monthlyFee?: {
|
|
10
|
-
dueDay: number;
|
|
11
10
|
amount: number;
|
|
11
|
+
dueDay: number;
|
|
12
12
|
paymentMethod?: string | null | undefined;
|
|
13
13
|
} | null | undefined;
|
|
14
14
|
privacyPolicyUrl?: string | null | undefined;
|