@inceptionbg/main 1.0.72 → 1.0.74

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
@@ -1422,6 +1422,9 @@ interface IToken {
1422
1422
  iat: number;
1423
1423
  exp: number;
1424
1424
  iss: string;
1425
+ firstName?: string;
1426
+ lastName?: string;
1427
+ umcn?: string;
1425
1428
  }
1426
1429
 
1427
1430
  interface ISidebarItem {
@@ -1456,11 +1459,15 @@ interface IProps$2 {
1456
1459
  }
1457
1460
  declare const AxiosTokenHandler: FC<IProps$2>;
1458
1461
 
1462
+ declare const login: () => void;
1459
1463
  declare const logout: (options?: {
1460
1464
  nextUrl?: boolean;
1461
1465
  clearData?: boolean;
1466
+ redirectUrl?: string;
1462
1467
  }) => void;
1463
1468
 
1469
+ declare const decodeToken: (token?: string | null) => IToken | undefined;
1470
+
1464
1471
  interface IUserOrgContext {
1465
1472
  user: IUser | null;
1466
1473
  userPreferences: IUserPreferences;
@@ -1581,4 +1588,4 @@ interface Props {
1581
1588
  }
1582
1589
  declare const IndexDataSearch: FC<Props>;
1583
1590
 
1584
- 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, IFileType, IFileUpload, IInvoice, IInvoiceItem, ILatestApprovalProcess, IModule, IModuleId, IMunicipality, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationPrivileges, IOrganizationSearch, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IRoute, ISidebarItem, IToken, IUploadDocumentType, IUser, IUserPreferences, IUserPrivileges, IVoteSearch, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, NotificationsContext, NotificationsProvider, OrganizationStatus, OrganizationStatuses, PDFSignBox, PartnerGroupType, Router, SelectOrgPage, Sidebar, SignatureLocation, UserFetchOption, UserOrgContext, UserOrgProvider, logout };
1591
+ 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, IFileType, IFileUpload, IInvoice, IInvoiceItem, ILatestApprovalProcess, IModule, IModuleId, IMunicipality, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationPrivileges, IOrganizationSearch, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IRoute, ISidebarItem, IToken, IUploadDocumentType, IUser, IUserPreferences, IUserPrivileges, IVoteSearch, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, NotificationsContext, NotificationsProvider, OrganizationStatus, OrganizationStatuses, PDFSignBox, PartnerGroupType, Router, SelectOrgPage, Sidebar, SignatureLocation, UserFetchOption, UserOrgContext, UserOrgProvider, decodeToken, login, logout };