@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.
@@ -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": ["id", "name", "type", "organization"],
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"
@@ -25,6 +32,12 @@
25
32
  "type": ["string", "null"],
26
33
  "description": "Reference (id) to the organization that owns this property"
27
34
  },
35
+ "departments": {
36
+ "type": "array",
37
+ "items": {
38
+ "type": "string"
39
+ }
40
+ },
28
41
  "testModeEnabled": {
29
42
  "type": "boolean"
30
43
  },
@@ -48,7 +61,10 @@
48
61
  }
49
62
  },
50
63
  "timezone": {
51
- "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"]
52
68
  },
53
69
  "smsNumber": {
54
70
  "type": "string"
@@ -169,6 +169,9 @@
169
169
  "tipAmount": {
170
170
  "type": "string"
171
171
  },
172
+ "autoCloseAt": {
173
+ "$ref": "definitions.json#/definitions/date"
174
+ },
172
175
  "scheduleDate": {
173
176
  "$ref": "definitions.json#/definitions/date"
174
177
  },
@@ -82,6 +82,10 @@
82
82
  "SuperAdmin"
83
83
  ]
84
84
  },
85
+ "department": {
86
+ "type": "string",
87
+ "description": "The department the user belongs to."
88
+ },
85
89
  "policyIds": {
86
90
  "type": "array",
87
91
  "items": {
@@ -9544,6 +9544,10 @@ var require_user = __commonJS({
9544
9544
  "SuperAdmin"
9545
9545
  ]
9546
9546
  },
9547
+ department: {
9548
+ type: "string",
9549
+ description: "The department the user belongs to."
9550
+ },
9547
9551
  policyIds: {
9548
9552
  type: "array",
9549
9553
  items: {
@@ -11713,6 +11717,9 @@ var require_ticket = __commonJS({
11713
11717
  tipAmount: {
11714
11718
  type: "string"
11715
11719
  },
11720
+ autoCloseAt: {
11721
+ $ref: "definitions.json#/definitions/date"
11722
+ },
11716
11723
  scheduleDate: {
11717
11724
  $ref: "definitions.json#/definitions/date"
11718
11725
  },
@@ -13274,7 +13281,14 @@ var require_property = __commonJS({
13274
13281
  title: "Property",
13275
13282
  type: "object",
13276
13283
  description: "A property is a physical asset or building",
13277
- required: ["id", "name", "type", "organization"],
13284
+ required: [
13285
+ "id",
13286
+ "name",
13287
+ "type",
13288
+ "organization",
13289
+ "timezone",
13290
+ "discriminator"
13291
+ ],
13278
13292
  properties: {
13279
13293
  id: {
13280
13294
  $ref: "definitions.json#/definitions/id"
@@ -13295,6 +13309,12 @@ var require_property = __commonJS({
13295
13309
  type: ["string", "null"],
13296
13310
  description: "Reference (id) to the organization that owns this property"
13297
13311
  },
13312
+ departments: {
13313
+ type: "array",
13314
+ items: {
13315
+ type: "string"
13316
+ }
13317
+ },
13298
13318
  testModeEnabled: {
13299
13319
  type: "boolean"
13300
13320
  },
@@ -13318,7 +13338,10 @@ var require_property = __commonJS({
13318
13338
  }
13319
13339
  },
13320
13340
  timezone: {
13321
- type: "string"
13341
+ type: "string",
13342
+ description: "IANA timezone string",
13343
+ pattern: "^([a-zA-Z]+/[a-zA-Z_]+)$",
13344
+ examples: ["America/New_York", "America/Los_Angeles"]
13322
13345
  },
13323
13346
  smsNumber: {
13324
13347
  type: "string"