@teamleader/focus-api-specification 1.163.0 → 1.165.0

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.
@@ -3,7 +3,7 @@ info:
3
3
  title: Teamleader API
4
4
  description: This is the documentation of the Teamleader Focus API. If you have any feedback, or are you missing functionality to support your use case? Let us know via [api@teamleader.eu](mailto:api@teamleader.eu).
5
5
  contact: {}
6
- version: 1.163.0
6
+ version: 1.165.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -1276,6 +1276,32 @@ paths:
1276
1276
  headers: {}
1277
1277
  content: {}
1278
1278
  deprecated: false
1279
+ /notes.delete:
1280
+ post:
1281
+ tags:
1282
+ - notes
1283
+ summary: notes.delete
1284
+ description: Delete a note.
1285
+ operationId: notes.delete
1286
+ parameters: []
1287
+ requestBody:
1288
+ description: ''
1289
+ content:
1290
+ application/json:
1291
+ schema:
1292
+ allOf:
1293
+ - $ref: '#/components/schemas/notes.delete.request'
1294
+ - example:
1295
+ id: 36386b05-936e-4cc0-9523-bd20d797ebf5
1296
+ example:
1297
+ id: 36386b05-936e-4cc0-9523-bd20d797ebf5
1298
+ required: true
1299
+ responses:
1300
+ '204':
1301
+ description: ''
1302
+ headers: {}
1303
+ content: {}
1304
+ deprecated: false
1279
1305
  /emailTracking.list:
1280
1306
  post:
1281
1307
  tags:
@@ -18056,6 +18082,15 @@ components:
18056
18082
  content:
18057
18083
  type: string
18058
18084
  example: new note content
18085
+ notes.delete.request:
18086
+ title: notes.delete.request
18087
+ required:
18088
+ - id
18089
+ type: object
18090
+ properties:
18091
+ id:
18092
+ type: string
18093
+ example: 36386b05-936e-4cc0-9523-bd20d797ebf5
18059
18094
  EmailTrackingSubjectTypes:
18060
18095
  title: EmailTrackingSubjectTypes
18061
18096
  enum:
@@ -30758,7 +30793,12 @@ components:
30758
30793
  description: 'Create & send an initial autoreply according to configuration (default: automatic).'
30759
30794
  milestone_id:
30760
30795
  type: string
30796
+ description: Links the ticket to a milestone. Only applicable to accounts using legacy projects. A ticket can be linked to either a `milestone_id` or a `project_id`, but not both.
30761
30797
  example: 32665afd-1818-0ed3-9e18-a603a3a21b95
30798
+ project_id:
30799
+ type: string
30800
+ description: Links the ticket to a project. Only applicable to accounts using the new projects. A ticket can be linked to either a `milestone_id` or a `project_id`, but not both.
30801
+ example: 49b403be-a32e-0901-9b1c-25214f9027c6
30762
30802
  tickets.create.response:
30763
30803
  title: tickets.create.response
30764
30804
  type: object
@@ -30820,7 +30860,13 @@ components:
30820
30860
  milestone_id:
30821
30861
  type: string
30822
30862
  nullable: true
30863
+ description: Links the ticket to a milestone. Only applicable to accounts using legacy projects. A ticket can be linked to either a `milestone_id` or a `project_id`, but not both.
30823
30864
  example: 32665afd-1818-0ed3-9e18-a603a3a21b95
30865
+ project_id:
30866
+ type: string
30867
+ nullable: true
30868
+ description: Links the ticket to a project. Only applicable to accounts using the new projects. A ticket can be linked to either a `milestone_id` or a `project_id`, but not both.
30869
+ example: 49b403be-a32e-0901-9b1c-25214f9027c6
30824
30870
  tickets.listMessages.request:
30825
30871
  title: tickets.listMessages.request
30826
30872
  type: object
@@ -0,0 +1,6 @@
1
+ ---
2
+ category: addition
3
+ ---
4
+
5
+ We added the `notes.delete` endpoint.
6
+ We added the `project_id` parameter to the `tickets.create` and `tickets.update` endpoints. Accounts using legacy projects link a ticket to a milestone via `milestone_id`, while accounts using the new projects link a ticket to a project via `project_id`. A ticket can be linked to either a `milestone_id` or a `project_id`, but not both.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@teamleader/focus-api-specification",
3
3
  "description": "Teamleader Focus API Specification",
4
- "version": "1.163.0",
4
+ "version": "1.165.0",
5
5
  "author": "Teamleader <development@teamleader.eu> (https://www.teamleader.eu)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/teamleadercrm/focus-api-specification/issues"