@teamleader/focus-api-specification 1.243.0 → 1.245.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.243.0
6
+ version: 1.245.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -16015,6 +16015,10 @@ paths:
16015
16015
  enum:
16016
16016
  - asc
16017
16017
  - desc
16018
+ includes:
16019
+ type: string
16020
+ description: Comma-separated list of optional includes
16021
+ example: pagination
16018
16022
  required: false
16019
16023
  responses:
16020
16024
  '200':
@@ -16046,6 +16050,13 @@ paths:
16046
16050
  type: object
16047
16051
  properties: *ref_1
16048
16052
  description: ''
16053
+ meta:
16054
+ allOf:
16055
+ - title: Meta
16056
+ type: object
16057
+ properties: *ref_8
16058
+ description: Only included with request parameter `includes=pagination`
16059
+ - description: Only included with request parameter `includes=pagination`
16049
16060
  - example:
16050
16061
  data:
16051
16062
  - id: c93ddb52-0af8-47d9-8551-441435be66a7
@@ -16054,6 +16065,11 @@ paths:
16054
16065
  department:
16055
16066
  type: department
16056
16067
  id: 182af0a8-3f68-409b-8941-cf8caf8f28a0
16068
+ meta:
16069
+ page:
16070
+ size: 20
16071
+ number: 1
16072
+ matches: 1
16057
16073
  example:
16058
16074
  data:
16059
16075
  - id: c93ddb52-0af8-47d9-8551-441435be66a7
@@ -16062,6 +16078,11 @@ paths:
16062
16078
  department:
16063
16079
  type: department
16064
16080
  id: 182af0a8-3f68-409b-8941-cf8caf8f28a0
16081
+ meta:
16082
+ page:
16083
+ size: 20
16084
+ number: 1
16085
+ matches: 1
16065
16086
  deprecated: false
16066
16087
  /paymentTerms.list:
16067
16088
  post:
@@ -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.243.0
6
+ version: 1.245.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -7479,6 +7479,11 @@ paths:
7479
7479
  department:
7480
7480
  type: department
7481
7481
  id: 182af0a8-3f68-409b-8941-cf8caf8f28a0
7482
+ meta:
7483
+ page:
7484
+ size: 20
7485
+ number: 1
7486
+ matches: 1
7482
7487
  example:
7483
7488
  data:
7484
7489
  - id: c93ddb52-0af8-47d9-8551-441435be66a7
@@ -7487,6 +7492,11 @@ paths:
7487
7492
  department:
7488
7493
  type: department
7489
7494
  id: 182af0a8-3f68-409b-8941-cf8caf8f28a0
7495
+ meta:
7496
+ page:
7497
+ size: 20
7498
+ number: 1
7499
+ matches: 1
7490
7500
  deprecated: false
7491
7501
  /paymentTerms.list:
7492
7502
  post:
@@ -25182,6 +25192,10 @@ components:
25182
25192
  enum:
25183
25193
  - asc
25184
25194
  - desc
25195
+ includes:
25196
+ type: string
25197
+ description: Comma-separated list of optional includes
25198
+ example: pagination
25185
25199
  taxRates.list.response:
25186
25200
  title: taxRates.list.response
25187
25201
  type: object
@@ -25203,6 +25217,10 @@ components:
25203
25217
  department:
25204
25218
  $ref: '#/components/schemas/TypeAndId'
25205
25219
  description: ''
25220
+ meta:
25221
+ allOf:
25222
+ - $ref: '#/components/schemas/Meta'
25223
+ - description: Only included with request parameter `includes=pagination`
25206
25224
  paymentTerms.list.response:
25207
25225
  title: paymentTerms.list.response
25208
25226
  type: object
@@ -0,0 +1,5 @@
1
+ ---
2
+ category: addition
3
+ ---
4
+
5
+ We added `includes=pagination` to `taxRates.list`. With it, the response returns `meta.page` and `meta.matches`, the total number of tax rates that match the filter.
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.243.0",
4
+ "version": "1.245.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"