// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
// @generated from file entities/airline.proto (syntax proto3)
/* eslint-disable */

import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
import type { Timestamp } from "../common_pb";
import { file_common } from "../common_pb";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file entities/airline.proto.
 */
export const file_entities_airline: GenFile = /*@__PURE__*/
  fileDesc("ChZlbnRpdGllcy9haXJsaW5lLnByb3RvIrYCCgdBaXJsaW5lEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSDAoEaWF0YRgDIAEoCRIMCgRpY2FvGAQgASgJEg8KB3dlYnNpdGUYBSABKAkSDwoHdHdpdHRlchgGIAEoCRIQCghjYWxsc2lnbhgHIAEoCRINCgVwaG9uZRgIIAEoCRIUCgxmYWNlYm9va191cmwYCSABKAkSEAoIYWxsaWFuY2UYCiABKAkSDgoGYWN0aXZlGAsgASgIEhEKCXJlbGV2YW5jZRgMIAEoBRIbCgdjcmVhdGVkGA0gASgLMgouVGltZXN0YW1wEiAKDGxhc3RfdXBkYXRlZBgOIAEoCzIKLlRpbWVzdGFtcBIVCg1waG9uZV9kaXNwbGF5GBAgASgJEhEKCXBob25lX3VyaRgRIAEoCWIGcHJvdG8z", [file_common]);

/**
 * @generated from message Airline
 */
export type Airline = Message<"Airline"> & {
  /**
   * @generated from field: string id = 1;
   */
  id: string;

  /**
   * e.g. "Cathay Pacific"
   *
   * @generated from field: string name = 2;
   */
  name: string;

  /**
   * e.g. "CX"
   *
   * @generated from field: string iata = 3;
   */
  iata: string;

  /**
   * e.g. "CPA"
   *
   * @generated from field: string icao = 4;
   */
  icao: string;

  /**
   * @generated from field: string website = 5;
   */
  website: string;

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

  /**
   * e.g. "CATHAY"
   *
   * @generated from field: string callsign = 7;
   */
  callsign: string;

  /**
   * E.164 e.g. "+180014411011"
   *
   * @generated from field: string phone = 8;
   */
  phone: string;

  /**
   * @generated from field: string facebook_url = 9;
   */
  facebookUrl: string;

  /**
   * e.g. "Oneworld", "SkyTeam", "Star Alliance"
   *
   * @generated from field: string alliance = 10;
   */
  alliance: string;

  /**
   * @generated from field: bool active = 11;
   */
  active: boolean;

  /**
   * @generated from field: int32 relevance = 12;
   */
  relevance: number;

  /**
   * @generated from field: Timestamp created = 13;
   */
  created?: Timestamp | undefined;

  /**
   * @generated from field: Timestamp last_updated = 14;
   */
  lastUpdated?: Timestamp | undefined;

  /**
   * formatted e.g. "+1 800 144 11011"
   *
   * @generated from field: string phone_display = 16;
   */
  phoneDisplay: string;

  /**
   * e.g. "tel://+180014411011"
   *
   * @generated from field: string phone_uri = 17;
   */
  phoneUri: string;
};

/**
 * Describes the message Airline.
 * Use `create(AirlineSchema)` to create a new message.
 */
export const AirlineSchema: GenMessage<Airline> = /*@__PURE__*/
  messageDesc(file_entities_airline, 0);

