@learncard/network-brain-service 3.18.0 → 3.19.1
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/.env.example +38 -2
- package/CHANGELOG.md +118 -0
- package/README.md +42 -0
- package/compose.inbox.yml +7 -0
- package/dist/accesslayer/auth-grant/read.d.ts +1 -0
- package/dist/accesslayer/auth-grant/read.d.ts.map +1 -1
- package/dist/accesslayer/consentflowcontract/relationships/create.d.ts.map +1 -1
- package/dist/accesslayer/consentflowcontract/relationships/update.d.ts.map +1 -1
- package/dist/accesslayer/credential-activity/create.d.ts.map +1 -1
- package/dist/accesslayer/credential-refresh/email-delivery.d.ts +18 -0
- package/dist/accesslayer/credential-refresh/email-delivery.d.ts.map +1 -0
- package/dist/accesslayer/credential-refresh/index.d.ts +1 -0
- package/dist/accesslayer/credential-refresh/index.d.ts.map +1 -1
- package/dist/accesslayer/credential-refresh/read.d.ts.map +1 -1
- package/dist/accesslayer/credential-refresh/update.d.ts.map +1 -1
- package/dist/accesslayer/inbox-batch/store.d.ts +33 -0
- package/dist/accesslayer/inbox-batch/store.d.ts.map +1 -0
- package/dist/accesslayer/inbox-credential/create.d.ts +5 -0
- package/dist/accesslayer/inbox-credential/create.d.ts.map +1 -1
- package/dist/accesslayer/inbox-credential/refresh.d.ts +71 -0
- package/dist/accesslayer/inbox-credential/refresh.d.ts.map +1 -0
- package/dist/accesslayer/inbox-credential/update.d.ts +1 -1
- package/dist/accesslayer/inbox-credential/update.d.ts.map +1 -1
- package/dist/accesslayer/presentation/read.d.ts.map +1 -1
- package/dist/accesslayer/presentation/relationships/create.d.ts +2 -2
- package/dist/accesslayer/presentation/relationships/create.d.ts.map +1 -1
- package/dist/accesslayer/presentation/relationships/read.d.ts.map +1 -1
- package/dist/accesslayer/share-link/abandon.d.ts +3 -0
- package/dist/accesslayer/share-link/abandon.d.ts.map +1 -0
- package/dist/accesslayer/share-link/cleanup.d.ts +6 -0
- package/dist/accesslayer/share-link/cleanup.d.ts.map +1 -0
- package/dist/accesslayer/share-link/errors.d.ts +8 -0
- package/dist/accesslayer/share-link/errors.d.ts.map +1 -0
- package/dist/accesslayer/share-link/finalize.d.ts +3 -0
- package/dist/accesslayer/share-link/finalize.d.ts.map +1 -0
- package/dist/accesslayer/share-link/helpers.d.ts +56 -0
- package/dist/accesslayer/share-link/helpers.d.ts.map +1 -0
- package/dist/accesslayer/share-link/index.d.ts +12 -0
- package/dist/accesslayer/share-link/index.d.ts.map +1 -0
- package/dist/accesslayer/share-link/list.d.ts +5 -0
- package/dist/accesslayer/share-link/list.d.ts.map +1 -0
- package/dist/accesslayer/share-link/read.d.ts +5 -0
- package/dist/accesslayer/share-link/read.d.ts.map +1 -0
- package/dist/accesslayer/share-link/receipt.d.ts +11 -0
- package/dist/accesslayer/share-link/receipt.d.ts.map +1 -0
- package/dist/accesslayer/share-link/recovery.d.ts +6 -0
- package/dist/accesslayer/share-link/recovery.d.ts.map +1 -0
- package/dist/accesslayer/share-link/reserve.d.ts +4 -0
- package/dist/accesslayer/share-link/reserve.d.ts.map +1 -0
- package/dist/accesslayer/share-link/revoke.d.ts +3 -0
- package/dist/accesslayer/share-link/revoke.d.ts.map +1 -0
- package/dist/accesslayer/share-link/transaction-execution.d.ts +18 -0
- package/dist/accesslayer/share-link/transaction-execution.d.ts.map +1 -0
- package/dist/accesslayer/share-link/transaction.d.ts +15 -0
- package/dist/accesslayer/share-link/transaction.d.ts.map +1 -0
- package/dist/accesslayer/share-link/types.d.ts +370 -0
- package/dist/accesslayer/share-link/types.d.ts.map +1 -0
- package/dist/app.d.ts +4 -0
- package/dist/app.d.ts.map +1 -1
- package/dist/cache/atomic-counter.test-helpers.d.ts +3 -0
- package/dist/cache/atomic-counter.test-helpers.d.ts.map +1 -0
- package/dist/cache/atomic-counter.test.d.ts +2 -0
- package/dist/cache/atomic-counter.test.d.ts.map +1 -0
- package/dist/cache/index.d.ts +1 -1
- package/dist/cache/index.d.ts.map +1 -1
- package/dist/config/environment.d.ts +55 -0
- package/dist/config/environment.d.ts.map +1 -1
- package/dist/constants/auth-grant.d.ts +2 -0
- package/dist/constants/auth-grant.d.ts.map +1 -1
- package/dist/credential-refresh.d.ts.map +1 -1
- package/dist/helpers/activity.helpers.d.ts +4 -0
- package/dist/helpers/activity.helpers.d.ts.map +1 -1
- package/dist/helpers/boost.helpers.d.ts.map +1 -1
- package/dist/helpers/contact-method.helpers.d.ts.map +1 -1
- package/dist/helpers/contact-method.helpers.test.d.ts +2 -0
- package/dist/helpers/contact-method.helpers.test.d.ts.map +1 -0
- package/dist/helpers/credential-refresh-email-content.helpers.d.ts +44 -0
- package/dist/helpers/credential-refresh-email-content.helpers.d.ts.map +1 -0
- package/dist/helpers/credential-refresh-email-content.helpers.test.d.ts +2 -0
- package/dist/helpers/credential-refresh-email-content.helpers.test.d.ts.map +1 -0
- package/dist/helpers/credential-refresh-email.helpers.d.ts +17 -0
- package/dist/helpers/credential-refresh-email.helpers.d.ts.map +1 -0
- package/dist/helpers/credential-refresh-proof.helpers.d.ts +4 -0
- package/dist/helpers/credential-refresh-proof.helpers.d.ts.map +1 -0
- package/dist/helpers/credential-refresh-proof.helpers.test.d.ts +2 -0
- package/dist/helpers/credential-refresh-proof.helpers.test.d.ts.map +1 -0
- package/dist/helpers/credential-refresh.helpers.d.ts +45 -2
- package/dist/helpers/credential-refresh.helpers.d.ts.map +1 -1
- package/dist/helpers/credential.helpers.d.ts +2 -1
- package/dist/helpers/credential.helpers.d.ts.map +1 -1
- package/dist/helpers/credentialSubject.helpers.d.ts +3 -0
- package/dist/helpers/credentialSubject.helpers.d.ts.map +1 -0
- package/dist/helpers/credentialSubject.helpers.test.d.ts +2 -0
- package/dist/helpers/credentialSubject.helpers.test.d.ts.map +1 -0
- package/dist/helpers/finalize-inbox.helpers.d.ts.map +1 -1
- package/dist/helpers/inbox-batch-http.helpers.d.ts +15 -0
- package/dist/helpers/inbox-batch-http.helpers.d.ts.map +1 -0
- package/dist/helpers/inbox-batch-http.helpers.test.d.ts +2 -0
- package/dist/helpers/inbox-batch-http.helpers.test.d.ts.map +1 -0
- package/dist/helpers/inbox-batch-status.helpers.d.ts +3 -0
- package/dist/helpers/inbox-batch-status.helpers.d.ts.map +1 -0
- package/dist/helpers/inbox-batch.helpers.d.ts +10 -0
- package/dist/helpers/inbox-batch.helpers.d.ts.map +1 -0
- package/dist/helpers/inbox-batch.helpers.test.d.ts +2 -0
- package/dist/helpers/inbox-batch.helpers.test.d.ts.map +1 -0
- package/dist/helpers/inbox-issuance-error.helpers.d.ts +13 -0
- package/dist/helpers/inbox-issuance-error.helpers.d.ts.map +1 -0
- package/dist/helpers/inbox-queue.helpers.d.ts +11 -0
- package/dist/helpers/inbox-queue.helpers.d.ts.map +1 -0
- package/dist/helpers/inbox-queue.helpers.test.d.ts +2 -0
- package/dist/helpers/inbox-queue.helpers.test.d.ts.map +1 -0
- package/dist/helpers/inbox-refresh.helpers.d.ts +186 -0
- package/dist/helpers/inbox-refresh.helpers.d.ts.map +1 -0
- package/dist/helpers/inbox.helpers.d.ts +9 -1
- package/dist/helpers/inbox.helpers.d.ts.map +1 -1
- package/dist/helpers/notificationMessages.d.ts +1 -1
- package/dist/helpers/notificationMessages.d.ts.map +1 -1
- package/dist/helpers/notifications.helpers.d.ts.map +1 -1
- package/dist/helpers/presentation-metadata.d.ts +4 -0
- package/dist/helpers/presentation-metadata.d.ts.map +1 -0
- package/dist/helpers/presentation.helpers.d.ts +1 -1
- package/dist/helpers/presentation.helpers.d.ts.map +1 -1
- package/dist/helpers/profile.helpers.d.ts +1 -0
- package/dist/helpers/profile.helpers.d.ts.map +1 -1
- package/dist/helpers/rateLimit.helpers.d.ts.map +1 -1
- package/dist/helpers/refresh-send-intent.helpers.d.ts +51 -0
- package/dist/helpers/refresh-send-intent.helpers.d.ts.map +1 -0
- package/dist/helpers/share-content-client/adapters.d.ts +10 -0
- package/dist/helpers/share-content-client/adapters.d.ts.map +1 -0
- package/dist/helpers/share-content-client/canonical.d.ts +7 -0
- package/dist/helpers/share-content-client/canonical.d.ts.map +1 -0
- package/dist/helpers/share-content-client/client.d.ts +5 -0
- package/dist/helpers/share-content-client/client.d.ts.map +1 -0
- package/dist/helpers/share-content-client/config.d.ts +11 -0
- package/dist/helpers/share-content-client/config.d.ts.map +1 -0
- package/dist/helpers/share-content-client/index.d.ts +6 -0
- package/dist/helpers/share-content-client/index.d.ts.map +1 -0
- package/dist/helpers/share-content-client/responses.d.ts +16 -0
- package/dist/helpers/share-content-client/responses.d.ts.map +1 -0
- package/dist/helpers/share-content-client/types.d.ts +145 -0
- package/dist/helpers/share-content-client/types.d.ts.map +1 -0
- package/dist/helpers/share-link-coordinator/budget-helpers.d.ts +5 -0
- package/dist/helpers/share-link-coordinator/budget-helpers.d.ts.map +1 -0
- package/dist/helpers/share-link-coordinator/cleanup-runner.d.ts +3 -0
- package/dist/helpers/share-link-coordinator/cleanup-runner.d.ts.map +1 -0
- package/dist/helpers/share-link-coordinator/coordinator.d.ts +4 -0
- package/dist/helpers/share-link-coordinator/coordinator.d.ts.map +1 -0
- package/dist/helpers/share-link-coordinator/index.d.ts +5 -0
- package/dist/helpers/share-link-coordinator/index.d.ts.map +1 -0
- package/dist/helpers/share-link-coordinator/recovery-runner.d.ts +9 -0
- package/dist/helpers/share-link-coordinator/recovery-runner.d.ts.map +1 -0
- package/dist/helpers/share-link-coordinator/runtime.d.ts +11 -0
- package/dist/helpers/share-link-coordinator/runtime.d.ts.map +1 -0
- package/dist/helpers/share-link-coordinator/stat.d.ts +4 -0
- package/dist/helpers/share-link-coordinator/stat.d.ts.map +1 -0
- package/dist/helpers/share-link-coordinator/types.d.ts +160 -0
- package/dist/helpers/share-link-coordinator/types.d.ts.map +1 -0
- package/dist/helpers/share-link-lifecycle/index.d.ts +5 -0
- package/dist/helpers/share-link-lifecycle/index.d.ts.map +1 -0
- package/dist/helpers/share-link-lifecycle/lease.helpers.d.ts +4 -0
- package/dist/helpers/share-link-lifecycle/lease.helpers.d.ts.map +1 -0
- package/dist/helpers/share-link-lifecycle/recovery.helpers.d.ts +21 -0
- package/dist/helpers/share-link-lifecycle/recovery.helpers.d.ts.map +1 -0
- package/dist/helpers/share-link-lifecycle/request-hash.helpers.d.ts +9 -0
- package/dist/helpers/share-link-lifecycle/request-hash.helpers.d.ts.map +1 -0
- package/dist/helpers/share-link-lifecycle/types.d.ts +14 -0
- package/dist/helpers/share-link-lifecycle/types.d.ts.map +1 -0
- package/dist/helpers/share-link-maintenance/budget.d.ts +12 -0
- package/dist/helpers/share-link-maintenance/budget.d.ts.map +1 -0
- package/dist/helpers/share-link-maintenance/config.d.ts +48 -0
- package/dist/helpers/share-link-maintenance/config.d.ts.map +1 -0
- package/dist/helpers/share-link-maintenance/index.d.ts +8 -0
- package/dist/helpers/share-link-maintenance/index.d.ts.map +1 -0
- package/dist/helpers/share-link-maintenance/runner.d.ts +19 -0
- package/dist/helpers/share-link-maintenance/runner.d.ts.map +1 -0
- package/dist/helpers/share-link-maintenance/runtime.d.ts +36 -0
- package/dist/helpers/share-link-maintenance/runtime.d.ts.map +1 -0
- package/dist/helpers/share-link-maintenance/scheduler.d.ts +18 -0
- package/dist/helpers/share-link-maintenance/scheduler.d.ts.map +1 -0
- package/dist/helpers/share-link-maintenance/telemetry.d.ts +5 -0
- package/dist/helpers/share-link-maintenance/telemetry.d.ts.map +1 -0
- package/dist/helpers/share-link-maintenance/types.d.ts +53 -0
- package/dist/helpers/share-link-maintenance/types.d.ts.map +1 -0
- package/dist/helpers/share-link-owner/config.d.ts +16 -0
- package/dist/helpers/share-link-owner/config.d.ts.map +1 -0
- package/dist/helpers/share-link-owner/diagnostics.d.ts +26 -0
- package/dist/helpers/share-link-owner/diagnostics.d.ts.map +1 -0
- package/dist/helpers/share-link-owner/lazy-initializer.d.ts +2 -0
- package/dist/helpers/share-link-owner/lazy-initializer.d.ts.map +1 -0
- package/dist/helpers/share-link-owner-projection.d.ts +4 -0
- package/dist/helpers/share-link-owner-projection.d.ts.map +1 -0
- package/dist/helpers/share-link-passcode-abuse.d.ts +2 -0
- package/dist/helpers/share-link-passcode-abuse.d.ts.map +1 -0
- package/dist/helpers/share-link-passcode.d.ts +6 -0
- package/dist/helpers/share-link-passcode.d.ts.map +1 -0
- package/dist/helpers/share-link-policy/index.d.ts +4 -0
- package/dist/helpers/share-link-policy/index.d.ts.map +1 -0
- package/dist/helpers/share-link-policy/production.d.ts +13 -0
- package/dist/helpers/share-link-policy/production.d.ts.map +1 -0
- package/dist/helpers/share-link-policy/resolver.d.ts +6 -0
- package/dist/helpers/share-link-policy/resolver.d.ts.map +1 -0
- package/dist/helpers/share-link-policy/types.d.ts +16 -0
- package/dist/helpers/share-link-policy/types.d.ts.map +1 -0
- package/dist/helpers/share-link-public/config.d.ts +13 -0
- package/dist/helpers/share-link-public/config.d.ts.map +1 -0
- package/dist/helpers/share-link-view-notification.d.ts +2 -0
- package/dist/helpers/share-link-view-notification.d.ts.map +1 -0
- package/dist/helpers/shim.d.ts +1 -1
- package/dist/helpers/shim.d.ts.map +1 -1
- package/dist/inbox-queue-local.d.ts +2 -0
- package/dist/inbox-queue-local.d.ts.map +1 -0
- package/dist/index.js +2 -2
- package/dist/models/AuthGrant.d.ts.map +1 -1
- package/dist/models/CredentialActivity.d.ts +1 -0
- package/dist/models/CredentialActivity.d.ts.map +1 -1
- package/dist/models/CredentialRefresh.d.ts +5 -2
- package/dist/models/CredentialRefresh.d.ts.map +1 -1
- package/dist/models/InboxCredential.d.ts +1 -0
- package/dist/models/InboxCredential.d.ts.map +1 -1
- package/dist/models/Presentation.d.ts +2 -0
- package/dist/models/Presentation.d.ts.map +1 -1
- package/dist/models/Profile.d.ts +2 -0
- package/dist/models/Profile.d.ts.map +1 -1
- package/dist/models/ShareLink.d.ts +44 -0
- package/dist/models/ShareLink.d.ts.map +1 -0
- package/dist/models/ShareViewReceipt.d.ts +22 -0
- package/dist/models/ShareViewReceipt.d.ts.map +1 -0
- package/dist/models/credential-refresh-constraints.d.ts.map +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/share-link-constraints.d.ts +3 -0
- package/dist/models/share-link-constraints.d.ts.map +1 -0
- package/dist/openapi.d.ts.map +1 -1
- package/dist/public-share-link-http.d.ts +4 -0
- package/dist/public-share-link-http.d.ts.map +1 -0
- package/dist/routes/act-as.test.d.ts +2 -0
- package/dist/routes/act-as.test.d.ts.map +1 -0
- package/dist/routes/activity.d.ts +3 -0
- package/dist/routes/activity.d.ts.map +1 -1
- package/dist/routes/app-store.d.ts.map +1 -1
- package/dist/routes/auth-grants.d.ts +10 -0
- package/dist/routes/auth-grants.d.ts.map +1 -1
- package/dist/routes/boosts.d.ts +494 -0
- package/dist/routes/boosts.d.ts.map +1 -1
- package/dist/routes/contracts.d.ts +2 -2
- package/dist/routes/contracts.d.ts.map +1 -1
- package/dist/routes/credential-refreshes.d.ts.map +1 -1
- package/dist/routes/credentials.d.ts +1 -1
- package/dist/routes/credentials.d.ts.map +1 -1
- package/dist/routes/inbox.d.ts +953 -11
- package/dist/routes/inbox.d.ts.map +1 -1
- package/dist/routes/index.d.ts +154 -85
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/presentations.d.ts +1 -0
- package/dist/routes/presentations.d.ts.map +1 -1
- package/dist/routes/profile-manager.d.ts.map +1 -1
- package/dist/routes/profiles.d.ts.map +1 -1
- package/dist/routes/public-share-links.d.ts +230 -0
- package/dist/routes/public-share-links.d.ts.map +1 -0
- package/dist/routes/share-links.d.ts +844 -0
- package/dist/routes/share-links.d.ts.map +1 -0
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/services/delivery/adapters/postmark.adapter.d.ts.map +1 -1
- package/dist/services/delivery/adapters/postmark.adapter.test.d.ts +2 -0
- package/dist/services/delivery/adapters/postmark.adapter.test.d.ts.map +1 -0
- package/dist/services/registry/registry.factory.d.ts.map +1 -1
- package/dist/types/activity.d.ts +4 -0
- package/dist/types/activity.d.ts.map +1 -1
- package/dist/types/consentflowcontract.d.ts +1 -1
- package/dist/types/credential-refresh.d.ts +10 -1
- package/dist/types/credential-refresh.d.ts.map +1 -1
- package/dist/types/inbox-batch.d.ts +38 -0
- package/dist/types/inbox-batch.d.ts.map +1 -0
- package/inbox-e2e-setup.ts +53 -1
- package/inbox-elasticmq.conf +10 -0
- package/lambda.ts +64 -16
- package/package.json +24 -16
- package/scripts/seed-demo-persona.ts +425 -0
- package/scripts/setup-inbox-queues.ts +60 -0
- package/serverless-local.yml +2 -0
- package/serverless.yml +111 -0
- package/shareLinkMaintenanceLambda.ts +49 -0
- package/src/accesslayer/auth-grant/read.ts +2 -1
- package/src/accesslayer/consentflowcontract/relationships/create.ts +9 -16
- package/src/accesslayer/consentflowcontract/relationships/update.ts +15 -28
- package/src/accesslayer/credential-activity/create.ts +1 -0
- package/src/accesslayer/credential-refresh/email-delivery.ts +116 -0
- package/src/accesslayer/credential-refresh/index.ts +1 -0
- package/src/accesslayer/credential-refresh/read.ts +8 -2
- package/src/accesslayer/credential-refresh/update.ts +4 -0
- package/src/accesslayer/inbox-batch/store.ts +469 -0
- package/src/accesslayer/inbox-credential/create.ts +51 -19
- package/src/accesslayer/inbox-credential/refresh.ts +221 -0
- package/src/accesslayer/inbox-credential/update.ts +1 -1
- package/src/accesslayer/presentation/read.ts +57 -25
- package/src/accesslayer/presentation/relationships/create.ts +54 -11
- package/src/accesslayer/presentation/relationships/read.ts +21 -6
- package/src/accesslayer/share-link/abandon.ts +100 -0
- package/src/accesslayer/share-link/cleanup.ts +271 -0
- package/src/accesslayer/share-link/errors.ts +32 -0
- package/src/accesslayer/share-link/finalize.ts +265 -0
- package/src/accesslayer/share-link/helpers.ts +419 -0
- package/src/accesslayer/share-link/index.ts +11 -0
- package/src/accesslayer/share-link/list.ts +162 -0
- package/src/accesslayer/share-link/read.ts +107 -0
- package/src/accesslayer/share-link/receipt.ts +548 -0
- package/src/accesslayer/share-link/recovery.ts +545 -0
- package/src/accesslayer/share-link/reserve.ts +684 -0
- package/src/accesslayer/share-link/revoke.ts +197 -0
- package/src/accesslayer/share-link/transaction-execution.ts +72 -0
- package/src/accesslayer/share-link/transaction.ts +126 -0
- package/src/accesslayer/share-link/types.ts +601 -0
- package/src/app.ts +6 -0
- package/src/cache/atomic-counter.test-helpers.ts +27 -0
- package/src/cache/atomic-counter.test.ts +6 -0
- package/src/cache/index.ts +25 -13
- package/src/config/environment.ts +40 -0
- package/src/constants/auth-grant.ts +5 -0
- package/src/credential-refresh.ts +5 -1
- package/src/docker-entry.ts +65 -0
- package/src/helpers/activity.helpers.ts +4 -0
- package/src/helpers/app-counter.helpers.ts +1 -1
- package/src/helpers/boost.helpers.ts +4 -31
- package/src/helpers/contact-method.helpers.test.ts +43 -0
- package/src/helpers/contact-method.helpers.ts +3 -4
- package/src/helpers/credential-refresh-email-content.helpers.test.ts +222 -0
- package/src/helpers/credential-refresh-email-content.helpers.ts +155 -0
- package/src/helpers/credential-refresh-email.helpers.ts +201 -0
- package/src/helpers/credential-refresh-proof.helpers.test.ts +103 -0
- package/src/helpers/credential-refresh-proof.helpers.ts +43 -0
- package/src/helpers/credential-refresh.helpers.ts +375 -99
- package/src/helpers/credential.helpers.ts +4 -1
- package/src/helpers/credentialSubject.helpers.test.ts +114 -0
- package/src/helpers/credentialSubject.helpers.ts +40 -0
- package/src/helpers/finalize-inbox.helpers.ts +29 -14
- package/src/helpers/inbox-batch-http.helpers.test.ts +188 -0
- package/src/helpers/inbox-batch-http.helpers.ts +150 -0
- package/src/helpers/inbox-batch-status.helpers.ts +11 -0
- package/src/helpers/inbox-batch.helpers.test.ts +668 -0
- package/src/helpers/inbox-batch.helpers.ts +374 -0
- package/src/helpers/inbox-issuance-error.helpers.ts +25 -0
- package/src/helpers/inbox-queue.helpers.test.ts +253 -0
- package/src/helpers/inbox-queue.helpers.ts +372 -0
- package/src/helpers/inbox-refresh.helpers.ts +432 -0
- package/src/helpers/inbox.helpers.ts +275 -36
- package/src/helpers/notificationMessages.ts +18 -1
- package/src/helpers/notifications.helpers.ts +4 -2
- package/src/helpers/presentation-metadata.ts +41 -0
- package/src/helpers/presentation.helpers.ts +27 -20
- package/src/helpers/profile.helpers.ts +7 -0
- package/src/helpers/rateLimit.helpers.ts +2 -5
- package/src/helpers/refresh-send-intent.helpers.ts +273 -0
- package/src/helpers/share-content-client/adapters.ts +55 -0
- package/src/helpers/share-content-client/canonical.ts +25 -0
- package/src/helpers/share-content-client/client.ts +440 -0
- package/src/helpers/share-content-client/config.ts +189 -0
- package/src/helpers/share-content-client/index.ts +27 -0
- package/src/helpers/share-content-client/responses.ts +273 -0
- package/src/helpers/share-content-client/types.ts +253 -0
- package/src/helpers/share-link-coordinator/budget-helpers.ts +53 -0
- package/src/helpers/share-link-coordinator/cleanup-runner.ts +286 -0
- package/src/helpers/share-link-coordinator/coordinator.ts +714 -0
- package/src/helpers/share-link-coordinator/index.ts +8 -0
- package/src/helpers/share-link-coordinator/recovery-runner.ts +428 -0
- package/src/helpers/share-link-coordinator/runtime.ts +88 -0
- package/src/helpers/share-link-coordinator/stat.ts +30 -0
- package/src/helpers/share-link-coordinator/types.ts +353 -0
- package/src/helpers/share-link-lifecycle/index.ts +4 -0
- package/src/helpers/share-link-lifecycle/lease.helpers.ts +35 -0
- package/src/helpers/share-link-lifecycle/recovery.helpers.ts +173 -0
- package/src/helpers/share-link-lifecycle/request-hash.helpers.ts +130 -0
- package/src/helpers/share-link-lifecycle/types.ts +58 -0
- package/src/helpers/share-link-maintenance/budget.ts +63 -0
- package/src/helpers/share-link-maintenance/config.ts +312 -0
- package/src/helpers/share-link-maintenance/index.ts +24 -0
- package/src/helpers/share-link-maintenance/runner.ts +223 -0
- package/src/helpers/share-link-maintenance/runtime.ts +334 -0
- package/src/helpers/share-link-maintenance/scheduler.ts +126 -0
- package/src/helpers/share-link-maintenance/telemetry.ts +70 -0
- package/src/helpers/share-link-maintenance/types.ts +89 -0
- package/src/helpers/share-link-owner/config.ts +48 -0
- package/src/helpers/share-link-owner/diagnostics.ts +89 -0
- package/src/helpers/share-link-owner/lazy-initializer.ts +29 -0
- package/src/helpers/share-link-owner-projection.ts +52 -0
- package/src/helpers/share-link-passcode-abuse.ts +36 -0
- package/src/helpers/share-link-passcode.ts +47 -0
- package/src/helpers/share-link-policy/index.ts +7 -0
- package/src/helpers/share-link-policy/production.ts +88 -0
- package/src/helpers/share-link-policy/resolver.ts +108 -0
- package/src/helpers/share-link-policy/types.ts +48 -0
- package/src/helpers/share-link-public/config.ts +41 -0
- package/src/helpers/share-link-view-notification.ts +18 -0
- package/src/helpers/shim.ts +32 -31
- package/src/inbox-queue-local.ts +28 -0
- package/src/models/AuthGrant.ts +1 -0
- package/src/models/CredentialActivity.ts +3 -5
- package/src/models/CredentialRefresh.ts +4 -2
- package/src/models/InboxCredential.ts +2 -0
- package/src/models/Presentation.ts +2 -2
- package/src/models/Profile.ts +3 -2
- package/src/models/ShareLink.ts +130 -0
- package/src/models/ShareViewReceipt.ts +69 -0
- package/src/models/credential-refresh-constraints.test.ts +8 -3
- package/src/models/credential-refresh-constraints.ts +5 -0
- package/src/models/index.ts +2 -0
- package/src/models/share-link-constraints.ts +93 -0
- package/src/openapi.ts +8 -0
- package/src/public-share-link-http.ts +49 -0
- package/src/routes/act-as.test.ts +239 -0
- package/src/routes/app-store.ts +4 -13
- package/src/routes/auth-grants.ts +13 -11
- package/src/routes/boosts.ts +916 -103
- package/src/routes/contracts.ts +2 -11
- package/src/routes/credential-refreshes.test.ts +8 -2
- package/src/routes/credential-refreshes.ts +4 -1
- package/src/routes/credentials.ts +2 -1
- package/src/routes/inbox.ts +95 -49
- package/src/routes/index.ts +216 -46
- package/src/routes/presentations.ts +19 -3
- package/src/routes/profile-manager.ts +10 -2
- package/src/routes/profiles.ts +17 -6
- package/src/routes/public-share-links.ts +814 -0
- package/src/routes/share-links.ts +640 -0
- package/src/routes/skills.ts +1 -1
- package/src/routes/workflows.ts +43 -24
- package/src/services/delivery/adapters/postmark.adapter.test.ts +54 -0
- package/src/services/delivery/adapters/postmark.adapter.ts +16 -1
- package/src/services/registry/registry.factory.ts +2 -1
- package/src/types/activity.ts +2 -0
- package/src/types/credential-refresh.ts +21 -2
- package/src/types/inbox-batch.ts +46 -0
- package/test/atomic-counter.e2e.ts +12 -0
- package/test/auth-grant.spec.ts +21 -21
- package/test/credential-refresh-email.spec.ts +663 -0
- package/test/credential-refresh-publication.spec.ts +2 -0
- package/test/dids.spec.ts +10 -1
- package/test/guardian-gated-routes.spec.ts +13 -0
- package/test/helpers/inbox-e2e-environment.ts +6 -0
- package/test/helpers/share-link-fixtures.ts +94 -0
- package/test/inbox-batch.spec.ts +1338 -0
- package/test/inbox-refresh.spec.ts +534 -0
- package/test/managed-recipient-inbox.spec.ts +130 -0
- package/test/notificationMessages.spec.ts +13 -0
- package/test/openapi.spec.ts +61 -1
- package/test/presentations.spec.ts +54 -6
- package/test/profiles.spec.ts +67 -1
- package/test/refresh-send.spec.ts +1799 -0
- package/test/registry.spec.ts +56 -11
- package/test/share-content-client.contract.spec.ts +365 -0
- package/test/share-content-client.unit.spec.ts +462 -0
- package/test/share-link-abuse.unit.spec.ts +65 -0
- package/test/share-link-coordinator.neo4j.spec.ts +684 -0
- package/test/share-link-coordinator.unit.spec.ts +990 -0
- package/test/share-link-dependency-diagnostics.unit.spec.ts +127 -0
- package/test/share-link-lifecycle.neo4j.spec.ts +1268 -0
- package/test/share-link-lifecycle.unit.spec.ts +205 -0
- package/test/share-link-list-cursor.unit.spec.ts +86 -0
- package/test/share-link-list.neo4j.spec.ts +324 -0
- package/test/share-link-maintenance.neo4j.spec.ts +355 -0
- package/test/share-link-maintenance.unit.spec.ts +1113 -0
- package/test/share-link-owner-policy.unit.spec.ts +210 -0
- package/test/share-link-owner-route.unit.spec.ts +752 -0
- package/test/share-link-owner-runtime.unit.spec.ts +102 -0
- package/test/share-link-passcode.unit.spec.ts +29 -0
- package/test/share-link-policy.unit.spec.ts +135 -0
- package/test/share-link-presentation-metadata.unit.spec.ts +49 -0
- package/test/share-link-production-policy.unit.spec.ts +77 -0
- package/test/share-link-public-config.unit.spec.ts +64 -0
- package/test/share-link-public-http-adapter.unit.spec.ts +315 -0
- package/test/share-link-public-route.unit.spec.ts +800 -0
- package/test/share-link-receipt.neo4j.spec.ts +943 -0
- package/test/share-link-recovery.neo4j.spec.ts +935 -0
- package/test/share-link-recovery.unit.spec.ts +726 -0
- package/vitest.config.ts +10 -0
- package/vitest.inbox-e2e.config.ts +5 -1
- package/vitest.integration.config.ts +2 -0
- package/vitest.share-links-neo4j.config.ts +19 -0
- package/vitest.share-links-unit.config.ts +28 -0
package/dist/routes/inbox.d.ts
CHANGED
|
@@ -760,7 +760,796 @@ export declare const inboxRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
760
760
|
})[] | undefined;
|
|
761
761
|
} | undefined;
|
|
762
762
|
templateUri?: string | undefined;
|
|
763
|
+
refresh?: boolean | undefined;
|
|
764
|
+
idempotencyKey?: string | undefined;
|
|
763
765
|
configuration?: {
|
|
766
|
+
guardianEmail?: string | undefined;
|
|
767
|
+
signingAuthority?: {
|
|
768
|
+
endpoint: string;
|
|
769
|
+
name: string;
|
|
770
|
+
} | undefined;
|
|
771
|
+
webhookUrl?: string | undefined;
|
|
772
|
+
expiresInDays?: number | undefined;
|
|
773
|
+
templateData?: Record<string, unknown> | undefined;
|
|
774
|
+
delivery?: {
|
|
775
|
+
suppress?: boolean | undefined;
|
|
776
|
+
template?: {
|
|
777
|
+
model: {
|
|
778
|
+
issuer?: {
|
|
779
|
+
name?: string | undefined;
|
|
780
|
+
logoUrl?: string | undefined;
|
|
781
|
+
} | undefined;
|
|
782
|
+
credential?: {
|
|
783
|
+
name?: string | undefined;
|
|
784
|
+
type?: string | undefined;
|
|
785
|
+
} | undefined;
|
|
786
|
+
recipient?: {
|
|
787
|
+
name?: string | undefined;
|
|
788
|
+
} | undefined;
|
|
789
|
+
};
|
|
790
|
+
id?: "universal-inbox-claim" | undefined;
|
|
791
|
+
} | undefined;
|
|
792
|
+
} | undefined;
|
|
793
|
+
} | undefined;
|
|
794
|
+
};
|
|
795
|
+
output: {
|
|
796
|
+
issuanceId: string;
|
|
797
|
+
status: "PENDING" | "DELIVERED" | "CLAIMED" | "EXPIRED" | "ISSUED";
|
|
798
|
+
recipient: {
|
|
799
|
+
type: "email";
|
|
800
|
+
value: string;
|
|
801
|
+
} | {
|
|
802
|
+
type: "phone";
|
|
803
|
+
value: string;
|
|
804
|
+
};
|
|
805
|
+
refresh?: {
|
|
806
|
+
refreshService: {
|
|
807
|
+
[x: string]: any;
|
|
808
|
+
id: string;
|
|
809
|
+
type: "LearnCardCredentialRefresh2026";
|
|
810
|
+
authorization?: {
|
|
811
|
+
[x: string]: any;
|
|
812
|
+
type: "LearnCardDIDAuth";
|
|
813
|
+
} | undefined;
|
|
814
|
+
};
|
|
815
|
+
credentialId: string;
|
|
816
|
+
refreshId: string;
|
|
817
|
+
issuerDid: string;
|
|
818
|
+
credentialStatus?: {
|
|
819
|
+
[x: string]: any;
|
|
820
|
+
type: string;
|
|
821
|
+
id?: string | undefined;
|
|
822
|
+
} | {
|
|
823
|
+
[x: string]: any;
|
|
824
|
+
type: string;
|
|
825
|
+
id?: string | undefined;
|
|
826
|
+
}[] | undefined;
|
|
827
|
+
holderDid?: string | undefined;
|
|
828
|
+
} | undefined;
|
|
829
|
+
claimUrl?: string | undefined;
|
|
830
|
+
recipientDid?: string | undefined;
|
|
831
|
+
};
|
|
832
|
+
meta: import(".././routes/index").RouteMetadata;
|
|
833
|
+
}>;
|
|
834
|
+
issueBatch: import("@trpc/server").TRPCMutationProcedure<{
|
|
835
|
+
input: {
|
|
836
|
+
items: {
|
|
837
|
+
recipient: {
|
|
838
|
+
type: "email";
|
|
839
|
+
value: string;
|
|
840
|
+
} | {
|
|
841
|
+
type: "phone";
|
|
842
|
+
value: string;
|
|
843
|
+
};
|
|
844
|
+
configuration?: {
|
|
845
|
+
signingAuthority?: {
|
|
846
|
+
endpoint: string;
|
|
847
|
+
name: string;
|
|
848
|
+
} | undefined;
|
|
849
|
+
webhookUrl?: string | undefined;
|
|
850
|
+
expiresInDays?: number | undefined;
|
|
851
|
+
templateData?: Record<string, unknown> | undefined;
|
|
852
|
+
refresh?: boolean | undefined;
|
|
853
|
+
delivery?: {
|
|
854
|
+
template?: {
|
|
855
|
+
model: {
|
|
856
|
+
issuer?: {
|
|
857
|
+
name?: string | undefined;
|
|
858
|
+
logoUrl?: string | undefined;
|
|
859
|
+
} | undefined;
|
|
860
|
+
credential?: {
|
|
861
|
+
name?: string | undefined;
|
|
862
|
+
type?: string | undefined;
|
|
863
|
+
} | undefined;
|
|
864
|
+
recipient?: {
|
|
865
|
+
name?: string | undefined;
|
|
866
|
+
} | undefined;
|
|
867
|
+
};
|
|
868
|
+
id?: "universal-inbox-claim" | undefined;
|
|
869
|
+
} | undefined;
|
|
870
|
+
suppress?: boolean | undefined;
|
|
871
|
+
} | undefined;
|
|
872
|
+
guardianEmail?: string | null | undefined;
|
|
873
|
+
} | undefined;
|
|
874
|
+
idempotencyKey?: string | undefined;
|
|
875
|
+
credential?: {
|
|
876
|
+
[x: string]: any;
|
|
877
|
+
'@context': (string | Record<string, any>)[];
|
|
878
|
+
type: string[];
|
|
879
|
+
issuer: string | {
|
|
880
|
+
[x: string]: any;
|
|
881
|
+
id?: string | undefined;
|
|
882
|
+
type?: string | string[] | undefined;
|
|
883
|
+
name?: string | undefined;
|
|
884
|
+
url?: string | undefined;
|
|
885
|
+
phone?: string | undefined;
|
|
886
|
+
description?: string | undefined;
|
|
887
|
+
endorsement?: any[] | undefined;
|
|
888
|
+
image?: string | {
|
|
889
|
+
id: string;
|
|
890
|
+
type: string;
|
|
891
|
+
caption?: string | undefined;
|
|
892
|
+
} | undefined;
|
|
893
|
+
email?: string | undefined;
|
|
894
|
+
address?: {
|
|
895
|
+
type: string | string[];
|
|
896
|
+
addressCountry?: string | undefined;
|
|
897
|
+
addressCountryCode?: string | undefined;
|
|
898
|
+
addressRegion?: string | undefined;
|
|
899
|
+
addressLocality?: string | undefined;
|
|
900
|
+
streetAddress?: string | undefined;
|
|
901
|
+
postOfficeBoxNumber?: string | undefined;
|
|
902
|
+
postalCode?: string | undefined;
|
|
903
|
+
geo?: {
|
|
904
|
+
type: string | string[];
|
|
905
|
+
latitude: number;
|
|
906
|
+
longitude: number;
|
|
907
|
+
} | undefined;
|
|
908
|
+
} | undefined;
|
|
909
|
+
otherIdentifier?: {
|
|
910
|
+
type: string | string[];
|
|
911
|
+
identifier: string;
|
|
912
|
+
identifierType: string;
|
|
913
|
+
}[] | undefined;
|
|
914
|
+
official?: string | undefined;
|
|
915
|
+
parentOrg?: any;
|
|
916
|
+
familyName?: string | undefined;
|
|
917
|
+
givenName?: string | undefined;
|
|
918
|
+
additionalName?: string | undefined;
|
|
919
|
+
patronymicName?: string | undefined;
|
|
920
|
+
honorificPrefix?: string | undefined;
|
|
921
|
+
honorificSuffix?: string | undefined;
|
|
922
|
+
familyNamePrefix?: string | undefined;
|
|
923
|
+
dateOfBirth?: string | undefined;
|
|
924
|
+
};
|
|
925
|
+
credentialSubject: {
|
|
926
|
+
[x: string]: any;
|
|
927
|
+
id?: string | undefined;
|
|
928
|
+
} | {
|
|
929
|
+
[x: string]: any;
|
|
930
|
+
id?: string | undefined;
|
|
931
|
+
}[];
|
|
932
|
+
proof: {
|
|
933
|
+
[x: string]: any;
|
|
934
|
+
type: string;
|
|
935
|
+
proofPurpose: string;
|
|
936
|
+
verificationMethod: string;
|
|
937
|
+
created?: string | undefined;
|
|
938
|
+
challenge?: string | undefined;
|
|
939
|
+
domain?: string | undefined;
|
|
940
|
+
nonce?: string | undefined;
|
|
941
|
+
jws?: string | undefined;
|
|
942
|
+
} | {
|
|
943
|
+
[x: string]: any;
|
|
944
|
+
type: string;
|
|
945
|
+
proofPurpose: string;
|
|
946
|
+
verificationMethod: string;
|
|
947
|
+
created?: string | undefined;
|
|
948
|
+
challenge?: string | undefined;
|
|
949
|
+
domain?: string | undefined;
|
|
950
|
+
nonce?: string | undefined;
|
|
951
|
+
jws?: string | undefined;
|
|
952
|
+
}[];
|
|
953
|
+
id?: string | undefined;
|
|
954
|
+
refreshService?: {
|
|
955
|
+
[x: string]: any;
|
|
956
|
+
type: string;
|
|
957
|
+
id?: string | undefined;
|
|
958
|
+
} | {
|
|
959
|
+
[x: string]: any;
|
|
960
|
+
type: string;
|
|
961
|
+
id?: string | undefined;
|
|
962
|
+
}[] | undefined;
|
|
963
|
+
credentialSchema?: {
|
|
964
|
+
[x: string]: any;
|
|
965
|
+
id: string;
|
|
966
|
+
type: string;
|
|
967
|
+
} | {
|
|
968
|
+
[x: string]: any;
|
|
969
|
+
id: string;
|
|
970
|
+
type: string;
|
|
971
|
+
}[] | undefined;
|
|
972
|
+
issuanceDate?: string | undefined;
|
|
973
|
+
expirationDate?: string | undefined;
|
|
974
|
+
credentialStatus?: {
|
|
975
|
+
[x: string]: any;
|
|
976
|
+
type: string;
|
|
977
|
+
id?: string | undefined;
|
|
978
|
+
} | {
|
|
979
|
+
[x: string]: any;
|
|
980
|
+
type: string;
|
|
981
|
+
id?: string | undefined;
|
|
982
|
+
}[] | undefined;
|
|
983
|
+
name?: string | undefined;
|
|
984
|
+
description?: string | undefined;
|
|
985
|
+
validFrom?: string | undefined;
|
|
986
|
+
validUntil?: string | undefined;
|
|
987
|
+
status?: {
|
|
988
|
+
[x: string]: any;
|
|
989
|
+
type: string;
|
|
990
|
+
id?: string | undefined;
|
|
991
|
+
} | {
|
|
992
|
+
[x: string]: any;
|
|
993
|
+
type: string;
|
|
994
|
+
id?: string | undefined;
|
|
995
|
+
}[] | undefined;
|
|
996
|
+
termsOfUse?: {
|
|
997
|
+
[x: string]: any;
|
|
998
|
+
type: string;
|
|
999
|
+
id?: string | undefined;
|
|
1000
|
+
} | {
|
|
1001
|
+
[x: string]: any;
|
|
1002
|
+
type: string;
|
|
1003
|
+
id?: string | undefined;
|
|
1004
|
+
}[] | undefined;
|
|
1005
|
+
evidence?: {
|
|
1006
|
+
[x: string]: any;
|
|
1007
|
+
type: string[];
|
|
1008
|
+
id?: string | undefined;
|
|
1009
|
+
name?: string | undefined;
|
|
1010
|
+
narrative?: string | undefined;
|
|
1011
|
+
description?: string | undefined;
|
|
1012
|
+
genre?: string | undefined;
|
|
1013
|
+
audience?: string | undefined;
|
|
1014
|
+
} | {
|
|
1015
|
+
[x: string]: any;
|
|
1016
|
+
type: string[];
|
|
1017
|
+
id?: string | undefined;
|
|
1018
|
+
name?: string | undefined;
|
|
1019
|
+
narrative?: string | undefined;
|
|
1020
|
+
description?: string | undefined;
|
|
1021
|
+
genre?: string | undefined;
|
|
1022
|
+
audience?: string | undefined;
|
|
1023
|
+
}[] | undefined;
|
|
1024
|
+
renderMethod?: Record<string, any> | {
|
|
1025
|
+
type: "TemplateRenderMethod";
|
|
1026
|
+
renderSuite: string;
|
|
1027
|
+
template: string;
|
|
1028
|
+
renderProperty?: string[] | undefined;
|
|
1029
|
+
outputPreference?: {
|
|
1030
|
+
mediaType: string;
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
} | (Record<string, any> | {
|
|
1033
|
+
type: "TemplateRenderMethod";
|
|
1034
|
+
renderSuite: string;
|
|
1035
|
+
template: string;
|
|
1036
|
+
renderProperty?: string[] | undefined;
|
|
1037
|
+
outputPreference?: {
|
|
1038
|
+
mediaType: string;
|
|
1039
|
+
} | undefined;
|
|
1040
|
+
})[] | undefined;
|
|
1041
|
+
} | {
|
|
1042
|
+
[x: string]: any;
|
|
1043
|
+
'@context': (string | Record<string, any>)[];
|
|
1044
|
+
type: string | string[];
|
|
1045
|
+
proof: {
|
|
1046
|
+
[x: string]: any;
|
|
1047
|
+
type: string;
|
|
1048
|
+
proofPurpose: string;
|
|
1049
|
+
verificationMethod: string;
|
|
1050
|
+
created?: string | undefined;
|
|
1051
|
+
challenge?: string | undefined;
|
|
1052
|
+
domain?: string | undefined;
|
|
1053
|
+
nonce?: string | undefined;
|
|
1054
|
+
jws?: string | undefined;
|
|
1055
|
+
} | {
|
|
1056
|
+
[x: string]: any;
|
|
1057
|
+
type: string;
|
|
1058
|
+
proofPurpose: string;
|
|
1059
|
+
verificationMethod: string;
|
|
1060
|
+
created?: string | undefined;
|
|
1061
|
+
challenge?: string | undefined;
|
|
1062
|
+
domain?: string | undefined;
|
|
1063
|
+
nonce?: string | undefined;
|
|
1064
|
+
jws?: string | undefined;
|
|
1065
|
+
}[];
|
|
1066
|
+
id?: string | undefined;
|
|
1067
|
+
verifiableCredential?: {
|
|
1068
|
+
[x: string]: any;
|
|
1069
|
+
'@context': (string | Record<string, any>)[];
|
|
1070
|
+
type: string[];
|
|
1071
|
+
issuer: string | {
|
|
1072
|
+
[x: string]: any;
|
|
1073
|
+
id?: string | undefined;
|
|
1074
|
+
type?: string | string[] | undefined;
|
|
1075
|
+
name?: string | undefined;
|
|
1076
|
+
url?: string | undefined;
|
|
1077
|
+
phone?: string | undefined;
|
|
1078
|
+
description?: string | undefined;
|
|
1079
|
+
endorsement?: any[] | undefined;
|
|
1080
|
+
image?: string | {
|
|
1081
|
+
id: string;
|
|
1082
|
+
type: string;
|
|
1083
|
+
caption?: string | undefined;
|
|
1084
|
+
} | undefined;
|
|
1085
|
+
email?: string | undefined;
|
|
1086
|
+
address?: {
|
|
1087
|
+
type: string | string[];
|
|
1088
|
+
addressCountry?: string | undefined;
|
|
1089
|
+
addressCountryCode?: string | undefined;
|
|
1090
|
+
addressRegion?: string | undefined;
|
|
1091
|
+
addressLocality?: string | undefined;
|
|
1092
|
+
streetAddress?: string | undefined;
|
|
1093
|
+
postOfficeBoxNumber?: string | undefined;
|
|
1094
|
+
postalCode?: string | undefined;
|
|
1095
|
+
geo?: {
|
|
1096
|
+
type: string | string[];
|
|
1097
|
+
latitude: number;
|
|
1098
|
+
longitude: number;
|
|
1099
|
+
} | undefined;
|
|
1100
|
+
} | undefined;
|
|
1101
|
+
otherIdentifier?: {
|
|
1102
|
+
type: string | string[];
|
|
1103
|
+
identifier: string;
|
|
1104
|
+
identifierType: string;
|
|
1105
|
+
}[] | undefined;
|
|
1106
|
+
official?: string | undefined;
|
|
1107
|
+
parentOrg?: any;
|
|
1108
|
+
familyName?: string | undefined;
|
|
1109
|
+
givenName?: string | undefined;
|
|
1110
|
+
additionalName?: string | undefined;
|
|
1111
|
+
patronymicName?: string | undefined;
|
|
1112
|
+
honorificPrefix?: string | undefined;
|
|
1113
|
+
honorificSuffix?: string | undefined;
|
|
1114
|
+
familyNamePrefix?: string | undefined;
|
|
1115
|
+
dateOfBirth?: string | undefined;
|
|
1116
|
+
};
|
|
1117
|
+
credentialSubject: {
|
|
1118
|
+
[x: string]: any;
|
|
1119
|
+
id?: string | undefined;
|
|
1120
|
+
} | {
|
|
1121
|
+
[x: string]: any;
|
|
1122
|
+
id?: string | undefined;
|
|
1123
|
+
}[];
|
|
1124
|
+
proof: {
|
|
1125
|
+
[x: string]: any;
|
|
1126
|
+
type: string;
|
|
1127
|
+
proofPurpose: string;
|
|
1128
|
+
verificationMethod: string;
|
|
1129
|
+
created?: string | undefined;
|
|
1130
|
+
challenge?: string | undefined;
|
|
1131
|
+
domain?: string | undefined;
|
|
1132
|
+
nonce?: string | undefined;
|
|
1133
|
+
jws?: string | undefined;
|
|
1134
|
+
} | {
|
|
1135
|
+
[x: string]: any;
|
|
1136
|
+
type: string;
|
|
1137
|
+
proofPurpose: string;
|
|
1138
|
+
verificationMethod: string;
|
|
1139
|
+
created?: string | undefined;
|
|
1140
|
+
challenge?: string | undefined;
|
|
1141
|
+
domain?: string | undefined;
|
|
1142
|
+
nonce?: string | undefined;
|
|
1143
|
+
jws?: string | undefined;
|
|
1144
|
+
}[];
|
|
1145
|
+
id?: string | undefined;
|
|
1146
|
+
refreshService?: {
|
|
1147
|
+
[x: string]: any;
|
|
1148
|
+
type: string;
|
|
1149
|
+
id?: string | undefined;
|
|
1150
|
+
} | {
|
|
1151
|
+
[x: string]: any;
|
|
1152
|
+
type: string;
|
|
1153
|
+
id?: string | undefined;
|
|
1154
|
+
}[] | undefined;
|
|
1155
|
+
credentialSchema?: {
|
|
1156
|
+
[x: string]: any;
|
|
1157
|
+
id: string;
|
|
1158
|
+
type: string;
|
|
1159
|
+
} | {
|
|
1160
|
+
[x: string]: any;
|
|
1161
|
+
id: string;
|
|
1162
|
+
type: string;
|
|
1163
|
+
}[] | undefined;
|
|
1164
|
+
issuanceDate?: string | undefined;
|
|
1165
|
+
expirationDate?: string | undefined;
|
|
1166
|
+
credentialStatus?: {
|
|
1167
|
+
[x: string]: any;
|
|
1168
|
+
type: string;
|
|
1169
|
+
id?: string | undefined;
|
|
1170
|
+
} | {
|
|
1171
|
+
[x: string]: any;
|
|
1172
|
+
type: string;
|
|
1173
|
+
id?: string | undefined;
|
|
1174
|
+
}[] | undefined;
|
|
1175
|
+
name?: string | undefined;
|
|
1176
|
+
description?: string | undefined;
|
|
1177
|
+
validFrom?: string | undefined;
|
|
1178
|
+
validUntil?: string | undefined;
|
|
1179
|
+
status?: {
|
|
1180
|
+
[x: string]: any;
|
|
1181
|
+
type: string;
|
|
1182
|
+
id?: string | undefined;
|
|
1183
|
+
} | {
|
|
1184
|
+
[x: string]: any;
|
|
1185
|
+
type: string;
|
|
1186
|
+
id?: string | undefined;
|
|
1187
|
+
}[] | undefined;
|
|
1188
|
+
termsOfUse?: {
|
|
1189
|
+
[x: string]: any;
|
|
1190
|
+
type: string;
|
|
1191
|
+
id?: string | undefined;
|
|
1192
|
+
} | {
|
|
1193
|
+
[x: string]: any;
|
|
1194
|
+
type: string;
|
|
1195
|
+
id?: string | undefined;
|
|
1196
|
+
}[] | undefined;
|
|
1197
|
+
evidence?: {
|
|
1198
|
+
[x: string]: any;
|
|
1199
|
+
type: string[];
|
|
1200
|
+
id?: string | undefined;
|
|
1201
|
+
name?: string | undefined;
|
|
1202
|
+
narrative?: string | undefined;
|
|
1203
|
+
description?: string | undefined;
|
|
1204
|
+
genre?: string | undefined;
|
|
1205
|
+
audience?: string | undefined;
|
|
1206
|
+
} | {
|
|
1207
|
+
[x: string]: any;
|
|
1208
|
+
type: string[];
|
|
1209
|
+
id?: string | undefined;
|
|
1210
|
+
name?: string | undefined;
|
|
1211
|
+
narrative?: string | undefined;
|
|
1212
|
+
description?: string | undefined;
|
|
1213
|
+
genre?: string | undefined;
|
|
1214
|
+
audience?: string | undefined;
|
|
1215
|
+
}[] | undefined;
|
|
1216
|
+
renderMethod?: Record<string, any> | {
|
|
1217
|
+
type: "TemplateRenderMethod";
|
|
1218
|
+
renderSuite: string;
|
|
1219
|
+
template: string;
|
|
1220
|
+
renderProperty?: string[] | undefined;
|
|
1221
|
+
outputPreference?: {
|
|
1222
|
+
mediaType: string;
|
|
1223
|
+
} | undefined;
|
|
1224
|
+
} | (Record<string, any> | {
|
|
1225
|
+
type: "TemplateRenderMethod";
|
|
1226
|
+
renderSuite: string;
|
|
1227
|
+
template: string;
|
|
1228
|
+
renderProperty?: string[] | undefined;
|
|
1229
|
+
outputPreference?: {
|
|
1230
|
+
mediaType: string;
|
|
1231
|
+
} | undefined;
|
|
1232
|
+
})[] | undefined;
|
|
1233
|
+
} | {
|
|
1234
|
+
[x: string]: any;
|
|
1235
|
+
'@context': (string | Record<string, any>)[];
|
|
1236
|
+
type: string[];
|
|
1237
|
+
issuer: string | {
|
|
1238
|
+
[x: string]: any;
|
|
1239
|
+
id?: string | undefined;
|
|
1240
|
+
type?: string | string[] | undefined;
|
|
1241
|
+
name?: string | undefined;
|
|
1242
|
+
url?: string | undefined;
|
|
1243
|
+
phone?: string | undefined;
|
|
1244
|
+
description?: string | undefined;
|
|
1245
|
+
endorsement?: any[] | undefined;
|
|
1246
|
+
image?: string | {
|
|
1247
|
+
id: string;
|
|
1248
|
+
type: string;
|
|
1249
|
+
caption?: string | undefined;
|
|
1250
|
+
} | undefined;
|
|
1251
|
+
email?: string | undefined;
|
|
1252
|
+
address?: {
|
|
1253
|
+
type: string | string[];
|
|
1254
|
+
addressCountry?: string | undefined;
|
|
1255
|
+
addressCountryCode?: string | undefined;
|
|
1256
|
+
addressRegion?: string | undefined;
|
|
1257
|
+
addressLocality?: string | undefined;
|
|
1258
|
+
streetAddress?: string | undefined;
|
|
1259
|
+
postOfficeBoxNumber?: string | undefined;
|
|
1260
|
+
postalCode?: string | undefined;
|
|
1261
|
+
geo?: {
|
|
1262
|
+
type: string | string[];
|
|
1263
|
+
latitude: number;
|
|
1264
|
+
longitude: number;
|
|
1265
|
+
} | undefined;
|
|
1266
|
+
} | undefined;
|
|
1267
|
+
otherIdentifier?: {
|
|
1268
|
+
type: string | string[];
|
|
1269
|
+
identifier: string;
|
|
1270
|
+
identifierType: string;
|
|
1271
|
+
}[] | undefined;
|
|
1272
|
+
official?: string | undefined;
|
|
1273
|
+
parentOrg?: any;
|
|
1274
|
+
familyName?: string | undefined;
|
|
1275
|
+
givenName?: string | undefined;
|
|
1276
|
+
additionalName?: string | undefined;
|
|
1277
|
+
patronymicName?: string | undefined;
|
|
1278
|
+
honorificPrefix?: string | undefined;
|
|
1279
|
+
honorificSuffix?: string | undefined;
|
|
1280
|
+
familyNamePrefix?: string | undefined;
|
|
1281
|
+
dateOfBirth?: string | undefined;
|
|
1282
|
+
};
|
|
1283
|
+
credentialSubject: {
|
|
1284
|
+
[x: string]: any;
|
|
1285
|
+
id?: string | undefined;
|
|
1286
|
+
} | {
|
|
1287
|
+
[x: string]: any;
|
|
1288
|
+
id?: string | undefined;
|
|
1289
|
+
}[];
|
|
1290
|
+
proof: {
|
|
1291
|
+
[x: string]: any;
|
|
1292
|
+
type: string;
|
|
1293
|
+
proofPurpose: string;
|
|
1294
|
+
verificationMethod: string;
|
|
1295
|
+
created?: string | undefined;
|
|
1296
|
+
challenge?: string | undefined;
|
|
1297
|
+
domain?: string | undefined;
|
|
1298
|
+
nonce?: string | undefined;
|
|
1299
|
+
jws?: string | undefined;
|
|
1300
|
+
} | {
|
|
1301
|
+
[x: string]: any;
|
|
1302
|
+
type: string;
|
|
1303
|
+
proofPurpose: string;
|
|
1304
|
+
verificationMethod: string;
|
|
1305
|
+
created?: string | undefined;
|
|
1306
|
+
challenge?: string | undefined;
|
|
1307
|
+
domain?: string | undefined;
|
|
1308
|
+
nonce?: string | undefined;
|
|
1309
|
+
jws?: string | undefined;
|
|
1310
|
+
}[];
|
|
1311
|
+
id?: string | undefined;
|
|
1312
|
+
refreshService?: {
|
|
1313
|
+
[x: string]: any;
|
|
1314
|
+
type: string;
|
|
1315
|
+
id?: string | undefined;
|
|
1316
|
+
} | {
|
|
1317
|
+
[x: string]: any;
|
|
1318
|
+
type: string;
|
|
1319
|
+
id?: string | undefined;
|
|
1320
|
+
}[] | undefined;
|
|
1321
|
+
credentialSchema?: {
|
|
1322
|
+
[x: string]: any;
|
|
1323
|
+
id: string;
|
|
1324
|
+
type: string;
|
|
1325
|
+
} | {
|
|
1326
|
+
[x: string]: any;
|
|
1327
|
+
id: string;
|
|
1328
|
+
type: string;
|
|
1329
|
+
}[] | undefined;
|
|
1330
|
+
issuanceDate?: string | undefined;
|
|
1331
|
+
expirationDate?: string | undefined;
|
|
1332
|
+
credentialStatus?: {
|
|
1333
|
+
[x: string]: any;
|
|
1334
|
+
type: string;
|
|
1335
|
+
id?: string | undefined;
|
|
1336
|
+
} | {
|
|
1337
|
+
[x: string]: any;
|
|
1338
|
+
type: string;
|
|
1339
|
+
id?: string | undefined;
|
|
1340
|
+
}[] | undefined;
|
|
1341
|
+
name?: string | undefined;
|
|
1342
|
+
description?: string | undefined;
|
|
1343
|
+
validFrom?: string | undefined;
|
|
1344
|
+
validUntil?: string | undefined;
|
|
1345
|
+
status?: {
|
|
1346
|
+
[x: string]: any;
|
|
1347
|
+
type: string;
|
|
1348
|
+
id?: string | undefined;
|
|
1349
|
+
} | {
|
|
1350
|
+
[x: string]: any;
|
|
1351
|
+
type: string;
|
|
1352
|
+
id?: string | undefined;
|
|
1353
|
+
}[] | undefined;
|
|
1354
|
+
termsOfUse?: {
|
|
1355
|
+
[x: string]: any;
|
|
1356
|
+
type: string;
|
|
1357
|
+
id?: string | undefined;
|
|
1358
|
+
} | {
|
|
1359
|
+
[x: string]: any;
|
|
1360
|
+
type: string;
|
|
1361
|
+
id?: string | undefined;
|
|
1362
|
+
}[] | undefined;
|
|
1363
|
+
evidence?: {
|
|
1364
|
+
[x: string]: any;
|
|
1365
|
+
type: string[];
|
|
1366
|
+
id?: string | undefined;
|
|
1367
|
+
name?: string | undefined;
|
|
1368
|
+
narrative?: string | undefined;
|
|
1369
|
+
description?: string | undefined;
|
|
1370
|
+
genre?: string | undefined;
|
|
1371
|
+
audience?: string | undefined;
|
|
1372
|
+
} | {
|
|
1373
|
+
[x: string]: any;
|
|
1374
|
+
type: string[];
|
|
1375
|
+
id?: string | undefined;
|
|
1376
|
+
name?: string | undefined;
|
|
1377
|
+
narrative?: string | undefined;
|
|
1378
|
+
description?: string | undefined;
|
|
1379
|
+
genre?: string | undefined;
|
|
1380
|
+
audience?: string | undefined;
|
|
1381
|
+
}[] | undefined;
|
|
1382
|
+
renderMethod?: Record<string, any> | {
|
|
1383
|
+
type: "TemplateRenderMethod";
|
|
1384
|
+
renderSuite: string;
|
|
1385
|
+
template: string;
|
|
1386
|
+
renderProperty?: string[] | undefined;
|
|
1387
|
+
outputPreference?: {
|
|
1388
|
+
mediaType: string;
|
|
1389
|
+
} | undefined;
|
|
1390
|
+
} | (Record<string, any> | {
|
|
1391
|
+
type: "TemplateRenderMethod";
|
|
1392
|
+
renderSuite: string;
|
|
1393
|
+
template: string;
|
|
1394
|
+
renderProperty?: string[] | undefined;
|
|
1395
|
+
outputPreference?: {
|
|
1396
|
+
mediaType: string;
|
|
1397
|
+
} | undefined;
|
|
1398
|
+
})[] | undefined;
|
|
1399
|
+
}[] | undefined;
|
|
1400
|
+
holder?: string | undefined;
|
|
1401
|
+
} | {
|
|
1402
|
+
[x: string]: any;
|
|
1403
|
+
'@context': (string | Record<string, any>)[];
|
|
1404
|
+
type: string[];
|
|
1405
|
+
issuer: string | {
|
|
1406
|
+
[x: string]: any;
|
|
1407
|
+
id?: string | undefined;
|
|
1408
|
+
type?: string | string[] | undefined;
|
|
1409
|
+
name?: string | undefined;
|
|
1410
|
+
url?: string | undefined;
|
|
1411
|
+
phone?: string | undefined;
|
|
1412
|
+
description?: string | undefined;
|
|
1413
|
+
endorsement?: any[] | undefined;
|
|
1414
|
+
image?: string | {
|
|
1415
|
+
id: string;
|
|
1416
|
+
type: string;
|
|
1417
|
+
caption?: string | undefined;
|
|
1418
|
+
} | undefined;
|
|
1419
|
+
email?: string | undefined;
|
|
1420
|
+
address?: {
|
|
1421
|
+
type: string | string[];
|
|
1422
|
+
addressCountry?: string | undefined;
|
|
1423
|
+
addressCountryCode?: string | undefined;
|
|
1424
|
+
addressRegion?: string | undefined;
|
|
1425
|
+
addressLocality?: string | undefined;
|
|
1426
|
+
streetAddress?: string | undefined;
|
|
1427
|
+
postOfficeBoxNumber?: string | undefined;
|
|
1428
|
+
postalCode?: string | undefined;
|
|
1429
|
+
geo?: {
|
|
1430
|
+
type: string | string[];
|
|
1431
|
+
latitude: number;
|
|
1432
|
+
longitude: number;
|
|
1433
|
+
} | undefined;
|
|
1434
|
+
} | undefined;
|
|
1435
|
+
otherIdentifier?: {
|
|
1436
|
+
type: string | string[];
|
|
1437
|
+
identifier: string;
|
|
1438
|
+
identifierType: string;
|
|
1439
|
+
}[] | undefined;
|
|
1440
|
+
official?: string | undefined;
|
|
1441
|
+
parentOrg?: any;
|
|
1442
|
+
familyName?: string | undefined;
|
|
1443
|
+
givenName?: string | undefined;
|
|
1444
|
+
additionalName?: string | undefined;
|
|
1445
|
+
patronymicName?: string | undefined;
|
|
1446
|
+
honorificPrefix?: string | undefined;
|
|
1447
|
+
honorificSuffix?: string | undefined;
|
|
1448
|
+
familyNamePrefix?: string | undefined;
|
|
1449
|
+
dateOfBirth?: string | undefined;
|
|
1450
|
+
};
|
|
1451
|
+
credentialSubject: {
|
|
1452
|
+
[x: string]: any;
|
|
1453
|
+
id?: string | undefined;
|
|
1454
|
+
} | {
|
|
1455
|
+
[x: string]: any;
|
|
1456
|
+
id?: string | undefined;
|
|
1457
|
+
}[];
|
|
1458
|
+
id?: string | undefined;
|
|
1459
|
+
refreshService?: {
|
|
1460
|
+
[x: string]: any;
|
|
1461
|
+
type: string;
|
|
1462
|
+
id?: string | undefined;
|
|
1463
|
+
} | {
|
|
1464
|
+
[x: string]: any;
|
|
1465
|
+
type: string;
|
|
1466
|
+
id?: string | undefined;
|
|
1467
|
+
}[] | undefined;
|
|
1468
|
+
credentialSchema?: {
|
|
1469
|
+
[x: string]: any;
|
|
1470
|
+
id: string;
|
|
1471
|
+
type: string;
|
|
1472
|
+
} | {
|
|
1473
|
+
[x: string]: any;
|
|
1474
|
+
id: string;
|
|
1475
|
+
type: string;
|
|
1476
|
+
}[] | undefined;
|
|
1477
|
+
issuanceDate?: string | undefined;
|
|
1478
|
+
expirationDate?: string | undefined;
|
|
1479
|
+
credentialStatus?: {
|
|
1480
|
+
[x: string]: any;
|
|
1481
|
+
type: string;
|
|
1482
|
+
id?: string | undefined;
|
|
1483
|
+
} | {
|
|
1484
|
+
[x: string]: any;
|
|
1485
|
+
type: string;
|
|
1486
|
+
id?: string | undefined;
|
|
1487
|
+
}[] | undefined;
|
|
1488
|
+
name?: string | undefined;
|
|
1489
|
+
description?: string | undefined;
|
|
1490
|
+
validFrom?: string | undefined;
|
|
1491
|
+
validUntil?: string | undefined;
|
|
1492
|
+
status?: {
|
|
1493
|
+
[x: string]: any;
|
|
1494
|
+
type: string;
|
|
1495
|
+
id?: string | undefined;
|
|
1496
|
+
} | {
|
|
1497
|
+
[x: string]: any;
|
|
1498
|
+
type: string;
|
|
1499
|
+
id?: string | undefined;
|
|
1500
|
+
}[] | undefined;
|
|
1501
|
+
termsOfUse?: {
|
|
1502
|
+
[x: string]: any;
|
|
1503
|
+
type: string;
|
|
1504
|
+
id?: string | undefined;
|
|
1505
|
+
} | {
|
|
1506
|
+
[x: string]: any;
|
|
1507
|
+
type: string;
|
|
1508
|
+
id?: string | undefined;
|
|
1509
|
+
}[] | undefined;
|
|
1510
|
+
evidence?: {
|
|
1511
|
+
[x: string]: any;
|
|
1512
|
+
type: string[];
|
|
1513
|
+
id?: string | undefined;
|
|
1514
|
+
name?: string | undefined;
|
|
1515
|
+
narrative?: string | undefined;
|
|
1516
|
+
description?: string | undefined;
|
|
1517
|
+
genre?: string | undefined;
|
|
1518
|
+
audience?: string | undefined;
|
|
1519
|
+
} | {
|
|
1520
|
+
[x: string]: any;
|
|
1521
|
+
type: string[];
|
|
1522
|
+
id?: string | undefined;
|
|
1523
|
+
name?: string | undefined;
|
|
1524
|
+
narrative?: string | undefined;
|
|
1525
|
+
description?: string | undefined;
|
|
1526
|
+
genre?: string | undefined;
|
|
1527
|
+
audience?: string | undefined;
|
|
1528
|
+
}[] | undefined;
|
|
1529
|
+
renderMethod?: Record<string, any> | {
|
|
1530
|
+
type: "TemplateRenderMethod";
|
|
1531
|
+
renderSuite: string;
|
|
1532
|
+
template: string;
|
|
1533
|
+
renderProperty?: string[] | undefined;
|
|
1534
|
+
outputPreference?: {
|
|
1535
|
+
mediaType: string;
|
|
1536
|
+
} | undefined;
|
|
1537
|
+
} | (Record<string, any> | {
|
|
1538
|
+
type: "TemplateRenderMethod";
|
|
1539
|
+
renderSuite: string;
|
|
1540
|
+
template: string;
|
|
1541
|
+
renderProperty?: string[] | undefined;
|
|
1542
|
+
outputPreference?: {
|
|
1543
|
+
mediaType: string;
|
|
1544
|
+
} | undefined;
|
|
1545
|
+
})[] | undefined;
|
|
1546
|
+
} | undefined;
|
|
1547
|
+
templateUri?: string | undefined;
|
|
1548
|
+
refresh?: boolean | undefined;
|
|
1549
|
+
}[];
|
|
1550
|
+
requestId?: string | undefined;
|
|
1551
|
+
configuration?: {
|
|
1552
|
+
guardianEmail?: string | undefined;
|
|
764
1553
|
signingAuthority?: {
|
|
765
1554
|
endpoint: string;
|
|
766
1555
|
name: string;
|
|
@@ -768,8 +1557,8 @@ export declare const inboxRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
768
1557
|
webhookUrl?: string | undefined;
|
|
769
1558
|
expiresInDays?: number | undefined;
|
|
770
1559
|
templateData?: Record<string, unknown> | undefined;
|
|
1560
|
+
refresh?: boolean | undefined;
|
|
771
1561
|
delivery?: {
|
|
772
|
-
suppress?: boolean | undefined;
|
|
773
1562
|
template?: {
|
|
774
1563
|
model: {
|
|
775
1564
|
issuer?: {
|
|
@@ -786,21 +1575,99 @@ export declare const inboxRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
786
1575
|
};
|
|
787
1576
|
id?: "universal-inbox-claim" | undefined;
|
|
788
1577
|
} | undefined;
|
|
1578
|
+
suppress?: boolean | undefined;
|
|
789
1579
|
} | undefined;
|
|
790
1580
|
} | undefined;
|
|
791
1581
|
};
|
|
792
1582
|
output: {
|
|
793
|
-
|
|
794
|
-
status: "
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
1583
|
+
batchId: string;
|
|
1584
|
+
status: "QUEUED" | "PROCESSING" | "COMPLETED" | "NEEDS_RECONCILIATION";
|
|
1585
|
+
createdAt: string;
|
|
1586
|
+
};
|
|
1587
|
+
meta: import(".././routes/index").RouteMetadata;
|
|
1588
|
+
}>;
|
|
1589
|
+
getBatch: import("@trpc/server").TRPCQueryProcedure<{
|
|
1590
|
+
input: {
|
|
1591
|
+
batchId: string;
|
|
1592
|
+
};
|
|
1593
|
+
output: {
|
|
1594
|
+
batchId: string;
|
|
1595
|
+
createdAt: string;
|
|
1596
|
+
done: boolean;
|
|
1597
|
+
status: "QUEUED" | "PROCESSING" | "COMPLETED" | "NEEDS_RECONCILIATION";
|
|
1598
|
+
items: {
|
|
1599
|
+
index: number;
|
|
1600
|
+
state: "QUEUED" | "PROCESSING" | "COMPLETED" | "NEEDS_RECONCILIATION";
|
|
1601
|
+
result?: {
|
|
1602
|
+
issuanceId: string;
|
|
1603
|
+
status: "PENDING" | "DELIVERED" | "CLAIMED" | "EXPIRED" | "ISSUED";
|
|
1604
|
+
recipient: {
|
|
1605
|
+
type: "email";
|
|
1606
|
+
value: string;
|
|
1607
|
+
} | {
|
|
1608
|
+
type: "phone";
|
|
1609
|
+
value: string;
|
|
1610
|
+
};
|
|
1611
|
+
success: true;
|
|
1612
|
+
index: number;
|
|
1613
|
+
refresh?: {
|
|
1614
|
+
refreshService: {
|
|
1615
|
+
[x: string]: any;
|
|
1616
|
+
id: string;
|
|
1617
|
+
type: "LearnCardCredentialRefresh2026";
|
|
1618
|
+
authorization?: {
|
|
1619
|
+
[x: string]: any;
|
|
1620
|
+
type: "LearnCardDIDAuth";
|
|
1621
|
+
} | undefined;
|
|
1622
|
+
};
|
|
1623
|
+
credentialId: string;
|
|
1624
|
+
refreshId: string;
|
|
1625
|
+
issuerDid: string;
|
|
1626
|
+
credentialStatus?: {
|
|
1627
|
+
[x: string]: any;
|
|
1628
|
+
type: string;
|
|
1629
|
+
id?: string | undefined;
|
|
1630
|
+
} | {
|
|
1631
|
+
[x: string]: any;
|
|
1632
|
+
type: string;
|
|
1633
|
+
id?: string | undefined;
|
|
1634
|
+
}[] | undefined;
|
|
1635
|
+
holderDid?: string | undefined;
|
|
1636
|
+
} | undefined;
|
|
1637
|
+
claimUrl?: string | undefined;
|
|
1638
|
+
recipientDid?: string | undefined;
|
|
1639
|
+
deduplicated?: boolean | undefined;
|
|
1640
|
+
guardianStatus?: "AWAITING_GUARDIAN" | "GUARDIAN_APPROVED" | "GUARDIAN_REJECTED" | undefined;
|
|
1641
|
+
idempotencyKey?: string | undefined;
|
|
1642
|
+
} | {
|
|
1643
|
+
success: false;
|
|
1644
|
+
index: number;
|
|
1645
|
+
error: {
|
|
1646
|
+
code: string;
|
|
1647
|
+
message: string;
|
|
1648
|
+
reason?: "DUPLICATE_KEY" | "IDEMPOTENCY_MISMATCH" | "IN_PROGRESS" | "UNCONFIRMED" | undefined;
|
|
1649
|
+
};
|
|
1650
|
+
idempotencyKey?: string | undefined;
|
|
1651
|
+
recipient?: {
|
|
1652
|
+
type: "email";
|
|
1653
|
+
value: string;
|
|
1654
|
+
} | {
|
|
1655
|
+
type: "phone";
|
|
1656
|
+
value: string;
|
|
1657
|
+
} | undefined;
|
|
1658
|
+
issuanceId?: string | undefined;
|
|
1659
|
+
claimUrl?: string | undefined;
|
|
1660
|
+
} | undefined;
|
|
1661
|
+
}[];
|
|
1662
|
+
summary: {
|
|
1663
|
+
total: number;
|
|
1664
|
+
succeeded: number;
|
|
1665
|
+
failed: number;
|
|
1666
|
+
deduplicated: number;
|
|
1667
|
+
completed: number;
|
|
1668
|
+
pending: number;
|
|
1669
|
+
unconfirmed: number;
|
|
801
1670
|
};
|
|
802
|
-
claimUrl?: string | undefined;
|
|
803
|
-
recipientDid?: string | undefined;
|
|
804
1671
|
};
|
|
805
1672
|
meta: import(".././routes/index").RouteMetadata;
|
|
806
1673
|
}>;
|
|
@@ -1504,6 +2371,7 @@ export declare const inboxRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1504
2371
|
activityId?: string | undefined;
|
|
1505
2372
|
integrationId?: string | undefined;
|
|
1506
2373
|
boostUri?: string | undefined;
|
|
2374
|
+
refreshId?: string | undefined;
|
|
1507
2375
|
isAccepted?: boolean | undefined;
|
|
1508
2376
|
finalizedAt?: string | undefined;
|
|
1509
2377
|
expiredAt?: string | undefined;
|
|
@@ -1514,6 +2382,30 @@ export declare const inboxRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1514
2382
|
guardianStatus?: "AWAITING_GUARDIAN" | "GUARDIAN_APPROVED" | "GUARDIAN_REJECTED" | undefined;
|
|
1515
2383
|
guardianApprovedAt?: string | undefined;
|
|
1516
2384
|
guardianApprovedByDid?: string | undefined;
|
|
2385
|
+
refresh?: {
|
|
2386
|
+
refreshService: {
|
|
2387
|
+
[x: string]: any;
|
|
2388
|
+
id: string;
|
|
2389
|
+
type: "LearnCardCredentialRefresh2026";
|
|
2390
|
+
authorization?: {
|
|
2391
|
+
[x: string]: any;
|
|
2392
|
+
type: "LearnCardDIDAuth";
|
|
2393
|
+
} | undefined;
|
|
2394
|
+
};
|
|
2395
|
+
credentialId: string;
|
|
2396
|
+
refreshId: string;
|
|
2397
|
+
issuerDid: string;
|
|
2398
|
+
credentialStatus?: {
|
|
2399
|
+
[x: string]: any;
|
|
2400
|
+
type: string;
|
|
2401
|
+
id?: string | undefined;
|
|
2402
|
+
} | {
|
|
2403
|
+
[x: string]: any;
|
|
2404
|
+
type: string;
|
|
2405
|
+
id?: string | undefined;
|
|
2406
|
+
}[] | undefined;
|
|
2407
|
+
holderDid?: string | undefined;
|
|
2408
|
+
} | undefined;
|
|
1517
2409
|
};
|
|
1518
2410
|
status: string;
|
|
1519
2411
|
recipientDid?: string | undefined;
|
|
@@ -1904,6 +2796,7 @@ export declare const inboxRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1904
2796
|
activityId?: string | undefined;
|
|
1905
2797
|
integrationId?: string | undefined;
|
|
1906
2798
|
boostUri?: string | undefined;
|
|
2799
|
+
refreshId?: string | undefined;
|
|
1907
2800
|
isAccepted?: boolean | undefined;
|
|
1908
2801
|
finalizedAt?: string | undefined;
|
|
1909
2802
|
expiredAt?: string | undefined;
|
|
@@ -1914,6 +2807,30 @@ export declare const inboxRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1914
2807
|
guardianStatus?: "AWAITING_GUARDIAN" | "GUARDIAN_APPROVED" | "GUARDIAN_REJECTED" | undefined;
|
|
1915
2808
|
guardianApprovedAt?: string | undefined;
|
|
1916
2809
|
guardianApprovedByDid?: string | undefined;
|
|
2810
|
+
refresh?: {
|
|
2811
|
+
refreshService: {
|
|
2812
|
+
[x: string]: any;
|
|
2813
|
+
id: string;
|
|
2814
|
+
type: "LearnCardCredentialRefresh2026";
|
|
2815
|
+
authorization?: {
|
|
2816
|
+
[x: string]: any;
|
|
2817
|
+
type: "LearnCardDIDAuth";
|
|
2818
|
+
} | undefined;
|
|
2819
|
+
};
|
|
2820
|
+
credentialId: string;
|
|
2821
|
+
refreshId: string;
|
|
2822
|
+
issuerDid: string;
|
|
2823
|
+
credentialStatus?: {
|
|
2824
|
+
[x: string]: any;
|
|
2825
|
+
type: string;
|
|
2826
|
+
id?: string | undefined;
|
|
2827
|
+
} | {
|
|
2828
|
+
[x: string]: any;
|
|
2829
|
+
type: string;
|
|
2830
|
+
id?: string | undefined;
|
|
2831
|
+
}[] | undefined;
|
|
2832
|
+
holderDid?: string | undefined;
|
|
2833
|
+
} | undefined;
|
|
1917
2834
|
}[];
|
|
1918
2835
|
cursor?: string | undefined;
|
|
1919
2836
|
};
|
|
@@ -1937,6 +2854,7 @@ export declare const inboxRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1937
2854
|
activityId?: string | undefined;
|
|
1938
2855
|
integrationId?: string | undefined;
|
|
1939
2856
|
boostUri?: string | undefined;
|
|
2857
|
+
refreshId?: string | undefined;
|
|
1940
2858
|
isAccepted?: boolean | undefined;
|
|
1941
2859
|
finalizedAt?: string | undefined;
|
|
1942
2860
|
expiredAt?: string | undefined;
|
|
@@ -1947,6 +2865,30 @@ export declare const inboxRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1947
2865
|
guardianStatus?: "AWAITING_GUARDIAN" | "GUARDIAN_APPROVED" | "GUARDIAN_REJECTED" | undefined;
|
|
1948
2866
|
guardianApprovedAt?: string | undefined;
|
|
1949
2867
|
guardianApprovedByDid?: string | undefined;
|
|
2868
|
+
refresh?: {
|
|
2869
|
+
refreshService: {
|
|
2870
|
+
[x: string]: any;
|
|
2871
|
+
id: string;
|
|
2872
|
+
type: "LearnCardCredentialRefresh2026";
|
|
2873
|
+
authorization?: {
|
|
2874
|
+
[x: string]: any;
|
|
2875
|
+
type: "LearnCardDIDAuth";
|
|
2876
|
+
} | undefined;
|
|
2877
|
+
};
|
|
2878
|
+
credentialId: string;
|
|
2879
|
+
refreshId: string;
|
|
2880
|
+
issuerDid: string;
|
|
2881
|
+
credentialStatus?: {
|
|
2882
|
+
[x: string]: any;
|
|
2883
|
+
type: string;
|
|
2884
|
+
id?: string | undefined;
|
|
2885
|
+
} | {
|
|
2886
|
+
[x: string]: any;
|
|
2887
|
+
type: string;
|
|
2888
|
+
id?: string | undefined;
|
|
2889
|
+
}[] | undefined;
|
|
2890
|
+
holderDid?: string | undefined;
|
|
2891
|
+
} | undefined;
|
|
1950
2892
|
};
|
|
1951
2893
|
meta: import(".././routes/index").RouteMetadata;
|
|
1952
2894
|
}>;
|