@sphereon/ssi-sdk.data-store 0.34.1-fix.223 → 0.34.1-fix.247

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 (103) hide show
  1. package/dist/index.cjs +2358 -2522
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +321 -1245
  4. package/dist/index.d.ts +321 -1245
  5. package/dist/index.js +2301 -2465
  6. package/dist/index.js.map +1 -1
  7. package/package.json +8 -7
  8. package/src/__tests__/contact.entities.test.ts +2 -8
  9. package/src/__tests__/contact.store.test.ts +11 -6
  10. package/src/__tests__/digitalCredential.entities.test.ts +11 -5
  11. package/src/__tests__/digitalCredential.store.test.ts +1 -1
  12. package/src/__tests__/eventLogger.entities.test.ts +3 -3
  13. package/src/__tests__/eventLogger.store.test.ts +9 -4
  14. package/src/__tests__/issuanceBranding.entities.test.ts +2 -2
  15. package/src/__tests__/issuanceBranding.store.test.ts +3 -3
  16. package/src/__tests__/machineState.entities.test.ts +1 -1
  17. package/src/__tests__/machineState.store.test.ts +1 -1
  18. package/src/__tests__/pd-manager.store.test.ts +1 -1
  19. package/src/__tests__/statusList.entities.test.ts +4 -4
  20. package/src/__tests__/statusList.store.test.ts +3 -3
  21. package/src/contact/ContactStore.ts +35 -35
  22. package/src/digitalCredential/DigitalCredentialStore.ts +8 -9
  23. package/src/entities/contact/BaseConfigEntity.ts +2 -2
  24. package/src/entities/contact/BaseContactEntity.ts +4 -5
  25. package/src/entities/contact/ConnectionEntity.ts +4 -4
  26. package/src/entities/contact/ContactMetadataItemEntity.ts +3 -4
  27. package/src/entities/contact/CorrelationIdentifierEntity.ts +3 -4
  28. package/src/entities/contact/DidAuthConfigEntity.ts +1 -2
  29. package/src/entities/contact/ElectronicAddressEntity.ts +15 -5
  30. package/src/entities/contact/IdentityEntity.ts +12 -12
  31. package/src/entities/contact/IdentityMetadataItemEntity.ts +3 -3
  32. package/src/entities/contact/NaturalPersonEntity.ts +5 -5
  33. package/src/entities/contact/OrganizationEntity.ts +1 -1
  34. package/src/entities/contact/PartyEntity.ts +7 -7
  35. package/src/entities/contact/PartyRelationshipEntity.ts +8 -8
  36. package/src/entities/contact/PartyTypeEntity.ts +4 -4
  37. package/src/entities/contact/PhysicalAddressEntity.ts +3 -3
  38. package/src/entities/digitalCredential/DigitalCredentialEntity.ts +3 -3
  39. package/src/entities/eventLogger/AuditEventEntity.ts +2 -2
  40. package/src/entities/issuanceBranding/BackgroundAttributesEntity.ts +2 -2
  41. package/src/entities/issuanceBranding/BaseLocaleBrandingEntity.ts +6 -7
  42. package/src/entities/issuanceBranding/CredentialBrandingEntity.ts +2 -2
  43. package/src/entities/issuanceBranding/CredentialClaimsEntity.ts +2 -2
  44. package/src/entities/issuanceBranding/CredentialLocaleBrandingEntity.ts +2 -2
  45. package/src/entities/issuanceBranding/ImageAttributesEntity.ts +2 -2
  46. package/src/entities/issuanceBranding/IssuerBrandingEntity.ts +2 -2
  47. package/src/entities/issuanceBranding/IssuerLocaleBrandingEntity.ts +3 -3
  48. package/src/entities/issuanceBranding/TextAttributesEntity.ts +1 -1
  49. package/src/entities/machineState/MachineStateInfoEntity.ts +1 -1
  50. package/src/entities/presentationDefinition/DcqlQueryItemEntity.ts +2 -2
  51. package/src/entities/statusList/BitstringStatusListEntryEntity.ts +1 -1
  52. package/src/entities/statusList/StatusListEntities.ts +3 -4
  53. package/src/eventLogger/EventLoggerStore.ts +2 -2
  54. package/src/index.ts +19 -24
  55. package/src/issuanceBranding/IssuanceBrandingStore.ts +25 -25
  56. package/src/machineState/MachineStateStore.ts +7 -7
  57. package/src/migrations/generic/1-CreateContacts.ts +1 -1
  58. package/src/migrations/generic/10-CreatePresentationDefinitions.ts +1 -1
  59. package/src/migrations/generic/11-FixCredentialClaimsReferenceUuid.ts +2 -2
  60. package/src/migrations/generic/2-CreateIssuanceBranding.ts +1 -1
  61. package/src/migrations/generic/3-CreateContacts.ts +2 -2
  62. package/src/migrations/generic/4-CreateStatusList.ts +1 -1
  63. package/src/migrations/generic/5-CreateAuditEvents.ts +2 -2
  64. package/src/migrations/generic/6-CreateDigitalCredential.ts +1 -1
  65. package/src/migrations/generic/7-CreateMachineStateStore.ts +1 -1
  66. package/src/migrations/generic/8-CreateContacts.ts +1 -1
  67. package/src/migrations/generic/9-CreateContacts.ts +1 -1
  68. package/src/migrations/postgres/1659463079428-CreateContacts.ts +1 -1
  69. package/src/migrations/postgres/1685628974232-CreateIssuanceBranding.ts +1 -1
  70. package/src/migrations/postgres/1690925872592-CreateContacts.ts +1 -1
  71. package/src/presentationDefinition/PDStore.ts +7 -7
  72. package/src/statusList/IStatusListStore.ts +1 -1
  73. package/src/statusList/StatusListStore.ts +3 -3
  74. package/src/types/index.ts +0 -12
  75. package/src/types/statusList/IAbstractStatusListStore.ts +9 -9
  76. package/src/utils/ValidatorUtils.ts +1 -1
  77. package/src/utils/contact/MappingUtils.ts +10 -10
  78. package/src/utils/digitalCredential/MappingUtils.ts +3 -21
  79. package/src/utils/eventLogger/MappingUtils.ts +2 -2
  80. package/src/utils/issuanceBranding/MappingUtils.ts +13 -13
  81. package/src/utils/presentationDefinition/MappingUtils.ts +1 -1
  82. package/src/utils/statusList/MappingUtils.ts +1 -1
  83. package/src/contact/AbstractContactStore.ts +0 -71
  84. package/src/digitalCredential/AbstractDigitalCredentialStore.ts +0 -21
  85. package/src/eventLogger/AbstractEventLoggerStore.ts +0 -9
  86. package/src/issuanceBranding/AbstractIssuanceBrandingStore.ts +0 -41
  87. package/src/machineState/IAbstractMachineStateStore.ts +0 -65
  88. package/src/presentationDefinition/AbstractPDStore.ts +0 -20
  89. package/src/types/contact/IAbstractContactStore.ts +0 -161
  90. package/src/types/contact/contact.ts +0 -295
  91. package/src/types/contact/index.ts +0 -2
  92. package/src/types/digitalCredential/IAbstractDigitalCredentialStore.ts +0 -44
  93. package/src/types/digitalCredential/enums.ts +0 -63
  94. package/src/types/digitalCredential/index.ts +0 -3
  95. package/src/types/digitalCredential/types.ts +0 -40
  96. package/src/types/eventLogger/IAbstractEventLoggerStore.ts +0 -22
  97. package/src/types/eventLogger/eventLogger.ts +0 -4
  98. package/src/types/issuanceBranding/IAbstractIssuanceBrandingStore.ts +0 -85
  99. package/src/types/issuanceBranding/issuanceBranding.ts +0 -138
  100. package/src/types/machineState/IAbstractMachineStateStore.ts +0 -68
  101. package/src/types/presentationDefinition/IAbstractPDStore.ts +0 -25
  102. package/src/types/presentationDefinition/presentationDefinition.ts +0 -18
  103. package/src/types/validation/validation.ts +0 -3
package/dist/index.d.ts CHANGED
@@ -1,1006 +1,10 @@
1
- import typeorm, { BaseEntity as BaseEntity$8, FindOptionsWhere, FindOptionsOrder, DataSource, Repository, MigrationInterface, QueryRunner } from 'typeorm';
2
- import { ManagedIdentifierOptsOrResult } from '@sphereon/ssi-sdk-ext.identifier-resolution';
3
- import { IIdentifier } from '@veramo/core';
4
- import { CredentialRole, StatusListType, IIssuer, StatusListDriverType, StatusListCredentialIdMode, CredentialProofFormat, StatusListCredential, StatusListIndexingDirection, StatusPurpose2021, RequireOneOf, ICredentialStatus, HasherSync, LoggingEventType, LogLevel, System, SubSystem, ActionType, ActionSubType, InitiatorType, SystemCorrelationIdType, OrPromise, OriginalVerifiableCredential, OriginalVerifiablePresentation } from '@sphereon/ssi-types';
5
- import { AuditLoggingEvent, ActivityLoggingEvent, PartialAuditLoggingEvent, PartialActivityLoggingEvent, PartyCorrelationType, CredentialType } from '@sphereon/ssi-sdk.core';
6
- import { DcqlQuery } from 'dcql';
1
+ import { BaseEntity, FindOptionsWhere, DataSource, Repository, MigrationInterface, QueryRunner } from 'typeorm';
2
+ import { CorrelationIdentifierType, IMetadataEntity, ElectronicAddressType, PartyTypeType, PartyOrigin, PhysicalAddressType, IdentityOrigin, ConnectionType, DigitalCredential, DocumentType, RegulationType, CredentialDocumentFormat, CredentialCorrelationType, CredentialStateType, AbstractContactStore, GetPartyArgs, Party, GetPartiesArgs, AddPartyArgs, UpdatePartyArgs, RemovePartyArgs, GetIdentityArgs, Identity, GetIdentitiesArgs, AddIdentityArgs, UpdateIdentityArgs, RemoveIdentityArgs, AddRelationshipArgs, PartyRelationship, GetRelationshipArgs, GetRelationshipsArgs, UpdateRelationshipArgs, RemoveRelationshipArgs, AddPartyTypeArgs, PartyType, GetPartyTypeArgs, GetPartyTypesArgs, UpdatePartyTypeArgs, RemovePartyTypeArgs, GetElectronicAddressArgs, ElectronicAddress, GetElectronicAddressesArgs, AddElectronicAddressArgs, UpdateElectronicAddressArgs, RemoveElectronicAddressArgs, GetPhysicalAddressArgs, PhysicalAddress, GetPhysicalAddressesArgs, AddPhysicalAddressArgs, UpdatePhysicalAddressArgs, RemovePhysicalAddressArgs, AbstractDigitalCredentialStore, AddCredentialArgs, GetCredentialArgs, GetCredentialsArgs, GetCredentialsResponse, RemoveCredentialArgs, UpdateCredentialStateArgs, AbstractIssuanceBrandingStore, IAddCredentialBrandingArgs, ICredentialBranding, IGetCredentialBrandingArgs, IRemoveCredentialBrandingArgs, IUpdateCredentialBrandingArgs, IAddCredentialLocaleBrandingArgs, IGetCredentialLocaleBrandingArgs, ICredentialLocaleBranding, IRemoveCredentialLocaleBrandingArgs, IUpdateCredentialLocaleBrandingArgs, IAddIssuerBrandingArgs, IIssuerBranding, IGetIssuerBrandingArgs, IRemoveIssuerBrandingArgs, IUpdateIssuerBrandingArgs, IAddIssuerLocaleBrandingArgs, IGetIssuerLocaleBrandingArgs, IIssuerLocaleBranding, IRemoveIssuerLocaleBrandingArgs, IUpdateIssuerLocaleBrandingArgs, AbstractEventLoggerStore, GetAuditEventsArgs, StoreAuditEventArgs, GetActivityEventsArgs, StoreActivityEventArgs, IAbstractMachineStateStore, StoreMachineStatePersistArgs, StoreMachineStateInfo, StoreMachineStatesFindActiveArgs, StoreFindMachineStatesArgs, StoreMachineStateGetArgs, StoreMachineStateDeleteArgs, StoreMachineStateDeleteExpiredArgs, AbstractPDStore, GetDefinitionArgs, DcqlQueryItem, HasDefinitionArgs, HasDefinitionsArgs, GetDefinitionsArgs, NonPersistedDcqlQueryItem, DeleteDefinitionArgs, DeleteDefinitionsArgs, DcqlQueryItemFilter, NonPersistedParty, NonPersistedContact, Contact, NonPersistedNaturalPerson, NonPersistedOrganization, NonPersistedConnection, Connection, NonPersistedCorrelationIdentifier, CorrelationIdentifier, NonPersistedDidAuthConfig, NonPersistedElectronicAddress, NonPersistedPhysicalAddress, NonPersistedIdentity, NonPersistedMetadataItem, MetadataTypes, MetadataItem, NaturalPerson, NonPersistedOpenIdConfig, Organization, NonPersistedPartyRelationship, NonPersistedPartyType, ConnectionConfig, OpenIdConfig, DidAuthConfig, NonPersistedConnectionConfig, NonPersistedDigitalCredential, NonPersistedAuditLoggingEvent, NonPersistedActivityLoggingEvent, ILocaleBranding, IBasicIssuerLocaleBranding, IBasicBackgroundAttributes, IBasicCredentialBranding, IBasicCredentialLocaleBranding, IBasicImageAttributes, IBasicImageDimensions, IBasicIssuerBranding, IBasicTextAttributes, IBasicCredentialClaim, PartialDcqlQueryItem } from '@sphereon/ssi-sdk.data-store-types';
3
+ export { AbstractEventLoggerStore } from '@sphereon/ssi-sdk.data-store-types';
4
+ import { CredentialRole, LoggingEventType, LogLevel, System, SubSystem, ActionType, ActionSubType, InitiatorType, SystemCorrelationIdType, StatusListType, IIssuer, StatusListDriverType, StatusListCredentialIdMode, CredentialProofFormat, StatusListCredential, StatusListIndexingDirection, StatusPurpose2021, RequireOneOf, ICredentialStatus, OrPromise, OriginalVerifiableCredential, OriginalVerifiablePresentation } from '@sphereon/ssi-types';
5
+ import { PartyCorrelationType, CredentialType, AuditLoggingEvent, ActivityLoggingEvent } from '@sphereon/ssi-sdk.core';
7
6
 
8
- interface ILocaleBranding {
9
- id: string;
10
- alias?: string;
11
- locale?: string;
12
- logo?: IImageAttributes;
13
- description?: string;
14
- background?: IBackgroundAttributes;
15
- text?: ITextAttributes;
16
- createdAt: Date;
17
- lastUpdatedAt: Date;
18
- }
19
- interface IImageAttributes {
20
- id: string;
21
- uri?: string;
22
- dataUri?: string;
23
- mediaType?: string;
24
- alt?: string;
25
- dimensions?: IImageDimensions;
26
- }
27
- interface IBasicImageAttributes extends Omit<IImageAttributes, 'id' | 'dimensions'> {
28
- dimensions?: IBasicImageDimensions;
29
- }
30
- interface IPartialImageAttributes extends Partial<Omit<IImageAttributes, 'dimensions'>> {
31
- dimensions?: IPartialImageDimensions;
32
- }
33
- interface IBackgroundAttributes {
34
- id: string;
35
- color?: string;
36
- image?: IImageAttributes;
37
- }
38
- interface IBasicBackgroundAttributes extends Omit<IBackgroundAttributes, 'id' | 'image'> {
39
- image?: IBasicImageAttributes;
40
- }
41
- interface IPartialBackgroundAttributes extends Partial<Omit<IBackgroundAttributes, 'image'>> {
42
- image?: IPartialImageAttributes;
43
- }
44
- interface ITextAttributes {
45
- id: string;
46
- color?: string;
47
- }
48
- interface IBasicTextAttributes extends Omit<ITextAttributes, 'id'> {
49
- }
50
- interface IPartialTextAttributes extends Partial<ITextAttributes> {
51
- }
52
- interface IImageDimensions {
53
- id: string;
54
- width: number;
55
- height: number;
56
- }
57
- interface IBasicImageDimensions extends Omit<IImageDimensions, 'id'> {
58
- }
59
- interface IPartialImageDimensions extends Partial<IImageDimensions> {
60
- }
61
- interface ICredentialClaim {
62
- id: string;
63
- key: string;
64
- name: string;
65
- }
66
- interface IBasicCredentialClaim extends Omit<ICredentialClaim, 'id'> {
67
- }
68
- interface IPartialCredentialClaim extends Partial<ICredentialClaim> {
69
- }
70
- interface ICredentialLocaleBranding extends ILocaleBranding {
71
- claims?: Array<ICredentialClaim>;
72
- }
73
- interface IBasicCredentialLocaleBranding extends Omit<ICredentialLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text' | 'claims'> {
74
- logo?: IBasicImageAttributes;
75
- background?: IBasicBackgroundAttributes;
76
- text?: IBasicTextAttributes;
77
- claims?: Array<IBasicCredentialClaim>;
78
- }
79
- interface IPartialCredentialLocaleBranding extends Partial<Omit<ICredentialLocaleBranding, 'logo' | 'background' | 'text' | 'claims'>> {
80
- logo?: IPartialImageAttributes;
81
- background?: IPartialBackgroundAttributes;
82
- text?: IPartialTextAttributes;
83
- claims?: IPartialCredentialClaim;
84
- }
85
- interface ICredentialBranding {
86
- id: string;
87
- issuerCorrelationId: string;
88
- vcHash: string;
89
- localeBranding: Array<ICredentialLocaleBranding>;
90
- createdAt: Date;
91
- lastUpdatedAt: Date;
92
- }
93
- interface IBasicCredentialBranding extends Omit<ICredentialBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding'> {
94
- localeBranding: Array<IBasicCredentialLocaleBranding>;
95
- }
96
- interface IPartialCredentialBranding extends Partial<Omit<ICredentialBranding, 'localeBranding'>> {
97
- localeBranding?: IPartialCredentialLocaleBranding;
98
- }
99
- interface IIssuerLocaleBranding extends ILocaleBranding {
100
- clientUri?: string;
101
- tosUri?: string;
102
- policyUri?: string;
103
- contacts?: Array<string>;
104
- }
105
- interface IBasicIssuerLocaleBranding extends Omit<IIssuerLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text'> {
106
- logo?: IBasicImageAttributes;
107
- background?: IBasicBackgroundAttributes;
108
- text?: IBasicTextAttributes;
109
- }
110
- interface IPartialIssuerLocaleBranding extends Partial<Omit<IIssuerLocaleBranding, 'logo' | 'background' | 'text' | 'contacts'>> {
111
- logo?: IPartialImageAttributes;
112
- background?: IPartialBackgroundAttributes;
113
- text?: IPartialTextAttributes;
114
- contacts?: string;
115
- }
116
- interface IIssuerBranding {
117
- id: string;
118
- issuerCorrelationId: string;
119
- localeBranding: Array<IIssuerLocaleBranding>;
120
- createdAt: Date;
121
- lastUpdatedAt: Date;
122
- }
123
- interface IBasicIssuerBranding extends Omit<IIssuerBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding'> {
124
- localeBranding: Array<IBasicIssuerLocaleBranding>;
125
- }
126
- interface IPartialIssuerBranding extends Partial<Omit<IIssuerBranding, 'localeBranding'>> {
127
- localeBranding?: IPartialIssuerLocaleBranding;
128
- }
129
- interface ICredentialBrandingFilter extends IPartialCredentialBranding {
130
- }
131
- interface ICredentialLocaleBrandingFilter extends IPartialCredentialLocaleBranding {
132
- credentialBranding?: IPartialCredentialBranding;
133
- }
134
- interface IIssuerBrandingFilter extends IPartialIssuerBranding {
135
- }
136
- interface IIssuerLocaleBrandingFilter extends IPartialIssuerLocaleBranding {
137
- issuerBranding?: IPartialIssuerBranding;
138
- }
139
-
140
- type FindCredentialBrandingArgs = Array<ICredentialBrandingFilter>;
141
- type FindCredentialLocaleBrandingArgs = Array<ICredentialLocaleBrandingFilter>;
142
- type FindIssuerBrandingArgs = Array<IIssuerBrandingFilter>;
143
- type FindIssuerLocaleBrandingArgs = Array<IIssuerLocaleBrandingFilter>;
144
- interface IAddCredentialBrandingArgs {
145
- vcHash: string;
146
- issuerCorrelationId: string;
147
- localeBranding: Array<IBasicCredentialLocaleBranding>;
148
- }
149
- interface IGetCredentialBrandingArgs {
150
- filter?: FindCredentialBrandingArgs;
151
- }
152
- interface IUpdateCredentialBrandingArgs {
153
- credentialBranding: Omit<ICredentialBranding, 'localeBranding' | 'createdAt' | 'lastUpdatedAt'>;
154
- }
155
- interface IRemoveCredentialBrandingArgs {
156
- filter: FindCredentialBrandingArgs;
157
- }
158
- interface IAddCredentialLocaleBrandingArgs {
159
- credentialBrandingId: string;
160
- localeBranding: Array<IBasicCredentialLocaleBranding>;
161
- }
162
- interface IUpdateCredentialLocaleBrandingArgs {
163
- localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt'>;
164
- }
165
- interface IRemoveCredentialLocaleBrandingArgs {
166
- filter: FindCredentialLocaleBrandingArgs;
167
- }
168
- interface IGetCredentialLocaleBrandingArgs {
169
- filter?: FindCredentialLocaleBrandingArgs;
170
- }
171
- interface IAddIssuerBrandingArgs {
172
- issuerCorrelationId: string;
173
- localeBranding: Array<IBasicIssuerLocaleBranding>;
174
- }
175
- interface IGetIssuerBrandingArgs {
176
- filter?: FindIssuerBrandingArgs;
177
- }
178
- interface IUpdateIssuerBrandingArgs {
179
- issuerBranding: Omit<IIssuerBranding, 'localeBranding' | 'createdAt' | 'lastUpdatedAt'>;
180
- }
181
- interface IRemoveIssuerBrandingArgs {
182
- filter: FindIssuerBrandingArgs;
183
- }
184
- interface IAddIssuerLocaleBrandingArgs {
185
- issuerBrandingId: string;
186
- localeBranding: Array<IBasicIssuerLocaleBranding>;
187
- }
188
- interface IUpdateIssuerLocaleBrandingArgs {
189
- localeBranding: Omit<ILocaleBranding, 'createdAt' | 'lastUpdatedAt'>;
190
- }
191
- interface IRemoveIssuerLocaleBrandingArgs {
192
- filter: FindIssuerLocaleBrandingArgs;
193
- }
194
- interface IGetIssuerLocaleBrandingArgs {
195
- filter?: FindIssuerLocaleBrandingArgs;
196
- }
197
-
198
- type MetadataTypes = string | number | Date | boolean | undefined;
199
- interface IMetadataEntity {
200
- label: string;
201
- stringValue?: string;
202
- numberValue?: number;
203
- dateValue?: Date;
204
- boolValue?: boolean;
205
- }
206
- type Party = {
207
- id: string;
208
- uri?: string;
209
- roles: Array<CredentialRole>;
210
- ownerId?: string;
211
- tenantId?: string;
212
- identities: Array<Identity>;
213
- electronicAddresses: Array<ElectronicAddress>;
214
- physicalAddresses: Array<PhysicalAddress>;
215
- contact: Contact;
216
- partyType: PartyType;
217
- /**
218
- * TODO: Integrate branding logic here in the future. What we should do is make the issuance branding plugin part of the contact-manager and retrieve any branding there is.
219
- *
220
- * Currently, we are only defining the branding type within the SDK without implementing the associated logic. This is because:
221
- * 1. We are combining two types from the SSI-SDK to create a new type that will be used across multiple places in the wallets (web & mobile).
222
- * 2. While it makes sense to have this combined type in the SDK, the logic to support database connections for these types is complex. The types belong to different modules, and we don't use them together currently.
223
- * 3. Implementing the full logic now would require significant changes and cross-module interactions, which we don't have the time to address at present.
224
- *
225
- * For now, we are defining the type here and will use it in the mobile wallet has the logic for it. This is a temporary solution until we have the resources to integrate the branding logic fully.
226
- */
227
- branding?: IIssuerLocaleBranding;
228
- relationships: Array<PartyRelationship>;
229
- createdAt: Date;
230
- lastUpdatedAt: Date;
231
- };
232
- type NonPersistedParty = Omit<Party, 'id' | 'identities' | 'electronicAddresses' | 'physicalAddresses' | 'contact' | 'roles' | 'partyType' | 'relationships' | 'createdAt' | 'lastUpdatedAt'> & {
233
- identities?: Array<NonPersistedIdentity>;
234
- electronicAddresses?: Array<NonPersistedElectronicAddress>;
235
- physicalAddresses?: Array<NonPersistedPhysicalAddress>;
236
- contact: NonPersistedContact;
237
- partyType: NonPersistedPartyType;
238
- relationships?: Array<NonPersistedPartyRelationship>;
239
- };
240
- type PartialParty = Partial<Omit<Party, 'identities' | 'electronicAddresses' | 'physicalAddresses' | 'contact' | 'partyType' | 'relationships'>> & {
241
- identities?: PartialIdentity;
242
- electronicAddresses?: PartialElectronicAddress;
243
- physicalAddresses?: PartialPhysicalAddress;
244
- contact?: PartialContact;
245
- partyType?: PartialPartyType;
246
- relationships?: PartialPartyRelationship;
247
- };
248
- type Identity = {
249
- id: string;
250
- alias: string;
251
- ownerId?: string;
252
- tenantId?: string;
253
- origin: IdentityOrigin;
254
- roles: Array<CredentialRole>;
255
- identifier: CorrelationIdentifier;
256
- connection?: Connection;
257
- metadata?: Array<MetadataItem<MetadataTypes>>;
258
- createdAt: Date;
259
- lastUpdatedAt: Date;
260
- };
261
- type NonPersistedIdentity = Omit<Identity, 'id' | 'identifier' | 'connection' | 'metadata' | 'origin' | 'createdAt' | 'lastUpdatedAt'> & {
262
- origin: IdentityOrigin;
263
- identifier: NonPersistedCorrelationIdentifier;
264
- connection?: NonPersistedConnection;
265
- metadata?: Array<NonPersistedMetadataItem<MetadataTypes>>;
266
- };
267
- type PartialIdentity = Partial<Omit<Identity, 'identifier' | 'connection' | 'metadata' | 'origin' | 'roles'>> & {
268
- identifier?: PartialCorrelationIdentifier;
269
- connection?: PartialConnection;
270
- metadata?: PartialMetadataItem<MetadataTypes>;
271
- origin?: IdentityOrigin;
272
- roles?: CredentialRole;
273
- partyId?: string;
274
- };
275
- type MetadataItem<T extends MetadataTypes> = {
276
- id: string;
277
- label: string;
278
- value: T;
279
- };
280
- type NonPersistedMetadataItem<T extends MetadataTypes> = Omit<MetadataItem<T>, 'id'>;
281
- type PartialMetadataItem<T extends MetadataTypes> = Partial<MetadataItem<T>>;
282
- type CorrelationIdentifier = {
283
- id: string;
284
- ownerId?: string;
285
- tenantId?: string;
286
- type: CorrelationIdentifierType;
287
- correlationId: string;
288
- };
289
- type NonPersistedCorrelationIdentifier = Omit<CorrelationIdentifier, 'id'>;
290
- type PartialCorrelationIdentifier = Partial<CorrelationIdentifier>;
291
- type Connection = {
292
- id: string;
293
- ownerId?: string;
294
- tenantId?: string;
295
- type: ConnectionType;
296
- config: ConnectionConfig;
297
- };
298
- type NonPersistedConnection = Omit<Connection, 'id' | 'config'> & {
299
- config: NonPersistedConnectionConfig;
300
- };
301
- type PartialConnection = Partial<Omit<Connection, 'config'>> & {
302
- config: PartialConnectionConfig;
303
- };
304
- type OpenIdConfig = {
305
- id: string;
306
- clientId: string;
307
- clientSecret: string;
308
- ownerId?: string;
309
- tenantId?: string;
310
- scopes: Array<string>;
311
- issuer: string;
312
- redirectUrl: string;
313
- dangerouslyAllowInsecureHttpRequests: boolean;
314
- clientAuthMethod: 'basic' | 'post' | undefined;
315
- };
316
- type NonPersistedOpenIdConfig = Omit<OpenIdConfig, 'id'>;
317
- type PartialOpenIdConfig = Partial<OpenIdConfig>;
318
- type DidAuthConfig = {
319
- id: string;
320
- idOpts: ManagedIdentifierOptsOrResult;
321
- stateId: string;
322
- ownerId?: string;
323
- tenantId?: string;
324
- redirectUrl: string;
325
- sessionId: string;
326
- };
327
- type NonPersistedDidAuthConfig = Omit<DidAuthConfig, 'id'>;
328
- type PartialDidAuthConfig = Partial<Omit<DidAuthConfig, 'identifier'>> & {
329
- identifier: Partial<IIdentifier>;
330
- };
331
- type ConnectionConfig = OpenIdConfig | DidAuthConfig;
332
- type NonPersistedConnectionConfig = NonPersistedDidAuthConfig | NonPersistedOpenIdConfig;
333
- type PartialConnectionConfig = PartialOpenIdConfig | PartialDidAuthConfig;
334
- type NaturalPerson = {
335
- id: string;
336
- firstName: string;
337
- lastName: string;
338
- middleName?: string;
339
- displayName: string;
340
- metadata?: Array<MetadataItem<MetadataTypes>>;
341
- ownerId?: string;
342
- tenantId?: string;
343
- createdAt: Date;
344
- lastUpdatedAt: Date;
345
- };
346
- type NonPersistedNaturalPerson = Omit<NaturalPerson, 'id' | 'createdAt' | 'lastUpdatedAt'>;
347
- type PartialNaturalPerson = Partial<Omit<NaturalPerson, 'metadata'>> & {
348
- metadata?: PartialMetadataItem<MetadataTypes>;
349
- };
350
- type Organization = {
351
- id: string;
352
- legalName: string;
353
- displayName: string;
354
- metadata?: Array<MetadataItem<MetadataTypes>>;
355
- ownerId?: string;
356
- tenantId?: string;
357
- createdAt: Date;
358
- lastUpdatedAt: Date;
359
- };
360
- type NonPersistedOrganization = Omit<Organization, 'id' | 'createdAt' | 'lastUpdatedAt'>;
361
- type PartialOrganization = Partial<Omit<Organization, 'metadata'>> & {
362
- metadata?: PartialMetadataItem<MetadataTypes>;
363
- };
364
- type Contact = NaturalPerson | Organization;
365
- type NonPersistedContact = NonPersistedNaturalPerson | NonPersistedOrganization;
366
- type PartialContact = PartialNaturalPerson | PartialOrganization;
367
- type PartyType = {
368
- id: string;
369
- type: PartyTypeType;
370
- origin: PartyOrigin;
371
- name: string;
372
- tenantId: string;
373
- description?: string;
374
- createdAt: Date;
375
- lastUpdatedAt: Date;
376
- };
377
- type NonPersistedPartyType = Omit<PartyType, 'id' | 'createdAt' | 'lastUpdatedAt'> & {
378
- id?: string;
379
- };
380
- type PartialPartyType = Partial<PartyType>;
381
- type PartyRelationship = {
382
- id: string;
383
- leftId: string;
384
- rightId: string;
385
- ownerId?: string;
386
- tenantId?: string;
387
- createdAt: Date;
388
- lastUpdatedAt: Date;
389
- };
390
- type NonPersistedPartyRelationship = Omit<PartyRelationship, 'id' | 'createdAt' | 'lastUpdatedAt'>;
391
- type PartialPartyRelationship = Partial<PartyRelationship>;
392
- type ElectronicAddress = {
393
- id: string;
394
- type: ElectronicAddressType;
395
- electronicAddress: string;
396
- ownerId?: string;
397
- tenantId?: string;
398
- createdAt: Date;
399
- lastUpdatedAt: Date;
400
- };
401
- type NonPersistedElectronicAddress = Omit<ElectronicAddress, 'id' | 'createdAt' | 'lastUpdatedAt'>;
402
- type PartialElectronicAddress = Partial<ElectronicAddress> & {
403
- partyId?: string;
404
- };
405
- type PhysicalAddress = {
406
- id: string;
407
- type: PhysicalAddressType;
408
- streetName: string;
409
- streetNumber: string;
410
- postalCode: string;
411
- cityName: string;
412
- provinceName: string;
413
- countryCode: string;
414
- buildingName?: string;
415
- ownerId?: string;
416
- tenantId?: string;
417
- createdAt: Date;
418
- lastUpdatedAt: Date;
419
- };
420
- type NonPersistedPhysicalAddress = Omit<PhysicalAddress, 'id' | 'createdAt' | 'lastUpdatedAt'>;
421
- type PartialPhysicalAddress = Partial<PhysicalAddress> & {
422
- partyId?: string;
423
- };
424
- type ElectronicAddressType = 'email' | 'phone';
425
- type PhysicalAddressType = 'home' | 'visit' | 'postal';
426
- declare enum ConnectionType {
427
- OPENID_CONNECT = "OIDC",
428
- SIOPv2 = "SIOPv2",
429
- SIOPv2_OpenID4VP = "SIOPv2+OpenID4VP"
430
- }
431
- declare enum CorrelationIdentifierType {
432
- DID = "did",
433
- URL = "url"
434
- }
435
- declare enum PartyTypeType {
436
- NATURAL_PERSON = "naturalPerson",
437
- ORGANIZATION = "organization"
438
- }
439
- declare enum PartyOrigin {
440
- INTERNAL = "INTERNAL",
441
- EXTERNAL = "EXTERNAL"
442
- }
443
- declare enum IdentityOrigin {
444
- INTERNAL = "INTERNAL",
445
- EXTERNAL = "EXTERNAL"
446
- }
447
-
448
- type FindPartyArgs = Array<PartialParty>;
449
- type FindIdentityArgs = Array<PartialIdentity>;
450
- type FindPartyTypeArgs = Array<PartialPartyType>;
451
- type FindRelationshipArgs = Array<PartialPartyRelationship>;
452
- type FindElectronicAddressArgs = Array<PartialElectronicAddress>;
453
- type FindPhysicalAddressArgs = Array<PartialPhysicalAddress>;
454
- type GetPartyArgs = {
455
- partyId: string;
456
- };
457
- type GetPartiesArgs = {
458
- filter?: FindPartyArgs;
459
- };
460
- type AddPartyArgs = {
461
- uri?: string;
462
- partyType: NonPersistedPartyType;
463
- contact: NonPersistedContact;
464
- identities?: Array<NonPersistedIdentity>;
465
- electronicAddresses?: Array<NonPersistedElectronicAddress>;
466
- physicalAddresses?: Array<NonPersistedPhysicalAddress>;
467
- };
468
- type UpdatePartyArgs = {
469
- party: Omit<Party, 'identities' | 'electronicAddresses' | 'partyType' | 'createdAt' | 'lastUpdatedAt'>;
470
- };
471
- type RemovePartyArgs = {
472
- partyId: string;
473
- };
474
- type GetIdentityArgs = {
475
- identityId: string;
476
- };
477
- type GetIdentitiesArgs = {
478
- filter?: FindIdentityArgs;
479
- };
480
- type AddIdentityArgs = {
481
- partyId: string;
482
- identity: NonPersistedIdentity;
483
- };
484
- type UpdateIdentityArgs = {
485
- identity: Identity;
486
- };
487
- type RemoveIdentityArgs = {
488
- identityId: string;
489
- };
490
- type RemoveRelationshipArgs = {
491
- relationshipId: string;
492
- };
493
- type AddRelationshipArgs = {
494
- leftId: string;
495
- rightId: string;
496
- };
497
- type GetRelationshipArgs = {
498
- relationshipId: string;
499
- };
500
- type GetRelationshipsArgs = {
501
- filter: FindRelationshipArgs;
502
- };
503
- type UpdateRelationshipArgs = {
504
- relationship: Omit<PartyRelationship, 'createdAt' | 'lastUpdatedAt'>;
505
- };
506
- type AddPartyTypeArgs = {
507
- type: PartyTypeType;
508
- origin: PartyOrigin;
509
- name: string;
510
- tenantId: string;
511
- description?: string;
512
- };
513
- type GetPartyTypeArgs = {
514
- partyTypeId: string;
515
- };
516
- type GetPartyTypesArgs = {
517
- filter?: FindPartyTypeArgs;
518
- };
519
- type UpdatePartyTypeArgs = {
520
- partyType: Omit<PartyType, 'createdAt' | 'lastUpdatedAt'>;
521
- };
522
- type RemovePartyTypeArgs = {
523
- partyTypeId: string;
524
- };
525
- type GetElectronicAddressArgs = {
526
- electronicAddressId: string;
527
- };
528
- type GetElectronicAddressesArgs = {
529
- filter?: FindElectronicAddressArgs;
530
- };
531
- type AddElectronicAddressArgs = {
532
- partyId: string;
533
- electronicAddress: NonPersistedElectronicAddress;
534
- };
535
- type UpdateElectronicAddressArgs = {
536
- electronicAddress: ElectronicAddress;
537
- };
538
- type RemoveElectronicAddressArgs = {
539
- electronicAddressId: string;
540
- };
541
- type GetPhysicalAddressArgs = {
542
- physicalAddressId: string;
543
- };
544
- type GetPhysicalAddressesArgs = {
545
- filter?: FindPhysicalAddressArgs;
546
- };
547
- type AddPhysicalAddressArgs = {
548
- partyId: string;
549
- physicalAddress: NonPersistedPhysicalAddress;
550
- };
551
- type UpdatePhysicalAddressArgs = {
552
- physicalAddress: PhysicalAddress;
553
- };
554
- type RemovePhysicalAddressArgs = {
555
- physicalAddressId: string;
556
- };
557
-
558
- type DcqlQueryItem = {
559
- id: string;
560
- queryId: string;
561
- tenantId?: string;
562
- version: string;
563
- name?: string;
564
- purpose?: string;
565
- query: DcqlQuery;
566
- createdAt: Date;
567
- lastUpdatedAt: Date;
568
- };
569
- type ImportDcqlQueryItem = Omit<DcqlQueryItem, 'id' | 'tenantId' | 'version' | 'createdAt' | 'lastUpdatedAt'>;
570
- type NonPersistedDcqlQueryItem = Omit<DcqlQueryItem, 'id' | 'createdAt' | 'lastUpdatedAt'>;
571
- type PartialDcqlQueryItem = Partial<DcqlQueryItem>;
572
- type DcqlQueryItemFilter = Partial<Omit<DcqlQueryItem, 'query'>>;
573
-
574
- type FindDcqlQueryArgs = Array<DcqlQueryItemFilter>;
575
- type GetDefinitionArgs = {
576
- itemId: string;
577
- };
578
- type HasDefinitionArgs = GetDefinitionArgs;
579
- type GetDefinitionsArgs = {
580
- filter?: FindDcqlQueryArgs;
581
- };
582
- type HasDefinitionsArgs = GetDefinitionsArgs;
583
- type AddDefinitionArgs = NonPersistedDcqlQueryItem;
584
- type UpdateDefinitionArgs = DcqlQueryItem;
585
- type DeleteDefinitionArgs = {
586
- itemId: string;
587
- };
588
- type DeleteDefinitionsArgs = GetDefinitionsArgs;
589
-
590
- type ValidationConstraint = {
591
- [x: string]: string;
592
- };
593
-
594
- declare class StatusListEntryEntity extends BaseEntity$8 {
595
- statusListId: string;
596
- statusListIndex: number;
597
- statusList: StatusListEntity;
598
- credentialId?: string;
599
- credentialHash?: string;
600
- entryCorrelationId?: string;
601
- value?: string;
602
- }
603
-
604
- declare class BitstringStatusListEntryEntity extends StatusListEntryEntity {
605
- statusPurpose: string;
606
- bitsPerStatus?: number;
607
- statusMessage?: Array<BitstringStatusMessage>;
608
- statusReference?: string | string[];
609
- }
610
-
611
- declare const BaseEntity$7: typeof typeorm.BaseEntity;
612
- declare abstract class StatusListEntity extends BaseEntity$7 {
613
- id: string;
614
- correlationId: string;
615
- length: number;
616
- type: StatusListType;
617
- issuer: string | IIssuer;
618
- driverType: StatusListDriverType;
619
- credentialIdMode: StatusListCredentialIdMode;
620
- proofFormat: CredentialProofFormat;
621
- statusListCredential?: StatusListCredential;
622
- }
623
- declare class StatusList2021Entity extends StatusListEntity {
624
- indexingDirection: StatusListIndexingDirection;
625
- statusPurpose: StatusPurpose2021;
626
- statusListEntries: StatusListEntryEntity[];
627
- }
628
- declare class OAuthStatusListEntity extends StatusListEntity {
629
- bitsPerStatus: number;
630
- expiresAt?: Date;
631
- }
632
- declare class BitstringStatusListEntity extends StatusListEntity {
633
- statusPurpose: string | string[];
634
- bitsPerStatus?: number;
635
- validFrom?: Date;
636
- validUntil?: Date;
637
- ttl?: number;
638
- statusListEntries: BitstringStatusListEntryEntity[];
639
- }
640
-
641
- interface IStatusListEntity {
642
- id: string;
643
- correlationId: string;
644
- driverType: StatusListDriverType;
645
- credentialIdMode: StatusListCredentialIdMode;
646
- length: number;
647
- issuer: string | IIssuer;
648
- type: StatusListType;
649
- proofFormat: CredentialProofFormat;
650
- statusListCredential?: StatusListCredential;
651
- bitsPerStatus?: number;
652
- }
653
- interface IStatusList2021Entity extends IStatusListEntity {
654
- indexingDirection: StatusListIndexingDirection;
655
- statusPurpose: StatusPurpose2021;
656
- }
657
- interface IOAuthStatusListEntity extends IStatusListEntity {
658
- bitsPerStatus: number;
659
- expiresAt?: Date;
660
- }
661
- interface IBitstringStatusListEntity extends IStatusListEntity {
662
- statusPurpose: BitstringStatusPurpose | Array<BitstringStatusPurpose>;
663
- bitsPerStatus?: number;
664
- validFrom?: Date;
665
- validUntil?: Date;
666
- ttl?: number;
667
- }
668
- type IStatusListEntryEntity = RequireOneOf<{
669
- statusList: StatusListEntity;
670
- statusListId: string;
671
- value?: string;
672
- statusListIndex: number;
673
- credentialHash?: string;
674
- credentialId?: string;
675
- correlationId?: string;
676
- }, 'statusList' | 'statusListId'>;
677
- type BitstringStatusPurpose = 'revocation' | 'suspension' | 'refresh' | 'message' | string;
678
- type BitstringStatusMessage = {
679
- status: string;
680
- message?: string;
681
- [x: string]: any;
682
- };
683
- interface BitstringStatusListEntryCredentialStatus extends ICredentialStatus {
684
- type: 'BitstringStatusListEntry';
685
- statusPurpose: BitstringStatusPurpose | Array<BitstringStatusPurpose>;
686
- statusListIndex: string;
687
- statusListCredential: string;
688
- bitsPerStatus?: number;
689
- statusMessage?: Array<BitstringStatusMessage>;
690
- statusReference?: string | Array<string>;
691
- }
692
- type BitstringStatusListArgs = {
693
- statusPurpose: BitstringStatusPurpose;
694
- bitsPerStatus: number;
695
- ttl?: number;
696
- validFrom?: Date;
697
- validUntil?: Date;
698
- };
699
- interface IBitstringStatusListEntryEntity {
700
- statusListId: string;
701
- statusListIndex: number;
702
- credentialId?: string;
703
- credentialHash?: string;
704
- entryCorrelationId?: string;
705
- statusPurpose: string;
706
- bitsPerStatus?: number;
707
- statusMessage?: Array<BitstringStatusMessage>;
708
- statusReference?: string | Array<string>;
709
- }
710
-
711
- type FindStatusListArgs = FindOptionsWhere<IStatusList2021Entity | IOAuthStatusListEntity>[];
712
- type FindStatusListEntryArgs = FindOptionsWhere<IStatusListEntryEntity>[] | FindOptionsWhere<IStatusListEntryEntity>;
713
- interface IStatusListEntryAvailableArgs {
714
- statusListId?: string;
715
- correlationId?: string;
716
- statusListIndex: number | number[];
717
- }
718
- interface IGetStatusListEntryByIndexArgs {
719
- statusListId?: string;
720
- statusListCorrelationId?: string;
721
- statusListIndex?: number;
722
- entryCorrelationId?: string;
723
- errorOnNotFound?: boolean;
724
- }
725
- interface IGetStatusListEntryByCredentialIdArgs {
726
- statusListId?: string;
727
- statusListCorrelationId?: string;
728
- entryCorrelationId?: string;
729
- credentialId: string;
730
- errorOnNotFound?: boolean;
731
- }
732
- interface IGetStatusListEntriesArgs {
733
- statusListId: string;
734
- filter?: FindStatusListEntryArgs;
735
- }
736
- type IAddStatusListEntryArgs = IStatusListEntryEntity | IBitstringStatusListEntryEntity;
737
- interface IGetStatusListArgs {
738
- id?: string;
739
- correlationId?: string;
740
- }
741
- type IRemoveStatusListArgs = IGetStatusListArgs;
742
- interface IGetStatusListsArgs {
743
- filter?: FindStatusListArgs;
744
- }
745
- interface IBaseStatusListArgs {
746
- id: string;
747
- correlationId: string;
748
- driverType: StatusListDriverType;
749
- credentialIdMode: StatusListCredentialIdMode;
750
- length: number;
751
- issuer: string | IIssuer;
752
- type: StatusListType;
753
- proofFormat: CredentialProofFormat;
754
- statusListCredential?: StatusListCredential;
755
- bitsPerStatus?: number;
756
- }
757
- type IStatusList2021Args = IBaseStatusListArgs & {
758
- type: StatusListType.StatusList2021;
759
- indexingDirection: StatusListIndexingDirection;
760
- statusPurpose: StatusPurpose2021;
761
- };
762
- type IOAuthStatusListArgs = IBaseStatusListArgs & {
763
- type: StatusListType.OAuthStatusList;
764
- bitsPerStatus: number;
765
- expiresAt?: Date;
766
- };
767
- type IBitstringStatusListArgs = IBaseStatusListArgs & {
768
- type: StatusListType.BitstringStatusList;
769
- statusPurpose: BitstringStatusPurpose | BitstringStatusPurpose[];
770
- bitsPerStatus?: number;
771
- validFrom?: Date;
772
- validUntil?: Date;
773
- ttl?: number;
774
- };
775
- type IAddStatusListArgs = IStatusList2021Args | IOAuthStatusListArgs | IBitstringStatusListArgs;
776
- type IUpdateStatusListIndexArgs = IAddStatusListArgs;
777
-
778
- type NonPersistedAuditLoggingEvent = Omit<AuditLoggingEvent, 'id' | 'type'>;
779
- type NonPersistedActivityLoggingEvent = Omit<ActivityLoggingEvent, 'id' | 'type'>;
780
-
781
- type FindAuditLoggingEventArgs = Array<PartialAuditLoggingEvent>;
782
- type FindActivityLoggingEventArgs = Array<PartialActivityLoggingEvent>;
783
- type StoreAuditEventArgs = {
784
- event: NonPersistedAuditLoggingEvent;
785
- };
786
- type StoreActivityEventArgs = {
787
- event: NonPersistedActivityLoggingEvent;
788
- };
789
- type GetAuditEventsArgs = {
790
- filter?: FindAuditLoggingEventArgs;
791
- };
792
- type GetActivityEventsArgs = {
793
- filter?: FindActivityLoggingEventArgs;
794
- };
795
-
796
- type StoreMachineStatePersistArgs = Omit<StoreMachineStateInfo, 'createdAt' | 'updatedAt'>;
797
- type StoreMachineStatesFindActiveArgs = Partial<Pick<StoreMachineStateInfo, 'machineName' | 'tenantId' | 'instanceId'>>;
798
- type FindMachineStatesFilterArgs = Array<Partial<Omit<StoreMachineStateInfo, 'state'>>>;
799
- type StoreFindMachineStatesArgs = {
800
- filter: FindMachineStatesFilterArgs;
801
- };
802
- type StoreMachineStateGetArgs = Pick<StoreMachineStateInfo, 'instanceId' | 'tenantId'>;
803
- type StoreMachineStateDeleteArgs = StoreMachineStateGetArgs;
804
- type StoreMachineStateDeleteExpiredArgs = {
805
- machineName?: string;
806
- tenantId?: string;
807
- deleteDoneStates?: boolean;
808
- };
809
- interface StoreMachineStateInfo {
810
- /**
811
- * Unique instance ID of the machine
812
- */
813
- instanceId: string;
814
- /**
815
- * Session Id of the machine. Not necessarily unique
816
- */
817
- sessionId?: string;
818
- /**
819
- * Machine name
820
- */
821
- machineName: string;
822
- /**
823
- * The latest state name. Can be empty for a newly initialize machine
824
- */
825
- latestStateName?: string;
826
- /**
827
- * event types like SET_TOC, SET_FIRSTNAME, .... Will be xstate.init on a newly initialized machine
828
- */
829
- latestEventType: string;
830
- /**
831
- * Serialized Machine state
832
- */
833
- state: string;
834
- /**
835
- * Represents the creation date
836
- */
837
- createdAt: Date;
838
- /**
839
- * Represents the expiration date
840
- */
841
- expiresAt?: Date;
842
- /**
843
- * Represents the update date
844
- */
845
- updatedAt: Date;
846
- /**
847
- * Represents a counter for tracking updates.
848
- */
849
- updatedCount: number;
850
- completedAt?: Date;
851
- tenantId?: string;
852
- }
853
-
854
- declare enum DocumentType {
855
- VC = "VC",
856
- VP = "VP",
857
- P = "P",
858
- C = "C"
859
- }
860
- declare enum RegulationType {
861
- PID = "PID",
862
- QEAA = "QEAA",
863
- EAA = "EAA",
864
- NON_REGULATED = "NON_REGULATED"
865
- }
866
- declare enum CredentialDocumentFormat {
867
- JSON_LD = "JSON_LD",
868
- JWT = "JWT",
869
- SD_JWT = "SD_JWT",
870
- MSO_MDOC = "MSO_MDOC"
871
- }
872
- declare namespace CredentialDocumentFormat {
873
- function fromSpecValue(credentialFormat: string): CredentialDocumentFormat;
874
- function toSpecValue(documentFormat: CredentialDocumentFormat, documentType: DocumentType): "mso_mdoc" | "dc+sd-jwt" | "jwt_vc_json" | "ldp_vc" | "ldp_vp" | "jwt_vp_json";
875
- }
876
- declare enum CredentialCorrelationType {
877
- DID = "DID",
878
- X509_SAN = "X509_SAN",
879
- KID = "KID",
880
- URL = "URL"
881
- }
882
- declare enum CredentialStateType {
883
- REVOKED = "REVOKED",
884
- VERIFIED = "VERIFIED",
885
- EXPIRED = "EXPIRED"
886
- }
887
-
888
- /**
889
- * DigitalCredential
890
- *
891
- * @public
892
- */
893
- type DigitalCredential = {
894
- id: string;
895
- parentId?: string;
896
- documentType: DocumentType;
897
- documentFormat: CredentialDocumentFormat;
898
- credentialRole: CredentialRole;
899
- regulationType: RegulationType;
900
- rawDocument: string;
901
- uniformDocument: string;
902
- credentialId?: string;
903
- hash: string;
904
- kmsKeyRef?: string;
905
- identifierMethod?: string;
906
- issuerCorrelationType: CredentialCorrelationType;
907
- subjectCorrelationType?: CredentialCorrelationType;
908
- rpCorrelationType?: CredentialCorrelationType;
909
- isIssuerSigned?: boolean;
910
- issuerCorrelationId: string;
911
- subjectCorrelationId?: string;
912
- rpCorrelationId?: string;
913
- verifiedState?: CredentialStateType;
914
- tenantId?: string;
915
- createdAt: Date;
916
- presentedAt?: Date;
917
- lastUpdatedAt: Date;
918
- validUntil?: Date;
919
- validFrom?: Date;
920
- verifiedAt?: Date;
921
- revokedAt?: Date;
922
- };
923
- type NonPersistedDigitalCredential = Omit<DigitalCredential, 'id' | 'regulationType'> & {
924
- regulationType?: RegulationType;
925
- };
926
-
927
- declare class DigitalCredentialEntity extends BaseEntity$8 implements DigitalCredential {
928
- id: string;
929
- parentId?: string;
930
- documentType: DocumentType;
931
- regulationType: RegulationType;
932
- documentFormat: CredentialDocumentFormat;
933
- credentialRole: CredentialRole;
934
- rawDocument: string;
935
- uniformDocument: string;
936
- credentialId: string;
937
- hash: string;
938
- kmsKeyRef: string;
939
- identifierMethod: string;
940
- issuerCorrelationType: CredentialCorrelationType;
941
- subjectCorrelationType?: CredentialCorrelationType;
942
- rpCorrelationType?: CredentialCorrelationType;
943
- isIssuerSigned?: boolean;
944
- issuerCorrelationId: string;
945
- subjectCorrelationId?: string;
946
- rpCorrelationId?: string;
947
- verifiedState?: CredentialStateType;
948
- tenantId?: string;
949
- createdAt: Date;
950
- presentedAt?: Date;
951
- lastUpdatedAt: Date;
952
- validUntil?: Date;
953
- validFrom?: Date;
954
- verifiedAt?: Date;
955
- revokedAt?: Date;
956
- }
957
-
958
- type GetCredentialArgs = {
959
- id: string;
960
- } | {
961
- hash: string;
962
- };
963
- type FindDigitalCredentialArgs = Array<Partial<DigitalCredential>>;
964
- type GetCredentialsArgs = {
965
- filter?: FindDigitalCredentialArgs;
966
- offset?: number;
967
- limit?: number;
968
- order?: string | FindOptionsOrder<DigitalCredentialEntity>;
969
- };
970
- type GetCredentialsResponse = {
971
- data: Array<DigitalCredential>;
972
- total: number;
973
- };
974
- type AddCredentialArgs = {
975
- rawDocument: string;
976
- kmsKeyRef?: string;
977
- identifierMethod?: string;
978
- regulationType?: RegulationType;
979
- parentId?: string;
980
- issuerCorrelationType: CredentialCorrelationType;
981
- subjectCorrelationType?: CredentialCorrelationType;
982
- issuerCorrelationId: string;
983
- subjectCorrelationId?: string;
984
- credentialRole: CredentialRole;
985
- tenantId?: string;
986
- state?: CredentialStateType;
987
- verifiedAt?: Date;
988
- revokedAt?: Date;
989
- opts?: {
990
- maxTimeSkewInMS?: number;
991
- hasher?: HasherSync;
992
- };
993
- };
994
- type UpdateCredentialStateArgs = GetCredentialArgs & {
995
- verifiedState: CredentialStateType;
996
- verifiedAt?: Date;
997
- revokedAt?: Date;
998
- };
999
- type RemoveCredentialArgs = GetCredentialArgs;
1000
-
1001
- declare const BaseEntity$6: typeof typeorm.BaseEntity;
1002
-
1003
- declare class CorrelationIdentifierEntity extends BaseEntity$6 {
7
+ declare class CorrelationIdentifierEntity extends BaseEntity {
1004
8
  id: string;
1005
9
  type: CorrelationIdentifierType;
1006
10
  correlationId: string;
@@ -1010,7 +14,7 @@ declare class CorrelationIdentifierEntity extends BaseEntity$6 {
1010
14
  validate(): Promise<void>;
1011
15
  }
1012
16
 
1013
- declare class IdentityMetadataItemEntity extends BaseEntity$8 implements IMetadataEntity {
17
+ declare class IdentityMetadataItemEntity extends BaseEntity implements IMetadataEntity {
1014
18
  id: string;
1015
19
  label: string;
1016
20
  valueType: string;
@@ -1022,23 +26,7 @@ declare class IdentityMetadataItemEntity extends BaseEntity$8 implements IMetada
1022
26
  validate(): Promise<void>;
1023
27
  }
1024
28
 
1025
- declare class PartyTypeEntity {
1026
- id: string;
1027
- type: PartyTypeType;
1028
- origin: PartyOrigin;
1029
- name: string;
1030
- description?: string;
1031
- tenantId: string;
1032
- parties: Array<PartyEntity>;
1033
- createdAt: Date;
1034
- lastUpdatedAt: Date;
1035
- updateUpdatedDate(): void;
1036
- validate(): Promise<void>;
1037
- }
1038
-
1039
- declare const BaseEntity$5: typeof typeorm.BaseEntity;
1040
-
1041
- declare class ContactMetadataItemEntity extends BaseEntity$5 implements IMetadataEntity {
29
+ declare class ContactMetadataItemEntity extends BaseEntity implements IMetadataEntity {
1042
30
  id: string;
1043
31
  label: string;
1044
32
  valueType: string;
@@ -1050,9 +38,7 @@ declare class ContactMetadataItemEntity extends BaseEntity$5 implements IMetadat
1050
38
  validate(): Promise<void>;
1051
39
  }
1052
40
 
1053
- declare const BaseEntity$4: typeof typeorm.BaseEntity;
1054
-
1055
- declare abstract class BaseContactEntity extends BaseEntity$4 {
41
+ declare abstract class BaseContactEntity extends BaseEntity {
1056
42
  id: string;
1057
43
  createdAt: Date;
1058
44
  lastUpdatedAt: Date;
@@ -1061,6 +47,20 @@ declare abstract class BaseContactEntity extends BaseEntity$4 {
1061
47
  updateUpdatedDate(): void;
1062
48
  }
1063
49
 
50
+ declare class ElectronicAddressEntity extends BaseEntity {
51
+ id: string;
52
+ type: ElectronicAddressType;
53
+ electronicAddress: string;
54
+ party: PartyEntity;
55
+ partyId?: string;
56
+ ownerId?: string;
57
+ tenantId?: string;
58
+ createdAt: Date;
59
+ lastUpdatedAt: Date;
60
+ updateUpdatedDate(): void;
61
+ validate(): Promise<void>;
62
+ }
63
+
1064
64
  declare class PartyRelationshipEntity {
1065
65
  id: string;
1066
66
  left: PartyEntity;
@@ -1075,23 +75,21 @@ declare class PartyRelationshipEntity {
1075
75
  checkRelationshipSides(): Promise<void>;
1076
76
  }
1077
77
 
1078
- declare const BaseEntity$3: typeof typeorm.BaseEntity;
1079
-
1080
- declare class ElectronicAddressEntity extends BaseEntity$3 {
78
+ declare class PartyTypeEntity {
1081
79
  id: string;
1082
- type: ElectronicAddressType;
1083
- electronicAddress: string;
1084
- party: PartyEntity;
1085
- partyId?: string;
1086
- ownerId?: string;
1087
- tenantId?: string;
80
+ type: PartyTypeType;
81
+ origin: PartyOrigin;
82
+ name: string;
83
+ description?: string;
84
+ tenantId: string;
85
+ parties: Array<PartyEntity>;
1088
86
  createdAt: Date;
1089
87
  lastUpdatedAt: Date;
1090
88
  updateUpdatedDate(): void;
1091
89
  validate(): Promise<void>;
1092
90
  }
1093
91
 
1094
- declare class PhysicalAddressEntity extends BaseEntity$8 {
92
+ declare class PhysicalAddressEntity extends BaseEntity {
1095
93
  id: string;
1096
94
  type: PhysicalAddressType;
1097
95
  streetName: string;
@@ -1111,7 +109,7 @@ declare class PhysicalAddressEntity extends BaseEntity$8 {
1111
109
  validate(): Promise<void>;
1112
110
  }
1113
111
 
1114
- declare class PartyEntity extends BaseEntity$8 {
112
+ declare class PartyEntity extends BaseEntity {
1115
113
  id: string;
1116
114
  uri?: string;
1117
115
  ownerId?: string;
@@ -1128,7 +126,7 @@ declare class PartyEntity extends BaseEntity$8 {
1128
126
  validate(): Promise<void>;
1129
127
  }
1130
128
 
1131
- declare class IdentityEntity extends BaseEntity$8 {
129
+ declare class IdentityEntity extends BaseEntity {
1132
130
  id: string;
1133
131
  alias: string;
1134
132
  origin: IdentityOrigin;
@@ -1146,9 +144,7 @@ declare class IdentityEntity extends BaseEntity$8 {
1146
144
  validate(): Promise<void>;
1147
145
  }
1148
146
 
1149
- declare const BaseEntity$2: typeof typeorm.BaseEntity;
1150
-
1151
- declare class ConnectionEntity extends BaseEntity$2 {
147
+ declare class ConnectionEntity extends BaseEntity {
1152
148
  id: string;
1153
149
  type: ConnectionType;
1154
150
  tenantId?: string;
@@ -1157,20 +153,98 @@ declare class ConnectionEntity extends BaseEntity$2 {
1157
153
  identity: IdentityEntity;
1158
154
  }
1159
155
 
1160
- declare const BaseEntity$1: typeof typeorm.BaseEntity;
1161
-
1162
- declare abstract class BaseConfigEntity extends BaseEntity$1 {
156
+ declare abstract class BaseConfigEntity extends BaseEntity {
1163
157
  id: string;
1164
158
  connection?: ConnectionEntity;
1165
159
  }
1166
160
 
1167
- declare class ImageDimensionsEntity extends BaseEntity$8 {
161
+ declare class DidAuthConfigEntity extends BaseConfigEntity {
162
+ identifier: string;
163
+ redirectUrl: string;
164
+ sessionId: string;
165
+ ownerId?: string;
166
+ tenantId?: string;
167
+ }
168
+
169
+ declare class OpenIdConfigEntity extends BaseConfigEntity {
170
+ clientId: string;
171
+ clientSecret: string;
172
+ scopes: Array<string>;
173
+ issuer: string;
174
+ redirectUrl: string;
175
+ dangerouslyAllowInsecureHttpRequests: boolean;
176
+ clientAuthMethod: 'basic' | 'post' | undefined;
177
+ ownerId?: string;
178
+ tenantId?: string;
179
+ }
180
+
181
+ declare class DigitalCredentialEntity extends BaseEntity implements DigitalCredential {
182
+ id: string;
183
+ parentId?: string;
184
+ documentType: DocumentType;
185
+ regulationType: RegulationType;
186
+ documentFormat: CredentialDocumentFormat;
187
+ credentialRole: CredentialRole;
188
+ rawDocument: string;
189
+ uniformDocument: string;
190
+ credentialId: string;
191
+ hash: string;
192
+ kmsKeyRef: string;
193
+ identifierMethod: string;
194
+ issuerCorrelationType: CredentialCorrelationType;
195
+ subjectCorrelationType?: CredentialCorrelationType;
196
+ rpCorrelationType?: CredentialCorrelationType;
197
+ isIssuerSigned?: boolean;
198
+ issuerCorrelationId: string;
199
+ subjectCorrelationId?: string;
200
+ rpCorrelationId?: string;
201
+ verifiedState?: CredentialStateType;
202
+ tenantId?: string;
203
+ createdAt: Date;
204
+ presentedAt?: Date;
205
+ lastUpdatedAt: Date;
206
+ validUntil?: Date;
207
+ validFrom?: Date;
208
+ verifiedAt?: Date;
209
+ revokedAt?: Date;
210
+ }
211
+
212
+ declare class AuditEventEntity extends BaseEntity {
213
+ id: string;
214
+ timestamp: Date;
215
+ type: LoggingEventType;
216
+ level: LogLevel;
217
+ correlationId: string;
218
+ system: System;
219
+ subSystemType: SubSystem;
220
+ actionType: ActionType;
221
+ actionSubType: ActionSubType;
222
+ initiatorType: InitiatorType;
223
+ systemCorrelationIdType?: SystemCorrelationIdType;
224
+ systemCorrelationId?: string;
225
+ systemAlias?: string;
226
+ partyCorrelationType?: PartyCorrelationType;
227
+ partyCorrelationId?: string;
228
+ partyAlias?: string;
229
+ description: string;
230
+ credentialType?: CredentialType;
231
+ credentialHash?: string;
232
+ parentCredentialHash?: string;
233
+ originalCredential?: string;
234
+ sharePurpose?: string;
235
+ data?: string;
236
+ diagnosticData?: string;
237
+ createdAt: Date;
238
+ lastUpdatedAt: Date;
239
+ }
240
+
241
+ declare class ImageDimensionsEntity extends BaseEntity {
1168
242
  id: string;
1169
243
  width: number;
1170
244
  height: number;
1171
245
  }
1172
246
 
1173
- declare class ImageAttributesEntity extends BaseEntity$8 {
247
+ declare class ImageAttributesEntity extends BaseEntity {
1174
248
  id: string;
1175
249
  uri?: string;
1176
250
  dataUri?: string;
@@ -1180,21 +254,19 @@ declare class ImageAttributesEntity extends BaseEntity$8 {
1180
254
  validate(): Promise<undefined>;
1181
255
  }
1182
256
 
1183
- declare class BackgroundAttributesEntity extends BaseEntity$8 {
257
+ declare class BackgroundAttributesEntity extends BaseEntity {
1184
258
  id: string;
1185
259
  color?: string;
1186
260
  image?: ImageAttributesEntity;
1187
261
  validate(): Promise<undefined>;
1188
262
  }
1189
263
 
1190
- declare class TextAttributesEntity extends BaseEntity$8 {
264
+ declare class TextAttributesEntity extends BaseEntity {
1191
265
  id: string;
1192
266
  color?: string;
1193
267
  validate(): Promise<undefined>;
1194
268
  }
1195
269
 
1196
- declare const BaseEntity: typeof typeorm.BaseEntity;
1197
-
1198
270
  declare class BaseLocaleBrandingEntity extends BaseEntity {
1199
271
  id: string;
1200
272
  alias?: string;
@@ -1209,27 +281,7 @@ declare class BaseLocaleBrandingEntity extends BaseEntity {
1209
281
  validate(): Promise<undefined>;
1210
282
  }
1211
283
 
1212
- declare class DidAuthConfigEntity extends BaseConfigEntity {
1213
- identifier: string;
1214
- redirectUrl: string;
1215
- sessionId: string;
1216
- ownerId?: string;
1217
- tenantId?: string;
1218
- }
1219
-
1220
- declare class OpenIdConfigEntity extends BaseConfigEntity {
1221
- clientId: string;
1222
- clientSecret: string;
1223
- scopes: Array<string>;
1224
- issuer: string;
1225
- redirectUrl: string;
1226
- dangerouslyAllowInsecureHttpRequests: boolean;
1227
- clientAuthMethod: 'basic' | 'post' | undefined;
1228
- ownerId?: string;
1229
- tenantId?: string;
1230
- }
1231
-
1232
- declare class CredentialClaimsEntity extends BaseEntity$8 {
284
+ declare class CredentialClaimsEntity extends BaseEntity {
1233
285
  id: string;
1234
286
  key: string;
1235
287
  name: string;
@@ -1243,21 +295,11 @@ declare class CredentialLocaleBrandingEntity extends BaseLocaleBrandingEntity {
1243
295
  credentialBrandingId: string;
1244
296
  }
1245
297
 
1246
- declare class CredentialBrandingEntity extends BaseEntity$8 {
1247
- id: string;
1248
- vcHash: string;
1249
- issuerCorrelationId: string;
1250
- localeBranding: Array<CredentialLocaleBrandingEntity>;
1251
- createdAt: Date;
1252
- lastUpdatedAt: Date;
1253
- updateUpdatedDate(): void;
1254
- validate(): Promise<undefined>;
1255
- }
1256
-
1257
- declare class IssuerBrandingEntity extends BaseEntity$8 {
298
+ declare class CredentialBrandingEntity extends BaseEntity {
1258
299
  id: string;
300
+ vcHash: string;
1259
301
  issuerCorrelationId: string;
1260
- localeBranding: Array<IssuerLocaleBrandingEntity>;
302
+ localeBranding: Array<CredentialLocaleBrandingEntity>;
1261
303
  createdAt: Date;
1262
304
  lastUpdatedAt: Date;
1263
305
  updateUpdatedDate(): void;
@@ -1273,6 +315,16 @@ declare class IssuerLocaleBrandingEntity extends BaseLocaleBrandingEntity {
1273
315
  issuerBrandingId: string;
1274
316
  }
1275
317
 
318
+ declare class IssuerBrandingEntity extends BaseEntity {
319
+ id: string;
320
+ issuerCorrelationId: string;
321
+ localeBranding: Array<IssuerLocaleBrandingEntity>;
322
+ createdAt: Date;
323
+ lastUpdatedAt: Date;
324
+ updateUpdatedDate(): void;
325
+ validate(): Promise<undefined>;
326
+ }
327
+
1276
328
  /**
1277
329
  * @class MachineStateInfoEntity
1278
330
  * Represents a machine state. It allows to continue a machine at a later point in time at the point it was left of
@@ -1290,7 +342,7 @@ declare class IssuerLocaleBrandingEntity extends BaseLocaleBrandingEntity {
1290
342
  * @param {Date} [completedAt] - The date and time when the machine state was completed. (optional)
1291
343
  * @param {string} [tenantId] - The ID of the tenant associated with the machine state. (optional)
1292
344
  */
1293
- declare class MachineStateInfoEntity extends BaseEntity$8 {
345
+ declare class MachineStateInfoEntity extends BaseEntity {
1294
346
  instanceId: string;
1295
347
  sessionId?: string;
1296
348
  machineName: string;
@@ -1305,36 +357,19 @@ declare class MachineStateInfoEntity extends BaseEntity$8 {
1305
357
  tenantId?: string;
1306
358
  }
1307
359
 
1308
- declare class AuditEventEntity extends BaseEntity$8 {
360
+ declare class Oid4vcStateEntity<StateType> extends BaseEntity {
1309
361
  id: string;
1310
- timestamp: Date;
1311
- type: LoggingEventType;
1312
- level: LogLevel;
1313
- correlationId: string;
1314
- system: System;
1315
- subSystemType: SubSystem;
1316
- actionType: ActionType;
1317
- actionSubType: ActionSubType;
1318
- initiatorType: InitiatorType;
1319
- systemCorrelationIdType?: SystemCorrelationIdType;
1320
- systemCorrelationId?: string;
1321
- systemAlias?: string;
1322
- partyCorrelationType?: PartyCorrelationType;
1323
- partyCorrelationId?: string;
1324
- partyAlias?: string;
1325
- description: string;
1326
- credentialType?: CredentialType;
1327
- credentialHash?: string;
1328
- parentCredentialHash?: string;
1329
- originalCredential?: string;
1330
- sharePurpose?: string;
1331
- data?: string;
1332
- diagnosticData?: string;
362
+ lookups?: Array<string>;
363
+ stateId?: string;
364
+ correlationId?: string;
365
+ state: StateType;
1333
366
  createdAt: Date;
1334
- lastUpdatedAt: Date;
367
+ updatedAt: Date;
368
+ expiresAt?: Date;
369
+ tenantId?: string;
1335
370
  }
1336
371
 
1337
- declare class DcqlQueryItemEntity extends BaseEntity$8 {
372
+ declare class DcqlQueryItemEntity extends BaseEntity {
1338
373
  id: string;
1339
374
  queryId: string;
1340
375
  version: string;
@@ -1347,49 +382,187 @@ declare class DcqlQueryItemEntity extends BaseEntity$8 {
1347
382
  updateUpdatedDate(): void;
1348
383
  }
1349
384
 
1350
- declare class Oid4vcStateEntity<StateType> extends BaseEntity$8 {
385
+ declare class StatusListEntryEntity extends BaseEntity {
386
+ statusListId: string;
387
+ statusListIndex: number;
388
+ statusList: StatusListEntity;
389
+ credentialId?: string;
390
+ credentialHash?: string;
391
+ entryCorrelationId?: string;
392
+ value?: string;
393
+ }
394
+
395
+ declare abstract class StatusListEntity extends BaseEntity {
1351
396
  id: string;
1352
- lookups?: Array<string>;
1353
- stateId?: string;
1354
- correlationId?: string;
1355
- state: StateType;
1356
- createdAt: Date;
1357
- updatedAt: Date;
397
+ correlationId: string;
398
+ length: number;
399
+ type: StatusListType;
400
+ issuer: string | IIssuer;
401
+ driverType: StatusListDriverType;
402
+ credentialIdMode: StatusListCredentialIdMode;
403
+ proofFormat: CredentialProofFormat;
404
+ statusListCredential?: StatusListCredential;
405
+ }
406
+ declare class StatusList2021Entity extends StatusListEntity {
407
+ indexingDirection: StatusListIndexingDirection;
408
+ statusPurpose: StatusPurpose2021;
409
+ statusListEntries: StatusListEntryEntity[];
410
+ }
411
+ declare class OAuthStatusListEntity extends StatusListEntity {
412
+ bitsPerStatus: number;
1358
413
  expiresAt?: Date;
1359
- tenantId?: string;
1360
414
  }
415
+ declare class BitstringStatusListEntity extends StatusListEntity {
416
+ statusPurpose: string | string[];
417
+ bitsPerStatus?: number;
418
+ validFrom?: Date;
419
+ validUntil?: Date;
420
+ ttl?: number;
421
+ statusListEntries: BitstringStatusListEntryEntity[];
422
+ }
423
+
424
+ interface IStatusListEntity {
425
+ id: string;
426
+ correlationId: string;
427
+ driverType: StatusListDriverType;
428
+ credentialIdMode: StatusListCredentialIdMode;
429
+ length: number;
430
+ issuer: string | IIssuer;
431
+ type: StatusListType;
432
+ proofFormat: CredentialProofFormat;
433
+ statusListCredential?: StatusListCredential;
434
+ bitsPerStatus?: number;
435
+ }
436
+ interface IStatusList2021Entity extends IStatusListEntity {
437
+ indexingDirection: StatusListIndexingDirection;
438
+ statusPurpose: StatusPurpose2021;
439
+ }
440
+ interface IOAuthStatusListEntity extends IStatusListEntity {
441
+ bitsPerStatus: number;
442
+ expiresAt?: Date;
443
+ }
444
+ interface IBitstringStatusListEntity extends IStatusListEntity {
445
+ statusPurpose: BitstringStatusPurpose | Array<BitstringStatusPurpose>;
446
+ bitsPerStatus?: number;
447
+ validFrom?: Date;
448
+ validUntil?: Date;
449
+ ttl?: number;
450
+ }
451
+ type IStatusListEntryEntity = RequireOneOf<{
452
+ statusList: StatusListEntity;
453
+ statusListId: string;
454
+ value?: string;
455
+ statusListIndex: number;
456
+ credentialHash?: string;
457
+ credentialId?: string;
458
+ correlationId?: string;
459
+ }, 'statusList' | 'statusListId'>;
460
+ type BitstringStatusPurpose = 'revocation' | 'suspension' | 'refresh' | 'message' | string;
461
+ type BitstringStatusMessage = {
462
+ status: string;
463
+ message?: string;
464
+ [x: string]: any;
465
+ };
466
+ interface BitstringStatusListEntryCredentialStatus extends ICredentialStatus {
467
+ type: 'BitstringStatusListEntry';
468
+ statusPurpose: BitstringStatusPurpose | Array<BitstringStatusPurpose>;
469
+ statusListIndex: string;
470
+ statusListCredential: string;
471
+ bitsPerStatus?: number;
472
+ statusMessage?: Array<BitstringStatusMessage>;
473
+ statusReference?: string | Array<string>;
474
+ }
475
+ type BitstringStatusListArgs = {
476
+ statusPurpose: BitstringStatusPurpose;
477
+ bitsPerStatus: number;
478
+ ttl?: number;
479
+ validFrom?: Date;
480
+ validUntil?: Date;
481
+ };
482
+ interface IBitstringStatusListEntryEntity {
483
+ statusListId: string;
484
+ statusListIndex: number;
485
+ credentialId?: string;
486
+ credentialHash?: string;
487
+ entryCorrelationId?: string;
488
+ statusPurpose: string;
489
+ bitsPerStatus?: number;
490
+ statusMessage?: Array<BitstringStatusMessage>;
491
+ statusReference?: string | Array<string>;
492
+ }
493
+
494
+ type FindStatusListArgs = FindOptionsWhere<IStatusList2021Entity | IOAuthStatusListEntity>[];
495
+ type FindStatusListEntryArgs = FindOptionsWhere<IStatusListEntryEntity>[] | FindOptionsWhere<IStatusListEntryEntity>;
496
+ interface IStatusListEntryAvailableArgs {
497
+ statusListId?: string;
498
+ correlationId?: string;
499
+ statusListIndex: number | number[];
500
+ }
501
+ interface IGetStatusListEntryByIndexArgs {
502
+ statusListId?: string;
503
+ statusListCorrelationId?: string;
504
+ statusListIndex?: number;
505
+ entryCorrelationId?: string;
506
+ errorOnNotFound?: boolean;
507
+ }
508
+ interface IGetStatusListEntryByCredentialIdArgs {
509
+ statusListId?: string;
510
+ statusListCorrelationId?: string;
511
+ entryCorrelationId?: string;
512
+ credentialId: string;
513
+ errorOnNotFound?: boolean;
514
+ }
515
+ interface IGetStatusListEntriesArgs {
516
+ statusListId: string;
517
+ filter?: FindStatusListEntryArgs;
518
+ }
519
+ type IAddStatusListEntryArgs = IStatusListEntryEntity | IBitstringStatusListEntryEntity;
520
+ interface IGetStatusListArgs {
521
+ id?: string;
522
+ correlationId?: string;
523
+ }
524
+ type IRemoveStatusListArgs = IGetStatusListArgs;
525
+ interface IGetStatusListsArgs {
526
+ filter?: FindStatusListArgs;
527
+ }
528
+ interface IBaseStatusListArgs {
529
+ id: string;
530
+ correlationId: string;
531
+ driverType: StatusListDriverType;
532
+ credentialIdMode: StatusListCredentialIdMode;
533
+ length: number;
534
+ issuer: string | IIssuer;
535
+ type: StatusListType;
536
+ proofFormat: CredentialProofFormat;
537
+ statusListCredential?: StatusListCredential;
538
+ bitsPerStatus?: number;
539
+ }
540
+ type IStatusList2021Args = IBaseStatusListArgs & {
541
+ type: StatusListType.StatusList2021;
542
+ indexingDirection: StatusListIndexingDirection;
543
+ statusPurpose: StatusPurpose2021;
544
+ };
545
+ type IOAuthStatusListArgs = IBaseStatusListArgs & {
546
+ type: StatusListType.OAuthStatusList;
547
+ bitsPerStatus: number;
548
+ expiresAt?: Date;
549
+ };
550
+ type IBitstringStatusListArgs = IBaseStatusListArgs & {
551
+ type: StatusListType.BitstringStatusList;
552
+ statusPurpose: BitstringStatusPurpose | BitstringStatusPurpose[];
553
+ bitsPerStatus?: number;
554
+ validFrom?: Date;
555
+ validUntil?: Date;
556
+ ttl?: number;
557
+ };
558
+ type IAddStatusListArgs = IStatusList2021Args | IOAuthStatusListArgs | IBitstringStatusListArgs;
559
+ type IUpdateStatusListIndexArgs = IAddStatusListArgs;
1361
560
 
1362
- declare abstract class AbstractContactStore {
1363
- abstract getParty(args: GetPartyArgs): Promise<Party>;
1364
- abstract getParties(args?: GetPartiesArgs): Promise<Array<Party>>;
1365
- abstract addParty(args: AddPartyArgs): Promise<Party>;
1366
- abstract updateParty(args: UpdatePartyArgs): Promise<Party>;
1367
- abstract removeParty(args: RemovePartyArgs): Promise<void>;
1368
- abstract getIdentity(args: GetIdentityArgs): Promise<Identity>;
1369
- abstract getIdentities(args?: GetIdentitiesArgs): Promise<Array<Identity>>;
1370
- abstract addIdentity(args: AddIdentityArgs): Promise<Identity>;
1371
- abstract updateIdentity(args: UpdateIdentityArgs): Promise<Identity>;
1372
- abstract removeIdentity(args: RemoveIdentityArgs): Promise<void>;
1373
- abstract getRelationship(args: GetRelationshipArgs): Promise<PartyRelationship>;
1374
- abstract getRelationships(args?: GetRelationshipsArgs): Promise<Array<PartyRelationship>>;
1375
- abstract addRelationship(args: AddRelationshipArgs): Promise<PartyRelationship>;
1376
- abstract updateRelationship(args: UpdateRelationshipArgs): Promise<PartyRelationship>;
1377
- abstract removeRelationship(args: RemoveRelationshipArgs): Promise<void>;
1378
- abstract getPartyType(args: GetPartyTypeArgs): Promise<PartyType>;
1379
- abstract getPartyTypes(args?: GetPartyTypesArgs): Promise<Array<PartyType>>;
1380
- abstract addPartyType(args: AddPartyTypeArgs): Promise<PartyType>;
1381
- abstract updatePartyType(args: UpdatePartyTypeArgs): Promise<PartyType>;
1382
- abstract removePartyType(args: RemovePartyTypeArgs): Promise<void>;
1383
- abstract getElectronicAddress(args: GetElectronicAddressArgs): Promise<ElectronicAddress>;
1384
- abstract getElectronicAddresses(args?: GetElectronicAddressesArgs): Promise<Array<ElectronicAddress>>;
1385
- abstract addElectronicAddress(args: AddElectronicAddressArgs): Promise<ElectronicAddress>;
1386
- abstract updateElectronicAddress(args: UpdateElectronicAddressArgs): Promise<ElectronicAddress>;
1387
- abstract removeElectronicAddress(args: RemoveElectronicAddressArgs): Promise<void>;
1388
- abstract getPhysicalAddress(args: GetPhysicalAddressArgs): Promise<PhysicalAddress>;
1389
- abstract getPhysicalAddresses(args?: GetPhysicalAddressesArgs): Promise<Array<PhysicalAddress>>;
1390
- abstract addPhysicalAddress(args: AddPhysicalAddressArgs): Promise<PhysicalAddress>;
1391
- abstract updatePhysicalAddress(args: UpdatePhysicalAddressArgs): Promise<PhysicalAddress>;
1392
- abstract removePhysicalAddress(args: RemovePhysicalAddressArgs): Promise<void>;
561
+ declare class BitstringStatusListEntryEntity extends StatusListEntryEntity {
562
+ statusPurpose: string;
563
+ bitsPerStatus?: number;
564
+ statusMessage?: Array<BitstringStatusMessage>;
565
+ statusReference?: string | string[];
1393
566
  }
1394
567
 
1395
568
  declare class ContactStore extends AbstractContactStore {
@@ -1436,14 +609,6 @@ declare class ContactStore extends AbstractContactStore {
1436
609
  private buildMetadataCondition;
1437
610
  }
1438
611
 
1439
- declare abstract class AbstractDigitalCredentialStore {
1440
- abstract getCredential(args: GetCredentialArgs): Promise<DigitalCredential>;
1441
- abstract getCredentials(args?: GetCredentialsArgs): Promise<GetCredentialsResponse>;
1442
- abstract addCredential(args: AddCredentialArgs): Promise<DigitalCredential>;
1443
- abstract updateCredentialState(args: UpdateCredentialStateArgs): Promise<DigitalCredential>;
1444
- abstract removeCredential(args: RemoveCredentialArgs): Promise<boolean>;
1445
- }
1446
-
1447
612
  declare class DigitalCredentialStore extends AbstractDigitalCredentialStore {
1448
613
  private readonly dbConnection;
1449
614
  private dcRepo;
@@ -1458,25 +623,6 @@ declare class DigitalCredentialStore extends AbstractDigitalCredentialStore {
1458
623
  private assertValidDigitalCredential;
1459
624
  }
1460
625
 
1461
- declare abstract class AbstractIssuanceBrandingStore {
1462
- abstract addCredentialBranding(args: IAddCredentialBrandingArgs): Promise<ICredentialBranding>;
1463
- abstract getCredentialBranding(args?: IGetCredentialBrandingArgs): Promise<Array<ICredentialBranding>>;
1464
- abstract updateCredentialBranding(args: IUpdateCredentialBrandingArgs): Promise<ICredentialBranding>;
1465
- abstract removeCredentialBranding(args: IRemoveCredentialBrandingArgs): Promise<void>;
1466
- abstract addCredentialLocaleBranding(args: IAddCredentialLocaleBrandingArgs): Promise<ICredentialBranding>;
1467
- abstract getCredentialLocaleBranding(args?: IGetCredentialLocaleBrandingArgs): Promise<Array<ICredentialLocaleBranding>>;
1468
- abstract updateCredentialLocaleBranding(args: IUpdateCredentialLocaleBrandingArgs): Promise<ICredentialLocaleBranding>;
1469
- abstract removeCredentialLocaleBranding(args: IRemoveCredentialLocaleBrandingArgs): Promise<void>;
1470
- abstract addIssuerBranding(args: IAddIssuerBrandingArgs): Promise<IIssuerBranding>;
1471
- abstract getIssuerBranding(args?: IGetIssuerBrandingArgs): Promise<Array<IIssuerBranding>>;
1472
- abstract updateIssuerBranding(args: IUpdateIssuerBrandingArgs): Promise<IIssuerBranding>;
1473
- abstract removeIssuerBranding(args: IRemoveIssuerBrandingArgs): Promise<void>;
1474
- abstract addIssuerLocaleBranding(args: IAddIssuerLocaleBrandingArgs): Promise<IIssuerBranding>;
1475
- abstract getIssuerLocaleBranding(args?: IGetIssuerLocaleBrandingArgs): Promise<Array<IIssuerLocaleBranding>>;
1476
- abstract updateIssuerLocaleBranding(args: IUpdateIssuerLocaleBrandingArgs): Promise<IIssuerLocaleBranding>;
1477
- abstract removeIssuerLocaleBranding(args: IRemoveIssuerLocaleBrandingArgs): Promise<void>;
1478
- }
1479
-
1480
626
  declare class IssuanceBrandingStore extends AbstractIssuanceBrandingStore {
1481
627
  private readonly dbConnection;
1482
628
  constructor(dbConnection: OrPromise<DataSource>);
@@ -1547,13 +693,6 @@ declare class StatusListStore implements IStatusListStore {
1547
693
  getStatusListEntryRepo(type?: StatusListType): Promise<Repository<StatusListEntryEntity | BitstringStatusListEntryEntity>>;
1548
694
  }
1549
695
 
1550
- declare abstract class AbstractEventLoggerStore {
1551
- abstract getAuditEvents(args: GetAuditEventsArgs): Promise<Array<AuditLoggingEvent>>;
1552
- abstract getActivityEvents(args: GetActivityEventsArgs): Promise<Array<ActivityLoggingEvent>>;
1553
- abstract storeAuditEvent(args: StoreAuditEventArgs): Promise<AuditLoggingEvent>;
1554
- abstract storeActivityEvent(args: StoreActivityEventArgs): Promise<ActivityLoggingEvent>;
1555
- }
1556
-
1557
696
  declare class EventLoggerStore extends AbstractEventLoggerStore {
1558
697
  private readonly dbConnection;
1559
698
  constructor(dbConnection: OrPromise<DataSource>);
@@ -1563,57 +702,6 @@ declare class EventLoggerStore extends AbstractEventLoggerStore {
1563
702
  storeActivityEvent: (args: StoreActivityEventArgs) => Promise<ActivityLoggingEvent>;
1564
703
  }
1565
704
 
1566
- /**
1567
- * Represents an abstract class for storing machine states.
1568
- * This class provides methods for persisting, retrieving, and deleting machine states.
1569
- *
1570
- * @interface
1571
- */
1572
- declare abstract class IAbstractMachineStateStore {
1573
- /**
1574
- * Persists the machine state.
1575
- *
1576
- * @param {StoreMachineStatePersistArgs} state - The object containing the machine state to persist.
1577
- * @return {Promise<StoreMachineStateInfo>} - A Promise that resolves to the information about the persisted machine state.
1578
- */
1579
- abstract persistMachineState(state: StoreMachineStatePersistArgs): Promise<StoreMachineStateInfo>;
1580
- /**
1581
- * Finds active machine states based on the given arguments.
1582
- *
1583
- * @param {StoreMachineStatesFindActiveArgs} args - The arguments for finding active machine states.
1584
- * @return {Promise<Array<StoreMachineStateInfo>>} - A promise that resolves with an array of active machine states.
1585
- */
1586
- abstract findActiveMachineStates(args: StoreMachineStatesFindActiveArgs): Promise<Array<StoreMachineStateInfo>>;
1587
- /**
1588
- * Retrieves the state of a particular machine.
1589
- *
1590
- * @param {StoreMachineStateGetArgs} args - The arguments for retrieving the machine state.
1591
- * @returns {Promise<StoreMachineStateInfo>} - A promise that resolves to the machine state information.
1592
- */
1593
- abstract getMachineState(args: StoreMachineStateGetArgs): Promise<StoreMachineStateInfo>;
1594
- /**
1595
- * Finds the machine states based on the given arguments.
1596
- *
1597
- * @param {StoreFindMachineStatesArgs} [args] - The arguments to filter the machine states.
1598
- * @returns {Promise<Array<StoreMachineStateInfo>>} - A promise that resolves to an array of machine state information.
1599
- */
1600
- abstract findMachineStates(args?: StoreFindMachineStatesArgs): Promise<Array<StoreMachineStateInfo>>;
1601
- /**
1602
- * Deletes a machine state.
1603
- *
1604
- * @param {StoreMachineStateDeleteArgs} args - The arguments for deleting the machine state.
1605
- * @return {Promise<boolean>} - A promise that resolves to a boolean indicating if the machine state was successfully deleted or not.
1606
- */
1607
- abstract deleteMachineState(args: StoreMachineStateDeleteArgs): Promise<boolean>;
1608
- /**
1609
- * Deletes expired machine states from the database.
1610
- *
1611
- * @param {StoreMachineStateDeleteExpiredArgs} args - The arguments for deleting expired machine states.
1612
- * @return {Promise<number>} - A promise that resolves to the number of deleted machine states.
1613
- */
1614
- abstract deleteExpiredMachineStates(args: StoreMachineStateDeleteExpiredArgs): Promise<number>;
1615
- }
1616
-
1617
705
  /**
1618
706
  * Represents a data store for managing machine states.
1619
707
  */
@@ -1630,17 +718,6 @@ declare class MachineStateStore extends IAbstractMachineStateStore {
1630
718
  static machineStateInfoEntityFrom: (machineStateInfo: StoreMachineStateInfo | StoreMachineStatePersistArgs) => MachineStateInfoEntity;
1631
719
  }
1632
720
 
1633
- declare abstract class AbstractPDStore {
1634
- abstract hasDefinition(args: GetDefinitionArgs): Promise<boolean>;
1635
- abstract hasDefinitions(args: GetDefinitionsArgs): Promise<boolean>;
1636
- abstract getDefinition(args: GetDefinitionArgs): Promise<DcqlQueryItem>;
1637
- abstract getDefinitions(args: GetDefinitionsArgs): Promise<Array<DcqlQueryItem>>;
1638
- abstract addDefinition(args: AddDefinitionArgs): Promise<DcqlQueryItem>;
1639
- abstract updateDefinition(args: UpdateDefinitionArgs): Promise<DcqlQueryItem>;
1640
- abstract deleteDefinition(args: DeleteDefinitionArgs): Promise<void>;
1641
- abstract deleteDefinitions(args: DeleteDefinitionsArgs): Promise<number>;
1642
- }
1643
-
1644
721
  declare class PDStore extends AbstractPDStore {
1645
722
  private readonly dbConnection;
1646
723
  constructor(dbConnection: OrPromise<DataSource>);
@@ -1768,7 +845,6 @@ declare const isDidAuthConfig: (config: NonPersistedConnectionConfig | BaseConfi
1768
845
 
1769
846
  declare function isHex(input: string): boolean;
1770
847
  declare function parseRawDocument(raw: string): OriginalVerifiableCredential | OriginalVerifiablePresentation;
1771
- declare function ensureRawDocument(input: string | object): string;
1772
848
  declare const nonPersistedDigitalCredentialEntityFromAddArgs: (addCredentialArgs: AddCredentialArgs) => NonPersistedDigitalCredential;
1773
849
  declare const digitalCredentialFrom: (credentialEntity: DigitalCredentialEntity) => DigitalCredential;
1774
850
  declare const digitalCredentialsFrom: (credentialEntities: Array<DigitalCredentialEntity>) => DigitalCredential[];
@@ -1805,4 +881,4 @@ declare const DataStoreDigitalCredentialEntities: (typeof DigitalCredentialEntit
1805
881
  declare const DataStoreMachineStateEntities: (typeof MachineStateInfoEntity)[];
1806
882
  declare const DataStoreEntities: (typeof BaseConfigEntity | typeof ConnectionEntity | typeof PartyEntity | typeof IdentityMetadataItemEntity | typeof CorrelationIdentifierEntity | typeof PartyRelationshipEntity | typeof PartyTypeEntity | typeof BaseContactEntity | typeof ElectronicAddressEntity | typeof PhysicalAddressEntity | typeof ContactMetadataItemEntity | typeof CredentialBrandingEntity | typeof ImageAttributesEntity | typeof ImageDimensionsEntity | typeof BaseLocaleBrandingEntity | typeof IssuerBrandingEntity | typeof TextAttributesEntity | typeof CredentialClaimsEntity | typeof DcqlQueryItemEntity | typeof StatusListEntity | typeof StatusListEntryEntity | typeof AuditEventEntity | typeof DigitalCredentialEntity | typeof MachineStateInfoEntity)[];
1807
883
 
1808
- export { AbstractContactStore, AbstractDigitalCredentialStore, AbstractEventLoggerStore, AbstractIssuanceBrandingStore, AbstractPDStore, type AddCredentialArgs, type AddDefinitionArgs, type AddElectronicAddressArgs, type AddIdentityArgs, type AddPartyArgs, type AddPartyTypeArgs, type AddPhysicalAddressArgs, type AddRelationshipArgs, AuditEventEntity, BackgroundAttributesEntity, BaseConfigEntity, BaseContactEntity, BaseLocaleBrandingEntity, type BitstringStatusListArgs, BitstringStatusListEntity, type BitstringStatusListEntryCredentialStatus, BitstringStatusListEntryEntity, type BitstringStatusMessage, type BitstringStatusPurpose, type Connection, type ConnectionConfig, ConnectionEntity, ConnectionType, type Contact, ContactMetadataItemEntity, ContactStore, type CorrelationIdentifier, CorrelationIdentifierEntity, CorrelationIdentifierType, CredentialBrandingEntity, CredentialClaimsEntity, CredentialCorrelationType, CredentialDocumentFormat, CredentialLocaleBrandingEntity, CredentialStateType, DataStoreContactEntities, DataStoreContactMigrations, DataStoreDigitalCredentialEntities, DataStoreDigitalCredentialMigrations, DataStoreEntities, DataStoreEventLoggerEntities, DataStoreEventLoggerMigrations, DataStoreIssuanceBrandingEntities, DataStoreIssuanceBrandingMigrations, DataStoreMachineStateEntities, DataStoreMachineStateMigrations, DataStoreMigrations, DataStoreOid4vcStateEntities, DataStorePresentationDefinitionEntities, DataStorePresentationDefinitionMigrations, DataStoreStatusListEntities, DataStoreStatusListMigrations, type DcqlQueryItem, DcqlQueryItemEntity, type DcqlQueryItemFilter, type DeleteDefinitionArgs, type DeleteDefinitionsArgs, type DidAuthConfig, DidAuthConfigEntity, type DigitalCredential, DigitalCredentialEntity, DigitalCredentialStore, DocumentType, type ElectronicAddress, ElectronicAddressEntity, type ElectronicAddressType, EventLoggerStore, type FindActivityLoggingEventArgs, type FindAuditLoggingEventArgs, type FindCredentialBrandingArgs, type FindCredentialLocaleBrandingArgs, type FindDcqlQueryArgs, type FindDigitalCredentialArgs, type FindElectronicAddressArgs, type FindIdentityArgs, type FindIssuerBrandingArgs, type FindIssuerLocaleBrandingArgs, type FindMachineStatesFilterArgs, type FindPartyArgs, type FindPartyTypeArgs, type FindPhysicalAddressArgs, type FindRelationshipArgs, type FindStatusListArgs, type FindStatusListEntryArgs, type GetActivityEventsArgs, type GetAuditEventsArgs, type GetCredentialArgs, type GetCredentialsArgs, type GetCredentialsResponse, type GetDefinitionArgs, type GetDefinitionsArgs, type GetElectronicAddressArgs, type GetElectronicAddressesArgs, type GetIdentitiesArgs, type GetIdentityArgs, type GetPartiesArgs, type GetPartyArgs, type GetPartyTypeArgs, type GetPartyTypesArgs, type GetPhysicalAddressArgs, type GetPhysicalAddressesArgs, type GetRelationshipArgs, type GetRelationshipsArgs, type HasDefinitionArgs, type HasDefinitionsArgs, IAbstractMachineStateStore, type IAddCredentialBrandingArgs, type IAddCredentialLocaleBrandingArgs, type IAddIssuerBrandingArgs, type IAddIssuerLocaleBrandingArgs, type IAddStatusListArgs, type IAddStatusListEntryArgs, type IBackgroundAttributes, type IBasicBackgroundAttributes, type IBasicCredentialBranding, type IBasicCredentialClaim, type IBasicCredentialLocaleBranding, type IBasicImageAttributes, type IBasicImageDimensions, type IBasicIssuerBranding, type IBasicIssuerLocaleBranding, type IBasicTextAttributes, type IBitstringStatusListArgs, type IBitstringStatusListEntity, type IBitstringStatusListEntryEntity, type ICredentialBranding, type ICredentialBrandingFilter, type ICredentialClaim, type ICredentialLocaleBranding, type ICredentialLocaleBrandingFilter, type IGetCredentialBrandingArgs, type IGetCredentialLocaleBrandingArgs, type IGetIssuerBrandingArgs, type IGetIssuerLocaleBrandingArgs, type IGetStatusListArgs, type IGetStatusListEntriesArgs, type IGetStatusListEntryByCredentialIdArgs, type IGetStatusListEntryByIndexArgs, type IGetStatusListsArgs, type IImageAttributes, type IImageDimensions, type IIssuerBranding, type IIssuerBrandingFilter, type IIssuerLocaleBranding, type IIssuerLocaleBrandingFilter, type ILocaleBranding, type IMetadataEntity, type IOAuthStatusListArgs, type IOAuthStatusListEntity, type IPartialBackgroundAttributes, type IPartialCredentialBranding, type IPartialCredentialClaim, type IPartialCredentialLocaleBranding, type IPartialImageAttributes, type IPartialImageDimensions, type IPartialIssuerBranding, type IPartialIssuerLocaleBranding, type IPartialTextAttributes, type IRemoveCredentialBrandingArgs, type IRemoveCredentialLocaleBrandingArgs, type IRemoveIssuerBrandingArgs, type IRemoveIssuerLocaleBrandingArgs, type IRemoveStatusListArgs, type IStatusList2021Args, type IStatusList2021Entity, type IStatusListEntity, type IStatusListEntryAvailableArgs, type IStatusListEntryEntity, type ITextAttributes, type IUpdateCredentialBrandingArgs, type IUpdateCredentialLocaleBrandingArgs, type IUpdateIssuerBrandingArgs, type IUpdateIssuerLocaleBrandingArgs, type IUpdateStatusListIndexArgs, type Identity, IdentityEntity, IdentityMetadataItemEntity, IdentityOrigin, ImageAttributesEntity, ImageDimensionsEntity, type ImportDcqlQueryItem, IssuanceBrandingStore, IssuerBrandingEntity, IssuerLocaleBrandingEntity, MachineStateInfoEntity, MachineStateStore, type MetadataItem, type MetadataTypes, type NaturalPerson, type NonPersistedActivityLoggingEvent, type NonPersistedAuditLoggingEvent, type NonPersistedConnection, type NonPersistedConnectionConfig, type NonPersistedContact, type NonPersistedCorrelationIdentifier, type NonPersistedDcqlQueryItem, type NonPersistedDidAuthConfig, type NonPersistedDigitalCredential, type NonPersistedElectronicAddress, type NonPersistedIdentity, type NonPersistedMetadataItem, type NonPersistedNaturalPerson, type NonPersistedOpenIdConfig, type NonPersistedOrganization, type NonPersistedParty, type NonPersistedPartyRelationship, type NonPersistedPartyType, type NonPersistedPhysicalAddress, OAuthStatusListEntity, Oid4vcStateEntity, type OpenIdConfig, OpenIdConfigEntity, type Organization, PDStore, type PartialConnection, type PartialConnectionConfig, type PartialContact, type PartialCorrelationIdentifier, type PartialDcqlQueryItem, type PartialDidAuthConfig, type PartialElectronicAddress, type PartialIdentity, type PartialMetadataItem, type PartialNaturalPerson, type PartialOpenIdConfig, type PartialOrganization, type PartialParty, type PartialPartyRelationship, type PartialPartyType, type PartialPhysicalAddress, type Party, PartyEntity, PartyOrigin, type PartyRelationship, type PartyType, PartyTypeType, type PhysicalAddress, PhysicalAddressEntity, type PhysicalAddressType, RegulationType, type RemoveCredentialArgs, type RemoveElectronicAddressArgs, type RemoveIdentityArgs, type RemovePartyArgs, type RemovePartyTypeArgs, type RemovePhysicalAddressArgs, type RemoveRelationshipArgs, StatusList2021Entity, StatusListEntity, StatusListEntryEntity, StatusListStore, type StoreActivityEventArgs, type StoreAuditEventArgs, type StoreFindMachineStatesArgs, type StoreMachineStateDeleteArgs, type StoreMachineStateDeleteExpiredArgs, type StoreMachineStateGetArgs, type StoreMachineStateInfo, type StoreMachineStatePersistArgs, type StoreMachineStatesFindActiveArgs, TextAttributesEntity, type UpdateCredentialStateArgs, type UpdateDefinitionArgs, type UpdateElectronicAddressArgs, type UpdateIdentityArgs, type UpdatePartyArgs, type UpdatePartyTypeArgs, type UpdatePhysicalAddressArgs, type UpdateRelationshipArgs, type ValidationConstraint, activityEventEntityFrom, activityEventFrom, auditEventEntityFrom, auditEventFrom, backgroundAttributesEntityFrom, configFrom, connectionEntityFrom, connectionFrom, contactEntityFrom, contactFrom, contactMetadataItemEntityFrom, correlationIdentifierEntityFrom, correlationIdentifierFrom, credentialBrandingEntityFrom, credentialBrandingFrom, credentialClaimsEntityFrom, credentialLocaleBrandingEntityFrom, dcqlQueryEntityItemFrom, dcqlQueryItemFrom, didAuthConfigEntityFrom, didAuthConfigFrom, digitalCredentialFrom, digitalCredentialsFrom, electronicAddressEntityFrom, electronicAddressFrom, ensureRawDocument, identityEntityFrom, identityFrom, identityMetadataItemEntityFrom, imageAttributesEntityFrom, imageDimensionsEntityFrom, isDidAuthConfig, isHex, isNaturalPerson, isOpenIdConfig, isOrganization, isPresentationDefinitionEqual, issuerBrandingEntityFrom, issuerBrandingFrom, issuerLocaleBrandingEntityFrom, localeBrandingFrom, metadataItemFrom, naturalPersonEntityFrom, naturalPersonFrom, nonPersistedDigitalCredentialEntityFromAddArgs, openIdConfigEntityFrom, openIdConfigFrom, organizationEntityFrom, organizationFrom, parseRawDocument, partyEntityFrom, partyFrom, partyRelationshipEntityFrom, partyRelationshipFrom, partyTypeEntityFrom, partyTypeFrom, physicalAddressEntityFrom, physicalAddressFrom, textAttributesEntityFrom };
884
+ export { AuditEventEntity, BackgroundAttributesEntity, BaseConfigEntity, BaseContactEntity, BaseLocaleBrandingEntity, type BitstringStatusListArgs, BitstringStatusListEntity, type BitstringStatusListEntryCredentialStatus, BitstringStatusListEntryEntity, type BitstringStatusMessage, type BitstringStatusPurpose, ConnectionEntity, ContactMetadataItemEntity, ContactStore, CorrelationIdentifierEntity, CredentialBrandingEntity, CredentialClaimsEntity, CredentialLocaleBrandingEntity, DataStoreContactEntities, DataStoreContactMigrations, DataStoreDigitalCredentialEntities, DataStoreDigitalCredentialMigrations, DataStoreEntities, DataStoreEventLoggerEntities, DataStoreEventLoggerMigrations, DataStoreIssuanceBrandingEntities, DataStoreIssuanceBrandingMigrations, DataStoreMachineStateEntities, DataStoreMachineStateMigrations, DataStoreMigrations, DataStoreOid4vcStateEntities, DataStorePresentationDefinitionEntities, DataStorePresentationDefinitionMigrations, DataStoreStatusListEntities, DataStoreStatusListMigrations, DcqlQueryItemEntity, DidAuthConfigEntity, DigitalCredentialEntity, DigitalCredentialStore, ElectronicAddressEntity, EventLoggerStore, type FindStatusListArgs, type FindStatusListEntryArgs, type IAddStatusListArgs, type IAddStatusListEntryArgs, type IBitstringStatusListArgs, type IBitstringStatusListEntity, type IBitstringStatusListEntryEntity, type IGetStatusListArgs, type IGetStatusListEntriesArgs, type IGetStatusListEntryByCredentialIdArgs, type IGetStatusListEntryByIndexArgs, type IGetStatusListsArgs, type IOAuthStatusListArgs, type IOAuthStatusListEntity, type IRemoveStatusListArgs, type IStatusList2021Args, type IStatusList2021Entity, type IStatusListEntity, type IStatusListEntryAvailableArgs, type IStatusListEntryEntity, type IUpdateStatusListIndexArgs, IdentityEntity, IdentityMetadataItemEntity, ImageAttributesEntity, ImageDimensionsEntity, IssuanceBrandingStore, IssuerBrandingEntity, IssuerLocaleBrandingEntity, MachineStateInfoEntity, MachineStateStore, OAuthStatusListEntity, Oid4vcStateEntity, OpenIdConfigEntity, PDStore, PartyEntity, PhysicalAddressEntity, StatusList2021Entity, StatusListEntity, StatusListEntryEntity, StatusListStore, TextAttributesEntity, activityEventEntityFrom, activityEventFrom, auditEventEntityFrom, auditEventFrom, backgroundAttributesEntityFrom, configFrom, connectionEntityFrom, connectionFrom, contactEntityFrom, contactFrom, contactMetadataItemEntityFrom, correlationIdentifierEntityFrom, correlationIdentifierFrom, credentialBrandingEntityFrom, credentialBrandingFrom, credentialClaimsEntityFrom, credentialLocaleBrandingEntityFrom, dcqlQueryEntityItemFrom, dcqlQueryItemFrom, didAuthConfigEntityFrom, didAuthConfigFrom, digitalCredentialFrom, digitalCredentialsFrom, electronicAddressEntityFrom, electronicAddressFrom, identityEntityFrom, identityFrom, identityMetadataItemEntityFrom, imageAttributesEntityFrom, imageDimensionsEntityFrom, isDidAuthConfig, isHex, isNaturalPerson, isOpenIdConfig, isOrganization, isPresentationDefinitionEqual, issuerBrandingEntityFrom, issuerBrandingFrom, issuerLocaleBrandingEntityFrom, localeBrandingFrom, metadataItemFrom, naturalPersonEntityFrom, naturalPersonFrom, nonPersistedDigitalCredentialEntityFromAddArgs, openIdConfigEntityFrom, openIdConfigFrom, organizationEntityFrom, organizationFrom, parseRawDocument, partyEntityFrom, partyFrom, partyRelationshipEntityFrom, partyRelationshipFrom, partyTypeEntityFrom, partyTypeFrom, physicalAddressEntityFrom, physicalAddressFrom, textAttributesEntityFrom };