@kohost/api-client 3.2.0 → 3.2.2
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.
- package/dist/cjs/schemas/PropertySchema.d.ts +5 -0
- package/dist/cjs/schemas/TicketSchema.d.ts +2 -0
- package/dist/cjs/schemas/property.json +16 -0
- package/dist/cjs/schemas/ticket.json +6 -0
- package/dist/esm/Models.js +22 -0
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +22 -0
- package/dist/esm/utils.js.map +2 -2
- package/package.json +1 -1
|
@@ -92,6 +92,11 @@ export interface Property {
|
|
|
92
92
|
DigitalKey?: {
|
|
93
93
|
system?: "salto" | "dormakaba";
|
|
94
94
|
systemOnline?: boolean;
|
|
95
|
+
systemConfig?: {
|
|
96
|
+
legicAppId?: string;
|
|
97
|
+
legicTechUsername?: string;
|
|
98
|
+
legicTechPassword?: string;
|
|
99
|
+
};
|
|
95
100
|
enableApp?: boolean;
|
|
96
101
|
branding?: {
|
|
97
102
|
logo?: string;
|
|
@@ -28,6 +28,7 @@ export interface Ticket {
|
|
|
28
28
|
)[];
|
|
29
29
|
openedBy?: {
|
|
30
30
|
userId?: string;
|
|
31
|
+
systemId?: string;
|
|
31
32
|
[k: string]: unknown;
|
|
32
33
|
};
|
|
33
34
|
requester: {
|
|
@@ -39,6 +40,7 @@ export interface Ticket {
|
|
|
39
40
|
userPhoto?: MediaFile | null | string;
|
|
40
41
|
deviceId?: string;
|
|
41
42
|
roomId?: string;
|
|
43
|
+
reservationId?: string;
|
|
42
44
|
spaceId?: string;
|
|
43
45
|
spaceName?: string;
|
|
44
46
|
[k: string]: unknown;
|
|
@@ -202,6 +202,22 @@
|
|
|
202
202
|
"type": "boolean",
|
|
203
203
|
"default": false
|
|
204
204
|
},
|
|
205
|
+
"systemConfig": {
|
|
206
|
+
"type": "object",
|
|
207
|
+
"properties": {
|
|
208
|
+
"legicAppId": {
|
|
209
|
+
"type": "string"
|
|
210
|
+
},
|
|
211
|
+
"legicTechUsername": {
|
|
212
|
+
"type": "string"
|
|
213
|
+
},
|
|
214
|
+
"legicTechPassword": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"additionalProperties": false,
|
|
219
|
+
"default": {}
|
|
220
|
+
},
|
|
205
221
|
"enableApp": {
|
|
206
222
|
"type": "boolean"
|
|
207
223
|
},
|
|
@@ -71,6 +71,9 @@
|
|
|
71
71
|
"properties": {
|
|
72
72
|
"userId": {
|
|
73
73
|
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"systemId": {
|
|
76
|
+
"type": "string"
|
|
74
77
|
}
|
|
75
78
|
}
|
|
76
79
|
},
|
|
@@ -109,6 +112,9 @@
|
|
|
109
112
|
"roomId": {
|
|
110
113
|
"type": "string"
|
|
111
114
|
},
|
|
115
|
+
"reservationId": {
|
|
116
|
+
"type": "string"
|
|
117
|
+
},
|
|
112
118
|
"spaceId": {
|
|
113
119
|
"type": "string"
|
|
114
120
|
},
|
package/dist/esm/Models.js
CHANGED
|
@@ -11534,6 +11534,9 @@ var require_ticket = __commonJS({
|
|
|
11534
11534
|
properties: {
|
|
11535
11535
|
userId: {
|
|
11536
11536
|
type: "string"
|
|
11537
|
+
},
|
|
11538
|
+
systemId: {
|
|
11539
|
+
type: "string"
|
|
11537
11540
|
}
|
|
11538
11541
|
}
|
|
11539
11542
|
},
|
|
@@ -11572,6 +11575,9 @@ var require_ticket = __commonJS({
|
|
|
11572
11575
|
roomId: {
|
|
11573
11576
|
type: "string"
|
|
11574
11577
|
},
|
|
11578
|
+
reservationId: {
|
|
11579
|
+
type: "string"
|
|
11580
|
+
},
|
|
11575
11581
|
spaceId: {
|
|
11576
11582
|
type: "string"
|
|
11577
11583
|
},
|
|
@@ -13382,6 +13388,22 @@ var require_property = __commonJS({
|
|
|
13382
13388
|
type: "boolean",
|
|
13383
13389
|
default: false
|
|
13384
13390
|
},
|
|
13391
|
+
systemConfig: {
|
|
13392
|
+
type: "object",
|
|
13393
|
+
properties: {
|
|
13394
|
+
legicAppId: {
|
|
13395
|
+
type: "string"
|
|
13396
|
+
},
|
|
13397
|
+
legicTechUsername: {
|
|
13398
|
+
type: "string"
|
|
13399
|
+
},
|
|
13400
|
+
legicTechPassword: {
|
|
13401
|
+
type: "string"
|
|
13402
|
+
}
|
|
13403
|
+
},
|
|
13404
|
+
additionalProperties: false,
|
|
13405
|
+
default: {}
|
|
13406
|
+
},
|
|
13385
13407
|
enableApp: {
|
|
13386
13408
|
type: "boolean"
|
|
13387
13409
|
},
|