@openhi/constructs 0.0.169 → 0.0.171
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/lib/{chunk-DWSWCUZR.mjs → chunk-6HGSR3TG.mjs} +2 -2
- package/lib/chunk-APVVG7BO.mjs +61 -0
- package/lib/chunk-APVVG7BO.mjs.map +1 -0
- package/lib/{chunk-KA3OMP3X.mjs → chunk-AWAWCRWW.mjs} +10 -4
- package/lib/chunk-AWAWCRWW.mjs.map +1 -0
- package/lib/{chunk-ZODGX37H.mjs → chunk-E2OWEBBH.mjs} +3 -3
- package/lib/{chunk-GJTPXJKD.mjs → chunk-EBB4RNUG.mjs} +2 -2
- package/lib/{chunk-O5VQWB6U.mjs → chunk-FDBBTNCI.mjs} +5 -61
- package/lib/chunk-FDBBTNCI.mjs.map +1 -0
- package/lib/{chunk-P3CTZWC2.mjs → chunk-GG2WD6TA.mjs} +2 -2
- package/lib/{chunk-Q64MOYJ7.mjs → chunk-JUSVETWK.mjs} +3 -3
- package/lib/{chunk-ZXPA6W3G.mjs → chunk-RC7HHZR6.mjs} +3 -3
- package/lib/chunk-RC7HHZR6.mjs.map +1 -0
- package/lib/{chunk-2O3CXY2C.mjs → chunk-XJ5SRUGN.mjs} +2 -2
- package/lib/{chunk-2O3CXY2C.mjs.map → chunk-XJ5SRUGN.mjs.map} +1 -1
- package/lib/{chunk-P3NFCKTZ.mjs → chunk-XNUCKVSE.mjs} +2 -2
- package/lib/{chunk-WFTDH2NM.mjs → chunk-Y4RGUAM2.mjs} +2 -2
- package/lib/{chunk-XHG4SODS.mjs → chunk-Z4PZSLYY.mjs} +2 -2
- package/lib/counter-reconciliation.handler.mjs +5 -4
- package/lib/counter-reconciliation.handler.mjs.map +1 -1
- package/lib/data-store-postgres-replication.handler.js +48 -10
- package/lib/data-store-postgres-replication.handler.js.map +1 -1
- package/lib/data-store-postgres-replication.handler.mjs +16 -11
- package/lib/data-store-postgres-replication.handler.mjs.map +1 -1
- package/lib/firehose-archive-transform.handler.d.mts +2 -1
- package/lib/firehose-archive-transform.handler.d.ts +2 -1
- package/lib/firehose-archive-transform.handler.js +44 -4
- package/lib/firehose-archive-transform.handler.js.map +1 -1
- package/lib/firehose-archive-transform.handler.mjs +5 -2
- package/lib/index.d.mts +6 -2
- package/lib/index.d.ts +6 -2
- package/lib/index.js +23 -4
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +27 -7
- package/lib/index.mjs.map +1 -1
- package/lib/pre-token-generation.handler.mjs +6 -5
- package/lib/pre-token-generation.handler.mjs.map +1 -1
- package/lib/provision-default-workspace.handler.mjs +5 -4
- package/lib/provision-default-workspace.handler.mjs.map +1 -1
- package/lib/rest-api-lambda.handler.js +1 -1
- package/lib/rest-api-lambda.handler.js.map +1 -1
- package/lib/rest-api-lambda.handler.mjs +14 -12
- package/lib/rest-api-lambda.handler.mjs.map +1 -1
- package/lib/seed-demo-data.handler.mjs +5 -4
- package/package.json +1 -1
- package/lib/chunk-KA3OMP3X.mjs.map +0 -1
- package/lib/chunk-O5VQWB6U.mjs.map +0 -1
- package/lib/chunk-ZXPA6W3G.mjs.map +0 -1
- /package/lib/{chunk-DWSWCUZR.mjs.map → chunk-6HGSR3TG.mjs.map} +0 -0
- /package/lib/{chunk-ZODGX37H.mjs.map → chunk-E2OWEBBH.mjs.map} +0 -0
- /package/lib/{chunk-GJTPXJKD.mjs.map → chunk-EBB4RNUG.mjs.map} +0 -0
- /package/lib/{chunk-P3CTZWC2.mjs.map → chunk-GG2WD6TA.mjs.map} +0 -0
- /package/lib/{chunk-Q64MOYJ7.mjs.map → chunk-JUSVETWK.mjs.map} +0 -0
- /package/lib/{chunk-P3NFCKTZ.mjs.map → chunk-XNUCKVSE.mjs.map} +0 -0
- /package/lib/{chunk-WFTDH2NM.mjs.map → chunk-Y4RGUAM2.mjs.map} +0 -0
- /package/lib/{chunk-XHG4SODS.mjs.map → chunk-Z4PZSLYY.mjs.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSchemaBootstrapStatements
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XJ5SRUGN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRoleOperation
|
|
6
6
|
} from "./chunk-SD7J3N3C.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
listWorkspacesOperation,
|
|
11
11
|
membershipListByWorkspaceOperation,
|
|
12
12
|
roleAssignmentListByWorkspaceOperation
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JUSVETWK.mjs";
|
|
14
14
|
import {
|
|
15
15
|
createAccountOperation,
|
|
16
16
|
createAppointmentOperation,
|
|
@@ -26,21 +26,21 @@ import {
|
|
|
26
26
|
createPractitionerOperation,
|
|
27
27
|
createProcedureOperation,
|
|
28
28
|
getRoleByIdOperation
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-XNUCKVSE.mjs";
|
|
30
30
|
import {
|
|
31
31
|
listPractitionerRolesOperation,
|
|
32
32
|
listRoleAssignmentsOperation
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-GG2WD6TA.mjs";
|
|
34
34
|
import {
|
|
35
35
|
listMembershipsOperation
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-EBB4RNUG.mjs";
|
|
37
37
|
import {
|
|
38
38
|
createMembershipOperation,
|
|
39
39
|
createRoleAssignmentOperation,
|
|
40
40
|
createTenantOperation,
|
|
41
41
|
createWorkspaceOperation,
|
|
42
42
|
extractDenormalizedReferenceDisplay
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-Z4PZSLYY.mjs";
|
|
44
44
|
import {
|
|
45
45
|
extractRoleLevel,
|
|
46
46
|
publishMembershipDeleted,
|
|
@@ -67,27 +67,29 @@ import {
|
|
|
67
67
|
getUserByIdOperation,
|
|
68
68
|
switchUserTenantWorkspaceOperation,
|
|
69
69
|
updateUserOperation
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-Y4RGUAM2.mjs";
|
|
71
71
|
import {
|
|
72
72
|
listUsersOperation,
|
|
73
73
|
membershipListByUserOperation
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-6HGSR3TG.mjs";
|
|
75
75
|
import {
|
|
76
76
|
getDynamoDataService
|
|
77
77
|
} from "./chunk-6BB4CRSS.mjs";
|
|
78
78
|
import {
|
|
79
79
|
batchGetWithRetry,
|
|
80
80
|
buildUpdatedResourceWithAudit,
|
|
81
|
-
compressResource,
|
|
82
81
|
createDataEntityRecord,
|
|
83
|
-
decompressResource,
|
|
84
82
|
deleteDataEntityById,
|
|
85
83
|
dispatchListMode,
|
|
86
84
|
getDataEntityById,
|
|
87
85
|
listDataEntitiesByWorkspace,
|
|
88
86
|
mergeAuditIntoMeta,
|
|
89
87
|
updateDataEntityById
|
|
90
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-FDBBTNCI.mjs";
|
|
89
|
+
import {
|
|
90
|
+
compressResource,
|
|
91
|
+
decompressResource
|
|
92
|
+
} from "./chunk-APVVG7BO.mjs";
|
|
91
93
|
import {
|
|
92
94
|
ConflictError,
|
|
93
95
|
ForbiddenError,
|
|
@@ -5915,7 +5917,7 @@ function buildGenericSearchSql(opts) {
|
|
|
5915
5917
|
"FROM resources",
|
|
5916
5918
|
"WHERE tenant_id = :tenantId",
|
|
5917
5919
|
" AND workspace_id = :workspaceId",
|
|
5918
|
-
" AND resource_type = :resourceType",
|
|
5920
|
+
" AND LOWER(resource_type) = LOWER(:resourceType)",
|
|
5919
5921
|
" AND deleted_at IS NULL"
|
|
5920
5922
|
];
|
|
5921
5923
|
if (opts.combinedSql.length > 0) {
|