var __defProp = Object.defineProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
import { IdentityProviderConfigService } from "./identity_provider_config_service.js";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
class IdentityProviderConfigServiceClient {
  constructor(_transport) {
    this._transport = _transport;
    __publicField(this, "typeName", IdentityProviderConfigService.typeName);
    __publicField(this, "methods", IdentityProviderConfigService.methods);
    __publicField(this, "options", IdentityProviderConfigService.options);
  }
  /**
   * Create a new identity provider configuration.
   * The request will fail if the maximum allowed number of separate configurations is reached.
   *
   * @generated from protobuf rpc: CreateIdentityProviderConfig
   */
  createIdentityProviderConfig(input, options) {
    const method = this.methods[0], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
  /**
   * Get the identity provider configuration data by id.
   *
   * @generated from protobuf rpc: GetIdentityProviderConfig
   */
  getIdentityProviderConfig(input, options) {
    const method = this.methods[1], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
  /**
   * Update selected modifiable attribute of an identity provider config resource described
   * by the ``IdentityProviderConfig`` message.
   *
   * @generated from protobuf rpc: UpdateIdentityProviderConfig
   */
  updateIdentityProviderConfig(input, options) {
    const method = this.methods[2], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
  /**
   * List all existing identity provider configurations.
   *
   * @generated from protobuf rpc: ListIdentityProviderConfigs
   */
  listIdentityProviderConfigs(input, options) {
    const method = this.methods[3], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
  /**
   * Delete an existing identity provider configuration.
   *
   * @generated from protobuf rpc: DeleteIdentityProviderConfig
   */
  deleteIdentityProviderConfig(input, options) {
    const method = this.methods[4], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
}
export {
  IdentityProviderConfigServiceClient
};
//# sourceMappingURL=identity_provider_config_service.client.js.map