@feelflow/ffid-sdk 5.4.0 → 5.6.0

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.
@@ -1,5 +1,5 @@
1
- import { F as FFIDConsentResult, a as FFIDConsentState, b as FFIDConsentUpdate, c as FFIDConsentCategories, d as FFIDConsentSyncResult, e as FFIDConsentCategoryMetadata, f as FFIDCookiePolicy, P as PostConsentWire, G as GetConsentMeWire, g as PostSyncWire, h as PostWithdrawWire } from '../FFIDCookieLink-Bt0f1gyo.cjs';
2
- export { A as ALL_DENIED_EXCEPT_NECESSARY, C as CONSENT_COOKIE_MAX_AGE_SEC, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, k as CONSENT_SESSION_STORAGE_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, m as DEFAULT_MERGE_WARNING_MESSAGES, n as DeviceIdSchema, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, q as FFIDConsentCategoriesSchema, r as FFIDConsentCategoryCode, s as FFIDConsentCategoryCodeSchema, t as FFIDConsentCategoryMetadataSchema, u as FFIDConsentContext, v as FFIDConsentContextValue, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, z as FFIDConsentMergeStrategySchema, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, H as FFIDConsentMergeWarningSchema, I as FFIDConsentSource, J as FFIDConsentSourceSchema, K as FFIDConsentStateSchema, L as FFIDConsentUpdateSchema, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, S as FFIDCookiePolicySchema, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, W as FFIDInternalConsentSource, X as FFIDInternalConsentSourceSchema, Y as FFIDPublicConsentSource, Z as FFIDPublicConsentSourceSchema, _ as FFID_CONSENT_ERROR_CODES, $ as FFID_CONSENT_NOT_DECIDED_STATE, a0 as GetCategoriesWire, a1 as GetCategoriesWireSchema, a2 as GetConsentMeWireSchema, a3 as GetDocumentWire, a4 as GetDocumentWireSchema, a5 as GtagBridge, a6 as GtagBridgeOptions, a7 as PostConsentRequest, a8 as PostConsentRequestSchema, a9 as PostConsentWireSchema, aa as PostSyncRequest, ab as PostSyncRequestSchema, ac as PostSyncWireSchema, ad as PostWithdrawWireSchema, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, ah as clearConsentSessionMirror, ai as createGtagBridge, aj as decodeConsentCookie, ak as deleteConsentCookie, al as encodeConsentCookie, am as mapCategoriesToGtagParams, an as readConsentCookie, ao as readConsentDismissalTimestamp, ap as readConsentSessionMirror, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp, au as writeConsentSessionMirror } from '../FFIDCookieLink-Bt0f1gyo.cjs';
1
+ import { F as FFIDConsentResult, a as FFIDConsentState, b as FFIDConsentUpdate, c as FFIDConsentCategories, d as FFIDConsentSyncResult, e as FFIDConsentCategoryMetadata, f as FFIDCookiePolicy, P as PostConsentWire, G as GetConsentMeWire, g as PostSyncWire, h as PostWithdrawWire } from '../FFIDCookieLink-CE01gYc4.cjs';
2
+ export { A as ALL_DENIED_EXCEPT_NECESSARY, C as CONSENT_COOKIE_MAX_AGE_SEC, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, k as CONSENT_SESSION_STORAGE_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, m as DEFAULT_MERGE_WARNING_MESSAGES, n as DeviceIdSchema, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, q as FFIDConsentCategoriesSchema, r as FFIDConsentCategoryCode, s as FFIDConsentCategoryCodeSchema, t as FFIDConsentCategoryMetadataSchema, u as FFIDConsentContext, v as FFIDConsentContextValue, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, z as FFIDConsentMergeStrategySchema, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, H as FFIDConsentMergeWarningSchema, I as FFIDConsentSource, J as FFIDConsentSourceSchema, K as FFIDConsentStateSchema, L as FFIDConsentUpdateSchema, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, S as FFIDCookiePolicySchema, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, W as FFIDInternalConsentSource, X as FFIDInternalConsentSourceSchema, Y as FFIDPublicConsentSource, Z as FFIDPublicConsentSourceSchema, _ as FFID_CONSENT_ERROR_CODES, $ as FFID_CONSENT_NOT_DECIDED_STATE, a0 as GetCategoriesWire, a1 as GetCategoriesWireSchema, a2 as GetConsentMeWireSchema, a3 as GetDocumentWire, a4 as GetDocumentWireSchema, a5 as GtagBridge, a6 as GtagBridgeOptions, a7 as PostConsentRequest, a8 as PostConsentRequestSchema, a9 as PostConsentWireSchema, aa as PostSyncRequest, ab as PostSyncRequestSchema, ac as PostSyncWireSchema, ad as PostWithdrawWireSchema, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, ah as clearConsentSessionMirror, ai as createGtagBridge, aj as decodeConsentCookie, ak as deleteConsentCookie, al as encodeConsentCookie, am as mapCategoriesToGtagParams, an as readConsentCookie, ao as readConsentDismissalTimestamp, ap as readConsentSessionMirror, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp, au as writeConsentSessionMirror } from '../FFIDCookieLink-CE01gYc4.cjs';
3
3
  import 'react';
4
4
  import 'zod';
5
5
 
@@ -1,5 +1,5 @@
1
- import { F as FFIDConsentResult, a as FFIDConsentState, b as FFIDConsentUpdate, c as FFIDConsentCategories, d as FFIDConsentSyncResult, e as FFIDConsentCategoryMetadata, f as FFIDCookiePolicy, P as PostConsentWire, G as GetConsentMeWire, g as PostSyncWire, h as PostWithdrawWire } from '../FFIDCookieLink-Bt0f1gyo.js';
2
- export { A as ALL_DENIED_EXCEPT_NECESSARY, C as CONSENT_COOKIE_MAX_AGE_SEC, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, k as CONSENT_SESSION_STORAGE_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, m as DEFAULT_MERGE_WARNING_MESSAGES, n as DeviceIdSchema, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, q as FFIDConsentCategoriesSchema, r as FFIDConsentCategoryCode, s as FFIDConsentCategoryCodeSchema, t as FFIDConsentCategoryMetadataSchema, u as FFIDConsentContext, v as FFIDConsentContextValue, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, z as FFIDConsentMergeStrategySchema, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, H as FFIDConsentMergeWarningSchema, I as FFIDConsentSource, J as FFIDConsentSourceSchema, K as FFIDConsentStateSchema, L as FFIDConsentUpdateSchema, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, S as FFIDCookiePolicySchema, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, W as FFIDInternalConsentSource, X as FFIDInternalConsentSourceSchema, Y as FFIDPublicConsentSource, Z as FFIDPublicConsentSourceSchema, _ as FFID_CONSENT_ERROR_CODES, $ as FFID_CONSENT_NOT_DECIDED_STATE, a0 as GetCategoriesWire, a1 as GetCategoriesWireSchema, a2 as GetConsentMeWireSchema, a3 as GetDocumentWire, a4 as GetDocumentWireSchema, a5 as GtagBridge, a6 as GtagBridgeOptions, a7 as PostConsentRequest, a8 as PostConsentRequestSchema, a9 as PostConsentWireSchema, aa as PostSyncRequest, ab as PostSyncRequestSchema, ac as PostSyncWireSchema, ad as PostWithdrawWireSchema, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, ah as clearConsentSessionMirror, ai as createGtagBridge, aj as decodeConsentCookie, ak as deleteConsentCookie, al as encodeConsentCookie, am as mapCategoriesToGtagParams, an as readConsentCookie, ao as readConsentDismissalTimestamp, ap as readConsentSessionMirror, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp, au as writeConsentSessionMirror } from '../FFIDCookieLink-Bt0f1gyo.js';
1
+ import { F as FFIDConsentResult, a as FFIDConsentState, b as FFIDConsentUpdate, c as FFIDConsentCategories, d as FFIDConsentSyncResult, e as FFIDConsentCategoryMetadata, f as FFIDCookiePolicy, P as PostConsentWire, G as GetConsentMeWire, g as PostSyncWire, h as PostWithdrawWire } from '../FFIDCookieLink-CE01gYc4.js';
2
+ export { A as ALL_DENIED_EXCEPT_NECESSARY, C as CONSENT_COOKIE_MAX_AGE_SEC, i as CONSENT_COOKIE_NAME, j as CONSENT_DISMISSAL_TIMESTAMP_KEY, k as CONSENT_SESSION_STORAGE_KEY, l as COOKIE_VERSION, D as DEFAULT_CONSENT_ERROR_MESSAGES, m as DEFAULT_MERGE_WARNING_MESSAGES, n as DeviceIdSchema, o as FFIDAnalyticsProvider, p as FFIDAnalyticsProviderProps, q as FFIDConsentCategoriesSchema, r as FFIDConsentCategoryCode, s as FFIDConsentCategoryCodeSchema, t as FFIDConsentCategoryMetadataSchema, u as FFIDConsentContext, v as FFIDConsentContextValue, w as FFIDConsentError, x as FFIDConsentErrorCode, y as FFIDConsentMergeStrategy, z as FFIDConsentMergeStrategySchema, B as FFIDConsentMergeWarning, E as FFIDConsentMergeWarningEvent, H as FFIDConsentMergeWarningSchema, I as FFIDConsentSource, J as FFIDConsentSourceSchema, K as FFIDConsentStateSchema, L as FFIDConsentUpdateSchema, M as FFIDCookieBanner, N as FFIDCookieBannerClassNames, O as FFIDCookieBannerProps, Q as FFIDCookieLink, R as FFIDCookieLinkProps, S as FFIDCookiePolicySchema, T as FFIDCookieSettings, U as FFIDCookieSettingsClassNames, V as FFIDCookieSettingsProps, W as FFIDInternalConsentSource, X as FFIDInternalConsentSourceSchema, Y as FFIDPublicConsentSource, Z as FFIDPublicConsentSourceSchema, _ as FFID_CONSENT_ERROR_CODES, $ as FFID_CONSENT_NOT_DECIDED_STATE, a0 as GetCategoriesWire, a1 as GetCategoriesWireSchema, a2 as GetConsentMeWireSchema, a3 as GetDocumentWire, a4 as GetDocumentWireSchema, a5 as GtagBridge, a6 as GtagBridgeOptions, a7 as PostConsentRequest, a8 as PostConsentRequestSchema, a9 as PostConsentWireSchema, aa as PostSyncRequest, ab as PostSyncRequestSchema, ac as PostSyncWireSchema, ad as PostWithdrawWireSchema, ae as UseFFIDConsentPreferencesReturn, af as UseFFIDConsentReturn, ag as clearConsentDismissalTimestamp, ah as clearConsentSessionMirror, ai as createGtagBridge, aj as decodeConsentCookie, ak as deleteConsentCookie, al as encodeConsentCookie, am as mapCategoriesToGtagParams, an as readConsentCookie, ao as readConsentDismissalTimestamp, ap as readConsentSessionMirror, aq as useFFIDConsent, ar as useFFIDConsentPreferences, as as writeConsentCookie, at as writeConsentDismissalTimestamp, au as writeConsentSessionMirror } from '../FFIDCookieLink-CE01gYc4.js';
3
3
  import 'react';
4
4
  import 'zod';
5
5
 
@@ -1 +1 @@
1
- export { ALL_DENIED_EXCEPT_NECESSARY, CONSENT_COOKIE_MAX_AGE_SEC, CONSENT_COOKIE_NAME, CONSENT_DISMISSAL_TIMESTAMP_KEY, CONSENT_SESSION_STORAGE_KEY, COOKIE_VERSION, DEFAULT_CONSENT_ERROR_MESSAGES, DEFAULT_MERGE_WARNING_MESSAGES, DEVICE_ID_LOCAL_STORAGE_KEY, DEVICE_ID_SESSION_STORAGE_KEY, DeviceIdSchema, FFIDAnalyticsProvider, FFIDConsentCategoriesSchema, FFIDConsentCategoryCodeSchema, FFIDConsentCategoryMetadataSchema, FFIDConsentContext, FFIDConsentError, FFIDConsentMergeStrategySchema, FFIDConsentMergeWarningSchema, FFIDConsentSourceSchema, FFIDConsentStateSchema, FFIDConsentUpdateSchema, FFIDCookieBanner, FFIDCookieLink, FFIDCookiePolicySchema, FFIDCookieSettings, FFIDInternalConsentSourceSchema, FFIDPublicConsentSourceSchema, FFID_CONSENT_ERROR_CODES, FFID_CONSENT_NOT_DECIDED_STATE, GetCategoriesWireSchema, GetConsentMeWireSchema, GetDocumentWireSchema, PostConsentRequestSchema, PostConsentWireSchema, PostSyncRequestSchema, PostSyncWireSchema, PostWithdrawWireSchema, clearConsentDismissalTimestamp, clearConsentSessionMirror, clearDeviceId, createConsentClient, createGtagBridge, decodeConsentCookie, deleteConsentCookie, encodeConsentCookie, generateDeviceId, getOrCreateDeviceId, isUuidV7, isValidDeviceId, mapCategoriesToGtagParams, mapConsentWireToState, mapMeWireToState, mapSyncWireToResult, mapWithdrawWireToState, readConsentCookie, readConsentDismissalTimestamp, readConsentSessionMirror, useFFIDConsent, useFFIDConsentPreferences, writeConsentCookie, writeConsentDismissalTimestamp, writeConsentSessionMirror } from '../chunk-IVKFKMLQ.js';
1
+ export { ALL_DENIED_EXCEPT_NECESSARY, CONSENT_COOKIE_MAX_AGE_SEC, CONSENT_COOKIE_NAME, CONSENT_DISMISSAL_TIMESTAMP_KEY, CONSENT_SESSION_STORAGE_KEY, COOKIE_VERSION, DEFAULT_CONSENT_ERROR_MESSAGES, DEFAULT_MERGE_WARNING_MESSAGES, DEVICE_ID_LOCAL_STORAGE_KEY, DEVICE_ID_SESSION_STORAGE_KEY, DeviceIdSchema, FFIDAnalyticsProvider, FFIDConsentCategoriesSchema, FFIDConsentCategoryCodeSchema, FFIDConsentCategoryMetadataSchema, FFIDConsentContext, FFIDConsentError, FFIDConsentMergeStrategySchema, FFIDConsentMergeWarningSchema, FFIDConsentSourceSchema, FFIDConsentStateSchema, FFIDConsentUpdateSchema, FFIDCookieBanner, FFIDCookieLink, FFIDCookiePolicySchema, FFIDCookieSettings, FFIDInternalConsentSourceSchema, FFIDPublicConsentSourceSchema, FFID_CONSENT_ERROR_CODES, FFID_CONSENT_NOT_DECIDED_STATE, GetCategoriesWireSchema, GetConsentMeWireSchema, GetDocumentWireSchema, PostConsentRequestSchema, PostConsentWireSchema, PostSyncRequestSchema, PostSyncWireSchema, PostWithdrawWireSchema, clearConsentDismissalTimestamp, clearConsentSessionMirror, clearDeviceId, createConsentClient, createGtagBridge, decodeConsentCookie, deleteConsentCookie, encodeConsentCookie, generateDeviceId, getOrCreateDeviceId, isUuidV7, isValidDeviceId, mapCategoriesToGtagParams, mapConsentWireToState, mapMeWireToState, mapSyncWireToResult, mapWithdrawWireToState, readConsentCookie, readConsentDismissalTimestamp, readConsentSessionMirror, useFFIDConsent, useFFIDConsentPreferences, writeConsentCookie, writeConsentDismissalTimestamp, writeConsentSessionMirror } from '../chunk-KJ7FUNA6.js';
@@ -576,6 +576,67 @@ interface FFIDSeatChangePreviewResponse {
576
576
  preview: FFIDSeatChangePreview;
577
577
  }
578
578
 
579
+ /** Member role in an organization */
580
+ type FFIDMemberRole = 'owner' | 'admin' | 'member' | 'viewer';
581
+ /** Member role assignable through organization member management APIs */
582
+ type FFIDAssignableMemberRole = Exclude<FFIDMemberRole, 'owner'>;
583
+ /** Member status in an organization */
584
+ type FFIDMemberStatus = 'active' | 'invited' | 'suspended';
585
+ /** Organization member returned by the ext members API */
586
+ interface FFIDOrganizationMember {
587
+ /** User ID (UUID) */
588
+ userId: string;
589
+ /** Email address */
590
+ email: string;
591
+ /** Display name */
592
+ displayName: string | null;
593
+ /** Avatar URL */
594
+ avatarUrl: string | null;
595
+ /** Role in the organization */
596
+ role: FFIDMemberRole;
597
+ /** Membership status */
598
+ status: FFIDMemberStatus;
599
+ /**
600
+ * Whether the member's email address is confirmed.
601
+ *
602
+ * `null` means FFID could not determine the auth user confirmation state
603
+ * (for example, the auth user row was not readable).
604
+ */
605
+ emailVerified: boolean | null;
606
+ /** When the user joined */
607
+ joinedAt: string | null;
608
+ /** When the user was invited */
609
+ invitedAt: string | null;
610
+ /** Last sign-in timestamp */
611
+ lastSignInAt: string | null;
612
+ }
613
+ /** Response from listMembers (ext) */
614
+ interface FFIDListMembersResponse {
615
+ organizationId: string;
616
+ members: FFIDOrganizationMember[];
617
+ }
618
+ /** Request body for addMember (ext) */
619
+ interface FFIDAddMemberRequest {
620
+ email: string;
621
+ role?: FFIDAssignableMemberRole;
622
+ }
623
+ /** Params object for addMember (ext), matching the existing organization members methods */
624
+ interface FFIDAddMemberParams extends FFIDAddMemberRequest {
625
+ organizationId: string;
626
+ }
627
+ /** Response from addMember (ext) */
628
+ interface FFIDAddMemberResponse {
629
+ member: FFIDOrganizationMember;
630
+ }
631
+ /** Response from updateMemberRole (ext) */
632
+ interface FFIDUpdateMemberRoleResponse {
633
+ member: FFIDOrganizationMember;
634
+ }
635
+ /** Response from removeMember (ext) */
636
+ interface FFIDRemoveMemberResponse {
637
+ message: string;
638
+ }
639
+
579
640
  /**
580
641
  * FFID SDK Type Definitions
581
642
  *
@@ -900,59 +961,6 @@ interface FFIDCreatePortalParams {
900
961
  returnUrl: string;
901
962
  }
902
963
 
903
- /** Member role in an organization */
904
- type FFIDMemberRole = 'owner' | 'admin' | 'member' | 'viewer';
905
- /** Member role assignable through organization member management APIs */
906
- type FFIDAssignableMemberRole = Exclude<FFIDMemberRole, 'owner'>;
907
- /** Member status in an organization */
908
- type FFIDMemberStatus = 'active' | 'invited' | 'suspended';
909
- /** Organization member returned by the ext members API */
910
- interface FFIDOrganizationMember {
911
- /** User ID (UUID) */
912
- userId: string;
913
- /** Email address */
914
- email: string;
915
- /** Display name */
916
- displayName: string | null;
917
- /** Avatar URL */
918
- avatarUrl: string | null;
919
- /** Role in the organization */
920
- role: FFIDMemberRole;
921
- /** Membership status */
922
- status: FFIDMemberStatus;
923
- /** When the user joined */
924
- joinedAt: string | null;
925
- /** When the user was invited */
926
- invitedAt: string | null;
927
- /** Last sign-in timestamp */
928
- lastSignInAt: string | null;
929
- }
930
- /** Response from listMembers (ext) */
931
- interface FFIDListMembersResponse {
932
- organizationId: string;
933
- members: FFIDOrganizationMember[];
934
- }
935
- /** Request body for addMember (ext) */
936
- interface FFIDAddMemberRequest {
937
- email: string;
938
- role?: FFIDAssignableMemberRole;
939
- }
940
- /** Params object for addMember (ext), matching the existing organization members methods */
941
- interface FFIDAddMemberParams extends FFIDAddMemberRequest {
942
- organizationId: string;
943
- }
944
- /** Response from addMember (ext) */
945
- interface FFIDAddMemberResponse {
946
- member: FFIDOrganizationMember;
947
- }
948
- /** Response from updateMemberRole (ext) */
949
- interface FFIDUpdateMemberRoleResponse {
950
- member: FFIDOrganizationMember;
951
- }
952
- /** Response from removeMember (ext) */
953
- interface FFIDRemoveMemberResponse {
954
- message: string;
955
- }
956
964
  /**
957
965
  * User profile for the authenticated user (returned by `getProfile` / `updateProfile`).
958
966
  *
@@ -576,6 +576,67 @@ interface FFIDSeatChangePreviewResponse {
576
576
  preview: FFIDSeatChangePreview;
577
577
  }
578
578
 
579
+ /** Member role in an organization */
580
+ type FFIDMemberRole = 'owner' | 'admin' | 'member' | 'viewer';
581
+ /** Member role assignable through organization member management APIs */
582
+ type FFIDAssignableMemberRole = Exclude<FFIDMemberRole, 'owner'>;
583
+ /** Member status in an organization */
584
+ type FFIDMemberStatus = 'active' | 'invited' | 'suspended';
585
+ /** Organization member returned by the ext members API */
586
+ interface FFIDOrganizationMember {
587
+ /** User ID (UUID) */
588
+ userId: string;
589
+ /** Email address */
590
+ email: string;
591
+ /** Display name */
592
+ displayName: string | null;
593
+ /** Avatar URL */
594
+ avatarUrl: string | null;
595
+ /** Role in the organization */
596
+ role: FFIDMemberRole;
597
+ /** Membership status */
598
+ status: FFIDMemberStatus;
599
+ /**
600
+ * Whether the member's email address is confirmed.
601
+ *
602
+ * `null` means FFID could not determine the auth user confirmation state
603
+ * (for example, the auth user row was not readable).
604
+ */
605
+ emailVerified: boolean | null;
606
+ /** When the user joined */
607
+ joinedAt: string | null;
608
+ /** When the user was invited */
609
+ invitedAt: string | null;
610
+ /** Last sign-in timestamp */
611
+ lastSignInAt: string | null;
612
+ }
613
+ /** Response from listMembers (ext) */
614
+ interface FFIDListMembersResponse {
615
+ organizationId: string;
616
+ members: FFIDOrganizationMember[];
617
+ }
618
+ /** Request body for addMember (ext) */
619
+ interface FFIDAddMemberRequest {
620
+ email: string;
621
+ role?: FFIDAssignableMemberRole;
622
+ }
623
+ /** Params object for addMember (ext), matching the existing organization members methods */
624
+ interface FFIDAddMemberParams extends FFIDAddMemberRequest {
625
+ organizationId: string;
626
+ }
627
+ /** Response from addMember (ext) */
628
+ interface FFIDAddMemberResponse {
629
+ member: FFIDOrganizationMember;
630
+ }
631
+ /** Response from updateMemberRole (ext) */
632
+ interface FFIDUpdateMemberRoleResponse {
633
+ member: FFIDOrganizationMember;
634
+ }
635
+ /** Response from removeMember (ext) */
636
+ interface FFIDRemoveMemberResponse {
637
+ message: string;
638
+ }
639
+
579
640
  /**
580
641
  * FFID SDK Type Definitions
581
642
  *
@@ -900,59 +961,6 @@ interface FFIDCreatePortalParams {
900
961
  returnUrl: string;
901
962
  }
902
963
 
903
- /** Member role in an organization */
904
- type FFIDMemberRole = 'owner' | 'admin' | 'member' | 'viewer';
905
- /** Member role assignable through organization member management APIs */
906
- type FFIDAssignableMemberRole = Exclude<FFIDMemberRole, 'owner'>;
907
- /** Member status in an organization */
908
- type FFIDMemberStatus = 'active' | 'invited' | 'suspended';
909
- /** Organization member returned by the ext members API */
910
- interface FFIDOrganizationMember {
911
- /** User ID (UUID) */
912
- userId: string;
913
- /** Email address */
914
- email: string;
915
- /** Display name */
916
- displayName: string | null;
917
- /** Avatar URL */
918
- avatarUrl: string | null;
919
- /** Role in the organization */
920
- role: FFIDMemberRole;
921
- /** Membership status */
922
- status: FFIDMemberStatus;
923
- /** When the user joined */
924
- joinedAt: string | null;
925
- /** When the user was invited */
926
- invitedAt: string | null;
927
- /** Last sign-in timestamp */
928
- lastSignInAt: string | null;
929
- }
930
- /** Response from listMembers (ext) */
931
- interface FFIDListMembersResponse {
932
- organizationId: string;
933
- members: FFIDOrganizationMember[];
934
- }
935
- /** Request body for addMember (ext) */
936
- interface FFIDAddMemberRequest {
937
- email: string;
938
- role?: FFIDAssignableMemberRole;
939
- }
940
- /** Params object for addMember (ext), matching the existing organization members methods */
941
- interface FFIDAddMemberParams extends FFIDAddMemberRequest {
942
- organizationId: string;
943
- }
944
- /** Response from addMember (ext) */
945
- interface FFIDAddMemberResponse {
946
- member: FFIDOrganizationMember;
947
- }
948
- /** Response from updateMemberRole (ext) */
949
- interface FFIDUpdateMemberRoleResponse {
950
- member: FFIDOrganizationMember;
951
- }
952
- /** Response from removeMember (ext) */
953
- interface FFIDRemoveMemberResponse {
954
- message: string;
955
- }
956
964
  /**
957
965
  * User profile for the authenticated user (returned by `getProfile` / `updateProfile`).
958
966
  *
@@ -606,59 +606,6 @@ interface FFIDCreatePortalParams {
606
606
  returnUrl: string;
607
607
  }
608
608
 
609
- /** Member role in an organization */
610
- type FFIDMemberRole = 'owner' | 'admin' | 'member' | 'viewer';
611
- /** Member role assignable through organization member management APIs */
612
- type FFIDAssignableMemberRole = Exclude<FFIDMemberRole, 'owner'>;
613
- /** Member status in an organization */
614
- type FFIDMemberStatus = 'active' | 'invited' | 'suspended';
615
- /** Organization member returned by the ext members API */
616
- interface FFIDOrganizationMember {
617
- /** User ID (UUID) */
618
- userId: string;
619
- /** Email address */
620
- email: string;
621
- /** Display name */
622
- displayName: string | null;
623
- /** Avatar URL */
624
- avatarUrl: string | null;
625
- /** Role in the organization */
626
- role: FFIDMemberRole;
627
- /** Membership status */
628
- status: FFIDMemberStatus;
629
- /** When the user joined */
630
- joinedAt: string | null;
631
- /** When the user was invited */
632
- invitedAt: string | null;
633
- /** Last sign-in timestamp */
634
- lastSignInAt: string | null;
635
- }
636
- /** Response from listMembers (ext) */
637
- interface FFIDListMembersResponse {
638
- organizationId: string;
639
- members: FFIDOrganizationMember[];
640
- }
641
- /** Request body for addMember (ext) */
642
- interface FFIDAddMemberRequest {
643
- email: string;
644
- role?: FFIDAssignableMemberRole;
645
- }
646
- /** Params object for addMember (ext), matching the existing organization members methods */
647
- interface FFIDAddMemberParams extends FFIDAddMemberRequest {
648
- organizationId: string;
649
- }
650
- /** Response from addMember (ext) */
651
- interface FFIDAddMemberResponse {
652
- member: FFIDOrganizationMember;
653
- }
654
- /** Response from updateMemberRole (ext) */
655
- interface FFIDUpdateMemberRoleResponse {
656
- member: FFIDOrganizationMember;
657
- }
658
- /** Response from removeMember (ext) */
659
- interface FFIDRemoveMemberResponse {
660
- message: string;
661
- }
662
609
  /**
663
610
  * User profile for the authenticated user (returned by `getProfile` / `updateProfile`).
664
611
  *
@@ -1570,4 +1517,4 @@ interface FFIDInquiryFormPlaceholderContext {
1570
1517
  }
1571
1518
  declare function FFIDInquiryForm({ mode, prefill, organizations, preselectedOrganizationId, categories, termsVersion, privacyVersion, termsHref, privacyHref, turnstileToken, turnstileSlot, onSubmit, onChange, legalLayout, messagePlaceholder, requireCategorySelection, unstyled, classNames, locale, className, }: FFIDInquiryFormProps): react_jsx_runtime.JSX.Element;
1572
1519
 
1573
- export { type FFIDInquiryCategory as $, type FFIDInquiryCreateResponse as A, type FFIDAuthMode as B, type FFIDLogger as C, type FFIDCacheAdapter as D, type FFIDUser as E, type FFIDSubscriptionStatus as F, type FFIDOrganization as G, type FFIDSubscription as H, type FFIDSubscriptionContextValue as I, type EffectiveSubscriptionStatus as J, type FFIDOAuthUserInfoSubscription as K, type FFIDAnnouncementsClientConfig as L, type ListAnnouncementsOptions as M, type FFIDAnnouncementsApiResponse as N, type AnnouncementListResponse as O, type FFIDAnnouncementsLogger as P, type Announcement as Q, type AnnouncementStatus as R, type AnnouncementType as S, FFIDAnnouncementBadge as T, FFIDAnnouncementList as U, type FFIDAnnouncementsError as V, type FFIDAnnouncementsErrorCode as W, type FFIDAnnouncementsServerResponse as X, type FFIDAssignableMemberRole as Y, type FFIDCacheConfig as Z, type FFIDContextValue as _, type FFIDConfig as a, type FFIDInquiryCategorySite2026 as a0, FFIDInquiryForm as a1, type FFIDInquiryFormCategoryItem as a2, type FFIDInquiryFormClassNames as a3, type FFIDInquiryFormLegalLayout as a4, type FFIDInquiryFormOrganization as a5, type FFIDInquiryFormPlaceholderContext as a6, type FFIDInquiryFormPrefill as a7, type FFIDInquiryFormProps as a8, type FFIDInquiryFormSubmitData as a9, type FFIDOrganizationSwitcherClassNames as aA, type FFIDOrganizationSwitcherProps as aB, type FFIDSubscriptionBadgeClassNames as aC, type FFIDSubscriptionBadgeProps as aD, type FFIDUserMenuClassNames as aE, type FFIDUserMenuProps as aF, type FFIDInquiryFormSubmitResult as aa, type FFIDJwtClaims as ab, FFIDLoginButton as ac, type FFIDMemberStatus as ad, type FFIDOAuthTokenResponse as ae, type FFIDOAuthUserInfoMemberRole as af, type FFIDOrganizationMember as ag, FFIDOrganizationSwitcher as ah, type FFIDRedirectErrorCode as ai, type FFIDSeatModel as aj, type FFIDServiceAccessDenialReason as ak, type FFIDServiceAccessFailPolicy as al, FFIDSubscriptionBadge as am, type FFIDTokenIntrospectionResponse as an, FFIDUserMenu as ao, FFID_INQUIRY_CATEGORIES as ap, FFID_INQUIRY_CATEGORIES_SITE_2026 as aq, type UseFFIDAnnouncementsOptions as ar, type UseFFIDAnnouncementsReturn as as, isFFIDInquiryCategorySite2026 as at, useFFIDAnnouncements as au, type FFIDAnnouncementBadgeClassNames as av, type FFIDAnnouncementBadgeProps as aw, type FFIDAnnouncementListClassNames as ax, type FFIDAnnouncementListProps as ay, type FFIDLoginButtonProps as az, type FFIDApiResponse as b, type FFIDSessionResponse as c, type FFIDRedirectResult as d, type FFIDError as e, type FFIDSubscriptionCheckResponse as f, type FFIDCheckServiceAccessParams as g, type FFIDServiceAccessDecision as h, type FFIDListMembersResponse as i, type FFIDAddMemberParams as j, type FFIDAddMemberResponse as k, type FFIDAddMemberRequest as l, type FFIDMemberRole as m, type FFIDUpdateMemberRoleResponse as n, type FFIDRemoveMemberResponse as o, type FFIDProfileCallOptions as p, type FFIDUserProfile as q, type FFIDUpdateUserProfileRequest as r, type FFIDAnalyticsConfig as s, type FFIDCreateCheckoutParams as t, type FFIDCheckoutSessionResponse as u, type FFIDCreatePortalParams as v, type FFIDPortalSessionResponse as w, type FFIDVerifyAccessTokenOptions as x, type FFIDOAuthUserInfo as y, type FFIDInquiryCreateParams as z };
1520
+ export { type FFIDInquiryFormPrefill as $, type FFIDSubscriptionContextValue as A, type FFIDOAuthUserInfoSubscription as B, type FFIDAnnouncementsClientConfig as C, type FFIDAnnouncementsApiResponse as D, type EffectiveSubscriptionStatus as E, type FFIDSubscriptionStatus as F, type AnnouncementListResponse as G, type FFIDAnnouncementsLogger as H, type Announcement as I, type AnnouncementStatus as J, type AnnouncementType as K, type ListAnnouncementsOptions as L, FFIDAnnouncementBadge as M, FFIDAnnouncementList as N, type FFIDAnnouncementsError as O, type FFIDAnnouncementsErrorCode as P, type FFIDAnnouncementsServerResponse as Q, type FFIDCacheConfig as R, type FFIDContextValue as S, type FFIDInquiryCategory as T, type FFIDInquiryCategorySite2026 as U, FFIDInquiryForm as V, type FFIDInquiryFormCategoryItem as W, type FFIDInquiryFormClassNames as X, type FFIDInquiryFormLegalLayout as Y, type FFIDInquiryFormOrganization as Z, type FFIDInquiryFormPlaceholderContext as _, type FFIDConfig as a, type FFIDInquiryFormProps as a0, type FFIDInquiryFormSubmitData as a1, type FFIDInquiryFormSubmitResult as a2, type FFIDJwtClaims as a3, FFIDLoginButton as a4, type FFIDOAuthTokenResponse as a5, type FFIDOAuthUserInfoMemberRole as a6, FFIDOrganizationSwitcher as a7, type FFIDRedirectErrorCode as a8, type FFIDSeatModel as a9, type FFIDServiceAccessDenialReason as aa, type FFIDServiceAccessFailPolicy as ab, FFIDSubscriptionBadge as ac, type FFIDTokenIntrospectionResponse as ad, FFIDUserMenu as ae, FFID_INQUIRY_CATEGORIES as af, FFID_INQUIRY_CATEGORIES_SITE_2026 as ag, type UseFFIDAnnouncementsOptions as ah, type UseFFIDAnnouncementsReturn as ai, isFFIDInquiryCategorySite2026 as aj, useFFIDAnnouncements as ak, type FFIDAnnouncementBadgeClassNames as al, type FFIDAnnouncementBadgeProps as am, type FFIDAnnouncementListClassNames as an, type FFIDAnnouncementListProps as ao, type FFIDLoginButtonProps as ap, type FFIDOrganizationSwitcherClassNames as aq, type FFIDOrganizationSwitcherProps as ar, type FFIDSubscriptionBadgeClassNames as as, type FFIDSubscriptionBadgeProps as at, type FFIDUserMenuClassNames as au, type FFIDUserMenuProps as av, type FFIDApiResponse as b, type FFIDSessionResponse as c, type FFIDRedirectResult as d, type FFIDError as e, type FFIDSubscriptionCheckResponse as f, type FFIDCheckServiceAccessParams as g, type FFIDServiceAccessDecision as h, type FFIDProfileCallOptions as i, type FFIDUserProfile as j, type FFIDUpdateUserProfileRequest as k, type FFIDAnalyticsConfig as l, type FFIDCreateCheckoutParams as m, type FFIDCheckoutSessionResponse as n, type FFIDCreatePortalParams as o, type FFIDPortalSessionResponse as p, type FFIDVerifyAccessTokenOptions as q, type FFIDOAuthUserInfo as r, type FFIDInquiryCreateParams as s, type FFIDInquiryCreateResponse as t, type FFIDAuthMode as u, type FFIDLogger as v, type FFIDCacheAdapter as w, type FFIDUser as x, type FFIDOrganization as y, type FFIDSubscription as z };
@@ -606,59 +606,6 @@ interface FFIDCreatePortalParams {
606
606
  returnUrl: string;
607
607
  }
608
608
 
609
- /** Member role in an organization */
610
- type FFIDMemberRole = 'owner' | 'admin' | 'member' | 'viewer';
611
- /** Member role assignable through organization member management APIs */
612
- type FFIDAssignableMemberRole = Exclude<FFIDMemberRole, 'owner'>;
613
- /** Member status in an organization */
614
- type FFIDMemberStatus = 'active' | 'invited' | 'suspended';
615
- /** Organization member returned by the ext members API */
616
- interface FFIDOrganizationMember {
617
- /** User ID (UUID) */
618
- userId: string;
619
- /** Email address */
620
- email: string;
621
- /** Display name */
622
- displayName: string | null;
623
- /** Avatar URL */
624
- avatarUrl: string | null;
625
- /** Role in the organization */
626
- role: FFIDMemberRole;
627
- /** Membership status */
628
- status: FFIDMemberStatus;
629
- /** When the user joined */
630
- joinedAt: string | null;
631
- /** When the user was invited */
632
- invitedAt: string | null;
633
- /** Last sign-in timestamp */
634
- lastSignInAt: string | null;
635
- }
636
- /** Response from listMembers (ext) */
637
- interface FFIDListMembersResponse {
638
- organizationId: string;
639
- members: FFIDOrganizationMember[];
640
- }
641
- /** Request body for addMember (ext) */
642
- interface FFIDAddMemberRequest {
643
- email: string;
644
- role?: FFIDAssignableMemberRole;
645
- }
646
- /** Params object for addMember (ext), matching the existing organization members methods */
647
- interface FFIDAddMemberParams extends FFIDAddMemberRequest {
648
- organizationId: string;
649
- }
650
- /** Response from addMember (ext) */
651
- interface FFIDAddMemberResponse {
652
- member: FFIDOrganizationMember;
653
- }
654
- /** Response from updateMemberRole (ext) */
655
- interface FFIDUpdateMemberRoleResponse {
656
- member: FFIDOrganizationMember;
657
- }
658
- /** Response from removeMember (ext) */
659
- interface FFIDRemoveMemberResponse {
660
- message: string;
661
- }
662
609
  /**
663
610
  * User profile for the authenticated user (returned by `getProfile` / `updateProfile`).
664
611
  *
@@ -1570,4 +1517,4 @@ interface FFIDInquiryFormPlaceholderContext {
1570
1517
  }
1571
1518
  declare function FFIDInquiryForm({ mode, prefill, organizations, preselectedOrganizationId, categories, termsVersion, privacyVersion, termsHref, privacyHref, turnstileToken, turnstileSlot, onSubmit, onChange, legalLayout, messagePlaceholder, requireCategorySelection, unstyled, classNames, locale, className, }: FFIDInquiryFormProps): react_jsx_runtime.JSX.Element;
1572
1519
 
1573
- export { type FFIDInquiryCategory as $, type FFIDInquiryCreateResponse as A, type FFIDAuthMode as B, type FFIDLogger as C, type FFIDCacheAdapter as D, type FFIDUser as E, type FFIDSubscriptionStatus as F, type FFIDOrganization as G, type FFIDSubscription as H, type FFIDSubscriptionContextValue as I, type EffectiveSubscriptionStatus as J, type FFIDOAuthUserInfoSubscription as K, type FFIDAnnouncementsClientConfig as L, type ListAnnouncementsOptions as M, type FFIDAnnouncementsApiResponse as N, type AnnouncementListResponse as O, type FFIDAnnouncementsLogger as P, type Announcement as Q, type AnnouncementStatus as R, type AnnouncementType as S, FFIDAnnouncementBadge as T, FFIDAnnouncementList as U, type FFIDAnnouncementsError as V, type FFIDAnnouncementsErrorCode as W, type FFIDAnnouncementsServerResponse as X, type FFIDAssignableMemberRole as Y, type FFIDCacheConfig as Z, type FFIDContextValue as _, type FFIDConfig as a, type FFIDInquiryCategorySite2026 as a0, FFIDInquiryForm as a1, type FFIDInquiryFormCategoryItem as a2, type FFIDInquiryFormClassNames as a3, type FFIDInquiryFormLegalLayout as a4, type FFIDInquiryFormOrganization as a5, type FFIDInquiryFormPlaceholderContext as a6, type FFIDInquiryFormPrefill as a7, type FFIDInquiryFormProps as a8, type FFIDInquiryFormSubmitData as a9, type FFIDOrganizationSwitcherClassNames as aA, type FFIDOrganizationSwitcherProps as aB, type FFIDSubscriptionBadgeClassNames as aC, type FFIDSubscriptionBadgeProps as aD, type FFIDUserMenuClassNames as aE, type FFIDUserMenuProps as aF, type FFIDInquiryFormSubmitResult as aa, type FFIDJwtClaims as ab, FFIDLoginButton as ac, type FFIDMemberStatus as ad, type FFIDOAuthTokenResponse as ae, type FFIDOAuthUserInfoMemberRole as af, type FFIDOrganizationMember as ag, FFIDOrganizationSwitcher as ah, type FFIDRedirectErrorCode as ai, type FFIDSeatModel as aj, type FFIDServiceAccessDenialReason as ak, type FFIDServiceAccessFailPolicy as al, FFIDSubscriptionBadge as am, type FFIDTokenIntrospectionResponse as an, FFIDUserMenu as ao, FFID_INQUIRY_CATEGORIES as ap, FFID_INQUIRY_CATEGORIES_SITE_2026 as aq, type UseFFIDAnnouncementsOptions as ar, type UseFFIDAnnouncementsReturn as as, isFFIDInquiryCategorySite2026 as at, useFFIDAnnouncements as au, type FFIDAnnouncementBadgeClassNames as av, type FFIDAnnouncementBadgeProps as aw, type FFIDAnnouncementListClassNames as ax, type FFIDAnnouncementListProps as ay, type FFIDLoginButtonProps as az, type FFIDApiResponse as b, type FFIDSessionResponse as c, type FFIDRedirectResult as d, type FFIDError as e, type FFIDSubscriptionCheckResponse as f, type FFIDCheckServiceAccessParams as g, type FFIDServiceAccessDecision as h, type FFIDListMembersResponse as i, type FFIDAddMemberParams as j, type FFIDAddMemberResponse as k, type FFIDAddMemberRequest as l, type FFIDMemberRole as m, type FFIDUpdateMemberRoleResponse as n, type FFIDRemoveMemberResponse as o, type FFIDProfileCallOptions as p, type FFIDUserProfile as q, type FFIDUpdateUserProfileRequest as r, type FFIDAnalyticsConfig as s, type FFIDCreateCheckoutParams as t, type FFIDCheckoutSessionResponse as u, type FFIDCreatePortalParams as v, type FFIDPortalSessionResponse as w, type FFIDVerifyAccessTokenOptions as x, type FFIDOAuthUserInfo as y, type FFIDInquiryCreateParams as z };
1520
+ export { type FFIDInquiryFormPrefill as $, type FFIDSubscriptionContextValue as A, type FFIDOAuthUserInfoSubscription as B, type FFIDAnnouncementsClientConfig as C, type FFIDAnnouncementsApiResponse as D, type EffectiveSubscriptionStatus as E, type FFIDSubscriptionStatus as F, type AnnouncementListResponse as G, type FFIDAnnouncementsLogger as H, type Announcement as I, type AnnouncementStatus as J, type AnnouncementType as K, type ListAnnouncementsOptions as L, FFIDAnnouncementBadge as M, FFIDAnnouncementList as N, type FFIDAnnouncementsError as O, type FFIDAnnouncementsErrorCode as P, type FFIDAnnouncementsServerResponse as Q, type FFIDCacheConfig as R, type FFIDContextValue as S, type FFIDInquiryCategory as T, type FFIDInquiryCategorySite2026 as U, FFIDInquiryForm as V, type FFIDInquiryFormCategoryItem as W, type FFIDInquiryFormClassNames as X, type FFIDInquiryFormLegalLayout as Y, type FFIDInquiryFormOrganization as Z, type FFIDInquiryFormPlaceholderContext as _, type FFIDConfig as a, type FFIDInquiryFormProps as a0, type FFIDInquiryFormSubmitData as a1, type FFIDInquiryFormSubmitResult as a2, type FFIDJwtClaims as a3, FFIDLoginButton as a4, type FFIDOAuthTokenResponse as a5, type FFIDOAuthUserInfoMemberRole as a6, FFIDOrganizationSwitcher as a7, type FFIDRedirectErrorCode as a8, type FFIDSeatModel as a9, type FFIDServiceAccessDenialReason as aa, type FFIDServiceAccessFailPolicy as ab, FFIDSubscriptionBadge as ac, type FFIDTokenIntrospectionResponse as ad, FFIDUserMenu as ae, FFID_INQUIRY_CATEGORIES as af, FFID_INQUIRY_CATEGORIES_SITE_2026 as ag, type UseFFIDAnnouncementsOptions as ah, type UseFFIDAnnouncementsReturn as ai, isFFIDInquiryCategorySite2026 as aj, useFFIDAnnouncements as ak, type FFIDAnnouncementBadgeClassNames as al, type FFIDAnnouncementBadgeProps as am, type FFIDAnnouncementListClassNames as an, type FFIDAnnouncementListProps as ao, type FFIDLoginButtonProps as ap, type FFIDOrganizationSwitcherClassNames as aq, type FFIDOrganizationSwitcherProps as ar, type FFIDSubscriptionBadgeClassNames as as, type FFIDSubscriptionBadgeProps as at, type FFIDUserMenuClassNames as au, type FFIDUserMenuProps as av, type FFIDApiResponse as b, type FFIDSessionResponse as c, type FFIDRedirectResult as d, type FFIDError as e, type FFIDSubscriptionCheckResponse as f, type FFIDCheckServiceAccessParams as g, type FFIDServiceAccessDecision as h, type FFIDProfileCallOptions as i, type FFIDUserProfile as j, type FFIDUpdateUserProfileRequest as k, type FFIDAnalyticsConfig as l, type FFIDCreateCheckoutParams as m, type FFIDCheckoutSessionResponse as n, type FFIDCreatePortalParams as o, type FFIDPortalSessionResponse as p, type FFIDVerifyAccessTokenOptions as q, type FFIDOAuthUserInfo as r, type FFIDInquiryCreateParams as s, type FFIDInquiryCreateResponse as t, type FFIDAuthMode as u, type FFIDLogger as v, type FFIDCacheAdapter as w, type FFIDUser as x, type FFIDOrganization as y, type FFIDSubscription as z };