@twin.org/standards-dataspace-protocol 0.0.3-next.5 → 0.0.3-next.51
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/README.md +1 -1
- package/dist/es/dataTypes/catalogDataTypes.js +114 -20
- package/dist/es/dataTypes/catalogDataTypes.js.map +1 -1
- package/dist/es/dataTypes/contractNegotiationDataTypes.js +58 -62
- package/dist/es/dataTypes/contractNegotiationDataTypes.js.map +1 -1
- package/dist/es/dataTypes/dataspaceProtocolDataTypes.js +4 -1
- package/dist/es/dataTypes/dataspaceProtocolDataTypes.js.map +1 -1
- package/dist/es/dataTypes/transferProcessDataTypes.js +53 -56
- package/dist/es/dataTypes/transferProcessDataTypes.js.map +1 -1
- package/dist/es/index.js +47 -27
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/catalog/IDataspaceProtocolCatalogError.js +2 -0
- package/dist/es/models/catalog/IDataspaceProtocolCatalogError.js.map +1 -0
- package/dist/es/models/catalog/IDataspaceProtocolCatalogRequestMessage.js +2 -0
- package/dist/es/models/catalog/IDataspaceProtocolCatalogRequestMessage.js.map +1 -0
- package/dist/es/models/catalog/IDataspaceProtocolDatasetRequestMessage.js +2 -0
- package/dist/es/models/catalog/IDataspaceProtocolDatasetRequestMessage.js.map +1 -0
- package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js +86 -0
- package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementVerificationMessage.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementVerificationMessage.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiation.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiation.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationError.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationError.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationTerminationMessage.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationTerminationMessage.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.js.map +1 -0
- package/dist/es/models/contractNegotiation/{contractNegotiationTypes.js → dataspaceProtocolContractNegotiationTypes.js} +2 -2
- package/dist/es/models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.js.map +1 -0
- package/dist/es/models/contractNegotiation/types/{contractNegotiationEventType.js → dataspaceProtocolContractNegotiationEventType.js} +2 -2
- package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationEventType.js.map +1 -0
- package/dist/es/models/contractNegotiation/types/{contractNegotiationStateType.js → dataspaceProtocolContractNegotiationStateType.js} +2 -2
- package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationStateType.js.map +1 -0
- package/dist/es/models/dataspaceProtocolContextType.js.map +1 -1
- package/dist/es/models/dataspaceProtocolContexts.js +12 -4
- package/dist/es/models/dataspaceProtocolContexts.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolCatalog.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolCatalog.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolCatalogNoContext.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolCatalogNoContext.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataService.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataService.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataServiceNoContext.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataServiceNoContext.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataset.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataset.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDatasetNoContext.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDatasetNoContext.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDistribution.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDistribution.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDistributionNoContext.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDistributionNoContext.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolAgreement.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolAgreement.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolAgreementNoContext.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolAgreementNoContext.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolOffer.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolOffer.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolOfferNoContext.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolOfferNoContext.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolPolicy.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolPolicy.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolPolicyNoContext.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolPolicyNoContext.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolSet.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolSet.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolSetNoContext.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolSetNoContext.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolDataAddress.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolDataAddress.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolEndpointProperty.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolEndpointProperty.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferCompletionMessage.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferCompletionMessage.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferError.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferError.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferProcess.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferProcess.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferRequestMessage.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferRequestMessage.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferStartMessage.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferStartMessage.js.map +1 -0
- package/dist/es/models/transferProcess/{ITransferSuspensionMessage.js → IDataspaceProtocolTransferSuspensionMessage.js} +1 -1
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferSuspensionMessage.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferTerminationMessage.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferTerminationMessage.js.map +1 -0
- package/dist/es/models/transferProcess/{transferProcessTypes.js → dataspaceProtocolTransferProcessTypes.js} +2 -2
- package/dist/es/models/transferProcess/dataspaceProtocolTransferProcessTypes.js.map +1 -0
- package/dist/es/models/transferProcess/types/dataspaceProtocolEndpointType.js +89 -0
- package/dist/es/models/transferProcess/types/dataspaceProtocolEndpointType.js.map +1 -0
- package/dist/es/models/transferProcess/types/{transferProcessStateType.js → dataspaceProtocolTransferProcessStateType.js} +2 -2
- package/dist/es/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.js.map +1 -0
- package/dist/es/schemas/DataspaceProtocolAgreement.json +184 -0
- package/dist/es/schemas/DataspaceProtocolAgreementNoContext.json +6 -0
- package/dist/es/schemas/DataspaceProtocolCatalog.json +11 -0
- package/dist/es/schemas/{CatalogError.json → DataspaceProtocolCatalogError.json} +10 -7
- package/dist/es/schemas/DataspaceProtocolCatalogNoContext.json +6 -0
- package/dist/es/schemas/{CatalogRequestMessage.json → DataspaceProtocolCatalogRequestMessage.json} +10 -7
- package/dist/es/schemas/{ContractAgreementMessage.json → DataspaceProtocolContractAgreementMessage.json} +11 -8
- package/dist/es/schemas/{ContractAgreementVerificationMessage.json → DataspaceProtocolContractAgreementVerificationMessage.json} +10 -7
- package/dist/es/schemas/{ContractNegotiation.json → DataspaceProtocolContractNegotiation.json} +11 -8
- package/dist/es/schemas/{ContractNegotiationError.json → DataspaceProtocolContractNegotiationError.json} +10 -7
- package/dist/es/schemas/{ContractNegotiationEventMessage.json → DataspaceProtocolContractNegotiationEventMessage.json} +11 -8
- package/dist/es/schemas/{ContractNegotiationEventType.json → DataspaceProtocolContractNegotiationEventType.json} +1 -1
- package/dist/es/schemas/{ContractNegotiationStateType.json → DataspaceProtocolContractNegotiationStateType.json} +1 -1
- package/dist/es/schemas/{ContractNegotiationTerminationMessage.json → DataspaceProtocolContractNegotiationTerminationMessage.json} +10 -7
- package/dist/es/schemas/{ContractOfferMessage.json → DataspaceProtocolContractOfferMessage.json} +11 -8
- package/dist/es/schemas/{ContractRequestMessage.json → DataspaceProtocolContractRequestMessage.json} +11 -8
- package/dist/es/schemas/{DataAddress.json → DataspaceProtocolDataAddress.json} +3 -4
- package/dist/es/schemas/DataspaceProtocolDataServiceNoContext.json +6 -0
- package/dist/es/schemas/DataspaceProtocolDataset.json +11 -0
- package/dist/es/schemas/DataspaceProtocolDatasetNoContext.json +6 -0
- package/dist/es/schemas/{DatasetRequestMessage.json → DataspaceProtocolDatasetRequestMessage.json} +10 -7
- package/dist/es/schemas/DataspaceProtocolDistributionNoContext.json +6 -0
- package/dist/es/schemas/{EndpointProperty.json → DataspaceProtocolEndpointProperty.json} +2 -3
- package/dist/es/schemas/DataspaceProtocolOffer.json +202 -0
- package/dist/es/schemas/DataspaceProtocolOfferNoContext.json +6 -0
- package/dist/es/schemas/DataspaceProtocolPolicy.json +219 -0
- package/dist/es/schemas/DataspaceProtocolPolicyNoContext.json +6 -0
- package/dist/es/schemas/DataspaceProtocolSet.json +220 -0
- package/dist/es/schemas/DataspaceProtocolSetNoContext.json +6 -0
- package/dist/es/schemas/{TransferCompletionMessage.json → DataspaceProtocolTransferCompletionMessage.json} +10 -7
- package/dist/es/schemas/{TransferError.json → DataspaceProtocolTransferError.json} +10 -7
- package/dist/es/schemas/DataspaceProtocolTransferProcess.json +82 -0
- package/dist/es/schemas/{TransferRequestMessage.json → DataspaceProtocolTransferRequestMessage.json} +11 -8
- package/dist/es/schemas/{TransferStartMessage.json → DataspaceProtocolTransferStartMessage.json} +11 -8
- package/dist/es/schemas/{TransferSuspensionMessage.json → DataspaceProtocolTransferSuspensionMessage.json} +10 -7
- package/dist/es/schemas/{TransferTerminationMessage.json → DataspaceProtocolTransferTerminationMessage.json} +10 -7
- package/dist/es/schemas-src/DataspaceProtocolDataService.json +11 -0
- package/dist/es/schemas-src/DataspaceProtocolDistribution.json +11 -0
- package/dist/es/utils/dataspaceProtocolHelper.js +110 -0
- package/dist/es/utils/dataspaceProtocolHelper.js.map +1 -0
- package/dist/types/index.d.ts +44 -26
- package/dist/types/models/catalog/{ICatalogError.d.ts → IDataspaceProtocolCatalogError.d.ts} +3 -3
- package/dist/types/models/catalog/{ICatalogRequestMessage.d.ts → IDataspaceProtocolCatalogRequestMessage.d.ts} +3 -3
- package/dist/types/models/catalog/{IDatasetRequestMessage.d.ts → IDataspaceProtocolDatasetRequestMessage.d.ts} +3 -3
- package/dist/types/models/catalog/dataspaceProtocolCatalogTypes.d.ts +86 -0
- package/dist/types/models/contractNegotiation/{IContractAgreementMessage.d.ts → IDataspaceProtocolContractAgreementMessage.d.ts} +5 -5
- package/dist/types/models/contractNegotiation/{IContractAgreementVerificationMessage.d.ts → IDataspaceProtocolContractAgreementVerificationMessage.d.ts} +3 -3
- package/dist/types/models/contractNegotiation/{IContractNegotiation.d.ts → IDataspaceProtocolContractNegotiation.d.ts} +5 -5
- package/dist/types/models/contractNegotiation/{IContractNegotiationError.d.ts → IDataspaceProtocolContractNegotiationError.d.ts} +3 -3
- package/dist/types/models/contractNegotiation/{IContractNegotiationEventMessage.d.ts → IDataspaceProtocolContractNegotiationEventMessage.d.ts} +5 -5
- package/dist/types/models/contractNegotiation/{IContractNegotiationTerminationMessage.d.ts → IDataspaceProtocolContractNegotiationTerminationMessage.d.ts} +3 -3
- package/dist/types/models/contractNegotiation/{IContractOfferMessage.d.ts → IDataspaceProtocolContractOfferMessage.d.ts} +5 -5
- package/dist/types/models/contractNegotiation/{IContractRequestMessage.d.ts → IDataspaceProtocolContractRequestMessage.d.ts} +5 -5
- package/dist/types/models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.d.ts +50 -0
- package/dist/types/models/contractNegotiation/types/{contractNegotiationEventType.d.ts → dataspaceProtocolContractNegotiationEventType.d.ts} +2 -2
- package/dist/types/models/contractNegotiation/types/{contractNegotiationStateType.d.ts → dataspaceProtocolContractNegotiationStateType.d.ts} +2 -2
- package/dist/types/models/dataspaceProtocolContextType.d.ts +4 -4
- package/dist/types/models/dataspaceProtocolContexts.d.ts +12 -4
- package/dist/types/models/dcat3/IDataspaceProtocolCatalog.d.ts +63 -0
- package/dist/types/models/dcat3/IDataspaceProtocolCatalogNoContext.d.ts +5 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDataService.d.ts +48 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDataServiceNoContext.d.ts +5 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDataset.d.ts +65 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDatasetNoContext.d.ts +5 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDistribution.d.ts +69 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDistributionNoContext.d.ts +5 -0
- package/dist/types/models/odrl/IDataspaceProtocolAgreement.d.ts +17 -0
- package/dist/types/models/odrl/IDataspaceProtocolAgreementNoContext.d.ts +5 -0
- package/dist/types/models/odrl/IDataspaceProtocolOffer.d.ts +17 -0
- package/dist/types/models/odrl/IDataspaceProtocolOfferNoContext.d.ts +5 -0
- package/dist/types/models/odrl/IDataspaceProtocolPolicy.d.ts +17 -0
- package/dist/types/models/odrl/IDataspaceProtocolPolicyNoContext.d.ts +5 -0
- package/dist/types/models/odrl/IDataspaceProtocolSet.d.ts +17 -0
- package/dist/types/models/odrl/IDataspaceProtocolSetNoContext.d.ts +5 -0
- package/dist/types/models/transferProcess/{IDataAddress.d.ts → IDataspaceProtocolDataAddress.d.ts} +5 -5
- package/dist/types/models/transferProcess/{IEndpointProperty.d.ts → IDataspaceProtocolEndpointProperty.d.ts} +3 -3
- package/dist/types/models/transferProcess/{ITransferCompletionMessage.d.ts → IDataspaceProtocolTransferCompletionMessage.d.ts} +3 -3
- package/dist/types/models/transferProcess/{ITransferError.d.ts → IDataspaceProtocolTransferError.d.ts} +3 -3
- package/dist/types/models/transferProcess/{ITransferProcess.d.ts → IDataspaceProtocolTransferProcess.d.ts} +5 -5
- package/dist/types/models/transferProcess/{ITransferRequestMessage.d.ts → IDataspaceProtocolTransferRequestMessage.d.ts} +5 -5
- package/dist/types/models/transferProcess/{ITransferStartMessage.d.ts → IDataspaceProtocolTransferStartMessage.d.ts} +5 -5
- package/dist/types/models/transferProcess/{ITransferSuspensionMessage.d.ts → IDataspaceProtocolTransferSuspensionMessage.d.ts} +3 -3
- package/dist/types/models/transferProcess/{ITransferTerminationMessage.d.ts → IDataspaceProtocolTransferTerminationMessage.d.ts} +3 -3
- package/dist/types/models/transferProcess/dataspaceProtocolTransferProcessTypes.d.ts +46 -0
- package/dist/types/models/transferProcess/types/dataspaceProtocolEndpointType.d.ts +89 -0
- package/dist/types/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.d.ts +30 -0
- package/dist/types/utils/dataspaceProtocolHelper.d.ts +20 -0
- package/docs/changelog.md +823 -0
- package/docs/examples.md +46 -1
- package/docs/reference/classes/DataspaceProtocolHelper.md +63 -0
- package/docs/reference/index.md +51 -32
- package/docs/reference/interfaces/IDataspaceProtocolAgreement.md +179 -0
- package/docs/reference/interfaces/IDataspaceProtocolCatalog.md +574 -0
- package/docs/reference/interfaces/{ICatalogError.md → IDataspaceProtocolCatalogError.md} +1 -1
- package/docs/reference/interfaces/{ICatalogRequestMessage.md → IDataspaceProtocolCatalogRequestMessage.md} +1 -1
- package/docs/reference/interfaces/{IContractAgreementMessage.md → IDataspaceProtocolContractAgreementMessage.md} +3 -3
- package/docs/reference/interfaces/{IContractAgreementVerificationMessage.md → IDataspaceProtocolContractAgreementVerificationMessage.md} +2 -2
- package/docs/reference/interfaces/{IContractNegotiation.md → IDataspaceProtocolContractNegotiation.md} +3 -3
- package/docs/reference/interfaces/{IContractNegotiationError.md → IDataspaceProtocolContractNegotiationError.md} +2 -2
- package/docs/reference/interfaces/{IContractNegotiationEventMessage.md → IDataspaceProtocolContractNegotiationEventMessage.md} +3 -3
- package/docs/reference/interfaces/{IContractNegotiationTerminationMessage.md → IDataspaceProtocolContractNegotiationTerminationMessage.md} +2 -2
- package/docs/reference/interfaces/{IContractOfferMessage.md → IDataspaceProtocolContractOfferMessage.md} +3 -3
- package/docs/reference/interfaces/{IContractRequestMessage.md → IDataspaceProtocolContractRequestMessage.md} +3 -3
- package/docs/reference/interfaces/{IDataAddress.md → IDataspaceProtocolDataAddress.md} +3 -3
- package/docs/reference/interfaces/IDataspaceProtocolDataService.md +391 -0
- package/docs/reference/interfaces/IDataspaceProtocolDataset.md +488 -0
- package/docs/reference/interfaces/{IDatasetRequestMessage.md → IDataspaceProtocolDatasetRequestMessage.md} +1 -1
- package/docs/reference/interfaces/IDataspaceProtocolDistribution.md +384 -0
- package/docs/reference/interfaces/{IEndpointProperty.md → IDataspaceProtocolEndpointProperty.md} +2 -2
- package/docs/reference/interfaces/IDataspaceProtocolOffer.md +179 -0
- package/docs/reference/interfaces/IDataspaceProtocolPolicy.md +180 -0
- package/docs/reference/interfaces/IDataspaceProtocolSet.md +179 -0
- package/docs/reference/interfaces/{ITransferCompletionMessage.md → IDataspaceProtocolTransferCompletionMessage.md} +2 -2
- package/docs/reference/interfaces/{ITransferError.md → IDataspaceProtocolTransferError.md} +2 -2
- package/docs/reference/interfaces/IDataspaceProtocolTransferProcess.md +44 -0
- package/docs/reference/interfaces/{ITransferRequestMessage.md → IDataspaceProtocolTransferRequestMessage.md} +3 -3
- package/docs/reference/interfaces/{ITransferStartMessage.md → IDataspaceProtocolTransferStartMessage.md} +3 -3
- package/docs/reference/interfaces/{ITransferSuspensionMessage.md → IDataspaceProtocolTransferSuspensionMessage.md} +2 -2
- package/docs/reference/interfaces/{ITransferTerminationMessage.md → IDataspaceProtocolTransferTerminationMessage.md} +2 -2
- package/docs/reference/type-aliases/DataspaceProtocolCatalogTypes.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolContextType.md +2 -2
- package/docs/reference/type-aliases/DataspaceProtocolContractNegotiationEventType.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolContractNegotiationStateType.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolContractNegotiationTypes.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolEndpointType.md +12 -0
- package/docs/reference/type-aliases/DataspaceProtocolTransferProcessStateType.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolTransferProcessTypes.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolAgreementNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolCatalogNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolDataServiceNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolDatasetNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolDistributionNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolOfferNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolPolicyNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolSetNoContext.md +5 -0
- package/docs/reference/variables/DataspaceProtocolCatalogTypes.md +122 -0
- package/docs/reference/variables/DataspaceProtocolContexts.md +18 -6
- package/docs/reference/variables/{ContractNegotiationEventType.md → DataspaceProtocolContractNegotiationEventType.md} +2 -2
- package/docs/reference/variables/{ContractNegotiationStateType.md → DataspaceProtocolContractNegotiationStateType.md} +2 -2
- package/docs/reference/variables/DataspaceProtocolContractNegotiationTypes.md +68 -0
- package/docs/reference/variables/DataspaceProtocolEndpointType.md +96 -0
- package/docs/reference/variables/DataspaceProtocolTransferProcessStateType.md +38 -0
- package/docs/reference/variables/DataspaceProtocolTransferProcessTypes.md +62 -0
- package/locales/en.json +7 -1
- package/package.json +4 -4
- package/dist/es/models/catalog/ICatalogError.js +0 -2
- package/dist/es/models/catalog/ICatalogError.js.map +0 -1
- package/dist/es/models/catalog/ICatalogRequestMessage.js +0 -2
- package/dist/es/models/catalog/ICatalogRequestMessage.js.map +0 -1
- package/dist/es/models/catalog/IDatasetRequestMessage.js +0 -2
- package/dist/es/models/catalog/IDatasetRequestMessage.js.map +0 -1
- package/dist/es/models/catalog/catalogTypes.js +0 -22
- package/dist/es/models/catalog/catalogTypes.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractAgreementMessage.js +0 -2
- package/dist/es/models/contractNegotiation/IContractAgreementMessage.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractAgreementVerificationMessage.js +0 -2
- package/dist/es/models/contractNegotiation/IContractAgreementVerificationMessage.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractNegotiation.js +0 -2
- package/dist/es/models/contractNegotiation/IContractNegotiation.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractNegotiationError.js +0 -2
- package/dist/es/models/contractNegotiation/IContractNegotiationError.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractNegotiationEventMessage.js +0 -2
- package/dist/es/models/contractNegotiation/IContractNegotiationEventMessage.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractNegotiationTerminationMessage.js +0 -2
- package/dist/es/models/contractNegotiation/IContractNegotiationTerminationMessage.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractOfferMessage.js +0 -2
- package/dist/es/models/contractNegotiation/IContractOfferMessage.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractRequestMessage.js +0 -2
- package/dist/es/models/contractNegotiation/IContractRequestMessage.js.map +0 -1
- package/dist/es/models/contractNegotiation/contractNegotiationTypes.js.map +0 -1
- package/dist/es/models/contractNegotiation/types/contractNegotiationEventType.js.map +0 -1
- package/dist/es/models/contractNegotiation/types/contractNegotiationStateType.js.map +0 -1
- package/dist/es/models/transferProcess/IDataAddress.js +0 -2
- package/dist/es/models/transferProcess/IDataAddress.js.map +0 -1
- package/dist/es/models/transferProcess/IEndpointProperty.js +0 -2
- package/dist/es/models/transferProcess/IEndpointProperty.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferCompletionMessage.js +0 -2
- package/dist/es/models/transferProcess/ITransferCompletionMessage.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferError.js +0 -2
- package/dist/es/models/transferProcess/ITransferError.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferProcess.js +0 -2
- package/dist/es/models/transferProcess/ITransferProcess.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferRequestMessage.js +0 -2
- package/dist/es/models/transferProcess/ITransferRequestMessage.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferStartMessage.js +0 -2
- package/dist/es/models/transferProcess/ITransferStartMessage.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferSuspensionMessage.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferTerminationMessage.js +0 -2
- package/dist/es/models/transferProcess/ITransferTerminationMessage.js.map +0 -1
- package/dist/es/models/transferProcess/transferProcessTypes.js.map +0 -1
- package/dist/es/models/transferProcess/types/transferProcessStateType.js.map +0 -1
- package/dist/es/schemas/TransferProcess.json +0 -109
- package/dist/types/models/catalog/catalogTypes.d.ts +0 -22
- package/dist/types/models/contractNegotiation/contractNegotiationTypes.d.ts +0 -50
- package/dist/types/models/transferProcess/transferProcessTypes.d.ts +0 -46
- package/dist/types/models/transferProcess/types/transferProcessStateType.d.ts +0 -30
- package/docs/reference/interfaces/ITransferProcess.md +0 -74
- package/docs/reference/type-aliases/CatalogTypes.md +0 -5
- package/docs/reference/type-aliases/ContractNegotiationEventType.md +0 -5
- package/docs/reference/type-aliases/ContractNegotiationStateType.md +0 -5
- package/docs/reference/type-aliases/ContractNegotiationTypes.md +0 -5
- package/docs/reference/type-aliases/TransferProcessStateType.md +0 -5
- package/docs/reference/type-aliases/TransferProcessTypes.md +0 -5
- package/docs/reference/variables/CatalogTypes.md +0 -26
- package/docs/reference/variables/ContractNegotiationTypes.md +0 -68
- package/docs/reference/variables/TransferProcessStateType.md +0 -38
- package/docs/reference/variables/TransferProcessTypes.md +0 -62
package/dist/es/index.js
CHANGED
|
@@ -3,36 +3,56 @@
|
|
|
3
3
|
export * from "./models/dataspaceProtocolContexts.js";
|
|
4
4
|
export * from "./models/dataspaceProtocolContextType.js";
|
|
5
5
|
export * from "./dataTypes/dataspaceProtocolDataTypes.js";
|
|
6
|
-
// Catalog Protocol
|
|
7
|
-
export * from "./models/catalog/catalogTypes.js";
|
|
8
|
-
export * from "./models/catalog/ICatalogError.js";
|
|
9
|
-
export * from "./models/catalog/ICatalogRequestMessage.js";
|
|
10
|
-
export * from "./models/catalog/IDatasetRequestMessage.js";
|
|
11
6
|
export * from "./dataTypes/catalogDataTypes.js";
|
|
7
|
+
// Catalog Protocol
|
|
8
|
+
export * from "./models/catalog/dataspaceProtocolCatalogTypes.js";
|
|
9
|
+
export * from "./models/catalog/IDataspaceProtocolCatalogError.js";
|
|
10
|
+
export * from "./models/catalog/IDataspaceProtocolCatalogRequestMessage.js";
|
|
11
|
+
export * from "./models/catalog/IDataspaceProtocolDatasetRequestMessage.js";
|
|
12
|
+
// DCAT3 Variants
|
|
13
|
+
export * from "./models/dcat3/IDataspaceProtocolDataset.js";
|
|
14
|
+
export * from "./models/dcat3/IDataspaceProtocolDatasetNoContext.js";
|
|
15
|
+
export * from "./models/dcat3/IDataspaceProtocolCatalog.js";
|
|
16
|
+
export * from "./models/dcat3/IDataspaceProtocolCatalogNoContext.js";
|
|
17
|
+
export * from "./models/dcat3/IDataspaceProtocolDistribution.js";
|
|
18
|
+
export * from "./models/dcat3/IDataspaceProtocolDistributionNoContext.js";
|
|
19
|
+
export * from "./models/dcat3/IDataspaceProtocolDataService.js";
|
|
20
|
+
export * from "./models/dcat3/IDataspaceProtocolDataServiceNoContext.js";
|
|
21
|
+
// ODRL Variants
|
|
22
|
+
export * from "./models/odrl/IDataspaceProtocolAgreement.js";
|
|
23
|
+
export * from "./models/odrl/IDataspaceProtocolAgreementNoContext.js";
|
|
24
|
+
export * from "./models/odrl/IDataspaceProtocolOffer.js";
|
|
25
|
+
export * from "./models/odrl/IDataspaceProtocolOfferNoContext.js";
|
|
26
|
+
export * from "./models/odrl/IDataspaceProtocolPolicy.js";
|
|
27
|
+
export * from "./models/odrl/IDataspaceProtocolPolicyNoContext.js";
|
|
28
|
+
export * from "./models/odrl/IDataspaceProtocolSet.js";
|
|
29
|
+
export * from "./models/odrl/IDataspaceProtocolSetNoContext.js";
|
|
12
30
|
// Contract Negotiation Protocol
|
|
13
|
-
export * from "./models/contractNegotiation/
|
|
14
|
-
export * from "./models/contractNegotiation/
|
|
15
|
-
export * from "./models/contractNegotiation/
|
|
16
|
-
export * from "./models/contractNegotiation/
|
|
17
|
-
export * from "./models/contractNegotiation/
|
|
18
|
-
export * from "./models/contractNegotiation/
|
|
19
|
-
export * from "./models/contractNegotiation/
|
|
20
|
-
export * from "./models/contractNegotiation/
|
|
21
|
-
export * from "./models/contractNegotiation/
|
|
22
|
-
export * from "./models/contractNegotiation/types/
|
|
23
|
-
export * from "./models/contractNegotiation/types/
|
|
31
|
+
export * from "./models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.js";
|
|
32
|
+
export * from "./models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.js";
|
|
33
|
+
export * from "./models/contractNegotiation/IDataspaceProtocolContractAgreementVerificationMessage.js";
|
|
34
|
+
export * from "./models/contractNegotiation/IDataspaceProtocolContractNegotiation.js";
|
|
35
|
+
export * from "./models/contractNegotiation/IDataspaceProtocolContractNegotiationError.js";
|
|
36
|
+
export * from "./models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.js";
|
|
37
|
+
export * from "./models/contractNegotiation/IDataspaceProtocolContractNegotiationTerminationMessage.js";
|
|
38
|
+
export * from "./models/contractNegotiation/IDataspaceProtocolContractOfferMessage.js";
|
|
39
|
+
export * from "./models/contractNegotiation/IDataspaceProtocolContractRequestMessage.js";
|
|
40
|
+
export * from "./models/contractNegotiation/types/dataspaceProtocolContractNegotiationEventType.js";
|
|
41
|
+
export * from "./models/contractNegotiation/types/dataspaceProtocolContractNegotiationStateType.js";
|
|
24
42
|
export * from "./dataTypes/contractNegotiationDataTypes.js";
|
|
25
43
|
// Transfer Process Protocol
|
|
26
|
-
export * from "./models/transferProcess/
|
|
27
|
-
export * from "./models/transferProcess/
|
|
28
|
-
export * from "./models/transferProcess/
|
|
29
|
-
export * from "./models/transferProcess/
|
|
30
|
-
export * from "./models/transferProcess/
|
|
31
|
-
export * from "./models/transferProcess/
|
|
32
|
-
export * from "./models/transferProcess/
|
|
33
|
-
export * from "./models/transferProcess/
|
|
34
|
-
export * from "./models/transferProcess/
|
|
35
|
-
export * from "./models/transferProcess/
|
|
36
|
-
export * from "./models/transferProcess/types/
|
|
44
|
+
export * from "./models/transferProcess/dataspaceProtocolTransferProcessTypes.js";
|
|
45
|
+
export * from "./models/transferProcess/IDataspaceProtocolDataAddress.js";
|
|
46
|
+
export * from "./models/transferProcess/IDataspaceProtocolEndpointProperty.js";
|
|
47
|
+
export * from "./models/transferProcess/IDataspaceProtocolTransferCompletionMessage.js";
|
|
48
|
+
export * from "./models/transferProcess/IDataspaceProtocolTransferError.js";
|
|
49
|
+
export * from "./models/transferProcess/IDataspaceProtocolTransferProcess.js";
|
|
50
|
+
export * from "./models/transferProcess/IDataspaceProtocolTransferRequestMessage.js";
|
|
51
|
+
export * from "./models/transferProcess/IDataspaceProtocolTransferStartMessage.js";
|
|
52
|
+
export * from "./models/transferProcess/IDataspaceProtocolTransferSuspensionMessage.js";
|
|
53
|
+
export * from "./models/transferProcess/IDataspaceProtocolTransferTerminationMessage.js";
|
|
54
|
+
export * from "./models/transferProcess/types/dataspaceProtocolTransferProcessStateType.js";
|
|
55
|
+
export * from "./models/transferProcess/types/dataspaceProtocolEndpointType.js";
|
|
37
56
|
export * from "./dataTypes/transferProcessDataTypes.js";
|
|
57
|
+
export * from "./utils/dataspaceProtocolHelper.js";
|
|
38
58
|
//# sourceMappingURL=index.js.map
|
package/dist/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iCAAiC,CAAC;AAEhD,mBAAmB;AACnB,cAAc,mDAAmD,CAAC;AAClE,cAAc,oDAAoD,CAAC;AACnE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,6DAA6D,CAAC;AAE5E,iBAAiB;AACjB,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sDAAsD,CAAC;AACrE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sDAAsD,CAAC;AACrE,cAAc,kDAAkD,CAAC;AACjE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,iDAAiD,CAAC;AAChE,cAAc,0DAA0D,CAAC;AAEzE,gBAAgB;AAChB,cAAc,8CAA8C,CAAC;AAC7D,cAAc,uDAAuD,CAAC;AACtE,cAAc,0CAA0C,CAAC;AACzD,cAAc,mDAAmD,CAAC;AAClE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oDAAoD,CAAC;AACnE,cAAc,wCAAwC,CAAC;AACvD,cAAc,iDAAiD,CAAC;AAEhE,gCAAgC;AAChC,cAAc,2EAA2E,CAAC;AAC1F,cAAc,4EAA4E,CAAC;AAC3F,cAAc,wFAAwF,CAAC;AACvG,cAAc,uEAAuE,CAAC;AACtF,cAAc,4EAA4E,CAAC;AAC3F,cAAc,mFAAmF,CAAC;AAClG,cAAc,yFAAyF,CAAC;AACxG,cAAc,wEAAwE,CAAC;AACvF,cAAc,0EAA0E,CAAC;AACzF,cAAc,qFAAqF,CAAC;AACpG,cAAc,qFAAqF,CAAC;AAEpG,cAAc,6CAA6C,CAAC;AAE5D,4BAA4B;AAC5B,cAAc,mEAAmE,CAAC;AAClF,cAAc,2DAA2D,CAAC;AAC1E,cAAc,gEAAgE,CAAC;AAC/E,cAAc,yEAAyE,CAAC;AACxF,cAAc,6DAA6D,CAAC;AAC5E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,sEAAsE,CAAC;AACrF,cAAc,oEAAoE,CAAC;AACnF,cAAc,yEAAyE,CAAC;AACxF,cAAc,0EAA0E,CAAC;AACzF,cAAc,6EAA6E,CAAC;AAC5F,cAAc,iEAAiE,CAAC;AAEhF,cAAc,yCAAyC,CAAC;AAExD,cAAc,oCAAoC,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./models/dataspaceProtocolContexts.js\";\nexport * from \"./models/dataspaceProtocolContextType.js\";\nexport * from \"./dataTypes/dataspaceProtocolDataTypes.js\";\nexport * from \"./dataTypes/catalogDataTypes.js\";\n\n// Catalog Protocol\nexport * from \"./models/catalog/dataspaceProtocolCatalogTypes.js\";\nexport * from \"./models/catalog/IDataspaceProtocolCatalogError.js\";\nexport * from \"./models/catalog/IDataspaceProtocolCatalogRequestMessage.js\";\nexport * from \"./models/catalog/IDataspaceProtocolDatasetRequestMessage.js\";\n\n// DCAT3 Variants\nexport * from \"./models/dcat3/IDataspaceProtocolDataset.js\";\nexport * from \"./models/dcat3/IDataspaceProtocolDatasetNoContext.js\";\nexport * from \"./models/dcat3/IDataspaceProtocolCatalog.js\";\nexport * from \"./models/dcat3/IDataspaceProtocolCatalogNoContext.js\";\nexport * from \"./models/dcat3/IDataspaceProtocolDistribution.js\";\nexport * from \"./models/dcat3/IDataspaceProtocolDistributionNoContext.js\";\nexport * from \"./models/dcat3/IDataspaceProtocolDataService.js\";\nexport * from \"./models/dcat3/IDataspaceProtocolDataServiceNoContext.js\";\n\n// ODRL Variants\nexport * from \"./models/odrl/IDataspaceProtocolAgreement.js\";\nexport * from \"./models/odrl/IDataspaceProtocolAgreementNoContext.js\";\nexport * from \"./models/odrl/IDataspaceProtocolOffer.js\";\nexport * from \"./models/odrl/IDataspaceProtocolOfferNoContext.js\";\nexport * from \"./models/odrl/IDataspaceProtocolPolicy.js\";\nexport * from \"./models/odrl/IDataspaceProtocolPolicyNoContext.js\";\nexport * from \"./models/odrl/IDataspaceProtocolSet.js\";\nexport * from \"./models/odrl/IDataspaceProtocolSetNoContext.js\";\n\n// Contract Negotiation Protocol\nexport * from \"./models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.js\";\nexport * from \"./models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.js\";\nexport * from \"./models/contractNegotiation/IDataspaceProtocolContractAgreementVerificationMessage.js\";\nexport * from \"./models/contractNegotiation/IDataspaceProtocolContractNegotiation.js\";\nexport * from \"./models/contractNegotiation/IDataspaceProtocolContractNegotiationError.js\";\nexport * from \"./models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.js\";\nexport * from \"./models/contractNegotiation/IDataspaceProtocolContractNegotiationTerminationMessage.js\";\nexport * from \"./models/contractNegotiation/IDataspaceProtocolContractOfferMessage.js\";\nexport * from \"./models/contractNegotiation/IDataspaceProtocolContractRequestMessage.js\";\nexport * from \"./models/contractNegotiation/types/dataspaceProtocolContractNegotiationEventType.js\";\nexport * from \"./models/contractNegotiation/types/dataspaceProtocolContractNegotiationStateType.js\";\n\nexport * from \"./dataTypes/contractNegotiationDataTypes.js\";\n\n// Transfer Process Protocol\nexport * from \"./models/transferProcess/dataspaceProtocolTransferProcessTypes.js\";\nexport * from \"./models/transferProcess/IDataspaceProtocolDataAddress.js\";\nexport * from \"./models/transferProcess/IDataspaceProtocolEndpointProperty.js\";\nexport * from \"./models/transferProcess/IDataspaceProtocolTransferCompletionMessage.js\";\nexport * from \"./models/transferProcess/IDataspaceProtocolTransferError.js\";\nexport * from \"./models/transferProcess/IDataspaceProtocolTransferProcess.js\";\nexport * from \"./models/transferProcess/IDataspaceProtocolTransferRequestMessage.js\";\nexport * from \"./models/transferProcess/IDataspaceProtocolTransferStartMessage.js\";\nexport * from \"./models/transferProcess/IDataspaceProtocolTransferSuspensionMessage.js\";\nexport * from \"./models/transferProcess/IDataspaceProtocolTransferTerminationMessage.js\";\nexport * from \"./models/transferProcess/types/dataspaceProtocolTransferProcessStateType.js\";\nexport * from \"./models/transferProcess/types/dataspaceProtocolEndpointType.js\";\n\nexport * from \"./dataTypes/transferProcessDataTypes.js\";\n\nexport * from \"./utils/dataspaceProtocolHelper.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolCatalogError.js","sourceRoot":"","sources":["../../../../src/models/catalog/IDataspaceProtocolCatalogError.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolCatalogTypes } from \"./dataspaceProtocolCatalogTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Catalog Error.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#error-catalog-error\n */\nexport interface IDataspaceProtocolCatalogError {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof DataspaceProtocolCatalogTypes.CatalogError;\n\n\t/**\n\t * The error code.\n\t */\n\tcode: string;\n\n\t/**\n\t * The error reason(s).\n\t */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treason?: any[];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolCatalogRequestMessage.js","sourceRoot":"","sources":["../../../../src/models/catalog/IDataspaceProtocolCatalogRequestMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolCatalogTypes } from \"./dataspaceProtocolCatalogTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Catalog Request Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#catalog-request-message\n */\nexport interface IDataspaceProtocolCatalogRequestMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof DataspaceProtocolCatalogTypes.CatalogRequestMessage;\n\n\t/**\n\t * An implementation-specific query or filter expression.\n\t */\n\tfilter?: unknown[];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolDatasetRequestMessage.js","sourceRoot":"","sources":["../../../../src/models/catalog/IDataspaceProtocolDatasetRequestMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolCatalogTypes } from \"./dataspaceProtocolCatalogTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Dataset Request Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#dataset-request-message\n */\nexport interface IDataspaceProtocolDatasetRequestMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof DataspaceProtocolCatalogTypes.DatasetRequestMessage;\n\n\t/**\n\t * The identifier of the dataset.\n\t */\n\tdataset: string;\n}\n"]}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// Copyright 2025 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* The types for Dataspace Protocol Catalog Protocol.
|
|
5
|
+
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#catalog-protocol
|
|
6
|
+
*/
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
|
+
export const DataspaceProtocolCatalogTypes = {
|
|
9
|
+
/**
|
|
10
|
+
* Catalog Request Message.
|
|
11
|
+
*/
|
|
12
|
+
CatalogRequestMessage: "CatalogRequestMessage",
|
|
13
|
+
/**
|
|
14
|
+
* Dataset Request Message.
|
|
15
|
+
*/
|
|
16
|
+
DatasetRequestMessage: "DatasetRequestMessage",
|
|
17
|
+
/**
|
|
18
|
+
* Catalog Error.
|
|
19
|
+
*/
|
|
20
|
+
CatalogError: "CatalogError",
|
|
21
|
+
/**
|
|
22
|
+
* Dataset.
|
|
23
|
+
*/
|
|
24
|
+
Dataset: "Dataset",
|
|
25
|
+
/**
|
|
26
|
+
* Dataset without JSON-LD context.
|
|
27
|
+
*/
|
|
28
|
+
DatasetNoContext: "DatasetNoContext",
|
|
29
|
+
/**
|
|
30
|
+
* Data Service.
|
|
31
|
+
*/
|
|
32
|
+
DataService: "DataService",
|
|
33
|
+
/**
|
|
34
|
+
* Data Service without JSON-LD context.
|
|
35
|
+
*/
|
|
36
|
+
DataServiceNoContext: "DataServiceNoContext",
|
|
37
|
+
/**
|
|
38
|
+
* Distribution.
|
|
39
|
+
*/
|
|
40
|
+
Distribution: "Distribution",
|
|
41
|
+
/**
|
|
42
|
+
* Distribution without JSON-LD context.
|
|
43
|
+
*/
|
|
44
|
+
DistributionNoContext: "DistributionNoContext",
|
|
45
|
+
/**
|
|
46
|
+
* Catalog.
|
|
47
|
+
*/
|
|
48
|
+
Catalog: "Catalog",
|
|
49
|
+
/**
|
|
50
|
+
* Catalog without JSON-LD context.
|
|
51
|
+
*/
|
|
52
|
+
CatalogNoContext: "CatalogNoContext",
|
|
53
|
+
/**
|
|
54
|
+
* Policy.
|
|
55
|
+
*/
|
|
56
|
+
Policy: "Policy",
|
|
57
|
+
/**
|
|
58
|
+
* Policy without JSON-LD context.
|
|
59
|
+
*/
|
|
60
|
+
PolicyNoContext: "PolicyNoContext",
|
|
61
|
+
/**
|
|
62
|
+
* Offer.
|
|
63
|
+
*/
|
|
64
|
+
Offer: "Offer",
|
|
65
|
+
/**
|
|
66
|
+
* Offer without JSON-LD context.
|
|
67
|
+
*/
|
|
68
|
+
OfferNoContext: "OfferNoContext",
|
|
69
|
+
/**
|
|
70
|
+
* Agreement.
|
|
71
|
+
*/
|
|
72
|
+
Agreement: "Agreement",
|
|
73
|
+
/**
|
|
74
|
+
* Agreement without JSON-LD context.
|
|
75
|
+
*/
|
|
76
|
+
AgreementNoContext: "AgreementNoContext",
|
|
77
|
+
/**
|
|
78
|
+
* Set.
|
|
79
|
+
*/
|
|
80
|
+
Set: "Set",
|
|
81
|
+
/**
|
|
82
|
+
* Set without JSON-LD context.
|
|
83
|
+
*/
|
|
84
|
+
SetNoContext: "SetNoContext"
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=dataspaceProtocolCatalogTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataspaceProtocolCatalogTypes.js","sourceRoot":"","sources":["../../../../src/models/catalog/dataspaceProtocolCatalogTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC5C;;OAEG;IACH,qBAAqB,EAAE,uBAAuB;IAE9C;;OAEG;IACH,qBAAqB,EAAE,uBAAuB;IAE9C;;OAEG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,WAAW,EAAE,aAAa;IAE1B;;OAEG;IACH,oBAAoB,EAAE,sBAAsB;IAE5C;;OAEG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,qBAAqB,EAAE,uBAAuB;IAE9C;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,eAAe,EAAE,iBAAiB;IAElC;;OAEG;IACH,KAAK,EAAE,OAAO;IAEd;;OAEG;IACH,cAAc,EAAE,gBAAgB;IAEhC;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,kBAAkB,EAAE,oBAAoB;IAExC;;OAEG;IACH,GAAG,EAAE,KAAK;IAEV;;OAEG;IACH,YAAY,EAAE,cAAc;CACnB,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types for Dataspace Protocol Catalog Protocol.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#catalog-protocol\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DataspaceProtocolCatalogTypes = {\n\t/**\n\t * Catalog Request Message.\n\t */\n\tCatalogRequestMessage: \"CatalogRequestMessage\",\n\n\t/**\n\t * Dataset Request Message.\n\t */\n\tDatasetRequestMessage: \"DatasetRequestMessage\",\n\n\t/**\n\t * Catalog Error.\n\t */\n\tCatalogError: \"CatalogError\",\n\n\t/**\n\t * Dataset.\n\t */\n\tDataset: \"Dataset\",\n\n\t/**\n\t * Dataset without JSON-LD context.\n\t */\n\tDatasetNoContext: \"DatasetNoContext\",\n\n\t/**\n\t * Data Service.\n\t */\n\tDataService: \"DataService\",\n\n\t/**\n\t * Data Service without JSON-LD context.\n\t */\n\tDataServiceNoContext: \"DataServiceNoContext\",\n\n\t/**\n\t * Distribution.\n\t */\n\tDistribution: \"Distribution\",\n\n\t/**\n\t * Distribution without JSON-LD context.\n\t */\n\tDistributionNoContext: \"DistributionNoContext\",\n\n\t/**\n\t * Catalog.\n\t */\n\tCatalog: \"Catalog\",\n\n\t/**\n\t * Catalog without JSON-LD context.\n\t */\n\tCatalogNoContext: \"CatalogNoContext\",\n\n\t/**\n\t * Policy.\n\t */\n\tPolicy: \"Policy\",\n\n\t/**\n\t * Policy without JSON-LD context.\n\t */\n\tPolicyNoContext: \"PolicyNoContext\",\n\n\t/**\n\t * Offer.\n\t */\n\tOffer: \"Offer\",\n\n\t/**\n\t * Offer without JSON-LD context.\n\t */\n\tOfferNoContext: \"OfferNoContext\",\n\n\t/**\n\t * Agreement.\n\t */\n\tAgreement: \"Agreement\",\n\n\t/**\n\t * Agreement without JSON-LD context.\n\t */\n\tAgreementNoContext: \"AgreementNoContext\",\n\n\t/**\n\t * Set.\n\t */\n\tSet: \"Set\",\n\n\t/**\n\t * Set without JSON-LD context.\n\t */\n\tSetNoContext: \"SetNoContext\"\n} as const;\n\n/**\n * The types for Dataspace Protocol Catalog Protocol.\n */\nexport type DataspaceProtocolCatalogTypes =\n\t(typeof DataspaceProtocolCatalogTypes)[keyof typeof DataspaceProtocolCatalogTypes];\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolContractAgreementMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolContractNegotiationTypes } from \"./dataspaceProtocolContractNegotiationTypes.js\";\nimport type { IDataspaceProtocolAgreementNoContext } from \"../odrl/IDataspaceProtocolAgreementNoContext.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Agreement Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-agreement-message\n */\nexport interface IDataspaceProtocolContractAgreementMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof DataspaceProtocolContractNegotiationTypes.ContractAgreementMessage;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The agreement being sent.\n\t */\n\tagreement: IDataspaceProtocolAgreementNoContext;\n\n\t/**\n\t * The base callback address for the provider to update the consumer on the state of the negotiation.\n\t */\n\tcallbackAddress?: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolContractAgreementVerificationMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IDataspaceProtocolContractAgreementVerificationMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolContractNegotiationTypes } from \"./dataspaceProtocolContractNegotiationTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Agreement Verification Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-agreement-verification-message\n */\nexport interface IDataspaceProtocolContractAgreementVerificationMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof DataspaceProtocolContractNegotiationTypes.ContractAgreementVerificationMessage;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolContractNegotiation.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IDataspaceProtocolContractNegotiation.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolContractNegotiationTypes } from \"./dataspaceProtocolContractNegotiationTypes.js\";\nimport type { DataspaceProtocolContractNegotiationStateType } from \"./types/dataspaceProtocolContractNegotiationStateType.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Agreement Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#ack-contract-negotiation\n */\nexport interface IDataspaceProtocolContractNegotiation {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof DataspaceProtocolContractNegotiationTypes.ContractNegotiation;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The offer being requested.\n\t */\n\tstate: DataspaceProtocolContractNegotiationStateType;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolContractNegotiationError.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IDataspaceProtocolContractNegotiationError.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolContractNegotiationTypes } from \"./dataspaceProtocolContractNegotiationTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Negotiation Error Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#error-contract-negotiation-error\n */\nexport interface IDataspaceProtocolContractNegotiationError {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof DataspaceProtocolContractNegotiationTypes.ContractNegotiationError;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The error code.\n\t */\n\tcode?: string;\n\n\t/**\n\t * The error reason(s).\n\t */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treason?: any[];\n}\n"]}
|
package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolContractNegotiationEventMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolContractNegotiationTypes } from \"./dataspaceProtocolContractNegotiationTypes.js\";\nimport type { DataspaceProtocolContractNegotiationEventType } from \"./types/dataspaceProtocolContractNegotiationEventType.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Negotiation Event Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-event-message\n */\nexport interface IDataspaceProtocolContractNegotiationEventMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof DataspaceProtocolContractNegotiationTypes.ContractNegotiationEventMessage;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The event type.\n\t */\n\tevent: DataspaceProtocolContractNegotiationEventType;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolContractNegotiationTerminationMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IDataspaceProtocolContractNegotiationTerminationMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolContractNegotiationTypes } from \"./dataspaceProtocolContractNegotiationTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Negotiation Termination Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-termination-message\n */\nexport interface IDataspaceProtocolContractNegotiationTerminationMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof DataspaceProtocolContractNegotiationTypes.ContractNegotiationTerminationMessage;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The termination code.\n\t */\n\tcode?: string;\n\n\t/**\n\t * The termination reason(s).\n\t */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treason?: any[];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolContractOfferMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolContractNegotiationTypes } from \"./dataspaceProtocolContractNegotiationTypes.js\";\nimport type { IDataspaceProtocolOfferNoContext } from \"../odrl/IDataspaceProtocolOfferNoContext.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Offer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-offer-message\n */\nexport interface IDataspaceProtocolContractOfferMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof DataspaceProtocolContractNegotiationTypes.ContractOfferMessage;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid?: string;\n\n\t/**\n\t * The offer being requested.\n\t */\n\toffer: IDataspaceProtocolOfferNoContext;\n\n\t/**\n\t * The base callback address for the provider to update the consumer on the state of the negotiation.\n\t */\n\tcallbackAddress?: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolContractRequestMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolContractNegotiationTypes } from \"./dataspaceProtocolContractNegotiationTypes.js\";\nimport type { IDataspaceProtocolOfferNoContext } from \"../odrl/IDataspaceProtocolOfferNoContext.js\";\n\n/**\n * Interface for Dataspace Protocol Contract Request Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-request-message\n */\nexport interface IDataspaceProtocolContractRequestMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof DataspaceProtocolContractNegotiationTypes.ContractRequestMessage;\n\n\t/**\n\t * The provider id for the contract.\n\t */\n\tproviderPid?: string;\n\n\t/**\n\t * The consumer id for the contract.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The offer being requested.\n\t */\n\toffer: IDataspaceProtocolOfferNoContext;\n\n\t/**\n\t * The base callback address for the provider to update the consumer on the state of the negotiation.\n\t */\n\tcallbackAddress?: string;\n}\n"]}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#message-types-0
|
|
6
6
|
*/
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
|
-
export const
|
|
8
|
+
export const DataspaceProtocolContractNegotiationTypes = {
|
|
9
9
|
/**
|
|
10
10
|
* Contract Negotiation.
|
|
11
11
|
*/
|
|
@@ -47,4 +47,4 @@ export const ContractNegotiationTypes = {
|
|
|
47
47
|
*/
|
|
48
48
|
ContractNegotiationStateType: "ContractNegotiationStateType"
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=
|
|
50
|
+
//# sourceMappingURL=dataspaceProtocolContractNegotiationTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataspaceProtocolContractNegotiationTypes.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACxD;;OAEG;IACH,mBAAmB,EAAE,qBAAqB;IAE1C;;OAEG;IACH,sBAAsB,EAAE,wBAAwB;IAEhD;;OAEG;IACH,oBAAoB,EAAE,sBAAsB;IAE5C;;OAEG;IACH,wBAAwB,EAAE,0BAA0B;IAEpD;;OAEG;IACH,oCAAoC,EAAE,sCAAsC;IAE5E;;OAEG;IACH,+BAA+B,EAAE,iCAAiC;IAElE;;OAEG;IACH,qCAAqC,EAAE,uCAAuC;IAE9E;;OAEG;IACH,wBAAwB,EAAE,0BAA0B;IAEpD;;OAEG;IACH,4BAA4B,EAAE,8BAA8B;IAE5D;;OAEG;IACH,4BAA4B,EAAE,8BAA8B;CACnD,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types for Dataspace Protocol Contract Negotiation.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#message-types-0\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DataspaceProtocolContractNegotiationTypes = {\n\t/**\n\t * Contract Negotiation.\n\t */\n\tContractNegotiation: \"ContractNegotiation\",\n\n\t/**\n\t * Contract Request Message.\n\t */\n\tContractRequestMessage: \"ContractRequestMessage\",\n\n\t/**\n\t * Contract Offer Message.\n\t */\n\tContractOfferMessage: \"ContractOfferMessage\",\n\n\t/**\n\t * Contract Agreement Message.\n\t */\n\tContractAgreementMessage: \"ContractAgreementMessage\",\n\n\t/**\n\t * Contract Agreement Verification Message.\n\t */\n\tContractAgreementVerificationMessage: \"ContractAgreementVerificationMessage\",\n\n\t/**\n\t * Contract Negotiation Event Message.\n\t */\n\tContractNegotiationEventMessage: \"ContractNegotiationEventMessage\",\n\n\t/**\n\t * Contract Negotiation Termination Message.\n\t */\n\tContractNegotiationTerminationMessage: \"ContractNegotiationTerminationMessage\",\n\n\t/**\n\t * Contract Negotiation Error.\n\t */\n\tContractNegotiationError: \"ContractNegotiationError\",\n\n\t/**\n\t * Contract Negotiation Event Type.\n\t */\n\tContractNegotiationEventType: \"ContractNegotiationEventType\",\n\n\t/**\n\t * Contract Negotiation State Type.\n\t */\n\tContractNegotiationStateType: \"ContractNegotiationStateType\"\n} as const;\n\n/**\n * The types for Dataspace Protocol Contract Negotiation.\n */\nexport type DataspaceProtocolContractNegotiationTypes =\n\t(typeof DataspaceProtocolContractNegotiationTypes)[keyof typeof DataspaceProtocolContractNegotiationTypes];\n"]}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-event-message
|
|
6
6
|
*/
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
|
-
export const
|
|
8
|
+
export const DataspaceProtocolContractNegotiationEventType = {
|
|
9
9
|
/**
|
|
10
10
|
* Accepted.
|
|
11
11
|
*/
|
|
@@ -15,4 +15,4 @@ export const ContractNegotiationEventType = {
|
|
|
15
15
|
*/
|
|
16
16
|
FINALIZED: "FINALIZED"
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=
|
|
18
|
+
//# sourceMappingURL=dataspaceProtocolContractNegotiationEventType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataspaceProtocolContractNegotiationEventType.js","sourceRoot":"","sources":["../../../../../src/models/contractNegotiation/types/dataspaceProtocolContractNegotiationEventType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,6CAA6C,GAAG;IAC5D;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,SAAS,EAAE,WAAW;CACb,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types for Dataspace Protocol Contract Negotiation Events.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-event-message\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DataspaceProtocolContractNegotiationEventType = {\n\t/**\n\t * Accepted.\n\t */\n\tACCEPTED: \"ACCEPTED\",\n\n\t/**\n\t * Finalized.\n\t */\n\tFINALIZED: \"FINALIZED\"\n} as const;\n\n/**\n * The types for Dataspace Protocol Contract Negotiation Events.\n */\nexport type DataspaceProtocolContractNegotiationEventType =\n\t(typeof DataspaceProtocolContractNegotiationEventType)[keyof typeof DataspaceProtocolContractNegotiationEventType];\n"]}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-states
|
|
6
6
|
*/
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
|
-
export const
|
|
8
|
+
export const DataspaceProtocolContractNegotiationStateType = {
|
|
9
9
|
/**
|
|
10
10
|
* Requested.
|
|
11
11
|
*/
|
|
@@ -35,4 +35,4 @@ export const ContractNegotiationStateType = {
|
|
|
35
35
|
*/
|
|
36
36
|
TERMINATED: "TERMINATED"
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=
|
|
38
|
+
//# sourceMappingURL=dataspaceProtocolContractNegotiationStateType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataspaceProtocolContractNegotiationStateType.js","sourceRoot":"","sources":["../../../../../src/models/contractNegotiation/types/dataspaceProtocolContractNegotiationStateType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,6CAA6C,GAAG;IAC5D;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,UAAU,EAAE,YAAY;CACf,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types for Dataspace Protocol Contract Negotiation States.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-states\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DataspaceProtocolContractNegotiationStateType = {\n\t/**\n\t * Requested.\n\t */\n\tREQUESTED: \"REQUESTED\",\n\n\t/**\n\t * Offered.\n\t */\n\tOFFERED: \"OFFERED\",\n\n\t/**\n\t * Accepted.\n\t */\n\tACCEPTED: \"ACCEPTED\",\n\n\t/**\n\t * Agreed.\n\t */\n\tAGREED: \"AGREED\",\n\n\t/**\n\t * Verified.\n\t */\n\tVERIFIED: \"VERIFIED\",\n\n\t/**\n\t * Finalized.\n\t */\n\tFINALIZED: \"FINALIZED\",\n\n\t/**\n\t * Terminated.\n\t */\n\tTERMINATED: \"TERMINATED\"\n} as const;\n\n/**\n * The types for Dataspace Protocol Contract Negotiation States.\n */\nexport type DataspaceProtocolContractNegotiationStateType =\n\t(typeof DataspaceProtocolContractNegotiationStateType)[keyof typeof DataspaceProtocolContractNegotiationStateType];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataspaceProtocolContextType.js","sourceRoot":"","sources":["../../../src/models/dataspaceProtocolContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { DataspaceProtocolContexts } from \"./dataspaceProtocolContexts.js\";\n\n/**\n * The Dataspace Protocol
|
|
1
|
+
{"version":3,"file":"dataspaceProtocolContextType.js","sourceRoot":"","sources":["../../../src/models/dataspaceProtocolContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { DataspaceProtocolContexts } from \"./dataspaceProtocolContexts.js\";\n\n/**\n * The Dataspace Protocol JSON-LD context type.\n */\nexport type DataspaceProtocolContextType =\n\t| typeof DataspaceProtocolContexts.Context\n\t| [typeof DataspaceProtocolContexts.Context]\n\t| [\n\t\t\t...IJsonLdContextDefinitionElement[],\n\t\t\ttypeof DataspaceProtocolContexts.Context,\n\t\t\tIJsonLdContextDefinitionElement\n\t ]\n\t| [\n\t\t\tIJsonLdContextDefinitionElement,\n\t\t\ttypeof DataspaceProtocolContexts.Context,\n\t\t\t...IJsonLdContextDefinitionElement[]\n\t ];\n"]}
|
|
@@ -6,12 +6,20 @@
|
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
7
|
export const DataspaceProtocolContexts = {
|
|
8
8
|
/**
|
|
9
|
-
* The
|
|
9
|
+
* The canonical RDF namespace URI.
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
Namespace: "https://w3id.org/dspace/2025/1/",
|
|
12
12
|
/**
|
|
13
|
-
* The
|
|
13
|
+
* The value to use in @context.
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
Context: "https://w3id.org/dspace/2025/1/context.jsonld",
|
|
16
|
+
/**
|
|
17
|
+
* The JSON-LD Context URL.
|
|
18
|
+
*/
|
|
19
|
+
JsonLdContext: "https://w3id.org/dspace/2025/1/context.jsonld",
|
|
20
|
+
/**
|
|
21
|
+
* The namespace location of the hosted version of the JSON Schema.
|
|
22
|
+
*/
|
|
23
|
+
JsonSchemaNamespace: "https://schema.twindev.org/dataspace-protocol/"
|
|
16
24
|
};
|
|
17
25
|
//# sourceMappingURL=dataspaceProtocolContexts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataspaceProtocolContexts.js","sourceRoot":"","sources":["../../../src/models/dataspaceProtocolContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACxC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"dataspaceProtocolContexts.js","sourceRoot":"","sources":["../../../src/models/dataspaceProtocolContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACxC;;OAEG;IACH,SAAS,EAAE,iCAAiC;IAE5C;;OAEG;IACH,OAAO,EAAE,+CAA+C;IAExD;;OAEG;IACH,aAAa,EAAE,+CAA+C;IAE9D;;OAEG;IACH,mBAAmB,EAAE,gDAAgD;CAC5D,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts for Dataspace Protocol Protocol.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DataspaceProtocolContexts = {\n\t/**\n\t * The canonical RDF namespace URI.\n\t */\n\tNamespace: \"https://w3id.org/dspace/2025/1/\",\n\n\t/**\n\t * The value to use in @context.\n\t */\n\tContext: \"https://w3id.org/dspace/2025/1/context.jsonld\",\n\n\t/**\n\t * The JSON-LD Context URL.\n\t */\n\tJsonLdContext: \"https://w3id.org/dspace/2025/1/context.jsonld\",\n\n\t/**\n\t * The namespace location of the hosted version of the JSON Schema.\n\t */\n\tJsonSchemaNamespace: \"https://schema.twindev.org/dataspace-protocol/\"\n} as const;\n\n/**\n * The contexts for Dataspace Protocol Protocol.\n */\nexport type DataspaceProtocolContexts =\n\t(typeof DataspaceProtocolContexts)[keyof typeof DataspaceProtocolContexts];\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolCatalog.js","sourceRoot":"","sources":["../../../../src/models/dcat3/IDataspaceProtocolCatalog.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDcatCatalog } from \"@twin.org/standards-w3c-dcat\";\nimport type { DataspaceProtocolCatalogTypes } from \"../catalog/dataspaceProtocolCatalogTypes.js\";\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { IDataspaceProtocolCatalogNoContext } from \"./IDataspaceProtocolCatalogNoContext.js\";\nimport type { IDataspaceProtocolDataServiceNoContext } from \"./IDataspaceProtocolDataServiceNoContext.js\";\nimport type { IDataspaceProtocolDatasetNoContext } from \"./IDataspaceProtocolDatasetNoContext.js\";\nimport type { IDataspaceProtocolDistributionNoContext } from \"./IDataspaceProtocolDistributionNoContext.js\";\n\n/**\n * Catalog interface compliant with Eclipse Data Space Protocol.\n *\n * This interface extends ICatalog and enforces DS Protocol-specific requirements\n * by overriding properties with more specific types and constraints.\n *\n * **Requirements per DS Protocol:**\n * - `@id` MUST be present for dataset identification (REQUIRED)\n * - participantId MUST be present (REQUIRED)\n *\n * **Type System Design:**\n * - Interface extension allows TypeScript to override inherited property types\n * - Standards packages (@twin.org/standards-w3c-*) follow W3C specs exactly\n * - DS Protocol-specific constraints are defined here\n *\n *\n * @see https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#lower-level-types\n * @see https://www.w3.org/TR/vocab-dcat-3/ - W3C DCAT v3 spec\n *\n */\nexport interface IDataspaceProtocolCatalog extends Omit<\n\tIDcatCatalog,\n\t\"@type\" | \"@context\" | \"dcat:catalog\" | \"dcat:dataset\" | \"dcat:distribution\" | \"dcat:service\"\n> {\n\t/**\n\t * LD Context. Required per Eclipse Data Space Protocol.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type identifier for the Catalog.\n\t * REQUIRED per Eclipse Data Space Protocol.\n\t */\n\t\"@type\": typeof DataspaceProtocolCatalogTypes.Catalog;\n\n\t/**\n\t * Unique identifier for the dataset.\n\t * REQUIRED per Eclipse Data Space Protocol.\n\t */\n\t\"@id\": string;\n\n\t/**\n\t * Participant Id\n\t */\n\tparticipantId: string;\n\n\t/**\n\t * Other concerned catalogs\n\t */\n\tcatalog?: IDataspaceProtocolCatalogNoContext | IDataspaceProtocolCatalogNoContext[];\n\n\t/**\n\t * Datasets registered\n\t */\n\tdataset?: IDataspaceProtocolDatasetNoContext | IDataspaceProtocolDatasetNoContext[];\n\n\t/**\n\t * Catalog's distributions\n\t */\n\tdistribution?:\n\t\t| IDataspaceProtocolDistributionNoContext\n\t\t| IDataspaceProtocolDistributionNoContext[];\n\n\t/**\n\t * Data services registered-\n\t */\n\tservice?: IDataspaceProtocolDataServiceNoContext | IDataspaceProtocolDataServiceNoContext[];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolCatalogNoContext.js","sourceRoot":"","sources":["../../../../src/models/dcat3/IDataspaceProtocolCatalogNoContext.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolCatalog } from \"./IDataspaceProtocolCatalog.js\";\n\n/**\n * Catalog interface compliant with Eclipse Data Space Protocol, excluding the `@context` property.\n */\nexport type IDataspaceProtocolCatalogNoContext = Omit<IDataspaceProtocolCatalog, \"@context\">;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolDataService.js","sourceRoot":"","sources":["../../../../src/models/dcat3/IDataspaceProtocolDataService.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDcatDataService } from \"@twin.org/standards-w3c-dcat\";\nimport type { DataspaceProtocolCatalogTypes } from \"../catalog/dataspaceProtocolCatalogTypes.js\";\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { IDataspaceProtocolDatasetNoContext } from \"./IDataspaceProtocolDatasetNoContext.js\";\n\n/**\n * Data Service interface compliant with Eclipse Data Space Protocol.\n *\n * This interface extends IDataService and enforces DS Protocol-specific requirements\n * by overriding properties with more specific types and constraints.\n *\n * **Requirements per DS Protocol:**\n * - `@id` MUST be present for dataset identification (REQUIRED)\n * - endpointURL MUST be present (REQUIRED)\n *\n * **Type System Design:**\n * - Interface extension allows TypeScript to override inherited property types\n * - Standards packages (@twin.org/standards-w3c-*) follow W3C specs exactly\n * - DS Protocol-specific constraints are defined here\n *\n *\n * @see https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#lower-level-types\n * @see https://www.w3.org/TR/vocab-dcat-3/ - W3C DCAT v3 spec\n *\n */\nexport interface IDataspaceProtocolDataService extends Omit<\n\tIDcatDataService,\n\t\"@type\" | \"@context\" | \"dcat:servesDataset\" | \"dcat:endpointURL\"\n> {\n\t/**\n\t * LD Context. Required per Eclipse Data Space Protocol.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type identifier for the Data Service.\n\t * REQUIRED per Eclipse Data Space Protocol.\n\t */\n\t\"@type\": typeof DataspaceProtocolCatalogTypes.DataService;\n\n\t/**\n\t * Unique identifier for the dataset.\n\t * REQUIRED per Eclipse Data Space Protocol.\n\t */\n\t\"@id\": string;\n\n\t/**\n\t * Endpoint URL\n\t */\n\tendpointURL: string;\n\n\t/**\n\t * Datasets served.\n\t */\n\tservesDataset?: IDataspaceProtocolDatasetNoContext | IDataspaceProtocolDatasetNoContext[];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolDataServiceNoContext.js","sourceRoot":"","sources":["../../../../src/models/dcat3/IDataspaceProtocolDataServiceNoContext.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolDataService } from \"./IDataspaceProtocolDataService.js\";\n\n/**\n * Data Service interface compliant with Eclipse Data Space Protocol, excluding the `@context` property.\n */\nexport type IDataspaceProtocolDataServiceNoContext = Omit<\n\tIDataspaceProtocolDataService,\n\t\"@context\"\n>;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolDataset.js","sourceRoot":"","sources":["../../../../src/models/dcat3/IDataspaceProtocolDataset.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDcatDataset } from \"@twin.org/standards-w3c-dcat\";\nimport type { DataspaceProtocolCatalogTypes } from \"../catalog/dataspaceProtocolCatalogTypes.js\";\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { IDataspaceProtocolDistributionNoContext } from \"./IDataspaceProtocolDistributionNoContext.js\";\nimport type { IDataspaceProtocolOfferNoContext } from \"../odrl/IDataspaceProtocolOfferNoContext.js\";\n\n/**\n * Dataset interface compliant with Eclipse Data Space Protocol.\n *\n * This interface extends IDataset and enforces DS Protocol-specific requirements\n * by overriding properties with more specific types and constraints.\n *\n * **Requirements per DS Protocol:**\n * - `@id` MUST be present for dataset identification (REQUIRED)\n * - `odrl:hasPolicy` MUST be present as an array of ODRL Offers (REQUIRED)\n * - Array MUST contain at least one IOdrlOffer\n * - Each Offer MUST have `@type`: \"Offer\"\n * - Each Offer MUST have `@id`\n * - `dcat:distribution` MUST be present (REQUIRED)\n *\n * **Type System Design:**\n * - W3C DCAT spec defines `odrl:hasPolicy` as optional singular `IOdrlPolicy`\n * - DS Protocol requires it as a REQUIRED array of `IOdrlOffer`\n * - Interface extension allows TypeScript to override inherited property types\n * - Standards packages (@twin.org/standards-w3c-*) follow W3C specs exactly\n * - DS Protocol-specific constraints are defined here\n *\n * **Future Compatibility:**\n * - Currently only one Offer per dataset is supported\n * - Array structure allows future support for multiple offers\n *\n * @see https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#lower-level-types\n * @see https://www.w3.org/TR/vocab-dcat-3/ - W3C DCAT v3 spec\n * @see IOdrlOffer from @twin.org/standards-w3c-odrl\n * @see IResource.odrl:hasPolicy from @twin.org/standards-w3c-dcat\n */\nexport interface IDataspaceProtocolDataset extends Omit<\n\tIDcatDataset,\n\t\"odrl:hasPolicy\" | \"dcat:distribution\" | \"@type\" | \"@context\"\n> {\n\t/**\n\t * LD Context. Required per Eclipse Data Space Protocol.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type identifier for the dataset.\n\t * REQUIRED per Eclipse Data Space Protocol.\n\t */\n\t\"@type\": typeof DataspaceProtocolCatalogTypes.Dataset;\n\n\t/**\n\t * Unique identifier for the dataset.\n\t * REQUIRED per Eclipse Data Space Protocol.\n\t */\n\t\"@id\": string;\n\n\t/**\n\t * Array of ODRL policies (Offers) as required by DS Protocol.\n\t *\n\t * REQUIRED per Eclipse Data Space Protocol spec.\n\t * Must contain at least one IOdrlOffer.\n\t * Currently only single offer is supported, but array structure\n\t * allows for future multi-offer support.\n\t */\n\thasPolicy: IDataspaceProtocolOfferNoContext | IDataspaceProtocolOfferNoContext[];\n\n\t/**\n\t * Distribution of the dataset.\n\t * REQUIRED per Eclipse Data Space Protocol.\n\t */\n\tdistribution: IDataspaceProtocolDistributionNoContext | IDataspaceProtocolDistributionNoContext[];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolDatasetNoContext.js","sourceRoot":"","sources":["../../../../src/models/dcat3/IDataspaceProtocolDatasetNoContext.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolDataset } from \"./IDataspaceProtocolDataset.js\";\n\n/**\n * Dataset interface compliant with Eclipse Data Space Protocol, excluding the `@context` property.\n */\nexport type IDataspaceProtocolDatasetNoContext = Omit<IDataspaceProtocolDataset, \"@context\">;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolDistribution.js","sourceRoot":"","sources":["../../../../src/models/dcat3/IDataspaceProtocolDistribution.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDcatDistribution } from \"@twin.org/standards-w3c-dcat\";\nimport type { DataspaceProtocolCatalogTypes } from \"../catalog/dataspaceProtocolCatalogTypes.js\";\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { IDataspaceProtocolDataServiceNoContext } from \"./IDataspaceProtocolDataServiceNoContext.js\";\nimport type { IDataspaceProtocolOfferNoContext } from \"../odrl/IDataspaceProtocolOfferNoContext.js\";\n\n/**\n * Distribution interface compliant with Eclipse Data Space Protocol.\n *\n * This interface extends IDistribution and enforces DS Protocol-specific requirements\n * by overriding properties with more specific types and constraints.\n *\n * **Requirements per DS Protocol:**\n * - `@id` MUST be present for dataset identification (REQUIRED)\n * - `odrl:hasPolicy` MIGHT be present as an array of ODRL Offers (OPTIONAL)\n * - Array MUST contain at least one IOdrlOffer\n * - Each Offer MUST have `@type`: \"Offer\"\n * - `format` is REQUIRED.\n *\n * **Type System Design:**\n * - W3C DCAT spec defines `odrl:hasPolicy` as optional singular `IOdrlPolicy`\n * - DS Protocol requires it as a REQUIRED array of `IOdrlOffer`\n * - Interface extension allows TypeScript to override inherited property types\n * - Standards packages (@twin.org/standards-w3c-*) follow W3C specs exactly\n * - DS Protocol-specific constraints are defined here\n *\n * **Future Compatibility:**\n * - Currently only one Offer per dataset is supported\n * - Array structure allows future support for multiple offers\n *\n * @see https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#lower-level-types\n * @see https://www.w3.org/TR/vocab-dcat-3/ - W3C DCAT v3 spec\n * @see IOdrlOffer from @twin.org/standards-w3c-odrl\n * @see IResource.odrl:hasPolicy from @twin.org/standards-w3c-dcat\n */\nexport interface IDataspaceProtocolDistribution extends Omit<\n\tIDcatDistribution,\n\t\"odrl:hasPolicy\" | \"@type\" | \"@context\" | \"dcterms:format\"\n> {\n\t/**\n\t * LD Context. Required per Eclipse Data Space Protocol.\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * The type identifier for the Distribution.\n\t * REQUIRED per Eclipse Data Space Protocol.\n\t */\n\t\"@type\": typeof DataspaceProtocolCatalogTypes.Distribution;\n\n\t/**\n\t * Unique identifier for the dataset.\n\t * REQUIRED per Eclipse Data Space Protocol.\n\t */\n\t\"@id\": string;\n\n\t/**\n\t * Array of ODRL policies (Offers) as required by DS Protocol.\n\t *\n\t * REQUIRED per Eclipse Data Space Protocol spec.\n\t * Must contain at least one IOdrlOffer.\n\t * Currently only single offer is supported, but array structure\n\t * allows for future multi-offer support.\n\t */\n\thasPolicy?: IDataspaceProtocolOfferNoContext | IDataspaceProtocolOfferNoContext[];\n\n\t/**\n\t * Access service.\n\t * It can be a URI pointing to an access service or inline the access service itself\n\t */\n\taccessService: string | IDataspaceProtocolDataServiceNoContext;\n\n\t/**\n\t * Distribution format.\n\t * REQUIRED per Eclipse Data Space Protocol.\n\t */\n\tformat: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolDistributionNoContext.js","sourceRoot":"","sources":["../../../../src/models/dcat3/IDataspaceProtocolDistributionNoContext.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolDistribution } from \"./IDataspaceProtocolDistribution.js\";\n\n/**\n * Distribution interface compliant with Eclipse Data Space Protocol, excluding the `@context` property.\n */\nexport type IDataspaceProtocolDistributionNoContext = Omit<\n\tIDataspaceProtocolDistribution,\n\t\"@context\"\n>;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolAgreement.js","sourceRoot":"","sources":["../../../../src/models/odrl/IDataspaceProtocolAgreement.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IOdrlAgreement } from \"@twin.org/standards-w3c-odrl\";\n\n/**\n * Agreement interface compliant with Eclipse Data Space Protocol.\n *\n * Extends IOdrlAgreement with DS Protocol-specific constraints:\n * - `@id` is REQUIRED (used as the primary agreement identifier in DS Protocol)\n * - `@context` is omitted (inherited from the parent Dataset/Distribution)\n *\n * @see https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#lower-level-types\n * @see IOdrlAgreement from @twin.org/standards-w3c-odrl\n */\nexport interface IDataspaceProtocolAgreement extends Omit<IOdrlAgreement, \"uid\"> {\n\t/**\n\t * Unique identifier for the agreement.\n\t */\n\t\"@id\": string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolAgreementNoContext.js","sourceRoot":"","sources":["../../../../src/models/odrl/IDataspaceProtocolAgreementNoContext.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolAgreement } from \"./IDataspaceProtocolAgreement.js\";\n\n/**\n * Agreement interface compliant with Eclipse Data Space Protocol, excluding the `@context` property.\n */\nexport type IDataspaceProtocolAgreementNoContext = Omit<IDataspaceProtocolAgreement, \"@context\">;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolOffer.js","sourceRoot":"","sources":["../../../../src/models/odrl/IDataspaceProtocolOffer.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IOdrlOffer } from \"@twin.org/standards-w3c-odrl\";\n\n/**\n * Offer interface compliant with Eclipse Data Space Protocol.\n *\n * Extends IOdrlOffer with DS Protocol-specific constraints:\n * - `@id` is REQUIRED (used as the primary offer identifier in DS Protocol)\n * - `@context` is omitted (inherited from the parent Dataset/Distribution)\n *\n * @see https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#lower-level-types\n * @see IOdrlOffer from @twin.org/standards-w3c-odrl\n */\nexport interface IDataspaceProtocolOffer extends Omit<IOdrlOffer, \"uid\"> {\n\t/**\n\t * Unique identifier for the offer.\n\t */\n\t\"@id\": string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolOfferNoContext.js","sourceRoot":"","sources":["../../../../src/models/odrl/IDataspaceProtocolOfferNoContext.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolOffer } from \"./IDataspaceProtocolOffer.js\";\n\n/**\n * Offer interface compliant with Eclipse Data Space Protocol, excluding the `@context` property.\n */\nexport type IDataspaceProtocolOfferNoContext = Omit<IDataspaceProtocolOffer, \"@context\">;\n"]}
|