@nmshd/runtime 7.4.1 → 7.5.0-openid4vc.1

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 (69) hide show
  1. package/dist/Runtime.d.ts.map +1 -1
  2. package/dist/Runtime.js +3 -0
  3. package/dist/Runtime.js.map +1 -1
  4. package/dist/buildInformation.js +5 -5
  5. package/dist/dataViews/DataViewExpander.d.ts +1 -0
  6. package/dist/dataViews/DataViewExpander.d.ts.map +1 -1
  7. package/dist/dataViews/DataViewExpander.js +45 -0
  8. package/dist/dataViews/DataViewExpander.js.map +1 -1
  9. package/dist/dataViews/content/RequestItemDVOs.d.ts +12 -1
  10. package/dist/dataViews/content/RequestItemDVOs.d.ts.map +1 -1
  11. package/dist/events/EventProxy.d.ts.map +1 -1
  12. package/dist/events/EventProxy.js +7 -0
  13. package/dist/events/EventProxy.js.map +1 -1
  14. package/dist/extensibility/ConsumptionServices.d.ts +3 -2
  15. package/dist/extensibility/ConsumptionServices.d.ts.map +1 -1
  16. package/dist/extensibility/ConsumptionServices.js +5 -2
  17. package/dist/extensibility/ConsumptionServices.js.map +1 -1
  18. package/dist/extensibility/facades/consumption/OpenId4VcFacade.d.ts +21 -0
  19. package/dist/extensibility/facades/consumption/OpenId4VcFacade.d.ts.map +1 -0
  20. package/dist/extensibility/facades/consumption/OpenId4VcFacade.js +67 -0
  21. package/dist/extensibility/facades/consumption/OpenId4VcFacade.js.map +1 -0
  22. package/dist/extensibility/facades/consumption/index.d.ts +1 -0
  23. package/dist/extensibility/facades/consumption/index.d.ts.map +1 -1
  24. package/dist/extensibility/facades/consumption/index.js +1 -0
  25. package/dist/extensibility/facades/consumption/index.js.map +1 -1
  26. package/dist/useCases/common/Schemas.d.ts +8 -0
  27. package/dist/useCases/common/Schemas.d.ts.map +1 -1
  28. package/dist/useCases/common/Schemas.js +925 -16
  29. package/dist/useCases/common/Schemas.js.map +1 -1
  30. package/dist/useCases/common/UseCase.d.ts.map +1 -1
  31. package/dist/useCases/common/UseCase.js +4 -0
  32. package/dist/useCases/common/UseCase.js.map +1 -1
  33. package/dist/useCases/consumption/index.d.ts +1 -0
  34. package/dist/useCases/consumption/index.d.ts.map +1 -1
  35. package/dist/useCases/consumption/index.js +1 -0
  36. package/dist/useCases/consumption/index.js.map +1 -1
  37. package/dist/useCases/consumption/openid4vc/AcceptAuthorizationRequest.d.ts +27 -0
  38. package/dist/useCases/consumption/openid4vc/AcceptAuthorizationRequest.d.ts.map +1 -0
  39. package/dist/useCases/consumption/openid4vc/AcceptAuthorizationRequest.js +53 -0
  40. package/dist/useCases/consumption/openid4vc/AcceptAuthorizationRequest.js.map +1 -0
  41. package/dist/useCases/consumption/openid4vc/CreatePresentationToken.d.ts +22 -0
  42. package/dist/useCases/consumption/openid4vc/CreatePresentationToken.d.ts.map +1 -0
  43. package/dist/useCases/consumption/openid4vc/CreatePresentationToken.js +65 -0
  44. package/dist/useCases/consumption/openid4vc/CreatePresentationToken.js.map +1 -0
  45. package/dist/useCases/consumption/openid4vc/RequestCredentials.d.ts +27 -0
  46. package/dist/useCases/consumption/openid4vc/RequestCredentials.d.ts.map +1 -0
  47. package/dist/useCases/consumption/openid4vc/RequestCredentials.js +47 -0
  48. package/dist/useCases/consumption/openid4vc/RequestCredentials.js.map +1 -0
  49. package/dist/useCases/consumption/openid4vc/ResolveAuthorizationRequest.d.ts +22 -0
  50. package/dist/useCases/consumption/openid4vc/ResolveAuthorizationRequest.d.ts.map +1 -0
  51. package/dist/useCases/consumption/openid4vc/ResolveAuthorizationRequest.js +70 -0
  52. package/dist/useCases/consumption/openid4vc/ResolveAuthorizationRequest.js.map +1 -0
  53. package/dist/useCases/consumption/openid4vc/ResolveCredentialOffer.d.ts +20 -0
  54. package/dist/useCases/consumption/openid4vc/ResolveCredentialOffer.d.ts.map +1 -0
  55. package/dist/useCases/consumption/openid4vc/ResolveCredentialOffer.js +52 -0
  56. package/dist/useCases/consumption/openid4vc/ResolveCredentialOffer.js.map +1 -0
  57. package/dist/useCases/consumption/openid4vc/StoreCredentials.d.ts +21 -0
  58. package/dist/useCases/consumption/openid4vc/StoreCredentials.d.ts.map +1 -0
  59. package/dist/useCases/consumption/openid4vc/StoreCredentials.js +47 -0
  60. package/dist/useCases/consumption/openid4vc/StoreCredentials.js.map +1 -0
  61. package/dist/useCases/consumption/openid4vc/VerifyPresentationToken.d.ts +27 -0
  62. package/dist/useCases/consumption/openid4vc/VerifyPresentationToken.d.ts.map +1 -0
  63. package/dist/useCases/consumption/openid4vc/VerifyPresentationToken.js +50 -0
  64. package/dist/useCases/consumption/openid4vc/VerifyPresentationToken.js.map +1 -0
  65. package/dist/useCases/consumption/openid4vc/index.d.ts +8 -0
  66. package/dist/useCases/consumption/openid4vc/index.d.ts.map +1 -0
  67. package/dist/useCases/consumption/openid4vc/index.js +24 -0
  68. package/dist/useCases/consumption/openid4vc/index.js.map +1 -0
  69. package/package.json +30 -8
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetIdentityMetadataRequest = exports.DeleteIdentityMetadataRequest = exports.UpdateDraftRequest = exports.GetDraftsRequest = exports.GetDraftRequest = exports.DeleteDraftRequest = exports.CreateDraftRequest = exports.ValidateIQLQueryRequest = exports.SucceedRelationshipAttributeAndNotifyPeerRequest = exports.SucceedOwnIdentityAttributeRequest = exports.ShareOwnIdentityAttributeRequest = exports.SetAttributeDeletionInfoOfDeletionProposedRelationshipRequest = exports.NotifyPeerAboutOwnIdentityAttributeSuccessionRequest = exports.MarkAttributeAsViewedRequest = exports.GetVersionsOfAttributeSharedWithPeerRequest = exports.GetVersionsOfAttributeRequest = exports.GetPeerAttributesRequest = exports.GetOwnIdentityAttributesRequest = exports.GetOwnAttributesSharedWithPeerRequest = exports.GetForwardingDetailsForAttributeRequest = exports.GetAttributesRequest = exports.GetAttributeRequest = exports.ExecuteThirdPartyRelationshipAttributeQueryRequest = exports.ExecuteRelationshipAttributeQueryRequest = exports.ExecuteIQLQueryRequest = exports.ExecuteIdentityAttributeQueryRequest = exports.DeleteSharedAttributesForRejectedOrRevokedRelationshipRequest = exports.DeleteAttributeAndNotifyRequest = exports.CreateOwnIdentityAttributeRequest = exports.CreateAndShareRelationshipAttributeRequest = exports.SentOutgoingRequestRequest = exports.RequireManualDecisionOfIncomingRequestRequest = exports.ReceivedIncomingRequestRequest = exports.GetOutgoingRequestsRequest = exports.GetOutgoingRequestRequest = exports.GetIncomingRequestsRequest = exports.GetIncomingRequestRequest = exports.DiscardOutgoingRequestRequest = exports.DeleteIncomingRequestRequest = exports.CreateOutgoingRequestRequest = exports.CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponseRequest = exports.CompleteOutgoingRequestRequest = exports.CompleteIncomingRequestRequest = exports.CheckPrerequisitesOfIncomingRequestRequest = exports.RejectIncomingRequestRequest = exports.CanCreateOutgoingRequestRequest = exports.AcceptIncomingRequestRequest = exports.ChangeDefaultOwnIdentityAttributeRequest = exports.CanCreateOwnIdentityAttributeRequest = exports.LoadPeerTokenAnonymousRequest = void 0;
4
- exports.SendMessageRequest = exports.MarkMessageAsUnreadRequest = exports.MarkMessageAsReadRequest = exports.GetMessagesRequest = exports.GetMessageRequest = exports.GetAttachmentMetadataRequest = exports.CreateIdentityRecoveryKitRequest = exports.UpdateDeviceRequest = exports.UpdateCurrentDeviceRequest = exports.SetCommunicationLanguageRequest = exports.GetDeviceRequest = exports.FillDeviceOnboardingTokenWithNewDeviceRequest = exports.DeleteDeviceRequest = exports.ValidateChallengeRequest = exports.CreateChallengeRequest = exports.isCreateDeviceChallengeRequest = exports.CreateDeviceChallengeRequest = exports.isCreateIdentityChallengeRequest = exports.CreateIdentityChallengeRequest = exports.isCreateRelationshipChallengeRequest = exports.CreateRelationshipChallengeRequest = exports.SendBackboneNotificationRequest = exports.GetAnnouncementsRequest = exports.DownloadAttachmentRequest = exports.InitiateIdentityDeletionProcessRequest = exports.GetIdentityDeletionProcessRequest = exports.UploadOwnFileValidatableRequest = exports.UploadOwnFileRequest = exports.RegenerateFileOwnershipTokenRequest = exports.GetOrLoadFileRequest = exports.GetFilesRequest = exports.GetFileRequest = exports.DeleteFileRequest = exports.CreateTokenForFileRequest = exports.RegisterPushNotificationTokenRequest = exports.LoadItemFromReferenceRequest = exports.DownloadFileRequest = exports.UpsertSettingByKeyRequest = exports.UpdateSettingRequest = exports.GetSettingsRequest = exports.GetSettingByKeyRequest = exports.GetSettingRequest = exports.DeleteSettingRequest = exports.CreateSettingRequest = exports.SentNotificationRequest = exports.ReceivedNotificationRequest = exports.ProcessNotificationByIdRequest = exports.GetNotificationsRequest = exports.GetNotificationRequest = exports.UpsertIdentityMetadataRequest = void 0;
5
- exports.Citizenship = exports.Surname = exports.Pseudonym = exports.MiddleName = exports.HonorificSuffix = exports.HonorificPrefix = exports.GivenName = exports.BirthName = exports.SchematizedXML = exports.SchematizedJSON = exports.IdentityFileReference = exports.DisplayName = exports.BankAccount = exports.BirthPlace = exports.BirthDate = exports.Affiliation = exports.StreetAddress = exports.PostOfficeBoxAddress = exports.DeliveryBoxAddress = exports.Website = exports.PhoneNumber = exports.FaxNumber = exports.EMailAddress = exports.CommunicationLanguage = exports.LoadPeerTokenRequest = exports.GetTokensRequest = exports.GetTokenRequest = exports.DeleteTokenRequest = exports.CreateOwnTokenRequest = exports.LoadPeerRelationshipTemplateRequest = exports.GetRelationshipTemplatesRequest = exports.GetRelationshipTemplateRequest = exports.DeleteRelationshipTemplateRequest = exports.CreateTokenForOwnRelationshipTemplateRequest = exports.CreateOwnRelationshipTemplateRequest = exports.TerminateRelationshipRequest = exports.RevokeRelationshipReactivationRequest = exports.RevokeRelationshipRequest = exports.RequestRelationshipReactivationRequest = exports.RejectRelationshipReactivationRequest = exports.RejectRelationshipRequest = exports.GetRelationshipsRequest = exports.GetRelationshipByAddressRequest = exports.GetRelationshipRequest = exports.GetAttributesForRelationshipRequest = exports.DecomposeRelationshipRequest = exports.CreateRelationshipRequest = exports.CanCreateRelationshipRequest = exports.AcceptRelationshipReactivationRequest = exports.AcceptRelationshipRequest = void 0;
6
- exports.Sex = exports.Nationality = exports.MaritalStatus = exports.JobTitle = void 0;
4
+ exports.UpdateDeviceRequest = exports.UpdateCurrentDeviceRequest = exports.SetCommunicationLanguageRequest = exports.GetDeviceRequest = exports.FillDeviceOnboardingTokenWithNewDeviceRequest = exports.DeleteDeviceRequest = exports.ValidateChallengeRequest = exports.CreateChallengeRequest = exports.isCreateDeviceChallengeRequest = exports.CreateDeviceChallengeRequest = exports.isCreateIdentityChallengeRequest = exports.CreateIdentityChallengeRequest = exports.isCreateRelationshipChallengeRequest = exports.CreateRelationshipChallengeRequest = exports.SendBackboneNotificationRequest = exports.GetAnnouncementsRequest = exports.DownloadAttachmentRequest = exports.InitiateIdentityDeletionProcessRequest = exports.GetIdentityDeletionProcessRequest = exports.UploadOwnFileValidatableRequest = exports.UploadOwnFileRequest = exports.RegenerateFileOwnershipTokenRequest = exports.GetOrLoadFileRequest = exports.GetFilesRequest = exports.GetFileRequest = exports.DeleteFileRequest = exports.CreateTokenForFileRequest = exports.RegisterPushNotificationTokenRequest = exports.LoadItemFromReferenceRequest = exports.DownloadFileRequest = exports.UpsertSettingByKeyRequest = exports.UpdateSettingRequest = exports.GetSettingsRequest = exports.GetSettingByKeyRequest = exports.GetSettingRequest = exports.DeleteSettingRequest = exports.CreateSettingRequest = exports.VerifyPresentationTokenRequest = exports.StoreCredentialsRequest = exports.ResolveCredentialOfferRequest = exports.ResolveAuthorizationRequestRequest = exports.RequestCredentialsRequest = exports.CreatePresentationTokenRequest = exports.AcceptAuthorizationRequestRequest = exports.SentNotificationRequest = exports.ReceivedNotificationRequest = exports.ProcessNotificationByIdRequest = exports.GetNotificationsRequest = exports.GetNotificationRequest = exports.UpsertIdentityMetadataRequest = void 0;
5
+ exports.BirthName = exports.SchematizedXML = exports.SchematizedJSON = exports.IdentityFileReference = exports.DisplayName = exports.BankAccount = exports.BirthPlace = exports.BirthDate = exports.Affiliation = exports.StreetAddress = exports.PostOfficeBoxAddress = exports.DeliveryBoxAddress = exports.Website = exports.PhoneNumber = exports.FaxNumber = exports.EMailAddress = exports.CommunicationLanguage = exports.LoadPeerTokenRequest = exports.GetTokensRequest = exports.GetTokenRequest = exports.DeleteTokenRequest = exports.CreateOwnTokenRequest = exports.LoadPeerRelationshipTemplateRequest = exports.GetRelationshipTemplatesRequest = exports.GetRelationshipTemplateRequest = exports.DeleteRelationshipTemplateRequest = exports.CreateTokenForOwnRelationshipTemplateRequest = exports.CreateOwnRelationshipTemplateRequest = exports.TerminateRelationshipRequest = exports.RevokeRelationshipReactivationRequest = exports.RevokeRelationshipRequest = exports.RequestRelationshipReactivationRequest = exports.RejectRelationshipReactivationRequest = exports.RejectRelationshipRequest = exports.GetRelationshipsRequest = exports.GetRelationshipByAddressRequest = exports.GetRelationshipRequest = exports.GetAttributesForRelationshipRequest = exports.DecomposeRelationshipRequest = exports.CreateRelationshipRequest = exports.CanCreateRelationshipRequest = exports.AcceptRelationshipReactivationRequest = exports.AcceptRelationshipRequest = exports.SendMessageRequest = exports.MarkMessageAsUnreadRequest = exports.MarkMessageAsReadRequest = exports.GetMessagesRequest = exports.GetMessageRequest = exports.GetAttachmentMetadataRequest = exports.CreateIdentityRecoveryKitRequest = void 0;
6
+ exports.VerifiableCredential = exports.Sex = exports.Nationality = exports.MaritalStatus = exports.JobTitle = exports.Citizenship = exports.Surname = exports.Pseudonym = exports.MiddleName = exports.HonorificSuffix = exports.HonorificPrefix = exports.GivenName = void 0;
7
7
  exports.LoadPeerTokenAnonymousRequest = {
8
8
  "$schema": "http://json-schema.org/draft-07/schema#",
9
9
  "$ref": "#/definitions/LoadPeerTokenAnonymousRequest",
@@ -316,6 +316,12 @@ exports.CanCreateOutgoingRequestRequest = {
316
316
  },
317
317
  {
318
318
  "$ref": "#/definitions/TransferFileOwnershipRequestItemJSON"
319
+ },
320
+ {
321
+ "$ref": "#/definitions/ShareCredentialOfferRequestItemJSON"
322
+ },
323
+ {
324
+ "$ref": "#/definitions/ShareAuthorizationRequestRequestItemJSON"
319
325
  }
320
326
  ]
321
327
  },
@@ -1181,6 +1187,9 @@ exports.CanCreateOutgoingRequestRequest = {
1181
1187
  {
1182
1188
  "$ref": "#/definitions/SurnameJSON"
1183
1189
  },
1190
+ {
1191
+ "$ref": "#/definitions/VerifiableCredentialJSON"
1192
+ },
1184
1193
  {
1185
1194
  "$ref": "#/definitions/WebsiteJSON"
1186
1195
  }
@@ -1881,6 +1890,46 @@ exports.CanCreateOutgoingRequestRequest = {
1881
1890
  ],
1882
1891
  "additionalProperties": false
1883
1892
  },
1893
+ "VerifiableCredentialJSON": {
1894
+ "type": "object",
1895
+ "properties": {
1896
+ "@type": {
1897
+ "type": "string",
1898
+ "const": "VerifiableCredential"
1899
+ },
1900
+ "@context": {
1901
+ "type": "string"
1902
+ },
1903
+ "@version": {
1904
+ "type": "string"
1905
+ },
1906
+ "value": {
1907
+ "anyOf": [
1908
+ {
1909
+ "type": "string"
1910
+ },
1911
+ {
1912
+ "type": "object"
1913
+ }
1914
+ ]
1915
+ },
1916
+ "type": {
1917
+ "type": "string"
1918
+ },
1919
+ "displayInformation": {
1920
+ "type": "array",
1921
+ "items": {
1922
+ "type": "object"
1923
+ }
1924
+ }
1925
+ },
1926
+ "required": [
1927
+ "@type",
1928
+ "type",
1929
+ "value"
1930
+ ],
1931
+ "additionalProperties": false
1932
+ },
1884
1933
  "WebsiteJSON": {
1885
1934
  "type": "object",
1886
1935
  "properties": {
@@ -2144,6 +2193,7 @@ exports.CanCreateOutgoingRequestRequest = {
2144
2193
  "Sex",
2145
2194
  "StreetAddress",
2146
2195
  "Surname",
2196
+ "VerifiableCredential",
2147
2197
  "Website"
2148
2198
  ]
2149
2199
  },
@@ -2729,6 +2779,78 @@ exports.CanCreateOutgoingRequestRequest = {
2729
2779
  ],
2730
2780
  "additionalProperties": false
2731
2781
  },
2782
+ "ShareCredentialOfferRequestItemJSON": {
2783
+ "type": "object",
2784
+ "properties": {
2785
+ "@type": {
2786
+ "type": "string",
2787
+ "const": "ShareCredentialOfferRequestItem"
2788
+ },
2789
+ "@context": {
2790
+ "type": "string"
2791
+ },
2792
+ "@version": {
2793
+ "type": "string"
2794
+ },
2795
+ "description": {
2796
+ "type": "string",
2797
+ "description": "The human-readable description of this item."
2798
+ },
2799
+ "metadata": {
2800
+ "type": "object",
2801
+ "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response."
2802
+ },
2803
+ "mustBeAccepted": {
2804
+ "type": "boolean",
2805
+ "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not."
2806
+ },
2807
+ "credentialOfferUrl": {
2808
+ "type": "string"
2809
+ }
2810
+ },
2811
+ "required": [
2812
+ "@type",
2813
+ "credentialOfferUrl",
2814
+ "mustBeAccepted"
2815
+ ],
2816
+ "additionalProperties": false
2817
+ },
2818
+ "ShareAuthorizationRequestRequestItemJSON": {
2819
+ "type": "object",
2820
+ "properties": {
2821
+ "@type": {
2822
+ "type": "string",
2823
+ "const": "ShareAuthorizationRequestRequestItem"
2824
+ },
2825
+ "@context": {
2826
+ "type": "string"
2827
+ },
2828
+ "@version": {
2829
+ "type": "string"
2830
+ },
2831
+ "description": {
2832
+ "type": "string",
2833
+ "description": "The human-readable description of this item."
2834
+ },
2835
+ "metadata": {
2836
+ "type": "object",
2837
+ "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response."
2838
+ },
2839
+ "mustBeAccepted": {
2840
+ "type": "boolean",
2841
+ "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not."
2842
+ },
2843
+ "authorizationRequestUrl": {
2844
+ "type": "string"
2845
+ }
2846
+ },
2847
+ "required": [
2848
+ "@type",
2849
+ "authorizationRequestUrl",
2850
+ "mustBeAccepted"
2851
+ ],
2852
+ "additionalProperties": false
2853
+ },
2732
2854
  "AddressString": {
2733
2855
  "type": "string",
2734
2856
  "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
@@ -3242,6 +3364,9 @@ exports.CompleteOutgoingRequestRequest = {
3242
3364
  {
3243
3365
  "$ref": "#/definitions/SurnameJSON"
3244
3366
  },
3367
+ {
3368
+ "$ref": "#/definitions/VerifiableCredentialJSON"
3369
+ },
3245
3370
  {
3246
3371
  "$ref": "#/definitions/WebsiteJSON"
3247
3372
  }
@@ -3942,6 +4067,46 @@ exports.CompleteOutgoingRequestRequest = {
3942
4067
  ],
3943
4068
  "additionalProperties": false
3944
4069
  },
4070
+ "VerifiableCredentialJSON": {
4071
+ "type": "object",
4072
+ "properties": {
4073
+ "@type": {
4074
+ "type": "string",
4075
+ "const": "VerifiableCredential"
4076
+ },
4077
+ "@context": {
4078
+ "type": "string"
4079
+ },
4080
+ "@version": {
4081
+ "type": "string"
4082
+ },
4083
+ "value": {
4084
+ "anyOf": [
4085
+ {
4086
+ "type": "string"
4087
+ },
4088
+ {
4089
+ "type": "object"
4090
+ }
4091
+ ]
4092
+ },
4093
+ "type": {
4094
+ "type": "string"
4095
+ },
4096
+ "displayInformation": {
4097
+ "type": "array",
4098
+ "items": {
4099
+ "type": "object"
4100
+ }
4101
+ }
4102
+ },
4103
+ "required": [
4104
+ "@type",
4105
+ "type",
4106
+ "value"
4107
+ ],
4108
+ "additionalProperties": false
4109
+ },
3945
4110
  "WebsiteJSON": {
3946
4111
  "type": "object",
3947
4112
  "properties": {
@@ -5293,6 +5458,9 @@ exports.CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponseRequest
5293
5458
  {
5294
5459
  "$ref": "#/definitions/SurnameJSON"
5295
5460
  },
5461
+ {
5462
+ "$ref": "#/definitions/VerifiableCredentialJSON"
5463
+ },
5296
5464
  {
5297
5465
  "$ref": "#/definitions/WebsiteJSON"
5298
5466
  }
@@ -5993,6 +6161,46 @@ exports.CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponseRequest
5993
6161
  ],
5994
6162
  "additionalProperties": false
5995
6163
  },
6164
+ "VerifiableCredentialJSON": {
6165
+ "type": "object",
6166
+ "properties": {
6167
+ "@type": {
6168
+ "type": "string",
6169
+ "const": "VerifiableCredential"
6170
+ },
6171
+ "@context": {
6172
+ "type": "string"
6173
+ },
6174
+ "@version": {
6175
+ "type": "string"
6176
+ },
6177
+ "value": {
6178
+ "anyOf": [
6179
+ {
6180
+ "type": "string"
6181
+ },
6182
+ {
6183
+ "type": "object"
6184
+ }
6185
+ ]
6186
+ },
6187
+ "type": {
6188
+ "type": "string"
6189
+ },
6190
+ "displayInformation": {
6191
+ "type": "array",
6192
+ "items": {
6193
+ "type": "object"
6194
+ }
6195
+ }
6196
+ },
6197
+ "required": [
6198
+ "@type",
6199
+ "type",
6200
+ "value"
6201
+ ],
6202
+ "additionalProperties": false
6203
+ },
5996
6204
  "WebsiteJSON": {
5997
6205
  "type": "object",
5998
6206
  "properties": {
@@ -7096,6 +7304,12 @@ exports.CreateOutgoingRequestRequest = {
7096
7304
  },
7097
7305
  {
7098
7306
  "$ref": "#/definitions/TransferFileOwnershipRequestItemJSON"
7307
+ },
7308
+ {
7309
+ "$ref": "#/definitions/ShareCredentialOfferRequestItemJSON"
7310
+ },
7311
+ {
7312
+ "$ref": "#/definitions/ShareAuthorizationRequestRequestItemJSON"
7099
7313
  }
7100
7314
  ]
7101
7315
  },
@@ -7961,6 +8175,9 @@ exports.CreateOutgoingRequestRequest = {
7961
8175
  {
7962
8176
  "$ref": "#/definitions/SurnameJSON"
7963
8177
  },
8178
+ {
8179
+ "$ref": "#/definitions/VerifiableCredentialJSON"
8180
+ },
7964
8181
  {
7965
8182
  "$ref": "#/definitions/WebsiteJSON"
7966
8183
  }
@@ -8661,6 +8878,46 @@ exports.CreateOutgoingRequestRequest = {
8661
8878
  ],
8662
8879
  "additionalProperties": false
8663
8880
  },
8881
+ "VerifiableCredentialJSON": {
8882
+ "type": "object",
8883
+ "properties": {
8884
+ "@type": {
8885
+ "type": "string",
8886
+ "const": "VerifiableCredential"
8887
+ },
8888
+ "@context": {
8889
+ "type": "string"
8890
+ },
8891
+ "@version": {
8892
+ "type": "string"
8893
+ },
8894
+ "value": {
8895
+ "anyOf": [
8896
+ {
8897
+ "type": "string"
8898
+ },
8899
+ {
8900
+ "type": "object"
8901
+ }
8902
+ ]
8903
+ },
8904
+ "type": {
8905
+ "type": "string"
8906
+ },
8907
+ "displayInformation": {
8908
+ "type": "array",
8909
+ "items": {
8910
+ "type": "object"
8911
+ }
8912
+ }
8913
+ },
8914
+ "required": [
8915
+ "@type",
8916
+ "type",
8917
+ "value"
8918
+ ],
8919
+ "additionalProperties": false
8920
+ },
8664
8921
  "WebsiteJSON": {
8665
8922
  "type": "object",
8666
8923
  "properties": {
@@ -8924,6 +9181,7 @@ exports.CreateOutgoingRequestRequest = {
8924
9181
  "Sex",
8925
9182
  "StreetAddress",
8926
9183
  "Surname",
9184
+ "VerifiableCredential",
8927
9185
  "Website"
8928
9186
  ]
8929
9187
  },
@@ -9509,25 +9767,97 @@ exports.CreateOutgoingRequestRequest = {
9509
9767
  ],
9510
9768
  "additionalProperties": false
9511
9769
  },
9512
- "AddressString": {
9513
- "type": "string",
9514
- "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
9515
- }
9516
- }
9517
- };
9518
- exports.DeleteIncomingRequestRequest = {
9519
- "$schema": "http://json-schema.org/draft-07/schema#",
9520
- "$ref": "#/definitions/DeleteIncomingRequestRequest",
9521
- "definitions": {
9522
- "DeleteIncomingRequestRequest": {
9770
+ "ShareCredentialOfferRequestItemJSON": {
9523
9771
  "type": "object",
9524
9772
  "properties": {
9525
- "requestId": {
9773
+ "@type": {
9774
+ "type": "string",
9775
+ "const": "ShareCredentialOfferRequestItem"
9776
+ },
9777
+ "@context": {
9778
+ "type": "string"
9779
+ },
9780
+ "@version": {
9781
+ "type": "string"
9782
+ },
9783
+ "description": {
9784
+ "type": "string",
9785
+ "description": "The human-readable description of this item."
9786
+ },
9787
+ "metadata": {
9788
+ "type": "object",
9789
+ "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response."
9790
+ },
9791
+ "mustBeAccepted": {
9792
+ "type": "boolean",
9793
+ "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not."
9794
+ },
9795
+ "credentialOfferUrl": {
9526
9796
  "type": "string"
9527
9797
  }
9528
9798
  },
9529
9799
  "required": [
9530
- "requestId"
9800
+ "@type",
9801
+ "credentialOfferUrl",
9802
+ "mustBeAccepted"
9803
+ ],
9804
+ "additionalProperties": false
9805
+ },
9806
+ "ShareAuthorizationRequestRequestItemJSON": {
9807
+ "type": "object",
9808
+ "properties": {
9809
+ "@type": {
9810
+ "type": "string",
9811
+ "const": "ShareAuthorizationRequestRequestItem"
9812
+ },
9813
+ "@context": {
9814
+ "type": "string"
9815
+ },
9816
+ "@version": {
9817
+ "type": "string"
9818
+ },
9819
+ "description": {
9820
+ "type": "string",
9821
+ "description": "The human-readable description of this item."
9822
+ },
9823
+ "metadata": {
9824
+ "type": "object",
9825
+ "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response."
9826
+ },
9827
+ "mustBeAccepted": {
9828
+ "type": "boolean",
9829
+ "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not."
9830
+ },
9831
+ "authorizationRequestUrl": {
9832
+ "type": "string"
9833
+ }
9834
+ },
9835
+ "required": [
9836
+ "@type",
9837
+ "authorizationRequestUrl",
9838
+ "mustBeAccepted"
9839
+ ],
9840
+ "additionalProperties": false
9841
+ },
9842
+ "AddressString": {
9843
+ "type": "string",
9844
+ "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
9845
+ }
9846
+ }
9847
+ };
9848
+ exports.DeleteIncomingRequestRequest = {
9849
+ "$schema": "http://json-schema.org/draft-07/schema#",
9850
+ "$ref": "#/definitions/DeleteIncomingRequestRequest",
9851
+ "definitions": {
9852
+ "DeleteIncomingRequestRequest": {
9853
+ "type": "object",
9854
+ "properties": {
9855
+ "requestId": {
9856
+ "type": "string"
9857
+ }
9858
+ },
9859
+ "required": [
9860
+ "requestId"
9531
9861
  ],
9532
9862
  "additionalProperties": false
9533
9863
  }
@@ -10160,6 +10490,12 @@ exports.ReceivedIncomingRequestRequest = {
10160
10490
  },
10161
10491
  {
10162
10492
  "$ref": "#/definitions/TransferFileOwnershipRequestItemJSON"
10493
+ },
10494
+ {
10495
+ "$ref": "#/definitions/ShareCredentialOfferRequestItemJSON"
10496
+ },
10497
+ {
10498
+ "$ref": "#/definitions/ShareAuthorizationRequestRequestItemJSON"
10163
10499
  }
10164
10500
  ]
10165
10501
  },
@@ -11025,6 +11361,9 @@ exports.ReceivedIncomingRequestRequest = {
11025
11361
  {
11026
11362
  "$ref": "#/definitions/SurnameJSON"
11027
11363
  },
11364
+ {
11365
+ "$ref": "#/definitions/VerifiableCredentialJSON"
11366
+ },
11028
11367
  {
11029
11368
  "$ref": "#/definitions/WebsiteJSON"
11030
11369
  }
@@ -11725,6 +12064,46 @@ exports.ReceivedIncomingRequestRequest = {
11725
12064
  ],
11726
12065
  "additionalProperties": false
11727
12066
  },
12067
+ "VerifiableCredentialJSON": {
12068
+ "type": "object",
12069
+ "properties": {
12070
+ "@type": {
12071
+ "type": "string",
12072
+ "const": "VerifiableCredential"
12073
+ },
12074
+ "@context": {
12075
+ "type": "string"
12076
+ },
12077
+ "@version": {
12078
+ "type": "string"
12079
+ },
12080
+ "value": {
12081
+ "anyOf": [
12082
+ {
12083
+ "type": "string"
12084
+ },
12085
+ {
12086
+ "type": "object"
12087
+ }
12088
+ ]
12089
+ },
12090
+ "type": {
12091
+ "type": "string"
12092
+ },
12093
+ "displayInformation": {
12094
+ "type": "array",
12095
+ "items": {
12096
+ "type": "object"
12097
+ }
12098
+ }
12099
+ },
12100
+ "required": [
12101
+ "@type",
12102
+ "type",
12103
+ "value"
12104
+ ],
12105
+ "additionalProperties": false
12106
+ },
11728
12107
  "WebsiteJSON": {
11729
12108
  "type": "object",
11730
12109
  "properties": {
@@ -11988,6 +12367,7 @@ exports.ReceivedIncomingRequestRequest = {
11988
12367
  "Sex",
11989
12368
  "StreetAddress",
11990
12369
  "Surname",
12370
+ "VerifiableCredential",
11991
12371
  "Website"
11992
12372
  ]
11993
12373
  },
@@ -12573,6 +12953,78 @@ exports.ReceivedIncomingRequestRequest = {
12573
12953
  ],
12574
12954
  "additionalProperties": false
12575
12955
  },
12956
+ "ShareCredentialOfferRequestItemJSON": {
12957
+ "type": "object",
12958
+ "properties": {
12959
+ "@type": {
12960
+ "type": "string",
12961
+ "const": "ShareCredentialOfferRequestItem"
12962
+ },
12963
+ "@context": {
12964
+ "type": "string"
12965
+ },
12966
+ "@version": {
12967
+ "type": "string"
12968
+ },
12969
+ "description": {
12970
+ "type": "string",
12971
+ "description": "The human-readable description of this item."
12972
+ },
12973
+ "metadata": {
12974
+ "type": "object",
12975
+ "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response."
12976
+ },
12977
+ "mustBeAccepted": {
12978
+ "type": "boolean",
12979
+ "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not."
12980
+ },
12981
+ "credentialOfferUrl": {
12982
+ "type": "string"
12983
+ }
12984
+ },
12985
+ "required": [
12986
+ "@type",
12987
+ "credentialOfferUrl",
12988
+ "mustBeAccepted"
12989
+ ],
12990
+ "additionalProperties": false
12991
+ },
12992
+ "ShareAuthorizationRequestRequestItemJSON": {
12993
+ "type": "object",
12994
+ "properties": {
12995
+ "@type": {
12996
+ "type": "string",
12997
+ "const": "ShareAuthorizationRequestRequestItem"
12998
+ },
12999
+ "@context": {
13000
+ "type": "string"
13001
+ },
13002
+ "@version": {
13003
+ "type": "string"
13004
+ },
13005
+ "description": {
13006
+ "type": "string",
13007
+ "description": "The human-readable description of this item."
13008
+ },
13009
+ "metadata": {
13010
+ "type": "object",
13011
+ "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response."
13012
+ },
13013
+ "mustBeAccepted": {
13014
+ "type": "boolean",
13015
+ "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not."
13016
+ },
13017
+ "authorizationRequestUrl": {
13018
+ "type": "string"
13019
+ }
13020
+ },
13021
+ "required": [
13022
+ "@type",
13023
+ "authorizationRequestUrl",
13024
+ "mustBeAccepted"
13025
+ ],
13026
+ "additionalProperties": false
13027
+ },
12576
13028
  "MessageIdString": {
12577
13029
  "type": "string",
12578
13030
  "pattern": "MSG[A-Za-z0-9]{17}"
@@ -13502,6 +13954,7 @@ exports.ExecuteIdentityAttributeQueryRequest = {
13502
13954
  "Sex",
13503
13955
  "StreetAddress",
13504
13956
  "Surname",
13957
+ "VerifiableCredential",
13505
13958
  "Website"
13506
13959
  ]
13507
13960
  },
@@ -13606,6 +14059,7 @@ exports.ExecuteIQLQueryRequest = {
13606
14059
  "Sex",
13607
14060
  "StreetAddress",
13608
14061
  "Surname",
14062
+ "VerifiableCredential",
13609
14063
  "Website"
13610
14064
  ]
13611
14065
  },
@@ -15066,6 +15520,9 @@ exports.SucceedOwnIdentityAttributeRequest = {
15066
15520
  {
15067
15521
  "$ref": "#/definitions/SurnameJSON"
15068
15522
  },
15523
+ {
15524
+ "$ref": "#/definitions/VerifiableCredentialJSON"
15525
+ },
15069
15526
  {
15070
15527
  "$ref": "#/definitions/WebsiteJSON"
15071
15528
  }
@@ -15766,6 +16223,46 @@ exports.SucceedOwnIdentityAttributeRequest = {
15766
16223
  ],
15767
16224
  "additionalProperties": false
15768
16225
  },
16226
+ "VerifiableCredentialJSON": {
16227
+ "type": "object",
16228
+ "properties": {
16229
+ "@type": {
16230
+ "type": "string",
16231
+ "const": "VerifiableCredential"
16232
+ },
16233
+ "@context": {
16234
+ "type": "string"
16235
+ },
16236
+ "@version": {
16237
+ "type": "string"
16238
+ },
16239
+ "value": {
16240
+ "anyOf": [
16241
+ {
16242
+ "type": "string"
16243
+ },
16244
+ {
16245
+ "type": "object"
16246
+ }
16247
+ ]
16248
+ },
16249
+ "type": {
16250
+ "type": "string"
16251
+ },
16252
+ "displayInformation": {
16253
+ "type": "array",
16254
+ "items": {
16255
+ "type": "object"
16256
+ }
16257
+ }
16258
+ },
16259
+ "required": [
16260
+ "@type",
16261
+ "type",
16262
+ "value"
16263
+ ],
16264
+ "additionalProperties": false
16265
+ },
15769
16266
  "WebsiteJSON": {
15770
16267
  "type": "object",
15771
16268
  "properties": {
@@ -16573,6 +17070,7 @@ exports.ValidateIQLQueryRequest = {
16573
17070
  "Sex",
16574
17071
  "StreetAddress",
16575
17072
  "Surname",
17073
+ "VerifiableCredential",
16576
17074
  "Website"
16577
17075
  ]
16578
17076
  },
@@ -16925,6 +17423,371 @@ exports.SentNotificationRequest = {
16925
17423
  }
16926
17424
  }
16927
17425
  };
17426
+ exports.AcceptAuthorizationRequestRequest = {
17427
+ "$schema": "http://json-schema.org/draft-07/schema#",
17428
+ "$ref": "#/definitions/AcceptAuthorizationRequestRequest",
17429
+ "definitions": {
17430
+ "AcceptAuthorizationRequestRequest": {
17431
+ "type": "object",
17432
+ "additionalProperties": false,
17433
+ "properties": {
17434
+ "authorizationRequest": {
17435
+ "type": "object"
17436
+ },
17437
+ "attributeId": {
17438
+ "$ref": "#/definitions/AttributeIdString"
17439
+ }
17440
+ },
17441
+ "required": [
17442
+ "attributeId",
17443
+ "authorizationRequest"
17444
+ ]
17445
+ },
17446
+ "AttributeIdString": {
17447
+ "type": "string",
17448
+ "pattern": "ATT[A-Za-z0-9]{17}"
17449
+ }
17450
+ }
17451
+ };
17452
+ exports.CreatePresentationTokenRequest = {
17453
+ "$schema": "http://json-schema.org/draft-07/schema#",
17454
+ "$ref": "#/definitions/CreatePresentationTokenRequest",
17455
+ "definitions": {
17456
+ "CreatePresentationTokenRequest": {
17457
+ "type": "object",
17458
+ "properties": {
17459
+ "attributeId": {
17460
+ "$ref": "#/definitions/AttributeIdString"
17461
+ },
17462
+ "expiresAt": {
17463
+ "$ref": "#/definitions/ISO8601DateTimeString"
17464
+ },
17465
+ "ephemeral": {
17466
+ "type": "boolean"
17467
+ }
17468
+ },
17469
+ "required": [
17470
+ "attributeId",
17471
+ "expiresAt",
17472
+ "ephemeral"
17473
+ ],
17474
+ "additionalProperties": false
17475
+ },
17476
+ "AttributeIdString": {
17477
+ "type": "string",
17478
+ "pattern": "ATT[A-Za-z0-9]{17}"
17479
+ },
17480
+ "ISO8601DateTimeString": {
17481
+ "type": "string",
17482
+ "errorMessage": "must match ISO8601 datetime format",
17483
+ "pattern": "^([+-]?\\d{4}(?!\\d{2}\\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T\\s]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24:?00)([.,]\\d+(?!:))?)?(\\17[0-5]\\d([.,]\\d+)?)?([zZ]|([+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?$"
17484
+ }
17485
+ }
17486
+ };
17487
+ exports.RequestCredentialsRequest = {
17488
+ "$schema": "http://json-schema.org/draft-07/schema#",
17489
+ "$ref": "#/definitions/RequestCredentialsRequest",
17490
+ "definitions": {
17491
+ "RequestCredentialsRequest": {
17492
+ "$ref": "#/definitions/AbstractRequestCredentialsRequest%3Calias-2033348025-74138-74264-2033348025-0-218439%3Cstring%2Cany%3E%3E"
17493
+ },
17494
+ "AbstractRequestCredentialsRequest<alias-2033348025-74138-74264-2033348025-0-218439<string,any>>": {
17495
+ "anyOf": [
17496
+ {
17497
+ "type": "object",
17498
+ "additionalProperties": false,
17499
+ "properties": {
17500
+ "credentialOffer": {
17501
+ "type": "object"
17502
+ },
17503
+ "credentialConfigurationIds": {
17504
+ "type": "array",
17505
+ "items": {
17506
+ "type": "string"
17507
+ }
17508
+ }
17509
+ },
17510
+ "required": [
17511
+ "credentialConfigurationIds",
17512
+ "credentialOffer"
17513
+ ]
17514
+ },
17515
+ {
17516
+ "type": "object",
17517
+ "additionalProperties": false,
17518
+ "properties": {
17519
+ "pinCode": {
17520
+ "type": "string"
17521
+ },
17522
+ "credentialOffer": {
17523
+ "type": "object"
17524
+ },
17525
+ "credentialConfigurationIds": {
17526
+ "type": "array",
17527
+ "items": {
17528
+ "type": "string"
17529
+ }
17530
+ }
17531
+ },
17532
+ "required": [
17533
+ "credentialConfigurationIds",
17534
+ "credentialOffer",
17535
+ "pinCode"
17536
+ ]
17537
+ },
17538
+ {
17539
+ "type": "object",
17540
+ "additionalProperties": false,
17541
+ "properties": {
17542
+ "accessToken": {
17543
+ "type": "string"
17544
+ },
17545
+ "credentialOffer": {
17546
+ "type": "object"
17547
+ },
17548
+ "credentialConfigurationIds": {
17549
+ "type": "array",
17550
+ "items": {
17551
+ "type": "string"
17552
+ }
17553
+ }
17554
+ },
17555
+ "required": [
17556
+ "accessToken",
17557
+ "credentialConfigurationIds",
17558
+ "credentialOffer"
17559
+ ]
17560
+ }
17561
+ ]
17562
+ }
17563
+ }
17564
+ };
17565
+ exports.ResolveAuthorizationRequestRequest = {
17566
+ "$schema": "http://json-schema.org/draft-07/schema#",
17567
+ "$ref": "#/definitions/ResolveAuthorizationRequestRequest",
17568
+ "definitions": {
17569
+ "ResolveAuthorizationRequestRequest": {
17570
+ "type": "object",
17571
+ "properties": {
17572
+ "authorizationRequestUrl": {
17573
+ "type": "string"
17574
+ }
17575
+ },
17576
+ "required": [
17577
+ "authorizationRequestUrl"
17578
+ ],
17579
+ "additionalProperties": false
17580
+ }
17581
+ }
17582
+ };
17583
+ exports.ResolveCredentialOfferRequest = {
17584
+ "$schema": "http://json-schema.org/draft-07/schema#",
17585
+ "$ref": "#/definitions/ResolveCredentialOfferRequest",
17586
+ "definitions": {
17587
+ "ResolveCredentialOfferRequest": {
17588
+ "type": "object",
17589
+ "properties": {
17590
+ "credentialOfferUrl": {
17591
+ "type": "string"
17592
+ }
17593
+ },
17594
+ "required": [
17595
+ "credentialOfferUrl"
17596
+ ],
17597
+ "additionalProperties": false
17598
+ }
17599
+ }
17600
+ };
17601
+ exports.StoreCredentialsRequest = {
17602
+ "$schema": "http://json-schema.org/draft-07/schema#",
17603
+ "$ref": "#/definitions/StoreCredentialsRequest",
17604
+ "definitions": {
17605
+ "StoreCredentialsRequest": {
17606
+ "type": "object",
17607
+ "additionalProperties": false,
17608
+ "properties": {
17609
+ "credentialResponses": {
17610
+ "type": "array",
17611
+ "items": {
17612
+ "type": "object"
17613
+ }
17614
+ }
17615
+ },
17616
+ "required": [
17617
+ "credentialResponses"
17618
+ ]
17619
+ }
17620
+ }
17621
+ };
17622
+ exports.VerifyPresentationTokenRequest = {
17623
+ "$schema": "http://json-schema.org/draft-07/schema#",
17624
+ "$ref": "#/definitions/VerifyPresentationTokenRequest",
17625
+ "definitions": {
17626
+ "VerifyPresentationTokenRequest": {
17627
+ "type": "object",
17628
+ "properties": {
17629
+ "token": {
17630
+ "type": "object",
17631
+ "additionalProperties": false,
17632
+ "properties": {
17633
+ "content": {
17634
+ "$ref": "#/definitions/TokenContentVerifiablePresentationJSON"
17635
+ },
17636
+ "id": {
17637
+ "type": "string"
17638
+ },
17639
+ "isOwn": {
17640
+ "type": "boolean"
17641
+ },
17642
+ "createdBy": {
17643
+ "type": "string"
17644
+ },
17645
+ "createdByDevice": {
17646
+ "type": "string"
17647
+ },
17648
+ "createdAt": {
17649
+ "type": "string"
17650
+ },
17651
+ "expiresAt": {
17652
+ "type": "string"
17653
+ },
17654
+ "forIdentity": {
17655
+ "type": "string"
17656
+ },
17657
+ "passwordProtection": {
17658
+ "$ref": "#/definitions/PasswordProtectionDTO"
17659
+ },
17660
+ "reference": {
17661
+ "type": "object",
17662
+ "properties": {
17663
+ "truncated": {
17664
+ "type": "string"
17665
+ },
17666
+ "url": {
17667
+ "type": "string"
17668
+ }
17669
+ },
17670
+ "required": [
17671
+ "truncated",
17672
+ "url"
17673
+ ],
17674
+ "additionalProperties": false
17675
+ },
17676
+ "isEphemeral": {
17677
+ "type": "boolean"
17678
+ }
17679
+ },
17680
+ "required": [
17681
+ "content",
17682
+ "createdAt",
17683
+ "createdBy",
17684
+ "createdByDevice",
17685
+ "expiresAt",
17686
+ "id",
17687
+ "isEphemeral",
17688
+ "isOwn",
17689
+ "reference"
17690
+ ]
17691
+ }
17692
+ },
17693
+ "required": [
17694
+ "token"
17695
+ ],
17696
+ "additionalProperties": false
17697
+ },
17698
+ "TokenContentVerifiablePresentationJSON": {
17699
+ "type": "object",
17700
+ "properties": {
17701
+ "@type": {
17702
+ "type": "string",
17703
+ "const": "TokenContentVerifiablePresentation"
17704
+ },
17705
+ "@context": {
17706
+ "type": "string"
17707
+ },
17708
+ "@version": {
17709
+ "type": "string"
17710
+ },
17711
+ "value": {
17712
+ "anyOf": [
17713
+ {
17714
+ "type": "string"
17715
+ },
17716
+ {
17717
+ "type": "object"
17718
+ }
17719
+ ]
17720
+ },
17721
+ "type": {
17722
+ "type": "string"
17723
+ },
17724
+ "displayInformation": {
17725
+ "type": "array",
17726
+ "items": {
17727
+ "type": "object"
17728
+ }
17729
+ }
17730
+ },
17731
+ "required": [
17732
+ "@type",
17733
+ "type",
17734
+ "value"
17735
+ ],
17736
+ "additionalProperties": false
17737
+ },
17738
+ "PasswordProtectionDTO": {
17739
+ "type": "object",
17740
+ "properties": {
17741
+ "password": {
17742
+ "type": "string"
17743
+ },
17744
+ "passwordIsPin": {
17745
+ "type": "boolean",
17746
+ "const": true
17747
+ },
17748
+ "passwordLocationIndicator": {
17749
+ "anyOf": [
17750
+ {
17751
+ "type": "string",
17752
+ "const": "RecoveryKit"
17753
+ },
17754
+ {
17755
+ "type": "string",
17756
+ "const": "Self"
17757
+ },
17758
+ {
17759
+ "type": "string",
17760
+ "const": "Letter"
17761
+ },
17762
+ {
17763
+ "type": "string",
17764
+ "const": "RegistrationLetter"
17765
+ },
17766
+ {
17767
+ "type": "string",
17768
+ "const": "Email"
17769
+ },
17770
+ {
17771
+ "type": "string",
17772
+ "const": "SMS"
17773
+ },
17774
+ {
17775
+ "type": "string",
17776
+ "const": "Website"
17777
+ },
17778
+ {
17779
+ "type": "number"
17780
+ }
17781
+ ]
17782
+ }
17783
+ },
17784
+ "required": [
17785
+ "password"
17786
+ ],
17787
+ "additionalProperties": false
17788
+ }
17789
+ }
17790
+ };
16928
17791
  exports.CreateSettingRequest = {
16929
17792
  "$schema": "http://json-schema.org/draft-07/schema#",
16930
17793
  "$ref": "#/definitions/CreateSettingRequest",
@@ -20972,4 +21835,50 @@ exports.Sex = {
20972
21835
  }
20973
21836
  }
20974
21837
  };
21838
+ exports.VerifiableCredential = {
21839
+ "$schema": "http://json-schema.org/draft-07/schema#",
21840
+ "$ref": "#/definitions/VerifiableCredential",
21841
+ "definitions": {
21842
+ "VerifiableCredential": {
21843
+ "type": "object",
21844
+ "properties": {
21845
+ "@type": {
21846
+ "type": "string",
21847
+ "const": "VerifiableCredential"
21848
+ },
21849
+ "@context": {
21850
+ "type": "string"
21851
+ },
21852
+ "@version": {
21853
+ "type": "string"
21854
+ },
21855
+ "value": {
21856
+ "anyOf": [
21857
+ {
21858
+ "type": "string"
21859
+ },
21860
+ {
21861
+ "type": "object"
21862
+ }
21863
+ ]
21864
+ },
21865
+ "type": {
21866
+ "type": "string"
21867
+ },
21868
+ "displayInformation": {
21869
+ "type": "array",
21870
+ "items": {
21871
+ "type": "object"
21872
+ }
21873
+ }
21874
+ },
21875
+ "required": [
21876
+ "@type",
21877
+ "type",
21878
+ "value"
21879
+ ],
21880
+ "additionalProperties": false
21881
+ }
21882
+ }
21883
+ };
20975
21884
  //# sourceMappingURL=Schemas.js.map