@teamleader/focus-api-specification 1.218.0 → 1.219.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.218.0
6
+ version: 1.219.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -17205,7 +17205,7 @@ paths:
17205
17205
  content:
17206
17206
  application/json:
17207
17207
  schema:
17208
- title: receipts.listPayments.response
17208
+ title: incomingCreditNotes.listPayments.response
17209
17209
  type: object
17210
17210
  properties: &ref_446
17211
17211
  data:
@@ -17238,10 +17238,10 @@ paths:
17238
17238
  type: object
17239
17239
  properties:
17240
17240
  total:
17241
+ title: Money
17242
+ required: *ref_31
17241
17243
  type: object
17242
- properties:
17243
- amount:
17244
- type: number
17244
+ properties: *ref_32
17245
17245
  example:
17246
17246
  data:
17247
17247
  - id: 018d5965-19fb-701a-af11-e80451931551
@@ -17256,6 +17256,7 @@ paths:
17256
17256
  meta:
17257
17257
  total:
17258
17258
  amount: 123.3
17259
+ currency: EUR
17259
17260
  /incomingCreditNotes.markAsPendingReview:
17260
17261
  post:
17261
17262
  summary: incomingCreditNotes.markAsPendingReview
@@ -17912,7 +17913,7 @@ paths:
17912
17913
  content:
17913
17914
  application/json:
17914
17915
  schema:
17915
- title: receipts.listPayments.response
17916
+ title: incomingInvoices.listPayments.response
17916
17917
  type: object
17917
17918
  properties: &ref_456
17918
17919
  data:
@@ -17945,10 +17946,10 @@ paths:
17945
17946
  type: object
17946
17947
  properties:
17947
17948
  total:
17949
+ title: Money
17950
+ required: *ref_31
17948
17951
  type: object
17949
- properties:
17950
- amount:
17951
- type: number
17952
+ properties: *ref_32
17952
17953
  example:
17953
17954
  data:
17954
17955
  - id: 018d5965-19fb-701a-af11-e80451931551
@@ -17963,6 +17964,7 @@ paths:
17963
17964
  meta:
17964
17965
  total:
17965
17966
  amount: 123.3
17967
+ currency: EUR
17966
17968
  /incomingInvoices.markAsPendingReview:
17967
17969
  post:
17968
17970
  summary: incomingInvoices.markAsPendingReview
@@ -18610,10 +18612,10 @@ paths:
18610
18612
  type: object
18611
18613
  properties:
18612
18614
  total:
18615
+ title: Money
18616
+ required: *ref_31
18613
18617
  type: object
18614
- properties:
18615
- amount:
18616
- type: number
18618
+ properties: *ref_32
18617
18619
  example:
18618
18620
  data:
18619
18621
  - id: 018d5965-19fb-701a-af11-e80451931551
@@ -18628,6 +18630,7 @@ paths:
18628
18630
  meta:
18629
18631
  total:
18630
18632
  amount: 123.3
18633
+ currency: EUR
18631
18634
  /receipts.markAsPendingReview:
18632
18635
  post:
18633
18636
  summary: receipts.markAsPendingReview
@@ -35488,7 +35491,7 @@ components:
35488
35491
  properties: *ref_444
35489
35492
  required: *ref_445
35490
35493
  incomingCreditNotes.listPayments.response:
35491
- title: receipts.listPayments.response
35494
+ title: incomingCreditNotes.listPayments.response
35492
35495
  type: object
35493
35496
  properties: *ref_446
35494
35497
  incomingCreditNotes.registerPayment.request:
@@ -35516,7 +35519,7 @@ components:
35516
35519
  properties: *ref_454
35517
35520
  required: *ref_455
35518
35521
  incomingInvoices.listPayments.response:
35519
- title: receipts.listPayments.response
35522
+ title: incomingInvoices.listPayments.response
35520
35523
  type: object
35521
35524
  properties: *ref_456
35522
35525
  incomingInvoices.registerPayment.request:
@@ -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.218.0
6
+ version: 1.219.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -8228,6 +8228,7 @@ paths:
8228
8228
  meta:
8229
8229
  total:
8230
8230
  amount: 123.3
8231
+ currency: EUR
8231
8232
  /incomingCreditNotes.markAsPendingReview:
8232
8233
  post:
8233
8234
  summary: incomingCreditNotes.markAsPendingReview
@@ -8824,6 +8825,7 @@ paths:
8824
8825
  meta:
8825
8826
  total:
8826
8827
  amount: 123.3
8828
+ currency: EUR
8827
8829
  /incomingInvoices.markAsPendingReview:
8828
8830
  post:
8829
8831
  summary: incomingInvoices.markAsPendingReview
@@ -9376,6 +9378,7 @@ paths:
9376
9378
  meta:
9377
9379
  total:
9378
9380
  amount: 123.3
9381
+ currency: EUR
9379
9382
  /receipts.markAsPendingReview:
9380
9383
  post:
9381
9384
  summary: receipts.markAsPendingReview
@@ -25594,7 +25597,7 @@ components:
25594
25597
  required:
25595
25598
  - id
25596
25599
  incomingCreditNotes.listPayments.response:
25597
- title: receipts.listPayments.response
25600
+ title: incomingCreditNotes.listPayments.response
25598
25601
  type: object
25599
25602
  properties:
25600
25603
  data:
@@ -25624,10 +25627,7 @@ components:
25624
25627
  type: object
25625
25628
  properties:
25626
25629
  total:
25627
- type: object
25628
- properties:
25629
- amount:
25630
- type: number
25630
+ $ref: '#/components/schemas/Money'
25631
25631
  incomingCreditNotes.registerPayment.request:
25632
25632
  title: receipts.incomingCreditNotes
25633
25633
  type: object
@@ -25702,7 +25702,7 @@ components:
25702
25702
  required:
25703
25703
  - id
25704
25704
  incomingInvoices.listPayments.response:
25705
- title: receipts.listPayments.response
25705
+ title: incomingInvoices.listPayments.response
25706
25706
  type: object
25707
25707
  properties:
25708
25708
  data:
@@ -25732,10 +25732,7 @@ components:
25732
25732
  type: object
25733
25733
  properties:
25734
25734
  total:
25735
- type: object
25736
- properties:
25737
- amount:
25738
- type: number
25735
+ $ref: '#/components/schemas/Money'
25739
25736
  incomingInvoices.registerPayment.request:
25740
25737
  title: incomingInvoices.registerPayment.request
25741
25738
  type: object
@@ -25840,10 +25837,7 @@ components:
25840
25837
  type: object
25841
25838
  properties:
25842
25839
  total:
25843
- type: object
25844
- properties:
25845
- amount:
25846
- type: number
25840
+ $ref: '#/components/schemas/Money'
25847
25841
  receipts.registerPayment.request:
25848
25842
  title: receipts.registerPayment.request
25849
25843
  type: object
@@ -0,0 +1,5 @@
1
+ ---
2
+ category: addition
3
+ ---
4
+
5
+ `incomingInvoices.listPayments`, `incomingCreditNotes.listPayments` and `receipts.listPayments` now return the currency of `meta.total`, next to its amount.
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.218.0",
4
+ "version": "1.219.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"