@kohost/api-client 3.3.6 → 3.3.8
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/mediaSource.json +7 -1
- package/dist/cjs/schemas/property.json +12 -2
- package/dist/cjs/schemas/ticket.json +6 -0
- package/dist/esm/Models.js +24 -2
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +24 -2
- package/dist/esm/utils.js.map +2 -2
- package/dist/types/schemas/MediaSourceSchema.d.ts +1 -0
- package/dist/types/schemas/PropertySchema.d.ts +5 -2
- package/dist/types/schemas/RoomSchema.d.ts +1 -0
- package/dist/types/schemas/TicketSchema.d.ts +2 -0
- package/package.json +1 -1
|
@@ -4,7 +4,14 @@
|
|
|
4
4
|
"title": "Property",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"description": "A property is a physical asset or building",
|
|
7
|
-
"required": [
|
|
7
|
+
"required": [
|
|
8
|
+
"id",
|
|
9
|
+
"name",
|
|
10
|
+
"type",
|
|
11
|
+
"organization",
|
|
12
|
+
"timezone",
|
|
13
|
+
"discriminator"
|
|
14
|
+
],
|
|
8
15
|
"properties": {
|
|
9
16
|
"id": {
|
|
10
17
|
"$ref": "definitions.json#/definitions/id"
|
|
@@ -54,7 +61,10 @@
|
|
|
54
61
|
}
|
|
55
62
|
},
|
|
56
63
|
"timezone": {
|
|
57
|
-
"type": "string"
|
|
64
|
+
"type": "string",
|
|
65
|
+
"description": "IANA timezone string",
|
|
66
|
+
"pattern": "^([a-zA-Z]+/[a-zA-Z_]+)$",
|
|
67
|
+
"examples": ["America/New_York", "America/Los_Angeles"]
|
|
58
68
|
},
|
|
59
69
|
"smsNumber": {
|
|
60
70
|
"type": "string"
|
|
@@ -158,6 +158,9 @@
|
|
|
158
158
|
"type": "string"
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
|
+
"department": {
|
|
162
|
+
"type": "string"
|
|
163
|
+
},
|
|
161
164
|
"rating": {
|
|
162
165
|
"type": "number",
|
|
163
166
|
"minimum": 0,
|
|
@@ -169,6 +172,9 @@
|
|
|
169
172
|
"tipAmount": {
|
|
170
173
|
"type": "string"
|
|
171
174
|
},
|
|
175
|
+
"autoCloseAt": {
|
|
176
|
+
"$ref": "definitions.json#/definitions/date"
|
|
177
|
+
},
|
|
172
178
|
"scheduleDate": {
|
|
173
179
|
"$ref": "definitions.json#/definitions/date"
|
|
174
180
|
},
|
package/dist/esm/Models.js
CHANGED
|
@@ -10442,6 +10442,12 @@ var require_mediaSource = __commonJS({
|
|
|
10442
10442
|
type: "string"
|
|
10443
10443
|
}
|
|
10444
10444
|
},
|
|
10445
|
+
supportedOutputs: {
|
|
10446
|
+
type: "array",
|
|
10447
|
+
items: {
|
|
10448
|
+
type: "string"
|
|
10449
|
+
}
|
|
10450
|
+
},
|
|
10445
10451
|
command: {
|
|
10446
10452
|
type: ["string", "null"],
|
|
10447
10453
|
enum: [
|
|
@@ -11706,6 +11712,9 @@ var require_ticket = __commonJS({
|
|
|
11706
11712
|
type: "string"
|
|
11707
11713
|
}
|
|
11708
11714
|
},
|
|
11715
|
+
department: {
|
|
11716
|
+
type: "string"
|
|
11717
|
+
},
|
|
11709
11718
|
rating: {
|
|
11710
11719
|
type: "number",
|
|
11711
11720
|
minimum: 0,
|
|
@@ -11717,6 +11726,9 @@ var require_ticket = __commonJS({
|
|
|
11717
11726
|
tipAmount: {
|
|
11718
11727
|
type: "string"
|
|
11719
11728
|
},
|
|
11729
|
+
autoCloseAt: {
|
|
11730
|
+
$ref: "definitions.json#/definitions/date"
|
|
11731
|
+
},
|
|
11720
11732
|
scheduleDate: {
|
|
11721
11733
|
$ref: "definitions.json#/definitions/date"
|
|
11722
11734
|
},
|
|
@@ -13278,7 +13290,14 @@ var require_property = __commonJS({
|
|
|
13278
13290
|
title: "Property",
|
|
13279
13291
|
type: "object",
|
|
13280
13292
|
description: "A property is a physical asset or building",
|
|
13281
|
-
required: [
|
|
13293
|
+
required: [
|
|
13294
|
+
"id",
|
|
13295
|
+
"name",
|
|
13296
|
+
"type",
|
|
13297
|
+
"organization",
|
|
13298
|
+
"timezone",
|
|
13299
|
+
"discriminator"
|
|
13300
|
+
],
|
|
13282
13301
|
properties: {
|
|
13283
13302
|
id: {
|
|
13284
13303
|
$ref: "definitions.json#/definitions/id"
|
|
@@ -13328,7 +13347,10 @@ var require_property = __commonJS({
|
|
|
13328
13347
|
}
|
|
13329
13348
|
},
|
|
13330
13349
|
timezone: {
|
|
13331
|
-
type: "string"
|
|
13350
|
+
type: "string",
|
|
13351
|
+
description: "IANA timezone string",
|
|
13352
|
+
pattern: "^([a-zA-Z]+/[a-zA-Z_]+)$",
|
|
13353
|
+
examples: ["America/New_York", "America/Los_Angeles"]
|
|
13332
13354
|
},
|
|
13333
13355
|
smsNumber: {
|
|
13334
13356
|
type: "string"
|