@sphereon/ssi-sdk.data-store 0.33.1-next.2 → 0.33.1-next.68

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 (504) hide show
  1. package/dist/index.cjs +9052 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +1730 -0
  4. package/dist/index.d.ts +1730 -63
  5. package/dist/index.js +9019 -167
  6. package/dist/index.js.map +1 -1
  7. package/package.json +26 -15
  8. package/src/__tests__/contact.entities.test.ts +1 -1
  9. package/src/__tests__/contact.store.test.ts +2 -1
  10. package/src/__tests__/digitalCredential.entities.test.ts +1 -0
  11. package/src/__tests__/digitalCredential.store.test.ts +2 -1
  12. package/src/__tests__/eventLogger.entities.test.ts +2 -1
  13. package/src/__tests__/eventLogger.store.test.ts +2 -1
  14. package/src/__tests__/issuanceBranding.entities.test.ts +8 -7
  15. package/src/__tests__/issuanceBranding.store.test.ts +1 -0
  16. package/src/__tests__/machineState.entities.test.ts +2 -1
  17. package/src/__tests__/machineState.store.test.ts +2 -1
  18. package/src/__tests__/pd-manager.entities.test.ts +1 -0
  19. package/src/__tests__/pd-manager.store.test.ts +1 -0
  20. package/src/__tests__/statusList.entities.test.ts +1 -0
  21. package/src/__tests__/statusList.store.test.ts +2 -1
  22. package/src/contact/ContactStore.ts +1 -1
  23. package/src/digitalCredential/DigitalCredentialStore.ts +3 -7
  24. package/src/entities/contact/BaseConfigEntity.ts +2 -1
  25. package/src/entities/contact/BaseContactEntity.ts +3 -2
  26. package/src/entities/contact/ConnectionEntity.ts +2 -1
  27. package/src/entities/contact/ContactMetadataItemEntity.ts +2 -1
  28. package/src/entities/contact/CorrelationIdentifierEntity.ts +2 -1
  29. package/src/entities/contact/DidAuthConfigEntity.ts +2 -1
  30. package/src/entities/contact/ElectronicAddressEntity.ts +3 -12
  31. package/src/entities/contact/PhysicalAddressEntity.ts +1 -1
  32. package/src/entities/digitalCredential/DigitalCredentialEntity.ts +1 -1
  33. package/src/entities/eventLogger/AuditEventEntity.ts +10 -1
  34. package/src/entities/issuanceBranding/BaseLocaleBrandingEntity.ts +3 -2
  35. package/src/entities/statusList/StatusListEntities.ts +8 -7
  36. package/src/entities/validators/index.ts +1 -1
  37. package/src/eventLogger/AbstractEventLoggerStore.ts +2 -2
  38. package/src/eventLogger/EventLoggerStore.ts +3 -3
  39. package/src/index.ts +4 -3
  40. package/src/issuanceBranding/AbstractIssuanceBrandingStore.ts +1 -1
  41. package/src/issuanceBranding/IssuanceBrandingStore.ts +3 -3
  42. package/src/machineState/IAbstractMachineStateStore.ts +1 -1
  43. package/src/machineState/MachineStateStore.ts +3 -3
  44. package/src/migrations/internal-migrations-ormconfig.ts +1 -1
  45. package/src/presentationDefinition/AbstractPDStore.ts +1 -1
  46. package/src/presentationDefinition/PDStore.ts +2 -2
  47. package/src/statusList/IStatusListStore.ts +1 -1
  48. package/src/statusList/StatusListStore.ts +4 -4
  49. package/src/types/contact/contact.ts +1 -1
  50. package/src/types/contact/index.ts +2 -0
  51. package/src/types/digitalCredential/IAbstractDigitalCredentialStore.ts +2 -1
  52. package/src/types/digitalCredential/{digitalCredential.ts → enums.ts} +0 -33
  53. package/src/types/digitalCredential/index.ts +3 -0
  54. package/src/types/digitalCredential/types.ts +39 -0
  55. package/src/types/index.ts +2 -2
  56. package/src/types/statusList/statusList.ts +2 -2
  57. package/src/utils/SortingUtils.ts +1 -1
  58. package/src/utils/ValidatorUtils.ts +1 -1
  59. package/src/utils/contact/MappingUtils.ts +1 -1
  60. package/src/utils/digitalCredential/MappingUtils.ts +7 -13
  61. package/src/utils/eventLogger/MappingUtils.ts +2 -2
  62. package/src/utils/issuanceBranding/MappingUtils.ts +1 -1
  63. package/src/utils/presentationDefinition/MappingUtils.ts +5 -5
  64. package/dist/contact/AbstractContactStore.d.ts +0 -34
  65. package/dist/contact/AbstractContactStore.d.ts.map +0 -1
  66. package/dist/contact/AbstractContactStore.js +0 -7
  67. package/dist/contact/AbstractContactStore.js.map +0 -1
  68. package/dist/contact/ContactStore.d.ts +0 -48
  69. package/dist/contact/ContactStore.d.ts.map +0 -1
  70. package/dist/contact/ContactStore.js +0 -573
  71. package/dist/contact/ContactStore.js.map +0 -1
  72. package/dist/digitalCredential/AbstractDigitalCredentialStore.d.ts +0 -9
  73. package/dist/digitalCredential/AbstractDigitalCredentialStore.d.ts.map +0 -1
  74. package/dist/digitalCredential/AbstractDigitalCredentialStore.js +0 -7
  75. package/dist/digitalCredential/AbstractDigitalCredentialStore.js.map +0 -1
  76. package/dist/digitalCredential/DigitalCredentialStore.d.ts +0 -18
  77. package/dist/digitalCredential/DigitalCredentialStore.d.ts.map +0 -1
  78. package/dist/digitalCredential/DigitalCredentialStore.js +0 -165
  79. package/dist/digitalCredential/DigitalCredentialStore.js.map +0 -1
  80. package/dist/entities/contact/BaseConfigEntity.d.ts +0 -7
  81. package/dist/entities/contact/BaseConfigEntity.d.ts.map +0 -1
  82. package/dist/entities/contact/BaseConfigEntity.js +0 -34
  83. package/dist/entities/contact/BaseConfigEntity.js.map +0 -1
  84. package/dist/entities/contact/BaseContactEntity.d.ts +0 -12
  85. package/dist/entities/contact/BaseContactEntity.d.ts.map +0 -1
  86. package/dist/entities/contact/BaseContactEntity.js +0 -64
  87. package/dist/entities/contact/BaseContactEntity.js.map +0 -1
  88. package/dist/entities/contact/ConnectionEntity.d.ts +0 -13
  89. package/dist/entities/contact/ConnectionEntity.d.ts.map +0 -1
  90. package/dist/entities/contact/ConnectionEntity.js +0 -55
  91. package/dist/entities/contact/ConnectionEntity.js.map +0 -1
  92. package/dist/entities/contact/ContactMetadataItemEntity.d.ts +0 -15
  93. package/dist/entities/contact/ContactMetadataItemEntity.d.ts.map +0 -1
  94. package/dist/entities/contact/ContactMetadataItemEntity.js +0 -89
  95. package/dist/entities/contact/ContactMetadataItemEntity.js.map +0 -1
  96. package/dist/entities/contact/CorrelationIdentifierEntity.d.ts +0 -13
  97. package/dist/entities/contact/CorrelationIdentifierEntity.d.ts.map +0 -1
  98. package/dist/entities/contact/CorrelationIdentifierEntity.js +0 -80
  99. package/dist/entities/contact/CorrelationIdentifierEntity.js.map +0 -1
  100. package/dist/entities/contact/DidAuthConfigEntity.d.ts +0 -9
  101. package/dist/entities/contact/DidAuthConfigEntity.d.ts.map +0 -1
  102. package/dist/entities/contact/DidAuthConfigEntity.js +0 -41
  103. package/dist/entities/contact/DidAuthConfigEntity.js.map +0 -1
  104. package/dist/entities/contact/ElectronicAddressEntity.d.ts +0 -17
  105. package/dist/entities/contact/ElectronicAddressEntity.d.ts.map +0 -1
  106. package/dist/entities/contact/ElectronicAddressEntity.js +0 -105
  107. package/dist/entities/contact/ElectronicAddressEntity.js.map +0 -1
  108. package/dist/entities/contact/IdentityEntity.d.ts +0 -24
  109. package/dist/entities/contact/IdentityEntity.d.ts.map +0 -1
  110. package/dist/entities/contact/IdentityEntity.js +0 -143
  111. package/dist/entities/contact/IdentityEntity.js.map +0 -1
  112. package/dist/entities/contact/IdentityMetadataItemEntity.d.ts +0 -15
  113. package/dist/entities/contact/IdentityMetadataItemEntity.d.ts.map +0 -1
  114. package/dist/entities/contact/IdentityMetadataItemEntity.js +0 -86
  115. package/dist/entities/contact/IdentityMetadataItemEntity.js.map +0 -1
  116. package/dist/entities/contact/NaturalPersonEntity.d.ts +0 -11
  117. package/dist/entities/contact/NaturalPersonEntity.d.ts.map +0 -1
  118. package/dist/entities/contact/NaturalPersonEntity.js +0 -80
  119. package/dist/entities/contact/NaturalPersonEntity.js.map +0 -1
  120. package/dist/entities/contact/OpenIdConfigEntity.d.ts +0 -13
  121. package/dist/entities/contact/OpenIdConfigEntity.d.ts.map +0 -1
  122. package/dist/entities/contact/OpenIdConfigEntity.js +0 -57
  123. package/dist/entities/contact/OpenIdConfigEntity.js.map +0 -1
  124. package/dist/entities/contact/OrganizationEntity.d.ts +0 -9
  125. package/dist/entities/contact/OrganizationEntity.d.ts.map +0 -1
  126. package/dist/entities/contact/OrganizationEntity.js +0 -69
  127. package/dist/entities/contact/OrganizationEntity.js.map +0 -1
  128. package/dist/entities/contact/PartyEntity.d.ts +0 -24
  129. package/dist/entities/contact/PartyEntity.d.ts.map +0 -1
  130. package/dist/entities/contact/PartyEntity.js +0 -152
  131. package/dist/entities/contact/PartyEntity.js.map +0 -1
  132. package/dist/entities/contact/PartyRelationshipEntity.d.ts +0 -15
  133. package/dist/entities/contact/PartyRelationshipEntity.d.ts.map +0 -1
  134. package/dist/entities/contact/PartyRelationshipEntity.js +0 -104
  135. package/dist/entities/contact/PartyRelationshipEntity.js.map +0 -1
  136. package/dist/entities/contact/PartyTypeEntity.d.ts +0 -16
  137. package/dist/entities/contact/PartyTypeEntity.d.ts.map +0 -1
  138. package/dist/entities/contact/PartyTypeEntity.js +0 -109
  139. package/dist/entities/contact/PartyTypeEntity.js.map +0 -1
  140. package/dist/entities/contact/PhysicalAddressEntity.d.ts +0 -23
  141. package/dist/entities/contact/PhysicalAddressEntity.d.ts.map +0 -1
  142. package/dist/entities/contact/PhysicalAddressEntity.js +0 -136
  143. package/dist/entities/contact/PhysicalAddressEntity.js.map +0 -1
  144. package/dist/entities/digitalCredential/DigitalCredentialEntity.d.ts +0 -33
  145. package/dist/entities/digitalCredential/DigitalCredentialEntity.d.ts.map +0 -1
  146. package/dist/entities/digitalCredential/DigitalCredentialEntity.js +0 -134
  147. package/dist/entities/digitalCredential/DigitalCredentialEntity.js.map +0 -1
  148. package/dist/entities/eventLogger/AuditEventEntity.d.ts +0 -32
  149. package/dist/entities/eventLogger/AuditEventEntity.d.ts.map +0 -1
  150. package/dist/entities/eventLogger/AuditEventEntity.js +0 -129
  151. package/dist/entities/eventLogger/AuditEventEntity.js.map +0 -1
  152. package/dist/entities/issuanceBranding/BackgroundAttributesEntity.d.ts +0 -9
  153. package/dist/entities/issuanceBranding/BackgroundAttributesEntity.d.ts.map +0 -1
  154. package/dist/entities/issuanceBranding/BackgroundAttributesEntity.js +0 -67
  155. package/dist/entities/issuanceBranding/BackgroundAttributesEntity.js.map +0 -1
  156. package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.d.ts +0 -18
  157. package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.d.ts.map +0 -1
  158. package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.js +0 -121
  159. package/dist/entities/issuanceBranding/BaseLocaleBrandingEntity.js.map +0 -1
  160. package/dist/entities/issuanceBranding/CredentialBrandingEntity.d.ts +0 -13
  161. package/dist/entities/issuanceBranding/CredentialBrandingEntity.d.ts.map +0 -1
  162. package/dist/entities/issuanceBranding/CredentialBrandingEntity.js +0 -95
  163. package/dist/entities/issuanceBranding/CredentialBrandingEntity.js.map +0 -1
  164. package/dist/entities/issuanceBranding/CredentialClaimsEntity.d.ts +0 -10
  165. package/dist/entities/issuanceBranding/CredentialClaimsEntity.d.ts.map +0 -1
  166. package/dist/entities/issuanceBranding/CredentialClaimsEntity.js +0 -70
  167. package/dist/entities/issuanceBranding/CredentialClaimsEntity.js.map +0 -1
  168. package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.d.ts +0 -9
  169. package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.d.ts.map +0 -1
  170. package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.js +0 -45
  171. package/dist/entities/issuanceBranding/CredentialLocaleBrandingEntity.js.map +0 -1
  172. package/dist/entities/issuanceBranding/ImageAttributesEntity.d.ts +0 -12
  173. package/dist/entities/issuanceBranding/ImageAttributesEntity.d.ts.map +0 -1
  174. package/dist/entities/issuanceBranding/ImageAttributesEntity.js +0 -82
  175. package/dist/entities/issuanceBranding/ImageAttributesEntity.js.map +0 -1
  176. package/dist/entities/issuanceBranding/ImageDimensionsEntity.d.ts +0 -7
  177. package/dist/entities/issuanceBranding/ImageDimensionsEntity.d.ts.map +0 -1
  178. package/dist/entities/issuanceBranding/ImageDimensionsEntity.js +0 -32
  179. package/dist/entities/issuanceBranding/ImageDimensionsEntity.js.map +0 -1
  180. package/dist/entities/issuanceBranding/IssuerBrandingEntity.d.ts +0 -12
  181. package/dist/entities/issuanceBranding/IssuerBrandingEntity.d.ts.map +0 -1
  182. package/dist/entities/issuanceBranding/IssuerBrandingEntity.js +0 -89
  183. package/dist/entities/issuanceBranding/IssuerBrandingEntity.js.map +0 -1
  184. package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.d.ts +0 -11
  185. package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.d.ts.map +0 -1
  186. package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.js +0 -55
  187. package/dist/entities/issuanceBranding/IssuerLocaleBrandingEntity.js.map +0 -1
  188. package/dist/entities/issuanceBranding/TextAttributesEntity.d.ts +0 -7
  189. package/dist/entities/issuanceBranding/TextAttributesEntity.d.ts.map +0 -1
  190. package/dist/entities/issuanceBranding/TextAttributesEntity.js +0 -56
  191. package/dist/entities/issuanceBranding/TextAttributesEntity.js.map +0 -1
  192. package/dist/entities/machineState/MachineStateInfoEntity.d.ts +0 -33
  193. package/dist/entities/machineState/MachineStateInfoEntity.d.ts.map +0 -1
  194. package/dist/entities/machineState/MachineStateInfoEntity.js +0 -86
  195. package/dist/entities/machineState/MachineStateInfoEntity.js.map +0 -1
  196. package/dist/entities/oid4vcState/Oid4vcStateEntity.d.ts +0 -13
  197. package/dist/entities/oid4vcState/Oid4vcStateEntity.d.ts.map +0 -1
  198. package/dist/entities/oid4vcState/Oid4vcStateEntity.js +0 -57
  199. package/dist/entities/oid4vcState/Oid4vcStateEntity.js.map +0 -1
  200. package/dist/entities/presentationDefinition/PresentationDefinitionItemEntity.d.ts +0 -15
  201. package/dist/entities/presentationDefinition/PresentationDefinitionItemEntity.d.ts.map +0 -1
  202. package/dist/entities/presentationDefinition/PresentationDefinitionItemEntity.js +0 -81
  203. package/dist/entities/presentationDefinition/PresentationDefinitionItemEntity.js.map +0 -1
  204. package/dist/entities/statusList/StatusList2021EntryEntity.d.ts +0 -12
  205. package/dist/entities/statusList/StatusList2021EntryEntity.d.ts.map +0 -1
  206. package/dist/entities/statusList/StatusList2021EntryEntity.js +0 -56
  207. package/dist/entities/statusList/StatusList2021EntryEntity.js.map +0 -1
  208. package/dist/entities/statusList/StatusListEntities.d.ts +0 -23
  209. package/dist/entities/statusList/StatusListEntities.d.ts.map +0 -1
  210. package/dist/entities/statusList/StatusListEntities.js +0 -144
  211. package/dist/entities/statusList/StatusListEntities.js.map +0 -1
  212. package/dist/entities/validators/index.d.ts +0 -7
  213. package/dist/entities/validators/index.d.ts.map +0 -1
  214. package/dist/entities/validators/index.js +0 -27
  215. package/dist/entities/validators/index.js.map +0 -1
  216. package/dist/eventLogger/AbstractEventLoggerStore.d.ts +0 -9
  217. package/dist/eventLogger/AbstractEventLoggerStore.d.ts.map +0 -1
  218. package/dist/eventLogger/AbstractEventLoggerStore.js +0 -7
  219. package/dist/eventLogger/AbstractEventLoggerStore.js.map +0 -1
  220. package/dist/eventLogger/EventLoggerStore.d.ts +0 -14
  221. package/dist/eventLogger/EventLoggerStore.d.ts.map +0 -1
  222. package/dist/eventLogger/EventLoggerStore.js +0 -71
  223. package/dist/eventLogger/EventLoggerStore.js.map +0 -1
  224. package/dist/index.d.ts.map +0 -1
  225. package/dist/issuanceBranding/AbstractIssuanceBrandingStore.d.ts +0 -20
  226. package/dist/issuanceBranding/AbstractIssuanceBrandingStore.d.ts.map +0 -1
  227. package/dist/issuanceBranding/AbstractIssuanceBrandingStore.js +0 -7
  228. package/dist/issuanceBranding/AbstractIssuanceBrandingStore.js.map +0 -1
  229. package/dist/issuanceBranding/IssuanceBrandingStore.d.ts +0 -27
  230. package/dist/issuanceBranding/IssuanceBrandingStore.d.ts.map +0 -1
  231. package/dist/issuanceBranding/IssuanceBrandingStore.js +0 -362
  232. package/dist/issuanceBranding/IssuanceBrandingStore.js.map +0 -1
  233. package/dist/machineState/IAbstractMachineStateStore.d.ts +0 -52
  234. package/dist/machineState/IAbstractMachineStateStore.d.ts.map +0 -1
  235. package/dist/machineState/IAbstractMachineStateStore.js +0 -13
  236. package/dist/machineState/IAbstractMachineStateStore.js.map +0 -1
  237. package/dist/machineState/MachineStateStore.d.ts +0 -21
  238. package/dist/machineState/MachineStateStore.d.ts.map +0 -1
  239. package/dist/machineState/MachineStateStore.js +0 -139
  240. package/dist/machineState/MachineStateStore.js.map +0 -1
  241. package/dist/migrations/generic/1-CreateContacts.d.ts +0 -7
  242. package/dist/migrations/generic/1-CreateContacts.d.ts.map +0 -1
  243. package/dist/migrations/generic/1-CreateContacts.js +0 -78
  244. package/dist/migrations/generic/1-CreateContacts.js.map +0 -1
  245. package/dist/migrations/generic/10-CreatePresentationDefinitions.d.ts +0 -7
  246. package/dist/migrations/generic/10-CreatePresentationDefinitions.d.ts.map +0 -1
  247. package/dist/migrations/generic/10-CreatePresentationDefinitions.js +0 -78
  248. package/dist/migrations/generic/10-CreatePresentationDefinitions.js.map +0 -1
  249. package/dist/migrations/generic/11-FixCredentialClaimsReferenceUuid.d.ts +0 -7
  250. package/dist/migrations/generic/11-FixCredentialClaimsReferenceUuid.d.ts.map +0 -1
  251. package/dist/migrations/generic/11-FixCredentialClaimsReferenceUuid.js +0 -80
  252. package/dist/migrations/generic/11-FixCredentialClaimsReferenceUuid.js.map +0 -1
  253. package/dist/migrations/generic/2-CreateIssuanceBranding.d.ts +0 -7
  254. package/dist/migrations/generic/2-CreateIssuanceBranding.d.ts.map +0 -1
  255. package/dist/migrations/generic/2-CreateIssuanceBranding.js +0 -78
  256. package/dist/migrations/generic/2-CreateIssuanceBranding.js.map +0 -1
  257. package/dist/migrations/generic/3-CreateContacts.d.ts +0 -7
  258. package/dist/migrations/generic/3-CreateContacts.d.ts.map +0 -1
  259. package/dist/migrations/generic/3-CreateContacts.js +0 -78
  260. package/dist/migrations/generic/3-CreateContacts.js.map +0 -1
  261. package/dist/migrations/generic/4-CreateStatusList.d.ts +0 -7
  262. package/dist/migrations/generic/4-CreateStatusList.d.ts.map +0 -1
  263. package/dist/migrations/generic/4-CreateStatusList.js +0 -82
  264. package/dist/migrations/generic/4-CreateStatusList.js.map +0 -1
  265. package/dist/migrations/generic/5-CreateAuditEvents.d.ts +0 -7
  266. package/dist/migrations/generic/5-CreateAuditEvents.d.ts.map +0 -1
  267. package/dist/migrations/generic/5-CreateAuditEvents.js +0 -78
  268. package/dist/migrations/generic/5-CreateAuditEvents.js.map +0 -1
  269. package/dist/migrations/generic/6-CreateDigitalCredential.d.ts +0 -7
  270. package/dist/migrations/generic/6-CreateDigitalCredential.d.ts.map +0 -1
  271. package/dist/migrations/generic/6-CreateDigitalCredential.js +0 -78
  272. package/dist/migrations/generic/6-CreateDigitalCredential.js.map +0 -1
  273. package/dist/migrations/generic/7-CreateMachineStateStore.d.ts +0 -7
  274. package/dist/migrations/generic/7-CreateMachineStateStore.d.ts.map +0 -1
  275. package/dist/migrations/generic/7-CreateMachineStateStore.js +0 -78
  276. package/dist/migrations/generic/7-CreateMachineStateStore.js.map +0 -1
  277. package/dist/migrations/generic/8-CreateContacts.d.ts +0 -7
  278. package/dist/migrations/generic/8-CreateContacts.d.ts.map +0 -1
  279. package/dist/migrations/generic/8-CreateContacts.js +0 -78
  280. package/dist/migrations/generic/8-CreateContacts.js.map +0 -1
  281. package/dist/migrations/generic/9-CreateContacts.d.ts +0 -7
  282. package/dist/migrations/generic/9-CreateContacts.d.ts.map +0 -1
  283. package/dist/migrations/generic/9-CreateContacts.js +0 -78
  284. package/dist/migrations/generic/9-CreateContacts.js.map +0 -1
  285. package/dist/migrations/generic/index.d.ts +0 -23
  286. package/dist/migrations/generic/index.d.ts.map +0 -1
  287. package/dist/migrations/generic/index.js +0 -45
  288. package/dist/migrations/generic/index.js.map +0 -1
  289. package/dist/migrations/index.d.ts +0 -2
  290. package/dist/migrations/index.d.ts.map +0 -1
  291. package/dist/migrations/index.js +0 -13
  292. package/dist/migrations/index.js.map +0 -1
  293. package/dist/migrations/internal-migrations-ormconfig.d.ts +0 -7
  294. package/dist/migrations/internal-migrations-ormconfig.d.ts.map +0 -1
  295. package/dist/migrations/internal-migrations-ormconfig.js +0 -27
  296. package/dist/migrations/internal-migrations-ormconfig.js.map +0 -1
  297. package/dist/migrations/postgres/1659463079428-CreateContacts.d.ts +0 -7
  298. package/dist/migrations/postgres/1659463079428-CreateContacts.d.ts.map +0 -1
  299. package/dist/migrations/postgres/1659463079428-CreateContacts.js +0 -57
  300. package/dist/migrations/postgres/1659463079428-CreateContacts.js.map +0 -1
  301. package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.d.ts +0 -7
  302. package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.d.ts.map +0 -1
  303. package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.js +0 -73
  304. package/dist/migrations/postgres/1685628974232-CreateIssuanceBranding.js.map +0 -1
  305. package/dist/migrations/postgres/1690925872592-CreateContacts.d.ts +0 -7
  306. package/dist/migrations/postgres/1690925872592-CreateContacts.d.ts.map +0 -1
  307. package/dist/migrations/postgres/1690925872592-CreateContacts.js +0 -110
  308. package/dist/migrations/postgres/1690925872592-CreateContacts.js.map +0 -1
  309. package/dist/migrations/postgres/1693866470001-CreateStatusList.d.ts +0 -7
  310. package/dist/migrations/postgres/1693866470001-CreateStatusList.d.ts.map +0 -1
  311. package/dist/migrations/postgres/1693866470001-CreateStatusList.js +0 -65
  312. package/dist/migrations/postgres/1693866470001-CreateStatusList.js.map +0 -1
  313. package/dist/migrations/postgres/1701634812183-CreateAuditEvents.d.ts +0 -7
  314. package/dist/migrations/postgres/1701634812183-CreateAuditEvents.d.ts.map +0 -1
  315. package/dist/migrations/postgres/1701634812183-CreateAuditEvents.js +0 -71
  316. package/dist/migrations/postgres/1701634812183-CreateAuditEvents.js.map +0 -1
  317. package/dist/migrations/postgres/1708525189001-CreateDigitalCredential.d.ts +0 -7
  318. package/dist/migrations/postgres/1708525189001-CreateDigitalCredential.d.ts.map +0 -1
  319. package/dist/migrations/postgres/1708525189001-CreateDigitalCredential.js +0 -75
  320. package/dist/migrations/postgres/1708525189001-CreateDigitalCredential.js.map +0 -1
  321. package/dist/migrations/postgres/1708797018115-CreateMachineStateStore.d.ts +0 -7
  322. package/dist/migrations/postgres/1708797018115-CreateMachineStateStore.d.ts.map +0 -1
  323. package/dist/migrations/postgres/1708797018115-CreateMachineStateStore.js +0 -45
  324. package/dist/migrations/postgres/1708797018115-CreateMachineStateStore.js.map +0 -1
  325. package/dist/migrations/postgres/1710438363001-CreateContacts.d.ts +0 -7
  326. package/dist/migrations/postgres/1710438363001-CreateContacts.d.ts.map +0 -1
  327. package/dist/migrations/postgres/1710438363001-CreateContacts.js +0 -63
  328. package/dist/migrations/postgres/1710438363001-CreateContacts.js.map +0 -1
  329. package/dist/migrations/postgres/1715761125001-CreateContacts.d.ts +0 -7
  330. package/dist/migrations/postgres/1715761125001-CreateContacts.d.ts.map +0 -1
  331. package/dist/migrations/postgres/1715761125001-CreateContacts.js +0 -74
  332. package/dist/migrations/postgres/1715761125001-CreateContacts.js.map +0 -1
  333. package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.d.ts +0 -7
  334. package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.d.ts.map +0 -1
  335. package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.js +0 -42
  336. package/dist/migrations/postgres/1716475165345-CreatePresentationDefinitions.js.map +0 -1
  337. package/dist/migrations/postgres/1737110469001-UpdateStatusList.d.ts +0 -7
  338. package/dist/migrations/postgres/1737110469001-UpdateStatusList.d.ts.map +0 -1
  339. package/dist/migrations/postgres/1737110469001-UpdateStatusList.js +0 -39
  340. package/dist/migrations/postgres/1737110469001-UpdateStatusList.js.map +0 -1
  341. package/dist/migrations/postgres/1741895822987-FixCredentialClaimsReferencesUuid.d.ts +0 -7
  342. package/dist/migrations/postgres/1741895822987-FixCredentialClaimsReferencesUuid.d.ts.map +0 -1
  343. package/dist/migrations/postgres/1741895822987-FixCredentialClaimsReferencesUuid.js +0 -37
  344. package/dist/migrations/postgres/1741895822987-FixCredentialClaimsReferencesUuid.js.map +0 -1
  345. package/dist/migrations/sqlite/1659463069549-CreateContacts.d.ts +0 -7
  346. package/dist/migrations/sqlite/1659463069549-CreateContacts.d.ts.map +0 -1
  347. package/dist/migrations/sqlite/1659463069549-CreateContacts.js +0 -79
  348. package/dist/migrations/sqlite/1659463069549-CreateContacts.js.map +0 -1
  349. package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.d.ts +0 -7
  350. package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.d.ts.map +0 -1
  351. package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.js +0 -93
  352. package/dist/migrations/sqlite/1685628973231-CreateIssuanceBranding.js.map +0 -1
  353. package/dist/migrations/sqlite/1690925872693-CreateContacts.d.ts +0 -7
  354. package/dist/migrations/sqlite/1690925872693-CreateContacts.d.ts.map +0 -1
  355. package/dist/migrations/sqlite/1690925872693-CreateContacts.js +0 -143
  356. package/dist/migrations/sqlite/1690925872693-CreateContacts.js.map +0 -1
  357. package/dist/migrations/sqlite/1693866470000-CreateStatusList.d.ts +0 -7
  358. package/dist/migrations/sqlite/1693866470000-CreateStatusList.d.ts.map +0 -1
  359. package/dist/migrations/sqlite/1693866470000-CreateStatusList.js +0 -72
  360. package/dist/migrations/sqlite/1693866470000-CreateStatusList.js.map +0 -1
  361. package/dist/migrations/sqlite/1701634819487-CreateAuditEvents.d.ts +0 -7
  362. package/dist/migrations/sqlite/1701634819487-CreateAuditEvents.d.ts.map +0 -1
  363. package/dist/migrations/sqlite/1701634819487-CreateAuditEvents.js +0 -55
  364. package/dist/migrations/sqlite/1701634819487-CreateAuditEvents.js.map +0 -1
  365. package/dist/migrations/sqlite/1708525189002-CreateDigitalCredential.d.ts +0 -7
  366. package/dist/migrations/sqlite/1708525189002-CreateDigitalCredential.d.ts.map +0 -1
  367. package/dist/migrations/sqlite/1708525189002-CreateDigitalCredential.js +0 -62
  368. package/dist/migrations/sqlite/1708525189002-CreateDigitalCredential.js.map +0 -1
  369. package/dist/migrations/sqlite/1708796002272-CreateMachineStateStore.d.ts +0 -7
  370. package/dist/migrations/sqlite/1708796002272-CreateMachineStateStore.d.ts.map +0 -1
  371. package/dist/migrations/sqlite/1708796002272-CreateMachineStateStore.js +0 -44
  372. package/dist/migrations/sqlite/1708796002272-CreateMachineStateStore.js.map +0 -1
  373. package/dist/migrations/sqlite/1710438363002-CreateContacts.d.ts +0 -7
  374. package/dist/migrations/sqlite/1710438363002-CreateContacts.d.ts.map +0 -1
  375. package/dist/migrations/sqlite/1710438363002-CreateContacts.js +0 -79
  376. package/dist/migrations/sqlite/1710438363002-CreateContacts.js.map +0 -1
  377. package/dist/migrations/sqlite/1715761125002-CreateContacts.d.ts +0 -7
  378. package/dist/migrations/sqlite/1715761125002-CreateContacts.d.ts.map +0 -1
  379. package/dist/migrations/sqlite/1715761125002-CreateContacts.js +0 -73
  380. package/dist/migrations/sqlite/1715761125002-CreateContacts.js.map +0 -1
  381. package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.d.ts +0 -7
  382. package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.d.ts.map +0 -1
  383. package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.js +0 -39
  384. package/dist/migrations/sqlite/1716475165344-CreatePresentationDefinitions.js.map +0 -1
  385. package/dist/migrations/sqlite/1737110469000-UpdateStatusList.d.ts +0 -7
  386. package/dist/migrations/sqlite/1737110469000-UpdateStatusList.d.ts.map +0 -1
  387. package/dist/migrations/sqlite/1737110469000-UpdateStatusList.js +0 -96
  388. package/dist/migrations/sqlite/1737110469000-UpdateStatusList.js.map +0 -1
  389. package/dist/migrations/sqlite/1741895822987-FixCredentialClaimsReferencesUuid.d.ts +0 -7
  390. package/dist/migrations/sqlite/1741895822987-FixCredentialClaimsReferencesUuid.d.ts.map +0 -1
  391. package/dist/migrations/sqlite/1741895822987-FixCredentialClaimsReferencesUuid.js +0 -80
  392. package/dist/migrations/sqlite/1741895822987-FixCredentialClaimsReferencesUuid.js.map +0 -1
  393. package/dist/presentationDefinition/AbstractPDStore.d.ts +0 -12
  394. package/dist/presentationDefinition/AbstractPDStore.d.ts.map +0 -1
  395. package/dist/presentationDefinition/AbstractPDStore.js +0 -7
  396. package/dist/presentationDefinition/AbstractPDStore.js.map +0 -1
  397. package/dist/presentationDefinition/PDStore.d.ts +0 -19
  398. package/dist/presentationDefinition/PDStore.d.ts.map +0 -1
  399. package/dist/presentationDefinition/PDStore.js +0 -152
  400. package/dist/presentationDefinition/PDStore.js.map +0 -1
  401. package/dist/statusList/IStatusListStore.d.ts +0 -20
  402. package/dist/statusList/IStatusListStore.d.ts.map +0 -1
  403. package/dist/statusList/IStatusListStore.js +0 -3
  404. package/dist/statusList/IStatusListStore.js.map +0 -1
  405. package/dist/statusList/StatusListStore.d.ts +0 -37
  406. package/dist/statusList/StatusListStore.d.ts.map +0 -1
  407. package/dist/statusList/StatusListStore.js +0 -243
  408. package/dist/statusList/StatusListStore.js.map +0 -1
  409. package/dist/types/contact/IAbstractContactStore.d.ts +0 -111
  410. package/dist/types/contact/IAbstractContactStore.d.ts.map +0 -1
  411. package/dist/types/contact/IAbstractContactStore.js +0 -3
  412. package/dist/types/contact/IAbstractContactStore.js.map +0 -1
  413. package/dist/types/contact/contact.d.ts +0 -254
  414. package/dist/types/contact/contact.d.ts.map +0 -1
  415. package/dist/types/contact/contact.js +0 -30
  416. package/dist/types/contact/contact.js.map +0 -1
  417. package/dist/types/digitalCredential/IAbstractDigitalCredentialStore.d.ts +0 -47
  418. package/dist/types/digitalCredential/IAbstractDigitalCredentialStore.d.ts.map +0 -1
  419. package/dist/types/digitalCredential/IAbstractDigitalCredentialStore.js +0 -3
  420. package/dist/types/digitalCredential/IAbstractDigitalCredentialStore.js.map +0 -1
  421. package/dist/types/digitalCredential/digitalCredential.d.ts +0 -73
  422. package/dist/types/digitalCredential/digitalCredential.d.ts.map +0 -1
  423. package/dist/types/digitalCredential/digitalCredential.js +0 -79
  424. package/dist/types/digitalCredential/digitalCredential.js.map +0 -1
  425. package/dist/types/eventLogger/IAbstractEventLoggerStore.d.ts +0 -17
  426. package/dist/types/eventLogger/IAbstractEventLoggerStore.d.ts.map +0 -1
  427. package/dist/types/eventLogger/IAbstractEventLoggerStore.js +0 -3
  428. package/dist/types/eventLogger/IAbstractEventLoggerStore.js.map +0 -1
  429. package/dist/types/eventLogger/eventLogger.d.ts +0 -4
  430. package/dist/types/eventLogger/eventLogger.d.ts.map +0 -1
  431. package/dist/types/eventLogger/eventLogger.js +0 -3
  432. package/dist/types/eventLogger/eventLogger.js.map +0 -1
  433. package/dist/types/index.d.ts +0 -15
  434. package/dist/types/index.d.ts.map +0 -1
  435. package/dist/types/index.js +0 -31
  436. package/dist/types/index.js.map +0 -1
  437. package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.d.ts +0 -59
  438. package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.d.ts.map +0 -1
  439. package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.js +0 -3
  440. package/dist/types/issuanceBranding/IAbstractIssuanceBrandingStore.js.map +0 -1
  441. package/dist/types/issuanceBranding/issuanceBranding.d.ts +0 -132
  442. package/dist/types/issuanceBranding/issuanceBranding.d.ts.map +0 -1
  443. package/dist/types/issuanceBranding/issuanceBranding.js +0 -3
  444. package/dist/types/issuanceBranding/issuanceBranding.js.map +0 -1
  445. package/dist/types/machineState/IAbstractMachineStateStore.d.ts +0 -58
  446. package/dist/types/machineState/IAbstractMachineStateStore.d.ts.map +0 -1
  447. package/dist/types/machineState/IAbstractMachineStateStore.js +0 -3
  448. package/dist/types/machineState/IAbstractMachineStateStore.js.map +0 -1
  449. package/dist/types/presentationDefinition/IAbstractPDStore.d.ts +0 -17
  450. package/dist/types/presentationDefinition/IAbstractPDStore.d.ts.map +0 -1
  451. package/dist/types/presentationDefinition/IAbstractPDStore.js +0 -3
  452. package/dist/types/presentationDefinition/IAbstractPDStore.js.map +0 -1
  453. package/dist/types/presentationDefinition/presentationDefinition.d.ts +0 -18
  454. package/dist/types/presentationDefinition/presentationDefinition.d.ts.map +0 -1
  455. package/dist/types/presentationDefinition/presentationDefinition.js +0 -3
  456. package/dist/types/presentationDefinition/presentationDefinition.js.map +0 -1
  457. package/dist/types/statusList/IAbstractStatusListStore.d.ts +0 -39
  458. package/dist/types/statusList/IAbstractStatusListStore.d.ts.map +0 -1
  459. package/dist/types/statusList/IAbstractStatusListStore.js +0 -3
  460. package/dist/types/statusList/IAbstractStatusListStore.js.map +0 -1
  461. package/dist/types/statusList/statusList.d.ts +0 -31
  462. package/dist/types/statusList/statusList.d.ts.map +0 -1
  463. package/dist/types/statusList/statusList.js +0 -3
  464. package/dist/types/statusList/statusList.js.map +0 -1
  465. package/dist/types/validation/validation.d.ts +0 -4
  466. package/dist/types/validation/validation.d.ts.map +0 -1
  467. package/dist/types/validation/validation.js +0 -3
  468. package/dist/types/validation/validation.js.map +0 -1
  469. package/dist/utils/FormattingUtils.d.ts +0 -2
  470. package/dist/utils/FormattingUtils.d.ts.map +0 -1
  471. package/dist/utils/FormattingUtils.js +0 -23
  472. package/dist/utils/FormattingUtils.js.map +0 -1
  473. package/dist/utils/SortingUtils.d.ts +0 -3
  474. package/dist/utils/SortingUtils.d.ts.map +0 -1
  475. package/dist/utils/SortingUtils.js +0 -18
  476. package/dist/utils/SortingUtils.js.map +0 -1
  477. package/dist/utils/ValidatorUtils.d.ts +0 -4
  478. package/dist/utils/ValidatorUtils.d.ts.map +0 -1
  479. package/dist/utils/ValidatorUtils.js +0 -13
  480. package/dist/utils/ValidatorUtils.js.map +0 -1
  481. package/dist/utils/contact/MappingUtils.d.ts +0 -52
  482. package/dist/utils/contact/MappingUtils.d.ts.map +0 -1
  483. package/dist/utils/contact/MappingUtils.js +0 -458
  484. package/dist/utils/contact/MappingUtils.js.map +0 -1
  485. package/dist/utils/digitalCredential/MappingUtils.d.ts +0 -10
  486. package/dist/utils/digitalCredential/MappingUtils.d.ts.map +0 -1
  487. package/dist/utils/digitalCredential/MappingUtils.js +0 -139
  488. package/dist/utils/digitalCredential/MappingUtils.js.map +0 -1
  489. package/dist/utils/eventLogger/MappingUtils.d.ts +0 -8
  490. package/dist/utils/eventLogger/MappingUtils.d.ts.map +0 -1
  491. package/dist/utils/eventLogger/MappingUtils.js +0 -70
  492. package/dist/utils/eventLogger/MappingUtils.js.map +0 -1
  493. package/dist/utils/issuanceBranding/MappingUtils.d.ts +0 -24
  494. package/dist/utils/issuanceBranding/MappingUtils.d.ts.map +0 -1
  495. package/dist/utils/issuanceBranding/MappingUtils.js +0 -109
  496. package/dist/utils/issuanceBranding/MappingUtils.js.map +0 -1
  497. package/dist/utils/presentationDefinition/MappingUtils.d.ts +0 -6
  498. package/dist/utils/presentationDefinition/MappingUtils.d.ts.map +0 -1
  499. package/dist/utils/presentationDefinition/MappingUtils.js +0 -52
  500. package/dist/utils/presentationDefinition/MappingUtils.js.map +0 -1
  501. package/dist/utils/statusList/MappingUtils.d.ts +0 -5
  502. package/dist/utils/statusList/MappingUtils.d.ts.map +0 -1
  503. package/dist/utils/statusList/MappingUtils.js +0 -69
  504. package/dist/utils/statusList/MappingUtils.js.map +0 -1
@@ -1,254 +0,0 @@
1
- import { ManagedIdentifierOptsOrResult } from '@sphereon/ssi-sdk-ext.identifier-resolution';
2
- import { IIdentifier } from '@veramo/core';
3
- import { IIssuerLocaleBranding } from '../issuanceBranding/issuanceBranding';
4
- import { CredentialRole } from '../digitalCredential/digitalCredential';
5
- export type MetadataTypes = string | number | Date | boolean | undefined;
6
- export interface IMetadataEntity {
7
- label: string;
8
- stringValue?: string;
9
- numberValue?: number;
10
- dateValue?: Date;
11
- boolValue?: boolean;
12
- }
13
- export type Party = {
14
- id: string;
15
- uri?: string;
16
- roles: Array<CredentialRole>;
17
- ownerId?: string;
18
- tenantId?: string;
19
- identities: Array<Identity>;
20
- electronicAddresses: Array<ElectronicAddress>;
21
- physicalAddresses: Array<PhysicalAddress>;
22
- contact: Contact;
23
- partyType: PartyType;
24
- /**
25
- * TODO: Integrate branding logic here in the future. What we should do is make the issuance branding plugin part of the contact-manager and retrieve any branding there is.
26
- *
27
- * Currently, we are only defining the branding type within the SDK without implementing the associated logic. This is because:
28
- * 1. We are combining two types from the SSI-SDK to create a new type that will be used across multiple places in the wallets (web & mobile).
29
- * 2. While it makes sense to have this combined type in the SDK, the logic to support database connections for these types is complex. The types belong to different modules, and we don't use them together currently.
30
- * 3. Implementing the full logic now would require significant changes and cross-module interactions, which we don't have the time to address at present.
31
- *
32
- * For now, we are defining the type here and will use it in the mobile wallet has the logic for it. This is a temporary solution until we have the resources to integrate the branding logic fully.
33
- */
34
- branding?: IIssuerLocaleBranding;
35
- relationships: Array<PartyRelationship>;
36
- createdAt: Date;
37
- lastUpdatedAt: Date;
38
- };
39
- export type NonPersistedParty = Omit<Party, 'id' | 'identities' | 'electronicAddresses' | 'physicalAddresses' | 'contact' | 'roles' | 'partyType' | 'relationships' | 'createdAt' | 'lastUpdatedAt'> & {
40
- identities?: Array<NonPersistedIdentity>;
41
- electronicAddresses?: Array<NonPersistedElectronicAddress>;
42
- physicalAddresses?: Array<NonPersistedPhysicalAddress>;
43
- contact: NonPersistedContact;
44
- partyType: NonPersistedPartyType;
45
- relationships?: Array<NonPersistedPartyRelationship>;
46
- };
47
- export type PartialParty = Partial<Omit<Party, 'identities' | 'electronicAddresses' | 'physicalAddresses' | 'contact' | 'partyType' | 'relationships'>> & {
48
- identities?: PartialIdentity;
49
- electronicAddresses?: PartialElectronicAddress;
50
- physicalAddresses?: PartialPhysicalAddress;
51
- contact?: PartialContact;
52
- partyType?: PartialPartyType;
53
- relationships?: PartialPartyRelationship;
54
- };
55
- export type Identity = {
56
- id: string;
57
- alias: string;
58
- ownerId?: string;
59
- tenantId?: string;
60
- origin: IdentityOrigin;
61
- roles: Array<CredentialRole>;
62
- identifier: CorrelationIdentifier;
63
- connection?: Connection;
64
- metadata?: Array<MetadataItem<MetadataTypes>>;
65
- createdAt: Date;
66
- lastUpdatedAt: Date;
67
- };
68
- export type NonPersistedIdentity = Omit<Identity, 'id' | 'identifier' | 'connection' | 'metadata' | 'origin' | 'createdAt' | 'lastUpdatedAt'> & {
69
- origin: IdentityOrigin;
70
- identifier: NonPersistedCorrelationIdentifier;
71
- connection?: NonPersistedConnection;
72
- metadata?: Array<NonPersistedMetadataItem<MetadataTypes>>;
73
- };
74
- export type PartialIdentity = Partial<Omit<Identity, 'identifier' | 'connection' | 'metadata' | 'origin' | 'roles'>> & {
75
- identifier?: PartialCorrelationIdentifier;
76
- connection?: PartialConnection;
77
- metadata?: PartialMetadataItem<MetadataTypes>;
78
- origin?: IdentityOrigin;
79
- roles?: CredentialRole;
80
- partyId?: string;
81
- };
82
- export type MetadataItem<T extends MetadataTypes> = {
83
- id: string;
84
- label: string;
85
- value: T;
86
- };
87
- export type NonPersistedMetadataItem<T extends MetadataTypes> = Omit<MetadataItem<T>, 'id'>;
88
- export type PartialMetadataItem<T extends MetadataTypes> = Partial<MetadataItem<T>>;
89
- export type CorrelationIdentifier = {
90
- id: string;
91
- ownerId?: string;
92
- tenantId?: string;
93
- type: CorrelationIdentifierType;
94
- correlationId: string;
95
- };
96
- export type NonPersistedCorrelationIdentifier = Omit<CorrelationIdentifier, 'id'>;
97
- export type PartialCorrelationIdentifier = Partial<CorrelationIdentifier>;
98
- export type Connection = {
99
- id: string;
100
- ownerId?: string;
101
- tenantId?: string;
102
- type: ConnectionType;
103
- config: ConnectionConfig;
104
- };
105
- export type NonPersistedConnection = Omit<Connection, 'id' | 'config'> & {
106
- config: NonPersistedConnectionConfig;
107
- };
108
- export type PartialConnection = Partial<Omit<Connection, 'config'>> & {
109
- config: PartialConnectionConfig;
110
- };
111
- export type OpenIdConfig = {
112
- id: string;
113
- clientId: string;
114
- clientSecret: string;
115
- ownerId?: string;
116
- tenantId?: string;
117
- scopes: Array<string>;
118
- issuer: string;
119
- redirectUrl: string;
120
- dangerouslyAllowInsecureHttpRequests: boolean;
121
- clientAuthMethod: 'basic' | 'post' | undefined;
122
- };
123
- export type NonPersistedOpenIdConfig = Omit<OpenIdConfig, 'id'>;
124
- export type PartialOpenIdConfig = Partial<OpenIdConfig>;
125
- export type DidAuthConfig = {
126
- id: string;
127
- idOpts: ManagedIdentifierOptsOrResult;
128
- stateId: string;
129
- ownerId?: string;
130
- tenantId?: string;
131
- redirectUrl: string;
132
- sessionId: string;
133
- };
134
- export type NonPersistedDidAuthConfig = Omit<DidAuthConfig, 'id'>;
135
- export type PartialDidAuthConfig = Partial<Omit<DidAuthConfig, 'identifier'>> & {
136
- identifier: Partial<IIdentifier>;
137
- };
138
- export type ConnectionConfig = OpenIdConfig | DidAuthConfig;
139
- export type NonPersistedConnectionConfig = NonPersistedDidAuthConfig | NonPersistedOpenIdConfig;
140
- export type PartialConnectionConfig = PartialOpenIdConfig | PartialDidAuthConfig;
141
- export type NaturalPerson = {
142
- id: string;
143
- firstName: string;
144
- lastName: string;
145
- middleName?: string;
146
- displayName: string;
147
- metadata?: Array<MetadataItem<MetadataTypes>>;
148
- ownerId?: string;
149
- tenantId?: string;
150
- createdAt: Date;
151
- lastUpdatedAt: Date;
152
- };
153
- export type NonPersistedNaturalPerson = Omit<NaturalPerson, 'id' | 'createdAt' | 'lastUpdatedAt'>;
154
- export type PartialNaturalPerson = Partial<Omit<NaturalPerson, 'metadata'>> & {
155
- metadata?: PartialMetadataItem<MetadataTypes>;
156
- };
157
- export type Organization = {
158
- id: string;
159
- legalName: string;
160
- displayName: string;
161
- metadata?: Array<MetadataItem<MetadataTypes>>;
162
- ownerId?: string;
163
- tenantId?: string;
164
- createdAt: Date;
165
- lastUpdatedAt: Date;
166
- };
167
- export type NonPersistedOrganization = Omit<Organization, 'id' | 'createdAt' | 'lastUpdatedAt'>;
168
- export type PartialOrganization = Partial<Omit<Organization, 'metadata'>> & {
169
- metadata?: PartialMetadataItem<MetadataTypes>;
170
- };
171
- export type Contact = NaturalPerson | Organization;
172
- export type NonPersistedContact = NonPersistedNaturalPerson | NonPersistedOrganization;
173
- export type PartialContact = PartialNaturalPerson | PartialOrganization;
174
- export type PartyType = {
175
- id: string;
176
- type: PartyTypeType;
177
- origin: PartyOrigin;
178
- name: string;
179
- tenantId: string;
180
- description?: string;
181
- createdAt: Date;
182
- lastUpdatedAt: Date;
183
- };
184
- export type NonPersistedPartyType = Omit<PartyType, 'id' | 'createdAt' | 'lastUpdatedAt'> & {
185
- id?: string;
186
- };
187
- export type PartialPartyType = Partial<PartyType>;
188
- export type PartyRelationship = {
189
- id: string;
190
- leftId: string;
191
- rightId: string;
192
- ownerId?: string;
193
- tenantId?: string;
194
- createdAt: Date;
195
- lastUpdatedAt: Date;
196
- };
197
- export type NonPersistedPartyRelationship = Omit<PartyRelationship, 'id' | 'createdAt' | 'lastUpdatedAt'>;
198
- export type PartialPartyRelationship = Partial<PartyRelationship>;
199
- export type ElectronicAddress = {
200
- id: string;
201
- type: ElectronicAddressType;
202
- electronicAddress: string;
203
- ownerId?: string;
204
- tenantId?: string;
205
- createdAt: Date;
206
- lastUpdatedAt: Date;
207
- };
208
- export type NonPersistedElectronicAddress = Omit<ElectronicAddress, 'id' | 'createdAt' | 'lastUpdatedAt'>;
209
- export type PartialElectronicAddress = Partial<ElectronicAddress> & {
210
- partyId?: string;
211
- };
212
- export type PhysicalAddress = {
213
- id: string;
214
- type: PhysicalAddressType;
215
- streetName: string;
216
- streetNumber: string;
217
- postalCode: string;
218
- cityName: string;
219
- provinceName: string;
220
- countryCode: string;
221
- buildingName?: string;
222
- ownerId?: string;
223
- tenantId?: string;
224
- createdAt: Date;
225
- lastUpdatedAt: Date;
226
- };
227
- export type NonPersistedPhysicalAddress = Omit<PhysicalAddress, 'id' | 'createdAt' | 'lastUpdatedAt'>;
228
- export type PartialPhysicalAddress = Partial<PhysicalAddress> & {
229
- partyId?: string;
230
- };
231
- export type ElectronicAddressType = 'email' | 'phone';
232
- export type PhysicalAddressType = 'home' | 'visit' | 'postal';
233
- export declare enum ConnectionType {
234
- OPENID_CONNECT = "OIDC",
235
- SIOPv2 = "SIOPv2",
236
- SIOPv2_OpenID4VP = "SIOPv2+OpenID4VP"
237
- }
238
- export declare enum CorrelationIdentifierType {
239
- DID = "did",
240
- URL = "url"
241
- }
242
- export declare enum PartyTypeType {
243
- NATURAL_PERSON = "naturalPerson",
244
- ORGANIZATION = "organization"
245
- }
246
- export declare enum PartyOrigin {
247
- INTERNAL = "INTERNAL",
248
- EXTERNAL = "EXTERNAL"
249
- }
250
- export declare enum IdentityOrigin {
251
- INTERNAL = "INTERNAL",
252
- EXTERNAL = "EXTERNAL"
253
- }
254
- //# sourceMappingURL=contact.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../src/types/contact/contact.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAA;AAC3F,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAA;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAA;AAEvE,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,GAAG,SAAS,CAAA;AAExE,MAAM,WAAW,eAAe;IAE9B,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAA;IAC3B,mBAAm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CACZ;AAED,oBAAY,aAAa;IACvB,cAAc,kBAAkB;IAChC,YAAY,iBAAiB;CAC9B;AAED,oBAAY,WAAW;IACrB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,oBAAY,cAAc;IACxB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB"}
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IdentityOrigin = exports.PartyOrigin = exports.PartyTypeType = exports.CorrelationIdentifierType = exports.ConnectionType = void 0;
4
- var ConnectionType;
5
- (function (ConnectionType) {
6
- ConnectionType["OPENID_CONNECT"] = "OIDC";
7
- ConnectionType["SIOPv2"] = "SIOPv2";
8
- ConnectionType["SIOPv2_OpenID4VP"] = "SIOPv2+OpenID4VP";
9
- })(ConnectionType || (exports.ConnectionType = ConnectionType = {}));
10
- var CorrelationIdentifierType;
11
- (function (CorrelationIdentifierType) {
12
- CorrelationIdentifierType["DID"] = "did";
13
- CorrelationIdentifierType["URL"] = "url";
14
- })(CorrelationIdentifierType || (exports.CorrelationIdentifierType = CorrelationIdentifierType = {}));
15
- var PartyTypeType;
16
- (function (PartyTypeType) {
17
- PartyTypeType["NATURAL_PERSON"] = "naturalPerson";
18
- PartyTypeType["ORGANIZATION"] = "organization";
19
- })(PartyTypeType || (exports.PartyTypeType = PartyTypeType = {}));
20
- var PartyOrigin;
21
- (function (PartyOrigin) {
22
- PartyOrigin["INTERNAL"] = "INTERNAL";
23
- PartyOrigin["EXTERNAL"] = "EXTERNAL";
24
- })(PartyOrigin || (exports.PartyOrigin = PartyOrigin = {}));
25
- var IdentityOrigin;
26
- (function (IdentityOrigin) {
27
- IdentityOrigin["INTERNAL"] = "INTERNAL";
28
- IdentityOrigin["EXTERNAL"] = "EXTERNAL";
29
- })(IdentityOrigin || (exports.IdentityOrigin = IdentityOrigin = {}));
30
- //# sourceMappingURL=contact.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contact.js","sourceRoot":"","sources":["../../../src/types/contact/contact.ts"],"names":[],"mappings":";;;AA8QA,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,yCAAuB,CAAA;IACvB,mCAAiB,CAAA;IACjB,uDAAqC,CAAA;AACvC,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB;AAED,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,wCAAW,CAAA;IACX,wCAAW,CAAA;AACb,CAAC,EAHW,yBAAyB,yCAAzB,yBAAyB,QAGpC;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,iDAAgC,CAAA;IAChC,8CAA6B,CAAA;AAC/B,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAED,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,oCAAqB,CAAA;AACvB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;AACvB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB"}
@@ -1,47 +0,0 @@
1
- import { CredentialCorrelationType, CredentialRole, CredentialStateType, DigitalCredential, RegulationType } from './digitalCredential';
2
- import { HasherSync } from '@sphereon/ssi-types';
3
- import { FindOptionsOrder } from 'typeorm';
4
- import { DigitalCredentialEntity } from '../../entities/digitalCredential/DigitalCredentialEntity';
5
- export type GetCredentialArgs = {
6
- id: string;
7
- } | {
8
- hash: string;
9
- };
10
- export type FindDigitalCredentialArgs = Array<Partial<DigitalCredential>>;
11
- export type GetCredentialsArgs = {
12
- filter?: FindDigitalCredentialArgs;
13
- offset?: number;
14
- limit?: number;
15
- order?: string | FindOptionsOrder<DigitalCredentialEntity>;
16
- };
17
- export type GetCredentialsResponse = {
18
- data: Array<DigitalCredential>;
19
- total: number;
20
- };
21
- export type AddCredentialArgs = {
22
- rawDocument: string;
23
- kmsKeyRef?: string;
24
- identifierMethod?: string;
25
- regulationType?: RegulationType;
26
- parentId?: string;
27
- issuerCorrelationType: CredentialCorrelationType;
28
- subjectCorrelationType?: CredentialCorrelationType;
29
- issuerCorrelationId: string;
30
- subjectCorrelationId?: string;
31
- credentialRole: CredentialRole;
32
- tenantId?: string;
33
- state?: CredentialStateType;
34
- verifiedAt?: Date;
35
- revokedAt?: Date;
36
- opts?: {
37
- maxTimeSkewInMS?: number;
38
- hasher?: HasherSync;
39
- };
40
- };
41
- export type UpdateCredentialStateArgs = GetCredentialArgs & {
42
- verifiedState: CredentialStateType;
43
- verifiedAt?: Date;
44
- revokedAt?: Date;
45
- };
46
- export type RemoveCredentialArgs = GetCredentialArgs;
47
- //# sourceMappingURL=IAbstractDigitalCredentialStore.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IAbstractDigitalCredentialStore.d.ts","sourceRoot":"","sources":["../../../src/types/digitalCredential/IAbstractDigitalCredentialStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACvI,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,0DAA0D,CAAA;AAElG,MAAM,MAAM,iBAAiB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA;AAEjE,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAA;AAEzE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,yBAAyB,CAAA;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAC,uBAAuB,CAAC,CAAA;CAC3D,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAA;IAC9B,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,qBAAqB,EAAE,yBAAyB,CAAA;IAChD,sBAAsB,CAAC,EAAE,yBAAyB,CAAA;IAClD,mBAAmB,EAAE,MAAM,CAAA;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,cAAc,EAAE,cAAc,CAAA;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,mBAAmB,CAAA;IAC3B,UAAU,CAAC,EAAE,IAAI,CAAA;IACjB,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,IAAI,CAAC,EAAE;QAAE,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,UAAU,CAAA;KAAE,CAAA;CACzD,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,GAAG;IAAE,aAAa,EAAE,mBAAmB,CAAC;IAAC,UAAU,CAAC,EAAE,IAAI,CAAC;IAAC,SAAS,CAAC,EAAE,IAAI,CAAA;CAAE,CAAA;AAEvI,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAA"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IAbstractDigitalCredentialStore.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IAbstractDigitalCredentialStore.js","sourceRoot":"","sources":["../../../src/types/digitalCredential/IAbstractDigitalCredentialStore.ts"],"names":[],"mappings":""}
@@ -1,73 +0,0 @@
1
- export type NonPersistedDigitalCredential = Omit<DigitalCredential, 'id' | 'regulationType'> & {
2
- regulationType?: RegulationType;
3
- };
4
- export type DigitalCredential = {
5
- id: string;
6
- parentId?: string;
7
- documentType: DocumentType;
8
- documentFormat: CredentialDocumentFormat;
9
- credentialRole: CredentialRole;
10
- regulationType: RegulationType;
11
- rawDocument: string;
12
- uniformDocument: string;
13
- credentialId?: string;
14
- hash: string;
15
- kmsKeyRef?: string;
16
- identifierMethod?: string;
17
- issuerCorrelationType: CredentialCorrelationType;
18
- subjectCorrelationType?: CredentialCorrelationType;
19
- rpCorrelationType?: CredentialCorrelationType;
20
- isIssuerSigned?: boolean;
21
- issuerCorrelationId: string;
22
- subjectCorrelationId?: string;
23
- rpCorrelationId?: string;
24
- verifiedState?: CredentialStateType;
25
- tenantId?: string;
26
- createdAt: Date;
27
- presentedAt?: Date;
28
- lastUpdatedAt: Date;
29
- validUntil?: Date;
30
- validFrom?: Date;
31
- verifiedAt?: Date;
32
- revokedAt?: Date;
33
- };
34
- export declare enum DocumentType {
35
- VC = "VC",
36
- VP = "VP",
37
- P = "P",
38
- C = "C"
39
- }
40
- export declare enum RegulationType {
41
- PID = "PID",
42
- QEAA = "QEAA",
43
- EAA = "EAA",
44
- NON_REGULATED = "NON_REGULATED"
45
- }
46
- export declare enum CredentialDocumentFormat {
47
- JSON_LD = "JSON_LD",
48
- JWT = "JWT",
49
- SD_JWT = "SD_JWT",
50
- MSO_MDOC = "MSO_MDOC"
51
- }
52
- export declare namespace CredentialDocumentFormat {
53
- function fromSpecValue(credentialFormat: string): CredentialDocumentFormat;
54
- function toSpecValue(documentFormat: CredentialDocumentFormat, documentType: DocumentType): "vc+sd-jwt" | "mso_mdoc" | "ldp_vc" | "ldp_vp" | "jwt_vc_json" | "jwt_vp_json";
55
- }
56
- export declare enum CredentialCorrelationType {
57
- DID = "DID",
58
- X509_SAN = "X509_SAN",
59
- KID = "KID",
60
- URL = "URL"
61
- }
62
- export declare enum CredentialRole {
63
- ISSUER = "ISSUER",
64
- VERIFIER = "VERIFIER",
65
- HOLDER = "HOLDER",
66
- FEDERATION_TRUST_ANCHOR = "FEDERATION_TRUST_ANCHOR"
67
- }
68
- export declare enum CredentialStateType {
69
- REVOKED = "REVOKED",
70
- VERIFIED = "VERIFIED",
71
- EXPIRED = "EXPIRED"
72
- }
73
- //# sourceMappingURL=digitalCredential.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"digitalCredential.d.ts","sourceRoot":"","sources":["../../../src/types/digitalCredential/digitalCredential.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC,iBAAiB,EAAE,IAAI,GAAG,gBAAgB,CAAC,GAAG;IAAE,cAAc,CAAC,EAAE,cAAc,CAAA;CAAE,CAAA;AAElI,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,cAAc,EAAE,wBAAwB,CAAA;IACxC,cAAc,EAAE,cAAc,CAAA;IAC9B,cAAc,EAAE,cAAc,CAAA;IAC9B,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,qBAAqB,EAAE,yBAAyB,CAAA;IAChD,sBAAsB,CAAC,EAAE,yBAAyB,CAAA;IAClD,iBAAiB,CAAC,EAAE,yBAAyB,CAAA;IAC7C,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,aAAa,CAAC,EAAE,mBAAmB,CAAA;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,IAAI,CAAA;IACf,WAAW,CAAC,EAAE,IAAI,CAAA;IAClB,aAAa,EAAE,IAAI,CAAA;IACnB,UAAU,CAAC,EAAE,IAAI,CAAA;IACjB,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,UAAU,CAAC,EAAE,IAAI,CAAA;IACjB,SAAS,CAAC,EAAE,IAAI,CAAA;CACjB,CAAA;AAED,oBAAY,YAAY;IACtB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,CAAC,MAAM;IACP,CAAC,MAAM;CACR;AAED,oBAAY,cAAc;IACxB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,aAAa,kBAAkB;CAChC;AAED,oBAAY,wBAAwB;IAClC,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAED,yBAAiB,wBAAwB,CAAC;IACxC,SAAgB,aAAa,CAAC,gBAAgB,EAAE,MAAM,4BAarD;IAED,SAAgB,WAAW,CAAC,cAAc,EAAE,wBAAwB,EAAE,YAAY,EAAE,YAAY,kFAW/F;CACF;AAED,oBAAY,yBAAyB;IACnC,GAAG,QAAQ;IACX,QAAQ,aAAa;IACrB,GAAG,QAAQ;IACX,GAAG,QAAQ;CACZ;AAED,oBAAY,cAAc;IACxB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,uBAAuB,4BAA4B;CACpD;AAED,oBAAY,mBAAmB;IAC7B,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB"}
@@ -1,79 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CredentialStateType = exports.CredentialRole = exports.CredentialCorrelationType = exports.CredentialDocumentFormat = exports.RegulationType = exports.DocumentType = void 0;
4
- var DocumentType;
5
- (function (DocumentType) {
6
- DocumentType["VC"] = "VC";
7
- DocumentType["VP"] = "VP";
8
- DocumentType["P"] = "P";
9
- DocumentType["C"] = "C";
10
- })(DocumentType || (exports.DocumentType = DocumentType = {}));
11
- var RegulationType;
12
- (function (RegulationType) {
13
- RegulationType["PID"] = "PID";
14
- RegulationType["QEAA"] = "QEAA";
15
- RegulationType["EAA"] = "EAA";
16
- RegulationType["NON_REGULATED"] = "NON_REGULATED";
17
- })(RegulationType || (exports.RegulationType = RegulationType = {}));
18
- var CredentialDocumentFormat;
19
- (function (CredentialDocumentFormat) {
20
- CredentialDocumentFormat["JSON_LD"] = "JSON_LD";
21
- CredentialDocumentFormat["JWT"] = "JWT";
22
- CredentialDocumentFormat["SD_JWT"] = "SD_JWT";
23
- CredentialDocumentFormat["MSO_MDOC"] = "MSO_MDOC";
24
- })(CredentialDocumentFormat || (exports.CredentialDocumentFormat = CredentialDocumentFormat = {}));
25
- (function (CredentialDocumentFormat) {
26
- function fromSpecValue(credentialFormat) {
27
- const format = credentialFormat.toLowerCase();
28
- if (format.includes('sd')) {
29
- return CredentialDocumentFormat.SD_JWT;
30
- }
31
- else if (format.includes('ldp')) {
32
- return CredentialDocumentFormat.JSON_LD;
33
- }
34
- else if (format.includes('mso') || credentialFormat.includes('mdoc')) {
35
- return CredentialDocumentFormat.MSO_MDOC;
36
- }
37
- else if (format.includes('jwt_')) {
38
- return CredentialDocumentFormat.JWT;
39
- }
40
- else {
41
- throw Error(`Could not map format ${format} to known format`);
42
- }
43
- }
44
- CredentialDocumentFormat.fromSpecValue = fromSpecValue;
45
- function toSpecValue(documentFormat, documentType) {
46
- switch (documentFormat) {
47
- case CredentialDocumentFormat.SD_JWT:
48
- return 'vc+sd-jwt';
49
- case CredentialDocumentFormat.MSO_MDOC:
50
- return 'mso_mdoc';
51
- case CredentialDocumentFormat.JSON_LD:
52
- return documentType === DocumentType.C || documentType === DocumentType.VC ? 'ldp_vc' : 'ldp_vp';
53
- case CredentialDocumentFormat.JWT:
54
- return documentType === DocumentType.C || documentType === DocumentType.VC ? 'jwt_vc_json' : 'jwt_vp_json';
55
- }
56
- }
57
- CredentialDocumentFormat.toSpecValue = toSpecValue;
58
- })(CredentialDocumentFormat || (exports.CredentialDocumentFormat = CredentialDocumentFormat = {}));
59
- var CredentialCorrelationType;
60
- (function (CredentialCorrelationType) {
61
- CredentialCorrelationType["DID"] = "DID";
62
- CredentialCorrelationType["X509_SAN"] = "X509_SAN";
63
- CredentialCorrelationType["KID"] = "KID";
64
- CredentialCorrelationType["URL"] = "URL";
65
- })(CredentialCorrelationType || (exports.CredentialCorrelationType = CredentialCorrelationType = {}));
66
- var CredentialRole;
67
- (function (CredentialRole) {
68
- CredentialRole["ISSUER"] = "ISSUER";
69
- CredentialRole["VERIFIER"] = "VERIFIER";
70
- CredentialRole["HOLDER"] = "HOLDER";
71
- CredentialRole["FEDERATION_TRUST_ANCHOR"] = "FEDERATION_TRUST_ANCHOR";
72
- })(CredentialRole || (exports.CredentialRole = CredentialRole = {}));
73
- var CredentialStateType;
74
- (function (CredentialStateType) {
75
- CredentialStateType["REVOKED"] = "REVOKED";
76
- CredentialStateType["VERIFIED"] = "VERIFIED";
77
- CredentialStateType["EXPIRED"] = "EXPIRED";
78
- })(CredentialStateType || (exports.CredentialStateType = CredentialStateType = {}));
79
- //# sourceMappingURL=digitalCredential.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"digitalCredential.js","sourceRoot":"","sources":["../../../src/types/digitalCredential/digitalCredential.ts"],"names":[],"mappings":";;;AAiCA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,yBAAS,CAAA;IACT,yBAAS,CAAA;IACT,uBAAO,CAAA;IACP,uBAAO,CAAA;AACT,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAED,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,6BAAW,CAAA;IACX,+BAAa,CAAA;IACb,6BAAW,CAAA;IACX,iDAA+B,CAAA;AACjC,CAAC,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,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;YAClG,KAAK,wBAAwB,CAAC,GAAG;gBAC/B,OAAO,YAAY,KAAK,YAAY,CAAC,CAAC,IAAI,YAAY,KAAK,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,CAAA;QAC9G,CAAC;IACH,CAAC;IAXe,oCAAW,cAW1B,CAAA;AACH,CAAC,EA5BgB,wBAAwB,wCAAxB,wBAAwB,QA4BxC;AAED,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACnC,wCAAW,CAAA;IACX,kDAAqB,CAAA;IACrB,wCAAW,CAAA;IACX,wCAAW,CAAA;AACb,CAAC,EALW,yBAAyB,yCAAzB,yBAAyB,QAKpC;AAED,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,mCAAiB,CAAA;IACjB,qEAAmD,CAAA;AACrD,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB;AAED,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,4CAAqB,CAAA;IACrB,0CAAmB,CAAA;AACrB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B"}
@@ -1,17 +0,0 @@
1
- import { PartialActivityLoggingEvent, PartialAuditLoggingEvent } from '@sphereon/ssi-sdk.core';
2
- import { NonPersistedActivityLoggingEvent, NonPersistedAuditLoggingEvent } from './eventLogger';
3
- export type FindAuditLoggingEventArgs = Array<PartialAuditLoggingEvent>;
4
- export type FindActivityLoggingEventArgs = Array<PartialActivityLoggingEvent>;
5
- export type StoreAuditEventArgs = {
6
- event: NonPersistedAuditLoggingEvent;
7
- };
8
- export type StoreActivityEventArgs = {
9
- event: NonPersistedActivityLoggingEvent;
10
- };
11
- export type GetAuditEventsArgs = {
12
- filter?: FindAuditLoggingEventArgs;
13
- };
14
- export type GetActivityEventsArgs = {
15
- filter?: FindActivityLoggingEventArgs;
16
- };
17
- //# sourceMappingURL=IAbstractEventLoggerStore.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IAbstractEventLoggerStore.d.ts","sourceRoot":"","sources":["../../../src/types/eventLogger/IAbstractEventLoggerStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AAC9F,OAAO,EAAE,gCAAgC,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAA;AAE/F,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAA;AAEvE,MAAM,MAAM,4BAA4B,GAAG,KAAK,CAAC,2BAA2B,CAAC,CAAA;AAE7E,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,6BAA6B,CAAA;CACrC,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,gCAAgC,CAAA;CACxC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,yBAAyB,CAAA;CACnC,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,CAAC,EAAE,4BAA4B,CAAA;CACtC,CAAA"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IAbstractEventLoggerStore.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IAbstractEventLoggerStore.js","sourceRoot":"","sources":["../../../src/types/eventLogger/IAbstractEventLoggerStore.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { ActivityLoggingEvent, AuditLoggingEvent } from '@sphereon/ssi-sdk.core';
2
- export type NonPersistedAuditLoggingEvent = Omit<AuditLoggingEvent, 'id' | 'type'>;
3
- export type NonPersistedActivityLoggingEvent = Omit<ActivityLoggingEvent, 'id' | 'type'>;
4
- //# sourceMappingURL=eventLogger.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eventLogger.d.ts","sourceRoot":"","sources":["../../../src/types/eventLogger/eventLogger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAEhF,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC,iBAAiB,EAAE,IAAI,GAAG,MAAM,CAAC,CAAA;AAClF,MAAM,MAAM,gCAAgC,GAAG,IAAI,CAAC,oBAAoB,EAAE,IAAI,GAAG,MAAM,CAAC,CAAA"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=eventLogger.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eventLogger.js","sourceRoot":"","sources":["../../../src/types/eventLogger/eventLogger.ts"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- export * from './issuanceBranding/issuanceBranding';
2
- export * from './issuanceBranding/IAbstractIssuanceBrandingStore';
3
- export * from './contact/contact';
4
- export * from './presentationDefinition/presentationDefinition';
5
- export * from './presentationDefinition/IAbstractPDStore';
6
- export * from './contact/IAbstractContactStore';
7
- export * from './validation/validation';
8
- export * from './statusList/statusList';
9
- export * from './statusList/IAbstractStatusListStore';
10
- export * from './eventLogger/IAbstractEventLoggerStore';
11
- export * from './eventLogger/eventLogger';
12
- export * from './machineState/IAbstractMachineStateStore';
13
- export * from './digitalCredential/digitalCredential';
14
- export * from './digitalCredential/IAbstractDigitalCredentialStore';
15
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAA;AACnD,cAAc,mDAAmD,CAAA;AACjE,cAAc,mBAAmB,CAAA;AACjC,cAAc,iDAAiD,CAAA;AAC/D,cAAc,2CAA2C,CAAA;AACzD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,uCAAuC,CAAA;AACrD,cAAc,yCAAyC,CAAA;AACvD,cAAc,2BAA2B,CAAA;AACzC,cAAc,2CAA2C,CAAA;AACzD,cAAc,uCAAuC,CAAA;AACrD,cAAc,qDAAqD,CAAA"}
@@ -1,31 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./issuanceBranding/issuanceBranding"), exports);
18
- __exportStar(require("./issuanceBranding/IAbstractIssuanceBrandingStore"), exports);
19
- __exportStar(require("./contact/contact"), exports);
20
- __exportStar(require("./presentationDefinition/presentationDefinition"), exports);
21
- __exportStar(require("./presentationDefinition/IAbstractPDStore"), exports);
22
- __exportStar(require("./contact/IAbstractContactStore"), exports);
23
- __exportStar(require("./validation/validation"), exports);
24
- __exportStar(require("./statusList/statusList"), exports);
25
- __exportStar(require("./statusList/IAbstractStatusListStore"), exports);
26
- __exportStar(require("./eventLogger/IAbstractEventLoggerStore"), exports);
27
- __exportStar(require("./eventLogger/eventLogger"), exports);
28
- __exportStar(require("./machineState/IAbstractMachineStateStore"), exports);
29
- __exportStar(require("./digitalCredential/digitalCredential"), exports);
30
- __exportStar(require("./digitalCredential/IAbstractDigitalCredentialStore"), exports);
31
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAmD;AACnD,oFAAiE;AACjE,oDAAiC;AACjC,kFAA+D;AAC/D,4EAAyD;AACzD,kEAA+C;AAC/C,0DAAuC;AACvC,0DAAuC;AACvC,wEAAqD;AACrD,0EAAuD;AACvD,4DAAyC;AACzC,4EAAyD;AACzD,wEAAqD;AACrD,sFAAmE"}