@inceptionbg/main 2.0.171 → 2.0.173
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/tempTypes/assets/icons/duotone/faBell.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faBoxArchive.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faCabinetFiling.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faCashRegister.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faDisplayChartUpCircleDollar.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faEnvelope.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faFileContract.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faFileInvoice.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faFilePen.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faGear.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faGridHorizontal.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faHandsHoldingHeart.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faList.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faListCheck.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faPlusCircle.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faScreencast.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faShelves.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faSignature.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faWarehouse.d.ts +2 -0
- package/dist/tempTypes/assets/icons/duotone/faWarehouseFull.d.ts +2 -0
- package/dist/tempTypes/assets/icons/light/faAngleDown.d.ts +2 -0
- package/dist/tempTypes/assets/icons/light/faArrowRightFromBracket.d.ts +2 -0
- package/dist/tempTypes/assets/icons/light/faBell.d.ts +2 -0
- package/dist/tempTypes/assets/icons/light/faBriefcase.d.ts +2 -0
- package/dist/tempTypes/assets/icons/light/faBusinessPlus.d.ts +2 -0
- package/dist/tempTypes/assets/icons/light/faCalendarDays.d.ts +2 -0
- package/dist/tempTypes/assets/icons/light/faCircleUser.d.ts +2 -0
- package/dist/tempTypes/assets/icons/light/faEnvelope.d.ts +2 -0
- package/dist/tempTypes/assets/icons/light/faMagnifyingGlass.d.ts +2 -0
- package/dist/tempTypes/assets/icons/light/faTrashCan.d.ts +2 -0
- package/dist/tempTypes/assets/icons/light/faUserGear.d.ts +2 -0
- package/dist/tempTypes/assets/icons/regular/faAngleLeft.d.ts +2 -0
- package/dist/tempTypes/assets/icons/regular/faAngleRight.d.ts +2 -0
- package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassMinus.d.ts +2 -0
- package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassPlus.d.ts +2 -0
- package/dist/tempTypes/assets/icons/regular/faQrcode.d.ts +2 -0
- package/dist/tempTypes/assets/icons/solid/faAngleLeft.d.ts +2 -0
- package/dist/tempTypes/assets/icons/solid/faArrowRight.d.ts +2 -0
- package/dist/tempTypes/assets/icons/solid/faCaretDown.d.ts +2 -0
- package/dist/tempTypes/assets/icons/solid/faCheck.d.ts +2 -0
- package/dist/tempTypes/assets/icons/solid/faEnvelopeDot.d.ts +2 -0
- package/dist/tempTypes/assets/icons/solid/faPlus.d.ts +2 -0
- package/dist/tempTypes/assets/icons/solid/faXmark.d.ts +2 -0
- package/dist/tempTypes/auth/Auth.d.ts +55 -0
- package/dist/tempTypes/auth/AuthUtils.d.ts +4 -0
- package/dist/tempTypes/auth/AxiosTokenHandler.d.ts +6 -0
- package/dist/tempTypes/components/BusinessYear/BusinessYearChooser.d.ts +2 -0
- package/dist/tempTypes/components/BusinessYear/BusinessYearPage.d.ts +3 -0
- package/dist/tempTypes/components/Dialogs/DeleteItemDialog.d.ts +13 -0
- package/dist/tempTypes/components/Dialogs/DeleteItemsDialog.d.ts +15 -0
- package/dist/tempTypes/components/Header/Components/ModuleSelect.d.ts +6 -0
- package/dist/tempTypes/components/Header/Components/Notifications.d.ts +2 -0
- package/dist/tempTypes/components/Header/Components/UserMenu.d.ts +2 -0
- package/dist/tempTypes/components/Header/Header.d.ts +9 -0
- package/dist/tempTypes/components/IndexData/IndexDataSearch.d.ts +13 -0
- package/dist/tempTypes/components/IndexData/IndexDataSearchFields.d.ts +10 -0
- package/dist/tempTypes/components/Organizations/ChangeOrganizationDialog.d.ts +7 -0
- package/dist/tempTypes/components/Organizations/OrganizationInvitesDialog.d.ts +7 -0
- package/dist/tempTypes/components/ReactQuery/ReactQueryProvider.d.ts +6 -0
- package/dist/tempTypes/components/Router/Router.d.ts +10 -0
- package/dist/tempTypes/components/Sidebar/AddButton.d.ts +6 -0
- package/dist/tempTypes/components/Sidebar/Sidebar.d.ts +8 -0
- package/dist/tempTypes/components/Sidebar/SidebarItem.d.ts +3 -0
- package/dist/tempTypes/components/User/MyAccountDialog.d.ts +7 -0
- package/dist/tempTypes/components/User/components/ChangePassword.d.ts +7 -0
- package/dist/tempTypes/components/User/repo/useUserMutations.d.ts +9 -0
- package/dist/tempTypes/components/Wrappers/App/AppContent.d.ts +6 -0
- package/dist/tempTypes/components/Wrappers/App/AppWrapper.d.ts +7 -0
- package/dist/tempTypes/components/Wrappers/MainPageWrapper.d.ts +9 -0
- package/dist/tempTypes/context/BusinessYearContext.d.ts +12 -0
- package/dist/tempTypes/context/ErrorContext.d.ts +13 -0
- package/dist/tempTypes/context/UserOrgContext.d.ts +28 -0
- package/dist/tempTypes/hooks/useOrgInvites.d.ts +12 -0
- package/dist/tempTypes/index.d.ts +56 -0
- package/dist/tempTypes/pages/LoginPage.d.ts +3 -0
- package/dist/tempTypes/pages/NoAccessInfo.d.ts +8 -0
- package/dist/tempTypes/pages/NoMatchPage.d.ts +3 -0
- package/dist/tempTypes/pages/Roles/RolesWithPrivileges.d.ts +8 -0
- package/dist/tempTypes/pages/Roles/components/PrivilegesForm.d.ts +11 -0
- package/dist/tempTypes/pages/SelectOrg/SelectOrgPage.d.ts +3 -0
- package/dist/tempTypes/pages/SelectOrg/components/OrgInvites.d.ts +2 -0
- package/dist/tempTypes/repo/NotificationsRepository.d.ts +8 -0
- package/dist/tempTypes/repo/RoleRepo.d.ts +7 -0
- package/dist/tempTypes/types/App/Administration/IEmployee.d.ts +23 -0
- package/dist/tempTypes/types/App/Administration/IJob.d.ts +10 -0
- package/dist/tempTypes/types/App/Contracts/File/IContractFile.d.ts +30 -0
- package/dist/tempTypes/types/App/Contracts/IContract.d.ts +241 -0
- package/dist/tempTypes/types/App/Document/IApproval.d.ts +143 -0
- package/dist/tempTypes/types/App/Document/ICase.d.ts +48 -0
- package/dist/tempTypes/types/App/Document/IDocument.d.ts +219 -0
- package/dist/tempTypes/types/App/Document/IDocumentFile.d.ts +67 -0
- package/dist/tempTypes/types/App/Document/IDocumentSend.d.ts +128 -0
- package/dist/tempTypes/types/App/Document/IEmailDocument.d.ts +52 -0
- package/dist/tempTypes/types/App/Document/IIndexDataCodebook.d.ts +15 -0
- package/dist/tempTypes/types/App/Document/ISignatory.d.ts +34 -0
- package/dist/tempTypes/types/App/Document/IndexData.d.ts +60 -0
- package/dist/tempTypes/types/App/Document/Invoice/IAccount.d.ts +11 -0
- package/dist/tempTypes/types/App/Document/Invoice/IExpenseAllocation.d.ts +39 -0
- package/dist/tempTypes/types/App/Document/Invoice/IFactoring.d.ts +6 -0
- package/dist/tempTypes/types/App/Document/Invoice/IInvoice.d.ts +236 -0
- package/dist/tempTypes/types/App/Document/Invoice/IPayment.d.ts +40 -0
- package/dist/tempTypes/types/App/Document/Invoice/IProduct.d.ts +23 -0
- package/dist/tempTypes/types/App/Document/Invoice/ITaxAllocation.d.ts +37 -0
- package/dist/tempTypes/types/App/Document/Invoice/IVatIndicator.d.ts +14 -0
- package/dist/tempTypes/types/App/Document/Office/IOfficeDocument.d.ts +27 -0
- package/dist/tempTypes/types/App/Document/Shipment/IShipment.d.ts +25 -0
- package/dist/tempTypes/types/App/Partner/IAddress.d.ts +14 -0
- package/dist/tempTypes/types/App/Partner/IPartner.d.ts +98 -0
- package/dist/tempTypes/types/Auth/IEnv.d.ts +13 -0
- package/dist/tempTypes/types/Auth/IModule.d.ts +15 -0
- package/dist/tempTypes/types/Auth/IOrganization.d.ts +140 -0
- package/dist/tempTypes/types/Auth/IPrivileges.d.ts +2 -0
- package/dist/tempTypes/types/Auth/IRole.d.ts +25 -0
- package/dist/tempTypes/types/Auth/IRouter.d.ts +7 -0
- package/dist/tempTypes/types/Auth/IToken.d.ts +12 -0
- package/dist/tempTypes/types/Auth/IUser.d.ts +39 -0
- package/dist/tempTypes/types/IError.d.ts +5 -0
- package/dist/tempTypes/types/INotifications.d.ts +15 -0
- package/dist/tempTypes/types/IReactQuerry.d.ts +4 -0
- package/dist/tempTypes/types/IScan.d.ts +17 -0
- package/dist/tempTypes/types/ISidebar.d.ts +27 -0
- package/dist/tempTypes/types/ISubsystem.d.ts +2 -0
- package/dist/tempTypes/utils/EnvVars.d.ts +2 -0
- package/dist/tempTypes/utils/ImageUtils.d.ts +4 -0
- package/dist/tempTypes/utils/LoadOptions.d.ts +20 -0
- package/dist/tempTypes/utils/ModuleUtils.d.ts +3 -0
- package/dist/tempTypes/utils/i18nMain.d.ts +662 -0
- package/dist/types/global.d.ts +619 -601
- package/package.json +2 -2
- package/dist/index.d.ts +0 -2154
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IModuleId } from './IModule';
|
|
2
|
+
import { IOrganization } from './IOrganization';
|
|
3
|
+
export interface IRole {
|
|
4
|
+
uuid: string;
|
|
5
|
+
name: string;
|
|
6
|
+
organization?: IOrganization;
|
|
7
|
+
privileges?: IRolePrivilege[];
|
|
8
|
+
global?: boolean;
|
|
9
|
+
subsystem?: IModuleId;
|
|
10
|
+
createdAt?: string;
|
|
11
|
+
parent?: IRole;
|
|
12
|
+
children?: IRole[];
|
|
13
|
+
}
|
|
14
|
+
export interface IRoleData {
|
|
15
|
+
directPrivileges: string[];
|
|
16
|
+
successorsPrivileges: string[];
|
|
17
|
+
combinedPrivileges: string[];
|
|
18
|
+
role: IRole;
|
|
19
|
+
}
|
|
20
|
+
export interface IRolePrivilege {
|
|
21
|
+
code: string;
|
|
22
|
+
group: RolePrivilegeGroup;
|
|
23
|
+
}
|
|
24
|
+
export declare const rolePrivilegeGroups: readonly ["ADMIN", "INVOICE", "DELIVERY", "CONTRACT", "APPROVAL", "OFFICE", "FACTORING", "VAT_EVIDENCE", "REPORT", "NO_GROUP"];
|
|
25
|
+
export type RolePrivilegeGroup = (typeof rolePrivilegeGroups)[number];
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { IScanData } from '../IScan';
|
|
2
|
+
import { IOrganizationalUnit } from './IOrganization';
|
|
3
|
+
import { IRole } from './IRole';
|
|
4
|
+
export interface IUser {
|
|
5
|
+
uuid: string;
|
|
6
|
+
username?: string;
|
|
7
|
+
firstName?: string;
|
|
8
|
+
lastName?: string;
|
|
9
|
+
password?: string;
|
|
10
|
+
email?: string;
|
|
11
|
+
representation?: string;
|
|
12
|
+
umcn?: string;
|
|
13
|
+
roles: IRole[];
|
|
14
|
+
active?: boolean;
|
|
15
|
+
organizationalUnits?: IOrganizationalUnit[];
|
|
16
|
+
}
|
|
17
|
+
export type UserFetchOption = 'PERSONAL_IDENTITY_NUMBER' | 'PLACE' | 'MUNICIPALITY' | 'ORGANIZATIONAL_UNITS' | 'PRIMARY_ORUN';
|
|
18
|
+
export interface IUserSettings {
|
|
19
|
+
documentTabOrientation?: 'HORIZONTAL' | 'VERTICAL';
|
|
20
|
+
shipmentView?: 'CONVERSATION' | 'LIST';
|
|
21
|
+
consolidated?: boolean;
|
|
22
|
+
tableLimit?: number;
|
|
23
|
+
zoomInfoWidgetVisible?: boolean;
|
|
24
|
+
accountStatusWidgetVisible?: boolean;
|
|
25
|
+
organizationRegistrationWidgetVisible?: boolean;
|
|
26
|
+
personalAccountWidgetVisible?: boolean;
|
|
27
|
+
singingApplicationWidgetVisible?: boolean;
|
|
28
|
+
organizationSettingsWidgetVisible?: boolean;
|
|
29
|
+
approvalListWidgetVisible?: boolean;
|
|
30
|
+
expiringContractsWidgetVisible?: boolean;
|
|
31
|
+
exchangeRateWidgetVisible?: boolean;
|
|
32
|
+
notificationsSound?: boolean;
|
|
33
|
+
startGuideOpen?: boolean;
|
|
34
|
+
scannerData?: IScanData;
|
|
35
|
+
guide?: {
|
|
36
|
+
[key in IGuideType]: boolean;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export type IGuideType = 'invoice';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface INotification {
|
|
2
|
+
uuid: string;
|
|
3
|
+
event: string;
|
|
4
|
+
type: INotificationType;
|
|
5
|
+
values?: {
|
|
6
|
+
key: INotificationValueKey;
|
|
7
|
+
value: string;
|
|
8
|
+
url?: string;
|
|
9
|
+
format?: 'TRANSLATE' | 'DATE' | 'DATE_TIME';
|
|
10
|
+
}[];
|
|
11
|
+
seen: boolean;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
}
|
|
14
|
+
export type INotificationType = 'WEB' | 'EMAIL';
|
|
15
|
+
export type INotificationValueKey = 'documentNumber' | 'userName' | 'invoiceIssuer' | 'status' | 'date';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface IScanner {
|
|
2
|
+
uid: string;
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IScanClient {
|
|
6
|
+
allowBatch: boolean;
|
|
7
|
+
signatureEnabled: boolean;
|
|
8
|
+
status: boolean;
|
|
9
|
+
version: string;
|
|
10
|
+
}
|
|
11
|
+
export interface IScanData {
|
|
12
|
+
scannerUId?: string;
|
|
13
|
+
mod?: 'GRAY_8' | 'RGB_8' | 'BLACK_AND_WHITE';
|
|
14
|
+
resolution?: string;
|
|
15
|
+
adf?: boolean;
|
|
16
|
+
duplex?: boolean;
|
|
17
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
2
|
+
export interface ISidebarItem {
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: IconDefinition;
|
|
5
|
+
to?: string;
|
|
6
|
+
content?: ISidebarSubItem[];
|
|
7
|
+
menu?: {
|
|
8
|
+
content: ISidebarSubItem[];
|
|
9
|
+
openedMenu: string;
|
|
10
|
+
setOpenedMenu: (label: string) => void;
|
|
11
|
+
};
|
|
12
|
+
hidden?: boolean;
|
|
13
|
+
badge?: number;
|
|
14
|
+
addUrl?: string;
|
|
15
|
+
collapsed?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface ISidebarSubItem {
|
|
18
|
+
label: string;
|
|
19
|
+
to?: string;
|
|
20
|
+
content?: ISidebarItem[];
|
|
21
|
+
hidden?: boolean;
|
|
22
|
+
tooltip?: string;
|
|
23
|
+
badge?: number;
|
|
24
|
+
addUrl?: string;
|
|
25
|
+
primary?: boolean;
|
|
26
|
+
collapsed?: boolean;
|
|
27
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const SubSystems: readonly ["ADMIN", "EARCHIVE", "EDELIVERY", "EDMS", "EFORMS", "EINVOICE", "EPROCUREMENT", "ERDS", "EREGISTER", "ERP", "ERP_SMALL_INVENTORY", "ERP_WMS", "ERP_MAT_ACC", "FINANCES", "CONTRACTS", "ESIGN", "EVALIDATION", "IDM", "REGISTRATION", "QC_REGISTRATION", "ERP_CASH_REGISTER", "ERP_RIF", "SETTINGS", "JISUSZ_BACKOFFICE"];
|
|
2
|
+
export type ISubsystem = (typeof SubSystems)[number];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const getIndexDataOptions: (nameLike: string, loadedOptions: [], offset: {
|
|
2
|
+
page: number;
|
|
3
|
+
}, documentTypeUuid?: string, excludeIndexDataUuids?: string[], atLeastOneCaseType?: boolean) => Promise<void | {
|
|
4
|
+
options: any;
|
|
5
|
+
hasMore: boolean;
|
|
6
|
+
additional: {
|
|
7
|
+
page: number;
|
|
8
|
+
};
|
|
9
|
+
}>;
|
|
10
|
+
export declare const getIndexDataCodebookItemsOptions: (fullText: string, loadedOptions: [], offset: {
|
|
11
|
+
page: number;
|
|
12
|
+
}, codebookUuid: string, filters?: {
|
|
13
|
+
active?: boolean;
|
|
14
|
+
}) => Promise<void | {
|
|
15
|
+
options: any;
|
|
16
|
+
hasMore: boolean;
|
|
17
|
+
additional: {
|
|
18
|
+
page: number;
|
|
19
|
+
};
|
|
20
|
+
}>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IModule } from '../types/Auth/IModule';
|
|
2
|
+
export 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"];
|
|
3
|
+
export declare const modules: IModule;
|