diff --git a/proto/provider_disputes_callback.thrift b/proto/provider_disputes_callback.thrift index 83a4f9f..277ae5e 100644 --- a/proto/provider_disputes_callback.thrift +++ b/proto/provider_disputes_callback.thrift @@ -10,8 +10,26 @@ service ProviderDisputesCallbackService { } +service ProviderDisputesCallbackAdminManagementService { + + void Cancel (1: CancelParamsRequest cancelParamsRequest) + + void Approve (1: ApproveParamsRequest approveParamsRequest) + +} + struct DisputeCallbackParams { 1: optional ID invoiceId 2: optional ID paymentId 3: optional DisputeID disputeID } + +struct CancelParamsRequest { + 1: required bool cancelAll + 2: optional list ids +} + +struct ApproveParamsRequest { + 1: required bool approveAll + 2: optional list ids +}