@twin.org/standards-dataspace-protocol 0.0.3-next.2 → 0.0.3-next.20
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/es/dataTypes/catalogDataTypes.js +44 -0
- package/dist/es/dataTypes/catalogDataTypes.js.map +1 -0
- package/dist/es/dataTypes/contractNegotiationDataTypes.js +59 -71
- package/dist/es/dataTypes/contractNegotiationDataTypes.js.map +1 -1
- package/dist/es/dataTypes/dataspaceProtocolDataTypes.js +30 -0
- package/dist/es/dataTypes/dataspaceProtocolDataTypes.js.map +1 -0
- package/dist/es/dataTypes/transferProcessDataTypes.js +64 -0
- package/dist/es/dataTypes/transferProcessDataTypes.js.map +1 -0
- package/dist/es/index.js +40 -14
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/catalog/IDataspaceProtocolCatalog.js +2 -0
- package/dist/es/models/catalog/IDataspaceProtocolCatalog.js.map +1 -0
- 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/IDataspaceProtocolDataService.js +2 -0
- package/dist/es/models/catalog/IDataspaceProtocolDataService.js.map +1 -0
- package/dist/es/models/catalog/IDataspaceProtocolDataset.js +2 -0
- package/dist/es/models/catalog/IDataspaceProtocolDataset.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/IDataspaceProtocolDistribution.js +2 -0
- package/dist/es/models/catalog/IDataspaceProtocolDistribution.js.map +1 -0
- package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js +38 -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} +3 -3
- package/dist/es/models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.js.map +1 -0
- package/dist/es/models/contractNegotiation/types/{contractNegotiationEventType.js → dataspaceProtocolContractNegotiationEventType.js} +3 -3
- package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationEventType.js.map +1 -0
- package/dist/es/models/contractNegotiation/types/{contractNegotiationStateType.js → dataspaceProtocolContractNegotiationStateType.js} +3 -3
- package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationStateType.js.map +1 -0
- package/dist/es/models/dataspaceProtocolContextType.js +2 -0
- package/dist/es/models/dataspaceProtocolContextType.js.map +1 -0
- package/dist/es/models/dataspaceProtocolContexts.js +21 -0
- package/dist/es/models/dataspaceProtocolContexts.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/IDataspaceProtocolTransferSuspensionMessage.js +4 -0
- 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/dataspaceProtocolTransferProcessTypes.js +46 -0
- package/dist/es/models/transferProcess/dataspaceProtocolTransferProcessTypes.js.map +1 -0
- package/dist/es/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.js +30 -0
- package/dist/es/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.js.map +1 -0
- package/dist/es/schemas/DataspaceProtocolCatalog.json +11 -0
- package/dist/es/schemas/DataspaceProtocolCatalogError.json +78 -0
- package/dist/es/schemas/DataspaceProtocolCatalogRequestMessage.json +73 -0
- package/dist/es/schemas/{ContractAgreementMessage.json → DataspaceProtocolContractAgreementMessage.json} +14 -5
- package/dist/es/schemas/{ContractAgreementVerificationMessage.json → DataspaceProtocolContractAgreementVerificationMessage.json} +14 -5
- package/dist/es/schemas/{ContractNegotiation.json → DataspaceProtocolContractNegotiation.json} +15 -6
- package/dist/es/schemas/{ContractNegotiationError.json → DataspaceProtocolContractNegotiationError.json} +15 -39
- package/dist/es/schemas/{ContractNegotiationEventMessage.json → DataspaceProtocolContractNegotiationEventMessage.json} +15 -6
- 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} +14 -5
- package/dist/es/schemas/{ContractOfferMessage.json → DataspaceProtocolContractOfferMessage.json} +14 -5
- package/dist/es/schemas/{ContractRequestMessage.json → DataspaceProtocolContractRequestMessage.json} +14 -5
- package/dist/es/schemas/DataspaceProtocolDataAddress.json +33 -0
- package/dist/es/schemas/DataspaceProtocolDataset.json +11 -0
- package/dist/es/schemas/DataspaceProtocolDatasetRequestMessage.json +73 -0
- package/dist/es/schemas/DataspaceProtocolEndpointProperty.json +27 -0
- package/dist/es/schemas/DataspaceProtocolTransferCompletionMessage.json +78 -0
- package/dist/es/schemas/DataspaceProtocolTransferError.json +87 -0
- package/dist/es/schemas/DataspaceProtocolTransferProcess.json +83 -0
- package/dist/es/schemas/DataspaceProtocolTransferRequestMessage.json +92 -0
- package/dist/es/schemas/DataspaceProtocolTransferStartMessage.json +82 -0
- package/dist/es/schemas/DataspaceProtocolTransferSuspensionMessage.json +87 -0
- package/dist/es/schemas/DataspaceProtocolTransferTerminationMessage.json +87 -0
- 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/dataTypes/catalogDataTypes.d.ts +9 -0
- package/dist/types/dataTypes/contractNegotiationDataTypes.d.ts +1 -5
- package/dist/types/dataTypes/dataspaceProtocolDataTypes.d.ts +13 -0
- package/dist/types/dataTypes/transferProcessDataTypes.d.ts +9 -0
- package/dist/types/index.d.ts +36 -13
- package/dist/types/models/catalog/IDataspaceProtocolCatalog.d.ts +63 -0
- package/dist/types/models/catalog/IDataspaceProtocolCatalogError.d.ts +24 -0
- package/dist/types/models/catalog/IDataspaceProtocolCatalogRequestMessage.d.ts +20 -0
- package/dist/types/models/catalog/IDataspaceProtocolDataService.d.ts +49 -0
- package/dist/types/models/catalog/IDataspaceProtocolDataset.d.ts +66 -0
- package/dist/types/models/catalog/IDataspaceProtocolDatasetRequestMessage.d.ts +20 -0
- package/dist/types/models/catalog/IDataspaceProtocolDistribution.d.ts +70 -0
- package/dist/types/models/catalog/dataspaceProtocolCatalogTypes.d.ts +38 -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} +5 -5
- package/dist/types/models/contractNegotiation/IDataspaceProtocolContractNegotiation.d.ts +29 -0
- package/dist/types/models/contractNegotiation/{IContractNegotiationError.d.ts → IDataspaceProtocolContractNegotiationError.d.ts} +6 -16
- package/dist/types/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.d.ts +29 -0
- package/dist/types/models/contractNegotiation/{IContractNegotiationTerminationMessage.d.ts → IDataspaceProtocolContractNegotiationTerminationMessage.d.ts} +5 -5
- 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 +14 -0
- package/dist/types/models/dataspaceProtocolContexts.d.ts +21 -0
- package/dist/types/models/transferProcess/IDataspaceProtocolDataAddress.d.ts +24 -0
- package/dist/types/models/transferProcess/IDataspaceProtocolEndpointProperty.d.ts +19 -0
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferCompletionMessage.d.ts +24 -0
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferError.d.ts +32 -0
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferProcess.d.ts +29 -0
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferRequestMessage.d.ts +39 -0
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferStartMessage.d.ts +30 -0
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferSuspensionMessage.d.ts +32 -0
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferTerminationMessage.d.ts +32 -0
- package/dist/types/models/transferProcess/dataspaceProtocolTransferProcessTypes.d.ts +46 -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 +314 -0
- package/docs/reference/classes/CatalogDataTypes.md +25 -0
- package/docs/reference/classes/ContractNegotiationDataTypes.md +1 -13
- package/docs/reference/classes/DataspaceProtocolDataTypes.md +37 -0
- package/docs/reference/classes/DataspaceProtocolHelper.md +63 -0
- package/docs/reference/classes/TransferProcessDataTypes.md +25 -0
- package/docs/reference/index.md +43 -17
- package/docs/reference/interfaces/IDataspaceProtocolCatalog.md +96 -0
- package/docs/reference/interfaces/IDataspaceProtocolCatalogError.md +36 -0
- package/docs/reference/interfaces/IDataspaceProtocolCatalogRequestMessage.md +28 -0
- package/docs/reference/interfaces/{IContractAgreementMessage.md → IDataspaceProtocolContractAgreementMessage.md} +3 -3
- package/docs/reference/interfaces/{IContractAgreementVerificationMessage.md → IDataspaceProtocolContractAgreementVerificationMessage.md} +3 -3
- package/docs/reference/interfaces/{IContractNegotiation.md → IDataspaceProtocolContractNegotiation.md} +4 -4
- package/docs/reference/interfaces/{IContractNegotiationError.md → IDataspaceProtocolContractNegotiationError.md} +4 -28
- package/docs/reference/interfaces/{IContractNegotiationEventMessage.md → IDataspaceProtocolContractNegotiationEventMessage.md} +4 -4
- package/docs/reference/interfaces/{IContractNegotiationTerminationMessage.md → IDataspaceProtocolContractNegotiationTerminationMessage.md} +3 -3
- package/docs/reference/interfaces/{IContractOfferMessage.md → IDataspaceProtocolContractOfferMessage.md} +3 -3
- package/docs/reference/interfaces/{IContractRequestMessage.md → IDataspaceProtocolContractRequestMessage.md} +3 -3
- package/docs/reference/interfaces/IDataspaceProtocolDataAddress.md +36 -0
- package/docs/reference/interfaces/IDataspaceProtocolDataService.md +72 -0
- package/docs/reference/interfaces/IDataspaceProtocolDataset.md +90 -0
- package/docs/reference/interfaces/IDataspaceProtocolDatasetRequestMessage.md +28 -0
- package/docs/reference/interfaces/IDataspaceProtocolDistribution.md +98 -0
- package/docs/reference/interfaces/IDataspaceProtocolEndpointProperty.md +28 -0
- package/docs/reference/interfaces/IDataspaceProtocolTransferCompletionMessage.md +36 -0
- package/docs/reference/interfaces/IDataspaceProtocolTransferError.md +52 -0
- package/docs/reference/interfaces/IDataspaceProtocolTransferProcess.md +44 -0
- package/docs/reference/interfaces/IDataspaceProtocolTransferRequestMessage.md +62 -0
- package/docs/reference/interfaces/IDataspaceProtocolTransferStartMessage.md +45 -0
- package/docs/reference/interfaces/IDataspaceProtocolTransferSuspensionMessage.md +52 -0
- package/docs/reference/interfaces/IDataspaceProtocolTransferTerminationMessage.md +52 -0
- package/docs/reference/type-aliases/DataspaceProtocolCatalogTypes.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolContextType.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolContexts.md +5 -0
- 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/DataspaceProtocolTransferProcessStateType.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolTransferProcessTypes.md +5 -0
- package/docs/reference/variables/DataspaceProtocolCatalogTypes.md +50 -0
- package/docs/reference/variables/DataspaceProtocolContexts.md +25 -0
- 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/DataspaceProtocolTransferProcessStateType.md +38 -0
- package/docs/reference/variables/DataspaceProtocolTransferProcessTypes.md +62 -0
- package/locales/en.json +7 -1
- package/package.json +3 -2
- 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/contractNegotiationContextType.js +0 -2
- package/dist/es/models/contractNegotiation/contractNegotiationContextType.js.map +0 -1
- package/dist/es/models/contractNegotiation/contractNegotiationContexts.js +0 -17
- package/dist/es/models/contractNegotiation/contractNegotiationContexts.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/types/models/contractNegotiation/IContractNegotiation.d.ts +0 -29
- package/dist/types/models/contractNegotiation/IContractNegotiationEventMessage.d.ts +0 -29
- package/dist/types/models/contractNegotiation/contractNegotiationContextType.d.ts +0 -14
- package/dist/types/models/contractNegotiation/contractNegotiationContexts.d.ts +0 -17
- package/dist/types/models/contractNegotiation/contractNegotiationTypes.d.ts +0 -50
- package/docs/reference/type-aliases/ContractNegotiationContextType.md +0 -5
- package/docs/reference/type-aliases/ContractNegotiationContexts.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/variables/ContractNegotiationContexts.md +0 -19
- package/docs/reference/variables/ContractNegotiationTypes.md +0 -68
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/standards-dataspace-protocol",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.20",
|
|
4
4
|
"description": "Models which define the structure of Dataspace Protocol",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"@twin.org/core": "next",
|
|
18
18
|
"@twin.org/data-core": "next",
|
|
19
19
|
"@twin.org/data-json-ld": "next",
|
|
20
|
-
"@twin.org/standards-w3c-
|
|
20
|
+
"@twin.org/standards-w3c-dcat": "0.0.3-next.20",
|
|
21
|
+
"@twin.org/standards-w3c-odrl": "0.0.3-next.20",
|
|
21
22
|
"@twin.org/web": "next"
|
|
22
23
|
},
|
|
23
24
|
"main": "./dist/es/index.js",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IContractAgreementMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractAgreementMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IOdrlAgreement } from \"@twin.org/standards-w3c-odrl\";\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.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 IContractAgreementMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.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: IOdrlAgreement;\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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IContractAgreementVerificationMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractAgreementVerificationMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.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 IContractAgreementVerificationMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IContractNegotiation.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractNegotiation.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.js\";\nimport type { ContractNegotiationStateType } from \"./types/contractNegotiationStateType.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 IContractNegotiation {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.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: ContractNegotiationStateType;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IContractNegotiationError.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractNegotiationError.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.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 IContractNegotiationError {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.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\treason?: {\n\t\t\"@value\": string;\n\t\t\"@language\"?: string;\n\t}[];\n\n\t/**\n\t * The error description(s).\n\t */\n\tdescription?: {\n\t\t\"@value\": string;\n\t\t\"@language\"?: string;\n\t}[];\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IContractNegotiationEventMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractNegotiationEventMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.js\";\nimport type { ContractNegotiationEventType } from \"./types/contractNegotiationEventType.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 IContractNegotiationEventMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.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: ContractNegotiationEventType;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IContractNegotiationTerminationMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractNegotiationTerminationMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.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 IContractNegotiationTerminationMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IContractOfferMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractOfferMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IOdrlOffer } from \"@twin.org/standards-w3c-odrl\";\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.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 IContractOfferMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.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: IOdrlOffer;\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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IContractRequestMessage.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/IContractRequestMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IOdrlOffer } from \"@twin.org/standards-w3c-odrl\";\nimport type { ContractNegotiationContextType } from \"./contractNegotiationContextType.js\";\nimport type { ContractNegotiationTypes } from \"./contractNegotiationTypes.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 IContractRequestMessage {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": ContractNegotiationContextType;\n\n\t/**\n\t * The type of the message.\n\t */\n\t\"@type\": typeof ContractNegotiationTypes.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: IOdrlOffer;\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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contractNegotiationContextType.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/contractNegotiationContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { ContractNegotiationContexts } from \"./contractNegotiationContexts.js\";\n\n/**\n * The Dataspace Protocol Contract Negotiation JSON-LD context type.\n */\nexport type ContractNegotiationContextType =\n\t| typeof ContractNegotiationContexts.ContextRoot\n\t| [\n\t\t\t...IJsonLdContextDefinitionElement[],\n\t\t\ttypeof ContractNegotiationContexts.ContextRoot,\n\t\t\tIJsonLdContextDefinitionElement\n\t ]\n\t| [\n\t\t\tIJsonLdContextDefinitionElement,\n\t\t\ttypeof ContractNegotiationContexts.ContextRoot,\n\t\t\t...IJsonLdContextDefinitionElement[]\n\t ];\n"]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// Copyright 2024 IOTA Stiftung.
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
-
/**
|
|
4
|
-
* The contexts for Dataspace Protocol Contract Negotiation Protocol.
|
|
5
|
-
*/
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
-
export const ContractNegotiationContexts = {
|
|
8
|
-
/**
|
|
9
|
-
* The context root for Dataspace Protocol Contract Negotiation Protocol.
|
|
10
|
-
*/
|
|
11
|
-
ContextRoot: "https://w3id.org/dspace/2024/1/context.json",
|
|
12
|
-
/**
|
|
13
|
-
* The context redirect for Dataspace Protocol Contract Negotiation Protocol.
|
|
14
|
-
*/
|
|
15
|
-
ContextRedirect: "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=contractNegotiationContexts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contractNegotiationContexts.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/contractNegotiationContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,2BAA2B,GAAG;IAC1C;;OAEG;IACH,WAAW,EAAE,6CAA6C;IAE1D;;OAEG;IACH,eAAe,EAAE,+CAA+C;CACvD,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts for Dataspace Protocol Contract Negotiation Protocol.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ContractNegotiationContexts = {\n\t/**\n\t * The context root for Dataspace Protocol Contract Negotiation Protocol.\n\t */\n\tContextRoot: \"https://w3id.org/dspace/2024/1/context.json\",\n\n\t/**\n\t * The context redirect for Dataspace Protocol Contract Negotiation Protocol.\n\t */\n\tContextRedirect: \"https://w3id.org/dspace/2025/1/context.jsonld\"\n} as const;\n\n/**\n * The contexts for Dataspace Protocol Contract Negotiation Protocol.\n */\nexport type ContractNegotiationContexts =\n\t(typeof ContractNegotiationContexts)[keyof typeof ContractNegotiationContexts];\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contractNegotiationTypes.js","sourceRoot":"","sources":["../../../../src/models/contractNegotiation/contractNegotiationTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACvC;;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;CAC5D,CAAC","sourcesContent":["// Copyright 2024 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 ContractNegotiationTypes = {\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};\n\n/**\n * The types for Dataspace Protocol Contract Negotiation.\n */\nexport type ContractNegotiationTypes =\n\t(typeof ContractNegotiationTypes)[keyof typeof ContractNegotiationTypes];\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contractNegotiationEventType.js","sourceRoot":"","sources":["../../../../../src/models/contractNegotiation/types/contractNegotiationEventType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC3C;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,SAAS,EAAE,WAAW;CACb,CAAC","sourcesContent":["// Copyright 2024 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 ContractNegotiationEventType = {\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 ContractNegotiationEventType =\n\t(typeof ContractNegotiationEventType)[keyof typeof ContractNegotiationEventType];\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contractNegotiationStateType.js","sourceRoot":"","sources":["../../../../../src/models/contractNegotiation/types/contractNegotiationStateType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC3C;;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 2024 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 ContractNegotiationStateType = {\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 ContractNegotiationStateType =\n\t(typeof ContractNegotiationStateType)[keyof typeof ContractNegotiationStateType];\n"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { ContractNegotiationContextType } from "./contractNegotiationContextType.js";
|
|
2
|
-
import type { ContractNegotiationTypes } from "./contractNegotiationTypes.js";
|
|
3
|
-
import type { ContractNegotiationStateType } from "./types/contractNegotiationStateType.js";
|
|
4
|
-
/**
|
|
5
|
-
* Interface for Dataspace Protocol Contract Agreement Messages.
|
|
6
|
-
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#ack-contract-negotiation
|
|
7
|
-
*/
|
|
8
|
-
export interface IContractNegotiation {
|
|
9
|
-
/**
|
|
10
|
-
* The JSON-LD context.
|
|
11
|
-
*/
|
|
12
|
-
"@context": ContractNegotiationContextType;
|
|
13
|
-
/**
|
|
14
|
-
* The type of the message.
|
|
15
|
-
*/
|
|
16
|
-
"@type": typeof ContractNegotiationTypes.ContractNegotiation;
|
|
17
|
-
/**
|
|
18
|
-
* The provider id for the contract.
|
|
19
|
-
*/
|
|
20
|
-
providerPid: string;
|
|
21
|
-
/**
|
|
22
|
-
* The consumer id for the contract.
|
|
23
|
-
*/
|
|
24
|
-
consumerPid: string;
|
|
25
|
-
/**
|
|
26
|
-
* The offer being requested.
|
|
27
|
-
*/
|
|
28
|
-
state: ContractNegotiationStateType;
|
|
29
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { ContractNegotiationContextType } from "./contractNegotiationContextType.js";
|
|
2
|
-
import type { ContractNegotiationTypes } from "./contractNegotiationTypes.js";
|
|
3
|
-
import type { ContractNegotiationEventType } from "./types/contractNegotiationEventType.js";
|
|
4
|
-
/**
|
|
5
|
-
* Interface for Dataspace Protocol Contract Negotiation Event Messages.
|
|
6
|
-
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#contract-negotiation-event-message
|
|
7
|
-
*/
|
|
8
|
-
export interface IContractNegotiationEventMessage {
|
|
9
|
-
/**
|
|
10
|
-
* The JSON-LD context.
|
|
11
|
-
*/
|
|
12
|
-
"@context": ContractNegotiationContextType;
|
|
13
|
-
/**
|
|
14
|
-
* The type of the message.
|
|
15
|
-
*/
|
|
16
|
-
"@type": typeof ContractNegotiationTypes.ContractNegotiationEventMessage;
|
|
17
|
-
/**
|
|
18
|
-
* The provider id for the contract.
|
|
19
|
-
*/
|
|
20
|
-
providerPid: string;
|
|
21
|
-
/**
|
|
22
|
-
* The consumer id for the contract.
|
|
23
|
-
*/
|
|
24
|
-
consumerPid: string;
|
|
25
|
-
/**
|
|
26
|
-
* The event type.
|
|
27
|
-
*/
|
|
28
|
-
event: ContractNegotiationEventType;
|
|
29
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { IJsonLdContextDefinitionElement } from "@twin.org/data-json-ld";
|
|
2
|
-
import type { ContractNegotiationContexts } from "./contractNegotiationContexts.js";
|
|
3
|
-
/**
|
|
4
|
-
* The Dataspace Protocol Contract Negotiation JSON-LD context type.
|
|
5
|
-
*/
|
|
6
|
-
export type ContractNegotiationContextType = typeof ContractNegotiationContexts.ContextRoot | [
|
|
7
|
-
...IJsonLdContextDefinitionElement[],
|
|
8
|
-
typeof ContractNegotiationContexts.ContextRoot,
|
|
9
|
-
IJsonLdContextDefinitionElement
|
|
10
|
-
] | [
|
|
11
|
-
IJsonLdContextDefinitionElement,
|
|
12
|
-
typeof ContractNegotiationContexts.ContextRoot,
|
|
13
|
-
...IJsonLdContextDefinitionElement[]
|
|
14
|
-
];
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The contexts for Dataspace Protocol Contract Negotiation Protocol.
|
|
3
|
-
*/
|
|
4
|
-
export declare const ContractNegotiationContexts: {
|
|
5
|
-
/**
|
|
6
|
-
* The context root for Dataspace Protocol Contract Negotiation Protocol.
|
|
7
|
-
*/
|
|
8
|
-
readonly ContextRoot: "https://w3id.org/dspace/2024/1/context.json";
|
|
9
|
-
/**
|
|
10
|
-
* The context redirect for Dataspace Protocol Contract Negotiation Protocol.
|
|
11
|
-
*/
|
|
12
|
-
readonly ContextRedirect: "https://w3id.org/dspace/2025/1/context.jsonld";
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* The contexts for Dataspace Protocol Contract Negotiation Protocol.
|
|
16
|
-
*/
|
|
17
|
-
export type ContractNegotiationContexts = (typeof ContractNegotiationContexts)[keyof typeof ContractNegotiationContexts];
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The types for Dataspace Protocol Contract Negotiation.
|
|
3
|
-
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#message-types-0
|
|
4
|
-
*/
|
|
5
|
-
export declare const ContractNegotiationTypes: {
|
|
6
|
-
/**
|
|
7
|
-
* Contract Negotiation.
|
|
8
|
-
*/
|
|
9
|
-
ContractNegotiation: string;
|
|
10
|
-
/**
|
|
11
|
-
* Contract Request Message.
|
|
12
|
-
*/
|
|
13
|
-
ContractRequestMessage: string;
|
|
14
|
-
/**
|
|
15
|
-
* Contract Offer Message.
|
|
16
|
-
*/
|
|
17
|
-
ContractOfferMessage: string;
|
|
18
|
-
/**
|
|
19
|
-
* Contract Agreement Message.
|
|
20
|
-
*/
|
|
21
|
-
ContractAgreementMessage: string;
|
|
22
|
-
/**
|
|
23
|
-
* Contract Agreement Verification Message.
|
|
24
|
-
*/
|
|
25
|
-
ContractAgreementVerificationMessage: string;
|
|
26
|
-
/**
|
|
27
|
-
* Contract Negotiation Event Message.
|
|
28
|
-
*/
|
|
29
|
-
ContractNegotiationEventMessage: string;
|
|
30
|
-
/**
|
|
31
|
-
* Contract Negotiation Termination Message.
|
|
32
|
-
*/
|
|
33
|
-
ContractNegotiationTerminationMessage: string;
|
|
34
|
-
/**
|
|
35
|
-
* Contract Negotiation Error.
|
|
36
|
-
*/
|
|
37
|
-
ContractNegotiationError: string;
|
|
38
|
-
/**
|
|
39
|
-
* Contract Negotiation Event Type.
|
|
40
|
-
*/
|
|
41
|
-
ContractNegotiationEventType: string;
|
|
42
|
-
/**
|
|
43
|
-
* Contract Negotiation State Type.
|
|
44
|
-
*/
|
|
45
|
-
ContractNegotiationStateType: string;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* The types for Dataspace Protocol Contract Negotiation.
|
|
49
|
-
*/
|
|
50
|
-
export type ContractNegotiationTypes = (typeof ContractNegotiationTypes)[keyof typeof ContractNegotiationTypes];
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Type Alias: ContractNegotiationContextType
|
|
2
|
-
|
|
3
|
-
> **ContractNegotiationContextType** = *typeof* [`ContextRoot`](../variables/ContractNegotiationContexts.md#contextroot) \| \[`...IJsonLdContextDefinitionElement[]`, *typeof* [`ContextRoot`](../variables/ContractNegotiationContexts.md#contextroot), `IJsonLdContextDefinitionElement`\] \| \[`IJsonLdContextDefinitionElement`, *typeof* [`ContextRoot`](../variables/ContractNegotiationContexts.md#contextroot), `...IJsonLdContextDefinitionElement[]`\]
|
|
4
|
-
|
|
5
|
-
The Dataspace Protocol Contract Negotiation JSON-LD context type.
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Type Alias: ContractNegotiationContexts
|
|
2
|
-
|
|
3
|
-
> **ContractNegotiationContexts** = *typeof* [`ContractNegotiationContexts`](../variables/ContractNegotiationContexts.md)\[keyof *typeof* [`ContractNegotiationContexts`](../variables/ContractNegotiationContexts.md)\]
|
|
4
|
-
|
|
5
|
-
The contexts for Dataspace Protocol Contract Negotiation Protocol.
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Type Alias: ContractNegotiationEventType
|
|
2
|
-
|
|
3
|
-
> **ContractNegotiationEventType** = *typeof* [`ContractNegotiationEventType`](../variables/ContractNegotiationEventType.md)\[keyof *typeof* [`ContractNegotiationEventType`](../variables/ContractNegotiationEventType.md)\]
|
|
4
|
-
|
|
5
|
-
The types for Dataspace Protocol Contract Negotiation Events.
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Type Alias: ContractNegotiationStateType
|
|
2
|
-
|
|
3
|
-
> **ContractNegotiationStateType** = *typeof* [`ContractNegotiationStateType`](../variables/ContractNegotiationStateType.md)\[keyof *typeof* [`ContractNegotiationStateType`](../variables/ContractNegotiationStateType.md)\]
|
|
4
|
-
|
|
5
|
-
The types for Dataspace Protocol Contract Negotiation States.
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Type Alias: ContractNegotiationTypes
|
|
2
|
-
|
|
3
|
-
> **ContractNegotiationTypes** = *typeof* [`ContractNegotiationTypes`](../variables/ContractNegotiationTypes.md)\[keyof *typeof* [`ContractNegotiationTypes`](../variables/ContractNegotiationTypes.md)\]
|
|
4
|
-
|
|
5
|
-
The types for Dataspace Protocol Contract Negotiation.
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# Variable: ContractNegotiationContexts
|
|
2
|
-
|
|
3
|
-
> `const` **ContractNegotiationContexts**: `object`
|
|
4
|
-
|
|
5
|
-
The contexts for Dataspace Protocol Contract Negotiation Protocol.
|
|
6
|
-
|
|
7
|
-
## Type Declaration
|
|
8
|
-
|
|
9
|
-
### ContextRoot
|
|
10
|
-
|
|
11
|
-
> `readonly` **ContextRoot**: `"https://w3id.org/dspace/2024/1/context.json"` = `"https://w3id.org/dspace/2024/1/context.json"`
|
|
12
|
-
|
|
13
|
-
The context root for Dataspace Protocol Contract Negotiation Protocol.
|
|
14
|
-
|
|
15
|
-
### ContextRedirect
|
|
16
|
-
|
|
17
|
-
> `readonly` **ContextRedirect**: `"https://w3id.org/dspace/2025/1/context.jsonld"` = `"https://w3id.org/dspace/2025/1/context.jsonld"`
|
|
18
|
-
|
|
19
|
-
The context redirect for Dataspace Protocol Contract Negotiation Protocol.
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
# Variable: ContractNegotiationTypes
|
|
2
|
-
|
|
3
|
-
> `const` **ContractNegotiationTypes**: `object`
|
|
4
|
-
|
|
5
|
-
The types for Dataspace Protocol Contract Negotiation.
|
|
6
|
-
https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#message-types-0
|
|
7
|
-
|
|
8
|
-
## Type Declaration
|
|
9
|
-
|
|
10
|
-
### ContractNegotiation
|
|
11
|
-
|
|
12
|
-
> **ContractNegotiation**: `string` = `"ContractNegotiation"`
|
|
13
|
-
|
|
14
|
-
Contract Negotiation.
|
|
15
|
-
|
|
16
|
-
### ContractRequestMessage
|
|
17
|
-
|
|
18
|
-
> **ContractRequestMessage**: `string` = `"ContractRequestMessage"`
|
|
19
|
-
|
|
20
|
-
Contract Request Message.
|
|
21
|
-
|
|
22
|
-
### ContractOfferMessage
|
|
23
|
-
|
|
24
|
-
> **ContractOfferMessage**: `string` = `"ContractOfferMessage"`
|
|
25
|
-
|
|
26
|
-
Contract Offer Message.
|
|
27
|
-
|
|
28
|
-
### ContractAgreementMessage
|
|
29
|
-
|
|
30
|
-
> **ContractAgreementMessage**: `string` = `"ContractAgreementMessage"`
|
|
31
|
-
|
|
32
|
-
Contract Agreement Message.
|
|
33
|
-
|
|
34
|
-
### ContractAgreementVerificationMessage
|
|
35
|
-
|
|
36
|
-
> **ContractAgreementVerificationMessage**: `string` = `"ContractAgreementVerificationMessage"`
|
|
37
|
-
|
|
38
|
-
Contract Agreement Verification Message.
|
|
39
|
-
|
|
40
|
-
### ContractNegotiationEventMessage
|
|
41
|
-
|
|
42
|
-
> **ContractNegotiationEventMessage**: `string` = `"ContractNegotiationEventMessage"`
|
|
43
|
-
|
|
44
|
-
Contract Negotiation Event Message.
|
|
45
|
-
|
|
46
|
-
### ContractNegotiationTerminationMessage
|
|
47
|
-
|
|
48
|
-
> **ContractNegotiationTerminationMessage**: `string` = `"ContractNegotiationTerminationMessage"`
|
|
49
|
-
|
|
50
|
-
Contract Negotiation Termination Message.
|
|
51
|
-
|
|
52
|
-
### ContractNegotiationError
|
|
53
|
-
|
|
54
|
-
> **ContractNegotiationError**: `string` = `"ContractNegotiationError"`
|
|
55
|
-
|
|
56
|
-
Contract Negotiation Error.
|
|
57
|
-
|
|
58
|
-
### ContractNegotiationEventType
|
|
59
|
-
|
|
60
|
-
> **ContractNegotiationEventType**: `string` = `"ContractNegotiationEventType"`
|
|
61
|
-
|
|
62
|
-
Contract Negotiation Event Type.
|
|
63
|
-
|
|
64
|
-
### ContractNegotiationStateType
|
|
65
|
-
|
|
66
|
-
> **ContractNegotiationStateType**: `string` = `"ContractNegotiationStateType"`
|
|
67
|
-
|
|
68
|
-
Contract Negotiation State Type.
|