@kohost/api-client 3.9.7 → 3.9.9
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/Models/Log.js +35 -0
- package/dist/cjs/Models/index.js +2 -0
- package/dist/cjs/schemas/log.json +39 -0
- package/dist/cjs/utils/entityFactory.js +2 -0
- package/dist/esm/Models.js +85 -1
- package/dist/esm/Models.js.map +3 -3
- package/dist/esm/utils.js +87 -1
- package/dist/esm/utils.js.map +3 -3
- package/dist/types/Models/Log.d.ts +17 -0
- package/dist/types/Models/Log.d.ts.map +1 -0
- package/dist/types/Models/index.d.ts +2 -1
- package/dist/types/schemas/LogSchema.d.ts +65 -0
- package/dist/types/utils/entityFactory.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export = Log;
|
|
2
|
+
declare class Log extends Entity {
|
|
3
|
+
/**
|
|
4
|
+
* @typedef {import("../schemas/LogSchema").Log} LogType
|
|
5
|
+
* Create a Product instance.
|
|
6
|
+
* @constructor
|
|
7
|
+
* @param {Log} log - The log object of type Log.
|
|
8
|
+
*/
|
|
9
|
+
constructor(log: Log);
|
|
10
|
+
readonly schema: any;
|
|
11
|
+
get validator(): any;
|
|
12
|
+
}
|
|
13
|
+
declare namespace Log {
|
|
14
|
+
let validProperties: string[];
|
|
15
|
+
}
|
|
16
|
+
import Entity = require("./Entity");
|
|
17
|
+
//# sourceMappingURL=Log.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Log.d.ts","sourceRoot":"","sources":["../../../src/Models/Log.js"],"names":[],"mappings":";AAQA;IACE;;;;;OAKG;IACH,iBAFW,GAAG,EAIb;;;CACF"}
|
|
@@ -37,5 +37,6 @@ import TimeSheet = require("./TimeSheet");
|
|
|
37
37
|
import Policy = require("./Policy");
|
|
38
38
|
import Issue = require("./Issue");
|
|
39
39
|
import Vendor = require("./Vendor");
|
|
40
|
-
|
|
40
|
+
import Log = require("./Log");
|
|
41
|
+
export { Entity, Organization, Property, MediaFile, Gateway, Switch, Alarm, Dimmer, Lock, Courtesy, Camera, MotionSensor, Thermostat, WindowCovering, MediaSource, Identification, Product, User, SystemUser, Room, Space, Category, Ticket, Scene, DiscoveredDevice, DeviceRouter, Reservation, Credential, ShortLink, EnergyReportShard, EnergyReport, SMSMessage, EmailMessage, Order, Announcement, TimeSheet, Policy, Issue, Vendor, Log };
|
|
41
42
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export interface Log {
|
|
9
|
+
id: string;
|
|
10
|
+
type?: "log";
|
|
11
|
+
timestamp: number;
|
|
12
|
+
driver?:
|
|
13
|
+
| "aws-kinesis"
|
|
14
|
+
| "butler"
|
|
15
|
+
| "crestron"
|
|
16
|
+
| "dell"
|
|
17
|
+
| "dmp"
|
|
18
|
+
| "doorbird"
|
|
19
|
+
| "dormakaba"
|
|
20
|
+
| "dsc"
|
|
21
|
+
| "ecobee"
|
|
22
|
+
| "epson"
|
|
23
|
+
| "geovision-rs"
|
|
24
|
+
| "geovision-as-manager"
|
|
25
|
+
| "honeywell-vista"
|
|
26
|
+
| "igor"
|
|
27
|
+
| "inncom"
|
|
28
|
+
| "isapi"
|
|
29
|
+
| "kohost-k7"
|
|
30
|
+
| "kohost"
|
|
31
|
+
| "lg"
|
|
32
|
+
| "lg-webos"
|
|
33
|
+
| "lapi"
|
|
34
|
+
| "lirc"
|
|
35
|
+
| "mews"
|
|
36
|
+
| "mht"
|
|
37
|
+
| "paxton"
|
|
38
|
+
| "pelican-wireless"
|
|
39
|
+
| "power-shades"
|
|
40
|
+
| "rachio"
|
|
41
|
+
| "rebrandly"
|
|
42
|
+
| "rtsp"
|
|
43
|
+
| "salto"
|
|
44
|
+
| "salto-irn"
|
|
45
|
+
| "samsung"
|
|
46
|
+
| "se"
|
|
47
|
+
| "sendgrid"
|
|
48
|
+
| "sonifi"
|
|
49
|
+
| "stay-n-touch"
|
|
50
|
+
| "storable"
|
|
51
|
+
| "twilio"
|
|
52
|
+
| "unifi"
|
|
53
|
+
| "valcom"
|
|
54
|
+
| "vizio"
|
|
55
|
+
| "wisenet"
|
|
56
|
+
| "cloudflare-images"
|
|
57
|
+
| "cloudflare-stream"
|
|
58
|
+
| "insperia-privacy";
|
|
59
|
+
message?: string;
|
|
60
|
+
field1?: string;
|
|
61
|
+
field2?: string;
|
|
62
|
+
field3?: string;
|
|
63
|
+
field4?: string;
|
|
64
|
+
[k: string]: unknown;
|
|
65
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entityFactory.d.ts","sourceRoot":"","sources":["../../../src/utils/entityFactory.js"],"names":[],"mappings":"AAEiB,
|
|
1
|
+
{"version":3,"file":"entityFactory.d.ts","sourceRoot":"","sources":["../../../src/utils/entityFactory.js"],"names":[],"mappings":"AAEiB,0DAmFhB"}
|