@inceptionbg/main 1.0.76 → 1.0.77

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
@@ -2,7 +2,6 @@ import { ISimpleObject, ISelectData, ISimpleObjectWithCode, IAnyObject } from '@
2
2
  import * as react from 'react';
3
3
  import { ReactElement, FC, ReactNode, Dispatch, SetStateAction } from 'react';
4
4
  import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
5
- import * as axios from 'axios';
6
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
6
  import { Accept } from 'react-dropzone';
8
7
 
@@ -1393,7 +1392,7 @@ interface IOrganizationPrivileges {
1393
1392
  eDelivery?: boolean;
1394
1393
  selfManagedWidgets?: boolean;
1395
1394
  contractOrunRequired?: boolean;
1396
- workHourStart?: any;
1395
+ workHourStart?: string;
1397
1396
  workHourEnd?: string;
1398
1397
  costCenterAdditionalCodebook?: {
1399
1398
  uuid: string;
@@ -1466,8 +1465,6 @@ declare const logout: (options?: {
1466
1465
  clearData?: boolean;
1467
1466
  redirectUrl?: string;
1468
1467
  }) => void;
1469
- declare const verifyPhoneNumber: (phoneNumber: string) => Promise<axios.AxiosResponse<any, any>>;
1470
- declare const verifyPhoneNumberWithCode: (phoneNumberCode: string) => Promise<axios.AxiosResponse<any, any>>;
1471
1468
 
1472
1469
  declare const decodeToken: (token?: string | null) => IToken | undefined;
1473
1470
 
@@ -1476,7 +1473,7 @@ interface IUserOrgContext {
1476
1473
  userPreferences: IUserPreferences;
1477
1474
  userPrivileges: IUserPrivileges;
1478
1475
  reloadUser: (callback?: () => void) => void;
1479
- updateUserPreferences: (data: IUserPreferences) => void;
1476
+ updateUserPreferences: (data: IUserPreferences, showToast?: boolean) => void;
1480
1477
  organization: IOrganization | null;
1481
1478
  orgPrivileges: IOrganizationPrivileges;
1482
1479
  changeOrganization: (orgUuid: string, callback?: () => void) => void;
@@ -1591,4 +1588,4 @@ interface Props {
1591
1588
  }
1592
1589
  declare const IndexDataSearch: FC<Props>;
1593
1590
 
1594
- 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, verifyPhoneNumber, verifyPhoneNumberWithCode };
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 };