@kiminix/tp-client 2.19.0 → 2.20.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.
@@ -4,6 +4,8 @@ export interface Business {
4
4
  id: string;
5
5
  identifier: string;
6
6
  name: string;
7
+ logo: string | undefined;
8
+ coverPhoto: string | undefined;
7
9
  licence: Licence | undefined;
8
10
  createdAt: Date;
9
11
  address: string;
@@ -16,5 +18,10 @@ export interface Business {
16
18
  openingHours: OpeningHours[];
17
19
  averagePrice: number | undefined;
18
20
  specialities: string[] | undefined;
19
- telegram: TelegramConfig | undefined;
21
+ telegram?: TelegramConfig | undefined;
22
+ template?: Template | undefined;
23
+ }
24
+ export interface Template {
25
+ id: string;
26
+ theme?: string | undefined;
20
27
  }
@@ -13,5 +13,7 @@ export declare namespace UpdateTemplateAdminAPI {
13
13
  interface Request {
14
14
  id?: string | undefined;
15
15
  theme?: string | undefined;
16
+ logo?: string | undefined;
17
+ coverPhoto?: string | undefined;
16
18
  }
17
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiminix/tp-client",
3
- "version": "2.19.0",
3
+ "version": "2.20.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [