@teamleader/focus-api-specification 1.144.0 → 1.145.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.144.0
6
+ version: 1.145.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -12862,15 +12862,14 @@ paths:
12862
12862
  type: object
12863
12863
  oneOf: &ref_68
12864
12864
  - type: object
12865
- title: With method & reference
12865
+ title: With method & optional reference
12866
12866
  properties:
12867
12867
  method:
12868
12868
  type: string
12869
12869
  enum:
12870
- - sepa_direct_debit
12871
12870
  - direct_debit
12872
12871
  - credit_card
12873
- example: sepa_direct_debit
12872
+ example: credit_card
12874
12873
  reference:
12875
12874
  type: string
12876
12875
  nullable: true
@@ -12887,6 +12886,19 @@ paths:
12887
12886
  - bank_transfer
12888
12887
  - payment_card
12889
12888
  example: cash
12889
+ - type: object
12890
+ title: SEPA direct debit
12891
+ properties:
12892
+ method:
12893
+ type: string
12894
+ enum:
12895
+ - sepa_direct_debit
12896
+ example: sepa_direct_debit
12897
+ reference:
12898
+ type: string
12899
+ example: AB1234
12900
+ required:
12901
+ - reference
12890
12902
  file:
12891
12903
  type: object
12892
12904
  nullable: true
@@ -13327,6 +13339,13 @@ paths:
13327
13339
  type: string
13328
13340
  nullable: true
13329
13341
  example: Some comments about the invoice
13342
+ expected_payment_method:
13343
+ type: object
13344
+ nullable: true
13345
+ allOf:
13346
+ - title: ExpectedPaymentMethod
13347
+ type: object
13348
+ oneOf: *ref_68
13330
13349
  custom_fields:
13331
13350
  type: array
13332
13351
  items:
@@ -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.144.0
6
+ version: 1.145.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -22988,15 +22988,14 @@ components:
22988
22988
  type: object
22989
22989
  oneOf:
22990
22990
  - type: object
22991
- title: With method & reference
22991
+ title: With method & optional reference
22992
22992
  properties:
22993
22993
  method:
22994
22994
  type: string
22995
22995
  enum:
22996
- - sepa_direct_debit
22997
22996
  - direct_debit
22998
22997
  - credit_card
22999
- example: sepa_direct_debit
22998
+ example: credit_card
23000
22999
  reference:
23001
23000
  type: string
23002
23001
  nullable: true
@@ -23013,6 +23012,19 @@ components:
23013
23012
  - bank_transfer
23014
23013
  - payment_card
23015
23014
  example: cash
23015
+ - type: object
23016
+ title: SEPA direct debit
23017
+ properties:
23018
+ method:
23019
+ type: string
23020
+ enum:
23021
+ - sepa_direct_debit
23022
+ example: sepa_direct_debit
23023
+ reference:
23024
+ type: string
23025
+ example: AB1234
23026
+ required:
23027
+ - reference
23016
23028
  PeppolStatus:
23017
23029
  title: PeppolStatus
23018
23030
  enum:
@@ -23431,6 +23443,11 @@ components:
23431
23443
  type: string
23432
23444
  nullable: true
23433
23445
  example: Some comments about the invoice
23446
+ expected_payment_method:
23447
+ type: object
23448
+ nullable: true
23449
+ allOf:
23450
+ - $ref: '#/components/schemas/ExpectedPaymentMethod'
23434
23451
  custom_fields:
23435
23452
  type: array
23436
23453
  items:
@@ -0,0 +1,5 @@
1
+ ---
2
+ category: addition
3
+ ---
4
+
5
+ We added the `expected_payment_method` parameter to the `invoices.updateBooked` endpoint. When `method` is `sepa_direct_debit`, `reference` is 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.144.0",
4
+ "version": "1.145.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"