@teamleader/focus-api-specification 1.246.0 → 1.248.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.246.0
6
+ version: 1.248.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -2500,12 +2500,15 @@ paths:
2500
2500
  - contact
2501
2501
  - creditNote
2502
2502
  - deal
2503
+ - incomingCreditNote
2504
+ - incomingInvoice
2503
2505
  - invoice
2504
2506
  - meeting
2505
2507
  - nextgenProject
2506
2508
  - product
2507
2509
  - project
2508
2510
  - quotation
2511
+ - receipt
2509
2512
  - subscription
2510
2513
  type: string
2511
2514
  page:
@@ -2618,11 +2621,14 @@ paths:
2618
2621
  - contact
2619
2622
  - creditNote
2620
2623
  - deal
2624
+ - incomingCreditNote
2625
+ - incomingInvoice
2621
2626
  - invoice
2622
2627
  - meeting
2623
2628
  - nextgenProject
2624
2629
  - product
2625
2630
  - quotation
2631
+ - receipt
2626
2632
  - subscription
2627
2633
  type: string
2628
2634
  content:
@@ -28534,7 +28540,10 @@ paths:
28534
28540
  type: array
28535
28541
  items:
28536
28542
  type: string
28537
- description: ''
28543
+ description: Task ids or nextgen task ids. Passing a nextgen task id returns the task that is linked to that nextgen task.
28544
+ example:
28545
+ - 6fac0bf0-e803-424e-af67-76863a3d7d16
28546
+ - 0193a1c4-5d2e-7b8f-9a01-3c4d5e6f7a8b
28538
28547
  user_id:
28539
28548
  type: string
28540
28549
  description: Returns tasks that are assigned to this user or to a team to which this user belongs. When passing `null`, it returns tasks that are unassigned.
@@ -28896,6 +28905,19 @@ paths:
28896
28905
  properties:
28897
28906
  type:
28898
28907
  example: ticket
28908
+ nextgen_task:
28909
+ type: object
28910
+ nullable: true
28911
+ description: The task in a nextgen project that this task is linked to. Null if the task is not linked to a nextgen task.
28912
+ allOf:
28913
+ - title: TypeAndId
28914
+ type: object
28915
+ properties: *ref_1
28916
+ - required:
28917
+ - id
28918
+ properties:
28919
+ type:
28920
+ example: nextgenTask
28899
28921
  custom_fields:
28900
28922
  type: array
28901
28923
  items:
@@ -28939,6 +28961,9 @@ paths:
28939
28961
  ticket:
28940
28962
  type: ticket
28941
28963
  id: 8607faa8-3d2e-0a66-a71e-e69f447a2ed1
28964
+ nextgen_task:
28965
+ type: nextgenTask
28966
+ id: 0193a1c4-5d2e-7b8f-9a01-3c4d5e6f7a8b
28942
28967
  custom_fields:
28943
28968
  - definition:
28944
28969
  type: customFieldDefinition
@@ -28977,6 +29002,9 @@ paths:
28977
29002
  ticket:
28978
29003
  type: ticket
28979
29004
  id: 8607faa8-3d2e-0a66-a71e-e69f447a2ed1
29005
+ nextgen_task:
29006
+ type: nextgenTask
29007
+ id: 0193a1c4-5d2e-7b8f-9a01-3c4d5e6f7a8b
28980
29008
  custom_fields:
28981
29009
  - definition:
28982
29010
  type: customFieldDefinition
@@ -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.246.0
6
+ version: 1.248.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -14499,6 +14499,9 @@ paths:
14499
14499
  ticket:
14500
14500
  type: ticket
14501
14501
  id: 8607faa8-3d2e-0a66-a71e-e69f447a2ed1
14502
+ nextgen_task:
14503
+ type: nextgenTask
14504
+ id: 0193a1c4-5d2e-7b8f-9a01-3c4d5e6f7a8b
14502
14505
  custom_fields:
14503
14506
  - definition:
14504
14507
  type: customFieldDefinition
@@ -14537,6 +14540,9 @@ paths:
14537
14540
  ticket:
14538
14541
  type: ticket
14539
14542
  id: 8607faa8-3d2e-0a66-a71e-e69f447a2ed1
14543
+ nextgen_task:
14544
+ type: nextgenTask
14545
+ id: 0193a1c4-5d2e-7b8f-9a01-3c4d5e6f7a8b
14540
14546
  custom_fields:
14541
14547
  - definition:
14542
14548
  type: customFieldDefinition
@@ -18295,12 +18301,15 @@ components:
18295
18301
  - contact
18296
18302
  - creditNote
18297
18303
  - deal
18304
+ - incomingCreditNote
18305
+ - incomingInvoice
18298
18306
  - invoice
18299
18307
  - meeting
18300
18308
  - nextgenProject
18301
18309
  - product
18302
18310
  - project
18303
18311
  - quotation
18312
+ - receipt
18304
18313
  - subscription
18305
18314
  type: string
18306
18315
  notes.list.request:
@@ -18357,11 +18366,14 @@ components:
18357
18366
  - contact
18358
18367
  - creditNote
18359
18368
  - deal
18369
+ - incomingCreditNote
18370
+ - incomingInvoice
18360
18371
  - invoice
18361
18372
  - meeting
18362
18373
  - nextgenProject
18363
18374
  - product
18364
18375
  - quotation
18376
+ - receipt
18365
18377
  - subscription
18366
18378
  type: string
18367
18379
  notes.create.request:
@@ -30187,7 +30199,10 @@ components:
30187
30199
  type: array
30188
30200
  items:
30189
30201
  type: string
30190
- description: ''
30202
+ description: Task ids or nextgen task ids. Passing a nextgen task id returns the task that is linked to that nextgen task.
30203
+ example:
30204
+ - 6fac0bf0-e803-424e-af67-76863a3d7d16
30205
+ - 0193a1c4-5d2e-7b8f-9a01-3c4d5e6f7a8b
30191
30206
  user_id:
30192
30207
  type: string
30193
30208
  description: Returns tasks that are assigned to this user or to a team to which this user belongs. When passing `null`, it returns tasks that are unassigned.
@@ -30407,6 +30422,17 @@ components:
30407
30422
  properties:
30408
30423
  type:
30409
30424
  example: ticket
30425
+ nextgen_task:
30426
+ type: object
30427
+ nullable: true
30428
+ description: The task in a nextgen project that this task is linked to. Null if the task is not linked to a nextgen task.
30429
+ allOf:
30430
+ - $ref: '#/components/schemas/TypeAndId'
30431
+ - required:
30432
+ - id
30433
+ properties:
30434
+ type:
30435
+ example: nextgenTask
30410
30436
  custom_fields:
30411
30437
  type: array
30412
30438
  items:
@@ -0,0 +1,5 @@
1
+ ---
2
+ category: addition
3
+ ---
4
+
5
+ We added `nextgen_task` to `tasks.info`, which refers to the task in a nextgen project that this task is linked to.
@@ -0,0 +1,5 @@
1
+ ---
2
+ category: addition
3
+ ---
4
+
5
+ The `ids` filter of `tasks.list` now also accepts nextgen task ids. It returns the task that is linked to each nextgen task.
@@ -0,0 +1,5 @@
1
+ ---
2
+ category: addition
3
+ ---
4
+
5
+ Added `incomingInvoice`, `incomingCreditNote` and `receipt` as types to the `notes.list` filter and response & to the `notes.create` request.
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.246.0",
4
+ "version": "1.248.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"