@sphereon/ssi-sdk.data-store-types 0.34.1-feature.SSISDK.82.linkedVP.328 → 0.34.1-feature.SSISDK.82.linkedVP.341
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts
CHANGED
|
@@ -700,47 +700,6 @@ declare enum CredentialStateType {
|
|
|
700
700
|
EXPIRED = "EXPIRED"
|
|
701
701
|
}
|
|
702
702
|
|
|
703
|
-
/**
|
|
704
|
-
* DigitalCredential
|
|
705
|
-
*
|
|
706
|
-
* @public
|
|
707
|
-
*/
|
|
708
|
-
type DigitalCredential = {
|
|
709
|
-
id: string;
|
|
710
|
-
parentId?: string;
|
|
711
|
-
documentType: DocumentType;
|
|
712
|
-
documentFormat: CredentialDocumentFormat;
|
|
713
|
-
credentialRole: CredentialRole;
|
|
714
|
-
regulationType: RegulationType;
|
|
715
|
-
rawDocument: string;
|
|
716
|
-
uniformDocument: string;
|
|
717
|
-
credentialId?: string;
|
|
718
|
-
hash: string;
|
|
719
|
-
kmsKeyRef?: string;
|
|
720
|
-
identifierMethod?: string;
|
|
721
|
-
issuerCorrelationType: CredentialCorrelationType;
|
|
722
|
-
subjectCorrelationType?: CredentialCorrelationType;
|
|
723
|
-
rpCorrelationType?: CredentialCorrelationType;
|
|
724
|
-
isIssuerSigned?: boolean;
|
|
725
|
-
issuerCorrelationId: string;
|
|
726
|
-
subjectCorrelationId?: string;
|
|
727
|
-
rpCorrelationId?: string;
|
|
728
|
-
verifiedState?: CredentialStateType;
|
|
729
|
-
tenantId?: string;
|
|
730
|
-
linkedVpId?: string;
|
|
731
|
-
linkedVpFrom?: Date;
|
|
732
|
-
createdAt: Date;
|
|
733
|
-
presentedAt?: Date;
|
|
734
|
-
lastUpdatedAt: Date;
|
|
735
|
-
validUntil?: Date;
|
|
736
|
-
validFrom?: Date;
|
|
737
|
-
verifiedAt?: Date;
|
|
738
|
-
revokedAt?: Date;
|
|
739
|
-
};
|
|
740
|
-
type NonPersistedDigitalCredential = Omit<DigitalCredential, 'id' | 'regulationType'> & {
|
|
741
|
-
regulationType?: RegulationType;
|
|
742
|
-
};
|
|
743
|
-
|
|
744
703
|
type GetCredentialArgs = {
|
|
745
704
|
id: string;
|
|
746
705
|
} | {
|
|
@@ -769,8 +728,8 @@ type AddCredentialArgs = {
|
|
|
769
728
|
subjectCorrelationId?: string;
|
|
770
729
|
credentialRole: CredentialRole;
|
|
771
730
|
linkedVpId?: string;
|
|
772
|
-
tenantId?: string;
|
|
773
731
|
linkedVpFrom?: Date;
|
|
732
|
+
tenantId?: string;
|
|
774
733
|
state?: CredentialStateType;
|
|
775
734
|
verifiedAt?: Date;
|
|
776
735
|
revokedAt?: Date;
|
|
@@ -787,6 +746,48 @@ type UpdateCredentialStateArgs = GetCredentialArgs & {
|
|
|
787
746
|
type UpdateCredentialArgs = GetCredentialArgs & Partial<Omit<DigitalCredential, 'id' | 'hash' | 'createdAt' | 'lastUpdatedAt'>>;
|
|
788
747
|
type RemoveCredentialArgs = GetCredentialArgs;
|
|
789
748
|
|
|
749
|
+
/**
|
|
750
|
+
* DigitalCredential
|
|
751
|
+
*
|
|
752
|
+
* @public
|
|
753
|
+
*/
|
|
754
|
+
type DigitalCredential = {
|
|
755
|
+
id: string;
|
|
756
|
+
parentId?: string;
|
|
757
|
+
documentType: DocumentType;
|
|
758
|
+
documentFormat: CredentialDocumentFormat;
|
|
759
|
+
credentialRole: CredentialRole;
|
|
760
|
+
regulationType: RegulationType;
|
|
761
|
+
rawDocument: string;
|
|
762
|
+
uniformDocument: string;
|
|
763
|
+
credentialId?: string;
|
|
764
|
+
hash: string;
|
|
765
|
+
kmsKeyRef?: string;
|
|
766
|
+
identifierMethod?: string;
|
|
767
|
+
issuerCorrelationType: CredentialCorrelationType;
|
|
768
|
+
subjectCorrelationType?: CredentialCorrelationType;
|
|
769
|
+
rpCorrelationType?: CredentialCorrelationType;
|
|
770
|
+
isIssuerSigned?: boolean;
|
|
771
|
+
issuerCorrelationId: string;
|
|
772
|
+
subjectCorrelationId?: string;
|
|
773
|
+
rpCorrelationId?: string;
|
|
774
|
+
verifiedState?: CredentialStateType;
|
|
775
|
+
tenantId?: string;
|
|
776
|
+
linkedVpId?: string;
|
|
777
|
+
linkedVpFrom?: Date;
|
|
778
|
+
createdAt: Date;
|
|
779
|
+
presentedAt?: Date;
|
|
780
|
+
lastUpdatedAt: Date;
|
|
781
|
+
validUntil?: Date;
|
|
782
|
+
validFrom?: Date;
|
|
783
|
+
verifiedAt?: Date;
|
|
784
|
+
revokedAt?: Date;
|
|
785
|
+
};
|
|
786
|
+
type NonPersistedDigitalCredential = Omit<DigitalCredential, 'id' | 'regulationType'> & {
|
|
787
|
+
regulationType?: RegulationType;
|
|
788
|
+
};
|
|
789
|
+
type UpdateCredentialArgsWithoutIdentifier = Omit<UpdateCredentialArgs, 'id' | 'hash'>;
|
|
790
|
+
|
|
790
791
|
declare abstract class AbstractContactStore {
|
|
791
792
|
abstract getParty(args: GetPartyArgs): Promise<Party>;
|
|
792
793
|
abstract getParties(args?: GetPartiesArgs): Promise<Array<Party>>;
|
|
@@ -919,4 +920,4 @@ declare abstract class AbstractPDStore {
|
|
|
919
920
|
|
|
920
921
|
declare function ensureRawDocument(input: string | object): string;
|
|
921
922
|
|
|
922
|
-
export { AbstractContactStore, AbstractDigitalCredentialStore, AbstractEventLoggerStore, AbstractIssuanceBrandingStore, AbstractPDStore, type AddCredentialArgs, type AddDefinitionArgs, type AddElectronicAddressArgs, type AddIdentityArgs, type AddPartyArgs, type AddPartyTypeArgs, type AddPhysicalAddressArgs, type AddRelationshipArgs, type Connection, type ConnectionConfig, ConnectionType, type Contact, type CorrelationIdentifier, CorrelationIdentifierType, CredentialCorrelationType, CredentialDocumentFormat, CredentialStateType, type DcqlQueryItem, type DcqlQueryItemFilter, type DeleteDefinitionArgs, type DeleteDefinitionsArgs, type DidAuthConfig, type DigitalCredential, DocumentType, type ElectronicAddress, type ElectronicAddressType, 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 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 IBackgroundAttributes, type IBasicBackgroundAttributes, type IBasicCredentialBranding, type IBasicCredentialClaim, type IBasicCredentialLocaleBranding, type IBasicImageAttributes, type IBasicImageDimensions, type IBasicIssuerBranding, type IBasicIssuerLocaleBranding, type IBasicTextAttributes, type ICredentialBranding, type ICredentialBrandingFilter, type ICredentialClaim, type ICredentialLocaleBranding, type ICredentialLocaleBrandingFilter, type IGetCredentialBrandingArgs, type IGetCredentialLocaleBrandingArgs, type IGetIssuerBrandingArgs, type IGetIssuerLocaleBrandingArgs, type IImageAttributes, type IImageDimensions, type IIssuerBranding, type IIssuerBrandingFilter, type IIssuerLocaleBranding, type IIssuerLocaleBrandingFilter, type ILocaleBranding, type IMetadataEntity, 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 ITextAttributes, type IUpdateCredentialBrandingArgs, type IUpdateCredentialLocaleBrandingArgs, type IUpdateIssuerBrandingArgs, type IUpdateIssuerLocaleBrandingArgs, type Identity, IdentityOrigin, type ImportDcqlQueryItem, 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, type OpenIdConfig, type Organization, 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, PartyOrigin, type PartyRelationship, type PartyType, PartyTypeType, type PhysicalAddress, type PhysicalAddressType, RegulationType, type RemoveCredentialArgs, type RemoveElectronicAddressArgs, type RemoveIdentityArgs, type RemovePartyArgs, type RemovePartyTypeArgs, type RemovePhysicalAddressArgs, type RemoveRelationshipArgs, type StoreActivityEventArgs, type StoreAuditEventArgs, type StoreFindMachineStatesArgs, type StoreMachineStateDeleteArgs, type StoreMachineStateDeleteExpiredArgs, type StoreMachineStateGetArgs, type StoreMachineStateInfo, type StoreMachineStatePersistArgs, type StoreMachineStatesFindActiveArgs, type UpdateCredentialArgs, type UpdateCredentialStateArgs, type UpdateDefinitionArgs, type UpdateElectronicAddressArgs, type UpdateIdentityArgs, type UpdatePartyArgs, type UpdatePartyTypeArgs, type UpdatePhysicalAddressArgs, type UpdateRelationshipArgs, type ValidationConstraint, ensureRawDocument };
|
|
923
|
+
export { AbstractContactStore, AbstractDigitalCredentialStore, AbstractEventLoggerStore, AbstractIssuanceBrandingStore, AbstractPDStore, type AddCredentialArgs, type AddDefinitionArgs, type AddElectronicAddressArgs, type AddIdentityArgs, type AddPartyArgs, type AddPartyTypeArgs, type AddPhysicalAddressArgs, type AddRelationshipArgs, type Connection, type ConnectionConfig, ConnectionType, type Contact, type CorrelationIdentifier, CorrelationIdentifierType, CredentialCorrelationType, CredentialDocumentFormat, CredentialStateType, type DcqlQueryItem, type DcqlQueryItemFilter, type DeleteDefinitionArgs, type DeleteDefinitionsArgs, type DidAuthConfig, type DigitalCredential, DocumentType, type ElectronicAddress, type ElectronicAddressType, 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 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 IBackgroundAttributes, type IBasicBackgroundAttributes, type IBasicCredentialBranding, type IBasicCredentialClaim, type IBasicCredentialLocaleBranding, type IBasicImageAttributes, type IBasicImageDimensions, type IBasicIssuerBranding, type IBasicIssuerLocaleBranding, type IBasicTextAttributes, type ICredentialBranding, type ICredentialBrandingFilter, type ICredentialClaim, type ICredentialLocaleBranding, type ICredentialLocaleBrandingFilter, type IGetCredentialBrandingArgs, type IGetCredentialLocaleBrandingArgs, type IGetIssuerBrandingArgs, type IGetIssuerLocaleBrandingArgs, type IImageAttributes, type IImageDimensions, type IIssuerBranding, type IIssuerBrandingFilter, type IIssuerLocaleBranding, type IIssuerLocaleBrandingFilter, type ILocaleBranding, type IMetadataEntity, 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 ITextAttributes, type IUpdateCredentialBrandingArgs, type IUpdateCredentialLocaleBrandingArgs, type IUpdateIssuerBrandingArgs, type IUpdateIssuerLocaleBrandingArgs, type Identity, IdentityOrigin, type ImportDcqlQueryItem, 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, type OpenIdConfig, type Organization, 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, PartyOrigin, type PartyRelationship, type PartyType, PartyTypeType, type PhysicalAddress, type PhysicalAddressType, RegulationType, type RemoveCredentialArgs, type RemoveElectronicAddressArgs, type RemoveIdentityArgs, type RemovePartyArgs, type RemovePartyTypeArgs, type RemovePhysicalAddressArgs, type RemoveRelationshipArgs, type StoreActivityEventArgs, type StoreAuditEventArgs, type StoreFindMachineStatesArgs, type StoreMachineStateDeleteArgs, type StoreMachineStateDeleteExpiredArgs, type StoreMachineStateGetArgs, type StoreMachineStateInfo, type StoreMachineStatePersistArgs, type StoreMachineStatesFindActiveArgs, type UpdateCredentialArgs, type UpdateCredentialArgsWithoutIdentifier, type UpdateCredentialStateArgs, type UpdateDefinitionArgs, type UpdateElectronicAddressArgs, type UpdateIdentityArgs, type UpdatePartyArgs, type UpdatePartyTypeArgs, type UpdatePhysicalAddressArgs, type UpdateRelationshipArgs, type ValidationConstraint, ensureRawDocument };
|
package/dist/index.d.ts
CHANGED
|
@@ -700,47 +700,6 @@ declare enum CredentialStateType {
|
|
|
700
700
|
EXPIRED = "EXPIRED"
|
|
701
701
|
}
|
|
702
702
|
|
|
703
|
-
/**
|
|
704
|
-
* DigitalCredential
|
|
705
|
-
*
|
|
706
|
-
* @public
|
|
707
|
-
*/
|
|
708
|
-
type DigitalCredential = {
|
|
709
|
-
id: string;
|
|
710
|
-
parentId?: string;
|
|
711
|
-
documentType: DocumentType;
|
|
712
|
-
documentFormat: CredentialDocumentFormat;
|
|
713
|
-
credentialRole: CredentialRole;
|
|
714
|
-
regulationType: RegulationType;
|
|
715
|
-
rawDocument: string;
|
|
716
|
-
uniformDocument: string;
|
|
717
|
-
credentialId?: string;
|
|
718
|
-
hash: string;
|
|
719
|
-
kmsKeyRef?: string;
|
|
720
|
-
identifierMethod?: string;
|
|
721
|
-
issuerCorrelationType: CredentialCorrelationType;
|
|
722
|
-
subjectCorrelationType?: CredentialCorrelationType;
|
|
723
|
-
rpCorrelationType?: CredentialCorrelationType;
|
|
724
|
-
isIssuerSigned?: boolean;
|
|
725
|
-
issuerCorrelationId: string;
|
|
726
|
-
subjectCorrelationId?: string;
|
|
727
|
-
rpCorrelationId?: string;
|
|
728
|
-
verifiedState?: CredentialStateType;
|
|
729
|
-
tenantId?: string;
|
|
730
|
-
linkedVpId?: string;
|
|
731
|
-
linkedVpFrom?: Date;
|
|
732
|
-
createdAt: Date;
|
|
733
|
-
presentedAt?: Date;
|
|
734
|
-
lastUpdatedAt: Date;
|
|
735
|
-
validUntil?: Date;
|
|
736
|
-
validFrom?: Date;
|
|
737
|
-
verifiedAt?: Date;
|
|
738
|
-
revokedAt?: Date;
|
|
739
|
-
};
|
|
740
|
-
type NonPersistedDigitalCredential = Omit<DigitalCredential, 'id' | 'regulationType'> & {
|
|
741
|
-
regulationType?: RegulationType;
|
|
742
|
-
};
|
|
743
|
-
|
|
744
703
|
type GetCredentialArgs = {
|
|
745
704
|
id: string;
|
|
746
705
|
} | {
|
|
@@ -769,8 +728,8 @@ type AddCredentialArgs = {
|
|
|
769
728
|
subjectCorrelationId?: string;
|
|
770
729
|
credentialRole: CredentialRole;
|
|
771
730
|
linkedVpId?: string;
|
|
772
|
-
tenantId?: string;
|
|
773
731
|
linkedVpFrom?: Date;
|
|
732
|
+
tenantId?: string;
|
|
774
733
|
state?: CredentialStateType;
|
|
775
734
|
verifiedAt?: Date;
|
|
776
735
|
revokedAt?: Date;
|
|
@@ -787,6 +746,48 @@ type UpdateCredentialStateArgs = GetCredentialArgs & {
|
|
|
787
746
|
type UpdateCredentialArgs = GetCredentialArgs & Partial<Omit<DigitalCredential, 'id' | 'hash' | 'createdAt' | 'lastUpdatedAt'>>;
|
|
788
747
|
type RemoveCredentialArgs = GetCredentialArgs;
|
|
789
748
|
|
|
749
|
+
/**
|
|
750
|
+
* DigitalCredential
|
|
751
|
+
*
|
|
752
|
+
* @public
|
|
753
|
+
*/
|
|
754
|
+
type DigitalCredential = {
|
|
755
|
+
id: string;
|
|
756
|
+
parentId?: string;
|
|
757
|
+
documentType: DocumentType;
|
|
758
|
+
documentFormat: CredentialDocumentFormat;
|
|
759
|
+
credentialRole: CredentialRole;
|
|
760
|
+
regulationType: RegulationType;
|
|
761
|
+
rawDocument: string;
|
|
762
|
+
uniformDocument: string;
|
|
763
|
+
credentialId?: string;
|
|
764
|
+
hash: string;
|
|
765
|
+
kmsKeyRef?: string;
|
|
766
|
+
identifierMethod?: string;
|
|
767
|
+
issuerCorrelationType: CredentialCorrelationType;
|
|
768
|
+
subjectCorrelationType?: CredentialCorrelationType;
|
|
769
|
+
rpCorrelationType?: CredentialCorrelationType;
|
|
770
|
+
isIssuerSigned?: boolean;
|
|
771
|
+
issuerCorrelationId: string;
|
|
772
|
+
subjectCorrelationId?: string;
|
|
773
|
+
rpCorrelationId?: string;
|
|
774
|
+
verifiedState?: CredentialStateType;
|
|
775
|
+
tenantId?: string;
|
|
776
|
+
linkedVpId?: string;
|
|
777
|
+
linkedVpFrom?: Date;
|
|
778
|
+
createdAt: Date;
|
|
779
|
+
presentedAt?: Date;
|
|
780
|
+
lastUpdatedAt: Date;
|
|
781
|
+
validUntil?: Date;
|
|
782
|
+
validFrom?: Date;
|
|
783
|
+
verifiedAt?: Date;
|
|
784
|
+
revokedAt?: Date;
|
|
785
|
+
};
|
|
786
|
+
type NonPersistedDigitalCredential = Omit<DigitalCredential, 'id' | 'regulationType'> & {
|
|
787
|
+
regulationType?: RegulationType;
|
|
788
|
+
};
|
|
789
|
+
type UpdateCredentialArgsWithoutIdentifier = Omit<UpdateCredentialArgs, 'id' | 'hash'>;
|
|
790
|
+
|
|
790
791
|
declare abstract class AbstractContactStore {
|
|
791
792
|
abstract getParty(args: GetPartyArgs): Promise<Party>;
|
|
792
793
|
abstract getParties(args?: GetPartiesArgs): Promise<Array<Party>>;
|
|
@@ -919,4 +920,4 @@ declare abstract class AbstractPDStore {
|
|
|
919
920
|
|
|
920
921
|
declare function ensureRawDocument(input: string | object): string;
|
|
921
922
|
|
|
922
|
-
export { AbstractContactStore, AbstractDigitalCredentialStore, AbstractEventLoggerStore, AbstractIssuanceBrandingStore, AbstractPDStore, type AddCredentialArgs, type AddDefinitionArgs, type AddElectronicAddressArgs, type AddIdentityArgs, type AddPartyArgs, type AddPartyTypeArgs, type AddPhysicalAddressArgs, type AddRelationshipArgs, type Connection, type ConnectionConfig, ConnectionType, type Contact, type CorrelationIdentifier, CorrelationIdentifierType, CredentialCorrelationType, CredentialDocumentFormat, CredentialStateType, type DcqlQueryItem, type DcqlQueryItemFilter, type DeleteDefinitionArgs, type DeleteDefinitionsArgs, type DidAuthConfig, type DigitalCredential, DocumentType, type ElectronicAddress, type ElectronicAddressType, 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 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 IBackgroundAttributes, type IBasicBackgroundAttributes, type IBasicCredentialBranding, type IBasicCredentialClaim, type IBasicCredentialLocaleBranding, type IBasicImageAttributes, type IBasicImageDimensions, type IBasicIssuerBranding, type IBasicIssuerLocaleBranding, type IBasicTextAttributes, type ICredentialBranding, type ICredentialBrandingFilter, type ICredentialClaim, type ICredentialLocaleBranding, type ICredentialLocaleBrandingFilter, type IGetCredentialBrandingArgs, type IGetCredentialLocaleBrandingArgs, type IGetIssuerBrandingArgs, type IGetIssuerLocaleBrandingArgs, type IImageAttributes, type IImageDimensions, type IIssuerBranding, type IIssuerBrandingFilter, type IIssuerLocaleBranding, type IIssuerLocaleBrandingFilter, type ILocaleBranding, type IMetadataEntity, 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 ITextAttributes, type IUpdateCredentialBrandingArgs, type IUpdateCredentialLocaleBrandingArgs, type IUpdateIssuerBrandingArgs, type IUpdateIssuerLocaleBrandingArgs, type Identity, IdentityOrigin, type ImportDcqlQueryItem, 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, type OpenIdConfig, type Organization, 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, PartyOrigin, type PartyRelationship, type PartyType, PartyTypeType, type PhysicalAddress, type PhysicalAddressType, RegulationType, type RemoveCredentialArgs, type RemoveElectronicAddressArgs, type RemoveIdentityArgs, type RemovePartyArgs, type RemovePartyTypeArgs, type RemovePhysicalAddressArgs, type RemoveRelationshipArgs, type StoreActivityEventArgs, type StoreAuditEventArgs, type StoreFindMachineStatesArgs, type StoreMachineStateDeleteArgs, type StoreMachineStateDeleteExpiredArgs, type StoreMachineStateGetArgs, type StoreMachineStateInfo, type StoreMachineStatePersistArgs, type StoreMachineStatesFindActiveArgs, type UpdateCredentialArgs, type UpdateCredentialStateArgs, type UpdateDefinitionArgs, type UpdateElectronicAddressArgs, type UpdateIdentityArgs, type UpdatePartyArgs, type UpdatePartyTypeArgs, type UpdatePhysicalAddressArgs, type UpdateRelationshipArgs, type ValidationConstraint, ensureRawDocument };
|
|
923
|
+
export { AbstractContactStore, AbstractDigitalCredentialStore, AbstractEventLoggerStore, AbstractIssuanceBrandingStore, AbstractPDStore, type AddCredentialArgs, type AddDefinitionArgs, type AddElectronicAddressArgs, type AddIdentityArgs, type AddPartyArgs, type AddPartyTypeArgs, type AddPhysicalAddressArgs, type AddRelationshipArgs, type Connection, type ConnectionConfig, ConnectionType, type Contact, type CorrelationIdentifier, CorrelationIdentifierType, CredentialCorrelationType, CredentialDocumentFormat, CredentialStateType, type DcqlQueryItem, type DcqlQueryItemFilter, type DeleteDefinitionArgs, type DeleteDefinitionsArgs, type DidAuthConfig, type DigitalCredential, DocumentType, type ElectronicAddress, type ElectronicAddressType, 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 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 IBackgroundAttributes, type IBasicBackgroundAttributes, type IBasicCredentialBranding, type IBasicCredentialClaim, type IBasicCredentialLocaleBranding, type IBasicImageAttributes, type IBasicImageDimensions, type IBasicIssuerBranding, type IBasicIssuerLocaleBranding, type IBasicTextAttributes, type ICredentialBranding, type ICredentialBrandingFilter, type ICredentialClaim, type ICredentialLocaleBranding, type ICredentialLocaleBrandingFilter, type IGetCredentialBrandingArgs, type IGetCredentialLocaleBrandingArgs, type IGetIssuerBrandingArgs, type IGetIssuerLocaleBrandingArgs, type IImageAttributes, type IImageDimensions, type IIssuerBranding, type IIssuerBrandingFilter, type IIssuerLocaleBranding, type IIssuerLocaleBrandingFilter, type ILocaleBranding, type IMetadataEntity, 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 ITextAttributes, type IUpdateCredentialBrandingArgs, type IUpdateCredentialLocaleBrandingArgs, type IUpdateIssuerBrandingArgs, type IUpdateIssuerLocaleBrandingArgs, type Identity, IdentityOrigin, type ImportDcqlQueryItem, 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, type OpenIdConfig, type Organization, 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, PartyOrigin, type PartyRelationship, type PartyType, PartyTypeType, type PhysicalAddress, type PhysicalAddressType, RegulationType, type RemoveCredentialArgs, type RemoveElectronicAddressArgs, type RemoveIdentityArgs, type RemovePartyArgs, type RemovePartyTypeArgs, type RemovePhysicalAddressArgs, type RemoveRelationshipArgs, type StoreActivityEventArgs, type StoreAuditEventArgs, type StoreFindMachineStatesArgs, type StoreMachineStateDeleteArgs, type StoreMachineStateDeleteExpiredArgs, type StoreMachineStateGetArgs, type StoreMachineStateInfo, type StoreMachineStatePersistArgs, type StoreMachineStatesFindActiveArgs, type UpdateCredentialArgs, type UpdateCredentialArgsWithoutIdentifier, type UpdateCredentialStateArgs, type UpdateDefinitionArgs, type UpdateElectronicAddressArgs, type UpdateIdentityArgs, type UpdatePartyArgs, type UpdatePartyTypeArgs, type UpdatePhysicalAddressArgs, type UpdateRelationshipArgs, type ValidationConstraint, ensureRawDocument };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.data-store-types",
|
|
3
|
-
"version": "0.34.1-feature.SSISDK.82.linkedVP.
|
|
3
|
+
"version": "0.34.1-feature.SSISDK.82.linkedVP.341+483672e1",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"build": "tsup --config ../../tsup.config.ts --tsconfig ../../tsconfig.tsup.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@sphereon/ssi-sdk.core": "0.34.1-feature.SSISDK.82.linkedVP.
|
|
25
|
-
"@sphereon/ssi-types": "0.34.1-feature.SSISDK.82.linkedVP.
|
|
24
|
+
"@sphereon/ssi-sdk.core": "0.34.1-feature.SSISDK.82.linkedVP.341+483672e1",
|
|
25
|
+
"@sphereon/ssi-types": "0.34.1-feature.SSISDK.82.linkedVP.341+483672e1",
|
|
26
26
|
"dcql": "1.0.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-feature.SSISDK.82.linkedVP.
|
|
29
|
+
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-feature.SSISDK.82.linkedVP.341+483672e1"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"PostgreSQL",
|
|
48
48
|
"Contact Store"
|
|
49
49
|
],
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "483672e1d9b2891a346216a0ebea64745561d6ed"
|
|
51
51
|
}
|
|
@@ -30,8 +30,8 @@ export type AddCredentialArgs = {
|
|
|
30
30
|
subjectCorrelationId?: string
|
|
31
31
|
credentialRole: CredentialRole
|
|
32
32
|
linkedVpId?: string
|
|
33
|
-
tenantId?: string
|
|
34
33
|
linkedVpFrom?: Date
|
|
34
|
+
tenantId?: string
|
|
35
35
|
state?: CredentialStateType
|
|
36
36
|
verifiedAt?: Date
|
|
37
37
|
revokedAt?: Date
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CredentialRole } from '@sphereon/ssi-types'
|
|
2
2
|
import { CredentialCorrelationType, CredentialDocumentFormat, CredentialStateType, DocumentType, RegulationType } from './enums'
|
|
3
|
+
import { UpdateCredentialArgs } from './IAbstractDigitalCredentialStore'
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* DigitalCredential
|
|
@@ -40,3 +41,5 @@ export type DigitalCredential = {
|
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
export type NonPersistedDigitalCredential = Omit<DigitalCredential, 'id' | 'regulationType'> & { regulationType?: RegulationType }
|
|
44
|
+
|
|
45
|
+
export type UpdateCredentialArgsWithoutIdentifier = Omit<UpdateCredentialArgs, 'id' | 'hash'>
|