// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
// @generated from file ar/v1/action_info.proto (package ar.v1, syntax proto3)
/* eslint-disable */

import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
import type { ActionType } from "./action_pb.ts";
import { file_ar_v1_action } from "./action_pb.ts";
import type { EventType } from "./events_pb.ts";
import { file_ar_v1_events } from "./events_pb.ts";
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file ar/v1/action_info.proto.
 */
export const file_ar_v1_action_info: GenFile = /*@__PURE__*/
  fileDesc("Chdhci92MS9hY3Rpb25faW5mby5wcm90bxIFYXIudjEijgIKEUFjdGlvbkluZm9NZXNzYWdlEhcKBG5hbWUYAiABKAlCCbpIBnIEEAEYQBIMCgRpY29uGAMgASgJEhMKC2Rlc2NyaXB0aW9uGAQgASgJEicKBHR5cGUYBSABKA4yES5hci52MS5BY3Rpb25UeXBlQga6SAPIAQESFQoFZ3JvdXAYBiABKAlCBrpIA8gBARIVCg1yZXF1aXJlX2FnZW50GAcgASgIEikKD3JlcXVpcmVkX2V2ZW50cxgIIAMoDjIQLmFyLnYxLkV2ZW50VHlwZRIpCg9vcHRpb25hbF9ldmVudHMYCSADKA4yEC5hci52MS5FdmVudFR5cGUSEAoIZGlzYWJsZWQYCiABKAgiPQoSQWN0aW9uSW5mb01lc3NhZ2VzEicKBWluZm9zGAEgAygLMhguYXIudjEuQWN0aW9uSW5mb01lc3NhZ2VCiwEKCWNvbS5hci52MUIPQWN0aW9uSW5mb1Byb3RvUAFaL2dpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy9hci92MTthcnYxogIDQVhYqgIOTWVzc2FnZXMuQVIuVjHKAgVBclxWMeICEUFyXFYxXEdQQk1ldGFkYXRh6gIGQXI6OlYxYgZwcm90bzM", [file_ar_v1_action, file_ar_v1_events, file_buf_validate_validate]);

/**
 * @generated from message ar.v1.ActionInfoMessage
 */
export type ActionInfoMessage = Message<"ar.v1.ActionInfoMessage"> & {
  /**
   * @generated from field: string name = 2;
   */
  name: string;

  /**
   * @generated from field: string icon = 3;
   */
  icon: string;

  /**
   * @generated from field: string description = 4;
   */
  description: string;

  /**
   * @generated from field: ar.v1.ActionType type = 5;
   */
  type: ActionType;

  /**
   * @generated from field: string group = 6;
   */
  group: string;

  /**
   * @generated from field: bool require_agent = 7;
   */
  requireAgent: boolean;

  /**
   * @generated from field: repeated ar.v1.EventType required_events = 8;
   */
  requiredEvents: EventType[];

  /**
   * @generated from field: repeated ar.v1.EventType optional_events = 9;
   */
  optionalEvents: EventType[];

  /**
   * @generated from field: bool disabled = 10;
   */
  disabled: boolean;
};

/**
 * Describes the message ar.v1.ActionInfoMessage.
 * Use `create(ActionInfoMessageSchema)` to create a new message.
 */
export const ActionInfoMessageSchema: GenMessage<ActionInfoMessage> = /*@__PURE__*/
  messageDesc(file_ar_v1_action_info, 0);

/**
 * @generated from message ar.v1.ActionInfoMessages
 */
export type ActionInfoMessages = Message<"ar.v1.ActionInfoMessages"> & {
  /**
   * @generated from field: repeated ar.v1.ActionInfoMessage infos = 1;
   */
  infos: ActionInfoMessage[];
};

/**
 * Describes the message ar.v1.ActionInfoMessages.
 * Use `create(ActionInfoMessagesSchema)` to create a new message.
 */
export const ActionInfoMessagesSchema: GenMessage<ActionInfoMessages> = /*@__PURE__*/
  messageDesc(file_ar_v1_action_info, 1);

