@inceptionbg/main 2.0.188 → 2.0.189

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1349,7 +1349,7 @@ declare const logout: (options?: {
1349
1349
  }) => void;
1350
1350
  declare const getUser: () => Promise<IUser>;
1351
1351
 
1352
- declare const decodeToken: (token?: string | null) => IToken | undefined;
1352
+ declare const decodeToken: (token?: string | null) => any;
1353
1353
 
1354
1354
  interface IProps$1 {
1355
1355
  children: ReactNode;
@@ -1417,7 +1417,7 @@ declare const NoMatchPage: FC;
1417
1417
  declare const SelectOrgPage: FC;
1418
1418
 
1419
1419
  interface Props$8 {
1420
- modulePrivileges: string[];
1420
+ modulePrivileges: string[] | IRolePrivilege[];
1421
1421
  usePrivileges: () => IAnyObject;
1422
1422
  }
1423
1423
  declare const RolesWithPrivileges: FC<Props$8>;
@@ -1510,6 +1510,11 @@ declare const i18nMainLatin: {
1510
1510
  PageNotFound: string;
1511
1511
  Settings: string;
1512
1512
  Roles: string;
1513
+ PrivilegeGroupADMIN: string;
1514
+ PrivilegeGroupCONTRACT: string;
1515
+ PrivilegeGroupPROCUREMENT: string;
1516
+ PrivilegeGroupREPORT: string;
1517
+ PrivilegeGroupNO_GROUP: string;
1513
1518
  Logout: string;
1514
1519
  MyAccount: string;
1515
1520
  SelectAccount: string;
@@ -1732,6 +1737,11 @@ declare const i18nMainCyrilic: {
1732
1737
  PageNotFound: string;
1733
1738
  Settings: string;
1734
1739
  Roles: string;
1740
+ PrivilegeGroupADMIN: string;
1741
+ PrivilegeGroupCONTRACT: string;
1742
+ PrivilegeGroupPROCUREMENT: string;
1743
+ PrivilegeGroupREPORT: string;
1744
+ PrivilegeGroupNO_GROUP: string;
1735
1745
  Logout: string;
1736
1746
  MyAccount: string;
1737
1747
  SelectAccount: string;
@@ -2154,4 +2164,5 @@ declare const BusinessYearChooser: FC;
2154
2164
 
2155
2165
  declare const BusinessYearPage: FC;
2156
2166
 
2157
- export { AppWrapper, ApprovalStatus, AxiosTokenHandler, BusinessYearChooser, BusinessYearPage, BusinessYearProvider, Constraints, DeleteItemDialog, DeleteItemsDialog, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, Header, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch, ICondition, IConditionIndexData, IConstraint, IContactPerson, ICountry, IDocument, IDocumentAny, IDocumentApproval, IDocumentApprovalStep, IDocumentApprovalVote, IDocumentFile, IDocumentFileParams, IDocumentIndex, IDocumentSearch, IDocumentSend, IDocumentSendSearch, IDocumentType, IEnv, IFile, IFileSignData, IFileType, IFileUpload, IInvoice, IInvoiceItem, ILatestApprovalProcess, IModule, IModuleId, IMunicipality, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationSearch, IOrganizationSettings, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IRole, IRolePrivilege, IRoute, IServiceApi, ISidebarItem, ISubsystem, IToken, IUploadDocumentType, IUseMutationData, IUser, IUserSettings, IVoteSearch, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, OrganizationStatus, OrganizationStatuses, PartnerGroupType, ReactQueryProvider, RolePrivilegeGroup, RolesWithPrivileges, Router, SelectOrgPage, Sidebar, SubSystems, UserFetchOption, UserOrgContext, UserOrgProvider, decodeToken, envVars, getUser, i18nMainCyrilic, i18nMainLatin, i18nMainME_Latin, login, logout, modules, setBusinessYearContext, useBusinessYearContext, useModules, useUserAndOrg };
2167
+ export { AppWrapper, AxiosTokenHandler, BusinessYearChooser, BusinessYearPage, BusinessYearProvider, Constraints, DeleteItemDialog, DeleteItemsDialog, DocumentStatuses, ErrorContext, Header, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, OrganizationStatuses, ReactQueryProvider, RolesWithPrivileges, Router, SelectOrgPage, Sidebar, SubSystems, UserOrgContext, UserOrgProvider, decodeToken, envVars, getUser, i18nMainCyrilic, i18nMainLatin, i18nMainME_Latin, login, logout, modules, setBusinessYearContext, useBusinessYearContext, useModules, useUserAndOrg };
2168
+ export type { ApprovalStatus, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch, ICondition, IConditionIndexData, IConstraint, IContactPerson, ICountry, IDocument, IDocumentAny, IDocumentApproval, IDocumentApprovalStep, IDocumentApprovalVote, IDocumentFile, IDocumentFileParams, IDocumentIndex, IDocumentSearch, IDocumentSend, IDocumentSendSearch, IDocumentType, IEnv, IFile, IFileSignData, IFileType, IFileUpload, IInvoice, IInvoiceItem, ILatestApprovalProcess, IModule, IModuleId, IMunicipality, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationSearch, IOrganizationSettings, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IRole, IRolePrivilege, IRoute, IServiceApi, ISidebarItem, ISubsystem, IToken, IUploadDocumentType, IUseMutationData, IUser, IUserSettings, IVoteSearch, OrganizationStatus, PartnerGroupType, RolePrivilegeGroup, UserFetchOption };