gdc-common-utils-ts 1.16.0 → 1.17.0

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 (30) hide show
  1. package/README.md +7 -2
  2. package/dist/constants/healthcare.d.ts +614 -19
  3. package/dist/constants/healthcare.js +167 -29
  4. package/dist/constants/index.d.ts +2 -0
  5. package/dist/constants/index.js +2 -0
  6. package/dist/constants/permission-templates.d.ts +4 -0
  7. package/dist/constants/permission-templates.js +4 -0
  8. package/dist/examples/communication-attached-bundle-session.d.ts +35 -0
  9. package/dist/examples/communication-attached-bundle-session.js +191 -4
  10. package/dist/examples/communication-bundle-document-request.d.ts +4 -0
  11. package/dist/examples/communication-bundle-document-request.js +11 -1
  12. package/dist/examples/shared.d.ts +3 -0
  13. package/dist/examples/shared.js +3 -0
  14. package/dist/models/index.d.ts +2 -0
  15. package/dist/models/index.js +2 -0
  16. package/dist/models/permission-templates.d.ts +8 -0
  17. package/dist/models/permission-templates.js +7 -0
  18. package/dist/utils/bundle-editor.d.ts +34 -4
  19. package/dist/utils/bundle-editor.js +60 -7
  20. package/dist/utils/communication-attached-bundle-session.d.ts +183 -0
  21. package/dist/utils/communication-attached-bundle-session.js +469 -0
  22. package/dist/utils/communication-bundle-document-request.d.ts +26 -7
  23. package/dist/utils/communication-bundle-document-request.js +50 -9
  24. package/dist/utils/consent-permission-templates.d.ts +110 -0
  25. package/dist/utils/consent-permission-templates.js +273 -0
  26. package/dist/utils/index.d.ts +2 -0
  27. package/dist/utils/index.js +2 -0
  28. package/dist/utils/permission-templates.d.ts +5 -0
  29. package/dist/utils/permission-templates.js +5 -0
  30. package/package.json +1 -1
package/README.md CHANGED
@@ -3,8 +3,8 @@
3
3
  Employee shared examples live in `src/examples/employee.ts`.
4
4
  Employee pure helper functions live in `src/utils/employee.ts`.
5
5
 
6
- The canonical employee contract note lives in
7
- `gdc-sdk-core-ts/docs/EMPLOYEES_101.md`.
6
+ The canonical employee editor note lives in
7
+ [`docs/101-EMPLOYEE_ENTRY_EDITOR.md`](docs/101-EMPLOYEE_ENTRY_EDITOR.md).
8
8
 
9
9
  Shared TypeScript utilities for GDC client and connector code. This package provides low-level primitives for cryptography, DID/DIDComm-related helpers, and the shared models and interfaces used across SDKs.
10
10
 
@@ -36,6 +36,7 @@ read first:
36
36
 
37
37
  - [`docs/101-COMMUNICATION_LAYERING.md`](docs/101-COMMUNICATION_LAYERING.md)
38
38
  - [`docs/101-BUNDLE_EDITOR_READER.md`](docs/101-BUNDLE_EDITOR_READER.md)
39
+ - [`docs/101-CONSENT_PERMISSION_TEMPLATES.md`](docs/101-CONSENT_PERMISSION_TEMPLATES.md)
39
40
 
40
41
  ## Install
41
42
 
@@ -161,6 +162,10 @@ import { JweObject, JwtCompactParts } from 'gdc-common-utils-ts/models';
161
162
  `internet-first` discovery seeding by `jurisdiction + version + networkType`
162
163
  - [docs/consent-access-matrix-task.md](docs/consent-access-matrix-task.md)
163
164
  - next-step design/task document for active consent aggregation, explicit deny precedence, controller views, permission-request communications, and SMART access evaluation
165
+ - [docs/101-CONSENT_PERMISSION_TEMPLATES.md](docs/101-CONSENT_PERMISSION_TEMPLATES.md)
166
+ - canonical design note for role/relationship permission templates, front
167
+ pickers, actor/target/purpose classification, and consent import/export
168
+ planning
164
169
  - [docs/101-IPS_BUNDLE.md](docs/101-IPS_BUNDLE.md)
165
170
  - canonical 101 for requesting IPS, editing IPS-style bundles in `Communication.content-attachment-data`, and reading resources by section
166
171