@@ -17,6 +17,7 @@ import * as usage_v1_usage_pb from "../../usage/v1/usage_pb";
17
17
18
18
interface IBillingServiceService extends grpc . ServiceDefinition < grpc . UntypedServiceImplementation > {
19
19
updateInvoices : IBillingServiceService_IUpdateInvoices ;
20
+ getLatestInvoice : IBillingServiceService_IGetLatestInvoice ;
20
21
}
21
22
22
23
interface IBillingServiceService_IUpdateInvoices extends grpc . MethodDefinition < usage_v1_billing_pb . UpdateInvoicesRequest , usage_v1_billing_pb . UpdateInvoicesResponse > {
@@ -28,22 +29,38 @@ interface IBillingServiceService_IUpdateInvoices extends grpc.MethodDefinition<u
28
29
responseSerialize : grpc . serialize < usage_v1_billing_pb . UpdateInvoicesResponse > ;
29
30
responseDeserialize : grpc . deserialize < usage_v1_billing_pb . UpdateInvoicesResponse > ;
30
31
}
32
+ interface IBillingServiceService_IGetLatestInvoice extends grpc . MethodDefinition < usage_v1_billing_pb . GetLatestInvoiceRequest , usage_v1_billing_pb . GetLatestInvoiceResponse > {
33
+ path : "/usage.v1.BillingService/GetLatestInvoice" ;
34
+ requestStream : false ;
35
+ responseStream : false ;
36
+ requestSerialize : grpc . serialize < usage_v1_billing_pb . GetLatestInvoiceRequest > ;
37
+ requestDeserialize : grpc . deserialize < usage_v1_billing_pb . GetLatestInvoiceRequest > ;
38
+ responseSerialize : grpc . serialize < usage_v1_billing_pb . GetLatestInvoiceResponse > ;
39
+ responseDeserialize : grpc . deserialize < usage_v1_billing_pb . GetLatestInvoiceResponse > ;
40
+ }
31
41
32
42
export const BillingServiceService : IBillingServiceService ;
33
43
34
44
export interface IBillingServiceServer extends grpc . UntypedServiceImplementation {
35
45
updateInvoices : grpc . handleUnaryCall < usage_v1_billing_pb . UpdateInvoicesRequest , usage_v1_billing_pb . UpdateInvoicesResponse > ;
46
+ getLatestInvoice : grpc . handleUnaryCall < usage_v1_billing_pb . GetLatestInvoiceRequest , usage_v1_billing_pb . GetLatestInvoiceResponse > ;
36
47
}
37
48
38
49
export interface IBillingServiceClient {
39
50
updateInvoices ( request : usage_v1_billing_pb . UpdateInvoicesRequest , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . UpdateInvoicesResponse ) => void ) : grpc . ClientUnaryCall ;
40
51
updateInvoices ( request : usage_v1_billing_pb . UpdateInvoicesRequest , metadata : grpc . Metadata , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . UpdateInvoicesResponse ) => void ) : grpc . ClientUnaryCall ;
41
52
updateInvoices ( request : usage_v1_billing_pb . UpdateInvoicesRequest , metadata : grpc . Metadata , options : Partial < grpc . CallOptions > , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . UpdateInvoicesResponse ) => void ) : grpc . ClientUnaryCall ;
53
+ getLatestInvoice ( request : usage_v1_billing_pb . GetLatestInvoiceRequest , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . GetLatestInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
54
+ 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
+ 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 ;
42
56
}
43
57
44
58
export class BillingServiceClient extends grpc . Client implements IBillingServiceClient {
45
59
constructor ( address : string , credentials : grpc . ChannelCredentials , options ?: Partial < grpc . ClientOptions > ) ;
46
60
public updateInvoices ( request : usage_v1_billing_pb . UpdateInvoicesRequest , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . UpdateInvoicesResponse ) => void ) : grpc . ClientUnaryCall ;
47
61
public updateInvoices ( request : usage_v1_billing_pb . UpdateInvoicesRequest , metadata : grpc . Metadata , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . UpdateInvoicesResponse ) => void ) : grpc . ClientUnaryCall ;
48
62
public updateInvoices ( request : usage_v1_billing_pb . UpdateInvoicesRequest , metadata : grpc . Metadata , options : Partial < grpc . CallOptions > , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . UpdateInvoicesResponse ) => void ) : grpc . ClientUnaryCall ;
63
+ public getLatestInvoice ( request : usage_v1_billing_pb . GetLatestInvoiceRequest , callback : ( error : grpc . ServiceError | null , response : usage_v1_billing_pb . GetLatestInvoiceResponse ) => void ) : grpc . ClientUnaryCall ;
64
+ 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
+ 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 ;
49
66
}
0 commit comments