@awarevue/api-types 2.0.147 → 2.0.148

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.
@@ -71,7 +71,7 @@ export type AccessPathActivated = z.infer<typeof sAccessPathActivated>;
71
71
  export declare const sTimeZoneChanged: z.ZodObject<{
72
72
  kind: z.ZodLiteral<"time-zone-changed">;
73
73
  timeZone: z.ZodString;
74
- previousTimeZone: z.ZodNullable<z.ZodString>;
74
+ previousTimeZone: z.ZodString;
75
75
  userId: z.ZodOptional<z.ZodString>;
76
76
  }, z.core.$strip>;
77
77
  export type TimeZoneChanged = z.infer<typeof sTimeZoneChanged>;
@@ -35,6 +35,6 @@ exports.sAccessPathActivated = zod_1.z.object({
35
35
  exports.sTimeZoneChanged = zod_1.z.object({
36
36
  kind: zod_1.z.literal('time-zone-changed'),
37
37
  timeZone: zod_1.z.string(), // new IANA zone, e.g. 'Africa/Cairo' or 'Etc/GMT-3'
38
- previousTimeZone: zod_1.z.string().nullable(), // null the first time it is set
38
+ previousTimeZone: zod_1.z.string(),
39
39
  userId: zod_1.z.string().optional(), // matches the other server events
40
40
  });
@@ -9,6 +9,8 @@ export interface EventSearchQueryDto {
9
9
  offset?: number;
10
10
  limit?: number;
11
11
  alarmTriggersOnly?: boolean;
12
+ timeZone?: string;
13
+ timeZoneAsWas?: boolean;
12
14
  }
13
15
  export type EventSearchItemDto<TEvent extends AnyDeviceEvent = AnyDeviceEvent> = {
14
16
  id: string;
@@ -17,5 +17,5 @@ export type ServerState = {
17
17
  accessControlProviders: Record<string, AccessControlProviderState>;
18
18
  citadelMode: boolean;
19
19
  deviceChanges: ConfigState;
20
- timeZone: string | null;
20
+ timeZone: string;
21
21
  };
package/dist/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
6
6
  },
7
- "version": "2.0.147",
7
+ "version": "2.0.148",
8
8
  "description": "Common types between backend, agent(s) and frontend(s)",
9
9
  "main": "dist/index.js",
10
10
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
6
6
  },
7
- "version": "2.0.147",
7
+ "version": "2.0.148",
8
8
  "description": "Common types between backend, agent(s) and frontend(s)",
9
9
  "main": "dist/index.js",
10
10
  "types": "dist/index.d.ts",