mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-28 15:09:42 +00:00
632 lines
23 KiB
TypeScript
Vendored
632 lines
23 KiB
TypeScript
Vendored
import * as jspb from 'google-protobuf'
|
|
|
|
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
|
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
import * as api_user_pb from '../api/user_pb';
|
|
|
|
|
|
export class ApiKey extends jspb.Message {
|
|
getId(): string;
|
|
setId(value: string): ApiKey;
|
|
|
|
getName(): string;
|
|
setName(value: string): ApiKey;
|
|
|
|
getIsAdmin(): boolean;
|
|
setIsAdmin(value: boolean): ApiKey;
|
|
|
|
getTenantId(): string;
|
|
setTenantId(value: string): ApiKey;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): ApiKey.AsObject;
|
|
static toObject(includeInstance: boolean, msg: ApiKey): ApiKey.AsObject;
|
|
static serializeBinaryToWriter(message: ApiKey, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): ApiKey;
|
|
static deserializeBinaryFromReader(message: ApiKey, reader: jspb.BinaryReader): ApiKey;
|
|
}
|
|
|
|
export namespace ApiKey {
|
|
export type AsObject = {
|
|
id: string,
|
|
name: string,
|
|
isAdmin: boolean,
|
|
tenantId: string,
|
|
}
|
|
}
|
|
|
|
export class CreateApiKeyRequest extends jspb.Message {
|
|
getApiKey(): ApiKey | undefined;
|
|
setApiKey(value?: ApiKey): CreateApiKeyRequest;
|
|
hasApiKey(): boolean;
|
|
clearApiKey(): CreateApiKeyRequest;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): CreateApiKeyRequest.AsObject;
|
|
static toObject(includeInstance: boolean, msg: CreateApiKeyRequest): CreateApiKeyRequest.AsObject;
|
|
static serializeBinaryToWriter(message: CreateApiKeyRequest, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): CreateApiKeyRequest;
|
|
static deserializeBinaryFromReader(message: CreateApiKeyRequest, reader: jspb.BinaryReader): CreateApiKeyRequest;
|
|
}
|
|
|
|
export namespace CreateApiKeyRequest {
|
|
export type AsObject = {
|
|
apiKey?: ApiKey.AsObject,
|
|
}
|
|
}
|
|
|
|
export class CreateApiKeyResponse extends jspb.Message {
|
|
getId(): string;
|
|
setId(value: string): CreateApiKeyResponse;
|
|
|
|
getToken(): string;
|
|
setToken(value: string): CreateApiKeyResponse;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): CreateApiKeyResponse.AsObject;
|
|
static toObject(includeInstance: boolean, msg: CreateApiKeyResponse): CreateApiKeyResponse.AsObject;
|
|
static serializeBinaryToWriter(message: CreateApiKeyResponse, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): CreateApiKeyResponse;
|
|
static deserializeBinaryFromReader(message: CreateApiKeyResponse, reader: jspb.BinaryReader): CreateApiKeyResponse;
|
|
}
|
|
|
|
export namespace CreateApiKeyResponse {
|
|
export type AsObject = {
|
|
id: string,
|
|
token: string,
|
|
}
|
|
}
|
|
|
|
export class DeleteApiKeyRequest extends jspb.Message {
|
|
getId(): string;
|
|
setId(value: string): DeleteApiKeyRequest;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): DeleteApiKeyRequest.AsObject;
|
|
static toObject(includeInstance: boolean, msg: DeleteApiKeyRequest): DeleteApiKeyRequest.AsObject;
|
|
static serializeBinaryToWriter(message: DeleteApiKeyRequest, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): DeleteApiKeyRequest;
|
|
static deserializeBinaryFromReader(message: DeleteApiKeyRequest, reader: jspb.BinaryReader): DeleteApiKeyRequest;
|
|
}
|
|
|
|
export namespace DeleteApiKeyRequest {
|
|
export type AsObject = {
|
|
id: string,
|
|
}
|
|
}
|
|
|
|
export class ListApiKeysRequest extends jspb.Message {
|
|
getLimit(): number;
|
|
setLimit(value: number): ListApiKeysRequest;
|
|
|
|
getOffset(): number;
|
|
setOffset(value: number): ListApiKeysRequest;
|
|
|
|
getIsAdmin(): boolean;
|
|
setIsAdmin(value: boolean): ListApiKeysRequest;
|
|
|
|
getTenantId(): string;
|
|
setTenantId(value: string): ListApiKeysRequest;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): ListApiKeysRequest.AsObject;
|
|
static toObject(includeInstance: boolean, msg: ListApiKeysRequest): ListApiKeysRequest.AsObject;
|
|
static serializeBinaryToWriter(message: ListApiKeysRequest, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): ListApiKeysRequest;
|
|
static deserializeBinaryFromReader(message: ListApiKeysRequest, reader: jspb.BinaryReader): ListApiKeysRequest;
|
|
}
|
|
|
|
export namespace ListApiKeysRequest {
|
|
export type AsObject = {
|
|
limit: number,
|
|
offset: number,
|
|
isAdmin: boolean,
|
|
tenantId: string,
|
|
}
|
|
}
|
|
|
|
export class ListApiKeysResponse extends jspb.Message {
|
|
getTotalCount(): number;
|
|
setTotalCount(value: number): ListApiKeysResponse;
|
|
|
|
getResultList(): Array<ApiKey>;
|
|
setResultList(value: Array<ApiKey>): ListApiKeysResponse;
|
|
clearResultList(): ListApiKeysResponse;
|
|
addResult(value?: ApiKey, index?: number): ApiKey;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): ListApiKeysResponse.AsObject;
|
|
static toObject(includeInstance: boolean, msg: ListApiKeysResponse): ListApiKeysResponse.AsObject;
|
|
static serializeBinaryToWriter(message: ListApiKeysResponse, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): ListApiKeysResponse;
|
|
static deserializeBinaryFromReader(message: ListApiKeysResponse, reader: jspb.BinaryReader): ListApiKeysResponse;
|
|
}
|
|
|
|
export namespace ListApiKeysResponse {
|
|
export type AsObject = {
|
|
totalCount: number,
|
|
resultList: Array<ApiKey.AsObject>,
|
|
}
|
|
}
|
|
|
|
export class UserTenantLink extends jspb.Message {
|
|
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): UserTenantLink;
|
|
hasCreatedAt(): boolean;
|
|
clearCreatedAt(): UserTenantLink;
|
|
|
|
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): UserTenantLink;
|
|
hasUpdatedAt(): boolean;
|
|
clearUpdatedAt(): UserTenantLink;
|
|
|
|
getTenantId(): string;
|
|
setTenantId(value: string): UserTenantLink;
|
|
|
|
getIsAdmin(): boolean;
|
|
setIsAdmin(value: boolean): UserTenantLink;
|
|
|
|
getIsDeviceAdmin(): boolean;
|
|
setIsDeviceAdmin(value: boolean): UserTenantLink;
|
|
|
|
getIsGatewayAdmin(): boolean;
|
|
setIsGatewayAdmin(value: boolean): UserTenantLink;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): UserTenantLink.AsObject;
|
|
static toObject(includeInstance: boolean, msg: UserTenantLink): UserTenantLink.AsObject;
|
|
static serializeBinaryToWriter(message: UserTenantLink, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): UserTenantLink;
|
|
static deserializeBinaryFromReader(message: UserTenantLink, reader: jspb.BinaryReader): UserTenantLink;
|
|
}
|
|
|
|
export namespace UserTenantLink {
|
|
export type AsObject = {
|
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
tenantId: string,
|
|
isAdmin: boolean,
|
|
isDeviceAdmin: boolean,
|
|
isGatewayAdmin: boolean,
|
|
}
|
|
}
|
|
|
|
export class LoginRequest extends jspb.Message {
|
|
getEmail(): string;
|
|
setEmail(value: string): LoginRequest;
|
|
|
|
getPassword(): string;
|
|
setPassword(value: string): LoginRequest;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): LoginRequest.AsObject;
|
|
static toObject(includeInstance: boolean, msg: LoginRequest): LoginRequest.AsObject;
|
|
static serializeBinaryToWriter(message: LoginRequest, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): LoginRequest;
|
|
static deserializeBinaryFromReader(message: LoginRequest, reader: jspb.BinaryReader): LoginRequest;
|
|
}
|
|
|
|
export namespace LoginRequest {
|
|
export type AsObject = {
|
|
email: string,
|
|
password: string,
|
|
}
|
|
}
|
|
|
|
export class LoginResponse extends jspb.Message {
|
|
getJwt(): string;
|
|
setJwt(value: string): LoginResponse;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): LoginResponse.AsObject;
|
|
static toObject(includeInstance: boolean, msg: LoginResponse): LoginResponse.AsObject;
|
|
static serializeBinaryToWriter(message: LoginResponse, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): LoginResponse;
|
|
static deserializeBinaryFromReader(message: LoginResponse, reader: jspb.BinaryReader): LoginResponse;
|
|
}
|
|
|
|
export namespace LoginResponse {
|
|
export type AsObject = {
|
|
jwt: string,
|
|
}
|
|
}
|
|
|
|
export class ProfileResponse extends jspb.Message {
|
|
getUser(): api_user_pb.User | undefined;
|
|
setUser(value?: api_user_pb.User): ProfileResponse;
|
|
hasUser(): boolean;
|
|
clearUser(): ProfileResponse;
|
|
|
|
getTenantsList(): Array<UserTenantLink>;
|
|
setTenantsList(value: Array<UserTenantLink>): ProfileResponse;
|
|
clearTenantsList(): ProfileResponse;
|
|
addTenants(value?: UserTenantLink, index?: number): UserTenantLink;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): ProfileResponse.AsObject;
|
|
static toObject(includeInstance: boolean, msg: ProfileResponse): ProfileResponse.AsObject;
|
|
static serializeBinaryToWriter(message: ProfileResponse, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): ProfileResponse;
|
|
static deserializeBinaryFromReader(message: ProfileResponse, reader: jspb.BinaryReader): ProfileResponse;
|
|
}
|
|
|
|
export namespace ProfileResponse {
|
|
export type AsObject = {
|
|
user?: api_user_pb.User.AsObject,
|
|
tenantsList: Array<UserTenantLink.AsObject>,
|
|
}
|
|
}
|
|
|
|
export class GlobalSearchRequest extends jspb.Message {
|
|
getSearch(): string;
|
|
setSearch(value: string): GlobalSearchRequest;
|
|
|
|
getLimit(): number;
|
|
setLimit(value: number): GlobalSearchRequest;
|
|
|
|
getOffset(): number;
|
|
setOffset(value: number): GlobalSearchRequest;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): GlobalSearchRequest.AsObject;
|
|
static toObject(includeInstance: boolean, msg: GlobalSearchRequest): GlobalSearchRequest.AsObject;
|
|
static serializeBinaryToWriter(message: GlobalSearchRequest, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): GlobalSearchRequest;
|
|
static deserializeBinaryFromReader(message: GlobalSearchRequest, reader: jspb.BinaryReader): GlobalSearchRequest;
|
|
}
|
|
|
|
export namespace GlobalSearchRequest {
|
|
export type AsObject = {
|
|
search: string,
|
|
limit: number,
|
|
offset: number,
|
|
}
|
|
}
|
|
|
|
export class GlobalSearchResponse extends jspb.Message {
|
|
getResultList(): Array<GlobalSearchResult>;
|
|
setResultList(value: Array<GlobalSearchResult>): GlobalSearchResponse;
|
|
clearResultList(): GlobalSearchResponse;
|
|
addResult(value?: GlobalSearchResult, index?: number): GlobalSearchResult;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): GlobalSearchResponse.AsObject;
|
|
static toObject(includeInstance: boolean, msg: GlobalSearchResponse): GlobalSearchResponse.AsObject;
|
|
static serializeBinaryToWriter(message: GlobalSearchResponse, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): GlobalSearchResponse;
|
|
static deserializeBinaryFromReader(message: GlobalSearchResponse, reader: jspb.BinaryReader): GlobalSearchResponse;
|
|
}
|
|
|
|
export namespace GlobalSearchResponse {
|
|
export type AsObject = {
|
|
resultList: Array<GlobalSearchResult.AsObject>,
|
|
}
|
|
}
|
|
|
|
export class GlobalSearchResult extends jspb.Message {
|
|
getKind(): string;
|
|
setKind(value: string): GlobalSearchResult;
|
|
|
|
getScore(): number;
|
|
setScore(value: number): GlobalSearchResult;
|
|
|
|
getTenantId(): string;
|
|
setTenantId(value: string): GlobalSearchResult;
|
|
|
|
getTenantName(): string;
|
|
setTenantName(value: string): GlobalSearchResult;
|
|
|
|
getApplicationId(): string;
|
|
setApplicationId(value: string): GlobalSearchResult;
|
|
|
|
getApplicationName(): string;
|
|
setApplicationName(value: string): GlobalSearchResult;
|
|
|
|
getDeviceDevEui(): string;
|
|
setDeviceDevEui(value: string): GlobalSearchResult;
|
|
|
|
getDeviceName(): string;
|
|
setDeviceName(value: string): GlobalSearchResult;
|
|
|
|
getGatewayId(): string;
|
|
setGatewayId(value: string): GlobalSearchResult;
|
|
|
|
getGatewayName(): string;
|
|
setGatewayName(value: string): GlobalSearchResult;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): GlobalSearchResult.AsObject;
|
|
static toObject(includeInstance: boolean, msg: GlobalSearchResult): GlobalSearchResult.AsObject;
|
|
static serializeBinaryToWriter(message: GlobalSearchResult, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): GlobalSearchResult;
|
|
static deserializeBinaryFromReader(message: GlobalSearchResult, reader: jspb.BinaryReader): GlobalSearchResult;
|
|
}
|
|
|
|
export namespace GlobalSearchResult {
|
|
export type AsObject = {
|
|
kind: string,
|
|
score: number,
|
|
tenantId: string,
|
|
tenantName: string,
|
|
applicationId: string,
|
|
applicationName: string,
|
|
deviceDevEui: string,
|
|
deviceName: string,
|
|
gatewayId: string,
|
|
gatewayName: string,
|
|
}
|
|
}
|
|
|
|
export class SettingsResponse extends jspb.Message {
|
|
getOpenidConnect(): OpenIdConnect | undefined;
|
|
setOpenidConnect(value?: OpenIdConnect): SettingsResponse;
|
|
hasOpenidConnect(): boolean;
|
|
clearOpenidConnect(): SettingsResponse;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): SettingsResponse.AsObject;
|
|
static toObject(includeInstance: boolean, msg: SettingsResponse): SettingsResponse.AsObject;
|
|
static serializeBinaryToWriter(message: SettingsResponse, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): SettingsResponse;
|
|
static deserializeBinaryFromReader(message: SettingsResponse, reader: jspb.BinaryReader): SettingsResponse;
|
|
}
|
|
|
|
export namespace SettingsResponse {
|
|
export type AsObject = {
|
|
openidConnect?: OpenIdConnect.AsObject,
|
|
}
|
|
}
|
|
|
|
export class OpenIdConnect extends jspb.Message {
|
|
getEnabled(): boolean;
|
|
setEnabled(value: boolean): OpenIdConnect;
|
|
|
|
getLoginUrl(): string;
|
|
setLoginUrl(value: string): OpenIdConnect;
|
|
|
|
getLoginLabel(): string;
|
|
setLoginLabel(value: string): OpenIdConnect;
|
|
|
|
getLogoutUrl(): string;
|
|
setLogoutUrl(value: string): OpenIdConnect;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): OpenIdConnect.AsObject;
|
|
static toObject(includeInstance: boolean, msg: OpenIdConnect): OpenIdConnect.AsObject;
|
|
static serializeBinaryToWriter(message: OpenIdConnect, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): OpenIdConnect;
|
|
static deserializeBinaryFromReader(message: OpenIdConnect, reader: jspb.BinaryReader): OpenIdConnect;
|
|
}
|
|
|
|
export namespace OpenIdConnect {
|
|
export type AsObject = {
|
|
enabled: boolean,
|
|
loginUrl: string,
|
|
loginLabel: string,
|
|
logoutUrl: string,
|
|
}
|
|
}
|
|
|
|
export class OpenIdConnectLoginRequest extends jspb.Message {
|
|
getCode(): string;
|
|
setCode(value: string): OpenIdConnectLoginRequest;
|
|
|
|
getState(): string;
|
|
setState(value: string): OpenIdConnectLoginRequest;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): OpenIdConnectLoginRequest.AsObject;
|
|
static toObject(includeInstance: boolean, msg: OpenIdConnectLoginRequest): OpenIdConnectLoginRequest.AsObject;
|
|
static serializeBinaryToWriter(message: OpenIdConnectLoginRequest, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): OpenIdConnectLoginRequest;
|
|
static deserializeBinaryFromReader(message: OpenIdConnectLoginRequest, reader: jspb.BinaryReader): OpenIdConnectLoginRequest;
|
|
}
|
|
|
|
export namespace OpenIdConnectLoginRequest {
|
|
export type AsObject = {
|
|
code: string,
|
|
state: string,
|
|
}
|
|
}
|
|
|
|
export class OpenIdConnectLoginResponse extends jspb.Message {
|
|
getToken(): string;
|
|
setToken(value: string): OpenIdConnectLoginResponse;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): OpenIdConnectLoginResponse.AsObject;
|
|
static toObject(includeInstance: boolean, msg: OpenIdConnectLoginResponse): OpenIdConnectLoginResponse.AsObject;
|
|
static serializeBinaryToWriter(message: OpenIdConnectLoginResponse, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): OpenIdConnectLoginResponse;
|
|
static deserializeBinaryFromReader(message: OpenIdConnectLoginResponse, reader: jspb.BinaryReader): OpenIdConnectLoginResponse;
|
|
}
|
|
|
|
export namespace OpenIdConnectLoginResponse {
|
|
export type AsObject = {
|
|
token: string,
|
|
}
|
|
}
|
|
|
|
export class GetDevicesSummaryRequest extends jspb.Message {
|
|
getTenantId(): string;
|
|
setTenantId(value: string): GetDevicesSummaryRequest;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): GetDevicesSummaryRequest.AsObject;
|
|
static toObject(includeInstance: boolean, msg: GetDevicesSummaryRequest): GetDevicesSummaryRequest.AsObject;
|
|
static serializeBinaryToWriter(message: GetDevicesSummaryRequest, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): GetDevicesSummaryRequest;
|
|
static deserializeBinaryFromReader(message: GetDevicesSummaryRequest, reader: jspb.BinaryReader): GetDevicesSummaryRequest;
|
|
}
|
|
|
|
export namespace GetDevicesSummaryRequest {
|
|
export type AsObject = {
|
|
tenantId: string,
|
|
}
|
|
}
|
|
|
|
export class GetDevicesSummaryResponse extends jspb.Message {
|
|
getActiveCount(): number;
|
|
setActiveCount(value: number): GetDevicesSummaryResponse;
|
|
|
|
getInactiveCount(): number;
|
|
setInactiveCount(value: number): GetDevicesSummaryResponse;
|
|
|
|
getDrCountMap(): jspb.Map<number, number>;
|
|
clearDrCountMap(): GetDevicesSummaryResponse;
|
|
|
|
getNeverSeenCount(): number;
|
|
setNeverSeenCount(value: number): GetDevicesSummaryResponse;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): GetDevicesSummaryResponse.AsObject;
|
|
static toObject(includeInstance: boolean, msg: GetDevicesSummaryResponse): GetDevicesSummaryResponse.AsObject;
|
|
static serializeBinaryToWriter(message: GetDevicesSummaryResponse, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): GetDevicesSummaryResponse;
|
|
static deserializeBinaryFromReader(message: GetDevicesSummaryResponse, reader: jspb.BinaryReader): GetDevicesSummaryResponse;
|
|
}
|
|
|
|
export namespace GetDevicesSummaryResponse {
|
|
export type AsObject = {
|
|
activeCount: number,
|
|
inactiveCount: number,
|
|
drCountMap: Array<[number, number]>,
|
|
neverSeenCount: number,
|
|
}
|
|
}
|
|
|
|
export class GetGatewaysSummaryRequest extends jspb.Message {
|
|
getTenantId(): string;
|
|
setTenantId(value: string): GetGatewaysSummaryRequest;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): GetGatewaysSummaryRequest.AsObject;
|
|
static toObject(includeInstance: boolean, msg: GetGatewaysSummaryRequest): GetGatewaysSummaryRequest.AsObject;
|
|
static serializeBinaryToWriter(message: GetGatewaysSummaryRequest, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): GetGatewaysSummaryRequest;
|
|
static deserializeBinaryFromReader(message: GetGatewaysSummaryRequest, reader: jspb.BinaryReader): GetGatewaysSummaryRequest;
|
|
}
|
|
|
|
export namespace GetGatewaysSummaryRequest {
|
|
export type AsObject = {
|
|
tenantId: string,
|
|
}
|
|
}
|
|
|
|
export class GetGatewaysSummaryResponse extends jspb.Message {
|
|
getActiveCount(): number;
|
|
setActiveCount(value: number): GetGatewaysSummaryResponse;
|
|
|
|
getInactiveCount(): number;
|
|
setInactiveCount(value: number): GetGatewaysSummaryResponse;
|
|
|
|
getNeverSeenCount(): number;
|
|
setNeverSeenCount(value: number): GetGatewaysSummaryResponse;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): GetGatewaysSummaryResponse.AsObject;
|
|
static toObject(includeInstance: boolean, msg: GetGatewaysSummaryResponse): GetGatewaysSummaryResponse.AsObject;
|
|
static serializeBinaryToWriter(message: GetGatewaysSummaryResponse, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): GetGatewaysSummaryResponse;
|
|
static deserializeBinaryFromReader(message: GetGatewaysSummaryResponse, reader: jspb.BinaryReader): GetGatewaysSummaryResponse;
|
|
}
|
|
|
|
export namespace GetGatewaysSummaryResponse {
|
|
export type AsObject = {
|
|
activeCount: number,
|
|
inactiveCount: number,
|
|
neverSeenCount: number,
|
|
}
|
|
}
|
|
|
|
export class LogItem extends jspb.Message {
|
|
getId(): string;
|
|
setId(value: string): LogItem;
|
|
|
|
getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
setTime(value?: google_protobuf_timestamp_pb.Timestamp): LogItem;
|
|
hasTime(): boolean;
|
|
clearTime(): LogItem;
|
|
|
|
getDescription(): string;
|
|
setDescription(value: string): LogItem;
|
|
|
|
getBody(): string;
|
|
setBody(value: string): LogItem;
|
|
|
|
getPropertiesMap(): jspb.Map<string, string>;
|
|
clearPropertiesMap(): LogItem;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): LogItem.AsObject;
|
|
static toObject(includeInstance: boolean, msg: LogItem): LogItem.AsObject;
|
|
static serializeBinaryToWriter(message: LogItem, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): LogItem;
|
|
static deserializeBinaryFromReader(message: LogItem, reader: jspb.BinaryReader): LogItem;
|
|
}
|
|
|
|
export namespace LogItem {
|
|
export type AsObject = {
|
|
id: string,
|
|
time?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
description: string,
|
|
body: string,
|
|
propertiesMap: Array<[string, string]>,
|
|
}
|
|
}
|
|
|
|
export class StreamGatewayFramesRequest extends jspb.Message {
|
|
getGatewayId(): string;
|
|
setGatewayId(value: string): StreamGatewayFramesRequest;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): StreamGatewayFramesRequest.AsObject;
|
|
static toObject(includeInstance: boolean, msg: StreamGatewayFramesRequest): StreamGatewayFramesRequest.AsObject;
|
|
static serializeBinaryToWriter(message: StreamGatewayFramesRequest, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): StreamGatewayFramesRequest;
|
|
static deserializeBinaryFromReader(message: StreamGatewayFramesRequest, reader: jspb.BinaryReader): StreamGatewayFramesRequest;
|
|
}
|
|
|
|
export namespace StreamGatewayFramesRequest {
|
|
export type AsObject = {
|
|
gatewayId: string,
|
|
}
|
|
}
|
|
|
|
export class StreamDeviceFramesRequest extends jspb.Message {
|
|
getDevEui(): string;
|
|
setDevEui(value: string): StreamDeviceFramesRequest;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): StreamDeviceFramesRequest.AsObject;
|
|
static toObject(includeInstance: boolean, msg: StreamDeviceFramesRequest): StreamDeviceFramesRequest.AsObject;
|
|
static serializeBinaryToWriter(message: StreamDeviceFramesRequest, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): StreamDeviceFramesRequest;
|
|
static deserializeBinaryFromReader(message: StreamDeviceFramesRequest, reader: jspb.BinaryReader): StreamDeviceFramesRequest;
|
|
}
|
|
|
|
export namespace StreamDeviceFramesRequest {
|
|
export type AsObject = {
|
|
devEui: string,
|
|
}
|
|
}
|
|
|
|
export class StreamDeviceEventsRequest extends jspb.Message {
|
|
getDevEui(): string;
|
|
setDevEui(value: string): StreamDeviceEventsRequest;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): StreamDeviceEventsRequest.AsObject;
|
|
static toObject(includeInstance: boolean, msg: StreamDeviceEventsRequest): StreamDeviceEventsRequest.AsObject;
|
|
static serializeBinaryToWriter(message: StreamDeviceEventsRequest, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): StreamDeviceEventsRequest;
|
|
static deserializeBinaryFromReader(message: StreamDeviceEventsRequest, reader: jspb.BinaryReader): StreamDeviceEventsRequest;
|
|
}
|
|
|
|
export namespace StreamDeviceEventsRequest {
|
|
export type AsObject = {
|
|
devEui: string,
|
|
}
|
|
}
|
|
|