@inceptionbg/main 2.0.173 → 2.0.174

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.
Files changed (129) hide show
  1. package/dist/index.d.ts +2154 -0
  2. package/package.json +1 -1
  3. package/dist/tempTypes/assets/icons/duotone/faBell.d.ts +0 -2
  4. package/dist/tempTypes/assets/icons/duotone/faBoxArchive.d.ts +0 -2
  5. package/dist/tempTypes/assets/icons/duotone/faCabinetFiling.d.ts +0 -2
  6. package/dist/tempTypes/assets/icons/duotone/faCashRegister.d.ts +0 -2
  7. package/dist/tempTypes/assets/icons/duotone/faDisplayChartUpCircleDollar.d.ts +0 -2
  8. package/dist/tempTypes/assets/icons/duotone/faEnvelope.d.ts +0 -2
  9. package/dist/tempTypes/assets/icons/duotone/faFileContract.d.ts +0 -2
  10. package/dist/tempTypes/assets/icons/duotone/faFileInvoice.d.ts +0 -2
  11. package/dist/tempTypes/assets/icons/duotone/faFilePen.d.ts +0 -2
  12. package/dist/tempTypes/assets/icons/duotone/faGear.d.ts +0 -2
  13. package/dist/tempTypes/assets/icons/duotone/faGridHorizontal.d.ts +0 -2
  14. package/dist/tempTypes/assets/icons/duotone/faHandsHoldingHeart.d.ts +0 -2
  15. package/dist/tempTypes/assets/icons/duotone/faList.d.ts +0 -2
  16. package/dist/tempTypes/assets/icons/duotone/faListCheck.d.ts +0 -2
  17. package/dist/tempTypes/assets/icons/duotone/faPlusCircle.d.ts +0 -2
  18. package/dist/tempTypes/assets/icons/duotone/faScreencast.d.ts +0 -2
  19. package/dist/tempTypes/assets/icons/duotone/faShelves.d.ts +0 -2
  20. package/dist/tempTypes/assets/icons/duotone/faSignature.d.ts +0 -2
  21. package/dist/tempTypes/assets/icons/duotone/faWarehouse.d.ts +0 -2
  22. package/dist/tempTypes/assets/icons/duotone/faWarehouseFull.d.ts +0 -2
  23. package/dist/tempTypes/assets/icons/light/faAngleDown.d.ts +0 -2
  24. package/dist/tempTypes/assets/icons/light/faArrowRightFromBracket.d.ts +0 -2
  25. package/dist/tempTypes/assets/icons/light/faBell.d.ts +0 -2
  26. package/dist/tempTypes/assets/icons/light/faBriefcase.d.ts +0 -2
  27. package/dist/tempTypes/assets/icons/light/faBusinessPlus.d.ts +0 -2
  28. package/dist/tempTypes/assets/icons/light/faCalendarDays.d.ts +0 -2
  29. package/dist/tempTypes/assets/icons/light/faCircleUser.d.ts +0 -2
  30. package/dist/tempTypes/assets/icons/light/faEnvelope.d.ts +0 -2
  31. package/dist/tempTypes/assets/icons/light/faMagnifyingGlass.d.ts +0 -2
  32. package/dist/tempTypes/assets/icons/light/faTrashCan.d.ts +0 -2
  33. package/dist/tempTypes/assets/icons/light/faUserGear.d.ts +0 -2
  34. package/dist/tempTypes/assets/icons/regular/faAngleLeft.d.ts +0 -2
  35. package/dist/tempTypes/assets/icons/regular/faAngleRight.d.ts +0 -2
  36. package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassMinus.d.ts +0 -2
  37. package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassPlus.d.ts +0 -2
  38. package/dist/tempTypes/assets/icons/regular/faQrcode.d.ts +0 -2
  39. package/dist/tempTypes/assets/icons/solid/faAngleLeft.d.ts +0 -2
  40. package/dist/tempTypes/assets/icons/solid/faArrowRight.d.ts +0 -2
  41. package/dist/tempTypes/assets/icons/solid/faCaretDown.d.ts +0 -2
  42. package/dist/tempTypes/assets/icons/solid/faCheck.d.ts +0 -2
  43. package/dist/tempTypes/assets/icons/solid/faEnvelopeDot.d.ts +0 -2
  44. package/dist/tempTypes/assets/icons/solid/faPlus.d.ts +0 -2
  45. package/dist/tempTypes/assets/icons/solid/faXmark.d.ts +0 -2
  46. package/dist/tempTypes/auth/Auth.d.ts +0 -55
  47. package/dist/tempTypes/auth/AuthUtils.d.ts +0 -4
  48. package/dist/tempTypes/auth/AxiosTokenHandler.d.ts +0 -6
  49. package/dist/tempTypes/components/BusinessYear/BusinessYearChooser.d.ts +0 -2
  50. package/dist/tempTypes/components/BusinessYear/BusinessYearPage.d.ts +0 -3
  51. package/dist/tempTypes/components/Dialogs/DeleteItemDialog.d.ts +0 -13
  52. package/dist/tempTypes/components/Dialogs/DeleteItemsDialog.d.ts +0 -15
  53. package/dist/tempTypes/components/Header/Components/ModuleSelect.d.ts +0 -6
  54. package/dist/tempTypes/components/Header/Components/Notifications.d.ts +0 -2
  55. package/dist/tempTypes/components/Header/Components/UserMenu.d.ts +0 -2
  56. package/dist/tempTypes/components/Header/Header.d.ts +0 -9
  57. package/dist/tempTypes/components/IndexData/IndexDataSearch.d.ts +0 -13
  58. package/dist/tempTypes/components/IndexData/IndexDataSearchFields.d.ts +0 -10
  59. package/dist/tempTypes/components/Organizations/ChangeOrganizationDialog.d.ts +0 -7
  60. package/dist/tempTypes/components/Organizations/OrganizationInvitesDialog.d.ts +0 -7
  61. package/dist/tempTypes/components/ReactQuery/ReactQueryProvider.d.ts +0 -6
  62. package/dist/tempTypes/components/Router/Router.d.ts +0 -10
  63. package/dist/tempTypes/components/Sidebar/AddButton.d.ts +0 -6
  64. package/dist/tempTypes/components/Sidebar/Sidebar.d.ts +0 -8
  65. package/dist/tempTypes/components/Sidebar/SidebarItem.d.ts +0 -3
  66. package/dist/tempTypes/components/User/MyAccountDialog.d.ts +0 -7
  67. package/dist/tempTypes/components/User/components/ChangePassword.d.ts +0 -7
  68. package/dist/tempTypes/components/User/repo/useUserMutations.d.ts +0 -9
  69. package/dist/tempTypes/components/Wrappers/App/AppContent.d.ts +0 -6
  70. package/dist/tempTypes/components/Wrappers/App/AppWrapper.d.ts +0 -7
  71. package/dist/tempTypes/components/Wrappers/MainPageWrapper.d.ts +0 -9
  72. package/dist/tempTypes/context/BusinessYearContext.d.ts +0 -12
  73. package/dist/tempTypes/context/ErrorContext.d.ts +0 -13
  74. package/dist/tempTypes/context/UserOrgContext.d.ts +0 -28
  75. package/dist/tempTypes/hooks/useOrgInvites.d.ts +0 -12
  76. package/dist/tempTypes/index.d.ts +0 -56
  77. package/dist/tempTypes/pages/LoginPage.d.ts +0 -3
  78. package/dist/tempTypes/pages/NoAccessInfo.d.ts +0 -8
  79. package/dist/tempTypes/pages/NoMatchPage.d.ts +0 -3
  80. package/dist/tempTypes/pages/Roles/RolesWithPrivileges.d.ts +0 -8
  81. package/dist/tempTypes/pages/Roles/components/PrivilegesForm.d.ts +0 -11
  82. package/dist/tempTypes/pages/SelectOrg/SelectOrgPage.d.ts +0 -3
  83. package/dist/tempTypes/pages/SelectOrg/components/OrgInvites.d.ts +0 -2
  84. package/dist/tempTypes/repo/NotificationsRepository.d.ts +0 -8
  85. package/dist/tempTypes/repo/RoleRepo.d.ts +0 -7
  86. package/dist/tempTypes/types/App/Administration/IEmployee.d.ts +0 -23
  87. package/dist/tempTypes/types/App/Administration/IJob.d.ts +0 -10
  88. package/dist/tempTypes/types/App/Contracts/File/IContractFile.d.ts +0 -30
  89. package/dist/tempTypes/types/App/Contracts/IContract.d.ts +0 -241
  90. package/dist/tempTypes/types/App/Document/IApproval.d.ts +0 -143
  91. package/dist/tempTypes/types/App/Document/ICase.d.ts +0 -48
  92. package/dist/tempTypes/types/App/Document/IDocument.d.ts +0 -219
  93. package/dist/tempTypes/types/App/Document/IDocumentFile.d.ts +0 -67
  94. package/dist/tempTypes/types/App/Document/IDocumentSend.d.ts +0 -128
  95. package/dist/tempTypes/types/App/Document/IEmailDocument.d.ts +0 -52
  96. package/dist/tempTypes/types/App/Document/IIndexDataCodebook.d.ts +0 -15
  97. package/dist/tempTypes/types/App/Document/ISignatory.d.ts +0 -34
  98. package/dist/tempTypes/types/App/Document/IndexData.d.ts +0 -60
  99. package/dist/tempTypes/types/App/Document/Invoice/IAccount.d.ts +0 -11
  100. package/dist/tempTypes/types/App/Document/Invoice/IExpenseAllocation.d.ts +0 -39
  101. package/dist/tempTypes/types/App/Document/Invoice/IFactoring.d.ts +0 -6
  102. package/dist/tempTypes/types/App/Document/Invoice/IInvoice.d.ts +0 -236
  103. package/dist/tempTypes/types/App/Document/Invoice/IPayment.d.ts +0 -40
  104. package/dist/tempTypes/types/App/Document/Invoice/IProduct.d.ts +0 -23
  105. package/dist/tempTypes/types/App/Document/Invoice/ITaxAllocation.d.ts +0 -37
  106. package/dist/tempTypes/types/App/Document/Invoice/IVatIndicator.d.ts +0 -14
  107. package/dist/tempTypes/types/App/Document/Office/IOfficeDocument.d.ts +0 -27
  108. package/dist/tempTypes/types/App/Document/Shipment/IShipment.d.ts +0 -25
  109. package/dist/tempTypes/types/App/Partner/IAddress.d.ts +0 -14
  110. package/dist/tempTypes/types/App/Partner/IPartner.d.ts +0 -98
  111. package/dist/tempTypes/types/Auth/IEnv.d.ts +0 -13
  112. package/dist/tempTypes/types/Auth/IModule.d.ts +0 -15
  113. package/dist/tempTypes/types/Auth/IOrganization.d.ts +0 -140
  114. package/dist/tempTypes/types/Auth/IPrivileges.d.ts +0 -2
  115. package/dist/tempTypes/types/Auth/IRole.d.ts +0 -25
  116. package/dist/tempTypes/types/Auth/IRouter.d.ts +0 -7
  117. package/dist/tempTypes/types/Auth/IToken.d.ts +0 -12
  118. package/dist/tempTypes/types/Auth/IUser.d.ts +0 -39
  119. package/dist/tempTypes/types/IError.d.ts +0 -5
  120. package/dist/tempTypes/types/INotifications.d.ts +0 -15
  121. package/dist/tempTypes/types/IReactQuerry.d.ts +0 -4
  122. package/dist/tempTypes/types/IScan.d.ts +0 -17
  123. package/dist/tempTypes/types/ISidebar.d.ts +0 -27
  124. package/dist/tempTypes/types/ISubsystem.d.ts +0 -2
  125. package/dist/tempTypes/utils/EnvVars.d.ts +0 -2
  126. package/dist/tempTypes/utils/ImageUtils.d.ts +0 -4
  127. package/dist/tempTypes/utils/LoadOptions.d.ts +0 -20
  128. package/dist/tempTypes/utils/ModuleUtils.d.ts +0 -3
  129. package/dist/tempTypes/utils/i18nMain.d.ts +0 -662
@@ -1,25 +0,0 @@
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];
@@ -1,7 +0,0 @@
1
- import { ReactElement } from 'react';
2
- export interface IRoute {
3
- path?: string;
4
- element?: ReactElement;
5
- fullPage?: boolean;
6
- childrenRoutes?: IRoute[];
7
- }
@@ -1,12 +0,0 @@
1
- export interface IToken {
2
- sub: string;
3
- userUuid: string;
4
- clientCertificate: string;
5
- scope: string[];
6
- iat: number;
7
- exp: number;
8
- iss: string;
9
- firstName?: string;
10
- lastName?: string;
11
- umcn?: string;
12
- }
@@ -1,39 +0,0 @@
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';
@@ -1,5 +0,0 @@
1
- export interface IError {
2
- errorMessage: string;
3
- errorCode?: string;
4
- values?: Record<string, string>;
5
- }
@@ -1,15 +0,0 @@
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';
@@ -1,4 +0,0 @@
1
- import { AxiosResponse } from './Base/axios';
2
- export type IUseMutationData = {
3
- onSuccess: (data: AxiosResponse<any, any>, variables: any) => void;
4
- };
@@ -1,17 +0,0 @@
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
- }
@@ -1,27 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
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];
@@ -1,2 +0,0 @@
1
- import { IEnvVar } from '../types/Auth/IEnv';
2
- export declare const envVars: IEnvVar;
@@ -1,4 +0,0 @@
1
- export declare const orgLogo: {
2
- MTS: string;
3
- PPL: string;
4
- };
@@ -1,20 +0,0 @@
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
- }>;
@@ -1,3 +0,0 @@
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;