// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "partnerInput.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { PartnerInputAPI } from "./partnerInput"; import type { PartnerCustomFieldsUpdatedResponse } from "./partnerInput"; import type { PartnerCustomFieldsUpdatedRequest } from "./partnerInput"; import type { PartnerSanitisedResponse } from "./partnerInput"; import type { PartnerSanitisedRequest } from "./partnerInput"; import type { PartnerAttachmentRemovedResponse } from "./partnerInput"; import type { PartnerAttachmentRemovedRequest } from "./partnerInput"; import type { PartnerAttachmentAddedResponse } from "./partnerInput"; import type { PartnerAttachmentAddedRequest } from "./partnerInput"; import type { PartnerDeletedResponse } from "./partnerInput"; import type { PartnerDeletedRequest } from "./partnerInput"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { PartnerCreatedResponse } from "./partnerInput"; import type { PartnerCreatedRequest } from "./partnerInput"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * * API-server services * * @generated from protobuf service api.PartnerInputAPI */ export interface IPartnerInputAPIClient { /** * @generated from protobuf rpc: Created */ created(input: PartnerCreatedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Deleted */ deleted(input: PartnerDeletedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentAdded */ attachmentAdded(input: PartnerAttachmentAddedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: AttachmentRemoved */ attachmentRemoved(input: PartnerAttachmentRemovedRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Sanitised */ sanitised(input: PartnerSanitisedRequest, options?: RpcOptions): UnaryCall; // // rpc ClaimAdded (PartnerClaimAddedRequest) returns (PartnerClaimAddedResponse) { // option (rscType) = "Project"; // option (roles) = "Platform.Project-Claim"; // option (platformReserved) = true; // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "A claim is added for the Partner." // summary: "" // tags: "Partner Inputs" // }; // option (google.api.method_visibility).restriction = "INTERNAL"; // }; /** * @generated from protobuf rpc: CustomFieldsUpdated */ customFieldsUpdated(input: PartnerCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall; } /** * * API-server services * * @generated from protobuf service api.PartnerInputAPI */ export class PartnerInputAPIClient implements IPartnerInputAPIClient, ServiceInfo { typeName = PartnerInputAPI.typeName; methods = PartnerInputAPI.methods; options = PartnerInputAPI.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Created */ created(input: PartnerCreatedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[0], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Deleted */ deleted(input: PartnerDeletedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: AttachmentAdded */ attachmentAdded(input: PartnerAttachmentAddedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[2], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: AttachmentRemoved */ attachmentRemoved(input: PartnerAttachmentRemovedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[3], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Sanitised */ sanitised(input: PartnerSanitisedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[4], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } // // rpc ClaimAdded (PartnerClaimAddedRequest) returns (PartnerClaimAddedResponse) { // option (rscType) = "Project"; // option (roles) = "Platform.Project-Claim"; // option (platformReserved) = true; // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "A claim is added for the Partner." // summary: "" // tags: "Partner Inputs" // }; // option (google.api.method_visibility).restriction = "INTERNAL"; // }; /** * @generated from protobuf rpc: CustomFieldsUpdated */ customFieldsUpdated(input: PartnerCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }