// @generated by protoc-gen-es v2.11.0 with parameter "ts_nocheck=true,target=ts"
// @generated from file client.proto (package Tokens, syntax proto3)
/* eslint-disable */
// @ts-nocheck

import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file client.proto.
 */
export const file_client: GenFile =
  /*@__PURE__*/
  fileDesc(
    "CgxjbGllbnQucHJvdG8SBlRva2VucyJ1ChhCcmVhY2hXYXRjaFVwZGF0ZVJlcXVlc3QSQgoYYnJlYWNoV2F0Y2hSZWNvcmRSZXF1ZXN0GAEgAygLMiAuVG9rZW5zLkJyZWFjaFdhdGNoUmVjb3JkUmVxdWVzdBIVCg1lbmNyeXB0ZWREYXRhGAIgASgMIpwBChhCcmVhY2hXYXRjaFJlY29yZFJlcXVlc3QSEQoJcmVjb3JkVWlkGAEgASgMEhUKDWVuY3J5cHRlZERhdGEYAiABKAwSOAoTYnJlYWNoV2F0Y2hJbmZvVHlwZRgDIAEoDjIbLlRva2Vucy5CcmVhY2hXYXRjaEluZm9UeXBlEhwKFHVwZGF0ZVVzZXJXaG9TY2FubmVkGAQgASgIIoEBCg9CcmVhY2hXYXRjaERhdGESJQoJcGFzc3dvcmRzGAEgAygLMhIuVG9rZW5zLkJXUGFzc3dvcmQSIgoGZW1haWxzGAIgAygLMhIuVG9rZW5zLkJXUGFzc3dvcmQSIwoHZG9tYWlucxgDIAMoCzISLlRva2Vucy5CV1Bhc3N3b3JkIl0KCkJXUGFzc3dvcmQSDQoFdmFsdWUYASABKAkSEAoIcmVzb2x2ZWQYAiABKAQSIAoGc3RhdHVzGAMgASgOMhAuVG9rZW5zLkJXU3RhdHVzEgwKBGV1aWQYBCABKAwqOQoTQnJlYWNoV2F0Y2hJbmZvVHlwZRIKCgZSRUNPUkQQABIWChJBTFRFUk5BVEVfUEFTU1dPUkQQASpFCghCV1N0YXR1cxIICgRHT09EEAASCwoHQ0hBTkdFRBABEggKBFdFQUsQAhIMCghCUkVBQ0hFRBADEgoKBklHTk9SRRAEYgZwcm90bzM",
  );

/**
 * @generated from message Tokens.BreachWatchUpdateRequest
 */
export type BreachWatchUpdateRequest = Message<"Tokens.BreachWatchUpdateRequest"> & {
  /**
   * @generated from field: repeated Tokens.BreachWatchRecordRequest breachWatchRecordRequest = 1;
   */
  breachWatchRecordRequest: BreachWatchRecordRequest[];

  /**
   * @generated from field: bytes encryptedData = 2;
   */
  encryptedData: Uint8Array;
};

/**
 * Describes the message Tokens.BreachWatchUpdateRequest.
 * Use `create(BreachWatchUpdateRequestSchema)` to create a new message.
 */
export const BreachWatchUpdateRequestSchema: GenMessage<BreachWatchUpdateRequest> =
  /*@__PURE__*/
  messageDesc(file_client, 0);

/**
 * @generated from message Tokens.BreachWatchRecordRequest
 */
export type BreachWatchRecordRequest = Message<"Tokens.BreachWatchRecordRequest"> & {
  /**
   * @generated from field: bytes recordUid = 1;
   */
  recordUid: Uint8Array;

  /**
   * @generated from field: bytes encryptedData = 2;
   */
  encryptedData: Uint8Array;

  /**
   * @generated from field: Tokens.BreachWatchInfoType breachWatchInfoType = 3;
   */
  breachWatchInfoType: BreachWatchInfoType;

  /**
   * @generated from field: bool updateUserWhoScanned = 4;
   */
  updateUserWhoScanned: boolean;
};

/**
 * Describes the message Tokens.BreachWatchRecordRequest.
 * Use `create(BreachWatchRecordRequestSchema)` to create a new message.
 */
export const BreachWatchRecordRequestSchema: GenMessage<BreachWatchRecordRequest> =
  /*@__PURE__*/
  messageDesc(file_client, 1);

/**
 * @generated from message Tokens.BreachWatchData
 */
export type BreachWatchData = Message<"Tokens.BreachWatchData"> & {
  /**
   * @generated from field: repeated Tokens.BWPassword passwords = 1;
   */
  passwords: BWPassword[];

  /**
   * @generated from field: repeated Tokens.BWPassword emails = 2;
   */
  emails: BWPassword[];

  /**
   * @generated from field: repeated Tokens.BWPassword domains = 3;
   */
  domains: BWPassword[];
};

/**
 * Describes the message Tokens.BreachWatchData.
 * Use `create(BreachWatchDataSchema)` to create a new message.
 */
export const BreachWatchDataSchema: GenMessage<BreachWatchData> =
  /*@__PURE__*/
  messageDesc(file_client, 2);

/**
 * @generated from message Tokens.BWPassword
 */
export type BWPassword = Message<"Tokens.BWPassword"> & {
  /**
   * @generated from field: string value = 1;
   */
  value: string;

  /**
   * @generated from field: uint64 resolved = 2;
   */
  resolved: bigint;

  /**
   * @generated from field: Tokens.BWStatus status = 3;
   */
  status: BWStatus;

  /**
   * @generated from field: bytes euid = 4;
   */
  euid: Uint8Array;
};

/**
 * Describes the message Tokens.BWPassword.
 * Use `create(BWPasswordSchema)` to create a new message.
 */
export const BWPasswordSchema: GenMessage<BWPassword> = /*@__PURE__*/ messageDesc(file_client, 3);

/**
 * @generated from enum Tokens.BreachWatchInfoType
 */
export enum BreachWatchInfoType {
  /**
   * @generated from enum value: RECORD = 0;
   */
  RECORD = 0,

  /**
   * @generated from enum value: ALTERNATE_PASSWORD = 1;
   */
  ALTERNATE_PASSWORD = 1,
}

/**
 * Describes the enum Tokens.BreachWatchInfoType.
 */
export const BreachWatchInfoTypeSchema: GenEnum<BreachWatchInfoType> =
  /*@__PURE__*/
  enumDesc(file_client, 0);

/**
 * @generated from enum Tokens.BWStatus
 */
export enum BWStatus {
  /**
   * @generated from enum value: GOOD = 0;
   */
  GOOD = 0,

  /**
   * @generated from enum value: CHANGED = 1;
   */
  CHANGED = 1,

  /**
   * @generated from enum value: WEAK = 2;
   */
  WEAK = 2,

  /**
   * @generated from enum value: BREACHED = 3;
   */
  BREACHED = 3,

  /**
   * @generated from enum value: IGNORE = 4;
   */
  IGNORE = 4,
}

/**
 * Describes the enum Tokens.BWStatus.
 */
export const BWStatusSchema: GenEnum<BWStatus> = /*@__PURE__*/ enumDesc(file_client, 1);
