@@ -18,6 +18,7 @@ import * as usage_v1_usage_pb from "../../usage/v1/usage_pb";
18
18
interface IBillingServiceService extends grpc . ServiceDefinition < grpc . UntypedServiceImplementation > {
19
19
updateInvoices : IBillingServiceService_IUpdateInvoices ;
20
20
getLatestInvoice : IBillingServiceService_IGetLatestInvoice ;
21
+ finalizeInvoice : IBillingServiceService_IFinalizeInvoice ;
21
22
}
22
23
23
24
interface IBillingServiceService_IUpdateInvoices extends grpc . MethodDefinition < usage_v1_billing_pb . UpdateInvoicesRequest , usage_v1_billing_pb . UpdateInvoicesResponse > {
@@ -38,12 +39,22 @@ interface IBillingServiceService_IGetLatestInvoice extends grpc.MethodDefinition
38
39
responseSerialize : grpc . serialize < usage_v1_billing_pb . GetLatestInvoiceResponse > ;
39
40
responseDeserialize : grpc . deserialize < usage_v1_billing_pb . GetLatestInvoiceResponse > ;
40
41
}
42
+ interface IBillingServiceService_IFinalizeInvoice extends grpc . MethodDefinition < usage_v1_billing_pb . FinalizeInvoiceRequest , usage_v1_billing_pb . FinalizeInvoiceResponse > {
43
+ path : "/usage.v1.BillingService/FinalizeInvoice" ;
44
+ requestStream : false ;
45
+ responseStream : false ;
46
+ requestSerialize : grpc . serialize < usage_v1_billing_pb . FinalizeInvoiceRequest > ;
47
+ requestDeserialize : grpc . deserialize < usage_v1_billing_pb . FinalizeInvoiceRequest > ;
48
+ responseSerialize : grpc . serialize < usage_v1_billing_pb . FinalizeInvoiceResponse > ;
49
+ responseDeserialize : grpc . deserialize < usage_v1_billing_pb . FinalizeInvoiceResponse > ;
50
+ }
41
51
42
52
export const BillingServiceService : IBillingServiceService ;
43
53
44
54
export interface IBillingServiceServer extends grpc . UntypedServiceImplementation {
45
55
updateInvoices : grpc . handleUnaryCall < usage_v1_billing_pb . UpdateInvoicesRequest , usage_v1_billing_pb . UpdateInvoicesResponse > ;
46
56
getLatestInvoice : grpc . handleUnaryCall < usage_v1_billing_pb . GetLatestInvoiceRequest , usage_v1_billing_pb . GetLatestInvoiceResponse > ;
57
+ finalizeInvoice : grpc . handleUnaryCall < usage_v1_billing_pb . FinalizeInvoiceRequest , usage_v1_billing_pb . FinalizeInvoiceResponse > ;
47
58
}
48
59
49
60
export interface IBillingServiceClient {
@@ -53,6 +64,9 @@ export interface IBillingServiceClient {
53
64
getLatestInvoice ( request : usage_v1_billing_pb . GetLatestInvoiceRequest , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . GetLatestInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
54
65
getLatestInvoice ( request : usage_v1_billing_pb . GetLatestInvoiceRequest , metadata : grpc . Metadata , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . GetLatestInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
55
66
getLatestInvoice ( request : usage_v1_billing_pb . GetLatestInvoiceRequest , metadata : grpc . Metadata , options : Partial < grpc . CallOptions > , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . GetLatestInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
67
+ finalizeInvoice ( request : usage_v1_billing_pb . FinalizeInvoiceRequest , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . FinalizeInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
68
+ finalizeInvoice ( request : usage_v1_billing_pb . FinalizeInvoiceRequest , metadata : grpc . Metadata , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . FinalizeInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
69
+ finalizeInvoice ( request : usage_v1_billing_pb . FinalizeInvoiceRequest , metadata : grpc . Metadata , options : Partial < grpc . CallOptions > , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . FinalizeInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
56
70
}
57
71
58
72
export class BillingServiceClient extends grpc . Client implements IBillingServiceClient {
@@ -63,4 +77,7 @@ export class BillingServiceClient extends grpc.Client implements IBillingService
63
77
public getLatestInvoice ( request : usage_v1_billing_pb . GetLatestInvoiceRequest , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . GetLatestInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
64
78
public getLatestInvoice ( request : usage_v1_billing_pb . GetLatestInvoiceRequest , metadata : grpc . Metadata , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . GetLatestInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
65
79
public getLatestInvoice ( request : usage_v1_billing_pb . GetLatestInvoiceRequest , metadata : grpc . Metadata , options : Partial < grpc . CallOptions > , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . GetLatestInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
80
+ public finalizeInvoice ( request : usage_v1_billing_pb . FinalizeInvoiceRequest , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . FinalizeInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
81
+ public finalizeInvoice ( request : usage_v1_billing_pb . FinalizeInvoiceRequest , metadata : grpc . Metadata , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . FinalizeInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
82
+ public finalizeInvoice ( request : usage_v1_billing_pb . FinalizeInvoiceRequest , metadata : grpc . Metadata , options : Partial < grpc . CallOptions > , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . FinalizeInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
66
83
}
0 commit comments