APIv2 upd /mobile/tenant-info

This commit is contained in:
ruslan
2024-05-27 12:13:58 +03:00
parent 4314caf6ae
commit 6debb7b2d5
+60 -9
View File
@@ -2916,28 +2916,79 @@ components:
tenantInfo: tenantInfo:
type: object type: object
properties: properties:
endpoint:
type: string
default: https://demo.hrbox.io/api/v2
tenantId: tenantId:
type: integer type: integer
format: int64 format: int64
default: 101 example: 2
tenantName: tenantName:
type: string type: string
default: Demo Company example: HRBOX demo
supportEmail:
type: string
example: help@hrbox.io
domain: domain:
type: string type: string
default: demo.hrbox.io example: demo.hrbox.io
endpoint:
type: string
example: https://demo.hrbox.io/api/v2
authAdditional:
type: boolean
example: true
primaryColor:
type: string
example: "#08D8D2"
brandColor: brandColor:
type: string type: string
default: #FF0000 example: "#FF0000"
logoUrl: logoUrl:
type: string type: string
default: https://demo.hrbox.io/logo.png example: https://demo.hrbox.io/file/resize/600x0/f2a84060-d386-4c5f-9290-e3af1ede6334.png
logoSqUrl: logoSqUrl:
type: string type: string
default: https://demo.hrbox.io/logo-sq.png example: https://demo.hrbox.io/file/resize/60x60/f9b0986b-5bd6-4923-8242-a810a20e7918.png
style:
type: object
properties:
colorPrimary:
type: string
example: "#08D8D2"
colorBrand:
type: string
example: "#FFFFFF"
colorBrand2:
type: string
example: "#08D8D2"
colorAccent:
type: string
example: "#FFDD5C"
colorBrandText:
type: string
example: "#151B30"
colorBrand2Text:
type: string
example: "#FFFFFF"
colorAccentText:
type: string
example: "#FFFFFF"
logoOnLoginId:
type: string
example:
logoId:
type: string
example: f2a84060-d386-4c5f-9290-e3af1ede6334.png
logoSquareId:
type: string
example: f9b0986b-5bd6-4923-8242-a810a20e7918.png
imagePlaceholderId:
type: string
example: 61e7ef28-f8ba-4c23-bc7c-80a0a792c10e.png
language:
type: string
example: ru
timezone:
type: string
example: Europe/Moscow
modules: modules:
type: object type: object
properties: properties: