// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
// @generated from file services/invite.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 services/invite.proto.
 */
export const file_services_invite: GenFile = /*@__PURE__*/
  fileDesc("ChVzZXJ2aWNlcy9pbnZpdGUucHJvdG8iVAoOSW52aXRlUmVzcG9uc2USCwoDdXJsGAEgASgJEgoKAmlkGAIgASgJEhsKB2V4cGlyZXMYAyABKAsyCi5UaW1lc3RhbXASDAoEdXNlcxgEIAEoBWIGcHJvdG8z", [file_common]);

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

  /**
   * @generated from field: string id = 2;
   */
  id: string;

  /**
   * has nanos
   *
   * @generated from field: Timestamp expires = 3;
   */
  expires?: Timestamp | undefined;

  /**
   * @generated from field: int32 uses = 4;
   */
  uses: number;
};

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

