@inceptionbg/main 2.0.196 → 2.0.198

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
@@ -33,7 +33,7 @@ interface IScanData {
33
33
  duplex?: boolean;
34
34
  }
35
35
 
36
- declare const ModuleIds: readonly ["DASHBOARD", "ADMIN", "EARCHIVE", "ERDS", "EINVOICE", "EFORMS", "EDMS", "ESIGN", "EVALIDATION", "EPROCUREMENT", "EREGISTER", "PAM", "ERP_CASH_REGISTER", "ERP_RIF", "ERP_MAT_ACC", "ERP_SMALL_INVENTORY", "ERP_WMS", "JISUSZ_BACKOFFICE"];
36
+ declare const ModuleIds: readonly ["DASHBOARD", "ADMIN", "EARCHIVE", "ERDS", "EINVOICE", "EFORMS", "EDMS", "ESIGN", "EVALIDATION", "EPROCUREMENT", "EREGISTER", "PAM", "ERP_CASH_REGISTER", "ERP_RIF", "ERP_MAT_ACC", "ERP_SMALL_INVENTORY", "ERP_WMS", "JISUSZ_BACKOFFICE", "VEOSP"];
37
37
  declare const modules: IModule;
38
38
 
39
39
  type IModuleId = (typeof ModuleIds)[number];
@@ -1273,7 +1273,7 @@ interface IConditionIndexData {
1273
1273
  }
1274
1274
 
1275
1275
  type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT' | 'TEST_PPLCG' | 'PROD_PPLCG';
1276
- type IServiceApi = 'auth' | 'idm' | 'codebook' | 'auditLog' | 'notifications' | 'indexData' | 'registration' | 'reportTemplates' | 'procurement' | 'archive' | 'invoice' | 'edms' | 'rif' | 'cashRegister' | 'jisuszProxy' | 'fosterCare' | 'article' | 'approval' | 'messenger';
1276
+ type IServiceApi = 'auth' | 'idm' | 'codebook' | 'auditLog' | 'notifications' | 'indexData' | 'registration' | 'reportTemplates' | 'procurement' | 'archive' | 'invoice' | 'edms' | 'rif' | 'cashRegister' | 'jisuszProxy' | 'fosterCare' | 'article' | 'approval' | 'messenger' | 'veosp';
1277
1277
  type IEnvVar = {
1278
1278
  [env in IEnv]: {
1279
1279
  serviceApiUrl: {
@@ -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) => any;
1352
+ declare const decodeToken: (token?: string | null) => IToken | undefined;
1353
1353
 
1354
1354
  interface IProps$1 {
1355
1355
  children: ReactNode;
@@ -1515,6 +1515,10 @@ declare const i18nMainLatin: {
1515
1515
  PrivilegeGroupPROCUREMENT: string;
1516
1516
  PrivilegeGroupREPORT: string;
1517
1517
  PrivilegeGroupNO_GROUP: string;
1518
+ ActivePrivilegesOnRole: string;
1519
+ AllPrivileges: string;
1520
+ ActivePrivileges: string;
1521
+ RoleList: string;
1518
1522
  Logout: string;
1519
1523
  MyAccount: string;
1520
1524
  SelectAccount: string;
@@ -1755,6 +1759,10 @@ declare const i18nMainCyrilic: {
1755
1759
  PrivilegeGroupPROCUREMENT: string;
1756
1760
  PrivilegeGroupREPORT: string;
1757
1761
  PrivilegeGroupNO_GROUP: string;
1762
+ ActivePrivilegesOnRole: string;
1763
+ AllPrivileges: string;
1764
+ ActivePrivileges: string;
1765
+ RoleList: string;
1758
1766
  Logout: string;
1759
1767
  MyAccount: string;
1760
1768
  SelectAccount: string;
@@ -2196,5 +2204,4 @@ declare const ArticlePage: FC;
2196
2204
 
2197
2205
  declare const ArticlesPage: FC;
2198
2206
 
2199
- export { AppWrapper, ArticlePage, ArticlesPage, AxiosTokenHandler, BusinessYearChooser, BusinessYearPage, BusinessYearProvider, Constraints, DeleteItemDialog, DeleteItemsDialog, DocumentStatuses, ErrorContext, Header, IndexDataSearch, LastArticlesWidget, 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 };
2200
- 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 };
2207
+ export { AppWrapper, ApprovalStatus, ArticlePage, ArticlesPage, 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, LastArticlesWidget, 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 };