@techextensor/tab-core-utility 2.1.7 → 2.1.8
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/esm2022/index.mjs +64 -0
- package/esm2022/lib/tab-core-utility/app/constants/api-constants.mjs +33 -0
- package/esm2022/lib/tab-core-utility/app/constants/common.mjs +25 -0
- package/esm2022/lib/tab-core-utility/app/constants/error-messages.mjs +13 -0
- package/esm2022/lib/tab-core-utility/app/constants/storage-constants.mjs +16 -0
- package/esm2022/lib/tab-core-utility/app/crud/tab-delete.service.mjs +145 -0
- package/esm2022/lib/tab-core-utility/app/crud/tab-get.service.mjs +131 -0
- package/esm2022/lib/tab-core-utility/app/crud/tab-insert.service.mjs +77 -0
- package/esm2022/lib/tab-core-utility/app/crud/tab-update.service.mjs +105 -0
- package/esm2022/lib/tab-core-utility/app/crud/tab-workflow.service.mjs +43 -0
- package/esm2022/lib/tab-core-utility/app/enums/controllers.enum.mjs +26 -0
- package/esm2022/lib/tab-core-utility/app/enums/dsq.enum.mjs +48 -0
- package/esm2022/lib/tab-core-utility/app/enums/permission.enum.mjs +20 -0
- package/esm2022/lib/tab-core-utility/app/enums/query.enum.mjs +14 -0
- package/esm2022/lib/tab-core-utility/app/enums/workflow.enum.mjs +37 -0
- package/esm2022/lib/tab-core-utility/app/helpers/common/app.helpers.mjs +68 -0
- package/esm2022/lib/tab-core-utility/app/helpers/common/dsq.helpers.mjs +70 -0
- package/esm2022/lib/tab-core-utility/app/helpers/common/req-res.helpers.mjs +64 -0
- package/esm2022/lib/tab-core-utility/app/helpers/common/where-clause.helpers.mjs +208 -0
- package/esm2022/lib/tab-core-utility/app/helpers/screen/forms.helpers.mjs +38 -0
- package/esm2022/lib/tab-core-utility/app/helpers/screen/grid-column-data.helpers.mjs +78 -0
- package/esm2022/lib/tab-core-utility/app/helpers/screen/grid.helpers.mjs +112 -0
- package/esm2022/lib/tab-core-utility/app/helpers/screen/media-upload.helpers.mjs +77 -0
- package/esm2022/lib/tab-core-utility/app/helpers/screen/plugin.helpers.mjs +55 -0
- package/esm2022/lib/tab-core-utility/app/helpers/screen/screen.helpers.mjs +26 -0
- package/esm2022/lib/tab-core-utility/app/interfaces/auth.interface.mjs +2 -0
- package/esm2022/lib/tab-core-utility/app/interfaces/common-api.interface.mjs +2 -0
- package/esm2022/lib/tab-core-utility/app/interfaces/grid.interface.mjs +3 -0
- package/esm2022/lib/tab-core-utility/app/interfaces/orgInfo.interface.mjs +2 -0
- package/esm2022/lib/tab-core-utility/app/interfaces/schema.interface.mjs +2 -0
- package/esm2022/lib/tab-core-utility/app/interfaces/user.interface.mjs +2 -0
- package/esm2022/lib/tab-core-utility/app/models/api-query.class.mjs +47 -0
- package/esm2022/lib/tab-core-utility/app/models/app-object.class.mjs +30 -0
- package/esm2022/lib/tab-core-utility/app/models/common.class.mjs +12 -0
- package/esm2022/lib/tab-core-utility/app/models/data-source-queries.class.mjs +31 -0
- package/esm2022/lib/tab-core-utility/app/utils/filter.util.mjs +75 -0
- package/esm2022/lib/tab-core-utility/app/utils/form-builder.util.mjs +39 -0
- package/esm2022/lib/tab-core-utility/app/utils/json.util.mjs +138 -0
- package/esm2022/lib/tab-core-utility/app/utils/operators.util.mjs +129 -0
- package/esm2022/lib/tab-core-utility/app/utils/req-res.util.mjs +168 -0
- package/esm2022/lib/tab-core-utility/app/utils/tab-app.util.mjs +99 -0
- package/esm2022/lib/tab-core-utility/auth/auth.service.mjs +74 -0
- package/esm2022/lib/tab-core-utility/auth/idb-storage.service.mjs +69 -0
- package/esm2022/lib/tab-core-utility/auth/local-storage.service.mjs +52 -0
- package/esm2022/lib/tab-core-utility/auth/session-storage.service.mjs +52 -0
- package/esm2022/lib/tab-core-utility/core/error-handler/error-handler-interceptor.service.mjs +26 -0
- package/esm2022/lib/tab-core-utility/core/error-handler/error-handler.store.mjs +21 -0
- package/esm2022/lib/tab-core-utility/core/error-handler/models/error-handler.state.mjs +5 -0
- package/esm2022/lib/tab-core-utility/core/http-client/api-url.token.mjs +4 -0
- package/esm2022/lib/tab-core-utility/core/http-client/api.service.mjs +99 -0
- package/esm2022/lib/tab-core-utility/core/util/auth.utils.mjs +21 -0
- package/esm2022/lib/tab-core-utility/store/auth.store.mjs +43 -0
- package/esm2022/lib/tab-core-utility/store/orginfo.store.mjs +42 -0
- package/esm2022/lib/tab-core-utility/store/schema.store.mjs +68 -0
- package/esm2022/techextensor-tab-core-utility.mjs +5 -0
- package/{src/index.ts → index.d.ts} +53 -77
- package/lib/tab-core-utility/app/constants/api-constants.d.ts +30 -0
- package/lib/tab-core-utility/app/constants/common.d.ts +8 -0
- package/lib/tab-core-utility/app/constants/error-messages.d.ts +6 -0
- package/lib/tab-core-utility/app/constants/storage-constants.d.ts +15 -0
- package/lib/tab-core-utility/app/crud/tab-delete.service.d.ts +51 -0
- package/lib/tab-core-utility/app/crud/tab-get.service.d.ts +58 -0
- package/lib/tab-core-utility/app/crud/tab-insert.service.d.ts +37 -0
- package/lib/tab-core-utility/app/crud/tab-update.service.d.ts +14 -0
- package/lib/tab-core-utility/app/crud/tab-workflow.service.d.ts +20 -0
- package/lib/tab-core-utility/app/enums/controllers.enum.d.ts +24 -0
- package/lib/tab-core-utility/app/enums/dsq.enum.d.ts +42 -0
- package/lib/tab-core-utility/app/enums/permission.enum.d.ts +16 -0
- package/lib/tab-core-utility/app/enums/query.enum.d.ts +11 -0
- package/lib/tab-core-utility/app/enums/workflow.enum.d.ts +30 -0
- package/lib/tab-core-utility/app/helpers/common/app.helpers.d.ts +31 -0
- package/lib/tab-core-utility/app/helpers/common/dsq.helpers.d.ts +32 -0
- package/lib/tab-core-utility/app/helpers/common/req-res.helpers.d.ts +62 -0
- package/lib/tab-core-utility/app/helpers/common/where-clause.helpers.d.ts +82 -0
- package/lib/tab-core-utility/app/helpers/screen/forms.helpers.d.ts +11 -0
- package/lib/tab-core-utility/app/helpers/screen/grid-column-data.helpers.d.ts +33 -0
- package/lib/tab-core-utility/app/helpers/screen/grid.helpers.d.ts +63 -0
- package/lib/tab-core-utility/app/helpers/screen/media-upload.helpers.d.ts +38 -0
- package/lib/tab-core-utility/app/helpers/screen/plugin.helpers.d.ts +25 -0
- package/lib/tab-core-utility/app/helpers/screen/screen.helpers.d.ts +11 -0
- package/{src/lib/tab-core-utility/app/interfaces/auth.interface.ts → lib/tab-core-utility/app/interfaces/auth.interface.d.ts} +15 -18
- package/lib/tab-core-utility/app/interfaces/common-api.interface.d.ts +24 -0
- package/lib/tab-core-utility/app/interfaces/grid.interface.d.ts +110 -0
- package/lib/tab-core-utility/app/interfaces/orgInfo.interface.d.ts +31 -0
- package/lib/tab-core-utility/app/interfaces/schema.interface.d.ts +11 -0
- package/lib/tab-core-utility/app/interfaces/user.interface.d.ts +84 -0
- package/lib/tab-core-utility/app/models/api-query.class.d.ts +69 -0
- package/lib/tab-core-utility/app/models/app-object.class.d.ts +74 -0
- package/lib/tab-core-utility/app/models/common.class.d.ts +24 -0
- package/lib/tab-core-utility/app/models/data-source-queries.class.d.ts +95 -0
- package/lib/tab-core-utility/app/utils/filter.util.d.ts +30 -0
- package/lib/tab-core-utility/app/utils/form-builder.util.d.ts +13 -0
- package/lib/tab-core-utility/app/utils/json.util.d.ts +25 -0
- package/lib/tab-core-utility/app/utils/operators.util.d.ts +21 -0
- package/lib/tab-core-utility/app/utils/req-res.util.d.ts +61 -0
- package/lib/tab-core-utility/app/utils/tab-app.util.d.ts +48 -0
- package/lib/tab-core-utility/auth/auth.service.d.ts +53 -0
- package/lib/tab-core-utility/auth/idb-storage.service.d.ts +14 -0
- package/lib/tab-core-utility/auth/local-storage.service.d.ts +22 -0
- package/lib/tab-core-utility/auth/session-storage.service.d.ts +22 -0
- package/lib/tab-core-utility/core/error-handler/error-handler-interceptor.service.d.ts +3 -0
- package/lib/tab-core-utility/core/error-handler/error-handler.store.d.ts +10 -0
- package/lib/tab-core-utility/core/error-handler/models/error-handler.state.d.ts +5 -0
- package/lib/tab-core-utility/core/http-client/api-url.token.d.ts +3 -0
- package/lib/tab-core-utility/core/http-client/api.service.d.ts +65 -0
- package/lib/tab-core-utility/core/util/auth.utils.d.ts +9 -0
- package/lib/tab-core-utility/store/auth.store.d.ts +19 -0
- package/lib/tab-core-utility/store/orginfo.store.d.ts +22 -0
- package/lib/tab-core-utility/store/schema.store.d.ts +32 -0
- package/package.json +31 -18
- package/.eslintrc.json +0 -92
- package/README.md +0 -7
- package/jest.config.ts +0 -22
- package/ng-package.json +0 -7
- package/project.json +0 -42
- package/src/lib/tab-core-utility/app/constants/api-constants.ts +0 -33
- package/src/lib/tab-core-utility/app/constants/common.ts +0 -34
- package/src/lib/tab-core-utility/app/constants/error-messages.ts +0 -21
- package/src/lib/tab-core-utility/app/constants/storage-constants.ts +0 -17
- package/src/lib/tab-core-utility/app/crud/tab-delete.service.ts +0 -144
- package/src/lib/tab-core-utility/app/crud/tab-get.service.ts +0 -160
- package/src/lib/tab-core-utility/app/crud/tab-insert.service.ts +0 -75
- package/src/lib/tab-core-utility/app/crud/tab-update.service.ts +0 -105
- package/src/lib/tab-core-utility/app/crud/tab-workflow.service.ts +0 -39
- package/src/lib/tab-core-utility/app/enums/controllers.enum.ts +0 -24
- package/src/lib/tab-core-utility/app/enums/dsq.enum.ts +0 -46
- package/src/lib/tab-core-utility/app/enums/permission.enum.ts +0 -18
- package/src/lib/tab-core-utility/app/enums/query.enum.ts +0 -12
- package/src/lib/tab-core-utility/app/enums/workflow.enum.ts +0 -35
- package/src/lib/tab-core-utility/app/helpers/common/app.helpers.ts +0 -65
- package/src/lib/tab-core-utility/app/helpers/common/dsq.helpers.ts +0 -80
- package/src/lib/tab-core-utility/app/helpers/common/req-res.helpers.ts +0 -75
- package/src/lib/tab-core-utility/app/helpers/common/where-clause.helpers.ts +0 -262
- package/src/lib/tab-core-utility/app/helpers/screen/forms.helpers.ts +0 -33
- package/src/lib/tab-core-utility/app/helpers/screen/grid-column-data.helpers.ts +0 -88
- package/src/lib/tab-core-utility/app/helpers/screen/grid.helpers.ts +0 -113
- package/src/lib/tab-core-utility/app/helpers/screen/media-upload.helpers.ts +0 -74
- package/src/lib/tab-core-utility/app/helpers/screen/plugin.helpers.ts +0 -52
- package/src/lib/tab-core-utility/app/helpers/screen/screen.helpers.ts +0 -20
- package/src/lib/tab-core-utility/app/interfaces/common-api.interface.ts +0 -27
- package/src/lib/tab-core-utility/app/interfaces/grid.interface.ts +0 -118
- package/src/lib/tab-core-utility/app/interfaces/orgInfo.interface.ts +0 -34
- package/src/lib/tab-core-utility/app/interfaces/schema.interface.ts +0 -11
- package/src/lib/tab-core-utility/app/interfaces/user.interface.ts +0 -91
- package/src/lib/tab-core-utility/app/models/api-query.class.ts +0 -92
- package/src/lib/tab-core-utility/app/models/app-object.class.ts +0 -87
- package/src/lib/tab-core-utility/app/models/common.class.ts +0 -30
- package/src/lib/tab-core-utility/app/models/data-source-queries.class.ts +0 -114
- package/src/lib/tab-core-utility/app/utils/filter.util.ts +0 -78
- package/src/lib/tab-core-utility/app/utils/form-builder.util.ts +0 -31
- package/src/lib/tab-core-utility/app/utils/json.util.ts +0 -137
- package/src/lib/tab-core-utility/app/utils/operators.util.ts +0 -129
- package/src/lib/tab-core-utility/app/utils/req-res.util.ts +0 -189
- package/src/lib/tab-core-utility/app/utils/tab-app.util.ts +0 -131
- package/src/lib/tab-core-utility/auth/auth.service.spec.ts +0 -167
- package/src/lib/tab-core-utility/auth/auth.service.ts +0 -91
- package/src/lib/tab-core-utility/auth/idb-storage.service.ts +0 -77
- package/src/lib/tab-core-utility/auth/local-storage.service.spec.ts +0 -47
- package/src/lib/tab-core-utility/auth/local-storage.service.ts +0 -46
- package/src/lib/tab-core-utility/auth/session-storage.service.spec.ts +0 -47
- package/src/lib/tab-core-utility/auth/session-storage.service.ts +0 -46
- package/src/lib/tab-core-utility/core/error-handler/error-handler-interceptor.service.ts +0 -32
- package/src/lib/tab-core-utility/core/error-handler/error-handler.store.spec.ts +0 -16
- package/src/lib/tab-core-utility/core/error-handler/error-handler.store.ts +0 -26
- package/src/lib/tab-core-utility/core/error-handler/models/error-handler.state.ts +0 -9
- package/src/lib/tab-core-utility/core/http-client/api-url.token.ts +0 -4
- package/src/lib/tab-core-utility/core/http-client/api.service.spec.ts +0 -18
- package/src/lib/tab-core-utility/core/http-client/api.service.ts +0 -105
- package/src/lib/tab-core-utility/core/util/auth.utils.ts +0 -22
- package/src/lib/tab-core-utility/store/auth.store.ts +0 -54
- package/src/lib/tab-core-utility/store/orginfo.store.ts +0 -57
- package/src/lib/tab-core-utility/store/schema.store.ts +0 -85
- package/src/test-setup.ts +0 -8
- package/tsconfig.json +0 -29
- package/tsconfig.lib.json +0 -17
- package/tsconfig.lib.prod.json +0 -7
- package/tsconfig.spec.json +0 -16
|
@@ -1,77 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './lib/tab-core-utility/app/constants/
|
|
3
|
-
export * from './lib/tab-core-utility/app/constants/
|
|
4
|
-
export * from './lib/tab-core-utility/app/constants/
|
|
5
|
-
export * from './lib/tab-core-utility/app/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export * from './lib/tab-core-utility/app/crud/tab-
|
|
9
|
-
export * from './lib/tab-core-utility/app/crud/tab-
|
|
10
|
-
export * from './lib/tab-core-utility/app/
|
|
11
|
-
export * from './lib/tab-core-utility/app/
|
|
12
|
-
export * from './lib/tab-core-utility/app/
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export * from './lib/tab-core-utility/app/
|
|
16
|
-
export * from './lib/tab-core-utility/app/
|
|
17
|
-
export * from './lib/tab-core-utility/app/
|
|
18
|
-
export * from './lib/tab-core-utility/app/
|
|
19
|
-
export * from './lib/tab-core-utility/app/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export * from './lib/tab-core-utility/app/helpers/
|
|
23
|
-
export * from './lib/tab-core-utility/app/helpers/
|
|
24
|
-
export * from './lib/tab-core-utility/app/helpers/
|
|
25
|
-
export * from './lib/tab-core-utility/app/
|
|
26
|
-
|
|
27
|
-
export * from './lib/tab-core-utility/app/
|
|
28
|
-
export * from './lib/tab-core-utility/app/
|
|
29
|
-
export * from './lib/tab-core-utility/app/
|
|
30
|
-
export * from './lib/tab-core-utility/app/
|
|
31
|
-
export * from './lib/tab-core-utility/app/
|
|
32
|
-
export * from './lib/tab-core-utility/app/
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
export * from './lib/tab-core-utility/app/
|
|
36
|
-
export * from './lib/tab-core-utility/app/
|
|
37
|
-
export * from './lib/tab-core-utility/app/
|
|
38
|
-
export * from './lib/tab-core-utility/app/
|
|
39
|
-
export * from './lib/tab-core-utility/app/
|
|
40
|
-
export * from './lib/tab-core-utility/app/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
export * from './lib/tab-core-utility/
|
|
44
|
-
export * from './lib/tab-core-utility/
|
|
45
|
-
export * from './lib/tab-core-utility/
|
|
46
|
-
export * from './lib/tab-core-utility/
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
export * from './lib/tab-core-utility/
|
|
50
|
-
export * from './lib/tab-core-utility/
|
|
51
|
-
export * from './lib/tab-core-utility/
|
|
52
|
-
export * from './lib/tab-core-utility/
|
|
53
|
-
export * from './lib/tab-core-utility/
|
|
54
|
-
export * from './lib/tab-core-utility/app/utils/tab-app.util';
|
|
55
|
-
|
|
56
|
-
// Auth
|
|
57
|
-
export * from './lib/tab-core-utility/auth/auth.service';
|
|
58
|
-
export * from './lib/tab-core-utility/auth/local-storage.service';
|
|
59
|
-
export * from './lib/tab-core-utility/auth/session-storage.service';
|
|
60
|
-
export * from './lib/tab-core-utility/auth/idb-storage.service';
|
|
61
|
-
|
|
62
|
-
// Core
|
|
63
|
-
export * from './lib/tab-core-utility/core/error-handler/error-handler-interceptor.service';
|
|
64
|
-
export * from './lib/tab-core-utility/core/error-handler/error-handler.store';
|
|
65
|
-
export * from './lib/tab-core-utility/core/error-handler/models/error-handler.state';
|
|
66
|
-
|
|
67
|
-
export * from './lib/tab-core-utility/core/http-client/api-url.token';
|
|
68
|
-
export * from './lib/tab-core-utility/core/http-client/api.service';
|
|
69
|
-
|
|
70
|
-
export * from './lib/tab-core-utility/core/util/auth.utils';
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
// store
|
|
74
|
-
|
|
75
|
-
export * from './lib/tab-core-utility/store/orginfo.store'
|
|
76
|
-
export * from './lib/tab-core-utility/store/schema.store'
|
|
77
|
-
export * from './lib/tab-core-utility/store/auth.store'
|
|
1
|
+
export * from './lib/tab-core-utility/app/constants/api-constants';
|
|
2
|
+
export * from './lib/tab-core-utility/app/constants/common';
|
|
3
|
+
export * from './lib/tab-core-utility/app/constants/error-messages';
|
|
4
|
+
export * from './lib/tab-core-utility/app/constants/storage-constants';
|
|
5
|
+
export * from './lib/tab-core-utility/app/crud/tab-get.service';
|
|
6
|
+
export * from './lib/tab-core-utility/app/crud/tab-insert.service';
|
|
7
|
+
export * from './lib/tab-core-utility/app/crud/tab-delete.service';
|
|
8
|
+
export * from './lib/tab-core-utility/app/crud/tab-update.service';
|
|
9
|
+
export * from './lib/tab-core-utility/app/crud/tab-workflow.service';
|
|
10
|
+
export * from './lib/tab-core-utility/app/enums/controllers.enum';
|
|
11
|
+
export * from './lib/tab-core-utility/app/enums/dsq.enum';
|
|
12
|
+
export * from './lib/tab-core-utility/app/enums/permission.enum';
|
|
13
|
+
export * from './lib/tab-core-utility/app/enums/query.enum';
|
|
14
|
+
export * from './lib/tab-core-utility/app/enums/workflow.enum';
|
|
15
|
+
export * from './lib/tab-core-utility/app/helpers/common/app.helpers';
|
|
16
|
+
export * from './lib/tab-core-utility/app/helpers/common/dsq.helpers';
|
|
17
|
+
export * from './lib/tab-core-utility/app/helpers/common/req-res.helpers';
|
|
18
|
+
export * from './lib/tab-core-utility/app/helpers/common/where-clause.helpers';
|
|
19
|
+
export * from './lib/tab-core-utility/app/helpers/screen/forms.helpers';
|
|
20
|
+
export * from './lib/tab-core-utility/app/helpers/screen/grid-column-data.helpers';
|
|
21
|
+
export * from './lib/tab-core-utility/app/helpers/screen/grid.helpers';
|
|
22
|
+
export * from './lib/tab-core-utility/app/helpers/screen/media-upload.helpers';
|
|
23
|
+
export * from './lib/tab-core-utility/app/helpers/screen/plugin.helpers';
|
|
24
|
+
export * from './lib/tab-core-utility/app/helpers/screen/screen.helpers';
|
|
25
|
+
export * from './lib/tab-core-utility/app/interfaces/auth.interface';
|
|
26
|
+
export * from './lib/tab-core-utility/app/interfaces/common-api.interface';
|
|
27
|
+
export * from './lib/tab-core-utility/app/interfaces/user.interface';
|
|
28
|
+
export * from './lib/tab-core-utility/app/interfaces/orgInfo.interface';
|
|
29
|
+
export * from './lib/tab-core-utility/app/interfaces/schema.interface';
|
|
30
|
+
export * from './lib/tab-core-utility/app/interfaces/grid.interface';
|
|
31
|
+
export * from './lib/tab-core-utility/app/models/api-query.class';
|
|
32
|
+
export * from './lib/tab-core-utility/app/models/app-object.class';
|
|
33
|
+
export * from './lib/tab-core-utility/app/models/common.class';
|
|
34
|
+
export * from './lib/tab-core-utility/app/models/data-source-queries.class';
|
|
35
|
+
export * from './lib/tab-core-utility/app/utils/filter.util';
|
|
36
|
+
export * from './lib/tab-core-utility/app/utils/form-builder.util';
|
|
37
|
+
export * from './lib/tab-core-utility/app/utils/json.util';
|
|
38
|
+
export * from './lib/tab-core-utility/app/utils/operators.util';
|
|
39
|
+
export * from './lib/tab-core-utility/app/utils/req-res.util';
|
|
40
|
+
export * from './lib/tab-core-utility/app/utils/tab-app.util';
|
|
41
|
+
export * from './lib/tab-core-utility/auth/auth.service';
|
|
42
|
+
export * from './lib/tab-core-utility/auth/local-storage.service';
|
|
43
|
+
export * from './lib/tab-core-utility/auth/session-storage.service';
|
|
44
|
+
export * from './lib/tab-core-utility/auth/idb-storage.service';
|
|
45
|
+
export * from './lib/tab-core-utility/core/error-handler/error-handler-interceptor.service';
|
|
46
|
+
export * from './lib/tab-core-utility/core/error-handler/error-handler.store';
|
|
47
|
+
export * from './lib/tab-core-utility/core/error-handler/models/error-handler.state';
|
|
48
|
+
export * from './lib/tab-core-utility/core/http-client/api-url.token';
|
|
49
|
+
export * from './lib/tab-core-utility/core/http-client/api.service';
|
|
50
|
+
export * from './lib/tab-core-utility/core/util/auth.utils';
|
|
51
|
+
export * from './lib/tab-core-utility/store/orginfo.store';
|
|
52
|
+
export * from './lib/tab-core-utility/store/schema.store';
|
|
53
|
+
export * from './lib/tab-core-utility/store/auth.store';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const API: {
|
|
2
|
+
applicationIdentifier: string;
|
|
3
|
+
applicationIdentifierForPMS: string;
|
|
4
|
+
novuBackendUrl: string;
|
|
5
|
+
novuSocketUrl: string;
|
|
6
|
+
insert: string;
|
|
7
|
+
update: string;
|
|
8
|
+
delete: string;
|
|
9
|
+
select: string;
|
|
10
|
+
getDSQ: string;
|
|
11
|
+
getScreen: string;
|
|
12
|
+
getListFromDsq: string;
|
|
13
|
+
buildApp: string;
|
|
14
|
+
getSchema: string;
|
|
15
|
+
login: string;
|
|
16
|
+
pluginUpload: string;
|
|
17
|
+
getFile: string;
|
|
18
|
+
getAllPluginByType: string;
|
|
19
|
+
templateParse: string;
|
|
20
|
+
publishApp: string;
|
|
21
|
+
getrecord: string;
|
|
22
|
+
rawSQL: string;
|
|
23
|
+
fileUpload: string;
|
|
24
|
+
getMediaFile: string;
|
|
25
|
+
getHistory: string;
|
|
26
|
+
changePassword: string;
|
|
27
|
+
restpassword: string;
|
|
28
|
+
getImage: string;
|
|
29
|
+
pmjayImport: string;
|
|
30
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const StorageConstants: {
|
|
2
|
+
tabData: string;
|
|
3
|
+
formJson: string;
|
|
4
|
+
schemaJSON: string;
|
|
5
|
+
orgInfo: string;
|
|
6
|
+
applicationCode: string;
|
|
7
|
+
TAB: string;
|
|
8
|
+
userInfo: string;
|
|
9
|
+
token: string;
|
|
10
|
+
staticToken: string;
|
|
11
|
+
screenId: string;
|
|
12
|
+
editScreenQueryParam: string;
|
|
13
|
+
layoutScreenId: string;
|
|
14
|
+
tabScreen: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { APIDeleteQuery } from "../models/api-query.class";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TabDeleteService {
|
|
4
|
+
private readonly dsqHelper;
|
|
5
|
+
private readonly screenHelper;
|
|
6
|
+
private readonly whereClauseHelper;
|
|
7
|
+
private readonly requestResponseHelper;
|
|
8
|
+
/**
|
|
9
|
+
* Deletes a record based on the given screen ID, data, and object ID.
|
|
10
|
+
* @param screenId The ID of the screen.
|
|
11
|
+
* @param data The data of the record to delete.
|
|
12
|
+
* @param objectIDToSave The object ID of the record to save.
|
|
13
|
+
* @returns An Observable emitting the response of the delete operation.
|
|
14
|
+
*/
|
|
15
|
+
deleteRecord(screenId: string, data: any, objectIDToSave: any): import("rxjs").Observable<any> | null;
|
|
16
|
+
/**
|
|
17
|
+
* Deletes a record by the specified table name and primary key value.
|
|
18
|
+
* @param tableName The name of the table.
|
|
19
|
+
* @param primaryKey The primary key field.
|
|
20
|
+
* @param primaryKeyValue The value of the primary key.
|
|
21
|
+
* @returns An Observable emitting the response of the delete operation.
|
|
22
|
+
*/
|
|
23
|
+
deleteRecordByTable(tableName: string, primaryKey: string, primaryKeyValue: string): import("rxjs").Observable<any> | null;
|
|
24
|
+
/**
|
|
25
|
+
* Executes the delete operation.
|
|
26
|
+
* @param data The delete query payload.
|
|
27
|
+
* @returns An Observable emitting the response of the delete operation.
|
|
28
|
+
*/
|
|
29
|
+
delete(data: APIDeleteQuery): import("rxjs").Observable<any> | null;
|
|
30
|
+
/**
|
|
31
|
+
* Displays a delete confirmation popup.
|
|
32
|
+
* @returns True if the user confirms the delete operation, otherwise false.
|
|
33
|
+
*/
|
|
34
|
+
deleteRecordPopup(): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Deletes multiple records by table name and values.
|
|
37
|
+
* @param tableName The name of the table.
|
|
38
|
+
* @param values The values of the records to delete.
|
|
39
|
+
* @returns An Observable emitting the response of the delete operation.
|
|
40
|
+
*/
|
|
41
|
+
deleteMultipleRecordByTable(tableName: string, values: any): import("rxjs").Observable<any> | null;
|
|
42
|
+
/**
|
|
43
|
+
* Generates a values array from the data.
|
|
44
|
+
* @param dataArray The array of data.
|
|
45
|
+
* @param key The key to extract from each element.
|
|
46
|
+
* @returns The array of values.
|
|
47
|
+
*/
|
|
48
|
+
generateValuesArrayFromData(dataArray: any, key: any): any;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabDeleteService, never>;
|
|
50
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TabDeleteService>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { APISelectQuery } from "../models/api-query.class";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TabGetService {
|
|
4
|
+
private readonly apiService;
|
|
5
|
+
private readonly dsqHelper;
|
|
6
|
+
/**
|
|
7
|
+
* Execute RAW DSQ with Name
|
|
8
|
+
* @param data - Object containing AppObjectName and DSQName
|
|
9
|
+
* @returns Response from the API
|
|
10
|
+
*/
|
|
11
|
+
executeRAWDSQWithName(data: any): any;
|
|
12
|
+
/**
|
|
13
|
+
* Get Record
|
|
14
|
+
* @param params - Parameters for the request
|
|
15
|
+
* @returns Response from the API
|
|
16
|
+
*/
|
|
17
|
+
getRecord(params: any): any;
|
|
18
|
+
/**
|
|
19
|
+
* Execute Raw SQL
|
|
20
|
+
* @param data - Data for the request
|
|
21
|
+
* @returns Response from the API
|
|
22
|
+
*/
|
|
23
|
+
executeRawSql(data: any): any;
|
|
24
|
+
/**
|
|
25
|
+
* Get History
|
|
26
|
+
* @param appObjectId - ID of the application object
|
|
27
|
+
* @param recordIds - Array of record IDs
|
|
28
|
+
* @returns Response from the API
|
|
29
|
+
*/
|
|
30
|
+
getHistory(appObjectId: string, recordIds: string[]): any;
|
|
31
|
+
/**
|
|
32
|
+
* Change Password
|
|
33
|
+
* @param data - Data for changing password
|
|
34
|
+
* @returns Response from the API
|
|
35
|
+
*/
|
|
36
|
+
changePassword(data: any): any;
|
|
37
|
+
/**
|
|
38
|
+
* Reset Password
|
|
39
|
+
* @param data - Data for resetting password
|
|
40
|
+
* @returns Response from the API
|
|
41
|
+
*/
|
|
42
|
+
resetPassword(data: any): any;
|
|
43
|
+
/**
|
|
44
|
+
* PMJAY Import
|
|
45
|
+
* @param data - Data for PMJAY import
|
|
46
|
+
* @returns Response from the API
|
|
47
|
+
*/
|
|
48
|
+
pmjayImport(data: any): any;
|
|
49
|
+
/**
|
|
50
|
+
* Executes a select query with optional parameters
|
|
51
|
+
* @param data - The select query data
|
|
52
|
+
* @param parameters - Optional parameters to be applied to the query
|
|
53
|
+
* @returns Result of the select query execution
|
|
54
|
+
*/
|
|
55
|
+
selectExecutor(data: APISelectQuery, parameters?: any): any;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabGetService, never>;
|
|
57
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TabGetService>;
|
|
58
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AppObject } from '../models/app-object.class';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TabInsertService {
|
|
4
|
+
private readonly dsqHelper;
|
|
5
|
+
private readonly screenHelper;
|
|
6
|
+
private readonly whereClauseHelper;
|
|
7
|
+
private readonly requestResponseHelper;
|
|
8
|
+
/**
|
|
9
|
+
* Inserts data by screen ID.
|
|
10
|
+
* @param screenId The ID of the screen.
|
|
11
|
+
* @param data The data to insert.
|
|
12
|
+
* @returns An Observable with the insert result.
|
|
13
|
+
*/
|
|
14
|
+
insertByScreenId(screenId: string, data: any): import("rxjs").Observable<any> | null;
|
|
15
|
+
/**
|
|
16
|
+
* Inserts data by object ID.
|
|
17
|
+
* @param objectId The ID of the object.
|
|
18
|
+
* @param data The data to insert.
|
|
19
|
+
* @returns An Observable with the insert result.
|
|
20
|
+
*/
|
|
21
|
+
insertByObjectId(objectId: string, data: any): import("rxjs").Observable<any> | null;
|
|
22
|
+
/**
|
|
23
|
+
* Prepares data for insertion.
|
|
24
|
+
* @param appObject The app object.
|
|
25
|
+
* @param data The data to insert.
|
|
26
|
+
* @returns An Observable with the prepared data.
|
|
27
|
+
*/
|
|
28
|
+
prepareInsert(appObject: AppObject, data: any): import("rxjs").Observable<any> | null;
|
|
29
|
+
/**
|
|
30
|
+
* Inserts data.
|
|
31
|
+
* @param data The data to insert.
|
|
32
|
+
* @returns An Observable with the insert result.
|
|
33
|
+
*/
|
|
34
|
+
insert(data: any): import("rxjs").Observable<any> | null;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabInsertService, never>;
|
|
36
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TabInsertService>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { APIUpdateQuery } from "../models/api-query.class";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TabUpdateService {
|
|
4
|
+
private readonly dsqHelper;
|
|
5
|
+
private readonly screenHelper;
|
|
6
|
+
private readonly whereClauseHelper;
|
|
7
|
+
private readonly requestResponseHelper;
|
|
8
|
+
update(data: APIUpdateQuery): import("rxjs").Observable<any> | null;
|
|
9
|
+
updateUsingDSQ(dsqId: string, data: any, tableName: string, queryFieldsArray?: any): import("rxjs").Observable<any> | null;
|
|
10
|
+
updateUsingScreenId(screenId: string, data: any, objectIdToSave?: string): import("rxjs").Observable<any> | null;
|
|
11
|
+
updateScreen(screenId: string, screenData: any): import("rxjs").Observable<any> | null;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabUpdateService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TabUpdateService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TabWorkflowService {
|
|
3
|
+
private readonly apiService;
|
|
4
|
+
/**
|
|
5
|
+
* Executes a TAB workflow.
|
|
6
|
+
* @param endPoint The endpoint for the workflow.
|
|
7
|
+
* @param data The data to send with the request.
|
|
8
|
+
* @returns An observable of the workflow execution result.
|
|
9
|
+
*/
|
|
10
|
+
executeTABWorkflow(endPoint: string, data: string): import("rxjs").Observable<any> | null;
|
|
11
|
+
/**
|
|
12
|
+
* Executes an ELSA workflow.
|
|
13
|
+
* @param endPoint The endpoint for the workflow.
|
|
14
|
+
* @param data The data to send with the request.
|
|
15
|
+
* @returns An observable of the workflow execution result.
|
|
16
|
+
*/
|
|
17
|
+
executeELSAWorkflow(endPoint: string, data: string): import("rxjs").Observable<any> | null;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabWorkflowService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TabWorkflowService>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare enum DataTypes {
|
|
2
|
+
AutoNumber = 1,
|
|
3
|
+
Number = 2,
|
|
4
|
+
CheckBox = 3,
|
|
5
|
+
Currency = 4,
|
|
6
|
+
Date = 5,
|
|
7
|
+
DateTime = 6,
|
|
8
|
+
Email = 7,
|
|
9
|
+
GeoLocation = 8,
|
|
10
|
+
Percent = 9,
|
|
11
|
+
PhoneNumber = 10,
|
|
12
|
+
PickList = 11,
|
|
13
|
+
PickList_MultiSelect = 12,
|
|
14
|
+
Text = 13,
|
|
15
|
+
TextArea = 14,
|
|
16
|
+
TextArea_RICHEDITOR = 15,
|
|
17
|
+
URL = 16,
|
|
18
|
+
UniqueIdentifier = 17,
|
|
19
|
+
Insert_TimeStamp = 18,
|
|
20
|
+
Update_TimeStamp = 19,
|
|
21
|
+
NextNumber = 20,
|
|
22
|
+
Array = 21,
|
|
23
|
+
JSON = 22
|
|
24
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare enum ConjuctionClause {
|
|
2
|
+
AND = 1,
|
|
3
|
+
OR = 2,
|
|
4
|
+
AND_NOT = 3,
|
|
5
|
+
OR_NOT = 4
|
|
6
|
+
}
|
|
7
|
+
export declare enum RelationalOperator {
|
|
8
|
+
GreaterThan = 1,
|
|
9
|
+
LessThan = 2,
|
|
10
|
+
EqualTo = 3,
|
|
11
|
+
IN = 4,
|
|
12
|
+
NOTIN = 5,
|
|
13
|
+
IsNULL = 6,
|
|
14
|
+
IsNotNULL = 7,
|
|
15
|
+
NotEqualTo = 8,
|
|
16
|
+
GreaterThanOREqualTo = 9,
|
|
17
|
+
LessThanOREqualTo = 10,
|
|
18
|
+
Contains = 11,
|
|
19
|
+
NotContains = 12,
|
|
20
|
+
StartsWith = 13,
|
|
21
|
+
NotStartsWith = 14,
|
|
22
|
+
EndsWith = 15,
|
|
23
|
+
NotEndsWith = 16,
|
|
24
|
+
Between = 17,
|
|
25
|
+
NotBetween = 18,
|
|
26
|
+
SplitContains = 19,
|
|
27
|
+
NotSplitContains = 20
|
|
28
|
+
}
|
|
29
|
+
export declare enum FilterValueType {
|
|
30
|
+
Literal = 1,
|
|
31
|
+
Parameter = 2,
|
|
32
|
+
Property = 3,
|
|
33
|
+
Global = 4
|
|
34
|
+
}
|
|
35
|
+
export declare enum SortSequence {
|
|
36
|
+
Asc = 1,
|
|
37
|
+
Desc = 2
|
|
38
|
+
}
|
|
39
|
+
export declare enum ObjectCreationType {
|
|
40
|
+
Standard = 1,
|
|
41
|
+
Custom = 2
|
|
42
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum AccessType {
|
|
2
|
+
READ = "READ",
|
|
3
|
+
CREATE = "CREATE",
|
|
4
|
+
UPDATE = "UPDATE",
|
|
5
|
+
DELETE = "DELETE"
|
|
6
|
+
}
|
|
7
|
+
export declare enum AccessPermission {
|
|
8
|
+
None = 1,
|
|
9
|
+
Own = 2,
|
|
10
|
+
Team = 3,
|
|
11
|
+
All = 4
|
|
12
|
+
}
|
|
13
|
+
export declare enum DeploymentStatus {
|
|
14
|
+
InDevelopment = 1,
|
|
15
|
+
Deployed = 2
|
|
16
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare enum WorkFlowTriggerType {
|
|
2
|
+
EventBased = 1,
|
|
3
|
+
DateBased = 2
|
|
4
|
+
}
|
|
5
|
+
export declare enum WorkFlowEventExecution_WorkFlowTriggerEvent {
|
|
6
|
+
Created = 1,
|
|
7
|
+
Edited = 2,
|
|
8
|
+
CreatedOrEdited = 3,
|
|
9
|
+
Deleted = 4
|
|
10
|
+
}
|
|
11
|
+
export declare enum WorkFlowEventExecution_WorkFlowTriggerFieldCriteria {
|
|
12
|
+
WhenAnyFieldIsUpdated = 1,
|
|
13
|
+
WhenAnySelectedFieldIsUpdated = 2,
|
|
14
|
+
WhenSelectedAllFieldsAreUpdated = 3
|
|
15
|
+
}
|
|
16
|
+
export declare enum WorkFlowEventExecution_WorkFlowTriggerOccurence {
|
|
17
|
+
Everytime = 1,
|
|
18
|
+
FirstTime = 2
|
|
19
|
+
}
|
|
20
|
+
export declare enum WorkFlowTimeExecution_DaysRelationalOperator {
|
|
21
|
+
Before = 1,
|
|
22
|
+
After = 2
|
|
23
|
+
}
|
|
24
|
+
export declare enum WorkFlowTimeExecution_ExecutionCycle {
|
|
25
|
+
Once = 1,
|
|
26
|
+
Weekly = 2,
|
|
27
|
+
Monthly = 3,
|
|
28
|
+
Yearly = 4,
|
|
29
|
+
Daily = 5
|
|
30
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AppHelper {
|
|
3
|
+
private readonly apiService;
|
|
4
|
+
private readonly localStorageService;
|
|
5
|
+
/**
|
|
6
|
+
* Rebuilds the application.
|
|
7
|
+
* @param data Optional data for rebuilding the application
|
|
8
|
+
* @returns Result of the rebuild operation
|
|
9
|
+
*/
|
|
10
|
+
rebuildApp(data?: any): import("rxjs").Observable<any> | null;
|
|
11
|
+
/**
|
|
12
|
+
* Publishes the application.
|
|
13
|
+
* @param params Optional parameters for publishing the application
|
|
14
|
+
* @returns Result of the publish operation
|
|
15
|
+
*/
|
|
16
|
+
publishApp(params?: any): import("rxjs").Observable<any> | null;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieves screen data.
|
|
19
|
+
* @param params Optional parameters for retrieving screen data
|
|
20
|
+
* @returns Screen data
|
|
21
|
+
*/
|
|
22
|
+
getScreen(params?: any): import("rxjs").Observable<any> | null;
|
|
23
|
+
/**
|
|
24
|
+
* Retrieves schema data.
|
|
25
|
+
* @param params Optional parameters for retrieving schema data
|
|
26
|
+
* @returns Subscription for getting schema data
|
|
27
|
+
*/
|
|
28
|
+
getSchema(params?: any): import("rxjs").Observable<any> | null;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppHelper, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AppHelper>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { QueryType } from '../../enums/query.enum';
|
|
2
|
+
import { AccessType } from '../../enums/permission.enum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DSQHelper {
|
|
5
|
+
private readonly apiService;
|
|
6
|
+
/**
|
|
7
|
+
* Executes a query based on the query type
|
|
8
|
+
* @param data The data to be executed
|
|
9
|
+
* @param queryType The type of query to be executed
|
|
10
|
+
* @returns The result of the query execution
|
|
11
|
+
*/
|
|
12
|
+
executeQuery(data: any, queryType: QueryType): import("rxjs").Observable<any> | null;
|
|
13
|
+
/**
|
|
14
|
+
* Executes an HTTP POST request with the provided data and URL
|
|
15
|
+
* @param data The data to be sent in the POST request
|
|
16
|
+
* @param endPointName The URL to send the POST request to
|
|
17
|
+
* @returns The result of the POST request if headers are available, otherwise null
|
|
18
|
+
*/
|
|
19
|
+
private execution;
|
|
20
|
+
/**
|
|
21
|
+
* Checks if the user has access to the specified object based on roles and access type
|
|
22
|
+
* @param dsqId The DataSourceQuery ID to check access for
|
|
23
|
+
* @param accessType The type of access to check (e.g., read, write)
|
|
24
|
+
* @param roles The roles of the user with IDs
|
|
25
|
+
* @returns True if the user has access, false otherwise
|
|
26
|
+
*/
|
|
27
|
+
doesHaveObjectAccess(dsqId: string, accessType: AccessType, roles: [{
|
|
28
|
+
ID: string;
|
|
29
|
+
}]): boolean;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DSQHelper, never>;
|
|
31
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DSQHelper>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { APIFilterCriteria, APIValueSets } from '../../models/api-query.class';
|
|
2
|
+
import { QueryType } from '../../enums/query.enum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RequestResponseHelper {
|
|
5
|
+
/**
|
|
6
|
+
* Generates the payload for inserting data into a table
|
|
7
|
+
* @param table The table name to insert data into
|
|
8
|
+
* @param whereClause The filter criteria for the insert operation
|
|
9
|
+
* @param value The value sets to be inserted
|
|
10
|
+
* @returns The payload for the insert operation
|
|
11
|
+
*/
|
|
12
|
+
insertPayload(table: string, whereClause: APIFilterCriteria, value: APIValueSets[]): {
|
|
13
|
+
QueryObjectID: string;
|
|
14
|
+
QueryType: QueryType;
|
|
15
|
+
Joins: never[];
|
|
16
|
+
WhereClause: APIFilterCriteria;
|
|
17
|
+
Values: APIValueSets[];
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Generates the payload for deleting data from a table
|
|
21
|
+
* @param tableName The table name to delete data from
|
|
22
|
+
* @param whereClause The filter criteria for the delete operation
|
|
23
|
+
* @returns The payload for the delete operation
|
|
24
|
+
*/
|
|
25
|
+
deletePayload(tableName: string, whereClause: APIFilterCriteria): {
|
|
26
|
+
QueryObjectID: string;
|
|
27
|
+
QueryType: QueryType;
|
|
28
|
+
Joins: never[];
|
|
29
|
+
WhereClause: APIFilterCriteria;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Generates the payload for updating data in a table
|
|
33
|
+
* @param tableName The table name to update data in
|
|
34
|
+
* @param whereClause The filter criteria for the update operation
|
|
35
|
+
* @param value The value sets to be updated
|
|
36
|
+
* @returns The payload for the update operation
|
|
37
|
+
*/
|
|
38
|
+
updateRequestPayload(tableName: string, whereClause: APIFilterCriteria, value: APIValueSets[]): {
|
|
39
|
+
QueryObjectID: string;
|
|
40
|
+
QueryType: QueryType;
|
|
41
|
+
Joins: never[];
|
|
42
|
+
WhereClause: APIFilterCriteria;
|
|
43
|
+
Values: APIValueSets[];
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Creates a payload object based on the input parameters
|
|
47
|
+
* @param table The table name for the payload
|
|
48
|
+
* @param whereClause The filter criteria for the payload
|
|
49
|
+
* @param value The value sets for the payload
|
|
50
|
+
* @param queryType The type of query for the payload
|
|
51
|
+
* @returns The payload object with QueryObjectID, QueryType, Joins, WhereClause, and Values
|
|
52
|
+
*/
|
|
53
|
+
createPayload(table: string, whereClause: APIFilterCriteria, value: APIValueSets[], queryType: QueryType): {
|
|
54
|
+
QueryObjectID: string;
|
|
55
|
+
QueryType: QueryType;
|
|
56
|
+
Joins: never[];
|
|
57
|
+
WhereClause: APIFilterCriteria;
|
|
58
|
+
Values: APIValueSets[];
|
|
59
|
+
};
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RequestResponseHelper, never>;
|
|
61
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RequestResponseHelper>;
|
|
62
|
+
}
|