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iC,KACX,KAAS,qUAAsU,CAAC,GAA8B,CAAC,EAoBpWC,KACX,KAAYD,EAAkC,CAAC,C,yGCpB1C,MAAME,KACXC,EAAA,GAAS,0sBAA2sB,CAAC,IAAgC,GAA8B,CAAC,EAkCzwBC,KACXC,EAAA,GAAYH,EAAoC,CAAC,EAkCtCI,KACXD,EAAA,GAAYH,EAAoC,CAAC,EAgCtCK,KACXF,EAAA,GAAYH,EAAoC,CAAC,EAkBtCM,KACXH,EAAA,GAAYH,EAAoC,CAAC,ECtHtCO,KACXN,EAAA,GAAS,y9CAA09C,CAAC,KAA4B,IAAgC,IAAkC,IAAgCD,CAAkC,CAAC,EAkC1nDQ,KACXL,EAAA,GAAYI,EAAiC,CAAC,EAkFnCE,KACXN,EAAA,GAAYI,EAAiC,CAAC,EAkBnCG,KACXP,EAAA,GAAYI,EAAiC,CAAC,EAgDnCI,KACXR,EAAA,GAAYI,EAAiC,CAAC,C,8GCnMzC,MAAMK,KACX,KAAS,yxCAA0xC,CAAC,IAA0B,CAAC,EAiCpzCC,KACX,KAAYD,EAA8C,CAAC,EAqBhDE,KACX,KAAYF,EAA8C,CAAC,EA4ChDG,KACX,KAAYH,EAA8C,CAAC,EAqBhDI,KACX,KAAYJ,EAA8C,EAAG,CAAC,EAKzD,IAAKK,GAAAA,IAIVA,EAAAA,EAAA,YAAc,CAAC,EAAf,cAKAA,EAAAA,EAAA,KAAO,CAAC,EAAR,OAKAA,EAAAA,EAAA,cAAgB,CAAC,EAAjB,gBAKAA,EAAAA,EAAA,0BAA4B,CAAC,EAA7B,4BAKAA,EAAAA,EAAA,OAAS,CAAC,EAAV,SAxBUA,IAAAA,GAAA,IA8BL,MAAMC,KACX,KAASN,EAA8C,CAAC,C","sources":["webpack://nuxt-app/./app/pb/invoice/recipient/v1/application_pb.ts","webpack://nuxt-app/./app/pb/invoice/recipient/v1/business_master_pb.ts","webpack://nuxt-app/./app/pb/invoice/recipient/v1/contract_pb.ts","webpack://nuxt-app/./app/pb/invoice/recipient/v1/invoice_pb.ts","webpack://nuxt-app/./app/pb/invoice/recipient/v1/member_pb.ts","webpack://nuxt-app/./app/pb/invoice/recipient/v1/workflow_pb.ts","webpack://nuxt-app/./app/pb/invoice/recipient/v1/order_pb.ts","webpack://nuxt-app/./app/pb/invoice/recipient/v1/review_custom_item_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.2.0 with parameter \"target=ts\"\n// @generated from file invoice/recipient/v1/application.proto (package invoice.recipient.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv1\";\nimport { enumDesc, fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport type { MemberSummary } from \"./member_pb\";\nimport { file_invoice_recipient_v1_member } from \"./member_pb\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file invoice/recipient/v1/application.proto.\n */\nexport const file_invoice_recipient_v1_application: GenFile = /*@__PURE__*/\n fileDesc(\"CiZpbnZvaWNlL3JlY2lwaWVudC92MS9hcHBsaWNhdGlvbi5wcm90bxIUaW52b2ljZS5yZWNpcGllbnQudjEijAkKC0FwcGxpY2F0aW9uEjcKBnN0YXR1cxgBIAEoDjInLmludm9pY2UucmVjaXBpZW50LnYxLkFwcGxpY2F0aW9uU3RhdHVzEhYKDmNvbXBsZXRlZF9zdGVwGAIgASgFEhIKCnRvdGFsX3N0ZXAYAyABKAUSLgoKYXBwbGllZF9hdBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASNgoJYXBwbGljYW50GAUgASgLMiMuaW52b2ljZS5yZWNpcGllbnQudjEuTWVtYmVyU3VtbWFyeRI3CgZldmVudHMYBiADKAsyJy5pbnZvaWNlLnJlY2lwaWVudC52MS5BcHBsaWNhdGlvbi5FdmVudBIaChJsYXRlc3R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SUNBVElPTl9TVEFUVVNfV0FJVElOR19GT1JfQVBQUk9WQUwQARIfChtBUFBMSUNBVElPTl9TVEFUVVNfUkVKRUNURUQQAhIfChtBUFBMSUNBVElPTl9TVEFUVVNfQ0FOQ0VMRUQQAxIgChxBUFBMSUNBVElPTl9TVEFUVVNfQ09NUExFVEVEEARCZFpiZ2l0aHViLmNvbS84OGxhYnMvYW5kcGFkLWludm9pY2UtbWFuYWdlbWVudC9hcGkvYXBwL2luZnJhc3RydWN0dXJlL2FwaS9yZWNpcGllbnRhcGkvdjEvcmVjaXBpZW50cGJiBnByb3RvMw\", [file_google_protobuf_timestamp, file_invoice_recipient_v1_member]);\n\n/**\n * 請求書の承認申請\n *\n * @generated from message invoice.recipient.v1.Application\n */\nexport type Application = Message<\"invoice.recipient.v1.Application\"> & {\n /**\n * @memo: 承認フロー切り替え後は削除予定\n *\n * @generated from field: invoice.recipient.v1.ApplicationStatus status = 1;\n */\n status: ApplicationStatus;\n\n /**\n * 承認申請フローの完了済みのステップ数\n * (申請はステップ数に含めず)\n * @memo: 承認フロー切り替え後は削除予定\n *\n * @generated from field: int32 completed_step = 2;\n */\n completedStep: number;\n\n /**\n * 承認申請フローの全ステップ数\n * (申請はステップ数に含めず)\n * @memo: 承認フロー切り替え後は削除予定\n *\n * @generated from field: int32 total_step = 3;\n */\n totalStep: number;\n\n /**\n * 申請日\n * @memo: 承認フロー切り替え後は削除予定\n *\n * @generated from field: google.protobuf.Timestamp applied_at = 4;\n */\n appliedAt?: Timestamp;\n\n /**\n * 申請者\n * @memo: 承認フロー切り替え後は削除予定\n *\n * @generated from field: invoice.recipient.v1.MemberSummary applicant = 5;\n */\n applicant?: MemberSummary;\n\n /**\n * 承認申請での位置\n * @memo: 承認フロー切り替え後は削除予定\n *\n * @generated from field: repeated invoice.recipient.v1.Application.Event events = 6;\n */\n events: Application_Event[];\n\n /**\n * eventsに中での最新のイベントの位置\n * @memo: 承認フロー切り替え後は削除予定\n *\n * @generated from field: int32 latest_event_index = 7;\n */\n latestEventIndex: number;\n\n /**\n * @generated from field: repeated invoice.recipient.v1.Application.Step steps = 8;\n */\n steps: Application_Step[];\n};\n\n/**\n * Describes the message invoice.recipient.v1.Application.\n * Use `create(ApplicationSchema)` to create a new message.\n */\nexport const ApplicationSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_application, 0);\n\n/**\n * @memo: 承認フロー切り替え後は削除予定\n *\n * @generated from message invoice.recipient.v1.Application.Event\n */\nexport type Application_Event = Message<\"invoice.recipient.v1.Application.Event\"> & {\n /**\n * 申請フローの何番目のステップか\n * 申請: 0, 取り下げ: -1\n *\n * @generated from field: int32 step = 1;\n */\n step: number;\n\n /**\n * イベントを発生させたユーザ\n *\n * @generated from field: invoice.recipient.v1.MemberSummary issuer = 2;\n */\n issuer?: MemberSummary;\n\n /**\n * イベント種別\n *\n * @generated from field: invoice.recipient.v1.Application.EventType event_type = 3;\n */\n eventType: Application_EventType;\n\n /**\n * ユーザがつけたコメント\n *\n * @generated from field: string comment = 4;\n */\n comment: string;\n\n /**\n * イベント発生時刻\n *\n * @generated from field: google.protobuf.Timestamp issued_at = 5;\n */\n issuedAt?: Timestamp;\n};\n\n/**\n * Describes the message invoice.recipient.v1.Application.Event.\n * Use `create(Application_EventSchema)` to create a new message.\n */\nexport const Application_EventSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_application, 0, 0);\n\n/**\n * @generated from message invoice.recipient.v1.Application.Step\n */\nexport type Application_Step = Message<\"invoice.recipient.v1.Application.Step\"> & {\n /**\n * 申請フローの何番目のステップか\n * @memo: 申請は0で、承認は1から始まる\n *\n * @generated from field: int32 step = 1;\n */\n step: number;\n\n /**\n * 必要な承認数\n *\n * @generated from field: int32 required_approver_count = 2;\n */\n requiredApproverCount: number;\n\n /**\n * approvars から集計した step のステータス\n * EX1) 必要な承認数に足りていなければ EVENT_TYPE_IN_PROGRESS\n * EX2) 必要な承認数に足りていれば EVENT_TYPE_APPROVED\n * EX3) 差し戻し/取り下げが行われていればそれぞれのイベントタイプが設定される\n *\n * @generated from field: invoice.recipient.v1.Application.EventType summarized_event_type = 3;\n */\n summarizedEventType: Application_EventType;\n\n /**\n * 承認者\n *\n * @generated from field: repeated invoice.recipient.v1.Application.StepEvent events = 4;\n */\n events: Application_StepEvent[];\n};\n\n/**\n * Describes the message invoice.recipient.v1.Application.Step.\n * Use `create(Application_StepSchema)` to create a new message.\n */\nexport const Application_StepSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_application, 0, 1);\n\n/**\n * @generated from message invoice.recipient.v1.Application.StepEvent\n */\nexport type Application_StepEvent = Message<\"invoice.recipient.v1.Application.StepEvent\"> & {\n /**\n * 対象ユーザ\n *\n * @generated from field: invoice.recipient.v1.MemberSummary issuer = 1;\n */\n issuer?: MemberSummary;\n\n /**\n * イベント種別\n *\n * @generated from field: invoice.recipient.v1.Application.EventType event_type = 2;\n */\n eventType: Application_EventType;\n\n /**\n * ユーザがつけたコメント\n *\n * @generated from field: string comment = 3;\n */\n comment: string;\n\n /**\n * 代理(管理者権限を持つユーザによる代理操作した)ユーザかどうか\n *\n * @generated from field: bool substitute = 4;\n */\n substitute: boolean;\n\n /**\n * イベント発生時刻\n *\n * @generated from field: optional google.protobuf.Timestamp issued_at = 5;\n */\n issuedAt?: Timestamp;\n};\n\n/**\n * Describes the message invoice.recipient.v1.Application.StepEvent.\n * Use `create(Application_StepEventSchema)` to create a new message.\n */\nexport const Application_StepEventSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_application, 0, 2);\n\n/**\n * @generated from enum invoice.recipient.v1.Application.EventType\n */\nexport enum Application_EventType {\n /**\n * @generated from enum value: EVENT_TYPE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * 請求者による承認申請\n *\n * @generated from enum value: EVENT_TYPE_REQUESTED = 1;\n */\n REQUESTED = 1,\n\n /**\n * 承認\n *\n * @generated from enum value: EVENT_TYPE_APPROVED = 2;\n */\n APPROVED = 2,\n\n /**\n * 承認者による差し戻し\n *\n * @generated from enum value: EVENT_TYPE_REJECTED = 3;\n */\n REJECTED = 3,\n\n /**\n * 請求者による取り下げ\n *\n * @generated from enum value: EVENT_TYPE_CANCELLED = 4;\n */\n CANCELLED = 4,\n\n /**\n * 進行中\n *\n * @generated from enum value: EVENT_TYPE_IN_PROGRESS = 5;\n */\n IN_PROGRESS = 5,\n}\n\n/**\n * Describes the enum invoice.recipient.v1.Application.EventType.\n */\nexport const Application_EventTypeSchema: GenEnum = /*@__PURE__*/\n enumDesc(file_invoice_recipient_v1_application, 0, 0);\n\n/**\n * @generated from message invoice.recipient.v1.ApplicationSummaryWithInvoice\n */\nexport type ApplicationSummaryWithInvoice = Message<\"invoice.recipient.v1.ApplicationSummaryWithInvoice\"> & {\n /**\n * 申請状況\n *\n * @generated from field: invoice.recipient.v1.ApplicationStatus status = 1;\n */\n status: ApplicationStatus;\n\n /**\n * 承認申請フローの完了済みのステップ数\n * (申請はステップ数に含めず)\n *\n * @generated from field: int32 completed_step = 2;\n */\n completedStep: number;\n\n /**\n * 承認申請フローの全ステップ数\n * (申請はステップ数に含めず)\n *\n * @generated from field: int32 total_step = 3;\n */\n totalStep: number;\n\n /**\n * 申請日\n *\n * @generated from field: google.protobuf.Timestamp applied_at = 4;\n */\n appliedAt?: Timestamp;\n\n /**\n * 申請者\n * 申請者が多い場合は、一部だけ返します。仕様上、最大50人になるので。\n *\n * @generated from field: invoice.recipient.v1.MemberSummary applicants = 5;\n */\n applicants?: MemberSummary;\n\n /**\n * applicants に含まれていない申請者はいるか?\n *\n * @generated from field: bool has_more_applicants = 6;\n */\n hasMoreApplicants: boolean;\n\n /**\n * 支払い金額(税抜)\n *\n * @generated from field: int64 pay_amount_excluding_tax = 7;\n */\n payAmountExcludingTax: bigint;\n\n /**\n * 支払い税額(税込)\n *\n * @generated from field: int64 pay_amount_including_tax = 8;\n */\n payAmountIncludingTax: bigint;\n\n /**\n * 現在の承認者か?\n *\n * @generated from field: bool operator_is_current_approver = 9;\n */\n operatorIsCurrentApprover: boolean;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ApplicationSummaryWithInvoice.\n * Use `create(ApplicationSummaryWithInvoiceSchema)` to create a new message.\n */\nexport const ApplicationSummaryWithInvoiceSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_application, 1);\n\n/**\n * (承認フロー対応) 請求書の承認申請一覧\n *\n * @generated from message invoice.recipient.v1.ApplicationSummary\n */\nexport type ApplicationSummary = Message<\"invoice.recipient.v1.ApplicationSummary\"> & {\n /**\n * Get用のID\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * @generated from field: invoice.recipient.v1.ApplicationStatus status = 2;\n */\n status: ApplicationStatus;\n\n /**\n * 現在のステップ (全てのステップが完了(status=APPLICATION_STATUS_COMPLETED)の場合は最後のステップが設定される)\n *\n * @generated from field: int32 current_step = 3;\n */\n currentStep: number;\n\n /**\n * 申請日時\n *\n * @generated from field: google.protobuf.Timestamp applied_at = 4;\n */\n appliedAt?: Timestamp;\n\n /**\n * 取り下げ/差し戻しの場合の操作ユーザ\n *\n * @generated from field: optional invoice.recipient.v1.MemberSummary stopper = 5;\n */\n stopper?: MemberSummary;\n\n /**\n * 取り下げ/差し戻し日時\n *\n * @generated from field: optional google.protobuf.Timestamp stopped_at = 6;\n */\n stoppedAt?: Timestamp;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ApplicationSummary.\n * Use `create(ApplicationSummarySchema)` to create a new message.\n */\nexport const ApplicationSummarySchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_application, 2);\n\n/**\n * 請求書の承認申請の状況\n *\n * @generated from enum invoice.recipient.v1.ApplicationStatus\n */\nexport enum ApplicationStatus {\n /**\n * @generated from enum value: APPLICATION_STATUS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * 承認待ち\n *\n * @generated from enum value: APPLICATION_STATUS_WAITING_FOR_APPROVAL = 1;\n */\n WAITING_FOR_APPROVAL = 1,\n\n /**\n * 差し戻し\n *\n * @generated from enum value: APPLICATION_STATUS_REJECTED = 2;\n */\n REJECTED = 2,\n\n /**\n * 取り下げ\n *\n * @generated from enum value: APPLICATION_STATUS_CANCELED = 3;\n */\n CANCELED = 3,\n\n /**\n * 承認完了\n *\n * @generated from enum value: APPLICATION_STATUS_COMPLETED = 4;\n */\n COMPLETED = 4,\n}\n\n/**\n * Describes the enum invoice.recipient.v1.ApplicationStatus.\n */\nexport const ApplicationStatusSchema: GenEnum = /*@__PURE__*/\n enumDesc(file_invoice_recipient_v1_application, 0);\n\n","// @generated by protoc-gen-es v2.2.0 with parameter \"target=ts\"\n// @generated from file invoice/recipient/v1/business_master.proto (package invoice.recipient.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv1\";\nimport { fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file invoice/recipient/v1/business_master.proto.\n */\nexport const file_invoice_recipient_v1_business_master: GenFile = /*@__PURE__*/\n fileDesc(\"CippbnZvaWNlL3JlY2lwaWVudC92MS9idXNpbmVzc19tYXN0ZXIucHJvdG8SFGludm9pY2UucmVjaXBpZW50LnYxIioKDkJ1c2luZXNzTWFzdGVyEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAlCZFpiZ2l0aHViLmNvbS84OGxhYnMvYW5kcGFkLWludm9pY2UtbWFuYWdlbWVudC9hcGkvYXBwL2luZnJhc3RydWN0dXJlL2FwaS9yZWNpcGllbnRhcGkvdjEvcmVjaXBpZW50cGJiBnByb3RvMw\");\n\n/**\n * 工事種類\n *\n * @generated from message invoice.recipient.v1.BusinessMaster\n */\nexport type BusinessMaster = Message<\"invoice.recipient.v1.BusinessMaster\"> & {\n /**\n * 工事種類のID\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * 工事種類の名前\n *\n * @generated from field: string name = 2;\n */\n name: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.BusinessMaster.\n * Use `create(BusinessMasterSchema)` to create a new message.\n */\nexport const BusinessMasterSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_business_master, 0);\n\n","// @generated by protoc-gen-es v2.2.0 with parameter \"target=ts\"\n// @generated from file invoice/recipient/v1/contract.proto (package invoice.recipient.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv1\";\nimport { enumDesc, fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file invoice/recipient/v1/contract.proto.\n */\nexport const file_invoice_recipient_v1_contract: GenFile = /*@__PURE__*/\n fileDesc(\"CiNpbnZvaWNlL3JlY2lwaWVudC92MS9jb250cmFjdC5wcm90bxIUaW52b2ljZS5yZWNpcGllbnQudjEihwEKD0NvbnRyYWN0U3VtbWFyeRIKCgJpZBgBIAEoCRIRCgljb21tb25faWQYAiABKAkSDAoEbmFtZRgDIAEoCRIvCgh0YXhfdHlwZRgEIAEoDjIdLmludm9pY2UucmVjaXBpZW50LnYxLlRheFR5cGUSFgoOaW52b2ljZV9udW1iZXIYBSABKAkqYgoHVGF4VHlwZRIYChRUQVhfVFlQRV9VTlNQRUNJRklFRBAAEhQKEFRBWF9UWVBFX1VOS05PV04QARISCg5UQVhfVFlQRV9QQVlFUhACEhMKD1RBWF9UWVBFX0VYRU1QVBADQmRaYmdpdGh1Yi5jb20vODhsYWJzL2FuZHBhZC1pbnZvaWNlLW1hbmFnZW1lbnQvYXBpL2FwcC9pbmZyYXN0cnVjdHVyZS9hcGkvcmVjaXBpZW50YXBpL3YxL3JlY2lwaWVudHBiYgZwcm90bzM\");\n\n/**\n * 取引先の概要\n *\n * @generated from message invoice.recipient.v1.ContractSummary\n */\nexport type ContractSummary = Message<\"invoice.recipient.v1.ContractSummary\"> & {\n /**\n * 取引先ID\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * 取引先管理ID\n *\n * @generated from field: string common_id = 2;\n */\n commonId: string;\n\n /**\n * 取引先名\n *\n * @generated from field: string name = 3;\n */\n name: string;\n\n /**\n * 税区分\n *\n * @generated from field: invoice.recipient.v1.TaxType tax_type = 4;\n */\n taxType: TaxType;\n\n /**\n * 適格請求書事業者登録番号\n *\n * @generated from field: string invoice_number = 5;\n */\n invoiceNumber: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ContractSummary.\n * Use `create(ContractSummarySchema)` to create a new message.\n */\nexport const ContractSummarySchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_contract, 0);\n\n/**\n * @generated from enum invoice.recipient.v1.TaxType\n */\nexport enum TaxType {\n /**\n * @generated from enum value: TAX_TYPE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * 未設定\n *\n * @generated from enum value: TAX_TYPE_UNKNOWN = 1;\n */\n UNKNOWN = 1,\n\n /**\n * 課税事業者\n *\n * @generated from enum value: TAX_TYPE_PAYER = 2;\n */\n PAYER = 2,\n\n /**\n * 免税事業者\n *\n * @generated from enum value: TAX_TYPE_EXEMPT = 3;\n */\n EXEMPT = 3,\n}\n\n/**\n * Describes the enum invoice.recipient.v1.TaxType.\n */\nexport const TaxTypeSchema: GenEnum = /*@__PURE__*/\n enumDesc(file_invoice_recipient_v1_contract, 0);\n\n","// @generated by protoc-gen-es v2.2.0 with parameter \"target=ts\"\n// @generated from file invoice/recipient/v1/invoice.proto (package invoice.recipient.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv1\";\nimport { enumDesc, fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport type { ApplicationStatus, ApplicationSummaryWithInvoice } from \"./application_pb\";\nimport { file_invoice_recipient_v1_application } from \"./application_pb\";\nimport type { BusinessMaster } from \"./business_master_pb\";\nimport { file_invoice_recipient_v1_business_master } from \"./business_master_pb\";\nimport type { MemberSummary } from \"./member_pb\";\nimport { file_invoice_recipient_v1_member } from \"./member_pb\";\nimport type { ContractSummary } from \"./contract_pb\";\nimport { file_invoice_recipient_v1_contract } from \"./contract_pb\";\nimport type { OrderSummary } from \"./order_pb\";\nimport { file_invoice_recipient_v1_order } from \"./order_pb\";\nimport type { ReviewCustomItemValue } from \"./review_custom_item_pb\";\nimport { file_invoice_recipient_v1_review_custom_item } from \"./review_custom_item_pb\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file invoice/recipient/v1/invoice.proto.\n */\nexport const file_invoice_recipient_v1_invoice: GenFile = /*@__PURE__*/\n fileDesc(\"CiJpbnZvaWNlL3JlY2lwaWVudC92MS9pbnZvaWNlLnByb3RvEhRpbnZvaWNlLnJlY2lwaWVudC52MSKdDgoHSW52b2ljZRIKCgJpZBgBIAEoCRIzCgZzdGF0dXMYAiABKA4yIy5pbnZvaWNlLnJlY2lwaWVudC52MS5JbnZvaWNlU3RhdHVzEjkKDW9yZGVyX3N1bW1hcnkYAyABKAsyIi5pbnZvaWNlLnJlY2lwaWVudC52MS5PcmRlclN1bW1hcnkSOQoGaXNzdWVyGAQgASgLMiQuaW52b2ljZS5yZWNpcGllbnQudjEuSW52b2ljZS5Jc3N1ZXJIAIgBARJEChBjb250cmFjdF9zdW1tYXJ5GAUgASgLMiUuaW52b2ljZS5yZWNpcGllbnQudjEuQ29udHJhY3RTdW1tYXJ5SAGIAQESEgoKZGlzcGxheV9pZBgGIAEoCRIwCgxpbnZvaWNlX2RhdGUYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhsKE2NvbnRyYWN0X29yZGVyX2NvZGUYCCABKAkSPgoMaW1wb3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cqoQEKEkludm9pY2VJbXBvcnRSb3V0ZRIkCiBJTlZPSUNFX0lNUE9SVF9ST1VURV9VTlNQRUNJRklFRBAAEh8KG0lOVk9JQ0VfSU1QT1JUX1JPVVRFX0lTU1VFUhABEiIKHklOVk9JQ0VfSU1QT1JUX1JPVVRFX1JFQ0lQSUVOVBACEiAKHElOVk9JQ0VfSU1QT1JUX1JPVVRFX1BBUlRORVIQAyrUAQoPUmV2aWV3RXZlbnRUeXBlEiEKHVJFVklFV19FVkVOVF9UWVBFX1VOU1BFQ0lGSUVEEAASHgoaUkVWSUVXX0VWRU5UX1RZUEVfUkVWSUVXRUQQARIdChlSRVZJRVdfRVZFTlRfVFlQRV9BUFBMSUVEEAISHgoaUkVWSUVXX0VWRU5UX1RZUEVfQVBQUk9WRUQQAxIeChpSRVZJRVdfRVZFTlRfVFlQRV9SRUpFQ1RFRBAEEh8KG1JFVklFV19FVkVOVF9UWVBFX0NBTkNFTExFRBAFKlQKB1RheFJhdGUSGAoUVEFYX1JBVEVfVU5TUEVDSUZJRUQQABIOCgpUQVhfUkFURV8wEAESDgoKVEFYX1JBVEVfOBACEg8KC1RBWF9SQVRFXzEwEANCZFpiZ2l0aHViLmNvbS84OGxhYnMvYW5kcGFkLWludm9pY2UtbWFuYWdlbWVudC9hcGkvYXBwL2luZnJhc3RydWN0dXJlL2FwaS9yZWNpcGllbnRhcGkvdjEvcmVjaXBpZW50cGJiBnByb3RvMw\", [file_google_protobuf_timestamp, file_invoice_recipient_v1_application, file_invoice_recipient_v1_business_master, file_invoice_recipient_v1_member, file_invoice_recipient_v1_contract, file_invoice_recipient_v1_order, file_invoice_recipient_v1_review_custom_item]);\n\n/**\n * 請求書\n *\n * @generated from message invoice.recipient.v1.Invoice\n */\nexport type Invoice = Message<\"invoice.recipient.v1.Invoice\"> & {\n /**\n * 請求書のID\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * 請求書のステータス\n *\n * @generated from field: invoice.recipient.v1.InvoiceStatus status = 2;\n */\n status: InvoiceStatus;\n\n /**\n * 請求書に紐づけられた施工案件情報\n *\n * @generated from field: invoice.recipient.v1.OrderSummary order_summary = 3;\n */\n orderSummary?: OrderSummary;\n\n /**\n * 請求者の送付者の情報\n * 取引先が登録した請求書でないときはnil\n *\n * @generated from field: optional invoice.recipient.v1.Invoice.Issuer issuer = 4;\n */\n issuer?: Invoice_Issuer;\n\n /**\n * 請求書を送付した取引先\n * 取引先から請求書が送付された時点ではnil\n *\n * @generated from field: optional invoice.recipient.v1.ContractSummary contract_summary = 5;\n */\n contractSummary?: ContractSummary;\n\n /**\n * 表示用の請求ID\n *\n * 実装者向けNote\n * andpad_invoice_management_invoices.invoice_number に対応しています。\n *\n * @generated from field: string display_id = 6;\n */\n displayId: string;\n\n /**\n * 請求日\n *\n * @generated from field: google.protobuf.Timestamp invoice_date = 7;\n */\n invoiceDate?: Timestamp;\n\n /**\n * 発注コード\n * 施工案件のOrderとは無関係\n *\n * @generated from field: string contract_order_code = 8;\n */\n contractOrderCode: string;\n\n /**\n * 請求書の登録経路\n *\n * @generated from field: invoice.recipient.v1.InvoiceImportRoute import_route = 9;\n */\n importRoute: InvoiceImportRoute;\n\n /**\n * 最新の承認申請の概要\n * 未申請ならnil\n *\n * @generated from field: invoice.recipient.v1.Invoice.Application application = 10;\n */\n application?: Invoice_Application;\n\n /**\n * 請求書ファイル\n *\n * @generated from field: invoice.recipient.v1.Invoice.File invoice_file = 11;\n */\n invoiceFile?: Invoice_File;\n\n /**\n * 請求書ファイルが電子帳簿保存法のスキャン要件を満たしているかどうか\n *\n * @generated from field: invoice.recipient.v1.InvoiceFileCompliance invoice_file_compliance = 12;\n */\n invoiceFileCompliance?: InvoiceFileCompliance;\n\n /**\n * 添付ファイル\n *\n * @generated from field: repeated invoice.recipient.v1.Invoice.File attachment_files = 13;\n */\n attachmentFiles: Invoice_File[];\n\n /**\n * 請求書の登録日\n *\n * @generated from field: google.protobuf.Timestamp created_at = 14;\n */\n createdAt?: Timestamp;\n\n /**\n * 請求金額(税抜)\n *\n * @generated from field: int64 billing_amount_excluding_tax = 15;\n */\n billingAmountExcludingTax: bigint;\n\n /**\n * 請求税額(税込)\n *\n * @generated from field: int64 billing_amount_including_tax = 16;\n */\n billingAmountIncludingTax: bigint;\n\n /**\n * 請求金額\n *\n * @generated from field: repeated invoice.recipient.v1.BillingAmount billing_amounts = 17;\n */\n billingAmounts: BillingAmount[];\n\n /**\n * 査定担当者\n *\n * @generated from field: repeated invoice.recipient.v1.MemberSummary reviewers = 18;\n */\n reviewers: MemberSummary[];\n\n /**\n * 閲覧者は、請求書を査定できるか?\n * Yesなら、請求書の査定、請求書の取り消し、請求書に紐づく施工案件の更新ができる。\n *\n * 以下の2つの条件を満たすとき、この値はtrueになります。\n *\n * 1. 請求書の状況が\"査定待ち\"である\n * 2. 閲覧者がこの請求書を査定する権限がある。以下のいずれかを意味します。\n * a. Clientの範囲の権限で、請求書の査定を行う権限がある\n * b. 閲覧者は請求書の査定担当者である\n * c. 請求書の査定担当者が設定されていない\n *\n * @generated from field: bool operator_can_review = 19;\n */\n operatorCanReview: boolean;\n\n /**\n * @generated from field: optional string output_name = 20;\n */\n outputName?: string;\n\n /**\n * 査定時の添付ファイル\n *\n * @generated from field: repeated invoice.recipient.v1.Invoice.File review_files = 21;\n */\n reviewFiles: Invoice_File[];\n\n /**\n * v0のGetInvoiceなどと組合せて使うための整数形式の請求書IDです。\n * v0 -> v1移行の過渡期だけ使ってください。移行が終わったら、このフィールドは消します。\n *\n * API開発者向けのNote\n * データベースのinvoices.idに対応しています。\n *\n * @generated from field: int32 id_v0 = 22;\n */\n idV0: number;\n\n /**\n * 複数案件の請求書\n * この値が非nilなら、この請求書は複数案件の請求書です。他の全てのフィールドはゼロ値とします。\n *\n * Note:\n * 最終的には、こういう定義にしたい(他のフィールドは全て削除)。\n * oneof type {\n * SimplexInvoice simplex_invoice = 1;\n * ComplexInvoice complex_invoice = 2;\n * }\n *\n * 複数案件の請求書対応の流れで、SimplexInvoiceを実装する余力はないと思っている。\n * なので、最終形に移行しやすい定義にするだけにとどめておく(optionalフィールドをoneofに入れるのは非破壊的変更)。\n *\n * @generated from field: optional invoice.recipient.v1.ComplexInvoice complex_invoice = 23;\n */\n complexInvoice?: ComplexInvoice;\n};\n\n/**\n * Describes the message invoice.recipient.v1.Invoice.\n * Use `create(InvoiceSchema)` to create a new message.\n */\nexport const InvoiceSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 0);\n\n/**\n * @generated from message invoice.recipient.v1.Invoice.Issuer\n */\nexport type Invoice_Issuer = Message<\"invoice.recipient.v1.Invoice.Issuer\"> & {\n /**\n * 送付者の名前\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * 送付者の会社名\n *\n * 工事請負業者が請求書送付時に登録するものです。\n * ANDPAD内で良く使われる'client'とは別物です。\n *\n * @generated from field: string client_name = 2;\n */\n clientName: string;\n\n /**\n * 送付者のメールアドレス\n *\n * @generated from field: string email = 3;\n */\n email: string;\n\n /**\n * 送付者の電話番号\n *\n * @generated from field: string tel = 4;\n */\n tel: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.Invoice.Issuer.\n * Use `create(Invoice_IssuerSchema)` to create a new message.\n */\nexport const Invoice_IssuerSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 0, 0);\n\n/**\n * @generated from message invoice.recipient.v1.Invoice.Application\n */\nexport type Invoice_Application = Message<\"invoice.recipient.v1.Invoice.Application\"> & {\n /**\n * 申請状況\n *\n * @generated from field: invoice.recipient.v1.ApplicationStatus status = 1;\n */\n status: ApplicationStatus;\n\n /**\n * 承認申請フローの完了済みのステップ数\n * (申請はステップ数に含めず)\n *\n * @generated from field: int32 completed_step = 2;\n */\n completedStep: number;\n\n /**\n * 承認申請フローの全ステップ数\n * (申請はステップ数に含めず)\n *\n * @generated from field: int32 total_step = 3;\n */\n totalStep: number;\n\n /**\n * 申請日\n *\n * @generated from field: google.protobuf.Timestamp applied_at = 4;\n */\n appliedAt?: Timestamp;\n\n /**\n * 申請者\n *\n * @generated from field: invoice.recipient.v1.MemberSummary applicant = 5;\n */\n applicant?: MemberSummary;\n\n /**\n * 閲覧者は承認できるか?\n *\n * @generated from field: bool operator_can_approve = 6;\n */\n operatorCanApprove: boolean;\n\n /**\n * 閲覧者は申請を取り下げることができるか?\n *\n * @generated from field: bool operator_can_cancel = 7;\n */\n operatorCanCancel: boolean;\n\n /**\n * 現在の承認者か?\n *\n * @generated from field: bool operator_is_current_approver = 8;\n */\n operatorIsCurrentApprover: boolean;\n\n /**\n * 支払い金額(税抜)\n *\n * @generated from field: int64 pay_amount_excluding_tax = 9;\n */\n payAmountExcludingTax: bigint;\n\n /**\n * 支払い税額(税込)\n *\n * @generated from field: int64 pay_amount_including_tax = 10;\n */\n payAmountIncludingTax: bigint;\n\n /**\n * 査定金額\n *\n * @generated from field: repeated invoice.recipient.v1.ReviewAmount review_amounts = 11;\n */\n reviewAmounts: ReviewAmount[];\n\n /**\n * 相殺\n *\n * @generated from field: repeated invoice.recipient.v1.SetOffAmount set_off_amounts = 12;\n */\n setOffAmounts: SetOffAmount[];\n\n /**\n * 査定メモ\n *\n * @generated from field: string memo = 13;\n */\n memo: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.Invoice.Application.\n * Use `create(Invoice_ApplicationSchema)` to create a new message.\n */\nexport const Invoice_ApplicationSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 0, 1);\n\n/**\n * @generated from message invoice.recipient.v1.Invoice.File\n */\nexport type Invoice_File = Message<\"invoice.recipient.v1.Invoice.File\"> & {\n /**\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * @generated from field: string name = 2;\n */\n name: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.Invoice.File.\n * Use `create(Invoice_FileSchema)` to create a new message.\n */\nexport const Invoice_FileSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 0, 2);\n\n/**\n * 複合案件の請求書\n *\n * @generated from message invoice.recipient.v1.ComplexInvoice\n */\nexport type ComplexInvoice = Message<\"invoice.recipient.v1.ComplexInvoice\"> & {\n /**\n * 請求書のID\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * 請求書のステータス\n *\n * @generated from field: invoice.recipient.v1.InvoiceStatus status = 2;\n */\n status: InvoiceStatus;\n\n /**\n * 請求者の送付者の情報\n * 協力業者が登録した請求書でないときはnil\n *\n * @generated from field: optional invoice.recipient.v1.ComplexInvoice.Issuer issuer = 3;\n */\n issuer?: ComplexInvoice_Issuer;\n\n /**\n * 請求書を送付した取引先\n * アカウントなし協力業者から請求書を送付したとき、取引先が推定できない場合はnil\n *\n * @generated from field: optional invoice.recipient.v1.ContractSummary contract_summary = 4;\n */\n contractSummary?: ContractSummary;\n\n /**\n * 表示用の請求ID\n *\n * 実装者向けNote\n * andpad_invoice_management_invoices.invoice_number に対応しています。\n *\n * @generated from field: string display_id = 5;\n */\n displayId: string;\n\n /**\n * 請求日\n *\n * @generated from field: google.protobuf.Timestamp invoice_date = 6;\n */\n invoiceDate?: Timestamp;\n\n /**\n * 請求書の登録経路\n *\n * @generated from field: invoice.recipient.v1.InvoiceImportRoute import_route = 7;\n */\n importRoute: InvoiceImportRoute;\n\n /**\n * 最新の承認申請の概要\n * 未申請ならnil\n *\n * @generated from field: invoice.recipient.v1.ComplexInvoice.Application application = 8;\n */\n application?: ComplexInvoice_Application;\n\n /**\n * 請求書ファイル\n *\n * @generated from field: invoice.recipient.v1.ComplexInvoice.File invoice_file = 9;\n */\n invoiceFile?: ComplexInvoice_File;\n\n /**\n * 請求書ファイルが電子帳簿保存法のスキャン要件を満たしているかどうか\n *\n * @generated from field: invoice.recipient.v1.InvoiceFileCompliance invoice_file_compliance = 10;\n */\n invoiceFileCompliance?: InvoiceFileCompliance;\n\n /**\n * 添付ファイル\n *\n * @generated from field: repeated invoice.recipient.v1.ComplexInvoice.File attachment_files = 11;\n */\n attachmentFiles: ComplexInvoice_File[];\n\n /**\n * 請求書の登録日\n *\n * @generated from field: google.protobuf.Timestamp created_at = 12;\n */\n createdAt?: Timestamp;\n\n /**\n * 請求金額(税抜)\n *\n * @generated from field: int64 billing_amount_excluding_tax = 13;\n */\n billingAmountExcludingTax: bigint;\n\n /**\n * 請求税額(税込)\n *\n * @generated from field: int64 billing_amount_including_tax = 14;\n */\n billingAmountIncludingTax: bigint;\n\n /**\n * 請求金額\n *\n * @generated from field: repeated invoice.recipient.v1.BillingAmount billing_amounts = 15;\n */\n billingAmounts: BillingAmount[];\n\n /**\n * @generated from field: optional string output_name = 16;\n */\n outputName?: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ComplexInvoice.\n * Use `create(ComplexInvoiceSchema)` to create a new message.\n */\nexport const ComplexInvoiceSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 1);\n\n/**\n * @generated from message invoice.recipient.v1.ComplexInvoice.Issuer\n */\nexport type ComplexInvoice_Issuer = Message<\"invoice.recipient.v1.ComplexInvoice.Issuer\"> & {\n /**\n * 送付者の名前\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * 送付者の会社名\n *\n * 工事請負業者が請求書送付時に登録するものです。\n * ANDPAD内で良く使われる'client'とは別物です。\n *\n * @generated from field: string client_name = 2;\n */\n clientName: string;\n\n /**\n * 送付者のメールアドレス\n *\n * @generated from field: string email = 3;\n */\n email: string;\n\n /**\n * 送付者の電話番号\n *\n * @generated from field: string tel = 4;\n */\n tel: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ComplexInvoice.Issuer.\n * Use `create(ComplexInvoice_IssuerSchema)` to create a new message.\n */\nexport const ComplexInvoice_IssuerSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 1, 0);\n\n/**\n * @generated from message invoice.recipient.v1.ComplexInvoice.Application\n */\nexport type ComplexInvoice_Application = Message<\"invoice.recipient.v1.ComplexInvoice.Application\"> & {\n /**\n * 申請状況\n *\n * @generated from field: invoice.recipient.v1.ApplicationStatus status = 1;\n */\n status: ApplicationStatus;\n\n /**\n * 承認申請フローの完了済みのステップ数\n * (申請はステップ数に含めず)\n *\n * @generated from field: int32 completed_step = 2;\n */\n completedStep: number;\n\n /**\n * 承認申請フローの全ステップ数\n * (申請はステップ数に含めず)\n *\n * @generated from field: int32 total_step = 3;\n */\n totalStep: number;\n\n /**\n * 申請日\n *\n * @generated from field: google.protobuf.Timestamp applied_at = 4;\n */\n appliedAt?: Timestamp;\n\n /**\n * 申請者\n * NOTE: 最大50人なので省略するか、List rpc作るとかした方が良いのでは?\n *\n * @generated from field: invoice.recipient.v1.MemberSummary applicants = 5;\n */\n applicants?: MemberSummary;\n\n /**\n * 閲覧者は承認できるか?\n *\n * @generated from field: bool operator_can_approve = 6;\n */\n operatorCanApprove: boolean;\n\n /**\n * 現在の承認者か?\n *\n * @generated from field: bool operator_is_current_approver = 7;\n */\n operatorIsCurrentApprover: boolean;\n\n /**\n * 支払い金額(税抜)\n *\n * @generated from field: int64 pay_amount_excluding_tax = 8;\n */\n payAmountExcludingTax: bigint;\n\n /**\n * 支払い税額(税込)\n *\n * @generated from field: int64 pay_amount_including_tax = 9;\n */\n payAmountIncludingTax: bigint;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ComplexInvoice.Application.\n * Use `create(ComplexInvoice_ApplicationSchema)` to create a new message.\n */\nexport const ComplexInvoice_ApplicationSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 1, 1);\n\n/**\n * @generated from message invoice.recipient.v1.ComplexInvoice.File\n */\nexport type ComplexInvoice_File = Message<\"invoice.recipient.v1.ComplexInvoice.File\"> & {\n /**\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * @generated from field: string name = 2;\n */\n name: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ComplexInvoice.File.\n * Use `create(ComplexInvoice_FileSchema)` to create a new message.\n */\nexport const ComplexInvoice_FileSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 1, 2);\n\n/**\n * 査定対象\n *\n * @generated from message invoice.recipient.v1.ReviewTarget\n */\nexport type ReviewTarget = Message<\"invoice.recipient.v1.ReviewTarget\"> & {\n /**\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * 施工案件\n *\n * @generated from field: invoice.recipient.v1.OrderSummary order_summary = 2;\n */\n orderSummary?: OrderSummary;\n\n /**\n * 査定担当者\n *\n * @generated from field: repeated invoice.recipient.v1.MemberSummary reviewers = 3;\n */\n reviewers: MemberSummary[];\n\n /**\n * 発注コード\n *\n * @generated from field: string contract_order_code = 4;\n */\n contractOrderCode: string;\n\n /**\n * @generated from field: repeated invoice.recipient.v1.ReviewTarget.Amount amounts = 5;\n */\n amounts: ReviewTarget_Amount[];\n\n /**\n * 査定対象ごとに按分した請求金額の合計(税抜)\n *\n * @generated from field: int64 billing_amount_excluding_tax = 6;\n */\n billingAmountExcludingTax: bigint;\n\n /**\n * 査定可能か?\n *\n * @generated from field: bool can_review = 7;\n */\n canReview: boolean;\n\n /**\n * 編集・削除はできるか?\n *\n * @generated from field: bool can_edit = 8;\n */\n canEdit: boolean;\n\n /**\n * 査定\n * 未査定ならなし\n *\n * @generated from field: optional invoice.recipient.v1.Review review = 9;\n */\n review?: Review;\n\n /**\n * 査定用の添付ファイル\n *\n * @generated from field: repeated invoice.recipient.v1.ReviewTarget.File review_files = 10;\n */\n reviewFiles: ReviewTarget_File[];\n\n /**\n * 承認の取り下げはできるか?\n *\n * @generated from field: bool can_cancel = 11;\n */\n canCancel: boolean;\n\n /**\n * 最新の査定イベント\n * つまり、査定対象(案件)の状態\n * Review.events を実装するまでの暫定\n *\n * @generated from field: invoice.recipient.v1.ReviewEventType latest_review_event_type = 12;\n */\n latestReviewEventType: ReviewEventType;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ReviewTarget.\n * Use `create(ReviewTargetSchema)` to create a new message.\n */\nexport const ReviewTargetSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 2);\n\n/**\n * 査定対象ごとに按分した請求金額\n *\n * @generated from message invoice.recipient.v1.ReviewTarget.Amount\n */\nexport type ReviewTarget_Amount = Message<\"invoice.recipient.v1.ReviewTarget.Amount\"> & {\n /**\n * 税率\n *\n * @generated from field: invoice.recipient.v1.TaxRate tax_rate = 1;\n */\n taxRate: TaxRate;\n\n /**\n * 税抜金額\n *\n * @generated from field: int64 amount_excluding_tax = 2;\n */\n amountExcludingTax: bigint;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ReviewTarget.Amount.\n * Use `create(ReviewTarget_AmountSchema)` to create a new message.\n */\nexport const ReviewTarget_AmountSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 2, 0);\n\n/**\n * @generated from message invoice.recipient.v1.ReviewTarget.File\n */\nexport type ReviewTarget_File = Message<\"invoice.recipient.v1.ReviewTarget.File\"> & {\n /**\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * @generated from field: string name = 2;\n */\n name: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ReviewTarget.File.\n * Use `create(ReviewTarget_FileSchema)` to create a new message.\n */\nexport const ReviewTarget_FileSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 2, 1);\n\n/**\n * @generated from message invoice.recipient.v1.Review\n */\nexport type Review = Message<\"invoice.recipient.v1.Review\"> & {\n /**\n * 最新の査定履歴(最大2件)\n *\n * @generated from field: repeated invoice.recipient.v1.ReviewEvent events = 1;\n */\n events: ReviewEvent[];\n\n /**\n * 査定金額\n *\n * @generated from field: repeated invoice.recipient.v1.ReviewAmount review_amounts = 2;\n */\n reviewAmounts: ReviewAmount[];\n\n /**\n * 相殺\n *\n * @generated from field: repeated invoice.recipient.v1.SetOffAmount set_off_amounts = 3;\n */\n setOffAmounts: SetOffAmount[];\n\n /**\n * 支払金額(税抜)\n *\n * @generated from field: int64 pay_amount_excluding_tax = 4;\n */\n payAmountExcludingTax: bigint;\n\n /**\n * 査定メモ\n *\n * @generated from field: string memo = 6;\n */\n memo: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.Review.\n * Use `create(ReviewSchema)` to create a new message.\n */\nexport const ReviewSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 3);\n\n/**\n * @generated from message invoice.recipient.v1.ReviewEvent\n */\nexport type ReviewEvent = Message<\"invoice.recipient.v1.ReviewEvent\"> & {\n /**\n * イベントを発生させたユーザ\n *\n * @generated from field: invoice.recipient.v1.MemberSummary issuer = 1;\n */\n issuer?: MemberSummary;\n\n /**\n * イベント種別\n *\n * @generated from field: invoice.recipient.v1.ReviewEventType type = 2;\n */\n type: ReviewEventType;\n\n /**\n * ユーザがつけたコメント\n *\n * @generated from field: string comment = 3;\n */\n comment: string;\n\n /**\n * イベント発生時刻\n *\n * @generated from field: google.protobuf.Timestamp issued_at = 4;\n */\n issuedAt?: Timestamp;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ReviewEvent.\n * Use `create(ReviewEventSchema)` to create a new message.\n */\nexport const ReviewEventSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 4);\n\n/**\n * @generated from message invoice.recipient.v1.InvoiceSummary\n */\nexport type InvoiceSummary = Message<\"invoice.recipient.v1.InvoiceSummary\"> & {\n /**\n * @generated from oneof invoice.recipient.v1.InvoiceSummary.type\n */\n type: {\n /**\n * @generated from field: invoice.recipient.v1.SimplexInvoiceSummary simplex_invoice_summary = 1;\n */\n value: SimplexInvoiceSummary;\n case: \"simplexInvoiceSummary\";\n } | {\n /**\n * @generated from field: invoice.recipient.v1.ComplexInvoiceSummary complex_invoice_summary = 2;\n */\n value: ComplexInvoiceSummary;\n case: \"complexInvoiceSummary\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message invoice.recipient.v1.InvoiceSummary.\n * Use `create(InvoiceSummarySchema)` to create a new message.\n */\nexport const InvoiceSummarySchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 5);\n\n/**\n * @generated from message invoice.recipient.v1.SimplexInvoiceSummary\n */\nexport type SimplexInvoiceSummary = Message<\"invoice.recipient.v1.SimplexInvoiceSummary\"> & {\n /**\n * 請求書のID\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * 請求書のステータス\n *\n * @generated from field: invoice.recipient.v1.InvoiceStatus status = 2;\n */\n status: InvoiceStatus;\n\n /**\n * 添付ファイルの有無\n *\n * @generated from field: bool has_attachment_file = 3;\n */\n hasAttachmentFile: boolean;\n\n /**\n * 請求書に紐づけられた施工案件情報\n *\n * @generated from field: invoice.recipient.v1.OrderSummary order_summary = 4;\n */\n orderSummary?: OrderSummary;\n\n /**\n * 請求書を送付した取引先\n * 未ログインの取引先から請求書が送付された時点ではnil\n *\n * @generated from field: optional invoice.recipient.v1.ContractSummary contract_summary = 5;\n */\n contractSummary?: ContractSummary;\n\n /**\n * 表示用の請求ID\n *\n * 実装者向けNote\n * andpad_invoice_management_invoices.invoice_number に対応しています。\n *\n * @generated from field: string display_id = 6;\n */\n displayId: string;\n\n /**\n * 請求日\n *\n * @generated from field: google.protobuf.Timestamp invoice_date = 7;\n */\n invoiceDate?: Timestamp;\n\n /**\n * 発注コード\n *\n * @generated from field: string contract_order_code = 8;\n */\n contractOrderCode: string;\n\n /**\n * 請求書の登録経路\n *\n * @generated from field: invoice.recipient.v1.InvoiceImportRoute import_route = 9;\n */\n importRoute: InvoiceImportRoute;\n\n /**\n * 最新の承認申請の概要\n * 一度も申請したことがないならnil\n *\n * @generated from field: optional invoice.recipient.v1.ApplicationSummaryWithInvoice application = 10;\n */\n application?: ApplicationSummaryWithInvoice;\n\n /**\n * 請求書の登録日\n *\n * 実装者向けNote\n * andpad_invoice_management_invoices.invoice_date に対応しています。\n *\n * @generated from field: google.protobuf.Timestamp created_at = 11;\n */\n createdAt?: Timestamp;\n\n /**\n * 請求金額(税抜)\n *\n * @generated from field: int64 billing_amount_excluding_tax = 12;\n */\n billingAmountExcludingTax: bigint;\n\n /**\n * 請求税額(税込)\n *\n * @generated from field: int64 billing_amount_including_tax = 13;\n */\n billingAmountIncludingTax: bigint;\n\n /**\n * 査定担当者\n *\n * @generated from field: repeated invoice.recipient.v1.MemberSummary reviewers = 14;\n */\n reviewers: MemberSummary[];\n\n /**\n * 自分の査定待ちか?\n *\n * @generated from field: bool waiting_for_operator_review = 15;\n */\n waitingForOperatorReview: boolean;\n\n /**\n * 出力名\n *\n * @generated from field: optional string output_name = 16;\n */\n outputName?: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.SimplexInvoiceSummary.\n * Use `create(SimplexInvoiceSummarySchema)` to create a new message.\n */\nexport const SimplexInvoiceSummarySchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 6);\n\n/**\n * @generated from message invoice.recipient.v1.ComplexInvoiceSummary\n */\nexport type ComplexInvoiceSummary = Message<\"invoice.recipient.v1.ComplexInvoiceSummary\"> & {\n /**\n * 請求書のID\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * 請求書のステータス\n *\n * @generated from field: invoice.recipient.v1.InvoiceStatus status = 2;\n */\n status: InvoiceStatus;\n\n /**\n * 添付ファイルの有無\n *\n * @generated from field: bool has_attachment_file = 3;\n */\n hasAttachmentFile: boolean;\n\n /**\n * 請求書に紐づけられた施工案件情報\n *\n * @generated from field: int32 order_count = 4;\n */\n orderCount: number;\n\n /**\n * 請求書を送付した取引先\n * 未ログインの取引先から請求書が送付された時点ではnil\n *\n * @generated from field: optional invoice.recipient.v1.ContractSummary contract_summary = 5;\n */\n contractSummary?: ContractSummary;\n\n /**\n * 表示用の請求ID\n *\n * 実装者向けNote\n * andpad_invoice_management_invoices.invoice_number に対応しています。\n *\n * @generated from field: string display_id = 6;\n */\n displayId: string;\n\n /**\n * 請求日\n *\n * @generated from field: google.protobuf.Timestamp invoice_date = 7;\n */\n invoiceDate?: Timestamp;\n\n /**\n * 発注コード\n *\n * @generated from field: int32 contract_order_code_count = 8;\n */\n contractOrderCodeCount: number;\n\n /**\n * 請求書の登録経路\n *\n * @generated from field: invoice.recipient.v1.InvoiceImportRoute import_route = 9;\n */\n importRoute: InvoiceImportRoute;\n\n /**\n * 最新の承認申請の概要\n * 一度も申請したことがないならnil\n *\n * @generated from field: optional invoice.recipient.v1.ApplicationSummaryWithInvoice application = 10;\n */\n application?: ApplicationSummaryWithInvoice;\n\n /**\n * 請求書の登録日\n *\n * 実装者向けNote\n * andpad_invoice_management_invoices.invoice_date に対応しています。\n *\n * @generated from field: google.protobuf.Timestamp created_at = 11;\n */\n createdAt?: Timestamp;\n\n /**\n * 請求金額(税抜)\n *\n * @generated from field: int64 billing_amount_excluding_tax = 12;\n */\n billingAmountExcludingTax: bigint;\n\n /**\n * 請求税額(税込)\n *\n * @generated from field: int64 billing_amount_including_tax = 13;\n */\n billingAmountIncludingTax: bigint;\n\n /**\n * 査定担当者\n * 査定担当者が多い場合は、一部だけ返します。仕様上、最大250人になるので。\n *\n * @generated from field: repeated invoice.recipient.v1.MemberSummary reviewers = 14;\n */\n reviewers: MemberSummary[];\n\n /**\n * reviewers に含まれていない査定担当者がいるか?\n *\n * @generated from field: bool has_more_reviewer = 15;\n */\n hasMoreReviewer: boolean;\n\n /**\n * 自分の査定待ちか?\n *\n * @generated from field: bool waiting_for_operator_review = 16;\n */\n waitingForOperatorReview: boolean;\n\n /**\n * 出力名\n *\n * @generated from field: optional string output_name = 17;\n */\n outputName?: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ComplexInvoiceSummary.\n * Use `create(ComplexInvoiceSummarySchema)` to create a new message.\n */\nexport const ComplexInvoiceSummarySchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 7);\n\n/**\n * 請求書ファイルが電子帳簿保存法のスキャン要件を満たしているかどうか\n *\n * @generated from message invoice.recipient.v1.InvoiceFileCompliance\n */\nexport type InvoiceFileCompliance = Message<\"invoice.recipient.v1.InvoiceFileCompliance\"> & {\n /**\n * 請求ファイルは紙のスキャンで作られた画像か?\n *\n * @generated from field: invoice.recipient.v1.InvoiceFileCompliance.Code scan_image = 1;\n */\n scanImage: InvoiceFileCompliance_Code;\n\n /**\n * 請求ファイルの色の階調は、電子帳簿保存法の要件を満たしているか?\n *\n * @generated from field: invoice.recipient.v1.InvoiceFileCompliance.Code color = 2;\n */\n color: InvoiceFileCompliance_Code;\n\n /**\n * 請求ファイルのスキャン時の解像度は、電子帳簿保存法の要件を満たしているか?\n *\n * @generated from field: invoice.recipient.v1.InvoiceFileCompliance.Code resolution = 3;\n */\n resolution: InvoiceFileCompliance_Code;\n};\n\n/**\n * Describes the message invoice.recipient.v1.InvoiceFileCompliance.\n * Use `create(InvoiceFileComplianceSchema)` to create a new message.\n */\nexport const InvoiceFileComplianceSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 8);\n\n/**\n * @generated from enum invoice.recipient.v1.InvoiceFileCompliance.Code\n */\nexport enum InvoiceFileCompliance_Code {\n /**\n * @generated from enum value: CODE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * 電子帳簿保存法のスキャン要件を満たしている\n *\n * @generated from enum value: CODE_OK = 1;\n */\n OK = 1,\n\n /**\n * 電子帳簿保存法のスキャン要件を満たしていない\n *\n * @generated from enum value: CODE_NG = 2;\n */\n NG = 2,\n\n /**\n * 電子帳簿保存法のスキャン要件を満たしているか判別できない\n * 通常、非JPEG画像を含む場合、無効なJPEG画像を含む場合にこの値が返されます。\n *\n * @generated from enum value: CODE_NOT_DETECTABLE = 3;\n */\n NOT_DETECTABLE = 3,\n}\n\n/**\n * Describes the enum invoice.recipient.v1.InvoiceFileCompliance.Code.\n */\nexport const InvoiceFileCompliance_CodeSchema: GenEnum = /*@__PURE__*/\n enumDesc(file_invoice_recipient_v1_invoice, 8, 0);\n\n/**\n * 請求金額\n *\n * @generated from message invoice.recipient.v1.BillingAmount\n */\nexport type BillingAmount = Message<\"invoice.recipient.v1.BillingAmount\"> & {\n /**\n * 税率\n *\n * @generated from field: invoice.recipient.v1.TaxRate tax_rate = 1;\n */\n taxRate: TaxRate;\n\n /**\n * 工事種類。未設定ならnil\n *\n * @generated from field: optional invoice.recipient.v1.BusinessMaster business_master = 2;\n */\n businessMaster?: BusinessMaster;\n\n /**\n * 税抜き金額\n *\n * @generated from field: int64 amount_excluding_tax = 3;\n */\n amountExcludingTax: bigint;\n\n /**\n * 消費税\n *\n * @generated from field: int64 tax_amount = 4;\n */\n taxAmount: bigint;\n};\n\n/**\n * Describes the message invoice.recipient.v1.BillingAmount.\n * Use `create(BillingAmountSchema)` to create a new message.\n */\nexport const BillingAmountSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 9);\n\n/**\n * 査定金額\n *\n * @generated from message invoice.recipient.v1.ReviewAmount\n */\nexport type ReviewAmount = Message<\"invoice.recipient.v1.ReviewAmount\"> & {\n /**\n * 税率\n *\n * @generated from field: invoice.recipient.v1.TaxRate tax_rate = 1;\n */\n taxRate: TaxRate;\n\n /**\n * 支払い金額\n *\n * @generated from field: repeated invoice.recipient.v1.ReviewAmount.Item items = 2;\n */\n items: ReviewAmount_Item[];\n\n /**\n * 税抜き金額(合計)\n *\n * @generated from field: int64 amount_excluding_tax = 3;\n */\n amountExcludingTax: bigint;\n\n /**\n * 税額(合計)\n * 査定項目の税金は、個別計算ではない。\n *\n * NOTE:\n * 複数案件請求書の場合、ここの税金は0円とする。\n * 査定ごとではなくて、請求書ごとに計算すべき値だから。\n * 請求書 or 請求書の申請に持たせたほうが良いフィールド。\n * 余力があったらdeprecatedにしたい。\n *\n * @generated from field: int64 tax_amount = 4;\n */\n taxAmount: bigint;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ReviewAmount.\n * Use `create(ReviewAmountSchema)` to create a new message.\n */\nexport const ReviewAmountSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 10);\n\n/**\n * @generated from message invoice.recipient.v1.ReviewAmount.Item\n */\nexport type ReviewAmount_Item = Message<\"invoice.recipient.v1.ReviewAmount.Item\"> & {\n /**\n * 工事種類。未設定ならnil\n *\n * @generated from field: optional invoice.recipient.v1.BusinessMaster business_master = 1;\n */\n businessMaster?: BusinessMaster;\n\n /**\n * 税抜き金額\n *\n * @generated from field: int64 amount_excluding_tax = 2;\n */\n amountExcludingTax: bigint;\n\n /**\n * 明細\n *\n * @generated from field: string detail = 3;\n */\n detail: string;\n\n /**\n * (予算が存在する場合) 査定時点での予算\n *\n * @generated from field: optional invoice.recipient.v1.BudgetSnapshot budget_snapshot = 4;\n */\n budgetSnapshot?: BudgetSnapshot;\n\n /**\n * 査定カスタム項目\n *\n * @generated from field: repeated invoice.recipient.v1.ReviewCustomItemValue review_custom_item_values = 5;\n */\n reviewCustomItemValues: ReviewCustomItemValue[];\n};\n\n/**\n * Describes the message invoice.recipient.v1.ReviewAmount.Item.\n * Use `create(ReviewAmount_ItemSchema)` to create a new message.\n */\nexport const ReviewAmount_ItemSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 10, 0);\n\n/**\n * 相殺\n *\n * @generated from message invoice.recipient.v1.SetOffAmount\n */\nexport type SetOffAmount = Message<\"invoice.recipient.v1.SetOffAmount\"> & {\n /**\n * 税率\n *\n * @generated from field: invoice.recipient.v1.TaxRate tax_rate = 1;\n */\n taxRate: TaxRate;\n\n /**\n * 工事種類。未設定ならnil\n *\n * @generated from field: optional invoice.recipient.v1.BusinessMaster business_master = 2;\n */\n businessMaster?: BusinessMaster;\n\n /**\n * 税抜き金額\n *\n * @generated from field: int64 amount_excluding_tax = 3;\n */\n amountExcludingTax: bigint;\n\n /**\n * 税額\n *\n * @generated from field: int64 tax_amount = 4;\n */\n taxAmount: bigint;\n\n /**\n * 明細\n *\n * @generated from field: string detail = 5;\n */\n detail: string;\n\n /**\n * 相殺対象の取引先。\n *\n * @generated from field: optional invoice.recipient.v1.ContractSummary contract_summary = 6;\n */\n contractSummary?: ContractSummary;\n};\n\n/**\n * Describes the message invoice.recipient.v1.SetOffAmount.\n * Use `create(SetOffAmountSchema)` to create a new message.\n */\nexport const SetOffAmountSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 11);\n\n/**\n * 査定時点での予算\n *\n * @generated from message invoice.recipient.v1.BudgetSnapshot\n */\nexport type BudgetSnapshot = Message<\"invoice.recipient.v1.BudgetSnapshot\"> & {\n /**\n * 発注金額\n *\n * @generated from field: int64 budget_amount = 1;\n */\n budgetAmount: bigint;\n\n /**\n * サービス外も含む既払金額\n *\n * @generated from field: int64 paid_amount = 2;\n */\n paidAmount: bigint;\n\n /**\n * 支払残額\n *\n * @generated from field: int64 remaining_amount = 3;\n */\n remainingAmount: bigint;\n\n /**\n * 査定後に予算の変更があったか\n *\n * @generated from field: bool is_budget_changed = 4;\n */\n isBudgetChanged: boolean;\n};\n\n/**\n * Describes the message invoice.recipient.v1.BudgetSnapshot.\n * Use `create(BudgetSnapshotSchema)` to create a new message.\n */\nexport const BudgetSnapshotSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_invoice, 12);\n\n/**\n * @generated from enum invoice.recipient.v1.InvoiceStatus\n */\nexport enum InvoiceStatus {\n /**\n * @generated from enum value: INVOICE_STATUS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * 査定待ち\n *\n * @generated from enum value: INVOICE_STATUS_WAITING_FOR_REVIEW = 2;\n */\n WAITING_FOR_REVIEW = 2,\n\n /**\n * 承認待ち\n *\n * @generated from enum value: INVOICE_STATUS_WAITING_FOR_APPROVAL = 3;\n */\n WAITING_FOR_APPROVAL = 3,\n\n /**\n * 出力待ち\n *\n * @generated from enum value: INVOICE_STATUS_WAITING_FOR_OUTPUT = 4;\n */\n WAITING_FOR_OUTPUT = 4,\n\n /**\n * 受取完了\n *\n * @generated from enum value: INVOICE_STATUS_COMPLETED = 5;\n */\n COMPLETED = 5,\n\n /**\n * 請求取消\n *\n * @generated from enum value: INVOICE_STATUS_CANCELED = 6;\n */\n CANCELED = 6,\n\n /**\n * 前処理中\n *\n * @generated from enum value: INVOICE_STATUS_PREPARING = 7;\n */\n PREPARING = 7,\n}\n\n/**\n * Describes the enum invoice.recipient.v1.InvoiceStatus.\n */\nexport const InvoiceStatusSchema: GenEnum = /*@__PURE__*/\n enumDesc(file_invoice_recipient_v1_invoice, 0);\n\n/**\n * @generated from enum invoice.recipient.v1.InvoiceImportRoute\n */\nexport enum InvoiceImportRoute {\n /**\n * @generated from enum value: INVOICE_IMPORT_ROUTE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * 取引先による請求書登録\n * Note: DBだと0\n *\n * @generated from enum value: INVOICE_IMPORT_ROUTE_ISSUER = 1;\n */\n ISSUER = 1,\n\n /**\n * 受領側による請求書登録\n * Note: DBだと1\n *\n * @generated from enum value: INVOICE_IMPORT_ROUTE_RECIPIENT = 2;\n */\n RECIPIENT = 2,\n\n /**\n * 社外メンバーによる請求書登録\n * Note: DBだと2\n *\n * @generated from enum value: INVOICE_IMPORT_ROUTE_PARTNER = 3;\n */\n PARTNER = 3,\n}\n\n/**\n * Describes the enum invoice.recipient.v1.InvoiceImportRoute.\n */\nexport const InvoiceImportRouteSchema: GenEnum = /*@__PURE__*/\n enumDesc(file_invoice_recipient_v1_invoice, 1);\n\n/**\n * @generated from enum invoice.recipient.v1.ReviewEventType\n */\nexport enum ReviewEventType {\n /**\n * @generated from enum value: REVIEW_EVENT_TYPE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * 申請待機中\n *\n * @generated from enum value: REVIEW_EVENT_TYPE_REVIEWED = 1;\n */\n REVIEWED = 1,\n\n /**\n * 申請済\n *\n * @generated from enum value: REVIEW_EVENT_TYPE_APPLIED = 2;\n */\n APPLIED = 2,\n\n /**\n * 承認\n *\n * @generated from enum value: REVIEW_EVENT_TYPE_APPROVED = 3;\n */\n APPROVED = 3,\n\n /**\n * 差し戻し\n *\n * @generated from enum value: REVIEW_EVENT_TYPE_REJECTED = 4;\n */\n REJECTED = 4,\n\n /**\n * 取り下げ\n *\n * @generated from enum value: REVIEW_EVENT_TYPE_CANCELLED = 5;\n */\n CANCELLED = 5,\n}\n\n/**\n * Describes the enum invoice.recipient.v1.ReviewEventType.\n */\nexport const ReviewEventTypeSchema: GenEnum = /*@__PURE__*/\n enumDesc(file_invoice_recipient_v1_invoice, 2);\n\n/**\n * 税率\n *\n * @generated from enum invoice.recipient.v1.TaxRate\n */\nexport enum TaxRate {\n /**\n * @generated from enum value: TAX_RATE_UNSPECIFIED = 0;\n */\n TAX_RATE_UNSPECIFIED = 0,\n\n /**\n * 非課税\n *\n * @generated from enum value: TAX_RATE_0 = 1;\n */\n TAX_RATE_0 = 1,\n\n /**\n * 8%\n *\n * @generated from enum value: TAX_RATE_8 = 2;\n */\n TAX_RATE_8 = 2,\n\n /**\n * 10%\n *\n * @generated from enum value: TAX_RATE_10 = 3;\n */\n TAX_RATE_10 = 3,\n}\n\n/**\n * Describes the enum invoice.recipient.v1.TaxRate.\n */\nexport const TaxRateSchema: GenEnum = /*@__PURE__*/\n enumDesc(file_invoice_recipient_v1_invoice, 3);\n\n","// @generated by protoc-gen-es v2.2.0 with parameter \"target=ts\"\n// @generated from file invoice/recipient/v1/member.proto (package invoice.recipient.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv1\";\nimport { fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport type { UserSummary } from \"./user_pb\";\nimport { file_invoice_recipient_v1_user } from \"./user_pb\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file invoice/recipient/v1/member.proto.\n */\nexport const file_invoice_recipient_v1_member: GenFile = /*@__PURE__*/\n fileDesc(\"CiFpbnZvaWNlL3JlY2lwaWVudC92MS9tZW1iZXIucHJvdG8SFGludm9pY2UucmVjaXBpZW50LnYxIkgKDU1lbWJlclN1bW1hcnkSNwoMdXNlcl9zdW1tYXJ5GAEgASgLMiEuaW52b2ljZS5yZWNpcGllbnQudjEuVXNlclN1bW1hcnlCZFpiZ2l0aHViLmNvbS84OGxhYnMvYW5kcGFkLWludm9pY2UtbWFuYWdlbWVudC9hcGkvYXBwL2luZnJhc3RydWN0dXJlL2FwaS9yZWNpcGllbnRhcGkvdjEvcmVjaXBpZW50cGJiBnByb3RvMw\", [file_invoice_recipient_v1_user]);\n\n/**\n * Clientメンバーの概要\n *\n * NOTE: 今はUserSummaryと同一のフィールドだが、Clientメンバー ≠ User なので別messageとして定義する\n *\n * @generated from message invoice.recipient.v1.MemberSummary\n */\nexport type MemberSummary = Message<\"invoice.recipient.v1.MemberSummary\"> & {\n /**\n * @generated from field: invoice.recipient.v1.UserSummary user_summary = 1;\n */\n userSummary?: UserSummary;\n};\n\n/**\n * Describes the message invoice.recipient.v1.MemberSummary.\n * Use `create(MemberSummarySchema)` to create a new message.\n */\nexport const MemberSummarySchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_member, 0);\n\n","// @generated by protoc-gen-es v2.2.0 with parameter \"target=ts\"\n// @generated from file invoice/recipient/v1/workflow.proto (package invoice.recipient.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv1\";\nimport { fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport type { UserSummary } from \"./user_pb\";\nimport { file_invoice_recipient_v1_user } from \"./user_pb\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file invoice/recipient/v1/workflow.proto.\n */\nexport const file_invoice_recipient_v1_workflow: GenFile = /*@__PURE__*/\n fileDesc(\"CiNpbnZvaWNlL3JlY2lwaWVudC92MS93b3JrZmxvdy5wcm90bxIUaW52b2ljZS5yZWNpcGllbnQudjEiWwoPV29ya2Zsb3dTdW1tYXJ5EgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSLgoKdXBkYXRlZF9hdBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiVwoIV29ya2Zsb3cSCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIxCgVzdGVwcxgDIAMoCzIiLmludm9pY2UucmVjaXBpZW50LnYxLldvcmtmbG93U3RlcCJvCgxXb3JrZmxvd1N0ZXASDAoEc3RlcBgBIAEoBRIeChZyZXF1aXJlZF9hcHByb3ZlX2NvdW50GAIgASgFEjEKCWFwcHJvdmVycxgDIAMoCzIeLmludm9pY2UucmVjaXBpZW50LnYxLkFwcHJvdmVyIkMKCEFwcHJvdmVyEjcKDHVzZXJfc3VtbWFyeRgBIAEoCzIhLmludm9pY2UucmVjaXBpZW50LnYxLlVzZXJTdW1tYXJ5QmRaYmdpdGh1Yi5jb20vODhsYWJzL2FuZHBhZC1pbnZvaWNlLW1hbmFnZW1lbnQvYXBpL2FwcC9pbmZyYXN0cnVjdHVyZS9hcGkvcmVjaXBpZW50YXBpL3YxL3JlY2lwaWVudHBiYgZwcm90bzM\", [file_google_protobuf_timestamp, file_invoice_recipient_v1_user]);\n\n/**\n * 承認ワークフローテンプレートサマリー\n *\n * @generated from message invoice.recipient.v1.WorkflowSummary\n */\nexport type WorkflowSummary = Message<\"invoice.recipient.v1.WorkflowSummary\"> & {\n /**\n * テンプレートID (UUID v7)\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * テンプレート名 (ユニーク)\n *\n * @generated from field: string name = 2;\n */\n name: string;\n\n /**\n * 更新日時\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 3;\n */\n updatedAt?: Timestamp;\n};\n\n/**\n * Describes the message invoice.recipient.v1.WorkflowSummary.\n * Use `create(WorkflowSummarySchema)` to create a new message.\n */\nexport const WorkflowSummarySchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_workflow, 0);\n\n/**\n * 承認ワークフローテンプレート\n *\n * @generated from message invoice.recipient.v1.Workflow\n */\nexport type Workflow = Message<\"invoice.recipient.v1.Workflow\"> & {\n /**\n * テンプレートID (UUID v7)\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * テンプレート名 (ユニーク)\n *\n * @generated from field: string name = 2;\n */\n name: string;\n\n /**\n * テンプレートのステップ (step数の昇順で格納)\n *\n * @generated from field: repeated invoice.recipient.v1.WorkflowStep steps = 3;\n */\n steps: WorkflowStep[];\n};\n\n/**\n * Describes the message invoice.recipient.v1.Workflow.\n * Use `create(WorkflowSchema)` to create a new message.\n */\nexport const WorkflowSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_workflow, 1);\n\n/**\n * @generated from message invoice.recipient.v1.WorkflowStep\n */\nexport type WorkflowStep = Message<\"invoice.recipient.v1.WorkflowStep\"> & {\n /**\n * ステップ 1,2,3...\n *\n * @generated from field: int32 step = 1;\n */\n step: number;\n\n /**\n * stepで必要な承認数\n *\n * @generated from field: int32 required_approve_count = 2;\n */\n requiredApproveCount: number;\n\n /**\n * 承認者(作成した際の配列順を保持)\n *\n * @generated from field: repeated invoice.recipient.v1.Approver approvers = 3;\n */\n approvers: Approver[];\n};\n\n/**\n * Describes the message invoice.recipient.v1.WorkflowStep.\n * Use `create(WorkflowStepSchema)` to create a new message.\n */\nexport const WorkflowStepSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_workflow, 2);\n\n/**\n * 承認者 @memo: 独自の拡張性を考慮し個別に定義\n *\n * @generated from message invoice.recipient.v1.Approver\n */\nexport type Approver = Message<\"invoice.recipient.v1.Approver\"> & {\n /**\n * @generated from field: invoice.recipient.v1.UserSummary user_summary = 1;\n */\n userSummary?: UserSummary;\n};\n\n/**\n * Describes the message invoice.recipient.v1.Approver.\n * Use `create(ApproverSchema)` to create a new message.\n */\nexport const ApproverSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_workflow, 3);\n\n","// @generated by protoc-gen-es v2.2.0 with parameter \"target=ts\"\n// @generated from file invoice/recipient/v1/order.proto (package invoice.recipient.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv1\";\nimport { fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport { file_buf_validate_validate } from \"../../../buf/validate/validate_pb\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport type { MemberSummary } from \"./member_pb\";\nimport { file_invoice_recipient_v1_member } from \"./member_pb\";\nimport type { UserSummary } from \"./user_pb\";\nimport { file_invoice_recipient_v1_user } from \"./user_pb\";\nimport type { WorkflowSummary } from \"./workflow_pb\";\nimport { file_invoice_recipient_v1_workflow } from \"./workflow_pb\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file invoice/recipient/v1/order.proto.\n */\nexport const file_invoice_recipient_v1_order: GenFile = /*@__PURE__*/\n fileDesc(\"CiBpbnZvaWNlL3JlY2lwaWVudC92MS9vcmRlci5wcm90bxIUaW52b2ljZS5yZWNpcGllbnQudjEiOwoMT3JkZXJTdW1tYXJ5EgoKAmlkGAEgASgJEhEKCWNvbW1vbl9pZBgCIAEoCRIMCgRuYW1lGAMgASgJIqUFCg1PcmRlclNldHRpbmdzEhAKCG9yZGVyX2lkGAEgASgJEhEKCWNvbW1vbl9pZBgCIAEoCRISCgpvcmRlcl9uYW1lGAMgASgJEjsKCXJldmlld2VycxgLIAMoCzIeLmludm9pY2UucmVjaXBpZW50LnYxLlJldmlld2VyQgi6SAWSAQIQBRI8CgphcHByb3Zlcl8xGAUgASgLMiMuaW52b2ljZS5yZWN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cGkvdjEvcmVjaXBpZW50cGJiBnByb3RvMw\", [file_buf_validate_validate, file_google_protobuf_timestamp, file_invoice_recipient_v1_member, file_invoice_recipient_v1_user, file_invoice_recipient_v1_workflow]);\n\n/**\n * 施工案件\n *\n * @generated from message invoice.recipient.v1.OrderSummary\n */\nexport type OrderSummary = Message<\"invoice.recipient.v1.OrderSummary\"> & {\n /**\n * 施工案件ID\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * 案件管理ID\n *\n * @generated from field: string common_id = 2;\n */\n commonId: string;\n\n /**\n * 案件名\n *\n * @generated from field: string name = 3;\n */\n name: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.OrderSummary.\n * Use `create(OrderSummarySchema)` to create a new message.\n */\nexport const OrderSummarySchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_order, 0);\n\n/**\n * 案件設定\n *\n * @generated from message invoice.recipient.v1.OrderSettings\n */\nexport type OrderSettings = Message<\"invoice.recipient.v1.OrderSettings\"> & {\n /**\n * 案件ID\n *\n * @generated from field: string order_id = 1;\n */\n orderId: string;\n\n /**\n * 案件管理ID\n *\n * @generated from field: string common_id = 2;\n */\n commonId: string;\n\n /**\n * 案件名\n *\n * @generated from field: string order_name = 3;\n */\n orderName: string;\n\n /**\n * 査定担当者\n *\n * @generated from field: repeated invoice.recipient.v1.Reviewer reviewers = 11;\n */\n reviewers: Reviewer[];\n\n /**\n * 承認者 @memo: 承認ワークフローに移行予定\n *\n * @generated from field: optional invoice.recipient.v1.MemberSummary approver_1 = 5;\n */\n approver1?: MemberSummary;\n\n /**\n * @generated from field: optional invoice.recipient.v1.MemberSummary approver_2 = 6;\n */\n approver2?: MemberSummary;\n\n /**\n * @generated from field: optional invoice.recipient.v1.MemberSummary approver_3 = 7;\n */\n approver3?: MemberSummary;\n\n /**\n * @generated from field: optional invoice.recipient.v1.MemberSummary approver_4 = 9;\n */\n approver4?: MemberSummary;\n\n /**\n * @generated from field: optional invoice.recipient.v1.MemberSummary approver_5 = 10;\n */\n approver5?: MemberSummary;\n\n /**\n * 承認ワークフロー\n *\n * @generated from field: optional invoice.recipient.v1.WorkflowSummary workflow_summaries = 12;\n */\n workflowSummaries?: WorkflowSummary;\n\n /**\n * 案件作成日時\n *\n * @generated from field: google.protobuf.Timestamp created_at = 8;\n */\n createdAt?: Timestamp;\n};\n\n/**\n * Describes the message invoice.recipient.v1.OrderSettings.\n * Use `create(OrderSettingsSchema)` to create a new message.\n */\nexport const OrderSettingsSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_order, 1);\n\n/**\n * 査定者 @memo: 査定者として独自の拡張性を考慮し個別に定義\n *\n * @generated from message invoice.recipient.v1.Reviewer\n */\nexport type Reviewer = Message<\"invoice.recipient.v1.Reviewer\"> & {\n /**\n * @generated from field: invoice.recipient.v1.UserSummary user_summary = 1;\n */\n userSummary?: UserSummary;\n};\n\n/**\n * Describes the message invoice.recipient.v1.Reviewer.\n * Use `create(ReviewerSchema)` to create a new message.\n */\nexport const ReviewerSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_order, 2);\n\n/**\n * 請求書を施工案件ごとにグループ化したもの\n *\n * @generated from message invoice.recipient.v1.OrderGroup\n */\nexport type OrderGroup = Message<\"invoice.recipient.v1.OrderGroup\"> & {\n /**\n * 施工案件のID\n *\n * @generated from field: string order_id = 1;\n */\n orderId: string;\n\n /**\n * 施工案件名\n *\n * @generated from field: string order_name = 2;\n */\n orderName: string;\n\n /**\n * 施工案件の管理ID\n *\n * @generated from field: string order_common_id = 3;\n */\n orderCommonId: string;\n\n /**\n * 案件設定の査定担当者\n *\n * @generated from field: repeated invoice.recipient.v1.Reviewer reviewers = 4;\n */\n reviewers: Reviewer[];\n\n /**\n * 請求書の数\n *\n * @generated from field: int64 total = 5;\n */\n total: bigint;\n};\n\n/**\n * Describes the message invoice.recipient.v1.OrderGroup.\n * Use `create(OrderGroupSchema)` to create a new message.\n */\nexport const OrderGroupSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_order, 3);\n\n","// @generated by protoc-gen-es v2.2.0 with parameter \"target=ts\"\n// @generated from file invoice/recipient/v1/review_custom_item.proto (package invoice.recipient.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv1\";\nimport { enumDesc, fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport { file_buf_validate_validate } from \"../../../buf/validate/validate_pb\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file invoice/recipient/v1/review_custom_item.proto.\n */\nexport const file_invoice_recipient_v1_review_custom_item: GenFile = /*@__PURE__*/\n fileDesc(\"Ci1pbnZvaWNlL3JlY2lwaWVudC92MS9yZXZpZXdfY3VzdG9tX2l0ZW0ucHJvdG8SFGludm9pY2UucmVjaXBpZW50LnYxIrYBChBSZXZpZXdDdXN0b21JdGVtEjgKBHR5cGUYASABKA4yKi5pbnZvaWNlLnJlY2lwaWVudC52MS5SZXZpZXdDdXN0b21JdGVtVHlwZRIMCgRuYW1lGAIgASgJEhAKCHJlcXVpcmVkGAMgASgIEkgKB29wdGlvbnMYBSADKAsyLC5pbnZvaWNlLnJlY2lwaWVudC52MS5SZXZpZXdDdXN0b21JdGVtT3B0aW9uQgm6SAaSAQMQyAEiNQoWUmV2aWV3Q3VzdG9tSXRlbU9wdGlvbhINCgVsYWJlbBgBIAEoCRIMCgRjb2RlGAIgASgJIsACChVSZXZpZXdDdXN0b21JdGVtVmFsdWUSOAoEdHlwZRgBIAEoDjIqLmludm9pY2UucmVjaXBpZW50LnYxLlJldmlld0N1c3RvbUl0ZW1UeXBlEhEKCWl0ZW1fbmFtZRgCIAEoCRIOCgR0ZXh0GAMgASgJSAASPgoGb3B0aW9uGAQgASgLMiwuaW52b2ljZS5yZWNpcGllbnQudjEuUmV2aWV3Q3VzdG9tSXRlbU9wdGlvbkgAElUKD2J1c2luZXNzX21hc3RlchgFIAEoCzI6Lmludm9pY2UucmVjaXBpZW50LnYxLlJldmlld0N1c3RvbUl0ZW1WYWx1ZS5CdXNpbmVzc01hc3RlckgAGioKDkJ1c2luZXNzTWFzdGVyEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAlCBwoFdmFsdWUq5wEKFFJldmlld0N1c3RvbUl0ZW1UeXBlEicKI1JFVklFV19DVVNUT01fSVRFTV9UWVBFX1VOU1BFQ0lGSUVEEAASIAocUkVWSUVXX0NVU1RPTV9JVEVNX1RZUEVfVEVYVBABEikKJVJFVklFV19DVVNUT01fSVRFTV9UWVBFX1NFTEVDVF9TSU5HTEUQAhI1CjFSRVZJRVdfQ1VTVE9NX0lURU1fVFlQRV9DTElFTlRfQlVTSU5FU1NfTUFTVEVSX0lEEAMSIgoeUkVWSUVXX0NVU1RPTV9JVEVNX1RZUEVfREVUQUlMEARCZFpiZ2l0aHViLmNvbS84OGxhYnMvYW5kcGFkLWludm9pY2UtbWFuYWdlbWVudC9hcGkvYXBwL2luZnJhc3RydWN0dXJlL2FwaS9yZWNpcGllbnRhcGkvdjEvcmVjaXBpZW50cGJiBnByb3RvMw\", [file_buf_validate_validate]);\n\n/**\n * @generated from message invoice.recipient.v1.ReviewCustomItem\n */\nexport type ReviewCustomItem = Message<\"invoice.recipient.v1.ReviewCustomItem\"> & {\n /**\n * @generated from field: invoice.recipient.v1.ReviewCustomItemType type = 1;\n */\n type: ReviewCustomItemType;\n\n /**\n * @generated from field: string name = 2;\n */\n name: string;\n\n /**\n * @generated from field: bool required = 3;\n */\n required: boolean;\n\n /**\n * bool available = 4; @todo\n *\n * @generated from field: repeated invoice.recipient.v1.ReviewCustomItemOption options = 5;\n */\n options: ReviewCustomItemOption[];\n};\n\n/**\n * Describes the message invoice.recipient.v1.ReviewCustomItem.\n * Use `create(ReviewCustomItemSchema)` to create a new message.\n */\nexport const ReviewCustomItemSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_review_custom_item, 0);\n\n/**\n * @generated from message invoice.recipient.v1.ReviewCustomItemOption\n */\nexport type ReviewCustomItemOption = Message<\"invoice.recipient.v1.ReviewCustomItemOption\"> & {\n /**\n * @generated from field: string label = 1;\n */\n label: string;\n\n /**\n * @generated from field: string code = 2;\n */\n code: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ReviewCustomItemOption.\n * Use `create(ReviewCustomItemOptionSchema)` to create a new message.\n */\nexport const ReviewCustomItemOptionSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_review_custom_item, 1);\n\n/**\n * @generated from message invoice.recipient.v1.ReviewCustomItemValue\n */\nexport type ReviewCustomItemValue = Message<\"invoice.recipient.v1.ReviewCustomItemValue\"> & {\n /**\n * @generated from field: invoice.recipient.v1.ReviewCustomItemType type = 1;\n */\n type: ReviewCustomItemType;\n\n /**\n * @generated from field: string item_name = 2;\n */\n itemName: string;\n\n /**\n * @generated from oneof invoice.recipient.v1.ReviewCustomItemValue.value\n */\n value: {\n /**\n * @generated from field: string text = 3;\n */\n value: string;\n case: \"text\";\n } | {\n /**\n * @generated from field: invoice.recipient.v1.ReviewCustomItemOption option = 4;\n */\n value: ReviewCustomItemOption;\n case: \"option\";\n } | {\n /**\n * @generated from field: invoice.recipient.v1.ReviewCustomItemValue.BusinessMaster business_master = 5;\n */\n value: ReviewCustomItemValue_BusinessMaster;\n case: \"businessMaster\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message invoice.recipient.v1.ReviewCustomItemValue.\n * Use `create(ReviewCustomItemValueSchema)` to create a new message.\n */\nexport const ReviewCustomItemValueSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_review_custom_item, 2);\n\n/**\n * @generated from message invoice.recipient.v1.ReviewCustomItemValue.BusinessMaster\n */\nexport type ReviewCustomItemValue_BusinessMaster = Message<\"invoice.recipient.v1.ReviewCustomItemValue.BusinessMaster\"> & {\n /**\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * @generated from field: string name = 2;\n */\n name: string;\n};\n\n/**\n * Describes the message invoice.recipient.v1.ReviewCustomItemValue.BusinessMaster.\n * Use `create(ReviewCustomItemValue_BusinessMasterSchema)` to create a new message.\n */\nexport const ReviewCustomItemValue_BusinessMasterSchema: GenMessage = /*@__PURE__*/\n messageDesc(file_invoice_recipient_v1_review_custom_item, 2, 0);\n\n/**\n * @generated from enum invoice.recipient.v1.ReviewCustomItemType\n */\nexport enum ReviewCustomItemType {\n /**\n * @generated from enum value: REVIEW_CUSTOM_ITEM_TYPE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: REVIEW_CUSTOM_ITEM_TYPE_TEXT = 1;\n */\n TEXT = 1,\n\n /**\n * @generated from enum value: REVIEW_CUSTOM_ITEM_TYPE_SELECT_SINGLE = 2;\n */\n SELECT_SINGLE = 2,\n\n /**\n * @generated from enum value: REVIEW_CUSTOM_ITEM_TYPE_CLIENT_BUSINESS_MASTER_ID = 3;\n */\n CLIENT_BUSINESS_MASTER_ID = 3,\n\n /**\n * @generated from enum value: REVIEW_CUSTOM_ITEM_TYPE_DETAIL = 4;\n */\n DETAIL = 4,\n}\n\n/**\n * Describes the enum invoice.recipient.v1.ReviewCustomItemType.\n */\nexport const ReviewCustomItemTypeSchema: GenEnum = /*@__PURE__*/\n enumDesc(file_invoice_recipient_v1_review_custom_item, 0);\n\n"],"names":["file_invoice_recipient_v1_application","ApplicationSchema","Application_EventSchema","Application_StepSchema","Application_StepEventSchema","Application_EventType","Application_EventTypeSchema","ApplicationSummaryWithInvoiceSchema","ApplicationSummarySchema","ApplicationStatus","ApplicationStatusSchema","file_invoice_recipient_v1_business_master","BusinessMasterSchema","file_invoice_recipient_v1_contract","ContractSummarySchema","TaxType","TaxTypeSchema","file_invoice_recipient_v1_invoice","InvoiceSchema","Invoice_IssuerSchema","Invoice_ApplicationSchema","Invoice_FileSchema","ComplexInvoiceSchema","ComplexInvoice_IssuerSchema","ComplexInvoice_ApplicationSchema","ComplexInvoice_FileSchema","ReviewTargetSchema","ReviewTarget_AmountSchema","ReviewTarget_FileSchema","ReviewSchema","ReviewEventSchema","InvoiceSummarySchema","SimplexInvoiceSummarySchema","ComplexInvoiceSummarySchema","InvoiceFileComplianceSchema","InvoiceFileCompliance_Code","InvoiceFileCompliance_CodeSchema","BillingAmountSchema","ReviewAmountSchema","ReviewAmount_ItemSchema","SetOffAmountSchema","BudgetSnapshotSchema","InvoiceStatus","InvoiceStatusSchema","InvoiceImportRoute","InvoiceImportRouteSchema","ReviewEventType","ReviewEventTypeSchema","TaxRate","TaxRateSchema","file_invoice_recipient_v1_member","MemberSummarySchema","file_invoice_recipient_v1_workflow","file","WorkflowSummarySchema","message","WorkflowSchema","WorkflowStepSchema","ApproverSchema","file_invoice_recipient_v1_order","OrderSummarySchema","OrderSettingsSchema","ReviewerSchema","OrderGroupSchema","file_invoice_recipient_v1_review_custom_item","ReviewCustomItemSchema","ReviewCustomItemOptionSchema","ReviewCustomItemValueSchema","ReviewCustomItemValue_BusinessMasterSchema","ReviewCustomItemType","ReviewCustomItemTypeSchema"],"sourceRoot":""}