// @generated by protoc-gen-es v1.10.0 // @generated from file provisioning/v1/provisioning.proto (package viam.provisioning.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * @generated from message viam.provisioning.v1.ExitProvisioningRequest */ export declare class ExitProvisioningRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.ExitProvisioningRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ExitProvisioningRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ExitProvisioningRequest; static fromJsonString(jsonString: string, options?: Partial): ExitProvisioningRequest; static equals(a: ExitProvisioningRequest | PlainMessage | undefined, b: ExitProvisioningRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.provisioning.v1.ExitProvisioningResponse */ export declare class ExitProvisioningResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.ExitProvisioningResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ExitProvisioningResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ExitProvisioningResponse; static fromJsonString(jsonString: string, options?: Partial): ExitProvisioningResponse; static equals(a: ExitProvisioningResponse | PlainMessage | undefined, b: ExitProvisioningResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.provisioning.v1.GetSmartMachineStatusRequest */ export declare class GetSmartMachineStatusRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.GetSmartMachineStatusRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSmartMachineStatusRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetSmartMachineStatusRequest; static fromJsonString(jsonString: string, options?: Partial): GetSmartMachineStatusRequest; static equals(a: GetSmartMachineStatusRequest | PlainMessage | undefined, b: GetSmartMachineStatusRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.provisioning.v1.GetSmartMachineStatusResponse */ export declare class GetSmartMachineStatusResponse extends Message { /** * @generated from field: viam.provisioning.v1.ProvisioningInfo provisioning_info = 1; */ provisioningInfo?: ProvisioningInfo; /** * @generated from field: bool has_smart_machine_credentials = 2; */ hasSmartMachineCredentials: boolean; /** * @generated from field: bool is_online = 3; */ isOnline: boolean; /** * @generated from field: viam.provisioning.v1.NetworkInfo latest_connection_attempt = 4; */ latestConnectionAttempt?: NetworkInfo; /** * @generated from field: repeated string errors = 5; */ errors: string[]; /** * @generated from field: string agent_version = 6; */ agentVersion: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.GetSmartMachineStatusResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSmartMachineStatusResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetSmartMachineStatusResponse; static fromJsonString(jsonString: string, options?: Partial): GetSmartMachineStatusResponse; static equals(a: GetSmartMachineStatusResponse | PlainMessage | undefined, b: GetSmartMachineStatusResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.provisioning.v1.SetNetworkCredentialsRequest */ export declare class SetNetworkCredentialsRequest extends Message { /** * @generated from field: string type = 1; */ type: string; /** * @generated from field: string ssid = 2; */ ssid: string; /** * @generated from field: string psk = 3; */ psk: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.SetNetworkCredentialsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetNetworkCredentialsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetNetworkCredentialsRequest; static fromJsonString(jsonString: string, options?: Partial): SetNetworkCredentialsRequest; static equals(a: SetNetworkCredentialsRequest | PlainMessage | undefined, b: SetNetworkCredentialsRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.provisioning.v1.SetNetworkCredentialsResponse */ export declare class SetNetworkCredentialsResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.SetNetworkCredentialsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetNetworkCredentialsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetNetworkCredentialsResponse; static fromJsonString(jsonString: string, options?: Partial): SetNetworkCredentialsResponse; static equals(a: SetNetworkCredentialsResponse | PlainMessage | undefined, b: SetNetworkCredentialsResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.provisioning.v1.SetSmartMachineCredentialsRequest */ export declare class SetSmartMachineCredentialsRequest extends Message { /** * @generated from field: viam.provisioning.v1.CloudConfig cloud = 1; */ cloud?: CloudConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.SetSmartMachineCredentialsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetSmartMachineCredentialsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetSmartMachineCredentialsRequest; static fromJsonString(jsonString: string, options?: Partial): SetSmartMachineCredentialsRequest; static equals(a: SetSmartMachineCredentialsRequest | PlainMessage | undefined, b: SetSmartMachineCredentialsRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.provisioning.v1.SetSmartMachineCredentialsResponse */ export declare class SetSmartMachineCredentialsResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.SetSmartMachineCredentialsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetSmartMachineCredentialsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetSmartMachineCredentialsResponse; static fromJsonString(jsonString: string, options?: Partial): SetSmartMachineCredentialsResponse; static equals(a: SetSmartMachineCredentialsResponse | PlainMessage | undefined, b: SetSmartMachineCredentialsResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.provisioning.v1.GetNetworkListRequest */ export declare class GetNetworkListRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.GetNetworkListRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetNetworkListRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetNetworkListRequest; static fromJsonString(jsonString: string, options?: Partial): GetNetworkListRequest; static equals(a: GetNetworkListRequest | PlainMessage | undefined, b: GetNetworkListRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.provisioning.v1.GetNetworkListResponse */ export declare class GetNetworkListResponse extends Message { /** * @generated from field: repeated viam.provisioning.v1.NetworkInfo networks = 1; */ networks: NetworkInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.GetNetworkListResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetNetworkListResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetNetworkListResponse; static fromJsonString(jsonString: string, options?: Partial): GetNetworkListResponse; static equals(a: GetNetworkListResponse | PlainMessage | undefined, b: GetNetworkListResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.provisioning.v1.ProvisioningInfo */ export declare class ProvisioningInfo extends Message { /** * @generated from field: string fragment_id = 1; */ fragmentId: string; /** * @generated from field: string model = 2; */ model: string; /** * @generated from field: string manufacturer = 3; */ manufacturer: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.ProvisioningInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ProvisioningInfo; static fromJson(jsonValue: JsonValue, options?: Partial): ProvisioningInfo; static fromJsonString(jsonString: string, options?: Partial): ProvisioningInfo; static equals(a: ProvisioningInfo | PlainMessage | undefined, b: ProvisioningInfo | PlainMessage | undefined): boolean; } /** * @generated from message viam.provisioning.v1.NetworkInfo */ export declare class NetworkInfo extends Message { /** * @generated from field: string type = 1; */ type: string; /** * @generated from field: string ssid = 2; */ ssid: string; /** * @generated from field: string security = 3; */ security: string; /** * @generated from field: int32 signal = 4; */ signal: number; /** * @generated from field: bool connected = 5; */ connected: boolean; /** * @generated from field: string last_error = 6; */ lastError: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.NetworkInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): NetworkInfo; static fromJson(jsonValue: JsonValue, options?: Partial): NetworkInfo; static fromJsonString(jsonString: string, options?: Partial): NetworkInfo; static equals(a: NetworkInfo | PlainMessage | undefined, b: NetworkInfo | PlainMessage | undefined): boolean; } /** * minimal CloudConfig to create /etc/viam.json * * @generated from message viam.provisioning.v1.CloudConfig */ export declare class CloudConfig extends Message { /** * SmartMachine part id * * @generated from field: string id = 1; */ id: string; /** * SmartMachine part secret * * @generated from field: string secret = 2; */ secret: string; /** * @generated from field: string app_address = 3; */ appAddress: string; /** * @generated from field: viam.provisioning.v1.APIKey api_key = 4; */ apiKey?: APIKey; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.CloudConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CloudConfig; static fromJson(jsonValue: JsonValue, options?: Partial): CloudConfig; static fromJsonString(jsonString: string, options?: Partial): CloudConfig; static equals(a: CloudConfig | PlainMessage | undefined, b: CloudConfig | PlainMessage | undefined): boolean; } /** * @generated from message viam.provisioning.v1.APIKey */ export declare class APIKey extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string key = 2; */ key: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.provisioning.v1.APIKey"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): APIKey; static fromJson(jsonValue: JsonValue, options?: Partial): APIKey; static fromJsonString(jsonString: string, options?: Partial): APIKey; static equals(a: APIKey | PlainMessage | undefined, b: APIKey | PlainMessage | undefined): boolean; }