"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
var event_query_service_client_exports = {};
__export(event_query_service_client_exports, {
  EventQueryServiceClient: () => EventQueryServiceClient
});
module.exports = __toCommonJS(event_query_service_client_exports);
var import_event_query_service = require("./event_query_service.cjs");
var import_runtime_rpc = require("@protobuf-ts/runtime-rpc");
class EventQueryServiceClient {
  constructor(_transport) {
    this._transport = _transport;
    __publicField(this, "typeName", import_event_query_service.EventQueryService.typeName);
    __publicField(this, "methods", import_event_query_service.EventQueryService.methods);
    __publicField(this, "options", import_event_query_service.EventQueryService.options);
  }
  /**
   * Get the create and the consuming exercise event for the contract with the provided ID.
   * No events will be returned for contracts that have been pruned because they
   * have already been archived before the latest pruning offset.
   * If the contract cannot be found for the request, or all the contract-events are filtered, a CONTRACT_EVENTS_NOT_FOUND error will be raised.
   *
   * @generated from protobuf rpc: GetEventsByContractId
   */
  getEventsByContractId(input, options) {
    const method = this.methods[0], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  EventQueryServiceClient
});
//# sourceMappingURL=event_query_service.client.cjs.map