Moved cursor to a separate file
This commit is contained in:
@@ -6,12 +6,7 @@ option go_package = "github.com/tech/sendico/pkg/proto/payments/methods/v1;metho
|
||||
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
message ViewCursor {
|
||||
google.protobuf.Int64Value limit = 1;
|
||||
google.protobuf.Int64Value offset = 2;
|
||||
google.protobuf.BoolValue is_archived = 3;
|
||||
}
|
||||
|
||||
import "common/pagination/v2/cursor.proto";
|
||||
|
||||
message CreatePaymentMethodRequest {
|
||||
string account_ref = 1;
|
||||
@@ -63,7 +58,7 @@ message ListPaymentMethodsRequest {
|
||||
string account_ref = 1;
|
||||
string organization_ref = 2;
|
||||
string recipient_ref = 3;
|
||||
ViewCursor cursor = 4;
|
||||
common.pagination.v2.ViewCursor cursor = 4;
|
||||
}
|
||||
|
||||
message ListPaymentMethodsResponse {
|
||||
|
||||
Reference in New Issue
Block a user