@unito/integration-api 4.5.0 → 4.5.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.
@@ -7,6 +7,9 @@
7
7
  "itemPath": {
8
8
  "type": "string"
9
9
  },
10
+ "itemSummary": {
11
+ "$ref": "https://unito.io/integration_api/itemSummary.schema.json"
12
+ },
10
13
  "date": {
11
14
  "type": "string"
12
15
  },
@@ -544,9 +544,15 @@ export interface WebhookAcknowledgeResponsePayload {
544
544
  */
545
545
  export interface WebhookParsedItem {
546
546
  /**
547
- * The path of the item targetted by this event.
547
+ * The relative path of the item targeted by this event.
548
+ * @deprecated use the itemSummary instead.
548
549
  */
549
550
  itemPath: string;
551
+ /**
552
+ * The item summary of the item targeted by this event.
553
+ * as much as possible try to provide the canonical path within the item summary even if it's the same.
554
+ */
555
+ itemSummary?: ItemSummary;
550
556
  /**
551
557
  * The date at which the event took place, expressed as an ISO 8601 string.
552
558
  * e.g "2023-11-05T08:15:30.000-05:00"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-api",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "description": "The Unito Integration API",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",