@teamleader/focus-api-specification 1.242.0 → 1.244.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.242.0
6
+ version: 1.244.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -12158,6 +12158,7 @@ paths:
12158
12158
  work_type_id:
12159
12159
  type: string
12160
12160
  example: b37e2bc7-dea0-4fda-88e9-c092fb65667d
12161
+ description: Required when `activity_type_id` is a task. Not allowed for meetings and calls.
12161
12162
  attendees:
12162
12163
  type: array
12163
12164
  items:
@@ -12169,7 +12170,7 @@ paths:
12169
12170
  required:
12170
12171
  - type
12171
12172
  - id
12172
- description: ''
12173
+ description: Only allowed when `activity_type_id` is a meeting.
12173
12174
  links:
12174
12175
  type: array
12175
12176
  items:
@@ -12278,6 +12279,7 @@ paths:
12278
12279
  work_type_id:
12279
12280
  type: string
12280
12281
  example: b37e2bc7-dea0-4fda-88e9-c092fb65667d
12282
+ description: Only allowed when the event is a task.
12281
12283
  attendees:
12282
12284
  type: array
12283
12285
  items:
@@ -12289,7 +12291,7 @@ paths:
12289
12291
  required:
12290
12292
  - type
12291
12293
  - id
12292
- description: ''
12294
+ description: Only allowed when the event is a meeting. Tasks and calls accept only an empty array.
12293
12295
  links:
12294
12296
  type: array
12295
12297
  items:
@@ -16013,6 +16015,10 @@ paths:
16013
16015
  enum:
16014
16016
  - asc
16015
16017
  - desc
16018
+ includes:
16019
+ type: string
16020
+ description: Comma-separated list of optional includes
16021
+ example: pagination
16016
16022
  required: false
16017
16023
  responses:
16018
16024
  '200':
@@ -16044,6 +16050,13 @@ paths:
16044
16050
  type: object
16045
16051
  properties: *ref_1
16046
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`
16047
16060
  - example:
16048
16061
  data:
16049
16062
  - id: c93ddb52-0af8-47d9-8551-441435be66a7
@@ -16052,6 +16065,11 @@ paths:
16052
16065
  department:
16053
16066
  type: department
16054
16067
  id: 182af0a8-3f68-409b-8941-cf8caf8f28a0
16068
+ meta:
16069
+ page:
16070
+ size: 20
16071
+ number: 1
16072
+ matches: 1
16055
16073
  example:
16056
16074
  data:
16057
16075
  - id: c93ddb52-0af8-47d9-8551-441435be66a7
@@ -16060,6 +16078,11 @@ paths:
16060
16078
  department:
16061
16079
  type: department
16062
16080
  id: 182af0a8-3f68-409b-8941-cf8caf8f28a0
16081
+ meta:
16082
+ page:
16083
+ size: 20
16084
+ number: 1
16085
+ matches: 1
16063
16086
  deprecated: false
16064
16087
  /paymentTerms.list:
16065
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.242.0
6
+ version: 1.244.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:
@@ -23065,6 +23075,7 @@ components:
23065
23075
  work_type_id:
23066
23076
  type: string
23067
23077
  example: b37e2bc7-dea0-4fda-88e9-c092fb65667d
23078
+ description: Required when `activity_type_id` is a task. Not allowed for meetings and calls.
23068
23079
  attendees:
23069
23080
  type: array
23070
23081
  items:
@@ -23074,7 +23085,7 @@ components:
23074
23085
  required:
23075
23086
  - type
23076
23087
  - id
23077
- description: ''
23088
+ description: Only allowed when `activity_type_id` is a meeting.
23078
23089
  links:
23079
23090
  type: array
23080
23091
  items:
@@ -23125,6 +23136,7 @@ components:
23125
23136
  work_type_id:
23126
23137
  type: string
23127
23138
  example: b37e2bc7-dea0-4fda-88e9-c092fb65667d
23139
+ description: Only allowed when the event is a task.
23128
23140
  attendees:
23129
23141
  type: array
23130
23142
  items:
@@ -23134,7 +23146,7 @@ components:
23134
23146
  required:
23135
23147
  - type
23136
23148
  - id
23137
- description: ''
23149
+ description: Only allowed when the event is a meeting. Tasks and calls accept only an empty array.
23138
23150
  links:
23139
23151
  type: array
23140
23152
  items:
@@ -25180,6 +25192,10 @@ components:
25180
25192
  enum:
25181
25193
  - asc
25182
25194
  - desc
25195
+ includes:
25196
+ type: string
25197
+ description: Comma-separated list of optional includes
25198
+ example: pagination
25183
25199
  taxRates.list.response:
25184
25200
  title: taxRates.list.response
25185
25201
  type: object
@@ -25201,6 +25217,10 @@ components:
25201
25217
  department:
25202
25218
  $ref: '#/components/schemas/TypeAndId'
25203
25219
  description: ''
25220
+ meta:
25221
+ allOf:
25222
+ - $ref: '#/components/schemas/Meta'
25223
+ - description: Only included with request parameter `includes=pagination`
25204
25224
  paymentTerms.list.response:
25205
25225
  title: paymentTerms.list.response
25206
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.242.0",
4
+ "version": "1.244.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"