@kohost/api-client 3.0.0-beta.71 → 3.0.0-beta.73

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.
@@ -7,7 +7,8 @@
7
7
 
8
8
  export interface Credential {
9
9
  id?: string;
10
- type: "verificationCode" | "token" | "mobileKey";
10
+ type: string;
11
+ discriminator?: "verificationCode" | "token" | "mobileKey";
11
12
  credential: string;
12
13
  user?: string;
13
14
  organization?: string;
@@ -23,6 +23,104 @@ export interface Property {
23
23
  checkInTime?: string;
24
24
  checkOutTime?: string;
25
25
  address?: Address;
26
+ latitude?: number;
27
+ longitude?: number;
28
+ appManifest?: {
29
+ name?: string;
30
+ short_name?: string;
31
+ scope?: string;
32
+ start_url?: string;
33
+ themeColor?: string;
34
+ backgroundColor?: string;
35
+ display?: "fullscreen" | "standalone" | "minimal-ui" | "browser";
36
+ orientation?: "portrait" | "landscape";
37
+ splash?: {
38
+ src?: string;
39
+ type?: string;
40
+ sizes?: string;
41
+ [k: string]: unknown;
42
+ };
43
+ icons?: {
44
+ src?: string;
45
+ sizes?: string;
46
+ type?: string;
47
+ [k: string]: unknown;
48
+ }[];
49
+ logo?: {
50
+ src?: string;
51
+ type?: string;
52
+ sizes?: string;
53
+ [k: string]: unknown;
54
+ };
55
+ [k: string]: unknown;
56
+ };
57
+ appFeatures?: {
58
+ RoomControl?: {
59
+ commonAreas?: {
60
+ spaces?: string[];
61
+ [k: string]: unknown;
62
+ };
63
+ };
64
+ CheckIn?: {
65
+ payment?: unknown;
66
+ identification?: unknown;
67
+ earlyCheckIn?: {
68
+ dynamic: boolean;
69
+ minimumPrice?: number;
70
+ maximumPrice?: number;
71
+ priceRatioPerHour?: number;
72
+ [k: string]: unknown;
73
+ };
74
+ roomUpgrades?: unknown;
75
+ [k: string]: unknown;
76
+ };
77
+ CheckOut?: {
78
+ lateCheckOut?: {
79
+ dynamic: boolean;
80
+ minimumPrice?: number;
81
+ maximumPrice?: number;
82
+ priceRatioPerHour?: number;
83
+ [k: string]: unknown;
84
+ };
85
+ [k: string]: unknown;
86
+ };
87
+ Concierge?: unknown;
88
+ DigitalKey?: {
89
+ system?: "salto";
90
+ systemOnline?: boolean;
91
+ enableApp?: boolean;
92
+ branding?: {
93
+ logo?: string;
94
+ /**
95
+ * @minItems 2
96
+ * @maxItems 2
97
+ */
98
+ gradient?: [string, string];
99
+ /**
100
+ * @minItems 2
101
+ * @maxItems 3
102
+ */
103
+ highlightedGradient?: [string, string] | [string, string, string];
104
+ [k: string]: unknown;
105
+ };
106
+ [k: string]: unknown;
107
+ };
108
+ Elevator?: unknown;
109
+ };
110
+ notifications?: {
111
+ email?: {
112
+ enabled?: boolean;
113
+ };
114
+ sms?: {
115
+ enabled?: boolean;
116
+ };
117
+ push?: {
118
+ enabled?: boolean;
119
+ };
120
+ };
121
+ credentials?: {
122
+ [k: string]: unknown;
123
+ };
26
124
  [k: string]: unknown;
27
125
  }
28
126
  export interface Address {
@@ -9,6 +9,10 @@
9
9
  "$ref": "definitions.json#/definitions/id"
10
10
  },
11
11
  "type": {
12
+ "type": "string",
13
+ "default": "credential"
14
+ },
15
+ "discriminator": {
12
16
  "type": "string",
13
17
  "enum": ["verificationCode", "token", "mobileKey"]
14
18
  },
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "type": {
13
13
  "type": "string",
14
- "default": "organization"
14
+ "default": "organization"
15
15
  },
16
16
  "accountNumber": {
17
17
  "type": ["number", "null"],
@@ -13,14 +13,14 @@
13
13
  "type": "string"
14
14
  },
15
15
  "type": {
16
- "type": "string",
16
+ "type": "string",
17
17
  "default": "property"
18
18
  },
19
19
  "discriminator": {
20
20
  "type": "string",
21
21
  "enum": ["hospitality", "education", "commercial"]
22
22
  },
23
-
23
+
24
24
  "timezone": {
25
25
  "type": "string"
26
26
  },
@@ -42,7 +42,6 @@
42
42
  },
43
43
  "address": {
44
44
  "$ref": "definitions.json#/definitions/address"
45
- }
46
45
  },
47
46
  "latitude": {
48
47
  "type": "number"
@@ -330,4 +329,5 @@
330
329
  "type": "object",
331
330
  "additionalProperties": true
332
331
  }
332
+ }
333
333
  }