@sphereon/ssi-sdk.data-store 0.34.1-fix.117 → 0.34.1-fix.143

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/index.cjs +1606 -1399
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +160 -166
  4. package/dist/index.d.ts +160 -166
  5. package/dist/index.js +1562 -1355
  6. package/dist/index.js.map +1 -1
  7. package/package.json +8 -8
  8. package/src/__tests__/contact.entities.test.ts +2 -2
  9. package/src/__tests__/contact.store.test.ts +1 -1
  10. package/src/__tests__/digitalCredential.entities.test.ts +2 -1
  11. package/src/__tests__/digitalCredential.store.test.ts +5 -5
  12. package/src/__tests__/pd-manager.entities.test.ts +14 -37
  13. package/src/__tests__/pd-manager.store.test.ts +133 -0
  14. package/src/digitalCredential/DigitalCredentialStore.ts +9 -9
  15. package/src/entities/contact/IdentityEntity.ts +2 -1
  16. package/src/entities/digitalCredential/DigitalCredentialEntity.ts +2 -1
  17. package/src/entities/presentationDefinition/PresentationDefinitionItemEntity.ts +1 -1
  18. package/src/migrations/generic/12-CreateBitstringStatusList.ts +32 -2
  19. package/src/migrations/generic/13-UpdatePresentationDefinitionItemNullable.ts +67 -0
  20. package/src/migrations/generic/index.ts +13 -5
  21. package/src/migrations/postgres/1741895823000-CreateBitstringStatusList.ts +13 -2
  22. package/src/migrations/postgres/1756975509000-UpdatePresentationDefinitionItemNullable.ts +15 -0
  23. package/src/migrations/sqlite/1756975340000-UpdatePresentationDefinitionItemNullable.ts +77 -0
  24. package/src/presentationDefinition/PDStore.ts +6 -1
  25. package/src/types/contact/contact.ts +1 -1
  26. package/src/types/digitalCredential/IAbstractDigitalCredentialStore.ts +2 -1
  27. package/src/types/digitalCredential/enums.ts +0 -7
  28. package/src/types/digitalCredential/types.ts +2 -1
  29. package/src/types/presentationDefinition/presentationDefinition.ts +3 -3
  30. package/src/utils/presentationDefinition/MappingUtils.ts +39 -10
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import typeorm, { BaseEntity as BaseEntity$8, FindOptionsOrder, FindOptionsWhere, DataSource, Repository, MigrationInterface, QueryRunner } from 'typeorm';
1
+ import typeorm, { BaseEntity as BaseEntity$8, FindOptionsWhere, FindOptionsOrder, DataSource, Repository, MigrationInterface, QueryRunner } from 'typeorm';
2
2
  import { ManagedIdentifierOptsOrResult } from '@sphereon/ssi-sdk-ext.identifier-resolution';
3
3
  import { IIdentifier } from '@veramo/core';
4
- import { HasherSync, DcqlQueryREST, StatusListType, IIssuer, StatusListDriverType, StatusListCredentialIdMode, CredentialProofFormat, StatusListCredential, StatusListIndexingDirection, StatusPurpose2021, RequireOneOf, ICredentialStatus, LoggingEventType, LogLevel, System, SubSystem, ActionType, ActionSubType, InitiatorType, SystemCorrelationIdType, OrPromise, OriginalVerifiableCredential, OriginalVerifiablePresentation } from '@sphereon/ssi-types';
4
+ import { CredentialRole, DcqlQueryPayload, 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
5
  import { AuditLoggingEvent, ActivityLoggingEvent, PartialAuditLoggingEvent, PartialActivityLoggingEvent, PartyCorrelationType, CredentialType } from '@sphereon/ssi-sdk.core';
6
6
  import { IPresentationDefinition } from '@sphereon/pex';
7
7
 
@@ -195,159 +195,6 @@ interface IGetIssuerLocaleBrandingArgs {
195
195
  filter?: FindIssuerLocaleBrandingArgs;
196
196
  }
197
197
 
198
- declare enum DocumentType {
199
- VC = "VC",
200
- VP = "VP",
201
- P = "P",
202
- C = "C"
203
- }
204
- declare enum RegulationType {
205
- PID = "PID",
206
- QEAA = "QEAA",
207
- EAA = "EAA",
208
- NON_REGULATED = "NON_REGULATED"
209
- }
210
- declare enum CredentialDocumentFormat {
211
- JSON_LD = "JSON_LD",
212
- JWT = "JWT",
213
- SD_JWT = "SD_JWT",
214
- MSO_MDOC = "MSO_MDOC"
215
- }
216
- declare namespace CredentialDocumentFormat {
217
- function fromSpecValue(credentialFormat: string): CredentialDocumentFormat;
218
- function toSpecValue(documentFormat: CredentialDocumentFormat, documentType: DocumentType): "dc+sd-jwt" | "mso_mdoc" | "ldp_vc" | "ldp_vp" | "jwt_vc_json" | "jwt_vp_json";
219
- }
220
- declare enum CredentialCorrelationType {
221
- DID = "DID",
222
- X509_SAN = "X509_SAN",
223
- KID = "KID",
224
- URL = "URL"
225
- }
226
- declare enum CredentialRole {
227
- ISSUER = "ISSUER",
228
- VERIFIER = "VERIFIER",
229
- HOLDER = "HOLDER",
230
- FEDERATION_TRUST_ANCHOR = "FEDERATION_TRUST_ANCHOR"
231
- }
232
- declare enum CredentialStateType {
233
- REVOKED = "REVOKED",
234
- VERIFIED = "VERIFIED",
235
- EXPIRED = "EXPIRED"
236
- }
237
-
238
- /**
239
- * DigitalCredential
240
- *
241
- * @public
242
- */
243
- type DigitalCredential = {
244
- id: string;
245
- parentId?: string;
246
- documentType: DocumentType;
247
- documentFormat: CredentialDocumentFormat;
248
- credentialRole: CredentialRole;
249
- regulationType: RegulationType;
250
- rawDocument: string;
251
- uniformDocument: string;
252
- credentialId?: string;
253
- hash: string;
254
- kmsKeyRef?: string;
255
- identifierMethod?: string;
256
- issuerCorrelationType: CredentialCorrelationType;
257
- subjectCorrelationType?: CredentialCorrelationType;
258
- rpCorrelationType?: CredentialCorrelationType;
259
- isIssuerSigned?: boolean;
260
- issuerCorrelationId: string;
261
- subjectCorrelationId?: string;
262
- rpCorrelationId?: string;
263
- verifiedState?: CredentialStateType;
264
- tenantId?: string;
265
- createdAt: Date;
266
- presentedAt?: Date;
267
- lastUpdatedAt: Date;
268
- validUntil?: Date;
269
- validFrom?: Date;
270
- verifiedAt?: Date;
271
- revokedAt?: Date;
272
- };
273
- type NonPersistedDigitalCredential = Omit<DigitalCredential, 'id' | 'regulationType'> & {
274
- regulationType?: RegulationType;
275
- };
276
-
277
- declare class DigitalCredentialEntity extends BaseEntity$8 implements DigitalCredential {
278
- id: string;
279
- parentId?: string;
280
- documentType: DocumentType;
281
- regulationType: RegulationType;
282
- documentFormat: CredentialDocumentFormat;
283
- credentialRole: CredentialRole;
284
- rawDocument: string;
285
- uniformDocument: string;
286
- credentialId: string;
287
- hash: string;
288
- kmsKeyRef: string;
289
- identifierMethod: string;
290
- issuerCorrelationType: CredentialCorrelationType;
291
- subjectCorrelationType?: CredentialCorrelationType;
292
- rpCorrelationType?: CredentialCorrelationType;
293
- isIssuerSigned?: boolean;
294
- issuerCorrelationId: string;
295
- subjectCorrelationId?: string;
296
- rpCorrelationId?: string;
297
- verifiedState?: CredentialStateType;
298
- tenantId?: string;
299
- createdAt: Date;
300
- presentedAt?: Date;
301
- lastUpdatedAt: Date;
302
- validUntil?: Date;
303
- validFrom?: Date;
304
- verifiedAt?: Date;
305
- revokedAt?: Date;
306
- }
307
-
308
- type GetCredentialArgs = {
309
- id: string;
310
- } | {
311
- hash: string;
312
- };
313
- type FindDigitalCredentialArgs = Array<Partial<DigitalCredential>>;
314
- type GetCredentialsArgs = {
315
- filter?: FindDigitalCredentialArgs;
316
- offset?: number;
317
- limit?: number;
318
- order?: string | FindOptionsOrder<DigitalCredentialEntity>;
319
- };
320
- type GetCredentialsResponse = {
321
- data: Array<DigitalCredential>;
322
- total: number;
323
- };
324
- type AddCredentialArgs = {
325
- rawDocument: string;
326
- kmsKeyRef?: string;
327
- identifierMethod?: string;
328
- regulationType?: RegulationType;
329
- parentId?: string;
330
- issuerCorrelationType: CredentialCorrelationType;
331
- subjectCorrelationType?: CredentialCorrelationType;
332
- issuerCorrelationId: string;
333
- subjectCorrelationId?: string;
334
- credentialRole: CredentialRole;
335
- tenantId?: string;
336
- state?: CredentialStateType;
337
- verifiedAt?: Date;
338
- revokedAt?: Date;
339
- opts?: {
340
- maxTimeSkewInMS?: number;
341
- hasher?: HasherSync;
342
- };
343
- };
344
- type UpdateCredentialStateArgs = GetCredentialArgs & {
345
- verifiedState: CredentialStateType;
346
- verifiedAt?: Date;
347
- revokedAt?: Date;
348
- };
349
- type RemoveCredentialArgs = GetCredentialArgs;
350
-
351
198
  type MetadataTypes = string | number | Date | boolean | undefined;
352
199
  interface IMetadataEntity {
353
200
  label: string;
@@ -715,8 +562,8 @@ type PresentationDefinitionItem = {
715
562
  version: string;
716
563
  name?: string;
717
564
  purpose?: string;
718
- definitionPayload: IPresentationDefinition;
719
- dcqlPayload?: DcqlQueryREST;
565
+ definitionPayload?: IPresentationDefinition;
566
+ dcqlPayload?: DcqlQueryPayload;
720
567
  createdAt: Date;
721
568
  lastUpdatedAt: Date;
722
569
  };
@@ -1004,6 +851,153 @@ interface StoreMachineStateInfo {
1004
851
  tenantId?: string;
1005
852
  }
1006
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): "dc+sd-jwt" | "mso_mdoc" | "ldp_vc" | "ldp_vp" | "jwt_vc_json" | "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
+
1007
1001
  declare const BaseEntity$6: typeof typeorm.BaseEntity;
1008
1002
 
1009
1003
  declare class CorrelationIdentifierEntity extends BaseEntity$6 {
@@ -1668,37 +1662,37 @@ declare class CreateContacts1659463079429 implements MigrationInterface {
1668
1662
  down(queryRunner: QueryRunner): Promise<void>;
1669
1663
  }
1670
1664
 
1671
- declare class CreateIssuanceBranding1659463079429 implements MigrationInterface {
1665
+ declare class CreatePresentationDefinitions1716533767523 implements MigrationInterface {
1672
1666
  name: string;
1673
1667
  up(queryRunner: QueryRunner): Promise<void>;
1674
1668
  down(queryRunner: QueryRunner): Promise<void>;
1675
1669
  }
1676
1670
 
1677
- declare class CreateStatusList1693866470000 implements MigrationInterface {
1671
+ declare class FixCredentialClaimsReferencesUuid1741895822987 implements MigrationInterface {
1678
1672
  name: string;
1679
1673
  up(queryRunner: QueryRunner): Promise<void>;
1680
1674
  down(queryRunner: QueryRunner): Promise<void>;
1681
1675
  }
1682
1676
 
1683
- declare class CreateAuditEvents1701635835330 implements MigrationInterface {
1677
+ declare class AddBitstringStatusListEnum1741895823000 implements MigrationInterface {
1684
1678
  name: string;
1685
1679
  up(queryRunner: QueryRunner): Promise<void>;
1686
1680
  down(queryRunner: QueryRunner): Promise<void>;
1687
1681
  }
1688
1682
 
1689
- declare class CreateDigitalCredential1708525189000 implements MigrationInterface {
1683
+ declare class CreateAuditEvents1701635835330 implements MigrationInterface {
1690
1684
  name: string;
1691
1685
  up(queryRunner: QueryRunner): Promise<void>;
1692
1686
  down(queryRunner: QueryRunner): Promise<void>;
1693
1687
  }
1694
1688
 
1695
- declare class CreateMachineStateStore1708098041262 implements MigrationInterface {
1689
+ declare class CreateDigitalCredential1708525189000 implements MigrationInterface {
1696
1690
  name: string;
1697
1691
  up(queryRunner: QueryRunner): Promise<void>;
1698
1692
  down(queryRunner: QueryRunner): Promise<void>;
1699
1693
  }
1700
1694
 
1701
- declare class CreatePresentationDefinitions1716533767523 implements MigrationInterface {
1695
+ declare class CreateMachineStateStore1708098041262 implements MigrationInterface {
1702
1696
  name: string;
1703
1697
  up(queryRunner: QueryRunner): Promise<void>;
1704
1698
  down(queryRunner: QueryRunner): Promise<void>;
@@ -1712,8 +1706,8 @@ declare class CreatePresentationDefinitions1716533767523 implements MigrationInt
1712
1706
  * @public
1713
1707
  */
1714
1708
  declare const DataStoreContactMigrations: (typeof CreateContacts1659463079429)[];
1715
- declare const DataStoreIssuanceBrandingMigrations: (typeof CreateIssuanceBranding1659463079429)[];
1716
- declare const DataStoreStatusListMigrations: (typeof CreateStatusList1693866470000)[];
1709
+ declare const DataStoreIssuanceBrandingMigrations: (typeof FixCredentialClaimsReferencesUuid1741895822987)[];
1710
+ declare const DataStoreStatusListMigrations: (typeof AddBitstringStatusListEnum1741895823000)[];
1717
1711
  declare const DataStoreEventLoggerMigrations: (typeof CreateAuditEvents1701635835330)[];
1718
1712
  declare const DataStoreDigitalCredentialMigrations: (typeof CreateDigitalCredential1708525189000)[];
1719
1713
  declare const DataStoreMachineStateMigrations: (typeof CreateMachineStateStore1708098041262)[];
@@ -1812,4 +1806,4 @@ declare const DataStoreDigitalCredentialEntities: (typeof DigitalCredentialEntit
1812
1806
  declare const DataStoreMachineStateEntities: (typeof MachineStateInfoEntity)[];
1813
1807
  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 PresentationDefinitionItemEntity | typeof StatusListEntity | typeof StatusListEntryEntity | typeof AuditEventEntity | typeof DigitalCredentialEntity | typeof MachineStateInfoEntity)[];
1814
1808
 
1815
- 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, CredentialRole, CredentialStateType, DataStoreContactEntities, DataStoreContactMigrations, DataStoreDigitalCredentialEntities, DataStoreDigitalCredentialMigrations, DataStoreEntities, DataStoreEventLoggerEntities, DataStoreEventLoggerMigrations, DataStoreIssuanceBrandingEntities, DataStoreIssuanceBrandingMigrations, DataStoreMachineStateEntities, DataStoreMachineStateMigrations, DataStoreMigrations, DataStoreOid4vcStateEntities, DataStorePresentationDefinitionEntities, DataStorePresentationDefinitionMigrations, DataStoreStatusListEntities, DataStoreStatusListMigrations, 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 FindDefinitionArgs, 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, IssuanceBrandingStore, IssuerBrandingEntity, IssuerLocaleBrandingEntity, MachineStateInfoEntity, MachineStateStore, type MetadataItem, type MetadataTypes, type NaturalPerson, type NonPersistedActivityLoggingEvent, type NonPersistedAuditLoggingEvent, type NonPersistedConnection, type NonPersistedConnectionConfig, type NonPersistedContact, type NonPersistedCorrelationIdentifier, type NonPersistedDidAuthConfig, type NonPersistedDigitalCredential, type NonPersistedElectronicAddress, type NonPersistedIdentity, type NonPersistedMetadataItem, type NonPersistedNaturalPerson, type NonPersistedOpenIdConfig, type NonPersistedOrganization, type NonPersistedParty, type NonPersistedPartyRelationship, type NonPersistedPartyType, type NonPersistedPhysicalAddress, type NonPersistedPresentationDefinitionItem, OAuthStatusListEntity, Oid4vcStateEntity, type OpenIdConfig, OpenIdConfigEntity, type Organization, PDStore, type PartialConnection, type PartialConnectionConfig, type PartialContact, type PartialCorrelationIdentifier, type PartialDidAuthConfig, type PartialElectronicAddress, type PartialIdentity, type PartialMetadataItem, type PartialNaturalPerson, type PartialOpenIdConfig, type PartialOrganization, type PartialParty, type PartialPartyRelationship, type PartialPartyType, type PartialPhysicalAddress, type PartialPresentationDefinitionItem, type Party, PartyEntity, PartyOrigin, type PartyRelationship, type PartyType, PartyTypeType, type PhysicalAddress, PhysicalAddressEntity, type PhysicalAddressType, type PresentationDefinitionItem, PresentationDefinitionItemEntity, type PresentationDefinitionItemFilter, 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, 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, presentationDefinitionEntityItemFrom, presentationDefinitionItemFrom, textAttributesEntityFrom };
1809
+ 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 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 FindDefinitionArgs, 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, IssuanceBrandingStore, IssuerBrandingEntity, IssuerLocaleBrandingEntity, MachineStateInfoEntity, MachineStateStore, type MetadataItem, type MetadataTypes, type NaturalPerson, type NonPersistedActivityLoggingEvent, type NonPersistedAuditLoggingEvent, type NonPersistedConnection, type NonPersistedConnectionConfig, type NonPersistedContact, type NonPersistedCorrelationIdentifier, type NonPersistedDidAuthConfig, type NonPersistedDigitalCredential, type NonPersistedElectronicAddress, type NonPersistedIdentity, type NonPersistedMetadataItem, type NonPersistedNaturalPerson, type NonPersistedOpenIdConfig, type NonPersistedOrganization, type NonPersistedParty, type NonPersistedPartyRelationship, type NonPersistedPartyType, type NonPersistedPhysicalAddress, type NonPersistedPresentationDefinitionItem, OAuthStatusListEntity, Oid4vcStateEntity, type OpenIdConfig, OpenIdConfigEntity, type Organization, PDStore, type PartialConnection, type PartialConnectionConfig, type PartialContact, type PartialCorrelationIdentifier, type PartialDidAuthConfig, type PartialElectronicAddress, type PartialIdentity, type PartialMetadataItem, type PartialNaturalPerson, type PartialOpenIdConfig, type PartialOrganization, type PartialParty, type PartialPartyRelationship, type PartialPartyType, type PartialPhysicalAddress, type PartialPresentationDefinitionItem, type Party, PartyEntity, PartyOrigin, type PartyRelationship, type PartyType, PartyTypeType, type PhysicalAddress, PhysicalAddressEntity, type PhysicalAddressType, type PresentationDefinitionItem, PresentationDefinitionItemEntity, type PresentationDefinitionItemFilter, 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, 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, presentationDefinitionEntityItemFrom, presentationDefinitionItemFrom, textAttributesEntityFrom };