camstreamerlib 4.0.37 → 5.0.0-54e362c

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 (102) hide show
  1. package/README.md +21 -2
  2. package/cjs/CamOverlayAPI.d.ts +223 -208
  3. package/cjs/CamStreamerAPI.d.ts +330 -311
  4. package/cjs/CamStreamerAPI.js +1 -1
  5. package/cjs/CamSwitcherAPI.d.ts +31 -30
  6. package/cjs/CamSwitcherAPI.js +2 -0
  7. package/cjs/PlaneTrackerAPI.d.ts +101 -41
  8. package/cjs/VapixAPI.d.ts +31 -17
  9. package/cjs/VapixAPI.js +1 -1
  10. package/cjs/internal/versionCompare.d.ts +2 -2
  11. package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +477 -3812
  12. package/cjs/types/CamOverlayAPI/CamOverlayAPI.js +2 -2
  13. package/cjs/types/CamOverlayAPI/accuweatherSchema.d.ts +12 -67
  14. package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +40 -572
  15. package/cjs/types/CamOverlayAPI/htmlOverlaySchema.d.ts +6 -59
  16. package/cjs/types/CamOverlayAPI/htmlOverlaySchema.js +1 -1
  17. package/cjs/types/CamOverlayAPI/imagesSchema.d.ts +6 -75
  18. package/cjs/types/CamOverlayAPI/infotickerSchema.d.ts +11 -74
  19. package/cjs/types/CamOverlayAPI/pipSchema.d.ts +12 -97
  20. package/cjs/types/CamOverlayAPI/pipSchema.js +2 -2
  21. package/cjs/types/CamOverlayAPI/ptzCompassSchema.d.ts +12 -71
  22. package/cjs/types/CamOverlayAPI/ptzCompassSchema.js +1 -1
  23. package/cjs/types/CamOverlayAPI/ptzSchema.d.ts +8 -99
  24. package/cjs/types/CamOverlayAPI/scoreBoardSchema.d.ts +20 -254
  25. package/cjs/types/CamOverlayAPI/screenSharingSchema.d.ts +5 -43
  26. package/cjs/types/CamOverlayAPI/serviceCommonTypes.d.ts +15 -94
  27. package/cjs/types/CamOverlayAPI/webCameraSharingSchema.d.ts +5 -43
  28. package/cjs/types/CamScripterAPI.d.ts +11 -81
  29. package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +1409 -22709
  30. package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +32 -509
  31. package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +8 -143
  32. package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +32 -493
  33. package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +425 -7786
  34. package/cjs/types/CamStreamerAPI/windySchema.d.ts +36 -476
  35. package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +32 -487
  36. package/cjs/types/CamStreamerAPI/youtubeSchema.js +1 -1
  37. package/cjs/types/CamSwitcherAPI.d.ts +75 -700
  38. package/cjs/types/CamSwitcherAPI.js +1 -0
  39. package/cjs/types/GenetecAgent.d.ts +12 -132
  40. package/cjs/types/MilestoneAgent.d.ts +4 -46
  41. package/cjs/types/PlaneTrackerAPI.d.ts +265 -1205
  42. package/cjs/types/PlaneTrackerAPI.js +5 -5
  43. package/cjs/types/VapixAPI.d.ts +129 -1653
  44. package/cjs/types/VapixAPI.js +1 -1
  45. package/cjs/types/common.d.ts +11 -35
  46. package/cjs/types/common.js +1 -1
  47. package/cjs/types/ws/CamOverlayEvents.d.ts +9 -69
  48. package/cjs/types/ws/CamStreamerEvents.d.ts +19 -217
  49. package/cjs/types/ws/CamSwitcherEvents.d.ts +46 -452
  50. package/cjs/types/ws/PlaneTrackerEvents.d.ts +361 -3522
  51. package/cjs/types/ws/PlaneTrackerEvents.js +1 -1
  52. package/esm/CamStreamerAPI.js +1 -1
  53. package/esm/CamSwitcherAPI.js +2 -0
  54. package/esm/VapixAPI.js +1 -1
  55. package/esm/types/CamOverlayAPI/CamOverlayAPI.js +2 -2
  56. package/esm/types/CamOverlayAPI/htmlOverlaySchema.js +1 -1
  57. package/esm/types/CamOverlayAPI/pipSchema.js +2 -2
  58. package/esm/types/CamOverlayAPI/ptzCompassSchema.js +1 -1
  59. package/esm/types/CamStreamerAPI/youtubeSchema.js +1 -1
  60. package/esm/types/CamSwitcherAPI.js +1 -0
  61. package/esm/types/PlaneTrackerAPI.js +5 -5
  62. package/esm/types/VapixAPI.js +1 -1
  63. package/esm/types/common.js +1 -1
  64. package/esm/types/ws/PlaneTrackerEvents.js +1 -1
  65. package/package.json +107 -107
  66. package/types/CamOverlayAPI.d.ts +223 -208
  67. package/types/CamStreamerAPI.d.ts +330 -311
  68. package/types/CamSwitcherAPI.d.ts +31 -30
  69. package/types/PlaneTrackerAPI.d.ts +101 -41
  70. package/types/VapixAPI.d.ts +31 -17
  71. package/types/internal/versionCompare.d.ts +2 -2
  72. package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +477 -3812
  73. package/types/types/CamOverlayAPI/accuweatherSchema.d.ts +12 -67
  74. package/types/types/CamOverlayAPI/customGraphicsSchema.d.ts +40 -572
  75. package/types/types/CamOverlayAPI/htmlOverlaySchema.d.ts +6 -59
  76. package/types/types/CamOverlayAPI/imagesSchema.d.ts +6 -75
  77. package/types/types/CamOverlayAPI/infotickerSchema.d.ts +11 -74
  78. package/types/types/CamOverlayAPI/pipSchema.d.ts +12 -97
  79. package/types/types/CamOverlayAPI/ptzCompassSchema.d.ts +12 -71
  80. package/types/types/CamOverlayAPI/ptzSchema.d.ts +8 -99
  81. package/types/types/CamOverlayAPI/scoreBoardSchema.d.ts +20 -254
  82. package/types/types/CamOverlayAPI/screenSharingSchema.d.ts +5 -43
  83. package/types/types/CamOverlayAPI/serviceCommonTypes.d.ts +15 -94
  84. package/types/types/CamOverlayAPI/webCameraSharingSchema.d.ts +5 -43
  85. package/types/types/CamScripterAPI.d.ts +11 -81
  86. package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +1409 -22709
  87. package/types/types/CamStreamerAPI/facebookSchema.d.ts +32 -509
  88. package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +8 -143
  89. package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +32 -493
  90. package/types/types/CamStreamerAPI/streamsSchema.d.ts +425 -7786
  91. package/types/types/CamStreamerAPI/windySchema.d.ts +36 -476
  92. package/types/types/CamStreamerAPI/youtubeSchema.d.ts +32 -487
  93. package/types/types/CamSwitcherAPI.d.ts +75 -700
  94. package/types/types/GenetecAgent.d.ts +12 -132
  95. package/types/types/MilestoneAgent.d.ts +4 -46
  96. package/types/types/PlaneTrackerAPI.d.ts +265 -1205
  97. package/types/types/VapixAPI.d.ts +129 -1653
  98. package/types/types/common.d.ts +11 -35
  99. package/types/types/ws/CamOverlayEvents.d.ts +9 -69
  100. package/types/types/ws/CamStreamerEvents.d.ts +19 -217
  101. package/types/types/ws/CamSwitcherEvents.d.ts +46 -452
  102. package/types/types/ws/PlaneTrackerEvents.d.ts +361 -3522
@@ -4,7 +4,7 @@ exports.REMOTE_ID_CATEGORY_IDS = exports.ADSB_CATEGORY_IDS = exports.domainListS
4
4
  const zod_1 = require("zod");
5
5
  exports.connectionSchema = zod_1.z.object({
6
6
  protocol: zod_1.z.union([zod_1.z.literal('http'), zod_1.z.literal('https'), zod_1.z.literal('https_insecure')]),
7
- ip: zod_1.z.union([zod_1.z.string().ip(), zod_1.z.literal('')]),
7
+ ip: zod_1.z.union([zod_1.z.ipv4(), zod_1.z.ipv6(), zod_1.z.literal('')]),
8
8
  port: zod_1.z.number().positive().lt(65535),
9
9
  user: zod_1.z.string(),
10
10
  pass: zod_1.z.string(),
@@ -94,7 +94,7 @@ exports.cameraSettingsSchema = zod_1.z.object({
94
94
  adsbSource: zod_1.z
95
95
  .object({
96
96
  enabled: zod_1.z.boolean().default(true),
97
- ip: zod_1.z.union([zod_1.z.string().ip(), zod_1.z.literal('')]),
97
+ ip: zod_1.z.union([zod_1.z.ipv4(), zod_1.z.ipv6(), zod_1.z.literal('')]),
98
98
  port: zod_1.z.number().positive().lt(65535),
99
99
  useSystemTime: zod_1.z.boolean().default(false),
100
100
  })
@@ -163,7 +163,7 @@ exports.cameraSettingsSchema = zod_1.z.object({
163
163
  guardTourEnabled: zod_1.z.boolean().default(false),
164
164
  guardTourId: zod_1.z.number().int().nonnegative().default(0),
165
165
  })
166
- .default({ prioritizeEmergency: true, guardTourEnabled: false, guardTourId: 0 }),
166
+ .default({ prioritizeEmergency: true, trackingZoneWeightIncrease: 0, guardTourEnabled: false, guardTourId: 0 }),
167
167
  overlayText: zod_1.z
168
168
  .object({
169
169
  displayIcao: zod_1.z.boolean().optional(),
@@ -239,7 +239,7 @@ exports.cameraSettingsSchema = zod_1.z.object({
239
239
  .object({
240
240
  enabled: zod_1.z.boolean().default(false),
241
241
  priority: zod_1.z.number().int().positive().default(2),
242
- ip: zod_1.z.union([zod_1.z.string().ip(), zod_1.z.literal('')]).default(''),
242
+ ip: zod_1.z.union([zod_1.z.ipv4(), zod_1.z.ipv6(), zod_1.z.literal('')]).default(''),
243
243
  port: zod_1.z.number().positive().lt(65535).default(80),
244
244
  })
245
245
  .default({
@@ -439,7 +439,7 @@ const domainDescriptorSchema = zod_1.z.object({
439
439
  icon: categoryIconSchema,
440
440
  categoryList: zod_1.z.array(categoryDescriptorSchema),
441
441
  });
442
- exports.domainListSchema = zod_1.z.record(exports.domainIdSchema, domainDescriptorSchema);
442
+ exports.domainListSchema = zod_1.z.partialRecord(exports.domainIdSchema, domainDescriptorSchema);
443
443
  exports.ADSB_CATEGORY_IDS = {
444
444
  A_LIGHT: 'A_LIGHT',
445
445
  A_SMALL: 'A_SMALL',