Files
protobuf/gen/proto/go/printer/v1/pdf_invoice.pb.go
2022-05-31 09:30:19 +02:00

940 lines
35 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc (unknown)
// source: printer/v1/pdf_invoice.proto
package v1
import (
_ "google.golang.org/genproto/googleapis/api/annotations"
datetime "google.golang.org/genproto/googleapis/type/datetime"
_ "google.golang.org/genproto/googleapis/type/money"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// PaymentProvider represents the supported set
// of payment providers.
type InvoiceType int32
const (
InvoiceType_INVOICE_TYPE_UNSPECIFIED InvoiceType = 0
InvoiceType_INVOICE_TYPE_PAID InvoiceType = 1
InvoiceType_INVOICE_TYPE_OPEN InvoiceType = 2
)
// Enum value maps for InvoiceType.
var (
InvoiceType_name = map[int32]string{
0: "INVOICE_TYPE_UNSPECIFIED",
1: "INVOICE_TYPE_PAID",
2: "INVOICE_TYPE_OPEN",
}
InvoiceType_value = map[string]int32{
"INVOICE_TYPE_UNSPECIFIED": 0,
"INVOICE_TYPE_PAID": 1,
"INVOICE_TYPE_OPEN": 2,
}
)
func (x InvoiceType) Enum() *InvoiceType {
p := new(InvoiceType)
*p = x
return p
}
func (x InvoiceType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (InvoiceType) Descriptor() protoreflect.EnumDescriptor {
return file_printer_v1_pdf_invoice_proto_enumTypes[0].Descriptor()
}
func (InvoiceType) Type() protoreflect.EnumType {
return &file_printer_v1_pdf_invoice_proto_enumTypes[0]
}
func (x InvoiceType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use InvoiceType.Descriptor instead.
func (InvoiceType) EnumDescriptor() ([]byte, []int) {
return file_printer_v1_pdf_invoice_proto_rawDescGZIP(), []int{0}
}
type OrderType int32
const (
OrderType_ORDER_TYPE_UNSPECIFIED OrderType = 0
OrderType_ORDER_TYPE_PHONE OrderType = 1
OrderType_ORDER_TYPE_WWW OrderType = 2
OrderType_ORDER_TYPE_EMAIL OrderType = 3
)
// Enum value maps for OrderType.
var (
OrderType_name = map[int32]string{
0: "ORDER_TYPE_UNSPECIFIED",
1: "ORDER_TYPE_PHONE",
2: "ORDER_TYPE_WWW",
3: "ORDER_TYPE_EMAIL",
}
OrderType_value = map[string]int32{
"ORDER_TYPE_UNSPECIFIED": 0,
"ORDER_TYPE_PHONE": 1,
"ORDER_TYPE_WWW": 2,
"ORDER_TYPE_EMAIL": 3,
}
)
func (x OrderType) Enum() *OrderType {
p := new(OrderType)
*p = x
return p
}
func (x OrderType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (OrderType) Descriptor() protoreflect.EnumDescriptor {
return file_printer_v1_pdf_invoice_proto_enumTypes[1].Descriptor()
}
func (OrderType) Type() protoreflect.EnumType {
return &file_printer_v1_pdf_invoice_proto_enumTypes[1]
}
func (x OrderType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use OrderType.Descriptor instead.
func (OrderType) EnumDescriptor() ([]byte, []int) {
return file_printer_v1_pdf_invoice_proto_rawDescGZIP(), []int{1}
}
type InvoiceInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InvoiceId string `protobuf:"bytes,1,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"`
InvoiceDate *datetime.DateTime `protobuf:"bytes,2,opt,name=invoice_date,json=invoiceDate,proto3" json:"invoice_date,omitempty"`
InvoiceDueDate *datetime.DateTime `protobuf:"bytes,3,opt,name=invoice_due_date,json=invoiceDueDate,proto3" json:"invoice_due_date,omitempty"`
InvoiceType InvoiceType `protobuf:"varint,4,opt,name=invoice_type,json=invoiceType,proto3,enum=printer.v1.invoice.InvoiceType" json:"invoice_type,omitempty"`
}
func (x *InvoiceInfo) Reset() {
*x = InvoiceInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InvoiceInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InvoiceInfo) ProtoMessage() {}
func (x *InvoiceInfo) ProtoReflect() protoreflect.Message {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InvoiceInfo.ProtoReflect.Descriptor instead.
func (*InvoiceInfo) Descriptor() ([]byte, []int) {
return file_printer_v1_pdf_invoice_proto_rawDescGZIP(), []int{0}
}
func (x *InvoiceInfo) GetInvoiceId() string {
if x != nil {
return x.InvoiceId
}
return ""
}
func (x *InvoiceInfo) GetInvoiceDate() *datetime.DateTime {
if x != nil {
return x.InvoiceDate
}
return nil
}
func (x *InvoiceInfo) GetInvoiceDueDate() *datetime.DateTime {
if x != nil {
return x.InvoiceDueDate
}
return nil
}
func (x *InvoiceInfo) GetInvoiceType() InvoiceType {
if x != nil {
return x.InvoiceType
}
return InvoiceType_INVOICE_TYPE_UNSPECIFIED
}
type OrderInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
OrderDate *datetime.DateTime `protobuf:"bytes,2,opt,name=order_date,json=orderDate,proto3" json:"order_date,omitempty"`
OrderDueDate *datetime.DateTime `protobuf:"bytes,3,opt,name=order_due_date,json=orderDueDate,proto3" json:"order_due_date,omitempty"`
OrderType OrderType `protobuf:"varint,4,opt,name=order_type,json=orderType,proto3,enum=printer.v1.invoice.OrderType" json:"order_type,omitempty"`
OrderItems []*OrderItem `protobuf:"bytes,5,rep,name=order_items,json=orderItems,proto3" json:"order_items,omitempty"`
OrderVatItems []*OrderVatItem `protobuf:"bytes,6,rep,name=order_vat_items,json=orderVatItems,proto3" json:"order_vat_items,omitempty"`
Deposit *float64 `protobuf:"fixed64,7,opt,name=deposit,proto3,oneof" json:"deposit,omitempty"`
}
func (x *OrderInfo) Reset() {
*x = OrderInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OrderInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OrderInfo) ProtoMessage() {}
func (x *OrderInfo) ProtoReflect() protoreflect.Message {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OrderInfo.ProtoReflect.Descriptor instead.
func (*OrderInfo) Descriptor() ([]byte, []int) {
return file_printer_v1_pdf_invoice_proto_rawDescGZIP(), []int{1}
}
func (x *OrderInfo) GetOrderId() string {
if x != nil {
return x.OrderId
}
return ""
}
func (x *OrderInfo) GetOrderDate() *datetime.DateTime {
if x != nil {
return x.OrderDate
}
return nil
}
func (x *OrderInfo) GetOrderDueDate() *datetime.DateTime {
if x != nil {
return x.OrderDueDate
}
return nil
}
func (x *OrderInfo) GetOrderType() OrderType {
if x != nil {
return x.OrderType
}
return OrderType_ORDER_TYPE_UNSPECIFIED
}
func (x *OrderInfo) GetOrderItems() []*OrderItem {
if x != nil {
return x.OrderItems
}
return nil
}
func (x *OrderInfo) GetOrderVatItems() []*OrderVatItem {
if x != nil {
return x.OrderVatItems
}
return nil
}
func (x *OrderInfo) GetDeposit() float64 {
if x != nil && x.Deposit != nil {
return *x.Deposit
}
return 0
}
type OfferInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OfferId string `protobuf:"bytes,1,opt,name=offer_id,json=offerId,proto3" json:"offer_id,omitempty"`
OfferDate *datetime.DateTime `protobuf:"bytes,2,opt,name=offer_date,json=offerDate,proto3" json:"offer_date,omitempty"`
OfferDueDate *datetime.DateTime `protobuf:"bytes,3,opt,name=offer_due_date,json=offerDueDate,proto3" json:"offer_due_date,omitempty"`
}
func (x *OfferInfo) Reset() {
*x = OfferInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OfferInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OfferInfo) ProtoMessage() {}
func (x *OfferInfo) ProtoReflect() protoreflect.Message {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OfferInfo.ProtoReflect.Descriptor instead.
func (*OfferInfo) Descriptor() ([]byte, []int) {
return file_printer_v1_pdf_invoice_proto_rawDescGZIP(), []int{2}
}
func (x *OfferInfo) GetOfferId() string {
if x != nil {
return x.OfferId
}
return ""
}
func (x *OfferInfo) GetOfferDate() *datetime.DateTime {
if x != nil {
return x.OfferDate
}
return nil
}
func (x *OfferInfo) GetOfferDueDate() *datetime.DateTime {
if x != nil {
return x.OfferDueDate
}
return nil
}
type OrderItem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
Vat float64 `protobuf:"fixed64,2,opt,name=vat,proto3" json:"vat,omitempty"`
Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
PriceSingle float64 `protobuf:"fixed64,4,opt,name=price_single,json=priceSingle,proto3" json:"price_single,omitempty"`
PriceSum float64 `protobuf:"fixed64,5,opt,name=price_sum,json=priceSum,proto3" json:"price_sum,omitempty"`
PriceNet bool `protobuf:"varint,6,opt,name=price_net,json=priceNet,proto3" json:"price_net,omitempty"`
}
func (x *OrderItem) Reset() {
*x = OrderItem{}
if protoimpl.UnsafeEnabled {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OrderItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OrderItem) ProtoMessage() {}
func (x *OrderItem) ProtoReflect() protoreflect.Message {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OrderItem.ProtoReflect.Descriptor instead.
func (*OrderItem) Descriptor() ([]byte, []int) {
return file_printer_v1_pdf_invoice_proto_rawDescGZIP(), []int{3}
}
func (x *OrderItem) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *OrderItem) GetVat() float64 {
if x != nil {
return x.Vat
}
return 0
}
func (x *OrderItem) GetCount() uint64 {
if x != nil {
return x.Count
}
return 0
}
func (x *OrderItem) GetPriceSingle() float64 {
if x != nil {
return x.PriceSingle
}
return 0
}
func (x *OrderItem) GetPriceSum() float64 {
if x != nil {
return x.PriceSum
}
return 0
}
func (x *OrderItem) GetPriceNet() bool {
if x != nil {
return x.PriceNet
}
return false
}
type OrderVatItem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
Vat float64 `protobuf:"fixed64,2,opt,name=vat,proto3" json:"vat,omitempty"`
VatMoneySum float64 `protobuf:"fixed64,3,opt,name=vat_money_sum,json=vatMoneySum,proto3" json:"vat_money_sum,omitempty"`
ItemsCount uint64 `protobuf:"varint,4,opt,name=items_count,json=itemsCount,proto3" json:"items_count,omitempty"`
}
func (x *OrderVatItem) Reset() {
*x = OrderVatItem{}
if protoimpl.UnsafeEnabled {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OrderVatItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OrderVatItem) ProtoMessage() {}
func (x *OrderVatItem) ProtoReflect() protoreflect.Message {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OrderVatItem.ProtoReflect.Descriptor instead.
func (*OrderVatItem) Descriptor() ([]byte, []int) {
return file_printer_v1_pdf_invoice_proto_rawDescGZIP(), []int{4}
}
func (x *OrderVatItem) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *OrderVatItem) GetVat() float64 {
if x != nil {
return x.Vat
}
return 0
}
func (x *OrderVatItem) GetVatMoneySum() float64 {
if x != nil {
return x.VatMoneySum
}
return 0
}
func (x *OrderVatItem) GetItemsCount() uint64 {
if x != nil {
return x.ItemsCount
}
return 0
}
// Invoice
type Invoice struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Order *OrderInfo `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
Offer *OfferInfo `protobuf:"bytes,2,opt,name=offer,proto3" json:"offer,omitempty"`
Info *InvoiceInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
}
func (x *Invoice) Reset() {
*x = Invoice{}
if protoimpl.UnsafeEnabled {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Invoice) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Invoice) ProtoMessage() {}
func (x *Invoice) ProtoReflect() protoreflect.Message {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Invoice.ProtoReflect.Descriptor instead.
func (*Invoice) Descriptor() ([]byte, []int) {
return file_printer_v1_pdf_invoice_proto_rawDescGZIP(), []int{5}
}
func (x *Invoice) GetOrder() *OrderInfo {
if x != nil {
return x.Order
}
return nil
}
func (x *Invoice) GetOffer() *OfferInfo {
if x != nil {
return x.Offer
}
return nil
}
func (x *Invoice) GetInfo() *InvoiceInfo {
if x != nil {
return x.Info
}
return nil
}
// PDF Response
type DocumentResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Document []byte `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
Sha512 string `protobuf:"bytes,3,opt,name=sha512,proto3" json:"sha512,omitempty"`
}
func (x *DocumentResponse) Reset() {
*x = DocumentResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DocumentResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DocumentResponse) ProtoMessage() {}
func (x *DocumentResponse) ProtoReflect() protoreflect.Message {
mi := &file_printer_v1_pdf_invoice_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DocumentResponse.ProtoReflect.Descriptor instead.
func (*DocumentResponse) Descriptor() ([]byte, []int) {
return file_printer_v1_pdf_invoice_proto_rawDescGZIP(), []int{6}
}
func (x *DocumentResponse) GetDocument() []byte {
if x != nil {
return x.Document
}
return nil
}
func (x *DocumentResponse) GetSignature() string {
if x != nil {
return x.Signature
}
return ""
}
func (x *DocumentResponse) GetSha512() string {
if x != nil {
return x.Sha512
}
return ""
}
var File_printer_v1_pdf_invoice_proto protoreflect.FileDescriptor
var file_printer_v1_pdf_invoice_proto_rawDesc = []byte{
0x0a, 0x1c, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x64, 0x66,
0x5f, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12,
0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69,
0x63, 0x65, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f,
0x6d, 0x6f, 0x6e, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x01, 0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63,
0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65,
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x76, 0x6f, 0x69,
0x63, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x0c, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x5f,
0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
0x65, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x3f,
0x0a, 0x10, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x75, 0x65, 0x5f, 0x64, 0x61,
0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x52,
0x0e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x44, 0x75, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12,
0x42, 0x0a, 0x0c, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2e,
0x76, 0x31, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69,
0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x54,
0x79, 0x70, 0x65, 0x22, 0x8c, 0x03, 0x0a, 0x09, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66,
0x6f, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x0a,
0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44,
0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x61,
0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x64, 0x75, 0x65, 0x5f,
0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
0x65, 0x52, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x75, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12,
0x3c, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20,
0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31,
0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79,
0x70, 0x65, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a,
0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x74, 0x65,
0x6d, 0x52, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x48, 0x0a,
0x0f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73,
0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72,
0x2e, 0x76, 0x31, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65,
0x72, 0x56, 0x61, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0d, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x56,
0x61, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1d, 0x0a, 0x07, 0x64, 0x65, 0x70, 0x6f, 0x73,
0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65, 0x70, 0x6f,
0x73, 0x69, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x64, 0x65, 0x70, 0x6f, 0x73,
0x69, 0x74, 0x22, 0x99, 0x01, 0x0a, 0x09, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f,
0x12, 0x19, 0x0a, 0x08, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x07, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x0a, 0x6f,
0x66, 0x66, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44, 0x61,
0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x09, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x44, 0x61, 0x74,
0x65, 0x12, 0x3b, 0x0a, 0x0e, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x5f, 0x64, 0x75, 0x65, 0x5f, 0x64,
0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
0x52, 0x0c, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x44, 0x75, 0x65, 0x44, 0x61, 0x74, 0x65, 0x22, 0xb2,
0x01, 0x0a, 0x09, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x20, 0x0a, 0x0b,
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10,
0x0a, 0x03, 0x76, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x76, 0x61, 0x74,
0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52,
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f,
0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x70, 0x72,
0x69, 0x63, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x72, 0x69,
0x63, 0x65, 0x5f, 0x73, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x70, 0x72,
0x69, 0x63, 0x65, 0x53, 0x75, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f,
0x6e, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x70, 0x72, 0x69, 0x63, 0x65,
0x4e, 0x65, 0x74, 0x22, 0x87, 0x01, 0x0a, 0x0c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x56, 0x61, 0x74,
0x49, 0x74, 0x65, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x74, 0x18, 0x02, 0x20,
0x01, 0x28, 0x01, 0x52, 0x03, 0x76, 0x61, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x76, 0x61, 0x74, 0x5f,
0x6d, 0x6f, 0x6e, 0x65, 0x79, 0x5f, 0x73, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52,
0x0b, 0x76, 0x61, 0x74, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x53, 0x75, 0x6d, 0x12, 0x1f, 0x0a, 0x0b,
0x69, 0x74, 0x65, 0x6d, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
0x04, 0x52, 0x0a, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xa8, 0x01,
0x0a, 0x07, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x05, 0x6f, 0x72, 0x64,
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x69, 0x6e, 0x74,
0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x2e, 0x4f, 0x72,
0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x33,
0x0a, 0x05, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e,
0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69,
0x63, 0x65, 0x2e, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x6f, 0x66,
0x66, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x69,
0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x49, 0x6e,
0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x64, 0x0a, 0x10, 0x44, 0x6f, 0x63, 0x75,
0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08,
0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08,
0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e,
0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67,
0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x35, 0x31, 0x32,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, 0x61, 0x35, 0x31, 0x32, 0x2a, 0x59,
0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a,
0x18, 0x49, 0x4e, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x49,
0x4e, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x41, 0x49, 0x44,
0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59,
0x50, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x02, 0x2a, 0x67, 0x0a, 0x09, 0x4f, 0x72, 0x64,
0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f,
0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45,
0x5f, 0x50, 0x48, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x4f, 0x52, 0x44, 0x45,
0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x57, 0x57, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10,
0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4d, 0x41, 0x49, 0x4c,
0x10, 0x03, 0x32, 0x81, 0x01, 0x0a, 0x0e, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x65,
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x0a, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65,
0x47, 0x65, 0x6e, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31,
0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65,
0x1a, 0x24, 0x2e, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x69, 0x6e,
0x76, 0x6f, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x22, 0x13,
0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x69, 0x6e, 0x76, 0x6f,
0x69, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x42, 0xdd, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70,
0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63,
0x65, 0x42, 0x0f, 0x50, 0x64, 0x66, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f,
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x2e, 0x64, 0x65, 0x69, 0x6e, 0x65, 0x61,
0x67, 0x65, 0x6e, 0x74, 0x75, 0x72, 0x2e, 0x62, 0x69, 0x7a, 0x2f, 0x70, 0x61, 0x79, 0x6d, 0x65,
0x6e, 0x74, 0x2d, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0xa2, 0x02,
0x03, 0x50, 0x56, 0x49, 0xaa, 0x02, 0x12, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56,
0x31, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0xca, 0x02, 0x12, 0x50, 0x72, 0x69, 0x6e,
0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0xe2, 0x02,
0x1e, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x49, 0x6e, 0x76, 0x6f,
0x69, 0x63, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea,
0x02, 0x14, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x49,
0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_printer_v1_pdf_invoice_proto_rawDescOnce sync.Once
file_printer_v1_pdf_invoice_proto_rawDescData = file_printer_v1_pdf_invoice_proto_rawDesc
)
func file_printer_v1_pdf_invoice_proto_rawDescGZIP() []byte {
file_printer_v1_pdf_invoice_proto_rawDescOnce.Do(func() {
file_printer_v1_pdf_invoice_proto_rawDescData = protoimpl.X.CompressGZIP(file_printer_v1_pdf_invoice_proto_rawDescData)
})
return file_printer_v1_pdf_invoice_proto_rawDescData
}
var file_printer_v1_pdf_invoice_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_printer_v1_pdf_invoice_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_printer_v1_pdf_invoice_proto_goTypes = []interface{}{
(InvoiceType)(0), // 0: printer.v1.invoice.InvoiceType
(OrderType)(0), // 1: printer.v1.invoice.OrderType
(*InvoiceInfo)(nil), // 2: printer.v1.invoice.InvoiceInfo
(*OrderInfo)(nil), // 3: printer.v1.invoice.OrderInfo
(*OfferInfo)(nil), // 4: printer.v1.invoice.OfferInfo
(*OrderItem)(nil), // 5: printer.v1.invoice.OrderItem
(*OrderVatItem)(nil), // 6: printer.v1.invoice.OrderVatItem
(*Invoice)(nil), // 7: printer.v1.invoice.Invoice
(*DocumentResponse)(nil), // 8: printer.v1.invoice.DocumentResponse
(*datetime.DateTime)(nil), // 9: google.type.DateTime
}
var file_printer_v1_pdf_invoice_proto_depIdxs = []int32{
9, // 0: printer.v1.invoice.InvoiceInfo.invoice_date:type_name -> google.type.DateTime
9, // 1: printer.v1.invoice.InvoiceInfo.invoice_due_date:type_name -> google.type.DateTime
0, // 2: printer.v1.invoice.InvoiceInfo.invoice_type:type_name -> printer.v1.invoice.InvoiceType
9, // 3: printer.v1.invoice.OrderInfo.order_date:type_name -> google.type.DateTime
9, // 4: printer.v1.invoice.OrderInfo.order_due_date:type_name -> google.type.DateTime
1, // 5: printer.v1.invoice.OrderInfo.order_type:type_name -> printer.v1.invoice.OrderType
5, // 6: printer.v1.invoice.OrderInfo.order_items:type_name -> printer.v1.invoice.OrderItem
6, // 7: printer.v1.invoice.OrderInfo.order_vat_items:type_name -> printer.v1.invoice.OrderVatItem
9, // 8: printer.v1.invoice.OfferInfo.offer_date:type_name -> google.type.DateTime
9, // 9: printer.v1.invoice.OfferInfo.offer_due_date:type_name -> google.type.DateTime
3, // 10: printer.v1.invoice.Invoice.order:type_name -> printer.v1.invoice.OrderInfo
4, // 11: printer.v1.invoice.Invoice.offer:type_name -> printer.v1.invoice.OfferInfo
2, // 12: printer.v1.invoice.Invoice.info:type_name -> printer.v1.invoice.InvoiceInfo
7, // 13: printer.v1.invoice.PrinterService.InvoiceGen:input_type -> printer.v1.invoice.Invoice
8, // 14: printer.v1.invoice.PrinterService.InvoiceGen:output_type -> printer.v1.invoice.DocumentResponse
14, // [14:15] is the sub-list for method output_type
13, // [13:14] is the sub-list for method input_type
13, // [13:13] is the sub-list for extension type_name
13, // [13:13] is the sub-list for extension extendee
0, // [0:13] is the sub-list for field type_name
}
func init() { file_printer_v1_pdf_invoice_proto_init() }
func file_printer_v1_pdf_invoice_proto_init() {
if File_printer_v1_pdf_invoice_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_printer_v1_pdf_invoice_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*InvoiceInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_printer_v1_pdf_invoice_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrderInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_printer_v1_pdf_invoice_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OfferInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_printer_v1_pdf_invoice_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrderItem); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_printer_v1_pdf_invoice_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrderVatItem); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_printer_v1_pdf_invoice_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Invoice); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_printer_v1_pdf_invoice_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DocumentResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_printer_v1_pdf_invoice_proto_msgTypes[1].OneofWrappers = []interface{}{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_printer_v1_pdf_invoice_proto_rawDesc,
NumEnums: 2,
NumMessages: 7,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_printer_v1_pdf_invoice_proto_goTypes,
DependencyIndexes: file_printer_v1_pdf_invoice_proto_depIdxs,
EnumInfos: file_printer_v1_pdf_invoice_proto_enumTypes,
MessageInfos: file_printer_v1_pdf_invoice_proto_msgTypes,
}.Build()
File_printer_v1_pdf_invoice_proto = out.File
file_printer_v1_pdf_invoice_proto_rawDesc = nil
file_printer_v1_pdf_invoice_proto_goTypes = nil
file_printer_v1_pdf_invoice_proto_depIdxs = nil
}