@verana-labs/vs-agent-sdk 2.0.0-dev.12 → 2.0.0-dev.120

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/README.md +0 -2
  2. package/build/adminApi/AdminApiError.d.ts +28 -0
  3. package/build/adminApi/AdminApiError.js +67 -0
  4. package/build/adminApi/AdminApiError.js.map +1 -0
  5. package/build/adminApi/didcommModules.d.ts +2 -0
  6. package/build/adminApi/didcommModules.js +8 -0
  7. package/build/adminApi/didcommModules.js.map +1 -0
  8. package/build/adminApi/index.d.ts +4 -0
  9. package/build/adminApi/index.js +21 -0
  10. package/build/adminApi/index.js.map +1 -0
  11. package/build/adminApi/moduleEndpoint.d.ts +7 -0
  12. package/build/adminApi/moduleEndpoint.js +21 -0
  13. package/build/adminApi/moduleEndpoint.js.map +1 -0
  14. package/build/adminApi/pagination/PageDto.d.ts +7 -0
  15. package/build/adminApi/pagination/PageDto.js +50 -0
  16. package/build/adminApi/pagination/PageDto.js.map +1 -0
  17. package/build/adminApi/pagination/PaginationQueryDto.d.ts +11 -0
  18. package/build/adminApi/pagination/PaginationQueryDto.js +46 -0
  19. package/build/adminApi/pagination/PaginationQueryDto.js.map +1 -0
  20. package/build/adminApi/pagination/cursor.d.ts +28 -0
  21. package/build/adminApi/pagination/cursor.js +64 -0
  22. package/build/adminApi/pagination/cursor.js.map +1 -0
  23. package/build/adminApi/pagination/index.d.ts +4 -0
  24. package/build/adminApi/pagination/index.js +21 -0
  25. package/build/adminApi/pagination/index.js.map +1 -0
  26. package/build/adminApi/pagination/paginate.d.ts +27 -0
  27. package/build/adminApi/pagination/paginate.js +77 -0
  28. package/build/adminApi/pagination/paginate.js.map +1 -0
  29. package/build/agent/VsAgent.d.ts +32 -36
  30. package/build/agent/VsAgent.js +179 -221
  31. package/build/agent/VsAgent.js.map +1 -1
  32. package/build/agent/createVsAgent.d.ts +9 -6
  33. package/build/agent/createVsAgent.js +5 -5
  34. package/build/agent/createVsAgent.js.map +1 -1
  35. package/build/blockchain/AnonCredsTrustService.d.ts +115 -0
  36. package/build/blockchain/AnonCredsTrustService.js +287 -0
  37. package/build/blockchain/AnonCredsTrustService.js.map +1 -0
  38. package/build/blockchain/AuthorizationService.d.ts +8 -6
  39. package/build/blockchain/AuthorizationService.js +30 -38
  40. package/build/blockchain/AuthorizationService.js.map +1 -1
  41. package/build/blockchain/IndexerWebSocketService.d.ts +5 -1
  42. package/build/blockchain/IndexerWebSocketService.js +42 -21
  43. package/build/blockchain/IndexerWebSocketService.js.map +1 -1
  44. package/build/blockchain/VeranaChainService.d.ts +38 -27
  45. package/build/blockchain/VeranaChainService.js +186 -177
  46. package/build/blockchain/VeranaChainService.js.map +1 -1
  47. package/build/blockchain/VeranaIndexerService.d.ts +14 -1
  48. package/build/blockchain/VeranaIndexerService.js +122 -8
  49. package/build/blockchain/VeranaIndexerService.js.map +1 -1
  50. package/build/blockchain/feePreflight.d.ts +34 -0
  51. package/build/blockchain/feePreflight.js +96 -0
  52. package/build/blockchain/feePreflight.js.map +1 -0
  53. package/build/blockchain/handlers/IndexerHandlerRegistry.d.ts +0 -1
  54. package/build/blockchain/handlers/IndexerHandlerRegistry.js.map +1 -1
  55. package/build/blockchain/handlers/authorizationHandlers.js +2 -2
  56. package/build/blockchain/handlers/authorizationHandlers.js.map +1 -1
  57. package/build/blockchain/handlers/defaultHandlers.js +7 -2
  58. package/build/blockchain/handlers/defaultHandlers.js.map +1 -1
  59. package/build/blockchain/handlers/index.d.ts +1 -0
  60. package/build/blockchain/handlers/index.js +1 -0
  61. package/build/blockchain/handlers/index.js.map +1 -1
  62. package/build/blockchain/handlers/selfIssuanceHandlers.d.ts +13 -0
  63. package/build/blockchain/handlers/selfIssuanceHandlers.js +76 -0
  64. package/build/blockchain/handlers/selfIssuanceHandlers.js.map +1 -0
  65. package/build/blockchain/handlers/stateMutations.d.ts +28 -4
  66. package/build/blockchain/handlers/stateMutations.js +356 -48
  67. package/build/blockchain/handlers/stateMutations.js.map +1 -1
  68. package/build/blockchain/index.d.ts +4 -0
  69. package/build/blockchain/index.js +4 -0
  70. package/build/blockchain/index.js.map +1 -1
  71. package/build/blockchain/indexerMappers.d.ts +3 -0
  72. package/build/blockchain/indexerMappers.js +57 -0
  73. package/build/blockchain/indexerMappers.js.map +1 -0
  74. package/build/blockchain/rpcRetry.d.ts +2 -0
  75. package/build/blockchain/rpcRetry.js +43 -0
  76. package/build/blockchain/rpcRetry.js.map +1 -0
  77. package/build/blockchain/triggerResolver.d.ts +26 -0
  78. package/build/blockchain/triggerResolver.js +110 -0
  79. package/build/blockchain/triggerResolver.js.map +1 -0
  80. package/build/blockchain/types.d.ts +14 -70
  81. package/build/blockchain/types.js +6 -1
  82. package/build/blockchain/types.js.map +1 -1
  83. package/build/bootstrap/EcsBootstrapService.d.ts +13 -4
  84. package/build/bootstrap/EcsBootstrapService.js +176 -124
  85. package/build/bootstrap/EcsBootstrapService.js.map +1 -1
  86. package/build/connections/InvitationRecord.d.ts +50 -0
  87. package/build/connections/InvitationRecord.js +60 -0
  88. package/build/connections/InvitationRecord.js.map +1 -0
  89. package/build/connections/ParentConnectionModule.d.ts +22 -0
  90. package/build/connections/ParentConnectionModule.js +91 -0
  91. package/build/connections/ParentConnectionModule.js.map +1 -0
  92. package/build/credentials/FullTailsFileService.d.ts +0 -1
  93. package/build/credentials/FullTailsFileService.js +0 -49
  94. package/build/credentials/FullTailsFileService.js.map +1 -1
  95. package/build/did/CachedDocumentLoader.d.ts +3 -0
  96. package/build/did/CachedDocumentLoader.js +9 -3
  97. package/build/did/CachedDocumentLoader.js.map +1 -1
  98. package/build/did/CachedWebDidResolver.d.ts +0 -4
  99. package/build/did/CachedWebDidResolver.js +1 -5
  100. package/build/did/CachedWebDidResolver.js.map +1 -1
  101. package/build/did/artifactServices.d.ts +12 -0
  102. package/build/did/artifactServices.js +48 -0
  103. package/build/did/artifactServices.js.map +1 -0
  104. package/build/did/legacyDidWeb.d.ts +6 -4
  105. package/build/did/legacyDidWeb.js +17 -14
  106. package/build/did/legacyDidWeb.js.map +1 -1
  107. package/build/did/publicDid.d.ts +4 -0
  108. package/build/did/publicDid.js +19 -0
  109. package/build/did/publicDid.js.map +1 -0
  110. package/build/did/reusedDidDocument.d.ts +37 -0
  111. package/build/did/reusedDidDocument.js +93 -0
  112. package/build/did/reusedDidDocument.js.map +1 -0
  113. package/build/events/BaseMessageEvents.d.ts +24 -0
  114. package/build/events/BaseMessageEvents.js +368 -14
  115. package/build/events/BaseMessageEvents.js.map +1 -1
  116. package/build/events/ConnectionEvents.js +149 -87
  117. package/build/events/ConnectionEvents.js.map +1 -1
  118. package/build/events/InvitationEvents.d.ts +6 -0
  119. package/build/events/InvitationEvents.js +57 -0
  120. package/build/events/InvitationEvents.js.map +1 -0
  121. package/build/events/VsAgentEvents.d.ts +40 -9
  122. package/build/events/VsAgentEvents.js +10 -1
  123. package/build/events/VsAgentEvents.js.map +1 -1
  124. package/build/events/VtFlowEvents.d.ts +1 -1
  125. package/build/events/VtFlowEvents.js +29 -17
  126. package/build/events/VtFlowEvents.js.map +1 -1
  127. package/build/events/index.d.ts +1 -0
  128. package/build/events/index.js +1 -0
  129. package/build/events/index.js.map +1 -1
  130. package/build/index.d.ts +9 -1
  131. package/build/index.js +20 -2
  132. package/build/index.js.map +1 -1
  133. package/build/plugins/setupBaseDidComm.js +24 -22
  134. package/build/plugins/setupBaseDidComm.js.map +1 -1
  135. package/build/transports/HttpInboundTransport.js +6 -1
  136. package/build/transports/HttpInboundTransport.js.map +1 -1
  137. package/build/transports/VsAgentWsInboundTransport.d.ts +1 -1
  138. package/build/transports/VsAgentWsInboundTransport.js +20 -14
  139. package/build/transports/VsAgentWsInboundTransport.js.map +1 -1
  140. package/build/types.d.ts +14 -13
  141. package/build/types.js +1 -2
  142. package/build/types.js.map +1 -1
  143. package/build/utils/agent.d.ts +42 -4
  144. package/build/utils/agent.js +126 -22
  145. package/build/utils/agent.js.map +1 -1
  146. package/build/utils/boundedFetch.d.ts +13 -0
  147. package/build/utils/boundedFetch.js +47 -0
  148. package/build/utils/boundedFetch.js.map +1 -0
  149. package/build/utils/didReadiness.js +5 -2
  150. package/build/utils/didReadiness.js.map +1 -1
  151. package/build/utils/ecsClaims.d.ts +46 -0
  152. package/build/utils/ecsClaims.js +115 -0
  153. package/build/utils/ecsClaims.js.map +1 -0
  154. package/build/utils/ecsService.d.ts +8 -0
  155. package/build/utils/ecsService.js +23 -0
  156. package/build/utils/ecsService.js.map +1 -0
  157. package/build/utils/index.d.ts +7 -0
  158. package/build/utils/index.js +7 -0
  159. package/build/utils/index.js.map +1 -1
  160. package/build/utils/publishedDidRecord.d.ts +15 -0
  161. package/build/utils/publishedDidRecord.js +83 -0
  162. package/build/utils/publishedDidRecord.js.map +1 -0
  163. package/build/utils/selfIssuedEcsCredential.d.ts +8 -0
  164. package/build/utils/selfIssuedEcsCredential.js +158 -0
  165. package/build/utils/selfIssuedEcsCredential.js.map +1 -0
  166. package/build/utils/setupSelfTr.d.ts +34 -74
  167. package/build/utils/setupSelfTr.js +79 -321
  168. package/build/utils/setupSelfTr.js.map +1 -1
  169. package/build/utils/trustCredentialStore.d.ts +86 -9
  170. package/build/utils/trustCredentialStore.js +342 -137
  171. package/build/utils/trustCredentialStore.js.map +1 -1
  172. package/build/utils/typeMetadata.d.ts +44 -0
  173. package/build/utils/typeMetadata.js +89 -0
  174. package/build/utils/typeMetadata.js.map +1 -0
  175. package/build/utils/util.d.ts +20 -0
  176. package/build/utils/util.js +32 -1
  177. package/build/utils/util.js.map +1 -1
  178. package/build/utils/vcdm2.d.ts +34 -0
  179. package/build/utils/vcdm2.js +60 -0
  180. package/build/utils/vcdm2.js.map +1 -0
  181. package/build/utils/vtjscResolver.d.ts +23 -0
  182. package/build/utils/vtjscResolver.js +53 -0
  183. package/build/utils/vtjscResolver.js.map +1 -0
  184. package/build/vtFlow/VtFlowOrchestrator.d.ts +134 -16
  185. package/build/vtFlow/VtFlowOrchestrator.js +965 -138
  186. package/build/vtFlow/VtFlowOrchestrator.js.map +1 -1
  187. package/build/vtFlow/assertVerifiableService.d.ts +31 -2
  188. package/build/vtFlow/assertVerifiableService.js +68 -10
  189. package/build/vtFlow/assertVerifiableService.js.map +1 -1
  190. package/build/vtFlow/ecsIssuanceExemption.d.ts +12 -0
  191. package/build/vtFlow/ecsIssuanceExemption.js +63 -0
  192. package/build/vtFlow/ecsIssuanceExemption.js.map +1 -0
  193. package/build/vtFlow/index.d.ts +2 -0
  194. package/build/vtFlow/index.js +2 -0
  195. package/build/vtFlow/index.js.map +1 -1
  196. package/build/vtFlow/issuanceRepair.d.ts +4 -0
  197. package/build/vtFlow/issuanceRepair.js +181 -0
  198. package/build/vtFlow/issuanceRepair.js.map +1 -0
  199. package/package.json +27 -19
  200. package/build/did/migrateWebVhLog.d.ts +0 -34
  201. package/build/did/migrateWebVhLog.js +0 -230
  202. package/build/did/migrateWebVhLog.js.map +0 -1
  203. package/build/did/migrateWebVhVersionTime.d.ts +0 -9
  204. package/build/did/migrateWebVhVersionTime.js +0 -191
  205. package/build/did/migrateWebVhVersionTime.js.map +0 -1
@@ -1,10 +1,11 @@
1
- import { type DidCommJsonLdCredentialDetailFormat, type JsonCredential } from '@credo-ts/didcomm';
2
- import { VtFlowRecord } from '@verana-labs/credo-ts-didcomm-vt-flow';
1
+ import type { JsonObject } from '@credo-ts/core';
2
+ import type { DidCommDataIntegrityOfferCredentialFormat } from '@credo-ts/didcomm';
3
+ import { VtFlowRecord, type VtFlowCheckParticipantIdContext, type VtFlowCheckSchemaIdContext, type VtFlowEcsIssuanceExemptionContext, type VtFlowIssuance } from '@verana-labs/credo-ts-didcomm-vt-flow';
3
4
  import { BaseAgentModules, VsAgent } from '../agent';
4
- import { VeranaIndexerService } from '../blockchain/VeranaIndexerService';
5
+ import { CredentialSchemaDto, Participant, ParticipantDto } from '../blockchain/types';
6
+ export declare const FAILED_SUBMISSION_RETRY_INTERVAL_MS = 60000;
5
7
  export interface VtFlowOrchestratorOptions {
6
8
  publicApiBaseUrl?: string;
7
- indexer?: VeranaIndexerService;
8
9
  agentParticipantId?: number;
9
10
  walletAgentParticipantId?: number;
10
11
  }
@@ -13,13 +14,33 @@ export interface StartOnboardingProcessInput {
13
14
  participantSessionId?: string;
14
15
  claims?: Record<string, unknown>;
15
16
  }
16
- export interface ValidateAndOfferCredentialInput {
17
+ export interface ValidateOnboardingProcessInput {
17
18
  vtFlowRecordId: string;
19
+ /** Only for a HOLDER. It defaults to the schema of the applicant participant. */
20
+ credentialSchemaId?: string;
21
+ credentialType?: string[];
22
+ credentialContext?: string[];
23
+ }
24
+ export interface ValidateFlowInput {
25
+ vtFlowRecordId: string;
26
+ validationFees?: number;
27
+ issuanceFees?: number;
28
+ verificationFees?: number;
29
+ issuanceFeeDiscount?: number;
30
+ verificationFeeDiscount?: number;
31
+ effectiveUntil?: string;
32
+ opSummaryDigest?: string;
33
+ }
34
+ export interface OfferOnboardingCredentialInput {
35
+ vtFlowRecordId: string;
36
+ /** The credential validateOnboardingProcess built. Without it the method builds one. */
37
+ credential?: JsonObject;
38
+ /** It defaults to the schema of the applicant participant. */
39
+ credentialSchemaId?: string;
40
+ /** The participant validateOnboardingProcess returned; saves a second chain read. */
41
+ participant?: Participant;
18
42
  credentialType?: string[];
19
43
  credentialContext?: string[];
20
- credentialSchemaId: string;
21
- agentParticipantId?: number;
22
- walletAgentParticipantId?: number;
23
44
  }
24
45
  export interface AcceptCredentialInput {
25
46
  vtFlowRecordId: string;
@@ -27,27 +48,124 @@ export interface AcceptCredentialInput {
27
48
  export declare class VtFlowOrchestrator {
28
49
  private readonly agent;
29
50
  private readonly options;
51
+ private startupRepeats?;
30
52
  constructor(agent: VsAgent<BaseAgentModules>, options?: VtFlowOrchestratorOptions);
31
53
  startOnboardingProcess(input: StartOnboardingProcessInput): Promise<VtFlowRecord>;
32
- validateAndOfferCredential(input: ValidateAndOfferCredentialInput): Promise<VtFlowRecord>;
54
+ /**
55
+ * Validate an onboarding process: record the outcome on-chain, accept the onboarding request and
56
+ * move the record to VALIDATED. It sends no credential. Only a HOLDER takes part in a credential
57
+ * exchange; an ISSUER, a VERIFIER or a grantor joins the Ecosystem, and SetParticipantOPToValidated
58
+ * is the whole of it. The caller decides what follows, from the role of the returned participant.
59
+ *
60
+ * For a HOLDER it builds the credential before the chain write, and returns it for
61
+ * offerOnboardingCredential. Claims that do not satisfy the schema, or a schema fetch that fails,
62
+ * must stop the process while the chain holds no outcome yet and the caller can repeat the call.
63
+ *
64
+ * A record that is already VALIDATED and has no credential exchange keeps the chain outcome and
65
+ * only builds the credential again. A repeat call thus re-drives an offer that did not complete.
66
+ */
67
+ validateOnboardingProcess(input: ValidateOnboardingProcessInput): Promise<{
68
+ record: VtFlowRecord;
69
+ participant: Participant;
70
+ credential?: JsonObject;
71
+ }>;
72
+ /**
73
+ * Offer the credential of an onboarding process to its applicant. Call it only for a HOLDER, and
74
+ * only after validateOnboardingProcess has moved the record to VALIDATED. Give it the credential
75
+ * that validateOnboardingProcess built, so that the process does not build the credential twice.
76
+ */
77
+ offerOnboardingCredential(input: OfferOnboardingCredentialInput): Promise<VtFlowRecord>;
78
+ /**
79
+ * Close an onboarding process that carries no credential exchange, on the validator side. The
80
+ * applicant reaches the same state from the SetParticipantOPToValidated chain event.
81
+ */
82
+ completeOnboardingProcess(vtFlowRecordId: string): Promise<VtFlowRecord>;
83
+ /** [VSA-ADM-VT-FL-VALIDATE] */
84
+ validateFlow(input: ValidateFlowInput): Promise<VtFlowRecord>;
85
+ private validateFlowOnce;
86
+ private validateDirectIssuance;
87
+ private sendValidating;
88
+ private assertClaims;
89
+ private assertValidateState;
90
+ private validationTerms;
91
+ private assertClaimsAndTerm;
92
+ private submissionPath;
93
+ private submitValidation;
94
+ private preflight;
95
+ private anchor;
96
+ resolveValidationTx(recordId: string): Promise<void>;
97
+ private failUnlessValidated;
98
+ /**
99
+ * [VSA-VTI-FLOW-OP-ISSUE]: moves the flow to VALIDATED and fills `validation` from the validated
100
+ * entry. Without the landed transaction, a recorded broadcast keeps its tx, and its submission
101
+ * unless that tx failed.
102
+ */
103
+ markValidated(recordId: string, entry: ParticipantDto, landed?: {
104
+ hash: string;
105
+ height: number;
106
+ timestamp?: string;
107
+ }): Promise<VtFlowRecord>;
108
+ /** rejectFlow ended the flow with its transaction in flight, and no newer flow of the applicant replaced it ([VSA-ADM-VT-FL-REJECT-2]). */
109
+ isRejectedInFlight(record: VtFlowRecord): Promise<boolean>;
110
+ continueAfterValidated(recordId: string): Promise<VtFlowRecord>;
111
+ private oneAtATime;
112
+ private issuanceAfterValidated;
113
+ /** [VSA-ADM-VT-FL-VALIDATE-8]: at startup, resume every flow left in VALIDATION_TX_SUBMITTED. */
114
+ resumeValidationSubmissions(): Promise<void>;
115
+ /** [VSA-VTI-FLOW-ISSUE-1]: at startup, resume through the stored issued credential every anchoring left SUBMITTED. */
116
+ resumeIssuanceSubmissions(): Promise<void>;
117
+ resumeIssuance(recordId: string, reoffer?: boolean): Promise<VtFlowRecord | null>;
118
+ private resumeIssuanceRun;
119
+ resumeIssuanceRuns(): Promise<void>;
120
+ /**
121
+ * [VSA-ADM-VT-FL-VALIDATE-12], [VSA-VTI-FLOW-ISSUE-3]: repeat validateFlow for each anchoring and
122
+ * validation that failed in the pre-flight. The first run repeats each of them one time. A later run
123
+ * repeats only SERVICE_UNAVAILABLE. A run stops after a validation it broadcasts, as its inclusion
124
+ * is not awaited and a second signature would reuse the account sequence. The flows that the first
125
+ * run did not reach stay for the subsequent runs.
126
+ */
127
+ resumeFailedSubmissions(): Promise<void>;
33
128
  acceptCredential(input: AcceptCredentialInput): Promise<VtFlowRecord>;
34
- buildDirectIssuanceOffer(vtFlowRecordId: string): Promise<{
129
+ /** `schema` saves the indexer reads when the caller already fetched the schema of the flow. */
130
+ buildDirectIssuanceOffer(vtFlowRecordId: string, schema?: CredentialSchemaDto): Promise<{
35
131
  credentialFormats: {
36
- jsonld: DidCommJsonLdCredentialDetailFormat;
132
+ dataIntegrity: DidCommDataIntegrityOfferCredentialFormat;
37
133
  };
38
134
  issuerParticipantId: number;
39
135
  } | null>;
136
+ /**
137
+ * The ISSUER entry under which this agent issues the schema by Direct Issuance, if any.
138
+ * [VSA-VTI-FLOW-DI]: Direct Issuance is only for a schema with holder_onboarding_mode =
139
+ * PERMISSIONLESS, and the ECS schemas use ISSUER_ONBOARDING_PROCESS. The chain accepts the
140
+ * anchoring CreateOrUpdateParticipantSession only from the vs_operator of the entry.
141
+ */
142
+ private directIssuanceIssuer;
143
+ /**
144
+ * Builds the unsigned VC Data Model 2.0 credential that goes into the offer. RFC 0809 derives the
145
+ * advertised data model version from its context, and the issuer secures it with a
146
+ * DataIntegrityProof once the applicant requests it.
147
+ */
40
148
  private buildCredential;
149
+ private resolveJsonSchemaCredentialId;
41
150
  /** Per the spec the algorithm comes from the schema, never from the digest value. */
42
151
  private digestAlgorithmForSchema;
43
- /** Fired after signing and before delivery, so a failure here must abort the issuance. */
44
- onCredentialIssued(vtFlowRecordId: string, signedCredential: JsonCredential): Promise<string>;
152
+ private credentialSchema;
153
+ /** Fired after signing and before delivery. A failed anchoring comes back in `issuance`, and the credential stays undelivered. */
154
+ onCredentialIssued(vtFlowRecordId: string, signedCredential: Record<string, unknown>): Promise<{
155
+ credentialDigest: string;
156
+ issuance: VtFlowIssuance;
157
+ }>;
45
158
  verifyOfferedCredential(vtFlowRecordId: string): Promise<void>;
159
+ /** [VSA-VTI-FLOW-FMT-1]. Credo already verified the proof and its assertionMethod key, for data model 2.0 only. */
160
+ private assertFlowCredentialFormat;
46
161
  onCredentialRevoked(vtFlowRecordId: string): Promise<void>;
47
162
  onCredentialCompleted(vtFlowRecordId: string): Promise<void>;
48
- private triggerResolver;
49
- private getOfferedCredentialJson;
50
- private requireIndexer;
163
+ /** The signed credential as the issuer attached it, which is the exact JSON its digest covers. */
164
+ private getReceivedCredentialJson;
165
+ checkEcsIssuanceExemption(context: VtFlowEcsIssuanceExemptionContext): Promise<boolean>;
166
+ checkParticipantId({ record }: VtFlowCheckParticipantIdContext): Promise<boolean | 'validated'>;
167
+ isParticipantPending({ record }: VtFlowCheckParticipantIdContext): Promise<boolean>;
168
+ checkSchemaId({ record }: VtFlowCheckSchemaIdContext): Promise<boolean>;
51
169
  publishCredentialAsLinkedVp(vtFlowRecordId: string): Promise<void>;
52
170
  private extractSchemaBaseId;
53
171
  rotateRequesterDidToPeer(connectionId: string): Promise<void>;