@kohost/api-client 6.0.0 → 6.0.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.
|
@@ -75,7 +75,7 @@ declare const defs: {
|
|
|
75
75
|
readonly driver: {
|
|
76
76
|
readonly type: "string";
|
|
77
77
|
readonly description: "Driver used to communicate with the object.";
|
|
78
|
-
readonly enum: readonly ["adlink", "avigilon-alta", "aws-kinesis", "bacnet", "benq", "butler", "comelit", "crestron", "dell", "digital-watchdog", "distech", "dmp", "doorbird", "dormakaba", "dsc", "dsc-itv2", "earbridge", "ecobee", "epson", "geovision-rs", "geovision-as-manager", "honeywell-vista", "igor", "inncom", "isapi", "kohost-k7", "kohost", "lg", "lg-webos", "lapi", "lirc", "mews", "mht", "mobile-mule", "modbus", "napco", "newline", "obix", "one-roster", "paxton", "pdk", "pelican-wireless", "power-shades", "rachio", "rebrandly", "relay", "reolink", "rtsp", "salto", "salto-irn", "samsung", "se", "sendgrid", "singlewire", "smartboard", "sonifi", "stay-n-touch", "storable", "twilio", "unifi", "valcom", "veracross", "verkada", "vivotek", "vizio", "wisenet", "zkteco", "cloudflare-images", "cloudflare-stream", "insperia-privacy"];
|
|
78
|
+
readonly enum: readonly ["adlink", "avigilon-alta", "aws-kinesis", "bacnet", "benq", "butler", "comelit", "cool-automation", "crestron", "dell", "digital-watchdog", "distech", "dmp", "doorbird", "dormakaba", "dsc", "dsc-itv2", "earbridge", "ecobee", "epson", "geovision-rs", "geovision-as-manager", "honeywell-vista", "igor", "inncom", "isapi", "kohost-k7", "kohost", "lg", "lg-webos", "lapi", "lirc", "mews", "mht", "mobile-mule", "modbus", "napco", "newline", "obix", "one-roster", "orchid-fusion", "paxton", "pdk", "pelican-wireless", "power-shades", "rachio", "rebrandly", "relay", "reolink", "rtsp", "salto", "salto-irn", "samsung", "se", "sendgrid", "singlewire", "smartboard", "sonifi", "stay-n-touch", "storable", "twilio", "unifi", "valcom", "veracross", "verkada", "vivotek", "vizio", "wisenet", "zkteco", "cloudflare-images", "cloudflare-stream", "insperia-privacy"];
|
|
79
79
|
};
|
|
80
80
|
readonly type: {
|
|
81
81
|
readonly type: "string";
|
|
@@ -83,6 +83,7 @@ const defs = {
|
|
|
83
83
|
"benq",
|
|
84
84
|
"butler",
|
|
85
85
|
"comelit",
|
|
86
|
+
"cool-automation",
|
|
86
87
|
"crestron",
|
|
87
88
|
"dell",
|
|
88
89
|
"digital-watchdog",
|
|
@@ -115,6 +116,7 @@ const defs = {
|
|
|
115
116
|
"newline",
|
|
116
117
|
"obix",
|
|
117
118
|
"one-roster",
|
|
119
|
+
"orchid-fusion",
|
|
118
120
|
"paxton",
|
|
119
121
|
"pdk",
|
|
120
122
|
"pelican-wireless",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../.generated/schemas/definitions.ts"],"sourcesContent":["const defs = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"definitions.json\",\n title: \"Definitions\",\n definitions: {\n id: {\n type: \"string\",\n description: \"Identifier of the object.\",\n },\n systemId: {\n type: \"string\",\n description: \"Identifier of the object, directly related to the system.\",\n },\n systemData: {\n type: \"object\",\n },\n metadata: {\n type: \"object\",\n default: {},\n },\n date: {\n type: [\"string\", \"object\"],\n format: \"date-time\",\n },\n file: {\n type: \"object\",\n required: [\"name\", \"type\", \"data\"],\n properties: {\n name: {\n type: \"string\",\n description: \"Name of the file.\",\n },\n type: {\n type: \"string\",\n description: \"MIME type of the file (e.g. application/pdf).\",\n },\n data: {\n type: \"string\",\n description: \"Base64-encoded data of the file.\",\n },\n },\n },\n address: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n },\n line1: {\n type: \"string\",\n },\n line2: {\n type: \"string\",\n },\n line3: {\n type: \"string\",\n },\n city: {\n type: \"string\",\n },\n state: {\n type: \"string\",\n },\n postalCode: {\n type: \"string\",\n },\n countryCode: {\n type: \"string\",\n minLength: 2,\n maxLength: 2,\n },\n },\n },\n driver: {\n type: \"string\",\n description: \"Driver used to communicate with the object.\",\n enum: [\n \"adlink\",\n \"avigilon-alta\",\n \"aws-kinesis\",\n \"bacnet\",\n \"benq\",\n \"butler\",\n \"comelit\",\n \"crestron\",\n \"dell\",\n \"digital-watchdog\",\n \"distech\",\n \"dmp\",\n \"doorbird\",\n \"dormakaba\",\n \"dsc\",\n \"dsc-itv2\",\n \"earbridge\",\n \"ecobee\",\n \"epson\",\n \"geovision-rs\",\n \"geovision-as-manager\",\n \"honeywell-vista\",\n \"igor\",\n \"inncom\",\n \"isapi\",\n \"kohost-k7\",\n \"kohost\",\n \"lg\",\n \"lg-webos\",\n \"lapi\",\n \"lirc\",\n \"mews\",\n \"mht\",\n \"mobile-mule\",\n \"modbus\",\n \"napco\",\n \"newline\",\n \"obix\",\n \"one-roster\",\n \"paxton\",\n \"pdk\",\n \"pelican-wireless\",\n \"power-shades\",\n \"rachio\",\n \"rebrandly\",\n \"relay\",\n \"reolink\",\n \"rtsp\",\n \"salto\",\n \"salto-irn\",\n \"samsung\",\n \"se\",\n \"sendgrid\",\n \"singlewire\",\n \"smartboard\",\n \"sonifi\",\n \"stay-n-touch\",\n \"storable\",\n \"twilio\",\n \"unifi\",\n \"valcom\",\n \"veracross\",\n \"verkada\",\n \"vivotek\",\n \"vizio\",\n \"wisenet\",\n \"zkteco\",\n \"cloudflare-images\",\n \"cloudflare-stream\",\n \"insperia-privacy\",\n ],\n },\n type: {\n type: \"string\",\n enum: [\n \"alarm\",\n \"camera\",\n \"courtesy\",\n \"dimmer\",\n \"gateway\",\n \"lock\",\n \"mediaSource\",\n \"motionSensor\",\n \"switch\",\n \"thermostat\",\n \"windowCovering\",\n ],\n },\n name: {\n type: \"string\",\n },\n alerts: {\n type: \"array\",\n uniqueItems: true,\n items: {\n type: \"object\",\n additionalProperties: false,\n required: [\"type\", \"status\", \"message\"],\n properties: {\n id: {\n type: \"string\"\n },\n type: {\n type: \"string\",\n enum: [\n \"Battery\",\n \"Communication\",\n \"Config\",\n \"Door Ajar\",\n \"Equipment\",\n \"Temperature\",\n \"Maintenance\",\n \"Cost\",\n \"Registration\",\n ],\n },\n status: {\n type: \"string\",\n enum: [\"Active\", \"Resolved\"],\n },\n message: {\n type: \"string\",\n },\n },\n },\n },\n supportedNotifications: {\n type: \"array\",\n uniqueItems: true,\n items: {\n enum: [\n \"button 1\",\n \"button 2\",\n \"button 3\",\n \"button 4\",\n \"button 5\",\n \"idle\",\n \"powerHasBeedApplied\",\n \"acMainsDisconnected\",\n \"acMainsReconnected\",\n \"replaceBatterySoon\",\n \"replaceBatteryNow\",\n \"batteryOk\",\n \"hardwareFailure\",\n \"softwareFailure\",\n \"hardwareFailureWithCode\",\n \"softwareFailureWithCode\",\n \"motionDetection\",\n \"airFilterNeedsCleaned\",\n \"airFilterNeedsReplaced\",\n \"smokeDetected\",\n \"outsideSafeTemperatureRange\",\n \"outsideSafeHumidityRange\",\n \"scheduleMaintenance\",\n \"doorAjar\",\n \"communicationFailure\",\n \"communicationOk\",\n \"burglarAlarm\",\n \"fireAlarm\",\n ],\n },\n },\n notification: {\n type: [\"object\", \"null\"],\n properties: {\n name: {\n type: \"string\",\n $ref: \"#/definitions/supportedNotifications/items\",\n },\n timestamp: {\n type: \"number\",\n minimum: 1655907956593,\n },\n description: {\n type: \"string\",\n },\n },\n },\n batteryLevel: {\n type: \"number\",\n minimum: 0,\n maximum: 100,\n },\n watts: {\n type: \"number\",\n minimum: 0,\n },\n revenue: {\n type: \"array\",\n items: {\n type: \"object\",\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n name: {\n type: \"string\",\n },\n date: {\n type: \"string\",\n format: \"date-time\",\n },\n price: {\n type: \"number\",\n },\n tax: {\n type: [\"number\", \"null\"],\n },\n },\n },\n },\n },\n} as const;\n\nexport type ISODateString = ReturnType<Date[\"toISOString\"]>;\n\nexport { defs as definitionsSchema };\nexport default defs;\n"],"mappings":"AAAA,MAAM,OAAO;AAAA,EACX,SAAS;AAA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Y;AAAA,UACV,IAAI;AAAA,YACF,MAAM;AAAA,UACR;AAAA,UACA,MAAM;AAAA,YACJ,MAAM;AAAA,UACR;AAAA,UACA,MAAM;AAAA,YACJ,MAAM;AAAA,YACN,QAAQ;AAAA,UACV;AAAA,UACA,OAAO;AAAA,YACL,MAAM;AAAA,UACR;AAAA,UACA,KAAK;AAAA,YACH,MAAM,CAAC,UAAU,MAAM;AAAA,UACzB;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;AAKA,IAAO,sBAAQ;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../.generated/schemas/definitions.ts"],"sourcesContent":["const defs = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"definitions.json\",\n title: \"Definitions\",\n definitions: {\n id: {\n type: \"string\",\n description: \"Identifier of the object.\",\n },\n systemId: {\n type: \"string\",\n description: \"Identifier of the object, directly related to the system.\",\n },\n systemData: {\n type: \"object\",\n },\n metadata: {\n type: \"object\",\n default: {},\n },\n date: {\n type: [\"string\", \"object\"],\n format: \"date-time\",\n },\n file: {\n type: \"object\",\n required: [\"name\", \"type\", \"data\"],\n properties: {\n name: {\n type: \"string\",\n description: \"Name of the file.\",\n },\n type: {\n type: \"string\",\n description: \"MIME type of the file (e.g. application/pdf).\",\n },\n data: {\n type: \"string\",\n description: \"Base64-encoded data of the file.\",\n },\n },\n },\n address: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n },\n line1: {\n type: \"string\",\n },\n line2: {\n type: \"string\",\n },\n line3: {\n type: \"string\",\n },\n city: {\n type: \"string\",\n },\n state: {\n type: \"string\",\n },\n postalCode: {\n type: \"string\",\n },\n countryCode: {\n type: \"string\",\n minLength: 2,\n maxLength: 2,\n },\n },\n },\n driver: {\n type: \"string\",\n description: \"Driver used to communicate with the object.\",\n enum: [\n \"adlink\",\n \"avigilon-alta\",\n \"aws-kinesis\",\n \"bacnet\",\n \"benq\",\n \"butler\",\n \"comelit\",\n \"cool-automation\",\n \"crestron\",\n \"dell\",\n \"digital-watchdog\",\n \"distech\",\n \"dmp\",\n \"doorbird\",\n \"dormakaba\",\n \"dsc\",\n \"dsc-itv2\",\n \"earbridge\",\n \"ecobee\",\n \"epson\",\n \"geovision-rs\",\n \"geovision-as-manager\",\n \"honeywell-vista\",\n \"igor\",\n \"inncom\",\n \"isapi\",\n \"kohost-k7\",\n \"kohost\",\n \"lg\",\n \"lg-webos\",\n \"lapi\",\n \"lirc\",\n \"mews\",\n \"mht\",\n \"mobile-mule\",\n \"modbus\",\n \"napco\",\n \"newline\",\n \"obix\",\n \"one-roster\",\n \"orchid-fusion\",\n \"paxton\",\n \"pdk\",\n \"pelican-wireless\",\n \"power-shades\",\n \"rachio\",\n \"rebrandly\",\n \"relay\",\n \"reolink\",\n \"rtsp\",\n \"salto\",\n \"salto-irn\",\n \"samsung\",\n \"se\",\n \"sendgrid\",\n \"singlewire\",\n \"smartboard\",\n \"sonifi\",\n \"stay-n-touch\",\n \"storable\",\n \"twilio\",\n \"unifi\",\n \"valcom\",\n \"veracross\",\n \"verkada\",\n \"vivotek\",\n \"vizio\",\n \"wisenet\",\n \"zkteco\",\n \"cloudflare-images\",\n \"cloudflare-stream\",\n \"insperia-privacy\",\n ],\n },\n type: {\n type: \"string\",\n enum: [\n \"alarm\",\n \"camera\",\n \"courtesy\",\n \"dimmer\",\n \"gateway\",\n \"lock\",\n \"mediaSource\",\n \"motionSensor\",\n \"switch\",\n \"thermostat\",\n \"windowCovering\",\n ],\n },\n name: {\n type: \"string\",\n },\n alerts: {\n type: \"array\",\n uniqueItems: true,\n items: {\n type: \"object\",\n additionalProperties: false,\n required: [\"type\", \"status\", \"message\"],\n properties: {\n id: {\n type: \"string\"\n },\n type: {\n type: \"string\",\n enum: [\n \"Battery\",\n \"Communication\",\n \"Config\",\n \"Door Ajar\",\n \"Equipment\",\n \"Temperature\",\n \"Maintenance\",\n \"Cost\",\n \"Registration\",\n ],\n },\n status: {\n type: \"string\",\n enum: [\"Active\", \"Resolved\"],\n },\n message: {\n type: \"string\",\n },\n },\n },\n },\n supportedNotifications: {\n type: \"array\",\n uniqueItems: true,\n items: {\n enum: [\n \"button 1\",\n \"button 2\",\n \"button 3\",\n \"button 4\",\n \"button 5\",\n \"idle\",\n \"powerHasBeedApplied\",\n \"acMainsDisconnected\",\n \"acMainsReconnected\",\n \"replaceBatterySoon\",\n \"replaceBatteryNow\",\n \"batteryOk\",\n \"hardwareFailure\",\n \"softwareFailure\",\n \"hardwareFailureWithCode\",\n \"softwareFailureWithCode\",\n \"motionDetection\",\n \"airFilterNeedsCleaned\",\n \"airFilterNeedsReplaced\",\n \"smokeDetected\",\n \"outsideSafeTemperatureRange\",\n \"outsideSafeHumidityRange\",\n \"scheduleMaintenance\",\n \"doorAjar\",\n \"communicationFailure\",\n \"communicationOk\",\n \"burglarAlarm\",\n \"fireAlarm\",\n ],\n },\n },\n notification: {\n type: [\"object\", \"null\"],\n properties: {\n name: {\n type: \"string\",\n $ref: \"#/definitions/supportedNotifications/items\",\n },\n timestamp: {\n type: \"number\",\n minimum: 1655907956593,\n },\n description: {\n type: \"string\",\n },\n },\n },\n batteryLevel: {\n type: \"number\",\n minimum: 0,\n maximum: 100,\n },\n watts: {\n type: \"number\",\n minimum: 0,\n },\n revenue: {\n type: \"array\",\n items: {\n type: \"object\",\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n name: {\n type: \"string\",\n },\n date: {\n type: \"string\",\n format: \"date-time\",\n },\n price: {\n type: \"number\",\n },\n tax: {\n type: [\"number\", \"null\"],\n },\n },\n },\n },\n },\n} as const;\n\nexport type ISODateString = ReturnType<Date[\"toISOString\"]>;\n\nexport { defs as definitionsSchema };\nexport default defs;\n"],"mappings":"AAAA,MAAM,OAAO;AAAA,EACX,SAAS;AAAA,EACT,KAAK;AAAA,EACL,OAAO;AAAA,EACP,aAAa;AAAA,IACX,IAAI;AAAA,MACF,MAAM;AAAA,MACN,aAAa;AAAA,IACf;AAA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R;AAAA,UACA,MAAM;AAAA,YACJ,MAAM;AAAA,YACN,QAAQ;AAAA,UACV;AAAA,UACA,OAAO;AAAA,YACL,MAAM;AAAA,UACR;AAAA,UACA,KAAK;AAAA,YACH,MAAM,CAAC,UAAU,MAAM;AAAA,UACzB;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;AAKA,IAAO,sBAAQ;","names":[]}
|
package/dist/validate.d.ts
CHANGED
|
@@ -1,175 +1,175 @@
|
|
|
1
1
|
import * as ajv from 'ajv';
|
|
2
2
|
|
|
3
3
|
declare const validateAlarm: ajv.ValidateFunction<{
|
|
4
|
-
id: any;
|
|
5
4
|
type: any;
|
|
6
|
-
|
|
5
|
+
id: any;
|
|
7
6
|
areas: any;
|
|
7
|
+
zones: any;
|
|
8
8
|
driver: any;
|
|
9
|
-
} & {
|
|
10
|
-
id: any;
|
|
11
9
|
} & {
|
|
12
10
|
type: any;
|
|
13
11
|
} & {
|
|
14
|
-
|
|
12
|
+
id: any;
|
|
15
13
|
} & {
|
|
16
14
|
areas: any;
|
|
15
|
+
} & {
|
|
16
|
+
zones: any;
|
|
17
17
|
} & {
|
|
18
18
|
driver: any;
|
|
19
19
|
}>;
|
|
20
20
|
declare const validateAnnouncement: ajv.ValidateFunction<{
|
|
21
|
-
id: any;
|
|
22
21
|
type: any;
|
|
23
|
-
body: any;
|
|
24
|
-
} & {
|
|
25
22
|
id: any;
|
|
23
|
+
body: any;
|
|
26
24
|
} & {
|
|
27
25
|
type: any;
|
|
26
|
+
} & {
|
|
27
|
+
id: any;
|
|
28
28
|
} & {
|
|
29
29
|
body: any;
|
|
30
30
|
}>;
|
|
31
31
|
declare const validateAutomation: ajv.ValidateFunction<{
|
|
32
|
-
id: any;
|
|
33
32
|
type: any;
|
|
33
|
+
id: any;
|
|
34
34
|
trigger: any;
|
|
35
35
|
actions: any;
|
|
36
|
-
} & {
|
|
37
|
-
id: any;
|
|
38
36
|
} & {
|
|
39
37
|
type: any;
|
|
38
|
+
} & {
|
|
39
|
+
id: any;
|
|
40
40
|
} & {
|
|
41
41
|
trigger: any;
|
|
42
42
|
} & {
|
|
43
43
|
actions: any;
|
|
44
44
|
}>;
|
|
45
45
|
declare const validateCamera: ajv.ValidateFunction<{
|
|
46
|
-
id: any;
|
|
47
46
|
type: any;
|
|
48
|
-
driver: any;
|
|
49
|
-
} & {
|
|
50
47
|
id: any;
|
|
48
|
+
driver: any;
|
|
51
49
|
} & {
|
|
52
50
|
type: any;
|
|
51
|
+
} & {
|
|
52
|
+
id: any;
|
|
53
53
|
} & {
|
|
54
54
|
driver: any;
|
|
55
55
|
}>;
|
|
56
56
|
declare const validateCategory: ajv.ValidateFunction<{
|
|
57
|
-
id: any;
|
|
58
57
|
type: any;
|
|
59
|
-
discriminator: any;
|
|
60
|
-
} & {
|
|
61
58
|
id: any;
|
|
59
|
+
discriminator: any;
|
|
62
60
|
} & {
|
|
63
61
|
type: any;
|
|
62
|
+
} & {
|
|
63
|
+
id: any;
|
|
64
64
|
} & {
|
|
65
65
|
discriminator: any;
|
|
66
66
|
}>;
|
|
67
67
|
declare const validateCourtesy: ajv.ValidateFunction<{
|
|
68
|
-
id: any;
|
|
69
68
|
type: any;
|
|
70
|
-
|
|
69
|
+
id: any;
|
|
71
70
|
driver: any;
|
|
72
71
|
supportedStates: any;
|
|
73
|
-
|
|
74
|
-
id: any;
|
|
72
|
+
state: any;
|
|
75
73
|
} & {
|
|
76
74
|
type: any;
|
|
77
75
|
} & {
|
|
78
|
-
|
|
76
|
+
id: any;
|
|
79
77
|
} & {
|
|
80
78
|
driver: any;
|
|
81
79
|
} & {
|
|
82
80
|
supportedStates: any;
|
|
81
|
+
} & {
|
|
82
|
+
state: any;
|
|
83
83
|
}>;
|
|
84
84
|
declare const validateCredential: ajv.ValidateFunction<{
|
|
85
|
-
id: any;
|
|
86
|
-
expires: any;
|
|
87
85
|
type: any;
|
|
88
|
-
credential: any;
|
|
89
|
-
} & {
|
|
90
86
|
id: any;
|
|
91
|
-
|
|
87
|
+
credential: any;
|
|
92
88
|
expires: any;
|
|
93
89
|
} & {
|
|
94
90
|
type: any;
|
|
91
|
+
} & {
|
|
92
|
+
id: any;
|
|
95
93
|
} & {
|
|
96
94
|
credential: any;
|
|
95
|
+
} & {
|
|
96
|
+
expires: any;
|
|
97
97
|
}>;
|
|
98
98
|
declare const validateDepartment: ajv.ValidateFunction<{
|
|
99
|
-
id: any;
|
|
100
|
-
type: any;
|
|
101
99
|
name: any;
|
|
102
|
-
|
|
100
|
+
type: any;
|
|
103
101
|
id: any;
|
|
102
|
+
} & {
|
|
103
|
+
name: any;
|
|
104
104
|
} & {
|
|
105
105
|
type: any;
|
|
106
106
|
} & {
|
|
107
|
-
|
|
107
|
+
id: any;
|
|
108
108
|
}>;
|
|
109
109
|
declare const validateDimmer: ajv.ValidateFunction<{
|
|
110
|
-
id: any;
|
|
111
110
|
type: any;
|
|
112
|
-
level: any;
|
|
113
|
-
driver: any;
|
|
114
|
-
} & {
|
|
115
111
|
id: any;
|
|
112
|
+
driver: any;
|
|
113
|
+
level: any;
|
|
116
114
|
} & {
|
|
117
115
|
type: any;
|
|
118
116
|
} & {
|
|
119
|
-
|
|
117
|
+
id: any;
|
|
120
118
|
} & {
|
|
121
119
|
driver: any;
|
|
120
|
+
} & {
|
|
121
|
+
level: any;
|
|
122
122
|
}>;
|
|
123
123
|
declare const validateDiscoveredDevice: ajv.ValidateFunction<{
|
|
124
|
-
id: any;
|
|
125
|
-
deviceId: any;
|
|
126
124
|
name: any;
|
|
127
|
-
discriminator: any;
|
|
128
|
-
deviceData: any;
|
|
129
|
-
} & {
|
|
130
125
|
id: any;
|
|
131
|
-
|
|
126
|
+
discriminator: any;
|
|
132
127
|
deviceId: any;
|
|
128
|
+
deviceData: any;
|
|
133
129
|
} & {
|
|
134
130
|
name: any;
|
|
131
|
+
} & {
|
|
132
|
+
id: any;
|
|
135
133
|
} & {
|
|
136
134
|
discriminator: any;
|
|
135
|
+
} & {
|
|
136
|
+
deviceId: any;
|
|
137
137
|
} & {
|
|
138
138
|
deviceData: any;
|
|
139
139
|
}>;
|
|
140
140
|
declare const validateEmailMessage: ajv.ValidateFunction<{
|
|
141
|
-
id: any;
|
|
142
141
|
type: any;
|
|
142
|
+
status: any;
|
|
143
|
+
id: any;
|
|
143
144
|
to: any;
|
|
144
145
|
from: any;
|
|
145
146
|
subject: any;
|
|
147
|
+
} & {
|
|
148
|
+
type: any;
|
|
149
|
+
} & {
|
|
146
150
|
status: any;
|
|
147
151
|
} & {
|
|
148
152
|
id: any;
|
|
149
|
-
} & {
|
|
150
|
-
type: any;
|
|
151
153
|
} & {
|
|
152
154
|
to: any;
|
|
153
155
|
} & {
|
|
154
156
|
from: any;
|
|
155
157
|
} & {
|
|
156
158
|
subject: any;
|
|
157
|
-
} & {
|
|
158
|
-
status: any;
|
|
159
159
|
}>;
|
|
160
160
|
declare const validateEnergyReport: ajv.ValidateFunction<{
|
|
161
|
-
id: any;
|
|
162
161
|
type: any;
|
|
162
|
+
id: any;
|
|
163
163
|
roomId: any;
|
|
164
164
|
first: any;
|
|
165
165
|
last: any;
|
|
166
166
|
consumption: any;
|
|
167
167
|
totals: any;
|
|
168
168
|
costPerKw: any;
|
|
169
|
-
} & {
|
|
170
|
-
id: any;
|
|
171
169
|
} & {
|
|
172
170
|
type: any;
|
|
171
|
+
} & {
|
|
172
|
+
id: any;
|
|
173
173
|
} & {
|
|
174
174
|
roomId: any;
|
|
175
175
|
} & {
|
|
@@ -184,22 +184,22 @@ declare const validateEnergyReport: ajv.ValidateFunction<{
|
|
|
184
184
|
costPerKw: any;
|
|
185
185
|
}>;
|
|
186
186
|
declare const validateEnergyReportShard: ajv.ValidateFunction<{
|
|
187
|
+
type: any;
|
|
187
188
|
data: any;
|
|
188
189
|
id: any;
|
|
189
190
|
expires: any;
|
|
190
|
-
type: any;
|
|
191
191
|
roomId: any;
|
|
192
192
|
first: any;
|
|
193
193
|
last: any;
|
|
194
194
|
ndata: any;
|
|
195
|
+
} & {
|
|
196
|
+
type: any;
|
|
195
197
|
} & {
|
|
196
198
|
data: any;
|
|
197
199
|
} & {
|
|
198
200
|
id: any;
|
|
199
201
|
} & {
|
|
200
202
|
expires: any;
|
|
201
|
-
} & {
|
|
202
|
-
type: any;
|
|
203
203
|
} & {
|
|
204
204
|
roomId: any;
|
|
205
205
|
} & {
|
|
@@ -210,30 +210,30 @@ declare const validateEnergyReportShard: ajv.ValidateFunction<{
|
|
|
210
210
|
ndata: any;
|
|
211
211
|
}>;
|
|
212
212
|
declare const validateGateway: ajv.ValidateFunction<{
|
|
213
|
-
id: any;
|
|
214
213
|
type: any;
|
|
215
214
|
status: any;
|
|
216
|
-
driver: any;
|
|
217
|
-
} & {
|
|
218
215
|
id: any;
|
|
216
|
+
driver: any;
|
|
219
217
|
} & {
|
|
220
218
|
type: any;
|
|
221
219
|
} & {
|
|
222
220
|
status: any;
|
|
221
|
+
} & {
|
|
222
|
+
id: any;
|
|
223
223
|
} & {
|
|
224
224
|
driver: any;
|
|
225
225
|
}>;
|
|
226
226
|
declare const validateGroup: ajv.ValidateFunction<{
|
|
227
|
-
id: any;
|
|
228
|
-
type: any;
|
|
229
227
|
name: any;
|
|
228
|
+
type: any;
|
|
229
|
+
id: any;
|
|
230
230
|
kind: any;
|
|
231
231
|
} & {
|
|
232
|
-
|
|
232
|
+
name: any;
|
|
233
233
|
} & {
|
|
234
234
|
type: any;
|
|
235
235
|
} & {
|
|
236
|
-
|
|
236
|
+
id: any;
|
|
237
237
|
} & {
|
|
238
238
|
kind: any;
|
|
239
239
|
}>;
|
|
@@ -245,86 +245,86 @@ declare const validateIdentification: ajv.ValidateFunction<{
|
|
|
245
245
|
type: any;
|
|
246
246
|
}>;
|
|
247
247
|
declare const validateIntegration: ajv.ValidateFunction<{
|
|
248
|
-
id: any;
|
|
249
248
|
type: any;
|
|
250
|
-
|
|
251
|
-
updatedAt: any;
|
|
249
|
+
id: any;
|
|
252
250
|
systemName: any;
|
|
253
251
|
systemPhoto: any;
|
|
254
|
-
|
|
255
|
-
|
|
252
|
+
createdAt: any;
|
|
253
|
+
updatedAt: any;
|
|
256
254
|
} & {
|
|
257
255
|
type: any;
|
|
258
256
|
} & {
|
|
259
|
-
|
|
260
|
-
} & {
|
|
261
|
-
updatedAt: any;
|
|
257
|
+
id: any;
|
|
262
258
|
} & {
|
|
263
259
|
systemName: any;
|
|
264
260
|
} & {
|
|
265
261
|
systemPhoto: any;
|
|
262
|
+
} & {
|
|
263
|
+
createdAt: any;
|
|
264
|
+
} & {
|
|
265
|
+
updatedAt: any;
|
|
266
266
|
}>;
|
|
267
267
|
declare const validateIssue: ajv.ValidateFunction<{
|
|
268
|
-
id: any;
|
|
269
|
-
type: any;
|
|
270
268
|
name: any;
|
|
271
|
-
|
|
269
|
+
type: any;
|
|
272
270
|
id: any;
|
|
271
|
+
} & {
|
|
272
|
+
name: any;
|
|
273
273
|
} & {
|
|
274
274
|
type: any;
|
|
275
275
|
} & {
|
|
276
|
-
|
|
276
|
+
id: any;
|
|
277
277
|
}>;
|
|
278
278
|
declare const validateLock: ajv.ValidateFunction<{
|
|
279
|
-
id: any;
|
|
280
279
|
type: any;
|
|
281
|
-
state: any;
|
|
282
|
-
driver: any;
|
|
283
|
-
} & {
|
|
284
280
|
id: any;
|
|
281
|
+
driver: any;
|
|
282
|
+
state: any;
|
|
285
283
|
} & {
|
|
286
284
|
type: any;
|
|
287
285
|
} & {
|
|
288
|
-
|
|
286
|
+
id: any;
|
|
289
287
|
} & {
|
|
290
288
|
driver: any;
|
|
289
|
+
} & {
|
|
290
|
+
state: any;
|
|
291
291
|
}>;
|
|
292
292
|
declare const validateLog: ajv.ValidateFunction<{
|
|
293
|
-
id: any;
|
|
294
|
-
type: any;
|
|
295
293
|
name: any;
|
|
294
|
+
type: any;
|
|
295
|
+
id: any;
|
|
296
296
|
driver: any;
|
|
297
297
|
timestamp: any;
|
|
298
298
|
} & {
|
|
299
|
-
|
|
299
|
+
name: any;
|
|
300
300
|
} & {
|
|
301
301
|
type: any;
|
|
302
302
|
} & {
|
|
303
|
-
|
|
303
|
+
id: any;
|
|
304
304
|
} & {
|
|
305
305
|
driver: any;
|
|
306
306
|
} & {
|
|
307
307
|
timestamp: any;
|
|
308
308
|
}>;
|
|
309
309
|
declare const validateMediaFile: ajv.ValidateFunction<{
|
|
310
|
-
id: any;
|
|
311
310
|
type: any;
|
|
312
|
-
} & {
|
|
313
311
|
id: any;
|
|
314
312
|
} & {
|
|
315
313
|
type: any;
|
|
314
|
+
} & {
|
|
315
|
+
id: any;
|
|
316
316
|
}>;
|
|
317
317
|
declare const validateMediaSource: ajv.ValidateFunction<{
|
|
318
|
-
id: any;
|
|
319
318
|
type: any;
|
|
319
|
+
id: any;
|
|
320
320
|
driver: any;
|
|
321
321
|
discriminator: any;
|
|
322
322
|
audio: any;
|
|
323
323
|
video: any;
|
|
324
|
-
} & {
|
|
325
|
-
id: any;
|
|
326
324
|
} & {
|
|
327
325
|
type: any;
|
|
326
|
+
} & {
|
|
327
|
+
id: any;
|
|
328
328
|
} & {
|
|
329
329
|
driver: any;
|
|
330
330
|
} & {
|
|
@@ -335,25 +335,25 @@ declare const validateMediaSource: ajv.ValidateFunction<{
|
|
|
335
335
|
video: any;
|
|
336
336
|
}>;
|
|
337
337
|
declare const validateMotionSensor: ajv.ValidateFunction<{
|
|
338
|
-
id: any;
|
|
339
338
|
type: any;
|
|
340
|
-
driver: any;
|
|
341
|
-
} & {
|
|
342
339
|
id: any;
|
|
340
|
+
driver: any;
|
|
343
341
|
} & {
|
|
344
342
|
type: any;
|
|
343
|
+
} & {
|
|
344
|
+
id: any;
|
|
345
345
|
} & {
|
|
346
346
|
driver: any;
|
|
347
347
|
}>;
|
|
348
348
|
declare const validateNotification: ajv.ValidateFunction<{
|
|
349
|
-
id: any;
|
|
350
349
|
type: any;
|
|
350
|
+
id: any;
|
|
351
351
|
discriminator: any;
|
|
352
352
|
content: any;
|
|
353
|
-
} & {
|
|
354
|
-
id: any;
|
|
355
353
|
} & {
|
|
356
354
|
type: any;
|
|
355
|
+
} & {
|
|
356
|
+
id: any;
|
|
357
357
|
} & {
|
|
358
358
|
discriminator: any;
|
|
359
359
|
} & {
|
|
@@ -368,50 +368,50 @@ declare const validateOrder: ajv.ValidateFunction<{
|
|
|
368
368
|
status: any;
|
|
369
369
|
}>;
|
|
370
370
|
declare const validateOrganization: ajv.ValidateFunction<{
|
|
371
|
-
id: any;
|
|
372
|
-
type: any;
|
|
373
371
|
name: any;
|
|
372
|
+
type: any;
|
|
373
|
+
id: any;
|
|
374
374
|
accountNumber: any;
|
|
375
375
|
} & {
|
|
376
|
-
|
|
376
|
+
name: any;
|
|
377
377
|
} & {
|
|
378
378
|
type: any;
|
|
379
379
|
} & {
|
|
380
|
-
|
|
380
|
+
id: any;
|
|
381
381
|
} & {
|
|
382
382
|
accountNumber: any;
|
|
383
383
|
}>;
|
|
384
384
|
declare const validatePayment: ajv.ValidateFunction<{
|
|
385
|
-
expires: any;
|
|
386
385
|
type: any;
|
|
387
|
-
maskedNumber: any;
|
|
388
|
-
} & {
|
|
389
386
|
expires: any;
|
|
387
|
+
maskedNumber: any;
|
|
390
388
|
} & {
|
|
391
389
|
type: any;
|
|
390
|
+
} & {
|
|
391
|
+
expires: any;
|
|
392
392
|
} & {
|
|
393
393
|
maskedNumber: any;
|
|
394
394
|
}>;
|
|
395
395
|
declare const validatePolicy: ajv.ValidateFunction<{
|
|
396
|
-
|
|
396
|
+
name: any;
|
|
397
397
|
type: any;
|
|
398
|
+
id: any;
|
|
399
|
+
discriminator: any;
|
|
398
400
|
organizationId: any;
|
|
399
401
|
propertyId: any;
|
|
400
|
-
name: any;
|
|
401
|
-
discriminator: any;
|
|
402
402
|
permissions: any;
|
|
403
403
|
} & {
|
|
404
|
-
|
|
404
|
+
name: any;
|
|
405
405
|
} & {
|
|
406
406
|
type: any;
|
|
407
407
|
} & {
|
|
408
|
-
|
|
408
|
+
id: any;
|
|
409
409
|
} & {
|
|
410
|
-
|
|
410
|
+
discriminator: any;
|
|
411
411
|
} & {
|
|
412
|
-
|
|
412
|
+
organizationId: any;
|
|
413
413
|
} & {
|
|
414
|
-
|
|
414
|
+
propertyId: any;
|
|
415
415
|
} & {
|
|
416
416
|
permissions: any;
|
|
417
417
|
}>;
|
|
@@ -427,18 +427,18 @@ declare const validateProduct: ajv.ValidateFunction<{
|
|
|
427
427
|
price: any;
|
|
428
428
|
}>;
|
|
429
429
|
declare const validateProperty: ajv.ValidateFunction<{
|
|
430
|
-
id: any;
|
|
431
|
-
type: any;
|
|
432
430
|
name: any;
|
|
431
|
+
type: any;
|
|
432
|
+
id: any;
|
|
433
433
|
discriminator: any;
|
|
434
434
|
timezone: any;
|
|
435
435
|
organization: any;
|
|
436
436
|
} & {
|
|
437
|
-
|
|
437
|
+
name: any;
|
|
438
438
|
} & {
|
|
439
439
|
type: any;
|
|
440
440
|
} & {
|
|
441
|
-
|
|
441
|
+
id: any;
|
|
442
442
|
} & {
|
|
443
443
|
discriminator: any;
|
|
444
444
|
} & {
|
|
@@ -461,89 +461,89 @@ declare const validateReservation: ajv.ValidateFunction<{
|
|
|
461
461
|
checkOutDateTime: any;
|
|
462
462
|
}>;
|
|
463
463
|
declare const validateServer: ajv.ValidateFunction<{
|
|
464
|
-
id: any;
|
|
465
464
|
type: any;
|
|
466
|
-
} & {
|
|
467
465
|
id: any;
|
|
468
466
|
} & {
|
|
469
467
|
type: any;
|
|
468
|
+
} & {
|
|
469
|
+
id: any;
|
|
470
470
|
}>;
|
|
471
471
|
declare const validateSession: ajv.ValidateFunction<{
|
|
472
|
+
type: any;
|
|
472
473
|
id: any;
|
|
473
474
|
expires: any;
|
|
474
|
-
type: any;
|
|
475
475
|
userId: any;
|
|
476
476
|
userAgent: any;
|
|
477
|
+
} & {
|
|
478
|
+
type: any;
|
|
477
479
|
} & {
|
|
478
480
|
id: any;
|
|
479
481
|
} & {
|
|
480
482
|
expires: any;
|
|
481
|
-
} & {
|
|
482
|
-
type: any;
|
|
483
483
|
} & {
|
|
484
484
|
userId: any;
|
|
485
485
|
} & {
|
|
486
486
|
userAgent: any;
|
|
487
487
|
}>;
|
|
488
488
|
declare const validateShortLink: ajv.ValidateFunction<{
|
|
489
|
-
url: any;
|
|
490
489
|
destination: any;
|
|
491
|
-
} & {
|
|
492
490
|
url: any;
|
|
493
491
|
} & {
|
|
494
492
|
destination: any;
|
|
493
|
+
} & {
|
|
494
|
+
url: any;
|
|
495
495
|
}>;
|
|
496
496
|
declare const validateSmsMessage: ajv.ValidateFunction<{
|
|
497
|
-
id: any;
|
|
498
497
|
type: any;
|
|
498
|
+
status: any;
|
|
499
|
+
id: any;
|
|
499
500
|
to: any;
|
|
500
501
|
from: any;
|
|
502
|
+
} & {
|
|
503
|
+
type: any;
|
|
504
|
+
} & {
|
|
501
505
|
status: any;
|
|
502
506
|
} & {
|
|
503
507
|
id: any;
|
|
504
|
-
} & {
|
|
505
|
-
type: any;
|
|
506
508
|
} & {
|
|
507
509
|
to: any;
|
|
508
510
|
} & {
|
|
509
511
|
from: any;
|
|
510
|
-
} & {
|
|
511
|
-
status: any;
|
|
512
512
|
}>;
|
|
513
513
|
declare const validateSpace: ajv.ValidateFunction<{
|
|
514
|
-
id: any;
|
|
515
|
-
type: any;
|
|
516
514
|
name: any;
|
|
517
|
-
|
|
515
|
+
type: any;
|
|
518
516
|
id: any;
|
|
517
|
+
} & {
|
|
518
|
+
name: any;
|
|
519
519
|
} & {
|
|
520
520
|
type: any;
|
|
521
521
|
} & {
|
|
522
|
-
|
|
522
|
+
id: any;
|
|
523
523
|
}>;
|
|
524
524
|
declare const validateSwitch: ajv.ValidateFunction<{
|
|
525
|
-
id: any;
|
|
526
525
|
type: any;
|
|
527
|
-
state: any;
|
|
528
|
-
driver: any;
|
|
529
|
-
} & {
|
|
530
526
|
id: any;
|
|
527
|
+
driver: any;
|
|
528
|
+
state: any;
|
|
531
529
|
} & {
|
|
532
530
|
type: any;
|
|
533
531
|
} & {
|
|
534
|
-
|
|
532
|
+
id: any;
|
|
535
533
|
} & {
|
|
536
534
|
driver: any;
|
|
535
|
+
} & {
|
|
536
|
+
state: any;
|
|
537
537
|
}>;
|
|
538
538
|
declare const validateSystem: ajv.ValidateFunction<{
|
|
539
|
-
id: any;
|
|
540
539
|
type: any;
|
|
540
|
+
id: any;
|
|
541
541
|
driver: any;
|
|
542
542
|
entities: any;
|
|
543
|
-
} & {
|
|
544
|
-
id: any;
|
|
545
543
|
} & {
|
|
546
544
|
type: any;
|
|
545
|
+
} & {
|
|
546
|
+
id: any;
|
|
547
547
|
} & {
|
|
548
548
|
driver: any;
|
|
549
549
|
} & {
|
|
@@ -561,33 +561,33 @@ declare const validateSystemUser: ajv.ValidateFunction<{
|
|
|
561
561
|
lastName: any;
|
|
562
562
|
}>;
|
|
563
563
|
declare const validateThermostat: ajv.ValidateFunction<{
|
|
564
|
-
id: any;
|
|
565
564
|
type: any;
|
|
566
|
-
|
|
565
|
+
id: any;
|
|
566
|
+
driver: any;
|
|
567
567
|
hvacMode: any;
|
|
568
568
|
fanMode: any;
|
|
569
|
-
driver: any;
|
|
570
569
|
hvacState: any;
|
|
571
570
|
fanState: any;
|
|
571
|
+
setpoints: any;
|
|
572
572
|
temperatureScale: any;
|
|
573
573
|
supportedHvacModes: any;
|
|
574
574
|
supportedFanModes: any;
|
|
575
|
-
} & {
|
|
576
|
-
id: any;
|
|
577
575
|
} & {
|
|
578
576
|
type: any;
|
|
579
577
|
} & {
|
|
580
|
-
|
|
578
|
+
id: any;
|
|
579
|
+
} & {
|
|
580
|
+
driver: any;
|
|
581
581
|
} & {
|
|
582
582
|
hvacMode: any;
|
|
583
583
|
} & {
|
|
584
584
|
fanMode: any;
|
|
585
|
-
} & {
|
|
586
|
-
driver: any;
|
|
587
585
|
} & {
|
|
588
586
|
hvacState: any;
|
|
589
587
|
} & {
|
|
590
588
|
fanState: any;
|
|
589
|
+
} & {
|
|
590
|
+
setpoints: any;
|
|
591
591
|
} & {
|
|
592
592
|
temperatureScale: any;
|
|
593
593
|
} & {
|
|
@@ -596,9 +596,8 @@ declare const validateThermostat: ajv.ValidateFunction<{
|
|
|
596
596
|
supportedFanModes: any;
|
|
597
597
|
}>;
|
|
598
598
|
declare const validateTicket: ajv.ValidateFunction<{
|
|
599
|
-
id: any;
|
|
600
599
|
status: any;
|
|
601
|
-
|
|
600
|
+
id: any;
|
|
602
601
|
createdAt: any;
|
|
603
602
|
updatedAt: any;
|
|
604
603
|
conversation: any;
|
|
@@ -606,12 +605,11 @@ declare const validateTicket: ajv.ValidateFunction<{
|
|
|
606
605
|
openedBy: any;
|
|
607
606
|
assignedTo: any;
|
|
608
607
|
priority: any;
|
|
609
|
-
|
|
610
|
-
id: any;
|
|
608
|
+
tags: any;
|
|
611
609
|
} & {
|
|
612
610
|
status: any;
|
|
613
611
|
} & {
|
|
614
|
-
|
|
612
|
+
id: any;
|
|
615
613
|
} & {
|
|
616
614
|
createdAt: any;
|
|
617
615
|
} & {
|
|
@@ -626,16 +624,18 @@ declare const validateTicket: ajv.ValidateFunction<{
|
|
|
626
624
|
assignedTo: any;
|
|
627
625
|
} & {
|
|
628
626
|
priority: any;
|
|
627
|
+
} & {
|
|
628
|
+
tags: any;
|
|
629
629
|
}>;
|
|
630
630
|
declare const validateTimeSheet: ajv.ValidateFunction<{
|
|
631
|
-
id: any;
|
|
632
631
|
type: any;
|
|
632
|
+
id: any;
|
|
633
633
|
userId: any;
|
|
634
634
|
day: any;
|
|
635
|
-
} & {
|
|
636
|
-
id: any;
|
|
637
635
|
} & {
|
|
638
636
|
type: any;
|
|
637
|
+
} & {
|
|
638
|
+
id: any;
|
|
639
639
|
} & {
|
|
640
640
|
userId: any;
|
|
641
641
|
} & {
|
|
@@ -653,29 +653,29 @@ declare const validateUser: ajv.ValidateFunction<{
|
|
|
653
653
|
lastName: any;
|
|
654
654
|
}>;
|
|
655
655
|
declare const validateVendor: ajv.ValidateFunction<{
|
|
656
|
+
name: any;
|
|
656
657
|
id: any;
|
|
657
658
|
email: any;
|
|
659
|
+
} & {
|
|
658
660
|
name: any;
|
|
659
661
|
} & {
|
|
660
662
|
id: any;
|
|
661
663
|
} & {
|
|
662
664
|
email: any;
|
|
663
|
-
} & {
|
|
664
|
-
name: any;
|
|
665
665
|
}>;
|
|
666
666
|
declare const validateWindowCovering: ajv.ValidateFunction<{
|
|
667
|
-
id: any;
|
|
668
667
|
type: any;
|
|
669
|
-
position: any;
|
|
670
|
-
driver: any;
|
|
671
|
-
} & {
|
|
672
668
|
id: any;
|
|
669
|
+
driver: any;
|
|
670
|
+
position: any;
|
|
673
671
|
} & {
|
|
674
672
|
type: any;
|
|
675
673
|
} & {
|
|
676
|
-
|
|
674
|
+
id: any;
|
|
677
675
|
} & {
|
|
678
676
|
driver: any;
|
|
677
|
+
} & {
|
|
678
|
+
position: any;
|
|
679
679
|
}>;
|
|
680
680
|
|
|
681
681
|
export { validateAlarm, validateAnnouncement, validateAutomation, validateCamera, validateCategory, validateCourtesy, validateCredential, validateDepartment, validateDimmer, validateDiscoveredDevice, validateEmailMessage, validateEnergyReport, validateEnergyReportShard, validateGateway, validateGroup, validateIdentification, validateIntegration, validateIssue, validateLock, validateLog, validateMediaFile, validateMediaSource, validateMotionSensor, validateNotification, validateOrder, validateOrganization, validatePayment, validatePolicy, validateProduct, validateProperty, validateReservation, validateServer, validateSession, validateShortLink, validateSmsMessage, validateSpace, validateSwitch, validateSystem, validateSystemUser, validateThermostat, validateTicket, validateTimeSheet, validateUser, validateVendor, validateWindowCovering };
|