@retinalabsllc/zairusjs 16.1.2 → 16.1.30

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/index.d.mts CHANGED
@@ -987,6 +987,7 @@ interface UniversalDepartmentsPageProps {
987
987
  totalPages: number;
988
988
  onPageChange: (page: number) => void;
989
989
  onDepartmentClick: (departmentId: string) => void;
990
+ onCreateDepartment?: (name: string) => Promise<void>;
990
991
  }
991
992
  declare const UniversalDepartmentsPage: React.FC<UniversalDepartmentsPageProps>;
992
993
 
@@ -1043,6 +1044,9 @@ interface UniversalHome2Props {
1043
1044
  fullName?: string;
1044
1045
  avatarSrc?: string | null;
1045
1046
  userStatus?: 'ACTIVE' | 'BUSY' | 'AWAY' | 'OFFLINE' | string;
1047
+ organizations?: any[];
1048
+ activeOrgId?: string;
1049
+ onOrganizationSelect?: (orgId: string) => void;
1046
1050
  barIcons?: BarIconProps[];
1047
1051
  createHuddleAction?: HomeActionBtn2;
1048
1052
  joinHuddleAction?: HomeActionBtn2;
@@ -1059,4 +1063,49 @@ interface UniversalHome2Props {
1059
1063
  }
1060
1064
  declare const UniversalHome2: React.FC<UniversalHome2Props>;
1061
1065
 
1062
- export { AppBento2, type AppBento2Props, type BannerProps, type BarIconProps, type BentoFeature, type BoardMember, type CardData, CardInfoDialog, type CardInfoDialogProps, type CompanyDetails, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type CryptoOption, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, type FiatCurrencyOption, Footer, type FooterColumn, type FooterLink, type FooterProps, FundCardDialog, type FundCardDialogProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, type HomeActionBtn, type HomeActionBtn2, type LeaderboardItem, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, MedicalFeatureStatsBlock, MobileNav, type MobileNavItem, type MobileNavProps, type NavItem, type NetworkOption, type NotificationItem, type NotificationItem2, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, PinDialerBottomSheet, type PinDialerBottomSheetProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingFeature2, type PricingPlan, type PricingTab, type ProjectItem, type RateCalculationPayload, type ReferralProfile, type RewardItem, type RewardProfile, type ScrollFeature, type SocialContact, type SocialLink, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, type TierOption, UniversalBuyCryptoPage, type UniversalBuyCryptoPageProps, UniversalCardActionPage, type UniversalCardActionPageProps, UniversalCardPage, type UniversalCardPageProps, type UniversalDepartment, UniversalDepartmentsPage, type UniversalDepartmentsPageProps, UniversalErrorView, type UniversalErrorViewProps, UniversalHome2, type UniversalHome2Props, UniversalHomeView, type UniversalHomeViewProps, type UniversalMember, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalProfilePage, type UniversalProfilePageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, type UniversalReferralItem, UniversalReferralPage, type UniversalReferralPageProps, UniversalRewardPage, type UniversalRewardPageProps, UniversalSecurityPage, type UniversalSecurityPageProps, UniversalSidebar, type UniversalSidebarProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, UniversalVerificationPage, type UniversalVerificationPageProps, type UniversalWallet, UniversalWalletPage, type UniversalWalletPageProps, type VerificationStatus, WaitlistDialog, type WaitlistDialogProps };
1066
+ interface UniversalMember2 {
1067
+ id: string;
1068
+ userId: string;
1069
+ name: string;
1070
+ avatarUrl?: string | null;
1071
+ status: 'ACTIVE' | 'BUSY' | 'AWAY' | 'OFFLINE' | string;
1072
+ role: string;
1073
+ departmentName?: string;
1074
+ }
1075
+ interface UniversalSettingsProps {
1076
+ accountType: 'INDIVIDUAL' | 'ORGANIZATION';
1077
+ userRole?: 'ADMIN' | 'MANAGER' | 'MEMBER' | 'GUEST' | string;
1078
+ members?: UniversalMember2[];
1079
+ isMembersLoading?: boolean;
1080
+ membersCurrentPage?: number;
1081
+ membersTotalPages?: number;
1082
+ onMembersPageChange?: (page: number) => void;
1083
+ membersSearchQuery?: string;
1084
+ onMembersSearchChange?: (query: string) => void;
1085
+ activeStatusFilter?: string;
1086
+ onStatusFilterChange?: (status: string) => void;
1087
+ activeRoleFilter?: string;
1088
+ onRoleFilterChange?: (role: string) => void;
1089
+ onRemoveMember?: (memberId: string) => Promise<void>;
1090
+ onInviteMember?: (email: string) => Promise<void>;
1091
+ initialDisplayName: string;
1092
+ initialSlug: string;
1093
+ slugPrefixUrl?: string;
1094
+ onSaveAccount?: (payload: {
1095
+ displayName?: string;
1096
+ slug?: string;
1097
+ }) => Promise<{
1098
+ success: boolean;
1099
+ error?: string;
1100
+ }>;
1101
+ onCheckSlugAvailability?: (slug: string) => Promise<{
1102
+ available: boolean;
1103
+ }>;
1104
+ aiCredits: string;
1105
+ isBillingLoading?: boolean;
1106
+ onTopUp?: () => void;
1107
+ onBack?: () => void;
1108
+ }
1109
+ declare const UniversalSettings: React.FC<UniversalSettingsProps>;
1110
+
1111
+ export { AppBento2, type AppBento2Props, type BannerProps, type BarIconProps, type BentoFeature, type BoardMember, type CardData, CardInfoDialog, type CardInfoDialogProps, type CompanyDetails, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type CryptoOption, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, type FiatCurrencyOption, Footer, type FooterColumn, type FooterLink, type FooterProps, FundCardDialog, type FundCardDialogProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, type HomeActionBtn, type HomeActionBtn2, type LeaderboardItem, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, MedicalFeatureStatsBlock, MobileNav, type MobileNavItem, type MobileNavProps, type NavItem, type NetworkOption, type NotificationItem, type NotificationItem2, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, PinDialerBottomSheet, type PinDialerBottomSheetProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingFeature2, type PricingPlan, type PricingTab, type ProjectItem, type RateCalculationPayload, type ReferralProfile, type RewardItem, type RewardProfile, type ScrollFeature, type SocialContact, type SocialLink, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, type TierOption, UniversalBuyCryptoPage, type UniversalBuyCryptoPageProps, UniversalCardActionPage, type UniversalCardActionPageProps, UniversalCardPage, type UniversalCardPageProps, type UniversalDepartment, UniversalDepartmentsPage, type UniversalDepartmentsPageProps, UniversalErrorView, type UniversalErrorViewProps, UniversalHome2, type UniversalHome2Props, UniversalHomeView, type UniversalHomeViewProps, type UniversalMember, type UniversalMember2, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalProfilePage, type UniversalProfilePageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, type UniversalReferralItem, UniversalReferralPage, type UniversalReferralPageProps, UniversalRewardPage, type UniversalRewardPageProps, UniversalSecurityPage, type UniversalSecurityPageProps, UniversalSettings, type UniversalSettingsProps, UniversalSidebar, type UniversalSidebarProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, UniversalVerificationPage, type UniversalVerificationPageProps, type UniversalWallet, UniversalWalletPage, type UniversalWalletPageProps, type VerificationStatus, WaitlistDialog, type WaitlistDialogProps };
package/dist/index.d.ts CHANGED
@@ -987,6 +987,7 @@ interface UniversalDepartmentsPageProps {
987
987
  totalPages: number;
988
988
  onPageChange: (page: number) => void;
989
989
  onDepartmentClick: (departmentId: string) => void;
990
+ onCreateDepartment?: (name: string) => Promise<void>;
990
991
  }
991
992
  declare const UniversalDepartmentsPage: React.FC<UniversalDepartmentsPageProps>;
992
993
 
@@ -1043,6 +1044,9 @@ interface UniversalHome2Props {
1043
1044
  fullName?: string;
1044
1045
  avatarSrc?: string | null;
1045
1046
  userStatus?: 'ACTIVE' | 'BUSY' | 'AWAY' | 'OFFLINE' | string;
1047
+ organizations?: any[];
1048
+ activeOrgId?: string;
1049
+ onOrganizationSelect?: (orgId: string) => void;
1046
1050
  barIcons?: BarIconProps[];
1047
1051
  createHuddleAction?: HomeActionBtn2;
1048
1052
  joinHuddleAction?: HomeActionBtn2;
@@ -1059,4 +1063,49 @@ interface UniversalHome2Props {
1059
1063
  }
1060
1064
  declare const UniversalHome2: React.FC<UniversalHome2Props>;
1061
1065
 
1062
- export { AppBento2, type AppBento2Props, type BannerProps, type BarIconProps, type BentoFeature, type BoardMember, type CardData, CardInfoDialog, type CardInfoDialogProps, type CompanyDetails, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type CryptoOption, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, type FiatCurrencyOption, Footer, type FooterColumn, type FooterLink, type FooterProps, FundCardDialog, type FundCardDialogProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, type HomeActionBtn, type HomeActionBtn2, type LeaderboardItem, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, MedicalFeatureStatsBlock, MobileNav, type MobileNavItem, type MobileNavProps, type NavItem, type NetworkOption, type NotificationItem, type NotificationItem2, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, PinDialerBottomSheet, type PinDialerBottomSheetProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingFeature2, type PricingPlan, type PricingTab, type ProjectItem, type RateCalculationPayload, type ReferralProfile, type RewardItem, type RewardProfile, type ScrollFeature, type SocialContact, type SocialLink, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, type TierOption, UniversalBuyCryptoPage, type UniversalBuyCryptoPageProps, UniversalCardActionPage, type UniversalCardActionPageProps, UniversalCardPage, type UniversalCardPageProps, type UniversalDepartment, UniversalDepartmentsPage, type UniversalDepartmentsPageProps, UniversalErrorView, type UniversalErrorViewProps, UniversalHome2, type UniversalHome2Props, UniversalHomeView, type UniversalHomeViewProps, type UniversalMember, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalProfilePage, type UniversalProfilePageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, type UniversalReferralItem, UniversalReferralPage, type UniversalReferralPageProps, UniversalRewardPage, type UniversalRewardPageProps, UniversalSecurityPage, type UniversalSecurityPageProps, UniversalSidebar, type UniversalSidebarProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, UniversalVerificationPage, type UniversalVerificationPageProps, type UniversalWallet, UniversalWalletPage, type UniversalWalletPageProps, type VerificationStatus, WaitlistDialog, type WaitlistDialogProps };
1066
+ interface UniversalMember2 {
1067
+ id: string;
1068
+ userId: string;
1069
+ name: string;
1070
+ avatarUrl?: string | null;
1071
+ status: 'ACTIVE' | 'BUSY' | 'AWAY' | 'OFFLINE' | string;
1072
+ role: string;
1073
+ departmentName?: string;
1074
+ }
1075
+ interface UniversalSettingsProps {
1076
+ accountType: 'INDIVIDUAL' | 'ORGANIZATION';
1077
+ userRole?: 'ADMIN' | 'MANAGER' | 'MEMBER' | 'GUEST' | string;
1078
+ members?: UniversalMember2[];
1079
+ isMembersLoading?: boolean;
1080
+ membersCurrentPage?: number;
1081
+ membersTotalPages?: number;
1082
+ onMembersPageChange?: (page: number) => void;
1083
+ membersSearchQuery?: string;
1084
+ onMembersSearchChange?: (query: string) => void;
1085
+ activeStatusFilter?: string;
1086
+ onStatusFilterChange?: (status: string) => void;
1087
+ activeRoleFilter?: string;
1088
+ onRoleFilterChange?: (role: string) => void;
1089
+ onRemoveMember?: (memberId: string) => Promise<void>;
1090
+ onInviteMember?: (email: string) => Promise<void>;
1091
+ initialDisplayName: string;
1092
+ initialSlug: string;
1093
+ slugPrefixUrl?: string;
1094
+ onSaveAccount?: (payload: {
1095
+ displayName?: string;
1096
+ slug?: string;
1097
+ }) => Promise<{
1098
+ success: boolean;
1099
+ error?: string;
1100
+ }>;
1101
+ onCheckSlugAvailability?: (slug: string) => Promise<{
1102
+ available: boolean;
1103
+ }>;
1104
+ aiCredits: string;
1105
+ isBillingLoading?: boolean;
1106
+ onTopUp?: () => void;
1107
+ onBack?: () => void;
1108
+ }
1109
+ declare const UniversalSettings: React.FC<UniversalSettingsProps>;
1110
+
1111
+ export { AppBento2, type AppBento2Props, type BannerProps, type BarIconProps, type BentoFeature, type BoardMember, type CardData, CardInfoDialog, type CardInfoDialogProps, type CompanyDetails, type ConsultantProfile, ConsultantShowcase, type ConsultantShowcaseProps, ContentGridBlock, type ContentGridBlockProps, type CryptoOption, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, type FiatCurrencyOption, Footer, type FooterColumn, type FooterLink, type FooterProps, FundCardDialog, type FundCardDialogProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, type AppLogo$1 as HeroAppLogo, HeroSection, type HeroSectionProps, type HomeActionBtn, type HomeActionBtn2, type LeaderboardItem, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, MedicalFeatureStatsBlock, MobileNav, type MobileNavItem, type MobileNavProps, type NavItem, type NetworkOption, type NotificationItem, type NotificationItem2, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, PinDialerBottomSheet, type PinDialerBottomSheetProps, PipleAuth, type PipleAuthProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type AppLogo as PricingAppLogo, type PricingFeature, type PricingFeature2, type PricingPlan, type PricingTab, type ProjectItem, type RateCalculationPayload, type ReferralProfile, type RewardItem, type RewardProfile, type ScrollFeature, type SocialContact, type SocialLink, type StatItem, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, type TierOption, UniversalBuyCryptoPage, type UniversalBuyCryptoPageProps, UniversalCardActionPage, type UniversalCardActionPageProps, UniversalCardPage, type UniversalCardPageProps, type UniversalDepartment, UniversalDepartmentsPage, type UniversalDepartmentsPageProps, UniversalErrorView, type UniversalErrorViewProps, UniversalHome2, type UniversalHome2Props, UniversalHomeView, type UniversalHomeViewProps, type UniversalMember, type UniversalMember2, UniversalMembersPage, type UniversalMembersPageProps, UniversalOrganizationPage, type UniversalOrganizationPageProps, UniversalProfilePage, type UniversalProfilePageProps, UniversalProfileSettings, type UniversalProfileSettingsProps, type UniversalReferralItem, UniversalReferralPage, type UniversalReferralPageProps, UniversalRewardPage, type UniversalRewardPageProps, UniversalSecurityPage, type UniversalSecurityPageProps, UniversalSettings, type UniversalSettingsProps, UniversalSidebar, type UniversalSidebarProps, type UniversalTransaction, UniversalTransactionPage, type UniversalTransactionPageProps, UniversalVerificationPage, type UniversalVerificationPageProps, type UniversalWallet, UniversalWalletPage, type UniversalWalletPageProps, type VerificationStatus, WaitlistDialog, type WaitlistDialogProps };