camstreamerlib 4.0.0-beta.123 → 4.0.0-beta.125
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.
- package/cjs/CamStreamerAPI.d.ts +80 -0
- package/cjs/PlaneTrackerAPI.d.ts +1 -0
- package/cjs/PlaneTrackerAPI.js +3 -0
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +680 -0
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +14 -0
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +14 -0
- package/cjs/types/CamStreamerAPI/streamCommonTypes.js +3 -0
- package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +252 -0
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +14 -0
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +14 -0
- package/esm/PlaneTrackerAPI.js +3 -0
- package/esm/types/CamStreamerAPI/streamCommonTypes.js +3 -0
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +80 -0
- package/types/PlaneTrackerAPI.d.ts +1 -0
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +680 -0
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +14 -0
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +14 -0
- package/types/types/CamStreamerAPI/streamsSchema.d.ts +252 -0
- package/types/types/CamStreamerAPI/windySchema.d.ts +14 -0
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +14 -0
package/cjs/CamStreamerAPI.d.ts
CHANGED
|
@@ -60,6 +60,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
60
60
|
type: "images";
|
|
61
61
|
url: string;
|
|
62
62
|
imageIntervalS: number;
|
|
63
|
+
} | {
|
|
64
|
+
type: "none";
|
|
63
65
|
};
|
|
64
66
|
input: {
|
|
65
67
|
type: "RTSP_URL";
|
|
@@ -137,6 +139,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
137
139
|
type: "images";
|
|
138
140
|
url: string;
|
|
139
141
|
imageIntervalS: number;
|
|
142
|
+
} | {
|
|
143
|
+
type: "none";
|
|
140
144
|
};
|
|
141
145
|
input: {
|
|
142
146
|
type: "RTSP_URL";
|
|
@@ -211,6 +215,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
211
215
|
type: "images";
|
|
212
216
|
url: string;
|
|
213
217
|
imageIntervalS: number;
|
|
218
|
+
} | {
|
|
219
|
+
type: "none";
|
|
214
220
|
};
|
|
215
221
|
input: {
|
|
216
222
|
type: "RTSP_URL";
|
|
@@ -296,6 +302,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
296
302
|
type: "images";
|
|
297
303
|
url: string;
|
|
298
304
|
imageIntervalS: number;
|
|
305
|
+
} | {
|
|
306
|
+
type: "none";
|
|
299
307
|
};
|
|
300
308
|
input: {
|
|
301
309
|
type: "RTSP_URL";
|
|
@@ -370,6 +378,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
370
378
|
type: "images";
|
|
371
379
|
url: string;
|
|
372
380
|
imageIntervalS: number;
|
|
381
|
+
} | {
|
|
382
|
+
type: "none";
|
|
373
383
|
};
|
|
374
384
|
input: {
|
|
375
385
|
type: "RTSP_URL";
|
|
@@ -444,6 +454,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
444
454
|
type: "images";
|
|
445
455
|
url: string;
|
|
446
456
|
imageIntervalS: number;
|
|
457
|
+
} | {
|
|
458
|
+
type: "none";
|
|
447
459
|
};
|
|
448
460
|
input: {
|
|
449
461
|
type: "RTSP_URL";
|
|
@@ -518,6 +530,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
518
530
|
type: "images";
|
|
519
531
|
url: string;
|
|
520
532
|
imageIntervalS: number;
|
|
533
|
+
} | {
|
|
534
|
+
type: "none";
|
|
521
535
|
};
|
|
522
536
|
input: {
|
|
523
537
|
type: "RTSP_URL";
|
|
@@ -594,6 +608,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
594
608
|
type: "images";
|
|
595
609
|
url: string;
|
|
596
610
|
imageIntervalS: number;
|
|
611
|
+
} | {
|
|
612
|
+
type: "none";
|
|
597
613
|
};
|
|
598
614
|
input: {
|
|
599
615
|
type: "RTSP_URL";
|
|
@@ -668,6 +684,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
668
684
|
type: "images";
|
|
669
685
|
url: string;
|
|
670
686
|
imageIntervalS: number;
|
|
687
|
+
} | {
|
|
688
|
+
type: "none";
|
|
671
689
|
};
|
|
672
690
|
input: {
|
|
673
691
|
type: "RTSP_URL";
|
|
@@ -742,6 +760,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
742
760
|
type: "images";
|
|
743
761
|
url: string;
|
|
744
762
|
imageIntervalS: number;
|
|
763
|
+
} | {
|
|
764
|
+
type: "none";
|
|
745
765
|
};
|
|
746
766
|
input: {
|
|
747
767
|
type: "RTSP_URL";
|
|
@@ -816,6 +836,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
816
836
|
type: "images";
|
|
817
837
|
url: string;
|
|
818
838
|
imageIntervalS: number;
|
|
839
|
+
} | {
|
|
840
|
+
type: "none";
|
|
819
841
|
};
|
|
820
842
|
input: {
|
|
821
843
|
type: "RTSP_URL";
|
|
@@ -890,6 +912,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
890
912
|
type: "images";
|
|
891
913
|
url: string;
|
|
892
914
|
imageIntervalS: number;
|
|
915
|
+
} | {
|
|
916
|
+
type: "none";
|
|
893
917
|
};
|
|
894
918
|
input: {
|
|
895
919
|
type: "RTSP_URL";
|
|
@@ -964,6 +988,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
964
988
|
type: "images";
|
|
965
989
|
url: string;
|
|
966
990
|
imageIntervalS: number;
|
|
991
|
+
} | {
|
|
992
|
+
type: "none";
|
|
967
993
|
};
|
|
968
994
|
input: {
|
|
969
995
|
type: "RTSP_URL";
|
|
@@ -1038,6 +1064,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
1038
1064
|
type: "images";
|
|
1039
1065
|
url: string;
|
|
1040
1066
|
imageIntervalS: number;
|
|
1067
|
+
} | {
|
|
1068
|
+
type: "none";
|
|
1041
1069
|
};
|
|
1042
1070
|
input: {
|
|
1043
1071
|
type: "RTSP_URL";
|
|
@@ -1114,6 +1142,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
1114
1142
|
type: "images";
|
|
1115
1143
|
url: string;
|
|
1116
1144
|
imageIntervalS: number;
|
|
1145
|
+
} | {
|
|
1146
|
+
type: "none";
|
|
1117
1147
|
};
|
|
1118
1148
|
input: {
|
|
1119
1149
|
type: "RTSP_URL";
|
|
@@ -1188,6 +1218,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
1188
1218
|
type: "images";
|
|
1189
1219
|
url: string;
|
|
1190
1220
|
imageIntervalS: number;
|
|
1221
|
+
} | {
|
|
1222
|
+
type: "none";
|
|
1191
1223
|
};
|
|
1192
1224
|
input: {
|
|
1193
1225
|
type: "RTSP_URL";
|
|
@@ -1262,6 +1294,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
1262
1294
|
type: "images";
|
|
1263
1295
|
url: string;
|
|
1264
1296
|
imageIntervalS: number;
|
|
1297
|
+
} | {
|
|
1298
|
+
type: "none";
|
|
1265
1299
|
};
|
|
1266
1300
|
input: {
|
|
1267
1301
|
type: "RTSP_URL";
|
|
@@ -1336,6 +1370,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
1336
1370
|
type: "images";
|
|
1337
1371
|
url: string;
|
|
1338
1372
|
imageIntervalS: number;
|
|
1373
|
+
} | {
|
|
1374
|
+
type: "none";
|
|
1339
1375
|
};
|
|
1340
1376
|
input: {
|
|
1341
1377
|
type: "RTSP_URL";
|
|
@@ -1410,6 +1446,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
1410
1446
|
type: "images";
|
|
1411
1447
|
url: string;
|
|
1412
1448
|
imageIntervalS: number;
|
|
1449
|
+
} | {
|
|
1450
|
+
type: "none";
|
|
1413
1451
|
};
|
|
1414
1452
|
input: {
|
|
1415
1453
|
type: "RTSP_URL";
|
|
@@ -1484,6 +1522,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
1484
1522
|
type: "images";
|
|
1485
1523
|
url: string;
|
|
1486
1524
|
imageIntervalS: number;
|
|
1525
|
+
} | {
|
|
1526
|
+
type: "none";
|
|
1487
1527
|
};
|
|
1488
1528
|
input: {
|
|
1489
1529
|
type: "RTSP_URL";
|
|
@@ -1569,6 +1609,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
1569
1609
|
type: "images";
|
|
1570
1610
|
url: string;
|
|
1571
1611
|
imageIntervalS: number;
|
|
1612
|
+
} | {
|
|
1613
|
+
type: "none";
|
|
1572
1614
|
};
|
|
1573
1615
|
input: {
|
|
1574
1616
|
type: "RTSP_URL";
|
|
@@ -1646,6 +1688,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
1646
1688
|
type: "images";
|
|
1647
1689
|
url: string;
|
|
1648
1690
|
imageIntervalS: number;
|
|
1691
|
+
} | {
|
|
1692
|
+
type: "none";
|
|
1649
1693
|
};
|
|
1650
1694
|
input: {
|
|
1651
1695
|
type: "RTSP_URL";
|
|
@@ -1720,6 +1764,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
1720
1764
|
type: "images";
|
|
1721
1765
|
url: string;
|
|
1722
1766
|
imageIntervalS: number;
|
|
1767
|
+
} | {
|
|
1768
|
+
type: "none";
|
|
1723
1769
|
};
|
|
1724
1770
|
input: {
|
|
1725
1771
|
type: "RTSP_URL";
|
|
@@ -1805,6 +1851,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
1805
1851
|
type: "images";
|
|
1806
1852
|
url: string;
|
|
1807
1853
|
imageIntervalS: number;
|
|
1854
|
+
} | {
|
|
1855
|
+
type: "none";
|
|
1808
1856
|
};
|
|
1809
1857
|
input: {
|
|
1810
1858
|
type: "RTSP_URL";
|
|
@@ -1879,6 +1927,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
1879
1927
|
type: "images";
|
|
1880
1928
|
url: string;
|
|
1881
1929
|
imageIntervalS: number;
|
|
1930
|
+
} | {
|
|
1931
|
+
type: "none";
|
|
1882
1932
|
};
|
|
1883
1933
|
input: {
|
|
1884
1934
|
type: "RTSP_URL";
|
|
@@ -1953,6 +2003,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
1953
2003
|
type: "images";
|
|
1954
2004
|
url: string;
|
|
1955
2005
|
imageIntervalS: number;
|
|
2006
|
+
} | {
|
|
2007
|
+
type: "none";
|
|
1956
2008
|
};
|
|
1957
2009
|
input: {
|
|
1958
2010
|
type: "RTSP_URL";
|
|
@@ -2027,6 +2079,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2027
2079
|
type: "images";
|
|
2028
2080
|
url: string;
|
|
2029
2081
|
imageIntervalS: number;
|
|
2082
|
+
} | {
|
|
2083
|
+
type: "none";
|
|
2030
2084
|
};
|
|
2031
2085
|
input: {
|
|
2032
2086
|
type: "RTSP_URL";
|
|
@@ -2103,6 +2157,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2103
2157
|
type: "images";
|
|
2104
2158
|
url: string;
|
|
2105
2159
|
imageIntervalS: number;
|
|
2160
|
+
} | {
|
|
2161
|
+
type: "none";
|
|
2106
2162
|
};
|
|
2107
2163
|
input: {
|
|
2108
2164
|
type: "RTSP_URL";
|
|
@@ -2177,6 +2233,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2177
2233
|
type: "images";
|
|
2178
2234
|
url: string;
|
|
2179
2235
|
imageIntervalS: number;
|
|
2236
|
+
} | {
|
|
2237
|
+
type: "none";
|
|
2180
2238
|
};
|
|
2181
2239
|
input: {
|
|
2182
2240
|
type: "RTSP_URL";
|
|
@@ -2251,6 +2309,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2251
2309
|
type: "images";
|
|
2252
2310
|
url: string;
|
|
2253
2311
|
imageIntervalS: number;
|
|
2312
|
+
} | {
|
|
2313
|
+
type: "none";
|
|
2254
2314
|
};
|
|
2255
2315
|
input: {
|
|
2256
2316
|
type: "RTSP_URL";
|
|
@@ -2325,6 +2385,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2325
2385
|
type: "images";
|
|
2326
2386
|
url: string;
|
|
2327
2387
|
imageIntervalS: number;
|
|
2388
|
+
} | {
|
|
2389
|
+
type: "none";
|
|
2328
2390
|
};
|
|
2329
2391
|
input: {
|
|
2330
2392
|
type: "RTSP_URL";
|
|
@@ -2399,6 +2461,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2399
2461
|
type: "images";
|
|
2400
2462
|
url: string;
|
|
2401
2463
|
imageIntervalS: number;
|
|
2464
|
+
} | {
|
|
2465
|
+
type: "none";
|
|
2402
2466
|
};
|
|
2403
2467
|
input: {
|
|
2404
2468
|
type: "RTSP_URL";
|
|
@@ -2473,6 +2537,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2473
2537
|
type: "images";
|
|
2474
2538
|
url: string;
|
|
2475
2539
|
imageIntervalS: number;
|
|
2540
|
+
} | {
|
|
2541
|
+
type: "none";
|
|
2476
2542
|
};
|
|
2477
2543
|
input: {
|
|
2478
2544
|
type: "RTSP_URL";
|
|
@@ -2547,6 +2613,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2547
2613
|
type: "images";
|
|
2548
2614
|
url: string;
|
|
2549
2615
|
imageIntervalS: number;
|
|
2616
|
+
} | {
|
|
2617
|
+
type: "none";
|
|
2550
2618
|
};
|
|
2551
2619
|
input: {
|
|
2552
2620
|
type: "RTSP_URL";
|
|
@@ -2623,6 +2691,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2623
2691
|
type: "images";
|
|
2624
2692
|
url: string;
|
|
2625
2693
|
imageIntervalS: number;
|
|
2694
|
+
} | {
|
|
2695
|
+
type: "none";
|
|
2626
2696
|
};
|
|
2627
2697
|
input: {
|
|
2628
2698
|
type: "RTSP_URL";
|
|
@@ -2697,6 +2767,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2697
2767
|
type: "images";
|
|
2698
2768
|
url: string;
|
|
2699
2769
|
imageIntervalS: number;
|
|
2770
|
+
} | {
|
|
2771
|
+
type: "none";
|
|
2700
2772
|
};
|
|
2701
2773
|
input: {
|
|
2702
2774
|
type: "RTSP_URL";
|
|
@@ -2771,6 +2843,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2771
2843
|
type: "images";
|
|
2772
2844
|
url: string;
|
|
2773
2845
|
imageIntervalS: number;
|
|
2846
|
+
} | {
|
|
2847
|
+
type: "none";
|
|
2774
2848
|
};
|
|
2775
2849
|
input: {
|
|
2776
2850
|
type: "RTSP_URL";
|
|
@@ -2845,6 +2919,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2845
2919
|
type: "images";
|
|
2846
2920
|
url: string;
|
|
2847
2921
|
imageIntervalS: number;
|
|
2922
|
+
} | {
|
|
2923
|
+
type: "none";
|
|
2848
2924
|
};
|
|
2849
2925
|
input: {
|
|
2850
2926
|
type: "RTSP_URL";
|
|
@@ -2919,6 +2995,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2919
2995
|
type: "images";
|
|
2920
2996
|
url: string;
|
|
2921
2997
|
imageIntervalS: number;
|
|
2998
|
+
} | {
|
|
2999
|
+
type: "none";
|
|
2922
3000
|
};
|
|
2923
3001
|
input: {
|
|
2924
3002
|
type: "RTSP_URL";
|
|
@@ -2993,6 +3071,8 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2993
3071
|
type: "images";
|
|
2994
3072
|
url: string;
|
|
2995
3073
|
imageIntervalS: number;
|
|
3074
|
+
} | {
|
|
3075
|
+
type: "none";
|
|
2996
3076
|
};
|
|
2997
3077
|
input: {
|
|
2998
3078
|
type: "RTSP_URL";
|
package/cjs/PlaneTrackerAPI.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare class PlaneTrackerAPI<Client extends IClient<TResponse, any>> ext
|
|
|
15
15
|
ws_initial_message: string;
|
|
16
16
|
alias: string;
|
|
17
17
|
}>;
|
|
18
|
+
postJson: (path: string, data: string | Parameters<Client['post']>[0]['data'], parameters?: TParameters, options?: THttpRequestOptions) => Promise<TResponse>;
|
|
18
19
|
resetPtzCalibration(options?: THttpRequestOptions): Promise<void>;
|
|
19
20
|
resetFocusCalibration(options?: THttpRequestOptions): Promise<void>;
|
|
20
21
|
fetchCameraSettings(options?: THttpRequestOptions): Promise<{
|
package/cjs/PlaneTrackerAPI.js
CHANGED
|
@@ -35,6 +35,9 @@ class PlaneTrackerAPI extends BasicAPI_1.BasicAPI {
|
|
|
35
35
|
});
|
|
36
36
|
return PlaneTrackerAPI_1.wsAliasResponseSchema.parse(await res.json());
|
|
37
37
|
}
|
|
38
|
+
postJson = (path, data, parameters, options) => {
|
|
39
|
+
return this._postJsonEncoded(path, data, parameters, options);
|
|
40
|
+
};
|
|
38
41
|
async resetPtzCalibration(options) {
|
|
39
42
|
const agent = this.getClient(options?.proxyParams);
|
|
40
43
|
const res = await agent.get({
|