From 6debb7b2d5cda693b74ea8324326d7ec6e6e94f1 Mon Sep 17 00:00:00 2001 From: ruslan Date: Mon, 27 May 2024 12:13:58 +0300 Subject: [PATCH] APIv2 upd /mobile/tenant-info --- v2/swagger.yaml | 69 ++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 60 insertions(+), 9 deletions(-) diff --git a/v2/swagger.yaml b/v2/swagger.yaml index 70658c4..9f7a012 100644 --- a/v2/swagger.yaml +++ b/v2/swagger.yaml @@ -2916,28 +2916,79 @@ components: tenantInfo: type: object properties: - endpoint: - type: string - default: https://demo.hrbox.io/api/v2 tenantId: type: integer format: int64 - default: 101 + example: 2 tenantName: type: string - default: Demo Company + example: HRBOX demo + supportEmail: + type: string + example: help@hrbox.io domain: 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: type: string - default: #FF0000 + example: "#FF0000" logoUrl: type: string - default: https://demo.hrbox.io/logo.png + example: https://demo.hrbox.io/file/resize/600x0/f2a84060-d386-4c5f-9290-e3af1ede6334.png logoSqUrl: 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: type: object properties: