@tracearr/shared 2.2.3 → 2.2.4-beta.1

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 (35) hide show
  1. package/dist/automations/__tests__/definition.test.js +2 -2
  2. package/dist/automations/__tests__/templates.test.js.map +1 -1
  3. package/dist/automations/actions.d.ts +219 -219
  4. package/dist/automations/actions.d.ts.map +1 -1
  5. package/dist/automations/conditions.d.ts +129 -129
  6. package/dist/automations/conditions.d.ts.map +1 -1
  7. package/dist/automations/definition.d.ts +330 -327
  8. package/dist/automations/definition.d.ts.map +1 -1
  9. package/dist/automations/dryRun.d.ts +99 -98
  10. package/dist/automations/dryRun.d.ts.map +1 -1
  11. package/dist/automations/share.d.ts.map +1 -1
  12. package/dist/automations/share.js.map +1 -1
  13. package/dist/automations/templates.d.ts +276 -274
  14. package/dist/automations/templates.d.ts.map +1 -1
  15. package/dist/automations/templates.js.map +1 -1
  16. package/dist/automations/triggers.d.ts +46 -40
  17. package/dist/automations/triggers.d.ts.map +1 -1
  18. package/dist/automations/triggers.js +1 -0
  19. package/dist/automations/triggers.js.map +1 -1
  20. package/dist/constants.d.ts +69 -69
  21. package/dist/constants.d.ts.map +1 -1
  22. package/dist/destinations.d.ts +37 -37
  23. package/dist/destinations.d.ts.map +1 -1
  24. package/dist/dynamicRange.d.ts +1 -1
  25. package/dist/dynamicRange.d.ts.map +1 -1
  26. package/dist/listQuery.d.ts +1 -1
  27. package/dist/media.js.map +1 -1
  28. package/dist/mediaServerLinks.js.map +1 -1
  29. package/dist/resolution.d.ts.map +1 -1
  30. package/dist/schemas.d.ts +120 -120
  31. package/dist/schemas.d.ts.map +1 -1
  32. package/dist/types.d.ts +2 -2
  33. package/dist/types.d.ts.map +1 -1
  34. package/dist/violations.js.map +1 -1
  35. package/package.json +2 -4
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/automations/actions.ts"],"names":[],"mappings":"AAAA,OA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AC,OAAO,cAAc,CAAC,CAAC;AACtD,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAClD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -2,11 +2,11 @@ import { z } from 'zod';
2
2
  import { type TriggerContext } from './triggers.js';
3
3
  export declare const comparisonOperatorSchema: z.ZodEnum<{
4
4
  eq: "eq";
5
- neq: "neq";
6
5
  gt: "gt";
7
6
  gte: "gte";
8
7
  lt: "lt";
9
8
  lte: "lte";
9
+ neq: "neq";
10
10
  }>;
11
11
  export declare const arrayOperatorSchema: z.ZodEnum<{
12
12
  in: "in";
@@ -18,11 +18,11 @@ export declare const stringOperatorSchema: z.ZodEnum<{
18
18
  }>;
19
19
  export declare const operatorSchema: z.ZodUnion<readonly [z.ZodEnum<{
20
20
  eq: "eq";
21
- neq: "neq";
22
21
  gt: "gt";
23
22
  gte: "gte";
24
23
  lt: "lt";
25
24
  lte: "lte";
25
+ neq: "neq";
26
26
  }>, z.ZodEnum<{
27
27
  in: "in";
28
28
  not_in: "not_in";
@@ -31,143 +31,143 @@ export declare const operatorSchema: z.ZodUnion<readonly [z.ZodEnum<{
31
31
  not_contains: "not_contains";
32
32
  }>]>;
33
33
  export declare const sessionBehaviorFieldSchema: z.ZodEnum<{
34
- concurrent_streams: "concurrent_streams";
35
34
  active_session_distance_km: "active_session_distance_km";
36
- travel_speed_kmh: "travel_speed_kmh";
37
- unique_ips_in_window: "unique_ips_in_window";
38
- unique_devices_in_window: "unique_devices_in_window";
39
- inactive_days: "inactive_days";
35
+ concurrent_streams: "concurrent_streams";
40
36
  current_pause_minutes: "current_pause_minutes";
37
+ inactive_days: "inactive_days";
41
38
  total_pause_minutes: "total_pause_minutes";
39
+ travel_speed_kmh: "travel_speed_kmh";
40
+ unique_devices_in_window: "unique_devices_in_window";
41
+ unique_ips_in_window: "unique_ips_in_window";
42
42
  }>;
43
43
  export declare const streamQualityFieldSchema: z.ZodEnum<{
44
- source_resolution: "source_resolution";
45
- output_resolution: "output_resolution";
46
- is_transcoding: "is_transcoding";
47
44
  is_transcode_downgrade: "is_transcode_downgrade";
45
+ is_transcoding: "is_transcoding";
46
+ output_resolution: "output_resolution";
48
47
  source_bitrate_mbps: "source_bitrate_mbps";
48
+ source_resolution: "source_resolution";
49
49
  }>;
50
50
  export declare const transcodingConditionValueSchema: z.ZodEnum<{
51
- video: "video";
52
51
  audio: "audio";
53
- video_or_audio: "video_or_audio";
54
52
  neither: "neither";
53
+ video: "video";
54
+ video_or_audio: "video_or_audio";
55
55
  }>;
56
56
  export declare const userAttributeFieldSchema: z.ZodEnum<{
57
- user_id: "user_id";
58
- trust_score: "trust_score";
59
57
  account_age_days: "account_age_days";
58
+ trust_score: "trust_score";
59
+ user_id: "user_id";
60
60
  }>;
61
61
  export declare const deviceClientFieldSchema: z.ZodEnum<{
62
- device_type: "device_type";
63
62
  client_name: "client_name";
63
+ device_type: "device_type";
64
64
  platform: "platform";
65
65
  }>;
66
66
  export declare const networkLocationFieldSchema: z.ZodEnum<{
67
- is_local_network: "is_local_network";
68
67
  country: "country";
69
68
  ip_in_range: "ip_in_range";
69
+ is_local_network: "is_local_network";
70
70
  }>;
71
71
  export declare const scopeFieldSchema: z.ZodEnum<{
72
- server_id: "server_id";
73
72
  media_type: "media_type";
73
+ server_id: "server_id";
74
74
  }>;
75
75
  /** The `_after` fields read the value a library item ends the sync with. */
76
76
  export declare const mediaFieldSchema: z.ZodEnum<{
77
+ audio_channels_after: "audio_channels_after";
78
+ dynamic_range_after: "dynamic_range_after";
79
+ file_size_after: "file_size_after";
77
80
  library_item_type: "library_item_type";
78
81
  library_name: "library_name";
79
82
  resolution_after: "resolution_after";
80
- dynamic_range_after: "dynamic_range_after";
81
83
  video_codec_after: "video_codec_after";
82
- audio_channels_after: "audio_channels_after";
83
- file_size_after: "file_size_after";
84
84
  }>;
85
85
  export declare const conditionFieldSchema: z.ZodUnion<readonly [z.ZodEnum<{
86
- concurrent_streams: "concurrent_streams";
87
86
  active_session_distance_km: "active_session_distance_km";
88
- travel_speed_kmh: "travel_speed_kmh";
89
- unique_ips_in_window: "unique_ips_in_window";
90
- unique_devices_in_window: "unique_devices_in_window";
91
- inactive_days: "inactive_days";
87
+ concurrent_streams: "concurrent_streams";
92
88
  current_pause_minutes: "current_pause_minutes";
89
+ inactive_days: "inactive_days";
93
90
  total_pause_minutes: "total_pause_minutes";
91
+ travel_speed_kmh: "travel_speed_kmh";
92
+ unique_devices_in_window: "unique_devices_in_window";
93
+ unique_ips_in_window: "unique_ips_in_window";
94
94
  }>, z.ZodEnum<{
95
- source_resolution: "source_resolution";
96
- output_resolution: "output_resolution";
97
- is_transcoding: "is_transcoding";
98
95
  is_transcode_downgrade: "is_transcode_downgrade";
96
+ is_transcoding: "is_transcoding";
97
+ output_resolution: "output_resolution";
99
98
  source_bitrate_mbps: "source_bitrate_mbps";
99
+ source_resolution: "source_resolution";
100
100
  }>, z.ZodEnum<{
101
- user_id: "user_id";
102
- trust_score: "trust_score";
103
101
  account_age_days: "account_age_days";
102
+ trust_score: "trust_score";
103
+ user_id: "user_id";
104
104
  }>, z.ZodEnum<{
105
- device_type: "device_type";
106
105
  client_name: "client_name";
106
+ device_type: "device_type";
107
107
  platform: "platform";
108
108
  }>, z.ZodEnum<{
109
- is_local_network: "is_local_network";
110
109
  country: "country";
111
110
  ip_in_range: "ip_in_range";
111
+ is_local_network: "is_local_network";
112
112
  }>, z.ZodEnum<{
113
- server_id: "server_id";
114
113
  media_type: "media_type";
114
+ server_id: "server_id";
115
115
  }>, z.ZodEnum<{
116
+ audio_channels_after: "audio_channels_after";
117
+ dynamic_range_after: "dynamic_range_after";
118
+ file_size_after: "file_size_after";
116
119
  library_item_type: "library_item_type";
117
120
  library_name: "library_name";
118
121
  resolution_after: "resolution_after";
119
- dynamic_range_after: "dynamic_range_after";
120
122
  video_codec_after: "video_codec_after";
121
- audio_channels_after: "audio_channels_after";
122
- file_size_after: "file_size_after";
123
123
  }>]>;
124
124
  export declare const videoResolutionSchema: z.ZodEnum<{
125
- "4K": "4K";
126
125
  "1080p": "1080p";
127
- "720p": "720p";
128
126
  "480p": "480p";
127
+ "4K": "4K";
128
+ "720p": "720p";
129
129
  SD: "SD";
130
130
  unknown: "unknown";
131
131
  }>;
132
132
  export declare const deviceTypeSchema: z.ZodEnum<{
133
- unknown: "unknown";
133
+ browser: "browser";
134
+ desktop: "desktop";
134
135
  mobile: "mobile";
135
136
  tablet: "tablet";
136
137
  tv: "tv";
137
- desktop: "desktop";
138
- browser: "browser";
138
+ unknown: "unknown";
139
139
  }>;
140
140
  export declare const platformSchema: z.ZodEnum<{
141
- unknown: "unknown";
142
- ios: "ios";
143
141
  android: "android";
144
- windows: "windows";
145
- macos: "macos";
146
- linux: "linux";
147
- tvos: "tvos";
148
142
  androidtv: "androidtv";
143
+ ios: "ios";
144
+ linux: "linux";
145
+ macos: "macos";
149
146
  roku: "roku";
150
- webos: "webos";
151
147
  tizen: "tizen";
148
+ tvos: "tvos";
149
+ unknown: "unknown";
150
+ webos: "webos";
151
+ windows: "windows";
152
152
  }>;
153
153
  export declare const mediaTypeEnumSchema: z.ZodEnum<{
154
- movie: "movie";
155
154
  episode: "episode";
156
- track: "track";
157
- photo: "photo";
158
155
  live: "live";
156
+ movie: "movie";
157
+ photo: "photo";
158
+ track: "track";
159
159
  trailer: "trailer";
160
160
  }>;
161
161
  /** library_items.media_type, which is a wider vocabulary than a session's mediaType. */
162
162
  export declare const libraryItemTypeSchema: z.ZodEnum<{
163
- movie: "movie";
163
+ album: "album";
164
+ artist: "artist";
164
165
  episode: "episode";
165
- track: "track";
166
+ movie: "movie";
166
167
  photo: "photo";
167
- show: "show";
168
168
  season: "season";
169
- artist: "artist";
170
- album: "album";
169
+ show: "show";
170
+ track: "track";
171
171
  }>;
172
172
  export declare const conditionValueSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>;
173
173
  export declare const nodeFieldsShape: {
@@ -175,52 +175,54 @@ export declare const nodeFieldsShape: {
175
175
  enabled: z.ZodOptional<z.ZodBoolean>;
176
176
  };
177
177
  export declare const conditionSchema: z.ZodObject<{
178
+ id: z.ZodOptional<z.ZodUUID>;
179
+ enabled: z.ZodOptional<z.ZodBoolean>;
178
180
  field: z.ZodUnion<readonly [z.ZodEnum<{
179
- concurrent_streams: "concurrent_streams";
180
181
  active_session_distance_km: "active_session_distance_km";
181
- travel_speed_kmh: "travel_speed_kmh";
182
- unique_ips_in_window: "unique_ips_in_window";
183
- unique_devices_in_window: "unique_devices_in_window";
184
- inactive_days: "inactive_days";
182
+ concurrent_streams: "concurrent_streams";
185
183
  current_pause_minutes: "current_pause_minutes";
184
+ inactive_days: "inactive_days";
186
185
  total_pause_minutes: "total_pause_minutes";
186
+ travel_speed_kmh: "travel_speed_kmh";
187
+ unique_devices_in_window: "unique_devices_in_window";
188
+ unique_ips_in_window: "unique_ips_in_window";
187
189
  }>, z.ZodEnum<{
188
- source_resolution: "source_resolution";
189
- output_resolution: "output_resolution";
190
- is_transcoding: "is_transcoding";
191
190
  is_transcode_downgrade: "is_transcode_downgrade";
191
+ is_transcoding: "is_transcoding";
192
+ output_resolution: "output_resolution";
192
193
  source_bitrate_mbps: "source_bitrate_mbps";
194
+ source_resolution: "source_resolution";
193
195
  }>, z.ZodEnum<{
194
- user_id: "user_id";
195
- trust_score: "trust_score";
196
196
  account_age_days: "account_age_days";
197
+ trust_score: "trust_score";
198
+ user_id: "user_id";
197
199
  }>, z.ZodEnum<{
198
- device_type: "device_type";
199
200
  client_name: "client_name";
201
+ device_type: "device_type";
200
202
  platform: "platform";
201
203
  }>, z.ZodEnum<{
202
- is_local_network: "is_local_network";
203
204
  country: "country";
204
205
  ip_in_range: "ip_in_range";
206
+ is_local_network: "is_local_network";
205
207
  }>, z.ZodEnum<{
206
- server_id: "server_id";
207
208
  media_type: "media_type";
209
+ server_id: "server_id";
208
210
  }>, z.ZodEnum<{
211
+ audio_channels_after: "audio_channels_after";
212
+ dynamic_range_after: "dynamic_range_after";
213
+ file_size_after: "file_size_after";
209
214
  library_item_type: "library_item_type";
210
215
  library_name: "library_name";
211
216
  resolution_after: "resolution_after";
212
- dynamic_range_after: "dynamic_range_after";
213
217
  video_codec_after: "video_codec_after";
214
- audio_channels_after: "audio_channels_after";
215
- file_size_after: "file_size_after";
216
218
  }>]>;
217
219
  operator: z.ZodUnion<readonly [z.ZodEnum<{
218
220
  eq: "eq";
219
- neq: "neq";
220
221
  gt: "gt";
221
222
  gte: "gte";
222
223
  lt: "lt";
223
224
  lte: "lte";
225
+ neq: "neq";
224
226
  }>, z.ZodEnum<{
225
227
  in: "in";
226
228
  not_in: "not_in";
@@ -234,69 +236,71 @@ export declare const conditionSchema: z.ZodObject<{
234
236
  exclude_same_device: z.ZodOptional<z.ZodBoolean>;
235
237
  exclude_same_ip: z.ZodOptional<z.ZodBoolean>;
236
238
  count_device_types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
237
- unknown: "unknown";
239
+ browser: "browser";
240
+ desktop: "desktop";
238
241
  mobile: "mobile";
239
242
  tablet: "tablet";
240
243
  tv: "tv";
241
- desktop: "desktop";
242
- browser: "browser";
244
+ unknown: "unknown";
243
245
  }>>>;
244
246
  }, z.core.$strip>>;
245
- id: z.ZodOptional<z.ZodUUID>;
246
- enabled: z.ZodOptional<z.ZodBoolean>;
247
247
  }, z.core.$strip>;
248
248
  export declare const conditionGroupSchema: z.ZodObject<{
249
+ id: z.ZodOptional<z.ZodUUID>;
250
+ enabled: z.ZodOptional<z.ZodBoolean>;
249
251
  match: z.ZodOptional<z.ZodEnum<{
250
- any: "any";
251
252
  all: "all";
253
+ any: "any";
252
254
  }>>;
253
255
  conditions: z.ZodArray<z.ZodObject<{
256
+ id: z.ZodOptional<z.ZodUUID>;
257
+ enabled: z.ZodOptional<z.ZodBoolean>;
254
258
  field: z.ZodUnion<readonly [z.ZodEnum<{
255
- concurrent_streams: "concurrent_streams";
256
259
  active_session_distance_km: "active_session_distance_km";
257
- travel_speed_kmh: "travel_speed_kmh";
258
- unique_ips_in_window: "unique_ips_in_window";
259
- unique_devices_in_window: "unique_devices_in_window";
260
- inactive_days: "inactive_days";
260
+ concurrent_streams: "concurrent_streams";
261
261
  current_pause_minutes: "current_pause_minutes";
262
+ inactive_days: "inactive_days";
262
263
  total_pause_minutes: "total_pause_minutes";
264
+ travel_speed_kmh: "travel_speed_kmh";
265
+ unique_devices_in_window: "unique_devices_in_window";
266
+ unique_ips_in_window: "unique_ips_in_window";
263
267
  }>, z.ZodEnum<{
264
- source_resolution: "source_resolution";
265
- output_resolution: "output_resolution";
266
- is_transcoding: "is_transcoding";
267
268
  is_transcode_downgrade: "is_transcode_downgrade";
269
+ is_transcoding: "is_transcoding";
270
+ output_resolution: "output_resolution";
268
271
  source_bitrate_mbps: "source_bitrate_mbps";
272
+ source_resolution: "source_resolution";
269
273
  }>, z.ZodEnum<{
270
- user_id: "user_id";
271
- trust_score: "trust_score";
272
274
  account_age_days: "account_age_days";
275
+ trust_score: "trust_score";
276
+ user_id: "user_id";
273
277
  }>, z.ZodEnum<{
274
- device_type: "device_type";
275
278
  client_name: "client_name";
279
+ device_type: "device_type";
276
280
  platform: "platform";
277
281
  }>, z.ZodEnum<{
278
- is_local_network: "is_local_network";
279
282
  country: "country";
280
283
  ip_in_range: "ip_in_range";
284
+ is_local_network: "is_local_network";
281
285
  }>, z.ZodEnum<{
282
- server_id: "server_id";
283
286
  media_type: "media_type";
287
+ server_id: "server_id";
284
288
  }>, z.ZodEnum<{
289
+ audio_channels_after: "audio_channels_after";
290
+ dynamic_range_after: "dynamic_range_after";
291
+ file_size_after: "file_size_after";
285
292
  library_item_type: "library_item_type";
286
293
  library_name: "library_name";
287
294
  resolution_after: "resolution_after";
288
- dynamic_range_after: "dynamic_range_after";
289
295
  video_codec_after: "video_codec_after";
290
- audio_channels_after: "audio_channels_after";
291
- file_size_after: "file_size_after";
292
296
  }>]>;
293
297
  operator: z.ZodUnion<readonly [z.ZodEnum<{
294
298
  eq: "eq";
295
- neq: "neq";
296
299
  gt: "gt";
297
300
  gte: "gte";
298
301
  lt: "lt";
299
302
  lte: "lte";
303
+ neq: "neq";
300
304
  }>, z.ZodEnum<{
301
305
  in: "in";
302
306
  not_in: "not_in";
@@ -310,73 +314,73 @@ export declare const conditionGroupSchema: z.ZodObject<{
310
314
  exclude_same_device: z.ZodOptional<z.ZodBoolean>;
311
315
  exclude_same_ip: z.ZodOptional<z.ZodBoolean>;
312
316
  count_device_types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
313
- unknown: "unknown";
317
+ browser: "browser";
318
+ desktop: "desktop";
314
319
  mobile: "mobile";
315
320
  tablet: "tablet";
316
321
  tv: "tv";
317
- desktop: "desktop";
318
- browser: "browser";
322
+ unknown: "unknown";
319
323
  }>>>;
320
324
  }, z.core.$strip>>;
321
- id: z.ZodOptional<z.ZodUUID>;
322
- enabled: z.ZodOptional<z.ZodBoolean>;
323
325
  }, z.core.$strip>>;
324
- id: z.ZodOptional<z.ZodUUID>;
325
- enabled: z.ZodOptional<z.ZodBoolean>;
326
326
  }, z.core.$strip>;
327
327
  export declare const automationConditionsSchema: z.ZodObject<{
328
328
  groups: z.ZodArray<z.ZodObject<{
329
+ id: z.ZodOptional<z.ZodUUID>;
330
+ enabled: z.ZodOptional<z.ZodBoolean>;
329
331
  match: z.ZodOptional<z.ZodEnum<{
330
- any: "any";
331
332
  all: "all";
333
+ any: "any";
332
334
  }>>;
333
335
  conditions: z.ZodArray<z.ZodObject<{
336
+ id: z.ZodOptional<z.ZodUUID>;
337
+ enabled: z.ZodOptional<z.ZodBoolean>;
334
338
  field: z.ZodUnion<readonly [z.ZodEnum<{
335
- concurrent_streams: "concurrent_streams";
336
339
  active_session_distance_km: "active_session_distance_km";
337
- travel_speed_kmh: "travel_speed_kmh";
338
- unique_ips_in_window: "unique_ips_in_window";
339
- unique_devices_in_window: "unique_devices_in_window";
340
- inactive_days: "inactive_days";
340
+ concurrent_streams: "concurrent_streams";
341
341
  current_pause_minutes: "current_pause_minutes";
342
+ inactive_days: "inactive_days";
342
343
  total_pause_minutes: "total_pause_minutes";
344
+ travel_speed_kmh: "travel_speed_kmh";
345
+ unique_devices_in_window: "unique_devices_in_window";
346
+ unique_ips_in_window: "unique_ips_in_window";
343
347
  }>, z.ZodEnum<{
344
- source_resolution: "source_resolution";
345
- output_resolution: "output_resolution";
346
- is_transcoding: "is_transcoding";
347
348
  is_transcode_downgrade: "is_transcode_downgrade";
349
+ is_transcoding: "is_transcoding";
350
+ output_resolution: "output_resolution";
348
351
  source_bitrate_mbps: "source_bitrate_mbps";
352
+ source_resolution: "source_resolution";
349
353
  }>, z.ZodEnum<{
350
- user_id: "user_id";
351
- trust_score: "trust_score";
352
354
  account_age_days: "account_age_days";
355
+ trust_score: "trust_score";
356
+ user_id: "user_id";
353
357
  }>, z.ZodEnum<{
354
- device_type: "device_type";
355
358
  client_name: "client_name";
359
+ device_type: "device_type";
356
360
  platform: "platform";
357
361
  }>, z.ZodEnum<{
358
- is_local_network: "is_local_network";
359
362
  country: "country";
360
363
  ip_in_range: "ip_in_range";
364
+ is_local_network: "is_local_network";
361
365
  }>, z.ZodEnum<{
362
- server_id: "server_id";
363
366
  media_type: "media_type";
367
+ server_id: "server_id";
364
368
  }>, z.ZodEnum<{
369
+ audio_channels_after: "audio_channels_after";
370
+ dynamic_range_after: "dynamic_range_after";
371
+ file_size_after: "file_size_after";
365
372
  library_item_type: "library_item_type";
366
373
  library_name: "library_name";
367
374
  resolution_after: "resolution_after";
368
- dynamic_range_after: "dynamic_range_after";
369
375
  video_codec_after: "video_codec_after";
370
- audio_channels_after: "audio_channels_after";
371
- file_size_after: "file_size_after";
372
376
  }>]>;
373
377
  operator: z.ZodUnion<readonly [z.ZodEnum<{
374
378
  eq: "eq";
375
- neq: "neq";
376
379
  gt: "gt";
377
380
  gte: "gte";
378
381
  lt: "lt";
379
382
  lte: "lte";
383
+ neq: "neq";
380
384
  }>, z.ZodEnum<{
381
385
  in: "in";
382
386
  not_in: "not_in";
@@ -390,19 +394,15 @@ export declare const automationConditionsSchema: z.ZodObject<{
390
394
  exclude_same_device: z.ZodOptional<z.ZodBoolean>;
391
395
  exclude_same_ip: z.ZodOptional<z.ZodBoolean>;
392
396
  count_device_types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
393
- unknown: "unknown";
397
+ browser: "browser";
398
+ desktop: "desktop";
394
399
  mobile: "mobile";
395
400
  tablet: "tablet";
396
401
  tv: "tv";
397
- desktop: "desktop";
398
- browser: "browser";
402
+ unknown: "unknown";
399
403
  }>>>;
400
404
  }, z.core.$strip>>;
401
- id: z.ZodOptional<z.ZodUUID>;
402
- enabled: z.ZodOptional<z.ZodBoolean>;
403
405
  }, z.core.$strip>>;
404
- id: z.ZodOptional<z.ZodUUID>;
405
- enabled: z.ZodOptional<z.ZodBoolean>;
406
406
  }, z.core.$strip>>;
407
407
  }, z.core.$strip>;
408
408
  export type ComparisonOperator = z.infer<typeof comparisonOperatorSchema>;
@@ -453,7 +453,7 @@ export interface ConditionFieldDescriptor {
453
453
  identityAware: boolean;
454
454
  }
455
455
  export declare const CONDITION_FIELDS: Record<ConditionField, ConditionFieldDescriptor>;
456
- export declare const IDENTITY_AWARE_CONDITION_FIELDS: ("concurrent_streams" | "active_session_distance_km" | "travel_speed_kmh" | "unique_ips_in_window" | "unique_devices_in_window" | "inactive_days" | "current_pause_minutes" | "total_pause_minutes" | "source_resolution" | "output_resolution" | "is_transcoding" | "is_transcode_downgrade" | "source_bitrate_mbps" | "user_id" | "trust_score" | "account_age_days" | "device_type" | "client_name" | "platform" | "is_local_network" | "country" | "ip_in_range" | "server_id" | "media_type" | "library_item_type" | "library_name" | "resolution_after" | "dynamic_range_after" | "video_codec_after" | "audio_channels_after" | "file_size_after")[];
456
+ export declare const IDENTITY_AWARE_CONDITION_FIELDS: ("account_age_days" | "active_session_distance_km" | "audio_channels_after" | "client_name" | "concurrent_streams" | "country" | "current_pause_minutes" | "device_type" | "dynamic_range_after" | "file_size_after" | "inactive_days" | "ip_in_range" | "is_local_network" | "is_transcode_downgrade" | "is_transcoding" | "library_item_type" | "library_name" | "media_type" | "output_resolution" | "platform" | "resolution_after" | "server_id" | "source_bitrate_mbps" | "source_resolution" | "total_pause_minutes" | "travel_speed_kmh" | "trust_score" | "unique_devices_in_window" | "unique_ips_in_window" | "user_id" | "video_codec_after")[];
457
457
  /** Every field a trigger of this context can supply; a definition with no triggers offers all of them. */
458
458
  export declare function fieldsAvailableFor(context: TriggerContext | null): ConditionField[];
459
459
  //# sourceMappingURL=conditions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"conditions.d.ts","sourceRoot":"","sources":["../../src/automations/conditions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAGrE,eAAO,MAAM,wBAAwB;;;;;;;EAAkD,CAAC;AACxF,eAAO,MAAM,mBAAmB;;;EAA2B,CAAC;AAC5D,eAAO,MAAM,oBAAoB;;;EAAuC,CAAC;AACzE,eAAO,MAAM,cAAc;;;;;;;;;;;;;IAIzB,CAAC;AAGH,eAAO,MAAM,0BAA0B;;;;;;;;;EASrC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;EAMnC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;EAK1C,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;EAAyD,CAAC;AAE/F,eAAO,MAAM,uBAAuB;;;;EAAqD,CAAC;AAE1F,eAAO,MAAM,0BAA0B;;;;EAAyD,CAAC;AAEjG,eAAO,MAAM,gBAAgB;;;EAAsC,CAAC;AAEpE,4EAA4E;AAC5E,eAAO,MAAM,gBAAgB;;;;;;;;EAQ3B,CAAC;AAEH,eAAO,MAAM,oBAAoB;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