@teamleader/focus-api-specification 1.146.0 → 1.148.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.146.0
6
+ version: 1.148.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -22847,6 +22847,60 @@ paths:
22847
22847
  type: string
22848
22848
  example: '#00B2B2'
22849
22849
  - example: '#00B2B2'
22850
+ initial_time_tracked:
22851
+ type: object
22852
+ nullable: true
22853
+ allOf:
22854
+ - title: Time
22855
+ type: object
22856
+ properties: *ref_53
22857
+ - properties:
22858
+ unit:
22859
+ type: string
22860
+ enum:
22861
+ - hours
22862
+ - minutes
22863
+ - seconds
22864
+ example: minutes
22865
+ required:
22866
+ - value
22867
+ - unit
22868
+ initial_price:
22869
+ type: object
22870
+ nullable: true
22871
+ description: Must be higher than or equal to zero, and lower than 100000000000 (100 billion).
22872
+ allOf:
22873
+ - title: Money
22874
+ required: *ref_31
22875
+ type: object
22876
+ properties: *ref_32
22877
+ initial_cost:
22878
+ type: object
22879
+ nullable: true
22880
+ description: Must be higher than or equal to zero, and lower than 100000000000 (100 billion).
22881
+ allOf:
22882
+ - title: Money
22883
+ required: *ref_31
22884
+ type: object
22885
+ properties: *ref_32
22886
+ initial_amount_billed:
22887
+ type: object
22888
+ nullable: true
22889
+ description: Must be higher than or equal to zero, and lower than 100000000000 (100 billion).
22890
+ allOf:
22891
+ - title: Money
22892
+ required: *ref_31
22893
+ type: object
22894
+ properties: *ref_32
22895
+ initial_amount_paid:
22896
+ type: object
22897
+ nullable: true
22898
+ description: Must be higher than or equal to zero, and lower than 100000000000 (100 billion).
22899
+ allOf:
22900
+ - title: Money
22901
+ required: *ref_31
22902
+ type: object
22903
+ properties: *ref_32
22850
22904
  custom_fields:
22851
22905
  type: array
22852
22906
  items:
@@ -22878,6 +22932,21 @@ paths:
22878
22932
  purchase_order_number: '000023'
22879
22933
  company_entity_id: 0d0dec5a-7096-4009-be37-07eab117db07
22880
22934
  color: '#00B2B2'
22935
+ initial_time_tracked:
22936
+ value: 43200
22937
+ unit: minutes
22938
+ initial_price:
22939
+ amount: 123.3
22940
+ currency: EUR
22941
+ initial_cost:
22942
+ amount: 123.3
22943
+ currency: EUR
22944
+ initial_amount_billed:
22945
+ amount: 123.3
22946
+ currency: EUR
22947
+ initial_amount_paid:
22948
+ amount: 123.3
22949
+ currency: EUR
22881
22950
  custom_fields:
22882
22951
  - id: bf6765de-56eb-40ec-ad14-9096c5dc5fe1
22883
22952
  value: '092980616'
@@ -22905,6 +22974,21 @@ paths:
22905
22974
  purchase_order_number: '000023'
22906
22975
  company_entity_id: 0d0dec5a-7096-4009-be37-07eab117db07
22907
22976
  color: '#00B2B2'
22977
+ initial_time_tracked:
22978
+ value: 43200
22979
+ unit: minutes
22980
+ initial_price:
22981
+ amount: 123.3
22982
+ currency: EUR
22983
+ initial_cost:
22984
+ amount: 123.3
22985
+ currency: EUR
22986
+ initial_amount_billed:
22987
+ amount: 123.3
22988
+ currency: EUR
22989
+ initial_amount_paid:
22990
+ amount: 123.3
22991
+ currency: EUR
22908
22992
  custom_fields:
22909
22993
  - id: bf6765de-56eb-40ec-ad14-9096c5dc5fe1
22910
22994
  value: '092980616'
@@ -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.146.0
6
+ version: 1.148.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -11598,6 +11598,21 @@ paths:
11598
11598
  purchase_order_number: '000023'
11599
11599
  company_entity_id: 0d0dec5a-7096-4009-be37-07eab117db07
11600
11600
  color: '#00B2B2'
11601
+ initial_time_tracked:
11602
+ value: 43200
11603
+ unit: minutes
11604
+ initial_price:
11605
+ amount: 123.3
11606
+ currency: EUR
11607
+ initial_cost:
11608
+ amount: 123.3
11609
+ currency: EUR
11610
+ initial_amount_billed:
11611
+ amount: 123.3
11612
+ currency: EUR
11613
+ initial_amount_paid:
11614
+ amount: 123.3
11615
+ currency: EUR
11601
11616
  custom_fields:
11602
11617
  - id: bf6765de-56eb-40ec-ad14-9096c5dc5fe1
11603
11618
  value: '092980616'
@@ -11625,6 +11640,21 @@ paths:
11625
11640
  purchase_order_number: '000023'
11626
11641
  company_entity_id: 0d0dec5a-7096-4009-be37-07eab117db07
11627
11642
  color: '#00B2B2'
11643
+ initial_time_tracked:
11644
+ value: 43200
11645
+ unit: minutes
11646
+ initial_price:
11647
+ amount: 123.3
11648
+ currency: EUR
11649
+ initial_cost:
11650
+ amount: 123.3
11651
+ currency: EUR
11652
+ initial_amount_billed:
11653
+ amount: 123.3
11654
+ currency: EUR
11655
+ initial_amount_paid:
11656
+ amount: 123.3
11657
+ currency: EUR
11628
11658
  custom_fields:
11629
11659
  - id: bf6765de-56eb-40ec-ad14-9096c5dc5fe1
11630
11660
  value: '092980616'
@@ -27342,6 +27372,46 @@ components:
27342
27372
  allOf:
27343
27373
  - $ref: '#/components/schemas/Color'
27344
27374
  - example: '#00B2B2'
27375
+ initial_time_tracked:
27376
+ type: object
27377
+ nullable: true
27378
+ allOf:
27379
+ - $ref: '#/components/schemas/Time'
27380
+ - properties:
27381
+ unit:
27382
+ type: string
27383
+ enum:
27384
+ - hours
27385
+ - minutes
27386
+ - seconds
27387
+ example: minutes
27388
+ required:
27389
+ - value
27390
+ - unit
27391
+ initial_price:
27392
+ type: object
27393
+ nullable: true
27394
+ description: Must be higher than or equal to zero, and lower than 100000000000 (100 billion).
27395
+ allOf:
27396
+ - $ref: '#/components/schemas/Money'
27397
+ initial_cost:
27398
+ type: object
27399
+ nullable: true
27400
+ description: Must be higher than or equal to zero, and lower than 100000000000 (100 billion).
27401
+ allOf:
27402
+ - $ref: '#/components/schemas/Money'
27403
+ initial_amount_billed:
27404
+ type: object
27405
+ nullable: true
27406
+ description: Must be higher than or equal to zero, and lower than 100000000000 (100 billion).
27407
+ allOf:
27408
+ - $ref: '#/components/schemas/Money'
27409
+ initial_amount_paid:
27410
+ type: object
27411
+ nullable: true
27412
+ description: Must be higher than or equal to zero, and lower than 100000000000 (100 billion).
27413
+ allOf:
27414
+ - $ref: '#/components/schemas/Money'
27345
27415
  custom_fields:
27346
27416
  type: array
27347
27417
  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`.
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.146.0",
4
+ "version": "1.148.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"