// M-Files Server gRPC API 26.11. Generated from the M-Files Server IDL; do not edit.
// Documentation: https://developer.m-files.com/APIs/gRPC-API/
syntax = "proto3";

package MFiles;

import "mfiles/api/annotations.proto";

option csharp_namespace = "MFiles.Grpc";
option go_package = "github.com/M-Files/mfiles-grpc-api/go/mfiles;mfiles";
option java_multiple_files = true;
option java_package = "com.mfiles.grpc";
option objc_class_prefix = "MF_";

// Lets M-Files cloud services that hand out object and value list item IDs on behalf of a vault
// ask the vault to replenish their ID ranges.
//
// Infrastructure for M-Files Cloud. Applications do not call this service: it accepts only
// technical login accounts of M-Files cloud services, and servers without the feature answer
// "Not implemented.".
service IRPCIdentityOperations {
	option (mfiles.api.service) = { book: "vault" level: LEVEL_STANDARD title: "Identities" };

	// Asks the vault to replenish the ID ranges that an M-Files cloud service holds for it. Used by
	// M-Files cloud services only.
	//
	// - Returns at once; the vault does the work in the background. Repeated requests are combined,
	//   so the call is safe to retry.
	// - Requires a vault session with full control of the vault, and the session's account must be
	//   a technical login account of an M-Files cloud service. Other accounts, including vault
	//   administrators, get "Access denied.".
	// - Fails with "Not implemented." on servers and vaults where the feature is not available.
	rpc RequestIdentityPoolTopUp( RequestIdentityPoolTopUpRequest ) returns ( RequestIdentityPoolTopUpResponse ) {
		option idempotency_level = IDEMPOTENT;
		option (mfiles.api.method) = { session: SESSION_REQUIREMENT_SESSION };
	}
}

// The request of RequestIdentityPoolTopUp.
message RequestIdentityPoolTopUpRequest {
}

// The response of RequestIdentityPoolTopUp.
message RequestIdentityPoolTopUpResponse {
}
