@teamleader/focus-api-specification 1.231.0 → 1.232.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.231.0
6
+ version: 1.232.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -29222,7 +29222,7 @@ paths:
29222
29222
  tags:
29223
29223
  - tasks
29224
29224
  summary: tasks.schedule
29225
- description: Schedule a task in your calendar.
29225
+ description: Schedule a task in a user's calendar. Without `assignee_id`, the task is scheduled in your own calendar.
29226
29226
  operationId: tasks.schedule
29227
29227
  parameters: []
29228
29228
  requestBody:
@@ -29247,14 +29247,20 @@ paths:
29247
29247
  ends_at:
29248
29248
  type: string
29249
29249
  example: '2016-02-04T18:00:00+00:00'
29250
+ assignee_id:
29251
+ type: string
29252
+ description: ID of the user in whose calendar the task is scheduled. Defaults to the authenticated user. Requires access to that user's calendar. This does not change the task's assignee.
29253
+ example: 98b2863e-7b01-4232-82f5-ede1f0b9db22
29250
29254
  - example:
29251
29255
  id: 7c70c54e-6e50-4e6a-b5fd-80234eb535cf
29252
29256
  starts_at: '2016-02-04T16:00:00+00:00'
29253
29257
  ends_at: '2016-02-04T18:00:00+00:00'
29258
+ assignee_id: 98b2863e-7b01-4232-82f5-ede1f0b9db22
29254
29259
  example:
29255
29260
  id: 7c70c54e-6e50-4e6a-b5fd-80234eb535cf
29256
29261
  starts_at: '2016-02-04T16:00:00+00:00'
29257
29262
  ends_at: '2016-02-04T18:00:00+00:00'
29263
+ assignee_id: 98b2863e-7b01-4232-82f5-ede1f0b9db22
29258
29264
  required: true
29259
29265
  responses:
29260
29266
  '201':
@@ -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.231.0
6
+ version: 1.232.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -14671,7 +14671,7 @@ paths:
14671
14671
  tags:
14672
14672
  - tasks
14673
14673
  summary: tasks.schedule
14674
- description: Schedule a task in your calendar.
14674
+ description: Schedule a task in a user's calendar. Without `assignee_id`, the task is scheduled in your own calendar.
14675
14675
  operationId: tasks.schedule
14676
14676
  parameters: []
14677
14677
  requestBody:
@@ -14685,10 +14685,12 @@ paths:
14685
14685
  id: 7c70c54e-6e50-4e6a-b5fd-80234eb535cf
14686
14686
  starts_at: '2016-02-04T16:00:00+00:00'
14687
14687
  ends_at: '2016-02-04T18:00:00+00:00'
14688
+ assignee_id: 98b2863e-7b01-4232-82f5-ede1f0b9db22
14688
14689
  example:
14689
14690
  id: 7c70c54e-6e50-4e6a-b5fd-80234eb535cf
14690
14691
  starts_at: '2016-02-04T16:00:00+00:00'
14691
14692
  ends_at: '2016-02-04T18:00:00+00:00'
14693
+ assignee_id: 98b2863e-7b01-4232-82f5-ede1f0b9db22
14692
14694
  required: true
14693
14695
  responses:
14694
14696
  '201':
@@ -30525,6 +30527,10 @@ components:
30525
30527
  ends_at:
30526
30528
  type: string
30527
30529
  example: '2016-02-04T18:00:00+00:00'
30530
+ assignee_id:
30531
+ type: string
30532
+ description: ID of the user in whose calendar the task is scheduled. Defaults to the authenticated user. Requires access to that user's calendar. This does not change the task's assignee.
30533
+ example: 98b2863e-7b01-4232-82f5-ede1f0b9db22
30528
30534
  tasks.schedule.response:
30529
30535
  title: tasks.schedule.response
30530
30536
  type: object
@@ -0,0 +1,5 @@
1
+ ---
2
+ category: addition
3
+ ---
4
+
5
+ We added `assignee_id` to `tasks.schedule`, to schedule a task in another user's calendar.
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.231.0",
4
+ "version": "1.232.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"