New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@evva/nest-xs3-api-client

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evva/nest-xs3-api-client

Client implementation for the Xesar 3 MQTT api interface.

latest
Source
npmnpm
Version
3.0.9
Version published
Maintainers
3
Created
Source

Nest Logo

Nest XS3 Api Client

NPM Version NPM Downloads NPM Unpacked Size (with version) GitHub last commit GitHub branch check runs EVVA License

Install

$ npm i @evva/nest-xs3-api-client

Description

Client implementation for the Xesar 3 MQTT api interface.

Build & Package

# Nest Build
$ nest build

Usage

Import module

import { ClientService } from '@evva/nest-xs3-api-client';

@Module({
  imports: [ClientModule],
  providers: [AppService],
})
export class AppModule {}

Connect

Connect to the broker by passing connect options.

await this.clientService.connect({
  host: 'host',
  port: 1883,
  cert: 'cert',
  certCA: 'certCA',
  key: 'key',
  clientId: 'clientId',
  token: 'token',
} as ClientConnectOptions);

Query results

Query specific resources from the Xesar API with support for pagination and filters.

let result = await this.clientService.queryPaged({
  res: 'evva-components',
  limit: 5,
  offset: 0,
  filters: [
    {
      type: 'eq',
      field: 'status',
      value: 'Synced',
    },
  ],
});

You can auto-paginate all results by omitting the limit and offset properties.

A few of the supported resources are:

export type Resource =
  | 'identification-media'
  | 'authorization-profiles'
  | 'access-protocol'
  | 'persons'
  | 'installation-points'
  | 'evva-components'
  | 'office-modes'
  | 'time-profiles'
  | 'zones';

Execute commands

Execute specific CQRS commands on the Xesar API.

let result = await this.clientService.commandCQRS(
  'RequestAddMediumToInstallationMapi',
  {
    id: 'id',
    commandId: 'commandId',
    terminalId: 'terminalId',
    hardwareId: 'hardwareId',
  },
);

For a full list of supported commands and parameters check the /api/docs of your installation.

License

Proprietary

Keywords

nestjs

FAQs

Package last updated on 04 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts