-
Notifications
You must be signed in to change notification settings - Fork 1
billing: to create update delete and list exclude services #790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -996,6 +996,36 @@ service Billing { | |||||
| body: "*" | ||||||
| }; | ||||||
| } | ||||||
|
|
||||||
| // Create Exclude Service Entry | ||||||
| rpc CreateExcludeServiceEntry(CreateExcludeServiceEntryRequest) returns (CreateExcludeServiceEntryResponse) { | ||||||
| option (google.api.http) = { | ||||||
| post: "/v1/billinggroups/exclude-service-settings" | ||||||
| body: "*" | ||||||
| }; | ||||||
| } | ||||||
|
|
||||||
| // Update Exclude Service Entry | ||||||
| rpc UpdateExcludeServiceEntry(UpdateExcludeServiceEntryRequest) returns (UpdateExcludeServiceEntryResponse) { | ||||||
| option (google.api.http) = { | ||||||
| put: "/v1/billinggroups/exclude-service-settings" | ||||||
| body: "*" | ||||||
| }; | ||||||
| } | ||||||
|
|
||||||
| // Delete Exclude Service Entry | ||||||
| rpc DeleteExcludeServiceEntry(DeleteExcludeServiceEntryRequest) returns (DeleteExcludeServiceEntryResponse) { | ||||||
| option (google.api.http) = { | ||||||
| delete: "/v1/billinggroups/exclude-service-settings" | ||||||
| }; | ||||||
| } | ||||||
|
|
||||||
| // List Exclude Service Entries | ||||||
| rpc ListExcludeServices(ListExcludeServicesRequest) returns (ListExcludeServicesResponse) { | ||||||
|
||||||
| rpc ListExcludeServices(ListExcludeServicesRequest) returns (ListExcludeServicesResponse) { | |
| rpc ListExcludeServiceEntries(ListExcludeServicesRequest) returns (ListExcludeServicesResponse) { |
Copilot
AI
Jan 28, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The newly added messages use snake_case field names (msp_id, payer_id, except_payer_id, error_message), but the surrounding proto file consistently uses lowerCamelCase field names (e.g., billingGroupId, internalId, groupId). For consistency (and to avoid mixing styles within the same API surface), consider renaming the new fields to match the existing convention.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This DELETE endpoint identifies the resource solely via query parameters. Most existing DELETEs in this API use path parameters for the resource identifier (e.g.,
/v1/billinggroups/child/{internalId}), which makes the target of the delete unambiguous in routing/logging and in generated clients. Consider revising the HTTP mapping to include the entry’s identifying fields in the path (or otherwise make the delete target explicit), instead of relying on optional query params.