@tx5dr/contracts 1.7.0 → 1.7.2

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 (56) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +1 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/schema/__tests__/audio.schema.test.d.ts +2 -0
  6. package/dist/schema/__tests__/audio.schema.test.d.ts.map +1 -0
  7. package/dist/schema/__tests__/audio.schema.test.js +126 -0
  8. package/dist/schema/__tests__/audio.schema.test.js.map +1 -0
  9. package/dist/schema/__tests__/plugin-runtime-log.schema.test.js +13 -1
  10. package/dist/schema/__tests__/plugin-runtime-log.schema.test.js.map +1 -1
  11. package/dist/schema/api-response.schema.d.ts +30 -30
  12. package/dist/schema/audio.schema.d.ts +1292 -0
  13. package/dist/schema/audio.schema.d.ts.map +1 -1
  14. package/dist/schema/audio.schema.js +33 -0
  15. package/dist/schema/audio.schema.js.map +1 -1
  16. package/dist/schema/cpu-profile.schema.d.ts +4 -4
  17. package/dist/schema/ft8.schema.d.ts +4 -4
  18. package/dist/schema/logbook.schema.d.ts +22 -0
  19. package/dist/schema/logbook.schema.d.ts.map +1 -1
  20. package/dist/schema/logbook.schema.js +8 -0
  21. package/dist/schema/logbook.schema.js.map +1 -1
  22. package/dist/schema/plugin.schema.d.ts +99 -22
  23. package/dist/schema/plugin.schema.d.ts.map +1 -1
  24. package/dist/schema/plugin.schema.js +5 -1
  25. package/dist/schema/plugin.schema.js.map +1 -1
  26. package/dist/schema/qso.schema.d.ts +2 -2
  27. package/dist/schema/radio-power.schema.d.ts +6 -6
  28. package/dist/schema/radio-profile.schema.d.ts +280 -108
  29. package/dist/schema/radio-profile.schema.d.ts.map +1 -1
  30. package/dist/schema/radio.schema.d.ts +18 -18
  31. package/dist/schema/realtime.schema.d.ts +22 -22
  32. package/dist/schema/slot-info.schema.d.ts +18 -18
  33. package/dist/schema/spectrum.schema.d.ts +6 -6
  34. package/dist/schema/system.schema.d.ts +11 -0
  35. package/dist/schema/system.schema.d.ts.map +1 -1
  36. package/dist/schema/system.schema.js +4 -0
  37. package/dist/schema/system.schema.js.map +1 -1
  38. package/dist/schema/transmission.schema.d.ts +8 -8
  39. package/dist/schema/update.schema.d.ts +62 -0
  40. package/dist/schema/update.schema.d.ts.map +1 -0
  41. package/dist/schema/update.schema.js +28 -0
  42. package/dist/schema/update.schema.js.map +1 -0
  43. package/dist/schema/websocket.schema.d.ts +468 -148
  44. package/dist/schema/websocket.schema.d.ts.map +1 -1
  45. package/dist/schema/websocket.schema.js +38 -0
  46. package/dist/schema/websocket.schema.js.map +1 -1
  47. package/package.json +1 -1
  48. package/src/index.ts +1 -0
  49. package/src/schema/__tests__/audio.schema.test.ts +142 -0
  50. package/src/schema/__tests__/plugin-runtime-log.schema.test.ts +13 -1
  51. package/src/schema/audio.schema.ts +44 -1
  52. package/src/schema/logbook.schema.ts +8 -0
  53. package/src/schema/plugin.schema.ts +7 -1
  54. package/src/schema/system.schema.ts +6 -0
  55. package/src/schema/update.schema.ts +33 -0
  56. package/src/schema/websocket.schema.ts +52 -0
@@ -68,6 +68,9 @@ export declare enum WSMessageType {
68
68
  PTT_STATUS_CHANGED = "pttStatusChanged",
69
69
  FORCE_STOP_TRANSMISSION = "forceStopTransmission",
70
70
  REMOVE_OPERATOR_FROM_TRANSMISSION = "removeOperatorFromTransmission",
71
+ START_TUNE_TONE = "startTuneTone",
72
+ STOP_TUNE_TONE = "stopTuneTone",
73
+ TUNE_TONE_STATUS_CHANGED = "tuneToneStatusChanged",
71
74
  METER_DATA = "meterData",
72
75
  SQUELCH_STATUS_CHANGED = "squelchStatusChanged",
73
76
  TEXT_MESSAGE = "textMessage",
@@ -369,6 +372,37 @@ export declare const PTTStatusSchema: z.ZodObject<{
369
372
  operatorIds: string[];
370
373
  isTransmitting: boolean;
371
374
  }>;
375
+ export declare const TuneToneStartPayloadSchema: z.ZodObject<{
376
+ operatorId: z.ZodOptional<z.ZodString>;
377
+ toneHz: z.ZodOptional<z.ZodNumber>;
378
+ }, "strip", z.ZodTypeAny, {
379
+ operatorId?: string | undefined;
380
+ toneHz?: number | undefined;
381
+ }, {
382
+ operatorId?: string | undefined;
383
+ toneHz?: number | undefined;
384
+ }>;
385
+ export type TuneToneStartPayload = z.infer<typeof TuneToneStartPayloadSchema>;
386
+ export declare const TuneToneStatusSchema: z.ZodObject<{
387
+ active: z.ZodBoolean;
388
+ toneHz: z.ZodNullable<z.ZodNumber>;
389
+ startedAt: z.ZodNullable<z.ZodNumber>;
390
+ maxDurationMs: z.ZodNumber;
391
+ error: z.ZodOptional<z.ZodString>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ active: boolean;
394
+ toneHz: number | null;
395
+ startedAt: number | null;
396
+ maxDurationMs: number;
397
+ error?: string | undefined;
398
+ }, {
399
+ active: boolean;
400
+ toneHz: number | null;
401
+ startedAt: number | null;
402
+ maxDurationMs: number;
403
+ error?: string | undefined;
404
+ }>;
405
+ export type TuneToneStatus = z.infer<typeof TuneToneStatusSchema>;
372
406
  export declare const SquelchStatusSchema: z.ZodObject<{
373
407
  supported: z.ZodBoolean;
374
408
  open: z.ZodNullable<z.ZodBoolean>;
@@ -969,7 +1003,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
969
1003
  grid?: string | undefined;
970
1004
  dxccId?: number | undefined;
971
1005
  dxccEntity?: string | undefined;
972
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
1006
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
973
1007
  isNewCallsign?: boolean | undefined;
974
1008
  isNewDxccEntity?: boolean | undefined;
975
1009
  isNewBandDxccEntity?: boolean | undefined;
@@ -983,7 +1017,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
983
1017
  grid?: string | undefined;
984
1018
  dxccId?: number | undefined;
985
1019
  dxccEntity?: string | undefined;
986
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
1020
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
987
1021
  isNewCallsign?: boolean | undefined;
988
1022
  isNewDxccEntity?: boolean | undefined;
989
1023
  isNewBandDxccEntity?: boolean | undefined;
@@ -1006,7 +1040,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
1006
1040
  grid?: string | undefined;
1007
1041
  dxccId?: number | undefined;
1008
1042
  dxccEntity?: string | undefined;
1009
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
1043
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
1010
1044
  isNewCallsign?: boolean | undefined;
1011
1045
  isNewDxccEntity?: boolean | undefined;
1012
1046
  isNewBandDxccEntity?: boolean | undefined;
@@ -1028,7 +1062,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
1028
1062
  grid?: string | undefined;
1029
1063
  dxccId?: number | undefined;
1030
1064
  dxccEntity?: string | undefined;
1031
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
1065
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
1032
1066
  isNewCallsign?: boolean | undefined;
1033
1067
  isNewDxccEntity?: boolean | undefined;
1034
1068
  isNewBandDxccEntity?: boolean | undefined;
@@ -1092,7 +1126,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
1092
1126
  grid?: string | undefined;
1093
1127
  dxccId?: number | undefined;
1094
1128
  dxccEntity?: string | undefined;
1095
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
1129
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
1096
1130
  isNewCallsign?: boolean | undefined;
1097
1131
  isNewDxccEntity?: boolean | undefined;
1098
1132
  isNewBandDxccEntity?: boolean | undefined;
@@ -1133,7 +1167,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
1133
1167
  grid?: string | undefined;
1134
1168
  dxccId?: number | undefined;
1135
1169
  dxccEntity?: string | undefined;
1136
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
1170
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
1137
1171
  isNewCallsign?: boolean | undefined;
1138
1172
  isNewDxccEntity?: boolean | undefined;
1139
1173
  isNewBandDxccEntity?: boolean | undefined;
@@ -1178,7 +1212,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
1178
1212
  grid?: string | undefined;
1179
1213
  dxccId?: number | undefined;
1180
1214
  dxccEntity?: string | undefined;
1181
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
1215
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
1182
1216
  isNewCallsign?: boolean | undefined;
1183
1217
  isNewDxccEntity?: boolean | undefined;
1184
1218
  isNewBandDxccEntity?: boolean | undefined;
@@ -1224,7 +1258,7 @@ export declare const WSSlotPackUpdatedMessageSchema: z.ZodObject<{
1224
1258
  grid?: string | undefined;
1225
1259
  dxccId?: number | undefined;
1226
1260
  dxccEntity?: string | undefined;
1227
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
1261
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
1228
1262
  isNewCallsign?: boolean | undefined;
1229
1263
  isNewDxccEntity?: boolean | undefined;
1230
1264
  isNewBandDxccEntity?: boolean | undefined;
@@ -1278,8 +1312,8 @@ export declare const WSSpectrumCapabilitiesMessageSchema: z.ZodObject<{
1278
1312
  defaultSelected: boolean;
1279
1313
  supportsWaterfall: boolean;
1280
1314
  frequencyRangeMode: "baseband" | "absolute";
1281
- sourceBinCount?: number | null | undefined;
1282
1315
  reason?: string | undefined;
1316
+ sourceBinCount?: number | null | undefined;
1283
1317
  }, {
1284
1318
  displayBinCount: number;
1285
1319
  kind: "audio" | "radio-sdr" | "openwebrx-sdr";
@@ -1288,8 +1322,8 @@ export declare const WSSpectrumCapabilitiesMessageSchema: z.ZodObject<{
1288
1322
  defaultSelected: boolean;
1289
1323
  supportsWaterfall: boolean;
1290
1324
  frequencyRangeMode: "baseband" | "absolute";
1291
- sourceBinCount?: number | null | undefined;
1292
1325
  reason?: string | undefined;
1326
+ sourceBinCount?: number | null | undefined;
1293
1327
  }>, "many">;
1294
1328
  }, "strip", z.ZodTypeAny, {
1295
1329
  profileId: string | null;
@@ -1302,8 +1336,8 @@ export declare const WSSpectrumCapabilitiesMessageSchema: z.ZodObject<{
1302
1336
  defaultSelected: boolean;
1303
1337
  supportsWaterfall: boolean;
1304
1338
  frequencyRangeMode: "baseband" | "absolute";
1305
- sourceBinCount?: number | null | undefined;
1306
1339
  reason?: string | undefined;
1340
+ sourceBinCount?: number | null | undefined;
1307
1341
  }[];
1308
1342
  }, {
1309
1343
  profileId: string | null;
@@ -1316,8 +1350,8 @@ export declare const WSSpectrumCapabilitiesMessageSchema: z.ZodObject<{
1316
1350
  defaultSelected: boolean;
1317
1351
  supportsWaterfall: boolean;
1318
1352
  frequencyRangeMode: "baseband" | "absolute";
1319
- sourceBinCount?: number | null | undefined;
1320
1353
  reason?: string | undefined;
1354
+ sourceBinCount?: number | null | undefined;
1321
1355
  }[];
1322
1356
  }>;
1323
1357
  }, "strip", z.ZodTypeAny, {
@@ -1334,8 +1368,8 @@ export declare const WSSpectrumCapabilitiesMessageSchema: z.ZodObject<{
1334
1368
  defaultSelected: boolean;
1335
1369
  supportsWaterfall: boolean;
1336
1370
  frequencyRangeMode: "baseband" | "absolute";
1337
- sourceBinCount?: number | null | undefined;
1338
1371
  reason?: string | undefined;
1372
+ sourceBinCount?: number | null | undefined;
1339
1373
  }[];
1340
1374
  };
1341
1375
  id?: string | undefined;
@@ -1353,8 +1387,8 @@ export declare const WSSpectrumCapabilitiesMessageSchema: z.ZodObject<{
1353
1387
  defaultSelected: boolean;
1354
1388
  supportsWaterfall: boolean;
1355
1389
  frequencyRangeMode: "baseband" | "absolute";
1356
- sourceBinCount?: number | null | undefined;
1357
1390
  reason?: string | undefined;
1391
+ sourceBinCount?: number | null | undefined;
1358
1392
  }[];
1359
1393
  };
1360
1394
  id?: string | undefined;
@@ -4360,7 +4394,7 @@ export declare const WSQSORecordAddedMessageSchema: z.ZodObject<{
4360
4394
  qth?: string | undefined;
4361
4395
  dxccId?: number | undefined;
4362
4396
  dxccEntity?: string | undefined;
4363
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
4397
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
4364
4398
  countryCode?: string | undefined;
4365
4399
  cqZone?: number | undefined;
4366
4400
  ituZone?: number | undefined;
@@ -4403,7 +4437,7 @@ export declare const WSQSORecordAddedMessageSchema: z.ZodObject<{
4403
4437
  qth?: string | undefined;
4404
4438
  dxccId?: number | undefined;
4405
4439
  dxccEntity?: string | undefined;
4406
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
4440
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
4407
4441
  countryCode?: string | undefined;
4408
4442
  cqZone?: number | undefined;
4409
4443
  ituZone?: number | undefined;
@@ -4450,7 +4484,7 @@ export declare const WSQSORecordAddedMessageSchema: z.ZodObject<{
4450
4484
  qth?: string | undefined;
4451
4485
  dxccId?: number | undefined;
4452
4486
  dxccEntity?: string | undefined;
4453
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
4487
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
4454
4488
  countryCode?: string | undefined;
4455
4489
  cqZone?: number | undefined;
4456
4490
  ituZone?: number | undefined;
@@ -4497,7 +4531,7 @@ export declare const WSQSORecordAddedMessageSchema: z.ZodObject<{
4497
4531
  qth?: string | undefined;
4498
4532
  dxccId?: number | undefined;
4499
4533
  dxccEntity?: string | undefined;
4500
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
4534
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
4501
4535
  countryCode?: string | undefined;
4502
4536
  cqZone?: number | undefined;
4503
4537
  ituZone?: number | undefined;
@@ -4548,7 +4582,7 @@ export declare const WSQSORecordAddedMessageSchema: z.ZodObject<{
4548
4582
  qth?: string | undefined;
4549
4583
  dxccId?: number | undefined;
4550
4584
  dxccEntity?: string | undefined;
4551
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
4585
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
4552
4586
  countryCode?: string | undefined;
4553
4587
  cqZone?: number | undefined;
4554
4588
  ituZone?: number | undefined;
@@ -4600,7 +4634,7 @@ export declare const WSQSORecordAddedMessageSchema: z.ZodObject<{
4600
4634
  qth?: string | undefined;
4601
4635
  dxccId?: number | undefined;
4602
4636
  dxccEntity?: string | undefined;
4603
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
4637
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
4604
4638
  countryCode?: string | undefined;
4605
4639
  cqZone?: number | undefined;
4606
4640
  ituZone?: number | undefined;
@@ -4702,7 +4736,7 @@ export declare const WSQSORecordUpdatedMessageSchema: z.ZodObject<{
4702
4736
  qth?: string | undefined;
4703
4737
  dxccId?: number | undefined;
4704
4738
  dxccEntity?: string | undefined;
4705
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
4739
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
4706
4740
  countryCode?: string | undefined;
4707
4741
  cqZone?: number | undefined;
4708
4742
  ituZone?: number | undefined;
@@ -4745,7 +4779,7 @@ export declare const WSQSORecordUpdatedMessageSchema: z.ZodObject<{
4745
4779
  qth?: string | undefined;
4746
4780
  dxccId?: number | undefined;
4747
4781
  dxccEntity?: string | undefined;
4748
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
4782
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
4749
4783
  countryCode?: string | undefined;
4750
4784
  cqZone?: number | undefined;
4751
4785
  ituZone?: number | undefined;
@@ -4792,7 +4826,7 @@ export declare const WSQSORecordUpdatedMessageSchema: z.ZodObject<{
4792
4826
  qth?: string | undefined;
4793
4827
  dxccId?: number | undefined;
4794
4828
  dxccEntity?: string | undefined;
4795
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
4829
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
4796
4830
  countryCode?: string | undefined;
4797
4831
  cqZone?: number | undefined;
4798
4832
  ituZone?: number | undefined;
@@ -4839,7 +4873,7 @@ export declare const WSQSORecordUpdatedMessageSchema: z.ZodObject<{
4839
4873
  qth?: string | undefined;
4840
4874
  dxccId?: number | undefined;
4841
4875
  dxccEntity?: string | undefined;
4842
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
4876
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
4843
4877
  countryCode?: string | undefined;
4844
4878
  cqZone?: number | undefined;
4845
4879
  ituZone?: number | undefined;
@@ -4890,7 +4924,7 @@ export declare const WSQSORecordUpdatedMessageSchema: z.ZodObject<{
4890
4924
  qth?: string | undefined;
4891
4925
  dxccId?: number | undefined;
4892
4926
  dxccEntity?: string | undefined;
4893
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
4927
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
4894
4928
  countryCode?: string | undefined;
4895
4929
  cqZone?: number | undefined;
4896
4930
  ituZone?: number | undefined;
@@ -4942,7 +4976,7 @@ export declare const WSQSORecordUpdatedMessageSchema: z.ZodObject<{
4942
4976
  qth?: string | undefined;
4943
4977
  dxccId?: number | undefined;
4944
4978
  dxccEntity?: string | undefined;
4945
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
4979
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
4946
4980
  countryCode?: string | undefined;
4947
4981
  cqZone?: number | undefined;
4948
4982
  ituZone?: number | undefined;
@@ -5439,9 +5473,6 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
5439
5473
  pttPort: z.ZodOptional<z.ZodString>;
5440
5474
  }, "strip", z.ZodTypeAny, {
5441
5475
  type: "none" | "network" | "serial" | "icom-wlan";
5442
- spectrum?: {
5443
- speed?: number | undefined;
5444
- } | undefined;
5445
5476
  network?: {
5446
5477
  host: string;
5447
5478
  port: number;
@@ -5464,6 +5495,9 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
5464
5495
  } | undefined;
5465
5496
  backendConfig?: Record<string, string> | undefined;
5466
5497
  } | undefined;
5498
+ spectrum?: {
5499
+ speed?: number | undefined;
5500
+ } | undefined;
5467
5501
  icomWlan?: {
5468
5502
  ip: string;
5469
5503
  port: number;
@@ -5476,9 +5510,6 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
5476
5510
  pttPort?: string | undefined;
5477
5511
  }, {
5478
5512
  type: "none" | "network" | "serial" | "icom-wlan";
5479
- spectrum?: {
5480
- speed?: number | undefined;
5481
- } | undefined;
5482
5513
  network?: {
5483
5514
  host: string;
5484
5515
  port: number;
@@ -5501,6 +5532,9 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
5501
5532
  } | undefined;
5502
5533
  backendConfig?: Record<string, string> | undefined;
5503
5534
  } | undefined;
5535
+ spectrum?: {
5536
+ speed?: number | undefined;
5537
+ } | undefined;
5504
5538
  icomWlan?: {
5505
5539
  ip: string;
5506
5540
  port: number;
@@ -5715,9 +5749,6 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
5715
5749
  reason?: string | undefined;
5716
5750
  radioConfig?: {
5717
5751
  type: "none" | "network" | "serial" | "icom-wlan";
5718
- spectrum?: {
5719
- speed?: number | undefined;
5720
- } | undefined;
5721
5752
  network?: {
5722
5753
  host: string;
5723
5754
  port: number;
@@ -5740,6 +5771,9 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
5740
5771
  } | undefined;
5741
5772
  backendConfig?: Record<string, string> | undefined;
5742
5773
  } | undefined;
5774
+ spectrum?: {
5775
+ speed?: number | undefined;
5776
+ } | undefined;
5743
5777
  icomWlan?: {
5744
5778
  ip: string;
5745
5779
  port: number;
@@ -5819,9 +5853,6 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
5819
5853
  reason?: string | undefined;
5820
5854
  radioConfig?: {
5821
5855
  type: "none" | "network" | "serial" | "icom-wlan";
5822
- spectrum?: {
5823
- speed?: number | undefined;
5824
- } | undefined;
5825
5856
  network?: {
5826
5857
  host: string;
5827
5858
  port: number;
@@ -5844,6 +5875,9 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
5844
5875
  } | undefined;
5845
5876
  backendConfig?: Record<string, string> | undefined;
5846
5877
  } | undefined;
5878
+ spectrum?: {
5879
+ speed?: number | undefined;
5880
+ } | undefined;
5847
5881
  icomWlan?: {
5848
5882
  ip: string;
5849
5883
  port: number;
@@ -5927,9 +5961,6 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
5927
5961
  reason?: string | undefined;
5928
5962
  radioConfig?: {
5929
5963
  type: "none" | "network" | "serial" | "icom-wlan";
5930
- spectrum?: {
5931
- speed?: number | undefined;
5932
- } | undefined;
5933
5964
  network?: {
5934
5965
  host: string;
5935
5966
  port: number;
@@ -5952,6 +5983,9 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
5952
5983
  } | undefined;
5953
5984
  backendConfig?: Record<string, string> | undefined;
5954
5985
  } | undefined;
5986
+ spectrum?: {
5987
+ speed?: number | undefined;
5988
+ } | undefined;
5955
5989
  icomWlan?: {
5956
5990
  ip: string;
5957
5991
  port: number;
@@ -6036,9 +6070,6 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
6036
6070
  reason?: string | undefined;
6037
6071
  radioConfig?: {
6038
6072
  type: "none" | "network" | "serial" | "icom-wlan";
6039
- spectrum?: {
6040
- speed?: number | undefined;
6041
- } | undefined;
6042
6073
  network?: {
6043
6074
  host: string;
6044
6075
  port: number;
@@ -6061,6 +6092,9 @@ export declare const WSRadioStatusChangedMessageSchema: z.ZodObject<{
6061
6092
  } | undefined;
6062
6093
  backendConfig?: Record<string, string> | undefined;
6063
6094
  } | undefined;
6095
+ spectrum?: {
6096
+ speed?: number | undefined;
6097
+ } | undefined;
6064
6098
  icomWlan?: {
6065
6099
  ip: string;
6066
6100
  port: number;
@@ -7100,6 +7134,114 @@ export declare const WSRemoveOperatorFromTransmissionMessageSchema: z.ZodObject<
7100
7134
  id?: string | undefined;
7101
7135
  }>;
7102
7136
  export type WSRemoveOperatorFromTransmissionMessage = z.infer<typeof WSRemoveOperatorFromTransmissionMessageSchema>;
7137
+ /**
7138
+ * 启动外接天调单音调谐(客户端到服务端)
7139
+ */
7140
+ export declare const WSStartTuneToneMessageSchema: z.ZodObject<{
7141
+ timestamp: z.ZodString;
7142
+ id: z.ZodOptional<z.ZodString>;
7143
+ } & {
7144
+ type: z.ZodLiteral<WSMessageType.START_TUNE_TONE>;
7145
+ data: z.ZodOptional<z.ZodObject<{
7146
+ operatorId: z.ZodOptional<z.ZodString>;
7147
+ toneHz: z.ZodOptional<z.ZodNumber>;
7148
+ }, "strip", z.ZodTypeAny, {
7149
+ operatorId?: string | undefined;
7150
+ toneHz?: number | undefined;
7151
+ }, {
7152
+ operatorId?: string | undefined;
7153
+ toneHz?: number | undefined;
7154
+ }>>;
7155
+ }, "strip", z.ZodTypeAny, {
7156
+ type: WSMessageType.START_TUNE_TONE;
7157
+ timestamp: string;
7158
+ id?: string | undefined;
7159
+ data?: {
7160
+ operatorId?: string | undefined;
7161
+ toneHz?: number | undefined;
7162
+ } | undefined;
7163
+ }, {
7164
+ type: WSMessageType.START_TUNE_TONE;
7165
+ timestamp: string;
7166
+ id?: string | undefined;
7167
+ data?: {
7168
+ operatorId?: string | undefined;
7169
+ toneHz?: number | undefined;
7170
+ } | undefined;
7171
+ }>;
7172
+ export type WSStartTuneToneMessage = z.infer<typeof WSStartTuneToneMessageSchema>;
7173
+ /**
7174
+ * 停止外接天调单音调谐(客户端到服务端)
7175
+ */
7176
+ export declare const WSStopTuneToneMessageSchema: z.ZodObject<{
7177
+ timestamp: z.ZodString;
7178
+ id: z.ZodOptional<z.ZodString>;
7179
+ } & {
7180
+ type: z.ZodLiteral<WSMessageType.STOP_TUNE_TONE>;
7181
+ data: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
7182
+ }, "strip", z.ZodTypeAny, {
7183
+ type: WSMessageType.STOP_TUNE_TONE;
7184
+ timestamp: string;
7185
+ id?: string | undefined;
7186
+ data?: {} | undefined;
7187
+ }, {
7188
+ type: WSMessageType.STOP_TUNE_TONE;
7189
+ timestamp: string;
7190
+ id?: string | undefined;
7191
+ data?: {} | undefined;
7192
+ }>;
7193
+ export type WSStopTuneToneMessage = z.infer<typeof WSStopTuneToneMessageSchema>;
7194
+ /**
7195
+ * 外接天调单音调谐状态(服务端到客户端)
7196
+ */
7197
+ export declare const WSTuneToneStatusChangedMessageSchema: z.ZodObject<{
7198
+ timestamp: z.ZodString;
7199
+ id: z.ZodOptional<z.ZodString>;
7200
+ } & {
7201
+ type: z.ZodLiteral<WSMessageType.TUNE_TONE_STATUS_CHANGED>;
7202
+ data: z.ZodObject<{
7203
+ active: z.ZodBoolean;
7204
+ toneHz: z.ZodNullable<z.ZodNumber>;
7205
+ startedAt: z.ZodNullable<z.ZodNumber>;
7206
+ maxDurationMs: z.ZodNumber;
7207
+ error: z.ZodOptional<z.ZodString>;
7208
+ }, "strip", z.ZodTypeAny, {
7209
+ active: boolean;
7210
+ toneHz: number | null;
7211
+ startedAt: number | null;
7212
+ maxDurationMs: number;
7213
+ error?: string | undefined;
7214
+ }, {
7215
+ active: boolean;
7216
+ toneHz: number | null;
7217
+ startedAt: number | null;
7218
+ maxDurationMs: number;
7219
+ error?: string | undefined;
7220
+ }>;
7221
+ }, "strip", z.ZodTypeAny, {
7222
+ type: WSMessageType.TUNE_TONE_STATUS_CHANGED;
7223
+ timestamp: string;
7224
+ data: {
7225
+ active: boolean;
7226
+ toneHz: number | null;
7227
+ startedAt: number | null;
7228
+ maxDurationMs: number;
7229
+ error?: string | undefined;
7230
+ };
7231
+ id?: string | undefined;
7232
+ }, {
7233
+ type: WSMessageType.TUNE_TONE_STATUS_CHANGED;
7234
+ timestamp: string;
7235
+ data: {
7236
+ active: boolean;
7237
+ toneHz: number | null;
7238
+ startedAt: number | null;
7239
+ maxDurationMs: number;
7240
+ error?: string | undefined;
7241
+ };
7242
+ id?: string | undefined;
7243
+ }>;
7244
+ export type WSTuneToneStatusChangedMessage = z.infer<typeof WSTuneToneStatusChangedMessageSchema>;
7103
7245
  /**
7104
7246
  * 电台数值表数据消息(服务端到客户端)
7105
7247
  */
@@ -7372,14 +7514,14 @@ export declare const WSTextMessageSchema: z.ZodObject<{
7372
7514
  params?: Record<string, string> | undefined;
7373
7515
  key?: string | undefined;
7374
7516
  timeout?: number | null | undefined;
7375
- color?: "success" | "default" | "warning" | "danger" | undefined;
7517
+ color?: "default" | "success" | "warning" | "danger" | undefined;
7376
7518
  }, {
7377
7519
  title: string;
7378
7520
  text: string;
7379
7521
  params?: Record<string, string> | undefined;
7380
7522
  key?: string | undefined;
7381
7523
  timeout?: number | null | undefined;
7382
- color?: "success" | "default" | "warning" | "danger" | undefined;
7524
+ color?: "default" | "success" | "warning" | "danger" | undefined;
7383
7525
  }>;
7384
7526
  }, "strip", z.ZodTypeAny, {
7385
7527
  type: WSMessageType.TEXT_MESSAGE;
@@ -7390,7 +7532,7 @@ export declare const WSTextMessageSchema: z.ZodObject<{
7390
7532
  params?: Record<string, string> | undefined;
7391
7533
  key?: string | undefined;
7392
7534
  timeout?: number | null | undefined;
7393
- color?: "success" | "default" | "warning" | "danger" | undefined;
7535
+ color?: "default" | "success" | "warning" | "danger" | undefined;
7394
7536
  };
7395
7537
  id?: string | undefined;
7396
7538
  }, {
@@ -7402,7 +7544,7 @@ export declare const WSTextMessageSchema: z.ZodObject<{
7402
7544
  params?: Record<string, string> | undefined;
7403
7545
  key?: string | undefined;
7404
7546
  timeout?: number | null | undefined;
7405
- color?: "success" | "default" | "warning" | "danger" | undefined;
7547
+ color?: "default" | "success" | "warning" | "danger" | undefined;
7406
7548
  };
7407
7549
  id?: string | undefined;
7408
7550
  }>;
@@ -8128,10 +8270,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
8128
8270
  value: string;
8129
8271
  label: string;
8130
8272
  }[] | undefined;
8273
+ default?: unknown;
8131
8274
  min?: number | undefined;
8132
8275
  max?: number | undefined;
8133
8276
  description?: string | undefined;
8134
- default?: unknown;
8135
8277
  itemFields?: {
8136
8278
  type: "string" | "number" | "boolean";
8137
8279
  label: string;
@@ -8148,10 +8290,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
8148
8290
  value: string;
8149
8291
  label: string;
8150
8292
  }[] | undefined;
8293
+ default?: unknown;
8151
8294
  min?: number | undefined;
8152
8295
  max?: number | undefined;
8153
8296
  description?: string | undefined;
8154
- default?: unknown;
8155
8297
  itemFields?: {
8156
8298
  label: string;
8157
8299
  key: string;
@@ -8326,10 +8468,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
8326
8468
  value: string;
8327
8469
  label: string;
8328
8470
  }[] | undefined;
8471
+ default?: unknown;
8329
8472
  min?: number | undefined;
8330
8473
  max?: number | undefined;
8331
8474
  description?: string | undefined;
8332
- default?: unknown;
8333
8475
  itemFields?: {
8334
8476
  type: "string" | "number" | "boolean";
8335
8477
  label: string;
@@ -8397,10 +8539,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
8397
8539
  value: string;
8398
8540
  label: string;
8399
8541
  }[] | undefined;
8542
+ default?: unknown;
8400
8543
  min?: number | undefined;
8401
8544
  max?: number | undefined;
8402
8545
  description?: string | undefined;
8403
- default?: unknown;
8404
8546
  itemFields?: {
8405
8547
  label: string;
8406
8548
  key: string;
@@ -8599,10 +8741,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
8599
8741
  value: string;
8600
8742
  label: string;
8601
8743
  }[] | undefined;
8744
+ default?: unknown;
8602
8745
  min?: number | undefined;
8603
8746
  max?: number | undefined;
8604
8747
  description?: string | undefined;
8605
- default?: unknown;
8606
8748
  itemFields?: {
8607
8749
  type: "string" | "number" | "boolean";
8608
8750
  label: string;
@@ -8705,10 +8847,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
8705
8847
  value: string;
8706
8848
  label: string;
8707
8849
  }[] | undefined;
8850
+ default?: unknown;
8708
8851
  min?: number | undefined;
8709
8852
  max?: number | undefined;
8710
8853
  description?: string | undefined;
8711
- default?: unknown;
8712
8854
  itemFields?: {
8713
8855
  label: string;
8714
8856
  key: string;
@@ -8821,10 +8963,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
8821
8963
  value: string;
8822
8964
  label: string;
8823
8965
  }[] | undefined;
8966
+ default?: unknown;
8824
8967
  min?: number | undefined;
8825
8968
  max?: number | undefined;
8826
8969
  description?: string | undefined;
8827
- default?: unknown;
8828
8970
  itemFields?: {
8829
8971
  type: "string" | "number" | "boolean";
8830
8972
  label: string;
@@ -8932,10 +9074,10 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
8932
9074
  value: string;
8933
9075
  label: string;
8934
9076
  }[] | undefined;
9077
+ default?: unknown;
8935
9078
  min?: number | undefined;
8936
9079
  max?: number | undefined;
8937
9080
  description?: string | undefined;
8938
- default?: unknown;
8939
9081
  itemFields?: {
8940
9082
  label: string;
8941
9083
  key: string;
@@ -9066,10 +9208,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
9066
9208
  value: string;
9067
9209
  label: string;
9068
9210
  }[] | undefined;
9211
+ default?: unknown;
9069
9212
  min?: number | undefined;
9070
9213
  max?: number | undefined;
9071
9214
  description?: string | undefined;
9072
- default?: unknown;
9073
9215
  itemFields?: {
9074
9216
  type: "string" | "number" | "boolean";
9075
9217
  label: string;
@@ -9086,10 +9228,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
9086
9228
  value: string;
9087
9229
  label: string;
9088
9230
  }[] | undefined;
9231
+ default?: unknown;
9089
9232
  min?: number | undefined;
9090
9233
  max?: number | undefined;
9091
9234
  description?: string | undefined;
9092
- default?: unknown;
9093
9235
  itemFields?: {
9094
9236
  label: string;
9095
9237
  key: string;
@@ -9264,10 +9406,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
9264
9406
  value: string;
9265
9407
  label: string;
9266
9408
  }[] | undefined;
9409
+ default?: unknown;
9267
9410
  min?: number | undefined;
9268
9411
  max?: number | undefined;
9269
9412
  description?: string | undefined;
9270
- default?: unknown;
9271
9413
  itemFields?: {
9272
9414
  type: "string" | "number" | "boolean";
9273
9415
  label: string;
@@ -9335,10 +9477,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
9335
9477
  value: string;
9336
9478
  label: string;
9337
9479
  }[] | undefined;
9480
+ default?: unknown;
9338
9481
  min?: number | undefined;
9339
9482
  max?: number | undefined;
9340
9483
  description?: string | undefined;
9341
- default?: unknown;
9342
9484
  itemFields?: {
9343
9485
  label: string;
9344
9486
  key: string;
@@ -9415,10 +9557,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
9415
9557
  value: string;
9416
9558
  label: string;
9417
9559
  }[] | undefined;
9560
+ default?: unknown;
9418
9561
  min?: number | undefined;
9419
9562
  max?: number | undefined;
9420
9563
  description?: string | undefined;
9421
- default?: unknown;
9422
9564
  itemFields?: {
9423
9565
  type: "string" | "number" | "boolean";
9424
9566
  label: string;
@@ -9489,10 +9631,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
9489
9631
  value: string;
9490
9632
  label: string;
9491
9633
  }[] | undefined;
9634
+ default?: unknown;
9492
9635
  min?: number | undefined;
9493
9636
  max?: number | undefined;
9494
9637
  description?: string | undefined;
9495
- default?: unknown;
9496
9638
  itemFields?: {
9497
9639
  label: string;
9498
9640
  key: string;
@@ -9573,10 +9715,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
9573
9715
  value: string;
9574
9716
  label: string;
9575
9717
  }[] | undefined;
9718
+ default?: unknown;
9576
9719
  min?: number | undefined;
9577
9720
  max?: number | undefined;
9578
9721
  description?: string | undefined;
9579
- default?: unknown;
9580
9722
  itemFields?: {
9581
9723
  type: "string" | "number" | "boolean";
9582
9724
  label: string;
@@ -9652,10 +9794,10 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
9652
9794
  value: string;
9653
9795
  label: string;
9654
9796
  }[] | undefined;
9797
+ default?: unknown;
9655
9798
  min?: number | undefined;
9656
9799
  max?: number | undefined;
9657
9800
  description?: string | undefined;
9658
- default?: unknown;
9659
9801
  itemFields?: {
9660
9802
  label: string;
9661
9803
  key: string;
@@ -9874,7 +10016,7 @@ export declare const WSPluginRuntimeLogHistoryMessageSchema: z.ZodObject<{
9874
10016
  } & {
9875
10017
  type: z.ZodLiteral<WSMessageType.PLUGIN_RUNTIME_LOG_HISTORY>;
9876
10018
  data: z.ZodObject<{
9877
- entries: z.ZodArray<z.ZodObject<{
10019
+ entries: z.ZodArray<z.ZodUnion<[z.ZodObject<{
9878
10020
  source: z.ZodLiteral<"system">;
9879
10021
  stage: z.ZodEnum<["scan", "load", "validate", "reload", "activate"]>;
9880
10022
  level: z.ZodEnum<["debug", "info", "warn", "error"]>;
@@ -9901,9 +10043,33 @@ export declare const WSPluginRuntimeLogHistoryMessageSchema: z.ZodObject<{
9901
10043
  pluginName?: string | undefined;
9902
10044
  directoryName?: string | undefined;
9903
10045
  details?: unknown;
9904
- }>, "many">;
10046
+ }>, z.ZodObject<{
10047
+ pluginName: z.ZodString;
10048
+ level: z.ZodEnum<["debug", "info", "warn", "error"]>;
10049
+ message: z.ZodString;
10050
+ data: z.ZodOptional<z.ZodUnknown>;
10051
+ timestamp: z.ZodNumber;
10052
+ }, "strip", z.ZodTypeAny, {
10053
+ message: string;
10054
+ timestamp: number;
10055
+ pluginName: string;
10056
+ level: "error" | "info" | "debug" | "warn";
10057
+ data?: unknown;
10058
+ }, {
10059
+ message: string;
10060
+ timestamp: number;
10061
+ pluginName: string;
10062
+ level: "error" | "info" | "debug" | "warn";
10063
+ data?: unknown;
10064
+ }>]>, "many">;
9905
10065
  }, "strip", z.ZodTypeAny, {
9906
- entries: {
10066
+ entries: ({
10067
+ message: string;
10068
+ timestamp: number;
10069
+ pluginName: string;
10070
+ level: "error" | "info" | "debug" | "warn";
10071
+ data?: unknown;
10072
+ } | {
9907
10073
  message: string;
9908
10074
  timestamp: number;
9909
10075
  source: "system";
@@ -9912,9 +10078,15 @@ export declare const WSPluginRuntimeLogHistoryMessageSchema: z.ZodObject<{
9912
10078
  pluginName?: string | undefined;
9913
10079
  directoryName?: string | undefined;
9914
10080
  details?: unknown;
9915
- }[];
10081
+ })[];
9916
10082
  }, {
9917
- entries: {
10083
+ entries: ({
10084
+ message: string;
10085
+ timestamp: number;
10086
+ pluginName: string;
10087
+ level: "error" | "info" | "debug" | "warn";
10088
+ data?: unknown;
10089
+ } | {
9918
10090
  message: string;
9919
10091
  timestamp: number;
9920
10092
  source: "system";
@@ -9923,13 +10095,19 @@ export declare const WSPluginRuntimeLogHistoryMessageSchema: z.ZodObject<{
9923
10095
  pluginName?: string | undefined;
9924
10096
  directoryName?: string | undefined;
9925
10097
  details?: unknown;
9926
- }[];
10098
+ })[];
9927
10099
  }>;
9928
10100
  }, "strip", z.ZodTypeAny, {
9929
10101
  type: WSMessageType.PLUGIN_RUNTIME_LOG_HISTORY;
9930
10102
  timestamp: string;
9931
10103
  data: {
9932
- entries: {
10104
+ entries: ({
10105
+ message: string;
10106
+ timestamp: number;
10107
+ pluginName: string;
10108
+ level: "error" | "info" | "debug" | "warn";
10109
+ data?: unknown;
10110
+ } | {
9933
10111
  message: string;
9934
10112
  timestamp: number;
9935
10113
  source: "system";
@@ -9938,14 +10116,20 @@ export declare const WSPluginRuntimeLogHistoryMessageSchema: z.ZodObject<{
9938
10116
  pluginName?: string | undefined;
9939
10117
  directoryName?: string | undefined;
9940
10118
  details?: unknown;
9941
- }[];
10119
+ })[];
9942
10120
  };
9943
10121
  id?: string | undefined;
9944
10122
  }, {
9945
10123
  type: WSMessageType.PLUGIN_RUNTIME_LOG_HISTORY;
9946
10124
  timestamp: string;
9947
10125
  data: {
9948
- entries: {
10126
+ entries: ({
10127
+ message: string;
10128
+ timestamp: number;
10129
+ pluginName: string;
10130
+ level: "error" | "info" | "debug" | "warn";
10131
+ data?: unknown;
10132
+ } | {
9949
10133
  message: string;
9950
10134
  timestamp: number;
9951
10135
  source: "system";
@@ -9954,7 +10138,7 @@ export declare const WSPluginRuntimeLogHistoryMessageSchema: z.ZodObject<{
9954
10138
  pluginName?: string | undefined;
9955
10139
  directoryName?: string | undefined;
9956
10140
  details?: unknown;
9957
- }[];
10141
+ })[];
9958
10142
  };
9959
10143
  id?: string | undefined;
9960
10144
  }>;
@@ -10263,7 +10447,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10263
10447
  grid?: string | undefined;
10264
10448
  dxccId?: number | undefined;
10265
10449
  dxccEntity?: string | undefined;
10266
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
10450
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
10267
10451
  isNewCallsign?: boolean | undefined;
10268
10452
  isNewDxccEntity?: boolean | undefined;
10269
10453
  isNewBandDxccEntity?: boolean | undefined;
@@ -10277,7 +10461,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10277
10461
  grid?: string | undefined;
10278
10462
  dxccId?: number | undefined;
10279
10463
  dxccEntity?: string | undefined;
10280
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
10464
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
10281
10465
  isNewCallsign?: boolean | undefined;
10282
10466
  isNewDxccEntity?: boolean | undefined;
10283
10467
  isNewBandDxccEntity?: boolean | undefined;
@@ -10300,7 +10484,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10300
10484
  grid?: string | undefined;
10301
10485
  dxccId?: number | undefined;
10302
10486
  dxccEntity?: string | undefined;
10303
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
10487
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
10304
10488
  isNewCallsign?: boolean | undefined;
10305
10489
  isNewDxccEntity?: boolean | undefined;
10306
10490
  isNewBandDxccEntity?: boolean | undefined;
@@ -10322,7 +10506,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10322
10506
  grid?: string | undefined;
10323
10507
  dxccId?: number | undefined;
10324
10508
  dxccEntity?: string | undefined;
10325
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
10509
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
10326
10510
  isNewCallsign?: boolean | undefined;
10327
10511
  isNewDxccEntity?: boolean | undefined;
10328
10512
  isNewBandDxccEntity?: boolean | undefined;
@@ -10386,7 +10570,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10386
10570
  grid?: string | undefined;
10387
10571
  dxccId?: number | undefined;
10388
10572
  dxccEntity?: string | undefined;
10389
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
10573
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
10390
10574
  isNewCallsign?: boolean | undefined;
10391
10575
  isNewDxccEntity?: boolean | undefined;
10392
10576
  isNewBandDxccEntity?: boolean | undefined;
@@ -10427,7 +10611,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10427
10611
  grid?: string | undefined;
10428
10612
  dxccId?: number | undefined;
10429
10613
  dxccEntity?: string | undefined;
10430
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
10614
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
10431
10615
  isNewCallsign?: boolean | undefined;
10432
10616
  isNewDxccEntity?: boolean | undefined;
10433
10617
  isNewBandDxccEntity?: boolean | undefined;
@@ -10472,7 +10656,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10472
10656
  grid?: string | undefined;
10473
10657
  dxccId?: number | undefined;
10474
10658
  dxccEntity?: string | undefined;
10475
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
10659
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
10476
10660
  isNewCallsign?: boolean | undefined;
10477
10661
  isNewDxccEntity?: boolean | undefined;
10478
10662
  isNewBandDxccEntity?: boolean | undefined;
@@ -10518,7 +10702,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10518
10702
  grid?: string | undefined;
10519
10703
  dxccId?: number | undefined;
10520
10704
  dxccEntity?: string | undefined;
10521
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
10705
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
10522
10706
  isNewCallsign?: boolean | undefined;
10523
10707
  isNewDxccEntity?: boolean | undefined;
10524
10708
  isNewBandDxccEntity?: boolean | undefined;
@@ -10571,8 +10755,8 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10571
10755
  defaultSelected: boolean;
10572
10756
  supportsWaterfall: boolean;
10573
10757
  frequencyRangeMode: "baseband" | "absolute";
10574
- sourceBinCount?: number | null | undefined;
10575
10758
  reason?: string | undefined;
10759
+ sourceBinCount?: number | null | undefined;
10576
10760
  }, {
10577
10761
  displayBinCount: number;
10578
10762
  kind: "audio" | "radio-sdr" | "openwebrx-sdr";
@@ -10581,8 +10765,8 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10581
10765
  defaultSelected: boolean;
10582
10766
  supportsWaterfall: boolean;
10583
10767
  frequencyRangeMode: "baseband" | "absolute";
10584
- sourceBinCount?: number | null | undefined;
10585
10768
  reason?: string | undefined;
10769
+ sourceBinCount?: number | null | undefined;
10586
10770
  }>, "many">;
10587
10771
  }, "strip", z.ZodTypeAny, {
10588
10772
  profileId: string | null;
@@ -10595,8 +10779,8 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10595
10779
  defaultSelected: boolean;
10596
10780
  supportsWaterfall: boolean;
10597
10781
  frequencyRangeMode: "baseband" | "absolute";
10598
- sourceBinCount?: number | null | undefined;
10599
10782
  reason?: string | undefined;
10783
+ sourceBinCount?: number | null | undefined;
10600
10784
  }[];
10601
10785
  }, {
10602
10786
  profileId: string | null;
@@ -10609,8 +10793,8 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10609
10793
  defaultSelected: boolean;
10610
10794
  supportsWaterfall: boolean;
10611
10795
  frequencyRangeMode: "baseband" | "absolute";
10612
- sourceBinCount?: number | null | undefined;
10613
10796
  reason?: string | undefined;
10797
+ sourceBinCount?: number | null | undefined;
10614
10798
  }[];
10615
10799
  }>;
10616
10800
  }, "strip", z.ZodTypeAny, {
@@ -10627,8 +10811,8 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10627
10811
  defaultSelected: boolean;
10628
10812
  supportsWaterfall: boolean;
10629
10813
  frequencyRangeMode: "baseband" | "absolute";
10630
- sourceBinCount?: number | null | undefined;
10631
10814
  reason?: string | undefined;
10815
+ sourceBinCount?: number | null | undefined;
10632
10816
  }[];
10633
10817
  };
10634
10818
  id?: string | undefined;
@@ -10646,8 +10830,8 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
10646
10830
  defaultSelected: boolean;
10647
10831
  supportsWaterfall: boolean;
10648
10832
  frequencyRangeMode: "baseband" | "absolute";
10649
- sourceBinCount?: number | null | undefined;
10650
10833
  reason?: string | undefined;
10834
+ sourceBinCount?: number | null | undefined;
10651
10835
  }[];
10652
10836
  };
10653
10837
  id?: string | undefined;
@@ -13111,7 +13295,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
13111
13295
  qth?: string | undefined;
13112
13296
  dxccId?: number | undefined;
13113
13297
  dxccEntity?: string | undefined;
13114
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
13298
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
13115
13299
  countryCode?: string | undefined;
13116
13300
  cqZone?: number | undefined;
13117
13301
  ituZone?: number | undefined;
@@ -13154,7 +13338,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
13154
13338
  qth?: string | undefined;
13155
13339
  dxccId?: number | undefined;
13156
13340
  dxccEntity?: string | undefined;
13157
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
13341
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
13158
13342
  countryCode?: string | undefined;
13159
13343
  cqZone?: number | undefined;
13160
13344
  ituZone?: number | undefined;
@@ -13201,7 +13385,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
13201
13385
  qth?: string | undefined;
13202
13386
  dxccId?: number | undefined;
13203
13387
  dxccEntity?: string | undefined;
13204
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
13388
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
13205
13389
  countryCode?: string | undefined;
13206
13390
  cqZone?: number | undefined;
13207
13391
  ituZone?: number | undefined;
@@ -13248,7 +13432,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
13248
13432
  qth?: string | undefined;
13249
13433
  dxccId?: number | undefined;
13250
13434
  dxccEntity?: string | undefined;
13251
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
13435
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
13252
13436
  countryCode?: string | undefined;
13253
13437
  cqZone?: number | undefined;
13254
13438
  ituZone?: number | undefined;
@@ -13299,7 +13483,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
13299
13483
  qth?: string | undefined;
13300
13484
  dxccId?: number | undefined;
13301
13485
  dxccEntity?: string | undefined;
13302
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
13486
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
13303
13487
  countryCode?: string | undefined;
13304
13488
  cqZone?: number | undefined;
13305
13489
  ituZone?: number | undefined;
@@ -13351,7 +13535,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
13351
13535
  qth?: string | undefined;
13352
13536
  dxccId?: number | undefined;
13353
13537
  dxccEntity?: string | undefined;
13354
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
13538
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
13355
13539
  countryCode?: string | undefined;
13356
13540
  cqZone?: number | undefined;
13357
13541
  ituZone?: number | undefined;
@@ -13448,7 +13632,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
13448
13632
  qth?: string | undefined;
13449
13633
  dxccId?: number | undefined;
13450
13634
  dxccEntity?: string | undefined;
13451
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
13635
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
13452
13636
  countryCode?: string | undefined;
13453
13637
  cqZone?: number | undefined;
13454
13638
  ituZone?: number | undefined;
@@ -13491,7 +13675,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
13491
13675
  qth?: string | undefined;
13492
13676
  dxccId?: number | undefined;
13493
13677
  dxccEntity?: string | undefined;
13494
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
13678
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
13495
13679
  countryCode?: string | undefined;
13496
13680
  cqZone?: number | undefined;
13497
13681
  ituZone?: number | undefined;
@@ -13538,7 +13722,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
13538
13722
  qth?: string | undefined;
13539
13723
  dxccId?: number | undefined;
13540
13724
  dxccEntity?: string | undefined;
13541
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
13725
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
13542
13726
  countryCode?: string | undefined;
13543
13727
  cqZone?: number | undefined;
13544
13728
  ituZone?: number | undefined;
@@ -13585,7 +13769,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
13585
13769
  qth?: string | undefined;
13586
13770
  dxccId?: number | undefined;
13587
13771
  dxccEntity?: string | undefined;
13588
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
13772
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
13589
13773
  countryCode?: string | undefined;
13590
13774
  cqZone?: number | undefined;
13591
13775
  ituZone?: number | undefined;
@@ -13636,7 +13820,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
13636
13820
  qth?: string | undefined;
13637
13821
  dxccId?: number | undefined;
13638
13822
  dxccEntity?: string | undefined;
13639
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
13823
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
13640
13824
  countryCode?: string | undefined;
13641
13825
  cqZone?: number | undefined;
13642
13826
  ituZone?: number | undefined;
@@ -13688,7 +13872,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
13688
13872
  qth?: string | undefined;
13689
13873
  dxccId?: number | undefined;
13690
13874
  dxccEntity?: string | undefined;
13691
- dxccStatus?: "unknown" | "current" | "deleted" | "none" | undefined;
13875
+ dxccStatus?: "unknown" | "none" | "current" | "deleted" | undefined;
13692
13876
  countryCode?: string | undefined;
13693
13877
  cqZone?: number | undefined;
13694
13878
  ituZone?: number | undefined;
@@ -14340,9 +14524,6 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
14340
14524
  pttPort: z.ZodOptional<z.ZodString>;
14341
14525
  }, "strip", z.ZodTypeAny, {
14342
14526
  type: "none" | "network" | "serial" | "icom-wlan";
14343
- spectrum?: {
14344
- speed?: number | undefined;
14345
- } | undefined;
14346
14527
  network?: {
14347
14528
  host: string;
14348
14529
  port: number;
@@ -14365,6 +14546,9 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
14365
14546
  } | undefined;
14366
14547
  backendConfig?: Record<string, string> | undefined;
14367
14548
  } | undefined;
14549
+ spectrum?: {
14550
+ speed?: number | undefined;
14551
+ } | undefined;
14368
14552
  icomWlan?: {
14369
14553
  ip: string;
14370
14554
  port: number;
@@ -14377,9 +14561,6 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
14377
14561
  pttPort?: string | undefined;
14378
14562
  }, {
14379
14563
  type: "none" | "network" | "serial" | "icom-wlan";
14380
- spectrum?: {
14381
- speed?: number | undefined;
14382
- } | undefined;
14383
14564
  network?: {
14384
14565
  host: string;
14385
14566
  port: number;
@@ -14402,6 +14583,9 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
14402
14583
  } | undefined;
14403
14584
  backendConfig?: Record<string, string> | undefined;
14404
14585
  } | undefined;
14586
+ spectrum?: {
14587
+ speed?: number | undefined;
14588
+ } | undefined;
14405
14589
  icomWlan?: {
14406
14590
  ip: string;
14407
14591
  port: number;
@@ -14616,9 +14800,6 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
14616
14800
  reason?: string | undefined;
14617
14801
  radioConfig?: {
14618
14802
  type: "none" | "network" | "serial" | "icom-wlan";
14619
- spectrum?: {
14620
- speed?: number | undefined;
14621
- } | undefined;
14622
14803
  network?: {
14623
14804
  host: string;
14624
14805
  port: number;
@@ -14641,6 +14822,9 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
14641
14822
  } | undefined;
14642
14823
  backendConfig?: Record<string, string> | undefined;
14643
14824
  } | undefined;
14825
+ spectrum?: {
14826
+ speed?: number | undefined;
14827
+ } | undefined;
14644
14828
  icomWlan?: {
14645
14829
  ip: string;
14646
14830
  port: number;
@@ -14720,9 +14904,6 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
14720
14904
  reason?: string | undefined;
14721
14905
  radioConfig?: {
14722
14906
  type: "none" | "network" | "serial" | "icom-wlan";
14723
- spectrum?: {
14724
- speed?: number | undefined;
14725
- } | undefined;
14726
14907
  network?: {
14727
14908
  host: string;
14728
14909
  port: number;
@@ -14745,6 +14926,9 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
14745
14926
  } | undefined;
14746
14927
  backendConfig?: Record<string, string> | undefined;
14747
14928
  } | undefined;
14929
+ spectrum?: {
14930
+ speed?: number | undefined;
14931
+ } | undefined;
14748
14932
  icomWlan?: {
14749
14933
  ip: string;
14750
14934
  port: number;
@@ -14828,9 +15012,6 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
14828
15012
  reason?: string | undefined;
14829
15013
  radioConfig?: {
14830
15014
  type: "none" | "network" | "serial" | "icom-wlan";
14831
- spectrum?: {
14832
- speed?: number | undefined;
14833
- } | undefined;
14834
15015
  network?: {
14835
15016
  host: string;
14836
15017
  port: number;
@@ -14853,6 +15034,9 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
14853
15034
  } | undefined;
14854
15035
  backendConfig?: Record<string, string> | undefined;
14855
15036
  } | undefined;
15037
+ spectrum?: {
15038
+ speed?: number | undefined;
15039
+ } | undefined;
14856
15040
  icomWlan?: {
14857
15041
  ip: string;
14858
15042
  port: number;
@@ -14937,9 +15121,6 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
14937
15121
  reason?: string | undefined;
14938
15122
  radioConfig?: {
14939
15123
  type: "none" | "network" | "serial" | "icom-wlan";
14940
- spectrum?: {
14941
- speed?: number | undefined;
14942
- } | undefined;
14943
15124
  network?: {
14944
15125
  host: string;
14945
15126
  port: number;
@@ -14962,6 +15143,9 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
14962
15143
  } | undefined;
14963
15144
  backendConfig?: Record<string, string> | undefined;
14964
15145
  } | undefined;
15146
+ spectrum?: {
15147
+ speed?: number | undefined;
15148
+ } | undefined;
14965
15149
  icomWlan?: {
14966
15150
  ip: string;
14967
15151
  port: number;
@@ -15501,6 +15685,99 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
15501
15685
  }>, z.ZodObject<{
15502
15686
  timestamp: z.ZodString;
15503
15687
  id: z.ZodOptional<z.ZodString>;
15688
+ } & {
15689
+ type: z.ZodLiteral<WSMessageType.START_TUNE_TONE>;
15690
+ data: z.ZodOptional<z.ZodObject<{
15691
+ operatorId: z.ZodOptional<z.ZodString>;
15692
+ toneHz: z.ZodOptional<z.ZodNumber>;
15693
+ }, "strip", z.ZodTypeAny, {
15694
+ operatorId?: string | undefined;
15695
+ toneHz?: number | undefined;
15696
+ }, {
15697
+ operatorId?: string | undefined;
15698
+ toneHz?: number | undefined;
15699
+ }>>;
15700
+ }, "strip", z.ZodTypeAny, {
15701
+ type: WSMessageType.START_TUNE_TONE;
15702
+ timestamp: string;
15703
+ id?: string | undefined;
15704
+ data?: {
15705
+ operatorId?: string | undefined;
15706
+ toneHz?: number | undefined;
15707
+ } | undefined;
15708
+ }, {
15709
+ type: WSMessageType.START_TUNE_TONE;
15710
+ timestamp: string;
15711
+ id?: string | undefined;
15712
+ data?: {
15713
+ operatorId?: string | undefined;
15714
+ toneHz?: number | undefined;
15715
+ } | undefined;
15716
+ }>, z.ZodObject<{
15717
+ timestamp: z.ZodString;
15718
+ id: z.ZodOptional<z.ZodString>;
15719
+ } & {
15720
+ type: z.ZodLiteral<WSMessageType.STOP_TUNE_TONE>;
15721
+ data: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
15722
+ }, "strip", z.ZodTypeAny, {
15723
+ type: WSMessageType.STOP_TUNE_TONE;
15724
+ timestamp: string;
15725
+ id?: string | undefined;
15726
+ data?: {} | undefined;
15727
+ }, {
15728
+ type: WSMessageType.STOP_TUNE_TONE;
15729
+ timestamp: string;
15730
+ id?: string | undefined;
15731
+ data?: {} | undefined;
15732
+ }>, z.ZodObject<{
15733
+ timestamp: z.ZodString;
15734
+ id: z.ZodOptional<z.ZodString>;
15735
+ } & {
15736
+ type: z.ZodLiteral<WSMessageType.TUNE_TONE_STATUS_CHANGED>;
15737
+ data: z.ZodObject<{
15738
+ active: z.ZodBoolean;
15739
+ toneHz: z.ZodNullable<z.ZodNumber>;
15740
+ startedAt: z.ZodNullable<z.ZodNumber>;
15741
+ maxDurationMs: z.ZodNumber;
15742
+ error: z.ZodOptional<z.ZodString>;
15743
+ }, "strip", z.ZodTypeAny, {
15744
+ active: boolean;
15745
+ toneHz: number | null;
15746
+ startedAt: number | null;
15747
+ maxDurationMs: number;
15748
+ error?: string | undefined;
15749
+ }, {
15750
+ active: boolean;
15751
+ toneHz: number | null;
15752
+ startedAt: number | null;
15753
+ maxDurationMs: number;
15754
+ error?: string | undefined;
15755
+ }>;
15756
+ }, "strip", z.ZodTypeAny, {
15757
+ type: WSMessageType.TUNE_TONE_STATUS_CHANGED;
15758
+ timestamp: string;
15759
+ data: {
15760
+ active: boolean;
15761
+ toneHz: number | null;
15762
+ startedAt: number | null;
15763
+ maxDurationMs: number;
15764
+ error?: string | undefined;
15765
+ };
15766
+ id?: string | undefined;
15767
+ }, {
15768
+ type: WSMessageType.TUNE_TONE_STATUS_CHANGED;
15769
+ timestamp: string;
15770
+ data: {
15771
+ active: boolean;
15772
+ toneHz: number | null;
15773
+ startedAt: number | null;
15774
+ maxDurationMs: number;
15775
+ error?: string | undefined;
15776
+ };
15777
+ id?: string | undefined;
15778
+ }>, z.ZodObject<{
15779
+ timestamp: z.ZodString;
15780
+ id: z.ZodOptional<z.ZodString>;
15504
15781
  } & {
15505
15782
  type: z.ZodLiteral<WSMessageType.METER_DATA>;
15506
15783
  data: z.ZodObject<{
@@ -15759,14 +16036,14 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
15759
16036
  params?: Record<string, string> | undefined;
15760
16037
  key?: string | undefined;
15761
16038
  timeout?: number | null | undefined;
15762
- color?: "success" | "default" | "warning" | "danger" | undefined;
16039
+ color?: "default" | "success" | "warning" | "danger" | undefined;
15763
16040
  }, {
15764
16041
  title: string;
15765
16042
  text: string;
15766
16043
  params?: Record<string, string> | undefined;
15767
16044
  key?: string | undefined;
15768
16045
  timeout?: number | null | undefined;
15769
- color?: "success" | "default" | "warning" | "danger" | undefined;
16046
+ color?: "default" | "success" | "warning" | "danger" | undefined;
15770
16047
  }>;
15771
16048
  }, "strip", z.ZodTypeAny, {
15772
16049
  type: WSMessageType.TEXT_MESSAGE;
@@ -15777,7 +16054,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
15777
16054
  params?: Record<string, string> | undefined;
15778
16055
  key?: string | undefined;
15779
16056
  timeout?: number | null | undefined;
15780
- color?: "success" | "default" | "warning" | "danger" | undefined;
16057
+ color?: "default" | "success" | "warning" | "danger" | undefined;
15781
16058
  };
15782
16059
  id?: string | undefined;
15783
16060
  }, {
@@ -15789,7 +16066,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
15789
16066
  params?: Record<string, string> | undefined;
15790
16067
  key?: string | undefined;
15791
16068
  timeout?: number | null | undefined;
15792
- color?: "success" | "default" | "warning" | "danger" | undefined;
16069
+ color?: "default" | "success" | "warning" | "danger" | undefined;
15793
16070
  };
15794
16071
  id?: string | undefined;
15795
16072
  }>, z.ZodObject<{
@@ -16002,10 +16279,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
16002
16279
  value: string;
16003
16280
  label: string;
16004
16281
  }[] | undefined;
16282
+ default?: unknown;
16005
16283
  min?: number | undefined;
16006
16284
  max?: number | undefined;
16007
16285
  description?: string | undefined;
16008
- default?: unknown;
16009
16286
  itemFields?: {
16010
16287
  type: "string" | "number" | "boolean";
16011
16288
  label: string;
@@ -16022,10 +16299,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
16022
16299
  value: string;
16023
16300
  label: string;
16024
16301
  }[] | undefined;
16302
+ default?: unknown;
16025
16303
  min?: number | undefined;
16026
16304
  max?: number | undefined;
16027
16305
  description?: string | undefined;
16028
- default?: unknown;
16029
16306
  itemFields?: {
16030
16307
  label: string;
16031
16308
  key: string;
@@ -16200,10 +16477,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
16200
16477
  value: string;
16201
16478
  label: string;
16202
16479
  }[] | undefined;
16480
+ default?: unknown;
16203
16481
  min?: number | undefined;
16204
16482
  max?: number | undefined;
16205
16483
  description?: string | undefined;
16206
- default?: unknown;
16207
16484
  itemFields?: {
16208
16485
  type: "string" | "number" | "boolean";
16209
16486
  label: string;
@@ -16271,10 +16548,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
16271
16548
  value: string;
16272
16549
  label: string;
16273
16550
  }[] | undefined;
16551
+ default?: unknown;
16274
16552
  min?: number | undefined;
16275
16553
  max?: number | undefined;
16276
16554
  description?: string | undefined;
16277
- default?: unknown;
16278
16555
  itemFields?: {
16279
16556
  label: string;
16280
16557
  key: string;
@@ -16473,10 +16750,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
16473
16750
  value: string;
16474
16751
  label: string;
16475
16752
  }[] | undefined;
16753
+ default?: unknown;
16476
16754
  min?: number | undefined;
16477
16755
  max?: number | undefined;
16478
16756
  description?: string | undefined;
16479
- default?: unknown;
16480
16757
  itemFields?: {
16481
16758
  type: "string" | "number" | "boolean";
16482
16759
  label: string;
@@ -16579,10 +16856,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
16579
16856
  value: string;
16580
16857
  label: string;
16581
16858
  }[] | undefined;
16859
+ default?: unknown;
16582
16860
  min?: number | undefined;
16583
16861
  max?: number | undefined;
16584
16862
  description?: string | undefined;
16585
- default?: unknown;
16586
16863
  itemFields?: {
16587
16864
  label: string;
16588
16865
  key: string;
@@ -16695,10 +16972,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
16695
16972
  value: string;
16696
16973
  label: string;
16697
16974
  }[] | undefined;
16975
+ default?: unknown;
16698
16976
  min?: number | undefined;
16699
16977
  max?: number | undefined;
16700
16978
  description?: string | undefined;
16701
- default?: unknown;
16702
16979
  itemFields?: {
16703
16980
  type: "string" | "number" | "boolean";
16704
16981
  label: string;
@@ -16806,10 +17083,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
16806
17083
  value: string;
16807
17084
  label: string;
16808
17085
  }[] | undefined;
17086
+ default?: unknown;
16809
17087
  min?: number | undefined;
16810
17088
  max?: number | undefined;
16811
17089
  description?: string | undefined;
16812
- default?: unknown;
16813
17090
  itemFields?: {
16814
17091
  label: string;
16815
17092
  key: string;
@@ -16938,10 +17215,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
16938
17215
  value: string;
16939
17216
  label: string;
16940
17217
  }[] | undefined;
17218
+ default?: unknown;
16941
17219
  min?: number | undefined;
16942
17220
  max?: number | undefined;
16943
17221
  description?: string | undefined;
16944
- default?: unknown;
16945
17222
  itemFields?: {
16946
17223
  type: "string" | "number" | "boolean";
16947
17224
  label: string;
@@ -16958,10 +17235,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
16958
17235
  value: string;
16959
17236
  label: string;
16960
17237
  }[] | undefined;
17238
+ default?: unknown;
16961
17239
  min?: number | undefined;
16962
17240
  max?: number | undefined;
16963
17241
  description?: string | undefined;
16964
- default?: unknown;
16965
17242
  itemFields?: {
16966
17243
  label: string;
16967
17244
  key: string;
@@ -17136,10 +17413,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
17136
17413
  value: string;
17137
17414
  label: string;
17138
17415
  }[] | undefined;
17416
+ default?: unknown;
17139
17417
  min?: number | undefined;
17140
17418
  max?: number | undefined;
17141
17419
  description?: string | undefined;
17142
- default?: unknown;
17143
17420
  itemFields?: {
17144
17421
  type: "string" | "number" | "boolean";
17145
17422
  label: string;
@@ -17207,10 +17484,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
17207
17484
  value: string;
17208
17485
  label: string;
17209
17486
  }[] | undefined;
17487
+ default?: unknown;
17210
17488
  min?: number | undefined;
17211
17489
  max?: number | undefined;
17212
17490
  description?: string | undefined;
17213
- default?: unknown;
17214
17491
  itemFields?: {
17215
17492
  label: string;
17216
17493
  key: string;
@@ -17287,10 +17564,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
17287
17564
  value: string;
17288
17565
  label: string;
17289
17566
  }[] | undefined;
17567
+ default?: unknown;
17290
17568
  min?: number | undefined;
17291
17569
  max?: number | undefined;
17292
17570
  description?: string | undefined;
17293
- default?: unknown;
17294
17571
  itemFields?: {
17295
17572
  type: "string" | "number" | "boolean";
17296
17573
  label: string;
@@ -17361,10 +17638,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
17361
17638
  value: string;
17362
17639
  label: string;
17363
17640
  }[] | undefined;
17641
+ default?: unknown;
17364
17642
  min?: number | undefined;
17365
17643
  max?: number | undefined;
17366
17644
  description?: string | undefined;
17367
- default?: unknown;
17368
17645
  itemFields?: {
17369
17646
  label: string;
17370
17647
  key: string;
@@ -17445,10 +17722,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
17445
17722
  value: string;
17446
17723
  label: string;
17447
17724
  }[] | undefined;
17725
+ default?: unknown;
17448
17726
  min?: number | undefined;
17449
17727
  max?: number | undefined;
17450
17728
  description?: string | undefined;
17451
- default?: unknown;
17452
17729
  itemFields?: {
17453
17730
  type: "string" | "number" | "boolean";
17454
17731
  label: string;
@@ -17524,10 +17801,10 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
17524
17801
  value: string;
17525
17802
  label: string;
17526
17803
  }[] | undefined;
17804
+ default?: unknown;
17527
17805
  min?: number | undefined;
17528
17806
  max?: number | undefined;
17529
17807
  description?: string | undefined;
17530
- default?: unknown;
17531
17808
  itemFields?: {
17532
17809
  label: string;
17533
17810
  key: string;
@@ -17736,7 +18013,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
17736
18013
  } & {
17737
18014
  type: z.ZodLiteral<WSMessageType.PLUGIN_RUNTIME_LOG_HISTORY>;
17738
18015
  data: z.ZodObject<{
17739
- entries: z.ZodArray<z.ZodObject<{
18016
+ entries: z.ZodArray<z.ZodUnion<[z.ZodObject<{
17740
18017
  source: z.ZodLiteral<"system">;
17741
18018
  stage: z.ZodEnum<["scan", "load", "validate", "reload", "activate"]>;
17742
18019
  level: z.ZodEnum<["debug", "info", "warn", "error"]>;
@@ -17763,9 +18040,33 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
17763
18040
  pluginName?: string | undefined;
17764
18041
  directoryName?: string | undefined;
17765
18042
  details?: unknown;
17766
- }>, "many">;
18043
+ }>, z.ZodObject<{
18044
+ pluginName: z.ZodString;
18045
+ level: z.ZodEnum<["debug", "info", "warn", "error"]>;
18046
+ message: z.ZodString;
18047
+ data: z.ZodOptional<z.ZodUnknown>;
18048
+ timestamp: z.ZodNumber;
18049
+ }, "strip", z.ZodTypeAny, {
18050
+ message: string;
18051
+ timestamp: number;
18052
+ pluginName: string;
18053
+ level: "error" | "info" | "debug" | "warn";
18054
+ data?: unknown;
18055
+ }, {
18056
+ message: string;
18057
+ timestamp: number;
18058
+ pluginName: string;
18059
+ level: "error" | "info" | "debug" | "warn";
18060
+ data?: unknown;
18061
+ }>]>, "many">;
17767
18062
  }, "strip", z.ZodTypeAny, {
17768
- entries: {
18063
+ entries: ({
18064
+ message: string;
18065
+ timestamp: number;
18066
+ pluginName: string;
18067
+ level: "error" | "info" | "debug" | "warn";
18068
+ data?: unknown;
18069
+ } | {
17769
18070
  message: string;
17770
18071
  timestamp: number;
17771
18072
  source: "system";
@@ -17774,9 +18075,15 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
17774
18075
  pluginName?: string | undefined;
17775
18076
  directoryName?: string | undefined;
17776
18077
  details?: unknown;
17777
- }[];
18078
+ })[];
17778
18079
  }, {
17779
- entries: {
18080
+ entries: ({
18081
+ message: string;
18082
+ timestamp: number;
18083
+ pluginName: string;
18084
+ level: "error" | "info" | "debug" | "warn";
18085
+ data?: unknown;
18086
+ } | {
17780
18087
  message: string;
17781
18088
  timestamp: number;
17782
18089
  source: "system";
@@ -17785,13 +18092,19 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
17785
18092
  pluginName?: string | undefined;
17786
18093
  directoryName?: string | undefined;
17787
18094
  details?: unknown;
17788
- }[];
18095
+ })[];
17789
18096
  }>;
17790
18097
  }, "strip", z.ZodTypeAny, {
17791
18098
  type: WSMessageType.PLUGIN_RUNTIME_LOG_HISTORY;
17792
18099
  timestamp: string;
17793
18100
  data: {
17794
- entries: {
18101
+ entries: ({
18102
+ message: string;
18103
+ timestamp: number;
18104
+ pluginName: string;
18105
+ level: "error" | "info" | "debug" | "warn";
18106
+ data?: unknown;
18107
+ } | {
17795
18108
  message: string;
17796
18109
  timestamp: number;
17797
18110
  source: "system";
@@ -17800,14 +18113,20 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
17800
18113
  pluginName?: string | undefined;
17801
18114
  directoryName?: string | undefined;
17802
18115
  details?: unknown;
17803
- }[];
18116
+ })[];
17804
18117
  };
17805
18118
  id?: string | undefined;
17806
18119
  }, {
17807
18120
  type: WSMessageType.PLUGIN_RUNTIME_LOG_HISTORY;
17808
18121
  timestamp: string;
17809
18122
  data: {
17810
- entries: {
18123
+ entries: ({
18124
+ message: string;
18125
+ timestamp: number;
18126
+ pluginName: string;
18127
+ level: "error" | "info" | "debug" | "warn";
18128
+ data?: unknown;
18129
+ } | {
17811
18130
  message: string;
17812
18131
  timestamp: number;
17813
18132
  source: "system";
@@ -17816,7 +18135,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
17816
18135
  pluginName?: string | undefined;
17817
18136
  directoryName?: string | undefined;
17818
18137
  details?: unknown;
17819
- }[];
18138
+ })[];
17820
18139
  };
17821
18140
  id?: string | undefined;
17822
18141
  }>, z.ZodObject<{
@@ -17971,6 +18290,7 @@ export interface DigitalRadioEngineEvents {
17971
18290
  } | number) => void;
17972
18291
  frequencyChanged: (data: FrequencyState) => void;
17973
18292
  pttStatusChanged: (data: PTTStatus) => void;
18293
+ tuneToneStatusChanged: (data: TuneToneStatus) => void;
17974
18294
  meterData: (data: MeterData) => void;
17975
18295
  squelchStatusChanged: (data: SquelchStatus) => void;
17976
18296
  qsoRecordAdded: (data: {