@unito/integration-api 0.43.11 → 0.43.13

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.
@@ -34,6 +34,7 @@
34
34
  "providerUrl",
35
35
  "updatedAt",
36
36
  "user",
37
+ "parent",
37
38
  null
38
39
  ]
39
40
  },
@@ -44,6 +45,7 @@
44
45
  "comments",
45
46
  "subtasks",
46
47
  "users",
48
+ "attachments",
47
49
  null
48
50
  ]
49
51
  },
@@ -9,6 +9,7 @@
9
9
  400,
10
10
  401,
11
11
  404,
12
+ 406,
12
13
  408,
13
14
  422,
14
15
  429,
@@ -38,6 +38,7 @@ exports.Semantic = void 0;
38
38
  Semantic["PROVIDER_URL"] = "providerUrl";
39
39
  Semantic["UPDATED_AT"] = "updatedAt";
40
40
  Semantic["USER"] = "user";
41
+ Semantic["PARENT"] = "parent";
41
42
  })(exports.Semantic || (exports.Semantic = {}));
42
43
  /**
43
44
  * A Relation Semantic gives meaning to a Relation in the Unito platform. A relation with a
@@ -49,6 +50,7 @@ exports.RelationSemantic = void 0;
49
50
  RelationSemantic["COMMENTS"] = "comments";
50
51
  RelationSemantic["SUBTASKS"] = "subtasks";
51
52
  RelationSemantic["USERS"] = "users";
53
+ RelationSemantic["ATTACHMENTS"] = "attachments";
52
54
  })(exports.RelationSemantic || (exports.RelationSemantic = {}));
53
55
  /**
54
56
  * An OperatorType represents an operator used in a filter.
@@ -79,6 +81,7 @@ exports.StatusCode = void 0;
79
81
  StatusCode[StatusCode["BAD_REQUEST"] = 400] = "BAD_REQUEST";
80
82
  StatusCode[StatusCode["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
81
83
  StatusCode[StatusCode["NOT_FOUND"] = 404] = "NOT_FOUND";
84
+ StatusCode[StatusCode["NOT_ACCEPTABLE"] = 406] = "NOT_ACCEPTABLE";
82
85
  StatusCode[StatusCode["REQUEST_TIMEOUT"] = 408] = "REQUEST_TIMEOUT";
83
86
  StatusCode[StatusCode["UNPROCESSABLE_CONTENT"] = 422] = "UNPROCESSABLE_CONTENT";
84
87
  StatusCode[StatusCode["TOO_MANY_REQUESTS"] = 429] = "TOO_MANY_REQUESTS";
@@ -208,7 +208,8 @@ export declare enum Semantic {
208
208
  DISPLAY_NAME = "displayName",
209
209
  PROVIDER_URL = "providerUrl",
210
210
  UPDATED_AT = "updatedAt",
211
- USER = "user"
211
+ USER = "user",
212
+ PARENT = "parent"
212
213
  }
213
214
  /**
214
215
  * A Relation Semantic gives meaning to a Relation in the Unito platform. A relation with a
@@ -218,7 +219,8 @@ export declare enum Semantic {
218
219
  export declare enum RelationSemantic {
219
220
  COMMENTS = "comments",
220
221
  SUBTASKS = "subtasks",
221
- USERS = "users"
222
+ USERS = "users",
223
+ ATTACHMENTS = "attachments"
222
224
  }
223
225
  /**
224
226
  * An OperatorType represents an operator used in a filter.
@@ -402,6 +404,7 @@ export declare enum StatusCode {
402
404
  BAD_REQUEST = 400,
403
405
  UNAUTHORIZED = 401,
404
406
  NOT_FOUND = 404,
407
+ NOT_ACCEPTABLE = 406,
405
408
  REQUEST_TIMEOUT = 408,
406
409
  UNPROCESSABLE_CONTENT = 422,
407
410
  TOO_MANY_REQUESTS = 429,
package/dist/src/types.js CHANGED
@@ -36,6 +36,7 @@ export var Semantic;
36
36
  Semantic["PROVIDER_URL"] = "providerUrl";
37
37
  Semantic["UPDATED_AT"] = "updatedAt";
38
38
  Semantic["USER"] = "user";
39
+ Semantic["PARENT"] = "parent";
39
40
  })(Semantic || (Semantic = {}));
40
41
  /**
41
42
  * A Relation Semantic gives meaning to a Relation in the Unito platform. A relation with a
@@ -47,6 +48,7 @@ export var RelationSemantic;
47
48
  RelationSemantic["COMMENTS"] = "comments";
48
49
  RelationSemantic["SUBTASKS"] = "subtasks";
49
50
  RelationSemantic["USERS"] = "users";
51
+ RelationSemantic["ATTACHMENTS"] = "attachments";
50
52
  })(RelationSemantic || (RelationSemantic = {}));
51
53
  /**
52
54
  * An OperatorType represents an operator used in a filter.
@@ -77,6 +79,7 @@ export var StatusCode;
77
79
  StatusCode[StatusCode["BAD_REQUEST"] = 400] = "BAD_REQUEST";
78
80
  StatusCode[StatusCode["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
79
81
  StatusCode[StatusCode["NOT_FOUND"] = 404] = "NOT_FOUND";
82
+ StatusCode[StatusCode["NOT_ACCEPTABLE"] = 406] = "NOT_ACCEPTABLE";
80
83
  StatusCode[StatusCode["REQUEST_TIMEOUT"] = 408] = "REQUEST_TIMEOUT";
81
84
  StatusCode[StatusCode["UNPROCESSABLE_CONTENT"] = 422] = "UNPROCESSABLE_CONTENT";
82
85
  StatusCode[StatusCode["TOO_MANY_REQUESTS"] = 429] = "TOO_MANY_REQUESTS";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-api",
3
- "version": "0.43.11",
3
+ "version": "0.43.13",
4
4
  "description": "The Unito Integration API",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",
@@ -16,8 +16,8 @@
16
16
  "dist/schemas/**/*"
17
17
  ],
18
18
  "engines": {
19
- "node": ">=18",
20
- "npm": ">=9.5.0"
19
+ "node": ">=20",
20
+ "npm": ">=10"
21
21
  },
22
22
  "scripts": {
23
23
  "prepublishOnly": "npm run lint && npm run test",
@@ -46,7 +46,7 @@
46
46
  "connectors"
47
47
  ],
48
48
  "devDependencies": {
49
- "@types/node": "18.x",
49
+ "@types/node": "20.x",
50
50
  "@typescript-eslint/eslint-plugin": "7.x",
51
51
  "@typescript-eslint/parser": "7.x",
52
52
  "c8": "9.x",