import {
  require_customer_portal_runtime
} from "../chunk-XT54462S.js";
import {
  authorize,
  createApiClient,
  createApiHandle,
  expand
} from "../chunk-6AO46HG5.js";
import "../chunk-YPSWSI3M.js";

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