@@ -741,6 +741,31 @@ def __init__(self, channel):
741741 request_serializer = billing_dot_v1_dot_billing__pb2 .BulkTagBillingGroupRequest .SerializeToString ,
742742 response_deserializer = protos_dot_operation__pb2 .Operation .FromString ,
743743 _registered_method = True )
744+ self .GetBillingGroupInvoiceLayoutConfig = channel .unary_unary (
745+ '/blueapi.billing.v1.Billing/GetBillingGroupInvoiceLayoutConfig' ,
746+ request_serializer = billing_dot_v1_dot_billing__pb2 .GetBillingGroupInvoiceLayoutConfigRequest .SerializeToString ,
747+ response_deserializer = billing_dot_v1_dot_billing__pb2 .GetBillingGroupInvoiceLayoutConfigResponse .FromString ,
748+ _registered_method = True )
749+ self .SetBillingGroupInvoiceLayoutConfig = channel .unary_unary (
750+ '/blueapi.billing.v1.Billing/SetBillingGroupInvoiceLayoutConfig' ,
751+ request_serializer = billing_dot_v1_dot_billing__pb2 .SetBillingGroupInvoiceLayoutConfigRequest .SerializeToString ,
752+ response_deserializer = google_dot_protobuf_dot_empty__pb2 .Empty .FromString ,
753+ _registered_method = True )
754+ self .CreateInvoiceLayoutConfig = channel .unary_unary (
755+ '/blueapi.billing.v1.Billing/CreateInvoiceLayoutConfig' ,
756+ request_serializer = billing_dot_v1_dot_billing__pb2 .CreateInvoiceLayoutConfigRequest .SerializeToString ,
757+ response_deserializer = billing_dot_v1_dot_billing__pb2 .CreateInvoiceLayoutConfigResponse .FromString ,
758+ _registered_method = True )
759+ self .UpdateInvoiceLayoutConfig = channel .unary_unary (
760+ '/blueapi.billing.v1.Billing/UpdateInvoiceLayoutConfig' ,
761+ request_serializer = billing_dot_v1_dot_billing__pb2 .UpdateInvoiceLayoutConfigRequest .SerializeToString ,
762+ response_deserializer = google_dot_protobuf_dot_empty__pb2 .Empty .FromString ,
763+ _registered_method = True )
764+ self .ReadInvoiceLayoutConfig = channel .unary_stream (
765+ '/blueapi.billing.v1.Billing/ReadInvoiceLayoutConfig' ,
766+ request_serializer = billing_dot_v1_dot_billing__pb2 .ReadInvoiceLayoutConfigRequest .SerializeToString ,
767+ response_deserializer = billing_dot_v1_dot_billing__pb2 .ReadInvoiceLayoutConfigResponse .FromString ,
768+ _registered_method = True )
744769
745770
746771class BillingServicer (object ):
@@ -1738,6 +1763,41 @@ def BulkTagBillingGroup(self, request, context):
17381763 context .set_details ('Method not implemented!' )
17391764 raise NotImplementedError ('Method not implemented!' )
17401765
1766+ def GetBillingGroupInvoiceLayoutConfig (self , request , context ):
1767+ """WORK-IN-PROGRESS. Gets the billing group invoice layout configs, used for overriding MSP level configs.
1768+ """
1769+ context .set_code (grpc .StatusCode .UNIMPLEMENTED )
1770+ context .set_details ('Method not implemented!' )
1771+ raise NotImplementedError ('Method not implemented!' )
1772+
1773+ def SetBillingGroupInvoiceLayoutConfig (self , request , context ):
1774+ """WORK-IN-PROGRESS. Sets the billing group invoice layout configs.
1775+ """
1776+ context .set_code (grpc .StatusCode .UNIMPLEMENTED )
1777+ context .set_details ('Method not implemented!' )
1778+ raise NotImplementedError ('Method not implemented!' )
1779+
1780+ def CreateInvoiceLayoutConfig (self , request , context ):
1781+ """WORK-IN-PROGRESS. Creates an invoice layout config.
1782+ """
1783+ context .set_code (grpc .StatusCode .UNIMPLEMENTED )
1784+ context .set_details ('Method not implemented!' )
1785+ raise NotImplementedError ('Method not implemented!' )
1786+
1787+ def UpdateInvoiceLayoutConfig (self , request , context ):
1788+ """WORK-IN-PROGRESS. Updates an invoice layout config.
1789+ """
1790+ context .set_code (grpc .StatusCode .UNIMPLEMENTED )
1791+ context .set_details ('Method not implemented!' )
1792+ raise NotImplementedError ('Method not implemented!' )
1793+
1794+ def ReadInvoiceLayoutConfig (self , request , context ):
1795+ """WORK-IN-PROGRESS. Reads all invoice layout config under an msp.
1796+ """
1797+ context .set_code (grpc .StatusCode .UNIMPLEMENTED )
1798+ context .set_details ('Method not implemented!' )
1799+ raise NotImplementedError ('Method not implemented!' )
1800+
17411801
17421802def add_BillingServicer_to_server (servicer , server ):
17431803 rpc_method_handlers = {
@@ -2436,6 +2496,31 @@ def add_BillingServicer_to_server(servicer, server):
24362496 request_deserializer = billing_dot_v1_dot_billing__pb2 .BulkTagBillingGroupRequest .FromString ,
24372497 response_serializer = protos_dot_operation__pb2 .Operation .SerializeToString ,
24382498 ),
2499+ 'GetBillingGroupInvoiceLayoutConfig' : grpc .unary_unary_rpc_method_handler (
2500+ servicer .GetBillingGroupInvoiceLayoutConfig ,
2501+ request_deserializer = billing_dot_v1_dot_billing__pb2 .GetBillingGroupInvoiceLayoutConfigRequest .FromString ,
2502+ response_serializer = billing_dot_v1_dot_billing__pb2 .GetBillingGroupInvoiceLayoutConfigResponse .SerializeToString ,
2503+ ),
2504+ 'SetBillingGroupInvoiceLayoutConfig' : grpc .unary_unary_rpc_method_handler (
2505+ servicer .SetBillingGroupInvoiceLayoutConfig ,
2506+ request_deserializer = billing_dot_v1_dot_billing__pb2 .SetBillingGroupInvoiceLayoutConfigRequest .FromString ,
2507+ response_serializer = google_dot_protobuf_dot_empty__pb2 .Empty .SerializeToString ,
2508+ ),
2509+ 'CreateInvoiceLayoutConfig' : grpc .unary_unary_rpc_method_handler (
2510+ servicer .CreateInvoiceLayoutConfig ,
2511+ request_deserializer = billing_dot_v1_dot_billing__pb2 .CreateInvoiceLayoutConfigRequest .FromString ,
2512+ response_serializer = billing_dot_v1_dot_billing__pb2 .CreateInvoiceLayoutConfigResponse .SerializeToString ,
2513+ ),
2514+ 'UpdateInvoiceLayoutConfig' : grpc .unary_unary_rpc_method_handler (
2515+ servicer .UpdateInvoiceLayoutConfig ,
2516+ request_deserializer = billing_dot_v1_dot_billing__pb2 .UpdateInvoiceLayoutConfigRequest .FromString ,
2517+ response_serializer = google_dot_protobuf_dot_empty__pb2 .Empty .SerializeToString ,
2518+ ),
2519+ 'ReadInvoiceLayoutConfig' : grpc .unary_stream_rpc_method_handler (
2520+ servicer .ReadInvoiceLayoutConfig ,
2521+ request_deserializer = billing_dot_v1_dot_billing__pb2 .ReadInvoiceLayoutConfigRequest .FromString ,
2522+ response_serializer = billing_dot_v1_dot_billing__pb2 .ReadInvoiceLayoutConfigResponse .SerializeToString ,
2523+ ),
24392524 }
24402525 generic_handler = grpc .method_handlers_generic_handler (
24412526 'blueapi.billing.v1.Billing' , rpc_method_handlers )
@@ -6200,3 +6285,138 @@ def BulkTagBillingGroup(request,
62006285 timeout ,
62016286 metadata ,
62026287 _registered_method = True )
6288+
6289+ @staticmethod
6290+ def GetBillingGroupInvoiceLayoutConfig (request ,
6291+ target ,
6292+ options = (),
6293+ channel_credentials = None ,
6294+ call_credentials = None ,
6295+ insecure = False ,
6296+ compression = None ,
6297+ wait_for_ready = None ,
6298+ timeout = None ,
6299+ metadata = None ):
6300+ return grpc .experimental .unary_unary (
6301+ request ,
6302+ target ,
6303+ '/blueapi.billing.v1.Billing/GetBillingGroupInvoiceLayoutConfig' ,
6304+ billing_dot_v1_dot_billing__pb2 .GetBillingGroupInvoiceLayoutConfigRequest .SerializeToString ,
6305+ billing_dot_v1_dot_billing__pb2 .GetBillingGroupInvoiceLayoutConfigResponse .FromString ,
6306+ options ,
6307+ channel_credentials ,
6308+ insecure ,
6309+ call_credentials ,
6310+ compression ,
6311+ wait_for_ready ,
6312+ timeout ,
6313+ metadata ,
6314+ _registered_method = True )
6315+
6316+ @staticmethod
6317+ def SetBillingGroupInvoiceLayoutConfig (request ,
6318+ target ,
6319+ options = (),
6320+ channel_credentials = None ,
6321+ call_credentials = None ,
6322+ insecure = False ,
6323+ compression = None ,
6324+ wait_for_ready = None ,
6325+ timeout = None ,
6326+ metadata = None ):
6327+ return grpc .experimental .unary_unary (
6328+ request ,
6329+ target ,
6330+ '/blueapi.billing.v1.Billing/SetBillingGroupInvoiceLayoutConfig' ,
6331+ billing_dot_v1_dot_billing__pb2 .SetBillingGroupInvoiceLayoutConfigRequest .SerializeToString ,
6332+ google_dot_protobuf_dot_empty__pb2 .Empty .FromString ,
6333+ options ,
6334+ channel_credentials ,
6335+ insecure ,
6336+ call_credentials ,
6337+ compression ,
6338+ wait_for_ready ,
6339+ timeout ,
6340+ metadata ,
6341+ _registered_method = True )
6342+
6343+ @staticmethod
6344+ def CreateInvoiceLayoutConfig (request ,
6345+ target ,
6346+ options = (),
6347+ channel_credentials = None ,
6348+ call_credentials = None ,
6349+ insecure = False ,
6350+ compression = None ,
6351+ wait_for_ready = None ,
6352+ timeout = None ,
6353+ metadata = None ):
6354+ return grpc .experimental .unary_unary (
6355+ request ,
6356+ target ,
6357+ '/blueapi.billing.v1.Billing/CreateInvoiceLayoutConfig' ,
6358+ billing_dot_v1_dot_billing__pb2 .CreateInvoiceLayoutConfigRequest .SerializeToString ,
6359+ billing_dot_v1_dot_billing__pb2 .CreateInvoiceLayoutConfigResponse .FromString ,
6360+ options ,
6361+ channel_credentials ,
6362+ insecure ,
6363+ call_credentials ,
6364+ compression ,
6365+ wait_for_ready ,
6366+ timeout ,
6367+ metadata ,
6368+ _registered_method = True )
6369+
6370+ @staticmethod
6371+ def UpdateInvoiceLayoutConfig (request ,
6372+ target ,
6373+ options = (),
6374+ channel_credentials = None ,
6375+ call_credentials = None ,
6376+ insecure = False ,
6377+ compression = None ,
6378+ wait_for_ready = None ,
6379+ timeout = None ,
6380+ metadata = None ):
6381+ return grpc .experimental .unary_unary (
6382+ request ,
6383+ target ,
6384+ '/blueapi.billing.v1.Billing/UpdateInvoiceLayoutConfig' ,
6385+ billing_dot_v1_dot_billing__pb2 .UpdateInvoiceLayoutConfigRequest .SerializeToString ,
6386+ google_dot_protobuf_dot_empty__pb2 .Empty .FromString ,
6387+ options ,
6388+ channel_credentials ,
6389+ insecure ,
6390+ call_credentials ,
6391+ compression ,
6392+ wait_for_ready ,
6393+ timeout ,
6394+ metadata ,
6395+ _registered_method = True )
6396+
6397+ @staticmethod
6398+ def ReadInvoiceLayoutConfig (request ,
6399+ target ,
6400+ options = (),
6401+ channel_credentials = None ,
6402+ call_credentials = None ,
6403+ insecure = False ,
6404+ compression = None ,
6405+ wait_for_ready = None ,
6406+ timeout = None ,
6407+ metadata = None ):
6408+ return grpc .experimental .unary_stream (
6409+ request ,
6410+ target ,
6411+ '/blueapi.billing.v1.Billing/ReadInvoiceLayoutConfig' ,
6412+ billing_dot_v1_dot_billing__pb2 .ReadInvoiceLayoutConfigRequest .SerializeToString ,
6413+ billing_dot_v1_dot_billing__pb2 .ReadInvoiceLayoutConfigResponse .FromString ,
6414+ options ,
6415+ channel_credentials ,
6416+ insecure ,
6417+ call_credentials ,
6418+ compression ,
6419+ wait_for_ready ,
6420+ timeout ,
6421+ metadata ,
6422+ _registered_method = True )
0 commit comments