@awarevue/api-types 1.1.12 → 1.1.13

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/objects.d.ts CHANGED
@@ -9,7 +9,8 @@ import { MacroDto } from './macros';
9
9
  import { SecurityLevelDto } from './security-level';
10
10
  import { RoleDto, UserDto } from './user';
11
11
  import { ViewDto } from './view';
12
- export declare const sObjectKind: z.ZodEnum<["accessRule", "schedule", "person", "device", "zone", "personPresence", "deviceGroup", "view", "layout", "automationRule", "macro", "role", "user", "securityLevel", "bookmark", "personType", "agreement"]>;
12
+ import { ApiKeyDto } from './api-keys';
13
+ export declare const sObjectKind: z.ZodEnum<["accessRule", "schedule", "person", "device", "zone", "personPresence", "deviceGroup", "view", "layout", "automationRule", "macro", "role", "user", "securityLevel", "bookmark", "personType", "agreement", "apiKey"]>;
13
14
  export type ObjectKind = z.infer<typeof sObjectKind>;
14
15
  export type ObjectKinds = {
15
16
  layout: LayoutDto;
@@ -29,6 +30,7 @@ export type ObjectKinds = {
29
30
  bookmark: BookmarkDto;
30
31
  personType: PersonTypeDto;
31
32
  agreement: AgreementDto;
33
+ apiKey: ApiKeyDto;
32
34
  };
33
35
  export type ObjectDto = ObjectKinds;
34
36
  export type ObjectProps = {
package/dist/objects.js CHANGED
@@ -20,6 +20,7 @@ exports.sObjectKind = zod_1.z.enum([
20
20
  'bookmark',
21
21
  'personType',
22
22
  'agreement',
23
+ 'apiKey',
23
24
  ]);
24
25
  exports.objectLabels = {
25
26
  accessRule: 'Access Rule',
@@ -39,5 +40,6 @@ exports.objectLabels = {
39
40
  bookmark: 'Bookmark',
40
41
  personType: 'Person Type',
41
42
  agreement: 'Agreement',
43
+ apiKey: 'API Key',
42
44
  };
43
45
  exports.objectKinds = exports.sObjectKind.options;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awarevue/api-types",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "Common types between backend, agent(s) and frontend(s)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awarevue/api-types",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "Common types between backend, agent(s) and frontend(s)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",