@teamleader/focus-api-specification 1.147.0 → 1.149.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.147.0
6
+ version: 1.149.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -5604,6 +5604,32 @@ paths:
5604
5604
  headers: {}
5605
5605
  content: {}
5606
5606
  deprecated: false
5607
+ /calls.delete:
5608
+ post:
5609
+ tags:
5610
+ - calls
5611
+ summary: calls.delete
5612
+ description: Deletes a call.
5613
+ operationId: calls.delete
5614
+ parameters: []
5615
+ requestBody:
5616
+ description: ''
5617
+ content:
5618
+ application/json:
5619
+ schema:
5620
+ allOf:
5621
+ - $ref: '#/components/schemas/calls.deleterequest'
5622
+ - example:
5623
+ id: 6fac0bf0-e803-424e-af67-76863a3d7d16
5624
+ example:
5625
+ id: 6fac0bf0-e803-424e-af67-76863a3d7d16
5626
+ required: true
5627
+ responses:
5628
+ '204':
5629
+ description: ''
5630
+ headers: {}
5631
+ content: {}
5632
+ deprecated: false
5607
5633
  /callOutcomes.list:
5608
5634
  post:
5609
5635
  tags:
@@ -11598,6 +11624,21 @@ paths:
11598
11624
  purchase_order_number: '000023'
11599
11625
  company_entity_id: 0d0dec5a-7096-4009-be37-07eab117db07
11600
11626
  color: '#00B2B2'
11627
+ initial_time_tracked:
11628
+ value: 43200
11629
+ unit: minutes
11630
+ initial_price:
11631
+ amount: 123.3
11632
+ currency: EUR
11633
+ initial_cost:
11634
+ amount: 123.3
11635
+ currency: EUR
11636
+ initial_amount_billed:
11637
+ amount: 123.3
11638
+ currency: EUR
11639
+ initial_amount_paid:
11640
+ amount: 123.3
11641
+ currency: EUR
11601
11642
  custom_fields:
11602
11643
  - id: bf6765de-56eb-40ec-ad14-9096c5dc5fe1
11603
11644
  value: '092980616'
@@ -11625,6 +11666,21 @@ paths:
11625
11666
  purchase_order_number: '000023'
11626
11667
  company_entity_id: 0d0dec5a-7096-4009-be37-07eab117db07
11627
11668
  color: '#00B2B2'
11669
+ initial_time_tracked:
11670
+ value: 43200
11671
+ unit: minutes
11672
+ initial_price:
11673
+ amount: 123.3
11674
+ currency: EUR
11675
+ initial_cost:
11676
+ amount: 123.3
11677
+ currency: EUR
11678
+ initial_amount_billed:
11679
+ amount: 123.3
11680
+ currency: EUR
11681
+ initial_amount_paid:
11682
+ amount: 123.3
11683
+ currency: EUR
11628
11684
  custom_fields:
11629
11685
  - id: bf6765de-56eb-40ec-ad14-9096c5dc5fe1
11630
11686
  value: '092980616'
@@ -22330,6 +22386,15 @@ components:
22330
22386
  outcome_summary:
22331
22387
  type: string
22332
22388
  example: Called, but was not available
22389
+ calls.deleterequest:
22390
+ title: calls.deleterequest
22391
+ required:
22392
+ - id
22393
+ type: object
22394
+ properties:
22395
+ id:
22396
+ type: string
22397
+ example: 6fac0bf0-e803-424e-af67-76863a3d7d16
22333
22398
  callOutcomes.listrequest:
22334
22399
  title: callOutcomes.listrequest
22335
22400
  type: object
@@ -27342,6 +27407,46 @@ components:
27342
27407
  allOf:
27343
27408
  - $ref: '#/components/schemas/Color'
27344
27409
  - example: '#00B2B2'
27410
+ initial_time_tracked:
27411
+ type: object
27412
+ nullable: true
27413
+ allOf:
27414
+ - $ref: '#/components/schemas/Time'
27415
+ - properties:
27416
+ unit:
27417
+ type: string
27418
+ enum:
27419
+ - hours
27420
+ - minutes
27421
+ - seconds
27422
+ example: minutes
27423
+ required:
27424
+ - value
27425
+ - unit
27426
+ initial_price:
27427
+ type: object
27428
+ nullable: true
27429
+ description: Must be higher than or equal to zero, and lower than 100000000000 (100 billion).
27430
+ allOf:
27431
+ - $ref: '#/components/schemas/Money'
27432
+ initial_cost:
27433
+ type: object
27434
+ nullable: true
27435
+ description: Must be higher than or equal to zero, and lower than 100000000000 (100 billion).
27436
+ allOf:
27437
+ - $ref: '#/components/schemas/Money'
27438
+ initial_amount_billed:
27439
+ type: object
27440
+ nullable: true
27441
+ description: Must be higher than or equal to zero, and lower than 100000000000 (100 billion).
27442
+ allOf:
27443
+ - $ref: '#/components/schemas/Money'
27444
+ initial_amount_paid:
27445
+ type: object
27446
+ nullable: true
27447
+ description: Must be higher than or equal to zero, and lower than 100000000000 (100 billion).
27448
+ allOf:
27449
+ - $ref: '#/components/schemas/Money'
27345
27450
  custom_fields:
27346
27451
  type: array
27347
27452
  items:
@@ -0,0 +1,5 @@
1
+ ---
2
+ category: addition
3
+ ---
4
+
5
+ Add `initial_time_tracked`, `initial_price`, `initial_cost`, `initial_amount_billed`, and `initial_amount_paid` as nullable fields to `projects.update`.
@@ -0,0 +1,5 @@
1
+ ---
2
+ category: addition
3
+ ---
4
+
5
+ We added the `calls.delete` endpoint.
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.147.0",
4
+ "version": "1.149.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"