// @generated by protoc-gen-es v1.10.1 with parameter "target=ts" // @generated from file preflight/v1/customer-preflight-report.proto (package preflight.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf"; import { PreflightResult } from "../../common/v1/preflight-warning_pb.js"; import { ObjectRef } from "../../common/v1/object-ref_pb.js"; /** * @generated from message preflight.v1.PageRef */ export class PageRef extends Message { /** * @generated from field: int64 media_item_id = 1; */ mediaItemId = protoInt64.zero; /** * @generated from field: int32 page = 2; */ page = 0; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v1.PageRef"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "media_item_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "page", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): PageRef { return new PageRef().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): PageRef { return new PageRef().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): PageRef { return new PageRef().fromJsonString(jsonString, options); } static equals(a: PageRef | PlainMessage | undefined, b: PageRef | PlainMessage | undefined): boolean { return proto3.util.equals(PageRef, a, b); } } /** * @generated from message preflight.v1.PreflightCustomerCheck */ export class PreflightCustomerCheck extends Message { /** * @generated from field: repeated preflight.v1.PageRef page_refs = 1; */ pageRefs: PageRef[] = []; /** * @generated from field: common.v1.PreflightResult preflight_result = 2; */ preflightResult?: PreflightResult; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v1.PreflightCustomerCheck"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "page_refs", kind: "message", T: PageRef, repeated: true }, { no: 2, name: "preflight_result", kind: "message", T: PreflightResult }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): PreflightCustomerCheck { return new PreflightCustomerCheck().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): PreflightCustomerCheck { return new PreflightCustomerCheck().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): PreflightCustomerCheck { return new PreflightCustomerCheck().fromJsonString(jsonString, options); } static equals(a: PreflightCustomerCheck | PlainMessage | undefined, b: PreflightCustomerCheck | PlainMessage | undefined): boolean { return proto3.util.equals(PreflightCustomerCheck, a, b); } } /** * @generated from message preflight.v1.CustomerReportSummary */ export class CustomerReportSummary extends Message { /** * @generated from field: int64 id = 1; */ id = protoInt64.zero; /** * @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 preflight.v1.PreflightCustomerCheck items = 4; */ items: PreflightCustomerCheck[] = []; /** * @generated from field: int32 page_count = 5; */ pageCount = 0; /** * @generated from field: repeated int64 encrypted_files_media_item_ids = 6; */ encryptedFilesMediaItemIds: bigint[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v1.CustomerReportSummary"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "created_at", kind: "message", T: Timestamp }, { no: 3, name: "updated_at", kind: "message", T: Timestamp }, { no: 4, name: "items", kind: "message", T: PreflightCustomerCheck, repeated: true }, { no: 5, name: "page_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 6, name: "encrypted_files_media_item_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CustomerReportSummary { return new CustomerReportSummary().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CustomerReportSummary { return new CustomerReportSummary().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CustomerReportSummary { return new CustomerReportSummary().fromJsonString(jsonString, options); } static equals(a: CustomerReportSummary | PlainMessage | undefined, b: CustomerReportSummary | PlainMessage | undefined): boolean { return proto3.util.equals(CustomerReportSummary, a, b); } } /** * @generated from message preflight.v1.GetCustomerReportSummaryRequest */ export class GetCustomerReportSummaryRequest extends Message { /** * @generated from field: int64 artworker_id = 1; */ artworkerId = protoInt64.zero; /** * @generated from field: common.v1.ObjectRef object_ref = 2; */ objectRef?: ObjectRef; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v1.GetCustomerReportSummaryRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "artworker_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "object_ref", kind: "message", T: ObjectRef }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetCustomerReportSummaryRequest { return new GetCustomerReportSummaryRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetCustomerReportSummaryRequest { return new GetCustomerReportSummaryRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetCustomerReportSummaryRequest { return new GetCustomerReportSummaryRequest().fromJsonString(jsonString, options); } static equals(a: GetCustomerReportSummaryRequest | PlainMessage | undefined, b: GetCustomerReportSummaryRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GetCustomerReportSummaryRequest, a, b); } } /** * @generated from message preflight.v1.GetCustomerReportSummaryResponse */ export class GetCustomerReportSummaryResponse extends Message { /** * @generated from field: preflight.v1.CustomerReportSummary report = 1; */ report?: CustomerReportSummary; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v1.GetCustomerReportSummaryResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "report", kind: "message", T: CustomerReportSummary }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetCustomerReportSummaryResponse { return new GetCustomerReportSummaryResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetCustomerReportSummaryResponse { return new GetCustomerReportSummaryResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetCustomerReportSummaryResponse { return new GetCustomerReportSummaryResponse().fromJsonString(jsonString, options); } static equals(a: GetCustomerReportSummaryResponse | PlainMessage | undefined, b: GetCustomerReportSummaryResponse | PlainMessage | undefined): boolean { return proto3.util.equals(GetCustomerReportSummaryResponse, a, b); } } /** * @generated from message preflight.v1.GetCustomerReportPageRequest */ export class GetCustomerReportPageRequest extends Message { /** * @generated from field: int64 report_summary_id = 1; */ reportSummaryId = protoInt64.zero; /** * @generated from field: int64 media_item_id = 2; */ mediaItemId = protoInt64.zero; /** * @generated from field: int32 page = 3; */ page = 0; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v1.GetCustomerReportPageRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "report_summary_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "media_item_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 3, name: "page", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetCustomerReportPageRequest { return new GetCustomerReportPageRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetCustomerReportPageRequest { return new GetCustomerReportPageRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetCustomerReportPageRequest { return new GetCustomerReportPageRequest().fromJsonString(jsonString, options); } static equals(a: GetCustomerReportPageRequest | PlainMessage | undefined, b: GetCustomerReportPageRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GetCustomerReportPageRequest, a, b); } } /** * @generated from message preflight.v1.GetCustomerReportPageResponse */ export class GetCustomerReportPageResponse extends Message { /** * @generated from field: repeated common.v1.PreflightResult page_report = 1; */ pageReport: PreflightResult[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v1.GetCustomerReportPageResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "page_report", kind: "message", T: PreflightResult, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetCustomerReportPageResponse { return new GetCustomerReportPageResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetCustomerReportPageResponse { return new GetCustomerReportPageResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetCustomerReportPageResponse { return new GetCustomerReportPageResponse().fromJsonString(jsonString, options); } static equals(a: GetCustomerReportPageResponse | PlainMessage | undefined, b: GetCustomerReportPageResponse | PlainMessage | undefined): boolean { return proto3.util.equals(GetCustomerReportPageResponse, a, b); } } /** * @generated from message preflight.v1.GetCustomerReportFileSummaryRequest */ export class GetCustomerReportFileSummaryRequest extends Message { /** * @generated from field: int64 media_item_id = 2; */ mediaItemId = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v1.GetCustomerReportFileSummaryRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 2, name: "media_item_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetCustomerReportFileSummaryRequest { return new GetCustomerReportFileSummaryRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetCustomerReportFileSummaryRequest { return new GetCustomerReportFileSummaryRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetCustomerReportFileSummaryRequest { return new GetCustomerReportFileSummaryRequest().fromJsonString(jsonString, options); } static equals(a: GetCustomerReportFileSummaryRequest | PlainMessage | undefined, b: GetCustomerReportFileSummaryRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GetCustomerReportFileSummaryRequest, a, b); } } /** * @generated from message preflight.v1.GetCustomerReportFileSummaryResponse */ export class GetCustomerReportFileSummaryResponse extends Message { /** * @generated from field: repeated common.v1.PreflightResult file_report = 1; */ fileReport: PreflightResult[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v1.GetCustomerReportFileSummaryResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "file_report", kind: "message", T: PreflightResult, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetCustomerReportFileSummaryResponse { return new GetCustomerReportFileSummaryResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetCustomerReportFileSummaryResponse { return new GetCustomerReportFileSummaryResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetCustomerReportFileSummaryResponse { return new GetCustomerReportFileSummaryResponse().fromJsonString(jsonString, options); } static equals(a: GetCustomerReportFileSummaryResponse | PlainMessage | undefined, b: GetCustomerReportFileSummaryResponse | PlainMessage | undefined): boolean { return proto3.util.equals(GetCustomerReportFileSummaryResponse, a, b); } }