@awarevue/api-types 2.0.33 → 2.0.34

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.
@@ -6,6 +6,7 @@ export declare const sPresencePersonDto: z.ZodObject<{
6
6
  avatarId: z.ZodNullable<z.ZodString>;
7
7
  type: z.ZodString;
8
8
  position: z.ZodNullable<z.ZodString>;
9
+ archived: z.ZodBoolean;
9
10
  }, "strip", z.ZodTypeAny, {
10
11
  type: string;
11
12
  id: string;
@@ -13,6 +14,7 @@ export declare const sPresencePersonDto: z.ZodObject<{
13
14
  firstName: string;
14
15
  lastName: string;
15
16
  avatarId: string | null;
17
+ archived: boolean;
16
18
  }, {
17
19
  type: string;
18
20
  id: string;
@@ -20,6 +22,7 @@ export declare const sPresencePersonDto: z.ZodObject<{
20
22
  firstName: string;
21
23
  lastName: string;
22
24
  avatarId: string | null;
25
+ archived: boolean;
23
26
  }>;
24
27
  export type PresencePersonDto = z.infer<typeof sPresencePersonDto>;
25
28
  export declare const sPresenceZoneDto: z.ZodObject<{
@@ -45,6 +48,7 @@ export declare const sPersonPresenceDto: z.ZodObject<{
45
48
  avatarId: z.ZodNullable<z.ZodString>;
46
49
  type: z.ZodString;
47
50
  position: z.ZodNullable<z.ZodString>;
51
+ archived: z.ZodBoolean;
48
52
  }, "strip", z.ZodTypeAny, {
49
53
  type: string;
50
54
  id: string;
@@ -52,6 +56,7 @@ export declare const sPersonPresenceDto: z.ZodObject<{
52
56
  firstName: string;
53
57
  lastName: string;
54
58
  avatarId: string | null;
59
+ archived: boolean;
55
60
  }, {
56
61
  type: string;
57
62
  id: string;
@@ -59,6 +64,7 @@ export declare const sPersonPresenceDto: z.ZodObject<{
59
64
  firstName: string;
60
65
  lastName: string;
61
66
  avatarId: string | null;
67
+ archived: boolean;
62
68
  }>;
63
69
  zone: z.ZodUnion<[z.ZodObject<{
64
70
  id: z.ZodString;
@@ -75,14 +81,12 @@ export declare const sPersonPresenceDto: z.ZodObject<{
75
81
  }>, z.ZodString]>;
76
82
  online: z.ZodNullable<z.ZodBoolean>;
77
83
  onLeave: z.ZodBoolean;
78
- archived: z.ZodBoolean;
79
84
  lastCheckInOn: z.ZodNullable<z.ZodNumber>;
80
85
  lastCheckOutOn: z.ZodNullable<z.ZodNumber>;
81
86
  securityChecked: z.ZodBoolean;
82
87
  }, "strip", z.ZodTypeAny, {
83
88
  id: string;
84
89
  online: boolean | null;
85
- archived: boolean;
86
90
  person: {
87
91
  type: string;
88
92
  id: string;
@@ -90,6 +94,7 @@ export declare const sPersonPresenceDto: z.ZodObject<{
90
94
  firstName: string;
91
95
  lastName: string;
92
96
  avatarId: string | null;
97
+ archived: boolean;
93
98
  };
94
99
  zone: string | {
95
100
  id: string;
@@ -103,7 +108,6 @@ export declare const sPersonPresenceDto: z.ZodObject<{
103
108
  }, {
104
109
  id: string;
105
110
  online: boolean | null;
106
- archived: boolean;
107
111
  person: {
108
112
  type: string;
109
113
  id: string;
@@ -111,6 +115,7 @@ export declare const sPersonPresenceDto: z.ZodObject<{
111
115
  firstName: string;
112
116
  lastName: string;
113
117
  avatarId: string | null;
118
+ archived: boolean;
114
119
  };
115
120
  zone: string | {
116
121
  id: string;
@@ -132,6 +137,7 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
132
137
  avatarId: z.ZodNullable<z.ZodString>;
133
138
  type: z.ZodString;
134
139
  position: z.ZodNullable<z.ZodString>;
140
+ archived: z.ZodBoolean;
135
141
  }, "strip", z.ZodTypeAny, {
136
142
  type: string;
137
143
  id: string;
@@ -139,6 +145,7 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
139
145
  firstName: string;
140
146
  lastName: string;
141
147
  avatarId: string | null;
148
+ archived: boolean;
142
149
  }, {
143
150
  type: string;
144
151
  id: string;
@@ -146,6 +153,7 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
146
153
  firstName: string;
147
154
  lastName: string;
148
155
  avatarId: string | null;
156
+ archived: boolean;
149
157
  }>, z.ZodString]>;
150
158
  zone: z.ZodUnion<[z.ZodObject<{
151
159
  id: z.ZodString;
@@ -174,6 +182,7 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
174
182
  firstName: string;
175
183
  lastName: string;
176
184
  avatarId: string | null;
185
+ archived: boolean;
177
186
  };
178
187
  zone: string | {
179
188
  id: string;
@@ -193,6 +202,7 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
193
202
  firstName: string;
194
203
  lastName: string;
195
204
  avatarId: string | null;
205
+ archived: boolean;
196
206
  };
197
207
  zone: string | {
198
208
  id: string;
@@ -9,6 +9,7 @@ exports.sPresencePersonDto = zod_1.z.object({
9
9
  avatarId: zod_1.z.string().nullable(),
10
10
  type: zod_1.z.string().min(1).max(16),
11
11
  position: zod_1.z.string().max(128).nullable(),
12
+ archived: zod_1.z.boolean(),
12
13
  });
13
14
  exports.sPresenceZoneDto = zod_1.z.object({
14
15
  id: zod_1.z.string(),
@@ -23,7 +24,6 @@ exports.sPersonPresenceDto = zod_1.z.object({
23
24
  zone: zod_1.z.union([exports.sPresenceZoneDto, zod_1.z.string()]),
24
25
  online: zod_1.z.boolean().nullable(),
25
26
  onLeave: zod_1.z.boolean(),
26
- archived: zod_1.z.boolean(),
27
27
  lastCheckInOn: zod_1.z.number().nullable(),
28
28
  lastCheckOutOn: zod_1.z.number().nullable(),
29
29
  securityChecked: zod_1.z.boolean(),
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awarevue/api-types",
3
- "version": "2.0.33",
3
+ "version": "2.0.34",
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": "2.0.33",
3
+ "version": "2.0.34",
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",