@teamleader/focus-api-specification 1.13.0 → 1.15.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.15.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -6075,12 +6075,16 @@ paths:
6075
6075
  description: This date is inclusive
6076
6076
  example: '2018-02-11T16:45:30+00:00'
6077
6077
  status:
6078
- type: string
6079
- enum:
6080
- - open
6078
+ type: array
6079
+ items:
6080
+ type: string
6081
+ enum:
6082
+ - open
6083
+ - won
6084
+ - lost
6085
+ example:
6081
6086
  - won
6082
- - lost
6083
- example: won
6087
+ description: ''
6084
6088
  pipeline_ids:
6085
6089
  type: array
6086
6090
  items:
@@ -28450,120 +28454,157 @@ paths:
28450
28454
  content:
28451
28455
  application/json:
28452
28456
  schema:
28453
- title: products.inforesponse
28454
- type: object
28455
- properties: &ref_659
28456
- data:
28457
+ allOf:
28458
+ - title: orders.inforesponse
28457
28459
  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:
28460
+ properties: &ref_660
28461
+ data:
28481
28462
  type: object
28482
28463
  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:
28464
+ id:
28465
+ type: string
28466
+ example: 31b9d864-da1d-060e-9811-f683896aeb11
28467
+ name:
28468
+ type: string
28469
+ example: General costs
28470
+ order_date:
28471
+ type: string
28472
+ example: '2016-02-04'
28473
+ nullable: true
28474
+ delivery_date:
28475
+ type: string
28476
+ example: '2016-10-14'
28477
+ nullable: true
28478
+ payment_term:
28494
28479
  allOf:
28495
- - title: Money
28480
+ - title: PaymentTerm
28481
+ type: object
28482
+ properties: *ref_19
28483
+ - type: object
28484
+ nullable: true
28485
+ grouped_lines:
28486
+ type: array
28487
+ items:
28488
+ title: OrdersGroupedLinesResponse
28489
+ type: object
28490
+ properties: &ref_659
28491
+ section:
28492
+ type: object
28493
+ properties:
28494
+ title:
28495
+ type: string
28496
+ line_items:
28497
+ type: array
28498
+ items:
28499
+ allOf:
28500
+ - title: LineItemResponse
28501
+ type: object
28502
+ properties: *ref_61
28503
+ - type: object
28504
+ properties:
28505
+ product_category:
28506
+ type: object
28507
+ nullable: true
28508
+ allOf:
28509
+ - title: TypeAndId
28510
+ type: object
28511
+ properties: *ref_1
28512
+ unit_price:
28513
+ allOf:
28514
+ - title: AmountWithTax
28515
+ required: *ref_62
28516
+ type: object
28517
+ properties: *ref_63
28518
+ - type: object
28519
+ description: ''
28520
+ description: ''
28521
+ total:
28522
+ type: object
28523
+ properties:
28524
+ tax_exclusive:
28525
+ title: Money
28526
+ required: *ref_30
28527
+ type: object
28528
+ properties: *ref_31
28529
+ tax_inclusive:
28530
+ title: Money
28496
28531
  required: *ref_30
28497
28532
  type: object
28498
28533
  properties: *ref_31
28534
+ purchase_price_tax_exclusive:
28535
+ allOf:
28536
+ - title: Money
28537
+ required: *ref_30
28538
+ type: object
28539
+ properties: *ref_31
28540
+ - type: object
28541
+ nullable: true
28542
+ purchase_price_tax_inclusive:
28543
+ allOf:
28544
+ - title: Money
28545
+ required: *ref_30
28546
+ type: object
28547
+ properties: *ref_31
28548
+ - type: object
28549
+ nullable: true
28550
+ taxes:
28551
+ type: array
28552
+ items:
28553
+ title: Taxes
28554
+ type: object
28555
+ properties: *ref_41
28556
+ description: ''
28557
+ web_url:
28558
+ type: string
28559
+ example: https://focus.teamleader.eu/order_detail.php?id=31b9d864-da1d-060e-9811-f683896aeb11
28560
+ supplier:
28561
+ type: object
28562
+ properties:
28563
+ type:
28564
+ type: string
28565
+ enum:
28566
+ - company
28567
+ - contact
28568
+ example: contact
28569
+ id:
28570
+ type: string
28571
+ example: e2314517-3cab-4aa9-8471-450e73449040
28572
+ nullable: true
28573
+ department:
28574
+ allOf:
28575
+ - title: TypeAndId
28576
+ type: object
28577
+ properties: *ref_1
28499
28578
  - type: object
28500
28579
  nullable: true
28501
- purchase_price_tax_inclusive:
28580
+ deal:
28502
28581
  allOf:
28503
- - title: Money
28504
- required: *ref_30
28582
+ - title: TypeAndId
28505
28583
  type: object
28506
- properties: *ref_31
28584
+ properties: *ref_1
28507
28585
  - type: object
28508
28586
  nullable: true
28509
- taxes:
28587
+ project:
28588
+ allOf:
28589
+ - title: TypeAndId
28590
+ type: object
28591
+ properties: *ref_1
28592
+ - type: object
28593
+ nullable: true
28594
+ assignee:
28595
+ allOf:
28596
+ - title: TypeAndId
28597
+ type: object
28598
+ properties: *ref_1
28599
+ - type: object
28600
+ nullable: true
28601
+ custom_fields:
28510
28602
  type: array
28511
28603
  items:
28512
- title: Taxes
28604
+ title: CustomFieldsResponse
28513
28605
  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`
28606
+ properties: *ref_21
28607
+ description: Only included with request parameter `includes=custom_fields`
28567
28608
  example:
28568
28609
  data:
28569
28610
  id: 31b9d864-da1d-060e-9811-f683896aeb11
@@ -28630,7 +28671,7 @@ paths:
28630
28671
  allOf:
28631
28672
  - title: orders.listrequest
28632
28673
  type: object
28633
- properties: &ref_660
28674
+ properties: &ref_661
28634
28675
  filter:
28635
28676
  type: object
28636
28677
  properties:
@@ -28664,7 +28705,7 @@ paths:
28664
28705
  schema:
28665
28706
  title: orders.listresponse
28666
28707
  type: object
28667
- properties: &ref_661
28708
+ properties: &ref_662
28668
28709
  data:
28669
28710
  type: array
28670
28711
  items:
@@ -28961,7 +29002,7 @@ paths:
28961
29002
  schema:
28962
29003
  title: webhooks.listresponse
28963
29004
  type: object
28964
- properties: &ref_662
29005
+ properties: &ref_663
28965
29006
  data:
28966
29007
  type: array
28967
29008
  items:
@@ -29010,11 +29051,11 @@ paths:
29010
29051
  schema:
29011
29052
  allOf:
29012
29053
  - title: cloudPlatforms.urlrequest
29013
- required: &ref_663
29054
+ required: &ref_664
29014
29055
  - type
29015
29056
  - id
29016
29057
  type: object
29017
- properties: &ref_664
29058
+ properties: &ref_665
29018
29059
  type:
29019
29060
  type: string
29020
29061
  enum:
@@ -29041,7 +29082,7 @@ paths:
29041
29082
  allOf:
29042
29083
  - title: cloudPlatforms.urlresponse
29043
29084
  type: object
29044
- properties: &ref_665
29085
+ properties: &ref_666
29045
29086
  data:
29046
29087
  type: object
29047
29088
  properties:
@@ -29083,7 +29124,7 @@ paths:
29083
29124
  allOf:
29084
29125
  - title: accounts.projects-v2-statusresponse
29085
29126
  type: object
29086
- properties: &ref_666
29127
+ properties: &ref_667
29087
29128
  data:
29088
29129
  type: object
29089
29130
  properties:
@@ -31153,18 +31194,22 @@ components:
31153
31194
  required: *ref_657
31154
31195
  type: object
31155
31196
  properties: *ref_658
31156
- orders.inforesponse:
31157
- title: products.inforesponse
31197
+ OrdersGroupedLinesResponse:
31198
+ title: OrdersGroupedLinesResponse
31158
31199
  type: object
31159
31200
  properties: *ref_659
31201
+ orders.inforesponse:
31202
+ title: orders.inforesponse
31203
+ type: object
31204
+ properties: *ref_660
31160
31205
  orders.listrequest:
31161
31206
  title: orders.listrequest
31162
31207
  type: object
31163
- properties: *ref_660
31208
+ properties: *ref_661
31164
31209
  orders.listresponse:
31165
31210
  title: orders.listresponse
31166
31211
  type: object
31167
- properties: *ref_661
31212
+ properties: *ref_662
31168
31213
  WebHook:
31169
31214
  title: WebHook
31170
31215
  required: *ref_108
@@ -31173,20 +31218,20 @@ components:
31173
31218
  webhooks.listresponse:
31174
31219
  title: webhooks.listresponse
31175
31220
  type: object
31176
- properties: *ref_662
31221
+ properties: *ref_663
31177
31222
  cloudPlatforms.urlrequest:
31178
31223
  title: cloudPlatforms.urlrequest
31179
- required: *ref_663
31224
+ required: *ref_664
31180
31225
  type: object
31181
- properties: *ref_664
31226
+ properties: *ref_665
31182
31227
  cloudPlatforms.urlresponse:
31183
31228
  title: cloudPlatforms.urlresponse
31184
31229
  type: object
31185
- properties: *ref_665
31230
+ properties: *ref_666
31186
31231
  accounts.projects-v2-statusresponse:
31187
31232
  title: accounts.projects-v2-statusresponse
31188
31233
  type: object
31189
- properties: *ref_666
31234
+ properties: *ref_667
31190
31235
  x-tagGroups:
31191
31236
  - name: General
31192
31237
  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.15.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
@@ -17088,12 +17089,16 @@ components:
17088
17089
  description: This date is inclusive
17089
17090
  example: '2018-02-11T16:45:30+00:00'
17090
17091
  status:
17091
- type: string
17092
- enum:
17093
- - open
17092
+ type: array
17093
+ items:
17094
+ type: string
17095
+ enum:
17096
+ - open
17097
+ - won
17098
+ - lost
17099
+ example:
17094
17100
  - won
17095
- - lost
17096
- example: won
17101
+ description: ''
17097
17102
  pipeline_ids:
17098
17103
  type: array
17099
17104
  items:
@@ -27685,8 +27690,34 @@ components:
27685
27690
  type: string
27686
27691
  description: Comma-separated list of optional includes
27687
27692
  example: custom_fields
27693
+ OrdersGroupedLinesResponse:
27694
+ title: OrdersGroupedLinesResponse
27695
+ type: object
27696
+ properties:
27697
+ section:
27698
+ type: object
27699
+ properties:
27700
+ title:
27701
+ type: string
27702
+ line_items:
27703
+ type: array
27704
+ items:
27705
+ allOf:
27706
+ - $ref: '#/components/schemas/LineItemResponse'
27707
+ - type: object
27708
+ properties:
27709
+ product_category:
27710
+ type: object
27711
+ nullable: true
27712
+ allOf:
27713
+ - $ref: '#/components/schemas/TypeAndId'
27714
+ unit_price:
27715
+ allOf:
27716
+ - $ref: '#/components/schemas/AmountWithTax'
27717
+ - type: object
27718
+ description: ''
27688
27719
  orders.inforesponse:
27689
- title: products.inforesponse
27720
+ title: orders.inforesponse
27690
27721
  type: object
27691
27722
  properties:
27692
27723
  data:
@@ -27711,6 +27742,11 @@ components:
27711
27742
  - $ref: '#/components/schemas/PaymentTerm'
27712
27743
  - type: object
27713
27744
  nullable: true
27745
+ grouped_lines:
27746
+ type: array
27747
+ items:
27748
+ $ref: '#/components/schemas/OrdersGroupedLinesResponse'
27749
+ description: ''
27714
27750
  total:
27715
27751
  type: object
27716
27752
  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.15.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"