tciv-client 0.0.2 → 0.0.3

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/dist/client.d.ts CHANGED
@@ -7,13 +7,13 @@
7
7
  * Auth: HTTP Basic Auth (admin/alphaadmin by default).
8
8
  * All goform endpoints use POST with form-urlencoded bodies.
9
9
  */
10
- import type { ZenitelClientOptions, DeviceInfo, RelayOptions, RelayStatus, CallStatus, SIPConfig, ProvisionConfig, AudioSettings } from './types.js';
10
+ import type { TcivClientOptions, DeviceInfo, RelayOptions, RelayStatus, CallStatus, SIPConfig, ProvisionConfig, AudioSettings } from './types.js';
11
11
  export declare class TcivClient {
12
12
  private opts;
13
13
  private readonly baseUrl;
14
14
  private readonly authHeader;
15
15
  private readonly timeout;
16
- constructor(opts: ZenitelClientOptions);
16
+ constructor(opts: TcivClientOptions);
17
17
  /** Check if the Zenitel is reachable */
18
18
  isReachable(): Promise<boolean>;
19
19
  /** Scrape station info + header for full device data */
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export { TcivClient } from './client.js';
2
- export { TcivClient as ZenitelClient } from './client.js';
3
2
  export { scanNetwork } from './scanner.js';
4
- export type { ZenitelClientOptions as TcivClientOptions, ZenitelClientOptions, ZenitelDevice, ScanOptions, DeviceInfo, RelayOptions, RelayStatus, CallStatus, SIPConfig, ProvisionConfig, AudioSettings, AudioOutputDevice, AudioInputDevice, AECSettings, ANCSettings, FESSSettings, DRCSettings, AVCSettings, } from './types.js';
3
+ export type { TcivClientOptions, TcivDevice, ScanOptions, DeviceInfo, RelayOptions, RelayStatus, CallStatus, SIPConfig, ProvisionConfig, AudioSettings, AudioOutputDevice, AudioInputDevice, AECSettings, ANCSettings, FESSSettings, DRCSettings, AVCSettings, } from './types.js';
package/dist/index.js CHANGED
@@ -1,3 +1,2 @@
1
1
  export { TcivClient } from './client.js';
2
- export { TcivClient as ZenitelClient } from './client.js';
3
2
  export { scanNetwork } from './scanner.js';
package/dist/scanner.d.ts CHANGED
@@ -6,5 +6,5 @@
6
6
  *
7
7
  * Both strategies run in parallel and results are merged by IP.
8
8
  */
9
- import type { ZenitelDevice, ScanOptions } from './types.js';
10
- export declare function scanNetwork(opts?: ScanOptions): Promise<ZenitelDevice[]>;
9
+ import type { TcivDevice, ScanOptions } from './types.js';
10
+ export declare function scanNetwork(opts?: ScanOptions): Promise<TcivDevice[]>;
package/dist/types.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * All interfaces for the Zenitel HTTP scraper, scanner, and CLI.
5
5
  */
6
- export interface ZenitelClientOptions {
6
+ export interface TcivClientOptions {
7
7
  /** IP or hostname of the Zenitel intercom (e.g. "192.168.1.143") */
8
8
  host: string;
9
9
  /** Web UI username. Default: "admin" */
@@ -15,7 +15,7 @@ export interface ZenitelClientOptions {
15
15
  /** HTTP request timeout in ms. Default: 5000 */
16
16
  timeout?: number;
17
17
  }
18
- export interface ZenitelDevice {
18
+ export interface TcivDevice {
19
19
  ip: string;
20
20
  mac: string;
21
21
  model?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tciv-client",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "HTTP client for TCIV-series intercom systems (TCIV-2+, TCIV-3). Control relays, SIP configuration, DAK provisioning, webcall, audio settings, and camera feeds.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",