@teamleader/focus-api-specification 1.213.0 → 1.215.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.213.0
6
+ version: 1.215.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -200,8 +200,8 @@ tags:
200
200
  x-displayName: Receipts
201
201
  - name: product_categories
202
202
  description: |
203
- Product categories are used to group specific products. They can be linked
204
- to a ledger account, which is important for accounting.
203
+ Product categories are used to group specific products. They are used as a
204
+ ledger account, which is important for accounting.
205
205
 
206
206
  ***Required scopes:*** `products`
207
207
  x-displayName: Product Categories
@@ -13123,6 +13123,7 @@ paths:
13123
13123
  product_category:
13124
13124
  type: object
13125
13125
  nullable: true
13126
+ description: These are ledger accounts
13126
13127
  allOf:
13127
13128
  - title: TypeAndId
13128
13129
  type: object
@@ -13550,6 +13551,7 @@ paths:
13550
13551
  example: c0c03f1e-77e3-402c-a713-30ea1c585824
13551
13552
  product_category_id:
13552
13553
  type: string
13554
+ description: These are ledger accounts
13553
13555
  example: e2314517-3cab-4aa9-8471-450e73449041
13554
13556
  description: ''
13555
13557
  invoice_date:
@@ -14762,6 +14764,7 @@ paths:
14762
14764
  product_category:
14763
14765
  type: object
14764
14766
  nullable: true
14767
+ description: These are ledger accounts
14765
14768
  allOf:
14766
14769
  - title: TypeAndId
14767
14770
  type: object
@@ -15477,6 +15480,7 @@ paths:
15477
15480
  product_category:
15478
15481
  type: object
15479
15482
  nullable: true
15483
+ description: These are ledger accounts
15480
15484
  allOf:
15481
15485
  - title: TypeAndId
15482
15486
  type: object
@@ -15639,6 +15643,7 @@ paths:
15639
15643
  example: c0c03f1e-77e3-402c-a713-30ea1c585824
15640
15644
  product_category_id:
15641
15645
  type: string
15646
+ description: These are ledger accounts
15642
15647
  example: e2314517-3cab-4aa9-8471-450e73449041
15643
15648
  description: ''
15644
15649
  description: ''
@@ -18893,7 +18898,7 @@ paths:
18893
18898
  tags:
18894
18899
  - product_categories
18895
18900
  summary: productCategories.list
18896
- description: Get a list of product categories.
18901
+ description: Get a list of product categories. They are used as a ledger account, which is important for accounting.
18897
18902
  operationId: productCategories.list
18898
18903
  parameters: []
18899
18904
  requestBody:
@@ -19287,6 +19292,7 @@ paths:
19287
19292
  product_category:
19288
19293
  type: object
19289
19294
  nullable: true
19295
+ description: These are ledger accounts
19290
19296
  allOf:
19291
19297
  - title: TypeAndId
19292
19298
  type: object
@@ -19527,6 +19533,7 @@ paths:
19527
19533
  example: af48fe9e-d44c-0eac-8813-8be051b10921
19528
19534
  product_category_id:
19529
19535
  type: string
19536
+ description: These are ledger accounts
19530
19537
  example: 624ca743-8998-4f8c-add1-c427bb022166
19531
19538
  tax_rate_id:
19532
19539
  type: string
@@ -19649,6 +19656,7 @@ paths:
19649
19656
  example: af48fe9e-d44c-0eac-8813-8be051b10921
19650
19657
  product_category_id:
19651
19658
  type: string
19659
+ description: These are ledger accounts
19652
19660
  example: 624ca743-8998-4f8c-add1-c427bb022166
19653
19661
  tax_rate_id:
19654
19662
  type: string
@@ -32430,6 +32438,7 @@ paths:
32430
32438
  product_category:
32431
32439
  type: object
32432
32440
  nullable: true
32441
+ description: These are ledger accounts
32433
32442
  allOf:
32434
32443
  - title: TypeAndId
32435
32444
  type: object
@@ -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.213.0
6
+ version: 1.215.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -200,8 +200,8 @@ tags:
200
200
  x-displayName: Receipts
201
201
  - name: product_categories
202
202
  description: |
203
- Product categories are used to group specific products. They can be linked
204
- to a ledger account, which is important for accounting.
203
+ Product categories are used to group specific products. They are used as a
204
+ ledger account, which is important for accounting.
205
205
 
206
206
  ***Required scopes:*** `products`
207
207
  x-displayName: Product Categories
@@ -9611,7 +9611,7 @@ paths:
9611
9611
  tags:
9612
9612
  - product_categories
9613
9613
  summary: productCategories.list
9614
- description: Get a list of product categories.
9614
+ description: Get a list of product categories. They are used as a ledger account, which is important for accounting.
9615
9615
  operationId: productCategories.list
9616
9616
  parameters: []
9617
9617
  requestBody:
@@ -23434,6 +23434,7 @@ components:
23434
23434
  product_category:
23435
23435
  type: object
23436
23436
  nullable: true
23437
+ description: These are ledger accounts
23437
23438
  allOf:
23438
23439
  - $ref: '#/components/schemas/TypeAndId'
23439
23440
  unit_price:
@@ -23778,6 +23779,7 @@ components:
23778
23779
  example: c0c03f1e-77e3-402c-a713-30ea1c585824
23779
23780
  product_category_id:
23780
23781
  type: string
23782
+ description: These are ledger accounts
23781
23783
  example: e2314517-3cab-4aa9-8471-450e73449041
23782
23784
  invoices.draft.request:
23783
23785
  title: invoices.draft.request
@@ -24322,6 +24324,7 @@ components:
24322
24324
  product_category:
24323
24325
  type: object
24324
24326
  nullable: true
24327
+ description: These are ledger accounts
24325
24328
  allOf:
24326
24329
  - $ref: '#/components/schemas/TypeAndId'
24327
24330
  unit_price:
@@ -24641,6 +24644,7 @@ components:
24641
24644
  product_category:
24642
24645
  type: object
24643
24646
  nullable: true
24647
+ description: These are ledger accounts
24644
24648
  allOf:
24645
24649
  - $ref: '#/components/schemas/TypeAndId'
24646
24650
  unit_price:
@@ -24810,6 +24814,7 @@ components:
24810
24814
  example: c0c03f1e-77e3-402c-a713-30ea1c585824
24811
24815
  product_category_id:
24812
24816
  type: string
24817
+ description: These are ledger accounts
24813
24818
  example: e2314517-3cab-4aa9-8471-450e73449041
24814
24819
  description: ''
24815
24820
  InvoiceGenerationCreate:
@@ -26111,6 +26116,7 @@ components:
26111
26116
  product_category:
26112
26117
  type: object
26113
26118
  nullable: true
26119
+ description: These are ledger accounts
26114
26120
  allOf:
26115
26121
  - $ref: '#/components/schemas/TypeAndId'
26116
26122
  stock:
@@ -26222,6 +26228,7 @@ components:
26222
26228
  example: af48fe9e-d44c-0eac-8813-8be051b10921
26223
26229
  product_category_id:
26224
26230
  type: string
26231
+ description: These are ledger accounts
26225
26232
  example: 624ca743-8998-4f8c-add1-c427bb022166
26226
26233
  tax_rate_id:
26227
26234
  type: string
@@ -26291,6 +26298,7 @@ components:
26291
26298
  example: af48fe9e-d44c-0eac-8813-8be051b10921
26292
26299
  product_category_id:
26293
26300
  type: string
26301
+ description: These are ledger accounts
26294
26302
  example: 624ca743-8998-4f8c-add1-c427bb022166
26295
26303
  tax_rate_id:
26296
26304
  type: string
@@ -32011,6 +32019,7 @@ components:
32011
32019
  product_category:
32012
32020
  type: object
32013
32021
  nullable: true
32022
+ description: These are ledger accounts
32014
32023
  allOf:
32015
32024
  - $ref: '#/components/schemas/TypeAndId'
32016
32025
  unit_price:
@@ -0,0 +1,5 @@
1
+ ---
2
+ category: addition
3
+ ---
4
+
5
+ We clarified that `product_category` and `product_category_id` are ledger accounts, on the products, invoices, credit notes, subscriptions and orders endpoints. We also improved the description of the product categories resource.
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.213.0",
4
+ "version": "1.215.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"