@lokalise/harmony 1.40.2 → 1.40.3-exp-epic2x.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.
- package/dist/harmony.css +110 -317
- package/dist/harmony100.cjs +9 -10
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +11 -12
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +20 -11
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +20 -11
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +99 -6
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +81 -5
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +14 -9
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +13 -8
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +21 -10
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +20 -9
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +85 -55
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +85 -55
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +29 -41
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +29 -41
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +10 -6
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +9 -5
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +12 -9
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +11 -8
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +15 -24
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +14 -23
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +19 -6
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +18 -5
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +7 -18
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +9 -20
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +27 -12
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +26 -11
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +10 -12
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +10 -12
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +38 -18
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +38 -18
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +11 -98
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +11 -81
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +19 -84
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +19 -84
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +35 -29
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +35 -29
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony119.cjs +20 -5
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +20 -5
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +6 -132
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +5 -131
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +12 -9
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +12 -9
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +6 -6
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +5 -5
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +6 -41
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +5 -40
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +96 -60
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +96 -60
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +13 -7
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +13 -7
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +15 -7
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +14 -6
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +37 -6
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +36 -5
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +29 -6
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +28 -5
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony130.cjs +10 -63
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +9 -62
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +6 -88
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +5 -87
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +6 -15
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +6 -15
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +25 -97
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +24 -96
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +7 -14
- package/dist/harmony134.cjs.map +1 -1
- package/dist/harmony134.mjs +6 -13
- package/dist/harmony134.mjs.map +1 -1
- package/dist/harmony135.cjs +13 -15
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +12 -14
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony136.cjs +7 -37
- package/dist/harmony136.cjs.map +1 -1
- package/dist/harmony136.mjs +6 -36
- package/dist/harmony136.mjs.map +1 -1
- package/dist/harmony137.cjs +12 -27
- package/dist/harmony137.cjs.map +1 -1
- package/dist/harmony137.mjs +12 -27
- package/dist/harmony137.mjs.map +1 -1
- package/dist/harmony138.cjs +14 -12
- package/dist/harmony138.cjs.map +1 -1
- package/dist/harmony138.mjs +14 -12
- package/dist/harmony138.mjs.map +1 -1
- package/dist/harmony139.cjs +14 -13
- package/dist/harmony139.cjs.map +1 -1
- package/dist/harmony139.mjs +14 -13
- package/dist/harmony139.mjs.map +1 -1
- package/dist/harmony14.cjs +1 -1
- package/dist/harmony14.mjs +1 -1
- package/dist/harmony140.cjs +10 -15
- package/dist/harmony140.cjs.map +1 -1
- package/dist/harmony140.mjs +10 -15
- package/dist/harmony140.mjs.map +1 -1
- package/dist/harmony141.cjs +16 -7
- package/dist/harmony141.cjs.map +1 -1
- package/dist/harmony141.mjs +16 -7
- package/dist/harmony141.mjs.map +1 -1
- package/dist/harmony142.cjs +20 -56
- package/dist/harmony142.cjs.map +1 -1
- package/dist/harmony142.mjs +20 -56
- package/dist/harmony142.mjs.map +1 -1
- package/dist/harmony143.cjs +11 -59
- package/dist/harmony143.cjs.map +1 -1
- package/dist/harmony143.mjs +11 -59
- package/dist/harmony143.mjs.map +1 -1
- package/dist/harmony144.cjs +7 -19
- package/dist/harmony144.cjs.map +1 -1
- package/dist/harmony144.mjs +6 -18
- package/dist/harmony144.mjs.map +1 -1
- package/dist/harmony145.cjs +11 -10
- package/dist/harmony145.cjs.map +1 -1
- package/dist/harmony145.mjs +11 -10
- package/dist/harmony145.mjs.map +1 -1
- package/dist/harmony146.cjs +29 -13
- package/dist/harmony146.cjs.map +1 -1
- package/dist/harmony146.mjs +29 -13
- package/dist/harmony146.mjs.map +1 -1
- package/dist/harmony147.cjs +12 -19
- package/dist/harmony147.cjs.map +1 -1
- package/dist/harmony147.mjs +12 -19
- package/dist/harmony147.mjs.map +1 -1
- package/dist/harmony17.cjs +1 -1
- package/dist/harmony17.mjs +1 -1
- package/dist/harmony25.cjs +1 -1
- package/dist/harmony25.mjs +1 -1
- package/dist/harmony26.cjs +1 -1
- package/dist/harmony26.mjs +1 -1
- package/dist/harmony4.cjs +5 -24
- package/dist/harmony4.cjs.map +1 -1
- package/dist/harmony4.mjs +5 -24
- package/dist/harmony4.mjs.map +1 -1
- package/dist/harmony5.cjs +1 -1
- package/dist/harmony5.mjs +1 -1
- package/dist/harmony6.cjs +3 -3
- package/dist/harmony6.mjs +3 -3
- package/dist/harmony7.cjs +1 -1
- package/dist/harmony7.mjs +1 -1
- package/dist/harmony75.cjs +1 -1
- package/dist/harmony75.mjs +1 -1
- package/dist/harmony76.cjs +39 -6
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +38 -5
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +36 -8
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +37 -9
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +9 -18
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +8 -17
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +6 -21
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +8 -23
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony8.cjs +5 -5
- package/dist/harmony8.mjs +5 -5
- package/dist/harmony80.cjs +28 -4
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +28 -4
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +3 -32
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +3 -32
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +30 -29
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +31 -30
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +43 -19
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +43 -19
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +27 -29
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +27 -29
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +64 -57
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +64 -57
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +15 -9
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +14 -8
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +3 -8
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +3 -8
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +163 -26
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +164 -27
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +44 -3
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +44 -3
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +9 -30
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +11 -32
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +13 -44
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +12 -43
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +2 -28
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +3 -29
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +15 -63
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +15 -63
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +74 -13
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +75 -14
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +12 -3
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +12 -3
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +30 -11
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +30 -11
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +10 -22
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +9 -21
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +44 -163
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +44 -163
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +9 -44
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +8 -43
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/components/Sidebar/Sidebar.d.ts +15 -49
- package/dist/types/src/components/Sidebar/SidebarContent/SidebarContent.d.ts +7 -0
- package/dist/types/src/components/Sidebar/SidebarContext.d.ts +3 -0
- package/dist/types/src/components/Sidebar/SidebarProvider.d.ts +3 -0
- package/dist/types/src/components/Sidebar/Widgets/Avatar/Avatar.d.ts +5 -0
- package/dist/types/src/components/Sidebar/Widgets/HelpMenu/HelpMenu.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/HelpMenu/HelpMenu.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/IconLink/IconLink.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/Menu/Menu.d.ts +3 -2
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/BillingMenuItem/BillingMenuItem.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeam/CreateNewTeam.d.ts +17 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeam/CreateNewTeam.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeamPlaceholder/CreateNewTeamPlaceholder.d.ts +17 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeamPlaceholder/CreateNewTeamPlaceholder.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/DarkModeToggle/DarkModeToggle.d.ts +18 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenu.d.ts +11 -24
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenu.stories.d.ts +3 -5
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileSettingsMenuItem/ProfileSettingsMenuItem.d.ts +10 -35
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileSettingsMenuItem/ProfileSettingsMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProviderMenuItem/ProviderMenuItem.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProviderMenuItem/ProviderMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamMenuItem/TeamMenuItem.d.ts +1 -3
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamMenuItem/TeamMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSettingsMenuItem/TeamSettingsMenuItem.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSettingsMenuItem/TeamSettingsMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSwitch/TeamSwitch.d.ts +5 -7
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSwitch/TeamSwitch.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/UpgradeMenuItem/UpgradeMenuItem.d.ts +6 -9
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/UpgradeMenuItem/UpgradeMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/Tasks/utils/content.d.ts +4 -0
- package/dist/types/src/components/Sidebar/hooks/useSidebar.d.ts +1 -0
- package/dist/types/src/components/Sidebar/hooks/useSidebarDataLoader.d.ts +5 -0
- package/dist/types/src/components/Sidebar/types.d.ts +70 -0
- package/dist/types/src/features/auth/core/types/jwtTokenPayload.d.ts +16 -10
- package/dist/types/src/features/auth/core/types/jwtTokenPayload.fixture.d.ts +15 -11
- package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedSessionPayload.d.ts +7 -5
- package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedUser.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +3 -3
- package/dist/types/src/features/publicApi/hooks/useGetTeamUsersQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +2 -2
- package/dist/types/src/features/publicApi/hooks/useListTeamUsersQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/permissionTemplates.d.ts +8 -8
- package/dist/types/src/features/publicApi/projects.d.ts +12 -12
- package/dist/types/src/features/publicApi/teamUsers.d.ts +8 -8
- package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +12 -12
- package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +2 -2
- package/dist/types/src/features/publicApi/types/projectTypes.d.ts +18 -18
- package/dist/types/src/features/publicApi/types/teamUserTypes.d.ts +10 -10
- package/dist/types/src/utils/user/permissions.d.ts +9 -0
- package/dist/types/src/utils/user/permissions.test.d.ts +1 -0
- package/dist/types/tests/mocks/sidebar/sidebar.d.ts +14 -0
- package/dist/types/tests/utils/sidebar.d.ts +4 -0
- package/package.json +1 -1
- package/dist/harmony148.cjs +0 -15
- package/dist/harmony148.cjs.map +0 -1
- package/dist/harmony148.mjs +0 -15
- package/dist/harmony148.mjs.map +0 -1
- package/dist/harmony149.cjs +0 -9
- package/dist/harmony149.cjs.map +0 -1
- package/dist/harmony149.mjs +0 -9
- package/dist/harmony149.mjs.map +0 -1
- package/dist/harmony150.cjs +0 -15
- package/dist/harmony150.cjs.map +0 -1
- package/dist/harmony150.mjs +0 -15
- package/dist/harmony150.mjs.map +0 -1
- package/dist/harmony151.cjs +0 -35
- package/dist/harmony151.cjs.map +0 -1
- package/dist/harmony151.mjs +0 -35
- package/dist/harmony151.mjs.map +0 -1
- package/dist/harmony152.cjs +0 -17
- package/dist/harmony152.cjs.map +0 -1
- package/dist/harmony152.mjs +0 -17
- package/dist/harmony152.mjs.map +0 -1
- package/dist/harmony153.cjs +0 -49
- package/dist/harmony153.cjs.map +0 -1
- package/dist/harmony153.mjs +0 -49
- package/dist/harmony153.mjs.map +0 -1
- package/dist/harmony154.cjs +0 -15
- package/dist/harmony154.cjs.map +0 -1
- package/dist/harmony154.mjs +0 -15
- package/dist/harmony154.mjs.map +0 -1
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuContent.d.ts +0 -6
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuContext.d.ts +0 -3
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuProvider.d.ts +0 -7
- package/dist/types/src/components/Sidebar/utils/index.d.ts +0 -4
- /package/dist/types/src/components/Sidebar/Widgets/{ProfileMenu/ProfileMenu.test.d.ts → Avatar/Avatar.test.d.ts} +0 -0
- /package/dist/types/src/components/Sidebar/{UpgradeIcon → Widgets/ProfileMenu/UpgradeIcon}/UpgradeIcon.d.ts +0 -0
@@ -1,29 +1,33 @@
|
|
1
1
|
export declare const createMockJwtTokenPayload: (overrides?: {
|
2
|
-
isProviderAlpha?: boolean | undefined;
|
3
|
-
isFullyAuthenticated?: boolean | undefined;
|
4
|
-
planId?: number | undefined;
|
5
|
-
userTeamRole?: "member" | "admin" | "biller" | "owner" | undefined;
|
6
|
-
userEmail?: string | undefined;
|
7
2
|
userId?: number | undefined;
|
8
3
|
userUuid?: string | undefined;
|
9
4
|
teamId?: number | undefined;
|
10
5
|
teamUuid?: string | undefined;
|
6
|
+
userTeamRole?: "owner" | "admin" | "biller" | "member" | undefined;
|
7
|
+
userEmail?: string | undefined;
|
11
8
|
userName?: string | undefined;
|
12
9
|
userCurrentTeamId?: number | undefined;
|
10
|
+
planId?: number | undefined;
|
13
11
|
planName?: string | undefined;
|
12
|
+
isProviderAlpha?: boolean | undefined;
|
13
|
+
isFullyAuthenticated?: boolean | undefined;
|
14
|
+
isEndOfTrialActive?: boolean | undefined;
|
15
|
+
isTeamSuspended?: boolean | undefined;
|
14
16
|
exp?: number | undefined;
|
15
|
-
} | undefined, removeProperties?: ("
|
16
|
-
isProviderAlpha: boolean;
|
17
|
-
isFullyAuthenticated: boolean;
|
18
|
-
planId: number;
|
19
|
-
userTeamRole: "member" | "admin" | "biller" | "owner";
|
20
|
-
userEmail: string;
|
17
|
+
} | undefined, removeProperties?: ("userId" | "userUuid" | "teamId" | "teamUuid" | "userTeamRole" | "userEmail" | "userName" | "userCurrentTeamId" | "planId" | "planName" | "isProviderAlpha" | "isFullyAuthenticated" | "isEndOfTrialActive" | "isTeamSuspended" | "exp")[]) => {
|
21
18
|
userId: number;
|
22
19
|
userUuid: string;
|
23
20
|
teamId: number;
|
24
21
|
teamUuid: string;
|
22
|
+
userTeamRole: "owner" | "admin" | "biller" | "member";
|
23
|
+
userEmail: string;
|
25
24
|
userName: string;
|
26
25
|
userCurrentTeamId: number;
|
26
|
+
planId: number;
|
27
27
|
planName: string;
|
28
|
+
isProviderAlpha: boolean;
|
29
|
+
isFullyAuthenticated: boolean;
|
30
|
+
isEndOfTrialActive: boolean;
|
31
|
+
isTeamSuspended: boolean;
|
28
32
|
exp: number;
|
29
33
|
};
|
@@ -3,17 +3,19 @@
|
|
3
3
|
* If the token is updated or removed, the hook will update the state.
|
4
4
|
*/
|
5
5
|
export declare function useAuthenticatedSessionPayload(): {
|
6
|
-
isProviderAlpha: boolean;
|
7
|
-
isFullyAuthenticated: boolean;
|
8
|
-
planId: number;
|
9
|
-
userTeamRole: "member" | "admin" | "biller" | "owner";
|
10
|
-
userEmail: string;
|
11
6
|
userId: number;
|
12
7
|
userUuid: string;
|
13
8
|
teamId: number;
|
14
9
|
teamUuid: string;
|
10
|
+
userTeamRole: "owner" | "admin" | "biller" | "member";
|
11
|
+
userEmail: string;
|
15
12
|
userName: string;
|
16
13
|
userCurrentTeamId: number;
|
14
|
+
planId: number;
|
17
15
|
planName: string;
|
16
|
+
isProviderAlpha: boolean;
|
17
|
+
isFullyAuthenticated: boolean;
|
18
|
+
isEndOfTrialActive: boolean;
|
19
|
+
isTeamSuspended: boolean;
|
18
20
|
exp: number;
|
19
21
|
} | undefined;
|
@@ -11,7 +11,7 @@ import { Wretch } from 'wretch';
|
|
11
11
|
export declare function useAuthenticatedUser<T>(wretchClient: Wretch<T>, headers: HeaderBuilder<TeamUserApiBaseHeaders>): import('@tanstack/react-query').UseQueryResult<{
|
12
12
|
team_id: number;
|
13
13
|
team_user: {
|
14
|
-
role: "
|
14
|
+
role: "owner" | "admin" | "biller" | "member";
|
15
15
|
email: string;
|
16
16
|
user_id: number;
|
17
17
|
fullname: string;
|
@@ -20,7 +20,7 @@ export declare function useGetProjectPermissionMetaQuery<T>(wretchClient: Wretch
|
|
20
20
|
title: string;
|
21
21
|
id: string;
|
22
22
|
group: string;
|
23
|
-
scope: "team" | "
|
23
|
+
scope: "team" | "user" | "project";
|
24
24
|
description: string | null;
|
25
25
|
doesSetAllReadOnlyLanguages: boolean;
|
26
26
|
dependentPermissions?: string[] | undefined;
|
@@ -30,10 +30,10 @@ export declare function useGetProjectPermissionMetaQuery<T>(wretchClient: Wretch
|
|
30
30
|
project_id: string;
|
31
31
|
project_uuid: string;
|
32
32
|
roles: {
|
33
|
-
role: string;
|
34
33
|
id: number;
|
35
|
-
|
34
|
+
role: string;
|
36
35
|
description: string | null;
|
36
|
+
tag: string | null;
|
37
37
|
permissions: string[];
|
38
38
|
tagColor: string | null;
|
39
39
|
tagInfo: string | null;
|
@@ -18,7 +18,7 @@ export declare const getTeamUsersQueryKey: {
|
|
18
18
|
export declare const useGetTeamUsersQuery: <T>(wretchClient: Wretch<T>, headers: HeaderBuilder<TeamUserApiBaseHeaders>, overrides: ApiQueryOverrides<TeamUserResponse, typeof getTeamUsersQueryKey>) => import('@tanstack/react-query').UseQueryResult<{
|
19
19
|
team_id: number;
|
20
20
|
team_user: {
|
21
|
-
role: "
|
21
|
+
role: "owner" | "admin" | "biller" | "member";
|
22
22
|
email: string;
|
23
23
|
user_id: number;
|
24
24
|
fullname: string;
|
@@ -18,10 +18,10 @@ export declare const listPermissionTemplatesKeys: {
|
|
18
18
|
*/
|
19
19
|
export declare const useListPermissionTemplatesQuery: <T>(wretchClient: Wretch<T>, headers: HeaderBuilder<ContributorApiBaseHeader>, overrides: ApiQueryOverrides<ListPermissionTemplatesResponse, typeof listPermissionTemplatesKeys>) => import('@tanstack/react-query').UseQueryResult<{
|
20
20
|
roles: {
|
21
|
-
role: string;
|
22
21
|
id: string;
|
23
|
-
|
22
|
+
role: string;
|
24
23
|
description: string | null;
|
24
|
+
tag: string | null;
|
25
25
|
permissions: string[];
|
26
26
|
tagColor: string | null;
|
27
27
|
tagInfo: string | null;
|
@@ -21,7 +21,7 @@ export declare const listTeamUsersKey: {
|
|
21
21
|
export declare function useListTeamUsersQuery<T>(wretchClient: Wretch<T>, headers: HeaderBuilder<ProjectApiBaseHeaders>, overrides: ApiQueryOverrides<ListTeamUsersResponse, typeof listTeamUsersKey>): import('@tanstack/react-query').UseQueryResult<{
|
22
22
|
team_id: number;
|
23
23
|
team_users: {
|
24
|
-
role: "
|
24
|
+
role: "owner" | "admin" | "biller" | "member";
|
25
25
|
email: string;
|
26
26
|
user_id: number;
|
27
27
|
fullname: string;
|
@@ -15,20 +15,20 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
|
|
15
15
|
isForMarketingProjects: import('zod').ZodBoolean;
|
16
16
|
doesEnableAllReadOnlyLanguages: import('zod').ZodBoolean;
|
17
17
|
}, "strip", import('zod').ZodTypeAny, {
|
18
|
-
role: string;
|
19
18
|
id: string;
|
20
|
-
|
19
|
+
role: string;
|
21
20
|
description: string | null;
|
21
|
+
tag: string | null;
|
22
22
|
permissions: string[];
|
23
23
|
tagColor: string | null;
|
24
24
|
tagInfo: string | null;
|
25
25
|
isForMarketingProjects: boolean;
|
26
26
|
doesEnableAllReadOnlyLanguages: boolean;
|
27
27
|
}, {
|
28
|
-
role: string;
|
29
28
|
id: string;
|
30
|
-
|
29
|
+
role: string;
|
31
30
|
description: string | null;
|
31
|
+
tag: string | null;
|
32
32
|
permissions: string[];
|
33
33
|
tagColor: string | null;
|
34
34
|
tagInfo: string | null;
|
@@ -37,10 +37,10 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
|
|
37
37
|
}>, "many">;
|
38
38
|
}, "strip", import('zod').ZodTypeAny, {
|
39
39
|
roles: {
|
40
|
-
role: string;
|
41
40
|
id: string;
|
42
|
-
|
41
|
+
role: string;
|
43
42
|
description: string | null;
|
43
|
+
tag: string | null;
|
44
44
|
permissions: string[];
|
45
45
|
tagColor: string | null;
|
46
46
|
tagInfo: string | null;
|
@@ -49,10 +49,10 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
|
|
49
49
|
}[];
|
50
50
|
}, {
|
51
51
|
roles: {
|
52
|
-
role: string;
|
53
52
|
id: string;
|
54
|
-
|
53
|
+
role: string;
|
55
54
|
description: string | null;
|
55
|
+
tag: string | null;
|
56
56
|
permissions: string[];
|
57
57
|
tagColor: string | null;
|
58
58
|
tagInfo: string | null;
|
@@ -1752,7 +1752,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1752
1752
|
title: string;
|
1753
1753
|
id: string;
|
1754
1754
|
group: string;
|
1755
|
-
scope: "team" | "
|
1755
|
+
scope: "team" | "user" | "project";
|
1756
1756
|
description: string | null;
|
1757
1757
|
doesSetAllReadOnlyLanguages: boolean;
|
1758
1758
|
dependentPermissions?: string[] | undefined;
|
@@ -1762,7 +1762,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1762
1762
|
title: string;
|
1763
1763
|
id: string;
|
1764
1764
|
group: string;
|
1765
|
-
scope: "team" | "
|
1765
|
+
scope: "team" | "user" | "project";
|
1766
1766
|
description: string | null;
|
1767
1767
|
doesSetAllReadOnlyLanguages: boolean;
|
1768
1768
|
dependentPermissions?: string[] | undefined;
|
@@ -1780,20 +1780,20 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1780
1780
|
isForMarketingProjects: import('zod').ZodBoolean;
|
1781
1781
|
doesEnableAllReadOnlyLanguages: import('zod').ZodBoolean;
|
1782
1782
|
}, "strip", import('zod').ZodTypeAny, {
|
1783
|
-
role: string;
|
1784
1783
|
id: number;
|
1785
|
-
|
1784
|
+
role: string;
|
1786
1785
|
description: string | null;
|
1786
|
+
tag: string | null;
|
1787
1787
|
permissions: string[];
|
1788
1788
|
tagColor: string | null;
|
1789
1789
|
tagInfo: string | null;
|
1790
1790
|
isForMarketingProjects: boolean;
|
1791
1791
|
doesEnableAllReadOnlyLanguages: boolean;
|
1792
1792
|
}, {
|
1793
|
-
role: string;
|
1794
1793
|
id: number;
|
1795
|
-
|
1794
|
+
role: string;
|
1796
1795
|
description: string | null;
|
1796
|
+
tag: string | null;
|
1797
1797
|
permissions: string[];
|
1798
1798
|
tagColor: string | null;
|
1799
1799
|
tagInfo: string | null;
|
@@ -1805,7 +1805,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1805
1805
|
title: string;
|
1806
1806
|
id: string;
|
1807
1807
|
group: string;
|
1808
|
-
scope: "team" | "
|
1808
|
+
scope: "team" | "user" | "project";
|
1809
1809
|
description: string | null;
|
1810
1810
|
doesSetAllReadOnlyLanguages: boolean;
|
1811
1811
|
dependentPermissions?: string[] | undefined;
|
@@ -1815,10 +1815,10 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1815
1815
|
project_id: string;
|
1816
1816
|
project_uuid: string;
|
1817
1817
|
roles: {
|
1818
|
-
role: string;
|
1819
1818
|
id: number;
|
1820
|
-
|
1819
|
+
role: string;
|
1821
1820
|
description: string | null;
|
1821
|
+
tag: string | null;
|
1822
1822
|
permissions: string[];
|
1823
1823
|
tagColor: string | null;
|
1824
1824
|
tagInfo: string | null;
|
@@ -1830,7 +1830,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1830
1830
|
title: string;
|
1831
1831
|
id: string;
|
1832
1832
|
group: string;
|
1833
|
-
scope: "team" | "
|
1833
|
+
scope: "team" | "user" | "project";
|
1834
1834
|
description: string | null;
|
1835
1835
|
doesSetAllReadOnlyLanguages: boolean;
|
1836
1836
|
dependentPermissions?: string[] | undefined;
|
@@ -1840,10 +1840,10 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1840
1840
|
project_id: string;
|
1841
1841
|
project_uuid: string;
|
1842
1842
|
roles: {
|
1843
|
-
role: string;
|
1844
1843
|
id: number;
|
1845
|
-
|
1844
|
+
role: string;
|
1846
1845
|
description: string | null;
|
1846
|
+
tag: string | null;
|
1847
1847
|
permissions: string[];
|
1848
1848
|
tagColor: string | null;
|
1849
1849
|
tagInfo: string | null;
|
@@ -13,14 +13,14 @@ export declare const listTeamUsers: import('@lokalise/api-contracts').GetRouteDe
|
|
13
13
|
created_at_timestamp: import('zod').ZodNumber;
|
14
14
|
role: import('zod').ZodUnion<[import('zod').ZodLiteral<"owner">, import('zod').ZodLiteral<"admin">, import('zod').ZodLiteral<"biller">, import('zod').ZodLiteral<"member">]>;
|
15
15
|
}, "strip", import('zod').ZodTypeAny, {
|
16
|
-
role: "
|
16
|
+
role: "owner" | "admin" | "biller" | "member";
|
17
17
|
email: string;
|
18
18
|
user_id: number;
|
19
19
|
fullname: string;
|
20
20
|
created_at: string;
|
21
21
|
created_at_timestamp: number;
|
22
22
|
}, {
|
23
|
-
role: "
|
23
|
+
role: "owner" | "admin" | "biller" | "member";
|
24
24
|
email: string;
|
25
25
|
user_id: number;
|
26
26
|
fullname: string;
|
@@ -30,7 +30,7 @@ export declare const listTeamUsers: import('@lokalise/api-contracts').GetRouteDe
|
|
30
30
|
}, "strip", import('zod').ZodTypeAny, {
|
31
31
|
team_id: number;
|
32
32
|
team_users: {
|
33
|
-
role: "
|
33
|
+
role: "owner" | "admin" | "biller" | "member";
|
34
34
|
email: string;
|
35
35
|
user_id: number;
|
36
36
|
fullname: string;
|
@@ -40,7 +40,7 @@ export declare const listTeamUsers: import('@lokalise/api-contracts').GetRouteDe
|
|
40
40
|
}, {
|
41
41
|
team_id: number;
|
42
42
|
team_users: {
|
43
|
-
role: "
|
43
|
+
role: "owner" | "admin" | "biller" | "member";
|
44
44
|
email: string;
|
45
45
|
user_id: number;
|
46
46
|
fullname: string;
|
@@ -124,14 +124,14 @@ export declare const getTeamUser: import('@lokalise/api-contracts').GetRouteDefi
|
|
124
124
|
created_at_timestamp: import('zod').ZodNumber;
|
125
125
|
role: import('zod').ZodUnion<[import('zod').ZodLiteral<"owner">, import('zod').ZodLiteral<"admin">, import('zod').ZodLiteral<"biller">, import('zod').ZodLiteral<"member">]>;
|
126
126
|
}, "strip", import('zod').ZodTypeAny, {
|
127
|
-
role: "
|
127
|
+
role: "owner" | "admin" | "biller" | "member";
|
128
128
|
email: string;
|
129
129
|
user_id: number;
|
130
130
|
fullname: string;
|
131
131
|
created_at: string;
|
132
132
|
created_at_timestamp: number;
|
133
133
|
}, {
|
134
|
-
role: "
|
134
|
+
role: "owner" | "admin" | "biller" | "member";
|
135
135
|
email: string;
|
136
136
|
user_id: number;
|
137
137
|
fullname: string;
|
@@ -141,7 +141,7 @@ export declare const getTeamUser: import('@lokalise/api-contracts').GetRouteDefi
|
|
141
141
|
}, "strip", import('zod').ZodTypeAny, {
|
142
142
|
team_id: number;
|
143
143
|
team_user: {
|
144
|
-
role: "
|
144
|
+
role: "owner" | "admin" | "biller" | "member";
|
145
145
|
email: string;
|
146
146
|
user_id: number;
|
147
147
|
fullname: string;
|
@@ -151,7 +151,7 @@ export declare const getTeamUser: import('@lokalise/api-contracts').GetRouteDefi
|
|
151
151
|
}, {
|
152
152
|
team_id: number;
|
153
153
|
team_user: {
|
154
|
-
role: "
|
154
|
+
role: "owner" | "admin" | "biller" | "member";
|
155
155
|
email: string;
|
156
156
|
user_id: number;
|
157
157
|
fullname: string;
|
@@ -12,20 +12,20 @@ export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
|
|
12
12
|
isForMarketingProjects: z.ZodBoolean;
|
13
13
|
doesEnableAllReadOnlyLanguages: z.ZodBoolean;
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
15
|
-
role: string;
|
16
15
|
id: string;
|
17
|
-
|
16
|
+
role: string;
|
18
17
|
description: string | null;
|
18
|
+
tag: string | null;
|
19
19
|
permissions: string[];
|
20
20
|
tagColor: string | null;
|
21
21
|
tagInfo: string | null;
|
22
22
|
isForMarketingProjects: boolean;
|
23
23
|
doesEnableAllReadOnlyLanguages: boolean;
|
24
24
|
}, {
|
25
|
-
role: string;
|
26
25
|
id: string;
|
27
|
-
|
26
|
+
role: string;
|
28
27
|
description: string | null;
|
28
|
+
tag: string | null;
|
29
29
|
permissions: string[];
|
30
30
|
tagColor: string | null;
|
31
31
|
tagInfo: string | null;
|
@@ -53,20 +53,20 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
|
|
53
53
|
isForMarketingProjects: z.ZodBoolean;
|
54
54
|
doesEnableAllReadOnlyLanguages: z.ZodBoolean;
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
56
|
-
role: string;
|
57
56
|
id: string;
|
58
|
-
|
57
|
+
role: string;
|
59
58
|
description: string | null;
|
59
|
+
tag: string | null;
|
60
60
|
permissions: string[];
|
61
61
|
tagColor: string | null;
|
62
62
|
tagInfo: string | null;
|
63
63
|
isForMarketingProjects: boolean;
|
64
64
|
doesEnableAllReadOnlyLanguages: boolean;
|
65
65
|
}, {
|
66
|
-
role: string;
|
67
66
|
id: string;
|
68
|
-
|
67
|
+
role: string;
|
69
68
|
description: string | null;
|
69
|
+
tag: string | null;
|
70
70
|
permissions: string[];
|
71
71
|
tagColor: string | null;
|
72
72
|
tagInfo: string | null;
|
@@ -75,10 +75,10 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
|
|
75
75
|
}>, "many">;
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
77
77
|
roles: {
|
78
|
-
role: string;
|
79
78
|
id: string;
|
80
|
-
|
79
|
+
role: string;
|
81
80
|
description: string | null;
|
81
|
+
tag: string | null;
|
82
82
|
permissions: string[];
|
83
83
|
tagColor: string | null;
|
84
84
|
tagInfo: string | null;
|
@@ -87,10 +87,10 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
|
|
87
87
|
}[];
|
88
88
|
}, {
|
89
89
|
roles: {
|
90
|
-
role: string;
|
91
90
|
id: string;
|
92
|
-
|
91
|
+
role: string;
|
93
92
|
description: string | null;
|
93
|
+
tag: string | null;
|
94
94
|
permissions: string[];
|
95
95
|
tagColor: string | null;
|
96
96
|
tagInfo: string | null;
|
@@ -17,7 +17,7 @@ export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
|
|
17
17
|
title: string;
|
18
18
|
id: string;
|
19
19
|
group: string;
|
20
|
-
scope: "team" | "
|
20
|
+
scope: "team" | "user" | "project";
|
21
21
|
description: string | null;
|
22
22
|
new_permission: boolean;
|
23
23
|
does_set_all_read_only_languages: boolean;
|
@@ -26,7 +26,7 @@ export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
|
|
26
26
|
title: string;
|
27
27
|
id: string;
|
28
28
|
group: string;
|
29
|
-
scope: "team" | "
|
29
|
+
scope: "team" | "user" | "project";
|
30
30
|
description: string | null;
|
31
31
|
new_permission: boolean;
|
32
32
|
does_set_all_read_only_languages: boolean;
|
@@ -1172,7 +1172,7 @@ declare const PROJECT_PERMISSION_DETAILS_META_SCHEMA: z.ZodObject<{
|
|
1172
1172
|
title: string;
|
1173
1173
|
id: string;
|
1174
1174
|
group: string;
|
1175
|
-
scope: "team" | "
|
1175
|
+
scope: "team" | "user" | "project";
|
1176
1176
|
description: string | null;
|
1177
1177
|
doesSetAllReadOnlyLanguages: boolean;
|
1178
1178
|
dependentPermissions?: string[] | undefined;
|
@@ -1182,7 +1182,7 @@ declare const PROJECT_PERMISSION_DETAILS_META_SCHEMA: z.ZodObject<{
|
|
1182
1182
|
title: string;
|
1183
1183
|
id: string;
|
1184
1184
|
group: string;
|
1185
|
-
scope: "team" | "
|
1185
|
+
scope: "team" | "user" | "project";
|
1186
1186
|
description: string | null;
|
1187
1187
|
doesSetAllReadOnlyLanguages: boolean;
|
1188
1188
|
dependentPermissions?: string[] | undefined;
|
@@ -1201,20 +1201,20 @@ declare const PROJECT_PERMISSION_TEMPLATE_DETAILS_META_SCHEMA: z.ZodObject<{
|
|
1201
1201
|
isForMarketingProjects: z.ZodBoolean;
|
1202
1202
|
doesEnableAllReadOnlyLanguages: z.ZodBoolean;
|
1203
1203
|
}, "strip", z.ZodTypeAny, {
|
1204
|
-
role: string;
|
1205
1204
|
id: number;
|
1206
|
-
|
1205
|
+
role: string;
|
1207
1206
|
description: string | null;
|
1207
|
+
tag: string | null;
|
1208
1208
|
permissions: string[];
|
1209
1209
|
tagColor: string | null;
|
1210
1210
|
tagInfo: string | null;
|
1211
1211
|
isForMarketingProjects: boolean;
|
1212
1212
|
doesEnableAllReadOnlyLanguages: boolean;
|
1213
1213
|
}, {
|
1214
|
-
role: string;
|
1215
1214
|
id: number;
|
1216
|
-
|
1215
|
+
role: string;
|
1217
1216
|
description: string | null;
|
1217
|
+
tag: string | null;
|
1218
1218
|
permissions: string[];
|
1219
1219
|
tagColor: string | null;
|
1220
1220
|
tagInfo: string | null;
|
@@ -1239,7 +1239,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1239
1239
|
title: string;
|
1240
1240
|
id: string;
|
1241
1241
|
group: string;
|
1242
|
-
scope: "team" | "
|
1242
|
+
scope: "team" | "user" | "project";
|
1243
1243
|
description: string | null;
|
1244
1244
|
doesSetAllReadOnlyLanguages: boolean;
|
1245
1245
|
dependentPermissions?: string[] | undefined;
|
@@ -1249,7 +1249,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1249
1249
|
title: string;
|
1250
1250
|
id: string;
|
1251
1251
|
group: string;
|
1252
|
-
scope: "team" | "
|
1252
|
+
scope: "team" | "user" | "project";
|
1253
1253
|
description: string | null;
|
1254
1254
|
doesSetAllReadOnlyLanguages: boolean;
|
1255
1255
|
dependentPermissions?: string[] | undefined;
|
@@ -1267,20 +1267,20 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1267
1267
|
isForMarketingProjects: z.ZodBoolean;
|
1268
1268
|
doesEnableAllReadOnlyLanguages: z.ZodBoolean;
|
1269
1269
|
}, "strip", z.ZodTypeAny, {
|
1270
|
-
role: string;
|
1271
1270
|
id: number;
|
1272
|
-
|
1271
|
+
role: string;
|
1273
1272
|
description: string | null;
|
1273
|
+
tag: string | null;
|
1274
1274
|
permissions: string[];
|
1275
1275
|
tagColor: string | null;
|
1276
1276
|
tagInfo: string | null;
|
1277
1277
|
isForMarketingProjects: boolean;
|
1278
1278
|
doesEnableAllReadOnlyLanguages: boolean;
|
1279
1279
|
}, {
|
1280
|
-
role: string;
|
1281
1280
|
id: number;
|
1282
|
-
|
1281
|
+
role: string;
|
1283
1282
|
description: string | null;
|
1283
|
+
tag: string | null;
|
1284
1284
|
permissions: string[];
|
1285
1285
|
tagColor: string | null;
|
1286
1286
|
tagInfo: string | null;
|
@@ -1292,7 +1292,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1292
1292
|
title: string;
|
1293
1293
|
id: string;
|
1294
1294
|
group: string;
|
1295
|
-
scope: "team" | "
|
1295
|
+
scope: "team" | "user" | "project";
|
1296
1296
|
description: string | null;
|
1297
1297
|
doesSetAllReadOnlyLanguages: boolean;
|
1298
1298
|
dependentPermissions?: string[] | undefined;
|
@@ -1302,10 +1302,10 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1302
1302
|
project_id: string;
|
1303
1303
|
project_uuid: string;
|
1304
1304
|
roles: {
|
1305
|
-
role: string;
|
1306
1305
|
id: number;
|
1307
|
-
|
1306
|
+
role: string;
|
1308
1307
|
description: string | null;
|
1308
|
+
tag: string | null;
|
1309
1309
|
permissions: string[];
|
1310
1310
|
tagColor: string | null;
|
1311
1311
|
tagInfo: string | null;
|
@@ -1317,7 +1317,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1317
1317
|
title: string;
|
1318
1318
|
id: string;
|
1319
1319
|
group: string;
|
1320
|
-
scope: "team" | "
|
1320
|
+
scope: "team" | "user" | "project";
|
1321
1321
|
description: string | null;
|
1322
1322
|
doesSetAllReadOnlyLanguages: boolean;
|
1323
1323
|
dependentPermissions?: string[] | undefined;
|
@@ -1327,10 +1327,10 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1327
1327
|
project_id: string;
|
1328
1328
|
project_uuid: string;
|
1329
1329
|
roles: {
|
1330
|
-
role: string;
|
1331
1330
|
id: number;
|
1332
|
-
|
1331
|
+
role: string;
|
1333
1332
|
description: string | null;
|
1333
|
+
tag: string | null;
|
1334
1334
|
permissions: string[];
|
1335
1335
|
tagColor: string | null;
|
1336
1336
|
tagInfo: string | null;
|
@@ -63,14 +63,14 @@ export declare const TEAM_USER_SCHEMA: z.ZodObject<{
|
|
63
63
|
created_at_timestamp: z.ZodNumber;
|
64
64
|
role: z.ZodUnion<[z.ZodLiteral<"owner">, z.ZodLiteral<"admin">, z.ZodLiteral<"biller">, z.ZodLiteral<"member">]>;
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
66
|
-
role: "
|
66
|
+
role: "owner" | "admin" | "biller" | "member";
|
67
67
|
email: string;
|
68
68
|
user_id: number;
|
69
69
|
fullname: string;
|
70
70
|
created_at: string;
|
71
71
|
created_at_timestamp: number;
|
72
72
|
}, {
|
73
|
-
role: "
|
73
|
+
role: "owner" | "admin" | "biller" | "member";
|
74
74
|
email: string;
|
75
75
|
user_id: number;
|
76
76
|
fullname: string;
|
@@ -107,14 +107,14 @@ export declare const TEAM_USER_RESPONSE_SCHEMA: z.ZodObject<{
|
|
107
107
|
created_at_timestamp: z.ZodNumber;
|
108
108
|
role: z.ZodUnion<[z.ZodLiteral<"owner">, z.ZodLiteral<"admin">, z.ZodLiteral<"biller">, z.ZodLiteral<"member">]>;
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
110
|
-
role: "
|
110
|
+
role: "owner" | "admin" | "biller" | "member";
|
111
111
|
email: string;
|
112
112
|
user_id: number;
|
113
113
|
fullname: string;
|
114
114
|
created_at: string;
|
115
115
|
created_at_timestamp: number;
|
116
116
|
}, {
|
117
|
-
role: "
|
117
|
+
role: "owner" | "admin" | "biller" | "member";
|
118
118
|
email: string;
|
119
119
|
user_id: number;
|
120
120
|
fullname: string;
|
@@ -124,7 +124,7 @@ export declare const TEAM_USER_RESPONSE_SCHEMA: z.ZodObject<{
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
125
125
|
team_id: number;
|
126
126
|
team_user: {
|
127
|
-
role: "
|
127
|
+
role: "owner" | "admin" | "biller" | "member";
|
128
128
|
email: string;
|
129
129
|
user_id: number;
|
130
130
|
fullname: string;
|
@@ -134,7 +134,7 @@ export declare const TEAM_USER_RESPONSE_SCHEMA: z.ZodObject<{
|
|
134
134
|
}, {
|
135
135
|
team_id: number;
|
136
136
|
team_user: {
|
137
|
-
role: "
|
137
|
+
role: "owner" | "admin" | "biller" | "member";
|
138
138
|
email: string;
|
139
139
|
user_id: number;
|
140
140
|
fullname: string;
|
@@ -153,14 +153,14 @@ export declare const LIST_TEAM_USERS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
153
153
|
created_at_timestamp: z.ZodNumber;
|
154
154
|
role: z.ZodUnion<[z.ZodLiteral<"owner">, z.ZodLiteral<"admin">, z.ZodLiteral<"biller">, z.ZodLiteral<"member">]>;
|
155
155
|
}, "strip", z.ZodTypeAny, {
|
156
|
-
role: "
|
156
|
+
role: "owner" | "admin" | "biller" | "member";
|
157
157
|
email: string;
|
158
158
|
user_id: number;
|
159
159
|
fullname: string;
|
160
160
|
created_at: string;
|
161
161
|
created_at_timestamp: number;
|
162
162
|
}, {
|
163
|
-
role: "
|
163
|
+
role: "owner" | "admin" | "biller" | "member";
|
164
164
|
email: string;
|
165
165
|
user_id: number;
|
166
166
|
fullname: string;
|
@@ -170,7 +170,7 @@ export declare const LIST_TEAM_USERS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
171
171
|
team_id: number;
|
172
172
|
team_users: {
|
173
|
-
role: "
|
173
|
+
role: "owner" | "admin" | "biller" | "member";
|
174
174
|
email: string;
|
175
175
|
user_id: number;
|
176
176
|
fullname: string;
|
@@ -180,7 +180,7 @@ export declare const LIST_TEAM_USERS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
180
180
|
}, {
|
181
181
|
team_id: number;
|
182
182
|
team_users: {
|
183
|
-
role: "
|
183
|
+
role: "owner" | "admin" | "biller" | "member";
|
184
184
|
email: string;
|
185
185
|
user_id: number;
|
186
186
|
fullname: string;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { JwtTokenPayload } from '../../features/auth/core/types/jwtTokenPayload';
|
2
|
+
export declare const canAccessStyleGuide: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
3
|
+
export declare const canAccessReporting: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
4
|
+
export declare const canAccessTeamSettings: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
5
|
+
export declare const canCreateTeam: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
6
|
+
export declare const canUpgradePlan: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
7
|
+
export declare const canChangeBilling: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
8
|
+
export declare const canAccessProviderDashboard: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
9
|
+
export declare const canAccessProfileSettings: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|