@inceptionbg/main 2.0.2 → 2.0.4
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 +7 -7
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ interface IUser {
|
|
|
51
51
|
umcn: string;
|
|
52
52
|
}
|
|
53
53
|
type UserFetchOption = 'PERSONAL_IDENTITY_NUMBER' | 'PLACE' | 'MUNICIPALITY' | 'ORGANIZATIONAL_UNITS' | 'PRIMARY_ORUN';
|
|
54
|
-
interface
|
|
54
|
+
interface IUserSettings {
|
|
55
55
|
documentTabOrientation?: 'HORIZONTAL' | 'VERTICAL';
|
|
56
56
|
shipmentView?: 'CONVERSATION' | 'LIST';
|
|
57
57
|
tableLimit?: number;
|
|
@@ -1358,7 +1358,7 @@ interface IPrivileges {
|
|
|
1358
1358
|
CODEBOOK_W?: boolean;
|
|
1359
1359
|
FORM_W?: boolean;
|
|
1360
1360
|
}
|
|
1361
|
-
interface
|
|
1361
|
+
interface IOrganizationSettings {
|
|
1362
1362
|
sefApiKey?: string;
|
|
1363
1363
|
sefApiKeySet?: boolean;
|
|
1364
1364
|
incomeInvoices?: boolean;
|
|
@@ -1458,14 +1458,14 @@ declare const decodeToken: (token?: string | null) => IToken | undefined;
|
|
|
1458
1458
|
|
|
1459
1459
|
interface IUserOrgContext {
|
|
1460
1460
|
user: IUser | null;
|
|
1461
|
-
|
|
1461
|
+
userSettings: IUserSettings;
|
|
1462
1462
|
privileges: IPrivileges;
|
|
1463
1463
|
reloadUser: (callback?: () => void) => void;
|
|
1464
|
-
|
|
1464
|
+
updateUserSettings: (data: IUserSettings, showToast?: boolean) => void;
|
|
1465
1465
|
organization: IOrganization | null;
|
|
1466
|
-
orgPrivileges: IOrganizationPrivileges;
|
|
1467
1466
|
changeOrganization: (orgUuid: string, callback?: () => void) => void;
|
|
1468
|
-
|
|
1467
|
+
orgSettings: IOrganizationSettings;
|
|
1468
|
+
updateOrgSettings: (data: IOrganizationSettings) => void;
|
|
1469
1469
|
moduleIds: IModuleId[];
|
|
1470
1470
|
}
|
|
1471
1471
|
declare const UserOrgContext: react.Context<IUserOrgContext>;
|
|
@@ -1576,4 +1576,4 @@ interface Props {
|
|
|
1576
1576
|
}
|
|
1577
1577
|
declare const IndexDataSearch: FC<Props>;
|
|
1578
1578
|
|
|
1579
|
-
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,
|
|
1579
|
+
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, IRoute, ISidebarItem, ISignatureType, IToken, IUploadDocumentType, IUser, IUserSettings, IVoteSearch, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, NotificationsContext, NotificationsProvider, OrganizationStatus, OrganizationStatuses, PDFSignBox, PartnerGroupType, Router, SelectOrgPage, Sidebar, SignatureLocation, UserFetchOption, UserOrgContext, UserOrgProvider, decodeToken, getUser, login, logout };
|