@hahnpro/hpc-api 2026.6.8 → 2026.7.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # @hahnpro/hpc-api
2
2
 
3
+ # 2026.7.1
4
+ - Added ASSET_ATTACHMENT and CONTENT_ATTACHMENT as ObjectReferences
5
+
3
6
  # 2026.6.7
4
7
 
5
8
  - Added new endpoints to the Dataspace API service client
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hahnpro/hpc-api",
3
- "version": "2026.6.8",
3
+ "version": "2026.7.1",
4
4
  "description": "Module for easy access to the HahnPRO Cloud API",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -16,7 +16,15 @@ export declare enum ObjectReferenceType {
16
16
  /**
17
17
  * Marks an Content as being referenced in an user message.
18
18
  */
19
- USER_MESSAGE_ATTACHMENT = "user_message_attachment"
19
+ USER_MESSAGE_ATTACHMENT = "user_message_attachment",
20
+ /**
21
+ * Marks an Content as being attached to an Asset
22
+ */
23
+ ASSET_ATTACHMENT = "asset_attachment",
24
+ /**
25
+ * Marks an Content as being attached to another Content, e.g. an image attached to a report
26
+ */
27
+ CONTENT_ATTACHMENT = "content_attachment"
20
28
  }
21
29
  export interface ObjectReference {
22
30
  id: number;
@@ -21,4 +21,12 @@ var ObjectReferenceType;
21
21
  * Marks an Content as being referenced in an user message.
22
22
  */
23
23
  ObjectReferenceType["USER_MESSAGE_ATTACHMENT"] = "user_message_attachment";
24
+ /**
25
+ * Marks an Content as being attached to an Asset
26
+ */
27
+ ObjectReferenceType["ASSET_ATTACHMENT"] = "asset_attachment";
28
+ /**
29
+ * Marks an Content as being attached to another Content, e.g. an image attached to a report
30
+ */
31
+ ObjectReferenceType["CONTENT_ATTACHMENT"] = "content_attachment";
24
32
  })(ObjectReferenceType || (exports.ObjectReferenceType = ObjectReferenceType = {}));