@kohost/api-client 3.3.4 → 3.3.7
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/property.json +18 -2
- package/dist/cjs/schemas/ticket.json +3 -0
- package/dist/cjs/schemas/user.json +4 -0
- package/dist/esm/Models.js +25 -2
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +25 -2
- package/dist/esm/utils.js.map +2 -2
- package/dist/types/schemas/PropertySchema.d.ts +6 -2
- package/dist/types/schemas/TicketSchema.d.ts +1 -0
- package/dist/types/schemas/UserSchema.d.ts +4 -0
- package/package.json +1 -1
package/dist/esm/utils.js
CHANGED
|
@@ -9601,6 +9601,10 @@ var require_user = __commonJS({
|
|
|
9601
9601
|
"SuperAdmin"
|
|
9602
9602
|
]
|
|
9603
9603
|
},
|
|
9604
|
+
department: {
|
|
9605
|
+
type: "string",
|
|
9606
|
+
description: "The department the user belongs to."
|
|
9607
|
+
},
|
|
9604
9608
|
policyIds: {
|
|
9605
9609
|
type: "array",
|
|
9606
9610
|
items: {
|
|
@@ -11770,6 +11774,9 @@ var require_ticket = __commonJS({
|
|
|
11770
11774
|
tipAmount: {
|
|
11771
11775
|
type: "string"
|
|
11772
11776
|
},
|
|
11777
|
+
autoCloseAt: {
|
|
11778
|
+
$ref: "definitions.json#/definitions/date"
|
|
11779
|
+
},
|
|
11773
11780
|
scheduleDate: {
|
|
11774
11781
|
$ref: "definitions.json#/definitions/date"
|
|
11775
11782
|
},
|
|
@@ -13331,7 +13338,14 @@ var require_property = __commonJS({
|
|
|
13331
13338
|
title: "Property",
|
|
13332
13339
|
type: "object",
|
|
13333
13340
|
description: "A property is a physical asset or building",
|
|
13334
|
-
required: [
|
|
13341
|
+
required: [
|
|
13342
|
+
"id",
|
|
13343
|
+
"name",
|
|
13344
|
+
"type",
|
|
13345
|
+
"organization",
|
|
13346
|
+
"timezone",
|
|
13347
|
+
"discriminator"
|
|
13348
|
+
],
|
|
13335
13349
|
properties: {
|
|
13336
13350
|
id: {
|
|
13337
13351
|
$ref: "definitions.json#/definitions/id"
|
|
@@ -13352,6 +13366,12 @@ var require_property = __commonJS({
|
|
|
13352
13366
|
type: ["string", "null"],
|
|
13353
13367
|
description: "Reference (id) to the organization that owns this property"
|
|
13354
13368
|
},
|
|
13369
|
+
departments: {
|
|
13370
|
+
type: "array",
|
|
13371
|
+
items: {
|
|
13372
|
+
type: "string"
|
|
13373
|
+
}
|
|
13374
|
+
},
|
|
13355
13375
|
testModeEnabled: {
|
|
13356
13376
|
type: "boolean"
|
|
13357
13377
|
},
|
|
@@ -13375,7 +13395,10 @@ var require_property = __commonJS({
|
|
|
13375
13395
|
}
|
|
13376
13396
|
},
|
|
13377
13397
|
timezone: {
|
|
13378
|
-
type: "string"
|
|
13398
|
+
type: "string",
|
|
13399
|
+
description: "IANA timezone string",
|
|
13400
|
+
pattern: "^([a-zA-Z]+/[a-zA-Z_]+)$",
|
|
13401
|
+
examples: ["America/New_York", "America/Los_Angeles"]
|
|
13379
13402
|
},
|
|
13380
13403
|
smsNumber: {
|
|
13381
13404
|
type: "string"
|