// @generated by protoc-gen-es v0.2.0 with parameter "target=ts" // @generated from file artworking/v1/file-collection.proto (package artworking.v1, syntax proto3) /* eslint-disable */ /* @ts-nocheck */ import type {BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage} from "@bufbuild/protobuf"; import {Message, proto3, protoInt64, Struct, Timestamp} from "@bufbuild/protobuf"; import {Media} from "../../media/v1/media_pb.js"; import {StatsTotals} from "../../common/v1/stats_pb.js"; import {PaginatedQuery, PaginatedResponse} from "../../common/v1/query_pb.js"; /** * @generated from enum artworking.v1.FileCollectionState */ export enum FileCollectionState { /** * @generated from enum value: FC_STATE_UNDEFINED = 0; */ FC_STATE_UNDEFINED = 0, /** * @generated from enum value: FC_STATE_PENDING = 1; */ FC_STATE_PENDING = 1, /** * @generated from enum value: FC_STATE_ACTIVE = 2; */ FC_STATE_ACTIVE = 2, } // Retrieve enum metadata with: proto3.getEnumType(FileCollectionState) proto3.util.setEnumType(FileCollectionState, "artworking.v1.FileCollectionState", [ { no: 0, name: "FC_STATE_UNDEFINED" }, { no: 1, name: "FC_STATE_PENDING" }, { no: 2, name: "FC_STATE_ACTIVE" }, ]); /** * @generated from message artworking.v1.FileCollectionQuery */ export class FileCollectionQuery extends Message { /** * @generated from field: string id = 1; */ id = ""; /** * @generated from field: string custom_uid = 2; */ customUid = ""; /** * @generated from field: artworking.v1.FileCollectionState state = 3; */ state = FileCollectionState.FC_STATE_UNDEFINED; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.FileCollectionQuery"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "custom_uid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "state", kind: "enum", T: proto3.getEnumType(FileCollectionState) }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): FileCollectionQuery { return new FileCollectionQuery().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): FileCollectionQuery { return new FileCollectionQuery().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): FileCollectionQuery { return new FileCollectionQuery().fromJsonString(jsonString, options); } static equals(a: FileCollectionQuery | PlainMessage | undefined, b: FileCollectionQuery | PlainMessage | undefined): boolean { return proto3.util.equals(FileCollectionQuery, a, b); } } /** * @generated from message artworking.v1.FileCollection */ export class FileCollection extends Message { /** * @generated from field: string id = 1; */ id = ""; /** * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 3; */ updatedAt?: Timestamp; /** * @generated from field: repeated media.v1.Media media_items = 4; */ mediaItems: Media[] = []; /** * @generated from field: int64 contact_id = 5; */ contactId = protoInt64.zero; /** * @generated from field: string contact_name = 6; */ contactName = ""; /** * @generated from field: string order_ref = 7; */ orderRef = ""; /** * @generated from field: string name = 8; */ name = ""; /** * @generated from field: string supplier_name = 9; */ supplierName = ""; /** * @generated from field: int64 supplier_id = 10; */ supplierId = protoInt64.zero; /** * @generated from field: string notes = 11; */ notes = ""; /** * @generated from field: string artwork_request_id = 12; */ artworkRequestId = ""; /** * @generated from field: string contact_email = 13; */ contactEmail = ""; /** * @generated from field: artworking.v1.FileCollectionState state = 14; */ state = FileCollectionState.FC_STATE_UNDEFINED; /** * @generated from field: string custom_uid = 15; */ customUid = ""; /** * @generated from field: google.protobuf.Struct custom_meta = 16; */ customMeta?: Struct; /** * @generated from field: string contact_ref = 17; */ contactRef = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.FileCollection"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "created_at", kind: "message", T: Timestamp }, { no: 3, name: "updated_at", kind: "message", T: Timestamp }, { no: 4, name: "media_items", kind: "message", T: Media, repeated: true }, { no: 5, name: "contact_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 6, name: "contact_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "order_ref", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 8, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 9, name: "supplier_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 10, name: "supplier_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 11, name: "notes", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 12, name: "artwork_request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 13, name: "contact_email", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 14, name: "state", kind: "enum", T: proto3.getEnumType(FileCollectionState) }, { no: 15, name: "custom_uid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 16, name: "custom_meta", kind: "message", T: Struct }, { no: 17, name: "contact_ref", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): FileCollection { return new FileCollection().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): FileCollection { return new FileCollection().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): FileCollection { return new FileCollection().fromJsonString(jsonString, options); } static equals(a: FileCollection | PlainMessage | undefined, b: FileCollection | PlainMessage | undefined): boolean { return proto3.util.equals(FileCollection, a, b); } } /** * @generated from message artworking.v1.FileCollectionStats */ export class FileCollectionStats extends Message { /** * @generated from field: common.v1.StatsTotals totals = 1; */ totals?: StatsTotals; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.FileCollectionStats"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "totals", kind: "message", T: StatsTotals }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): FileCollectionStats { return new FileCollectionStats().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): FileCollectionStats { return new FileCollectionStats().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): FileCollectionStats { return new FileCollectionStats().fromJsonString(jsonString, options); } static equals(a: FileCollectionStats | PlainMessage | undefined, b: FileCollectionStats | PlainMessage | undefined): boolean { return proto3.util.equals(FileCollectionStats, a, b); } } /** * @generated from message artworking.v1.CreateFileCollectionRequest */ export class CreateFileCollectionRequest extends Message { /** * @generated from field: int32 artworker_id = 1; */ artworkerId = 0; /** * @generated from field: string contact_name = 2; */ contactName = ""; /** * @generated from field: string contact_email = 3; */ contactEmail = ""; /** * @generated from field: string order_ref = 4; */ orderRef = ""; /** * @generated from field: string name = 5; */ name = ""; /** * @generated from field: repeated int64 media_item_ids = 6; */ mediaItemIds: bigint[] = []; /** * @generated from field: string notes = 7; */ notes = ""; /** * @generated from field: string artworker_email = 8; */ artworkerEmail = ""; /** * @generated from field: artworking.v1.FileCollectionState file_collection_state = 9; */ fileCollectionState = FileCollectionState.FC_STATE_UNDEFINED; /** * @generated from field: string custom_uid = 10; */ customUid = ""; /** * @generated from field: google.protobuf.Struct custom_meta = 11; */ customMeta?: Struct; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.CreateFileCollectionRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "artworker_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 2, name: "contact_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "contact_email", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "order_ref", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "media_item_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true }, { no: 7, name: "notes", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 8, name: "artworker_email", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 9, name: "file_collection_state", kind: "enum", T: proto3.getEnumType(FileCollectionState) }, { no: 10, name: "custom_uid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 11, name: "custom_meta", kind: "message", T: Struct }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CreateFileCollectionRequest { return new CreateFileCollectionRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CreateFileCollectionRequest { return new CreateFileCollectionRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CreateFileCollectionRequest { return new CreateFileCollectionRequest().fromJsonString(jsonString, options); } static equals(a: CreateFileCollectionRequest | PlainMessage | undefined, b: CreateFileCollectionRequest | PlainMessage | undefined): boolean { return proto3.util.equals(CreateFileCollectionRequest, a, b); } } /** * @generated from message artworking.v1.CreateFileCollectionResponse */ export class CreateFileCollectionResponse extends Message { /** * @generated from field: artworking.v1.FileCollection file_collection = 1; */ fileCollection?: FileCollection; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.CreateFileCollectionResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "file_collection", kind: "message", T: FileCollection }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CreateFileCollectionResponse { return new CreateFileCollectionResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CreateFileCollectionResponse { return new CreateFileCollectionResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CreateFileCollectionResponse { return new CreateFileCollectionResponse().fromJsonString(jsonString, options); } static equals(a: CreateFileCollectionResponse | PlainMessage | undefined, b: CreateFileCollectionResponse | PlainMessage | undefined): boolean { return proto3.util.equals(CreateFileCollectionResponse, a, b); } } /** * @generated from message artworking.v1.FindFileCollectionRequest */ export class FindFileCollectionRequest extends Message { /** * @generated from field: common.v1.PaginatedQuery query = 1; */ query?: PaginatedQuery; /** * @generated from field: repeated int64 contact_ids = 2; */ contactIds: bigint[] = []; /** * @generated from field: int64 artworker_id = 3; */ artworkerId = protoInt64.zero; /** * @generated from field: string artworker_email = 4; */ artworkerEmail = ""; /** * @generated from field: artworking.v1.FileCollectionState file_collection_state = 5; */ fileCollectionState = FileCollectionState.FC_STATE_UNDEFINED; /** * @generated from field: bool populate_media_items = 6; */ populateMediaItems = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.FindFileCollectionRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "query", kind: "message", T: PaginatedQuery }, { no: 2, name: "contact_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true }, { no: 3, name: "artworker_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 4, name: "artworker_email", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "file_collection_state", kind: "enum", T: proto3.getEnumType(FileCollectionState) }, { no: 6, name: "populate_media_items", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): FindFileCollectionRequest { return new FindFileCollectionRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): FindFileCollectionRequest { return new FindFileCollectionRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): FindFileCollectionRequest { return new FindFileCollectionRequest().fromJsonString(jsonString, options); } static equals(a: FindFileCollectionRequest | PlainMessage | undefined, b: FindFileCollectionRequest | PlainMessage | undefined): boolean { return proto3.util.equals(FindFileCollectionRequest, a, b); } } /** * @generated from message artworking.v1.FindFileCollectionResponse */ export class FindFileCollectionResponse extends Message { /** * @generated from field: repeated artworking.v1.FileCollection data = 1; */ data: FileCollection[] = []; /** * @generated from field: common.v1.PaginatedResponse pagination = 2; */ pagination?: PaginatedResponse; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.FindFileCollectionResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "data", kind: "message", T: FileCollection, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PaginatedResponse }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): FindFileCollectionResponse { return new FindFileCollectionResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): FindFileCollectionResponse { return new FindFileCollectionResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): FindFileCollectionResponse { return new FindFileCollectionResponse().fromJsonString(jsonString, options); } static equals(a: FindFileCollectionResponse | PlainMessage | undefined, b: FindFileCollectionResponse | PlainMessage | undefined): boolean { return proto3.util.equals(FindFileCollectionResponse, a, b); } } /** * @generated from message artworking.v1.GetFileCollectionRequest */ export class GetFileCollectionRequest extends Message { /** * @generated from field: artworking.v1.FileCollectionQuery query = 1; */ query?: FileCollectionQuery; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.GetFileCollectionRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "query", kind: "message", T: FileCollectionQuery }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetFileCollectionRequest { return new GetFileCollectionRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetFileCollectionRequest { return new GetFileCollectionRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetFileCollectionRequest { return new GetFileCollectionRequest().fromJsonString(jsonString, options); } static equals(a: GetFileCollectionRequest | PlainMessage | undefined, b: GetFileCollectionRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GetFileCollectionRequest, a, b); } } /** * @generated from message artworking.v1.GetFileCollectionResponse */ export class GetFileCollectionResponse extends Message { /** * @generated from field: artworking.v1.FileCollection file_collection = 1; */ fileCollection?: FileCollection; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.GetFileCollectionResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "file_collection", kind: "message", T: FileCollection }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetFileCollectionResponse { return new GetFileCollectionResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetFileCollectionResponse { return new GetFileCollectionResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetFileCollectionResponse { return new GetFileCollectionResponse().fromJsonString(jsonString, options); } static equals(a: GetFileCollectionResponse | PlainMessage | undefined, b: GetFileCollectionResponse | PlainMessage | undefined): boolean { return proto3.util.equals(GetFileCollectionResponse, a, b); } } /** * @generated from message artworking.v1.GetFileCollectionStatsRequest */ export class GetFileCollectionStatsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.GetFileCollectionStatsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetFileCollectionStatsRequest { return new GetFileCollectionStatsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetFileCollectionStatsRequest { return new GetFileCollectionStatsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetFileCollectionStatsRequest { return new GetFileCollectionStatsRequest().fromJsonString(jsonString, options); } static equals(a: GetFileCollectionStatsRequest | PlainMessage | undefined, b: GetFileCollectionStatsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GetFileCollectionStatsRequest, a, b); } } /** * @generated from message artworking.v1.GetFileCollectionStatsResponse */ export class GetFileCollectionStatsResponse extends Message { /** * @generated from field: artworking.v1.FileCollectionStats stats = 1; */ stats?: FileCollectionStats; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.GetFileCollectionStatsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "stats", kind: "message", T: FileCollectionStats }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetFileCollectionStatsResponse { return new GetFileCollectionStatsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetFileCollectionStatsResponse { return new GetFileCollectionStatsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetFileCollectionStatsResponse { return new GetFileCollectionStatsResponse().fromJsonString(jsonString, options); } static equals(a: GetFileCollectionStatsResponse | PlainMessage | undefined, b: GetFileCollectionStatsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(GetFileCollectionStatsResponse, a, b); } } /** * @generated from message artworking.v1.UpdateFileCollectionRequest */ export class UpdateFileCollectionRequest extends Message { /** * @generated from field: artworking.v1.FileCollectionQuery query = 1; */ query?: FileCollectionQuery; /** * @generated from field: repeated int64 media_item_ids = 2; */ mediaItemIds: bigint[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.UpdateFileCollectionRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "query", kind: "message", T: FileCollectionQuery }, { no: 2, name: "media_item_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpdateFileCollectionRequest { return new UpdateFileCollectionRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpdateFileCollectionRequest { return new UpdateFileCollectionRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpdateFileCollectionRequest { return new UpdateFileCollectionRequest().fromJsonString(jsonString, options); } static equals(a: UpdateFileCollectionRequest | PlainMessage | undefined, b: UpdateFileCollectionRequest | PlainMessage | undefined): boolean { return proto3.util.equals(UpdateFileCollectionRequest, a, b); } } /** * @generated from message artworking.v1.UpdateFileCollectionResponse */ export class UpdateFileCollectionResponse extends Message { /** * @generated from field: artworking.v1.FileCollection file_collection = 1; */ fileCollection?: FileCollection; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.UpdateFileCollectionResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "file_collection", kind: "message", T: FileCollection }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpdateFileCollectionResponse { return new UpdateFileCollectionResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpdateFileCollectionResponse { return new UpdateFileCollectionResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpdateFileCollectionResponse { return new UpdateFileCollectionResponse().fromJsonString(jsonString, options); } static equals(a: UpdateFileCollectionResponse | PlainMessage | undefined, b: UpdateFileCollectionResponse | PlainMessage | undefined): boolean { return proto3.util.equals(UpdateFileCollectionResponse, a, b); } } /** * @generated from message artworking.v1.DeleteFileCollectionRequest */ export class DeleteFileCollectionRequest extends Message { /** * @generated from field: artworking.v1.FileCollectionQuery query = 1; */ query?: FileCollectionQuery; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.DeleteFileCollectionRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "query", kind: "message", T: FileCollectionQuery }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteFileCollectionRequest { return new DeleteFileCollectionRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteFileCollectionRequest { return new DeleteFileCollectionRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteFileCollectionRequest { return new DeleteFileCollectionRequest().fromJsonString(jsonString, options); } static equals(a: DeleteFileCollectionRequest | PlainMessage | undefined, b: DeleteFileCollectionRequest | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteFileCollectionRequest, a, b); } } /** * @generated from message artworking.v1.DeleteFileCollectionResponse */ export class DeleteFileCollectionResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.DeleteFileCollectionResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteFileCollectionResponse { return new DeleteFileCollectionResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteFileCollectionResponse { return new DeleteFileCollectionResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteFileCollectionResponse { return new DeleteFileCollectionResponse().fromJsonString(jsonString, options); } static equals(a: DeleteFileCollectionResponse | PlainMessage | undefined, b: DeleteFileCollectionResponse | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteFileCollectionResponse, a, b); } } /** * @generated from message artworking.v1.PromoteFileCollectionToActiveRequest */ export class PromoteFileCollectionToActiveRequest extends Message { /** * @generated from field: artworking.v1.FileCollectionQuery query = 1; */ query?: FileCollectionQuery; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.PromoteFileCollectionToActiveRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "query", kind: "message", T: FileCollectionQuery }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): PromoteFileCollectionToActiveRequest { return new PromoteFileCollectionToActiveRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): PromoteFileCollectionToActiveRequest { return new PromoteFileCollectionToActiveRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): PromoteFileCollectionToActiveRequest { return new PromoteFileCollectionToActiveRequest().fromJsonString(jsonString, options); } static equals(a: PromoteFileCollectionToActiveRequest | PlainMessage | undefined, b: PromoteFileCollectionToActiveRequest | PlainMessage | undefined): boolean { return proto3.util.equals(PromoteFileCollectionToActiveRequest, a, b); } } /** * @generated from message artworking.v1.PromoteFileCollectionToActiveResponse */ export class PromoteFileCollectionToActiveResponse extends Message { /** * @generated from field: artworking.v1.FileCollection file_collection = 1; */ fileCollection?: FileCollection; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.PromoteFileCollectionToActiveResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "file_collection", kind: "message", T: FileCollection }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): PromoteFileCollectionToActiveResponse { return new PromoteFileCollectionToActiveResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): PromoteFileCollectionToActiveResponse { return new PromoteFileCollectionToActiveResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): PromoteFileCollectionToActiveResponse { return new PromoteFileCollectionToActiveResponse().fromJsonString(jsonString, options); } static equals(a: PromoteFileCollectionToActiveResponse | PlainMessage | undefined, b: PromoteFileCollectionToActiveResponse | PlainMessage | undefined): boolean { return proto3.util.equals(PromoteFileCollectionToActiveResponse, a, b); } } /** * @generated from message artworking.v1.Temp */ export class Temp extends Message { /** * @generated from field: string id = 1; */ id = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "artworking.v1.Temp"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Temp { return new Temp().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Temp { return new Temp().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Temp { return new Temp().fromJsonString(jsonString, options); } static equals(a: Temp | PlainMessage | undefined, b: Temp | PlainMessage | undefined): boolean { return proto3.util.equals(Temp, a, b); } }