import {
  require_automation_runtime
} from "../chunk-75ZWZM3L.js";
import {
  authorize,
  createApiClient,
  createApiHandle,
  expand
} from "../chunk-V3SZ5A6F.js";
import "../chunk-YPSWSI3M.js";

// src/apis/automation.ts
var loadDefinition = () => {
  const mod = require_automation_runtime();
  return expand(mod.default ?? mod);
};
var _instance = null;
var resolve = () => {
  if (!_instance) {
    const def = loadDefinition();
    _instance = createApiClient({ definition: def, apiName: "automation" });
  }
  return _instance;
};
var _handle = createApiHandle({
  resolveClient: resolve,
  createClient: () => createApiClient({ definition: loadDefinition(), apiName: "automation" }),
  apiName: "automation"
});
var getClient = _handle.getClient;
var createClient = _handle.createClient;
var automation = _handle;
export {
  authorize,
  automation,
  createClient,
  getClient
};
