Files
protobuf/gen/web/printer/v1/pdf_invoice_grpc_web_pb.d.ts
2022-05-31 09:30:19 +02:00

32 lines
977 B
TypeScript

import * as grpcWeb from 'grpc-web';
import * as printer_v1_pdf_invoice_pb from '../../printer/v1/pdf_invoice_pb';
export class PrinterServiceClient {
constructor (hostname: string,
credentials?: null | { [index: string]: string; },
options?: null | { [index: string]: any; });
invoiceGen(
request: printer_v1_pdf_invoice_pb.Invoice,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.RpcError,
response: printer_v1_pdf_invoice_pb.DocumentResponse) => void
): grpcWeb.ClientReadableStream<printer_v1_pdf_invoice_pb.DocumentResponse>;
}
export class PrinterServicePromiseClient {
constructor (hostname: string,
credentials?: null | { [index: string]: string; },
options?: null | { [index: string]: any; });
invoiceGen(
request: printer_v1_pdf_invoice_pb.Invoice,
metadata?: grpcWeb.Metadata
): Promise<printer_v1_pdf_invoice_pb.DocumentResponse>;
}