@teamleader/focus-api-specification 1.13.0 → 1.14.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.13.0
6
+ version: 1.14.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -28450,120 +28450,157 @@ paths:
28450
28450
  content:
28451
28451
  application/json:
28452
28452
  schema:
28453
- title: products.inforesponse
28454
- type: object
28455
- properties: &ref_659
28456
- data:
28453
+ allOf:
28454
+ - title: orders.inforesponse
28457
28455
  type: object
28458
- properties:
28459
- id:
28460
- type: string
28461
- example: 31b9d864-da1d-060e-9811-f683896aeb11
28462
- name:
28463
- type: string
28464
- example: General costs
28465
- order_date:
28466
- type: string
28467
- example: '2016-02-04'
28468
- nullable: true
28469
- delivery_date:
28470
- type: string
28471
- example: '2016-10-14'
28472
- nullable: true
28473
- payment_term:
28474
- allOf:
28475
- - title: PaymentTerm
28476
- type: object
28477
- properties: *ref_19
28478
- - type: object
28479
- nullable: true
28480
- total:
28456
+ properties: &ref_660
28457
+ data:
28481
28458
  type: object
28482
28459
  properties:
28483
- tax_exclusive:
28484
- title: Money
28485
- required: *ref_30
28486
- type: object
28487
- properties: *ref_31
28488
- tax_inclusive:
28489
- title: Money
28490
- required: *ref_30
28491
- type: object
28492
- properties: *ref_31
28493
- purchase_price_tax_exclusive:
28460
+ id:
28461
+ type: string
28462
+ example: 31b9d864-da1d-060e-9811-f683896aeb11
28463
+ name:
28464
+ type: string
28465
+ example: General costs
28466
+ order_date:
28467
+ type: string
28468
+ example: '2016-02-04'
28469
+ nullable: true
28470
+ delivery_date:
28471
+ type: string
28472
+ example: '2016-10-14'
28473
+ nullable: true
28474
+ payment_term:
28494
28475
  allOf:
28495
- - title: Money
28476
+ - title: PaymentTerm
28477
+ type: object
28478
+ properties: *ref_19
28479
+ - type: object
28480
+ nullable: true
28481
+ grouped_lines:
28482
+ type: array
28483
+ items:
28484
+ title: OrdersGroupedLinesResponse
28485
+ type: object
28486
+ properties: &ref_659
28487
+ section:
28488
+ type: object
28489
+ properties:
28490
+ title:
28491
+ type: string
28492
+ line_items:
28493
+ type: array
28494
+ items:
28495
+ allOf:
28496
+ - title: LineItemResponse
28497
+ type: object
28498
+ properties: *ref_61
28499
+ - type: object
28500
+ properties:
28501
+ product_category:
28502
+ type: object
28503
+ nullable: true
28504
+ allOf:
28505
+ - title: TypeAndId
28506
+ type: object
28507
+ properties: *ref_1
28508
+ unit_price:
28509
+ allOf:
28510
+ - title: AmountWithTax
28511
+ required: *ref_62
28512
+ type: object
28513
+ properties: *ref_63
28514
+ - type: object
28515
+ description: ''
28516
+ description: ''
28517
+ total:
28518
+ type: object
28519
+ properties:
28520
+ tax_exclusive:
28521
+ title: Money
28522
+ required: *ref_30
28523
+ type: object
28524
+ properties: *ref_31
28525
+ tax_inclusive:
28526
+ title: Money
28496
28527
  required: *ref_30
28497
28528
  type: object
28498
28529
  properties: *ref_31
28530
+ purchase_price_tax_exclusive:
28531
+ allOf:
28532
+ - title: Money
28533
+ required: *ref_30
28534
+ type: object
28535
+ properties: *ref_31
28536
+ - type: object
28537
+ nullable: true
28538
+ purchase_price_tax_inclusive:
28539
+ allOf:
28540
+ - title: Money
28541
+ required: *ref_30
28542
+ type: object
28543
+ properties: *ref_31
28544
+ - type: object
28545
+ nullable: true
28546
+ taxes:
28547
+ type: array
28548
+ items:
28549
+ title: Taxes
28550
+ type: object
28551
+ properties: *ref_41
28552
+ description: ''
28553
+ web_url:
28554
+ type: string
28555
+ example: https://focus.teamleader.eu/order_detail.php?id=31b9d864-da1d-060e-9811-f683896aeb11
28556
+ supplier:
28557
+ type: object
28558
+ properties:
28559
+ type:
28560
+ type: string
28561
+ enum:
28562
+ - company
28563
+ - contact
28564
+ example: contact
28565
+ id:
28566
+ type: string
28567
+ example: e2314517-3cab-4aa9-8471-450e73449040
28568
+ nullable: true
28569
+ department:
28570
+ allOf:
28571
+ - title: TypeAndId
28572
+ type: object
28573
+ properties: *ref_1
28499
28574
  - type: object
28500
28575
  nullable: true
28501
- purchase_price_tax_inclusive:
28576
+ deal:
28502
28577
  allOf:
28503
- - title: Money
28504
- required: *ref_30
28578
+ - title: TypeAndId
28505
28579
  type: object
28506
- properties: *ref_31
28580
+ properties: *ref_1
28507
28581
  - type: object
28508
28582
  nullable: true
28509
- taxes:
28583
+ project:
28584
+ allOf:
28585
+ - title: TypeAndId
28586
+ type: object
28587
+ properties: *ref_1
28588
+ - type: object
28589
+ nullable: true
28590
+ assignee:
28591
+ allOf:
28592
+ - title: TypeAndId
28593
+ type: object
28594
+ properties: *ref_1
28595
+ - type: object
28596
+ nullable: true
28597
+ custom_fields:
28510
28598
  type: array
28511
28599
  items:
28512
- title: Taxes
28600
+ title: CustomFieldsResponse
28513
28601
  type: object
28514
- properties: *ref_41
28515
- description: ''
28516
- web_url:
28517
- type: string
28518
- example: https://focus.teamleader.eu/order_detail.php?id=31b9d864-da1d-060e-9811-f683896aeb11
28519
- supplier:
28520
- type: object
28521
- properties:
28522
- type:
28523
- type: string
28524
- enum:
28525
- - company
28526
- - contact
28527
- example: contact
28528
- id:
28529
- type: string
28530
- example: e2314517-3cab-4aa9-8471-450e73449040
28531
- nullable: true
28532
- department:
28533
- allOf:
28534
- - title: TypeAndId
28535
- type: object
28536
- properties: *ref_1
28537
- - type: object
28538
- nullable: true
28539
- deal:
28540
- allOf:
28541
- - title: TypeAndId
28542
- type: object
28543
- properties: *ref_1
28544
- - type: object
28545
- nullable: true
28546
- project:
28547
- allOf:
28548
- - title: TypeAndId
28549
- type: object
28550
- properties: *ref_1
28551
- - type: object
28552
- nullable: true
28553
- assignee:
28554
- allOf:
28555
- - title: TypeAndId
28556
- type: object
28557
- properties: *ref_1
28558
- - type: object
28559
- nullable: true
28560
- custom_fields:
28561
- type: array
28562
- items:
28563
- title: CustomFieldsResponse
28564
- type: object
28565
- properties: *ref_21
28566
- description: Only included with request parameter `includes=custom_fields`
28602
+ properties: *ref_21
28603
+ description: Only included with request parameter `includes=custom_fields`
28567
28604
  example:
28568
28605
  data:
28569
28606
  id: 31b9d864-da1d-060e-9811-f683896aeb11
@@ -28630,7 +28667,7 @@ paths:
28630
28667
  allOf:
28631
28668
  - title: orders.listrequest
28632
28669
  type: object
28633
- properties: &ref_660
28670
+ properties: &ref_661
28634
28671
  filter:
28635
28672
  type: object
28636
28673
  properties:
@@ -28664,7 +28701,7 @@ paths:
28664
28701
  schema:
28665
28702
  title: orders.listresponse
28666
28703
  type: object
28667
- properties: &ref_661
28704
+ properties: &ref_662
28668
28705
  data:
28669
28706
  type: array
28670
28707
  items:
@@ -28961,7 +28998,7 @@ paths:
28961
28998
  schema:
28962
28999
  title: webhooks.listresponse
28963
29000
  type: object
28964
- properties: &ref_662
29001
+ properties: &ref_663
28965
29002
  data:
28966
29003
  type: array
28967
29004
  items:
@@ -29010,11 +29047,11 @@ paths:
29010
29047
  schema:
29011
29048
  allOf:
29012
29049
  - title: cloudPlatforms.urlrequest
29013
- required: &ref_663
29050
+ required: &ref_664
29014
29051
  - type
29015
29052
  - id
29016
29053
  type: object
29017
- properties: &ref_664
29054
+ properties: &ref_665
29018
29055
  type:
29019
29056
  type: string
29020
29057
  enum:
@@ -29041,7 +29078,7 @@ paths:
29041
29078
  allOf:
29042
29079
  - title: cloudPlatforms.urlresponse
29043
29080
  type: object
29044
- properties: &ref_665
29081
+ properties: &ref_666
29045
29082
  data:
29046
29083
  type: object
29047
29084
  properties:
@@ -29083,7 +29120,7 @@ paths:
29083
29120
  allOf:
29084
29121
  - title: accounts.projects-v2-statusresponse
29085
29122
  type: object
29086
- properties: &ref_666
29123
+ properties: &ref_667
29087
29124
  data:
29088
29125
  type: object
29089
29126
  properties:
@@ -31153,18 +31190,22 @@ components:
31153
31190
  required: *ref_657
31154
31191
  type: object
31155
31192
  properties: *ref_658
31156
- orders.inforesponse:
31157
- title: products.inforesponse
31193
+ OrdersGroupedLinesResponse:
31194
+ title: OrdersGroupedLinesResponse
31158
31195
  type: object
31159
31196
  properties: *ref_659
31197
+ orders.inforesponse:
31198
+ title: orders.inforesponse
31199
+ type: object
31200
+ properties: *ref_660
31160
31201
  orders.listrequest:
31161
31202
  title: orders.listrequest
31162
31203
  type: object
31163
- properties: *ref_660
31204
+ properties: *ref_661
31164
31205
  orders.listresponse:
31165
31206
  title: orders.listresponse
31166
31207
  type: object
31167
- properties: *ref_661
31208
+ properties: *ref_662
31168
31209
  WebHook:
31169
31210
  title: WebHook
31170
31211
  required: *ref_108
@@ -31173,20 +31214,20 @@ components:
31173
31214
  webhooks.listresponse:
31174
31215
  title: webhooks.listresponse
31175
31216
  type: object
31176
- properties: *ref_662
31217
+ properties: *ref_663
31177
31218
  cloudPlatforms.urlrequest:
31178
31219
  title: cloudPlatforms.urlrequest
31179
- required: *ref_663
31220
+ required: *ref_664
31180
31221
  type: object
31181
- properties: *ref_664
31222
+ properties: *ref_665
31182
31223
  cloudPlatforms.urlresponse:
31183
31224
  title: cloudPlatforms.urlresponse
31184
31225
  type: object
31185
- properties: *ref_665
31226
+ properties: *ref_666
31186
31227
  accounts.projects-v2-statusresponse:
31187
31228
  title: accounts.projects-v2-statusresponse
31188
31229
  type: object
31189
- properties: *ref_666
31230
+ properties: *ref_667
31190
31231
  x-tagGroups:
31191
31232
  - name: General
31192
31233
  tags:
@@ -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.13.0
6
+ version: 1.14.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -13798,7 +13798,8 @@ paths:
13798
13798
  content:
13799
13799
  application/json:
13800
13800
  schema:
13801
- $ref: '#/components/schemas/orders.inforesponse'
13801
+ allOf:
13802
+ - $ref: '#/components/schemas/orders.inforesponse'
13802
13803
  example:
13803
13804
  data:
13804
13805
  id: 31b9d864-da1d-060e-9811-f683896aeb11
@@ -27685,8 +27686,34 @@ components:
27685
27686
  type: string
27686
27687
  description: Comma-separated list of optional includes
27687
27688
  example: custom_fields
27689
+ OrdersGroupedLinesResponse:
27690
+ title: OrdersGroupedLinesResponse
27691
+ type: object
27692
+ properties:
27693
+ section:
27694
+ type: object
27695
+ properties:
27696
+ title:
27697
+ type: string
27698
+ line_items:
27699
+ type: array
27700
+ items:
27701
+ allOf:
27702
+ - $ref: '#/components/schemas/LineItemResponse'
27703
+ - type: object
27704
+ properties:
27705
+ product_category:
27706
+ type: object
27707
+ nullable: true
27708
+ allOf:
27709
+ - $ref: '#/components/schemas/TypeAndId'
27710
+ unit_price:
27711
+ allOf:
27712
+ - $ref: '#/components/schemas/AmountWithTax'
27713
+ - type: object
27714
+ description: ''
27688
27715
  orders.inforesponse:
27689
- title: products.inforesponse
27716
+ title: orders.inforesponse
27690
27717
  type: object
27691
27718
  properties:
27692
27719
  data:
@@ -27711,6 +27738,11 @@ components:
27711
27738
  - $ref: '#/components/schemas/PaymentTerm'
27712
27739
  - type: object
27713
27740
  nullable: true
27741
+ grouped_lines:
27742
+ type: array
27743
+ items:
27744
+ $ref: '#/components/schemas/OrdersGroupedLinesResponse'
27745
+ description: ''
27714
27746
  total:
27715
27747
  type: object
27716
27748
  properties:
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.13.0",
4
+ "version": "1.14.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"