@teamleader/focus-api-specification 1.94.0 → 1.96.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.94.0
6
+ version: 1.96.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -2362,6 +2362,34 @@ paths:
2362
2362
  headers: {}
2363
2363
  content: {}
2364
2364
  deprecated: false
2365
+ /contacts.uploadAvatar:
2366
+ post:
2367
+ tags:
2368
+ - contacts
2369
+ summary: contacts.uploadAvatar
2370
+ description: Update the avatar of a contact.
2371
+ operationId: contacts.uploadAvatar
2372
+ parameters: []
2373
+ requestBody:
2374
+ description: ''
2375
+ content:
2376
+ application/json:
2377
+ schema:
2378
+ allOf:
2379
+ - $ref: '#/components/schemas/contacts.uploadAvatarrequest'
2380
+ - example:
2381
+ id: 76c9d03c-ec5c-4b21-9fc6-7ffee488b12d
2382
+ image: data:image/png;base64,0tyZUP4y8ObjsqZnRFhHANZY+Kc=
2383
+ example:
2384
+ id: 76c9d03c-ec5c-4b21-9fc6-7ffee488b12d
2385
+ image: data:image/png;base64,0tyZUP4y8ObjsqZnRFhHANZY+Kc=
2386
+ required: true
2387
+ responses:
2388
+ '204':
2389
+ description: ''
2390
+ headers: {}
2391
+ content: {}
2392
+ deprecated: false
2365
2393
  /companies.list:
2366
2394
  post:
2367
2395
  tags:
@@ -2885,6 +2913,34 @@ paths:
2885
2913
  headers: {}
2886
2914
  content: {}
2887
2915
  deprecated: false
2916
+ /companies.uploadLogo:
2917
+ post:
2918
+ tags:
2919
+ - companies
2920
+ summary: companies.uploadLogo
2921
+ description: Update the logo of a company.
2922
+ operationId: companies.uploadLogo
2923
+ parameters: []
2924
+ requestBody:
2925
+ description: ''
2926
+ content:
2927
+ application/json:
2928
+ schema:
2929
+ allOf:
2930
+ - $ref: '#/components/schemas/companies.uploadLogorequest'
2931
+ - example:
2932
+ id: 4784189d-610b-4488-b3a5-5f324f752417
2933
+ image: data:image/png;base64,0tyZUP4y8ObjsqZnRFhHANZY+Kc=
2934
+ example:
2935
+ id: 4784189d-610b-4488-b3a5-5f324f752417
2936
+ image: data:image/png;base64,0tyZUP4y8ObjsqZnRFhHANZY+Kc=
2937
+ required: true
2938
+ responses:
2939
+ '204':
2940
+ description: ''
2941
+ headers: {}
2942
+ content: {}
2943
+ deprecated: false
2888
2944
  /companies.delete:
2889
2945
  post:
2890
2946
  tags:
@@ -18710,6 +18766,21 @@ components:
18710
18766
  decision_maker:
18711
18767
  type: boolean
18712
18768
  example: true
18769
+ contacts.uploadAvatarrequest:
18770
+ title: contacts.uploadAvatarrequest
18771
+ required:
18772
+ - id
18773
+ - image
18774
+ type: object
18775
+ properties:
18776
+ id:
18777
+ type: string
18778
+ example: 76c9d03c-ec5c-4b21-9fc6-7ffee488b12d
18779
+ image:
18780
+ type: string
18781
+ nullable: true
18782
+ example: data:image/png;base64,0tyZUP4y8ObjsqZnRFhHANZY+Kc=
18783
+ description: Use `null` to remove the avatar
18713
18784
  companies.listrequest:
18714
18785
  title: companies.listrequest
18715
18786
  type: object
@@ -19260,6 +19331,21 @@ components:
19260
19331
  - example: EUR
19261
19332
  nullable: true
19262
19333
  type: string
19334
+ companies.uploadLogorequest:
19335
+ title: companies.uploadLogorequest
19336
+ required:
19337
+ - id
19338
+ - image
19339
+ type: object
19340
+ properties:
19341
+ id:
19342
+ type: string
19343
+ example: 4784189d-610b-4488-b3a5-5f324f752417
19344
+ image:
19345
+ type: string
19346
+ nullable: true
19347
+ example: data:image/png;base64,0tyZUP4y8ObjsqZnRFhHANZY+Kc=
19348
+ description: Use `null` to remove the logo
19263
19349
  companies.deleterequest:
19264
19350
  title: companies.deleterequest
19265
19351
  required:
@@ -0,0 +1,5 @@
1
+ ---
2
+ category: addition
3
+ ---
4
+
5
+ We added the `contacts.uploadAvatar` and `companies.uploadLogo` endpoints.
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.94.0",
4
+ "version": "1.96.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"