@teamleader/focus-api-specification 1.225.0 → 1.227.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.225.0
6
+ version: 1.227.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -11013,6 +11013,10 @@ paths:
11013
11013
  responsible_user_id: e1240972-6cfc-4549-b49c-edda7568cc48
11014
11014
  depends_on: 0488d792-ba9b-059f-bd57-bea75d3f4f4e
11015
11015
  propagate_date_changes: false
11016
+ billing_method: fixed_price
11017
+ price:
11018
+ amount: 1500
11019
+ currency: EUR
11016
11020
  custom_fields:
11017
11021
  - id: bf6765de-56eb-40ec-ad14-9096c5dc5fe1
11018
11022
  value: '092980616'
@@ -11024,6 +11028,10 @@ paths:
11024
11028
  responsible_user_id: e1240972-6cfc-4549-b49c-edda7568cc48
11025
11029
  depends_on: 0488d792-ba9b-059f-bd57-bea75d3f4f4e
11026
11030
  propagate_date_changes: false
11031
+ billing_method: fixed_price
11032
+ price:
11033
+ amount: 1500
11034
+ currency: EUR
11027
11035
  custom_fields:
11028
11036
  - id: bf6765de-56eb-40ec-ad14-9096c5dc5fe1
11029
11037
  value: '092980616'
@@ -26968,7 +26976,9 @@ components:
26968
26976
  - time_and_materials
26969
26977
  default: time_and_materials
26970
26978
  budget:
26971
- $ref: '#/components/schemas/Money'
26979
+ allOf:
26980
+ - $ref: '#/components/schemas/Money'
26981
+ description: Required when `billing_method` is provided. The currency must match the account currency.
26972
26982
  - type: object
26973
26983
  title: With price
26974
26984
  required:
@@ -26977,9 +26987,12 @@ components:
26977
26987
  properties:
26978
26988
  billing_method:
26979
26989
  type: string
26980
- example: fixed_price
26990
+ enum:
26991
+ - fixed_price
26981
26992
  price:
26982
- $ref: '#/components/schemas/Money'
26993
+ allOf:
26994
+ - $ref: '#/components/schemas/Money'
26995
+ description: The currency must match the account currency.
26983
26996
  milestones.create.response:
26984
26997
  title: milestones.create.response
26985
26998
  type: object
@@ -27022,6 +27035,33 @@ components:
27022
27035
  items:
27023
27036
  $ref: '#/components/schemas/CustomFieldsRequest'
27024
27037
  description: ''
27038
+ oneOf:
27039
+ - type: object
27040
+ title: With budget
27041
+ properties:
27042
+ billing_method:
27043
+ type: string
27044
+ enum:
27045
+ - non_invoiceable
27046
+ - time_and_materials
27047
+ budget:
27048
+ allOf:
27049
+ - $ref: '#/components/schemas/Money'
27050
+ description: Required when `billing_method` is provided. The currency must match the account currency.
27051
+ - type: object
27052
+ title: With price
27053
+ required:
27054
+ - billing_method
27055
+ - price
27056
+ properties:
27057
+ billing_method:
27058
+ type: string
27059
+ enum:
27060
+ - fixed_price
27061
+ price:
27062
+ allOf:
27063
+ - $ref: '#/components/schemas/Money'
27064
+ description: The currency must match the account currency.
27025
27065
  milestones.delete.request:
27026
27066
  title: milestones.delete.request
27027
27067
  required:
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.225.0",
4
+ "version": "1.227.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"