@awarevue/api-types 2.0.82 → 2.0.84

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.
Files changed (131) hide show
  1. package/dist/alarm-automation.d.ts +21 -37
  2. package/dist/api/agent-protocol/protocol.d.ts +1000 -10986
  3. package/dist/api/agent-protocol/protocol.js +114 -57
  4. package/dist/api/commands/alarm.d.ts +40 -248
  5. package/dist/api/commands/all.d.ts +393 -4642
  6. package/dist/api/commands/camera-lift.d.ts +8 -32
  7. package/dist/api/commands/camera.d.ts +82 -373
  8. package/dist/api/commands/display.d.ts +21 -373
  9. package/dist/api/commands/door.d.ts +16 -64
  10. package/dist/api/commands/io-board.d.ts +4 -40
  11. package/dist/api/commands/nvr-exporter.d.ts +104 -1380
  12. package/dist/api/commands/nvr-recorder.d.ts +400 -5288
  13. package/dist/api/commands/pbx.d.ts +4 -56
  14. package/dist/api/commands/presence-tracker.d.ts +12 -128
  15. package/dist/api/commands/server.d.ts +114 -1382
  16. package/dist/api/commands/server.js +1 -1
  17. package/dist/api/error.d.ts +77 -443
  18. package/dist/api/error.js +1 -1
  19. package/dist/api/events/alarm.d.ts +20 -148
  20. package/dist/api/events/all.d.ts +74 -526
  21. package/dist/api/events/all.js +1 -1
  22. package/dist/api/events/camera.d.ts +46 -470
  23. package/dist/api/events/display.d.ts +1 -5
  24. package/dist/api/events/door.d.ts +34 -146
  25. package/dist/api/events/intercom-terminal.d.ts +22 -42
  26. package/dist/api/events/io-board.d.ts +2 -18
  27. package/dist/api/events/nvr-exporter.d.ts +4 -32
  28. package/dist/api/events/panic-button.d.ts +2 -10
  29. package/dist/api/events/presence-tracker.d.ts +4 -88
  30. package/dist/api/events/reader.d.ts +2 -22
  31. package/dist/api/events/server.d.ts +6 -34
  32. package/dist/api/mqtt/payloads.d.ts +4 -26
  33. package/dist/api/queries/all.d.ts +188 -1622
  34. package/dist/api/queries/nvr-analytics-server.d.ts +61 -373
  35. package/dist/api/queries/nvr-exporter.d.ts +9 -73
  36. package/dist/api/queries/nvr-recorder.d.ts +300 -2828
  37. package/dist/api/rest/access-rule.d.ts +10 -86
  38. package/dist/api/rest/agreement.d.ts +3 -18
  39. package/dist/api/rest/api-keys.d.ts +3 -17
  40. package/dist/api/rest/app.d.ts +3 -51
  41. package/dist/api/rest/auth.d.ts +3 -19
  42. package/dist/api/rest/automation.d.ts +11 -236
  43. package/dist/api/rest/bookmarks.d.ts +8 -56
  44. package/dist/api/rest/camera.d.ts +12 -70
  45. package/dist/api/rest/cast.d.ts +1 -7
  46. package/dist/api/rest/custom-field.d.ts +21 -24
  47. package/dist/api/rest/device-group.d.ts +8 -32
  48. package/dist/api/rest/device.d.ts +104 -176
  49. package/dist/api/rest/io-device.d.ts +7 -75
  50. package/dist/api/rest/io-device.js +2 -2
  51. package/dist/api/rest/layout.d.ts +4 -102
  52. package/dist/api/rest/macros.d.ts +6 -82
  53. package/dist/api/rest/media.d.ts +17 -141
  54. package/dist/api/rest/notifications.d.ts +7 -15
  55. package/dist/api/rest/person-agreement.d.ts +1 -9
  56. package/dist/api/rest/person-presence.d.ts +8 -50
  57. package/dist/api/rest/person-type.d.ts +6 -39
  58. package/dist/api/rest/person.d.ts +18 -96
  59. package/dist/api/rest/query.d.ts +5 -15
  60. package/dist/api/rest/schedule.d.ts +78 -216
  61. package/dist/api/rest/security-level.d.ts +6 -43
  62. package/dist/api/rest/template.d.ts +10 -20
  63. package/dist/api/rest/token-conversion.d.ts +11 -28
  64. package/dist/api/rest/user.d.ts +15 -97
  65. package/dist/api/rest/view.d.ts +24 -496
  66. package/dist/api/rest/webrtc-playback.d.ts +3 -25
  67. package/dist/api/rest/zone.d.ts +5 -21
  68. package/dist/api/ws/device-communication.d.ts +10 -62
  69. package/dist/api/ws/notifications.d.ts +7 -33
  70. package/dist/api/ws/progress.d.ts +10 -72
  71. package/dist/api/ws/web-rtc-signaling.d.ts +33 -279
  72. package/dist/objects/access-rule.d.ts +12 -132
  73. package/dist/objects/access-rule.js +1 -1
  74. package/dist/objects/agent-metadata.d.ts +36 -146
  75. package/dist/objects/agent-metadata.js +1 -2
  76. package/dist/objects/agreement.d.ts +1 -13
  77. package/dist/objects/all.d.ts +20 -1
  78. package/dist/objects/api-key.d.ts +1 -13
  79. package/dist/objects/automation-rule.d.ts +9 -168
  80. package/dist/objects/automation-rule.js +2 -2
  81. package/dist/objects/bookmark.d.ts +3 -33
  82. package/dist/objects/bookmark.js +1 -1
  83. package/dist/objects/credential.d.ts +13 -13
  84. package/dist/objects/credential.js +1 -1
  85. package/dist/objects/custom-field.d.ts +19 -15
  86. package/dist/objects/device/alarm.d.ts +1 -1
  87. package/dist/objects/device/any-device.d.ts +1333 -4451
  88. package/dist/objects/device/camera-lift.d.ts +1 -1
  89. package/dist/objects/device/camera.d.ts +29 -125
  90. package/dist/objects/device/camera.js +1 -1
  91. package/dist/objects/device/device-import.d.ts +307 -1735
  92. package/dist/objects/device/device-relation.d.ts +70 -58
  93. package/dist/objects/device/display.d.ts +1 -1
  94. package/dist/objects/device/door.d.ts +9 -14
  95. package/dist/objects/device/intercom-terminal.d.ts +10 -59
  96. package/dist/objects/device/io-board.d.ts +3 -9
  97. package/dist/objects/device/motion-sensor.d.ts +1 -1
  98. package/dist/objects/device/nvr-analytics-server.d.ts +2 -6
  99. package/dist/objects/device/nvr-exporter.d.ts +3 -9
  100. package/dist/objects/device/nvr-recorder.d.ts +16 -68
  101. package/dist/objects/device/panic-button.d.ts +1 -1
  102. package/dist/objects/device/pbx.d.ts +1 -5
  103. package/dist/objects/device/system.d.ts +1 -1
  104. package/dist/objects/device/system.js +1 -1
  105. package/dist/objects/device-group.d.ts +2 -16
  106. package/dist/objects/layout.d.ts +3 -75
  107. package/dist/objects/macro.d.ts +3 -59
  108. package/dist/objects/macro.js +2 -2
  109. package/dist/objects/notification.d.ts +6 -24
  110. package/dist/objects/notification.js +1 -1
  111. package/dist/objects/person-agreement.d.ts +1 -13
  112. package/dist/objects/person-presence.d.ts +11 -165
  113. package/dist/objects/person-type.d.ts +2 -22
  114. package/dist/objects/person.d.ts +21 -153
  115. package/dist/objects/person.js +3 -3
  116. package/dist/objects/role.d.ts +3 -15
  117. package/dist/objects/schedule.d.ts +152 -314
  118. package/dist/objects/schedule.js +1 -1
  119. package/dist/objects/security-level.d.ts +1 -21
  120. package/dist/objects/template.d.ts +9 -13
  121. package/dist/objects/token-conversion.d.ts +8 -18
  122. package/dist/objects/user.d.ts +2 -20
  123. package/dist/objects/view.d.ts +52 -682
  124. package/dist/objects/world-object.d.ts +1 -7
  125. package/dist/objects/zone.d.ts +5 -29
  126. package/dist/objects/zone.js +1 -1
  127. package/dist/package.json +3 -3
  128. package/dist/permissions.d.ts +1 -1
  129. package/dist/primitives.d.ts +113 -551
  130. package/dist/primitives.js +1 -1
  131. package/package.json +3 -3
@@ -1,110 +1,34 @@
1
1
  import z from 'zod';
2
2
  export declare const sCreateAccessRuleRequest: z.ZodObject<{
3
3
  displayName: z.ZodString;
4
- appliedTo: z.ZodArray<z.ZodString, "many">;
4
+ appliedTo: z.ZodArray<z.ZodString>;
5
5
  permissions: z.ZodArray<z.ZodObject<{
6
6
  deviceId: z.ZodString;
7
7
  scheduleId: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
- deviceId: string;
10
- scheduleId: string;
11
- }, {
12
- deviceId: string;
13
- scheduleId: string;
14
- }>, "many">;
8
+ }, z.core.$strip>>;
15
9
  groupPermissions: z.ZodArray<z.ZodObject<{
16
10
  groupId: z.ZodString;
17
11
  scheduleId: z.ZodString;
18
- }, "strip", z.ZodTypeAny, {
19
- scheduleId: string;
20
- groupId: string;
21
- }, {
22
- scheduleId: string;
23
- groupId: string;
24
- }>, "many">;
25
- }, "strip", z.ZodTypeAny, {
26
- displayName: string;
27
- appliedTo: string[];
28
- permissions: {
29
- deviceId: string;
30
- scheduleId: string;
31
- }[];
32
- groupPermissions: {
33
- scheduleId: string;
34
- groupId: string;
35
- }[];
36
- }, {
37
- displayName: string;
38
- appliedTo: string[];
39
- permissions: {
40
- deviceId: string;
41
- scheduleId: string;
42
- }[];
43
- groupPermissions: {
44
- scheduleId: string;
45
- groupId: string;
46
- }[];
47
- }>;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>;
48
14
  export declare const sUpdateAccessRuleRequest: z.ZodObject<{
49
15
  displayName: z.ZodOptional<z.ZodString>;
50
- appliedTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16
+ appliedTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
17
  permissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
52
18
  deviceId: z.ZodString;
53
19
  scheduleId: z.ZodString;
54
- }, "strip", z.ZodTypeAny, {
55
- deviceId: string;
56
- scheduleId: string;
57
- }, {
58
- deviceId: string;
59
- scheduleId: string;
60
- }>, "many">>;
20
+ }, z.core.$strip>>>;
61
21
  groupPermissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
62
22
  groupId: z.ZodString;
63
23
  scheduleId: z.ZodString;
64
- }, "strip", z.ZodTypeAny, {
65
- scheduleId: string;
66
- groupId: string;
67
- }, {
68
- scheduleId: string;
69
- groupId: string;
70
- }>, "many">>;
71
- }, "strip", z.ZodTypeAny, {
72
- displayName?: string | undefined;
73
- appliedTo?: string[] | undefined;
74
- permissions?: {
75
- deviceId: string;
76
- scheduleId: string;
77
- }[] | undefined;
78
- groupPermissions?: {
79
- scheduleId: string;
80
- groupId: string;
81
- }[] | undefined;
82
- }, {
83
- displayName?: string | undefined;
84
- appliedTo?: string[] | undefined;
85
- permissions?: {
86
- deviceId: string;
87
- scheduleId: string;
88
- }[] | undefined;
89
- groupPermissions?: {
90
- scheduleId: string;
91
- groupId: string;
92
- }[] | undefined;
93
- }>;
24
+ }, z.core.$strip>>>;
25
+ }, z.core.$strip>;
94
26
  export declare const sAddMemberToAccessRuleRequest: z.ZodObject<{
95
27
  personId: z.ZodString;
96
- }, "strip", z.ZodTypeAny, {
97
- personId: string;
98
- }, {
99
- personId: string;
100
- }>;
28
+ }, z.core.$strip>;
101
29
  export declare const sRemoveMemberFromAccessRuleRequest: z.ZodObject<{
102
30
  personId: z.ZodString;
103
- }, "strip", z.ZodTypeAny, {
104
- personId: string;
105
- }, {
106
- personId: string;
107
- }>;
31
+ }, z.core.$strip>;
108
32
  export type CreateAccessRuleRequest = z.infer<typeof sCreateAccessRuleRequest>;
109
33
  export type UpdateAccessRuleRequest = {
110
34
  id: string;
@@ -1,26 +1,11 @@
1
1
  import z from 'zod';
2
- export declare const sCreateAgreementRequest: z.ZodObject<Omit<{
3
- id: z.ZodString;
2
+ export declare const sCreateAgreementRequest: z.ZodObject<{
4
3
  displayName: z.ZodString;
5
4
  content: z.ZodString;
6
- createdOn: z.ZodString;
7
- lastModifiedOn: z.ZodString;
8
- }, "id" | "createdOn" | "lastModifiedOn">, "strip", z.ZodTypeAny, {
9
- displayName: string;
10
- content: string;
11
- }, {
12
- displayName: string;
13
- content: string;
14
- }>;
5
+ }, z.core.$strip>;
15
6
  export type CreateAgreementRequest = z.infer<typeof sCreateAgreementRequest>;
16
7
  export declare const sUpdateAgreementRequest: z.ZodObject<{
17
8
  displayName: z.ZodOptional<z.ZodString>;
18
9
  content: z.ZodOptional<z.ZodString>;
19
- }, "strip", z.ZodTypeAny, {
20
- displayName?: string | undefined;
21
- content?: string | undefined;
22
- }, {
23
- displayName?: string | undefined;
24
- content?: string | undefined;
25
- }>;
10
+ }, z.core.$strip>;
26
11
  export type UpdateAgreementRequest = z.infer<typeof sUpdateAgreementRequest>;
@@ -1,28 +1,14 @@
1
1
  import { z } from 'zod';
2
2
  export declare const sCreateApiKeyRequest: z.ZodObject<{
3
3
  displayName: z.ZodString;
4
- }, "strip", z.ZodTypeAny, {
5
- displayName: string;
6
- }, {
7
- displayName: string;
8
- }>;
4
+ }, z.core.$strip>;
9
5
  export declare const sCreateApiKeyResponse: z.ZodObject<{
10
6
  id: z.ZodString;
11
7
  apiKey: z.ZodString;
12
- }, "strip", z.ZodTypeAny, {
13
- id: string;
14
- apiKey: string;
15
- }, {
16
- id: string;
17
- apiKey: string;
18
- }>;
8
+ }, z.core.$strip>;
19
9
  export declare const sRevokeApiKeyRequest: z.ZodObject<{
20
10
  id: z.ZodString;
21
- }, "strip", z.ZodTypeAny, {
22
- id: string;
23
- }, {
24
- id: string;
25
- }>;
11
+ }, z.core.$strip>;
26
12
  export type CreateApiKeyRequest = z.infer<typeof sCreateApiKeyRequest>;
27
13
  export type CreateApiKeyResponse = z.infer<typeof sCreateApiKeyResponse>;
28
14
  export type RevokeApiKeyRequest = z.infer<typeof sRevokeApiKeyRequest>;
@@ -4,17 +4,7 @@ export declare const sPasswordPolicy: z.ZodObject<{
4
4
  minSpecialChars: z.ZodDefault<z.ZodNumber>;
5
5
  minDifferentCase: z.ZodDefault<z.ZodNumber>;
6
6
  minDigits: z.ZodDefault<z.ZodNumber>;
7
- }, "strip", z.ZodTypeAny, {
8
- minLength: number;
9
- minSpecialChars: number;
10
- minDifferentCase: number;
11
- minDigits: number;
12
- }, {
13
- minLength?: number | undefined;
14
- minSpecialChars?: number | undefined;
15
- minDifferentCase?: number | undefined;
16
- minDigits?: number | undefined;
17
- }>;
7
+ }, z.core.$strip>;
18
8
  export declare const sAppInfo: z.ZodObject<{
19
9
  version: z.ZodString;
20
10
  releaseDate: z.ZodString;
@@ -27,45 +17,7 @@ export declare const sAppInfo: z.ZodObject<{
27
17
  minSpecialChars: z.ZodDefault<z.ZodNumber>;
28
18
  minDifferentCase: z.ZodDefault<z.ZodNumber>;
29
19
  minDigits: z.ZodDefault<z.ZodNumber>;
30
- }, "strip", z.ZodTypeAny, {
31
- minLength: number;
32
- minSpecialChars: number;
33
- minDifferentCase: number;
34
- minDigits: number;
35
- }, {
36
- minLength?: number | undefined;
37
- minSpecialChars?: number | undefined;
38
- minDifferentCase?: number | undefined;
39
- minDigits?: number | undefined;
40
- }>;
20
+ }, z.core.$strip>;
41
21
  mapTileServerUrl: z.ZodString;
42
- }, "strip", z.ZodTypeAny, {
43
- version: string;
44
- releaseDate: string;
45
- serverDeviceId: string;
46
- alarmDeviceId: string;
47
- globalZoneId: string;
48
- presenceTrackerId: string;
49
- passwordPolicy: {
50
- minLength: number;
51
- minSpecialChars: number;
52
- minDifferentCase: number;
53
- minDigits: number;
54
- };
55
- mapTileServerUrl: string;
56
- }, {
57
- version: string;
58
- releaseDate: string;
59
- serverDeviceId: string;
60
- alarmDeviceId: string;
61
- globalZoneId: string;
62
- presenceTrackerId: string;
63
- passwordPolicy: {
64
- minLength?: number | undefined;
65
- minSpecialChars?: number | undefined;
66
- minDifferentCase?: number | undefined;
67
- minDigits?: number | undefined;
68
- };
69
- mapTileServerUrl: string;
70
- }>;
22
+ }, z.core.$strip>;
71
23
  export type AppInfo = z.infer<typeof sAppInfo>;
@@ -2,30 +2,14 @@ import { z } from 'zod';
2
2
  export declare const sLoginByCredentialsRequest: z.ZodObject<{
3
3
  username: z.ZodString;
4
4
  password: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- username: string;
7
- password: string;
8
- }, {
9
- username: string;
10
- password: string;
11
- }>;
5
+ }, z.core.$strip>;
12
6
  export declare const sLoginByRefreshTokenRequest: z.ZodObject<{
13
7
  refreshToken: z.ZodString;
14
- }, "strip", z.ZodTypeAny, {
15
- refreshToken: string;
16
- }, {
17
- refreshToken: string;
18
- }>;
8
+ }, z.core.$strip>;
19
9
  export declare const sLoginResponse: z.ZodObject<{
20
10
  accessToken: z.ZodString;
21
11
  refreshToken: z.ZodString;
22
- }, "strip", z.ZodTypeAny, {
23
- refreshToken: string;
24
- accessToken: string;
25
- }, {
26
- refreshToken: string;
27
- accessToken: string;
28
- }>;
12
+ }, z.core.$strip>;
29
13
  export type LoginByCredentialsRequest = z.infer<typeof sLoginByCredentialsRequest>;
30
14
  export type LoginByRefreshTokenRequest = z.infer<typeof sLoginByRefreshTokenRequest>;
31
15
  export type LoginResponse = z.infer<typeof sLoginResponse>;
@@ -10,74 +10,14 @@ export declare const sAddAutomationRuleRequest: z.ZodObject<{
10
10
  command: z.ZodString;
11
11
  target: z.ZodString;
12
12
  params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13
- }, "strip", z.ZodTypeAny, {
14
- params: Record<string, unknown>;
15
- command: string;
16
- target: string;
17
- }, {
18
- params: Record<string, unknown>;
19
- command: string;
20
- target: string;
21
- }>, "many">;
22
- }, "strip", z.ZodTypeAny, {
23
- onEvent: string;
24
- commands: {
25
- params: Record<string, unknown>;
26
- command: string;
27
- target: string;
28
- }[];
29
- runIf?: string | undefined;
30
- }, {
31
- onEvent: string;
32
- commands: {
33
- params: Record<string, unknown>;
34
- command: string;
35
- target: string;
36
- }[];
37
- runIf?: string | undefined;
38
- }>;
13
+ }, z.core.$strip>>;
14
+ }, z.core.$strip>;
39
15
  enabled: z.ZodBoolean;
40
16
  exclusivityGroup: z.ZodNullable<z.ZodString>;
41
17
  score: z.ZodNullable<z.ZodNumber>;
42
18
  module: z.ZodNullable<z.ZodString>;
43
19
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44
- }, "strip", z.ZodTypeAny, {
45
- code: string | null;
46
- displayName: string;
47
- body: {
48
- onEvent: string;
49
- commands: {
50
- params: Record<string, unknown>;
51
- command: string;
52
- target: string;
53
- }[];
54
- runIf?: string | undefined;
55
- };
56
- enabled: boolean;
57
- exclusivityGroup: string | null;
58
- score: number | null;
59
- module: string | null;
60
- metadata: Record<string, unknown>;
61
- description?: string | undefined;
62
- }, {
63
- code: string | null;
64
- displayName: string;
65
- body: {
66
- onEvent: string;
67
- commands: {
68
- params: Record<string, unknown>;
69
- command: string;
70
- target: string;
71
- }[];
72
- runIf?: string | undefined;
73
- };
74
- enabled: boolean;
75
- exclusivityGroup: string | null;
76
- score: number | null;
77
- module: string | null;
78
- metadata: Record<string, unknown>;
79
- description?: string | undefined;
80
- }>;
20
+ }, z.core.$strip>;
81
21
  export declare const sUpdateAutomationRule: z.ZodObject<{
82
22
  displayName: z.ZodOptional<z.ZodString>;
83
23
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -89,78 +29,15 @@ export declare const sUpdateAutomationRule: z.ZodObject<{
89
29
  command: z.ZodString;
90
30
  target: z.ZodString;
91
31
  params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
92
- }, "strip", z.ZodTypeAny, {
93
- params: Record<string, unknown>;
94
- command: string;
95
- target: string;
96
- }, {
97
- params: Record<string, unknown>;
98
- command: string;
99
- target: string;
100
- }>, "many">;
101
- }, "strip", z.ZodTypeAny, {
102
- onEvent: string;
103
- commands: {
104
- params: Record<string, unknown>;
105
- command: string;
106
- target: string;
107
- }[];
108
- runIf?: string | undefined;
109
- }, {
110
- onEvent: string;
111
- commands: {
112
- params: Record<string, unknown>;
113
- command: string;
114
- target: string;
115
- }[];
116
- runIf?: string | undefined;
117
- }>>;
32
+ }, z.core.$strip>>;
33
+ }, z.core.$strip>>;
118
34
  enabled: z.ZodOptional<z.ZodBoolean>;
119
35
  exclusivityGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
120
36
  score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
121
37
  module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
122
38
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
123
- } & {
124
39
  id: z.ZodString;
125
- }, "strip", z.ZodTypeAny, {
126
- id: string;
127
- code?: string | null | undefined;
128
- displayName?: string | undefined;
129
- description?: string | undefined;
130
- body?: {
131
- onEvent: string;
132
- commands: {
133
- params: Record<string, unknown>;
134
- command: string;
135
- target: string;
136
- }[];
137
- runIf?: string | undefined;
138
- } | undefined;
139
- enabled?: boolean | undefined;
140
- exclusivityGroup?: string | null | undefined;
141
- score?: number | null | undefined;
142
- module?: string | null | undefined;
143
- metadata?: Record<string, unknown> | undefined;
144
- }, {
145
- id: string;
146
- code?: string | null | undefined;
147
- displayName?: string | undefined;
148
- description?: string | undefined;
149
- body?: {
150
- onEvent: string;
151
- commands: {
152
- params: Record<string, unknown>;
153
- command: string;
154
- target: string;
155
- }[];
156
- runIf?: string | undefined;
157
- } | undefined;
158
- enabled?: boolean | undefined;
159
- exclusivityGroup?: string | null | undefined;
160
- score?: number | null | undefined;
161
- module?: string | null | undefined;
162
- metadata?: Record<string, unknown> | undefined;
163
- }>;
40
+ }, z.core.$strip>;
164
41
  export declare const sAutomationBulkMergeRequest: z.ZodObject<{
165
42
  merge: z.ZodArray<z.ZodObject<{
166
43
  displayName: z.ZodString;
@@ -173,118 +50,16 @@ export declare const sAutomationBulkMergeRequest: z.ZodObject<{
173
50
  command: z.ZodString;
174
51
  target: z.ZodString;
175
52
  params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
176
- }, "strip", z.ZodTypeAny, {
177
- params: Record<string, unknown>;
178
- command: string;
179
- target: string;
180
- }, {
181
- params: Record<string, unknown>;
182
- command: string;
183
- target: string;
184
- }>, "many">;
185
- }, "strip", z.ZodTypeAny, {
186
- onEvent: string;
187
- commands: {
188
- params: Record<string, unknown>;
189
- command: string;
190
- target: string;
191
- }[];
192
- runIf?: string | undefined;
193
- }, {
194
- onEvent: string;
195
- commands: {
196
- params: Record<string, unknown>;
197
- command: string;
198
- target: string;
199
- }[];
200
- runIf?: string | undefined;
201
- }>;
53
+ }, z.core.$strip>>;
54
+ }, z.core.$strip>;
202
55
  enabled: z.ZodBoolean;
203
56
  exclusivityGroup: z.ZodNullable<z.ZodString>;
204
57
  score: z.ZodNullable<z.ZodNumber>;
205
58
  module: z.ZodNullable<z.ZodString>;
206
59
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
207
- }, "strip", z.ZodTypeAny, {
208
- code: string | null;
209
- displayName: string;
210
- body: {
211
- onEvent: string;
212
- commands: {
213
- params: Record<string, unknown>;
214
- command: string;
215
- target: string;
216
- }[];
217
- runIf?: string | undefined;
218
- };
219
- enabled: boolean;
220
- exclusivityGroup: string | null;
221
- score: number | null;
222
- module: string | null;
223
- metadata: Record<string, unknown>;
224
- description?: string | undefined;
225
- }, {
226
- code: string | null;
227
- displayName: string;
228
- body: {
229
- onEvent: string;
230
- commands: {
231
- params: Record<string, unknown>;
232
- command: string;
233
- target: string;
234
- }[];
235
- runIf?: string | undefined;
236
- };
237
- enabled: boolean;
238
- exclusivityGroup: string | null;
239
- score: number | null;
240
- module: string | null;
241
- metadata: Record<string, unknown>;
242
- description?: string | undefined;
243
- }>, "many">;
244
- removeCodes: z.ZodArray<z.ZodString, "many">;
245
- }, "strip", z.ZodTypeAny, {
246
- merge: {
247
- code: string | null;
248
- displayName: string;
249
- body: {
250
- onEvent: string;
251
- commands: {
252
- params: Record<string, unknown>;
253
- command: string;
254
- target: string;
255
- }[];
256
- runIf?: string | undefined;
257
- };
258
- enabled: boolean;
259
- exclusivityGroup: string | null;
260
- score: number | null;
261
- module: string | null;
262
- metadata: Record<string, unknown>;
263
- description?: string | undefined;
264
- }[];
265
- removeCodes: string[];
266
- }, {
267
- merge: {
268
- code: string | null;
269
- displayName: string;
270
- body: {
271
- onEvent: string;
272
- commands: {
273
- params: Record<string, unknown>;
274
- command: string;
275
- target: string;
276
- }[];
277
- runIf?: string | undefined;
278
- };
279
- enabled: boolean;
280
- exclusivityGroup: string | null;
281
- score: number | null;
282
- module: string | null;
283
- metadata: Record<string, unknown>;
284
- description?: string | undefined;
285
- }[];
286
- removeCodes: string[];
287
- }>;
60
+ }, z.core.$strip>>;
61
+ removeCodes: z.ZodArray<z.ZodString>;
62
+ }, z.core.$strip>;
288
63
  export type AddAutomationRuleRequest = z.infer<typeof sAddAutomationRuleRequest>;
289
64
  export type UpdateAutomationRuleRequest = z.infer<typeof sUpdateAutomationRule>;
290
65
  export type AutomationBulkMergeRequest = z.infer<typeof sAutomationBulkMergeRequest>;
@@ -4,78 +4,30 @@ export declare const sCreateBookmarkRq: z.ZodObject<{
4
4
  label: z.ZodString;
5
5
  deviceId: z.ZodString;
6
6
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7
- }, "strip", z.ZodTypeAny, {
8
- deviceId: string;
9
- metadata: Record<string, unknown>;
10
- timestamp: number;
11
- label: string;
12
- }, {
13
- deviceId: string;
14
- metadata: Record<string, unknown>;
15
- timestamp: number;
16
- label: string;
17
- }>;
7
+ }, z.core.$strip>;
18
8
  export declare const sUpdateBookmarkBody: z.ZodObject<{
19
9
  timestamp: z.ZodOptional<z.ZodNumber>;
20
10
  label: z.ZodOptional<z.ZodString>;
21
11
  deviceId: z.ZodOptional<z.ZodString>;
22
12
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23
- }, "strip", z.ZodTypeAny, {
24
- deviceId?: string | undefined;
25
- metadata?: Record<string, unknown> | undefined;
26
- timestamp?: number | undefined;
27
- label?: string | undefined;
28
- }, {
29
- deviceId?: string | undefined;
30
- metadata?: Record<string, unknown> | undefined;
31
- timestamp?: number | undefined;
32
- label?: string | undefined;
33
- }>;
13
+ }, z.core.$strip>;
34
14
  export declare const sUpdateBookmarkRq: z.ZodIntersection<z.ZodObject<{
35
15
  id: z.ZodString;
36
- }, "strip", z.ZodTypeAny, {
37
- id: string;
38
- }, {
39
- id: string;
40
- }>, z.ZodObject<{
16
+ }, z.core.$strip>, z.ZodObject<{
41
17
  timestamp: z.ZodOptional<z.ZodNumber>;
42
18
  label: z.ZodOptional<z.ZodString>;
43
19
  deviceId: z.ZodOptional<z.ZodString>;
44
20
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
45
- }, "strip", z.ZodTypeAny, {
46
- deviceId?: string | undefined;
47
- metadata?: Record<string, unknown> | undefined;
48
- timestamp?: number | undefined;
49
- label?: string | undefined;
50
- }, {
51
- deviceId?: string | undefined;
52
- metadata?: Record<string, unknown> | undefined;
53
- timestamp?: number | undefined;
54
- label?: string | undefined;
55
- }>>;
21
+ }, z.core.$strip>>;
56
22
  export declare const sDeleteBookmarkRq: z.ZodObject<{
57
23
  id: z.ZodString;
58
- }, "strip", z.ZodTypeAny, {
59
- id: string;
60
- }, {
61
- id: string;
62
- }>;
24
+ }, z.core.$strip>;
63
25
  export declare const sBookmarkSearchCriteria: z.ZodObject<{
64
- deviceId: z.ZodArray<z.ZodString, "many">;
65
- createdBy: z.ZodArray<z.ZodString, "many">;
26
+ deviceId: z.ZodArray<z.ZodString>;
27
+ createdBy: z.ZodArray<z.ZodString>;
66
28
  timeFrom: z.ZodNumber;
67
29
  timeTo: z.ZodNumber;
68
- }, "strip", z.ZodTypeAny, {
69
- deviceId: string[];
70
- createdBy: string[];
71
- timeFrom: number;
72
- timeTo: number;
73
- }, {
74
- deviceId: string[];
75
- createdBy: string[];
76
- timeFrom: number;
77
- timeTo: number;
78
- }>;
30
+ }, z.core.$strip>;
79
31
  export type CreateBookmarkRq = z.infer<typeof sCreateBookmarkRq>;
80
32
  export type UpdateBookmarkRq = z.infer<typeof sUpdateBookmarkRq>;
81
33
  export type UpdateBookmarkBody = z.infer<typeof sUpdateBookmarkBody>;