@sphereon/ssi-sdk.data-store 0.18.2-next.9 → 0.18.2-unstable.13
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/LICENSE +201 -201
- package/README.md +77 -77
- package/dist/contact/AbstractContactStore.d.ts +23 -23
- package/dist/contact/AbstractContactStore.js +6 -6
- package/dist/contact/ContactStore.d.ts +32 -32
- package/dist/contact/ContactStore.js +365 -365
- package/dist/entities/contact/BaseConfigEntity.d.ts +6 -6
- package/dist/entities/contact/BaseConfigEntity.js +33 -33
- package/dist/entities/contact/BaseContactEntity.d.ts +9 -9
- package/dist/entities/contact/BaseContactEntity.js +53 -53
- package/dist/entities/contact/ConnectionEntity.d.ts +10 -10
- package/dist/entities/contact/ConnectionEntity.js +46 -46
- package/dist/entities/contact/ContactEntity.d.ts +16 -0
- package/dist/entities/contact/ContactEntity.d.ts.map +1 -0
- package/dist/entities/contact/ContactEntity.js +164 -0
- package/dist/entities/contact/ContactEntity.js.map +1 -0
- package/dist/entities/contact/CorrelationIdentifierEntity.d.ts +10 -10
- package/dist/entities/contact/CorrelationIdentifierEntity.js +71 -71
- package/dist/entities/contact/DidAuthConfigEntity.d.ts +6 -6
- package/dist/entities/contact/DidAuthConfigEntity.js +32 -32
- package/dist/entities/contact/ElectronicAddressEntity.d.ts +13 -13
- package/dist/entities/contact/ElectronicAddressEntity.js +91 -91
- package/dist/entities/contact/IdentityEntity.d.ts +20 -20
- package/dist/entities/contact/IdentityEntity.js +128 -128
- package/dist/entities/contact/IdentityMetadataItemEntity.d.ts +9 -9
- package/dist/entities/contact/IdentityMetadataItemEntity.js +68 -68
- package/dist/entities/contact/NaturalPersonEntity.d.ts +8 -8
- package/dist/entities/contact/NaturalPersonEntity.js +71 -71
- package/dist/entities/contact/OpenIdConfigEntity.d.ts +10 -10
- package/dist/entities/contact/OpenIdConfigEntity.js +48 -48
- package/dist/entities/contact/OrganizationEntity.d.ts +8 -8
- package/dist/entities/contact/OrganizationEntity.js +66 -66
- package/dist/entities/contact/PartyEntity.d.ts +19 -19
- package/dist/entities/contact/PartyEntity.js +131 -131
- package/dist/entities/contact/PartyRelationshipEntity.d.ts +12 -12
- package/dist/entities/contact/PartyRelationshipEntity.js +94 -94
- package/dist/entities/contact/PartyTypeEntity.d.ts +14 -14
- package/dist/entities/contact/PartyTypeEntity.js +103 -103
- package/dist/entities/eventLogger/AuditEventEntity.d.ts +26 -26
- package/dist/entities/eventLogger/AuditEventEntity.js +123 -123
- package/dist/entities/eventLogger/AuditEventEntity.js.map +1 -1
- package/dist/entities/issuanceBranding/BackgroundAttributesEntity.d.ts +10 -10
- package/dist/entities/issuanceBranding/BackgroundAttributesEntity.js +73 -73
- package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.d.ts +17 -17
- package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.js +119 -119
- package/dist/entities/issuanceBranding/CredentialBrandingEntity.d.ts +14 -14
- package/dist/entities/issuanceBranding/CredentialBrandingEntity.js +101 -101
- package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.d.ts +8 -8
- package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.js +48 -48
- package/dist/entities/issuanceBranding/ImageAttributesEntity.d.ts +13 -13
- package/dist/entities/issuanceBranding/ImageAttributesEntity.js +91 -91
- package/dist/entities/issuanceBranding/ImageDimensionsEntity.d.ts +8 -8
- package/dist/entities/issuanceBranding/ImageDimensionsEntity.js +38 -38
- package/dist/entities/issuanceBranding/IssuerBrandingEntity.d.ts +13 -13
- package/dist/entities/issuanceBranding/IssuerBrandingEntity.js +94 -94
- package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.d.ts +8 -8
- package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.js +48 -48
- package/dist/entities/issuanceBranding/TextAttributesEntity.d.ts +8 -8
- package/dist/entities/issuanceBranding/TextAttributesEntity.js +61 -61
- package/dist/entities/statusList2021/StatusList2021Entity.d.ts +18 -18
- package/dist/entities/statusList2021/StatusList2021Entity.js +114 -114
- package/dist/entities/statusList2021/StatusList2021EntryEntity.d.ts +10 -10
- package/dist/entities/statusList2021/StatusList2021EntryEntity.js +50 -50
- package/dist/entities/validators/index.d.ts +6 -6
- package/dist/entities/validators/index.js +26 -26
- package/dist/eventLogger/AbstractEventLoggerStore.d.ts +6 -6
- package/dist/eventLogger/AbstractEventLoggerStore.js +6 -6
- package/dist/eventLogger/EventLoggerStore.d.ts +12 -12
- package/dist/eventLogger/EventLoggerStore.js +43 -43
- package/dist/index.d.ts +41 -41
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +127 -131
- package/dist/index.js.map +1 -1
- package/dist/issuanceBranding/AbstractIssuanceBrandingStore.d.ts +19 -19
- package/dist/issuanceBranding/AbstractIssuanceBrandingStore.js +6 -6
- package/dist/issuanceBranding/IssuanceBrandingStore.d.ts +30 -30
- package/dist/issuanceBranding/IssuanceBrandingStore.js +374 -374
- package/dist/migrations/generic/1-CreateContacts.d.ts +6 -6
- package/dist/migrations/generic/1-CreateContacts.js +77 -77
- package/dist/migrations/generic/1-CreateIssuanceBranding.d.ts +7 -0
- package/dist/migrations/generic/1-CreateIssuanceBranding.d.ts.map +1 -0
- package/dist/migrations/generic/1-CreateIssuanceBranding.js +96 -0
- package/dist/migrations/generic/1-CreateIssuanceBranding.js.map +1 -0
- package/dist/migrations/generic/2-CreateContacts.d.ts +7 -0
- package/dist/migrations/generic/2-CreateContacts.d.ts.map +1 -0
- package/dist/migrations/generic/2-CreateContacts.js +78 -0
- package/dist/migrations/generic/2-CreateContacts.js.map +1 -0
- package/dist/migrations/generic/2-CreateIssuanceBranding.d.ts +6 -6
- package/dist/migrations/generic/2-CreateIssuanceBranding.js +77 -77
- package/dist/migrations/generic/3-CreateContacts.d.ts +6 -6
- package/dist/migrations/generic/3-CreateContacts.js +77 -77
- package/dist/migrations/generic/3-CreateStatusList.d.ts +7 -0
- package/dist/migrations/generic/3-CreateStatusList.d.ts.map +1 -0
- package/dist/migrations/generic/3-CreateStatusList.js +72 -0
- package/dist/migrations/generic/3-CreateStatusList.js.map +1 -0
- package/dist/migrations/generic/4-CreateStatusList.d.ts +6 -6
- package/dist/migrations/generic/4-CreateStatusList.js +71 -71
- package/dist/migrations/generic/5-CreateAuditEvents.d.ts +6 -6
- package/dist/migrations/generic/5-CreateAuditEvents.js +77 -77
- package/dist/migrations/generic/index.d.ts +16 -16
- package/dist/migrations/generic/index.js +27 -27
- package/dist/migrations/index.d.ts +1 -1
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +5 -9
- package/dist/migrations/index.js.map +1 -1
- package/dist/migrations/internal-migrations-ormconfig.d.ts +6 -6
- package/dist/migrations/internal-migrations-ormconfig.js +26 -26
- package/dist/migrations/postgres/1659463079428-CreateContacts.d.ts +6 -6
- package/dist/migrations/postgres/1659463079428-CreateContacts.js +56 -56
- package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.d.ts +6 -6
- package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.js +68 -68
- package/dist/migrations/postgres/1690925872592-CreateContacts.d.ts +6 -6
- package/dist/migrations/postgres/1690925872592-CreateContacts.js +68 -68
- package/dist/migrations/postgres/1693866470001-CreateStatusList.d.ts +6 -6
- package/dist/migrations/postgres/1693866470001-CreateStatusList.js +31 -31
- package/dist/migrations/postgres/1701634812183-CreateAuditEvents.d.ts +6 -6
- package/dist/migrations/postgres/1701634812183-CreateAuditEvents.js +42 -42
- package/dist/migrations/postgres/1701634812183-CreateAuditEvents.js.map +1 -1
- package/dist/migrations/postgres/CreateStatusList1693866470001-CreateStatusList.d.ts +7 -0
- package/dist/migrations/postgres/CreateStatusList1693866470001-CreateStatusList.d.ts.map +1 -0
- package/dist/migrations/postgres/CreateStatusList1693866470001-CreateStatusList.js +32 -0
- package/dist/migrations/postgres/CreateStatusList1693866470001-CreateStatusList.js.map +1 -0
- package/dist/migrations/postgres/uuid.d.ts +3 -0
- package/dist/migrations/postgres/uuid.d.ts.map +1 -0
- package/dist/migrations/postgres/uuid.js +25 -0
- package/dist/migrations/postgres/uuid.js.map +1 -0
- package/dist/migrations/sqlite/1659463069549-CreateContacts.d.ts +6 -6
- package/dist/migrations/sqlite/1659463069549-CreateContacts.js +78 -78
- package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.d.ts +6 -6
- package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.js +88 -88
- package/dist/migrations/sqlite/1690925872693-CreateContacts.d.ts +6 -6
- package/dist/migrations/sqlite/1690925872693-CreateContacts.js +107 -107
- package/dist/migrations/sqlite/1693866470000-CreateStatusList.d.ts +6 -6
- package/dist/migrations/sqlite/1693866470000-CreateStatusList.js +31 -31
- package/dist/migrations/sqlite/1701634819487-CreateAuditEvents.d.ts +6 -6
- package/dist/migrations/sqlite/1701634819487-CreateAuditEvents.js +28 -28
- package/dist/migrations/sqlite/1701634819487-CreateAuditEvents.js.map +1 -1
- package/dist/statusList/IStatusListStore.d.ts +19 -19
- package/dist/statusList/IStatusListStore.js +2 -2
- package/dist/statusList/StatusListStore.d.ts +35 -35
- package/dist/statusList/StatusListStore.js +212 -212
- package/dist/types/contact/IAbstractContactStore.d.ts +74 -74
- package/dist/types/contact/IAbstractContactStore.js +2 -2
- package/dist/types/contact/contact.d.ts +173 -173
- package/dist/types/contact/contact.js +25 -25
- package/dist/types/eventLogger/IAbstractEventLoggerStore.d.ts +9 -9
- package/dist/types/eventLogger/IAbstractEventLoggerStore.js +2 -2
- package/dist/types/eventLogger/eventLogger.d.ts +2 -2
- package/dist/types/eventLogger/eventLogger.js +2 -2
- package/dist/types/index.d.ts +9 -9
- package/dist/types/index.js +25 -25
- package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.d.ts +58 -58
- package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.js +2 -2
- package/dist/types/issuanceBranding/issuanceBranding.d.ts +114 -114
- package/dist/types/issuanceBranding/issuanceBranding.js +2 -2
- package/dist/types/statusList/IAbstractStatusListStore.d.ts +37 -37
- package/dist/types/statusList/IAbstractStatusListStore.js +2 -2
- package/dist/types/statusList/statusList.d.ts +24 -24
- package/dist/types/statusList/statusList.js +2 -2
- package/dist/types/validation/validation.d.ts +3 -3
- package/dist/types/validation/validation.js +2 -2
- package/dist/utils/ValidatorUtils.d.ts +3 -3
- package/dist/utils/ValidatorUtils.js +12 -12
- package/dist/utils/contact/MappingUtils.d.ts +46 -46
- package/dist/utils/contact/MappingUtils.js +290 -290
- package/package.json +4 -4
- package/src/__tests__/eventLogger.entities.test.ts +73 -73
- package/src/__tests__/eventLogger.store.test.ts +136 -136
- package/src/contact/ContactStore.ts +501 -501
- package/src/entities/eventLogger/AuditEventEntity.ts +99 -99
- package/src/entities/statusList2021/StatusList2021Entity.ts +96 -96
- package/src/eventLogger/AbstractEventLoggerStore.ts +7 -7
- package/src/eventLogger/EventLoggerStore.ts +62 -62
- package/src/index.ts +113 -119
- package/src/migrations/generic/1-CreateContacts.ts +66 -66
- package/src/migrations/generic/2-CreateIssuanceBranding.ts +64 -64
- package/src/migrations/generic/3-CreateContacts.ts +66 -66
- package/src/migrations/generic/4-CreateStatusList.ts +54 -54
- package/src/migrations/generic/5-CreateAuditEvents.ts +66 -66
- package/src/migrations/generic/index.ts +27 -27
- package/src/migrations/index.ts +1 -7
- package/src/migrations/postgres/1693866470001-CreateStatusList.ts +24 -24
- package/src/migrations/postgres/1701634812183-CreateAuditEvents.ts +33 -33
- package/src/migrations/sqlite/1690925872693-CreateContacts.ts +163 -163
- package/src/migrations/sqlite/1701634819487-CreateAuditEvents.ts +15 -15
- package/src/types/eventLogger/IAbstractEventLoggerStore.ts +12 -12
- package/src/types/eventLogger/eventLogger.ts +3 -3
- package/src/types/index.ts +9 -9
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
export interface ILocaleBranding {
|
|
2
|
-
id: string;
|
|
3
|
-
alias?: string;
|
|
4
|
-
locale?: string;
|
|
5
|
-
logo?: IImageAttributes;
|
|
6
|
-
description?: string;
|
|
7
|
-
background?: IBackgroundAttributes;
|
|
8
|
-
text?: ITextAttributes;
|
|
9
|
-
createdAt: Date;
|
|
10
|
-
lastUpdatedAt: Date;
|
|
11
|
-
}
|
|
12
|
-
export interface IImageAttributes {
|
|
13
|
-
id: string;
|
|
14
|
-
uri?: string;
|
|
15
|
-
dataUri?: string;
|
|
16
|
-
mediaType?: string;
|
|
17
|
-
alt?: string;
|
|
18
|
-
dimensions?: IImageDimensions;
|
|
19
|
-
}
|
|
20
|
-
export interface IBasicImageAttributes extends Omit<IImageAttributes, 'id' | 'dimensions'> {
|
|
21
|
-
dimensions?: IBasicImageDimensions;
|
|
22
|
-
}
|
|
23
|
-
export interface IPartialImageAttributes extends Partial<Omit<IImageAttributes, 'dimensions'>> {
|
|
24
|
-
dimensions?: IPartialImageDimensions;
|
|
25
|
-
}
|
|
26
|
-
export interface IBackgroundAttributes {
|
|
27
|
-
id: string;
|
|
28
|
-
color?: string;
|
|
29
|
-
image?: IImageAttributes;
|
|
30
|
-
}
|
|
31
|
-
export interface IBasicBackgroundAttributes extends Omit<IBackgroundAttributes, 'id' | 'image'> {
|
|
32
|
-
image?: IBasicImageAttributes;
|
|
33
|
-
}
|
|
34
|
-
export interface IPartialBackgroundAttributes extends Partial<Omit<IBackgroundAttributes, 'image'>> {
|
|
35
|
-
image?: IPartialImageAttributes;
|
|
36
|
-
}
|
|
37
|
-
export interface ITextAttributes {
|
|
38
|
-
id: string;
|
|
39
|
-
color?: string;
|
|
40
|
-
}
|
|
41
|
-
export interface IBasicTextAttributes extends Omit<ITextAttributes, 'id'> {
|
|
42
|
-
}
|
|
43
|
-
export interface IPartialTextAttributes extends Partial<ITextAttributes> {
|
|
44
|
-
}
|
|
45
|
-
export interface IImageDimensions {
|
|
46
|
-
id: string;
|
|
47
|
-
width: number;
|
|
48
|
-
height: number;
|
|
49
|
-
}
|
|
50
|
-
export interface IBasicImageDimensions extends Omit<IImageDimensions, 'id'> {
|
|
51
|
-
}
|
|
52
|
-
export interface IPartialImageDimensions extends Partial<IImageDimensions> {
|
|
53
|
-
}
|
|
54
|
-
export interface ICredentialLocaleBranding extends ILocaleBranding {
|
|
55
|
-
}
|
|
56
|
-
export interface IBasicCredentialLocaleBranding extends Omit<ICredentialLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text'> {
|
|
57
|
-
logo?: IBasicImageAttributes;
|
|
58
|
-
background?: IBasicBackgroundAttributes;
|
|
59
|
-
text?: IBasicTextAttributes;
|
|
60
|
-
}
|
|
61
|
-
export interface IPartialCredentialLocaleBranding extends Partial<Omit<ICredentialLocaleBranding, 'logo' | 'background' | 'text'>> {
|
|
62
|
-
logo?: IPartialImageAttributes;
|
|
63
|
-
background?: IPartialBackgroundAttributes;
|
|
64
|
-
text?: IPartialTextAttributes;
|
|
65
|
-
}
|
|
66
|
-
export interface ICredentialBranding {
|
|
67
|
-
id: string;
|
|
68
|
-
issuerCorrelationId: string;
|
|
69
|
-
vcHash: string;
|
|
70
|
-
localeBranding: Array<ICredentialLocaleBranding>;
|
|
71
|
-
createdAt: Date;
|
|
72
|
-
lastUpdatedAt: Date;
|
|
73
|
-
}
|
|
74
|
-
export interface IBasicCredentialBranding extends Omit<ICredentialBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding'> {
|
|
75
|
-
localeBranding: Array<IBasicCredentialLocaleBranding>;
|
|
76
|
-
}
|
|
77
|
-
export interface IPartialCredentialBranding extends Partial<Omit<ICredentialBranding, 'localeBranding'>> {
|
|
78
|
-
localeBranding?: IPartialCredentialLocaleBranding;
|
|
79
|
-
}
|
|
80
|
-
export interface IIssuerLocaleBranding extends ILocaleBranding {
|
|
81
|
-
}
|
|
82
|
-
export interface IBasicIssuerLocaleBranding extends Omit<IIssuerLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text'> {
|
|
83
|
-
logo?: IBasicImageAttributes;
|
|
84
|
-
background?: IBasicBackgroundAttributes;
|
|
85
|
-
text?: IBasicTextAttributes;
|
|
86
|
-
}
|
|
87
|
-
export interface IPartialIssuerLocaleBranding extends Partial<Omit<IIssuerLocaleBranding, 'logo' | 'background' | 'text'>> {
|
|
88
|
-
logo?: IPartialImageAttributes;
|
|
89
|
-
background?: IPartialBackgroundAttributes;
|
|
90
|
-
text?: IPartialTextAttributes;
|
|
91
|
-
}
|
|
92
|
-
export interface IIssuerBranding {
|
|
93
|
-
id: string;
|
|
94
|
-
issuerCorrelationId: string;
|
|
95
|
-
localeBranding: Array<IIssuerLocaleBranding>;
|
|
96
|
-
createdAt: Date;
|
|
97
|
-
lastUpdatedAt: Date;
|
|
98
|
-
}
|
|
99
|
-
export interface IBasicIssuerBranding extends Omit<IIssuerBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding'> {
|
|
100
|
-
localeBranding: Array<IBasicIssuerLocaleBranding>;
|
|
101
|
-
}
|
|
102
|
-
export interface IPartialIssuerBranding extends Partial<Omit<ICredentialBranding, 'localeBranding'>> {
|
|
103
|
-
localeBranding?: IPartialIssuerLocaleBranding;
|
|
104
|
-
}
|
|
105
|
-
export interface ICredentialBrandingFilter extends IPartialCredentialBranding {
|
|
106
|
-
}
|
|
107
|
-
export interface ICredentialLocaleBrandingFilter extends IPartialCredentialLocaleBranding {
|
|
108
|
-
credentialBranding?: IPartialCredentialBranding;
|
|
109
|
-
}
|
|
110
|
-
export interface IIssuerBrandingFilter extends IPartialIssuerBranding {
|
|
111
|
-
}
|
|
112
|
-
export interface IIssuerLocaleBrandingFilter extends IPartialIssuerLocaleBranding {
|
|
113
|
-
issuerBranding?: IPartialIssuerBranding;
|
|
114
|
-
}
|
|
1
|
+
export interface ILocaleBranding {
|
|
2
|
+
id: string;
|
|
3
|
+
alias?: string;
|
|
4
|
+
locale?: string;
|
|
5
|
+
logo?: IImageAttributes;
|
|
6
|
+
description?: string;
|
|
7
|
+
background?: IBackgroundAttributes;
|
|
8
|
+
text?: ITextAttributes;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
lastUpdatedAt: Date;
|
|
11
|
+
}
|
|
12
|
+
export interface IImageAttributes {
|
|
13
|
+
id: string;
|
|
14
|
+
uri?: string;
|
|
15
|
+
dataUri?: string;
|
|
16
|
+
mediaType?: string;
|
|
17
|
+
alt?: string;
|
|
18
|
+
dimensions?: IImageDimensions;
|
|
19
|
+
}
|
|
20
|
+
export interface IBasicImageAttributes extends Omit<IImageAttributes, 'id' | 'dimensions'> {
|
|
21
|
+
dimensions?: IBasicImageDimensions;
|
|
22
|
+
}
|
|
23
|
+
export interface IPartialImageAttributes extends Partial<Omit<IImageAttributes, 'dimensions'>> {
|
|
24
|
+
dimensions?: IPartialImageDimensions;
|
|
25
|
+
}
|
|
26
|
+
export interface IBackgroundAttributes {
|
|
27
|
+
id: string;
|
|
28
|
+
color?: string;
|
|
29
|
+
image?: IImageAttributes;
|
|
30
|
+
}
|
|
31
|
+
export interface IBasicBackgroundAttributes extends Omit<IBackgroundAttributes, 'id' | 'image'> {
|
|
32
|
+
image?: IBasicImageAttributes;
|
|
33
|
+
}
|
|
34
|
+
export interface IPartialBackgroundAttributes extends Partial<Omit<IBackgroundAttributes, 'image'>> {
|
|
35
|
+
image?: IPartialImageAttributes;
|
|
36
|
+
}
|
|
37
|
+
export interface ITextAttributes {
|
|
38
|
+
id: string;
|
|
39
|
+
color?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface IBasicTextAttributes extends Omit<ITextAttributes, 'id'> {
|
|
42
|
+
}
|
|
43
|
+
export interface IPartialTextAttributes extends Partial<ITextAttributes> {
|
|
44
|
+
}
|
|
45
|
+
export interface IImageDimensions {
|
|
46
|
+
id: string;
|
|
47
|
+
width: number;
|
|
48
|
+
height: number;
|
|
49
|
+
}
|
|
50
|
+
export interface IBasicImageDimensions extends Omit<IImageDimensions, 'id'> {
|
|
51
|
+
}
|
|
52
|
+
export interface IPartialImageDimensions extends Partial<IImageDimensions> {
|
|
53
|
+
}
|
|
54
|
+
export interface ICredentialLocaleBranding extends ILocaleBranding {
|
|
55
|
+
}
|
|
56
|
+
export interface IBasicCredentialLocaleBranding extends Omit<ICredentialLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text'> {
|
|
57
|
+
logo?: IBasicImageAttributes;
|
|
58
|
+
background?: IBasicBackgroundAttributes;
|
|
59
|
+
text?: IBasicTextAttributes;
|
|
60
|
+
}
|
|
61
|
+
export interface IPartialCredentialLocaleBranding extends Partial<Omit<ICredentialLocaleBranding, 'logo' | 'background' | 'text'>> {
|
|
62
|
+
logo?: IPartialImageAttributes;
|
|
63
|
+
background?: IPartialBackgroundAttributes;
|
|
64
|
+
text?: IPartialTextAttributes;
|
|
65
|
+
}
|
|
66
|
+
export interface ICredentialBranding {
|
|
67
|
+
id: string;
|
|
68
|
+
issuerCorrelationId: string;
|
|
69
|
+
vcHash: string;
|
|
70
|
+
localeBranding: Array<ICredentialLocaleBranding>;
|
|
71
|
+
createdAt: Date;
|
|
72
|
+
lastUpdatedAt: Date;
|
|
73
|
+
}
|
|
74
|
+
export interface IBasicCredentialBranding extends Omit<ICredentialBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding'> {
|
|
75
|
+
localeBranding: Array<IBasicCredentialLocaleBranding>;
|
|
76
|
+
}
|
|
77
|
+
export interface IPartialCredentialBranding extends Partial<Omit<ICredentialBranding, 'localeBranding'>> {
|
|
78
|
+
localeBranding?: IPartialCredentialLocaleBranding;
|
|
79
|
+
}
|
|
80
|
+
export interface IIssuerLocaleBranding extends ILocaleBranding {
|
|
81
|
+
}
|
|
82
|
+
export interface IBasicIssuerLocaleBranding extends Omit<IIssuerLocaleBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'logo' | 'background' | 'text'> {
|
|
83
|
+
logo?: IBasicImageAttributes;
|
|
84
|
+
background?: IBasicBackgroundAttributes;
|
|
85
|
+
text?: IBasicTextAttributes;
|
|
86
|
+
}
|
|
87
|
+
export interface IPartialIssuerLocaleBranding extends Partial<Omit<IIssuerLocaleBranding, 'logo' | 'background' | 'text'>> {
|
|
88
|
+
logo?: IPartialImageAttributes;
|
|
89
|
+
background?: IPartialBackgroundAttributes;
|
|
90
|
+
text?: IPartialTextAttributes;
|
|
91
|
+
}
|
|
92
|
+
export interface IIssuerBranding {
|
|
93
|
+
id: string;
|
|
94
|
+
issuerCorrelationId: string;
|
|
95
|
+
localeBranding: Array<IIssuerLocaleBranding>;
|
|
96
|
+
createdAt: Date;
|
|
97
|
+
lastUpdatedAt: Date;
|
|
98
|
+
}
|
|
99
|
+
export interface IBasicIssuerBranding extends Omit<IIssuerBranding, 'id' | 'createdAt' | 'lastUpdatedAt' | 'localeBranding'> {
|
|
100
|
+
localeBranding: Array<IBasicIssuerLocaleBranding>;
|
|
101
|
+
}
|
|
102
|
+
export interface IPartialIssuerBranding extends Partial<Omit<ICredentialBranding, 'localeBranding'>> {
|
|
103
|
+
localeBranding?: IPartialIssuerLocaleBranding;
|
|
104
|
+
}
|
|
105
|
+
export interface ICredentialBrandingFilter extends IPartialCredentialBranding {
|
|
106
|
+
}
|
|
107
|
+
export interface ICredentialLocaleBrandingFilter extends IPartialCredentialLocaleBranding {
|
|
108
|
+
credentialBranding?: IPartialCredentialBranding;
|
|
109
|
+
}
|
|
110
|
+
export interface IIssuerBrandingFilter extends IPartialIssuerBranding {
|
|
111
|
+
}
|
|
112
|
+
export interface IIssuerLocaleBrandingFilter extends IPartialIssuerLocaleBranding {
|
|
113
|
+
issuerBranding?: IPartialIssuerBranding;
|
|
114
|
+
}
|
|
115
115
|
//# sourceMappingURL=issuanceBranding.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=issuanceBranding.js.map
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { FindOptionsWhere } from 'typeorm';
|
|
2
|
-
import { IStatusListEntity, IStatusListEntryEntity } from './statusList';
|
|
3
|
-
export type FindStatusListArgs = FindOptionsWhere<IStatusListEntity>[];
|
|
4
|
-
export type FindStatusListEntryArgs = FindOptionsWhere<IStatusListEntryEntity>[] | FindOptionsWhere<IStatusListEntryEntity>;
|
|
5
|
-
export interface IStatusListEntryAvailableArgs {
|
|
6
|
-
statusListId?: string;
|
|
7
|
-
correlationId?: string;
|
|
8
|
-
statusListIndex: number | number[];
|
|
9
|
-
}
|
|
10
|
-
export interface IGetStatusListEntryByIndexArgs {
|
|
11
|
-
statusListId?: string;
|
|
12
|
-
correlationId?: string;
|
|
13
|
-
statusListIndex: number;
|
|
14
|
-
errorOnNotFound?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface IGetStatusListEntryByCredentialIdArgs {
|
|
17
|
-
statusListId?: string;
|
|
18
|
-
statusListCorrelationId?: string;
|
|
19
|
-
entryCorrelationId?: string;
|
|
20
|
-
credentialId: string;
|
|
21
|
-
errorOnNotFound?: boolean;
|
|
22
|
-
}
|
|
23
|
-
export interface IGetStatusListEntriesArgs {
|
|
24
|
-
statusListId: string;
|
|
25
|
-
filter?: FindStatusListEntryArgs;
|
|
26
|
-
}
|
|
27
|
-
export type IAddStatusListEntryArgs = IStatusListEntryEntity;
|
|
28
|
-
export interface IGetStatusListArgs {
|
|
29
|
-
id?: string;
|
|
30
|
-
correlationId?: string;
|
|
31
|
-
}
|
|
32
|
-
export type IRemoveStatusListArgs = IGetStatusListArgs;
|
|
33
|
-
export interface IGetStatusListsArgs {
|
|
34
|
-
filter?: FindStatusListArgs;
|
|
35
|
-
}
|
|
36
|
-
export type IAddStatusListArgs = IStatusListEntity;
|
|
37
|
-
export type IUpdateStatusListIndexArgs = IStatusListEntity;
|
|
1
|
+
import { FindOptionsWhere } from 'typeorm';
|
|
2
|
+
import { IStatusListEntity, IStatusListEntryEntity } from './statusList';
|
|
3
|
+
export type FindStatusListArgs = FindOptionsWhere<IStatusListEntity>[];
|
|
4
|
+
export type FindStatusListEntryArgs = FindOptionsWhere<IStatusListEntryEntity>[] | FindOptionsWhere<IStatusListEntryEntity>;
|
|
5
|
+
export interface IStatusListEntryAvailableArgs {
|
|
6
|
+
statusListId?: string;
|
|
7
|
+
correlationId?: string;
|
|
8
|
+
statusListIndex: number | number[];
|
|
9
|
+
}
|
|
10
|
+
export interface IGetStatusListEntryByIndexArgs {
|
|
11
|
+
statusListId?: string;
|
|
12
|
+
correlationId?: string;
|
|
13
|
+
statusListIndex: number;
|
|
14
|
+
errorOnNotFound?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface IGetStatusListEntryByCredentialIdArgs {
|
|
17
|
+
statusListId?: string;
|
|
18
|
+
statusListCorrelationId?: string;
|
|
19
|
+
entryCorrelationId?: string;
|
|
20
|
+
credentialId: string;
|
|
21
|
+
errorOnNotFound?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface IGetStatusListEntriesArgs {
|
|
24
|
+
statusListId: string;
|
|
25
|
+
filter?: FindStatusListEntryArgs;
|
|
26
|
+
}
|
|
27
|
+
export type IAddStatusListEntryArgs = IStatusListEntryEntity;
|
|
28
|
+
export interface IGetStatusListArgs {
|
|
29
|
+
id?: string;
|
|
30
|
+
correlationId?: string;
|
|
31
|
+
}
|
|
32
|
+
export type IRemoveStatusListArgs = IGetStatusListArgs;
|
|
33
|
+
export interface IGetStatusListsArgs {
|
|
34
|
+
filter?: FindStatusListArgs;
|
|
35
|
+
}
|
|
36
|
+
export type IAddStatusListArgs = IStatusListEntity;
|
|
37
|
+
export type IUpdateStatusListIndexArgs = IStatusListEntity;
|
|
38
38
|
//# sourceMappingURL=IAbstractStatusListStore.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=IAbstractStatusListStore.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { IIssuer, OriginalVerifiableCredential, StatusListCredentialIdMode, StatusListDriverType, StatusListIndexingDirection, StatusListType, StatusPurpose2021 } from '@sphereon/ssi-types';
|
|
2
|
-
import { ProofFormat } from '@veramo/core';
|
|
3
|
-
import { StatusListEntity } from '../../entities/statusList2021/StatusList2021Entity';
|
|
4
|
-
export interface IStatusListEntity {
|
|
5
|
-
id: string;
|
|
6
|
-
correlationId: string;
|
|
7
|
-
driverType: StatusListDriverType;
|
|
8
|
-
credentialIdMode: StatusListCredentialIdMode;
|
|
9
|
-
length: number;
|
|
10
|
-
issuer: string | IIssuer;
|
|
11
|
-
type: StatusListType;
|
|
12
|
-
proofFormat: ProofFormat;
|
|
13
|
-
indexingDirection: StatusListIndexingDirection;
|
|
14
|
-
statusPurpose: StatusPurpose2021;
|
|
15
|
-
statusListCredential?: OriginalVerifiableCredential;
|
|
16
|
-
}
|
|
17
|
-
export interface IStatusListEntryEntity {
|
|
18
|
-
statusList: StatusListEntity | string;
|
|
19
|
-
value?: string;
|
|
20
|
-
statusListIndex: number;
|
|
21
|
-
credentialHash?: string;
|
|
22
|
-
credentialId?: string;
|
|
23
|
-
correlationId?: string;
|
|
24
|
-
}
|
|
1
|
+
import { IIssuer, OriginalVerifiableCredential, StatusListCredentialIdMode, StatusListDriverType, StatusListIndexingDirection, StatusListType, StatusPurpose2021 } from '@sphereon/ssi-types';
|
|
2
|
+
import { ProofFormat } from '@veramo/core';
|
|
3
|
+
import { StatusListEntity } from '../../entities/statusList2021/StatusList2021Entity';
|
|
4
|
+
export interface IStatusListEntity {
|
|
5
|
+
id: string;
|
|
6
|
+
correlationId: string;
|
|
7
|
+
driverType: StatusListDriverType;
|
|
8
|
+
credentialIdMode: StatusListCredentialIdMode;
|
|
9
|
+
length: number;
|
|
10
|
+
issuer: string | IIssuer;
|
|
11
|
+
type: StatusListType;
|
|
12
|
+
proofFormat: ProofFormat;
|
|
13
|
+
indexingDirection: StatusListIndexingDirection;
|
|
14
|
+
statusPurpose: StatusPurpose2021;
|
|
15
|
+
statusListCredential?: OriginalVerifiableCredential;
|
|
16
|
+
}
|
|
17
|
+
export interface IStatusListEntryEntity {
|
|
18
|
+
statusList: StatusListEntity | string;
|
|
19
|
+
value?: string;
|
|
20
|
+
statusListIndex: number;
|
|
21
|
+
credentialHash?: string;
|
|
22
|
+
credentialId?: string;
|
|
23
|
+
correlationId?: string;
|
|
24
|
+
}
|
|
25
25
|
//# sourceMappingURL=statusList.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=statusList.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ValidationConstraint = {
|
|
2
|
-
[x: string]: string;
|
|
3
|
-
};
|
|
1
|
+
export type ValidationConstraint = {
|
|
2
|
+
[x: string]: string;
|
|
3
|
+
};
|
|
4
4
|
//# sourceMappingURL=validation.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=validation.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValidationError } from 'class-validator';
|
|
2
|
-
import { ValidationConstraint } from '../types';
|
|
3
|
-
export declare const getConstraint: (validation: ValidationError) => ValidationConstraint | undefined;
|
|
1
|
+
import { ValidationError } from 'class-validator';
|
|
2
|
+
import { ValidationConstraint } from '../types';
|
|
3
|
+
export declare const getConstraint: (validation: ValidationError) => ValidationConstraint | undefined;
|
|
4
4
|
//# sourceMappingURL=ValidatorUtils.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getConstraint = void 0;
|
|
4
|
-
const getConstraint = (validation) => {
|
|
5
|
-
if (validation.children && validation.children.length > 0) {
|
|
6
|
-
return (0, exports.getConstraint)(validation.children[0]);
|
|
7
|
-
}
|
|
8
|
-
else {
|
|
9
|
-
return validation.constraints;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
exports.getConstraint = getConstraint;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getConstraint = void 0;
|
|
4
|
+
const getConstraint = (validation) => {
|
|
5
|
+
if (validation.children && validation.children.length > 0) {
|
|
6
|
+
return (0, exports.getConstraint)(validation.children[0]);
|
|
7
|
+
}
|
|
8
|
+
else {
|
|
9
|
+
return validation.constraints;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
exports.getConstraint = getConstraint;
|
|
13
13
|
//# sourceMappingURL=ValidatorUtils.js.map
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { Connection, ConnectionConfig, Contact, CorrelationIdentifier, DidAuthConfig, ElectronicAddress, Identity, MetadataItem, NaturalPerson, NonPersistedConnection, NonPersistedConnectionConfig, NonPersistedContact, NonPersistedCorrelationIdentifier, NonPersistedDidAuthConfig, NonPersistedElectronicAddress, NonPersistedIdentity, NonPersistedMetadataItem, NonPersistedNaturalPerson, NonPersistedOpenIdConfig, NonPersistedOrganization, NonPersistedParty, NonPersistedPartyRelationship, NonPersistedPartyType, OpenIdConfig, Organization, Party, PartyRelationship, PartyType } from '../../types';
|
|
2
|
-
import { PartyEntity } from '../../entities/contact/PartyEntity';
|
|
3
|
-
import { IdentityEntity } from '../../entities/contact/IdentityEntity';
|
|
4
|
-
import { ElectronicAddressEntity } from '../../entities/contact/ElectronicAddressEntity';
|
|
5
|
-
import { PartyRelationshipEntity } from '../../entities/contact/PartyRelationshipEntity';
|
|
6
|
-
import { BaseContactEntity } from '../../entities/contact/BaseContactEntity';
|
|
7
|
-
import { NaturalPersonEntity } from '../../entities/contact/NaturalPersonEntity';
|
|
8
|
-
import { OrganizationEntity } from '../../entities/contact/OrganizationEntity';
|
|
9
|
-
import { ConnectionEntity } from '../../entities/contact/ConnectionEntity';
|
|
10
|
-
import { BaseConfigEntity } from '../../entities/contact/BaseConfigEntity';
|
|
11
|
-
import { CorrelationIdentifierEntity } from '../../entities/contact/CorrelationIdentifierEntity';
|
|
12
|
-
import { DidAuthConfigEntity } from '../../entities/contact/DidAuthConfigEntity';
|
|
13
|
-
import { IdentityMetadataItemEntity } from '../../entities/contact/IdentityMetadataItemEntity';
|
|
14
|
-
import { OpenIdConfigEntity } from '../../entities/contact/OpenIdConfigEntity';
|
|
15
|
-
import { PartyTypeEntity } from '../../entities/contact/PartyTypeEntity';
|
|
16
|
-
export declare const partyEntityFrom: (party: NonPersistedParty) => PartyEntity;
|
|
17
|
-
export declare const partyFrom: (party: PartyEntity) => Party;
|
|
18
|
-
export declare const contactEntityFrom: (contact: NonPersistedContact) => BaseContactEntity;
|
|
19
|
-
export declare const contactFrom: (contact: BaseContactEntity) => Contact;
|
|
20
|
-
export declare const isNaturalPerson: (contact: NonPersistedContact | BaseContactEntity) => contact is NonPersistedNaturalPerson | NaturalPersonEntity;
|
|
21
|
-
export declare const isOrganization: (contact: NonPersistedContact | BaseContactEntity) => contact is NonPersistedOrganization | OrganizationEntity;
|
|
22
|
-
export declare const connectionEntityFrom: (connection: NonPersistedConnection) => ConnectionEntity;
|
|
23
|
-
export declare const connectionFrom: (connection: ConnectionEntity) => Connection;
|
|
24
|
-
export declare const correlationIdentifierEntityFrom: (identifier: NonPersistedCorrelationIdentifier) => CorrelationIdentifierEntity;
|
|
25
|
-
export declare const correlationIdentifierFrom: (identifier: CorrelationIdentifierEntity) => CorrelationIdentifier;
|
|
26
|
-
export declare const didAuthConfigEntityFrom: (config: NonPersistedDidAuthConfig) => DidAuthConfigEntity;
|
|
27
|
-
export declare const electronicAddressEntityFrom: (electronicAddress: NonPersistedElectronicAddress) => ElectronicAddressEntity;
|
|
28
|
-
export declare const electronicAddressFrom: (electronicAddress: ElectronicAddressEntity) => ElectronicAddress;
|
|
29
|
-
export declare const identityEntityFrom: (args: NonPersistedIdentity) => IdentityEntity;
|
|
30
|
-
export declare const identityFrom: (identity: IdentityEntity) => Identity;
|
|
31
|
-
export declare const metadataItemEntityFrom: (item: NonPersistedMetadataItem) => IdentityMetadataItemEntity;
|
|
32
|
-
export declare const metadataItemFrom: (item: IdentityMetadataItemEntity) => MetadataItem;
|
|
33
|
-
export declare const naturalPersonEntityFrom: (naturalPerson: NonPersistedNaturalPerson) => NaturalPersonEntity;
|
|
34
|
-
export declare const naturalPersonFrom: (naturalPerson: NaturalPersonEntity) => NaturalPerson;
|
|
35
|
-
export declare const openIdConfigEntityFrom: (config: NonPersistedOpenIdConfig) => OpenIdConfigEntity;
|
|
36
|
-
export declare const organizationEntityFrom: (organization: NonPersistedOrganization) => OrganizationEntity;
|
|
37
|
-
export declare const organizationFrom: (organization: OrganizationEntity) => Organization;
|
|
38
|
-
export declare const partyRelationshipEntityFrom: (relationship: NonPersistedPartyRelationship) => PartyRelationshipEntity;
|
|
39
|
-
export declare const partyRelationshipFrom: (relationship: PartyRelationshipEntity) => PartyRelationship;
|
|
40
|
-
export declare const partyTypeEntityFrom: (args: NonPersistedPartyType) => PartyTypeEntity;
|
|
41
|
-
export declare const partyTypeFrom: (partyType: PartyTypeEntity) => PartyType;
|
|
42
|
-
export declare const configFrom: (config: BaseConfigEntity) => ConnectionConfig;
|
|
43
|
-
export declare const openIdConfigFrom: (config: OpenIdConfigEntity) => OpenIdConfig;
|
|
44
|
-
export declare const didAuthConfigFrom: (config: DidAuthConfigEntity) => DidAuthConfig;
|
|
45
|
-
export declare const isOpenIdConfig: (config: NonPersistedConnectionConfig | BaseConfigEntity) => config is OpenIdConfig | OpenIdConfigEntity;
|
|
46
|
-
export declare const isDidAuthConfig: (config: NonPersistedConnectionConfig | BaseConfigEntity) => config is DidAuthConfig | DidAuthConfigEntity;
|
|
1
|
+
import { Connection, ConnectionConfig, Contact, CorrelationIdentifier, DidAuthConfig, ElectronicAddress, Identity, MetadataItem, NaturalPerson, NonPersistedConnection, NonPersistedConnectionConfig, NonPersistedContact, NonPersistedCorrelationIdentifier, NonPersistedDidAuthConfig, NonPersistedElectronicAddress, NonPersistedIdentity, NonPersistedMetadataItem, NonPersistedNaturalPerson, NonPersistedOpenIdConfig, NonPersistedOrganization, NonPersistedParty, NonPersistedPartyRelationship, NonPersistedPartyType, OpenIdConfig, Organization, Party, PartyRelationship, PartyType } from '../../types';
|
|
2
|
+
import { PartyEntity } from '../../entities/contact/PartyEntity';
|
|
3
|
+
import { IdentityEntity } from '../../entities/contact/IdentityEntity';
|
|
4
|
+
import { ElectronicAddressEntity } from '../../entities/contact/ElectronicAddressEntity';
|
|
5
|
+
import { PartyRelationshipEntity } from '../../entities/contact/PartyRelationshipEntity';
|
|
6
|
+
import { BaseContactEntity } from '../../entities/contact/BaseContactEntity';
|
|
7
|
+
import { NaturalPersonEntity } from '../../entities/contact/NaturalPersonEntity';
|
|
8
|
+
import { OrganizationEntity } from '../../entities/contact/OrganizationEntity';
|
|
9
|
+
import { ConnectionEntity } from '../../entities/contact/ConnectionEntity';
|
|
10
|
+
import { BaseConfigEntity } from '../../entities/contact/BaseConfigEntity';
|
|
11
|
+
import { CorrelationIdentifierEntity } from '../../entities/contact/CorrelationIdentifierEntity';
|
|
12
|
+
import { DidAuthConfigEntity } from '../../entities/contact/DidAuthConfigEntity';
|
|
13
|
+
import { IdentityMetadataItemEntity } from '../../entities/contact/IdentityMetadataItemEntity';
|
|
14
|
+
import { OpenIdConfigEntity } from '../../entities/contact/OpenIdConfigEntity';
|
|
15
|
+
import { PartyTypeEntity } from '../../entities/contact/PartyTypeEntity';
|
|
16
|
+
export declare const partyEntityFrom: (party: NonPersistedParty) => PartyEntity;
|
|
17
|
+
export declare const partyFrom: (party: PartyEntity) => Party;
|
|
18
|
+
export declare const contactEntityFrom: (contact: NonPersistedContact) => BaseContactEntity;
|
|
19
|
+
export declare const contactFrom: (contact: BaseContactEntity) => Contact;
|
|
20
|
+
export declare const isNaturalPerson: (contact: NonPersistedContact | BaseContactEntity) => contact is NonPersistedNaturalPerson | NaturalPersonEntity;
|
|
21
|
+
export declare const isOrganization: (contact: NonPersistedContact | BaseContactEntity) => contact is NonPersistedOrganization | OrganizationEntity;
|
|
22
|
+
export declare const connectionEntityFrom: (connection: NonPersistedConnection) => ConnectionEntity;
|
|
23
|
+
export declare const connectionFrom: (connection: ConnectionEntity) => Connection;
|
|
24
|
+
export declare const correlationIdentifierEntityFrom: (identifier: NonPersistedCorrelationIdentifier) => CorrelationIdentifierEntity;
|
|
25
|
+
export declare const correlationIdentifierFrom: (identifier: CorrelationIdentifierEntity) => CorrelationIdentifier;
|
|
26
|
+
export declare const didAuthConfigEntityFrom: (config: NonPersistedDidAuthConfig) => DidAuthConfigEntity;
|
|
27
|
+
export declare const electronicAddressEntityFrom: (electronicAddress: NonPersistedElectronicAddress) => ElectronicAddressEntity;
|
|
28
|
+
export declare const electronicAddressFrom: (electronicAddress: ElectronicAddressEntity) => ElectronicAddress;
|
|
29
|
+
export declare const identityEntityFrom: (args: NonPersistedIdentity) => IdentityEntity;
|
|
30
|
+
export declare const identityFrom: (identity: IdentityEntity) => Identity;
|
|
31
|
+
export declare const metadataItemEntityFrom: (item: NonPersistedMetadataItem) => IdentityMetadataItemEntity;
|
|
32
|
+
export declare const metadataItemFrom: (item: IdentityMetadataItemEntity) => MetadataItem;
|
|
33
|
+
export declare const naturalPersonEntityFrom: (naturalPerson: NonPersistedNaturalPerson) => NaturalPersonEntity;
|
|
34
|
+
export declare const naturalPersonFrom: (naturalPerson: NaturalPersonEntity) => NaturalPerson;
|
|
35
|
+
export declare const openIdConfigEntityFrom: (config: NonPersistedOpenIdConfig) => OpenIdConfigEntity;
|
|
36
|
+
export declare const organizationEntityFrom: (organization: NonPersistedOrganization) => OrganizationEntity;
|
|
37
|
+
export declare const organizationFrom: (organization: OrganizationEntity) => Organization;
|
|
38
|
+
export declare const partyRelationshipEntityFrom: (relationship: NonPersistedPartyRelationship) => PartyRelationshipEntity;
|
|
39
|
+
export declare const partyRelationshipFrom: (relationship: PartyRelationshipEntity) => PartyRelationship;
|
|
40
|
+
export declare const partyTypeEntityFrom: (args: NonPersistedPartyType) => PartyTypeEntity;
|
|
41
|
+
export declare const partyTypeFrom: (partyType: PartyTypeEntity) => PartyType;
|
|
42
|
+
export declare const configFrom: (config: BaseConfigEntity) => ConnectionConfig;
|
|
43
|
+
export declare const openIdConfigFrom: (config: OpenIdConfigEntity) => OpenIdConfig;
|
|
44
|
+
export declare const didAuthConfigFrom: (config: DidAuthConfigEntity) => DidAuthConfig;
|
|
45
|
+
export declare const isOpenIdConfig: (config: NonPersistedConnectionConfig | BaseConfigEntity) => config is OpenIdConfig | OpenIdConfigEntity;
|
|
46
|
+
export declare const isDidAuthConfig: (config: NonPersistedConnectionConfig | BaseConfigEntity) => config is DidAuthConfig | DidAuthConfigEntity;
|
|
47
47
|
//# sourceMappingURL=MappingUtils.d.ts.map
|