@twin.org/federated-catalogue-models 0.0.3-next.18 → 0.0.3-next.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/es/index.js +6 -2
  2. package/dist/es/index.js.map +1 -1
  3. package/dist/es/models/IFederatedCatalogueComponent.js.map +1 -1
  4. package/dist/es/models/IFederatedCatalogueFilter.js.map +1 -1
  5. package/dist/es/models/api/ICatalogRequestRequest.js.map +1 -1
  6. package/dist/es/models/api/IDatasetGetRequest.js +2 -0
  7. package/dist/es/models/api/IDatasetGetRequest.js.map +1 -0
  8. package/dist/es/models/api/IDatasetGetResponse.js +2 -0
  9. package/dist/es/models/api/{IGetDatasetResponse.js.map → IDatasetGetResponse.js.map} +1 -1
  10. package/dist/es/models/api/IDatasetRemoveRequest.js +2 -0
  11. package/dist/es/models/api/IDatasetRemoveRequest.js.map +1 -0
  12. package/dist/es/models/api/IDatasetRemoveResponse.js +2 -0
  13. package/dist/es/models/api/IDatasetRemoveResponse.js.map +1 -0
  14. package/dist/es/models/api/IDatasetSetRequest.js +2 -0
  15. package/dist/es/models/api/IDatasetSetRequest.js.map +1 -0
  16. package/dist/es/models/api/IDatasetSetResponse.js +2 -0
  17. package/dist/es/models/api/IDatasetSetResponse.js.map +1 -0
  18. package/dist/types/index.d.ts +6 -2
  19. package/dist/types/models/IFederatedCatalogueComponent.d.ts +12 -8
  20. package/dist/types/models/IFederatedCatalogueFilter.d.ts +2 -2
  21. package/dist/types/models/api/ICatalogRequestRequest.d.ts +7 -0
  22. package/dist/types/models/api/IDatasetGetRequest.d.ts +21 -0
  23. package/dist/types/models/api/{IGetDatasetResponse.d.ts → IDatasetGetResponse.d.ts} +1 -1
  24. package/dist/types/models/api/IDatasetRemoveRequest.d.ts +21 -0
  25. package/dist/types/models/api/IDatasetRemoveResponse.d.ts +15 -0
  26. package/dist/types/models/api/IDatasetSetRequest.d.ts +17 -0
  27. package/dist/types/models/api/IDatasetSetResponse.d.ts +21 -0
  28. package/docs/changelog.md +7 -0
  29. package/docs/reference/index.md +6 -2
  30. package/docs/reference/interfaces/ICatalogRequestRequest.md +12 -0
  31. package/docs/reference/interfaces/IDatasetGetRequest.md +29 -0
  32. package/docs/reference/interfaces/{IGetDatasetResponse.md → IDatasetGetResponse.md} +1 -1
  33. package/docs/reference/interfaces/IDatasetRemoveRequest.md +29 -0
  34. package/docs/reference/interfaces/IDatasetRemoveResponse.md +19 -0
  35. package/docs/reference/interfaces/IDatasetSetRequest.md +23 -0
  36. package/docs/reference/interfaces/IDatasetSetResponse.md +31 -0
  37. package/docs/reference/interfaces/IFederatedCatalogueComponent.md +40 -16
  38. package/docs/reference/interfaces/IFederatedCatalogueFilter.md +2 -2
  39. package/package.json +1 -1
  40. package/dist/es/models/api/IGetDatasetRequest.js +0 -4
  41. package/dist/es/models/api/IGetDatasetRequest.js.map +0 -1
  42. package/dist/es/models/api/IGetDatasetResponse.js +0 -2
  43. package/dist/types/models/api/IGetDatasetRequest.d.ts +0 -14
  44. package/docs/reference/interfaces/IGetDatasetRequest.md +0 -17
package/dist/es/index.js CHANGED
@@ -3,8 +3,12 @@
3
3
  export * from "./factories/federatedCatalogueFilterFactory.js";
4
4
  export * from "./models/api/ICatalogRequestRequest.js";
5
5
  export * from "./models/api/ICatalogRequestResponse.js";
6
- export * from "./models/api/IGetDatasetRequest.js";
7
- export * from "./models/api/IGetDatasetResponse.js";
6
+ export * from "./models/api/IDatasetGetRequest.js";
7
+ export * from "./models/api/IDatasetGetResponse.js";
8
+ export * from "./models/api/IDatasetRemoveRequest.js";
9
+ export * from "./models/api/IDatasetRemoveResponse.js";
10
+ export * from "./models/api/IDatasetSetRequest.js";
11
+ export * from "./models/api/IDatasetSetResponse.js";
8
12
  export * from "./models/IFederatedCatalogueComponent.js";
9
13
  export * from "./models/IFederatedCatalogueFilter.js";
10
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,gDAAgD,CAAC;AAC/D,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./factories/federatedCatalogueFilterFactory.js\";\nexport * from \"./models/api/ICatalogRequestRequest.js\";\nexport * from \"./models/api/ICatalogRequestResponse.js\";\nexport * from \"./models/api/IGetDatasetRequest.js\";\nexport * from \"./models/api/IGetDatasetResponse.js\";\nexport * from \"./models/IFederatedCatalogueComponent.js\";\nexport * from \"./models/IFederatedCatalogueFilter.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,gDAAgD,CAAC;AAC/D,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./factories/federatedCatalogueFilterFactory.js\";\nexport * from \"./models/api/ICatalogRequestRequest.js\";\nexport * from \"./models/api/ICatalogRequestResponse.js\";\nexport * from \"./models/api/IDatasetGetRequest.js\";\nexport * from \"./models/api/IDatasetGetResponse.js\";\nexport * from \"./models/api/IDatasetRemoveRequest.js\";\nexport * from \"./models/api/IDatasetRemoveResponse.js\";\nexport * from \"./models/api/IDatasetSetRequest.js\";\nexport * from \"./models/api/IDatasetSetResponse.js\";\nexport * from \"./models/IFederatedCatalogueComponent.js\";\nexport * from \"./models/IFederatedCatalogueFilter.js\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IFederatedCatalogueComponent.js","sourceRoot":"","sources":["../../../src/models/IFederatedCatalogueComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type {\n\tIDataspaceProtocolCatalog,\n\tIDataspaceProtocolCatalogError\n} from \"@twin.org/standards-dataspace-protocol\";\nimport type { IDcatDataset } from \"@twin.org/standards-w3c-dcat\";\n\n/**\n * Interface describing a federated catalogue component.\n * Provides Dataspace Protocol-compliant catalog endpoints for dataset registry and query.\n */\nexport interface IFederatedCatalogueComponent extends IComponent {\n\t/**\n\t * Retrieve a dataset by its unique identifier.\n\t * @param dataSetId The unique identifier of the dataset.\n\t * @returns The dataset if found, or a CatalogError if not found or an error occurs.\n\t */\n\tget(dataSetId: string): Promise<IDcatDataset | IDataspaceProtocolCatalogError>;\n\n\t/**\n\t * Insert or update a dataset in the catalogue.\n\t * This method is internal and should not be exposed via REST endpoints.\n\t * @param dataSet The dataset to store.\n\t * @returns Nothing.\n\t */\n\tset(dataSet: IDcatDataset): Promise<void>;\n\n\t/**\n\t * Execute a query against the catalogue using registered filter plugins.\n\t * Returns a DS Protocol compliant Catalog object with participantId.\n\t *\n\t * The root catalog's participantId is the requesting participant (from context).\n\t * Own datasets (matching requestingParticipantId) go directly in root dataset[].\n\t * Other participants' datasets are grouped in nested catalog[] entries.\n\t *\n\t * For anonymous requests (no context), uses the first publisher found as fallback.\n\t * Returns CatalogError 404 when no datasets exist.\n\t *\n\t * @param filter The filter criteria containing @type.\n\t * @param cursor Optional cursor for pagination.\n\t * @param limit Optional limit for pagination.\n\t * @returns Complete IDataspaceProtocolCatalog with @context, @id, @type, participantId, dataset/catalog,\n\t * or IDataspaceProtocolCatalogError if no datasets found.\n\t */\n\tquery(\n\t\tfilter?: unknown[],\n\t\tcursor?: string,\n\t\tlimit?: number\n\t): Promise<{\n\t\tresult: IDataspaceProtocolCatalog | IDataspaceProtocolCatalogError;\n\t\tcursor?: string;\n\t}>;\n\n\t/**\n\t * Remove a dataset from the catalogue by its unique identifier.\n\t * @param dataSetId The unique identifier of the dataset to remove.\n\t * @returns Nothing.\n\t */\n\tremove(dataSetId: string): Promise<void>;\n}\n"]}
1
+ {"version":3,"file":"IFederatedCatalogueComponent.js","sourceRoot":"","sources":["../../../src/models/IFederatedCatalogueComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type {\n\tIDataspaceProtocolCatalog,\n\tIDataspaceProtocolCatalogError\n} from \"@twin.org/standards-dataspace-protocol\";\nimport type { IDcatDataset } from \"@twin.org/standards-w3c-dcat\";\n\n/**\n * Interface describing a federated catalogue component.\n * Provides Dataspace Protocol-compliant catalog endpoints for dataset registry and query.\n */\nexport interface IFederatedCatalogueComponent extends IComponent {\n\t/**\n\t * Retrieve a dataset by its unique identifier.\n\t * @param datasetId The unique identifier of the dataset.\n\t * @param trustPayload Optional payload for trust evaluation, if applicable.\n\t * @returns The dataset if found, or a CatalogError if not found or an error occurs.\n\t */\n\tget(\n\t\tdatasetId: string,\n\t\ttrustPayload: unknown\n\t): Promise<IDcatDataset | IDataspaceProtocolCatalogError>;\n\n\t/**\n\t * Insert or update a dataset in the catalogue.\n\t * This method is internal and should not be exposed via REST endpoints.\n\t * @param dataset The dataset to store.\n\t * @param trustPayload Optional payload for trust evaluation, if applicable.\n\t * @returns The unique identifier of the stored dataset, or a CatalogError if an error occurs.\n\t */\n\tset(\n\t\tdataset: IDcatDataset,\n\t\ttrustPayload: unknown\n\t): Promise<string | IDataspaceProtocolCatalogError>;\n\n\t/**\n\t * Execute a query against the catalogue using registered filter plugins.\n\t * Returns a DS Protocol compliant Catalog object with participantId.\n\t *\n\t * The root catalog's participantId is the requesting participant (from context).\n\t * Own datasets (matching requestingParticipantId) go directly in root dataset[].\n\t * Other participants' datasets are grouped in nested catalog[] entries.\n\t *\n\t * For anonymous requests (no context), uses the first publisher found as fallback.\n\t * Returns CatalogError 404 when no datasets exist.\n\t *\n\t * @param filter The filter criteria containing @type.\n\t * @param cursor Optional cursor for pagination.\n\t * @param limit Optional limit for pagination.\n\t * @param trustPayload Optional payload for trust evaluation, if applicable.\n\t * @returns Complete IDataspaceProtocolCatalog with @context, @id, @type, participantId, dataset/catalog,\n\t * or IDataspaceProtocolCatalogError if no datasets found.\n\t */\n\tquery(\n\t\tfilter: unknown[] | undefined,\n\t\tcursor: string | undefined,\n\t\tlimit: number | undefined,\n\t\ttrustPayload: unknown\n\t): Promise<{\n\t\tresult: IDataspaceProtocolCatalog | IDataspaceProtocolCatalogError;\n\t\tcursor?: string;\n\t}>;\n\n\t/**\n\t * Remove a dataset from the catalogue by its unique identifier.\n\t * @param datasetId The unique identifier of the dataset to remove.\n\t * @param trustPayload Optional payload for trust evaluation, if applicable.\n\t * @returns Nothing.\n\t */\n\tremove(\n\t\tdatasetId: string,\n\t\ttrustPayload: unknown\n\t): Promise<IDataspaceProtocolCatalogError | undefined>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IFederatedCatalogueFilter.js","sourceRoot":"","sources":["../../../src/models/IFederatedCatalogueFilter.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type { IDcatDataset } from \"@twin.org/standards-w3c-dcat\";\n\n/**\n * Interface describing a filter plugin for the federated catalogue.\n * Filter plugins provide extensible query semantics and indexing strategies.\n * Filters are registered by name in the FilterFactory and do not need to self-identify.\n */\nexport interface IFederatedCatalogueFilter extends IComponent {\n\t/**\n\t * Execute a filter-specific query over the catalogue.\n\t * Each filter interprets the payload according to its own semantics.\n\t * @param filter The filter criteria (structure depends on the filter implementation).\n\t * @param cursor The pagination cursor from the previous query, if any.\n\t * @param limit The maximum number of results to return.\n\t * @returns Object containing datasets matching the filter criteria and optional cursor for next page.\n\t */\n\tquery(\n\t\tfilter: unknown,\n\t\tcursor?: string,\n\t\tlimit?: number\n\t): Promise<{ datasets: IDcatDataset[]; cursor?: string }>;\n\n\t/**\n\t * Generate filter indexes for a dataset to optimize future queries.\n\t * Indexes are stored as properties on the dataset entity itself.\n\t * @param dataSet The dataset to index.\n\t * @returns Record mapping filter-specific index keys to values.\n\t */\n\tcreateIndex(dataSet: IDcatDataset): Promise<{ [key: string]: unknown }>;\n}\n"]}
1
+ {"version":3,"file":"IFederatedCatalogueFilter.js","sourceRoot":"","sources":["../../../src/models/IFederatedCatalogueFilter.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type { IDcatDataset } from \"@twin.org/standards-w3c-dcat\";\n\n/**\n * Interface describing a filter plugin for the federated catalogue.\n * Filter plugins provide extensible query semantics and indexing strategies.\n * Filters are registered by name in the FilterFactory and do not need to self-identify.\n */\nexport interface IFederatedCatalogueFilter extends IComponent {\n\t/**\n\t * Execute a filter-specific query over the catalogue.\n\t * Each filter interprets the payload according to its own semantics.\n\t * @param filter The filter criteria (structure depends on the filter implementation).\n\t * @param cursor The pagination cursor from the previous query, if any.\n\t * @param limit The maximum number of results to return.\n\t * @returns Object containing datasets matching the filter criteria and optional cursor for next page.\n\t */\n\tquery(\n\t\tfilter: unknown,\n\t\tcursor?: string,\n\t\tlimit?: number\n\t): Promise<{ datasets: IDcatDataset[]; cursor?: string }>;\n\n\t/**\n\t * Generate filter indexes for a dataset to optimize future queries.\n\t * Indexes are stored as properties on the dataset entity itself.\n\t * @param dataset The dataset to index.\n\t * @returns Record mapping filter-specific index keys to values.\n\t */\n\tcreateIndex(dataset: IDcatDataset): Promise<{ [key: string]: unknown }>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ICatalogRequestRequest.js","sourceRoot":"","sources":["../../../../src/models/api/ICatalogRequestRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolCatalogRequestMessage } from \"@twin.org/standards-dataspace-protocol\";\n\n/**\n * The request parameters for the catalog request method.\n */\nexport interface ICatalogRequestRequest {\n\t/**\n\t * The request body containing the catalog query.\n\t */\n\tbody: IDataspaceProtocolCatalogRequestMessage;\n\n\t/**\n\t * Optional query parameters for pagination.\n\t * Used when following Link header URLs per DS Protocol spec.\n\t */\n\tquery?: {\n\t\t/**\n\t\t * Opaque cursor token for pagination.\n\t\t */\n\t\tcursor?: string;\n\n\t\t/**\n\t\t * Limit for pagination.\n\t\t */\n\t\tlimit?: string;\n\t};\n}\n"]}
1
+ {"version":3,"file":"ICatalogRequestRequest.js","sourceRoot":"","sources":["../../../../src/models/api/ICatalogRequestRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolCatalogRequestMessage } from \"@twin.org/standards-dataspace-protocol\";\nimport type { HeaderTypes } from \"@twin.org/web\";\n\n/**\n * The request parameters for the catalog request method.\n */\nexport interface ICatalogRequestRequest {\n\t/**\n\t * The request headers. Authorization header carries the trust token (Bearer scheme).\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Authorization]?: string;\n\t};\n\n\t/**\n\t * The request body containing the catalog query.\n\t */\n\tbody: IDataspaceProtocolCatalogRequestMessage;\n\n\t/**\n\t * Optional query parameters for pagination.\n\t * Used when following Link header URLs per DS Protocol spec.\n\t */\n\tquery?: {\n\t\t/**\n\t\t * Opaque cursor token for pagination.\n\t\t */\n\t\tcursor?: string;\n\n\t\t/**\n\t\t * Limit for pagination.\n\t\t */\n\t\tlimit?: string;\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IDatasetGetRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDatasetGetRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IDatasetGetRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes } from \"@twin.org/web\";\n\n/**\n * The request parameters for the get dataset method.\n */\nexport interface IDatasetGetRequest {\n\t/**\n\t * The request headers. Authorization header carries the trust token (Bearer scheme).\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Authorization]?: string;\n\t};\n\n\t/**\n\t * The path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The unique identifier of the dataset.\n\t\t */\n\t\tdatasetId: string;\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IDatasetGetResponse.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IGetDatasetResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IGetDatasetResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolCatalogError } from \"@twin.org/standards-dataspace-protocol\";\nimport type { IDcatDataset } from \"@twin.org/standards-w3c-dcat\";\nimport type { HttpStatusCode } from \"@twin.org/web\";\n\n/**\n * The response payload for the get dataset method.\n */\nexport interface IGetDatasetResponse {\n\t/**\n\t * Response status code.\n\t */\n\tstatusCode?: HttpStatusCode;\n\n\t/**\n\t * The response payload containing the dataset or error.\n\t */\n\tbody: IDcatDataset | IDataspaceProtocolCatalogError;\n}\n"]}
1
+ {"version":3,"file":"IDatasetGetResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IDatasetGetResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolCatalogError } from \"@twin.org/standards-dataspace-protocol\";\nimport type { IDcatDataset } from \"@twin.org/standards-w3c-dcat\";\nimport type { HttpStatusCode } from \"@twin.org/web\";\n\n/**\n * The response payload for the get dataset method.\n */\nexport interface IDatasetGetResponse {\n\t/**\n\t * Response status code.\n\t */\n\tstatusCode?: HttpStatusCode;\n\n\t/**\n\t * The response payload containing the dataset or error.\n\t */\n\tbody: IDcatDataset | IDataspaceProtocolCatalogError;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IDatasetRemoveRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDatasetRemoveRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IDatasetRemoveRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes } from \"@twin.org/web\";\n\n/**\n * The request parameters for the remove dataset method.\n */\nexport interface IDatasetRemoveRequest {\n\t/**\n\t * The request headers. Authorization header carries the trust token (Bearer scheme).\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Authorization]?: string;\n\t};\n\n\t/**\n\t * The path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The unique identifier of the dataset.\n\t\t */\n\t\tdatasetId: string;\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IDatasetRemoveResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDatasetRemoveResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IDatasetRemoveResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolCatalogError } from \"@twin.org/standards-dataspace-protocol\";\nimport type { HttpStatusCode } from \"@twin.org/web\";\n\n/**\n * The response payload for the remove dataset method.\n */\nexport interface IDatasetRemoveResponse {\n\t/**\n\t * Response status code.\n\t */\n\tstatusCode?: HttpStatusCode;\n\n\t/**\n\t * The response payload containing the dataset or error.\n\t */\n\tbody?: IDataspaceProtocolCatalogError;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IDatasetSetRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDatasetSetRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IDatasetSetRequest.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 { HeaderTypes } from \"@twin.org/web\";\n\n/**\n * The request parameters for the set dataset method.\n */\nexport interface IDatasetSetRequest {\n\t/**\n\t * The request headers. Authorization header carries the trust token (Bearer scheme).\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Authorization]?: string;\n\t};\n\n\t/**\n\t * The response payload containing the dataset or error.\n\t */\n\tbody: IDcatDataset;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IDatasetSetResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDatasetSetResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IDatasetSetResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolCatalogError } from \"@twin.org/standards-dataspace-protocol\";\nimport type { HeaderTypes, HttpStatusCode } from \"@twin.org/web\";\n\n/**\n * The response payload for the set dataset method.\n */\nexport interface IDatasetSetResponse {\n\t/**\n\t * Response status code.\n\t */\n\tstatusCode?: HttpStatusCode;\n\n\t/**\n\t * Optional headers.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Location]?: string;\n\t};\n\n\t/**\n\t * The response payload containing the dataset or error.\n\t */\n\tbody?: IDataspaceProtocolCatalogError;\n}\n"]}
@@ -1,7 +1,11 @@
1
1
  export * from "./factories/federatedCatalogueFilterFactory.js";
2
2
  export * from "./models/api/ICatalogRequestRequest.js";
3
3
  export * from "./models/api/ICatalogRequestResponse.js";
4
- export * from "./models/api/IGetDatasetRequest.js";
5
- export * from "./models/api/IGetDatasetResponse.js";
4
+ export * from "./models/api/IDatasetGetRequest.js";
5
+ export * from "./models/api/IDatasetGetResponse.js";
6
+ export * from "./models/api/IDatasetRemoveRequest.js";
7
+ export * from "./models/api/IDatasetRemoveResponse.js";
8
+ export * from "./models/api/IDatasetSetRequest.js";
9
+ export * from "./models/api/IDatasetSetResponse.js";
6
10
  export * from "./models/IFederatedCatalogueComponent.js";
7
11
  export * from "./models/IFederatedCatalogueFilter.js";
@@ -8,17 +8,19 @@ import type { IDcatDataset } from "@twin.org/standards-w3c-dcat";
8
8
  export interface IFederatedCatalogueComponent extends IComponent {
9
9
  /**
10
10
  * Retrieve a dataset by its unique identifier.
11
- * @param dataSetId The unique identifier of the dataset.
11
+ * @param datasetId The unique identifier of the dataset.
12
+ * @param trustPayload Optional payload for trust evaluation, if applicable.
12
13
  * @returns The dataset if found, or a CatalogError if not found or an error occurs.
13
14
  */
14
- get(dataSetId: string): Promise<IDcatDataset | IDataspaceProtocolCatalogError>;
15
+ get(datasetId: string, trustPayload: unknown): Promise<IDcatDataset | IDataspaceProtocolCatalogError>;
15
16
  /**
16
17
  * Insert or update a dataset in the catalogue.
17
18
  * This method is internal and should not be exposed via REST endpoints.
18
- * @param dataSet The dataset to store.
19
- * @returns Nothing.
19
+ * @param dataset The dataset to store.
20
+ * @param trustPayload Optional payload for trust evaluation, if applicable.
21
+ * @returns The unique identifier of the stored dataset, or a CatalogError if an error occurs.
20
22
  */
21
- set(dataSet: IDcatDataset): Promise<void>;
23
+ set(dataset: IDcatDataset, trustPayload: unknown): Promise<string | IDataspaceProtocolCatalogError>;
22
24
  /**
23
25
  * Execute a query against the catalogue using registered filter plugins.
24
26
  * Returns a DS Protocol compliant Catalog object with participantId.
@@ -33,17 +35,19 @@ export interface IFederatedCatalogueComponent extends IComponent {
33
35
  * @param filter The filter criteria containing @type.
34
36
  * @param cursor Optional cursor for pagination.
35
37
  * @param limit Optional limit for pagination.
38
+ * @param trustPayload Optional payload for trust evaluation, if applicable.
36
39
  * @returns Complete IDataspaceProtocolCatalog with @context, @id, @type, participantId, dataset/catalog,
37
40
  * or IDataspaceProtocolCatalogError if no datasets found.
38
41
  */
39
- query(filter?: unknown[], cursor?: string, limit?: number): Promise<{
42
+ query(filter: unknown[] | undefined, cursor: string | undefined, limit: number | undefined, trustPayload: unknown): Promise<{
40
43
  result: IDataspaceProtocolCatalog | IDataspaceProtocolCatalogError;
41
44
  cursor?: string;
42
45
  }>;
43
46
  /**
44
47
  * Remove a dataset from the catalogue by its unique identifier.
45
- * @param dataSetId The unique identifier of the dataset to remove.
48
+ * @param datasetId The unique identifier of the dataset to remove.
49
+ * @param trustPayload Optional payload for trust evaluation, if applicable.
46
50
  * @returns Nothing.
47
51
  */
48
- remove(dataSetId: string): Promise<void>;
52
+ remove(datasetId: string, trustPayload: unknown): Promise<IDataspaceProtocolCatalogError | undefined>;
49
53
  }
@@ -21,10 +21,10 @@ export interface IFederatedCatalogueFilter extends IComponent {
21
21
  /**
22
22
  * Generate filter indexes for a dataset to optimize future queries.
23
23
  * Indexes are stored as properties on the dataset entity itself.
24
- * @param dataSet The dataset to index.
24
+ * @param dataset The dataset to index.
25
25
  * @returns Record mapping filter-specific index keys to values.
26
26
  */
27
- createIndex(dataSet: IDcatDataset): Promise<{
27
+ createIndex(dataset: IDcatDataset): Promise<{
28
28
  [key: string]: unknown;
29
29
  }>;
30
30
  }
@@ -1,8 +1,15 @@
1
1
  import type { IDataspaceProtocolCatalogRequestMessage } from "@twin.org/standards-dataspace-protocol";
2
+ import type { HeaderTypes } from "@twin.org/web";
2
3
  /**
3
4
  * The request parameters for the catalog request method.
4
5
  */
5
6
  export interface ICatalogRequestRequest {
7
+ /**
8
+ * The request headers. Authorization header carries the trust token (Bearer scheme).
9
+ */
10
+ headers?: {
11
+ [HeaderTypes.Authorization]?: string;
12
+ };
6
13
  /**
7
14
  * The request body containing the catalog query.
8
15
  */
@@ -0,0 +1,21 @@
1
+ import type { HeaderTypes } from "@twin.org/web";
2
+ /**
3
+ * The request parameters for the get dataset method.
4
+ */
5
+ export interface IDatasetGetRequest {
6
+ /**
7
+ * The request headers. Authorization header carries the trust token (Bearer scheme).
8
+ */
9
+ headers?: {
10
+ [HeaderTypes.Authorization]?: string;
11
+ };
12
+ /**
13
+ * The path parameters.
14
+ */
15
+ pathParams: {
16
+ /**
17
+ * The unique identifier of the dataset.
18
+ */
19
+ datasetId: string;
20
+ };
21
+ }
@@ -4,7 +4,7 @@ import type { HttpStatusCode } from "@twin.org/web";
4
4
  /**
5
5
  * The response payload for the get dataset method.
6
6
  */
7
- export interface IGetDatasetResponse {
7
+ export interface IDatasetGetResponse {
8
8
  /**
9
9
  * Response status code.
10
10
  */
@@ -0,0 +1,21 @@
1
+ import type { HeaderTypes } from "@twin.org/web";
2
+ /**
3
+ * The request parameters for the remove dataset method.
4
+ */
5
+ export interface IDatasetRemoveRequest {
6
+ /**
7
+ * The request headers. Authorization header carries the trust token (Bearer scheme).
8
+ */
9
+ headers?: {
10
+ [HeaderTypes.Authorization]?: string;
11
+ };
12
+ /**
13
+ * The path parameters.
14
+ */
15
+ pathParams: {
16
+ /**
17
+ * The unique identifier of the dataset.
18
+ */
19
+ datasetId: string;
20
+ };
21
+ }
@@ -0,0 +1,15 @@
1
+ import type { IDataspaceProtocolCatalogError } from "@twin.org/standards-dataspace-protocol";
2
+ import type { HttpStatusCode } from "@twin.org/web";
3
+ /**
4
+ * The response payload for the remove dataset method.
5
+ */
6
+ export interface IDatasetRemoveResponse {
7
+ /**
8
+ * Response status code.
9
+ */
10
+ statusCode?: HttpStatusCode;
11
+ /**
12
+ * The response payload containing the dataset or error.
13
+ */
14
+ body?: IDataspaceProtocolCatalogError;
15
+ }
@@ -0,0 +1,17 @@
1
+ import type { IDcatDataset } from "@twin.org/standards-w3c-dcat";
2
+ import type { HeaderTypes } from "@twin.org/web";
3
+ /**
4
+ * The request parameters for the set dataset method.
5
+ */
6
+ export interface IDatasetSetRequest {
7
+ /**
8
+ * The request headers. Authorization header carries the trust token (Bearer scheme).
9
+ */
10
+ headers?: {
11
+ [HeaderTypes.Authorization]?: string;
12
+ };
13
+ /**
14
+ * The response payload containing the dataset or error.
15
+ */
16
+ body: IDcatDataset;
17
+ }
@@ -0,0 +1,21 @@
1
+ import type { IDataspaceProtocolCatalogError } from "@twin.org/standards-dataspace-protocol";
2
+ import type { HeaderTypes, HttpStatusCode } from "@twin.org/web";
3
+ /**
4
+ * The response payload for the set dataset method.
5
+ */
6
+ export interface IDatasetSetResponse {
7
+ /**
8
+ * Response status code.
9
+ */
10
+ statusCode?: HttpStatusCode;
11
+ /**
12
+ * Optional headers.
13
+ */
14
+ headers?: {
15
+ [HeaderTypes.Location]?: string;
16
+ };
17
+ /**
18
+ * The response payload containing the dataset or error.
19
+ */
20
+ body?: IDataspaceProtocolCatalogError;
21
+ }
package/docs/changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.19](https://github.com/iotaledger/twin-federated-catalogue/compare/federated-catalogue-models-v0.0.3-next.18...federated-catalogue-models-v0.0.3-next.19) (2026-06-08)
4
+
5
+
6
+ ### Features
7
+
8
+ * replace sync storage with shared DB and trust-token auth ([#79](https://github.com/iotaledger/twin-federated-catalogue/issues/79)) ([3a07f02](https://github.com/iotaledger/twin-federated-catalogue/commit/3a07f02aba8d6f3540a23e5c2cebc7b0e579ef30))
9
+
3
10
  ## [0.0.3-next.18](https://github.com/iotaledger/twin-federated-catalogue/compare/federated-catalogue-models-v0.0.3-next.17...federated-catalogue-models-v0.0.3-next.18) (2026-06-01)
4
11
 
5
12
 
@@ -6,8 +6,12 @@
6
6
  - [IFederatedCatalogueFilter](interfaces/IFederatedCatalogueFilter.md)
7
7
  - [ICatalogRequestRequest](interfaces/ICatalogRequestRequest.md)
8
8
  - [ICatalogRequestResponse](interfaces/ICatalogRequestResponse.md)
9
- - [IGetDatasetRequest](interfaces/IGetDatasetRequest.md)
10
- - [IGetDatasetResponse](interfaces/IGetDatasetResponse.md)
9
+ - [IDatasetGetRequest](interfaces/IDatasetGetRequest.md)
10
+ - [IDatasetGetResponse](interfaces/IDatasetGetResponse.md)
11
+ - [IDatasetRemoveRequest](interfaces/IDatasetRemoveRequest.md)
12
+ - [IDatasetRemoveResponse](interfaces/IDatasetRemoveResponse.md)
13
+ - [IDatasetSetRequest](interfaces/IDatasetSetRequest.md)
14
+ - [IDatasetSetResponse](interfaces/IDatasetSetResponse.md)
11
15
 
12
16
  ## Variables
13
17
 
@@ -4,6 +4,18 @@ The request parameters for the catalog request method.
4
4
 
5
5
  ## Properties
6
6
 
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The request headers. Authorization header carries the trust token (Bearer scheme).
12
+
13
+ #### authorization?
14
+
15
+ > `optional` **authorization?**: `string`
16
+
17
+ ***
18
+
7
19
  ### body {#body}
8
20
 
9
21
  > **body**: `IDataspaceProtocolCatalogRequestMessage`
@@ -0,0 +1,29 @@
1
+ # Interface: IDatasetGetRequest
2
+
3
+ The request parameters for the get dataset method.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The request headers. Authorization header carries the trust token (Bearer scheme).
12
+
13
+ #### authorization?
14
+
15
+ > `optional` **authorization?**: `string`
16
+
17
+ ***
18
+
19
+ ### pathParams {#pathparams}
20
+
21
+ > **pathParams**: `object`
22
+
23
+ The path parameters.
24
+
25
+ #### datasetId
26
+
27
+ > **datasetId**: `string`
28
+
29
+ The unique identifier of the dataset.
@@ -1,4 +1,4 @@
1
- # Interface: IGetDatasetResponse
1
+ # Interface: IDatasetGetResponse
2
2
 
3
3
  The response payload for the get dataset method.
4
4
 
@@ -0,0 +1,29 @@
1
+ # Interface: IDatasetRemoveRequest
2
+
3
+ The request parameters for the remove dataset method.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The request headers. Authorization header carries the trust token (Bearer scheme).
12
+
13
+ #### authorization?
14
+
15
+ > `optional` **authorization?**: `string`
16
+
17
+ ***
18
+
19
+ ### pathParams {#pathparams}
20
+
21
+ > **pathParams**: `object`
22
+
23
+ The path parameters.
24
+
25
+ #### datasetId
26
+
27
+ > **datasetId**: `string`
28
+
29
+ The unique identifier of the dataset.
@@ -0,0 +1,19 @@
1
+ # Interface: IDatasetRemoveResponse
2
+
3
+ The response payload for the remove dataset method.
4
+
5
+ ## Properties
6
+
7
+ ### statusCode? {#statuscode}
8
+
9
+ > `optional` **statusCode?**: `HttpStatusCode`
10
+
11
+ Response status code.
12
+
13
+ ***
14
+
15
+ ### body? {#body}
16
+
17
+ > `optional` **body?**: `IDataspaceProtocolCatalogError`
18
+
19
+ The response payload containing the dataset or error.
@@ -0,0 +1,23 @@
1
+ # Interface: IDatasetSetRequest
2
+
3
+ The request parameters for the set dataset method.
4
+
5
+ ## Properties
6
+
7
+ ### headers? {#headers}
8
+
9
+ > `optional` **headers?**: `object`
10
+
11
+ The request headers. Authorization header carries the trust token (Bearer scheme).
12
+
13
+ #### authorization?
14
+
15
+ > `optional` **authorization?**: `string`
16
+
17
+ ***
18
+
19
+ ### body {#body}
20
+
21
+ > **body**: `IDcatDataset`
22
+
23
+ The response payload containing the dataset or error.
@@ -0,0 +1,31 @@
1
+ # Interface: IDatasetSetResponse
2
+
3
+ The response payload for the set dataset method.
4
+
5
+ ## Properties
6
+
7
+ ### statusCode? {#statuscode}
8
+
9
+ > `optional` **statusCode?**: `HttpStatusCode`
10
+
11
+ Response status code.
12
+
13
+ ***
14
+
15
+ ### headers? {#headers}
16
+
17
+ > `optional` **headers?**: `object`
18
+
19
+ Optional headers.
20
+
21
+ #### location?
22
+
23
+ > `optional` **location?**: `string`
24
+
25
+ ***
26
+
27
+ ### body? {#body}
28
+
29
+ > `optional` **body?**: `IDataspaceProtocolCatalogError`
30
+
31
+ The response payload containing the dataset or error.
@@ -11,18 +11,24 @@ Provides Dataspace Protocol-compliant catalog endpoints for dataset registry and
11
11
 
12
12
  ### get() {#get}
13
13
 
14
- > **get**(`dataSetId`): `Promise`\<`IDcatDataset` \| `IDataspaceProtocolCatalogError`\>
14
+ > **get**(`datasetId`, `trustPayload`): `Promise`\<`IDcatDataset` \| `IDataspaceProtocolCatalogError`\>
15
15
 
16
16
  Retrieve a dataset by its unique identifier.
17
17
 
18
18
  #### Parameters
19
19
 
20
- ##### dataSetId
20
+ ##### datasetId
21
21
 
22
22
  `string`
23
23
 
24
24
  The unique identifier of the dataset.
25
25
 
26
+ ##### trustPayload
27
+
28
+ `unknown`
29
+
30
+ Optional payload for trust evaluation, if applicable.
31
+
26
32
  #### Returns
27
33
 
28
34
  `Promise`\<`IDcatDataset` \| `IDataspaceProtocolCatalogError`\>
@@ -33,30 +39,36 @@ The dataset if found, or a CatalogError if not found or an error occurs.
33
39
 
34
40
  ### set() {#set}
35
41
 
36
- > **set**(`dataSet`): `Promise`\<`void`\>
42
+ > **set**(`dataset`, `trustPayload`): `Promise`\<`string` \| `IDataspaceProtocolCatalogError`\>
37
43
 
38
44
  Insert or update a dataset in the catalogue.
39
45
  This method is internal and should not be exposed via REST endpoints.
40
46
 
41
47
  #### Parameters
42
48
 
43
- ##### dataSet
49
+ ##### dataset
44
50
 
45
51
  `IDcatDataset`
46
52
 
47
53
  The dataset to store.
48
54
 
55
+ ##### trustPayload
56
+
57
+ `unknown`
58
+
59
+ Optional payload for trust evaluation, if applicable.
60
+
49
61
  #### Returns
50
62
 
51
- `Promise`\<`void`\>
63
+ `Promise`\<`string` \| `IDataspaceProtocolCatalogError`\>
52
64
 
53
- Nothing.
65
+ The unique identifier of the stored dataset, or a CatalogError if an error occurs.
54
66
 
55
67
  ***
56
68
 
57
69
  ### query() {#query}
58
70
 
59
- > **query**(`filter?`, `cursor?`, `limit?`): `Promise`\<\{ `result`: `IDataspaceProtocolCatalog` \| `IDataspaceProtocolCatalogError`; `cursor?`: `string`; \}\>
71
+ > **query**(`filter`, `cursor`, `limit`, `trustPayload`): `Promise`\<\{ `result`: `IDataspaceProtocolCatalog` \| `IDataspaceProtocolCatalogError`; `cursor?`: `string`; \}\>
60
72
 
61
73
  Execute a query against the catalogue using registered filter plugins.
62
74
  Returns a DS Protocol compliant Catalog object with participantId.
@@ -70,24 +82,30 @@ Returns CatalogError 404 when no datasets exist.
70
82
 
71
83
  #### Parameters
72
84
 
73
- ##### filter?
85
+ ##### filter
74
86
 
75
- `unknown`[]
87
+ `unknown`[] \| `undefined`
76
88
 
77
89
  The filter criteria containing @type.
78
90
 
79
- ##### cursor?
91
+ ##### cursor
80
92
 
81
- `string`
93
+ `string` \| `undefined`
82
94
 
83
95
  Optional cursor for pagination.
84
96
 
85
- ##### limit?
97
+ ##### limit
86
98
 
87
- `number`
99
+ `number` \| `undefined`
88
100
 
89
101
  Optional limit for pagination.
90
102
 
103
+ ##### trustPayload
104
+
105
+ `unknown`
106
+
107
+ Optional payload for trust evaluation, if applicable.
108
+
91
109
  #### Returns
92
110
 
93
111
  `Promise`\<\{ `result`: `IDataspaceProtocolCatalog` \| `IDataspaceProtocolCatalogError`; `cursor?`: `string`; \}\>
@@ -99,20 +117,26 @@ or IDataspaceProtocolCatalogError if no datasets found.
99
117
 
100
118
  ### remove() {#remove}
101
119
 
102
- > **remove**(`dataSetId`): `Promise`\<`void`\>
120
+ > **remove**(`datasetId`, `trustPayload`): `Promise`\<`IDataspaceProtocolCatalogError` \| `undefined`\>
103
121
 
104
122
  Remove a dataset from the catalogue by its unique identifier.
105
123
 
106
124
  #### Parameters
107
125
 
108
- ##### dataSetId
126
+ ##### datasetId
109
127
 
110
128
  `string`
111
129
 
112
130
  The unique identifier of the dataset to remove.
113
131
 
132
+ ##### trustPayload
133
+
134
+ `unknown`
135
+
136
+ Optional payload for trust evaluation, if applicable.
137
+
114
138
  #### Returns
115
139
 
116
- `Promise`\<`void`\>
140
+ `Promise`\<`IDataspaceProtocolCatalogError` \| `undefined`\>
117
141
 
118
142
  Nothing.
@@ -47,14 +47,14 @@ Object containing datasets matching the filter criteria and optional cursor for
47
47
 
48
48
  ### createIndex() {#createindex}
49
49
 
50
- > **createIndex**(`dataSet`): `Promise`\<\{\[`key`: `string`\]: `unknown`; \}\>
50
+ > **createIndex**(`dataset`): `Promise`\<\{\[`key`: `string`\]: `unknown`; \}\>
51
51
 
52
52
  Generate filter indexes for a dataset to optimize future queries.
53
53
  Indexes are stored as properties on the dataset entity itself.
54
54
 
55
55
  #### Parameters
56
56
 
57
- ##### dataSet
57
+ ##### dataset
58
58
 
59
59
  `IDcatDataset`
60
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/federated-catalogue-models",
3
- "version": "0.0.3-next.18",
3
+ "version": "0.0.3-next.19",
4
4
  "description": "Models which define the structure of the Federated Catalogue Service",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,4 +0,0 @@
1
- // Copyright 2025 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- export {};
4
- //# sourceMappingURL=IGetDatasetRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IGetDatasetRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IGetDatasetRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The request parameters for the get dataset method.\n */\nexport interface IGetDatasetRequest {\n\t/**\n\t * The path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The unique identifier of the dataset.\n\t\t */\n\t\tdatasetId: string;\n\t};\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IGetDatasetResponse.js.map
@@ -1,14 +0,0 @@
1
- /**
2
- * The request parameters for the get dataset method.
3
- */
4
- export interface IGetDatasetRequest {
5
- /**
6
- * The path parameters.
7
- */
8
- pathParams: {
9
- /**
10
- * The unique identifier of the dataset.
11
- */
12
- datasetId: string;
13
- };
14
- }
@@ -1,17 +0,0 @@
1
- # Interface: IGetDatasetRequest
2
-
3
- The request parameters for the get dataset method.
4
-
5
- ## Properties
6
-
7
- ### pathParams {#pathparams}
8
-
9
- > **pathParams**: `object`
10
-
11
- The path parameters.
12
-
13
- #### datasetId
14
-
15
- > **datasetId**: `string`
16
-
17
- The unique identifier of the dataset.