@inceptionbg/main 2.0.173 → 2.0.175
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 +2154 -0
- package/dist/types/global.d.ts +63 -63
- package/package.json +48 -48
- package/dist/tempTypes/assets/icons/duotone/faBell.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faBoxArchive.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faCabinetFiling.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faCashRegister.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faDisplayChartUpCircleDollar.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faEnvelope.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faFileContract.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faFileInvoice.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faFilePen.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faGear.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faGridHorizontal.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faHandsHoldingHeart.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faList.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faListCheck.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faPlusCircle.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faScreencast.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faShelves.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faSignature.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faWarehouse.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faWarehouseFull.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faAngleDown.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faArrowRightFromBracket.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faBell.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faBriefcase.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faBusinessPlus.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faCalendarDays.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faCircleUser.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faEnvelope.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faMagnifyingGlass.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faTrashCan.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faUserGear.d.ts +0 -2
- package/dist/tempTypes/assets/icons/regular/faAngleLeft.d.ts +0 -2
- package/dist/tempTypes/assets/icons/regular/faAngleRight.d.ts +0 -2
- package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassMinus.d.ts +0 -2
- package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassPlus.d.ts +0 -2
- package/dist/tempTypes/assets/icons/regular/faQrcode.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faAngleLeft.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faArrowRight.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faCaretDown.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faCheck.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faEnvelopeDot.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faPlus.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faXmark.d.ts +0 -2
- package/dist/tempTypes/auth/Auth.d.ts +0 -55
- package/dist/tempTypes/auth/AuthUtils.d.ts +0 -4
- package/dist/tempTypes/auth/AxiosTokenHandler.d.ts +0 -6
- package/dist/tempTypes/components/BusinessYear/BusinessYearChooser.d.ts +0 -2
- package/dist/tempTypes/components/BusinessYear/BusinessYearPage.d.ts +0 -3
- package/dist/tempTypes/components/Dialogs/DeleteItemDialog.d.ts +0 -13
- package/dist/tempTypes/components/Dialogs/DeleteItemsDialog.d.ts +0 -15
- package/dist/tempTypes/components/Header/Components/ModuleSelect.d.ts +0 -6
- package/dist/tempTypes/components/Header/Components/Notifications.d.ts +0 -2
- package/dist/tempTypes/components/Header/Components/UserMenu.d.ts +0 -2
- package/dist/tempTypes/components/Header/Header.d.ts +0 -9
- package/dist/tempTypes/components/IndexData/IndexDataSearch.d.ts +0 -13
- package/dist/tempTypes/components/IndexData/IndexDataSearchFields.d.ts +0 -10
- package/dist/tempTypes/components/Organizations/ChangeOrganizationDialog.d.ts +0 -7
- package/dist/tempTypes/components/Organizations/OrganizationInvitesDialog.d.ts +0 -7
- package/dist/tempTypes/components/ReactQuery/ReactQueryProvider.d.ts +0 -6
- package/dist/tempTypes/components/Router/Router.d.ts +0 -10
- package/dist/tempTypes/components/Sidebar/AddButton.d.ts +0 -6
- package/dist/tempTypes/components/Sidebar/Sidebar.d.ts +0 -8
- package/dist/tempTypes/components/Sidebar/SidebarItem.d.ts +0 -3
- package/dist/tempTypes/components/User/MyAccountDialog.d.ts +0 -7
- package/dist/tempTypes/components/User/components/ChangePassword.d.ts +0 -7
- package/dist/tempTypes/components/User/repo/useUserMutations.d.ts +0 -9
- package/dist/tempTypes/components/Wrappers/App/AppContent.d.ts +0 -6
- package/dist/tempTypes/components/Wrappers/App/AppWrapper.d.ts +0 -7
- package/dist/tempTypes/components/Wrappers/MainPageWrapper.d.ts +0 -9
- package/dist/tempTypes/context/BusinessYearContext.d.ts +0 -12
- package/dist/tempTypes/context/ErrorContext.d.ts +0 -13
- package/dist/tempTypes/context/UserOrgContext.d.ts +0 -28
- package/dist/tempTypes/hooks/useOrgInvites.d.ts +0 -12
- package/dist/tempTypes/index.d.ts +0 -56
- package/dist/tempTypes/pages/LoginPage.d.ts +0 -3
- package/dist/tempTypes/pages/NoAccessInfo.d.ts +0 -8
- package/dist/tempTypes/pages/NoMatchPage.d.ts +0 -3
- package/dist/tempTypes/pages/Roles/RolesWithPrivileges.d.ts +0 -8
- package/dist/tempTypes/pages/Roles/components/PrivilegesForm.d.ts +0 -11
- package/dist/tempTypes/pages/SelectOrg/SelectOrgPage.d.ts +0 -3
- package/dist/tempTypes/pages/SelectOrg/components/OrgInvites.d.ts +0 -2
- package/dist/tempTypes/repo/NotificationsRepository.d.ts +0 -8
- package/dist/tempTypes/repo/RoleRepo.d.ts +0 -7
- package/dist/tempTypes/types/App/Administration/IEmployee.d.ts +0 -23
- package/dist/tempTypes/types/App/Administration/IJob.d.ts +0 -10
- package/dist/tempTypes/types/App/Contracts/File/IContractFile.d.ts +0 -30
- package/dist/tempTypes/types/App/Contracts/IContract.d.ts +0 -241
- package/dist/tempTypes/types/App/Document/IApproval.d.ts +0 -143
- package/dist/tempTypes/types/App/Document/ICase.d.ts +0 -48
- package/dist/tempTypes/types/App/Document/IDocument.d.ts +0 -219
- package/dist/tempTypes/types/App/Document/IDocumentFile.d.ts +0 -67
- package/dist/tempTypes/types/App/Document/IDocumentSend.d.ts +0 -128
- package/dist/tempTypes/types/App/Document/IEmailDocument.d.ts +0 -52
- package/dist/tempTypes/types/App/Document/IIndexDataCodebook.d.ts +0 -15
- package/dist/tempTypes/types/App/Document/ISignatory.d.ts +0 -34
- package/dist/tempTypes/types/App/Document/IndexData.d.ts +0 -60
- package/dist/tempTypes/types/App/Document/Invoice/IAccount.d.ts +0 -11
- package/dist/tempTypes/types/App/Document/Invoice/IExpenseAllocation.d.ts +0 -39
- package/dist/tempTypes/types/App/Document/Invoice/IFactoring.d.ts +0 -6
- package/dist/tempTypes/types/App/Document/Invoice/IInvoice.d.ts +0 -236
- package/dist/tempTypes/types/App/Document/Invoice/IPayment.d.ts +0 -40
- package/dist/tempTypes/types/App/Document/Invoice/IProduct.d.ts +0 -23
- package/dist/tempTypes/types/App/Document/Invoice/ITaxAllocation.d.ts +0 -37
- package/dist/tempTypes/types/App/Document/Invoice/IVatIndicator.d.ts +0 -14
- package/dist/tempTypes/types/App/Document/Office/IOfficeDocument.d.ts +0 -27
- package/dist/tempTypes/types/App/Document/Shipment/IShipment.d.ts +0 -25
- package/dist/tempTypes/types/App/Partner/IAddress.d.ts +0 -14
- package/dist/tempTypes/types/App/Partner/IPartner.d.ts +0 -98
- package/dist/tempTypes/types/Auth/IEnv.d.ts +0 -13
- package/dist/tempTypes/types/Auth/IModule.d.ts +0 -15
- package/dist/tempTypes/types/Auth/IOrganization.d.ts +0 -140
- package/dist/tempTypes/types/Auth/IPrivileges.d.ts +0 -2
- package/dist/tempTypes/types/Auth/IRole.d.ts +0 -25
- package/dist/tempTypes/types/Auth/IRouter.d.ts +0 -7
- package/dist/tempTypes/types/Auth/IToken.d.ts +0 -12
- package/dist/tempTypes/types/Auth/IUser.d.ts +0 -39
- package/dist/tempTypes/types/IError.d.ts +0 -5
- package/dist/tempTypes/types/INotifications.d.ts +0 -15
- package/dist/tempTypes/types/IReactQuerry.d.ts +0 -4
- package/dist/tempTypes/types/IScan.d.ts +0 -17
- package/dist/tempTypes/types/ISidebar.d.ts +0 -27
- package/dist/tempTypes/types/ISubsystem.d.ts +0 -2
- package/dist/tempTypes/utils/EnvVars.d.ts +0 -2
- package/dist/tempTypes/utils/ImageUtils.d.ts +0 -4
- package/dist/tempTypes/utils/LoadOptions.d.ts +0 -20
- package/dist/tempTypes/utils/ModuleUtils.d.ts +0 -3
- package/dist/tempTypes/utils/i18nMain.d.ts +0 -662
package/dist/types/global.d.ts
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import { NavigateFunction, Location, LinkProps } from 'react-router-dom';
|
|
2
2
|
|
|
3
|
-
declare const ModuleIds = [
|
|
4
|
-
'DASHBOARD',
|
|
5
|
-
'ADMIN',
|
|
6
|
-
'EARCHIVE',
|
|
7
|
-
'ERDS',
|
|
8
|
-
'EINVOICE',
|
|
9
|
-
'EFORMS',
|
|
10
|
-
'EDMS',
|
|
11
|
-
'ESIGN',
|
|
12
|
-
'EVALIDATION',
|
|
13
|
-
'EPROCUREMENT',
|
|
14
|
-
'EREGISTER',
|
|
15
|
-
'PAM',
|
|
16
|
-
'ERP_CASH_REGISTER',
|
|
17
|
-
'ERP_RIF',
|
|
18
|
-
'ERP_MAT_ACC',
|
|
19
|
-
'ERP_SMALL_INVENTORY',
|
|
20
|
-
'ERP_WMS',
|
|
21
|
-
'JISUSZ_BACKOFFICE',
|
|
3
|
+
declare const ModuleIds = [
|
|
4
|
+
'DASHBOARD',
|
|
5
|
+
'ADMIN',
|
|
6
|
+
'EARCHIVE',
|
|
7
|
+
'ERDS',
|
|
8
|
+
'EINVOICE',
|
|
9
|
+
'EFORMS',
|
|
10
|
+
'EDMS',
|
|
11
|
+
'ESIGN',
|
|
12
|
+
'EVALIDATION',
|
|
13
|
+
'EPROCUREMENT',
|
|
14
|
+
'EREGISTER',
|
|
15
|
+
'PAM',
|
|
16
|
+
'ERP_CASH_REGISTER',
|
|
17
|
+
'ERP_RIF',
|
|
18
|
+
'ERP_MAT_ACC',
|
|
19
|
+
'ERP_SMALL_INVENTORY',
|
|
20
|
+
'ERP_WMS',
|
|
21
|
+
'JISUSZ_BACKOFFICE',
|
|
22
22
|
] as const;
|
|
23
23
|
|
|
24
24
|
type IModuleId = (typeof ModuleIds)[number];
|
|
25
25
|
|
|
26
|
-
type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT' | 'TEST_PPLCG';
|
|
27
|
-
type IServiceApi =
|
|
28
|
-
| 'auth'
|
|
29
|
-
| 'idm'
|
|
30
|
-
| 'codebook'
|
|
31
|
-
| 'auditLog'
|
|
32
|
-
| 'notifications'
|
|
33
|
-
| 'indexData'
|
|
34
|
-
| 'registration'
|
|
35
|
-
| 'reportTemplates'
|
|
36
|
-
| 'procurement'
|
|
37
|
-
| 'archive'
|
|
38
|
-
| 'invoice'
|
|
39
|
-
| 'edms'
|
|
40
|
-
| 'rif'
|
|
41
|
-
| 'cashRegister'
|
|
42
|
-
| 'jisuszProxy'
|
|
43
|
-
| 'fosterCare'
|
|
26
|
+
type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT' | 'TEST_PPLCG';
|
|
27
|
+
type IServiceApi =
|
|
28
|
+
| 'auth'
|
|
29
|
+
| 'idm'
|
|
30
|
+
| 'codebook'
|
|
31
|
+
| 'auditLog'
|
|
32
|
+
| 'notifications'
|
|
33
|
+
| 'indexData'
|
|
34
|
+
| 'registration'
|
|
35
|
+
| 'reportTemplates'
|
|
36
|
+
| 'procurement'
|
|
37
|
+
| 'archive'
|
|
38
|
+
| 'invoice'
|
|
39
|
+
| 'edms'
|
|
40
|
+
| 'rif'
|
|
41
|
+
| 'cashRegister'
|
|
42
|
+
| 'jisuszProxy'
|
|
43
|
+
| 'fosterCare'
|
|
44
44
|
| 'article';
|
|
45
45
|
|
|
46
46
|
type CustomHeader = {
|
|
@@ -664,30 +664,30 @@ interface GenericFormData {
|
|
|
664
664
|
append(name: string, value: any, options?: any): any;
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
-
declare global {
|
|
668
|
-
var environment: IEnv;
|
|
669
|
-
var moduleId: IModuleId | null;
|
|
670
|
-
var moduleUrls: {
|
|
671
|
-
[id in IModuleId]?: string;
|
|
672
|
-
};
|
|
673
|
-
var axiosInstance: AxiosInstance;
|
|
674
|
-
var useNavigate: () => NavigateFunction;
|
|
675
|
-
var useLocation: () => Location;
|
|
676
|
-
var Link: React.ForwardRefExoticComponent<
|
|
677
|
-
LinkProps & React.RefAttributes<HTMLAnchorElement>
|
|
678
|
-
>;
|
|
679
|
-
var appVersion: string | undefined;
|
|
680
|
-
var api: {
|
|
681
|
-
apiUrl: string;
|
|
682
|
-
clientId: string;
|
|
683
|
-
authScope?: string;
|
|
684
|
-
additionalScopes?: string[];
|
|
685
|
-
redirectUrl?: string;
|
|
686
|
-
};
|
|
687
|
-
var zE: {
|
|
688
|
-
show: () => void;
|
|
689
|
-
hide: () => void;
|
|
690
|
-
activate: () => void;
|
|
691
|
-
setLocale: (locale: string) => void;
|
|
692
|
-
};
|
|
667
|
+
declare global {
|
|
668
|
+
var environment: IEnv;
|
|
669
|
+
var moduleId: IModuleId | null;
|
|
670
|
+
var moduleUrls: {
|
|
671
|
+
[id in IModuleId]?: string;
|
|
672
|
+
};
|
|
673
|
+
var axiosInstance: AxiosInstance;
|
|
674
|
+
var useNavigate: () => NavigateFunction;
|
|
675
|
+
var useLocation: () => Location;
|
|
676
|
+
var Link: React.ForwardRefExoticComponent<
|
|
677
|
+
LinkProps & React.RefAttributes<HTMLAnchorElement>
|
|
678
|
+
>;
|
|
679
|
+
var appVersion: string | undefined;
|
|
680
|
+
var api: {
|
|
681
|
+
apiUrl: string;
|
|
682
|
+
clientId: string;
|
|
683
|
+
authScope?: string;
|
|
684
|
+
additionalScopes?: string[];
|
|
685
|
+
redirectUrl?: string;
|
|
686
|
+
};
|
|
687
|
+
var zE: {
|
|
688
|
+
show: () => void;
|
|
689
|
+
hide: () => void;
|
|
690
|
+
activate: () => void;
|
|
691
|
+
setLocale: (locale: string) => void;
|
|
692
|
+
};
|
|
693
693
|
}
|
package/package.json
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@inceptionbg/main",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "Main app wrapper for Inception ecosystem",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"files": [
|
|
7
|
-
"dist"
|
|
8
|
-
],
|
|
9
|
-
"main": "dist/index.js",
|
|
10
|
-
"types": "dist/index.d.ts",
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "rollup -c",
|
|
13
|
-
"tsc": "npx tsc --noEmit",
|
|
14
|
-
"update": "npm i @inceptionbg/iui@latest",
|
|
15
|
-
"release": "npm version patch && npm run build && npm publish"
|
|
16
|
-
},
|
|
17
|
-
"author": "Aleksandar Sadzak",
|
|
18
|
-
"license": "ISC",
|
|
19
|
-
"dependencies": {
|
|
20
|
-
"@tanstack/react-query": "^5.56.2",
|
|
21
|
-
"axios": "^1.9.0",
|
|
22
|
-
"crypto-js": "^4.1.1",
|
|
23
|
-
"jwt-decode": "^3.1.2"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@rollup/plugin-commonjs": "^25.0.2",
|
|
27
|
-
"@rollup/plugin-image": "^3.0.2",
|
|
28
|
-
"@rollup/plugin-terser": "^0.4.3",
|
|
29
|
-
"@rollup/plugin-typescript": "^11.1.2",
|
|
30
|
-
"@rollup/plugin-url": "^8.0.1",
|
|
31
|
-
"@types/crypto-js": "^4.1.1",
|
|
32
|
-
"@types/react": "^18.3.18",
|
|
33
|
-
"@types/react-dom": "^18.3.5",
|
|
34
|
-
"@types/react-router-dom": "^5.3.3",
|
|
35
|
-
"react-router-dom": "^6.14.1",
|
|
36
|
-
"rollup": "^3.26.0",
|
|
37
|
-
"rollup-plugin-delete": "^2.0.0",
|
|
38
|
-
"rollup-plugin-dts": "^5.3.1",
|
|
39
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
40
|
-
"tslib": "^2.6.1"
|
|
41
|
-
},
|
|
42
|
-
"peerDependencies": {
|
|
43
|
-
"@inceptionbg/iui": "^1.0.291",
|
|
44
|
-
"react": "^18.2.0",
|
|
45
|
-
"react-dom": "^18.2.0",
|
|
46
|
-
"sass": "^1.63.6"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@inceptionbg/main",
|
|
3
|
+
"version": "2.0.175",
|
|
4
|
+
"description": "Main app wrapper for Inception ecosystem",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"main": "dist/index.js",
|
|
10
|
+
"types": "dist/index.d.ts",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "rollup -c",
|
|
13
|
+
"tsc": "npx tsc --noEmit",
|
|
14
|
+
"update": "npm i @inceptionbg/iui@latest",
|
|
15
|
+
"release": "npm version patch && npm run build && npm publish"
|
|
16
|
+
},
|
|
17
|
+
"author": "Aleksandar Sadzak",
|
|
18
|
+
"license": "ISC",
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@tanstack/react-query": "^5.56.2",
|
|
21
|
+
"axios": "^1.9.0",
|
|
22
|
+
"crypto-js": "^4.1.1",
|
|
23
|
+
"jwt-decode": "^3.1.2"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@rollup/plugin-commonjs": "^25.0.2",
|
|
27
|
+
"@rollup/plugin-image": "^3.0.2",
|
|
28
|
+
"@rollup/plugin-terser": "^0.4.3",
|
|
29
|
+
"@rollup/plugin-typescript": "^11.1.2",
|
|
30
|
+
"@rollup/plugin-url": "^8.0.1",
|
|
31
|
+
"@types/crypto-js": "^4.1.1",
|
|
32
|
+
"@types/react": "^18.3.18",
|
|
33
|
+
"@types/react-dom": "^18.3.5",
|
|
34
|
+
"@types/react-router-dom": "^5.3.3",
|
|
35
|
+
"react-router-dom": "^6.14.1",
|
|
36
|
+
"rollup": "^3.26.0",
|
|
37
|
+
"rollup-plugin-delete": "^2.0.0",
|
|
38
|
+
"rollup-plugin-dts": "^5.3.1",
|
|
39
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
40
|
+
"tslib": "^2.6.1"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"@inceptionbg/iui": "^1.0.291",
|
|
44
|
+
"react": "^18.2.0",
|
|
45
|
+
"react-dom": "^18.2.0",
|
|
46
|
+
"sass": "^1.63.6"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { IModuleId } from '../types/Auth/IModule';
|
|
2
|
-
import { IOrganization, IOrganizationInvite, OrganizationStatus } from '../types/Auth/IOrganization';
|
|
3
|
-
import { IOrganizationSettings, IUserSettingsByOrg } from '../types/Auth/IPrivileges';
|
|
4
|
-
import { IUser, IUserSettings } from '../types/Auth/IUser';
|
|
5
|
-
export declare const login: () => void;
|
|
6
|
-
export declare const clearToken: () => void;
|
|
7
|
-
export declare const logout: (options?: {
|
|
8
|
-
nextUrl?: boolean;
|
|
9
|
-
clearData?: boolean;
|
|
10
|
-
redirectUrl?: string;
|
|
11
|
-
}) => void;
|
|
12
|
-
export declare const getNewTokens: (code?: string) => Promise<void>;
|
|
13
|
-
export declare const onRefreshToken: () => Promise<void> | undefined;
|
|
14
|
-
export declare const getUser: () => Promise<IUser>;
|
|
15
|
-
export declare const getOrgAndSettingsData: (organizationUuid: string) => Promise<{
|
|
16
|
-
organization: IOrganization | undefined;
|
|
17
|
-
userHasAccessToOrganization: boolean | undefined;
|
|
18
|
-
userSettings: IUserSettings | undefined;
|
|
19
|
-
organizationSettings: IOrganizationSettings | undefined;
|
|
20
|
-
userSettingsByOrganization: IUserSettingsByOrg | undefined;
|
|
21
|
-
privileges: {
|
|
22
|
-
[x: string]: boolean;
|
|
23
|
-
};
|
|
24
|
-
moduleIds: {
|
|
25
|
-
availableModules: ("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")[];
|
|
26
|
-
userModules: ("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")[];
|
|
27
|
-
organizationModules: ("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")[];
|
|
28
|
-
activeModules: ("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")[];
|
|
29
|
-
};
|
|
30
|
-
}>;
|
|
31
|
-
export declare const getMyOrganizations: (limit: number, offset: number, filters: {
|
|
32
|
-
status?: OrganizationStatus;
|
|
33
|
-
nameLike?: string;
|
|
34
|
-
subsystem?: IModuleId | null;
|
|
35
|
-
excludeOrganizationUuid?: string;
|
|
36
|
-
}) => Promise<{
|
|
37
|
-
organizations: IOrganization[];
|
|
38
|
-
totalRows: number;
|
|
39
|
-
subsystems: ("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")[];
|
|
40
|
-
}>;
|
|
41
|
-
export declare const getOrganizationInvites: ({ limit, offset, fetchOptions, }: {
|
|
42
|
-
limit: number;
|
|
43
|
-
offset: number;
|
|
44
|
-
fetchOptions?: ("SENDER" | "ORGANIZATION" | "ROLE" | "RECEIVER")[] | undefined;
|
|
45
|
-
}) => Promise<{
|
|
46
|
-
organizationInvites: IOrganizationInvite[];
|
|
47
|
-
totalRows: number;
|
|
48
|
-
}>;
|
|
49
|
-
export declare const updateOrganizationInvite: ({ inviteUuid, approve, }: {
|
|
50
|
-
inviteUuid: string;
|
|
51
|
-
approve: boolean;
|
|
52
|
-
}) => Promise<any>;
|
|
53
|
-
export declare const changeUserSettings: (data: IUserSettings, showToast?: boolean) => Promise<any>;
|
|
54
|
-
export declare const changeOrganizationSettings: (data: IOrganizationSettings) => Promise<any>;
|
|
55
|
-
export declare const changeUserSettingsByOrg: (data: IUserSettingsByOrg) => Promise<any>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2
|
-
import { IUseMutationData } from '../../types/IReactQuerry';
|
|
3
|
-
import { UseMutationResult } from '@tanstack/react-query';
|
|
4
|
-
import { AxiosResponse } from 'axios';
|
|
5
|
-
interface Props {
|
|
6
|
-
textId: string;
|
|
7
|
-
itemUuid: string;
|
|
8
|
-
setItemUuid: Dispatch<SetStateAction<string>>;
|
|
9
|
-
onSuccess: () => void;
|
|
10
|
-
useDeleteItemMutation: ({ onSuccess, }: IUseMutationData) => UseMutationResult<AxiosResponse<any, any>, Error, string, unknown>;
|
|
11
|
-
}
|
|
12
|
-
export declare const DeleteItemDialog: FC<Props>;
|
|
13
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2
|
-
import { IUseMutationData } from '../../types/IReactQuerry';
|
|
3
|
-
import { UseMutationResult } from '@tanstack/react-query';
|
|
4
|
-
import { AxiosResponse } from 'axios';
|
|
5
|
-
interface Props {
|
|
6
|
-
textId: string;
|
|
7
|
-
itemUuids: string[];
|
|
8
|
-
setItemUuids: Dispatch<SetStateAction<string[]>>;
|
|
9
|
-
onSuccess: () => void;
|
|
10
|
-
useDeleteItemMutation: ({ onSuccess, }: IUseMutationData) => UseMutationResult<AxiosResponse<any, any>, Error, {
|
|
11
|
-
itemUuids: string[];
|
|
12
|
-
}, unknown>;
|
|
13
|
-
}
|
|
14
|
-
export declare const DeleteItemsDialog: FC<Props>;
|
|
15
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IAnyObject } from '@inceptionbg/iui';
|
|
2
|
-
import { Dispatch, FC, SetStateAction } from 'react';
|
|
3
|
-
import { IIndexData } from '../../types/App/Document/IndexData';
|
|
4
|
-
interface Props {
|
|
5
|
-
searchData: IAnyObject;
|
|
6
|
-
setSearchData: Dispatch<SetStateAction<IAnyObject>>;
|
|
7
|
-
indexesSearch: Partial<IIndexData>[];
|
|
8
|
-
setIndexesSearch: Dispatch<SetStateAction<Partial<IIndexData>[]>>;
|
|
9
|
-
documentTypeUuid?: string;
|
|
10
|
-
type?: 'document' | 'case' | 'contract';
|
|
11
|
-
}
|
|
12
|
-
export declare const IndexDataSearch: FC<Props>;
|
|
13
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IIndexData } from '../../types/App/Document/IndexData';
|
|
3
|
-
interface Props {
|
|
4
|
-
indexes: Partial<IIndexData>[];
|
|
5
|
-
search: any;
|
|
6
|
-
setSearch: (search: any) => void;
|
|
7
|
-
type?: 'document' | 'case' | 'contract';
|
|
8
|
-
}
|
|
9
|
-
export declare const IndexDataSearchFields: FC<Props>;
|
|
10
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IRoute } from '../../types/Auth/IRouter';
|
|
3
|
-
import { ISidebarItem } from '../../types/ISidebar';
|
|
4
|
-
interface Props {
|
|
5
|
-
routes: IRoute[];
|
|
6
|
-
sidebarItems: ISidebarItem[][];
|
|
7
|
-
hideNotifications?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const Router: FC<Props>;
|
|
10
|
-
export {};
|