@nmshd/runtime 7.0.0-alpha.4 → 7.0.0-alpha.41

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 (319) hide show
  1. package/README.md +2 -2
  2. package/dist/ConfigHolder.d.ts +7 -0
  3. package/dist/ConfigHolder.d.ts.map +1 -0
  4. package/dist/ConfigHolder.js +14 -0
  5. package/dist/ConfigHolder.js.map +1 -0
  6. package/dist/Runtime.d.ts +2 -2
  7. package/dist/Runtime.d.ts.map +1 -1
  8. package/dist/Runtime.js +30 -17
  9. package/dist/Runtime.js.map +1 -1
  10. package/dist/buildInformation.js +5 -5
  11. package/dist/dataViews/DataViewExpander.d.ts +2 -0
  12. package/dist/dataViews/DataViewExpander.d.ts.map +1 -1
  13. package/dist/dataViews/DataViewExpander.js +171 -145
  14. package/dist/dataViews/DataViewExpander.js.map +1 -1
  15. package/dist/dataViews/consumption/LocalRequestDVO.d.ts +1 -0
  16. package/dist/dataViews/consumption/LocalRequestDVO.d.ts.map +1 -1
  17. package/dist/dataViews/consumption/index.d.ts +0 -1
  18. package/dist/dataViews/consumption/index.d.ts.map +1 -1
  19. package/dist/dataViews/consumption/index.js +0 -1
  20. package/dist/dataViews/consumption/index.js.map +1 -1
  21. package/dist/dataViews/content/RequestItemDVOs.d.ts +13 -3
  22. package/dist/dataViews/content/RequestItemDVOs.d.ts.map +1 -1
  23. package/dist/dataViews/content/ResponseItemDVOs.d.ts +15 -6
  24. package/dist/dataViews/content/ResponseItemDVOs.d.ts.map +1 -1
  25. package/dist/dataViews/transport/FileDVO.d.ts +4 -1
  26. package/dist/dataViews/transport/FileDVO.d.ts.map +1 -1
  27. package/dist/dataViews/transport/MessageDVO.d.ts +2 -2
  28. package/dist/dataViews/transport/RelationshipDVO.d.ts +1 -0
  29. package/dist/dataViews/transport/RelationshipDVO.d.ts.map +1 -1
  30. package/dist/events/EventProxy.d.ts.map +1 -1
  31. package/dist/events/EventProxy.js +9 -1
  32. package/dist/events/EventProxy.js.map +1 -1
  33. package/dist/events/consumption/index.d.ts +0 -1
  34. package/dist/events/consumption/index.d.ts.map +1 -1
  35. package/dist/events/consumption/index.js +0 -1
  36. package/dist/events/consumption/index.js.map +1 -1
  37. package/dist/events/transport/FileOwnershipClaimedEvent.d.ts +7 -0
  38. package/dist/events/transport/FileOwnershipClaimedEvent.d.ts.map +1 -0
  39. package/dist/events/transport/FileOwnershipClaimedEvent.js +12 -0
  40. package/dist/events/transport/FileOwnershipClaimedEvent.js.map +1 -0
  41. package/dist/events/transport/FileOwnershipLockedEvent.d.ts +7 -0
  42. package/dist/events/transport/FileOwnershipLockedEvent.d.ts.map +1 -0
  43. package/dist/events/transport/FileOwnershipLockedEvent.js +12 -0
  44. package/dist/events/transport/FileOwnershipLockedEvent.js.map +1 -0
  45. package/dist/events/transport/MessageDeliveredEvent.js +1 -1
  46. package/dist/events/transport/RelationshipTemplateAllocationsExhaustedEvent.d.ts +7 -0
  47. package/dist/events/transport/RelationshipTemplateAllocationsExhaustedEvent.d.ts.map +1 -0
  48. package/dist/events/transport/RelationshipTemplateAllocationsExhaustedEvent.js +12 -0
  49. package/dist/events/transport/RelationshipTemplateAllocationsExhaustedEvent.js.map +1 -0
  50. package/dist/events/transport/index.d.ts +3 -0
  51. package/dist/events/transport/index.d.ts.map +1 -1
  52. package/dist/events/transport/index.js +3 -0
  53. package/dist/events/transport/index.js.map +1 -1
  54. package/dist/extensibility/TransportServices.d.ts +3 -2
  55. package/dist/extensibility/TransportServices.d.ts.map +1 -1
  56. package/dist/extensibility/TransportServices.js +4 -1
  57. package/dist/extensibility/TransportServices.js.map +1 -1
  58. package/dist/extensibility/facades/consumption/AttributesFacade.d.ts +4 -6
  59. package/dist/extensibility/facades/consumption/AttributesFacade.d.ts.map +1 -1
  60. package/dist/extensibility/facades/consumption/AttributesFacade.js +8 -8
  61. package/dist/extensibility/facades/consumption/AttributesFacade.js.map +1 -1
  62. package/dist/extensibility/facades/transport/AccountFacade.d.ts +4 -4
  63. package/dist/extensibility/facades/transport/AccountFacade.d.ts.map +1 -1
  64. package/dist/extensibility/facades/transport/AccountFacade.js +5 -5
  65. package/dist/extensibility/facades/transport/AccountFacade.js.map +1 -1
  66. package/dist/extensibility/facades/transport/AnnouncementsFacade.d.ts +9 -0
  67. package/dist/extensibility/facades/transport/AnnouncementsFacade.d.ts.map +1 -0
  68. package/dist/extensibility/facades/transport/AnnouncementsFacade.js +31 -0
  69. package/dist/extensibility/facades/transport/AnnouncementsFacade.js.map +1 -0
  70. package/dist/extensibility/facades/transport/FilesFacade.d.ts +4 -6
  71. package/dist/extensibility/facades/transport/FilesFacade.d.ts.map +1 -1
  72. package/dist/extensibility/facades/transport/FilesFacade.js +5 -11
  73. package/dist/extensibility/facades/transport/FilesFacade.js.map +1 -1
  74. package/dist/extensibility/facades/transport/RelationshipTemplatesFacade.d.ts +4 -8
  75. package/dist/extensibility/facades/transport/RelationshipTemplatesFacade.d.ts.map +1 -1
  76. package/dist/extensibility/facades/transport/RelationshipTemplatesFacade.js +5 -17
  77. package/dist/extensibility/facades/transport/RelationshipTemplatesFacade.js.map +1 -1
  78. package/dist/extensibility/facades/transport/TokensFacade.d.ts +2 -4
  79. package/dist/extensibility/facades/transport/TokensFacade.d.ts.map +1 -1
  80. package/dist/extensibility/facades/transport/TokensFacade.js +2 -8
  81. package/dist/extensibility/facades/transport/TokensFacade.js.map +1 -1
  82. package/dist/extensibility/facades/transport/index.d.ts +1 -0
  83. package/dist/extensibility/facades/transport/index.d.ts.map +1 -1
  84. package/dist/extensibility/facades/transport/index.js +1 -0
  85. package/dist/extensibility/facades/transport/index.js.map +1 -1
  86. package/dist/extensibility/modules/RuntimeModule.d.ts +2 -3
  87. package/dist/extensibility/modules/RuntimeModule.d.ts.map +1 -1
  88. package/dist/extensibility/modules/RuntimeModule.js +2 -4
  89. package/dist/extensibility/modules/RuntimeModule.js.map +1 -1
  90. package/dist/extensibility/modules/RuntimeModuleRegistry.d.ts +0 -1
  91. package/dist/extensibility/modules/RuntimeModuleRegistry.d.ts.map +1 -1
  92. package/dist/extensibility/modules/RuntimeModuleRegistry.js +0 -3
  93. package/dist/extensibility/modules/RuntimeModuleRegistry.js.map +1 -1
  94. package/dist/modules/DeciderModule.d.ts +2 -0
  95. package/dist/modules/DeciderModule.d.ts.map +1 -1
  96. package/dist/modules/DeciderModule.js +36 -22
  97. package/dist/modules/DeciderModule.js.map +1 -1
  98. package/dist/modules/RequestModule.d.ts.map +1 -1
  99. package/dist/modules/RequestModule.js +16 -11
  100. package/dist/modules/RequestModule.js.map +1 -1
  101. package/dist/modules/decide/RequestConfig.d.ts +5 -6
  102. package/dist/modules/decide/RequestConfig.d.ts.map +1 -1
  103. package/dist/modules/decide/RequestConfig.js.map +1 -1
  104. package/dist/modules/decide/ResponseConfig.d.ts +1 -5
  105. package/dist/modules/decide/ResponseConfig.d.ts.map +1 -1
  106. package/dist/modules/decide/ResponseConfig.js +0 -4
  107. package/dist/modules/decide/ResponseConfig.js.map +1 -1
  108. package/dist/types/consumption/LocalRequestDTO.d.ts +1 -0
  109. package/dist/types/consumption/LocalRequestDTO.d.ts.map +1 -1
  110. package/dist/types/transport/AnnouncementDTO.d.ts +14 -0
  111. package/dist/types/transport/AnnouncementDTO.d.ts.map +1 -0
  112. package/dist/types/transport/AnnouncementDTO.js +10 -0
  113. package/dist/types/transport/AnnouncementDTO.js.map +1 -0
  114. package/dist/types/transport/FileDTO.d.ts +7 -2
  115. package/dist/types/transport/FileDTO.d.ts.map +1 -1
  116. package/dist/types/transport/MessageDTO.d.ts +1 -1
  117. package/dist/types/transport/MessageDTO.d.ts.map +1 -1
  118. package/dist/types/transport/MessageWithAttachmentsDTO.d.ts +1 -1
  119. package/dist/types/transport/MessageWithAttachmentsDTO.d.ts.map +1 -1
  120. package/dist/types/transport/PasswordProtectionDTO.d.ts +2 -0
  121. package/dist/types/transport/PasswordProtectionDTO.d.ts.map +1 -1
  122. package/dist/types/transport/RelationshipTemplateDTO.d.ts +4 -1
  123. package/dist/types/transport/RelationshipTemplateDTO.d.ts.map +1 -1
  124. package/dist/types/transport/TokenDTO.d.ts +5 -1
  125. package/dist/types/transport/TokenDTO.d.ts.map +1 -1
  126. package/dist/types/transport/index.d.ts +1 -0
  127. package/dist/types/transport/index.d.ts.map +1 -1
  128. package/dist/types/transport/index.js +1 -0
  129. package/dist/types/transport/index.js.map +1 -1
  130. package/dist/useCases/anonymous/tokens/LoadPeerTokenAnonymous.d.ts.map +1 -1
  131. package/dist/useCases/anonymous/tokens/LoadPeerTokenAnonymous.js +1 -1
  132. package/dist/useCases/anonymous/tokens/LoadPeerTokenAnonymous.js.map +1 -1
  133. package/dist/useCases/common/PasswordProtectionMapper.d.ts +16 -0
  134. package/dist/useCases/common/PasswordProtectionMapper.d.ts.map +1 -0
  135. package/dist/useCases/common/PasswordProtectionMapper.js +57 -0
  136. package/dist/useCases/common/PasswordProtectionMapper.js.map +1 -0
  137. package/dist/useCases/common/RuntimeErrors.d.ts +1 -1
  138. package/dist/useCases/common/RuntimeErrors.d.ts.map +1 -1
  139. package/dist/useCases/common/RuntimeErrors.js +8 -8
  140. package/dist/useCases/common/RuntimeErrors.js.map +1 -1
  141. package/dist/useCases/common/Schemas.d.ts +12 -14
  142. package/dist/useCases/common/Schemas.d.ts.map +1 -1
  143. package/dist/useCases/common/Schemas.js +2039 -1180
  144. package/dist/useCases/common/Schemas.js.map +1 -1
  145. package/dist/useCases/common/index.d.ts +1 -1
  146. package/dist/useCases/common/index.d.ts.map +1 -1
  147. package/dist/useCases/common/index.js +1 -1
  148. package/dist/useCases/common/index.js.map +1 -1
  149. package/dist/useCases/common/validation/TokenAndTemplateCreationValidator.d.ts +2 -0
  150. package/dist/useCases/common/validation/TokenAndTemplateCreationValidator.d.ts.map +1 -1
  151. package/dist/useCases/common/validation/TokenAndTemplateCreationValidator.js +17 -0
  152. package/dist/useCases/common/validation/TokenAndTemplateCreationValidator.js.map +1 -1
  153. package/dist/useCases/consumption/attributes/CanCreateRepositoryAttribute.d.ts +3 -1
  154. package/dist/useCases/consumption/attributes/CanCreateRepositoryAttribute.d.ts.map +1 -1
  155. package/dist/useCases/consumption/attributes/CanCreateRepositoryAttribute.js +10 -1
  156. package/dist/useCases/consumption/attributes/CanCreateRepositoryAttribute.js.map +1 -1
  157. package/dist/useCases/consumption/attributes/CreateAndShareRelationshipAttribute.d.ts +0 -1
  158. package/dist/useCases/consumption/attributes/CreateAndShareRelationshipAttribute.d.ts.map +1 -1
  159. package/dist/useCases/consumption/attributes/CreateAndShareRelationshipAttribute.js.map +1 -1
  160. package/dist/useCases/consumption/attributes/SetAttributeDeletionInfoOfDeletionProposedRelationship.d.ts +18 -0
  161. package/dist/useCases/consumption/attributes/SetAttributeDeletionInfoOfDeletionProposedRelationship.d.ts.map +1 -0
  162. package/dist/useCases/{transport/relationshipTemplates/CreateQRCodeForOwnRelationshipTemplate.js → consumption/attributes/SetAttributeDeletionInfoOfDeletionProposedRelationship.js} +17 -19
  163. package/dist/useCases/consumption/attributes/SetAttributeDeletionInfoOfDeletionProposedRelationship.js.map +1 -0
  164. package/dist/useCases/consumption/attributes/ShareRepositoryAttribute.d.ts +0 -1
  165. package/dist/useCases/consumption/attributes/ShareRepositoryAttribute.d.ts.map +1 -1
  166. package/dist/useCases/consumption/attributes/ShareRepositoryAttribute.js.map +1 -1
  167. package/dist/useCases/consumption/attributes/index.d.ts +1 -0
  168. package/dist/useCases/consumption/attributes/index.d.ts.map +1 -1
  169. package/dist/useCases/consumption/attributes/index.js +1 -0
  170. package/dist/useCases/consumption/attributes/index.js.map +1 -1
  171. package/dist/useCases/consumption/requests/GetIncomingRequests.d.ts +1 -0
  172. package/dist/useCases/consumption/requests/GetIncomingRequests.d.ts.map +1 -1
  173. package/dist/useCases/consumption/requests/GetIncomingRequests.js +4 -0
  174. package/dist/useCases/consumption/requests/GetIncomingRequests.js.map +1 -1
  175. package/dist/useCases/consumption/requests/RequestMapper.d.ts.map +1 -1
  176. package/dist/useCases/consumption/requests/RequestMapper.js +2 -1
  177. package/dist/useCases/consumption/requests/RequestMapper.js.map +1 -1
  178. package/dist/useCases/index.d.ts +1 -0
  179. package/dist/useCases/index.d.ts.map +1 -1
  180. package/dist/useCases/index.js +1 -0
  181. package/dist/useCases/index.js.map +1 -1
  182. package/dist/useCases/transport/account/{LoadItemFromTruncatedReference.d.ts → LoadItemFromReference.d.ts} +6 -6
  183. package/dist/useCases/transport/account/LoadItemFromReference.d.ts.map +1 -0
  184. package/dist/useCases/transport/account/{LoadItemFromTruncatedReference.js → LoadItemFromReference.js} +11 -10
  185. package/dist/useCases/transport/account/LoadItemFromReference.js.map +1 -0
  186. package/dist/useCases/transport/account/SyncEverything.d.ts +3 -4
  187. package/dist/useCases/transport/account/SyncEverything.d.ts.map +1 -1
  188. package/dist/useCases/transport/account/SyncEverything.js +8 -10
  189. package/dist/useCases/transport/account/SyncEverything.js.map +1 -1
  190. package/dist/useCases/transport/account/index.d.ts +1 -1
  191. package/dist/useCases/transport/account/index.d.ts.map +1 -1
  192. package/dist/useCases/transport/account/index.js +1 -1
  193. package/dist/useCases/transport/account/index.js.map +1 -1
  194. package/dist/useCases/transport/announcements/AnnouncementMapper.d.ts +6 -0
  195. package/dist/useCases/transport/announcements/AnnouncementMapper.d.ts.map +1 -0
  196. package/dist/useCases/transport/announcements/AnnouncementMapper.js +17 -0
  197. package/dist/useCases/transport/announcements/AnnouncementMapper.js.map +1 -0
  198. package/dist/useCases/transport/announcements/GetAnnouncements.d.ts +18 -0
  199. package/dist/useCases/transport/announcements/GetAnnouncements.d.ts.map +1 -0
  200. package/dist/useCases/transport/{tokens/GetQRCodeForToken.js → announcements/GetAnnouncements.js} +13 -17
  201. package/dist/useCases/transport/announcements/GetAnnouncements.js.map +1 -0
  202. package/dist/useCases/transport/announcements/index.d.ts +3 -0
  203. package/dist/useCases/transport/announcements/index.d.ts.map +1 -0
  204. package/dist/useCases/transport/announcements/index.js +19 -0
  205. package/dist/useCases/transport/announcements/index.js.map +1 -0
  206. package/dist/useCases/transport/devices/CreateDeviceOnboardingToken.d.ts +11 -1
  207. package/dist/useCases/transport/devices/CreateDeviceOnboardingToken.d.ts.map +1 -1
  208. package/dist/useCases/transport/devices/CreateDeviceOnboardingToken.js +2 -2
  209. package/dist/useCases/transport/devices/CreateDeviceOnboardingToken.js.map +1 -1
  210. package/dist/useCases/transport/devices/SetCommunicationLanguage.d.ts +1 -1
  211. package/dist/useCases/transport/devices/SetCommunicationLanguage.d.ts.map +1 -1
  212. package/dist/useCases/transport/files/CreateTokenForFile.d.ts +8 -1
  213. package/dist/useCases/transport/files/CreateTokenForFile.d.ts.map +1 -1
  214. package/dist/useCases/transport/files/CreateTokenForFile.js +2 -2
  215. package/dist/useCases/transport/files/CreateTokenForFile.js.map +1 -1
  216. package/dist/useCases/transport/files/FileMapper.d.ts.map +1 -1
  217. package/dist/useCases/transport/files/FileMapper.js +11 -2
  218. package/dist/useCases/transport/files/FileMapper.js.map +1 -1
  219. package/dist/useCases/transport/files/GetOrLoadFile.d.ts.map +1 -1
  220. package/dist/useCases/transport/files/GetOrLoadFile.js +5 -4
  221. package/dist/useCases/transport/files/GetOrLoadFile.js.map +1 -1
  222. package/dist/useCases/transport/files/RegenerateFileOwnershipToken.d.ts +18 -0
  223. package/dist/useCases/transport/files/RegenerateFileOwnershipToken.d.ts.map +1 -0
  224. package/dist/useCases/transport/files/{CreateQRCodeForFile.js → RegenerateFileOwnershipToken.js} +19 -13
  225. package/dist/useCases/transport/files/RegenerateFileOwnershipToken.js.map +1 -0
  226. package/dist/useCases/transport/files/UploadOwnFile.d.ts +6 -1
  227. package/dist/useCases/transport/files/UploadOwnFile.d.ts.map +1 -1
  228. package/dist/useCases/transport/files/UploadOwnFile.js +10 -1
  229. package/dist/useCases/transport/files/UploadOwnFile.js.map +1 -1
  230. package/dist/useCases/transport/files/index.d.ts +1 -2
  231. package/dist/useCases/transport/files/index.d.ts.map +1 -1
  232. package/dist/useCases/transport/files/index.js +1 -2
  233. package/dist/useCases/transport/files/index.js.map +1 -1
  234. package/dist/useCases/transport/identityRecoveryKits/CreateIdentityRecoveryKit.d.ts.map +1 -1
  235. package/dist/useCases/transport/identityRecoveryKits/CreateIdentityRecoveryKit.js +4 -1
  236. package/dist/useCases/transport/identityRecoveryKits/CreateIdentityRecoveryKit.js.map +1 -1
  237. package/dist/useCases/transport/index.d.ts +1 -0
  238. package/dist/useCases/transport/index.d.ts.map +1 -1
  239. package/dist/useCases/transport/index.js +1 -0
  240. package/dist/useCases/transport/index.js.map +1 -1
  241. package/dist/useCases/transport/messages/MessageMapper.js +2 -2
  242. package/dist/useCases/transport/messages/MessageMapper.js.map +1 -1
  243. package/dist/useCases/transport/messages/SendMessage.d.ts +5 -0
  244. package/dist/useCases/transport/messages/SendMessage.d.ts.map +1 -1
  245. package/dist/useCases/transport/messages/SendMessage.js +25 -0
  246. package/dist/useCases/transport/messages/SendMessage.js.map +1 -1
  247. package/dist/useCases/transport/relationshipTemplates/CreateOwnRelationshipTemplate.d.ts +8 -1
  248. package/dist/useCases/transport/relationshipTemplates/CreateOwnRelationshipTemplate.d.ts.map +1 -1
  249. package/dist/useCases/transport/relationshipTemplates/CreateOwnRelationshipTemplate.js +1 -1
  250. package/dist/useCases/transport/relationshipTemplates/CreateOwnRelationshipTemplate.js.map +1 -1
  251. package/dist/useCases/transport/relationshipTemplates/CreateTokenForOwnRelationshipTemplate.d.ts +11 -4
  252. package/dist/useCases/transport/relationshipTemplates/CreateTokenForOwnRelationshipTemplate.d.ts.map +1 -1
  253. package/dist/useCases/transport/relationshipTemplates/CreateTokenForOwnRelationshipTemplate.js +11 -10
  254. package/dist/useCases/transport/relationshipTemplates/CreateTokenForOwnRelationshipTemplate.js.map +1 -1
  255. package/dist/useCases/transport/relationshipTemplates/GetRelationshipTemplates.d.ts +1 -0
  256. package/dist/useCases/transport/relationshipTemplates/GetRelationshipTemplates.d.ts.map +1 -1
  257. package/dist/useCases/transport/relationshipTemplates/GetRelationshipTemplates.js +6 -1
  258. package/dist/useCases/transport/relationshipTemplates/GetRelationshipTemplates.js.map +1 -1
  259. package/dist/useCases/transport/relationshipTemplates/LoadPeerRelationshipTemplate.d.ts.map +1 -1
  260. package/dist/useCases/transport/relationshipTemplates/LoadPeerRelationshipTemplate.js +3 -3
  261. package/dist/useCases/transport/relationshipTemplates/LoadPeerRelationshipTemplate.js.map +1 -1
  262. package/dist/useCases/transport/relationshipTemplates/RelationshipTemplateMapper.d.ts.map +1 -1
  263. package/dist/useCases/transport/relationshipTemplates/RelationshipTemplateMapper.js +9 -7
  264. package/dist/useCases/transport/relationshipTemplates/RelationshipTemplateMapper.js.map +1 -1
  265. package/dist/useCases/transport/relationshipTemplates/index.d.ts +0 -2
  266. package/dist/useCases/transport/relationshipTemplates/index.d.ts.map +1 -1
  267. package/dist/useCases/transport/relationshipTemplates/index.js +0 -2
  268. package/dist/useCases/transport/relationshipTemplates/index.js.map +1 -1
  269. package/dist/useCases/transport/relationships/DecomposeRelationship.js +1 -1
  270. package/dist/useCases/transport/tokens/CreateOwnToken.d.ts +8 -1
  271. package/dist/useCases/transport/tokens/CreateOwnToken.d.ts.map +1 -1
  272. package/dist/useCases/transport/tokens/CreateOwnToken.js +1 -1
  273. package/dist/useCases/transport/tokens/CreateOwnToken.js.map +1 -1
  274. package/dist/useCases/transport/tokens/GetTokens.d.ts +2 -0
  275. package/dist/useCases/transport/tokens/GetTokens.d.ts.map +1 -1
  276. package/dist/useCases/transport/tokens/GetTokens.js +8 -1
  277. package/dist/useCases/transport/tokens/GetTokens.js.map +1 -1
  278. package/dist/useCases/transport/tokens/LoadPeerToken.d.ts.map +1 -1
  279. package/dist/useCases/transport/tokens/LoadPeerToken.js +1 -1
  280. package/dist/useCases/transport/tokens/LoadPeerToken.js.map +1 -1
  281. package/dist/useCases/transport/tokens/TokenMapper.d.ts.map +1 -1
  282. package/dist/useCases/transport/tokens/TokenMapper.js +12 -10
  283. package/dist/useCases/transport/tokens/TokenMapper.js.map +1 -1
  284. package/dist/useCases/transport/tokens/index.d.ts +0 -1
  285. package/dist/useCases/transport/tokens/index.d.ts.map +1 -1
  286. package/dist/useCases/transport/tokens/index.js +0 -1
  287. package/dist/useCases/transport/tokens/index.js.map +1 -1
  288. package/package.json +12 -14
  289. package/dist/dataViews/consumption/DecidableRequestItemDVOs.d.ts +0 -48
  290. package/dist/dataViews/consumption/DecidableRequestItemDVOs.d.ts.map +0 -1
  291. package/dist/dataViews/consumption/DecidableRequestItemDVOs.js +0 -3
  292. package/dist/dataViews/consumption/DecidableRequestItemDVOs.js.map +0 -1
  293. package/dist/events/consumption/ThirdPartyOwnedRelationshipAttributeDeletedByPeerEvent.d.ts +0 -10
  294. package/dist/events/consumption/ThirdPartyOwnedRelationshipAttributeDeletedByPeerEvent.d.ts.map +0 -1
  295. package/dist/events/consumption/ThirdPartyOwnedRelationshipAttributeDeletedByPeerEvent.js +0 -15
  296. package/dist/events/consumption/ThirdPartyOwnedRelationshipAttributeDeletedByPeerEvent.js.map +0 -1
  297. package/dist/useCases/common/QRCode.d.ts +0 -10
  298. package/dist/useCases/common/QRCode.d.ts.map +0 -1
  299. package/dist/useCases/common/QRCode.js +0 -55
  300. package/dist/useCases/common/QRCode.js.map +0 -1
  301. package/dist/useCases/transport/account/LoadItemFromTruncatedReference.d.ts.map +0 -1
  302. package/dist/useCases/transport/account/LoadItemFromTruncatedReference.js.map +0 -1
  303. package/dist/useCases/transport/files/CreateQRCodeForFile.d.ts +0 -19
  304. package/dist/useCases/transport/files/CreateQRCodeForFile.d.ts.map +0 -1
  305. package/dist/useCases/transport/files/CreateQRCodeForFile.js.map +0 -1
  306. package/dist/useCases/transport/files/CreateTokenQRCodeForFile.d.ts +0 -29
  307. package/dist/useCases/transport/files/CreateTokenQRCodeForFile.d.ts.map +0 -1
  308. package/dist/useCases/transport/files/CreateTokenQRCodeForFile.js +0 -67
  309. package/dist/useCases/transport/files/CreateTokenQRCodeForFile.js.map +0 -1
  310. package/dist/useCases/transport/relationshipTemplates/CreateQRCodeForOwnRelationshipTemplate.d.ts +0 -19
  311. package/dist/useCases/transport/relationshipTemplates/CreateQRCodeForOwnRelationshipTemplate.d.ts.map +0 -1
  312. package/dist/useCases/transport/relationshipTemplates/CreateQRCodeForOwnRelationshipTemplate.js.map +0 -1
  313. package/dist/useCases/transport/relationshipTemplates/CreateTokenQRCodeForOwnRelationshipTemplate.d.ts +0 -29
  314. package/dist/useCases/transport/relationshipTemplates/CreateTokenQRCodeForOwnRelationshipTemplate.d.ts.map +0 -1
  315. package/dist/useCases/transport/relationshipTemplates/CreateTokenQRCodeForOwnRelationshipTemplate.js +0 -79
  316. package/dist/useCases/transport/relationshipTemplates/CreateTokenQRCodeForOwnRelationshipTemplate.js.map +0 -1
  317. package/dist/useCases/transport/tokens/GetQRCodeForToken.d.ts +0 -19
  318. package/dist/useCases/transport/tokens/GetQRCodeForToken.d.ts.map +0 -1
  319. package/dist/useCases/transport/tokens/GetQRCodeForToken.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteIdentityMetadataRequest = exports.UpdateDraftRequest = exports.GetDraftsRequest = exports.GetDraftRequest = exports.DeleteDraftRequest = exports.CreateDraftRequest = exports.ValidateIQLQueryRequest = exports.SucceedRepositoryAttributeRequest = exports.SucceedRelationshipAttributeAndNotifyPeerRequest = exports.ShareRepositoryAttributeRequest = exports.NotifyPeerAboutRepositoryAttributeSuccessionRequest = exports.GetVersionsOfAttributeRequest = exports.GetSharedVersionsOfAttributeRequest = exports.GetRepositoryAttributesRequest = exports.GetPeerSharedAttributesRequest = exports.GetOwnSharedAttributesRequest = exports.GetAttributesRequest = exports.GetAttributeRequest = exports.ExecuteThirdPartyRelationshipAttributeQueryRequest = exports.ExecuteRelationshipAttributeQueryRequest = exports.ExecuteIQLQueryRequest = exports.ExecuteIdentityAttributeQueryRequest = exports.DeleteThirdPartyRelationshipAttributeAndNotifyPeerRequest = exports.DeleteSharedAttributesForRejectedOrRevokedRelationshipRequest = exports.DeleteRepositoryAttributeRequest = exports.DeletePeerSharedAttributeAndNotifyOwnerRequest = exports.DeleteOwnSharedAttributeAndNotifyPeerRequest = exports.CreateRepositoryAttributeRequest = 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.ChangeDefaultRepositoryAttributeRequest = exports.CanCreateRepositoryAttributeRequest = exports.GetAttributeListenerRequest = exports.LoadPeerTokenAnonymousRequest = void 0;
4
- exports.MarkMessageAsUnreadRequest = exports.MarkMessageAsReadRequest = exports.GetMessagesRequest = exports.GetMessageRequest = exports.GetAttachmentMetadataRequest = exports.CreateIdentityRecoveryKitRequest = exports.UploadOwnFileValidatableRequest = exports.UploadOwnFileRequest = exports.GetOrLoadFileRequest = exports.GetFilesRequest = exports.GetFileRequest = exports.DeleteFileRequest = exports.CreateTokenQRCodeForFileRequest = exports.CreateTokenForFileRequest = exports.CreateQRCodeForFileRequest = exports.UpdateDeviceRequest = exports.SetCommunicationLanguageRequest = exports.GetDeviceOnboardingInfoRequest = exports.GetDeviceRequest = exports.DeleteDeviceRequest = exports.CreateDeviceOnboardingTokenRequest = exports.CreateDeviceRequest = exports.ValidateChallengeRequest = exports.CreateChallengeRequest = exports.isCreateDeviceChallengeRequest = exports.CreateDeviceChallengeRequest = exports.isCreateIdentityChallengeRequest = exports.CreateIdentityChallengeRequest = exports.isCreateRelationshipChallengeRequest = exports.CreateRelationshipChallengeRequest = exports.DownloadAttachmentRequest = exports.InitiateIdentityDeletionProcessRequest = exports.GetIdentityDeletionProcessRequest = exports.RegisterPushNotificationTokenRequest = exports.LoadItemFromTruncatedReferenceRequest = 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 = exports.GetIdentityMetadataRequest = void 0;
5
- exports.BirthCountry = exports.BirthCity = exports.Affiliation = exports.AffiliationUnit = exports.AffiliationRole = exports.AffiliationOrganization = exports.StreetAddress = exports.Street = exports.PostOfficeBoxAddress = exports.HouseNumber = exports.DeliveryBoxAddress = exports.ZipCode = exports.State = exports.Website = exports.PhoneNumber = exports.FaxNumber = exports.EMailAddress = exports.CommunicationLanguage = exports.Country = exports.City = exports.LoadPeerTokenRequest = exports.GetTokensRequest = exports.GetTokenRequest = exports.GetQRCodeForTokenRequest = exports.DeleteTokenRequest = exports.CreateOwnTokenRequest = exports.LoadPeerRelationshipTemplateRequest = exports.GetRelationshipTemplatesRequest = exports.GetRelationshipTemplateRequest = exports.DeleteRelationshipTemplateRequest = exports.CreateTokenQRCodeForOwnTemplateRequest = exports.CreateTokenForOwnTemplateRequest = exports.CreateQRCodeForOwnTemplateRequest = 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 = void 0;
6
- exports.Sex = exports.Nationality = exports.JobTitle = exports.Citizenship = exports.Pseudonym = exports.PersonName = exports.Surname = exports.MiddleName = exports.HonorificSuffix = exports.HonorificPrefix = exports.GivenName = exports.BirthName = exports.SchematizedXML = exports.IdentityFileReference = exports.DisplayName = exports.BirthPlace = exports.BirthState = exports.BirthDate = exports.BirthYear = exports.BirthMonth = exports.BirthDay = void 0;
3
+ exports.UpdateDraftRequest = exports.GetDraftsRequest = exports.GetDraftRequest = exports.DeleteDraftRequest = exports.CreateDraftRequest = exports.ValidateIQLQueryRequest = exports.SucceedRepositoryAttributeRequest = exports.SucceedRelationshipAttributeAndNotifyPeerRequest = exports.ShareRepositoryAttributeRequest = exports.SetAttributeDeletionInfoOfDeletionProposedRelationshipRequest = exports.NotifyPeerAboutRepositoryAttributeSuccessionRequest = exports.GetVersionsOfAttributeRequest = exports.GetSharedVersionsOfAttributeRequest = exports.GetRepositoryAttributesRequest = exports.GetPeerSharedAttributesRequest = exports.GetOwnSharedAttributesRequest = exports.GetAttributesRequest = exports.GetAttributeRequest = exports.ExecuteThirdPartyRelationshipAttributeQueryRequest = exports.ExecuteRelationshipAttributeQueryRequest = exports.ExecuteIQLQueryRequest = exports.ExecuteIdentityAttributeQueryRequest = exports.DeleteThirdPartyRelationshipAttributeAndNotifyPeerRequest = exports.DeleteSharedAttributesForRejectedOrRevokedRelationshipRequest = exports.DeleteRepositoryAttributeRequest = exports.DeletePeerSharedAttributeAndNotifyOwnerRequest = exports.DeleteOwnSharedAttributeAndNotifyPeerRequest = exports.CreateRepositoryAttributeRequest = 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.ChangeDefaultRepositoryAttributeRequest = exports.CanCreateRepositoryAttributeRequest = exports.GetAttributeListenerRequest = exports.LoadPeerTokenAnonymousRequest = void 0;
4
+ exports.MarkMessageAsReadRequest = exports.GetMessagesRequest = exports.GetMessageRequest = exports.GetAttachmentMetadataRequest = exports.CreateIdentityRecoveryKitRequest = exports.UpdateDeviceRequest = exports.SetCommunicationLanguageRequest = exports.GetDeviceOnboardingInfoRequest = exports.GetDeviceRequest = exports.DeleteDeviceRequest = exports.CreateDeviceOnboardingTokenRequest = exports.CreateDeviceRequest = exports.ValidateChallengeRequest = exports.CreateChallengeRequest = exports.isCreateDeviceChallengeRequest = exports.CreateDeviceChallengeRequest = exports.isCreateIdentityChallengeRequest = exports.CreateIdentityChallengeRequest = exports.isCreateRelationshipChallengeRequest = exports.CreateRelationshipChallengeRequest = 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 = exports.GetIdentityMetadataRequest = exports.DeleteIdentityMetadataRequest = void 0;
5
+ exports.BirthMonth = exports.BirthDay = exports.BirthCountry = exports.BirthCity = exports.Affiliation = exports.AffiliationUnit = exports.AffiliationRole = exports.AffiliationOrganization = exports.StreetAddress = exports.Street = exports.PostOfficeBoxAddress = exports.HouseNumber = exports.DeliveryBoxAddress = exports.ZipCode = exports.State = exports.Website = exports.PhoneNumber = exports.FaxNumber = exports.EMailAddress = exports.CommunicationLanguage = exports.Country = exports.City = 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 = void 0;
6
+ exports.Sex = exports.Nationality = exports.JobTitle = exports.Citizenship = exports.Pseudonym = exports.PersonName = exports.Surname = exports.MiddleName = exports.HonorificSuffix = exports.HonorificPrefix = exports.GivenName = exports.BirthName = exports.SchematizedXML = exports.IdentityFileReference = exports.DisplayName = exports.BirthPlace = exports.BirthState = exports.BirthDate = exports.BirthYear = void 0;
7
7
  exports.LoadPeerTokenAnonymousRequest = {
8
8
  "$schema": "http://json-schema.org/draft-07/schema#",
9
9
  "$ref": "#/definitions/LoadPeerTokenAnonymousRequest",
@@ -127,6 +127,10 @@ exports.AcceptIncomingRequestRequest = {
127
127
  }
128
128
  ]
129
129
  }
130
+ },
131
+ "decidedByAutomation": {
132
+ "type": "boolean",
133
+ "const": true
130
134
  }
131
135
  },
132
136
  "required": [
@@ -319,10 +323,13 @@ exports.CanCreateOutgoingRequestRequest = {
319
323
  "$ref": "#/definitions/AuthenticationRequestItemJSON"
320
324
  },
321
325
  {
322
- "$ref": "#/definitions/FreeTextRequestItemJSON"
326
+ "$ref": "#/definitions/FormFieldRequestItemJSON"
323
327
  },
324
328
  {
325
329
  "$ref": "#/definitions/RegisterAttributeListenerRequestItemJSON"
330
+ },
331
+ {
332
+ "$ref": "#/definitions/TransferFileOwnershipRequestItemJSON"
326
333
  }
327
334
  ]
328
335
  },
@@ -338,10 +345,6 @@ exports.CanCreateOutgoingRequestRequest = {
338
345
  "@version": {
339
346
  "type": "string"
340
347
  },
341
- "title": {
342
- "type": "string",
343
- "description": "The human-readable title of this item."
344
- },
345
348
  "description": {
346
349
  "type": "string",
347
350
  "description": "The human-readable description of this item."
@@ -378,10 +381,6 @@ exports.CanCreateOutgoingRequestRequest = {
378
381
  "@version": {
379
382
  "type": "string"
380
383
  },
381
- "title": {
382
- "type": "string",
383
- "description": "The human-readable title of this item."
384
- },
385
384
  "description": {
386
385
  "type": "string",
387
386
  "description": "The human-readable description of this item."
@@ -1048,7 +1047,8 @@ exports.CanCreateOutgoingRequestRequest = {
1048
1047
  "type": "object",
1049
1048
  "properties": {
1050
1049
  "@type": {
1051
- "type": "string"
1050
+ "type": "string",
1051
+ "const": "Consent"
1052
1052
  },
1053
1053
  "@context": {
1054
1054
  "type": "string"
@@ -1061,6 +1061,9 @@ exports.CanCreateOutgoingRequestRequest = {
1061
1061
  },
1062
1062
  "link": {
1063
1063
  "type": "string"
1064
+ },
1065
+ "linkDisplayText": {
1066
+ "type": "string"
1064
1067
  }
1065
1068
  },
1066
1069
  "required": [
@@ -2327,10 +2330,6 @@ exports.CanCreateOutgoingRequestRequest = {
2327
2330
  "@version": {
2328
2331
  "type": "string"
2329
2332
  },
2330
- "title": {
2331
- "type": "string",
2332
- "description": "The human-readable title of this item."
2333
- },
2334
2333
  "description": {
2335
2334
  "type": "string",
2336
2335
  "description": "The human-readable description of this item."
@@ -2371,10 +2370,6 @@ exports.CanCreateOutgoingRequestRequest = {
2371
2370
  "@version": {
2372
2371
  "type": "string"
2373
2372
  },
2374
- "title": {
2375
- "type": "string",
2376
- "description": "The human-readable title of this item."
2377
- },
2378
2373
  "description": {
2379
2374
  "type": "string",
2380
2375
  "description": "The human-readable description of this item."
@@ -2429,10 +2424,6 @@ exports.CanCreateOutgoingRequestRequest = {
2429
2424
  "@version": {
2430
2425
  "type": "string"
2431
2426
  },
2432
- "title": {
2433
- "type": "string",
2434
- "description": "The human-readable title of this item."
2435
- },
2436
2427
  "description": {
2437
2428
  "type": "string",
2438
2429
  "description": "The human-readable description of this item."
@@ -2705,10 +2696,6 @@ exports.CanCreateOutgoingRequestRequest = {
2705
2696
  "@version": {
2706
2697
  "type": "string"
2707
2698
  },
2708
- "title": {
2709
- "type": "string",
2710
- "description": "The human-readable title of this item."
2711
- },
2712
2699
  "description": {
2713
2700
  "type": "string",
2714
2701
  "description": "The human-readable description of this item."
@@ -2766,22 +2753,11 @@ exports.CanCreateOutgoingRequestRequest = {
2766
2753
  "type": "string"
2767
2754
  },
2768
2755
  "owner": {
2769
- "anyOf": [
2770
- {
2771
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryOwner"
2772
- },
2773
- {
2774
- "type": "string",
2775
- "const": "thirdParty"
2776
- },
2777
- {
2778
- "type": "string",
2779
- "const": "recipient"
2780
- },
2781
- {
2782
- "type": "string",
2783
- "const": ""
2784
- }
2756
+ "type": "string",
2757
+ "enum": [
2758
+ "thirdParty",
2759
+ "recipient",
2760
+ ""
2785
2761
  ]
2786
2762
  },
2787
2763
  "thirdParty": {
@@ -2799,14 +2775,6 @@ exports.CanCreateOutgoingRequestRequest = {
2799
2775
  ],
2800
2776
  "additionalProperties": false
2801
2777
  },
2802
- "ThirdPartyRelationshipAttributeQueryOwner": {
2803
- "type": "string",
2804
- "enum": [
2805
- "thirdParty",
2806
- "recipient",
2807
- ""
2808
- ]
2809
- },
2810
2778
  "ConsentRequestItemJSON": {
2811
2779
  "type": "object",
2812
2780
  "properties": {
@@ -2820,10 +2788,6 @@ exports.CanCreateOutgoingRequestRequest = {
2820
2788
  "@version": {
2821
2789
  "type": "string"
2822
2790
  },
2823
- "title": {
2824
- "type": "string",
2825
- "description": "The human-readable title of this item."
2826
- },
2827
2791
  "description": {
2828
2792
  "type": "string",
2829
2793
  "description": "The human-readable description of this item."
@@ -2845,6 +2809,9 @@ exports.CanCreateOutgoingRequestRequest = {
2845
2809
  },
2846
2810
  "link": {
2847
2811
  "type": "string"
2812
+ },
2813
+ "linkDisplayText": {
2814
+ "type": "string"
2848
2815
  }
2849
2816
  },
2850
2817
  "required": [
@@ -2867,10 +2834,6 @@ exports.CanCreateOutgoingRequestRequest = {
2867
2834
  "@version": {
2868
2835
  "type": "string"
2869
2836
  },
2870
- "title": {
2871
- "type": "string",
2872
- "description": "The human-readable title of this item."
2873
- },
2874
2837
  "description": {
2875
2838
  "type": "string",
2876
2839
  "description": "The human-readable description of this item."
@@ -2886,6 +2849,9 @@ exports.CanCreateOutgoingRequestRequest = {
2886
2849
  "requireManualDecision": {
2887
2850
  "type": "boolean",
2888
2851
  "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
2852
+ },
2853
+ "title": {
2854
+ "type": "string"
2889
2855
  }
2890
2856
  },
2891
2857
  "required": [
@@ -2895,12 +2861,12 @@ exports.CanCreateOutgoingRequestRequest = {
2895
2861
  ],
2896
2862
  "additionalProperties": false
2897
2863
  },
2898
- "FreeTextRequestItemJSON": {
2864
+ "FormFieldRequestItemJSON": {
2899
2865
  "type": "object",
2900
2866
  "properties": {
2901
2867
  "@type": {
2902
2868
  "type": "string",
2903
- "const": "FreeTextRequestItem"
2869
+ "const": "FormFieldRequestItem"
2904
2870
  },
2905
2871
  "@context": {
2906
2872
  "type": "string"
@@ -2908,10 +2874,6 @@ exports.CanCreateOutgoingRequestRequest = {
2908
2874
  "@version": {
2909
2875
  "type": "string"
2910
2876
  },
2911
- "title": {
2912
- "type": "string",
2913
- "description": "The human-readable title of this item."
2914
- },
2915
2877
  "description": {
2916
2878
  "type": "string",
2917
2879
  "description": "The human-readable description of this item."
@@ -2928,23 +2890,52 @@ exports.CanCreateOutgoingRequestRequest = {
2928
2890
  "type": "boolean",
2929
2891
  "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
2930
2892
  },
2931
- "freeText": {
2893
+ "title": {
2932
2894
  "type": "string"
2895
+ },
2896
+ "settings": {
2897
+ "$ref": "#/definitions/FormFieldSettingsJSONDerivations"
2933
2898
  }
2934
2899
  },
2935
2900
  "required": [
2936
2901
  "@type",
2937
- "freeText",
2938
- "mustBeAccepted"
2902
+ "mustBeAccepted",
2903
+ "settings",
2904
+ "title"
2939
2905
  ],
2940
2906
  "additionalProperties": false
2941
2907
  },
2942
- "RegisterAttributeListenerRequestItemJSON": {
2908
+ "FormFieldSettingsJSONDerivations": {
2909
+ "anyOf": [
2910
+ {
2911
+ "$ref": "#/definitions/StringFormFieldSettingsJSON"
2912
+ },
2913
+ {
2914
+ "$ref": "#/definitions/IntegerFormFieldSettingsJSON"
2915
+ },
2916
+ {
2917
+ "$ref": "#/definitions/DoubleFormFieldSettingsJSON"
2918
+ },
2919
+ {
2920
+ "$ref": "#/definitions/BooleanFormFieldSettingsJSON"
2921
+ },
2922
+ {
2923
+ "$ref": "#/definitions/DateFormFieldSettingsJSON"
2924
+ },
2925
+ {
2926
+ "$ref": "#/definitions/SelectionFormFieldSettingsJSON"
2927
+ },
2928
+ {
2929
+ "$ref": "#/definitions/RatingFormFieldSettingsJSON"
2930
+ }
2931
+ ]
2932
+ },
2933
+ "StringFormFieldSettingsJSON": {
2943
2934
  "type": "object",
2944
2935
  "properties": {
2945
2936
  "@type": {
2946
2937
  "type": "string",
2947
- "const": "RegisterAttributeListenerRequestItem"
2938
+ "const": "StringFormFieldSettings"
2948
2939
  },
2949
2940
  "@context": {
2950
2941
  "type": "string"
@@ -2952,157 +2943,384 @@ exports.CanCreateOutgoingRequestRequest = {
2952
2943
  "@version": {
2953
2944
  "type": "string"
2954
2945
  },
2955
- "title": {
2956
- "type": "string",
2957
- "description": "The human-readable title of this item."
2958
- },
2959
- "description": {
2960
- "type": "string",
2961
- "description": "The human-readable description of this item."
2962
- },
2963
- "metadata": {
2964
- "type": "object",
2965
- "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."
2966
- },
2967
- "mustBeAccepted": {
2946
+ "allowNewlines": {
2968
2947
  "type": "boolean",
2969
- "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."
2948
+ "const": true
2970
2949
  },
2971
- "requireManualDecision": {
2972
- "type": "boolean",
2973
- "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
2950
+ "min": {
2951
+ "type": "number"
2974
2952
  },
2975
- "query": {
2976
- "anyOf": [
2977
- {
2978
- "$ref": "#/definitions/IdentityAttributeQueryJSON"
2979
- },
2980
- {
2981
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryJSON"
2982
- }
2983
- ]
2953
+ "max": {
2954
+ "type": "number"
2984
2955
  }
2985
2956
  },
2986
2957
  "required": [
2987
- "@type",
2988
- "mustBeAccepted",
2989
- "query"
2958
+ "@type"
2990
2959
  ],
2991
2960
  "additionalProperties": false
2992
2961
  },
2993
- "AddressString": {
2994
- "type": "string",
2995
- "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
2996
- }
2997
- }
2998
- };
2999
- exports.RejectIncomingRequestRequest = {
3000
- "$schema": "http://json-schema.org/draft-07/schema#",
3001
- "$ref": "#/definitions/RejectIncomingRequestRequest",
3002
- "definitions": {
3003
- "RejectIncomingRequestRequest": {
2962
+ "IntegerFormFieldSettingsJSON": {
3004
2963
  "type": "object",
3005
- "additionalProperties": false,
3006
2964
  "properties": {
3007
- "requestId": {
2965
+ "@type": {
2966
+ "type": "string",
2967
+ "const": "IntegerFormFieldSettings"
2968
+ },
2969
+ "@context": {
3008
2970
  "type": "string"
3009
2971
  },
3010
- "items": {
3011
- "type": "array",
3012
- "items": {
3013
- "anyOf": [
3014
- {
3015
- "$ref": "#/definitions/DecideRequestItemParametersJSON"
3016
- },
3017
- {
3018
- "$ref": "#/definitions/DecideRequestItemGroupParametersJSON"
3019
- }
3020
- ]
3021
- }
2972
+ "@version": {
2973
+ "type": "string"
2974
+ },
2975
+ "unit": {
2976
+ "type": "string"
2977
+ },
2978
+ "min": {
2979
+ "type": "number"
2980
+ },
2981
+ "max": {
2982
+ "type": "number"
3022
2983
  }
3023
2984
  },
3024
2985
  "required": [
3025
- "items",
3026
- "requestId"
3027
- ]
3028
- },
3029
- "DecideRequestItemParametersJSON": {
3030
- "anyOf": [
3031
- {
3032
- "$ref": "#/definitions/AcceptRequestItemParametersJSON"
3033
- },
3034
- {
3035
- "$ref": "#/definitions/RejectRequestItemParametersJSON"
3036
- }
3037
- ]
2986
+ "@type"
2987
+ ],
2988
+ "additionalProperties": false
3038
2989
  },
3039
- "AcceptRequestItemParametersJSON": {
2990
+ "DoubleFormFieldSettingsJSON": {
3040
2991
  "type": "object",
3041
2992
  "properties": {
3042
- "accept": {
3043
- "type": "boolean",
3044
- "const": true
2993
+ "@type": {
2994
+ "type": "string",
2995
+ "const": "DoubleFormFieldSettings"
2996
+ },
2997
+ "@context": {
2998
+ "type": "string"
2999
+ },
3000
+ "@version": {
3001
+ "type": "string"
3002
+ },
3003
+ "unit": {
3004
+ "type": "string"
3005
+ },
3006
+ "min": {
3007
+ "type": "number"
3008
+ },
3009
+ "max": {
3010
+ "type": "number"
3045
3011
  }
3046
3012
  },
3047
3013
  "required": [
3048
- "accept"
3014
+ "@type"
3049
3015
  ],
3050
3016
  "additionalProperties": false
3051
3017
  },
3052
- "RejectRequestItemParametersJSON": {
3018
+ "BooleanFormFieldSettingsJSON": {
3053
3019
  "type": "object",
3054
3020
  "properties": {
3055
- "accept": {
3056
- "type": "boolean",
3057
- "const": false
3021
+ "@type": {
3022
+ "type": "string",
3023
+ "const": "BooleanFormFieldSettings"
3058
3024
  },
3059
- "code": {
3025
+ "@context": {
3060
3026
  "type": "string"
3061
3027
  },
3062
- "message": {
3028
+ "@version": {
3063
3029
  "type": "string"
3064
3030
  }
3065
3031
  },
3066
3032
  "required": [
3067
- "accept"
3033
+ "@type"
3068
3034
  ],
3069
3035
  "additionalProperties": false
3070
3036
  },
3071
- "DecideRequestItemGroupParametersJSON": {
3037
+ "DateFormFieldSettingsJSON": {
3072
3038
  "type": "object",
3073
3039
  "properties": {
3074
- "items": {
3075
- "type": "array",
3076
- "items": {
3077
- "$ref": "#/definitions/DecideRequestItemParametersJSON"
3078
- }
3040
+ "@type": {
3041
+ "type": "string",
3042
+ "const": "DateFormFieldSettings"
3043
+ },
3044
+ "@context": {
3045
+ "type": "string"
3046
+ },
3047
+ "@version": {
3048
+ "type": "string"
3079
3049
  }
3080
3050
  },
3081
3051
  "required": [
3082
- "items"
3052
+ "@type"
3083
3053
  ],
3084
3054
  "additionalProperties": false
3085
- }
3086
- }
3087
- };
3088
- exports.CheckPrerequisitesOfIncomingRequestRequest = {
3089
- "$schema": "http://json-schema.org/draft-07/schema#",
3090
- "$ref": "#/definitions/CheckPrerequisitesOfIncomingRequestRequest",
3091
- "definitions": {
3092
- "CheckPrerequisitesOfIncomingRequestRequest": {
3055
+ },
3056
+ "SelectionFormFieldSettingsJSON": {
3093
3057
  "type": "object",
3094
3058
  "properties": {
3095
- "requestId": {
3096
- "$ref": "#/definitions/RequestIdString"
3059
+ "@type": {
3060
+ "type": "string",
3061
+ "const": "SelectionFormFieldSettings"
3062
+ },
3063
+ "@context": {
3064
+ "type": "string"
3065
+ },
3066
+ "@version": {
3067
+ "type": "string"
3068
+ },
3069
+ "options": {
3070
+ "type": "array",
3071
+ "items": {
3072
+ "type": "string"
3073
+ }
3074
+ },
3075
+ "allowMultipleSelection": {
3076
+ "type": "boolean",
3077
+ "const": true
3097
3078
  }
3098
3079
  },
3099
3080
  "required": [
3100
- "requestId"
3081
+ "@type",
3082
+ "options"
3101
3083
  ],
3102
3084
  "additionalProperties": false
3103
3085
  },
3104
- "RequestIdString": {
3105
- "type": "string",
3086
+ "RatingFormFieldSettingsJSON": {
3087
+ "type": "object",
3088
+ "properties": {
3089
+ "@type": {
3090
+ "type": "string",
3091
+ "const": "RatingFormFieldSettings"
3092
+ },
3093
+ "@context": {
3094
+ "type": "string"
3095
+ },
3096
+ "@version": {
3097
+ "type": "string"
3098
+ },
3099
+ "maxRating": {
3100
+ "type": "number",
3101
+ "enum": [
3102
+ 5,
3103
+ 6,
3104
+ 7,
3105
+ 8,
3106
+ 9,
3107
+ 10
3108
+ ]
3109
+ }
3110
+ },
3111
+ "required": [
3112
+ "@type",
3113
+ "maxRating"
3114
+ ],
3115
+ "additionalProperties": false
3116
+ },
3117
+ "RegisterAttributeListenerRequestItemJSON": {
3118
+ "type": "object",
3119
+ "properties": {
3120
+ "@type": {
3121
+ "type": "string",
3122
+ "const": "RegisterAttributeListenerRequestItem"
3123
+ },
3124
+ "@context": {
3125
+ "type": "string"
3126
+ },
3127
+ "@version": {
3128
+ "type": "string"
3129
+ },
3130
+ "description": {
3131
+ "type": "string",
3132
+ "description": "The human-readable description of this item."
3133
+ },
3134
+ "metadata": {
3135
+ "type": "object",
3136
+ "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."
3137
+ },
3138
+ "mustBeAccepted": {
3139
+ "type": "boolean",
3140
+ "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."
3141
+ },
3142
+ "requireManualDecision": {
3143
+ "type": "boolean",
3144
+ "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
3145
+ },
3146
+ "query": {
3147
+ "anyOf": [
3148
+ {
3149
+ "$ref": "#/definitions/IdentityAttributeQueryJSON"
3150
+ },
3151
+ {
3152
+ "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryJSON"
3153
+ }
3154
+ ]
3155
+ }
3156
+ },
3157
+ "required": [
3158
+ "@type",
3159
+ "mustBeAccepted",
3160
+ "query"
3161
+ ],
3162
+ "additionalProperties": false
3163
+ },
3164
+ "TransferFileOwnershipRequestItemJSON": {
3165
+ "type": "object",
3166
+ "properties": {
3167
+ "@type": {
3168
+ "type": "string",
3169
+ "const": "TransferFileOwnershipRequestItem"
3170
+ },
3171
+ "@context": {
3172
+ "type": "string"
3173
+ },
3174
+ "@version": {
3175
+ "type": "string"
3176
+ },
3177
+ "description": {
3178
+ "type": "string",
3179
+ "description": "The human-readable description of this item."
3180
+ },
3181
+ "metadata": {
3182
+ "type": "object",
3183
+ "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."
3184
+ },
3185
+ "mustBeAccepted": {
3186
+ "type": "boolean",
3187
+ "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."
3188
+ },
3189
+ "requireManualDecision": {
3190
+ "type": "boolean",
3191
+ "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
3192
+ },
3193
+ "fileReference": {
3194
+ "type": "string"
3195
+ },
3196
+ "ownershipToken": {
3197
+ "type": "string"
3198
+ }
3199
+ },
3200
+ "required": [
3201
+ "@type",
3202
+ "fileReference",
3203
+ "mustBeAccepted"
3204
+ ],
3205
+ "additionalProperties": false
3206
+ },
3207
+ "AddressString": {
3208
+ "type": "string",
3209
+ "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
3210
+ }
3211
+ }
3212
+ };
3213
+ exports.RejectIncomingRequestRequest = {
3214
+ "$schema": "http://json-schema.org/draft-07/schema#",
3215
+ "$ref": "#/definitions/RejectIncomingRequestRequest",
3216
+ "definitions": {
3217
+ "RejectIncomingRequestRequest": {
3218
+ "type": "object",
3219
+ "additionalProperties": false,
3220
+ "properties": {
3221
+ "requestId": {
3222
+ "type": "string"
3223
+ },
3224
+ "items": {
3225
+ "type": "array",
3226
+ "items": {
3227
+ "anyOf": [
3228
+ {
3229
+ "$ref": "#/definitions/DecideRequestItemParametersJSON"
3230
+ },
3231
+ {
3232
+ "$ref": "#/definitions/DecideRequestItemGroupParametersJSON"
3233
+ }
3234
+ ]
3235
+ }
3236
+ },
3237
+ "decidedByAutomation": {
3238
+ "type": "boolean",
3239
+ "const": true
3240
+ }
3241
+ },
3242
+ "required": [
3243
+ "items",
3244
+ "requestId"
3245
+ ]
3246
+ },
3247
+ "DecideRequestItemParametersJSON": {
3248
+ "anyOf": [
3249
+ {
3250
+ "$ref": "#/definitions/AcceptRequestItemParametersJSON"
3251
+ },
3252
+ {
3253
+ "$ref": "#/definitions/RejectRequestItemParametersJSON"
3254
+ }
3255
+ ]
3256
+ },
3257
+ "AcceptRequestItemParametersJSON": {
3258
+ "type": "object",
3259
+ "properties": {
3260
+ "accept": {
3261
+ "type": "boolean",
3262
+ "const": true
3263
+ }
3264
+ },
3265
+ "required": [
3266
+ "accept"
3267
+ ],
3268
+ "additionalProperties": false
3269
+ },
3270
+ "RejectRequestItemParametersJSON": {
3271
+ "type": "object",
3272
+ "properties": {
3273
+ "accept": {
3274
+ "type": "boolean",
3275
+ "const": false
3276
+ },
3277
+ "code": {
3278
+ "type": "string"
3279
+ },
3280
+ "message": {
3281
+ "type": "string"
3282
+ }
3283
+ },
3284
+ "required": [
3285
+ "accept"
3286
+ ],
3287
+ "additionalProperties": false
3288
+ },
3289
+ "DecideRequestItemGroupParametersJSON": {
3290
+ "type": "object",
3291
+ "properties": {
3292
+ "items": {
3293
+ "type": "array",
3294
+ "items": {
3295
+ "$ref": "#/definitions/DecideRequestItemParametersJSON"
3296
+ }
3297
+ }
3298
+ },
3299
+ "required": [
3300
+ "items"
3301
+ ],
3302
+ "additionalProperties": false
3303
+ }
3304
+ }
3305
+ };
3306
+ exports.CheckPrerequisitesOfIncomingRequestRequest = {
3307
+ "$schema": "http://json-schema.org/draft-07/schema#",
3308
+ "$ref": "#/definitions/CheckPrerequisitesOfIncomingRequestRequest",
3309
+ "definitions": {
3310
+ "CheckPrerequisitesOfIncomingRequestRequest": {
3311
+ "type": "object",
3312
+ "properties": {
3313
+ "requestId": {
3314
+ "$ref": "#/definitions/RequestIdString"
3315
+ }
3316
+ },
3317
+ "required": [
3318
+ "requestId"
3319
+ ],
3320
+ "additionalProperties": false
3321
+ },
3322
+ "RequestIdString": {
3323
+ "type": "string",
3106
3324
  "pattern": "REQ[A-Za-z0-9]{17}"
3107
3325
  }
3108
3326
  }
@@ -3281,7 +3499,10 @@ exports.CompleteOutgoingRequestRequest = {
3281
3499
  "$ref": "#/definitions/RegisterAttributeListenerAcceptResponseItemJSON"
3282
3500
  },
3283
3501
  {
3284
- "$ref": "#/definitions/FreeTextAcceptResponseItemJSON"
3502
+ "$ref": "#/definitions/FormFieldAcceptResponseItemJSON"
3503
+ },
3504
+ {
3505
+ "$ref": "#/definitions/TransferFileOwnershipAcceptResponseItemJSON"
3285
3506
  }
3286
3507
  ]
3287
3508
  },
@@ -5248,7 +5469,8 @@ exports.CompleteOutgoingRequestRequest = {
5248
5469
  "type": "object",
5249
5470
  "properties": {
5250
5471
  "@type": {
5251
- "type": "string"
5472
+ "type": "string",
5473
+ "const": "Consent"
5252
5474
  },
5253
5475
  "@context": {
5254
5476
  "type": "string"
@@ -5261,6 +5483,9 @@ exports.CompleteOutgoingRequestRequest = {
5261
5483
  },
5262
5484
  "link": {
5263
5485
  "type": "string"
5486
+ },
5487
+ "linkDisplayText": {
5488
+ "type": "string"
5264
5489
  }
5265
5490
  },
5266
5491
  "required": [
@@ -5442,12 +5667,12 @@ exports.CompleteOutgoingRequestRequest = {
5442
5667
  ],
5443
5668
  "additionalProperties": false
5444
5669
  },
5445
- "FreeTextAcceptResponseItemJSON": {
5670
+ "FormFieldAcceptResponseItemJSON": {
5446
5671
  "type": "object",
5447
5672
  "properties": {
5448
5673
  "@type": {
5449
5674
  "type": "string",
5450
- "const": "FreeTextAcceptResponseItem"
5675
+ "const": "FormFieldAcceptResponseItem"
5451
5676
  },
5452
5677
  "@context": {
5453
5678
  "type": "string"
@@ -5459,21 +5684,69 @@ exports.CompleteOutgoingRequestRequest = {
5459
5684
  "type": "string",
5460
5685
  "const": "Accepted"
5461
5686
  },
5462
- "freeText": {
5463
- "type": "string"
5687
+ "response": {
5688
+ "anyOf": [
5689
+ {
5690
+ "type": "string"
5691
+ },
5692
+ {
5693
+ "type": "number"
5694
+ },
5695
+ {
5696
+ "type": "boolean"
5697
+ },
5698
+ {
5699
+ "type": "array",
5700
+ "items": {
5701
+ "type": "string"
5702
+ }
5703
+ }
5704
+ ]
5464
5705
  }
5465
5706
  },
5466
5707
  "required": [
5467
5708
  "@type",
5468
- "freeText",
5709
+ "response",
5469
5710
  "result"
5470
5711
  ],
5471
5712
  "additionalProperties": false
5472
5713
  },
5473
- "RejectResponseItemJSONDerivations": {
5474
- "$ref": "#/definitions/RejectResponseItemJSON"
5475
- },
5476
- "RejectResponseItemJSON": {
5714
+ "TransferFileOwnershipAcceptResponseItemJSON": {
5715
+ "type": "object",
5716
+ "properties": {
5717
+ "@type": {
5718
+ "type": "string",
5719
+ "const": "TransferFileOwnershipAcceptResponseItem"
5720
+ },
5721
+ "@context": {
5722
+ "type": "string"
5723
+ },
5724
+ "@version": {
5725
+ "type": "string"
5726
+ },
5727
+ "result": {
5728
+ "type": "string",
5729
+ "const": "Accepted"
5730
+ },
5731
+ "attributeId": {
5732
+ "type": "string"
5733
+ },
5734
+ "attribute": {
5735
+ "$ref": "#/definitions/IdentityAttributeJSON"
5736
+ }
5737
+ },
5738
+ "required": [
5739
+ "@type",
5740
+ "attribute",
5741
+ "attributeId",
5742
+ "result"
5743
+ ],
5744
+ "additionalProperties": false
5745
+ },
5746
+ "RejectResponseItemJSONDerivations": {
5747
+ "$ref": "#/definitions/RejectResponseItemJSON"
5748
+ },
5749
+ "RejectResponseItemJSON": {
5477
5750
  "type": "object",
5478
5751
  "properties": {
5479
5752
  "@type": {
@@ -5701,7 +5974,10 @@ exports.CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponseRequest
5701
5974
  "$ref": "#/definitions/RegisterAttributeListenerAcceptResponseItemJSON"
5702
5975
  },
5703
5976
  {
5704
- "$ref": "#/definitions/FreeTextAcceptResponseItemJSON"
5977
+ "$ref": "#/definitions/FormFieldAcceptResponseItemJSON"
5978
+ },
5979
+ {
5980
+ "$ref": "#/definitions/TransferFileOwnershipAcceptResponseItemJSON"
5705
5981
  }
5706
5982
  ]
5707
5983
  },
@@ -7668,7 +7944,8 @@ exports.CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponseRequest
7668
7944
  "type": "object",
7669
7945
  "properties": {
7670
7946
  "@type": {
7671
- "type": "string"
7947
+ "type": "string",
7948
+ "const": "Consent"
7672
7949
  },
7673
7950
  "@context": {
7674
7951
  "type": "string"
@@ -7681,6 +7958,9 @@ exports.CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponseRequest
7681
7958
  },
7682
7959
  "link": {
7683
7960
  "type": "string"
7961
+ },
7962
+ "linkDisplayText": {
7963
+ "type": "string"
7684
7964
  }
7685
7965
  },
7686
7966
  "required": [
@@ -7862,12 +8142,56 @@ exports.CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponseRequest
7862
8142
  ],
7863
8143
  "additionalProperties": false
7864
8144
  },
7865
- "FreeTextAcceptResponseItemJSON": {
8145
+ "FormFieldAcceptResponseItemJSON": {
8146
+ "type": "object",
8147
+ "properties": {
8148
+ "@type": {
8149
+ "type": "string",
8150
+ "const": "FormFieldAcceptResponseItem"
8151
+ },
8152
+ "@context": {
8153
+ "type": "string"
8154
+ },
8155
+ "@version": {
8156
+ "type": "string"
8157
+ },
8158
+ "result": {
8159
+ "type": "string",
8160
+ "const": "Accepted"
8161
+ },
8162
+ "response": {
8163
+ "anyOf": [
8164
+ {
8165
+ "type": "string"
8166
+ },
8167
+ {
8168
+ "type": "number"
8169
+ },
8170
+ {
8171
+ "type": "boolean"
8172
+ },
8173
+ {
8174
+ "type": "array",
8175
+ "items": {
8176
+ "type": "string"
8177
+ }
8178
+ }
8179
+ ]
8180
+ }
8181
+ },
8182
+ "required": [
8183
+ "@type",
8184
+ "response",
8185
+ "result"
8186
+ ],
8187
+ "additionalProperties": false
8188
+ },
8189
+ "TransferFileOwnershipAcceptResponseItemJSON": {
7866
8190
  "type": "object",
7867
8191
  "properties": {
7868
8192
  "@type": {
7869
8193
  "type": "string",
7870
- "const": "FreeTextAcceptResponseItem"
8194
+ "const": "TransferFileOwnershipAcceptResponseItem"
7871
8195
  },
7872
8196
  "@context": {
7873
8197
  "type": "string"
@@ -7879,13 +8203,17 @@ exports.CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponseRequest
7879
8203
  "type": "string",
7880
8204
  "const": "Accepted"
7881
8205
  },
7882
- "freeText": {
8206
+ "attributeId": {
7883
8207
  "type": "string"
8208
+ },
8209
+ "attribute": {
8210
+ "$ref": "#/definitions/IdentityAttributeJSON"
7884
8211
  }
7885
8212
  },
7886
8213
  "required": [
7887
8214
  "@type",
7888
- "freeText",
8215
+ "attribute",
8216
+ "attributeId",
7889
8217
  "result"
7890
8218
  ],
7891
8219
  "additionalProperties": false
@@ -8087,10 +8415,13 @@ exports.CreateOutgoingRequestRequest = {
8087
8415
  "$ref": "#/definitions/AuthenticationRequestItemJSON"
8088
8416
  },
8089
8417
  {
8090
- "$ref": "#/definitions/FreeTextRequestItemJSON"
8418
+ "$ref": "#/definitions/FormFieldRequestItemJSON"
8091
8419
  },
8092
8420
  {
8093
8421
  "$ref": "#/definitions/RegisterAttributeListenerRequestItemJSON"
8422
+ },
8423
+ {
8424
+ "$ref": "#/definitions/TransferFileOwnershipRequestItemJSON"
8094
8425
  }
8095
8426
  ]
8096
8427
  },
@@ -8106,10 +8437,6 @@ exports.CreateOutgoingRequestRequest = {
8106
8437
  "@version": {
8107
8438
  "type": "string"
8108
8439
  },
8109
- "title": {
8110
- "type": "string",
8111
- "description": "The human-readable title of this item."
8112
- },
8113
8440
  "description": {
8114
8441
  "type": "string",
8115
8442
  "description": "The human-readable description of this item."
@@ -8146,10 +8473,6 @@ exports.CreateOutgoingRequestRequest = {
8146
8473
  "@version": {
8147
8474
  "type": "string"
8148
8475
  },
8149
- "title": {
8150
- "type": "string",
8151
- "description": "The human-readable title of this item."
8152
- },
8153
8476
  "description": {
8154
8477
  "type": "string",
8155
8478
  "description": "The human-readable description of this item."
@@ -8816,7 +9139,8 @@ exports.CreateOutgoingRequestRequest = {
8816
9139
  "type": "object",
8817
9140
  "properties": {
8818
9141
  "@type": {
8819
- "type": "string"
9142
+ "type": "string",
9143
+ "const": "Consent"
8820
9144
  },
8821
9145
  "@context": {
8822
9146
  "type": "string"
@@ -8829,6 +9153,9 @@ exports.CreateOutgoingRequestRequest = {
8829
9153
  },
8830
9154
  "link": {
8831
9155
  "type": "string"
9156
+ },
9157
+ "linkDisplayText": {
9158
+ "type": "string"
8832
9159
  }
8833
9160
  },
8834
9161
  "required": [
@@ -10095,10 +10422,6 @@ exports.CreateOutgoingRequestRequest = {
10095
10422
  "@version": {
10096
10423
  "type": "string"
10097
10424
  },
10098
- "title": {
10099
- "type": "string",
10100
- "description": "The human-readable title of this item."
10101
- },
10102
10425
  "description": {
10103
10426
  "type": "string",
10104
10427
  "description": "The human-readable description of this item."
@@ -10139,10 +10462,6 @@ exports.CreateOutgoingRequestRequest = {
10139
10462
  "@version": {
10140
10463
  "type": "string"
10141
10464
  },
10142
- "title": {
10143
- "type": "string",
10144
- "description": "The human-readable title of this item."
10145
- },
10146
10465
  "description": {
10147
10466
  "type": "string",
10148
10467
  "description": "The human-readable description of this item."
@@ -10197,10 +10516,6 @@ exports.CreateOutgoingRequestRequest = {
10197
10516
  "@version": {
10198
10517
  "type": "string"
10199
10518
  },
10200
- "title": {
10201
- "type": "string",
10202
- "description": "The human-readable title of this item."
10203
- },
10204
10519
  "description": {
10205
10520
  "type": "string",
10206
10521
  "description": "The human-readable description of this item."
@@ -10473,10 +10788,6 @@ exports.CreateOutgoingRequestRequest = {
10473
10788
  "@version": {
10474
10789
  "type": "string"
10475
10790
  },
10476
- "title": {
10477
- "type": "string",
10478
- "description": "The human-readable title of this item."
10479
- },
10480
10791
  "description": {
10481
10792
  "type": "string",
10482
10793
  "description": "The human-readable description of this item."
@@ -10534,22 +10845,11 @@ exports.CreateOutgoingRequestRequest = {
10534
10845
  "type": "string"
10535
10846
  },
10536
10847
  "owner": {
10537
- "anyOf": [
10538
- {
10539
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryOwner"
10540
- },
10541
- {
10542
- "type": "string",
10543
- "const": "thirdParty"
10544
- },
10545
- {
10546
- "type": "string",
10547
- "const": "recipient"
10548
- },
10549
- {
10550
- "type": "string",
10551
- "const": ""
10552
- }
10848
+ "type": "string",
10849
+ "enum": [
10850
+ "thirdParty",
10851
+ "recipient",
10852
+ ""
10553
10853
  ]
10554
10854
  },
10555
10855
  "thirdParty": {
@@ -10567,14 +10867,6 @@ exports.CreateOutgoingRequestRequest = {
10567
10867
  ],
10568
10868
  "additionalProperties": false
10569
10869
  },
10570
- "ThirdPartyRelationshipAttributeQueryOwner": {
10571
- "type": "string",
10572
- "enum": [
10573
- "thirdParty",
10574
- "recipient",
10575
- ""
10576
- ]
10577
- },
10578
10870
  "ConsentRequestItemJSON": {
10579
10871
  "type": "object",
10580
10872
  "properties": {
@@ -10588,10 +10880,6 @@ exports.CreateOutgoingRequestRequest = {
10588
10880
  "@version": {
10589
10881
  "type": "string"
10590
10882
  },
10591
- "title": {
10592
- "type": "string",
10593
- "description": "The human-readable title of this item."
10594
- },
10595
10883
  "description": {
10596
10884
  "type": "string",
10597
10885
  "description": "The human-readable description of this item."
@@ -10613,6 +10901,9 @@ exports.CreateOutgoingRequestRequest = {
10613
10901
  },
10614
10902
  "link": {
10615
10903
  "type": "string"
10904
+ },
10905
+ "linkDisplayText": {
10906
+ "type": "string"
10616
10907
  }
10617
10908
  },
10618
10909
  "required": [
@@ -10635,10 +10926,6 @@ exports.CreateOutgoingRequestRequest = {
10635
10926
  "@version": {
10636
10927
  "type": "string"
10637
10928
  },
10638
- "title": {
10639
- "type": "string",
10640
- "description": "The human-readable title of this item."
10641
- },
10642
10929
  "description": {
10643
10930
  "type": "string",
10644
10931
  "description": "The human-readable description of this item."
@@ -10654,6 +10941,9 @@ exports.CreateOutgoingRequestRequest = {
10654
10941
  "requireManualDecision": {
10655
10942
  "type": "boolean",
10656
10943
  "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
10944
+ },
10945
+ "title": {
10946
+ "type": "string"
10657
10947
  }
10658
10948
  },
10659
10949
  "required": [
@@ -10663,12 +10953,12 @@ exports.CreateOutgoingRequestRequest = {
10663
10953
  ],
10664
10954
  "additionalProperties": false
10665
10955
  },
10666
- "FreeTextRequestItemJSON": {
10956
+ "FormFieldRequestItemJSON": {
10667
10957
  "type": "object",
10668
10958
  "properties": {
10669
10959
  "@type": {
10670
10960
  "type": "string",
10671
- "const": "FreeTextRequestItem"
10961
+ "const": "FormFieldRequestItem"
10672
10962
  },
10673
10963
  "@context": {
10674
10964
  "type": "string"
@@ -10676,10 +10966,6 @@ exports.CreateOutgoingRequestRequest = {
10676
10966
  "@version": {
10677
10967
  "type": "string"
10678
10968
  },
10679
- "title": {
10680
- "type": "string",
10681
- "description": "The human-readable title of this item."
10682
- },
10683
10969
  "description": {
10684
10970
  "type": "string",
10685
10971
  "description": "The human-readable description of this item."
@@ -10696,23 +10982,52 @@ exports.CreateOutgoingRequestRequest = {
10696
10982
  "type": "boolean",
10697
10983
  "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
10698
10984
  },
10699
- "freeText": {
10985
+ "title": {
10700
10986
  "type": "string"
10987
+ },
10988
+ "settings": {
10989
+ "$ref": "#/definitions/FormFieldSettingsJSONDerivations"
10701
10990
  }
10702
10991
  },
10703
10992
  "required": [
10704
10993
  "@type",
10705
- "freeText",
10706
- "mustBeAccepted"
10994
+ "mustBeAccepted",
10995
+ "settings",
10996
+ "title"
10707
10997
  ],
10708
10998
  "additionalProperties": false
10709
10999
  },
10710
- "RegisterAttributeListenerRequestItemJSON": {
11000
+ "FormFieldSettingsJSONDerivations": {
11001
+ "anyOf": [
11002
+ {
11003
+ "$ref": "#/definitions/StringFormFieldSettingsJSON"
11004
+ },
11005
+ {
11006
+ "$ref": "#/definitions/IntegerFormFieldSettingsJSON"
11007
+ },
11008
+ {
11009
+ "$ref": "#/definitions/DoubleFormFieldSettingsJSON"
11010
+ },
11011
+ {
11012
+ "$ref": "#/definitions/BooleanFormFieldSettingsJSON"
11013
+ },
11014
+ {
11015
+ "$ref": "#/definitions/DateFormFieldSettingsJSON"
11016
+ },
11017
+ {
11018
+ "$ref": "#/definitions/SelectionFormFieldSettingsJSON"
11019
+ },
11020
+ {
11021
+ "$ref": "#/definitions/RatingFormFieldSettingsJSON"
11022
+ }
11023
+ ]
11024
+ },
11025
+ "StringFormFieldSettingsJSON": {
10711
11026
  "type": "object",
10712
11027
  "properties": {
10713
11028
  "@type": {
10714
11029
  "type": "string",
10715
- "const": "RegisterAttributeListenerRequestItem"
11030
+ "const": "StringFormFieldSettings"
10716
11031
  },
10717
11032
  "@context": {
10718
11033
  "type": "string"
@@ -10720,71 +11035,294 @@ exports.CreateOutgoingRequestRequest = {
10720
11035
  "@version": {
10721
11036
  "type": "string"
10722
11037
  },
10723
- "title": {
10724
- "type": "string",
10725
- "description": "The human-readable title of this item."
11038
+ "allowNewlines": {
11039
+ "type": "boolean",
11040
+ "const": true
10726
11041
  },
10727
- "description": {
11042
+ "min": {
11043
+ "type": "number"
11044
+ },
11045
+ "max": {
11046
+ "type": "number"
11047
+ }
11048
+ },
11049
+ "required": [
11050
+ "@type"
11051
+ ],
11052
+ "additionalProperties": false
11053
+ },
11054
+ "IntegerFormFieldSettingsJSON": {
11055
+ "type": "object",
11056
+ "properties": {
11057
+ "@type": {
10728
11058
  "type": "string",
10729
- "description": "The human-readable description of this item."
11059
+ "const": "IntegerFormFieldSettings"
10730
11060
  },
10731
- "metadata": {
10732
- "type": "object",
10733
- "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."
11061
+ "@context": {
11062
+ "type": "string"
10734
11063
  },
10735
- "mustBeAccepted": {
10736
- "type": "boolean",
10737
- "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."
11064
+ "@version": {
11065
+ "type": "string"
10738
11066
  },
10739
- "requireManualDecision": {
10740
- "type": "boolean",
10741
- "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
11067
+ "unit": {
11068
+ "type": "string"
10742
11069
  },
10743
- "query": {
10744
- "anyOf": [
10745
- {
10746
- "$ref": "#/definitions/IdentityAttributeQueryJSON"
10747
- },
10748
- {
10749
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryJSON"
10750
- }
10751
- ]
11070
+ "min": {
11071
+ "type": "number"
11072
+ },
11073
+ "max": {
11074
+ "type": "number"
10752
11075
  }
10753
11076
  },
10754
11077
  "required": [
10755
- "@type",
10756
- "mustBeAccepted",
10757
- "query"
11078
+ "@type"
10758
11079
  ],
10759
11080
  "additionalProperties": false
10760
11081
  },
10761
- "AddressString": {
10762
- "type": "string",
10763
- "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
10764
- }
10765
- }
10766
- };
10767
- exports.DeleteIncomingRequestRequest = {
10768
- "$schema": "http://json-schema.org/draft-07/schema#",
10769
- "$ref": "#/definitions/DeleteIncomingRequestRequest",
10770
- "definitions": {
10771
- "DeleteIncomingRequestRequest": {
11082
+ "DoubleFormFieldSettingsJSON": {
10772
11083
  "type": "object",
10773
11084
  "properties": {
10774
- "requestId": {
11085
+ "@type": {
11086
+ "type": "string",
11087
+ "const": "DoubleFormFieldSettings"
11088
+ },
11089
+ "@context": {
11090
+ "type": "string"
11091
+ },
11092
+ "@version": {
11093
+ "type": "string"
11094
+ },
11095
+ "unit": {
10775
11096
  "type": "string"
11097
+ },
11098
+ "min": {
11099
+ "type": "number"
11100
+ },
11101
+ "max": {
11102
+ "type": "number"
10776
11103
  }
10777
11104
  },
10778
11105
  "required": [
10779
- "requestId"
11106
+ "@type"
10780
11107
  ],
10781
11108
  "additionalProperties": false
10782
- }
10783
- }
10784
- };
10785
- exports.DiscardOutgoingRequestRequest = {
10786
- "$schema": "http://json-schema.org/draft-07/schema#",
10787
- "$ref": "#/definitions/DiscardOutgoingRequestRequest",
11109
+ },
11110
+ "BooleanFormFieldSettingsJSON": {
11111
+ "type": "object",
11112
+ "properties": {
11113
+ "@type": {
11114
+ "type": "string",
11115
+ "const": "BooleanFormFieldSettings"
11116
+ },
11117
+ "@context": {
11118
+ "type": "string"
11119
+ },
11120
+ "@version": {
11121
+ "type": "string"
11122
+ }
11123
+ },
11124
+ "required": [
11125
+ "@type"
11126
+ ],
11127
+ "additionalProperties": false
11128
+ },
11129
+ "DateFormFieldSettingsJSON": {
11130
+ "type": "object",
11131
+ "properties": {
11132
+ "@type": {
11133
+ "type": "string",
11134
+ "const": "DateFormFieldSettings"
11135
+ },
11136
+ "@context": {
11137
+ "type": "string"
11138
+ },
11139
+ "@version": {
11140
+ "type": "string"
11141
+ }
11142
+ },
11143
+ "required": [
11144
+ "@type"
11145
+ ],
11146
+ "additionalProperties": false
11147
+ },
11148
+ "SelectionFormFieldSettingsJSON": {
11149
+ "type": "object",
11150
+ "properties": {
11151
+ "@type": {
11152
+ "type": "string",
11153
+ "const": "SelectionFormFieldSettings"
11154
+ },
11155
+ "@context": {
11156
+ "type": "string"
11157
+ },
11158
+ "@version": {
11159
+ "type": "string"
11160
+ },
11161
+ "options": {
11162
+ "type": "array",
11163
+ "items": {
11164
+ "type": "string"
11165
+ }
11166
+ },
11167
+ "allowMultipleSelection": {
11168
+ "type": "boolean",
11169
+ "const": true
11170
+ }
11171
+ },
11172
+ "required": [
11173
+ "@type",
11174
+ "options"
11175
+ ],
11176
+ "additionalProperties": false
11177
+ },
11178
+ "RatingFormFieldSettingsJSON": {
11179
+ "type": "object",
11180
+ "properties": {
11181
+ "@type": {
11182
+ "type": "string",
11183
+ "const": "RatingFormFieldSettings"
11184
+ },
11185
+ "@context": {
11186
+ "type": "string"
11187
+ },
11188
+ "@version": {
11189
+ "type": "string"
11190
+ },
11191
+ "maxRating": {
11192
+ "type": "number",
11193
+ "enum": [
11194
+ 5,
11195
+ 6,
11196
+ 7,
11197
+ 8,
11198
+ 9,
11199
+ 10
11200
+ ]
11201
+ }
11202
+ },
11203
+ "required": [
11204
+ "@type",
11205
+ "maxRating"
11206
+ ],
11207
+ "additionalProperties": false
11208
+ },
11209
+ "RegisterAttributeListenerRequestItemJSON": {
11210
+ "type": "object",
11211
+ "properties": {
11212
+ "@type": {
11213
+ "type": "string",
11214
+ "const": "RegisterAttributeListenerRequestItem"
11215
+ },
11216
+ "@context": {
11217
+ "type": "string"
11218
+ },
11219
+ "@version": {
11220
+ "type": "string"
11221
+ },
11222
+ "description": {
11223
+ "type": "string",
11224
+ "description": "The human-readable description of this item."
11225
+ },
11226
+ "metadata": {
11227
+ "type": "object",
11228
+ "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."
11229
+ },
11230
+ "mustBeAccepted": {
11231
+ "type": "boolean",
11232
+ "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."
11233
+ },
11234
+ "requireManualDecision": {
11235
+ "type": "boolean",
11236
+ "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
11237
+ },
11238
+ "query": {
11239
+ "anyOf": [
11240
+ {
11241
+ "$ref": "#/definitions/IdentityAttributeQueryJSON"
11242
+ },
11243
+ {
11244
+ "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryJSON"
11245
+ }
11246
+ ]
11247
+ }
11248
+ },
11249
+ "required": [
11250
+ "@type",
11251
+ "mustBeAccepted",
11252
+ "query"
11253
+ ],
11254
+ "additionalProperties": false
11255
+ },
11256
+ "TransferFileOwnershipRequestItemJSON": {
11257
+ "type": "object",
11258
+ "properties": {
11259
+ "@type": {
11260
+ "type": "string",
11261
+ "const": "TransferFileOwnershipRequestItem"
11262
+ },
11263
+ "@context": {
11264
+ "type": "string"
11265
+ },
11266
+ "@version": {
11267
+ "type": "string"
11268
+ },
11269
+ "description": {
11270
+ "type": "string",
11271
+ "description": "The human-readable description of this item."
11272
+ },
11273
+ "metadata": {
11274
+ "type": "object",
11275
+ "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."
11276
+ },
11277
+ "mustBeAccepted": {
11278
+ "type": "boolean",
11279
+ "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."
11280
+ },
11281
+ "requireManualDecision": {
11282
+ "type": "boolean",
11283
+ "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
11284
+ },
11285
+ "fileReference": {
11286
+ "type": "string"
11287
+ },
11288
+ "ownershipToken": {
11289
+ "type": "string"
11290
+ }
11291
+ },
11292
+ "required": [
11293
+ "@type",
11294
+ "fileReference",
11295
+ "mustBeAccepted"
11296
+ ],
11297
+ "additionalProperties": false
11298
+ },
11299
+ "AddressString": {
11300
+ "type": "string",
11301
+ "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
11302
+ }
11303
+ }
11304
+ };
11305
+ exports.DeleteIncomingRequestRequest = {
11306
+ "$schema": "http://json-schema.org/draft-07/schema#",
11307
+ "$ref": "#/definitions/DeleteIncomingRequestRequest",
11308
+ "definitions": {
11309
+ "DeleteIncomingRequestRequest": {
11310
+ "type": "object",
11311
+ "properties": {
11312
+ "requestId": {
11313
+ "type": "string"
11314
+ }
11315
+ },
11316
+ "required": [
11317
+ "requestId"
11318
+ ],
11319
+ "additionalProperties": false
11320
+ }
11321
+ }
11322
+ };
11323
+ exports.DiscardOutgoingRequestRequest = {
11324
+ "$schema": "http://json-schema.org/draft-07/schema#",
11325
+ "$ref": "#/definitions/DiscardOutgoingRequestRequest",
10788
11326
  "definitions": {
10789
11327
  "DiscardOutgoingRequestRequest": {
10790
11328
  "type": "object",
@@ -10894,6 +11432,9 @@ exports.GetIncomingRequestsRequest = {
10894
11432
  }
10895
11433
  ]
10896
11434
  },
11435
+ "wasAutomaticallyDecided": {
11436
+ "type": "string"
11437
+ },
10897
11438
  "content.expiresAt": {
10898
11439
  "anyOf": [
10899
11440
  {
@@ -11402,10 +11943,13 @@ exports.ReceivedIncomingRequestRequest = {
11402
11943
  "$ref": "#/definitions/AuthenticationRequestItemJSON"
11403
11944
  },
11404
11945
  {
11405
- "$ref": "#/definitions/FreeTextRequestItemJSON"
11946
+ "$ref": "#/definitions/FormFieldRequestItemJSON"
11406
11947
  },
11407
11948
  {
11408
11949
  "$ref": "#/definitions/RegisterAttributeListenerRequestItemJSON"
11950
+ },
11951
+ {
11952
+ "$ref": "#/definitions/TransferFileOwnershipRequestItemJSON"
11409
11953
  }
11410
11954
  ]
11411
11955
  },
@@ -11421,10 +11965,6 @@ exports.ReceivedIncomingRequestRequest = {
11421
11965
  "@version": {
11422
11966
  "type": "string"
11423
11967
  },
11424
- "title": {
11425
- "type": "string",
11426
- "description": "The human-readable title of this item."
11427
- },
11428
11968
  "description": {
11429
11969
  "type": "string",
11430
11970
  "description": "The human-readable description of this item."
@@ -11461,10 +12001,6 @@ exports.ReceivedIncomingRequestRequest = {
11461
12001
  "@version": {
11462
12002
  "type": "string"
11463
12003
  },
11464
- "title": {
11465
- "type": "string",
11466
- "description": "The human-readable title of this item."
11467
- },
11468
12004
  "description": {
11469
12005
  "type": "string",
11470
12006
  "description": "The human-readable description of this item."
@@ -12131,7 +12667,8 @@ exports.ReceivedIncomingRequestRequest = {
12131
12667
  "type": "object",
12132
12668
  "properties": {
12133
12669
  "@type": {
12134
- "type": "string"
12670
+ "type": "string",
12671
+ "const": "Consent"
12135
12672
  },
12136
12673
  "@context": {
12137
12674
  "type": "string"
@@ -12144,6 +12681,9 @@ exports.ReceivedIncomingRequestRequest = {
12144
12681
  },
12145
12682
  "link": {
12146
12683
  "type": "string"
12684
+ },
12685
+ "linkDisplayText": {
12686
+ "type": "string"
12147
12687
  }
12148
12688
  },
12149
12689
  "required": [
@@ -13410,10 +13950,6 @@ exports.ReceivedIncomingRequestRequest = {
13410
13950
  "@version": {
13411
13951
  "type": "string"
13412
13952
  },
13413
- "title": {
13414
- "type": "string",
13415
- "description": "The human-readable title of this item."
13416
- },
13417
13953
  "description": {
13418
13954
  "type": "string",
13419
13955
  "description": "The human-readable description of this item."
@@ -13454,10 +13990,6 @@ exports.ReceivedIncomingRequestRequest = {
13454
13990
  "@version": {
13455
13991
  "type": "string"
13456
13992
  },
13457
- "title": {
13458
- "type": "string",
13459
- "description": "The human-readable title of this item."
13460
- },
13461
13993
  "description": {
13462
13994
  "type": "string",
13463
13995
  "description": "The human-readable description of this item."
@@ -13512,10 +14044,6 @@ exports.ReceivedIncomingRequestRequest = {
13512
14044
  "@version": {
13513
14045
  "type": "string"
13514
14046
  },
13515
- "title": {
13516
- "type": "string",
13517
- "description": "The human-readable title of this item."
13518
- },
13519
14047
  "description": {
13520
14048
  "type": "string",
13521
14049
  "description": "The human-readable description of this item."
@@ -13788,10 +14316,6 @@ exports.ReceivedIncomingRequestRequest = {
13788
14316
  "@version": {
13789
14317
  "type": "string"
13790
14318
  },
13791
- "title": {
13792
- "type": "string",
13793
- "description": "The human-readable title of this item."
13794
- },
13795
14319
  "description": {
13796
14320
  "type": "string",
13797
14321
  "description": "The human-readable description of this item."
@@ -13849,22 +14373,11 @@ exports.ReceivedIncomingRequestRequest = {
13849
14373
  "type": "string"
13850
14374
  },
13851
14375
  "owner": {
13852
- "anyOf": [
13853
- {
13854
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryOwner"
13855
- },
13856
- {
13857
- "type": "string",
13858
- "const": "thirdParty"
13859
- },
13860
- {
13861
- "type": "string",
13862
- "const": "recipient"
13863
- },
13864
- {
13865
- "type": "string",
13866
- "const": ""
13867
- }
14376
+ "type": "string",
14377
+ "enum": [
14378
+ "thirdParty",
14379
+ "recipient",
14380
+ ""
13868
14381
  ]
13869
14382
  },
13870
14383
  "thirdParty": {
@@ -13882,14 +14395,6 @@ exports.ReceivedIncomingRequestRequest = {
13882
14395
  ],
13883
14396
  "additionalProperties": false
13884
14397
  },
13885
- "ThirdPartyRelationshipAttributeQueryOwner": {
13886
- "type": "string",
13887
- "enum": [
13888
- "thirdParty",
13889
- "recipient",
13890
- ""
13891
- ]
13892
- },
13893
14398
  "ConsentRequestItemJSON": {
13894
14399
  "type": "object",
13895
14400
  "properties": {
@@ -13903,10 +14408,6 @@ exports.ReceivedIncomingRequestRequest = {
13903
14408
  "@version": {
13904
14409
  "type": "string"
13905
14410
  },
13906
- "title": {
13907
- "type": "string",
13908
- "description": "The human-readable title of this item."
13909
- },
13910
14411
  "description": {
13911
14412
  "type": "string",
13912
14413
  "description": "The human-readable description of this item."
@@ -13928,6 +14429,9 @@ exports.ReceivedIncomingRequestRequest = {
13928
14429
  },
13929
14430
  "link": {
13930
14431
  "type": "string"
14432
+ },
14433
+ "linkDisplayText": {
14434
+ "type": "string"
13931
14435
  }
13932
14436
  },
13933
14437
  "required": [
@@ -13950,10 +14454,6 @@ exports.ReceivedIncomingRequestRequest = {
13950
14454
  "@version": {
13951
14455
  "type": "string"
13952
14456
  },
13953
- "title": {
13954
- "type": "string",
13955
- "description": "The human-readable title of this item."
13956
- },
13957
14457
  "description": {
13958
14458
  "type": "string",
13959
14459
  "description": "The human-readable description of this item."
@@ -13969,6 +14469,9 @@ exports.ReceivedIncomingRequestRequest = {
13969
14469
  "requireManualDecision": {
13970
14470
  "type": "boolean",
13971
14471
  "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
14472
+ },
14473
+ "title": {
14474
+ "type": "string"
13972
14475
  }
13973
14476
  },
13974
14477
  "required": [
@@ -13978,12 +14481,12 @@ exports.ReceivedIncomingRequestRequest = {
13978
14481
  ],
13979
14482
  "additionalProperties": false
13980
14483
  },
13981
- "FreeTextRequestItemJSON": {
14484
+ "FormFieldRequestItemJSON": {
13982
14485
  "type": "object",
13983
14486
  "properties": {
13984
14487
  "@type": {
13985
14488
  "type": "string",
13986
- "const": "FreeTextRequestItem"
14489
+ "const": "FormFieldRequestItem"
13987
14490
  },
13988
14491
  "@context": {
13989
14492
  "type": "string"
@@ -13991,11 +14494,7 @@ exports.ReceivedIncomingRequestRequest = {
13991
14494
  "@version": {
13992
14495
  "type": "string"
13993
14496
  },
13994
- "title": {
13995
- "type": "string",
13996
- "description": "The human-readable title of this item."
13997
- },
13998
- "description": {
14497
+ "description": {
13999
14498
  "type": "string",
14000
14499
  "description": "The human-readable description of this item."
14001
14500
  },
@@ -14011,23 +14510,52 @@ exports.ReceivedIncomingRequestRequest = {
14011
14510
  "type": "boolean",
14012
14511
  "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
14013
14512
  },
14014
- "freeText": {
14513
+ "title": {
14015
14514
  "type": "string"
14515
+ },
14516
+ "settings": {
14517
+ "$ref": "#/definitions/FormFieldSettingsJSONDerivations"
14016
14518
  }
14017
14519
  },
14018
14520
  "required": [
14019
14521
  "@type",
14020
- "freeText",
14021
- "mustBeAccepted"
14522
+ "mustBeAccepted",
14523
+ "settings",
14524
+ "title"
14022
14525
  ],
14023
14526
  "additionalProperties": false
14024
14527
  },
14025
- "RegisterAttributeListenerRequestItemJSON": {
14528
+ "FormFieldSettingsJSONDerivations": {
14529
+ "anyOf": [
14530
+ {
14531
+ "$ref": "#/definitions/StringFormFieldSettingsJSON"
14532
+ },
14533
+ {
14534
+ "$ref": "#/definitions/IntegerFormFieldSettingsJSON"
14535
+ },
14536
+ {
14537
+ "$ref": "#/definitions/DoubleFormFieldSettingsJSON"
14538
+ },
14539
+ {
14540
+ "$ref": "#/definitions/BooleanFormFieldSettingsJSON"
14541
+ },
14542
+ {
14543
+ "$ref": "#/definitions/DateFormFieldSettingsJSON"
14544
+ },
14545
+ {
14546
+ "$ref": "#/definitions/SelectionFormFieldSettingsJSON"
14547
+ },
14548
+ {
14549
+ "$ref": "#/definitions/RatingFormFieldSettingsJSON"
14550
+ }
14551
+ ]
14552
+ },
14553
+ "StringFormFieldSettingsJSON": {
14026
14554
  "type": "object",
14027
14555
  "properties": {
14028
14556
  "@type": {
14029
14557
  "type": "string",
14030
- "const": "RegisterAttributeListenerRequestItem"
14558
+ "const": "StringFormFieldSettings"
14031
14559
  },
14032
14560
  "@context": {
14033
14561
  "type": "string"
@@ -14035,9 +14563,189 @@ exports.ReceivedIncomingRequestRequest = {
14035
14563
  "@version": {
14036
14564
  "type": "string"
14037
14565
  },
14038
- "title": {
14566
+ "allowNewlines": {
14567
+ "type": "boolean",
14568
+ "const": true
14569
+ },
14570
+ "min": {
14571
+ "type": "number"
14572
+ },
14573
+ "max": {
14574
+ "type": "number"
14575
+ }
14576
+ },
14577
+ "required": [
14578
+ "@type"
14579
+ ],
14580
+ "additionalProperties": false
14581
+ },
14582
+ "IntegerFormFieldSettingsJSON": {
14583
+ "type": "object",
14584
+ "properties": {
14585
+ "@type": {
14586
+ "type": "string",
14587
+ "const": "IntegerFormFieldSettings"
14588
+ },
14589
+ "@context": {
14590
+ "type": "string"
14591
+ },
14592
+ "@version": {
14593
+ "type": "string"
14594
+ },
14595
+ "unit": {
14596
+ "type": "string"
14597
+ },
14598
+ "min": {
14599
+ "type": "number"
14600
+ },
14601
+ "max": {
14602
+ "type": "number"
14603
+ }
14604
+ },
14605
+ "required": [
14606
+ "@type"
14607
+ ],
14608
+ "additionalProperties": false
14609
+ },
14610
+ "DoubleFormFieldSettingsJSON": {
14611
+ "type": "object",
14612
+ "properties": {
14613
+ "@type": {
14614
+ "type": "string",
14615
+ "const": "DoubleFormFieldSettings"
14616
+ },
14617
+ "@context": {
14618
+ "type": "string"
14619
+ },
14620
+ "@version": {
14621
+ "type": "string"
14622
+ },
14623
+ "unit": {
14624
+ "type": "string"
14625
+ },
14626
+ "min": {
14627
+ "type": "number"
14628
+ },
14629
+ "max": {
14630
+ "type": "number"
14631
+ }
14632
+ },
14633
+ "required": [
14634
+ "@type"
14635
+ ],
14636
+ "additionalProperties": false
14637
+ },
14638
+ "BooleanFormFieldSettingsJSON": {
14639
+ "type": "object",
14640
+ "properties": {
14641
+ "@type": {
14642
+ "type": "string",
14643
+ "const": "BooleanFormFieldSettings"
14644
+ },
14645
+ "@context": {
14646
+ "type": "string"
14647
+ },
14648
+ "@version": {
14649
+ "type": "string"
14650
+ }
14651
+ },
14652
+ "required": [
14653
+ "@type"
14654
+ ],
14655
+ "additionalProperties": false
14656
+ },
14657
+ "DateFormFieldSettingsJSON": {
14658
+ "type": "object",
14659
+ "properties": {
14660
+ "@type": {
14661
+ "type": "string",
14662
+ "const": "DateFormFieldSettings"
14663
+ },
14664
+ "@context": {
14665
+ "type": "string"
14666
+ },
14667
+ "@version": {
14668
+ "type": "string"
14669
+ }
14670
+ },
14671
+ "required": [
14672
+ "@type"
14673
+ ],
14674
+ "additionalProperties": false
14675
+ },
14676
+ "SelectionFormFieldSettingsJSON": {
14677
+ "type": "object",
14678
+ "properties": {
14679
+ "@type": {
14680
+ "type": "string",
14681
+ "const": "SelectionFormFieldSettings"
14682
+ },
14683
+ "@context": {
14684
+ "type": "string"
14685
+ },
14686
+ "@version": {
14687
+ "type": "string"
14688
+ },
14689
+ "options": {
14690
+ "type": "array",
14691
+ "items": {
14692
+ "type": "string"
14693
+ }
14694
+ },
14695
+ "allowMultipleSelection": {
14696
+ "type": "boolean",
14697
+ "const": true
14698
+ }
14699
+ },
14700
+ "required": [
14701
+ "@type",
14702
+ "options"
14703
+ ],
14704
+ "additionalProperties": false
14705
+ },
14706
+ "RatingFormFieldSettingsJSON": {
14707
+ "type": "object",
14708
+ "properties": {
14709
+ "@type": {
14710
+ "type": "string",
14711
+ "const": "RatingFormFieldSettings"
14712
+ },
14713
+ "@context": {
14714
+ "type": "string"
14715
+ },
14716
+ "@version": {
14717
+ "type": "string"
14718
+ },
14719
+ "maxRating": {
14720
+ "type": "number",
14721
+ "enum": [
14722
+ 5,
14723
+ 6,
14724
+ 7,
14725
+ 8,
14726
+ 9,
14727
+ 10
14728
+ ]
14729
+ }
14730
+ },
14731
+ "required": [
14732
+ "@type",
14733
+ "maxRating"
14734
+ ],
14735
+ "additionalProperties": false
14736
+ },
14737
+ "RegisterAttributeListenerRequestItemJSON": {
14738
+ "type": "object",
14739
+ "properties": {
14740
+ "@type": {
14039
14741
  "type": "string",
14040
- "description": "The human-readable title of this item."
14742
+ "const": "RegisterAttributeListenerRequestItem"
14743
+ },
14744
+ "@context": {
14745
+ "type": "string"
14746
+ },
14747
+ "@version": {
14748
+ "type": "string"
14041
14749
  },
14042
14750
  "description": {
14043
14751
  "type": "string",
@@ -14073,6 +14781,49 @@ exports.ReceivedIncomingRequestRequest = {
14073
14781
  ],
14074
14782
  "additionalProperties": false
14075
14783
  },
14784
+ "TransferFileOwnershipRequestItemJSON": {
14785
+ "type": "object",
14786
+ "properties": {
14787
+ "@type": {
14788
+ "type": "string",
14789
+ "const": "TransferFileOwnershipRequestItem"
14790
+ },
14791
+ "@context": {
14792
+ "type": "string"
14793
+ },
14794
+ "@version": {
14795
+ "type": "string"
14796
+ },
14797
+ "description": {
14798
+ "type": "string",
14799
+ "description": "The human-readable description of this item."
14800
+ },
14801
+ "metadata": {
14802
+ "type": "object",
14803
+ "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."
14804
+ },
14805
+ "mustBeAccepted": {
14806
+ "type": "boolean",
14807
+ "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."
14808
+ },
14809
+ "requireManualDecision": {
14810
+ "type": "boolean",
14811
+ "description": "If set to `true`, it advices the recipient of this RequestItem to carefully consider their decision and especially do not decide based on some automation rules."
14812
+ },
14813
+ "fileReference": {
14814
+ "type": "string"
14815
+ },
14816
+ "ownershipToken": {
14817
+ "type": "string"
14818
+ }
14819
+ },
14820
+ "required": [
14821
+ "@type",
14822
+ "fileReference",
14823
+ "mustBeAccepted"
14824
+ ],
14825
+ "additionalProperties": false
14826
+ },
14076
14827
  "MessageIdString": {
14077
14828
  "type": "string",
14078
14829
  "pattern": "MSG[A-Za-z0-9]{17}"
@@ -14189,9 +14940,6 @@ exports.CreateAndShareRelationshipAttributeRequest = {
14189
14940
  "requestItemMetadata": {
14190
14941
  "type": "object",
14191
14942
  "properties": {
14192
- "title": {
14193
- "type": "string"
14194
- },
14195
14943
  "description": {
14196
14944
  "type": "string"
14197
14945
  },
@@ -14805,7 +15553,8 @@ exports.CreateAndShareRelationshipAttributeRequest = {
14805
15553
  "type": "object",
14806
15554
  "properties": {
14807
15555
  "@type": {
14808
- "type": "string"
15556
+ "type": "string",
15557
+ "const": "Consent"
14809
15558
  },
14810
15559
  "@context": {
14811
15560
  "type": "string"
@@ -14818,6 +15567,9 @@ exports.CreateAndShareRelationshipAttributeRequest = {
14818
15567
  },
14819
15568
  "link": {
14820
15569
  "type": "string"
15570
+ },
15571
+ "linkDisplayText": {
15572
+ "type": "string"
14821
15573
  }
14822
15574
  },
14823
15575
  "required": [
@@ -15420,22 +16172,11 @@ exports.ExecuteThirdPartyRelationshipAttributeQueryRequest = {
15420
16172
  "type": "string"
15421
16173
  },
15422
16174
  "owner": {
15423
- "anyOf": [
15424
- {
15425
- "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryOwner"
15426
- },
15427
- {
15428
- "type": "string",
15429
- "const": "thirdParty"
15430
- },
15431
- {
15432
- "type": "string",
15433
- "const": "recipient"
15434
- },
15435
- {
15436
- "type": "string",
15437
- "const": ""
15438
- }
16175
+ "type": "string",
16176
+ "enum": [
16177
+ "thirdParty",
16178
+ "recipient",
16179
+ ""
15439
16180
  ]
15440
16181
  },
15441
16182
  "thirdParty": {
@@ -15452,14 +16193,6 @@ exports.ExecuteThirdPartyRelationshipAttributeQueryRequest = {
15452
16193
  "thirdParty"
15453
16194
  ],
15454
16195
  "additionalProperties": false
15455
- },
15456
- "ThirdPartyRelationshipAttributeQueryOwner": {
15457
- "type": "string",
15458
- "enum": [
15459
- "thirdParty",
15460
- "recipient",
15461
- ""
15462
- ]
15463
16196
  }
15464
16197
  }
15465
16198
  };
@@ -16310,7 +17043,29 @@ exports.NotifyPeerAboutRepositoryAttributeSuccessionRequest = {
16310
17043
  }
16311
17044
  }
16312
17045
  };
16313
- exports.ShareRepositoryAttributeRequest = {
17046
+ exports.SetAttributeDeletionInfoOfDeletionProposedRelationshipRequest = {
17047
+ "$schema": "http://json-schema.org/draft-07/schema#",
17048
+ "$ref": "#/definitions/SetAttributeDeletionInfoOfDeletionProposedRelationshipRequest",
17049
+ "definitions": {
17050
+ "SetAttributeDeletionInfoOfDeletionProposedRelationshipRequest": {
17051
+ "type": "object",
17052
+ "properties": {
17053
+ "relationshipId": {
17054
+ "$ref": "#/definitions/RelationshipIdString"
17055
+ }
17056
+ },
17057
+ "required": [
17058
+ "relationshipId"
17059
+ ],
17060
+ "additionalProperties": false
17061
+ },
17062
+ "RelationshipIdString": {
17063
+ "type": "string",
17064
+ "pattern": "REL[A-Za-z0-9]{17}"
17065
+ }
17066
+ }
17067
+ };
17068
+ exports.ShareRepositoryAttributeRequest = {
16314
17069
  "$schema": "http://json-schema.org/draft-07/schema#",
16315
17070
  "$ref": "#/definitions/ShareRepositoryAttributeRequest",
16316
17071
  "definitions": {
@@ -16344,9 +17099,6 @@ exports.ShareRepositoryAttributeRequest = {
16344
17099
  "requestItemMetadata": {
16345
17100
  "type": "object",
16346
17101
  "properties": {
16347
- "title": {
16348
- "type": "string"
16349
- },
16350
17102
  "description": {
16351
17103
  "type": "string"
16352
17104
  },
@@ -17008,7 +17760,8 @@ exports.SucceedRelationshipAttributeAndNotifyPeerRequest = {
17008
17760
  "type": "object",
17009
17761
  "properties": {
17010
17762
  "@type": {
17011
- "type": "string"
17763
+ "type": "string",
17764
+ "const": "Consent"
17012
17765
  },
17013
17766
  "@context": {
17014
17767
  "type": "string"
@@ -17021,6 +17774,9 @@ exports.SucceedRelationshipAttributeAndNotifyPeerRequest = {
17021
17774
  },
17022
17775
  "link": {
17023
17776
  "type": "string"
17777
+ },
17778
+ "linkDisplayText": {
17779
+ "type": "string"
17024
17780
  }
17025
17781
  },
17026
17782
  "required": [
@@ -19042,11 +19798,11 @@ exports.DownloadFileRequest = {
19042
19798
  }
19043
19799
  }
19044
19800
  };
19045
- exports.LoadItemFromTruncatedReferenceRequest = {
19801
+ exports.LoadItemFromReferenceRequest = {
19046
19802
  "$schema": "http://json-schema.org/draft-07/schema#",
19047
- "$ref": "#/definitions/LoadItemFromTruncatedReferenceRequest",
19803
+ "$ref": "#/definitions/LoadItemFromReferenceRequest",
19048
19804
  "definitions": {
19049
- "LoadItemFromTruncatedReferenceRequest": {
19805
+ "LoadItemFromReferenceRequest": {
19050
19806
  "type": "object",
19051
19807
  "properties": {
19052
19808
  "reference": {
@@ -19118,355 +19874,417 @@ exports.RegisterPushNotificationTokenRequest = {
19118
19874
  }
19119
19875
  }
19120
19876
  };
19121
- exports.GetIdentityDeletionProcessRequest = {
19877
+ exports.CreateTokenForFileRequest = {
19122
19878
  "$schema": "http://json-schema.org/draft-07/schema#",
19123
- "$ref": "#/definitions/GetIdentityDeletionProcessRequest",
19879
+ "$ref": "#/definitions/CreateTokenForFileRequest",
19124
19880
  "definitions": {
19125
- "GetIdentityDeletionProcessRequest": {
19881
+ "CreateTokenForFileRequest": {
19126
19882
  "type": "object",
19127
19883
  "properties": {
19128
- "id": {
19129
- "$ref": "#/definitions/IdentityDeletionProcessIdString"
19884
+ "fileId": {
19885
+ "$ref": "#/definitions/FileIdString"
19886
+ },
19887
+ "expiresAt": {
19888
+ "$ref": "#/definitions/ISO8601DateTimeString"
19889
+ },
19890
+ "ephemeral": {
19891
+ "type": "boolean"
19892
+ },
19893
+ "forIdentity": {
19894
+ "$ref": "#/definitions/AddressString"
19895
+ },
19896
+ "passwordProtection": {
19897
+ "type": "object",
19898
+ "properties": {
19899
+ "password": {
19900
+ "type": "string",
19901
+ "minLength": 1
19902
+ },
19903
+ "passwordIsPin": {
19904
+ "type": "boolean",
19905
+ "const": true
19906
+ },
19907
+ "passwordLocationIndicator": {}
19908
+ },
19909
+ "required": [
19910
+ "password"
19911
+ ],
19912
+ "additionalProperties": false
19130
19913
  }
19131
19914
  },
19132
19915
  "required": [
19133
- "id"
19916
+ "fileId"
19134
19917
  ],
19135
19918
  "additionalProperties": false
19136
19919
  },
19137
- "IdentityDeletionProcessIdString": {
19920
+ "FileIdString": {
19138
19921
  "type": "string",
19139
- "pattern": "IDP[A-Za-z0-9]{17}"
19140
- }
19141
- }
19142
- };
19143
- exports.InitiateIdentityDeletionProcessRequest = {
19144
- "$schema": "http://json-schema.org/draft-07/schema#",
19145
- "$ref": "#/definitions/InitiateIdentityDeletionProcessRequest",
19146
- "definitions": {
19147
- "InitiateIdentityDeletionProcessRequest": {
19148
- "type": "object",
19149
- "properties": {
19150
- "lengthOfGracePeriodInDays": {
19151
- "type": "number"
19152
- }
19153
- },
19154
- "additionalProperties": false
19922
+ "pattern": "FIL[A-Za-z0-9]{17}"
19923
+ },
19924
+ "ISO8601DateTimeString": {
19925
+ "type": "string",
19926
+ "errorMessage": "must match ISO8601 datetime format",
19927
+ "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)?)?)?)?$"
19928
+ },
19929
+ "AddressString": {
19930
+ "type": "string",
19931
+ "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
19155
19932
  }
19156
19933
  }
19157
19934
  };
19158
- exports.DownloadAttachmentRequest = {
19935
+ exports.DeleteFileRequest = {
19159
19936
  "$schema": "http://json-schema.org/draft-07/schema#",
19160
- "$ref": "#/definitions/DownloadAttachmentRequest",
19937
+ "$ref": "#/definitions/DeleteFileRequest",
19161
19938
  "definitions": {
19162
- "DownloadAttachmentRequest": {
19939
+ "DeleteFileRequest": {
19163
19940
  "type": "object",
19164
19941
  "properties": {
19165
- "id": {
19166
- "$ref": "#/definitions/MessageIdString"
19167
- },
19168
- "attachmentId": {
19942
+ "fileId": {
19169
19943
  "$ref": "#/definitions/FileIdString"
19170
19944
  }
19171
19945
  },
19172
19946
  "required": [
19173
- "id",
19174
- "attachmentId"
19947
+ "fileId"
19175
19948
  ],
19176
19949
  "additionalProperties": false
19177
19950
  },
19178
- "MessageIdString": {
19179
- "type": "string",
19180
- "pattern": "MSG[A-Za-z0-9]{17}"
19181
- },
19182
19951
  "FileIdString": {
19183
19952
  "type": "string",
19184
19953
  "pattern": "FIL[A-Za-z0-9]{17}"
19185
19954
  }
19186
19955
  }
19187
19956
  };
19188
- exports.CreateRelationshipChallengeRequest = {
19957
+ exports.GetFileRequest = {
19189
19958
  "$schema": "http://json-schema.org/draft-07/schema#",
19190
- "$ref": "#/definitions/CreateRelationshipChallengeRequest",
19959
+ "$ref": "#/definitions/GetFileRequest",
19191
19960
  "definitions": {
19192
- "CreateRelationshipChallengeRequest": {
19961
+ "GetFileRequest": {
19193
19962
  "type": "object",
19194
19963
  "properties": {
19195
- "challengeType": {
19196
- "type": "string",
19197
- "const": "Relationship"
19198
- },
19199
- "relationship": {
19200
- "$ref": "#/definitions/RelationshipIdString"
19964
+ "id": {
19965
+ "$ref": "#/definitions/FileIdString"
19201
19966
  }
19202
19967
  },
19203
19968
  "required": [
19204
- "challengeType",
19205
- "relationship"
19969
+ "id"
19206
19970
  ],
19207
19971
  "additionalProperties": false
19208
19972
  },
19209
- "RelationshipIdString": {
19973
+ "FileIdString": {
19210
19974
  "type": "string",
19211
- "pattern": "REL[A-Za-z0-9]{17}"
19212
- }
19213
- }
19214
- };
19215
- exports.isCreateRelationshipChallengeRequest = {
19216
- "$schema": "http://json-schema.org/draft-07/schema#",
19217
- "$ref": "#/definitions/isCreateRelationshipChallengeRequest",
19218
- "definitions": {
19219
- "isCreateRelationshipChallengeRequest": {
19220
- "$comment": "(value: any) => value is CreateRelationshipChallengeRequest",
19221
- "type": "object",
19222
- "properties": {
19223
- "namedArgs": {
19224
- "type": "object",
19225
- "properties": {
19226
- "value": {}
19227
- },
19228
- "required": [
19229
- "value"
19230
- ],
19231
- "additionalProperties": false
19232
- }
19233
- }
19234
- }
19235
- }
19236
- };
19237
- exports.CreateIdentityChallengeRequest = {
19238
- "$schema": "http://json-schema.org/draft-07/schema#",
19239
- "$ref": "#/definitions/CreateIdentityChallengeRequest",
19240
- "definitions": {
19241
- "CreateIdentityChallengeRequest": {
19242
- "type": "object",
19243
- "properties": {
19244
- "challengeType": {
19245
- "type": "string",
19246
- "const": "Identity"
19247
- }
19248
- },
19249
- "required": [
19250
- "challengeType"
19251
- ],
19252
- "additionalProperties": false
19253
- }
19254
- }
19255
- };
19256
- exports.isCreateIdentityChallengeRequest = {
19257
- "$schema": "http://json-schema.org/draft-07/schema#",
19258
- "$ref": "#/definitions/isCreateIdentityChallengeRequest",
19259
- "definitions": {
19260
- "isCreateIdentityChallengeRequest": {
19261
- "$comment": "(value: any) => value is CreateIdentityChallengeRequest",
19262
- "type": "object",
19263
- "properties": {
19264
- "namedArgs": {
19265
- "type": "object",
19266
- "properties": {
19267
- "value": {}
19268
- },
19269
- "required": [
19270
- "value"
19271
- ],
19272
- "additionalProperties": false
19273
- }
19274
- }
19975
+ "pattern": "FIL[A-Za-z0-9]{17}"
19275
19976
  }
19276
19977
  }
19277
19978
  };
19278
- exports.CreateDeviceChallengeRequest = {
19979
+ exports.GetFilesRequest = {
19279
19980
  "$schema": "http://json-schema.org/draft-07/schema#",
19280
- "$ref": "#/definitions/CreateDeviceChallengeRequest",
19981
+ "$ref": "#/definitions/GetFilesRequest",
19281
19982
  "definitions": {
19282
- "CreateDeviceChallengeRequest": {
19983
+ "GetFilesRequest": {
19283
19984
  "type": "object",
19284
19985
  "properties": {
19285
- "challengeType": {
19286
- "type": "string",
19287
- "const": "Device"
19986
+ "query": {
19987
+ "$ref": "#/definitions/GetFilesQuery"
19988
+ },
19989
+ "ownerRestriction": {
19990
+ "$ref": "#/definitions/OwnerRestriction"
19288
19991
  }
19289
19992
  },
19290
- "required": [
19291
- "challengeType"
19292
- ],
19293
19993
  "additionalProperties": false
19294
- }
19295
- }
19296
- };
19297
- exports.isCreateDeviceChallengeRequest = {
19298
- "$schema": "http://json-schema.org/draft-07/schema#",
19299
- "$ref": "#/definitions/isCreateDeviceChallengeRequest",
19300
- "definitions": {
19301
- "isCreateDeviceChallengeRequest": {
19302
- "$comment": "(value: any) => value is CreateDeviceChallengeRequest",
19303
- "type": "object",
19304
- "properties": {
19305
- "namedArgs": {
19306
- "type": "object",
19307
- "properties": {
19308
- "value": {}
19309
- },
19310
- "required": [
19311
- "value"
19312
- ],
19313
- "additionalProperties": false
19314
- }
19315
- }
19316
- }
19317
- }
19318
- };
19319
- exports.CreateChallengeRequest = {
19320
- "$schema": "http://json-schema.org/draft-07/schema#",
19321
- "$ref": "#/definitions/CreateChallengeRequest",
19322
- "definitions": {
19323
- "CreateChallengeRequest": {
19324
- "anyOf": [
19325
- {
19326
- "$ref": "#/definitions/CreateRelationshipChallengeRequest"
19327
- },
19328
- {
19329
- "$ref": "#/definitions/CreateIdentityChallengeRequest"
19330
- },
19331
- {
19332
- "$ref": "#/definitions/CreateDeviceChallengeRequest"
19333
- }
19334
- ]
19335
19994
  },
19336
- "CreateRelationshipChallengeRequest": {
19995
+ "GetFilesQuery": {
19337
19996
  "type": "object",
19338
19997
  "properties": {
19339
- "challengeType": {
19340
- "type": "string",
19341
- "const": "Relationship"
19998
+ "createdAt": {
19999
+ "anyOf": [
20000
+ {
20001
+ "type": "string"
20002
+ },
20003
+ {
20004
+ "type": "array",
20005
+ "items": {
20006
+ "type": "string"
20007
+ }
20008
+ }
20009
+ ]
19342
20010
  },
19343
- "relationship": {
19344
- "$ref": "#/definitions/RelationshipIdString"
20011
+ "createdBy": {
20012
+ "anyOf": [
20013
+ {
20014
+ "type": "string"
20015
+ },
20016
+ {
20017
+ "type": "array",
20018
+ "items": {
20019
+ "type": "string"
20020
+ }
20021
+ }
20022
+ ]
20023
+ },
20024
+ "createdByDevice": {
20025
+ "anyOf": [
20026
+ {
20027
+ "type": "string"
20028
+ },
20029
+ {
20030
+ "type": "array",
20031
+ "items": {
20032
+ "type": "string"
20033
+ }
20034
+ }
20035
+ ]
20036
+ },
20037
+ "description": {
20038
+ "anyOf": [
20039
+ {
20040
+ "type": "string"
20041
+ },
20042
+ {
20043
+ "type": "array",
20044
+ "items": {
20045
+ "type": "string"
20046
+ }
20047
+ }
20048
+ ]
20049
+ },
20050
+ "expiresAt": {
20051
+ "anyOf": [
20052
+ {
20053
+ "type": "string"
20054
+ },
20055
+ {
20056
+ "type": "array",
20057
+ "items": {
20058
+ "type": "string"
20059
+ }
20060
+ }
20061
+ ]
20062
+ },
20063
+ "filename": {
20064
+ "anyOf": [
20065
+ {
20066
+ "type": "string"
20067
+ },
20068
+ {
20069
+ "type": "array",
20070
+ "items": {
20071
+ "type": "string"
20072
+ }
20073
+ }
20074
+ ]
20075
+ },
20076
+ "filesize": {
20077
+ "anyOf": [
20078
+ {
20079
+ "type": "string"
20080
+ },
20081
+ {
20082
+ "type": "array",
20083
+ "items": {
20084
+ "type": "string"
20085
+ }
20086
+ }
20087
+ ]
20088
+ },
20089
+ "mimetype": {
20090
+ "anyOf": [
20091
+ {
20092
+ "type": "string"
20093
+ },
20094
+ {
20095
+ "type": "array",
20096
+ "items": {
20097
+ "type": "string"
20098
+ }
20099
+ }
20100
+ ]
20101
+ },
20102
+ "title": {
20103
+ "anyOf": [
20104
+ {
20105
+ "type": "string"
20106
+ },
20107
+ {
20108
+ "type": "array",
20109
+ "items": {
20110
+ "type": "string"
20111
+ }
20112
+ }
20113
+ ]
20114
+ },
20115
+ "isOwn": {
20116
+ "anyOf": [
20117
+ {
20118
+ "type": "string"
20119
+ },
20120
+ {
20121
+ "type": "array",
20122
+ "items": {
20123
+ "type": "string"
20124
+ }
20125
+ }
20126
+ ]
20127
+ },
20128
+ "tags": {
20129
+ "anyOf": [
20130
+ {
20131
+ "type": "string"
20132
+ },
20133
+ {
20134
+ "type": "array",
20135
+ "items": {
20136
+ "type": "string"
20137
+ }
20138
+ }
20139
+ ]
19345
20140
  }
19346
20141
  },
19347
- "required": [
19348
- "challengeType",
19349
- "relationship"
19350
- ],
19351
20142
  "additionalProperties": false
19352
20143
  },
19353
- "RelationshipIdString": {
20144
+ "OwnerRestriction": {
19354
20145
  "type": "string",
19355
- "pattern": "REL[A-Za-z0-9]{17}"
19356
- },
19357
- "CreateIdentityChallengeRequest": {
19358
- "type": "object",
19359
- "properties": {
19360
- "challengeType": {
19361
- "type": "string",
19362
- "const": "Identity"
19363
- }
19364
- },
19365
- "required": [
19366
- "challengeType"
19367
- ],
19368
- "additionalProperties": false
19369
- },
19370
- "CreateDeviceChallengeRequest": {
19371
- "type": "object",
19372
- "properties": {
19373
- "challengeType": {
19374
- "type": "string",
19375
- "const": "Device"
19376
- }
19377
- },
19378
- "required": [
19379
- "challengeType"
19380
- ],
19381
- "additionalProperties": false
20146
+ "enum": [
20147
+ "o",
20148
+ "p"
20149
+ ]
19382
20150
  }
19383
20151
  }
19384
20152
  };
19385
- exports.ValidateChallengeRequest = {
20153
+ exports.GetOrLoadFileRequest = {
19386
20154
  "$schema": "http://json-schema.org/draft-07/schema#",
19387
- "$ref": "#/definitions/ValidateChallengeRequest",
20155
+ "$ref": "#/definitions/GetOrLoadFileRequest",
19388
20156
  "definitions": {
19389
- "ValidateChallengeRequest": {
20157
+ "GetOrLoadFileRequest": {
19390
20158
  "type": "object",
19391
20159
  "properties": {
19392
- "challengeString": {
19393
- "type": "string"
20160
+ "reference": {
20161
+ "anyOf": [
20162
+ {
20163
+ "$ref": "#/definitions/TokenReferenceString"
20164
+ },
20165
+ {
20166
+ "$ref": "#/definitions/FileReferenceString"
20167
+ }
20168
+ ]
19394
20169
  },
19395
- "signature": {
20170
+ "password": {
19396
20171
  "type": "string"
19397
20172
  }
19398
20173
  },
19399
20174
  "required": [
19400
- "challengeString",
19401
- "signature"
20175
+ "reference"
19402
20176
  ],
19403
- "additionalProperties": false
20177
+ "additionalProperties": false,
20178
+ "errorMessage": "token / file reference invalid"
20179
+ },
20180
+ "TokenReferenceString": {
20181
+ "type": "string",
20182
+ "pattern": "VE9L.{84}"
20183
+ },
20184
+ "FileReferenceString": {
20185
+ "type": "string",
20186
+ "pattern": "RklM.{84}"
19404
20187
  }
19405
20188
  }
19406
20189
  };
19407
- exports.CreateDeviceRequest = {
20190
+ exports.RegenerateFileOwnershipTokenRequest = {
19408
20191
  "$schema": "http://json-schema.org/draft-07/schema#",
19409
- "$ref": "#/definitions/CreateDeviceRequest",
20192
+ "$ref": "#/definitions/RegenerateFileOwnershipTokenRequest",
19410
20193
  "definitions": {
19411
- "CreateDeviceRequest": {
20194
+ "RegenerateFileOwnershipTokenRequest": {
19412
20195
  "type": "object",
19413
20196
  "properties": {
19414
- "name": {
19415
- "type": "string"
19416
- },
19417
- "description": {
19418
- "type": "string"
19419
- },
19420
- "isAdmin": {
19421
- "type": "boolean"
20197
+ "id": {
20198
+ "$ref": "#/definitions/FileIdString"
19422
20199
  }
19423
20200
  },
20201
+ "required": [
20202
+ "id"
20203
+ ],
19424
20204
  "additionalProperties": false
20205
+ },
20206
+ "FileIdString": {
20207
+ "type": "string",
20208
+ "pattern": "FIL[A-Za-z0-9]{17}"
19425
20209
  }
19426
20210
  }
19427
20211
  };
19428
- exports.CreateDeviceOnboardingTokenRequest = {
20212
+ exports.UploadOwnFileRequest = {
19429
20213
  "$schema": "http://json-schema.org/draft-07/schema#",
19430
- "$ref": "#/definitions/CreateDeviceOnboardingTokenRequest",
20214
+ "$ref": "#/definitions/UploadOwnFileRequest",
19431
20215
  "definitions": {
19432
- "CreateDeviceOnboardingTokenRequest": {
20216
+ "UploadOwnFileRequest": {
19433
20217
  "type": "object",
19434
20218
  "properties": {
19435
- "id": {
19436
- "$ref": "#/definitions/DeviceIdString"
19437
- },
19438
- "expiresAt": {
19439
- "$ref": "#/definitions/ISO8601DateTimeString"
19440
- },
19441
- "profileName": {
19442
- "type": "string"
19443
- },
19444
- "passwordProtection": {
20219
+ "content": {
19445
20220
  "type": "object",
19446
20221
  "properties": {
19447
- "password": {
19448
- "type": "string"
20222
+ "BYTES_PER_ELEMENT": {
20223
+ "type": "number"
19449
20224
  },
19450
- "passwordIsPin": {
19451
- "type": "boolean",
19452
- "const": true
20225
+ "buffer": {
20226
+ "type": "object",
20227
+ "properties": {
20228
+ "byteLength": {
20229
+ "type": "number"
20230
+ }
20231
+ },
20232
+ "required": [
20233
+ "byteLength"
20234
+ ],
20235
+ "additionalProperties": false
20236
+ },
20237
+ "byteLength": {
20238
+ "type": "number"
20239
+ },
20240
+ "byteOffset": {
20241
+ "type": "number"
20242
+ },
20243
+ "length": {
20244
+ "type": "number"
19453
20245
  }
19454
20246
  },
19455
20247
  "required": [
19456
- "password"
20248
+ "BYTES_PER_ELEMENT",
20249
+ "buffer",
20250
+ "byteLength",
20251
+ "byteOffset",
20252
+ "length"
19457
20253
  ],
19458
- "additionalProperties": false
20254
+ "additionalProperties": {
20255
+ "type": "number"
20256
+ }
20257
+ },
20258
+ "filename": {
20259
+ "type": "string"
20260
+ },
20261
+ "mimetype": {
20262
+ "type": "string"
20263
+ },
20264
+ "expiresAt": {
20265
+ "$ref": "#/definitions/ISO8601DateTimeString"
20266
+ },
20267
+ "title": {
20268
+ "type": "string"
20269
+ },
20270
+ "description": {
20271
+ "type": "string"
20272
+ },
20273
+ "tags": {
20274
+ "type": "array",
20275
+ "items": {
20276
+ "type": "string"
20277
+ },
20278
+ "uniqueItems": true
19459
20279
  }
19460
20280
  },
19461
20281
  "required": [
19462
- "id"
20282
+ "content",
20283
+ "filename",
20284
+ "mimetype"
19463
20285
  ],
19464
20286
  "additionalProperties": false
19465
20287
  },
19466
- "DeviceIdString": {
19467
- "type": "string",
19468
- "pattern": "DVC[A-Za-z0-9]{17}"
19469
- },
19470
20288
  "ISO8601DateTimeString": {
19471
20289
  "type": "string",
19472
20290
  "errorMessage": "must match ISO8601 datetime format",
@@ -19474,37 +20292,62 @@ exports.CreateDeviceOnboardingTokenRequest = {
19474
20292
  }
19475
20293
  }
19476
20294
  };
19477
- exports.DeleteDeviceRequest = {
20295
+ exports.UploadOwnFileValidatableRequest = {
19478
20296
  "$schema": "http://json-schema.org/draft-07/schema#",
19479
- "$ref": "#/definitions/DeleteDeviceRequest",
20297
+ "$ref": "#/definitions/UploadOwnFileValidatableRequest",
19480
20298
  "definitions": {
19481
- "DeleteDeviceRequest": {
20299
+ "UploadOwnFileValidatableRequest": {
19482
20300
  "type": "object",
19483
20301
  "properties": {
19484
- "id": {
19485
- "$ref": "#/definitions/DeviceIdString"
20302
+ "filename": {
20303
+ "type": "string"
20304
+ },
20305
+ "mimetype": {
20306
+ "type": "string"
20307
+ },
20308
+ "expiresAt": {
20309
+ "$ref": "#/definitions/ISO8601DateTimeString"
20310
+ },
20311
+ "title": {
20312
+ "type": "string"
20313
+ },
20314
+ "description": {
20315
+ "type": "string"
20316
+ },
20317
+ "tags": {
20318
+ "type": "array",
20319
+ "items": {
20320
+ "type": "string"
20321
+ },
20322
+ "uniqueItems": true
20323
+ },
20324
+ "content": {
20325
+ "type": "object"
19486
20326
  }
19487
20327
  },
19488
20328
  "required": [
19489
- "id"
20329
+ "content",
20330
+ "filename",
20331
+ "mimetype"
19490
20332
  ],
19491
20333
  "additionalProperties": false
19492
20334
  },
19493
- "DeviceIdString": {
20335
+ "ISO8601DateTimeString": {
19494
20336
  "type": "string",
19495
- "pattern": "DVC[A-Za-z0-9]{17}"
20337
+ "errorMessage": "must match ISO8601 datetime format",
20338
+ "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)?)?)?)?$"
19496
20339
  }
19497
20340
  }
19498
20341
  };
19499
- exports.GetDeviceRequest = {
20342
+ exports.GetIdentityDeletionProcessRequest = {
19500
20343
  "$schema": "http://json-schema.org/draft-07/schema#",
19501
- "$ref": "#/definitions/GetDeviceRequest",
20344
+ "$ref": "#/definitions/GetIdentityDeletionProcessRequest",
19502
20345
  "definitions": {
19503
- "GetDeviceRequest": {
20346
+ "GetIdentityDeletionProcessRequest": {
19504
20347
  "type": "object",
19505
20348
  "properties": {
19506
20349
  "id": {
19507
- "$ref": "#/definitions/DeviceIdString"
20350
+ "$ref": "#/definitions/IdentityDeletionProcessIdString"
19508
20351
  }
19509
20352
  },
19510
20353
  "required": [
@@ -19512,50 +20355,70 @@ exports.GetDeviceRequest = {
19512
20355
  ],
19513
20356
  "additionalProperties": false
19514
20357
  },
19515
- "DeviceIdString": {
20358
+ "IdentityDeletionProcessIdString": {
19516
20359
  "type": "string",
19517
- "pattern": "DVC[A-Za-z0-9]{17}"
20360
+ "pattern": "IDP[A-Za-z0-9]{17}"
19518
20361
  }
19519
20362
  }
19520
20363
  };
19521
- exports.GetDeviceOnboardingInfoRequest = {
20364
+ exports.InitiateIdentityDeletionProcessRequest = {
19522
20365
  "$schema": "http://json-schema.org/draft-07/schema#",
19523
- "$ref": "#/definitions/GetDeviceOnboardingInfoRequest",
20366
+ "$ref": "#/definitions/InitiateIdentityDeletionProcessRequest",
19524
20367
  "definitions": {
19525
- "GetDeviceOnboardingInfoRequest": {
20368
+ "InitiateIdentityDeletionProcessRequest": {
20369
+ "type": "object",
20370
+ "properties": {
20371
+ "lengthOfGracePeriodInDays": {
20372
+ "type": "number"
20373
+ }
20374
+ },
20375
+ "additionalProperties": false
20376
+ }
20377
+ }
20378
+ };
20379
+ exports.DownloadAttachmentRequest = {
20380
+ "$schema": "http://json-schema.org/draft-07/schema#",
20381
+ "$ref": "#/definitions/DownloadAttachmentRequest",
20382
+ "definitions": {
20383
+ "DownloadAttachmentRequest": {
19526
20384
  "type": "object",
19527
20385
  "properties": {
19528
20386
  "id": {
19529
- "$ref": "#/definitions/GenericIdString"
20387
+ "$ref": "#/definitions/MessageIdString"
19530
20388
  },
19531
- "profileName": {
19532
- "type": "string"
20389
+ "attachmentId": {
20390
+ "$ref": "#/definitions/FileIdString"
19533
20391
  }
19534
20392
  },
19535
20393
  "required": [
19536
- "id"
20394
+ "id",
20395
+ "attachmentId"
19537
20396
  ],
19538
20397
  "additionalProperties": false
19539
20398
  },
19540
- "GenericIdString": {
20399
+ "MessageIdString": {
19541
20400
  "type": "string",
19542
- "pattern": "[A-Za-z0-9]{20}"
20401
+ "pattern": "MSG[A-Za-z0-9]{17}"
20402
+ },
20403
+ "FileIdString": {
20404
+ "type": "string",
20405
+ "pattern": "FIL[A-Za-z0-9]{17}"
19543
20406
  }
19544
20407
  }
19545
20408
  };
19546
- exports.SetCommunicationLanguageRequest = {
20409
+ exports.GetAnnouncementsRequest = {
19547
20410
  "$schema": "http://json-schema.org/draft-07/schema#",
19548
- "$ref": "#/definitions/SetCommunicationLanguageRequest",
20411
+ "$ref": "#/definitions/GetAnnouncementsRequest",
19549
20412
  "definitions": {
19550
- "SetCommunicationLanguageRequest": {
20413
+ "GetAnnouncementsRequest": {
19551
20414
  "type": "object",
19552
20415
  "properties": {
19553
- "communicationLanguage": {
20416
+ "language": {
19554
20417
  "$ref": "#/definitions/LanguageISO639"
19555
20418
  }
19556
20419
  },
19557
20420
  "required": [
19558
- "communicationLanguage"
20421
+ "language"
19559
20422
  ],
19560
20423
  "additionalProperties": false
19561
20424
  },
@@ -19749,128 +20612,261 @@ exports.SetCommunicationLanguageRequest = {
19749
20612
  }
19750
20613
  }
19751
20614
  };
19752
- exports.UpdateDeviceRequest = {
20615
+ exports.CreateRelationshipChallengeRequest = {
19753
20616
  "$schema": "http://json-schema.org/draft-07/schema#",
19754
- "$ref": "#/definitions/UpdateDeviceRequest",
20617
+ "$ref": "#/definitions/CreateRelationshipChallengeRequest",
19755
20618
  "definitions": {
19756
- "UpdateDeviceRequest": {
20619
+ "CreateRelationshipChallengeRequest": {
19757
20620
  "type": "object",
19758
20621
  "properties": {
19759
- "id": {
19760
- "$ref": "#/definitions/DeviceIdString"
19761
- },
19762
- "name": {
19763
- "type": "string"
20622
+ "challengeType": {
20623
+ "type": "string",
20624
+ "const": "Relationship"
19764
20625
  },
19765
- "description": {
19766
- "type": "string"
20626
+ "relationship": {
20627
+ "$ref": "#/definitions/RelationshipIdString"
19767
20628
  }
19768
20629
  },
19769
20630
  "required": [
19770
- "id"
20631
+ "challengeType",
20632
+ "relationship"
19771
20633
  ],
19772
20634
  "additionalProperties": false
19773
20635
  },
19774
- "DeviceIdString": {
20636
+ "RelationshipIdString": {
19775
20637
  "type": "string",
19776
- "pattern": "DVC[A-Za-z0-9]{17}"
20638
+ "pattern": "REL[A-Za-z0-9]{17}"
19777
20639
  }
19778
20640
  }
19779
20641
  };
19780
- exports.CreateQRCodeForFileRequest = {
20642
+ exports.isCreateRelationshipChallengeRequest = {
19781
20643
  "$schema": "http://json-schema.org/draft-07/schema#",
19782
- "$ref": "#/definitions/CreateQRCodeForFileRequest",
20644
+ "$ref": "#/definitions/isCreateRelationshipChallengeRequest",
19783
20645
  "definitions": {
19784
- "CreateQRCodeForFileRequest": {
20646
+ "isCreateRelationshipChallengeRequest": {
20647
+ "$comment": "(value: any) => value is CreateRelationshipChallengeRequest",
19785
20648
  "type": "object",
19786
20649
  "properties": {
19787
- "fileId": {
19788
- "$ref": "#/definitions/FileIdString"
20650
+ "namedArgs": {
20651
+ "type": "object",
20652
+ "properties": {
20653
+ "value": {}
20654
+ },
20655
+ "required": [
20656
+ "value"
20657
+ ],
20658
+ "additionalProperties": false
20659
+ }
20660
+ }
20661
+ }
20662
+ }
20663
+ };
20664
+ exports.CreateIdentityChallengeRequest = {
20665
+ "$schema": "http://json-schema.org/draft-07/schema#",
20666
+ "$ref": "#/definitions/CreateIdentityChallengeRequest",
20667
+ "definitions": {
20668
+ "CreateIdentityChallengeRequest": {
20669
+ "type": "object",
20670
+ "properties": {
20671
+ "challengeType": {
20672
+ "type": "string",
20673
+ "const": "Identity"
19789
20674
  }
19790
20675
  },
19791
20676
  "required": [
19792
- "fileId"
20677
+ "challengeType"
19793
20678
  ],
19794
20679
  "additionalProperties": false
19795
- },
19796
- "FileIdString": {
19797
- "type": "string",
19798
- "pattern": "FIL[A-Za-z0-9]{17}"
19799
20680
  }
19800
20681
  }
19801
20682
  };
19802
- exports.CreateTokenForFileRequest = {
20683
+ exports.isCreateIdentityChallengeRequest = {
19803
20684
  "$schema": "http://json-schema.org/draft-07/schema#",
19804
- "$ref": "#/definitions/CreateTokenForFileRequest",
20685
+ "$ref": "#/definitions/isCreateIdentityChallengeRequest",
19805
20686
  "definitions": {
19806
- "CreateTokenForFileRequest": {
20687
+ "isCreateIdentityChallengeRequest": {
20688
+ "$comment": "(value: any) => value is CreateIdentityChallengeRequest",
19807
20689
  "type": "object",
19808
20690
  "properties": {
19809
- "fileId": {
19810
- "$ref": "#/definitions/FileIdString"
19811
- },
19812
- "expiresAt": {
19813
- "$ref": "#/definitions/ISO8601DateTimeString"
19814
- },
19815
- "ephemeral": {
19816
- "type": "boolean"
19817
- },
19818
- "forIdentity": {
19819
- "$ref": "#/definitions/AddressString"
19820
- },
19821
- "passwordProtection": {
20691
+ "namedArgs": {
19822
20692
  "type": "object",
19823
20693
  "properties": {
19824
- "password": {
19825
- "type": "string",
19826
- "minLength": 1
19827
- },
19828
- "passwordIsPin": {
19829
- "type": "boolean",
19830
- "const": true
19831
- }
20694
+ "value": {}
19832
20695
  },
19833
20696
  "required": [
19834
- "password"
20697
+ "value"
19835
20698
  ],
19836
20699
  "additionalProperties": false
19837
20700
  }
19838
- },
19839
- "required": [
19840
- "fileId"
19841
- ],
19842
- "additionalProperties": false
19843
- },
19844
- "FileIdString": {
19845
- "type": "string",
19846
- "pattern": "FIL[A-Za-z0-9]{17}"
20701
+ }
20702
+ }
20703
+ }
20704
+ };
20705
+ exports.CreateDeviceChallengeRequest = {
20706
+ "$schema": "http://json-schema.org/draft-07/schema#",
20707
+ "$ref": "#/definitions/CreateDeviceChallengeRequest",
20708
+ "definitions": {
20709
+ "CreateDeviceChallengeRequest": {
20710
+ "type": "object",
20711
+ "properties": {
20712
+ "challengeType": {
20713
+ "type": "string",
20714
+ "const": "Device"
20715
+ }
20716
+ },
20717
+ "required": [
20718
+ "challengeType"
20719
+ ],
20720
+ "additionalProperties": false
20721
+ }
20722
+ }
20723
+ };
20724
+ exports.isCreateDeviceChallengeRequest = {
20725
+ "$schema": "http://json-schema.org/draft-07/schema#",
20726
+ "$ref": "#/definitions/isCreateDeviceChallengeRequest",
20727
+ "definitions": {
20728
+ "isCreateDeviceChallengeRequest": {
20729
+ "$comment": "(value: any) => value is CreateDeviceChallengeRequest",
20730
+ "type": "object",
20731
+ "properties": {
20732
+ "namedArgs": {
20733
+ "type": "object",
20734
+ "properties": {
20735
+ "value": {}
20736
+ },
20737
+ "required": [
20738
+ "value"
20739
+ ],
20740
+ "additionalProperties": false
20741
+ }
20742
+ }
20743
+ }
20744
+ }
20745
+ };
20746
+ exports.CreateChallengeRequest = {
20747
+ "$schema": "http://json-schema.org/draft-07/schema#",
20748
+ "$ref": "#/definitions/CreateChallengeRequest",
20749
+ "definitions": {
20750
+ "CreateChallengeRequest": {
20751
+ "anyOf": [
20752
+ {
20753
+ "$ref": "#/definitions/CreateRelationshipChallengeRequest"
20754
+ },
20755
+ {
20756
+ "$ref": "#/definitions/CreateIdentityChallengeRequest"
20757
+ },
20758
+ {
20759
+ "$ref": "#/definitions/CreateDeviceChallengeRequest"
20760
+ }
20761
+ ]
19847
20762
  },
19848
- "ISO8601DateTimeString": {
19849
- "type": "string",
19850
- "errorMessage": "must match ISO8601 datetime format",
19851
- "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)?)?)?)?$"
20763
+ "CreateRelationshipChallengeRequest": {
20764
+ "type": "object",
20765
+ "properties": {
20766
+ "challengeType": {
20767
+ "type": "string",
20768
+ "const": "Relationship"
20769
+ },
20770
+ "relationship": {
20771
+ "$ref": "#/definitions/RelationshipIdString"
20772
+ }
20773
+ },
20774
+ "required": [
20775
+ "challengeType",
20776
+ "relationship"
20777
+ ],
20778
+ "additionalProperties": false
19852
20779
  },
19853
- "AddressString": {
20780
+ "RelationshipIdString": {
19854
20781
  "type": "string",
19855
- "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
20782
+ "pattern": "REL[A-Za-z0-9]{17}"
20783
+ },
20784
+ "CreateIdentityChallengeRequest": {
20785
+ "type": "object",
20786
+ "properties": {
20787
+ "challengeType": {
20788
+ "type": "string",
20789
+ "const": "Identity"
20790
+ }
20791
+ },
20792
+ "required": [
20793
+ "challengeType"
20794
+ ],
20795
+ "additionalProperties": false
20796
+ },
20797
+ "CreateDeviceChallengeRequest": {
20798
+ "type": "object",
20799
+ "properties": {
20800
+ "challengeType": {
20801
+ "type": "string",
20802
+ "const": "Device"
20803
+ }
20804
+ },
20805
+ "required": [
20806
+ "challengeType"
20807
+ ],
20808
+ "additionalProperties": false
19856
20809
  }
19857
20810
  }
19858
20811
  };
19859
- exports.CreateTokenQRCodeForFileRequest = {
20812
+ exports.ValidateChallengeRequest = {
19860
20813
  "$schema": "http://json-schema.org/draft-07/schema#",
19861
- "$ref": "#/definitions/CreateTokenQRCodeForFileRequest",
20814
+ "$ref": "#/definitions/ValidateChallengeRequest",
19862
20815
  "definitions": {
19863
- "CreateTokenQRCodeForFileRequest": {
20816
+ "ValidateChallengeRequest": {
19864
20817
  "type": "object",
19865
20818
  "properties": {
19866
- "fileId": {
19867
- "$ref": "#/definitions/FileIdString"
20819
+ "challengeString": {
20820
+ "type": "string"
20821
+ },
20822
+ "signature": {
20823
+ "type": "string"
20824
+ }
20825
+ },
20826
+ "required": [
20827
+ "challengeString",
20828
+ "signature"
20829
+ ],
20830
+ "additionalProperties": false
20831
+ }
20832
+ }
20833
+ };
20834
+ exports.CreateDeviceRequest = {
20835
+ "$schema": "http://json-schema.org/draft-07/schema#",
20836
+ "$ref": "#/definitions/CreateDeviceRequest",
20837
+ "definitions": {
20838
+ "CreateDeviceRequest": {
20839
+ "type": "object",
20840
+ "properties": {
20841
+ "name": {
20842
+ "type": "string"
20843
+ },
20844
+ "description": {
20845
+ "type": "string"
20846
+ },
20847
+ "isAdmin": {
20848
+ "type": "boolean"
20849
+ }
20850
+ },
20851
+ "additionalProperties": false
20852
+ }
20853
+ }
20854
+ };
20855
+ exports.CreateDeviceOnboardingTokenRequest = {
20856
+ "$schema": "http://json-schema.org/draft-07/schema#",
20857
+ "$ref": "#/definitions/CreateDeviceOnboardingTokenRequest",
20858
+ "definitions": {
20859
+ "CreateDeviceOnboardingTokenRequest": {
20860
+ "type": "object",
20861
+ "properties": {
20862
+ "id": {
20863
+ "$ref": "#/definitions/DeviceIdString"
19868
20864
  },
19869
20865
  "expiresAt": {
19870
20866
  "$ref": "#/definitions/ISO8601DateTimeString"
19871
20867
  },
19872
- "forIdentity": {
19873
- "$ref": "#/definitions/AddressString"
20868
+ "profileName": {
20869
+ "type": "string"
19874
20870
  },
19875
20871
  "passwordProtection": {
19876
20872
  "type": "object",
@@ -19882,7 +20878,8 @@ exports.CreateTokenQRCodeForFileRequest = {
19882
20878
  "passwordIsPin": {
19883
20879
  "type": "boolean",
19884
20880
  "const": true
19885
- }
20881
+ },
20882
+ "passwordLocationIndicator": {}
19886
20883
  },
19887
20884
  "required": [
19888
20885
  "password"
@@ -19891,56 +20888,52 @@ exports.CreateTokenQRCodeForFileRequest = {
19891
20888
  }
19892
20889
  },
19893
20890
  "required": [
19894
- "fileId"
20891
+ "id"
19895
20892
  ],
19896
20893
  "additionalProperties": false
19897
20894
  },
19898
- "FileIdString": {
20895
+ "DeviceIdString": {
19899
20896
  "type": "string",
19900
- "pattern": "FIL[A-Za-z0-9]{17}"
20897
+ "pattern": "DVC[A-Za-z0-9]{17}"
19901
20898
  },
19902
20899
  "ISO8601DateTimeString": {
19903
20900
  "type": "string",
19904
20901
  "errorMessage": "must match ISO8601 datetime format",
19905
20902
  "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)?)?)?)?$"
19906
- },
19907
- "AddressString": {
19908
- "type": "string",
19909
- "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
19910
20903
  }
19911
20904
  }
19912
20905
  };
19913
- exports.DeleteFileRequest = {
20906
+ exports.DeleteDeviceRequest = {
19914
20907
  "$schema": "http://json-schema.org/draft-07/schema#",
19915
- "$ref": "#/definitions/DeleteFileRequest",
20908
+ "$ref": "#/definitions/DeleteDeviceRequest",
19916
20909
  "definitions": {
19917
- "DeleteFileRequest": {
20910
+ "DeleteDeviceRequest": {
19918
20911
  "type": "object",
19919
20912
  "properties": {
19920
- "fileId": {
19921
- "$ref": "#/definitions/FileIdString"
20913
+ "id": {
20914
+ "$ref": "#/definitions/DeviceIdString"
19922
20915
  }
19923
20916
  },
19924
20917
  "required": [
19925
- "fileId"
20918
+ "id"
19926
20919
  ],
19927
20920
  "additionalProperties": false
19928
20921
  },
19929
- "FileIdString": {
20922
+ "DeviceIdString": {
19930
20923
  "type": "string",
19931
- "pattern": "FIL[A-Za-z0-9]{17}"
20924
+ "pattern": "DVC[A-Za-z0-9]{17}"
19932
20925
  }
19933
20926
  }
19934
20927
  };
19935
- exports.GetFileRequest = {
20928
+ exports.GetDeviceRequest = {
19936
20929
  "$schema": "http://json-schema.org/draft-07/schema#",
19937
- "$ref": "#/definitions/GetFileRequest",
20930
+ "$ref": "#/definitions/GetDeviceRequest",
19938
20931
  "definitions": {
19939
- "GetFileRequest": {
20932
+ "GetDeviceRequest": {
19940
20933
  "type": "object",
19941
20934
  "properties": {
19942
20935
  "id": {
19943
- "$ref": "#/definitions/FileIdString"
20936
+ "$ref": "#/definitions/DeviceIdString"
19944
20937
  }
19945
20938
  },
19946
20939
  "required": [
@@ -19948,348 +20941,268 @@ exports.GetFileRequest = {
19948
20941
  ],
19949
20942
  "additionalProperties": false
19950
20943
  },
19951
- "FileIdString": {
20944
+ "DeviceIdString": {
19952
20945
  "type": "string",
19953
- "pattern": "FIL[A-Za-z0-9]{17}"
20946
+ "pattern": "DVC[A-Za-z0-9]{17}"
19954
20947
  }
19955
20948
  }
19956
20949
  };
19957
- exports.GetFilesRequest = {
20950
+ exports.GetDeviceOnboardingInfoRequest = {
19958
20951
  "$schema": "http://json-schema.org/draft-07/schema#",
19959
- "$ref": "#/definitions/GetFilesRequest",
20952
+ "$ref": "#/definitions/GetDeviceOnboardingInfoRequest",
19960
20953
  "definitions": {
19961
- "GetFilesRequest": {
20954
+ "GetDeviceOnboardingInfoRequest": {
19962
20955
  "type": "object",
19963
20956
  "properties": {
19964
- "query": {
19965
- "$ref": "#/definitions/GetFilesQuery"
20957
+ "id": {
20958
+ "$ref": "#/definitions/GenericIdString"
19966
20959
  },
19967
- "ownerRestriction": {
19968
- "$ref": "#/definitions/OwnerRestriction"
20960
+ "profileName": {
20961
+ "type": "string"
19969
20962
  }
19970
20963
  },
20964
+ "required": [
20965
+ "id"
20966
+ ],
19971
20967
  "additionalProperties": false
19972
20968
  },
19973
- "GetFilesQuery": {
20969
+ "GenericIdString": {
20970
+ "type": "string",
20971
+ "pattern": "[A-Za-z0-9]{20}"
20972
+ }
20973
+ }
20974
+ };
20975
+ exports.SetCommunicationLanguageRequest = {
20976
+ "$schema": "http://json-schema.org/draft-07/schema#",
20977
+ "$ref": "#/definitions/SetCommunicationLanguageRequest",
20978
+ "definitions": {
20979
+ "SetCommunicationLanguageRequest": {
19974
20980
  "type": "object",
19975
20981
  "properties": {
19976
- "createdAt": {
19977
- "anyOf": [
19978
- {
19979
- "type": "string"
19980
- },
19981
- {
19982
- "type": "array",
19983
- "items": {
19984
- "type": "string"
19985
- }
19986
- }
19987
- ]
19988
- },
19989
- "createdBy": {
19990
- "anyOf": [
19991
- {
19992
- "type": "string"
19993
- },
19994
- {
19995
- "type": "array",
19996
- "items": {
19997
- "type": "string"
19998
- }
19999
- }
20000
- ]
20001
- },
20002
- "createdByDevice": {
20003
- "anyOf": [
20004
- {
20005
- "type": "string"
20006
- },
20007
- {
20008
- "type": "array",
20009
- "items": {
20010
- "type": "string"
20011
- }
20012
- }
20013
- ]
20014
- },
20015
- "description": {
20016
- "anyOf": [
20017
- {
20018
- "type": "string"
20019
- },
20020
- {
20021
- "type": "array",
20022
- "items": {
20023
- "type": "string"
20024
- }
20025
- }
20026
- ]
20027
- },
20028
- "expiresAt": {
20029
- "anyOf": [
20030
- {
20031
- "type": "string"
20032
- },
20033
- {
20034
- "type": "array",
20035
- "items": {
20036
- "type": "string"
20037
- }
20038
- }
20039
- ]
20040
- },
20041
- "filename": {
20042
- "anyOf": [
20043
- {
20044
- "type": "string"
20045
- },
20046
- {
20047
- "type": "array",
20048
- "items": {
20049
- "type": "string"
20050
- }
20051
- }
20052
- ]
20053
- },
20054
- "filesize": {
20055
- "anyOf": [
20056
- {
20057
- "type": "string"
20058
- },
20059
- {
20060
- "type": "array",
20061
- "items": {
20062
- "type": "string"
20063
- }
20064
- }
20065
- ]
20066
- },
20067
- "mimetype": {
20068
- "anyOf": [
20069
- {
20070
- "type": "string"
20071
- },
20072
- {
20073
- "type": "array",
20074
- "items": {
20075
- "type": "string"
20076
- }
20077
- }
20078
- ]
20079
- },
20080
- "title": {
20081
- "anyOf": [
20082
- {
20083
- "type": "string"
20084
- },
20085
- {
20086
- "type": "array",
20087
- "items": {
20088
- "type": "string"
20089
- }
20090
- }
20091
- ]
20092
- },
20093
- "isOwn": {
20094
- "anyOf": [
20095
- {
20096
- "type": "string"
20097
- },
20098
- {
20099
- "type": "array",
20100
- "items": {
20101
- "type": "string"
20102
- }
20103
- }
20104
- ]
20105
- },
20106
- "tags": {
20107
- "anyOf": [
20108
- {
20109
- "type": "string"
20110
- },
20111
- {
20112
- "type": "array",
20113
- "items": {
20114
- "type": "string"
20115
- }
20116
- }
20117
- ]
20118
- }
20119
- },
20120
- "additionalProperties": false
20121
- },
20122
- "OwnerRestriction": {
20123
- "type": "string",
20124
- "enum": [
20125
- "o",
20126
- "p"
20127
- ]
20128
- }
20129
- }
20130
- };
20131
- exports.GetOrLoadFileRequest = {
20132
- "$schema": "http://json-schema.org/draft-07/schema#",
20133
- "$ref": "#/definitions/GetOrLoadFileRequest",
20134
- "definitions": {
20135
- "GetOrLoadFileRequest": {
20136
- "type": "object",
20137
- "properties": {
20138
- "reference": {
20139
- "anyOf": [
20140
- {
20141
- "$ref": "#/definitions/TokenReferenceString"
20142
- },
20143
- {
20144
- "$ref": "#/definitions/FileReferenceString"
20145
- }
20146
- ]
20147
- },
20148
- "password": {
20149
- "type": "string"
20150
- }
20151
- },
20152
- "required": [
20153
- "reference"
20154
- ],
20155
- "additionalProperties": false,
20156
- "errorMessage": "token / file reference invalid"
20157
- },
20158
- "TokenReferenceString": {
20159
- "type": "string",
20160
- "pattern": "VE9L.{84}"
20161
- },
20162
- "FileReferenceString": {
20163
- "type": "string",
20164
- "pattern": "RklM.{84}"
20165
- }
20166
- }
20167
- };
20168
- exports.UploadOwnFileRequest = {
20169
- "$schema": "http://json-schema.org/draft-07/schema#",
20170
- "$ref": "#/definitions/UploadOwnFileRequest",
20171
- "definitions": {
20172
- "UploadOwnFileRequest": {
20173
- "type": "object",
20174
- "properties": {
20175
- "content": {
20176
- "type": "object",
20177
- "properties": {
20178
- "BYTES_PER_ELEMENT": {
20179
- "type": "number"
20180
- },
20181
- "buffer": {
20182
- "type": "object",
20183
- "properties": {
20184
- "byteLength": {
20185
- "type": "number"
20186
- }
20187
- },
20188
- "required": [
20189
- "byteLength"
20190
- ],
20191
- "additionalProperties": false
20192
- },
20193
- "byteLength": {
20194
- "type": "number"
20195
- },
20196
- "byteOffset": {
20197
- "type": "number"
20198
- },
20199
- "length": {
20200
- "type": "number"
20201
- }
20202
- },
20203
- "required": [
20204
- "BYTES_PER_ELEMENT",
20205
- "buffer",
20206
- "byteLength",
20207
- "byteOffset",
20208
- "length"
20209
- ],
20210
- "additionalProperties": {
20211
- "type": "number"
20212
- }
20213
- },
20214
- "filename": {
20215
- "type": "string"
20216
- },
20217
- "mimetype": {
20218
- "type": "string"
20219
- },
20220
- "expiresAt": {
20221
- "$ref": "#/definitions/ISO8601DateTimeString"
20222
- },
20223
- "title": {
20224
- "type": "string"
20225
- },
20226
- "description": {
20227
- "type": "string"
20228
- },
20229
- "tags": {
20230
- "type": "array",
20231
- "items": {
20232
- "type": "string"
20233
- }
20982
+ "communicationLanguage": {
20983
+ "$ref": "#/definitions/LanguageISO639"
20234
20984
  }
20235
20985
  },
20236
20986
  "required": [
20237
- "content",
20238
- "filename",
20239
- "mimetype"
20987
+ "communicationLanguage"
20240
20988
  ],
20241
20989
  "additionalProperties": false
20242
20990
  },
20243
- "ISO8601DateTimeString": {
20991
+ "LanguageISO639": {
20244
20992
  "type": "string",
20245
- "errorMessage": "must match ISO8601 datetime format",
20246
- "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)?)?)?)?$"
20993
+ "enum": [
20994
+ "aa",
20995
+ "ab",
20996
+ "ae",
20997
+ "af",
20998
+ "ak",
20999
+ "am",
21000
+ "an",
21001
+ "ar",
21002
+ "as",
21003
+ "av",
21004
+ "ay",
21005
+ "az",
21006
+ "ba",
21007
+ "be",
21008
+ "bg",
21009
+ "bi",
21010
+ "bm",
21011
+ "bn",
21012
+ "bo",
21013
+ "br",
21014
+ "bs",
21015
+ "ca",
21016
+ "ce",
21017
+ "ch",
21018
+ "co",
21019
+ "cr",
21020
+ "cs",
21021
+ "cu",
21022
+ "cv",
21023
+ "cy",
21024
+ "da",
21025
+ "de",
21026
+ "dv",
21027
+ "dz",
21028
+ "ee",
21029
+ "el",
21030
+ "en",
21031
+ "eo",
21032
+ "es",
21033
+ "et",
21034
+ "eu",
21035
+ "fa",
21036
+ "ff",
21037
+ "fi",
21038
+ "fj",
21039
+ "fo",
21040
+ "fr",
21041
+ "fy",
21042
+ "ga",
21043
+ "gd",
21044
+ "gl",
21045
+ "gn",
21046
+ "gu",
21047
+ "gv",
21048
+ "ha",
21049
+ "he",
21050
+ "hi",
21051
+ "ho",
21052
+ "hr",
21053
+ "ht",
21054
+ "hu",
21055
+ "hy",
21056
+ "hz",
21057
+ "ia",
21058
+ "id",
21059
+ "ie",
21060
+ "ig",
21061
+ "ii",
21062
+ "ik",
21063
+ "io",
21064
+ "is",
21065
+ "it",
21066
+ "iu",
21067
+ "ja",
21068
+ "jv",
21069
+ "ka",
21070
+ "kg",
21071
+ "ki",
21072
+ "kj",
21073
+ "kk",
21074
+ "kl",
21075
+ "km",
21076
+ "kn",
21077
+ "ko",
21078
+ "kr",
21079
+ "ks",
21080
+ "ku",
21081
+ "kv",
21082
+ "kw",
21083
+ "ky",
21084
+ "la",
21085
+ "lb",
21086
+ "lg",
21087
+ "li",
21088
+ "ln",
21089
+ "lo",
21090
+ "lt",
21091
+ "lu",
21092
+ "lv",
21093
+ "mg",
21094
+ "mh",
21095
+ "mi",
21096
+ "mk",
21097
+ "ml",
21098
+ "mn",
21099
+ "mr",
21100
+ "ms",
21101
+ "mt",
21102
+ "my",
21103
+ "na",
21104
+ "nb",
21105
+ "nd",
21106
+ "ne",
21107
+ "ng",
21108
+ "nl",
21109
+ "nn",
21110
+ "no",
21111
+ "nr",
21112
+ "nv",
21113
+ "ny",
21114
+ "oc",
21115
+ "oj",
21116
+ "om",
21117
+ "or",
21118
+ "os",
21119
+ "pa",
21120
+ "pi",
21121
+ "pl",
21122
+ "ps",
21123
+ "pt",
21124
+ "qu",
21125
+ "rm",
21126
+ "rn",
21127
+ "ro",
21128
+ "ru",
21129
+ "rw",
21130
+ "sa",
21131
+ "sc",
21132
+ "sd",
21133
+ "se",
21134
+ "sg",
21135
+ "si",
21136
+ "sk",
21137
+ "sl",
21138
+ "sm",
21139
+ "sn",
21140
+ "so",
21141
+ "sq",
21142
+ "sr",
21143
+ "ss",
21144
+ "st",
21145
+ "su",
21146
+ "sv",
21147
+ "sw",
21148
+ "ta",
21149
+ "te",
21150
+ "tg",
21151
+ "th",
21152
+ "ti",
21153
+ "tk",
21154
+ "tl",
21155
+ "tn",
21156
+ "to",
21157
+ "tr",
21158
+ "ts",
21159
+ "tt",
21160
+ "tw",
21161
+ "ty",
21162
+ "ug",
21163
+ "uk",
21164
+ "ur",
21165
+ "uz",
21166
+ "ve",
21167
+ "vi",
21168
+ "vo",
21169
+ "wa",
21170
+ "wo",
21171
+ "xh",
21172
+ "yi",
21173
+ "yo",
21174
+ "za",
21175
+ "zh",
21176
+ "zu"
21177
+ ]
20247
21178
  }
20248
21179
  }
20249
21180
  };
20250
- exports.UploadOwnFileValidatableRequest = {
21181
+ exports.UpdateDeviceRequest = {
20251
21182
  "$schema": "http://json-schema.org/draft-07/schema#",
20252
- "$ref": "#/definitions/UploadOwnFileValidatableRequest",
21183
+ "$ref": "#/definitions/UpdateDeviceRequest",
20253
21184
  "definitions": {
20254
- "UploadOwnFileValidatableRequest": {
21185
+ "UpdateDeviceRequest": {
20255
21186
  "type": "object",
20256
21187
  "properties": {
20257
- "filename": {
20258
- "type": "string"
20259
- },
20260
- "mimetype": {
20261
- "type": "string"
20262
- },
20263
- "expiresAt": {
20264
- "$ref": "#/definitions/ISO8601DateTimeString"
21188
+ "id": {
21189
+ "$ref": "#/definitions/DeviceIdString"
20265
21190
  },
20266
- "title": {
21191
+ "name": {
20267
21192
  "type": "string"
20268
21193
  },
20269
21194
  "description": {
20270
21195
  "type": "string"
20271
- },
20272
- "tags": {
20273
- "type": "array",
20274
- "items": {
20275
- "type": "string"
20276
- }
20277
- },
20278
- "content": {
20279
- "type": "object"
20280
21196
  }
20281
21197
  },
20282
21198
  "required": [
20283
- "content",
20284
- "filename",
20285
- "mimetype"
21199
+ "id"
20286
21200
  ],
20287
21201
  "additionalProperties": false
20288
21202
  },
20289
- "ISO8601DateTimeString": {
21203
+ "DeviceIdString": {
20290
21204
  "type": "string",
20291
- "errorMessage": "must match ISO8601 datetime format",
20292
- "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)?)?)?)?$"
21205
+ "pattern": "DVC[A-Za-z0-9]{17}"
20293
21206
  }
20294
21207
  }
20295
21208
  };
@@ -20601,14 +21514,16 @@ exports.SendMessageRequest = {
20601
21514
  "items": {
20602
21515
  "$ref": "#/definitions/AddressString"
20603
21516
  },
20604
- "minItems": 1
21517
+ "minItems": 1,
21518
+ "uniqueItems": true
20605
21519
  },
20606
21520
  "content": {},
20607
21521
  "attachments": {
20608
21522
  "type": "array",
20609
21523
  "items": {
20610
21524
  "$ref": "#/definitions/FileIdString"
20611
- }
21525
+ },
21526
+ "uniqueItems": true
20612
21527
  }
20613
21528
  },
20614
21529
  "required": [
@@ -21033,7 +21948,8 @@ exports.CreateOwnRelationshipTemplateRequest = {
21033
21948
  "passwordIsPin": {
21034
21949
  "type": "boolean",
21035
21950
  "const": true
21036
- }
21951
+ },
21952
+ "passwordLocationIndicator": {}
21037
21953
  },
21038
21954
  "required": [
21039
21955
  "password"
@@ -21058,33 +21974,11 @@ exports.CreateOwnRelationshipTemplateRequest = {
21058
21974
  }
21059
21975
  }
21060
21976
  };
21061
- exports.CreateQRCodeForOwnTemplateRequest = {
21977
+ exports.CreateTokenForOwnRelationshipTemplateRequest = {
21062
21978
  "$schema": "http://json-schema.org/draft-07/schema#",
21063
- "$ref": "#/definitions/CreateQRCodeForOwnTemplateRequest",
21979
+ "$ref": "#/definitions/CreateTokenForOwnRelationshipTemplateRequest",
21064
21980
  "definitions": {
21065
- "CreateQRCodeForOwnTemplateRequest": {
21066
- "type": "object",
21067
- "properties": {
21068
- "templateId": {
21069
- "$ref": "#/definitions/RelationshipTemplateIdString"
21070
- }
21071
- },
21072
- "required": [
21073
- "templateId"
21074
- ],
21075
- "additionalProperties": false
21076
- },
21077
- "RelationshipTemplateIdString": {
21078
- "type": "string",
21079
- "pattern": "RLT[A-Za-z0-9]{17}"
21080
- }
21081
- }
21082
- };
21083
- exports.CreateTokenForOwnTemplateRequest = {
21084
- "$schema": "http://json-schema.org/draft-07/schema#",
21085
- "$ref": "#/definitions/CreateTokenForOwnTemplateRequest",
21086
- "definitions": {
21087
- "CreateTokenForOwnTemplateRequest": {
21981
+ "CreateTokenForOwnRelationshipTemplateRequest": {
21088
21982
  "type": "object",
21089
21983
  "properties": {
21090
21984
  "templateId": {
@@ -21109,61 +22003,8 @@ exports.CreateTokenForOwnTemplateRequest = {
21109
22003
  "passwordIsPin": {
21110
22004
  "type": "boolean",
21111
22005
  "const": true
21112
- }
21113
- },
21114
- "required": [
21115
- "password"
21116
- ],
21117
- "additionalProperties": false
21118
- }
21119
- },
21120
- "required": [
21121
- "templateId"
21122
- ],
21123
- "additionalProperties": false
21124
- },
21125
- "RelationshipTemplateIdString": {
21126
- "type": "string",
21127
- "pattern": "RLT[A-Za-z0-9]{17}"
21128
- },
21129
- "ISO8601DateTimeString": {
21130
- "type": "string",
21131
- "errorMessage": "must match ISO8601 datetime format",
21132
- "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)?)?)?)?$"
21133
- },
21134
- "AddressString": {
21135
- "type": "string",
21136
- "pattern": "did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}"
21137
- }
21138
- }
21139
- };
21140
- exports.CreateTokenQRCodeForOwnTemplateRequest = {
21141
- "$schema": "http://json-schema.org/draft-07/schema#",
21142
- "$ref": "#/definitions/CreateTokenQRCodeForOwnTemplateRequest",
21143
- "definitions": {
21144
- "CreateTokenQRCodeForOwnTemplateRequest": {
21145
- "type": "object",
21146
- "properties": {
21147
- "templateId": {
21148
- "$ref": "#/definitions/RelationshipTemplateIdString"
21149
- },
21150
- "expiresAt": {
21151
- "$ref": "#/definitions/ISO8601DateTimeString"
21152
- },
21153
- "forIdentity": {
21154
- "$ref": "#/definitions/AddressString"
21155
- },
21156
- "passwordProtection": {
21157
- "type": "object",
21158
- "properties": {
21159
- "password": {
21160
- "type": "string",
21161
- "minLength": 1
21162
22006
  },
21163
- "passwordIsPin": {
21164
- "type": "boolean",
21165
- "const": true
21166
- }
22007
+ "passwordLocationIndicator": {}
21167
22008
  },
21168
22009
  "required": [
21169
22010
  "password"
@@ -21371,6 +22212,19 @@ exports.GetRelationshipTemplatesRequest = {
21371
22212
  "true",
21372
22213
  "!"
21373
22214
  ]
22215
+ },
22216
+ "passwordProtection.passwordLocationIndicator": {
22217
+ "anyOf": [
22218
+ {
22219
+ "type": "string"
22220
+ },
22221
+ {
22222
+ "type": "array",
22223
+ "items": {
22224
+ "type": "string"
22225
+ }
22226
+ }
22227
+ ]
21374
22228
  }
21375
22229
  },
21376
22230
  "additionalProperties": false
@@ -21448,7 +22302,8 @@ exports.CreateOwnTokenRequest = {
21448
22302
  "passwordIsPin": {
21449
22303
  "type": "boolean",
21450
22304
  "const": true
21451
- }
22305
+ },
22306
+ "passwordLocationIndicator": {}
21452
22307
  },
21453
22308
  "required": [
21454
22309
  "password"
@@ -21496,28 +22351,6 @@ exports.DeleteTokenRequest = {
21496
22351
  }
21497
22352
  }
21498
22353
  };
21499
- exports.GetQRCodeForTokenRequest = {
21500
- "$schema": "http://json-schema.org/draft-07/schema#",
21501
- "$ref": "#/definitions/GetQRCodeForTokenRequest",
21502
- "definitions": {
21503
- "GetQRCodeForTokenRequest": {
21504
- "type": "object",
21505
- "properties": {
21506
- "id": {
21507
- "$ref": "#/definitions/TokenIdString"
21508
- }
21509
- },
21510
- "required": [
21511
- "id"
21512
- ],
21513
- "additionalProperties": false
21514
- },
21515
- "TokenIdString": {
21516
- "type": "string",
21517
- "pattern": "TOK[A-Za-z0-9]{17}"
21518
- }
21519
- }
21520
- };
21521
22354
  exports.GetTokenRequest = {
21522
22355
  "$schema": "http://json-schema.org/draft-07/schema#",
21523
22356
  "$ref": "#/definitions/GetTokenRequest",
@@ -21559,6 +22392,19 @@ exports.GetTokensRequest = {
21559
22392
  "GetTokensQuery": {
21560
22393
  "type": "object",
21561
22394
  "properties": {
22395
+ "isOwn": {
22396
+ "anyOf": [
22397
+ {
22398
+ "type": "string"
22399
+ },
22400
+ {
22401
+ "type": "array",
22402
+ "items": {
22403
+ "type": "string"
22404
+ }
22405
+ }
22406
+ ]
22407
+ },
21562
22408
  "createdAt": {
21563
22409
  "anyOf": [
21564
22410
  {
@@ -21650,6 +22496,19 @@ exports.GetTokensRequest = {
21650
22496
  "true",
21651
22497
  "!"
21652
22498
  ]
22499
+ },
22500
+ "passwordProtection.passwordLocationIndicator": {
22501
+ "anyOf": [
22502
+ {
22503
+ "type": "string"
22504
+ },
22505
+ {
22506
+ "type": "array",
22507
+ "items": {
22508
+ "type": "string"
22509
+ }
22510
+ }
22511
+ ]
21653
22512
  }
21654
22513
  },
21655
22514
  "additionalProperties": false