@fluid-app/portal-sdk 0.1.91 → 0.1.93
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/{AppDownloadScreen-BtvcE4pE.cjs → AppDownloadScreen-D-lPD090.cjs} +2 -2
- package/dist/{AppDownloadScreen-BtvcE4pE.cjs.map → AppDownloadScreen-D-lPD090.cjs.map} +1 -1
- package/dist/{AppDownloadScreen-Dx2nilnX.cjs → AppDownloadScreen-D4CtPMfZ.cjs} +2 -2
- package/dist/{AppDownloadScreen-RX8GSAyq.mjs → AppDownloadScreen-RGClSpeA.mjs} +2 -2
- package/dist/{AppDownloadScreen-RX8GSAyq.mjs.map → AppDownloadScreen-RGClSpeA.mjs.map} +1 -1
- package/dist/{ContactsScreen-DttcI388.cjs → ContactsScreen-0h6EW-5L.cjs} +2 -2
- package/dist/{ContactsScreen-DttcI388.cjs.map → ContactsScreen-0h6EW-5L.cjs.map} +1 -1
- package/dist/{ContactsScreen-DOz11uQ_.mjs → ContactsScreen-B5mf_3YF.mjs} +2 -2
- package/dist/{ContactsScreen-DOz11uQ_.mjs.map → ContactsScreen-B5mf_3YF.mjs.map} +1 -1
- package/dist/{ContactsScreen-CKMZIQlF.cjs → ContactsScreen-CCvizFdr.cjs} +2 -2
- package/dist/{FluidProvider-Sc51VlLw.cjs → FluidProvider-C27-ijsq.cjs} +58 -12
- package/dist/FluidProvider-C27-ijsq.cjs.map +1 -0
- package/dist/{FluidProvider-Eohedipr.mjs → FluidProvider-Nd7xkDWq.mjs} +47 -13
- package/dist/FluidProvider-Nd7xkDWq.mjs.map +1 -0
- package/dist/{MessagingScreen-CdHBUykK.cjs → MessagingScreen-8myurYB8.cjs} +2 -2
- package/dist/{MessagingScreen-r67FUDf1.cjs → MessagingScreen-B8u8kkH-.cjs} +3 -3
- package/dist/{MessagingScreen-r67FUDf1.cjs.map → MessagingScreen-B8u8kkH-.cjs.map} +1 -1
- package/dist/{MessagingScreen-CMxjIURw.mjs → MessagingScreen-CJO9b5Do.mjs} +3 -3
- package/dist/{MessagingScreen-CMxjIURw.mjs.map → MessagingScreen-CJO9b5Do.mjs.map} +1 -1
- package/dist/{MessagingScreen-Cx0bbvfs.mjs → MessagingScreen-oGxMJtNT.mjs} +2 -2
- package/dist/{MySiteScreen-BhdmPFar.mjs → MySiteScreen-Cz-KTIDH.mjs} +3 -3
- package/dist/{MySiteScreen-BhdmPFar.mjs.map → MySiteScreen-Cz-KTIDH.mjs.map} +1 -1
- package/dist/{MySiteScreen-Cy7HpS3z.cjs → MySiteScreen-DHtQ-nrj.cjs} +3 -3
- package/dist/{MySiteScreen-Cy7HpS3z.cjs.map → MySiteScreen-DHtQ-nrj.cjs.map} +1 -1
- package/dist/{MySiteScreen-8lZTZzo0.cjs → MySiteScreen-DxKXda65.cjs} +3 -3
- package/dist/{OrdersScreen-D0TnBQc5.mjs → OrdersScreen-CRhvTsZX.mjs} +3 -3
- package/dist/{OrdersScreen-D0TnBQc5.mjs.map → OrdersScreen-CRhvTsZX.mjs.map} +1 -1
- package/dist/{OrdersScreen-DCOzHNIy.cjs → OrdersScreen-DDqDubNG.cjs} +2 -2
- package/dist/{OrdersScreen-BaqQzT1F.cjs → OrdersScreen-DGWU9MKQ.cjs} +3 -3
- package/dist/{OrdersScreen-BaqQzT1F.cjs.map → OrdersScreen-DGWU9MKQ.cjs.map} +1 -1
- package/dist/{ProductsScreen-2tlHXemg.mjs → ProductsScreen-28vbEj_q.mjs} +4 -4
- package/dist/{ProductsScreen-Ch6f5P2w.cjs → ProductsScreen-BCKYCxLP.cjs} +4 -4
- package/dist/{ProductsScreen-2pUHZJop.mjs → ProductsScreen-CUQi-Rj5.mjs} +7 -6
- package/dist/ProductsScreen-CUQi-Rj5.mjs.map +1 -0
- package/dist/{ProductsScreen-ueEJP0MJ.cjs → ProductsScreen-TQGuItSe.cjs} +7 -6
- package/dist/ProductsScreen-TQGuItSe.cjs.map +1 -0
- package/dist/{ProfileScreen-C8fpr9c3.cjs → ProfileScreen-C-WEgl6I.cjs} +3 -3
- package/dist/{ProfileScreen-C8fpr9c3.cjs.map → ProfileScreen-C-WEgl6I.cjs.map} +1 -1
- package/dist/{ProfileScreen-Age0TtEY.mjs → ProfileScreen-CSyji2kX.mjs} +3 -3
- package/dist/{ProfileScreen-Age0TtEY.mjs.map → ProfileScreen-CSyji2kX.mjs.map} +1 -1
- package/dist/{ProfileScreen-DEtgeBnE.cjs → ProfileScreen-mbsYsvbX.cjs} +2 -2
- package/dist/{ShareablesScreen-vFbWhVGF.mjs → ShareablesScreen-B3LWG6Vd.mjs} +7 -7
- package/dist/{ShareablesScreen-vFbWhVGF.mjs.map → ShareablesScreen-B3LWG6Vd.mjs.map} +1 -1
- package/dist/{ShareablesScreen-B6uPSvvK.cjs → ShareablesScreen-DDDnyfpn.cjs} +7 -7
- package/dist/{ShareablesScreen-B6uPSvvK.cjs.map → ShareablesScreen-DDDnyfpn.cjs.map} +1 -1
- package/dist/{ShareablesScreen-DBdNgtV1.mjs → ShareablesScreen-DWlRD2yD.mjs} +4 -4
- package/dist/{ShareablesScreen-CoPFz5ZB.cjs → ShareablesScreen-Du70lYZA.cjs} +4 -4
- package/dist/{ShopScreen-BKBaNPsG.cjs → ShopScreen-CWuSRymK.cjs} +67 -51
- package/dist/ShopScreen-CWuSRymK.cjs.map +1 -0
- package/dist/{ShopScreen-D-TXRWZR.mjs → ShopScreen-CzY8rJg9.mjs} +67 -51
- package/dist/ShopScreen-CzY8rJg9.mjs.map +1 -0
- package/dist/{ShopScreen-DPZSXS99.cjs → ShopScreen-DQzt93BK.cjs} +2 -2
- package/dist/{SubscriptionsScreen-CBqgpat5.mjs → SubscriptionsScreen-CViYObw9.mjs} +3 -3
- package/dist/{SubscriptionsScreen-CBqgpat5.mjs.map → SubscriptionsScreen-CViYObw9.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-BvS7o_XP.cjs → SubscriptionsScreen-CjxanPLb.cjs} +3 -3
- package/dist/{SubscriptionsScreen-BvS7o_XP.cjs.map → SubscriptionsScreen-CjxanPLb.cjs.map} +1 -1
- package/dist/{SubscriptionsScreen-IbsNz0Ki.cjs → SubscriptionsScreen-Dc4JwfWg.cjs} +2 -2
- package/dist/{dist-BF_4vk1z.cjs → dist-BSbac3uh.cjs} +1 -1
- package/dist/{dist-BF_4vk1z.cjs.map → dist-BSbac3uh.cjs.map} +1 -1
- package/dist/index.cjs +43 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +38 -352
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +38 -352
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +43 -39
- package/dist/index.mjs.map +1 -1
- package/dist/products-BAtIML76.cjs +114 -0
- package/dist/{products-BKZ1siXg.cjs.map → products-BAtIML76.cjs.map} +1 -1
- package/dist/products-StJIeia3.mjs +61 -0
- package/dist/{products-DOO1TBcm.mjs.map → products-StJIeia3.mjs.map} +1 -1
- package/dist/{sortable.esm-Cz-CP2N8.mjs → sortable.esm-DSrWP4x9.mjs} +1 -1
- package/dist/{sortable.esm-Cz-CP2N8.mjs.map → sortable.esm-DSrWP4x9.mjs.map} +1 -1
- package/dist/{src-Zv3-NSUf.cjs → src-CMByt6YP.cjs} +1 -1
- package/dist/{src-CN7diUEw.mjs.map → src-CMByt6YP.cjs.map} +1 -1
- package/dist/{src-Ih5vEO6p.mjs → src-CyrJPIY1.mjs} +3 -3
- package/dist/{src-Ih5vEO6p.mjs.map → src-CyrJPIY1.mjs.map} +1 -1
- package/dist/{src-CN7diUEw.mjs → src-DryOJTBW.mjs} +1 -1
- package/dist/{src-Zv3-NSUf.cjs.map → src-DryOJTBW.mjs.map} +1 -1
- package/dist/{src-BbJs882O.cjs → src-t3t8YW1J.cjs} +3 -3
- package/dist/{src-BbJs882O.cjs.map → src-t3t8YW1J.cjs.map} +1 -1
- package/dist/{use-account-clients-DaliJYMa.cjs → use-account-clients-CF79cijO.cjs} +2 -2
- package/dist/{use-account-clients-DaliJYMa.cjs.map → use-account-clients-CF79cijO.cjs.map} +1 -1
- package/dist/{use-account-clients-CSWgrCKK.mjs → use-account-clients-CaLsedpw.mjs} +2 -2
- package/dist/{use-account-clients-CSWgrCKK.mjs.map → use-account-clients-CaLsedpw.mjs.map} +1 -1
- package/dist/{use-current-user-5erIFUd6.cjs → use-current-user-CNyndpb0.cjs} +3 -3
- package/dist/{use-current-user-5erIFUd6.cjs.map → use-current-user-CNyndpb0.cjs.map} +1 -1
- package/dist/{use-current-user-BBQg1iYf.mjs → use-current-user-Cv4FHFqm.mjs} +3 -3
- package/dist/{use-current-user-BBQg1iYf.mjs.map → use-current-user-Cv4FHFqm.mjs.map} +1 -1
- package/dist/{use-customer-account-Dzdps4By.cjs → use-customer-account-9HqKnQx5.cjs} +3 -3
- package/dist/{use-customer-account-Dzdps4By.cjs.map → use-customer-account-9HqKnQx5.cjs.map} +1 -1
- package/dist/{use-customer-account-CRYpHpFM.mjs → use-customer-account-CewcODTd.mjs} +3 -3
- package/dist/{use-customer-account-CRYpHpFM.mjs.map → use-customer-account-CewcODTd.mjs.map} +1 -1
- package/dist/{use-fluid-api-C5ZLs2TP.mjs → use-fluid-api-D1QuzLw0.mjs} +2 -2
- package/dist/{use-fluid-api-C5ZLs2TP.mjs.map → use-fluid-api-D1QuzLw0.mjs.map} +1 -1
- package/dist/{use-fluid-api-BUitsoDu.cjs → use-fluid-api-zeOS14jg.cjs} +2 -2
- package/dist/{use-fluid-api-BUitsoDu.cjs.map → use-fluid-api-zeOS14jg.cjs.map} +1 -1
- package/package.json +12 -12
- package/dist/FluidProvider-Eohedipr.mjs.map +0 -1
- package/dist/FluidProvider-Sc51VlLw.cjs.map +0 -1
- package/dist/ProductsScreen-2pUHZJop.mjs.map +0 -1
- package/dist/ProductsScreen-ueEJP0MJ.cjs.map +0 -1
- package/dist/ShopScreen-BKBaNPsG.cjs.map +0 -1
- package/dist/ShopScreen-D-TXRWZR.mjs.map +0 -1
- package/dist/products-BKZ1siXg.cjs +0 -29
- package/dist/products-DOO1TBcm.mjs +0 -18
package/dist/index.d.cts
CHANGED
|
@@ -783,351 +783,12 @@ interface ThemePayload {
|
|
|
783
783
|
syncWithBrandColors?: boolean;
|
|
784
784
|
}
|
|
785
785
|
//#endregion
|
|
786
|
-
//#region ../../api-clients/fluidos/src/generated/fluid_os.d.ts
|
|
787
|
-
interface components {
|
|
788
|
-
schemas: {
|
|
789
|
-
ResponseMeta: {
|
|
790
|
-
/** @example 123e4567-e89b-12d3-a456-426614174000 */request_id?: string; /** @example 2021-01-01T00:00:00Z */
|
|
791
|
-
timestamp?: string;
|
|
792
|
-
}; /** @description Pagination metadata for list responses */
|
|
793
|
-
PaginationMeta: {
|
|
794
|
-
/**
|
|
795
|
-
* @description Total number of items across all pages
|
|
796
|
-
* @example 42
|
|
797
|
-
*/
|
|
798
|
-
total_count?: number;
|
|
799
|
-
/**
|
|
800
|
-
* @description Total number of pages
|
|
801
|
-
* @example 5
|
|
802
|
-
*/
|
|
803
|
-
total_pages?: number;
|
|
804
|
-
/**
|
|
805
|
-
* @description Current page number
|
|
806
|
-
* @example 1
|
|
807
|
-
*/
|
|
808
|
-
current_page?: number;
|
|
809
|
-
/**
|
|
810
|
-
* @description Unique identifier for the request
|
|
811
|
-
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
812
|
-
*/
|
|
813
|
-
request_id?: string;
|
|
814
|
-
/**
|
|
815
|
-
* @description Timestamp of the response
|
|
816
|
-
* @example 2021-01-01T00:00:00Z
|
|
817
|
-
*/
|
|
818
|
-
timestamp?: string;
|
|
819
|
-
} & {
|
|
820
|
-
[key: string]: unknown;
|
|
821
|
-
}; /** FluidOS::NavigationItem */
|
|
822
|
-
FluidOSNavigationItem: {
|
|
823
|
-
id: number;
|
|
824
|
-
icon?: string | null;
|
|
825
|
-
label?: string | null;
|
|
826
|
-
parent_id?: number | null;
|
|
827
|
-
position?: number | null;
|
|
828
|
-
screen_id?: number | null;
|
|
829
|
-
slug?: string | null; /** @enum {string} */
|
|
830
|
-
source: "user" | "system" | "code";
|
|
831
|
-
children: components["schemas"]["FluidOSNavigationItem"][];
|
|
832
|
-
}; /** @description Permission configuration object defining access rights. Empty arrays mean 'allow all' for that dimension. */
|
|
833
|
-
FluidOSPermissions: {
|
|
834
|
-
/** @description Array of rank IDs that can access this profile. Empty array allows all ranks. */ranks?: number[]; /** @description Array of roles that can access this profile. Empty array allows all roles. */
|
|
835
|
-
roles?: ("admin" | "rep")[]; /** @description Array of platforms that can access this profile. Empty array allows all platforms. */
|
|
836
|
-
platform?: ("mobile" | "browser")[]; /** @description Array of country IDs that can access this profile. Empty array allows all countries. */
|
|
837
|
-
countries?: number[];
|
|
838
|
-
}; /** @description Standard error response */
|
|
839
|
-
Error: {
|
|
840
|
-
/**
|
|
841
|
-
* @description Simple error message (used for 404 and other simple errors)
|
|
842
|
-
* @example Resource not found
|
|
843
|
-
* @example Unauthorized
|
|
844
|
-
*/
|
|
845
|
-
error?: string;
|
|
846
|
-
/**
|
|
847
|
-
* @description Error message for validation errors
|
|
848
|
-
* @example Invalid parameters
|
|
849
|
-
*/
|
|
850
|
-
error_message?: string;
|
|
851
|
-
/**
|
|
852
|
-
* @description Detailed validation errors by field
|
|
853
|
-
* @example {
|
|
854
|
-
* "definition": {
|
|
855
|
-
* "name": [
|
|
856
|
-
* "must be filled"
|
|
857
|
-
* ]
|
|
858
|
-
* }
|
|
859
|
-
* }
|
|
860
|
-
*/
|
|
861
|
-
errors?: {
|
|
862
|
-
[key: string]: unknown;
|
|
863
|
-
};
|
|
864
|
-
meta?: components["schemas"]["ResponseMeta"];
|
|
865
|
-
} & {
|
|
866
|
-
[key: string]: unknown;
|
|
867
|
-
}; /** @description A profile optimized for rendering, with permissions stripped. Contains only the data needed to render the app. */
|
|
868
|
-
FluidOSRendererProfile: {
|
|
869
|
-
/** @description Unique identifier for the profile */id?: number; /** @description Display name of the profile */
|
|
870
|
-
name?: string; /** @description Whether this is the default profile for its platform */
|
|
871
|
-
default?: boolean; /** @description Navigation configuration for this profile */
|
|
872
|
-
navigation?: {
|
|
873
|
-
/** @description Tree structure of navigation items */navigation_tree?: components["schemas"]["FluidOSNavigationItem"][];
|
|
874
|
-
}; /** @description Array of theme IDs associated with this profile */
|
|
875
|
-
themes?: number[];
|
|
876
|
-
}; /** @description The Fluid OS manifest optimized for rendering. Contains a single matched profile based on platform, country, rank, and role parameters, along with filtered screens and themes. */
|
|
877
|
-
FluidOSRendererManifest: {
|
|
878
|
-
/** @description Name of the Fluid OS app */name?: string; /** @description ID of the Fluid OS definition */
|
|
879
|
-
definition_id?: number; /** @description Version number of the published manifest */
|
|
880
|
-
published_version?: number;
|
|
881
|
-
/**
|
|
882
|
-
* Format: date-time
|
|
883
|
-
* @description When this version was published
|
|
884
|
-
*/
|
|
885
|
-
published_at?: string; /** @description Navigation configurations for the app */
|
|
886
|
-
navigations?: components["schemas"]["FluidOSNavigationBasic"][]; /** @description The best matching profile for the given parameters */
|
|
887
|
-
profile?: components["schemas"]["FluidOSRendererProfile"]; /** @description Screens associated with the matched profile's navigation */
|
|
888
|
-
screens?: components["schemas"]["FluidOSScreen"][]; /** @description Themes associated with the matched profile */
|
|
889
|
-
themes?: components["schemas"]["FluidOSTheme"][];
|
|
890
|
-
}; /** FluidOS::Navigation */
|
|
891
|
-
FluidOSNavigationBasic: {
|
|
892
|
-
id: number;
|
|
893
|
-
name?: string | null;
|
|
894
|
-
definition_id: number; /** @enum {string} */
|
|
895
|
-
platform: "web" | "mobile";
|
|
896
|
-
}; /** FluidOS::Screen */
|
|
897
|
-
FluidOSScreen: {
|
|
898
|
-
id: number;
|
|
899
|
-
name?: string | null;
|
|
900
|
-
slug?: string | null;
|
|
901
|
-
definition_id: number;
|
|
902
|
-
component_tree?: Record<string, unknown> | null;
|
|
903
|
-
}; /** FluidOS::Theme */
|
|
904
|
-
FluidOSTheme: {
|
|
905
|
-
id: number;
|
|
906
|
-
config?: Record<string, unknown> | null;
|
|
907
|
-
active?: boolean | null;
|
|
908
|
-
name?: string | null;
|
|
909
|
-
definition_id: number;
|
|
910
|
-
}; /** FluidOS::Definition */
|
|
911
|
-
FluidOSDefinition: {
|
|
912
|
-
id: number;
|
|
913
|
-
name?: string | null;
|
|
914
|
-
active?: boolean | null;
|
|
915
|
-
profiles: components["schemas"]["FluidOSProfile"][];
|
|
916
|
-
screens: components["schemas"]["FluidOSScreenBasic"][];
|
|
917
|
-
navigations: components["schemas"]["FluidOSNavigationBasic"][];
|
|
918
|
-
themes: components["schemas"]["FluidOSTheme"][];
|
|
919
|
-
}; /** FluidOS::Definition */
|
|
920
|
-
FluidOSDefinitionBasic: {
|
|
921
|
-
id: number;
|
|
922
|
-
name?: string | null;
|
|
923
|
-
active?: boolean | null;
|
|
924
|
-
};
|
|
925
|
-
FluidOSDefinitionCreate: {
|
|
926
|
-
definition: {
|
|
927
|
-
name: string;
|
|
928
|
-
active?: boolean;
|
|
929
|
-
};
|
|
930
|
-
};
|
|
931
|
-
FluidOSDefinitionUpdate: {
|
|
932
|
-
definition: {
|
|
933
|
-
name?: string;
|
|
934
|
-
active?: boolean;
|
|
935
|
-
};
|
|
936
|
-
}; /** FluidOS::Screen */
|
|
937
|
-
FluidOSScreenBasic: {
|
|
938
|
-
id: number;
|
|
939
|
-
name?: string | null;
|
|
940
|
-
slug?: string | null;
|
|
941
|
-
definition_id: number;
|
|
942
|
-
};
|
|
943
|
-
FluidOSScreenCreate: {
|
|
944
|
-
screen: {
|
|
945
|
-
name: string;
|
|
946
|
-
slug: string;
|
|
947
|
-
component_tree?: null | Record<string, unknown>;
|
|
948
|
-
};
|
|
949
|
-
};
|
|
950
|
-
FluidOSScreenUpdate: {
|
|
951
|
-
screen?: unknown;
|
|
952
|
-
}; /** FluidOS::Profile */
|
|
953
|
-
FluidOSProfile: {
|
|
954
|
-
id: number;
|
|
955
|
-
name?: string | null;
|
|
956
|
-
default?: boolean | null;
|
|
957
|
-
permissions?: components["schemas"]["FluidOSPermissions"] | null;
|
|
958
|
-
definition_id: number;
|
|
959
|
-
navigation: components["schemas"]["FluidOSNavigationWithItems"];
|
|
960
|
-
mobile_navigation: components["schemas"]["FluidOSNavigationWithItems"];
|
|
961
|
-
themes: components["schemas"]["FluidOSTheme"][];
|
|
962
|
-
}; /** FluidOS::Profile */
|
|
963
|
-
FluidOSProfileWithScreens: {
|
|
964
|
-
id: number;
|
|
965
|
-
name?: string | null;
|
|
966
|
-
default?: boolean | null;
|
|
967
|
-
permissions?: components["schemas"]["FluidOSPermissions"] | null;
|
|
968
|
-
definition_id: number;
|
|
969
|
-
navigation: components["schemas"]["FluidOSNavigationWithItems"];
|
|
970
|
-
mobile_navigation: components["schemas"]["FluidOSNavigationWithItems"];
|
|
971
|
-
themes: components["schemas"]["FluidOSTheme"][];
|
|
972
|
-
screens: {
|
|
973
|
-
[key: string]: unknown;
|
|
974
|
-
}[];
|
|
975
|
-
};
|
|
976
|
-
FluidOSProfileCreate: {
|
|
977
|
-
profile: {
|
|
978
|
-
name: string;
|
|
979
|
-
default?: boolean; /** @description Mutually exclusive with navigation_attributes */
|
|
980
|
-
navigation_id?: number; /** @description Mutually exclusive with mobile_navigation_attributes */
|
|
981
|
-
mobile_navigation_id?: number; /** @description Mutually exclusive with navigation_id */
|
|
982
|
-
navigation_attributes?: {
|
|
983
|
-
name: string;
|
|
984
|
-
navigation_items_attributes?: {
|
|
985
|
-
screen_id?: number;
|
|
986
|
-
icon?: string;
|
|
987
|
-
label?: string;
|
|
988
|
-
position?: number;
|
|
989
|
-
parent_id?: number;
|
|
990
|
-
slug?: string; /** @enum {null|string} */
|
|
991
|
-
source?: "user" | "system" | "code" | null;
|
|
992
|
-
}[];
|
|
993
|
-
}; /** @description Mutually exclusive with mobile_navigation_id */
|
|
994
|
-
mobile_navigation_attributes?: {
|
|
995
|
-
name: string;
|
|
996
|
-
navigation_items_attributes?: {
|
|
997
|
-
screen_id?: number;
|
|
998
|
-
icon?: string;
|
|
999
|
-
label?: string;
|
|
1000
|
-
position?: number;
|
|
1001
|
-
parent_id?: number;
|
|
1002
|
-
slug?: string; /** @enum {null|string} */
|
|
1003
|
-
source?: "user" | "system" | "code" | null;
|
|
1004
|
-
}[];
|
|
1005
|
-
};
|
|
1006
|
-
theme_ids?: number[];
|
|
1007
|
-
permissions?: {
|
|
1008
|
-
countries?: number[];
|
|
1009
|
-
ranks?: number[];
|
|
1010
|
-
roles?: string[];
|
|
1011
|
-
platform?: string[];
|
|
1012
|
-
};
|
|
1013
|
-
};
|
|
1014
|
-
};
|
|
1015
|
-
FluidOSProfileUpdate: {
|
|
1016
|
-
profile: {
|
|
1017
|
-
name?: string;
|
|
1018
|
-
default?: boolean;
|
|
1019
|
-
navigation_id?: number;
|
|
1020
|
-
mobile_navigation_id?: number;
|
|
1021
|
-
theme_ids?: number[];
|
|
1022
|
-
permissions?: {
|
|
1023
|
-
countries?: number[];
|
|
1024
|
-
ranks?: number[];
|
|
1025
|
-
roles?: string[];
|
|
1026
|
-
platform?: string[];
|
|
1027
|
-
};
|
|
1028
|
-
};
|
|
1029
|
-
};
|
|
1030
|
-
FluidOSThemeCreate: {
|
|
1031
|
-
theme: {
|
|
1032
|
-
name: string;
|
|
1033
|
-
config: Record<string, unknown>;
|
|
1034
|
-
active?: boolean;
|
|
1035
|
-
};
|
|
1036
|
-
};
|
|
1037
|
-
FluidOSThemeUpdate: {
|
|
1038
|
-
theme: {
|
|
1039
|
-
name?: string;
|
|
1040
|
-
active?: boolean;
|
|
1041
|
-
config?: Record<string, unknown>;
|
|
1042
|
-
};
|
|
1043
|
-
}; /** FluidOS::Navigation */
|
|
1044
|
-
FluidOSNavigation: {
|
|
1045
|
-
id: number;
|
|
1046
|
-
name?: string | null;
|
|
1047
|
-
definition_id: number; /** @enum {string} */
|
|
1048
|
-
platform: "web" | "mobile";
|
|
1049
|
-
screens: {
|
|
1050
|
-
id: number;
|
|
1051
|
-
name?: string | null;
|
|
1052
|
-
slug?: string | null;
|
|
1053
|
-
definition_id: number;
|
|
1054
|
-
component_tree?: Record<string, unknown> | null;
|
|
1055
|
-
}[];
|
|
1056
|
-
}; /** FluidOS::Navigation */
|
|
1057
|
-
FluidOSNavigationWithItems: {
|
|
1058
|
-
id: number;
|
|
1059
|
-
name?: string | null;
|
|
1060
|
-
definition_id: number; /** @enum {string} */
|
|
1061
|
-
platform: "web" | "mobile";
|
|
1062
|
-
navigation_items: components["schemas"]["FluidOSNavigationItem"][];
|
|
1063
|
-
};
|
|
1064
|
-
FluidOSNavigationCreate: {
|
|
1065
|
-
navigation: {
|
|
1066
|
-
name: string; /** @enum {string} */
|
|
1067
|
-
platform: "web" | "mobile";
|
|
1068
|
-
};
|
|
1069
|
-
};
|
|
1070
|
-
FluidOSNavigationUpdate: {
|
|
1071
|
-
navigation: {
|
|
1072
|
-
name?: string; /** @enum {string} */
|
|
1073
|
-
platform?: "web" | "mobile";
|
|
1074
|
-
};
|
|
1075
|
-
};
|
|
1076
|
-
FluidOSNavigationItemCreate: {
|
|
1077
|
-
navigation_item: {
|
|
1078
|
-
icon?: string;
|
|
1079
|
-
label: string;
|
|
1080
|
-
position: number;
|
|
1081
|
-
parent_id?: null | number;
|
|
1082
|
-
screen_id?: null | number;
|
|
1083
|
-
slug?: null | string; /** @enum {null|string} */
|
|
1084
|
-
source?: "user" | "system" | "code" | null;
|
|
1085
|
-
};
|
|
1086
|
-
};
|
|
1087
|
-
FluidOSNavigationItemUpdate: {
|
|
1088
|
-
navigation_item: {
|
|
1089
|
-
icon?: string;
|
|
1090
|
-
label?: string;
|
|
1091
|
-
position?: number;
|
|
1092
|
-
parent_id?: null | number;
|
|
1093
|
-
screen_id?: null | number;
|
|
1094
|
-
slug?: null | string; /** @enum {null|string} */
|
|
1095
|
-
source?: "user" | "system" | "code" | null;
|
|
1096
|
-
};
|
|
1097
|
-
}; /** FluidOS::Version */
|
|
1098
|
-
FluidOSVersion: {
|
|
1099
|
-
id: number;
|
|
1100
|
-
active?: boolean | null;
|
|
1101
|
-
manifest?: Record<string, unknown> | null; /** Format: date-time */
|
|
1102
|
-
published_at?: string | null;
|
|
1103
|
-
definition_id: number;
|
|
1104
|
-
};
|
|
1105
|
-
FluidOSVersionUpdate: {
|
|
1106
|
-
version: {
|
|
1107
|
-
active?: boolean;
|
|
1108
|
-
};
|
|
1109
|
-
};
|
|
1110
|
-
};
|
|
1111
|
-
responses: never;
|
|
1112
|
-
parameters: never;
|
|
1113
|
-
requestBodies: never;
|
|
1114
|
-
headers: never;
|
|
1115
|
-
pathItems: never;
|
|
1116
|
-
}
|
|
1117
|
-
//#endregion
|
|
1118
786
|
//#region ../core/src/types/navigation.d.ts
|
|
1119
|
-
/** The API schema type — single source of truth for navigation item fields. */
|
|
1120
|
-
type ApiNavigationItem = components["schemas"]["FluidOSNavigationItem"];
|
|
1121
|
-
/**
|
|
1122
|
-
* Strip `null` from a union type, converting `T | null` → `T`.
|
|
1123
|
-
* Used to convert API's null convention to portal-core's undefined convention.
|
|
1124
|
-
*/
|
|
1125
|
-
type StripNull<T> = Exclude<T, null>;
|
|
1126
787
|
/**
|
|
1127
788
|
* Navigation item in the sidebar/menu structure.
|
|
1128
789
|
*
|
|
1129
|
-
*
|
|
1130
|
-
*
|
|
790
|
+
* Field types match the FluidOS API schema (`FluidOSNavigationItem`).
|
|
791
|
+
* Differences from the raw API type:
|
|
1131
792
|
* - `id` is optional (system/default items may not have one)
|
|
1132
793
|
* - `label` is required (transforms default null to "Untitled")
|
|
1133
794
|
* - `section` is a frontend-only extension (not in API)
|
|
@@ -1135,23 +796,23 @@ type StripNull<T> = Exclude<T, null>;
|
|
|
1135
796
|
*/
|
|
1136
797
|
interface NavigationItem {
|
|
1137
798
|
/** Database-generated identifier — optional because system/default items may not have one */
|
|
1138
|
-
readonly id?:
|
|
1139
|
-
/** URL slug for routing */
|
|
1140
|
-
slug?:
|
|
799
|
+
readonly id?: number;
|
|
800
|
+
/** URL slug for routing (`| undefined` for exactOptionalPropertyTypes compat) */
|
|
801
|
+
slug?: string | undefined;
|
|
1141
802
|
/** Display label — required; transforms default null API values to "Untitled" */
|
|
1142
803
|
label: string;
|
|
1143
804
|
/** Icon identifier (e.g., FontAwesome name) */
|
|
1144
|
-
icon?:
|
|
805
|
+
icon?: string | undefined;
|
|
1145
806
|
/** Section grouping for quick links (frontend-only, not in API) */
|
|
1146
807
|
section?: string;
|
|
1147
808
|
/** Associated screen ID */
|
|
1148
|
-
screen_id?:
|
|
809
|
+
screen_id?: number | undefined;
|
|
1149
810
|
/** Sort order */
|
|
1150
|
-
position?:
|
|
811
|
+
position?: number | undefined;
|
|
1151
812
|
/** Parent navigation item ID (null for root items) */
|
|
1152
|
-
parent_id?:
|
|
813
|
+
parent_id?: number | null;
|
|
1153
814
|
/** Origin of this navigation item */
|
|
1154
|
-
source?:
|
|
815
|
+
source?: "user" | "system" | "code";
|
|
1155
816
|
/** Nested navigation items */
|
|
1156
817
|
children: NavigationItem[];
|
|
1157
818
|
}
|
|
@@ -1784,9 +1445,24 @@ declare function normalizeComponentTree(componentTree: unknown): WidgetSchema[];
|
|
|
1784
1445
|
*/
|
|
1785
1446
|
declare function toScreenDefinition(screen: RawApiScreen): ScreenDefinition$1;
|
|
1786
1447
|
//#endregion
|
|
1448
|
+
//#region ../core/src/types/fluidos-api.d.ts
|
|
1449
|
+
/** Raw FluidOS navigation item as returned by the API. */
|
|
1450
|
+
interface FluidOsApiNavigationItem {
|
|
1451
|
+
id: number;
|
|
1452
|
+
icon?: string | null;
|
|
1453
|
+
label?: string | null;
|
|
1454
|
+
parent_id?: number | null;
|
|
1455
|
+
position?: number | null;
|
|
1456
|
+
screen_id?: number | null;
|
|
1457
|
+
slug?: string | null;
|
|
1458
|
+
/** @enum {string} */
|
|
1459
|
+
source: "user" | "system" | "code";
|
|
1460
|
+
children: FluidOsApiNavigationItem[];
|
|
1461
|
+
}
|
|
1462
|
+
//#endregion
|
|
1787
1463
|
//#region src/transforms/navigation-transforms.d.ts
|
|
1788
|
-
/** Raw navigation item from the FluidOS API
|
|
1789
|
-
type RawApiNavigationItem =
|
|
1464
|
+
/** Raw navigation item from the FluidOS API. */
|
|
1465
|
+
type RawApiNavigationItem = FluidOsApiNavigationItem;
|
|
1790
1466
|
/**
|
|
1791
1467
|
* Convert a raw FluidOS navigation item to NavigationItem.
|
|
1792
1468
|
* Recursively transforms children and sorts by position.
|
|
@@ -1820,6 +1496,16 @@ interface RawManifestResponse {
|
|
|
1820
1496
|
};
|
|
1821
1497
|
}
|
|
1822
1498
|
/**
|
|
1499
|
+
* Convert a raw FluidOS API response to RawManifestResponse.
|
|
1500
|
+
*
|
|
1501
|
+
* The wire format includes `navigation_items` and full theme objects,
|
|
1502
|
+
* but the generated OpenAPI types differ (e.g. `navigation_tree`, `themes: number[]`).
|
|
1503
|
+
* This function bridges that gap so callers avoid `as unknown as` casts.
|
|
1504
|
+
*/
|
|
1505
|
+
declare function toRawManifest<T extends {
|
|
1506
|
+
manifest?: object;
|
|
1507
|
+
}>(raw: T): RawManifestResponse;
|
|
1508
|
+
/**
|
|
1823
1509
|
* Transform a raw FluidOS manifest API response into RepAppData.
|
|
1824
1510
|
*
|
|
1825
1511
|
* This is the top-level transform used by `FluidClient.app.get()`.
|
|
@@ -5475,5 +5161,5 @@ declare function useThemeMode(): ThemeModeContextValue;
|
|
|
5475
5161
|
/** Maps a ThemeMode to the value for `data-theme-mode`. Returns undefined for "auto". */
|
|
5476
5162
|
declare function getThemeModeAttribute(mode: ThemeMode): string | undefined;
|
|
5477
5163
|
//#endregion
|
|
5478
|
-
export { ACTIVITY_SLUGS, APP_DATA_QUERY_KEY, AUTH_CONSTANTS, type Activity as ActivityItem, type ActivitySlug, AlertWidget, type AlignOptions, ApiError, AppLink, type AppLinkProps, type AppNavigationContextValue, AppNavigationProvider, type AppNavigationProviderProps, AppShell, type AppShellProps, AuthError, type AuthErrorProps, AuthLoading, type BackgroundType, type BackgroundValue, type BaseListParams, type BorderRadiusOptions, BuilderScreenView, type BuilderScreenViewProps, BulletListWidget, type ButtonSizeOptions, CORE_PAGE_IDS, CURRENT_REP_QUERY_KEY, CURRENT_USER_QUERY_KEY, type CalendarEvent, CalendarWidget, CardWidget, CarouselWidget, type CatchUp as CatchUpItem, CatchUpWidget, ChartWidget, type ColorOptions, type Contact, type ContactAddress, type ContactStatus, type ContactType, ContactsScreen, ContainerWidget, type Conversation, type ConversationStatus, type CreateOrderData, CustomersScreen, DEFAULT_AUTH_URL, DEFAULT_COLORS, DEFAULT_FONT_FAMILIES, DEFAULT_FONT_SIZES, DEFAULT_RADII, DEFAULT_SDK_WIDGET_REGISTRY, DEFAULT_SPACING, DEFAULT_THEME_ID, DEFAULT_THEME_NAME, type DashboardData, EmbedWidget, FONT_FAMILY_KEYS, FONT_SIZE_KEYS, type FileCategory, type FileUploader, type FluidAuthConfig, type FluidAuthContextValue, FluidAuthProvider, type FluidAuthProviderProps, type FluidClient, FluidProvider, type FluidProviderProps, type FluidSDKConfig, FluidThemeProvider, type FluidThemeProviderProps, type FontFamilyKey, type FontSizeKey, type FontSizeOptions, type GapOptions, type GenerateThemeCSSOptions, ImageWidget, type JWTPayload, LayoutWidget, LinkWidget, type ListQueryResult, ListWidget, type ManifestEntry, type Message, type MessageType, type MessagingAuthContext, type MessagingConfig, type MessagingCurrentUser, MessagingScreen, type MySiteData, MySiteScreen, MySiteWidget, type Navigation, type NavigationItem, NestedWidget, type OklchPlain, type Order, type OrderLineItem, type OrderListParams, OrdersScreen, PAGE_CATEGORIES, PERMISSIONS_QUERY_KEY, PROFILE_QUERY_KEY, PROPERTY_FIELD_TYPES, type PaddingOptions, type PageCategory, type PageCategoryId, type PageOverride, type PageReference, PageRouter, type PageRouterProps, type PageTemplate, PageTemplateProvider, PageTemplateRegistry, type PaginationParams, type Participant, type PermissionAction, type Permissions, PointsWidget, type PortalConfig, type Product, type ProductListParams, ProductsScreen, type Profile, ProfileScreen, type PropertyFieldSchema, type PropertyFieldType, type QueryResult, type QueryResultNullable, QuickLinksDropdown, type QuickLinksDropdownProps, QuickShareWidget, RADIUS_KEYS, type RadiusKey, type RawApiNavigationItem, type RawApiScreen, type RawApiTheme, type RawManifestResponse, RecentActivityWidget, type Rep, type RepAppData, type RepAppManifest, type RepAppProfile, type RequestOptions, RequireAuth, type RequireAuthProps, type ResolvedColorSet, type ResolvedSemanticColor, type ResolvedTheme, type ResourcePermissions, SCAFFOLD_MANIFEST, SEMANTIC_COLOR_NAMES, SHADE_STEPS, STORAGE_KEYS, type SalesData, type SalesDataPoint, type SalesParams, type ScaffoldFile, type ScreenDefinition, SdkCompanySwitcher, SdkHeader, type SdkHeaderProps, SdkNavigation, type SdkNavigationProps, type SectionLayoutType, type SemanticColorName, SeparatorWidget, type ShadeStep, type ShareableItem, ShareablesScreen, ShopScreen, type SlugMatch, SpacerWidget, SubscriptionsScreen, type SwitchCompanyResponse, type TabConfig, TableWidget, TextWidget, type ThemeColorInput, type ThemeColorPlain, type ThemeDefinition, type ThemeMode, ThemeModeProvider, type ThemePayload, ToDoWidget, type Todo as TodoItem, type TokenValidationResult, type TypedWidgetSchema, URL_PARAMS, USER_TYPES, type UpdateRepData, type UploadCallbacks, type UploadResult, type UseCompanySwitchOptions, type UseContactResult, type UseContactsParams, type UseContactsResult, type UseConversationMessagesResult, type UseConversationsResult, type UseFluidPermissionsResult, type UseFluidThemeResult, type UseListResourceHook, type UseLogoutOptions, type UseSingleResourceHook, type UseUserTypeResult, type UserMe, type UserMeCompany, type UserMeCountry, type UserPermissions, type UserType, type ValueListQueryResult, VideoWidget, WIDGET_TYPE_NAMES, type WidgetPath, type WidgetPropertySchema, type WidgetRegistry, type WidgetSchema, type WidgetType, type WidgetTypeName, type WithData, alertWidgetPropertySchema, applyTheme, assertDefined, assertNever, buildThemeDefinition, buildWidgetRegistry, bulletListWidgetPropertySchema, calendarWidgetPropertySchema, cardWidgetPropertySchema, carouselWidgetPropertySchema, catchUpWidgetPropertySchema, chartWidgetPropertySchema, cleanTokenFromUrl, clearTokens, collectNavSlugs, contactsScreenPropertySchema, containerWidgetPropertySchema, createCompanyQueryKey, createDefaultAuthConfig, createDefaultAuthRedirect, createDefaultFluidConfig, createFluidClient, createFluidFileUploader, createPortal, createScreen, createWidgetFromShareable, createWidgetRegistry, customersScreenPropertySchema, decodeToken, deriveDarkVariant, deserialiseTheme, embedWidgetPropertySchema, extractAllTokensFromUrl, extractCompanyTokenFromUrl, extractSlugFromPathname, extractTokenFromUrl, filterRepOnlyNavItems, gapValues, generateShades, generateThemeCSS, getActiveThemeId, getAvailablePageTemplates, getCorePageTemplates, getDefaultThemeDefinition, getForegroundColor, getOptionalPageTemplates, getProperty, getStoredToken, getThemeModeAttribute, getTokenExpiration, getTokenTimeRemaining, groupChildrenByColumn, hasData, hasStoredToken, hasTokenInUrl, imageWidgetPropertySchema, isActivitySlug, isApiError, isContactStatus, isErrorResult, isIdle, isLoading, isPropertyFieldType, isSlugInSection, isTokenExpired, isUserType, isValidToken, isWidgetType, isWidgetTypeName, layoutWidgetPropertySchema, linkWidgetPropertySchema, listWidgetPropertySchema, matchSlugPrefix, mergeDarkOverrides, messagingScreenPropertySchema, mySiteScreenPropertySchema, mySiteWidgetPropertySchema, nestedWidgetPropertySchema, normalizeComponentTree, ordersScreenPropertySchema, parseColor, pointsWidgetPropertySchema, productsScreenPropertySchema, profileScreenPropertySchema, quickShareWidgetPropertySchema, recentActivityWidgetPropertySchema, removeAllThemes, removeTheme, resolveNavigationPages, resolveTheme, screenPropertySchemas, sectionLayoutConfig, selectProperty, separatorWidgetPropertySchema, serialiseTheme, shareablesScreenPropertySchema, shopScreenPropertySchema, spacerWidgetPropertySchema, storeToken, subscriptionsScreenPropertySchema, tableWidgetPropertySchema, textWidgetPropertySchema, toDoWidgetPropertySchema, toNavigationItem, toScreenDefinition, transformManifestToRepAppData, transformThemes, useActivities, useAppNavigation, useCalendarEvents, useCatchUps, useCompanyScopedQueryKey, useCompanySwitch, useContact, useContacts, useConversationMessages, useConversations, useCurrentRep, useCurrentUser, useFluidApi, useFluidApp, useFluidAuth, useFluidAuthContext, useFluidContext, useFluidPermissions, useFluidProfile, useFluidTheme, useLogout, useMessagingAuth, useMessagingConfig, useMySite, usePageTemplates, useResolvedPages, useThemeContext, useThemeMode, useTodos, useUserType, validateNavigationPages, validateToken, videoWidgetPropertySchema, widgetPropertySchemas };
|
|
5164
|
+
export { ACTIVITY_SLUGS, APP_DATA_QUERY_KEY, AUTH_CONSTANTS, type Activity as ActivityItem, type ActivitySlug, AlertWidget, type AlignOptions, ApiError, AppLink, type AppLinkProps, type AppNavigationContextValue, AppNavigationProvider, type AppNavigationProviderProps, AppShell, type AppShellProps, AuthError, type AuthErrorProps, AuthLoading, type BackgroundType, type BackgroundValue, type BaseListParams, type BorderRadiusOptions, BuilderScreenView, type BuilderScreenViewProps, BulletListWidget, type ButtonSizeOptions, CORE_PAGE_IDS, CURRENT_REP_QUERY_KEY, CURRENT_USER_QUERY_KEY, type CalendarEvent, CalendarWidget, CardWidget, CarouselWidget, type CatchUp as CatchUpItem, CatchUpWidget, ChartWidget, type ColorOptions, type Contact, type ContactAddress, type ContactStatus, type ContactType, ContactsScreen, ContainerWidget, type Conversation, type ConversationStatus, type CreateOrderData, CustomersScreen, DEFAULT_AUTH_URL, DEFAULT_COLORS, DEFAULT_FONT_FAMILIES, DEFAULT_FONT_SIZES, DEFAULT_RADII, DEFAULT_SDK_WIDGET_REGISTRY, DEFAULT_SPACING, DEFAULT_THEME_ID, DEFAULT_THEME_NAME, type DashboardData, EmbedWidget, FONT_FAMILY_KEYS, FONT_SIZE_KEYS, type FileCategory, type FileUploader, type FluidAuthConfig, type FluidAuthContextValue, FluidAuthProvider, type FluidAuthProviderProps, type FluidClient, FluidProvider, type FluidProviderProps, type FluidSDKConfig, FluidThemeProvider, type FluidThemeProviderProps, type FontFamilyKey, type FontSizeKey, type FontSizeOptions, type GapOptions, type GenerateThemeCSSOptions, ImageWidget, type JWTPayload, LayoutWidget, LinkWidget, type ListQueryResult, ListWidget, type ManifestEntry, type Message, type MessageType, type MessagingAuthContext, type MessagingConfig, type MessagingCurrentUser, MessagingScreen, type MySiteData, MySiteScreen, MySiteWidget, type Navigation, type NavigationItem, NestedWidget, type OklchPlain, type Order, type OrderLineItem, type OrderListParams, OrdersScreen, PAGE_CATEGORIES, PERMISSIONS_QUERY_KEY, PROFILE_QUERY_KEY, PROPERTY_FIELD_TYPES, type PaddingOptions, type PageCategory, type PageCategoryId, type PageOverride, type PageReference, PageRouter, type PageRouterProps, type PageTemplate, PageTemplateProvider, PageTemplateRegistry, type PaginationParams, type Participant, type PermissionAction, type Permissions, PointsWidget, type PortalConfig, type Product, type ProductListParams, ProductsScreen, type Profile, ProfileScreen, type PropertyFieldSchema, type PropertyFieldType, type QueryResult, type QueryResultNullable, QuickLinksDropdown, type QuickLinksDropdownProps, QuickShareWidget, RADIUS_KEYS, type RadiusKey, type RawApiNavigationItem, type RawApiScreen, type RawApiTheme, type RawManifestResponse, RecentActivityWidget, type Rep, type RepAppData, type RepAppManifest, type RepAppProfile, type RequestOptions, RequireAuth, type RequireAuthProps, type ResolvedColorSet, type ResolvedSemanticColor, type ResolvedTheme, type ResourcePermissions, SCAFFOLD_MANIFEST, SEMANTIC_COLOR_NAMES, SHADE_STEPS, STORAGE_KEYS, type SalesData, type SalesDataPoint, type SalesParams, type ScaffoldFile, type ScreenDefinition, SdkCompanySwitcher, SdkHeader, type SdkHeaderProps, SdkNavigation, type SdkNavigationProps, type SectionLayoutType, type SemanticColorName, SeparatorWidget, type ShadeStep, type ShareableItem, ShareablesScreen, ShopScreen, type SlugMatch, SpacerWidget, SubscriptionsScreen, type SwitchCompanyResponse, type TabConfig, TableWidget, TextWidget, type ThemeColorInput, type ThemeColorPlain, type ThemeDefinition, type ThemeMode, ThemeModeProvider, type ThemePayload, ToDoWidget, type Todo as TodoItem, type TokenValidationResult, type TypedWidgetSchema, URL_PARAMS, USER_TYPES, type UpdateRepData, type UploadCallbacks, type UploadResult, type UseCompanySwitchOptions, type UseContactResult, type UseContactsParams, type UseContactsResult, type UseConversationMessagesResult, type UseConversationsResult, type UseFluidPermissionsResult, type UseFluidThemeResult, type UseListResourceHook, type UseLogoutOptions, type UseSingleResourceHook, type UseUserTypeResult, type UserMe, type UserMeCompany, type UserMeCountry, type UserPermissions, type UserType, type ValueListQueryResult, VideoWidget, WIDGET_TYPE_NAMES, type WidgetPath, type WidgetPropertySchema, type WidgetRegistry, type WidgetSchema, type WidgetType, type WidgetTypeName, type WithData, alertWidgetPropertySchema, applyTheme, assertDefined, assertNever, buildThemeDefinition, buildWidgetRegistry, bulletListWidgetPropertySchema, calendarWidgetPropertySchema, cardWidgetPropertySchema, carouselWidgetPropertySchema, catchUpWidgetPropertySchema, chartWidgetPropertySchema, cleanTokenFromUrl, clearTokens, collectNavSlugs, contactsScreenPropertySchema, containerWidgetPropertySchema, createCompanyQueryKey, createDefaultAuthConfig, createDefaultAuthRedirect, createDefaultFluidConfig, createFluidClient, createFluidFileUploader, createPortal, createScreen, createWidgetFromShareable, createWidgetRegistry, customersScreenPropertySchema, decodeToken, deriveDarkVariant, deserialiseTheme, embedWidgetPropertySchema, extractAllTokensFromUrl, extractCompanyTokenFromUrl, extractSlugFromPathname, extractTokenFromUrl, filterRepOnlyNavItems, gapValues, generateShades, generateThemeCSS, getActiveThemeId, getAvailablePageTemplates, getCorePageTemplates, getDefaultThemeDefinition, getForegroundColor, getOptionalPageTemplates, getProperty, getStoredToken, getThemeModeAttribute, getTokenExpiration, getTokenTimeRemaining, groupChildrenByColumn, hasData, hasStoredToken, hasTokenInUrl, imageWidgetPropertySchema, isActivitySlug, isApiError, isContactStatus, isErrorResult, isIdle, isLoading, isPropertyFieldType, isSlugInSection, isTokenExpired, isUserType, isValidToken, isWidgetType, isWidgetTypeName, layoutWidgetPropertySchema, linkWidgetPropertySchema, listWidgetPropertySchema, matchSlugPrefix, mergeDarkOverrides, messagingScreenPropertySchema, mySiteScreenPropertySchema, mySiteWidgetPropertySchema, nestedWidgetPropertySchema, normalizeComponentTree, ordersScreenPropertySchema, parseColor, pointsWidgetPropertySchema, productsScreenPropertySchema, profileScreenPropertySchema, quickShareWidgetPropertySchema, recentActivityWidgetPropertySchema, removeAllThemes, removeTheme, resolveNavigationPages, resolveTheme, screenPropertySchemas, sectionLayoutConfig, selectProperty, separatorWidgetPropertySchema, serialiseTheme, shareablesScreenPropertySchema, shopScreenPropertySchema, spacerWidgetPropertySchema, storeToken, subscriptionsScreenPropertySchema, tableWidgetPropertySchema, textWidgetPropertySchema, toDoWidgetPropertySchema, toNavigationItem, toRawManifest, toScreenDefinition, transformManifestToRepAppData, transformThemes, useActivities, useAppNavigation, useCalendarEvents, useCatchUps, useCompanyScopedQueryKey, useCompanySwitch, useContact, useContacts, useConversationMessages, useConversations, useCurrentRep, useCurrentUser, useFluidApi, useFluidApp, useFluidAuth, useFluidAuthContext, useFluidContext, useFluidPermissions, useFluidProfile, useFluidTheme, useLogout, useMessagingAuth, useMessagingConfig, useMySite, usePageTemplates, useResolvedPages, useThemeContext, useThemeMode, useTodos, useUserType, validateNavigationPages, validateToken, videoWidgetPropertySchema, widgetPropertySchemas };
|
|
5479
5165
|
//# sourceMappingURL=index.d.cts.map
|