@teamleader/focus-api-specification 1.192.0 → 1.194.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.
|
|
6
|
+
version: 1.194.0
|
|
7
7
|
servers:
|
|
8
8
|
- url: https://api.focus.teamleader.eu
|
|
9
9
|
variables: {}
|
|
@@ -9439,12 +9439,12 @@ paths:
|
|
|
9439
9439
|
items:
|
|
9440
9440
|
allOf:
|
|
9441
9441
|
- title: LineItemRequest
|
|
9442
|
-
required: &
|
|
9442
|
+
required: &ref_64
|
|
9443
9443
|
- quantity
|
|
9444
9444
|
- description
|
|
9445
9445
|
- tax_rate_id
|
|
9446
9446
|
type: object
|
|
9447
|
-
properties: &
|
|
9447
|
+
properties: &ref_65
|
|
9448
9448
|
quantity:
|
|
9449
9449
|
type: number
|
|
9450
9450
|
example: 3
|
|
@@ -9892,18 +9892,10 @@ paths:
|
|
|
9892
9892
|
type: string
|
|
9893
9893
|
example: 5b16f6ee-e302-0079-901b-50c26c4a55b1
|
|
9894
9894
|
currency:
|
|
9895
|
-
title:
|
|
9896
|
-
required:
|
|
9897
|
-
- code
|
|
9895
|
+
title: CurrencyWithRequiredExchangeRate
|
|
9896
|
+
required: *ref_38
|
|
9898
9897
|
type: object
|
|
9899
|
-
properties:
|
|
9900
|
-
code:
|
|
9901
|
-
title: CurrencyCode
|
|
9902
|
-
enum: *ref_12
|
|
9903
|
-
type: string
|
|
9904
|
-
exchange_rate:
|
|
9905
|
-
type: number
|
|
9906
|
-
example: 1.1238
|
|
9898
|
+
properties: *ref_39
|
|
9907
9899
|
grouped_lines:
|
|
9908
9900
|
type: array
|
|
9909
9901
|
items:
|
|
@@ -13227,7 +13219,7 @@ paths:
|
|
|
13227
13219
|
allOf:
|
|
13228
13220
|
- title: ExpectedPaymentMethod
|
|
13229
13221
|
type: object
|
|
13230
|
-
oneOf: &
|
|
13222
|
+
oneOf: &ref_66
|
|
13231
13223
|
- type: object
|
|
13232
13224
|
title: With method & optional reference
|
|
13233
13225
|
properties:
|
|
@@ -13423,10 +13415,10 @@ paths:
|
|
|
13423
13415
|
properties: &ref_374
|
|
13424
13416
|
invoicee:
|
|
13425
13417
|
title: InvoicesRequestInvoicee
|
|
13426
|
-
required: &
|
|
13418
|
+
required: &ref_67
|
|
13427
13419
|
- customer
|
|
13428
13420
|
type: object
|
|
13429
|
-
properties: &
|
|
13421
|
+
properties: &ref_68
|
|
13430
13422
|
customer:
|
|
13431
13423
|
title: Customer
|
|
13432
13424
|
type: object
|
|
@@ -13460,9 +13452,17 @@ paths:
|
|
|
13460
13452
|
properties: *ref_20
|
|
13461
13453
|
currency:
|
|
13462
13454
|
title: Currency
|
|
13463
|
-
required:
|
|
13455
|
+
required: &ref_69
|
|
13456
|
+
- code
|
|
13464
13457
|
type: object
|
|
13465
|
-
properties:
|
|
13458
|
+
properties: &ref_70
|
|
13459
|
+
code:
|
|
13460
|
+
title: CurrencyCode
|
|
13461
|
+
enum: *ref_12
|
|
13462
|
+
type: string
|
|
13463
|
+
exchange_rate:
|
|
13464
|
+
type: number
|
|
13465
|
+
example: 1.1238
|
|
13466
13466
|
project_id:
|
|
13467
13467
|
type: string
|
|
13468
13468
|
example: 624ca743-8998-4f8c-add1-c427bb022166
|
|
@@ -13493,9 +13493,9 @@ paths:
|
|
|
13493
13493
|
items:
|
|
13494
13494
|
allOf:
|
|
13495
13495
|
- title: LineItemRequest
|
|
13496
|
-
required: *
|
|
13496
|
+
required: *ref_64
|
|
13497
13497
|
type: object
|
|
13498
|
-
properties: *
|
|
13498
|
+
properties: *ref_65
|
|
13499
13499
|
- type: object
|
|
13500
13500
|
properties:
|
|
13501
13501
|
withholding_tax_rate_id:
|
|
@@ -13525,7 +13525,7 @@ paths:
|
|
|
13525
13525
|
allOf:
|
|
13526
13526
|
- title: ExpectedPaymentMethod
|
|
13527
13527
|
type: object
|
|
13528
|
-
oneOf: *
|
|
13528
|
+
oneOf: *ref_66
|
|
13529
13529
|
custom_fields:
|
|
13530
13530
|
type: array
|
|
13531
13531
|
items:
|
|
@@ -13589,9 +13589,9 @@ paths:
|
|
|
13589
13589
|
example: b7023c11-455e-4fa5-bb96-87f37dbc7d07
|
|
13590
13590
|
invoicee:
|
|
13591
13591
|
title: InvoicesRequestInvoicee
|
|
13592
|
-
required: *
|
|
13592
|
+
required: *ref_67
|
|
13593
13593
|
type: object
|
|
13594
|
-
properties: *
|
|
13594
|
+
properties: *ref_68
|
|
13595
13595
|
payment_term:
|
|
13596
13596
|
type: object
|
|
13597
13597
|
nullable: true
|
|
@@ -13601,9 +13601,9 @@ paths:
|
|
|
13601
13601
|
properties: *ref_20
|
|
13602
13602
|
currency:
|
|
13603
13603
|
title: Currency
|
|
13604
|
-
required: *
|
|
13604
|
+
required: *ref_69
|
|
13605
13605
|
type: object
|
|
13606
|
-
properties: *
|
|
13606
|
+
properties: *ref_70
|
|
13607
13607
|
project_id:
|
|
13608
13608
|
type: string
|
|
13609
13609
|
example: 624ca743-8998-4f8c-add1-c427bb022166
|
|
@@ -13639,7 +13639,7 @@ paths:
|
|
|
13639
13639
|
allOf:
|
|
13640
13640
|
- title: ExpectedPaymentMethod
|
|
13641
13641
|
type: object
|
|
13642
|
-
oneOf: *
|
|
13642
|
+
oneOf: *ref_66
|
|
13643
13643
|
custom_fields:
|
|
13644
13644
|
type: array
|
|
13645
13645
|
items:
|
|
@@ -13685,9 +13685,9 @@ paths:
|
|
|
13685
13685
|
example: b7023c11-455e-4fa5-bb96-87f37dbc7d07
|
|
13686
13686
|
invoicee:
|
|
13687
13687
|
title: InvoicesRequestInvoicee
|
|
13688
|
-
required: *
|
|
13688
|
+
required: *ref_67
|
|
13689
13689
|
type: object
|
|
13690
|
-
properties: *
|
|
13690
|
+
properties: *ref_68
|
|
13691
13691
|
payment_term:
|
|
13692
13692
|
type: object
|
|
13693
13693
|
nullable: true
|
|
@@ -13719,7 +13719,7 @@ paths:
|
|
|
13719
13719
|
allOf:
|
|
13720
13720
|
- title: ExpectedPaymentMethod
|
|
13721
13721
|
type: object
|
|
13722
|
-
oneOf: *
|
|
13722
|
+
oneOf: *ref_66
|
|
13723
13723
|
custom_fields:
|
|
13724
13724
|
type: array
|
|
13725
13725
|
items:
|
|
@@ -15499,9 +15499,9 @@ paths:
|
|
|
15499
15499
|
properties: &ref_425
|
|
15500
15500
|
invoicee:
|
|
15501
15501
|
title: InvoicesRequestInvoicee
|
|
15502
|
-
required: *
|
|
15502
|
+
required: *ref_67
|
|
15503
15503
|
type: object
|
|
15504
|
-
properties: *
|
|
15504
|
+
properties: *ref_68
|
|
15505
15505
|
department_id:
|
|
15506
15506
|
type: string
|
|
15507
15507
|
example: 6a6343fc-fdd8-4bc0-aa69-3a004c710e87
|
|
@@ -15537,9 +15537,9 @@ paths:
|
|
|
15537
15537
|
items:
|
|
15538
15538
|
allOf:
|
|
15539
15539
|
- title: LineItemRequest
|
|
15540
|
-
required: *
|
|
15540
|
+
required: *ref_64
|
|
15541
15541
|
type: object
|
|
15542
|
-
properties: *
|
|
15542
|
+
properties: *ref_65
|
|
15543
15543
|
- type: object
|
|
15544
15544
|
required:
|
|
15545
15545
|
- quantity
|
|
@@ -15727,9 +15727,9 @@ paths:
|
|
|
15727
15727
|
example: Subscription for cookies
|
|
15728
15728
|
invoicee:
|
|
15729
15729
|
title: InvoicesRequestInvoicee
|
|
15730
|
-
required: *
|
|
15730
|
+
required: *ref_67
|
|
15731
15731
|
type: object
|
|
15732
|
-
properties: *
|
|
15732
|
+
properties: *ref_68
|
|
15733
15733
|
department_id:
|
|
15734
15734
|
type: string
|
|
15735
15735
|
example: 6a6343fc-fdd8-4bc0-aa69-3a004c710e87
|
|
@@ -34758,9 +34758,9 @@ components:
|
|
|
34758
34758
|
properties: *ref_62
|
|
34759
34759
|
LineItemRequest:
|
|
34760
34760
|
title: LineItemRequest
|
|
34761
|
-
required: *
|
|
34761
|
+
required: *ref_64
|
|
34762
34762
|
type: object
|
|
34763
|
-
properties: *
|
|
34763
|
+
properties: *ref_65
|
|
34764
34764
|
QuotationsGroupedLinesRequest:
|
|
34765
34765
|
title: QuotationsGroupedLinesRequest
|
|
34766
34766
|
required: *ref_49
|
|
@@ -34799,11 +34799,6 @@ components:
|
|
|
34799
34799
|
required: *ref_304
|
|
34800
34800
|
type: object
|
|
34801
34801
|
properties: *ref_305
|
|
34802
|
-
Currency:
|
|
34803
|
-
title: Currency
|
|
34804
|
-
required: *ref_64
|
|
34805
|
-
type: object
|
|
34806
|
-
properties: *ref_65
|
|
34807
34802
|
quotations.update.request:
|
|
34808
34803
|
title: quotations.update.request
|
|
34809
34804
|
required: *ref_306
|
|
@@ -35025,7 +35020,7 @@ components:
|
|
|
35025
35020
|
ExpectedPaymentMethod:
|
|
35026
35021
|
title: ExpectedPaymentMethod
|
|
35027
35022
|
type: object
|
|
35028
|
-
oneOf: *
|
|
35023
|
+
oneOf: *ref_66
|
|
35029
35024
|
PeppolStatus:
|
|
35030
35025
|
title: PeppolStatus
|
|
35031
35026
|
enum: *ref_77
|
|
@@ -35052,6 +35047,11 @@ components:
|
|
|
35052
35047
|
properties: *ref_372
|
|
35053
35048
|
InvoicesRequestInvoicee:
|
|
35054
35049
|
title: InvoicesRequestInvoicee
|
|
35050
|
+
required: *ref_67
|
|
35051
|
+
type: object
|
|
35052
|
+
properties: *ref_68
|
|
35053
|
+
Currency:
|
|
35054
|
+
title: Currency
|
|
35055
35055
|
required: *ref_69
|
|
35056
35056
|
type: object
|
|
35057
35057
|
properties: *ref_70
|
|
@@ -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.194.0
|
|
7
7
|
servers:
|
|
8
8
|
- url: https://api.focus.teamleader.eu
|
|
9
9
|
variables: {}
|
|
@@ -21787,17 +21787,6 @@ components:
|
|
|
21787
21787
|
description: an array of file ids
|
|
21788
21788
|
language:
|
|
21789
21789
|
$ref: '#/components/schemas/QuotationLanguage'
|
|
21790
|
-
Currency:
|
|
21791
|
-
title: Currency
|
|
21792
|
-
required:
|
|
21793
|
-
- code
|
|
21794
|
-
type: object
|
|
21795
|
-
properties:
|
|
21796
|
-
code:
|
|
21797
|
-
$ref: '#/components/schemas/CurrencyCode'
|
|
21798
|
-
exchange_rate:
|
|
21799
|
-
type: number
|
|
21800
|
-
example: 1.1238
|
|
21801
21790
|
quotations.update.request:
|
|
21802
21791
|
title: quotations.update.request
|
|
21803
21792
|
required:
|
|
@@ -21808,7 +21797,7 @@ components:
|
|
|
21808
21797
|
type: string
|
|
21809
21798
|
example: 5b16f6ee-e302-0079-901b-50c26c4a55b1
|
|
21810
21799
|
currency:
|
|
21811
|
-
$ref: '#/components/schemas/
|
|
21800
|
+
$ref: '#/components/schemas/CurrencyWithRequiredExchangeRate'
|
|
21812
21801
|
grouped_lines:
|
|
21813
21802
|
type: array
|
|
21814
21803
|
items:
|
|
@@ -23686,6 +23675,17 @@ components:
|
|
|
23686
23675
|
example: 417a2231-c3c7-4e1c-a6bb-1b014836ca60
|
|
23687
23676
|
required:
|
|
23688
23677
|
- contact_id
|
|
23678
|
+
Currency:
|
|
23679
|
+
title: Currency
|
|
23680
|
+
required:
|
|
23681
|
+
- code
|
|
23682
|
+
type: object
|
|
23683
|
+
properties:
|
|
23684
|
+
code:
|
|
23685
|
+
$ref: '#/components/schemas/CurrencyCode'
|
|
23686
|
+
exchange_rate:
|
|
23687
|
+
type: number
|
|
23688
|
+
example: 1.1238
|
|
23689
23689
|
InvoicesGroupedLinesRequest:
|
|
23690
23690
|
title: InvoicesGroupedLinesRequest
|
|
23691
23691
|
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.
|
|
4
|
+
"version": "1.194.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"
|