@teamleader/focus-api-specification 1.230.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.
- package/dist/api.focus.teamleader.eu.dereferenced.yaml +104 -2
- package/dist/api.focus.teamleader.eu.yaml +104 -2
- package/dist/changelog/20261022120000.md +5 -0
- package/dist/changelog/20261022120001.md +5 -0
- package/dist/changelog/20261022120002.md +5 -0
- package/dist/changelog/20261022120003.md +5 -0
- package/dist/changelog/20261022120004.md +5 -0
- package/dist/changelog/20261022120005.md +5 -0
- package/dist/changelog/20261029170404.md +5 -0
- package/package.json +1 -1
|
@@ -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.
|
|
6
|
+
version: 1.232.0
|
|
7
7
|
servers:
|
|
8
8
|
- url: https://api.focus.teamleader.eu
|
|
9
9
|
variables: {}
|
|
@@ -21873,6 +21873,62 @@ paths:
|
|
|
21873
21873
|
required: *ref_29
|
|
21874
21874
|
properties: *ref_30
|
|
21875
21875
|
description: ''
|
|
21876
|
+
created_at:
|
|
21877
|
+
type: object
|
|
21878
|
+
description: Filters by creation date
|
|
21879
|
+
properties:
|
|
21880
|
+
operator:
|
|
21881
|
+
type: string
|
|
21882
|
+
enum:
|
|
21883
|
+
- between
|
|
21884
|
+
- equals
|
|
21885
|
+
- before
|
|
21886
|
+
- after
|
|
21887
|
+
value:
|
|
21888
|
+
type: string
|
|
21889
|
+
format: date-time
|
|
21890
|
+
description: Required if operator is `equals`, `before`, or `after`
|
|
21891
|
+
example: '2022-02-01T00:00:00+00:00'
|
|
21892
|
+
start:
|
|
21893
|
+
type: string
|
|
21894
|
+
format: date-time
|
|
21895
|
+
description: Required if operator is `between`
|
|
21896
|
+
example: '2022-02-01T00:00:00+00:00'
|
|
21897
|
+
end:
|
|
21898
|
+
type: string
|
|
21899
|
+
format: date-time
|
|
21900
|
+
description: Required if operator is `between`
|
|
21901
|
+
example: '2022-02-28T23:59:59+00:00'
|
|
21902
|
+
required:
|
|
21903
|
+
- operator
|
|
21904
|
+
updated_at:
|
|
21905
|
+
type: object
|
|
21906
|
+
description: Filters by last update date
|
|
21907
|
+
properties:
|
|
21908
|
+
operator:
|
|
21909
|
+
type: string
|
|
21910
|
+
enum:
|
|
21911
|
+
- between
|
|
21912
|
+
- equals
|
|
21913
|
+
- before
|
|
21914
|
+
- after
|
|
21915
|
+
value:
|
|
21916
|
+
type: string
|
|
21917
|
+
format: date-time
|
|
21918
|
+
description: Required if operator is `equals`, `before`, or `after`
|
|
21919
|
+
example: '2022-02-01T00:00:00+00:00'
|
|
21920
|
+
start:
|
|
21921
|
+
type: string
|
|
21922
|
+
format: date-time
|
|
21923
|
+
description: Required if operator is `between`
|
|
21924
|
+
example: '2022-02-01T00:00:00+00:00'
|
|
21925
|
+
end:
|
|
21926
|
+
type: string
|
|
21927
|
+
format: date-time
|
|
21928
|
+
description: Required if operator is `between`
|
|
21929
|
+
example: '2022-02-28T23:59:59+00:00'
|
|
21930
|
+
required:
|
|
21931
|
+
- operator
|
|
21876
21932
|
page:
|
|
21877
21933
|
title: Page
|
|
21878
21934
|
type: object
|
|
@@ -21893,6 +21949,7 @@ paths:
|
|
|
21893
21949
|
- amount_paid
|
|
21894
21950
|
- amount_unbilled
|
|
21895
21951
|
- cost
|
|
21952
|
+
- created_at
|
|
21896
21953
|
- customer
|
|
21897
21954
|
- end_date
|
|
21898
21955
|
- external_budget_spent
|
|
@@ -21907,6 +21964,7 @@ paths:
|
|
|
21907
21964
|
- time_estimated
|
|
21908
21965
|
- time_tracked
|
|
21909
21966
|
- title
|
|
21967
|
+
- updated_at
|
|
21910
21968
|
default: project_key
|
|
21911
21969
|
order:
|
|
21912
21970
|
default: desc
|
|
@@ -21931,6 +21989,13 @@ paths:
|
|
|
21931
21989
|
customers:
|
|
21932
21990
|
- type: contact
|
|
21933
21991
|
id: 1106f231-0464-41b7-8b0b-19451af81afe
|
|
21992
|
+
created_at:
|
|
21993
|
+
operator: between
|
|
21994
|
+
start: '2022-02-01T00:00:00+00:00'
|
|
21995
|
+
end: '2022-02-28T23:59:59+00:00'
|
|
21996
|
+
updated_at:
|
|
21997
|
+
operator: after
|
|
21998
|
+
value: '2022-03-01T00:00:00+00:00'
|
|
21934
21999
|
page:
|
|
21935
22000
|
size: 20
|
|
21936
22001
|
number: 1
|
|
@@ -21953,6 +22018,13 @@ paths:
|
|
|
21953
22018
|
customers:
|
|
21954
22019
|
- type: contact
|
|
21955
22020
|
id: 1106f231-0464-41b7-8b0b-19451af81afe
|
|
22021
|
+
created_at:
|
|
22022
|
+
operator: between
|
|
22023
|
+
start: '2022-02-01T00:00:00+00:00'
|
|
22024
|
+
end: '2022-02-28T23:59:59+00:00'
|
|
22025
|
+
updated_at:
|
|
22026
|
+
operator: after
|
|
22027
|
+
value: '2022-03-01T00:00:00+00:00'
|
|
21956
22028
|
page:
|
|
21957
22029
|
size: 20
|
|
21958
22030
|
number: 1
|
|
@@ -22154,6 +22226,14 @@ paths:
|
|
|
22154
22226
|
type: string
|
|
22155
22227
|
nullable: true
|
|
22156
22228
|
example: '2022-02-28'
|
|
22229
|
+
created_at:
|
|
22230
|
+
type: string
|
|
22231
|
+
format: date-time
|
|
22232
|
+
example: '2022-02-01T10:33:45+00:00'
|
|
22233
|
+
updated_at:
|
|
22234
|
+
type: string
|
|
22235
|
+
format: date-time
|
|
22236
|
+
example: '2022-02-03T14:12:09+00:00'
|
|
22157
22237
|
company_entity:
|
|
22158
22238
|
type: object
|
|
22159
22239
|
nullable: true
|
|
@@ -22319,6 +22399,8 @@ paths:
|
|
|
22319
22399
|
margin_percentage: null
|
|
22320
22400
|
start_date: '2022-02-23'
|
|
22321
22401
|
end_date: '2022-02-28'
|
|
22402
|
+
created_at: '2022-02-01T10:33:45+00:00'
|
|
22403
|
+
updated_at: '2022-02-03T14:12:09+00:00'
|
|
22322
22404
|
company_entity:
|
|
22323
22405
|
type: department
|
|
22324
22406
|
id: 0d0dec5a-7096-4009-be37-07eab117db07
|
|
@@ -22409,6 +22491,8 @@ paths:
|
|
|
22409
22491
|
margin_percentage: null
|
|
22410
22492
|
start_date: '2022-02-23'
|
|
22411
22493
|
end_date: '2022-02-28'
|
|
22494
|
+
created_at: '2022-02-01T10:33:45+00:00'
|
|
22495
|
+
updated_at: '2022-02-03T14:12:09+00:00'
|
|
22412
22496
|
company_entity:
|
|
22413
22497
|
type: department
|
|
22414
22498
|
id: 0d0dec5a-7096-4009-be37-07eab117db07
|
|
@@ -22671,6 +22755,14 @@ paths:
|
|
|
22671
22755
|
type: string
|
|
22672
22756
|
nullable: true
|
|
22673
22757
|
example: '000023'
|
|
22758
|
+
created_at:
|
|
22759
|
+
type: string
|
|
22760
|
+
format: date-time
|
|
22761
|
+
example: '2022-02-01T10:33:45+00:00'
|
|
22762
|
+
updated_at:
|
|
22763
|
+
type: string
|
|
22764
|
+
format: date-time
|
|
22765
|
+
example: '2022-02-03T14:12:09+00:00'
|
|
22674
22766
|
company_entity:
|
|
22675
22767
|
type: object
|
|
22676
22768
|
nullable: true
|
|
@@ -22832,6 +22924,8 @@ paths:
|
|
|
22832
22924
|
start_date: '2022-02-23'
|
|
22833
22925
|
end_date: '2022-02-28'
|
|
22834
22926
|
purchase_order_number: '000023'
|
|
22927
|
+
created_at: '2022-02-01T10:33:45+00:00'
|
|
22928
|
+
updated_at: '2022-02-03T14:12:09+00:00'
|
|
22835
22929
|
company_entity:
|
|
22836
22930
|
type: department
|
|
22837
22931
|
id: 0d0dec5a-7096-4009-be37-07eab117db07
|
|
@@ -22933,6 +23027,8 @@ paths:
|
|
|
22933
23027
|
start_date: '2022-02-23'
|
|
22934
23028
|
end_date: '2022-02-28'
|
|
22935
23029
|
purchase_order_number: '000023'
|
|
23030
|
+
created_at: '2022-02-01T10:33:45+00:00'
|
|
23031
|
+
updated_at: '2022-02-03T14:12:09+00:00'
|
|
22936
23032
|
company_entity:
|
|
22937
23033
|
type: department
|
|
22938
23034
|
id: 0d0dec5a-7096-4009-be37-07eab117db07
|
|
@@ -29126,7 +29222,7 @@ paths:
|
|
|
29126
29222
|
tags:
|
|
29127
29223
|
- tasks
|
|
29128
29224
|
summary: tasks.schedule
|
|
29129
|
-
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.
|
|
29130
29226
|
operationId: tasks.schedule
|
|
29131
29227
|
parameters: []
|
|
29132
29228
|
requestBody:
|
|
@@ -29151,14 +29247,20 @@ paths:
|
|
|
29151
29247
|
ends_at:
|
|
29152
29248
|
type: string
|
|
29153
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
|
|
29154
29254
|
- example:
|
|
29155
29255
|
id: 7c70c54e-6e50-4e6a-b5fd-80234eb535cf
|
|
29156
29256
|
starts_at: '2016-02-04T16:00:00+00:00'
|
|
29157
29257
|
ends_at: '2016-02-04T18:00:00+00:00'
|
|
29258
|
+
assignee_id: 98b2863e-7b01-4232-82f5-ede1f0b9db22
|
|
29158
29259
|
example:
|
|
29159
29260
|
id: 7c70c54e-6e50-4e6a-b5fd-80234eb535cf
|
|
29160
29261
|
starts_at: '2016-02-04T16:00:00+00:00'
|
|
29161
29262
|
ends_at: '2016-02-04T18:00:00+00:00'
|
|
29263
|
+
assignee_id: 98b2863e-7b01-4232-82f5-ede1f0b9db22
|
|
29162
29264
|
required: true
|
|
29163
29265
|
responses:
|
|
29164
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.
|
|
6
|
+
version: 1.232.0
|
|
7
7
|
servers:
|
|
8
8
|
- url: https://api.focus.teamleader.eu
|
|
9
9
|
variables: {}
|
|
@@ -11187,6 +11187,13 @@ paths:
|
|
|
11187
11187
|
customers:
|
|
11188
11188
|
- type: contact
|
|
11189
11189
|
id: 1106f231-0464-41b7-8b0b-19451af81afe
|
|
11190
|
+
created_at:
|
|
11191
|
+
operator: between
|
|
11192
|
+
start: '2022-02-01T00:00:00+00:00'
|
|
11193
|
+
end: '2022-02-28T23:59:59+00:00'
|
|
11194
|
+
updated_at:
|
|
11195
|
+
operator: after
|
|
11196
|
+
value: '2022-03-01T00:00:00+00:00'
|
|
11190
11197
|
page:
|
|
11191
11198
|
size: 20
|
|
11192
11199
|
number: 1
|
|
@@ -11209,6 +11216,13 @@ paths:
|
|
|
11209
11216
|
customers:
|
|
11210
11217
|
- type: contact
|
|
11211
11218
|
id: 1106f231-0464-41b7-8b0b-19451af81afe
|
|
11219
|
+
created_at:
|
|
11220
|
+
operator: between
|
|
11221
|
+
start: '2022-02-01T00:00:00+00:00'
|
|
11222
|
+
end: '2022-02-28T23:59:59+00:00'
|
|
11223
|
+
updated_at:
|
|
11224
|
+
operator: after
|
|
11225
|
+
value: '2022-03-01T00:00:00+00:00'
|
|
11212
11226
|
page:
|
|
11213
11227
|
size: 20
|
|
11214
11228
|
number: 1
|
|
@@ -11281,6 +11295,8 @@ paths:
|
|
|
11281
11295
|
margin_percentage: null
|
|
11282
11296
|
start_date: '2022-02-23'
|
|
11283
11297
|
end_date: '2022-02-28'
|
|
11298
|
+
created_at: '2022-02-01T10:33:45+00:00'
|
|
11299
|
+
updated_at: '2022-02-03T14:12:09+00:00'
|
|
11284
11300
|
company_entity:
|
|
11285
11301
|
type: department
|
|
11286
11302
|
id: 0d0dec5a-7096-4009-be37-07eab117db07
|
|
@@ -11371,6 +11387,8 @@ paths:
|
|
|
11371
11387
|
margin_percentage: null
|
|
11372
11388
|
start_date: '2022-02-23'
|
|
11373
11389
|
end_date: '2022-02-28'
|
|
11390
|
+
created_at: '2022-02-01T10:33:45+00:00'
|
|
11391
|
+
updated_at: '2022-02-03T14:12:09+00:00'
|
|
11374
11392
|
company_entity:
|
|
11375
11393
|
type: department
|
|
11376
11394
|
id: 0d0dec5a-7096-4009-be37-07eab117db07
|
|
@@ -11495,6 +11513,8 @@ paths:
|
|
|
11495
11513
|
start_date: '2022-02-23'
|
|
11496
11514
|
end_date: '2022-02-28'
|
|
11497
11515
|
purchase_order_number: '000023'
|
|
11516
|
+
created_at: '2022-02-01T10:33:45+00:00'
|
|
11517
|
+
updated_at: '2022-02-03T14:12:09+00:00'
|
|
11498
11518
|
company_entity:
|
|
11499
11519
|
type: department
|
|
11500
11520
|
id: 0d0dec5a-7096-4009-be37-07eab117db07
|
|
@@ -11596,6 +11616,8 @@ paths:
|
|
|
11596
11616
|
start_date: '2022-02-23'
|
|
11597
11617
|
end_date: '2022-02-28'
|
|
11598
11618
|
purchase_order_number: '000023'
|
|
11619
|
+
created_at: '2022-02-01T10:33:45+00:00'
|
|
11620
|
+
updated_at: '2022-02-03T14:12:09+00:00'
|
|
11599
11621
|
company_entity:
|
|
11600
11622
|
type: department
|
|
11601
11623
|
id: 0d0dec5a-7096-4009-be37-07eab117db07
|
|
@@ -14649,7 +14671,7 @@ paths:
|
|
|
14649
14671
|
tags:
|
|
14650
14672
|
- tasks
|
|
14651
14673
|
summary: tasks.schedule
|
|
14652
|
-
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.
|
|
14653
14675
|
operationId: tasks.schedule
|
|
14654
14676
|
parameters: []
|
|
14655
14677
|
requestBody:
|
|
@@ -14663,10 +14685,12 @@ paths:
|
|
|
14663
14685
|
id: 7c70c54e-6e50-4e6a-b5fd-80234eb535cf
|
|
14664
14686
|
starts_at: '2016-02-04T16:00:00+00:00'
|
|
14665
14687
|
ends_at: '2016-02-04T18:00:00+00:00'
|
|
14688
|
+
assignee_id: 98b2863e-7b01-4232-82f5-ede1f0b9db22
|
|
14666
14689
|
example:
|
|
14667
14690
|
id: 7c70c54e-6e50-4e6a-b5fd-80234eb535cf
|
|
14668
14691
|
starts_at: '2016-02-04T16:00:00+00:00'
|
|
14669
14692
|
ends_at: '2016-02-04T18:00:00+00:00'
|
|
14693
|
+
assignee_id: 98b2863e-7b01-4232-82f5-ede1f0b9db22
|
|
14670
14694
|
required: true
|
|
14671
14695
|
responses:
|
|
14672
14696
|
'201':
|
|
@@ -27166,6 +27190,62 @@ components:
|
|
|
27166
27190
|
items:
|
|
27167
27191
|
$ref: '#/components/schemas/Customer'
|
|
27168
27192
|
description: ''
|
|
27193
|
+
created_at:
|
|
27194
|
+
type: object
|
|
27195
|
+
description: Filters by creation date
|
|
27196
|
+
properties:
|
|
27197
|
+
operator:
|
|
27198
|
+
type: string
|
|
27199
|
+
enum:
|
|
27200
|
+
- between
|
|
27201
|
+
- equals
|
|
27202
|
+
- before
|
|
27203
|
+
- after
|
|
27204
|
+
value:
|
|
27205
|
+
type: string
|
|
27206
|
+
format: date-time
|
|
27207
|
+
description: Required if operator is `equals`, `before`, or `after`
|
|
27208
|
+
example: '2022-02-01T00:00:00+00:00'
|
|
27209
|
+
start:
|
|
27210
|
+
type: string
|
|
27211
|
+
format: date-time
|
|
27212
|
+
description: Required if operator is `between`
|
|
27213
|
+
example: '2022-02-01T00:00:00+00:00'
|
|
27214
|
+
end:
|
|
27215
|
+
type: string
|
|
27216
|
+
format: date-time
|
|
27217
|
+
description: Required if operator is `between`
|
|
27218
|
+
example: '2022-02-28T23:59:59+00:00'
|
|
27219
|
+
required:
|
|
27220
|
+
- operator
|
|
27221
|
+
updated_at:
|
|
27222
|
+
type: object
|
|
27223
|
+
description: Filters by last update date
|
|
27224
|
+
properties:
|
|
27225
|
+
operator:
|
|
27226
|
+
type: string
|
|
27227
|
+
enum:
|
|
27228
|
+
- between
|
|
27229
|
+
- equals
|
|
27230
|
+
- before
|
|
27231
|
+
- after
|
|
27232
|
+
value:
|
|
27233
|
+
type: string
|
|
27234
|
+
format: date-time
|
|
27235
|
+
description: Required if operator is `equals`, `before`, or `after`
|
|
27236
|
+
example: '2022-02-01T00:00:00+00:00'
|
|
27237
|
+
start:
|
|
27238
|
+
type: string
|
|
27239
|
+
format: date-time
|
|
27240
|
+
description: Required if operator is `between`
|
|
27241
|
+
example: '2022-02-01T00:00:00+00:00'
|
|
27242
|
+
end:
|
|
27243
|
+
type: string
|
|
27244
|
+
format: date-time
|
|
27245
|
+
description: Required if operator is `between`
|
|
27246
|
+
example: '2022-02-28T23:59:59+00:00'
|
|
27247
|
+
required:
|
|
27248
|
+
- operator
|
|
27169
27249
|
page:
|
|
27170
27250
|
$ref: '#/components/schemas/Page'
|
|
27171
27251
|
sort:
|
|
@@ -27181,6 +27261,7 @@ components:
|
|
|
27181
27261
|
- amount_paid
|
|
27182
27262
|
- amount_unbilled
|
|
27183
27263
|
- cost
|
|
27264
|
+
- created_at
|
|
27184
27265
|
- customer
|
|
27185
27266
|
- end_date
|
|
27186
27267
|
- external_budget_spent
|
|
@@ -27195,6 +27276,7 @@ components:
|
|
|
27195
27276
|
- time_estimated
|
|
27196
27277
|
- time_tracked
|
|
27197
27278
|
- title
|
|
27279
|
+
- updated_at
|
|
27198
27280
|
default: project_key
|
|
27199
27281
|
order:
|
|
27200
27282
|
default: desc
|
|
@@ -27387,6 +27469,14 @@ components:
|
|
|
27387
27469
|
type: string
|
|
27388
27470
|
nullable: true
|
|
27389
27471
|
example: '2022-02-28'
|
|
27472
|
+
created_at:
|
|
27473
|
+
type: string
|
|
27474
|
+
format: date-time
|
|
27475
|
+
example: '2022-02-01T10:33:45+00:00'
|
|
27476
|
+
updated_at:
|
|
27477
|
+
type: string
|
|
27478
|
+
format: date-time
|
|
27479
|
+
example: '2022-02-03T14:12:09+00:00'
|
|
27390
27480
|
company_entity:
|
|
27391
27481
|
type: object
|
|
27392
27482
|
nullable: true
|
|
@@ -27598,6 +27688,14 @@ components:
|
|
|
27598
27688
|
type: string
|
|
27599
27689
|
nullable: true
|
|
27600
27690
|
example: '000023'
|
|
27691
|
+
created_at:
|
|
27692
|
+
type: string
|
|
27693
|
+
format: date-time
|
|
27694
|
+
example: '2022-02-01T10:33:45+00:00'
|
|
27695
|
+
updated_at:
|
|
27696
|
+
type: string
|
|
27697
|
+
format: date-time
|
|
27698
|
+
example: '2022-02-03T14:12:09+00:00'
|
|
27601
27699
|
company_entity:
|
|
27602
27700
|
type: object
|
|
27603
27701
|
nullable: true
|
|
@@ -30429,6 +30527,10 @@ components:
|
|
|
30429
30527
|
ends_at:
|
|
30430
30528
|
type: string
|
|
30431
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
|
|
30432
30534
|
tasks.schedule.response:
|
|
30433
30535
|
title: tasks.schedule.response
|
|
30434
30536
|
type: object
|
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.
|
|
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"
|