gsintegrations 0.0.482 → 0.0.484

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 (134) hide show
  1. package/dist/bundle.cjs.js +7320 -1626
  2. package/dist/bundle.cjs.js.map +2 -2
  3. package/dist/bundle.esm.js +7197 -1627
  4. package/dist/bundle.esm.js.map +2 -2
  5. package/dist/index.d.ts +2857 -144
  6. package/dist/types/components/FormChatAssistant/FormChatAssistant.types.d.ts +5 -1
  7. package/dist/types/components/FormChatAssistant/FormChatPanelLayout.d.ts +17 -0
  8. package/dist/types/components/FormChatAssistant/formChatAssistant.theme.d.ts +34 -0
  9. package/dist/types/components/PageHeader/PageHeader.d.ts +4 -0
  10. package/dist/types/components/atoms/FacebookAuthButton/FacebookAuthButton.d.ts +4 -0
  11. package/dist/types/components/atoms/FacebookAuthButton/FacebookAuthButton.types.d.ts +18 -0
  12. package/dist/types/components/atoms/FacebookAuthButton/index.d.ts +2 -0
  13. package/dist/types/components/atoms/index.d.ts +2 -0
  14. package/dist/types/components/index.d.ts +1 -0
  15. package/dist/types/components/molecules/GenericDrawer/GenericDrawer.types.d.ts +15 -0
  16. package/dist/types/components/molecules/QuickActions/iconMap.d.ts +6 -0
  17. package/dist/types/components/organisms/SignInForm/SignInForm.types.d.ts +17 -0
  18. package/dist/types/components/organisms/SignUpForm/SignUpForm.types.d.ts +17 -0
  19. package/dist/types/components/social/AlsoExperiencedButton.d.ts +10 -0
  20. package/dist/types/components/social/BlockDialog.d.ts +10 -0
  21. package/dist/types/components/social/ConnectionButton.d.ts +11 -0
  22. package/dist/types/components/social/ExperienceCard.d.ts +18 -0
  23. package/dist/types/components/social/ExperienceCategoryBadge.d.ts +8 -0
  24. package/dist/types/components/social/ExperienceCommentRow.d.ts +12 -0
  25. package/dist/types/components/social/ExperienceCommentsSheet.d.ts +27 -0
  26. package/dist/types/components/social/ExperienceComposer.d.ts +21 -0
  27. package/dist/types/components/social/ExperienceDetailView.d.ts +17 -0
  28. package/dist/types/components/social/ExperienceEngageMenu.d.ts +14 -0
  29. package/dist/types/components/social/ExperiencePostTypeBadge.d.ts +8 -0
  30. package/dist/types/components/social/ExperienceReactionBar.d.ts +11 -0
  31. package/dist/types/components/social/JourneyProfile.d.ts +34 -0
  32. package/dist/types/components/social/PeerMessageList.d.ts +10 -0
  33. package/dist/types/components/social/PostGiraPrompt.d.ts +8 -0
  34. package/dist/types/components/social/PrivacySelector.d.ts +11 -0
  35. package/dist/types/components/social/QuestionAnswerCard.d.ts +8 -0
  36. package/dist/types/components/social/QuestionAnswersSheet.d.ts +23 -0
  37. package/dist/types/components/social/QuestionCard.d.ts +16 -0
  38. package/dist/types/components/social/QuestionComposer.d.ts +17 -0
  39. package/dist/types/components/social/QuestionSourceBadge.d.ts +7 -0
  40. package/dist/types/components/social/ReportDialog.d.ts +13 -0
  41. package/dist/types/components/social/ShareSheet.d.ts +13 -0
  42. package/dist/types/components/social/SimilarExperienceCard.d.ts +8 -0
  43. package/dist/types/components/social/SimilarPeopleCard.d.ts +10 -0
  44. package/dist/types/components/social/SocialAccountDrawer.d.ts +31 -0
  45. package/dist/types/components/social/SocialConversationRow.d.ts +8 -0
  46. package/dist/types/components/social/SocialCreateActionsSheet.d.ts +13 -0
  47. package/dist/types/components/social/SocialEmptyState.d.ts +10 -0
  48. package/dist/types/components/social/SocialErrorState.d.ts +8 -0
  49. package/dist/types/components/social/SocialHomeBottomNav.d.ts +22 -0
  50. package/dist/types/components/social/SocialHomeHeader.d.ts +13 -0
  51. package/dist/types/components/social/SocialMessageBubble.d.ts +19 -0
  52. package/dist/types/components/social/SocialMessageComposer.d.ts +17 -0
  53. package/dist/types/components/social/SocialReadOnlyNotice.d.ts +6 -0
  54. package/dist/types/components/social/SocialSkeleton.d.ts +7 -0
  55. package/dist/types/components/social/SocialUnreadIndicator.d.ts +8 -0
  56. package/dist/types/components/social/SocialVerificationEarnedCelebration.d.ts +18 -0
  57. package/dist/types/components/social/SocialVerificationProgressSheet.d.ts +35 -0
  58. package/dist/types/components/social/TraditionBadge.d.ts +7 -0
  59. package/dist/types/components/social/WhatsAppShareButton.d.ts +8 -0
  60. package/dist/types/components/social/bannerPresets.d.ts +29 -0
  61. package/dist/types/components/social/formatAffinityPercent.d.ts +5 -0
  62. package/dist/types/components/social/index.d.ts +61 -0
  63. package/dist/types/components/social/labels.d.ts +20 -0
  64. package/dist/types/components/social/profileFields.d.ts +27 -0
  65. package/dist/types/components/social/socialSurfaces.d.ts +103 -0
  66. package/dist/types/components/social/types.d.ts +1003 -0
  67. package/dist/types/hooks/useHideOnScroll.d.ts +13 -0
  68. package/dist/types/index.d.ts +2 -0
  69. package/dist/types/pages/AddMediumByQRCodePage/AddMediumByQRCodePage.types.d.ts +6 -6
  70. package/dist/types/pages/EventsPage/EventsPage.types.d.ts +36 -36
  71. package/dist/types/pages/FinancialRegisterPage/FinancialRegister.types.d.ts +28 -28
  72. package/dist/types/pages/GamificationHelpPage/GamificationHelpPage.types.d.ts +2 -2
  73. package/dist/types/pages/HomePage/HomePage.constants.d.ts +4 -3
  74. package/dist/types/pages/HomePage/HomePage.types.d.ts +29 -13
  75. package/dist/types/pages/HomePage/components/HomeBottomNav.d.ts +12 -0
  76. package/dist/types/pages/HomePage/components/HomeMenu.d.ts +7 -7
  77. package/dist/types/pages/HomePage/components/HomeMenu.types.d.ts +20 -20
  78. package/dist/types/pages/HomePage/components/TopBar.d.ts +1 -1
  79. package/dist/types/pages/HomePage/components/TopBar.types.d.ts +2 -2
  80. package/dist/types/pages/HomePage/components/index.d.ts +1 -1
  81. package/dist/types/pages/HomePage/components/useHomeMenu.d.ts +2 -2
  82. package/dist/types/pages/HomePage/useHomePage.d.ts +2 -2
  83. package/dist/types/pages/HomePage/widgets/homeWidgets.catalog.d.ts +6 -6
  84. package/dist/types/pages/InviteLandingPage/InviteLandingPage.types.d.ts +4 -0
  85. package/dist/types/pages/InviteLandingPage/useInviteLandingPage.d.ts +1 -0
  86. package/dist/types/pages/NotFoundPage/NotFoundPage.types.d.ts +2 -2
  87. package/dist/types/pages/NotificationsPage/NotificationsPage.types.d.ts +38 -38
  88. package/dist/types/pages/NotificationsPage/useNotificationsPage.d.ts +3 -3
  89. package/dist/types/pages/PasswordCreationPage/PasswordCreationPage.types.d.ts +8 -8
  90. package/dist/types/pages/RitualBathDetailPage/RitualBathDetailPage.d.ts +1 -1
  91. package/dist/types/pages/RitualBathDetailPage/RitualBathDetailPage.types.d.ts +6 -6
  92. package/dist/types/pages/RitualBathDetailPage/useRitualBathDetailPage.d.ts +1 -1
  93. package/dist/types/pages/RitualBathListPage/RitualBathListPage.types.d.ts +16 -16
  94. package/dist/types/pages/RitualBathListPage/useRitualBathListPage.d.ts +2 -2
  95. package/dist/types/pages/RitualBathOnboardingPage/RitualBathOnboarding.types.d.ts +4 -4
  96. package/dist/types/pages/RitualBathOnboardingPage/useRitualBathOnboarding.d.ts +1 -1
  97. package/dist/types/pages/RitualBathSchedulePage/RitualBathSchedulePage.types.d.ts +6 -6
  98. package/dist/types/pages/RoleFormPage/RoleFormPage.types.d.ts +2 -2
  99. package/dist/types/pages/SigninPage/SigninPage.types.d.ts +14 -0
  100. package/dist/types/pages/SignupPage/SignupPage.types.d.ts +14 -0
  101. package/dist/types/pages/Social/CreateExperiencePage/CreateExperiencePage.d.ts +12 -0
  102. package/dist/types/pages/Social/CreateExperiencePage/CreateExperiencePage.types.d.ts +62 -0
  103. package/dist/types/pages/Social/CreateExperiencePage/CreateExperienceSummaryCard.d.ts +13 -0
  104. package/dist/types/pages/Social/CreateQuestionPage/CreateQuestionPage.d.ts +12 -0
  105. package/dist/types/pages/Social/CreateQuestionPage/CreateQuestionPage.types.d.ts +55 -0
  106. package/dist/types/pages/Social/CreateQuestionPage/CreateQuestionSummaryCard.d.ts +12 -0
  107. package/dist/types/pages/Social/EditJourneyPage/EditJourneyPage.d.ts +53 -0
  108. package/dist/types/pages/Social/ExperienceDetailPage/ExperienceDetailPage.d.ts +50 -0
  109. package/dist/types/pages/Social/JourneyProfilePage/JourneyProfilePage.d.ts +59 -0
  110. package/dist/types/pages/Social/PublicSocialPreviewPage/PublicSocialPreviewPage.d.ts +5 -0
  111. package/dist/types/pages/Social/PublicSocialPreviewPage/PublicSocialPreviewPage.types.d.ts +334 -0
  112. package/dist/types/pages/Social/PublicSocialPreviewPage/index.d.ts +3 -0
  113. package/dist/types/pages/Social/QuestionDetailPage/QuestionDetailPage.d.ts +15 -0
  114. package/dist/types/pages/Social/QuestionsPage/QuestionsPage.d.ts +13 -0
  115. package/dist/types/pages/Social/SimilarPage/SimilarPage.d.ts +15 -0
  116. package/dist/types/pages/Social/SocialConnectionsPage/SocialConnectionsPage.d.ts +41 -0
  117. package/dist/types/pages/Social/SocialConversationPage/SocialConversationPage.d.ts +19 -0
  118. package/dist/types/pages/Social/SocialDiscoverPage/SocialDiscoverPage.d.ts +34 -0
  119. package/dist/types/pages/Social/SocialHomePage/SocialHomePage.d.ts +116 -0
  120. package/dist/types/pages/Social/SocialHomePage/index.d.ts +2 -0
  121. package/dist/types/pages/Social/SocialInboxPage/SocialInboxPage.d.ts +14 -0
  122. package/dist/types/pages/Social/SocialNotificationsPage/SocialNotificationsPage.d.ts +21 -0
  123. package/dist/types/pages/Social/SocialOnboardingIntro/SocialOnboardingIntro.d.ts +5 -0
  124. package/dist/types/pages/Social/SocialOnboardingIntro/SocialOnboardingIntro.types.d.ts +14 -0
  125. package/dist/types/pages/Social/SocialOnboardingIntro/index.d.ts +2 -0
  126. package/dist/types/pages/Social/SocialOnboardingPage/SocialOnboardingPage.d.ts +13 -0
  127. package/dist/types/pages/Social/SocialOnboardingPage/SocialOnboardingPage.types.d.ts +59 -0
  128. package/dist/types/pages/Social/SocialOnboardingPage/SocialOnboardingSummaryCard.d.ts +12 -0
  129. package/dist/types/pages/Social/SocialPageShell.d.ts +29 -0
  130. package/dist/types/pages/Social/SocialPrivacySettingsPage/SocialPrivacySettingsPage.d.ts +18 -0
  131. package/dist/types/pages/Social/SocialSavedPage/SocialSavedPage.d.ts +59 -0
  132. package/dist/types/pages/Social/index.d.ts +42 -0
  133. package/dist/types/pages/index.d.ts +1 -0
  134. package/package.json +1 -1
@@ -349,7 +349,7 @@ export declare const RitualBathDetailSchema: z.ZodObject<{
349
349
  title: string;
350
350
  id: string;
351
351
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
352
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
352
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
353
353
  steps: {
354
354
  order: number;
355
355
  text: string;
@@ -401,7 +401,7 @@ export declare const RitualBathDetailSchema: z.ZodObject<{
401
401
  title: string;
402
402
  id: string;
403
403
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
404
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
404
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
405
405
  source?: string | undefined;
406
406
  description?: string | undefined;
407
407
  category?: {
@@ -731,7 +731,7 @@ export declare const RitualBathDetailPagePropsSchema: z.ZodObject<{
731
731
  title: string;
732
732
  id: string;
733
733
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
734
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
734
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
735
735
  steps: {
736
736
  order: number;
737
737
  text: string;
@@ -783,7 +783,7 @@ export declare const RitualBathDetailPagePropsSchema: z.ZodObject<{
783
783
  title: string;
784
784
  id: string;
785
785
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
786
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
786
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
787
787
  source?: string | undefined;
788
788
  description?: string | undefined;
789
789
  category?: {
@@ -891,7 +891,7 @@ export declare const RitualBathDetailPagePropsSchema: z.ZodObject<{
891
891
  title: string;
892
892
  id: string;
893
893
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
894
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
894
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
895
895
  steps: {
896
896
  order: number;
897
897
  text: string;
@@ -967,7 +967,7 @@ export declare const RitualBathDetailPagePropsSchema: z.ZodObject<{
967
967
  title: string;
968
968
  id: string;
969
969
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
970
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
970
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
971
971
  source?: string | undefined;
972
972
  description?: string | undefined;
973
973
  category?: {
@@ -5,7 +5,7 @@ declare const useRitualBathDetailPage: (props: RitualBathDetailPageProps) => {
5
5
  title: string;
6
6
  id: string;
7
7
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
8
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
8
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
9
9
  steps: {
10
10
  order: number;
11
11
  text: string;
@@ -281,7 +281,7 @@ export declare const RitualBathItemSchema: z.ZodObject<{
281
281
  title: string;
282
282
  id: string;
283
283
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
284
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
284
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
285
285
  isPublic: boolean;
286
286
  description?: string | undefined;
287
287
  category?: {
@@ -322,7 +322,7 @@ export declare const RitualBathItemSchema: z.ZodObject<{
322
322
  title: string;
323
323
  id: string;
324
324
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
325
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
325
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
326
326
  isPublic: boolean;
327
327
  description?: string | undefined;
328
328
  category?: {
@@ -368,12 +368,12 @@ export declare const RitualBathFilterSchema: z.ZodObject<{
368
368
  searchQuery: z.ZodOptional<z.ZodString>;
369
369
  }, "strip", z.ZodTypeAny, {
370
370
  status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
371
- origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined;
371
+ origin?: "TERREIRO" | "SYSTEM" | "MEDIUM" | undefined;
372
372
  searchQuery?: string | undefined;
373
373
  categoryId?: string | undefined;
374
374
  }, {
375
375
  status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
376
- origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined;
376
+ origin?: "TERREIRO" | "SYSTEM" | "MEDIUM" | undefined;
377
377
  searchQuery?: string | undefined;
378
378
  categoryId?: string | undefined;
379
379
  }>;
@@ -502,7 +502,7 @@ export declare const RitualBathListPagePropsSchema: z.ZodObject<{
502
502
  title: string;
503
503
  id: string;
504
504
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
505
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
505
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
506
506
  isPublic: boolean;
507
507
  description?: string | undefined;
508
508
  category?: {
@@ -543,7 +543,7 @@ export declare const RitualBathListPagePropsSchema: z.ZodObject<{
543
543
  title: string;
544
544
  id: string;
545
545
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
546
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
546
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
547
547
  isPublic: boolean;
548
548
  description?: string | undefined;
549
549
  category?: {
@@ -620,12 +620,12 @@ export declare const RitualBathListPagePropsSchema: z.ZodObject<{
620
620
  searchQuery: z.ZodOptional<z.ZodString>;
621
621
  }, "strip", z.ZodTypeAny, {
622
622
  status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
623
- origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined;
623
+ origin?: "TERREIRO" | "SYSTEM" | "MEDIUM" | undefined;
624
624
  searchQuery?: string | undefined;
625
625
  categoryId?: string | undefined;
626
626
  }, {
627
627
  status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
628
- origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined;
628
+ origin?: "TERREIRO" | "SYSTEM" | "MEDIUM" | undefined;
629
629
  searchQuery?: string | undefined;
630
630
  categoryId?: string | undefined;
631
631
  }>>;
@@ -641,12 +641,12 @@ export declare const RitualBathListPagePropsSchema: z.ZodObject<{
641
641
  searchQuery: z.ZodOptional<z.ZodString>;
642
642
  }, "strip", z.ZodTypeAny, {
643
643
  status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
644
- origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined;
644
+ origin?: "TERREIRO" | "SYSTEM" | "MEDIUM" | undefined;
645
645
  searchQuery?: string | undefined;
646
646
  categoryId?: string | undefined;
647
647
  }, {
648
648
  status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
649
- origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined;
649
+ origin?: "TERREIRO" | "SYSTEM" | "MEDIUM" | undefined;
650
650
  searchQuery?: string | undefined;
651
651
  categoryId?: string | undefined;
652
652
  }>], null>, z.ZodVoid>>;
@@ -656,7 +656,7 @@ export declare const RitualBathListPagePropsSchema: z.ZodObject<{
656
656
  title: string;
657
657
  id: string;
658
658
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
659
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
659
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
660
660
  isPublic: boolean;
661
661
  description?: string | undefined;
662
662
  category?: {
@@ -714,7 +714,7 @@ export declare const RitualBathListPagePropsSchema: z.ZodObject<{
714
714
  isTerreiro?: boolean | undefined;
715
715
  onFilterChange?: ((args_0: {
716
716
  status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
717
- origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined;
717
+ origin?: "TERREIRO" | "SYSTEM" | "MEDIUM" | undefined;
718
718
  searchQuery?: string | undefined;
719
719
  categoryId?: string | undefined;
720
720
  }) => void) | undefined;
@@ -722,7 +722,7 @@ export declare const RitualBathListPagePropsSchema: z.ZodObject<{
722
722
  initialTab?: "all" | "my" | "terreiro" | "system" | undefined;
723
723
  initialFilters?: {
724
724
  status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
725
- origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined;
725
+ origin?: "TERREIRO" | "SYSTEM" | "MEDIUM" | undefined;
726
726
  searchQuery?: string | undefined;
727
727
  categoryId?: string | undefined;
728
728
  } | undefined;
@@ -735,7 +735,7 @@ export declare const RitualBathListPagePropsSchema: z.ZodObject<{
735
735
  title: string;
736
736
  id: string;
737
737
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
738
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
738
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
739
739
  isPublic: boolean;
740
740
  description?: string | undefined;
741
741
  category?: {
@@ -793,7 +793,7 @@ export declare const RitualBathListPagePropsSchema: z.ZodObject<{
793
793
  isTerreiro?: boolean | undefined;
794
794
  onFilterChange?: ((args_0: {
795
795
  status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
796
- origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined;
796
+ origin?: "TERREIRO" | "SYSTEM" | "MEDIUM" | undefined;
797
797
  searchQuery?: string | undefined;
798
798
  categoryId?: string | undefined;
799
799
  }) => void) | undefined;
@@ -801,7 +801,7 @@ export declare const RitualBathListPagePropsSchema: z.ZodObject<{
801
801
  initialTab?: "all" | "my" | "terreiro" | "system" | undefined;
802
802
  initialFilters?: {
803
803
  status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
804
- origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined;
804
+ origin?: "TERREIRO" | "SYSTEM" | "MEDIUM" | undefined;
805
805
  searchQuery?: string | undefined;
806
806
  categoryId?: string | undefined;
807
807
  } | undefined;
@@ -5,7 +5,7 @@ declare const useRitualBathListPage: (props: RitualBathListPageProps) => {
5
5
  title: string;
6
6
  id: string;
7
7
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
8
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
8
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
9
9
  isPublic: boolean;
10
10
  description?: string | undefined;
11
11
  category?: {
@@ -57,7 +57,7 @@ declare const useRitualBathListPage: (props: RitualBathListPageProps) => {
57
57
  availableTabs: ("all" | "my" | "terreiro" | "system")[];
58
58
  filters: {
59
59
  status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
60
- origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined;
60
+ origin?: "TERREIRO" | "SYSTEM" | "MEDIUM" | undefined;
61
61
  searchQuery?: string | undefined;
62
62
  categoryId?: string | undefined;
63
63
  };
@@ -108,10 +108,10 @@ export declare const OriginStepSchema: z.ZodObject<{
108
108
  status: z.ZodDefault<z.ZodEnum<["ACTIVE", "INACTIVE", "DRAFT"]>>;
109
109
  }, "strip", z.ZodTypeAny, {
110
110
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
111
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
111
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
112
112
  categoryId?: string | undefined;
113
113
  }, {
114
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
114
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
115
115
  status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined;
116
116
  categoryId?: string | undefined;
117
117
  }>;
@@ -265,7 +265,7 @@ export declare const RitualBathFormValuesSchema: z.ZodObject<{
265
265
  }, "strip", z.ZodTypeAny, {
266
266
  title: string;
267
267
  status: "ACTIVE" | "INACTIVE" | "DRAFT";
268
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
268
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
269
269
  steps: {
270
270
  order: number;
271
271
  text: string;
@@ -293,7 +293,7 @@ export declare const RitualBathFormValuesSchema: z.ZodObject<{
293
293
  scheduleEndTime?: string | undefined;
294
294
  }, {
295
295
  title: string;
296
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
296
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
297
297
  steps: {
298
298
  order: number;
299
299
  text: string;
@@ -65,7 +65,7 @@ declare const useRitualBathOnboarding: (props: RitualBathOnboardingPageProps) =>
65
65
  } | {
66
66
  ingredients: any;
67
67
  steps: any;
68
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
68
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
69
69
  terreiroId: number | undefined;
70
70
  mediumId: number | undefined;
71
71
  title: string;
@@ -47,7 +47,7 @@ export declare const RitualBathScheduleSummarySchema: z.ZodObject<{
47
47
  }, "strip", z.ZodTypeAny, {
48
48
  title: string;
49
49
  id: string;
50
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
50
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
51
51
  description?: string | null | undefined;
52
52
  category?: {
53
53
  id: string;
@@ -61,7 +61,7 @@ export declare const RitualBathScheduleSummarySchema: z.ZodObject<{
61
61
  }, {
62
62
  title: string;
63
63
  id: string;
64
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
64
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
65
65
  description?: string | null | undefined;
66
66
  category?: {
67
67
  id: string;
@@ -106,7 +106,7 @@ export declare const RitualBathSchedulePagePropsSchema: z.ZodObject<{
106
106
  }, "strip", z.ZodTypeAny, {
107
107
  title: string;
108
108
  id: string;
109
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
109
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
110
110
  description?: string | null | undefined;
111
111
  category?: {
112
112
  id: string;
@@ -120,7 +120,7 @@ export declare const RitualBathSchedulePagePropsSchema: z.ZodObject<{
120
120
  }, {
121
121
  title: string;
122
122
  id: string;
123
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
123
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
124
124
  description?: string | null | undefined;
125
125
  category?: {
126
126
  id: string;
@@ -167,7 +167,7 @@ export declare const RitualBathSchedulePagePropsSchema: z.ZodObject<{
167
167
  ritualBath?: {
168
168
  title: string;
169
169
  id: string;
170
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
170
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
171
171
  description?: string | null | undefined;
172
172
  category?: {
173
173
  id: string;
@@ -194,7 +194,7 @@ export declare const RitualBathSchedulePagePropsSchema: z.ZodObject<{
194
194
  ritualBath?: {
195
195
  title: string;
196
196
  id: string;
197
- origin: "TERREIRO" | "MEDIUM" | "SYSTEM";
197
+ origin: "TERREIRO" | "SYSTEM" | "MEDIUM";
198
198
  description?: string | null | undefined;
199
199
  category?: {
200
200
  id: string;
@@ -240,6 +240,7 @@ export declare const RoleFormPagePropsSchema: z.ZodObject<{
240
240
  disabled?: boolean | undefined;
241
241
  error?: string | null | undefined;
242
242
  isSubmitting?: boolean | undefined;
243
+ isReadOnly?: boolean | undefined;
243
244
  initialRole?: {
244
245
  id: string;
245
246
  name: string;
@@ -260,7 +261,6 @@ export declare const RoleFormPagePropsSchema: z.ZodObject<{
260
261
  permissionCount?: number | undefined;
261
262
  } | undefined;
262
263
  isLoadingPermissions?: boolean | undefined;
263
- isReadOnly?: boolean | undefined;
264
264
  }, {
265
265
  onSubmit: (args_0: {
266
266
  name: string;
@@ -281,6 +281,7 @@ export declare const RoleFormPagePropsSchema: z.ZodObject<{
281
281
  disabled?: boolean | undefined;
282
282
  error?: string | null | undefined;
283
283
  isSubmitting?: boolean | undefined;
284
+ isReadOnly?: boolean | undefined;
284
285
  initialRole?: {
285
286
  id: string;
286
287
  name: string;
@@ -301,7 +302,6 @@ export declare const RoleFormPagePropsSchema: z.ZodObject<{
301
302
  permissionCount?: number | undefined;
302
303
  } | undefined;
303
304
  isLoadingPermissions?: boolean | undefined;
304
- isReadOnly?: boolean | undefined;
305
305
  }>;
306
306
  export type RoleFormPageProps = z.infer<typeof RoleFormPagePropsSchema>;
307
307
  export declare const FORM_CONFIG: {
@@ -23,6 +23,9 @@ declare const SigninPagePropsSchema: z.ZodObject<{
23
23
  }>>;
24
24
  googleAuthButtonText: z.ZodOptional<z.ZodString>;
25
25
  googleAuthLoading: z.ZodOptional<z.ZodBoolean>;
26
+ onFacebookAuth: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
27
+ facebookAuthButtonText: z.ZodOptional<z.ZodString>;
28
+ facebookAuthLoading: z.ZodOptional<z.ZodBoolean>;
26
29
  texts: z.ZodObject<{
27
30
  welcome: z.ZodString;
28
31
  signInButton: z.ZodString;
@@ -94,6 +97,9 @@ declare const SigninPagePropsSchema: z.ZodObject<{
94
97
  onGoogleAuth?: (() => void) | undefined;
95
98
  googleAuthButtonText?: string | undefined;
96
99
  googleAuthLoading?: boolean | undefined;
100
+ onFacebookAuth?: (() => void) | undefined;
101
+ facebookAuthButtonText?: string | undefined;
102
+ facebookAuthLoading?: boolean | undefined;
97
103
  onPasskeyLogin?: (() => void) | undefined;
98
104
  passkeyDialogTexts?: {
99
105
  appName?: string | undefined;
@@ -126,6 +132,9 @@ declare const SigninPagePropsSchema: z.ZodObject<{
126
132
  onGoogleAuth?: (() => void) | undefined;
127
133
  googleAuthButtonText?: string | undefined;
128
134
  googleAuthLoading?: boolean | undefined;
135
+ onFacebookAuth?: (() => void) | undefined;
136
+ facebookAuthButtonText?: string | undefined;
137
+ facebookAuthLoading?: boolean | undefined;
129
138
  onPasskeyLogin?: (() => void) | undefined;
130
139
  passkeyDialogTexts?: {
131
140
  appName?: string | undefined;
@@ -139,15 +148,18 @@ declare const UseSigninPageSchema: z.ZodObject<{
139
148
  handleSignin: z.ZodFunction<z.ZodTuple<[z.ZodRecord<z.ZodString, z.ZodString>], null>, z.ZodVoid>;
140
149
  handleForgotPassword: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
141
150
  handleGoogleAuth: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
151
+ handleFacebookAuth: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
142
152
  }, "strip", z.ZodTypeAny, {
143
153
  handleRedirect: () => unknown;
144
154
  handleForgotPassword: () => void;
145
155
  handleGoogleAuth: () => void;
156
+ handleFacebookAuth: () => void;
146
157
  handleSignin: (args_0: Record<string, string>) => void;
147
158
  }, {
148
159
  handleRedirect: () => unknown;
149
160
  handleForgotPassword: () => void;
150
161
  handleGoogleAuth: () => void;
162
+ handleFacebookAuth: () => void;
151
163
  handleSignin: (args_0: Record<string, string>) => void;
152
164
  }>;
153
165
  }, "strip", z.ZodTypeAny, {
@@ -155,6 +167,7 @@ declare const UseSigninPageSchema: z.ZodObject<{
155
167
  handleRedirect: () => unknown;
156
168
  handleForgotPassword: () => void;
157
169
  handleGoogleAuth: () => void;
170
+ handleFacebookAuth: () => void;
158
171
  handleSignin: (args_0: Record<string, string>) => void;
159
172
  };
160
173
  }, {
@@ -162,6 +175,7 @@ declare const UseSigninPageSchema: z.ZodObject<{
162
175
  handleRedirect: () => unknown;
163
176
  handleForgotPassword: () => void;
164
177
  handleGoogleAuth: () => void;
178
+ handleFacebookAuth: () => void;
165
179
  handleSignin: (args_0: Record<string, string>) => void;
166
180
  };
167
181
  }>;
@@ -51,6 +51,9 @@ declare const SignupPagePropsSchema: z.ZodObject<{
51
51
  onGoogleAuth: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
52
52
  googleAuthButtonText: z.ZodOptional<z.ZodString>;
53
53
  googleAuthLoading: z.ZodOptional<z.ZodBoolean>;
54
+ onFacebookAuth: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
55
+ facebookAuthButtonText: z.ZodOptional<z.ZodString>;
56
+ facebookAuthLoading: z.ZodOptional<z.ZodBoolean>;
54
57
  onAnalyticsTrack: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodDiscriminatedUnion<"event", [z.ZodObject<{
55
58
  event: z.ZodLiteral<"signup_page_view">;
56
59
  }, "strip", z.ZodTypeAny, {
@@ -137,6 +140,9 @@ declare const SignupPagePropsSchema: z.ZodObject<{
137
140
  onGoogleAuth?: (() => void) | undefined;
138
141
  googleAuthButtonText?: string | undefined;
139
142
  googleAuthLoading?: boolean | undefined;
143
+ onFacebookAuth?: (() => void) | undefined;
144
+ facebookAuthButtonText?: string | undefined;
145
+ facebookAuthLoading?: boolean | undefined;
140
146
  onAnalyticsTrack?: ((args_0: {
141
147
  event: "signup_page_view";
142
148
  } | {
@@ -183,6 +189,9 @@ declare const SignupPagePropsSchema: z.ZodObject<{
183
189
  onGoogleAuth?: (() => void) | undefined;
184
190
  googleAuthButtonText?: string | undefined;
185
191
  googleAuthLoading?: boolean | undefined;
192
+ onFacebookAuth?: (() => void) | undefined;
193
+ facebookAuthButtonText?: string | undefined;
194
+ facebookAuthLoading?: boolean | undefined;
186
195
  onAnalyticsTrack?: ((args_0: {
187
196
  event: "signup_page_view";
188
197
  } | {
@@ -213,6 +222,7 @@ declare const UseSignupPageSchema: z.ZodObject<{
213
222
  handleRedirect: z.ZodFunction<z.ZodTuple<[], null>, z.ZodUnknown>;
214
223
  handleSignup: z.ZodFunction<z.ZodTuple<[z.ZodRecord<z.ZodString, z.ZodString>], null>, z.ZodVoid>;
215
224
  handleGoogleAuth: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
225
+ handleFacebookAuth: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
216
226
  handleAnalyticsTrack: z.ZodFunction<z.ZodTuple<[z.ZodDiscriminatedUnion<"event", [z.ZodObject<{
217
227
  event: z.ZodLiteral<"signup_page_view">;
218
228
  }, "strip", z.ZodTypeAny, {
@@ -280,6 +290,7 @@ declare const UseSignupPageSchema: z.ZodObject<{
280
290
  }, "strip", z.ZodTypeAny, {
281
291
  handleRedirect: () => unknown;
282
292
  handleGoogleAuth: () => void;
293
+ handleFacebookAuth: () => void;
283
294
  handleSignup: (args_0: Record<string, string>) => void;
284
295
  handleAnalyticsTrack: (args_0: {
285
296
  event: "signup_page_view";
@@ -306,6 +317,7 @@ declare const UseSignupPageSchema: z.ZodObject<{
306
317
  }, {
307
318
  handleRedirect: () => unknown;
308
319
  handleGoogleAuth: () => void;
320
+ handleFacebookAuth: () => void;
309
321
  handleSignup: (args_0: Record<string, string>) => void;
310
322
  handleAnalyticsTrack: (args_0: {
311
323
  event: "signup_page_view";
@@ -334,6 +346,7 @@ declare const UseSignupPageSchema: z.ZodObject<{
334
346
  fns: {
335
347
  handleRedirect: () => unknown;
336
348
  handleGoogleAuth: () => void;
349
+ handleFacebookAuth: () => void;
337
350
  handleSignup: (args_0: Record<string, string>) => void;
338
351
  handleAnalyticsTrack: (args_0: {
339
352
  event: "signup_page_view";
@@ -362,6 +375,7 @@ declare const UseSignupPageSchema: z.ZodObject<{
362
375
  fns: {
363
376
  handleRedirect: () => unknown;
364
377
  handleGoogleAuth: () => void;
378
+ handleFacebookAuth: () => void;
365
379
  handleSignup: (args_0: Record<string, string>) => void;
366
380
  handleAnalyticsTrack: (args_0: {
367
381
  event: "signup_page_view";
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import type { CreateExperiencePageProps } from "./CreateExperiencePage.types";
3
+ export { CreateExperienceValuesSchema, type CreateExperiencePageProps, type CreateExperienceStep, type CreateExperienceSummary, type CreateExperienceValues, } from "./CreateExperiencePage.types";
4
+ export declare const CREATE_EXPERIENCE_STEP_LABELS: {
5
+ readonly "social-experience": "Experiência";
6
+ readonly "social-privacy": "Privacidade";
7
+ readonly review: "Revisão";
8
+ readonly complete: "Concluído";
9
+ };
10
+ export declare const CREATE_EXPERIENCE_STEP_ORDER: readonly ["social-experience", "social-privacy", "review"];
11
+ declare const CreateExperiencePage: React.FC<CreateExperiencePageProps>;
12
+ export default CreateExperiencePage;
@@ -0,0 +1,62 @@
1
+ import { z } from "zod";
2
+ import type { FormChatApiError, FormChatEditableFieldOption, FormChatEditInteraction, FormChatFieldInput, FormChatListOption, FormChatMessage, FormChatSelectionPayload, FormChatSendOptions } from "../../../components/FormChatAssistant";
3
+ import { type ExperienceCategory, type SocialVisibility } from "../../../components/social";
4
+ export declare const CreateExperienceValuesSchema: z.ZodObject<{
5
+ content: z.ZodString;
6
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ traditionLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ category: z.ZodOptional<z.ZodNullable<z.ZodEnum<["DESENVOLVIMENTO", "GIRA", "INCORPORACAO", "APRENDIZADO", "SENTIMENTO", "ANCESTRALIDADE", "ESPIRITUALIDADE", "DUVIDA_DESCOBERTA", "OTHER"]>>>;
9
+ locationLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ visibility: z.ZodEnum<["PRIVATE", "TERREIRO", "COMMUNITY"]>;
11
+ eventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ content: string;
14
+ visibility: "TERREIRO" | "PRIVATE" | "COMMUNITY";
15
+ title?: string | null | undefined;
16
+ category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined;
17
+ eventId?: string | null | undefined;
18
+ traditionLabel?: string | null | undefined;
19
+ locationLabel?: string | null | undefined;
20
+ }, {
21
+ content: string;
22
+ visibility: "TERREIRO" | "PRIVATE" | "COMMUNITY";
23
+ title?: string | null | undefined;
24
+ category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined;
25
+ eventId?: string | null | undefined;
26
+ traditionLabel?: string | null | undefined;
27
+ locationLabel?: string | null | undefined;
28
+ }>;
29
+ export type CreateExperienceValues = z.infer<typeof CreateExperienceValuesSchema>;
30
+ export type CreateExperienceSummary = Partial<CreateExperienceValues>;
31
+ export type CreateExperienceStep = "social-experience" | "social-privacy" | "review" | "complete";
32
+ export type CreateExperiencePageProps = {
33
+ messages: FormChatMessage[];
34
+ currentStep?: CreateExperienceStep;
35
+ fieldInput?: FormChatFieldInput;
36
+ fieldOptions?: FormChatListOption[];
37
+ selectedOption?: FormChatListOption;
38
+ quickReplies?: string[];
39
+ summary?: CreateExperienceSummary;
40
+ activeField?: string;
41
+ privacySelection?: SocialVisibility | null;
42
+ privacyOptions?: SocialVisibility[];
43
+ eventTitle?: string;
44
+ isLoading?: boolean;
45
+ error?: FormChatApiError | null;
46
+ editInteraction?: FormChatEditInteraction;
47
+ editingFieldLabel?: string;
48
+ editableFieldOptions?: FormChatEditableFieldOption[];
49
+ userAvatarUrl?: string;
50
+ confirmLabel?: string;
51
+ onSendMessage: (message: string, options?: FormChatSendOptions) => void;
52
+ onSelectOption?: (selection: FormChatSelectionPayload) => void;
53
+ onPrivacyChange: (value: SocialVisibility) => void;
54
+ onConfirm?: () => void;
55
+ onEdit?: () => void;
56
+ onEditField?: (fieldKey: string) => void;
57
+ onCancelEdit?: () => void;
58
+ onRetry?: () => void;
59
+ onReset?: () => void;
60
+ onBack?: () => void;
61
+ };
62
+ export type { ExperienceCategory, SocialVisibility };
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import type { CreateExperienceSummary } from "./CreateExperiencePage.types";
3
+ type CreateExperienceSummaryCardProps = {
4
+ summary: CreateExperienceSummary;
5
+ eventTitle?: string;
6
+ confirmLabel?: string;
7
+ isLoading?: boolean;
8
+ onConfirm?: () => void;
9
+ onEdit?: () => void;
10
+ onEditField?: (fieldKey: string) => void;
11
+ };
12
+ declare const CreateExperienceSummaryCard: React.FC<CreateExperienceSummaryCardProps>;
13
+ export default CreateExperienceSummaryCard;
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import type { CreateQuestionPageProps } from "./CreateQuestionPage.types";
3
+ export { CreateQuestionValuesSchema, type CreateQuestionPageProps, type CreateQuestionStep, type CreateQuestionSummary, type CreateQuestionValues, } from "./CreateQuestionPage.types";
4
+ export declare const CREATE_QUESTION_STEP_LABELS: {
5
+ readonly "social-question": "Pergunta";
6
+ readonly "social-privacy": "Privacidade";
7
+ readonly review: "Revisão";
8
+ readonly complete: "Concluído";
9
+ };
10
+ export declare const CREATE_QUESTION_STEP_ORDER: readonly ["social-question", "social-privacy", "review"];
11
+ declare const CreateQuestionPage: React.FC<CreateQuestionPageProps>;
12
+ export default CreateQuestionPage;
@@ -0,0 +1,55 @@
1
+ import { z } from "zod";
2
+ import type { FormChatApiError, FormChatEditableFieldOption, FormChatEditInteraction, FormChatFieldInput, FormChatListOption, FormChatMessage, FormChatSelectionPayload, FormChatSendOptions } from "../../../components/FormChatAssistant";
3
+ import { type ExperienceCategory, type SocialVisibility } from "../../../components/social";
4
+ export declare const CreateQuestionValuesSchema: z.ZodObject<{
5
+ title: z.ZodString;
6
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ traditionLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ category: z.ZodOptional<z.ZodNullable<z.ZodEnum<["DESENVOLVIMENTO", "GIRA", "INCORPORACAO", "APRENDIZADO", "SENTIMENTO", "ANCESTRALIDADE", "ESPIRITUALIDADE", "DUVIDA_DESCOBERTA", "OTHER"]>>>;
9
+ visibility: z.ZodEnum<["PRIVATE", "TERREIRO", "COMMUNITY"]>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ title: string;
12
+ visibility: "TERREIRO" | "PRIVATE" | "COMMUNITY";
13
+ description?: string | null | undefined;
14
+ category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined;
15
+ traditionLabel?: string | null | undefined;
16
+ }, {
17
+ title: string;
18
+ visibility: "TERREIRO" | "PRIVATE" | "COMMUNITY";
19
+ description?: string | null | undefined;
20
+ category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined;
21
+ traditionLabel?: string | null | undefined;
22
+ }>;
23
+ export type CreateQuestionValues = z.infer<typeof CreateQuestionValuesSchema>;
24
+ export type CreateQuestionSummary = Partial<CreateQuestionValues>;
25
+ export type CreateQuestionStep = "social-question" | "social-privacy" | "review" | "complete";
26
+ export type CreateQuestionPageProps = {
27
+ messages: FormChatMessage[];
28
+ currentStep?: CreateQuestionStep;
29
+ fieldInput?: FormChatFieldInput;
30
+ fieldOptions?: FormChatListOption[];
31
+ selectedOption?: FormChatListOption;
32
+ quickReplies?: string[];
33
+ summary?: CreateQuestionSummary;
34
+ activeField?: string;
35
+ privacySelection?: SocialVisibility | null;
36
+ privacyOptions?: SocialVisibility[];
37
+ isLoading?: boolean;
38
+ error?: FormChatApiError | null;
39
+ editInteraction?: FormChatEditInteraction;
40
+ editingFieldLabel?: string;
41
+ editableFieldOptions?: FormChatEditableFieldOption[];
42
+ userAvatarUrl?: string;
43
+ confirmLabel?: string;
44
+ onSendMessage: (message: string, options?: FormChatSendOptions) => void;
45
+ onSelectOption?: (selection: FormChatSelectionPayload) => void;
46
+ onPrivacyChange: (value: SocialVisibility) => void;
47
+ onConfirm?: () => void;
48
+ onEdit?: () => void;
49
+ onEditField?: (fieldKey: string) => void;
50
+ onCancelEdit?: () => void;
51
+ onRetry?: () => void;
52
+ onReset?: () => void;
53
+ onBack?: () => void;
54
+ };
55
+ export type { ExperienceCategory, SocialVisibility };
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import type { CreateQuestionSummary } from "./CreateQuestionPage.types";
3
+ type CreateQuestionSummaryCardProps = {
4
+ summary: CreateQuestionSummary;
5
+ confirmLabel?: string;
6
+ isLoading?: boolean;
7
+ onConfirm?: () => void;
8
+ onEdit?: () => void;
9
+ onEditField?: (fieldKey: string) => void;
10
+ };
11
+ declare const CreateQuestionSummaryCard: React.FC<CreateQuestionSummaryCardProps>;
12
+ export default CreateQuestionSummaryCard;