@nmshd/runtime 1.4.2 → 2.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DatabaseSchemaUpgrader.js +5 -2
- package/dist/DatabaseSchemaUpgrader.js.map +1 -1
- package/dist/Runtime.d.ts +11 -10
- package/dist/Runtime.js +37 -28
- package/dist/Runtime.js.map +1 -1
- package/dist/buildInformation.js +5 -5
- package/dist/dataViews/DataViewExpander.d.ts +7 -18
- package/dist/dataViews/DataViewExpander.js +65 -239
- package/dist/dataViews/DataViewExpander.js.map +1 -1
- package/dist/dataViews/DataViewObject.d.ts +1 -1
- package/dist/dataViews/consumption/StoredAttributeDVO.d.ts +2 -2
- package/dist/dataViews/content/ConsumptionAttributeDVO.d.ts +63 -0
- package/dist/dataViews/content/ConsumptionAttributeDVO.js +3 -0
- package/dist/dataViews/content/ConsumptionAttributeDVO.js.map +1 -0
- package/dist/dataViews/content/RequestDVOs.d.ts +3 -3
- package/dist/dataViews/content/index.d.ts +1 -1
- package/dist/dataViews/content/index.js +1 -1
- package/dist/dataViews/content/index.js.map +1 -1
- package/dist/events/consumption/IncomingRequestReceivedEvent.d.ts +6 -0
- package/dist/events/consumption/IncomingRequestReceivedEvent.js +14 -0
- package/dist/events/consumption/IncomingRequestReceivedEvent.js.map +1 -0
- package/dist/events/consumption/IncomingRequestStatusChangedEvent.d.ts +12 -0
- package/dist/events/consumption/IncomingRequestStatusChangedEvent.js +14 -0
- package/dist/events/consumption/IncomingRequestStatusChangedEvent.js.map +1 -0
- package/dist/events/consumption/OutgoingRequestCreatedEvent.d.ts +6 -0
- package/dist/events/consumption/OutgoingRequestCreatedEvent.js +14 -0
- package/dist/events/consumption/OutgoingRequestCreatedEvent.js.map +1 -0
- package/dist/events/consumption/OutgoingRequestFromRelationshipCreationChangeCreatedAndCompletedEvent.d.ts +6 -0
- package/dist/events/consumption/OutgoingRequestFromRelationshipCreationChangeCreatedAndCompletedEvent.js +14 -0
- package/dist/events/consumption/OutgoingRequestFromRelationshipCreationChangeCreatedAndCompletedEvent.js.map +1 -0
- package/dist/events/consumption/OutgoingRequestStatusChangedEvent.d.ts +12 -0
- package/dist/events/consumption/OutgoingRequestStatusChangedEvent.js +14 -0
- package/dist/events/consumption/OutgoingRequestStatusChangedEvent.js.map +1 -0
- package/dist/events/index.d.ts +6 -0
- package/dist/events/index.js +6 -0
- package/dist/events/index.js.map +1 -1
- package/dist/events/transport/PeerRelationshipTemplateLoadedEvent.d.ts +6 -0
- package/dist/events/transport/PeerRelationshipTemplateLoadedEvent.js +12 -0
- package/dist/events/transport/PeerRelationshipTemplateLoadedEvent.js.map +1 -0
- package/dist/extensibility/ConsumptionServices.d.ts +4 -4
- package/dist/extensibility/ConsumptionServices.js +5 -5
- package/dist/extensibility/ConsumptionServices.js.map +1 -1
- package/dist/extensibility/facades/consumption/AttributesFacade.d.ts +4 -10
- package/dist/extensibility/facades/consumption/AttributesFacade.js +6 -24
- package/dist/extensibility/facades/consumption/AttributesFacade.js.map +1 -1
- package/dist/extensibility/facades/consumption/IncomingRequestsFacade.d.ts +26 -0
- package/dist/extensibility/facades/consumption/IncomingRequestsFacade.js +85 -0
- package/dist/extensibility/facades/consumption/IncomingRequestsFacade.js.map +1 -0
- package/dist/extensibility/facades/consumption/OutgoingRequestsFacade.d.ts +20 -0
- package/dist/extensibility/facades/consumption/OutgoingRequestsFacade.js +67 -0
- package/dist/extensibility/facades/consumption/OutgoingRequestsFacade.js.map +1 -0
- package/dist/extensibility/facades/consumption/index.d.ts +2 -2
- package/dist/extensibility/facades/consumption/index.js +2 -2
- package/dist/extensibility/facades/consumption/index.js.map +1 -1
- package/dist/extensibility/facades/transport/MessagesFacade.d.ts +5 -5
- package/dist/extensibility/facades/transport/MessagesFacade.js.map +1 -1
- package/dist/extensibility/modules/RuntimeModule.d.ts +8 -3
- package/dist/extensibility/modules/RuntimeModule.js +16 -0
- package/dist/extensibility/modules/RuntimeModule.js.map +1 -1
- package/dist/modules/DeciderModule.d.ts +7 -0
- package/dist/modules/DeciderModule.js +29 -0
- package/dist/modules/DeciderModule.js.map +1 -0
- package/dist/modules/MessageModule.d.ts +1 -2
- package/dist/modules/MessageModule.js +8 -13
- package/dist/modules/MessageModule.js.map +1 -1
- package/dist/modules/RequestModule.d.ts +12 -0
- package/dist/modules/RequestModule.js +121 -0
- package/dist/modules/RequestModule.js.map +1 -0
- package/dist/modules/index.d.ts +2 -0
- package/dist/modules/index.js +2 -0
- package/dist/modules/index.js.map +1 -1
- package/dist/types/consumption/ConsumptionAttributeDTO.d.ts +6 -2
- package/dist/types/consumption/ConsumptionRequestDTO.d.ts +25 -0
- package/dist/{dataViews/content/AttributeDVO.js → types/consumption/ConsumptionRequestDTO.js} +1 -1
- package/dist/types/consumption/ConsumptionRequestDTO.js.map +1 -0
- package/dist/types/consumption/RequestValidationResultDTO.d.ts +6 -0
- package/dist/types/consumption/RequestValidationResultDTO.js +3 -0
- package/dist/types/consumption/RequestValidationResultDTO.js.map +1 -0
- package/dist/types/consumption/index.d.ts +2 -0
- package/dist/types/consumption/index.js +2 -0
- package/dist/types/consumption/index.js.map +1 -1
- package/dist/useCases/anonymous/tokens/LoadPeerTokenAnonymousByIdAndKey.js +2 -2
- package/dist/useCases/anonymous/tokens/LoadPeerTokenAnonymousByIdAndKey.js.map +1 -1
- package/dist/useCases/anonymous/tokens/LoadPeerTokenAnonymousByTruncatedReference.js +1 -1
- package/dist/useCases/anonymous/tokens/LoadPeerTokenAnonymousByTruncatedReference.js.map +1 -1
- package/dist/useCases/common/RuntimeErrors.js +2 -2
- package/dist/useCases/common/RuntimeErrors.js.map +1 -1
- package/dist/useCases/common/SchemaRepository.d.ts +0 -1
- package/dist/useCases/common/SchemaRepository.js +0 -16
- package/dist/useCases/common/SchemaRepository.js.map +1 -1
- package/dist/useCases/common/Schemas.d.ts +15 -19
- package/dist/useCases/common/Schemas.js +1413 -461
- package/dist/useCases/common/Schemas.js.map +1 -1
- package/dist/useCases/common/UseCase.js +6 -4
- package/dist/useCases/common/UseCase.js.map +1 -1
- package/dist/useCases/common/index.d.ts +0 -1
- package/dist/useCases/common/index.js +0 -1
- package/dist/useCases/common/index.js.map +1 -1
- package/dist/useCases/consumption/attributes/AttributeMapper.d.ts +0 -2
- package/dist/useCases/consumption/attributes/AttributeMapper.js +6 -9
- package/dist/useCases/consumption/attributes/AttributeMapper.js.map +1 -1
- package/dist/useCases/consumption/attributes/CreateAttribute.d.ts +2 -3
- package/dist/useCases/consumption/attributes/CreateAttribute.js +4 -4
- package/dist/useCases/consumption/attributes/CreateAttribute.js.map +1 -1
- package/dist/useCases/consumption/attributes/CreateShareAttributeCopy.d.ts +18 -0
- package/dist/useCases/consumption/attributes/{DeleteAttributeByName.js → CreateShareAttributeCopy.js} +13 -15
- package/dist/useCases/consumption/attributes/CreateShareAttributeCopy.js.map +1 -0
- package/dist/useCases/consumption/attributes/DeleteAttribute.js +1 -1
- package/dist/useCases/consumption/attributes/DeleteAttribute.js.map +1 -1
- package/dist/useCases/consumption/attributes/GetAllValid.js +1 -1
- package/dist/useCases/consumption/attributes/GetAllValid.js.map +1 -1
- package/dist/useCases/consumption/attributes/GetAttribute.js +1 -1
- package/dist/useCases/consumption/attributes/GetAttribute.js.map +1 -1
- package/dist/useCases/consumption/attributes/GetAttributes.d.ts +28 -1
- package/dist/useCases/consumption/attributes/GetAttributes.js +107 -3
- package/dist/useCases/consumption/attributes/GetAttributes.js.map +1 -1
- package/dist/useCases/consumption/attributes/SucceedAttribute.d.ts +2 -4
- package/dist/useCases/consumption/attributes/SucceedAttribute.js +4 -5
- package/dist/useCases/consumption/attributes/SucceedAttribute.js.map +1 -1
- package/dist/useCases/consumption/attributes/UpdateAttribute.d.ts +2 -4
- package/dist/useCases/consumption/attributes/UpdateAttribute.js +6 -7
- package/dist/useCases/consumption/attributes/UpdateAttribute.js.map +1 -1
- package/dist/useCases/consumption/attributes/index.d.ts +1 -4
- package/dist/useCases/consumption/attributes/index.js +1 -4
- package/dist/useCases/consumption/attributes/index.js.map +1 -1
- package/dist/useCases/consumption/drafts/UpdateDraft.js +1 -1
- package/dist/useCases/consumption/drafts/UpdateDraft.js.map +1 -1
- package/dist/useCases/consumption/index.d.ts +1 -2
- package/dist/useCases/consumption/index.js +1 -2
- package/dist/useCases/consumption/index.js.map +1 -1
- package/dist/useCases/consumption/requests/AcceptIncomingRequest.d.ts +12 -0
- package/dist/useCases/consumption/requests/AcceptIncomingRequest.js +51 -0
- package/dist/useCases/consumption/requests/AcceptIncomingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/CanAcceptIncomingRequest.d.ts +10 -0
- package/dist/useCases/consumption/{attributes/GetAttributesByNames.js → requests/CanAcceptIncomingRequest.js} +14 -19
- package/dist/useCases/consumption/requests/CanAcceptIncomingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/CanCreateOutgoingRequest.d.ts +10 -0
- package/dist/useCases/consumption/{attributes/GetHistoryByName.js → requests/CanCreateOutgoingRequest.js} +19 -23
- package/dist/useCases/consumption/requests/CanCreateOutgoingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/CanRejectIncomingRequest.d.ts +10 -0
- package/dist/useCases/consumption/requests/CanRejectIncomingRequest.js +37 -0
- package/dist/useCases/consumption/requests/CanRejectIncomingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/CheckPrerequisitesOfIncomingRequest.d.ts +20 -0
- package/dist/useCases/consumption/requests/CheckPrerequisitesOfIncomingRequest.js +60 -0
- package/dist/useCases/consumption/requests/CheckPrerequisitesOfIncomingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/CompleteIncomingRequest.d.ts +27 -0
- package/dist/useCases/consumption/requests/CompleteIncomingRequest.js +85 -0
- package/dist/useCases/consumption/requests/CompleteIncomingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/CompleteOutgoingRequest.d.ts +28 -0
- package/dist/useCases/consumption/requests/CompleteOutgoingRequest.js +71 -0
- package/dist/useCases/consumption/requests/CompleteOutgoingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/CreateAndCompleteOutgoingRequestFromRelationshipCreationChange.d.ts +23 -0
- package/dist/useCases/consumption/requests/CreateAndCompleteOutgoingRequestFromRelationshipCreationChange.js +62 -0
- package/dist/useCases/consumption/requests/CreateAndCompleteOutgoingRequestFromRelationshipCreationChange.js.map +1 -0
- package/dist/useCases/consumption/requests/CreateOutgoingRequest.d.ts +18 -0
- package/dist/useCases/consumption/{sharedItems/GetSharedItemsByReference.js → requests/CreateOutgoingRequest.js} +21 -21
- package/dist/useCases/consumption/requests/CreateOutgoingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/GetIncomingRequest.d.ts +15 -0
- package/dist/useCases/consumption/{attributes/GetAttributeByName.js → requests/GetIncomingRequest.js} +16 -22
- package/dist/useCases/consumption/requests/GetIncomingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/GetIncomingRequests.d.ts +46 -0
- package/dist/useCases/consumption/requests/GetIncomingRequests.js +108 -0
- package/dist/useCases/consumption/requests/GetIncomingRequests.js.map +1 -0
- package/dist/useCases/consumption/requests/GetOutgoingRequest.d.ts +15 -0
- package/dist/useCases/consumption/{sharedItems/GetSharedItem.js → requests/GetOutgoingRequest.js} +15 -21
- package/dist/useCases/consumption/requests/GetOutgoingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/GetOutgoingRequests.d.ts +46 -0
- package/dist/useCases/consumption/requests/GetOutgoingRequests.js +108 -0
- package/dist/useCases/consumption/requests/GetOutgoingRequests.js.map +1 -0
- package/dist/useCases/consumption/requests/ReceivedIncomingRequest.d.ts +22 -0
- package/dist/useCases/consumption/requests/ReceivedIncomingRequest.js +66 -0
- package/dist/useCases/consumption/requests/ReceivedIncomingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/RejectIncomingRequest.d.ts +12 -0
- package/dist/useCases/consumption/requests/RejectIncomingRequest.js +51 -0
- package/dist/useCases/consumption/requests/RejectIncomingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/RequestMapper.d.ts +6 -0
- package/dist/useCases/consumption/requests/RequestMapper.js +38 -0
- package/dist/useCases/consumption/requests/RequestMapper.js.map +1 -0
- package/dist/useCases/consumption/requests/RequestValidationResultMapper.d.ts +5 -0
- package/dist/useCases/consumption/requests/RequestValidationResultMapper.js +15 -0
- package/dist/useCases/consumption/requests/RequestValidationResultMapper.js.map +1 -0
- package/dist/useCases/consumption/requests/RequireManualDecisionOfIncomingRequest.d.ts +16 -0
- package/dist/useCases/consumption/requests/RequireManualDecisionOfIncomingRequest.js +48 -0
- package/dist/useCases/consumption/requests/RequireManualDecisionOfIncomingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/SentOutgoingRequest.d.ts +22 -0
- package/dist/useCases/consumption/requests/SentOutgoingRequest.js +58 -0
- package/dist/useCases/consumption/requests/SentOutgoingRequest.js.map +1 -0
- package/dist/useCases/consumption/requests/flattenObject.d.ts +1 -0
- package/dist/useCases/consumption/requests/flattenObject.js +21 -0
- package/dist/useCases/consumption/requests/flattenObject.js.map +1 -0
- package/dist/useCases/consumption/requests/index.d.ts +17 -0
- package/dist/useCases/consumption/requests/index.js +34 -0
- package/dist/useCases/consumption/requests/index.js.map +1 -0
- package/dist/useCases/consumption/settings/SettingMapper.js +4 -5
- package/dist/useCases/consumption/settings/SettingMapper.js.map +1 -1
- package/dist/useCases/consumption/settings/UpdateSetting.js +1 -1
- package/dist/useCases/consumption/settings/UpdateSetting.js.map +1 -1
- package/dist/useCases/transport/account/GetDeviceInfo.d.ts +1 -1
- package/dist/useCases/transport/account/SyncEverything.d.ts +1 -2
- package/dist/useCases/transport/account/SyncEverything.js.map +1 -1
- package/dist/useCases/transport/challenges/CreateChallenge.d.ts +1 -1
- package/dist/useCases/transport/challenges/{ValidateChallange.d.ts → ValidateChallenge.d.ts} +0 -0
- package/dist/useCases/transport/challenges/{ValidateChallange.js → ValidateChallenge.js} +9 -9
- package/dist/useCases/transport/challenges/ValidateChallenge.js.map +1 -0
- package/dist/useCases/transport/challenges/index.d.ts +1 -1
- package/dist/useCases/transport/challenges/index.js +1 -1
- package/dist/useCases/transport/devices/CreateDevice.d.ts +1 -1
- package/dist/useCases/transport/devices/CreateDeviceOnboardingToken.js +2 -2
- package/dist/useCases/transport/devices/CreateDeviceOnboardingToken.js.map +1 -1
- package/dist/useCases/transport/devices/DeviceMapper.d.ts +2 -3
- package/dist/useCases/transport/devices/DeviceMapper.js +8 -9
- package/dist/useCases/transport/devices/DeviceMapper.js.map +1 -1
- package/dist/useCases/transport/devices/GetDevice.d.ts +1 -1
- package/dist/useCases/transport/devices/GetDevices.d.ts +1 -1
- package/dist/useCases/transport/files/CreateTokenForFile.d.ts +1 -1
- package/dist/useCases/transport/files/CreateTokenForFile.js +4 -5
- package/dist/useCases/transport/files/CreateTokenForFile.js.map +1 -1
- package/dist/useCases/transport/files/CreateTokenQrCodeForFile.d.ts +1 -1
- package/dist/useCases/transport/files/CreateTokenQrCodeForFile.js +3 -4
- package/dist/useCases/transport/files/CreateTokenQrCodeForFile.js.map +1 -1
- package/dist/useCases/transport/files/DownloadFile.d.ts +1 -1
- package/dist/useCases/transport/files/FileMapper.js +4 -5
- package/dist/useCases/transport/files/FileMapper.js.map +1 -1
- package/dist/useCases/transport/files/GetFile.d.ts +1 -1
- package/dist/useCases/transport/files/LoadPeerFile.d.ts +1 -1
- package/dist/useCases/transport/files/LoadPeerFile.js +1 -1
- package/dist/useCases/transport/files/LoadPeerFile.js.map +1 -1
- package/dist/useCases/transport/files/UploadOwnFile.js +1 -2
- package/dist/useCases/transport/files/UploadOwnFile.js.map +1 -1
- package/dist/useCases/transport/messages/GetMessages.js +0 -1
- package/dist/useCases/transport/messages/GetMessages.js.map +1 -1
- package/dist/useCases/transport/messages/MessageMapper.js +2 -3
- package/dist/useCases/transport/messages/MessageMapper.js.map +1 -1
- package/dist/useCases/transport/relationshipTemplates/CreateTokenForOwnRelationshipTemplate.js +4 -5
- package/dist/useCases/transport/relationshipTemplates/CreateTokenForOwnRelationshipTemplate.js.map +1 -1
- package/dist/useCases/transport/relationshipTemplates/CreateTokenQrCodeForOwnRelationshipTemplate.js +3 -4
- package/dist/useCases/transport/relationshipTemplates/CreateTokenQrCodeForOwnRelationshipTemplate.js.map +1 -1
- package/dist/useCases/transport/relationshipTemplates/LoadPeerRelationshipTemplate.d.ts +3 -2
- package/dist/useCases/transport/relationshipTemplates/LoadPeerRelationshipTemplate.js +14 -6
- package/dist/useCases/transport/relationshipTemplates/LoadPeerRelationshipTemplate.js.map +1 -1
- package/dist/useCases/transport/relationshipTemplates/RelationshipTemplateMapper.js +1 -2
- package/dist/useCases/transport/relationshipTemplates/RelationshipTemplateMapper.js.map +1 -1
- package/dist/useCases/transport/relationships/RelationshipMapper.js +4 -7
- package/dist/useCases/transport/relationships/RelationshipMapper.js.map +1 -1
- package/dist/useCases/transport/tokens/CreateOwnToken.js +2 -2
- package/dist/useCases/transport/tokens/CreateOwnToken.js.map +1 -1
- package/dist/useCases/transport/tokens/GetQRCodeForToken.js +1 -1
- package/dist/useCases/transport/tokens/GetQRCodeForToken.js.map +1 -1
- package/dist/useCases/transport/tokens/GetToken.js +1 -1
- package/dist/useCases/transport/tokens/GetToken.js.map +1 -1
- package/dist/useCases/transport/tokens/GetTokens.js +1 -1
- package/dist/useCases/transport/tokens/GetTokens.js.map +1 -1
- package/dist/useCases/transport/tokens/LoadPeerToken.js +2 -2
- package/dist/useCases/transport/tokens/LoadPeerToken.js.map +1 -1
- package/dist/useCases/transport/tokens/TokenMapper.d.ts +2 -2
- package/dist/useCases/transport/tokens/TokenMapper.js +4 -4
- package/dist/useCases/transport/tokens/TokenMapper.js.map +1 -1
- package/lib-web/nmshd.runtime.js +3264 -2077
- package/lib-web/nmshd.runtime.js.map +1 -1
- package/lib-web/nmshd.runtime.min.js +5 -5
- package/lib-web/nmshd.runtime.min.js.map +1 -1
- package/package.json +24 -18
- package/dist/dataViews/content/AttributeDVO.d.ts +0 -14
- package/dist/dataViews/content/AttributeDVO.js.map +0 -1
- package/dist/events/consumption/RequestReceivedEvent.d.ts +0 -8
- package/dist/events/consumption/RequestReceivedEvent.js +0 -13
- package/dist/events/consumption/RequestReceivedEvent.js.map +0 -1
- package/dist/extensibility/facades/consumption/RelationshipInfoFacade.d.ts +0 -18
- package/dist/extensibility/facades/consumption/RelationshipInfoFacade.js +0 -61
- package/dist/extensibility/facades/consumption/RelationshipInfoFacade.js.map +0 -1
- package/dist/extensibility/facades/consumption/SharedItemsFacade.d.ts +0 -24
- package/dist/extensibility/facades/consumption/SharedItemsFacade.js +0 -79
- package/dist/extensibility/facades/consumption/SharedItemsFacade.js.map +0 -1
- package/dist/useCases/common/validation/RelationshipAttributeDTOValidator.d.ts +0 -6
- package/dist/useCases/common/validation/RelationshipAttributeDTOValidator.js +0 -16
- package/dist/useCases/common/validation/RelationshipAttributeDTOValidator.js.map +0 -1
- package/dist/useCases/consumption/attributes/DeleteAttributeByName.d.ts +0 -17
- package/dist/useCases/consumption/attributes/DeleteAttributeByName.js.map +0 -1
- package/dist/useCases/consumption/attributes/GetAttributeByName.d.ts +0 -16
- package/dist/useCases/consumption/attributes/GetAttributeByName.js.map +0 -1
- package/dist/useCases/consumption/attributes/GetAttributesByNames.d.ts +0 -16
- package/dist/useCases/consumption/attributes/GetAttributesByNames.js.map +0 -1
- package/dist/useCases/consumption/attributes/GetHistoryByName.d.ts +0 -16
- package/dist/useCases/consumption/attributes/GetHistoryByName.js.map +0 -1
- package/dist/useCases/consumption/relationshipInfo/CreateRelationshipInfo.d.ts +0 -26
- package/dist/useCases/consumption/relationshipInfo/CreateRelationshipInfo.js +0 -75
- package/dist/useCases/consumption/relationshipInfo/CreateRelationshipInfo.js.map +0 -1
- package/dist/useCases/consumption/relationshipInfo/DeleteRelationshipInfo.d.ts +0 -18
- package/dist/useCases/consumption/relationshipInfo/DeleteRelationshipInfo.js +0 -54
- package/dist/useCases/consumption/relationshipInfo/DeleteRelationshipInfo.js.map +0 -1
- package/dist/useCases/consumption/relationshipInfo/DeleteRelationshipInfoByRelationship.d.ts +0 -18
- package/dist/useCases/consumption/relationshipInfo/DeleteRelationshipInfoByRelationship.js +0 -54
- package/dist/useCases/consumption/relationshipInfo/DeleteRelationshipInfoByRelationship.js.map +0 -1
- package/dist/useCases/consumption/relationshipInfo/GetRelationshipInfo.d.ts +0 -17
- package/dist/useCases/consumption/relationshipInfo/GetRelationshipInfo.js +0 -50
- package/dist/useCases/consumption/relationshipInfo/GetRelationshipInfo.js.map +0 -1
- package/dist/useCases/consumption/relationshipInfo/GetRelationshipInfoByRelationship.d.ts +0 -17
- package/dist/useCases/consumption/relationshipInfo/GetRelationshipInfoByRelationship.js +0 -49
- package/dist/useCases/consumption/relationshipInfo/GetRelationshipInfoByRelationship.js.map +0 -1
- package/dist/useCases/consumption/relationshipInfo/RelationshipAttributeMapper.d.ts +0 -6
- package/dist/useCases/consumption/relationshipInfo/RelationshipAttributeMapper.js +0 -17
- package/dist/useCases/consumption/relationshipInfo/RelationshipAttributeMapper.js.map +0 -1
- package/dist/useCases/consumption/relationshipInfo/RelationshipInfoMapper.d.ts +0 -6
- package/dist/useCases/consumption/relationshipInfo/RelationshipInfoMapper.js +0 -25
- package/dist/useCases/consumption/relationshipInfo/RelationshipInfoMapper.js.map +0 -1
- package/dist/useCases/consumption/relationshipInfo/RelationshipThemeMapper.d.ts +0 -6
- package/dist/useCases/consumption/relationshipInfo/RelationshipThemeMapper.js +0 -18
- package/dist/useCases/consumption/relationshipInfo/RelationshipThemeMapper.js.map +0 -1
- package/dist/useCases/consumption/relationshipInfo/UpdateRelationshipInfo.d.ts +0 -31
- package/dist/useCases/consumption/relationshipInfo/UpdateRelationshipInfo.js +0 -71
- package/dist/useCases/consumption/relationshipInfo/UpdateRelationshipInfo.js.map +0 -1
- package/dist/useCases/consumption/relationshipInfo/index.d.ts +0 -6
- package/dist/useCases/consumption/relationshipInfo/index.js +0 -23
- package/dist/useCases/consumption/relationshipInfo/index.js.map +0 -1
- package/dist/useCases/consumption/sharedItems/CreateSharedItem.d.ts +0 -26
- package/dist/useCases/consumption/sharedItems/CreateSharedItem.js +0 -71
- package/dist/useCases/consumption/sharedItems/CreateSharedItem.js.map +0 -1
- package/dist/useCases/consumption/sharedItems/DeleteSharedItem.d.ts +0 -17
- package/dist/useCases/consumption/sharedItems/DeleteSharedItem.js +0 -53
- package/dist/useCases/consumption/sharedItems/DeleteSharedItem.js.map +0 -1
- package/dist/useCases/consumption/sharedItems/GetSharedItem.d.ts +0 -16
- package/dist/useCases/consumption/sharedItems/GetSharedItem.js.map +0 -1
- package/dist/useCases/consumption/sharedItems/GetSharedItems.d.ts +0 -13
- package/dist/useCases/consumption/sharedItems/GetSharedItems.js +0 -59
- package/dist/useCases/consumption/sharedItems/GetSharedItems.js.map +0 -1
- package/dist/useCases/consumption/sharedItems/GetSharedItemsByAddress.d.ts +0 -16
- package/dist/useCases/consumption/sharedItems/GetSharedItemsByAddress.js +0 -46
- package/dist/useCases/consumption/sharedItems/GetSharedItemsByAddress.js.map +0 -1
- package/dist/useCases/consumption/sharedItems/GetSharedItemsByReference.d.ts +0 -16
- package/dist/useCases/consumption/sharedItems/GetSharedItemsByReference.js.map +0 -1
- package/dist/useCases/consumption/sharedItems/GetSharedItemsSharedByAddress.d.ts +0 -16
- package/dist/useCases/consumption/sharedItems/GetSharedItemsSharedByAddress.js +0 -46
- package/dist/useCases/consumption/sharedItems/GetSharedItemsSharedByAddress.js.map +0 -1
- package/dist/useCases/consumption/sharedItems/GetSharedItemsSharedWithAddress.d.ts +0 -16
- package/dist/useCases/consumption/sharedItems/GetSharedItemsSharedWithAddress.js +0 -46
- package/dist/useCases/consumption/sharedItems/GetSharedItemsSharedWithAddress.js.map +0 -1
- package/dist/useCases/consumption/sharedItems/SharedItemsMapper.d.ts +0 -6
- package/dist/useCases/consumption/sharedItems/SharedItemsMapper.js +0 -25
- package/dist/useCases/consumption/sharedItems/SharedItemsMapper.js.map +0 -1
- package/dist/useCases/consumption/sharedItems/UpdateSharedItem.d.ts +0 -19
- package/dist/useCases/consumption/sharedItems/UpdateSharedItem.js +0 -57
- package/dist/useCases/consumption/sharedItems/UpdateSharedItem.js.map +0 -1
- package/dist/useCases/consumption/sharedItems/index.d.ts +0 -10
- package/dist/useCases/consumption/sharedItems/index.js +0 -27
- package/dist/useCases/consumption/sharedItems/index.js.map +0 -1
- package/dist/useCases/transport/challenges/ValidateChallange.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteDeviceRequest = exports.CreateDeviceOnboardingTokenRequest = exports.CreateDeviceRequest = exports.ValidateChallengeRequest = exports.CreateChallengeRequest = exports.CreateDeviceChallengeRequest = exports.CreateIdentityChallengeRequest = exports.CreateRelationshipChallengeRequest = exports.SyncEverythingRequest = exports.DownloadAttachmentRequest = exports.DownloadFileRequest = exports.SyncDatawalletRequest = exports.RegisterPushNotificationTokenRequest = exports.
|
|
4
|
-
exports.LoadPeerTokenRequest = exports.GetTokensRequest = exports.GetTokenRequest = exports.GetQRCodeForTokenRequest = exports.CreateOwnTokenRequest = exports.LoadPeerRelationshipTemplateRequest = exports.GetRelationshipTemplatesRequest = exports.GetRelationshipTemplateRequest = exports.CreateTokenQrCodeForOwnTemplateRequest = exports.CreateTokenForOwnTemplateRequest = exports.CreateOwnRelationshipTemplateRequest = exports.RevokeRelationshipChangeRequest = exports.RejectRelationshipChangeRequest = exports.GetRelationshipsRequest = exports.GetRelationshipByAddressRequest = exports.GetRelationshipRequest = exports.CreateRelationshipChangeRequest = exports.CreateRelationshipRequest = exports.AcceptRelationshipChangeRequest = exports.SendMessageRequest = exports.GetMessagesRequest = exports.GetMessageRequest = exports.GetAttachmentMetadataRequest = exports.CheckIdentityRequest = exports.UploadOwnFileRequest = exports.LoadPeerFileRequest = exports.LoadPeerFileViaReferenceRequest = exports.LoadPeerFileViaSecretRequest = exports.GetFilesRequest = exports.GetFileRequest = exports.CreateTokenQrCodeForFileRequest =
|
|
3
|
+
exports.CreateTokenForFileRequest = exports.UpdateDeviceRequest = exports.GetDeviceOnboardingInfoRequest = exports.GetDeviceRequest = exports.DeleteDeviceRequest = exports.CreateDeviceOnboardingTokenRequest = exports.CreateDeviceRequest = exports.ValidateChallengeRequest = exports.CreateChallengeRequest = exports.CreateDeviceChallengeRequest = exports.CreateIdentityChallengeRequest = exports.CreateRelationshipChallengeRequest = exports.SyncEverythingRequest = exports.DownloadAttachmentRequest = exports.DownloadFileRequest = exports.SyncDatawalletRequest = exports.RegisterPushNotificationTokenRequest = exports.UpdateSettingRequest = exports.GetSettingsRequest = exports.GetSettingRequest = exports.DeleteSettingRequest = exports.CreateSettingRequest = exports.SentOutgoingRequestRequest = exports.RequireManualDecisionOfIncomingRequestRequest = exports.ReceivedIncomingRequestRequest = exports.GetOutgoingRequestsRequest = exports.GetOutgoingRequestRequest = exports.GetIncomingRequestsRequest = exports.GetIncomingRequestRequest = exports.CreateAndCompleteOutgoingRequestFromRelationshipCreationChangeRequest = exports.CompleteOutgoingRequestRequest = exports.CompleteIncomingRequestRequest = exports.CheckPrerequisitesOfIncomingRequestRequest = exports.RejectIncomingRequestRequest = exports.CreateOutgoingRequestRequest = exports.AcceptIncomingRequestRequest = exports.UpdateDraftRequest = exports.GetDraftsRequest = exports.GetDraftRequest = exports.DeleteDraftRequest = exports.CreateDraftRequest = exports.UpdateAttributeRequest = exports.SucceedAttributeRequest = exports.GetAttributesRequest = exports.GetAttributeRequest = exports.DeleteAttributeRequest = exports.CreateShareAttributeCopyRequest = exports.CreateAttributeRequest = exports.LoadPeerTokenAnonymousByTruncatedReferenceRequest = exports.LoadPeerTokenAnonymousByIdAndKeyRequest = void 0;
|
|
4
|
+
exports.LoadPeerTokenRequest = exports.GetTokensRequest = exports.GetTokenRequest = exports.GetQRCodeForTokenRequest = exports.CreateOwnTokenRequest = exports.LoadPeerRelationshipTemplateRequest = exports.GetRelationshipTemplatesRequest = exports.GetRelationshipTemplateRequest = exports.CreateTokenQrCodeForOwnTemplateRequest = exports.CreateTokenForOwnTemplateRequest = exports.CreateOwnRelationshipTemplateRequest = exports.RevokeRelationshipChangeRequest = exports.RejectRelationshipChangeRequest = exports.GetRelationshipsRequest = exports.GetRelationshipByAddressRequest = exports.GetRelationshipRequest = exports.CreateRelationshipChangeRequest = exports.CreateRelationshipRequest = exports.AcceptRelationshipChangeRequest = exports.SendMessageRequest = exports.GetMessagesRequest = exports.GetMessageRequest = exports.GetAttachmentMetadataRequest = exports.CheckIdentityRequest = exports.UploadOwnFileRequest = exports.LoadPeerFileRequest = exports.LoadPeerFileViaReferenceRequest = exports.LoadPeerFileViaSecretRequest = exports.GetFilesRequest = exports.GetFileRequest = exports.CreateTokenQrCodeForFileRequest = void 0;
|
|
5
5
|
exports.LoadPeerTokenAnonymousByIdAndKeyRequest = {
|
|
6
6
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
7
7
|
"$ref": "#/definitions/LoadPeerTokenAnonymousByIdAndKeyRequest",
|
|
@@ -42,16 +42,6 @@ exports.LoadPeerTokenAnonymousByTruncatedReferenceRequest = {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
|
-
exports.GetAttributesByNamesRequest = {
|
|
46
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
47
|
-
"$ref": "#/definitions/GetAttributesByNamesRequest",
|
|
48
|
-
"definitions": {
|
|
49
|
-
"GetAttributesByNamesRequest": {
|
|
50
|
-
"type": "object",
|
|
51
|
-
"additionalProperties": false
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
45
|
exports.CreateAttributeRequest = {
|
|
56
46
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
57
47
|
"$ref": "#/definitions/CreateAttributeRequest",
|
|
@@ -59,35 +49,74 @@ exports.CreateAttributeRequest = {
|
|
|
59
49
|
"CreateAttributeRequest": {
|
|
60
50
|
"type": "object",
|
|
61
51
|
"properties": {
|
|
62
|
-
"
|
|
63
|
-
"$ref": "#/definitions/
|
|
52
|
+
"params": {
|
|
53
|
+
"$ref": "#/definitions/ICreateConsumptionAttributeParams"
|
|
64
54
|
}
|
|
65
55
|
},
|
|
66
56
|
"required": [
|
|
67
|
-
"
|
|
57
|
+
"params"
|
|
68
58
|
],
|
|
69
59
|
"additionalProperties": false
|
|
70
60
|
},
|
|
71
|
-
"
|
|
61
|
+
"ICreateConsumptionAttributeParams": {
|
|
72
62
|
"type": "object",
|
|
73
63
|
"properties": {
|
|
74
|
-
"
|
|
75
|
-
"
|
|
64
|
+
"content": {
|
|
65
|
+
"anyOf": [
|
|
66
|
+
{
|
|
67
|
+
"$ref": "#/definitions/IIdentityAttribute"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"$ref": "#/definitions/IRelationshipAttribute"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"required": [
|
|
76
|
+
"content"
|
|
77
|
+
],
|
|
78
|
+
"additionalProperties": false
|
|
79
|
+
},
|
|
80
|
+
"IIdentityAttribute": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"properties": {
|
|
83
|
+
"owner": {
|
|
84
|
+
"$ref": "#/definitions/ICoreAddress"
|
|
76
85
|
},
|
|
77
|
-
"value": {},
|
|
78
86
|
"validFrom": {
|
|
79
87
|
"$ref": "#/definitions/ICoreDate"
|
|
80
88
|
},
|
|
81
89
|
"validTo": {
|
|
82
90
|
"$ref": "#/definitions/ICoreDate"
|
|
91
|
+
},
|
|
92
|
+
"value": {
|
|
93
|
+
"$ref": "#/definitions/IAbstractAttributeValue"
|
|
94
|
+
},
|
|
95
|
+
"tags": {
|
|
96
|
+
"type": "array",
|
|
97
|
+
"items": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
}
|
|
83
100
|
}
|
|
84
101
|
},
|
|
85
102
|
"required": [
|
|
86
|
-
"
|
|
103
|
+
"owner",
|
|
87
104
|
"value"
|
|
88
105
|
],
|
|
89
106
|
"additionalProperties": false
|
|
90
107
|
},
|
|
108
|
+
"ICoreAddress": {
|
|
109
|
+
"type": "object",
|
|
110
|
+
"properties": {
|
|
111
|
+
"address": {
|
|
112
|
+
"type": "string"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"required": [
|
|
116
|
+
"address"
|
|
117
|
+
],
|
|
118
|
+
"additionalProperties": false
|
|
119
|
+
},
|
|
91
120
|
"ICoreDate": {
|
|
92
121
|
"type": "object",
|
|
93
122
|
"properties": {
|
|
@@ -99,14 +128,92 @@ exports.CreateAttributeRequest = {
|
|
|
99
128
|
"date"
|
|
100
129
|
],
|
|
101
130
|
"additionalProperties": false
|
|
131
|
+
},
|
|
132
|
+
"IAbstractAttributeValue": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"additionalProperties": false,
|
|
135
|
+
"properties": {}
|
|
136
|
+
},
|
|
137
|
+
"IRelationshipAttribute": {
|
|
138
|
+
"type": "object",
|
|
139
|
+
"properties": {
|
|
140
|
+
"owner": {
|
|
141
|
+
"$ref": "#/definitions/ICoreAddress"
|
|
142
|
+
},
|
|
143
|
+
"validFrom": {
|
|
144
|
+
"$ref": "#/definitions/ICoreDate"
|
|
145
|
+
},
|
|
146
|
+
"validTo": {
|
|
147
|
+
"$ref": "#/definitions/ICoreDate"
|
|
148
|
+
},
|
|
149
|
+
"value": {
|
|
150
|
+
"$ref": "#/definitions/IAbstractAttributeValue"
|
|
151
|
+
},
|
|
152
|
+
"key": {
|
|
153
|
+
"type": "string"
|
|
154
|
+
},
|
|
155
|
+
"isTechnical": {
|
|
156
|
+
"type": "boolean"
|
|
157
|
+
},
|
|
158
|
+
"confidentiality": {
|
|
159
|
+
"$ref": "#/definitions/RelationshipAttributeConfidentiality"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": [
|
|
163
|
+
"confidentiality",
|
|
164
|
+
"key",
|
|
165
|
+
"owner",
|
|
166
|
+
"value"
|
|
167
|
+
],
|
|
168
|
+
"additionalProperties": false
|
|
169
|
+
},
|
|
170
|
+
"RelationshipAttributeConfidentiality": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"enum": [
|
|
173
|
+
"public",
|
|
174
|
+
"private",
|
|
175
|
+
"protected"
|
|
176
|
+
]
|
|
102
177
|
}
|
|
103
178
|
}
|
|
104
179
|
};
|
|
105
|
-
exports.
|
|
180
|
+
exports.CreateShareAttributeCopyRequest = {
|
|
106
181
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
107
|
-
"$ref": "#/definitions/
|
|
182
|
+
"$ref": "#/definitions/CreateShareAttributeCopyRequest",
|
|
108
183
|
"definitions": {
|
|
109
|
-
"
|
|
184
|
+
"CreateShareAttributeCopyRequest": {
|
|
185
|
+
"type": "object",
|
|
186
|
+
"properties": {
|
|
187
|
+
"params": {
|
|
188
|
+
"$ref": "#/definitions/ICreateSharedConsumptionAttributeCopyParams"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"required": [
|
|
192
|
+
"params"
|
|
193
|
+
],
|
|
194
|
+
"additionalProperties": false
|
|
195
|
+
},
|
|
196
|
+
"ICreateSharedConsumptionAttributeCopyParams": {
|
|
197
|
+
"type": "object",
|
|
198
|
+
"properties": {
|
|
199
|
+
"attributeId": {
|
|
200
|
+
"$ref": "#/definitions/ICoreId"
|
|
201
|
+
},
|
|
202
|
+
"peer": {
|
|
203
|
+
"$ref": "#/definitions/ICoreAddress"
|
|
204
|
+
},
|
|
205
|
+
"requestReference": {
|
|
206
|
+
"$ref": "#/definitions/ICoreId"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"required": [
|
|
210
|
+
"attributeId",
|
|
211
|
+
"peer",
|
|
212
|
+
"requestReference"
|
|
213
|
+
],
|
|
214
|
+
"additionalProperties": false
|
|
215
|
+
},
|
|
216
|
+
"ICoreId": {
|
|
110
217
|
"type": "object",
|
|
111
218
|
"properties": {
|
|
112
219
|
"id": {
|
|
@@ -117,32 +224,26 @@ exports.DeleteAttributeRequest = {
|
|
|
117
224
|
"id"
|
|
118
225
|
],
|
|
119
226
|
"additionalProperties": false
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
};
|
|
123
|
-
exports.DeleteAttributeByNameRequest = {
|
|
124
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
125
|
-
"$ref": "#/definitions/DeleteAttributeByNameRequest",
|
|
126
|
-
"definitions": {
|
|
127
|
-
"DeleteAttributeByNameRequest": {
|
|
227
|
+
},
|
|
228
|
+
"ICoreAddress": {
|
|
128
229
|
"type": "object",
|
|
129
230
|
"properties": {
|
|
130
|
-
"
|
|
231
|
+
"address": {
|
|
131
232
|
"type": "string"
|
|
132
233
|
}
|
|
133
234
|
},
|
|
134
235
|
"required": [
|
|
135
|
-
"
|
|
236
|
+
"address"
|
|
136
237
|
],
|
|
137
238
|
"additionalProperties": false
|
|
138
239
|
}
|
|
139
240
|
}
|
|
140
241
|
};
|
|
141
|
-
exports.
|
|
242
|
+
exports.DeleteAttributeRequest = {
|
|
142
243
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
143
|
-
"$ref": "#/definitions/
|
|
244
|
+
"$ref": "#/definitions/DeleteAttributeRequest",
|
|
144
245
|
"definitions": {
|
|
145
|
-
"
|
|
246
|
+
"DeleteAttributeRequest": {
|
|
146
247
|
"type": "object",
|
|
147
248
|
"properties": {
|
|
148
249
|
"id": {
|
|
@@ -156,19 +257,19 @@ exports.GetAttributeRequest = {
|
|
|
156
257
|
}
|
|
157
258
|
}
|
|
158
259
|
};
|
|
159
|
-
exports.
|
|
260
|
+
exports.GetAttributeRequest = {
|
|
160
261
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
161
|
-
"$ref": "#/definitions/
|
|
262
|
+
"$ref": "#/definitions/GetAttributeRequest",
|
|
162
263
|
"definitions": {
|
|
163
|
-
"
|
|
264
|
+
"GetAttributeRequest": {
|
|
164
265
|
"type": "object",
|
|
165
266
|
"properties": {
|
|
166
|
-
"
|
|
267
|
+
"id": {
|
|
167
268
|
"type": "string"
|
|
168
269
|
}
|
|
169
270
|
},
|
|
170
271
|
"required": [
|
|
171
|
-
"
|
|
272
|
+
"id"
|
|
172
273
|
],
|
|
173
274
|
"additionalProperties": false
|
|
174
275
|
}
|
|
@@ -179,26 +280,96 @@ exports.GetAttributesRequest = {
|
|
|
179
280
|
"$ref": "#/definitions/GetAttributesRequest",
|
|
180
281
|
"definitions": {
|
|
181
282
|
"GetAttributesRequest": {
|
|
182
|
-
"type": "object",
|
|
183
|
-
"additionalProperties": false
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
exports.GetHistoryByNameRequest = {
|
|
188
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
189
|
-
"$ref": "#/definitions/GetHistoryByNameRequest",
|
|
190
|
-
"definitions": {
|
|
191
|
-
"GetHistoryByNameRequest": {
|
|
192
283
|
"type": "object",
|
|
193
284
|
"properties": {
|
|
194
|
-
"
|
|
195
|
-
"
|
|
285
|
+
"query": {
|
|
286
|
+
"$ref": "#/definitions/ConsumptionAttributeQuery"
|
|
196
287
|
}
|
|
197
288
|
},
|
|
198
289
|
"required": [
|
|
199
|
-
"
|
|
290
|
+
"query"
|
|
200
291
|
],
|
|
201
292
|
"additionalProperties": false
|
|
293
|
+
},
|
|
294
|
+
"ConsumptionAttributeQuery": {
|
|
295
|
+
"type": "object",
|
|
296
|
+
"properties": {
|
|
297
|
+
"createdAt": {
|
|
298
|
+
"type": "string"
|
|
299
|
+
},
|
|
300
|
+
"content": {
|
|
301
|
+
"type": "object",
|
|
302
|
+
"properties": {
|
|
303
|
+
"@type": {
|
|
304
|
+
"type": "string"
|
|
305
|
+
},
|
|
306
|
+
"tags": {
|
|
307
|
+
"type": "array",
|
|
308
|
+
"items": {
|
|
309
|
+
"type": "string"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"owner": {
|
|
313
|
+
"type": "string"
|
|
314
|
+
},
|
|
315
|
+
"validFrom": {
|
|
316
|
+
"type": "string"
|
|
317
|
+
},
|
|
318
|
+
"validTo": {
|
|
319
|
+
"type": "string"
|
|
320
|
+
},
|
|
321
|
+
"key": {
|
|
322
|
+
"type": "string"
|
|
323
|
+
},
|
|
324
|
+
"isTechnical": {
|
|
325
|
+
"type": "boolean"
|
|
326
|
+
},
|
|
327
|
+
"confidenttiality": {
|
|
328
|
+
"$ref": "#/definitions/RelationshipAttributeConfidentiality"
|
|
329
|
+
},
|
|
330
|
+
"value": {
|
|
331
|
+
"type": "object",
|
|
332
|
+
"properties": {
|
|
333
|
+
"@type": {
|
|
334
|
+
"type": "string"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"additionalProperties": false
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"additionalProperties": false
|
|
341
|
+
},
|
|
342
|
+
"succeeds": {
|
|
343
|
+
"type": "string"
|
|
344
|
+
},
|
|
345
|
+
"succeededBy": {
|
|
346
|
+
"type": "string"
|
|
347
|
+
},
|
|
348
|
+
"shareInfo": {
|
|
349
|
+
"type": "object",
|
|
350
|
+
"properties": {
|
|
351
|
+
"requestReference": {
|
|
352
|
+
"type": "string"
|
|
353
|
+
},
|
|
354
|
+
"peer": {
|
|
355
|
+
"type": "string"
|
|
356
|
+
},
|
|
357
|
+
"sourceAttribute": {
|
|
358
|
+
"type": "string"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"additionalProperties": false
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"additionalProperties": {}
|
|
365
|
+
},
|
|
366
|
+
"RelationshipAttributeConfidentiality": {
|
|
367
|
+
"type": "string",
|
|
368
|
+
"enum": [
|
|
369
|
+
"public",
|
|
370
|
+
"private",
|
|
371
|
+
"protected"
|
|
372
|
+
]
|
|
202
373
|
}
|
|
203
374
|
}
|
|
204
375
|
};
|
|
@@ -209,319 +380,1023 @@ exports.SucceedAttributeRequest = {
|
|
|
209
380
|
"SucceedAttributeRequest": {
|
|
210
381
|
"type": "object",
|
|
211
382
|
"properties": {
|
|
212
|
-
"
|
|
213
|
-
"$ref": "#/definitions/
|
|
383
|
+
"params": {
|
|
384
|
+
"$ref": "#/definitions/ISucceedConsumptionAttributeParams"
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"required": [
|
|
388
|
+
"params"
|
|
389
|
+
],
|
|
390
|
+
"additionalProperties": false
|
|
391
|
+
},
|
|
392
|
+
"ISucceedConsumptionAttributeParams": {
|
|
393
|
+
"type": "object",
|
|
394
|
+
"properties": {
|
|
395
|
+
"successorContent": {
|
|
396
|
+
"anyOf": [
|
|
397
|
+
{
|
|
398
|
+
"$ref": "#/definitions/IIdentityAttribute"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"$ref": "#/definitions/IRelationshipAttribute"
|
|
402
|
+
}
|
|
403
|
+
]
|
|
214
404
|
},
|
|
215
|
-
"
|
|
216
|
-
"
|
|
405
|
+
"succeeds": {
|
|
406
|
+
"$ref": "#/definitions/ICoreId"
|
|
217
407
|
}
|
|
218
408
|
},
|
|
219
409
|
"required": [
|
|
220
|
-
"
|
|
410
|
+
"successorContent",
|
|
411
|
+
"succeeds"
|
|
221
412
|
],
|
|
222
413
|
"additionalProperties": false
|
|
223
414
|
},
|
|
224
|
-
"
|
|
415
|
+
"IIdentityAttribute": {
|
|
225
416
|
"type": "object",
|
|
226
417
|
"properties": {
|
|
227
|
-
"
|
|
228
|
-
"
|
|
418
|
+
"owner": {
|
|
419
|
+
"$ref": "#/definitions/ICoreAddress"
|
|
229
420
|
},
|
|
230
|
-
"value": {},
|
|
231
421
|
"validFrom": {
|
|
232
422
|
"$ref": "#/definitions/ICoreDate"
|
|
233
423
|
},
|
|
234
424
|
"validTo": {
|
|
235
425
|
"$ref": "#/definitions/ICoreDate"
|
|
426
|
+
},
|
|
427
|
+
"value": {
|
|
428
|
+
"$ref": "#/definitions/IAbstractAttributeValue"
|
|
429
|
+
},
|
|
430
|
+
"tags": {
|
|
431
|
+
"type": "array",
|
|
432
|
+
"items": {
|
|
433
|
+
"type": "string"
|
|
434
|
+
}
|
|
236
435
|
}
|
|
237
436
|
},
|
|
238
437
|
"required": [
|
|
239
|
-
"
|
|
438
|
+
"owner",
|
|
240
439
|
"value"
|
|
241
440
|
],
|
|
242
441
|
"additionalProperties": false
|
|
243
442
|
},
|
|
244
|
-
"
|
|
443
|
+
"ICoreAddress": {
|
|
245
444
|
"type": "object",
|
|
246
445
|
"properties": {
|
|
247
|
-
"
|
|
446
|
+
"address": {
|
|
248
447
|
"type": "string"
|
|
249
448
|
}
|
|
250
449
|
},
|
|
251
450
|
"required": [
|
|
252
|
-
"
|
|
451
|
+
"address"
|
|
253
452
|
],
|
|
254
453
|
"additionalProperties": false
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
};
|
|
258
|
-
exports.UpdateAttributeRequest = {
|
|
259
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
260
|
-
"$ref": "#/definitions/UpdateAttributeRequest",
|
|
261
|
-
"definitions": {
|
|
262
|
-
"UpdateAttributeRequest": {
|
|
454
|
+
},
|
|
455
|
+
"ICoreDate": {
|
|
263
456
|
"type": "object",
|
|
264
457
|
"properties": {
|
|
265
|
-
"
|
|
458
|
+
"date": {
|
|
266
459
|
"type": "string"
|
|
267
|
-
},
|
|
268
|
-
"attribute": {
|
|
269
|
-
"$ref": "#/definitions/IAttribute"
|
|
270
460
|
}
|
|
271
461
|
},
|
|
272
462
|
"required": [
|
|
273
|
-
"
|
|
274
|
-
"attribute"
|
|
463
|
+
"date"
|
|
275
464
|
],
|
|
276
465
|
"additionalProperties": false
|
|
277
466
|
},
|
|
278
|
-
"
|
|
467
|
+
"IAbstractAttributeValue": {
|
|
468
|
+
"type": "object",
|
|
469
|
+
"additionalProperties": false,
|
|
470
|
+
"properties": {}
|
|
471
|
+
},
|
|
472
|
+
"IRelationshipAttribute": {
|
|
279
473
|
"type": "object",
|
|
280
474
|
"properties": {
|
|
281
|
-
"
|
|
282
|
-
"
|
|
475
|
+
"owner": {
|
|
476
|
+
"$ref": "#/definitions/ICoreAddress"
|
|
283
477
|
},
|
|
284
|
-
"value": {},
|
|
285
478
|
"validFrom": {
|
|
286
479
|
"$ref": "#/definitions/ICoreDate"
|
|
287
480
|
},
|
|
288
481
|
"validTo": {
|
|
289
482
|
"$ref": "#/definitions/ICoreDate"
|
|
483
|
+
},
|
|
484
|
+
"value": {
|
|
485
|
+
"$ref": "#/definitions/IAbstractAttributeValue"
|
|
486
|
+
},
|
|
487
|
+
"key": {
|
|
488
|
+
"type": "string"
|
|
489
|
+
},
|
|
490
|
+
"isTechnical": {
|
|
491
|
+
"type": "boolean"
|
|
492
|
+
},
|
|
493
|
+
"confidentiality": {
|
|
494
|
+
"$ref": "#/definitions/RelationshipAttributeConfidentiality"
|
|
290
495
|
}
|
|
291
496
|
},
|
|
292
497
|
"required": [
|
|
293
|
-
"
|
|
498
|
+
"confidentiality",
|
|
499
|
+
"key",
|
|
500
|
+
"owner",
|
|
294
501
|
"value"
|
|
295
502
|
],
|
|
296
503
|
"additionalProperties": false
|
|
297
504
|
},
|
|
298
|
-
"
|
|
505
|
+
"RelationshipAttributeConfidentiality": {
|
|
506
|
+
"type": "string",
|
|
507
|
+
"enum": [
|
|
508
|
+
"public",
|
|
509
|
+
"private",
|
|
510
|
+
"protected"
|
|
511
|
+
]
|
|
512
|
+
},
|
|
513
|
+
"ICoreId": {
|
|
299
514
|
"type": "object",
|
|
300
515
|
"properties": {
|
|
301
|
-
"
|
|
516
|
+
"id": {
|
|
302
517
|
"type": "string"
|
|
303
518
|
}
|
|
304
519
|
},
|
|
305
520
|
"required": [
|
|
306
|
-
"
|
|
521
|
+
"id"
|
|
307
522
|
],
|
|
308
523
|
"additionalProperties": false
|
|
309
524
|
}
|
|
310
525
|
}
|
|
311
526
|
};
|
|
312
|
-
exports.
|
|
527
|
+
exports.UpdateAttributeRequest = {
|
|
313
528
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
314
|
-
"$ref": "#/definitions/
|
|
529
|
+
"$ref": "#/definitions/UpdateAttributeRequest",
|
|
315
530
|
"definitions": {
|
|
316
|
-
"
|
|
531
|
+
"UpdateAttributeRequest": {
|
|
317
532
|
"type": "object",
|
|
318
533
|
"properties": {
|
|
319
|
-
"
|
|
320
|
-
|
|
321
|
-
"type": "string"
|
|
534
|
+
"params": {
|
|
535
|
+
"$ref": "#/definitions/UpdateConsumptionAttributeParams"
|
|
322
536
|
}
|
|
323
537
|
},
|
|
324
538
|
"required": [
|
|
325
|
-
"
|
|
539
|
+
"params"
|
|
326
540
|
],
|
|
327
541
|
"additionalProperties": false
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
};
|
|
331
|
-
exports.DeleteDraftRequest = {
|
|
332
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
333
|
-
"$ref": "#/definitions/DeleteDraftRequest",
|
|
334
|
-
"definitions": {
|
|
335
|
-
"DeleteDraftRequest": {
|
|
542
|
+
},
|
|
543
|
+
"UpdateConsumptionAttributeParams": {
|
|
336
544
|
"type": "object",
|
|
337
545
|
"properties": {
|
|
338
546
|
"id": {
|
|
339
|
-
"
|
|
547
|
+
"$ref": "#/definitions/CoreId"
|
|
548
|
+
},
|
|
549
|
+
"content": {
|
|
550
|
+
"anyOf": [
|
|
551
|
+
{
|
|
552
|
+
"$ref": "#/definitions/IdentityAttribute"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"$ref": "#/definitions/RelationshipAttribute"
|
|
556
|
+
}
|
|
557
|
+
]
|
|
340
558
|
}
|
|
341
559
|
},
|
|
342
560
|
"required": [
|
|
561
|
+
"content",
|
|
343
562
|
"id"
|
|
344
563
|
],
|
|
345
564
|
"additionalProperties": false
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
565
|
+
},
|
|
566
|
+
"CoreId": {
|
|
567
|
+
"type": "object",
|
|
568
|
+
"properties": {
|
|
569
|
+
"id": {
|
|
570
|
+
"type": "string"
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
"required": [
|
|
574
|
+
"id"
|
|
575
|
+
],
|
|
576
|
+
"additionalProperties": false,
|
|
577
|
+
"description": "A CoreId is any kind of identifier we have in the system."
|
|
578
|
+
},
|
|
579
|
+
"IdentityAttribute": {
|
|
580
|
+
"type": "object",
|
|
581
|
+
"properties": {
|
|
582
|
+
"owner": {
|
|
583
|
+
"$ref": "#/definitions/CoreAddress"
|
|
584
|
+
},
|
|
585
|
+
"validFrom": {
|
|
586
|
+
"$ref": "#/definitions/CoreDate"
|
|
587
|
+
},
|
|
588
|
+
"validTo": {
|
|
589
|
+
"$ref": "#/definitions/CoreDate"
|
|
590
|
+
},
|
|
591
|
+
"value": {
|
|
592
|
+
"$ref": "#/definitions/AbstractAttributeValue"
|
|
593
|
+
},
|
|
594
|
+
"tags": {
|
|
595
|
+
"type": "array",
|
|
596
|
+
"items": {
|
|
597
|
+
"type": "string"
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
"required": [
|
|
602
|
+
"owner",
|
|
603
|
+
"value"
|
|
604
|
+
],
|
|
605
|
+
"additionalProperties": false
|
|
606
|
+
},
|
|
607
|
+
"CoreAddress": {
|
|
608
|
+
"type": "object",
|
|
609
|
+
"properties": {
|
|
610
|
+
"address": {
|
|
611
|
+
"type": "string"
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
"required": [
|
|
615
|
+
"address"
|
|
616
|
+
],
|
|
617
|
+
"additionalProperties": false,
|
|
618
|
+
"description": "A CoreAddress is the primariy technical identitier of an account."
|
|
619
|
+
},
|
|
620
|
+
"CoreDate": {
|
|
621
|
+
"type": "object",
|
|
622
|
+
"additionalProperties": false,
|
|
623
|
+
"properties": {}
|
|
624
|
+
},
|
|
625
|
+
"AbstractAttributeValue": {
|
|
626
|
+
"type": "object",
|
|
627
|
+
"additionalProperties": false,
|
|
628
|
+
"properties": {}
|
|
629
|
+
},
|
|
630
|
+
"RelationshipAttribute": {
|
|
631
|
+
"type": "object",
|
|
632
|
+
"properties": {
|
|
633
|
+
"owner": {
|
|
634
|
+
"$ref": "#/definitions/CoreAddress"
|
|
635
|
+
},
|
|
636
|
+
"validFrom": {
|
|
637
|
+
"$ref": "#/definitions/CoreDate"
|
|
638
|
+
},
|
|
639
|
+
"validTo": {
|
|
640
|
+
"$ref": "#/definitions/CoreDate"
|
|
641
|
+
},
|
|
642
|
+
"value": {
|
|
643
|
+
"$ref": "#/definitions/AbstractAttributeValue"
|
|
644
|
+
},
|
|
645
|
+
"key": {
|
|
646
|
+
"type": "string"
|
|
647
|
+
},
|
|
648
|
+
"isTechnical": {
|
|
649
|
+
"type": "boolean"
|
|
650
|
+
},
|
|
651
|
+
"confidentiality": {
|
|
652
|
+
"$ref": "#/definitions/RelationshipAttributeConfidentiality"
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
"required": [
|
|
656
|
+
"confidentiality",
|
|
657
|
+
"isTechnical",
|
|
658
|
+
"key",
|
|
659
|
+
"owner",
|
|
660
|
+
"value"
|
|
661
|
+
],
|
|
662
|
+
"additionalProperties": false
|
|
663
|
+
},
|
|
664
|
+
"RelationshipAttributeConfidentiality": {
|
|
665
|
+
"type": "string",
|
|
666
|
+
"enum": [
|
|
667
|
+
"public",
|
|
668
|
+
"private",
|
|
669
|
+
"protected"
|
|
670
|
+
]
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
};
|
|
674
|
+
exports.CreateDraftRequest = {
|
|
675
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
676
|
+
"$ref": "#/definitions/CreateDraftRequest",
|
|
677
|
+
"definitions": {
|
|
678
|
+
"CreateDraftRequest": {
|
|
679
|
+
"type": "object",
|
|
680
|
+
"properties": {
|
|
681
|
+
"content": {},
|
|
682
|
+
"type": {
|
|
683
|
+
"type": "string"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
"required": [
|
|
687
|
+
"content"
|
|
688
|
+
],
|
|
689
|
+
"additionalProperties": false
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
};
|
|
693
|
+
exports.DeleteDraftRequest = {
|
|
694
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
695
|
+
"$ref": "#/definitions/DeleteDraftRequest",
|
|
696
|
+
"definitions": {
|
|
697
|
+
"DeleteDraftRequest": {
|
|
698
|
+
"type": "object",
|
|
699
|
+
"properties": {
|
|
700
|
+
"id": {
|
|
701
|
+
"type": "string"
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
"required": [
|
|
705
|
+
"id"
|
|
706
|
+
],
|
|
707
|
+
"additionalProperties": false
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
};
|
|
711
|
+
exports.GetDraftRequest = {
|
|
712
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
351
713
|
"$ref": "#/definitions/GetDraftRequest",
|
|
352
714
|
"definitions": {
|
|
353
|
-
"GetDraftRequest": {
|
|
715
|
+
"GetDraftRequest": {
|
|
716
|
+
"type": "object",
|
|
717
|
+
"properties": {
|
|
718
|
+
"id": {
|
|
719
|
+
"type": "string"
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
"required": [
|
|
723
|
+
"id"
|
|
724
|
+
],
|
|
725
|
+
"additionalProperties": false
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
};
|
|
729
|
+
exports.GetDraftsRequest = {
|
|
730
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
731
|
+
"$ref": "#/definitions/GetDraftsRequest",
|
|
732
|
+
"definitions": {
|
|
733
|
+
"GetDraftsRequest": {
|
|
734
|
+
"type": "object",
|
|
735
|
+
"properties": {
|
|
736
|
+
"query": {}
|
|
737
|
+
},
|
|
738
|
+
"additionalProperties": false
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
};
|
|
742
|
+
exports.UpdateDraftRequest = {
|
|
743
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
744
|
+
"$ref": "#/definitions/UpdateDraftRequest",
|
|
745
|
+
"definitions": {
|
|
746
|
+
"UpdateDraftRequest": {
|
|
747
|
+
"type": "object",
|
|
748
|
+
"properties": {
|
|
749
|
+
"id": {
|
|
750
|
+
"type": "string"
|
|
751
|
+
},
|
|
752
|
+
"content": {}
|
|
753
|
+
},
|
|
754
|
+
"required": [
|
|
755
|
+
"id",
|
|
756
|
+
"content"
|
|
757
|
+
],
|
|
758
|
+
"additionalProperties": false
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
};
|
|
762
|
+
exports.AcceptIncomingRequestRequest = {
|
|
763
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
764
|
+
"$ref": "#/definitions/AcceptIncomingRequestRequest",
|
|
765
|
+
"definitions": {
|
|
766
|
+
"AcceptIncomingRequestRequest": {
|
|
767
|
+
"type": "object",
|
|
768
|
+
"additionalProperties": false,
|
|
769
|
+
"properties": {
|
|
770
|
+
"requestId": {
|
|
771
|
+
"type": "string"
|
|
772
|
+
},
|
|
773
|
+
"items": {
|
|
774
|
+
"type": "array",
|
|
775
|
+
"items": {
|
|
776
|
+
"anyOf": [
|
|
777
|
+
{
|
|
778
|
+
"$ref": "#/definitions/DecideRequestItemParametersJSON"
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"$ref": "#/definitions/DecideRequestItemGroupParametersJSON"
|
|
782
|
+
}
|
|
783
|
+
]
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
"required": [
|
|
788
|
+
"items",
|
|
789
|
+
"requestId"
|
|
790
|
+
]
|
|
791
|
+
},
|
|
792
|
+
"DecideRequestItemParametersJSON": {
|
|
793
|
+
"anyOf": [
|
|
794
|
+
{
|
|
795
|
+
"$ref": "#/definitions/AcceptRequestItemParametersJSON"
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"$ref": "#/definitions/RejectRequestItemParametersJSON"
|
|
799
|
+
}
|
|
800
|
+
]
|
|
801
|
+
},
|
|
802
|
+
"AcceptRequestItemParametersJSON": {
|
|
803
|
+
"type": "object",
|
|
804
|
+
"properties": {
|
|
805
|
+
"accept": {
|
|
806
|
+
"type": "boolean",
|
|
807
|
+
"const": true
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
"required": [
|
|
811
|
+
"accept"
|
|
812
|
+
],
|
|
813
|
+
"additionalProperties": false
|
|
814
|
+
},
|
|
815
|
+
"RejectRequestItemParametersJSON": {
|
|
816
|
+
"type": "object",
|
|
817
|
+
"properties": {
|
|
818
|
+
"accept": {
|
|
819
|
+
"type": "boolean",
|
|
820
|
+
"const": false
|
|
821
|
+
},
|
|
822
|
+
"code": {
|
|
823
|
+
"type": "string"
|
|
824
|
+
},
|
|
825
|
+
"message": {
|
|
826
|
+
"type": "string"
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
"required": [
|
|
830
|
+
"accept"
|
|
831
|
+
],
|
|
832
|
+
"additionalProperties": false
|
|
833
|
+
},
|
|
834
|
+
"DecideRequestItemGroupParametersJSON": {
|
|
835
|
+
"type": "object",
|
|
836
|
+
"properties": {
|
|
837
|
+
"items": {
|
|
838
|
+
"type": "array",
|
|
839
|
+
"items": {
|
|
840
|
+
"$ref": "#/definitions/DecideRequestItemParametersJSON"
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
"required": [
|
|
845
|
+
"items"
|
|
846
|
+
],
|
|
847
|
+
"additionalProperties": false
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
};
|
|
851
|
+
exports.CreateOutgoingRequestRequest = {
|
|
852
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
853
|
+
"$ref": "#/definitions/CreateOutgoingRequestRequest",
|
|
854
|
+
"definitions": {
|
|
855
|
+
"CreateOutgoingRequestRequest": {
|
|
856
|
+
"type": "object",
|
|
857
|
+
"properties": {
|
|
858
|
+
"content": {
|
|
859
|
+
"type": "object",
|
|
860
|
+
"properties": {
|
|
861
|
+
"expiresAt": {
|
|
862
|
+
"anyOf": [
|
|
863
|
+
{
|
|
864
|
+
"type": "string",
|
|
865
|
+
"description": "The point in time the request is considered obsolete either technically (e.g. the request is no longer valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer of interest).",
|
|
866
|
+
"default": "undefined - the request won't expire"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"$ref": "#/definitions/ICoreDate",
|
|
870
|
+
"description": "The point in time the request is considered obsolete either technically (e.g. the request is no longer valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer of interest).",
|
|
871
|
+
"default": "undefined - the request won't expire"
|
|
872
|
+
}
|
|
873
|
+
],
|
|
874
|
+
"description": "The point in time the request is considered obsolete either technically (e.g. the request is no longer valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer of interest).",
|
|
875
|
+
"default": "undefined - the request won't expire"
|
|
876
|
+
},
|
|
877
|
+
"items": {
|
|
878
|
+
"anyOf": [
|
|
879
|
+
{
|
|
880
|
+
"type": "array",
|
|
881
|
+
"items": {
|
|
882
|
+
"anyOf": [
|
|
883
|
+
{
|
|
884
|
+
"$ref": "#/definitions/RequestItemGroupJSON"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"$ref": "#/definitions/RequestItemJSON"
|
|
888
|
+
}
|
|
889
|
+
]
|
|
890
|
+
},
|
|
891
|
+
"description": "The items of the Request. Can be either a single {@link RequestItemJSON RequestItem } or a {@link RequestItemGroupJSON RequestItemGroup } , which itself can contain further {@link RequestItemJSON RequestItems } ."
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"type": "array",
|
|
895
|
+
"items": {
|
|
896
|
+
"anyOf": [
|
|
897
|
+
{
|
|
898
|
+
"$ref": "#/definitions/IRequestItemGroup"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"$ref": "#/definitions/IRequestItem"
|
|
902
|
+
}
|
|
903
|
+
]
|
|
904
|
+
},
|
|
905
|
+
"description": "The items of the Request. Can be either a single {@link RequestItem RequestItem } or a {@link RequestItemGroup RequestItemGroup } , which itself can contain further {@link RequestItem RequestItems } ."
|
|
906
|
+
}
|
|
907
|
+
],
|
|
908
|
+
"description": "The items of the Request. Can be either a single {@link RequestItemJSON RequestItem } or a {@link RequestItemGroupJSON RequestItemGroup } , which itself can contain further {@link RequestItemJSON RequestItems } ."
|
|
909
|
+
},
|
|
910
|
+
"responseMetadata": {
|
|
911
|
+
"anyOf": [
|
|
912
|
+
{
|
|
913
|
+
"type": "object",
|
|
914
|
+
"description": "This property can be used to add some arbitrary metadata to this request. The content of this property will be copied into the response on the side of the recipient."
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"type": "object",
|
|
918
|
+
"description": "This property can be used to add some arbitrary metadata to this request. The content of this property will be copied into the response on the side of the recipient."
|
|
919
|
+
}
|
|
920
|
+
],
|
|
921
|
+
"description": "This property can be used to add some arbitrary metadata to this request. The content of this property will be copied into the response on the side of the recipient."
|
|
922
|
+
},
|
|
923
|
+
"@context": {
|
|
924
|
+
"type": "string"
|
|
925
|
+
}
|
|
926
|
+
},
|
|
927
|
+
"required": [
|
|
928
|
+
"items"
|
|
929
|
+
],
|
|
930
|
+
"additionalProperties": false
|
|
931
|
+
},
|
|
932
|
+
"peer": {
|
|
933
|
+
"type": "string",
|
|
934
|
+
"pattern": "id1[A-Za-z0-9]{32,33}"
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"required": [
|
|
938
|
+
"content",
|
|
939
|
+
"peer"
|
|
940
|
+
],
|
|
941
|
+
"additionalProperties": false
|
|
942
|
+
},
|
|
943
|
+
"ICoreDate": {
|
|
944
|
+
"type": "object",
|
|
945
|
+
"properties": {
|
|
946
|
+
"date": {
|
|
947
|
+
"type": "string"
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
"required": [
|
|
951
|
+
"date"
|
|
952
|
+
],
|
|
953
|
+
"additionalProperties": false
|
|
954
|
+
},
|
|
955
|
+
"RequestItemGroupJSON": {
|
|
956
|
+
"type": "object",
|
|
957
|
+
"properties": {
|
|
958
|
+
"@type": {
|
|
959
|
+
"type": "string"
|
|
960
|
+
},
|
|
961
|
+
"@context": {
|
|
962
|
+
"type": "string"
|
|
963
|
+
},
|
|
964
|
+
"@version": {
|
|
965
|
+
"type": "string"
|
|
966
|
+
},
|
|
967
|
+
"title": {
|
|
968
|
+
"type": "string",
|
|
969
|
+
"description": "The human-readable title of this group."
|
|
970
|
+
},
|
|
971
|
+
"description": {
|
|
972
|
+
"type": "string",
|
|
973
|
+
"description": "The human-readable description of this group."
|
|
974
|
+
},
|
|
975
|
+
"mustBeAccepted": {
|
|
976
|
+
"type": "boolean",
|
|
977
|
+
"description": "If set to `true`, the recipient has to accept this group if he wants to accept the Request. If set to `false`, the recipient can decide whether he wants to accept it or not."
|
|
978
|
+
},
|
|
979
|
+
"responseMetadata": {
|
|
980
|
+
"type": "object",
|
|
981
|
+
"description": "This property can be used to add some arbitrary metadata to this group. 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 group content as they receive the response."
|
|
982
|
+
},
|
|
983
|
+
"items": {
|
|
984
|
+
"type": "array",
|
|
985
|
+
"items": {
|
|
986
|
+
"$ref": "#/definitions/RequestItemJSON"
|
|
987
|
+
},
|
|
988
|
+
"description": "The items of this group."
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
"required": [
|
|
992
|
+
"@type",
|
|
993
|
+
"items",
|
|
994
|
+
"mustBeAccepted"
|
|
995
|
+
],
|
|
996
|
+
"additionalProperties": false,
|
|
997
|
+
"description": "A RequestItemGroup can be used to group one or more {@link RequestItemJSON RequestItems } . This is useful if you want to\n* make sure that the items in the group can only be accepted together\n\n Example: when sending a `CreateAttributeRequestItem` **and** a `ShareAttributeRequestItem` in a single Request where the latter one targets an attribute created by the first one, it it should be impossible to reject the first item, while accepting the second one.\n* visually group items on the UI and give the a common title/description"
|
|
998
|
+
},
|
|
999
|
+
"RequestItemJSON": {
|
|
1000
|
+
"type": "object",
|
|
1001
|
+
"properties": {
|
|
1002
|
+
"@type": {
|
|
1003
|
+
"type": "string"
|
|
1004
|
+
},
|
|
1005
|
+
"@context": {
|
|
1006
|
+
"type": "string"
|
|
1007
|
+
},
|
|
1008
|
+
"@version": {
|
|
1009
|
+
"type": "string"
|
|
1010
|
+
},
|
|
1011
|
+
"title": {
|
|
1012
|
+
"type": "string",
|
|
1013
|
+
"description": "The human-readable title of this item."
|
|
1014
|
+
},
|
|
1015
|
+
"description": {
|
|
1016
|
+
"type": "string",
|
|
1017
|
+
"description": "The human-readable description of this item."
|
|
1018
|
+
},
|
|
1019
|
+
"responseMetadata": {
|
|
1020
|
+
"type": "object",
|
|
1021
|
+
"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 group content as they receive the response."
|
|
1022
|
+
},
|
|
1023
|
+
"mustBeAccepted": {
|
|
1024
|
+
"type": "boolean",
|
|
1025
|
+
"description": "If set to `true`, the recipient has to accept this group if he wants to accept the Request. If set to `false`, the recipient can decide whether he wants to accept it or not.\n\nCaution: this setting does not take effect in case it is inside of a\n {@link RequestItemGroupJSON RequestItemGroup } , which is not accepted by the recipient, since a {@link RequestItemJSON RequestItem } can only be accepted if the parent group is accepted as well."
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
1028
|
+
"required": [
|
|
1029
|
+
"@type",
|
|
1030
|
+
"mustBeAccepted"
|
|
1031
|
+
],
|
|
1032
|
+
"additionalProperties": false
|
|
1033
|
+
},
|
|
1034
|
+
"IRequestItemGroup": {
|
|
1035
|
+
"type": "object",
|
|
1036
|
+
"properties": {
|
|
1037
|
+
"title": {
|
|
1038
|
+
"type": "string",
|
|
1039
|
+
"description": "The human-readable title of this group."
|
|
1040
|
+
},
|
|
1041
|
+
"description": {
|
|
1042
|
+
"type": "string",
|
|
1043
|
+
"description": "The human-readable description of this group."
|
|
1044
|
+
},
|
|
1045
|
+
"mustBeAccepted": {
|
|
1046
|
+
"type": "boolean",
|
|
1047
|
+
"description": "If set to `true`, the recipient has to accept this group if he wants to accept the Request. If set to `false`, the recipient can decide whether he wants to accept it or not."
|
|
1048
|
+
},
|
|
1049
|
+
"responseMetadata": {
|
|
1050
|
+
"type": "object",
|
|
1051
|
+
"description": "This property can be used to add some arbitrary metadata to this group. 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 group content as they receive the response."
|
|
1052
|
+
},
|
|
1053
|
+
"items": {
|
|
1054
|
+
"type": "array",
|
|
1055
|
+
"items": {
|
|
1056
|
+
"$ref": "#/definitions/IRequestItem"
|
|
1057
|
+
},
|
|
1058
|
+
"description": "The items of this group."
|
|
1059
|
+
}
|
|
1060
|
+
},
|
|
1061
|
+
"required": [
|
|
1062
|
+
"mustBeAccepted",
|
|
1063
|
+
"items"
|
|
1064
|
+
],
|
|
1065
|
+
"additionalProperties": false,
|
|
1066
|
+
"description": "A RequestItemGroup can be used to group one or more {@link RequestItem RequestItems } . This is useful if you want to\n* make sure that the items in the group can only be accepted together\n\n Example: when sending a `CreateAttributeRequestItem` **and** a `ShareAttributeRequestItem` in a single Request where the latter one targets an attribute created by the first one, it it should be impossible to reject the first item, while accepting the second one.\n* visually group items on the UI and give the a common title/description"
|
|
1067
|
+
},
|
|
1068
|
+
"IRequestItem": {
|
|
1069
|
+
"type": "object",
|
|
1070
|
+
"properties": {
|
|
1071
|
+
"title": {
|
|
1072
|
+
"type": "string",
|
|
1073
|
+
"description": "The human-readable title of this item."
|
|
1074
|
+
},
|
|
1075
|
+
"description": {
|
|
1076
|
+
"type": "string",
|
|
1077
|
+
"description": "The human-readable description of this item."
|
|
1078
|
+
},
|
|
1079
|
+
"responseMetadata": {
|
|
1080
|
+
"type": "object",
|
|
1081
|
+
"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 group content as they receive the response."
|
|
1082
|
+
},
|
|
1083
|
+
"mustBeAccepted": {
|
|
1084
|
+
"type": "boolean",
|
|
1085
|
+
"description": "If set to `true`, the recipient has to accept this group if he wants to accept the Request. If set to `false`, the recipient can decide whether he wants to accept it or not.\n\nCaution: this setting does not take effect in case it is inside of a\n {@link RequestItemGroup RequestItemGroup } , which is not accepted by the recipient, since a {@link RequestItem RequestItem } can only be accepted if the parent group is accepted as well."
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
"required": [
|
|
1089
|
+
"mustBeAccepted"
|
|
1090
|
+
],
|
|
1091
|
+
"additionalProperties": false
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
};
|
|
1095
|
+
exports.RejectIncomingRequestRequest = {
|
|
1096
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1097
|
+
"$ref": "#/definitions/RejectIncomingRequestRequest",
|
|
1098
|
+
"definitions": {
|
|
1099
|
+
"RejectIncomingRequestRequest": {
|
|
354
1100
|
"type": "object",
|
|
1101
|
+
"additionalProperties": false,
|
|
355
1102
|
"properties": {
|
|
356
|
-
"
|
|
1103
|
+
"requestId": {
|
|
357
1104
|
"type": "string"
|
|
1105
|
+
},
|
|
1106
|
+
"items": {
|
|
1107
|
+
"type": "array",
|
|
1108
|
+
"items": {
|
|
1109
|
+
"anyOf": [
|
|
1110
|
+
{
|
|
1111
|
+
"$ref": "#/definitions/DecideRequestItemParametersJSON"
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"$ref": "#/definitions/DecideRequestItemGroupParametersJSON"
|
|
1115
|
+
}
|
|
1116
|
+
]
|
|
1117
|
+
}
|
|
358
1118
|
}
|
|
359
1119
|
},
|
|
360
1120
|
"required": [
|
|
361
|
-
"
|
|
1121
|
+
"items",
|
|
1122
|
+
"requestId"
|
|
1123
|
+
]
|
|
1124
|
+
},
|
|
1125
|
+
"DecideRequestItemParametersJSON": {
|
|
1126
|
+
"anyOf": [
|
|
1127
|
+
{
|
|
1128
|
+
"$ref": "#/definitions/AcceptRequestItemParametersJSON"
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"$ref": "#/definitions/RejectRequestItemParametersJSON"
|
|
1132
|
+
}
|
|
1133
|
+
]
|
|
1134
|
+
},
|
|
1135
|
+
"AcceptRequestItemParametersJSON": {
|
|
1136
|
+
"type": "object",
|
|
1137
|
+
"properties": {
|
|
1138
|
+
"accept": {
|
|
1139
|
+
"type": "boolean",
|
|
1140
|
+
"const": true
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
"required": [
|
|
1144
|
+
"accept"
|
|
1145
|
+
],
|
|
1146
|
+
"additionalProperties": false
|
|
1147
|
+
},
|
|
1148
|
+
"RejectRequestItemParametersJSON": {
|
|
1149
|
+
"type": "object",
|
|
1150
|
+
"properties": {
|
|
1151
|
+
"accept": {
|
|
1152
|
+
"type": "boolean",
|
|
1153
|
+
"const": false
|
|
1154
|
+
},
|
|
1155
|
+
"code": {
|
|
1156
|
+
"type": "string"
|
|
1157
|
+
},
|
|
1158
|
+
"message": {
|
|
1159
|
+
"type": "string"
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
"required": [
|
|
1163
|
+
"accept"
|
|
1164
|
+
],
|
|
1165
|
+
"additionalProperties": false
|
|
1166
|
+
},
|
|
1167
|
+
"DecideRequestItemGroupParametersJSON": {
|
|
1168
|
+
"type": "object",
|
|
1169
|
+
"properties": {
|
|
1170
|
+
"items": {
|
|
1171
|
+
"type": "array",
|
|
1172
|
+
"items": {
|
|
1173
|
+
"$ref": "#/definitions/DecideRequestItemParametersJSON"
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
},
|
|
1177
|
+
"required": [
|
|
1178
|
+
"items"
|
|
362
1179
|
],
|
|
363
1180
|
"additionalProperties": false
|
|
364
1181
|
}
|
|
365
1182
|
}
|
|
366
1183
|
};
|
|
367
|
-
exports.
|
|
1184
|
+
exports.CheckPrerequisitesOfIncomingRequestRequest = {
|
|
368
1185
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
369
|
-
"$ref": "#/definitions/
|
|
1186
|
+
"$ref": "#/definitions/CheckPrerequisitesOfIncomingRequestRequest",
|
|
370
1187
|
"definitions": {
|
|
371
|
-
"
|
|
1188
|
+
"CheckPrerequisitesOfIncomingRequestRequest": {
|
|
372
1189
|
"type": "object",
|
|
373
1190
|
"properties": {
|
|
374
|
-
"
|
|
1191
|
+
"requestId": {
|
|
1192
|
+
"type": "string",
|
|
1193
|
+
"pattern": "REQ[A-Za-z0-9]{14}"
|
|
1194
|
+
}
|
|
375
1195
|
},
|
|
1196
|
+
"required": [
|
|
1197
|
+
"requestId"
|
|
1198
|
+
],
|
|
376
1199
|
"additionalProperties": false
|
|
377
1200
|
}
|
|
378
1201
|
}
|
|
379
1202
|
};
|
|
380
|
-
exports.
|
|
1203
|
+
exports.CompleteIncomingRequestRequest = {
|
|
381
1204
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
382
|
-
"$ref": "#/definitions/
|
|
1205
|
+
"$ref": "#/definitions/CompleteIncomingRequestRequest",
|
|
383
1206
|
"definitions": {
|
|
384
|
-
"
|
|
1207
|
+
"CompleteIncomingRequestRequest": {
|
|
385
1208
|
"type": "object",
|
|
386
1209
|
"properties": {
|
|
387
|
-
"
|
|
388
|
-
"type": "string"
|
|
1210
|
+
"requestId": {
|
|
1211
|
+
"type": "string",
|
|
1212
|
+
"pattern": "REQ[A-Za-z0-9]{14}"
|
|
389
1213
|
},
|
|
390
|
-
"
|
|
1214
|
+
"responseSourceId": {
|
|
1215
|
+
"type": "string",
|
|
1216
|
+
"pattern": "(MSG|RCH)[A-Za-z0-9]{17}"
|
|
1217
|
+
}
|
|
391
1218
|
},
|
|
392
1219
|
"required": [
|
|
393
|
-
"
|
|
394
|
-
"
|
|
1220
|
+
"requestId",
|
|
1221
|
+
"responseSourceId"
|
|
395
1222
|
],
|
|
396
1223
|
"additionalProperties": false
|
|
397
1224
|
}
|
|
398
1225
|
}
|
|
399
1226
|
};
|
|
400
|
-
exports.
|
|
1227
|
+
exports.CompleteOutgoingRequestRequest = {
|
|
401
1228
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
402
|
-
"$ref": "#/definitions/
|
|
1229
|
+
"$ref": "#/definitions/CompleteOutgoingRequestRequest",
|
|
403
1230
|
"definitions": {
|
|
404
|
-
"
|
|
1231
|
+
"CompleteOutgoingRequestRequest": {
|
|
405
1232
|
"type": "object",
|
|
406
1233
|
"properties": {
|
|
407
|
-
"
|
|
408
|
-
"type": "string"
|
|
409
|
-
|
|
410
|
-
"attributes": {
|
|
411
|
-
"type": "array",
|
|
412
|
-
"items": {
|
|
413
|
-
"$ref": "#/definitions/RelationshipAttributeDTO"
|
|
414
|
-
}
|
|
1234
|
+
"requestId": {
|
|
1235
|
+
"type": "string",
|
|
1236
|
+
"pattern": "REQ[A-Za-z0-9]{14}"
|
|
415
1237
|
},
|
|
416
|
-
"
|
|
417
|
-
"
|
|
1238
|
+
"receivedResponse": {
|
|
1239
|
+
"$ref": "#/definitions/ResponseJSON"
|
|
418
1240
|
},
|
|
419
|
-
"
|
|
1241
|
+
"messageId": {
|
|
1242
|
+
"type": "string",
|
|
1243
|
+
"pattern": "MSG[A-Za-z0-9]{17}"
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"required": [
|
|
1247
|
+
"requestId",
|
|
1248
|
+
"receivedResponse",
|
|
1249
|
+
"messageId"
|
|
1250
|
+
],
|
|
1251
|
+
"additionalProperties": false
|
|
1252
|
+
},
|
|
1253
|
+
"ResponseJSON": {
|
|
1254
|
+
"type": "object",
|
|
1255
|
+
"properties": {
|
|
1256
|
+
"@type": {
|
|
420
1257
|
"type": "string"
|
|
421
1258
|
},
|
|
422
|
-
"
|
|
1259
|
+
"@context": {
|
|
423
1260
|
"type": "string"
|
|
424
1261
|
},
|
|
425
|
-
"
|
|
1262
|
+
"@version": {
|
|
426
1263
|
"type": "string"
|
|
427
1264
|
},
|
|
428
|
-
"
|
|
1265
|
+
"result": {
|
|
1266
|
+
"$ref": "#/definitions/ResponseResult"
|
|
1267
|
+
},
|
|
1268
|
+
"requestId": {
|
|
429
1269
|
"type": "string"
|
|
430
1270
|
},
|
|
431
|
-
"
|
|
432
|
-
"
|
|
1271
|
+
"items": {
|
|
1272
|
+
"type": "array",
|
|
1273
|
+
"items": {
|
|
1274
|
+
"anyOf": [
|
|
1275
|
+
{
|
|
1276
|
+
"$ref": "#/definitions/ResponseItemGroupJSON"
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"$ref": "#/definitions/ResponseItemJSON"
|
|
1280
|
+
}
|
|
1281
|
+
]
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
"metadata": {
|
|
1285
|
+
"type": "object"
|
|
433
1286
|
}
|
|
434
1287
|
},
|
|
435
1288
|
"required": [
|
|
436
|
-
"
|
|
437
|
-
"
|
|
438
|
-
"
|
|
439
|
-
"
|
|
1289
|
+
"@type",
|
|
1290
|
+
"items",
|
|
1291
|
+
"requestId",
|
|
1292
|
+
"result"
|
|
440
1293
|
],
|
|
441
1294
|
"additionalProperties": false
|
|
442
1295
|
},
|
|
443
|
-
"
|
|
1296
|
+
"ResponseResult": {
|
|
1297
|
+
"type": "string",
|
|
1298
|
+
"enum": [
|
|
1299
|
+
"Accepted",
|
|
1300
|
+
"Rejected"
|
|
1301
|
+
]
|
|
1302
|
+
},
|
|
1303
|
+
"ResponseItemGroupJSON": {
|
|
444
1304
|
"type": "object",
|
|
445
1305
|
"properties": {
|
|
446
|
-
"
|
|
1306
|
+
"@type": {
|
|
447
1307
|
"type": "string"
|
|
448
1308
|
},
|
|
449
|
-
"
|
|
450
|
-
"
|
|
1309
|
+
"@context": {
|
|
1310
|
+
"type": "string"
|
|
451
1311
|
},
|
|
452
|
-
"
|
|
1312
|
+
"@version": {
|
|
453
1313
|
"type": "string"
|
|
1314
|
+
},
|
|
1315
|
+
"items": {
|
|
1316
|
+
"type": "array",
|
|
1317
|
+
"items": {
|
|
1318
|
+
"$ref": "#/definitions/ResponseItemJSON"
|
|
1319
|
+
}
|
|
1320
|
+
},
|
|
1321
|
+
"metadata": {
|
|
1322
|
+
"type": "object"
|
|
454
1323
|
}
|
|
455
1324
|
},
|
|
456
1325
|
"required": [
|
|
457
|
-
"
|
|
458
|
-
"
|
|
459
|
-
"sharedItem"
|
|
1326
|
+
"@type",
|
|
1327
|
+
"items"
|
|
460
1328
|
],
|
|
461
1329
|
"additionalProperties": false
|
|
462
1330
|
},
|
|
463
|
-
"
|
|
1331
|
+
"ResponseItemJSON": {
|
|
464
1332
|
"type": "object",
|
|
465
1333
|
"properties": {
|
|
466
1334
|
"@type": {
|
|
467
1335
|
"type": "string"
|
|
468
1336
|
},
|
|
469
|
-
"@
|
|
1337
|
+
"@context": {
|
|
470
1338
|
"type": "string"
|
|
471
1339
|
},
|
|
472
|
-
"
|
|
1340
|
+
"@version": {
|
|
473
1341
|
"type": "string"
|
|
474
1342
|
},
|
|
475
|
-
"
|
|
476
|
-
|
|
477
|
-
"type": "string"
|
|
1343
|
+
"result": {
|
|
1344
|
+
"$ref": "#/definitions/ResponseItemResult"
|
|
478
1345
|
},
|
|
479
|
-
"
|
|
480
|
-
"type": "
|
|
1346
|
+
"metadata": {
|
|
1347
|
+
"type": "object"
|
|
481
1348
|
}
|
|
482
1349
|
},
|
|
483
1350
|
"required": [
|
|
484
1351
|
"@type",
|
|
485
|
-
"
|
|
486
|
-
"value"
|
|
1352
|
+
"result"
|
|
487
1353
|
],
|
|
488
1354
|
"additionalProperties": false
|
|
489
1355
|
},
|
|
490
|
-
"
|
|
1356
|
+
"ResponseItemResult": {
|
|
1357
|
+
"type": "string",
|
|
1358
|
+
"enum": [
|
|
1359
|
+
"Accepted",
|
|
1360
|
+
"Rejected",
|
|
1361
|
+
"Error"
|
|
1362
|
+
]
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
};
|
|
1366
|
+
exports.CreateAndCompleteOutgoingRequestFromRelationshipCreationChangeRequest = {
|
|
1367
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1368
|
+
"$ref": "#/definitions/CreateAndCompleteOutgoingRequestFromRelationshipCreationChangeRequest",
|
|
1369
|
+
"definitions": {
|
|
1370
|
+
"CreateAndCompleteOutgoingRequestFromRelationshipCreationChangeRequest": {
|
|
491
1371
|
"type": "object",
|
|
492
1372
|
"properties": {
|
|
493
|
-
"
|
|
494
|
-
"type": "string"
|
|
495
|
-
|
|
496
|
-
"imageBar": {
|
|
497
|
-
"type": "string"
|
|
498
|
-
},
|
|
499
|
-
"backgroundColor": {
|
|
500
|
-
"type": "string"
|
|
1373
|
+
"templateId": {
|
|
1374
|
+
"type": "string",
|
|
1375
|
+
"pattern": "RLT[A-Za-z0-9]{17}"
|
|
501
1376
|
},
|
|
502
|
-
"
|
|
503
|
-
"type": "string"
|
|
1377
|
+
"relationshipChangeId": {
|
|
1378
|
+
"type": "string",
|
|
1379
|
+
"pattern": "RCH[A-Za-z0-9]{17}"
|
|
504
1380
|
}
|
|
505
1381
|
},
|
|
506
1382
|
"required": [
|
|
507
|
-
"
|
|
508
|
-
"
|
|
509
|
-
"backgroundColor",
|
|
510
|
-
"foregroundColor"
|
|
1383
|
+
"templateId",
|
|
1384
|
+
"relationshipChangeId"
|
|
511
1385
|
],
|
|
512
1386
|
"additionalProperties": false
|
|
513
1387
|
}
|
|
514
1388
|
}
|
|
515
1389
|
};
|
|
516
|
-
exports.
|
|
1390
|
+
exports.GetIncomingRequestRequest = {
|
|
517
1391
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
518
|
-
"$ref": "#/definitions/
|
|
1392
|
+
"$ref": "#/definitions/GetIncomingRequestRequest",
|
|
519
1393
|
"definitions": {
|
|
520
|
-
"
|
|
1394
|
+
"GetIncomingRequestRequest": {
|
|
521
1395
|
"type": "object",
|
|
522
1396
|
"properties": {
|
|
523
1397
|
"id": {
|
|
524
|
-
"type": "string"
|
|
1398
|
+
"type": "string",
|
|
1399
|
+
"pattern": "REQ[A-Za-z0-9]{14}"
|
|
525
1400
|
}
|
|
526
1401
|
},
|
|
527
1402
|
"required": [
|
|
@@ -531,326 +1406,475 @@ exports.DeleteRelationshipInfoRequest = {
|
|
|
531
1406
|
}
|
|
532
1407
|
}
|
|
533
1408
|
};
|
|
534
|
-
exports.
|
|
1409
|
+
exports.GetIncomingRequestsRequest = {
|
|
535
1410
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
536
|
-
"$ref": "#/definitions/
|
|
1411
|
+
"$ref": "#/definitions/GetIncomingRequestsRequest",
|
|
537
1412
|
"definitions": {
|
|
538
|
-
"
|
|
1413
|
+
"GetIncomingRequestsRequest": {
|
|
539
1414
|
"type": "object",
|
|
540
1415
|
"properties": {
|
|
541
|
-
"
|
|
1416
|
+
"query": {
|
|
1417
|
+
"$ref": "#/definitions/GetIncomingRequestsRequestsQuery"
|
|
1418
|
+
}
|
|
1419
|
+
},
|
|
1420
|
+
"additionalProperties": false
|
|
1421
|
+
},
|
|
1422
|
+
"GetIncomingRequestsRequestsQuery": {
|
|
1423
|
+
"type": "object",
|
|
1424
|
+
"properties": {
|
|
1425
|
+
"id": {
|
|
1426
|
+
"type": "string"
|
|
1427
|
+
},
|
|
1428
|
+
"peer": {
|
|
542
1429
|
"type": "string"
|
|
1430
|
+
},
|
|
1431
|
+
"createdAt": {
|
|
1432
|
+
"type": "string"
|
|
1433
|
+
},
|
|
1434
|
+
"status": {
|
|
1435
|
+
"type": "string"
|
|
1436
|
+
},
|
|
1437
|
+
"content": {
|
|
1438
|
+
"type": "object",
|
|
1439
|
+
"properties": {
|
|
1440
|
+
"expiresAt": {
|
|
1441
|
+
"type": "string"
|
|
1442
|
+
},
|
|
1443
|
+
"items": {
|
|
1444
|
+
"type": "object",
|
|
1445
|
+
"properties": {
|
|
1446
|
+
"@type": {
|
|
1447
|
+
"type": "string"
|
|
1448
|
+
}
|
|
1449
|
+
},
|
|
1450
|
+
"additionalProperties": false
|
|
1451
|
+
}
|
|
1452
|
+
},
|
|
1453
|
+
"additionalProperties": false
|
|
1454
|
+
},
|
|
1455
|
+
"source": {
|
|
1456
|
+
"type": "object",
|
|
1457
|
+
"properties": {
|
|
1458
|
+
"type": {
|
|
1459
|
+
"type": "string"
|
|
1460
|
+
},
|
|
1461
|
+
"reference": {
|
|
1462
|
+
"type": "string"
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
"additionalProperties": false
|
|
1466
|
+
},
|
|
1467
|
+
"response": {
|
|
1468
|
+
"type": "object",
|
|
1469
|
+
"properties": {
|
|
1470
|
+
"createdAt": {
|
|
1471
|
+
"type": "string"
|
|
1472
|
+
},
|
|
1473
|
+
"source": {
|
|
1474
|
+
"type": "object",
|
|
1475
|
+
"properties": {
|
|
1476
|
+
"type": {
|
|
1477
|
+
"type": "string"
|
|
1478
|
+
},
|
|
1479
|
+
"reference": {
|
|
1480
|
+
"type": "string"
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
"additionalProperties": false
|
|
1484
|
+
},
|
|
1485
|
+
"content": {
|
|
1486
|
+
"type": "object",
|
|
1487
|
+
"properties": {
|
|
1488
|
+
"result": {
|
|
1489
|
+
"type": "string"
|
|
1490
|
+
},
|
|
1491
|
+
"items": {
|
|
1492
|
+
"type": "object",
|
|
1493
|
+
"properties": {
|
|
1494
|
+
"@type": {
|
|
1495
|
+
"type": "string"
|
|
1496
|
+
},
|
|
1497
|
+
"items": {
|
|
1498
|
+
"type": "object",
|
|
1499
|
+
"properties": {
|
|
1500
|
+
"@type": {
|
|
1501
|
+
"type": "string"
|
|
1502
|
+
}
|
|
1503
|
+
},
|
|
1504
|
+
"additionalProperties": false
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
"additionalProperties": false
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
"additionalProperties": false
|
|
1511
|
+
}
|
|
1512
|
+
},
|
|
1513
|
+
"additionalProperties": false
|
|
1514
|
+
}
|
|
1515
|
+
},
|
|
1516
|
+
"additionalProperties": {}
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
};
|
|
1520
|
+
exports.GetOutgoingRequestRequest = {
|
|
1521
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1522
|
+
"$ref": "#/definitions/GetOutgoingRequestRequest",
|
|
1523
|
+
"definitions": {
|
|
1524
|
+
"GetOutgoingRequestRequest": {
|
|
1525
|
+
"type": "object",
|
|
1526
|
+
"properties": {
|
|
1527
|
+
"id": {
|
|
1528
|
+
"type": "string",
|
|
1529
|
+
"pattern": "REQ[A-Za-z0-9]{14}"
|
|
543
1530
|
}
|
|
544
1531
|
},
|
|
545
1532
|
"required": [
|
|
546
|
-
"
|
|
1533
|
+
"id"
|
|
547
1534
|
],
|
|
548
1535
|
"additionalProperties": false
|
|
549
1536
|
}
|
|
550
1537
|
}
|
|
551
1538
|
};
|
|
552
|
-
exports.
|
|
1539
|
+
exports.GetOutgoingRequestsRequest = {
|
|
553
1540
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
554
|
-
"$ref": "#/definitions/
|
|
1541
|
+
"$ref": "#/definitions/GetOutgoingRequestsRequest",
|
|
555
1542
|
"definitions": {
|
|
556
|
-
"
|
|
1543
|
+
"GetOutgoingRequestsRequest": {
|
|
1544
|
+
"type": "object",
|
|
1545
|
+
"properties": {
|
|
1546
|
+
"query": {
|
|
1547
|
+
"$ref": "#/definitions/GetOutgoingRequestsRequestQuery"
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
"additionalProperties": false
|
|
1551
|
+
},
|
|
1552
|
+
"GetOutgoingRequestsRequestQuery": {
|
|
557
1553
|
"type": "object",
|
|
558
1554
|
"properties": {
|
|
559
1555
|
"id": {
|
|
560
1556
|
"type": "string"
|
|
1557
|
+
},
|
|
1558
|
+
"peer": {
|
|
1559
|
+
"type": "string"
|
|
1560
|
+
},
|
|
1561
|
+
"createdAt": {
|
|
1562
|
+
"type": "string"
|
|
1563
|
+
},
|
|
1564
|
+
"status": {
|
|
1565
|
+
"type": "string"
|
|
1566
|
+
},
|
|
1567
|
+
"content": {
|
|
1568
|
+
"type": "object",
|
|
1569
|
+
"properties": {
|
|
1570
|
+
"expiresAt": {
|
|
1571
|
+
"type": "string"
|
|
1572
|
+
},
|
|
1573
|
+
"items": {
|
|
1574
|
+
"type": "object",
|
|
1575
|
+
"properties": {
|
|
1576
|
+
"@type": {
|
|
1577
|
+
"type": "string"
|
|
1578
|
+
}
|
|
1579
|
+
},
|
|
1580
|
+
"additionalProperties": false
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
"additionalProperties": false
|
|
1584
|
+
},
|
|
1585
|
+
"source": {
|
|
1586
|
+
"type": "object",
|
|
1587
|
+
"properties": {
|
|
1588
|
+
"type": {
|
|
1589
|
+
"type": "string"
|
|
1590
|
+
},
|
|
1591
|
+
"reference": {
|
|
1592
|
+
"type": "string"
|
|
1593
|
+
}
|
|
1594
|
+
},
|
|
1595
|
+
"additionalProperties": false
|
|
1596
|
+
},
|
|
1597
|
+
"response": {
|
|
1598
|
+
"type": "object",
|
|
1599
|
+
"properties": {
|
|
1600
|
+
"createdAt": {
|
|
1601
|
+
"type": "string"
|
|
1602
|
+
},
|
|
1603
|
+
"source": {
|
|
1604
|
+
"type": "object",
|
|
1605
|
+
"properties": {
|
|
1606
|
+
"type": {
|
|
1607
|
+
"type": "string"
|
|
1608
|
+
},
|
|
1609
|
+
"reference": {
|
|
1610
|
+
"type": "string"
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1613
|
+
"additionalProperties": false
|
|
1614
|
+
},
|
|
1615
|
+
"content": {
|
|
1616
|
+
"type": "object",
|
|
1617
|
+
"properties": {
|
|
1618
|
+
"result": {
|
|
1619
|
+
"type": "string"
|
|
1620
|
+
},
|
|
1621
|
+
"items": {
|
|
1622
|
+
"type": "object",
|
|
1623
|
+
"properties": {
|
|
1624
|
+
"@type": {
|
|
1625
|
+
"type": "string"
|
|
1626
|
+
},
|
|
1627
|
+
"items": {
|
|
1628
|
+
"type": "object",
|
|
1629
|
+
"properties": {
|
|
1630
|
+
"@type": {
|
|
1631
|
+
"type": "string"
|
|
1632
|
+
}
|
|
1633
|
+
},
|
|
1634
|
+
"additionalProperties": false
|
|
1635
|
+
}
|
|
1636
|
+
},
|
|
1637
|
+
"additionalProperties": false
|
|
1638
|
+
}
|
|
1639
|
+
},
|
|
1640
|
+
"additionalProperties": false
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1643
|
+
"additionalProperties": false
|
|
561
1644
|
}
|
|
562
1645
|
},
|
|
563
|
-
"
|
|
564
|
-
"id"
|
|
565
|
-
],
|
|
566
|
-
"additionalProperties": false
|
|
1646
|
+
"additionalProperties": {}
|
|
567
1647
|
}
|
|
568
1648
|
}
|
|
569
1649
|
};
|
|
570
|
-
exports.
|
|
1650
|
+
exports.ReceivedIncomingRequestRequest = {
|
|
571
1651
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
572
|
-
"$ref": "#/definitions/
|
|
1652
|
+
"$ref": "#/definitions/ReceivedIncomingRequestRequest",
|
|
573
1653
|
"definitions": {
|
|
574
|
-
"
|
|
1654
|
+
"ReceivedIncomingRequestRequest": {
|
|
575
1655
|
"type": "object",
|
|
576
1656
|
"properties": {
|
|
577
|
-
"
|
|
578
|
-
"
|
|
1657
|
+
"receivedRequest": {
|
|
1658
|
+
"$ref": "#/definitions/RequestJSON"
|
|
1659
|
+
},
|
|
1660
|
+
"requestSourceId": {
|
|
1661
|
+
"type": "string",
|
|
1662
|
+
"description": "The id of the Message or RelationshipTemplate in which the Response was received.",
|
|
1663
|
+
"pattern": "(MSG|RLT)[A-Za-z0-9]{14}"
|
|
579
1664
|
}
|
|
580
1665
|
},
|
|
581
1666
|
"required": [
|
|
582
|
-
"
|
|
1667
|
+
"receivedRequest",
|
|
1668
|
+
"requestSourceId"
|
|
583
1669
|
],
|
|
584
1670
|
"additionalProperties": false
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
};
|
|
588
|
-
exports.UpdateRelationshipInfoRequest = {
|
|
589
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
590
|
-
"$ref": "#/definitions/UpdateRelationshipInfoRequest",
|
|
591
|
-
"definitions": {
|
|
592
|
-
"UpdateRelationshipInfoRequest": {
|
|
1671
|
+
},
|
|
1672
|
+
"RequestJSON": {
|
|
593
1673
|
"type": "object",
|
|
594
1674
|
"properties": {
|
|
595
|
-
"
|
|
596
|
-
"type": "string"
|
|
597
|
-
},
|
|
598
|
-
"attributes": {
|
|
599
|
-
"type": "array",
|
|
600
|
-
"items": {
|
|
601
|
-
"$ref": "#/definitions/RelationshipAttributeDTO"
|
|
602
|
-
}
|
|
603
|
-
},
|
|
604
|
-
"isPinned": {
|
|
605
|
-
"type": "boolean"
|
|
606
|
-
},
|
|
607
|
-
"title": {
|
|
1675
|
+
"@type": {
|
|
608
1676
|
"type": "string"
|
|
609
1677
|
},
|
|
610
|
-
"
|
|
1678
|
+
"@context": {
|
|
611
1679
|
"type": "string"
|
|
612
1680
|
},
|
|
613
|
-
"
|
|
1681
|
+
"@version": {
|
|
614
1682
|
"type": "string"
|
|
615
1683
|
},
|
|
616
|
-
"
|
|
1684
|
+
"id": {
|
|
617
1685
|
"type": "string"
|
|
618
1686
|
},
|
|
619
|
-
"
|
|
620
|
-
"
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
"required": [
|
|
624
|
-
"id"
|
|
625
|
-
],
|
|
626
|
-
"additionalProperties": false,
|
|
627
|
-
"description": "Overwrite a RelationshipInfo's attributes with the request's corresponding fields. Undefined fields in the request will leave the corresponding RelationshipInfo's attributes untouched."
|
|
628
|
-
},
|
|
629
|
-
"RelationshipAttributeDTO": {
|
|
630
|
-
"type": "object",
|
|
631
|
-
"properties": {
|
|
632
|
-
"name": {
|
|
633
|
-
"type": "string"
|
|
1687
|
+
"expiresAt": {
|
|
1688
|
+
"type": "string",
|
|
1689
|
+
"description": "The point in time the request is considered obsolete either technically (e.g. the request is no longer valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer of interest).",
|
|
1690
|
+
"default": "undefined - the request won't expire"
|
|
634
1691
|
},
|
|
635
|
-
"
|
|
636
|
-
"
|
|
1692
|
+
"items": {
|
|
1693
|
+
"type": "array",
|
|
1694
|
+
"items": {
|
|
1695
|
+
"anyOf": [
|
|
1696
|
+
{
|
|
1697
|
+
"$ref": "#/definitions/RequestItemGroupJSON"
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"$ref": "#/definitions/RequestItemJSON"
|
|
1701
|
+
}
|
|
1702
|
+
]
|
|
1703
|
+
},
|
|
1704
|
+
"description": "The items of the Request. Can be either a single {@link RequestItemJSON RequestItem } or a {@link RequestItemGroupJSON RequestItemGroup } , which itself can contain further {@link RequestItemJSON RequestItems } ."
|
|
637
1705
|
},
|
|
638
|
-
"
|
|
639
|
-
"type": "
|
|
1706
|
+
"responseMetadata": {
|
|
1707
|
+
"type": "object",
|
|
1708
|
+
"description": "This property can be used to add some arbitrary metadata to this request. The content of this property will be copied into the response on the side of the recipient."
|
|
640
1709
|
}
|
|
641
1710
|
},
|
|
642
1711
|
"required": [
|
|
643
|
-
"
|
|
644
|
-
"
|
|
645
|
-
"sharedItem"
|
|
1712
|
+
"@type",
|
|
1713
|
+
"items"
|
|
646
1714
|
],
|
|
647
1715
|
"additionalProperties": false
|
|
648
1716
|
},
|
|
649
|
-
"
|
|
1717
|
+
"RequestItemGroupJSON": {
|
|
650
1718
|
"type": "object",
|
|
651
1719
|
"properties": {
|
|
652
1720
|
"@type": {
|
|
653
1721
|
"type": "string"
|
|
654
1722
|
},
|
|
655
|
-
"@
|
|
1723
|
+
"@context": {
|
|
656
1724
|
"type": "string"
|
|
657
1725
|
},
|
|
658
|
-
"
|
|
1726
|
+
"@version": {
|
|
659
1727
|
"type": "string"
|
|
660
1728
|
},
|
|
661
|
-
"
|
|
662
|
-
|
|
663
|
-
"
|
|
1729
|
+
"title": {
|
|
1730
|
+
"type": "string",
|
|
1731
|
+
"description": "The human-readable title of this group."
|
|
664
1732
|
},
|
|
665
|
-
"
|
|
666
|
-
"type": "string"
|
|
1733
|
+
"description": {
|
|
1734
|
+
"type": "string",
|
|
1735
|
+
"description": "The human-readable description of this group."
|
|
1736
|
+
},
|
|
1737
|
+
"mustBeAccepted": {
|
|
1738
|
+
"type": "boolean",
|
|
1739
|
+
"description": "If set to `true`, the recipient has to accept this group if he wants to accept the Request. If set to `false`, the recipient can decide whether he wants to accept it or not."
|
|
1740
|
+
},
|
|
1741
|
+
"responseMetadata": {
|
|
1742
|
+
"type": "object",
|
|
1743
|
+
"description": "This property can be used to add some arbitrary metadata to this group. 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 group content as they receive the response."
|
|
1744
|
+
},
|
|
1745
|
+
"items": {
|
|
1746
|
+
"type": "array",
|
|
1747
|
+
"items": {
|
|
1748
|
+
"$ref": "#/definitions/RequestItemJSON"
|
|
1749
|
+
},
|
|
1750
|
+
"description": "The items of this group."
|
|
667
1751
|
}
|
|
668
1752
|
},
|
|
669
1753
|
"required": [
|
|
670
1754
|
"@type",
|
|
671
|
-
"
|
|
672
|
-
"
|
|
1755
|
+
"items",
|
|
1756
|
+
"mustBeAccepted"
|
|
673
1757
|
],
|
|
674
|
-
"additionalProperties": false
|
|
1758
|
+
"additionalProperties": false,
|
|
1759
|
+
"description": "A RequestItemGroup can be used to group one or more {@link RequestItemJSON RequestItems } . This is useful if you want to\n* make sure that the items in the group can only be accepted together\n\n Example: when sending a `CreateAttributeRequestItem` **and** a `ShareAttributeRequestItem` in a single Request where the latter one targets an attribute created by the first one, it it should be impossible to reject the first item, while accepting the second one.\n* visually group items on the UI and give the a common title/description"
|
|
675
1760
|
},
|
|
676
|
-
"
|
|
1761
|
+
"RequestItemJSON": {
|
|
677
1762
|
"type": "object",
|
|
678
1763
|
"properties": {
|
|
679
|
-
"
|
|
680
|
-
"type": "string"
|
|
681
|
-
},
|
|
682
|
-
"imageBar": {
|
|
1764
|
+
"@type": {
|
|
683
1765
|
"type": "string"
|
|
684
1766
|
},
|
|
685
|
-
"
|
|
1767
|
+
"@context": {
|
|
686
1768
|
"type": "string"
|
|
687
1769
|
},
|
|
688
|
-
"
|
|
689
|
-
"type": "string"
|
|
690
|
-
}
|
|
691
|
-
},
|
|
692
|
-
"required": [
|
|
693
|
-
"image",
|
|
694
|
-
"imageBar",
|
|
695
|
-
"backgroundColor",
|
|
696
|
-
"foregroundColor"
|
|
697
|
-
],
|
|
698
|
-
"additionalProperties": false
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
};
|
|
702
|
-
exports.CreateSettingRequest = {
|
|
703
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
704
|
-
"$ref": "#/definitions/CreateSettingRequest",
|
|
705
|
-
"definitions": {
|
|
706
|
-
"CreateSettingRequest": {
|
|
707
|
-
"type": "object",
|
|
708
|
-
"properties": {
|
|
709
|
-
"key": {
|
|
1770
|
+
"@version": {
|
|
710
1771
|
"type": "string"
|
|
711
1772
|
},
|
|
712
|
-
"
|
|
713
|
-
|
|
714
|
-
"
|
|
1773
|
+
"title": {
|
|
1774
|
+
"type": "string",
|
|
1775
|
+
"description": "The human-readable title of this item."
|
|
715
1776
|
},
|
|
716
|
-
"
|
|
717
|
-
"type": "string"
|
|
1777
|
+
"description": {
|
|
1778
|
+
"type": "string",
|
|
1779
|
+
"description": "The human-readable description of this item."
|
|
718
1780
|
},
|
|
719
|
-
"
|
|
720
|
-
"type": "
|
|
1781
|
+
"responseMetadata": {
|
|
1782
|
+
"type": "object",
|
|
1783
|
+
"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 group content as they receive the response."
|
|
721
1784
|
},
|
|
722
|
-
"
|
|
723
|
-
"type": "
|
|
724
|
-
|
|
725
|
-
},
|
|
726
|
-
"required": [
|
|
727
|
-
"key",
|
|
728
|
-
"value"
|
|
729
|
-
],
|
|
730
|
-
"additionalProperties": false
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
};
|
|
734
|
-
exports.DeleteSettingRequest = {
|
|
735
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
736
|
-
"$ref": "#/definitions/DeleteSettingRequest",
|
|
737
|
-
"definitions": {
|
|
738
|
-
"DeleteSettingRequest": {
|
|
739
|
-
"type": "object",
|
|
740
|
-
"properties": {
|
|
741
|
-
"id": {
|
|
742
|
-
"type": "string"
|
|
1785
|
+
"mustBeAccepted": {
|
|
1786
|
+
"type": "boolean",
|
|
1787
|
+
"description": "If set to `true`, the recipient has to accept this group if he wants to accept the Request. If set to `false`, the recipient can decide whether he wants to accept it or not.\n\nCaution: this setting does not take effect in case it is inside of a\n {@link RequestItemGroupJSON RequestItemGroup } , which is not accepted by the recipient, since a {@link RequestItemJSON RequestItem } can only be accepted if the parent group is accepted as well."
|
|
743
1788
|
}
|
|
744
1789
|
},
|
|
745
1790
|
"required": [
|
|
746
|
-
"
|
|
1791
|
+
"@type",
|
|
1792
|
+
"mustBeAccepted"
|
|
747
1793
|
],
|
|
748
1794
|
"additionalProperties": false
|
|
749
1795
|
}
|
|
750
1796
|
}
|
|
751
1797
|
};
|
|
752
|
-
exports.
|
|
1798
|
+
exports.RequireManualDecisionOfIncomingRequestRequest = {
|
|
753
1799
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
754
|
-
"$ref": "#/definitions/
|
|
1800
|
+
"$ref": "#/definitions/RequireManualDecisionOfIncomingRequestRequest",
|
|
755
1801
|
"definitions": {
|
|
756
|
-
"
|
|
1802
|
+
"RequireManualDecisionOfIncomingRequestRequest": {
|
|
757
1803
|
"type": "object",
|
|
758
1804
|
"properties": {
|
|
759
|
-
"
|
|
760
|
-
"type": "string"
|
|
1805
|
+
"requestId": {
|
|
1806
|
+
"type": "string",
|
|
1807
|
+
"pattern": "REQ[A-Za-z0-9]{14}"
|
|
761
1808
|
}
|
|
762
1809
|
},
|
|
763
1810
|
"required": [
|
|
764
|
-
"
|
|
1811
|
+
"requestId"
|
|
765
1812
|
],
|
|
766
1813
|
"additionalProperties": false
|
|
767
1814
|
}
|
|
768
1815
|
}
|
|
769
1816
|
};
|
|
770
|
-
exports.
|
|
771
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
772
|
-
"$ref": "#/definitions/GetSettingsRequest",
|
|
773
|
-
"definitions": {
|
|
774
|
-
"GetSettingsRequest": {
|
|
775
|
-
"type": "object",
|
|
776
|
-
"properties": {
|
|
777
|
-
"query": {}
|
|
778
|
-
},
|
|
779
|
-
"additionalProperties": false
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
};
|
|
783
|
-
exports.UpdateSettingRequest = {
|
|
1817
|
+
exports.SentOutgoingRequestRequest = {
|
|
784
1818
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
785
|
-
"$ref": "#/definitions/
|
|
1819
|
+
"$ref": "#/definitions/SentOutgoingRequestRequest",
|
|
786
1820
|
"definitions": {
|
|
787
|
-
"
|
|
1821
|
+
"SentOutgoingRequestRequest": {
|
|
788
1822
|
"type": "object",
|
|
789
1823
|
"properties": {
|
|
790
|
-
"
|
|
791
|
-
"type": "string"
|
|
1824
|
+
"requestId": {
|
|
1825
|
+
"type": "string",
|
|
1826
|
+
"pattern": "REQ[A-Za-z0-9]{14}"
|
|
792
1827
|
},
|
|
793
|
-
"
|
|
1828
|
+
"messageId": {
|
|
1829
|
+
"type": "string",
|
|
1830
|
+
"pattern": "MSG[A-Za-z0-9]{17}"
|
|
1831
|
+
}
|
|
794
1832
|
},
|
|
795
1833
|
"required": [
|
|
796
|
-
"
|
|
797
|
-
"
|
|
1834
|
+
"requestId",
|
|
1835
|
+
"messageId"
|
|
798
1836
|
],
|
|
799
1837
|
"additionalProperties": false
|
|
800
1838
|
}
|
|
801
1839
|
}
|
|
802
1840
|
};
|
|
803
|
-
exports.
|
|
1841
|
+
exports.CreateSettingRequest = {
|
|
804
1842
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
805
|
-
"$ref": "#/definitions/
|
|
1843
|
+
"$ref": "#/definitions/CreateSettingRequest",
|
|
806
1844
|
"definitions": {
|
|
807
|
-
"
|
|
1845
|
+
"CreateSettingRequest": {
|
|
808
1846
|
"type": "object",
|
|
809
1847
|
"properties": {
|
|
810
|
-
"
|
|
811
|
-
"type": "array",
|
|
812
|
-
"items": {
|
|
813
|
-
"type": "string"
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
|
-
"sharedBy": {
|
|
817
|
-
"type": "string"
|
|
818
|
-
},
|
|
819
|
-
"sharedWith": {
|
|
820
|
-
"type": "string"
|
|
821
|
-
},
|
|
822
|
-
"sharedAt": {
|
|
1848
|
+
"key": {
|
|
823
1849
|
"type": "string"
|
|
824
1850
|
},
|
|
1851
|
+
"value": {},
|
|
825
1852
|
"reference": {
|
|
826
1853
|
"type": "string"
|
|
827
1854
|
},
|
|
828
|
-
"
|
|
829
|
-
"succeedsItem": {
|
|
1855
|
+
"scope": {
|
|
830
1856
|
"type": "string"
|
|
831
1857
|
},
|
|
832
1858
|
"succeedsAt": {
|
|
833
1859
|
"type": "string"
|
|
834
1860
|
},
|
|
835
|
-
"
|
|
1861
|
+
"succeedsItem": {
|
|
836
1862
|
"type": "string"
|
|
837
1863
|
}
|
|
838
1864
|
},
|
|
839
1865
|
"required": [
|
|
840
|
-
"
|
|
841
|
-
"
|
|
842
|
-
"sharedAt",
|
|
843
|
-
"content"
|
|
1866
|
+
"key",
|
|
1867
|
+
"value"
|
|
844
1868
|
],
|
|
845
1869
|
"additionalProperties": false
|
|
846
1870
|
}
|
|
847
1871
|
}
|
|
848
1872
|
};
|
|
849
|
-
exports.
|
|
1873
|
+
exports.DeleteSettingRequest = {
|
|
850
1874
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
851
|
-
"$ref": "#/definitions/
|
|
1875
|
+
"$ref": "#/definitions/DeleteSettingRequest",
|
|
852
1876
|
"definitions": {
|
|
853
|
-
"
|
|
1877
|
+
"DeleteSettingRequest": {
|
|
854
1878
|
"type": "object",
|
|
855
1879
|
"properties": {
|
|
856
1880
|
"id": {
|
|
@@ -864,11 +1888,11 @@ exports.DeleteSharedItemRequest = {
|
|
|
864
1888
|
}
|
|
865
1889
|
}
|
|
866
1890
|
};
|
|
867
|
-
exports.
|
|
1891
|
+
exports.GetSettingRequest = {
|
|
868
1892
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
869
|
-
"$ref": "#/definitions/
|
|
1893
|
+
"$ref": "#/definitions/GetSettingRequest",
|
|
870
1894
|
"definitions": {
|
|
871
|
-
"
|
|
1895
|
+
"GetSettingRequest": {
|
|
872
1896
|
"type": "object",
|
|
873
1897
|
"properties": {
|
|
874
1898
|
"id": {
|
|
@@ -882,11 +1906,11 @@ exports.GetSharedItemRequest = {
|
|
|
882
1906
|
}
|
|
883
1907
|
}
|
|
884
1908
|
};
|
|
885
|
-
exports.
|
|
1909
|
+
exports.GetSettingsRequest = {
|
|
886
1910
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
887
|
-
"$ref": "#/definitions/
|
|
1911
|
+
"$ref": "#/definitions/GetSettingsRequest",
|
|
888
1912
|
"definitions": {
|
|
889
|
-
"
|
|
1913
|
+
"GetSettingsRequest": {
|
|
890
1914
|
"type": "object",
|
|
891
1915
|
"properties": {
|
|
892
1916
|
"query": {}
|
|
@@ -895,93 +1919,21 @@ exports.GetSharedItemsRequest = {
|
|
|
895
1919
|
}
|
|
896
1920
|
}
|
|
897
1921
|
};
|
|
898
|
-
exports.
|
|
899
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
900
|
-
"$ref": "#/definitions/GetSharedItemsByAddressRequest",
|
|
901
|
-
"definitions": {
|
|
902
|
-
"GetSharedItemsByAddressRequest": {
|
|
903
|
-
"type": "object",
|
|
904
|
-
"properties": {
|
|
905
|
-
"address": {
|
|
906
|
-
"type": "string"
|
|
907
|
-
}
|
|
908
|
-
},
|
|
909
|
-
"required": [
|
|
910
|
-
"address"
|
|
911
|
-
],
|
|
912
|
-
"additionalProperties": false
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
};
|
|
916
|
-
exports.GetSharedItemsByReferenceRequest = {
|
|
917
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
918
|
-
"$ref": "#/definitions/GetSharedItemsByReferenceRequest",
|
|
919
|
-
"definitions": {
|
|
920
|
-
"GetSharedItemsByReferenceRequest": {
|
|
921
|
-
"type": "object",
|
|
922
|
-
"properties": {
|
|
923
|
-
"reference": {
|
|
924
|
-
"type": "string"
|
|
925
|
-
}
|
|
926
|
-
},
|
|
927
|
-
"required": [
|
|
928
|
-
"reference"
|
|
929
|
-
],
|
|
930
|
-
"additionalProperties": false
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
|
-
exports.GetSharedItemsSharedByAddressRequest = {
|
|
935
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
936
|
-
"$ref": "#/definitions/GetSharedItemsSharedByAddressRequest",
|
|
937
|
-
"definitions": {
|
|
938
|
-
"GetSharedItemsSharedByAddressRequest": {
|
|
939
|
-
"type": "object",
|
|
940
|
-
"properties": {
|
|
941
|
-
"address": {
|
|
942
|
-
"type": "string"
|
|
943
|
-
}
|
|
944
|
-
},
|
|
945
|
-
"required": [
|
|
946
|
-
"address"
|
|
947
|
-
],
|
|
948
|
-
"additionalProperties": false
|
|
949
|
-
}
|
|
950
|
-
}
|
|
951
|
-
};
|
|
952
|
-
exports.GetSharedItemsSharedWithAddressRequest = {
|
|
953
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
954
|
-
"$ref": "#/definitions/GetSharedItemsSharedWithAddressRequest",
|
|
955
|
-
"definitions": {
|
|
956
|
-
"GetSharedItemsSharedWithAddressRequest": {
|
|
957
|
-
"type": "object",
|
|
958
|
-
"properties": {
|
|
959
|
-
"address": {
|
|
960
|
-
"type": "string"
|
|
961
|
-
}
|
|
962
|
-
},
|
|
963
|
-
"required": [
|
|
964
|
-
"address"
|
|
965
|
-
],
|
|
966
|
-
"additionalProperties": false
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
};
|
|
970
|
-
exports.UpdateSharedItemRequest = {
|
|
1922
|
+
exports.UpdateSettingRequest = {
|
|
971
1923
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
972
|
-
"$ref": "#/definitions/
|
|
1924
|
+
"$ref": "#/definitions/UpdateSettingRequest",
|
|
973
1925
|
"definitions": {
|
|
974
|
-
"
|
|
1926
|
+
"UpdateSettingRequest": {
|
|
975
1927
|
"type": "object",
|
|
976
1928
|
"properties": {
|
|
977
1929
|
"id": {
|
|
978
1930
|
"type": "string"
|
|
979
1931
|
},
|
|
980
|
-
"
|
|
1932
|
+
"value": {}
|
|
981
1933
|
},
|
|
982
1934
|
"required": [
|
|
983
1935
|
"id",
|
|
984
|
-
"
|
|
1936
|
+
"value"
|
|
985
1937
|
],
|
|
986
1938
|
"additionalProperties": false
|
|
987
1939
|
}
|
|
@@ -1032,7 +1984,7 @@ exports.DownloadFileRequest = {
|
|
|
1032
1984
|
"properties": {
|
|
1033
1985
|
"id": {
|
|
1034
1986
|
"type": "string",
|
|
1035
|
-
"
|
|
1987
|
+
"pattern": "FIL[A-z0-9]{17}"
|
|
1036
1988
|
}
|
|
1037
1989
|
},
|
|
1038
1990
|
"required": [
|
|
@@ -1087,7 +2039,7 @@ exports.CreateRelationshipChallengeRequest = {
|
|
|
1087
2039
|
},
|
|
1088
2040
|
"relationship": {
|
|
1089
2041
|
"type": "string",
|
|
1090
|
-
"
|
|
2042
|
+
"pattern": "REL[A-z0-9]{17}"
|
|
1091
2043
|
}
|
|
1092
2044
|
},
|
|
1093
2045
|
"required": [
|
|
@@ -1162,7 +2114,7 @@ exports.CreateChallengeRequest = {
|
|
|
1162
2114
|
},
|
|
1163
2115
|
"relationship": {
|
|
1164
2116
|
"type": "string",
|
|
1165
|
-
"
|
|
2117
|
+
"pattern": "REL[A-z0-9]{17}"
|
|
1166
2118
|
}
|
|
1167
2119
|
},
|
|
1168
2120
|
"required": [
|
|
@@ -1350,7 +2302,7 @@ exports.CreateTokenForFileRequest = {
|
|
|
1350
2302
|
"properties": {
|
|
1351
2303
|
"fileId": {
|
|
1352
2304
|
"type": "string",
|
|
1353
|
-
"
|
|
2305
|
+
"pattern": "FIL[A-z0-9]{17}"
|
|
1354
2306
|
},
|
|
1355
2307
|
"expiresAt": {
|
|
1356
2308
|
"type": "string",
|
|
@@ -1376,7 +2328,7 @@ exports.CreateTokenQrCodeForFileRequest = {
|
|
|
1376
2328
|
"properties": {
|
|
1377
2329
|
"fileId": {
|
|
1378
2330
|
"type": "string",
|
|
1379
|
-
"
|
|
2331
|
+
"pattern": "FIL[A-z0-9]{17}"
|
|
1380
2332
|
},
|
|
1381
2333
|
"expiresAt": {
|
|
1382
2334
|
"type": "string",
|
|
@@ -1399,7 +2351,7 @@ exports.GetFileRequest = {
|
|
|
1399
2351
|
"properties": {
|
|
1400
2352
|
"id": {
|
|
1401
2353
|
"type": "string",
|
|
1402
|
-
"
|
|
2354
|
+
"pattern": "FIL[A-z0-9]{17}"
|
|
1403
2355
|
}
|
|
1404
2356
|
},
|
|
1405
2357
|
"required": [
|
|
@@ -1441,7 +2393,7 @@ exports.LoadPeerFileViaSecretRequest = {
|
|
|
1441
2393
|
"properties": {
|
|
1442
2394
|
"id": {
|
|
1443
2395
|
"type": "string",
|
|
1444
|
-
"
|
|
2396
|
+
"pattern": "FIL[A-z0-9]{17}"
|
|
1445
2397
|
},
|
|
1446
2398
|
"secretKey": {
|
|
1447
2399
|
"type": "string",
|
|
@@ -1495,7 +2447,7 @@ exports.LoadPeerFileRequest = {
|
|
|
1495
2447
|
"properties": {
|
|
1496
2448
|
"id": {
|
|
1497
2449
|
"type": "string",
|
|
1498
|
-
"
|
|
2450
|
+
"pattern": "FIL[A-z0-9]{17}"
|
|
1499
2451
|
},
|
|
1500
2452
|
"secretKey": {
|
|
1501
2453
|
"type": "string",
|