@kohost/api-client 3.3.10 → 3.3.11

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.
@@ -5,6 +5,12 @@
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
+ export type Date =
9
+ | string
10
+ | {
11
+ [k: string]: unknown;
12
+ };
13
+
8
14
  /**
9
15
  * A property is a physical asset or building
10
16
  */
@@ -12,7 +18,7 @@ export interface Property {
12
18
  id: string;
13
19
  name: string;
14
20
  type: "property";
15
- discriminator: "hospitality" | "education" | "commercial";
21
+ discriminator: "hospitality" | "education" | "commercial" | "storage";
16
22
  /**
17
23
  * Reference (id) to the organization that owns this property
18
24
  */
@@ -91,6 +97,13 @@ export interface Property {
91
97
  Concierge?: {
92
98
  timeTracking?: boolean;
93
99
  tipping?: boolean;
100
+ quickServices?: {
101
+ name: string;
102
+ description: string;
103
+ department?: string;
104
+ image: MediaFile;
105
+ [k: string]: unknown;
106
+ }[];
94
107
  [k: string]: unknown;
95
108
  };
96
109
  DigitalKey?: {
@@ -167,3 +180,37 @@ export interface Address {
167
180
  countryCode?: string;
168
181
  [k: string]: unknown;
169
182
  }
183
+ /**
184
+ * Any media file
185
+ */
186
+ export interface MediaFile {
187
+ id?: string;
188
+ type: "mediaFile";
189
+ name?: string;
190
+ fileHash?: string;
191
+ /**
192
+ * This is the category id
193
+ */
194
+ category?: string;
195
+ mimeType?:
196
+ | "image/*"
197
+ | "image/jpeg"
198
+ | "image/png"
199
+ | "image/gif"
200
+ | "image/webp"
201
+ | "image/avif"
202
+ | "image/svg+xml"
203
+ | "application/pdf";
204
+ data?: string;
205
+ url?: string;
206
+ width?: number;
207
+ height?: number;
208
+ /**
209
+ * Size in bytes
210
+ */
211
+ size?: number;
212
+ uploadUrl?: string;
213
+ uploadUrlExpires?: Date;
214
+ createdBy?: string;
215
+ systemId?: string;
216
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kohost/api-client",
3
- "version": "3.3.10",
3
+ "version": "3.3.11",
4
4
  "description": "API client, models, schemas, commands, and events for Kohost applications",
5
5
  "author": "Ian Rogers",
6
6
  "readme": "README.md",