// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
// @generated from file entities/sharing.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 { Profile } from "./profile_pb";
import { file_entities_profile } from "./profile_pb";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file entities/sharing.proto.
 */
export const file_entities_sharing: GenFile = /*@__PURE__*/
  fileDesc("ChZlbnRpdGllcy9zaGFyaW5nLnByb3RvIsQCCgdTaGFyaW5nEgoKAmlkGAEgASgJEhEKCXNoYXJlcl9pZBgCIAEoCRIYCgZzaGFyZXIYAyABKAsyCC5Qcm9maWxlEhQKDHNoYXJlcl9pZF92MhgEIAEoCRIUCgxyZWNpcGllbnRfaWQYBSABKAkSGwoJcmVjaXBpZW50GAYgASgLMgguUHJvZmlsZRIXCg9yZWNpcGllbnRfaWRfdjIYByABKAkSEQoJaXNfcGF1c2VkGAggASgIEhYKDnJlY2lwaWVudF9uYW1lGAkgASgJEhMKC3NoYXJlcl9uYW1lGAogASgJEh4KCmNyZWF0ZWRfYXQYCyABKAsyCi5UaW1lc3RhbXASHgoKdXBkYXRlZF9hdBgMIAEoCzIKLlRpbWVzdGFtcBIeCgpkZWxldGVkX2F0GA0gASgLMgouVGltZXN0YW1wYgZwcm90bzM", [file_common, file_entities_profile]);

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

  /**
   * @generated from field: string sharer_id = 2;
   */
  sharerId: string;

  /**
   * @generated from field: Profile sharer = 3;
   */
  sharer?: Profile | undefined;

  /**
   * @generated from field: string sharer_id_v2 = 4;
   */
  sharerIdV2: string;

  /**
   * @generated from field: string recipient_id = 5;
   */
  recipientId: string;

  /**
   * @generated from field: Profile recipient = 6;
   */
  recipient?: Profile | undefined;

  /**
   * @generated from field: string recipient_id_v2 = 7;
   */
  recipientIdV2: string;

  /**
   * @generated from field: bool is_paused = 8;
   */
  isPaused: boolean;

  /**
   * @generated from field: string recipient_name = 9;
   */
  recipientName: string;

  /**
   * @generated from field: string sharer_name = 10;
   */
  sharerName: string;

  /**
   * @generated from field: Timestamp created_at = 11;
   */
  createdAt?: Timestamp | undefined;

  /**
   * @generated from field: Timestamp updated_at = 12;
   */
  updatedAt?: Timestamp | undefined;

  /**
   * @generated from field: Timestamp deleted_at = 13;
   */
  deletedAt?: Timestamp | undefined;
};

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

