@feelflow/ffid-sdk 12.2.0 → 12.2.2

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 (34) hide show
  1. package/README.md +1 -1
  2. package/dist/{FFIDCookieLink-yt5SUr-W.d.cts → FFIDCookieLink-B91Fpinc.d.cts} +2 -1
  3. package/dist/{FFIDCookieLink-yt5SUr-W.d.ts → FFIDCookieLink-B91Fpinc.d.ts} +2 -1
  4. package/dist/agency/index.d.cts +22 -1
  5. package/dist/agency/index.d.ts +22 -1
  6. package/dist/announcements/index.d.cts +2 -1
  7. package/dist/announcements/index.d.ts +2 -1
  8. package/dist/{chunk-LT7FQ7BT.cjs → chunk-4UCL6JN6.cjs} +8 -6
  9. package/dist/{chunk-75ISD4I4.js → chunk-OQCNCKJ4.js} +8 -6
  10. package/dist/components/index.cjs +8 -8
  11. package/dist/components/index.d.cts +1 -1
  12. package/dist/components/index.d.ts +1 -1
  13. package/dist/components/index.js +1 -1
  14. package/dist/consent/index.d.cts +4 -3
  15. package/dist/consent/index.d.ts +4 -3
  16. package/dist/{ffid-client-DMwmK8mM.d.cts → ffid-client-C4Mjg70P.d.cts} +5 -3
  17. package/dist/{ffid-client-Dr2KVlIZ.d.ts → ffid-client-E9ja3Jus.d.ts} +5 -3
  18. package/dist/{index-f9k9reXO.d.cts → index-BCX5kug1.d.cts} +251 -249
  19. package/dist/{index-f9k9reXO.d.ts → index-BCX5kug1.d.ts} +251 -249
  20. package/dist/index.cjs +93 -93
  21. package/dist/index.d.cts +113 -112
  22. package/dist/index.d.ts +113 -112
  23. package/dist/index.js +2 -2
  24. package/dist/legal/index.d.cts +2 -1
  25. package/dist/legal/index.d.ts +2 -1
  26. package/dist/server/index.cjs +1 -1
  27. package/dist/server/index.d.cts +4 -3
  28. package/dist/server/index.d.ts +4 -3
  29. package/dist/server/index.js +1 -1
  30. package/dist/server/test/index.d.cts +3 -2
  31. package/dist/server/test/index.d.ts +3 -2
  32. package/dist/webhooks/index.d.cts +2 -1
  33. package/dist/webhooks/index.d.ts +2 -1
  34. package/package.json +3 -3
@@ -1,46 +1,68 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ButtonHTMLAttributes, ReactNode, CSSProperties } from 'react';
3
3
 
4
+ interface FFIDLoginButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
5
+ /** Button content */
6
+ children?: ReactNode;
7
+ /** Custom class name */
8
+ className?: string;
9
+ /** Show loading state while checking auth */
10
+ showLoading?: boolean;
11
+ }
4
12
  /**
5
- * Token Store
6
- *
7
- * Manages OAuth 2.0 tokens (access + refresh) with dual-storage support.
8
- * Falls back to in-memory storage when localStorage is unavailable
9
- * (e.g., Safari private browsing mode).
13
+ * Login button that redirects to FFID authentication
10
14
  */
15
+ declare function FFIDLoginButton({ children, className, showLoading, disabled, ...props }: FFIDLoginButtonProps): react_jsx_runtime.JSX.Element | null;
16
+
11
17
  /**
12
- * Token data stored by the token store
18
+ * ClassNames for styling individual parts of FFIDUserMenu
19
+ * @see https://www.radix-ui.com/primitives/docs/guides/styling
13
20
  */
14
- interface TokenData {
15
- /** OAuth 2.0 access token */
16
- accessToken: string;
17
- /** OAuth 2.0 refresh token */
18
- refreshToken: string;
19
- /** Expiration timestamp in milliseconds (Unix epoch) */
20
- expiresAt: number;
21
+ interface FFIDUserMenuClassNames {
22
+ /** Container wrapper */
23
+ container?: string;
24
+ /** Avatar button trigger */
25
+ button?: string;
26
+ /** Avatar element (image or fallback) */
27
+ avatar?: string;
28
+ /** Dropdown menu container */
29
+ menu?: string;
30
+ /** User info section at top of menu */
31
+ userInfo?: string;
32
+ /** Custom menu item buttons */
33
+ menuItem?: string;
34
+ /** Logout button */
35
+ logout?: string;
21
36
  }
22
- /**
23
- * Token store interface for managing OAuth tokens
24
- */
25
- interface TokenStore {
26
- /** Get stored tokens (null if not stored) */
27
- getTokens(): TokenData | null;
28
- /** Store new tokens */
29
- setTokens(tokens: TokenData): void;
30
- /** Clear all stored tokens */
31
- clearTokens(): void;
32
- /** Check if access token is expired (with 30s buffer) */
33
- isAccessTokenExpired(): boolean;
37
+ interface FFIDUserMenuProps {
38
+ /** Custom class name for the container */
39
+ className?: string;
40
+ /**
41
+ * Class names for individual parts (Radix UI pattern)
42
+ * Allows styling each internal element separately
43
+ */
44
+ classNames?: FFIDUserMenuClassNames;
45
+ /** Custom avatar component */
46
+ renderAvatar?: (user: {
47
+ avatarUrl: string | null;
48
+ displayName: string | null;
49
+ email: string;
50
+ }) => ReactNode;
51
+ /** Custom menu items */
52
+ menuItems?: Array<{
53
+ label: string;
54
+ onClick: () => void;
55
+ icon?: ReactNode;
56
+ }>;
57
+ /** Show organization info */
58
+ showOrganization?: boolean;
59
+ /** Logout button text */
60
+ logoutText?: string;
34
61
  }
35
62
  /**
36
- * Create a token store with the specified storage type.
37
- *
38
- * When storageType is 'localStorage' (default in browser), falls back
39
- * to memory if localStorage is not available (e.g., Safari private mode).
40
- *
41
- * @param storageType - 'localStorage' (default) or 'memory'
63
+ * User menu component showing avatar and dropdown
42
64
  */
43
- declare function createTokenStore(storageType?: 'localStorage' | 'memory'): TokenStore;
65
+ declare function FFIDUserMenu({ className, classNames, renderAvatar, menuItems, showOrganization, logoutText, }: FFIDUserMenuProps): react_jsx_runtime.JSX.Element | null;
44
66
 
45
67
  /** Cache adapter interface for FFID SDK token verification */
46
68
  /**
@@ -970,8 +992,9 @@ type FFIDServiceAccessFailPolicy = 'failClosed';
970
992
  /**
971
993
  * Why access was denied.
972
994
  *
973
- * `member_limit_reached` (10.0.0) is FFID's denial reason when a flat plan's member
974
- * limit is full and the user has no seat. It reaches you through OAuth
995
+ * `member_limit_reached` (10.0.0) is FFID's denial reason when the contract's member
996
+ * limit is full and the user has no seat: a flat plan's member limit, or (FFID #6371)
997
+ * a per_seat contract's seat count (`quantity`). It reaches you through OAuth
975
998
  * (`denial_reason` on the authorize redirect / userinfo 403; see
976
999
  * `FFIDOAuthDenialReason` for that vocabulary); `checkServiceAccess()`
977
1000
  * derives its decision from `effectiveStatus` and never returns it, because a full
@@ -1036,6 +1059,47 @@ interface FFIDServiceAccessDecision {
1036
1059
  error?: FFIDServiceAccessError;
1037
1060
  }
1038
1061
 
1062
+ /**
1063
+ * Token Store
1064
+ *
1065
+ * Manages OAuth 2.0 tokens (access + refresh) with dual-storage support.
1066
+ * Falls back to in-memory storage when localStorage is unavailable
1067
+ * (e.g., Safari private browsing mode).
1068
+ */
1069
+ /**
1070
+ * Token data stored by the token store
1071
+ */
1072
+ interface TokenData {
1073
+ /** OAuth 2.0 access token */
1074
+ accessToken: string;
1075
+ /** OAuth 2.0 refresh token */
1076
+ refreshToken: string;
1077
+ /** Expiration timestamp in milliseconds (Unix epoch) */
1078
+ expiresAt: number;
1079
+ }
1080
+ /**
1081
+ * Token store interface for managing OAuth tokens
1082
+ */
1083
+ interface TokenStore {
1084
+ /** Get stored tokens (null if not stored) */
1085
+ getTokens(): TokenData | null;
1086
+ /** Store new tokens */
1087
+ setTokens(tokens: TokenData): void;
1088
+ /** Clear all stored tokens */
1089
+ clearTokens(): void;
1090
+ /** Check if access token is expired (with 30s buffer) */
1091
+ isAccessTokenExpired(): boolean;
1092
+ }
1093
+ /**
1094
+ * Create a token store with the specified storage type.
1095
+ *
1096
+ * When storageType is 'localStorage' (default in browser), falls back
1097
+ * to memory if localStorage is not available (e.g., Safari private mode).
1098
+ *
1099
+ * @param storageType - 'localStorage' (default) or 'memory'
1100
+ */
1101
+ declare function createTokenStore(storageType?: 'localStorage' | 'memory'): TokenStore;
1102
+
1039
1103
  /**
1040
1104
  * FFID SDK Type Definitions
1041
1105
  *
@@ -1668,6 +1732,81 @@ interface FFIDAnalyticsConfig {
1668
1732
  isActive: boolean;
1669
1733
  }
1670
1734
 
1735
+ /**
1736
+ * ClassNames for styling individual parts of FFIDOrganizationSwitcher
1737
+ * @see https://www.radix-ui.com/primitives/docs/guides/styling
1738
+ */
1739
+ interface FFIDOrganizationSwitcherClassNames {
1740
+ /** Container wrapper */
1741
+ container?: string;
1742
+ /** Trigger button */
1743
+ button?: string;
1744
+ /** Dropdown menu */
1745
+ dropdown?: string;
1746
+ /** Organization option (each item) */
1747
+ option?: string;
1748
+ /** Currently selected option (added in addition to option) */
1749
+ optionSelected?: string;
1750
+ }
1751
+ interface FFIDOrganizationSwitcherProps {
1752
+ /** Custom class name */
1753
+ className?: string;
1754
+ /**
1755
+ * Class names for individual parts (Radix UI pattern)
1756
+ * Allows styling each internal element separately
1757
+ */
1758
+ classNames?: FFIDOrganizationSwitcherClassNames;
1759
+ /** Custom render for organization item */
1760
+ renderOrganization?: (org: FFIDOrganization, isCurrent: boolean) => ReactNode;
1761
+ /** Label text */
1762
+ label?: string;
1763
+ /** Empty state text */
1764
+ emptyText?: string;
1765
+ /** Called when organization is switched */
1766
+ onSwitch?: (organizationId: string) => void;
1767
+ }
1768
+ /**
1769
+ * Organization switcher dropdown
1770
+ */
1771
+ declare function FFIDOrganizationSwitcher({ className, classNames, renderOrganization, label, emptyText, onSwitch, }: FFIDOrganizationSwitcherProps): react_jsx_runtime.JSX.Element | null;
1772
+
1773
+ /**
1774
+ * ClassNames for styling individual parts of FFIDSubscriptionBadge
1775
+ * @see https://www.radix-ui.com/primitives/docs/guides/styling
1776
+ */
1777
+ interface FFIDSubscriptionBadgeClassNames {
1778
+ /** The badge span element (also accessible via className prop) */
1779
+ badge?: string;
1780
+ }
1781
+ interface FFIDSubscriptionBadgeProps {
1782
+ /** Custom class name (applies to badge span) */
1783
+ className?: string;
1784
+ /**
1785
+ * Class names for individual parts (Radix UI pattern)
1786
+ * For this simple component, using className is usually sufficient
1787
+ */
1788
+ classNames?: FFIDSubscriptionBadgeClassNames;
1789
+ /** Custom style */
1790
+ style?: CSSProperties;
1791
+ /** Show plan name instead of status */
1792
+ showPlanName?: boolean;
1793
+ /** Custom labels for each status */
1794
+ labels?: {
1795
+ active?: string;
1796
+ trialing?: string;
1797
+ pastDue?: string;
1798
+ canceled?: string;
1799
+ paused?: string;
1800
+ none?: string;
1801
+ };
1802
+ /** Custom render function */
1803
+ render?: (status: string, planName: string | null) => ReactNode;
1804
+ }
1805
+ /**
1806
+ * Subscription status badge
1807
+ */
1808
+ declare function FFIDSubscriptionBadge({ className, classNames, style, showPlanName, labels, render, }: FFIDSubscriptionBadgeProps): react_jsx_runtime.JSX.Element;
1809
+
1671
1810
  /**
1672
1811
  * FFID Announcements SDK Type Definitions
1673
1812
  *
@@ -1815,6 +1954,82 @@ interface UseFFIDAnnouncementsReturn {
1815
1954
  */
1816
1955
  declare function useFFIDAnnouncements(options?: UseFFIDAnnouncementsOptions): UseFFIDAnnouncementsReturn;
1817
1956
 
1957
+ /** ClassNames for styling individual parts */
1958
+ interface FFIDAnnouncementBadgeClassNames {
1959
+ /** The button wrapper element */
1960
+ button?: string;
1961
+ /** The badge count element */
1962
+ badge?: string;
1963
+ /** The bell icon SVG */
1964
+ icon?: string;
1965
+ }
1966
+ interface FFIDAnnouncementBadgeProps {
1967
+ /** Click handler (e.g., open announcement panel) */
1968
+ onClick?: () => void;
1969
+ /** Custom class name (applies to button) */
1970
+ className?: string;
1971
+ /** Class names for individual parts */
1972
+ classNames?: FFIDAnnouncementBadgeClassNames;
1973
+ /** Custom style for the button */
1974
+ style?: CSSProperties;
1975
+ /** Options passed to useFFIDAnnouncements */
1976
+ announcementOptions?: UseFFIDAnnouncementsOptions;
1977
+ /** Icon size in pixels (default: 20) */
1978
+ iconSize?: number;
1979
+ /** Accessible label (default: 'お知らせ') */
1980
+ ariaLabel?: string;
1981
+ }
1982
+ /**
1983
+ * Announcement badge with bell icon and unread count
1984
+ */
1985
+ declare function FFIDAnnouncementBadge({ onClick, className, classNames, style, announcementOptions, iconSize, ariaLabel, }: FFIDAnnouncementBadgeProps): react_jsx_runtime.JSX.Element;
1986
+
1987
+ /** ClassNames for styling individual parts */
1988
+ interface FFIDAnnouncementListClassNames {
1989
+ /** The list container */
1990
+ container?: string;
1991
+ /** Each announcement item */
1992
+ item?: string;
1993
+ /** The type icon */
1994
+ icon?: string;
1995
+ /** The title text */
1996
+ title?: string;
1997
+ /** The content text */
1998
+ content?: string;
1999
+ /** The timestamp */
2000
+ timestamp?: string;
2001
+ /** Affected service tag */
2002
+ serviceTag?: string;
2003
+ /** Empty state message */
2004
+ empty?: string;
2005
+ }
2006
+ interface FFIDAnnouncementListProps {
2007
+ /** Announcements to display */
2008
+ announcements: Announcement[];
2009
+ /** Whether data is loading */
2010
+ isLoading?: boolean;
2011
+ /** Custom class name (applies to container) */
2012
+ className?: string;
2013
+ /** Class names for individual parts */
2014
+ classNames?: FFIDAnnouncementListClassNames;
2015
+ /** Custom style for the container */
2016
+ style?: CSSProperties;
2017
+ /** Date/time formatter (default: Japanese locale) */
2018
+ formatDate?: (dateStr: string) => string;
2019
+ /** Empty state message */
2020
+ emptyMessage?: ReactNode;
2021
+ /** Loading state render */
2022
+ loadingRender?: ReactNode;
2023
+ /** Custom item render */
2024
+ renderItem?: (announcement: Announcement) => ReactNode;
2025
+ /** Max lines for content preview (0 = hide content) */
2026
+ maxContentLines?: number;
2027
+ }
2028
+ /**
2029
+ * Announcement list component
2030
+ */
2031
+ declare function FFIDAnnouncementList({ announcements, isLoading, className, classNames, style, formatDate, emptyMessage, loadingRender, renderItem, maxContentLines, }: FFIDAnnouncementListProps): react_jsx_runtime.JSX.Element;
2032
+
1818
2033
  /**
1819
2034
  * Inquiry types exposed by the FFID SDK.
1820
2035
  *
@@ -1937,220 +2152,6 @@ interface FFIDInquiryCreateResponse {
1937
2152
  newsletterSubscribed: boolean;
1938
2153
  }
1939
2154
 
1940
- interface FFIDLoginButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
1941
- /** Button content */
1942
- children?: ReactNode;
1943
- /** Custom class name */
1944
- className?: string;
1945
- /** Show loading state while checking auth */
1946
- showLoading?: boolean;
1947
- }
1948
- /**
1949
- * Login button that redirects to FFID authentication
1950
- */
1951
- declare function FFIDLoginButton({ children, className, showLoading, disabled, ...props }: FFIDLoginButtonProps): react_jsx_runtime.JSX.Element | null;
1952
-
1953
- /**
1954
- * ClassNames for styling individual parts of FFIDUserMenu
1955
- * @see https://www.radix-ui.com/primitives/docs/guides/styling
1956
- */
1957
- interface FFIDUserMenuClassNames {
1958
- /** Container wrapper */
1959
- container?: string;
1960
- /** Avatar button trigger */
1961
- button?: string;
1962
- /** Avatar element (image or fallback) */
1963
- avatar?: string;
1964
- /** Dropdown menu container */
1965
- menu?: string;
1966
- /** User info section at top of menu */
1967
- userInfo?: string;
1968
- /** Custom menu item buttons */
1969
- menuItem?: string;
1970
- /** Logout button */
1971
- logout?: string;
1972
- }
1973
- interface FFIDUserMenuProps {
1974
- /** Custom class name for the container */
1975
- className?: string;
1976
- /**
1977
- * Class names for individual parts (Radix UI pattern)
1978
- * Allows styling each internal element separately
1979
- */
1980
- classNames?: FFIDUserMenuClassNames;
1981
- /** Custom avatar component */
1982
- renderAvatar?: (user: {
1983
- avatarUrl: string | null;
1984
- displayName: string | null;
1985
- email: string;
1986
- }) => ReactNode;
1987
- /** Custom menu items */
1988
- menuItems?: Array<{
1989
- label: string;
1990
- onClick: () => void;
1991
- icon?: ReactNode;
1992
- }>;
1993
- /** Show organization info */
1994
- showOrganization?: boolean;
1995
- /** Logout button text */
1996
- logoutText?: string;
1997
- }
1998
- /**
1999
- * User menu component showing avatar and dropdown
2000
- */
2001
- declare function FFIDUserMenu({ className, classNames, renderAvatar, menuItems, showOrganization, logoutText, }: FFIDUserMenuProps): react_jsx_runtime.JSX.Element | null;
2002
-
2003
- /**
2004
- * ClassNames for styling individual parts of FFIDOrganizationSwitcher
2005
- * @see https://www.radix-ui.com/primitives/docs/guides/styling
2006
- */
2007
- interface FFIDOrganizationSwitcherClassNames {
2008
- /** Container wrapper */
2009
- container?: string;
2010
- /** Trigger button */
2011
- button?: string;
2012
- /** Dropdown menu */
2013
- dropdown?: string;
2014
- /** Organization option (each item) */
2015
- option?: string;
2016
- /** Currently selected option (added in addition to option) */
2017
- optionSelected?: string;
2018
- }
2019
- interface FFIDOrganizationSwitcherProps {
2020
- /** Custom class name */
2021
- className?: string;
2022
- /**
2023
- * Class names for individual parts (Radix UI pattern)
2024
- * Allows styling each internal element separately
2025
- */
2026
- classNames?: FFIDOrganizationSwitcherClassNames;
2027
- /** Custom render for organization item */
2028
- renderOrganization?: (org: FFIDOrganization, isCurrent: boolean) => ReactNode;
2029
- /** Label text */
2030
- label?: string;
2031
- /** Empty state text */
2032
- emptyText?: string;
2033
- /** Called when organization is switched */
2034
- onSwitch?: (organizationId: string) => void;
2035
- }
2036
- /**
2037
- * Organization switcher dropdown
2038
- */
2039
- declare function FFIDOrganizationSwitcher({ className, classNames, renderOrganization, label, emptyText, onSwitch, }: FFIDOrganizationSwitcherProps): react_jsx_runtime.JSX.Element | null;
2040
-
2041
- /**
2042
- * ClassNames for styling individual parts of FFIDSubscriptionBadge
2043
- * @see https://www.radix-ui.com/primitives/docs/guides/styling
2044
- */
2045
- interface FFIDSubscriptionBadgeClassNames {
2046
- /** The badge span element (also accessible via className prop) */
2047
- badge?: string;
2048
- }
2049
- interface FFIDSubscriptionBadgeProps {
2050
- /** Custom class name (applies to badge span) */
2051
- className?: string;
2052
- /**
2053
- * Class names for individual parts (Radix UI pattern)
2054
- * For this simple component, using className is usually sufficient
2055
- */
2056
- classNames?: FFIDSubscriptionBadgeClassNames;
2057
- /** Custom style */
2058
- style?: CSSProperties;
2059
- /** Show plan name instead of status */
2060
- showPlanName?: boolean;
2061
- /** Custom labels for each status */
2062
- labels?: {
2063
- active?: string;
2064
- trialing?: string;
2065
- pastDue?: string;
2066
- canceled?: string;
2067
- paused?: string;
2068
- none?: string;
2069
- };
2070
- /** Custom render function */
2071
- render?: (status: string, planName: string | null) => ReactNode;
2072
- }
2073
- /**
2074
- * Subscription status badge
2075
- */
2076
- declare function FFIDSubscriptionBadge({ className, classNames, style, showPlanName, labels, render, }: FFIDSubscriptionBadgeProps): react_jsx_runtime.JSX.Element;
2077
-
2078
- /** ClassNames for styling individual parts */
2079
- interface FFIDAnnouncementBadgeClassNames {
2080
- /** The button wrapper element */
2081
- button?: string;
2082
- /** The badge count element */
2083
- badge?: string;
2084
- /** The bell icon SVG */
2085
- icon?: string;
2086
- }
2087
- interface FFIDAnnouncementBadgeProps {
2088
- /** Click handler (e.g., open announcement panel) */
2089
- onClick?: () => void;
2090
- /** Custom class name (applies to button) */
2091
- className?: string;
2092
- /** Class names for individual parts */
2093
- classNames?: FFIDAnnouncementBadgeClassNames;
2094
- /** Custom style for the button */
2095
- style?: CSSProperties;
2096
- /** Options passed to useFFIDAnnouncements */
2097
- announcementOptions?: UseFFIDAnnouncementsOptions;
2098
- /** Icon size in pixels (default: 20) */
2099
- iconSize?: number;
2100
- /** Accessible label (default: 'お知らせ') */
2101
- ariaLabel?: string;
2102
- }
2103
- /**
2104
- * Announcement badge with bell icon and unread count
2105
- */
2106
- declare function FFIDAnnouncementBadge({ onClick, className, classNames, style, announcementOptions, iconSize, ariaLabel, }: FFIDAnnouncementBadgeProps): react_jsx_runtime.JSX.Element;
2107
-
2108
- /** ClassNames for styling individual parts */
2109
- interface FFIDAnnouncementListClassNames {
2110
- /** The list container */
2111
- container?: string;
2112
- /** Each announcement item */
2113
- item?: string;
2114
- /** The type icon */
2115
- icon?: string;
2116
- /** The title text */
2117
- title?: string;
2118
- /** The content text */
2119
- content?: string;
2120
- /** The timestamp */
2121
- timestamp?: string;
2122
- /** Affected service tag */
2123
- serviceTag?: string;
2124
- /** Empty state message */
2125
- empty?: string;
2126
- }
2127
- interface FFIDAnnouncementListProps {
2128
- /** Announcements to display */
2129
- announcements: Announcement[];
2130
- /** Whether data is loading */
2131
- isLoading?: boolean;
2132
- /** Custom class name (applies to container) */
2133
- className?: string;
2134
- /** Class names for individual parts */
2135
- classNames?: FFIDAnnouncementListClassNames;
2136
- /** Custom style for the container */
2137
- style?: CSSProperties;
2138
- /** Date/time formatter (default: Japanese locale) */
2139
- formatDate?: (dateStr: string) => string;
2140
- /** Empty state message */
2141
- emptyMessage?: ReactNode;
2142
- /** Loading state render */
2143
- loadingRender?: ReactNode;
2144
- /** Custom item render */
2145
- renderItem?: (announcement: Announcement) => ReactNode;
2146
- /** Max lines for content preview (0 = hide content) */
2147
- maxContentLines?: number;
2148
- }
2149
- /**
2150
- * Announcement list component
2151
- */
2152
- declare function FFIDAnnouncementList({ announcements, isLoading, className, classNames, style, formatDate, emptyMessage, loadingRender, renderItem, maxContentLines, }: FFIDAnnouncementListProps): react_jsx_runtime.JSX.Element;
2153
-
2154
2155
  /**
2155
2156
  * Internals shared with the `FFIDInquiryForm` component.
2156
2157
  *
@@ -2421,4 +2422,5 @@ interface FFIDInquiryFormPlaceholderContext {
2421
2422
  }
2422
2423
  declare function FFIDInquiryForm({ mode, prefill, organizations, preselectedOrganizationId, categories, termsVersion, privacyVersion, termsHref, privacyHref, turnstileToken, acquisitionSource, turnstileSlot, onSubmit, onChange, legalLayout, messagePlaceholder, requireCategorySelection, unstyled, classNames, locale, className, }: FFIDInquiryFormProps): react_jsx_runtime.JSX.Element;
2423
2424
 
2424
- export { type FFIDAnnouncementsClientConfig as $, type FFIDVerifyAccessTokenOptions as A, type FFIDOAuthUserInfo as B, type FFIDInquiryCreateParams as C, type FFIDInquiryCreateResponse as D, type FFIDCreditBalance as E, type FFIDOAuthUserInfoSubscription as F, type FFIDListCreditHistoryOptions as G, type FFIDCreditHistoryPage as H, type FFIDCreditPackList as I, type FFIDCreatePackCheckoutParams as J, type FFIDCreditPackCheckout as K, type FFIDCreditConsumeParams as L, type FFIDCreditConsumeResult as M, type FFIDBuyCreditsUrlParams as N, type FFIDAuthMode as O, type FFIDLogger as P, type FFIDCacheAdapter as Q, type FFIDUser as R, type FFIDOrganization as S, type TokenStore as T, type FFIDSubscription as U, type FFIDSubscriptionContextValue as V, type EffectiveSubscriptionStatus as W, type FFIDSubscriptionStatus as X, type FFIDCatalogEnvironment as Y, type FFIDBillingInterval as Z, type FFIDTaxBehavior as _, type FFIDAccountType as a, FFID_CREDITS_FEATURE_PATTERN as a$, type ListAnnouncementsOptions as a0, type FFIDAnnouncementsApiResponse as a1, type AnnouncementListResponse as a2, type FFIDAnnouncementsLogger as a3, type Announcement as a4, type AnnouncementStatus as a5, type AnnouncementType as a6, EFFECTIVE_SUBSCRIPTION_STATUSES as a7, FFIDAnnouncementBadge as a8, FFIDAnnouncementList as a9, type FFIDInquiryFormSubmitResult as aA, type FFIDJwtClaims as aB, FFIDLoginButton as aC, type FFIDOAuthUserInfoMemberRole as aD, FFIDOrganizationSwitcher as aE, type FFIDPlanChangeLineItem as aF, type FFIDPlanChangePreview as aG, type FFIDPlanInfo as aH, type FFIDPricingModel as aI, type FFIDPublishedPlan as aJ, type FFIDSeatAssignmentClaim as aK, type FFIDSeatAssignmentStatus as aL, type FFIDSeatChangeLineItem as aM, type FFIDSeatChangePreview as aN, type FFIDSeatModel as aO, type FFIDServiceAccessDenialReason as aP, type FFIDServiceAccessFailPolicy as aQ, type FFIDServiceInfo as aR, FFIDSubscriptionBadge as aS, type FFIDSubscriptionCheckCredits as aT, type FFIDSubscriptionSummary as aU, type FFIDSupportedCurrency as aV, FFIDUserMenu as aW, FFID_CATALOG_ENVIRONMENTS as aX, FFID_CATALOG_PUBLICATION_STATUSES as aY, FFID_CREDITS_CONSUME_MAX_AMOUNT as aZ, FFID_CREDITS_CONSUME_MIN_AMOUNT as a_, type FFIDAnnouncementsError as aa, type FFIDAnnouncementsErrorCode as ab, type FFIDAnnouncementsServerResponse as ac, type FFIDApiResponseMeta as ad, type FFIDCacheConfig as ae, type FFIDCatalogPublication as af, type FFIDCatalogPublicationStatus as ag, type FFIDContextValue as ah, type FFIDCreditBreakdown as ai, type FFIDCreditGrantKind as aj, type FFIDCreditHistoryItem as ak, type FFIDCreditHistoryType as al, type FFIDCreditPack as am, type FFIDCreditsInsufficientDetails as an, type FFIDInquiryAcquisitionSource as ao, type FFIDInquiryCategory as ap, type FFIDInquiryCategorySite2026 as aq, FFIDInquiryForm as ar, type FFIDInquiryFormCategoryItem as as, type FFIDInquiryFormClassNames as at, type FFIDInquiryFormLegalLayout as au, type FFIDInquiryFormOrganization as av, type FFIDInquiryFormPlaceholderContext as aw, type FFIDInquiryFormPrefill as ax, type FFIDInquiryFormProps as ay, type FFIDInquiryFormSubmitData as az, type FFIDPrompt as b, FFID_CREDITS_HISTORY_DEFAULT_LIMIT as b0, FFID_CREDITS_HISTORY_MAX_LIMIT as b1, FFID_CREDITS_HISTORY_MIN_LIMIT as b2, FFID_CREDITS_IDEMPOTENCY_KEY_PATTERN as b3, FFID_CREDITS_LOW_THRESHOLD_PERCENT as b4, FFID_CREDITS_METADATA_MAX_BYTES as b5, FFID_CREDIT_GRANT_KINDS as b6, FFID_CREDIT_HISTORY_TYPES as b7, FFID_CREDIT_PACK_MAX_QUANTITY as b8, FFID_CREDIT_PACK_MIN_QUANTITY as b9, FFID_INQUIRY_ACQUISITION_SOURCES as ba, FFID_INQUIRY_CATEGORIES as bb, FFID_INQUIRY_CATEGORIES_SITE_2026 as bc, type TokenData as bd, type UseFFIDAnnouncementsOptions as be, type UseFFIDAnnouncementsReturn as bf, createTokenStore as bg, isFFIDInquiryAcquisitionSource as bh, isFFIDInquiryCategorySite2026 as bi, useFFIDAnnouncements as bj, type FFIDAnnouncementBadgeClassNames as bk, type FFIDAnnouncementBadgeProps as bl, type FFIDAnnouncementListClassNames as bm, type FFIDAnnouncementListProps as bn, type FFIDLoginButtonProps as bo, type FFIDOrganizationSwitcherClassNames as bp, type FFIDOrganizationSwitcherProps as bq, type FFIDSubscriptionBadgeClassNames as br, type FFIDSubscriptionBadgeProps as bs, type FFIDUserMenuClassNames as bt, type FFIDUserMenuProps as bu, type FFIDConfig as c, type FFIDApiResponse as d, type FFIDSessionResponse as e, type FFIDSignOutResult as f, type FFIDError as g, type FFIDSubscriptionCheckResponse as h, type FFIDCheckServiceAccessParams as i, type FFIDServiceAccessDecision as j, type FFIDAnalyticsConfig as k, type FFIDSeatsSummary as l, type FFIDListPlansResponse as m, type FFIDPublishedCatalog as n, type FFIDSubscriptionDetail as o, type FFIDSubscribeParams as p, type FFIDSubscribeResponse as q, type FFIDChangePlanParams as r, type FFIDChangePlanResponse as s, type FFIDCancelSubscriptionParams as t, type FFIDCancelSubscriptionResponse as u, type FFIDCancelPendingDowngradeResponse as v, type FFIDPreviewPlanChangeParams as w, type FFIDPlanChangePreviewResponse as x, type FFIDPreviewSeatChangeParams as y, type FFIDSeatChangePreviewResponse as z };
2425
+ export { FFID_CREDITS_FEATURE_PATTERN as a$, EFFECTIVE_SUBSCRIPTION_STATUSES as a7, FFIDAnnouncementBadge as a8, FFIDAnnouncementList as a9, FFIDLoginButton as aC, FFIDOrganizationSwitcher as aE, FFIDSubscriptionBadge as aS, FFIDUserMenu as aW, FFID_CATALOG_ENVIRONMENTS as aX, FFID_CATALOG_PUBLICATION_STATUSES as aY, FFID_CREDITS_CONSUME_MAX_AMOUNT as aZ, FFID_CREDITS_CONSUME_MIN_AMOUNT as a_, FFIDInquiryForm as ar, FFID_CREDITS_HISTORY_DEFAULT_LIMIT as b0, FFID_CREDITS_HISTORY_MAX_LIMIT as b1, FFID_CREDITS_HISTORY_MIN_LIMIT as b2, FFID_CREDITS_IDEMPOTENCY_KEY_PATTERN as b3, FFID_CREDITS_LOW_THRESHOLD_PERCENT as b4, FFID_CREDITS_METADATA_MAX_BYTES as b5, FFID_CREDIT_GRANT_KINDS as b6, FFID_CREDIT_HISTORY_TYPES as b7, FFID_CREDIT_PACK_MAX_QUANTITY as b8, FFID_CREDIT_PACK_MIN_QUANTITY as b9, FFID_INQUIRY_ACQUISITION_SOURCES as ba, FFID_INQUIRY_CATEGORIES as bb, FFID_INQUIRY_CATEGORIES_SITE_2026 as bc, createTokenStore as bg, isFFIDInquiryAcquisitionSource as bh, isFFIDInquiryCategorySite2026 as bi, useFFIDAnnouncements as bj };
2426
+ export type { FFIDAnnouncementsClientConfig as $, FFIDVerifyAccessTokenOptions as A, FFIDOAuthUserInfo as B, FFIDInquiryCreateParams as C, FFIDInquiryCreateResponse as D, FFIDCreditBalance as E, FFIDOAuthUserInfoSubscription as F, FFIDListCreditHistoryOptions as G, FFIDCreditHistoryPage as H, FFIDCreditPackList as I, FFIDCreatePackCheckoutParams as J, FFIDCreditPackCheckout as K, FFIDCreditConsumeParams as L, FFIDCreditConsumeResult as M, FFIDBuyCreditsUrlParams as N, FFIDAuthMode as O, FFIDLogger as P, FFIDCacheAdapter as Q, FFIDUser as R, FFIDOrganization as S, TokenStore as T, FFIDSubscription as U, FFIDSubscriptionContextValue as V, EffectiveSubscriptionStatus as W, FFIDSubscriptionStatus as X, FFIDCatalogEnvironment as Y, FFIDBillingInterval as Z, FFIDTaxBehavior as _, FFIDAccountType as a, ListAnnouncementsOptions as a0, FFIDAnnouncementsApiResponse as a1, AnnouncementListResponse as a2, FFIDAnnouncementsLogger as a3, Announcement as a4, AnnouncementStatus as a5, AnnouncementType as a6, FFIDInquiryFormSubmitResult as aA, FFIDJwtClaims as aB, FFIDOAuthUserInfoMemberRole as aD, FFIDPlanChangeLineItem as aF, FFIDPlanChangePreview as aG, FFIDPlanInfo as aH, FFIDPricingModel as aI, FFIDPublishedPlan as aJ, FFIDSeatAssignmentClaim as aK, FFIDSeatAssignmentStatus as aL, FFIDSeatChangeLineItem as aM, FFIDSeatChangePreview as aN, FFIDSeatModel as aO, FFIDServiceAccessDenialReason as aP, FFIDServiceAccessFailPolicy as aQ, FFIDServiceInfo as aR, FFIDSubscriptionCheckCredits as aT, FFIDSubscriptionSummary as aU, FFIDSupportedCurrency as aV, FFIDAnnouncementsError as aa, FFIDAnnouncementsErrorCode as ab, FFIDAnnouncementsServerResponse as ac, FFIDApiResponseMeta as ad, FFIDCacheConfig as ae, FFIDCatalogPublication as af, FFIDCatalogPublicationStatus as ag, FFIDContextValue as ah, FFIDCreditBreakdown as ai, FFIDCreditGrantKind as aj, FFIDCreditHistoryItem as ak, FFIDCreditHistoryType as al, FFIDCreditPack as am, FFIDCreditsInsufficientDetails as an, FFIDInquiryAcquisitionSource as ao, FFIDInquiryCategory as ap, FFIDInquiryCategorySite2026 as aq, FFIDInquiryFormCategoryItem as as, FFIDInquiryFormClassNames as at, FFIDInquiryFormLegalLayout as au, FFIDInquiryFormOrganization as av, FFIDInquiryFormPlaceholderContext as aw, FFIDInquiryFormPrefill as ax, FFIDInquiryFormProps as ay, FFIDInquiryFormSubmitData as az, FFIDPrompt as b, TokenData as bd, UseFFIDAnnouncementsOptions as be, UseFFIDAnnouncementsReturn as bf, FFIDAnnouncementBadgeClassNames as bk, FFIDAnnouncementBadgeProps as bl, FFIDAnnouncementListClassNames as bm, FFIDAnnouncementListProps as bn, FFIDLoginButtonProps as bo, FFIDOrganizationSwitcherClassNames as bp, FFIDOrganizationSwitcherProps as bq, FFIDSubscriptionBadgeClassNames as br, FFIDSubscriptionBadgeProps as bs, FFIDUserMenuClassNames as bt, FFIDUserMenuProps as bu, FFIDConfig as c, FFIDApiResponse as d, FFIDSessionResponse as e, FFIDSignOutResult as f, FFIDError as g, FFIDSubscriptionCheckResponse as h, FFIDCheckServiceAccessParams as i, FFIDServiceAccessDecision as j, FFIDAnalyticsConfig as k, FFIDSeatsSummary as l, FFIDListPlansResponse as m, FFIDPublishedCatalog as n, FFIDSubscriptionDetail as o, FFIDSubscribeParams as p, FFIDSubscribeResponse as q, FFIDChangePlanParams as r, FFIDChangePlanResponse as s, FFIDCancelSubscriptionParams as t, FFIDCancelSubscriptionResponse as u, FFIDCancelPendingDowngradeResponse as v, FFIDPreviewPlanChangeParams as w, FFIDPlanChangePreviewResponse as x, FFIDPreviewSeatChangeParams as y, FFIDSeatChangePreviewResponse as z };