@inceptionbg/main 2.0.22 → 2.0.24

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
@@ -28,7 +28,7 @@ interface IScanData {
28
28
  duplex?: boolean;
29
29
  }
30
30
 
31
- declare const ModuleIds: readonly ["ADMIN", "EARCHIVE", "EDELIVERY", "EINVOICE", "EFORMS", "EDMS", "ESIGN", "EVALIDATION"];
31
+ declare const ModuleIds: readonly ["ADMIN", "DASHBOARD", "EARCHIVE", "EDELIVERY", "EINVOICE", "EFORMS", "EDMS", "ESIGN", "EVALIDATION"];
32
32
  type IModuleId = (typeof ModuleIds)[number];
33
33
  type IModule = {
34
34
  [id in IModuleId]: {
@@ -1273,6 +1273,15 @@ interface IConditionIndexData {
1273
1273
  }
1274
1274
 
1275
1275
  type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT';
1276
+ type IEnvVar = {
1277
+ [env in IEnv]: {
1278
+ authApiUrl: string;
1279
+ idmApiUrl: string;
1280
+ modules: {
1281
+ [id in IModuleId]?: string;
1282
+ };
1283
+ };
1284
+ };
1276
1285
 
1277
1286
  interface IPrivileges {
1278
1287
  ROLE_D?: boolean;
@@ -1487,6 +1496,8 @@ interface IProps$2 {
1487
1496
  }
1488
1497
  declare const AxiosTokenHandler: FC<IProps$2>;
1489
1498
 
1499
+ declare const envVars: IEnvVar;
1500
+
1490
1501
  interface IErrorContext {
1491
1502
  errors: string[];
1492
1503
  setErrors: Dispatch<SetStateAction<string[]>>;
@@ -1543,6 +1554,7 @@ declare const SelectOrgPage: FC;
1543
1554
 
1544
1555
  interface Props$7 {
1545
1556
  hideModules?: boolean;
1557
+ hideNotifications?: boolean;
1546
1558
  children?: ReactNode;
1547
1559
  }
1548
1560
  declare const Header: FC<Props$7>;
@@ -1607,4 +1619,4 @@ interface Props {
1607
1619
  }
1608
1620
  declare const IndexDataSearch: FC<Props>;
1609
1621
 
1610
- export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentFileSignDialog, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, FileSignAppPortal, FilesDropzone, Header, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch, IBusinessActivity, ICondition, IConditionIndexData, IConstraint, IContactPerson, ICountry, ICurrency, IDocument, IDocumentAny, IDocumentApproval, IDocumentApprovalStep, IDocumentApprovalVote, IDocumentFile, IDocumentFileParams, IDocumentIndex, IDocumentSearch, IDocumentSend, IDocumentSendSearch, IDocumentType, IEnv, IFile, IFileSignData, IFileSignatory, IFileType, IFileUpload, IInvoice, IInvoiceItem, ILatestApprovalProcess, IModule, IModuleId, IMunicipality, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationSearch, IOrganizationSettings, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IPrivileges, IRole, IRolePrivilege, IRoute, ISidebarItem, ISignatureType, IToken, IUploadDocumentType, IUser, IUserSettings, IVoteSearch, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, NotificationsContext, NotificationsProvider, OrganizationStatus, OrganizationStatuses, PDFSignBox, PartnerGroupType, RolePrivilegeGroup, Router, SelectOrgPage, Sidebar, SignatureLocation, UserFetchOption, UserOrgContext, UserOrgProvider, decodeToken, getUser, login, logout };
1622
+ export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentFileSignDialog, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, FileSignAppPortal, FilesDropzone, Header, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch, IBusinessActivity, ICondition, IConditionIndexData, IConstraint, IContactPerson, ICountry, ICurrency, IDocument, IDocumentAny, IDocumentApproval, IDocumentApprovalStep, IDocumentApprovalVote, IDocumentFile, IDocumentFileParams, IDocumentIndex, IDocumentSearch, IDocumentSend, IDocumentSendSearch, IDocumentType, IEnv, IFile, IFileSignData, IFileSignatory, IFileType, IFileUpload, IInvoice, IInvoiceItem, ILatestApprovalProcess, IModule, IModuleId, IMunicipality, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationSearch, IOrganizationSettings, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IPrivileges, IRole, IRolePrivilege, IRoute, ISidebarItem, ISignatureType, IToken, IUploadDocumentType, IUser, IUserSettings, IVoteSearch, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, NotificationsContext, NotificationsProvider, OrganizationStatus, OrganizationStatuses, PDFSignBox, PartnerGroupType, RolePrivilegeGroup, Router, SelectOrgPage, Sidebar, SignatureLocation, UserFetchOption, UserOrgContext, UserOrgProvider, decodeToken, envVars, getUser, login, logout };