rclone/vendor/storj.io/common/pb/payments.proto
Caleb Case e7bd392a69 backend/tardigrade: Upgrade to uplink v1.0.6
This fixes an important bug with listing that affects users with more
than 500 objects in a listing operation.
2020-05-29 18:00:08 +01:00

49 lines
1.6 KiB
Protocol Buffer

// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
syntax = "proto3";
option go_package = "storj.io/common/pb";
package nodestats;
import "gogo.proto";
import "google/protobuf/timestamp.proto";
service Payments {
rpc PrepareInvoiceRecords(PrepareInvoiceRecordsRequest) returns (PrepareInvoiceRecordsResponse);
rpc ApplyInvoiceRecords(ApplyInvoiceRecordsRequest) returns (ApplyInvoiceRecordsResponse);
rpc ApplyInvoiceCoupons(ApplyInvoiceCouponsRequest) returns (ApplyInvoiceCouponsResponse);
rpc ApplyInvoiceCredits(ApplyInvoiceCreditsRequest) returns (ApplyInvoiceCreditsResponse);
rpc CreateInvoices(CreateInvoicesRequest) returns (CreateInvoicesResponse);
}
message PrepareInvoiceRecordsRequest {
google.protobuf.Timestamp period = 1 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
}
message PrepareInvoiceRecordsResponse {}
message ApplyInvoiceRecordsRequest {
google.protobuf.Timestamp period = 1 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
}
message ApplyInvoiceRecordsResponse {}
message ApplyInvoiceCouponsRequest {
google.protobuf.Timestamp period = 1 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
}
message ApplyInvoiceCouponsResponse {}
message ApplyInvoiceCreditsRequest {
google.protobuf.Timestamp period = 1 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
}
message ApplyInvoiceCreditsResponse {}
message CreateInvoicesRequest {
google.protobuf.Timestamp period = 1 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
}
message CreateInvoicesResponse {}