@learncard/network-brain-service 3.17.0 → 3.19.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.
- package/.env.example +4 -0
- package/AGENTS.md +177 -159
- package/CHANGELOG.md +148 -0
- package/README.md +26 -8
- package/compose.inbox.yml +7 -0
- package/dist/accesslayer/app-store-listing/relationships/read.d.ts.map +1 -1
- 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 +3 -2
- package/dist/accesslayer/consentflowcontract/relationships/create.d.ts.map +1 -1
- package/dist/accesslayer/consentflowcontract/relationships/read.d.ts +1 -0
- package/dist/accesslayer/consentflowcontract/relationships/read.d.ts.map +1 -1
- package/dist/accesslayer/consentflowcontract/relationships/update.d.ts +5 -3
- package/dist/accesslayer/consentflowcontract/relationships/update.d.ts.map +1 -1
- package/dist/accesslayer/credential/create.d.ts +2 -1
- package/dist/accesslayer/credential/create.d.ts.map +1 -1
- package/dist/accesslayer/credential/create.test.d.ts +2 -0
- package/dist/accesslayer/credential/create.test.d.ts.map +1 -0
- package/dist/accesslayer/credential/relationships/read.d.ts +1 -0
- package/dist/accesslayer/credential/relationships/read.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/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 +46 -0
- package/dist/config/environment.d.ts.map +1 -1
- package/dist/credential-refresh.d.ts.map +1 -1
- package/dist/didkit_wasm_bg.wasm +0 -0
- package/dist/helpers/activity.helpers.d.ts +4 -0
- package/dist/helpers/activity.helpers.d.ts.map +1 -1
- package/dist/helpers/boost-storage.helpers.test.d.ts +2 -0
- package/dist/helpers/boost-storage.helpers.test.d.ts.map +1 -0
- package/dist/helpers/boost.helpers.d.ts +3 -7
- 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 +4 -2
- package/dist/helpers/credential.helpers.d.ts.map +1 -1
- 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/issuedCredentialStatus.helpers.d.ts +5 -0
- package/dist/helpers/issuedCredentialStatus.helpers.d.ts.map +1 -0
- package/dist/helpers/notifications.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/shim.d.ts +1 -1
- package/dist/helpers/shim.d.ts.map +1 -1
- package/dist/helpers/signingAuthority.helpers.d.ts +3 -2
- package/dist/helpers/signingAuthority.helpers.d.ts.map +1 -1
- package/dist/helpers/signingAuthority.helpers.test.d.ts +2 -0
- package/dist/helpers/signingAuthority.helpers.test.d.ts.map +1 -0
- package/dist/helpers/status-list.helpers.d.ts.map +1 -1
- package/dist/helpers/status-list.helpers.test.d.ts +2 -0
- package/dist/helpers/status-list.helpers.test.d.ts.map +1 -0
- 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/ConsentFlowTerms.d.ts.map +1 -1
- package/dist/models/ConsentFlowTransaction.d.ts.map +1 -1
- package/dist/models/Credential.d.ts +1 -0
- package/dist/models/Credential.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/credential-refresh-constraints.d.ts.map +1 -1
- package/dist/openapi.d.ts.map +1 -1
- 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 +506 -12
- package/dist/routes/boosts.d.ts.map +1 -1
- package/dist/routes/contracts.d.ts +48 -2
- package/dist/routes/contracts.d.ts.map +1 -1
- package/dist/routes/credential-refreshes.d.ts +4 -4
- package/dist/routes/credential-refreshes.d.ts.map +1 -1
- package/dist/routes/credentials.d.ts +8 -2
- package/dist/routes/credentials.d.ts.map +1 -1
- package/dist/routes/did-metadata.d.ts +8 -8
- package/dist/routes/federation.d.ts +2 -2
- package/dist/routes/inbox.d.ts +973 -31
- package/dist/routes/inbox.d.ts.map +1 -1
- package/dist/routes/index.d.ts +47 -127
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/presentations.d.ts +6 -6
- package/dist/routes/storage.d.ts +63 -63
- package/dist/routes/test.d.ts +6 -0
- package/dist/routes/test.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +14 -14
- 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 +22 -8
- package/dist/types/consentflowcontract.d.ts.map +1 -1
- package/dist/types/credential-refresh.d.ts +10 -1
- package/dist/types/credential-refresh.d.ts.map +1 -1
- package/dist/types/credential.d.ts +7 -0
- package/dist/types/credential.d.ts.map +1 -1
- package/dist/types/did-metadata.d.ts +2 -2
- 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 +61 -16
- package/package.json +18 -16
- package/scripts/setup-inbox-queues.ts +60 -0
- package/serverless-local.yml +2 -0
- package/serverless.yml +75 -0
- package/src/accesslayer/app-store-listing/relationships/read.ts +4 -3
- package/src/accesslayer/auth-grant/read.ts +2 -1
- package/src/accesslayer/consentflowcontract/relationships/create.ts +15 -5
- package/src/accesslayer/consentflowcontract/relationships/read.ts +161 -63
- package/src/accesslayer/consentflowcontract/relationships/update.ts +43 -10
- package/src/accesslayer/credential/create.test.ts +141 -0
- package/src/accesslayer/credential/create.ts +27 -3
- 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/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 +26 -0
- package/src/credential-refresh.ts +5 -1
- package/src/docker-entry.ts +8 -0
- package/src/helpers/activity.helpers.ts +4 -0
- package/src/helpers/app-counter.helpers.ts +1 -1
- package/src/helpers/boost-storage.helpers.test.ts +242 -0
- package/src/helpers/boost.helpers.ts +58 -437
- 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 +385 -107
- package/src/helpers/credential.helpers.ts +6 -2
- package/src/helpers/finalize-inbox.helpers.ts +39 -22
- 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 +301 -50
- package/src/helpers/issuedCredentialStatus.helpers.ts +11 -0
- package/src/helpers/notifications.helpers.ts +4 -2
- package/src/helpers/rateLimit.helpers.ts +2 -5
- package/src/helpers/refresh-send-intent.helpers.ts +273 -0
- package/src/helpers/shim.ts +32 -31
- package/src/helpers/signingAuthority.helpers.test.ts +198 -0
- package/src/helpers/signingAuthority.helpers.ts +41 -18
- package/src/helpers/status-list.helpers.test.ts +77 -0
- package/src/helpers/status-list.helpers.ts +31 -8
- package/src/inbox-queue-local.ts +28 -0
- package/src/models/AuthGrant.ts +1 -0
- package/src/models/ConsentFlowTerms.ts +4 -0
- package/src/models/ConsentFlowTransaction.ts +4 -0
- package/src/models/Credential.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/credential-refresh-constraints.test.ts +8 -3
- package/src/models/credential-refresh-constraints.ts +5 -0
- package/src/openapi.ts +8 -0
- package/src/routes/act-as.test.ts +239 -0
- package/src/routes/app-store.ts +69 -52
- package/src/routes/auth-grants.ts +13 -11
- package/src/routes/boosts.ts +943 -120
- package/src/routes/contracts.ts +55 -7
- 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 +164 -88
- package/src/routes/skills.ts +1 -1
- package/src/routes/workflows.ts +80 -31
- package/src/services/delivery/adapters/postmark.adapter.test.ts +54 -0
- package/src/services/delivery/adapters/postmark.adapter.ts +12 -0
- package/src/services/registry/registry.factory.ts +2 -1
- package/src/types/activity.ts +2 -0
- package/src/types/consentflowcontract.ts +21 -3
- package/src/types/credential-refresh.ts +21 -2
- package/src/types/credential.ts +13 -1
- package/src/types/inbox-batch.ts +46 -0
- package/test/app-store-listing.spec.ts +66 -30
- package/test/atomic-counter.e2e.ts +12 -0
- package/test/auth-grant.spec.ts +21 -21
- package/test/bitstring-status-list.spec.ts +12 -9
- package/test/consentflow.spec.ts +453 -26
- package/test/credential-refresh-email.spec.ts +663 -0
- package/test/credential-refresh-publication.spec.ts +13 -5
- package/test/guardian-gated-routes.spec.ts +337 -180
- package/test/helpers/inbox-e2e-environment.ts +6 -0
- package/test/inbox-batch.spec.ts +1338 -0
- package/test/inbox-refresh.spec.ts +534 -0
- package/test/inbox-security.e2e.ts +48 -3
- package/test/openapi.spec.ts +41 -1
- package/test/refresh-send.spec.ts +1799 -0
- package/test/registry.spec.ts +56 -11
- package/test/revoke-suspend-per-instance.spec.ts +9 -1
- package/vitest.config.ts +13 -0
- package/vitest.inbox-e2e.config.ts +5 -1
- package/vitest.integration.config.ts +2 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { InboxBatchReceipt, InboxBatchStatus, IssueInboxCredentialBatch } from '@learncard/types';
|
|
2
|
+
import type { Context } from '.././routes/index';
|
|
3
|
+
import type { ProfileType } from '../types/profile';
|
|
4
|
+
export declare const submitInboxBatch: (profile: ProfileType, batch: IssueInboxCredentialBatch, ctx: Context) => Promise<InboxBatchReceipt>;
|
|
5
|
+
export declare const getInboxBatch: (issuer: string, batchId: string) => Promise<InboxBatchStatus>;
|
|
6
|
+
export declare const processInboxQueueMessage: (body: string) => Promise<void>;
|
|
7
|
+
export declare const processInboxDeadLetter: (body: string) => Promise<void>;
|
|
8
|
+
export declare const dispatchInboxJobs: (maintenanceDeadline?: number) => Promise<void>;
|
|
9
|
+
export declare const consumeInboxQueueOnce: (waitSeconds?: number) => Promise<void>;
|
|
10
|
+
export declare const consumeInboxDeadLettersOnce: () => Promise<void>;
|
|
11
|
+
//# sourceMappingURL=inbox-queue.helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inbox-queue.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/inbox-queue.helpers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACR,iBAAiB,EACjB,gBAAgB,EAChB,yBAAyB,EAE5B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAyCjD,eAAO,MAAM,gBAAgB,GACzB,SAAS,WAAW,EACpB,OAAO,yBAAyB,EAChC,KAAK,OAAO,KACb,OAAO,CAAC,iBAAiB,CA+C3B,CAAC;AAEF,eAAO,MAAM,aAAa,GAAU,QAAQ,MAAM,EAAE,SAAS,MAAM,KAAG,OAAO,CAAC,gBAAgB,CA6D7F,CAAC;AAGF,eAAO,MAAM,wBAAwB,GAAU,MAAM,MAAM,KAAG,OAAO,CAAC,IAAI,CAuEzE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAU,MAAM,MAAM,KAAG,OAAO,CAAC,IAAI,CAmBvE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC1B,4BAAyC,KAC1C,OAAO,CAAC,IAAI,CA+Cd,CAAC;AAGF,eAAO,MAAM,qBAAqB,GAAU,oBAAe,KAAG,OAAO,CAAC,IAAI,CA4BzE,CAAC;AAEF,eAAO,MAAM,2BAA2B,QAAa,OAAO,CAAC,IAAI,CAqBhE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inbox-queue.helpers.test.d.ts","sourceRoot":"","sources":["../../src/helpers/inbox-queue.helpers.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import type { InboxCredentialRefreshReceipt, PublishCredentialRefreshInput, PublishCredentialRefreshResult, VC } from '@learncard/types';
|
|
2
|
+
import type { ProfileType } from '../types/profile';
|
|
3
|
+
import type { CredentialRefreshRecord } from '../types/credential-refresh';
|
|
4
|
+
export declare const assertInboxRefreshEnabled: (scope?: string) => Promise<void>;
|
|
5
|
+
export declare const inboxRefreshRequestDigest: (request: unknown) => string;
|
|
6
|
+
export declare const getInboxRefreshIssueKey: (issuerProfileId: string, key: string) => string;
|
|
7
|
+
export declare const getInboxRefreshReplay: (issuerProfileId: string, key: string | undefined, requestDigest: string) => Promise<{
|
|
8
|
+
inbox: import("@learncard/types").InboxCredentialType;
|
|
9
|
+
requestDigest: string;
|
|
10
|
+
claimUrl?: string;
|
|
11
|
+
} | null>;
|
|
12
|
+
export declare const getInboxRefreshReceipt: (refreshId: string, domain: string) => Promise<InboxCredentialRefreshReceipt>;
|
|
13
|
+
export declare const prepareInboxRefresh: (credential: unknown, issuer: ProfileType, domain: string) => Promise<{
|
|
14
|
+
credential: {
|
|
15
|
+
[x: string]: any;
|
|
16
|
+
'@context': (string | Record<string, any>)[];
|
|
17
|
+
type: string[];
|
|
18
|
+
issuer: string | {
|
|
19
|
+
[x: string]: any;
|
|
20
|
+
id?: string | undefined;
|
|
21
|
+
type?: string | string[] | undefined;
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
url?: string | undefined;
|
|
24
|
+
phone?: string | undefined;
|
|
25
|
+
description?: string | undefined;
|
|
26
|
+
endorsement?: any[] | undefined;
|
|
27
|
+
image?: string | {
|
|
28
|
+
id: string;
|
|
29
|
+
type: string;
|
|
30
|
+
caption?: string | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
email?: string | undefined;
|
|
33
|
+
address?: {
|
|
34
|
+
type: string | string[];
|
|
35
|
+
addressCountry?: string | undefined;
|
|
36
|
+
addressCountryCode?: string | undefined;
|
|
37
|
+
addressRegion?: string | undefined;
|
|
38
|
+
addressLocality?: string | undefined;
|
|
39
|
+
streetAddress?: string | undefined;
|
|
40
|
+
postOfficeBoxNumber?: string | undefined;
|
|
41
|
+
postalCode?: string | undefined;
|
|
42
|
+
geo?: {
|
|
43
|
+
type: string | string[];
|
|
44
|
+
latitude: number;
|
|
45
|
+
longitude: number;
|
|
46
|
+
} | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
otherIdentifier?: {
|
|
49
|
+
type: string | string[];
|
|
50
|
+
identifier: string;
|
|
51
|
+
identifierType: string;
|
|
52
|
+
}[] | undefined;
|
|
53
|
+
official?: string | undefined;
|
|
54
|
+
parentOrg?: any;
|
|
55
|
+
familyName?: string | undefined;
|
|
56
|
+
givenName?: string | undefined;
|
|
57
|
+
additionalName?: string | undefined;
|
|
58
|
+
patronymicName?: string | undefined;
|
|
59
|
+
honorificPrefix?: string | undefined;
|
|
60
|
+
honorificSuffix?: string | undefined;
|
|
61
|
+
familyNamePrefix?: string | undefined;
|
|
62
|
+
dateOfBirth?: string | undefined;
|
|
63
|
+
};
|
|
64
|
+
credentialSubject: {
|
|
65
|
+
[x: string]: any;
|
|
66
|
+
id?: string | undefined;
|
|
67
|
+
} | {
|
|
68
|
+
[x: string]: any;
|
|
69
|
+
id?: string | undefined;
|
|
70
|
+
}[];
|
|
71
|
+
id?: string | undefined;
|
|
72
|
+
refreshService?: {
|
|
73
|
+
[x: string]: any;
|
|
74
|
+
type: string;
|
|
75
|
+
id?: string | undefined;
|
|
76
|
+
} | {
|
|
77
|
+
[x: string]: any;
|
|
78
|
+
type: string;
|
|
79
|
+
id?: string | undefined;
|
|
80
|
+
}[] | undefined;
|
|
81
|
+
credentialSchema?: {
|
|
82
|
+
[x: string]: any;
|
|
83
|
+
id: string;
|
|
84
|
+
type: string;
|
|
85
|
+
} | {
|
|
86
|
+
[x: string]: any;
|
|
87
|
+
id: string;
|
|
88
|
+
type: string;
|
|
89
|
+
}[] | undefined;
|
|
90
|
+
issuanceDate?: string | undefined;
|
|
91
|
+
expirationDate?: string | undefined;
|
|
92
|
+
credentialStatus?: {
|
|
93
|
+
[x: string]: any;
|
|
94
|
+
type: string;
|
|
95
|
+
id?: string | undefined;
|
|
96
|
+
} | {
|
|
97
|
+
[x: string]: any;
|
|
98
|
+
type: string;
|
|
99
|
+
id?: string | undefined;
|
|
100
|
+
}[] | undefined;
|
|
101
|
+
name?: string | undefined;
|
|
102
|
+
description?: string | undefined;
|
|
103
|
+
validFrom?: string | undefined;
|
|
104
|
+
validUntil?: string | undefined;
|
|
105
|
+
status?: {
|
|
106
|
+
[x: string]: any;
|
|
107
|
+
type: string;
|
|
108
|
+
id?: string | undefined;
|
|
109
|
+
} | {
|
|
110
|
+
[x: string]: any;
|
|
111
|
+
type: string;
|
|
112
|
+
id?: string | undefined;
|
|
113
|
+
}[] | undefined;
|
|
114
|
+
termsOfUse?: {
|
|
115
|
+
[x: string]: any;
|
|
116
|
+
type: string;
|
|
117
|
+
id?: string | undefined;
|
|
118
|
+
} | {
|
|
119
|
+
[x: string]: any;
|
|
120
|
+
type: string;
|
|
121
|
+
id?: string | undefined;
|
|
122
|
+
}[] | undefined;
|
|
123
|
+
evidence?: {
|
|
124
|
+
[x: string]: any;
|
|
125
|
+
type: string[];
|
|
126
|
+
id?: string | undefined;
|
|
127
|
+
name?: string | undefined;
|
|
128
|
+
narrative?: string | undefined;
|
|
129
|
+
description?: string | undefined;
|
|
130
|
+
genre?: string | undefined;
|
|
131
|
+
audience?: string | undefined;
|
|
132
|
+
} | {
|
|
133
|
+
[x: string]: any;
|
|
134
|
+
type: string[];
|
|
135
|
+
id?: string | undefined;
|
|
136
|
+
name?: string | undefined;
|
|
137
|
+
narrative?: string | undefined;
|
|
138
|
+
description?: string | undefined;
|
|
139
|
+
genre?: string | undefined;
|
|
140
|
+
audience?: string | undefined;
|
|
141
|
+
}[] | undefined;
|
|
142
|
+
renderMethod?: Record<string, any> | {
|
|
143
|
+
type: "TemplateRenderMethod";
|
|
144
|
+
renderSuite: string;
|
|
145
|
+
template: string;
|
|
146
|
+
renderProperty?: string[] | undefined;
|
|
147
|
+
outputPreference?: {
|
|
148
|
+
mediaType: string;
|
|
149
|
+
} | undefined;
|
|
150
|
+
} | (Record<string, any> | {
|
|
151
|
+
type: "TemplateRenderMethod";
|
|
152
|
+
renderSuite: string;
|
|
153
|
+
template: string;
|
|
154
|
+
renderProperty?: string[] | undefined;
|
|
155
|
+
outputPreference?: {
|
|
156
|
+
mediaType: string;
|
|
157
|
+
} | undefined;
|
|
158
|
+
})[] | undefined;
|
|
159
|
+
};
|
|
160
|
+
aggregate: {
|
|
161
|
+
refreshId: string;
|
|
162
|
+
issuerProfileId: string;
|
|
163
|
+
issuerDid: string;
|
|
164
|
+
credentialId: string;
|
|
165
|
+
state: string;
|
|
166
|
+
currentVersion: number;
|
|
167
|
+
createdAt: string;
|
|
168
|
+
updatedAt: string;
|
|
169
|
+
credentialStatusDigest: string;
|
|
170
|
+
inboxCredentialStatus: string;
|
|
171
|
+
materialDigest: string;
|
|
172
|
+
};
|
|
173
|
+
}>;
|
|
174
|
+
export declare const publishPendingInboxRefresh: (aggregate: CredentialRefreshRecord, issuer: ProfileType, input: PublishCredentialRefreshInput, domain: string) => Promise<PublishCredentialRefreshResult>;
|
|
175
|
+
export declare const finalizeInboxRefresh: (params: {
|
|
176
|
+
inboxId: string;
|
|
177
|
+
holderDid: string;
|
|
178
|
+
holderProfile?: ProfileType | null;
|
|
179
|
+
domain: string;
|
|
180
|
+
accepted?: boolean;
|
|
181
|
+
}) => Promise<{
|
|
182
|
+
credential: VC;
|
|
183
|
+
uri: string;
|
|
184
|
+
}>;
|
|
185
|
+
export declare const resumeInboxRefreshDelivery: (refreshId: string, domain: string) => Promise<void>;
|
|
186
|
+
//# sourceMappingURL=inbox-refresh.helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inbox-refresh.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/inbox-refresh.helpers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACR,6BAA6B,EAC7B,6BAA6B,EAC7B,8BAA8B,EAC9B,EAAE,EACL,MAAM,kBAAkB,CAAC;AA0B1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,uBAAuB,EAAE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eAAO,MAAM,0BAA0B,GACnC,WAAW,MAAM,EACjB,QAAQ,MAAM,KACf,OAAO,CAAC,IAAI,CAiBd,CAAC"}
|
|
@@ -15,11 +15,19 @@ export declare const issueToInbox: (issuerProfile: ProfileType, recipient: Conta
|
|
|
15
15
|
activityId?: string;
|
|
16
16
|
integrationId?: string;
|
|
17
17
|
guardianEmail?: string;
|
|
18
|
-
|
|
18
|
+
refresh?: boolean;
|
|
19
|
+
idempotencyKey?: string;
|
|
20
|
+
refreshRequestDigest?: string;
|
|
21
|
+
}) | undefined, ctx: Context, beforeDelivery?: () => Promise<void>) => Promise<{
|
|
22
|
+
refresh?: import("@learncard/types").InboxCredentialRefreshReceipt;
|
|
19
23
|
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
20
24
|
inboxCredential: InboxCredentialType;
|
|
21
25
|
claimUrl?: string;
|
|
22
26
|
recipientDid?: string;
|
|
23
27
|
guardianStatus?: "AWAITING_GUARDIAN" | "GUARDIAN_APPROVED" | "GUARDIAN_REJECTED";
|
|
24
28
|
}>;
|
|
29
|
+
export declare const resolveInboxCredentialInput: (input: IssueInboxCredentialType, ctx: Context) => Promise<{
|
|
30
|
+
credential: VC | UnsignedVC | VP;
|
|
31
|
+
resolvedBoostUri?: string;
|
|
32
|
+
}>;
|
|
25
33
|
//# sourceMappingURL=inbox.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inbox.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/inbox.helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"inbox.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/inbox.helpers.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,EAAE,EACF,UAAU,EAGV,EAAE,EACF,sBAAsB,EACtB,mBAAmB,EACnB,wBAAwB,EAE3B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,2BAA2B,EAA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SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;IACnE,eAAe,EAAE,mBAAmB,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,mBAAmB,GAAG,mBAAmB,GAAG,mBAAmB,CAAC;CACpF,CA2wBA,CAAC;AAOF,eAAO,MAAM,2BAA2B,GACpC,OAAO,wBAAwB,EAC/B,KAAK,OAAO,KACb,OAAO,CAAC;IAAE,UAAU,EAAE,EAAE,GAAG,UAAU,GAAG,EAAE,CAAC;IAAC,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAAE,CAoDzE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { JWE, UnsignedVC, VC } from '@learncard/types';
|
|
2
|
+
import type { IssuedCredential } from '../types/credential';
|
|
3
|
+
export declare const isIssuedCredential: (value: UnsignedVC | VC | JWE | IssuedCredential) => value is IssuedCredential;
|
|
4
|
+
export declare const getIssuedCredentialPayload: (value: VC | JWE | IssuedCredential) => VC | JWE;
|
|
5
|
+
//# sourceMappingURL=issuedCredentialStatus.helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"issuedCredentialStatus.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/issuedCredentialStatus.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,eAAO,MAAM,kBAAkB,GAC3B,OAAO,UAAU,GAAG,EAAE,GAAG,GAAG,GAAG,gBAAgB,KAChD,KAAK,IAAI,gBACgF,CAAC;AAE7F,eAAO,MAAM,0BAA0B,GAAI,OAAO,EAAE,GAAG,GAAG,GAAG,gBAAgB,KAAG,EAAE,GAAG,GAC7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/notifications.helpers.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAoC,MAAM,kBAAkB,CAAC;AAOrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAajD,KAAK,2BAA2B,GAAG;IAC/B,qCAAqC,CAAC,EAAE,OAAO,CAAC;CACnD,CAAC;AAuEF,eAAO,MAAM,gCAAgC,GACzC,cAAc,OAAO,EACrB,YAAY,OAAO,KACpB,OAcF,CAAC;AAmCF,eAAO,MAAM,0CAA0C,GAAI,QAAQ;IAC/D,aAAa,EAAE,WAAW,CAAC;IAC3B,aAAa,EAAE,WAAW,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;CACf,KAAG,eAqBH,CAAC;AAYF,MAAM,MAAM,oCAAoC,GAAG;IAE/C,YAAY,EAAE,eAAe,CAAC;IAE9B,cAAc,EAAE,MAAM,CAAC;IAEvB,QAAQ,EAAE,MAAM,CAAC;IAEjB,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,0CAA0C,GAAG;IACrD,aAAa,EAAE,WAAW,CAAC;IAC3B,aAAa,EAAE,WAAW,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAElB,OAAO,EAAE,MAAM,CAAC;IAEhB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,oCAAoC,GAC7C,QAAQ,0CAA0C,KACnD,
|
|
1
|
+
{"version":3,"file":"notifications.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/notifications.helpers.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAoC,MAAM,kBAA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|
1
|
-
{"version":3,"file":"rateLimit.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/rateLimit.helpers.ts"],"names":[],"mappings":"AAcA,MAAM,MAAM,eAAe,GAAG;IAE1B,GAAG,EAAE,MAAM,CAAC;IAEZ,KAAK,EAAE,MAAM,CAAC;IAEd,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC;AAeF,eAAO,MAAM,iBAAiB,GAAU,SAAS,eAAe,EAAE,KAAG,OAAO,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"rateLimit.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/rateLimit.helpers.ts"],"names":[],"mappings":"AAcA,MAAM,MAAM,eAAe,GAAG;IAE1B,GAAG,EAAE,MAAM,CAAC;IAEZ,KAAK,EAAE,MAAM,CAAC;IAEd,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC;AAeF,eAAO,MAAM,iBAAiB,GAAU,SAAS,eAAe,EAAE,KAAG,OAAO,CAAC,IAAI,CAkBhF,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { ManagedCredentialRefreshReceipt, SendBoostResponse } from '@learncard/types';
|
|
2
|
+
export declare const REFRESH_SEND_INTENT_STALE_MS: number;
|
|
3
|
+
export type RefreshSendIntentState = 'preparing' | 'prepared' | 'delivered';
|
|
4
|
+
export type RefreshSendIntent = {
|
|
5
|
+
intentKey: string;
|
|
6
|
+
issuerProfileId: string;
|
|
7
|
+
requestDigest: string;
|
|
8
|
+
state: RefreshSendIntentState;
|
|
9
|
+
claimToken: string;
|
|
10
|
+
boostUri?: string;
|
|
11
|
+
credentialId?: string;
|
|
12
|
+
refreshId?: string;
|
|
13
|
+
holderDid?: string;
|
|
14
|
+
pendingReceipt?: ManagedCredentialRefreshReceipt;
|
|
15
|
+
pendingActivityId?: string;
|
|
16
|
+
result?: SendBoostResponse;
|
|
17
|
+
updatedAt: string;
|
|
18
|
+
};
|
|
19
|
+
export type ClaimRefreshSendIntentResult = {
|
|
20
|
+
kind: 'owned';
|
|
21
|
+
intent: RefreshSendIntent;
|
|
22
|
+
} | {
|
|
23
|
+
kind: 'prepared';
|
|
24
|
+
intent: RefreshSendIntent;
|
|
25
|
+
} | {
|
|
26
|
+
kind: 'delivered';
|
|
27
|
+
intent: RefreshSendIntent;
|
|
28
|
+
};
|
|
29
|
+
export declare const computeRefreshSendRequestDigest: (request: {
|
|
30
|
+
recipientProfileId: string;
|
|
31
|
+
holderDid: string;
|
|
32
|
+
templateUri?: string;
|
|
33
|
+
template?: unknown;
|
|
34
|
+
contractUri?: string;
|
|
35
|
+
templateData?: Record<string, unknown>;
|
|
36
|
+
integrationId?: string;
|
|
37
|
+
credentialId?: string;
|
|
38
|
+
}) => string;
|
|
39
|
+
export declare const getRefreshSendIntent: (issuerProfileId: string, idempotencyKey: string) => Promise<RefreshSendIntent | null>;
|
|
40
|
+
export declare const claimRefreshSendIntent: (params: {
|
|
41
|
+
issuerProfileId: string;
|
|
42
|
+
idempotencyKey: string;
|
|
43
|
+
requestDigest: string;
|
|
44
|
+
}) => Promise<ClaimRefreshSendIntentResult>;
|
|
45
|
+
export declare const recordRefreshSendIntent: (intent: RefreshSendIntent, fields: Partial<Pick<RefreshSendIntent, "boostUri" | "credentialId" | "refreshId" | "holderDid">> & {
|
|
46
|
+
state?: "prepared";
|
|
47
|
+
}) => Promise<RefreshSendIntent>;
|
|
48
|
+
export declare const recordRefreshSendIntentPending: (intent: RefreshSendIntent, pendingReceipt: ManagedCredentialRefreshReceipt, pendingActivityId?: string) => Promise<void>;
|
|
49
|
+
export declare const markRefreshSendIntentDelivered: (intent: RefreshSendIntent, result: SendBoostResponse) => Promise<void>;
|
|
50
|
+
export declare const reconcileBoundRefreshSendIntent: (intent: RefreshSendIntent, domain: string) => Promise<SendBoostResponse | null>;
|
|
51
|
+
//# sourceMappingURL=refresh-send-intent.helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refresh-send-intent.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/refresh-send-intent.helpers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,+BAA+B,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAQ3F,eAAO,MAAM,4BAA4B,QAAa,CAAC;AAEvD,MAAM,MAAM,sBAAsB,GAAG,WAAW,GAAG,UAAU,GAAG,WAAW,CAAC;AAM5E,MAAM,MAAM,iBAAiB,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,sBAAsB,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,+BAA+B,CAAC;IACjD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAClC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,GAC5C;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAMvD,eAAO,MAAM,+BAA+B,GAAI,SAAS;IACrD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,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{ CreateOpenApiNodeHttpHandlerOptions } from 'trpc-to-openapi';
|
|
5
5
|
export type CreateOpenApiAwsLambdaHandlerOptions<TRouter extends OpenApiRouter> = Omit<CreateOpenApiNodeHttpHandlerOptions<TRouter, IncomingMessage, ServerResponse>, 'maxBodySize'>;
|
|
6
6
|
type AWSAPIGatewayEvent = APIGatewayProxyEvent | APIGatewayProxyEventV2;
|
|
7
|
-
export declare const createOpenApiAwsLambdaHandler: <TRouter extends OpenApiRouter>(opts: CreateOpenApiAwsLambdaHandlerOptions<TRouter>) => (event: AWSAPIGatewayEvent,
|
|
7
|
+
export declare const createOpenApiAwsLambdaHandler: <TRouter extends OpenApiRouter>(opts: CreateOpenApiAwsLambdaHandlerOptions<TRouter>) => (event: AWSAPIGatewayEvent, context: AWSContext) => Promise<APIGatewayProxyResult>;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=shim.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shim.d.ts","sourceRoot":"","sources":["../../src/helpers/shim.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,OAAO,IAAI,UAAU,EAC7B,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"shim.d.ts","sourceRoot":"","sources":["../../src/helpers/shim.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,OAAO,IAAI,UAAU,EAC7B,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,MAAM,CAAC;AAEjE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAgC,mCAAmC,EAAE,MAAM,iBAAiB,CAAC;AAEpG,MAAM,MAAM,oCAAoC,CAAC,OAAO,SAAS,aAAa,IAAI,IAAI,CAClF,mCAAmC,CAAC,OAAO,EAAE,eAAe,EAAE,cAAc,CAAC,EAC7E,aAAa,CAChB,CAAC;AAEF,KAAK,kBAAkB,GAAG,oBAAoB,GAAG,sBAAsB,CAAC;AAgKxE,eAAO,MAAM,6BAA6B,GAAI,OAAO,SAAS,aAAa,EACvE,MAAM,oCAAoC,CAAC,OAAO,CAAC,uFAuCtD,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { UnsignedVC
|
|
1
|
+
import type { UnsignedVC } from '@learncard/types';
|
|
2
2
|
import type { SigningAuthorityForUserType } from '../types/profile';
|
|
3
3
|
import type { CredentialIssuer } from '../types/issuer';
|
|
4
|
+
import type { IssuedCredential } from '../types/credential';
|
|
4
5
|
export declare class SaIssueError extends Error {
|
|
5
6
|
readonly status: number;
|
|
6
7
|
readonly body?: string;
|
|
@@ -16,5 +17,5 @@ export declare class SaIssueError extends Error {
|
|
|
16
17
|
cause?: unknown;
|
|
17
18
|
});
|
|
18
19
|
}
|
|
19
|
-
export declare function issueCredentialWithSigningAuthority(issuer: CredentialIssuer, credential: UnsignedVC, signingAuthorityForUser: SigningAuthorityForUserType, domain: string, encrypt?: boolean, ownerDidOverride?: string, appendCredentialStatus?: boolean): Promise<
|
|
20
|
+
export declare function issueCredentialWithSigningAuthority(issuer: CredentialIssuer, credential: UnsignedVC, signingAuthorityForUser: SigningAuthorityForUserType, domain: string, encrypt?: boolean, ownerDidOverride?: string, appendCredentialStatus?: boolean, additionalEncryptionRecipients?: string[]): Promise<IssuedCredential>;
|
|
20
21
|
//# sourceMappingURL=signingAuthority.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signingAuthority.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/signingAuthority.helpers.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"signingAuthority.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/signingAuthority.helpers.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAW,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAEjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAMxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAwB5D,qBAAa,YAAa,SAAQ,KAAK;IACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EACP,SAAS,GACT,SAAS,GACT,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,oBAAoB,GACpB,kBAAkB,CAAC;IACzB,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;gBAEb,IAAI,EAAE;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;QAC3B,SAAS,EAAE,OAAO,CAAC;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,OAAO,CAAC;KACnB;CASJ;AAmDD,wBAAsB,mCAAmC,CACrD,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,UAAU,EACtB,uBAAuB,EAAE,2BAA2B,EACpD,MAAM,EAAE,MAAM,EACd,OAAO,UAAO,EACd,gBAAgB,CAAC,EAAE,MAAM,EAKzB,sBAAsB,UAAO,EAE7B,8BAA8B,GAAE,MAAM,EAAO,GAC9C,OAAO,CAAC,gBAAgB,CAAC,CAqS3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signingAuthority.helpers.test.d.ts","sourceRoot":"","sources":["../../src/helpers/signingAuthority.helpers.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-list.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/status-list.helpers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACR,iCAAiC,EACjC,wBAAwB,EACxB,sBAAsB,EACtB,UAAU,EACV,EAAE,EACL,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"status-list.helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/status-list.helpers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACR,iCAAiC,EACjC,wBAAwB,EACxB,sBAAsB,EACtB,UAAU,EACV,EAAE,EACL,MAAM,kBAAkB,CAAC;AAc1B,OAAO,KAAK,EAAqB,cAAc,EAAE,MAAM,SAAS,CAAC;AAiCjE,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,KAAG,MAKrD,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,IAAI,MAAM,EAAE,QAAQ,MAAM,KAAG,MAChB,CAAC;AAczD,eAAO,MAAM,eAAe,GAAI,WAAW,MAAM,KAAG,MACV,CAAC;AAE3C,eAAO,MAAM,eAAe,GAAI,aAAa,MAAM,EAAE,cAAc,MAAM,KAAG,MAe3E,CAAC;AAgEF,eAAO,MAAM,iBAAiB,GAAU,IAAI,MAAM,KAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAWjF,CAAC;AAwGF,eAAO,MAAM,uBAAuB,GAChC,gBAAgB,MAAM,EACtB,QAAQ,MAAM,EACd,eAAe,sBAAsB,EACrC,gBAAgB,MAAM,KACvB,OAAO,CAAC,iCAAiC,CAuB3C,CAAC;AAEF,eAAO,MAAM,gCAAgC,GACzC,YAAY,UAAU,EACtB,gBAAgB,MAAM,EACtB,QAAQ,MAAM,EACd,iBAAgB,sBAAsB,EAAiC,KACxE,OAAO,CAAC,UAAU,CA0BpB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAC9B,OAAO,wBAAwB,EAC/B,OAAO,OAAO,KACf,OAAO,CAAC,OAAO,CAmDjB,CAAC;AAEF,eAAO,MAAM,4BAA4B,GACrC,cAAc,MAAM,EACpB,eAAe,sBAAsB,EACrC,OAAO,OAAO,KACf,OAAO,CAAC,OAAO,CAkCjB,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAU,IAAI,MAAM,KAAG,OAAO,CAAC,EAAE,GAAG,IAAI,CAKjF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-list.helpers.test.d.ts","sourceRoot":"","sources":["../../src/helpers/status-list.helpers.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inbox-queue-local.d.ts","sourceRoot":"","sources":["../src/inbox-queue-local.ts"],"names":[],"mappings":""}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/dist/index.js
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 105563330 bytes
|
|
4
|
+
sha256: 6db976d48f4cfdb968d8938aa5a51edfdd67e5e35b0d78aa81a47ff0b6694f74
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthGrant.d.ts","sourceRoot":"","sources":["../../src/models/AuthGrant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAI1E,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,MAAM,sBAAsB,GAAG;IACjC,mBAAmB,EAAE,kBAAkB,CAAC,OAAO,OAAO,EAAE,eAAe,CAAC,CAAC;CAC5E,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,iBAAiB,EAAE,sBAAsB,CAAC,CAAC;AAE1F,eAAO,MAAM,SAAS;;;
|
|
1
|
+
{"version":3,"file":"AuthGrant.d.ts","sourceRoot":"","sources":["../../src/models/AuthGrant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAI1E,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,MAAM,sBAAsB,GAAG;IACjC,mBAAmB,EAAE,kBAAkB,CAAC,OAAO,OAAO,EAAE,eAAe,CAAC,CAAC;CAC5E,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,iBAAiB,EAAE,sBAAsB,CAAC,CAAC;AAE1F,eAAO,MAAM,SAAS;;;0CAwBrB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsentFlowTerms.d.ts","sourceRoot":"","sources":["../../src/models/ConsentFlowTerms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAGjF,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,MAAM,MAAM,6BAA6B,GAAG;IACxC,SAAS,EAAE,kBAAkB,CAAC,OAAO,OAAO,EAAE,eAAe,CAAC,CAAC;IAC/D,UAAU,EAAE,kBAAkB,CAAC,OAAO,mBAAmB,EAAE,mBAAmB,CAAC,CAAC;CACnF,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,cAAc,CACjD,eAAe,EACf,6BAA6B,CAChC,CAAC;AAEF,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"ConsentFlowTerms.d.ts","sourceRoot":"","sources":["../../src/models/ConsentFlowTerms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAGjF,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,MAAM,MAAM,6BAA6B,GAAG;IACxC,SAAS,EAAE,kBAAkB,CAAC,OAAO,OAAO,EAAE,eAAe,CAAC,CAAC;IAC/D,UAAU,EAAE,kBAAkB,CAAC,OAAO,mBAAmB,EAAE,mBAAmB,CAAC,CAAC;CACnF,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,cAAc,CACjD,eAAe,EACf,6BAA6B,CAChC,CAAC;AAEF,eAAO,MAAM,gBAAgB,8FAuB5B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsentFlowTransaction.d.ts","sourceRoot":"","sources":["../../src/models/ConsentFlowTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAGhF,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,MAAM,MAAM,mCAAmC,GAAG;IAC9C,KAAK,EAAE,kBAAkB,CAAC,OAAO,gBAAgB,EAAE,wBAAwB,CAAC,CAAC;CAChF,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,cAAc,CACvD,qBAAqB,EACrB,mCAAmC,CACtC,CAAC;AAEF,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"ConsentFlowTransaction.d.ts","sourceRoot":"","sources":["../../src/models/ConsentFlowTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAGhF,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,MAAM,MAAM,mCAAmC,GAAG;IAC9C,KAAK,EAAE,kBAAkB,CAAC,OAAO,gBAAgB,EAAE,wBAAwB,CAAC,CAAC;CAChF,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,cAAc,CACvD,qBAAqB,EACrB,mCAAmC,CACtC,CAAC;AAEF,eAAO,MAAM,sBAAsB,0GAoBlC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -22,6 +22,7 @@ export type CredentialInstance = NeogmaInstance<CredentialType, CredentialRelati
|
|
|
22
22
|
export declare const Credential: import("neogma").NeogmaModel<{
|
|
23
23
|
id: string;
|
|
24
24
|
credential: string;
|
|
25
|
+
statusEntries?: string | undefined;
|
|
25
26
|
}, CredentialRelationships, Object, Object>;
|
|
26
27
|
export default Credential;
|
|
27
28
|
//# sourceMappingURL=Credential.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Credential.d.ts","sourceRoot":"","sources":["../../src/models/Credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAI1E,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,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IAClC,kBAAkB,EAAE,kBAAkB,CAClC;QAAE,SAAS,EAAE,CAAC,OAAO,OAAO,CAAC,CAAC,WAAW,CAAC,CAAA;KAAE,EAC5C,eAAe,EACf,uBAAuB,EACvB,uBAAuB,CAC1B,CAAC;IACF,UAAU,EAAE,kBAAkB,CAAC,OAAO,KAAK,EAAE,aAAa,CAAC,CAAC;IAC5D,oBAAoB,EAAE,kBAAkB,CACpC,OAAO,sBAAsB,EAC7B,8BAA8B,EAC9B;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAChB;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CACnB,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,cAAc,EAAE,uBAAuB,CAAC,CAAC;AAEzF,eAAO,MAAM,UAAU;;;;2CAWtB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialActivity.d.ts","sourceRoot":"","sources":["../../src/models/CredentialActivity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAI1E,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAE7E,MAAM,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"CredentialActivity.d.ts","sourceRoot":"","sources":["../../src/models/CredentialActivity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAI1E,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO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AA0B,GAAG,cAAc,CACnD,sBAAsB,EACtB,+BAA+B,CAClC,CAAC;AAEF,eAAO,MAAM,kBAAkB,uGAqE9B,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -13,13 +13,15 @@ export declare const CredentialRefresh: import("neogma").NeogmaModel<{
|
|
|
13
13
|
refreshId: string;
|
|
14
14
|
issuerProfileId: string;
|
|
15
15
|
issuerDid: string;
|
|
16
|
-
holderDid: string;
|
|
17
16
|
credentialId: string;
|
|
18
|
-
state: "active" | "revoked" | "awaiting_claim";
|
|
17
|
+
state: "active" | "revoked" | "pending_holder" | "awaiting_claim";
|
|
19
18
|
currentVersion: number;
|
|
20
19
|
createdAt: string;
|
|
21
20
|
updatedAt: string;
|
|
21
|
+
inboxCredentialId?: string | undefined;
|
|
22
|
+
inboxCredentialStatus?: string | undefined;
|
|
22
23
|
holderProfileId?: string | undefined;
|
|
24
|
+
holderDid?: string | undefined;
|
|
23
25
|
etag?: string | undefined;
|
|
24
26
|
materialDigest?: string | undefined;
|
|
25
27
|
rootMaterialDigest?: string | undefined;
|
|
@@ -29,6 +31,7 @@ export declare const CredentialRefresh: import("neogma").NeogmaModel<{
|
|
|
29
31
|
signingMode?: "issuer-signed" | "signing-authority" | undefined;
|
|
30
32
|
idempotencyKey?: string | undefined;
|
|
31
33
|
updateSummary?: string | undefined;
|
|
34
|
+
credentialDisplayName?: string | undefined;
|
|
32
35
|
lastPublishedAt?: string | undefined;
|
|
33
36
|
notificationWindowKey?: string | undefined;
|
|
34
37
|
lastNotificationId?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialRefresh.d.ts","sourceRoot":"","sources":["../../src/models/CredentialRefresh.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAI1E,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,UAAU,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,uBAAuB,EACvB,8BAA8B,CACjC,CAAC;AAaF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDA8C7B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { ModelRelatedNodesI, NeogmaInstance } from 'neogma';
|
|
|
2
2
|
import { Profile, ProfileInstance } from './Profile';
|
|
3
3
|
import ContactMethod, { ContactMethodInstance } from './ContactMethod';
|
|
4
4
|
export type InboxCredentialType = {
|
|
5
|
+
refreshId?: string;
|
|
5
6
|
id: string;
|
|
6
7
|
credential?: string;
|
|
7
8
|
isSigned: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InboxCredential.d.ts","sourceRoot":"","sources":["../../src/models/InboxCredential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAI1E,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,aAAa,EAAE,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAEvE,MAAM,MAAM,mBAAmB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;IAC1E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ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AAA;KAAE,CACxE,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAChD,mBAAmB,EACnB,4BAA4B,CAC/B,CAAC;AAEF,eAAO,MAAM,eAAe,iGAiJ3B,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential-refresh-constraints.d.ts","sourceRoot":"","sources":["../../src/models/credential-refresh-constraints.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"credential-refresh-constraints.d.ts","sourceRoot":"","sources":["../../src/models/credential-refresh-constraints.ts"],"names":[],"mappings":"AAwCA,eAAO,MAAM,kCAAkC,QAAO,OAAO,CAAC,IAAI,CAWjE,CAAC"}
|
package/dist/openapi.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../src/openapi.ts"],"names":[],"mappings":"AACA,OAAgB,EAAE,KAAK,OAAO,EAAE,MAAM,SAAS,CAAC;AAKhD,eAAO,MAAM,eAAe,yCAmB1B,CAAC;
|
|
1
|
+
{"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../src/openapi.ts"],"names":[],"mappings":"AACA,OAAgB,EAAE,KAAK,OAAO,EAAE,MAAM,SAAS,CAAC;AAKhD,eAAO,MAAM,eAAe,yCAmB1B,CAAC;AAkDH,eAAO,MAAM,GAAG,EAAE,OAAmB,CAAC;AAStC,eAAe,GAAG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"act-as.test.d.ts","sourceRoot":"","sources":["../../src/routes/act-as.test.ts"],"names":[],"mappings":""}
|
|
@@ -26,6 +26,7 @@ export declare const activityRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26
26
|
recipientIdentifier: string;
|
|
27
27
|
source: "contract" | "send" | "sendBoost" | "sendCredential" | "claim" | "inbox" | "claimLink" | "acceptCredential" | "appEvent";
|
|
28
28
|
actorProfileId?: string | undefined;
|
|
29
|
+
onBehalfOf?: string | undefined;
|
|
29
30
|
boostUri?: string | undefined;
|
|
30
31
|
credentialUri?: string | undefined;
|
|
31
32
|
inboxCredentialId?: string | undefined;
|
|
@@ -91,6 +92,7 @@ export declare const activityRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
91
92
|
recipientIdentifier: string;
|
|
92
93
|
source: "contract" | "send" | "sendBoost" | "sendCredential" | "claim" | "inbox" | "claimLink" | "acceptCredential" | "appEvent";
|
|
93
94
|
actorProfileId?: string | undefined;
|
|
95
|
+
onBehalfOf?: string | undefined;
|
|
94
96
|
boostUri?: string | undefined;
|
|
95
97
|
credentialUri?: string | undefined;
|
|
96
98
|
inboxCredentialId?: string | undefined;
|
|
@@ -123,6 +125,7 @@ export declare const activityRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
123
125
|
recipientIdentifier: string;
|
|
124
126
|
source: "contract" | "send" | "sendBoost" | "sendCredential" | "claim" | "inbox" | "claimLink" | "acceptCredential" | "appEvent";
|
|
125
127
|
actorProfileId?: string | undefined;
|
|
128
|
+
onBehalfOf?: string | undefined;
|
|
126
129
|
boostUri?: string | undefined;
|
|
127
130
|
credentialUri?: string | undefined;
|
|
128
131
|
inboxCredentialId?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../src/routes/activity.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../src/routes/activity.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2LzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC;AAEnD,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-store.d.ts","sourceRoot":"","sources":["../../src/routes/app-store.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"app-store.d.ts","sourceRoot":"","sources":["../../src/routes/app-store.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAmhB5C,eAAO,MAAM,yBAAyB,GAClC,KAAK;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,EACvB,SAAS;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,EAC9B,WAAW,MAAM,EACjB,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,cAAc,WAAW,KAC1B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA8RjC,CAAC;AAy2BF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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