@apocaliss92/nodelink-js 0.4.12 → 0.4.13
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/README.md +24 -0
- package/dist/BaichuanVideoStream-HGPU2MZ3.js +7 -0
- package/dist/{DiagnosticsTools-HGJGVQXZ.js → DiagnosticsTools-BQOWJ23L.js} +3 -3
- package/dist/{chunk-IJG45AOT.js → chunk-2JNXKT3C.js} +2 -2
- package/dist/{chunk-W2ANCJVM.js → chunk-C57QV7IL.js} +21 -1
- package/dist/chunk-C57QV7IL.js.map +1 -0
- package/dist/{chunk-ND73IJIB.js → chunk-R5AJV73A.js} +589 -8
- package/dist/chunk-R5AJV73A.js.map +1 -0
- package/dist/cli/rtsp-server.cjs +589 -3
- package/dist/cli/rtsp-server.cjs.map +1 -1
- package/dist/cli/rtsp-server.js +3 -3
- package/dist/index.cjs +608 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +344 -31
- package/dist/index.d.ts +364 -26
- package/dist/index.js +23 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/BaichuanVideoStream-PHQG4A2L.js +0 -7
- package/dist/chunk-ND73IJIB.js.map +0 -1
- package/dist/chunk-W2ANCJVM.js.map +0 -1
- /package/dist/{BaichuanVideoStream-PHQG4A2L.js.map → BaichuanVideoStream-HGPU2MZ3.js.map} +0 -0
- /package/dist/{DiagnosticsTools-HGJGVQXZ.js.map → DiagnosticsTools-BQOWJ23L.js.map} +0 -0
- /package/dist/{chunk-IJG45AOT.js.map → chunk-2JNXKT3C.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -134,6 +134,16 @@ declare const BC_CMD_ID_GET_PUSH_TASK = 219;
|
|
|
134
134
|
declare const BC_CMD_ID_SET_PUSH_TASK = 218;
|
|
135
135
|
declare const BC_CMD_ID_GET_AUTO_FOCUS = 224;
|
|
136
136
|
declare const BC_CMD_ID_SET_AUTO_FOCUS = 225;
|
|
137
|
+
declare const BC_CMD_ID_GET_EMAIL = 42;
|
|
138
|
+
declare const BC_CMD_ID_SET_EMAIL = 43;
|
|
139
|
+
declare const BC_CMD_ID_TEST_EMAIL = 141;
|
|
140
|
+
declare const BC_CMD_ID_GET_NTP = 38;
|
|
141
|
+
declare const BC_CMD_ID_SET_NTP = 39;
|
|
142
|
+
declare const BC_CMD_ID_SET_SYSTEM_GENERAL = 105;
|
|
143
|
+
declare const BC_CMD_ID_GET_DST = 106;
|
|
144
|
+
declare const BC_CMD_ID_SET_DST = 107;
|
|
145
|
+
declare const BC_CMD_ID_GET_AUTO_REBOOT = 101;
|
|
146
|
+
declare const BC_CMD_ID_SET_AUTO_REBOOT = 100;
|
|
137
147
|
/** @deprecated Use {@link BC_CMD_ID_SET_LED_STATE} (209). */
|
|
138
148
|
declare const BC_CMD_ID_CMD_123 = 123;
|
|
139
149
|
/** @deprecated Use {@link BC_CMD_ID_SET_LED_STATE} (209). */
|
|
@@ -2082,24 +2092,6 @@ interface VideoInputConfig {
|
|
|
2082
2092
|
};
|
|
2083
2093
|
};
|
|
2084
2094
|
}
|
|
2085
|
-
/**
|
|
2086
|
-
* System general configuration.
|
|
2087
|
-
* cmdId=77 (GetSystemGeneral)
|
|
2088
|
-
*/
|
|
2089
|
-
interface SystemGeneralConfig {
|
|
2090
|
-
body?: {
|
|
2091
|
-
SystemGeneral?: {
|
|
2092
|
-
timeZone?: number | undefined;
|
|
2093
|
-
deviceName?: string | undefined;
|
|
2094
|
-
language?: string | undefined;
|
|
2095
|
-
dstMode?: number | undefined;
|
|
2096
|
-
[key: string]: unknown;
|
|
2097
|
-
};
|
|
2098
|
-
Norm?: {
|
|
2099
|
-
[key: string]: unknown;
|
|
2100
|
-
};
|
|
2101
|
-
};
|
|
2102
|
-
}
|
|
2103
2095
|
/**
|
|
2104
2096
|
* Device support/capability flags.
|
|
2105
2097
|
* cmdId=78 (GetSupport)
|
|
@@ -2149,18 +2141,6 @@ interface FtpTaskConfig {
|
|
|
2149
2141
|
};
|
|
2150
2142
|
};
|
|
2151
2143
|
}
|
|
2152
|
-
/**
|
|
2153
|
-
* Email task configuration.
|
|
2154
|
-
*/
|
|
2155
|
-
interface EmailTaskConfig {
|
|
2156
|
-
body?: {
|
|
2157
|
-
EmailTask?: {
|
|
2158
|
-
channelId?: number | undefined;
|
|
2159
|
-
enable?: number | undefined;
|
|
2160
|
-
[key: string]: unknown;
|
|
2161
|
-
};
|
|
2162
|
-
};
|
|
2163
|
-
}
|
|
2164
2144
|
/**
|
|
2165
2145
|
* HDD info list response.
|
|
2166
2146
|
*/
|
|
@@ -2332,6 +2312,167 @@ interface WirelessChimeSilentState {
|
|
|
2332
2312
|
/** Whether the chime is currently active (not silenced). Derived: time === 0 */
|
|
2333
2313
|
active: boolean;
|
|
2334
2314
|
}
|
|
2315
|
+
/** Image vs video attachment for motion alert emails. */
|
|
2316
|
+
type EmailAttachmentType = "picture" | "video" | "none";
|
|
2317
|
+
/** Whether the alert body carries the standard human-readable text. */
|
|
2318
|
+
type EmailTextType = "withText" | "noText";
|
|
2319
|
+
/**
|
|
2320
|
+
* Email SMTP server configuration. Returned by GetEmail (cmdId=42) and
|
|
2321
|
+
* accepted by SetEmail (cmdId=43) and TestEmail (cmdId=141).
|
|
2322
|
+
*
|
|
2323
|
+
* Read-only fields (only present on GET): `senderMaxLen`, `pwdMaxLen`,
|
|
2324
|
+
* `emailAttachAbility` — the camera-reported capability bitmap.
|
|
2325
|
+
*/
|
|
2326
|
+
interface EmailConfig {
|
|
2327
|
+
smtpServer: string;
|
|
2328
|
+
/** Sender email address / SMTP username. Empty when unconfigured. */
|
|
2329
|
+
userName: string;
|
|
2330
|
+
/** SMTP password. Always sent in cleartext — camera limitation. */
|
|
2331
|
+
password: string;
|
|
2332
|
+
/** Recipient 1. */
|
|
2333
|
+
address1: string;
|
|
2334
|
+
/** Recipient 2 (optional). */
|
|
2335
|
+
address2: string;
|
|
2336
|
+
/** Recipient 3 (optional). */
|
|
2337
|
+
address3: string;
|
|
2338
|
+
smtpPort: number;
|
|
2339
|
+
sendNickname: string;
|
|
2340
|
+
/** 1 = attach picture/video, 0 = text-only. */
|
|
2341
|
+
attachment: 0 | 1;
|
|
2342
|
+
attachmentType: EmailAttachmentType;
|
|
2343
|
+
textType: EmailTextType;
|
|
2344
|
+
/** 1 = SSL/TLS, 0 = plain SMTP. */
|
|
2345
|
+
ssl: 0 | 1;
|
|
2346
|
+
/** Throttle between successive motion mails in seconds. Ignored on battery cams. */
|
|
2347
|
+
interval: number;
|
|
2348
|
+
senderMaxLen?: number;
|
|
2349
|
+
pwdMaxLen?: number;
|
|
2350
|
+
/** Bitmap of supported attachment combinations. */
|
|
2351
|
+
emailAttachAbility?: number;
|
|
2352
|
+
}
|
|
2353
|
+
/** Patch payload accepted by SetEmail. All fields optional — only supplied ones are written. */
|
|
2354
|
+
type EmailConfigPatch = Partial<Omit<EmailConfig, "senderMaxLen" | "pwdMaxLen" | "emailAttachAbility">>;
|
|
2355
|
+
/**
|
|
2356
|
+
* Single entry in the EmailTask `typeScheduleList`. `valueTable` is a
|
|
2357
|
+
* 168-char string of '0'/'1' representing the 7-days × 24-hours grid.
|
|
2358
|
+
*/
|
|
2359
|
+
interface EmailTaskScheduleItem {
|
|
2360
|
+
/**
|
|
2361
|
+
* Trigger type. Known: "MD" (motion), "Normal" (continuous record),
|
|
2362
|
+
* "people", "vehicle", "dog_cat", "face", "package", "cry", "visitor",
|
|
2363
|
+
* "doorbell", "none" (placeholder slot).
|
|
2364
|
+
* Treated as string to cover firmware-specific extensions.
|
|
2365
|
+
*/
|
|
2366
|
+
type: string;
|
|
2367
|
+
/** 168-char 0/1 schedule bitmap. */
|
|
2368
|
+
valueTable: string;
|
|
2369
|
+
}
|
|
2370
|
+
/** Email schedule configuration (cmdId=216/217). */
|
|
2371
|
+
interface EmailTaskConfig {
|
|
2372
|
+
channelId: number;
|
|
2373
|
+
enable: 0 | 1;
|
|
2374
|
+
typeScheduleList: EmailTaskScheduleItem[];
|
|
2375
|
+
}
|
|
2376
|
+
/** NTP server configuration (cmdId=38/39). */
|
|
2377
|
+
interface NtpConfig {
|
|
2378
|
+
/** 1 = NTP sync enabled, 0 = disabled. */
|
|
2379
|
+
enable: 0 | 1;
|
|
2380
|
+
/** Hostname or IP of the NTP server. */
|
|
2381
|
+
server: string;
|
|
2382
|
+
/** Sync interval in minutes. */
|
|
2383
|
+
synchronizeInterval: number;
|
|
2384
|
+
/** UDP port. Default 123. */
|
|
2385
|
+
port: number;
|
|
2386
|
+
}
|
|
2387
|
+
type NtpConfigPatch = Partial<NtpConfig>;
|
|
2388
|
+
/** Day-of-week labels accepted by Dst and AutoReboot blocks. */
|
|
2389
|
+
type DayOfWeek = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "everyday";
|
|
2390
|
+
/** Daylight Saving Time configuration (cmdId=106/107). */
|
|
2391
|
+
interface DstConfig {
|
|
2392
|
+
enable: 0 | 1;
|
|
2393
|
+
/** Offset in hours (typically 1). */
|
|
2394
|
+
offset: number;
|
|
2395
|
+
startMonth: number;
|
|
2396
|
+
/** Week-of-month index (1..5). 5 = "last week of the month". */
|
|
2397
|
+
startWeekIndex: number;
|
|
2398
|
+
startWeekday: DayOfWeek;
|
|
2399
|
+
startHour: number;
|
|
2400
|
+
startMinute: number;
|
|
2401
|
+
startSecond: number;
|
|
2402
|
+
endMonth: number;
|
|
2403
|
+
endWeekIndex: number;
|
|
2404
|
+
endWeekday: DayOfWeek;
|
|
2405
|
+
endHour: number;
|
|
2406
|
+
endMinute: number;
|
|
2407
|
+
endSecond: number;
|
|
2408
|
+
/** Schema version (returned by camera, defaults to 0). */
|
|
2409
|
+
version?: number;
|
|
2410
|
+
}
|
|
2411
|
+
type DstConfigPatch = Partial<DstConfig>;
|
|
2412
|
+
/** OSD date format. */
|
|
2413
|
+
type OsdDateFormat = "DMY" | "MDY" | "YMD";
|
|
2414
|
+
/** 24h (0) or 12h (1) clock format. */
|
|
2415
|
+
type TimeFormat = 0 | 1;
|
|
2416
|
+
/**
|
|
2417
|
+
* Full SystemGeneral block returned by cmdId=104. SET (cmdId=105) accepts a
|
|
2418
|
+
* subset (any combination of these fields) plus the mandatory `<year>0</year>`
|
|
2419
|
+
* marker that signals "do not set the manual clock". When you DO want to set
|
|
2420
|
+
* the manual clock, pass year/month/day/hour/minute/second together.
|
|
2421
|
+
*/
|
|
2422
|
+
interface SystemGeneralConfig {
|
|
2423
|
+
/** Timezone offset in seconds. POSIX convention: UTC+1 → -3600. */
|
|
2424
|
+
timeZone: number;
|
|
2425
|
+
osdFormat: OsdDateFormat;
|
|
2426
|
+
year: number;
|
|
2427
|
+
month: number;
|
|
2428
|
+
day: number;
|
|
2429
|
+
hour: number;
|
|
2430
|
+
minute: number;
|
|
2431
|
+
second: number;
|
|
2432
|
+
deviceId: number;
|
|
2433
|
+
timeFormat: TimeFormat;
|
|
2434
|
+
language: string;
|
|
2435
|
+
deviceName: string;
|
|
2436
|
+
loginLock: 0 | 1;
|
|
2437
|
+
lockTime: number;
|
|
2438
|
+
allowedTimes: number;
|
|
2439
|
+
/** 1 when DST is currently active (camera-side). Read-only on most firmwares. */
|
|
2440
|
+
isDst: 0 | 1;
|
|
2441
|
+
}
|
|
2442
|
+
/**
|
|
2443
|
+
* Patch accepted by SetSystemGeneral. When `manualTime` is provided, the
|
|
2444
|
+
* year/month/day/hour/minute/second fields are sent as-is. When omitted, the
|
|
2445
|
+
* builder injects `<year>0</year>` to skip the manual clock even when other
|
|
2446
|
+
* fields are present. Setting only `deviceName` triggers the
|
|
2447
|
+
* `<deviceNameOnly>1</deviceNameOnly>` flag automatically.
|
|
2448
|
+
*/
|
|
2449
|
+
interface SystemGeneralPatch {
|
|
2450
|
+
timeZone?: number;
|
|
2451
|
+
osdFormat?: OsdDateFormat;
|
|
2452
|
+
timeFormat?: TimeFormat;
|
|
2453
|
+
language?: string;
|
|
2454
|
+
deviceName?: string;
|
|
2455
|
+
loginLock?: 0 | 1;
|
|
2456
|
+
lockTime?: number;
|
|
2457
|
+
allowedTimes?: number;
|
|
2458
|
+
manualTime?: {
|
|
2459
|
+
year: number;
|
|
2460
|
+
month: number;
|
|
2461
|
+
day: number;
|
|
2462
|
+
hour: number;
|
|
2463
|
+
minute: number;
|
|
2464
|
+
second: number;
|
|
2465
|
+
};
|
|
2466
|
+
}
|
|
2467
|
+
/** AutoReboot schedule (cmdId=100/101). */
|
|
2468
|
+
interface AutoRebootConfig {
|
|
2469
|
+
enable: 0 | 1;
|
|
2470
|
+
weekDay: DayOfWeek;
|
|
2471
|
+
hour: number;
|
|
2472
|
+
minute: number;
|
|
2473
|
+
second: number;
|
|
2474
|
+
}
|
|
2475
|
+
type AutoRebootConfigPatch = Partial<AutoRebootConfig>;
|
|
2335
2476
|
|
|
2336
2477
|
type BaichuanClientOptions = {
|
|
2337
2478
|
host: string;
|
|
@@ -7714,6 +7855,178 @@ declare class ReolinkBaichuanApi {
|
|
|
7714
7855
|
getEmailTask(channel?: number, options?: {
|
|
7715
7856
|
timeoutMs?: number;
|
|
7716
7857
|
}): Promise<EmailTaskConfig>;
|
|
7858
|
+
/**
|
|
7859
|
+
* SetEmailTask via Baichuan (cmdId=216). Updates the email alarm schedule
|
|
7860
|
+
* (per-event-type 7×24 valueTable + master enable).
|
|
7861
|
+
*
|
|
7862
|
+
* Reolink expects the FULL `typeScheduleList` — pass the array from a prior
|
|
7863
|
+
* GET and only flip the entries you care about. Slots you don't track must
|
|
7864
|
+
* be sent back unchanged to avoid the camera dropping them.
|
|
7865
|
+
*/
|
|
7866
|
+
setEmailTask(channel: number | undefined, task: EmailTaskConfig, options?: {
|
|
7867
|
+
timeoutMs?: number;
|
|
7868
|
+
}): Promise<void>;
|
|
7869
|
+
/**
|
|
7870
|
+
* Convenience wrapper that patches the schedule of one or more trigger
|
|
7871
|
+
* types on the camera's EmailTask without touching the others.
|
|
7872
|
+
*
|
|
7873
|
+
* Pass a high-level schedule spec (`always` / `never` / explicit windows)
|
|
7874
|
+
* and the trigger types it should apply to. The method:
|
|
7875
|
+
*
|
|
7876
|
+
* 1. Reads the current EmailTask via GET (so we keep every existing slot).
|
|
7877
|
+
* 2. Builds the new `valueTable` once from `schedule`.
|
|
7878
|
+
* 3. Replaces the `valueTable` of every matching `type` in the list.
|
|
7879
|
+
* 4. Appends entries for any requested type not already present.
|
|
7880
|
+
* 5. Writes the merged list back via SET.
|
|
7881
|
+
*
|
|
7882
|
+
* Returns the list of types that were actually touched.
|
|
7883
|
+
*/
|
|
7884
|
+
patchEmailSchedule(channel: number | undefined, spec: {
|
|
7885
|
+
types: string[];
|
|
7886
|
+
schedule: {
|
|
7887
|
+
kind: "always";
|
|
7888
|
+
} | {
|
|
7889
|
+
kind: "never";
|
|
7890
|
+
} | {
|
|
7891
|
+
kind: "windows";
|
|
7892
|
+
windows: Array<{
|
|
7893
|
+
days: number[];
|
|
7894
|
+
startHour: number;
|
|
7895
|
+
endHour: number;
|
|
7896
|
+
}>;
|
|
7897
|
+
};
|
|
7898
|
+
/** When provided, also flips the EmailTask master `enable` flag. */
|
|
7899
|
+
enable?: 0 | 1;
|
|
7900
|
+
}, options?: {
|
|
7901
|
+
timeoutMs?: number;
|
|
7902
|
+
}): Promise<{
|
|
7903
|
+
touchedTypes: string[];
|
|
7904
|
+
}>;
|
|
7905
|
+
/**
|
|
7906
|
+
* Read the SMTP email configuration (cmdId=42). Returns the full `<Email>`
|
|
7907
|
+
* block including capability hints (`senderMaxLen`, `pwdMaxLen`,
|
|
7908
|
+
* `emailAttachAbility`).
|
|
7909
|
+
*/
|
|
7910
|
+
getEmail(options?: {
|
|
7911
|
+
timeoutMs?: number;
|
|
7912
|
+
}): Promise<EmailConfig>;
|
|
7913
|
+
/**
|
|
7914
|
+
* Patch the SMTP email configuration (cmdId=43). Reads the current config
|
|
7915
|
+
* first then merges the patch — Reolink rejects partial `<Email>` blocks.
|
|
7916
|
+
*/
|
|
7917
|
+
setEmail(patch: EmailConfigPatch, options?: {
|
|
7918
|
+
timeoutMs?: number;
|
|
7919
|
+
}): Promise<void>;
|
|
7920
|
+
/**
|
|
7921
|
+
* Send a test email using either the current config or an override patch
|
|
7922
|
+
* (cmdId=141). Returns true when the camera reports 200 (test succeeded),
|
|
7923
|
+
* false when it reports 482 (test failed — server unreachable / bad creds).
|
|
7924
|
+
* Other non-200 codes propagate as exceptions via `sendXml`.
|
|
7925
|
+
*/
|
|
7926
|
+
testEmail(patch?: EmailConfigPatch, options?: {
|
|
7927
|
+
timeoutMs?: number;
|
|
7928
|
+
}): Promise<boolean>;
|
|
7929
|
+
/**
|
|
7930
|
+
* Read the NTP server configuration (cmdId=38).
|
|
7931
|
+
*/
|
|
7932
|
+
getNtp(options?: {
|
|
7933
|
+
timeoutMs?: number;
|
|
7934
|
+
}): Promise<NtpConfig>;
|
|
7935
|
+
/**
|
|
7936
|
+
* Patch the NTP server configuration (cmdId=39). Reads the current state
|
|
7937
|
+
* first and merges the patch — Reolink rejects partial `<Ntp>` blocks.
|
|
7938
|
+
*/
|
|
7939
|
+
setNtp(patch: NtpConfigPatch, options?: {
|
|
7940
|
+
timeoutMs?: number;
|
|
7941
|
+
}): Promise<void>;
|
|
7942
|
+
/**
|
|
7943
|
+
* Patch SystemGeneral (cmdId=105). Supports partial payloads: include only
|
|
7944
|
+
* the fields you want to change. By default the builder emits `<year>0</year>`
|
|
7945
|
+
* as the "do not set manual clock" marker; pass `manualTime` to actually
|
|
7946
|
+
* set the date/time. Setting only `deviceName` automatically uses the
|
|
7947
|
+
* Reolink Client's `deviceNameOnly=1` shape.
|
|
7948
|
+
*/
|
|
7949
|
+
setSystemGeneral(patch: SystemGeneralPatch, options?: {
|
|
7950
|
+
timeoutMs?: number;
|
|
7951
|
+
}): Promise<void>;
|
|
7952
|
+
/**
|
|
7953
|
+
* Read the Daylight Saving Time configuration (cmdId=106).
|
|
7954
|
+
*/
|
|
7955
|
+
getDst(options?: {
|
|
7956
|
+
timeoutMs?: number;
|
|
7957
|
+
}): Promise<DstConfig>;
|
|
7958
|
+
/**
|
|
7959
|
+
* Patch the DST configuration (cmdId=107). Reads the current state first
|
|
7960
|
+
* and merges the patch.
|
|
7961
|
+
*/
|
|
7962
|
+
setDst(patch: DstConfigPatch, options?: {
|
|
7963
|
+
timeoutMs?: number;
|
|
7964
|
+
}): Promise<void>;
|
|
7965
|
+
/**
|
|
7966
|
+
* Read the auto-reboot schedule (cmdId=101).
|
|
7967
|
+
*/
|
|
7968
|
+
getAutoReboot(options?: {
|
|
7969
|
+
timeoutMs?: number;
|
|
7970
|
+
}): Promise<AutoRebootConfig>;
|
|
7971
|
+
/**
|
|
7972
|
+
* Patch the auto-reboot schedule (cmdId=100).
|
|
7973
|
+
*/
|
|
7974
|
+
setAutoReboot(patch: AutoRebootConfigPatch, options?: {
|
|
7975
|
+
timeoutMs?: number;
|
|
7976
|
+
}): Promise<void>;
|
|
7977
|
+
/**
|
|
7978
|
+
* High-level helper that configures the camera to deliver motion alerts via
|
|
7979
|
+
* SMTP to the local nodelink manager. Orchestrates `setEmail` + `setEmailTask`
|
|
7980
|
+
* in a single call so UI code can offer "auto-configure" without juggling
|
|
7981
|
+
* the underlying commands.
|
|
7982
|
+
*
|
|
7983
|
+
* Pass `runTest: true` to also send a test email (cmdId=141). Returns a
|
|
7984
|
+
* structured result describing each leg of the flow so the caller can show
|
|
7985
|
+
* granular feedback.
|
|
7986
|
+
*
|
|
7987
|
+
* @param params Auto-configuration parameters
|
|
7988
|
+
* @param channel Logical channel (default 0). Used for the EmailTask SET.
|
|
7989
|
+
*/
|
|
7990
|
+
setupEmailPushToManager(params: {
|
|
7991
|
+
/** Manager hostname or IP reachable from the camera's network. */
|
|
7992
|
+
managerHost: string;
|
|
7993
|
+
/** Manager SMTP port. Default 2525. */
|
|
7994
|
+
managerPort?: number;
|
|
7995
|
+
/** Per-camera recipient local-part — typically `cam-<cameraId>`. */
|
|
7996
|
+
recipientLocalPart: string;
|
|
7997
|
+
/** Virtual mail domain (must match the server-side setting). */
|
|
7998
|
+
domain?: string;
|
|
7999
|
+
/** Attachment kind on motion. Default "picture". */
|
|
8000
|
+
attachmentType?: "picture" | "video" | "none";
|
|
8001
|
+
/** Optional sender nickname shown in the From header. */
|
|
8002
|
+
sendNickname?: string;
|
|
8003
|
+
/** Interval throttle in seconds (ignored on battery cams). Default 30. */
|
|
8004
|
+
interval?: number;
|
|
8005
|
+
/** Optional SMTP auth — required when the server's `requireAuth` is on. */
|
|
8006
|
+
authUsername?: string;
|
|
8007
|
+
authPassword?: string;
|
|
8008
|
+
/**
|
|
8009
|
+
* Trigger types to enable in the email schedule. Must match the types
|
|
8010
|
+
* already present in the current EmailTask (we patch their schedule to
|
|
8011
|
+
* full-week 24/7, leaving any other slot untouched).
|
|
8012
|
+
*/
|
|
8013
|
+
triggerTypes?: string[];
|
|
8014
|
+
/** Send a test email after the SET. Default false. */
|
|
8015
|
+
runTest?: boolean;
|
|
8016
|
+
}, channel?: number, options?: {
|
|
8017
|
+
timeoutMs?: number;
|
|
8018
|
+
}): Promise<{
|
|
8019
|
+
setEmail: {
|
|
8020
|
+
applied: true;
|
|
8021
|
+
};
|
|
8022
|
+
setEmailTask: {
|
|
8023
|
+
applied: true;
|
|
8024
|
+
touchedTypes: string[];
|
|
8025
|
+
};
|
|
8026
|
+
testEmail?: {
|
|
8027
|
+
success: boolean;
|
|
8028
|
+
};
|
|
8029
|
+
}>;
|
|
7717
8030
|
/**
|
|
7718
8031
|
* Get siren-on-motion state via AudioTask (cmdId=232).
|
|
7719
8032
|
*
|
|
@@ -10682,4 +10995,4 @@ declare function encodeMotionScopeBitmap(scope: MotionZoneScope): string;
|
|
|
10682
10995
|
*/
|
|
10683
10996
|
declare function fullCoverageScope(columns: number, rows: number, width?: number, height?: number): MotionZoneScope;
|
|
10684
10997
|
|
|
10685
|
-
export { type AIDetectionState, type AIEvent, type AIState, type AbilityInfo, type AccessUserListConfig, AesStreamDecryptor, type AiAlarmConfig, type AiConfig, type AiDenoiseConfig, type AiKey, type AiTypesCacheEntry, type AnyBuffer, type AudioAlarmParams, type AudioCfgConfig, type AudioConfig, type AudioNoiseConfig, type AudioTaskConfig, type AutoDetectInputs, type AutoDetectMode, type AutoDetectResult, type AutoFocusConfig, AutodiscoveryClient, type AutodiscoveryClientOptions, BC_AES_IV, BC_CLASS_FILE_DOWNLOAD, BC_CLASS_LEGACY, BC_CLASS_MODERN_20, BC_CLASS_MODERN_24, BC_CLASS_MODERN_24_ALT, BC_CMD_ID_ABILITY_INFO, BC_CMD_ID_ALARM_EVENT_LIST, BC_CMD_ID_AUDIO_ALARM_PLAY, BC_CMD_ID_CHANNEL_INFO_ALL, BC_CMD_ID_CMD_123, BC_CMD_ID_CMD_209, BC_CMD_ID_CMD_265, BC_CMD_ID_CMD_440, BC_CMD_ID_COVER_PREVIEW, BC_CMD_ID_COVER_RESPONSE, BC_CMD_ID_COVER_STANDALONE_458, BC_CMD_ID_COVER_STANDALONE_459, BC_CMD_ID_COVER_STANDALONE_460, BC_CMD_ID_COVER_STANDALONE_461, BC_CMD_ID_COVER_STANDALONE_462, BC_CMD_ID_DING_DONG_CTRL, BC_CMD_ID_DING_DONG_OPT, BC_CMD_ID_FILE_INFO_LIST_CLOSE, BC_CMD_ID_FILE_INFO_LIST_DL_VIDEO, BC_CMD_ID_FILE_INFO_LIST_DOWNLOAD, BC_CMD_ID_FILE_INFO_LIST_GET, BC_CMD_ID_FILE_INFO_LIST_OPEN, BC_CMD_ID_FILE_INFO_LIST_REPLAY, BC_CMD_ID_FILE_INFO_LIST_STOP, BC_CMD_ID_FIND_REC_VIDEO_CLOSE, BC_CMD_ID_FIND_REC_VIDEO_GET, BC_CMD_ID_FIND_REC_VIDEO_OPEN, BC_CMD_ID_FLOODLIGHT_STATUS_LIST, BC_CMD_ID_GET_ABILITY_SUPPORT, BC_CMD_ID_GET_ACCESS_USER_LIST, BC_CMD_ID_GET_AI_ALARM, BC_CMD_ID_GET_AI_CFG, BC_CMD_ID_GET_AI_DENOISE, BC_CMD_ID_GET_AUDIO_ALARM, BC_CMD_ID_GET_AUDIO_CFG, BC_CMD_ID_GET_AUDIO_TASK, BC_CMD_ID_GET_AUTO_FOCUS, BC_CMD_ID_GET_BATTERY_INFO, BC_CMD_ID_GET_BATTERY_INFO_LIST, BC_CMD_ID_GET_DAY_NIGHT_THRESHOLD, BC_CMD_ID_GET_DAY_RECORDS, BC_CMD_ID_GET_DING_DONG_CFG, BC_CMD_ID_GET_DING_DONG_LIST, BC_CMD_ID_GET_DING_DONG_SILENT, BC_CMD_ID_GET_EMAIL_TASK, BC_CMD_ID_GET_ENC, BC_CMD_ID_GET_FTP_TASK, BC_CMD_ID_GET_HDD_INFO_LIST, BC_CMD_ID_GET_KIT_AP_CFG, BC_CMD_ID_GET_LED_STATE, BC_CMD_ID_GET_MOTION_ALARM, BC_CMD_ID_GET_ONLINE_USER_LIST, BC_CMD_ID_GET_OSD_DATETIME, BC_CMD_ID_GET_PIR_INFO, BC_CMD_ID_GET_PRIVACY_MASK, BC_CMD_ID_GET_PTZ_POSITION, BC_CMD_ID_GET_PTZ_PRESET, BC_CMD_ID_GET_PUSH_TASK, BC_CMD_ID_GET_RECORD, BC_CMD_ID_GET_RECORD_CFG, BC_CMD_ID_GET_REC_ENC_CFG, BC_CMD_ID_GET_SIREN_STATUS, BC_CMD_ID_GET_SLEEP_STATE, BC_CMD_ID_GET_STREAM_INFO_LIST, BC_CMD_ID_GET_SUPPORT, BC_CMD_ID_GET_SYSTEM_GENERAL, BC_CMD_ID_GET_TIMELAPSE_CFG, BC_CMD_ID_GET_VERSION_INFO, BC_CMD_ID_GET_VIDEO_INPUT, BC_CMD_ID_GET_WHITE_LED, BC_CMD_ID_GET_WIFI, BC_CMD_ID_GET_WIFI_SIGNAL, BC_CMD_ID_GET_ZOOM_FOCUS, BC_CMD_ID_LOGIN, BC_CMD_ID_LOGOUT, BC_CMD_ID_PING, BC_CMD_ID_PTZ_CONTROL, BC_CMD_ID_PTZ_CONTROL_PRESET, BC_CMD_ID_PUSH_COORDINATE_POINT_LIST, BC_CMD_ID_PUSH_DINGDONG_LIST, BC_CMD_ID_PUSH_NET_INFO, BC_CMD_ID_PUSH_SERIAL, BC_CMD_ID_PUSH_SLEEP_STATUS, BC_CMD_ID_PUSH_VIDEO_INPUT, BC_CMD_ID_QUICK_REPLY_PLAY, BC_CMD_ID_SET_AI_ALARM, BC_CMD_ID_SET_AI_CFG, BC_CMD_ID_SET_AI_DENOISE, BC_CMD_ID_SET_AUDIO_CFG, BC_CMD_ID_SET_AUDIO_TASK, BC_CMD_ID_SET_AUTO_FOCUS, BC_CMD_ID_SET_DAY_NIGHT_THRESHOLD, BC_CMD_ID_SET_DING_DONG_CFG, BC_CMD_ID_SET_DING_DONG_SILENT, BC_CMD_ID_SET_EMAIL_TASK, BC_CMD_ID_SET_ENC, BC_CMD_ID_SET_LED_STATE, BC_CMD_ID_SET_MOTION_ALARM, BC_CMD_ID_SET_OSD_DATETIME, BC_CMD_ID_SET_PIR_INFO, BC_CMD_ID_SET_PRIVACY_MASK, BC_CMD_ID_SET_PUSH_TASK, BC_CMD_ID_SET_RECORD, BC_CMD_ID_SET_RECORD_CFG, BC_CMD_ID_SET_VIDEO_INPUT, BC_CMD_ID_SET_WHITE_LED_STATE, BC_CMD_ID_SET_WHITE_LED_TASK, BC_CMD_ID_SET_ZOOM_FOCUS, BC_CMD_ID_SUPPORT, BC_CMD_ID_TALK, BC_CMD_ID_TALK_ABILITY, BC_CMD_ID_TALK_CONFIG, BC_CMD_ID_TALK_RESET, BC_CMD_ID_UDP_KEEP_ALIVE, BC_CMD_ID_VIDEO, BC_CMD_ID_VIDEO_STOP, BC_MAGIC, BC_MAGIC_REV, BC_TCP_DEFAULT_PORT, BC_XML_KEY, type BaichuanCachedPush, BaichuanClient, type BaichuanClientOptions, type BaichuanCoordinatePointListPush, type BaichuanDingdongListPush, type BaichuanEndpointsServerOptions, BaichuanEventEmitter, type BaichuanFrame, BaichuanFrameParser, type BaichuanGetOsdDatetimeResult, type BaichuanHeader, BaichuanHlsServer, type BaichuanHlsServerOptions, BaichuanHttpStreamServer, type BaichuanHttpStreamServerOptions, type BaichuanLedState, BaichuanMjpegServer, type BaichuanMjpegServerOptions, type BaichuanNetInfoPush, type BaichuanOsdChannelName, type BaichuanOsdDatetime, type BaichuanRecordCfg, type BaichuanRecordSchedule, BaichuanRtspServer, type BaichuanRtspServerOptions, type BaichuanSerialPush, type BaichuanSettingsPushCacheEntry, type BaichuanSleepState, type BaichuanSleepStatusPush, type BaichuanStreamEncodeTable, type BaichuanStreamInfo, type BaichuanStreamInfoList, type BaichuanTransport, type BaichuanVersionInfo, type BaichuanVideoInputPush, BaichuanVideoStream, type BaichuanVideoStreamOptions, BaichuanWebRTCServer, type BaichuanWebRTCServerOptions, type BaichuanWifi, type BaichuanWifiSignal, type BatteryInfo, type BatteryInfoResponse, type BcMedia, type BcMediaAac, type BcMediaAdpcm, BcMediaAnnexBDecoder, type BcMediaAnnexBDecoderStats, type BcMediaAnnexBInfo, type BcMediaAudioFrame, type BcMediaAudioType, BcMediaCodec, type BcMediaIframe, type BcMediaInfoV1, type BcMediaInfoV2, type BcMediaPframe, type BcMediaType, type BcMediaVideoFrame, type BcMediaVideoType, type BcUdpDiscoveryMethod, BcUdpStream, type BcUdpStreamOptions, type CgiAbility, type CgiAbilityChn, type CgiAbilityLeaf, type CgiAiAlarm, type CgiAiCfg, type CgiAiKey, type CgiAiStateValue, type CgiAudioAlarm, type CgiAudioAlarmPlayParam, type CgiAudioCfg, type CgiAudioNoise, type CgiAutoFocus, type CgiBattery, type CgiChannelStatusEntry, type CgiChnTypeInfoValue, type CgiDetectionState, type CgiDevInfo, type CgiDeviceInfoEntries, type CgiEmail, type CgiEnc, type CgiEncStream, type CgiEncValue, type CgiGetAbilityResponse, type CgiGetAbilityValue, type CgiGetAiAlarmValue, type CgiGetAiCfgValue, type CgiGetAiStateResponse, type CgiGetAudioAlarmValue, type CgiGetAudioCfgValue, type CgiGetAudioNoiseValue, type CgiGetAutoFocusValue, type CgiGetChannelstatusResponse, type CgiGetChannelstatusValue, type CgiGetChnTypeInfoResponse, type CgiGetDevInfoResponse, type CgiGetDevInfoValue, type CgiGetEmailValue, type CgiGetEncResponse, type CgiGetImageValue, type CgiGetIrLightsValue, type CgiGetIspValue, type CgiGetMaskValue, type CgiGetMdAlarmValue, type CgiGetOsdValue, type CgiGetPushValue, type CgiGetRecValue, type CgiGetRtspUrlResponse, type CgiGetRtspUrlValue, type CgiGetVideoclipsParams, type CgiImage, type CgiIrLights, type CgiIsp, type CgiMask, type CgiMaskShelter, type CgiMdAlarm, type CgiMdAlarmScope, type CgiMdAlarmSens, type CgiNetPort, type CgiOsd, type CgiPirInfo, type CgiPtzPreset, type CgiPush, type CgiRec, type CgiRecSchedule, type CgiSetAiAlarmParam, type CgiSetAiCfgParam, type CgiSetAudioAlarmParam, type CgiSetAudioCfgParam, type CgiSetAudioNoiseParam, type CgiSetAutoFocusParam, type CgiSetEmailParam, type CgiSetEncParam, type CgiSetImageParam, type CgiSetIrLightsParam, type CgiSetIspParam, type CgiSetMaskParam, type CgiSetMdAlarmParam, type CgiSetOsdParam, type CgiSetPirInfoParam, type CgiSetPushParam, type CgiSetRecParam, type CgiSetWhiteLedParam, type CgiWhiteLed, type ChannelPushCacheEntry, type ChannelPushDataEntry, type ChannelRecordingFile, type ChannelStreamMetadata, type ChimeAlarmCfg, type ChimeCfg, type ChimeDevice, type ChimeParams, type CollectNvrDiagnosticsOptions, CompositeRtspServer, type CompositeRtspServerOptions, CompositeStream, type CompositeStreamOptions, type CompositeStreamPipOptions, type CompressionStream, DUAL_LENS_DUAL_MOTION_MODELS, DUAL_LENS_MODELS, DUAL_LENS_SINGLE_MOTION_MODELS, type DayNightThresholdConfig, type DebugConfig, type DebugOptions, type DeviceAbilities, type DeviceCapabilities, type DeviceCapabilitiesCacheEntry, type DeviceCapabilitiesDebugInfo, type DeviceCapabilitiesResult, type DeviceInfoResponse, type DeviceInputData, type DeviceObjectType, type DeviceStatusResponse, type DeviceSupportFlags, type DeviceType, type DiagnosticsCollectorResult, type DiagnosticsStreamKind, type DiscoveredDevice, type DiscoveryOptions, type DownloadRecordingParams, type DualLensChannelAnalysis, type DualLensChannelInfo, type EmailTaskConfig, type EncConfig, type EncOptions, type EncResolutionOption, type EncStreamOptions, type EncStreamPatch, type EncryptionProtocol, type Events, type EventsResponse, type FloodlightTaskConfig, type FtpTaskConfig, type GetRecordingVideoResult, type GetRecordingVideoStats, type GetVideoclipsParams, type GetVodUrlParams, Go2rtcTcpServer, type Go2rtcTcpServerOptions, H264RtpDepacketizer, H265RtpDepacketizer, type HardwiredChimeState, type HddInfoListConfig, type HlsCodec, type HlsHttpResponse, type HlsServerStatus, type HlsSession, HlsSessionManager, type HlsSessionManagerOptions, type HlsSessionParams, Intercom, type IntercomOptions, type IrLightsConfig, type IspConfig, type JsonObject, type JsonPrimitive, type JsonValue, type LastSleepProbe, type LogLevel, type Logger, type LoggerCallback, type LoginResponseValue, type MaskConfig, type MaxEncryption, type MediaStream, type MjpegFrame, MjpegTransformer, type MjpegTransformerOptions, type ModelFixtureCaptureResult, type MotionAlarmConfig, type MotionEvent, type MotionZoneScope, MpegTsMuxer, type MpegTsMuxerOptions, NVR_HUB_EXACT_TYPES, NVR_HUB_MODEL_PATTERNS, type NativeVideoStreamVariant, type NvrChannelsSummaryCacheEntry, type OnlineUserListConfig, type OsdChannel, type OsdConfig, type OsdTime, type ParsedRecordingFileName, type PipPosition, type PirConfig, type PirState, type PlaybackSnapshotStreamInfo, type PtzCommand, type PtzPosition, type PtzPreset, type RecEncConfig, type RecordingAudioCodec, type RecordingDetectionClass, type RecordingDevType, type RecordingFile, type RecordingPlaybackUrls, type RecordingStreamType, type RecordingVideoCodec, type RecordingVodFlags, type RecordingVodStreamHint, type RecordingsCacheEntry, type RecordingsQueueItem, type ReolinkAiNotification, ReolinkBaichuanApi, type ReolinkBaichuanChannelIdentity, type ReolinkBaichuanChannelInfo, type ReolinkBaichuanDeviceSummary, type ReolinkBaichuanNetworkInfo, type ReolinkBaichuanPorts, ReolinkCgiApi, type ReolinkCmdRequest, type ReolinkCmdResponse, type ReolinkCmdResponseExt, type ReolinkDayNightNotification, type ReolinkDetectionBox, type ReolinkDetectionDecodeState, type ReolinkDetectionEvent, type ReolinkDeviceInfo, type ReolinkDeviceInfoTag, type ReolinkEvent, ReolinkHttpClient, type ReolinkHttpClientOptions, type ReolinkJson, type ReolinkMotionNotification, type ReolinkNvrChannelInfo, type ReolinkNvrDeviceGroupSummary, type ReolinkNvrDeviceGroupsResult, type ReolinkSimpleEvent, type ReolinkSimpleEventType, type ReolinkSupportedStream, type ReolinkVideoStreamOptionsResult, type ReolinkVisitorNotification, type ReplayHttpServer, type ReplayHttpServerOptions, type ResponseMediaStreamOptions, type Rfc4571ApiFactoryContext, type Rfc4571Client, Rfc4571Muxer, type Rfc4571ReplayServer, type Rfc4571ReplayServerOptions, type Rfc4571TcpServer, type Rfc4571TcpServerOptions, type RtpPacketizationOptions, type RtspCreateOptions, type RtspProxyServerOptions, type RtspStreamProfile, type RunAllDiagnosticsConsecutivelyParams, type RunAllDiagnosticsConsecutivelyResult, type RunMultifocalDiagnosticsConsecutivelyParams, type RunMultifocalDiagnosticsConsecutivelyResult, type SirenState, type SirenStatusConfig, type SleepInferenceDecision, type SleepInferenceInput, type SleepInferencePending, type SleepState, type SleepStatus, type StreamMetadata, type StreamProfile, type StreamSamplingOptions, type StreamSamplingSelection, type SupportConfig, type SupportInfo, type SupportItem, type SystemGeneralConfig, type TalkAbility$1 as TalkAbility, type TalkAudioConfig, type TalkConfig, type TalkSession$1 as TalkSession, type TalkSessionInfo, type TimelapseCfgConfig, type TwoWayAudioConfig, type UnknownChunkListener, type VideoCodec, type VideoInputConfig, type VideoParamSets, type VideoStreamOptions, type VideoStreamOptionsCacheEntry, type VideoType, type VideoclipClientInfo, type VideoclipModeDecision, type VideoclipThumbnailResult, type VideoclipTranscodeMode, type VodFile, type VodSearchResponse, type VodSearchResult, type VodSearchStatus, type WakeUpOptions, type WebRTCAnswer, type WebRTCIceCandidate, type WebRTCOffer, type WebRTCSessionInfo, type WhiteLedConfig, type WhiteLedState, type WirelessChimeSilentState, type ZoomFocusStatus, type ZoomFocusTriplet, abilitiesHasAny, aesDecrypt, aesEncrypt, applyStreamPatch, applyXmlTagPatch, asLogger, autoDetectDeviceType, bcDecrypt, bcEncrypt, bcHeaderHasPayloadOffset, buildAacAudioSpecificConfigHex, buildAbilityInfoExtensionXml, buildBinaryExtensionXml, buildChannelExtensionXml, buildFloodlightManualXml, buildHlsRedirectUrl, buildLoginXml, buildLogoutXml, buildPreviewStopXml, buildPreviewStopXmlV11, buildPreviewXml, buildPreviewXmlV11, buildPtzControlXml, buildPtzPresetXml, buildPtzPresetXmlV2, buildRfc4571Sdp, buildRtspPath, buildRtspUrl, buildSirenManualXml, buildSirenTimesXml, buildStartZoomFocusXml, buildWhiteLedStateXml, captureModelFixtures, collectCgiDiagnostics, collectMultifocalDiagnostics, collectNativeDiagnostics, collectNvrDiagnostics, computeDeviceCapabilities, computeExpectedStreamCompatibility, convertToAnnexB as convertH265ToAnnexB, convertToAnnexB$1 as convertToAnnexB, convertToLengthPrefixed, createBaichuanEndpointsServer, createDebugGateLogger, createDiagnosticsBundle, createLogger, createMjpegBoundary, createNativeStream, createNullLogger, createReplayHttpServer, createRfc4571TcpServer, createRfc4571TcpServerForReplay, createRtspProxyServer, createTaggedLogger, decideSleepInferenceTransition, decideVideoclipTranscodeMode, decodeHeader, decodeMotionScopeBitmap, deriveAesKey, detectIosClient, detectVideoCodecFromNal, discoverReolinkDevices, discoverViaArpTable, discoverViaDhcpListener, discoverViaHttpScan, discoverViaOnvif, discoverViaTcpPortScan, discoverViaUdpBroadcast, discoverViaUdpDirect, encodeHeader, encodeMotionScopeBitmap, ensureXmlHeader, extractH264ParamSetsFromAccessUnit, extractH265ParamSetsFromAccessUnit, extractPpsFromAnnexB, extractSpsFromAnnexB, extractVpsFromAnnexB, flattenAbilitiesForChannel, formatMjpegFrame, fullCoverageScope, getConstructedVideoStreamOptions, getGlobalLogger, getH265NalType, getMjpegContentType, getSupportItemForChannel, getVideoStream, getVideoclipClientInfo, getXmlText, hasStartCodes as hasH265StartCodes, hasStartCodes$1 as hasStartCodes, isDualLenseModel, isH264KeyframeAnnexB, isH265Irap, isH265KeyframeAnnexB, isNvrHubModel, isTcpFailureThatShouldFallbackToUdp, isValidH264AnnexBAccessUnit, isValidH265AnnexBAccessUnit, maskUid, md5HexUpper, md5StrModern, normalizeDayNightMode, normalizeOpenClose, normalizeUid, packetizeAacAdtsFrame, packetizeAacRawFrame, packetizeH264, packetizeH265, parseAdtsHeader, parseBcMedia, parseRecordingFileName, parseSupportXml, patchNestedTag, printNvrDiagnostics, runAllDiagnosticsConsecutively, runMultifocalDiagnosticsConsecutively, sampleStreams, sanitizeFixtureData, setGlobalLogger, splitAnnexBToNalPayloads$1 as splitAnnexBToNalPayloads, splitAnnexBToNals, splitAnnexBToNalPayloads as splitH265AnnexBToNalPayloads, testChannelStreams, upsertXmlTag, xmlEscape, xmlIndicatesFloodlight, zipDirectory };
|
|
10998
|
+
export { type AIDetectionState, type AIEvent, type AIState, type AbilityInfo, type AccessUserListConfig, AesStreamDecryptor, type AiAlarmConfig, type AiConfig, type AiDenoiseConfig, type AiKey, type AiTypesCacheEntry, type AnyBuffer, type AudioAlarmParams, type AudioCfgConfig, type AudioConfig, type AudioNoiseConfig, type AudioTaskConfig, type AutoDetectInputs, type AutoDetectMode, type AutoDetectResult, type AutoFocusConfig, type AutoRebootConfig, type AutoRebootConfigPatch, AutodiscoveryClient, type AutodiscoveryClientOptions, BC_AES_IV, BC_CLASS_FILE_DOWNLOAD, BC_CLASS_LEGACY, BC_CLASS_MODERN_20, BC_CLASS_MODERN_24, BC_CLASS_MODERN_24_ALT, BC_CMD_ID_ABILITY_INFO, BC_CMD_ID_ALARM_EVENT_LIST, BC_CMD_ID_AUDIO_ALARM_PLAY, BC_CMD_ID_CHANNEL_INFO_ALL, BC_CMD_ID_CMD_123, BC_CMD_ID_CMD_209, BC_CMD_ID_CMD_265, BC_CMD_ID_CMD_440, BC_CMD_ID_COVER_PREVIEW, BC_CMD_ID_COVER_RESPONSE, BC_CMD_ID_COVER_STANDALONE_458, BC_CMD_ID_COVER_STANDALONE_459, BC_CMD_ID_COVER_STANDALONE_460, BC_CMD_ID_COVER_STANDALONE_461, BC_CMD_ID_COVER_STANDALONE_462, BC_CMD_ID_DING_DONG_CTRL, BC_CMD_ID_DING_DONG_OPT, BC_CMD_ID_FILE_INFO_LIST_CLOSE, BC_CMD_ID_FILE_INFO_LIST_DL_VIDEO, BC_CMD_ID_FILE_INFO_LIST_DOWNLOAD, BC_CMD_ID_FILE_INFO_LIST_GET, BC_CMD_ID_FILE_INFO_LIST_OPEN, BC_CMD_ID_FILE_INFO_LIST_REPLAY, BC_CMD_ID_FILE_INFO_LIST_STOP, BC_CMD_ID_FIND_REC_VIDEO_CLOSE, BC_CMD_ID_FIND_REC_VIDEO_GET, BC_CMD_ID_FIND_REC_VIDEO_OPEN, BC_CMD_ID_FLOODLIGHT_STATUS_LIST, BC_CMD_ID_GET_ABILITY_SUPPORT, BC_CMD_ID_GET_ACCESS_USER_LIST, BC_CMD_ID_GET_AI_ALARM, BC_CMD_ID_GET_AI_CFG, BC_CMD_ID_GET_AI_DENOISE, BC_CMD_ID_GET_AUDIO_ALARM, BC_CMD_ID_GET_AUDIO_CFG, BC_CMD_ID_GET_AUDIO_TASK, BC_CMD_ID_GET_AUTO_FOCUS, BC_CMD_ID_GET_AUTO_REBOOT, BC_CMD_ID_GET_BATTERY_INFO, BC_CMD_ID_GET_BATTERY_INFO_LIST, BC_CMD_ID_GET_DAY_NIGHT_THRESHOLD, BC_CMD_ID_GET_DAY_RECORDS, BC_CMD_ID_GET_DING_DONG_CFG, BC_CMD_ID_GET_DING_DONG_LIST, BC_CMD_ID_GET_DING_DONG_SILENT, BC_CMD_ID_GET_DST, BC_CMD_ID_GET_EMAIL, BC_CMD_ID_GET_EMAIL_TASK, BC_CMD_ID_GET_ENC, BC_CMD_ID_GET_FTP_TASK, BC_CMD_ID_GET_HDD_INFO_LIST, BC_CMD_ID_GET_KIT_AP_CFG, BC_CMD_ID_GET_LED_STATE, BC_CMD_ID_GET_MOTION_ALARM, BC_CMD_ID_GET_NTP, BC_CMD_ID_GET_ONLINE_USER_LIST, BC_CMD_ID_GET_OSD_DATETIME, BC_CMD_ID_GET_PIR_INFO, BC_CMD_ID_GET_PRIVACY_MASK, BC_CMD_ID_GET_PTZ_POSITION, BC_CMD_ID_GET_PTZ_PRESET, BC_CMD_ID_GET_PUSH_TASK, BC_CMD_ID_GET_RECORD, BC_CMD_ID_GET_RECORD_CFG, BC_CMD_ID_GET_REC_ENC_CFG, BC_CMD_ID_GET_SIREN_STATUS, BC_CMD_ID_GET_SLEEP_STATE, BC_CMD_ID_GET_STREAM_INFO_LIST, BC_CMD_ID_GET_SUPPORT, BC_CMD_ID_GET_SYSTEM_GENERAL, BC_CMD_ID_GET_TIMELAPSE_CFG, BC_CMD_ID_GET_VERSION_INFO, BC_CMD_ID_GET_VIDEO_INPUT, BC_CMD_ID_GET_WHITE_LED, BC_CMD_ID_GET_WIFI, BC_CMD_ID_GET_WIFI_SIGNAL, BC_CMD_ID_GET_ZOOM_FOCUS, BC_CMD_ID_LOGIN, BC_CMD_ID_LOGOUT, BC_CMD_ID_PING, BC_CMD_ID_PTZ_CONTROL, BC_CMD_ID_PTZ_CONTROL_PRESET, BC_CMD_ID_PUSH_COORDINATE_POINT_LIST, BC_CMD_ID_PUSH_DINGDONG_LIST, BC_CMD_ID_PUSH_NET_INFO, BC_CMD_ID_PUSH_SERIAL, BC_CMD_ID_PUSH_SLEEP_STATUS, BC_CMD_ID_PUSH_VIDEO_INPUT, BC_CMD_ID_QUICK_REPLY_PLAY, BC_CMD_ID_SET_AI_ALARM, BC_CMD_ID_SET_AI_CFG, BC_CMD_ID_SET_AI_DENOISE, BC_CMD_ID_SET_AUDIO_CFG, BC_CMD_ID_SET_AUDIO_TASK, BC_CMD_ID_SET_AUTO_FOCUS, BC_CMD_ID_SET_AUTO_REBOOT, BC_CMD_ID_SET_DAY_NIGHT_THRESHOLD, BC_CMD_ID_SET_DING_DONG_CFG, BC_CMD_ID_SET_DING_DONG_SILENT, BC_CMD_ID_SET_DST, BC_CMD_ID_SET_EMAIL, BC_CMD_ID_SET_EMAIL_TASK, BC_CMD_ID_SET_ENC, BC_CMD_ID_SET_LED_STATE, BC_CMD_ID_SET_MOTION_ALARM, BC_CMD_ID_SET_NTP, BC_CMD_ID_SET_OSD_DATETIME, BC_CMD_ID_SET_PIR_INFO, BC_CMD_ID_SET_PRIVACY_MASK, BC_CMD_ID_SET_PUSH_TASK, BC_CMD_ID_SET_RECORD, BC_CMD_ID_SET_RECORD_CFG, BC_CMD_ID_SET_SYSTEM_GENERAL, BC_CMD_ID_SET_VIDEO_INPUT, BC_CMD_ID_SET_WHITE_LED_STATE, BC_CMD_ID_SET_WHITE_LED_TASK, BC_CMD_ID_SET_ZOOM_FOCUS, BC_CMD_ID_SUPPORT, BC_CMD_ID_TALK, BC_CMD_ID_TALK_ABILITY, BC_CMD_ID_TALK_CONFIG, BC_CMD_ID_TALK_RESET, BC_CMD_ID_TEST_EMAIL, BC_CMD_ID_UDP_KEEP_ALIVE, BC_CMD_ID_VIDEO, BC_CMD_ID_VIDEO_STOP, BC_MAGIC, BC_MAGIC_REV, BC_TCP_DEFAULT_PORT, BC_XML_KEY, type BaichuanCachedPush, BaichuanClient, type BaichuanClientOptions, type BaichuanCoordinatePointListPush, type BaichuanDingdongListPush, type BaichuanEndpointsServerOptions, BaichuanEventEmitter, type BaichuanFrame, BaichuanFrameParser, type BaichuanGetOsdDatetimeResult, type BaichuanHeader, BaichuanHlsServer, type BaichuanHlsServerOptions, BaichuanHttpStreamServer, type BaichuanHttpStreamServerOptions, type BaichuanLedState, BaichuanMjpegServer, type BaichuanMjpegServerOptions, type BaichuanNetInfoPush, type BaichuanOsdChannelName, type BaichuanOsdDatetime, type BaichuanRecordCfg, type BaichuanRecordSchedule, BaichuanRtspServer, type BaichuanRtspServerOptions, type BaichuanSerialPush, type BaichuanSettingsPushCacheEntry, type BaichuanSleepState, type BaichuanSleepStatusPush, type BaichuanStreamEncodeTable, type BaichuanStreamInfo, type BaichuanStreamInfoList, type BaichuanTransport, type BaichuanVersionInfo, type BaichuanVideoInputPush, BaichuanVideoStream, type BaichuanVideoStreamOptions, BaichuanWebRTCServer, type BaichuanWebRTCServerOptions, type BaichuanWifi, type BaichuanWifiSignal, type BatteryInfo, type BatteryInfoResponse, type BcMedia, type BcMediaAac, type BcMediaAdpcm, BcMediaAnnexBDecoder, type BcMediaAnnexBDecoderStats, type BcMediaAnnexBInfo, type BcMediaAudioFrame, type BcMediaAudioType, BcMediaCodec, type BcMediaIframe, type BcMediaInfoV1, type BcMediaInfoV2, type BcMediaPframe, type BcMediaType, type BcMediaVideoFrame, type BcMediaVideoType, type BcUdpDiscoveryMethod, BcUdpStream, type BcUdpStreamOptions, type CgiAbility, type CgiAbilityChn, type CgiAbilityLeaf, type CgiAiAlarm, type CgiAiCfg, type CgiAiKey, type CgiAiStateValue, type CgiAudioAlarm, type CgiAudioAlarmPlayParam, type CgiAudioCfg, type CgiAudioNoise, type CgiAutoFocus, type CgiBattery, type CgiChannelStatusEntry, type CgiChnTypeInfoValue, type CgiDetectionState, type CgiDevInfo, type CgiDeviceInfoEntries, type CgiEmail, type CgiEnc, type CgiEncStream, type CgiEncValue, type CgiGetAbilityResponse, type CgiGetAbilityValue, type CgiGetAiAlarmValue, type CgiGetAiCfgValue, type CgiGetAiStateResponse, type CgiGetAudioAlarmValue, type CgiGetAudioCfgValue, type CgiGetAudioNoiseValue, type CgiGetAutoFocusValue, type CgiGetChannelstatusResponse, type CgiGetChannelstatusValue, type CgiGetChnTypeInfoResponse, type CgiGetDevInfoResponse, type CgiGetDevInfoValue, type CgiGetEmailValue, type CgiGetEncResponse, type CgiGetImageValue, type CgiGetIrLightsValue, type CgiGetIspValue, type CgiGetMaskValue, type CgiGetMdAlarmValue, type CgiGetOsdValue, type CgiGetPushValue, type CgiGetRecValue, type CgiGetRtspUrlResponse, type CgiGetRtspUrlValue, type CgiGetVideoclipsParams, type CgiImage, type CgiIrLights, type CgiIsp, type CgiMask, type CgiMaskShelter, type CgiMdAlarm, type CgiMdAlarmScope, type CgiMdAlarmSens, type CgiNetPort, type CgiOsd, type CgiPirInfo, type CgiPtzPreset, type CgiPush, type CgiRec, type CgiRecSchedule, type CgiSetAiAlarmParam, type CgiSetAiCfgParam, type CgiSetAudioAlarmParam, type CgiSetAudioCfgParam, type CgiSetAudioNoiseParam, type CgiSetAutoFocusParam, type CgiSetEmailParam, type CgiSetEncParam, type CgiSetImageParam, type CgiSetIrLightsParam, type CgiSetIspParam, type CgiSetMaskParam, type CgiSetMdAlarmParam, type CgiSetOsdParam, type CgiSetPirInfoParam, type CgiSetPushParam, type CgiSetRecParam, type CgiSetWhiteLedParam, type CgiWhiteLed, type ChannelPushCacheEntry, type ChannelPushDataEntry, type ChannelRecordingFile, type ChannelStreamMetadata, type ChimeAlarmCfg, type ChimeCfg, type ChimeDevice, type ChimeParams, type CollectNvrDiagnosticsOptions, CompositeRtspServer, type CompositeRtspServerOptions, CompositeStream, type CompositeStreamOptions, type CompositeStreamPipOptions, type CompressionStream, DUAL_LENS_DUAL_MOTION_MODELS, DUAL_LENS_MODELS, DUAL_LENS_SINGLE_MOTION_MODELS, type DayNightThresholdConfig, type DayOfWeek, type DebugConfig, type DebugOptions, type DeviceAbilities, type DeviceCapabilities, type DeviceCapabilitiesCacheEntry, type DeviceCapabilitiesDebugInfo, type DeviceCapabilitiesResult, type DeviceInfoResponse, type DeviceInputData, type DeviceObjectType, type DeviceStatusResponse, type DeviceSupportFlags, type DeviceType, type DiagnosticsCollectorResult, type DiagnosticsStreamKind, type DiscoveredDevice, type DiscoveryOptions, type DownloadRecordingParams, type DstConfig, type DstConfigPatch, type DualLensChannelAnalysis, type DualLensChannelInfo, type EmailAttachmentType, type EmailConfig, type EmailConfigPatch, type EmailTaskConfig, type EmailTaskScheduleItem, type EmailTextType, type EncConfig, type EncOptions, type EncResolutionOption, type EncStreamOptions, type EncStreamPatch, type EncryptionProtocol, type Events, type EventsResponse, type FloodlightTaskConfig, type FloodlightTaskState, type FtpTaskConfig, type GetRecordingVideoResult, type GetRecordingVideoStats, type GetVideoclipsParams, type GetVodUrlParams, Go2rtcTcpServer, type Go2rtcTcpServerOptions, H264RtpDepacketizer, H265RtpDepacketizer, type HardwiredChimeState, type HddInfoListConfig, type HlsCodec, type HlsHttpResponse, type HlsServerStatus, type HlsSession, HlsSessionManager, type HlsSessionManagerOptions, type HlsSessionParams, Intercom, type IntercomOptions, type IrLightsConfig, type IspConfig, type JsonObject, type JsonPrimitive, type JsonValue, type LastSleepProbe, type LogLevel, type Logger, type LoggerCallback, type LoginResponseValue, type MaskConfig, type MaxEncryption, type MediaStream, type MjpegFrame, MjpegTransformer, type MjpegTransformerOptions, type ModelFixtureCaptureResult, type MotionAlarmConfig, type MotionEvent, type MotionZoneScope, MpegTsMuxer, type MpegTsMuxerOptions, NVR_HUB_EXACT_TYPES, NVR_HUB_MODEL_PATTERNS, type NativeVideoStreamVariant, type NtpConfig, type NtpConfigPatch, type NvrChannelsSummaryCacheEntry, type OnlineUserListConfig, type OsdChannel, type OsdConfig, type OsdDateFormat, type OsdTime, type ParsedRecordingFileName, type PipPosition, type PirConfig, type PirState, type PlaybackSnapshotStreamInfo, type PtzCommand, type PtzPosition, type PtzPreset, type RecEncConfig, type RecordingAudioCodec, type RecordingDetectionClass, type RecordingDevType, type RecordingFile, type RecordingPlaybackUrls, type RecordingStreamType, type RecordingVideoCodec, type RecordingVodFlags, type RecordingVodStreamHint, type RecordingsCacheEntry, type RecordingsQueueItem, type ReolinkAiNotification, ReolinkBaichuanApi, type ReolinkBaichuanChannelIdentity, type ReolinkBaichuanChannelInfo, type ReolinkBaichuanDeviceSummary, type ReolinkBaichuanNetworkInfo, type ReolinkBaichuanPorts, ReolinkCgiApi, type ReolinkCmdRequest, type ReolinkCmdResponse, type ReolinkCmdResponseExt, type ReolinkDayNightNotification, type ReolinkDetectionBox, type ReolinkDetectionDecodeState, type ReolinkDetectionEvent, type ReolinkDeviceInfo, type ReolinkDeviceInfoTag, type ReolinkEvent, ReolinkHttpClient, type ReolinkHttpClientOptions, type ReolinkJson, type ReolinkMotionNotification, type ReolinkNvrChannelInfo, type ReolinkNvrDeviceGroupSummary, type ReolinkNvrDeviceGroupsResult, type ReolinkSimpleEvent, type ReolinkSimpleEventType, type ReolinkSupportedStream, type ReolinkVideoStreamOptionsResult, type ReolinkVisitorNotification, type ReplayHttpServer, type ReplayHttpServerOptions, type ResponseMediaStreamOptions, type Rfc4571ApiFactoryContext, type Rfc4571Client, Rfc4571Muxer, type Rfc4571ReplayServer, type Rfc4571ReplayServerOptions, type Rfc4571TcpServer, type Rfc4571TcpServerOptions, type RtpPacketizationOptions, type RtspCreateOptions, type RtspProxyServerOptions, type RtspStreamProfile, type RunAllDiagnosticsConsecutivelyParams, type RunAllDiagnosticsConsecutivelyResult, type RunMultifocalDiagnosticsConsecutivelyParams, type RunMultifocalDiagnosticsConsecutivelyResult, type SirenState, type SirenStatusConfig, type SleepInferenceDecision, type SleepInferenceInput, type SleepInferencePending, type SleepState, type SleepStatus, type StreamMetadata, type StreamProfile, type StreamSamplingOptions, type StreamSamplingSelection, type SupportConfig, type SupportInfo, type SupportItem, type SystemGeneralConfig, type SystemGeneralPatch, type TalkAbility$1 as TalkAbility, type TalkAudioConfig, type TalkConfig, type TalkSession$1 as TalkSession, type TalkSessionInfo, type TimeFormat, type TimelapseCfgConfig, type TwoWayAudioConfig, type UnknownChunkListener, type VideoCodec, type VideoInputConfig, type VideoParamSets, type VideoStreamOptions, type VideoStreamOptionsCacheEntry, type VideoType, type VideoclipClientInfo, type VideoclipModeDecision, type VideoclipThumbnailResult, type VideoclipTranscodeMode, type VodFile, type VodSearchResponse, type VodSearchResult, type VodSearchStatus, type WakeUpOptions, type WebRTCAnswer, type WebRTCIceCandidate, type WebRTCOffer, type WebRTCSessionInfo, type WhiteLedConfig, type WhiteLedState, type WirelessChimeSilentState, type XmlJsonObject, type XmlJsonPrimitive, type XmlJsonValue, type ZoomFocusStatus, type ZoomFocusTriplet, abilitiesHasAny, aesDecrypt, aesEncrypt, applyStreamPatch, applyXmlTagPatch, asLogger, autoDetectDeviceType, bcDecrypt, bcEncrypt, bcHeaderHasPayloadOffset, buildAacAudioSpecificConfigHex, buildAbilityInfoExtensionXml, buildBinaryExtensionXml, buildChannelExtensionXml, buildFloodlightManualXml, buildHlsRedirectUrl, buildLoginXml, buildLogoutXml, buildPreviewStopXml, buildPreviewStopXmlV11, buildPreviewXml, buildPreviewXmlV11, buildPtzControlXml, buildPtzPresetXml, buildPtzPresetXmlV2, buildRfc4571Sdp, buildRtspPath, buildRtspUrl, buildSirenManualXml, buildSirenTimesXml, buildStartZoomFocusXml, buildWhiteLedStateXml, captureModelFixtures, collectCgiDiagnostics, collectMultifocalDiagnostics, collectNativeDiagnostics, collectNvrDiagnostics, computeDeviceCapabilities, computeExpectedStreamCompatibility, convertToAnnexB as convertH265ToAnnexB, convertToAnnexB$1 as convertToAnnexB, convertToLengthPrefixed, createBaichuanEndpointsServer, createDebugGateLogger, createDiagnosticsBundle, createLogger, createMjpegBoundary, createNativeStream, createNullLogger, createReplayHttpServer, createRfc4571TcpServer, createRfc4571TcpServerForReplay, createRtspProxyServer, createTaggedLogger, decideSleepInferenceTransition, decideVideoclipTranscodeMode, decodeHeader, decodeMotionScopeBitmap, deriveAesKey, detectIosClient, detectVideoCodecFromNal, discoverReolinkDevices, discoverViaArpTable, discoverViaDhcpListener, discoverViaHttpScan, discoverViaOnvif, discoverViaTcpPortScan, discoverViaUdpBroadcast, discoverViaUdpDirect, encodeHeader, encodeMotionScopeBitmap, ensureXmlHeader, extractH264ParamSetsFromAccessUnit, extractH265ParamSetsFromAccessUnit, extractPpsFromAnnexB, extractSpsFromAnnexB, extractVpsFromAnnexB, flattenAbilitiesForChannel, formatMjpegFrame, fullCoverageScope, getConstructedVideoStreamOptions, getGlobalLogger, getH265NalType, getMjpegContentType, getSupportItemForChannel, getVideoStream, getVideoclipClientInfo, getXmlText, hasStartCodes as hasH265StartCodes, hasStartCodes$1 as hasStartCodes, isDualLenseModel, isH264KeyframeAnnexB, isH265Irap, isH265KeyframeAnnexB, isNvrHubModel, isTcpFailureThatShouldFallbackToUdp, isValidH264AnnexBAccessUnit, isValidH265AnnexBAccessUnit, maskUid, md5HexUpper, md5StrModern, normalizeDayNightMode, normalizeOpenClose, normalizeUid, packetizeAacAdtsFrame, packetizeAacRawFrame, packetizeH264, packetizeH265, parseAdtsHeader, parseBcMedia, parseRecordingFileName, parseSupportXml, patchNestedTag, printNvrDiagnostics, runAllDiagnosticsConsecutively, runMultifocalDiagnosticsConsecutively, sampleStreams, sanitizeFixtureData, setGlobalLogger, splitAnnexBToNalPayloads$1 as splitAnnexBToNalPayloads, splitAnnexBToNals, splitAnnexBToNalPayloads as splitH265AnnexBToNalPayloads, testChannelStreams, upsertXmlTag, xmlEscape, xmlIndicatesFloodlight, zipDirectory };
|