{"version":3,"sources":["../src/_internal/core/bodySerializer.gen.ts","../src/_internal/core/serverSentEvents.gen.ts","../src/_internal/core/pathSerializer.gen.ts","../src/_internal/core/utils.gen.ts","../src/_internal/core/auth.gen.ts","../src/_internal/client/utils.gen.ts","../src/_internal/client/client.gen.ts","../src/version.ts","../src/base-client.ts","../src/errors/index.ts","../src/streaming.ts","../src/request-builder.ts","../src/_internal/client.gen.ts","../src/_internal/sdk.gen.ts","../src/namespaces/agents.ts","../src/namespaces/accounts.ts","../src/namespaces/applications.ts","../src/namespaces/capabilities.ts","../src/namespaces/content.ts","../src/pagination.ts","../src/namespaces/apiKeys.ts","../src/namespaces/executions.ts","../src/namespaces/storage.ts","../src/namespace-types.ts","../src/namespaces/users.ts","../src/namespaces/voice.ts","../src/namespaces/audit.ts","../src/namespaces/webhooks-ns.ts","../src/namespaces/campaigns.ts","../src/namespaces/email.ts","../src/namespaces/billing.ts","../src/namespaces/portal.ts","../src/namespaces/social.ts","../src/namespaces/connectors.ts","../src/namespaces/crawler.ts","../src/namespaces/extraction.ts","../src/namespaces/scheduling.ts","../src/namespaces/crm.ts","../src/namespaces/support.ts","../src/namespaces/cases.ts","../src/namespaces/contracts.ts","../src/namespaces/meetings.ts","../src/namespaces/reviews.ts","../src/namespaces/models.ts","../src/namespaces/ai.ts","../src/namespaces/crm-clusters.ts","../src/namespaces/compliance.ts","../src/namespaces/pipeline-node-executions.ts","../src/namespaces/pipeline-nodes.ts","../src/namespaces/pipelines.ts","../src/namespaces/pipeline-executions.ts","../src/namespaces/tenants.ts","../src/namespaces/access-grants.ts","../src/namespaces/roles.ts","../src/namespaces/permissions.ts","../src/namespaces/ownership-transfers.ts","../src/namespaces/threads.ts","../src/namespaces/clinical.ts","../src/namespaces/workspaces.ts","../src/namespaces/invitations.ts","../src/namespaces/brand-identities.ts","../src/namespaces/platform-tones.ts","../src/namespaces/claimed-domains.ts","../src/namespaces/system-messages.ts","../src/namespaces/channels.ts","../src/namespaces/imports.ts","../src/namespaces/documents.ts","../src/namespaces/invoices.ts","../src/namespaces/recipes.ts","../src/namespaces/preferences.ts","../src/namespaces/registry.ts","../src/namespaces/userProfiles.ts","../src/namespaces/scopes.ts","../src/namespaces/themes.ts","../src/namespaces/forms.ts","../src/gpt-admin.ts","../src/index.ts"],"sourcesContent":["// This file is auto-generated by @hey-api/openapi-ts\n\nimport type {\n  ArrayStyle,\n  ObjectStyle,\n  SerializerOptions,\n} from \"./pathSerializer.gen\";\n\nexport type QuerySerializer = (query: Record<string, unknown>) => string;\n\nexport type BodySerializer = (body: any) => any;\n\ntype QuerySerializerOptionsObject = {\n  allowReserved?: boolean;\n  array?: Partial<SerializerOptions<ArrayStyle>>;\n  object?: Partial<SerializerOptions<ObjectStyle>>;\n};\n\nexport type QuerySerializerOptions = QuerySerializerOptionsObject & {\n  /**\n   * Per-parameter serialization overrides. When provided, these settings\n   * override the global array/object settings for specific parameter names.\n   */\n  parameters?: Record<string, QuerySerializerOptionsObject>;\n};\n\nconst serializeFormDataPair = (\n  data: FormData,\n  key: string,\n  value: unknown,\n): void => {\n  if (typeof value === \"string\" || value instanceof Blob) {\n    data.append(key, value);\n  } else if (value instanceof Date) {\n    data.append(key, value.toISOString());\n  } else {\n    data.append(key, JSON.stringify(value));\n  }\n};\n\nconst serializeUrlSearchParamsPair = (\n  data: URLSearchParams,\n  key: string,\n  value: unknown,\n): void => {\n  if (typeof value === \"string\") {\n    data.append(key, value);\n  } else {\n    data.append(key, JSON.stringify(value));\n  }\n};\n\nexport const formDataBodySerializer = {\n  bodySerializer: <T extends Record<string, any> | Array<Record<string, any>>>(\n    body: T,\n  ): FormData => {\n    const data = new FormData();\n\n    Object.entries(body).forEach(([key, value]) => {\n      if (value === undefined || value === null) {\n        return;\n      }\n      if (Array.isArray(value)) {\n        value.forEach((v) => serializeFormDataPair(data, key, v));\n      } else {\n        serializeFormDataPair(data, key, value);\n      }\n    });\n\n    return data;\n  },\n};\n\nexport const jsonBodySerializer = {\n  bodySerializer: <T>(body: T): string =>\n    JSON.stringify(body, (_key, value) =>\n      typeof value === \"bigint\" ? value.toString() : value,\n    ),\n};\n\nexport const urlSearchParamsBodySerializer = {\n  bodySerializer: <T extends Record<string, any> | Array<Record<string, any>>>(\n    body: T,\n  ): string => {\n    const data = new URLSearchParams();\n\n    Object.entries(body).forEach(([key, value]) => {\n      if (value === undefined || value === null) {\n        return;\n      }\n      if (Array.isArray(value)) {\n        value.forEach((v) => serializeUrlSearchParamsPair(data, key, v));\n      } else {\n        serializeUrlSearchParamsPair(data, key, value);\n      }\n    });\n\n    return data.toString();\n  },\n};\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Config } from \"./types.gen\";\n\nexport type ServerSentEventsOptions<TData = unknown> = Omit<\n  RequestInit,\n  \"method\"\n> &\n  Pick<Config, \"method\" | \"responseTransformer\" | \"responseValidator\"> & {\n    /**\n     * Fetch API implementation. You can use this option to provide a custom\n     * fetch instance.\n     *\n     * @default globalThis.fetch\n     */\n    fetch?: typeof fetch;\n    /**\n     * Implementing clients can call request interceptors inside this hook.\n     */\n    onRequest?: (url: string, init: RequestInit) => Promise<Request>;\n    /**\n     * Callback invoked when a network or parsing error occurs during streaming.\n     *\n     * This option applies only if the endpoint returns a stream of events.\n     *\n     * @param error The error that occurred.\n     */\n    onSseError?: (error: unknown) => void;\n    /**\n     * Callback invoked when an event is streamed from the server.\n     *\n     * This option applies only if the endpoint returns a stream of events.\n     *\n     * @param event Event streamed from the server.\n     * @returns Nothing (void).\n     */\n    onSseEvent?: (event: StreamEvent<TData>) => void;\n    serializedBody?: RequestInit[\"body\"];\n    /**\n     * Default retry delay in milliseconds.\n     *\n     * This option applies only if the endpoint returns a stream of events.\n     *\n     * @default 3000\n     */\n    sseDefaultRetryDelay?: number;\n    /**\n     * Maximum number of retry attempts before giving up.\n     */\n    sseMaxRetryAttempts?: number;\n    /**\n     * Maximum retry delay in milliseconds.\n     *\n     * Applies only when exponential backoff is used.\n     *\n     * This option applies only if the endpoint returns a stream of events.\n     *\n     * @default 30000\n     */\n    sseMaxRetryDelay?: number;\n    /**\n     * Optional sleep function for retry backoff.\n     *\n     * Defaults to using `setTimeout`.\n     */\n    sseSleepFn?: (ms: number) => Promise<void>;\n    url: string;\n  };\n\nexport interface StreamEvent<TData = unknown> {\n  data: TData;\n  event?: string;\n  id?: string;\n  retry?: number;\n}\n\nexport type ServerSentEventsResult<\n  TData = unknown,\n  TReturn = void,\n  TNext = unknown,\n> = {\n  stream: AsyncGenerator<\n    TData extends Record<string, unknown> ? TData[keyof TData] : TData,\n    TReturn,\n    TNext\n  >;\n};\n\nexport const createSseClient = <TData = unknown>({\n  onRequest,\n  onSseError,\n  onSseEvent,\n  responseTransformer,\n  responseValidator,\n  sseDefaultRetryDelay,\n  sseMaxRetryAttempts,\n  sseMaxRetryDelay,\n  sseSleepFn,\n  url,\n  ...options\n}: ServerSentEventsOptions): ServerSentEventsResult<TData> => {\n  let lastEventId: string | undefined;\n\n  const sleep =\n    sseSleepFn ??\n    ((ms: number) => new Promise((resolve) => setTimeout(resolve, ms)));\n\n  const createStream = async function* () {\n    let retryDelay: number = sseDefaultRetryDelay ?? 3000;\n    let attempt = 0;\n    const signal = options.signal ?? new AbortController().signal;\n\n    while (true) {\n      if (signal.aborted) break;\n\n      attempt++;\n\n      const headers =\n        options.headers instanceof Headers\n          ? options.headers\n          : new Headers(options.headers as Record<string, string> | undefined);\n\n      if (lastEventId !== undefined) {\n        headers.set(\"Last-Event-ID\", lastEventId);\n      }\n\n      try {\n        const requestInit: RequestInit = {\n          redirect: \"follow\",\n          ...options,\n          body: options.serializedBody,\n          headers,\n          signal,\n        };\n        let request = new Request(url, requestInit);\n        if (onRequest) {\n          request = await onRequest(url, requestInit);\n        }\n        // fetch must be assigned here, otherwise it would throw the error:\n        // TypeError: Failed to execute 'fetch' on 'Window': Illegal invocation\n        const _fetch = options.fetch ?? globalThis.fetch;\n        const response = await _fetch(request);\n\n        if (!response.ok)\n          throw new Error(\n            `SSE failed: ${response.status} ${response.statusText}`,\n          );\n\n        if (!response.body) throw new Error(\"No body in SSE response\");\n\n        const reader = response.body\n          .pipeThrough(new TextDecoderStream())\n          .getReader();\n\n        let buffer = \"\";\n\n        const abortHandler = () => {\n          try {\n            reader.cancel();\n          } catch {\n            // noop\n          }\n        };\n\n        signal.addEventListener(\"abort\", abortHandler);\n\n        try {\n          while (true) {\n            const { done, value } = await reader.read();\n            if (done) break;\n            buffer += value;\n            // Normalize line endings: CRLF -> LF, then CR -> LF\n            buffer = buffer.replace(/\\r\\n/g, \"\\n\").replace(/\\r/g, \"\\n\");\n\n            const chunks = buffer.split(\"\\n\\n\");\n            buffer = chunks.pop() ?? \"\";\n\n            for (const chunk of chunks) {\n              const lines = chunk.split(\"\\n\");\n              const dataLines: Array<string> = [];\n              let eventName: string | undefined;\n\n              for (const line of lines) {\n                if (line.startsWith(\"data:\")) {\n                  dataLines.push(line.replace(/^data:\\s*/, \"\"));\n                } else if (line.startsWith(\"event:\")) {\n                  eventName = line.replace(/^event:\\s*/, \"\");\n                } else if (line.startsWith(\"id:\")) {\n                  lastEventId = line.replace(/^id:\\s*/, \"\");\n                } else if (line.startsWith(\"retry:\")) {\n                  const parsed = Number.parseInt(\n                    line.replace(/^retry:\\s*/, \"\"),\n                    10,\n                  );\n                  if (!Number.isNaN(parsed)) {\n                    retryDelay = parsed;\n                  }\n                }\n              }\n\n              let data: unknown;\n              let parsedJson = false;\n\n              if (dataLines.length) {\n                const rawData = dataLines.join(\"\\n\");\n                try {\n                  data = JSON.parse(rawData);\n                  parsedJson = true;\n                } catch {\n                  data = rawData;\n                }\n              }\n\n              if (parsedJson) {\n                if (responseValidator) {\n                  await responseValidator(data);\n                }\n\n                if (responseTransformer) {\n                  data = await responseTransformer(data);\n                }\n              }\n\n              onSseEvent?.({\n                data,\n                event: eventName,\n                id: lastEventId,\n                retry: retryDelay,\n              });\n\n              if (dataLines.length) {\n                yield data as any;\n              }\n            }\n          }\n        } finally {\n          signal.removeEventListener(\"abort\", abortHandler);\n          reader.releaseLock();\n        }\n\n        break; // exit loop on normal completion\n      } catch (error) {\n        // connection failed or aborted; retry after delay\n        onSseError?.(error);\n\n        if (\n          sseMaxRetryAttempts !== undefined &&\n          attempt >= sseMaxRetryAttempts\n        ) {\n          break; // stop after firing error\n        }\n\n        // exponential backoff: double retry each attempt, cap at 30s\n        const backoff = Math.min(\n          retryDelay * 2 ** (attempt - 1),\n          sseMaxRetryDelay ?? 30000,\n        );\n        await sleep(backoff);\n      }\n    }\n  };\n\n  const stream = createStream();\n\n  return { stream };\n};\n","// This file is auto-generated by @hey-api/openapi-ts\n\ninterface SerializeOptions<T>\n  extends SerializePrimitiveOptions, SerializerOptions<T> {}\n\ninterface SerializePrimitiveOptions {\n  allowReserved?: boolean;\n  name: string;\n}\n\nexport interface SerializerOptions<T> {\n  /**\n   * @default true\n   */\n  explode: boolean;\n  style: T;\n}\n\nexport type ArrayStyle = \"form\" | \"spaceDelimited\" | \"pipeDelimited\";\nexport type ArraySeparatorStyle = ArrayStyle | MatrixStyle;\ntype MatrixStyle = \"label\" | \"matrix\" | \"simple\";\nexport type ObjectStyle = \"form\" | \"deepObject\";\ntype ObjectSeparatorStyle = ObjectStyle | MatrixStyle;\n\ninterface SerializePrimitiveParam extends SerializePrimitiveOptions {\n  value: string;\n}\n\nexport const separatorArrayExplode = (style: ArraySeparatorStyle) => {\n  switch (style) {\n    case \"label\":\n      return \".\";\n    case \"matrix\":\n      return \";\";\n    case \"simple\":\n      return \",\";\n    default:\n      return \"&\";\n  }\n};\n\nexport const separatorArrayNoExplode = (style: ArraySeparatorStyle) => {\n  switch (style) {\n    case \"form\":\n      return \",\";\n    case \"pipeDelimited\":\n      return \"|\";\n    case \"spaceDelimited\":\n      return \"%20\";\n    default:\n      return \",\";\n  }\n};\n\nexport const separatorObjectExplode = (style: ObjectSeparatorStyle) => {\n  switch (style) {\n    case \"label\":\n      return \".\";\n    case \"matrix\":\n      return \";\";\n    case \"simple\":\n      return \",\";\n    default:\n      return \"&\";\n  }\n};\n\nexport const serializeArrayParam = ({\n  allowReserved,\n  explode,\n  name,\n  style,\n  value,\n}: SerializeOptions<ArraySeparatorStyle> & {\n  value: unknown[];\n}) => {\n  if (!explode) {\n    const joinedValues = (\n      allowReserved ? value : value.map((v) => encodeURIComponent(v as string))\n    ).join(separatorArrayNoExplode(style));\n    switch (style) {\n      case \"label\":\n        return `.${joinedValues}`;\n      case \"matrix\":\n        return `;${name}=${joinedValues}`;\n      case \"simple\":\n        return joinedValues;\n      default:\n        return `${name}=${joinedValues}`;\n    }\n  }\n\n  const separator = separatorArrayExplode(style);\n  const joinedValues = value\n    .map((v) => {\n      if (style === \"label\" || style === \"simple\") {\n        return allowReserved ? v : encodeURIComponent(v as string);\n      }\n\n      return serializePrimitiveParam({\n        allowReserved,\n        name,\n        value: v as string,\n      });\n    })\n    .join(separator);\n  return style === \"label\" || style === \"matrix\"\n    ? separator + joinedValues\n    : joinedValues;\n};\n\nexport const serializePrimitiveParam = ({\n  allowReserved,\n  name,\n  value,\n}: SerializePrimitiveParam) => {\n  if (value === undefined || value === null) {\n    return \"\";\n  }\n\n  if (typeof value === \"object\") {\n    throw new Error(\n      \"Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.\",\n    );\n  }\n\n  return `${name}=${allowReserved ? value : encodeURIComponent(value)}`;\n};\n\nexport const serializeObjectParam = ({\n  allowReserved,\n  explode,\n  name,\n  style,\n  value,\n  valueOnly,\n}: SerializeOptions<ObjectSeparatorStyle> & {\n  value: Record<string, unknown> | Date;\n  valueOnly?: boolean;\n}) => {\n  if (value instanceof Date) {\n    return valueOnly ? value.toISOString() : `${name}=${value.toISOString()}`;\n  }\n\n  if (style !== \"deepObject\" && !explode) {\n    let values: string[] = [];\n    Object.entries(value).forEach(([key, v]) => {\n      values = [\n        ...values,\n        key,\n        allowReserved ? (v as string) : encodeURIComponent(v as string),\n      ];\n    });\n    const joinedValues = values.join(\",\");\n    switch (style) {\n      case \"form\":\n        return `${name}=${joinedValues}`;\n      case \"label\":\n        return `.${joinedValues}`;\n      case \"matrix\":\n        return `;${name}=${joinedValues}`;\n      default:\n        return joinedValues;\n    }\n  }\n\n  const separator = separatorObjectExplode(style);\n  const joinedValues = Object.entries(value)\n    .map(([key, v]) =>\n      serializePrimitiveParam({\n        allowReserved,\n        name: style === \"deepObject\" ? `${name}[${key}]` : key,\n        value: v as string,\n      }),\n    )\n    .join(separator);\n  return style === \"label\" || style === \"matrix\"\n    ? separator + joinedValues\n    : joinedValues;\n};\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { BodySerializer, QuerySerializer } from \"./bodySerializer.gen\";\nimport {\n  type ArraySeparatorStyle,\n  serializeArrayParam,\n  serializeObjectParam,\n  serializePrimitiveParam,\n} from \"./pathSerializer.gen\";\n\nexport interface PathSerializer {\n  path: Record<string, unknown>;\n  url: string;\n}\n\nexport const PATH_PARAM_RE = /\\{[^{}]+\\}/g;\n\nexport const defaultPathSerializer = ({ path, url: _url }: PathSerializer) => {\n  let url = _url;\n  const matches = _url.match(PATH_PARAM_RE);\n  if (matches) {\n    for (const match of matches) {\n      let explode = false;\n      let name = match.substring(1, match.length - 1);\n      let style: ArraySeparatorStyle = \"simple\";\n\n      if (name.endsWith(\"*\")) {\n        explode = true;\n        name = name.substring(0, name.length - 1);\n      }\n\n      if (name.startsWith(\".\")) {\n        name = name.substring(1);\n        style = \"label\";\n      } else if (name.startsWith(\";\")) {\n        name = name.substring(1);\n        style = \"matrix\";\n      }\n\n      const value = path[name];\n\n      if (value === undefined || value === null) {\n        continue;\n      }\n\n      if (Array.isArray(value)) {\n        url = url.replace(\n          match,\n          serializeArrayParam({ explode, name, style, value }),\n        );\n        continue;\n      }\n\n      if (typeof value === \"object\") {\n        url = url.replace(\n          match,\n          serializeObjectParam({\n            explode,\n            name,\n            style,\n            value: value as Record<string, unknown>,\n            valueOnly: true,\n          }),\n        );\n        continue;\n      }\n\n      if (style === \"matrix\") {\n        url = url.replace(\n          match,\n          `;${serializePrimitiveParam({\n            name,\n            value: value as string,\n          })}`,\n        );\n        continue;\n      }\n\n      const replaceValue = encodeURIComponent(\n        style === \"label\" ? `.${value as string}` : (value as string),\n      );\n      url = url.replace(match, replaceValue);\n    }\n  }\n  return url;\n};\n\nexport const getUrl = ({\n  baseUrl,\n  path,\n  query,\n  querySerializer,\n  url: _url,\n}: {\n  baseUrl?: string;\n  path?: Record<string, unknown>;\n  query?: Record<string, unknown>;\n  querySerializer: QuerySerializer;\n  url: string;\n}) => {\n  const pathUrl = _url.startsWith(\"/\") ? _url : `/${_url}`;\n  let url = (baseUrl ?? \"\") + pathUrl;\n  if (path) {\n    url = defaultPathSerializer({ path, url });\n  }\n  let search = query ? querySerializer(query) : \"\";\n  if (search.startsWith(\"?\")) {\n    search = search.substring(1);\n  }\n  if (search) {\n    url += `?${search}`;\n  }\n  return url;\n};\n\nexport function getValidRequestBody(options: {\n  body?: unknown;\n  bodySerializer?: BodySerializer | null;\n  serializedBody?: unknown;\n}) {\n  const hasBody = options.body !== undefined;\n  const isSerializedBody = hasBody && options.bodySerializer;\n\n  if (isSerializedBody) {\n    if (\"serializedBody\" in options) {\n      const hasSerializedBody =\n        options.serializedBody !== undefined && options.serializedBody !== \"\";\n\n      return hasSerializedBody ? options.serializedBody : null;\n    }\n\n    // not all clients implement a serializedBody property (i.e. client-axios)\n    return options.body !== \"\" ? options.body : null;\n  }\n\n  // plain/text body\n  if (hasBody) {\n    return options.body;\n  }\n\n  // no body was provided\n  return undefined;\n}\n","// This file is auto-generated by @hey-api/openapi-ts\n\nexport type AuthToken = string | undefined;\n\nexport interface Auth {\n  /**\n   * Which part of the request do we use to send the auth?\n   *\n   * @default 'header'\n   */\n  in?: \"header\" | \"query\" | \"cookie\";\n  /**\n   * Header or query parameter name.\n   *\n   * @default 'Authorization'\n   */\n  name?: string;\n  scheme?: \"basic\" | \"bearer\";\n  type: \"apiKey\" | \"http\";\n}\n\nexport const getAuthToken = async (\n  auth: Auth,\n  callback: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken,\n): Promise<string | undefined> => {\n  const token =\n    typeof callback === \"function\" ? await callback(auth) : callback;\n\n  if (!token) {\n    return;\n  }\n\n  if (auth.scheme === \"bearer\") {\n    return `Bearer ${token}`;\n  }\n\n  if (auth.scheme === \"basic\") {\n    return `Basic ${btoa(token)}`;\n  }\n\n  return token;\n};\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport { getAuthToken } from \"../core/auth.gen\";\nimport type { QuerySerializerOptions } from \"../core/bodySerializer.gen\";\nimport { jsonBodySerializer } from \"../core/bodySerializer.gen\";\nimport {\n  serializeArrayParam,\n  serializeObjectParam,\n  serializePrimitiveParam,\n} from \"../core/pathSerializer.gen\";\nimport { getUrl } from \"../core/utils.gen\";\nimport type {\n  Client,\n  ClientOptions,\n  Config,\n  RequestOptions,\n} from \"./types.gen\";\n\nexport const createQuerySerializer = <T = unknown>({\n  parameters = {},\n  ...args\n}: QuerySerializerOptions = {}) => {\n  const querySerializer = (queryParams: T) => {\n    const search: string[] = [];\n    if (queryParams && typeof queryParams === \"object\") {\n      for (const name in queryParams) {\n        const value = queryParams[name];\n\n        if (value === undefined || value === null) {\n          continue;\n        }\n\n        const options = parameters[name] || args;\n\n        if (Array.isArray(value)) {\n          const serializedArray = serializeArrayParam({\n            allowReserved: options.allowReserved,\n            explode: true,\n            name,\n            style: \"form\",\n            value,\n            ...options.array,\n          });\n          if (serializedArray) search.push(serializedArray);\n        } else if (typeof value === \"object\") {\n          const serializedObject = serializeObjectParam({\n            allowReserved: options.allowReserved,\n            explode: true,\n            name,\n            style: \"deepObject\",\n            value: value as Record<string, unknown>,\n            ...options.object,\n          });\n          if (serializedObject) search.push(serializedObject);\n        } else {\n          const serializedPrimitive = serializePrimitiveParam({\n            allowReserved: options.allowReserved,\n            name,\n            value: value as string,\n          });\n          if (serializedPrimitive) search.push(serializedPrimitive);\n        }\n      }\n    }\n    return search.join(\"&\");\n  };\n  return querySerializer;\n};\n\n/**\n * Infers parseAs value from provided Content-Type header.\n */\nexport const getParseAs = (\n  contentType: string | null,\n): Exclude<Config[\"parseAs\"], \"auto\"> => {\n  if (!contentType) {\n    // If no Content-Type header is provided, the best we can do is return the raw response body,\n    // which is effectively the same as the 'stream' option.\n    return \"stream\";\n  }\n\n  const cleanContent = contentType.split(\";\")[0]?.trim();\n\n  if (!cleanContent) {\n    return;\n  }\n\n  if (\n    cleanContent.startsWith(\"application/json\") ||\n    cleanContent.endsWith(\"+json\")\n  ) {\n    return \"json\";\n  }\n\n  if (cleanContent === \"multipart/form-data\") {\n    return \"formData\";\n  }\n\n  if (\n    [\"application/\", \"audio/\", \"image/\", \"video/\"].some((type) =>\n      cleanContent.startsWith(type),\n    )\n  ) {\n    return \"blob\";\n  }\n\n  if (cleanContent.startsWith(\"text/\")) {\n    return \"text\";\n  }\n\n  return;\n};\n\nconst checkForExistence = (\n  options: Pick<RequestOptions, \"auth\" | \"query\"> & {\n    headers: Headers;\n  },\n  name?: string,\n): boolean => {\n  if (!name) {\n    return false;\n  }\n  if (\n    options.headers.has(name) ||\n    options.query?.[name] ||\n    options.headers.get(\"Cookie\")?.includes(`${name}=`)\n  ) {\n    return true;\n  }\n  return false;\n};\n\nexport const setAuthParams = async ({\n  security,\n  ...options\n}: Pick<Required<RequestOptions>, \"security\"> &\n  Pick<RequestOptions, \"auth\" | \"query\"> & {\n    headers: Headers;\n  }) => {\n  for (const auth of security) {\n    if (checkForExistence(options, auth.name)) {\n      continue;\n    }\n\n    const token = await getAuthToken(auth, options.auth);\n\n    if (!token) {\n      continue;\n    }\n\n    const name = auth.name ?? \"Authorization\";\n\n    switch (auth.in) {\n      case \"query\":\n        if (!options.query) {\n          options.query = {};\n        }\n        options.query[name] = token;\n        break;\n      case \"cookie\":\n        options.headers.append(\"Cookie\", `${name}=${token}`);\n        break;\n      case \"header\":\n      default:\n        options.headers.set(name, token);\n        break;\n    }\n  }\n};\n\nexport const buildUrl: Client[\"buildUrl\"] = (options) =>\n  getUrl({\n    baseUrl: options.baseUrl as string,\n    path: options.path,\n    query: options.query,\n    querySerializer:\n      typeof options.querySerializer === \"function\"\n        ? options.querySerializer\n        : createQuerySerializer(options.querySerializer),\n    url: options.url,\n  });\n\nexport const mergeConfigs = (a: Config, b: Config): Config => {\n  const config = { ...a, ...b };\n  if (config.baseUrl?.endsWith(\"/\")) {\n    config.baseUrl = config.baseUrl.substring(0, config.baseUrl.length - 1);\n  }\n  config.headers = mergeHeaders(a.headers, b.headers);\n  return config;\n};\n\nconst headersEntries = (headers: Headers): Array<[string, string]> => {\n  const entries: Array<[string, string]> = [];\n  headers.forEach((value, key) => {\n    entries.push([key, value]);\n  });\n  return entries;\n};\n\nexport const mergeHeaders = (\n  ...headers: Array<Required<Config>[\"headers\"] | undefined>\n): Headers => {\n  const mergedHeaders = new Headers();\n  for (const header of headers) {\n    if (!header) {\n      continue;\n    }\n\n    const iterator =\n      header instanceof Headers\n        ? headersEntries(header)\n        : Object.entries(header);\n\n    for (const [key, value] of iterator) {\n      if (value === null) {\n        mergedHeaders.delete(key);\n      } else if (Array.isArray(value)) {\n        for (const v of value) {\n          mergedHeaders.append(key, v as string);\n        }\n      } else if (value !== undefined) {\n        // assume object headers are meant to be JSON stringified, i.e. their\n        // content value in OpenAPI specification is 'application/json'\n        mergedHeaders.set(\n          key,\n          typeof value === \"object\" ? JSON.stringify(value) : (value as string),\n        );\n      }\n    }\n  }\n  return mergedHeaders;\n};\n\ntype ErrInterceptor<Err, Res, Req, Options> = (\n  error: Err,\n  response: Res,\n  request: Req,\n  options: Options,\n) => Err | Promise<Err>;\n\ntype ReqInterceptor<Req, Options> = (\n  request: Req,\n  options: Options,\n) => Req | Promise<Req>;\n\ntype ResInterceptor<Res, Req, Options> = (\n  response: Res,\n  request: Req,\n  options: Options,\n) => Res | Promise<Res>;\n\nclass Interceptors<Interceptor> {\n  fns: Array<Interceptor | null> = [];\n\n  clear(): void {\n    this.fns = [];\n  }\n\n  eject(id: number | Interceptor): void {\n    const index = this.getInterceptorIndex(id);\n    if (this.fns[index]) {\n      this.fns[index] = null;\n    }\n  }\n\n  exists(id: number | Interceptor): boolean {\n    const index = this.getInterceptorIndex(id);\n    return Boolean(this.fns[index]);\n  }\n\n  getInterceptorIndex(id: number | Interceptor): number {\n    if (typeof id === \"number\") {\n      return this.fns[id] ? id : -1;\n    }\n    return this.fns.indexOf(id);\n  }\n\n  update(\n    id: number | Interceptor,\n    fn: Interceptor,\n  ): number | Interceptor | false {\n    const index = this.getInterceptorIndex(id);\n    if (this.fns[index]) {\n      this.fns[index] = fn;\n      return id;\n    }\n    return false;\n  }\n\n  use(fn: Interceptor): number {\n    this.fns.push(fn);\n    return this.fns.length - 1;\n  }\n}\n\nexport interface Middleware<Req, Res, Err, Options> {\n  error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;\n  request: Interceptors<ReqInterceptor<Req, Options>>;\n  response: Interceptors<ResInterceptor<Res, Req, Options>>;\n}\n\nexport const createInterceptors = <Req, Res, Err, Options>(): Middleware<\n  Req,\n  Res,\n  Err,\n  Options\n> => ({\n  error: new Interceptors<ErrInterceptor<Err, Res, Req, Options>>(),\n  request: new Interceptors<ReqInterceptor<Req, Options>>(),\n  response: new Interceptors<ResInterceptor<Res, Req, Options>>(),\n});\n\nconst defaultQuerySerializer = createQuerySerializer({\n  allowReserved: false,\n  array: {\n    explode: true,\n    style: \"form\",\n  },\n  object: {\n    explode: true,\n    style: \"deepObject\",\n  },\n});\n\nconst defaultHeaders = {\n  \"Content-Type\": \"application/json\",\n};\n\nexport const createConfig = <T extends ClientOptions = ClientOptions>(\n  override: Config<Omit<ClientOptions, keyof T> & T> = {},\n): Config<Omit<ClientOptions, keyof T> & T> => ({\n  ...jsonBodySerializer,\n  headers: defaultHeaders,\n  parseAs: \"auto\",\n  querySerializer: defaultQuerySerializer,\n  ...override,\n});\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport { createSseClient } from \"../core/serverSentEvents.gen\";\nimport type { HttpMethod } from \"../core/types.gen\";\nimport { getValidRequestBody } from \"../core/utils.gen\";\nimport type {\n  Client,\n  Config,\n  RequestOptions,\n  ResolvedRequestOptions,\n} from \"./types.gen\";\nimport {\n  buildUrl,\n  createConfig,\n  createInterceptors,\n  getParseAs,\n  mergeConfigs,\n  mergeHeaders,\n  setAuthParams,\n} from \"./utils.gen\";\n\ntype ReqInit = Omit<RequestInit, \"body\" | \"headers\"> & {\n  body?: any;\n  headers: ReturnType<typeof mergeHeaders>;\n};\n\nexport const createClient = (config: Config = {}): Client => {\n  let _config = mergeConfigs(createConfig(), config);\n\n  const getConfig = (): Config => ({ ..._config });\n\n  const setConfig = (config: Config): Config => {\n    _config = mergeConfigs(_config, config);\n    return getConfig();\n  };\n\n  const interceptors = createInterceptors<\n    Request,\n    Response,\n    unknown,\n    ResolvedRequestOptions\n  >();\n\n  const beforeRequest = async (options: RequestOptions) => {\n    const opts = {\n      ..._config,\n      ...options,\n      fetch: options.fetch ?? _config.fetch ?? globalThis.fetch,\n      headers: mergeHeaders(_config.headers, options.headers),\n      serializedBody: undefined,\n    };\n\n    if (opts.security) {\n      await setAuthParams({\n        ...opts,\n        security: opts.security,\n      });\n    }\n\n    if (opts.requestValidator) {\n      await opts.requestValidator(opts);\n    }\n\n    if (opts.body !== undefined && opts.bodySerializer) {\n      opts.serializedBody = opts.bodySerializer(opts.body);\n    }\n\n    // remove Content-Type header if body is empty to avoid sending invalid requests\n    if (opts.body === undefined || opts.serializedBody === \"\") {\n      opts.headers.delete(\"Content-Type\");\n    }\n\n    const url = buildUrl(opts);\n\n    return { opts, url };\n  };\n\n  const request: Client[\"request\"] = async (options) => {\n    // @ts-expect-error\n    const { opts, url } = await beforeRequest(options);\n    const requestInit: ReqInit = {\n      redirect: \"follow\",\n      ...opts,\n      body: getValidRequestBody(opts),\n    };\n\n    let request = new Request(url, requestInit);\n\n    for (const fn of interceptors.request.fns) {\n      if (fn) {\n        request = await fn(request, opts);\n      }\n    }\n\n    // fetch must be assigned here, otherwise it would throw the error:\n    // TypeError: Failed to execute 'fetch' on 'Window': Illegal invocation\n    const _fetch = opts.fetch!;\n    let response: Response;\n\n    try {\n      response = await _fetch(request);\n    } catch (error) {\n      // Handle fetch exceptions (AbortError, network errors, etc.)\n      let finalError = error;\n\n      for (const fn of interceptors.error.fns) {\n        if (fn) {\n          finalError = (await fn(\n            error,\n            undefined as any,\n            request,\n            opts,\n          )) as unknown;\n        }\n      }\n\n      finalError = finalError || ({} as unknown);\n\n      if (opts.throwOnError) {\n        throw finalError;\n      }\n\n      // Return error response\n      return opts.responseStyle === \"data\"\n        ? undefined\n        : {\n            error: finalError,\n            request,\n            response: undefined as any,\n          };\n    }\n\n    for (const fn of interceptors.response.fns) {\n      if (fn) {\n        response = await fn(response, request, opts);\n      }\n    }\n\n    const result = {\n      request,\n      response,\n    };\n\n    if (response.ok) {\n      const parseAs =\n        (opts.parseAs === \"auto\"\n          ? getParseAs(response.headers.get(\"Content-Type\"))\n          : opts.parseAs) ?? \"json\";\n\n      if (\n        response.status === 204 ||\n        response.headers.get(\"Content-Length\") === \"0\"\n      ) {\n        let emptyData: any;\n        switch (parseAs) {\n          case \"arrayBuffer\":\n          case \"blob\":\n          case \"text\":\n            emptyData = await response[parseAs]();\n            break;\n          case \"formData\":\n            emptyData = new FormData();\n            break;\n          case \"stream\":\n            emptyData = response.body;\n            break;\n          case \"json\":\n          default:\n            emptyData = {};\n            break;\n        }\n        return opts.responseStyle === \"data\"\n          ? emptyData\n          : {\n              data: emptyData,\n              ...result,\n            };\n      }\n\n      let data: any;\n      switch (parseAs) {\n        case \"arrayBuffer\":\n        case \"blob\":\n        case \"formData\":\n        case \"json\":\n        case \"text\":\n          data = await response[parseAs]();\n          break;\n        case \"stream\":\n          return opts.responseStyle === \"data\"\n            ? response.body\n            : {\n                data: response.body,\n                ...result,\n              };\n      }\n\n      if (parseAs === \"json\") {\n        if (opts.responseValidator) {\n          await opts.responseValidator(data);\n        }\n\n        if (opts.responseTransformer) {\n          data = await opts.responseTransformer(data);\n        }\n      }\n\n      return opts.responseStyle === \"data\"\n        ? data\n        : {\n            data,\n            ...result,\n          };\n    }\n\n    const textError = await response.text();\n    let jsonError: unknown;\n\n    try {\n      jsonError = JSON.parse(textError);\n    } catch {\n      // noop\n    }\n\n    const error = jsonError ?? textError;\n    let finalError = error;\n\n    for (const fn of interceptors.error.fns) {\n      if (fn) {\n        finalError = (await fn(error, response, request, opts)) as string;\n      }\n    }\n\n    finalError = finalError || ({} as string);\n\n    if (opts.throwOnError) {\n      throw finalError;\n    }\n\n    // TODO: we probably want to return error and improve types\n    return opts.responseStyle === \"data\"\n      ? undefined\n      : {\n          error: finalError,\n          ...result,\n        };\n  };\n\n  const makeMethodFn =\n    (method: Uppercase<HttpMethod>) => (options: RequestOptions) =>\n      request({ ...options, method });\n\n  const makeSseFn =\n    (method: Uppercase<HttpMethod>) => async (options: RequestOptions) => {\n      const { opts, url } = await beforeRequest(options);\n      return createSseClient({\n        ...opts,\n        body: opts.body as BodyInit | null | undefined,\n        headers: opts.headers as unknown as Record<string, string>,\n        method,\n        onRequest: async (url, init) => {\n          let request = new Request(url, init);\n          for (const fn of interceptors.request.fns) {\n            if (fn) {\n              request = await fn(request, opts);\n            }\n          }\n          return request;\n        },\n        url,\n      });\n    };\n\n  return {\n    buildUrl,\n    connect: makeMethodFn(\"CONNECT\"),\n    delete: makeMethodFn(\"DELETE\"),\n    get: makeMethodFn(\"GET\"),\n    getConfig,\n    head: makeMethodFn(\"HEAD\"),\n    interceptors,\n    options: makeMethodFn(\"OPTIONS\"),\n    patch: makeMethodFn(\"PATCH\"),\n    post: makeMethodFn(\"POST\"),\n    put: makeMethodFn(\"PUT\"),\n    request,\n    setConfig,\n    sse: {\n      connect: makeSseFn(\"CONNECT\"),\n      delete: makeSseFn(\"DELETE\"),\n      get: makeSseFn(\"GET\"),\n      head: makeSseFn(\"HEAD\"),\n      options: makeSseFn(\"OPTIONS\"),\n      patch: makeSseFn(\"PATCH\"),\n      post: makeSseFn(\"POST\"),\n      put: makeSseFn(\"PUT\"),\n      trace: makeSseFn(\"TRACE\"),\n    },\n    trace: makeMethodFn(\"TRACE\"),\n  } as Client;\n};\n","/** SDK version — updated automatically by mix update.sdks */\nexport const SDK_VERSION = \"0.15.2\";\n\n/** Default API version sent in every request — updated automatically by mix update.sdks */\nexport const DEFAULT_API_VERSION = \"2026-05-13\";\n","import { createClient, createConfig } from \"./_internal/client/index\";\nimport type { Client } from \"./_internal/client/index\";\n\n/** SDK version and default API version — sourced from generated version.ts */\nimport { SDK_VERSION, DEFAULT_API_VERSION } from \"./version\";\nexport { SDK_VERSION, DEFAULT_API_VERSION };\n\nexport interface BaseClientConfig {\n  /** Base URL of the GPT Platform API */\n  baseUrl?: string;\n  /** User JWT token (Bearer auth) */\n  token?: string;\n  /** Application API key (x-application-key header) */\n  apiKey?: string;\n  /**\n   * Application UUID for use in API call body attributes (e.g., application_id\n   * when creating plans, agents, or other application-scoped resources).\n   * NOT sent as a header — the server identifies the application from the API key.\n   */\n  applicationId?: string;\n  /**\n   * API version date to use for requests (e.g., \"2025-12-03\").\n   * Defaults to the version this SDK was built against.\n   * Pin this to a specific date to prevent breaking changes\n   * when upgrading the SDK.\n   */\n  apiVersion?: string;\n  /**\n   * Default workspace ID appended as `?workspace_id=` to every request.\n   * Use for server-side operations scoped to a specific workspace.\n   */\n  workspaceId?: string;\n}\n\nexport interface RequestOptions {\n  /** AbortSignal for cancellation */\n  signal?: AbortSignal;\n  /** Idempotency key override */\n  idempotencyKey?: string;\n  /** Additional headers for this request */\n  headers?: Record<string, string>;\n}\n\n/**\n * Check if a URL is considered secure for transmitting credentials.\n * Localhost and 127.0.0.1 are allowed for development.\n */\nfunction isSecureUrl(url: string): boolean {\n  try {\n    const parsed = new URL(url);\n    if (parsed.protocol === \"https:\") return true;\n    if (parsed.hostname === \"localhost\" || parsed.hostname === \"127.0.0.1\")\n      return true;\n    return false;\n  } catch {\n    return false;\n  }\n}\n\nexport abstract class BaseClient {\n  protected config: BaseClientConfig;\n\n  /** Per-instance HTTP client — isolated from all other BaseClient instances */\n  protected clientInstance: Client;\n\n  /** The effective API version used by this client instance */\n  public readonly apiVersion: string;\n\n  constructor(config: BaseClientConfig = {}) {\n    this.config = config;\n    this.apiVersion = config.apiVersion ?? DEFAULT_API_VERSION;\n\n    // Security: Warn if using non-HTTPS URL in non-localhost environment\n    if (config.baseUrl && !isSecureUrl(config.baseUrl)) {\n      console.warn(\n        \"[GPT Platform SDK] Warning: Using non-HTTPS URL. \" +\n          \"Credentials may be transmitted insecurely. \" +\n          \"Use HTTPS in production environments.\",\n      );\n    }\n\n    // Create an isolated client instance — not the module-level singleton.\n    // This prevents multiple GptAdmin instances from sharing interceptor lists\n    // or overwriting each other's baseUrl configuration.\n    const clientConfig: Record<string, unknown> = {};\n    if (config.baseUrl) clientConfig[\"baseUrl\"] = config.baseUrl;\n\n    this.clientInstance = createClient(createConfig(clientConfig));\n\n    this.clientInstance.interceptors.request.use((req) => {\n      // Security: Verify HTTPS before attaching credentials\n      const requestUrl = req.url || config.baseUrl || \"\";\n      if ((config.apiKey || config.token) && !isSecureUrl(requestUrl)) {\n        console.warn(\n          \"[GPT Platform SDK] Warning: Sending credentials over non-HTTPS connection.\",\n        );\n      }\n\n      req.headers.set(\n        \"Accept\",\n        `application/vnd.api+json; version=${this.apiVersion}`,\n      );\n      req.headers.set(\"Content-Type\", \"application/vnd.api+json\");\n\n      if (config.apiKey) {\n        req.headers.set(\"x-application-key\", config.apiKey);\n      }\n      if (config.token) {\n        req.headers.set(\"Authorization\", `Bearer ${config.token}`);\n      }\n\n      // Workspace ID query parameter\n      if (this.config.workspaceId) {\n        const url = new URL(req.url);\n        if (!url.searchParams.has(\"workspace_id\")) {\n          url.searchParams.set(\"workspace_id\", this.config.workspaceId);\n          req = new Request(url.toString(), req);\n        }\n      }\n\n      return req;\n    });\n  }\n\n  protected async requestWithRetry<T>(fn: () => Promise<T>): Promise<T> {\n    return fn();\n  }\n\n  protected unwrap<T>(resource: unknown): T {\n    if (!resource) return null as T;\n    const obj = resource as Record<string, unknown>;\n\n    // Unwrap action-result envelope from the NormalizeJsonApiResponse plug:\n    // { type: \"action-result\", attributes: { ... } } → { ... }\n    if (\n      obj.type === \"action-result\" &&\n      obj.attributes &&\n      typeof obj.attributes === \"object\"\n    ) {\n      return obj.attributes as T;\n    }\n\n    // If the resource is wrapped in { data: ... }, extract it.\n    if (obj.data && !obj.id && !obj.type) {\n      return this.unwrap<T>(obj.data as T);\n    }\n    return resource as T;\n  }\n\n  protected getHeaders(): Record<string, string> {\n    const headers: Record<string, string> = {};\n    if (this.config.apiKey) {\n      headers[\"x-application-key\"] = this.config.apiKey;\n    }\n    if (this.config.token) {\n      headers[\"Authorization\"] = `Bearer ${this.config.token}`;\n    }\n    return headers;\n  }\n\n  /**\n   * Switch the workspace context for all subsequent requests.\n   */\n  public setWorkspaceId(workspaceId: string | undefined): void {\n    this.config = { ...this.config, workspaceId };\n  }\n\n  /**\n   * Get the current workspace ID, if set.\n   */\n  public getWorkspaceId(): string | undefined {\n    return this.config.workspaceId;\n  }\n}\n","/**\n * Base error class for all GPT Platform SDK errors\n */\nexport class GptCoreError extends Error {\n  public readonly name: string;\n  public readonly statusCode?: number;\n  public readonly code?: string;\n  public readonly requestId?: string;\n  public readonly headers?: Record<string, string>;\n  public readonly body?: unknown;\n  public cause?: Error;\n\n  constructor(\n    message: string,\n    options?: {\n      statusCode?: number;\n      code?: string;\n      requestId?: string;\n      headers?: Record<string, string>;\n      body?: unknown;\n      cause?: Error;\n    },\n  ) {\n    super(message);\n    this.name = this.constructor.name;\n    this.statusCode = options?.statusCode;\n    this.code = options?.code;\n    this.requestId = options?.requestId;\n    this.headers = options?.headers;\n    this.body = options?.body;\n    this.cause = options?.cause;\n\n    // Maintains proper stack trace for where our error was thrown (only available on V8)\n    if (Error.captureStackTrace) {\n      Error.captureStackTrace(this, this.constructor);\n    }\n  }\n}\n\n/**\n * Authentication errors (401)\n */\nexport class AuthenticationError extends GptCoreError {\n  constructor(\n    message = \"Authentication failed\",\n    options?: ConstructorParameters<typeof GptCoreError>[1],\n  ) {\n    super(message, { statusCode: 401, ...options });\n  }\n}\n\n/**\n * Authorization/Permission errors (403)\n */\nexport class AuthorizationError extends GptCoreError {\n  constructor(\n    message = \"Permission denied\",\n    options?: ConstructorParameters<typeof GptCoreError>[1],\n  ) {\n    super(message, { statusCode: 403, ...options });\n  }\n}\n\n/**\n * Resource not found errors (404)\n */\nexport class NotFoundError extends GptCoreError {\n  constructor(\n    message = \"Resource not found\",\n    options?: ConstructorParameters<typeof GptCoreError>[1],\n  ) {\n    super(message, { statusCode: 404, ...options });\n  }\n}\n\n/**\n * Validation errors (400, 422)\n */\nexport class ValidationError extends GptCoreError {\n  public readonly errors?: Array<{\n    field?: string;\n    message: string;\n  }>;\n\n  constructor(\n    message = \"Validation failed\",\n    errors?: Array<{ field?: string; message: string }>,\n    options?: ConstructorParameters<typeof GptCoreError>[1],\n  ) {\n    super(message, { statusCode: 422, ...options });\n    this.errors = errors;\n  }\n}\n\n/**\n * Rate limiting errors (429)\n */\nexport class RateLimitError extends GptCoreError {\n  public readonly retryAfter?: number;\n\n  constructor(\n    message = \"Rate limit exceeded\",\n    retryAfter?: number,\n    options?: ConstructorParameters<typeof GptCoreError>[1],\n  ) {\n    super(message, { statusCode: 429, ...options });\n    this.retryAfter = retryAfter;\n  }\n}\n\n/**\n * Network/connection errors\n */\nexport class NetworkError extends GptCoreError {\n  constructor(\n    message = \"Network request failed\",\n    options?: ConstructorParameters<typeof GptCoreError>[1],\n  ) {\n    super(message, options);\n  }\n}\n\n/**\n * Timeout errors\n */\nexport class TimeoutError extends GptCoreError {\n  constructor(\n    message = \"Request timeout\",\n    options?: ConstructorParameters<typeof GptCoreError>[1],\n  ) {\n    super(message, options);\n  }\n}\n\n/**\n * Server errors (500+)\n */\nexport class ServerError extends GptCoreError {\n  constructor(\n    message = \"Internal server error\",\n    options?: ConstructorParameters<typeof GptCoreError>[1],\n  ) {\n    super(message, { statusCode: 500, ...options });\n  }\n}\n\n/**\n * Parse error response and throw appropriate error class\n */\nexport function handleApiError(error: unknown): never {\n  const err = error as Record<string, unknown>;\n\n  // Extract error details from response - handle generated client structure\n  const response = (err?.response || err) as Record<string, unknown>;\n  let statusCode = (response?.status || err?.status || err?.statusCode) as\n    | number\n    | undefined;\n  const headers = (response?.headers || err?.headers) as\n    | Headers\n    | Record<string, string>\n    | null\n    | undefined;\n  const requestId = ((headers as Headers)?.get?.(\"x-request-id\") ||\n    (headers as Record<string, string>)?.[\"x-request-id\"]) as\n    | string\n    | undefined;\n\n  // The body might be in different locations depending on the error structure\n  const body = (response?.body ||\n    response?.data ||\n    err?.body ||\n    err?.data ||\n    err) as Record<string, unknown> | string | undefined;\n\n  // Try to extract error message from JSON:API error format\n  let message = \"An error occurred\";\n  let errors: Array<{ field?: string; message: string }> | undefined;\n\n  const bodyObj = body as Record<string, unknown> | undefined;\n  if (bodyObj?.errors && Array.isArray(bodyObj.errors)) {\n    // JSON:API error format (errors is an array)\n    const firstError = bodyObj.errors[0] as\n      | { title?: string; detail?: string; status?: string }\n      | undefined;\n    message = firstError?.title || firstError?.detail || message;\n    errors = (\n      bodyObj.errors as Array<{\n        source?: { pointer?: string };\n        detail?: string;\n        title?: string;\n      }>\n    ).map((e) => ({\n      field: e.source?.pointer?.split(\"/\").pop(),\n      message: e.detail || e.title || \"Unknown error\",\n    }));\n\n    // Recover HTTP status from JSON:API per-error \"status\" field\n    if (!statusCode && firstError?.status) {\n      const parsed = parseInt(firstError.status, 10);\n      if (!isNaN(parsed)) statusCode = parsed;\n    }\n  } else if (\n    bodyObj?.errors &&\n    typeof bodyObj.errors === \"object\" &&\n    !Array.isArray(bodyObj.errors)\n  ) {\n    // Non-standard error format: { errors: { detail: \"...\" } }\n    const errObj = bodyObj.errors as Record<string, unknown>;\n    message = (errObj.detail as string) || (errObj.title as string) || message;\n  } else if (bodyObj?.message) {\n    message = bodyObj.message as string;\n  } else if (typeof body === \"string\") {\n    message = body;\n  } else if (err?.message) {\n    message = err.message as string;\n  }\n\n  // Security: Filter sensitive headers to prevent information disclosure\n  const sensitiveHeaderPatterns = [\n    \"set-cookie\",\n    \"authorization\",\n    \"x-application-key\",\n    \"cookie\",\n    \"x-forwarded-for\",\n    \"x-real-ip\",\n  ];\n\n  const filterSensitiveHeaders = (\n    hdrs: Headers | Record<string, string> | null | undefined,\n  ): Record<string, string> | undefined => {\n    if (!hdrs) return undefined;\n\n    const entries: [string, string][] =\n      hdrs instanceof Headers\n        ? Array.from(hdrs.entries())\n        : Object.entries(hdrs);\n\n    const filtered = entries.filter(([key]) => {\n      const lowerKey = key.toLowerCase();\n      return !sensitiveHeaderPatterns.some((pattern) =>\n        lowerKey.includes(pattern),\n      );\n    });\n\n    return filtered.length > 0 ? Object.fromEntries(filtered) : undefined;\n  };\n\n  const errorOptions = {\n    statusCode,\n    requestId,\n    headers: filterSensitiveHeaders(headers),\n    body,\n    cause: error instanceof Error ? error : undefined,\n  };\n\n  // Throw appropriate error based on status code\n  switch (statusCode) {\n    case 401:\n      throw new AuthenticationError(message, errorOptions);\n    case 403:\n      throw new AuthorizationError(message, errorOptions);\n    case 404:\n      throw new NotFoundError(message, errorOptions);\n    case 400:\n    case 422:\n      throw new ValidationError(message, errors, errorOptions);\n    case 429: {\n      const retryAfter =\n        (headers as Headers)?.get?.(\"retry-after\") ||\n        (headers as Record<string, string>)?.[\"retry-after\"];\n      throw new RateLimitError(\n        message,\n        retryAfter ? parseInt(retryAfter, 10) : undefined,\n        errorOptions,\n      );\n    }\n    case 500:\n    case 502:\n    case 503:\n    case 504:\n      throw new ServerError(message, errorOptions);\n    default:\n      if (statusCode && statusCode >= 400) {\n        throw new GptCoreError(message, errorOptions);\n      }\n      // Network/connection errors\n      throw new NetworkError(message, errorOptions);\n  }\n}\n","import { GptCoreError, TimeoutError } from \"./errors\";\n\n/**\n * Security defaults for streaming\n */\nconst DEFAULT_STREAM_TIMEOUT = 300000; // 5 minutes\nconst DEFAULT_MAX_CHUNKS = 10000;\nconst DEFAULT_MAX_BUFFER_SIZE = 10 * 1024 * 1024; // 10MB\n\n/**\n * Options for streaming requests\n */\nexport interface StreamOptions {\n  signal?: AbortSignal;\n  onError?: (error: Error) => void;\n  timeout?: number;\n  maxChunks?: number;\n  maxBufferSize?: number;\n}\n\n/**\n * Events emitted by thread message streaming.\n *\n * For threads backed by an agent, the stream emits the full execution event\n * lifecycle including tool calls and results. For RAG threads (no agent),\n * only `content`/`token`, `done`, and `error` events are emitted.\n */\nexport type StreamMessageChunk =\n  | StreamTokenEvent\n  | StreamToolCallEvent\n  | StreamToolResultEvent\n  | StreamIterationCompleteEvent\n  | StreamApprovalRequiredEvent\n  | StreamDoneEvent\n  | StreamErrorEvent;\n\n/**\n * Incremental token from LLM streaming output.\n * `type: \"content\"` is a backward-compatible alias — new consumers should match on `\"token\"`.\n */\nexport interface StreamTokenEvent {\n  type: \"token\" | \"content\";\n  content?: string;\n}\n\n/** Tool invocation started (agent-backed threads only). */\nexport interface StreamToolCallEvent {\n  type: \"tool_call\";\n  data: { name: string; arguments: Record<string, unknown> };\n}\n\n/** Tool invocation completed (agent-backed threads only). */\nexport interface StreamToolResultEvent {\n  type: \"tool_result\";\n  data: { name: string; summary: string };\n}\n\n/** LLM loop iteration completed (agent-backed threads only). */\nexport interface StreamIterationCompleteEvent {\n  type: \"iteration_complete\";\n  data: { iteration: number; tokens: number };\n}\n\n/** Human-in-the-loop approval required (agent-backed threads only). */\nexport interface StreamApprovalRequiredEvent {\n  type: \"approval_required\";\n  data: {\n    tool_name: string;\n    arguments: Record<string, unknown>;\n    classification: string;\n  };\n}\n\n/** Metadata included with stream completion events. */\nexport interface StreamDoneMetadata {\n  thread_id?: string;\n  execution_id?: string;\n  total_tokens?: number;\n  [key: string]: unknown;\n}\n\n/** Stream completed successfully. */\nexport interface StreamDoneEvent {\n  type: \"done\";\n  content?: string;\n  error?: string;\n  metadata?: StreamDoneMetadata;\n}\n\n/** Stream error. */\nexport interface StreamErrorEvent {\n  type: \"error\";\n  content?: string;\n  error?: string;\n}\n\n/**\n * Parse Server-Sent Events (SSE) stream into typed chunks.\n * Security: Enforces timeout, chunk count, and buffer size limits.\n */\nexport async function* streamSSE<T = unknown>(\n  response: Response,\n  options: StreamOptions = {},\n): AsyncIterableIterator<T> {\n  if (!response.body) {\n    throw new GptCoreError(\"Response body is null\", { code: \"stream_error\" });\n  }\n\n  const reader = response.body.getReader();\n  const decoder = new TextDecoder();\n  let buffer = \"\";\n\n  const timeout = options.timeout ?? DEFAULT_STREAM_TIMEOUT;\n  const maxChunks = options.maxChunks ?? DEFAULT_MAX_CHUNKS;\n  const maxBufferSize = options.maxBufferSize ?? DEFAULT_MAX_BUFFER_SIZE;\n\n  const startTime = Date.now();\n  let chunkCount = 0;\n  let bufferSize = 0;\n\n  try {\n    while (true) {\n      const elapsed = Date.now() - startTime;\n      if (elapsed > timeout) {\n        reader.cancel();\n        throw new TimeoutError(\n          `Stream timeout exceeded after ${elapsed}ms (limit: ${timeout}ms)`,\n        );\n      }\n\n      if (chunkCount >= maxChunks) {\n        reader.cancel();\n        throw new GptCoreError(`Maximum chunk limit exceeded (${maxChunks})`, {\n          code: \"stream_limit_exceeded\",\n        });\n      }\n\n      const { done, value } = await reader.read();\n\n      if (done) break;\n\n      if (options.signal?.aborted) {\n        reader.cancel();\n        throw new Error(\"Stream aborted\");\n      }\n\n      bufferSize += value.length;\n      if (bufferSize > maxBufferSize) {\n        reader.cancel();\n        throw new GptCoreError(\n          `Stream buffer size exceeded (${bufferSize} bytes, limit: ${maxBufferSize})`,\n          { code: \"stream_limit_exceeded\" },\n        );\n      }\n\n      buffer += decoder.decode(value, { stream: true });\n      const lines = buffer.split(\"\\n\");\n      buffer = lines.pop() || \"\";\n\n      for (const line of lines) {\n        if (line.startsWith(\"data: \")) {\n          const data = line.slice(6);\n          if (data === \"[DONE]\" || data.trim() === \"\") continue;\n\n          chunkCount++;\n\n          try {\n            yield JSON.parse(data) as T;\n          } catch {\n            yield {\n              type: \"error\",\n              error: `Malformed SSE data: ${data.substring(0, 200)}`,\n            } as T;\n          }\n        }\n      }\n    }\n  } catch (error) {\n    if (options.onError) options.onError(error as Error);\n    throw error;\n  } finally {\n    reader.releaseLock();\n  }\n}\n\n/**\n * Parse streaming message response — stops on terminal events.\n */\nexport async function* streamMessage(\n  response: Response,\n  options: StreamOptions = {},\n): AsyncIterableIterator<StreamMessageChunk> {\n  for await (const chunk of streamSSE<StreamMessageChunk>(response, options)) {\n    yield chunk;\n    if (chunk.type === \"done\" || chunk.type === \"error\") break;\n  }\n}\n","import type { Client } from \"./_internal/client/index\";\nimport type { RequestOptions } from \"./base-client\";\nimport { handleApiError, ServerError, GptCoreError } from \"./errors\";\nimport {\n  streamMessage,\n  type StreamMessageChunk,\n  type StreamOptions,\n} from \"./streaming\";\nimport type { PaginatedResponse, PaginationLinks } from \"./pagination\";\n\n/**\n * Shape of API response envelope (from openapi-ts generated client)\n */\ninterface ApiResponseEnvelope {\n  data?: unknown;\n  links?: PaginationLinks;\n  meta?: Record<string, unknown>;\n  [key: string]: unknown;\n}\n\n/**\n * Response shape for list endpoints that return `{ data: T[], meta: M }`.\n * Used by rawGetList to preserve pagination metadata from custom controllers.\n */\nexport interface ListResponse<T, M = { count: number }> {\n  data: T[];\n  meta: M;\n}\n\n/**\n * Shape of stream response from client.post with parseAs: 'stream'\n */\ninterface StreamResponseEnvelope {\n  data?: ReadableStream | Response;\n  response?: Response;\n  [key: string]: unknown;\n}\n\n/**\n * Build headers for SDK requests.\n * Merges base headers with per-request overrides and idempotency keys.\n */\nexport function buildHeaders(\n  getHeaders: () => Record<string, string>,\n  options?: RequestOptions,\n): Record<string, string> {\n  const headers: Record<string, string> = { ...getHeaders() };\n  if (options?.headers) {\n    Object.assign(headers, options.headers);\n  }\n  if (options?.idempotencyKey) {\n    headers[\"Idempotency-Key\"] = options.idempotencyKey;\n  }\n  return headers;\n}\n\n/**\n * Enrich an error from the hey-api client with the HTTP response status code.\n *\n * hey-api returns `{ error, request, response }` on non-2xx when throwOnError\n * is false. The raw methods destructure only `{ data, error }`, losing the\n * response object. Without the HTTP status, `handleApiError` can't classify\n * the error correctly (e.g., 404 becomes NetworkError instead of NotFoundError).\n */\nfunction enrichError(error: unknown, result: unknown): unknown {\n  if (\n    typeof error === \"object\" &&\n    error !== null &&\n    typeof result === \"object\" &&\n    result !== null\n  ) {\n    const res = (result as Record<string, unknown>).response;\n    if (res && typeof res === \"object\" && \"status\" in res) {\n      (error as Record<string, unknown>).statusCode = (\n        res as { status: number }\n      ).status;\n    }\n  }\n  return error;\n}\n\n/**\n * RequestBuilder provides a type-safe way to execute SDK requests\n * with consistent header merging, error handling, retry, and unwrapping.\n */\nexport class RequestBuilder {\n  constructor(\n    private clientInstance: Client,\n    private getHeaders: () => Record<string, string>,\n    private unwrap: <T>(d: unknown) => T,\n    private requestWithRetry: <T>(fn: () => Promise<T>) => Promise<T>,\n    private getBaseUrl: () => string | undefined = () => undefined,\n  ) {}\n\n  /**\n   * Assert that a baseUrl is configured on this client instance.\n   * Raw requests use relative URL paths that require a base URL to resolve.\n   * Without one, the fetch runtime throws an opaque \"Invalid URL\" error.\n   * @throws {Error} with a descriptive message when baseUrl is missing.\n   */\n  private assertBaseUrl(): void {\n    const url = this.getBaseUrl();\n    if (!url || url.trim() === \"\") {\n      throw new Error(\n        \"GptAdmin client is not initialized with a baseUrl. \" +\n          \"Pass baseUrl to the constructor: new GptAdmin({ baseUrl: 'https://api.example.com', apiKey: '...' })\",\n      );\n    }\n  }\n\n  /** Get auth headers for manual requests (used by streaming extensions) */\n  getRequestHeaders(): Record<string, string> {\n    return this.getHeaders();\n  }\n\n  /**\n   * Execute a generated SDK function with full middleware pipeline.\n   * Handles headers, retry, unwrapping, and error conversion.\n   */\n  async execute<TResponse>(\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    fn: (...args: any[]) => Promise<any>,\n    params: Record<string, unknown>,\n    options?: RequestOptions,\n  ): Promise<TResponse> {\n    const headers = buildHeaders(this.getHeaders, options);\n\n    try {\n      const result = await this.requestWithRetry(() =>\n        fn({\n          client: this.clientInstance,\n          headers,\n          ...params,\n          ...(options?.signal && { signal: options.signal }),\n        }),\n      );\n      const { data, error } = result as Record<string, unknown>;\n\n      if (error) {\n        throw enrichError(error, result);\n      }\n\n      return this.unwrap<TResponse>((data as Record<string, unknown>)?.data);\n    } catch (error) {\n      throw handleApiError(error);\n    }\n  }\n\n  /**\n   * Execute a delete operation that returns true on success.\n   */\n  async executeDelete(\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    fn: (...args: any[]) => Promise<any>,\n    params: Record<string, unknown>,\n    options?: RequestOptions,\n  ): Promise<true> {\n    const headers = buildHeaders(this.getHeaders, options);\n\n    try {\n      const result = await this.requestWithRetry(() =>\n        fn({\n          client: this.clientInstance,\n          headers,\n          ...params,\n          ...(options?.signal && { signal: options.signal }),\n        }),\n      );\n      const { error } = result as Record<string, unknown>;\n\n      if (error) {\n        throw enrichError(error, result);\n      }\n\n      return true;\n    } catch (error) {\n      throw handleApiError(error);\n    }\n  }\n\n  /**\n   * Execute a raw GET request to a custom (non-generated) endpoint.\n   * Used for endpoints implemented as custom Phoenix controllers.\n   */\n  async rawGet<TResponse>(\n    url: string,\n    options?: RequestOptions,\n  ): Promise<TResponse> {\n    this.assertBaseUrl();\n    const headers = buildHeaders(this.getHeaders, options);\n\n    try {\n      const result = await this.requestWithRetry(() =>\n        this.clientInstance.get({\n          url,\n          headers,\n          ...(options?.signal && { signal: options.signal }),\n        }),\n      );\n      const { data, error } = result as Record<string, unknown>;\n      if (error) {\n        throw handleApiError(enrichError(error, result));\n      }\n      return this.unwrap<TResponse>((data as Record<string, unknown>)?.data);\n    } catch (error) {\n      throw handleApiError(error);\n    }\n  }\n\n  /**\n   * Execute a raw GET request for list endpoints that return `{ data: T[], meta: M }`.\n   * Unlike rawGet which strips the envelope, this preserves pagination metadata.\n   * Used for custom controller endpoints that return paginated lists.\n   */\n  async rawGetList<T, M = { count: number }>(\n    url: string,\n    options?: RequestOptions,\n  ): Promise<ListResponse<T, M>> {\n    this.assertBaseUrl();\n    const headers = buildHeaders(this.getHeaders, options);\n\n    try {\n      const result = await this.requestWithRetry(() =>\n        this.clientInstance.get({\n          url,\n          headers,\n          ...(options?.signal && { signal: options.signal }),\n        }),\n      );\n      const { data, error } = result as Record<string, unknown>;\n      if (error) {\n        throw handleApiError(enrichError(error, result));\n      }\n      const envelope = data as ApiResponseEnvelope;\n      const items = this.unwrap<T[]>(envelope.data) || [];\n      return { data: items, meta: (envelope.meta ?? {}) as M };\n    } catch (error) {\n      throw handleApiError(error);\n    }\n  }\n\n  /**\n   * Execute a raw multipart/form-data POST request.\n   * Used for file upload endpoints (custom Phoenix controllers).\n   * Content-Type is omitted from headers so the browser sets the correct\n   * multipart boundary automatically from the FormData body.\n   */\n  async rawPostMultipart<TResponse>(\n    url: string,\n    body: FormData,\n    options?: RequestOptions,\n  ): Promise<TResponse> {\n    this.assertBaseUrl();\n    const headers = buildHeaders(this.getHeaders, options);\n    // Tell mergeHeaders to remove Content-Type so the runtime auto-detects\n    // multipart/form-data with the correct boundary from the FormData body.\n    // Setting null (not delete) is required — mergeHeaders treats null as\n    // \"delete this key\", while delete just leaves the default intact.\n    headers[\"Content-Type\"] = null as unknown as string;\n\n    const result = await this.requestWithRetry(() =>\n      this.clientInstance.post({\n        url,\n        headers,\n        body,\n        bodySerializer: null,\n        ...(options?.signal && { signal: options.signal }),\n      }),\n    );\n    const { data, error } = result as Record<string, unknown>;\n    if (error) {\n      throw handleApiError(enrichError(error, result));\n    }\n    // Custom endpoints return plain JSON (not JSON:API), so return data\n    // directly without unwrapping a nested `data` property.\n    return data as TResponse;\n  }\n\n  /**\n   * Execute a raw POST request to a custom (non-generated) endpoint.\n   * Used for endpoints implemented as custom Phoenix controllers.\n   */\n  async rawPost<TResponse>(\n    url: string,\n    body?: unknown,\n    options?: RequestOptions,\n  ): Promise<TResponse> {\n    this.assertBaseUrl();\n    const headers = buildHeaders(this.getHeaders, options);\n\n    try {\n      const result = await this.requestWithRetry(() =>\n        this.clientInstance.post({\n          url,\n          headers,\n          ...(body !== undefined && { body }),\n          ...(options?.signal && { signal: options.signal }),\n        }),\n      );\n      const { data, error } = result as Record<string, unknown>;\n      if (error) {\n        throw handleApiError(enrichError(error, result));\n      }\n      return this.unwrap<TResponse>((data as Record<string, unknown>)?.data);\n    } catch (error) {\n      throw handleApiError(error);\n    }\n  }\n\n  /**\n   * Execute a raw PATCH request to a custom (non-generated) endpoint.\n   * Used for endpoints implemented as custom Phoenix controllers.\n   */\n  async rawPatch<TResponse>(\n    url: string,\n    body?: unknown,\n    options?: RequestOptions,\n  ): Promise<TResponse> {\n    this.assertBaseUrl();\n    const headers = buildHeaders(this.getHeaders, options);\n\n    try {\n      const result = await this.requestWithRetry(() =>\n        this.clientInstance.patch({\n          url,\n          headers,\n          ...(body !== undefined && { body }),\n          ...(options?.signal && { signal: options.signal }),\n        }),\n      );\n      const { data, error } = result as Record<string, unknown>;\n      if (error) {\n        throw handleApiError(enrichError(error, result));\n      }\n      return this.unwrap<TResponse>((data as Record<string, unknown>)?.data);\n    } catch (error) {\n      throw handleApiError(error);\n    }\n  }\n\n  /**\n   * Execute a raw DELETE request to a custom (non-generated) endpoint.\n   */\n  async rawDelete<TResponse = void>(\n    url: string,\n    options?: RequestOptions,\n  ): Promise<TResponse> {\n    this.assertBaseUrl();\n    const headers = buildHeaders(this.getHeaders, options);\n\n    try {\n      const result = await this.requestWithRetry(() =>\n        this.clientInstance.delete({\n          url,\n          headers,\n          ...(options?.signal && { signal: options.signal }),\n        }),\n      );\n      const { data, error } = result as Record<string, unknown>;\n      if (error) {\n        throw handleApiError(enrichError(error, result));\n      }\n      return this.unwrap<TResponse>((data as Record<string, unknown>)?.data);\n    } catch (error) {\n      throw handleApiError(error);\n    }\n  }\n\n  /**\n   * Create a paginated fetcher function for listAll operations.\n   * Encapsulates the pattern of calling a generated SDK function with pagination params.\n   *\n   * @param fn - The generated SDK function (e.g., getAgents)\n   * @param queryBuilder - Function that builds the query object with page params\n   * @param options - Request options (headers, signal, etc.)\n   * @returns A fetcher function for use with paginateToArray\n   */\n  createPaginatedFetcher<T>(\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    fn: (...args: any[]) => Promise<any>,\n    queryBuilder: (page: number, pageSize: number) => Record<string, unknown>,\n    options?: RequestOptions,\n  ): (page: number, pageSize: number) => Promise<PaginatedResponse<T>> {\n    return async (\n      page: number,\n      pageSize: number,\n    ): Promise<PaginatedResponse<T>> => {\n      const headers = buildHeaders(this.getHeaders, options);\n      const result = await this.requestWithRetry(() =>\n        fn({\n          client: this.clientInstance,\n          headers,\n          ...(options?.signal && { signal: options.signal }),\n          ...queryBuilder(page, pageSize),\n        }),\n      );\n      const { data, error } = result as Record<string, unknown>;\n      if (error) {\n        throw handleApiError(enrichError(error, result));\n      }\n      const envelope = data as ApiResponseEnvelope;\n      const items = this.unwrap<T[]>(envelope.data) || [];\n      return { data: items, links: envelope.links };\n    };\n  }\n\n  /**\n   * Make a streaming POST request through the client instance,\n   * ensuring all interceptors (auth, events, API version, etc.) fire.\n   *\n   * Uses the client's `post()` method with `parseAs: 'stream'` so the\n   * request/response interceptors execute, then wraps the stream body\n   * into an SSE message iterator.\n   */\n  async streamRequest(\n    url: string,\n    body: unknown,\n    options?: RequestOptions,\n    streamOptions?: StreamOptions,\n  ): Promise<AsyncIterableIterator<StreamMessageChunk>> {\n    const headers = buildHeaders(this.getHeaders, options);\n    // Override Accept for SSE streaming\n    headers[\"Accept\"] = \"text/event-stream\";\n\n    const result = await this.clientInstance.post({\n      url,\n      headers,\n      body: JSON.stringify({\n        data: { type: \"chat-message\", attributes: body },\n      }),\n      parseAs: \"stream\",\n      ...(options?.signal && { signal: options.signal }),\n    });\n\n    // The result shape with default responseStyle 'fields' is { data, response }\n    const envelope = result as StreamResponseEnvelope;\n    const streamBody = envelope.data ?? result;\n    const response = envelope.response;\n\n    // If we got a response object, check status\n    if (response && !response.ok) {\n      throw new ServerError(`Stream request failed: ${response.status}`, {\n        statusCode: response.status,\n      });\n    }\n\n    // If the result is a ReadableStream, wrap it in a Response for streamMessage\n    if (streamBody instanceof ReadableStream) {\n      const syntheticResponse = new Response(streamBody, {\n        headers: { \"Content-Type\": \"text/event-stream\" },\n      });\n      return streamMessage(syntheticResponse, {\n        signal: options?.signal,\n        ...streamOptions,\n      });\n    }\n\n    // If we somehow got a Response back directly\n    if (streamBody instanceof Response) {\n      if (!streamBody.ok) {\n        throw new ServerError(`Stream request failed: ${streamBody.status}`, {\n          statusCode: streamBody.status,\n        });\n      }\n      return streamMessage(streamBody, {\n        signal: options?.signal,\n        ...streamOptions,\n      });\n    }\n\n    throw new GptCoreError(\"Unexpected stream response format\", {\n      code: \"stream_error\",\n    });\n  }\n\n  /**\n   * Make a streaming GET request through the client instance.\n   * Used for subscribing to SSE event streams (e.g., execution streaming).\n   */\n  async streamGetRequest(\n    url: string,\n    options?: RequestOptions,\n    streamOptions?: StreamOptions,\n  ): Promise<AsyncIterableIterator<StreamMessageChunk>> {\n    const headers = buildHeaders(this.getHeaders, options);\n    headers[\"Accept\"] = \"text/event-stream\";\n\n    const result = await this.clientInstance.get({\n      url,\n      headers,\n      parseAs: \"stream\",\n      ...(options?.signal && { signal: options.signal }),\n    });\n\n    const envelope = result as StreamResponseEnvelope;\n    const streamBody = envelope.data ?? result;\n    const response = envelope.response;\n\n    if (response && !response.ok) {\n      throw new ServerError(`Stream request failed: ${response.status}`, {\n        statusCode: response.status,\n      });\n    }\n\n    if (streamBody instanceof ReadableStream) {\n      const syntheticResponse = new Response(streamBody, {\n        headers: { \"Content-Type\": \"text/event-stream\" },\n      });\n      return streamMessage(syntheticResponse, {\n        signal: options?.signal,\n        ...streamOptions,\n      });\n    }\n\n    if (streamBody instanceof Response) {\n      if (!streamBody.ok) {\n        throw new ServerError(`Stream request failed: ${streamBody.status}`, {\n          statusCode: streamBody.status,\n        });\n      }\n      return streamMessage(streamBody, {\n        signal: options?.signal,\n        ...streamOptions,\n      });\n    }\n\n    throw new GptCoreError(\"Unexpected stream response format\", {\n      code: \"stream_error\",\n    });\n  }\n}\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport {\n  type ClientOptions,\n  type Config,\n  createClient,\n  createConfig,\n} from \"./client\";\nimport type { ClientOptions as ClientOptions2 } from \"./types.gen\";\n\n/**\n * The `createClientConfig()` function will be called on client initialization\n * and the returned object will become the client's initial configuration.\n *\n * You may want to initialize your client this way instead of calling\n * `setConfig()`. This is useful for example if you're using Next.js\n * to ensure your client always has the correct values.\n */\nexport type CreateClientConfig<T extends ClientOptions = ClientOptions2> = (\n  override?: Config<ClientOptions & T>,\n) => Config<Required<ClientOptions> & T>;\n\nexport const client = createClient(\n  createConfig<ClientOptions2>({ baseUrl: \"http://localhost:33333\" }),\n);\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Client, Options as Options2, TDataShape } from \"./client\";\nimport { client } from \"./client.gen\";\nimport type {\n  DeleteAdminAccessGrantsByIdData,\n  DeleteAdminAccessGrantsByIdErrors,\n  DeleteAdminAccessGrantsByIdResponses,\n  DeleteAdminAgentDeploymentsByIdData,\n  DeleteAdminAgentDeploymentsByIdErrors,\n  DeleteAdminAgentDeploymentsByIdResponses,\n  DeleteAdminAgentsByIdData,\n  DeleteAdminAgentsByIdErrors,\n  DeleteAdminAgentsByIdResponses,\n  DeleteAdminAgentsByIdTrainingExamplesByExampleIdData,\n  DeleteAdminAgentsByIdTrainingExamplesByExampleIdErrors,\n  DeleteAdminAgentsByIdTrainingExamplesByExampleIdResponses,\n  DeleteAdminAgentSoulsByIdData,\n  DeleteAdminAgentSoulsByIdErrors,\n  DeleteAdminAgentSoulsByIdResponses,\n  DeleteAdminAgentVersionsByIdData,\n  DeleteAdminAgentVersionsByIdErrors,\n  DeleteAdminAgentVersionsByIdResponses,\n  DeleteAdminAiConversationsByIdData,\n  DeleteAdminAiConversationsByIdErrors,\n  DeleteAdminAiConversationsByIdResponses,\n  DeleteAdminAiGraphNodesByIdData,\n  DeleteAdminAiGraphNodesByIdErrors,\n  DeleteAdminAiGraphNodesByIdResponses,\n  DeleteAdminAiMessagesByIdData,\n  DeleteAdminAiMessagesByIdErrors,\n  DeleteAdminAiMessagesByIdResponses,\n  DeleteAdminApiKeysByIdData,\n  DeleteAdminApiKeysByIdErrors,\n  DeleteAdminApiKeysByIdResponses,\n  DeleteAdminApplicationsByApplicationIdEmailTemplatesBySlugData,\n  DeleteAdminApplicationsByApplicationIdEmailTemplatesBySlugErrors,\n  DeleteAdminApplicationsByApplicationIdEmailTemplatesBySlugResponses,\n  DeleteAdminApplicationsByIdData,\n  DeleteAdminApplicationsByIdErrors,\n  DeleteAdminApplicationsByIdResponses,\n  DeleteAdminBrandIdentitiesByIdData,\n  DeleteAdminBrandIdentitiesByIdErrors,\n  DeleteAdminBrandIdentitiesByIdResponses,\n  DeleteAdminBucketsByIdData,\n  DeleteAdminBucketsByIdErrors,\n  DeleteAdminBucketsByIdResponses,\n  DeleteAdminCampaignsSequencesByIdData,\n  DeleteAdminCampaignsSequencesByIdErrors,\n  DeleteAdminCampaignsSequencesByIdResponses,\n  DeleteAdminCampaignsSequenceStepsByIdData,\n  DeleteAdminCampaignsSequenceStepsByIdErrors,\n  DeleteAdminCampaignsSequenceStepsByIdResponses,\n  DeleteAdminCaseDocumentLinksByIdData,\n  DeleteAdminCaseDocumentLinksByIdErrors,\n  DeleteAdminCaseDocumentLinksByIdResponses,\n  DeleteAdminCaseEntityLinksByIdData,\n  DeleteAdminCaseEntityLinksByIdErrors,\n  DeleteAdminCaseEntityLinksByIdResponses,\n  DeleteAdminCasesByIdData,\n  DeleteAdminCasesByIdErrors,\n  DeleteAdminCasesByIdResponses,\n  DeleteAdminCaseTypesByIdData,\n  DeleteAdminCaseTypesByIdErrors,\n  DeleteAdminCaseTypesByIdResponses,\n  DeleteAdminCatalogOptionTypesByIdData,\n  DeleteAdminCatalogOptionTypesByIdErrors,\n  DeleteAdminCatalogOptionTypesByIdResponses,\n  DeleteAdminCatalogOptionValuesByIdData,\n  DeleteAdminCatalogOptionValuesByIdErrors,\n  DeleteAdminCatalogOptionValuesByIdResponses,\n  DeleteAdminCatalogPriceListEntriesByIdData,\n  DeleteAdminCatalogPriceListEntriesByIdErrors,\n  DeleteAdminCatalogPriceListEntriesByIdResponses,\n  DeleteAdminCatalogPriceListsByIdData,\n  DeleteAdminCatalogPriceListsByIdErrors,\n  DeleteAdminCatalogPriceListsByIdResponses,\n  DeleteAdminCatalogProductClassificationsByIdData,\n  DeleteAdminCatalogProductClassificationsByIdErrors,\n  DeleteAdminCatalogProductClassificationsByIdResponses,\n  DeleteAdminCatalogProductsByIdData,\n  DeleteAdminCatalogProductsByIdErrors,\n  DeleteAdminCatalogProductsByIdResponses,\n  DeleteAdminCatalogProductVariantsByIdData,\n  DeleteAdminCatalogProductVariantsByIdErrors,\n  DeleteAdminCatalogProductVariantsByIdResponses,\n  DeleteAdminCatalogTaxonomiesByIdData,\n  DeleteAdminCatalogTaxonomiesByIdErrors,\n  DeleteAdminCatalogTaxonomiesByIdResponses,\n  DeleteAdminCatalogTaxonomyNodesByIdData,\n  DeleteAdminCatalogTaxonomyNodesByIdErrors,\n  DeleteAdminCatalogTaxonomyNodesByIdResponses,\n  DeleteAdminCatalogVariantOptionValuesByIdData,\n  DeleteAdminCatalogVariantOptionValuesByIdErrors,\n  DeleteAdminCatalogVariantOptionValuesByIdResponses,\n  DeleteAdminCatalogViewOverridesByIdData,\n  DeleteAdminCatalogViewOverridesByIdErrors,\n  DeleteAdminCatalogViewOverridesByIdResponses,\n  DeleteAdminCatalogViewRulesByIdData,\n  DeleteAdminCatalogViewRulesByIdErrors,\n  DeleteAdminCatalogViewRulesByIdResponses,\n  DeleteAdminCatalogViewsByIdData,\n  DeleteAdminCatalogViewsByIdErrors,\n  DeleteAdminCatalogViewsByIdResponses,\n  DeleteAdminCdeScopeReportsByIdData,\n  DeleteAdminCdeScopeReportsByIdErrors,\n  DeleteAdminCdeScopeReportsByIdResponses,\n  DeleteAdminClaimedDomainsByIdData,\n  DeleteAdminClaimedDomainsByIdErrors,\n  DeleteAdminClaimedDomainsByIdResponses,\n  DeleteAdminClinicalClientGoalsByIdPermanentData,\n  DeleteAdminClinicalClientGoalsByIdPermanentErrors,\n  DeleteAdminClinicalClientGoalsByIdPermanentResponses,\n  DeleteAdminClinicalClientMedicationsByIdPermanentData,\n  DeleteAdminClinicalClientMedicationsByIdPermanentErrors,\n  DeleteAdminClinicalClientMedicationsByIdPermanentResponses,\n  DeleteAdminClinicalClientResourceAssignmentsByIdPermanentData,\n  DeleteAdminClinicalClientResourceAssignmentsByIdPermanentErrors,\n  DeleteAdminClinicalClientResourceAssignmentsByIdPermanentResponses,\n  DeleteAdminClinicalClientSupplementsByIdPermanentData,\n  DeleteAdminClinicalClientSupplementsByIdPermanentErrors,\n  DeleteAdminClinicalClientSupplementsByIdPermanentResponses,\n  DeleteAdminClinicalDocumentsByIdData,\n  DeleteAdminClinicalDocumentsByIdErrors,\n  DeleteAdminClinicalDocumentsByIdResponses,\n  DeleteAdminClinicalGoalAssociationsByIdData,\n  DeleteAdminClinicalGoalAssociationsByIdErrors,\n  DeleteAdminClinicalGoalAssociationsByIdResponses,\n  DeleteAdminClinicalGoalTemplateCollectionMembershipsByIdData,\n  DeleteAdminClinicalGoalTemplateCollectionMembershipsByIdErrors,\n  DeleteAdminClinicalGoalTemplateCollectionMembershipsByIdResponses,\n  DeleteAdminClinicalGoalTemplateCollectionsByIdData,\n  DeleteAdminClinicalGoalTemplateCollectionsByIdErrors,\n  DeleteAdminClinicalGoalTemplateCollectionsByIdResponses,\n  DeleteAdminClinicalGoalTemplatesByIdPermanentData,\n  DeleteAdminClinicalGoalTemplatesByIdPermanentErrors,\n  DeleteAdminClinicalGoalTemplatesByIdPermanentResponses,\n  DeleteAdminClinicalGoalTemplatesCatalogByIdPermanentData,\n  DeleteAdminClinicalGoalTemplatesCatalogByIdPermanentErrors,\n  DeleteAdminClinicalGoalTemplatesCatalogByIdPermanentResponses,\n  DeleteAdminClinicalHealthMetricsByIdPermanentData,\n  DeleteAdminClinicalHealthMetricsByIdPermanentErrors,\n  DeleteAdminClinicalHealthMetricsByIdPermanentResponses,\n  DeleteAdminClinicalInsuranceAuthorizationsByIdData,\n  DeleteAdminClinicalInsuranceAuthorizationsByIdErrors,\n  DeleteAdminClinicalInsuranceAuthorizationsByIdResponses,\n  DeleteAdminClinicalIntakeTargetsByIdPermanentData,\n  DeleteAdminClinicalIntakeTargetsByIdPermanentErrors,\n  DeleteAdminClinicalIntakeTargetsByIdPermanentResponses,\n  DeleteAdminClinicalMealPlansByIdPermanentData,\n  DeleteAdminClinicalMealPlansByIdPermanentErrors,\n  DeleteAdminClinicalMealPlansByIdPermanentResponses,\n  DeleteAdminClinicalNotesByIdPermanentData,\n  DeleteAdminClinicalNotesByIdPermanentErrors,\n  DeleteAdminClinicalNotesByIdPermanentResponses,\n  DeleteAdminClinicalNoteTemplatesByIdPermanentData,\n  DeleteAdminClinicalNoteTemplatesByIdPermanentErrors,\n  DeleteAdminClinicalNoteTemplatesByIdPermanentResponses,\n  DeleteAdminClinicalNoteTemplatesCatalogByIdPermanentData,\n  DeleteAdminClinicalNoteTemplatesCatalogByIdPermanentErrors,\n  DeleteAdminClinicalNoteTemplatesCatalogByIdPermanentResponses,\n  DeleteAdminClinicalPatientInsuranceByIdData,\n  DeleteAdminClinicalPatientInsuranceByIdErrors,\n  DeleteAdminClinicalPatientInsuranceByIdResponses,\n  DeleteAdminClinicalPatientsByIdData,\n  DeleteAdminClinicalPatientsByIdErrors,\n  DeleteAdminClinicalPatientsByIdResponses,\n  DeleteAdminClinicalPracticeResourcesByIdPermanentData,\n  DeleteAdminClinicalPracticeResourcesByIdPermanentErrors,\n  DeleteAdminClinicalPracticeResourcesByIdPermanentResponses,\n  DeleteAdminClinicalPracticeResourcesCatalogByIdPermanentData,\n  DeleteAdminClinicalPracticeResourcesCatalogByIdPermanentErrors,\n  DeleteAdminClinicalPracticeResourcesCatalogByIdPermanentResponses,\n  DeleteAdminClinicalPracticeToolsByIdPermanentData,\n  DeleteAdminClinicalPracticeToolsByIdPermanentErrors,\n  DeleteAdminClinicalPracticeToolsByIdPermanentResponses,\n  DeleteAdminClinicalPracticeToolsCatalogByIdPermanentData,\n  DeleteAdminClinicalPracticeToolsCatalogByIdPermanentErrors,\n  DeleteAdminClinicalPracticeToolsCatalogByIdPermanentResponses,\n  DeleteAdminClinicalSessionsByIdData,\n  DeleteAdminClinicalSessionsByIdErrors,\n  DeleteAdminClinicalSessionsByIdResponses,\n  DeleteAdminClinicalSupplementTemplateCollectionMembershipsByIdData,\n  DeleteAdminClinicalSupplementTemplateCollectionMembershipsByIdErrors,\n  DeleteAdminClinicalSupplementTemplateCollectionMembershipsByIdResponses,\n  DeleteAdminClinicalSupplementTemplateCollectionsByIdData,\n  DeleteAdminClinicalSupplementTemplateCollectionsByIdErrors,\n  DeleteAdminClinicalSupplementTemplateCollectionsByIdResponses,\n  DeleteAdminClinicalSupplementTemplatesByIdPermanentData,\n  DeleteAdminClinicalSupplementTemplatesByIdPermanentErrors,\n  DeleteAdminClinicalSupplementTemplatesByIdPermanentResponses,\n  DeleteAdminClinicalSupplementTemplatesCatalogByIdPermanentData,\n  DeleteAdminClinicalSupplementTemplatesCatalogByIdPermanentErrors,\n  DeleteAdminClinicalSupplementTemplatesCatalogByIdPermanentResponses,\n  DeleteAdminComplianceRequirementsByIdData,\n  DeleteAdminComplianceRequirementsByIdErrors,\n  DeleteAdminComplianceRequirementsByIdResponses,\n  DeleteAdminCompositeOperationsByIdData,\n  DeleteAdminCompositeOperationsByIdErrors,\n  DeleteAdminCompositeOperationsByIdResponses,\n  DeleteAdminConnectorsByIdData,\n  DeleteAdminConnectorsByIdErrors,\n  DeleteAdminConnectorsByIdResponses,\n  DeleteAdminConnectorsOauthAppConfigsByIdData,\n  DeleteAdminConnectorsOauthAppConfigsByIdErrors,\n  DeleteAdminConnectorsOauthAppConfigsByIdResponses,\n  DeleteAdminContractsByIdData,\n  DeleteAdminContractsByIdErrors,\n  DeleteAdminContractsByIdResponses,\n  DeleteAdminCrawlerBrowserSessionsByIdData,\n  DeleteAdminCrawlerBrowserSessionsByIdErrors,\n  DeleteAdminCrawlerBrowserSessionsByIdResponses,\n  DeleteAdminCrawlerJobsByIdData,\n  DeleteAdminCrawlerJobsByIdErrors,\n  DeleteAdminCrawlerJobsByIdResponses,\n  DeleteAdminCrawlerNewsMonitorsByIdData,\n  DeleteAdminCrawlerNewsMonitorsByIdErrors,\n  DeleteAdminCrawlerNewsMonitorsByIdResponses,\n  DeleteAdminCrawlerSchedulesByIdData,\n  DeleteAdminCrawlerSchedulesByIdErrors,\n  DeleteAdminCrawlerSchedulesByIdResponses,\n  DeleteAdminCrawlerSiteConfigsByIdData,\n  DeleteAdminCrawlerSiteConfigsByIdErrors,\n  DeleteAdminCrawlerSiteConfigsByIdResponses,\n  DeleteAdminCreditPackagesByIdData,\n  DeleteAdminCreditPackagesByIdErrors,\n  DeleteAdminCreditPackagesByIdResponses,\n  DeleteAdminCrmActivitiesByIdData,\n  DeleteAdminCrmActivitiesByIdErrors,\n  DeleteAdminCrmActivitiesByIdResponses,\n  DeleteAdminCrmAddressesByIdData,\n  DeleteAdminCrmAddressesByIdErrors,\n  DeleteAdminCrmAddressesByIdResponses,\n  DeleteAdminCrmCompaniesByIdData,\n  DeleteAdminCrmCompaniesByIdErrors,\n  DeleteAdminCrmCompaniesByIdResponses,\n  DeleteAdminCrmContactsByIdData,\n  DeleteAdminCrmContactsByIdErrors,\n  DeleteAdminCrmContactsByIdResponses,\n  DeleteAdminCrmCustomEntitiesByIdData,\n  DeleteAdminCrmCustomEntitiesByIdErrors,\n  DeleteAdminCrmCustomEntitiesByIdResponses,\n  DeleteAdminCrmDealProductsByIdData,\n  DeleteAdminCrmDealProductsByIdErrors,\n  DeleteAdminCrmDealProductsByIdResponses,\n  DeleteAdminCrmDealsByIdData,\n  DeleteAdminCrmDealsByIdErrors,\n  DeleteAdminCrmDealsByIdResponses,\n  DeleteAdminCrmEmailAddressesByIdData,\n  DeleteAdminCrmEmailAddressesByIdErrors,\n  DeleteAdminCrmEmailAddressesByIdResponses,\n  DeleteAdminCrmFieldDefinitionsByIdData,\n  DeleteAdminCrmFieldDefinitionsByIdErrors,\n  DeleteAdminCrmFieldDefinitionsByIdResponses,\n  DeleteAdminCrmPhoneNumbersByIdData,\n  DeleteAdminCrmPhoneNumbersByIdErrors,\n  DeleteAdminCrmPhoneNumbersByIdResponses,\n  DeleteAdminCrmPipelinesByIdData,\n  DeleteAdminCrmPipelinesByIdErrors,\n  DeleteAdminCrmPipelinesByIdResponses,\n  DeleteAdminCrmPipelineStagesByIdData,\n  DeleteAdminCrmPipelineStagesByIdErrors,\n  DeleteAdminCrmPipelineStagesByIdResponses,\n  DeleteAdminCrmRelationshipsByIdData,\n  DeleteAdminCrmRelationshipsByIdErrors,\n  DeleteAdminCrmRelationshipsByIdResponses,\n  DeleteAdminCrmRelationshipTypesByIdData,\n  DeleteAdminCrmRelationshipTypesByIdErrors,\n  DeleteAdminCrmRelationshipTypesByIdResponses,\n  DeleteAdminCrmSocialProfilesByIdData,\n  DeleteAdminCrmSocialProfilesByIdErrors,\n  DeleteAdminCrmSocialProfilesByIdResponses,\n  DeleteAdminCrmSyncConfigsByIdData,\n  DeleteAdminCrmSyncConfigsByIdErrors,\n  DeleteAdminCrmSyncConfigsByIdResponses,\n  DeleteAdminCrmWebsitesByIdData,\n  DeleteAdminCrmWebsitesByIdErrors,\n  DeleteAdminCrmWebsitesByIdResponses,\n  DeleteAdminCustomersByIdData,\n  DeleteAdminCustomersByIdErrors,\n  DeleteAdminCustomersByIdResponses,\n  DeleteAdminDataTransferRecordsByIdData,\n  DeleteAdminDataTransferRecordsByIdErrors,\n  DeleteAdminDataTransferRecordsByIdResponses,\n  DeleteAdminEmailInboundAddressesByIdData,\n  DeleteAdminEmailInboundAddressesByIdErrors,\n  DeleteAdminEmailInboundAddressesByIdResponses,\n  DeleteAdminEmailInclusionsByIdData,\n  DeleteAdminEmailInclusionsByIdErrors,\n  DeleteAdminEmailInclusionsByIdResponses,\n  DeleteAdminEmailMarketingCampaignsByIdData,\n  DeleteAdminEmailMarketingCampaignsByIdErrors,\n  DeleteAdminEmailMarketingCampaignsByIdResponses,\n  DeleteAdminEmailMarketingSenderProfilesByIdData,\n  DeleteAdminEmailMarketingSenderProfilesByIdErrors,\n  DeleteAdminEmailMarketingSenderProfilesByIdResponses,\n  DeleteAdminEmailMarketingTemplatesByIdData,\n  DeleteAdminEmailMarketingTemplatesByIdErrors,\n  DeleteAdminEmailMarketingTemplatesByIdResponses,\n  DeleteAdminEmailOutboundEmailsByIdData,\n  DeleteAdminEmailOutboundEmailsByIdErrors,\n  DeleteAdminEmailOutboundEmailsByIdResponses,\n  DeleteAdminEmailRecipientsByIdData,\n  DeleteAdminEmailRecipientsByIdErrors,\n  DeleteAdminEmailRecipientsByIdResponses,\n  DeleteAdminExtractionBatchesByIdData,\n  DeleteAdminExtractionBatchesByIdErrors,\n  DeleteAdminExtractionBatchesByIdResponses,\n  DeleteAdminExtractionDocumentsByIdData,\n  DeleteAdminExtractionDocumentsByIdErrors,\n  DeleteAdminExtractionDocumentsByIdResponses,\n  DeleteAdminExtractionResultsByIdData,\n  DeleteAdminExtractionResultsByIdErrors,\n  DeleteAdminExtractionResultsByIdResponses,\n  DeleteAdminExtractionShadowComparisonsByIdData,\n  DeleteAdminExtractionShadowComparisonsByIdErrors,\n  DeleteAdminExtractionShadowComparisonsByIdResponses,\n  DeleteAdminExtractionWorkflowsByIdData,\n  DeleteAdminExtractionWorkflowsByIdErrors,\n  DeleteAdminExtractionWorkflowsByIdResponses,\n  DeleteAdminFeatureDefinitionsByIdData,\n  DeleteAdminFeatureDefinitionsByIdErrors,\n  DeleteAdminFeatureDefinitionsByIdResponses,\n  DeleteAdminFieldTemplatesByIdData,\n  DeleteAdminFieldTemplatesByIdErrors,\n  DeleteAdminFieldTemplatesByIdResponses,\n  DeleteAdminFormDeploymentsByIdData,\n  DeleteAdminFormDeploymentsByIdErrors,\n  DeleteAdminFormDeploymentsByIdResponses,\n  DeleteAdminFormVersionsByIdData,\n  DeleteAdminFormVersionsByIdErrors,\n  DeleteAdminFormVersionsByIdResponses,\n  DeleteAdminInvoicesByIdData,\n  DeleteAdminInvoicesByIdErrors,\n  DeleteAdminInvoicesByIdResponses,\n  DeleteAdminInvoicesContactsByIdData,\n  DeleteAdminInvoicesContactsByIdErrors,\n  DeleteAdminInvoicesContactsByIdResponses,\n  DeleteAdminInvoicesLinesByIdData,\n  DeleteAdminInvoicesLinesByIdErrors,\n  DeleteAdminInvoicesLinesByIdResponses,\n  DeleteAdminInvoicesPaymentsByIdData,\n  DeleteAdminInvoicesPaymentsByIdErrors,\n  DeleteAdminInvoicesPaymentsByIdResponses,\n  DeleteAdminInvoicesRecurringSchedulesByIdData,\n  DeleteAdminInvoicesRecurringSchedulesByIdErrors,\n  DeleteAdminInvoicesRecurringSchedulesByIdResponses,\n  DeleteAdminInvoicesRulesByIdData,\n  DeleteAdminInvoicesRulesByIdErrors,\n  DeleteAdminInvoicesRulesByIdResponses,\n  DeleteAdminInvoicesTemplatesByIdData,\n  DeleteAdminInvoicesTemplatesByIdErrors,\n  DeleteAdminInvoicesTemplatesByIdResponses,\n  DeleteAdminIsvCrmEntityTypesByIdData,\n  DeleteAdminIsvCrmEntityTypesByIdErrors,\n  DeleteAdminIsvCrmEntityTypesByIdResponses,\n  DeleteAdminLegalDocumentsByIdData,\n  DeleteAdminLegalDocumentsByIdErrors,\n  DeleteAdminLegalDocumentsByIdResponses,\n  DeleteAdminMeetingsByIdData,\n  DeleteAdminMeetingsByIdErrors,\n  DeleteAdminMeetingsByIdResponses,\n  DeleteAdminMessagesByIdData,\n  DeleteAdminMessagesByIdErrors,\n  DeleteAdminMessagesByIdResponses,\n  DeleteAdminNotificationMethodsByIdData,\n  DeleteAdminNotificationMethodsByIdErrors,\n  DeleteAdminNotificationMethodsByIdResponses,\n  DeleteAdminNotificationPreferencesByIdData,\n  DeleteAdminNotificationPreferencesByIdErrors,\n  DeleteAdminNotificationPreferencesByIdResponses,\n  DeleteAdminPaymentMethodsByIdData,\n  DeleteAdminPaymentMethodsByIdErrors,\n  DeleteAdminPaymentMethodsByIdResponses,\n  DeleteAdminPipelineNodesByIdData,\n  DeleteAdminPipelineNodesByIdErrors,\n  DeleteAdminPipelineNodesByIdResponses,\n  DeleteAdminPipelinesByIdData,\n  DeleteAdminPipelinesByIdErrors,\n  DeleteAdminPipelinesByIdResponses,\n  DeleteAdminPlanFeatureAllocationsByIdData,\n  DeleteAdminPlanFeatureAllocationsByIdErrors,\n  DeleteAdminPlanFeatureAllocationsByIdResponses,\n  DeleteAdminPlansByIdData,\n  DeleteAdminPlansByIdErrors,\n  DeleteAdminPlansByIdResponses,\n  DeleteAdminPlatformPricingConfigsByIdData,\n  DeleteAdminPlatformPricingConfigsByIdErrors,\n  DeleteAdminPlatformPricingConfigsByIdResponses,\n  DeleteAdminPlatformTonesByIdData,\n  DeleteAdminPlatformTonesByIdErrors,\n  DeleteAdminPlatformTonesByIdResponses,\n  DeleteAdminPortalInvitationsByIdData,\n  DeleteAdminPortalInvitationsByIdErrors,\n  DeleteAdminPortalInvitationsByIdResponses,\n  DeleteAdminPostProcessingHooksByIdData,\n  DeleteAdminPostProcessingHooksByIdErrors,\n  DeleteAdminPostProcessingHooksByIdResponses,\n  DeleteAdminPreferencesByKeyData,\n  DeleteAdminPreferencesByKeyErrors,\n  DeleteAdminPreferencesByKeyResponses,\n  DeleteAdminProcessingActivitiesByIdData,\n  DeleteAdminProcessingActivitiesByIdErrors,\n  DeleteAdminProcessingActivitiesByIdResponses,\n  DeleteAdminQuoteRequestsByIdData,\n  DeleteAdminQuoteRequestsByIdErrors,\n  DeleteAdminQuoteRequestsByIdResponses,\n  DeleteAdminRecipesByIdData,\n  DeleteAdminRecipesByIdErrors,\n  DeleteAdminRecipesByIdResponses,\n  DeleteAdminRecipesCollectionRecipesByIdData,\n  DeleteAdminRecipesCollectionRecipesByIdErrors,\n  DeleteAdminRecipesCollectionRecipesByIdResponses,\n  DeleteAdminRecipesCollectionsByIdData,\n  DeleteAdminRecipesCollectionsByIdErrors,\n  DeleteAdminRecipesCollectionsByIdResponses,\n  DeleteAdminRecipesFavoritesByIdData,\n  DeleteAdminRecipesFavoritesByIdErrors,\n  DeleteAdminRecipesFavoritesByIdResponses,\n  DeleteAdminRecipesFoodItemsByIdData,\n  DeleteAdminRecipesFoodItemsByIdErrors,\n  DeleteAdminRecipesFoodItemsByIdResponses,\n  DeleteAdminRecipesIngredientsByIdData,\n  DeleteAdminRecipesIngredientsByIdErrors,\n  DeleteAdminRecipesIngredientsByIdResponses,\n  DeleteAdminRecipesMealSchedulesByIdData,\n  DeleteAdminRecipesMealSchedulesByIdErrors,\n  DeleteAdminRecipesMealSchedulesByIdResponses,\n  DeleteAdminRecipesRecipeTagsByIdData,\n  DeleteAdminRecipesRecipeTagsByIdErrors,\n  DeleteAdminRecipesRecipeTagsByIdResponses,\n  DeleteAdminRecipesScheduledMealsByIdData,\n  DeleteAdminRecipesScheduledMealsByIdErrors,\n  DeleteAdminRecipesScheduledMealsByIdResponses,\n  DeleteAdminRecipesShoppingListItemsByIdData,\n  DeleteAdminRecipesShoppingListItemsByIdErrors,\n  DeleteAdminRecipesShoppingListItemsByIdResponses,\n  DeleteAdminRecipesShoppingListsByIdData,\n  DeleteAdminRecipesShoppingListsByIdErrors,\n  DeleteAdminRecipesShoppingListsByIdResponses,\n  DeleteAdminRecipesTagsByIdData,\n  DeleteAdminRecipesTagsByIdErrors,\n  DeleteAdminRecipesTagsByIdResponses,\n  DeleteAdminRetentionPoliciesByIdData,\n  DeleteAdminRetentionPoliciesByIdErrors,\n  DeleteAdminRetentionPoliciesByIdResponses,\n  DeleteAdminReviewQueueMembershipsByIdData,\n  DeleteAdminReviewQueueMembershipsByIdErrors,\n  DeleteAdminReviewQueueMembershipsByIdResponses,\n  DeleteAdminReviewQueuesByIdData,\n  DeleteAdminReviewQueuesByIdErrors,\n  DeleteAdminReviewQueuesByIdResponses,\n  DeleteAdminRiskAssessmentsByIdData,\n  DeleteAdminRiskAssessmentsByIdErrors,\n  DeleteAdminRiskAssessmentsByIdResponses,\n  DeleteAdminRolesByIdData,\n  DeleteAdminRolesByIdErrors,\n  DeleteAdminRolesByIdResponses,\n  DeleteAdminSchedulingAvailabilityRulesByIdData,\n  DeleteAdminSchedulingAvailabilityRulesByIdErrors,\n  DeleteAdminSchedulingAvailabilityRulesByIdResponses,\n  DeleteAdminSchedulingCalendarSyncsByIdData,\n  DeleteAdminSchedulingCalendarSyncsByIdErrors,\n  DeleteAdminSchedulingCalendarSyncsByIdResponses,\n  DeleteAdminSchedulingParticipantsByIdData,\n  DeleteAdminSchedulingParticipantsByIdErrors,\n  DeleteAdminSchedulingParticipantsByIdResponses,\n  DeleteAdminSearchSavedByIdData,\n  DeleteAdminSearchSavedByIdErrors,\n  DeleteAdminSearchSavedByIdResponses,\n  DeleteAdminSocialAccountsByIdData,\n  DeleteAdminSocialAccountsByIdErrors,\n  DeleteAdminSocialAccountsByIdResponses,\n  DeleteAdminSocialCampaignsByIdData,\n  DeleteAdminSocialCampaignsByIdErrors,\n  DeleteAdminSocialCampaignsByIdResponses,\n  DeleteAdminSocialPostsByIdData,\n  DeleteAdminSocialPostsByIdErrors,\n  DeleteAdminSocialPostsByIdResponses,\n  DeleteAdminSocialTrendingHistoryByIdData,\n  DeleteAdminSocialTrendingHistoryByIdErrors,\n  DeleteAdminSocialTrendingHistoryByIdResponses,\n  DeleteAdminSocialTrendingWatchesByIdData,\n  DeleteAdminSocialTrendingWatchesByIdErrors,\n  DeleteAdminSocialTrendingWatchesByIdResponses,\n  DeleteAdminSupportCannedResponsesByIdData,\n  DeleteAdminSupportCannedResponsesByIdErrors,\n  DeleteAdminSupportCannedResponsesByIdResponses,\n  DeleteAdminSupportQueueMembersByIdData,\n  DeleteAdminSupportQueueMembersByIdErrors,\n  DeleteAdminSupportQueueMembersByIdResponses,\n  DeleteAdminSupportQueuesByIdData,\n  DeleteAdminSupportQueuesByIdErrors,\n  DeleteAdminSupportQueuesByIdResponses,\n  DeleteAdminSupportRoutingRulesByIdData,\n  DeleteAdminSupportRoutingRulesByIdErrors,\n  DeleteAdminSupportRoutingRulesByIdResponses,\n  DeleteAdminSupportSlaPoliciesByIdData,\n  DeleteAdminSupportSlaPoliciesByIdErrors,\n  DeleteAdminSupportSlaPoliciesByIdResponses,\n  DeleteAdminSupportSyncConfigsByIdData,\n  DeleteAdminSupportSyncConfigsByIdErrors,\n  DeleteAdminSupportSyncConfigsByIdResponses,\n  DeleteAdminSupportTagsByIdData,\n  DeleteAdminSupportTagsByIdErrors,\n  DeleteAdminSupportTagsByIdResponses,\n  DeleteAdminSupportTicketsByIdData,\n  DeleteAdminSupportTicketsByIdErrors,\n  DeleteAdminSupportTicketsByIdResponses,\n  DeleteAdminSystemMessagesByIdData,\n  DeleteAdminSystemMessagesByIdErrors,\n  DeleteAdminSystemMessagesByIdResponses,\n  DeleteAdminTenantPricingOverridesByIdData,\n  DeleteAdminTenantPricingOverridesByIdErrors,\n  DeleteAdminTenantPricingOverridesByIdResponses,\n  DeleteAdminTenantsByIdData,\n  DeleteAdminTenantsByIdErrors,\n  DeleteAdminTenantsByIdResponses,\n  DeleteAdminThreadsByIdData,\n  DeleteAdminThreadsByIdErrors,\n  DeleteAdminThreadsByIdResponses,\n  DeleteAdminTrainingExamplesByIdData,\n  DeleteAdminTrainingExamplesByIdErrors,\n  DeleteAdminTrainingExamplesByIdResponses,\n  DeleteAdminTrainingSessionsByIdData,\n  DeleteAdminTrainingSessionsByIdErrors,\n  DeleteAdminTrainingSessionsByIdResponses,\n  DeleteAdminUserProfilesByIdData,\n  DeleteAdminUserProfilesByIdErrors,\n  DeleteAdminUserProfilesByIdResponses,\n  DeleteAdminUsersByIdData,\n  DeleteAdminUsersByIdErrors,\n  DeleteAdminUsersByIdResponses,\n  DeleteAdminVoiceSessionsByIdData,\n  DeleteAdminVoiceSessionsByIdErrors,\n  DeleteAdminVoiceSessionsByIdResponses,\n  DeleteAdminVoiceTranscriptionJobsByIdData,\n  DeleteAdminVoiceTranscriptionJobsByIdErrors,\n  DeleteAdminVoiceTranscriptionJobsByIdResponses,\n  DeleteAdminVoiceTranscriptionResultsByIdData,\n  DeleteAdminVoiceTranscriptionResultsByIdErrors,\n  DeleteAdminVoiceTranscriptionResultsByIdResponses,\n  DeleteAdminWebhookConfigsByIdData,\n  DeleteAdminWebhookConfigsByIdErrors,\n  DeleteAdminWebhookConfigsByIdResponses,\n  DeleteAdminWorkspaceAgentConfigsByIdData,\n  DeleteAdminWorkspaceAgentConfigsByIdErrors,\n  DeleteAdminWorkspaceAgentConfigsByIdResponses,\n  DeleteAdminWorkspaceFormConfigsByIdData,\n  DeleteAdminWorkspaceFormConfigsByIdErrors,\n  DeleteAdminWorkspaceFormConfigsByIdResponses,\n  DeleteAdminWorkspacePreferencesByIdData,\n  DeleteAdminWorkspacePreferencesByIdErrors,\n  DeleteAdminWorkspacePreferencesByIdResponses,\n  DeleteAdminWorkspacesByIdData,\n  DeleteAdminWorkspacesByIdErrors,\n  DeleteAdminWorkspacesByIdResponses,\n  GetAdminAccessGrantsByIdData,\n  GetAdminAccessGrantsByIdErrors,\n  GetAdminAccessGrantsByIdResponses,\n  GetAdminAccessGrantsData,\n  GetAdminAccessGrantsErrors,\n  GetAdminAccessGrantsResponses,\n  GetAdminAccessLogsByIdData,\n  GetAdminAccessLogsByIdErrors,\n  GetAdminAccessLogsByIdResponses,\n  GetAdminAccessLogsData,\n  GetAdminAccessLogsErrors,\n  GetAdminAccessLogsResponses,\n  GetAdminAccountsByIdData,\n  GetAdminAccountsByIdErrors,\n  GetAdminAccountsByIdResponses,\n  GetAdminAccountsByTenantByTenantIdData,\n  GetAdminAccountsByTenantByTenantIdErrors,\n  GetAdminAccountsByTenantByTenantIdResponses,\n  GetAdminAccountsData,\n  GetAdminAccountsErrors,\n  GetAdminAccountsResponses,\n  GetAdminAgentDeploymentsByIdData,\n  GetAdminAgentDeploymentsByIdErrors,\n  GetAdminAgentDeploymentsByIdResponses,\n  GetAdminAgentDeploymentsData,\n  GetAdminAgentDeploymentsErrors,\n  GetAdminAgentDeploymentsResponses,\n  GetAdminAgentExecutionsByIdData,\n  GetAdminAgentExecutionsByIdErrors,\n  GetAdminAgentExecutionsByIdResponses,\n  GetAdminAgentExecutionsData,\n  GetAdminAgentExecutionsErrors,\n  GetAdminAgentExecutionsResponses,\n  GetAdminAgentsByIdData,\n  GetAdminAgentsByIdErrors,\n  GetAdminAgentsByIdResponses,\n  GetAdminAgentsByIdSchemaVersionsData,\n  GetAdminAgentsByIdSchemaVersionsErrors,\n  GetAdminAgentsByIdSchemaVersionsResponses,\n  GetAdminAgentsByIdStatsData,\n  GetAdminAgentsByIdStatsErrors,\n  GetAdminAgentsByIdStatsResponses,\n  GetAdminAgentsByIdTrainingExamplesData,\n  GetAdminAgentsByIdTrainingExamplesErrors,\n  GetAdminAgentsByIdTrainingExamplesResponses,\n  GetAdminAgentsByIdTrainingStatsData,\n  GetAdminAgentsByIdTrainingStatsErrors,\n  GetAdminAgentsByIdTrainingStatsResponses,\n  GetAdminAgentsByIdUsageData,\n  GetAdminAgentsByIdUsageErrors,\n  GetAdminAgentsByIdUsageResponses,\n  GetAdminAgentsBySlugBySlugData,\n  GetAdminAgentsBySlugBySlugErrors,\n  GetAdminAgentsBySlugBySlugResponses,\n  GetAdminAgentsData,\n  GetAdminAgentsErrors,\n  GetAdminAgentSoulsByIdData,\n  GetAdminAgentSoulsByIdErrors,\n  GetAdminAgentSoulsByIdResponses,\n  GetAdminAgentSoulsData,\n  GetAdminAgentSoulsErrors,\n  GetAdminAgentSoulsResponses,\n  GetAdminAgentsResponses,\n  GetAdminAgentsUsageData,\n  GetAdminAgentsUsageErrors,\n  GetAdminAgentsUsageResponses,\n  GetAdminAgentToolsData,\n  GetAdminAgentToolsErrors,\n  GetAdminAgentToolsResponses,\n  GetAdminAgentVersionRevisionsByIdData,\n  GetAdminAgentVersionRevisionsByIdErrors,\n  GetAdminAgentVersionRevisionsByIdResponses,\n  GetAdminAgentVersionRevisionsData,\n  GetAdminAgentVersionRevisionsErrors,\n  GetAdminAgentVersionRevisionsResponses,\n  GetAdminAgentVersionsByIdData,\n  GetAdminAgentVersionsByIdErrors,\n  GetAdminAgentVersionsByIdMetricsData,\n  GetAdminAgentVersionsByIdMetricsErrors,\n  GetAdminAgentVersionsByIdMetricsResponses,\n  GetAdminAgentVersionsByIdResponses,\n  GetAdminAgentVersionsByIdRevisionsData,\n  GetAdminAgentVersionsByIdRevisionsErrors,\n  GetAdminAgentVersionsByIdRevisionsResponses,\n  GetAdminAgentVersionsData,\n  GetAdminAgentVersionsErrors,\n  GetAdminAgentVersionsResponses,\n  GetAdminAiChunksDocumentByDocumentIdData,\n  GetAdminAiChunksDocumentByDocumentIdErrors,\n  GetAdminAiChunksDocumentByDocumentIdResponses,\n  GetAdminAiConversationsByIdData,\n  GetAdminAiConversationsByIdErrors,\n  GetAdminAiConversationsByIdResponses,\n  GetAdminAiConversationsData,\n  GetAdminAiConversationsErrors,\n  GetAdminAiConversationsResponses,\n  GetAdminAiGraphNodesByNodeIdRelationshipsData,\n  GetAdminAiGraphNodesByNodeIdRelationshipsErrors,\n  GetAdminAiGraphNodesByNodeIdRelationshipsResponses,\n  GetAdminAiGraphNodesData,\n  GetAdminAiGraphNodesErrors,\n  GetAdminAiGraphNodesLabelByLabelData,\n  GetAdminAiGraphNodesLabelByLabelErrors,\n  GetAdminAiGraphNodesLabelByLabelResponses,\n  GetAdminAiGraphNodesResponses,\n  GetAdminAiGraphNodesSemanticData,\n  GetAdminAiGraphNodesSemanticErrors,\n  GetAdminAiGraphNodesSemanticResponses,\n  GetAdminAiMessagesByIdData,\n  GetAdminAiMessagesByIdErrors,\n  GetAdminAiMessagesByIdResponses,\n  GetAdminAiMessagesData,\n  GetAdminAiMessagesErrors,\n  GetAdminAiMessagesResponses,\n  GetAdminAmendmentRequestsByIdData,\n  GetAdminAmendmentRequestsByIdErrors,\n  GetAdminAmendmentRequestsByIdResponses,\n  GetAdminAmendmentRequestsData,\n  GetAdminAmendmentRequestsErrors,\n  GetAdminAmendmentRequestsResponses,\n  GetAdminApiKeysActiveData,\n  GetAdminApiKeysActiveErrors,\n  GetAdminApiKeysActiveResponses,\n  GetAdminApiKeysByIdData,\n  GetAdminApiKeysByIdErrors,\n  GetAdminApiKeysByIdResponses,\n  GetAdminApiKeysData,\n  GetAdminApiKeysErrors,\n  GetAdminApiKeysResponses,\n  GetAdminApiKeysStatsData,\n  GetAdminApiKeysStatsErrors,\n  GetAdminApiKeysStatsResponses,\n  GetAdminApplicationsByApplicationIdEmailTemplatesBySlugData,\n  GetAdminApplicationsByApplicationIdEmailTemplatesBySlugErrors,\n  GetAdminApplicationsByApplicationIdEmailTemplatesBySlugResponses,\n  GetAdminApplicationsByApplicationIdEmailTemplatesData,\n  GetAdminApplicationsByApplicationIdEmailTemplatesErrors,\n  GetAdminApplicationsByApplicationIdEmailTemplatesResponses,\n  GetAdminApplicationsByIdData,\n  GetAdminApplicationsByIdErrors,\n  GetAdminApplicationsByIdResponses,\n  GetAdminApplicationsBySlugBySlugData,\n  GetAdminApplicationsBySlugBySlugErrors,\n  GetAdminApplicationsBySlugBySlugResponses,\n  GetAdminApplicationsCurrentData,\n  GetAdminApplicationsCurrentErrors,\n  GetAdminApplicationsCurrentResponses,\n  GetAdminApplicationsData,\n  GetAdminApplicationsErrors,\n  GetAdminApplicationsMeData,\n  GetAdminApplicationsMeErrors,\n  GetAdminApplicationsMeResponses,\n  GetAdminApplicationsResponses,\n  GetAdminAuditChainEntriesByIdData,\n  GetAdminAuditChainEntriesByIdErrors,\n  GetAdminAuditChainEntriesByIdResponses,\n  GetAdminAuditChainEntriesData,\n  GetAdminAuditChainEntriesErrors,\n  GetAdminAuditChainEntriesResponses,\n  GetAdminAuditLogsActivityData,\n  GetAdminAuditLogsActivityErrors,\n  GetAdminAuditLogsActivityResponses,\n  GetAdminAuditLogsCountByActionData,\n  GetAdminAuditLogsCountByActionErrors,\n  GetAdminAuditLogsCountByActionResponses,\n  GetAdminAuditLogsData,\n  GetAdminAuditLogsErrors,\n  GetAdminAuditLogsResponses,\n  GetAdminBalancesByIdData,\n  GetAdminBalancesByIdErrors,\n  GetAdminBalancesByIdResponses,\n  GetAdminBalancesData,\n  GetAdminBalancesErrors,\n  GetAdminBalancesResponses,\n  GetAdminBrandIdentitiesByIdData,\n  GetAdminBrandIdentitiesByIdErrors,\n  GetAdminBrandIdentitiesByIdResponses,\n  GetAdminBrandIdentitiesByTenantByTenantIdData,\n  GetAdminBrandIdentitiesByTenantByTenantIdErrors,\n  GetAdminBrandIdentitiesByTenantByTenantIdResponses,\n  GetAdminBrandIdentitiesByWorkspaceByWorkspaceIdData,\n  GetAdminBrandIdentitiesByWorkspaceByWorkspaceIdErrors,\n  GetAdminBrandIdentitiesByWorkspaceByWorkspaceIdResponses,\n  GetAdminBrandIdentitiesData,\n  GetAdminBrandIdentitiesDefaultTenantByTenantIdData,\n  GetAdminBrandIdentitiesDefaultTenantByTenantIdErrors,\n  GetAdminBrandIdentitiesDefaultTenantByTenantIdResponses,\n  GetAdminBrandIdentitiesDefaultWorkspaceByWorkspaceIdData,\n  GetAdminBrandIdentitiesDefaultWorkspaceByWorkspaceIdErrors,\n  GetAdminBrandIdentitiesDefaultWorkspaceByWorkspaceIdResponses,\n  GetAdminBrandIdentitiesErrors,\n  GetAdminBrandIdentitiesResponses,\n  GetAdminBreachIncidentsByIdData,\n  GetAdminBreachIncidentsByIdErrors,\n  GetAdminBreachIncidentsByIdResponses,\n  GetAdminBreachIncidentsData,\n  GetAdminBreachIncidentsErrors,\n  GetAdminBreachIncidentsResponses,\n  GetAdminBreachNotificationArtifactsByIdData,\n  GetAdminBreachNotificationArtifactsByIdErrors,\n  GetAdminBreachNotificationArtifactsByIdResponses,\n  GetAdminBreachNotificationArtifactsData,\n  GetAdminBreachNotificationArtifactsErrors,\n  GetAdminBreachNotificationArtifactsResponses,\n  GetAdminBreachNotificationsByIdData,\n  GetAdminBreachNotificationsByIdErrors,\n  GetAdminBreachNotificationsByIdResponses,\n  GetAdminBreachNotificationsData,\n  GetAdminBreachNotificationsErrors,\n  GetAdminBreachNotificationsResponses,\n  GetAdminBucketsAllData,\n  GetAdminBucketsAllErrors,\n  GetAdminBucketsAllResponses,\n  GetAdminBucketsByIdData,\n  GetAdminBucketsByIdErrors,\n  GetAdminBucketsByIdResponses,\n  GetAdminBucketsByIdStatsData,\n  GetAdminBucketsByIdStatsErrors,\n  GetAdminBucketsByIdStatsResponses,\n  GetAdminBucketsData,\n  GetAdminBucketsErrors,\n  GetAdminBucketsResponses,\n  GetAdminBusinessAssociateAgreementsByIdData,\n  GetAdminBusinessAssociateAgreementsByIdErrors,\n  GetAdminBusinessAssociateAgreementsByIdResponses,\n  GetAdminBusinessAssociateAgreementsData,\n  GetAdminBusinessAssociateAgreementsErrors,\n  GetAdminBusinessAssociateAgreementsResponses,\n  GetAdminCampaignsRecipientsByIdData,\n  GetAdminCampaignsRecipientsByIdErrors,\n  GetAdminCampaignsRecipientsByIdResponses,\n  GetAdminCampaignsRecipientsCampaignByCampaignIdData,\n  GetAdminCampaignsRecipientsCampaignByCampaignIdErrors,\n  GetAdminCampaignsRecipientsCampaignByCampaignIdResponses,\n  GetAdminCampaignsSequencesByIdData,\n  GetAdminCampaignsSequencesByIdErrors,\n  GetAdminCampaignsSequencesByIdResponses,\n  GetAdminCampaignsSequenceStepsByIdData,\n  GetAdminCampaignsSequenceStepsByIdErrors,\n  GetAdminCampaignsSequenceStepsByIdResponses,\n  GetAdminCampaignsSequenceStepsSequenceBySequenceIdData,\n  GetAdminCampaignsSequenceStepsSequenceBySequenceIdErrors,\n  GetAdminCampaignsSequenceStepsSequenceBySequenceIdResponses,\n  GetAdminCampaignsSequencesWorkspaceByWorkspaceIdData,\n  GetAdminCampaignsSequencesWorkspaceByWorkspaceIdErrors,\n  GetAdminCampaignsSequencesWorkspaceByWorkspaceIdResponses,\n  GetAdminCaseDocumentLinksByIdData,\n  GetAdminCaseDocumentLinksByIdErrors,\n  GetAdminCaseDocumentLinksByIdResponses,\n  GetAdminCaseDocumentLinksData,\n  GetAdminCaseDocumentLinksErrors,\n  GetAdminCaseDocumentLinksResponses,\n  GetAdminCaseEntityLinksByIdData,\n  GetAdminCaseEntityLinksByIdErrors,\n  GetAdminCaseEntityLinksByIdResponses,\n  GetAdminCaseEntityLinksData,\n  GetAdminCaseEntityLinksErrors,\n  GetAdminCaseEntityLinksResponses,\n  GetAdminCasePipelineLinksByIdData,\n  GetAdminCasePipelineLinksByIdErrors,\n  GetAdminCasePipelineLinksByIdResponses,\n  GetAdminCasePipelineLinksData,\n  GetAdminCasePipelineLinksErrors,\n  GetAdminCasePipelineLinksResponses,\n  GetAdminCasesAttentionData,\n  GetAdminCasesAttentionErrors,\n  GetAdminCasesAttentionResponses,\n  GetAdminCasesAttentionSummaryData,\n  GetAdminCasesAttentionSummaryErrors,\n  GetAdminCasesAttentionSummaryResponses,\n  GetAdminCasesByIdData,\n  GetAdminCasesByIdErrors,\n  GetAdminCasesByIdResponses,\n  GetAdminCasesData,\n  GetAdminCasesErrors,\n  GetAdminCasesResponses,\n  GetAdminCaseTypesByIdData,\n  GetAdminCaseTypesByIdErrors,\n  GetAdminCaseTypesByIdResponses,\n  GetAdminCaseTypesData,\n  GetAdminCaseTypesErrors,\n  GetAdminCaseTypesResponses,\n  GetAdminCatalogClassificationSuggestionsByIdData,\n  GetAdminCatalogClassificationSuggestionsByIdErrors,\n  GetAdminCatalogClassificationSuggestionsByIdResponses,\n  GetAdminCatalogClassificationSuggestionsWorkspaceByWorkspaceIdPendingData,\n  GetAdminCatalogClassificationSuggestionsWorkspaceByWorkspaceIdPendingErrors,\n  GetAdminCatalogClassificationSuggestionsWorkspaceByWorkspaceIdPendingResponses,\n  GetAdminCatalogOptionTypesApplicationByApplicationIdData,\n  GetAdminCatalogOptionTypesApplicationByApplicationIdErrors,\n  GetAdminCatalogOptionTypesApplicationByApplicationIdResponses,\n  GetAdminCatalogOptionTypesByIdData,\n  GetAdminCatalogOptionTypesByIdErrors,\n  GetAdminCatalogOptionTypesByIdResponses,\n  GetAdminCatalogOptionValuesByIdData,\n  GetAdminCatalogOptionValuesByIdErrors,\n  GetAdminCatalogOptionValuesByIdResponses,\n  GetAdminCatalogOptionValuesOptionTypeByOptionTypeIdData,\n  GetAdminCatalogOptionValuesOptionTypeByOptionTypeIdErrors,\n  GetAdminCatalogOptionValuesOptionTypeByOptionTypeIdResponses,\n  GetAdminCatalogPriceListEntriesPriceListByPriceListIdData,\n  GetAdminCatalogPriceListEntriesPriceListByPriceListIdErrors,\n  GetAdminCatalogPriceListEntriesPriceListByPriceListIdResponses,\n  GetAdminCatalogPriceListsApplicationByApplicationIdData,\n  GetAdminCatalogPriceListsApplicationByApplicationIdErrors,\n  GetAdminCatalogPriceListsApplicationByApplicationIdResponses,\n  GetAdminCatalogPriceListsByIdData,\n  GetAdminCatalogPriceListsByIdErrors,\n  GetAdminCatalogPriceListsByIdResponses,\n  GetAdminCatalogPriceSuggestionsByIdData,\n  GetAdminCatalogPriceSuggestionsByIdErrors,\n  GetAdminCatalogPriceSuggestionsByIdResponses,\n  GetAdminCatalogPriceSuggestionsWorkspaceByWorkspaceIdData,\n  GetAdminCatalogPriceSuggestionsWorkspaceByWorkspaceIdErrors,\n  GetAdminCatalogPriceSuggestionsWorkspaceByWorkspaceIdResponses,\n  GetAdminCatalogProductsByIdData,\n  GetAdminCatalogProductsByIdErrors,\n  GetAdminCatalogProductsByIdResponses,\n  GetAdminCatalogProductsWorkspaceByWorkspaceIdData,\n  GetAdminCatalogProductsWorkspaceByWorkspaceIdErrors,\n  GetAdminCatalogProductsWorkspaceByWorkspaceIdResponses,\n  GetAdminCatalogProductVariantsByIdData,\n  GetAdminCatalogProductVariantsByIdErrors,\n  GetAdminCatalogProductVariantsByIdResponses,\n  GetAdminCatalogProductVariantsProductByProductIdData,\n  GetAdminCatalogProductVariantsProductByProductIdErrors,\n  GetAdminCatalogProductVariantsProductByProductIdResponses,\n  GetAdminCatalogStockLocationsByIdData,\n  GetAdminCatalogStockLocationsByIdErrors,\n  GetAdminCatalogStockLocationsByIdResponses,\n  GetAdminCatalogStockLocationsWorkspaceByWorkspaceIdData,\n  GetAdminCatalogStockLocationsWorkspaceByWorkspaceIdErrors,\n  GetAdminCatalogStockLocationsWorkspaceByWorkspaceIdResponses,\n  GetAdminCatalogStockMovementsByIdData,\n  GetAdminCatalogStockMovementsByIdErrors,\n  GetAdminCatalogStockMovementsByIdResponses,\n  GetAdminCatalogStockMovementsTransactionByTransactionIdData,\n  GetAdminCatalogStockMovementsTransactionByTransactionIdErrors,\n  GetAdminCatalogStockMovementsTransactionByTransactionIdResponses,\n  GetAdminCatalogStockRecordsByIdData,\n  GetAdminCatalogStockRecordsByIdErrors,\n  GetAdminCatalogStockRecordsByIdResponses,\n  GetAdminCatalogStockRecordsLocationByStockLocationIdData,\n  GetAdminCatalogStockRecordsLocationByStockLocationIdErrors,\n  GetAdminCatalogStockRecordsLocationByStockLocationIdResponses,\n  GetAdminCatalogTaxonomiesApplicationByApplicationIdData,\n  GetAdminCatalogTaxonomiesApplicationByApplicationIdErrors,\n  GetAdminCatalogTaxonomiesApplicationByApplicationIdResponses,\n  GetAdminCatalogTaxonomiesByIdData,\n  GetAdminCatalogTaxonomiesByIdErrors,\n  GetAdminCatalogTaxonomiesByIdResponses,\n  GetAdminCatalogTaxonomyNodesByIdData,\n  GetAdminCatalogTaxonomyNodesByIdErrors,\n  GetAdminCatalogTaxonomyNodesByIdResponses,\n  GetAdminCatalogTaxonomyNodesTaxonomyByTaxonomyIdData,\n  GetAdminCatalogTaxonomyNodesTaxonomyByTaxonomyIdErrors,\n  GetAdminCatalogTaxonomyNodesTaxonomyByTaxonomyIdResponses,\n  GetAdminCatalogViewsByIdData,\n  GetAdminCatalogViewsByIdErrors,\n  GetAdminCatalogViewsByIdResponses,\n  GetAdminCatalogViewsWorkspaceByWorkspaceIdData,\n  GetAdminCatalogViewsWorkspaceByWorkspaceIdErrors,\n  GetAdminCatalogViewsWorkspaceByWorkspaceIdResponses,\n  GetAdminCdeScopeReportsByIdData,\n  GetAdminCdeScopeReportsByIdErrors,\n  GetAdminCdeScopeReportsByIdResponses,\n  GetAdminCdeScopeReportsData,\n  GetAdminCdeScopeReportsErrors,\n  GetAdminCdeScopeReportsResponses,\n  GetAdminClaimedDomainsByIdData,\n  GetAdminClaimedDomainsByIdErrors,\n  GetAdminClaimedDomainsByIdResponses,\n  GetAdminClaimedDomainsData,\n  GetAdminClaimedDomainsErrors,\n  GetAdminClaimedDomainsResponses,\n  GetAdminClinicalClientGoalsArchivedData,\n  GetAdminClinicalClientGoalsArchivedErrors,\n  GetAdminClinicalClientGoalsArchivedResponses,\n  GetAdminClinicalClientGoalsByIdData,\n  GetAdminClinicalClientGoalsByIdErrors,\n  GetAdminClinicalClientGoalsByIdResponses,\n  GetAdminClinicalClientGoalsData,\n  GetAdminClinicalClientGoalsErrors,\n  GetAdminClinicalClientGoalsResponses,\n  GetAdminClinicalClientMedicationsArchivedData,\n  GetAdminClinicalClientMedicationsArchivedErrors,\n  GetAdminClinicalClientMedicationsArchivedResponses,\n  GetAdminClinicalClientMedicationsByIdData,\n  GetAdminClinicalClientMedicationsByIdErrors,\n  GetAdminClinicalClientMedicationsByIdResponses,\n  GetAdminClinicalClientMedicationsData,\n  GetAdminClinicalClientMedicationsErrors,\n  GetAdminClinicalClientMedicationsResponses,\n  GetAdminClinicalClientResourceAssignmentsArchivedData,\n  GetAdminClinicalClientResourceAssignmentsArchivedErrors,\n  GetAdminClinicalClientResourceAssignmentsArchivedResponses,\n  GetAdminClinicalClientResourceAssignmentsByIdData,\n  GetAdminClinicalClientResourceAssignmentsByIdErrors,\n  GetAdminClinicalClientResourceAssignmentsByIdResponses,\n  GetAdminClinicalClientResourceAssignmentsData,\n  GetAdminClinicalClientResourceAssignmentsErrors,\n  GetAdminClinicalClientResourceAssignmentsResponses,\n  GetAdminClinicalClientSupplementsArchivedData,\n  GetAdminClinicalClientSupplementsArchivedErrors,\n  GetAdminClinicalClientSupplementsArchivedResponses,\n  GetAdminClinicalClientSupplementsByIdData,\n  GetAdminClinicalClientSupplementsByIdErrors,\n  GetAdminClinicalClientSupplementsByIdResponses,\n  GetAdminClinicalClientSupplementsData,\n  GetAdminClinicalClientSupplementsErrors,\n  GetAdminClinicalClientSupplementsResponses,\n  GetAdminClinicalDeliveriesByIdData,\n  GetAdminClinicalDeliveriesByIdErrors,\n  GetAdminClinicalDeliveriesByIdResponses,\n  GetAdminClinicalDeliveriesBySessionData,\n  GetAdminClinicalDeliveriesBySessionErrors,\n  GetAdminClinicalDeliveriesBySessionResponses,\n  GetAdminClinicalDeliveriesData,\n  GetAdminClinicalDeliveriesErrors,\n  GetAdminClinicalDeliveriesResponses,\n  GetAdminClinicalDocumentsByIdData,\n  GetAdminClinicalDocumentsByIdErrors,\n  GetAdminClinicalDocumentsByIdResponses,\n  GetAdminClinicalDocumentsData,\n  GetAdminClinicalDocumentsErrors,\n  GetAdminClinicalDocumentsPatientsByIdDocumentsData,\n  GetAdminClinicalDocumentsPatientsByIdDocumentsErrors,\n  GetAdminClinicalDocumentsPatientsByIdDocumentsResponses,\n  GetAdminClinicalDocumentsResponses,\n  GetAdminClinicalGoalAssociationsByIdData,\n  GetAdminClinicalGoalAssociationsByIdErrors,\n  GetAdminClinicalGoalAssociationsByIdResponses,\n  GetAdminClinicalGoalAssociationsData,\n  GetAdminClinicalGoalAssociationsErrors,\n  GetAdminClinicalGoalAssociationsResponses,\n  GetAdminClinicalGoalTemplateCollectionMembershipsByIdData,\n  GetAdminClinicalGoalTemplateCollectionMembershipsByIdErrors,\n  GetAdminClinicalGoalTemplateCollectionMembershipsByIdResponses,\n  GetAdminClinicalGoalTemplateCollectionMembershipsCollectionByCollectionIdData,\n  GetAdminClinicalGoalTemplateCollectionMembershipsCollectionByCollectionIdErrors,\n  GetAdminClinicalGoalTemplateCollectionMembershipsCollectionByCollectionIdResponses,\n  GetAdminClinicalGoalTemplateCollectionsByIdData,\n  GetAdminClinicalGoalTemplateCollectionsByIdErrors,\n  GetAdminClinicalGoalTemplateCollectionsByIdResponses,\n  GetAdminClinicalGoalTemplateCollectionsData,\n  GetAdminClinicalGoalTemplateCollectionsErrors,\n  GetAdminClinicalGoalTemplateCollectionsResponses,\n  GetAdminClinicalGoalTemplatesArchivedData,\n  GetAdminClinicalGoalTemplatesArchivedErrors,\n  GetAdminClinicalGoalTemplatesArchivedResponses,\n  GetAdminClinicalGoalTemplatesByIdData,\n  GetAdminClinicalGoalTemplatesByIdErrors,\n  GetAdminClinicalGoalTemplatesByIdResponses,\n  GetAdminClinicalGoalTemplatesCatalogArchivedData,\n  GetAdminClinicalGoalTemplatesCatalogArchivedErrors,\n  GetAdminClinicalGoalTemplatesCatalogArchivedResponses,\n  GetAdminClinicalGoalTemplatesCatalogByIdData,\n  GetAdminClinicalGoalTemplatesCatalogByIdErrors,\n  GetAdminClinicalGoalTemplatesCatalogByIdResponses,\n  GetAdminClinicalGoalTemplatesCatalogData,\n  GetAdminClinicalGoalTemplatesCatalogErrors,\n  GetAdminClinicalGoalTemplatesCatalogResponses,\n  GetAdminClinicalGoalTemplatesCategoriesCatalogData,\n  GetAdminClinicalGoalTemplatesCategoriesCatalogErrors,\n  GetAdminClinicalGoalTemplatesCategoriesCatalogResponses,\n  GetAdminClinicalGoalTemplatesCategoriesData,\n  GetAdminClinicalGoalTemplatesCategoriesErrors,\n  GetAdminClinicalGoalTemplatesCategoriesResponses,\n  GetAdminClinicalGoalTemplatesData,\n  GetAdminClinicalGoalTemplatesErrors,\n  GetAdminClinicalGoalTemplatesMineData,\n  GetAdminClinicalGoalTemplatesMineErrors,\n  GetAdminClinicalGoalTemplatesMineResponses,\n  GetAdminClinicalGoalTemplatesResponses,\n  GetAdminClinicalHealthMetricsArchivedData,\n  GetAdminClinicalHealthMetricsArchivedErrors,\n  GetAdminClinicalHealthMetricsArchivedResponses,\n  GetAdminClinicalHealthMetricsByIdData,\n  GetAdminClinicalHealthMetricsByIdErrors,\n  GetAdminClinicalHealthMetricsByIdResponses,\n  GetAdminClinicalHealthMetricsBySessionData,\n  GetAdminClinicalHealthMetricsBySessionErrors,\n  GetAdminClinicalHealthMetricsBySessionResponses,\n  GetAdminClinicalHealthMetricsByTypeData,\n  GetAdminClinicalHealthMetricsByTypeErrors,\n  GetAdminClinicalHealthMetricsByTypeResponses,\n  GetAdminClinicalHealthMetricsData,\n  GetAdminClinicalHealthMetricsErrors,\n  GetAdminClinicalHealthMetricsResponses,\n  GetAdminClinicalInsuranceAuthorizationsByIdData,\n  GetAdminClinicalInsuranceAuthorizationsByIdErrors,\n  GetAdminClinicalInsuranceAuthorizationsByIdResponses,\n  GetAdminClinicalInsuranceAuthorizationsByWorkspaceData,\n  GetAdminClinicalInsuranceAuthorizationsByWorkspaceErrors,\n  GetAdminClinicalInsuranceAuthorizationsByWorkspaceResponses,\n  GetAdminClinicalInsuranceAuthorizationsData,\n  GetAdminClinicalInsuranceAuthorizationsErrors,\n  GetAdminClinicalInsuranceAuthorizationsExpiringData,\n  GetAdminClinicalInsuranceAuthorizationsExpiringErrors,\n  GetAdminClinicalInsuranceAuthorizationsExpiringResponses,\n  GetAdminClinicalInsuranceAuthorizationsResponses,\n  GetAdminClinicalIntakeTargetsActiveByPatientIdData,\n  GetAdminClinicalIntakeTargetsActiveByPatientIdErrors,\n  GetAdminClinicalIntakeTargetsActiveByPatientIdResponses,\n  GetAdminClinicalIntakeTargetsArchivedData,\n  GetAdminClinicalIntakeTargetsArchivedErrors,\n  GetAdminClinicalIntakeTargetsArchivedResponses,\n  GetAdminClinicalIntakeTargetsByIdData,\n  GetAdminClinicalIntakeTargetsByIdErrors,\n  GetAdminClinicalIntakeTargetsByIdResponses,\n  GetAdminClinicalIntakeTargetsByWorkspaceData,\n  GetAdminClinicalIntakeTargetsByWorkspaceErrors,\n  GetAdminClinicalIntakeTargetsByWorkspaceResponses,\n  GetAdminClinicalIntakeTargetsData,\n  GetAdminClinicalIntakeTargetsErrors,\n  GetAdminClinicalIntakeTargetsResponses,\n  GetAdminClinicalMealPlansArchivedData,\n  GetAdminClinicalMealPlansArchivedErrors,\n  GetAdminClinicalMealPlansArchivedResponses,\n  GetAdminClinicalMealPlansByIdData,\n  GetAdminClinicalMealPlansByIdErrors,\n  GetAdminClinicalMealPlansByIdResponses,\n  GetAdminClinicalMealPlansByMealScheduleData,\n  GetAdminClinicalMealPlansByMealScheduleErrors,\n  GetAdminClinicalMealPlansByMealScheduleResponses,\n  GetAdminClinicalMealPlansByPatientData,\n  GetAdminClinicalMealPlansByPatientErrors,\n  GetAdminClinicalMealPlansByPatientResponses,\n  GetAdminClinicalMealPlansByWorkspaceData,\n  GetAdminClinicalMealPlansByWorkspaceErrors,\n  GetAdminClinicalMealPlansByWorkspaceResponses,\n  GetAdminClinicalMealPlansData,\n  GetAdminClinicalMealPlansErrors,\n  GetAdminClinicalMealPlansResponses,\n  GetAdminClinicalNotesArchivedData,\n  GetAdminClinicalNotesArchivedErrors,\n  GetAdminClinicalNotesArchivedResponses,\n  GetAdminClinicalNotesByIdData,\n  GetAdminClinicalNotesByIdErrors,\n  GetAdminClinicalNotesByIdResponses,\n  GetAdminClinicalNotesByNoteIdVersionsByIdData,\n  GetAdminClinicalNotesByNoteIdVersionsByIdErrors,\n  GetAdminClinicalNotesByNoteIdVersionsByIdResponses,\n  GetAdminClinicalNotesByNoteIdVersionsData,\n  GetAdminClinicalNotesByNoteIdVersionsErrors,\n  GetAdminClinicalNotesByNoteIdVersionsResponses,\n  GetAdminClinicalNotesByPatientData,\n  GetAdminClinicalNotesByPatientErrors,\n  GetAdminClinicalNotesByPatientResponses,\n  GetAdminClinicalNotesByWorkspaceData,\n  GetAdminClinicalNotesByWorkspaceErrors,\n  GetAdminClinicalNotesByWorkspaceResponses,\n  GetAdminClinicalNotesData,\n  GetAdminClinicalNotesErrors,\n  GetAdminClinicalNotesResponses,\n  GetAdminClinicalNoteTemplatesArchivedData,\n  GetAdminClinicalNoteTemplatesArchivedErrors,\n  GetAdminClinicalNoteTemplatesArchivedResponses,\n  GetAdminClinicalNoteTemplatesByIdData,\n  GetAdminClinicalNoteTemplatesByIdErrors,\n  GetAdminClinicalNoteTemplatesByIdResponses,\n  GetAdminClinicalNoteTemplatesCatalogArchivedData,\n  GetAdminClinicalNoteTemplatesCatalogArchivedErrors,\n  GetAdminClinicalNoteTemplatesCatalogArchivedResponses,\n  GetAdminClinicalNoteTemplatesCatalogByIdData,\n  GetAdminClinicalNoteTemplatesCatalogByIdErrors,\n  GetAdminClinicalNoteTemplatesCatalogByIdResponses,\n  GetAdminClinicalNoteTemplatesCatalogData,\n  GetAdminClinicalNoteTemplatesCatalogErrors,\n  GetAdminClinicalNoteTemplatesCatalogResponses,\n  GetAdminClinicalNoteTemplatesData,\n  GetAdminClinicalNoteTemplatesErrors,\n  GetAdminClinicalNoteTemplatesMineData,\n  GetAdminClinicalNoteTemplatesMineErrors,\n  GetAdminClinicalNoteTemplatesMineResponses,\n  GetAdminClinicalNoteTemplatesResponses,\n  GetAdminClinicalPatientInsuranceByIdData,\n  GetAdminClinicalPatientInsuranceByIdErrors,\n  GetAdminClinicalPatientInsuranceByIdResponses,\n  GetAdminClinicalPatientInsuranceByWorkspaceData,\n  GetAdminClinicalPatientInsuranceByWorkspaceErrors,\n  GetAdminClinicalPatientInsuranceByWorkspaceResponses,\n  GetAdminClinicalPatientInsuranceData,\n  GetAdminClinicalPatientInsuranceErrors,\n  GetAdminClinicalPatientInsuranceResponses,\n  GetAdminClinicalPatientsByIdData,\n  GetAdminClinicalPatientsByIdErrors,\n  GetAdminClinicalPatientsByIdGoalsData,\n  GetAdminClinicalPatientsByIdGoalsErrors,\n  GetAdminClinicalPatientsByIdGoalsResponses,\n  GetAdminClinicalPatientsByIdHealthMetricsData,\n  GetAdminClinicalPatientsByIdHealthMetricsErrors,\n  GetAdminClinicalPatientsByIdHealthMetricsResponses,\n  GetAdminClinicalPatientsByIdInsuranceRecordsData,\n  GetAdminClinicalPatientsByIdInsuranceRecordsErrors,\n  GetAdminClinicalPatientsByIdInsuranceRecordsResponses,\n  GetAdminClinicalPatientsByIdMedicationsData,\n  GetAdminClinicalPatientsByIdMedicationsErrors,\n  GetAdminClinicalPatientsByIdMedicationsResponses,\n  GetAdminClinicalPatientsByIdResourceAssignmentsData,\n  GetAdminClinicalPatientsByIdResourceAssignmentsErrors,\n  GetAdminClinicalPatientsByIdResourceAssignmentsResponses,\n  GetAdminClinicalPatientsByIdResponses,\n  GetAdminClinicalPatientsByIdSupplementsData,\n  GetAdminClinicalPatientsByIdSupplementsErrors,\n  GetAdminClinicalPatientsByIdSupplementsResponses,\n  GetAdminClinicalPatientsData,\n  GetAdminClinicalPatientsErrors,\n  GetAdminClinicalPatientsResponses,\n  GetAdminClinicalPracticeResourcesArchivedData,\n  GetAdminClinicalPracticeResourcesArchivedErrors,\n  GetAdminClinicalPracticeResourcesArchivedResponses,\n  GetAdminClinicalPracticeResourcesByIdData,\n  GetAdminClinicalPracticeResourcesByIdErrors,\n  GetAdminClinicalPracticeResourcesByIdResponses,\n  GetAdminClinicalPracticeResourcesCatalogArchivedData,\n  GetAdminClinicalPracticeResourcesCatalogArchivedErrors,\n  GetAdminClinicalPracticeResourcesCatalogArchivedResponses,\n  GetAdminClinicalPracticeResourcesCatalogByIdData,\n  GetAdminClinicalPracticeResourcesCatalogByIdErrors,\n  GetAdminClinicalPracticeResourcesCatalogByIdResponses,\n  GetAdminClinicalPracticeResourcesCatalogData,\n  GetAdminClinicalPracticeResourcesCatalogErrors,\n  GetAdminClinicalPracticeResourcesCatalogResponses,\n  GetAdminClinicalPracticeResourcesCategoriesCatalogData,\n  GetAdminClinicalPracticeResourcesCategoriesCatalogErrors,\n  GetAdminClinicalPracticeResourcesCategoriesCatalogResponses,\n  GetAdminClinicalPracticeResourcesCategoriesData,\n  GetAdminClinicalPracticeResourcesCategoriesErrors,\n  GetAdminClinicalPracticeResourcesCategoriesResponses,\n  GetAdminClinicalPracticeResourcesData,\n  GetAdminClinicalPracticeResourcesErrors,\n  GetAdminClinicalPracticeResourcesResponses,\n  GetAdminClinicalPracticeToolsArchivedData,\n  GetAdminClinicalPracticeToolsArchivedErrors,\n  GetAdminClinicalPracticeToolsArchivedResponses,\n  GetAdminClinicalPracticeToolsByIdData,\n  GetAdminClinicalPracticeToolsByIdErrors,\n  GetAdminClinicalPracticeToolsByIdResponses,\n  GetAdminClinicalPracticeToolsCatalogArchivedData,\n  GetAdminClinicalPracticeToolsCatalogArchivedErrors,\n  GetAdminClinicalPracticeToolsCatalogArchivedResponses,\n  GetAdminClinicalPracticeToolsCatalogByIdData,\n  GetAdminClinicalPracticeToolsCatalogByIdErrors,\n  GetAdminClinicalPracticeToolsCatalogByIdResponses,\n  GetAdminClinicalPracticeToolsCatalogData,\n  GetAdminClinicalPracticeToolsCatalogErrors,\n  GetAdminClinicalPracticeToolsCatalogResponses,\n  GetAdminClinicalPracticeToolsCategoriesCatalogData,\n  GetAdminClinicalPracticeToolsCategoriesCatalogErrors,\n  GetAdminClinicalPracticeToolsCategoriesCatalogResponses,\n  GetAdminClinicalPracticeToolsCategoriesData,\n  GetAdminClinicalPracticeToolsCategoriesErrors,\n  GetAdminClinicalPracticeToolsCategoriesResponses,\n  GetAdminClinicalPracticeToolsData,\n  GetAdminClinicalPracticeToolsErrors,\n  GetAdminClinicalPracticeToolsResponses,\n  GetAdminClinicalSessionsByIdData,\n  GetAdminClinicalSessionsByIdErrors,\n  GetAdminClinicalSessionsByIdMealPlansData,\n  GetAdminClinicalSessionsByIdMealPlansErrors,\n  GetAdminClinicalSessionsByIdMealPlansResponses,\n  GetAdminClinicalSessionsByIdResponses,\n  GetAdminClinicalSessionsByIdSessionNotesData,\n  GetAdminClinicalSessionsByIdSessionNotesErrors,\n  GetAdminClinicalSessionsByIdSessionNotesResponses,\n  GetAdminClinicalSessionsByPatientData,\n  GetAdminClinicalSessionsByPatientErrors,\n  GetAdminClinicalSessionsByPatientResponses,\n  GetAdminClinicalSessionsData,\n  GetAdminClinicalSessionsErrors,\n  GetAdminClinicalSessionsResponses,\n  GetAdminClinicalSupplementRecCacheByIdData,\n  GetAdminClinicalSupplementRecCacheByIdErrors,\n  GetAdminClinicalSupplementRecCacheByIdResponses,\n  GetAdminClinicalSupplementRecCacheData,\n  GetAdminClinicalSupplementRecCacheErrors,\n  GetAdminClinicalSupplementRecCacheResponses,\n  GetAdminClinicalSupplementTemplateCollectionMembershipsByIdData,\n  GetAdminClinicalSupplementTemplateCollectionMembershipsByIdErrors,\n  GetAdminClinicalSupplementTemplateCollectionMembershipsByIdResponses,\n  GetAdminClinicalSupplementTemplateCollectionMembershipsCollectionByCollectionIdData,\n  GetAdminClinicalSupplementTemplateCollectionMembershipsCollectionByCollectionIdErrors,\n  GetAdminClinicalSupplementTemplateCollectionMembershipsCollectionByCollectionIdResponses,\n  GetAdminClinicalSupplementTemplateCollectionsByIdData,\n  GetAdminClinicalSupplementTemplateCollectionsByIdErrors,\n  GetAdminClinicalSupplementTemplateCollectionsByIdResponses,\n  GetAdminClinicalSupplementTemplateCollectionsData,\n  GetAdminClinicalSupplementTemplateCollectionsErrors,\n  GetAdminClinicalSupplementTemplateCollectionsResponses,\n  GetAdminClinicalSupplementTemplatesArchivedData,\n  GetAdminClinicalSupplementTemplatesArchivedErrors,\n  GetAdminClinicalSupplementTemplatesArchivedResponses,\n  GetAdminClinicalSupplementTemplatesByIdData,\n  GetAdminClinicalSupplementTemplatesByIdErrors,\n  GetAdminClinicalSupplementTemplatesByIdResponses,\n  GetAdminClinicalSupplementTemplatesCatalogArchivedData,\n  GetAdminClinicalSupplementTemplatesCatalogArchivedErrors,\n  GetAdminClinicalSupplementTemplatesCatalogArchivedResponses,\n  GetAdminClinicalSupplementTemplatesCatalogByIdData,\n  GetAdminClinicalSupplementTemplatesCatalogByIdErrors,\n  GetAdminClinicalSupplementTemplatesCatalogByIdResponses,\n  GetAdminClinicalSupplementTemplatesCatalogData,\n  GetAdminClinicalSupplementTemplatesCatalogErrors,\n  GetAdminClinicalSupplementTemplatesCatalogResponses,\n  GetAdminClinicalSupplementTemplatesData,\n  GetAdminClinicalSupplementTemplatesErrors,\n  GetAdminClinicalSupplementTemplatesMineData,\n  GetAdminClinicalSupplementTemplatesMineErrors,\n  GetAdminClinicalSupplementTemplatesMineResponses,\n  GetAdminClinicalSupplementTemplatesResponses,\n  GetAdminComplianceDocumentTemplatesByIdData,\n  GetAdminComplianceDocumentTemplatesByIdErrors,\n  GetAdminComplianceDocumentTemplatesByIdResponses,\n  GetAdminComplianceDocumentTemplatesData,\n  GetAdminComplianceDocumentTemplatesErrors,\n  GetAdminComplianceDocumentTemplatesResponses,\n  GetAdminComplianceOfficerDesignationsByIdData,\n  GetAdminComplianceOfficerDesignationsByIdErrors,\n  GetAdminComplianceOfficerDesignationsByIdResponses,\n  GetAdminComplianceOfficerDesignationsData,\n  GetAdminComplianceOfficerDesignationsErrors,\n  GetAdminComplianceOfficerDesignationsResponses,\n  GetAdminCompliancePostureData,\n  GetAdminCompliancePostureErrors,\n  GetAdminCompliancePostureResponses,\n  GetAdminComplianceRequirementCompletionsByIdData,\n  GetAdminComplianceRequirementCompletionsByIdErrors,\n  GetAdminComplianceRequirementCompletionsByIdResponses,\n  GetAdminComplianceRequirementCompletionsData,\n  GetAdminComplianceRequirementCompletionsErrors,\n  GetAdminComplianceRequirementCompletionsResponses,\n  GetAdminComplianceRequirementsByIdData,\n  GetAdminComplianceRequirementsByIdErrors,\n  GetAdminComplianceRequirementsByIdResponses,\n  GetAdminComplianceRequirementsData,\n  GetAdminComplianceRequirementsErrors,\n  GetAdminComplianceRequirementsResponses,\n  GetAdminCompositeOperationsByIdData,\n  GetAdminCompositeOperationsByIdErrors,\n  GetAdminCompositeOperationsByIdResponses,\n  GetAdminCompositeOperationsData,\n  GetAdminCompositeOperationsErrors,\n  GetAdminCompositeOperationsResponses,\n  GetAdminConfigsData,\n  GetAdminConfigsErrors,\n  GetAdminConfigsResponses,\n  GetAdminConnectorsByIdData,\n  GetAdminConnectorsByIdErrors,\n  GetAdminConnectorsByIdHealthieStatusData,\n  GetAdminConnectorsByIdHealthieStatusErrors,\n  GetAdminConnectorsByIdHealthieStatusResponses,\n  GetAdminConnectorsByIdResponses,\n  GetAdminConnectorsCredentialsByIdData,\n  GetAdminConnectorsCredentialsByIdErrors,\n  GetAdminConnectorsCredentialsByIdResponses,\n  GetAdminConnectorsCredentialsData,\n  GetAdminConnectorsCredentialsErrors,\n  GetAdminConnectorsCredentialsResponses,\n  GetAdminConnectorsOauthAppConfigsByIdData,\n  GetAdminConnectorsOauthAppConfigsByIdErrors,\n  GetAdminConnectorsOauthAppConfigsByIdResponses,\n  GetAdminConnectorsOauthAppConfigsData,\n  GetAdminConnectorsOauthAppConfigsErrors,\n  GetAdminConnectorsOauthAppConfigsResponses,\n  GetAdminConnectorsSyncLogsByIdData,\n  GetAdminConnectorsSyncLogsByIdErrors,\n  GetAdminConnectorsSyncLogsByIdResponses,\n  GetAdminConnectorsSyncLogsData,\n  GetAdminConnectorsSyncLogsErrors,\n  GetAdminConnectorsSyncLogsResponses,\n  GetAdminConnectorsWorkspaceByWorkspaceIdData,\n  GetAdminConnectorsWorkspaceByWorkspaceIdErrors,\n  GetAdminConnectorsWorkspaceByWorkspaceIdResponses,\n  GetAdminConsentRecordsActiveData,\n  GetAdminConsentRecordsActiveErrors,\n  GetAdminConsentRecordsActiveResponses,\n  GetAdminConsentRecordsByIdData,\n  GetAdminConsentRecordsByIdErrors,\n  GetAdminConsentRecordsByIdResponses,\n  GetAdminConsentRecordsData,\n  GetAdminConsentRecordsErrors,\n  GetAdminConsentRecordsResponses,\n  GetAdminContractClausesByIdData,\n  GetAdminContractClausesByIdErrors,\n  GetAdminContractClausesByIdResponses,\n  GetAdminContractClausesData,\n  GetAdminContractClausesErrors,\n  GetAdminContractClausesResponses,\n  GetAdminContractRenewalAlertsByIdData,\n  GetAdminContractRenewalAlertsByIdErrors,\n  GetAdminContractRenewalAlertsByIdResponses,\n  GetAdminContractRenewalAlertsData,\n  GetAdminContractRenewalAlertsErrors,\n  GetAdminContractRenewalAlertsResponses,\n  GetAdminContractsByIdData,\n  GetAdminContractsByIdErrors,\n  GetAdminContractsByIdResponses,\n  GetAdminContractsData,\n  GetAdminContractsErrors,\n  GetAdminContractsResponses,\n  GetAdminCrawlerBrowserSessionsByIdData,\n  GetAdminCrawlerBrowserSessionsByIdErrors,\n  GetAdminCrawlerBrowserSessionsByIdResponses,\n  GetAdminCrawlerBrowserSessionsData,\n  GetAdminCrawlerBrowserSessionsErrors,\n  GetAdminCrawlerBrowserSessionsResponses,\n  GetAdminCrawlerJobsByIdData,\n  GetAdminCrawlerJobsByIdErrors,\n  GetAdminCrawlerJobsByIdResponses,\n  GetAdminCrawlerJobsData,\n  GetAdminCrawlerJobsErrors,\n  GetAdminCrawlerJobsResponses,\n  GetAdminCrawlerNewsMonitorsByIdData,\n  GetAdminCrawlerNewsMonitorsByIdErrors,\n  GetAdminCrawlerNewsMonitorsByIdResponses,\n  GetAdminCrawlerNewsMonitorsData,\n  GetAdminCrawlerNewsMonitorsErrors,\n  GetAdminCrawlerNewsMonitorsResponses,\n  GetAdminCrawlerNewsSummariesByIdData,\n  GetAdminCrawlerNewsSummariesByIdErrors,\n  GetAdminCrawlerNewsSummariesByIdResponses,\n  GetAdminCrawlerNewsSummariesData,\n  GetAdminCrawlerNewsSummariesErrors,\n  GetAdminCrawlerNewsSummariesResponses,\n  GetAdminCrawlerResultsByIdData,\n  GetAdminCrawlerResultsByIdErrors,\n  GetAdminCrawlerResultsByIdResponses,\n  GetAdminCrawlerResultsData,\n  GetAdminCrawlerResultsErrors,\n  GetAdminCrawlerResultsResponses,\n  GetAdminCrawlerSchedulesByIdData,\n  GetAdminCrawlerSchedulesByIdErrors,\n  GetAdminCrawlerSchedulesByIdResponses,\n  GetAdminCrawlerSchedulesData,\n  GetAdminCrawlerSchedulesErrors,\n  GetAdminCrawlerSchedulesResponses,\n  GetAdminCrawlerSiteConfigsByIdData,\n  GetAdminCrawlerSiteConfigsByIdErrors,\n  GetAdminCrawlerSiteConfigsByIdResponses,\n  GetAdminCrawlerSiteConfigsData,\n  GetAdminCrawlerSiteConfigsErrors,\n  GetAdminCrawlerSiteConfigsResponses,\n  GetAdminCreditPackagesByIdData,\n  GetAdminCreditPackagesByIdErrors,\n  GetAdminCreditPackagesByIdResponses,\n  GetAdminCreditPackagesData,\n  GetAdminCreditPackagesErrors,\n  GetAdminCreditPackagesResponses,\n  GetAdminCreditPackagesSlugBySlugData,\n  GetAdminCreditPackagesSlugBySlugErrors,\n  GetAdminCreditPackagesSlugBySlugResponses,\n  GetAdminCrmActivitiesByIdData,\n  GetAdminCrmActivitiesByIdErrors,\n  GetAdminCrmActivitiesByIdResponses,\n  GetAdminCrmActivitiesWorkspaceByWorkspaceIdData,\n  GetAdminCrmActivitiesWorkspaceByWorkspaceIdErrors,\n  GetAdminCrmActivitiesWorkspaceByWorkspaceIdResponses,\n  GetAdminCrmAddressesByIdData,\n  GetAdminCrmAddressesByIdErrors,\n  GetAdminCrmAddressesByIdResponses,\n  GetAdminCrmAddressesEntityByEntityTypeByEntityIdData,\n  GetAdminCrmAddressesEntityByEntityTypeByEntityIdErrors,\n  GetAdminCrmAddressesEntityByEntityTypeByEntityIdResponses,\n  GetAdminCrmCompaniesByIdData,\n  GetAdminCrmCompaniesByIdErrors,\n  GetAdminCrmCompaniesByIdResponses,\n  GetAdminCrmCompaniesWorkspaceByWorkspaceIdData,\n  GetAdminCrmCompaniesWorkspaceByWorkspaceIdErrors,\n  GetAdminCrmCompaniesWorkspaceByWorkspaceIdResponses,\n  GetAdminCrmContactsByIdData,\n  GetAdminCrmContactsByIdErrors,\n  GetAdminCrmContactsByIdResponses,\n  GetAdminCrmContactsWorkspaceByWorkspaceIdArchivedData,\n  GetAdminCrmContactsWorkspaceByWorkspaceIdArchivedErrors,\n  GetAdminCrmContactsWorkspaceByWorkspaceIdArchivedResponses,\n  GetAdminCrmContactsWorkspaceByWorkspaceIdData,\n  GetAdminCrmContactsWorkspaceByWorkspaceIdErrors,\n  GetAdminCrmContactsWorkspaceByWorkspaceIdResponses,\n  GetAdminCrmCustomEntitiesByEntityIdVersionsByIdData,\n  GetAdminCrmCustomEntitiesByEntityIdVersionsByIdErrors,\n  GetAdminCrmCustomEntitiesByEntityIdVersionsByIdResponses,\n  GetAdminCrmCustomEntitiesByEntityIdVersionsData,\n  GetAdminCrmCustomEntitiesByEntityIdVersionsErrors,\n  GetAdminCrmCustomEntitiesByEntityIdVersionsResponses,\n  GetAdminCrmCustomEntitiesByIdData,\n  GetAdminCrmCustomEntitiesByIdErrors,\n  GetAdminCrmCustomEntitiesByIdResponses,\n  GetAdminCrmCustomEntitiesWorkspaceByWorkspaceIdData,\n  GetAdminCrmCustomEntitiesWorkspaceByWorkspaceIdErrors,\n  GetAdminCrmCustomEntitiesWorkspaceByWorkspaceIdResponses,\n  GetAdminCrmDealProductsByIdData,\n  GetAdminCrmDealProductsByIdErrors,\n  GetAdminCrmDealProductsByIdResponses,\n  GetAdminCrmDealProductsData,\n  GetAdminCrmDealProductsErrors,\n  GetAdminCrmDealProductsResponses,\n  GetAdminCrmDealsByIdData,\n  GetAdminCrmDealsByIdErrors,\n  GetAdminCrmDealsByIdResponses,\n  GetAdminCrmDealsWorkspaceByWorkspaceIdData,\n  GetAdminCrmDealsWorkspaceByWorkspaceIdErrors,\n  GetAdminCrmDealsWorkspaceByWorkspaceIdResponses,\n  GetAdminCrmEmailAddressesByIdData,\n  GetAdminCrmEmailAddressesByIdErrors,\n  GetAdminCrmEmailAddressesByIdResponses,\n  GetAdminCrmEmailAddressesEntityByEntityTypeByEntityIdData,\n  GetAdminCrmEmailAddressesEntityByEntityTypeByEntityIdErrors,\n  GetAdminCrmEmailAddressesEntityByEntityTypeByEntityIdResponses,\n  GetAdminCrmExportsByIdData,\n  GetAdminCrmExportsByIdErrors,\n  GetAdminCrmExportsByIdResponses,\n  GetAdminCrmExportsWorkspaceByWorkspaceIdData,\n  GetAdminCrmExportsWorkspaceByWorkspaceIdErrors,\n  GetAdminCrmExportsWorkspaceByWorkspaceIdResponses,\n  GetAdminCrmFieldDefinitionsByIdData,\n  GetAdminCrmFieldDefinitionsByIdErrors,\n  GetAdminCrmFieldDefinitionsByIdResponses,\n  GetAdminCrmFieldDefinitionsEntityTypeByEntityTypeData,\n  GetAdminCrmFieldDefinitionsEntityTypeByEntityTypeErrors,\n  GetAdminCrmFieldDefinitionsEntityTypeByEntityTypeResponses,\n  GetAdminCrmPhoneNumbersByIdData,\n  GetAdminCrmPhoneNumbersByIdErrors,\n  GetAdminCrmPhoneNumbersByIdResponses,\n  GetAdminCrmPhoneNumbersEntityByEntityTypeByEntityIdData,\n  GetAdminCrmPhoneNumbersEntityByEntityTypeByEntityIdErrors,\n  GetAdminCrmPhoneNumbersEntityByEntityTypeByEntityIdResponses,\n  GetAdminCrmPipelinesByIdData,\n  GetAdminCrmPipelinesByIdErrors,\n  GetAdminCrmPipelinesByIdResponses,\n  GetAdminCrmPipelineStagesByIdData,\n  GetAdminCrmPipelineStagesByIdErrors,\n  GetAdminCrmPipelineStagesByIdResponses,\n  GetAdminCrmPipelineStagesPipelineByPipelineIdData,\n  GetAdminCrmPipelineStagesPipelineByPipelineIdErrors,\n  GetAdminCrmPipelineStagesPipelineByPipelineIdResponses,\n  GetAdminCrmPipelinesWorkspaceByWorkspaceIdData,\n  GetAdminCrmPipelinesWorkspaceByWorkspaceIdErrors,\n  GetAdminCrmPipelinesWorkspaceByWorkspaceIdResponses,\n  GetAdminCrmRelationshipsByIdData,\n  GetAdminCrmRelationshipsByIdErrors,\n  GetAdminCrmRelationshipsByIdResponses,\n  GetAdminCrmRelationshipsWorkspaceByWorkspaceIdData,\n  GetAdminCrmRelationshipsWorkspaceByWorkspaceIdErrors,\n  GetAdminCrmRelationshipsWorkspaceByWorkspaceIdResponses,\n  GetAdminCrmRelationshipTypesByIdData,\n  GetAdminCrmRelationshipTypesByIdErrors,\n  GetAdminCrmRelationshipTypesByIdResponses,\n  GetAdminCrmRelationshipTypesData,\n  GetAdminCrmRelationshipTypesErrors,\n  GetAdminCrmRelationshipTypesResponses,\n  GetAdminCrmSocialProfilesByIdData,\n  GetAdminCrmSocialProfilesByIdErrors,\n  GetAdminCrmSocialProfilesByIdResponses,\n  GetAdminCrmSocialProfilesEntityByEntityTypeByEntityIdData,\n  GetAdminCrmSocialProfilesEntityByEntityTypeByEntityIdErrors,\n  GetAdminCrmSocialProfilesEntityByEntityTypeByEntityIdResponses,\n  GetAdminCrmSyncConfigsWorkspaceByWorkspaceIdData,\n  GetAdminCrmSyncConfigsWorkspaceByWorkspaceIdErrors,\n  GetAdminCrmSyncConfigsWorkspaceByWorkspaceIdResponses,\n  GetAdminCrmWebsitesByIdData,\n  GetAdminCrmWebsitesByIdErrors,\n  GetAdminCrmWebsitesByIdResponses,\n  GetAdminCrmWebsitesEntityByEntityTypeByEntityIdData,\n  GetAdminCrmWebsitesEntityByEntityTypeByEntityIdErrors,\n  GetAdminCrmWebsitesEntityByEntityTypeByEntityIdResponses,\n  GetAdminCustomersByIdData,\n  GetAdminCustomersByIdErrors,\n  GetAdminCustomersByIdResponses,\n  GetAdminDataSubjectRequestsByIdData,\n  GetAdminDataSubjectRequestsByIdErrors,\n  GetAdminDataSubjectRequestsByIdResponses,\n  GetAdminDataSubjectRequestsData,\n  GetAdminDataSubjectRequestsErrors,\n  GetAdminDataSubjectRequestsResponses,\n  GetAdminDataTransferRecordsByIdData,\n  GetAdminDataTransferRecordsByIdErrors,\n  GetAdminDataTransferRecordsByIdResponses,\n  GetAdminDataTransferRecordsData,\n  GetAdminDataTransferRecordsErrors,\n  GetAdminDataTransferRecordsResponses,\n  GetAdminDisclosureLogsByIdData,\n  GetAdminDisclosureLogsByIdErrors,\n  GetAdminDisclosureLogsByIdResponses,\n  GetAdminDisclosureLogsBySubjectData,\n  GetAdminDisclosureLogsBySubjectErrors,\n  GetAdminDisclosureLogsBySubjectResponses,\n  GetAdminDisclosureLogsData,\n  GetAdminDisclosureLogsErrors,\n  GetAdminDisclosureLogsResponses,\n  GetAdminDocumentsStatsData,\n  GetAdminDocumentsStatsErrors,\n  GetAdminDocumentsStatsResponses,\n  GetAdminEmailInboundAddressesByIdData,\n  GetAdminEmailInboundAddressesByIdErrors,\n  GetAdminEmailInboundAddressesByIdResponses,\n  GetAdminEmailInboundAddressesWorkspaceByWorkspaceIdData,\n  GetAdminEmailInboundAddressesWorkspaceByWorkspaceIdErrors,\n  GetAdminEmailInboundAddressesWorkspaceByWorkspaceIdResponses,\n  GetAdminEmailInboundReceivedAddressByInboundAddressIdData,\n  GetAdminEmailInboundReceivedAddressByInboundAddressIdErrors,\n  GetAdminEmailInboundReceivedAddressByInboundAddressIdResponses,\n  GetAdminEmailInboundReceivedByIdData,\n  GetAdminEmailInboundReceivedByIdErrors,\n  GetAdminEmailInboundReceivedByIdResponses,\n  GetAdminEmailInboundReceivedWorkspaceByWorkspaceIdData,\n  GetAdminEmailInboundReceivedWorkspaceByWorkspaceIdErrors,\n  GetAdminEmailInboundReceivedWorkspaceByWorkspaceIdResponses,\n  GetAdminEmailInclusionsByIdData,\n  GetAdminEmailInclusionsByIdErrors,\n  GetAdminEmailInclusionsByIdResponses,\n  GetAdminEmailInclusionsEmailByOutboundEmailIdData,\n  GetAdminEmailInclusionsEmailByOutboundEmailIdErrors,\n  GetAdminEmailInclusionsEmailByOutboundEmailIdResponses,\n  GetAdminEmailMarketingCampaignsByIdData,\n  GetAdminEmailMarketingCampaignsByIdErrors,\n  GetAdminEmailMarketingCampaignsByIdResponses,\n  GetAdminEmailMarketingCampaignsWorkspaceByWorkspaceIdData,\n  GetAdminEmailMarketingCampaignsWorkspaceByWorkspaceIdErrors,\n  GetAdminEmailMarketingCampaignsWorkspaceByWorkspaceIdResponses,\n  GetAdminEmailMarketingGeneratedEmailsByIdData,\n  GetAdminEmailMarketingGeneratedEmailsByIdErrors,\n  GetAdminEmailMarketingGeneratedEmailsByIdResponses,\n  GetAdminEmailMarketingGeneratedEmailsCampaignByCampaignIdData,\n  GetAdminEmailMarketingGeneratedEmailsCampaignByCampaignIdErrors,\n  GetAdminEmailMarketingGeneratedEmailsCampaignByCampaignIdResponses,\n  GetAdminEmailMarketingSenderProfilesByIdData,\n  GetAdminEmailMarketingSenderProfilesByIdErrors,\n  GetAdminEmailMarketingSenderProfilesByIdResponses,\n  GetAdminEmailMarketingSenderProfilesWorkspaceByWorkspaceIdData,\n  GetAdminEmailMarketingSenderProfilesWorkspaceByWorkspaceIdErrors,\n  GetAdminEmailMarketingSenderProfilesWorkspaceByWorkspaceIdResponses,\n  GetAdminEmailMarketingTemplatesByIdData,\n  GetAdminEmailMarketingTemplatesByIdErrors,\n  GetAdminEmailMarketingTemplatesByIdResponses,\n  GetAdminEmailMarketingTemplatesWorkspaceByWorkspaceIdData,\n  GetAdminEmailMarketingTemplatesWorkspaceByWorkspaceIdErrors,\n  GetAdminEmailMarketingTemplatesWorkspaceByWorkspaceIdResponses,\n  GetAdminEmailMarketingUnsubscribersByIdData,\n  GetAdminEmailMarketingUnsubscribersByIdErrors,\n  GetAdminEmailMarketingUnsubscribersByIdResponses,\n  GetAdminEmailMarketingUnsubscribersWorkspaceByWorkspaceIdData,\n  GetAdminEmailMarketingUnsubscribersWorkspaceByWorkspaceIdErrors,\n  GetAdminEmailMarketingUnsubscribersWorkspaceByWorkspaceIdResponses,\n  GetAdminEmailOutboundEmailsByIdData,\n  GetAdminEmailOutboundEmailsByIdErrors,\n  GetAdminEmailOutboundEmailsByIdResponses,\n  GetAdminEmailOutboundEmailsWorkspaceByWorkspaceIdContactByContactRefIdData,\n  GetAdminEmailOutboundEmailsWorkspaceByWorkspaceIdContactByContactRefIdErrors,\n  GetAdminEmailOutboundEmailsWorkspaceByWorkspaceIdContactByContactRefIdResponses,\n  GetAdminEmailOutboundEmailsWorkspaceByWorkspaceIdData,\n  GetAdminEmailOutboundEmailsWorkspaceByWorkspaceIdErrors,\n  GetAdminEmailOutboundEmailsWorkspaceByWorkspaceIdResponses,\n  GetAdminEmailRecipientsByIdData,\n  GetAdminEmailRecipientsByIdErrors,\n  GetAdminEmailRecipientsByIdResponses,\n  GetAdminEmailRecipientsEmailByOutboundEmailIdData,\n  GetAdminEmailRecipientsEmailByOutboundEmailIdErrors,\n  GetAdminEmailRecipientsEmailByOutboundEmailIdResponses,\n  GetAdminEmailSendLimitsByIdData,\n  GetAdminEmailSendLimitsByIdErrors,\n  GetAdminEmailSendLimitsByIdResponses,\n  GetAdminEmailSendLimitsWorkspaceByWorkspaceIdData,\n  GetAdminEmailSendLimitsWorkspaceByWorkspaceIdErrors,\n  GetAdminEmailSendLimitsWorkspaceByWorkspaceIdResponses,\n  GetAdminEmailTemplateVersionsByTemplateIdVersionsByVersionNumberData,\n  GetAdminEmailTemplateVersionsByTemplateIdVersionsByVersionNumberErrors,\n  GetAdminEmailTemplateVersionsByTemplateIdVersionsByVersionNumberResponses,\n  GetAdminEmailTemplateVersionsTemplateByTemplateIdData,\n  GetAdminEmailTemplateVersionsTemplateByTemplateIdErrors,\n  GetAdminEmailTemplateVersionsTemplateByTemplateIdResponses,\n  GetAdminEmailTrackingEventsByIdData,\n  GetAdminEmailTrackingEventsByIdErrors,\n  GetAdminEmailTrackingEventsByIdResponses,\n  GetAdminEmailTrackingEventsWorkspaceByWorkspaceIdData,\n  GetAdminEmailTrackingEventsWorkspaceByWorkspaceIdErrors,\n  GetAdminEmailTrackingEventsWorkspaceByWorkspaceIdResponses,\n  GetAdminEphiAssetsByIdData,\n  GetAdminEphiAssetsByIdErrors,\n  GetAdminEphiAssetsByIdResponses,\n  GetAdminEphiAssetsData,\n  GetAdminEphiAssetsErrors,\n  GetAdminEphiAssetsResponses,\n  GetAdminEphiDataFlowsByIdData,\n  GetAdminEphiDataFlowsByIdErrors,\n  GetAdminEphiDataFlowsByIdResponses,\n  GetAdminEphiDataFlowsData,\n  GetAdminEphiDataFlowsErrors,\n  GetAdminEphiDataFlowsResponses,\n  GetAdminExtractionAgentsByIdData,\n  GetAdminExtractionAgentsByIdErrors,\n  GetAdminExtractionAgentsByIdResponses,\n  GetAdminExtractionAgentsData,\n  GetAdminExtractionAgentsErrors,\n  GetAdminExtractionAgentsResponses,\n  GetAdminExtractionAnalysesByIdData,\n  GetAdminExtractionAnalysesByIdErrors,\n  GetAdminExtractionAnalysesByIdResponses,\n  GetAdminExtractionAnalysesByResultByExtractionResultIdData,\n  GetAdminExtractionAnalysesByResultByExtractionResultIdErrors,\n  GetAdminExtractionAnalysesByResultByExtractionResultIdResponses,\n  GetAdminExtractionAnalysesData,\n  GetAdminExtractionAnalysesErrors,\n  GetAdminExtractionAnalysesResponses,\n  GetAdminExtractionBatchesByIdData,\n  GetAdminExtractionBatchesByIdErrors,\n  GetAdminExtractionBatchesByIdResponses,\n  GetAdminExtractionBatchesByIdUploadUrlsData,\n  GetAdminExtractionBatchesByIdUploadUrlsErrors,\n  GetAdminExtractionBatchesByIdUploadUrlsResponses,\n  GetAdminExtractionBatchesWorkspaceByWorkspaceIdData,\n  GetAdminExtractionBatchesWorkspaceByWorkspaceIdErrors,\n  GetAdminExtractionBatchesWorkspaceByWorkspaceIdResponses,\n  GetAdminExtractionChunkEntityLinksByIdData,\n  GetAdminExtractionChunkEntityLinksByIdErrors,\n  GetAdminExtractionChunkEntityLinksByIdResponses,\n  GetAdminExtractionChunkEntityLinksChunkByDocumentChunkIdData,\n  GetAdminExtractionChunkEntityLinksChunkByDocumentChunkIdErrors,\n  GetAdminExtractionChunkEntityLinksChunkByDocumentChunkIdResponses,\n  GetAdminExtractionChunkEntityLinksData,\n  GetAdminExtractionChunkEntityLinksDocumentByDocumentIdData,\n  GetAdminExtractionChunkEntityLinksDocumentByDocumentIdErrors,\n  GetAdminExtractionChunkEntityLinksDocumentByDocumentIdResponses,\n  GetAdminExtractionChunkEntityLinksEntityByGraphNodeIdData,\n  GetAdminExtractionChunkEntityLinksEntityByGraphNodeIdErrors,\n  GetAdminExtractionChunkEntityLinksEntityByGraphNodeIdResponses,\n  GetAdminExtractionChunkEntityLinksErrors,\n  GetAdminExtractionChunkEntityLinksResponses,\n  GetAdminExtractionConfigEnumsByIdData,\n  GetAdminExtractionConfigEnumsByIdErrors,\n  GetAdminExtractionConfigEnumsByIdResponses,\n  GetAdminExtractionConfigEnumsData,\n  GetAdminExtractionConfigEnumsErrors,\n  GetAdminExtractionConfigEnumsResponses,\n  GetAdminExtractionDocumentsByIdData,\n  GetAdminExtractionDocumentsByIdErrors,\n  GetAdminExtractionDocumentsByIdResponses,\n  GetAdminExtractionDocumentsByIdStatusData,\n  GetAdminExtractionDocumentsByIdStatusErrors,\n  GetAdminExtractionDocumentsByIdStatusResponses,\n  GetAdminExtractionDocumentsByIdViewData,\n  GetAdminExtractionDocumentsByIdViewErrors,\n  GetAdminExtractionDocumentsByIdViewResponses,\n  GetAdminExtractionDocumentsData,\n  GetAdminExtractionDocumentsErrors,\n  GetAdminExtractionDocumentsResponses,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusData,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusErrors,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponses,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdData,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdErrors,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedData,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedErrors,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponses,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdResponses,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedData,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrashedData,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrashedErrors,\n  GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponses,\n  GetAdminExtractionDocumentsWorkspaceThroughputData,\n  GetAdminExtractionDocumentsWorkspaceThroughputErrors,\n  GetAdminExtractionDocumentsWorkspaceThroughputResponses,\n  GetAdminExtractionResultsByIdData,\n  GetAdminExtractionResultsByIdErrors,\n  GetAdminExtractionResultsByIdResponses,\n  GetAdminExtractionResultsData,\n  GetAdminExtractionResultsDocumentByDocumentIdData,\n  GetAdminExtractionResultsDocumentByDocumentIdErrors,\n  GetAdminExtractionResultsDocumentByDocumentIdHistoryData,\n  GetAdminExtractionResultsDocumentByDocumentIdHistoryErrors,\n  GetAdminExtractionResultsDocumentByDocumentIdHistoryResponses,\n  GetAdminExtractionResultsDocumentByDocumentIdPartialData,\n  GetAdminExtractionResultsDocumentByDocumentIdPartialErrors,\n  GetAdminExtractionResultsDocumentByDocumentIdPartialResponses,\n  GetAdminExtractionResultsDocumentByDocumentIdResponses,\n  GetAdminExtractionResultsErrors,\n  GetAdminExtractionResultsResponses,\n  GetAdminExtractionResultsWorkspaceByWorkspaceIdData,\n  GetAdminExtractionResultsWorkspaceByWorkspaceIdErrors,\n  GetAdminExtractionResultsWorkspaceByWorkspaceIdResponses,\n  GetAdminExtractionSchemaDiscoveriesByIdData,\n  GetAdminExtractionSchemaDiscoveriesByIdErrors,\n  GetAdminExtractionSchemaDiscoveriesByIdResponses,\n  GetAdminExtractionShadowComparisonsAnalysisData,\n  GetAdminExtractionShadowComparisonsAnalysisErrors,\n  GetAdminExtractionShadowComparisonsAnalysisResponses,\n  GetAdminExtractionShadowComparisonsByIdData,\n  GetAdminExtractionShadowComparisonsByIdErrors,\n  GetAdminExtractionShadowComparisonsByIdResponses,\n  GetAdminExtractionShadowComparisonsData,\n  GetAdminExtractionShadowComparisonsErrors,\n  GetAdminExtractionShadowComparisonsResponses,\n  GetAdminExtractionWorkflowsByIdData,\n  GetAdminExtractionWorkflowsByIdErrors,\n  GetAdminExtractionWorkflowsByIdResponses,\n  GetAdminExtractionWorkflowsData,\n  GetAdminExtractionWorkflowsErrors,\n  GetAdminExtractionWorkflowsResponses,\n  GetAdminFeatureDefinitionsByApplicationByApplicationIdData,\n  GetAdminFeatureDefinitionsByApplicationByApplicationIdErrors,\n  GetAdminFeatureDefinitionsByApplicationByApplicationIdResponses,\n  GetAdminFeatureDefinitionsByIdData,\n  GetAdminFeatureDefinitionsByIdErrors,\n  GetAdminFeatureDefinitionsByIdResponses,\n  GetAdminFeatureDefinitionsData,\n  GetAdminFeatureDefinitionsErrors,\n  GetAdminFeatureDefinitionsResponses,\n  GetAdminFeatureUsagesByIdData,\n  GetAdminFeatureUsagesByIdErrors,\n  GetAdminFeatureUsagesByIdResponses,\n  GetAdminFeatureUsagesByTenantByTenantIdData,\n  GetAdminFeatureUsagesByTenantByTenantIdErrors,\n  GetAdminFeatureUsagesByTenantByTenantIdResponses,\n  GetAdminFeatureUsagesData,\n  GetAdminFeatureUsagesErrors,\n  GetAdminFeatureUsagesResponses,\n  GetAdminFieldTemplatesByIdData,\n  GetAdminFieldTemplatesByIdErrors,\n  GetAdminFieldTemplatesByIdResponses,\n  GetAdminFieldTemplatesData,\n  GetAdminFieldTemplatesErrors,\n  GetAdminFieldTemplatesResponses,\n  GetAdminFormDeploymentsByIdData,\n  GetAdminFormDeploymentsByIdErrors,\n  GetAdminFormDeploymentsByIdResponses,\n  GetAdminFormDeploymentsData,\n  GetAdminFormDeploymentsErrors,\n  GetAdminFormDeploymentsResponses,\n  GetAdminFormGenerationsByIdData,\n  GetAdminFormGenerationsByIdErrors,\n  GetAdminFormGenerationsByIdResponses,\n  GetAdminFormGenerationsData,\n  GetAdminFormGenerationsErrors,\n  GetAdminFormGenerationsResponses,\n  GetAdminFormVersionsByIdData,\n  GetAdminFormVersionsByIdErrors,\n  GetAdminFormVersionsByIdProtectionClassData,\n  GetAdminFormVersionsByIdProtectionClassErrors,\n  GetAdminFormVersionsByIdProtectionClassResponses,\n  GetAdminFormVersionsByIdResponses,\n  GetAdminFormVersionsData,\n  GetAdminFormVersionsErrors,\n  GetAdminFormVersionsResponses,\n  GetAdminImpactAssessmentsByIdData,\n  GetAdminImpactAssessmentsByIdErrors,\n  GetAdminImpactAssessmentsByIdResponses,\n  GetAdminImpactAssessmentsData,\n  GetAdminImpactAssessmentsErrors,\n  GetAdminImpactAssessmentsResponses,\n  GetAdminInvitationsConsumeByTokenData,\n  GetAdminInvitationsConsumeByTokenErrors,\n  GetAdminInvitationsConsumeByTokenResponses,\n  GetAdminInvitationsData,\n  GetAdminInvitationsErrors,\n  GetAdminInvitationsMeData,\n  GetAdminInvitationsMeErrors,\n  GetAdminInvitationsMeResponses,\n  GetAdminInvitationsResponses,\n  GetAdminInvoicesActivitiesByIdData,\n  GetAdminInvoicesActivitiesByIdErrors,\n  GetAdminInvoicesActivitiesByIdResponses,\n  GetAdminInvoicesByIdData,\n  GetAdminInvoicesByIdErrors,\n  GetAdminInvoicesByIdResponses,\n  GetAdminInvoicesContactsByIdData,\n  GetAdminInvoicesContactsByIdErrors,\n  GetAdminInvoicesContactsByIdResponses,\n  GetAdminInvoicesContactsWorkspaceByWorkspaceIdData,\n  GetAdminInvoicesContactsWorkspaceByWorkspaceIdErrors,\n  GetAdminInvoicesContactsWorkspaceByWorkspaceIdResponses,\n  GetAdminInvoicesLinesByIdData,\n  GetAdminInvoicesLinesByIdErrors,\n  GetAdminInvoicesLinesByIdResponses,\n  GetAdminInvoicesPaymentsByIdData,\n  GetAdminInvoicesPaymentsByIdErrors,\n  GetAdminInvoicesPaymentsByIdResponses,\n  GetAdminInvoicesRecurringSchedulesByIdData,\n  GetAdminInvoicesRecurringSchedulesByIdErrors,\n  GetAdminInvoicesRecurringSchedulesByIdResponses,\n  GetAdminInvoicesRulesByIdData,\n  GetAdminInvoicesRulesByIdErrors,\n  GetAdminInvoicesRulesByIdResponses,\n  GetAdminInvoicesTemplatesByIdData,\n  GetAdminInvoicesTemplatesByIdErrors,\n  GetAdminInvoicesTemplatesByIdResponses,\n  GetAdminInvoicesWorkspaceByWorkspaceIdData,\n  GetAdminInvoicesWorkspaceByWorkspaceIdErrors,\n  GetAdminInvoicesWorkspaceByWorkspaceIdResponses,\n  GetAdminIsvCrmChannelCaptureConfigByIdData,\n  GetAdminIsvCrmChannelCaptureConfigByIdErrors,\n  GetAdminIsvCrmChannelCaptureConfigByIdResponses,\n  GetAdminIsvCrmEntityTypesApplicationByApplicationIdData,\n  GetAdminIsvCrmEntityTypesApplicationByApplicationIdErrors,\n  GetAdminIsvCrmEntityTypesApplicationByApplicationIdResponses,\n  GetAdminIsvCrmEntityTypesByIdData,\n  GetAdminIsvCrmEntityTypesByIdErrors,\n  GetAdminIsvCrmEntityTypesByIdResponses,\n  GetAdminIsvPricingOverridesByIdData,\n  GetAdminIsvPricingOverridesByIdErrors,\n  GetAdminIsvPricingOverridesByIdResponses,\n  GetAdminIsvPricingOverridesData,\n  GetAdminIsvPricingOverridesErrors,\n  GetAdminIsvPricingOverridesResponses,\n  GetAdminIsvRevenueByIdData,\n  GetAdminIsvRevenueByIdErrors,\n  GetAdminIsvRevenueByIdResponses,\n  GetAdminIsvRevenueData,\n  GetAdminIsvRevenueErrors,\n  GetAdminIsvRevenueResponses,\n  GetAdminLedgerByAccountByAccountIdData,\n  GetAdminLedgerByAccountByAccountIdErrors,\n  GetAdminLedgerByAccountByAccountIdResponses,\n  GetAdminLedgerByIdData,\n  GetAdminLedgerByIdErrors,\n  GetAdminLedgerByIdResponses,\n  GetAdminLedgerData,\n  GetAdminLedgerErrors,\n  GetAdminLedgerResponses,\n  GetAdminLegalAcceptancesByIdData,\n  GetAdminLegalAcceptancesByIdErrors,\n  GetAdminLegalAcceptancesByIdResponses,\n  GetAdminLegalAcceptancesData,\n  GetAdminLegalAcceptancesErrors,\n  GetAdminLegalAcceptancesLatestData,\n  GetAdminLegalAcceptancesLatestErrors,\n  GetAdminLegalAcceptancesLatestResponses,\n  GetAdminLegalAcceptancesResponses,\n  GetAdminLegalDocumentsByIdData,\n  GetAdminLegalDocumentsByIdErrors,\n  GetAdminLegalDocumentsByIdResponses,\n  GetAdminLegalDocumentsByLocaleData,\n  GetAdminLegalDocumentsByLocaleErrors,\n  GetAdminLegalDocumentsByLocaleResponses,\n  GetAdminLegalDocumentsData,\n  GetAdminLegalDocumentsErrors,\n  GetAdminLegalDocumentsForApplicationData,\n  GetAdminLegalDocumentsForApplicationErrors,\n  GetAdminLegalDocumentsForApplicationResponses,\n  GetAdminLegalDocumentsResponses,\n  GetAdminLlmAnalyticsByIdData,\n  GetAdminLlmAnalyticsByIdErrors,\n  GetAdminLlmAnalyticsByIdResponses,\n  GetAdminLlmAnalyticsCostsData,\n  GetAdminLlmAnalyticsCostsErrors,\n  GetAdminLlmAnalyticsCostsResponses,\n  GetAdminLlmAnalyticsData,\n  GetAdminLlmAnalyticsErrors,\n  GetAdminLlmAnalyticsPlatformData,\n  GetAdminLlmAnalyticsPlatformErrors,\n  GetAdminLlmAnalyticsPlatformResponses,\n  GetAdminLlmAnalyticsResponses,\n  GetAdminLlmAnalyticsSummaryData,\n  GetAdminLlmAnalyticsSummaryErrors,\n  GetAdminLlmAnalyticsSummaryResponses,\n  GetAdminLlmAnalyticsUsageData,\n  GetAdminLlmAnalyticsUsageErrors,\n  GetAdminLlmAnalyticsUsageResponses,\n  GetAdminLlmAnalyticsWorkspaceData,\n  GetAdminLlmAnalyticsWorkspaceErrors,\n  GetAdminLlmAnalyticsWorkspaceResponses,\n  GetAdminMeetingActionItemsByIdData,\n  GetAdminMeetingActionItemsByIdErrors,\n  GetAdminMeetingActionItemsByIdResponses,\n  GetAdminMeetingActionItemsData,\n  GetAdminMeetingActionItemsErrors,\n  GetAdminMeetingActionItemsResponses,\n  GetAdminMeetingsByIdData,\n  GetAdminMeetingsByIdErrors,\n  GetAdminMeetingsByIdResponses,\n  GetAdminMeetingsData,\n  GetAdminMeetingsErrors,\n  GetAdminMeetingsResponses,\n  GetAdminMeetingTranscriptsByIdData,\n  GetAdminMeetingTranscriptsByIdErrors,\n  GetAdminMeetingTranscriptsByIdResponses,\n  GetAdminMeetingTranscriptsData,\n  GetAdminMeetingTranscriptsErrors,\n  GetAdminMeetingTranscriptsResponses,\n  GetAdminMessageFeedbackData,\n  GetAdminMessageFeedbackErrors,\n  GetAdminMessageFeedbackResponses,\n  GetAdminMessagesByIdData,\n  GetAdminMessagesByIdErrors,\n  GetAdminMessagesByIdResponses,\n  GetAdminMessagesData,\n  GetAdminMessagesErrors,\n  GetAdminMessagesResponses,\n  GetAdminMessagesSearchData,\n  GetAdminMessagesSearchErrors,\n  GetAdminMessagesSearchResponses,\n  GetAdminMessagesSemanticSearchData,\n  GetAdminMessagesSemanticSearchErrors,\n  GetAdminMessagesSemanticSearchResponses,\n  GetAdminNotificationLogsByIdData,\n  GetAdminNotificationLogsByIdErrors,\n  GetAdminNotificationLogsByIdResponses,\n  GetAdminNotificationLogsData,\n  GetAdminNotificationLogsErrors,\n  GetAdminNotificationLogsResponses,\n  GetAdminNotificationLogsStatsData,\n  GetAdminNotificationLogsStatsErrors,\n  GetAdminNotificationLogsStatsResponses,\n  GetAdminNotificationMethodsByIdData,\n  GetAdminNotificationMethodsByIdErrors,\n  GetAdminNotificationMethodsByIdResponses,\n  GetAdminNotificationMethodsData,\n  GetAdminNotificationMethodsErrors,\n  GetAdminNotificationMethodsResponses,\n  GetAdminNotificationPreferencesByIdData,\n  GetAdminNotificationPreferencesByIdErrors,\n  GetAdminNotificationPreferencesByIdResponses,\n  GetAdminNotificationPreferencesData,\n  GetAdminNotificationPreferencesErrors,\n  GetAdminNotificationPreferencesResponses,\n  GetAdminOwnershipTransfersData,\n  GetAdminOwnershipTransfersErrors,\n  GetAdminOwnershipTransfersResponses,\n  GetAdminPaymentMethodsByIdData,\n  GetAdminPaymentMethodsByIdErrors,\n  GetAdminPaymentMethodsByIdResponses,\n  GetAdminPaymentMethodsData,\n  GetAdminPaymentMethodsErrors,\n  GetAdminPaymentMethodsResponses,\n  GetAdminPermissionsByIdData,\n  GetAdminPermissionsByIdErrors,\n  GetAdminPermissionsByIdResponses,\n  GetAdminPermissionsData,\n  GetAdminPermissionsErrors,\n  GetAdminPermissionsMetaData,\n  GetAdminPermissionsMetaErrors,\n  GetAdminPermissionsMetaResponses,\n  GetAdminPermissionsPresetsByIdData,\n  GetAdminPermissionsPresetsByIdErrors,\n  GetAdminPermissionsPresetsByIdResponses,\n  GetAdminPermissionsPresetsData,\n  GetAdminPermissionsPresetsErrors,\n  GetAdminPermissionsPresetsResponses,\n  GetAdminPermissionsResponses,\n  GetAdminPipelineExecutionsByIdData,\n  GetAdminPipelineExecutionsByIdErrors,\n  GetAdminPipelineExecutionsByIdResponses,\n  GetAdminPipelineExecutionsByPipelineByPipelineIdData,\n  GetAdminPipelineExecutionsByPipelineByPipelineIdErrors,\n  GetAdminPipelineExecutionsByPipelineByPipelineIdResponses,\n  GetAdminPipelineExecutionsData,\n  GetAdminPipelineExecutionsErrors,\n  GetAdminPipelineExecutionsResponses,\n  GetAdminPipelineNodeExecutionsByExecutionByPipelineExecutionIdData,\n  GetAdminPipelineNodeExecutionsByExecutionByPipelineExecutionIdErrors,\n  GetAdminPipelineNodeExecutionsByExecutionByPipelineExecutionIdResponses,\n  GetAdminPipelineNodeExecutionsByIdData,\n  GetAdminPipelineNodeExecutionsByIdErrors,\n  GetAdminPipelineNodeExecutionsByIdResponses,\n  GetAdminPipelineNodesByIdData,\n  GetAdminPipelineNodesByIdErrors,\n  GetAdminPipelineNodesByIdResponses,\n  GetAdminPipelineNodesByPipelineByPipelineIdData,\n  GetAdminPipelineNodesByPipelineByPipelineIdErrors,\n  GetAdminPipelineNodesByPipelineByPipelineIdResponses,\n  GetAdminPipelineNodesData,\n  GetAdminPipelineNodesErrors,\n  GetAdminPipelineNodesResponses,\n  GetAdminPipelinesByIdData,\n  GetAdminPipelinesByIdErrors,\n  GetAdminPipelinesByIdResponses,\n  GetAdminPipelinesBySlugBySlugData,\n  GetAdminPipelinesBySlugBySlugErrors,\n  GetAdminPipelinesBySlugBySlugResponses,\n  GetAdminPipelinesByWorkflowTypeData,\n  GetAdminPipelinesByWorkflowTypeErrors,\n  GetAdminPipelinesByWorkflowTypeResponses,\n  GetAdminPipelinesData,\n  GetAdminPipelinesErrors,\n  GetAdminPipelinesResponses,\n  GetAdminPlanBundlesCanEnableData,\n  GetAdminPlanBundlesCanEnableErrors,\n  GetAdminPlanBundlesCanEnableResponses,\n  GetAdminPlanBundlesTemplatesData,\n  GetAdminPlanBundlesTemplatesErrors,\n  GetAdminPlanBundlesTemplatesResponses,\n  GetAdminPlanFeatureAllocationsByIdData,\n  GetAdminPlanFeatureAllocationsByIdErrors,\n  GetAdminPlanFeatureAllocationsByIdResponses,\n  GetAdminPlanFeatureAllocationsByPlanByPlanIdData,\n  GetAdminPlanFeatureAllocationsByPlanByPlanIdErrors,\n  GetAdminPlanFeatureAllocationsByPlanByPlanIdResponses,\n  GetAdminPlanFeatureAllocationsData,\n  GetAdminPlanFeatureAllocationsErrors,\n  GetAdminPlanFeatureAllocationsResponses,\n  GetAdminPlansByIdData,\n  GetAdminPlansByIdErrors,\n  GetAdminPlansByIdResponses,\n  GetAdminPlansData,\n  GetAdminPlansErrors,\n  GetAdminPlansResponses,\n  GetAdminPlansSlugBySlugData,\n  GetAdminPlansSlugBySlugErrors,\n  GetAdminPlansSlugBySlugResponses,\n  GetAdminPlatformPricingConfigsByIdData,\n  GetAdminPlatformPricingConfigsByIdErrors,\n  GetAdminPlatformPricingConfigsByIdResponses,\n  GetAdminPlatformPricingConfigsData,\n  GetAdminPlatformPricingConfigsErrors,\n  GetAdminPlatformPricingConfigsResponses,\n  GetAdminPlatformTonesByBrandByBrandIdentityIdData,\n  GetAdminPlatformTonesByBrandByBrandIdentityIdErrors,\n  GetAdminPlatformTonesByBrandByBrandIdentityIdResponses,\n  GetAdminPlatformTonesByIdData,\n  GetAdminPlatformTonesByIdErrors,\n  GetAdminPlatformTonesByIdResponses,\n  GetAdminPlatformTonesData,\n  GetAdminPlatformTonesErrors,\n  GetAdminPlatformTonesResponses,\n  GetAdminPolicyReviewSchedulesByIdData,\n  GetAdminPolicyReviewSchedulesByIdErrors,\n  GetAdminPolicyReviewSchedulesByIdResponses,\n  GetAdminPolicyReviewSchedulesData,\n  GetAdminPolicyReviewSchedulesErrors,\n  GetAdminPolicyReviewSchedulesResponses,\n  GetAdminPortalChangeRequestsData,\n  GetAdminPortalChangeRequestsErrors,\n  GetAdminPortalChangeRequestsResponses,\n  GetAdminPortalInvitationsData,\n  GetAdminPortalInvitationsErrors,\n  GetAdminPortalInvitationsResponses,\n  GetAdminPostProcessingHooksByIdData,\n  GetAdminPostProcessingHooksByIdErrors,\n  GetAdminPostProcessingHooksByIdResponses,\n  GetAdminPostProcessingHooksData,\n  GetAdminPostProcessingHooksErrors,\n  GetAdminPostProcessingHooksResponses,\n  GetAdminPreferencesByKeyData,\n  GetAdminPreferencesByKeyErrors,\n  GetAdminPreferencesByKeyResponses,\n  GetAdminPreferencesData,\n  GetAdminPreferencesErrors,\n  GetAdminPreferencesResponses,\n  GetAdminPricingStrategiesByIdData,\n  GetAdminPricingStrategiesByIdErrors,\n  GetAdminPricingStrategiesByIdResponses,\n  GetAdminPricingStrategiesData,\n  GetAdminPricingStrategiesErrors,\n  GetAdminPricingStrategiesResponses,\n  GetAdminProcessingActivitiesByIdData,\n  GetAdminProcessingActivitiesByIdErrors,\n  GetAdminProcessingActivitiesByIdResponses,\n  GetAdminProcessingActivitiesData,\n  GetAdminProcessingActivitiesErrors,\n  GetAdminProcessingActivitiesResponses,\n  GetAdminQuoteRequestsByIdData,\n  GetAdminQuoteRequestsByIdErrors,\n  GetAdminQuoteRequestsByIdResponses,\n  GetAdminQuoteRequestsWorkspaceByWorkspaceIdData,\n  GetAdminQuoteRequestsWorkspaceByWorkspaceIdErrors,\n  GetAdminQuoteRequestsWorkspaceByWorkspaceIdResponses,\n  GetAdminRecipesByIdData,\n  GetAdminRecipesByIdErrors,\n  GetAdminRecipesByIdResponses,\n  GetAdminRecipesCollectionRecipesByIdData,\n  GetAdminRecipesCollectionRecipesByIdErrors,\n  GetAdminRecipesCollectionRecipesByIdResponses,\n  GetAdminRecipesCollectionRecipesCollectionByCollectionIdData,\n  GetAdminRecipesCollectionRecipesCollectionByCollectionIdErrors,\n  GetAdminRecipesCollectionRecipesCollectionByCollectionIdResponses,\n  GetAdminRecipesCollectionsByIdData,\n  GetAdminRecipesCollectionsByIdErrors,\n  GetAdminRecipesCollectionsByIdResponses,\n  GetAdminRecipesCollectionsWorkspaceByWorkspaceIdData,\n  GetAdminRecipesCollectionsWorkspaceByWorkspaceIdErrors,\n  GetAdminRecipesCollectionsWorkspaceByWorkspaceIdResponses,\n  GetAdminRecipesEnrichmentJobsByIdData,\n  GetAdminRecipesEnrichmentJobsByIdErrors,\n  GetAdminRecipesEnrichmentJobsByIdResponses,\n  GetAdminRecipesEnrichmentJobsRecipeByRecipeIdData,\n  GetAdminRecipesEnrichmentJobsRecipeByRecipeIdErrors,\n  GetAdminRecipesEnrichmentJobsRecipeByRecipeIdResponses,\n  GetAdminRecipesFavoritesByIdData,\n  GetAdminRecipesFavoritesByIdErrors,\n  GetAdminRecipesFavoritesByIdResponses,\n  GetAdminRecipesFavoritesRecipeByRecipeIdData,\n  GetAdminRecipesFavoritesRecipeByRecipeIdErrors,\n  GetAdminRecipesFavoritesRecipeByRecipeIdResponses,\n  GetAdminRecipesFavoritesWorkspaceByWorkspaceIdData,\n  GetAdminRecipesFavoritesWorkspaceByWorkspaceIdErrors,\n  GetAdminRecipesFavoritesWorkspaceByWorkspaceIdResponses,\n  GetAdminRecipesFoodItemsApplicationByApplicationIdData,\n  GetAdminRecipesFoodItemsApplicationByApplicationIdErrors,\n  GetAdminRecipesFoodItemsApplicationByApplicationIdResponses,\n  GetAdminRecipesFoodItemsByIdData,\n  GetAdminRecipesFoodItemsByIdErrors,\n  GetAdminRecipesFoodItemsByIdResponses,\n  GetAdminRecipesIngredientsByIdData,\n  GetAdminRecipesIngredientsByIdErrors,\n  GetAdminRecipesIngredientsByIdResponses,\n  GetAdminRecipesIngredientsRecipeByRecipeIdData,\n  GetAdminRecipesIngredientsRecipeByRecipeIdErrors,\n  GetAdminRecipesIngredientsRecipeByRecipeIdResponses,\n  GetAdminRecipesMealSchedulesByIdData,\n  GetAdminRecipesMealSchedulesByIdErrors,\n  GetAdminRecipesMealSchedulesByIdResponses,\n  GetAdminRecipesMealSchedulesWorkspaceByWorkspaceIdData,\n  GetAdminRecipesMealSchedulesWorkspaceByWorkspaceIdErrors,\n  GetAdminRecipesMealSchedulesWorkspaceByWorkspaceIdResponses,\n  GetAdminRecipesNutritionSummariesByIdData,\n  GetAdminRecipesNutritionSummariesByIdErrors,\n  GetAdminRecipesNutritionSummariesByIdResponses,\n  GetAdminRecipesNutritionSummariesMealScheduleByMealScheduleIdData,\n  GetAdminRecipesNutritionSummariesMealScheduleByMealScheduleIdErrors,\n  GetAdminRecipesNutritionSummariesMealScheduleByMealScheduleIdResponses,\n  GetAdminRecipesRecipeNutritionsByIdData,\n  GetAdminRecipesRecipeNutritionsByIdErrors,\n  GetAdminRecipesRecipeNutritionsByIdResponses,\n  GetAdminRecipesRecipeNutritionsRecipeByRecipeIdData,\n  GetAdminRecipesRecipeNutritionsRecipeByRecipeIdErrors,\n  GetAdminRecipesRecipeNutritionsRecipeByRecipeIdResponses,\n  GetAdminRecipesRecipeTagsByIdData,\n  GetAdminRecipesRecipeTagsByIdErrors,\n  GetAdminRecipesRecipeTagsByIdResponses,\n  GetAdminRecipesRecipeTagsRecipeByRecipeIdData,\n  GetAdminRecipesRecipeTagsRecipeByRecipeIdErrors,\n  GetAdminRecipesRecipeTagsRecipeByRecipeIdResponses,\n  GetAdminRecipesScheduledMealsByIdData,\n  GetAdminRecipesScheduledMealsByIdErrors,\n  GetAdminRecipesScheduledMealsByIdResponses,\n  GetAdminRecipesScheduledMealsMealScheduleByMealScheduleIdData,\n  GetAdminRecipesScheduledMealsMealScheduleByMealScheduleIdErrors,\n  GetAdminRecipesScheduledMealsMealScheduleByMealScheduleIdResponses,\n  GetAdminRecipesShoppingListItemsByIdData,\n  GetAdminRecipesShoppingListItemsByIdErrors,\n  GetAdminRecipesShoppingListItemsByIdResponses,\n  GetAdminRecipesShoppingListItemsShoppingListByShoppingListIdData,\n  GetAdminRecipesShoppingListItemsShoppingListByShoppingListIdErrors,\n  GetAdminRecipesShoppingListItemsShoppingListByShoppingListIdResponses,\n  GetAdminRecipesShoppingListsByIdData,\n  GetAdminRecipesShoppingListsByIdErrors,\n  GetAdminRecipesShoppingListsByIdResponses,\n  GetAdminRecipesShoppingListsWorkspaceByWorkspaceIdData,\n  GetAdminRecipesShoppingListsWorkspaceByWorkspaceIdErrors,\n  GetAdminRecipesShoppingListsWorkspaceByWorkspaceIdResponses,\n  GetAdminRecipesTagsApplicationByApplicationIdData,\n  GetAdminRecipesTagsApplicationByApplicationIdErrors,\n  GetAdminRecipesTagsApplicationByApplicationIdResponses,\n  GetAdminRecipesTagsByIdData,\n  GetAdminRecipesTagsByIdErrors,\n  GetAdminRecipesTagsByIdResponses,\n  GetAdminRecipesWorkspaceByWorkspaceIdContactByContactIdData,\n  GetAdminRecipesWorkspaceByWorkspaceIdContactByContactIdErrors,\n  GetAdminRecipesWorkspaceByWorkspaceIdContactByContactIdResponses,\n  GetAdminRecipesWorkspaceByWorkspaceIdData,\n  GetAdminRecipesWorkspaceByWorkspaceIdErrors,\n  GetAdminRecipesWorkspaceByWorkspaceIdPublishedData,\n  GetAdminRecipesWorkspaceByWorkspaceIdPublishedErrors,\n  GetAdminRecipesWorkspaceByWorkspaceIdPublishedResponses,\n  GetAdminRecipesWorkspaceByWorkspaceIdResponses,\n  GetAdminRetentionPoliciesByIdData,\n  GetAdminRetentionPoliciesByIdErrors,\n  GetAdminRetentionPoliciesByIdResponses,\n  GetAdminRetentionPoliciesData,\n  GetAdminRetentionPoliciesErrors,\n  GetAdminRetentionPoliciesResponses,\n  GetAdminReviewQueueMembershipsByIdData,\n  GetAdminReviewQueueMembershipsByIdErrors,\n  GetAdminReviewQueueMembershipsByIdResponses,\n  GetAdminReviewQueueMembershipsData,\n  GetAdminReviewQueueMembershipsErrors,\n  GetAdminReviewQueueMembershipsResponses,\n  GetAdminReviewQueuesByIdData,\n  GetAdminReviewQueuesByIdErrors,\n  GetAdminReviewQueuesByIdResponses,\n  GetAdminReviewQueuesData,\n  GetAdminReviewQueuesErrors,\n  GetAdminReviewQueuesResponses,\n  GetAdminReviewQueuesSummariesData,\n  GetAdminReviewQueuesSummariesErrors,\n  GetAdminReviewQueuesSummariesResponses,\n  GetAdminReviewsByIdData,\n  GetAdminReviewsByIdErrors,\n  GetAdminReviewsByIdResponses,\n  GetAdminReviewsData,\n  GetAdminReviewsErrors,\n  GetAdminReviewsResponses,\n  GetAdminRiskAssessmentsByIdData,\n  GetAdminRiskAssessmentsByIdErrors,\n  GetAdminRiskAssessmentsByIdResponses,\n  GetAdminRiskAssessmentsData,\n  GetAdminRiskAssessmentsErrors,\n  GetAdminRiskAssessmentsResponses,\n  GetAdminRolesByIdData,\n  GetAdminRolesByIdErrors,\n  GetAdminRolesByIdResponses,\n  GetAdminRolesData,\n  GetAdminRolesErrors,\n  GetAdminRolesResponses,\n  GetAdminScanResultsByIdData,\n  GetAdminScanResultsByIdErrors,\n  GetAdminScanResultsByIdResponses,\n  GetAdminScanResultsData,\n  GetAdminScanResultsErrors,\n  GetAdminScanResultsResponses,\n  GetAdminSchedulingAvailabilityRulesByEventTypeData,\n  GetAdminSchedulingAvailabilityRulesByEventTypeErrors,\n  GetAdminSchedulingAvailabilityRulesByEventTypeResponses,\n  GetAdminSchedulingAvailabilityRulesByIdData,\n  GetAdminSchedulingAvailabilityRulesByIdErrors,\n  GetAdminSchedulingAvailabilityRulesByIdResponses,\n  GetAdminSchedulingAvailabilityRulesByUserData,\n  GetAdminSchedulingAvailabilityRulesByUserErrors,\n  GetAdminSchedulingAvailabilityRulesByUserResponses,\n  GetAdminSchedulingAvailabilityRulesData,\n  GetAdminSchedulingAvailabilityRulesErrors,\n  GetAdminSchedulingAvailabilityRulesResponses,\n  GetAdminSchedulingBookingsByBookerData,\n  GetAdminSchedulingBookingsByBookerErrors,\n  GetAdminSchedulingBookingsByBookerResponses,\n  GetAdminSchedulingBookingsByIdData,\n  GetAdminSchedulingBookingsByIdErrors,\n  GetAdminSchedulingBookingsByIdResponses,\n  GetAdminSchedulingBookingsData,\n  GetAdminSchedulingBookingsErrors,\n  GetAdminSchedulingBookingsResponses,\n  GetAdminSchedulingCalendarSyncsByIdData,\n  GetAdminSchedulingCalendarSyncsByIdErrors,\n  GetAdminSchedulingCalendarSyncsByIdResponses,\n  GetAdminSchedulingCalendarSyncsData,\n  GetAdminSchedulingCalendarSyncsErrors,\n  GetAdminSchedulingCalendarSyncsResponses,\n  GetAdminSchedulingEventsByDateRangeData,\n  GetAdminSchedulingEventsByDateRangeErrors,\n  GetAdminSchedulingEventsByDateRangeResponses,\n  GetAdminSchedulingEventsByIdData,\n  GetAdminSchedulingEventsByIdErrors,\n  GetAdminSchedulingEventsByIdResponses,\n  GetAdminSchedulingEventsByParticipantData,\n  GetAdminSchedulingEventsByParticipantErrors,\n  GetAdminSchedulingEventsByParticipantResponses,\n  GetAdminSchedulingEventsData,\n  GetAdminSchedulingEventsErrors,\n  GetAdminSchedulingEventsResponses,\n  GetAdminSchedulingEventTypesByIdData,\n  GetAdminSchedulingEventTypesByIdErrors,\n  GetAdminSchedulingEventTypesByIdResponses,\n  GetAdminSchedulingEventTypesBySlugData,\n  GetAdminSchedulingEventTypesBySlugErrors,\n  GetAdminSchedulingEventTypesBySlugResponses,\n  GetAdminSchedulingEventTypesData,\n  GetAdminSchedulingEventTypesErrors,\n  GetAdminSchedulingEventTypesResponses,\n  GetAdminSchedulingLocationsByIdData,\n  GetAdminSchedulingLocationsByIdErrors,\n  GetAdminSchedulingLocationsByIdResponses,\n  GetAdminSchedulingLocationsByTypeData,\n  GetAdminSchedulingLocationsByTypeErrors,\n  GetAdminSchedulingLocationsByTypeResponses,\n  GetAdminSchedulingLocationsData,\n  GetAdminSchedulingLocationsErrors,\n  GetAdminSchedulingLocationsResponses,\n  GetAdminSchedulingParticipantsByIdData,\n  GetAdminSchedulingParticipantsByIdErrors,\n  GetAdminSchedulingParticipantsByIdResponses,\n  GetAdminSchedulingParticipantsData,\n  GetAdminSchedulingParticipantsErrors,\n  GetAdminSchedulingParticipantsResponses,\n  GetAdminSchedulingRemindersByIdData,\n  GetAdminSchedulingRemindersByIdErrors,\n  GetAdminSchedulingRemindersByIdResponses,\n  GetAdminSchedulingRemindersData,\n  GetAdminSchedulingRemindersErrors,\n  GetAdminSchedulingRemindersResponses,\n  GetAdminSearchAnalyticsData,\n  GetAdminSearchAnalyticsErrors,\n  GetAdminSearchAnalyticsResponses,\n  GetAdminSearchAnalyticsSummaryData,\n  GetAdminSearchAnalyticsSummaryErrors,\n  GetAdminSearchAnalyticsSummaryResponses,\n  GetAdminSearchData,\n  GetAdminSearchErrors,\n  GetAdminSearchHealthData,\n  GetAdminSearchHealthErrors,\n  GetAdminSearchHealthResponses,\n  GetAdminSearchIndexesData,\n  GetAdminSearchIndexesErrors,\n  GetAdminSearchIndexesResponses,\n  GetAdminSearchResponses,\n  GetAdminSearchSavedData,\n  GetAdminSearchSavedErrors,\n  GetAdminSearchSavedResponses,\n  GetAdminSearchSemanticData,\n  GetAdminSearchSemanticErrors,\n  GetAdminSearchSemanticResponses,\n  GetAdminSearchStatsData,\n  GetAdminSearchStatsErrors,\n  GetAdminSearchStatsResponses,\n  GetAdminSearchStatusData,\n  GetAdminSearchStatusErrors,\n  GetAdminSearchStatusResponses,\n  GetAdminSearchSuggestData,\n  GetAdminSearchSuggestErrors,\n  GetAdminSearchSuggestResponses,\n  GetAdminSettlementsByIdData,\n  GetAdminSettlementsByIdErrors,\n  GetAdminSettlementsByIdResponses,\n  GetAdminSettlementsData,\n  GetAdminSettlementsErrors,\n  GetAdminSettlementsResponses,\n  GetAdminSettlementStatementsByIdData,\n  GetAdminSettlementStatementsByIdErrors,\n  GetAdminSettlementStatementsByIdResponses,\n  GetAdminSettlementStatementsData,\n  GetAdminSettlementStatementsErrors,\n  GetAdminSettlementStatementsResponses,\n  GetAdminSocialAccountsByIdData,\n  GetAdminSocialAccountsByIdErrors,\n  GetAdminSocialAccountsByIdResponses,\n  GetAdminSocialAccountsPlatformByPlatformData,\n  GetAdminSocialAccountsPlatformByPlatformErrors,\n  GetAdminSocialAccountsPlatformByPlatformResponses,\n  GetAdminSocialAccountsWorkspaceByWorkspaceIdData,\n  GetAdminSocialAccountsWorkspaceByWorkspaceIdErrors,\n  GetAdminSocialAccountsWorkspaceByWorkspaceIdResponses,\n  GetAdminSocialCampaignsByIdData,\n  GetAdminSocialCampaignsByIdErrors,\n  GetAdminSocialCampaignsByIdResponses,\n  GetAdminSocialCampaignsData,\n  GetAdminSocialCampaignsErrors,\n  GetAdminSocialCampaignsResponses,\n  GetAdminSocialMetricsAccountBySocialAccountIdData,\n  GetAdminSocialMetricsAccountBySocialAccountIdErrors,\n  GetAdminSocialMetricsAccountBySocialAccountIdResponses,\n  GetAdminSocialMetricsByIdData,\n  GetAdminSocialMetricsByIdErrors,\n  GetAdminSocialMetricsByIdResponses,\n  GetAdminSocialMetricsCampaignBySocialCampaignIdData,\n  GetAdminSocialMetricsCampaignBySocialCampaignIdErrors,\n  GetAdminSocialMetricsCampaignBySocialCampaignIdResponses,\n  GetAdminSocialMetricsPostBySocialPostIdData,\n  GetAdminSocialMetricsPostBySocialPostIdErrors,\n  GetAdminSocialMetricsPostBySocialPostIdLatestData,\n  GetAdminSocialMetricsPostBySocialPostIdLatestErrors,\n  GetAdminSocialMetricsPostBySocialPostIdLatestResponses,\n  GetAdminSocialMetricsPostBySocialPostIdResponses,\n  GetAdminSocialPostsAccountBySocialAccountIdData,\n  GetAdminSocialPostsAccountBySocialAccountIdErrors,\n  GetAdminSocialPostsAccountBySocialAccountIdResponses,\n  GetAdminSocialPostsByIdData,\n  GetAdminSocialPostsByIdErrors,\n  GetAdminSocialPostsByIdResponses,\n  GetAdminSocialPostsCampaignBySocialCampaignIdData,\n  GetAdminSocialPostsCampaignBySocialCampaignIdErrors,\n  GetAdminSocialPostsCampaignBySocialCampaignIdResponses,\n  GetAdminSocialPostsScheduledData,\n  GetAdminSocialPostsScheduledErrors,\n  GetAdminSocialPostsScheduledResponses,\n  GetAdminSocialPostsWorkspaceByWorkspaceIdData,\n  GetAdminSocialPostsWorkspaceByWorkspaceIdErrors,\n  GetAdminSocialPostsWorkspaceByWorkspaceIdResponses,\n  GetAdminSocialTrendingHistoryByIdData,\n  GetAdminSocialTrendingHistoryByIdErrors,\n  GetAdminSocialTrendingHistoryByIdResponses,\n  GetAdminSocialTrendingHistoryRangeData,\n  GetAdminSocialTrendingHistoryRangeErrors,\n  GetAdminSocialTrendingHistoryRangeResponses,\n  GetAdminSocialTrendingHistoryWorkspaceByWorkspaceIdData,\n  GetAdminSocialTrendingHistoryWorkspaceByWorkspaceIdErrors,\n  GetAdminSocialTrendingHistoryWorkspaceByWorkspaceIdResponses,\n  GetAdminSocialTrendingItemsByIdData,\n  GetAdminSocialTrendingItemsByIdErrors,\n  GetAdminSocialTrendingItemsByIdResponses,\n  GetAdminSocialTrendingItemsSnapshotBySnapshotIdData,\n  GetAdminSocialTrendingItemsSnapshotBySnapshotIdErrors,\n  GetAdminSocialTrendingItemsSnapshotBySnapshotIdResponses,\n  GetAdminSocialTrendingWatchesByIdData,\n  GetAdminSocialTrendingWatchesByIdErrors,\n  GetAdminSocialTrendingWatchesByIdResponses,\n  GetAdminSocialTrendingWatchesWorkspaceByWorkspaceIdData,\n  GetAdminSocialTrendingWatchesWorkspaceByWorkspaceIdErrors,\n  GetAdminSocialTrendingWatchesWorkspaceByWorkspaceIdResponses,\n  GetAdminStorageFilesByChecksumData,\n  GetAdminStorageFilesByChecksumErrors,\n  GetAdminStorageFilesByChecksumResponses,\n  GetAdminStorageFilesByIdData,\n  GetAdminStorageFilesByIdErrors,\n  GetAdminStorageFilesByIdResponses,\n  GetAdminStorageFilesChildrenData,\n  GetAdminStorageFilesChildrenErrors,\n  GetAdminStorageFilesChildrenResponses,\n  GetAdminStorageFilesData,\n  GetAdminStorageFilesErrors,\n  GetAdminStorageFilesResponses,\n  GetAdminStorageRecommendationsData,\n  GetAdminStorageRecommendationsErrors,\n  GetAdminStorageRecommendationsPendingData,\n  GetAdminStorageRecommendationsPendingErrors,\n  GetAdminStorageRecommendationsPendingResponses,\n  GetAdminStorageRecommendationsResponses,\n  GetAdminStorageStatsData,\n  GetAdminStorageStatsErrors,\n  GetAdminStorageStatsResponses,\n  GetAdminStorageStatsTenantByTenantIdData,\n  GetAdminStorageStatsTenantByTenantIdErrors,\n  GetAdminStorageStatsTenantByTenantIdResponses,\n  GetAdminSubscriptionsByIdData,\n  GetAdminSubscriptionsByIdErrors,\n  GetAdminSubscriptionsByIdResponses,\n  GetAdminSubscriptionsByTenantByTenantIdData,\n  GetAdminSubscriptionsByTenantByTenantIdErrors,\n  GetAdminSubscriptionsByTenantByTenantIdResponses,\n  GetAdminSubscriptionsCapabilityRevokedData,\n  GetAdminSubscriptionsCapabilityRevokedErrors,\n  GetAdminSubscriptionsCapabilityRevokedResponses,\n  GetAdminSubscriptionsData,\n  GetAdminSubscriptionsErrors,\n  GetAdminSubscriptionsResponses,\n  GetAdminSupportAiConfigsWorkspaceByWorkspaceIdData,\n  GetAdminSupportAiConfigsWorkspaceByWorkspaceIdErrors,\n  GetAdminSupportAiConfigsWorkspaceByWorkspaceIdResponses,\n  GetAdminSupportCannedResponsesWorkspaceByWorkspaceIdData,\n  GetAdminSupportCannedResponsesWorkspaceByWorkspaceIdErrors,\n  GetAdminSupportCannedResponsesWorkspaceByWorkspaceIdResponses,\n  GetAdminSupportChannelCaptureConfigsWorkspaceByWorkspaceIdData,\n  GetAdminSupportChannelCaptureConfigsWorkspaceByWorkspaceIdErrors,\n  GetAdminSupportChannelCaptureConfigsWorkspaceByWorkspaceIdResponses,\n  GetAdminSupportQueueMembersApplicationByApplicationIdData,\n  GetAdminSupportQueueMembersApplicationByApplicationIdErrors,\n  GetAdminSupportQueueMembersApplicationByApplicationIdResponses,\n  GetAdminSupportQueueMembersQueueByQueueIdData,\n  GetAdminSupportQueueMembersQueueByQueueIdErrors,\n  GetAdminSupportQueueMembersQueueByQueueIdResponses,\n  GetAdminSupportQueuesApplicationByApplicationIdData,\n  GetAdminSupportQueuesApplicationByApplicationIdErrors,\n  GetAdminSupportQueuesApplicationByApplicationIdResponses,\n  GetAdminSupportQueuesByIdData,\n  GetAdminSupportQueuesByIdErrors,\n  GetAdminSupportQueuesByIdResponses,\n  GetAdminSupportRoutingRulesApplicationByApplicationIdData,\n  GetAdminSupportRoutingRulesApplicationByApplicationIdErrors,\n  GetAdminSupportRoutingRulesApplicationByApplicationIdResponses,\n  GetAdminSupportRoutingRulesByIdData,\n  GetAdminSupportRoutingRulesByIdErrors,\n  GetAdminSupportRoutingRulesByIdResponses,\n  GetAdminSupportSlaPoliciesApplicationByApplicationIdData,\n  GetAdminSupportSlaPoliciesApplicationByApplicationIdErrors,\n  GetAdminSupportSlaPoliciesApplicationByApplicationIdResponses,\n  GetAdminSupportSlaPoliciesByIdData,\n  GetAdminSupportSlaPoliciesByIdErrors,\n  GetAdminSupportSlaPoliciesByIdResponses,\n  GetAdminSupportSyncConfigsWorkspaceByWorkspaceIdData,\n  GetAdminSupportSyncConfigsWorkspaceByWorkspaceIdErrors,\n  GetAdminSupportSyncConfigsWorkspaceByWorkspaceIdResponses,\n  GetAdminSupportTagsWorkspaceByWorkspaceIdData,\n  GetAdminSupportTagsWorkspaceByWorkspaceIdErrors,\n  GetAdminSupportTagsWorkspaceByWorkspaceIdResponses,\n  GetAdminSupportTicketAttachmentsMessageByTicketMessageIdData,\n  GetAdminSupportTicketAttachmentsMessageByTicketMessageIdErrors,\n  GetAdminSupportTicketAttachmentsMessageByTicketMessageIdResponses,\n  GetAdminSupportTicketMessagesTicketByTicketIdData,\n  GetAdminSupportTicketMessagesTicketByTicketIdErrors,\n  GetAdminSupportTicketMessagesTicketByTicketIdResponses,\n  GetAdminSupportTicketsByIdData,\n  GetAdminSupportTicketsByIdErrors,\n  GetAdminSupportTicketsByIdResponses,\n  GetAdminSupportTicketsWorkspaceByWorkspaceIdData,\n  GetAdminSupportTicketsWorkspaceByWorkspaceIdErrors,\n  GetAdminSupportTicketsWorkspaceByWorkspaceIdResponses,\n  GetAdminSysAiConfigByIdData,\n  GetAdminSysAiConfigByIdErrors,\n  GetAdminSysAiConfigByIdResponses,\n  GetAdminSysAiConfigData,\n  GetAdminSysAiConfigErrors,\n  GetAdminSysAiConfigResponses,\n  GetAdminSysSemanticCacheStatsData,\n  GetAdminSysSemanticCacheStatsErrors,\n  GetAdminSysSemanticCacheStatsResponses,\n  GetAdminSystemMessagesByIdData,\n  GetAdminSystemMessagesByIdErrors,\n  GetAdminSystemMessagesByIdResponses,\n  GetAdminSystemMessagesData,\n  GetAdminSystemMessagesErrors,\n  GetAdminSystemMessagesResponses,\n  GetAdminTenantPricingOverridesByIdData,\n  GetAdminTenantPricingOverridesByIdErrors,\n  GetAdminTenantPricingOverridesByIdResponses,\n  GetAdminTenantPricingOverridesData,\n  GetAdminTenantPricingOverridesErrors,\n  GetAdminTenantPricingOverridesResponses,\n  GetAdminTenantsByIdData,\n  GetAdminTenantsByIdErrors,\n  GetAdminTenantsByIdResponses,\n  GetAdminTenantsByTenantIdDocumentStatsData,\n  GetAdminTenantsByTenantIdDocumentStatsErrors,\n  GetAdminTenantsByTenantIdDocumentStatsResponses,\n  GetAdminTenantsByTenantIdStatsData,\n  GetAdminTenantsByTenantIdStatsErrors,\n  GetAdminTenantsByTenantIdStatsResponses,\n  GetAdminTenantsByTenantIdWorkspaceStatsData,\n  GetAdminTenantsByTenantIdWorkspaceStatsErrors,\n  GetAdminTenantsByTenantIdWorkspaceStatsResponses,\n  GetAdminTenantsData,\n  GetAdminTenantsErrors,\n  GetAdminTenantsResponses,\n  GetAdminThreadsByIdData,\n  GetAdminThreadsByIdErrors,\n  GetAdminThreadsByIdMessagesData,\n  GetAdminThreadsByIdMessagesErrors,\n  GetAdminThreadsByIdMessagesResponses,\n  GetAdminThreadsByIdResponses,\n  GetAdminThreadsData,\n  GetAdminThreadsErrors,\n  GetAdminThreadsMineData,\n  GetAdminThreadsMineErrors,\n  GetAdminThreadsMineResponses,\n  GetAdminThreadsResponses,\n  GetAdminThreadsSearchData,\n  GetAdminThreadsSearchErrors,\n  GetAdminThreadsSearchResponses,\n  GetAdminThreadsStatsData,\n  GetAdminThreadsStatsErrors,\n  GetAdminThreadsStatsResponses,\n  GetAdminThreadsWorkspaceStatsData,\n  GetAdminThreadsWorkspaceStatsErrors,\n  GetAdminThreadsWorkspaceStatsResponses,\n  GetAdminTrainingExamplesByIdData,\n  GetAdminTrainingExamplesByIdErrors,\n  GetAdminTrainingExamplesByIdResponses,\n  GetAdminTrainingExamplesData,\n  GetAdminTrainingExamplesErrors,\n  GetAdminTrainingExamplesResponses,\n  GetAdminTrainingSessionsAgentsByAgentIdSessionsData,\n  GetAdminTrainingSessionsAgentsByAgentIdSessionsErrors,\n  GetAdminTrainingSessionsAgentsByAgentIdSessionsResponses,\n  GetAdminTrainingSessionsByIdData,\n  GetAdminTrainingSessionsByIdErrors,\n  GetAdminTrainingSessionsByIdResponses,\n  GetAdminTrainingSessionsData,\n  GetAdminTrainingSessionsErrors,\n  GetAdminTrainingSessionsResponses,\n  GetAdminTransactionsByIdData,\n  GetAdminTransactionsByIdErrors,\n  GetAdminTransactionsByIdResponses,\n  GetAdminTransactionsData,\n  GetAdminTransactionsErrors,\n  GetAdminTransactionsResponses,\n  GetAdminTransfersByIdData,\n  GetAdminTransfersByIdErrors,\n  GetAdminTransfersByIdResponses,\n  GetAdminTransfersData,\n  GetAdminTransfersErrors,\n  GetAdminTransfersResponses,\n  GetAdminUsageEventsByIdData,\n  GetAdminUsageEventsByIdErrors,\n  GetAdminUsageEventsByIdResponses,\n  GetAdminUsageEventsByUserData,\n  GetAdminUsageEventsByUserErrors,\n  GetAdminUsageEventsByUserResponses,\n  GetAdminUsageEventsData,\n  GetAdminUsageEventsErrors,\n  GetAdminUsageEventsResponses,\n  GetAdminUsageEventsSummaryData,\n  GetAdminUsageEventsSummaryErrors,\n  GetAdminUsageEventsSummaryResponses,\n  GetAdminUserProfilesByIdData,\n  GetAdminUserProfilesByIdErrors,\n  GetAdminUserProfilesByIdResponses,\n  GetAdminUserProfilesData,\n  GetAdminUserProfilesErrors,\n  GetAdminUserProfilesMeData,\n  GetAdminUserProfilesMeErrors,\n  GetAdminUserProfilesMeResponses,\n  GetAdminUserProfilesResponses,\n  GetAdminUsersByEmailData,\n  GetAdminUsersByEmailErrors,\n  GetAdminUsersByEmailResponses,\n  GetAdminUsersByIdData,\n  GetAdminUsersByIdErrors,\n  GetAdminUsersByIdResponses,\n  GetAdminUsersData,\n  GetAdminUsersErrors,\n  GetAdminUsersMeActivityData,\n  GetAdminUsersMeActivityErrors,\n  GetAdminUsersMeActivityResponses,\n  GetAdminUsersMeDashboardData,\n  GetAdminUsersMeDashboardErrors,\n  GetAdminUsersMeDashboardResponses,\n  GetAdminUsersMeData,\n  GetAdminUsersMeErrors,\n  GetAdminUsersMeResponses,\n  GetAdminUsersMeStatsData,\n  GetAdminUsersMeStatsErrors,\n  GetAdminUsersMeStatsResponses,\n  GetAdminUsersMeTenantsData,\n  GetAdminUsersMeTenantsErrors,\n  GetAdminUsersMeTenantsResponses,\n  GetAdminUsersResponses,\n  GetAdminVoiceRecordingsByIdData,\n  GetAdminVoiceRecordingsByIdErrors,\n  GetAdminVoiceRecordingsByIdResponses,\n  GetAdminVoiceRecordingsData,\n  GetAdminVoiceRecordingsErrors,\n  GetAdminVoiceRecordingsResponses,\n  GetAdminVoiceRecordingsSessionBySessionIdData,\n  GetAdminVoiceRecordingsSessionBySessionIdErrors,\n  GetAdminVoiceRecordingsSessionBySessionIdResponses,\n  GetAdminVoiceSessionsByIdData,\n  GetAdminVoiceSessionsByIdErrors,\n  GetAdminVoiceSessionsByIdResponses,\n  GetAdminVoiceSessionsData,\n  GetAdminVoiceSessionsErrors,\n  GetAdminVoiceSessionsMineData,\n  GetAdminVoiceSessionsMineErrors,\n  GetAdminVoiceSessionsMineResponses,\n  GetAdminVoiceSessionsResponses,\n  GetAdminVoiceSessionsWorkspaceByWorkspaceIdData,\n  GetAdminVoiceSessionsWorkspaceByWorkspaceIdErrors,\n  GetAdminVoiceSessionsWorkspaceByWorkspaceIdResponses,\n  GetAdminVoiceTranscriptionJobsByIdData,\n  GetAdminVoiceTranscriptionJobsByIdErrors,\n  GetAdminVoiceTranscriptionJobsByIdResponses,\n  GetAdminVoiceTranscriptionJobsData,\n  GetAdminVoiceTranscriptionJobsErrors,\n  GetAdminVoiceTranscriptionJobsMineData,\n  GetAdminVoiceTranscriptionJobsMineErrors,\n  GetAdminVoiceTranscriptionJobsMineResponses,\n  GetAdminVoiceTranscriptionJobsResponses,\n  GetAdminVoiceTranscriptionJobsWorkspaceByWorkspaceIdData,\n  GetAdminVoiceTranscriptionJobsWorkspaceByWorkspaceIdErrors,\n  GetAdminVoiceTranscriptionJobsWorkspaceByWorkspaceIdResponses,\n  GetAdminVoiceTranscriptionResultsByIdData,\n  GetAdminVoiceTranscriptionResultsByIdErrors,\n  GetAdminVoiceTranscriptionResultsByIdResponses,\n  GetAdminVoiceTranscriptionResultsData,\n  GetAdminVoiceTranscriptionResultsErrors,\n  GetAdminVoiceTranscriptionResultsResponses,\n  GetAdminVoiceTranscriptionResultsSessionBySessionIdData,\n  GetAdminVoiceTranscriptionResultsSessionBySessionIdErrors,\n  GetAdminVoiceTranscriptionResultsSessionBySessionIdResponses,\n  GetAdminWalletData,\n  GetAdminWalletErrors,\n  GetAdminWalletFeaturesData,\n  GetAdminWalletFeaturesErrors,\n  GetAdminWalletFeaturesResponses,\n  GetAdminWalletForecastData,\n  GetAdminWalletForecastErrors,\n  GetAdminWalletForecastResponses,\n  GetAdminWalletInvoicesByIdData,\n  GetAdminWalletInvoicesByIdErrors,\n  GetAdminWalletInvoicesByIdResponses,\n  GetAdminWalletInvoicesData,\n  GetAdminWalletInvoicesErrors,\n  GetAdminWalletInvoicesResponses,\n  GetAdminWalletPlanPreviewData,\n  GetAdminWalletPlanPreviewErrors,\n  GetAdminWalletPlanPreviewResponses,\n  GetAdminWalletResponses,\n  GetAdminWalletSeatsData,\n  GetAdminWalletSeatsErrors,\n  GetAdminWalletSeatsResponses,\n  GetAdminWalletStorageBreakdownData,\n  GetAdminWalletStorageBreakdownErrors,\n  GetAdminWalletStorageBreakdownResponses,\n  GetAdminWalletUsageBreakdownData,\n  GetAdminWalletUsageBreakdownErrors,\n  GetAdminWalletUsageBreakdownResponses,\n  GetAdminWalletUsageData,\n  GetAdminWalletUsageErrors,\n  GetAdminWalletUsageResponses,\n  GetAdminWebhookConfigsByIdData,\n  GetAdminWebhookConfigsByIdErrors,\n  GetAdminWebhookConfigsByIdEventsData,\n  GetAdminWebhookConfigsByIdEventsErrors,\n  GetAdminWebhookConfigsByIdEventsResponses,\n  GetAdminWebhookConfigsByIdResponses,\n  GetAdminWebhookConfigsData,\n  GetAdminWebhookConfigsErrors,\n  GetAdminWebhookConfigsResponses,\n  GetAdminWebhookConfigsStatsData,\n  GetAdminWebhookConfigsStatsErrors,\n  GetAdminWebhookConfigsStatsResponses,\n  GetAdminWebhookDeliveriesByIdData,\n  GetAdminWebhookDeliveriesByIdErrors,\n  GetAdminWebhookDeliveriesByIdResponses,\n  GetAdminWebhookDeliveriesData,\n  GetAdminWebhookDeliveriesErrors,\n  GetAdminWebhookDeliveriesResponses,\n  GetAdminWebhookDeliveriesStatsData,\n  GetAdminWebhookDeliveriesStatsErrors,\n  GetAdminWebhookDeliveriesStatsResponses,\n  GetAdminWholesaleAgreementsByIdData,\n  GetAdminWholesaleAgreementsByIdErrors,\n  GetAdminWholesaleAgreementsByIdResponses,\n  GetAdminWholesaleAgreementsByIdSignupGrantStatusData,\n  GetAdminWholesaleAgreementsByIdSignupGrantStatusErrors,\n  GetAdminWholesaleAgreementsByIdSignupGrantStatusResponses,\n  GetAdminWholesaleAgreementsData,\n  GetAdminWholesaleAgreementsErrors,\n  GetAdminWholesaleAgreementsResponses,\n  GetAdminWorkspaceAgentConfigsByIdData,\n  GetAdminWorkspaceAgentConfigsByIdErrors,\n  GetAdminWorkspaceAgentConfigsByIdResponses,\n  GetAdminWorkspaceAgentConfigsData,\n  GetAdminWorkspaceAgentConfigsErrors,\n  GetAdminWorkspaceAgentConfigsResponses,\n  GetAdminWorkspaceFormConfigsByIdData,\n  GetAdminWorkspaceFormConfigsByIdErrors,\n  GetAdminWorkspaceFormConfigsByIdResponses,\n  GetAdminWorkspaceFormConfigsData,\n  GetAdminWorkspaceFormConfigsErrors,\n  GetAdminWorkspaceFormConfigsResponses,\n  GetAdminWorkspacePreferencesByKeyData,\n  GetAdminWorkspacePreferencesByKeyErrors,\n  GetAdminWorkspacePreferencesByKeyResponses,\n  GetAdminWorkspacePreferencesData,\n  GetAdminWorkspacePreferencesErrors,\n  GetAdminWorkspacePreferencesResponses,\n  GetAdminWorkspacesAnalyticsBatchData,\n  GetAdminWorkspacesAnalyticsBatchErrors,\n  GetAdminWorkspacesAnalyticsBatchResponses,\n  GetAdminWorkspacesByIdData,\n  GetAdminWorkspacesByIdErrors,\n  GetAdminWorkspacesByIdResponses,\n  GetAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData,\n  GetAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors,\n  GetAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses,\n  GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdData,\n  GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdErrors,\n  GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdResponses,\n  GetAdminWorkspacesByWorkspaceIdExtractionExportsData,\n  GetAdminWorkspacesByWorkspaceIdExtractionExportsErrors,\n  GetAdminWorkspacesByWorkspaceIdExtractionExportsResponses,\n  GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsData,\n  GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsErrors,\n  GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsResponses,\n  GetAdminWorkspacesData,\n  GetAdminWorkspacesErrors,\n  GetAdminWorkspacesMineData,\n  GetAdminWorkspacesMineErrors,\n  GetAdminWorkspacesMineResponses,\n  GetAdminWorkspacesResponses,\n  GetAdminWorkspacesSharedData,\n  GetAdminWorkspacesSharedErrors,\n  GetAdminWorkspacesSharedResponses,\n  PatchAdminAccessGrantsByIdData,\n  PatchAdminAccessGrantsByIdErrors,\n  PatchAdminAccessGrantsByIdResponses,\n  PatchAdminAccountsByIdCreditData,\n  PatchAdminAccountsByIdCreditErrors,\n  PatchAdminAccountsByIdCreditResponses,\n  PatchAdminAccountsByIdDebitData,\n  PatchAdminAccountsByIdDebitErrors,\n  PatchAdminAccountsByIdDebitResponses,\n  PatchAdminAgentDeploymentsByIdAcceptUpdateData,\n  PatchAdminAgentDeploymentsByIdAcceptUpdateErrors,\n  PatchAdminAgentDeploymentsByIdAcceptUpdateResponses,\n  PatchAdminAgentDeploymentsByIdData,\n  PatchAdminAgentDeploymentsByIdErrors,\n  PatchAdminAgentDeploymentsByIdResponses,\n  PatchAdminAgentExecutionsByIdCancelData,\n  PatchAdminAgentExecutionsByIdCancelErrors,\n  PatchAdminAgentExecutionsByIdCancelResponses,\n  PatchAdminAgentExecutionsByIdResumeData,\n  PatchAdminAgentExecutionsByIdResumeErrors,\n  PatchAdminAgentExecutionsByIdResumeResponses,\n  PatchAdminAgentsByIdData,\n  PatchAdminAgentsByIdErrors,\n  PatchAdminAgentsByIdResponses,\n  PatchAdminAgentsByIdSchemaVersionsByVersionIdData,\n  PatchAdminAgentsByIdSchemaVersionsByVersionIdErrors,\n  PatchAdminAgentsByIdSchemaVersionsByVersionIdResponses,\n  PatchAdminAgentSoulsByIdData,\n  PatchAdminAgentSoulsByIdErrors,\n  PatchAdminAgentSoulsByIdResponses,\n  PatchAdminAgentVersionsByIdData,\n  PatchAdminAgentVersionsByIdErrors,\n  PatchAdminAgentVersionsByIdResponses,\n  PatchAdminAiConversationsByIdData,\n  PatchAdminAiConversationsByIdErrors,\n  PatchAdminAiConversationsByIdResponses,\n  PatchAdminAmendmentRequestsByIdApplyData,\n  PatchAdminAmendmentRequestsByIdApplyErrors,\n  PatchAdminAmendmentRequestsByIdApplyResponses,\n  PatchAdminAmendmentRequestsByIdApproveData,\n  PatchAdminAmendmentRequestsByIdApproveErrors,\n  PatchAdminAmendmentRequestsByIdApproveResponses,\n  PatchAdminAmendmentRequestsByIdDenyData,\n  PatchAdminAmendmentRequestsByIdDenyErrors,\n  PatchAdminAmendmentRequestsByIdDenyResponses,\n  PatchAdminAmendmentRequestsByIdReviewData,\n  PatchAdminAmendmentRequestsByIdReviewErrors,\n  PatchAdminAmendmentRequestsByIdReviewResponses,\n  PatchAdminApiKeysByIdData,\n  PatchAdminApiKeysByIdErrors,\n  PatchAdminApiKeysByIdResetPeriodData,\n  PatchAdminApiKeysByIdResetPeriodErrors,\n  PatchAdminApiKeysByIdResetPeriodResponses,\n  PatchAdminApiKeysByIdResponses,\n  PatchAdminApiKeysByIdRevokeData,\n  PatchAdminApiKeysByIdRevokeErrors,\n  PatchAdminApiKeysByIdRevokeResponses,\n  PatchAdminApiKeysByIdRotateData,\n  PatchAdminApiKeysByIdRotateErrors,\n  PatchAdminApiKeysByIdRotateResponses,\n  PatchAdminApiKeysByIdSetBudgetData,\n  PatchAdminApiKeysByIdSetBudgetErrors,\n  PatchAdminApiKeysByIdSetBudgetResponses,\n  PatchAdminApplicationsByApplicationIdEmailTemplatesBySlugData,\n  PatchAdminApplicationsByApplicationIdEmailTemplatesBySlugErrors,\n  PatchAdminApplicationsByApplicationIdEmailTemplatesBySlugResponses,\n  PatchAdminApplicationsByIdAllocateCreditsData,\n  PatchAdminApplicationsByIdAllocateCreditsErrors,\n  PatchAdminApplicationsByIdAllocateCreditsResponses,\n  PatchAdminApplicationsByIdComplianceTagsData,\n  PatchAdminApplicationsByIdComplianceTagsErrors,\n  PatchAdminApplicationsByIdComplianceTagsResponses,\n  PatchAdminApplicationsByIdData,\n  PatchAdminApplicationsByIdErrors,\n  PatchAdminApplicationsByIdGrantCreditsData,\n  PatchAdminApplicationsByIdGrantCreditsErrors,\n  PatchAdminApplicationsByIdGrantCreditsResponses,\n  PatchAdminApplicationsByIdResponses,\n  PatchAdminBrandIdentitiesByIdData,\n  PatchAdminBrandIdentitiesByIdErrors,\n  PatchAdminBrandIdentitiesByIdResponses,\n  PatchAdminBrandIdentitiesByIdSetDefaultData,\n  PatchAdminBrandIdentitiesByIdSetDefaultErrors,\n  PatchAdminBrandIdentitiesByIdSetDefaultResponses,\n  PatchAdminBrandIdentitiesByIdUnsetDefaultData,\n  PatchAdminBrandIdentitiesByIdUnsetDefaultErrors,\n  PatchAdminBrandIdentitiesByIdUnsetDefaultResponses,\n  PatchAdminBreachIncidentsByIdStatusData,\n  PatchAdminBreachIncidentsByIdStatusErrors,\n  PatchAdminBreachIncidentsByIdStatusResponses,\n  PatchAdminBreachNotificationArtifactsByIdData,\n  PatchAdminBreachNotificationArtifactsByIdErrors,\n  PatchAdminBreachNotificationArtifactsByIdResponses,\n  PatchAdminBreachNotificationArtifactsByIdSendData,\n  PatchAdminBreachNotificationArtifactsByIdSendErrors,\n  PatchAdminBreachNotificationArtifactsByIdSendResponses,\n  PatchAdminBucketsByIdData,\n  PatchAdminBucketsByIdErrors,\n  PatchAdminBucketsByIdResponses,\n  PatchAdminBusinessAssociateAgreementsByIdData,\n  PatchAdminBusinessAssociateAgreementsByIdErrors,\n  PatchAdminBusinessAssociateAgreementsByIdResponses,\n  PatchAdminBusinessAssociateAgreementsByIdSignData,\n  PatchAdminBusinessAssociateAgreementsByIdSignErrors,\n  PatchAdminBusinessAssociateAgreementsByIdSignResponses,\n  PatchAdminBusinessAssociateAgreementsByIdTerminateData,\n  PatchAdminBusinessAssociateAgreementsByIdTerminateErrors,\n  PatchAdminBusinessAssociateAgreementsByIdTerminateResponses,\n  PatchAdminCampaignsSequencesByIdActivateData,\n  PatchAdminCampaignsSequencesByIdActivateErrors,\n  PatchAdminCampaignsSequencesByIdActivateResponses,\n  PatchAdminCampaignsSequencesByIdCompleteData,\n  PatchAdminCampaignsSequencesByIdCompleteErrors,\n  PatchAdminCampaignsSequencesByIdCompleteResponses,\n  PatchAdminCampaignsSequencesByIdData,\n  PatchAdminCampaignsSequencesByIdErrors,\n  PatchAdminCampaignsSequencesByIdPauseData,\n  PatchAdminCampaignsSequencesByIdPauseErrors,\n  PatchAdminCampaignsSequencesByIdPauseResponses,\n  PatchAdminCampaignsSequencesByIdResponses,\n  PatchAdminCampaignsSequencesByIdResumeData,\n  PatchAdminCampaignsSequencesByIdResumeErrors,\n  PatchAdminCampaignsSequencesByIdResumeResponses,\n  PatchAdminCampaignsSequenceStepsByIdData,\n  PatchAdminCampaignsSequenceStepsByIdErrors,\n  PatchAdminCampaignsSequenceStepsByIdResponses,\n  PatchAdminCasesByIdAssignOwnerData,\n  PatchAdminCasesByIdAssignOwnerErrors,\n  PatchAdminCasesByIdAssignOwnerResponses,\n  PatchAdminCasesByIdCloseData,\n  PatchAdminCasesByIdCloseErrors,\n  PatchAdminCasesByIdCloseResponses,\n  PatchAdminCasesByIdData,\n  PatchAdminCasesByIdDecideData,\n  PatchAdminCasesByIdDecideErrors,\n  PatchAdminCasesByIdDecideResponses,\n  PatchAdminCasesByIdErrors,\n  PatchAdminCasesByIdReopenData,\n  PatchAdminCasesByIdReopenErrors,\n  PatchAdminCasesByIdReopenResponses,\n  PatchAdminCasesByIdResponses,\n  PatchAdminCasesByIdTransitionStateData,\n  PatchAdminCasesByIdTransitionStateErrors,\n  PatchAdminCasesByIdTransitionStateResponses,\n  PatchAdminCaseTypesByIdActivateData,\n  PatchAdminCaseTypesByIdActivateErrors,\n  PatchAdminCaseTypesByIdActivateResponses,\n  PatchAdminCaseTypesByIdData,\n  PatchAdminCaseTypesByIdDeactivateData,\n  PatchAdminCaseTypesByIdDeactivateErrors,\n  PatchAdminCaseTypesByIdDeactivateResponses,\n  PatchAdminCaseTypesByIdErrors,\n  PatchAdminCaseTypesByIdResponses,\n  PatchAdminCatalogClassificationSuggestionsByIdAcceptData,\n  PatchAdminCatalogClassificationSuggestionsByIdAcceptErrors,\n  PatchAdminCatalogClassificationSuggestionsByIdAcceptResponses,\n  PatchAdminCatalogClassificationSuggestionsByIdRejectData,\n  PatchAdminCatalogClassificationSuggestionsByIdRejectErrors,\n  PatchAdminCatalogClassificationSuggestionsByIdRejectResponses,\n  PatchAdminCatalogOptionTypesByIdData,\n  PatchAdminCatalogOptionTypesByIdErrors,\n  PatchAdminCatalogOptionTypesByIdResponses,\n  PatchAdminCatalogOptionValuesByIdData,\n  PatchAdminCatalogOptionValuesByIdErrors,\n  PatchAdminCatalogOptionValuesByIdResponses,\n  PatchAdminCatalogPriceListEntriesByIdData,\n  PatchAdminCatalogPriceListEntriesByIdErrors,\n  PatchAdminCatalogPriceListEntriesByIdResponses,\n  PatchAdminCatalogPriceListsByIdData,\n  PatchAdminCatalogPriceListsByIdErrors,\n  PatchAdminCatalogPriceListsByIdResponses,\n  PatchAdminCatalogPriceSuggestionsByIdAcceptData,\n  PatchAdminCatalogPriceSuggestionsByIdAcceptErrors,\n  PatchAdminCatalogPriceSuggestionsByIdAcceptResponses,\n  PatchAdminCatalogPriceSuggestionsByIdRejectData,\n  PatchAdminCatalogPriceSuggestionsByIdRejectErrors,\n  PatchAdminCatalogPriceSuggestionsByIdRejectResponses,\n  PatchAdminCatalogProductsByIdData,\n  PatchAdminCatalogProductsByIdErrors,\n  PatchAdminCatalogProductsByIdResponses,\n  PatchAdminCatalogProductVariantsByIdData,\n  PatchAdminCatalogProductVariantsByIdErrors,\n  PatchAdminCatalogProductVariantsByIdResponses,\n  PatchAdminCatalogStockLocationsByIdData,\n  PatchAdminCatalogStockLocationsByIdErrors,\n  PatchAdminCatalogStockLocationsByIdResponses,\n  PatchAdminCatalogTaxonomiesByIdData,\n  PatchAdminCatalogTaxonomiesByIdErrors,\n  PatchAdminCatalogTaxonomiesByIdResponses,\n  PatchAdminCatalogTaxonomyNodesByIdData,\n  PatchAdminCatalogTaxonomyNodesByIdErrors,\n  PatchAdminCatalogTaxonomyNodesByIdResponses,\n  PatchAdminCatalogViewOverridesByIdData,\n  PatchAdminCatalogViewOverridesByIdErrors,\n  PatchAdminCatalogViewOverridesByIdResponses,\n  PatchAdminCatalogViewsByIdData,\n  PatchAdminCatalogViewsByIdErrors,\n  PatchAdminCatalogViewsByIdResponses,\n  PatchAdminClaimedDomainsByIdData,\n  PatchAdminClaimedDomainsByIdErrors,\n  PatchAdminClaimedDomainsByIdResponses,\n  PatchAdminClaimedDomainsByIdRevokeData,\n  PatchAdminClaimedDomainsByIdRevokeErrors,\n  PatchAdminClaimedDomainsByIdRevokeResponses,\n  PatchAdminClaimedDomainsByIdVerifyData,\n  PatchAdminClaimedDomainsByIdVerifyErrors,\n  PatchAdminClaimedDomainsByIdVerifyResponses,\n  PatchAdminClinicalClientGoalsByIdApproveData,\n  PatchAdminClinicalClientGoalsByIdApproveErrors,\n  PatchAdminClinicalClientGoalsByIdApproveResponses,\n  PatchAdminClinicalClientGoalsByIdArchiveData,\n  PatchAdminClinicalClientGoalsByIdArchiveErrors,\n  PatchAdminClinicalClientGoalsByIdArchiveResponses,\n  PatchAdminClinicalClientGoalsByIdData,\n  PatchAdminClinicalClientGoalsByIdErrors,\n  PatchAdminClinicalClientGoalsByIdRejectData,\n  PatchAdminClinicalClientGoalsByIdRejectErrors,\n  PatchAdminClinicalClientGoalsByIdRejectResponses,\n  PatchAdminClinicalClientGoalsByIdResponses,\n  PatchAdminClinicalClientGoalsByIdRestoreData,\n  PatchAdminClinicalClientGoalsByIdRestoreErrors,\n  PatchAdminClinicalClientGoalsByIdRestoreResponses,\n  PatchAdminClinicalClientMedicationsByIdArchiveData,\n  PatchAdminClinicalClientMedicationsByIdArchiveErrors,\n  PatchAdminClinicalClientMedicationsByIdArchiveResponses,\n  PatchAdminClinicalClientMedicationsByIdData,\n  PatchAdminClinicalClientMedicationsByIdErrors,\n  PatchAdminClinicalClientMedicationsByIdResponses,\n  PatchAdminClinicalClientMedicationsByIdRestoreData,\n  PatchAdminClinicalClientMedicationsByIdRestoreErrors,\n  PatchAdminClinicalClientMedicationsByIdRestoreResponses,\n  PatchAdminClinicalClientResourceAssignmentsByIdArchiveData,\n  PatchAdminClinicalClientResourceAssignmentsByIdArchiveErrors,\n  PatchAdminClinicalClientResourceAssignmentsByIdArchiveResponses,\n  PatchAdminClinicalClientResourceAssignmentsByIdData,\n  PatchAdminClinicalClientResourceAssignmentsByIdErrors,\n  PatchAdminClinicalClientResourceAssignmentsByIdResponses,\n  PatchAdminClinicalClientResourceAssignmentsByIdRestoreData,\n  PatchAdminClinicalClientResourceAssignmentsByIdRestoreErrors,\n  PatchAdminClinicalClientResourceAssignmentsByIdRestoreResponses,\n  PatchAdminClinicalClientSupplementsByIdArchiveData,\n  PatchAdminClinicalClientSupplementsByIdArchiveErrors,\n  PatchAdminClinicalClientSupplementsByIdArchiveResponses,\n  PatchAdminClinicalClientSupplementsByIdData,\n  PatchAdminClinicalClientSupplementsByIdErrors,\n  PatchAdminClinicalClientSupplementsByIdResponses,\n  PatchAdminClinicalClientSupplementsByIdRestoreData,\n  PatchAdminClinicalClientSupplementsByIdRestoreErrors,\n  PatchAdminClinicalClientSupplementsByIdRestoreResponses,\n  PatchAdminClinicalDeliveriesByIdData,\n  PatchAdminClinicalDeliveriesByIdErrors,\n  PatchAdminClinicalDeliveriesByIdResponses,\n  PatchAdminClinicalDocumentsByIdData,\n  PatchAdminClinicalDocumentsByIdErrors,\n  PatchAdminClinicalDocumentsByIdResponses,\n  PatchAdminClinicalDocumentsByIdTransitionStatusData,\n  PatchAdminClinicalDocumentsByIdTransitionStatusErrors,\n  PatchAdminClinicalDocumentsByIdTransitionStatusResponses,\n  PatchAdminClinicalGoalTemplateCollectionMembershipsByIdData,\n  PatchAdminClinicalGoalTemplateCollectionMembershipsByIdErrors,\n  PatchAdminClinicalGoalTemplateCollectionMembershipsByIdResponses,\n  PatchAdminClinicalGoalTemplateCollectionsByIdData,\n  PatchAdminClinicalGoalTemplateCollectionsByIdErrors,\n  PatchAdminClinicalGoalTemplateCollectionsByIdResponses,\n  PatchAdminClinicalGoalTemplatesByIdArchiveData,\n  PatchAdminClinicalGoalTemplatesByIdArchiveErrors,\n  PatchAdminClinicalGoalTemplatesByIdArchiveResponses,\n  PatchAdminClinicalGoalTemplatesByIdData,\n  PatchAdminClinicalGoalTemplatesByIdErrors,\n  PatchAdminClinicalGoalTemplatesByIdResponses,\n  PatchAdminClinicalGoalTemplatesByIdRestoreData,\n  PatchAdminClinicalGoalTemplatesByIdRestoreErrors,\n  PatchAdminClinicalGoalTemplatesByIdRestoreResponses,\n  PatchAdminClinicalGoalTemplatesCatalogByIdArchiveData,\n  PatchAdminClinicalGoalTemplatesCatalogByIdArchiveErrors,\n  PatchAdminClinicalGoalTemplatesCatalogByIdArchiveResponses,\n  PatchAdminClinicalGoalTemplatesCatalogByIdData,\n  PatchAdminClinicalGoalTemplatesCatalogByIdErrors,\n  PatchAdminClinicalGoalTemplatesCatalogByIdResponses,\n  PatchAdminClinicalGoalTemplatesCatalogByIdRestoreData,\n  PatchAdminClinicalGoalTemplatesCatalogByIdRestoreErrors,\n  PatchAdminClinicalGoalTemplatesCatalogByIdRestoreResponses,\n  PatchAdminClinicalHealthMetricsByIdArchiveData,\n  PatchAdminClinicalHealthMetricsByIdArchiveErrors,\n  PatchAdminClinicalHealthMetricsByIdArchiveResponses,\n  PatchAdminClinicalHealthMetricsByIdData,\n  PatchAdminClinicalHealthMetricsByIdErrors,\n  PatchAdminClinicalHealthMetricsByIdResponses,\n  PatchAdminClinicalHealthMetricsByIdRestoreData,\n  PatchAdminClinicalHealthMetricsByIdRestoreErrors,\n  PatchAdminClinicalHealthMetricsByIdRestoreResponses,\n  PatchAdminClinicalInsuranceAuthorizationsByIdData,\n  PatchAdminClinicalInsuranceAuthorizationsByIdErrors,\n  PatchAdminClinicalInsuranceAuthorizationsByIdIncrementData,\n  PatchAdminClinicalInsuranceAuthorizationsByIdIncrementErrors,\n  PatchAdminClinicalInsuranceAuthorizationsByIdIncrementResponses,\n  PatchAdminClinicalInsuranceAuthorizationsByIdResponses,\n  PatchAdminClinicalIntakeTargetsByIdArchiveData,\n  PatchAdminClinicalIntakeTargetsByIdArchiveErrors,\n  PatchAdminClinicalIntakeTargetsByIdArchiveResponses,\n  PatchAdminClinicalIntakeTargetsByIdData,\n  PatchAdminClinicalIntakeTargetsByIdErrors,\n  PatchAdminClinicalIntakeTargetsByIdResponses,\n  PatchAdminClinicalIntakeTargetsByIdRestoreData,\n  PatchAdminClinicalIntakeTargetsByIdRestoreErrors,\n  PatchAdminClinicalIntakeTargetsByIdRestoreResponses,\n  PatchAdminClinicalMealPlansByIdApproveData,\n  PatchAdminClinicalMealPlansByIdApproveErrors,\n  PatchAdminClinicalMealPlansByIdApproveResponses,\n  PatchAdminClinicalMealPlansByIdArchiveData,\n  PatchAdminClinicalMealPlansByIdArchiveErrors,\n  PatchAdminClinicalMealPlansByIdArchiveResponses,\n  PatchAdminClinicalMealPlansByIdData,\n  PatchAdminClinicalMealPlansByIdErrors,\n  PatchAdminClinicalMealPlansByIdResponses,\n  PatchAdminClinicalMealPlansByIdRestoreData,\n  PatchAdminClinicalMealPlansByIdRestoreErrors,\n  PatchAdminClinicalMealPlansByIdRestoreResponses,\n  PatchAdminClinicalNotesByIdApproveData,\n  PatchAdminClinicalNotesByIdApproveErrors,\n  PatchAdminClinicalNotesByIdApproveResponses,\n  PatchAdminClinicalNotesByIdArchiveData,\n  PatchAdminClinicalNotesByIdArchiveErrors,\n  PatchAdminClinicalNotesByIdArchiveResponses,\n  PatchAdminClinicalNotesByIdData,\n  PatchAdminClinicalNotesByIdErrors,\n  PatchAdminClinicalNotesByIdRejectData,\n  PatchAdminClinicalNotesByIdRejectErrors,\n  PatchAdminClinicalNotesByIdRejectResponses,\n  PatchAdminClinicalNotesByIdResponses,\n  PatchAdminClinicalNotesByIdRestoreData,\n  PatchAdminClinicalNotesByIdRestoreErrors,\n  PatchAdminClinicalNotesByIdRestoreResponses,\n  PatchAdminClinicalNoteTemplatesByIdArchiveData,\n  PatchAdminClinicalNoteTemplatesByIdArchiveErrors,\n  PatchAdminClinicalNoteTemplatesByIdArchiveResponses,\n  PatchAdminClinicalNoteTemplatesByIdData,\n  PatchAdminClinicalNoteTemplatesByIdErrors,\n  PatchAdminClinicalNoteTemplatesByIdResponses,\n  PatchAdminClinicalNoteTemplatesByIdRestoreData,\n  PatchAdminClinicalNoteTemplatesByIdRestoreErrors,\n  PatchAdminClinicalNoteTemplatesByIdRestoreResponses,\n  PatchAdminClinicalNoteTemplatesCatalogByIdArchiveData,\n  PatchAdminClinicalNoteTemplatesCatalogByIdArchiveErrors,\n  PatchAdminClinicalNoteTemplatesCatalogByIdArchiveResponses,\n  PatchAdminClinicalNoteTemplatesCatalogByIdData,\n  PatchAdminClinicalNoteTemplatesCatalogByIdErrors,\n  PatchAdminClinicalNoteTemplatesCatalogByIdResponses,\n  PatchAdminClinicalNoteTemplatesCatalogByIdRestoreData,\n  PatchAdminClinicalNoteTemplatesCatalogByIdRestoreErrors,\n  PatchAdminClinicalNoteTemplatesCatalogByIdRestoreResponses,\n  PatchAdminClinicalPatientInsuranceByIdData,\n  PatchAdminClinicalPatientInsuranceByIdErrors,\n  PatchAdminClinicalPatientInsuranceByIdResponses,\n  PatchAdminClinicalPatientsByIdData,\n  PatchAdminClinicalPatientsByIdErrors,\n  PatchAdminClinicalPatientsByIdResponses,\n  PatchAdminClinicalPracticeResourcesByIdArchiveData,\n  PatchAdminClinicalPracticeResourcesByIdArchiveErrors,\n  PatchAdminClinicalPracticeResourcesByIdArchiveResponses,\n  PatchAdminClinicalPracticeResourcesByIdData,\n  PatchAdminClinicalPracticeResourcesByIdErrors,\n  PatchAdminClinicalPracticeResourcesByIdResponses,\n  PatchAdminClinicalPracticeResourcesByIdRestoreData,\n  PatchAdminClinicalPracticeResourcesByIdRestoreErrors,\n  PatchAdminClinicalPracticeResourcesByIdRestoreResponses,\n  PatchAdminClinicalPracticeResourcesCatalogByIdArchiveData,\n  PatchAdminClinicalPracticeResourcesCatalogByIdArchiveErrors,\n  PatchAdminClinicalPracticeResourcesCatalogByIdArchiveResponses,\n  PatchAdminClinicalPracticeResourcesCatalogByIdData,\n  PatchAdminClinicalPracticeResourcesCatalogByIdErrors,\n  PatchAdminClinicalPracticeResourcesCatalogByIdResponses,\n  PatchAdminClinicalPracticeResourcesCatalogByIdRestoreData,\n  PatchAdminClinicalPracticeResourcesCatalogByIdRestoreErrors,\n  PatchAdminClinicalPracticeResourcesCatalogByIdRestoreResponses,\n  PatchAdminClinicalPracticeToolsByIdArchiveData,\n  PatchAdminClinicalPracticeToolsByIdArchiveErrors,\n  PatchAdminClinicalPracticeToolsByIdArchiveResponses,\n  PatchAdminClinicalPracticeToolsByIdData,\n  PatchAdminClinicalPracticeToolsByIdErrors,\n  PatchAdminClinicalPracticeToolsByIdResponses,\n  PatchAdminClinicalPracticeToolsByIdRestoreData,\n  PatchAdminClinicalPracticeToolsByIdRestoreErrors,\n  PatchAdminClinicalPracticeToolsByIdRestoreResponses,\n  PatchAdminClinicalPracticeToolsCatalogByIdArchiveData,\n  PatchAdminClinicalPracticeToolsCatalogByIdArchiveErrors,\n  PatchAdminClinicalPracticeToolsCatalogByIdArchiveResponses,\n  PatchAdminClinicalPracticeToolsCatalogByIdData,\n  PatchAdminClinicalPracticeToolsCatalogByIdErrors,\n  PatchAdminClinicalPracticeToolsCatalogByIdResponses,\n  PatchAdminClinicalPracticeToolsCatalogByIdRestoreData,\n  PatchAdminClinicalPracticeToolsCatalogByIdRestoreErrors,\n  PatchAdminClinicalPracticeToolsCatalogByIdRestoreResponses,\n  PatchAdminClinicalSessionsByIdData,\n  PatchAdminClinicalSessionsByIdErrors,\n  PatchAdminClinicalSessionsByIdResponses,\n  PatchAdminClinicalSupplementRecCacheByIdData,\n  PatchAdminClinicalSupplementRecCacheByIdErrors,\n  PatchAdminClinicalSupplementRecCacheByIdResponses,\n  PatchAdminClinicalSupplementTemplateCollectionMembershipsByIdData,\n  PatchAdminClinicalSupplementTemplateCollectionMembershipsByIdErrors,\n  PatchAdminClinicalSupplementTemplateCollectionMembershipsByIdResponses,\n  PatchAdminClinicalSupplementTemplateCollectionsByIdData,\n  PatchAdminClinicalSupplementTemplateCollectionsByIdErrors,\n  PatchAdminClinicalSupplementTemplateCollectionsByIdResponses,\n  PatchAdminClinicalSupplementTemplatesByIdArchiveData,\n  PatchAdminClinicalSupplementTemplatesByIdArchiveErrors,\n  PatchAdminClinicalSupplementTemplatesByIdArchiveResponses,\n  PatchAdminClinicalSupplementTemplatesByIdData,\n  PatchAdminClinicalSupplementTemplatesByIdErrors,\n  PatchAdminClinicalSupplementTemplatesByIdResponses,\n  PatchAdminClinicalSupplementTemplatesByIdRestoreData,\n  PatchAdminClinicalSupplementTemplatesByIdRestoreErrors,\n  PatchAdminClinicalSupplementTemplatesByIdRestoreResponses,\n  PatchAdminClinicalSupplementTemplatesCatalogByIdArchiveData,\n  PatchAdminClinicalSupplementTemplatesCatalogByIdArchiveErrors,\n  PatchAdminClinicalSupplementTemplatesCatalogByIdArchiveResponses,\n  PatchAdminClinicalSupplementTemplatesCatalogByIdData,\n  PatchAdminClinicalSupplementTemplatesCatalogByIdErrors,\n  PatchAdminClinicalSupplementTemplatesCatalogByIdResponses,\n  PatchAdminClinicalSupplementTemplatesCatalogByIdRestoreData,\n  PatchAdminClinicalSupplementTemplatesCatalogByIdRestoreErrors,\n  PatchAdminClinicalSupplementTemplatesCatalogByIdRestoreResponses,\n  PatchAdminComplianceDocumentTemplatesByIdData,\n  PatchAdminComplianceDocumentTemplatesByIdErrors,\n  PatchAdminComplianceDocumentTemplatesByIdResponses,\n  PatchAdminComplianceOfficerDesignationsByIdRevokeData,\n  PatchAdminComplianceOfficerDesignationsByIdRevokeErrors,\n  PatchAdminComplianceOfficerDesignationsByIdRevokeResponses,\n  PatchAdminComplianceRequirementsByIdData,\n  PatchAdminComplianceRequirementsByIdErrors,\n  PatchAdminComplianceRequirementsByIdResponses,\n  PatchAdminCompositeOperationsByIdData,\n  PatchAdminCompositeOperationsByIdErrors,\n  PatchAdminCompositeOperationsByIdResponses,\n  PatchAdminConfigsByKeyData,\n  PatchAdminConfigsByKeyErrors,\n  PatchAdminConfigsByKeyResponses,\n  PatchAdminConnectorsByIdData,\n  PatchAdminConnectorsByIdErrors,\n  PatchAdminConnectorsByIdResponses,\n  PatchAdminConnectorsOauthAppConfigsByIdData,\n  PatchAdminConnectorsOauthAppConfigsByIdErrors,\n  PatchAdminConnectorsOauthAppConfigsByIdResponses,\n  PatchAdminConsentRecordsByIdWithdrawData,\n  PatchAdminConsentRecordsByIdWithdrawErrors,\n  PatchAdminConsentRecordsByIdWithdrawResponses,\n  PatchAdminContractsByIdData,\n  PatchAdminContractsByIdErrors,\n  PatchAdminContractsByIdResponses,\n  PatchAdminCrawlerBrowserSessionsByIdRefreshData,\n  PatchAdminCrawlerBrowserSessionsByIdRefreshErrors,\n  PatchAdminCrawlerBrowserSessionsByIdRefreshResponses,\n  PatchAdminCrawlerJobsByIdCancelData,\n  PatchAdminCrawlerJobsByIdCancelErrors,\n  PatchAdminCrawlerJobsByIdCancelResponses,\n  PatchAdminCrawlerNewsMonitorsByIdArchiveData,\n  PatchAdminCrawlerNewsMonitorsByIdArchiveErrors,\n  PatchAdminCrawlerNewsMonitorsByIdArchiveResponses,\n  PatchAdminCrawlerNewsMonitorsByIdData,\n  PatchAdminCrawlerNewsMonitorsByIdErrors,\n  PatchAdminCrawlerNewsMonitorsByIdPauseData,\n  PatchAdminCrawlerNewsMonitorsByIdPauseErrors,\n  PatchAdminCrawlerNewsMonitorsByIdPauseResponses,\n  PatchAdminCrawlerNewsMonitorsByIdResponses,\n  PatchAdminCrawlerNewsMonitorsByIdResumeData,\n  PatchAdminCrawlerNewsMonitorsByIdResumeErrors,\n  PatchAdminCrawlerNewsMonitorsByIdResumeResponses,\n  PatchAdminCrawlerSchedulesByIdData,\n  PatchAdminCrawlerSchedulesByIdDisableData,\n  PatchAdminCrawlerSchedulesByIdDisableErrors,\n  PatchAdminCrawlerSchedulesByIdDisableResponses,\n  PatchAdminCrawlerSchedulesByIdEnableData,\n  PatchAdminCrawlerSchedulesByIdEnableErrors,\n  PatchAdminCrawlerSchedulesByIdEnableResponses,\n  PatchAdminCrawlerSchedulesByIdErrors,\n  PatchAdminCrawlerSchedulesByIdResponses,\n  PatchAdminCrawlerSchedulesByIdTriggerData,\n  PatchAdminCrawlerSchedulesByIdTriggerErrors,\n  PatchAdminCrawlerSchedulesByIdTriggerResponses,\n  PatchAdminCrawlerSiteConfigsByIdData,\n  PatchAdminCrawlerSiteConfigsByIdErrors,\n  PatchAdminCrawlerSiteConfigsByIdResponses,\n  PatchAdminCreditPackagesByIdData,\n  PatchAdminCreditPackagesByIdErrors,\n  PatchAdminCreditPackagesByIdResponses,\n  PatchAdminCrmActivitiesByIdData,\n  PatchAdminCrmActivitiesByIdErrors,\n  PatchAdminCrmActivitiesByIdResponses,\n  PatchAdminCrmAddressesByIdData,\n  PatchAdminCrmAddressesByIdErrors,\n  PatchAdminCrmAddressesByIdResponses,\n  PatchAdminCrmAddressesByIdSetPrimaryData,\n  PatchAdminCrmAddressesByIdSetPrimaryErrors,\n  PatchAdminCrmAddressesByIdSetPrimaryResponses,\n  PatchAdminCrmCompaniesByIdData,\n  PatchAdminCrmCompaniesByIdErrors,\n  PatchAdminCrmCompaniesByIdResponses,\n  PatchAdminCrmContactsByIdArchiveData,\n  PatchAdminCrmContactsByIdArchiveErrors,\n  PatchAdminCrmContactsByIdArchiveResponses,\n  PatchAdminCrmContactsByIdData,\n  PatchAdminCrmContactsByIdErrors,\n  PatchAdminCrmContactsByIdResponses,\n  PatchAdminCrmCustomEntitiesByIdData,\n  PatchAdminCrmCustomEntitiesByIdErrors,\n  PatchAdminCrmCustomEntitiesByIdResponses,\n  PatchAdminCrmDealsByIdData,\n  PatchAdminCrmDealsByIdErrors,\n  PatchAdminCrmDealsByIdMoveStageData,\n  PatchAdminCrmDealsByIdMoveStageErrors,\n  PatchAdminCrmDealsByIdMoveStageResponses,\n  PatchAdminCrmDealsByIdResponses,\n  PatchAdminCrmEmailAddressesByIdData,\n  PatchAdminCrmEmailAddressesByIdErrors,\n  PatchAdminCrmEmailAddressesByIdResponses,\n  PatchAdminCrmEmailAddressesByIdSetPrimaryData,\n  PatchAdminCrmEmailAddressesByIdSetPrimaryErrors,\n  PatchAdminCrmEmailAddressesByIdSetPrimaryResponses,\n  PatchAdminCrmExportsByIdRefreshUrlData,\n  PatchAdminCrmExportsByIdRefreshUrlErrors,\n  PatchAdminCrmExportsByIdRefreshUrlResponses,\n  PatchAdminCrmFieldDefinitionsByIdData,\n  PatchAdminCrmFieldDefinitionsByIdErrors,\n  PatchAdminCrmFieldDefinitionsByIdResponses,\n  PatchAdminCrmPhoneNumbersByIdData,\n  PatchAdminCrmPhoneNumbersByIdErrors,\n  PatchAdminCrmPhoneNumbersByIdResponses,\n  PatchAdminCrmPhoneNumbersByIdSetPrimaryData,\n  PatchAdminCrmPhoneNumbersByIdSetPrimaryErrors,\n  PatchAdminCrmPhoneNumbersByIdSetPrimaryResponses,\n  PatchAdminCrmPipelinesByIdData,\n  PatchAdminCrmPipelinesByIdErrors,\n  PatchAdminCrmPipelinesByIdResponses,\n  PatchAdminCrmPipelineStagesByIdData,\n  PatchAdminCrmPipelineStagesByIdErrors,\n  PatchAdminCrmPipelineStagesByIdResponses,\n  PatchAdminCrmRelationshipTypesByIdData,\n  PatchAdminCrmRelationshipTypesByIdErrors,\n  PatchAdminCrmRelationshipTypesByIdResponses,\n  PatchAdminCrmSocialProfilesByIdData,\n  PatchAdminCrmSocialProfilesByIdErrors,\n  PatchAdminCrmSocialProfilesByIdResponses,\n  PatchAdminCrmSyncConfigsByIdData,\n  PatchAdminCrmSyncConfigsByIdErrors,\n  PatchAdminCrmSyncConfigsByIdResponses,\n  PatchAdminCrmWebsitesByIdData,\n  PatchAdminCrmWebsitesByIdErrors,\n  PatchAdminCrmWebsitesByIdResponses,\n  PatchAdminCrmWebsitesByIdSetPrimaryData,\n  PatchAdminCrmWebsitesByIdSetPrimaryErrors,\n  PatchAdminCrmWebsitesByIdSetPrimaryResponses,\n  PatchAdminCustomersByIdData,\n  PatchAdminCustomersByIdErrors,\n  PatchAdminCustomersByIdResponses,\n  PatchAdminDataSubjectRequestsByIdStatusData,\n  PatchAdminDataSubjectRequestsByIdStatusErrors,\n  PatchAdminDataSubjectRequestsByIdStatusResponses,\n  PatchAdminEmailInboundAddressesByIdData,\n  PatchAdminEmailInboundAddressesByIdDisableData,\n  PatchAdminEmailInboundAddressesByIdDisableErrors,\n  PatchAdminEmailInboundAddressesByIdDisableResponses,\n  PatchAdminEmailInboundAddressesByIdEnableData,\n  PatchAdminEmailInboundAddressesByIdEnableErrors,\n  PatchAdminEmailInboundAddressesByIdEnableResponses,\n  PatchAdminEmailInboundAddressesByIdErrors,\n  PatchAdminEmailInboundAddressesByIdResponses,\n  PatchAdminEmailInboundAddressesByIdRotateTokenData,\n  PatchAdminEmailInboundAddressesByIdRotateTokenErrors,\n  PatchAdminEmailInboundAddressesByIdRotateTokenResponses,\n  PatchAdminEmailInclusionsByIdData,\n  PatchAdminEmailInclusionsByIdErrors,\n  PatchAdminEmailInclusionsByIdResponses,\n  PatchAdminEmailMarketingCampaignsByIdData,\n  PatchAdminEmailMarketingCampaignsByIdErrors,\n  PatchAdminEmailMarketingCampaignsByIdResponses,\n  PatchAdminEmailMarketingGeneratedEmailsByIdApproveData,\n  PatchAdminEmailMarketingGeneratedEmailsByIdApproveErrors,\n  PatchAdminEmailMarketingGeneratedEmailsByIdApproveResponses,\n  PatchAdminEmailMarketingGeneratedEmailsByIdData,\n  PatchAdminEmailMarketingGeneratedEmailsByIdErrors,\n  PatchAdminEmailMarketingGeneratedEmailsByIdRejectData,\n  PatchAdminEmailMarketingGeneratedEmailsByIdRejectErrors,\n  PatchAdminEmailMarketingGeneratedEmailsByIdRejectResponses,\n  PatchAdminEmailMarketingGeneratedEmailsByIdResponses,\n  PatchAdminEmailMarketingGeneratedEmailsByIdScheduleData,\n  PatchAdminEmailMarketingGeneratedEmailsByIdScheduleErrors,\n  PatchAdminEmailMarketingGeneratedEmailsByIdScheduleResponses,\n  PatchAdminEmailMarketingSenderProfilesByIdData,\n  PatchAdminEmailMarketingSenderProfilesByIdErrors,\n  PatchAdminEmailMarketingSenderProfilesByIdResponses,\n  PatchAdminEmailMarketingSenderProfilesByIdSetDefaultData,\n  PatchAdminEmailMarketingSenderProfilesByIdSetDefaultErrors,\n  PatchAdminEmailMarketingSenderProfilesByIdSetDefaultResponses,\n  PatchAdminEmailMarketingSenderProfilesByIdValidateDnsData,\n  PatchAdminEmailMarketingSenderProfilesByIdValidateDnsErrors,\n  PatchAdminEmailMarketingSenderProfilesByIdValidateDnsResponses,\n  PatchAdminEmailMarketingTemplatesByIdArchiveData,\n  PatchAdminEmailMarketingTemplatesByIdArchiveErrors,\n  PatchAdminEmailMarketingTemplatesByIdArchiveResponses,\n  PatchAdminEmailMarketingTemplatesByIdData,\n  PatchAdminEmailMarketingTemplatesByIdErrors,\n  PatchAdminEmailMarketingTemplatesByIdPreviewData,\n  PatchAdminEmailMarketingTemplatesByIdPreviewErrors,\n  PatchAdminEmailMarketingTemplatesByIdPreviewResponses,\n  PatchAdminEmailMarketingTemplatesByIdPublishData,\n  PatchAdminEmailMarketingTemplatesByIdPublishErrors,\n  PatchAdminEmailMarketingTemplatesByIdPublishResponses,\n  PatchAdminEmailMarketingTemplatesByIdResponses,\n  PatchAdminEmailMarketingTemplatesByIdRestoreData,\n  PatchAdminEmailMarketingTemplatesByIdRestoreErrors,\n  PatchAdminEmailMarketingTemplatesByIdRestoreResponses,\n  PatchAdminEmailMarketingTemplatesByIdRollbackData,\n  PatchAdminEmailMarketingTemplatesByIdRollbackErrors,\n  PatchAdminEmailMarketingTemplatesByIdRollbackResponses,\n  PatchAdminEmailMarketingTemplatesByIdUnpublishData,\n  PatchAdminEmailMarketingTemplatesByIdUnpublishErrors,\n  PatchAdminEmailMarketingTemplatesByIdUnpublishResponses,\n  PatchAdminEmailOutboundEmailsByIdCancelScheduleData,\n  PatchAdminEmailOutboundEmailsByIdCancelScheduleErrors,\n  PatchAdminEmailOutboundEmailsByIdCancelScheduleResponses,\n  PatchAdminEmailOutboundEmailsByIdData,\n  PatchAdminEmailOutboundEmailsByIdErrors,\n  PatchAdminEmailOutboundEmailsByIdResponses,\n  PatchAdminEmailOutboundEmailsByIdScheduleData,\n  PatchAdminEmailOutboundEmailsByIdScheduleErrors,\n  PatchAdminEmailOutboundEmailsByIdScheduleResponses,\n  PatchAdminEmailOutboundEmailsByIdSendData,\n  PatchAdminEmailOutboundEmailsByIdSendErrors,\n  PatchAdminEmailOutboundEmailsByIdSendResponses,\n  PatchAdminEphiAssetsByIdData,\n  PatchAdminEphiAssetsByIdErrors,\n  PatchAdminEphiAssetsByIdResponses,\n  PatchAdminEphiDataFlowsByIdData,\n  PatchAdminEphiDataFlowsByIdErrors,\n  PatchAdminEphiDataFlowsByIdResponses,\n  PatchAdminExtractionConfigEnumsByIdData,\n  PatchAdminExtractionConfigEnumsByIdErrors,\n  PatchAdminExtractionConfigEnumsByIdResponses,\n  PatchAdminExtractionDocumentsByIdCancelData,\n  PatchAdminExtractionDocumentsByIdCancelErrors,\n  PatchAdminExtractionDocumentsByIdCancelResponses,\n  PatchAdminExtractionDocumentsByIdDismissData,\n  PatchAdminExtractionDocumentsByIdDismissErrors,\n  PatchAdminExtractionDocumentsByIdDismissResponses,\n  PatchAdminExtractionDocumentsByIdDismissTrainingData,\n  PatchAdminExtractionDocumentsByIdDismissTrainingErrors,\n  PatchAdminExtractionDocumentsByIdDismissTrainingResponses,\n  PatchAdminExtractionDocumentsByIdExcludeData,\n  PatchAdminExtractionDocumentsByIdExcludeErrors,\n  PatchAdminExtractionDocumentsByIdExcludeResponses,\n  PatchAdminExtractionDocumentsByIdFinishUploadData,\n  PatchAdminExtractionDocumentsByIdFinishUploadErrors,\n  PatchAdminExtractionDocumentsByIdFinishUploadResponses,\n  PatchAdminExtractionDocumentsByIdIncludeData,\n  PatchAdminExtractionDocumentsByIdIncludeErrors,\n  PatchAdminExtractionDocumentsByIdIncludeResponses,\n  PatchAdminExtractionDocumentsByIdMarkTrainedData,\n  PatchAdminExtractionDocumentsByIdMarkTrainedErrors,\n  PatchAdminExtractionDocumentsByIdMarkTrainedResponses,\n  PatchAdminExtractionDocumentsByIdReprocessData,\n  PatchAdminExtractionDocumentsByIdReprocessErrors,\n  PatchAdminExtractionDocumentsByIdReprocessResponses,\n  PatchAdminExtractionDocumentsByIdRestoreData,\n  PatchAdminExtractionDocumentsByIdRestoreErrors,\n  PatchAdminExtractionDocumentsByIdRestoreResponses,\n  PatchAdminExtractionDocumentsByIdStatusData,\n  PatchAdminExtractionDocumentsByIdStatusErrors,\n  PatchAdminExtractionDocumentsByIdStatusResponses,\n  PatchAdminExtractionDocumentsByIdVerificationData,\n  PatchAdminExtractionDocumentsByIdVerificationErrors,\n  PatchAdminExtractionDocumentsByIdVerificationResponses,\n  PatchAdminExtractionResultsByIdData,\n  PatchAdminExtractionResultsByIdErrors,\n  PatchAdminExtractionResultsByIdRegenerateData,\n  PatchAdminExtractionResultsByIdRegenerateErrors,\n  PatchAdminExtractionResultsByIdRegenerateResponses,\n  PatchAdminExtractionResultsByIdResponses,\n  PatchAdminExtractionResultsByIdSaveCorrectionsData,\n  PatchAdminExtractionResultsByIdSaveCorrectionsErrors,\n  PatchAdminExtractionResultsByIdSaveCorrectionsResponses,\n  PatchAdminExtractionWorkflowsByIdData,\n  PatchAdminExtractionWorkflowsByIdErrors,\n  PatchAdminExtractionWorkflowsByIdResponses,\n  PatchAdminFeatureDefinitionsByIdData,\n  PatchAdminFeatureDefinitionsByIdErrors,\n  PatchAdminFeatureDefinitionsByIdResponses,\n  PatchAdminFormDeploymentsByIdAcceptUpdateData,\n  PatchAdminFormDeploymentsByIdAcceptUpdateErrors,\n  PatchAdminFormDeploymentsByIdAcceptUpdateResponses,\n  PatchAdminFormDeploymentsByIdData,\n  PatchAdminFormDeploymentsByIdErrors,\n  PatchAdminFormDeploymentsByIdResponses,\n  PatchAdminFormGenerationsByIdCancelData,\n  PatchAdminFormGenerationsByIdCancelErrors,\n  PatchAdminFormGenerationsByIdCancelResponses,\n  PatchAdminFormVersionsByIdClassifyFieldData,\n  PatchAdminFormVersionsByIdClassifyFieldErrors,\n  PatchAdminFormVersionsByIdClassifyFieldResponses,\n  PatchAdminFormVersionsByIdData,\n  PatchAdminFormVersionsByIdErrors,\n  PatchAdminFormVersionsByIdResponses,\n  PatchAdminImpactAssessmentsByIdApproveData,\n  PatchAdminImpactAssessmentsByIdApproveErrors,\n  PatchAdminImpactAssessmentsByIdApproveResponses,\n  PatchAdminImpactAssessmentsByIdData,\n  PatchAdminImpactAssessmentsByIdErrors,\n  PatchAdminImpactAssessmentsByIdResponses,\n  PatchAdminInvitationsByIdAcceptByIdData,\n  PatchAdminInvitationsByIdAcceptByIdErrors,\n  PatchAdminInvitationsByIdAcceptByIdResponses,\n  PatchAdminInvitationsByIdAcceptByUserData,\n  PatchAdminInvitationsByIdAcceptByUserErrors,\n  PatchAdminInvitationsByIdAcceptByUserResponses,\n  PatchAdminInvitationsByIdAcceptData,\n  PatchAdminInvitationsByIdAcceptErrors,\n  PatchAdminInvitationsByIdAcceptResponses,\n  PatchAdminInvitationsByIdDeclineData,\n  PatchAdminInvitationsByIdDeclineErrors,\n  PatchAdminInvitationsByIdDeclineResponses,\n  PatchAdminInvitationsByIdResendData,\n  PatchAdminInvitationsByIdResendErrors,\n  PatchAdminInvitationsByIdResendResponses,\n  PatchAdminInvitationsByIdRevokeData,\n  PatchAdminInvitationsByIdRevokeErrors,\n  PatchAdminInvitationsByIdRevokeResponses,\n  PatchAdminInvoicesByIdApplyAiSuggestionsData,\n  PatchAdminInvoicesByIdApplyAiSuggestionsErrors,\n  PatchAdminInvoicesByIdApplyAiSuggestionsResponses,\n  PatchAdminInvoicesByIdApproveData,\n  PatchAdminInvoicesByIdApproveErrors,\n  PatchAdminInvoicesByIdApproveResponses,\n  PatchAdminInvoicesByIdData,\n  PatchAdminInvoicesByIdDisputeData,\n  PatchAdminInvoicesByIdDisputeErrors,\n  PatchAdminInvoicesByIdDisputeResponses,\n  PatchAdminInvoicesByIdErrors,\n  PatchAdminInvoicesByIdMarkOverdueData,\n  PatchAdminInvoicesByIdMarkOverdueErrors,\n  PatchAdminInvoicesByIdMarkOverdueResponses,\n  PatchAdminInvoicesByIdMarkPaidData,\n  PatchAdminInvoicesByIdMarkPaidErrors,\n  PatchAdminInvoicesByIdMarkPaidResponses,\n  PatchAdminInvoicesByIdMarkViewedData,\n  PatchAdminInvoicesByIdMarkViewedErrors,\n  PatchAdminInvoicesByIdMarkViewedResponses,\n  PatchAdminInvoicesByIdResolveDisputeData,\n  PatchAdminInvoicesByIdResolveDisputeErrors,\n  PatchAdminInvoicesByIdResolveDisputeResponses,\n  PatchAdminInvoicesByIdResponses,\n  PatchAdminInvoicesByIdSchedulePaymentData,\n  PatchAdminInvoicesByIdSchedulePaymentErrors,\n  PatchAdminInvoicesByIdSchedulePaymentResponses,\n  PatchAdminInvoicesByIdSendData,\n  PatchAdminInvoicesByIdSendErrors,\n  PatchAdminInvoicesByIdSendResponses,\n  PatchAdminInvoicesByIdSubmitForApprovalData,\n  PatchAdminInvoicesByIdSubmitForApprovalErrors,\n  PatchAdminInvoicesByIdSubmitForApprovalResponses,\n  PatchAdminInvoicesByIdVoidData,\n  PatchAdminInvoicesByIdVoidErrors,\n  PatchAdminInvoicesByIdVoidResponses,\n  PatchAdminInvoicesContactsByIdData,\n  PatchAdminInvoicesContactsByIdErrors,\n  PatchAdminInvoicesContactsByIdResponses,\n  PatchAdminInvoicesLinesByIdData,\n  PatchAdminInvoicesLinesByIdErrors,\n  PatchAdminInvoicesLinesByIdResponses,\n  PatchAdminInvoicesRecurringSchedulesByIdData,\n  PatchAdminInvoicesRecurringSchedulesByIdErrors,\n  PatchAdminInvoicesRecurringSchedulesByIdPauseData,\n  PatchAdminInvoicesRecurringSchedulesByIdPauseErrors,\n  PatchAdminInvoicesRecurringSchedulesByIdPauseResponses,\n  PatchAdminInvoicesRecurringSchedulesByIdResponses,\n  PatchAdminInvoicesRecurringSchedulesByIdResumeData,\n  PatchAdminInvoicesRecurringSchedulesByIdResumeErrors,\n  PatchAdminInvoicesRecurringSchedulesByIdResumeResponses,\n  PatchAdminInvoicesRulesByIdData,\n  PatchAdminInvoicesRulesByIdDeactivateData,\n  PatchAdminInvoicesRulesByIdDeactivateErrors,\n  PatchAdminInvoicesRulesByIdDeactivateResponses,\n  PatchAdminInvoicesRulesByIdErrors,\n  PatchAdminInvoicesRulesByIdResponses,\n  PatchAdminInvoicesTemplatesByIdData,\n  PatchAdminInvoicesTemplatesByIdErrors,\n  PatchAdminInvoicesTemplatesByIdResponses,\n  PatchAdminIsvCrmChannelCaptureConfigByIdData,\n  PatchAdminIsvCrmChannelCaptureConfigByIdErrors,\n  PatchAdminIsvCrmChannelCaptureConfigByIdResponses,\n  PatchAdminIsvCrmEntityTypesByIdData,\n  PatchAdminIsvCrmEntityTypesByIdErrors,\n  PatchAdminIsvCrmEntityTypesByIdResponses,\n  PatchAdminIsvPricingOverridesByIdData,\n  PatchAdminIsvPricingOverridesByIdErrors,\n  PatchAdminIsvPricingOverridesByIdResponses,\n  PatchAdminLegalDocumentsByIdData,\n  PatchAdminLegalDocumentsByIdErrors,\n  PatchAdminLegalDocumentsByIdPublishData,\n  PatchAdminLegalDocumentsByIdPublishErrors,\n  PatchAdminLegalDocumentsByIdPublishResponses,\n  PatchAdminLegalDocumentsByIdResponses,\n  PatchAdminLegalDocumentsByIdUnpublishData,\n  PatchAdminLegalDocumentsByIdUnpublishErrors,\n  PatchAdminLegalDocumentsByIdUnpublishResponses,\n  PatchAdminMeetingsByIdData,\n  PatchAdminMeetingsByIdErrors,\n  PatchAdminMeetingsByIdResponses,\n  PatchAdminMessagesByIdData,\n  PatchAdminMessagesByIdErrors,\n  PatchAdminMessagesByIdResponses,\n  PatchAdminNotificationMethodsByIdData,\n  PatchAdminNotificationMethodsByIdErrors,\n  PatchAdminNotificationMethodsByIdResponses,\n  PatchAdminNotificationMethodsByIdSendVerificationData,\n  PatchAdminNotificationMethodsByIdSendVerificationErrors,\n  PatchAdminNotificationMethodsByIdSendVerificationResponses,\n  PatchAdminNotificationMethodsByIdSetPrimaryData,\n  PatchAdminNotificationMethodsByIdSetPrimaryErrors,\n  PatchAdminNotificationMethodsByIdSetPrimaryResponses,\n  PatchAdminNotificationMethodsByIdVerifyData,\n  PatchAdminNotificationMethodsByIdVerifyErrors,\n  PatchAdminNotificationMethodsByIdVerifyResponses,\n  PatchAdminNotificationPreferencesByIdData,\n  PatchAdminNotificationPreferencesByIdErrors,\n  PatchAdminNotificationPreferencesByIdResponses,\n  PatchAdminPaymentMethodsByIdData,\n  PatchAdminPaymentMethodsByIdDefaultData,\n  PatchAdminPaymentMethodsByIdDefaultErrors,\n  PatchAdminPaymentMethodsByIdDefaultResponses,\n  PatchAdminPaymentMethodsByIdErrors,\n  PatchAdminPaymentMethodsByIdResponses,\n  PatchAdminPipelineExecutionsByIdApproveData,\n  PatchAdminPipelineExecutionsByIdApproveErrors,\n  PatchAdminPipelineExecutionsByIdApproveResponses,\n  PatchAdminPipelineExecutionsByIdCheckpointData,\n  PatchAdminPipelineExecutionsByIdCheckpointErrors,\n  PatchAdminPipelineExecutionsByIdCheckpointResponses,\n  PatchAdminPipelineExecutionsByIdNoteData,\n  PatchAdminPipelineExecutionsByIdNoteErrors,\n  PatchAdminPipelineExecutionsByIdNoteResponses,\n  PatchAdminPipelineExecutionsByIdRefineData,\n  PatchAdminPipelineExecutionsByIdRefineErrors,\n  PatchAdminPipelineExecutionsByIdRefineResponses,\n  PatchAdminPipelineExecutionsByIdRejectData,\n  PatchAdminPipelineExecutionsByIdRejectErrors,\n  PatchAdminPipelineExecutionsByIdRejectResponses,\n  PatchAdminPipelineNodesByIdData,\n  PatchAdminPipelineNodesByIdErrors,\n  PatchAdminPipelineNodesByIdResponses,\n  PatchAdminPipelinesByIdData,\n  PatchAdminPipelinesByIdErrors,\n  PatchAdminPipelinesByIdResponses,\n  PatchAdminPlanFeatureAllocationsByIdData,\n  PatchAdminPlanFeatureAllocationsByIdErrors,\n  PatchAdminPlanFeatureAllocationsByIdResponses,\n  PatchAdminPlansByIdArchiveData,\n  PatchAdminPlansByIdArchiveErrors,\n  PatchAdminPlansByIdArchiveResponses,\n  PatchAdminPlansByIdData,\n  PatchAdminPlansByIdDeprecateData,\n  PatchAdminPlansByIdDeprecateErrors,\n  PatchAdminPlansByIdDeprecateResponses,\n  PatchAdminPlansByIdErrors,\n  PatchAdminPlansByIdResponses,\n  PatchAdminPlansByIdScheduleSunsetData,\n  PatchAdminPlansByIdScheduleSunsetErrors,\n  PatchAdminPlansByIdScheduleSunsetResponses,\n  PatchAdminPlatformPricingConfigsByIdData,\n  PatchAdminPlatformPricingConfigsByIdErrors,\n  PatchAdminPlatformPricingConfigsByIdResponses,\n  PatchAdminPlatformTonesByIdData,\n  PatchAdminPlatformTonesByIdErrors,\n  PatchAdminPlatformTonesByIdResponses,\n  PatchAdminPolicyReviewSchedulesByIdCompleteReviewData,\n  PatchAdminPolicyReviewSchedulesByIdCompleteReviewErrors,\n  PatchAdminPolicyReviewSchedulesByIdCompleteReviewResponses,\n  PatchAdminPolicyReviewSchedulesByIdMarkDueData,\n  PatchAdminPolicyReviewSchedulesByIdMarkDueErrors,\n  PatchAdminPolicyReviewSchedulesByIdMarkDueResponses,\n  PatchAdminPolicyReviewSchedulesByIdMarkOverdueData,\n  PatchAdminPolicyReviewSchedulesByIdMarkOverdueErrors,\n  PatchAdminPolicyReviewSchedulesByIdMarkOverdueResponses,\n  PatchAdminPortalChangeRequestsByIdApproveData,\n  PatchAdminPortalChangeRequestsByIdApproveErrors,\n  PatchAdminPortalChangeRequestsByIdApproveResponses,\n  PatchAdminPortalChangeRequestsByIdRejectData,\n  PatchAdminPortalChangeRequestsByIdRejectErrors,\n  PatchAdminPortalChangeRequestsByIdRejectResponses,\n  PatchAdminPostProcessingHooksByIdData,\n  PatchAdminPostProcessingHooksByIdErrors,\n  PatchAdminPostProcessingHooksByIdResponses,\n  PatchAdminPricingStrategiesByIdData,\n  PatchAdminPricingStrategiesByIdErrors,\n  PatchAdminPricingStrategiesByIdResponses,\n  PatchAdminQuoteRequestsByIdData,\n  PatchAdminQuoteRequestsByIdErrors,\n  PatchAdminQuoteRequestsByIdResponses,\n  PatchAdminRecipesByIdArchiveData,\n  PatchAdminRecipesByIdArchiveErrors,\n  PatchAdminRecipesByIdArchiveResponses,\n  PatchAdminRecipesByIdData,\n  PatchAdminRecipesByIdErrors,\n  PatchAdminRecipesByIdReEnrichData,\n  PatchAdminRecipesByIdReEnrichErrors,\n  PatchAdminRecipesByIdReEnrichResponses,\n  PatchAdminRecipesByIdResponses,\n  PatchAdminRecipesByIdRestoreData,\n  PatchAdminRecipesByIdRestoreErrors,\n  PatchAdminRecipesByIdRestoreResponses,\n  PatchAdminRecipesCollectionRecipesByIdData,\n  PatchAdminRecipesCollectionRecipesByIdErrors,\n  PatchAdminRecipesCollectionRecipesByIdResponses,\n  PatchAdminRecipesCollectionsByIdData,\n  PatchAdminRecipesCollectionsByIdErrors,\n  PatchAdminRecipesCollectionsByIdResponses,\n  PatchAdminRecipesFavoritesByIdData,\n  PatchAdminRecipesFavoritesByIdErrors,\n  PatchAdminRecipesFavoritesByIdResponses,\n  PatchAdminRecipesFoodItemsByIdData,\n  PatchAdminRecipesFoodItemsByIdErrors,\n  PatchAdminRecipesFoodItemsByIdResponses,\n  PatchAdminRecipesIngredientsByIdData,\n  PatchAdminRecipesIngredientsByIdErrors,\n  PatchAdminRecipesIngredientsByIdResponses,\n  PatchAdminRecipesMealSchedulesByIdData,\n  PatchAdminRecipesMealSchedulesByIdErrors,\n  PatchAdminRecipesMealSchedulesByIdResponses,\n  PatchAdminRecipesRecipeNutritionsByIdData,\n  PatchAdminRecipesRecipeNutritionsByIdErrors,\n  PatchAdminRecipesRecipeNutritionsByIdResponses,\n  PatchAdminRecipesScheduledMealsByIdData,\n  PatchAdminRecipesScheduledMealsByIdErrors,\n  PatchAdminRecipesScheduledMealsByIdResponses,\n  PatchAdminRecipesShoppingListItemsByIdData,\n  PatchAdminRecipesShoppingListItemsByIdErrors,\n  PatchAdminRecipesShoppingListItemsByIdResponses,\n  PatchAdminRecipesShoppingListsByIdData,\n  PatchAdminRecipesShoppingListsByIdErrors,\n  PatchAdminRecipesShoppingListsByIdResponses,\n  PatchAdminRecipesTagsByIdData,\n  PatchAdminRecipesTagsByIdErrors,\n  PatchAdminRecipesTagsByIdResponses,\n  PatchAdminRetentionPoliciesByIdData,\n  PatchAdminRetentionPoliciesByIdErrors,\n  PatchAdminRetentionPoliciesByIdResponses,\n  PatchAdminReviewQueuesByIdData,\n  PatchAdminReviewQueuesByIdErrors,\n  PatchAdminReviewQueuesByIdResponses,\n  PatchAdminReviewsByIdApproveData,\n  PatchAdminReviewsByIdApproveErrors,\n  PatchAdminReviewsByIdApproveResponses,\n  PatchAdminReviewsByIdAssignData,\n  PatchAdminReviewsByIdAssignErrors,\n  PatchAdminReviewsByIdAssignResponses,\n  PatchAdminReviewsByIdClaimData,\n  PatchAdminReviewsByIdClaimErrors,\n  PatchAdminReviewsByIdClaimResponses,\n  PatchAdminReviewsByIdCorrectData,\n  PatchAdminReviewsByIdCorrectErrors,\n  PatchAdminReviewsByIdCorrectResponses,\n  PatchAdminReviewsByIdEscalateData,\n  PatchAdminReviewsByIdEscalateErrors,\n  PatchAdminReviewsByIdEscalateResponses,\n  PatchAdminReviewsByIdRejectData,\n  PatchAdminReviewsByIdRejectErrors,\n  PatchAdminReviewsByIdRejectResponses,\n  PatchAdminReviewsByIdUnclaimData,\n  PatchAdminReviewsByIdUnclaimErrors,\n  PatchAdminReviewsByIdUnclaimResponses,\n  PatchAdminRiskAssessmentsByIdStatusData,\n  PatchAdminRiskAssessmentsByIdStatusErrors,\n  PatchAdminRiskAssessmentsByIdStatusResponses,\n  PatchAdminRolesByIdData,\n  PatchAdminRolesByIdErrors,\n  PatchAdminRolesByIdResponses,\n  PatchAdminSchedulingAvailabilityRulesByIdData,\n  PatchAdminSchedulingAvailabilityRulesByIdErrors,\n  PatchAdminSchedulingAvailabilityRulesByIdResponses,\n  PatchAdminSchedulingBookingsByIdCancelData,\n  PatchAdminSchedulingBookingsByIdCancelErrors,\n  PatchAdminSchedulingBookingsByIdCancelResponses,\n  PatchAdminSchedulingBookingsByIdConfirmData,\n  PatchAdminSchedulingBookingsByIdConfirmErrors,\n  PatchAdminSchedulingBookingsByIdConfirmResponses,\n  PatchAdminSchedulingBookingsByIdMarkNoShowData,\n  PatchAdminSchedulingBookingsByIdMarkNoShowErrors,\n  PatchAdminSchedulingBookingsByIdMarkNoShowResponses,\n  PatchAdminSchedulingBookingsByIdRescheduleData,\n  PatchAdminSchedulingBookingsByIdRescheduleErrors,\n  PatchAdminSchedulingBookingsByIdRescheduleResponses,\n  PatchAdminSchedulingCalendarSyncsByIdData,\n  PatchAdminSchedulingCalendarSyncsByIdErrors,\n  PatchAdminSchedulingCalendarSyncsByIdPauseData,\n  PatchAdminSchedulingCalendarSyncsByIdPauseErrors,\n  PatchAdminSchedulingCalendarSyncsByIdPauseResponses,\n  PatchAdminSchedulingCalendarSyncsByIdResponses,\n  PatchAdminSchedulingCalendarSyncsByIdResumeData,\n  PatchAdminSchedulingCalendarSyncsByIdResumeErrors,\n  PatchAdminSchedulingCalendarSyncsByIdResumeResponses,\n  PatchAdminSchedulingEventsByIdCancelData,\n  PatchAdminSchedulingEventsByIdCancelErrors,\n  PatchAdminSchedulingEventsByIdCancelResponses,\n  PatchAdminSchedulingEventsByIdCompleteData,\n  PatchAdminSchedulingEventsByIdCompleteErrors,\n  PatchAdminSchedulingEventsByIdCompleteResponses,\n  PatchAdminSchedulingEventsByIdData,\n  PatchAdminSchedulingEventsByIdErrors,\n  PatchAdminSchedulingEventsByIdRescheduleData,\n  PatchAdminSchedulingEventsByIdRescheduleErrors,\n  PatchAdminSchedulingEventsByIdRescheduleResponses,\n  PatchAdminSchedulingEventsByIdResponses,\n  PatchAdminSchedulingEventTypesByIdArchiveData,\n  PatchAdminSchedulingEventTypesByIdArchiveErrors,\n  PatchAdminSchedulingEventTypesByIdArchiveResponses,\n  PatchAdminSchedulingEventTypesByIdData,\n  PatchAdminSchedulingEventTypesByIdErrors,\n  PatchAdminSchedulingEventTypesByIdResponses,\n  PatchAdminSchedulingLocationsByIdData,\n  PatchAdminSchedulingLocationsByIdDeactivateData,\n  PatchAdminSchedulingLocationsByIdDeactivateErrors,\n  PatchAdminSchedulingLocationsByIdDeactivateResponses,\n  PatchAdminSchedulingLocationsByIdErrors,\n  PatchAdminSchedulingLocationsByIdResponses,\n  PatchAdminSchedulingParticipantsByIdData,\n  PatchAdminSchedulingParticipantsByIdErrors,\n  PatchAdminSchedulingParticipantsByIdRespondData,\n  PatchAdminSchedulingParticipantsByIdRespondErrors,\n  PatchAdminSchedulingParticipantsByIdRespondResponses,\n  PatchAdminSchedulingParticipantsByIdResponses,\n  PatchAdminSchedulingRemindersByIdCancelData,\n  PatchAdminSchedulingRemindersByIdCancelErrors,\n  PatchAdminSchedulingRemindersByIdCancelResponses,\n  PatchAdminSearchSavedByIdData,\n  PatchAdminSearchSavedByIdErrors,\n  PatchAdminSearchSavedByIdResponses,\n  PatchAdminSettlementsByIdData,\n  PatchAdminSettlementsByIdErrors,\n  PatchAdminSettlementsByIdMarkCalculatedData,\n  PatchAdminSettlementsByIdMarkCalculatedErrors,\n  PatchAdminSettlementsByIdMarkCalculatedResponses,\n  PatchAdminSettlementsByIdMarkFailedData,\n  PatchAdminSettlementsByIdMarkFailedErrors,\n  PatchAdminSettlementsByIdMarkFailedResponses,\n  PatchAdminSettlementsByIdMarkHeldData,\n  PatchAdminSettlementsByIdMarkHeldErrors,\n  PatchAdminSettlementsByIdMarkHeldResponses,\n  PatchAdminSettlementsByIdMarkPaidData,\n  PatchAdminSettlementsByIdMarkPaidErrors,\n  PatchAdminSettlementsByIdMarkPaidResponses,\n  PatchAdminSettlementsByIdReleaseData,\n  PatchAdminSettlementsByIdReleaseErrors,\n  PatchAdminSettlementsByIdReleaseResponses,\n  PatchAdminSettlementsByIdResponses,\n  PatchAdminSettlementStatementsByIdMarkDisputedData,\n  PatchAdminSettlementStatementsByIdMarkDisputedErrors,\n  PatchAdminSettlementStatementsByIdMarkDisputedResponses,\n  PatchAdminSettlementStatementsByIdMarkPaidData,\n  PatchAdminSettlementStatementsByIdMarkPaidErrors,\n  PatchAdminSettlementStatementsByIdMarkPaidResponses,\n  PatchAdminSettlementStatementsByIdMarkReconciledData,\n  PatchAdminSettlementStatementsByIdMarkReconciledErrors,\n  PatchAdminSettlementStatementsByIdMarkReconciledResponses,\n  PatchAdminSocialAccountsByIdData,\n  PatchAdminSocialAccountsByIdDeactivateData,\n  PatchAdminSocialAccountsByIdDeactivateErrors,\n  PatchAdminSocialAccountsByIdDeactivateResponses,\n  PatchAdminSocialAccountsByIdDisablePostingData,\n  PatchAdminSocialAccountsByIdDisablePostingErrors,\n  PatchAdminSocialAccountsByIdDisablePostingResponses,\n  PatchAdminSocialAccountsByIdEnablePostingData,\n  PatchAdminSocialAccountsByIdEnablePostingErrors,\n  PatchAdminSocialAccountsByIdEnablePostingResponses,\n  PatchAdminSocialAccountsByIdErrors,\n  PatchAdminSocialAccountsByIdResponses,\n  PatchAdminSocialCampaignsByIdCancelData,\n  PatchAdminSocialCampaignsByIdCancelErrors,\n  PatchAdminSocialCampaignsByIdCancelResponses,\n  PatchAdminSocialCampaignsByIdData,\n  PatchAdminSocialCampaignsByIdErrors,\n  PatchAdminSocialCampaignsByIdResponses,\n  PatchAdminSocialCampaignsByIdScheduleData,\n  PatchAdminSocialCampaignsByIdScheduleErrors,\n  PatchAdminSocialCampaignsByIdScheduleResponses,\n  PatchAdminSocialPostsByIdCancelData,\n  PatchAdminSocialPostsByIdCancelErrors,\n  PatchAdminSocialPostsByIdCancelResponses,\n  PatchAdminSocialPostsByIdData,\n  PatchAdminSocialPostsByIdErrors,\n  PatchAdminSocialPostsByIdPublishData,\n  PatchAdminSocialPostsByIdPublishErrors,\n  PatchAdminSocialPostsByIdPublishResponses,\n  PatchAdminSocialPostsByIdResponses,\n  PatchAdminSocialPostsByIdRetryData,\n  PatchAdminSocialPostsByIdRetryErrors,\n  PatchAdminSocialPostsByIdRetryResponses,\n  PatchAdminSocialPostsByIdScheduleData,\n  PatchAdminSocialPostsByIdScheduleErrors,\n  PatchAdminSocialPostsByIdScheduleResponses,\n  PatchAdminSocialPostsByIdSeoData,\n  PatchAdminSocialPostsByIdSeoErrors,\n  PatchAdminSocialPostsByIdSeoResponses,\n  PatchAdminSocialTrendingWatchesByIdData,\n  PatchAdminSocialTrendingWatchesByIdErrors,\n  PatchAdminSocialTrendingWatchesByIdMarkTriggeredData,\n  PatchAdminSocialTrendingWatchesByIdMarkTriggeredErrors,\n  PatchAdminSocialTrendingWatchesByIdMarkTriggeredResponses,\n  PatchAdminSocialTrendingWatchesByIdResponses,\n  PatchAdminStorageFilesByIdArchiveData,\n  PatchAdminStorageFilesByIdArchiveErrors,\n  PatchAdminStorageFilesByIdArchiveResponses,\n  PatchAdminStorageFilesByIdConfirmUploadData,\n  PatchAdminStorageFilesByIdConfirmUploadErrors,\n  PatchAdminStorageFilesByIdConfirmUploadResponses,\n  PatchAdminStorageFilesByIdData,\n  PatchAdminStorageFilesByIdErrors,\n  PatchAdminStorageFilesByIdResponses,\n  PatchAdminStorageFilesByIdRestoreData,\n  PatchAdminStorageFilesByIdRestoreErrors,\n  PatchAdminStorageFilesByIdRestoreResponses,\n  PatchAdminStorageFilesByIdSoftDeleteData,\n  PatchAdminStorageFilesByIdSoftDeleteErrors,\n  PatchAdminStorageFilesByIdSoftDeleteResponses,\n  PatchAdminStorageFilesByIdTagData,\n  PatchAdminStorageFilesByIdTagErrors,\n  PatchAdminStorageFilesByIdTagResponses,\n  PatchAdminStorageFilesByIdUpdateMetadataData,\n  PatchAdminStorageFilesByIdUpdateMetadataErrors,\n  PatchAdminStorageFilesByIdUpdateMetadataResponses,\n  PatchAdminStorageRecommendationsByIdAcceptData,\n  PatchAdminStorageRecommendationsByIdAcceptErrors,\n  PatchAdminStorageRecommendationsByIdAcceptResponses,\n  PatchAdminStorageRecommendationsByIdDismissData,\n  PatchAdminStorageRecommendationsByIdDismissErrors,\n  PatchAdminStorageRecommendationsByIdDismissResponses,\n  PatchAdminSubscriptionsByIdCancelData,\n  PatchAdminSubscriptionsByIdCancelErrors,\n  PatchAdminSubscriptionsByIdCancelResponses,\n  PatchAdminSubscriptionsByIdData,\n  PatchAdminSubscriptionsByIdErrors,\n  PatchAdminSubscriptionsByIdResponses,\n  PatchAdminSubscriptionsByIdSetRateLimitOverridesData,\n  PatchAdminSubscriptionsByIdSetRateLimitOverridesErrors,\n  PatchAdminSubscriptionsByIdSetRateLimitOverridesResponses,\n  PatchAdminSupportCannedResponsesByIdData,\n  PatchAdminSupportCannedResponsesByIdErrors,\n  PatchAdminSupportCannedResponsesByIdResponses,\n  PatchAdminSupportQueueMembersByIdData,\n  PatchAdminSupportQueueMembersByIdErrors,\n  PatchAdminSupportQueueMembersByIdResponses,\n  PatchAdminSupportQueuesByIdData,\n  PatchAdminSupportQueuesByIdErrors,\n  PatchAdminSupportQueuesByIdResponses,\n  PatchAdminSupportRoutingRulesByIdData,\n  PatchAdminSupportRoutingRulesByIdErrors,\n  PatchAdminSupportRoutingRulesByIdResponses,\n  PatchAdminSupportSlaPoliciesByIdData,\n  PatchAdminSupportSlaPoliciesByIdErrors,\n  PatchAdminSupportSlaPoliciesByIdResponses,\n  PatchAdminSupportSyncConfigsByIdData,\n  PatchAdminSupportSyncConfigsByIdErrors,\n  PatchAdminSupportSyncConfigsByIdResponses,\n  PatchAdminSupportTicketsByIdAssignData,\n  PatchAdminSupportTicketsByIdAssignErrors,\n  PatchAdminSupportTicketsByIdAssignResponses,\n  PatchAdminSupportTicketsByIdCloseData,\n  PatchAdminSupportTicketsByIdCloseErrors,\n  PatchAdminSupportTicketsByIdCloseResponses,\n  PatchAdminSupportTicketsByIdData,\n  PatchAdminSupportTicketsByIdErrors,\n  PatchAdminSupportTicketsByIdMergeData,\n  PatchAdminSupportTicketsByIdMergeErrors,\n  PatchAdminSupportTicketsByIdMergeResponses,\n  PatchAdminSupportTicketsByIdReopenData,\n  PatchAdminSupportTicketsByIdReopenErrors,\n  PatchAdminSupportTicketsByIdReopenResponses,\n  PatchAdminSupportTicketsByIdResolveData,\n  PatchAdminSupportTicketsByIdResolveErrors,\n  PatchAdminSupportTicketsByIdResolveResponses,\n  PatchAdminSupportTicketsByIdResponses,\n  PatchAdminSysAiConfigByIdData,\n  PatchAdminSysAiConfigByIdErrors,\n  PatchAdminSysAiConfigByIdResponses,\n  PatchAdminSystemMessagesByIdData,\n  PatchAdminSystemMessagesByIdErrors,\n  PatchAdminSystemMessagesByIdPublishData,\n  PatchAdminSystemMessagesByIdPublishErrors,\n  PatchAdminSystemMessagesByIdPublishResponses,\n  PatchAdminSystemMessagesByIdResponses,\n  PatchAdminSystemMessagesByIdUnpublishData,\n  PatchAdminSystemMessagesByIdUnpublishErrors,\n  PatchAdminSystemMessagesByIdUnpublishResponses,\n  PatchAdminTenantPricingOverridesByIdData,\n  PatchAdminTenantPricingOverridesByIdErrors,\n  PatchAdminTenantPricingOverridesByIdResponses,\n  PatchAdminTenantsByIdArchiveData,\n  PatchAdminTenantsByIdArchiveErrors,\n  PatchAdminTenantsByIdArchiveResponses,\n  PatchAdminTenantsByIdAutoTopUpData,\n  PatchAdminTenantsByIdAutoTopUpErrors,\n  PatchAdminTenantsByIdAutoTopUpResponses,\n  PatchAdminTenantsByIdBrandingData,\n  PatchAdminTenantsByIdBrandingErrors,\n  PatchAdminTenantsByIdBrandingResponses,\n  PatchAdminTenantsByIdCancelData,\n  PatchAdminTenantsByIdCancelErrors,\n  PatchAdminTenantsByIdCancelResponses,\n  PatchAdminTenantsByIdConvertToOrgData,\n  PatchAdminTenantsByIdConvertToOrgErrors,\n  PatchAdminTenantsByIdConvertToOrgResponses,\n  PatchAdminTenantsByIdData,\n  PatchAdminTenantsByIdDeactivateData,\n  PatchAdminTenantsByIdDeactivateErrors,\n  PatchAdminTenantsByIdDeactivateResponses,\n  PatchAdminTenantsByIdErrors,\n  PatchAdminTenantsByIdReactivateData,\n  PatchAdminTenantsByIdReactivateErrors,\n  PatchAdminTenantsByIdReactivateResponses,\n  PatchAdminTenantsByIdResponses,\n  PatchAdminTenantsByIdSuspendData,\n  PatchAdminTenantsByIdSuspendErrors,\n  PatchAdminTenantsByIdSuspendResponses,\n  PatchAdminTenantsByIdTransferOwnershipData,\n  PatchAdminTenantsByIdTransferOwnershipErrors,\n  PatchAdminTenantsByIdTransferOwnershipResponses,\n  PatchAdminTenantsByIdUnsuspendData,\n  PatchAdminTenantsByIdUnsuspendErrors,\n  PatchAdminTenantsByIdUnsuspendResponses,\n  PatchAdminThreadsByIdArchiveData,\n  PatchAdminThreadsByIdArchiveErrors,\n  PatchAdminThreadsByIdArchiveResponses,\n  PatchAdminThreadsByIdData,\n  PatchAdminThreadsByIdErrors,\n  PatchAdminThreadsByIdMetadataData,\n  PatchAdminThreadsByIdMetadataErrors,\n  PatchAdminThreadsByIdMetadataResponses,\n  PatchAdminThreadsByIdResponses,\n  PatchAdminThreadsByIdUnarchiveData,\n  PatchAdminThreadsByIdUnarchiveErrors,\n  PatchAdminThreadsByIdUnarchiveResponses,\n  PatchAdminTrainingExamplesByIdData,\n  PatchAdminTrainingExamplesByIdErrors,\n  PatchAdminTrainingExamplesByIdResponses,\n  PatchAdminTrainingSessionsByIdRevertData,\n  PatchAdminTrainingSessionsByIdRevertErrors,\n  PatchAdminTrainingSessionsByIdRevertResponses,\n  PatchAdminUserProfilesByIdAcceptLegalDocumentData,\n  PatchAdminUserProfilesByIdAcceptLegalDocumentErrors,\n  PatchAdminUserProfilesByIdAcceptLegalDocumentResponses,\n  PatchAdminUserProfilesByIdData,\n  PatchAdminUserProfilesByIdDismissAnnouncementData,\n  PatchAdminUserProfilesByIdDismissAnnouncementErrors,\n  PatchAdminUserProfilesByIdDismissAnnouncementResponses,\n  PatchAdminUserProfilesByIdDismissWelcomeData,\n  PatchAdminUserProfilesByIdDismissWelcomeErrors,\n  PatchAdminUserProfilesByIdDismissWelcomeResponses,\n  PatchAdminUserProfilesByIdErrors,\n  PatchAdminUserProfilesByIdResponses,\n  PatchAdminUsersAuthOauthLinkData,\n  PatchAdminUsersAuthOauthLinkErrors,\n  PatchAdminUsersAuthOauthLinkResponses,\n  PatchAdminUsersAuthOauthUnlinkData,\n  PatchAdminUsersAuthOauthUnlinkErrors,\n  PatchAdminUsersAuthOauthUnlinkResponses,\n  PatchAdminUsersAuthPasswordChangeData,\n  PatchAdminUsersAuthPasswordChangeErrors,\n  PatchAdminUsersAuthPasswordChangeResponses,\n  PatchAdminUsersAuthSessionsRevokeAllData,\n  PatchAdminUsersAuthSessionsRevokeAllErrors,\n  PatchAdminUsersAuthSessionsRevokeAllResponses,\n  PatchAdminUsersByIdAdminData,\n  PatchAdminUsersByIdAdminEmailData,\n  PatchAdminUsersByIdAdminEmailErrors,\n  PatchAdminUsersByIdAdminEmailResponses,\n  PatchAdminUsersByIdAdminErrors,\n  PatchAdminUsersByIdAdminResponses,\n  PatchAdminUsersByIdConfirmEmailData,\n  PatchAdminUsersByIdConfirmEmailErrors,\n  PatchAdminUsersByIdConfirmEmailResponses,\n  PatchAdminUsersByIdData,\n  PatchAdminUsersByIdErrors,\n  PatchAdminUsersByIdResetPasswordData,\n  PatchAdminUsersByIdResetPasswordErrors,\n  PatchAdminUsersByIdResetPasswordResponses,\n  PatchAdminUsersByIdResponses,\n  PatchAdminVoiceSessionsByIdFinalizeData,\n  PatchAdminVoiceSessionsByIdFinalizeErrors,\n  PatchAdminVoiceSessionsByIdFinalizeResponses,\n  PatchAdminVoiceSessionsByIdStopData,\n  PatchAdminVoiceSessionsByIdStopErrors,\n  PatchAdminVoiceSessionsByIdStopResponses,\n  PatchAdminVoiceTranscriptionResultsByIdData,\n  PatchAdminVoiceTranscriptionResultsByIdErrors,\n  PatchAdminVoiceTranscriptionResultsByIdResponses,\n  PatchAdminWalletAddonsByAddonSlugCancelData,\n  PatchAdminWalletAddonsByAddonSlugCancelErrors,\n  PatchAdminWalletAddonsByAddonSlugCancelResponses,\n  PatchAdminWalletAddonsData,\n  PatchAdminWalletAddonsErrors,\n  PatchAdminWalletAddonsResponses,\n  PatchAdminWalletAutoTopUpData,\n  PatchAdminWalletAutoTopUpErrors,\n  PatchAdminWalletAutoTopUpResponses,\n  PatchAdminWalletCreditsData,\n  PatchAdminWalletCreditsErrors,\n  PatchAdminWalletCreditsResponses,\n  PatchAdminWalletInvoicesByIdVoidData,\n  PatchAdminWalletInvoicesByIdVoidErrors,\n  PatchAdminWalletInvoicesByIdVoidResponses,\n  PatchAdminWalletPaymentRetryData,\n  PatchAdminWalletPaymentRetryErrors,\n  PatchAdminWalletPaymentRetryResponses,\n  PatchAdminWalletPlanCancelData,\n  PatchAdminWalletPlanCancelErrors,\n  PatchAdminWalletPlanCancelResponses,\n  PatchAdminWalletPlanData,\n  PatchAdminWalletPlanErrors,\n  PatchAdminWalletPlanResponses,\n  PatchAdminWebhookConfigsByIdData,\n  PatchAdminWebhookConfigsByIdErrors,\n  PatchAdminWebhookConfigsByIdResponses,\n  PatchAdminWebhookConfigsByIdRotateSecretData,\n  PatchAdminWebhookConfigsByIdRotateSecretErrors,\n  PatchAdminWebhookConfigsByIdRotateSecretResponses,\n  PatchAdminWholesaleAgreementsByIdData,\n  PatchAdminWholesaleAgreementsByIdErrors,\n  PatchAdminWholesaleAgreementsByIdResponses,\n  PatchAdminWorkspaceAgentConfigsByIdData,\n  PatchAdminWorkspaceAgentConfigsByIdErrors,\n  PatchAdminWorkspaceAgentConfigsByIdResponses,\n  PatchAdminWorkspaceFormConfigsByIdData,\n  PatchAdminWorkspaceFormConfigsByIdErrors,\n  PatchAdminWorkspaceFormConfigsByIdResponses,\n  PatchAdminWorkspacesByIdAllocateData,\n  PatchAdminWorkspacesByIdAllocateErrors,\n  PatchAdminWorkspacesByIdAllocateResponses,\n  PatchAdminWorkspacesByIdData,\n  PatchAdminWorkspacesByIdErrors,\n  PatchAdminWorkspacesByIdGoLiveData,\n  PatchAdminWorkspacesByIdGoLiveErrors,\n  PatchAdminWorkspacesByIdGoLiveResponses,\n  PatchAdminWorkspacesByIdPopulateHashesData,\n  PatchAdminWorkspacesByIdPopulateHashesErrors,\n  PatchAdminWorkspacesByIdPopulateHashesResponses,\n  PatchAdminWorkspacesByIdResponses,\n  PatchAdminWorkspacesByIdStorageSettingsData,\n  PatchAdminWorkspacesByIdStorageSettingsErrors,\n  PatchAdminWorkspacesByIdStorageSettingsResponses,\n  PatchAdminWorkspacesByIdTakeOfflineData,\n  PatchAdminWorkspacesByIdTakeOfflineErrors,\n  PatchAdminWorkspacesByIdTakeOfflineResponses,\n  PostAdminAccessGrantsData,\n  PostAdminAccessGrantsErrors,\n  PostAdminAccessGrantsResponses,\n  PostAdminAgentDeploymentsData,\n  PostAdminAgentDeploymentsErrors,\n  PostAdminAgentDeploymentsResponses,\n  PostAdminAgentsByIdAnalyzeTrainingData,\n  PostAdminAgentsByIdAnalyzeTrainingErrors,\n  PostAdminAgentsByIdAnalyzeTrainingResponses,\n  PostAdminAgentsByIdCloneData,\n  PostAdminAgentsByIdCloneErrors,\n  PostAdminAgentsByIdCloneResponses,\n  PostAdminAgentsByIdExportData,\n  PostAdminAgentsByIdExportErrors,\n  PostAdminAgentsByIdExportResponses,\n  PostAdminAgentsByIdPublishVersionData,\n  PostAdminAgentsByIdPublishVersionErrors,\n  PostAdminAgentsByIdPublishVersionResponses,\n  PostAdminAgentsByIdRestoreVersionData,\n  PostAdminAgentsByIdRestoreVersionErrors,\n  PostAdminAgentsByIdRestoreVersionResponses,\n  PostAdminAgentsByIdSchemaVersionsByVersionIdActivateData,\n  PostAdminAgentsByIdSchemaVersionsByVersionIdActivateErrors,\n  PostAdminAgentsByIdSchemaVersionsByVersionIdActivateResponses,\n  PostAdminAgentsByIdSchemaVersionsData,\n  PostAdminAgentsByIdSchemaVersionsErrors,\n  PostAdminAgentsByIdSchemaVersionsResponses,\n  PostAdminAgentsByIdTeachData,\n  PostAdminAgentsByIdTeachErrors,\n  PostAdminAgentsByIdTeachResponses,\n  PostAdminAgentsByIdTestData,\n  PostAdminAgentsByIdTestErrors,\n  PostAdminAgentsByIdTestResponses,\n  PostAdminAgentsByIdValidateData,\n  PostAdminAgentsByIdValidateErrors,\n  PostAdminAgentsByIdValidateResponses,\n  PostAdminAgentsCloneForWorkspaceData,\n  PostAdminAgentsCloneForWorkspaceErrors,\n  PostAdminAgentsCloneForWorkspaceResponses,\n  PostAdminAgentsData,\n  PostAdminAgentsErrors,\n  PostAdminAgentsImportData,\n  PostAdminAgentsImportErrors,\n  PostAdminAgentsImportResponses,\n  PostAdminAgentSoulsData,\n  PostAdminAgentSoulsErrors,\n  PostAdminAgentSoulsResponses,\n  PostAdminAgentsResponses,\n  PostAdminAgentTestResultsData,\n  PostAdminAgentTestResultsErrors,\n  PostAdminAgentTestResultsResponses,\n  PostAdminAgentVersionComparisonsData,\n  PostAdminAgentVersionComparisonsErrors,\n  PostAdminAgentVersionComparisonsResponses,\n  PostAdminAgentVersionsByIdAddSystemFieldData,\n  PostAdminAgentVersionsByIdAddSystemFieldErrors,\n  PostAdminAgentVersionsByIdAddSystemFieldResponses,\n  PostAdminAgentVersionsByIdRemoveSystemFieldData,\n  PostAdminAgentVersionsByIdRemoveSystemFieldErrors,\n  PostAdminAgentVersionsByIdRemoveSystemFieldResponses,\n  PostAdminAgentVersionsByIdSetSystemFieldsData,\n  PostAdminAgentVersionsByIdSetSystemFieldsErrors,\n  PostAdminAgentVersionsByIdSetSystemFieldsResponses,\n  PostAdminAgentVersionsData,\n  PostAdminAgentVersionsErrors,\n  PostAdminAgentVersionsResponses,\n  PostAdminAiChunksSearchData,\n  PostAdminAiChunksSearchErrors,\n  PostAdminAiChunksSearchResponses,\n  PostAdminAiConversationsData,\n  PostAdminAiConversationsErrors,\n  PostAdminAiConversationsResponses,\n  PostAdminAiEmbedData,\n  PostAdminAiEmbedErrors,\n  PostAdminAiEmbedResponses,\n  PostAdminAiGraphNodesData,\n  PostAdminAiGraphNodesErrors,\n  PostAdminAiGraphNodesResponses,\n  PostAdminAiGraphRelationshipsData,\n  PostAdminAiGraphRelationshipsDeleteData,\n  PostAdminAiGraphRelationshipsDeleteErrors,\n  PostAdminAiGraphRelationshipsDeleteResponses,\n  PostAdminAiGraphRelationshipsErrors,\n  PostAdminAiGraphRelationshipsResponses,\n  PostAdminAiMessagesData,\n  PostAdminAiMessagesErrors,\n  PostAdminAiMessagesResponses,\n  PostAdminAiSearchAdvancedData,\n  PostAdminAiSearchAdvancedErrors,\n  PostAdminAiSearchAdvancedResponses,\n  PostAdminAiSearchData,\n  PostAdminAiSearchErrors,\n  PostAdminAiSearchResponses,\n  PostAdminAmendmentRequestsData,\n  PostAdminAmendmentRequestsErrors,\n  PostAdminAmendmentRequestsResponses,\n  PostAdminApiKeysData,\n  PostAdminApiKeysErrors,\n  PostAdminApiKeysResponses,\n  PostAdminApplicationsByApplicationIdEmailTemplatesBySlugPreviewData,\n  PostAdminApplicationsByApplicationIdEmailTemplatesBySlugPreviewErrors,\n  PostAdminApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponses,\n  PostAdminApplicationsByApplicationIdEmailTemplatesBySlugTestData,\n  PostAdminApplicationsByApplicationIdEmailTemplatesBySlugTestErrors,\n  PostAdminApplicationsByApplicationIdEmailTemplatesBySlugTestResponses,\n  PostAdminApplicationsByApplicationIdEmailTemplatesData,\n  PostAdminApplicationsByApplicationIdEmailTemplatesErrors,\n  PostAdminApplicationsByApplicationIdEmailTemplatesResponses,\n  PostAdminApplicationsData,\n  PostAdminApplicationsErrors,\n  PostAdminApplicationsProvisionData,\n  PostAdminApplicationsProvisionErrors,\n  PostAdminApplicationsProvisionResponses,\n  PostAdminApplicationsResponses,\n  PostAdminAuditLogsExportData,\n  PostAdminAuditLogsExportErrors,\n  PostAdminAuditLogsExportResponses,\n  PostAdminBillingCapabilityRevocationsPreviewCascadeData,\n  PostAdminBillingCapabilityRevocationsPreviewCascadeErrors,\n  PostAdminBillingCapabilityRevocationsPreviewCascadeResponses,\n  PostAdminBrandIdentitiesData,\n  PostAdminBrandIdentitiesErrors,\n  PostAdminBrandIdentitiesResponses,\n  PostAdminBreachIncidentsData,\n  PostAdminBreachIncidentsErrors,\n  PostAdminBreachIncidentsResponses,\n  PostAdminBreachNotificationArtifactsData,\n  PostAdminBreachNotificationArtifactsErrors,\n  PostAdminBreachNotificationArtifactsResponses,\n  PostAdminBucketsData,\n  PostAdminBucketsErrors,\n  PostAdminBucketsResponses,\n  PostAdminBusinessAssociateAgreementsData,\n  PostAdminBusinessAssociateAgreementsErrors,\n  PostAdminBusinessAssociateAgreementsResponses,\n  PostAdminCampaignsSequencesData,\n  PostAdminCampaignsSequencesErrors,\n  PostAdminCampaignsSequencesResponses,\n  PostAdminCampaignsSequenceStepsData,\n  PostAdminCampaignsSequenceStepsErrors,\n  PostAdminCampaignsSequenceStepsResponses,\n  PostAdminCaseDocumentLinksData,\n  PostAdminCaseDocumentLinksErrors,\n  PostAdminCaseDocumentLinksResponses,\n  PostAdminCaseEntityLinksData,\n  PostAdminCaseEntityLinksErrors,\n  PostAdminCaseEntityLinksResponses,\n  PostAdminCasesData,\n  PostAdminCasesErrors,\n  PostAdminCasesResponses,\n  PostAdminCaseTypesData,\n  PostAdminCaseTypesErrors,\n  PostAdminCaseTypesResponses,\n  PostAdminCatalogOptionTypesData,\n  PostAdminCatalogOptionTypesErrors,\n  PostAdminCatalogOptionTypesResponses,\n  PostAdminCatalogOptionValuesData,\n  PostAdminCatalogOptionValuesErrors,\n  PostAdminCatalogOptionValuesResponses,\n  PostAdminCatalogPriceListEntriesData,\n  PostAdminCatalogPriceListEntriesErrors,\n  PostAdminCatalogPriceListEntriesResponses,\n  PostAdminCatalogPriceListsData,\n  PostAdminCatalogPriceListsErrors,\n  PostAdminCatalogPriceListsResponses,\n  PostAdminCatalogProductClassificationsData,\n  PostAdminCatalogProductClassificationsErrors,\n  PostAdminCatalogProductClassificationsResponses,\n  PostAdminCatalogProductsData,\n  PostAdminCatalogProductsErrors,\n  PostAdminCatalogProductsResponses,\n  PostAdminCatalogProductVariantsData,\n  PostAdminCatalogProductVariantsErrors,\n  PostAdminCatalogProductVariantsResponses,\n  PostAdminCatalogStockLocationsData,\n  PostAdminCatalogStockLocationsErrors,\n  PostAdminCatalogStockLocationsResponses,\n  PostAdminCatalogTaxonomiesData,\n  PostAdminCatalogTaxonomiesErrors,\n  PostAdminCatalogTaxonomiesResponses,\n  PostAdminCatalogTaxonomyNodesData,\n  PostAdminCatalogTaxonomyNodesErrors,\n  PostAdminCatalogTaxonomyNodesResponses,\n  PostAdminCatalogVariantOptionValuesData,\n  PostAdminCatalogVariantOptionValuesErrors,\n  PostAdminCatalogVariantOptionValuesResponses,\n  PostAdminCatalogViewOverridesData,\n  PostAdminCatalogViewOverridesErrors,\n  PostAdminCatalogViewOverridesResponses,\n  PostAdminCatalogViewRulesData,\n  PostAdminCatalogViewRulesErrors,\n  PostAdminCatalogViewRulesResponses,\n  PostAdminCatalogViewsData,\n  PostAdminCatalogViewsErrors,\n  PostAdminCatalogViewsResponses,\n  PostAdminCdeScopeReportsData,\n  PostAdminCdeScopeReportsErrors,\n  PostAdminCdeScopeReportsResponses,\n  PostAdminClaimedDomainsData,\n  PostAdminClaimedDomainsErrors,\n  PostAdminClaimedDomainsResponses,\n  PostAdminClinicalClientGoalsData,\n  PostAdminClinicalClientGoalsErrors,\n  PostAdminClinicalClientGoalsFromTemplateData,\n  PostAdminClinicalClientGoalsFromTemplateErrors,\n  PostAdminClinicalClientGoalsFromTemplateResponses,\n  PostAdminClinicalClientGoalsResponses,\n  PostAdminClinicalClientMedicationsBulkData,\n  PostAdminClinicalClientMedicationsBulkErrors,\n  PostAdminClinicalClientMedicationsBulkResponses,\n  PostAdminClinicalClientMedicationsData,\n  PostAdminClinicalClientMedicationsErrors,\n  PostAdminClinicalClientMedicationsResponses,\n  PostAdminClinicalClientResourceAssignmentsData,\n  PostAdminClinicalClientResourceAssignmentsErrors,\n  PostAdminClinicalClientResourceAssignmentsResponses,\n  PostAdminClinicalClientSupplementsBulkData,\n  PostAdminClinicalClientSupplementsBulkErrors,\n  PostAdminClinicalClientSupplementsBulkResponses,\n  PostAdminClinicalClientSupplementsData,\n  PostAdminClinicalClientSupplementsErrors,\n  PostAdminClinicalClientSupplementsResponses,\n  PostAdminClinicalDeliveriesData,\n  PostAdminClinicalDeliveriesErrors,\n  PostAdminClinicalDeliveriesResponses,\n  PostAdminClinicalDocumentsData,\n  PostAdminClinicalDocumentsErrors,\n  PostAdminClinicalDocumentsResponses,\n  PostAdminClinicalGoalAssociationsData,\n  PostAdminClinicalGoalAssociationsErrors,\n  PostAdminClinicalGoalAssociationsResponses,\n  PostAdminClinicalGoalTemplateCollectionMembershipsData,\n  PostAdminClinicalGoalTemplateCollectionMembershipsErrors,\n  PostAdminClinicalGoalTemplateCollectionMembershipsResponses,\n  PostAdminClinicalGoalTemplateCollectionsData,\n  PostAdminClinicalGoalTemplateCollectionsErrors,\n  PostAdminClinicalGoalTemplateCollectionsResponses,\n  PostAdminClinicalGoalTemplatesCatalogData,\n  PostAdminClinicalGoalTemplatesCatalogErrors,\n  PostAdminClinicalGoalTemplatesCatalogResponses,\n  PostAdminClinicalGoalTemplatesData,\n  PostAdminClinicalGoalTemplatesErrors,\n  PostAdminClinicalGoalTemplatesFromExistingData,\n  PostAdminClinicalGoalTemplatesFromExistingErrors,\n  PostAdminClinicalGoalTemplatesFromExistingResponses,\n  PostAdminClinicalGoalTemplatesResponses,\n  PostAdminClinicalHealthMetricsData,\n  PostAdminClinicalHealthMetricsErrors,\n  PostAdminClinicalHealthMetricsResponses,\n  PostAdminClinicalInsuranceAuthorizationsData,\n  PostAdminClinicalInsuranceAuthorizationsErrors,\n  PostAdminClinicalInsuranceAuthorizationsResponses,\n  PostAdminClinicalIntakeTargetsData,\n  PostAdminClinicalIntakeTargetsErrors,\n  PostAdminClinicalIntakeTargetsResponses,\n  PostAdminClinicalMealPlansData,\n  PostAdminClinicalMealPlansErrors,\n  PostAdminClinicalMealPlansResponses,\n  PostAdminClinicalNotesData,\n  PostAdminClinicalNotesErrors,\n  PostAdminClinicalNotesResponses,\n  PostAdminClinicalNoteTemplatesCatalogData,\n  PostAdminClinicalNoteTemplatesCatalogErrors,\n  PostAdminClinicalNoteTemplatesCatalogResponses,\n  PostAdminClinicalNoteTemplatesData,\n  PostAdminClinicalNoteTemplatesErrors,\n  PostAdminClinicalNoteTemplatesFromExistingData,\n  PostAdminClinicalNoteTemplatesFromExistingErrors,\n  PostAdminClinicalNoteTemplatesFromExistingResponses,\n  PostAdminClinicalNoteTemplatesResponses,\n  PostAdminClinicalPatientInsuranceData,\n  PostAdminClinicalPatientInsuranceErrors,\n  PostAdminClinicalPatientInsuranceResponses,\n  PostAdminClinicalPatientsData,\n  PostAdminClinicalPatientsErrors,\n  PostAdminClinicalPatientsResponses,\n  PostAdminClinicalPracticeResourcesCatalogData,\n  PostAdminClinicalPracticeResourcesCatalogErrors,\n  PostAdminClinicalPracticeResourcesCatalogResponses,\n  PostAdminClinicalPracticeResourcesData,\n  PostAdminClinicalPracticeResourcesErrors,\n  PostAdminClinicalPracticeResourcesResponses,\n  PostAdminClinicalPracticeToolsCatalogData,\n  PostAdminClinicalPracticeToolsCatalogErrors,\n  PostAdminClinicalPracticeToolsCatalogResponses,\n  PostAdminClinicalPracticeToolsData,\n  PostAdminClinicalPracticeToolsErrors,\n  PostAdminClinicalPracticeToolsResponses,\n  PostAdminClinicalSessionsData,\n  PostAdminClinicalSessionsErrors,\n  PostAdminClinicalSessionsResponses,\n  PostAdminClinicalSupplementTemplateCollectionMembershipsData,\n  PostAdminClinicalSupplementTemplateCollectionMembershipsErrors,\n  PostAdminClinicalSupplementTemplateCollectionMembershipsResponses,\n  PostAdminClinicalSupplementTemplateCollectionsData,\n  PostAdminClinicalSupplementTemplateCollectionsErrors,\n  PostAdminClinicalSupplementTemplateCollectionsResponses,\n  PostAdminClinicalSupplementTemplatesCatalogData,\n  PostAdminClinicalSupplementTemplatesCatalogErrors,\n  PostAdminClinicalSupplementTemplatesCatalogResponses,\n  PostAdminClinicalSupplementTemplatesData,\n  PostAdminClinicalSupplementTemplatesErrors,\n  PostAdminClinicalSupplementTemplatesFromExistingData,\n  PostAdminClinicalSupplementTemplatesFromExistingErrors,\n  PostAdminClinicalSupplementTemplatesFromExistingResponses,\n  PostAdminClinicalSupplementTemplatesResponses,\n  PostAdminComplianceDocumentTemplatesCloneData,\n  PostAdminComplianceDocumentTemplatesCloneErrors,\n  PostAdminComplianceDocumentTemplatesCloneResponses,\n  PostAdminComplianceDocumentTemplatesData,\n  PostAdminComplianceDocumentTemplatesErrors,\n  PostAdminComplianceDocumentTemplatesResponses,\n  PostAdminComplianceOfficerDesignationsData,\n  PostAdminComplianceOfficerDesignationsErrors,\n  PostAdminComplianceOfficerDesignationsResponses,\n  PostAdminComplianceRequirementCompletionsData,\n  PostAdminComplianceRequirementCompletionsErrors,\n  PostAdminComplianceRequirementCompletionsResponses,\n  PostAdminComplianceRequirementsData,\n  PostAdminComplianceRequirementsErrors,\n  PostAdminComplianceRequirementsResponses,\n  PostAdminCompositeOperationsData,\n  PostAdminCompositeOperationsErrors,\n  PostAdminCompositeOperationsResponses,\n  PostAdminConfigsData,\n  PostAdminConfigsErrors,\n  PostAdminConfigsResponses,\n  PostAdminConnectorsByIdEdamamRecipesGetData,\n  PostAdminConnectorsByIdEdamamRecipesGetErrors,\n  PostAdminConnectorsByIdEdamamRecipesGetResponses,\n  PostAdminConnectorsByIdEdamamRecipesSearchData,\n  PostAdminConnectorsByIdEdamamRecipesSearchErrors,\n  PostAdminConnectorsByIdEdamamRecipesSearchResponses,\n  PostAdminConnectorsByIdHealthieAppointmentsListData,\n  PostAdminConnectorsByIdHealthieAppointmentsListErrors,\n  PostAdminConnectorsByIdHealthieAppointmentsListResponses,\n  PostAdminConnectorsByIdHealthieAppointmentsSyncData,\n  PostAdminConnectorsByIdHealthieAppointmentsSyncErrors,\n  PostAdminConnectorsByIdHealthieAppointmentsSyncResponses,\n  PostAdminConnectorsByIdHealthiePatientsListData,\n  PostAdminConnectorsByIdHealthiePatientsListErrors,\n  PostAdminConnectorsByIdHealthiePatientsListResponses,\n  PostAdminConnectorsByIdHealthiePatientsSyncData,\n  PostAdminConnectorsByIdHealthiePatientsSyncErrors,\n  PostAdminConnectorsByIdHealthiePatientsSyncResponses,\n  PostAdminConnectorsByIdHealthieSyncAllData,\n  PostAdminConnectorsByIdHealthieSyncAllErrors,\n  PostAdminConnectorsByIdHealthieSyncAllResponses,\n  PostAdminConnectorsByIdPracticeBetterPushNoteData,\n  PostAdminConnectorsByIdPracticeBetterPushNoteErrors,\n  PostAdminConnectorsByIdPracticeBetterPushNoteResponses,\n  PostAdminConnectorsByIdSyncData,\n  PostAdminConnectorsByIdSyncErrors,\n  PostAdminConnectorsByIdSyncResponses,\n  PostAdminConnectorsCredentialsByIdRefreshData,\n  PostAdminConnectorsCredentialsByIdRefreshErrors,\n  PostAdminConnectorsCredentialsByIdRefreshResponses,\n  PostAdminConnectorsCredentialsDeleteByTypeData,\n  PostAdminConnectorsCredentialsDeleteByTypeErrors,\n  PostAdminConnectorsCredentialsDeleteByTypeResponses,\n  PostAdminConnectorsCredentialsUpsertData,\n  PostAdminConnectorsCredentialsUpsertErrors,\n  PostAdminConnectorsCredentialsUpsertResponses,\n  PostAdminConnectorsData,\n  PostAdminConnectorsErrors,\n  PostAdminConnectorsFullscriptCheckPatientData,\n  PostAdminConnectorsFullscriptCheckPatientErrors,\n  PostAdminConnectorsFullscriptCheckPatientResponses,\n  PostAdminConnectorsFullscriptCreatePatientData,\n  PostAdminConnectorsFullscriptCreatePatientErrors,\n  PostAdminConnectorsFullscriptCreatePatientResponses,\n  PostAdminConnectorsFullscriptOrdersGetData,\n  PostAdminConnectorsFullscriptOrdersGetErrors,\n  PostAdminConnectorsFullscriptOrdersGetResponses,\n  PostAdminConnectorsFullscriptOrdersListData,\n  PostAdminConnectorsFullscriptOrdersListErrors,\n  PostAdminConnectorsFullscriptOrdersListResponses,\n  PostAdminConnectorsFullscriptProductsGetData,\n  PostAdminConnectorsFullscriptProductsGetErrors,\n  PostAdminConnectorsFullscriptProductsGetResponses,\n  PostAdminConnectorsFullscriptProductsMatchData,\n  PostAdminConnectorsFullscriptProductsMatchErrors,\n  PostAdminConnectorsFullscriptProductsMatchResponses,\n  PostAdminConnectorsFullscriptProductsSearchData,\n  PostAdminConnectorsFullscriptProductsSearchErrors,\n  PostAdminConnectorsFullscriptProductsSearchResponses,\n  PostAdminConnectorsFullscriptProductsSimilarData,\n  PostAdminConnectorsFullscriptProductsSimilarErrors,\n  PostAdminConnectorsFullscriptProductsSimilarResponses,\n  PostAdminConnectorsFullscriptSessionGrantData,\n  PostAdminConnectorsFullscriptSessionGrantErrors,\n  PostAdminConnectorsFullscriptSessionGrantResponses,\n  PostAdminConnectorsFullscriptTreatmentPlansCancelData,\n  PostAdminConnectorsFullscriptTreatmentPlansCancelErrors,\n  PostAdminConnectorsFullscriptTreatmentPlansCancelResponses,\n  PostAdminConnectorsFullscriptTreatmentPlansCreateData,\n  PostAdminConnectorsFullscriptTreatmentPlansCreateErrors,\n  PostAdminConnectorsFullscriptTreatmentPlansCreateResponses,\n  PostAdminConnectorsFullscriptTreatmentPlansGetData,\n  PostAdminConnectorsFullscriptTreatmentPlansGetErrors,\n  PostAdminConnectorsFullscriptTreatmentPlansGetResponses,\n  PostAdminConnectorsFullscriptTreatmentPlansListData,\n  PostAdminConnectorsFullscriptTreatmentPlansListErrors,\n  PostAdminConnectorsFullscriptTreatmentPlansListResponses,\n  PostAdminConnectorsOauthAppConfigsData,\n  PostAdminConnectorsOauthAppConfigsErrors,\n  PostAdminConnectorsOauthAppConfigsResponses,\n  PostAdminConnectorsOauthCallbackData,\n  PostAdminConnectorsOauthCallbackErrors,\n  PostAdminConnectorsOauthCallbackResponses,\n  PostAdminConnectorsOauthInitiateData,\n  PostAdminConnectorsOauthInitiateErrors,\n  PostAdminConnectorsOauthInitiateResponses,\n  PostAdminConnectorsResponses,\n  PostAdminConsentRecordsData,\n  PostAdminConsentRecordsErrors,\n  PostAdminConsentRecordsResponses,\n  PostAdminContentEditImageData,\n  PostAdminContentEditImageErrors,\n  PostAdminContentEditImageResponses,\n  PostAdminContentGenerateHashtagsData,\n  PostAdminContentGenerateHashtagsErrors,\n  PostAdminContentGenerateHashtagsResponses,\n  PostAdminContentGenerateImageData,\n  PostAdminContentGenerateImageErrors,\n  PostAdminContentGenerateImagePromptData,\n  PostAdminContentGenerateImagePromptErrors,\n  PostAdminContentGenerateImagePromptResponses,\n  PostAdminContentGenerateImageResponses,\n  PostAdminContentGenerateTextData,\n  PostAdminContentGenerateTextErrors,\n  PostAdminContentGenerateTextResponses,\n  PostAdminContentRefineData,\n  PostAdminContentRefineErrors,\n  PostAdminContentRefineResponses,\n  PostAdminContentRewriteToneData,\n  PostAdminContentRewriteToneErrors,\n  PostAdminContentRewriteToneResponses,\n  PostAdminContentSeoEnrichData,\n  PostAdminContentSeoEnrichErrors,\n  PostAdminContentSeoEnrichResponses,\n  PostAdminContentShortenData,\n  PostAdminContentShortenErrors,\n  PostAdminContentShortenResponses,\n  PostAdminContentSuggestTopicsData,\n  PostAdminContentSuggestTopicsErrors,\n  PostAdminContentSuggestTopicsResponses,\n  PostAdminContractsData,\n  PostAdminContractsErrors,\n  PostAdminContractsResponses,\n  PostAdminCrawlerBrowserSessionsData,\n  PostAdminCrawlerBrowserSessionsErrors,\n  PostAdminCrawlerBrowserSessionsResponses,\n  PostAdminCrawlerJobsData,\n  PostAdminCrawlerJobsErrors,\n  PostAdminCrawlerJobsResponses,\n  PostAdminCrawlerNewsMonitorsData,\n  PostAdminCrawlerNewsMonitorsErrors,\n  PostAdminCrawlerNewsMonitorsResponses,\n  PostAdminCrawlerSchedulesData,\n  PostAdminCrawlerSchedulesErrors,\n  PostAdminCrawlerSchedulesResponses,\n  PostAdminCrawlerSiteConfigsData,\n  PostAdminCrawlerSiteConfigsErrors,\n  PostAdminCrawlerSiteConfigsResponses,\n  PostAdminCreditPackagesData,\n  PostAdminCreditPackagesErrors,\n  PostAdminCreditPackagesResponses,\n  PostAdminCrmActivitiesData,\n  PostAdminCrmActivitiesErrors,\n  PostAdminCrmActivitiesResponses,\n  PostAdminCrmAddressesData,\n  PostAdminCrmAddressesErrors,\n  PostAdminCrmAddressesResponses,\n  PostAdminCrmCompaniesData,\n  PostAdminCrmCompaniesErrors,\n  PostAdminCrmCompaniesResponses,\n  PostAdminCrmContactsByIdUnarchiveData,\n  PostAdminCrmContactsByIdUnarchiveErrors,\n  PostAdminCrmContactsByIdUnarchiveResponses,\n  PostAdminCrmContactsData,\n  PostAdminCrmContactsErrors,\n  PostAdminCrmContactsResponses,\n  PostAdminCrmCustomEntitiesData,\n  PostAdminCrmCustomEntitiesErrors,\n  PostAdminCrmCustomEntitiesResponses,\n  PostAdminCrmDealProductsData,\n  PostAdminCrmDealProductsErrors,\n  PostAdminCrmDealProductsResponses,\n  PostAdminCrmDealsData,\n  PostAdminCrmDealsErrors,\n  PostAdminCrmDealsResponses,\n  PostAdminCrmEmailAddressesData,\n  PostAdminCrmEmailAddressesErrors,\n  PostAdminCrmEmailAddressesResponses,\n  PostAdminCrmExportsData,\n  PostAdminCrmExportsErrors,\n  PostAdminCrmExportsResponses,\n  PostAdminCrmFieldDefinitionsData,\n  PostAdminCrmFieldDefinitionsErrors,\n  PostAdminCrmFieldDefinitionsResponses,\n  PostAdminCrmPhoneNumbersData,\n  PostAdminCrmPhoneNumbersErrors,\n  PostAdminCrmPhoneNumbersResponses,\n  PostAdminCrmPipelinesData,\n  PostAdminCrmPipelinesErrors,\n  PostAdminCrmPipelinesResponses,\n  PostAdminCrmPipelineStagesData,\n  PostAdminCrmPipelineStagesErrors,\n  PostAdminCrmPipelineStagesResponses,\n  PostAdminCrmRelationshipsData,\n  PostAdminCrmRelationshipsErrors,\n  PostAdminCrmRelationshipsResponses,\n  PostAdminCrmRelationshipTypesData,\n  PostAdminCrmRelationshipTypesErrors,\n  PostAdminCrmRelationshipTypesResponses,\n  PostAdminCrmSocialProfilesData,\n  PostAdminCrmSocialProfilesErrors,\n  PostAdminCrmSocialProfilesResponses,\n  PostAdminCrmSyncConfigsData,\n  PostAdminCrmSyncConfigsErrors,\n  PostAdminCrmSyncConfigsResponses,\n  PostAdminCrmWebsitesData,\n  PostAdminCrmWebsitesErrors,\n  PostAdminCrmWebsitesResponses,\n  PostAdminCustomersData,\n  PostAdminCustomersErrors,\n  PostAdminCustomersResponses,\n  PostAdminDataSubjectRequestsData,\n  PostAdminDataSubjectRequestsErrors,\n  PostAdminDataSubjectRequestsResponses,\n  PostAdminDataTransferRecordsData,\n  PostAdminDataTransferRecordsErrors,\n  PostAdminDataTransferRecordsResponses,\n  PostAdminDisclosureLogsData,\n  PostAdminDisclosureLogsErrors,\n  PostAdminDisclosureLogsResponses,\n  PostAdminDocumentsBulkDeleteData,\n  PostAdminDocumentsBulkDeleteErrors,\n  PostAdminDocumentsBulkDeleteResponses,\n  PostAdminDocumentsPresignedUploadData,\n  PostAdminDocumentsPresignedUploadErrors,\n  PostAdminDocumentsPresignedUploadResponses,\n  PostAdminEmailInboundAddressesData,\n  PostAdminEmailInboundAddressesErrors,\n  PostAdminEmailInboundAddressesResponses,\n  PostAdminEmailInclusionsData,\n  PostAdminEmailInclusionsErrors,\n  PostAdminEmailInclusionsResponses,\n  PostAdminEmailMarketingCampaignsByIdAnalyzeData,\n  PostAdminEmailMarketingCampaignsByIdAnalyzeErrors,\n  PostAdminEmailMarketingCampaignsByIdAnalyzeResponses,\n  PostAdminEmailMarketingCampaignsByIdCreateFollowupData,\n  PostAdminEmailMarketingCampaignsByIdCreateFollowupErrors,\n  PostAdminEmailMarketingCampaignsByIdCreateFollowupResponses,\n  PostAdminEmailMarketingCampaignsByIdExportData,\n  PostAdminEmailMarketingCampaignsByIdExportErrors,\n  PostAdminEmailMarketingCampaignsByIdExportResponses,\n  PostAdminEmailMarketingCampaignsByIdGenerateEmailsData,\n  PostAdminEmailMarketingCampaignsByIdGenerateEmailsErrors,\n  PostAdminEmailMarketingCampaignsByIdGenerateEmailsResponses,\n  PostAdminEmailMarketingCampaignsByIdImportRecipientsData,\n  PostAdminEmailMarketingCampaignsByIdImportRecipientsErrors,\n  PostAdminEmailMarketingCampaignsByIdImportRecipientsResponses,\n  PostAdminEmailMarketingCampaignsByIdOptimizeSendTimesData,\n  PostAdminEmailMarketingCampaignsByIdOptimizeSendTimesErrors,\n  PostAdminEmailMarketingCampaignsByIdOptimizeSendTimesResponses,\n  PostAdminEmailMarketingCampaignsByIdOptimizeSubjectsData,\n  PostAdminEmailMarketingCampaignsByIdOptimizeSubjectsErrors,\n  PostAdminEmailMarketingCampaignsByIdOptimizeSubjectsResponses,\n  PostAdminEmailMarketingCampaignsByIdSendData,\n  PostAdminEmailMarketingCampaignsByIdSendErrors,\n  PostAdminEmailMarketingCampaignsByIdSendResponses,\n  PostAdminEmailMarketingCampaignsData,\n  PostAdminEmailMarketingCampaignsErrors,\n  PostAdminEmailMarketingCampaignsResponses,\n  PostAdminEmailMarketingSenderProfilesData,\n  PostAdminEmailMarketingSenderProfilesErrors,\n  PostAdminEmailMarketingSenderProfilesResponses,\n  PostAdminEmailMarketingTemplatesCompileData,\n  PostAdminEmailMarketingTemplatesCompileErrors,\n  PostAdminEmailMarketingTemplatesCompileResponses,\n  PostAdminEmailMarketingTemplatesData,\n  PostAdminEmailMarketingTemplatesErrors,\n  PostAdminEmailMarketingTemplatesResponses,\n  PostAdminEmailOutboundEmailsComposeWithAiData,\n  PostAdminEmailOutboundEmailsComposeWithAiErrors,\n  PostAdminEmailOutboundEmailsComposeWithAiResponses,\n  PostAdminEmailOutboundEmailsData,\n  PostAdminEmailOutboundEmailsErrors,\n  PostAdminEmailOutboundEmailsResponses,\n  PostAdminEmailRecipientsData,\n  PostAdminEmailRecipientsErrors,\n  PostAdminEmailRecipientsResponses,\n  PostAdminEphiAssetsData,\n  PostAdminEphiAssetsErrors,\n  PostAdminEphiAssetsResponses,\n  PostAdminEphiDataFlowsData,\n  PostAdminEphiDataFlowsErrors,\n  PostAdminEphiDataFlowsResponses,\n  PostAdminExtractionAgentsPredictData,\n  PostAdminExtractionAgentsPredictErrors,\n  PostAdminExtractionAgentsPredictResponses,\n  PostAdminExtractionBatchesByIdFinishAllData,\n  PostAdminExtractionBatchesByIdFinishAllErrors,\n  PostAdminExtractionBatchesByIdFinishAllResponses,\n  PostAdminExtractionBatchesData,\n  PostAdminExtractionBatchesErrors,\n  PostAdminExtractionBatchesResponses,\n  PostAdminExtractionConfigEnumsData,\n  PostAdminExtractionConfigEnumsErrors,\n  PostAdminExtractionConfigEnumsResponses,\n  PostAdminExtractionDocumentsBeginUploadData,\n  PostAdminExtractionDocumentsBeginUploadErrors,\n  PostAdminExtractionDocumentsBeginUploadResponses,\n  PostAdminExtractionDocumentsBulkReprocessData,\n  PostAdminExtractionDocumentsBulkReprocessErrors,\n  PostAdminExtractionDocumentsBulkReprocessResponses,\n  PostAdminExtractionDocumentsFindOrBeginUploadData,\n  PostAdminExtractionDocumentsFindOrBeginUploadErrors,\n  PostAdminExtractionDocumentsFindOrBeginUploadResponses,\n  PostAdminExtractionDocumentsUploadData,\n  PostAdminExtractionDocumentsUploadErrors,\n  PostAdminExtractionDocumentsUploadResponses,\n  PostAdminExtractionSchemaDiscoveriesBootstrapData,\n  PostAdminExtractionSchemaDiscoveriesBootstrapErrors,\n  PostAdminExtractionSchemaDiscoveriesBootstrapResponses,\n  PostAdminExtractionSchemaDiscoveriesData,\n  PostAdminExtractionSchemaDiscoveriesErrors,\n  PostAdminExtractionSchemaDiscoveriesResponses,\n  PostAdminExtractionShadowComparisonsData,\n  PostAdminExtractionShadowComparisonsErrors,\n  PostAdminExtractionShadowComparisonsResponses,\n  PostAdminExtractionWorkflowsData,\n  PostAdminExtractionWorkflowsErrors,\n  PostAdminExtractionWorkflowsResponses,\n  PostAdminFeatureDefinitionsData,\n  PostAdminFeatureDefinitionsErrors,\n  PostAdminFeatureDefinitionsResponses,\n  PostAdminFeatureUsagesIncrementData,\n  PostAdminFeatureUsagesIncrementErrors,\n  PostAdminFeatureUsagesIncrementResponses,\n  PostAdminFieldTemplatesData,\n  PostAdminFieldTemplatesErrors,\n  PostAdminFieldTemplatesResponses,\n  PostAdminFormDeploymentsData,\n  PostAdminFormDeploymentsErrors,\n  PostAdminFormDeploymentsResponses,\n  PostAdminFormGenerationsData,\n  PostAdminFormGenerationsErrors,\n  PostAdminFormGenerationsResponses,\n  PostAdminFormVersionsByIdProposeRuleData,\n  PostAdminFormVersionsByIdProposeRuleErrors,\n  PostAdminFormVersionsByIdProposeRuleResponses,\n  PostAdminFormVersionsData,\n  PostAdminFormVersionsErrors,\n  PostAdminFormVersionsResponses,\n  PostAdminImpactAssessmentsData,\n  PostAdminImpactAssessmentsErrors,\n  PostAdminImpactAssessmentsResponses,\n  PostAdminInvitationsAcceptByTokenData,\n  PostAdminInvitationsAcceptByTokenErrors,\n  PostAdminInvitationsAcceptByTokenResponses,\n  PostAdminInvitationsData,\n  PostAdminInvitationsErrors,\n  PostAdminInvitationsResponses,\n  PostAdminInvoicesContactsData,\n  PostAdminInvoicesContactsErrors,\n  PostAdminInvoicesContactsResponses,\n  PostAdminInvoicesData,\n  PostAdminInvoicesErrors,\n  PostAdminInvoicesLinesData,\n  PostAdminInvoicesLinesErrors,\n  PostAdminInvoicesLinesResponses,\n  PostAdminInvoicesPaymentsData,\n  PostAdminInvoicesPaymentsErrors,\n  PostAdminInvoicesPaymentsResponses,\n  PostAdminInvoicesRecurringSchedulesData,\n  PostAdminInvoicesRecurringSchedulesErrors,\n  PostAdminInvoicesRecurringSchedulesResponses,\n  PostAdminInvoicesResponses,\n  PostAdminInvoicesRulesData,\n  PostAdminInvoicesRulesErrors,\n  PostAdminInvoicesRulesResponses,\n  PostAdminInvoicesTemplatesData,\n  PostAdminInvoicesTemplatesErrors,\n  PostAdminInvoicesTemplatesResponses,\n  PostAdminIsvCrmChannelCaptureConfigData,\n  PostAdminIsvCrmChannelCaptureConfigErrors,\n  PostAdminIsvCrmChannelCaptureConfigResponses,\n  PostAdminIsvCrmEntityTypesData,\n  PostAdminIsvCrmEntityTypesErrors,\n  PostAdminIsvCrmEntityTypesResponses,\n  PostAdminIsvPricingOverridesData,\n  PostAdminIsvPricingOverridesErrors,\n  PostAdminIsvPricingOverridesResponses,\n  PostAdminIsvRevenueData,\n  PostAdminIsvRevenueErrors,\n  PostAdminIsvRevenueResponses,\n  PostAdminLegalDocumentsData,\n  PostAdminLegalDocumentsErrors,\n  PostAdminLegalDocumentsResponses,\n  PostAdminLlmAnalyticsData,\n  PostAdminLlmAnalyticsErrors,\n  PostAdminLlmAnalyticsResponses,\n  PostAdminMeetingsData,\n  PostAdminMeetingsErrors,\n  PostAdminMeetingsResponses,\n  PostAdminMessageFeedbackData,\n  PostAdminMessageFeedbackErrors,\n  PostAdminMessageFeedbackResponses,\n  PostAdminMessagesData,\n  PostAdminMessagesErrors,\n  PostAdminMessagesResponses,\n  PostAdminNotificationMethodsData,\n  PostAdminNotificationMethodsErrors,\n  PostAdminNotificationMethodsResponses,\n  PostAdminNotificationPreferencesData,\n  PostAdminNotificationPreferencesErrors,\n  PostAdminNotificationPreferencesResponses,\n  PostAdminPaymentMethodsData,\n  PostAdminPaymentMethodsErrors,\n  PostAdminPaymentMethodsResponses,\n  PostAdminPaymentMethodsTokenizeData,\n  PostAdminPaymentMethodsTokenizeErrors,\n  PostAdminPaymentMethodsTokenizeResponses,\n  PostAdminPaymentsData,\n  PostAdminPaymentsErrors,\n  PostAdminPaymentsResponses,\n  PostAdminPipelineNodesData,\n  PostAdminPipelineNodesErrors,\n  PostAdminPipelineNodesResponses,\n  PostAdminPipelinesData,\n  PostAdminPipelinesErrors,\n  PostAdminPipelinesResponses,\n  PostAdminPlanBundlesPreviewEconomicsData,\n  PostAdminPlanBundlesPreviewEconomicsErrors,\n  PostAdminPlanBundlesPreviewEconomicsResponses,\n  PostAdminPlanBundlesPublishData,\n  PostAdminPlanBundlesPublishErrors,\n  PostAdminPlanBundlesPublishResponses,\n  PostAdminPlanFeatureAllocationsData,\n  PostAdminPlanFeatureAllocationsErrors,\n  PostAdminPlanFeatureAllocationsResponses,\n  PostAdminPlansData,\n  PostAdminPlansErrors,\n  PostAdminPlansResponses,\n  PostAdminPlatformPricingConfigsData,\n  PostAdminPlatformPricingConfigsErrors,\n  PostAdminPlatformPricingConfigsResponses,\n  PostAdminPlatformTonesData,\n  PostAdminPlatformTonesErrors,\n  PostAdminPlatformTonesResponses,\n  PostAdminPolicyReviewSchedulesData,\n  PostAdminPolicyReviewSchedulesErrors,\n  PostAdminPolicyReviewSchedulesResponses,\n  PostAdminPortalInvitationsData,\n  PostAdminPortalInvitationsErrors,\n  PostAdminPortalInvitationsResponses,\n  PostAdminPostProcessingHooksData,\n  PostAdminPostProcessingHooksErrors,\n  PostAdminPostProcessingHooksResponses,\n  PostAdminPreferencesUpsertData,\n  PostAdminPreferencesUpsertErrors,\n  PostAdminPreferencesUpsertResponses,\n  PostAdminPricingStrategiesData,\n  PostAdminPricingStrategiesErrors,\n  PostAdminPricingStrategiesResponses,\n  PostAdminProcessingActivitiesData,\n  PostAdminProcessingActivitiesErrors,\n  PostAdminProcessingActivitiesResponses,\n  PostAdminQuoteRequestsData,\n  PostAdminQuoteRequestsErrors,\n  PostAdminQuoteRequestsResponses,\n  PostAdminRecipesBulkImportData,\n  PostAdminRecipesBulkImportErrors,\n  PostAdminRecipesBulkImportResponses,\n  PostAdminRecipesCollectionRecipesData,\n  PostAdminRecipesCollectionRecipesErrors,\n  PostAdminRecipesCollectionRecipesResponses,\n  PostAdminRecipesCollectionsData,\n  PostAdminRecipesCollectionsErrors,\n  PostAdminRecipesCollectionsResponses,\n  PostAdminRecipesData,\n  PostAdminRecipesErrors,\n  PostAdminRecipesFavoritesData,\n  PostAdminRecipesFavoritesErrors,\n  PostAdminRecipesFavoritesResponses,\n  PostAdminRecipesFoodItemsData,\n  PostAdminRecipesFoodItemsErrors,\n  PostAdminRecipesFoodItemsResponses,\n  PostAdminRecipesImportData,\n  PostAdminRecipesImportErrors,\n  PostAdminRecipesImportResponses,\n  PostAdminRecipesIngredientsData,\n  PostAdminRecipesIngredientsErrors,\n  PostAdminRecipesIngredientsResponses,\n  PostAdminRecipesMealSchedulesData,\n  PostAdminRecipesMealSchedulesErrors,\n  PostAdminRecipesMealSchedulesResponses,\n  PostAdminRecipesRecipeNutritionsData,\n  PostAdminRecipesRecipeNutritionsErrors,\n  PostAdminRecipesRecipeNutritionsResponses,\n  PostAdminRecipesRecipeTagsData,\n  PostAdminRecipesRecipeTagsErrors,\n  PostAdminRecipesRecipeTagsResponses,\n  PostAdminRecipesResponses,\n  PostAdminRecipesScheduledMealsData,\n  PostAdminRecipesScheduledMealsErrors,\n  PostAdminRecipesScheduledMealsResponses,\n  PostAdminRecipesShoppingListItemsData,\n  PostAdminRecipesShoppingListItemsErrors,\n  PostAdminRecipesShoppingListItemsResponses,\n  PostAdminRecipesShoppingListsData,\n  PostAdminRecipesShoppingListsErrors,\n  PostAdminRecipesShoppingListsGenerateData,\n  PostAdminRecipesShoppingListsGenerateErrors,\n  PostAdminRecipesShoppingListsGenerateResponses,\n  PostAdminRecipesShoppingListsRegenerateData,\n  PostAdminRecipesShoppingListsRegenerateErrors,\n  PostAdminRecipesShoppingListsRegenerateResponses,\n  PostAdminRecipesShoppingListsResponses,\n  PostAdminRecipesTagsData,\n  PostAdminRecipesTagsErrors,\n  PostAdminRecipesTagsResponses,\n  PostAdminRetentionPoliciesData,\n  PostAdminRetentionPoliciesErrors,\n  PostAdminRetentionPoliciesResponses,\n  PostAdminReviewQueueMembershipsData,\n  PostAdminReviewQueueMembershipsErrors,\n  PostAdminReviewQueueMembershipsResponses,\n  PostAdminReviewQueuesData,\n  PostAdminReviewQueuesErrors,\n  PostAdminReviewQueuesResponses,\n  PostAdminRiskAssessmentsData,\n  PostAdminRiskAssessmentsErrors,\n  PostAdminRiskAssessmentsResponses,\n  PostAdminRolesData,\n  PostAdminRolesErrors,\n  PostAdminRolesResponses,\n  PostAdminSchedulingAvailabilityRulesData,\n  PostAdminSchedulingAvailabilityRulesErrors,\n  PostAdminSchedulingAvailabilityRulesResponses,\n  PostAdminSchedulingBookingsData,\n  PostAdminSchedulingBookingsErrors,\n  PostAdminSchedulingBookingsResponses,\n  PostAdminSchedulingCalendarSyncsData,\n  PostAdminSchedulingCalendarSyncsErrors,\n  PostAdminSchedulingCalendarSyncsResponses,\n  PostAdminSchedulingEventsData,\n  PostAdminSchedulingEventsErrors,\n  PostAdminSchedulingEventsResponses,\n  PostAdminSchedulingEventTypesData,\n  PostAdminSchedulingEventTypesErrors,\n  PostAdminSchedulingEventTypesResponses,\n  PostAdminSchedulingLocationsData,\n  PostAdminSchedulingLocationsErrors,\n  PostAdminSchedulingLocationsResponses,\n  PostAdminSchedulingParticipantsData,\n  PostAdminSchedulingParticipantsErrors,\n  PostAdminSchedulingParticipantsResponses,\n  PostAdminSchedulingRemindersData,\n  PostAdminSchedulingRemindersErrors,\n  PostAdminSchedulingRemindersResponses,\n  PostAdminSearchBatchData,\n  PostAdminSearchBatchErrors,\n  PostAdminSearchBatchResponses,\n  PostAdminSearchReindexData,\n  PostAdminSearchReindexErrors,\n  PostAdminSearchReindexResponses,\n  PostAdminSearchSavedByIdRunData,\n  PostAdminSearchSavedByIdRunErrors,\n  PostAdminSearchSavedByIdRunResponses,\n  PostAdminSearchSavedData,\n  PostAdminSearchSavedErrors,\n  PostAdminSearchSavedResponses,\n  PostAdminSettlementsData,\n  PostAdminSettlementsErrors,\n  PostAdminSettlementsResponses,\n  PostAdminSocialAccountsData,\n  PostAdminSocialAccountsErrors,\n  PostAdminSocialAccountsResponses,\n  PostAdminSocialCampaignsByIdAdaptForPlatformsData,\n  PostAdminSocialCampaignsByIdAdaptForPlatformsErrors,\n  PostAdminSocialCampaignsByIdAdaptForPlatformsResponses,\n  PostAdminSocialCampaignsByIdGenerateMasterCopyData,\n  PostAdminSocialCampaignsByIdGenerateMasterCopyErrors,\n  PostAdminSocialCampaignsByIdGenerateMasterCopyResponses,\n  PostAdminSocialCampaignsByIdPreviewAdaptationsData,\n  PostAdminSocialCampaignsByIdPreviewAdaptationsErrors,\n  PostAdminSocialCampaignsByIdPreviewAdaptationsResponses,\n  PostAdminSocialCampaignsData,\n  PostAdminSocialCampaignsErrors,\n  PostAdminSocialCampaignsResponses,\n  PostAdminSocialPostsData,\n  PostAdminSocialPostsErrors,\n  PostAdminSocialPostsResponses,\n  PostAdminSocialTrendingHistoryData,\n  PostAdminSocialTrendingHistoryErrors,\n  PostAdminSocialTrendingHistoryResponses,\n  PostAdminSocialTrendingWatchesData,\n  PostAdminSocialTrendingWatchesErrors,\n  PostAdminSocialTrendingWatchesResponses,\n  PostAdminStorageFilesByIdDownloadUrlData,\n  PostAdminStorageFilesByIdDownloadUrlErrors,\n  PostAdminStorageFilesByIdDownloadUrlResponses,\n  PostAdminStorageFilesData,\n  PostAdminStorageFilesErrors,\n  PostAdminStorageFilesResponses,\n  PostAdminSubscriptionsData,\n  PostAdminSubscriptionsErrors,\n  PostAdminSubscriptionsResponses,\n  PostAdminSupportAiConfigsData,\n  PostAdminSupportAiConfigsErrors,\n  PostAdminSupportAiConfigsResponses,\n  PostAdminSupportCannedResponsesData,\n  PostAdminSupportCannedResponsesErrors,\n  PostAdminSupportCannedResponsesResponses,\n  PostAdminSupportChannelCaptureConfigsData,\n  PostAdminSupportChannelCaptureConfigsErrors,\n  PostAdminSupportChannelCaptureConfigsResponses,\n  PostAdminSupportQueueMembersData,\n  PostAdminSupportQueueMembersErrors,\n  PostAdminSupportQueueMembersResponses,\n  PostAdminSupportQueuesData,\n  PostAdminSupportQueuesErrors,\n  PostAdminSupportQueuesResponses,\n  PostAdminSupportRoutingRulesData,\n  PostAdminSupportRoutingRulesErrors,\n  PostAdminSupportRoutingRulesResponses,\n  PostAdminSupportSlaPoliciesData,\n  PostAdminSupportSlaPoliciesErrors,\n  PostAdminSupportSlaPoliciesResponses,\n  PostAdminSupportSyncConfigsData,\n  PostAdminSupportSyncConfigsErrors,\n  PostAdminSupportSyncConfigsResponses,\n  PostAdminSupportTagsData,\n  PostAdminSupportTagsErrors,\n  PostAdminSupportTagsResponses,\n  PostAdminSupportTicketAttachmentsData,\n  PostAdminSupportTicketAttachmentsErrors,\n  PostAdminSupportTicketAttachmentsResponses,\n  PostAdminSupportTicketMessagesData,\n  PostAdminSupportTicketMessagesErrors,\n  PostAdminSupportTicketMessagesResponses,\n  PostAdminSupportTicketRatingsData,\n  PostAdminSupportTicketRatingsErrors,\n  PostAdminSupportTicketRatingsResponses,\n  PostAdminSupportTicketsData,\n  PostAdminSupportTicketsErrors,\n  PostAdminSupportTicketsResponses,\n  PostAdminSysAiConfigData,\n  PostAdminSysAiConfigErrors,\n  PostAdminSysAiConfigResponses,\n  PostAdminSysSemanticCacheClearData,\n  PostAdminSysSemanticCacheClearErrors,\n  PostAdminSysSemanticCacheClearResponses,\n  PostAdminSystemMessagesData,\n  PostAdminSystemMessagesErrors,\n  PostAdminSystemMessagesResponses,\n  PostAdminTenantPricingOverridesData,\n  PostAdminTenantPricingOverridesErrors,\n  PostAdminTenantPricingOverridesResponses,\n  PostAdminTenantsByIdCreditData,\n  PostAdminTenantsByIdCreditErrors,\n  PostAdminTenantsByIdCreditResponses,\n  PostAdminTenantsByIdSchedulePurgeData,\n  PostAdminTenantsByIdSchedulePurgeErrors,\n  PostAdminTenantsByIdSchedulePurgeResponses,\n  PostAdminTenantsData,\n  PostAdminTenantsErrors,\n  PostAdminTenantsIsvData,\n  PostAdminTenantsIsvErrors,\n  PostAdminTenantsIsvResponses,\n  PostAdminTenantsOrgData,\n  PostAdminTenantsOrgErrors,\n  PostAdminTenantsOrgResponses,\n  PostAdminTenantsPersonalData,\n  PostAdminTenantsPersonalErrors,\n  PostAdminTenantsPersonalResponses,\n  PostAdminTenantsResponses,\n  PostAdminThreadsActiveData,\n  PostAdminThreadsActiveErrors,\n  PostAdminThreadsActiveResponses,\n  PostAdminThreadsByIdCompleteData,\n  PostAdminThreadsByIdCompleteErrors,\n  PostAdminThreadsByIdCompleteResponses,\n  PostAdminThreadsByIdExportData,\n  PostAdminThreadsByIdExportErrors,\n  PostAdminThreadsByIdExportResponses,\n  PostAdminThreadsByIdForkData,\n  PostAdminThreadsByIdForkErrors,\n  PostAdminThreadsByIdForkResponses,\n  PostAdminThreadsByIdMessagesData,\n  PostAdminThreadsByIdMessagesErrors,\n  PostAdminThreadsByIdMessagesResponses,\n  PostAdminThreadsByIdSummarizeData,\n  PostAdminThreadsByIdSummarizeErrors,\n  PostAdminThreadsByIdSummarizeResponses,\n  PostAdminThreadsData,\n  PostAdminThreadsErrors,\n  PostAdminThreadsResponses,\n  PostAdminTokensData,\n  PostAdminTokensErrors,\n  PostAdminTokensResponses,\n  PostAdminTrainingExamplesBulkData,\n  PostAdminTrainingExamplesBulkDeleteData,\n  PostAdminTrainingExamplesBulkDeleteErrors,\n  PostAdminTrainingExamplesBulkDeleteResponses,\n  PostAdminTrainingExamplesBulkErrors,\n  PostAdminTrainingExamplesBulkResponses,\n  PostAdminTrainingExamplesData,\n  PostAdminTrainingExamplesErrors,\n  PostAdminTrainingExamplesResponses,\n  PostAdminTrainingExamplesSearchData,\n  PostAdminTrainingExamplesSearchErrors,\n  PostAdminTrainingExamplesSearchResponses,\n  PostAdminTrainingSessionsData,\n  PostAdminTrainingSessionsErrors,\n  PostAdminTrainingSessionsResponses,\n  PostAdminTransactionsByIdVoidData,\n  PostAdminTransactionsByIdVoidErrors,\n  PostAdminTransactionsByIdVoidResponses,\n  PostAdminUserProfilesData,\n  PostAdminUserProfilesErrors,\n  PostAdminUserProfilesResponses,\n  PostAdminUsersAuthConfirmData,\n  PostAdminUsersAuthConfirmErrors,\n  PostAdminUsersAuthConfirmResponses,\n  PostAdminUsersAuthLoginData,\n  PostAdminUsersAuthLoginErrors,\n  PostAdminUsersAuthLoginResponses,\n  PostAdminUsersAuthMagicLinkLoginData,\n  PostAdminUsersAuthMagicLinkLoginErrors,\n  PostAdminUsersAuthMagicLinkLoginResponses,\n  PostAdminUsersAuthPasswordResetRequestData,\n  PostAdminUsersAuthPasswordResetRequestErrors,\n  PostAdminUsersAuthPasswordResetRequestResponses,\n  PostAdminUsersAuthRegisterData,\n  PostAdminUsersAuthRegisterErrors,\n  PostAdminUsersAuthRegisterResponses,\n  PostAdminUsersAuthRegisterViaInvitationData,\n  PostAdminUsersAuthRegisterViaInvitationErrors,\n  PostAdminUsersAuthRegisterViaInvitationResponses,\n  PostAdminUsersAuthRegisterWithOidcData,\n  PostAdminUsersAuthRegisterWithOidcErrors,\n  PostAdminUsersAuthRegisterWithOidcResponses,\n  PostAdminUsersAuthResendConfirmationData,\n  PostAdminUsersAuthResendConfirmationErrors,\n  PostAdminUsersAuthResendConfirmationResponses,\n  PostAdminUsersRegisterIsvData,\n  PostAdminUsersRegisterIsvErrors,\n  PostAdminUsersRegisterIsvResponses,\n  PostAdminVoiceSessionsData,\n  PostAdminVoiceSessionsErrors,\n  PostAdminVoiceSessionsResponses,\n  PostAdminVoiceTranscriptionJobsData,\n  PostAdminVoiceTranscriptionJobsErrors,\n  PostAdminVoiceTranscriptionJobsResponses,\n  PostAdminVoiceTranscriptionResultsData,\n  PostAdminVoiceTranscriptionResultsErrors,\n  PostAdminVoiceTranscriptionResultsResponses,\n  PostAdminWebhookConfigsBulkDisableData,\n  PostAdminWebhookConfigsBulkDisableErrors,\n  PostAdminWebhookConfigsBulkDisableResponses,\n  PostAdminWebhookConfigsBulkEnableData,\n  PostAdminWebhookConfigsBulkEnableErrors,\n  PostAdminWebhookConfigsBulkEnableResponses,\n  PostAdminWebhookConfigsByIdReplayData,\n  PostAdminWebhookConfigsByIdReplayErrors,\n  PostAdminWebhookConfigsByIdReplayResponses,\n  PostAdminWebhookConfigsByIdTestData,\n  PostAdminWebhookConfigsByIdTestErrors,\n  PostAdminWebhookConfigsByIdTestResponses,\n  PostAdminWebhookConfigsData,\n  PostAdminWebhookConfigsErrors,\n  PostAdminWebhookConfigsResponses,\n  PostAdminWebhookDeliveriesBulkRetryData,\n  PostAdminWebhookDeliveriesBulkRetryErrors,\n  PostAdminWebhookDeliveriesBulkRetryResponses,\n  PostAdminWebhookDeliveriesByIdRetryData,\n  PostAdminWebhookDeliveriesByIdRetryErrors,\n  PostAdminWebhookDeliveriesByIdRetryResponses,\n  PostAdminWholesaleAgreementsByIdGrantSignupCreditsData,\n  PostAdminWholesaleAgreementsByIdGrantSignupCreditsErrors,\n  PostAdminWholesaleAgreementsByIdGrantSignupCreditsResponses,\n  PostAdminWholesaleAgreementsData,\n  PostAdminWholesaleAgreementsErrors,\n  PostAdminWholesaleAgreementsResponses,\n  PostAdminWorkspaceAgentConfigsData,\n  PostAdminWorkspaceAgentConfigsErrors,\n  PostAdminWorkspaceAgentConfigsResponses,\n  PostAdminWorkspaceFormConfigsData,\n  PostAdminWorkspaceFormConfigsErrors,\n  PostAdminWorkspaceFormConfigsResponses,\n  PostAdminWorkspacePreferencesUpsertData,\n  PostAdminWorkspacePreferencesUpsertErrors,\n  PostAdminWorkspacePreferencesUpsertResponses,\n  PostAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData,\n  PostAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors,\n  PostAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses,\n  PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData,\n  PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors,\n  PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses,\n  PostAdminWorkspacesByWorkspaceIdExtractionExportsData,\n  PostAdminWorkspacesByWorkspaceIdExtractionExportsErrors,\n  PostAdminWorkspacesByWorkspaceIdExtractionExportsResponses,\n  PostAdminWorkspacesData,\n  PostAdminWorkspacesErrors,\n  PostAdminWorkspacesResponses,\n} from \"./types.gen\";\n\nexport type Options<\n  TData extends TDataShape = TDataShape,\n  ThrowOnError extends boolean = boolean,\n> = Options2<TData, ThrowOnError> & {\n  /**\n   * You can provide a client instance returned by `createClient()` instead of\n   * individual options. This might be also useful if you want to implement a\n   * custom client.\n   */\n  client?: Client;\n  /**\n   * You can pass arbitrary values through the `meta` object. This can be\n   * used to access values that aren't defined as part of the SDK function.\n   */\n  meta?: Record<string, unknown>;\n};\n\n/**\n * /email/template-versions/template/:template_id operation on email-template-version resource\n *\n * /email/template-versions/template/:template_id operation on email-template-version resource\n */\nexport const getAdminEmailTemplateVersionsTemplateByTemplateId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailTemplateVersionsTemplateByTemplateIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailTemplateVersionsTemplateByTemplateIdResponses,\n    GetAdminEmailTemplateVersionsTemplateByTemplateIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/template-versions/template/{template_id}\",\n    ...options,\n  });\n\n/**\n * /recipes/:id/archive operation on recipes-recipe resource\n *\n * /recipes/:id/archive operation on recipes-recipe resource\n */\nexport const patchAdminRecipesByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRecipesByIdArchiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesByIdArchiveResponses,\n    PatchAdminRecipesByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Returns the subscriptions that would be affected by disabling a capability\n * on an Application, without applying any changes\n *\n * Returns the subscriptions that would be affected by disabling a capability\n * on an Application, without applying any changes.\n *\n * Delegates to `CapabilityRevocationCascade.cascade/3` with `dry_run: true`.\n *\n * ## Arguments\n *\n * - `application_id` — UUID of the ISV Application whose capability is being\n * considered for disablement.\n * - `capability` — The capability atom name (as a string, e.g. `\"meeting_intelligence\"`).\n *\n * ## Response shape\n *\n * {\n * \"affected_count\": 3,\n * \"subscription_ids\": [\"sub-uuid-1\", \"sub-uuid-2\", \"sub-uuid-3\"],\n * \"dry_run\": true\n * }\n *\n */\nexport const postAdminBillingCapabilityRevocationsPreviewCascade = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminBillingCapabilityRevocationsPreviewCascadeData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminBillingCapabilityRevocationsPreviewCascadeResponses,\n    PostAdminBillingCapabilityRevocationsPreviewCascadeErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/billing/capability-revocations/preview-cascade\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get nutrition data for a recipe\n *\n * Get nutrition data for a recipe\n */\nexport const getAdminRecipesRecipeNutritionsRecipeByRecipeId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesRecipeNutritionsRecipeByRecipeIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesRecipeNutritionsRecipeByRecipeIdResponses,\n    GetAdminRecipesRecipeNutritionsRecipeByRecipeIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/recipe-nutritions/recipe/{recipe_id}\",\n    ...options,\n  });\n\n/**\n * List all social profiles for a specific entity (contact or company).\n *\n * List all social profiles for a specific entity (contact or company).\n */\nexport const getAdminCrmSocialProfilesEntityByEntityTypeByEntityId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmSocialProfilesEntityByEntityTypeByEntityIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmSocialProfilesEntityByEntityTypeByEntityIdResponses,\n    GetAdminCrmSocialProfilesEntityByEntityTypeByEntityIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/social-profiles/entity/{entity_type}/{entity_id}\",\n    ...options,\n  });\n\n/**\n * List workspaces visible to the actor\n *\n * List workspaces visible to the actor. By default excludes archived (soft-deleted)\n * workspaces; pass include_archived: true to include them. Returns workspaces where\n * the actor has a direct workspace membership or is a tenant admin/owner. Use :mine\n * for a user-scoped list, or :read_shared for cross-org shared workspaces.\n *\n */\nexport const getAdminWorkspaces = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminWorkspacesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspacesResponses,\n    GetAdminWorkspacesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces\",\n    ...options,\n  });\n\n/**\n * Create a new workspace under a tenant\n *\n * Create a new workspace under a tenant. Infers application_id from the\n * x-application-key header context if not explicitly provided. After creation:\n * adds the creating actor as a workspace admin member (if not a system actor),\n * creates a billing liability account, and optionally allocates initial_credits\n * from the tenant's wallet. Records a workspace_created activity event.\n *\n * Returns the created workspace record.\n *\n */\nexport const postAdminWorkspaces = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminWorkspacesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminWorkspacesResponses,\n    PostAdminWorkspacesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /audit-chain-entries operation on audit-chain-entry resource\n *\n * /audit-chain-entries operation on audit-chain-entry resource\n */\nexport const getAdminAuditChainEntries = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAuditChainEntriesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAuditChainEntriesResponses,\n    GetAdminAuditChainEntriesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/audit-chain-entries\",\n    ...options,\n  });\n\n/**\n * /portal-invitations/:id operation on portal-invitation resource\n *\n * /portal-invitations/:id operation on portal-invitation resource\n */\nexport const deleteAdminPortalInvitationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminPortalInvitationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminPortalInvitationsByIdResponses,\n    DeleteAdminPortalInvitationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/portal-invitations/{id}\",\n    ...options,\n  });\n\n/**\n * /crm/phone-numbers/:id/set-primary operation on crm-phone-number resource\n *\n * /crm/phone-numbers/:id/set-primary operation on crm-phone-number resource\n */\nexport const patchAdminCrmPhoneNumbersByIdSetPrimary = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmPhoneNumbersByIdSetPrimaryData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmPhoneNumbersByIdSetPrimaryResponses,\n    PatchAdminCrmPhoneNumbersByIdSetPrimaryErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/phone-numbers/{id}/set-primary\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /voice/transcription-jobs/:id operation on transcription-job resource\n *\n * /voice/transcription-jobs/:id operation on transcription-job resource\n */\nexport const deleteAdminVoiceTranscriptionJobsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminVoiceTranscriptionJobsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminVoiceTranscriptionJobsByIdResponses,\n    DeleteAdminVoiceTranscriptionJobsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/transcription-jobs/{id}\",\n    ...options,\n  });\n\n/**\n * /voice/transcription-jobs/:id operation on transcription-job resource\n *\n * /voice/transcription-jobs/:id operation on transcription-job resource\n */\nexport const getAdminVoiceTranscriptionJobsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminVoiceTranscriptionJobsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceTranscriptionJobsByIdResponses,\n    GetAdminVoiceTranscriptionJobsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/transcription-jobs/{id}\",\n    ...options,\n  });\n\n/**\n * Reads the wallet for the current tenant\n *\n * Reads the wallet for the current tenant\n */\nexport const getAdminWallet = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminWalletData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWalletResponses,\n    GetAdminWalletErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet\",\n    ...options,\n  });\n\n/**\n * Dismiss welcome message - merges with existing preferences\n *\n * Dismiss welcome message - merges with existing preferences\n */\nexport const patchAdminUserProfilesByIdDismissWelcome = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminUserProfilesByIdDismissWelcomeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminUserProfilesByIdDismissWelcomeResponses,\n    PatchAdminUserProfilesByIdDismissWelcomeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/user-profiles/{id}/dismiss-welcome\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get notification log statistics scoped to the caller's application\n *\n * Get notification log statistics scoped to the caller's application. Platform admins and internal callers see platform-wide totals.\n */\nexport const getAdminNotificationLogsStats = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminNotificationLogsStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminNotificationLogsStatsResponses,\n    GetAdminNotificationLogsStatsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-logs/stats\",\n    ...options,\n  });\n\n/**\n * /extraction/batches/:id operation on extraction-batch resource\n *\n * /extraction/batches/:id operation on extraction-batch resource\n */\nexport const deleteAdminExtractionBatchesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminExtractionBatchesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminExtractionBatchesByIdResponses,\n    DeleteAdminExtractionBatchesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/batches/{id}\",\n    ...options,\n  });\n\n/**\n * /extraction/batches/:id operation on extraction-batch resource\n *\n * /extraction/batches/:id operation on extraction-batch resource\n */\nexport const getAdminExtractionBatchesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionBatchesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionBatchesByIdResponses,\n    GetAdminExtractionBatchesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/batches/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch aggregate statistics for the semantic cache (platform admin only)\n *\n * Fetch aggregate statistics for the semantic cache (platform admin only). Returns a single summary record.\n */\nexport const getAdminSysSemanticCacheStats = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSysSemanticCacheStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSysSemanticCacheStatsResponses,\n    GetAdminSysSemanticCacheStatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/sys/semantic-cache/stats\",\n    ...options,\n  });\n\n/**\n * List all price suggestions for a workspace (all statuses)\n *\n * List all price suggestions for a workspace (all statuses). Returns a paginated list.\n */\nexport const getAdminCatalogPriceSuggestionsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogPriceSuggestionsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogPriceSuggestionsWorkspaceByWorkspaceIdResponses,\n    GetAdminCatalogPriceSuggestionsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/price-suggestions/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/meal-plans/:id/restore operation on clinical-meal-plan resource\n *\n * /clinical/meal-plans/:id/restore operation on clinical-meal-plan resource\n */\nexport const patchAdminClinicalMealPlansByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalMealPlansByIdRestoreData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalMealPlansByIdRestoreResponses,\n    PatchAdminClinicalMealPlansByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/meal-plans/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a specific option value (e.g., 'Large', 'Red') within an option type\n *\n * Create a specific option value (e.g., 'Large', 'Red') within an option type. Returns the created option value.\n */\nexport const postAdminCatalogOptionValues = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCatalogOptionValuesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogOptionValuesResponses,\n    PostAdminCatalogOptionValuesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/option-values\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/send-limits/workspace/:workspace_id operation on email-send-limit resource\n *\n * /email/send-limits/workspace/:workspace_id operation on email-send-limit resource\n */\nexport const getAdminEmailSendLimitsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailSendLimitsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailSendLimitsWorkspaceByWorkspaceIdResponses,\n    GetAdminEmailSendLimitsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/send-limits/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /social/posts operation on social-post resource\n *\n * /social/posts operation on social-post resource\n */\nexport const postAdminSocialPosts = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSocialPostsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSocialPostsResponses,\n    PostAdminSocialPostsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/posts\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /form-versions/:id/classify-field operation on form-version resource\n *\n * /form-versions/:id/classify-field operation on form-version resource\n */\nexport const patchAdminFormVersionsByIdClassifyField = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminFormVersionsByIdClassifyFieldData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminFormVersionsByIdClassifyFieldResponses,\n    PatchAdminFormVersionsByIdClassifyFieldErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-versions/{id}/classify-field\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/notes/:id operation on clinical-note resource\n *\n * /clinical/notes/:id operation on clinical-note resource\n */\nexport const getAdminClinicalNotesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminClinicalNotesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNotesByIdResponses,\n    GetAdminClinicalNotesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/notes/:id operation on clinical-note resource\n *\n * /clinical/notes/:id operation on clinical-note resource\n */\nexport const patchAdminClinicalNotesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalNotesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalNotesByIdResponses,\n    PatchAdminClinicalNotesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /applications operation on application resource\n *\n * /applications operation on application resource\n */\nexport const getAdminApplications = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminApplicationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminApplicationsResponses,\n    GetAdminApplicationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications\",\n    ...options,\n  });\n\n/**\n * Register a new ISV application on the platform\n *\n * Register a new ISV application on the platform. Auto-generates a unique slug\n * from name if not provided. Validates enabled_capabilities and their dependency\n * graph. After creation: creates a billing liability account, auto-generates a\n * default sk_app_ API key (returned once in generated_api_key), and creates system\n * email templates for the application. Restricted to platform admins or ISV tenant\n * owners.\n *\n * Returns the application with generated_api_key populated (only available once).\n *\n */\nexport const postAdminApplications = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminApplicationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminApplicationsResponses,\n    PostAdminApplicationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Advance a data subject request through its lifecycle (pending → in_progress → completed / rejected / expired) and record notes or a completion timestamp.\n *\n * Advance a data subject request through its lifecycle (pending → in_progress → completed / rejected / expired) and record notes or a completion timestamp.\n */\nexport const patchAdminDataSubjectRequestsByIdStatus = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminDataSubjectRequestsByIdStatusData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminDataSubjectRequestsByIdStatusResponses,\n    PatchAdminDataSubjectRequestsByIdStatusErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/data-subject-requests/{id}/status\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Soft-delete a product by stamping deleted_at; excluded from all future reads\n *\n * Soft-delete a product by stamping deleted_at; excluded from all future reads. Use update with status :archived to preserve searchability.\n */\nexport const deleteAdminCatalogProductsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCatalogProductsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCatalogProductsByIdResponses,\n    DeleteAdminCatalogProductsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/products/{id}\",\n    ...options,\n  });\n\n/**\n * /catalog/products/:id operation on catalog-product resource\n *\n * /catalog/products/:id operation on catalog-product resource\n */\nexport const getAdminCatalogProductsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCatalogProductsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogProductsByIdResponses,\n    GetAdminCatalogProductsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/products/{id}\",\n    ...options,\n  });\n\n/**\n * Update a product's attributes; triggers search re-indexing and embedding refresh\n *\n * Update a product's attributes; triggers search re-indexing and embedding refresh. Returns the updated product.\n */\nexport const patchAdminCatalogProductsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCatalogProductsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogProductsByIdResponses,\n    PatchAdminCatalogProductsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/products/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Hard-delete a participant from an event\n *\n * Hard-delete a participant from an event. No side effects — reminders for this participant are not automatically cancelled.\n */\nexport const deleteAdminSchedulingParticipantsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSchedulingParticipantsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSchedulingParticipantsByIdResponses,\n    DeleteAdminSchedulingParticipantsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/participants/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single participant by ID\n *\n * Fetch a single participant by ID. Returns RSVP status, role, contact_id, and responded_at timestamp.\n */\nexport const getAdminSchedulingParticipantsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingParticipantsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingParticipantsByIdResponses,\n    GetAdminSchedulingParticipantsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/participants/{id}\",\n    ...options,\n  });\n\n/**\n * Update participant metadata: name, phone, role, or custom metadata\n *\n * Update participant metadata: name, phone, role, or custom metadata. Use :respond to update RSVP status — status cannot be changed via :update.\n */\nexport const patchAdminSchedulingParticipantsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSchedulingParticipantsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingParticipantsByIdResponses,\n    PatchAdminSchedulingParticipantsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/participants/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Close a resolved ticket, ending the ticket lifecycle\n *\n * Close a resolved ticket, ending the ticket lifecycle. Validated by ValidStatusTransition — ticket must be :resolved. No further state transitions are permitted after :closed.\n */\nexport const patchAdminSupportTicketsByIdClose = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSupportTicketsByIdCloseData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSupportTicketsByIdCloseResponses,\n    PatchAdminSupportTicketsByIdCloseErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/tickets/{id}/close\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/sessions operation on clinical-session resource\n *\n * /clinical/sessions operation on clinical-session resource\n */\nexport const getAdminClinicalSessions = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminClinicalSessionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSessionsResponses,\n    GetAdminClinicalSessionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/sessions\",\n    ...options,\n  });\n\n/**\n * /clinical/sessions operation on clinical-session resource\n *\n * /clinical/sessions operation on clinical-session resource\n */\nexport const postAdminClinicalSessions = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminClinicalSessionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalSessionsResponses,\n    PostAdminClinicalSessionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/sessions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Soft-delete a ticket by setting deleted_at\n *\n * Soft-delete a ticket by setting deleted_at. Excluded from standard reads. Enqueues Meilisearch deletion to remove from search index. Messages and attachments are preserved.\n */\nexport const deleteAdminSupportTicketsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSupportTicketsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSupportTicketsByIdResponses,\n    DeleteAdminSupportTicketsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/tickets/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single active ticket by ID\n *\n * Fetch a single active ticket by ID. Excludes soft-deleted tickets.\n */\nexport const getAdminSupportTicketsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSupportTicketsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportTicketsByIdResponses,\n    GetAdminSupportTicketsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/tickets/{id}\",\n    ...options,\n  });\n\n/**\n * Update ticket fields including status (validated by ValidStatusTransition), queue assignment, SLA, and AI classification fields\n *\n * Update ticket fields including status (validated by ValidStatusTransition), queue assignment, SLA, and AI classification fields. Re-indexes in Meilisearch. Use :assign/:resolve/:close/:reopen/:merge for specific lifecycle transitions.\n */\nexport const patchAdminSupportTicketsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSupportTicketsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSupportTicketsByIdResponses,\n    PatchAdminSupportTicketsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/tickets/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /messages operation on chat-message resource\n *\n * /messages operation on chat-message resource\n */\nexport const getAdminMessages = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminMessagesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminMessagesResponses,\n    GetAdminMessagesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/messages\",\n    ...options,\n  });\n\n/**\n * Add a new message turn to a thread\n *\n * Add a new message turn to a thread. Automatically runs PII compliance scan on the content and enqueues an async Oban job to generate a 1024-dim BGE-M3 embedding for semantic search. Use Thread.process_message instead if you want the AI reply in the same call.\n */\nexport const postAdminMessages = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminMessagesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminMessagesResponses,\n    PostAdminMessagesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/messages\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Push an AI-generated clinical note to Practice Better for a linked contact\n *\n * Push an AI-generated clinical note to Practice Better for a linked contact.\n * Requires an active PB connector instance and a contact with an integration_link.\n *\n */\nexport const postAdminConnectorsByIdPracticeBetterPushNote = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsByIdPracticeBetterPushNoteData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsByIdPracticeBetterPushNoteResponses,\n    PostAdminConnectorsByIdPracticeBetterPushNoteErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/{id}/practice-better/push-note\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /access-logs operation on access-log resource\n *\n * /access-logs operation on access-log resource\n */\nexport const getAdminAccessLogs = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAccessLogsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAccessLogsResponses,\n    GetAdminAccessLogsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/access-logs\",\n    ...options,\n  });\n\n/**\n * /clinical/meal-plans/:id/permanent operation on clinical-meal-plan resource\n *\n * /clinical/meal-plans/:id/permanent operation on clinical-meal-plan resource\n */\nexport const deleteAdminClinicalMealPlansByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminClinicalMealPlansByIdPermanentData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalMealPlansByIdPermanentResponses,\n    DeleteAdminClinicalMealPlansByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/meal-plans/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * /feature-definitions/:id operation on feature-definition resource\n *\n * /feature-definitions/:id operation on feature-definition resource\n */\nexport const deleteAdminFeatureDefinitionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminFeatureDefinitionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminFeatureDefinitionsByIdResponses,\n    DeleteAdminFeatureDefinitionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/feature-definitions/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single feature definition by ID.\n *\n * Fetch a single feature definition by ID.\n */\nexport const getAdminFeatureDefinitionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminFeatureDefinitionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFeatureDefinitionsByIdResponses,\n    GetAdminFeatureDefinitionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/feature-definitions/{id}\",\n    ...options,\n  });\n\n/**\n * Update a feature definition's configuration.\n *\n * Update a feature definition's configuration.\n */\nexport const patchAdminFeatureDefinitionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminFeatureDefinitionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminFeatureDefinitionsByIdResponses,\n    PatchAdminFeatureDefinitionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/feature-definitions/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /agent-deployments operation on agent-deployment resource\n *\n * /agent-deployments operation on agent-deployment resource\n */\nexport const getAdminAgentDeployments = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAgentDeploymentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentDeploymentsResponses,\n    GetAdminAgentDeploymentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-deployments\",\n    ...options,\n  });\n\n/**\n * /agent-deployments operation on agent-deployment resource\n *\n * /agent-deployments operation on agent-deployment resource\n */\nexport const postAdminAgentDeployments = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAgentDeploymentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentDeploymentsResponses,\n    PostAdminAgentDeploymentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-deployments\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/websites/:id operation on crm-website resource\n *\n * /crm/websites/:id operation on crm-website resource\n */\nexport const deleteAdminCrmWebsitesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmWebsitesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmWebsitesByIdResponses,\n    DeleteAdminCrmWebsitesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/websites/{id}\",\n    ...options,\n  });\n\n/**\n * /crm/websites/:id operation on crm-website resource\n *\n * /crm/websites/:id operation on crm-website resource\n */\nexport const getAdminCrmWebsitesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCrmWebsitesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmWebsitesByIdResponses,\n    GetAdminCrmWebsitesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/websites/{id}\",\n    ...options,\n  });\n\n/**\n * Update a website record\n *\n * Update a website record. URL is re-validated if changed.\n */\nexport const patchAdminCrmWebsitesById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminCrmWebsitesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmWebsitesByIdResponses,\n    PatchAdminCrmWebsitesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/websites/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/metrics/campaign/:social_campaign_id operation on post-metric resource\n *\n * /social/metrics/campaign/:social_campaign_id operation on post-metric resource\n */\nexport const getAdminSocialMetricsCampaignBySocialCampaignId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSocialMetricsCampaignBySocialCampaignIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialMetricsCampaignBySocialCampaignIdResponses,\n    GetAdminSocialMetricsCampaignBySocialCampaignIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/metrics/campaign/{social_campaign_id}\",\n    ...options,\n  });\n\n/**\n * /voice/transcription-jobs operation on transcription-job resource\n *\n * /voice/transcription-jobs operation on transcription-job resource\n */\nexport const getAdminVoiceTranscriptionJobs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminVoiceTranscriptionJobsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceTranscriptionJobsResponses,\n    GetAdminVoiceTranscriptionJobsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/transcription-jobs\",\n    ...options,\n  });\n\n/**\n * /voice/transcription-jobs operation on transcription-job resource\n *\n * /voice/transcription-jobs operation on transcription-job resource\n */\nexport const postAdminVoiceTranscriptionJobs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminVoiceTranscriptionJobsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminVoiceTranscriptionJobsResponses,\n    PostAdminVoiceTranscriptionJobsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/transcription-jobs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/news-monitors operation on news-monitor resource\n *\n * /crawler/news-monitors operation on news-monitor resource\n */\nexport const getAdminCrawlerNewsMonitors = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrawlerNewsMonitorsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerNewsMonitorsResponses,\n    GetAdminCrawlerNewsMonitorsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/news-monitors\",\n    ...options,\n  });\n\n/**\n * Create a workspace-scoped NewsMonitor.\n *\n * Create a workspace-scoped NewsMonitor.\n */\nexport const postAdminCrawlerNewsMonitors = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCrawlerNewsMonitorsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrawlerNewsMonitorsResponses,\n    PostAdminCrawlerNewsMonitorsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/news-monitors\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create or replace a user preference by context_key\n *\n * Create or replace a user preference by context_key\n */\nexport const postAdminPreferencesUpsert = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminPreferencesUpsertData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPreferencesUpsertResponses,\n    PostAdminPreferencesUpsertErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/preferences/upsert\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /field-templates operation on field-template resource\n *\n * /field-templates operation on field-template resource\n */\nexport const getAdminFieldTemplates = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminFieldTemplatesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFieldTemplatesResponses,\n    GetAdminFieldTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/field-templates\",\n    ...options,\n  });\n\n/**\n * /field-templates operation on field-template resource\n *\n * /field-templates operation on field-template resource\n */\nexport const postAdminFieldTemplates = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminFieldTemplatesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminFieldTemplatesResponses,\n    PostAdminFieldTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/field-templates\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Install a new connector instance in a workspace\n *\n * Install a new connector instance in a workspace. Registers a connector adapter (e.g.,\n * Salesforce, HubSpot, Slack) with its configuration and sync interval. The connector type\n * must match a registered adapter in AdapterRegistry or the action fails. OAuth credentials\n * are stored separately via the Credential resource after completing the OAuth flow.\n *\n * Returns the created connector instance record with health_status: :unknown.\n *\n */\nexport const postAdminConnectors = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminConnectorsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsResponses,\n    PostAdminConnectorsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Remove a product override from a view; the product reverts to standard rule-based inclusion/exclusion on next resolution.\n *\n * Remove a product override from a view; the product reverts to standard rule-based inclusion/exclusion on next resolution.\n */\nexport const deleteAdminCatalogViewOverridesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCatalogViewOverridesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCatalogViewOverridesByIdResponses,\n    DeleteAdminCatalogViewOverridesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/view-overrides/{id}\",\n    ...options,\n  });\n\n/**\n * Update the action (pin/exclude), position, or display overrides for an existing view override\n *\n * Update the action (pin/exclude), position, or display overrides for an existing view override. Returns the updated override.\n */\nexport const patchAdminCatalogViewOverridesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCatalogViewOverridesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogViewOverridesByIdResponses,\n    PatchAdminCatalogViewOverridesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/view-overrides/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /campaigns/sequences/:id operation on email-marketing-sequence resource\n *\n * /campaigns/sequences/:id operation on email-marketing-sequence resource\n */\nexport const deleteAdminCampaignsSequencesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCampaignsSequencesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCampaignsSequencesByIdResponses,\n    DeleteAdminCampaignsSequencesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequences/{id}\",\n    ...options,\n  });\n\n/**\n * /campaigns/sequences/:id operation on email-marketing-sequence resource\n *\n * /campaigns/sequences/:id operation on email-marketing-sequence resource\n */\nexport const getAdminCampaignsSequencesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCampaignsSequencesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCampaignsSequencesByIdResponses,\n    GetAdminCampaignsSequencesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequences/{id}\",\n    ...options,\n  });\n\n/**\n * /campaigns/sequences/:id operation on email-marketing-sequence resource\n *\n * /campaigns/sequences/:id operation on email-marketing-sequence resource\n */\nexport const patchAdminCampaignsSequencesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCampaignsSequencesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCampaignsSequencesByIdResponses,\n    PatchAdminCampaignsSequencesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequences/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Pin or exclude a product in a specific view with optional display overrides (name, description, media)\n *\n * Pin or exclude a product in a specific view with optional display overrides (name, description, media). Returns the created override.\n */\nexport const postAdminCatalogViewOverrides = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCatalogViewOverridesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogViewOverridesResponses,\n    PostAdminCatalogViewOverridesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/view-overrides\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/relationship-types/:id operation on crm-relationship-type resource\n *\n * /crm/relationship-types/:id operation on crm-relationship-type resource\n */\nexport const deleteAdminCrmRelationshipTypesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmRelationshipTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmRelationshipTypesByIdResponses,\n    DeleteAdminCrmRelationshipTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/relationship-types/{id}\",\n    ...options,\n  });\n\n/**\n * /crm/relationship-types/:id operation on crm-relationship-type resource\n *\n * /crm/relationship-types/:id operation on crm-relationship-type resource\n */\nexport const getAdminCrmRelationshipTypesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrmRelationshipTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmRelationshipTypesByIdResponses,\n    GetAdminCrmRelationshipTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/relationship-types/{id}\",\n    ...options,\n  });\n\n/**\n * Update a relationship type's display name, allowed entity types, or properties schema\n *\n * Update a relationship type's display name, allowed entity types, or properties schema. Slug cannot be changed after creation.\n */\nexport const patchAdminCrmRelationshipTypesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmRelationshipTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmRelationshipTypesByIdResponses,\n    PatchAdminCrmRelationshipTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/relationship-types/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Generate text from a prompt, optionally informed by brand identity.\n *\n * Generate text from a prompt, optionally informed by brand identity.\n */\nexport const postAdminContentGenerateText = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminContentGenerateTextData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminContentGenerateTextResponses,\n    PostAdminContentGenerateTextErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/content/generate-text\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/:id/submit-for-approval operation on invoices-invoice resource\n *\n * /invoices/:id/submit-for-approval operation on invoices-invoice resource\n */\nexport const patchAdminInvoicesByIdSubmitForApproval = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesByIdSubmitForApprovalData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesByIdSubmitForApprovalResponses,\n    PatchAdminInvoicesByIdSubmitForApprovalErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}/submit-for-approval\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all feature definitions\n *\n * List all feature definitions. Filterable by application_id.\n */\nexport const getAdminFeatureDefinitions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminFeatureDefinitionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFeatureDefinitionsResponses,\n    GetAdminFeatureDefinitionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/feature-definitions\",\n    ...options,\n  });\n\n/**\n * Create a new ISV-defined feature for an application\n *\n * Create a new ISV-defined feature for an application. Requires application_id\n * (inferred from x-application-key header when not provided).\n *\n */\nexport const postAdminFeatureDefinitions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminFeatureDefinitionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminFeatureDefinitionsResponses,\n    PostAdminFeatureDefinitionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/feature-definitions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/recipe-tags operation on recipes-recipe-tag resource\n *\n * /recipes/recipe-tags operation on recipes-recipe-tag resource\n */\nexport const postAdminRecipesRecipeTags = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminRecipesRecipeTagsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesRecipeTagsResponses,\n    PostAdminRecipesRecipeTagsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/recipe-tags\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/tags operation on recipes-tag resource\n *\n * /recipes/tags operation on recipes-tag resource\n */\nexport const postAdminRecipesTags = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminRecipesTagsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesTagsResponses,\n    PostAdminRecipesTagsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/tags\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/recipients/email/:outbound_email_id operation on email-recipient resource\n *\n * /email/recipients/email/:outbound_email_id operation on email-recipient resource\n */\nexport const getAdminEmailRecipientsEmailByOutboundEmailId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailRecipientsEmailByOutboundEmailIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailRecipientsEmailByOutboundEmailIdResponses,\n    GetAdminEmailRecipientsEmailByOutboundEmailIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/recipients/email/{outbound_email_id}\",\n    ...options,\n  });\n\n/**\n * Permanently delete a price list entry\n *\n * Permanently delete a price list entry. Removes the override — product falls back to base price resolution.\n */\nexport const deleteAdminCatalogPriceListEntriesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCatalogPriceListEntriesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCatalogPriceListEntriesByIdResponses,\n    DeleteAdminCatalogPriceListEntriesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/price-list-entries/{id}\",\n    ...options,\n  });\n\n/**\n * Update the price, modifier, tiers, or floor price for an existing entry\n *\n * Update the price, modifier, tiers, or floor price for an existing entry. Returns the updated entry.\n */\nexport const patchAdminCatalogPriceListEntriesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCatalogPriceListEntriesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogPriceListEntriesByIdResponses,\n    PatchAdminCatalogPriceListEntriesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/price-list-entries/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/social-profiles/:id operation on crm-social-profile resource\n *\n * /crm/social-profiles/:id operation on crm-social-profile resource\n */\nexport const deleteAdminCrmSocialProfilesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmSocialProfilesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmSocialProfilesByIdResponses,\n    DeleteAdminCrmSocialProfilesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/social-profiles/{id}\",\n    ...options,\n  });\n\n/**\n * /crm/social-profiles/:id operation on crm-social-profile resource\n *\n * /crm/social-profiles/:id operation on crm-social-profile resource\n */\nexport const getAdminCrmSocialProfilesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrmSocialProfilesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmSocialProfilesByIdResponses,\n    GetAdminCrmSocialProfilesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/social-profiles/{id}\",\n    ...options,\n  });\n\n/**\n * Update an existing social profile\n *\n * Update an existing social profile. Re-validates URL format if changed.\n */\nexport const patchAdminCrmSocialProfilesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmSocialProfilesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmSocialProfilesByIdResponses,\n    PatchAdminCrmSocialProfilesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/social-profiles/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Exchange OAuth authorization code for credential.\n *\n * Exchange OAuth authorization code for credential.\n */\nexport const postAdminConnectorsOauthCallback = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminConnectorsOauthCallbackData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsOauthCallbackResponses,\n    PostAdminConnectorsOauthCallbackErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/oauth/callback\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a catalog view (named product lens) in a workspace; enforces max_catalog_views quota\n *\n * Create a catalog view (named product lens) in a workspace; enforces max_catalog_views quota. Returns the created view.\n */\nexport const postAdminCatalogViews = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCatalogViewsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogViewsResponses,\n    PostAdminCatalogViewsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/views\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Cancel a booking, recording cancellation_reason and cancelled_by (:booker/:organizer/:system)\n *\n * Cancel a booking, recording cancellation_reason and cancelled_by (:booker/:organizer/:system). Propagates cancellation to the linked Event. Publishes BookingCancelled event.\n */\nexport const patchAdminSchedulingBookingsByIdCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSchedulingBookingsByIdCancelData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingBookingsByIdCancelResponses,\n    PatchAdminSchedulingBookingsByIdCancelErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/bookings/{id}/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /access-grants/:id operation on access-grant resource\n *\n * /access-grants/:id operation on access-grant resource\n */\nexport const deleteAdminAccessGrantsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminAccessGrantsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminAccessGrantsByIdResponses,\n    DeleteAdminAccessGrantsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/access-grants/{id}\",\n    ...options,\n  });\n\n/**\n * /access-grants/:id operation on access-grant resource\n *\n * /access-grants/:id operation on access-grant resource\n */\nexport const getAdminAccessGrantsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAccessGrantsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAccessGrantsByIdResponses,\n    GetAdminAccessGrantsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/access-grants/{id}\",\n    ...options,\n  });\n\n/**\n * /access-grants/:id operation on access-grant resource\n *\n * /access-grants/:id operation on access-grant resource\n */\nexport const patchAdminAccessGrantsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminAccessGrantsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAccessGrantsByIdResponses,\n    PatchAdminAccessGrantsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/access-grants/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/note-templates/catalog/:id operation on clinical-note-template resource\n *\n * /clinical/note-templates/catalog/:id operation on clinical-note-template resource\n */\nexport const getAdminClinicalNoteTemplatesCatalogById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalNoteTemplatesCatalogByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNoteTemplatesCatalogByIdResponses,\n    GetAdminClinicalNoteTemplatesCatalogByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/catalog/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/note-templates/catalog/:id operation on clinical-note-template resource\n *\n * /clinical/note-templates/catalog/:id operation on clinical-note-template resource\n */\nexport const patchAdminClinicalNoteTemplatesCatalogById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalNoteTemplatesCatalogByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalNoteTemplatesCatalogByIdResponses,\n    PatchAdminClinicalNoteTemplatesCatalogByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/catalog/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all agents accessible in the current workspace\n *\n * List all agents accessible in the current workspace. Supports JSON:API filtering by\n * name, vertical, agent_function, input_kind, output_kind, catalog_family, is_system,\n * and tags. Returns paginated results ordered by created_at descending by default.\n *\n * Use this to build agent pickers, dashboards, and discovery UIs. Include the :versions\n * relationship to fetch the active version's prompt template and schema fields alongside\n * the agent record. Agents with is_system: true are platform-provided templates; they\n * cannot be deleted, but can be cloned via the :clone action.\n *\n */\nexport const getAdminAgents = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAgentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentsResponses,\n    GetAdminAgentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents\",\n    ...options,\n  });\n\n/**\n * Create a new agent\n *\n * Create a new agent. Automatically resolves `tenant_id` from the provided `workspace_id`,\n * records an activity event, and creates an initial AgentVersion (v1) with a blank prompt\n * and empty schema via `CreateInitialVersion`.\n *\n * Use `:clone` to create an agent from an existing one's schema, or `:import` to create from\n * exported JSON. System agents (`is_system: true`) require special authorization.\n *\n * Returns the created agent with its initial version available via the `:versions` relationship.\n *\n */\nexport const postAdminAgents = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAgentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentsResponses,\n    PostAdminAgentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/goal-templates/mine operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/mine operation on clinical-goal-template resource\n */\nexport const getAdminClinicalGoalTemplatesMine = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalGoalTemplatesMineData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalTemplatesMineResponses,\n    GetAdminClinicalGoalTemplatesMineErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/mine\",\n    ...options,\n  });\n\n/**\n * List nutrition summaries for a meal schedule\n *\n * List nutrition summaries for a meal schedule\n */\nexport const getAdminRecipesNutritionSummariesMealScheduleByMealScheduleId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesNutritionSummariesMealScheduleByMealScheduleIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesNutritionSummariesMealScheduleByMealScheduleIdResponses,\n    GetAdminRecipesNutritionSummariesMealScheduleByMealScheduleIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/nutrition-summaries/meal-schedule/{meal_schedule_id}\",\n    ...options,\n  });\n\n/**\n * /settlement-statements/:id/mark-reconciled operation on settlement-statement resource\n *\n * /settlement-statements/:id/mark-reconciled operation on settlement-statement resource\n */\nexport const patchAdminSettlementStatementsByIdMarkReconciled = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminSettlementStatementsByIdMarkReconciledData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSettlementStatementsByIdMarkReconciledResponses,\n    PatchAdminSettlementStatementsByIdMarkReconciledErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlement-statements/{id}/mark-reconciled\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /brand-identities/:id operation on brand-identity resource\n *\n * /brand-identities/:id operation on brand-identity resource\n */\nexport const deleteAdminBrandIdentitiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminBrandIdentitiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminBrandIdentitiesByIdResponses,\n    DeleteAdminBrandIdentitiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/brand-identities/{id}\",\n    ...options,\n  });\n\n/**\n * /brand-identities/:id operation on brand-identity resource\n *\n * /brand-identities/:id operation on brand-identity resource\n */\nexport const getAdminBrandIdentitiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminBrandIdentitiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBrandIdentitiesByIdResponses,\n    GetAdminBrandIdentitiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/brand-identities/{id}\",\n    ...options,\n  });\n\n/**\n * /brand-identities/:id operation on brand-identity resource\n *\n * /brand-identities/:id operation on brand-identity resource\n */\nexport const patchAdminBrandIdentitiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminBrandIdentitiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminBrandIdentitiesByIdResponses,\n    PatchAdminBrandIdentitiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/brand-identities/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/goal-templates/catalog/:id/archive operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/catalog/:id/archive operation on clinical-goal-template resource\n */\nexport const patchAdminClinicalGoalTemplatesCatalogByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalGoalTemplatesCatalogByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalGoalTemplatesCatalogByIdArchiveResponses,\n    PatchAdminClinicalGoalTemplatesCatalogByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/catalog/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/inbound/received/address/:inbound_address_id operation on email-inbound-email resource\n *\n * /email/inbound/received/address/:inbound_address_id operation on email-inbound-email resource\n */\nexport const getAdminEmailInboundReceivedAddressByInboundAddressId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailInboundReceivedAddressByInboundAddressIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailInboundReceivedAddressByInboundAddressIdResponses,\n    GetAdminEmailInboundReceivedAddressByInboundAddressIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inbound/received/address/{inbound_address_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/patients/:id/medications operation on clinical-client-medication resource\n *\n * /clinical/patients/:id/medications operation on clinical-client-medication resource\n */\nexport const getAdminClinicalPatientsByIdMedications = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPatientsByIdMedicationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPatientsByIdMedicationsResponses,\n    GetAdminClinicalPatientsByIdMedicationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patients/{id}/medications\",\n    ...options,\n  });\n\n/**\n * List recipes for a workspace, excluding archived\n *\n * List recipes for a workspace, excluding archived\n */\nexport const getAdminRecipesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesWorkspaceByWorkspaceIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesWorkspaceByWorkspaceIdResponses,\n    GetAdminRecipesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/health-metrics/by-session operation on clinical-health-metric resource\n *\n * /clinical/health-metrics/by-session operation on clinical-health-metric resource\n */\nexport const getAdminClinicalHealthMetricsBySession = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalHealthMetricsBySessionData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalHealthMetricsBySessionResponses,\n    GetAdminClinicalHealthMetricsBySessionErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/health-metrics/by-session\",\n    ...options,\n  });\n\n/**\n * Delete an AgentVersion\n *\n * Delete an AgentVersion. Blocked if `usage_count > 0` (the version has been used for\n * extraction) to preserve audit integrity — unless called with `cascade_from_agent: true`\n * in the changeset context (i.e., during agent deletion).\n *\n * Side effects: deletes all associated `AgentVersionRevision` records before destroying the\n * version. Cache invalidation for the persistent_term schema cache is handled asynchronously\n * via the `VersionDestroyed` event consumed by `Extraction.EventHandler`.\n *\n * Returns the deleted version struct.\n *\n */\nexport const deleteAdminAgentVersionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminAgentVersionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminAgentVersionsByIdResponses,\n    DeleteAdminAgentVersionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-versions/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single AgentVersion by ID\n *\n * Fetch a single AgentVersion by ID. Returns all public attributes including schema fields, prompt template, and usage count.\n */\nexport const getAdminAgentVersionsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAgentVersionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentVersionsByIdResponses,\n    GetAdminAgentVersionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-versions/{id}\",\n    ...options,\n  });\n\n/**\n * Update an AgentVersion's prompt template or changes summary\n *\n * Update an AgentVersion's prompt template or changes summary. Automatically increments the\n * `revision` number and creates an `AgentVersionRevision` record via `TrackRevision` when\n * the prompt or schema changes.\n *\n * Also synchronously invalidates the persistent_term schema cache for this version.\n * Use this to edit a draft or active version in-place. Returns the updated version.\n *\n */\nexport const patchAdminAgentVersionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminAgentVersionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAgentVersionsByIdResponses,\n    PatchAdminAgentVersionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-versions/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /ledger/by-account/:account_id operation on ledger resource\n *\n * /ledger/by-account/:account_id operation on ledger resource\n */\nexport const getAdminLedgerByAccountByAccountId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminLedgerByAccountByAccountIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLedgerByAccountByAccountIdResponses,\n    GetAdminLedgerByAccountByAccountIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ledger/by-account/{account_id}\",\n    ...options,\n  });\n\n/**\n * Permanently remove a relationship edge (hard delete)\n *\n * Permanently remove a relationship edge (hard delete). Publishes a RelationshipRemoved event and removes the graph edge from Neo4j.\n */\nexport const deleteAdminCrmRelationshipsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmRelationshipsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmRelationshipsByIdResponses,\n    DeleteAdminCrmRelationshipsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/relationships/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single CRM relationship by ID\n *\n * Fetch a single CRM relationship by ID. Use :list_by_workspace to discover relationships for a workspace.\n */\nexport const getAdminCrmRelationshipsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrmRelationshipsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmRelationshipsByIdResponses,\n    GetAdminCrmRelationshipsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/relationships/{id}\",\n    ...options,\n  });\n\n/**\n * /notification-methods/:id operation on notification-method resource\n *\n * /notification-methods/:id operation on notification-method resource\n */\nexport const deleteAdminNotificationMethodsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminNotificationMethodsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminNotificationMethodsByIdResponses,\n    DeleteAdminNotificationMethodsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-methods/{id}\",\n    ...options,\n  });\n\n/**\n * /notification-methods/:id operation on notification-method resource\n *\n * /notification-methods/:id operation on notification-method resource\n */\nexport const getAdminNotificationMethodsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminNotificationMethodsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminNotificationMethodsByIdResponses,\n    GetAdminNotificationMethodsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-methods/{id}\",\n    ...options,\n  });\n\n/**\n * Update the display name or connection config for an existing notification method\n *\n * Update the display name or connection config for an existing notification method. Use :send_verification and :verify after changing config to re-validate the endpoint.\n */\nexport const patchAdminNotificationMethodsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminNotificationMethodsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminNotificationMethodsByIdResponses,\n    PatchAdminNotificationMethodsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-methods/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a re-engagement campaign for non-engaged recipients\n *\n * Create a re-engagement campaign for non-engaged recipients\n */\nexport const postAdminEmailMarketingCampaignsByIdCreateFollowup = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminEmailMarketingCampaignsByIdCreateFollowupData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailMarketingCampaignsByIdCreateFollowupResponses,\n    PostAdminEmailMarketingCampaignsByIdCreateFollowupErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/campaigns/{id}/create-followup\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all ExtractionResults for a document in reverse-chronological order (newest first)\n *\n * List all ExtractionResults for a document in reverse-chronological order (newest first).\n * Returns the full extraction history — useful when a document has been reprocessed or\n * regenerated multiple times. Hidden system fields are filtered. Paginated: default 20, max 100.\n *\n */\nexport const getAdminExtractionResultsDocumentByDocumentIdHistory = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionResultsDocumentByDocumentIdHistoryData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionResultsDocumentByDocumentIdHistoryResponses,\n    GetAdminExtractionResultsDocumentByDocumentIdHistoryErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/results/document/{document_id}/history\",\n    ...options,\n  });\n\n/**\n * Create or update the channel capture configuration for a workspace (upsert — one config per workspace)\n *\n * Create or update the channel capture configuration for a workspace (upsert — one config per workspace). Controls which channel types create support tickets and the default queue for captured messages. Default (no config): capture disabled.\n */\nexport const postAdminSupportChannelCaptureConfigs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSupportChannelCaptureConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSupportChannelCaptureConfigsResponses,\n    PostAdminSupportChannelCaptureConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/channel-capture-configs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Mark an active file as pending_deletion; the S3 object is deleted by PendingDeletionWorker after the grace period\n *\n * Mark an active file as pending_deletion; the S3 object is deleted by PendingDeletionWorker after the grace period. Use Storage.delete_file/2 for archived files.\n */\nexport const patchAdminStorageFilesByIdSoftDelete = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminStorageFilesByIdSoftDeleteData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminStorageFilesByIdSoftDeleteResponses,\n    PatchAdminStorageFilesByIdSoftDeleteErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-files/{id}/soft-delete\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a new CRM deal and place it in a pipeline stage\n *\n * Create a new CRM deal and place it in a pipeline stage. Validates against\n * workspace deal quota and custom field definitions. Triggers Meilisearch indexing.\n * Returns the created Deal struct.\n *\n */\nexport const postAdminCrmDeals = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrmDealsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmDealsResponses,\n    PostAdminCrmDealsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/deals\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/intake-targets/:id/archive operation on clinical-intake-target resource\n *\n * /clinical/intake-targets/:id/archive operation on clinical-intake-target resource\n */\nexport const patchAdminClinicalIntakeTargetsByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalIntakeTargetsByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalIntakeTargetsByIdArchiveResponses,\n    PatchAdminClinicalIntakeTargetsByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/intake-targets/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all events in a workspace, newest first\n *\n * List all events in a workspace, newest first. Use :list_by_date_range for calendar views bounded by start/end time.\n */\nexport const getAdminSchedulingEvents = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSchedulingEventsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingEventsResponses,\n    GetAdminSchedulingEventsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/events\",\n    ...options,\n  });\n\n/**\n * Create a scheduled event occurrence\n *\n * Create a scheduled event occurrence. Validates for time conflicts via ValidateNoConflict\n * (backed by PostgreSQL exclusion constraint). Auto-schedules reminders via ScheduleReminders.\n * Indexes in Meilisearch. Returns the created Event. Use :reschedule to change the time,\n * :cancel to cancel — do not update start_time/end_time directly via :update.\n *\n */\nexport const postAdminSchedulingEvents = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSchedulingEventsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSchedulingEventsResponses,\n    PostAdminSchedulingEventsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/events\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-resources operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources operation on clinical-practice-resource resource\n */\nexport const getAdminClinicalPracticeResources = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPracticeResourcesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeResourcesResponses,\n    GetAdminClinicalPracticeResourcesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-resources operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources operation on clinical-practice-resource resource\n */\nexport const postAdminClinicalPracticeResources = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalPracticeResourcesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalPracticeResourcesResponses,\n    PostAdminClinicalPracticeResourcesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Accept a pending price suggestion; publishes PriceSuggestionAccepted and PriceChanged events, cascading to update the product's effective price.\n *\n * Accept a pending price suggestion; publishes PriceSuggestionAccepted and PriceChanged events, cascading to update the product's effective price.\n */\nexport const patchAdminCatalogPriceSuggestionsByIdAccept = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminCatalogPriceSuggestionsByIdAcceptData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogPriceSuggestionsByIdAcceptResponses,\n    PatchAdminCatalogPriceSuggestionsByIdAcceptErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/price-suggestions/{id}/accept\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List search analytics with tenant-based filtering\n *\n * List search analytics with tenant-based filtering\n */\nexport const getAdminSearchAnalytics = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSearchAnalyticsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSearchAnalyticsResponses,\n    GetAdminSearchAnalyticsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/analytics\",\n    ...options,\n  });\n\n/**\n * /form-generations/:id operation on form-generation-job resource\n *\n * /form-generations/:id operation on form-generation-job resource\n */\nexport const getAdminFormGenerationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminFormGenerationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFormGenerationsByIdResponses,\n    GetAdminFormGenerationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-generations/{id}\",\n    ...options,\n  });\n\n/**\n * /campaigns/sequences/:id/activate operation on email-marketing-sequence resource\n *\n * /campaigns/sequences/:id/activate operation on email-marketing-sequence resource\n */\nexport const patchAdminCampaignsSequencesByIdActivate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCampaignsSequencesByIdActivateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCampaignsSequencesByIdActivateResponses,\n    PatchAdminCampaignsSequencesByIdActivateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequences/{id}/activate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Sync appointments from Healthie connector to platform\n *\n * Sync appointments from Healthie connector to platform.\n *\n * Creates ClinicalSession records linked to Patients.\n * Returns sync summary with count and errors.\n *\n */\nexport const postAdminConnectorsByIdHealthieAppointmentsSync = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsByIdHealthieAppointmentsSyncData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsByIdHealthieAppointmentsSyncResponses,\n    PostAdminConnectorsByIdHealthieAppointmentsSyncErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/{id}/healthie/appointments/sync\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Aggregate LLM usage and cost statistics optionally filtered by a date range; returns a single summary record.\n *\n * Aggregate LLM usage and cost statistics optionally filtered by a date range; returns a single summary record.\n */\nexport const getAdminLlmAnalyticsSummary = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminLlmAnalyticsSummaryData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLlmAnalyticsSummaryResponses,\n    GetAdminLlmAnalyticsSummaryErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/llm-analytics/summary\",\n    ...options,\n  });\n\n/**\n * List documents that have been trained and not dismissed\n *\n * List documents that have been trained and not dismissed\n */\nexport const getAdminExtractionDocumentsWorkspaceByWorkspaceIdTrained = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedResponses,\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrainedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/workspace/{workspace_id}/trained\",\n    ...options,\n  });\n\n/**\n * Create a personal tenant for an authenticated user who has none (e.g\n *\n * Create a personal tenant for an authenticated user who has none (e.g. joined via invite).\n */\nexport const postAdminTenantsPersonal = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminTenantsPersonalData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTenantsPersonalResponses,\n    PostAdminTenantsPersonalErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/personal\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/:id/mark-overdue operation on invoices-invoice resource\n *\n * /invoices/:id/mark-overdue operation on invoices-invoice resource\n */\nexport const patchAdminInvoicesByIdMarkOverdue = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesByIdMarkOverdueData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesByIdMarkOverdueResponses,\n    PatchAdminInvoicesByIdMarkOverdueErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}/mark-overdue\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/lines operation on invoices-line resource\n *\n * /invoices/lines operation on invoices-line resource\n */\nexport const postAdminInvoicesLines = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminInvoicesLinesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminInvoicesLinesResponses,\n    PostAdminInvoicesLinesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/lines\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-goals operation on clinical-client-goal resource\n *\n * /clinical/client-goals operation on clinical-client-goal resource\n */\nexport const getAdminClinicalClientGoals = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalClientGoalsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalClientGoalsResponses,\n    GetAdminClinicalClientGoalsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-goals\",\n    ...options,\n  });\n\n/**\n * /clinical/client-goals operation on clinical-client-goal resource\n *\n * /clinical/client-goals operation on clinical-client-goal resource\n */\nexport const postAdminClinicalClientGoals = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalClientGoalsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalClientGoalsResponses,\n    PostAdminClinicalClientGoalsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-goals\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /campaigns/sequences/:id/resume operation on email-marketing-sequence resource\n *\n * /campaigns/sequences/:id/resume operation on email-marketing-sequence resource\n */\nexport const patchAdminCampaignsSequencesByIdResume = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCampaignsSequencesByIdResumeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCampaignsSequencesByIdResumeResponses,\n    PatchAdminCampaignsSequencesByIdResumeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequences/{id}/resume\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Configure the auto top-up billing rule for this tenant\n *\n * Configure the auto top-up billing rule for this tenant. When enabled and the\n * tenant's credit balance falls below threshold, the billing system automatically\n * purchases amount credits using the specified credit package. Set enabled: false\n * to disable auto top-up without clearing the other settings.\n *\n */\nexport const patchAdminTenantsByIdAutoTopUp = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminTenantsByIdAutoTopUpData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTenantsByIdAutoTopUpResponses,\n    PatchAdminTenantsByIdAutoTopUpErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}/auto-top-up\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /extraction/analyses/:id operation on extraction-analysis resource\n *\n * /extraction/analyses/:id operation on extraction-analysis resource\n */\nexport const getAdminExtractionAnalysesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionAnalysesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionAnalysesByIdResponses,\n    GetAdminExtractionAnalysesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/analyses/{id}\",\n    ...options,\n  });\n\n/**\n * Create a treatment plan in Fullscript with product recommendations\n *\n * Create a treatment plan in Fullscript with product recommendations\n */\nexport const postAdminConnectorsFullscriptTreatmentPlansCreate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsFullscriptTreatmentPlansCreateData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsFullscriptTreatmentPlansCreateResponses,\n    PostAdminConnectorsFullscriptTreatmentPlansCreateErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/fullscript/treatment-plans/create\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Generate scored hashtags for content.\n *\n * Generate scored hashtags for content.\n */\nexport const postAdminContentGenerateHashtags = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminContentGenerateHashtagsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminContentGenerateHashtagsResponses,\n    PostAdminContentGenerateHashtagsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/content/generate-hashtags\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/note-templates/catalog/:id/restore operation on clinical-note-template resource\n *\n * /clinical/note-templates/catalog/:id/restore operation on clinical-note-template resource\n */\nexport const patchAdminClinicalNoteTemplatesCatalogByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalNoteTemplatesCatalogByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalNoteTemplatesCatalogByIdRestoreResponses,\n    PatchAdminClinicalNoteTemplatesCatalogByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/catalog/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Return aggregated chat statistics for the actor's current workspace: total threads, total messages, activity counts for 24h and 7d windows, and message distribution by role\n *\n * Return aggregated chat statistics for the actor's current workspace: total threads, total messages, activity counts for 24h and 7d windows, and message distribution by role. Uses database-level GROUP BY for efficiency. Returns a single virtual record keyed by workspace_id.\n */\nexport const getAdminThreadsWorkspaceStats = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminThreadsWorkspaceStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminThreadsWorkspaceStatsResponses,\n    GetAdminThreadsWorkspaceStatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/workspace-stats\",\n    ...options,\n  });\n\n/**\n * Preview email template with sample data\n *\n * Preview email template with sample data\n */\nexport const postAdminApplicationsByApplicationIdEmailTemplatesBySlugPreview = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminApplicationsByApplicationIdEmailTemplatesBySlugPreviewData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminApplicationsByApplicationIdEmailTemplatesBySlugPreviewResponses,\n    PostAdminApplicationsByApplicationIdEmailTemplatesBySlugPreviewErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/{application_id}/email-templates/{slug}/preview\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all email addresses for a specific entity (contact or company).\n *\n * List all email addresses for a specific entity (contact or company).\n */\nexport const getAdminCrmEmailAddressesEntityByEntityTypeByEntityId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmEmailAddressesEntityByEntityTypeByEntityIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmEmailAddressesEntityByEntityTypeByEntityIdResponses,\n    GetAdminCrmEmailAddressesEntityByEntityTypeByEntityIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/email-addresses/entity/{entity_type}/{entity_id}\",\n    ...options,\n  });\n\n/**\n * List only the calling user's threads within their current workspace\n *\n * List only the calling user's threads within their current workspace. Use this from the Client API to scope thread listings to the authenticated user.\n */\nexport const getAdminThreadsMine = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminThreadsMineData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminThreadsMineResponses,\n    GetAdminThreadsMineErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/mine\",\n    ...options,\n  });\n\n/**\n * Convert a personal tenant to an organization\n *\n * Convert a personal tenant to an organization. Requires a new name. Provisions a default workspace if none exists.\n */\nexport const patchAdminTenantsByIdConvertToOrg = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminTenantsByIdConvertToOrgData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTenantsByIdConvertToOrgResponses,\n    PatchAdminTenantsByIdConvertToOrgErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}/convert-to-org\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/health-metrics/:id operation on clinical-health-metric resource\n *\n * /clinical/health-metrics/:id operation on clinical-health-metric resource\n */\nexport const getAdminClinicalHealthMetricsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalHealthMetricsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalHealthMetricsByIdResponses,\n    GetAdminClinicalHealthMetricsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/health-metrics/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/health-metrics/:id operation on clinical-health-metric resource\n *\n * /clinical/health-metrics/:id operation on clinical-health-metric resource\n */\nexport const patchAdminClinicalHealthMetricsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalHealthMetricsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalHealthMetricsByIdResponses,\n    PatchAdminClinicalHealthMetricsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/health-metrics/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/addresses/entity/:entity_type/:entity_id operation on crm-address resource\n *\n * /crm/addresses/entity/:entity_type/:entity_id operation on crm-address resource\n */\nexport const getAdminCrmAddressesEntityByEntityTypeByEntityId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmAddressesEntityByEntityTypeByEntityIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmAddressesEntityByEntityTypeByEntityIdResponses,\n    GetAdminCrmAddressesEntityByEntityTypeByEntityIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/addresses/entity/{entity_type}/{entity_id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single feature usage record by ID.\n *\n * Fetch a single feature usage record by ID.\n */\nexport const getAdminFeatureUsagesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminFeatureUsagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFeatureUsagesByIdResponses,\n    GetAdminFeatureUsagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/feature-usages/{id}\",\n    ...options,\n  });\n\n/**\n * /notification-preferences/:id operation on notification-preference resource\n *\n * /notification-preferences/:id operation on notification-preference resource\n */\nexport const deleteAdminNotificationPreferencesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminNotificationPreferencesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminNotificationPreferencesByIdResponses,\n    DeleteAdminNotificationPreferencesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-preferences/{id}\",\n    ...options,\n  });\n\n/**\n * /notification-preferences/:id operation on notification-preference resource\n *\n * /notification-preferences/:id operation on notification-preference resource\n */\nexport const getAdminNotificationPreferencesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminNotificationPreferencesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminNotificationPreferencesByIdResponses,\n    GetAdminNotificationPreferencesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-preferences/{id}\",\n    ...options,\n  });\n\n/**\n * Update a user's notification channel list or per-category preferences\n *\n * Update a user's notification channel list or per-category preferences. Use this when the user opts out of a notification category or adds a new delivery channel.\n */\nexport const patchAdminNotificationPreferencesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminNotificationPreferencesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminNotificationPreferencesByIdResponses,\n    PatchAdminNotificationPreferencesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-preferences/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all calendar sync configurations for a specific user\n *\n * List all calendar sync configurations for a specific user. Used to show the user their connected calendars. Each record represents one external calendar connection.\n */\nexport const getAdminSchedulingCalendarSyncs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingCalendarSyncsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingCalendarSyncsResponses,\n    GetAdminSchedulingCalendarSyncsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/calendar-syncs\",\n    ...options,\n  });\n\n/**\n * Link a user's external calendar for bi-directional sync\n *\n * Link a user's external calendar for bi-directional sync. Requires a connector_id (OAuth credential from Connectors domain). sync_direction controls push/pull/bidirectional behavior. Returns the created CalendarSync with :active status.\n */\nexport const postAdminSchedulingCalendarSyncs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSchedulingCalendarSyncsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSchedulingCalendarSyncsResponses,\n    PostAdminSchedulingCalendarSyncsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/calendar-syncs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Run post-campaign AI analysis with insights and recommendations\n *\n * Run post-campaign AI analysis with insights and recommendations\n */\nexport const postAdminEmailMarketingCampaignsByIdAnalyze = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminEmailMarketingCampaignsByIdAnalyzeData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailMarketingCampaignsByIdAnalyzeResponses,\n    PostAdminEmailMarketingCampaignsByIdAnalyzeErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/campaigns/{id}/analyze\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /reviews/:id/assign operation on review resource\n *\n * /reviews/:id/assign operation on review resource\n */\nexport const patchAdminReviewsByIdAssign = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminReviewsByIdAssignData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminReviewsByIdAssignResponses,\n    PatchAdminReviewsByIdAssignErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/reviews/{id}/assign\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create an instance of a custom entity type\n *\n * Create an instance of a custom entity type. Properties are validated against\n * the parent type's field_definitions. Returns the created CustomEntity struct.\n *\n */\nexport const postAdminCrmCustomEntities = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCrmCustomEntitiesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmCustomEntitiesResponses,\n    PostAdminCrmCustomEntitiesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/custom-entities\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Delete credentials for a connector at a specific scope level\n *\n * Delete credentials for a connector at a specific scope level.\n * Looks up by connector_type + scope_level + workspace_id, then destroys.\n * Returns {:ok, %{deleted: true}} on success.\n *\n */\nexport const postAdminConnectorsCredentialsDeleteByType = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsCredentialsDeleteByTypeData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsCredentialsDeleteByTypeResponses,\n    PostAdminConnectorsCredentialsDeleteByTypeErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/credentials/delete-by-type\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /accounts/:id/credit operation on account resource\n *\n * /accounts/:id/credit operation on account resource\n */\nexport const patchAdminAccountsByIdCredit = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminAccountsByIdCreditData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAccountsByIdCreditResponses,\n    PatchAdminAccountsByIdCreditErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/accounts/{id}/credit\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List non-deleted files whose parent_id matches the given ID\n *\n * List non-deleted files whose parent_id matches the given ID. Use for folder-like hierarchical file trees.\n */\nexport const getAdminStorageFilesChildren = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminStorageFilesChildrenData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminStorageFilesChildrenResponses,\n    GetAdminStorageFilesChildrenErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-files/children\",\n    ...options,\n  });\n\n/**\n * /documents/presigned-upload operation on presigned-url resource\n *\n * /documents/presigned-upload operation on presigned-url resource\n */\nexport const postAdminDocumentsPresignedUpload = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminDocumentsPresignedUploadData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminDocumentsPresignedUploadResponses,\n    PostAdminDocumentsPresignedUploadErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/documents/presigned-upload\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Soft-delete a workspace by setting archived_at to the current timestamp\n *\n * Soft-delete a workspace by setting archived_at to the current timestamp. The\n * workspace record is retained in the database and can be retrieved by passing\n * include_archived: true to read actions. Records a workspace_deleted activity\n * event. Restricted to the tenant owner.\n *\n */\nexport const deleteAdminWorkspacesById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminWorkspacesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminWorkspacesByIdResponses,\n    DeleteAdminWorkspacesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single workspace by its primary key\n *\n * Fetch a single workspace by its primary key. Excludes archived workspaces by default; pass include_archived: true to also fetch archived records.\n */\nexport const getAdminWorkspacesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminWorkspacesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspacesByIdResponses,\n    GetAdminWorkspacesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{id}\",\n    ...options,\n  });\n\n/**\n * Update workspace metadata and settings\n *\n * Update workspace metadata and settings. Validates that deduplication is ready\n * before enabling it (all documents must have file_hash). Also validates unique\n * folder paths within the tenant. Records a workspace_updated activity event.\n * Use :update_storage_settings for a storage-only change (separate policy:\n * storage managers can use that action without full update access).\n *\n */\nexport const patchAdminWorkspacesById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminWorkspacesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWorkspacesByIdResponses,\n    PatchAdminWorkspacesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /reviews/:id operation on review resource\n *\n * /reviews/:id operation on review resource\n */\nexport const getAdminReviewsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminReviewsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminReviewsByIdResponses,\n    GetAdminReviewsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/reviews/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/intake-targets/by-workspace operation on clinical-intake-target resource\n *\n * /clinical/intake-targets/by-workspace operation on clinical-intake-target resource\n */\nexport const getAdminClinicalIntakeTargetsByWorkspace = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalIntakeTargetsByWorkspaceData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalIntakeTargetsByWorkspaceResponses,\n    GetAdminClinicalIntakeTargetsByWorkspaceErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/intake-targets/by-workspace\",\n    ...options,\n  });\n\n/**\n * /invoices/lines/:id operation on invoices-line resource\n *\n * /invoices/lines/:id operation on invoices-line resource\n */\nexport const deleteAdminInvoicesLinesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminInvoicesLinesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminInvoicesLinesByIdResponses,\n    DeleteAdminInvoicesLinesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/lines/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/lines/:id operation on invoices-line resource\n *\n * /invoices/lines/:id operation on invoices-line resource\n */\nexport const getAdminInvoicesLinesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminInvoicesLinesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminInvoicesLinesByIdResponses,\n    GetAdminInvoicesLinesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/lines/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/lines/:id operation on invoices-line resource\n *\n * /invoices/lines/:id operation on invoices-line resource\n */\nexport const patchAdminInvoicesLinesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesLinesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesLinesByIdResponses,\n    PatchAdminInvoicesLinesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/lines/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/:id/re-enrich operation on recipes-recipe resource\n *\n * /recipes/:id/re-enrich operation on recipes-recipe resource\n */\nexport const patchAdminRecipesByIdReEnrich = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRecipesByIdReEnrichData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesByIdReEnrichResponses,\n    PatchAdminRecipesByIdReEnrichErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/{id}/re-enrich\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /isv/crm/entity-types/:id operation on crm-custom-entity-type resource\n *\n * /isv/crm/entity-types/:id operation on crm-custom-entity-type resource\n */\nexport const deleteAdminIsvCrmEntityTypesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminIsvCrmEntityTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminIsvCrmEntityTypesByIdResponses,\n    DeleteAdminIsvCrmEntityTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv/crm/entity-types/{id}\",\n    ...options,\n  });\n\n/**\n * /isv/crm/entity-types/:id operation on crm-custom-entity-type resource\n *\n * /isv/crm/entity-types/:id operation on crm-custom-entity-type resource\n */\nexport const getAdminIsvCrmEntityTypesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminIsvCrmEntityTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminIsvCrmEntityTypesByIdResponses,\n    GetAdminIsvCrmEntityTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv/crm/entity-types/{id}\",\n    ...options,\n  });\n\n/**\n * Update a custom entity type's display name, field schema, or capability flags\n *\n * Update a custom entity type's display name, field schema, or capability flags. Slug cannot be changed after creation.\n */\nexport const patchAdminIsvCrmEntityTypesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminIsvCrmEntityTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminIsvCrmEntityTypesByIdResponses,\n    PatchAdminIsvCrmEntityTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv/crm/entity-types/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /review-queues operation on review-queue resource\n *\n * /review-queues operation on review-queue resource\n */\nexport const getAdminReviewQueues = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminReviewQueuesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminReviewQueuesResponses,\n    GetAdminReviewQueuesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/review-queues\",\n    ...options,\n  });\n\n/**\n * /review-queues operation on review-queue resource\n *\n * /review-queues operation on review-queue resource\n */\nexport const postAdminReviewQueues = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminReviewQueuesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminReviewQueuesResponses,\n    PostAdminReviewQueuesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/review-queues\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get training analytics for a specific workspace\n *\n * Get training analytics for a specific workspace\n */\nexport const getAdminWorkspacesByWorkspaceIdTrainingAnalytics = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsResponses,\n    GetAdminWorkspacesByWorkspaceIdTrainingAnalyticsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{workspace_id}/training/analytics\",\n    ...options,\n  });\n\n/**\n * /recipes/meal-schedules operation on recipes-meal-schedule resource\n *\n * /recipes/meal-schedules operation on recipes-meal-schedule resource\n */\nexport const postAdminRecipesMealSchedules = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminRecipesMealSchedulesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesMealSchedulesResponses,\n    PostAdminRecipesMealSchedulesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/meal-schedules\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/meal-plans/by-patient operation on clinical-meal-plan resource\n *\n * /clinical/meal-plans/by-patient operation on clinical-meal-plan resource\n */\nexport const getAdminClinicalMealPlansByPatient = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalMealPlansByPatientData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalMealPlansByPatientResponses,\n    GetAdminClinicalMealPlansByPatientErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/meal-plans/by-patient\",\n    ...options,\n  });\n\n/**\n * /campaigns/sequence-steps operation on email-marketing-sequence-step resource\n *\n * /campaigns/sequence-steps operation on email-marketing-sequence-step resource\n */\nexport const postAdminCampaignsSequenceSteps = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCampaignsSequenceStepsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCampaignsSequenceStepsResponses,\n    PostAdminCampaignsSequenceStepsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequence-steps\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Paginate Entity vertices for the caller's tenant; returns up to 50 nodes per page by default.\n *\n * Paginate Entity vertices for the caller's tenant; returns up to 50 nodes per page by default.\n */\nexport const getAdminAiGraphNodes = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAiGraphNodesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAiGraphNodesResponses,\n    GetAdminAiGraphNodesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/graph/nodes\",\n    ...options,\n  });\n\n/**\n * Create an Entity vertex in the knowledge graph; tenant_id is always forced from the actor and cannot be supplied by the caller\n *\n * Create an Entity vertex in the knowledge graph; tenant_id is always forced from the actor and cannot be supplied by the caller. Returns the created node.\n */\nexport const postAdminAiGraphNodes = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAiGraphNodesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAiGraphNodesResponses,\n    PostAdminAiGraphNodesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/graph/nodes\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/generated-emails/:id/reject operation on email-marketing-generated-email resource\n *\n * /email-marketing/generated-emails/:id/reject operation on email-marketing-generated-email resource\n */\nexport const patchAdminEmailMarketingGeneratedEmailsByIdReject = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailMarketingGeneratedEmailsByIdRejectData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingGeneratedEmailsByIdRejectResponses,\n    PatchAdminEmailMarketingGeneratedEmailsByIdRejectErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/generated-emails/{id}/reject\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all stages for a specific pipeline, ordered by position.\n *\n * List all stages for a specific pipeline, ordered by position.\n */\nexport const getAdminCrmPipelineStagesPipelineByPipelineId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmPipelineStagesPipelineByPipelineIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmPipelineStagesPipelineByPipelineIdResponses,\n    GetAdminCrmPipelineStagesPipelineByPipelineIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/pipeline-stages/pipeline/{pipeline_id}\",\n    ...options,\n  });\n\n/**\n * Resend confirmation email to an unconfirmed user\n *\n * Resend confirmation email to an unconfirmed user\n */\nexport const postAdminUsersAuthResendConfirmation = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminUsersAuthResendConfirmationData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminUsersAuthResendConfirmationResponses,\n    PostAdminUsersAuthResendConfirmationErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/auth/resend-confirmation\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /training-sessions/agents/:agent_id/sessions operation on training-session resource\n *\n * /training-sessions/agents/:agent_id/sessions operation on training-session resource\n */\nexport const getAdminTrainingSessionsAgentsByAgentIdSessions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminTrainingSessionsAgentsByAgentIdSessionsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminTrainingSessionsAgentsByAgentIdSessionsResponses,\n    GetAdminTrainingSessionsAgentsByAgentIdSessionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-sessions/agents/{agent_id}/sessions\",\n    ...options,\n  });\n\n/**\n * Cancel a processing document\n *\n * Cancel a processing document\n */\nexport const patchAdminExtractionDocumentsByIdCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminExtractionDocumentsByIdCancelData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionDocumentsByIdCancelResponses,\n    PatchAdminExtractionDocumentsByIdCancelErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /tenant-pricing-overrides operation on tenant-pricing-override resource\n *\n * /tenant-pricing-overrides operation on tenant-pricing-override resource\n */\nexport const getAdminTenantPricingOverrides = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminTenantPricingOverridesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTenantPricingOverridesResponses,\n    GetAdminTenantPricingOverridesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenant-pricing-overrides\",\n    ...options,\n  });\n\n/**\n * /tenant-pricing-overrides operation on tenant-pricing-override resource\n *\n * /tenant-pricing-overrides operation on tenant-pricing-override resource\n */\nexport const postAdminTenantPricingOverrides = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminTenantPricingOverridesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTenantPricingOverridesResponses,\n    PostAdminTenantPricingOverridesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenant-pricing-overrides\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Return the current status and tenant context for the search indexes\n *\n * Return the current status and tenant context for the search indexes. Use :health for Meilisearch server health and latency.\n */\nexport const getAdminSearchStatus = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSearchStatusData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSearchStatusResponses,\n    GetAdminSearchStatusErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/status\",\n    ...options,\n  });\n\n/**\n * Run an agent version against a document and return the test result\n *\n * Run an agent version against a document and return the test result\n */\nexport const postAdminAgentTestResults = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAgentTestResultsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentTestResultsResponses,\n    PostAdminAgentTestResultsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-test-results\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Clears published_at — template reverts to draft state.\n *\n * Clears published_at — template reverts to draft state.\n */\nexport const patchAdminEmailMarketingTemplatesByIdUnpublish = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailMarketingTemplatesByIdUnpublishData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingTemplatesByIdUnpublishResponses,\n    PatchAdminEmailMarketingTemplatesByIdUnpublishErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/templates/{id}/unpublish\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/documents/:id operation on clinical-document resource\n *\n * /clinical/documents/:id operation on clinical-document resource\n */\nexport const deleteAdminClinicalDocumentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminClinicalDocumentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalDocumentsByIdResponses,\n    DeleteAdminClinicalDocumentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/documents/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/documents/:id operation on clinical-document resource\n *\n * /clinical/documents/:id operation on clinical-document resource\n */\nexport const getAdminClinicalDocumentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalDocumentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalDocumentsByIdResponses,\n    GetAdminClinicalDocumentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/documents/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/documents/:id operation on clinical-document resource\n *\n * /clinical/documents/:id operation on clinical-document resource\n */\nexport const patchAdminClinicalDocumentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalDocumentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalDocumentsByIdResponses,\n    PatchAdminClinicalDocumentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/documents/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Mark artifact as sent and publish BreachNotificationReadyToSend event for Communication domain dispatch.\n *\n * Mark artifact as sent and publish BreachNotificationReadyToSend event for Communication domain dispatch.\n */\nexport const patchAdminBreachNotificationArtifactsByIdSend = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminBreachNotificationArtifactsByIdSendData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminBreachNotificationArtifactsByIdSendResponses,\n    PatchAdminBreachNotificationArtifactsByIdSendErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/breach-notification-artifacts/{id}/send\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a website record for a contact or company\n *\n * Create a website record for a contact or company. URL must be a valid http/https URL.\n */\nexport const postAdminCrmWebsites = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrmWebsitesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmWebsitesResponses,\n    PostAdminCrmWebsitesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/websites\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Replay historical events to this webhook\n *\n * Replay historical events to this webhook\n */\nexport const postAdminWebhookConfigsByIdReplay = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminWebhookConfigsByIdReplayData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminWebhookConfigsByIdReplayResponses,\n    PostAdminWebhookConfigsByIdReplayErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-configs/{id}/replay\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /claimed-domains/:id operation on claimed-domain resource\n *\n * /claimed-domains/:id operation on claimed-domain resource\n */\nexport const deleteAdminClaimedDomainsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminClaimedDomainsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClaimedDomainsByIdResponses,\n    DeleteAdminClaimedDomainsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/claimed-domains/{id}\",\n    ...options,\n  });\n\n/**\n * /claimed-domains/:id operation on claimed-domain resource\n *\n * /claimed-domains/:id operation on claimed-domain resource\n */\nexport const getAdminClaimedDomainsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClaimedDomainsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClaimedDomainsByIdResponses,\n    GetAdminClaimedDomainsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/claimed-domains/{id}\",\n    ...options,\n  });\n\n/**\n * /claimed-domains/:id operation on claimed-domain resource\n *\n * /claimed-domains/:id operation on claimed-domain resource\n */\nexport const patchAdminClaimedDomainsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClaimedDomainsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClaimedDomainsByIdResponses,\n    PatchAdminClaimedDomainsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/claimed-domains/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get the currently authenticated user\n *\n * Get the currently authenticated user\n */\nexport const getAdminUsersMe = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUsersMeData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUsersMeResponses,\n    GetAdminUsersMeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/me\",\n    ...options,\n  });\n\n/**\n * /invoices/:id/dispute operation on invoices-invoice resource\n *\n * /invoices/:id/dispute operation on invoices-invoice resource\n */\nexport const patchAdminInvoicesByIdDispute = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesByIdDisputeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesByIdDisputeResponses,\n    PatchAdminInvoicesByIdDisputeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}/dispute\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/posts/:id/schedule operation on social-post resource\n *\n * /social/posts/:id/schedule operation on social-post resource\n */\nexport const patchAdminSocialPostsByIdSchedule = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSocialPostsByIdScheduleData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialPostsByIdScheduleResponses,\n    PatchAdminSocialPostsByIdScheduleErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/posts/{id}/schedule\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/browser-sessions/:id operation on browser-session resource\n *\n * /crawler/browser-sessions/:id operation on browser-session resource\n */\nexport const deleteAdminCrawlerBrowserSessionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrawlerBrowserSessionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrawlerBrowserSessionsByIdResponses,\n    DeleteAdminCrawlerBrowserSessionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/browser-sessions/{id}\",\n    ...options,\n  });\n\n/**\n * /crawler/browser-sessions/:id operation on browser-session resource\n *\n * /crawler/browser-sessions/:id operation on browser-session resource\n */\nexport const getAdminCrawlerBrowserSessionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrawlerBrowserSessionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerBrowserSessionsByIdResponses,\n    GetAdminCrawlerBrowserSessionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/browser-sessions/{id}\",\n    ...options,\n  });\n\n/**\n * /social/accounts/:id/disable-posting operation on social-account resource\n *\n * /social/accounts/:id/disable-posting operation on social-account resource\n */\nexport const patchAdminSocialAccountsByIdDisablePosting = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminSocialAccountsByIdDisablePostingData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialAccountsByIdDisablePostingResponses,\n    PatchAdminSocialAccountsByIdDisablePostingErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/accounts/{id}/disable-posting\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Accept a pending classification suggestion; publishes ClassificationAccepted event and increments taxonomy node product_count.\n *\n * Accept a pending classification suggestion; publishes ClassificationAccepted event and increments taxonomy node product_count.\n */\nexport const patchAdminCatalogClassificationSuggestionsByIdAccept = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminCatalogClassificationSuggestionsByIdAcceptData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogClassificationSuggestionsByIdAcceptResponses,\n    PatchAdminCatalogClassificationSuggestionsByIdAcceptErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/classification-suggestions/{id}/accept\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Set or remove credit budget for this API key\n *\n * Set or remove credit budget for this API key\n */\nexport const patchAdminApiKeysByIdSetBudget = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminApiKeysByIdSetBudgetData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminApiKeysByIdSetBudgetResponses,\n    PatchAdminApiKeysByIdSetBudgetErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/api-keys/{id}/set-budget\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create an application-scoped support queue\n *\n * Create an application-scoped support queue. ai_mode controls automation behavior (:ai_first, :human_first, :ai_only). Assign sla_policy_id for SLA tracking. Name is unique per application.\n */\nexport const postAdminSupportQueues = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSupportQueuesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSupportQueuesResponses,\n    PostAdminSupportQueuesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/queues\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/schedules/:id operation on crawler-schedule resource\n *\n * /crawler/schedules/:id operation on crawler-schedule resource\n */\nexport const deleteAdminCrawlerSchedulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrawlerSchedulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrawlerSchedulesByIdResponses,\n    DeleteAdminCrawlerSchedulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/schedules/{id}\",\n    ...options,\n  });\n\n/**\n * /crawler/schedules/:id operation on crawler-schedule resource\n *\n * /crawler/schedules/:id operation on crawler-schedule resource\n */\nexport const getAdminCrawlerSchedulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrawlerSchedulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerSchedulesByIdResponses,\n    GetAdminCrawlerSchedulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/schedules/{id}\",\n    ...options,\n  });\n\n/**\n * Update schedule configuration, URL, frequency, or notification settings\n *\n * Update schedule configuration, URL, frequency, or notification settings. Returns the updated schedule.\n */\nexport const patchAdminCrawlerSchedulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrawlerSchedulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrawlerSchedulesByIdResponses,\n    PatchAdminCrawlerSchedulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/schedules/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /extraction/analyses operation on extraction-analysis resource\n *\n * /extraction/analyses operation on extraction-analysis resource\n */\nexport const getAdminExtractionAnalyses = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionAnalysesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionAnalysesResponses,\n    GetAdminExtractionAnalysesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/analyses\",\n    ...options,\n  });\n\n/**\n * Workspaces where user has membership but NOT tenant membership (shared from external orgs)\n *\n * Workspaces where user has membership but NOT tenant membership (shared from external orgs)\n */\nexport const getAdminWorkspacesShared = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminWorkspacesSharedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspacesSharedResponses,\n    GetAdminWorkspacesSharedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/shared\",\n    ...options,\n  });\n\n/**\n * List all revisions for a specific AgentVersion, sorted by revision number descending\n *\n * List all revisions for a specific AgentVersion, sorted by revision number descending.\n * Revisions capture incremental prompt and field-description changes within a schema version.\n * Authorization is checked manually inside the action via `Ash.get` with `authorize?: true`.\n *\n * Returns a JSON:API-shaped map `%{data: [%{id, type, attributes: {...}}]}`.\n *\n */\nexport const getAdminAgentVersionsByIdRevisions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAgentVersionsByIdRevisionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentVersionsByIdRevisionsResponses,\n    GetAdminAgentVersionsByIdRevisionsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-versions/{id}/revisions\",\n    ...options,\n  });\n\n/**\n * /access-logs/:id operation on access-log resource\n *\n * /access-logs/:id operation on access-log resource\n */\nexport const getAdminAccessLogsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAccessLogsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAccessLogsByIdResponses,\n    GetAdminAccessLogsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/access-logs/{id}\",\n    ...options,\n  });\n\n/**\n * /email-marketing/templates/:id/archive operation on email-marketing-template resource\n *\n * /email-marketing/templates/:id/archive operation on email-marketing-template resource\n */\nexport const patchAdminEmailMarketingTemplatesByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailMarketingTemplatesByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingTemplatesByIdArchiveResponses,\n    PatchAdminEmailMarketingTemplatesByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/templates/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Move an event to a new time slot\n *\n * Move an event to a new time slot. Validates for conflicts via ValidateNoConflict. Preserves old times in metadata. Cancels existing reminders and schedules new ones. Publishes EventRescheduled event.\n */\nexport const patchAdminSchedulingEventsByIdReschedule = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSchedulingEventsByIdRescheduleData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingEventsByIdRescheduleResponses,\n    PatchAdminSchedulingEventsByIdRescheduleErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/events/{id}/reschedule\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * CFO modeling for a plan bundle\n *\n * CFO modeling for a plan bundle. Computes per-tier expected wholesale\n * spend, retail revenue, blended margin, and sensitivity bands (20%/50%\n * upside + downside on cost basis and usage variance) without persisting\n * anything. Safe to call repeatedly.\n *\n * Phase 1 skeleton: returns a placeholder response. Real behavior lands in\n * Phase 3.\n *\n */\nexport const postAdminPlanBundlesPreviewEconomics = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminPlanBundlesPreviewEconomicsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPlanBundlesPreviewEconomicsResponses,\n    PostAdminPlanBundlesPreviewEconomicsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plan-bundles/preview-economics\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /meetings/:id operation on meeting resource\n *\n * /meetings/:id operation on meeting resource\n */\nexport const deleteAdminMeetingsById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminMeetingsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminMeetingsByIdResponses,\n    DeleteAdminMeetingsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/meetings/{id}\",\n    ...options,\n  });\n\n/**\n * /meetings/:id operation on meeting resource\n *\n * /meetings/:id operation on meeting resource\n */\nexport const getAdminMeetingsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminMeetingsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminMeetingsByIdResponses,\n    GetAdminMeetingsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/meetings/{id}\",\n    ...options,\n  });\n\n/**\n * /meetings/:id operation on meeting resource\n *\n * /meetings/:id operation on meeting resource\n */\nexport const patchAdminMeetingsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminMeetingsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminMeetingsByIdResponses,\n    PatchAdminMeetingsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/meetings/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List usage events for a tenant within a date range, intended for summary/dashboard views\n *\n * List usage events for a tenant within a date range, intended for summary/dashboard views.\n * Returns all matching events — client-side aggregation by operation_type is expected.\n * Use for summary dashboards and cost attribution reports.\n *\n */\nexport const getAdminUsageEventsSummary = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminUsageEventsSummaryData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUsageEventsSummaryResponses,\n    GetAdminUsageEventsSummaryErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/usage-events/summary\",\n    ...options,\n  });\n\n/**\n * /message-feedback operation on chat-message-feedback resource\n *\n * /message-feedback operation on chat-message-feedback resource\n */\nexport const getAdminMessageFeedback = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminMessageFeedbackData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminMessageFeedbackResponses,\n    GetAdminMessageFeedbackErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/message-feedback\",\n    ...options,\n  });\n\n/**\n * Submit or update thumbs up/down feedback on a message\n *\n * Submit or update thumbs up/down feedback on a message. Uses upsert — one feedback per message per workspace (identity :message_unique). Returns the created or updated MessageFeedback.\n */\nexport const postAdminMessageFeedback = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminMessageFeedbackData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminMessageFeedbackResponses,\n    PostAdminMessageFeedbackErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/message-feedback\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Execute an action on an external connector\n *\n * Execute an action on an external connector\n */\nexport const postAdminConnectorsByIdSync = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminConnectorsByIdSyncData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsByIdSyncResponses,\n    PostAdminConnectorsByIdSyncErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/{id}/sync\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/note-templates/from-existing operation on clinical-note-template resource\n *\n * /clinical/note-templates/from-existing operation on clinical-note-template resource\n */\nexport const postAdminClinicalNoteTemplatesFromExisting = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminClinicalNoteTemplatesFromExistingData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalNoteTemplatesFromExistingResponses,\n    PostAdminClinicalNoteTemplatesFromExistingErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/from-existing\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/posts/scheduled operation on social-post resource\n *\n * /social/posts/scheduled operation on social-post resource\n */\nexport const getAdminSocialPostsScheduled = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSocialPostsScheduledData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialPostsScheduledResponses,\n    GetAdminSocialPostsScheduledErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/posts/scheduled\",\n    ...options,\n  });\n\n/**\n * Enable multiple webhook configs by ID in a single call\n *\n * Enable multiple webhook configs by ID in a single call. Only configs the actor is authorized to update are affected; returns `{success: true, count: N}` indicating how many were enabled.\n */\nexport const postAdminWebhookConfigsBulkEnable = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminWebhookConfigsBulkEnableData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminWebhookConfigsBulkEnableResponses,\n    PostAdminWebhookConfigsBulkEnableErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-configs/bulk-enable\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Workspace-scoped throughput metrics and bucketed counts for the requested\n * window\n *\n * Workspace-scoped throughput metrics and bucketed counts for the requested\n * window. Wraps GptCore.Extraction.dashboard_doc_summary_for_workspaces/2\n * for metrics and computes completed-document buckets inline.\n *\n */\nexport const getAdminExtractionDocumentsWorkspaceThroughput = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionDocumentsWorkspaceThroughputData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionDocumentsWorkspaceThroughputResponses,\n    GetAdminExtractionDocumentsWorkspaceThroughputErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/workspace-throughput\",\n    ...options,\n  });\n\n/**\n * Get prioritized review queue for active learning\n *\n * Get prioritized review queue for active learning\n */\nexport const getAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueResponses,\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueueErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/workspace/{workspace_id}/review-queue\",\n    ...options,\n  });\n\n/**\n * /brand-identities operation on brand-identity resource\n *\n * /brand-identities operation on brand-identity resource\n */\nexport const getAdminBrandIdentities = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminBrandIdentitiesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBrandIdentitiesResponses,\n    GetAdminBrandIdentitiesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/brand-identities\",\n    ...options,\n  });\n\n/**\n * /brand-identities operation on brand-identity resource\n *\n * /brand-identities operation on brand-identity resource\n */\nexport const postAdminBrandIdentities = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminBrandIdentitiesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminBrandIdentitiesResponses,\n    PostAdminBrandIdentitiesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/brand-identities\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/goal-associations/:id operation on clinical-goal-association resource\n *\n * /clinical/goal-associations/:id operation on clinical-goal-association resource\n */\nexport const deleteAdminClinicalGoalAssociationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminClinicalGoalAssociationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalGoalAssociationsByIdResponses,\n    DeleteAdminClinicalGoalAssociationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-associations/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-associations/:id operation on clinical-goal-association resource\n *\n * /clinical/goal-associations/:id operation on clinical-goal-association resource\n */\nexport const getAdminClinicalGoalAssociationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalGoalAssociationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalAssociationsByIdResponses,\n    GetAdminClinicalGoalAssociationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-associations/{id}\",\n    ...options,\n  });\n\n/**\n * List all stock locations in a workspace\n *\n * List all stock locations in a workspace. Returns a paginated list including virtual locations.\n */\nexport const getAdminCatalogStockLocationsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogStockLocationsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogStockLocationsWorkspaceByWorkspaceIdResponses,\n    GetAdminCatalogStockLocationsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/stock-locations/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * List all tags defined for a workspace\n *\n * List all tags defined for a workspace. Use to populate tag pickers in ticket management UIs.\n */\nexport const getAdminSupportTagsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSupportTagsWorkspaceByWorkspaceIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportTagsWorkspaceByWorkspaceIdResponses,\n    GetAdminSupportTagsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/tags/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /data-subject-requests operation on data-subject-request resource\n *\n * /data-subject-requests operation on data-subject-request resource\n */\nexport const getAdminDataSubjectRequests = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminDataSubjectRequestsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminDataSubjectRequestsResponses,\n    GetAdminDataSubjectRequestsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/data-subject-requests\",\n    ...options,\n  });\n\n/**\n * Open a new GDPR/CCPA data subject request (access, erasure, portability, rectification, or restriction)\n *\n * Open a new GDPR/CCPA data subject request (access, erasure, portability, rectification, or restriction). Automatically sets a 30-day response `deadline` from the current time. A DataSubjectRequestWorker Oban job is responsible for processing the request.\n */\nexport const postAdminDataSubjectRequests = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminDataSubjectRequestsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminDataSubjectRequestsResponses,\n    PostAdminDataSubjectRequestsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/data-subject-requests\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Rewrite text in a different tone.\n *\n * Rewrite text in a different tone.\n */\nexport const postAdminContentRewriteTone = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminContentRewriteToneData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminContentRewriteToneResponses,\n    PostAdminContentRewriteToneErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/content/rewrite-tone\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /transfers operation on transfer resource\n *\n * /transfers operation on transfer resource\n */\nexport const getAdminTransfers = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminTransfersData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTransfersResponses,\n    GetAdminTransfersErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/transfers\",\n    ...options,\n  });\n\n/**\n * List all entries in a price list\n *\n * List all entries in a price list. Returns a paginated list of product/variant overrides.\n */\nexport const getAdminCatalogPriceListEntriesPriceListByPriceListId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogPriceListEntriesPriceListByPriceListIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogPriceListEntriesPriceListByPriceListIdResponses,\n    GetAdminCatalogPriceListEntriesPriceListByPriceListIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/price-list-entries/price-list/{price_list_id}\",\n    ...options,\n  });\n\n/**\n * Register a file attachment on a ticket message\n *\n * Register a file attachment on a ticket message. The file must already be uploaded via the Storage domain — storage_path is the GCS object path returned by the upload. Returns the created TicketAttachment with filename and size.\n */\nexport const postAdminSupportTicketAttachments = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSupportTicketAttachmentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSupportTicketAttachmentsResponses,\n    PostAdminSupportTicketAttachmentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/ticket-attachments\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List patients from Healthie connector\n *\n * List patients from Healthie connector.\n *\n * Returns array of Healthie patient records with optional date filter.\n * Requires active Healthie connector instance with OAuth credential.\n *\n */\nexport const postAdminConnectorsByIdHealthiePatientsList = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsByIdHealthiePatientsListData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsByIdHealthiePatientsListResponses,\n    PostAdminConnectorsByIdHealthiePatientsListErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/{id}/healthie/patients/list\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Clone a system agent for workspace-specific customization\n *\n * Clone a system agent for workspace-specific customization\n */\nexport const postAdminAgentsCloneForWorkspace = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminAgentsCloneForWorkspaceData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentsCloneForWorkspaceResponses,\n    PostAdminAgentsCloneForWorkspaceErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/clone-for-workspace\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Advance a breach incident through its lifecycle (identified → investigating → notifying → resolved / false_positive) and record officer notification and remediation notes.\n *\n * Advance a breach incident through its lifecycle (identified → investigating → notifying → resolved / false_positive) and record officer notification and remediation notes.\n */\nexport const patchAdminBreachIncidentsByIdStatus = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminBreachIncidentsByIdStatusData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminBreachIncidentsByIdStatusResponses,\n    PatchAdminBreachIncidentsByIdStatusErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/breach-incidents/{id}/status\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /business-associate-agreements operation on business-associate-agreement resource\n *\n * /business-associate-agreements operation on business-associate-agreement resource\n */\nexport const getAdminBusinessAssociateAgreements = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminBusinessAssociateAgreementsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBusinessAssociateAgreementsResponses,\n    GetAdminBusinessAssociateAgreementsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/business-associate-agreements\",\n    ...options,\n  });\n\n/**\n * /business-associate-agreements operation on business-associate-agreement resource\n *\n * /business-associate-agreements operation on business-associate-agreement resource\n */\nexport const postAdminBusinessAssociateAgreements = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminBusinessAssociateAgreementsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminBusinessAssociateAgreementsResponses,\n    PostAdminBusinessAssociateAgreementsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/business-associate-agreements\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-goals/:id/permanent operation on clinical-client-goal resource\n *\n * /clinical/client-goals/:id/permanent operation on clinical-client-goal resource\n */\nexport const deleteAdminClinicalClientGoalsByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalClientGoalsByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalClientGoalsByIdPermanentResponses,\n    DeleteAdminClinicalClientGoalsByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-goals/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * /workspace-form-configs operation on workspace-form-config resource\n *\n * /workspace-form-configs operation on workspace-form-config resource\n */\nexport const getAdminWorkspaceFormConfigs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWorkspaceFormConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspaceFormConfigsResponses,\n    GetAdminWorkspaceFormConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-form-configs\",\n    ...options,\n  });\n\n/**\n * /workspace-form-configs operation on workspace-form-config resource\n *\n * /workspace-form-configs operation on workspace-form-config resource\n */\nexport const postAdminWorkspaceFormConfigs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminWorkspaceFormConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminWorkspaceFormConfigsResponses,\n    PostAdminWorkspaceFormConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-form-configs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List recipes contributed by a specific contact\n *\n * List recipes contributed by a specific contact\n */\nexport const getAdminRecipesWorkspaceByWorkspaceIdContactByContactId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesWorkspaceByWorkspaceIdContactByContactIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesWorkspaceByWorkspaceIdContactByContactIdResponses,\n    GetAdminRecipesWorkspaceByWorkspaceIdContactByContactIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/workspace/{workspace_id}/contact/{contact_id}\",\n    ...options,\n  });\n\n/**\n * Permanently delete an option type and all its values; cascades to variant_option_values\n *\n * Permanently delete an option type and all its values; cascades to variant_option_values. Use with caution.\n */\nexport const deleteAdminCatalogOptionTypesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCatalogOptionTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCatalogOptionTypesByIdResponses,\n    DeleteAdminCatalogOptionTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/option-types/{id}\",\n    ...options,\n  });\n\n/**\n * /catalog/option-types/:id operation on catalog-option-type resource\n *\n * /catalog/option-types/:id operation on catalog-option-type resource\n */\nexport const getAdminCatalogOptionTypesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCatalogOptionTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogOptionTypesByIdResponses,\n    GetAdminCatalogOptionTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/option-types/{id}\",\n    ...options,\n  });\n\n/**\n * Update the name, slug, or display position of an option type\n *\n * Update the name, slug, or display position of an option type. Returns the updated option type.\n */\nexport const patchAdminCatalogOptionTypesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCatalogOptionTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogOptionTypesByIdResponses,\n    PatchAdminCatalogOptionTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/option-types/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Allocate credits to the tenant's liability account\n *\n * Allocate credits to the tenant's liability account\n */\nexport const postAdminTenantsByIdCredit = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminTenantsByIdCreditData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTenantsByIdCreditResponses,\n    PostAdminTenantsByIdCreditErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}/credit\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/rules/:id/deactivate operation on invoices-rule resource\n *\n * /invoices/rules/:id/deactivate operation on invoices-rule resource\n */\nexport const patchAdminInvoicesRulesByIdDeactivate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesRulesByIdDeactivateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesRulesByIdDeactivateResponses,\n    PatchAdminInvoicesRulesByIdDeactivateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/rules/{id}/deactivate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /extraction/chunk-entity-links/chunk/:document_chunk_id operation on chunk-entity-link resource\n *\n * /extraction/chunk-entity-links/chunk/:document_chunk_id operation on chunk-entity-link resource\n */\nexport const getAdminExtractionChunkEntityLinksChunkByDocumentChunkId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionChunkEntityLinksChunkByDocumentChunkIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionChunkEntityLinksChunkByDocumentChunkIdResponses,\n    GetAdminExtractionChunkEntityLinksChunkByDocumentChunkIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/chunk-entity-links/chunk/{document_chunk_id}\",\n    ...options,\n  });\n\n/**\n * Reverse an exclusion: allow a previously excluded document to contribute training examples\n * again\n *\n * Reverse an exclusion: allow a previously excluded document to contribute training examples\n * again. Clears `excluded_from_training`, `excluded_at`, `excluded_by`, and\n * `training_metadata` so the document appears in normal training queries.\n *\n * Side effects: synchronously clears the `document_excluded` flag on all associated\n * `TrainingExample` records, making them eligible for semantic search and few-shot selection.\n *\n * This action is also registered under the `/restore` route as a semantic alias.\n *\n */\nexport const patchAdminExtractionDocumentsByIdInclude = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminExtractionDocumentsByIdIncludeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionDocumentsByIdIncludeResponses,\n    PatchAdminExtractionDocumentsByIdIncludeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}/include\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /customers/:id operation on customer resource\n *\n * /customers/:id operation on customer resource\n */\nexport const deleteAdminCustomersById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminCustomersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCustomersByIdResponses,\n    DeleteAdminCustomersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/customers/{id}\",\n    ...options,\n  });\n\n/**\n * /customers/:id operation on customer resource\n *\n * /customers/:id operation on customer resource\n */\nexport const getAdminCustomersById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCustomersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCustomersByIdResponses,\n    GetAdminCustomersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/customers/{id}\",\n    ...options,\n  });\n\n/**\n * /customers/:id operation on customer resource\n *\n * /customers/:id operation on customer resource\n */\nexport const patchAdminCustomersById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminCustomersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCustomersByIdResponses,\n    PatchAdminCustomersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/customers/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List active (non-deleted) documents in a workspace, sorted by creation date\n *\n * List active (non-deleted) documents in a workspace, sorted by creation date.\n * Optionally filters to a specific batch via `batch_id`. Use this instead of the primary `:read`\n * action when the workspace is known — it applies the workspace and soft-delete filters together.\n *\n */\nexport const getAdminExtractionDocumentsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdResponses,\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/note-templates/:id operation on clinical-note-template resource\n *\n * /clinical/note-templates/:id operation on clinical-note-template resource\n */\nexport const getAdminClinicalNoteTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalNoteTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNoteTemplatesByIdResponses,\n    GetAdminClinicalNoteTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/note-templates/:id operation on clinical-note-template resource\n *\n * /clinical/note-templates/:id operation on clinical-note-template resource\n */\nexport const patchAdminClinicalNoteTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalNoteTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalNoteTemplatesByIdResponses,\n    PatchAdminClinicalNoteTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/deal-products/:id operation on crm-deal-product resource\n *\n * /crm/deal-products/:id operation on crm-deal-product resource\n */\nexport const deleteAdminCrmDealProductsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmDealProductsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmDealProductsByIdResponses,\n    DeleteAdminCrmDealProductsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/deal-products/{id}\",\n    ...options,\n  });\n\n/**\n * /crm/deal-products/:id operation on crm-deal-product resource\n *\n * /crm/deal-products/:id operation on crm-deal-product resource\n */\nexport const getAdminCrmDealProductsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrmDealProductsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmDealProductsByIdResponses,\n    GetAdminCrmDealProductsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/deal-products/{id}\",\n    ...options,\n  });\n\n/**\n * Add a filter rule to a catalog view; rules in the same group are AND'd, multiple groups are OR'd\n *\n * Add a filter rule to a catalog view; rules in the same group are AND'd, multiple groups are OR'd. Returns the created rule.\n */\nexport const postAdminCatalogViewRules = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCatalogViewRulesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogViewRulesResponses,\n    PostAdminCatalogViewRulesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/view-rules\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Owner hides a tenant from their account\n *\n * Owner hides a tenant from their account. Billing and data are unaffected. Reversible via :reactivate.\n */\nexport const patchAdminTenantsByIdDeactivate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminTenantsByIdDeactivateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTenantsByIdDeactivateResponses,\n    PatchAdminTenantsByIdDeactivateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}/deactivate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Permanently delete an agent and cascade-destroy all associated data\n *\n * Permanently delete an agent and cascade-destroy all associated data. Deletes in order:\n * TrainingExamples, TrainingSessions, AgentVersions (which cascade to revisions). Extraction\n * results linked to the agent are cleaned up asynchronously via ON DELETE CASCADE on `agent_id`;\n * extraction documents have their `agent_id` set to NULL and are NOT deleted.\n *\n * This is an irreversible hard delete. Returns the deleted agent struct.\n *\n */\nexport const deleteAdminAgentsById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminAgentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminAgentsByIdResponses,\n    DeleteAdminAgentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single agent by ID\n *\n * Fetch a single agent by ID. Use this for the JSON:API GET route; prefer the primary `:read` for list queries.\n */\nexport const getAdminAgentsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAgentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentsByIdResponses,\n    GetAdminAgentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}\",\n    ...options,\n  });\n\n/**\n * Update agent metadata such as name, description, vertical, tags, and instructions\n *\n * Update agent metadata such as name, description, vertical, tags, and instructions.\n * Does NOT update the schema (fields) or prompt/runtime settings — those live on AgentVersion. Use\n * `:update_schema_version` to modify the active version's schema or prompt.\n *\n * Side effects: records an `:agent_updated` activity event.\n *\n * Returns the updated agent struct.\n *\n */\nexport const patchAdminAgentsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminAgentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAgentsByIdResponses,\n    PatchAdminAgentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Set workspace status to :active (bring live)\n *\n * Set workspace status to :active (bring live)\n */\nexport const patchAdminWorkspacesByIdGoLive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWorkspacesByIdGoLiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWorkspacesByIdGoLiveResponses,\n    PatchAdminWorkspacesByIdGoLiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{id}/go-live\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/templates operation on invoices-template resource\n *\n * /invoices/templates operation on invoices-template resource\n */\nexport const postAdminInvoicesTemplates = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminInvoicesTemplatesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminInvoicesTemplatesResponses,\n    PostAdminInvoicesTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/templates\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /form-deployments operation on form-deployment resource\n *\n * /form-deployments operation on form-deployment resource\n */\nexport const getAdminFormDeployments = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminFormDeploymentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFormDeploymentsResponses,\n    GetAdminFormDeploymentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-deployments\",\n    ...options,\n  });\n\n/**\n * /form-deployments operation on form-deployment resource\n *\n * /form-deployments operation on form-deployment resource\n */\nexport const postAdminFormDeployments = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminFormDeploymentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminFormDeploymentsResponses,\n    PostAdminFormDeploymentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-deployments\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /settlements operation on settlement resource\n *\n * /settlements operation on settlement resource\n */\nexport const getAdminSettlements = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSettlementsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSettlementsResponses,\n    GetAdminSettlementsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlements\",\n    ...options,\n  });\n\n/**\n * /settlements operation on settlement resource\n *\n * /settlements operation on settlement resource\n */\nexport const postAdminSettlements = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSettlementsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSettlementsResponses,\n    PostAdminSettlementsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlements\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /review-queues/:id operation on review-queue resource\n *\n * /review-queues/:id operation on review-queue resource\n */\nexport const deleteAdminReviewQueuesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminReviewQueuesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminReviewQueuesByIdResponses,\n    DeleteAdminReviewQueuesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/review-queues/{id}\",\n    ...options,\n  });\n\n/**\n * /review-queues/:id operation on review-queue resource\n *\n * /review-queues/:id operation on review-queue resource\n */\nexport const getAdminReviewQueuesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminReviewQueuesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminReviewQueuesByIdResponses,\n    GetAdminReviewQueuesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/review-queues/{id}\",\n    ...options,\n  });\n\n/**\n * /review-queues/:id operation on review-queue resource\n *\n * /review-queues/:id operation on review-queue resource\n */\nexport const patchAdminReviewQueuesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminReviewQueuesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminReviewQueuesByIdResponses,\n    PatchAdminReviewQueuesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/review-queues/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/trending/watches/:id/mark-triggered operation on trending-watch resource\n *\n * /social/trending/watches/:id/mark-triggered operation on trending-watch resource\n */\nexport const patchAdminSocialTrendingWatchesByIdMarkTriggered = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminSocialTrendingWatchesByIdMarkTriggeredData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialTrendingWatchesByIdMarkTriggeredResponses,\n    PatchAdminSocialTrendingWatchesByIdMarkTriggeredErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/trending/watches/{id}/mark-triggered\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/inclusions/email/:outbound_email_id operation on email-inclusion resource\n *\n * /email/inclusions/email/:outbound_email_id operation on email-inclusion resource\n */\nexport const getAdminEmailInclusionsEmailByOutboundEmailId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailInclusionsEmailByOutboundEmailIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailInclusionsEmailByOutboundEmailIdResponses,\n    GetAdminEmailInclusionsEmailByOutboundEmailIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inclusions/email/{outbound_email_id}\",\n    ...options,\n  });\n\n/**\n * /connectors/credentials/:id operation on credential resource\n *\n * /connectors/credentials/:id operation on credential resource\n */\nexport const getAdminConnectorsCredentialsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminConnectorsCredentialsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminConnectorsCredentialsByIdResponses,\n    GetAdminConnectorsCredentialsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/credentials/{id}\",\n    ...options,\n  });\n\n/**\n * /pipeline-executions/:id/note operation on pipeline-execution resource\n *\n * /pipeline-executions/:id/note operation on pipeline-execution resource\n */\nexport const patchAdminPipelineExecutionsByIdNote = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPipelineExecutionsByIdNoteData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPipelineExecutionsByIdNoteResponses,\n    PatchAdminPipelineExecutionsByIdNoteErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-executions/{id}/note\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a new extraction batch to group related documents\n *\n * Create a new extraction batch to group related documents. After creating a batch, use\n * `:generate_upload_urls` to get presigned S3 PUT URLs for each file, then upload files\n * directly from the client and call `Document.begin_upload`/`finish_upload` with the\n * returned `batch_id` to associate documents.\n *\n * Returns the created batch with `status: :processing` (no documents yet, so all aggregates\n * are zero and calculated status resolves to `:completed` until documents are added).\n *\n */\nexport const postAdminExtractionBatches = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminExtractionBatchesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminExtractionBatchesResponses,\n    PostAdminExtractionBatchesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/batches\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Refine text based on freeform instructions.\n *\n * Refine text based on freeform instructions.\n */\nexport const postAdminContentRefine = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminContentRefineData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminContentRefineResponses,\n    PostAdminContentRefineErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/content/refine\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /compliance-officer-designations/:id/revoke operation on compliance-officer-designation resource\n *\n * /compliance-officer-designations/:id/revoke operation on compliance-officer-designation resource\n */\nexport const patchAdminComplianceOfficerDesignationsByIdRevoke = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminComplianceOfficerDesignationsByIdRevokeData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminComplianceOfficerDesignationsByIdRevokeResponses,\n    PatchAdminComplianceOfficerDesignationsByIdRevokeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-officer-designations/{id}/revoke\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Clinician approves a draft or unreviewed goal\n *\n * Clinician approves a draft or unreviewed goal. Sets review_status: :approved.\n */\nexport const patchAdminClinicalClientGoalsByIdApprove = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalClientGoalsByIdApproveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientGoalsByIdApproveResponses,\n    PatchAdminClinicalClientGoalsByIdApproveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-goals/{id}/approve\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Re-extract document with current or specified schema version\n *\n * Re-extract document with current or specified schema version\n */\nexport const patchAdminExtractionDocumentsByIdReprocess = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminExtractionDocumentsByIdReprocessData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionDocumentsByIdReprocessResponses,\n    PatchAdminExtractionDocumentsByIdReprocessErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}/reprocess\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-resources/categories/catalog operation on clinical-practice-resource-category resource\n *\n * /clinical/practice-resources/categories/catalog operation on clinical-practice-resource-category resource\n */\nexport const getAdminClinicalPracticeResourcesCategoriesCatalog = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalPracticeResourcesCategoriesCatalogData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeResourcesCategoriesCatalogResponses,\n    GetAdminClinicalPracticeResourcesCategoriesCatalogErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/categories/catalog\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-templates/archived operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/archived operation on clinical-goal-template resource\n */\nexport const getAdminClinicalGoalTemplatesArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalGoalTemplatesArchivedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalTemplatesArchivedResponses,\n    GetAdminClinicalGoalTemplatesArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/archived\",\n    ...options,\n  });\n\n/**\n * /compliance-officer-designations operation on compliance-officer-designation resource\n *\n * /compliance-officer-designations operation on compliance-officer-designation resource\n */\nexport const getAdminComplianceOfficerDesignations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminComplianceOfficerDesignationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminComplianceOfficerDesignationsResponses,\n    GetAdminComplianceOfficerDesignationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-officer-designations\",\n    ...options,\n  });\n\n/**\n * /compliance-officer-designations operation on compliance-officer-designation resource\n *\n * /compliance-officer-designations operation on compliance-officer-designation resource\n */\nexport const postAdminComplianceOfficerDesignations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminComplianceOfficerDesignationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminComplianceOfficerDesignationsResponses,\n    PostAdminComplianceOfficerDesignationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-officer-designations\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /workspace-agent-configs/:id operation on workspace-agent-config resource\n *\n * /workspace-agent-configs/:id operation on workspace-agent-config resource\n */\nexport const deleteAdminWorkspaceAgentConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminWorkspaceAgentConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminWorkspaceAgentConfigsByIdResponses,\n    DeleteAdminWorkspaceAgentConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-agent-configs/{id}\",\n    ...options,\n  });\n\n/**\n * /workspace-agent-configs/:id operation on workspace-agent-config resource\n *\n * /workspace-agent-configs/:id operation on workspace-agent-config resource\n */\nexport const getAdminWorkspaceAgentConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWorkspaceAgentConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspaceAgentConfigsByIdResponses,\n    GetAdminWorkspaceAgentConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-agent-configs/{id}\",\n    ...options,\n  });\n\n/**\n * /workspace-agent-configs/:id operation on workspace-agent-config resource\n *\n * /workspace-agent-configs/:id operation on workspace-agent-config resource\n */\nexport const patchAdminWorkspaceAgentConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWorkspaceAgentConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWorkspaceAgentConfigsByIdResponses,\n    PatchAdminWorkspaceAgentConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-agent-configs/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a CRM sync configuration for a workspace+connector pair\n *\n * Create a CRM sync configuration for a workspace+connector pair. One config per\n * workspace+connector_instance_id. When absent, sync runs with default settings\n * (enabled, no PII scan, no auto-create contacts).\n *\n */\nexport const postAdminCrmSyncConfigs = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrmSyncConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmSyncConfigsResponses,\n    PostAdminCrmSyncConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/sync-configs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /claimed-domains/:id/verify operation on claimed-domain resource\n *\n * /claimed-domains/:id/verify operation on claimed-domain resource\n */\nexport const patchAdminClaimedDomainsByIdVerify = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClaimedDomainsByIdVerifyData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClaimedDomainsByIdVerifyResponses,\n    PatchAdminClaimedDomainsByIdVerifyErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/claimed-domains/{id}/verify\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /reviews/:id/claim operation on review resource\n *\n * /reviews/:id/claim operation on review resource\n */\nexport const patchAdminReviewsByIdClaim = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminReviewsByIdClaimData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminReviewsByIdClaimResponses,\n    PatchAdminReviewsByIdClaimErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/reviews/{id}/claim\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /storage-recommendations/:id/dismiss operation on storage-recommendation resource\n *\n * /storage-recommendations/:id/dismiss operation on storage-recommendation resource\n */\nexport const patchAdminStorageRecommendationsByIdDismiss = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminStorageRecommendationsByIdDismissData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminStorageRecommendationsByIdDismissResponses,\n    PatchAdminStorageRecommendationsByIdDismissErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-recommendations/{id}/dismiss\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List active tickets for a workspace, optionally filtered by status, priority, queue, or agent\n *\n * List active tickets for a workspace, optionally filtered by status, priority, queue, or agent. Excludes soft-deleted tickets. Use for queue dashboards and agent ticket lists.\n */\nexport const getAdminSupportTicketsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSupportTicketsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportTicketsWorkspaceByWorkspaceIdResponses,\n    GetAdminSupportTicketsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/tickets/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Export agent configuration and training examples\n *\n * Export agent configuration and training examples\n */\nexport const postAdminAgentsByIdExport = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAgentsByIdExportData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentsByIdExportResponses,\n    PostAdminAgentsByIdExportErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/export\",\n    ...options,\n  });\n\n/**\n * /settlements/:id/mark-calculated operation on settlement resource\n *\n * /settlements/:id/mark-calculated operation on settlement resource\n */\nexport const patchAdminSettlementsByIdMarkCalculated = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSettlementsByIdMarkCalculatedData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSettlementsByIdMarkCalculatedResponses,\n    PatchAdminSettlementsByIdMarkCalculatedErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlements/{id}/mark-calculated\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/metrics/post/:social_post_id operation on post-metric resource\n *\n * /social/metrics/post/:social_post_id operation on post-metric resource\n */\nexport const getAdminSocialMetricsPostBySocialPostId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSocialMetricsPostBySocialPostIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialMetricsPostBySocialPostIdResponses,\n    GetAdminSocialMetricsPostBySocialPostIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/metrics/post/{social_post_id}\",\n    ...options,\n  });\n\n/**\n * /search/saved/:id operation on saved-search resource\n *\n * /search/saved/:id operation on saved-search resource\n */\nexport const deleteAdminSearchSavedById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSearchSavedByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSearchSavedByIdResponses,\n    DeleteAdminSearchSavedByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/saved/{id}\",\n    ...options,\n  });\n\n/**\n * Modify the name, query string, search type, filters, or sharing status of an existing saved search\n *\n * Modify the name, query string, search type, filters, or sharing status of an existing saved search. Only the owning user can update their own saved searches. Validates the filters map for allowed keys (document_types, date_from, date_to, workspace_ids, tags). Returns the updated SavedSearch.\n */\nexport const patchAdminSearchSavedById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminSearchSavedByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSearchSavedByIdResponses,\n    PatchAdminSearchSavedByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/saved/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Suggest content topics based on industry and audience.\n *\n * Suggest content topics based on industry and audience.\n */\nexport const postAdminContentSuggestTopics = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminContentSuggestTopicsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminContentSuggestTopicsResponses,\n    PostAdminContentSuggestTopicsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/content/suggest-topics\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /pipeline-executions/:id operation on pipeline-execution resource\n *\n * /pipeline-executions/:id operation on pipeline-execution resource\n */\nexport const getAdminPipelineExecutionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPipelineExecutionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPipelineExecutionsByIdResponses,\n    GetAdminPipelineExecutionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-executions/{id}\",\n    ...options,\n  });\n\n/**\n * Allocates promotional credits to a specific tenant on behalf of the application\n *\n * Allocates promotional credits to a specific tenant on behalf of the application\n */\nexport const patchAdminApplicationsByIdGrantCredits = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminApplicationsByIdGrantCreditsData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminApplicationsByIdGrantCreditsResponses,\n    PatchAdminApplicationsByIdGrantCreditsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/{id}/grant-credits\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Transition a pending_upload file to active after the client has uploaded to the presigned URL; optionally stamps size_bytes and checksum.\n *\n * Transition a pending_upload file to active after the client has uploaded to the presigned URL; optionally stamps size_bytes and checksum.\n */\nexport const patchAdminStorageFilesByIdConfirmUpload = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminStorageFilesByIdConfirmUploadData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminStorageFilesByIdConfirmUploadResponses,\n    PatchAdminStorageFilesByIdConfirmUploadErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-files/{id}/confirm-upload\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /transfers/:id operation on transfer resource\n *\n * /transfers/:id operation on transfer resource\n */\nexport const getAdminTransfersById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminTransfersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTransfersByIdResponses,\n    GetAdminTransfersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/transfers/{id}\",\n    ...options,\n  });\n\n/**\n * /form-versions/:id/protection-class operation on form-version resource\n *\n * /form-versions/:id/protection-class operation on form-version resource\n */\nexport const getAdminFormVersionsByIdProtectionClass = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminFormVersionsByIdProtectionClassData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFormVersionsByIdProtectionClassResponses,\n    GetAdminFormVersionsByIdProtectionClassErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-versions/{id}/protection-class\",\n    ...options,\n  });\n\n/**\n * /platform-pricing-configs operation on platform-pricing-config resource\n *\n * /platform-pricing-configs operation on platform-pricing-config resource\n */\nexport const getAdminPlatformPricingConfigs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPlatformPricingConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPlatformPricingConfigsResponses,\n    GetAdminPlatformPricingConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/platform-pricing-configs\",\n    ...options,\n  });\n\n/**\n * /platform-pricing-configs operation on platform-pricing-config resource\n *\n * /platform-pricing-configs operation on platform-pricing-config resource\n */\nexport const postAdminPlatformPricingConfigs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminPlatformPricingConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPlatformPricingConfigsResponses,\n    PostAdminPlatformPricingConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/platform-pricing-configs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/goal-templates/catalog operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/catalog operation on clinical-goal-template resource\n */\nexport const getAdminClinicalGoalTemplatesCatalog = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalGoalTemplatesCatalogData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalTemplatesCatalogResponses,\n    GetAdminClinicalGoalTemplatesCatalogErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/catalog\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-templates/catalog operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/catalog operation on clinical-goal-template resource\n */\nexport const postAdminClinicalGoalTemplatesCatalog = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalGoalTemplatesCatalogData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalGoalTemplatesCatalogResponses,\n    PostAdminClinicalGoalTemplatesCatalogErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/catalog\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /policy-review-schedules/:id/complete-review operation on policy-review-schedule resource\n *\n * /policy-review-schedules/:id/complete-review operation on policy-review-schedule resource\n */\nexport const patchAdminPolicyReviewSchedulesByIdCompleteReview = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminPolicyReviewSchedulesByIdCompleteReviewData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPolicyReviewSchedulesByIdCompleteReviewResponses,\n    PatchAdminPolicyReviewSchedulesByIdCompleteReviewErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/policy-review-schedules/{id}/complete-review\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Cancel an active add-on subscription on the wallet\n *\n * Cancel an active add-on subscription on the wallet. Cancellation takes effect\n * immediately — the add-on is removed from the active add-ons list on return.\n * Any remaining credits associated with the add-on are not refunded.\n *\n * Use :buy_addon to purchase or top up an add-on. Returns the updated wallet\n * with the cancelled add-on removed from the addons list.\n *\n */\nexport const patchAdminWalletAddonsByAddonSlugCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWalletAddonsByAddonSlugCancelData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWalletAddonsByAddonSlugCancelResponses,\n    PatchAdminWalletAddonsByAddonSlugCancelErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/addons/{addon_slug}/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /campaigns/sequences/workspace/:workspace_id operation on email-marketing-sequence resource\n *\n * /campaigns/sequences/workspace/:workspace_id operation on email-marketing-sequence resource\n */\nexport const getAdminCampaignsSequencesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCampaignsSequencesWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCampaignsSequencesWorkspaceByWorkspaceIdResponses,\n    GetAdminCampaignsSequencesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequences/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /email/inbound-addresses operation on email-inbound-address resource\n *\n * /email/inbound-addresses operation on email-inbound-address resource\n */\nexport const postAdminEmailInboundAddresses = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminEmailInboundAddressesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailInboundAddressesResponses,\n    PostAdminEmailInboundAddressesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inbound-addresses\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch a single event by ID\n *\n * Fetch a single event by ID. Returns full event with location embed, recurrence data, and organizer info.\n */\nexport const getAdminSchedulingEventsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingEventsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingEventsByIdResponses,\n    GetAdminSchedulingEventsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/events/{id}\",\n    ...options,\n  });\n\n/**\n * Update event metadata: title, description, timezone, location, notes, or custom metadata\n *\n * Update event metadata: title, description, timezone, location, notes, or custom metadata. Does not change time — use :reschedule for that. Re-indexes in Meilisearch.\n */\nexport const patchAdminSchedulingEventsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSchedulingEventsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingEventsByIdResponses,\n    PatchAdminSchedulingEventsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/events/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Manually trigger a scheduled crawl immediately.\n *\n * Manually trigger a scheduled crawl immediately.\n */\nexport const patchAdminCrawlerSchedulesByIdTrigger = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrawlerSchedulesByIdTriggerData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrawlerSchedulesByIdTriggerResponses,\n    PatchAdminCrawlerSchedulesByIdTriggerErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/schedules/{id}/trigger\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List LLM analytics records sorted by created_at descending; scoped to the caller's tenant.\n *\n * List LLM analytics records sorted by created_at descending; scoped to the caller's tenant.\n */\nexport const getAdminLlmAnalytics = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminLlmAnalyticsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLlmAnalyticsResponses,\n    GetAdminLlmAnalyticsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/llm-analytics\",\n    ...options,\n  });\n\n/**\n * Append a single LLM call analytics record (model, tokens, latency, cost); called by the billing/analytics pipeline after each LLM invocation\n *\n * Append a single LLM call analytics record (model, tokens, latency, cost); called by the billing/analytics pipeline after each LLM invocation. Returns the created record.\n */\nexport const postAdminLlmAnalytics = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminLlmAnalyticsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminLlmAnalyticsResponses,\n    PostAdminLlmAnalyticsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/llm-analytics\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List tags for an application\n *\n * List tags for an application\n */\nexport const getAdminRecipesTagsApplicationByApplicationId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesTagsApplicationByApplicationIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesTagsApplicationByApplicationIdResponses,\n    GetAdminRecipesTagsApplicationByApplicationIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/tags/application/{application_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-tools/catalog/:id operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/catalog/:id operation on clinical-practice-tool resource\n */\nexport const getAdminClinicalPracticeToolsCatalogById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPracticeToolsCatalogByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeToolsCatalogByIdResponses,\n    GetAdminClinicalPracticeToolsCatalogByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/catalog/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-tools/catalog/:id operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/catalog/:id operation on clinical-practice-tool resource\n */\nexport const patchAdminClinicalPracticeToolsCatalogById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalPracticeToolsCatalogByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPracticeToolsCatalogByIdResponses,\n    PatchAdminClinicalPracticeToolsCatalogByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/catalog/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a taxonomy node (category) at the given position in the tree; validates hierarchy depth\n *\n * Create a taxonomy node (category) at the given position in the tree; validates hierarchy depth. Returns the created node.\n */\nexport const postAdminCatalogTaxonomyNodes = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCatalogTaxonomyNodesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogTaxonomyNodesResponses,\n    PostAdminCatalogTaxonomyNodesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/taxonomy-nodes\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List events that include a specific participant by email, scoped to the workspace\n *\n * List events that include a specific participant by email, scoped to the workspace. Use to show a contact's meeting history.\n */\nexport const getAdminSchedulingEventsByParticipant = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingEventsByParticipantData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingEventsByParticipantResponses,\n    GetAdminSchedulingEventsByParticipantErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/events/by_participant\",\n    ...options,\n  });\n\n/**\n * /settlements/:id operation on settlement resource\n *\n * /settlements/:id operation on settlement resource\n */\nexport const getAdminSettlementsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSettlementsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSettlementsByIdResponses,\n    GetAdminSettlementsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlements/{id}\",\n    ...options,\n  });\n\n/**\n * /settlements/:id operation on settlement resource\n *\n * /settlements/:id operation on settlement resource\n */\nexport const patchAdminSettlementsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminSettlementsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSettlementsByIdResponses,\n    PatchAdminSettlementsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlements/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Restore the agent to a previously used version by activating it\n *\n * Restore the agent to a previously used version by activating it. This deactivates the\n * currently active version and sets the target version as active. Use this to roll back after\n * a bad schema or prompt change. The restored version becomes the new active version used for\n * all subsequent document processing.\n *\n * Returns a map with the activated version data.\n *\n */\nexport const postAdminAgentsByIdRestoreVersion = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminAgentsByIdRestoreVersionData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentsByIdRestoreVersionResponses,\n    PostAdminAgentsByIdRestoreVersionErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/restore-version\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/supplement-templates/from-existing operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/from-existing operation on clinical-supplement-template resource\n */\nexport const postAdminClinicalSupplementTemplatesFromExisting = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminClinicalSupplementTemplatesFromExistingData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalSupplementTemplatesFromExistingResponses,\n    PostAdminClinicalSupplementTemplatesFromExistingErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/from-existing\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Full-text search threads by title or context summary within the actor's accessible workspace\n *\n * Full-text search threads by title or context summary within the actor's accessible workspace. Use Message.semantic_search for vector-based message content search.\n */\nexport const getAdminThreadsSearch = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminThreadsSearchData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminThreadsSearchResponses,\n    GetAdminThreadsSearchErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/search\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-resources/:id operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/:id operation on clinical-practice-resource resource\n */\nexport const getAdminClinicalPracticeResourcesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPracticeResourcesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeResourcesByIdResponses,\n    GetAdminClinicalPracticeResourcesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-resources/:id operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/:id operation on clinical-practice-resource resource\n */\nexport const patchAdminClinicalPracticeResourcesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalPracticeResourcesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPracticeResourcesByIdResponses,\n    PatchAdminClinicalPracticeResourcesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List training examples for this agent\n *\n * List training examples for this agent\n */\nexport const getAdminAgentsByIdTrainingExamples = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAgentsByIdTrainingExamplesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentsByIdTrainingExamplesResponses,\n    GetAdminAgentsByIdTrainingExamplesErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/training-examples\",\n    ...options,\n  });\n\n/**\n * /recipes/scheduled-meals operation on recipes-scheduled-meal resource\n *\n * /recipes/scheduled-meals operation on recipes-scheduled-meal resource\n */\nexport const postAdminRecipesScheduledMeals = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminRecipesScheduledMealsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesScheduledMealsResponses,\n    PostAdminRecipesScheduledMealsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/scheduled-meals\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List favorites for a workspace\n *\n * List favorites for a workspace\n */\nexport const getAdminRecipesFavoritesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesFavoritesWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesFavoritesWorkspaceByWorkspaceIdResponses,\n    GetAdminRecipesFavoritesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/favorites/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Change password for authenticated user with current password verification\n *\n * Change password for authenticated user with current password verification. By default revokes other active sessions.\n */\nexport const patchAdminUsersAuthPasswordChange = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminUsersAuthPasswordChangeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminUsersAuthPasswordChangeResponses,\n    PatchAdminUsersAuthPasswordChangeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/auth/password/change\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Permanently delete a catalog view and its rules and overrides\n *\n * Permanently delete a catalog view and its rules and overrides. Prefer setting status to :archived to retain history.\n */\nexport const deleteAdminCatalogViewsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCatalogViewsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCatalogViewsByIdResponses,\n    DeleteAdminCatalogViewsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/views/{id}\",\n    ...options,\n  });\n\n/**\n * /catalog/views/:id operation on catalog-view resource\n *\n * /catalog/views/:id operation on catalog-view resource\n */\nexport const getAdminCatalogViewsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCatalogViewsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogViewsByIdResponses,\n    GetAdminCatalogViewsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/views/{id}\",\n    ...options,\n  });\n\n/**\n * Update view metadata, filtering rules, or pricing association\n *\n * Update view metadata, filtering rules, or pricing association. Returns the updated view.\n */\nexport const patchAdminCatalogViewsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCatalogViewsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogViewsByIdResponses,\n    PatchAdminCatalogViewsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/views/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Mark this website as primary and unset any other primary website for the same entity.\n *\n * Mark this website as primary and unset any other primary website for the same entity.\n */\nexport const patchAdminCrmWebsitesByIdSetPrimary = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmWebsitesByIdSetPrimaryData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmWebsitesByIdSetPrimaryResponses,\n    PatchAdminCrmWebsitesByIdSetPrimaryErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/websites/{id}/set-primary\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Soft-delete a variant by setting deleted_at; excluded from future reads\n *\n * Soft-delete a variant by setting deleted_at; excluded from future reads. Prefer archiving via status update to preserve audit history.\n */\nexport const deleteAdminCatalogProductVariantsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCatalogProductVariantsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCatalogProductVariantsByIdResponses,\n    DeleteAdminCatalogProductVariantsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/product-variants/{id}\",\n    ...options,\n  });\n\n/**\n * /catalog/product-variants/:id operation on catalog-product-variant resource\n *\n * /catalog/product-variants/:id operation on catalog-product-variant resource\n */\nexport const getAdminCatalogProductVariantsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCatalogProductVariantsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogProductVariantsByIdResponses,\n    GetAdminCatalogProductVariantsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/product-variants/{id}\",\n    ...options,\n  });\n\n/**\n * Update a variant's SKU, pricing, properties, or media\n *\n * Update a variant's SKU, pricing, properties, or media. Returns the updated variant.\n */\nexport const patchAdminCatalogProductVariantsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCatalogProductVariantsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogProductVariantsByIdResponses,\n    PatchAdminCatalogProductVariantsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/product-variants/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /tenant-pricing-overrides/:id operation on tenant-pricing-override resource\n *\n * /tenant-pricing-overrides/:id operation on tenant-pricing-override resource\n */\nexport const deleteAdminTenantPricingOverridesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminTenantPricingOverridesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminTenantPricingOverridesByIdResponses,\n    DeleteAdminTenantPricingOverridesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenant-pricing-overrides/{id}\",\n    ...options,\n  });\n\n/**\n * /tenant-pricing-overrides/:id operation on tenant-pricing-override resource\n *\n * /tenant-pricing-overrides/:id operation on tenant-pricing-override resource\n */\nexport const getAdminTenantPricingOverridesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminTenantPricingOverridesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTenantPricingOverridesByIdResponses,\n    GetAdminTenantPricingOverridesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenant-pricing-overrides/{id}\",\n    ...options,\n  });\n\n/**\n * /tenant-pricing-overrides/:id operation on tenant-pricing-override resource\n *\n * /tenant-pricing-overrides/:id operation on tenant-pricing-override resource\n */\nexport const patchAdminTenantPricingOverridesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminTenantPricingOverridesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTenantPricingOverridesByIdResponses,\n    PatchAdminTenantPricingOverridesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenant-pricing-overrides/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/campaigns/:id operation on campaign resource\n *\n * /email-marketing/campaigns/:id operation on campaign resource\n */\nexport const deleteAdminEmailMarketingCampaignsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminEmailMarketingCampaignsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminEmailMarketingCampaignsByIdResponses,\n    DeleteAdminEmailMarketingCampaignsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/campaigns/{id}\",\n    ...options,\n  });\n\n/**\n * /email-marketing/campaigns/:id operation on campaign resource\n *\n * /email-marketing/campaigns/:id operation on campaign resource\n */\nexport const getAdminEmailMarketingCampaignsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminEmailMarketingCampaignsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailMarketingCampaignsByIdResponses,\n    GetAdminEmailMarketingCampaignsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/campaigns/{id}\",\n    ...options,\n  });\n\n/**\n * /email-marketing/campaigns/:id operation on campaign resource\n *\n * /email-marketing/campaigns/:id operation on campaign resource\n */\nexport const patchAdminEmailMarketingCampaignsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminEmailMarketingCampaignsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingCampaignsByIdResponses,\n    PatchAdminEmailMarketingCampaignsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/campaigns/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all SLA policies for an application\n *\n * List all SLA policies for an application. Use to populate the SLA policy selector on Queue create/update and Ticket create.\n */\nexport const getAdminSupportSlaPoliciesApplicationByApplicationId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSupportSlaPoliciesApplicationByApplicationIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportSlaPoliciesApplicationByApplicationIdResponses,\n    GetAdminSupportSlaPoliciesApplicationByApplicationIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/sla-policies/application/{application_id}\",\n    ...options,\n  });\n\n/**\n * /catalog/variant-option-values/:id operation on catalog-variant-option-value resource\n *\n * /catalog/variant-option-values/:id operation on catalog-variant-option-value resource\n */\nexport const deleteAdminCatalogVariantOptionValuesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCatalogVariantOptionValuesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCatalogVariantOptionValuesByIdResponses,\n    DeleteAdminCatalogVariantOptionValuesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/variant-option-values/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/patient-insurance operation on clinical-patient-insurance resource\n *\n * /clinical/patient-insurance operation on clinical-patient-insurance resource\n */\nexport const getAdminClinicalPatientInsurance = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPatientInsuranceData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPatientInsuranceResponses,\n    GetAdminClinicalPatientInsuranceErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patient-insurance\",\n    ...options,\n  });\n\n/**\n * /clinical/patient-insurance operation on clinical-patient-insurance resource\n *\n * /clinical/patient-insurance operation on clinical-patient-insurance resource\n */\nexport const postAdminClinicalPatientInsurance = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalPatientInsuranceData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalPatientInsuranceResponses,\n    PostAdminClinicalPatientInsuranceErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patient-insurance\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Register a new user account with email and password\n *\n * Register a new user account with email and password. Validates password\n * confirmation and accepted legal documents. Creates a personal tenant, default\n * workspace, billing account, and user profile via HandleRegistrationContext.\n * Sends a confirmation email; the account cannot use scoped API actions until\n * confirmed (unless require_email_verification is false on the Application).\n *\n * Use :register_via_invitation when the user has an invitation token, or\n * :register_with_oidc for OAuth/SSO flows.\n *\n * Returns the created user with a JWT token in the token field if\n * sign_in_tokens_enabled? is true, otherwise token is nil.\n *\n */\nexport const postAdminUsersAuthRegister = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminUsersAuthRegisterData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminUsersAuthRegisterResponses,\n    PostAdminUsersAuthRegisterErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/auth/register\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /webhook-deliveries/:id operation on webhook-delivery resource\n *\n * /webhook-deliveries/:id operation on webhook-delivery resource\n */\nexport const getAdminWebhookDeliveriesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWebhookDeliveriesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWebhookDeliveriesByIdResponses,\n    GetAdminWebhookDeliveriesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-deliveries/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-resources/:id/restore operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/:id/restore operation on clinical-practice-resource resource\n */\nexport const patchAdminClinicalPracticeResourcesByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalPracticeResourcesByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPracticeResourcesByIdRestoreResponses,\n    PatchAdminClinicalPracticeResourcesByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a new social profile for a contact or company\n *\n * Create a new social profile for a contact or company. Validates URL format if provided. Only one profile per platform per entity (except :other).\n */\nexport const postAdminCrmSocialProfiles = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCrmSocialProfilesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmSocialProfilesResponses,\n    PostAdminCrmSocialProfilesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/social-profiles\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/goal-templates operation on clinical-goal-template resource\n *\n * /clinical/goal-templates operation on clinical-goal-template resource\n */\nexport const getAdminClinicalGoalTemplates = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalGoalTemplatesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalTemplatesResponses,\n    GetAdminClinicalGoalTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-templates operation on clinical-goal-template resource\n *\n * /clinical/goal-templates operation on clinical-goal-template resource\n */\nexport const postAdminClinicalGoalTemplates = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalGoalTemplatesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalGoalTemplatesResponses,\n    PostAdminClinicalGoalTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Returns the current signup-grant state for the wholesale agreement\n *\n * Returns the current signup-grant state for the wholesale agreement.\n * Includes the most recent `PlatformUsageEvent` row matching\n * `operation_type == \"signup_grant\"` for the ISV-tenant, when present.\n *\n */\nexport const getAdminWholesaleAgreementsByIdSignupGrantStatus = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminWholesaleAgreementsByIdSignupGrantStatusData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminWholesaleAgreementsByIdSignupGrantStatusResponses,\n    GetAdminWholesaleAgreementsByIdSignupGrantStatusErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wholesale-agreements/{id}/signup-grant-status\",\n    ...options,\n  });\n\n/**\n * Restore an archived thread by clearing `archived_at`, making it visible in the default thread list again.\n *\n * Restore an archived thread by clearing `archived_at`, making it visible in the default thread list again.\n */\nexport const patchAdminThreadsByIdUnarchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminThreadsByIdUnarchiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminThreadsByIdUnarchiveResponses,\n    PatchAdminThreadsByIdUnarchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/{id}/unarchive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List treatment plans for a Fullscript patient\n *\n * List treatment plans for a Fullscript patient\n */\nexport const postAdminConnectorsFullscriptTreatmentPlansList = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsFullscriptTreatmentPlansListData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsFullscriptTreatmentPlansListResponses,\n    PostAdminConnectorsFullscriptTreatmentPlansListErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/fullscript/treatment-plans/list\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Activate a specific schema version\n *\n * Activate a specific schema version\n */\nexport const postAdminAgentsByIdSchemaVersionsByVersionIdActivate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminAgentsByIdSchemaVersionsByVersionIdActivateData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentsByIdSchemaVersionsByVersionIdActivateResponses,\n    PostAdminAgentsByIdSchemaVersionsByVersionIdActivateErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/schema-versions/{version_id}/activate\",\n    ...options,\n  });\n\n/**\n * List locations filtered by type (:venue, :room, :virtual, :resource)\n *\n * List locations filtered by type (:venue, :room, :virtual, :resource). Use to populate type-specific dropdowns in booking UIs or to find meeting rooms vs. virtual links.\n */\nexport const getAdminSchedulingLocationsByType = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingLocationsByTypeData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingLocationsByTypeResponses,\n    GetAdminSchedulingLocationsByTypeErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/locations/by-type\",\n    ...options,\n  });\n\n/**\n * List all locations for a workspace (both active and inactive)\n *\n * List all locations for a workspace (both active and inactive). Use :list_by_type to filter by venue type.\n */\nexport const getAdminSchedulingLocations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingLocationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingLocationsResponses,\n    GetAdminSchedulingLocationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/locations\",\n    ...options,\n  });\n\n/**\n * Create a reusable location record (venue, room, virtual link, or resource)\n *\n * Create a reusable location record (venue, room, virtual link, or resource). Location data is copied into LocationEmbed on Event/EventType via CopyLocationToEmbed change at write time. Returns the created Location.\n */\nexport const postAdminSchedulingLocations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSchedulingLocationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSchedulingLocationsResponses,\n    PostAdminSchedulingLocationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/locations\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /contract-clauses/:id operation on contract-clause resource\n *\n * /contract-clauses/:id operation on contract-clause resource\n */\nexport const getAdminContractClausesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminContractClausesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminContractClausesByIdResponses,\n    GetAdminContractClausesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/contract-clauses/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/note-templates/catalog/archived operation on clinical-note-template resource\n *\n * /clinical/note-templates/catalog/archived operation on clinical-note-template resource\n */\nexport const getAdminClinicalNoteTemplatesCatalogArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalNoteTemplatesCatalogArchivedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNoteTemplatesCatalogArchivedResponses,\n    GetAdminClinicalNoteTemplatesCatalogArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/catalog/archived\",\n    ...options,\n  });\n\n/**\n * /recipes/meal-schedules/:id operation on recipes-meal-schedule resource\n *\n * /recipes/meal-schedules/:id operation on recipes-meal-schedule resource\n */\nexport const deleteAdminRecipesMealSchedulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminRecipesMealSchedulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRecipesMealSchedulesByIdResponses,\n    DeleteAdminRecipesMealSchedulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/meal-schedules/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/meal-schedules/:id operation on recipes-meal-schedule resource\n *\n * /recipes/meal-schedules/:id operation on recipes-meal-schedule resource\n */\nexport const getAdminRecipesMealSchedulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesMealSchedulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesMealSchedulesByIdResponses,\n    GetAdminRecipesMealSchedulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/meal-schedules/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/meal-schedules/:id operation on recipes-meal-schedule resource\n *\n * /recipes/meal-schedules/:id operation on recipes-meal-schedule resource\n */\nexport const patchAdminRecipesMealSchedulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRecipesMealSchedulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesMealSchedulesByIdResponses,\n    PatchAdminRecipesMealSchedulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/meal-schedules/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /extraction/schema-discoveries/:id operation on schema-discovery resource\n *\n * /extraction/schema-discoveries/:id operation on schema-discovery resource\n */\nexport const getAdminExtractionSchemaDiscoveriesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionSchemaDiscoveriesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionSchemaDiscoveriesByIdResponses,\n    GetAdminExtractionSchemaDiscoveriesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/schema-discoveries/{id}\",\n    ...options,\n  });\n\n/**\n * Hard-delete a calendar sync configuration, stopping all future sync runs for this calendar\n *\n * Hard-delete a calendar sync configuration, stopping all future sync runs for this calendar. Oban jobs for this sync will still complete their current run before stopping.\n */\nexport const deleteAdminSchedulingCalendarSyncsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSchedulingCalendarSyncsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSchedulingCalendarSyncsByIdResponses,\n    DeleteAdminSchedulingCalendarSyncsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/calendar-syncs/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single calendar sync configuration by ID\n *\n * Fetch a single calendar sync configuration by ID. sync_token is excluded (sensitive? true) — never returned in API responses.\n */\nexport const getAdminSchedulingCalendarSyncsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingCalendarSyncsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingCalendarSyncsByIdResponses,\n    GetAdminSchedulingCalendarSyncsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/calendar-syncs/{id}\",\n    ...options,\n  });\n\n/**\n * Update calendar sync settings: name, direction, role, sync_method, poll interval, or custom metadata\n *\n * Update calendar sync settings: name, direction, role, sync_method, poll interval, or custom metadata. Use :pause/:resume to control sync_status — sync_status cannot be changed via :update.\n */\nexport const patchAdminSchedulingCalendarSyncsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSchedulingCalendarSyncsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingCalendarSyncsByIdResponses,\n    PatchAdminSchedulingCalendarSyncsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/calendar-syncs/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/:id/schedule-payment operation on invoices-invoice resource\n *\n * /invoices/:id/schedule-payment operation on invoices-invoice resource\n */\nexport const patchAdminInvoicesByIdSchedulePayment = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesByIdSchedulePaymentData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesByIdSchedulePaymentResponses,\n    PatchAdminInvoicesByIdSchedulePaymentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}/schedule-payment\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /case-document-links operation on case-document-link resource\n *\n * /case-document-links operation on case-document-link resource\n */\nexport const getAdminCaseDocumentLinks = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCaseDocumentLinksData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCaseDocumentLinksResponses,\n    GetAdminCaseDocumentLinksErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-document-links\",\n    ...options,\n  });\n\n/**\n * /case-document-links operation on case-document-link resource\n *\n * /case-document-links operation on case-document-link resource\n */\nexport const postAdminCaseDocumentLinks = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCaseDocumentLinksData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCaseDocumentLinksResponses,\n    PostAdminCaseDocumentLinksErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-document-links\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List disclosures for a specific data subject (HIPAA accounting of disclosures).\n *\n * List disclosures for a specific data subject (HIPAA accounting of disclosures).\n */\nexport const getAdminDisclosureLogsBySubject = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminDisclosureLogsBySubjectData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminDisclosureLogsBySubjectResponses,\n    GetAdminDisclosureLogsBySubjectErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/disclosure-logs/by-subject\",\n    ...options,\n  });\n\n/**\n * /crawler/results operation on crawler-result resource\n *\n * /crawler/results operation on crawler-result resource\n */\nexport const getAdminCrawlerResults = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCrawlerResultsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerResultsResponses,\n    GetAdminCrawlerResultsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/results\",\n    ...options,\n  });\n\n/**\n * List all registered permissions from the PermissionRegistry, optionally filtered by app, context, or category\n *\n * List all registered permissions from the PermissionRegistry, optionally filtered by app, context, or category. Returns permission structs for use in role builder and permission picker UIs.\n */\nexport const getAdminPermissions = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPermissionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPermissionsResponses,\n    GetAdminPermissionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/permissions\",\n    ...options,\n  });\n\n/**\n * Restore an archived file back to active status so it becomes accessible again.\n *\n * Restore an archived file back to active status so it becomes accessible again.\n */\nexport const patchAdminStorageFilesByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminStorageFilesByIdRestoreData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminStorageFilesByIdRestoreResponses,\n    PatchAdminStorageFilesByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-files/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/notes/by-patient operation on clinical-note resource\n *\n * /clinical/notes/by-patient operation on clinical-note resource\n */\nexport const getAdminClinicalNotesByPatient = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalNotesByPatientData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNotesByPatientResponses,\n    GetAdminClinicalNotesByPatientErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes/by-patient\",\n    ...options,\n  });\n\n/**\n * /email/send-limits/:id operation on email-send-limit resource\n *\n * /email/send-limits/:id operation on email-send-limit resource\n */\nexport const getAdminEmailSendLimitsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminEmailSendLimitsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailSendLimitsByIdResponses,\n    GetAdminEmailSendLimitsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/send-limits/{id}\",\n    ...options,\n  });\n\n/**\n * Disable a schedule to pause automatic crawling without deleting the configuration.\n *\n * Disable a schedule to pause automatic crawling without deleting the configuration.\n */\nexport const patchAdminCrawlerSchedulesByIdDisable = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrawlerSchedulesByIdDisableData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrawlerSchedulesByIdDisableResponses,\n    PatchAdminCrawlerSchedulesByIdDisableErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/schedules/{id}/disable\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/supplement-templates/:id/restore operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/:id/restore operation on clinical-supplement-template resource\n */\nexport const patchAdminClinicalSupplementTemplatesByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalSupplementTemplatesByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalSupplementTemplatesByIdRestoreResponses,\n    PatchAdminClinicalSupplementTemplatesByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-supplements/:id/restore operation on clinical-client-supplement resource\n *\n * /clinical/client-supplements/:id/restore operation on clinical-client-supplement resource\n */\nexport const patchAdminClinicalClientSupplementsByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalClientSupplementsByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientSupplementsByIdRestoreResponses,\n    PatchAdminClinicalClientSupplementsByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-supplements/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-tools/:id/restore operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/:id/restore operation on clinical-practice-tool resource\n */\nexport const patchAdminClinicalPracticeToolsByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalPracticeToolsByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPracticeToolsByIdRestoreResponses,\n    PatchAdminClinicalPracticeToolsByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Permanently delete an API key record\n *\n * Permanently delete an API key record. Invalidates the Redis auth cache entry.\n * Use :revoke instead when you want to deactivate a key while preserving the audit\n * trail and reclaiming unused credits back to the tenant wallet.\n *\n */\nexport const deleteAdminApiKeysById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminApiKeysByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminApiKeysByIdResponses,\n    DeleteAdminApiKeysByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/api-keys/{id}\",\n    ...options,\n  });\n\n/**\n * List or fetch API keys\n *\n * List or fetch API keys. Supports keyset and offset pagination. Returns keys\n * scoped to the actor — users see only their own keys, ISV owners see keys for\n * their application. Use :active to restrict to non-revoked keys, or :usage_stats\n * for tenant-scoped usage analytics.\n *\n */\nexport const getAdminApiKeysById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminApiKeysByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminApiKeysByIdResponses,\n    GetAdminApiKeysByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/api-keys/{id}\",\n    ...options,\n  });\n\n/**\n * Update mutable API key properties: name, scopes, rate limit, and credit limit\n *\n * Update mutable API key properties: name, scopes, rate limit, and credit limit.\n * Server keys require at least one scope; application keys always receive all\n * available scopes regardless of the provided value. Invalidates the Redis auth\n * cache on success.\n *\n */\nexport const patchAdminApiKeysById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminApiKeysByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminApiKeysByIdResponses,\n    PatchAdminApiKeysByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/api-keys/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Restore an archived contact (clears deleted_at)\n *\n * Restore an archived contact (clears deleted_at)\n */\nexport const postAdminCrmContactsByIdUnarchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCrmContactsByIdUnarchiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmContactsByIdUnarchiveResponses,\n    PostAdminCrmContactsByIdUnarchiveErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/contacts/{id}/unarchive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /ephi-data-flows/:id operation on ephi-data-flow resource\n *\n * /ephi-data-flows/:id operation on ephi-data-flow resource\n */\nexport const getAdminEphiDataFlowsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminEphiDataFlowsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEphiDataFlowsByIdResponses,\n    GetAdminEphiDataFlowsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ephi-data-flows/{id}\",\n    ...options,\n  });\n\n/**\n * /ephi-data-flows/:id operation on ephi-data-flow resource\n *\n * /ephi-data-flows/:id operation on ephi-data-flow resource\n */\nexport const patchAdminEphiDataFlowsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminEphiDataFlowsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEphiDataFlowsByIdResponses,\n    PatchAdminEphiDataFlowsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ephi-data-flows/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-tools/archived operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/archived operation on clinical-practice-tool resource\n */\nexport const getAdminClinicalPracticeToolsArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPracticeToolsArchivedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeToolsArchivedResponses,\n    GetAdminClinicalPracticeToolsArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/archived\",\n    ...options,\n  });\n\n/**\n * Advance a risk assessment through its lifecycle (draft → in_review → approved → expired) and record the reviewer and approval timestamp.\n *\n * Advance a risk assessment through its lifecycle (draft → in_review → approved → expired) and record the reviewer and approval timestamp.\n */\nexport const patchAdminRiskAssessmentsByIdStatus = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRiskAssessmentsByIdStatusData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRiskAssessmentsByIdStatusResponses,\n    PatchAdminRiskAssessmentsByIdStatusErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/risk-assessments/{id}/status\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/shopping-list-items/:id operation on recipes-shopping-list-item resource\n *\n * /recipes/shopping-list-items/:id operation on recipes-shopping-list-item resource\n */\nexport const deleteAdminRecipesShoppingListItemsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminRecipesShoppingListItemsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRecipesShoppingListItemsByIdResponses,\n    DeleteAdminRecipesShoppingListItemsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/shopping-list-items/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/shopping-list-items/:id operation on recipes-shopping-list-item resource\n *\n * /recipes/shopping-list-items/:id operation on recipes-shopping-list-item resource\n */\nexport const getAdminRecipesShoppingListItemsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesShoppingListItemsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesShoppingListItemsByIdResponses,\n    GetAdminRecipesShoppingListItemsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/shopping-list-items/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/shopping-list-items/:id operation on recipes-shopping-list-item resource\n *\n * /recipes/shopping-list-items/:id operation on recipes-shopping-list-item resource\n */\nexport const patchAdminRecipesShoppingListItemsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRecipesShoppingListItemsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesShoppingListItemsByIdResponses,\n    PatchAdminRecipesShoppingListItemsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/shopping-list-items/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Delete a role; emits a RoleDeleted audit event\n *\n * Delete a role; emits a RoleDeleted audit event. Existing AccessGrants that reference this role retain their snapshotted permissions.\n */\nexport const deleteAdminRolesById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminRolesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRolesByIdResponses,\n    DeleteAdminRolesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/roles/{id}\",\n    ...options,\n  });\n\n/**\n * /roles/:id operation on role resource\n *\n * /roles/:id operation on role resource\n */\nexport const getAdminRolesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminRolesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRolesByIdResponses,\n    GetAdminRolesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/roles/{id}\",\n    ...options,\n  });\n\n/**\n * Update a role's name, description, or permission list; does NOT retroactively update existing AccessGrants\n *\n * Update a role's name, description, or permission list; does NOT retroactively update existing AccessGrants. Emits a RoleUpdated audit event.\n */\nexport const patchAdminRolesById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminRolesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRolesByIdResponses,\n    PatchAdminRolesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/roles/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-tools/catalog/archived operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/catalog/archived operation on clinical-practice-tool resource\n */\nexport const getAdminClinicalPracticeToolsCatalogArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalPracticeToolsCatalogArchivedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeToolsCatalogArchivedResponses,\n    GetAdminClinicalPracticeToolsCatalogArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/catalog/archived\",\n    ...options,\n  });\n\n/**\n * /post-processing-hooks/:id operation on post-processing-hook resource\n *\n * /post-processing-hooks/:id operation on post-processing-hook resource\n */\nexport const deleteAdminPostProcessingHooksById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminPostProcessingHooksByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminPostProcessingHooksByIdResponses,\n    DeleteAdminPostProcessingHooksByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/post-processing-hooks/{id}\",\n    ...options,\n  });\n\n/**\n * /post-processing-hooks/:id operation on post-processing-hook resource\n *\n * /post-processing-hooks/:id operation on post-processing-hook resource\n */\nexport const getAdminPostProcessingHooksById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPostProcessingHooksByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPostProcessingHooksByIdResponses,\n    GetAdminPostProcessingHooksByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/post-processing-hooks/{id}\",\n    ...options,\n  });\n\n/**\n * /post-processing-hooks/:id operation on post-processing-hook resource\n *\n * /post-processing-hooks/:id operation on post-processing-hook resource\n */\nexport const patchAdminPostProcessingHooksById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPostProcessingHooksByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPostProcessingHooksByIdResponses,\n    PatchAdminPostProcessingHooksByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/post-processing-hooks/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Re-execute a saved search by ID and return the saved search metadata enriched with an `executed_at` ISO-8601 timestamp\n *\n * Re-execute a saved search by ID and return the saved search metadata enriched with an `executed_at` ISO-8601 timestamp. Authorization is delegated to the standard :read policy — only the owner or shared searches are accessible. Use this instead of :search when the query is already stored and you want a re-run audit trail.\n */\nexport const postAdminSearchSavedByIdRun = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSearchSavedByIdRunData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSearchSavedByIdRunResponses,\n    PostAdminSearchSavedByIdRunErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/saved/{id}/run\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List recordings for a specific voice session\n *\n * List recordings for a specific voice session\n */\nexport const getAdminVoiceRecordingsSessionBySessionId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminVoiceRecordingsSessionBySessionIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceRecordingsSessionBySessionIdResponses,\n    GetAdminVoiceRecordingsSessionBySessionIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/recordings/session/{session_id}\",\n    ...options,\n  });\n\n/**\n * List invitations visible to the actor\n *\n * List invitations visible to the actor. Returns invitations where the actor is the inviter, the tenant owner, or the recipient (matched by email).\n */\nexport const getAdminInvitations = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminInvitationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminInvitationsResponses,\n    GetAdminInvitationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invitations\",\n    ...options,\n  });\n\n/**\n * Send an invitation to a user to join a tenant or workspace\n *\n * Send an invitation to a user to join a tenant or workspace. Applies rate limiting\n * per inviter, prevents self-invitation, enforces the tenant's member limit (based\n * on plan_tier), and validates custom permissions against the target scope. Generates\n * a signed token (valid 7 days), persists the invitation, and enqueues\n * SendInvitationEmail to deliver the invite email asynchronously. Logs an audit event.\n *\n * Returns the invitation with the raw_token in metadata (one-time only).\n *\n */\nexport const postAdminInvitations = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminInvitationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminInvitationsResponses,\n    PostAdminInvitationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invitations\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/tracking-events/workspace/:workspace_id operation on email-tracking-event resource\n *\n * /email/tracking-events/workspace/:workspace_id operation on email-tracking-event resource\n */\nexport const getAdminEmailTrackingEventsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailTrackingEventsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailTrackingEventsWorkspaceByWorkspaceIdResponses,\n    GetAdminEmailTrackingEventsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/tracking-events/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Create a relationship (edge) between two graph nodes\n *\n * Create a relationship (edge) between two graph nodes\n */\nexport const postAdminAiGraphRelationships = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminAiGraphRelationshipsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAiGraphRelationshipsResponses,\n    PostAdminAiGraphRelationshipsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/graph/relationships\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/recipe-nutritions/:id operation on recipes-recipe-nutrition resource\n *\n * /recipes/recipe-nutritions/:id operation on recipes-recipe-nutrition resource\n */\nexport const getAdminRecipesRecipeNutritionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesRecipeNutritionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesRecipeNutritionsByIdResponses,\n    GetAdminRecipesRecipeNutritionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/recipe-nutritions/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/recipe-nutritions/:id operation on recipes-recipe-nutrition resource\n *\n * /recipes/recipe-nutritions/:id operation on recipes-recipe-nutrition resource\n */\nexport const patchAdminRecipesRecipeNutritionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRecipesRecipeNutritionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesRecipeNutritionsByIdResponses,\n    PatchAdminRecipesRecipeNutritionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/recipe-nutritions/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /catalog/classification-suggestions/:id operation on catalog-classification-suggestion resource\n *\n * /catalog/classification-suggestions/:id operation on catalog-classification-suggestion resource\n */\nexport const getAdminCatalogClassificationSuggestionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogClassificationSuggestionsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogClassificationSuggestionsByIdResponses,\n    GetAdminCatalogClassificationSuggestionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/classification-suggestions/{id}\",\n    ...options,\n  });\n\n/**\n * Get storage breakdown by workspace\n *\n * Get storage breakdown by workspace\n */\nexport const getAdminWalletStorageBreakdown = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWalletStorageBreakdownData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWalletStorageBreakdownResponses,\n    GetAdminWalletStorageBreakdownErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/storage-breakdown\",\n    ...options,\n  });\n\n/**\n * /case-entity-links/:id operation on case-entity-link resource\n *\n * /case-entity-links/:id operation on case-entity-link resource\n */\nexport const deleteAdminCaseEntityLinksById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCaseEntityLinksByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCaseEntityLinksByIdResponses,\n    DeleteAdminCaseEntityLinksByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-entity-links/{id}\",\n    ...options,\n  });\n\n/**\n * /case-entity-links/:id operation on case-entity-link resource\n *\n * /case-entity-links/:id operation on case-entity-link resource\n */\nexport const getAdminCaseEntityLinksById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCaseEntityLinksByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCaseEntityLinksByIdResponses,\n    GetAdminCaseEntityLinksByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-entity-links/{id}\",\n    ...options,\n  });\n\n/**\n * Merge new_metadata into the existing metadata map (shallow merge)\n *\n * Merge new_metadata into the existing metadata map (shallow merge). Returns the updated file.\n */\nexport const patchAdminStorageFilesByIdUpdateMetadata = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminStorageFilesByIdUpdateMetadataData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminStorageFilesByIdUpdateMetadataResponses,\n    PatchAdminStorageFilesByIdUpdateMetadataErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-files/{id}/update-metadata\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/deliveries operation on clinical-delivery resource\n *\n * /clinical/deliveries operation on clinical-delivery resource\n */\nexport const getAdminClinicalDeliveries = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalDeliveriesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalDeliveriesResponses,\n    GetAdminClinicalDeliveriesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/deliveries\",\n    ...options,\n  });\n\n/**\n * /clinical/deliveries operation on clinical-delivery resource\n *\n * /clinical/deliveries operation on clinical-delivery resource\n */\nexport const postAdminClinicalDeliveries = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalDeliveriesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalDeliveriesResponses,\n    PostAdminClinicalDeliveriesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/deliveries\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/patient-insurance/by-workspace operation on clinical-patient-insurance resource\n *\n * /clinical/patient-insurance/by-workspace operation on clinical-patient-insurance resource\n */\nexport const getAdminClinicalPatientInsuranceByWorkspace = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalPatientInsuranceByWorkspaceData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPatientInsuranceByWorkspaceResponses,\n    GetAdminClinicalPatientInsuranceByWorkspaceErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patient-insurance/by-workspace\",\n    ...options,\n  });\n\n/**\n * /threads/:id/messages operation on chat-message resource\n *\n * /threads/:id/messages operation on chat-message resource\n */\nexport const getAdminThreadsByIdMessages = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminThreadsByIdMessagesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminThreadsByIdMessagesResponses,\n    GetAdminThreadsByIdMessagesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/{id}/messages\",\n    ...options,\n  });\n\n/**\n * Submit a user message to a thread and receive the AI response synchronously\n *\n * Submit a user message to a thread and receive the AI response synchronously. Saves the\n * user message, runs the full RAG pipeline via ChatService (intent classification, vector\n * search, graph lookup, LLM synthesis, billing charge), saves the assistant reply, and\n * returns the updated Thread. Use this instead of :create on Message when you want the\n * full AI response in one call.\n *\n */\nexport const postAdminThreadsByIdMessages = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminThreadsByIdMessagesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminThreadsByIdMessagesResponses,\n    PostAdminThreadsByIdMessagesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/{id}/messages\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/trending/history/range operation on trending-snapshot resource\n *\n * /social/trending/history/range operation on trending-snapshot resource\n */\nexport const getAdminSocialTrendingHistoryRange = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSocialTrendingHistoryRangeData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialTrendingHistoryRangeResponses,\n    GetAdminSocialTrendingHistoryRangeErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/trending/history/range\",\n    ...options,\n  });\n\n/**\n * Atomic provisioning surface for ISV onboarding\n *\n * Atomic provisioning surface for ISV onboarding. Creates an Application\n * (idempotent on `slug`) and, in the same transaction, optionally creates\n * a tenant-scoped BrandIdentity, applies ISV-specific overrides to system\n * email templates, and creates an initial WholesaleAgreement.\n *\n * The existing `Application.:create` after-actions still run on first\n * provision — meaning the Application gets its billing liability account,\n * a default `sk_app_` API key, system email templates, and system legal\n * documents automatically.\n *\n * Idempotency: re-running with the same `slug` returns the existing\n * Application + its dependent entity ids without creating new\n * BrandIdentity / EmailTemplate / WholesaleAgreement rows.\n *\n * Used by the ISV onboarding SDK flow and the Application Builder Agent's\n * terminal step.\n *\n */\nexport const postAdminApplicationsProvision = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminApplicationsProvisionData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminApplicationsProvisionResponses,\n    PostAdminApplicationsProvisionErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/provision\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all participants for a specific event, including organizer and attendees\n *\n * List all participants for a specific event, including organizer and attendees. Use to render RSVP lists or build reminder recipient lists.\n */\nexport const getAdminSchedulingParticipants = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingParticipantsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingParticipantsResponses,\n    GetAdminSchedulingParticipantsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/participants\",\n    ...options,\n  });\n\n/**\n * Add a participant to an event\n *\n * Add a participant to an event. Unique per (event_id, email) — duplicate adds are rejected. Auto-called during booking creation for the booker. Returns the created Participant.\n */\nexport const postAdminSchedulingParticipants = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSchedulingParticipantsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSchedulingParticipantsResponses,\n    PostAdminSchedulingParticipantsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/participants\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Hard-delete a tag\n *\n * Hard-delete a tag. Does not remove the tag string from existing Ticket.tags arrays — callers should clean up existing tickets separately.\n */\nexport const deleteAdminSupportTagsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSupportTagsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSupportTagsByIdResponses,\n    DeleteAdminSupportTagsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/tags/{id}\",\n    ...options,\n  });\n\n/**\n * /tenants operation on tenant resource\n *\n * /tenants operation on tenant resource\n */\nexport const getAdminTenants = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminTenantsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTenantsResponses,\n    GetAdminTenantsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants\",\n    ...options,\n  });\n\n/**\n * Create a new tenant organization\n *\n * Create a new tenant organization. Auto-generates a unique slug from name if\n * not provided. After creation: provisions storage buckets synchronously, creates\n * a default workspace (if application_id is set), adds the owner as a workspace\n * admin member, and ensures the tenant's billing liability account exists.\n *\n * Use :create_isv for ISV tenants that need an initial credit allocation.\n *\n * Returns the created tenant record.\n *\n */\nexport const postAdminTenants = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminTenantsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTenantsResponses,\n    PostAdminTenantsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Soft-delete a taxonomy node by stamping deleted_at; child nodes are not auto-deleted\n *\n * Soft-delete a taxonomy node by stamping deleted_at; child nodes are not auto-deleted. Remove children before deleting a parent.\n */\nexport const deleteAdminCatalogTaxonomyNodesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCatalogTaxonomyNodesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCatalogTaxonomyNodesByIdResponses,\n    DeleteAdminCatalogTaxonomyNodesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/taxonomy-nodes/{id}\",\n    ...options,\n  });\n\n/**\n * /catalog/taxonomy-nodes/:id operation on catalog-taxonomy-node resource\n *\n * /catalog/taxonomy-nodes/:id operation on catalog-taxonomy-node resource\n */\nexport const getAdminCatalogTaxonomyNodesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCatalogTaxonomyNodesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogTaxonomyNodesByIdResponses,\n    GetAdminCatalogTaxonomyNodesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/taxonomy-nodes/{id}\",\n    ...options,\n  });\n\n/**\n * Update a node's name, slug, position, or parent; re-validates tree depth\n *\n * Update a node's name, slug, position, or parent; re-validates tree depth. Returns the updated node.\n */\nexport const patchAdminCatalogTaxonomyNodesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCatalogTaxonomyNodesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogTaxonomyNodesByIdResponses,\n    PatchAdminCatalogTaxonomyNodesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/taxonomy-nodes/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /training-examples/:id operation on training-example resource\n *\n * /training-examples/:id operation on training-example resource\n */\nexport const deleteAdminTrainingExamplesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminTrainingExamplesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminTrainingExamplesByIdResponses,\n    DeleteAdminTrainingExamplesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-examples/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single TrainingExample by ID.\n *\n * Fetch a single TrainingExample by ID.\n */\nexport const getAdminTrainingExamplesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminTrainingExamplesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTrainingExamplesByIdResponses,\n    GetAdminTrainingExamplesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-examples/{id}\",\n    ...options,\n  });\n\n/**\n * Update an existing training example's input text, expected output JSON, notes,\n * correction reasons, or image reference\n *\n * Update an existing training example's input text, expected output JSON, notes,\n * correction reasons, or image reference. Updating `input_text` will trigger re-vectorization\n * via AshAi, replacing the stored embedding with the new text's representation.\n *\n */\nexport const patchAdminTrainingExamplesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminTrainingExamplesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTrainingExamplesByIdResponses,\n    PatchAdminTrainingExamplesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-examples/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a new CRM contact\n *\n * Create a new CRM contact. Validates against workspace contact quota and any\n * custom field definitions. Triggers Meilisearch indexing as a side effect.\n * Returns the created Contact struct.\n *\n */\nexport const postAdminCrmContacts = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrmContactsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmContactsResponses,\n    PostAdminCrmContactsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/contacts\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a channel capture configuration for a workspace\n *\n * Create a channel capture configuration for a workspace. One config per workspace —\n * use :update if a config already exists. When absent, defaults apply: all channel types\n * captured, no PII scanning, indefinite retention.\n *\n */\nexport const postAdminIsvCrmChannelCaptureConfig = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminIsvCrmChannelCaptureConfigData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminIsvCrmChannelCaptureConfigResponses,\n    PostAdminIsvCrmChannelCaptureConfigErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv/crm/channel-capture-config\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List pipelines available to a workspace — includes both workspace-specific pipelines and application-level templates (workspace_id IS NULL).\n *\n * List pipelines available to a workspace — includes both workspace-specific pipelines and application-level templates (workspace_id IS NULL).\n */\nexport const getAdminCrmPipelinesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmPipelinesWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmPipelinesWorkspaceByWorkspaceIdResponses,\n    GetAdminCrmPipelinesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/pipelines/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /contract-renewal-alerts/:id operation on contract-renewal-alert resource\n *\n * /contract-renewal-alerts/:id operation on contract-renewal-alert resource\n */\nexport const getAdminContractRenewalAlertsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminContractRenewalAlertsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminContractRenewalAlertsByIdResponses,\n    GetAdminContractRenewalAlertsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/contract-renewal-alerts/{id}\",\n    ...options,\n  });\n\n/**\n * Delete an ExtractionResult record\n *\n * Delete an ExtractionResult record. Use only when cleaning up failed or superseded results.\n */\nexport const deleteAdminExtractionResultsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminExtractionResultsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminExtractionResultsByIdResponses,\n    DeleteAdminExtractionResultsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/results/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single ExtractionResult by ID\n *\n * Fetch a single ExtractionResult by ID. Filters hidden system fields from the response.\n */\nexport const getAdminExtractionResultsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionResultsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionResultsByIdResponses,\n    GetAdminExtractionResultsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/results/{id}\",\n    ...options,\n  });\n\n/**\n * General-purpose update for an ExtractionResult\n *\n * General-purpose update for an ExtractionResult. Accepts status, credits, processing time,\n * extracted fields, and classification metadata. Used internally by workers to mark results\n * as `:completed` or `:failed`. For user-initiated field corrections, use `:save_corrections`\n * which also updates document confidence and recalculates summary statistics.\n *\n */\nexport const patchAdminExtractionResultsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminExtractionResultsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionResultsByIdResponses,\n    PatchAdminExtractionResultsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/results/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Set a location to inactive (is_active: false)\n *\n * Set a location to inactive (is_active: false). Inactive locations are excluded from :list but remain linked to historical Events via the LocationEmbed. Use instead of deleting.\n */\nexport const patchAdminSchedulingLocationsByIdDeactivate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminSchedulingLocationsByIdDeactivateData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingLocationsByIdDeactivateResponses,\n    PatchAdminSchedulingLocationsByIdDeactivateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/locations/{id}/deactivate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/jobs operation on crawler-job resource\n *\n * /crawler/jobs operation on crawler-job resource\n */\nexport const getAdminCrawlerJobs = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCrawlerJobsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerJobsResponses,\n    GetAdminCrawlerJobsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/jobs\",\n    ...options,\n  });\n\n/**\n * Create a crawl job for a URL with the specified mode and strategy; performs a credit pre-check and enqueues execution\n *\n * Create a crawl job for a URL with the specified mode and strategy; performs a credit pre-check and enqueues execution. Returns the created job.\n */\nexport const postAdminCrawlerJobs = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrawlerJobsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrawlerJobsResponses,\n    PostAdminCrawlerJobsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/jobs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /pipelines operation on pipeline resource\n *\n * /pipelines operation on pipeline resource\n */\nexport const getAdminPipelines = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPipelinesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPipelinesResponses,\n    GetAdminPipelinesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipelines\",\n    ...options,\n  });\n\n/**\n * Create a new agent pipeline.\n *\n * Create a new agent pipeline.\n */\nexport const postAdminPipelines = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminPipelinesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPipelinesResponses,\n    PostAdminPipelinesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipelines\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /brand-identities/default/tenant/:tenant_id operation on brand-identity resource\n *\n * /brand-identities/default/tenant/:tenant_id operation on brand-identity resource\n */\nexport const getAdminBrandIdentitiesDefaultTenantByTenantId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminBrandIdentitiesDefaultTenantByTenantIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminBrandIdentitiesDefaultTenantByTenantIdResponses,\n    GetAdminBrandIdentitiesDefaultTenantByTenantIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/brand-identities/default/tenant/{tenant_id}\",\n    ...options,\n  });\n\n/**\n * Soft-delete a contact by setting deleted_at\n *\n * Soft-delete a contact by setting deleted_at. The record remains in the database\n * for audit purposes but is excluded from all standard reads. Enqueues a Meilisearch\n * deletion job as a side effect. Use :archive instead to preserve the record visibly.\n *\n */\nexport const deleteAdminCrmContactsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmContactsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmContactsByIdResponses,\n    DeleteAdminCrmContactsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/contacts/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single active contact by ID; excludes soft-deleted records.\n *\n * Fetch a single active contact by ID; excludes soft-deleted records.\n */\nexport const getAdminCrmContactsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCrmContactsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmContactsByIdResponses,\n    GetAdminCrmContactsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/contacts/{id}\",\n    ...options,\n  });\n\n/**\n * Update mutable fields on an existing contact\n *\n * Update mutable fields on an existing contact. Validates custom field definitions\n * and re-indexes the record in Meilisearch. Use instead of :create when the contact\n * already exists. Returns the updated Contact struct.\n *\n */\nexport const patchAdminCrmContactsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminCrmContactsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmContactsByIdResponses,\n    PatchAdminCrmContactsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/contacts/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Confirm a user's email address using a confirmation token\n *\n * Confirm a user's email address using a confirmation token\n */\nexport const postAdminUsersAuthConfirm = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminUsersAuthConfirmData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminUsersAuthConfirmResponses,\n    PostAdminUsersAuthConfirmErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/auth/confirm\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a workspace-scoped ticket tag\n *\n * Create a workspace-scoped ticket tag. Name is unique per workspace. Tags are stored as strings on Ticket.tags array — use this to manage the tag registry.\n */\nexport const postAdminSupportTags = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSupportTagsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSupportTagsResponses,\n    PostAdminSupportTagsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/tags\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/notes/by-workspace operation on clinical-note resource\n *\n * /clinical/notes/by-workspace operation on clinical-note resource\n */\nexport const getAdminClinicalNotesByWorkspace = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalNotesByWorkspaceData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNotesByWorkspaceResponses,\n    GetAdminClinicalNotesByWorkspaceErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes/by-workspace\",\n    ...options,\n  });\n\n/**\n * /clinical/client-medications operation on clinical-client-medication resource\n *\n * /clinical/client-medications operation on clinical-client-medication resource\n */\nexport const getAdminClinicalClientMedications = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalClientMedicationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalClientMedicationsResponses,\n    GetAdminClinicalClientMedicationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-medications\",\n    ...options,\n  });\n\n/**\n * /clinical/client-medications operation on clinical-client-medication resource\n *\n * /clinical/client-medications operation on clinical-client-medication resource\n */\nexport const postAdminClinicalClientMedications = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalClientMedicationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalClientMedicationsResponses,\n    PostAdminClinicalClientMedicationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-medications\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Enqueue a bulk export job for audit logs\n *\n * Enqueue a bulk export job for audit logs. Returns job_id and enqueued status. Requires audit:write scope.\n */\nexport const postAdminAuditLogsExport = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAuditLogsExportData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAuditLogsExportResponses,\n    PostAdminAuditLogsExportErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/audit-logs/export\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Soft-delete a custom entity by setting deleted_at\n *\n * Soft-delete a custom entity by setting deleted_at. Excluded from standard reads after deletion. Version history is preserved.\n */\nexport const deleteAdminCrmCustomEntitiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmCustomEntitiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmCustomEntitiesByIdResponses,\n    DeleteAdminCrmCustomEntitiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/custom-entities/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single active custom entity by ID; excludes soft-deleted records.\n *\n * Fetch a single active custom entity by ID; excludes soft-deleted records.\n */\nexport const getAdminCrmCustomEntitiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrmCustomEntitiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmCustomEntitiesByIdResponses,\n    GetAdminCrmCustomEntitiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/custom-entities/{id}\",\n    ...options,\n  });\n\n/**\n * Update a custom entity's properties and pipeline assignment\n *\n * Update a custom entity's properties and pipeline assignment. Validates properties\n * against the type schema. Automatically creates a version snapshot via CreateEntityVersion\n * before persisting changes. Use :restore_version to roll back to a prior snapshot.\n *\n */\nexport const patchAdminCrmCustomEntitiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmCustomEntitiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmCustomEntitiesByIdResponses,\n    PatchAdminCrmCustomEntitiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/custom-entities/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/shopping-lists operation on recipes-shopping-list resource\n *\n * /recipes/shopping-lists operation on recipes-shopping-list resource\n */\nexport const postAdminRecipesShoppingLists = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminRecipesShoppingListsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesShoppingListsResponses,\n    PostAdminRecipesShoppingListsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/shopping-lists\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Increment usage for a feature by key\n *\n * Increment usage for a feature by key. Checks feature gate, enforces limits,\n * charges credits for credit_cost features, and records usage. Returns the\n * updated usage count and remaining allowance.\n *\n */\nexport const postAdminFeatureUsagesIncrement = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminFeatureUsagesIncrementData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminFeatureUsagesIncrementResponses,\n    PostAdminFeatureUsagesIncrementErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/feature-usages/increment\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /notification-preferences operation on notification-preference resource\n *\n * /notification-preferences operation on notification-preference resource\n */\nexport const getAdminNotificationPreferences = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminNotificationPreferencesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminNotificationPreferencesResponses,\n    GetAdminNotificationPreferencesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-preferences\",\n    ...options,\n  });\n\n/**\n * Create notification preferences for a user, specifying which delivery channels are enabled (e.g., email, SMS) and category-level opt-in/out settings\n *\n * Create notification preferences for a user, specifying which delivery channels are enabled (e.g., email, SMS) and category-level opt-in/out settings. Each user has at most one preference record (enforced by unique identity).\n */\nexport const postAdminNotificationPreferences = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminNotificationPreferencesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminNotificationPreferencesResponses,\n    PostAdminNotificationPreferencesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-preferences\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /business-associate-agreements/:id operation on business-associate-agreement resource\n *\n * /business-associate-agreements/:id operation on business-associate-agreement resource\n */\nexport const getAdminBusinessAssociateAgreementsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminBusinessAssociateAgreementsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBusinessAssociateAgreementsByIdResponses,\n    GetAdminBusinessAssociateAgreementsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/business-associate-agreements/{id}\",\n    ...options,\n  });\n\n/**\n * /business-associate-agreements/:id operation on business-associate-agreement resource\n *\n * /business-associate-agreements/:id operation on business-associate-agreement resource\n */\nexport const patchAdminBusinessAssociateAgreementsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminBusinessAssociateAgreementsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminBusinessAssociateAgreementsByIdResponses,\n    PatchAdminBusinessAssociateAgreementsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/business-associate-agreements/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Delete multiple training examples by ID in a single transaction\n *\n * Delete multiple training examples by ID in a single transaction. Filters by both `ids` and\n * `agent_id` to prevent cross-agent deletions. All deletes use SystemActor after the\n * action-level policy has already verified the caller has `extract:agent:train:all` permission.\n *\n * Returns `%{success: true}` on success.\n *\n */\nexport const postAdminTrainingExamplesBulkDelete = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminTrainingExamplesBulkDeleteData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTrainingExamplesBulkDeleteResponses,\n    PostAdminTrainingExamplesBulkDeleteErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-examples/bulk-delete\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Platform-wide analytics summary (platform admin only)\n *\n * Platform-wide analytics summary (platform admin only)\n */\nexport const getAdminLlmAnalyticsPlatform = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminLlmAnalyticsPlatformData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLlmAnalyticsPlatformResponses,\n    GetAdminLlmAnalyticsPlatformErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/llm-analytics/platform\",\n    ...options,\n  });\n\n/**\n * /credit-packages/:id operation on credit-package resource\n *\n * /credit-packages/:id operation on credit-package resource\n */\nexport const deleteAdminCreditPackagesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCreditPackagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCreditPackagesByIdResponses,\n    DeleteAdminCreditPackagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/credit-packages/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single credit package by its UUID\n *\n * Fetch a single credit package by its UUID. Use when you already know the package ID\n * (e.g., after the user selects a package in the UI). Use read_by_slug when looking up\n * by human-readable identifier. Returns the full package record including price and credit amount.\n *\n */\nexport const getAdminCreditPackagesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCreditPackagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCreditPackagesByIdResponses,\n    GetAdminCreditPackagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/credit-packages/{id}\",\n    ...options,\n  });\n\n/**\n * Update an existing credit package's name, price, or credit amount\n *\n * Update an existing credit package's name, price, or credit amount. Use when repricing a\n * bundle or correcting a catalog entry. Changes take effect for future purchases immediately;\n * past transactions are not affected.\n *\n * Requires Platform Admin role. The slug is immutable after creation.\n *\n */\nexport const patchAdminCreditPackagesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCreditPackagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCreditPackagesByIdResponses,\n    PatchAdminCreditPackagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/credit-packages/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/collection-recipes operation on recipes-collection-recipe resource\n *\n * /recipes/collection-recipes operation on recipes-collection-recipe resource\n */\nexport const postAdminRecipesCollectionRecipes = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminRecipesCollectionRecipesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesCollectionRecipesResponses,\n    PostAdminRecipesCollectionRecipesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/collection-recipes\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-supplements/:id/permanent operation on clinical-client-supplement resource\n *\n * /clinical/client-supplements/:id/permanent operation on clinical-client-supplement resource\n */\nexport const deleteAdminClinicalClientSupplementsByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalClientSupplementsByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalClientSupplementsByIdPermanentResponses,\n    DeleteAdminClinicalClientSupplementsByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-supplements/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * /extraction-workflows/:id operation on extraction-workflow resource\n *\n * /extraction-workflows/:id operation on extraction-workflow resource\n */\nexport const deleteAdminExtractionWorkflowsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminExtractionWorkflowsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminExtractionWorkflowsByIdResponses,\n    DeleteAdminExtractionWorkflowsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction-workflows/{id}\",\n    ...options,\n  });\n\n/**\n * /extraction-workflows/:id operation on extraction-workflow resource\n *\n * /extraction-workflows/:id operation on extraction-workflow resource\n */\nexport const getAdminExtractionWorkflowsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionWorkflowsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionWorkflowsByIdResponses,\n    GetAdminExtractionWorkflowsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction-workflows/{id}\",\n    ...options,\n  });\n\n/**\n * /extraction-workflows/:id operation on extraction-workflow resource\n *\n * /extraction-workflows/:id operation on extraction-workflow resource\n */\nexport const patchAdminExtractionWorkflowsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminExtractionWorkflowsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionWorkflowsByIdResponses,\n    PatchAdminExtractionWorkflowsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction-workflows/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /extraction/schema-discoveries operation on schema-discovery resource\n *\n * /extraction/schema-discoveries operation on schema-discovery resource\n */\nexport const postAdminExtractionSchemaDiscoveries = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminExtractionSchemaDiscoveriesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminExtractionSchemaDiscoveriesResponses,\n    PostAdminExtractionSchemaDiscoveriesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/schema-discoveries\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /compliance-document-templates operation on compliance-document-template resource\n *\n * /compliance-document-templates operation on compliance-document-template resource\n */\nexport const getAdminComplianceDocumentTemplates = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminComplianceDocumentTemplatesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminComplianceDocumentTemplatesResponses,\n    GetAdminComplianceDocumentTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-document-templates\",\n    ...options,\n  });\n\n/**\n * /compliance-document-templates operation on compliance-document-template resource\n *\n * /compliance-document-templates operation on compliance-document-template resource\n */\nexport const postAdminComplianceDocumentTemplates = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminComplianceDocumentTemplatesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminComplianceDocumentTemplatesResponses,\n    PostAdminComplianceDocumentTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-document-templates\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-tools/catalog/:id/restore operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/catalog/:id/restore operation on clinical-practice-tool resource\n */\nexport const patchAdminClinicalPracticeToolsCatalogByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalPracticeToolsCatalogByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPracticeToolsCatalogByIdRestoreResponses,\n    PatchAdminClinicalPracticeToolsCatalogByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/catalog/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Assign a product to a taxonomy node with source tracking (manual, ai_suggested, or ai_auto)\n *\n * Assign a product to a taxonomy node with source tracking (manual, ai_suggested, or ai_auto). Returns the created classification.\n */\nexport const postAdminCatalogProductClassifications = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCatalogProductClassificationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogProductClassificationsResponses,\n    PostAdminCatalogProductClassificationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/product-classifications\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /campaigns/sequences/:id/pause operation on email-marketing-sequence resource\n *\n * /campaigns/sequences/:id/pause operation on email-marketing-sequence resource\n */\nexport const patchAdminCampaignsSequencesByIdPause = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCampaignsSequencesByIdPauseData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCampaignsSequencesByIdPauseResponses,\n    PatchAdminCampaignsSequencesByIdPauseErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequences/{id}/pause\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /voice/sessions operation on voice-session resource\n *\n * /voice/sessions operation on voice-session resource\n */\nexport const getAdminVoiceSessions = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminVoiceSessionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceSessionsResponses,\n    GetAdminVoiceSessionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/sessions\",\n    ...options,\n  });\n\n/**\n * Start a new voice session with LiveKit room provisioning\n *\n * Start a new voice session with LiveKit room provisioning\n */\nexport const postAdminVoiceSessions = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminVoiceSessionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminVoiceSessionsResponses,\n    PostAdminVoiceSessionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/sessions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/:id/mark-paid operation on invoices-invoice resource\n *\n * /invoices/:id/mark-paid operation on invoices-invoice resource\n */\nexport const patchAdminInvoicesByIdMarkPaid = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesByIdMarkPaidData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesByIdMarkPaidResponses,\n    PatchAdminInvoicesByIdMarkPaidErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}/mark-paid\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/notes/:id/archive operation on clinical-note resource\n *\n * /clinical/notes/:id/archive operation on clinical-note resource\n */\nexport const patchAdminClinicalNotesByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalNotesByIdArchiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalNotesByIdArchiveResponses,\n    PatchAdminClinicalNotesByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch all chunks for a document sorted by chunk_index ascending; equivalent to read_by_document — use for JSON:API access via /ai/chunks/document/:document_id.\n *\n * Fetch all chunks for a document sorted by chunk_index ascending; equivalent to read_by_document — use for JSON:API access via /ai/chunks/document/:document_id.\n */\nexport const getAdminAiChunksDocumentByDocumentId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAiChunksDocumentByDocumentIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAiChunksDocumentByDocumentIdResponses,\n    GetAdminAiChunksDocumentByDocumentIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/chunks/document/{document_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/note-templates/archived operation on clinical-note-template resource\n *\n * /clinical/note-templates/archived operation on clinical-note-template resource\n */\nexport const getAdminClinicalNoteTemplatesArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalNoteTemplatesArchivedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNoteTemplatesArchivedResponses,\n    GetAdminClinicalNoteTemplatesArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/archived\",\n    ...options,\n  });\n\n/**\n * /invoices/:id/mark-viewed operation on invoices-invoice resource\n *\n * /invoices/:id/mark-viewed operation on invoices-invoice resource\n */\nexport const patchAdminInvoicesByIdMarkViewed = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesByIdMarkViewedData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesByIdMarkViewedResponses,\n    PatchAdminInvoicesByIdMarkViewedErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}/mark-viewed\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/note-templates/catalog/:id/permanent operation on clinical-note-template resource\n *\n * /clinical/note-templates/catalog/:id/permanent operation on clinical-note-template resource\n */\nexport const deleteAdminClinicalNoteTemplatesCatalogByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalNoteTemplatesCatalogByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalNoteTemplatesCatalogByIdPermanentResponses,\n    DeleteAdminClinicalNoteTemplatesCatalogByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/catalog/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * Activate a system message so it is visible to all authenticated users\n *\n * Activate a system message so it is visible to all authenticated users. Sets `is_active: true` and records `published_at` on first publish (preserved on subsequent re-activations).\n */\nexport const patchAdminSystemMessagesByIdPublish = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSystemMessagesByIdPublishData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSystemMessagesByIdPublishResponses,\n    PatchAdminSystemMessagesByIdPublishErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/system-messages/{id}/publish\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Generate A/B test subject line variants using AI\n *\n * Generate A/B test subject line variants using AI\n */\nexport const postAdminEmailMarketingCampaignsByIdOptimizeSubjects = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminEmailMarketingCampaignsByIdOptimizeSubjectsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailMarketingCampaignsByIdOptimizeSubjectsResponses,\n    PostAdminEmailMarketingCampaignsByIdOptimizeSubjectsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/campaigns/{id}/optimize-subjects\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List active activities in a workspace with offset pagination\n *\n * List active activities in a workspace with offset pagination. Use instead of :read for workspace-scoped paginated listings.\n */\nexport const getAdminCrmActivitiesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmActivitiesWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmActivitiesWorkspaceByWorkspaceIdResponses,\n    GetAdminCrmActivitiesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/activities/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Create an organization tenant (is_personal: false)\n *\n * Create an organization tenant (is_personal: false). Requires allow_org_creation on the Application.\n */\nexport const postAdminTenantsOrg = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminTenantsOrgData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTenantsOrgResponses,\n    PostAdminTenantsOrgErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/org\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /brand-identities/:id/unset-default operation on brand-identity resource\n *\n * /brand-identities/:id/unset-default operation on brand-identity resource\n */\nexport const patchAdminBrandIdentitiesByIdUnsetDefault = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminBrandIdentitiesByIdUnsetDefaultData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminBrandIdentitiesByIdUnsetDefaultResponses,\n    PatchAdminBrandIdentitiesByIdUnsetDefaultErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/brand-identities/{id}/unset-default\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get webhook configuration statistics scoped to the caller's application\n *\n * Get webhook configuration statistics scoped to the caller's application. Platform admins and internal callers see platform-wide totals.\n */\nexport const getAdminWebhookConfigsStats = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWebhookConfigsStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWebhookConfigsStatsResponses,\n    GetAdminWebhookConfigsStatsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-configs/stats\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-templates/:id/permanent operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/:id/permanent operation on clinical-goal-template resource\n */\nexport const deleteAdminClinicalGoalTemplatesByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalGoalTemplatesByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalGoalTemplatesByIdPermanentResponses,\n    DeleteAdminClinicalGoalTemplatesByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * /email/recipients/:id operation on email-recipient resource\n *\n * /email/recipients/:id operation on email-recipient resource\n */\nexport const deleteAdminEmailRecipientsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminEmailRecipientsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminEmailRecipientsByIdResponses,\n    DeleteAdminEmailRecipientsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/recipients/{id}\",\n    ...options,\n  });\n\n/**\n * /email/recipients/:id operation on email-recipient resource\n *\n * /email/recipients/:id operation on email-recipient resource\n */\nexport const getAdminEmailRecipientsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminEmailRecipientsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailRecipientsByIdResponses,\n    GetAdminEmailRecipientsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/recipients/{id}\",\n    ...options,\n  });\n\n/**\n * List transcription results for a voice session\n *\n * List transcription results for a voice session\n */\nexport const getAdminVoiceTranscriptionResultsSessionBySessionId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminVoiceTranscriptionResultsSessionBySessionIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceTranscriptionResultsSessionBySessionIdResponses,\n    GetAdminVoiceTranscriptionResultsSessionBySessionIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/transcription-results/session/{session_id}\",\n    ...options,\n  });\n\n/**\n * Fetch all permissions and apply any query filters supplied by the caller; use :by_id for single-record lookup by permission ID string.\n *\n * Fetch all permissions and apply any query filters supplied by the caller; use :by_id for single-record lookup by permission ID string.\n */\nexport const getAdminPermissionsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPermissionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPermissionsByIdResponses,\n    GetAdminPermissionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/permissions/{id}\",\n    ...options,\n  });\n\n/**\n * Reopen a resolved or closed ticket, setting status back to :open\n *\n * Reopen a resolved or closed ticket, setting status back to :open. Validated by ValidStatusTransition. Use when a customer reports the issue recurs after resolution.\n */\nexport const patchAdminSupportTicketsByIdReopen = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSupportTicketsByIdReopenData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSupportTicketsByIdReopenResponses,\n    PatchAdminSupportTicketsByIdReopenErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/tickets/{id}/reopen\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /brand-identities/default/workspace/:workspace_id operation on brand-identity resource\n *\n * /brand-identities/default/workspace/:workspace_id operation on brand-identity resource\n */\nexport const getAdminBrandIdentitiesDefaultWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminBrandIdentitiesDefaultWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminBrandIdentitiesDefaultWorkspaceByWorkspaceIdResponses,\n    GetAdminBrandIdentitiesDefaultWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/brand-identities/default/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /portal-change-requests operation on portal-change-request resource\n *\n * /portal-change-requests operation on portal-change-request resource\n */\nexport const getAdminPortalChangeRequests = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPortalChangeRequestsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPortalChangeRequestsResponses,\n    GetAdminPortalChangeRequestsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/portal-change-requests\",\n    ...options,\n  });\n\n/**\n * /isv/crm/channel-capture-config/:id operation on crm-channel-capture-config resource\n *\n * /isv/crm/channel-capture-config/:id operation on crm-channel-capture-config resource\n */\nexport const getAdminIsvCrmChannelCaptureConfigById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminIsvCrmChannelCaptureConfigByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminIsvCrmChannelCaptureConfigByIdResponses,\n    GetAdminIsvCrmChannelCaptureConfigByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv/crm/channel-capture-config/{id}\",\n    ...options,\n  });\n\n/**\n * Update channel capture settings for a workspace\n *\n * Update channel capture settings for a workspace. Invalidates the 60-second CRM cache after the update so CaptureInteractionWorker picks up the new config.\n */\nexport const patchAdminIsvCrmChannelCaptureConfigById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminIsvCrmChannelCaptureConfigByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminIsvCrmChannelCaptureConfigByIdResponses,\n    PatchAdminIsvCrmChannelCaptureConfigByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv/crm/channel-capture-config/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch both legs of a double-entry transaction by transaction_id\n *\n * Fetch both legs of a double-entry transaction by transaction_id. Returns the paired movements.\n */\nexport const getAdminCatalogStockMovementsTransactionByTransactionId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogStockMovementsTransactionByTransactionIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogStockMovementsTransactionByTransactionIdResponses,\n    GetAdminCatalogStockMovementsTransactionByTransactionIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/stock-movements/transaction/{transaction_id}\",\n    ...options,\n  });\n\n/**\n * Verify a notification method by submitting the 6-digit code received via :send_verification\n *\n * Verify a notification method by submitting the 6-digit code received via :send_verification. The token must match and not be expired.\n */\nexport const patchAdminNotificationMethodsByIdVerify = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminNotificationMethodsByIdVerifyData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminNotificationMethodsByIdVerifyResponses,\n    PatchAdminNotificationMethodsByIdVerifyErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-methods/{id}/verify\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /users operation on user resource\n *\n * /users operation on user resource\n */\nexport const getAdminUsers = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUsersData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUsersResponses,\n    GetAdminUsersErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users\",\n    ...options,\n  });\n\n/**\n * Export thread with messages to JSON, Markdown, or plain text format\n *\n * Export thread with messages to JSON, Markdown, or plain text format\n */\nexport const postAdminThreadsByIdExport = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminThreadsByIdExportData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminThreadsByIdExportResponses,\n    PostAdminThreadsByIdExportErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/{id}/export\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Archive a thread by setting `archived_at` to the current timestamp\n *\n * Archive a thread by setting `archived_at` to the current timestamp. Archived threads are hidden from the default list but remain readable. Use :unarchive to restore.\n */\nexport const patchAdminThreadsByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminThreadsByIdArchiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminThreadsByIdArchiveResponses,\n    PatchAdminThreadsByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Vector similarity search across document chunks using a generated embedding of the query\n *\n * Vector similarity search across document chunks using a generated embedding of the query. Results are ranked by cosine similarity. Use this for natural-language queries; use :search for keyword-based lookups.\n */\nexport const getAdminSearchSemantic = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSearchSemanticData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSearchSemanticResponses,\n    GetAdminSearchSemanticErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/semantic\",\n    ...options,\n  });\n\n/**\n * /invoices/recurring-schedules/:id/pause operation on invoices-recurring-schedule resource\n *\n * /invoices/recurring-schedules/:id/pause operation on invoices-recurring-schedule resource\n */\nexport const patchAdminInvoicesRecurringSchedulesByIdPause = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminInvoicesRecurringSchedulesByIdPauseData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesRecurringSchedulesByIdPauseResponses,\n    PatchAdminInvoicesRecurringSchedulesByIdPauseErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/recurring-schedules/{id}/pause\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List templates in a collection\n *\n * List templates in a collection\n */\nexport const getAdminClinicalGoalTemplateCollectionMembershipsCollectionByCollectionId =\n  <ThrowOnError extends boolean = false>(\n    options: Options<\n      GetAdminClinicalGoalTemplateCollectionMembershipsCollectionByCollectionIdData,\n      ThrowOnError\n    >,\n  ) =>\n    (options.client ?? client).get<\n      GetAdminClinicalGoalTemplateCollectionMembershipsCollectionByCollectionIdResponses,\n      GetAdminClinicalGoalTemplateCollectionMembershipsCollectionByCollectionIdErrors,\n      ThrowOnError\n    >({\n      querySerializer: {\n        parameters: {\n          filter: { object: { style: \"form\" } },\n          page: { object: { style: \"form\" } },\n          fields: { object: { style: \"form\" } },\n        },\n      },\n      security: [{ scheme: \"bearer\", type: \"http\" }],\n      url: \"/admin/clinical/goal-template-collection-memberships/collection/{collection_id}\",\n      ...options,\n    });\n\n/**\n * /email/inbound/received/:id operation on email-inbound-email resource\n *\n * /email/inbound/received/:id operation on email-inbound-email resource\n */\nexport const getAdminEmailInboundReceivedById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminEmailInboundReceivedByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailInboundReceivedByIdResponses,\n    GetAdminEmailInboundReceivedByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inbound/received/{id}\",\n    ...options,\n  });\n\n/**\n * List all transactions belonging to the current tenant, filtered to the actor's tenant\n * context\n *\n * List all transactions belonging to the current tenant, filtered to the actor's tenant\n * context. Use this for a tenant's transaction history page (subscriptions, top-ups, refunds).\n * Returns transactions in reverse-chronological order with status, amount, and operation type.\n * Requires Tenant Owner role.\n *\n */\nexport const getAdminTransactions = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminTransactionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTransactionsResponses,\n    GetAdminTransactionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/transactions\",\n    ...options,\n  });\n\n/**\n * Get usage breakdown by workspace\n *\n * Get usage breakdown by workspace\n */\nexport const getAdminWalletUsageBreakdown = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWalletUsageBreakdownData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWalletUsageBreakdownResponses,\n    GetAdminWalletUsageBreakdownErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/usage-breakdown\",\n    ...options,\n  });\n\n/**\n * Get dashboard data for the user's tenant context\n *\n * Get dashboard data for the user's tenant context\n */\nexport const getAdminUsersMeDashboard = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUsersMeDashboardData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUsersMeDashboardResponses,\n    GetAdminUsersMeDashboardErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/me/dashboard\",\n    ...options,\n  });\n\n/**\n * /business-associate-agreements/:id/terminate operation on business-associate-agreement resource\n *\n * /business-associate-agreements/:id/terminate operation on business-associate-agreement resource\n */\nexport const patchAdminBusinessAssociateAgreementsByIdTerminate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminBusinessAssociateAgreementsByIdTerminateData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminBusinessAssociateAgreementsByIdTerminateResponses,\n    PatchAdminBusinessAssociateAgreementsByIdTerminateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/business-associate-agreements/{id}/terminate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get performance metrics for this version\n *\n * Get performance metrics for this version\n */\nexport const getAdminAgentVersionsByIdMetrics = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAgentVersionsByIdMetricsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentVersionsByIdMetricsResponses,\n    GetAdminAgentVersionsByIdMetricsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-versions/{id}/metrics\",\n    ...options,\n  });\n\n/**\n * Reject a pending classification suggestion; sets status to :rejected with no cascading effects.\n *\n * Reject a pending classification suggestion; sets status to :rejected with no cascading effects.\n */\nexport const patchAdminCatalogClassificationSuggestionsByIdReject = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminCatalogClassificationSuggestionsByIdRejectData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogClassificationSuggestionsByIdRejectResponses,\n    PatchAdminCatalogClassificationSuggestionsByIdRejectErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/classification-suggestions/{id}/reject\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Set which system fields are included in this version's output_schema (batch operation)\n *\n * Set which system fields are included in this version's output_schema (batch operation)\n */\nexport const postAdminAgentVersionsByIdSetSystemFields = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminAgentVersionsByIdSetSystemFieldsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentVersionsByIdSetSystemFieldsResponses,\n    PostAdminAgentVersionsByIdSetSystemFieldsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-versions/{id}/set-system-fields\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/supplement-templates/catalog/archived operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/catalog/archived operation on clinical-supplement-template resource\n */\nexport const getAdminClinicalSupplementTemplatesCatalogArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalSupplementTemplatesCatalogArchivedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSupplementTemplatesCatalogArchivedResponses,\n    GetAdminClinicalSupplementTemplatesCatalogArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/catalog/archived\",\n    ...options,\n  });\n\n/**\n * /compliance-requirements operation on compliance-requirement resource\n *\n * /compliance-requirements operation on compliance-requirement resource\n */\nexport const getAdminComplianceRequirements = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminComplianceRequirementsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminComplianceRequirementsResponses,\n    GetAdminComplianceRequirementsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-requirements\",\n    ...options,\n  });\n\n/**\n * /compliance-requirements operation on compliance-requirement resource\n *\n * /compliance-requirements operation on compliance-requirement resource\n */\nexport const postAdminComplianceRequirements = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminComplianceRequirementsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminComplianceRequirementsResponses,\n    PostAdminComplianceRequirementsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-requirements\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/accounts/:id/enable-posting operation on social-account resource\n *\n * /social/accounts/:id/enable-posting operation on social-account resource\n */\nexport const patchAdminSocialAccountsByIdEnablePosting = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSocialAccountsByIdEnablePostingData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialAccountsByIdEnablePostingResponses,\n    PatchAdminSocialAccountsByIdEnablePostingErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/accounts/{id}/enable-posting\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /consent-records operation on consent-record resource\n *\n * /consent-records operation on consent-record resource\n */\nexport const getAdminConsentRecords = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminConsentRecordsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminConsentRecordsResponses,\n    GetAdminConsentRecordsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/consent-records\",\n    ...options,\n  });\n\n/**\n * Record a new consent grant for a specific processing purpose (AI document processing, analytics, marketing, or third-party sharing)\n *\n * Record a new consent grant for a specific processing purpose (AI document processing, analytics, marketing, or third-party sharing). Sets status to `:granted` with the current timestamp. Use :withdraw when the user revokes consent.\n */\nexport const postAdminConsentRecords = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminConsentRecordsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConsentRecordsResponses,\n    PostAdminConsentRecordsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/consent-records\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/campaigns operation on campaign resource\n *\n * /email-marketing/campaigns operation on campaign resource\n */\nexport const postAdminEmailMarketingCampaigns = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminEmailMarketingCampaignsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailMarketingCampaignsResponses,\n    PostAdminEmailMarketingCampaignsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/campaigns\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /reviews/:id/approve operation on review resource\n *\n * /reviews/:id/approve operation on review resource\n */\nexport const patchAdminReviewsByIdApprove = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminReviewsByIdApproveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminReviewsByIdApproveResponses,\n    PatchAdminReviewsByIdApproveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/reviews/{id}/approve\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch a single version by ID, scoped to a specific entity (IDOR-safe)\n *\n * Fetch a single version by ID, scoped to a specific entity (IDOR-safe)\n */\nexport const getAdminCrmCustomEntitiesByEntityIdVersionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmCustomEntitiesByEntityIdVersionsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmCustomEntitiesByEntityIdVersionsByIdResponses,\n    GetAdminCrmCustomEntitiesByEntityIdVersionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/custom-entities/{entity_id}/versions/{id}\",\n    ...options,\n  });\n\n/**\n * Archive an orphan or inactive tenant\n *\n * Archive an orphan or inactive tenant. Preserves data but marks as archived.\n */\nexport const patchAdminTenantsByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminTenantsByIdArchiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTenantsByIdArchiveResponses,\n    PatchAdminTenantsByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all queue members across all queues for an application\n *\n * List all queue members across all queues for an application. Use for application-wide agent roster views or bulk availability updates.\n */\nexport const getAdminSupportQueueMembersApplicationByApplicationId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSupportQueueMembersApplicationByApplicationIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportQueueMembersApplicationByApplicationIdResponses,\n    GetAdminSupportQueueMembersApplicationByApplicationIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/queue-members/application/{application_id}\",\n    ...options,\n  });\n\n/**\n * /email/inbound-addresses/:id operation on email-inbound-address resource\n *\n * /email/inbound-addresses/:id operation on email-inbound-address resource\n */\nexport const deleteAdminEmailInboundAddressesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminEmailInboundAddressesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminEmailInboundAddressesByIdResponses,\n    DeleteAdminEmailInboundAddressesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inbound-addresses/{id}\",\n    ...options,\n  });\n\n/**\n * /email/inbound-addresses/:id operation on email-inbound-address resource\n *\n * /email/inbound-addresses/:id operation on email-inbound-address resource\n */\nexport const getAdminEmailInboundAddressesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminEmailInboundAddressesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailInboundAddressesByIdResponses,\n    GetAdminEmailInboundAddressesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inbound-addresses/{id}\",\n    ...options,\n  });\n\n/**\n * /email/inbound-addresses/:id operation on email-inbound-address resource\n *\n * /email/inbound-addresses/:id operation on email-inbound-address resource\n */\nexport const patchAdminEmailInboundAddressesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminEmailInboundAddressesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailInboundAddressesByIdResponses,\n    PatchAdminEmailInboundAddressesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inbound-addresses/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Vector similarity search across messages using a generated embedding of the query string\n *\n * Vector similarity search across messages using a generated embedding of the query string. Optionally filter to a single thread via :thread_id. Returns up to `limit` messages ranked by cosine similarity (threshold > 0.6).\n */\nexport const getAdminMessagesSemanticSearch = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminMessagesSemanticSearchData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminMessagesSemanticSearchResponses,\n    GetAdminMessagesSemanticSearchErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/messages/semantic-search\",\n    ...options,\n  });\n\n/**\n * /clinical/health-metrics/:id/restore operation on clinical-health-metric resource\n *\n * /clinical/health-metrics/:id/restore operation on clinical-health-metric resource\n */\nexport const patchAdminClinicalHealthMetricsByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalHealthMetricsByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalHealthMetricsByIdRestoreResponses,\n    PatchAdminClinicalHealthMetricsByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/health-metrics/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /settlement-statements operation on settlement-statement resource\n *\n * /settlement-statements operation on settlement-statement resource\n */\nexport const getAdminSettlementStatements = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSettlementStatementsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSettlementStatementsResponses,\n    GetAdminSettlementStatementsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlement-statements\",\n    ...options,\n  });\n\n/**\n * /connectors/oauth-app-configs operation on oauth-app-config resource\n *\n * /connectors/oauth-app-configs operation on oauth-app-config resource\n */\nexport const getAdminConnectorsOauthAppConfigs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminConnectorsOauthAppConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminConnectorsOauthAppConfigsResponses,\n    GetAdminConnectorsOauthAppConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/oauth-app-configs\",\n    ...options,\n  });\n\n/**\n * /connectors/oauth-app-configs operation on oauth-app-config resource\n *\n * /connectors/oauth-app-configs operation on oauth-app-config resource\n */\nexport const postAdminConnectorsOauthAppConfigs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminConnectorsOauthAppConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsOauthAppConfigsResponses,\n    PostAdminConnectorsOauthAppConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/oauth-app-configs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /campaigns/sequence-steps/sequence/:sequence_id operation on email-marketing-sequence-step resource\n *\n * /campaigns/sequence-steps/sequence/:sequence_id operation on email-marketing-sequence-step resource\n */\nexport const getAdminCampaignsSequenceStepsSequenceBySequenceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCampaignsSequenceStepsSequenceBySequenceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCampaignsSequenceStepsSequenceBySequenceIdResponses,\n    GetAdminCampaignsSequenceStepsSequenceBySequenceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequence-steps/sequence/{sequence_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-resources/:id/permanent operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/:id/permanent operation on clinical-practice-resource resource\n */\nexport const deleteAdminClinicalPracticeResourcesByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalPracticeResourcesByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalPracticeResourcesByIdPermanentResponses,\n    DeleteAdminClinicalPracticeResourcesByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * /clinical/sessions/:id operation on clinical-session resource\n *\n * /clinical/sessions/:id operation on clinical-session resource\n */\nexport const deleteAdminClinicalSessionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminClinicalSessionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalSessionsByIdResponses,\n    DeleteAdminClinicalSessionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/sessions/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/sessions/:id operation on clinical-session resource\n *\n * /clinical/sessions/:id operation on clinical-session resource\n */\nexport const getAdminClinicalSessionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalSessionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSessionsByIdResponses,\n    GetAdminClinicalSessionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/sessions/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/sessions/:id operation on clinical-session resource\n *\n * /clinical/sessions/:id operation on clinical-session resource\n */\nexport const patchAdminClinicalSessionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalSessionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalSessionsByIdResponses,\n    PatchAdminClinicalSessionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/sessions/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Return Meilisearch database size and per-index document counts\n *\n * Return Meilisearch database size and per-index document counts. Useful for capacity planning and verifying indexing completeness.\n */\nexport const getAdminSearchStats = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSearchStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSearchStatsResponses,\n    GetAdminSearchStatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/stats\",\n    ...options,\n  });\n\n/**\n * List all preferences for the current user in the current workspace\n *\n * List all preferences for the current user in the current workspace\n */\nexport const getAdminPreferences = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPreferencesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPreferencesResponses,\n    GetAdminPreferencesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/preferences\",\n    ...options,\n  });\n\n/**\n * List all currently granted (non-withdrawn) consents for a given user\n *\n * List all currently granted (non-withdrawn) consents for a given user. Use this to determine which processing activities the user has authorized before performing them.\n */\nexport const getAdminConsentRecordsActive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminConsentRecordsActiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminConsentRecordsActiveResponses,\n    GetAdminConsentRecordsActiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/consent-records/active\",\n    ...options,\n  });\n\n/**\n * /connectors/sync-logs operation on sync-log resource\n *\n * /connectors/sync-logs operation on sync-log resource\n */\nexport const getAdminConnectorsSyncLogs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminConnectorsSyncLogsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminConnectorsSyncLogsResponses,\n    GetAdminConnectorsSyncLogsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/sync-logs\",\n    ...options,\n  });\n\n/**\n * /platform-tones/:id operation on platform-tone resource\n *\n * /platform-tones/:id operation on platform-tone resource\n */\nexport const deleteAdminPlatformTonesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminPlatformTonesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminPlatformTonesByIdResponses,\n    DeleteAdminPlatformTonesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/platform-tones/{id}\",\n    ...options,\n  });\n\n/**\n * /platform-tones/:id operation on platform-tone resource\n *\n * /platform-tones/:id operation on platform-tone resource\n */\nexport const getAdminPlatformTonesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPlatformTonesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPlatformTonesByIdResponses,\n    GetAdminPlatformTonesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/platform-tones/{id}\",\n    ...options,\n  });\n\n/**\n * /platform-tones/:id operation on platform-tone resource\n *\n * /platform-tones/:id operation on platform-tone resource\n */\nexport const patchAdminPlatformTonesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPlatformTonesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPlatformTonesByIdResponses,\n    PatchAdminPlatformTonesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/platform-tones/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a new email address for a contact or company\n *\n * Create a new email address for a contact or company. Validates email format and enforces workspace-level uniqueness.\n */\nexport const postAdminCrmEmailAddresses = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCrmEmailAddressesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmEmailAddressesResponses,\n    PostAdminCrmEmailAddressesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/email-addresses\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Add a stage to a pipeline with an explicit sort order, optional win probability, and forecast category\n *\n * Add a stage to a pipeline with an explicit sort order, optional win probability, and forecast category. Order must be unique within the pipeline.\n */\nexport const postAdminCrmPipelineStages = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCrmPipelineStagesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmPipelineStagesResponses,\n    PostAdminCrmPipelineStagesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/pipeline-stages\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Add a predefined system field to this version's output_schema\n *\n * Add a predefined system field to this version's output_schema\n */\nexport const postAdminAgentVersionsByIdAddSystemField = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminAgentVersionsByIdAddSystemFieldData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentVersionsByIdAddSystemFieldResponses,\n    PostAdminAgentVersionsByIdAddSystemFieldErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-versions/{id}/add-system-field\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all workspaces where the authenticated user has a direct workspace membership\n *\n * List all workspaces where the authenticated user has a direct workspace membership. Excludes archived workspaces and workspaces belonging to deactivated tenants. Use :read_shared for workspaces from external organizations.\n */\nexport const getAdminWorkspacesMine = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminWorkspacesMineData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspacesMineResponses,\n    GetAdminWorkspacesMineErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/mine\",\n    ...options,\n  });\n\n/**\n * /social/trending/items/:id operation on trending-snapshot-item resource\n *\n * /social/trending/items/:id operation on trending-snapshot-item resource\n */\nexport const getAdminSocialTrendingItemsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSocialTrendingItemsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialTrendingItemsByIdResponses,\n    GetAdminSocialTrendingItemsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/trending/items/{id}\",\n    ...options,\n  });\n\n/**\n * /field-templates/:id operation on field-template resource\n *\n * /field-templates/:id operation on field-template resource\n */\nexport const deleteAdminFieldTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminFieldTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminFieldTemplatesByIdResponses,\n    DeleteAdminFieldTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/field-templates/{id}\",\n    ...options,\n  });\n\n/**\n * /field-templates/:id operation on field-template resource\n *\n * /field-templates/:id operation on field-template resource\n */\nexport const getAdminFieldTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminFieldTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFieldTemplatesByIdResponses,\n    GetAdminFieldTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/field-templates/{id}\",\n    ...options,\n  });\n\n/**\n * Hard-delete an availability rule\n *\n * Hard-delete an availability rule. Use :remove_date_override to remove only a specific date override from an existing rule. No side effects.\n */\nexport const deleteAdminSchedulingAvailabilityRulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminSchedulingAvailabilityRulesByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSchedulingAvailabilityRulesByIdResponses,\n    DeleteAdminSchedulingAvailabilityRulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/availability-rules/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single availability rule by ID\n *\n * Fetch a single availability rule by ID. Returns full rule with weekly_schedule and date_overrides embeds.\n */\nexport const getAdminSchedulingAvailabilityRulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingAvailabilityRulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingAvailabilityRulesByIdResponses,\n    GetAdminSchedulingAvailabilityRulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/availability-rules/{id}\",\n    ...options,\n  });\n\n/**\n * Update an availability rule's schedule, date overrides, or active period\n *\n * Update an availability rule's schedule, date overrides, or active period. Use :set_weekly_hours/:add_date_override/:remove_date_override for structured schedule management via AI tools.\n */\nexport const patchAdminSchedulingAvailabilityRulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSchedulingAvailabilityRulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingAvailabilityRulesByIdResponses,\n    PatchAdminSchedulingAvailabilityRulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/availability-rules/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all subscription plans and add-ons available in the system\n *\n * List all subscription plans and add-ons available in the system. Use this to display a\n * plan selection UI or to enumerate all plans for management. Returns both base plans\n * (is_addon: false) and add-ons (is_addon: true), scoped to the calling application.\n *\n * Supports keyset and offset pagination. Readable by anyone (unauthenticated).\n *\n */\nexport const getAdminPlans = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPlansData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPlansResponses,\n    GetAdminPlansErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plans\",\n    ...options,\n  });\n\n/**\n * Create a new subscription plan or add-on for an application\n *\n * Create a new subscription plan or add-on for an application. Sets pricing, monthly credit\n * allocation, storage limits, and billing interval. Use this during ISV onboarding or when\n * launching a new pricing tier. Scoped to an application via application_id (inferred from\n * the x-application-key header when not provided).\n *\n * Requires Platform Admin or Application Owner role. Returns the created plan record.\n *\n */\nexport const postAdminPlans = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminPlansData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPlansResponses,\n    PostAdminPlansErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plans\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/intake-targets/archived operation on clinical-intake-target resource\n *\n * /clinical/intake-targets/archived operation on clinical-intake-target resource\n */\nexport const getAdminClinicalIntakeTargetsArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalIntakeTargetsArchivedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalIntakeTargetsArchivedResponses,\n    GetAdminClinicalIntakeTargetsArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/intake-targets/archived\",\n    ...options,\n  });\n\n/**\n * /clinical/note-templates/:id/archive operation on clinical-note-template resource\n *\n * /clinical/note-templates/:id/archive operation on clinical-note-template resource\n */\nexport const patchAdminClinicalNoteTemplatesByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalNoteTemplatesByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalNoteTemplatesByIdArchiveResponses,\n    PatchAdminClinicalNoteTemplatesByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Step 1 of 2 in the two-step upload flow\n *\n * Step 1 of 2 in the two-step upload flow. Reserves a presigned S3 PUT URL for the client to\n * upload the file directly to object storage. Credits are checked at this point (Layer 1 of\n * the three-layer credit defense). Hash validation normalizes the `file_hash` to prefixed\n * format (e.g., `blake3:...` or `sha256:...`).\n *\n * Call `:finish_upload` after the client has PUT the file to the returned URL to enqueue\n * processing. For deduplication, prefer `:find_or_begin_upload` which returns an existing\n * document instead of creating a new one if the content hash already exists.\n *\n * Side effects: creates a StorageFile record in the processing bucket, captures actor and\n * request context (IP, UA, request ID) for the audit trail.\n *\n * Returns the document struct with `status: :queued` and an `upload_url` calculation populated.\n *\n */\nexport const postAdminExtractionDocumentsBeginUpload = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminExtractionDocumentsBeginUploadData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminExtractionDocumentsBeginUploadResponses,\n    PostAdminExtractionDocumentsBeginUploadErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/begin-upload\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/rules operation on invoices-rule resource\n *\n * /invoices/rules operation on invoices-rule resource\n */\nexport const postAdminInvoicesRules = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminInvoicesRulesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminInvoicesRulesResponses,\n    PostAdminInvoicesRulesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/rules\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/sessions/:id/session_notes operation on clinical-note resource\n *\n * /clinical/sessions/:id/session_notes operation on clinical-note resource\n */\nexport const getAdminClinicalSessionsByIdSessionNotes = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalSessionsByIdSessionNotesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSessionsByIdSessionNotesResponses,\n    GetAdminClinicalSessionsByIdSessionNotesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/sessions/{id}/session_notes\",\n    ...options,\n  });\n\n/**\n * Initiate OAuth flow for a connector type\n *\n * Initiate OAuth flow for a connector type. Returns auth_url and state.\n */\nexport const postAdminConnectorsOauthInitiate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminConnectorsOauthInitiateData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsOauthInitiateResponses,\n    PostAdminConnectorsOauthInitiateErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/oauth/initiate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /campaigns/recipients/:id operation on email-marketing-recipient resource\n *\n * /campaigns/recipients/:id operation on email-marketing-recipient resource\n */\nexport const getAdminCampaignsRecipientsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCampaignsRecipientsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCampaignsRecipientsByIdResponses,\n    GetAdminCampaignsRecipientsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/recipients/{id}\",\n    ...options,\n  });\n\n/**\n * /connectors/sync-logs/:id operation on sync-log resource\n *\n * /connectors/sync-logs/:id operation on sync-log resource\n */\nexport const getAdminConnectorsSyncLogsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminConnectorsSyncLogsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminConnectorsSyncLogsByIdResponses,\n    GetAdminConnectorsSyncLogsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/sync-logs/{id}\",\n    ...options,\n  });\n\n/**\n * /voice/sessions/:id operation on voice-session resource\n *\n * /voice/sessions/:id operation on voice-session resource\n */\nexport const deleteAdminVoiceSessionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminVoiceSessionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminVoiceSessionsByIdResponses,\n    DeleteAdminVoiceSessionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/sessions/{id}\",\n    ...options,\n  });\n\n/**\n * /voice/sessions/:id operation on voice-session resource\n *\n * /voice/sessions/:id operation on voice-session resource\n */\nexport const getAdminVoiceSessionsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminVoiceSessionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceSessionsByIdResponses,\n    GetAdminVoiceSessionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/sessions/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/client-medications/:id/restore operation on clinical-client-medication resource\n *\n * /clinical/client-medications/:id/restore operation on clinical-client-medication resource\n */\nexport const patchAdminClinicalClientMedicationsByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalClientMedicationsByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientMedicationsByIdRestoreResponses,\n    PatchAdminClinicalClientMedicationsByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-medications/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Trigger a Meilisearch reindex for all or a specific subset of indexes (users, tenants, documents)\n *\n * Trigger a Meilisearch reindex for all or a specific subset of indexes (users, tenants, documents). Platform admin access only. No-op in test environment. Returns a status acknowledgement.\n */\nexport const postAdminSearchReindex = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSearchReindexData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSearchReindexResponses,\n    PostAdminSearchReindexErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/reindex\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/:id/approve operation on invoices-invoice resource\n *\n * /invoices/:id/approve operation on invoices-invoice resource\n */\nexport const patchAdminInvoicesByIdApprove = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesByIdApproveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesByIdApproveResponses,\n    PatchAdminInvoicesByIdApproveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}/approve\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /webhook-configs/:id operation on webhook-config resource\n *\n * /webhook-configs/:id operation on webhook-config resource\n */\nexport const deleteAdminWebhookConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminWebhookConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminWebhookConfigsByIdResponses,\n    DeleteAdminWebhookConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-configs/{id}\",\n    ...options,\n  });\n\n/**\n * /webhook-configs/:id operation on webhook-config resource\n *\n * /webhook-configs/:id operation on webhook-config resource\n */\nexport const getAdminWebhookConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWebhookConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWebhookConfigsByIdResponses,\n    GetAdminWebhookConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-configs/{id}\",\n    ...options,\n  });\n\n/**\n * Update webhook endpoint settings such as URL, subscribed events, and enabled state\n *\n * Update webhook endpoint settings such as URL, subscribed events, and enabled state. Use :rotate_secret instead to change the HMAC signing secret.\n */\nexport const patchAdminWebhookConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWebhookConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWebhookConfigsByIdResponses,\n    PatchAdminWebhookConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-configs/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /support/sync-configs/:id operation on support-sync-config resource\n *\n * /support/sync-configs/:id operation on support-sync-config resource\n */\nexport const deleteAdminSupportSyncConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSupportSyncConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSupportSyncConfigsByIdResponses,\n    DeleteAdminSupportSyncConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/sync-configs/{id}\",\n    ...options,\n  });\n\n/**\n * Update sync configuration: toggle enabled, change direction, update status mapping, or adjust interval\n *\n * Update sync configuration: toggle enabled, change direction, update status mapping, or adjust interval. TicketSyncWorker reads this config before each sync run.\n */\nexport const patchAdminSupportSyncConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSupportSyncConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSupportSyncConfigsByIdResponses,\n    PatchAdminSupportSyncConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/sync-configs/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List node executions for a pipeline execution, ordered by started_at.\n *\n * List node executions for a pipeline execution, ordered by started_at.\n */\nexport const getAdminPipelineNodeExecutionsByExecutionByPipelineExecutionId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminPipelineNodeExecutionsByExecutionByPipelineExecutionIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminPipelineNodeExecutionsByExecutionByPipelineExecutionIdResponses,\n    GetAdminPipelineNodeExecutionsByExecutionByPipelineExecutionIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-node-executions/by-execution/{pipeline_execution_id}\",\n    ...options,\n  });\n\n/**\n * Link a product variant to an option value (e.g., assign 'Red' to a specific variant)\n *\n * Link a product variant to an option value (e.g., assign 'Red' to a specific variant). Returns the created join record.\n */\nexport const postAdminCatalogVariantOptionValues = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCatalogVariantOptionValuesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogVariantOptionValuesResponses,\n    PostAdminCatalogVariantOptionValuesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/variant-option-values\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Destroy every refresh token for the current user\n *\n * Destroy every refresh token for the current user. Used by the\n * \"sign out of all devices\" UI. Emits a single aggregated\n * identity.session.logout with a count field (O2).\n *\n */\nexport const patchAdminUsersAuthSessionsRevokeAll = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminUsersAuthSessionsRevokeAllData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminUsersAuthSessionsRevokeAllResponses,\n    PatchAdminUsersAuthSessionsRevokeAllErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/auth/sessions/revoke-all\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List reminders for a workspace\n *\n * List reminders for a workspace. Supports filtering by event_id or status.\n */\nexport const getAdminSchedulingReminders = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingRemindersData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingRemindersResponses,\n    GetAdminSchedulingRemindersErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/reminders\",\n    ...options,\n  });\n\n/**\n * Create a scheduled reminder for an event participant\n *\n * Create a scheduled reminder for an event participant. scheduled_at must be precomputed (event.start_time - minutes_before). Auto-called by ScheduleReminders change on Event create. Returns the created Reminder with :pending status.\n */\nexport const postAdminSchedulingReminders = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSchedulingRemindersData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSchedulingRemindersResponses,\n    PostAdminSchedulingRemindersErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/reminders\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Admin-only email update\n *\n * Admin-only email update\n */\nexport const patchAdminUsersByIdAdminEmail = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminUsersByIdAdminEmailData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminUsersByIdAdminEmailResponses,\n    PatchAdminUsersByIdAdminEmailErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/{id}/admin/email\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * ISV-friendly semantic search over training examples\n *\n * ISV-friendly semantic search over training examples. Accepts a string `query`, embeds it\n * server-side via `GptCore.Embeddings.generate/1`, then delegates to `:search_by_vector`.\n *\n * Use this from public API surfaces; use `:search_by_vector` directly only when the caller\n * already has a precomputed embedding (e.g., the extraction pipeline reusing an embedding).\n *\n */\nexport const postAdminTrainingExamplesSearch = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminTrainingExamplesSearchData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTrainingExamplesSearchResponses,\n    PostAdminTrainingExamplesSearchErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-examples/search\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/:id/resolve-dispute operation on invoices-invoice resource\n *\n * /invoices/:id/resolve-dispute operation on invoices-invoice resource\n */\nexport const patchAdminInvoicesByIdResolveDispute = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesByIdResolveDisputeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesByIdResolveDisputeResponses,\n    PatchAdminInvoicesByIdResolveDisputeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}/resolve-dispute\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/meal-plans/by-workspace operation on clinical-meal-plan resource\n *\n * /clinical/meal-plans/by-workspace operation on clinical-meal-plan resource\n */\nexport const getAdminClinicalMealPlansByWorkspace = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalMealPlansByWorkspaceData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalMealPlansByWorkspaceResponses,\n    GetAdminClinicalMealPlansByWorkspaceErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/meal-plans/by-workspace\",\n    ...options,\n  });\n\n/**\n * /accounts/:id/debit operation on account resource\n *\n * /accounts/:id/debit operation on account resource\n */\nexport const patchAdminAccountsByIdDebit = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminAccountsByIdDebitData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAccountsByIdDebitResponses,\n    PatchAdminAccountsByIdDebitErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/accounts/{id}/debit\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /catalog/price-suggestions/:id operation on catalog-price-suggestion resource\n *\n * /catalog/price-suggestions/:id operation on catalog-price-suggestion resource\n */\nexport const getAdminCatalogPriceSuggestionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCatalogPriceSuggestionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogPriceSuggestionsByIdResponses,\n    GetAdminCatalogPriceSuggestionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/price-suggestions/{id}\",\n    ...options,\n  });\n\n/**\n * /payment-methods/:id operation on payment-method resource\n *\n * /payment-methods/:id operation on payment-method resource\n */\nexport const deleteAdminPaymentMethodsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminPaymentMethodsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminPaymentMethodsByIdResponses,\n    DeleteAdminPaymentMethodsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/payment-methods/{id}\",\n    ...options,\n  });\n\n/**\n * /payment-methods/:id operation on payment-method resource\n *\n * /payment-methods/:id operation on payment-method resource\n */\nexport const getAdminPaymentMethodsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPaymentMethodsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPaymentMethodsByIdResponses,\n    GetAdminPaymentMethodsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/payment-methods/{id}\",\n    ...options,\n  });\n\n/**\n * Update a saved payment method's nickname or default status\n *\n * Update a saved payment method's nickname or default status. Use this to rename a card\n * (e.g., \"Personal Visa\") or to mark it as the default payment method. When is_default is\n * set to true, all other payment methods for the same customer are automatically unset.\n *\n * Requires Tenant Owner role. Returns the updated payment method record.\n *\n */\nexport const patchAdminPaymentMethodsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPaymentMethodsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPaymentMethodsByIdResponses,\n    PatchAdminPaymentMethodsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/payment-methods/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/insurance-authorizations/by-workspace operation on clinical-insurance-authorization resource\n *\n * /clinical/insurance-authorizations/by-workspace operation on clinical-insurance-authorization resource\n */\nexport const getAdminClinicalInsuranceAuthorizationsByWorkspace = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalInsuranceAuthorizationsByWorkspaceData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalInsuranceAuthorizationsByWorkspaceResponses,\n    GetAdminClinicalInsuranceAuthorizationsByWorkspaceErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/insurance-authorizations/by-workspace\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-resources/catalog operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/catalog operation on clinical-practice-resource resource\n */\nexport const getAdminClinicalPracticeResourcesCatalog = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPracticeResourcesCatalogData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeResourcesCatalogResponses,\n    GetAdminClinicalPracticeResourcesCatalogErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/catalog\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-resources/catalog operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/catalog operation on clinical-practice-resource resource\n */\nexport const postAdminClinicalPracticeResourcesCatalog = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalPracticeResourcesCatalogData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalPracticeResourcesCatalogResponses,\n    PostAdminClinicalPracticeResourcesCatalogErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/catalog\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /amendment-requests operation on amendment-request resource\n *\n * /amendment-requests operation on amendment-request resource\n */\nexport const getAdminAmendmentRequests = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAmendmentRequestsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAmendmentRequestsResponses,\n    GetAdminAmendmentRequestsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/amendment-requests\",\n    ...options,\n  });\n\n/**\n * /amendment-requests operation on amendment-request resource\n *\n * /amendment-requests operation on amendment-request resource\n */\nexport const postAdminAmendmentRequests = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminAmendmentRequestsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAmendmentRequestsResponses,\n    PostAdminAmendmentRequestsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/amendment-requests\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-tools/:id/archive operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/:id/archive operation on clinical-practice-tool resource\n */\nexport const patchAdminClinicalPracticeToolsByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalPracticeToolsByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPracticeToolsByIdArchiveResponses,\n    PatchAdminClinicalPracticeToolsByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Void a transaction\n *\n * Void a transaction\n */\nexport const postAdminTransactionsByIdVoid = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminTransactionsByIdVoidData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTransactionsByIdVoidResponses,\n    PostAdminTransactionsByIdVoidErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/transactions/{id}/void\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create an option type (e.g., Size, Color) for an application; shared across all tenants\n *\n * Create an option type (e.g., Size, Color) for an application; shared across all tenants. Returns the created option type.\n */\nexport const postAdminCatalogOptionTypes = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCatalogOptionTypesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogOptionTypesResponses,\n    PostAdminCatalogOptionTypesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/option-types\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /meeting-action-items/:id operation on meeting-action-item resource\n *\n * /meeting-action-items/:id operation on meeting-action-item resource\n */\nexport const getAdminMeetingActionItemsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminMeetingActionItemsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminMeetingActionItemsByIdResponses,\n    GetAdminMeetingActionItemsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/meeting-action-items/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/enrichment-jobs/:id operation on recipes-enrichment-job resource\n *\n * /recipes/enrichment-jobs/:id operation on recipes-enrichment-job resource\n */\nexport const getAdminRecipesEnrichmentJobsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesEnrichmentJobsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesEnrichmentJobsByIdResponses,\n    GetAdminRecipesEnrichmentJobsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/enrichment-jobs/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/scheduled-meals/:id operation on recipes-scheduled-meal resource\n *\n * /recipes/scheduled-meals/:id operation on recipes-scheduled-meal resource\n */\nexport const deleteAdminRecipesScheduledMealsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminRecipesScheduledMealsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRecipesScheduledMealsByIdResponses,\n    DeleteAdminRecipesScheduledMealsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/scheduled-meals/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/scheduled-meals/:id operation on recipes-scheduled-meal resource\n *\n * /recipes/scheduled-meals/:id operation on recipes-scheduled-meal resource\n */\nexport const getAdminRecipesScheduledMealsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesScheduledMealsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesScheduledMealsByIdResponses,\n    GetAdminRecipesScheduledMealsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/scheduled-meals/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/scheduled-meals/:id operation on recipes-scheduled-meal resource\n *\n * /recipes/scheduled-meals/:id operation on recipes-scheduled-meal resource\n */\nexport const patchAdminRecipesScheduledMealsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRecipesScheduledMealsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesScheduledMealsByIdResponses,\n    PatchAdminRecipesScheduledMealsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/scheduled-meals/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /subscriptions/:id operation on subscription resource\n *\n * /subscriptions/:id operation on subscription resource\n */\nexport const getAdminSubscriptionsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSubscriptionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSubscriptionsByIdResponses,\n    GetAdminSubscriptionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/subscriptions/{id}\",\n    ...options,\n  });\n\n/**\n * /subscriptions/:id operation on subscription resource\n *\n * /subscriptions/:id operation on subscription resource\n */\nexport const patchAdminSubscriptionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSubscriptionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSubscriptionsByIdResponses,\n    PatchAdminSubscriptionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/subscriptions/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/documents/patients/:id/documents operation on clinical-document resource\n *\n * /clinical/documents/patients/:id/documents operation on clinical-document resource\n */\nexport const getAdminClinicalDocumentsPatientsByIdDocuments = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalDocumentsPatientsByIdDocumentsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalDocumentsPatientsByIdDocumentsResponses,\n    GetAdminClinicalDocumentsPatientsByIdDocumentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/documents/patients/{id}/documents\",\n    ...options,\n  });\n\n/**\n * /user-profiles/:id operation on user-profile resource\n *\n * /user-profiles/:id operation on user-profile resource\n */\nexport const deleteAdminUserProfilesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminUserProfilesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminUserProfilesByIdResponses,\n    DeleteAdminUserProfilesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/user-profiles/{id}\",\n    ...options,\n  });\n\n/**\n * /user-profiles/:id operation on user-profile resource\n *\n * /user-profiles/:id operation on user-profile resource\n */\nexport const getAdminUserProfilesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUserProfilesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUserProfilesByIdResponses,\n    GetAdminUserProfilesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/user-profiles/{id}\",\n    ...options,\n  });\n\n/**\n * Update the user's display profile fields: name, avatar, bio, social links, and\n * raw preferences map\n *\n * Update the user's display profile fields: name, avatar, bio, social links, and\n * raw preferences map. Users can only update their own profile. Does not handle\n * legal-document acceptance, welcome dismissal, or announcement dismissal — use the\n * dedicated :accept_legal_document, :dismiss_welcome, and :dismiss_announcement\n * actions for those.\n *\n * Returns the updated UserProfile record.\n *\n */\nexport const patchAdminUserProfilesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminUserProfilesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminUserProfilesByIdResponses,\n    PatchAdminUserProfilesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/user-profiles/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get full details for a single recipe by Edamam recipe ID\n *\n * Get full details for a single recipe by Edamam recipe ID\n */\nexport const postAdminConnectorsByIdEdamamRecipesGet = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminConnectorsByIdEdamamRecipesGetData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsByIdEdamamRecipesGetResponses,\n    PostAdminConnectorsByIdEdamamRecipesGetErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/{id}/edamam/recipes/get\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /workspace-form-configs/:id operation on workspace-form-config resource\n *\n * /workspace-form-configs/:id operation on workspace-form-config resource\n */\nexport const deleteAdminWorkspaceFormConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminWorkspaceFormConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminWorkspaceFormConfigsByIdResponses,\n    DeleteAdminWorkspaceFormConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-form-configs/{id}\",\n    ...options,\n  });\n\n/**\n * /workspace-form-configs/:id operation on workspace-form-config resource\n *\n * /workspace-form-configs/:id operation on workspace-form-config resource\n */\nexport const getAdminWorkspaceFormConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWorkspaceFormConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspaceFormConfigsByIdResponses,\n    GetAdminWorkspaceFormConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-form-configs/{id}\",\n    ...options,\n  });\n\n/**\n * /workspace-form-configs/:id operation on workspace-form-config resource\n *\n * /workspace-form-configs/:id operation on workspace-form-config resource\n */\nexport const patchAdminWorkspaceFormConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWorkspaceFormConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWorkspaceFormConfigsByIdResponses,\n    PatchAdminWorkspaceFormConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-form-configs/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /case-types/:id operation on case-type resource\n *\n * /case-types/:id operation on case-type resource\n */\nexport const deleteAdminCaseTypesById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminCaseTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCaseTypesByIdResponses,\n    DeleteAdminCaseTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-types/{id}\",\n    ...options,\n  });\n\n/**\n * /case-types/:id operation on case-type resource\n *\n * /case-types/:id operation on case-type resource\n */\nexport const getAdminCaseTypesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCaseTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCaseTypesByIdResponses,\n    GetAdminCaseTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-types/{id}\",\n    ...options,\n  });\n\n/**\n * /case-types/:id operation on case-type resource\n *\n * /case-types/:id operation on case-type resource\n */\nexport const patchAdminCaseTypesById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminCaseTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCaseTypesByIdResponses,\n    PatchAdminCaseTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-types/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Preview the cost and effective date of a plan change\n *\n * Preview the cost and effective date of a plan change\n */\nexport const getAdminWalletPlanPreview = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminWalletPlanPreviewData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWalletPlanPreviewResponses,\n    GetAdminWalletPlanPreviewErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/plan/preview\",\n    ...options,\n  });\n\n/**\n * /voice/transcription-results/:id operation on voice-transcription-result resource\n *\n * /voice/transcription-results/:id operation on voice-transcription-result resource\n */\nexport const deleteAdminVoiceTranscriptionResultsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminVoiceTranscriptionResultsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminVoiceTranscriptionResultsByIdResponses,\n    DeleteAdminVoiceTranscriptionResultsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/transcription-results/{id}\",\n    ...options,\n  });\n\n/**\n * /voice/transcription-results/:id operation on voice-transcription-result resource\n *\n * /voice/transcription-results/:id operation on voice-transcription-result resource\n */\nexport const getAdminVoiceTranscriptionResultsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminVoiceTranscriptionResultsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceTranscriptionResultsByIdResponses,\n    GetAdminVoiceTranscriptionResultsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/transcription-results/{id}\",\n    ...options,\n  });\n\n/**\n * Correct or annotate a transcript's text, segments, or metadata.\n *\n * Correct or annotate a transcript's text, segments, or metadata.\n */\nexport const patchAdminVoiceTranscriptionResultsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminVoiceTranscriptionResultsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminVoiceTranscriptionResultsByIdResponses,\n    PatchAdminVoiceTranscriptionResultsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/transcription-results/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /pricing-strategies operation on pricing-strategy resource\n *\n * /pricing-strategies operation on pricing-strategy resource\n */\nexport const getAdminPricingStrategies = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPricingStrategiesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPricingStrategiesResponses,\n    GetAdminPricingStrategiesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pricing-strategies\",\n    ...options,\n  });\n\n/**\n * /pricing-strategies operation on pricing-strategy resource\n *\n * /pricing-strategies operation on pricing-strategy resource\n */\nexport const postAdminPricingStrategies = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminPricingStrategiesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPricingStrategiesResponses,\n    PostAdminPricingStrategiesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pricing-strategies\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/goal-templates/categories operation on clinical-goal-template-category resource\n *\n * /clinical/goal-templates/categories operation on clinical-goal-template-category resource\n */\nexport const getAdminClinicalGoalTemplatesCategories = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalGoalTemplatesCategoriesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalTemplatesCategoriesResponses,\n    GetAdminClinicalGoalTemplatesCategoriesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/categories\",\n    ...options,\n  });\n\n/**\n * Get a document with its presigned view URL\n *\n * Get a document with its presigned view URL\n */\nexport const getAdminExtractionDocumentsByIdView = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionDocumentsByIdViewData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionDocumentsByIdViewResponses,\n    GetAdminExtractionDocumentsByIdViewErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}/view\",\n    ...options,\n  });\n\n/**\n * /settlements/:id/mark-paid operation on settlement resource\n *\n * /settlements/:id/mark-paid operation on settlement resource\n */\nexport const patchAdminSettlementsByIdMarkPaid = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSettlementsByIdMarkPaidData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSettlementsByIdMarkPaidResponses,\n    PatchAdminSettlementsByIdMarkPaidErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlements/{id}/mark-paid\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /extraction/chunk-entity-links/:id operation on chunk-entity-link resource\n *\n * /extraction/chunk-entity-links/:id operation on chunk-entity-link resource\n */\nexport const getAdminExtractionChunkEntityLinksById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionChunkEntityLinksByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionChunkEntityLinksByIdResponses,\n    GetAdminExtractionChunkEntityLinksByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/chunk-entity-links/{id}\",\n    ...options,\n  });\n\n/**\n * List or fetch API keys\n *\n * List or fetch API keys. Supports keyset and offset pagination. Returns keys\n * scoped to the actor — users see only their own keys, ISV owners see keys for\n * their application. Use :active to restrict to non-revoked keys, or :usage_stats\n * for tenant-scoped usage analytics.\n *\n */\nexport const getAdminApiKeys = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminApiKeysData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminApiKeysResponses,\n    GetAdminApiKeysErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/api-keys\",\n    ...options,\n  });\n\n/**\n * Create a new API key for the authenticated actor\n *\n * Create a new API key for the authenticated actor. The raw token value is returned\n * once in the generated_api_key calculation and never retrievable again. Key type\n * determines the prefix: :user → sk_tenant_, :server → sk_srv_, :application →\n * sk_app_, :system → sk_sys_. Application keys automatically receive all available\n * scopes. Server keys require at least one explicit scope and validate that the\n * creator can only delegate scopes they possess (scope delegation rule). A billing\n * liability account is created for the key after_action. Requires a valid\n * application context (x-application-key header or explicit application_id).\n *\n */\nexport const postAdminApiKeys = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminApiKeysData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminApiKeysResponses,\n    PostAdminApiKeysErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/api-keys\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Return typeahead suggestions for a query prefix\n *\n * Return typeahead suggestions for a query prefix. Requires at least 2 characters; returns an empty list for shorter inputs. Scoped to the current tenant.\n */\nexport const getAdminSearchSuggest = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSearchSuggestData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSearchSuggestResponses,\n    GetAdminSearchSuggestErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/suggest\",\n    ...options,\n  });\n\n/**\n * /extraction/config-enums/:id operation on config-enum resource\n *\n * /extraction/config-enums/:id operation on config-enum resource\n */\nexport const getAdminExtractionConfigEnumsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionConfigEnumsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionConfigEnumsByIdResponses,\n    GetAdminExtractionConfigEnumsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/config-enums/{id}\",\n    ...options,\n  });\n\n/**\n * /extraction/config-enums/:id operation on config-enum resource\n *\n * /extraction/config-enums/:id operation on config-enum resource\n */\nexport const patchAdminExtractionConfigEnumsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminExtractionConfigEnumsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionConfigEnumsByIdResponses,\n    PatchAdminExtractionConfigEnumsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/config-enums/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Soft-delete a document and enqueue storage cleanup\n *\n * Soft-delete a document and enqueue storage cleanup. Sets `deleted_at` rather than removing\n * the database row, so the document is hidden from all standard reads but preserves the audit\n * trail. Use `:read_trashed` to query soft-deleted documents.\n *\n * Side effects: enqueues `CleanupDocument` Oban job to remove files from object storage\n * (queue/active/output/errors paths). Also marks any associated ingestion watcher claim as\n * `document_deleted` so the same file can be re-uploaded without a duplicate-claim error.\n *\n * Returns the soft-deleted document struct with `deleted_at` set.\n *\n */\nexport const deleteAdminExtractionDocumentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminExtractionDocumentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminExtractionDocumentsByIdResponses,\n    DeleteAdminExtractionDocumentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}\",\n    ...options,\n  });\n\n/**\n * Primary read for active (non-deleted) documents\n *\n * Primary read for active (non-deleted) documents. Excludes soft-deleted documents.\n * Use `:read_trashed` to list deleted documents, or `:list_by_workspace` for a workspace-scoped\n * listing with optional batch filtering.\n *\n */\nexport const getAdminExtractionDocumentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionDocumentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionDocumentsByIdResponses,\n    GetAdminExtractionDocumentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}\",\n    ...options,\n  });\n\n/**\n * /catalog/product-classifications/:id operation on catalog-product-classification resource\n *\n * /catalog/product-classifications/:id operation on catalog-product-classification resource\n */\nexport const deleteAdminCatalogProductClassificationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminCatalogProductClassificationsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCatalogProductClassificationsByIdResponses,\n    DeleteAdminCatalogProductClassificationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/product-classifications/{id}\",\n    ...options,\n  });\n\n/**\n * /policy-review-schedules operation on policy-review-schedule resource\n *\n * /policy-review-schedules operation on policy-review-schedule resource\n */\nexport const getAdminPolicyReviewSchedules = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPolicyReviewSchedulesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPolicyReviewSchedulesResponses,\n    GetAdminPolicyReviewSchedulesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/policy-review-schedules\",\n    ...options,\n  });\n\n/**\n * /policy-review-schedules operation on policy-review-schedule resource\n *\n * /policy-review-schedules operation on policy-review-schedule resource\n */\nexport const postAdminPolicyReviewSchedules = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminPolicyReviewSchedulesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPolicyReviewSchedulesResponses,\n    PostAdminPolicyReviewSchedulesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/policy-review-schedules\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-supplements/archived operation on clinical-client-supplement resource\n *\n * /clinical/client-supplements/archived operation on clinical-client-supplement resource\n */\nexport const getAdminClinicalClientSupplementsArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalClientSupplementsArchivedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalClientSupplementsArchivedResponses,\n    GetAdminClinicalClientSupplementsArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-supplements/archived\",\n    ...options,\n  });\n\n/**\n * Purchase credits (Top-up)\n *\n * Purchase credits (Top-up)\n */\nexport const patchAdminWalletCredits = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminWalletCreditsData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWalletCreditsResponses,\n    PatchAdminWalletCreditsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/credits\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List legal documents scoped to the current application context, including platform-level documents (null application_id) and application-specific overrides\n *\n * List legal documents scoped to the current application context, including platform-level documents (null application_id) and application-specific overrides. Use this action to show an ISV's custom legal documents alongside platform defaults.\n */\nexport const getAdminLegalDocumentsForApplication = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminLegalDocumentsForApplicationData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLegalDocumentsForApplicationResponses,\n    GetAdminLegalDocumentsForApplicationErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/legal-documents/for-application\",\n    ...options,\n  });\n\n/**\n * /clinical/meal-plans/archived operation on clinical-meal-plan resource\n *\n * /clinical/meal-plans/archived operation on clinical-meal-plan resource\n */\nexport const getAdminClinicalMealPlansArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalMealPlansArchivedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalMealPlansArchivedResponses,\n    GetAdminClinicalMealPlansArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/meal-plans/archived\",\n    ...options,\n  });\n\n/**\n * /recipes/favorites/:id operation on recipes-recipe-favorite resource\n *\n * /recipes/favorites/:id operation on recipes-recipe-favorite resource\n */\nexport const deleteAdminRecipesFavoritesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminRecipesFavoritesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRecipesFavoritesByIdResponses,\n    DeleteAdminRecipesFavoritesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/favorites/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/favorites/:id operation on recipes-recipe-favorite resource\n *\n * /recipes/favorites/:id operation on recipes-recipe-favorite resource\n */\nexport const getAdminRecipesFavoritesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesFavoritesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesFavoritesByIdResponses,\n    GetAdminRecipesFavoritesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/favorites/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/favorites/:id operation on recipes-recipe-favorite resource\n *\n * /recipes/favorites/:id operation on recipes-recipe-favorite resource\n */\nexport const patchAdminRecipesFavoritesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRecipesFavoritesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesFavoritesByIdResponses,\n    PatchAdminRecipesFavoritesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/favorites/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Look up a credit package by its unique slug within an application (e.g., \"starter-100\",\n * \"pro-500\")\n *\n * Look up a credit package by its unique slug within an application (e.g., \"starter-100\",\n * \"pro-500\"). Use this for direct deep-linking into a purchase flow. Use read_one when\n * you have the UUID. Returns a single package or an error if the slug is not found.\n *\n */\nexport const getAdminCreditPackagesSlugBySlug = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCreditPackagesSlugBySlugData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCreditPackagesSlugBySlugResponses,\n    GetAdminCreditPackagesSlugBySlugErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/credit-packages/slug/{slug}\",\n    ...options,\n  });\n\n/**\n * /accounts operation on account resource\n *\n * /accounts operation on account resource\n */\nexport const getAdminAccounts = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAccountsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAccountsResponses,\n    GetAdminAccountsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/accounts\",\n    ...options,\n  });\n\n/**\n * Register a new user via invitation — skips personal tenant creation\n *\n * Register a new user via invitation — skips personal tenant creation\n */\nexport const postAdminUsersAuthRegisterViaInvitation = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminUsersAuthRegisterViaInvitationData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminUsersAuthRegisterViaInvitationResponses,\n    PostAdminUsersAuthRegisterViaInvitationErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/auth/register-via-invitation\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get platform-wide storage statistics\n *\n * Get platform-wide storage statistics\n */\nexport const getAdminStorageStats = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminStorageStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminStorageStatsResponses,\n    GetAdminStorageStatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage/stats\",\n    ...options,\n  });\n\n/**\n * Cancel a pending or running job; sets status to :cancelled with completed_at timestamp\n *\n * Cancel a pending or running job; sets status to :cancelled with completed_at timestamp. No content is collected after cancellation.\n */\nexport const patchAdminCrawlerJobsByIdCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrawlerJobsByIdCancelData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrawlerJobsByIdCancelResponses,\n    PatchAdminCrawlerJobsByIdCancelErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/jobs/{id}/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/supplement-templates/catalog/:id/permanent operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/catalog/:id/permanent operation on clinical-supplement-template resource\n */\nexport const deleteAdminClinicalSupplementTemplatesCatalogByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalSupplementTemplatesCatalogByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalSupplementTemplatesCatalogByIdPermanentResponses,\n    DeleteAdminClinicalSupplementTemplatesCatalogByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/catalog/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * List connector instances in a workspace\n *\n * List connector instances in a workspace\n */\nexport const getAdminConnectorsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminConnectorsWorkspaceByWorkspaceIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminConnectorsWorkspaceByWorkspaceIdResponses,\n    GetAdminConnectorsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /campaigns/sequences/:id/complete operation on email-marketing-sequence resource\n *\n * /campaigns/sequences/:id/complete operation on email-marketing-sequence resource\n */\nexport const patchAdminCampaignsSequencesByIdComplete = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCampaignsSequencesByIdCompleteData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCampaignsSequencesByIdCompleteResponses,\n    PatchAdminCampaignsSequencesByIdCompleteErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequences/{id}/complete\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get the latest extraction result for a document including partial (in-progress) results with per-field status\n *\n * Get the latest extraction result for a document including partial (in-progress) results with per-field status. Unlike get_by_document, this action skips FilterHiddenFields and always includes field_status and extraction metadata for progress tracking.\n */\nexport const getAdminExtractionResultsDocumentByDocumentIdPartial = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionResultsDocumentByDocumentIdPartialData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionResultsDocumentByDocumentIdPartialResponses,\n    GetAdminExtractionResultsDocumentByDocumentIdPartialErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/results/document/{document_id}/partial\",\n    ...options,\n  });\n\n/**\n * Generate an image from a text prompt.\n *\n * Generate an image from a text prompt.\n */\nexport const postAdminContentGenerateImage = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminContentGenerateImageData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminContentGenerateImageResponses,\n    PostAdminContentGenerateImageErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/content/generate-image\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /breach-incidents/:id operation on breach-incident resource\n *\n * /breach-incidents/:id operation on breach-incident resource\n */\nexport const getAdminBreachIncidentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminBreachIncidentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBreachIncidentsByIdResponses,\n    GetAdminBreachIncidentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/breach-incidents/{id}\",\n    ...options,\n  });\n\n/**\n * List active deals in a workspace with offset pagination\n *\n * List active deals in a workspace with offset pagination. Use instead of :read for workspace-scoped paginated listings.\n */\nexport const getAdminCrmDealsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrmDealsWorkspaceByWorkspaceIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmDealsWorkspaceByWorkspaceIdResponses,\n    GetAdminCrmDealsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/deals/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * List all custom field definitions for a given application and entity type\n *\n * List all custom field definitions for a given application and entity type. Use to build dynamic UI forms or validate entity properties.\n */\nexport const getAdminCrmFieldDefinitionsEntityTypeByEntityType = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmFieldDefinitionsEntityTypeByEntityTypeData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmFieldDefinitionsEntityTypeByEntityTypeResponses,\n    GetAdminCrmFieldDefinitionsEntityTypeByEntityTypeErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/field-definitions/entity-type/{entity_type}\",\n    ...options,\n  });\n\n/**\n * /ownership-transfers operation on ownership-transfer resource\n *\n * /ownership-transfers operation on ownership-transfer resource\n */\nexport const getAdminOwnershipTransfers = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminOwnershipTransfersData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminOwnershipTransfersResponses,\n    GetAdminOwnershipTransfersErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ownership-transfers\",\n    ...options,\n  });\n\n/**\n * Fetch a single event type by ID\n *\n * Fetch a single event type by ID. Returns full configuration including location embed, buffer times, capacity, and intake form schema.\n */\nexport const getAdminSchedulingEventTypesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingEventTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingEventTypesByIdResponses,\n    GetAdminSchedulingEventTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/event-types/{id}\",\n    ...options,\n  });\n\n/**\n * Update event type configuration including duration, buffers, location, capacity, and intake form\n *\n * Update event type configuration including duration, buffers, location, capacity, and intake form. Location data is denormalized into LocationEmbed on write. Re-indexes in Meilisearch.\n */\nexport const patchAdminSchedulingEventTypesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSchedulingEventTypesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingEventTypesByIdResponses,\n    PatchAdminSchedulingEventTypesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/event-types/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all price lists for an application, ordered by priority\n *\n * List all price lists for an application, ordered by priority. Returns a paginated list.\n */\nexport const getAdminCatalogPriceListsApplicationByApplicationId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogPriceListsApplicationByApplicationIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogPriceListsApplicationByApplicationIdResponses,\n    GetAdminCatalogPriceListsApplicationByApplicationIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/price-lists/application/{application_id}\",\n    ...options,\n  });\n\n/**\n * Returns the four starter plan-bundle templates (seat-based, metered,\n * freemium-with-overage, developer-tier-prosumer)\n *\n * Returns the four starter plan-bundle templates (seat-based, metered,\n * freemium-with-overage, developer-tier-prosumer). Every price field in\n * the returned templates is `\"placeholder_unset\"` — the ISV MUST replace\n * every placeholder before calling `publish_bundle` (`publish_bundle`\n * refuses with 422 `:placeholder_unset` otherwise).\n *\n * Phase 1 skeleton: returns an empty list. Real templates land in Phase 4.\n *\n */\nexport const getAdminPlanBundlesTemplates = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPlanBundlesTemplatesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPlanBundlesTemplatesResponses,\n    GetAdminPlanBundlesTemplatesErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plan-bundles/templates\",\n    ...options,\n  });\n\n/**\n * /agents/:id/stats operation on agent-stats resource\n *\n * /agents/:id/stats operation on agent-stats resource\n */\nexport const getAdminAgentsByIdStats = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAgentsByIdStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentsByIdStatsResponses,\n    GetAdminAgentsByIdStatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/stats\",\n    ...options,\n  });\n\n/**\n * /cases operation on case resource\n *\n * /cases operation on case resource\n */\nexport const getAdminCases = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCasesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCasesResponses,\n    GetAdminCasesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cases\",\n    ...options,\n  });\n\n/**\n * /cases operation on case resource\n *\n * /cases operation on case resource\n */\nexport const postAdminCases = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCasesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCasesResponses,\n    PostAdminCasesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cases\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List soft-deleted (trashed) documents\n *\n * List soft-deleted (trashed) documents\n */\nexport const getAdminExtractionDocumentsWorkspaceByWorkspaceIdTrashed = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrashedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrashedResponses,\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdTrashedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/workspace/{workspace_id}/trashed\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-templates/categories/catalog operation on clinical-goal-template-category resource\n *\n * /clinical/goal-templates/categories/catalog operation on clinical-goal-template-category resource\n */\nexport const getAdminClinicalGoalTemplatesCategoriesCatalog = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalGoalTemplatesCategoriesCatalogData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalTemplatesCategoriesCatalogResponses,\n    GetAdminClinicalGoalTemplatesCategoriesCatalogErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/categories/catalog\",\n    ...options,\n  });\n\n/**\n * List active availability rules scoped to a specific event type\n *\n * List active availability rules scoped to a specific event type. Used by AvailabilityEngine when computing slots for a typed event (e.g., 30-min consultation).\n */\nexport const getAdminSchedulingAvailabilityRulesByEventType = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSchedulingAvailabilityRulesByEventTypeData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingAvailabilityRulesByEventTypeResponses,\n    GetAdminSchedulingAvailabilityRulesByEventTypeErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/availability-rules/by-event-type\",\n    ...options,\n  });\n\n/**\n * Semantic search for entities by label similarity using embeddings\n *\n * Semantic search for entities by label similarity using embeddings.\n * Generates an embedding for the query and compares against entity labels.\n * Performance note: generates an embedding per entity label — capped at 200\n * entities. For larger graphs, use keyword search instead.\n *\n */\nexport const getAdminAiGraphNodesSemantic = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAiGraphNodesSemanticData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAiGraphNodesSemanticResponses,\n    GetAdminAiGraphNodesSemanticErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/graph/nodes/semantic\",\n    ...options,\n  });\n\n/**\n * /clinical/notes/:id/restore operation on clinical-note resource\n *\n * /clinical/notes/:id/restore operation on clinical-note resource\n */\nexport const patchAdminClinicalNotesByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalNotesByIdRestoreData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalNotesByIdRestoreResponses,\n    PatchAdminClinicalNotesByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /portal-change-requests/:id/approve operation on portal-change-request resource\n *\n * /portal-change-requests/:id/approve operation on portal-change-request resource\n */\nexport const patchAdminPortalChangeRequestsByIdApprove = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPortalChangeRequestsByIdApproveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPortalChangeRequestsByIdApproveResponses,\n    PatchAdminPortalChangeRequestsByIdApproveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/portal-change-requests/{id}/approve\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /brand-identities/:id/set-default operation on brand-identity resource\n *\n * /brand-identities/:id/set-default operation on brand-identity resource\n */\nexport const patchAdminBrandIdentitiesByIdSetDefault = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminBrandIdentitiesByIdSetDefaultData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminBrandIdentitiesByIdSetDefaultResponses,\n    PatchAdminBrandIdentitiesByIdSetDefaultErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/brand-identities/{id}/set-default\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Admin manually confirms user's email\n *\n * Admin manually confirms user's email\n */\nexport const patchAdminUsersByIdConfirmEmail = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminUsersByIdConfirmEmailData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminUsersByIdConfirmEmailResponses,\n    PatchAdminUsersByIdConfirmEmailErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/{id}/confirm-email\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/note-templates/:id/restore operation on clinical-note-template resource\n *\n * /clinical/note-templates/:id/restore operation on clinical-note-template resource\n */\nexport const patchAdminClinicalNoteTemplatesByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalNoteTemplatesByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalNoteTemplatesByIdRestoreResponses,\n    PatchAdminClinicalNoteTemplatesByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List available events that can be subscribed to\n *\n * List available events that can be subscribed to\n */\nexport const getAdminWebhookConfigsByIdEvents = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWebhookConfigsByIdEventsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWebhookConfigsByIdEventsResponses,\n    GetAdminWebhookConfigsByIdEventsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-configs/{id}/events\",\n    ...options,\n  });\n\n/**\n * /email-marketing/templates operation on email-marketing-template resource\n *\n * /email-marketing/templates operation on email-marketing-template resource\n */\nexport const postAdminEmailMarketingTemplates = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminEmailMarketingTemplatesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailMarketingTemplatesResponses,\n    PostAdminEmailMarketingTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/templates\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all ExtractionResults in a workspace, sorted newest first\n *\n * List all ExtractionResults in a workspace, sorted newest first. Useful for building a\n * workspace-level results dashboard. Hidden system fields are filtered.\n * Paginated: default 20, max 100 per page.\n *\n */\nexport const getAdminExtractionResultsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionResultsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionResultsWorkspaceByWorkspaceIdResponses,\n    GetAdminExtractionResultsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/results/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Soft-delete an activity by setting deleted_at\n *\n * Soft-delete an activity by setting deleted_at. Excluded from standard reads after deletion. Publishes an ActivityDeleted event.\n */\nexport const deleteAdminCrmActivitiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmActivitiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmActivitiesByIdResponses,\n    DeleteAdminCrmActivitiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/activities/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single active activity by ID; excludes soft-deleted records.\n *\n * Fetch a single active activity by ID; excludes soft-deleted records.\n */\nexport const getAdminCrmActivitiesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCrmActivitiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmActivitiesByIdResponses,\n    GetAdminCrmActivitiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/activities/{id}\",\n    ...options,\n  });\n\n/**\n * Update an activity's subject, body, sentiment, or AI-generated fields\n *\n * Update an activity's subject, body, sentiment, or AI-generated fields. Use :create for new activities; this action only modifies existing records.\n */\nexport const patchAdminCrmActivitiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmActivitiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmActivitiesByIdResponses,\n    PatchAdminCrmActivitiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/activities/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create or replace a workspace preference by context_key\n *\n * Create or replace a workspace preference by context_key\n */\nexport const postAdminWorkspacePreferencesUpsert = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminWorkspacePreferencesUpsertData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminWorkspacePreferencesUpsertResponses,\n    PostAdminWorkspacePreferencesUpsertErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-preferences/upsert\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /storage-recommendations/:id/accept operation on storage-recommendation resource\n *\n * /storage-recommendations/:id/accept operation on storage-recommendation resource\n */\nexport const patchAdminStorageRecommendationsByIdAccept = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminStorageRecommendationsByIdAcceptData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminStorageRecommendationsByIdAcceptResponses,\n    PatchAdminStorageRecommendationsByIdAcceptErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-recommendations/{id}/accept\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/notes/:id/permanent operation on clinical-note resource\n *\n * /clinical/notes/:id/permanent operation on clinical-note resource\n */\nexport const deleteAdminClinicalNotesByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminClinicalNotesByIdPermanentData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalNotesByIdPermanentResponses,\n    DeleteAdminClinicalNotesByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * Look up a pipeline by its system_slug scoped to an application\n *\n * Look up a pipeline by its system_slug scoped to an application. Use this for ISV-provisioned pipelines where the slug is a stable identifier that survives database resets.\n */\nexport const getAdminPipelinesBySlugBySlug = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPipelinesBySlugBySlugData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPipelinesBySlugBySlugResponses,\n    GetAdminPipelinesBySlugBySlugErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipelines/by-slug/{slug}\",\n    ...options,\n  });\n\n/**\n * /storage-recommendations/pending operation on storage-recommendation resource\n *\n * /storage-recommendations/pending operation on storage-recommendation resource\n */\nexport const getAdminStorageRecommendationsPending = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminStorageRecommendationsPendingData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminStorageRecommendationsPendingResponses,\n    GetAdminStorageRecommendationsPendingErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-recommendations/pending\",\n    ...options,\n  });\n\n/**\n * Update the human verification status of a completed document\n *\n * Update the human verification status of a completed document. Used after a reviewer\n * has confirmed or partially verified extracted fields. Sets `verification_status` to\n * `:partially_verified` or `:fully_verified`, records the verifying user, and updates\n * `avg_confidence` to reflect the post-correction confidence.\n *\n * Called internally by `ExtractionResult.save_corrections` after applying field corrections.\n *\n */\nexport const patchAdminExtractionDocumentsByIdVerification = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminExtractionDocumentsByIdVerificationData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionDocumentsByIdVerificationResponses,\n    PatchAdminExtractionDocumentsByIdVerificationErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}/verification\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Allocate credits to the account associated with this Application\n *\n * Allocate credits to the account associated with this Application\n */\nexport const patchAdminApplicationsByIdAllocateCredits = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminApplicationsByIdAllocateCreditsData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminApplicationsByIdAllocateCreditsResponses,\n    PatchAdminApplicationsByIdAllocateCreditsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/{id}/allocate-credits\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /form-versions/:id operation on form-version resource\n *\n * /form-versions/:id operation on form-version resource\n */\nexport const deleteAdminFormVersionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminFormVersionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminFormVersionsByIdResponses,\n    DeleteAdminFormVersionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-versions/{id}\",\n    ...options,\n  });\n\n/**\n * /form-versions/:id operation on form-version resource\n *\n * /form-versions/:id operation on form-version resource\n */\nexport const getAdminFormVersionsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminFormVersionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFormVersionsByIdResponses,\n    GetAdminFormVersionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-versions/{id}\",\n    ...options,\n  });\n\n/**\n * /form-versions/:id operation on form-version resource\n *\n * /form-versions/:id operation on form-version resource\n */\nexport const patchAdminFormVersionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminFormVersionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminFormVersionsByIdResponses,\n    PatchAdminFormVersionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-versions/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Accept a pending invitation as the authenticated recipient\n *\n * Accept a pending invitation as the authenticated recipient. The actor's\n * verified email is the identity proof — no token argument is required.\n * Use :accept for token-based acceptance from a fresh email link, or\n * :accept_by_token for unauthenticated token-only flows, or\n * :accept_by_user for sk_srv_ admin-side acceptance on behalf of a user.\n *\n * This action is intentionally User-only: SystemActor and Application\n * actors are rejected at the validation layer because the auth model\n * depends on a verified user email. Server-side flows must use\n * :accept_by_user.\n *\n */\nexport const patchAdminInvitationsByIdAcceptById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvitationsByIdAcceptByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvitationsByIdAcceptByIdResponses,\n    PatchAdminInvitationsByIdAcceptByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invitations/{id}/accept-by-id\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Record a participant's RSVP: :accepted, :declined, or :tentative\n *\n * Record a participant's RSVP: :accepted, :declined, or :tentative. Sets responded_at timestamp. Use instead of :update when updating RSVP status.\n */\nexport const patchAdminSchedulingParticipantsByIdRespond = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminSchedulingParticipantsByIdRespondData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingParticipantsByIdRespondResponses,\n    PatchAdminSchedulingParticipantsByIdRespondErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/participants/{id}/respond\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/goal-templates/catalog/archived operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/catalog/archived operation on clinical-goal-template resource\n */\nexport const getAdminClinicalGoalTemplatesCatalogArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalGoalTemplatesCatalogArchivedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalTemplatesCatalogArchivedResponses,\n    GetAdminClinicalGoalTemplatesCatalogArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/catalog/archived\",\n    ...options,\n  });\n\n/**\n * /retention-policies/:id operation on retention-policy resource\n *\n * /retention-policies/:id operation on retention-policy resource\n */\nexport const deleteAdminRetentionPoliciesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminRetentionPoliciesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRetentionPoliciesByIdResponses,\n    DeleteAdminRetentionPoliciesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/retention-policies/{id}\",\n    ...options,\n  });\n\n/**\n * /retention-policies/:id operation on retention-policy resource\n *\n * /retention-policies/:id operation on retention-policy resource\n */\nexport const getAdminRetentionPoliciesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRetentionPoliciesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRetentionPoliciesByIdResponses,\n    GetAdminRetentionPoliciesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/retention-policies/{id}\",\n    ...options,\n  });\n\n/**\n * Modify the retention period, expiry action, or enabled state of an existing policy\n *\n * Modify the retention period, expiry action, or enabled state of an existing policy. Changes take effect on the next daily enforcement run.\n */\nexport const patchAdminRetentionPoliciesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRetentionPoliciesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRetentionPoliciesByIdResponses,\n    PatchAdminRetentionPoliciesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/retention-policies/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/sender-profiles/workspace/:workspace_id operation on email-marketing-sender-profile resource\n *\n * /email-marketing/sender-profiles/workspace/:workspace_id operation on email-marketing-sender-profile resource\n */\nexport const getAdminEmailMarketingSenderProfilesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailMarketingSenderProfilesWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailMarketingSenderProfilesWorkspaceByWorkspaceIdResponses,\n    GetAdminEmailMarketingSenderProfilesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/sender-profiles/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * List contacts that have been soft-archived (deleted_at is set) in a workspace.\n *\n * List contacts that have been soft-archived (deleted_at is set) in a workspace.\n */\nexport const getAdminCrmContactsWorkspaceByWorkspaceIdArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmContactsWorkspaceByWorkspaceIdArchivedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmContactsWorkspaceByWorkspaceIdArchivedResponses,\n    GetAdminCrmContactsWorkspaceByWorkspaceIdArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/contacts/workspace/{workspace_id}/archived\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-tools operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools operation on clinical-practice-tool resource\n */\nexport const getAdminClinicalPracticeTools = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPracticeToolsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeToolsResponses,\n    GetAdminClinicalPracticeToolsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-tools operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools operation on clinical-practice-tool resource\n */\nexport const postAdminClinicalPracticeTools = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalPracticeToolsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalPracticeToolsResponses,\n    PostAdminClinicalPracticeToolsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/posts/:id/retry operation on social-post resource\n *\n * /social/posts/:id/retry operation on social-post resource\n */\nexport const patchAdminSocialPostsByIdRetry = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSocialPostsByIdRetryData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialPostsByIdRetryResponses,\n    PatchAdminSocialPostsByIdRetryErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/posts/{id}/retry\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/supplement-rec-cache operation on clinical-supplement-rec-cache resource\n *\n * /clinical/supplement-rec-cache operation on clinical-supplement-rec-cache resource\n */\nexport const getAdminClinicalSupplementRecCache = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalSupplementRecCacheData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSupplementRecCacheResponses,\n    GetAdminClinicalSupplementRecCacheErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-rec-cache\",\n    ...options,\n  });\n\n/**\n * /email-marketing/campaigns/workspace/:workspace_id operation on campaign resource\n *\n * /email-marketing/campaigns/workspace/:workspace_id operation on campaign resource\n */\nexport const getAdminEmailMarketingCampaignsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailMarketingCampaignsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailMarketingCampaignsWorkspaceByWorkspaceIdResponses,\n    GetAdminEmailMarketingCampaignsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/campaigns/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /access-grants operation on access-grant resource\n *\n * /access-grants operation on access-grant resource\n */\nexport const getAdminAccessGrants = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAccessGrantsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAccessGrantsResponses,\n    GetAdminAccessGrantsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/access-grants\",\n    ...options,\n  });\n\n/**\n * /access-grants operation on access-grant resource\n *\n * /access-grants operation on access-grant resource\n */\nexport const postAdminAccessGrants = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAccessGrantsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAccessGrantsResponses,\n    PostAdminAccessGrantsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/access-grants\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Accept an invitation on behalf of a specific user (by user_id)\n *\n * Accept an invitation on behalf of a specific user (by user_id). Verifies that\n * the user's email matches the invitation email and the invitation is still pending\n * and not expired. Creates or upgrades tenant/workspace memberships using\n * highest-privilege-wins semantics. Logs an invitation_accepted audit event.\n * Use :accept for token-based acceptance by the authenticated actor, or\n * :accept_by_token for token-only flows (registration redirect).\n *\n */\nexport const patchAdminInvitationsByIdAcceptByUser = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvitationsByIdAcceptByUserData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvitationsByIdAcceptByUserResponses,\n    PatchAdminInvitationsByIdAcceptByUserErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invitations/{id}/accept-by-user\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Deactivate a system message, removing it from the live feed without deleting it\n *\n * Deactivate a system message, removing it from the live feed without deleting it. Use :publish to re-activate.\n */\nexport const patchAdminSystemMessagesByIdUnpublish = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSystemMessagesByIdUnpublishData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSystemMessagesByIdUnpublishResponses,\n    PatchAdminSystemMessagesByIdUnpublishErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/system-messages/{id}/unpublish\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Filter documents by workspace_id and processing status\n *\n * Filter documents by workspace_id and processing status\n */\nexport const getAdminExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus =\n  <ThrowOnError extends boolean = false>(\n    options: Options<\n      GetAdminExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusData,\n      ThrowOnError\n    >,\n  ) =>\n    (options.client ?? client).get<\n      GetAdminExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusResponses,\n      GetAdminExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatusErrors,\n      ThrowOnError\n    >({\n      querySerializer: {\n        parameters: {\n          filter: { object: { style: \"form\" } },\n          page: { object: { style: \"form\" } },\n          fields: { object: { style: \"form\" } },\n        },\n      },\n      security: [{ scheme: \"bearer\", type: \"http\" }],\n      url: \"/admin/extraction/documents/workspace/{workspace_id}/by-status/{status}\",\n      ...options,\n    });\n\n/**\n * /threads operation on chat-thread resource\n *\n * /threads operation on chat-thread resource\n */\nexport const getAdminThreads = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminThreadsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminThreadsResponses,\n    GetAdminThreadsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads\",\n    ...options,\n  });\n\n/**\n * Create a new conversation thread scoped to a tenant, workspace, and user\n *\n * Create a new conversation thread scoped to a tenant, workspace, and user. Optionally set `previous_thread_id` to link to an expired thread for context carryover. Returns the new Thread resource.\n */\nexport const postAdminThreads = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminThreadsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminThreadsResponses,\n    PostAdminThreadsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create or update credentials for a connector at a specific scope level\n *\n * Create or update credentials for a connector at a specific scope level.\n * If credentials already exist for the given connector_type + scope_level + workspace,\n * they are updated. Otherwise, new credentials are created. Returns the credential.\n *\n */\nexport const postAdminConnectorsCredentialsUpsert = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminConnectorsCredentialsUpsertData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsCredentialsUpsertResponses,\n    PostAdminConnectorsCredentialsUpsertErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/credentials/upsert\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List recipes in a collection\n *\n * List recipes in a collection\n */\nexport const getAdminRecipesCollectionRecipesCollectionByCollectionId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesCollectionRecipesCollectionByCollectionIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesCollectionRecipesCollectionByCollectionIdResponses,\n    GetAdminRecipesCollectionRecipesCollectionByCollectionIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/collection-recipes/collection/{collection_id}\",\n    ...options,\n  });\n\n/**\n * List all custom entity types defined for an application\n *\n * List all custom entity types defined for an application. Use to discover available entity schemas for dynamic UI rendering.\n */\nexport const getAdminIsvCrmEntityTypesApplicationByApplicationId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminIsvCrmEntityTypesApplicationByApplicationIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminIsvCrmEntityTypesApplicationByApplicationIdResponses,\n    GetAdminIsvCrmEntityTypesApplicationByApplicationIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv/crm/entity-types/application/{application_id}\",\n    ...options,\n  });\n\n/**\n * List similar products from Fullscript\n *\n * List similar products from Fullscript\n */\nexport const postAdminConnectorsFullscriptProductsSimilar = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsFullscriptProductsSimilarData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsFullscriptProductsSimilarResponses,\n    PostAdminConnectorsFullscriptProductsSimilarErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/fullscript/products/similar\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /compliance-document-templates/:id operation on compliance-document-template resource\n *\n * /compliance-document-templates/:id operation on compliance-document-template resource\n */\nexport const getAdminComplianceDocumentTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminComplianceDocumentTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminComplianceDocumentTemplatesByIdResponses,\n    GetAdminComplianceDocumentTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-document-templates/{id}\",\n    ...options,\n  });\n\n/**\n * /compliance-document-templates/:id operation on compliance-document-template resource\n *\n * /compliance-document-templates/:id operation on compliance-document-template resource\n */\nexport const patchAdminComplianceDocumentTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminComplianceDocumentTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminComplianceDocumentTemplatesByIdResponses,\n    PatchAdminComplianceDocumentTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-document-templates/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get activity feed for the user's tenant context\n *\n * Get activity feed for the user's tenant context\n */\nexport const getAdminUsersMeActivity = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUsersMeActivityData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUsersMeActivityResponses,\n    GetAdminUsersMeActivityErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/me/activity\",\n    ...options,\n  });\n\n/**\n * /accounts/:id operation on account resource\n *\n * /accounts/:id operation on account resource\n */\nexport const getAdminAccountsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAccountsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAccountsByIdResponses,\n    GetAdminAccountsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/accounts/{id}\",\n    ...options,\n  });\n\n/**\n * /extraction/shadow-comparisons/:id operation on shadow-comparison resource\n *\n * /extraction/shadow-comparisons/:id operation on shadow-comparison resource\n */\nexport const deleteAdminExtractionShadowComparisonsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminExtractionShadowComparisonsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminExtractionShadowComparisonsByIdResponses,\n    DeleteAdminExtractionShadowComparisonsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/shadow-comparisons/{id}\",\n    ...options,\n  });\n\n/**\n * /extraction/shadow-comparisons/:id operation on shadow-comparison resource\n *\n * /extraction/shadow-comparisons/:id operation on shadow-comparison resource\n */\nexport const getAdminExtractionShadowComparisonsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionShadowComparisonsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionShadowComparisonsByIdResponses,\n    GetAdminExtractionShadowComparisonsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/shadow-comparisons/{id}\",\n    ...options,\n  });\n\n/**\n * /email-marketing/templates/workspace/:workspace_id operation on email-marketing-template resource\n *\n * /email-marketing/templates/workspace/:workspace_id operation on email-marketing-template resource\n */\nexport const getAdminEmailMarketingTemplatesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailMarketingTemplatesWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailMarketingTemplatesWorkspaceByWorkspaceIdResponses,\n    GetAdminEmailMarketingTemplatesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/templates/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /ai/messages operation on chat-ai-message resource\n *\n * /ai/messages operation on chat-ai-message resource\n */\nexport const getAdminAiMessages = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAiMessagesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAiMessagesResponses,\n    GetAdminAiMessagesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/messages\",\n    ...options,\n  });\n\n/**\n * Append a new message turn (system, user, or assistant) to a Conversation\n *\n * Append a new message turn (system, user, or assistant) to a Conversation. Requires that the actor owns the parent conversation. Returns the created AiMessage.\n */\nexport const postAdminAiMessages = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAiMessagesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAiMessagesResponses,\n    PostAdminAiMessagesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/messages\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/activities/:id operation on invoices-activity resource\n *\n * /invoices/activities/:id operation on invoices-activity resource\n */\nexport const getAdminInvoicesActivitiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminInvoicesActivitiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminInvoicesActivitiesByIdResponses,\n    GetAdminInvoicesActivitiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/activities/{id}\",\n    ...options,\n  });\n\n/**\n * Create a payment method via direct proxy tokenization (S2S)\n *\n * Create a payment method via direct proxy tokenization (S2S)\n */\nexport const postAdminPaymentMethodsTokenize = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminPaymentMethodsTokenizeData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPaymentMethodsTokenizeResponses,\n    PostAdminPaymentMethodsTokenizeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/payment-methods/tokenize\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Predicts the best agents for a given input\n *\n * Predicts the best agents for a given input\n */\nexport const postAdminExtractionAgentsPredict = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminExtractionAgentsPredictData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminExtractionAgentsPredictResponses,\n    PostAdminExtractionAgentsPredictErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/agents/predict\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Generate master copy from content brief using AI\n *\n * Generate master copy from content brief using AI. Transitions to :review on success.\n */\nexport const postAdminSocialCampaignsByIdGenerateMasterCopy = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminSocialCampaignsByIdGenerateMasterCopyData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminSocialCampaignsByIdGenerateMasterCopyResponses,\n    PostAdminSocialCampaignsByIdGenerateMasterCopyErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/campaigns/{id}/generate-master-copy\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Retrieve shadow comparison results for analysis\n *\n * Retrieve shadow comparison results for analysis\n */\nexport const getAdminExtractionShadowComparisonsAnalysis = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionShadowComparisonsAnalysisData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionShadowComparisonsAnalysisResponses,\n    GetAdminExtractionShadowComparisonsAnalysisErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/shadow-comparisons/analysis\",\n    ...options,\n  });\n\n/**\n * Assign a ticket to an agent, setting status to :open\n *\n * Assign a ticket to an agent, setting status to :open. Stores the previous agent_id in __metadata__ for the Notifier to emit TicketAssigned event with reassignment context.\n */\nexport const patchAdminSupportTicketsByIdAssign = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSupportTicketsByIdAssignData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSupportTicketsByIdAssignResponses,\n    PatchAdminSupportTicketsByIdAssignErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/tickets/{id}/assign\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /pipeline-executions/:id/reject operation on pipeline-execution resource\n *\n * /pipeline-executions/:id/reject operation on pipeline-execution resource\n */\nexport const patchAdminPipelineExecutionsByIdReject = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPipelineExecutionsByIdRejectData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPipelineExecutionsByIdRejectResponses,\n    PatchAdminPipelineExecutionsByIdRejectErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-executions/{id}/reject\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /compliance-requirement-completions operation on compliance-requirement-completion resource\n *\n * /compliance-requirement-completions operation on compliance-requirement-completion resource\n */\nexport const getAdminComplianceRequirementCompletions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminComplianceRequirementCompletionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminComplianceRequirementCompletionsResponses,\n    GetAdminComplianceRequirementCompletionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-requirement-completions\",\n    ...options,\n  });\n\n/**\n * /compliance-requirement-completions operation on compliance-requirement-completion resource\n *\n * /compliance-requirement-completions operation on compliance-requirement-completion resource\n */\nexport const postAdminComplianceRequirementCompletions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminComplianceRequirementCompletionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminComplianceRequirementCompletionsResponses,\n    PostAdminComplianceRequirementCompletionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-requirement-completions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /sys/ai-config/:id operation on ai-config resource\n *\n * /sys/ai-config/:id operation on ai-config resource\n */\nexport const getAdminSysAiConfigById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSysAiConfigByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSysAiConfigByIdResponses,\n    GetAdminSysAiConfigByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/sys/ai-config/{id}\",\n    ...options,\n  });\n\n/**\n * Update platform or application-level LLM provider config (default model, embedding model, domain overrides, fallback chains, pricing floor); validates fallback chain structure\n *\n * Update platform or application-level LLM provider config (default model, embedding model, domain overrides, fallback chains, pricing floor); validates fallback chain structure. Returns the updated config.\n */\nexport const patchAdminSysAiConfigById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminSysAiConfigByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSysAiConfigByIdResponses,\n    PatchAdminSysAiConfigByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/sys/ai-config/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/shopping-list-items operation on recipes-shopping-list-item resource\n *\n * /recipes/shopping-list-items operation on recipes-shopping-list-item resource\n */\nexport const postAdminRecipesShoppingListItems = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminRecipesShoppingListItemsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesShoppingListItemsResponses,\n    PostAdminRecipesShoppingListItemsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/shopping-list-items\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Transfer org ownership to an existing admin member\n *\n * Transfer org ownership to an existing admin member. Previous owner retains admin role.\n */\nexport const patchAdminTenantsByIdTransferOwnership = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminTenantsByIdTransferOwnershipData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTenantsByIdTransferOwnershipResponses,\n    PatchAdminTenantsByIdTransferOwnershipErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}/transfer-ownership\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/notes/:note_id/versions/:id operation on clinical-note-version resource\n *\n * /clinical/notes/:note_id/versions/:id operation on clinical-note-version resource\n */\nexport const getAdminClinicalNotesByNoteIdVersionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalNotesByNoteIdVersionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNotesByNoteIdVersionsByIdResponses,\n    GetAdminClinicalNotesByNoteIdVersionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes/{note_id}/versions/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-resources/catalog/:id/restore operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/catalog/:id/restore operation on clinical-practice-resource resource\n */\nexport const patchAdminClinicalPracticeResourcesCatalogByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalPracticeResourcesCatalogByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPracticeResourcesCatalogByIdRestoreResponses,\n    PatchAdminClinicalPracticeResourcesCatalogByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/catalog/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Mark the CaseType as inactive.\n *\n * Mark the CaseType as inactive.\n */\nexport const patchAdminCaseTypesByIdDeactivate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCaseTypesByIdDeactivateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCaseTypesByIdDeactivateResponses,\n    PatchAdminCaseTypesByIdDeactivateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-types/{id}/deactivate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch a scoped, paginated activity feed for a tenant; optionally filter by workspace_id, activity_type, date range, or actor\n *\n * Fetch a scoped, paginated activity feed for a tenant; optionally filter by workspace_id, activity_type, date range, or actor. Sorted by created_at descending.\n */\nexport const getAdminAuditLogsActivity = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAuditLogsActivityData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAuditLogsActivityResponses,\n    GetAdminAuditLogsActivityErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/audit-logs/activity\",\n    ...options,\n  });\n\n/**\n * /recipes/shopping-lists/:id operation on recipes-shopping-list resource\n *\n * /recipes/shopping-lists/:id operation on recipes-shopping-list resource\n */\nexport const deleteAdminRecipesShoppingListsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminRecipesShoppingListsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRecipesShoppingListsByIdResponses,\n    DeleteAdminRecipesShoppingListsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/shopping-lists/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/shopping-lists/:id operation on recipes-shopping-list resource\n *\n * /recipes/shopping-lists/:id operation on recipes-shopping-list resource\n */\nexport const getAdminRecipesShoppingListsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesShoppingListsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesShoppingListsByIdResponses,\n    GetAdminRecipesShoppingListsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/shopping-lists/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/shopping-lists/:id operation on recipes-shopping-list resource\n *\n * /recipes/shopping-lists/:id operation on recipes-shopping-list resource\n */\nexport const patchAdminRecipesShoppingListsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRecipesShoppingListsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesShoppingListsByIdResponses,\n    PatchAdminRecipesShoppingListsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/shopping-lists/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/templates/:id/restore operation on email-marketing-template resource\n *\n * /email-marketing/templates/:id/restore operation on email-marketing-template resource\n */\nexport const patchAdminEmailMarketingTemplatesByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailMarketingTemplatesByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingTemplatesByIdRestoreResponses,\n    PatchAdminEmailMarketingTemplatesByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/templates/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Change the main plan for the wallet\n *\n * Change the main plan for the wallet\n */\nexport const patchAdminWalletPlan = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminWalletPlanData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWalletPlanResponses,\n    PatchAdminWalletPlanErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/plan\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get stats for the user's tenant context\n *\n * Get stats for the user's tenant context\n */\nexport const getAdminUsersMeStats = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUsersMeStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUsersMeStatsResponses,\n    GetAdminUsersMeStatsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/me/stats\",\n    ...options,\n  });\n\n/**\n * Cancel a pending invitation by setting its status to :revoked\n *\n * Cancel a pending invitation by setting its status to :revoked. Only the original\n * inviter or the tenant owner can revoke. Logs an invitation_revoked audit event.\n * The token becomes invalid immediately. Use :expire for system-driven expiration.\n *\n */\nexport const patchAdminInvitationsByIdRevoke = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvitationsByIdRevokeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvitationsByIdRevokeResponses,\n    PatchAdminInvitationsByIdRevokeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invitations/{id}/revoke\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/recipients operation on email-recipient resource\n *\n * /email/recipients operation on email-recipient resource\n */\nexport const postAdminEmailRecipients = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminEmailRecipientsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailRecipientsResponses,\n    PostAdminEmailRecipientsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/recipients\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Permanently delete a user account\n *\n * Permanently delete a user account. Cascades destruction of: owned tenants (which\n * in turn destroy their workspaces, applications, API keys, and billing accounts),\n * the user profile, user-owned API keys, all tenant memberships, all tokens, all\n * workspace memberships, notification preferences, and audit logs where the user was\n * the actor. Finally deletes the user row. Restricted to platform admins only.\n *\n */\nexport const deleteAdminUsersById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminUsersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminUsersByIdResponses,\n    DeleteAdminUsersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/{id}\",\n    ...options,\n  });\n\n/**\n * /users/:id operation on user resource\n *\n * /users/:id operation on user resource\n */\nexport const getAdminUsersById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUsersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUsersByIdResponses,\n    GetAdminUsersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/{id}\",\n    ...options,\n  });\n\n/**\n * Update user preferences (currently theme_preference)\n *\n * Update user preferences (currently theme_preference). Authenticated users can only update their own record.\n */\nexport const patchAdminUsersById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminUsersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminUsersByIdResponses,\n    PatchAdminUsersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-resource-assignments/:id/permanent operation on clinical-client-resource-assignment resource\n *\n * /clinical/client-resource-assignments/:id/permanent operation on clinical-client-resource-assignment resource\n */\nexport const deleteAdminClinicalClientResourceAssignmentsByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalClientResourceAssignmentsByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalClientResourceAssignmentsByIdPermanentResponses,\n    DeleteAdminClinicalClientResourceAssignmentsByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-resource-assignments/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-template-collections/:id operation on clinical-goal-template-collection resource\n *\n * /clinical/goal-template-collections/:id operation on clinical-goal-template-collection resource\n */\nexport const deleteAdminClinicalGoalTemplateCollectionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalGoalTemplateCollectionsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalGoalTemplateCollectionsByIdResponses,\n    DeleteAdminClinicalGoalTemplateCollectionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-template-collections/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-template-collections/:id operation on clinical-goal-template-collection resource\n *\n * /clinical/goal-template-collections/:id operation on clinical-goal-template-collection resource\n */\nexport const getAdminClinicalGoalTemplateCollectionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalGoalTemplateCollectionsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalTemplateCollectionsByIdResponses,\n    GetAdminClinicalGoalTemplateCollectionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-template-collections/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-template-collections/:id operation on clinical-goal-template-collection resource\n *\n * /clinical/goal-template-collections/:id operation on clinical-goal-template-collection resource\n */\nexport const patchAdminClinicalGoalTemplateCollectionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalGoalTemplateCollectionsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalGoalTemplateCollectionsByIdResponses,\n    PatchAdminClinicalGoalTemplateCollectionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-template-collections/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /settlement-statements/:id/mark-disputed operation on settlement-statement resource\n *\n * /settlement-statements/:id/mark-disputed operation on settlement-statement resource\n */\nexport const patchAdminSettlementStatementsByIdMarkDisputed = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminSettlementStatementsByIdMarkDisputedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSettlementStatementsByIdMarkDisputedResponses,\n    PatchAdminSettlementStatementsByIdMarkDisputedErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlement-statements/{id}/mark-disputed\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/goal-template-collection-memberships operation on clinical-goal-template-collection-membership resource\n *\n * /clinical/goal-template-collection-memberships operation on clinical-goal-template-collection-membership resource\n */\nexport const postAdminClinicalGoalTemplateCollectionMemberships = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminClinicalGoalTemplateCollectionMembershipsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalGoalTemplateCollectionMembershipsResponses,\n    PostAdminClinicalGoalTemplateCollectionMembershipsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-template-collection-memberships\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Disable multiple webhook configs by ID in a single call\n *\n * Disable multiple webhook configs by ID in a single call. Only configs the actor is authorized to update are affected; returns `{success: true, count: N}` indicating how many were disabled.\n */\nexport const postAdminWebhookConfigsBulkDisable = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminWebhookConfigsBulkDisableData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminWebhookConfigsBulkDisableResponses,\n    PostAdminWebhookConfigsBulkDisableErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-configs/bulk-disable\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /breach-notifications/:id operation on breach-notification resource\n *\n * /breach-notifications/:id operation on breach-notification resource\n */\nexport const getAdminBreachNotificationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminBreachNotificationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBreachNotificationsByIdResponses,\n    GetAdminBreachNotificationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/breach-notifications/{id}\",\n    ...options,\n  });\n\n/**\n * /legal-documents operation on legal-document resource\n *\n * /legal-documents operation on legal-document resource\n */\nexport const getAdminLegalDocuments = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminLegalDocumentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLegalDocumentsResponses,\n    GetAdminLegalDocumentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/legal-documents\",\n    ...options,\n  });\n\n/**\n * Create a new versioned legal document (Terms of Service, Privacy Policy, BAA, DPA, or SCC)\n *\n * Create a new versioned legal document (Terms of Service, Privacy Policy, BAA, DPA, or SCC).\n * Setting `is_active: true` at creation time automatically records `published_at`. Use :publish\n * after drafting to activate with side effects (cache invalidation, user notification job).\n *\n */\nexport const postAdminLegalDocuments = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminLegalDocumentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminLegalDocumentsResponses,\n    PostAdminLegalDocumentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/legal-documents\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /agents/:id/usage operation on agent-usage resource\n *\n * /agents/:id/usage operation on agent-usage resource\n */\nexport const getAdminAgentsByIdUsage = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAgentsByIdUsageData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentsByIdUsageResponses,\n    GetAdminAgentsByIdUsageErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/usage\",\n    ...options,\n  });\n\n/**\n * /email-marketing/generated-emails/:id/schedule operation on email-marketing-generated-email resource\n *\n * /email-marketing/generated-emails/:id/schedule operation on email-marketing-generated-email resource\n */\nexport const patchAdminEmailMarketingGeneratedEmailsByIdSchedule = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailMarketingGeneratedEmailsByIdScheduleData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingGeneratedEmailsByIdScheduleResponses,\n    PatchAdminEmailMarketingGeneratedEmailsByIdScheduleErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/generated-emails/{id}/schedule\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/supplement-template-collection-memberships/:id operation on clinical-supplement-template-collection-membership resource\n *\n * /clinical/supplement-template-collection-memberships/:id operation on clinical-supplement-template-collection-membership resource\n */\nexport const deleteAdminClinicalSupplementTemplateCollectionMembershipsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalSupplementTemplateCollectionMembershipsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalSupplementTemplateCollectionMembershipsByIdResponses,\n    DeleteAdminClinicalSupplementTemplateCollectionMembershipsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-template-collection-memberships/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-template-collection-memberships/:id operation on clinical-supplement-template-collection-membership resource\n *\n * /clinical/supplement-template-collection-memberships/:id operation on clinical-supplement-template-collection-membership resource\n */\nexport const getAdminClinicalSupplementTemplateCollectionMembershipsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalSupplementTemplateCollectionMembershipsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSupplementTemplateCollectionMembershipsByIdResponses,\n    GetAdminClinicalSupplementTemplateCollectionMembershipsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-template-collection-memberships/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-template-collection-memberships/:id operation on clinical-supplement-template-collection-membership resource\n *\n * /clinical/supplement-template-collection-memberships/:id operation on clinical-supplement-template-collection-membership resource\n */\nexport const patchAdminClinicalSupplementTemplateCollectionMembershipsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalSupplementTemplateCollectionMembershipsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalSupplementTemplateCollectionMembershipsByIdResponses,\n    PatchAdminClinicalSupplementTemplateCollectionMembershipsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-template-collection-memberships/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /catalog/stock-locations/:id operation on catalog-stock-location resource\n *\n * /catalog/stock-locations/:id operation on catalog-stock-location resource\n */\nexport const getAdminCatalogStockLocationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCatalogStockLocationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogStockLocationsByIdResponses,\n    GetAdminCatalogStockLocationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/stock-locations/{id}\",\n    ...options,\n  });\n\n/**\n * Update a location's name, address, default flag, status, or valuation method\n *\n * Update a location's name, address, default flag, status, or valuation method. Returns the updated location.\n */\nexport const patchAdminCatalogStockLocationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCatalogStockLocationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogStockLocationsByIdResponses,\n    PatchAdminCatalogStockLocationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/stock-locations/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/tracking-events/:id operation on email-tracking-event resource\n *\n * /email/tracking-events/:id operation on email-tracking-event resource\n */\nexport const getAdminEmailTrackingEventsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminEmailTrackingEventsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailTrackingEventsByIdResponses,\n    GetAdminEmailTrackingEventsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/tracking-events/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/ingredients/:id operation on recipes-ingredient resource\n *\n * /recipes/ingredients/:id operation on recipes-ingredient resource\n */\nexport const deleteAdminRecipesIngredientsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminRecipesIngredientsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRecipesIngredientsByIdResponses,\n    DeleteAdminRecipesIngredientsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/ingredients/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/ingredients/:id operation on recipes-ingredient resource\n *\n * /recipes/ingredients/:id operation on recipes-ingredient resource\n */\nexport const getAdminRecipesIngredientsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesIngredientsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesIngredientsByIdResponses,\n    GetAdminRecipesIngredientsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/ingredients/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/ingredients/:id operation on recipes-ingredient resource\n *\n * /recipes/ingredients/:id operation on recipes-ingredient resource\n */\nexport const patchAdminRecipesIngredientsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRecipesIngredientsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesIngredientsByIdResponses,\n    PatchAdminRecipesIngredientsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/ingredients/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/patients/:id/resource_assignments operation on clinical-client-resource-assignment resource\n *\n * /clinical/patients/:id/resource_assignments operation on clinical-client-resource-assignment resource\n */\nexport const getAdminClinicalPatientsByIdResourceAssignments = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalPatientsByIdResourceAssignmentsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPatientsByIdResourceAssignmentsResponses,\n    GetAdminClinicalPatientsByIdResourceAssignmentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patients/{id}/resource_assignments\",\n    ...options,\n  });\n\n/**\n * Mark the CaseType as active.\n *\n * Mark the CaseType as active.\n */\nexport const patchAdminCaseTypesByIdActivate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCaseTypesByIdActivateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCaseTypesByIdActivateResponses,\n    PatchAdminCaseTypesByIdActivateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-types/{id}/activate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/sender-profiles/:id operation on email-marketing-sender-profile resource\n *\n * /email-marketing/sender-profiles/:id operation on email-marketing-sender-profile resource\n */\nexport const deleteAdminEmailMarketingSenderProfilesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminEmailMarketingSenderProfilesByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminEmailMarketingSenderProfilesByIdResponses,\n    DeleteAdminEmailMarketingSenderProfilesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/sender-profiles/{id}\",\n    ...options,\n  });\n\n/**\n * /email-marketing/sender-profiles/:id operation on email-marketing-sender-profile resource\n *\n * /email-marketing/sender-profiles/:id operation on email-marketing-sender-profile resource\n */\nexport const getAdminEmailMarketingSenderProfilesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminEmailMarketingSenderProfilesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailMarketingSenderProfilesByIdResponses,\n    GetAdminEmailMarketingSenderProfilesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/sender-profiles/{id}\",\n    ...options,\n  });\n\n/**\n * /email-marketing/sender-profiles/:id operation on email-marketing-sender-profile resource\n *\n * /email-marketing/sender-profiles/:id operation on email-marketing-sender-profile resource\n */\nexport const patchAdminEmailMarketingSenderProfilesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailMarketingSenderProfilesByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingSenderProfilesByIdResponses,\n    PatchAdminEmailMarketingSenderProfilesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/sender-profiles/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get the current application based on x-application-key header context\n *\n * Get the current application based on x-application-key header context\n */\nexport const getAdminApplicationsMe = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminApplicationsMeData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminApplicationsMeResponses,\n    GetAdminApplicationsMeErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/me\",\n    ...options,\n  });\n\n/**\n * /catalog/stock-records/:id operation on catalog-stock-record resource\n *\n * /catalog/stock-records/:id operation on catalog-stock-record resource\n */\nexport const getAdminCatalogStockRecordsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCatalogStockRecordsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogStockRecordsByIdResponses,\n    GetAdminCatalogStockRecordsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/stock-records/{id}\",\n    ...options,\n  });\n\n/**\n * /reviews/:id/reject operation on review resource\n *\n * /reviews/:id/reject operation on review resource\n */\nexport const patchAdminReviewsByIdReject = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminReviewsByIdRejectData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminReviewsByIdRejectResponses,\n    PatchAdminReviewsByIdRejectErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/reviews/{id}/reject\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Deactivate a legal document without deleting it\n *\n * Deactivate a legal document without deleting it. Invalidates the RequireLegalAcceptance cache so the plug re-evaluates which document users must accept.\n */\nexport const patchAdminLegalDocumentsByIdUnpublish = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminLegalDocumentsByIdUnpublishData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminLegalDocumentsByIdUnpublishResponses,\n    PatchAdminLegalDocumentsByIdUnpublishErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/legal-documents/{id}/unpublish\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /legal-acceptances/:id operation on legal-acceptance resource\n *\n * /legal-acceptances/:id operation on legal-acceptance resource\n */\nexport const getAdminLegalAcceptancesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminLegalAcceptancesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLegalAcceptancesByIdResponses,\n    GetAdminLegalAcceptancesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/legal-acceptances/{id}\",\n    ...options,\n  });\n\n/**\n * /extraction/agents operation on extraction-agent resource\n *\n * /extraction/agents operation on extraction-agent resource\n */\nexport const getAdminExtractionAgents = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminExtractionAgentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionAgentsResponses,\n    GetAdminExtractionAgentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/agents\",\n    ...options,\n  });\n\n/**\n * Get a Fullscript embed session grant token for the prescribing widget\n *\n * Get a Fullscript embed session grant token for the prescribing widget\n */\nexport const postAdminConnectorsFullscriptSessionGrant = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminConnectorsFullscriptSessionGrantData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsFullscriptSessionGrantResponses,\n    PostAdminConnectorsFullscriptSessionGrantErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/fullscript/session-grant\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/note-templates operation on clinical-note-template resource\n *\n * /clinical/note-templates operation on clinical-note-template resource\n */\nexport const getAdminClinicalNoteTemplates = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalNoteTemplatesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNoteTemplatesResponses,\n    GetAdminClinicalNoteTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates\",\n    ...options,\n  });\n\n/**\n * /clinical/note-templates operation on clinical-note-template resource\n *\n * /clinical/note-templates operation on clinical-note-template resource\n */\nexport const postAdminClinicalNoteTemplates = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalNoteTemplatesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalNoteTemplatesResponses,\n    PostAdminClinicalNoteTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get daily credit usage history\n *\n * Get daily credit usage history\n */\nexport const getAdminWalletUsage = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminWalletUsageData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWalletUsageResponses,\n    GetAdminWalletUsageErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/usage\",\n    ...options,\n  });\n\n/**\n * /email/inclusions operation on email-inclusion resource\n *\n * /email/inclusions operation on email-inclusion resource\n */\nexport const postAdminEmailInclusions = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminEmailInclusionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailInclusionsResponses,\n    PostAdminEmailInclusionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inclusions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /support/sla-policies/:id operation on support-sla-policy resource\n *\n * /support/sla-policies/:id operation on support-sla-policy resource\n */\nexport const deleteAdminSupportSlaPoliciesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSupportSlaPoliciesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSupportSlaPoliciesByIdResponses,\n    DeleteAdminSupportSlaPoliciesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/sla-policies/{id}\",\n    ...options,\n  });\n\n/**\n * /support/sla-policies/:id operation on support-sla-policy resource\n *\n * /support/sla-policies/:id operation on support-sla-policy resource\n */\nexport const getAdminSupportSlaPoliciesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSupportSlaPoliciesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportSlaPoliciesByIdResponses,\n    GetAdminSupportSlaPoliciesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/sla-policies/{id}\",\n    ...options,\n  });\n\n/**\n * Update SLA policy targets or business hours setting\n *\n * Update SLA policy targets or business hours setting. Changes apply to new SLA_due_at calculations — existing tickets already have sla_due_at set and are unaffected.\n */\nexport const patchAdminSupportSlaPoliciesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSupportSlaPoliciesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSupportSlaPoliciesByIdResponses,\n    PatchAdminSupportSlaPoliciesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/sla-policies/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/metrics/:id operation on post-metric resource\n *\n * /social/metrics/:id operation on post-metric resource\n */\nexport const getAdminSocialMetricsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSocialMetricsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialMetricsByIdResponses,\n    GetAdminSocialMetricsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/metrics/{id}\",\n    ...options,\n  });\n\n/**\n * /applications/:application_id/email-templates/:slug operation on email-template resource\n *\n * /applications/:application_id/email-templates/:slug operation on email-template resource\n */\nexport const deleteAdminApplicationsByApplicationIdEmailTemplatesBySlug = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminApplicationsByApplicationIdEmailTemplatesBySlugData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminApplicationsByApplicationIdEmailTemplatesBySlugResponses,\n    DeleteAdminApplicationsByApplicationIdEmailTemplatesBySlugErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/{application_id}/email-templates/{slug}\",\n    ...options,\n  });\n\n/**\n * Fetch a single email template by its slug within the given application\n *\n * Fetch a single email template by its slug within the given application. Returns the template for rendering or editing; use :preview to render it with sample data.\n */\nexport const getAdminApplicationsByApplicationIdEmailTemplatesBySlug = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminApplicationsByApplicationIdEmailTemplatesBySlugData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminApplicationsByApplicationIdEmailTemplatesBySlugResponses,\n    GetAdminApplicationsByApplicationIdEmailTemplatesBySlugErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/{application_id}/email-templates/{slug}\",\n    ...options,\n  });\n\n/**\n * Update the display name, subject, body, branding color, or enabled state of an existing template\n *\n * Update the display name, subject, body, branding color, or enabled state of an existing template. Works for both system and custom templates; the slug cannot be changed after creation.\n */\nexport const patchAdminApplicationsByApplicationIdEmailTemplatesBySlug = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminApplicationsByApplicationIdEmailTemplatesBySlugData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminApplicationsByApplicationIdEmailTemplatesBySlugResponses,\n    PatchAdminApplicationsByApplicationIdEmailTemplatesBySlugErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/{application_id}/email-templates/{slug}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /support/routing-rules/:id operation on support-routing-rule resource\n *\n * /support/routing-rules/:id operation on support-routing-rule resource\n */\nexport const deleteAdminSupportRoutingRulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSupportRoutingRulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSupportRoutingRulesByIdResponses,\n    DeleteAdminSupportRoutingRulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/routing-rules/{id}\",\n    ...options,\n  });\n\n/**\n * /support/routing-rules/:id operation on support-routing-rule resource\n *\n * /support/routing-rules/:id operation on support-routing-rule resource\n */\nexport const getAdminSupportRoutingRulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSupportRoutingRulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportRoutingRulesByIdResponses,\n    GetAdminSupportRoutingRulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/routing-rules/{id}\",\n    ...options,\n  });\n\n/**\n * Update a routing rule's conditions, action, parameters, or priority order\n *\n * Update a routing rule's conditions, action, parameters, or priority order. Changes take effect on the next ticket creation — existing tickets are not re-evaluated.\n */\nexport const patchAdminSupportRoutingRulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSupportRoutingRulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSupportRoutingRulesByIdResponses,\n    PatchAdminSupportRoutingRulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/routing-rules/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Run a filtered semantic search with additional constraints on document type, date range, or specific workspace IDs; use when basic search results need to be scoped to a subset of the tenant's content.\n *\n * Run a filtered semantic search with additional constraints on document type, date range, or specific workspace IDs; use when basic search results need to be scoped to a subset of the tenant's content.\n */\nexport const postAdminAiSearchAdvanced = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAiSearchAdvancedData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAiSearchAdvancedResponses,\n    PostAdminAiSearchAdvancedErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/search/advanced\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get workspace preference by context_key\n *\n * Get workspace preference by context_key\n */\nexport const getAdminWorkspacePreferencesByKey = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWorkspacePreferencesByKeyData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspacePreferencesByKeyResponses,\n    GetAdminWorkspacePreferencesByKeyErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-preferences/by_key\",\n    ...options,\n  });\n\n/**\n * List all nodes for a pipeline, ordered by order field.\n *\n * List all nodes for a pipeline, ordered by order field.\n */\nexport const getAdminPipelineNodesByPipelineByPipelineId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminPipelineNodesByPipelineByPipelineIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminPipelineNodesByPipelineByPipelineIdResponses,\n    GetAdminPipelineNodesByPipelineByPipelineIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-nodes/by-pipeline/{pipeline_id}\",\n    ...options,\n  });\n\n/**\n * Return a per-action count for a tenant's audit logs\n *\n * Return a per-action count for a tenant's audit logs. Optionally scoped to a workspace.\n */\nexport const getAdminAuditLogsCountByAction = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAuditLogsCountByActionData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAuditLogsCountByActionResponses,\n    GetAdminAuditLogsCountByActionErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/audit-logs/count-by-action\",\n    ...options,\n  });\n\n/**\n * Update workspace storage settings - tenant admin/owner only\n *\n * Update workspace storage settings - tenant admin/owner only\n */\nexport const patchAdminWorkspacesByIdStorageSettings = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWorkspacesByIdStorageSettingsData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWorkspacesByIdStorageSettingsResponses,\n    PatchAdminWorkspacesByIdStorageSettingsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{id}/storage-settings\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch non-deleted files matching a given checksum\n *\n * Fetch non-deleted files matching a given checksum. Use for deduplication before uploading.\n */\nexport const getAdminStorageFilesByChecksum = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminStorageFilesByChecksumData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminStorageFilesByChecksumResponses,\n    GetAdminStorageFilesByChecksumErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-files/by-checksum\",\n    ...options,\n  });\n\n/**\n * Make a legal document live\n *\n * Make a legal document live. Sets `is_active: true`, records `published_at` and `published_by_user_id`, invalidates the RequireLegalAcceptance cache, and enqueues a NotifyTosUpdate Oban job to notify affected users.\n */\nexport const patchAdminLegalDocumentsByIdPublish = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminLegalDocumentsByIdPublishData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminLegalDocumentsByIdPublishResponses,\n    PatchAdminLegalDocumentsByIdPublishErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/legal-documents/{id}/publish\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Begin reviewing an amendment request.\n *\n * Begin reviewing an amendment request.\n */\nexport const patchAdminAmendmentRequestsByIdReview = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminAmendmentRequestsByIdReviewData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAmendmentRequestsByIdReviewResponses,\n    PatchAdminAmendmentRequestsByIdReviewErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/amendment-requests/{id}/review\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Execute multiple search queries in a single request and return the combined results\n *\n * Execute multiple search queries in a single request and return the combined results. Useful for populating dashboard sections with different query terms simultaneously.\n */\nexport const postAdminSearchBatch = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSearchBatchData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSearchBatchResponses,\n    PostAdminSearchBatchErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/batch\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/favorites operation on recipes-recipe-favorite resource\n *\n * /recipes/favorites operation on recipes-recipe-favorite resource\n */\nexport const postAdminRecipesFavorites = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminRecipesFavoritesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesFavoritesResponses,\n    PostAdminRecipesFavoritesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/favorites\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a stock location (warehouse, store, drop-ship, etc.) in a workspace; enforces max_stock_locations quota\n *\n * Create a stock location (warehouse, store, drop-ship, etc.) in a workspace; enforces max_stock_locations quota. Returns the created location.\n */\nexport const postAdminCatalogStockLocations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCatalogStockLocationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogStockLocationsResponses,\n    PostAdminCatalogStockLocationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/stock-locations\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all batches for a workspace, unfiltered and unpaginated\n *\n * List all batches for a workspace, unfiltered and unpaginated. Use this to populate a batch picker or dashboard.\n */\nexport const getAdminExtractionBatchesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionBatchesWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionBatchesWorkspaceByWorkspaceIdResponses,\n    GetAdminExtractionBatchesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/batches/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/client-goals/archived operation on clinical-client-goal resource\n *\n * /clinical/client-goals/archived operation on clinical-client-goal resource\n */\nexport const getAdminClinicalClientGoalsArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalClientGoalsArchivedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalClientGoalsArchivedResponses,\n    GetAdminClinicalClientGoalsArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-goals/archived\",\n    ...options,\n  });\n\n/**\n * Publish a plan bundle atomically\n *\n * Publish a plan bundle atomically. Composes Plan + FeatureDefinitions +\n * PlanFeatureAllocations + CompositeOperations + CreditPackages +\n * PricingStrategies in one transaction. Runs the §4.9 pre-publish\n * checklist (capability refs, permitted tiers, Schedule A op IDs,\n * blended-margin floor) before persisting. Below-floor publishes are\n * hard-blocked unless `ack_below_floor: true` and `reason` are provided —\n * acknowledged below-floor publishes write an `audit:plan_published_below_floor`\n * audit row.\n *\n * Phase 1 skeleton: returns a placeholder response. Real behavior lands in\n * Phase 2.\n *\n */\nexport const postAdminPlanBundlesPublish = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminPlanBundlesPublishData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPlanBundlesPublishResponses,\n    PostAdminPlanBundlesPublishErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plan-bundles/publish\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /settlements/:id/mark-failed operation on settlement resource\n *\n * /settlements/:id/mark-failed operation on settlement resource\n */\nexport const patchAdminSettlementsByIdMarkFailed = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSettlementsByIdMarkFailedData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSettlementsByIdMarkFailedResponses,\n    PatchAdminSettlementsByIdMarkFailedErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlements/{id}/mark-failed\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/insurance-authorizations/expiring operation on clinical-insurance-authorization resource\n *\n * /clinical/insurance-authorizations/expiring operation on clinical-insurance-authorization resource\n */\nexport const getAdminClinicalInsuranceAuthorizationsExpiring = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalInsuranceAuthorizationsExpiringData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalInsuranceAuthorizationsExpiringResponses,\n    GetAdminClinicalInsuranceAuthorizationsExpiringErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/insurance-authorizations/expiring\",\n    ...options,\n  });\n\n/**\n * /platform-tones/by-brand/:brand_identity_id operation on platform-tone resource\n *\n * /platform-tones/by-brand/:brand_identity_id operation on platform-tone resource\n */\nexport const getAdminPlatformTonesByBrandByBrandIdentityId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminPlatformTonesByBrandByBrandIdentityIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminPlatformTonesByBrandByBrandIdentityIdResponses,\n    GetAdminPlatformTonesByBrandByBrandIdentityIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/platform-tones/by-brand/{brand_identity_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/intake-targets/:id operation on clinical-intake-target resource\n *\n * /clinical/intake-targets/:id operation on clinical-intake-target resource\n */\nexport const getAdminClinicalIntakeTargetsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalIntakeTargetsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalIntakeTargetsByIdResponses,\n    GetAdminClinicalIntakeTargetsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/intake-targets/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/intake-targets/:id operation on clinical-intake-target resource\n *\n * /clinical/intake-targets/:id operation on clinical-intake-target resource\n */\nexport const patchAdminClinicalIntakeTargetsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalIntakeTargetsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalIntakeTargetsByIdResponses,\n    PatchAdminClinicalIntakeTargetsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/intake-targets/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/rules/:id operation on invoices-rule resource\n *\n * /invoices/rules/:id operation on invoices-rule resource\n */\nexport const deleteAdminInvoicesRulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminInvoicesRulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminInvoicesRulesByIdResponses,\n    DeleteAdminInvoicesRulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/rules/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/rules/:id operation on invoices-rule resource\n *\n * /invoices/rules/:id operation on invoices-rule resource\n */\nexport const getAdminInvoicesRulesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminInvoicesRulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminInvoicesRulesByIdResponses,\n    GetAdminInvoicesRulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/rules/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/rules/:id operation on invoices-rule resource\n *\n * /invoices/rules/:id operation on invoices-rule resource\n */\nexport const patchAdminInvoicesRulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesRulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesRulesByIdResponses,\n    PatchAdminInvoicesRulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/rules/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fork a thread by cloning it with all its messages\n *\n * Fork a thread by cloning it with all its messages\n */\nexport const postAdminThreadsByIdFork = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminThreadsByIdForkData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminThreadsByIdForkResponses,\n    PostAdminThreadsByIdForkErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/{id}/fork\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-goals/:id/restore operation on clinical-client-goal resource\n *\n * /clinical/client-goals/:id/restore operation on clinical-client-goal resource\n */\nexport const patchAdminClinicalClientGoalsByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalClientGoalsByIdRestoreData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientGoalsByIdRestoreResponses,\n    PatchAdminClinicalClientGoalsByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-goals/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/generated-emails/:id operation on email-marketing-generated-email resource\n *\n * /email-marketing/generated-emails/:id operation on email-marketing-generated-email resource\n */\nexport const getAdminEmailMarketingGeneratedEmailsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminEmailMarketingGeneratedEmailsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailMarketingGeneratedEmailsByIdResponses,\n    GetAdminEmailMarketingGeneratedEmailsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/generated-emails/{id}\",\n    ...options,\n  });\n\n/**\n * /email-marketing/generated-emails/:id operation on email-marketing-generated-email resource\n *\n * /email-marketing/generated-emails/:id operation on email-marketing-generated-email resource\n */\nexport const patchAdminEmailMarketingGeneratedEmailsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailMarketingGeneratedEmailsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingGeneratedEmailsByIdResponses,\n    PatchAdminEmailMarketingGeneratedEmailsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/generated-emails/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all workspace preferences, optionally filtered by prefix\n *\n * List all workspace preferences, optionally filtered by prefix\n */\nexport const getAdminWorkspacePreferences = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWorkspacePreferencesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspacePreferencesResponses,\n    GetAdminWorkspacePreferencesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-preferences\",\n    ...options,\n  });\n\n/**\n * List all pending invitations addressed to the authenticated actor's email\n *\n * List all pending invitations addressed to the authenticated actor's email.\n * Always uses the actor's identity for scoping regardless of user_id argument\n * to prevent data leakage. Returns an empty list if the actor is not found or\n * has no pending invitations.\n *\n */\nexport const getAdminInvitationsMe = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminInvitationsMeData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminInvitationsMeResponses,\n    GetAdminInvitationsMeErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invitations/me\",\n    ...options,\n  });\n\n/**\n * /scan-results operation on scan-result resource\n *\n * /scan-results operation on scan-result resource\n */\nexport const getAdminScanResults = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminScanResultsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminScanResultsResponses,\n    GetAdminScanResultsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scan-results\",\n    ...options,\n  });\n\n/**\n * /data-transfer-records/:id operation on data-transfer-record resource\n *\n * /data-transfer-records/:id operation on data-transfer-record resource\n */\nexport const deleteAdminDataTransferRecordsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminDataTransferRecordsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminDataTransferRecordsByIdResponses,\n    DeleteAdminDataTransferRecordsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/data-transfer-records/{id}\",\n    ...options,\n  });\n\n/**\n * /data-transfer-records/:id operation on data-transfer-record resource\n *\n * /data-transfer-records/:id operation on data-transfer-record resource\n */\nexport const getAdminDataTransferRecordsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminDataTransferRecordsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminDataTransferRecordsByIdResponses,\n    GetAdminDataTransferRecordsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/data-transfer-records/{id}\",\n    ...options,\n  });\n\n/**\n * /connectors/credentials operation on credential resource\n *\n * /connectors/credentials operation on credential resource\n */\nexport const getAdminConnectorsCredentials = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminConnectorsCredentialsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminConnectorsCredentialsResponses,\n    GetAdminConnectorsCredentialsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/credentials\",\n    ...options,\n  });\n\n/**\n * Set per-subscription rate-limit overrides\n *\n * Set per-subscription rate-limit overrides. Restricted to Platform Admin\n * and Application Owner (the tenant that owns the Application this\n * subscription's plan belongs to). NOT exposed to tenant owners — overrides\n * are platform/ISV concessions and would be an abuse vector if writable by\n * the customer who is subject to the limit.\n *\n * Pass any of `rate_limit_requests_override`, `rate_limit_period_seconds_override`,\n * or `concurrent_operations_limit_override`. `nil` clears an existing\n * override (falls back to plan-level limit).\n *\n */\nexport const patchAdminSubscriptionsByIdSetRateLimitOverrides = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminSubscriptionsByIdSetRateLimitOverridesData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSubscriptionsByIdSetRateLimitOverridesResponses,\n    PatchAdminSubscriptionsByIdSetRateLimitOverridesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/subscriptions/{id}/set-rate-limit-overrides\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /notification-logs operation on notification-log resource\n *\n * /notification-logs operation on notification-log resource\n */\nexport const getAdminNotificationLogs = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminNotificationLogsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminNotificationLogsResponses,\n    GetAdminNotificationLogsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-logs\",\n    ...options,\n  });\n\n/**\n * List all option types for an application ordered by position\n *\n * List all option types for an application ordered by position. Returns a paginated list.\n */\nexport const getAdminCatalogOptionTypesApplicationByApplicationId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogOptionTypesApplicationByApplicationIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogOptionTypesApplicationByApplicationIdResponses,\n    GetAdminCatalogOptionTypesApplicationByApplicationIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/option-types/application/{application_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-templates/:id/restore operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/:id/restore operation on clinical-goal-template resource\n */\nexport const patchAdminClinicalGoalTemplatesByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalGoalTemplatesByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalGoalTemplatesByIdRestoreResponses,\n    PatchAdminClinicalGoalTemplatesByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/meal-plans/by-meal-schedule operation on clinical-meal-plan resource\n *\n * /clinical/meal-plans/by-meal-schedule operation on clinical-meal-plan resource\n */\nexport const getAdminClinicalMealPlansByMealSchedule = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalMealPlansByMealScheduleData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalMealPlansByMealScheduleResponses,\n    GetAdminClinicalMealPlansByMealScheduleErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/meal-plans/by-meal-schedule\",\n    ...options,\n  });\n\n/**\n * List invoices for a workspace with optional filters\n *\n * List invoices for a workspace with optional filters\n */\nexport const getAdminInvoicesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminInvoicesWorkspaceByWorkspaceIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminInvoicesWorkspaceByWorkspaceIdResponses,\n    GetAdminInvoicesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * List templates in a supplement collection\n *\n * List templates in a supplement collection\n */\nexport const getAdminClinicalSupplementTemplateCollectionMembershipsCollectionByCollectionId =\n  <ThrowOnError extends boolean = false>(\n    options: Options<\n      GetAdminClinicalSupplementTemplateCollectionMembershipsCollectionByCollectionIdData,\n      ThrowOnError\n    >,\n  ) =>\n    (options.client ?? client).get<\n      GetAdminClinicalSupplementTemplateCollectionMembershipsCollectionByCollectionIdResponses,\n      GetAdminClinicalSupplementTemplateCollectionMembershipsCollectionByCollectionIdErrors,\n      ThrowOnError\n    >({\n      querySerializer: {\n        parameters: {\n          filter: { object: { style: \"form\" } },\n          page: { object: { style: \"form\" } },\n          fields: { object: { style: \"form\" } },\n        },\n      },\n      security: [{ scheme: \"bearer\", type: \"http\" }],\n      url: \"/admin/clinical/supplement-template-collection-memberships/collection/{collection_id}\",\n      ...options,\n    });\n\n/**\n * List AgentVersions, optionally filtered to a specific agent\n *\n * List AgentVersions, optionally filtered to a specific agent. Includes all versions regardless of active or draft status.\n */\nexport const getAdminAgentVersions = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAgentVersionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentVersionsResponses,\n    GetAdminAgentVersionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-versions\",\n    ...options,\n  });\n\n/**\n * Create a new AgentVersion snapshot\n *\n * Create a new AgentVersion snapshot. Accepts the schema fields, prompt template, version\n * number, and optional parent version for lineage tracking. New versions are created with\n * `is_active: false` — call `:activate` (via `AgentVersion.activate`) or\n * `Agent.activate_schema_version` to make this version live.\n *\n * Draft versions can be created with `is_draft: true` (used by `Agent.get_or_create_draft`).\n * Cache invalidation for the schema cache is handled via the `VersionMutated` event.\n *\n * Returns the created version with `is_active: false`.\n *\n */\nexport const postAdminAgentVersions = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAgentVersionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentVersionsResponses,\n    PostAdminAgentVersionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-versions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all voice sessions in a workspace (ISV admin)\n *\n * List all voice sessions in a workspace (ISV admin)\n */\nexport const getAdminVoiceSessionsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminVoiceSessionsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceSessionsWorkspaceByWorkspaceIdResponses,\n    GetAdminVoiceSessionsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/sessions/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/meal-plans/:id/approve operation on clinical-meal-plan resource\n *\n * /clinical/meal-plans/:id/approve operation on clinical-meal-plan resource\n */\nexport const patchAdminClinicalMealPlansByIdApprove = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalMealPlansByIdApproveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalMealPlansByIdApproveResponses,\n    PatchAdminClinicalMealPlansByIdApproveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/meal-plans/{id}/approve\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Approve an amendment request.\n *\n * Approve an amendment request.\n */\nexport const patchAdminAmendmentRequestsByIdApprove = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminAmendmentRequestsByIdApproveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAmendmentRequestsByIdApproveResponses,\n    PatchAdminAmendmentRequestsByIdApproveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/amendment-requests/{id}/approve\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /pipeline-executions/by-pipeline/:pipeline_id operation on pipeline-execution resource\n *\n * /pipeline-executions/by-pipeline/:pipeline_id operation on pipeline-execution resource\n */\nexport const getAdminPipelineExecutionsByPipelineByPipelineId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminPipelineExecutionsByPipelineByPipelineIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminPipelineExecutionsByPipelineByPipelineIdResponses,\n    GetAdminPipelineExecutionsByPipelineByPipelineIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-executions/by-pipeline/{pipeline_id}\",\n    ...options,\n  });\n\n/**\n * /campaigns/recipients/campaign/:campaign_id operation on email-marketing-recipient resource\n *\n * /campaigns/recipients/campaign/:campaign_id operation on email-marketing-recipient resource\n */\nexport const getAdminCampaignsRecipientsCampaignByCampaignId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCampaignsRecipientsCampaignByCampaignIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCampaignsRecipientsCampaignByCampaignIdResponses,\n    GetAdminCampaignsRecipientsCampaignByCampaignIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/recipients/campaign/{campaign_id}\",\n    ...options,\n  });\n\n/**\n * Look up a pending, non-expired invitation by its raw token\n *\n * Look up a pending, non-expired invitation by its raw token. Hashes the token\n * before querying so the raw value is never stored. Returns nil if the token is\n * invalid, already used, or expired. Used by invitation acceptance flows to display\n * invitation details before the user commits.\n *\n */\nexport const getAdminInvitationsConsumeByToken = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminInvitationsConsumeByTokenData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminInvitationsConsumeByTokenResponses,\n    GetAdminInvitationsConsumeByTokenErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invitations/consume/{token}\",\n    ...options,\n  });\n\n/**\n * Full-text keyword search via Meilisearch across users, tenants, and documents\n *\n * Full-text keyword search via Meilisearch across users, tenants, and documents. Non-admin actors are silently restricted to tenant scope regardless of the `scope` argument. Returns a single result struct with `users`, `tenants`, and `documents` arrays.\n */\nexport const getAdminSearch = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSearchData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSearchResponses,\n    GetAdminSearchErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search\",\n    ...options,\n  });\n\n/**\n * /recipes/collections operation on recipes-recipe-collection resource\n *\n * /recipes/collections operation on recipes-recipe-collection resource\n */\nexport const postAdminRecipesCollections = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminRecipesCollectionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesCollectionsResponses,\n    PostAdminRecipesCollectionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/collections\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Move a deal to a different pipeline stage\n *\n * Move a deal to a different pipeline stage. Records the previous stage ID in\n * metadata so the DealStageChanged event can be published downstream. Use instead\n * of :update when only the stage needs to change — avoids triggering all update validators.\n *\n */\nexport const patchAdminCrmDealsByIdMoveStage = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmDealsByIdMoveStageData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmDealsByIdMoveStageResponses,\n    PatchAdminCrmDealsByIdMoveStageErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/deals/{id}/move-stage\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /balances operation on balance resource\n *\n * /balances operation on balance resource\n */\nexport const getAdminBalances = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminBalancesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBalancesResponses,\n    GetAdminBalancesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/balances\",\n    ...options,\n  });\n\n/**\n * List all queues for an application\n *\n * List all queues for an application. Use to populate queue assignment dropdowns on ticket create/update and to configure routing rules.\n */\nexport const getAdminSupportQueuesApplicationByApplicationId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSupportQueuesApplicationByApplicationIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportQueuesApplicationByApplicationIdResponses,\n    GetAdminSupportQueuesApplicationByApplicationIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/queues/application/{application_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-templates/catalog/:id/archive operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/catalog/:id/archive operation on clinical-supplement-template resource\n */\nexport const patchAdminClinicalSupplementTemplatesCatalogByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalSupplementTemplatesCatalogByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalSupplementTemplatesCatalogByIdArchiveResponses,\n    PatchAdminClinicalSupplementTemplatesCatalogByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/catalog/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /workspace-agent-configs operation on workspace-agent-config resource\n *\n * /workspace-agent-configs operation on workspace-agent-config resource\n */\nexport const getAdminWorkspaceAgentConfigs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWorkspaceAgentConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspaceAgentConfigsResponses,\n    GetAdminWorkspaceAgentConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-agent-configs\",\n    ...options,\n  });\n\n/**\n * /workspace-agent-configs operation on workspace-agent-config resource\n *\n * /workspace-agent-configs operation on workspace-agent-config resource\n */\nexport const postAdminWorkspaceAgentConfigs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminWorkspaceAgentConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminWorkspaceAgentConfigsResponses,\n    PostAdminWorkspaceAgentConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-agent-configs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/unsubscribers/:id operation on email-unsubscriber resource\n *\n * /email-marketing/unsubscribers/:id operation on email-unsubscriber resource\n */\nexport const getAdminEmailMarketingUnsubscribersById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminEmailMarketingUnsubscribersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailMarketingUnsubscribersByIdResponses,\n    GetAdminEmailMarketingUnsubscribersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/unsubscribers/{id}\",\n    ...options,\n  });\n\n/**\n * /notification-logs/:id operation on notification-log resource\n *\n * /notification-logs/:id operation on notification-log resource\n */\nexport const getAdminNotificationLogsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminNotificationLogsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminNotificationLogsByIdResponses,\n    GetAdminNotificationLogsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-logs/{id}\",\n    ...options,\n  });\n\n/**\n * /ledger/:id operation on ledger resource\n *\n * /ledger/:id operation on ledger resource\n */\nexport const getAdminLedgerById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminLedgerByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLedgerByIdResponses,\n    GetAdminLedgerByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ledger/{id}\",\n    ...options,\n  });\n\n/**\n * /email/template-versions/:template_id/versions/:version_number operation on email-template-version resource\n *\n * /email/template-versions/:template_id/versions/:version_number operation on email-template-version resource\n */\nexport const getAdminEmailTemplateVersionsByTemplateIdVersionsByVersionNumber =\n  <ThrowOnError extends boolean = false>(\n    options: Options<\n      GetAdminEmailTemplateVersionsByTemplateIdVersionsByVersionNumberData,\n      ThrowOnError\n    >,\n  ) =>\n    (options.client ?? client).get<\n      GetAdminEmailTemplateVersionsByTemplateIdVersionsByVersionNumberResponses,\n      GetAdminEmailTemplateVersionsByTemplateIdVersionsByVersionNumberErrors,\n      ThrowOnError\n    >({\n      querySerializer: {\n        parameters: { fields: { object: { style: \"form\" } } },\n      },\n      security: [{ scheme: \"bearer\", type: \"http\" }],\n      url: \"/admin/email/template-versions/{template_id}/versions/{version_number}\",\n      ...options,\n    });\n\n/**\n * Predict optimal send times per recipient using AI\n *\n * Predict optimal send times per recipient using AI\n */\nexport const postAdminEmailMarketingCampaignsByIdOptimizeSendTimes = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminEmailMarketingCampaignsByIdOptimizeSendTimesData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailMarketingCampaignsByIdOptimizeSendTimesResponses,\n    PostAdminEmailMarketingCampaignsByIdOptimizeSendTimesErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/campaigns/{id}/optimize-send-times\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /voice/transcription-jobs/workspace/:workspace_id operation on transcription-job resource\n *\n * /voice/transcription-jobs/workspace/:workspace_id operation on transcription-job resource\n */\nexport const getAdminVoiceTranscriptionJobsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminVoiceTranscriptionJobsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceTranscriptionJobsWorkspaceByWorkspaceIdResponses,\n    GetAdminVoiceTranscriptionJobsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/transcription-jobs/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /social/metrics/post/:social_post_id/latest operation on post-metric resource\n *\n * /social/metrics/post/:social_post_id/latest operation on post-metric resource\n */\nexport const getAdminSocialMetricsPostBySocialPostIdLatest = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSocialMetricsPostBySocialPostIdLatestData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialMetricsPostBySocialPostIdLatestResponses,\n    GetAdminSocialMetricsPostBySocialPostIdLatestErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/metrics/post/{social_post_id}/latest\",\n    ...options,\n  });\n\n/**\n * /clinical/sessions/:id/meal_plans operation on clinical-meal-plan resource\n *\n * /clinical/sessions/:id/meal_plans operation on clinical-meal-plan resource\n */\nexport const getAdminClinicalSessionsByIdMealPlans = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalSessionsByIdMealPlansData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSessionsByIdMealPlansResponses,\n    GetAdminClinicalSessionsByIdMealPlansErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/sessions/{id}/meal_plans\",\n    ...options,\n  });\n\n/**\n * Create multiple medications in a single request (e.g., from an EHR import)\n *\n * Create multiple medications in a single request (e.g., from an EHR import)\n */\nexport const postAdminClinicalClientMedicationsBulk = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalClientMedicationsBulkData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalClientMedicationsBulkResponses,\n    PostAdminClinicalClientMedicationsBulkErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-medications/bulk\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /claimed-domains/:id/revoke operation on claimed-domain resource\n *\n * /claimed-domains/:id/revoke operation on claimed-domain resource\n */\nexport const patchAdminClaimedDomainsByIdRevoke = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClaimedDomainsByIdRevokeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClaimedDomainsByIdRevokeResponses,\n    PatchAdminClaimedDomainsByIdRevokeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/claimed-domains/{id}/revoke\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Platform Admin action to register a new ISV (User + Tenant + App)\n *\n * Platform Admin action to register a new ISV (User + Tenant + App)\n */\nexport const postAdminUsersRegisterIsv = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminUsersRegisterIsvData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminUsersRegisterIsvResponses,\n    PostAdminUsersRegisterIsvErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/register-isv\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-resource-assignments/archived operation on clinical-client-resource-assignment resource\n *\n * /clinical/client-resource-assignments/archived operation on clinical-client-resource-assignment resource\n */\nexport const getAdminClinicalClientResourceAssignmentsArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalClientResourceAssignmentsArchivedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalClientResourceAssignmentsArchivedResponses,\n    GetAdminClinicalClientResourceAssignmentsArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-resource-assignments/archived\",\n    ...options,\n  });\n\n/**\n * Reject a pending price suggestion; sets status to :rejected with no cascading effects.\n *\n * Reject a pending price suggestion; sets status to :rejected with no cascading effects.\n */\nexport const patchAdminCatalogPriceSuggestionsByIdReject = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminCatalogPriceSuggestionsByIdRejectData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogPriceSuggestionsByIdRejectResponses,\n    PatchAdminCatalogPriceSuggestionsByIdRejectErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/price-suggestions/{id}/reject\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List appointments from Healthie connector\n *\n * List appointments from Healthie connector.\n *\n * Returns array of Healthie appointment records with optional date filter.\n *\n */\nexport const postAdminConnectorsByIdHealthieAppointmentsList = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsByIdHealthieAppointmentsListData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsByIdHealthieAppointmentsListResponses,\n    PostAdminConnectorsByIdHealthieAppointmentsListErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/{id}/healthie/appointments/list\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all sync configurations for a workspace, one per connector instance\n *\n * List all sync configurations for a workspace, one per connector instance. Use to audit which connectors have custom sync settings configured.\n */\nexport const getAdminCrmSyncConfigsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmSyncConfigsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmSyncConfigsWorkspaceByWorkspaceIdResponses,\n    GetAdminCrmSyncConfigsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/sync-configs/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /accounts/by-tenant/:tenant_id operation on account resource\n *\n * /accounts/by-tenant/:tenant_id operation on account resource\n */\nexport const getAdminAccountsByTenantByTenantId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAccountsByTenantByTenantIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAccountsByTenantByTenantIdResponses,\n    GetAdminAccountsByTenantByTenantIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/accounts/by-tenant/{tenant_id}\",\n    ...options,\n  });\n\n/**\n * Create a named price list for an application with a strategy (fixed, percentage_discount, or tiered)\n *\n * Create a named price list for an application with a strategy (fixed, percentage_discount, or tiered). Returns the created price list.\n */\nexport const postAdminCatalogPriceLists = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCatalogPriceListsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogPriceListsResponses,\n    PostAdminCatalogPriceListsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/price-lists\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Restore a suspended tenant to active status.\n *\n * Restore a suspended tenant to active status.\n */\nexport const patchAdminTenantsByIdUnsuspend = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminTenantsByIdUnsuspendData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTenantsByIdUnsuspendResponses,\n    PatchAdminTenantsByIdUnsuspendErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}/unsuspend\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/supplement-templates/mine operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/mine operation on clinical-supplement-template resource\n */\nexport const getAdminClinicalSupplementTemplatesMine = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalSupplementTemplatesMineData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSupplementTemplatesMineResponses,\n    GetAdminClinicalSupplementTemplatesMineErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/mine\",\n    ...options,\n  });\n\n/**\n * /pipeline-nodes/:id operation on pipeline-node resource\n *\n * /pipeline-nodes/:id operation on pipeline-node resource\n */\nexport const deleteAdminPipelineNodesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminPipelineNodesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminPipelineNodesByIdResponses,\n    DeleteAdminPipelineNodesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-nodes/{id}\",\n    ...options,\n  });\n\n/**\n * /pipeline-nodes/:id operation on pipeline-node resource\n *\n * /pipeline-nodes/:id operation on pipeline-node resource\n */\nexport const getAdminPipelineNodesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPipelineNodesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPipelineNodesByIdResponses,\n    GetAdminPipelineNodesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-nodes/{id}\",\n    ...options,\n  });\n\n/**\n * Update a pipeline node.\n *\n * Update a pipeline node.\n */\nexport const patchAdminPipelineNodesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPipelineNodesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPipelineNodesByIdResponses,\n    PatchAdminPipelineNodesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-nodes/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/outbound-emails operation on email-outbound-email resource\n *\n * /email/outbound-emails operation on email-outbound-email resource\n */\nexport const postAdminEmailOutboundEmails = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminEmailOutboundEmailsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailOutboundEmailsResponses,\n    PostAdminEmailOutboundEmailsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/outbound-emails\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Permanently cancel a tenant.\n *\n * Permanently cancel a tenant.\n */\nexport const patchAdminTenantsByIdCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminTenantsByIdCancelData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTenantsByIdCancelResponses,\n    PatchAdminTenantsByIdCancelErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /workspaces/:workspace_id/extraction/:document_id/mapping operation on field-mapping-result resource\n *\n * /workspaces/:workspace_id/extraction/:document_id/mapping operation on field-mapping-result resource\n */\nexport const getAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMapping = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses,\n    GetAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{workspace_id}/extraction/{document_id}/mapping\",\n    ...options,\n  });\n\n/**\n * /workspaces/:workspace_id/extraction/:document_id/mapping operation on field-mapping-confirmation resource\n *\n * /workspaces/:workspace_id/extraction/:document_id/mapping operation on field-mapping-confirmation resource\n */\nexport const postAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMapping = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMappingData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMappingResponses,\n    PostAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMappingErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{workspace_id}/extraction/{document_id}/mapping\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/collection-recipes/:id operation on recipes-collection-recipe resource\n *\n * /recipes/collection-recipes/:id operation on recipes-collection-recipe resource\n */\nexport const deleteAdminRecipesCollectionRecipesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminRecipesCollectionRecipesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRecipesCollectionRecipesByIdResponses,\n    DeleteAdminRecipesCollectionRecipesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/collection-recipes/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/collection-recipes/:id operation on recipes-collection-recipe resource\n *\n * /recipes/collection-recipes/:id operation on recipes-collection-recipe resource\n */\nexport const getAdminRecipesCollectionRecipesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesCollectionRecipesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesCollectionRecipesByIdResponses,\n    GetAdminRecipesCollectionRecipesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/collection-recipes/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/collection-recipes/:id operation on recipes-collection-recipe resource\n *\n * /recipes/collection-recipes/:id operation on recipes-collection-recipe resource\n */\nexport const patchAdminRecipesCollectionRecipesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRecipesCollectionRecipesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesCollectionRecipesByIdResponses,\n    PatchAdminRecipesCollectionRecipesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/collection-recipes/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/intake-targets operation on clinical-intake-target resource\n *\n * /clinical/intake-targets operation on clinical-intake-target resource\n */\nexport const getAdminClinicalIntakeTargets = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalIntakeTargetsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalIntakeTargetsResponses,\n    GetAdminClinicalIntakeTargetsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/intake-targets\",\n    ...options,\n  });\n\n/**\n * /clinical/intake-targets operation on clinical-intake-target resource\n *\n * /clinical/intake-targets operation on clinical-intake-target resource\n */\nexport const postAdminClinicalIntakeTargets = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalIntakeTargetsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalIntakeTargetsResponses,\n    PostAdminClinicalIntakeTargetsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/intake-targets\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /pipeline-nodes operation on pipeline-node resource\n *\n * /pipeline-nodes operation on pipeline-node resource\n */\nexport const getAdminPipelineNodes = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPipelineNodesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPipelineNodesResponses,\n    GetAdminPipelineNodesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-nodes\",\n    ...options,\n  });\n\n/**\n * Create a new pipeline node.\n *\n * Create a new pipeline node.\n */\nexport const postAdminPipelineNodes = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminPipelineNodesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPipelineNodesResponses,\n    PostAdminPipelineNodesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-nodes\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List quote requests for a workspace, optionally filtered by status.\n *\n * List quote requests for a workspace, optionally filtered by status.\n */\nexport const getAdminQuoteRequestsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminQuoteRequestsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminQuoteRequestsWorkspaceByWorkspaceIdResponses,\n    GetAdminQuoteRequestsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/quote-requests/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * List all feature usage records.\n *\n * List all feature usage records.\n */\nexport const getAdminFeatureUsages = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminFeatureUsagesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFeatureUsagesResponses,\n    GetAdminFeatureUsagesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/feature-usages\",\n    ...options,\n  });\n\n/**\n * Permanently delete a recipe\n *\n * Permanently delete a recipe. Irreversible.\n */\nexport const deleteAdminRecipesById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminRecipesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRecipesByIdResponses,\n    DeleteAdminRecipesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/:id operation on recipes-recipe resource\n *\n * /recipes/:id operation on recipes-recipe resource\n */\nexport const getAdminRecipesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminRecipesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesByIdResponses,\n    GetAdminRecipesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/:id operation on recipes-recipe resource\n *\n * /recipes/:id operation on recipes-recipe resource\n */\nexport const patchAdminRecipesById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminRecipesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesByIdResponses,\n    PatchAdminRecipesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List ingredients for a recipe\n *\n * List ingredients for a recipe\n */\nexport const getAdminRecipesIngredientsRecipeByRecipeId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesIngredientsRecipeByRecipeIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesIngredientsRecipeByRecipeIdResponses,\n    GetAdminRecipesIngredientsRecipeByRecipeIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/ingredients/recipe/{recipe_id}\",\n    ...options,\n  });\n\n/**\n * Delete a preference by context_key for the current user\n *\n * Delete a preference by context_key for the current user\n */\nexport const deleteAdminPreferencesByKey = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminPreferencesByKeyData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminPreferencesByKeyResponses,\n    DeleteAdminPreferencesByKeyErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/preferences/by_key\",\n    ...options,\n  });\n\n/**\n * Get preference by context_key for the current user\n *\n * Get preference by context_key for the current user\n */\nexport const getAdminPreferencesByKey = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPreferencesByKeyData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPreferencesByKeyResponses,\n    GetAdminPreferencesByKeyErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/preferences/by_key\",\n    ...options,\n  });\n\n/**\n * Look up an agent by its system_slug\n *\n * Look up an agent by its system_slug. Use this for ISV-provisioned agents where the slug is a stable identifier that survives database resets. Returns a single agent or not-found error.\n */\nexport const getAdminAgentsBySlugBySlug = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAgentsBySlugBySlugData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentsBySlugBySlugResponses,\n    GetAdminAgentsBySlugBySlugErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/by-slug/{slug}\",\n    ...options,\n  });\n\n/**\n * /tenants/:tenant_id/document_stats operation on tenant-document-stats resource\n *\n * /tenants/:tenant_id/document_stats operation on tenant-document-stats resource\n */\nexport const getAdminTenantsByTenantIdDocumentStats = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminTenantsByTenantIdDocumentStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTenantsByTenantIdDocumentStatsResponses,\n    GetAdminTenantsByTenantIdDocumentStatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{tenant_id}/document_stats\",\n    ...options,\n  });\n\n/**\n * /crm/addresses/:id operation on crm-address resource\n *\n * /crm/addresses/:id operation on crm-address resource\n */\nexport const deleteAdminCrmAddressesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmAddressesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmAddressesByIdResponses,\n    DeleteAdminCrmAddressesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/addresses/{id}\",\n    ...options,\n  });\n\n/**\n * /crm/addresses/:id operation on crm-address resource\n *\n * /crm/addresses/:id operation on crm-address resource\n */\nexport const getAdminCrmAddressesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCrmAddressesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmAddressesByIdResponses,\n    GetAdminCrmAddressesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/addresses/{id}\",\n    ...options,\n  });\n\n/**\n * /crm/addresses/:id operation on crm-address resource\n *\n * /crm/addresses/:id operation on crm-address resource\n */\nexport const patchAdminCrmAddressesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmAddressesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmAddressesByIdResponses,\n    PatchAdminCrmAddressesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/addresses/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all stock records at a location\n *\n * List all stock records at a location. Returns a paginated list with quantity_available calculation.\n */\nexport const getAdminCatalogStockRecordsLocationByStockLocationId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogStockRecordsLocationByStockLocationIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogStockRecordsLocationByStockLocationIdResponses,\n    GetAdminCatalogStockRecordsLocationByStockLocationIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/stock-records/location/{stock_location_id}\",\n    ...options,\n  });\n\n/**\n * /social/posts/:id/seo operation on social-post resource\n *\n * /social/posts/:id/seo operation on social-post resource\n */\nexport const patchAdminSocialPostsByIdSeo = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSocialPostsByIdSeoData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialPostsByIdSeoResponses,\n    PatchAdminSocialPostsByIdSeoErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/posts/{id}/seo\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List orders for a Fullscript patient\n *\n * List orders for a Fullscript patient\n */\nexport const postAdminConnectorsFullscriptOrdersList = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminConnectorsFullscriptOrdersListData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsFullscriptOrdersListResponses,\n    PostAdminConnectorsFullscriptOrdersListErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/fullscript/orders/list\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/deliveries/by-session operation on clinical-delivery resource\n *\n * /clinical/deliveries/by-session operation on clinical-delivery resource\n */\nexport const getAdminClinicalDeliveriesBySession = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalDeliveriesBySessionData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalDeliveriesBySessionResponses,\n    GetAdminClinicalDeliveriesBySessionErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/deliveries/by-session\",\n    ...options,\n  });\n\n/**\n * /agent-souls/:id operation on agent-soul resource\n *\n * /agent-souls/:id operation on agent-soul resource\n */\nexport const deleteAdminAgentSoulsById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminAgentSoulsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminAgentSoulsByIdResponses,\n    DeleteAdminAgentSoulsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-souls/{id}\",\n    ...options,\n  });\n\n/**\n * /agent-souls/:id operation on agent-soul resource\n *\n * /agent-souls/:id operation on agent-soul resource\n */\nexport const getAdminAgentSoulsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAgentSoulsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentSoulsByIdResponses,\n    GetAdminAgentSoulsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-souls/{id}\",\n    ...options,\n  });\n\n/**\n * /agent-souls/:id operation on agent-soul resource\n *\n * /agent-souls/:id operation on agent-soul resource\n */\nexport const patchAdminAgentSoulsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminAgentSoulsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAgentSoulsByIdResponses,\n    PatchAdminAgentSoulsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-souls/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /extraction/documents/bulk-reprocess operation on bulk-reprocess-result resource\n *\n * /extraction/documents/bulk-reprocess operation on bulk-reprocess-result resource\n */\nexport const postAdminExtractionDocumentsBulkReprocess = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminExtractionDocumentsBulkReprocessData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminExtractionDocumentsBulkReprocessResponses,\n    PostAdminExtractionDocumentsBulkReprocessErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/bulk-reprocess\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/inbound-addresses/:id/rotate-token operation on email-inbound-address resource\n *\n * /email/inbound-addresses/:id/rotate-token operation on email-inbound-address resource\n */\nexport const patchAdminEmailInboundAddressesByIdRotateToken = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailInboundAddressesByIdRotateTokenData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailInboundAddressesByIdRotateTokenResponses,\n    PatchAdminEmailInboundAddressesByIdRotateTokenErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inbound-addresses/{id}/rotate-token\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/campaigns/:id/generate-emails operation on campaign resource\n *\n * /email-marketing/campaigns/:id/generate-emails operation on campaign resource\n */\nexport const postAdminEmailMarketingCampaignsByIdGenerateEmails = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminEmailMarketingCampaignsByIdGenerateEmailsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailMarketingCampaignsByIdGenerateEmailsResponses,\n    PostAdminEmailMarketingCampaignsByIdGenerateEmailsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/campaigns/{id}/generate-emails\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /wallet/invoices/:id operation on invoice resource\n *\n * /wallet/invoices/:id operation on invoice resource\n */\nexport const getAdminWalletInvoicesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWalletInvoicesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWalletInvoicesByIdResponses,\n    GetAdminWalletInvoicesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/invoices/{id}\",\n    ...options,\n  });\n\n/**\n * /cde-scope-reports/:id operation on cde-scope-report resource\n *\n * /cde-scope-reports/:id operation on cde-scope-report resource\n */\nexport const deleteAdminCdeScopeReportsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCdeScopeReportsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCdeScopeReportsByIdResponses,\n    DeleteAdminCdeScopeReportsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cde-scope-reports/{id}\",\n    ...options,\n  });\n\n/**\n * /cde-scope-reports/:id operation on cde-scope-report resource\n *\n * /cde-scope-reports/:id operation on cde-scope-report resource\n */\nexport const getAdminCdeScopeReportsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCdeScopeReportsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCdeScopeReportsByIdResponses,\n    GetAdminCdeScopeReportsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cde-scope-reports/{id}\",\n    ...options,\n  });\n\n/**\n * Edit an existing image using natural language instructions.\n *\n * Edit an existing image using natural language instructions.\n */\nexport const postAdminContentEditImage = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminContentEditImageData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminContentEditImageResponses,\n    PostAdminContentEditImageErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/content/edit-image\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices operation on invoices-invoice resource\n *\n * /invoices operation on invoices-invoice resource\n */\nexport const postAdminInvoices = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminInvoicesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminInvoicesResponses,\n    PostAdminInvoicesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/patients/:id/health_metrics operation on clinical-health-metric resource\n *\n * /clinical/patients/:id/health_metrics operation on clinical-health-metric resource\n */\nexport const getAdminClinicalPatientsByIdHealthMetrics = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPatientsByIdHealthMetricsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPatientsByIdHealthMetricsResponses,\n    GetAdminClinicalPatientsByIdHealthMetricsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patients/{id}/health_metrics\",\n    ...options,\n  });\n\n/**\n * /case-document-links/:id operation on case-document-link resource\n *\n * /case-document-links/:id operation on case-document-link resource\n */\nexport const deleteAdminCaseDocumentLinksById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCaseDocumentLinksByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCaseDocumentLinksByIdResponses,\n    DeleteAdminCaseDocumentLinksByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-document-links/{id}\",\n    ...options,\n  });\n\n/**\n * /case-document-links/:id operation on case-document-link resource\n *\n * /case-document-links/:id operation on case-document-link resource\n */\nexport const getAdminCaseDocumentLinksById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCaseDocumentLinksByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCaseDocumentLinksByIdResponses,\n    GetAdminCaseDocumentLinksByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-document-links/{id}\",\n    ...options,\n  });\n\n/**\n * /email/outbound-emails/workspace/:workspace_id operation on email-outbound-email resource\n *\n * /email/outbound-emails/workspace/:workspace_id operation on email-outbound-email resource\n */\nexport const getAdminEmailOutboundEmailsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailOutboundEmailsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailOutboundEmailsWorkspaceByWorkspaceIdResponses,\n    GetAdminEmailOutboundEmailsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/outbound-emails/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single bucket with the storage_used calculation (total bytes across all workspace files in this bucket).\n *\n * Fetch a single bucket with the storage_used calculation (total bytes across all workspace files in this bucket).\n */\nexport const getAdminBucketsByIdStats = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminBucketsByIdStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBucketsByIdStatsResponses,\n    GetAdminBucketsByIdStatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/buckets/{id}/stats\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-templates/:id operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/:id operation on clinical-supplement-template resource\n */\nexport const getAdminClinicalSupplementTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalSupplementTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSupplementTemplatesByIdResponses,\n    GetAdminClinicalSupplementTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-templates/:id operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/:id operation on clinical-supplement-template resource\n */\nexport const patchAdminClinicalSupplementTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalSupplementTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalSupplementTemplatesByIdResponses,\n    PatchAdminClinicalSupplementTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /case-pipeline-links/:id operation on case-pipeline-link resource\n *\n * /case-pipeline-links/:id operation on case-pipeline-link resource\n */\nexport const getAdminCasePipelineLinksById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCasePipelineLinksByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCasePipelineLinksByIdResponses,\n    GetAdminCasePipelineLinksByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-pipeline-links/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/client-resource-assignments/:id operation on clinical-client-resource-assignment resource\n *\n * /clinical/client-resource-assignments/:id operation on clinical-client-resource-assignment resource\n */\nexport const getAdminClinicalClientResourceAssignmentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalClientResourceAssignmentsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalClientResourceAssignmentsByIdResponses,\n    GetAdminClinicalClientResourceAssignmentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-resource-assignments/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/client-resource-assignments/:id operation on clinical-client-resource-assignment resource\n *\n * /clinical/client-resource-assignments/:id operation on clinical-client-resource-assignment resource\n */\nexport const patchAdminClinicalClientResourceAssignmentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalClientResourceAssignmentsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientResourceAssignmentsByIdResponses,\n    PatchAdminClinicalClientResourceAssignmentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-resource-assignments/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Look up a single user by their email address (case-insensitive)\n *\n * Look up a single user by their email address (case-insensitive). Restricted to\n * platform admins — use :me for authenticated self-lookup. Returns a single user\n * or nil; never raises on not-found.\n *\n */\nexport const getAdminUsersByEmail = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUsersByEmailData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUsersByEmailResponses,\n    GetAdminUsersByEmailErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/by-email\",\n    ...options,\n  });\n\n/**\n * List meal schedules for a workspace\n *\n * List meal schedules for a workspace\n */\nexport const getAdminRecipesMealSchedulesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesMealSchedulesWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesMealSchedulesWorkspaceByWorkspaceIdResponses,\n    GetAdminRecipesMealSchedulesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/meal-schedules/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /breach-notification-artifacts/:id operation on breach-notification-artifact resource\n *\n * /breach-notification-artifacts/:id operation on breach-notification-artifact resource\n */\nexport const getAdminBreachNotificationArtifactsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminBreachNotificationArtifactsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBreachNotificationArtifactsByIdResponses,\n    GetAdminBreachNotificationArtifactsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/breach-notification-artifacts/{id}\",\n    ...options,\n  });\n\n/**\n * /breach-notification-artifacts/:id operation on breach-notification-artifact resource\n *\n * /breach-notification-artifacts/:id operation on breach-notification-artifact resource\n */\nexport const patchAdminBreachNotificationArtifactsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminBreachNotificationArtifactsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminBreachNotificationArtifactsByIdResponses,\n    PatchAdminBreachNotificationArtifactsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/breach-notification-artifacts/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/news-summaries/:id operation on news-summary resource\n *\n * /crawler/news-summaries/:id operation on news-summary resource\n */\nexport const getAdminCrawlerNewsSummariesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrawlerNewsSummariesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerNewsSummariesByIdResponses,\n    GetAdminCrawlerNewsSummariesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/news-summaries/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-tools/catalog/:id/permanent operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/catalog/:id/permanent operation on clinical-practice-tool resource\n */\nexport const deleteAdminClinicalPracticeToolsCatalogByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalPracticeToolsCatalogByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalPracticeToolsCatalogByIdPermanentResponses,\n    DeleteAdminClinicalPracticeToolsCatalogByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/catalog/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * /support/queues/:id operation on support-queue resource\n *\n * /support/queues/:id operation on support-queue resource\n */\nexport const deleteAdminSupportQueuesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSupportQueuesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSupportQueuesByIdResponses,\n    DeleteAdminSupportQueuesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/queues/{id}\",\n    ...options,\n  });\n\n/**\n * /support/queues/:id operation on support-queue resource\n *\n * /support/queues/:id operation on support-queue resource\n */\nexport const getAdminSupportQueuesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSupportQueuesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportQueuesByIdResponses,\n    GetAdminSupportQueuesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/queues/{id}\",\n    ...options,\n  });\n\n/**\n * Update queue settings including ai_mode, SLA policy, priority boost, and business hours\n *\n * Update queue settings including ai_mode, SLA policy, priority boost, and business hours. Changes to ai_mode take effect on next ticket assignment — existing tickets retain their current handling mode.\n */\nexport const patchAdminSupportQueuesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSupportQueuesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSupportQueuesByIdResponses,\n    PatchAdminSupportQueuesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/queues/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Return the names of all configured Meilisearch indexes\n *\n * Return the names of all configured Meilisearch indexes. Platform admin access only.\n */\nexport const getAdminSearchIndexes = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSearchIndexesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSearchIndexesResponses,\n    GetAdminSearchIndexesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/indexes\",\n    ...options,\n  });\n\n/**\n * List feature definitions for a specific application.\n *\n * List feature definitions for a specific application.\n */\nexport const getAdminFeatureDefinitionsByApplicationByApplicationId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminFeatureDefinitionsByApplicationByApplicationIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminFeatureDefinitionsByApplicationByApplicationIdResponses,\n    GetAdminFeatureDefinitionsByApplicationByApplicationIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/feature-definitions/by-application/{application_id}\",\n    ...options,\n  });\n\n/**\n * Create a support ticket\n *\n * Create a support ticket. Auto-generates a workspace-scoped ticket number (TKT-YYYY-NNNNN),\n * validates quota and queue assignment. Indexes in Meilisearch. Enqueues ClassifyTicketWorker\n * if auto_classify enabled (AiConfig). Returns the created Ticket with :new status.\n *\n */\nexport const postAdminSupportTickets = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSupportTicketsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSupportTicketsResponses,\n    PostAdminSupportTicketsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/tickets\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/results/:id operation on crawler-result resource\n *\n * /crawler/results/:id operation on crawler-result resource\n */\nexport const getAdminCrawlerResultsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrawlerResultsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerResultsByIdResponses,\n    GetAdminCrawlerResultsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/results/{id}\",\n    ...options,\n  });\n\n/**\n * End a voice session and release the LiveKit room\n *\n * End a voice session and release the LiveKit room\n */\nexport const patchAdminVoiceSessionsByIdStop = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminVoiceSessionsByIdStopData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminVoiceSessionsByIdStopResponses,\n    PatchAdminVoiceSessionsByIdStopErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/sessions/{id}/stop\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /reviews/:id/escalate operation on review resource\n *\n * /reviews/:id/escalate operation on review resource\n */\nexport const patchAdminReviewsByIdEscalate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminReviewsByIdEscalateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminReviewsByIdEscalateResponses,\n    PatchAdminReviewsByIdEscalateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/reviews/{id}/escalate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Import a recipe from an external connector source\n *\n * Import a recipe from an external connector source\n */\nexport const postAdminRecipesImport = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminRecipesImportData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesImportResponses,\n    PostAdminRecipesImportErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/import\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/sender-profiles/:id/set-default operation on email-marketing-sender-profile resource\n *\n * /email-marketing/sender-profiles/:id/set-default operation on email-marketing-sender-profile resource\n */\nexport const patchAdminEmailMarketingSenderProfilesByIdSetDefault = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailMarketingSenderProfilesByIdSetDefaultData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingSenderProfilesByIdSetDefaultResponses,\n    PatchAdminEmailMarketingSenderProfilesByIdSetDefaultErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/sender-profiles/{id}/set-default\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Delete a training example belonging to this agent\n *\n * Delete a training example belonging to this agent\n */\nexport const deleteAdminAgentsByIdTrainingExamplesByExampleId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminAgentsByIdTrainingExamplesByExampleIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminAgentsByIdTrainingExamplesByExampleIdResponses,\n    DeleteAdminAgentsByIdTrainingExamplesByExampleIdErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/training-examples/{example_id}\",\n    ...options,\n  });\n\n/**\n * Import an agent from a JSON payload produced by `:export`\n *\n * Import an agent from a JSON payload produced by `:export`. Creates the agent record with\n * name, description, vertical, and workspace from the payload, then bulk-creates all embedded\n * training examples. Uses the `:create` action internally (including `CreateInitialVersion`),\n * then overwrites the schema from the exported `schema_definition`.\n *\n * Use `:export` to produce the importable payload. Returns the created agent struct.\n *\n */\nexport const postAdminAgentsImport = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAgentsImportData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentsImportResponses,\n    PostAdminAgentsImportErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/import\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Primary read for extraction results\n *\n * Primary read for extraction results. Filters hidden system fields (e.g., `_ip_address`,\n * `_llm_model`) from the response via `FilterHiddenFields`. Use `:read_one` for single-record\n * JSON:API GET, `:get_by_document` to fetch the latest result for a document, or\n * `:list_by_document` for full history.\n *\n */\nexport const getAdminExtractionResults = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminExtractionResultsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionResultsResponses,\n    GetAdminExtractionResultsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/results\",\n    ...options,\n  });\n\n/**\n * Generate a new `whsec_`-prefixed HMAC secret for this webhook, invalidating the previous secret immediately\n *\n * Generate a new `whsec_`-prefixed HMAC secret for this webhook, invalidating the previous secret immediately. Callers must update their signature verification logic with the new secret returned in the response.\n */\nexport const patchAdminWebhookConfigsByIdRotateSecret = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWebhookConfigsByIdRotateSecretData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWebhookConfigsByIdRotateSecretResponses,\n    PatchAdminWebhookConfigsByIdRotateSecretErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-configs/{id}/rotate-secret\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /settlement-statements/:id operation on settlement-statement resource\n *\n * /settlement-statements/:id operation on settlement-statement resource\n */\nexport const getAdminSettlementStatementsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSettlementStatementsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSettlementStatementsByIdResponses,\n    GetAdminSettlementStatementsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlement-statements/{id}\",\n    ...options,\n  });\n\n/**\n * Re-run extraction on an existing result, optionally with user feedback or targeting specific\n * fields\n *\n * Re-run extraction on an existing result, optionally with user feedback or targeting specific\n * fields. Use this when the initial extraction was incorrect and you want the AI to try again\n * with additional context. Supports partial re-extraction: `fields_to_retry` limits which\n * fields are re-extracted, and `schema_version_id` pins a specific agent version.\n *\n * Side effects: synchronously sets the parent Document status to `:queued` (progress 0),\n * then enqueues a `RegenerateExtraction` Oban job with the feedback and field targets.\n * The job transitions the document to `:processing` when it starts.\n *\n * Returns the ExtractionResult as-is (extraction output is updated asynchronously by the job).\n *\n */\nexport const patchAdminExtractionResultsByIdRegenerate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminExtractionResultsByIdRegenerateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionResultsByIdRegenerateResponses,\n    PatchAdminExtractionResultsByIdRegenerateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/results/{id}/regenerate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/news-monitors/:id/resume operation on news-monitor resource\n *\n * /crawler/news-monitors/:id/resume operation on news-monitor resource\n */\nexport const patchAdminCrawlerNewsMonitorsByIdResume = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrawlerNewsMonitorsByIdResumeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrawlerNewsMonitorsByIdResumeResponses,\n    PatchAdminCrawlerNewsMonitorsByIdResumeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/news-monitors/{id}/resume\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Renders published_body_html with variable substitutions for preview\n *\n * Renders published_body_html with variable substitutions for preview. Does not save.\n */\nexport const patchAdminEmailMarketingTemplatesByIdPreview = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailMarketingTemplatesByIdPreviewData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingTemplatesByIdPreviewResponses,\n    PatchAdminEmailMarketingTemplatesByIdPreviewErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/templates/{id}/preview\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /workspaces/:workspace_id/extraction/documents/dismiss-all-trained operation on bulk-dismissal-result resource\n *\n * /workspaces/:workspace_id/extraction/documents/dismiss-all-trained operation on bulk-dismissal-result resource\n */\nexport const postAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained =\n  <ThrowOnError extends boolean = false>(\n    options: Options<\n      PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedData,\n      ThrowOnError\n    >,\n  ) =>\n    (options.client ?? client).post<\n      PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedResponses,\n      PostAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrainedErrors,\n      ThrowOnError\n    >({\n      querySerializer: {\n        parameters: { fields: { object: { style: \"form\" } } },\n      },\n      security: [{ scheme: \"bearer\", type: \"http\" }],\n      url: \"/admin/workspaces/{workspace_id}/extraction/documents/dismiss-all-trained\",\n      ...options,\n      headers: {\n        \"Content-Type\": \"application/vnd.api+json\",\n        ...options.headers,\n      },\n    });\n\n/**\n * /impact-assessments operation on data-protection-impact-assessment resource\n *\n * /impact-assessments operation on data-protection-impact-assessment resource\n */\nexport const getAdminImpactAssessments = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminImpactAssessmentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminImpactAssessmentsResponses,\n    GetAdminImpactAssessmentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/impact-assessments\",\n    ...options,\n  });\n\n/**\n * Open a new GDPR Article 35 Data Protection Impact Assessment for a high-risk processing activity\n *\n * Open a new GDPR Article 35 Data Protection Impact Assessment for a high-risk processing activity. The DPIA starts in `:draft` status and must be approved via :approve before it is considered complete.\n */\nexport const postAdminImpactAssessments = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminImpactAssessmentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminImpactAssessmentsResponses,\n    PostAdminImpactAssessmentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/impact-assessments\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/note-templates/:id/permanent operation on clinical-note-template resource\n *\n * /clinical/note-templates/:id/permanent operation on clinical-note-template resource\n */\nexport const deleteAdminClinicalNoteTemplatesByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalNoteTemplatesByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalNoteTemplatesByIdPermanentResponses,\n    DeleteAdminClinicalNoteTemplatesByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * /agent-deployments/:id operation on agent-deployment resource\n *\n * /agent-deployments/:id operation on agent-deployment resource\n */\nexport const deleteAdminAgentDeploymentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminAgentDeploymentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminAgentDeploymentsByIdResponses,\n    DeleteAdminAgentDeploymentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-deployments/{id}\",\n    ...options,\n  });\n\n/**\n * /agent-deployments/:id operation on agent-deployment resource\n *\n * /agent-deployments/:id operation on agent-deployment resource\n */\nexport const getAdminAgentDeploymentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAgentDeploymentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentDeploymentsByIdResponses,\n    GetAdminAgentDeploymentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-deployments/{id}\",\n    ...options,\n  });\n\n/**\n * /agent-deployments/:id operation on agent-deployment resource\n *\n * /agent-deployments/:id operation on agent-deployment resource\n */\nexport const patchAdminAgentDeploymentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminAgentDeploymentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAgentDeploymentsByIdResponses,\n    PatchAdminAgentDeploymentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-deployments/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Four-gate resolver answering \"can this capability be enabled for this\n * Application (and optionally this Plan)?\"\n *\n * Four-gate resolver answering \"can this capability be enabled for this\n * Application (and optionally this Plan)?\". Returns a per-gate breakdown\n * so dashboards do not have to reproduce the gating chain manually.\n *\n * Phase 1 skeleton: returns `allowed: false` with an empty checks list.\n * Real behavior lands in Phase 5.\n *\n */\nexport const getAdminPlanBundlesCanEnable = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPlanBundlesCanEnableData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPlanBundlesCanEnableResponses,\n    GetAdminPlanBundlesCanEnableErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plan-bundles/can-enable\",\n    ...options,\n  });\n\n/**\n * /invoices/payments/:id operation on invoices-payment resource\n *\n * /invoices/payments/:id operation on invoices-payment resource\n */\nexport const deleteAdminInvoicesPaymentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminInvoicesPaymentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminInvoicesPaymentsByIdResponses,\n    DeleteAdminInvoicesPaymentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/payments/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/payments/:id operation on invoices-payment resource\n *\n * /invoices/payments/:id operation on invoices-payment resource\n */\nexport const getAdminInvoicesPaymentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminInvoicesPaymentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminInvoicesPaymentsByIdResponses,\n    GetAdminInvoicesPaymentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/payments/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-rec-cache/:id operation on clinical-supplement-rec-cache resource\n *\n * /clinical/supplement-rec-cache/:id operation on clinical-supplement-rec-cache resource\n */\nexport const getAdminClinicalSupplementRecCacheById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalSupplementRecCacheByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSupplementRecCacheByIdResponses,\n    GetAdminClinicalSupplementRecCacheByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-rec-cache/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-rec-cache/:id operation on clinical-supplement-rec-cache resource\n *\n * /clinical/supplement-rec-cache/:id operation on clinical-supplement-rec-cache resource\n */\nexport const patchAdminClinicalSupplementRecCacheById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalSupplementRecCacheByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalSupplementRecCacheByIdResponses,\n    PatchAdminClinicalSupplementRecCacheByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-rec-cache/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/note-templates/catalog/:id/archive operation on clinical-note-template resource\n *\n * /clinical/note-templates/catalog/:id/archive operation on clinical-note-template resource\n */\nexport const patchAdminClinicalNoteTemplatesCatalogByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalNoteTemplatesCatalogByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalNoteTemplatesCatalogByIdArchiveResponses,\n    PatchAdminClinicalNoteTemplatesCatalogByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/catalog/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/site-configs operation on crawler-site-config resource\n *\n * /crawler/site-configs operation on crawler-site-config resource\n */\nexport const getAdminCrawlerSiteConfigs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrawlerSiteConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerSiteConfigsResponses,\n    GetAdminCrawlerSiteConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/site-configs\",\n    ...options,\n  });\n\n/**\n * Create per-domain crawl settings (rate limit, strategy, custom headers, robots.txt preference) for a workspace\n *\n * Create per-domain crawl settings (rate limit, strategy, custom headers, robots.txt preference) for a workspace. Returns the created config.\n */\nexport const postAdminCrawlerSiteConfigs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCrawlerSiteConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrawlerSiteConfigsResponses,\n    PostAdminCrawlerSiteConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/site-configs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /amendment-requests/:id operation on amendment-request resource\n *\n * /amendment-requests/:id operation on amendment-request resource\n */\nexport const getAdminAmendmentRequestsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAmendmentRequestsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAmendmentRequestsByIdResponses,\n    GetAdminAmendmentRequestsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/amendment-requests/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-tools/:id/permanent operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/:id/permanent operation on clinical-practice-tool resource\n */\nexport const deleteAdminClinicalPracticeToolsByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalPracticeToolsByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalPracticeToolsByIdPermanentResponses,\n    DeleteAdminClinicalPracticeToolsByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * /contracts/:id operation on contract resource\n *\n * /contracts/:id operation on contract resource\n */\nexport const deleteAdminContractsById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminContractsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminContractsByIdResponses,\n    DeleteAdminContractsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/contracts/{id}\",\n    ...options,\n  });\n\n/**\n * /contracts/:id operation on contract resource\n *\n * /contracts/:id operation on contract resource\n */\nexport const getAdminContractsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminContractsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminContractsByIdResponses,\n    GetAdminContractsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/contracts/{id}\",\n    ...options,\n  });\n\n/**\n * /contracts/:id operation on contract resource\n *\n * /contracts/:id operation on contract resource\n */\nexport const patchAdminContractsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminContractsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminContractsByIdResponses,\n    PatchAdminContractsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/contracts/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List active contacts in a workspace with optional lifecycle_stage, tag, and\n * property filters applied Elixir-side\n *\n * List active contacts in a workspace with optional lifecycle_stage, tag, and\n * property filters applied Elixir-side. Use instead of :read when you need\n * workspace-scoped paginated results or attribute-level filtering.\n *\n */\nexport const getAdminCrmContactsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrmContactsWorkspaceByWorkspaceIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmContactsWorkspaceByWorkspaceIdResponses,\n    GetAdminCrmContactsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/contacts/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Mark a booking as :no_show when the booker did not attend\n *\n * Mark a booking as :no_show when the booker did not attend. Used by CompletionWorker or manual ISV action. No linked Event status change.\n */\nexport const patchAdminSchedulingBookingsByIdMarkNoShow = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminSchedulingBookingsByIdMarkNoShowData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingBookingsByIdMarkNoShowResponses,\n    PatchAdminSchedulingBookingsByIdMarkNoShowErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/bookings/{id}/mark-no-show\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch the latest ExtractionResult for a given document\n *\n * Fetch the latest ExtractionResult for a given document. Returns the most recently created\n * result (sorted by `inserted_at` descending, limit 1). Hidden system fields are filtered.\n * Use `:get_partial_by_document` if you need per-field `field_status` for in-progress tracking.\n *\n */\nexport const getAdminExtractionResultsDocumentByDocumentId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionResultsDocumentByDocumentIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionResultsDocumentByDocumentIdResponses,\n    GetAdminExtractionResultsDocumentByDocumentIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/results/document/{document_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-resources/catalog/:id/archive operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/catalog/:id/archive operation on clinical-practice-resource resource\n */\nexport const patchAdminClinicalPracticeResourcesCatalogByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalPracticeResourcesCatalogByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPracticeResourcesCatalogByIdArchiveResponses,\n    PatchAdminClinicalPracticeResourcesCatalogByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/catalog/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch a single metadata record describing the permission system — schema version, available apps, scopes, categories, and suggested client cache TTL\n *\n * Fetch a single metadata record describing the permission system — schema version, available apps, scopes, categories, and suggested client cache TTL. Use to seed permission-picker UI configuration.\n */\nexport const getAdminPermissionsMeta = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPermissionsMetaData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPermissionsMetaResponses,\n    GetAdminPermissionsMetaErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/permissions/meta\",\n    ...options,\n  });\n\n/**\n * List supplement template collections for a workspace\n *\n * List supplement template collections for a workspace\n */\nexport const getAdminClinicalSupplementTemplateCollections = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalSupplementTemplateCollectionsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSupplementTemplateCollectionsResponses,\n    GetAdminClinicalSupplementTemplateCollectionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-template-collections\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-template-collections operation on clinical-supplement-template-collection resource\n *\n * /clinical/supplement-template-collections operation on clinical-supplement-template-collection resource\n */\nexport const postAdminClinicalSupplementTemplateCollections = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminClinicalSupplementTemplateCollectionsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalSupplementTemplateCollectionsResponses,\n    PostAdminClinicalSupplementTemplateCollectionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-template-collections\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Deliver this email immediately via connected account.\n *\n * Deliver this email immediately via connected account.\n */\nexport const patchAdminEmailOutboundEmailsByIdSend = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminEmailOutboundEmailsByIdSendData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailOutboundEmailsByIdSendResponses,\n    PatchAdminEmailOutboundEmailsByIdSendErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/outbound-emails/{id}/send\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /compliance-requirement-completions/:id operation on compliance-requirement-completion resource\n *\n * /compliance-requirement-completions/:id operation on compliance-requirement-completion resource\n */\nexport const getAdminComplianceRequirementCompletionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminComplianceRequirementCompletionsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminComplianceRequirementCompletionsByIdResponses,\n    GetAdminComplianceRequirementCompletionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-requirement-completions/{id}\",\n    ...options,\n  });\n\n/**\n * Create a new immutable version from current agent state\n *\n * Create a new immutable version from current agent state\n */\nexport const postAdminAgentsByIdPublishVersion = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminAgentsByIdPublishVersionData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentsByIdPublishVersionResponses,\n    PostAdminAgentsByIdPublishVersionErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/publish-version\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Accept an available version update\n *\n * Accept an available version update\n */\nexport const patchAdminAgentDeploymentsByIdAcceptUpdate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminAgentDeploymentsByIdAcceptUpdateData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAgentDeploymentsByIdAcceptUpdateResponses,\n    PatchAdminAgentDeploymentsByIdAcceptUpdateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-deployments/{id}/accept-update\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/supplement-templates/catalog operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/catalog operation on clinical-supplement-template resource\n */\nexport const getAdminClinicalSupplementTemplatesCatalog = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalSupplementTemplatesCatalogData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSupplementTemplatesCatalogResponses,\n    GetAdminClinicalSupplementTemplatesCatalogErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/catalog\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-templates/catalog operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/catalog operation on clinical-supplement-template resource\n */\nexport const postAdminClinicalSupplementTemplatesCatalog = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminClinicalSupplementTemplatesCatalogData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalSupplementTemplatesCatalogResponses,\n    PostAdminClinicalSupplementTemplatesCatalogErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/catalog\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Run a semantic similarity search against vectorized document chunks for the caller's tenant; embeds the query text and returns the top-k most relevant chunks ranked by cosine similarity.\n *\n * Run a semantic similarity search against vectorized document chunks for the caller's tenant; embeds the query text and returns the top-k most relevant chunks ranked by cosine similarity.\n */\nexport const postAdminAiSearch = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAiSearchData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAiSearchResponses,\n    PostAdminAiSearchErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/search\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Generate a short-lived presigned download URL for a file\n *\n * Generate a short-lived presigned download URL for a file. Returns the URL and its expiry timestamp.\n */\nexport const postAdminStorageFilesByIdDownloadUrl = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminStorageFilesByIdDownloadUrlData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminStorageFilesByIdDownloadUrlResponses,\n    PostAdminStorageFilesByIdDownloadUrlErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-files/{id}/download-url\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all credit packages available for purchase in the calling application\n *\n * List all credit packages available for purchase in the calling application. Use this to\n * populate a top-up UI showing available bundle options (e.g., \"1,000 credits for $10\").\n * Returns packages scoped to the application inferred from the request context.\n *\n * Supports keyset and offset pagination. Readable by anyone (unauthenticated).\n *\n */\nexport const getAdminCreditPackages = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCreditPackagesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCreditPackagesResponses,\n    GetAdminCreditPackagesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/credit-packages\",\n    ...options,\n  });\n\n/**\n * Create a new credit package (purchasable top-up bundle) for an application\n *\n * Create a new credit package (purchasable top-up bundle) for an application. Defines the\n * package name, slug, price, and how many credits are granted upon purchase. Use this when\n * setting up or expanding the top-up catalog for an ISV application.\n *\n * Scoped to an application via application_id (inferred from the x-application-key header when\n * not provided). Requires Platform Admin role. Returns the created credit package record.\n *\n */\nexport const postAdminCreditPackages = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCreditPackagesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCreditPackagesResponses,\n    PostAdminCreditPackagesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/credit-packages\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Finish upload for all documents in this batch that are awaiting processing\n *\n * Finish upload for all documents in this batch that are awaiting processing.\n * Calls :finish_upload on each document that is still in :queued status.\n * Returns a map with processed count and per-document results.\n *\n */\nexport const postAdminExtractionBatchesByIdFinishAll = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminExtractionBatchesByIdFinishAllData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminExtractionBatchesByIdFinishAllResponses,\n    PostAdminExtractionBatchesByIdFinishAllErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/batches/{id}/finish-all\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List saved searches accessible to the current actor: the actor's own searches and any searches marked `is_shared` within the same tenant.\n *\n * List saved searches accessible to the current actor: the actor's own searches and any searches marked `is_shared` within the same tenant.\n */\nexport const getAdminSearchSaved = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSearchSavedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSearchSavedResponses,\n    GetAdminSearchSavedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/saved\",\n    ...options,\n  });\n\n/**\n * Persist a named search query for reuse\n *\n * Persist a named search query for reuse. The `user_id` and `tenant_id` are set from the actor and request context. Set `is_shared: true` to make the search visible to all tenant members.\n */\nexport const postAdminSearchSaved = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSearchSavedData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSearchSavedResponses,\n    PostAdminSearchSavedErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/saved\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Explicitly link an OAuth provider to an existing user\n *\n * Explicitly link an OAuth provider to an existing user. Upserts a row in the\n * `GptCore.Identity.UserIdentity` table keyed on (user_id, uid, strategy) —\n * `uid` is extracted from `user_info[\"sub\"|\"uid\"|\"id\"]` by\n * `AshAuthentication.UserIdentity.UpsertIdentityChange`. Emits\n * `identity.oauth.linked` only if the row write succeeded.\n *\n */\nexport const patchAdminUsersAuthOauthLink = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminUsersAuthOauthLinkData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminUsersAuthOauthLinkResponses,\n    PatchAdminUsersAuthOauthLinkErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/auth/oauth/link\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/templates/:id operation on email-marketing-template resource\n *\n * /email-marketing/templates/:id operation on email-marketing-template resource\n */\nexport const deleteAdminEmailMarketingTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminEmailMarketingTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminEmailMarketingTemplatesByIdResponses,\n    DeleteAdminEmailMarketingTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/templates/{id}\",\n    ...options,\n  });\n\n/**\n * /email-marketing/templates/:id operation on email-marketing-template resource\n *\n * /email-marketing/templates/:id operation on email-marketing-template resource\n */\nexport const getAdminEmailMarketingTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminEmailMarketingTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailMarketingTemplatesByIdResponses,\n    GetAdminEmailMarketingTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/templates/{id}\",\n    ...options,\n  });\n\n/**\n * /email-marketing/templates/:id operation on email-marketing-template resource\n *\n * /email-marketing/templates/:id operation on email-marketing-template resource\n */\nexport const patchAdminEmailMarketingTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminEmailMarketingTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingTemplatesByIdResponses,\n    PatchAdminEmailMarketingTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/templates/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /documents/stats operation on document-stats resource\n *\n * /documents/stats operation on document-stats resource\n */\nexport const getAdminDocumentsStats = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminDocumentsStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminDocumentsStatsResponses,\n    GetAdminDocumentsStatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/documents/stats\",\n    ...options,\n  });\n\n/**\n * Delete a relationship (edge) by matching from/to nodes and type\n *\n * Delete a relationship (edge) by matching from/to nodes and type\n */\nexport const postAdminAiGraphRelationshipsDelete = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminAiGraphRelationshipsDeleteData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAiGraphRelationshipsDeleteResponses,\n    PostAdminAiGraphRelationshipsDeleteErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/graph/relationships/delete\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Workspace-scoped summary of non-archived review queues\n *\n * Workspace-scoped summary of non-archived review queues. Returns a list\n * of %{queue_id, slug, name, pending_count, sla_overdue_count}.\n *\n */\nexport const getAdminReviewQueuesSummaries = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminReviewQueuesSummariesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminReviewQueuesSummariesResponses,\n    GetAdminReviewQueuesSummariesErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/review-queues/summaries\",\n    ...options,\n  });\n\n/**\n * /crawler/browser-sessions operation on browser-session resource\n *\n * /crawler/browser-sessions operation on browser-session resource\n */\nexport const getAdminCrawlerBrowserSessions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrawlerBrowserSessionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerBrowserSessionsResponses,\n    GetAdminCrawlerBrowserSessionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/browser-sessions\",\n    ...options,\n  });\n\n/**\n * /crawler/browser-sessions operation on browser-session resource\n *\n * /crawler/browser-sessions operation on browser-session resource\n */\nexport const postAdminCrawlerBrowserSessions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCrawlerBrowserSessionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrawlerBrowserSessionsResponses,\n    PostAdminCrawlerBrowserSessionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/browser-sessions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /webhook-deliveries operation on webhook-delivery resource\n *\n * /webhook-deliveries operation on webhook-delivery resource\n */\nexport const getAdminWebhookDeliveries = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminWebhookDeliveriesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWebhookDeliveriesResponses,\n    GetAdminWebhookDeliveriesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-deliveries\",\n    ...options,\n  });\n\n/**\n * /clinical/insurance-authorizations operation on clinical-insurance-authorization resource\n *\n * /clinical/insurance-authorizations operation on clinical-insurance-authorization resource\n */\nexport const getAdminClinicalInsuranceAuthorizations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalInsuranceAuthorizationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalInsuranceAuthorizationsResponses,\n    GetAdminClinicalInsuranceAuthorizationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/insurance-authorizations\",\n    ...options,\n  });\n\n/**\n * /clinical/insurance-authorizations operation on clinical-insurance-authorization resource\n *\n * /clinical/insurance-authorizations operation on clinical-insurance-authorization resource\n */\nexport const postAdminClinicalInsuranceAuthorizations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalInsuranceAuthorizationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalInsuranceAuthorizationsResponses,\n    PostAdminClinicalInsuranceAuthorizationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/insurance-authorizations\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /pipeline-executions/:id/approve operation on pipeline-execution resource\n *\n * /pipeline-executions/:id/approve operation on pipeline-execution resource\n */\nexport const patchAdminPipelineExecutionsByIdApprove = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPipelineExecutionsByIdApproveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPipelineExecutionsByIdApproveResponses,\n    PatchAdminPipelineExecutionsByIdApproveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-executions/{id}/approve\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Primary read for active (non-deleted) documents\n *\n * Primary read for active (non-deleted) documents. Excludes soft-deleted documents.\n * Use `:read_trashed` to list deleted documents, or `:list_by_workspace` for a workspace-scoped\n * listing with optional batch filtering.\n *\n */\nexport const getAdminExtractionDocuments = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionDocumentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionDocumentsResponses,\n    GetAdminExtractionDocumentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents\",\n    ...options,\n  });\n\n/**\n * /agent-version-revisions/:id operation on agent-version-revision resource\n *\n * /agent-version-revisions/:id operation on agent-version-revision resource\n */\nexport const getAdminAgentVersionRevisionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAgentVersionRevisionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentVersionRevisionsByIdResponses,\n    GetAdminAgentVersionRevisionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-version-revisions/{id}\",\n    ...options,\n  });\n\n/**\n * /crawler/news-summaries operation on news-summary resource\n *\n * /crawler/news-summaries operation on news-summary resource\n */\nexport const getAdminCrawlerNewsSummaries = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrawlerNewsSummariesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerNewsSummariesResponses,\n    GetAdminCrawlerNewsSummariesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/news-summaries\",\n    ...options,\n  });\n\n/**\n * /contracts operation on contract resource\n *\n * /contracts operation on contract resource\n */\nexport const getAdminContracts = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminContractsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminContractsResponses,\n    GetAdminContractsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/contracts\",\n    ...options,\n  });\n\n/**\n * /contracts operation on contract resource\n *\n * /contracts operation on contract resource\n */\nexport const postAdminContracts = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminContractsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminContractsResponses,\n    PostAdminContractsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/contracts\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /extraction/agents/:id operation on extraction-agent resource\n *\n * /extraction/agents/:id operation on extraction-agent resource\n */\nexport const getAdminExtractionAgentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionAgentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionAgentsByIdResponses,\n    GetAdminExtractionAgentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/agents/{id}\",\n    ...options,\n  });\n\n/**\n * List events in a workspace that overlap a given time window (start_time < end, end_time > start)\n *\n * List events in a workspace that overlap a given time window (start_time < end, end_time > start). Use for calendar week/month views. Returns events of all statuses including cancelled.\n */\nexport const getAdminSchedulingEventsByDateRange = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingEventsByDateRangeData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingEventsByDateRangeResponses,\n    GetAdminSchedulingEventsByDateRangeErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/events/by_date_range\",\n    ...options,\n  });\n\n/**\n * List all email templates for the application, including both system and custom templates\n *\n * List all email templates for the application, including both system and custom templates. Use :get_by_slug to fetch a specific template by its slug identifier.\n */\nexport const getAdminApplicationsByApplicationIdEmailTemplates = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminApplicationsByApplicationIdEmailTemplatesData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminApplicationsByApplicationIdEmailTemplatesResponses,\n    GetAdminApplicationsByApplicationIdEmailTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/{application_id}/email-templates\",\n    ...options,\n  });\n\n/**\n * Create a new custom email template for the application\n *\n * Create a new custom email template for the application. Slugs matching system-reserved names are rejected; use :update on ISV-customizable system templates instead.\n */\nexport const postAdminApplicationsByApplicationIdEmailTemplates = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminApplicationsByApplicationIdEmailTemplatesData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminApplicationsByApplicationIdEmailTemplatesResponses,\n    PostAdminApplicationsByApplicationIdEmailTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/{application_id}/email-templates\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/shopping-lists/generate operation on recipes-shopping-list resource\n *\n * /recipes/shopping-lists/generate operation on recipes-shopping-list resource\n */\nexport const postAdminRecipesShoppingListsGenerate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminRecipesShoppingListsGenerateData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesShoppingListsGenerateResponses,\n    PostAdminRecipesShoppingListsGenerateErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/shopping-lists/generate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /impact-assessments/:id operation on data-protection-impact-assessment resource\n *\n * /impact-assessments/:id operation on data-protection-impact-assessment resource\n */\nexport const getAdminImpactAssessmentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminImpactAssessmentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminImpactAssessmentsByIdResponses,\n    GetAdminImpactAssessmentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/impact-assessments/{id}\",\n    ...options,\n  });\n\n/**\n * Update the DPIA's title, description, risk level, findings, or mitigations while it is in draft or in_review status\n *\n * Update the DPIA's title, description, risk level, findings, or mitigations while it is in draft or in_review status. Use :approve to finalize the assessment.\n */\nexport const patchAdminImpactAssessmentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminImpactAssessmentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminImpactAssessmentsByIdResponses,\n    PatchAdminImpactAssessmentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/impact-assessments/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List pending AI classification suggestions for a workspace awaiting ISV review\n *\n * List pending AI classification suggestions for a workspace awaiting ISV review. Returns a paginated list.\n */\nexport const getAdminCatalogClassificationSuggestionsWorkspaceByWorkspaceIdPending =\n  <ThrowOnError extends boolean = false>(\n    options: Options<\n      GetAdminCatalogClassificationSuggestionsWorkspaceByWorkspaceIdPendingData,\n      ThrowOnError\n    >,\n  ) =>\n    (options.client ?? client).get<\n      GetAdminCatalogClassificationSuggestionsWorkspaceByWorkspaceIdPendingResponses,\n      GetAdminCatalogClassificationSuggestionsWorkspaceByWorkspaceIdPendingErrors,\n      ThrowOnError\n    >({\n      querySerializer: {\n        parameters: {\n          filter: { object: { style: \"form\" } },\n          page: { object: { style: \"form\" } },\n          fields: { object: { style: \"form\" } },\n        },\n      },\n      security: [{ scheme: \"bearer\", type: \"http\" }],\n      url: \"/admin/catalog/classification-suggestions/workspace/{workspace_id}/pending\",\n      ...options,\n    });\n\n/**\n * Fetch LLM analytics scoped to a single workspace; use for per-workspace usage dashboards and cost attribution.\n *\n * Fetch LLM analytics scoped to a single workspace; use for per-workspace usage dashboards and cost attribution.\n */\nexport const getAdminLlmAnalyticsWorkspace = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminLlmAnalyticsWorkspaceData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLlmAnalyticsWorkspaceResponses,\n    GetAdminLlmAnalyticsWorkspaceErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/llm-analytics/workspace\",\n    ...options,\n  });\n\n/**\n * /clinical/health-metrics/:id/permanent operation on clinical-health-metric resource\n *\n * /clinical/health-metrics/:id/permanent operation on clinical-health-metric resource\n */\nexport const deleteAdminClinicalHealthMetricsByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalHealthMetricsByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalHealthMetricsByIdPermanentResponses,\n    DeleteAdminClinicalHealthMetricsByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/health-metrics/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * Return the current user's active thread for their workspace, creating a new one if none exists or the existing thread has expired (>24h inactive)\n *\n * Return the current user's active thread for their workspace, creating a new one if none exists or the existing thread has expired (>24h inactive). The new thread inherits context from the expired one via `previous_thread_id`.\n */\nexport const postAdminThreadsActive = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminThreadsActiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminThreadsActiveResponses,\n    PostAdminThreadsActiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/active\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Look up a plan by its unique slug within an application (e.g., \"pro\", \"business\", \"free\")\n *\n * Look up a plan by its unique slug within an application (e.g., \"pro\", \"business\", \"free\").\n * Use this for plan selection flows where the slug is known from config or the UI.\n * Use read_one when you have the UUID. Returns a single plan or an error if the slug is not found.\n *\n */\nexport const getAdminPlansSlugBySlug = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPlansSlugBySlugData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPlansSlugBySlugResponses,\n    GetAdminPlansSlugBySlugErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plans/slug/{slug}\",\n    ...options,\n  });\n\n/**\n * /crm/phone-numbers/entity/:entity_type/:entity_id operation on crm-phone-number resource\n *\n * /crm/phone-numbers/entity/:entity_type/:entity_id operation on crm-phone-number resource\n */\nexport const getAdminCrmPhoneNumbersEntityByEntityTypeByEntityId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmPhoneNumbersEntityByEntityTypeByEntityIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmPhoneNumbersEntityByEntityTypeByEntityIdResponses,\n    GetAdminCrmPhoneNumbersEntityByEntityTypeByEntityIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/phone-numbers/entity/{entity_type}/{entity_id}\",\n    ...options,\n  });\n\n/**\n * /agent-version-revisions operation on agent-version-revision resource\n *\n * /agent-version-revisions operation on agent-version-revision resource\n */\nexport const getAdminAgentVersionRevisions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAgentVersionRevisionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentVersionRevisionsResponses,\n    GetAdminAgentVersionRevisionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-version-revisions\",\n    ...options,\n  });\n\n/**\n * /isv-revenue/:id operation on isv-revenue resource\n *\n * /isv-revenue/:id operation on isv-revenue resource\n */\nexport const getAdminIsvRevenueById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminIsvRevenueByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminIsvRevenueByIdResponses,\n    GetAdminIsvRevenueByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv-revenue/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/client-medications/:id/permanent operation on clinical-client-medication resource\n *\n * /clinical/client-medications/:id/permanent operation on clinical-client-medication resource\n */\nexport const deleteAdminClinicalClientMedicationsByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalClientMedicationsByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalClientMedicationsByIdPermanentResponses,\n    DeleteAdminClinicalClientMedicationsByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-medications/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * /invoices/recurring-schedules/:id operation on invoices-recurring-schedule resource\n *\n * /invoices/recurring-schedules/:id operation on invoices-recurring-schedule resource\n */\nexport const deleteAdminInvoicesRecurringSchedulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminInvoicesRecurringSchedulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminInvoicesRecurringSchedulesByIdResponses,\n    DeleteAdminInvoicesRecurringSchedulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/recurring-schedules/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/recurring-schedules/:id operation on invoices-recurring-schedule resource\n *\n * /invoices/recurring-schedules/:id operation on invoices-recurring-schedule resource\n */\nexport const getAdminInvoicesRecurringSchedulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminInvoicesRecurringSchedulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminInvoicesRecurringSchedulesByIdResponses,\n    GetAdminInvoicesRecurringSchedulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/recurring-schedules/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/recurring-schedules/:id operation on invoices-recurring-schedule resource\n *\n * /invoices/recurring-schedules/:id operation on invoices-recurring-schedule resource\n */\nexport const patchAdminInvoicesRecurringSchedulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesRecurringSchedulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesRecurringSchedulesByIdResponses,\n    PatchAdminInvoicesRecurringSchedulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/recurring-schedules/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all active variants for a given product, sorted by position\n *\n * List all active variants for a given product, sorted by position. Returns a paginated list.\n */\nexport const getAdminCatalogProductVariantsProductByProductId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogProductVariantsProductByProductIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogProductVariantsProductByProductIdResponses,\n    GetAdminCatalogProductVariantsProductByProductIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/product-variants/product/{product_id}\",\n    ...options,\n  });\n\n/**\n * Permanently delete an option value; removes associated variant_option_values\n *\n * Permanently delete an option value; removes associated variant_option_values. Ensure no active variants reference this value.\n */\nexport const deleteAdminCatalogOptionValuesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCatalogOptionValuesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCatalogOptionValuesByIdResponses,\n    DeleteAdminCatalogOptionValuesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/option-values/{id}\",\n    ...options,\n  });\n\n/**\n * /catalog/option-values/:id operation on catalog-option-value resource\n *\n * /catalog/option-values/:id operation on catalog-option-value resource\n */\nexport const getAdminCatalogOptionValuesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCatalogOptionValuesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogOptionValuesByIdResponses,\n    GetAdminCatalogOptionValuesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/option-values/{id}\",\n    ...options,\n  });\n\n/**\n * Update the name, slug, position, or metadata of an option value\n *\n * Update the name, slug, position, or metadata of an option value. Returns the updated option value.\n */\nexport const patchAdminCatalogOptionValuesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCatalogOptionValuesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogOptionValuesByIdResponses,\n    PatchAdminCatalogOptionValuesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/option-values/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /agent-tools operation on agent-tool resource\n *\n * /agent-tools operation on agent-tool resource\n */\nexport const getAdminAgentTools = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAgentToolsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentToolsResponses,\n    GetAdminAgentToolsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-tools\",\n    ...options,\n  });\n\n/**\n * Schedule an Oban job to purge all storage objects for the given tenant\n *\n * Schedule an Oban job to purge all storage objects for the given tenant. Used\n * by platform admins to queue asynchronous data purges after account termination.\n * The actual file deletion runs in the background via Storage facade workers.\n *\n * Returns the tenant record.\n *\n */\nexport const postAdminTenantsByIdSchedulePurge = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminTenantsByIdSchedulePurgeData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTenantsByIdSchedulePurgeResponses,\n    PostAdminTenantsByIdSchedulePurgeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}/schedule-purge\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/news-monitors/:id/archive operation on news-monitor resource\n *\n * /crawler/news-monitors/:id/archive operation on news-monitor resource\n */\nexport const patchAdminCrawlerNewsMonitorsByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrawlerNewsMonitorsByIdArchiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrawlerNewsMonitorsByIdArchiveResponses,\n    PatchAdminCrawlerNewsMonitorsByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/news-monitors/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /documents/bulk-delete operation on operation-success resource\n *\n * /documents/bulk-delete operation on operation-success resource\n */\nexport const postAdminDocumentsBulkDelete = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminDocumentsBulkDeleteData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminDocumentsBulkDeleteResponses,\n    PostAdminDocumentsBulkDeleteErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/documents/bulk-delete\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /meeting-transcripts/:id operation on meeting-transcript resource\n *\n * /meeting-transcripts/:id operation on meeting-transcript resource\n */\nexport const getAdminMeetingTranscriptsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminMeetingTranscriptsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminMeetingTranscriptsByIdResponses,\n    GetAdminMeetingTranscriptsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/meeting-transcripts/{id}\",\n    ...options,\n  });\n\n/**\n * Generate an image generation prompt from marketing copy.\n *\n * Generate an image generation prompt from marketing copy.\n */\nexport const postAdminContentGenerateImagePrompt = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminContentGenerateImagePromptData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminContentGenerateImagePromptResponses,\n    PostAdminContentGenerateImagePromptErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/content/generate-image-prompt\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Suspend a tenant, preventing billing charges and access.\n *\n * Suspend a tenant, preventing billing charges and access.\n */\nexport const patchAdminTenantsByIdSuspend = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminTenantsByIdSuspendData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTenantsByIdSuspendResponses,\n    PatchAdminTenantsByIdSuspendErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}/suspend\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/goal-templates/catalog/:id/restore operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/catalog/:id/restore operation on clinical-goal-template resource\n */\nexport const patchAdminClinicalGoalTemplatesCatalogByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalGoalTemplatesCatalogByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalGoalTemplatesCatalogByIdRestoreResponses,\n    PatchAdminClinicalGoalTemplatesCatalogByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/catalog/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Workspace-scoped read of open Cases ordered for attention\n *\n * Workspace-scoped read of open Cases ordered for attention. Filters\n * is_open == true. Sorted by sla_due_at asc nulls last, priority desc,\n * opened_at asc. Capped at limit <= 25.\n *\n */\nexport const getAdminCasesAttention = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCasesAttentionData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCasesAttentionResponses,\n    GetAdminCasesAttentionErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cases/attention\",\n    ...options,\n  });\n\n/**\n * Transfer credits from the tenant's liability account to this workspace's\n * liability account\n *\n * Transfer credits from the tenant's liability account to this workspace's\n * liability account. Capped at 100,000 credits per call. Restricted to tenant\n * admins and workspace billing managers. Use for manual credit allocation;\n * automatic allocation happens at workspace creation via initial_credits.\n *\n * Returns the workspace record after allocation.\n *\n */\nexport const patchAdminWorkspacesByIdAllocate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWorkspacesByIdAllocateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWorkspacesByIdAllocateResponses,\n    PatchAdminWorkspacesByIdAllocateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{id}/allocate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-resources/categories operation on clinical-practice-resource-category resource\n *\n * /clinical/practice-resources/categories operation on clinical-practice-resource-category resource\n */\nexport const getAdminClinicalPracticeResourcesCategories = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalPracticeResourcesCategoriesData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeResourcesCategoriesResponses,\n    GetAdminClinicalPracticeResourcesCategoriesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/categories\",\n    ...options,\n  });\n\n/**\n * Bootstrap schema discovery without an agent\n *\n * Bootstrap schema discovery without an agent\n */\nexport const postAdminExtractionSchemaDiscoveriesBootstrap = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminExtractionSchemaDiscoveriesBootstrapData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminExtractionSchemaDiscoveriesBootstrapResponses,\n    PostAdminExtractionSchemaDiscoveriesBootstrapErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/schema-discoveries/bootstrap\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/phone-numbers operation on crm-phone-number resource\n *\n * /crm/phone-numbers operation on crm-phone-number resource\n */\nexport const postAdminCrmPhoneNumbers = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrmPhoneNumbersData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmPhoneNumbersResponses,\n    PostAdminCrmPhoneNumbersErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/phone-numbers\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/accounts operation on social-account resource\n *\n * /social/accounts operation on social-account resource\n */\nexport const postAdminSocialAccounts = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSocialAccountsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSocialAccountsResponses,\n    PostAdminSocialAccountsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/accounts\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /pipeline-node-executions/:id operation on pipeline-node-execution resource\n *\n * /pipeline-node-executions/:id operation on pipeline-node-execution resource\n */\nexport const getAdminPipelineNodeExecutionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPipelineNodeExecutionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPipelineNodeExecutionsByIdResponses,\n    GetAdminPipelineNodeExecutionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-node-executions/{id}\",\n    ...options,\n  });\n\n/**\n * Deny an amendment request with a reason.\n *\n * Deny an amendment request with a reason.\n */\nexport const patchAdminAmendmentRequestsByIdDeny = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminAmendmentRequestsByIdDenyData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAmendmentRequestsByIdDenyResponses,\n    PatchAdminAmendmentRequestsByIdDenyErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/amendment-requests/{id}/deny\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /ephi-assets/:id operation on ephi-asset resource\n *\n * /ephi-assets/:id operation on ephi-asset resource\n */\nexport const getAdminEphiAssetsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminEphiAssetsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEphiAssetsByIdResponses,\n    GetAdminEphiAssetsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ephi-assets/{id}\",\n    ...options,\n  });\n\n/**\n * /ephi-assets/:id operation on ephi-asset resource\n *\n * /ephi-assets/:id operation on ephi-asset resource\n */\nexport const patchAdminEphiAssetsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminEphiAssetsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEphiAssetsByIdResponses,\n    PatchAdminEphiAssetsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ephi-assets/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Mark a document as excluded from agent training\n *\n * Mark a document as excluded from agent training. Prevents its associated extraction results\n * from being used as few-shot training examples. Sets `excluded_from_training: true`,\n * records the timestamp and the actor who performed the exclusion.\n *\n * Side effects: synchronously updates the `document_excluded` denormalized flag on all\n * associated `TrainingExample` records so they are filtered out of semantic search.\n *\n * Use `:include_in_training` to reverse this. See the `:excluded` read action to list\n * currently excluded documents.\n *\n */\nexport const patchAdminExtractionDocumentsByIdExclude = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminExtractionDocumentsByIdExcludeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionDocumentsByIdExcludeResponses,\n    PatchAdminExtractionDocumentsByIdExcludeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}/exclude\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Update the compliance tags for an application (GDPR, HIPAA, SOC2, PCI-DSS, etc.)\n *\n * Update the compliance tags for an application (GDPR, HIPAA, SOC2, PCI-DSS, etc.).\n * Validates tags against the platform allowlist and checks that compliance\n * configuration is compatible with the selected tags (e.g. HIPAA session timeout\n * settings). Logs a compliance_tags_changed audit event. Restricted\n * to platform admins only.\n *\n */\nexport const patchAdminApplicationsByIdComplianceTags = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminApplicationsByIdComplianceTagsData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminApplicationsByIdComplianceTagsResponses,\n    PatchAdminApplicationsByIdComplianceTagsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/{id}/compliance-tags\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/contacts operation on invoices-contact resource\n *\n * /invoices/contacts operation on invoices-contact resource\n */\nexport const postAdminInvoicesContacts = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminInvoicesContactsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminInvoicesContactsResponses,\n    PostAdminInvoicesContactsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/contacts\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Resend an invitation email using the originally-resolved email method\n *\n * Resend an invitation email using the originally-resolved email method. Link\n * mode preserves existing behavior by refreshing the long token and 7-day expiry.\n * Code mode also rotates the short code and 15-minute expiry.\n *\n */\nexport const patchAdminInvitationsByIdResend = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvitationsByIdResendData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvitationsByIdResendResponses,\n    PatchAdminInvitationsByIdResendErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invitations/{id}/resend\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /processing-activities/:id operation on processing-activity resource\n *\n * /processing-activities/:id operation on processing-activity resource\n */\nexport const deleteAdminProcessingActivitiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminProcessingActivitiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminProcessingActivitiesByIdResponses,\n    DeleteAdminProcessingActivitiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/processing-activities/{id}\",\n    ...options,\n  });\n\n/**\n * /processing-activities/:id operation on processing-activity resource\n *\n * /processing-activities/:id operation on processing-activity resource\n */\nexport const getAdminProcessingActivitiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminProcessingActivitiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminProcessingActivitiesByIdResponses,\n    GetAdminProcessingActivitiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/processing-activities/{id}\",\n    ...options,\n  });\n\n/**\n * List collections for a workspace\n *\n * List collections for a workspace\n */\nexport const getAdminRecipesCollectionsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesCollectionsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesCollectionsWorkspaceByWorkspaceIdResponses,\n    GetAdminRecipesCollectionsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/collections/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /policy-review-schedules/:id operation on policy-review-schedule resource\n *\n * /policy-review-schedules/:id operation on policy-review-schedule resource\n */\nexport const getAdminPolicyReviewSchedulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPolicyReviewSchedulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPolicyReviewSchedulesByIdResponses,\n    GetAdminPolicyReviewSchedulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/policy-review-schedules/{id}\",\n    ...options,\n  });\n\n/**\n * List all attachments for a specific ticket message\n *\n * List all attachments for a specific ticket message. Use to render attachment download links alongside the message body.\n */\nexport const getAdminSupportTicketAttachmentsMessageByTicketMessageId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSupportTicketAttachmentsMessageByTicketMessageIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportTicketAttachmentsMessageByTicketMessageIdResponses,\n    GetAdminSupportTicketAttachmentsMessageByTicketMessageIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/ticket-attachments/message/{ticket_message_id}\",\n    ...options,\n  });\n\n/**\n * /reviews operation on review resource\n *\n * /reviews operation on review resource\n */\nexport const getAdminReviews = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminReviewsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminReviewsResponses,\n    GetAdminReviewsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/reviews\",\n    ...options,\n  });\n\n/**\n * /webhook-configs operation on webhook-config resource\n *\n * /webhook-configs operation on webhook-config resource\n */\nexport const getAdminWebhookConfigs = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminWebhookConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWebhookConfigsResponses,\n    GetAdminWebhookConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-configs\",\n    ...options,\n  });\n\n/**\n * Register a new webhook endpoint to receive platform events\n *\n * Register a new webhook endpoint to receive platform events. Use this instead of :update\n * when you need to set the application scope — the application_id is inferred from the API key\n * or supplied explicitly. Generates a `whsec_`-prefixed HMAC secret automatically if not\n * provided. Returns the created WebhookConfig including the secret (shown only once).\n *\n */\nexport const postAdminWebhookConfigs = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminWebhookConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminWebhookConfigsResponses,\n    PostAdminWebhookConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-configs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Retry a failed subscription payment\n *\n * Retry a failed subscription payment\n */\nexport const patchAdminWalletPaymentRetry = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWalletPaymentRetryData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWalletPaymentRetryResponses,\n    PatchAdminWalletPaymentRetryErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/payment/retry\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch a single transaction by its UUID\n *\n * Fetch a single transaction by its UUID. Use for transaction detail views or to verify\n * payment status after a sale. The result is not tenant-scoped at the query level;\n * the caller must ensure the actor has access to this transaction's tenant.\n *\n * Returns the full transaction record including status, amount, provider_reference, and credits.\n *\n */\nexport const getAdminTransactionsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminTransactionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTransactionsByIdResponses,\n    GetAdminTransactionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/transactions/{id}\",\n    ...options,\n  });\n\n/**\n * Search for recipes using the Edamam Recipe API\n *\n * Search for recipes using the Edamam Recipe API\n */\nexport const postAdminConnectorsByIdEdamamRecipesSearch = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsByIdEdamamRecipesSearchData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsByIdEdamamRecipesSearchResponses,\n    PostAdminConnectorsByIdEdamamRecipesSearchErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/{id}/edamam/recipes/search\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/insurance-authorizations/:id operation on clinical-insurance-authorization resource\n *\n * /clinical/insurance-authorizations/:id operation on clinical-insurance-authorization resource\n */\nexport const deleteAdminClinicalInsuranceAuthorizationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalInsuranceAuthorizationsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalInsuranceAuthorizationsByIdResponses,\n    DeleteAdminClinicalInsuranceAuthorizationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/insurance-authorizations/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/insurance-authorizations/:id operation on clinical-insurance-authorization resource\n *\n * /clinical/insurance-authorizations/:id operation on clinical-insurance-authorization resource\n */\nexport const getAdminClinicalInsuranceAuthorizationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalInsuranceAuthorizationsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalInsuranceAuthorizationsByIdResponses,\n    GetAdminClinicalInsuranceAuthorizationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/insurance-authorizations/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/insurance-authorizations/:id operation on clinical-insurance-authorization resource\n *\n * /clinical/insurance-authorizations/:id operation on clinical-insurance-authorization resource\n */\nexport const patchAdminClinicalInsuranceAuthorizationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalInsuranceAuthorizationsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalInsuranceAuthorizationsByIdResponses,\n    PatchAdminClinicalInsuranceAuthorizationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/insurance-authorizations/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes operation on recipes-recipe resource\n *\n * /recipes operation on recipes-recipe resource\n */\nexport const postAdminRecipes = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminRecipesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesResponses,\n    PostAdminRecipesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get training analytics for multiple workspaces in a single request (max 50)\n *\n * Get training analytics for multiple workspaces in a single request (max 50)\n */\nexport const getAdminWorkspacesAnalyticsBatch = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWorkspacesAnalyticsBatchData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspacesAnalyticsBatchResponses,\n    GetAdminWorkspacesAnalyticsBatchErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/analytics-batch\",\n    ...options,\n  });\n\n/**\n * Add a pricing entry to a price list for a product or variant; supply a fixed price, modifier, or tiered structure\n *\n * Add a pricing entry to a price list for a product or variant; supply a fixed price, modifier, or tiered structure. Returns the created entry.\n */\nexport const postAdminCatalogPriceListEntries = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCatalogPriceListEntriesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogPriceListEntriesResponses,\n    PostAdminCatalogPriceListEntriesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/price-list-entries\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /form-deployments/:id operation on form-deployment resource\n *\n * /form-deployments/:id operation on form-deployment resource\n */\nexport const deleteAdminFormDeploymentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminFormDeploymentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminFormDeploymentsByIdResponses,\n    DeleteAdminFormDeploymentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-deployments/{id}\",\n    ...options,\n  });\n\n/**\n * /form-deployments/:id operation on form-deployment resource\n *\n * /form-deployments/:id operation on form-deployment resource\n */\nexport const getAdminFormDeploymentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminFormDeploymentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFormDeploymentsByIdResponses,\n    GetAdminFormDeploymentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-deployments/{id}\",\n    ...options,\n  });\n\n/**\n * /form-deployments/:id operation on form-deployment resource\n *\n * /form-deployments/:id operation on form-deployment resource\n */\nexport const patchAdminFormDeploymentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminFormDeploymentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminFormDeploymentsByIdResponses,\n    PatchAdminFormDeploymentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-deployments/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /extraction/config-enums operation on config-enum resource\n *\n * /extraction/config-enums operation on config-enum resource\n */\nexport const getAdminExtractionConfigEnums = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionConfigEnumsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionConfigEnumsResponses,\n    GetAdminExtractionConfigEnumsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/config-enums\",\n    ...options,\n  });\n\n/**\n * /extraction/config-enums operation on config-enum resource\n *\n * /extraction/config-enums operation on config-enum resource\n */\nexport const postAdminExtractionConfigEnums = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminExtractionConfigEnumsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminExtractionConfigEnumsResponses,\n    PostAdminExtractionConfigEnumsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/config-enums\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Set workspace status to :suspended (take offline)\n *\n * Set workspace status to :suspended (take offline)\n */\nexport const patchAdminWorkspacesByIdTakeOffline = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWorkspacesByIdTakeOfflineData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWorkspacesByIdTakeOfflineResponses,\n    PatchAdminWorkspacesByIdTakeOfflineErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{id}/take-offline\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /composite-operations/:id operation on composite-operation resource\n *\n * /composite-operations/:id operation on composite-operation resource\n */\nexport const deleteAdminCompositeOperationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCompositeOperationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCompositeOperationsByIdResponses,\n    DeleteAdminCompositeOperationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/composite-operations/{id}\",\n    ...options,\n  });\n\n/**\n * /composite-operations/:id operation on composite-operation resource\n *\n * /composite-operations/:id operation on composite-operation resource\n */\nexport const getAdminCompositeOperationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCompositeOperationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCompositeOperationsByIdResponses,\n    GetAdminCompositeOperationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/composite-operations/{id}\",\n    ...options,\n  });\n\n/**\n * /composite-operations/:id operation on composite-operation resource\n *\n * /composite-operations/:id operation on composite-operation resource\n */\nexport const patchAdminCompositeOperationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCompositeOperationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCompositeOperationsByIdResponses,\n    PatchAdminCompositeOperationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/composite-operations/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /audit-chain-entries/:id operation on audit-chain-entry resource\n *\n * /audit-chain-entries/:id operation on audit-chain-entry resource\n */\nexport const getAdminAuditChainEntriesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAuditChainEntriesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAuditChainEntriesByIdResponses,\n    GetAdminAuditChainEntriesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/audit-chain-entries/{id}\",\n    ...options,\n  });\n\n/**\n * /training-sessions/:id operation on training-session resource\n *\n * /training-sessions/:id operation on training-session resource\n */\nexport const deleteAdminTrainingSessionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminTrainingSessionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminTrainingSessionsByIdResponses,\n    DeleteAdminTrainingSessionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-sessions/{id}\",\n    ...options,\n  });\n\n/**\n * /training-sessions/:id operation on training-session resource\n *\n * /training-sessions/:id operation on training-session resource\n */\nexport const getAdminTrainingSessionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminTrainingSessionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTrainingSessionsByIdResponses,\n    GetAdminTrainingSessionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-sessions/{id}\",\n    ...options,\n  });\n\n/**\n * Create a connector sync configuration for a workspace+connector pair\n *\n * Create a connector sync configuration for a workspace+connector pair. One config per workspace+connector_instance_id (identity :workspace_connector_unique). Controls sync direction, status field mapping, and polling interval.\n */\nexport const postAdminSupportSyncConfigs = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSupportSyncConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSupportSyncConfigsResponses,\n    PostAdminSupportSyncConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/sync-configs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Cancel an active Fullscript treatment plan\n *\n * Cancel an active Fullscript treatment plan\n */\nexport const postAdminConnectorsFullscriptTreatmentPlansCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsFullscriptTreatmentPlansCancelData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsFullscriptTreatmentPlansCancelResponses,\n    PostAdminConnectorsFullscriptTreatmentPlansCancelErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/fullscript/treatment-plans/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /ai/conversations/:id operation on chat-conversation resource\n *\n * /ai/conversations/:id operation on chat-conversation resource\n */\nexport const deleteAdminAiConversationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminAiConversationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminAiConversationsByIdResponses,\n    DeleteAdminAiConversationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/conversations/{id}\",\n    ...options,\n  });\n\n/**\n * /ai/conversations/:id operation on chat-conversation resource\n *\n * /ai/conversations/:id operation on chat-conversation resource\n */\nexport const getAdminAiConversationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAiConversationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAiConversationsByIdResponses,\n    GetAdminAiConversationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/conversations/{id}\",\n    ...options,\n  });\n\n/**\n * Update the conversation title or replace the context data map\n *\n * Update the conversation title or replace the context data map. Use this to attach updated prediction results or structured context before the next AI turn.\n */\nexport const patchAdminAiConversationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminAiConversationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAiConversationsByIdResponses,\n    PatchAdminAiConversationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/conversations/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /payment-methods operation on payment-method resource\n *\n * /payment-methods operation on payment-method resource\n */\nexport const getAdminPaymentMethods = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPaymentMethodsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPaymentMethodsResponses,\n    GetAdminPaymentMethodsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/payment-methods\",\n    ...options,\n  });\n\n/**\n * Save a payment method that has already been tokenized by the platform\n *\n * Save a payment method that has already been tokenized by the platform.\n *\n * `provider_token` MUST be an opaque token previously returned by the platform's\n * tokenization endpoint (POST /payment-methods/tokenize or the equivalent S2S route).\n * The platform brokers all gateway traffic — browsers never call payment gateways\n * directly, no gateway-hosted iframe is ever embedded, and the underlying gateway\n * (QorPay, Stripe, or whatever this Application has configured) is an implementation\n * detail that does not appear in client code.\n *\n * The customer is resolved from the actor's context or an explicit customer_id.\n * If this is the first payment method, it is automatically set as the default.\n *\n * No side effects beyond database persistence. Returns the saved payment method record.\n *\n */\nexport const postAdminPaymentMethods = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminPaymentMethodsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPaymentMethodsResponses,\n    PostAdminPaymentMethodsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/payment-methods\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /risk-assessments/:id operation on risk-assessment resource\n *\n * /risk-assessments/:id operation on risk-assessment resource\n */\nexport const deleteAdminRiskAssessmentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminRiskAssessmentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRiskAssessmentsByIdResponses,\n    DeleteAdminRiskAssessmentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/risk-assessments/{id}\",\n    ...options,\n  });\n\n/**\n * /risk-assessments/:id operation on risk-assessment resource\n *\n * /risk-assessments/:id operation on risk-assessment resource\n */\nexport const getAdminRiskAssessmentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRiskAssessmentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRiskAssessmentsByIdResponses,\n    GetAdminRiskAssessmentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/risk-assessments/{id}\",\n    ...options,\n  });\n\n/**\n * List all export jobs for a workspace, sorted newest first\n *\n * List all export jobs for a workspace, sorted newest first. Use to show export history or find a recent job by entity type and format.\n */\nexport const getAdminCrmExportsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrmExportsWorkspaceByWorkspaceIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmExportsWorkspaceByWorkspaceIdResponses,\n    GetAdminCrmExportsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/exports/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Owner restores a previously deactivated tenant\n *\n * Owner restores a previously deactivated tenant. Reverses :deactivate.\n */\nexport const patchAdminTenantsByIdReactivate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminTenantsByIdReactivateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTenantsByIdReactivateResponses,\n    PatchAdminTenantsByIdReactivateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}/reactivate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List items for a shopping list\n *\n * List items for a shopping list\n */\nexport const getAdminRecipesShoppingListItemsShoppingListByShoppingListId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesShoppingListItemsShoppingListByShoppingListIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesShoppingListItemsShoppingListByShoppingListIdResponses,\n    GetAdminRecipesShoppingListItemsShoppingListByShoppingListIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/shopping-list-items/shopping-list/{shopping_list_id}\",\n    ...options,\n  });\n\n/**\n * /email-marketing/campaigns/:id/import-recipients operation on campaign resource\n *\n * /email-marketing/campaigns/:id/import-recipients operation on campaign resource\n */\nexport const postAdminEmailMarketingCampaignsByIdImportRecipients = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminEmailMarketingCampaignsByIdImportRecipientsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailMarketingCampaignsByIdImportRecipientsResponses,\n    PostAdminEmailMarketingCampaignsByIdImportRecipientsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/campaigns/{id}/import-recipients\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all messages on a ticket in chronological order\n *\n * List all messages on a ticket in chronological order. Returns both public messages and internal notes — callers should filter is_internal_note if needed for customer-facing views.\n */\nexport const getAdminSupportTicketMessagesTicketByTicketId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSupportTicketMessagesTicketByTicketIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportTicketMessagesTicketByTicketIdResponses,\n    GetAdminSupportTicketMessagesTicketByTicketIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/ticket-messages/ticket/{ticket_id}\",\n    ...options,\n  });\n\n/**\n * /recipes/bulk-import operation on recipes-recipe resource\n *\n * /recipes/bulk-import operation on recipes-recipe resource\n */\nexport const postAdminRecipesBulkImport = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminRecipesBulkImportData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesBulkImportResponses,\n    PostAdminRecipesBulkImportErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/bulk-import\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Alias for `:dismiss_training`\n *\n * Alias for `:dismiss_training`. Sets `training_metadata[\"dismissed_at\"]` on the document.\n * Exposed as the `/dismiss` route; functionally identical to `:dismiss_training`.\n *\n */\nexport const patchAdminExtractionDocumentsByIdDismiss = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminExtractionDocumentsByIdDismissData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionDocumentsByIdDismissResponses,\n    PatchAdminExtractionDocumentsByIdDismissErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}/dismiss\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /compliance-requirements/:id operation on compliance-requirement resource\n *\n * /compliance-requirements/:id operation on compliance-requirement resource\n */\nexport const deleteAdminComplianceRequirementsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminComplianceRequirementsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminComplianceRequirementsByIdResponses,\n    DeleteAdminComplianceRequirementsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-requirements/{id}\",\n    ...options,\n  });\n\n/**\n * /compliance-requirements/:id operation on compliance-requirement resource\n *\n * /compliance-requirements/:id operation on compliance-requirement resource\n */\nexport const getAdminComplianceRequirementsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminComplianceRequirementsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminComplianceRequirementsByIdResponses,\n    GetAdminComplianceRequirementsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-requirements/{id}\",\n    ...options,\n  });\n\n/**\n * /compliance-requirements/:id operation on compliance-requirement resource\n *\n * /compliance-requirements/:id operation on compliance-requirement resource\n */\nexport const patchAdminComplianceRequirementsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminComplianceRequirementsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminComplianceRequirementsByIdResponses,\n    PatchAdminComplianceRequirementsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-requirements/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /workspaces/:workspace_id/extraction/exports/:id operation on extraction-export resource\n *\n * /workspaces/:workspace_id/extraction/exports/:id operation on extraction-export resource\n */\nexport const getAdminWorkspacesByWorkspaceIdExtractionExportsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdResponses,\n    GetAdminWorkspacesByWorkspaceIdExtractionExportsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{workspace_id}/extraction/exports/{id}\",\n    ...options,\n  });\n\n/**\n * /email-marketing/generated-emails/campaign/:campaign_id operation on email-marketing-generated-email resource\n *\n * /email-marketing/generated-emails/campaign/:campaign_id operation on email-marketing-generated-email resource\n */\nexport const getAdminEmailMarketingGeneratedEmailsCampaignByCampaignId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailMarketingGeneratedEmailsCampaignByCampaignIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailMarketingGeneratedEmailsCampaignByCampaignIdResponses,\n    GetAdminEmailMarketingGeneratedEmailsCampaignByCampaignIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/generated-emails/campaign/{campaign_id}\",\n    ...options,\n  });\n\n/**\n * Create a pre-written response template for agent use\n *\n * Create a pre-written response template for agent use. Shortcut enables slash-command access in the ticket composer. Category groups templates in the picker UI. Returns the created CannedResponse.\n */\nexport const postAdminSupportCannedResponses = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSupportCannedResponsesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSupportCannedResponsesResponses,\n    PostAdminSupportCannedResponsesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/canned-responses\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Attempt to sign in using a username and password.\n *\n * Attempt to sign in using a username and password.\n */\nexport const postAdminUsersAuthLogin = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminUsersAuthLoginData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminUsersAuthLoginResponses,\n    PostAdminUsersAuthLoginErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/auth/login\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Permanently delete a view rule; the view is re-evaluated without this rule on next resolution.\n *\n * Permanently delete a view rule; the view is re-evaluated without this rule on next resolution.\n */\nexport const deleteAdminCatalogViewRulesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCatalogViewRulesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCatalogViewRulesByIdResponses,\n    DeleteAdminCatalogViewRulesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/view-rules/{id}\",\n    ...options,\n  });\n\n/**\n * /social/accounts/:id operation on social-account resource\n *\n * /social/accounts/:id operation on social-account resource\n */\nexport const deleteAdminSocialAccountsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSocialAccountsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSocialAccountsByIdResponses,\n    DeleteAdminSocialAccountsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/accounts/{id}\",\n    ...options,\n  });\n\n/**\n * /social/accounts/:id operation on social-account resource\n *\n * /social/accounts/:id operation on social-account resource\n */\nexport const getAdminSocialAccountsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSocialAccountsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialAccountsByIdResponses,\n    GetAdminSocialAccountsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/accounts/{id}\",\n    ...options,\n  });\n\n/**\n * /social/accounts/:id operation on social-account resource\n *\n * /social/accounts/:id operation on social-account resource\n */\nexport const patchAdminSocialAccountsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSocialAccountsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialAccountsByIdResponses,\n    PatchAdminSocialAccountsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/accounts/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Admin-only user management (platform admins) - promotes/demotes admin status\n *\n * Admin-only user management (platform admins) - promotes/demotes admin status\n */\nexport const patchAdminUsersByIdAdmin = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminUsersByIdAdminData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminUsersByIdAdminResponses,\n    PatchAdminUsersByIdAdminErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/{id}/admin\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Submit or update a CSAT rating (1-5) for a resolved ticket\n *\n * Submit or update a CSAT rating (1-5) for a resolved ticket. Uses upsert — one rating per ticket (identity :ticket_unique). Publishes TicketRated event for CSAT metric aggregation. Returns the created or updated TicketRating.\n */\nexport const postAdminSupportTicketRatings = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSupportTicketRatingsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSupportTicketRatingsResponses,\n    PostAdminSupportTicketRatingsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/ticket-ratings\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get storage stats for a specific tenant\n *\n * Get storage stats for a specific tenant\n */\nexport const getAdminStorageStatsTenantByTenantId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminStorageStatsTenantByTenantIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminStorageStatsTenantByTenantIdResponses,\n    GetAdminStorageStatsTenantByTenantIdErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage/stats/tenant/{tenant_id}\",\n    ...options,\n  });\n\n/**\n * /campaigns/sequences operation on email-marketing-sequence resource\n *\n * /campaigns/sequences operation on email-marketing-sequence resource\n */\nexport const postAdminCampaignsSequences = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCampaignsSequencesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCampaignsSequencesResponses,\n    PostAdminCampaignsSequencesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequences\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Log a CRM activity (call, email, meeting, note, etc.) linked to the workspace\n *\n * Log a CRM activity (call, email, meeting, note, etc.) linked to the workspace.\n * Validates custom properties and indexes the activity body into the Memory domain\n * for semantic search. Publishes an ActivityLogged event as a side effect.\n *\n */\nexport const postAdminCrmActivities = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrmActivitiesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmActivitiesResponses,\n    PostAdminCrmActivitiesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/activities\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List audit log entries\n *\n * List audit log entries. Supports keyset and offset pagination. Default limit: 50.\n */\nexport const getAdminAuditLogs = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAuditLogsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAuditLogsResponses,\n    GetAdminAuditLogsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/audit-logs\",\n    ...options,\n  });\n\n/**\n * Approve a pending booking, setting status to :confirmed and confirmed_at timestamp\n *\n * Approve a pending booking, setting status to :confirmed and confirmed_at timestamp. Propagates confirmation to the linked Event. Requires scheduling:manage scope. Publishes BookingApproved event.\n */\nexport const patchAdminSchedulingBookingsByIdConfirm = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSchedulingBookingsByIdConfirmData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingBookingsByIdConfirmResponses,\n    PatchAdminSchedulingBookingsByIdConfirmErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/bookings/{id}/confirm\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /wholesale-agreements/:id operation on wholesale-agreement resource\n *\n * /wholesale-agreements/:id operation on wholesale-agreement resource\n */\nexport const getAdminWholesaleAgreementsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWholesaleAgreementsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWholesaleAgreementsByIdResponses,\n    GetAdminWholesaleAgreementsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wholesale-agreements/{id}\",\n    ...options,\n  });\n\n/**\n * /wholesale-agreements/:id operation on wholesale-agreement resource\n *\n * /wholesale-agreements/:id operation on wholesale-agreement resource\n */\nexport const patchAdminWholesaleAgreementsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWholesaleAgreementsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWholesaleAgreementsByIdResponses,\n    PatchAdminWholesaleAgreementsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wholesale-agreements/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /pricing-strategies/:id operation on pricing-strategy resource\n *\n * /pricing-strategies/:id operation on pricing-strategy resource\n */\nexport const getAdminPricingStrategiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPricingStrategiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPricingStrategiesByIdResponses,\n    GetAdminPricingStrategiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pricing-strategies/{id}\",\n    ...options,\n  });\n\n/**\n * /pricing-strategies/:id operation on pricing-strategy resource\n *\n * /pricing-strategies/:id operation on pricing-strategy resource\n */\nexport const patchAdminPricingStrategiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPricingStrategiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPricingStrategiesByIdResponses,\n    PatchAdminPricingStrategiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pricing-strategies/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/outbound-emails/workspace/:workspace_id/contact/:contact_ref_id operation on email-outbound-email resource\n *\n * /email/outbound-emails/workspace/:workspace_id/contact/:contact_ref_id operation on email-outbound-email resource\n */\nexport const getAdminEmailOutboundEmailsWorkspaceByWorkspaceIdContactByContactRefId =\n  <ThrowOnError extends boolean = false>(\n    options: Options<\n      GetAdminEmailOutboundEmailsWorkspaceByWorkspaceIdContactByContactRefIdData,\n      ThrowOnError\n    >,\n  ) =>\n    (options.client ?? client).get<\n      GetAdminEmailOutboundEmailsWorkspaceByWorkspaceIdContactByContactRefIdResponses,\n      GetAdminEmailOutboundEmailsWorkspaceByWorkspaceIdContactByContactRefIdErrors,\n      ThrowOnError\n    >({\n      querySerializer: {\n        parameters: {\n          filter: { object: { style: \"form\" } },\n          fields: { object: { style: \"form\" } },\n        },\n      },\n      security: [{ scheme: \"bearer\", type: \"http\" }],\n      url: \"/admin/email/outbound-emails/workspace/{workspace_id}/contact/{contact_ref_id}\",\n      ...options,\n    });\n\n/**\n * Dismiss announcement - merges with existing preferences\n *\n * Dismiss announcement - merges with existing preferences\n */\nexport const patchAdminUserProfilesByIdDismissAnnouncement = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminUserProfilesByIdDismissAnnouncementData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminUserProfilesByIdDismissAnnouncementResponses,\n    PatchAdminUserProfilesByIdDismissAnnouncementErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/user-profiles/{id}/dismiss-announcement\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all active nodes in a taxonomy\n *\n * List all active nodes in a taxonomy. Use roots_by_taxonomy to get only top-level nodes for tree rendering.\n */\nexport const getAdminCatalogTaxonomyNodesTaxonomyByTaxonomyId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogTaxonomyNodesTaxonomyByTaxonomyIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogTaxonomyNodesTaxonomyByTaxonomyIdResponses,\n    GetAdminCatalogTaxonomyNodesTaxonomyByTaxonomyIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/taxonomy-nodes/taxonomy/{taxonomy_id}\",\n    ...options,\n  });\n\n/**\n * Export campaign data (recipients, results, or tracking) as CSV\n *\n * Export campaign data (recipients, results, or tracking) as CSV. Returns job ID.\n */\nexport const postAdminEmailMarketingCampaignsByIdExport = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminEmailMarketingCampaignsByIdExportData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailMarketingCampaignsByIdExportResponses,\n    PostAdminEmailMarketingCampaignsByIdExportErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/campaigns/{id}/export\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Mark this notification method as the primary channel for its type\n *\n * Mark this notification method as the primary channel for its type. Automatically unsets `is_primary` on all other methods of the same type for the same user.\n */\nexport const patchAdminNotificationMethodsByIdSetPrimary = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminNotificationMethodsByIdSetPrimaryData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminNotificationMethodsByIdSetPrimaryResponses,\n    PatchAdminNotificationMethodsByIdSetPrimaryErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-methods/{id}/set-primary\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all relationship edges in a workspace\n *\n * List all relationship edges in a workspace. Use to traverse connections between CRM entities or seed graph traversal queries.\n */\nexport const getAdminCrmRelationshipsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmRelationshipsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmRelationshipsWorkspaceByWorkspaceIdResponses,\n    GetAdminCrmRelationshipsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/relationships/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * List exports for a workspace, filtered by status\n *\n * List exports for a workspace, filtered by status\n */\nexport const getAdminWorkspacesByWorkspaceIdExtractionExports = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminWorkspacesByWorkspaceIdExtractionExportsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminWorkspacesByWorkspaceIdExtractionExportsResponses,\n    GetAdminWorkspacesByWorkspaceIdExtractionExportsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{workspace_id}/extraction/exports\",\n    ...options,\n  });\n\n/**\n * /workspaces/:workspace_id/extraction/exports operation on extraction-export resource\n *\n * /workspaces/:workspace_id/extraction/exports operation on extraction-export resource\n */\nexport const postAdminWorkspacesByWorkspaceIdExtractionExports = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminWorkspacesByWorkspaceIdExtractionExportsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminWorkspacesByWorkspaceIdExtractionExportsResponses,\n    PostAdminWorkspacesByWorkspaceIdExtractionExportsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{workspace_id}/extraction/exports\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Reschedule a booking by moving its linked Event to new_start_time/new_end_time\n *\n * Reschedule a booking by moving its linked Event to new_start_time/new_end_time. Propagates rescheduling to the Event (which validates for conflicts). Publishes EventRescheduled event.\n */\nexport const patchAdminSchedulingBookingsByIdReschedule = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminSchedulingBookingsByIdRescheduleData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingBookingsByIdRescheduleResponses,\n    PatchAdminSchedulingBookingsByIdRescheduleErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/bookings/{id}/reschedule\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/food-items/:id operation on recipes-food-item resource\n *\n * /recipes/food-items/:id operation on recipes-food-item resource\n */\nexport const deleteAdminRecipesFoodItemsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminRecipesFoodItemsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRecipesFoodItemsByIdResponses,\n    DeleteAdminRecipesFoodItemsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/food-items/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/food-items/:id operation on recipes-food-item resource\n *\n * /recipes/food-items/:id operation on recipes-food-item resource\n */\nexport const getAdminRecipesFoodItemsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesFoodItemsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesFoodItemsByIdResponses,\n    GetAdminRecipesFoodItemsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/food-items/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/food-items/:id operation on recipes-food-item resource\n *\n * /recipes/food-items/:id operation on recipes-food-item resource\n */\nexport const patchAdminRecipesFoodItemsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRecipesFoodItemsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesFoodItemsByIdResponses,\n    PatchAdminRecipesFoodItemsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/food-items/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Transition an `:active` plan to `:deprecated`\n *\n * Transition an `:active` plan to `:deprecated`. Deprecated plans are hidden\n * from public catalogs and reject new subscriptions, but existing subscribers\n * continue renewing on this plan. Use this before scheduling a sunset.\n *\n * Requires Platform Admin or Application Owner role. The transition is\n * rejected if the plan is not currently `:active`.\n *\n */\nexport const patchAdminPlansByIdDeprecate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPlansByIdDeprecateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPlansByIdDeprecateResponses,\n    PatchAdminPlansByIdDeprecateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plans/{id}/deprecate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /agent-executions/:id/cancel operation on agent-execution resource\n *\n * /agent-executions/:id/cancel operation on agent-execution resource\n */\nexport const patchAdminAgentExecutionsByIdCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminAgentExecutionsByIdCancelData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAgentExecutionsByIdCancelResponses,\n    PatchAdminAgentExecutionsByIdCancelErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-executions/{id}/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get the current application based on x-application-key header context\n *\n * Get the current application based on x-application-key header context\n */\nexport const getAdminApplicationsCurrent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminApplicationsCurrentData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminApplicationsCurrentResponses,\n    GetAdminApplicationsCurrentErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/current\",\n    ...options,\n  });\n\n/**\n * /agents/:id/training-stats operation on agent-training-stats resource\n *\n * /agents/:id/training-stats operation on agent-training-stats resource\n */\nexport const getAdminAgentsByIdTrainingStats = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAgentsByIdTrainingStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentsByIdTrainingStatsResponses,\n    GetAdminAgentsByIdTrainingStatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/training-stats\",\n    ...options,\n  });\n\n/**\n * Soft-archive a contact (sets deleted_at)\n *\n * Soft-archive a contact (sets deleted_at)\n */\nexport const patchAdminCrmContactsByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmContactsByIdArchiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmContactsByIdArchiveResponses,\n    PatchAdminCrmContactsByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/contacts/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /contract-clauses operation on contract-clause resource\n *\n * /contract-clauses operation on contract-clause resource\n */\nexport const getAdminContractClauses = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminContractClausesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminContractClausesResponses,\n    GetAdminContractClausesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/contract-clauses\",\n    ...options,\n  });\n\n/**\n * /wallet/invoices/:id/void operation on invoice resource\n *\n * /wallet/invoices/:id/void operation on invoice resource\n */\nexport const patchAdminWalletInvoicesByIdVoid = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWalletInvoicesByIdVoidData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWalletInvoicesByIdVoidResponses,\n    PatchAdminWalletInvoicesByIdVoidErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/invoices/{id}/void\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/goal-templates/:id operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/:id operation on clinical-goal-template resource\n */\nexport const getAdminClinicalGoalTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalGoalTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalTemplatesByIdResponses,\n    GetAdminClinicalGoalTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-templates/:id operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/:id operation on clinical-goal-template resource\n */\nexport const patchAdminClinicalGoalTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalGoalTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalGoalTemplatesByIdResponses,\n    PatchAdminClinicalGoalTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /tenants/:tenant_id/workspace_stats operation on workspace-document-stats resource\n *\n * /tenants/:tenant_id/workspace_stats operation on workspace-document-stats resource\n */\nexport const getAdminTenantsByTenantIdWorkspaceStats = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminTenantsByTenantIdWorkspaceStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTenantsByTenantIdWorkspaceStatsResponses,\n    GetAdminTenantsByTenantIdWorkspaceStatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{tenant_id}/workspace_stats\",\n    ...options,\n  });\n\n/**\n * RD approves the clinical note\n *\n * RD approves the clinical note. Creates an immutable NoteVersion snapshot.\n */\nexport const patchAdminClinicalNotesByIdApprove = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalNotesByIdApproveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalNotesByIdApproveResponses,\n    PatchAdminClinicalNotesByIdApproveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes/{id}/approve\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get treatment plan details from Fullscript\n *\n * Get treatment plan details from Fullscript\n */\nexport const postAdminConnectorsFullscriptTreatmentPlansGet = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsFullscriptTreatmentPlansGetData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsFullscriptTreatmentPlansGetResponses,\n    PostAdminConnectorsFullscriptTreatmentPlansGetErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/fullscript/treatment-plans/get\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Return aggregate delivery counts by status (total, delivered, failed, retrying)\n *\n * Return aggregate delivery counts by status (total, delivered, failed, retrying). Useful for monitoring dashboards; no side effects.\n */\nexport const getAdminWebhookDeliveriesStats = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWebhookDeliveriesStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWebhookDeliveriesStatsResponses,\n    GetAdminWebhookDeliveriesStatsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-deliveries/stats\",\n    ...options,\n  });\n\n/**\n * Approve a completed DPIA by recording the approver's name and setting `approved_at` to the current timestamp\n *\n * Approve a completed DPIA by recording the approver's name and setting `approved_at` to the current timestamp. Changes status to `:approved`; use :update to add additional findings after the fact.\n */\nexport const patchAdminImpactAssessmentsByIdApprove = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminImpactAssessmentsByIdApproveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminImpactAssessmentsByIdApproveResponses,\n    PatchAdminImpactAssessmentsByIdApproveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/impact-assessments/{id}/approve\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get seat billing info for the current tenant\n *\n * Get seat billing info for the current tenant\n */\nexport const getAdminWalletSeats = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminWalletSeatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWalletSeatsResponses,\n    GetAdminWalletSeatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/seats\",\n    ...options,\n  });\n\n/**\n * Run the agent against sample input\n *\n * Run the agent against sample input\n */\nexport const postAdminAgentsByIdTest = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAgentsByIdTestData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentsByIdTestResponses,\n    PostAdminAgentsByIdTestErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/test\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Revoke an existing consent grant\n *\n * Revoke an existing consent grant. Sets status to `:withdrawn` and records `withdrawn_at`. Returns an error if the record is already withdrawn. The record is preserved for audit trail purposes.\n */\nexport const patchAdminConsentRecordsByIdWithdraw = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminConsentRecordsByIdWithdrawData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminConsentRecordsByIdWithdrawResponses,\n    PatchAdminConsentRecordsByIdWithdrawErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/consent-records/{id}/withdraw\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Cancel a pending reminder, preventing delivery\n *\n * Cancel a pending reminder, preventing delivery. Called by EventHandler on EventCancelled/EventRescheduled per loaded record. No Oban job cancellation — ReminderWorker checks status before delivering.\n */\nexport const patchAdminSchedulingRemindersByIdCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSchedulingRemindersByIdCancelData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingRemindersByIdCancelResponses,\n    PatchAdminSchedulingRemindersByIdCancelErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/reminders/{id}/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/outbound-emails/:id/cancel-schedule operation on email-outbound-email resource\n *\n * /email/outbound-emails/:id/cancel-schedule operation on email-outbound-email resource\n */\nexport const patchAdminEmailOutboundEmailsByIdCancelSchedule = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailOutboundEmailsByIdCancelScheduleData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailOutboundEmailsByIdCancelScheduleResponses,\n    PatchAdminEmailOutboundEmailsByIdCancelScheduleErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/outbound-emails/{id}/cancel-schedule\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch a single location by ID\n *\n * Fetch a single location by ID. Note: location data is denormalized into LocationEmbed on Event/EventType at write time — reads typically use the embed, not this action.\n */\nexport const getAdminSchedulingLocationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingLocationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingLocationsByIdResponses,\n    GetAdminSchedulingLocationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/locations/{id}\",\n    ...options,\n  });\n\n/**\n * Update location details\n *\n * Update location details. Changes here do NOT retroactively update LocationEmbed in Events/EventTypes — those were denormalized at write time. Use :deactivate to retire a location.\n */\nexport const patchAdminSchedulingLocationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSchedulingLocationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingLocationsByIdResponses,\n    PatchAdminSchedulingLocationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/locations/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/notes/:note_id/versions operation on clinical-note-version resource\n *\n * /clinical/notes/:note_id/versions operation on clinical-note-version resource\n */\nexport const getAdminClinicalNotesByNoteIdVersions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalNotesByNoteIdVersionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNotesByNoteIdVersionsResponses,\n    GetAdminClinicalNotesByNoteIdVersionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes/{note_id}/versions\",\n    ...options,\n  });\n\n/**\n * /invoices/:id/send operation on invoices-invoice resource\n *\n * /invoices/:id/send operation on invoices-invoice resource\n */\nexport const patchAdminInvoicesByIdSend = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesByIdSendData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesByIdSendResponses,\n    PatchAdminInvoicesByIdSendErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}/send\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/recurring-schedules/:id/resume operation on invoices-recurring-schedule resource\n *\n * /invoices/recurring-schedules/:id/resume operation on invoices-recurring-schedule resource\n */\nexport const patchAdminInvoicesRecurringSchedulesByIdResume = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminInvoicesRecurringSchedulesByIdResumeData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesRecurringSchedulesByIdResumeResponses,\n    PatchAdminInvoicesRecurringSchedulesByIdResumeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/recurring-schedules/{id}/resume\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Enqueue an async CRM data export job\n *\n * Enqueue an async CRM data export job. Validates include keys and entity_type compatibility,\n * then enqueues DataExportWorker via Oban. Returns a pending DataExportJob — poll :get until\n * status is :complete or :failed. Publishes DataExportJobCreated event. Costs 5 credits.\n *\n */\nexport const postAdminCrmExports = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrmExportsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmExportsResponses,\n    PostAdminCrmExportsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/exports\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List recipe tags for a recipe\n *\n * List recipe tags for a recipe\n */\nexport const getAdminRecipesRecipeTagsRecipeByRecipeId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesRecipeTagsRecipeByRecipeIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesRecipeTagsRecipeByRecipeIdResponses,\n    GetAdminRecipesRecipeTagsRecipeByRecipeIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/recipe-tags/recipe/{recipe_id}\",\n    ...options,\n  });\n\n/**\n * /agent-souls operation on agent-soul resource\n *\n * /agent-souls operation on agent-soul resource\n */\nexport const getAdminAgentSouls = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAgentSoulsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentSoulsResponses,\n    GetAdminAgentSoulsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-souls\",\n    ...options,\n  });\n\n/**\n * /agent-souls operation on agent-soul resource\n *\n * /agent-souls operation on agent-soul resource\n */\nexport const postAdminAgentSouls = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAgentSoulsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentSoulsResponses,\n    PostAdminAgentSoulsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-souls\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /ai/messages/:id operation on chat-ai-message resource\n *\n * /ai/messages/:id operation on chat-ai-message resource\n */\nexport const deleteAdminAiMessagesById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminAiMessagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminAiMessagesByIdResponses,\n    DeleteAdminAiMessagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/messages/{id}\",\n    ...options,\n  });\n\n/**\n * /ai/messages/:id operation on chat-ai-message resource\n *\n * /ai/messages/:id operation on chat-ai-message resource\n */\nexport const getAdminAiMessagesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAiMessagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAiMessagesByIdResponses,\n    GetAdminAiMessagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/messages/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-templates/:id/archive operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/:id/archive operation on clinical-supplement-template resource\n */\nexport const patchAdminClinicalSupplementTemplatesByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalSupplementTemplatesByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalSupplementTemplatesByIdArchiveResponses,\n    PatchAdminClinicalSupplementTemplatesByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-resources/catalog/:id/permanent operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/catalog/:id/permanent operation on clinical-practice-resource resource\n */\nexport const deleteAdminClinicalPracticeResourcesCatalogByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalPracticeResourcesCatalogByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalPracticeResourcesCatalogByIdPermanentResponses,\n    DeleteAdminClinicalPracticeResourcesCatalogByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/catalog/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * Adapt master copy for each target platform\n *\n * Adapt master copy for each target platform. Creates SocialPost drafts.\n */\nexport const postAdminSocialCampaignsByIdAdaptForPlatforms = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminSocialCampaignsByIdAdaptForPlatformsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminSocialCampaignsByIdAdaptForPlatformsResponses,\n    PostAdminSocialCampaignsByIdAdaptForPlatformsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/campaigns/{id}/adapt-for-platforms\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/posts/:id/cancel operation on social-post resource\n *\n * /social/posts/:id/cancel operation on social-post resource\n */\nexport const patchAdminSocialPostsByIdCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSocialPostsByIdCancelData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialPostsByIdCancelResponses,\n    PatchAdminSocialPostsByIdCancelErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/posts/{id}/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /risk-assessments operation on risk-assessment resource\n *\n * /risk-assessments operation on risk-assessment resource\n */\nexport const getAdminRiskAssessments = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminRiskAssessmentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRiskAssessmentsResponses,\n    GetAdminRiskAssessmentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/risk-assessments\",\n    ...options,\n  });\n\n/**\n * Record a new compliance risk assessment (security, privacy, operational, or compliance type) for a workspace\n *\n * Record a new compliance risk assessment (security, privacy, operational, or compliance type) for a workspace. The assessment starts in `:draft` status. The RiskExpiryWorker marks approved assessments as `:expired` when `expires_at` passes.\n */\nexport const postAdminRiskAssessments = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminRiskAssessmentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRiskAssessmentsResponses,\n    PostAdminRiskAssessmentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/risk-assessments\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /agent-executions/:id/resume operation on agent-execution resource\n *\n * /agent-executions/:id/resume operation on agent-execution resource\n */\nexport const patchAdminAgentExecutionsByIdResume = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminAgentExecutionsByIdResumeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAgentExecutionsByIdResumeResponses,\n    PatchAdminAgentExecutionsByIdResumeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-executions/{id}/resume\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/food-items operation on recipes-food-item resource\n *\n * /recipes/food-items operation on recipes-food-item resource\n */\nexport const postAdminRecipesFoodItems = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminRecipesFoodItemsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesFoodItemsResponses,\n    PostAdminRecipesFoodItemsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/food-items\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a new catalog product in a workspace; triggers search indexing and enqueues embedding generation\n *\n * Create a new catalog product in a workspace; triggers search indexing and enqueues embedding generation. Returns the created product.\n */\nexport const postAdminCatalogProducts = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCatalogProductsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogProductsResponses,\n    PostAdminCatalogProductsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/products\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /disclosure-logs/:id operation on disclosure-log resource\n *\n * /disclosure-logs/:id operation on disclosure-log resource\n */\nexport const getAdminDisclosureLogsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminDisclosureLogsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminDisclosureLogsByIdResponses,\n    GetAdminDisclosureLogsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/disclosure-logs/{id}\",\n    ...options,\n  });\n\n/**\n * Create a patient in Fullscript\n *\n * Create a patient in Fullscript\n */\nexport const postAdminConnectorsFullscriptCreatePatient = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsFullscriptCreatePatientData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsFullscriptCreatePatientResponses,\n    PostAdminConnectorsFullscriptCreatePatientErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/fullscript/create-patient\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /contract-renewal-alerts operation on contract-renewal-alert resource\n *\n * /contract-renewal-alerts operation on contract-renewal-alert resource\n */\nexport const getAdminContractRenewalAlerts = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminContractRenewalAlertsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminContractRenewalAlertsResponses,\n    GetAdminContractRenewalAlertsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/contract-renewal-alerts\",\n    ...options,\n  });\n\n/**\n * List all bookings for a workspace\n *\n * List all bookings for a workspace. Use to view pending approvals or booking history. Filter by status in the caller.\n */\nexport const getAdminSchedulingBookings = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingBookingsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingBookingsResponses,\n    GetAdminSchedulingBookingsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/bookings\",\n    ...options,\n  });\n\n/**\n * Create a booking for an external party claiming a time slot\n *\n * Create a booking for an external party claiming a time slot. Validates honeypot field,\n * booking cooldown, and event type capacity. Atomically creates a linked Event and Participant\n * in before_action. Status is :confirmed if EventType.requires_approval is false, else\n * :pending_approval. Publishes BookingCreated event.\n *\n */\nexport const postAdminSchedulingBookings = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSchedulingBookingsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSchedulingBookingsResponses,\n    PostAdminSchedulingBookingsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/bookings\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Resume a paused or errored calendar sync\n *\n * Resume a paused or errored calendar sync. Resets error_count to 0 and error_message to nil, setting sync_status to :active. Use after resolving the underlying connection issue.\n */\nexport const patchAdminSchedulingCalendarSyncsByIdResume = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminSchedulingCalendarSyncsByIdResumeData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingCalendarSyncsByIdResumeResponses,\n    PatchAdminSchedulingCalendarSyncsByIdResumeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/calendar-syncs/{id}/resume\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Reverse an exclusion: allow a previously excluded document to contribute training examples\n * again\n *\n * Reverse an exclusion: allow a previously excluded document to contribute training examples\n * again. Clears `excluded_from_training`, `excluded_at`, `excluded_by`, and\n * `training_metadata` so the document appears in normal training queries.\n *\n * Side effects: synchronously clears the `document_excluded` flag on all associated\n * `TrainingExample` records, making them eligible for semantic search and few-shot selection.\n *\n * This action is also registered under the `/restore` route as a semantic alias.\n *\n */\nexport const patchAdminExtractionDocumentsByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminExtractionDocumentsByIdRestoreData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionDocumentsByIdRestoreResponses,\n    PatchAdminExtractionDocumentsByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /balances/:id operation on balance resource\n *\n * /balances/:id operation on balance resource\n */\nexport const getAdminBalancesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminBalancesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBalancesByIdResponses,\n    GetAdminBalancesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/balances/{id}\",\n    ...options,\n  });\n\n/**\n * /business-associate-agreements/:id/sign operation on business-associate-agreement resource\n *\n * /business-associate-agreements/:id/sign operation on business-associate-agreement resource\n */\nexport const patchAdminBusinessAssociateAgreementsByIdSign = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminBusinessAssociateAgreementsByIdSignData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminBusinessAssociateAgreementsByIdSignResponses,\n    PatchAdminBusinessAssociateAgreementsByIdSignErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/business-associate-agreements/{id}/sign\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/trending/history/workspace/:workspace_id operation on trending-snapshot resource\n *\n * /social/trending/history/workspace/:workspace_id operation on trending-snapshot resource\n */\nexport const getAdminSocialTrendingHistoryWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSocialTrendingHistoryWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialTrendingHistoryWorkspaceByWorkspaceIdResponses,\n    GetAdminSocialTrendingHistoryWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/trending/history/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-templates/:id/archive operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/:id/archive operation on clinical-goal-template resource\n */\nexport const patchAdminClinicalGoalTemplatesByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalGoalTemplatesByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalGoalTemplatesByIdArchiveResponses,\n    PatchAdminClinicalGoalTemplatesByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Legacy single-step upload: create a document record and immediately enqueue processing\n *\n * Legacy single-step upload: create a document record and immediately enqueue processing.\n * Use this when the file is already stored at `storage_path` (e.g., from the Ingestion domain).\n * For new client-initiated uploads, prefer `:begin_upload` + `:finish_upload` which provides\n * deduplication, presigned URL generation, and defense-in-depth credit checks.\n *\n * Side effects: enqueues `ProcessDocument` (or `ProcessAudio` for audio files) Oban job.\n * Captures actor and request context (IP, UA) for audit trail.\n *\n * Returns the created document with status `:queued`.\n *\n */\nexport const postAdminExtractionDocumentsUpload = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminExtractionDocumentsUploadData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminExtractionDocumentsUploadResponses,\n    PostAdminExtractionDocumentsUploadErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/upload\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /extraction/chunk-entity-links/document/:document_id operation on chunk-entity-link resource\n *\n * /extraction/chunk-entity-links/document/:document_id operation on chunk-entity-link resource\n */\nexport const getAdminExtractionChunkEntityLinksDocumentByDocumentId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionChunkEntityLinksDocumentByDocumentIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionChunkEntityLinksDocumentByDocumentIdResponses,\n    GetAdminExtractionChunkEntityLinksDocumentByDocumentIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/chunk-entity-links/document/{document_id}\",\n    ...options,\n  });\n\n/**\n * /system-messages/:id operation on system-message resource\n *\n * /system-messages/:id operation on system-message resource\n */\nexport const deleteAdminSystemMessagesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSystemMessagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSystemMessagesByIdResponses,\n    DeleteAdminSystemMessagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/system-messages/{id}\",\n    ...options,\n  });\n\n/**\n * /system-messages/:id operation on system-message resource\n *\n * /system-messages/:id operation on system-message resource\n */\nexport const getAdminSystemMessagesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSystemMessagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSystemMessagesByIdResponses,\n    GetAdminSystemMessagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/system-messages/{id}\",\n    ...options,\n  });\n\n/**\n * Edit a system message's content, title, or version\n *\n * Edit a system message's content, title, or version. Use :publish / :unpublish for lifecycle transitions rather than toggling `is_active` via this action.\n */\nexport const patchAdminSystemMessagesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSystemMessagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSystemMessagesByIdResponses,\n    PatchAdminSystemMessagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/system-messages/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-supplements/:id operation on clinical-client-supplement resource\n *\n * /clinical/client-supplements/:id operation on clinical-client-supplement resource\n */\nexport const getAdminClinicalClientSupplementsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalClientSupplementsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalClientSupplementsByIdResponses,\n    GetAdminClinicalClientSupplementsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-supplements/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/client-supplements/:id operation on clinical-client-supplement resource\n *\n * /clinical/client-supplements/:id operation on clinical-client-supplement resource\n */\nexport const patchAdminClinicalClientSupplementsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalClientSupplementsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientSupplementsByIdResponses,\n    PatchAdminClinicalClientSupplementsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-supplements/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/inbound-addresses/:id/enable operation on email-inbound-address resource\n *\n * /email/inbound-addresses/:id/enable operation on email-inbound-address resource\n */\nexport const patchAdminEmailInboundAddressesByIdEnable = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminEmailInboundAddressesByIdEnableData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailInboundAddressesByIdEnableResponses,\n    PatchAdminEmailInboundAddressesByIdEnableErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inbound-addresses/{id}/enable\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a pipeline scoped to an application (template) or a specific workspace\n *\n * Create a pipeline scoped to an application (template) or a specific workspace. Returns the created Pipeline with its ordered stages.\n */\nexport const postAdminCrmPipelines = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrmPipelinesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmPipelinesResponses,\n    PostAdminCrmPipelinesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/pipelines\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Return token usage summary analytics for the caller's tenant; useful for quota monitoring and capacity planning.\n *\n * Return token usage summary analytics for the caller's tenant; useful for quota monitoring and capacity planning.\n */\nexport const getAdminLlmAnalyticsUsage = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminLlmAnalyticsUsageData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLlmAnalyticsUsageResponses,\n    GetAdminLlmAnalyticsUsageErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/llm-analytics/usage\",\n    ...options,\n  });\n\n/**\n * /catalog/stock-movements/:id operation on catalog-stock-movement resource\n *\n * /catalog/stock-movements/:id operation on catalog-stock-movement resource\n */\nexport const getAdminCatalogStockMovementsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCatalogStockMovementsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogStockMovementsByIdResponses,\n    GetAdminCatalogStockMovementsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/stock-movements/{id}\",\n    ...options,\n  });\n\n/**\n * Sync all Healthie data (patients + appointments)\n *\n * Sync all Healthie data (patients + appointments).\n *\n * Returns combined sync summary with both patient and appointment counts.\n *\n */\nexport const postAdminConnectorsByIdHealthieSyncAll = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminConnectorsByIdHealthieSyncAllData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsByIdHealthieSyncAllResponses,\n    PostAdminConnectorsByIdHealthieSyncAllErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/{id}/healthie/sync-all\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/recipe-tags/:id operation on recipes-recipe-tag resource\n *\n * /recipes/recipe-tags/:id operation on recipes-recipe-tag resource\n */\nexport const deleteAdminRecipesRecipeTagsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminRecipesRecipeTagsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRecipesRecipeTagsByIdResponses,\n    DeleteAdminRecipesRecipeTagsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/recipe-tags/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/recipe-tags/:id operation on recipes-recipe-tag resource\n *\n * /recipes/recipe-tags/:id operation on recipes-recipe-tag resource\n */\nexport const getAdminRecipesRecipeTagsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesRecipeTagsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesRecipeTagsByIdResponses,\n    GetAdminRecipesRecipeTagsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/recipe-tags/{id}\",\n    ...options,\n  });\n\n/**\n * /crawler/site-configs/:id operation on crawler-site-config resource\n *\n * /crawler/site-configs/:id operation on crawler-site-config resource\n */\nexport const deleteAdminCrawlerSiteConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrawlerSiteConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrawlerSiteConfigsByIdResponses,\n    DeleteAdminCrawlerSiteConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/site-configs/{id}\",\n    ...options,\n  });\n\n/**\n * /crawler/site-configs/:id operation on crawler-site-config resource\n *\n * /crawler/site-configs/:id operation on crawler-site-config resource\n */\nexport const getAdminCrawlerSiteConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrawlerSiteConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerSiteConfigsByIdResponses,\n    GetAdminCrawlerSiteConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/site-configs/{id}\",\n    ...options,\n  });\n\n/**\n * Update rate limits, strategy preference, JS requirement, or headers for an existing site config\n *\n * Update rate limits, strategy preference, JS requirement, or headers for an existing site config. Returns the updated config.\n */\nexport const patchAdminCrawlerSiteConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrawlerSiteConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrawlerSiteConfigsByIdResponses,\n    PatchAdminCrawlerSiteConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/site-configs/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/relationship-types operation on crm-relationship-type resource\n *\n * /crm/relationship-types operation on crm-relationship-type resource\n */\nexport const getAdminCrmRelationshipTypes = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrmRelationshipTypesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmRelationshipTypesResponses,\n    GetAdminCrmRelationshipTypesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/relationship-types\",\n    ...options,\n  });\n\n/**\n * Define a named relationship category for an application\n *\n * Define a named relationship category for an application. Slug must be unique per\n * application and will be used as the Neo4j edge label (uppercased). System types\n * are created automatically when the :crm capability is enabled.\n *\n */\nexport const postAdminCrmRelationshipTypes = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCrmRelationshipTypesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmRelationshipTypesResponses,\n    PostAdminCrmRelationshipTypesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/relationship-types\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/recurring-schedules operation on invoices-recurring-schedule resource\n *\n * /invoices/recurring-schedules operation on invoices-recurring-schedule resource\n */\nexport const postAdminInvoicesRecurringSchedules = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminInvoicesRecurringSchedulesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminInvoicesRecurringSchedulesResponses,\n    PostAdminInvoicesRecurringSchedulesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/recurring-schedules\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-tools/categories operation on clinical-practice-tool-category resource\n *\n * /clinical/practice-tools/categories operation on clinical-practice-tool-category resource\n */\nexport const getAdminClinicalPracticeToolsCategories = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPracticeToolsCategoriesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeToolsCategoriesResponses,\n    GetAdminClinicalPracticeToolsCategoriesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/categories\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-templates/from-existing operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/from-existing operation on clinical-goal-template resource\n */\nexport const postAdminClinicalGoalTemplatesFromExisting = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminClinicalGoalTemplatesFromExistingData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalGoalTemplatesFromExistingResponses,\n    PostAdminClinicalGoalTemplatesFromExistingErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/from-existing\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-medications/:id operation on clinical-client-medication resource\n *\n * /clinical/client-medications/:id operation on clinical-client-medication resource\n */\nexport const getAdminClinicalClientMedicationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalClientMedicationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalClientMedicationsByIdResponses,\n    GetAdminClinicalClientMedicationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-medications/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/client-medications/:id operation on clinical-client-medication resource\n *\n * /clinical/client-medications/:id operation on clinical-client-medication resource\n */\nexport const patchAdminClinicalClientMedicationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalClientMedicationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientMedicationsByIdResponses,\n    PatchAdminClinicalClientMedicationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-medications/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Return platform-wide chat statistics including total threads, total messages, threads active in the last 24h and 7d, message distribution by role, and top 10 workspaces by thread count\n *\n * Return platform-wide chat statistics including total threads, total messages, threads active in the last 24h and 7d, message distribution by role, and top 10 workspaces by thread count. Platform admin access only; returns the single virtual 'platform' record.\n */\nexport const getAdminThreadsStats = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminThreadsStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminThreadsStatsResponses,\n    GetAdminThreadsStatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/stats\",\n    ...options,\n  });\n\n/**\n * Cancel the current subscription plan\n *\n * Cancel the current subscription plan\n */\nexport const patchAdminWalletPlanCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWalletPlanCancelData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWalletPlanCancelResponses,\n    PatchAdminWalletPlanCancelErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/plan/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a payment token\n *\n * Create a payment token\n */\nexport const postAdminTokens = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminTokensData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTokensResponses,\n    PostAdminTokensErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tokens\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /portal-invitations operation on portal-invitation resource\n *\n * /portal-invitations operation on portal-invitation resource\n */\nexport const getAdminPortalInvitations = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPortalInvitationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPortalInvitationsResponses,\n    GetAdminPortalInvitationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/portal-invitations\",\n    ...options,\n  });\n\n/**\n * /portal-invitations operation on portal-invitation resource\n *\n * /portal-invitations operation on portal-invitation resource\n */\nexport const postAdminPortalInvitations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminPortalInvitationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPortalInvitationsResponses,\n    PostAdminPortalInvitationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/portal-invitations\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all relationships for a given node\n *\n * List all relationships for a given node\n */\nexport const getAdminAiGraphNodesByNodeIdRelationships = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAiGraphNodesByNodeIdRelationshipsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAiGraphNodesByNodeIdRelationshipsResponses,\n    GetAdminAiGraphNodesByNodeIdRelationshipsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/graph/nodes/{node_id}/relationships\",\n    ...options,\n  });\n\n/**\n * Promote available_version_id to effective_version_id when an update has been notified.\n *\n * Promote available_version_id to effective_version_id when an update has been notified.\n */\nexport const patchAdminFormDeploymentsByIdAcceptUpdate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminFormDeploymentsByIdAcceptUpdateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminFormDeploymentsByIdAcceptUpdateResponses,\n    PatchAdminFormDeploymentsByIdAcceptUpdateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-deployments/{id}/accept-update\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all permission presets (pre-defined role bundles) from the PermissionRegistry, optionally filtered by context and app\n *\n * List all permission presets (pre-defined role bundles) from the PermissionRegistry, optionally filtered by context and app. Use to populate preset selectors in role management UIs.\n */\nexport const getAdminPermissionsPresets = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPermissionsPresetsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPermissionsPresetsResponses,\n    GetAdminPermissionsPresetsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/permissions/presets\",\n    ...options,\n  });\n\n/**\n * Platform-Admin-only manual signup-grant\n *\n * Platform-Admin-only manual signup-grant. Forces the grant through\n * `IsvSignupGrantProvisioner` with `override: true`, bypassing\n * proof-of-life, setting `proof_of_life_path: :admin_manual` regardless\n * of agreement source, using the explicit `credits` argument, and\n * persisting `reason` on the `PlatformUsageEvent.metadata`. Re-running\n * this action is NOT idempotent — every call fires a fresh grant. Use\n * sparingly; the auto-grant path should cover normal onboarding.\n *\n */\nexport const postAdminWholesaleAgreementsByIdGrantSignupCredits = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminWholesaleAgreementsByIdGrantSignupCreditsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminWholesaleAgreementsByIdGrantSignupCreditsResponses,\n    PostAdminWholesaleAgreementsByIdGrantSignupCreditsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wholesale-agreements/{id}/grant-signup-credits\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/supplement-templates/:id/permanent operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/:id/permanent operation on clinical-supplement-template resource\n */\nexport const deleteAdminClinicalSupplementTemplatesByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalSupplementTemplatesByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalSupplementTemplatesByIdPermanentResponses,\n    DeleteAdminClinicalSupplementTemplatesByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * /extraction/chunk-entity-links/entity/:graph_node_id operation on chunk-entity-link resource\n *\n * /extraction/chunk-entity-links/entity/:graph_node_id operation on chunk-entity-link resource\n */\nexport const getAdminExtractionChunkEntityLinksEntityByGraphNodeId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionChunkEntityLinksEntityByGraphNodeIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionChunkEntityLinksEntityByGraphNodeIdResponses,\n    GetAdminExtractionChunkEntityLinksEntityByGraphNodeIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/chunk-entity-links/entity/{graph_node_id}\",\n    ...options,\n  });\n\n/**\n * Create an ISV tenant with initial credits\n *\n * Create an ISV tenant with initial credits\n */\nexport const postAdminTenantsIsv = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminTenantsIsvData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTenantsIsvResponses,\n    PostAdminTenantsIsvErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/isv\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Update auto-top-up settings\n *\n * Update auto-top-up settings\n */\nexport const patchAdminWalletAutoTopUp = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminWalletAutoTopUpData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWalletAutoTopUpResponses,\n    PatchAdminWalletAutoTopUpErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/auto-top-up\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a new taxonomy (classification axis) for an application; enforces max_taxonomies quota\n *\n * Create a new taxonomy (classification axis) for an application; enforces max_taxonomies quota. Returns the created taxonomy.\n */\nexport const postAdminCatalogTaxonomies = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCatalogTaxonomiesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogTaxonomiesResponses,\n    PostAdminCatalogTaxonomiesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/taxonomies\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/intake-targets/:id/restore operation on clinical-intake-target resource\n *\n * /clinical/intake-targets/:id/restore operation on clinical-intake-target resource\n */\nexport const patchAdminClinicalIntakeTargetsByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalIntakeTargetsByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalIntakeTargetsByIdRestoreResponses,\n    PatchAdminClinicalIntakeTargetsByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/intake-targets/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /extraction/shadow-comparisons operation on shadow-comparison resource\n *\n * /extraction/shadow-comparisons operation on shadow-comparison resource\n */\nexport const getAdminExtractionShadowComparisons = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionShadowComparisonsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionShadowComparisonsResponses,\n    GetAdminExtractionShadowComparisonsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/shadow-comparisons\",\n    ...options,\n  });\n\n/**\n * /extraction/shadow-comparisons operation on shadow-comparison resource\n *\n * /extraction/shadow-comparisons operation on shadow-comparison resource\n */\nexport const postAdminExtractionShadowComparisons = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminExtractionShadowComparisonsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminExtractionShadowComparisonsResponses,\n    PostAdminExtractionShadowComparisonsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/shadow-comparisons\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /breach-notifications operation on breach-notification resource\n *\n * /breach-notifications operation on breach-notification resource\n */\nexport const getAdminBreachNotifications = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminBreachNotificationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBreachNotificationsResponses,\n    GetAdminBreachNotificationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/breach-notifications\",\n    ...options,\n  });\n\n/**\n * Credit usage forecast — burn rate and projected exhaustion date\n *\n * Credit usage forecast — burn rate and projected exhaustion date\n */\nexport const getAdminWalletForecast = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminWalletForecastData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWalletForecastResponses,\n    GetAdminWalletForecastErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/forecast\",\n    ...options,\n  });\n\n/**\n * /wallet/invoices operation on invoice resource\n *\n * /wallet/invoices operation on invoice resource\n */\nexport const getAdminWalletInvoices = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminWalletInvoicesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWalletInvoicesResponses,\n    GetAdminWalletInvoicesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/invoices\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-template-collection-memberships operation on clinical-supplement-template-collection-membership resource\n *\n * /clinical/supplement-template-collection-memberships operation on clinical-supplement-template-collection-membership resource\n */\nexport const postAdminClinicalSupplementTemplateCollectionMemberships = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminClinicalSupplementTemplateCollectionMembershipsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalSupplementTemplateCollectionMembershipsResponses,\n    PostAdminClinicalSupplementTemplateCollectionMembershipsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-template-collection-memberships\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Close a case (terminal state).\n *\n * Close a case (terminal state).\n */\nexport const patchAdminCasesByIdClose = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminCasesByIdCloseData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCasesByIdCloseResponses,\n    PatchAdminCasesByIdCloseErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cases/{id}/close\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List feature allocations for a specific plan.\n *\n * List feature allocations for a specific plan.\n */\nexport const getAdminPlanFeatureAllocationsByPlanByPlanId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminPlanFeatureAllocationsByPlanByPlanIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminPlanFeatureAllocationsByPlanByPlanIdResponses,\n    GetAdminPlanFeatureAllocationsByPlanByPlanIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plan-feature-allocations/by-plan/{plan_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/note-templates/mine operation on clinical-note-template resource\n *\n * /clinical/note-templates/mine operation on clinical-note-template resource\n */\nexport const getAdminClinicalNoteTemplatesMine = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalNoteTemplatesMineData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNoteTemplatesMineResponses,\n    GetAdminClinicalNoteTemplatesMineErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/mine\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-template-collections/:id operation on clinical-supplement-template-collection resource\n *\n * /clinical/supplement-template-collections/:id operation on clinical-supplement-template-collection resource\n */\nexport const deleteAdminClinicalSupplementTemplateCollectionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalSupplementTemplateCollectionsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalSupplementTemplateCollectionsByIdResponses,\n    DeleteAdminClinicalSupplementTemplateCollectionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-template-collections/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-template-collections/:id operation on clinical-supplement-template-collection resource\n *\n * /clinical/supplement-template-collections/:id operation on clinical-supplement-template-collection resource\n */\nexport const getAdminClinicalSupplementTemplateCollectionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalSupplementTemplateCollectionsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSupplementTemplateCollectionsByIdResponses,\n    GetAdminClinicalSupplementTemplateCollectionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-template-collections/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-template-collections/:id operation on clinical-supplement-template-collection resource\n *\n * /clinical/supplement-template-collections/:id operation on clinical-supplement-template-collection resource\n */\nexport const patchAdminClinicalSupplementTemplateCollectionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalSupplementTemplateCollectionsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalSupplementTemplateCollectionsByIdResponses,\n    PatchAdminClinicalSupplementTemplateCollectionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-template-collections/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-resources/catalog/archived operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/catalog/archived operation on clinical-practice-resource resource\n */\nexport const getAdminClinicalPracticeResourcesCatalogArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalPracticeResourcesCatalogArchivedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeResourcesCatalogArchivedResponses,\n    GetAdminClinicalPracticeResourcesCatalogArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/catalog/archived\",\n    ...options,\n  });\n\n/**\n * /agent-executions operation on agent-execution resource\n *\n * /agent-executions operation on agent-execution resource\n */\nexport const getAdminAgentExecutions = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAgentExecutionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentExecutionsResponses,\n    GetAdminAgentExecutionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-executions\",\n    ...options,\n  });\n\n/**\n * Dispatch accumulated transcript to the blueprint/chat pipeline\n *\n * Dispatch accumulated transcript to the blueprint/chat pipeline\n */\nexport const patchAdminVoiceSessionsByIdFinalize = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminVoiceSessionsByIdFinalizeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminVoiceSessionsByIdFinalizeResponses,\n    PatchAdminVoiceSessionsByIdFinalizeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/sessions/{id}/finalize\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Full-text search messages by substring match on content\n *\n * Full-text search messages by substring match on content. Optionally filter to a single thread via :thread_id. For AI-powered similarity search, use :semantic_search instead.\n */\nexport const getAdminMessagesSearch = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminMessagesSearchData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminMessagesSearchResponses,\n    GetAdminMessagesSearchErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/messages/search\",\n    ...options,\n  });\n\n/**\n * Reset budget period (for testing or manual reset)\n *\n * Reset budget period (for testing or manual reset)\n */\nexport const patchAdminApiKeysByIdResetPeriod = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminApiKeysByIdResetPeriodData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminApiKeysByIdResetPeriodResponses,\n    PatchAdminApiKeysByIdResetPeriodErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/api-keys/{id}/reset-period\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /voice/transcription-results operation on voice-transcription-result resource\n *\n * /voice/transcription-results operation on voice-transcription-result resource\n */\nexport const getAdminVoiceTranscriptionResults = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminVoiceTranscriptionResultsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceTranscriptionResultsResponses,\n    GetAdminVoiceTranscriptionResultsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/transcription-results\",\n    ...options,\n  });\n\n/**\n * /voice/transcription-results operation on voice-transcription-result resource\n *\n * /voice/transcription-results operation on voice-transcription-result resource\n */\nexport const postAdminVoiceTranscriptionResults = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminVoiceTranscriptionResultsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminVoiceTranscriptionResultsResponses,\n    PostAdminVoiceTranscriptionResultsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/transcription-results\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Archive an active file; soft-hides it from default views while preserving the S3 object\n *\n * Archive an active file; soft-hides it from default views while preserving the S3 object. Use restore to return to active.\n */\nexport const patchAdminStorageFilesByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminStorageFilesByIdArchiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminStorageFilesByIdArchiveResponses,\n    PatchAdminStorageFilesByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-files/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /storage-files/:id operation on storage-file resource\n *\n * /storage-files/:id operation on storage-file resource\n */\nexport const getAdminStorageFilesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminStorageFilesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminStorageFilesByIdResponses,\n    GetAdminStorageFilesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-files/{id}\",\n    ...options,\n  });\n\n/**\n * Update file metadata, tags, visibility, key, namespace, or status\n *\n * Update file metadata, tags, visibility, key, namespace, or status. Returns the updated file.\n */\nexport const patchAdminStorageFilesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminStorageFilesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminStorageFilesByIdResponses,\n    PatchAdminStorageFilesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-files/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Dedup-aware upload: returns existing document if file_hash matches, otherwise creates new document\n *\n * Dedup-aware upload: returns existing document if file_hash matches, otherwise creates new document\n */\nexport const postAdminExtractionDocumentsFindOrBeginUpload = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminExtractionDocumentsFindOrBeginUploadData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminExtractionDocumentsFindOrBeginUploadResponses,\n    PostAdminExtractionDocumentsFindOrBeginUploadErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/find-or-begin-upload\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Clinician rejects a draft or unreviewed goal\n *\n * Clinician rejects a draft or unreviewed goal. Sets review_status: :rejected and lifecycle status: :discontinued.\n */\nexport const patchAdminClinicalClientGoalsByIdReject = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalClientGoalsByIdRejectData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientGoalsByIdRejectResponses,\n    PatchAdminClinicalClientGoalsByIdRejectErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-goals/{id}/reject\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /workspace-preferences/:id operation on workspace-preference resource\n *\n * /workspace-preferences/:id operation on workspace-preference resource\n */\nexport const deleteAdminWorkspacePreferencesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminWorkspacePreferencesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminWorkspacePreferencesByIdResponses,\n    DeleteAdminWorkspacePreferencesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspace-preferences/{id}\",\n    ...options,\n  });\n\n/**\n * /llm-analytics/:id operation on llm-analytics resource\n *\n * /llm-analytics/:id operation on llm-analytics resource\n */\nexport const getAdminLlmAnalyticsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminLlmAnalyticsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLlmAnalyticsByIdResponses,\n    GetAdminLlmAnalyticsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/llm-analytics/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-templates/catalog/:id operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/catalog/:id operation on clinical-goal-template resource\n */\nexport const getAdminClinicalGoalTemplatesCatalogById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalGoalTemplatesCatalogByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalTemplatesCatalogByIdResponses,\n    GetAdminClinicalGoalTemplatesCatalogByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/catalog/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-templates/catalog/:id operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/catalog/:id operation on clinical-goal-template resource\n */\nexport const patchAdminClinicalGoalTemplatesCatalogById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalGoalTemplatesCatalogByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalGoalTemplatesCatalogByIdResponses,\n    PatchAdminClinicalGoalTemplatesCatalogByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/catalog/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/posts/campaign/:social_campaign_id operation on social-post resource\n *\n * /social/posts/campaign/:social_campaign_id operation on social-post resource\n */\nexport const getAdminSocialPostsCampaignBySocialCampaignId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSocialPostsCampaignBySocialCampaignIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialPostsCampaignBySocialCampaignIdResponses,\n    GetAdminSocialPostsCampaignBySocialCampaignIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/posts/campaign/{social_campaign_id}\",\n    ...options,\n  });\n\n/**\n * Remove a system field from this version's output_schema\n *\n * Remove a system field from this version's output_schema\n */\nexport const postAdminAgentVersionsByIdRemoveSystemField = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminAgentVersionsByIdRemoveSystemFieldData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentVersionsByIdRemoveSystemFieldResponses,\n    PostAdminAgentVersionsByIdRemoveSystemFieldErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-versions/{id}/remove-system-field\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all values for an option type ordered by position\n *\n * List all values for an option type ordered by position. Returns a paginated list.\n */\nexport const getAdminCatalogOptionValuesOptionTypeByOptionTypeId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogOptionValuesOptionTypeByOptionTypeIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogOptionValuesOptionTypeByOptionTypeIdResponses,\n    GetAdminCatalogOptionValuesOptionTypeByOptionTypeIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/option-values/option-type/{option_type_id}\",\n    ...options,\n  });\n\n/**\n * Define a custom field for a core CRM entity type (contact, company, deal, activity)\n *\n * Define a custom field for a core CRM entity type (contact, company, deal, activity).\n * Field values are stored in the entity's properties JSONB column. Name must be\n * lowercase alphanumeric (no underscore prefix) and unique per application+entity_type.\n *\n */\nexport const postAdminCrmFieldDefinitions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCrmFieldDefinitionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmFieldDefinitionsResponses,\n    PostAdminCrmFieldDefinitionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/field-definitions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get API keys with usage statistics for a tenant\n *\n * Get API keys with usage statistics for a tenant\n */\nexport const getAdminApiKeysStats = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminApiKeysStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminApiKeysStatsResponses,\n    GetAdminApiKeysStatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/api-keys/stats\",\n    ...options,\n  });\n\n/**\n * List all active event types for a workspace\n *\n * List all active event types for a workspace. Excludes archived types. Use :by_slug for public booking page resolution.\n */\nexport const getAdminSchedulingEventTypes = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingEventTypesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingEventTypesResponses,\n    GetAdminSchedulingEventTypesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/event-types\",\n    ...options,\n  });\n\n/**\n * Create an event type template for a workspace\n *\n * Create an event type template for a workspace. Sets slug (unique per workspace), duration,\n * buffer times, location, approval requirements, and intake form. Indexes in Meilisearch for\n * search. Returns the created EventType. Use :update to change it later — slug cannot be changed.\n *\n */\nexport const postAdminSchedulingEventTypes = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSchedulingEventTypesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSchedulingEventTypesResponses,\n    PostAdminSchedulingEventTypesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/event-types\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/supplement-templates/archived operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/archived operation on clinical-supplement-template resource\n */\nexport const getAdminClinicalSupplementTemplatesArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalSupplementTemplatesArchivedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSupplementTemplatesArchivedResponses,\n    GetAdminClinicalSupplementTemplatesArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/archived\",\n    ...options,\n  });\n\n/**\n * Create a ticket routing rule for an application\n *\n * Create a ticket routing rule for an application. Rules are evaluated top-down by priority (lower number = higher priority). conditions is a map of ticket attributes to match; action_params holds the rule's output (queue_id, priority_override, tag).\n */\nexport const postAdminSupportRoutingRules = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSupportRoutingRulesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSupportRoutingRulesResponses,\n    PostAdminSupportRoutingRulesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/routing-rules\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * AI-draft an email from a prompt and context map.\n *\n * AI-draft an email from a prompt and context map.\n */\nexport const postAdminEmailOutboundEmailsComposeWithAi = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminEmailOutboundEmailsComposeWithAiData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailOutboundEmailsComposeWithAiResponses,\n    PostAdminEmailOutboundEmailsComposeWithAiErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/outbound-emails/compose-with-ai\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /brand-identities/by-workspace/:workspace_id operation on brand-identity resource\n *\n * /brand-identities/by-workspace/:workspace_id operation on brand-identity resource\n */\nexport const getAdminBrandIdentitiesByWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminBrandIdentitiesByWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminBrandIdentitiesByWorkspaceByWorkspaceIdResponses,\n    GetAdminBrandIdentitiesByWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/brand-identities/by-workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-templates/catalog/:id/restore operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/catalog/:id/restore operation on clinical-supplement-template resource\n */\nexport const patchAdminClinicalSupplementTemplatesCatalogByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalSupplementTemplatesCatalogByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalSupplementTemplatesCatalogByIdRestoreResponses,\n    PatchAdminClinicalSupplementTemplatesCatalogByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/catalog/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/posts/workspace/:workspace_id operation on social-post resource\n *\n * /social/posts/workspace/:workspace_id operation on social-post resource\n */\nexport const getAdminSocialPostsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSocialPostsWorkspaceByWorkspaceIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialPostsWorkspaceByWorkspaceIdResponses,\n    GetAdminSocialPostsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/posts/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /claimed-domains operation on claimed-domain resource\n *\n * /claimed-domains operation on claimed-domain resource\n */\nexport const getAdminClaimedDomains = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminClaimedDomainsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClaimedDomainsResponses,\n    GetAdminClaimedDomainsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/claimed-domains\",\n    ...options,\n  });\n\n/**\n * /claimed-domains operation on claimed-domain resource\n *\n * /claimed-domains operation on claimed-domain resource\n */\nexport const postAdminClaimedDomains = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminClaimedDomainsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClaimedDomainsResponses,\n    PostAdminClaimedDomainsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/claimed-domains\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List current user's voice sessions\n *\n * List current user's voice sessions\n */\nexport const getAdminVoiceSessionsMine = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminVoiceSessionsMineData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceSessionsMineResponses,\n    GetAdminVoiceSessionsMineErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/sessions/mine\",\n    ...options,\n  });\n\n/**\n * /breach-incidents operation on breach-incident resource\n *\n * /breach-incidents operation on breach-incident resource\n */\nexport const getAdminBreachIncidents = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminBreachIncidentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBreachIncidentsResponses,\n    GetAdminBreachIncidentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/breach-incidents\",\n    ...options,\n  });\n\n/**\n * Report a new data breach or security incident\n *\n * Report a new data breach or security incident. Automatically calculates the 72-hour GDPR notification deadline from `discovery_date`. Returns the created incident with the computed deadline.\n */\nexport const postAdminBreachIncidents = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminBreachIncidentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminBreachIncidentsResponses,\n    PostAdminBreachIncidentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/breach-incidents\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch a single reminder by ID\n *\n * Fetch a single reminder by ID. Returns channel, status, scheduled_at, and recipient_participant_id.\n */\nexport const getAdminSchedulingRemindersById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingRemindersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingRemindersByIdResponses,\n    GetAdminSchedulingRemindersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/reminders/{id}\",\n    ...options,\n  });\n\n/**\n * Returns a workspace-scoped count summary:\n * %{open, sla_overdue, sla_within_24h, sla_within_7d}\n *\n * Returns a workspace-scoped count summary:\n * %{open, sla_overdue, sla_within_24h, sla_within_7d}.\n * All counts are filtered to is_open == true.\n *\n */\nexport const getAdminCasesAttentionSummary = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCasesAttentionSummaryData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCasesAttentionSummaryResponses,\n    GetAdminCasesAttentionSummaryErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cases/attention-summary\",\n    ...options,\n  });\n\n/**\n * Update the value, description, or sensitivity flag for an existing config entry; automatically invalidates the FetchConfig cache for the key\n *\n * Update the value, description, or sensitivity flag for an existing config entry; automatically invalidates the FetchConfig cache for the key. Returns the updated config.\n */\nexport const patchAdminConfigsByKey = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminConfigsByKeyData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminConfigsByKeyResponses,\n    PatchAdminConfigsByKeyErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/configs/{key}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all bookings made by a specific email address across the workspace\n *\n * List all bookings made by a specific email address across the workspace. Use to show a booker their booking history or check for cooldown violations.\n */\nexport const getAdminSchedulingBookingsByBooker = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingBookingsByBookerData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingBookingsByBookerResponses,\n    GetAdminSchedulingBookingsByBookerErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/bookings/by-booker\",\n    ...options,\n  });\n\n/**\n * /clinical/patients/:id operation on clinical-patient resource\n *\n * /clinical/patients/:id operation on clinical-patient resource\n */\nexport const deleteAdminClinicalPatientsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminClinicalPatientsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalPatientsByIdResponses,\n    DeleteAdminClinicalPatientsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patients/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/patients/:id operation on clinical-patient resource\n *\n * /clinical/patients/:id operation on clinical-patient resource\n */\nexport const getAdminClinicalPatientsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPatientsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPatientsByIdResponses,\n    GetAdminClinicalPatientsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patients/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/patients/:id operation on clinical-patient resource\n *\n * /clinical/patients/:id operation on clinical-patient resource\n */\nexport const patchAdminClinicalPatientsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalPatientsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPatientsByIdResponses,\n    PatchAdminClinicalPatientsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patients/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /isv-revenue operation on isv-revenue resource\n *\n * /isv-revenue operation on isv-revenue resource\n */\nexport const getAdminIsvRevenue = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminIsvRevenueData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminIsvRevenueResponses,\n    GetAdminIsvRevenueErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv-revenue\",\n    ...options,\n  });\n\n/**\n * /isv-revenue operation on isv-revenue resource\n *\n * /isv-revenue operation on isv-revenue resource\n */\nexport const postAdminIsvRevenue = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminIsvRevenueData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminIsvRevenueResponses,\n    PostAdminIsvRevenueErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv-revenue\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all plan feature allocations.\n *\n * List all plan feature allocations.\n */\nexport const getAdminPlanFeatureAllocations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPlanFeatureAllocationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPlanFeatureAllocationsResponses,\n    GetAdminPlanFeatureAllocationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plan-feature-allocations\",\n    ...options,\n  });\n\n/**\n * Create a plan-level override for a feature definition\n *\n * Create a plan-level override for a feature definition. Links a feature to a plan\n * with optional limit, credit cost, and activation cost overrides.\n *\n */\nexport const postAdminPlanFeatureAllocations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminPlanFeatureAllocationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPlanFeatureAllocationsResponses,\n    PostAdminPlanFeatureAllocationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plan-feature-allocations\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/templates/:id operation on invoices-template resource\n *\n * /invoices/templates/:id operation on invoices-template resource\n */\nexport const deleteAdminInvoicesTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminInvoicesTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminInvoicesTemplatesByIdResponses,\n    DeleteAdminInvoicesTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/templates/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/templates/:id operation on invoices-template resource\n *\n * /invoices/templates/:id operation on invoices-template resource\n */\nexport const getAdminInvoicesTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminInvoicesTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminInvoicesTemplatesByIdResponses,\n    GetAdminInvoicesTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/templates/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/templates/:id operation on invoices-template resource\n *\n * /invoices/templates/:id operation on invoices-template resource\n */\nexport const patchAdminInvoicesTemplatesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesTemplatesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesTemplatesByIdResponses,\n    PatchAdminInvoicesTemplatesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/templates/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get product details from Fullscript\n *\n * Get product details from Fullscript\n */\nexport const postAdminConnectorsFullscriptProductsGet = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminConnectorsFullscriptProductsGetData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsFullscriptProductsGetResponses,\n    PostAdminConnectorsFullscriptProductsGetErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/fullscript/products/get\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /extraction-workflows operation on extraction-workflow resource\n *\n * /extraction-workflows operation on extraction-workflow resource\n */\nexport const getAdminExtractionWorkflows = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionWorkflowsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionWorkflowsResponses,\n    GetAdminExtractionWorkflowsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction-workflows\",\n    ...options,\n  });\n\n/**\n * /extraction-workflows operation on extraction-workflow resource\n *\n * /extraction-workflows operation on extraction-workflow resource\n */\nexport const postAdminExtractionWorkflows = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminExtractionWorkflowsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminExtractionWorkflowsResponses,\n    PostAdminExtractionWorkflowsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction-workflows\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Submit human corrections to improve agent training\n *\n * Submit human corrections to improve agent training. Delegates to the registered training\n * handler (provided by the Extraction domain at boot via `RegistryCoordinator`). The handler\n * creates a `TrainingSession`, applies corrections to the `ExtractionResult` via\n * `:save_corrections`, and creates `TrainingExample` records for few-shot learning.\n *\n * Cannot be called on system agents (`is_system: true`). The `verify_remaining` flag (default\n * `true`) implicitly marks untouched fields as verified.\n *\n * Returns the agent struct with updated training metadata.\n *\n */\nexport const postAdminAgentsByIdTeach = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAgentsByIdTeachData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentsByIdTeachResponses,\n    PostAdminAgentsByIdTeachErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/teach\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/collections/:id operation on recipes-recipe-collection resource\n *\n * /recipes/collections/:id operation on recipes-recipe-collection resource\n */\nexport const deleteAdminRecipesCollectionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminRecipesCollectionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRecipesCollectionsByIdResponses,\n    DeleteAdminRecipesCollectionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/collections/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/collections/:id operation on recipes-recipe-collection resource\n *\n * /recipes/collections/:id operation on recipes-recipe-collection resource\n */\nexport const getAdminRecipesCollectionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesCollectionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesCollectionsByIdResponses,\n    GetAdminRecipesCollectionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/collections/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/collections/:id operation on recipes-recipe-collection resource\n *\n * /recipes/collections/:id operation on recipes-recipe-collection resource\n */\nexport const patchAdminRecipesCollectionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRecipesCollectionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesCollectionsByIdResponses,\n    PatchAdminRecipesCollectionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/collections/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Lightweight poll endpoint: fetches only `id`, `status`, `progress`, and `error_message` for\n * a single document\n *\n * Lightweight poll endpoint: fetches only `id`, `status`, `progress`, and `error_message` for\n * a single document. Use this to check processing progress without loading the full record.\n * For real-time updates, subscribe to the `extraction:document` PubSub topic instead.\n *\n */\nexport const getAdminExtractionDocumentsByIdStatus = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionDocumentsByIdStatusData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionDocumentsByIdStatusResponses,\n    GetAdminExtractionDocumentsByIdStatusErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}/status\",\n    ...options,\n  });\n\n/**\n * Internal-facing status update used by the web layer and API to set processing state\n *\n * Internal-facing status update used by the web layer and API to set processing state.\n * Accepts a broad set of fields including status, progress, classification results, and\n * agent tracking metadata. Broadcasts a document status update to the workspace WebSocket\n * channel after every change so connected clients receive live progress updates.\n *\n * Use `:report_progress` for worker-internal progress reporting (same fields, no broadcast).\n *\n */\nexport const patchAdminExtractionDocumentsByIdStatus = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminExtractionDocumentsByIdStatusData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionDocumentsByIdStatusResponses,\n    PatchAdminExtractionDocumentsByIdStatusErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}/status\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /reviews/:id/correct operation on review resource\n *\n * /reviews/:id/correct operation on review resource\n */\nexport const patchAdminReviewsByIdCorrect = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminReviewsByIdCorrectData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminReviewsByIdCorrectResponses,\n    PatchAdminReviewsByIdCorrectErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/reviews/{id}/correct\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List food items for an application\n *\n * List food items for an application\n */\nexport const getAdminRecipesFoodItemsApplicationByApplicationId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesFoodItemsApplicationByApplicationIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesFoodItemsApplicationByApplicationIdResponses,\n    GetAdminRecipesFoodItemsApplicationByApplicationIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/food-items/application/{application_id}\",\n    ...options,\n  });\n\n/**\n * /social/posts/:id/publish operation on social-post resource\n *\n * /social/posts/:id/publish operation on social-post resource\n */\nexport const patchAdminSocialPostsByIdPublish = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSocialPostsByIdPublishData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialPostsByIdPublishResponses,\n    PatchAdminSocialPostsByIdPublishErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/posts/{id}/publish\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/campaigns/:id/cancel operation on social-campaign resource\n *\n * /social/campaigns/:id/cancel operation on social-campaign resource\n */\nexport const patchAdminSocialCampaignsByIdCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSocialCampaignsByIdCancelData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialCampaignsByIdCancelResponses,\n    PatchAdminSocialCampaignsByIdCancelErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/campaigns/{id}/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all active availability rules for a workspace\n *\n * List all active availability rules for a workspace. Excludes deactivated rules. Use :list_by_user or :list_by_event_type to narrow by owner.\n */\nexport const getAdminSchedulingAvailabilityRules = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingAvailabilityRulesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingAvailabilityRulesResponses,\n    GetAdminSchedulingAvailabilityRulesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/availability-rules\",\n    ...options,\n  });\n\n/**\n * Create an availability rule for a user or event type\n *\n * Create an availability rule for a user or event type. Type :recurring defines weekly windows; type :override modifies a specific date. Use :set_weekly_hours/:add_date_override for AI tool access to this action.\n */\nexport const postAdminSchedulingAvailabilityRules = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSchedulingAvailabilityRulesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSchedulingAvailabilityRulesResponses,\n    PostAdminSchedulingAvailabilityRulesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/availability-rules\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/addresses operation on crm-address resource\n *\n * /crm/addresses operation on crm-address resource\n */\nexport const postAdminCrmAddresses = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrmAddressesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmAddressesResponses,\n    PostAdminCrmAddressesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/addresses\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /wholesale-agreements operation on wholesale-agreement resource\n *\n * /wholesale-agreements operation on wholesale-agreement resource\n */\nexport const getAdminWholesaleAgreements = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminWholesaleAgreementsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWholesaleAgreementsResponses,\n    GetAdminWholesaleAgreementsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wholesale-agreements\",\n    ...options,\n  });\n\n/**\n * /wholesale-agreements operation on wholesale-agreement resource\n *\n * /wholesale-agreements operation on wholesale-agreement resource\n */\nexport const postAdminWholesaleAgreements = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminWholesaleAgreementsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminWholesaleAgreementsResponses,\n    PostAdminWholesaleAgreementsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wholesale-agreements\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-goals/:id operation on clinical-client-goal resource\n *\n * /clinical/client-goals/:id operation on clinical-client-goal resource\n */\nexport const getAdminClinicalClientGoalsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalClientGoalsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalClientGoalsByIdResponses,\n    GetAdminClinicalClientGoalsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-goals/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/client-goals/:id operation on clinical-client-goal resource\n *\n * /clinical/client-goals/:id operation on clinical-client-goal resource\n */\nexport const patchAdminClinicalClientGoalsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalClientGoalsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientGoalsByIdResponses,\n    PatchAdminClinicalClientGoalsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-goals/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all active (non-deleted) products in a workspace\n *\n * List all active (non-deleted) products in a workspace. Use search for full-text or semantic filtering.\n */\nexport const getAdminCatalogProductsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogProductsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogProductsWorkspaceByWorkspaceIdResponses,\n    GetAdminCatalogProductsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/products/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Get all features with their plan allocations and current usage\n *\n * Get all features with their plan allocations and current usage\n */\nexport const getAdminWalletFeatures = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminWalletFeaturesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminWalletFeaturesResponses,\n    GetAdminWalletFeaturesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/features\",\n    ...options,\n  });\n\n/**\n * /clinical/client-goals/from-template operation on clinical-client-goal resource\n *\n * /clinical/client-goals/from-template operation on clinical-client-goal resource\n */\nexport const postAdminClinicalClientGoalsFromTemplate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalClientGoalsFromTemplateData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalClientGoalsFromTemplateResponses,\n    PostAdminClinicalClientGoalsFromTemplateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-goals/from-template\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/trending/history/:id operation on trending-snapshot resource\n *\n * /social/trending/history/:id operation on trending-snapshot resource\n */\nexport const deleteAdminSocialTrendingHistoryById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSocialTrendingHistoryByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSocialTrendingHistoryByIdResponses,\n    DeleteAdminSocialTrendingHistoryByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/trending/history/{id}\",\n    ...options,\n  });\n\n/**\n * /social/trending/history/:id operation on trending-snapshot resource\n *\n * /social/trending/history/:id operation on trending-snapshot resource\n */\nexport const getAdminSocialTrendingHistoryById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSocialTrendingHistoryByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialTrendingHistoryByIdResponses,\n    GetAdminSocialTrendingHistoryByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/trending/history/{id}\",\n    ...options,\n  });\n\n/**\n * /portal-change-requests/:id/reject operation on portal-change-request resource\n *\n * /portal-change-requests/:id/reject operation on portal-change-request resource\n */\nexport const patchAdminPortalChangeRequestsByIdReject = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPortalChangeRequestsByIdRejectData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPortalChangeRequestsByIdRejectResponses,\n    PatchAdminPortalChangeRequestsByIdRejectErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/portal-change-requests/{id}/reject\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/pipeline-stages/:id operation on crm-pipeline-stage resource\n *\n * /crm/pipeline-stages/:id operation on crm-pipeline-stage resource\n */\nexport const deleteAdminCrmPipelineStagesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmPipelineStagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmPipelineStagesByIdResponses,\n    DeleteAdminCrmPipelineStagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/pipeline-stages/{id}\",\n    ...options,\n  });\n\n/**\n * /crm/pipeline-stages/:id operation on crm-pipeline-stage resource\n *\n * /crm/pipeline-stages/:id operation on crm-pipeline-stage resource\n */\nexport const getAdminCrmPipelineStagesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrmPipelineStagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmPipelineStagesByIdResponses,\n    GetAdminCrmPipelineStagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/pipeline-stages/{id}\",\n    ...options,\n  });\n\n/**\n * Update a pipeline stage's name, order, probability, or closed flag\n *\n * Update a pipeline stage's name, order, probability, or closed flag. Re-ordering requires ensuring uniqueness across sibling stages.\n */\nexport const patchAdminCrmPipelineStagesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmPipelineStagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmPipelineStagesByIdResponses,\n    PatchAdminCrmPipelineStagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/pipeline-stages/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/inbound-addresses/:id/disable operation on email-inbound-address resource\n *\n * /email/inbound-addresses/:id/disable operation on email-inbound-address resource\n */\nexport const patchAdminEmailInboundAddressesByIdDisable = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailInboundAddressesByIdDisableData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailInboundAddressesByIdDisableResponses,\n    PatchAdminEmailInboundAddressesByIdDisableErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inbound-addresses/{id}/disable\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/goal-associations operation on clinical-goal-association resource\n *\n * /clinical/goal-associations operation on clinical-goal-association resource\n */\nexport const getAdminClinicalGoalAssociations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalGoalAssociationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalAssociationsResponses,\n    GetAdminClinicalGoalAssociationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-associations\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-associations operation on clinical-goal-association resource\n *\n * /clinical/goal-associations operation on clinical-goal-association resource\n */\nexport const postAdminClinicalGoalAssociations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalGoalAssociationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalGoalAssociationsResponses,\n    PostAdminClinicalGoalAssociationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-associations\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-resources/archived operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/archived operation on clinical-practice-resource resource\n */\nexport const getAdminClinicalPracticeResourcesArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPracticeResourcesArchivedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeResourcesArchivedResponses,\n    GetAdminClinicalPracticeResourcesArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/archived\",\n    ...options,\n  });\n\n/**\n * /meetings operation on meeting resource\n *\n * /meetings operation on meeting resource\n */\nexport const getAdminMeetings = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminMeetingsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminMeetingsResponses,\n    GetAdminMeetingsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/meetings\",\n    ...options,\n  });\n\n/**\n * /meetings operation on meeting resource\n *\n * /meetings operation on meeting resource\n */\nexport const postAdminMeetings = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminMeetingsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminMeetingsResponses,\n    PostAdminMeetingsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/meetings\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Generate a 2-3 sentence LLM summary of the thread's message history and persist it as `context_summary`\n *\n * Generate a 2-3 sentence LLM summary of the thread's message history and persist it as `context_summary`. Returns the updated Thread. If LLM fails, returns the thread unchanged without erroring.\n */\nexport const postAdminThreadsByIdSummarize = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminThreadsByIdSummarizeData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminThreadsByIdSummarizeResponses,\n    PostAdminThreadsByIdSummarizeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/{id}/summarize\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Record a decision on the Case\n *\n * Record a decision on the Case. Transitions state to `\"decided\"` and stamps\n * `decided_at`. If the matched `DecisionOutcome` has `is_terminal: true`,\n * `CascadeCloseOnTerminalDecision` cascades to `:close` inside the same\n * transaction — final state ends as `\"closed\"` with both `decided_at` and\n * `closed_at` populated. Terminal outcomes therefore require the CaseType's\n * state machine to permit a `decided → closed` transition, and its states\n * list to include `\"closed\"`.\n *\n */\nexport const patchAdminCasesByIdDecide = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminCasesByIdDecideData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCasesByIdDecideResponses,\n    PatchAdminCasesByIdDecideErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cases/{id}/decide\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create or update the AI configuration for a workspace (upsert — one config per workspace)\n *\n * Create or update the AI configuration for a workspace (upsert — one config per workspace). Controls auto_classify, auto_draft, model selection, confidence_threshold, and CRM contact auto-creation. When no config exists, defaults apply: both enabled, threshold 0.7.\n */\nexport const postAdminSupportAiConfigs = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSupportAiConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSupportAiConfigsResponses,\n    PostAdminSupportAiConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/ai-configs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /extraction/chunk-entity-links operation on chunk-entity-link resource\n *\n * /extraction/chunk-entity-links operation on chunk-entity-link resource\n */\nexport const getAdminExtractionChunkEntityLinks = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionChunkEntityLinksData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionChunkEntityLinksResponses,\n    GetAdminExtractionChunkEntityLinksErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/chunk-entity-links\",\n    ...options,\n  });\n\n/**\n * Update a schema version without creating a new version\n *\n * Update a schema version without creating a new version\n */\nexport const patchAdminAgentsByIdSchemaVersionsByVersionId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminAgentsByIdSchemaVersionsByVersionIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAgentsByIdSchemaVersionsByVersionIdResponses,\n    PatchAdminAgentsByIdSchemaVersionsByVersionIdErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/schema-versions/{version_id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Record that a document has been used for agent training\n *\n * Record that a document has been used for agent training. Sets `training_metadata[\"trained_at\"]`\n * and `training_metadata[\"trained_by_user_id\"]` and clears any prior `dismissed_at` so the\n * document reappears in the `:list_trained` view.\n *\n * Use this to manually mark a document as trained when the automatic training flow (via\n * `save_corrections`) was not used.\n *\n */\nexport const patchAdminExtractionDocumentsByIdMarkTrained = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminExtractionDocumentsByIdMarkTrainedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionDocumentsByIdMarkTrainedResponses,\n    PatchAdminExtractionDocumentsByIdMarkTrainedErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}/mark-trained\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/campaigns/:id operation on social-campaign resource\n *\n * /social/campaigns/:id operation on social-campaign resource\n */\nexport const deleteAdminSocialCampaignsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSocialCampaignsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSocialCampaignsByIdResponses,\n    DeleteAdminSocialCampaignsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/campaigns/{id}\",\n    ...options,\n  });\n\n/**\n * /social/campaigns/:id operation on social-campaign resource\n *\n * /social/campaigns/:id operation on social-campaign resource\n */\nexport const getAdminSocialCampaignsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSocialCampaignsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialCampaignsByIdResponses,\n    GetAdminSocialCampaignsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/campaigns/{id}\",\n    ...options,\n  });\n\n/**\n * /social/campaigns/:id operation on social-campaign resource\n *\n * /social/campaigns/:id operation on social-campaign resource\n */\nexport const patchAdminSocialCampaignsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSocialCampaignsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialCampaignsByIdResponses,\n    PatchAdminSocialCampaignsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/campaigns/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List template collections for a workspace\n *\n * List template collections for a workspace\n */\nexport const getAdminClinicalGoalTemplateCollections = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalGoalTemplateCollectionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalTemplateCollectionsResponses,\n    GetAdminClinicalGoalTemplateCollectionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-template-collections\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-template-collections operation on clinical-goal-template-collection resource\n *\n * /clinical/goal-template-collections operation on clinical-goal-template-collection resource\n */\nexport const postAdminClinicalGoalTemplateCollections = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalGoalTemplateCollectionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalGoalTemplateCollectionsResponses,\n    PostAdminClinicalGoalTemplateCollectionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-template-collections\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /voice/recordings/:id operation on voice-recording resource\n *\n * /voice/recordings/:id operation on voice-recording resource\n */\nexport const getAdminVoiceRecordingsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminVoiceRecordingsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceRecordingsByIdResponses,\n    GetAdminVoiceRecordingsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/recordings/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/:id/apply-ai-suggestions operation on invoices-invoice resource\n *\n * /invoices/:id/apply-ai-suggestions operation on invoices-invoice resource\n */\nexport const patchAdminInvoicesByIdApplyAiSuggestions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesByIdApplyAiSuggestionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesByIdApplyAiSuggestionsResponses,\n    PatchAdminInvoicesByIdApplyAiSuggestionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}/apply-ai-suggestions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/generated-emails/:id/approve operation on email-marketing-generated-email resource\n *\n * /email-marketing/generated-emails/:id/approve operation on email-marketing-generated-email resource\n */\nexport const patchAdminEmailMarketingGeneratedEmailsByIdApprove = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailMarketingGeneratedEmailsByIdApproveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingGeneratedEmailsByIdApproveResponses,\n    PatchAdminEmailMarketingGeneratedEmailsByIdApproveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/generated-emails/{id}/approve\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/meal-plans/:id/archive operation on clinical-meal-plan resource\n *\n * /clinical/meal-plans/:id/archive operation on clinical-meal-plan resource\n */\nexport const patchAdminClinicalMealPlansByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalMealPlansByIdArchiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalMealPlansByIdArchiveResponses,\n    PatchAdminClinicalMealPlansByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/meal-plans/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /policy-review-schedules/:id/mark-overdue operation on policy-review-schedule resource\n *\n * /policy-review-schedules/:id/mark-overdue operation on policy-review-schedule resource\n */\nexport const patchAdminPolicyReviewSchedulesByIdMarkOverdue = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminPolicyReviewSchedulesByIdMarkOverdueData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPolicyReviewSchedulesByIdMarkOverdueResponses,\n    PatchAdminPolicyReviewSchedulesByIdMarkOverdueErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/policy-review-schedules/{id}/mark-overdue\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Soft-delete a taxonomy by setting deleted_at; cascades to exclude nodes from future reads\n *\n * Soft-delete a taxonomy by setting deleted_at; cascades to exclude nodes from future reads. Irreversible via API.\n */\nexport const deleteAdminCatalogTaxonomiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCatalogTaxonomiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCatalogTaxonomiesByIdResponses,\n    DeleteAdminCatalogTaxonomiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/taxonomies/{id}\",\n    ...options,\n  });\n\n/**\n * /catalog/taxonomies/:id operation on catalog-taxonomy resource\n *\n * /catalog/taxonomies/:id operation on catalog-taxonomy resource\n */\nexport const getAdminCatalogTaxonomiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCatalogTaxonomiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogTaxonomiesByIdResponses,\n    GetAdminCatalogTaxonomiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/taxonomies/{id}\",\n    ...options,\n  });\n\n/**\n * Update taxonomy metadata (name, slug, hierarchy settings)\n *\n * Update taxonomy metadata (name, slug, hierarchy settings). Returns the updated taxonomy.\n */\nexport const patchAdminCatalogTaxonomiesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCatalogTaxonomiesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogTaxonomiesByIdResponses,\n    PatchAdminCatalogTaxonomiesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/taxonomies/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Cancel a subscription\n *\n * Cancel a subscription.\n *\n * - `immediate: true` (default) — cancels immediately, sets status to `:canceled`\n * - `immediate: false` — schedules cancellation at period end, sets status to `:pending_cancellation`\n *\n * The renewal worker processes `:pending_cancellation` at `current_period_end`\n * and transitions the subscription to `:canceled`.\n *\n */\nexport const patchAdminSubscriptionsByIdCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSubscriptionsByIdCancelData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSubscriptionsByIdCancelResponses,\n    PatchAdminSubscriptionsByIdCancelErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/subscriptions/{id}/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Owner-only action to update tenant branding\n *\n * Owner-only action to update tenant branding\n */\nexport const patchAdminTenantsByIdBranding = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminTenantsByIdBrandingData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTenantsByIdBrandingResponses,\n    PatchAdminTenantsByIdBrandingErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}/branding\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Revoke an API key, setting its status to :revoked and recording the revocation\n * timestamp\n *\n * Revoke an API key, setting its status to :revoked and recording the revocation\n * timestamp. Triggers smart credit reclaim: any unspent credits allocated to this\n * key are returned to the App Treasury or Tenant Wallet. Invalidates the Redis\n * auth cache. Revoked keys cannot be re-activated; rotate to issue a replacement.\n *\n */\nexport const patchAdminApiKeysByIdRevoke = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminApiKeysByIdRevokeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminApiKeysByIdRevokeResponses,\n    PatchAdminApiKeysByIdRevokeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/api-keys/{id}/revoke\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Transition extraction_status (used by worker and admin).\n *\n * Transition extraction_status (used by worker and admin).\n */\nexport const patchAdminClinicalDocumentsByIdTransitionStatus = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalDocumentsByIdTransitionStatusData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalDocumentsByIdTransitionStatusResponses,\n    PatchAdminClinicalDocumentsByIdTransitionStatusErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/documents/{id}/transition-status\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-resources/catalog/:id operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/catalog/:id operation on clinical-practice-resource resource\n */\nexport const getAdminClinicalPracticeResourcesCatalogById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalPracticeResourcesCatalogByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeResourcesCatalogByIdResponses,\n    GetAdminClinicalPracticeResourcesCatalogByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/catalog/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-resources/catalog/:id operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/catalog/:id operation on clinical-practice-resource resource\n */\nexport const patchAdminClinicalPracticeResourcesCatalogById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalPracticeResourcesCatalogByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPracticeResourcesCatalogByIdResponses,\n    PatchAdminClinicalPracticeResourcesCatalogByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/catalog/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/notes operation on clinical-note resource\n *\n * /clinical/notes operation on clinical-note resource\n */\nexport const getAdminClinicalNotes = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminClinicalNotesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNotesResponses,\n    GetAdminClinicalNotesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes\",\n    ...options,\n  });\n\n/**\n * /clinical/notes operation on clinical-note resource\n *\n * /clinical/notes operation on clinical-note resource\n */\nexport const postAdminClinicalNotes = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminClinicalNotesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalNotesResponses,\n    PostAdminClinicalNotesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /review-queue-memberships/:id operation on review-queue-membership resource\n *\n * /review-queue-memberships/:id operation on review-queue-membership resource\n */\nexport const deleteAdminReviewQueueMembershipsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminReviewQueueMembershipsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminReviewQueueMembershipsByIdResponses,\n    DeleteAdminReviewQueueMembershipsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/review-queue-memberships/{id}\",\n    ...options,\n  });\n\n/**\n * /review-queue-memberships/:id operation on review-queue-membership resource\n *\n * /review-queue-memberships/:id operation on review-queue-membership resource\n */\nexport const getAdminReviewQueueMembershipsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminReviewQueueMembershipsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminReviewQueueMembershipsByIdResponses,\n    GetAdminReviewQueueMembershipsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/review-queue-memberships/{id}\",\n    ...options,\n  });\n\n/**\n * /campaigns/sequence-steps/:id operation on email-marketing-sequence-step resource\n *\n * /campaigns/sequence-steps/:id operation on email-marketing-sequence-step resource\n */\nexport const deleteAdminCampaignsSequenceStepsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCampaignsSequenceStepsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCampaignsSequenceStepsByIdResponses,\n    DeleteAdminCampaignsSequenceStepsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequence-steps/{id}\",\n    ...options,\n  });\n\n/**\n * /campaigns/sequence-steps/:id operation on email-marketing-sequence-step resource\n *\n * /campaigns/sequence-steps/:id operation on email-marketing-sequence-step resource\n */\nexport const getAdminCampaignsSequenceStepsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCampaignsSequenceStepsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCampaignsSequenceStepsByIdResponses,\n    GetAdminCampaignsSequenceStepsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequence-steps/{id}\",\n    ...options,\n  });\n\n/**\n * /campaigns/sequence-steps/:id operation on email-marketing-sequence-step resource\n *\n * /campaigns/sequence-steps/:id operation on email-marketing-sequence-step resource\n */\nexport const patchAdminCampaignsSequenceStepsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCampaignsSequenceStepsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCampaignsSequenceStepsByIdResponses,\n    PatchAdminCampaignsSequenceStepsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/campaigns/sequence-steps/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Find all Entity vertices with an exact label match; use to look up a specific named entity in the knowledge graph.\n *\n * Find all Entity vertices with an exact label match; use to look up a specific named entity in the knowledge graph.\n */\nexport const getAdminAiGraphNodesLabelByLabel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAiGraphNodesLabelByLabelData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAiGraphNodesLabelByLabelResponses,\n    GetAdminAiGraphNodesLabelByLabelErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/graph/nodes/label/{label}\",\n    ...options,\n  });\n\n/**\n * /clinical/patients/:id/goals operation on clinical-client-goal resource\n *\n * /clinical/patients/:id/goals operation on clinical-client-goal resource\n */\nexport const getAdminClinicalPatientsByIdGoals = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPatientsByIdGoalsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPatientsByIdGoalsResponses,\n    GetAdminClinicalPatientsByIdGoalsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patients/{id}/goals\",\n    ...options,\n  });\n\n/**\n * /recipes/:id/restore operation on recipes-recipe resource\n *\n * /recipes/:id/restore operation on recipes-recipe resource\n */\nexport const patchAdminRecipesByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminRecipesByIdRestoreData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesByIdRestoreResponses,\n    PatchAdminRecipesByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/news-monitors/:id/pause operation on news-monitor resource\n *\n * /crawler/news-monitors/:id/pause operation on news-monitor resource\n */\nexport const patchAdminCrawlerNewsMonitorsByIdPause = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrawlerNewsMonitorsByIdPauseData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrawlerNewsMonitorsByIdPauseResponses,\n    PatchAdminCrawlerNewsMonitorsByIdPauseErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/news-monitors/{id}/pause\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /sys/ai-config operation on ai-config resource\n *\n * /sys/ai-config operation on ai-config resource\n */\nexport const getAdminSysAiConfig = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSysAiConfigData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSysAiConfigResponses,\n    GetAdminSysAiConfigErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/sys/ai-config\",\n    ...options,\n  });\n\n/**\n * Upsert a provider config record; if a record with the same id already exists, its fields are updated\n *\n * Upsert a provider config record; if a record with the same id already exists, its fields are updated. Use id='global' for platform defaults or id='app:<application_id>' for per-application overrides.\n */\nexport const postAdminSysAiConfig = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSysAiConfigData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSysAiConfigResponses,\n    PostAdminSysAiConfigErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/sys/ai-config\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /ledger operation on ledger resource\n *\n * /ledger operation on ledger resource\n */\nexport const getAdminLedger = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminLedgerData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLedgerResponses,\n    GetAdminLedgerErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ledger\",\n    ...options,\n  });\n\n/**\n * Get the current user's profile\n *\n * Get the current user's profile\n */\nexport const getAdminUserProfilesMe = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUserProfilesMeData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUserProfilesMeResponses,\n    GetAdminUserProfilesMeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/user-profiles/me\",\n    ...options,\n  });\n\n/**\n * /invoices/payments operation on invoices-payment resource\n *\n * /invoices/payments operation on invoices-payment resource\n */\nexport const postAdminInvoicesPayments = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminInvoicesPaymentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminInvoicesPaymentsResponses,\n    PostAdminInvoicesPaymentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/payments\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/contacts/workspace/:workspace_id operation on invoices-contact resource\n *\n * /invoices/contacts/workspace/:workspace_id operation on invoices-contact resource\n */\nexport const getAdminInvoicesContactsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminInvoicesContactsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminInvoicesContactsWorkspaceByWorkspaceIdResponses,\n    GetAdminInvoicesContactsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/contacts/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /form-generations operation on form-generation-job resource\n *\n * /form-generations operation on form-generation-job resource\n */\nexport const getAdminFormGenerations = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminFormGenerationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFormGenerationsResponses,\n    GetAdminFormGenerationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-generations\",\n    ...options,\n  });\n\n/**\n * /form-generations operation on form-generation-job resource\n *\n * /form-generations operation on form-generation-job resource\n */\nexport const postAdminFormGenerations = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminFormGenerationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminFormGenerationsResponses,\n    PostAdminFormGenerationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-generations\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List active taxonomies for an application\n *\n * List active taxonomies for an application. Returns a paginated list of classification axes.\n */\nexport const getAdminCatalogTaxonomiesApplicationByApplicationId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogTaxonomiesApplicationByApplicationIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogTaxonomiesApplicationByApplicationIdResponses,\n    GetAdminCatalogTaxonomiesApplicationByApplicationIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/taxonomies/application/{application_id}\",\n    ...options,\n  });\n\n/**\n * /system-messages operation on system-message resource\n *\n * /system-messages operation on system-message resource\n */\nexport const getAdminSystemMessages = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSystemMessagesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSystemMessagesResponses,\n    GetAdminSystemMessagesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/system-messages\",\n    ...options,\n  });\n\n/**\n * Create a new platform-wide system message (ToS, privacy policy, welcome, or announcement)\n *\n * Create a new platform-wide system message (ToS, privacy policy, welcome, or announcement). If `is_active` is true at creation time, `published_at` is automatically set. Only platform admins can successfully create records; all other actors are denied by policy.\n */\nexport const postAdminSystemMessages = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSystemMessagesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSystemMessagesResponses,\n    PostAdminSystemMessagesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/system-messages\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/:id operation on invoices-invoice resource\n *\n * /invoices/:id operation on invoices-invoice resource\n */\nexport const deleteAdminInvoicesById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminInvoicesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminInvoicesByIdResponses,\n    DeleteAdminInvoicesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/:id operation on invoices-invoice resource\n *\n * /invoices/:id operation on invoices-invoice resource\n */\nexport const getAdminInvoicesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminInvoicesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminInvoicesByIdResponses,\n    GetAdminInvoicesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/:id operation on invoices-invoice resource\n *\n * /invoices/:id operation on invoices-invoice resource\n */\nexport const patchAdminInvoicesById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminInvoicesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesByIdResponses,\n    PatchAdminInvoicesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/inbound-addresses/workspace/:workspace_id operation on email-inbound-address resource\n *\n * /email/inbound-addresses/workspace/:workspace_id operation on email-inbound-address resource\n */\nexport const getAdminEmailInboundAddressesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailInboundAddressesWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailInboundAddressesWorkspaceByWorkspaceIdResponses,\n    GetAdminEmailInboundAddressesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inbound-addresses/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Unlink an OAuth provider from a user\n *\n * Unlink an OAuth provider from a user. Destroys all\n * `GptCore.Identity.UserIdentity` rows matching (user_id, strategy). Emits\n * `identity.oauth.unlinked` only if the row destroy succeeded.\n *\n */\nexport const patchAdminUsersAuthOauthUnlink = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminUsersAuthOauthUnlinkData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminUsersAuthOauthUnlinkResponses,\n    PatchAdminUsersAuthOauthUnlinkErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/auth/oauth/unlink\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /disclosure-logs operation on disclosure-log resource\n *\n * /disclosure-logs operation on disclosure-log resource\n */\nexport const getAdminDisclosureLogs = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminDisclosureLogsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminDisclosureLogsResponses,\n    GetAdminDisclosureLogsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/disclosure-logs\",\n    ...options,\n  });\n\n/**\n * /disclosure-logs operation on disclosure-log resource\n *\n * /disclosure-logs operation on disclosure-log resource\n */\nexport const postAdminDisclosureLogs = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminDisclosureLogsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminDisclosureLogsResponses,\n    PostAdminDisclosureLogsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/disclosure-logs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/intake-targets/:id/permanent operation on clinical-intake-target resource\n *\n * /clinical/intake-targets/:id/permanent operation on clinical-intake-target resource\n */\nexport const deleteAdminClinicalIntakeTargetsByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalIntakeTargetsByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalIntakeTargetsByIdPermanentResponses,\n    DeleteAdminClinicalIntakeTargetsByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/intake-targets/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * Add a message to a ticket thread\n *\n * Add a message to a ticket thread. sender_type distinguishes :customer, :agent, :ai (AI draft), and :system (automated) messages. is_internal_note: true creates an agent-only note not shown to the customer. Publishes MessageReceived event — triggers DraftReplyWorker for :customer messages in human_first queues.\n */\nexport const postAdminSupportTicketMessages = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSupportTicketMessagesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSupportTicketMessagesResponses,\n    PostAdminSupportTicketMessagesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/ticket-messages\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/phone-numbers/:id operation on crm-phone-number resource\n *\n * /crm/phone-numbers/:id operation on crm-phone-number resource\n */\nexport const deleteAdminCrmPhoneNumbersById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmPhoneNumbersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmPhoneNumbersByIdResponses,\n    DeleteAdminCrmPhoneNumbersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/phone-numbers/{id}\",\n    ...options,\n  });\n\n/**\n * /crm/phone-numbers/:id operation on crm-phone-number resource\n *\n * /crm/phone-numbers/:id operation on crm-phone-number resource\n */\nexport const getAdminCrmPhoneNumbersById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrmPhoneNumbersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmPhoneNumbersByIdResponses,\n    GetAdminCrmPhoneNumbersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/phone-numbers/{id}\",\n    ...options,\n  });\n\n/**\n * /crm/phone-numbers/:id operation on crm-phone-number resource\n *\n * /crm/phone-numbers/:id operation on crm-phone-number resource\n */\nexport const patchAdminCrmPhoneNumbersById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmPhoneNumbersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmPhoneNumbersByIdResponses,\n    PatchAdminCrmPhoneNumbersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/phone-numbers/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Reopen a decided case back to under_review.\n *\n * Reopen a decided case back to under_review.\n */\nexport const patchAdminCasesByIdReopen = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminCasesByIdReopenData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCasesByIdReopenResponses,\n    PatchAdminCasesByIdReopenErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cases/{id}/reopen\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List or fetch buckets; excludes processing-type buckets by default\n *\n * List or fetch buckets; excludes processing-type buckets by default. Use read_all to include system buckets.\n */\nexport const getAdminBuckets = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminBucketsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBucketsResponses,\n    GetAdminBucketsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/buckets\",\n    ...options,\n  });\n\n/**\n * Create a bucket record and provision it in object storage (GCS in prod, MinIO in dev); sets lifecycle rules and public policy if type is :public\n *\n * Create a bucket record and provision it in object storage (GCS in prod, MinIO in dev); sets lifecycle rules and public policy if type is :public. Returns the created bucket.\n */\nexport const postAdminBuckets = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminBucketsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminBucketsResponses,\n    PostAdminBucketsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/buckets\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /form-versions/:id/propose-rule operation on form-version resource\n *\n * /form-versions/:id/propose-rule operation on form-version resource\n */\nexport const postAdminFormVersionsByIdProposeRule = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminFormVersionsByIdProposeRuleData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminFormVersionsByIdProposeRuleResponses,\n    PostAdminFormVersionsByIdProposeRuleErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-versions/{id}/propose-rule\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /data-subject-requests/:id operation on data-subject-request resource\n *\n * /data-subject-requests/:id operation on data-subject-request resource\n */\nexport const getAdminDataSubjectRequestsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminDataSubjectRequestsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminDataSubjectRequestsByIdResponses,\n    GetAdminDataSubjectRequestsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/data-subject-requests/{id}\",\n    ...options,\n  });\n\n/**\n * Check Meilisearch server health, returning status and latency\n *\n * Check Meilisearch server health, returning status and latency. Use this for monitoring and readiness checks; returns `{status: 'available', latency_ms: N}` on success.\n */\nexport const getAdminSearchHealth = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSearchHealthData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSearchHealthResponses,\n    GetAdminSearchHealthErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/health\",\n    ...options,\n  });\n\n/**\n * /data-transfer-records operation on data-transfer-record resource\n *\n * /data-transfer-records operation on data-transfer-record resource\n */\nexport const getAdminDataTransferRecords = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminDataTransferRecordsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminDataTransferRecordsResponses,\n    GetAdminDataTransferRecordsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/data-transfer-records\",\n    ...options,\n  });\n\n/**\n * Log a cross-border personal data transfer per GDPR Chapter V, specifying the source and destination ISO country codes, the legal transfer mechanism (SCC, BCR, adequacy decision, derogation, or consent), and the data categories involved.\n *\n * Log a cross-border personal data transfer per GDPR Chapter V, specifying the source and destination ISO country codes, the legal transfer mechanism (SCC, BCR, adequacy decision, derogation, or consent), and the data categories involved.\n */\nexport const postAdminDataTransferRecords = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminDataTransferRecordsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminDataTransferRecordsResponses,\n    PostAdminDataTransferRecordsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/data-transfer-records\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-resource-assignments/:id/archive operation on clinical-client-resource-assignment resource\n *\n * /clinical/client-resource-assignments/:id/archive operation on clinical-client-resource-assignment resource\n */\nexport const patchAdminClinicalClientResourceAssignmentsByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalClientResourceAssignmentsByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientResourceAssignmentsByIdArchiveResponses,\n    PatchAdminClinicalClientResourceAssignmentsByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-resource-assignments/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /invoices/:id/void operation on invoices-invoice resource\n *\n * /invoices/:id/void operation on invoices-invoice resource\n */\nexport const patchAdminInvoicesByIdVoid = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesByIdVoidData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesByIdVoidResponses,\n    PatchAdminInvoicesByIdVoidErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/{id}/void\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all routing rules for an application, sorted by priority ascending (lower first)\n *\n * List all routing rules for an application, sorted by priority ascending (lower first). Use to display and manage the routing rule evaluation order.\n */\nexport const getAdminSupportRoutingRulesApplicationByApplicationId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSupportRoutingRulesApplicationByApplicationIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportRoutingRulesApplicationByApplicationIdResponses,\n    GetAdminSupportRoutingRulesApplicationByApplicationIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/routing-rules/application/{application_id}\",\n    ...options,\n  });\n\n/**\n * Search the Fullscript product catalog\n *\n * Search the Fullscript product catalog\n */\nexport const postAdminConnectorsFullscriptProductsSearch = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsFullscriptProductsSearchData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsFullscriptProductsSearchResponses,\n    PostAdminConnectorsFullscriptProductsSearchErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/fullscript/products/search\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Stateless MJML → HTML compilation\n *\n * Stateless MJML → HTML compilation. Does not save. Returns %{html, variables, errors}.\n */\nexport const postAdminEmailMarketingTemplatesCompile = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminEmailMarketingTemplatesCompileData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailMarketingTemplatesCompileResponses,\n    PostAdminEmailMarketingTemplatesCompileErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/templates/compile\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Preview adapted copy per platform without creating SocialPost records.\n *\n * Preview adapted copy per platform without creating SocialPost records.\n */\nexport const postAdminSocialCampaignsByIdPreviewAdaptations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminSocialCampaignsByIdPreviewAdaptationsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminSocialCampaignsByIdPreviewAdaptationsResponses,\n    PostAdminSocialCampaignsByIdPreviewAdaptationsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/campaigns/{id}/preview-adaptations\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/notes/archived operation on clinical-note resource\n *\n * /clinical/notes/archived operation on clinical-note resource\n */\nexport const getAdminClinicalNotesArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalNotesArchivedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNotesArchivedResponses,\n    GetAdminClinicalNotesArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes/archived\",\n    ...options,\n  });\n\n/**\n * /case-entity-links operation on case-entity-link resource\n *\n * /case-entity-links operation on case-entity-link resource\n */\nexport const getAdminCaseEntityLinks = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCaseEntityLinksData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCaseEntityLinksResponses,\n    GetAdminCaseEntityLinksErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-entity-links\",\n    ...options,\n  });\n\n/**\n * /case-entity-links operation on case-entity-link resource\n *\n * /case-entity-links operation on case-entity-link resource\n */\nexport const postAdminCaseEntityLinks = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCaseEntityLinksData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCaseEntityLinksResponses,\n    PostAdminCaseEntityLinksErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-entity-links\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-tools/catalog operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/catalog operation on clinical-practice-tool resource\n */\nexport const getAdminClinicalPracticeToolsCatalog = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPracticeToolsCatalogData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeToolsCatalogResponses,\n    GetAdminClinicalPracticeToolsCatalogErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/catalog\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-tools/catalog operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/catalog operation on clinical-practice-tool resource\n */\nexport const postAdminClinicalPracticeToolsCatalog = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalPracticeToolsCatalogData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalPracticeToolsCatalogResponses,\n    PostAdminClinicalPracticeToolsCatalogErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/catalog\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Assign a case owner.\n *\n * Assign a case owner.\n */\nexport const patchAdminCasesByIdAssignOwner = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCasesByIdAssignOwnerData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCasesByIdAssignOwnerResponses,\n    PatchAdminCasesByIdAssignOwnerErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cases/{id}/assign-owner\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get order details from Fullscript\n *\n * Get order details from Fullscript\n */\nexport const postAdminConnectorsFullscriptOrdersGet = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminConnectorsFullscriptOrdersGetData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsFullscriptOrdersGetResponses,\n    PostAdminConnectorsFullscriptOrdersGetErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/fullscript/orders/get\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Accept an invitation using either the long token or short code\n *\n * Accept an invitation using either the long token or short code\n */\nexport const postAdminInvitationsAcceptByToken = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminInvitationsAcceptByTokenData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminInvitationsAcceptByTokenResponses,\n    PostAdminInvitationsAcceptByTokenErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invitations/accept-by-token\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Generate a cryptographically secure 6-digit verification code, store it as `verification_token`, record `verification_sent_at`, and dispatch delivery to the configured channel.\n *\n * Generate a cryptographically secure 6-digit verification code, store it as `verification_token`, record `verification_sent_at`, and dispatch delivery to the configured channel.\n */\nexport const patchAdminNotificationMethodsByIdSendVerification = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminNotificationMethodsByIdSendVerificationData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminNotificationMethodsByIdSendVerificationResponses,\n    PatchAdminNotificationMethodsByIdSendVerificationErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-methods/{id}/send-verification\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/jobs/:id operation on crawler-job resource\n *\n * /crawler/jobs/:id operation on crawler-job resource\n */\nexport const deleteAdminCrawlerJobsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrawlerJobsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrawlerJobsByIdResponses,\n    DeleteAdminCrawlerJobsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/jobs/{id}\",\n    ...options,\n  });\n\n/**\n * /crawler/jobs/:id operation on crawler-job resource\n *\n * /crawler/jobs/:id operation on crawler-job resource\n */\nexport const getAdminCrawlerJobsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCrawlerJobsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerJobsByIdResponses,\n    GetAdminCrawlerJobsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/jobs/{id}\",\n    ...options,\n  });\n\n/**\n * /support/queue-members/:id operation on support-queue-member resource\n *\n * /support/queue-members/:id operation on support-queue-member resource\n */\nexport const deleteAdminSupportQueueMembersById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSupportQueueMembersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSupportQueueMembersByIdResponses,\n    DeleteAdminSupportQueueMembersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/queue-members/{id}\",\n    ...options,\n  });\n\n/**\n * Update a queue member's role, ticket capacity, or availability status\n *\n * Update a queue member's role, ticket capacity, or availability status. Use is_available: false to mark an agent as offline without removing them from the queue.\n */\nexport const patchAdminSupportQueueMembersById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSupportQueueMembersByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSupportQueueMembersByIdResponses,\n    PatchAdminSupportQueueMembersByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/queue-members/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Mark a confirmed event as completed\n *\n * Mark a confirmed event as completed. Called by CompletionWorker after event end time + buffer. Logs CRM activity for participants with contact_id (if CRM capability enabled). Publishes EventCompleted event.\n */\nexport const patchAdminSchedulingEventsByIdComplete = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSchedulingEventsByIdCompleteData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingEventsByIdCompleteResponses,\n    PatchAdminSchedulingEventsByIdCompleteErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/events/{id}/complete\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /connectors/:id operation on connector-instance resource\n *\n * /connectors/:id operation on connector-instance resource\n */\nexport const deleteAdminConnectorsById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminConnectorsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminConnectorsByIdResponses,\n    DeleteAdminConnectorsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/{id}\",\n    ...options,\n  });\n\n/**\n * /connectors/:id operation on connector-instance resource\n *\n * /connectors/:id operation on connector-instance resource\n */\nexport const getAdminConnectorsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminConnectorsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminConnectorsByIdResponses,\n    GetAdminConnectorsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/{id}\",\n    ...options,\n  });\n\n/**\n * Update a connector instance's name, configuration, sync interval, health status, or metadata\n *\n * Update a connector instance's name, configuration, sync interval, health status, or metadata.\n * Use this to modify the connector's connection config after installation (e.g., changing sync\n * frequency or updating API base URL). Does not affect stored credentials or tool definitions.\n *\n * Returns the updated connector instance record.\n *\n */\nexport const patchAdminConnectorsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminConnectorsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminConnectorsByIdResponses,\n    PatchAdminConnectorsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Shorten text to a target character count.\n *\n * Shorten text to a target character count.\n */\nexport const postAdminContentShorten = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminContentShortenData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminContentShortenResponses,\n    PostAdminContentShortenErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/content/shorten\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /compliance-officer-designations/:id operation on compliance-officer-designation resource\n *\n * /compliance-officer-designations/:id operation on compliance-officer-designation resource\n */\nexport const getAdminComplianceOfficerDesignationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminComplianceOfficerDesignationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminComplianceOfficerDesignationsByIdResponses,\n    GetAdminComplianceOfficerDesignationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-officer-designations/{id}\",\n    ...options,\n  });\n\n/**\n * /ephi-assets operation on ephi-asset resource\n *\n * /ephi-assets operation on ephi-asset resource\n */\nexport const getAdminEphiAssets = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminEphiAssetsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEphiAssetsResponses,\n    GetAdminEphiAssetsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ephi-assets\",\n    ...options,\n  });\n\n/**\n * /ephi-assets operation on ephi-asset resource\n *\n * /ephi-assets operation on ephi-asset resource\n */\nexport const postAdminEphiAssets = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminEphiAssetsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminEphiAssetsResponses,\n    PostAdminEphiAssetsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ephi-assets\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a quote request\n *\n * Create a quote request. Used directly by ISVs and by\n * `GptCore.Invoices.FormBindings` when a form submission carries\n * line-item shaped fields. Bindings rely on a read-then-create\n * pre-check (in the GenServer's serial mailbox) for idempotency\n * against re-broadcast `SubmissionCompleted` events; the unique\n * index on `submitted_via_submission_id` is the safety net.\n *\n */\nexport const postAdminQuoteRequests = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminQuoteRequestsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminQuoteRequestsResponses,\n    PostAdminQuoteRequestsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/quote-requests\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List subscriptions in `:capability_revoked_grace` (awaiting period-end\n * cancellation) or `:canceled_capability_revoked` (already canceled due to\n * a revoked capability)\n *\n * List subscriptions in `:capability_revoked_grace` (awaiting period-end\n * cancellation) or `:canceled_capability_revoked` (already canceled due to\n * a revoked capability). Platform-admin only.\n *\n * Optional filters via query params:\n * - `filter[application_id]` — scope to subscriptions whose plan belongs to\n * a specific Application.\n * - `filter[revoked_capability]` — scope to a specific revoked capability.\n * - `filter[include_canceled]=true` — include `:canceled_capability_revoked`\n * subscriptions (default: grace-only).\n *\n */\nexport const getAdminSubscriptionsCapabilityRevoked = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSubscriptionsCapabilityRevokedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSubscriptionsCapabilityRevokedResponses,\n    GetAdminSubscriptionsCapabilityRevokedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/subscriptions/capability-revoked\",\n    ...options,\n  });\n\n/**\n * /quote-requests/:id operation on invoices-quote-request resource\n *\n * /quote-requests/:id operation on invoices-quote-request resource\n */\nexport const deleteAdminQuoteRequestsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminQuoteRequestsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminQuoteRequestsByIdResponses,\n    DeleteAdminQuoteRequestsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/quote-requests/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single quote request by ID.\n *\n * Fetch a single quote request by ID.\n */\nexport const getAdminQuoteRequestsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminQuoteRequestsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminQuoteRequestsByIdResponses,\n    GetAdminQuoteRequestsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/quote-requests/{id}\",\n    ...options,\n  });\n\n/**\n * Update an existing quote request\n *\n * Update an existing quote request. Status transitions are open\n * (no state machine in this slice — ISVs gate via their own UI).\n *\n */\nexport const patchAdminQuoteRequestsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminQuoteRequestsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminQuoteRequestsByIdResponses,\n    PatchAdminQuoteRequestsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/quote-requests/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch the channel capture configuration for a workspace\n *\n * Fetch the channel capture configuration for a workspace. Returns nil if no config exists — IngestChannelMessageWorker treats absent config as capture disabled.\n */\nexport const getAdminSupportChannelCaptureConfigsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSupportChannelCaptureConfigsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportChannelCaptureConfigsWorkspaceByWorkspaceIdResponses,\n    GetAdminSupportChannelCaptureConfigsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/channel-capture-configs/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Set multiple delivery records to `:retrying` status in bulk\n *\n * Set multiple delivery records to `:retrying` status in bulk. Authorization is actor-scoped — only deliveries the actor can update are affected. Returns `{success: true, count: N}`.\n */\nexport const postAdminWebhookDeliveriesBulkRetry = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminWebhookDeliveriesBulkRetryData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminWebhookDeliveriesBulkRetryResponses,\n    PostAdminWebhookDeliveriesBulkRetryErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-deliveries/bulk-retry\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch the AI configuration for a specific workspace\n *\n * Fetch the AI configuration for a specific workspace. Returns nil if no config exists — workers fall back to defaults in that case.\n */\nexport const getAdminSupportAiConfigsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSupportAiConfigsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportAiConfigsWorkspaceByWorkspaceIdResponses,\n    GetAdminSupportAiConfigsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/ai-configs/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Sync patients from Healthie connector to platform\n *\n * Sync patients from Healthie connector to platform.\n *\n * Creates/updates: Contact, DietaryProfile, HealthMetric, Patient records.\n * Returns sync summary with count and errors.\n *\n */\nexport const postAdminConnectorsByIdHealthiePatientsSync = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsByIdHealthiePatientsSyncData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsByIdHealthiePatientsSyncResponses,\n    PostAdminConnectorsByIdHealthiePatientsSyncErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/{id}/healthie/patients/sync\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Dismiss a trained document from the active-learning training dashboard without excluding it\n * from future training\n *\n * Dismiss a trained document from the active-learning training dashboard without excluding it\n * from future training. Sets `training_metadata[\"dismissed_at\"]` so the document no longer\n * appears in the `:list_trained` view, but it can still be found via `:read` or `:list_by_workspace`.\n *\n * Use `:mark_trained` to record that a document was trained, or `:exclude_from_training` to\n * prevent it from being used for training entirely.\n *\n */\nexport const patchAdminExtractionDocumentsByIdDismissTraining = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminExtractionDocumentsByIdDismissTrainingData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionDocumentsByIdDismissTrainingResponses,\n    PatchAdminExtractionDocumentsByIdDismissTrainingErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}/dismiss-training\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-goals/:id/archive operation on clinical-client-goal resource\n *\n * /clinical/client-goals/:id/archive operation on clinical-client-goal resource\n */\nexport const patchAdminClinicalClientGoalsByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalClientGoalsByIdArchiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientGoalsByIdArchiveResponses,\n    PatchAdminClinicalClientGoalsByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-goals/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Bulk-destroy all semantic cache entries (platform admin only); requires confirm: true as a safety gate\n *\n * Bulk-destroy all semantic cache entries (platform admin only); requires confirm: true as a safety gate. Returns a dummy struct on success.\n */\nexport const postAdminSysSemanticCacheClear = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSysSemanticCacheClearData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSysSemanticCacheClearResponses,\n    PostAdminSysSemanticCacheClearErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/sys/semantic-cache/clear\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Check if a patient exists in Fullscript by email\n *\n * Check if a patient exists in Fullscript by email\n */\nexport const postAdminConnectorsFullscriptCheckPatient = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminConnectorsFullscriptCheckPatientData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsFullscriptCheckPatientResponses,\n    PostAdminConnectorsFullscriptCheckPatientErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/fullscript/check-patient\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Restores body_mjml from a previously published TemplateVersion snapshot.\n *\n * Restores body_mjml from a previously published TemplateVersion snapshot.\n */\nexport const patchAdminEmailMarketingTemplatesByIdRollback = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailMarketingTemplatesByIdRollbackData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingTemplatesByIdRollbackResponses,\n    PatchAdminEmailMarketingTemplatesByIdRollbackErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/templates/{id}/rollback\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /notification-methods operation on notification-method resource\n *\n * /notification-methods operation on notification-method resource\n */\nexport const getAdminNotificationMethods = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminNotificationMethodsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminNotificationMethodsResponses,\n    GetAdminNotificationMethodsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-methods\",\n    ...options,\n  });\n\n/**\n * Register a new notification delivery channel for a user (email address, phone number, Slack webhook, or generic webhook URL)\n *\n * Register a new notification delivery channel for a user (email address, phone number, Slack webhook, or generic webhook URL). The method starts unverified; call :send_verification then :verify to activate it.\n */\nexport const postAdminNotificationMethods = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminNotificationMethodsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminNotificationMethodsResponses,\n    PostAdminNotificationMethodsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/notification-methods\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/trending/watches/workspace/:workspace_id operation on trending-watch resource\n *\n * /social/trending/watches/workspace/:workspace_id operation on trending-watch resource\n */\nexport const getAdminSocialTrendingWatchesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSocialTrendingWatchesWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialTrendingWatchesWorkspaceByWorkspaceIdResponses,\n    GetAdminSocialTrendingWatchesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/trending/watches/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * List all schema versions for this agent\n *\n * List all schema versions for this agent\n */\nexport const getAdminAgentsByIdSchemaVersions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAgentsByIdSchemaVersionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentsByIdSchemaVersionsResponses,\n    GetAdminAgentsByIdSchemaVersionsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/schema-versions\",\n    ...options,\n  });\n\n/**\n * Create a new schema version for this agent\n *\n * Create a new schema version for this agent\n */\nexport const postAdminAgentsByIdSchemaVersions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminAgentsByIdSchemaVersionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentsByIdSchemaVersionsResponses,\n    PostAdminAgentsByIdSchemaVersionsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/schema-versions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /plan-feature-allocations/:id operation on plan-feature-allocation resource\n *\n * /plan-feature-allocations/:id operation on plan-feature-allocation resource\n */\nexport const deleteAdminPlanFeatureAllocationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminPlanFeatureAllocationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminPlanFeatureAllocationsByIdResponses,\n    DeleteAdminPlanFeatureAllocationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plan-feature-allocations/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single plan feature allocation by ID.\n *\n * Fetch a single plan feature allocation by ID.\n */\nexport const getAdminPlanFeatureAllocationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPlanFeatureAllocationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPlanFeatureAllocationsByIdResponses,\n    GetAdminPlanFeatureAllocationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plan-feature-allocations/{id}\",\n    ...options,\n  });\n\n/**\n * Update a plan feature allocation's overrides.\n *\n * Update a plan feature allocation's overrides.\n */\nexport const patchAdminPlanFeatureAllocationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPlanFeatureAllocationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPlanFeatureAllocationsByIdResponses,\n    PatchAdminPlanFeatureAllocationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plan-feature-allocations/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List excluded documents\n *\n * List excluded documents\n */\nexport const getAdminExtractionDocumentsWorkspaceByWorkspaceIdExcluded = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedResponses,\n    GetAdminExtractionDocumentsWorkspaceByWorkspaceIdExcludedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/workspace/{workspace_id}/excluded\",\n    ...options,\n  });\n\n/**\n * /brand-identities/by-tenant/:tenant_id operation on brand-identity resource\n *\n * /brand-identities/by-tenant/:tenant_id operation on brand-identity resource\n */\nexport const getAdminBrandIdentitiesByTenantByTenantId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminBrandIdentitiesByTenantByTenantIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBrandIdentitiesByTenantByTenantIdResponses,\n    GetAdminBrandIdentitiesByTenantByTenantIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/brand-identities/by-tenant/{tenant_id}\",\n    ...options,\n  });\n\n/**\n * /recipes/recipe-nutritions operation on recipes-recipe-nutrition resource\n *\n * /recipes/recipe-nutritions operation on recipes-recipe-nutrition resource\n */\nexport const postAdminRecipesRecipeNutritions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminRecipesRecipeNutritionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesRecipeNutritionsResponses,\n    PostAdminRecipesRecipeNutritionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/recipe-nutritions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List active custom entities in a workspace, optionally filtered by type slug and\n * attribute-level property filters\n *\n * List active custom entities in a workspace, optionally filtered by type slug and\n * attribute-level property filters. Filters are applied Elixir-side on the properties\n * JSONB field after fetch.\n *\n */\nexport const getAdminCrmCustomEntitiesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmCustomEntitiesWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmCustomEntitiesWorkspaceByWorkspaceIdResponses,\n    GetAdminCrmCustomEntitiesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/custom-entities/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /social/campaigns/:id/schedule operation on social-campaign resource\n *\n * /social/campaigns/:id/schedule operation on social-campaign resource\n */\nexport const patchAdminSocialCampaignsByIdSchedule = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSocialCampaignsByIdScheduleData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialCampaignsByIdScheduleResponses,\n    PatchAdminSocialCampaignsByIdScheduleErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/campaigns/{id}/schedule\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/note-templates/catalog operation on clinical-note-template resource\n *\n * /clinical/note-templates/catalog operation on clinical-note-template resource\n */\nexport const getAdminClinicalNoteTemplatesCatalog = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalNoteTemplatesCatalogData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalNoteTemplatesCatalogResponses,\n    GetAdminClinicalNoteTemplatesCatalogErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/catalog\",\n    ...options,\n  });\n\n/**\n * /clinical/note-templates/catalog operation on clinical-note-template resource\n *\n * /clinical/note-templates/catalog operation on clinical-note-template resource\n */\nexport const postAdminClinicalNoteTemplatesCatalog = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalNoteTemplatesCatalogData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalNoteTemplatesCatalogResponses,\n    PostAdminClinicalNoteTemplatesCatalogErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/note-templates/catalog\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Rotate an API key by generating a new token while preserving the key's id,\n * metadata, and configuration\n *\n * Rotate an API key by generating a new token while preserving the key's id,\n * metadata, and configuration. The new raw token is returned once in the\n * generated_api_key calculation field and cannot be retrieved again. Preserves\n * the existing prefix type (sk_tenant_, sk_app_, etc.) and ensures application\n * keys retain all scopes. Invalidates the Redis auth cache for the old token.\n * Use :revoke if the key should be permanently deactivated instead.\n *\n */\nexport const patchAdminApiKeysByIdRotate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminApiKeysByIdRotateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminApiKeysByIdRotateResponses,\n    PatchAdminApiKeysByIdRotateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/api-keys/{id}/rotate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/ingredients operation on recipes-ingredient resource\n *\n * /recipes/ingredients operation on recipes-ingredient resource\n */\nexport const postAdminRecipesIngredients = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminRecipesIngredientsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesIngredientsResponses,\n    PostAdminRecipesIngredientsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/ingredients\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/health-metrics/:id/archive operation on clinical-health-metric resource\n *\n * /clinical/health-metrics/:id/archive operation on clinical-health-metric resource\n */\nexport const patchAdminClinicalHealthMetricsByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalHealthMetricsByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalHealthMetricsByIdArchiveResponses,\n    PatchAdminClinicalHealthMetricsByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/health-metrics/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/inclusions/:id operation on email-inclusion resource\n *\n * /email/inclusions/:id operation on email-inclusion resource\n */\nexport const deleteAdminEmailInclusionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminEmailInclusionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminEmailInclusionsByIdResponses,\n    DeleteAdminEmailInclusionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inclusions/{id}\",\n    ...options,\n  });\n\n/**\n * /email/inclusions/:id operation on email-inclusion resource\n *\n * /email/inclusions/:id operation on email-inclusion resource\n */\nexport const getAdminEmailInclusionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminEmailInclusionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailInclusionsByIdResponses,\n    GetAdminEmailInclusionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inclusions/{id}\",\n    ...options,\n  });\n\n/**\n * /email/inclusions/:id operation on email-inclusion resource\n *\n * /email/inclusions/:id operation on email-inclusion resource\n */\nexport const patchAdminEmailInclusionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminEmailInclusionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailInclusionsByIdResponses,\n    PatchAdminEmailInclusionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inclusions/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/patients operation on clinical-patient resource\n *\n * /clinical/patients operation on clinical-patient resource\n */\nexport const getAdminClinicalPatients = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminClinicalPatientsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPatientsResponses,\n    GetAdminClinicalPatientsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patients\",\n    ...options,\n  });\n\n/**\n * /clinical/patients operation on clinical-patient resource\n *\n * /clinical/patients operation on clinical-patient resource\n */\nexport const postAdminClinicalPatients = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminClinicalPatientsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalPatientsResponses,\n    PostAdminClinicalPatientsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patients\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /usage-events/:id operation on usage-event resource\n *\n * /usage-events/:id operation on usage-event resource\n */\nexport const getAdminUsageEventsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUsageEventsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUsageEventsByIdResponses,\n    GetAdminUsageEventsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/usage-events/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-tools/catalog/:id/archive operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/catalog/:id/archive operation on clinical-practice-tool resource\n */\nexport const patchAdminClinicalPracticeToolsCatalogByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalPracticeToolsCatalogByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPracticeToolsCatalogByIdArchiveResponses,\n    PatchAdminClinicalPracticeToolsCatalogByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/catalog/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/accounts/workspace/:workspace_id operation on social-account resource\n *\n * /social/accounts/workspace/:workspace_id operation on social-account resource\n */\nexport const getAdminSocialAccountsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSocialAccountsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialAccountsWorkspaceByWorkspaceIdResponses,\n    GetAdminSocialAccountsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/accounts/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/intake-targets/active/:patient_id operation on clinical-intake-target resource\n *\n * /clinical/intake-targets/active/:patient_id operation on clinical-intake-target resource\n */\nexport const getAdminClinicalIntakeTargetsActiveByPatientId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalIntakeTargetsActiveByPatientIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalIntakeTargetsActiveByPatientIdResponses,\n    GetAdminClinicalIntakeTargetsActiveByPatientIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/intake-targets/active/{patient_id}\",\n    ...options,\n  });\n\n/**\n * /cases/:id operation on case resource\n *\n * /cases/:id operation on case resource\n */\nexport const deleteAdminCasesById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminCasesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCasesByIdResponses,\n    DeleteAdminCasesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cases/{id}\",\n    ...options,\n  });\n\n/**\n * /cases/:id operation on case resource\n *\n * /cases/:id operation on case resource\n */\nexport const getAdminCasesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCasesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCasesByIdResponses,\n    GetAdminCasesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cases/{id}\",\n    ...options,\n  });\n\n/**\n * /cases/:id operation on case resource\n *\n * /cases/:id operation on case resource\n */\nexport const patchAdminCasesById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminCasesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCasesByIdResponses,\n    PatchAdminCasesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cases/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/trending/items/snapshot/:snapshot_id operation on trending-snapshot-item resource\n *\n * /social/trending/items/snapshot/:snapshot_id operation on trending-snapshot-item resource\n */\nexport const getAdminSocialTrendingItemsSnapshotBySnapshotId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSocialTrendingItemsSnapshotBySnapshotIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialTrendingItemsSnapshotBySnapshotIdResponses,\n    GetAdminSocialTrendingItemsSnapshotBySnapshotIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/trending/items/snapshot/{snapshot_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-template-collection-memberships/:id operation on clinical-goal-template-collection-membership resource\n *\n * /clinical/goal-template-collection-memberships/:id operation on clinical-goal-template-collection-membership resource\n */\nexport const deleteAdminClinicalGoalTemplateCollectionMembershipsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalGoalTemplateCollectionMembershipsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalGoalTemplateCollectionMembershipsByIdResponses,\n    DeleteAdminClinicalGoalTemplateCollectionMembershipsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-template-collection-memberships/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-template-collection-memberships/:id operation on clinical-goal-template-collection-membership resource\n *\n * /clinical/goal-template-collection-memberships/:id operation on clinical-goal-template-collection-membership resource\n */\nexport const getAdminClinicalGoalTemplateCollectionMembershipsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalGoalTemplateCollectionMembershipsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalGoalTemplateCollectionMembershipsByIdResponses,\n    GetAdminClinicalGoalTemplateCollectionMembershipsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-template-collection-memberships/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-template-collection-memberships/:id operation on clinical-goal-template-collection-membership resource\n *\n * /clinical/goal-template-collection-memberships/:id operation on clinical-goal-template-collection-membership resource\n */\nexport const patchAdminClinicalGoalTemplateCollectionMembershipsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalGoalTemplateCollectionMembershipsByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalGoalTemplateCollectionMembershipsByIdResponses,\n    PatchAdminClinicalGoalTemplateCollectionMembershipsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-template-collection-memberships/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/deal-products operation on crm-deal-product resource\n *\n * /crm/deal-products operation on crm-deal-product resource\n */\nexport const getAdminCrmDealProducts = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCrmDealProductsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmDealProductsResponses,\n    GetAdminCrmDealProductsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/deal-products\",\n    ...options,\n  });\n\n/**\n * Link a catalog product to a deal with quantity and negotiated unit price\n *\n * Link a catalog product to a deal with quantity and negotiated unit price. product_id is a weak UUID reference (no FK constraint). Returns the created DealProduct record.\n */\nexport const postAdminCrmDealProducts = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrmDealProductsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmDealProductsResponses,\n    PostAdminCrmDealProductsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/deal-products\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /ai/graph/nodes/:id operation on graph-node resource\n *\n * /ai/graph/nodes/:id operation on graph-node resource\n */\nexport const deleteAdminAiGraphNodesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminAiGraphNodesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminAiGraphNodesByIdResponses,\n    DeleteAdminAiGraphNodesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/graph/nodes/{id}\",\n    ...options,\n  });\n\n/**\n * Delete a bucket from the database and attempt to remove it from object storage; fails if any StorageFile records still reference this bucket.\n *\n * Delete a bucket from the database and attempt to remove it from object storage; fails if any StorageFile records still reference this bucket.\n */\nexport const deleteAdminBucketsById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminBucketsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminBucketsByIdResponses,\n    DeleteAdminBucketsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/buckets/{id}\",\n    ...options,\n  });\n\n/**\n * List or fetch buckets; excludes processing-type buckets by default\n *\n * List or fetch buckets; excludes processing-type buckets by default. Use read_all to include system buckets.\n */\nexport const getAdminBucketsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminBucketsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBucketsByIdResponses,\n    GetAdminBucketsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/buckets/{id}\",\n    ...options,\n  });\n\n/**\n * Update the region of an existing bucket\n *\n * Update the region of an existing bucket. Returns the updated bucket.\n */\nexport const patchAdminBucketsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminBucketsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminBucketsByIdResponses,\n    PatchAdminBucketsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/buckets/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Get Healthie connector sync status\n *\n * Get Healthie connector sync status.\n *\n * Returns last sync time, record counts, and errors from most recent sync.\n *\n */\nexport const getAdminConnectorsByIdHealthieStatus = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminConnectorsByIdHealthieStatusData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminConnectorsByIdHealthieStatusResponses,\n    GetAdminConnectorsByIdHealthieStatusErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/{id}/healthie/status\",\n    ...options,\n  });\n\n/**\n * Close this ticket by merging it with another ticket\n *\n * Close this ticket by merging it with another ticket. Validates that merged_ticket_id belongs to the same workspace. Stores merged_ticket_id in __metadata__ for Notifier. The secondary ticket is NOT automatically closed — callers must close it separately.\n */\nexport const patchAdminSupportTicketsByIdMerge = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSupportTicketsByIdMergeData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSupportTicketsByIdMergeResponses,\n    PatchAdminSupportTicketsByIdMergeErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/tickets/{id}/merge\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch the most recent acceptance record for a given user and document type\n *\n * Fetch the most recent acceptance record for a given user and document type. Use this to check whether a user has accepted the current version of a ToS or Privacy Policy before gating access.\n */\nexport const getAdminLegalAcceptancesLatest = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminLegalAcceptancesLatestData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLegalAcceptancesLatestResponses,\n    GetAdminLegalAcceptancesLatestErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/legal-acceptances/latest\",\n    ...options,\n  });\n\n/**\n * List usage events for a specific user within a date range\n *\n * List usage events for a specific user within a date range. Default: last 30 days.\n * Use for per-user usage breakdown within a tenant.\n *\n */\nexport const getAdminUsageEventsByUser = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUsageEventsByUserData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUsageEventsByUserResponses,\n    GetAdminUsageEventsByUserErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/usage-events/by-user\",\n    ...options,\n  });\n\n/**\n * /configs operation on config resource\n *\n * /configs operation on config resource\n */\nexport const getAdminConfigs = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminConfigsResponses,\n    GetAdminConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/configs\",\n    ...options,\n  });\n\n/**\n * Create or upsert a platform config entry by key; if the key already exists its value, description, and sensitivity flag are updated\n *\n * Create or upsert a platform config entry by key; if the key already exists its value, description, and sensitivity flag are updated. Automatically invalidates the FetchConfig cache. Returns the record.\n */\nexport const postAdminConfigs = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminConfigsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConfigsResponses,\n    PostAdminConfigsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/configs\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /agent-executions/:id operation on agent-execution resource\n *\n * /agent-executions/:id operation on agent-execution resource\n */\nexport const getAdminAgentExecutionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminAgentExecutionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentExecutionsByIdResponses,\n    GetAdminAgentExecutionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-executions/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/client-resource-assignments/:id/restore operation on clinical-client-resource-assignment resource\n *\n * /clinical/client-resource-assignments/:id/restore operation on clinical-client-resource-assignment resource\n */\nexport const patchAdminClinicalClientResourceAssignmentsByIdRestore = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalClientResourceAssignmentsByIdRestoreData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientResourceAssignmentsByIdRestoreResponses,\n    PatchAdminClinicalClientResourceAssignmentsByIdRestoreErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-resource-assignments/{id}/restore\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /threads/:id operation on chat-thread resource\n *\n * /threads/:id operation on chat-thread resource\n */\nexport const deleteAdminThreadsById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminThreadsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminThreadsByIdResponses,\n    DeleteAdminThreadsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/{id}\",\n    ...options,\n  });\n\n/**\n * /threads/:id operation on chat-thread resource\n *\n * /threads/:id operation on chat-thread resource\n */\nexport const getAdminThreadsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminThreadsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminThreadsByIdResponses,\n    GetAdminThreadsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/{id}\",\n    ...options,\n  });\n\n/**\n * Update the thread's title or context summary\n *\n * Update the thread's title or context summary. Use :archive/:unarchive for lifecycle state changes and :process_message to add turns.\n */\nexport const patchAdminThreadsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminThreadsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminThreadsByIdResponses,\n    PatchAdminThreadsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Define a new custom entity type for the application (e.g., 'client_goals', 'session')\n *\n * Define a new custom entity type for the application (e.g., 'client_goals', 'session').\n * Slug must not conflict with core types and is limited to 3-50 characters. Max 20 types\n * per application; max 100 field definitions per type. Returns the created CustomEntityType.\n *\n */\nexport const postAdminIsvCrmEntityTypes = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminIsvCrmEntityTypesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminIsvCrmEntityTypesResponses,\n    PostAdminIsvCrmEntityTypesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv/crm/entity-types\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/health-metrics operation on clinical-health-metric resource\n *\n * /clinical/health-metrics operation on clinical-health-metric resource\n */\nexport const getAdminClinicalHealthMetrics = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalHealthMetricsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalHealthMetricsResponses,\n    GetAdminClinicalHealthMetricsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/health-metrics\",\n    ...options,\n  });\n\n/**\n * /clinical/health-metrics operation on clinical-health-metric resource\n *\n * /clinical/health-metrics operation on clinical-health-metric resource\n */\nexport const postAdminClinicalHealthMetrics = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalHealthMetricsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalHealthMetricsResponses,\n    PostAdminClinicalHealthMetricsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/health-metrics\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/supplement-templates/catalog/:id operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/catalog/:id operation on clinical-supplement-template resource\n */\nexport const getAdminClinicalSupplementTemplatesCatalogById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalSupplementTemplatesCatalogByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSupplementTemplatesCatalogByIdResponses,\n    GetAdminClinicalSupplementTemplatesCatalogByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/catalog/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-templates/catalog/:id operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates/catalog/:id operation on clinical-supplement-template resource\n */\nexport const patchAdminClinicalSupplementTemplatesCatalogById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalSupplementTemplatesCatalogByIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalSupplementTemplatesCatalogByIdResponses,\n    PatchAdminClinicalSupplementTemplatesCatalogByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates/catalog/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all members of a specific queue including their role, capacity, and availability\n *\n * List all members of a specific queue including their role, capacity, and availability. Use to find available agents for ticket assignment.\n */\nexport const getAdminSupportQueueMembersQueueByQueueId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSupportQueueMembersQueueByQueueIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportQueueMembersQueueByQueueIdResponses,\n    GetAdminSupportQueueMembersQueueByQueueIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/queue-members/queue/{queue_id}\",\n    ...options,\n  });\n\n/**\n * /social/trending/watches/:id operation on trending-watch resource\n *\n * /social/trending/watches/:id operation on trending-watch resource\n */\nexport const deleteAdminSocialTrendingWatchesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSocialTrendingWatchesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSocialTrendingWatchesByIdResponses,\n    DeleteAdminSocialTrendingWatchesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/trending/watches/{id}\",\n    ...options,\n  });\n\n/**\n * /social/trending/watches/:id operation on trending-watch resource\n *\n * /social/trending/watches/:id operation on trending-watch resource\n */\nexport const getAdminSocialTrendingWatchesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSocialTrendingWatchesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialTrendingWatchesByIdResponses,\n    GetAdminSocialTrendingWatchesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/trending/watches/{id}\",\n    ...options,\n  });\n\n/**\n * /social/trending/watches/:id operation on trending-watch resource\n *\n * /social/trending/watches/:id operation on trending-watch resource\n */\nexport const patchAdminSocialTrendingWatchesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSocialTrendingWatchesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialTrendingWatchesByIdResponses,\n    PatchAdminSocialTrendingWatchesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/trending/watches/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/email-addresses/:id operation on crm-email-address resource\n *\n * /crm/email-addresses/:id operation on crm-email-address resource\n */\nexport const deleteAdminCrmEmailAddressesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmEmailAddressesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmEmailAddressesByIdResponses,\n    DeleteAdminCrmEmailAddressesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/email-addresses/{id}\",\n    ...options,\n  });\n\n/**\n * /crm/email-addresses/:id operation on crm-email-address resource\n *\n * /crm/email-addresses/:id operation on crm-email-address resource\n */\nexport const getAdminCrmEmailAddressesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrmEmailAddressesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmEmailAddressesByIdResponses,\n    GetAdminCrmEmailAddressesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/email-addresses/{id}\",\n    ...options,\n  });\n\n/**\n * Update an existing email address\n *\n * Update an existing email address. Re-validates email format if changed.\n */\nexport const patchAdminCrmEmailAddressesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmEmailAddressesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmEmailAddressesByIdResponses,\n    PatchAdminCrmEmailAddressesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/email-addresses/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /pipeline-executions/:id/refine operation on pipeline-execution resource\n *\n * /pipeline-executions/:id/refine operation on pipeline-execution resource\n */\nexport const patchAdminPipelineExecutionsByIdRefine = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPipelineExecutionsByIdRefineData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPipelineExecutionsByIdRefineResponses,\n    PatchAdminPipelineExecutionsByIdRefineErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-executions/{id}/refine\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Purchase an add-on for the wallet\n *\n * Purchase an add-on for the wallet\n */\nexport const patchAdminWalletAddons = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminWalletAddonsData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWalletAddonsResponses,\n    PatchAdminWalletAddonsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/wallet/addons\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /pipeline-executions operation on pipeline-execution resource\n *\n * /pipeline-executions operation on pipeline-execution resource\n */\nexport const getAdminPipelineExecutions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPipelineExecutionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPipelineExecutionsResponses,\n    GetAdminPipelineExecutionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-executions\",\n    ...options,\n  });\n\n/**\n * Create a product variant (SKU, price override, option values); enforces max_variants_per_product quota\n *\n * Create a product variant (SKU, price override, option values); enforces max_variants_per_product quota. Returns the created variant.\n */\nexport const postAdminCatalogProductVariants = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCatalogProductVariantsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCatalogProductVariantsResponses,\n    PostAdminCatalogProductVariantsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/product-variants\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Compiles MJML, snapshots to published_body_html, creates TemplateVersion, bumps current_version.\n *\n * Compiles MJML, snapshots to published_body_html, creates TemplateVersion, bumps current_version.\n */\nexport const patchAdminEmailMarketingTemplatesByIdPublish = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailMarketingTemplatesByIdPublishData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingTemplatesByIdPublishResponses,\n    PatchAdminEmailMarketingTemplatesByIdPublishErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/templates/{id}/publish\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/metrics/account/:social_account_id operation on post-metric resource\n *\n * /social/metrics/account/:social_account_id operation on post-metric resource\n */\nexport const getAdminSocialMetricsAccountBySocialAccountId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSocialMetricsAccountBySocialAccountIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialMetricsAccountBySocialAccountIdResponses,\n    GetAdminSocialMetricsAccountBySocialAccountIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/metrics/account/{social_account_id}\",\n    ...options,\n  });\n\n/**\n * /messages/:id operation on chat-message resource\n *\n * /messages/:id operation on chat-message resource\n */\nexport const deleteAdminMessagesById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminMessagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminMessagesByIdResponses,\n    DeleteAdminMessagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/messages/{id}\",\n    ...options,\n  });\n\n/**\n * /messages/:id operation on chat-message resource\n *\n * /messages/:id operation on chat-message resource\n */\nexport const getAdminMessagesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminMessagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminMessagesByIdResponses,\n    GetAdminMessagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/messages/{id}\",\n    ...options,\n  });\n\n/**\n * Edit a message's content, role, or metadata\n *\n * Edit a message's content, role, or metadata. Re-enqueues vectorization so the embedding stays current with the new content.\n */\nexport const patchAdminMessagesById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminMessagesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminMessagesByIdResponses,\n    PatchAdminMessagesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/messages/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /platform-pricing-configs/:id operation on platform-pricing-config resource\n *\n * /platform-pricing-configs/:id operation on platform-pricing-config resource\n */\nexport const deleteAdminPlatformPricingConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminPlatformPricingConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminPlatformPricingConfigsByIdResponses,\n    DeleteAdminPlatformPricingConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/platform-pricing-configs/{id}\",\n    ...options,\n  });\n\n/**\n * /platform-pricing-configs/:id operation on platform-pricing-config resource\n *\n * /platform-pricing-configs/:id operation on platform-pricing-config resource\n */\nexport const getAdminPlatformPricingConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPlatformPricingConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPlatformPricingConfigsByIdResponses,\n    GetAdminPlatformPricingConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/platform-pricing-configs/{id}\",\n    ...options,\n  });\n\n/**\n * /platform-pricing-configs/:id operation on platform-pricing-config resource\n *\n * /platform-pricing-configs/:id operation on platform-pricing-config resource\n */\nexport const patchAdminPlatformPricingConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPlatformPricingConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPlatformPricingConfigsByIdResponses,\n    PatchAdminPlatformPricingConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/platform-pricing-configs/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Permanently delete a tenant and all associated data\n *\n * Permanently delete a tenant and all associated data. Cascades destruction of:\n * storage buckets (including S3/GCS cleanup), workspace memberships, workspace\n * billing accounts, workspaces, applications (which destroy their API keys,\n * transactions, plans, credit packages, and billing accounts), tenant memberships,\n * and all tenant billing accounts. Finally deletes the tenant row. Restricted to\n * the tenant owner or platform admins.\n *\n */\nexport const deleteAdminTenantsById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminTenantsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminTenantsByIdResponses,\n    DeleteAdminTenantsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single tenant by its UUID\n *\n * Fetch a single tenant by its UUID. Returns nil if not found or the actor lacks read access.\n */\nexport const getAdminTenantsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminTenantsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTenantsByIdResponses,\n    GetAdminTenantsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}\",\n    ...options,\n  });\n\n/**\n * Update general tenant settings: name, slug, kind, branding URLs, training price,\n * plan tier, vanity slug, and storage spending cap\n *\n * Update general tenant settings: name, slug, kind, branding URLs, training price,\n * plan tier, vanity slug, and storage spending cap. Re-indexes the tenant in search\n * after update. Use :update_branding for branding-only changes (owner-only policy),\n * :update_auto_top_up_config for billing auto top-up settings, or\n * :transfer_ownership to change the owner.\n *\n */\nexport const patchAdminTenantsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminTenantsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTenantsByIdResponses,\n    PatchAdminTenantsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /case-types operation on case-type resource\n *\n * /case-types operation on case-type resource\n */\nexport const getAdminCaseTypes = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCaseTypesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCaseTypesResponses,\n    GetAdminCaseTypesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-types\",\n    ...options,\n  });\n\n/**\n * /case-types operation on case-type resource\n *\n * /case-types operation on case-type resource\n */\nexport const postAdminCaseTypes = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCaseTypesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCaseTypesResponses,\n    PostAdminCaseTypesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-types\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/field-definitions/:id operation on crm-custom-field-definition resource\n *\n * /crm/field-definitions/:id operation on crm-custom-field-definition resource\n */\nexport const deleteAdminCrmFieldDefinitionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmFieldDefinitionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmFieldDefinitionsByIdResponses,\n    DeleteAdminCrmFieldDefinitionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/field-definitions/{id}\",\n    ...options,\n  });\n\n/**\n * /crm/field-definitions/:id operation on crm-custom-field-definition resource\n *\n * /crm/field-definitions/:id operation on crm-custom-field-definition resource\n */\nexport const getAdminCrmFieldDefinitionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrmFieldDefinitionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmFieldDefinitionsByIdResponses,\n    GetAdminCrmFieldDefinitionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/field-definitions/{id}\",\n    ...options,\n  });\n\n/**\n * Update display metadata and validation rules for an existing custom field\n *\n * Update display metadata and validation rules for an existing custom field. Name and entity_type are immutable after creation.\n */\nexport const patchAdminCrmFieldDefinitionsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmFieldDefinitionsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmFieldDefinitionsByIdResponses,\n    PatchAdminCrmFieldDefinitionsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/field-definitions/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List shopping lists for a workspace\n *\n * List shopping lists for a workspace\n */\nexport const getAdminRecipesShoppingListsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesShoppingListsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesShoppingListsWorkspaceByWorkspaceIdResponses,\n    GetAdminRecipesShoppingListsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/shopping-lists/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /composite-operations operation on composite-operation resource\n *\n * /composite-operations operation on composite-operation resource\n */\nexport const getAdminCompositeOperations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCompositeOperationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCompositeOperationsResponses,\n    GetAdminCompositeOperationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/composite-operations\",\n    ...options,\n  });\n\n/**\n * /composite-operations operation on composite-operation resource\n *\n * /composite-operations operation on composite-operation resource\n */\nexport const postAdminCompositeOperations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminCompositeOperationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCompositeOperationsResponses,\n    PostAdminCompositeOperationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/composite-operations\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List active companies in a workspace with offset pagination\n *\n * List active companies in a workspace with offset pagination. Use instead of :read for workspace-scoped paginated listings.\n */\nexport const getAdminCrmCompaniesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmCompaniesWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmCompaniesWorkspaceByWorkspaceIdResponses,\n    GetAdminCrmCompaniesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/companies/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /pipeline-executions/:id/checkpoint operation on pipeline-execution resource\n *\n * /pipeline-executions/:id/checkpoint operation on pipeline-execution resource\n */\nexport const patchAdminPipelineExecutionsByIdCheckpoint = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminPipelineExecutionsByIdCheckpointData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPipelineExecutionsByIdCheckpointResponses,\n    PatchAdminPipelineExecutionsByIdCheckpointErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipeline-executions/{id}/checkpoint\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all websites for a given entity (contact or company).\n *\n * List all websites for a given entity (contact or company).\n */\nexport const getAdminCrmWebsitesEntityByEntityTypeByEntityId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmWebsitesEntityByEntityTypeByEntityIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmWebsitesEntityByEntityTypeByEntityIdResponses,\n    GetAdminCrmWebsitesEntityByEntityTypeByEntityIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/websites/entity/{entity_type}/{entity_id}\",\n    ...options,\n  });\n\n/**\n * Run a similarity search and return matching chunks via the JSON:API endpoint (/ai/chunks/search); internally calls the :search read action and wraps results in a metadata envelope.\n *\n * Run a similarity search and return matching chunks via the JSON:API endpoint (/ai/chunks/search); internally calls the :search read action and wraps results in a metadata envelope.\n */\nexport const postAdminAiChunksSearch = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAiChunksSearchData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAiChunksSearchResponses,\n    PostAdminAiChunksSearchErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/chunks/search\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /storage-files operation on storage-file resource\n *\n * /storage-files operation on storage-file resource\n */\nexport const getAdminStorageFiles = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminStorageFilesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminStorageFilesResponses,\n    GetAdminStorageFilesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-files\",\n    ...options,\n  });\n\n/**\n * Create a StorageFile tracking record; use Storage.request_upload/5 via the facade for the full two-phase upload flow with presigned URLs.\n *\n * Create a StorageFile tracking record; use Storage.request_upload/5 via the facade for the full two-phase upload flow with presigned URLs.\n */\nexport const postAdminStorageFiles = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminStorageFilesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminStorageFilesResponses,\n    PostAdminStorageFilesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-files\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/sessions/by-patient operation on clinical-session resource\n *\n * /clinical/sessions/by-patient operation on clinical-session resource\n */\nexport const getAdminClinicalSessionsByPatient = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalSessionsByPatientData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSessionsByPatientResponses,\n    GetAdminClinicalSessionsByPatientErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/sessions/by-patient\",\n    ...options,\n  });\n\n/**\n * Fetch a single application by its unique slug\n *\n * Fetch a single application by its unique slug. Returns nil if not found. Use :read_current to get the application from the x-application-key header context.\n */\nexport const getAdminApplicationsBySlugBySlug = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminApplicationsBySlugBySlugData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminApplicationsBySlugBySlugResponses,\n    GetAdminApplicationsBySlugBySlugErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/by-slug/{slug}\",\n    ...options,\n  });\n\n/**\n * /subscriptions/by-tenant/:tenant_id operation on subscription resource\n *\n * /subscriptions/by-tenant/:tenant_id operation on subscription resource\n */\nexport const getAdminSubscriptionsByTenantByTenantId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSubscriptionsByTenantByTenantIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSubscriptionsByTenantByTenantIdResponses,\n    GetAdminSubscriptionsByTenantByTenantIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/subscriptions/by-tenant/{tenant_id}\",\n    ...options,\n  });\n\n/**\n * Read all buckets including system/processing buckets\n *\n * Read all buckets including system/processing buckets\n */\nexport const getAdminBucketsAll = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminBucketsAllData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBucketsAllResponses,\n    GetAdminBucketsAllErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/buckets/all\",\n    ...options,\n  });\n\n/**\n * Cancel an event, recording an optional cancellation_reason\n *\n * Cancel an event, recording an optional cancellation_reason. Also cancels all pending reminders and propagates cancellation to the linked Booking if present. Publishes EventCancelled event.\n */\nexport const patchAdminSchedulingEventsByIdCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSchedulingEventsByIdCancelData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingEventsByIdCancelResponses,\n    PatchAdminSchedulingEventsByIdCancelErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/events/{id}/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /legal-documents/:id operation on legal-document resource\n *\n * /legal-documents/:id operation on legal-document resource\n */\nexport const deleteAdminLegalDocumentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminLegalDocumentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminLegalDocumentsByIdResponses,\n    DeleteAdminLegalDocumentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/legal-documents/{id}\",\n    ...options,\n  });\n\n/**\n * /legal-documents/:id operation on legal-document resource\n *\n * /legal-documents/:id operation on legal-document resource\n */\nexport const getAdminLegalDocumentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminLegalDocumentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLegalDocumentsByIdResponses,\n    GetAdminLegalDocumentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/legal-documents/{id}\",\n    ...options,\n  });\n\n/**\n * Edit draft document content, locale, region, or scheduling fields\n *\n * Edit draft document content, locale, region, or scheduling fields. Automatically sets `published_at` on first activation transition; use :publish / :unpublish for lifecycle transitions.\n */\nexport const patchAdminLegalDocumentsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminLegalDocumentsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminLegalDocumentsByIdResponses,\n    PatchAdminLegalDocumentsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/legal-documents/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /plans/:id operation on plan resource\n *\n * /plans/:id operation on plan resource\n */\nexport const deleteAdminPlansById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminPlansByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminPlansByIdResponses,\n    DeleteAdminPlansByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plans/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single plan by its UUID\n *\n * Fetch a single plan by its UUID. Use when you already know the plan's ID (e.g., from a\n * wallet or subscription record). Use read_by_slug instead when looking up by human-readable\n * identifier. Returns the full plan record including pricing, credits, and storage limits.\n *\n */\nexport const getAdminPlansById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPlansByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPlansByIdResponses,\n    GetAdminPlansByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plans/{id}\",\n    ...options,\n  });\n\n/**\n * Update an existing plan's pricing, credit allocation, or storage limits\n *\n * Update an existing plan's pricing, credit allocation, or storage limits. Use this to adjust\n * plan configuration after launch (e.g., changing monthly price or credit quantity). Changes\n * take effect for new subscriptions; existing subscribers are unaffected until their next renewal.\n *\n * Requires Platform Admin or Application Owner role. The slug and type are immutable after creation.\n *\n */\nexport const patchAdminPlansById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminPlansByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPlansByIdResponses,\n    PatchAdminPlansByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plans/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Soft-archive an event type by setting status to :archived\n *\n * Soft-archive an event type by setting status to :archived. Archived types are excluded from :list. Use instead of deleting to preserve historical event associations.\n */\nexport const patchAdminSchedulingEventTypesByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSchedulingEventTypesByIdArchiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingEventTypesByIdArchiveResponses,\n    PatchAdminSchedulingEventTypesByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/event-types/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /legal-acceptances operation on legal-acceptance resource\n *\n * /legal-acceptances operation on legal-acceptance resource\n */\nexport const getAdminLegalAcceptances = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminLegalAcceptancesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLegalAcceptancesResponses,\n    GetAdminLegalAcceptancesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/legal-acceptances\",\n    ...options,\n  });\n\n/**\n * /settlements/:id/mark-held operation on settlement resource\n *\n * /settlements/:id/mark-held operation on settlement resource\n */\nexport const patchAdminSettlementsByIdMarkHeld = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSettlementsByIdMarkHeldData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSettlementsByIdMarkHeldResponses,\n    PatchAdminSettlementsByIdMarkHeldErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlements/{id}/mark-held\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /breach-notification-artifacts operation on breach-notification-artifact resource\n *\n * /breach-notification-artifacts operation on breach-notification-artifact resource\n */\nexport const getAdminBreachNotificationArtifacts = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminBreachNotificationArtifactsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminBreachNotificationArtifactsResponses,\n    GetAdminBreachNotificationArtifactsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/breach-notification-artifacts\",\n    ...options,\n  });\n\n/**\n * /breach-notification-artifacts operation on breach-notification-artifact resource\n *\n * /breach-notification-artifacts operation on breach-notification-artifact resource\n */\nexport const postAdminBreachNotificationArtifacts = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminBreachNotificationArtifactsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminBreachNotificationArtifactsResponses,\n    PostAdminBreachNotificationArtifactsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/breach-notification-artifacts\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Transition a `:sunset_pending` plan to `:archived`\n *\n * Transition a `:sunset_pending` plan to `:archived`. This is a terminal\n * state. Rejected if any active subscribers remain on the plan; typically\n * called by the sunset-completion worker (Phase 4) after force-migration.\n *\n * Requires Platform Admin or Application Owner role.\n *\n */\nexport const patchAdminPlansByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPlansByIdArchiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPlansByIdArchiveResponses,\n    PatchAdminPlansByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plans/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Admin triggers password reset email for user\n *\n * Admin triggers password reset email for user\n */\nexport const patchAdminUsersByIdResetPassword = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminUsersByIdResetPasswordData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminUsersByIdResetPasswordResponses,\n    PatchAdminUsersByIdResetPasswordErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/{id}/reset-password\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /ephi-data-flows operation on ephi-data-flow resource\n *\n * /ephi-data-flows operation on ephi-data-flow resource\n */\nexport const getAdminEphiDataFlows = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminEphiDataFlowsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEphiDataFlowsResponses,\n    GetAdminEphiDataFlowsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ephi-data-flows\",\n    ...options,\n  });\n\n/**\n * /ephi-data-flows operation on ephi-data-flow resource\n *\n * /ephi-data-flows operation on ephi-data-flow resource\n */\nexport const postAdminEphiDataFlows = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminEphiDataFlowsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminEphiDataFlowsResponses,\n    PostAdminEphiDataFlowsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ephi-data-flows\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/news-monitors/:id operation on news-monitor resource\n *\n * /crawler/news-monitors/:id operation on news-monitor resource\n */\nexport const deleteAdminCrawlerNewsMonitorsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrawlerNewsMonitorsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrawlerNewsMonitorsByIdResponses,\n    DeleteAdminCrawlerNewsMonitorsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/news-monitors/{id}\",\n    ...options,\n  });\n\n/**\n * /crawler/news-monitors/:id operation on news-monitor resource\n *\n * /crawler/news-monitors/:id operation on news-monitor resource\n */\nexport const getAdminCrawlerNewsMonitorsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCrawlerNewsMonitorsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerNewsMonitorsByIdResponses,\n    GetAdminCrawlerNewsMonitorsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/news-monitors/{id}\",\n    ...options,\n  });\n\n/**\n * /crawler/news-monitors/:id operation on news-monitor resource\n *\n * /crawler/news-monitors/:id operation on news-monitor resource\n */\nexport const patchAdminCrawlerNewsMonitorsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrawlerNewsMonitorsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrawlerNewsMonitorsByIdResponses,\n    PatchAdminCrawlerNewsMonitorsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/news-monitors/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /meeting-transcripts operation on meeting-transcript resource\n *\n * /meeting-transcripts operation on meeting-transcript resource\n */\nexport const getAdminMeetingTranscripts = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminMeetingTranscriptsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminMeetingTranscriptsResponses,\n    GetAdminMeetingTranscriptsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/meeting-transcripts\",\n    ...options,\n  });\n\n/**\n * /social/accounts/platform/:platform operation on social-account resource\n *\n * /social/accounts/platform/:platform operation on social-account resource\n */\nexport const getAdminSocialAccountsPlatformByPlatform = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSocialAccountsPlatformByPlatformData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialAccountsPlatformByPlatformResponses,\n    GetAdminSocialAccountsPlatformByPlatformErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/accounts/platform/{platform}\",\n    ...options,\n  });\n\n/**\n * Accept a pending invitation using a token and the authenticated actor's identity\n *\n * Accept a pending invitation using a token and the authenticated actor's identity.\n * Validates the token hash and expiry. Creates or upgrades tenant/workspace\n * memberships (highest-privilege-wins). Enqueues SendInvitationAcceptedEmail to\n * notify the inviter asynchronously. Logs an invitation_accepted audit event.\n * Use :accept_by_token for unauthenticated token-only acceptance (e.g. after\n * registration redirect), or :accept_by_user for system-initiated acceptance.\n *\n */\nexport const patchAdminInvitationsByIdAccept = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvitationsByIdAcceptData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvitationsByIdAcceptResponses,\n    PatchAdminInvitationsByIdAcceptErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invitations/{id}/accept\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List feature usage records for a specific tenant.\n *\n * List feature usage records for a specific tenant.\n */\nexport const getAdminFeatureUsagesByTenantByTenantId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminFeatureUsagesByTenantByTenantIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFeatureUsagesByTenantByTenantIdResponses,\n    GetAdminFeatureUsagesByTenantByTenantIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/feature-usages/by-tenant/{tenant_id}\",\n    ...options,\n  });\n\n/**\n * Mark an approved amendment as applied.\n *\n * Mark an approved amendment as applied.\n */\nexport const patchAdminAmendmentRequestsByIdApply = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminAmendmentRequestsByIdApplyData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminAmendmentRequestsByIdApplyResponses,\n    PatchAdminAmendmentRequestsByIdApplyErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/amendment-requests/{id}/apply\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Look up analysis by extraction_result_id\n *\n * Look up analysis by extraction_result_id\n */\nexport const getAdminExtractionAnalysesByResultByExtractionResultId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminExtractionAnalysesByResultByExtractionResultIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionAnalysesByResultByExtractionResultIdResponses,\n    GetAdminExtractionAnalysesByResultByExtractionResultIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/analyses/by-result/{extraction_result_id}\",\n    ...options,\n  });\n\n/**\n * /consent-records/:id operation on consent-record resource\n *\n * /consent-records/:id operation on consent-record resource\n */\nexport const getAdminConsentRecordsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminConsentRecordsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminConsentRecordsByIdResponses,\n    GetAdminConsentRecordsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/consent-records/{id}\",\n    ...options,\n  });\n\n/**\n * /social/trending/watches operation on trending-watch resource\n *\n * /social/trending/watches operation on trending-watch resource\n */\nexport const postAdminSocialTrendingWatches = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSocialTrendingWatchesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSocialTrendingWatchesResponses,\n    PostAdminSocialTrendingWatchesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/trending/watches\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Pause calendar sync by setting sync_status to :paused\n *\n * Pause calendar sync by setting sync_status to :paused. SyncWorker and CalendarPollWorker skip paused syncs. Use :resume to re-enable.\n */\nexport const patchAdminSchedulingCalendarSyncsByIdPause = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminSchedulingCalendarSyncsByIdPauseData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSchedulingCalendarSyncsByIdPauseResponses,\n    PatchAdminSchedulingCalendarSyncsByIdPauseErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/calendar-syncs/{id}/pause\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Transition the case state along the state machine.\n *\n * Transition the case state along the state machine.\n */\nexport const patchAdminCasesByIdTransitionState = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCasesByIdTransitionStateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCasesByIdTransitionStateResponses,\n    PatchAdminCasesByIdTransitionStateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cases/{id}/transition-state\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/outbound-emails/:id operation on email-outbound-email resource\n *\n * /email/outbound-emails/:id operation on email-outbound-email resource\n */\nexport const deleteAdminEmailOutboundEmailsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminEmailOutboundEmailsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminEmailOutboundEmailsByIdResponses,\n    DeleteAdminEmailOutboundEmailsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/outbound-emails/{id}\",\n    ...options,\n  });\n\n/**\n * /email/outbound-emails/:id operation on email-outbound-email resource\n *\n * /email/outbound-emails/:id operation on email-outbound-email resource\n */\nexport const getAdminEmailOutboundEmailsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminEmailOutboundEmailsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailOutboundEmailsByIdResponses,\n    GetAdminEmailOutboundEmailsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/outbound-emails/{id}\",\n    ...options,\n  });\n\n/**\n * /email/outbound-emails/:id operation on email-outbound-email resource\n *\n * /email/outbound-emails/:id operation on email-outbound-email resource\n */\nexport const patchAdminEmailOutboundEmailsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminEmailOutboundEmailsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailOutboundEmailsByIdResponses,\n    PatchAdminEmailOutboundEmailsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/outbound-emails/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List training examples with filtering support\n *\n * List training examples with filtering support\n */\nexport const getAdminTrainingExamples = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminTrainingExamplesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTrainingExamplesResponses,\n    GetAdminTrainingExamplesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-examples\",\n    ...options,\n  });\n\n/**\n * Create a single training example (golden example for few-shot learning)\n *\n * Create a single training example (golden example for few-shot learning). The `input_text`\n * is automatically vectorized via AshAi after creation using the configured embedding model,\n * enabling semantic retrieval via `:semantic_search`. Validates that `input_image_ref` is a\n * valid S3 path if provided.\n *\n * Use `:bulk_create` for ingesting multiple examples at once. Returns the created record;\n * the embedding vector is populated asynchronously after the action commits.\n *\n */\nexport const postAdminTrainingExamples = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminTrainingExamplesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTrainingExamplesResponses,\n    PostAdminTrainingExamplesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-examples\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/outbound-emails/:id/schedule operation on email-outbound-email resource\n *\n * /email/outbound-emails/:id/schedule operation on email-outbound-email resource\n */\nexport const patchAdminEmailOutboundEmailsByIdSchedule = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminEmailOutboundEmailsByIdScheduleData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailOutboundEmailsByIdScheduleResponses,\n    PatchAdminEmailOutboundEmailsByIdScheduleErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/outbound-emails/{id}/schedule\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Permanently delete a price list and all its entries\n *\n * Permanently delete a price list and all its entries. Prefer setting status to :expired to preserve history.\n */\nexport const deleteAdminCatalogPriceListsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCatalogPriceListsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCatalogPriceListsByIdResponses,\n    DeleteAdminCatalogPriceListsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/price-lists/{id}\",\n    ...options,\n  });\n\n/**\n * /catalog/price-lists/:id operation on catalog-price-list resource\n *\n * /catalog/price-lists/:id operation on catalog-price-list resource\n */\nexport const getAdminCatalogPriceListsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminCatalogPriceListsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogPriceListsByIdResponses,\n    GetAdminCatalogPriceListsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/price-lists/{id}\",\n    ...options,\n  });\n\n/**\n * Update price list metadata, strategy, or validity period\n *\n * Update price list metadata, strategy, or validity period. Returns the updated price list.\n */\nexport const patchAdminCatalogPriceListsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCatalogPriceListsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCatalogPriceListsByIdResponses,\n    PatchAdminCatalogPriceListsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/price-lists/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /users/auth/magic-link/login operation on user resource\n *\n * /users/auth/magic-link/login operation on user resource\n */\nexport const postAdminUsersAuthMagicLinkLogin = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminUsersAuthMagicLinkLoginData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminUsersAuthMagicLinkLoginResponses,\n    PostAdminUsersAuthMagicLinkLoginErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/auth/magic-link/login\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List only active API keys\n *\n * List only active API keys\n */\nexport const getAdminApiKeysActive = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminApiKeysActiveData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminApiKeysActiveResponses,\n    GetAdminApiKeysActiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/api-keys/active\",\n    ...options,\n  });\n\n/**\n * /crm/custom-entities/:entity_id/versions operation on crm-custom-entity-version resource\n *\n * /crm/custom-entities/:entity_id/versions operation on crm-custom-entity-version resource\n */\nexport const getAdminCrmCustomEntitiesByEntityIdVersions = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCrmCustomEntitiesByEntityIdVersionsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmCustomEntitiesByEntityIdVersionsResponses,\n    GetAdminCrmCustomEntitiesByEntityIdVersionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/custom-entities/{entity_id}/versions\",\n    ...options,\n  });\n\n/**\n * /clinical/client-supplements/:id/archive operation on clinical-client-supplement resource\n *\n * /clinical/client-supplements/:id/archive operation on clinical-client-supplement resource\n */\nexport const patchAdminClinicalClientSupplementsByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalClientSupplementsByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientSupplementsByIdArchiveResponses,\n    PatchAdminClinicalClientSupplementsByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-supplements/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Regenerate the presigned download URL for a completed export job\n *\n * Regenerate the presigned download URL for a completed export job. Use when\n * the original URL has expired (1-hour TTL). Only works on jobs with status\n * :complete and a stored file_key. Returns the updated job with a fresh\n * file_url and url_expires_at.\n *\n */\nexport const patchAdminCrmExportsByIdRefreshUrl = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmExportsByIdRefreshUrlData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmExportsByIdRefreshUrlResponses,\n    PatchAdminCrmExportsByIdRefreshUrlErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/exports/{id}/refresh-url\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Enable a disabled schedule so it resumes automatic crawling on its next_run_at.\n *\n * Enable a disabled schedule so it resumes automatic crawling on its next_run_at.\n */\nexport const patchAdminCrawlerSchedulesByIdEnable = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrawlerSchedulesByIdEnableData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrawlerSchedulesByIdEnableResponses,\n    PatchAdminCrawlerSchedulesByIdEnableErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/schedules/{id}/enable\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /post-processing-hooks operation on post-processing-hook resource\n *\n * /post-processing-hooks operation on post-processing-hook resource\n */\nexport const getAdminPostProcessingHooks = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPostProcessingHooksData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPostProcessingHooksResponses,\n    GetAdminPostProcessingHooksErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/post-processing-hooks\",\n    ...options,\n  });\n\n/**\n * /post-processing-hooks operation on post-processing-hook resource\n *\n * /post-processing-hooks operation on post-processing-hook resource\n */\nexport const postAdminPostProcessingHooks = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminPostProcessingHooksData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPostProcessingHooksResponses,\n    PostAdminPostProcessingHooksErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/post-processing-hooks\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Analyze training examples for conflicts, coverage, and quality\n *\n * Analyze training examples for conflicts, coverage, and quality\n */\nexport const postAdminAgentsByIdAnalyzeTraining = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminAgentsByIdAnalyzeTrainingData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentsByIdAnalyzeTrainingResponses,\n    PostAdminAgentsByIdAnalyzeTrainingErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/analyze-training\",\n    ...options,\n  });\n\n/**\n * /clinical/patient-insurance/:id operation on clinical-patient-insurance resource\n *\n * /clinical/patient-insurance/:id operation on clinical-patient-insurance resource\n */\nexport const deleteAdminClinicalPatientInsuranceById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminClinicalPatientInsuranceByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalPatientInsuranceByIdResponses,\n    DeleteAdminClinicalPatientInsuranceByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patient-insurance/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/patient-insurance/:id operation on clinical-patient-insurance resource\n *\n * /clinical/patient-insurance/:id operation on clinical-patient-insurance resource\n */\nexport const getAdminClinicalPatientInsuranceById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPatientInsuranceByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPatientInsuranceByIdResponses,\n    GetAdminClinicalPatientInsuranceByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patient-insurance/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/patient-insurance/:id operation on clinical-patient-insurance resource\n *\n * /clinical/patient-insurance/:id operation on clinical-patient-insurance resource\n */\nexport const patchAdminClinicalPatientInsuranceById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalPatientInsuranceByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPatientInsuranceByIdResponses,\n    PatchAdminClinicalPatientInsuranceByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patient-insurance/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a typed relationship edge between two CRM entities\n *\n * Create a typed relationship edge between two CRM entities. Publishes a\n * RelationshipCreated event and enqueues graph projection to Neo4j as side effects.\n * Returns the created Relationship struct.\n *\n */\nexport const postAdminCrmRelationships = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrmRelationshipsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmRelationshipsResponses,\n    PostAdminCrmRelationshipsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/relationships\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /policy-review-schedules/:id/mark-due operation on policy-review-schedule resource\n *\n * /policy-review-schedules/:id/mark-due operation on policy-review-schedule resource\n */\nexport const patchAdminPolicyReviewSchedulesByIdMarkDue = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminPolicyReviewSchedulesByIdMarkDueData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPolicyReviewSchedulesByIdMarkDueResponses,\n    PatchAdminPolicyReviewSchedulesByIdMarkDueErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/policy-review-schedules/{id}/mark-due\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Aggregated search analytics summary (platform admin only)\n *\n * Aggregated search analytics summary (platform admin only)\n */\nexport const getAdminSearchAnalyticsSummary = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSearchAnalyticsSummaryData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSearchAnalyticsSummaryResponses,\n    GetAdminSearchAnalyticsSummaryErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/search/analytics/summary\",\n    ...options,\n  });\n\n/**\n * Create multiple training examples in a single transaction using `Ash.bulk_create`\n *\n * Create multiple training examples in a single transaction using `Ash.bulk_create`. Each\n * example requires `input_text` and `output_json`; `is_confirmed` defaults to false. Embeddings\n * are generated asynchronously by AshAi after each record is inserted.\n *\n * Returns `%{results: [%{id, input_text, output_json, agent_id}]}` on success,\n * or `{:error, errors}` if any record fails validation.\n *\n */\nexport const postAdminTrainingExamplesBulk = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminTrainingExamplesBulkData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTrainingExamplesBulkResponses,\n    PostAdminTrainingExamplesBulkErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-examples/bulk\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Analyze content for SEO optimization against target keywords.\n *\n * Analyze content for SEO optimization against target keywords.\n */\nexport const postAdminContentSeoEnrich = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminContentSeoEnrichData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminContentSeoEnrichResponses,\n    PostAdminContentSeoEnrichErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/content/seo-enrich\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Clone the agent to a new one with a new name\n *\n * Clone the agent to a new one with a new name\n */\nexport const postAdminAgentsByIdClone = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAgentsByIdCloneData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentsByIdCloneResponses,\n    PostAdminAgentsByIdCloneErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/clone\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch a single export job by ID\n *\n * Fetch a single export job by ID. Use to poll job status after creating — returns :complete with file_url when ready, :failed with error message on failure.\n */\nexport const getAdminCrmExportsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCrmExportsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmExportsByIdResponses,\n    GetAdminCrmExportsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/exports/{id}\",\n    ...options,\n  });\n\n/**\n * List usage events for a tenant within a date range\n *\n * List usage events for a tenant within a date range. Default: last 30 days.\n * Use for tenant usage dashboards and ISV cost visibility reports.\n *\n */\nexport const getAdminUsageEvents = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUsageEventsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUsageEventsResponses,\n    GetAdminUsageEventsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/usage-events\",\n    ...options,\n  });\n\n/**\n * List scheduled meals for a meal schedule\n *\n * List scheduled meals for a meal schedule\n */\nexport const getAdminRecipesScheduledMealsMealScheduleByMealScheduleId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesScheduledMealsMealScheduleByMealScheduleIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesScheduledMealsMealScheduleByMealScheduleIdResponses,\n    GetAdminRecipesScheduledMealsMealScheduleByMealScheduleIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/scheduled-meals/meal-schedule/{meal_schedule_id}\",\n    ...options,\n  });\n\n/**\n * /subscriptions operation on subscription resource\n *\n * /subscriptions operation on subscription resource\n */\nexport const getAdminSubscriptions = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSubscriptionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSubscriptionsResponses,\n    GetAdminSubscriptionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/subscriptions\",\n    ...options,\n  });\n\n/**\n * /subscriptions operation on subscription resource\n *\n * /subscriptions operation on subscription resource\n */\nexport const postAdminSubscriptions = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSubscriptionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSubscriptionsResponses,\n    PostAdminSubscriptionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/subscriptions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Send a realistic sample payload to the webhook URL to verify connectivity and signature verification\n *\n * Send a realistic sample payload to the webhook URL to verify connectivity and signature verification. Enqueues a WebhookSender Oban job tagged with `test: true`; returns the WebhookConfig on success.\n */\nexport const postAdminWebhookConfigsByIdTest = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminWebhookConfigsByIdTestData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminWebhookConfigsByIdTestResponses,\n    PostAdminWebhookConfigsByIdTestErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-configs/{id}/test\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Soft-delete a company by setting deleted_at\n *\n * Soft-delete a company by setting deleted_at. Excluded from standard reads after\n * deletion. Enqueues a Meilisearch deletion job as a side effect.\n *\n */\nexport const deleteAdminCrmCompaniesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmCompaniesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmCompaniesByIdResponses,\n    DeleteAdminCrmCompaniesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/companies/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single active company by ID; excludes soft-deleted records.\n *\n * Fetch a single active company by ID; excludes soft-deleted records.\n */\nexport const getAdminCrmCompaniesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCrmCompaniesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmCompaniesByIdResponses,\n    GetAdminCrmCompaniesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/companies/{id}\",\n    ...options,\n  });\n\n/**\n * Update mutable fields on an existing company\n *\n * Update mutable fields on an existing company. Validates custom field definitions\n * and re-indexes the record in Meilisearch. Returns the updated Company struct.\n *\n */\nexport const patchAdminCrmCompaniesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmCompaniesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmCompaniesByIdResponses,\n    PatchAdminCrmCompaniesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/companies/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/browser-sessions/:id/refresh operation on browser-session resource\n *\n * /crawler/browser-sessions/:id/refresh operation on browser-session resource\n */\nexport const patchAdminCrawlerBrowserSessionsByIdRefresh = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminCrawlerBrowserSessionsByIdRefreshData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrawlerBrowserSessionsByIdRefreshResponses,\n    PatchAdminCrawlerBrowserSessionsByIdRefreshErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/browser-sessions/{id}/refresh\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /support/canned-responses/:id operation on support-canned-response resource\n *\n * /support/canned-responses/:id operation on support-canned-response resource\n */\nexport const deleteAdminSupportCannedResponsesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSupportCannedResponsesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSupportCannedResponsesByIdResponses,\n    DeleteAdminSupportCannedResponsesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/canned-responses/{id}\",\n    ...options,\n  });\n\n/**\n * Update a canned response's content, category, or shortcut\n *\n * Update a canned response's content, category, or shortcut. Changes take effect immediately for all agents in the workspace.\n */\nexport const patchAdminSupportCannedResponsesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSupportCannedResponsesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSupportCannedResponsesByIdResponses,\n    PatchAdminSupportCannedResponsesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/canned-responses/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Compare two agent versions and return the differences\n *\n * Compare two agent versions and return the differences\n */\nexport const postAdminAgentVersionComparisons = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminAgentVersionComparisonsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentVersionComparisonsResponses,\n    PostAdminAgentVersionComparisonsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agent-version-comparisons\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /storage-recommendations operation on storage-recommendation resource\n *\n * /storage-recommendations operation on storage-recommendation resource\n */\nexport const getAdminStorageRecommendations = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminStorageRecommendationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminStorageRecommendationsResponses,\n    GetAdminStorageRecommendationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-recommendations\",\n    ...options,\n  });\n\n/**\n * /clinical/patients/:id/insurance_records operation on clinical-patient-insurance resource\n *\n * /clinical/patients/:id/insurance_records operation on clinical-patient-insurance resource\n */\nexport const getAdminClinicalPatientsByIdInsuranceRecords = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalPatientsByIdInsuranceRecordsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPatientsByIdInsuranceRecordsResponses,\n    GetAdminClinicalPatientsByIdInsuranceRecordsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patients/{id}/insurance_records\",\n    ...options,\n  });\n\n/**\n * /invoices/contacts/:id operation on invoices-contact resource\n *\n * /invoices/contacts/:id operation on invoices-contact resource\n */\nexport const deleteAdminInvoicesContactsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminInvoicesContactsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminInvoicesContactsByIdResponses,\n    DeleteAdminInvoicesContactsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/contacts/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/contacts/:id operation on invoices-contact resource\n *\n * /invoices/contacts/:id operation on invoices-contact resource\n */\nexport const getAdminInvoicesContactsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminInvoicesContactsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminInvoicesContactsByIdResponses,\n    GetAdminInvoicesContactsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/contacts/{id}\",\n    ...options,\n  });\n\n/**\n * /invoices/contacts/:id operation on invoices-contact resource\n *\n * /invoices/contacts/:id operation on invoices-contact resource\n */\nexport const patchAdminInvoicesContactsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvoicesContactsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvoicesContactsByIdResponses,\n    PatchAdminInvoicesContactsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invoices/contacts/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-supplements operation on clinical-client-supplement resource\n *\n * /clinical/client-supplements operation on clinical-client-supplement resource\n */\nexport const getAdminClinicalClientSupplements = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalClientSupplementsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalClientSupplementsResponses,\n    GetAdminClinicalClientSupplementsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-supplements\",\n    ...options,\n  });\n\n/**\n * /clinical/client-supplements operation on clinical-client-supplement resource\n *\n * /clinical/client-supplements operation on clinical-client-supplement resource\n */\nexport const postAdminClinicalClientSupplements = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalClientSupplementsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalClientSupplementsResponses,\n    PostAdminClinicalClientSupplementsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-supplements\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Soft-delete a deal by setting deleted_at\n *\n * Soft-delete a deal by setting deleted_at. Excluded from standard reads after\n * deletion. Enqueues a Meilisearch deletion job as a side effect.\n *\n */\nexport const deleteAdminCrmDealsById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminCrmDealsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmDealsByIdResponses,\n    DeleteAdminCrmDealsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/deals/{id}\",\n    ...options,\n  });\n\n/**\n * Fetch a single active deal by ID; excludes soft-deleted records.\n *\n * Fetch a single active deal by ID; excludes soft-deleted records.\n */\nexport const getAdminCrmDealsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCrmDealsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmDealsByIdResponses,\n    GetAdminCrmDealsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/deals/{id}\",\n    ...options,\n  });\n\n/**\n * Update deal fields including status, AI scores, and pipeline assignment\n *\n * Update deal fields including status, AI scores, and pipeline assignment. Records\n * changed fields in metadata for downstream event processing (DealWon/DealLost\n * detection). Re-indexes in Meilisearch. Use :move_stage to change pipeline stage atomically.\n *\n */\nexport const patchAdminCrmDealsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminCrmDealsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmDealsByIdResponses,\n    PatchAdminCrmDealsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/deals/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/campaigns operation on social-campaign resource\n *\n * /social/campaigns operation on social-campaign resource\n */\nexport const getAdminSocialCampaigns = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSocialCampaignsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialCampaignsResponses,\n    GetAdminSocialCampaignsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/campaigns\",\n    ...options,\n  });\n\n/**\n * /social/campaigns operation on social-campaign resource\n *\n * /social/campaigns operation on social-campaign resource\n */\nexport const postAdminSocialCampaigns = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminSocialCampaignsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSocialCampaignsResponses,\n    PostAdminSocialCampaignsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/campaigns\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/unsubscribers/workspace/:workspace_id operation on email-unsubscriber resource\n *\n * /email-marketing/unsubscribers/workspace/:workspace_id operation on email-unsubscriber resource\n */\nexport const getAdminEmailMarketingUnsubscribersWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailMarketingUnsubscribersWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailMarketingUnsubscribersWorkspaceByWorkspaceIdResponses,\n    GetAdminEmailMarketingUnsubscribersWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/unsubscribers/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Merge the provided metadata map into the thread's existing metadata (shallow merge via Map.merge/2)\n *\n * Merge the provided metadata map into the thread's existing metadata (shallow merge via Map.merge/2). Keys present in the input overwrite existing keys; keys not present are preserved. Use :update instead for full replacement.\n */\nexport const patchAdminThreadsByIdMetadata = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminThreadsByIdMetadataData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminThreadsByIdMetadataResponses,\n    PatchAdminThreadsByIdMetadataErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/{id}/metadata\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Re-enqueue a failed or pending delivery for immediate re-dispatch\n *\n * Re-enqueue a failed or pending delivery for immediate re-dispatch. Sets the delivery status to `:retrying` and inserts a new WebhookSender Oban job. Returns the updated WebhookDelivery.\n */\nexport const postAdminWebhookDeliveriesByIdRetry = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminWebhookDeliveriesByIdRetryData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminWebhookDeliveriesByIdRetryResponses,\n    PostAdminWebhookDeliveriesByIdRetryErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/webhook-deliveries/{id}/retry\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/sender-profiles/:id/validate-dns operation on email-marketing-sender-profile resource\n *\n * /email-marketing/sender-profiles/:id/validate-dns operation on email-marketing-sender-profile resource\n */\nexport const patchAdminEmailMarketingSenderProfilesByIdValidateDns = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminEmailMarketingSenderProfilesByIdValidateDnsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminEmailMarketingSenderProfilesByIdValidateDnsResponses,\n    PatchAdminEmailMarketingSenderProfilesByIdValidateDnsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/sender-profiles/{id}/validate-dns\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all tenants the current user belongs to with their roles and permissions\n *\n * List all tenants the current user belongs to with their roles and permissions\n */\nexport const getAdminUsersMeTenants = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUsersMeTenantsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUsersMeTenantsResponses,\n    GetAdminUsersMeTenantsErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/me/tenants\",\n    ...options,\n  });\n\n/**\n * List pipelines by workflow type\n *\n * List pipelines by workflow type. Keyset-paginated.\n */\nexport const getAdminPipelinesByWorkflowType = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPipelinesByWorkflowTypeData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPipelinesByWorkflowTypeResponses,\n    GetAdminPipelinesByWorkflowTypeErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipelines/by-workflow-type\",\n    ...options,\n  });\n\n/**\n * Increment used_units by a given amount\n *\n * Increment used_units by a given amount. Used by session completion.\n */\nexport const patchAdminClinicalInsuranceAuthorizationsByIdIncrement = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalInsuranceAuthorizationsByIdIncrementData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalInsuranceAuthorizationsByIdIncrementResponses,\n    PatchAdminClinicalInsuranceAuthorizationsByIdIncrementErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/insurance-authorizations/{id}/increment\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/documents operation on clinical-document resource\n *\n * /clinical/documents operation on clinical-document resource\n */\nexport const getAdminClinicalDocuments = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminClinicalDocumentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalDocumentsResponses,\n    GetAdminClinicalDocumentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/documents\",\n    ...options,\n  });\n\n/**\n * /clinical/documents operation on clinical-document resource\n *\n * /clinical/documents operation on clinical-document resource\n */\nexport const postAdminClinicalDocuments = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalDocumentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalDocumentsResponses,\n    PostAdminClinicalDocumentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/documents\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Process a payment (Auth + Capture)\n *\n * Process a payment (Auth + Capture)\n */\nexport const postAdminPayments = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminPaymentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPaymentsResponses,\n    PostAdminPaymentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/payments\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-resources/:id/archive operation on clinical-practice-resource resource\n *\n * /clinical/practice-resources/:id/archive operation on clinical-practice-resource resource\n */\nexport const patchAdminClinicalPracticeResourcesByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalPracticeResourcesByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPracticeResourcesByIdArchiveResponses,\n    PatchAdminClinicalPracticeResourcesByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-resources/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all canned responses for a workspace\n *\n * List all canned responses for a workspace. Use to populate the ticket composer's response picker. Filter by category or shortcut in the caller.\n */\nexport const getAdminSupportCannedResponsesWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSupportCannedResponsesWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportCannedResponsesWorkspaceByWorkspaceIdResponses,\n    GetAdminSupportCannedResponsesWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/canned-responses/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /recipes/shopping-lists/regenerate operation on recipes-shopping-list resource\n *\n * /recipes/shopping-lists/regenerate operation on recipes-shopping-list resource\n */\nexport const postAdminRecipesShoppingListsRegenerate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminRecipesShoppingListsRegenerateData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRecipesShoppingListsRegenerateResponses,\n    PostAdminRecipesShoppingListsRegenerateErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/shopping-lists/regenerate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/accounts/:id/deactivate operation on social-account resource\n *\n * /social/accounts/:id/deactivate operation on social-account resource\n */\nexport const patchAdminSocialAccountsByIdDeactivate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSocialAccountsByIdDeactivateData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialAccountsByIdDeactivateResponses,\n    PatchAdminSocialAccountsByIdDeactivateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/accounts/{id}/deactivate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/meal-plans/:id operation on clinical-meal-plan resource\n *\n * /clinical/meal-plans/:id operation on clinical-meal-plan resource\n */\nexport const getAdminClinicalMealPlansById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalMealPlansByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalMealPlansByIdResponses,\n    GetAdminClinicalMealPlansByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/meal-plans/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/meal-plans/:id operation on clinical-meal-plan resource\n *\n * /clinical/meal-plans/:id operation on clinical-meal-plan resource\n */\nexport const patchAdminClinicalMealPlansById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalMealPlansByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalMealPlansByIdResponses,\n    PatchAdminClinicalMealPlansByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/meal-plans/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /user-profiles operation on user-profile resource\n *\n * /user-profiles operation on user-profile resource\n */\nexport const getAdminUserProfiles = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminUserProfilesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminUserProfilesResponses,\n    GetAdminUserProfilesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/user-profiles\",\n    ...options,\n  });\n\n/**\n * Create a user profile record linked to an existing user\n *\n * Create a user profile record linked to an existing user. Typically called\n * automatically during user registration via CreatePersonalTenant. Callers should\n * use :update for subsequent edits. user_id must correspond to the authenticated\n * actor's own account unless called via a system actor.\n *\n * Returns the created UserProfile record.\n *\n */\nexport const postAdminUserProfiles = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminUserProfilesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminUserProfilesResponses,\n    PostAdminUserProfilesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/user-profiles\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create a new CRM company\n *\n * Create a new CRM company. Validates against workspace company quota and custom\n * field definitions. Triggers Meilisearch indexing as a side effect. Returns the\n * created Company struct.\n *\n */\nexport const postAdminCrmCompanies = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrmCompaniesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrmCompaniesResponses,\n    PostAdminCrmCompaniesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/companies\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Match AI-generated supplement names to Fullscript products\n *\n * Match AI-generated supplement names to Fullscript products\n */\nexport const postAdminConnectorsFullscriptProductsMatch = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminConnectorsFullscriptProductsMatchData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsFullscriptProductsMatchResponses,\n    PostAdminConnectorsFullscriptProductsMatchErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/fullscript/products/match\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch active legal documents filtered by locale and optional region, used to display the appropriate ToS or Privacy Policy to a user based on their location.\n *\n * Fetch active legal documents filtered by locale and optional region, used to display the appropriate ToS or Privacy Policy to a user based on their location.\n */\nexport const getAdminLegalDocumentsByLocale = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminLegalDocumentsByLocaleData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLegalDocumentsByLocaleResponses,\n    GetAdminLegalDocumentsByLocaleErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/legal-documents/by-locale\",\n    ...options,\n  });\n\n/**\n * Fetch a single booking by ID\n *\n * Fetch a single booking by ID. Returns status, booker info, and linked event_id. Note: verification_token and sync_token are excluded (sensitive? true).\n */\nexport const getAdminSchedulingBookingsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingBookingsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingBookingsByIdResponses,\n    GetAdminSchedulingBookingsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/bookings/{id}\",\n    ...options,\n  });\n\n/**\n * Trigger AI inference on an existing thread without providing new user message content\n *\n * Trigger AI inference on an existing thread without providing new user message content.\n * Uses the last user message as RAG context query. Runs the full pipeline:\n * VectorSearch + GraphLookup + SynthesizeResponse + ChargeTenant.\n * Saves the synthesized assistant reply as a Message and returns the updated Thread.\n * Use this to let the AI proactively continue a conversation.\n *\n */\nexport const postAdminThreadsByIdComplete = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminThreadsByIdCompleteData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminThreadsByIdCompleteResponses,\n    PostAdminThreadsByIdCompleteErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/threads/{id}/complete\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /voice/transcription-jobs/mine operation on transcription-job resource\n *\n * /voice/transcription-jobs/mine operation on transcription-job resource\n */\nexport const getAdminVoiceTranscriptionJobsMine = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminVoiceTranscriptionJobsMineData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceTranscriptionJobsMineResponses,\n    GetAdminVoiceTranscriptionJobsMineErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/transcription-jobs/mine\",\n    ...options,\n  });\n\n/**\n * /customers operation on customer resource\n *\n * /customers operation on customer resource\n */\nexport const postAdminCustomers = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCustomersData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCustomersResponses,\n    PostAdminCustomersErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/customers\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /connectors/oauth-app-configs/:id operation on oauth-app-config resource\n *\n * /connectors/oauth-app-configs/:id operation on oauth-app-config resource\n */\nexport const deleteAdminConnectorsOauthAppConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminConnectorsOauthAppConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminConnectorsOauthAppConfigsByIdResponses,\n    DeleteAdminConnectorsOauthAppConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/oauth-app-configs/{id}\",\n    ...options,\n  });\n\n/**\n * /connectors/oauth-app-configs/:id operation on oauth-app-config resource\n *\n * /connectors/oauth-app-configs/:id operation on oauth-app-config resource\n */\nexport const getAdminConnectorsOauthAppConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminConnectorsOauthAppConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminConnectorsOauthAppConfigsByIdResponses,\n    GetAdminConnectorsOauthAppConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/oauth-app-configs/{id}\",\n    ...options,\n  });\n\n/**\n * /connectors/oauth-app-configs/:id operation on oauth-app-config resource\n *\n * /connectors/oauth-app-configs/:id operation on oauth-app-config resource\n */\nexport const patchAdminConnectorsOauthAppConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminConnectorsOauthAppConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminConnectorsOauthAppConfigsByIdResponses,\n    PatchAdminConnectorsOauthAppConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/oauth-app-configs/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List active availability rules for a specific user\n *\n * List active availability rules for a specific user. Returns both :recurring and :override type rules. Used by AvailabilityEngine when computing slots for a user.\n */\nexport const getAdminSchedulingAvailabilityRulesByUser = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingAvailabilityRulesByUserData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingAvailabilityRulesByUserResponses,\n    GetAdminSchedulingAvailabilityRulesByUserErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/availability-rules/by-user\",\n    ...options,\n  });\n\n/**\n * List favorites for a recipe\n *\n * List favorites for a recipe\n */\nexport const getAdminRecipesFavoritesRecipeByRecipeId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesFavoritesRecipeByRecipeIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesFavoritesRecipeByRecipeIdResponses,\n    GetAdminRecipesFavoritesRecipeByRecipeIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/favorites/recipe/{recipe_id}\",\n    ...options,\n  });\n\n/**\n * /clinical/client-resource-assignments operation on clinical-client-resource-assignment resource\n *\n * /clinical/client-resource-assignments operation on clinical-client-resource-assignment resource\n */\nexport const getAdminClinicalClientResourceAssignments = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalClientResourceAssignmentsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalClientResourceAssignmentsResponses,\n    GetAdminClinicalClientResourceAssignmentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-resource-assignments\",\n    ...options,\n  });\n\n/**\n * /clinical/client-resource-assignments operation on clinical-client-resource-assignment resource\n *\n * /clinical/client-resource-assignments operation on clinical-client-resource-assignment resource\n */\nexport const postAdminClinicalClientResourceAssignments = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminClinicalClientResourceAssignmentsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalClientResourceAssignmentsResponses,\n    PostAdminClinicalClientResourceAssignmentsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-resource-assignments\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Apply human corrections to extracted field values\n *\n * Apply human corrections to extracted field values. Each correction sets the field's\n * `confidence` to 1.0 and `_source` to `\"user\"`, overriding the AI-extracted value.\n * Recalculates the `summary` statistics after applying all corrections.\n *\n * Side effects: synchronously updates the parent Document's `verification_status` to\n * `:partially_verified` and `avg_confidence` to the recalculated value via\n * `:update_verification`. This action is the entry point for the active-learning feedback loop.\n *\n * Returns the updated ExtractionResult with corrected fields and recalculated summary.\n *\n */\nexport const patchAdminExtractionResultsByIdSaveCorrections = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminExtractionResultsByIdSaveCorrectionsData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionResultsByIdSaveCorrectionsResponses,\n    PatchAdminExtractionResultsByIdSaveCorrectionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/results/{id}/save-corrections\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crm/pipelines/:id operation on crm-pipeline resource\n *\n * /crm/pipelines/:id operation on crm-pipeline resource\n */\nexport const deleteAdminCrmPipelinesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmPipelinesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmPipelinesByIdResponses,\n    DeleteAdminCrmPipelinesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/pipelines/{id}\",\n    ...options,\n  });\n\n/**\n * /crm/pipelines/:id operation on crm-pipeline resource\n *\n * /crm/pipelines/:id operation on crm-pipeline resource\n */\nexport const getAdminCrmPipelinesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCrmPipelinesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrmPipelinesByIdResponses,\n    GetAdminCrmPipelinesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/pipelines/{id}\",\n    ...options,\n  });\n\n/**\n * Update a pipeline's name or default status\n *\n * Update a pipeline's name or default status. Returns the updated Pipeline struct.\n */\nexport const patchAdminCrmPipelinesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmPipelinesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmPipelinesByIdResponses,\n    PatchAdminCrmPipelinesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/pipelines/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /training-sessions operation on training-session resource\n *\n * /training-sessions operation on training-session resource\n */\nexport const getAdminTrainingSessions = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminTrainingSessionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTrainingSessionsResponses,\n    GetAdminTrainingSessionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-sessions\",\n    ...options,\n  });\n\n/**\n * /training-sessions operation on training-session resource\n *\n * /training-sessions operation on training-session resource\n */\nexport const postAdminTrainingSessions = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminTrainingSessionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminTrainingSessionsResponses,\n    PostAdminTrainingSessionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-sessions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Refresh OAuth credential token.\n *\n * Refresh OAuth credential token.\n */\nexport const postAdminConnectorsCredentialsByIdRefresh = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminConnectorsCredentialsByIdRefreshData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminConnectorsCredentialsByIdRefreshResponses,\n    PostAdminConnectorsCredentialsByIdRefreshErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/connectors/credentials/{id}/refresh\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Batch read usage for all accessible agents\n *\n * Batch read usage for all accessible agents\n */\nexport const getAdminAgentsUsage = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAgentsUsageData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAgentsUsageResponses,\n    GetAdminAgentsUsageErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/usage\",\n    ...options,\n  });\n\n/**\n * /crm/addresses/:id/set-primary operation on crm-address resource\n *\n * /crm/addresses/:id/set-primary operation on crm-address resource\n */\nexport const patchAdminCrmAddressesByIdSetPrimary = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmAddressesByIdSetPrimaryData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmAddressesByIdSetPrimaryResponses,\n    PatchAdminCrmAddressesByIdSetPrimaryErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/addresses/{id}/set-primary\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Enqueue a background job to populate file hashes for documents missing them\n *\n * Enqueue a background job to populate file hashes for documents missing them\n */\nexport const patchAdminWorkspacesByIdPopulateHashes = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminWorkspacesByIdPopulateHashesData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminWorkspacesByIdPopulateHashesResponses,\n    PatchAdminWorkspacesByIdPopulateHashesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/workspaces/{id}/populate-hashes\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch a single permission preset by its composite ID (e.g., 'workspace:org:admin'); returns the preset with its full permission list or a not-found error.\n *\n * Fetch a single permission preset by its composite ID (e.g., 'workspace:org:admin'); returns the preset with its full permission list or a not-found error.\n */\nexport const getAdminPermissionsPresetsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminPermissionsPresetsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPermissionsPresetsByIdResponses,\n    GetAdminPermissionsPresetsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/permissions/presets/{id}\",\n    ...options,\n  });\n\n/**\n * /social/trending/history operation on trending-snapshot resource\n *\n * /social/trending/history operation on trending-snapshot resource\n */\nexport const postAdminSocialTrendingHistory = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSocialTrendingHistoryData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSocialTrendingHistoryResponses,\n    PostAdminSocialTrendingHistoryErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/trending/history\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /form-generations/:id/cancel operation on form-generation-job resource\n *\n * /form-generations/:id/cancel operation on form-generation-job resource\n */\nexport const patchAdminFormGenerationsByIdCancel = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminFormGenerationsByIdCancelData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminFormGenerationsByIdCancelResponses,\n    PatchAdminFormGenerationsByIdCancelErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-generations/{id}/cancel\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create multiple supplements in a single request (e.g., from a treatment plan)\n *\n * Create multiple supplements in a single request (e.g., from a treatment plan)\n */\nexport const postAdminClinicalClientSupplementsBulk = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalClientSupplementsBulkData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalClientSupplementsBulkResponses,\n    PostAdminClinicalClientSupplementsBulkErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-supplements/bulk\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Create an application-scoped SLA policy defining first_response and resolution targets in minutes\n *\n * Create an application-scoped SLA policy defining first_response and resolution targets in minutes. priority_filter optionally restricts the policy to specific ticket priorities. Name is unique per application.\n */\nexport const postAdminSupportSlaPolicies = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSupportSlaPoliciesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSupportSlaPoliciesResponses,\n    PostAdminSupportSlaPoliciesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/sla-policies\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List published recipes only\n *\n * List published recipes only\n */\nexport const getAdminRecipesWorkspaceByWorkspaceIdPublished = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesWorkspaceByWorkspaceIdPublishedData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesWorkspaceByWorkspaceIdPublishedResponses,\n    GetAdminRecipesWorkspaceByWorkspaceIdPublishedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/workspace/{workspace_id}/published\",\n    ...options,\n  });\n\n/**\n * Validate sample output against agent schema\n *\n * Validate sample output against agent schema\n */\nexport const postAdminAgentsByIdValidate = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminAgentsByIdValidateData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAgentsByIdValidateResponses,\n    PostAdminAgentsByIdValidateErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/agents/{id}/validate\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Send a test email using this template\n *\n * Send a test email using this template\n */\nexport const postAdminApplicationsByApplicationIdEmailTemplatesBySlugTest = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PostAdminApplicationsByApplicationIdEmailTemplatesBySlugTestData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).post<\n    PostAdminApplicationsByApplicationIdEmailTemplatesBySlugTestResponses,\n    PostAdminApplicationsByApplicationIdEmailTemplatesBySlugTestErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/{application_id}/email-templates/{slug}/test\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/health-metrics/archived operation on clinical-health-metric resource\n *\n * /clinical/health-metrics/archived operation on clinical-health-metric resource\n */\nexport const getAdminClinicalHealthMetricsArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalHealthMetricsArchivedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalHealthMetricsArchivedResponses,\n    GetAdminClinicalHealthMetricsArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/health-metrics/archived\",\n    ...options,\n  });\n\n/**\n * Schedule a plan for sunset\n *\n * Schedule a plan for sunset. At `sunset_at`, remaining subscribers will be\n * force-migrated to `replacement_plan_id` (Phase 4 worker). The plan must be\n * `:active` or `:deprecated`. `sunset_at` must be at least 1 hour in the\n * future. `replacement_plan_id`, when provided, must reference an `:active`\n * Plan in the same Application.\n *\n * Requires Platform Admin or Application Owner role.\n *\n */\nexport const patchAdminPlansByIdScheduleSunset = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPlansByIdScheduleSunsetData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPlansByIdScheduleSunsetResponses,\n    PatchAdminPlansByIdScheduleSunsetErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/plans/{id}/schedule-sunset\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/meal-plans operation on clinical-meal-plan resource\n *\n * /clinical/meal-plans operation on clinical-meal-plan resource\n */\nexport const getAdminClinicalMealPlans = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminClinicalMealPlansData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalMealPlansResponses,\n    GetAdminClinicalMealPlansErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/meal-plans\",\n    ...options,\n  });\n\n/**\n * /clinical/meal-plans operation on clinical-meal-plan resource\n *\n * /clinical/meal-plans operation on clinical-meal-plan resource\n */\nexport const postAdminClinicalMealPlans = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalMealPlansData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalMealPlansResponses,\n    PostAdminClinicalMealPlansErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/meal-plans\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /pipelines/:id operation on pipeline resource\n *\n * /pipelines/:id operation on pipeline resource\n */\nexport const deleteAdminPipelinesById = <ThrowOnError extends boolean = false>(\n  options: Options<DeleteAdminPipelinesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminPipelinesByIdResponses,\n    DeleteAdminPipelinesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipelines/{id}\",\n    ...options,\n  });\n\n/**\n * /pipelines/:id operation on pipeline resource\n *\n * /pipelines/:id operation on pipeline resource\n */\nexport const getAdminPipelinesById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPipelinesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPipelinesByIdResponses,\n    GetAdminPipelinesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipelines/{id}\",\n    ...options,\n  });\n\n/**\n * Update pipeline metadata or node graph.\n *\n * Update pipeline metadata or node graph.\n */\nexport const patchAdminPipelinesById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminPipelinesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPipelinesByIdResponses,\n    PatchAdminPipelinesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/pipelines/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/patients/:id/supplements operation on clinical-client-supplement resource\n *\n * /clinical/patients/:id/supplements operation on clinical-client-supplement resource\n */\nexport const getAdminClinicalPatientsByIdSupplements = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPatientsByIdSupplementsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPatientsByIdSupplementsResponses,\n    GetAdminClinicalPatientsByIdSupplementsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/patients/{id}/supplements\",\n    ...options,\n  });\n\n/**\n * Accept a legal document (Terms of Service, Privacy Policy, BAA, etc.) at\n * a given version\n *\n * Accept a legal document (Terms of Service, Privacy Policy, BAA, etc.) at\n * a given version. Generic over `document_type` — same shape for every legal\n * document the platform tracks. Records a `LegalAcceptance` row (source of\n * truth for SystemMessages) and, when `document_type == :terms_of_service`,\n * auto-grants the `:ai_document_processing` consent record. RFI-C5-R.\n *\n */\nexport const patchAdminUserProfilesByIdAcceptLegalDocument = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminUserProfilesByIdAcceptLegalDocumentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminUserProfilesByIdAcceptLegalDocumentResponses,\n    PatchAdminUserProfilesByIdAcceptLegalDocumentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/user-profiles/{id}/accept-legal-document\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * RD rejects the clinical note.\n *\n * RD rejects the clinical note.\n */\nexport const patchAdminClinicalNotesByIdReject = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalNotesByIdRejectData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalNotesByIdRejectResponses,\n    PatchAdminClinicalNotesByIdRejectErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/notes/{id}/reject\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /training-sessions/:id/revert operation on training-session resource\n *\n * /training-sessions/:id/revert operation on training-session resource\n */\nexport const patchAdminTrainingSessionsByIdRevert = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminTrainingSessionsByIdRevertData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminTrainingSessionsByIdRevertResponses,\n    PatchAdminTrainingSessionsByIdRevertErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/training-sessions/{id}/revert\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /isv-pricing-overrides/:id operation on isv-pricing-override resource\n *\n * /isv-pricing-overrides/:id operation on isv-pricing-override resource\n */\nexport const getAdminIsvPricingOverridesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminIsvPricingOverridesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminIsvPricingOverridesByIdResponses,\n    GetAdminIsvPricingOverridesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv-pricing-overrides/{id}\",\n    ...options,\n  });\n\n/**\n * /isv-pricing-overrides/:id operation on isv-pricing-override resource\n *\n * /isv-pricing-overrides/:id operation on isv-pricing-override resource\n */\nexport const patchAdminIsvPricingOverridesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminIsvPricingOverridesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminIsvPricingOverridesByIdResponses,\n    PatchAdminIsvPricingOverridesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv-pricing-overrides/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/posts/:id operation on social-post resource\n *\n * /social/posts/:id operation on social-post resource\n */\nexport const deleteAdminSocialPostsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminSocialPostsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminSocialPostsByIdResponses,\n    DeleteAdminSocialPostsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/posts/{id}\",\n    ...options,\n  });\n\n/**\n * /social/posts/:id operation on social-post resource\n *\n * /social/posts/:id operation on social-post resource\n */\nexport const getAdminSocialPostsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminSocialPostsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialPostsByIdResponses,\n    GetAdminSocialPostsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/posts/{id}\",\n    ...options,\n  });\n\n/**\n * /social/posts/:id operation on social-post resource\n *\n * /social/posts/:id operation on social-post resource\n */\nexport const patchAdminSocialPostsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminSocialPostsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSocialPostsByIdResponses,\n    PatchAdminSocialPostsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/posts/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Permanently delete an application and all associated data\n *\n * Permanently delete an application and all associated data. Cascades bulk\n * destruction of: email templates, API keys, transactions, billing plans, credit\n * packages, legal documents, and the application billing account. Finally deletes the application\n * row. Restricted to platform admins or the application owner.\n *\n */\nexport const deleteAdminApplicationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminApplicationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminApplicationsByIdResponses,\n    DeleteAdminApplicationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/{id}\",\n    ...options,\n  });\n\n/**\n * /applications/:id operation on application resource\n *\n * /applications/:id operation on application resource\n */\nexport const getAdminApplicationsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminApplicationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminApplicationsByIdResponses,\n    GetAdminApplicationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/{id}\",\n    ...options,\n  });\n\n/**\n * Update application configuration including branding, email settings, capability\n * flags, workspace mode, execution limits, and compliance tags\n *\n * Update application configuration including branding, email settings, capability\n * flags, workspace mode, execution limits, and compliance tags. Validates\n * enabled_capabilities, their dependency graph, and compliance tag compatibility.\n * Use :allocate_credits for funding the application account.\n *\n */\nexport const patchAdminApplicationsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminApplicationsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminApplicationsByIdResponses,\n    PatchAdminApplicationsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/applications/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Decline a pending invitation\n *\n * Decline a pending invitation. Only the recipient (authenticated user whose email\n * matches the invitation email) can decline. Sets status to :declined and logs an\n * audit event. A declined invitation cannot be re-accepted; the inviter must create\n * a new invitation if the recipient changes their mind.\n *\n */\nexport const patchAdminInvitationsByIdDecline = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminInvitationsByIdDeclineData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminInvitationsByIdDeclineResponses,\n    PatchAdminInvitationsByIdDeclineErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/invitations/{id}/decline\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/health-metrics/by-type operation on clinical-health-metric resource\n *\n * /clinical/health-metrics/by-type operation on clinical-health-metric resource\n */\nexport const getAdminClinicalHealthMetricsByType = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalHealthMetricsByTypeData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalHealthMetricsByTypeResponses,\n    GetAdminClinicalHealthMetricsByTypeErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/health-metrics/by-type\",\n    ...options,\n  });\n\n/**\n * Public action for users to request a password reset email\n *\n * Public action for users to request a password reset email\n */\nexport const postAdminUsersAuthPasswordResetRequest = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminUsersAuthPasswordResetRequestData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminUsersAuthPasswordResetRequestResponses,\n    PostAdminUsersAuthPasswordResetRequestErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/auth/password-reset/request\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Fetch a single active event type by its URL-friendly slug\n *\n * Fetch a single active event type by its URL-friendly slug. Used for public booking page resolution where slug is in the URL. Returns nil if not found or archived.\n */\nexport const getAdminSchedulingEventTypesBySlug = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminSchedulingEventTypesBySlugData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminSchedulingEventTypesBySlugResponses,\n    GetAdminSchedulingEventTypesBySlugErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scheduling/event-types/by-slug\",\n    ...options,\n  });\n\n/**\n * /clinical/goal-templates/catalog/:id/permanent operation on clinical-goal-template resource\n *\n * /clinical/goal-templates/catalog/:id/permanent operation on clinical-goal-template resource\n */\nexport const deleteAdminClinicalGoalTemplatesCatalogByIdPermanent = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    DeleteAdminClinicalGoalTemplatesCatalogByIdPermanentData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminClinicalGoalTemplatesCatalogByIdPermanentResponses,\n    DeleteAdminClinicalGoalTemplatesCatalogByIdPermanentErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/goal-templates/catalog/{id}/permanent\",\n    ...options,\n  });\n\n/**\n * Triggers batch sending for approved emails\n *\n * Triggers batch sending for approved emails\n */\nexport const postAdminEmailMarketingCampaignsByIdSend = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminEmailMarketingCampaignsByIdSendData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailMarketingCampaignsByIdSendResponses,\n    PostAdminEmailMarketingCampaignsByIdSendErrors,\n    ThrowOnError\n  >({\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/campaigns/{id}/send\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /scan-results/:id operation on scan-result resource\n *\n * /scan-results/:id operation on scan-result resource\n */\nexport const getAdminScanResultsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminScanResultsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminScanResultsByIdResponses,\n    GetAdminScanResultsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/scan-results/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/nutrition-summaries/:id operation on recipes-nutrition-summary resource\n *\n * /recipes/nutrition-summaries/:id operation on recipes-nutrition-summary resource\n */\nexport const getAdminRecipesNutritionSummariesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminRecipesNutritionSummariesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesNutritionSummariesByIdResponses,\n    GetAdminRecipesNutritionSummariesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/nutrition-summaries/{id}\",\n    ...options,\n  });\n\n/**\n * Add an agent to a support queue with a role and capacity\n *\n * Add an agent to a support queue with a role and capacity. User is unique per queue (identity :queue_user_unique). Returns the created QueueMember.\n */\nexport const postAdminSupportQueueMembers = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminSupportQueueMembersData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminSupportQueueMembersResponses,\n    PostAdminSupportQueueMembersErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/queue-members\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /settlement-statements/:id/mark-paid operation on settlement-statement resource\n *\n * /settlement-statements/:id/mark-paid operation on settlement-statement resource\n */\nexport const patchAdminSettlementStatementsByIdMarkPaid = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminSettlementStatementsByIdMarkPaidData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSettlementStatementsByIdMarkPaidResponses,\n    PatchAdminSettlementStatementsByIdMarkPaidErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlement-statements/{id}/mark-paid\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /processing-activities operation on processing-activity resource\n *\n * /processing-activities operation on processing-activity resource\n */\nexport const getAdminProcessingActivities = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminProcessingActivitiesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminProcessingActivitiesResponses,\n    GetAdminProcessingActivitiesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/processing-activities\",\n    ...options,\n  });\n\n/**\n * Add a new GDPR Article 30 Record of Processing Activities (ROPA) entry, documenting a processing purpose, the categories of personal data processed, data subjects, recipients, and legal basis for the workspace.\n *\n * Add a new GDPR Article 30 Record of Processing Activities (ROPA) entry, documenting a processing purpose, the categories of personal data processed, data subjects, recipients, and legal basis for the workspace.\n */\nexport const postAdminProcessingActivities = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminProcessingActivitiesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminProcessingActivitiesResponses,\n    PostAdminProcessingActivitiesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/processing-activities\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email-marketing/sender-profiles operation on email-marketing-sender-profile resource\n *\n * /email-marketing/sender-profiles operation on email-marketing-sender-profile resource\n */\nexport const postAdminEmailMarketingSenderProfiles = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminEmailMarketingSenderProfilesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminEmailMarketingSenderProfilesResponses,\n    PostAdminEmailMarketingSenderProfilesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email-marketing/sender-profiles\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /reviews/:id/unclaim operation on review resource\n *\n * /reviews/:id/unclaim operation on review resource\n */\nexport const patchAdminReviewsByIdUnclaim = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminReviewsByIdUnclaimData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminReviewsByIdUnclaimResponses,\n    PatchAdminReviewsByIdUnclaimErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/reviews/{id}/unclaim\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Set this payment method as default for the customer\n *\n * Set this payment method as default for the customer\n */\nexport const patchAdminPaymentMethodsByIdDefault = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminPaymentMethodsByIdDefaultData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminPaymentMethodsByIdDefaultResponses,\n    PatchAdminPaymentMethodsByIdDefaultErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/payment-methods/{id}/default\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Generate presigned URLs for batch document upload\n *\n * Generate presigned URLs for batch document upload\n */\nexport const getAdminExtractionBatchesByIdUploadUrls = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminExtractionBatchesByIdUploadUrlsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminExtractionBatchesByIdUploadUrlsResponses,\n    GetAdminExtractionBatchesByIdUploadUrlsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/batches/{id}/upload-urls\",\n    ...options,\n  });\n\n/**\n * /isv-pricing-overrides operation on isv-pricing-override resource\n *\n * /isv-pricing-overrides operation on isv-pricing-override resource\n */\nexport const getAdminIsvPricingOverrides = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminIsvPricingOverridesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminIsvPricingOverridesResponses,\n    GetAdminIsvPricingOverridesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv-pricing-overrides\",\n    ...options,\n  });\n\n/**\n * /isv-pricing-overrides operation on isv-pricing-override resource\n *\n * /isv-pricing-overrides operation on isv-pricing-override resource\n */\nexport const postAdminIsvPricingOverrides = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminIsvPricingOverridesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminIsvPricingOverridesResponses,\n    PostAdminIsvPricingOverridesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/isv-pricing-overrides\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /compliance/posture operation on compliance-posture resource\n *\n * /compliance/posture operation on compliance-posture resource\n */\nexport const getAdminCompliancePosture = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCompliancePostureData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCompliancePostureResponses,\n    GetAdminCompliancePostureErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance/posture\",\n    ...options,\n  });\n\n/**\n * /settlements/:id/release operation on settlement resource\n *\n * /settlements/:id/release operation on settlement resource\n */\nexport const patchAdminSettlementsByIdRelease = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSettlementsByIdReleaseData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSettlementsByIdReleaseResponses,\n    PatchAdminSettlementsByIdReleaseErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/settlements/{id}/release\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /tenants/:tenant_id/stats operation on tenant-stats resource\n *\n * /tenants/:tenant_id/stats operation on tenant-stats resource\n */\nexport const getAdminTenantsByTenantIdStats = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminTenantsByTenantIdStatsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminTenantsByTenantIdStatsResponses,\n    GetAdminTenantsByTenantIdStatsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/tenants/{tenant_id}/stats\",\n    ...options,\n  });\n\n/**\n * /case-pipeline-links operation on case-pipeline-link resource\n *\n * /case-pipeline-links operation on case-pipeline-link resource\n */\nexport const getAdminCasePipelineLinks = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCasePipelineLinksData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCasePipelineLinksResponses,\n    GetAdminCasePipelineLinksErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/case-pipeline-links\",\n    ...options,\n  });\n\n/**\n * List enrichment jobs for a recipe\n *\n * List enrichment jobs for a recipe\n */\nexport const getAdminRecipesEnrichmentJobsRecipeByRecipeId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminRecipesEnrichmentJobsRecipeByRecipeIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesEnrichmentJobsRecipeByRecipeIdResponses,\n    GetAdminRecipesEnrichmentJobsRecipeByRecipeIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/enrichment-jobs/recipe/{recipe_id}\",\n    ...options,\n  });\n\n/**\n * /crm/sync-configs/:id operation on crm-sync-config resource\n *\n * /crm/sync-configs/:id operation on crm-sync-config resource\n */\nexport const deleteAdminCrmSyncConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminCrmSyncConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminCrmSyncConfigsByIdResponses,\n    DeleteAdminCrmSyncConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/sync-configs/{id}\",\n    ...options,\n  });\n\n/**\n * Update connector sync settings\n *\n * Update connector sync settings. Invalidates the sync config cache for the workspace+connector pair after the update.\n */\nexport const patchAdminCrmSyncConfigsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmSyncConfigsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmSyncConfigsByIdResponses,\n    PatchAdminCrmSyncConfigsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/sync-configs/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/supplement-templates operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates operation on clinical-supplement-template resource\n */\nexport const getAdminClinicalSupplementTemplates = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalSupplementTemplatesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalSupplementTemplatesResponses,\n    GetAdminClinicalSupplementTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates\",\n    ...options,\n  });\n\n/**\n * /clinical/supplement-templates operation on clinical-supplement-template resource\n *\n * /clinical/supplement-templates operation on clinical-supplement-template resource\n */\nexport const postAdminClinicalSupplementTemplates = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminClinicalSupplementTemplatesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminClinicalSupplementTemplatesResponses,\n    PostAdminClinicalSupplementTemplatesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/supplement-templates\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Retrieve cost-focused analytics records for the caller's tenant; use for billing reconciliation and cost analysis.\n *\n * Retrieve cost-focused analytics records for the caller's tenant; use for billing reconciliation and cost analysis.\n */\nexport const getAdminLlmAnalyticsCosts = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminLlmAnalyticsCostsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminLlmAnalyticsCostsResponses,\n    GetAdminLlmAnalyticsCostsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/llm-analytics/costs\",\n    ...options,\n  });\n\n/**\n * /form-versions operation on form-version resource\n *\n * /form-versions operation on form-version resource\n */\nexport const getAdminFormVersions = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminFormVersionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminFormVersionsResponses,\n    GetAdminFormVersionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-versions\",\n    ...options,\n  });\n\n/**\n * /form-versions operation on form-version resource\n *\n * /form-versions operation on form-version resource\n */\nexport const postAdminFormVersions = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminFormVersionsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminFormVersionsResponses,\n    PostAdminFormVersionsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/form-versions\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Register or sign in a user via an OAuth/OIDC provider (Google, GitHub, Salesforce,\n * Microsoft)\n *\n * Register or sign in a user via an OAuth/OIDC provider (Google, GitHub, Salesforce,\n * Microsoft). Upserts on the unique_email identity, so existing accounts are updated\n * rather than duplicated. Automatically confirms the email (provider already verified\n * it), generates a random hashed password (OAuth users never use password login), and\n * creates a personal tenant via CreatePersonalTenant. Returns the user with a JWT token\n * in the token field.\n *\n */\nexport const postAdminUsersAuthRegisterWithOidc = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminUsersAuthRegisterWithOidcData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminUsersAuthRegisterWithOidcResponses,\n    PostAdminUsersAuthRegisterWithOidcErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/users/auth/register-with-oidc\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Mark a ticket as resolved, recording resolved_at timestamp\n *\n * Mark a ticket as resolved, recording resolved_at timestamp. Validated by ValidStatusTransition — ticket must be :open or :pending. Triggers SatisfactionSurveyWorker (capability-gated). Publishes TicketResolved event.\n */\nexport const patchAdminSupportTicketsByIdResolve = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminSupportTicketsByIdResolveData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminSupportTicketsByIdResolveResponses,\n    PatchAdminSupportTicketsByIdResolveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/tickets/{id}/resolve\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /cde-scope-reports operation on cde-scope-report resource\n *\n * /cde-scope-reports operation on cde-scope-report resource\n */\nexport const getAdminCdeScopeReports = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCdeScopeReportsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCdeScopeReportsResponses,\n    GetAdminCdeScopeReportsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cde-scope-reports\",\n    ...options,\n  });\n\n/**\n * Generate a PCI-DSS Cardholder Data Environment scope report for a workspace, classifying it as in-scope, out-of-scope, or connected based on ScanResult data\n *\n * Generate a PCI-DSS Cardholder Data Environment scope report for a workspace, classifying it as in-scope, out-of-scope, or connected based on ScanResult data. Sets `generated_at` automatically.\n */\nexport const postAdminCdeScopeReports = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCdeScopeReportsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCdeScopeReportsResponses,\n    PostAdminCdeScopeReportsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/cde-scope-reports\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all catalog views in a workspace\n *\n * List all catalog views in a workspace. Returns a paginated list including draft and active views.\n */\nexport const getAdminCatalogViewsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminCatalogViewsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminCatalogViewsWorkspaceByWorkspaceIdResponses,\n    GetAdminCatalogViewsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/catalog/views/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Replace the tags list on a file\n *\n * Replace the tags list on a file. Returns the updated file.\n */\nexport const patchAdminStorageFilesByIdTag = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminStorageFilesByIdTagData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminStorageFilesByIdTagResponses,\n    PatchAdminStorageFilesByIdTagErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/storage-files/{id}/tag\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Mark this email address as the primary for its entity, clearing any existing primary.\n *\n * Mark this email address as the primary for its entity, clearing any existing primary.\n */\nexport const patchAdminCrmEmailAddressesByIdSetPrimary = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminCrmEmailAddressesByIdSetPrimaryData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminCrmEmailAddressesByIdSetPrimaryResponses,\n    PatchAdminCrmEmailAddressesByIdSetPrimaryErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crm/email-addresses/{id}/set-primary\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /ai/conversations operation on chat-conversation resource\n *\n * /ai/conversations operation on chat-conversation resource\n */\nexport const getAdminAiConversations = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminAiConversationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminAiConversationsResponses,\n    GetAdminAiConversationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/conversations\",\n    ...options,\n  });\n\n/**\n * Start a new AI conversation session with optional structured context data (e.g., prediction results to discuss)\n *\n * Start a new AI conversation session with optional structured context data (e.g., prediction results to discuss). The `user_id`, `tenant_id`, and `workspace_id` are automatically set from the actor; any supplied values are overridden.\n */\nexport const postAdminAiConversations = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAiConversationsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAiConversationsResponses,\n    PostAdminAiConversationsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/conversations\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /recipes/tags/:id operation on recipes-tag resource\n *\n * /recipes/tags/:id operation on recipes-tag resource\n */\nexport const deleteAdminRecipesTagsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<DeleteAdminRecipesTagsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).delete<\n    DeleteAdminRecipesTagsByIdResponses,\n    DeleteAdminRecipesTagsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/tags/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/tags/:id operation on recipes-tag resource\n *\n * /recipes/tags/:id operation on recipes-tag resource\n */\nexport const getAdminRecipesTagsById = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminRecipesTagsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRecipesTagsByIdResponses,\n    GetAdminRecipesTagsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/tags/{id}\",\n    ...options,\n  });\n\n/**\n * /recipes/tags/:id operation on recipes-tag resource\n *\n * /recipes/tags/:id operation on recipes-tag resource\n */\nexport const patchAdminRecipesTagsById = <ThrowOnError extends boolean = false>(\n  options: Options<PatchAdminRecipesTagsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminRecipesTagsByIdResponses,\n    PatchAdminRecipesTagsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/recipes/tags/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * Step 2 of 2 in the two-step upload flow\n *\n * Step 2 of 2 in the two-step upload flow. Call this after the client has PUT the file to the\n * presigned URL returned by `:begin_upload`. Performs a second credit check (Layer 2 of the\n * three-layer credit defense) before enqueueing the processing job.\n *\n * Side effects: enqueues `ProcessDocument` (or `ProcessAudio` for audio files) Oban job.\n * If credits are insufficient at this point, the action fails — the document remains in\n * `:queued` status and no job is created.\n *\n * Returns the updated document struct.\n *\n */\nexport const patchAdminExtractionDocumentsByIdFinishUpload = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminExtractionDocumentsByIdFinishUploadData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminExtractionDocumentsByIdFinishUploadResponses,\n    PatchAdminExtractionDocumentsByIdFinishUploadErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/extraction/documents/{id}/finish-upload\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-tools/:id operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/:id operation on clinical-practice-tool resource\n */\nexport const getAdminClinicalPracticeToolsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalPracticeToolsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeToolsByIdResponses,\n    GetAdminClinicalPracticeToolsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/practice-tools/:id operation on clinical-practice-tool resource\n *\n * /clinical/practice-tools/:id operation on clinical-practice-tool resource\n */\nexport const patchAdminClinicalPracticeToolsById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalPracticeToolsByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalPracticeToolsByIdResponses,\n    PatchAdminClinicalPracticeToolsByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /meeting-action-items operation on meeting-action-item resource\n *\n * /meeting-action-items operation on meeting-action-item resource\n */\nexport const getAdminMeetingActionItems = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminMeetingActionItemsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminMeetingActionItemsResponses,\n    GetAdminMeetingActionItemsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/meeting-action-items\",\n    ...options,\n  });\n\n/**\n * /clinical/deliveries/:id operation on clinical-delivery resource\n *\n * /clinical/deliveries/:id operation on clinical-delivery resource\n */\nexport const getAdminClinicalDeliveriesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalDeliveriesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalDeliveriesByIdResponses,\n    GetAdminClinicalDeliveriesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/deliveries/{id}\",\n    ...options,\n  });\n\n/**\n * /clinical/deliveries/:id operation on clinical-delivery resource\n *\n * /clinical/deliveries/:id operation on clinical-delivery resource\n */\nexport const patchAdminClinicalDeliveriesById = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PatchAdminClinicalDeliveriesByIdData, ThrowOnError>,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalDeliveriesByIdResponses,\n    PatchAdminClinicalDeliveriesByIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/deliveries/{id}\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * List all sync configurations for a workspace, one per connector instance\n *\n * List all sync configurations for a workspace, one per connector instance. Use to audit which connectors have sync enabled and their current status.\n */\nexport const getAdminSupportSyncConfigsWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSupportSyncConfigsWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSupportSyncConfigsWorkspaceByWorkspaceIdResponses,\n    GetAdminSupportSyncConfigsWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/support/sync-configs/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * /platform-tones operation on platform-tone resource\n *\n * /platform-tones operation on platform-tone resource\n */\nexport const getAdminPlatformTones = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminPlatformTonesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminPlatformTonesResponses,\n    GetAdminPlatformTonesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/platform-tones\",\n    ...options,\n  });\n\n/**\n * /platform-tones operation on platform-tone resource\n *\n * /platform-tones operation on platform-tone resource\n */\nexport const postAdminPlatformTones = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminPlatformTonesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminPlatformTonesResponses,\n    PostAdminPlatformTonesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/platform-tones\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /social/posts/account/:social_account_id operation on social-post resource\n *\n * /social/posts/account/:social_account_id operation on social-post resource\n */\nexport const getAdminSocialPostsAccountBySocialAccountId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminSocialPostsAccountBySocialAccountIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminSocialPostsAccountBySocialAccountIdResponses,\n    GetAdminSocialPostsAccountBySocialAccountIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/social/posts/account/{social_account_id}\",\n    ...options,\n  });\n\n/**\n * /retention-policies operation on retention-policy resource\n *\n * /retention-policies operation on retention-policy resource\n */\nexport const getAdminRetentionPolicies = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminRetentionPoliciesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRetentionPoliciesResponses,\n    GetAdminRetentionPoliciesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/retention-policies\",\n    ...options,\n  });\n\n/**\n * Define a data retention rule for a specific data category in a workspace\n *\n * Define a data retention rule for a specific data category in a workspace. Each workspace/data_type pair is unique — the RetentionEnforcementWorker runs daily to delete, archive, or anonymize data older than `retention_days`.\n */\nexport const postAdminRetentionPolicies = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminRetentionPoliciesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRetentionPoliciesResponses,\n    PostAdminRetentionPoliciesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/retention-policies\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /crawler/schedules operation on crawler-schedule resource\n *\n * /crawler/schedules operation on crawler-schedule resource\n */\nexport const getAdminCrawlerSchedules = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminCrawlerSchedulesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminCrawlerSchedulesResponses,\n    GetAdminCrawlerSchedulesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/schedules\",\n    ...options,\n  });\n\n/**\n * Create a recurring crawl schedule for a URL; sets frequency, cron expression, and notification preferences\n *\n * Create a recurring crawl schedule for a URL; sets frequency, cron expression, and notification preferences. Returns the created schedule.\n */\nexport const postAdminCrawlerSchedules = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminCrawlerSchedulesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminCrawlerSchedulesResponses,\n    PostAdminCrawlerSchedulesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/crawler/schedules\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /email/inbound/received/workspace/:workspace_id operation on email-inbound-email resource\n *\n * /email/inbound/received/workspace/:workspace_id operation on email-inbound-email resource\n */\nexport const getAdminEmailInboundReceivedWorkspaceByWorkspaceId = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminEmailInboundReceivedWorkspaceByWorkspaceIdData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminEmailInboundReceivedWorkspaceByWorkspaceIdResponses,\n    GetAdminEmailInboundReceivedWorkspaceByWorkspaceIdErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/email/inbound/received/workspace/{workspace_id}\",\n    ...options,\n  });\n\n/**\n * Generate a 1024-dim vector embedding for the given text via the LlmTriage sidecar; validates workspace membership, estimates token cost, charges credits, and returns the embedding with usage stats.\n *\n * Generate a 1024-dim vector embedding for the given text via the LlmTriage sidecar; validates workspace membership, estimates token cost, charges credits, and returns the embedding with usage stats.\n */\nexport const postAdminAiEmbed = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminAiEmbedData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminAiEmbedResponses,\n    PostAdminAiEmbedErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/ai/embed\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /review-queue-memberships operation on review-queue-membership resource\n *\n * /review-queue-memberships operation on review-queue-membership resource\n */\nexport const getAdminReviewQueueMemberships = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminReviewQueueMembershipsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminReviewQueueMembershipsResponses,\n    GetAdminReviewQueueMembershipsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/review-queue-memberships\",\n    ...options,\n  });\n\n/**\n * /review-queue-memberships operation on review-queue-membership resource\n *\n * /review-queue-memberships operation on review-queue-membership resource\n */\nexport const postAdminReviewQueueMemberships = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminReviewQueueMembershipsData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminReviewQueueMembershipsResponses,\n    PostAdminReviewQueueMembershipsErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/review-queue-memberships\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/practice-tools/categories/catalog operation on clinical-practice-tool-category resource\n *\n * /clinical/practice-tools/categories/catalog operation on clinical-practice-tool-category resource\n */\nexport const getAdminClinicalPracticeToolsCategoriesCatalog = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    GetAdminClinicalPracticeToolsCategoriesCatalogData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalPracticeToolsCategoriesCatalogResponses,\n    GetAdminClinicalPracticeToolsCategoriesCatalogErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/practice-tools/categories/catalog\",\n    ...options,\n  });\n\n/**\n * /clinical/client-medications/:id/archive operation on clinical-client-medication resource\n *\n * /clinical/client-medications/:id/archive operation on clinical-client-medication resource\n */\nexport const patchAdminClinicalClientMedicationsByIdArchive = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<\n    PatchAdminClinicalClientMedicationsByIdArchiveData,\n    ThrowOnError\n  >,\n) =>\n  (options.client ?? client).patch<\n    PatchAdminClinicalClientMedicationsByIdArchiveResponses,\n    PatchAdminClinicalClientMedicationsByIdArchiveErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-medications/{id}/archive\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /roles operation on role resource\n *\n * /roles operation on role resource\n */\nexport const getAdminRoles = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminRolesData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminRolesResponses,\n    GetAdminRolesErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/roles\",\n    ...options,\n  });\n\n/**\n * Create a new role (permission bundle); creates a system default if application_id is nil, or an ISV application role if application_id is supplied\n *\n * Create a new role (permission bundle); creates a system default if application_id is nil, or an ISV application role if application_id is supplied. Emits a RoleCreated audit event. Returns the created role.\n */\nexport const postAdminRoles = <ThrowOnError extends boolean = false>(\n  options: Options<PostAdminRolesData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminRolesResponses,\n    PostAdminRolesErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/roles\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /clinical/client-medications/archived operation on clinical-client-medication resource\n *\n * /clinical/client-medications/archived operation on clinical-client-medication resource\n */\nexport const getAdminClinicalClientMedicationsArchived = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<GetAdminClinicalClientMedicationsArchivedData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminClinicalClientMedicationsArchivedResponses,\n    GetAdminClinicalClientMedicationsArchivedErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/clinical/client-medications/archived\",\n    ...options,\n  });\n\n/**\n * Clone a platform template for an application\n *\n * Clone a platform template for an application. Creates a new record with the same content, scoped to the target application. Original template is preserved.\n */\nexport const postAdminComplianceDocumentTemplatesClone = <\n  ThrowOnError extends boolean = false,\n>(\n  options: Options<PostAdminComplianceDocumentTemplatesCloneData, ThrowOnError>,\n) =>\n  (options.client ?? client).post<\n    PostAdminComplianceDocumentTemplatesCloneResponses,\n    PostAdminComplianceDocumentTemplatesCloneErrors,\n    ThrowOnError\n  >({\n    querySerializer: { parameters: { fields: { object: { style: \"form\" } } } },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/compliance-document-templates/clone\",\n    ...options,\n    headers: {\n      \"Content-Type\": \"application/vnd.api+json\",\n      ...options.headers,\n    },\n  });\n\n/**\n * /voice/recordings operation on voice-recording resource\n *\n * /voice/recordings operation on voice-recording resource\n */\nexport const getAdminVoiceRecordings = <ThrowOnError extends boolean = false>(\n  options: Options<GetAdminVoiceRecordingsData, ThrowOnError>,\n) =>\n  (options.client ?? client).get<\n    GetAdminVoiceRecordingsResponses,\n    GetAdminVoiceRecordingsErrors,\n    ThrowOnError\n  >({\n    querySerializer: {\n      parameters: {\n        filter: { object: { style: \"form\" } },\n        page: { object: { style: \"form\" } },\n        fields: { object: { style: \"form\" } },\n      },\n    },\n    security: [{ scheme: \"bearer\", type: \"http\" }],\n    url: \"/admin/voice/recordings\",\n    ...options,\n  });\n","// Hand-maintained — override generation\nimport {\n  getAdminAgents,\n  getAdminAgentsById,\n  getAdminAgentsBySlugBySlug,\n  postAdminAgentsByIdClone,\n  postAdminAgentsCloneForWorkspace,\n  postAdminAgentsByIdExport,\n  postAdminAgentsImport,\n  postAdminAgentsByIdTest,\n  postAdminAgentsByIdValidate,\n  postAdminAgentsByIdTeach,\n  postAdminAgentsByIdPublishVersion,\n  postAdminAgentsByIdRestoreVersion,\n  postAdminAgentsByIdAnalyzeTraining,\n  getAdminAgentsByIdStats,\n  getAdminAgentsByIdUsage,\n  getAdminAgentsUsage,\n  getAdminAgentsByIdTrainingStats,\n  getAdminAgentVersions,\n  getAdminAgentVersionsById,\n  deleteAdminAgentVersionsById,\n  postAdminAgentVersions,\n  postAdminAgentVersionsByIdAddSystemField,\n  postAdminAgentVersionsByIdRemoveSystemField,\n  postAdminAgentVersionsByIdSetSystemFields,\n  getAdminAgentVersionsByIdMetrics,\n  getAdminAgentVersionsByIdRevisions,\n  getAdminAgentVersionRevisionsById,\n  getAdminAgentVersionRevisions,\n  getAdminAgentsByIdSchemaVersions,\n  postAdminAgentsByIdSchemaVersions,\n  postAdminAgentsByIdSchemaVersionsByVersionIdActivate,\n  patchAdminAgentsByIdSchemaVersionsByVersionId,\n  postAdminAgentVersionComparisons,\n  getAdminTrainingExamples,\n  getAdminTrainingExamplesById,\n  postAdminTrainingExamples,\n  patchAdminTrainingExamplesById,\n  deleteAdminTrainingExamplesById,\n  postAdminTrainingExamplesBulk,\n  postAdminTrainingExamplesBulkDelete,\n  postAdminTrainingExamplesSearch,\n  getAdminAgentsByIdTrainingExamples,\n  deleteAdminAgentsByIdTrainingExamplesByExampleId,\n  getAdminTrainingSessionsAgentsByAgentIdSessions,\n  getAdminTrainingSessionsById,\n  deleteAdminTrainingSessionsById,\n  getAdminFieldTemplates,\n  getAdminFieldTemplatesById,\n  postAdminFieldTemplates,\n  deleteAdminFieldTemplatesById,\n  getAdminAgentDeployments,\n  getAdminAgentDeploymentsById,\n  postAdminAgentDeployments,\n  patchAdminAgentDeploymentsById,\n  patchAdminAgentDeploymentsByIdAcceptUpdate,\n  deleteAdminAgentDeploymentsById,\n  getAdminWorkspaceAgentConfigs,\n  getAdminWorkspaceAgentConfigsById,\n  postAdminWorkspaceAgentConfigs,\n  patchAdminWorkspaceAgentConfigsById,\n  deleteAdminWorkspaceAgentConfigsById,\n  postAdminAgents,\n  patchAdminAgentsById,\n  deleteAdminAgentsById,\n  getAdminAgentSouls,\n  getAdminAgentSoulsById,\n  postAdminAgentSouls,\n  patchAdminAgentSoulsById,\n  deleteAdminAgentSoulsById,\n  getAdminAgentTools,\n} from \"../_internal/sdk.gen\";\nimport type {\n  Agent,\n  AgentStats,\n  AgentTestResult,\n  AgentTrainingStats,\n  AgentUsage,\n  AgentVersion,\n  AgentVersionComparison,\n  AgentVersionRevision,\n  FieldTemplate,\n  TrainingAnalytics,\n  TrainingExample,\n  TrainingSession,\n  AgentDeployment,\n  WorkspaceAgentConfig,\n  AgentSoul,\n} from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n// ---------------------------------------------------------------------------\n// Parameter types for agent methods\n// ---------------------------------------------------------------------------\n\n/** Attributes for creating an agent. */\nexport type CreateAgentAttributes = {\n  name: string;\n  description?: string;\n  workspace_id?: string;\n  application_id?: string;\n  tenant_id?: string;\n  vertical?: string;\n  tags?: string[];\n  instructions?: string;\n  default_instructions?: string;\n  execution_mode?: string;\n  allow_tenant_clone?: boolean;\n  allow_instruction_override?: boolean;\n  output_schema_locked?: boolean;\n  input_schema_locked?: boolean;\n  prompt_variants?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\n/** Attributes for updating an agent. */\nexport type UpdateAgentAttributes = {\n  name?: string;\n  description?: string;\n  vertical?: string;\n  tags?: string[];\n  instructions?: string;\n  default_instructions?: string;\n  execution_mode?: string;\n  allow_tenant_clone?: boolean;\n  allow_instruction_override?: boolean;\n  output_schema_locked?: boolean;\n  input_schema_locked?: boolean;\n  prompt_variants?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\n/** Attributes for cloning an agent. */\nexport type CloneAgentAttributes = {\n  new_name: string;\n};\n\n/** Attributes for running an agent test. */\nexport type TestAgentAttributes = {\n  sample_input: string;\n};\n\n/** Attributes for the teach (training) action on an agent. */\nexport type TeachAttributes = {\n  document_id: string;\n  corrections: Record<string, unknown>;\n  confirmed_fields?: string[];\n  correction_reasons?: Record<string, unknown>;\n  training_note?: string;\n  verify_remaining?: boolean;\n};\n\n/** Attributes for restoring a previously published agent version. */\nexport type RestoreVersionAttributes = {\n  version_id: string;\n};\n\n// ---------------------------------------------------------------------------\n// Parameter types for agent version methods\n// ---------------------------------------------------------------------------\n\n/** Attributes for creating a new agent version. */\nexport type CreateAgentVersionAttributes = {\n  agent_id: string;\n  prompt_template?: unknown;\n  version_number?: number;\n  changes_summary?: string;\n  delegation_requires_approval?: boolean;\n  input_schema?: Record<string, unknown>;\n  input_strict?: boolean;\n  is_draft?: boolean;\n  max_parallel_tools?: number;\n  output_schema?: Record<string, unknown>;\n  output_strict?: boolean;\n  parent_version_id?: string;\n  soul_id?: string;\n  temperature?: string;\n};\n\n/** Attributes for creating a schema version. */\nexport type CreateSchemaVersionAttributes = {\n  prompt_template: string;\n  version_number: string;\n  changes_summary?: string;\n  input_schema?: Record<string, unknown>;\n  input_strict?: boolean;\n  output_schema?: Record<string, unknown>;\n  output_strict?: boolean;\n};\n\n/** Attributes for updating a schema version. */\nexport type UpdateSchemaVersionAttributes = {\n  prompt_template?: string;\n  changes_summary?: string;\n  input_schema?: Record<string, unknown>;\n  input_strict?: boolean;\n  output_schema?: Record<string, unknown>;\n  output_strict?: boolean;\n};\n\n// ---------------------------------------------------------------------------\n// Parameter types for training example methods\n// ---------------------------------------------------------------------------\n\n/** Attributes for creating a training example. */\nexport type CreateTrainingExampleAttributes = {\n  agent_id: string;\n  input_text: string;\n  output_json: Record<string, unknown>;\n  confidence_score?: number;\n  corrected_value?: string;\n  correction_metadata?: Record<string, unknown>;\n  correction_reasons?: Record<string, unknown>;\n  document_id?: string;\n  document_type?: string;\n  field_name?: string;\n  input_image_ref?: string;\n  is_confirmed?: boolean;\n  original_value?: string;\n  training_note?: string;\n  training_session_id?: string;\n  version_id?: string;\n  workspace_id?: string;\n};\n\n/** Attributes for updating a training example. */\nexport type UpdateTrainingExampleAttributes = {\n  input_text?: string;\n  output_json?: Record<string, unknown>;\n  correction_metadata?: Record<string, unknown>;\n  correction_reasons?: Record<string, unknown>;\n  input_image_ref?: string;\n  training_note?: string;\n};\n\n// ---------------------------------------------------------------------------\n// Parameter types for field template methods\n// ---------------------------------------------------------------------------\n\n/** Attributes for creating a field template. */\nexport type CreateFieldTemplateAttributes = {\n  name: string;\n  category: string;\n  field_type?: string;\n  extraction_hints?: Record<string, unknown>;\n  is_system?: boolean;\n  llm_instructions?: string;\n  validation_pattern?: string;\n};\n\n/** An opaque export bundle produced by agent export and consumed by import. */\nexport type AgentExportBundle = Record<string, unknown>;\n\n/** Result of a bulk delete operation. */\nexport type BulkDeleteResult = {\n  deleted_count?: number;\n  [key: string]: unknown;\n};\n\n/** Optional filter for system agent discovery. */\nexport interface ListSystemAgentsParams {\n  /** Filter to a specific vertical, e.g. \"clinical\" or \"medical\". */\n  vertical?: string;\n}\n\n/** Summary shape returned by the custom system-agent catalog endpoint. */\nexport interface SystemAgentSummary {\n  id: string;\n  name: string;\n  description: string;\n  vertical: string;\n  tags: string[];\n  system_slug: string | null;\n  allow_tenant_clone: boolean;\n  recommended_soul_id: string | null;\n  recommended_model_class: string | null;\n  attribution: {\n    reviewer: string | null;\n    reviewed_at: string | null;\n    review_kind: string | null;\n  } | null;\n}\n\n/**\n * Creates the `agents` namespace for the admin SDK.\n *\n * Provides full platform-level access to agents, versions, training,\n * schema management, and field templates across all workspaces.\n *\n * @param rb - The RequestBuilder bound to the authenticated admin client.\n * @returns An object with all agent-related methods and sub-namespaces.\n *\n * @example\n * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n * const agents = await admin.agents.list();\n */\nexport function createAgentsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Lists all agents (platform-wide, no workspace filter).\n     *\n     * @param options - Optional request options.\n     * @returns Array of Agent objects.\n     *\n     * @example\n     * const agents = await admin.agents.list();\n     */\n    list: async (options?: RequestOptions): Promise<Agent[]> => {\n      return rb.execute<Agent[]>(getAdminAgents, {}, options);\n    },\n\n    /**\n     * Lists platform system agents available for cloning.\n     *\n     * Calls `GET /isv/catalog/system-agents`, a custom Phoenix controller\n     * endpoint (not AshJsonApi). `rb.rawGet` already strips the `data`\n     * envelope, so this method returns the agent array directly.\n     *\n     * @param params - Optional filter parameters.\n     * @param params.vertical - Filter to a specific vertical, e.g. `\"clinical\"` or `\"medical\"`.\n     *   Omit to return all system agents across all verticals.\n     * @param options - Optional request options (signal, idempotency key, headers).\n     * @returns A promise that resolves to an array of `SystemAgentSummary` objects.\n     */\n    listSystemAgents: async (\n      params?: ListSystemAgentsParams,\n      options?: RequestOptions,\n    ): Promise<SystemAgentSummary[]> => {\n      const query = params?.vertical\n        ? `?vertical=${encodeURIComponent(params.vertical)}`\n        : \"\";\n      return rb.rawGet<SystemAgentSummary[]>(\n        `/isv/catalog/system-agents${query}`,\n        options,\n      );\n    },\n\n    /**\n     * Fetches a single agent by ID.\n     *\n     * @param id - The UUID of the agent.\n     * @param options - Optional request options.\n     * @returns The Agent record.\n     *\n     * @example\n     * const agent = await admin.agents.get('agt_01...');\n     */\n    get: async (id: string, options?: RequestOptions): Promise<Agent> => {\n      return rb.execute<Agent>(getAdminAgentsById, { path: { id } }, options);\n    },\n\n    /**\n     * Look up an agent by its system_slug. Use this for ISV-provisioned agents\n     * where the slug is a stable identifier that survives database resets.\n     *\n     * @param slug - The system_slug of the agent (e.g., \"chartless-session-prep-briefing\").\n     * @param options - Optional request options.\n     * @returns The Agent record.\n     *\n     * @example\n     * ```ts\n     * const agent = await admin.agents.getBySlug(\"chartless-session-prep-briefing\");\n     * ```\n     */\n    getBySlug: async (\n      slug: string,\n      options?: RequestOptions,\n    ): Promise<Agent> => {\n      return rb.execute<Agent>(\n        getAdminAgentsBySlugBySlug,\n        { path: { slug } },\n        options,\n      );\n    },\n\n    /**\n     * Clones an agent within the same workspace.\n     *\n     * @param id - The UUID of the agent to clone.\n     * @param attributes - Optional attributes for the clone (name, description).\n     * @param options - Optional request options.\n     * @returns The cloned Agent.\n     *\n     * @example\n     * const clone = await admin.agents.clone('agt_01...', { name: 'Clone of Bot' });\n     */\n    clone: async (\n      id: string,\n      attributes: CloneAgentAttributes,\n      options?: RequestOptions,\n    ): Promise<Agent> => {\n      const { new_name } = attributes;\n      return rb.execute<Agent>(\n        postAdminAgentsByIdClone,\n        { path: { id }, body: { data: { type: \"agent\", new_name } } },\n        options,\n      );\n    },\n\n    /**\n     * Clones an agent into a different workspace.\n     *\n     * @param agentId - The UUID of the agent to clone.\n     * @param targetWorkspaceId - The UUID of the destination workspace.\n     * @param options - Optional request options.\n     * @returns The cloned Agent in the target workspace.\n     *\n     * @example\n     * const cloned = await admin.agents.cloneForWorkspace('agt_01...', 'ws_02...');\n     */\n    cloneForWorkspace: async (\n      agentId: string,\n      targetWorkspaceId: string,\n      options?: RequestOptions,\n    ): Promise<Agent> => {\n      return rb.execute<Agent>(\n        postAdminAgentsCloneForWorkspace,\n        {\n          body: {\n            data: {\n              type: \"agent\",\n              attributes: {\n                base_agent_id: agentId,\n                workspace_id: targetWorkspaceId,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Creates a new agent.\n     *\n     * @param attributes - Agent attributes (name, workspace_id, etc.).\n     * @param options - Optional request options.\n     * @returns The created Agent.\n     *\n     * @example\n     * const agent = await admin.agents.create({ name: 'My Agent', workspace_id: 'ws_01...' });\n     */\n    create: async (\n      attributes: CreateAgentAttributes,\n      options?: RequestOptions,\n    ): Promise<Agent> => {\n      return rb.execute<Agent>(\n        postAdminAgents,\n        { body: { data: { type: \"agent\", attributes } } },\n        options,\n      );\n    },\n\n    /**\n     * Updates an agent by ID.\n     *\n     * @param id - The UUID of the agent.\n     * @param attributes - Attributes to update.\n     * @param options - Optional request options.\n     * @returns The updated Agent.\n     *\n     * @example\n     * await admin.agents.update('agt_01...', { name: 'Renamed Agent' });\n     */\n    update: async (\n      id: string,\n      attributes: UpdateAgentAttributes,\n      options?: RequestOptions,\n    ): Promise<Agent> => {\n      return rb.execute<Agent>(\n        patchAdminAgentsById,\n        { path: { id }, body: { data: { type: \"agent\", id, attributes } } },\n        options,\n      );\n    },\n\n    /**\n     * Permanently deletes an agent by ID.\n     *\n     * @param id - The UUID of the agent to delete.\n     * @param options - Optional request options.\n     * @returns True on successful deletion.\n     *\n     * @example\n     * await admin.agents.delete('agt_01...');\n     */\n    delete: async (id: string, options?: RequestOptions): Promise<true> => {\n      return rb.executeDelete(deleteAdminAgentsById, { path: { id } }, options);\n    },\n\n    /**\n     * Exports an agent to a portable JSON bundle.\n     *\n     * @param id - The UUID of the agent to export.\n     * @param options - Optional request options.\n     * @returns The export bundle payload.\n     *\n     * @example\n     * const bundle = await admin.agents.export('agt_01...');\n     */\n    export: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<AgentExportBundle> => {\n      return rb.execute<AgentExportBundle>(\n        postAdminAgentsByIdExport,\n        { path: { id }, body: { data: {} } },\n        options,\n      );\n    },\n\n    /**\n     * Imports an agent from a portable export bundle.\n     *\n     * @param data - The export bundle object.\n     * @param options - Optional request options.\n     * @returns The newly created Agent.\n     *\n     * @example\n     * const imported = await admin.agents.import(exportBundle);\n     */\n    import: async (\n      data: AgentExportBundle,\n      options?: RequestOptions,\n    ): Promise<Agent> => {\n      return rb.execute<Agent>(\n        postAdminAgentsImport,\n        { body: { data: { type: \"agent\", attributes: { data } } } },\n        options,\n      );\n    },\n\n    /**\n     * Runs an agent against a test input and returns the result.\n     *\n     * @param id - The UUID of the agent.\n     * @param attributes - Test attributes (input, expected_output, etc.).\n     * @param options - Optional request options.\n     * @returns Test result payload.\n     *\n     * @example\n     * const result = await admin.agents.test('agt_01...', { input: { text: '...' } });\n     */\n    test: async (\n      id: string,\n      attributes: TestAgentAttributes,\n      options?: RequestOptions,\n    ): Promise<AgentTestResult> => {\n      return rb.execute<AgentTestResult>(\n        postAdminAgentsByIdTest,\n        { path: { id }, body: { data: { type: \"agent\", attributes } } },\n        options,\n      );\n    },\n\n    /**\n     * Validates an agent's configuration without publishing.\n     *\n     * @param id - The UUID of the agent.\n     * @param options - Optional request options.\n     * @returns Validation result with any errors or warnings.\n     *\n     * @example\n     * const result = await admin.agents.validate('agt_01...');\n     */\n    validate: async (id: string, options?: RequestOptions): Promise<Agent> => {\n      return rb.execute<Agent>(\n        postAdminAgentsByIdValidate,\n        { path: { id }, body: { data: {} } },\n        options,\n      );\n    },\n\n    /**\n     * Runs a training job (fine-tuning) on the agent using its examples.\n     *\n     * @param id - The UUID of the agent.\n     * @param attributes - Training configuration attributes.\n     * @param options - Optional request options.\n     * @returns Training job status payload.\n     *\n     * @example\n     * await admin.agents.teach('agt_01...', { epochs: 3 });\n     */\n    teach: async (\n      id: string,\n      attributes: TeachAttributes,\n      options?: RequestOptions,\n    ): Promise<Agent> => {\n      return rb.execute<Agent>(\n        postAdminAgentsByIdTeach,\n        { path: { id }, body: { data: { type: \"agent\", attributes } } },\n        options,\n      );\n    },\n\n    /**\n     * Publishes a new immutable version from the agent's current state.\n     *\n     * @param id - The UUID of the agent.\n     * @param options - Optional request options.\n     * @returns The newly created AgentVersion.\n     *\n     * @example\n     * const version = await admin.agents.publishVersion('agt_01...');\n     */\n    publishVersion: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<AgentVersion> => {\n      return rb.execute<AgentVersion>(\n        postAdminAgentsByIdPublishVersion,\n        { path: { id }, body: { data: {} } },\n        options,\n      );\n    },\n\n    /**\n     * Restores a previously published version as the active version.\n     *\n     * @param id - The UUID of the agent.\n     * @param attributes - Must include `version_id` of the version to restore.\n     * @param options - Optional request options.\n     * @returns The restored AgentVersion.\n     *\n     * @example\n     * const version = await admin.agents.restoreVersion('agt_01...', { version_id: 'ver_01...' });\n     */\n    restoreVersion: async (\n      id: string,\n      attributes: RestoreVersionAttributes,\n      options?: RequestOptions,\n    ): Promise<AgentVersion> => {\n      const { version_id } = attributes;\n      return rb.execute<AgentVersion>(\n        postAdminAgentsByIdRestoreVersion,\n        { path: { id }, body: { data: { type: \"agent\", version_id } } },\n        options,\n      );\n    },\n\n    /**\n     * Analyzes training examples and returns insights.\n     *\n     * @param id - The UUID of the agent.\n     * @param options - Optional request options.\n     * @returns Training analysis result.\n     *\n     * @example\n     * const analysis = await admin.agents.analyzeTraining('agt_01...');\n     */\n    analyzeTraining: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<TrainingAnalytics> => {\n      return rb.execute<TrainingAnalytics>(\n        postAdminAgentsByIdAnalyzeTraining,\n        { path: { id }, body: { data: {} } },\n        options,\n      );\n    },\n\n    /**\n     * Retrieves usage statistics for a single agent.\n     *\n     * @param id - The UUID of the agent.\n     * @param options - Optional request options.\n     * @returns Usage data for the agent.\n     *\n     * @example\n     * const usage = await admin.agents.usage('agt_01...');\n     */\n    usage: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<AgentUsage> => {\n      return rb.execute<AgentUsage>(\n        getAdminAgentsByIdUsage,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Retrieves usage information for all agents.\n     *\n     * @param options - Optional request options.\n     * @returns Array of usage data for all agents.\n     *\n     * @example\n     * const allUsage = await admin.agents.usageAll();\n     */\n    usageAll: async (options?: RequestOptions): Promise<AgentUsage[]> => {\n      return rb.execute<AgentUsage[]>(getAdminAgentsUsage, {}, options);\n    },\n\n    /**\n     * Retrieves execution and performance statistics for an agent.\n     *\n     * @param id - The UUID of the agent.\n     * @param options - Optional request options.\n     * @returns Statistics payload.\n     *\n     * @example\n     * const stats = await admin.agents.stats('agt_01...');\n     */\n    stats: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<AgentStats> => {\n      return rb.execute<AgentStats>(\n        getAdminAgentsByIdStats,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Retrieves training statistics for a single agent.\n     *\n     * @param id - The UUID of the agent.\n     * @param options - Optional request options.\n     * @returns Training statistics data.\n     *\n     * @example\n     * const stats = await admin.agents.trainingStats('agt_01...');\n     */\n    trainingStats: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<AgentTrainingStats> => {\n      return rb.execute<AgentTrainingStats>(\n        getAdminAgentsByIdTrainingStats,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Sub-namespace for managing immutable agent versions.\n     */\n    versions: {\n      /**\n       * Lists all agent versions.\n       *\n       * @param options - Optional request options.\n       * @returns Array of AgentVersion objects.\n       *\n       * @example\n       * const versions = await admin.agents.versions.list();\n       */\n      list: async (options?: RequestOptions): Promise<AgentVersion[]> => {\n        return rb.execute<AgentVersion[]>(getAdminAgentVersions, {}, options);\n      },\n\n      /**\n       * Fetches a single agent version by ID.\n       *\n       * @param id - The UUID of the agent version.\n       * @param options - Optional request options.\n       * @returns The AgentVersion record.\n       *\n       * @example\n       * const version = await admin.agents.versions.get('ver_01...');\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<AgentVersion> => {\n        return rb.execute<AgentVersion>(\n          getAdminAgentVersionsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Permanently deletes an agent version.\n       *\n       * @param id - The UUID of the version to delete.\n       * @param options - Optional request options.\n       * @returns True on successful deletion.\n       *\n       * @example\n       * await admin.agents.versions.delete('ver_01...');\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminAgentVersionsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Creates a new agent version snapshot.\n       *\n       * @param attributes - Version attributes (agent_id, prompt_template, fields, etc.).\n       * @param options - Optional request options.\n       * @returns The newly created AgentVersion.\n       *\n       * @example\n       * const version = await admin.agents.versions.create({ agent_id: 'agt_01...', ... });\n       */\n      create: async (\n        attributes: CreateAgentVersionAttributes,\n        options?: RequestOptions,\n      ): Promise<AgentVersion> => {\n        return rb.execute<AgentVersion>(\n          postAdminAgentVersions,\n          { body: { data: { type: \"agent-version\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Marks a system field as selected for this version.\n       *\n       * @param id - The UUID of the agent version.\n       * @param fieldName - The name of the system field to add (e.g. `_filename`).\n       * @param options - Optional request options.\n       * @returns The updated AgentVersion.\n       *\n       * @example\n       * await admin.agents.versions.addSystemField('ver_01...', '_filename');\n       */\n      addSystemField: async (\n        id: string,\n        fieldName: string,\n        options?: RequestOptions,\n      ): Promise<AgentVersion> => {\n        return rb.execute<AgentVersion>(\n          postAdminAgentVersionsByIdAddSystemField,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"agent-version\",\n                system_field_name: fieldName,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Removes a system field from the selected set for this version.\n       *\n       * @param id - The UUID of the agent version.\n       * @param fieldName - The name of the system field to remove (e.g. `_filename`).\n       * @param options - Optional request options.\n       * @returns The updated AgentVersion.\n       *\n       * @example\n       * await admin.agents.versions.removeSystemField('ver_01...', '_filename');\n       */\n      removeSystemField: async (\n        id: string,\n        fieldName: string,\n        options?: RequestOptions,\n      ): Promise<AgentVersion> => {\n        return rb.execute<AgentVersion>(\n          postAdminAgentVersionsByIdRemoveSystemField,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"agent-version\",\n                system_field_name: fieldName,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Sets the full list of selected system fields for this version.\n       *\n       * @param id - The UUID of the agent version.\n       * @param fieldNames - Array of system field names to set (e.g. `['_filename', '_pages']`).\n       * @param options - Optional request options.\n       * @returns The updated AgentVersion.\n       *\n       * @example\n       * await admin.agents.versions.setSystemFields('ver_01...', ['_filename', '_pages']);\n       */\n      setSystemFields: async (\n        id: string,\n        fieldNames: string[],\n        options?: RequestOptions,\n      ): Promise<AgentVersion> => {\n        return rb.execute<AgentVersion>(\n          postAdminAgentVersionsByIdSetSystemFields,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"agent-version\",\n                system_field_names: fieldNames,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves performance metrics for an agent version.\n       *\n       * @param id - The UUID of the agent version.\n       * @param options - Optional request options.\n       * @returns Metrics data for the version.\n       *\n       * @example\n       * const metrics = await admin.agents.versions.metrics('ver_01...');\n       */\n      metrics: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<AgentStats> => {\n        return rb.execute<AgentStats>(\n          getAdminAgentVersionsByIdMetrics,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Lists revision history for an agent version.\n       *\n       * @param id - The UUID of the agent version.\n       * @param options - Optional request options.\n       * @returns Array of revision records.\n       *\n       * @example\n       * const revisions = await admin.agents.versions.revisions('ver_01...');\n       */\n      revisions: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<AgentVersionRevision[]> => {\n        return rb.execute<AgentVersionRevision[]>(\n          getAdminAgentVersionsByIdRevisions,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Fetches a single revision record by ID.\n       *\n       * @param id - The UUID of the revision.\n       * @param options - Optional request options.\n       * @returns The revision record.\n       *\n       * @example\n       * const revision = await admin.agents.versions.getRevision('rev_01...');\n       */\n      getRevision: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<AgentVersionRevision> => {\n        return rb.execute<AgentVersionRevision>(\n          getAdminAgentVersionRevisionsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Lists all revisions across all agent versions.\n       *\n       * @param options - Optional request options.\n       * @returns Array of revision records.\n       *\n       * @example\n       * const revisions = await admin.agents.versions.listAllRevisions();\n       */\n      listAllRevisions: async (\n        options?: RequestOptions,\n      ): Promise<AgentVersionRevision[]> => {\n        return rb.execute<AgentVersionRevision[]>(\n          getAdminAgentVersionRevisions,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Compares two agent versions side-by-side.\n       *\n       * @param versionAId - UUID of the first version.\n       * @param versionBId - UUID of the second version.\n       * @param options - Optional request options.\n       * @returns Comparison result with schema_diff and prompt_diff.\n       *\n       * @example\n       * const diff = await admin.agents.versions.compare('ver_A...', 'ver_B...');\n       */\n      compare: async (\n        versionAId: string,\n        versionBId: string,\n        options?: RequestOptions,\n      ): Promise<AgentVersionComparison> => {\n        return rb.execute<AgentVersionComparison>(\n          postAdminAgentVersionComparisons,\n          {\n            body: {\n              data: {\n                type: \"agent-version-comparison\",\n                attributes: {\n                  version_a_id: versionAId,\n                  version_b_id: versionBId,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Sub-namespace for managing schema versions within an agent.\n       */\n      schemaVersions: {\n        /**\n         * Lists all schema versions for an agent.\n         *\n         * @param agentId - The UUID of the agent.\n         * @param options - Optional request options.\n         * @returns Array of schema version records.\n         *\n         * @example\n         * const versions = await admin.agents.versions.schemaVersions.list('agt_01...');\n         */\n        list: async (\n          agentId: string,\n          options?: RequestOptions,\n        ): Promise<AgentVersion[]> => {\n          return rb.execute<AgentVersion[]>(\n            getAdminAgentsByIdSchemaVersions,\n            { path: { id: agentId } },\n            options,\n          );\n        },\n\n        /**\n         * Creates a new schema version for an agent.\n         *\n         * @param agentId - The UUID of the agent.\n         * @param attributes - Schema version attributes.\n         * @param options - Optional request options.\n         * @returns The newly created schema version.\n         *\n         * @example\n         * const sv = await admin.agents.versions.schemaVersions.create('agt_01...', { output_schema: { type: 'object', properties: {} } });\n         */\n        create: async (\n          agentId: string,\n          attributes: CreateSchemaVersionAttributes,\n          options?: RequestOptions,\n        ): Promise<AgentVersion> => {\n          const {\n            prompt_template,\n            version_number,\n            changes_summary,\n            input_schema,\n            input_strict,\n            output_schema,\n            output_strict,\n          } = attributes;\n          return rb.execute<AgentVersion>(\n            postAdminAgentsByIdSchemaVersions,\n            {\n              path: { id: agentId },\n              body: {\n                data: {\n                  type: \"agent-version\",\n                  prompt_template,\n                  version_number,\n                  changes_summary,\n                  input_schema,\n                  input_strict,\n                  output_schema,\n                  output_strict,\n                },\n              },\n            },\n            options,\n          );\n        },\n\n        /**\n         * Activates a schema version, making it the live version.\n         *\n         * @param agentId - The UUID of the agent.\n         * @param versionId - The UUID of the schema version to activate.\n         * @param options - Optional request options.\n         * @returns The activated schema version.\n         *\n         * @example\n         * await admin.agents.versions.schemaVersions.activate('agt_01...', 'ver_01...');\n         */\n        activate: async (\n          agentId: string,\n          versionId: string,\n          options?: RequestOptions,\n        ): Promise<AgentVersion> => {\n          return rb.execute<AgentVersion>(\n            postAdminAgentsByIdSchemaVersionsByVersionIdActivate,\n            {\n              path: { id: agentId, version_id: versionId },\n              body: { data: {} },\n            },\n            options,\n          );\n        },\n\n        /**\n         * Updates an existing schema version.\n         *\n         * @param agentId - The UUID of the agent.\n         * @param versionId - The UUID of the schema version to update.\n         * @param attributes - Attributes to update.\n         * @param options - Optional request options.\n         * @returns The updated schema version.\n         *\n         * @example\n         * await admin.agents.versions.schemaVersions.update('agt_01...', 'ver_01...', { output_schema: { type: 'object', properties: {} } });\n         */\n        update: async (\n          agentId: string,\n          versionId: string,\n          attributes: UpdateSchemaVersionAttributes,\n          options?: RequestOptions,\n        ): Promise<AgentVersion> => {\n          const {\n            prompt_template,\n            changes_summary,\n            input_schema,\n            input_strict,\n            output_schema,\n            output_strict,\n          } = attributes;\n          return rb.execute<AgentVersion>(\n            patchAdminAgentsByIdSchemaVersionsByVersionId,\n            {\n              path: { id: agentId, version_id: versionId },\n              body: {\n                data: {\n                  type: \"agent-version\",\n                  prompt_template,\n                  changes_summary,\n                  input_schema,\n                  input_strict,\n                  output_schema,\n                  output_strict,\n                },\n              },\n            },\n            options,\n          );\n        },\n      },\n    },\n\n    /**\n     * Sub-namespace for managing training examples attached to agents.\n     */\n    training: {\n      /**\n       * Lists all training examples.\n       *\n       * @param options - Optional request options.\n       * @returns Array of TrainingExample objects.\n       *\n       * @example\n       * const examples = await admin.agents.training.list();\n       */\n      list: async (options?: RequestOptions): Promise<TrainingExample[]> => {\n        return rb.execute<TrainingExample[]>(\n          getAdminTrainingExamples,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Fetches a single training example by ID.\n       *\n       * @param id - The UUID of the training example.\n       * @param options - Optional request options.\n       * @returns The TrainingExample record.\n       *\n       * @example\n       * const example = await admin.agents.training.get('tex_01...');\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<TrainingExample> => {\n        return rb.execute<TrainingExample>(\n          getAdminTrainingExamplesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Creates a new training example.\n       *\n       * @param attributes - Training example attributes (agent_id, input_text, output_json, etc.).\n       * @param options - Optional request options.\n       * @returns The created TrainingExample.\n       *\n       * @example\n       * const example = await admin.agents.training.create({ agent_id: 'agt_01...', input_text: '...', output_json: {} });\n       */\n      create: async (\n        attributes: CreateTrainingExampleAttributes,\n        options?: RequestOptions,\n      ): Promise<TrainingExample> => {\n        return rb.execute<TrainingExample>(\n          postAdminTrainingExamples,\n          { body: { data: { type: \"training-example\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Updates a training example's attributes.\n       *\n       * @param id - The UUID of the training example.\n       * @param attributes - Attributes to update.\n       * @param options - Optional request options.\n       * @returns The updated TrainingExample.\n       *\n       * @example\n       * const updated = await admin.agents.training.update('tex_01...', { label: 'reviewed' });\n       */\n      update: async (\n        id: string,\n        attributes: UpdateTrainingExampleAttributes,\n        options?: RequestOptions,\n      ): Promise<TrainingExample> => {\n        return rb.execute<TrainingExample>(\n          patchAdminTrainingExamplesById,\n          {\n            path: { id },\n            body: { data: { id, type: \"training-example\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Deletes a training example.\n       *\n       * @param id - The UUID of the training example to delete.\n       * @param options - Optional request options.\n       * @returns True on successful deletion.\n       *\n       * @example\n       * await admin.agents.training.delete('tex_01...');\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminTrainingExamplesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Creates multiple training examples for one agent in a single batch operation.\n       *\n       * @param agentId - The UUID of the agent the examples belong to.\n       * @param examples - Array of training example attribute objects.\n       * @param options - Optional request options.\n       * @returns Array of created TrainingExample objects.\n       *\n       * @example\n       * const created = await admin.agents.training.bulkCreate('agt_01...', [\n       *   { input_text: '...', output_json: {} },\n       * ]);\n       */\n      bulkCreate: async (\n        agentId: string,\n        examples: CreateTrainingExampleAttributes[],\n        options?: RequestOptions,\n      ): Promise<TrainingExample[]> => {\n        return rb.execute<TrainingExample[]>(\n          postAdminTrainingExamplesBulk,\n          {\n            body: { data: { agent_id: agentId, examples } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Deletes multiple training examples for one agent in a single batch operation.\n       *\n       * @param agentId - The UUID of the agent the examples belong to.\n       * @param ids - Array of training example UUIDs to delete.\n       * @param options - Optional request options.\n       * @returns Deletion result payload.\n       *\n       * @example\n       * await admin.agents.training.bulkDelete('agt_01...', ['tex_01...', 'tex_02...']);\n       */\n      bulkDelete: async (\n        agentId: string,\n        ids: string[],\n        options?: RequestOptions,\n      ): Promise<BulkDeleteResult> => {\n        return rb.execute<BulkDeleteResult>(\n          postAdminTrainingExamplesBulkDelete,\n          {\n            body: { data: { agent_id: agentId, ids } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Searches training examples by semantic similarity.\n       *\n       * The query string is embedded server-side; you do not need to compute\n       * embeddings client-side.\n       *\n       * @param agentId - The UUID of the agent whose training examples to search.\n       * @param query - The search query text.\n       * @param limit - Optional maximum number of results to return (default 5).\n       * @param options - Optional request options.\n       * @returns Array of matching TrainingExample objects.\n       *\n       * @example\n       * const results = await admin.agents.training.search('agt_01...', 'invoice total');\n       */\n      search: async (\n        agentId: string,\n        query: string,\n        limit?: number,\n        options?: RequestOptions,\n      ): Promise<TrainingExample[]> => {\n        const body: {\n          data: { agent_id: string; query: string; limit?: number };\n        } = {\n          data: { agent_id: agentId, query },\n        };\n        if (typeof limit === \"number\") body.data.limit = limit;\n        return rb.execute<TrainingExample[]>(\n          postAdminTrainingExamplesSearch,\n          { body },\n          options,\n        );\n      },\n\n      /**\n       * Lists training examples for a specific agent.\n       *\n       * @param agentId - The UUID of the agent.\n       * @param options - Optional request options.\n       * @returns Array of training examples for the agent.\n       *\n       * @example\n       * const examples = await admin.agents.training.listForAgent('agt_01...');\n       */\n      listForAgent: async (\n        agentId: string,\n        options?: RequestOptions,\n      ): Promise<TrainingExample[]> => {\n        return rb.execute<TrainingExample[]>(\n          getAdminAgentsByIdTrainingExamples,\n          { path: { id: agentId } },\n          options,\n        );\n      },\n\n      /**\n       * Deletes a training example for a specific agent.\n       *\n       * @param agentId - The UUID of the agent.\n       * @param exampleId - The UUID of the training example.\n       * @param options - Optional request options.\n       * @returns True on successful deletion.\n       *\n       * @example\n       * await admin.agents.training.deleteForAgent('agt_01...', 'tex_01...');\n       */\n      deleteForAgent: async (\n        agentId: string,\n        exampleId: string,\n        options?: RequestOptions,\n      ): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminAgentsByIdTrainingExamplesByExampleId,\n          { path: { id: agentId, example_id: exampleId } },\n          options,\n        );\n      },\n\n      /**\n       * Sub-namespace for managing training sessions.\n       */\n      sessions: {\n        /**\n         * Lists training sessions for a specific agent.\n         *\n         * @param agentId - The UUID of the agent.\n         * @param options - Optional request options.\n         * @returns Array of training session records.\n         *\n         * @example\n         * const sessions = await admin.agents.training.sessions.list('agt_01...');\n         */\n        list: async (\n          agentId: string,\n          options?: RequestOptions,\n        ): Promise<TrainingSession[]> => {\n          return rb.execute<TrainingSession[]>(\n            getAdminTrainingSessionsAgentsByAgentIdSessions,\n            { path: { agent_id: agentId } },\n            options,\n          );\n        },\n\n        /**\n         * Fetches a single training session by ID.\n         *\n         * @param id - The UUID of the training session.\n         * @param options - Optional request options.\n         * @returns The training session record.\n         *\n         * @example\n         * const session = await admin.agents.training.sessions.get('ts_01...');\n         */\n        get: async (\n          id: string,\n          options?: RequestOptions,\n        ): Promise<TrainingSession> => {\n          return rb.execute<TrainingSession>(\n            getAdminTrainingSessionsById,\n            { path: { id } },\n            options,\n          );\n        },\n\n        /**\n         * Deletes a training session.\n         *\n         * @param id - The UUID of the training session.\n         * @param options - Optional request options.\n         * @returns True on successful deletion.\n         *\n         * @example\n         * await admin.agents.training.sessions.delete('ts_01...');\n         */\n        delete: async (id: string, options?: RequestOptions): Promise<true> => {\n          return rb.executeDelete(\n            deleteAdminTrainingSessionsById,\n            { path: { id } },\n            options,\n          );\n        },\n      },\n    },\n\n    /**\n     * Sub-namespace for field templates — reusable field definitions.\n     */\n    fieldTemplates: {\n      /**\n       * Lists all available field templates.\n       *\n       * @param options - Optional request options.\n       * @returns Array of field template objects.\n       *\n       * @example\n       * const templates = await admin.agents.fieldTemplates.list();\n       */\n      list: async (options?: RequestOptions): Promise<FieldTemplate[]> => {\n        return rb.execute<FieldTemplate[]>(getAdminFieldTemplates, {}, options);\n      },\n\n      /**\n       * Fetches a single field template by ID.\n       *\n       * @param id - The UUID of the field template.\n       * @param options - Optional request options.\n       * @returns The field template object.\n       *\n       * @example\n       * const template = await admin.agents.fieldTemplates.get('ftpl_01...');\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<FieldTemplate> => {\n        return rb.execute<FieldTemplate>(\n          getAdminFieldTemplatesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Creates a new field template.\n       *\n       * @param attributes - Field template attributes (name, category, field_type, etc.).\n       * @param options - Optional request options.\n       * @returns The created field template object.\n       *\n       * @example\n       * const template = await admin.agents.fieldTemplates.create({ name: 'Invoice Total', category: 'finance', field_type: 'currency' });\n       */\n      create: async (\n        attributes: CreateFieldTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<FieldTemplate> => {\n        return rb.execute<FieldTemplate>(\n          postAdminFieldTemplates,\n          { body: { data: { type: \"field-template\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Permanently deletes a field template by ID.\n       *\n       * @param id - The UUID of the field template to delete.\n       * @param options - Optional request options.\n       * @returns True on successful deletion.\n       *\n       * @example\n       * await admin.agents.fieldTemplates.delete('ftpl_01...');\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminFieldTemplatesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ── Agent Deployments ──────────────────────────────────────────\n\n    /**\n     * Manage agent deployments — bindings from catalog agents to applications.\n     */\n    deployments: {\n      /**\n       * Lists all agent deployments.\n       *\n       * @param options - Optional request options (pagination, filters).\n       * @returns A paginated list of agent deployments.\n       *\n       * @example\n       * const deployments = await admin.agents.deployments.list();\n       */\n      list: async (options?: RequestOptions): Promise<AgentDeployment[]> => {\n        return rb.execute<AgentDeployment[]>(\n          getAdminAgentDeployments,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Retrieves a single agent deployment by ID.\n       *\n       * @param id - The UUID of the deployment.\n       * @param options - Optional request options.\n       * @returns The agent deployment.\n       *\n       * @example\n       * const deployment = await admin.agents.deployments.get('dep_01...');\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<AgentDeployment> => {\n        return rb.execute<AgentDeployment>(\n          getAdminAgentDeploymentsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Creates a new agent deployment.\n       *\n       * @param attributes - Deployment attributes (catalog_agent_id, application_id, etc.).\n       * @param options - Optional request options.\n       * @returns The created deployment.\n       *\n       * @example\n       * const deployment = await admin.agents.deployments.create({\n       *   catalog_agent_id: 'agent_01...',\n       *   effective_version_id: 'ver_01...',\n       *   application_id: 'app_01...',\n       *   tenant_id: 'ten_01...',\n       * });\n       */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ): Promise<AgentDeployment> => {\n        return rb.execute<AgentDeployment>(\n          postAdminAgentDeployments,\n          { body: { data: { type: \"agent-deployment\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Updates an agent deployment.\n       *\n       * @param id - The UUID of the deployment.\n       * @param attributes - Attributes to update.\n       * @param options - Optional request options.\n       * @returns The updated deployment.\n       *\n       * @example\n       * await admin.agents.deployments.update('dep_01...', { auto_deploy_agents: true });\n       */\n      update: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ): Promise<AgentDeployment> => {\n        return rb.execute<AgentDeployment>(\n          patchAdminAgentDeploymentsById,\n          {\n            path: { id },\n            body: { data: { type: \"agent-deployment\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Accepts a pending version update on a deployment.\n       *\n       * @param id - The UUID of the deployment with an available update.\n       * @param options - Optional request options.\n       * @returns The updated deployment with new effective version.\n       *\n       * @example\n       * await admin.agents.deployments.acceptUpdate('dep_01...');\n       */\n      acceptUpdate: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<AgentDeployment> => {\n        return rb.execute<AgentDeployment>(\n          patchAdminAgentDeploymentsByIdAcceptUpdate,\n          {\n            path: { id },\n            body: { data: { type: \"agent-deployment\", id, attributes: {} } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently deletes an agent deployment.\n       *\n       * @param id - The UUID of the deployment to delete.\n       * @param options - Optional request options.\n       * @returns True on successful deletion.\n       *\n       * @example\n       * await admin.agents.deployments.delete('dep_01...');\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminAgentDeploymentsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ── Workspace Agent Configs ────────────────────────────────────\n\n    /**\n     * Manage workspace-level agent config overrides.\n     */\n    workspaceConfigs: {\n      /**\n       * Lists all workspace agent configs.\n       *\n       * @param options - Optional request options (pagination, filters).\n       * @returns A paginated list of workspace agent configs.\n       *\n       * @example\n       * const configs = await admin.agents.workspaceConfigs.list();\n       */\n      list: async (\n        options?: RequestOptions,\n      ): Promise<WorkspaceAgentConfig[]> => {\n        return rb.execute<WorkspaceAgentConfig[]>(\n          getAdminWorkspaceAgentConfigs,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Retrieves a single workspace agent config by ID.\n       *\n       * @param id - The UUID of the config.\n       * @param options - Optional request options.\n       * @returns The workspace agent config.\n       *\n       * @example\n       * const config = await admin.agents.workspaceConfigs.get('wac_01...');\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<WorkspaceAgentConfig> => {\n        return rb.execute<WorkspaceAgentConfig>(\n          getAdminWorkspaceAgentConfigsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Creates a new workspace agent config.\n       *\n       * @param attributes - Config attributes (agent_deployment_id, workspace_id, overrides).\n       * @param options - Optional request options.\n       * @returns The created config.\n       *\n       * @example\n       * const config = await admin.agents.workspaceConfigs.create({\n       *   agent_deployment_id: 'dep_01...',\n       *   workspace_id: 'ws_01...',\n       *   overrides: { prompt_template: 'Custom prompt...' },\n       * });\n       */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ): Promise<WorkspaceAgentConfig> => {\n        return rb.execute<WorkspaceAgentConfig>(\n          postAdminWorkspaceAgentConfigs,\n          {\n            body: {\n              data: { type: \"workspace-agent-config\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Updates a workspace agent config.\n       *\n       * @param id - The UUID of the config.\n       * @param attributes - Attributes to update.\n       * @param options - Optional request options.\n       * @returns The updated config.\n       *\n       * @example\n       * await admin.agents.workspaceConfigs.update('wac_01...', {\n       *   overrides: { prompt_template: 'Updated prompt...' },\n       * });\n       */\n      update: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ): Promise<WorkspaceAgentConfig> => {\n        return rb.execute<WorkspaceAgentConfig>(\n          patchAdminWorkspaceAgentConfigsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"workspace-agent-config\", id, attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently deletes a workspace agent config.\n       *\n       * @param id - The UUID of the config to delete.\n       * @param options - Optional request options.\n       * @returns True on successful deletion.\n       *\n       * @example\n       * await admin.agents.workspaceConfigs.delete('wac_01...');\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminWorkspaceAgentConfigsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ── Agent Souls ────────────────────────────────────────────────\n\n    /**\n     * Manage agent souls — personality templates that govern agent behavior.\n     */\n    souls: {\n      /**\n       * Lists all agent souls.\n       *\n       * @param options - Optional request options (pagination, filters).\n       * @returns A list of agent souls.\n       *\n       * @example\n       * const souls = await admin.agents.souls.list();\n       */\n      list: async (options?: RequestOptions): Promise<AgentSoul[]> => {\n        return rb.execute<AgentSoul[]>(getAdminAgentSouls, {}, options);\n      },\n\n      /**\n       * Retrieves a single agent soul by ID.\n       *\n       * @param id - The UUID of the soul.\n       * @param options - Optional request options.\n       * @returns The agent soul.\n       *\n       * @example\n       * const soul = await admin.agents.souls.get('soul_01...');\n       */\n      get: async (id: string, options?: RequestOptions): Promise<AgentSoul> => {\n        return rb.execute<AgentSoul>(\n          getAdminAgentSoulsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Creates a new agent soul.\n       *\n       * @param attributes - Soul attributes (name, content, scope_type, etc.).\n       * @param options - Optional request options.\n       * @returns The created soul.\n       *\n       * @example\n       * const soul = await admin.agents.souls.create({\n       *   name: 'Professional',\n       *   content: 'You are a professional, courteous assistant...',\n       *   scope_type: 'workspace',\n       *   workspace_id: 'ws_01...',\n       * });\n       */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ): Promise<AgentSoul> => {\n        return rb.execute<AgentSoul>(\n          postAdminAgentSouls,\n          { body: { data: { type: \"agent-soul\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Updates an agent soul.\n       *\n       * @param id - The UUID of the soul.\n       * @param attributes - Attributes to update.\n       * @param options - Optional request options.\n       * @returns The updated soul.\n       *\n       * @example\n       * await admin.agents.souls.update('soul_01...', { content: 'Updated guidelines...' });\n       */\n      update: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ): Promise<AgentSoul> => {\n        return rb.execute<AgentSoul>(\n          patchAdminAgentSoulsById,\n          {\n            path: { id },\n            body: { data: { type: \"agent-soul\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently deletes an agent soul.\n       *\n       * @param id - The UUID of the soul to delete.\n       * @param options - Optional request options.\n       * @returns True on successful deletion.\n       *\n       * @example\n       * await admin.agents.souls.delete('soul_01...');\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminAgentSoulsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ── Tool Catalog ───────────────────────────────────────────────\n\n    /**\n     * Browse the agent tool catalog.\n     */\n    toolCatalog: {\n      /**\n       * Lists all available agent tools.\n       *\n       * @param options - Optional request options (pagination, filters).\n       * @returns A list of tool catalog entries.\n       *\n       * @example\n       * const tools = await admin.agents.toolCatalog.list();\n       */\n      list: async (\n        options?: RequestOptions,\n      ): Promise<Record<string, unknown>[]> => {\n        return rb.execute<Record<string, unknown>[]>(\n          getAdminAgentTools,\n          {},\n          options,\n        );\n      },\n    },\n  };\n}\n\n/** Return type for the agents namespace — supports per-domain type imports. */\nexport type AgentsAPI = ReturnType<typeof createAgentsNamespace>;\n","// Hand-maintained — override generation\nimport {\n  getAdminAccounts,\n  getAdminAccountsById,\n  patchAdminAccountsByIdCredit,\n  patchAdminAccountsByIdDebit,\n} from \"../_internal/sdk.gen\";\nimport type { Account } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/**\n * Manages platform billing accounts.\n *\n * Each account tracks the credit balance and currency for an API key or workspace.\n * Admin access only — these operations bypass tenant-level authorization.\n */\nexport function createAccountsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Lists all billing accounts across the platform.\n     *\n     * @param options - Optional request options (headers, abort signal).\n     * @returns Array of Account objects with current balances.\n     */\n    list: async (options?: RequestOptions): Promise<Account[]> => {\n      return rb.execute<Account[]>(getAdminAccounts, {}, options);\n    },\n\n    /**\n     * Fetches a single billing account by ID.\n     *\n     * @param id - Account ID.\n     * @param options - Optional request options.\n     * @returns The Account record.\n     */\n    get: async (id: string, options?: RequestOptions): Promise<Account> => {\n      return rb.execute<Account>(\n        getAdminAccountsById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Adds credits to an account balance.\n     *\n     * Use for manual top-ups, promotional credits, or correction adjustments.\n     * The amount must be a positive number greater than zero.\n     *\n     * @param id - Account ID.\n     * @param amount - Number of credits to add (must be > 0).\n     * @param description - Optional human-readable reason for the credit.\n     * @param options - Optional request options.\n     * @returns Updated Account with the new balance.\n     * @example\n     * ```typescript\n     * const account = await admin.accounts.credit(\n     *   \"acct_123\",\n     *   5000,\n     *   \"Manual top-up\",\n     * );\n     * ```\n     */\n    credit: async (\n      id: string,\n      amount: number,\n      description?: string,\n      options?: RequestOptions,\n    ): Promise<Account> => {\n      if (amount <= 0) {\n        throw new Error(\"Credit amount must be positive\");\n      }\n      return rb.execute<Account>(\n        patchAdminAccountsByIdCredit,\n        {\n          path: { id },\n          body: {\n            data: { type: \"account\", attributes: { amount, description } },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Deducts credits from an account balance.\n     *\n     * Use for charge-backs, manual usage adjustments, or corrections.\n     * The amount must be a positive number greater than zero.\n     *\n     * @param id - Account ID.\n     * @param amount - Number of credits to deduct (must be > 0).\n     * @param description - Optional human-readable reason for the debit.\n     * @param options - Optional request options.\n     * @returns Updated Account with the new balance.\n     * @example\n     * ```typescript\n     * const account = await admin.accounts.debit(\n     *   \"acct_123\",\n     *   250,\n     *   \"Usage correction\",\n     * );\n     * ```\n     */\n    debit: async (\n      id: string,\n      amount: number,\n      description?: string,\n      options?: RequestOptions,\n    ): Promise<Account> => {\n      if (amount <= 0) {\n        throw new Error(\"Debit amount must be positive\");\n      }\n      return rb.execute<Account>(\n        patchAdminAccountsByIdDebit,\n        {\n          path: { id },\n          body: {\n            data: { type: \"account\", attributes: { amount, description } },\n          },\n        },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport {\n  deleteAdminApplicationsById,\n  getAdminApplications,\n  getAdminApplicationsById,\n  getAdminApplicationsBySlugBySlug,\n  getAdminApplicationsCurrent,\n  patchAdminApplicationsById,\n  patchAdminApplicationsByIdAllocateCredits,\n  patchAdminApplicationsByIdComplianceTags,\n  patchAdminApplicationsByIdGrantCredits,\n  postAdminApplications,\n  postAdminApplicationsProvision,\n} from \"../_internal/sdk.gen\";\nimport type { Application } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n// ---------------------------------------------------------------------------\n// OAuthConfig — mirrors GptCore.Tenancy.OAuthConfig embedded resource\n// ---------------------------------------------------------------------------\n\n/**\n * OAuth configuration embedded on an Application.\n *\n * ## Schema\n *\n * | Field | Type | Sensitive | Notes |\n * |-------|------|-----------|-------|\n * | `callback_urls` | `string[]` | No | Allowed OAuth callback URLs. Default `[]`. |\n * | `default_callback_url` | `string \\| null` | No | Default callback URL if not specified in OAuth request. Must be in `callback_urls`. |\n * | `enabled_providers` | `(\"google\" \\| \"github\" \\| \"salesforce\" \\| \"microsoft\")[]` | No | Providers enabled for this app. Default `[\"google\", \"github\"]`. |\n * | `google_client_id` | `string \\| null` | No | White-label Google OAuth client ID. Requires `google_client_secret`. |\n * | `google_client_secret` | `string \\| null` | **Yes** | White-label Google OAuth client secret. Write-only at rest. |\n * | `github_client_id` | `string \\| null` | No | White-label GitHub OAuth client ID. Requires `github_client_secret`. |\n * | `github_client_secret` | `string \\| null` | **Yes** | White-label GitHub OAuth client secret. Write-only at rest. |\n * | `microsoft_client_id` | `string \\| null` | No | White-label Microsoft OAuth client ID. Requires `microsoft_client_secret`. |\n * | `microsoft_client_secret` | `string \\| null` | **Yes** | White-label Microsoft OAuth client secret. Write-only at rest. |\n *\n * **Validation rules:**\n * - `default_callback_url` must appear in `callback_urls` when set.\n * - White-label credentials (client_id/client_secret) must be supplied as a\n *   pair — providing one without the other is rejected.\n */\nexport interface OAuthConfig {\n  /** Allowed OAuth redirect callback URLs. */\n  callback_urls?: string[] | null;\n  /** Default callback URL when the OAuth request omits one. Must be in `callback_urls`. */\n  default_callback_url?: string | null;\n  /** OAuth providers enabled for this application. */\n  enabled_providers?: Array<\n    \"google\" | \"github\" | \"salesforce\" | \"microsoft\"\n  > | null;\n  /** White-label Google OAuth client ID (optional). Requires `google_client_secret`. */\n  google_client_id?: string | null;\n  /**\n   * White-label Google OAuth client secret (optional). Requires `google_client_id`.\n   * Sensitive — never returned in read responses.\n   */\n  google_client_secret?: string | null;\n  /** White-label GitHub OAuth client ID (optional). Requires `github_client_secret`. */\n  github_client_id?: string | null;\n  /**\n   * White-label GitHub OAuth client secret (optional). Requires `github_client_id`.\n   * Sensitive — never returned in read responses.\n   */\n  github_client_secret?: string | null;\n  /** White-label Microsoft OAuth client ID (optional). Requires `microsoft_client_secret`. */\n  microsoft_client_id?: string | null;\n  /**\n   * White-label Microsoft OAuth client secret (optional). Requires `microsoft_client_id`.\n   * Sensitive — never returned in read responses.\n   */\n  microsoft_client_secret?: string | null;\n}\n\n/**\n * Result shape returned by the `:read_current` action (`GET /applications/current`\n * and `GET /applications/me`). This is a plain map wrapped in an action-result\n * envelope rather than a full JSON:API resource — it includes `owner_id` and\n * all application configuration fields.\n *\n * Note: `generated_api_key` is populated only on `:create` and is always `null`\n * here. Use `admin.applications.create()` or the `createApiKey` action to\n * obtain a new key.\n */\nexport interface CurrentApplicationResult {\n  id: string;\n  name: string;\n  slug: string;\n  description: string | null;\n  invite_only: boolean;\n  base_url: string;\n  logo_url: string | null;\n  badge_url: string | null;\n  sender_name: string | null;\n  sender_email: string | null;\n  require_email_verification: boolean;\n  vanity_slug: string | null;\n  /** OAuth provider configuration. See `OAuthConfig` for full field schema. */\n  oauth: OAuthConfig | null;\n  workspace_mode: \"single\" | \"multi\";\n  invitation_mode: \"open\" | \"admin_only\";\n  allow_org_creation: boolean;\n  /**\n   * Enabled platform feature gates for this application.\n   *\n   * Capability strings are bundle keys (e.g. `\"crm\"`, `\"agents\"`,\n   * `\"intelligence\"`) or the opt-in `\"ai_workload_routing\"`. Call\n   * `GET /isv/capabilities` for the complete list.\n   */\n  enabled_capabilities: string[] | null;\n  /**\n   * Regulatory/data-handling attestations for this application.\n   *\n   * Valid values include `\"GDPR\"`, `\"HIPAA\"`, `\"SOC2\"`, `\"PCI-DSS\"`,\n   * `\"SOC2-Type2\"`, `\"ISO27001\"`, and `\"NIST800-53\"`. Tags enable\n   * compliance-specific safeguards such as HIPAA session timeouts, BAA-safe\n   * provider routing, telemetry redaction, and webhook/body handling.\n   */\n  compliance_tags: string[] | null;\n  capability_schema_version: number | null;\n  default_free_credits: number;\n  max_concurrent_executions_per_tenant: number;\n  max_concurrent_executions_per_workspace: number;\n  max_parallel_tools_global: number | null;\n  payment_provider: \"qorpay\" | \"stripe\";\n  portal_defaults: Record<string, unknown> | null;\n  public_registry: boolean | null;\n  /**\n   * How auth-related emails are delivered.\n   * - `\"link\"`: emails contain a click-through URL anchored on `base_url`\n   * - `\"code\"`: emails contain a paste-able 6-character code\n   */\n  system_email_method: \"link\" | \"code\";\n  /** Per-workspace concurrent voice session cap. `null` indicates the\n   * platform default (10) applies. */\n  voice_max_sessions_per_workspace: number | null;\n  /** Voice session auto-timeout in minutes. `null` indicates the platform\n   * default (30) applies. */\n  voice_session_timeout_minutes: number | null;\n  /** Additional ops/finance contacts for Layer 1 billing communications. */\n  billing_contact_emails: string[];\n  /** UUID of the Tenant that owns this application. */\n  owner_id: string | null;\n  created_at: string;\n  updated_at: string;\n}\n\n/** Attributes accepted by `POST /admin/applications` (create). */\nexport interface CreateApplicationAttributes {\n  /** Display name of the application. */\n  name: string;\n  /** URL-friendly identifier. Auto-generated from name if omitted. */\n  slug?: string;\n  /** Human-readable description of the application. */\n  description?: string;\n  /** UUID of the user who owns this application. */\n  owner_id: string;\n  /** Free credits granted to each new tenant on signup. Default: 0. */\n  default_free_credits?: number;\n  /** URL to the application logo image. */\n  logo_url?: string;\n  /** URL to the application badge image. */\n  badge_url?: string;\n  /** Whether new users must verify their email before accessing the application. */\n  require_email_verification?: boolean;\n  /** Base URL for the application (used in emails, OAuth redirects, etc.). */\n  base_url?: string;\n  /** Display name for outbound emails from this application. */\n  sender_name?: string;\n  /** Email address for outbound emails from this application. */\n  sender_email?: string;\n  /** Whether the application requires an invitation to join. */\n  invite_only?: boolean;\n  /** OAuth provider configuration. See `OAuthConfig` for the full field schema. */\n  oauth?: OAuthConfig;\n  /** Custom vanity slug for the application portal URL. */\n  vanity_slug?: string;\n  /**\n   * Platform capabilities to enable for this application.\n   *\n   * Capability strings are bundle keys (e.g. `\"crm\"`, `\"agents\"`,\n   * `\"intelligence\"`) or the opt-in `\"ai_workload_routing\"`. Use\n   * `admin.capabilities.list()` to discover the complete list. Bundle\n   * membership is structural — there is no automatic dependency expansion,\n   * so each bundle the application needs must be listed explicitly.\n   */\n  enabled_capabilities?: string[];\n  /**\n   * Workspace isolation mode.\n   * - `\"single\"` (default): One workspace per tenant, auto-resolved. Callers never pass workspace_id.\n   * - `\"multi\"`: Tenants manage workspaces explicitly. workspace_id required on scoped requests.\n   */\n  workspace_mode?: \"single\" | \"multi\";\n  /** Write-only — accepted on create but never returned in responses (encrypted at rest). Per-capability configuration keys. */\n  capability_config?: Record<string, unknown>;\n  /** Whether tenants can create sub-organizations. */\n  allow_org_creation?: boolean;\n  /** Controls who can send invitations. `\"open\"` allows any member; `\"admin_only\"` restricts to tenant admins. */\n  invitation_mode?: \"open\" | \"admin_only\";\n  /** Payment provider for billing integration. */\n  payment_provider?: \"qorpay\" | \"stripe\";\n  /** Default portal configuration for new tenants (theme, layout, feature visibility). */\n  portal_defaults?: Record<string, unknown>;\n  /** When true, the application's registry at `/r/{app_slug}/` is publicly\n   * readable without a token. Default: false. */\n  public_registry?: boolean;\n  /** How auth-related emails are delivered. Default: `\"link\"`. */\n  system_email_method?: \"link\" | \"code\";\n  /**\n   * Additional ops/finance contacts for Layer 1 billing communications\n   * (overdraft warnings, suspension notices, payout failures). The\n   * application owner is notified separately and does not need to be\n   * listed here.\n   */\n  billing_contact_emails?: string[];\n}\n\n/** Attributes accepted by `PATCH /admin/applications/:id` (update). */\nexport interface UpdateApplicationAttributes {\n  name?: string;\n  slug?: string;\n  description?: string;\n  logo_url?: string | null;\n  badge_url?: string | null;\n  base_url?: string;\n  sender_name?: string;\n  sender_email?: string;\n  require_email_verification?: boolean;\n  invite_only?: boolean;\n  /** OAuth provider configuration. See `OAuthConfig` for the full field schema. */\n  oauth?: OAuthConfig;\n  vanity_slug?: string | null;\n  /**\n   * Platform capabilities to enable for this application.\n   *\n   * Preserve existing capability strings when adding or removing one bundle.\n   * Capability strings are bundle keys (e.g. `\"crm\"`, `\"agents\"`,\n   * `\"intelligence\"`) or the opt-in `\"ai_workload_routing\"`. Use\n   * `admin.capabilities.list()` for the complete list.\n   */\n  enabled_capabilities?: string[];\n  workspace_mode?: \"single\" | \"multi\";\n  /** Write-only — accepted on update but never returned in responses (encrypted at rest). */\n  capability_config?: Record<string, unknown>;\n  allow_org_creation?: boolean;\n  invitation_mode?: \"open\" | \"admin_only\";\n  max_parallel_tools_global?: number;\n  /** Per-workspace ceiling on concurrent agent executions (default 10). */\n  max_concurrent_executions_per_workspace?: number;\n  /** Per-tenant ceiling on concurrent agent executions (default 50). */\n  max_concurrent_executions_per_tenant?: number;\n  payment_provider?: \"qorpay\" | \"stripe\";\n  portal_defaults?: Record<string, unknown>;\n  /** Allowed source IPs for server-side keys (CIDR strings). */\n  allowed_server_ips?: string[];\n  /** Failed-login attempts permitted per window before lockout (default 5). */\n  login_lockout_threshold?: number;\n  /** Sliding window in seconds for login-lockout counting (default 900). */\n  login_lockout_window_seconds?: number;\n  /** Lockout duration in seconds once threshold is hit (default 900). */\n  login_lockout_duration_seconds?: number;\n  /** Update how auth-related emails are delivered. */\n  system_email_method?: \"link\" | \"code\";\n  /**\n   * Multi-tier MFA enforcement policy (D1).\n   *\n   * - `\"required\"`: every user must complete MFA at login.\n   * - `\"tenant_choice\"`: defer to each tenant's `mfa_policy`; login-time\n   *   aggregate fires if ANY user tenant under this app has `mfa_policy: \"required\"`.\n   * - `\"user_choice\"`: defer to per-user opt-in (default).\n   */\n  mfa_policy?: \"required\" | \"tenant_choice\" | \"user_choice\";\n  /**\n   * Whether the application's registry at `/r/{app_slug}/` is publicly\n   * readable without a token. Updating this immediately changes registry\n   * visibility for new requests (the Application cache is invalidated by\n   * the server on update).\n   */\n  public_registry?: boolean;\n  /**\n   * Per-workspace concurrent voice session cap. `null` resets to the\n   * platform default (10). Server invalidates the Application cache so\n   * the new ceiling takes effect without a redeploy.\n   */\n  voice_max_sessions_per_workspace?: number | null;\n  /**\n   * Voice session auto-timeout in minutes. `null` resets to the platform\n   * default (30). Server invalidates the Application cache so the new\n   * timeout takes effect without a redeploy.\n   */\n  voice_session_timeout_minutes?: number | null;\n  /**\n   * Additional ops/finance contacts for Layer 1 billing communications.\n   * Replaces the existing list — pass `[]` to clear all contacts.\n   */\n  billing_contact_emails?: string[];\n}\n\n/**\n * ISV application management — create, configure, and manage platform applications.\n *\n * Applications are the top-level identity for ISV products. Each application\n * owns tenants, API keys, capability configs, and billing accounts.\n */\nexport function createApplicationsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Lists all applications on the platform.\n     *\n     * @param options - Optional request options (headers, abort signal).\n     * @returns Array of Application objects.\n     *\n     * @example\n     * ```ts\n     * const apps = await admin.applications.list();\n     * ```\n     */\n    list: async (options?: RequestOptions): Promise<Application[]> => {\n      return rb.execute<Application[]>(getAdminApplications, {}, options);\n    },\n\n    /**\n     * Fetches a single application by ID.\n     *\n     * @param id - Application UUID.\n     * @param options - Optional request options.\n     * @returns The Application record.\n     *\n     * @example\n     * ```ts\n     * const app = await admin.applications.get(\"uuid\");\n     * ```\n     */\n    get: async (id: string, options?: RequestOptions): Promise<Application> => {\n      return rb.execute<Application>(\n        getAdminApplicationsById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Fetches an application by its unique slug.\n     *\n     * @param slug - Application slug (e.g. \"my-saas-app\").\n     * @param options - Optional request options.\n     * @returns The Application record.\n     *\n     * @example\n     * ```ts\n     * const app = await admin.applications.getBySlug(\"my-saas-app\");\n     * ```\n     */\n    getBySlug: async (\n      slug: string,\n      options?: RequestOptions,\n    ): Promise<Application> => {\n      return rb.execute<Application>(\n        getAdminApplicationsBySlugBySlug,\n        { path: { slug } },\n        options,\n      );\n    },\n\n    /**\n     * Fetches the application associated with the current API key.\n     *\n     * Resolves the application from the `x-application-key` header.\n     * Returns a 30-field projection including `owner_id` and all capability\n     * configuration. Useful for validating API key connectivity and reading\n     * ISV configuration at runtime.\n     *\n     * @param options - Optional request options.\n     * @returns The current application as a `CurrentApplicationResult` map.\n     *\n     * @example\n     * ```ts\n     * const app = await admin.applications.getCurrent();\n     * console.log(app.owner_id); // tenant UUID\n     * ```\n     */\n    getCurrent: async (\n      options?: RequestOptions,\n    ): Promise<CurrentApplicationResult> => {\n      return rb.execute<CurrentApplicationResult>(\n        getAdminApplicationsCurrent,\n        {},\n        options,\n      );\n    },\n\n    /**\n     * Alias for `getCurrent()` — fetches the application for the current API key.\n     *\n     * Calls `GET /admin/applications/me`. Returns the same 30-field projection\n     * as `getCurrent()`, including `owner_id`.\n     *\n     * @param options - Optional request options.\n     * @returns The current application as a `CurrentApplicationResult` map.\n     *\n     * @example\n     * ```ts\n     * const app = await admin.applications.getMe();\n     * ```\n     */\n    getMe: async (\n      options?: RequestOptions,\n    ): Promise<CurrentApplicationResult> => {\n      return rb.rawGet<CurrentApplicationResult>(\n        \"/admin/applications/me\",\n        options,\n      );\n    },\n\n    /**\n     * Registers a new ISV application on the platform.\n     *\n     * Auto-generates a unique slug from name if not provided. Validates\n     * enabled_capabilities and their dependency graph. After creation:\n     * creates a billing liability account, auto-generates a default\n     * `sk_app_` API key (returned once in `generated_api_key`), and\n     * creates system email templates.\n     *\n     * @param attrs - Application creation attributes.\n     * @param options - Optional request options.\n     * @returns The created Application with `generated_api_key` populated (one-time).\n     *\n     * @example\n     * ```ts\n     * const app = await admin.applications.create({\n     *   name: \"My SaaS App\",\n     *   owner_id: \"tenant-uuid\",\n     *   base_url: \"https://app.example.com\",\n     * });\n     * console.log(app.attributes.generated_api_key); // Save this!\n     * ```\n     */\n    create: async (\n      attrs: CreateApplicationAttributes,\n      options?: RequestOptions,\n    ): Promise<Application> => {\n      // F-SDK-SPREAD-R2: destructure each declared field explicitly so\n      // non-typed properties from `as any` callers cannot leak through to\n      // AshJsonApi (which rejects unknown attributes with an opaque 400).\n      const {\n        name,\n        slug,\n        description,\n        owner_id,\n        default_free_credits,\n        logo_url,\n        badge_url,\n        require_email_verification,\n        base_url,\n        sender_name,\n        sender_email,\n        invite_only,\n        oauth,\n        vanity_slug,\n        enabled_capabilities,\n        workspace_mode,\n        capability_config,\n        allow_org_creation,\n        invitation_mode,\n        payment_provider,\n        portal_defaults,\n        public_registry,\n        system_email_method,\n        billing_contact_emails,\n      } = attrs;\n\n      return rb.execute<Application>(\n        postAdminApplications,\n        {\n          body: {\n            data: {\n              type: \"application\",\n              attributes: {\n                name,\n                slug,\n                description,\n                owner_id,\n                default_free_credits,\n                logo_url,\n                badge_url,\n                require_email_verification,\n                base_url,\n                sender_name,\n                sender_email,\n                invite_only,\n                oauth,\n                vanity_slug,\n                enabled_capabilities,\n                workspace_mode,\n                capability_config,\n                allow_org_creation,\n                invitation_mode,\n                payment_provider,\n                portal_defaults,\n                public_registry,\n                system_email_method,\n                billing_contact_emails,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Updates an existing application's configuration.\n     *\n     * Accepts branding, email settings, capability flags, workspace mode,\n     * and execution limits. Validates enabled_capabilities and their\n     * dependency graph. Use `updateComplianceTags` for compliance tag\n     * changes, and `allocateCredits` for funding.\n     *\n     * @param id - Application UUID.\n     * @param attrs - Attributes to update.\n     * @param options - Optional request options.\n     * @returns The updated Application.\n     *\n     * @example\n     * ```ts\n     * // Tune execution + onboarding settings\n     * const app = await admin.applications.update(\"uuid\", {\n     *   max_parallel_tools_global: 10,\n     *   invite_only: true,\n     * });\n     *\n     * // Switch the application's auth emails to short-code mode (required\n     * // for ISVs without a hosted website at base_url, e.g., the SF plugin).\n     * // Per-call overrides on `register` and `invitations.create` continue\n     * // to take precedence over this Application-level default.\n     * const app = await admin.applications.update(\"uuid\", {\n     *   system_email_method: \"code\",\n     * });\n     * ```\n     */\n    update: async (\n      id: string,\n      attrs: UpdateApplicationAttributes,\n      options?: RequestOptions,\n    ): Promise<Application> => {\n      // F-SDK-SPREAD-R2: explicit destructure — see create() for rationale.\n      // owner_id is intentionally absent here (transfer-of-ownership is a\n      // separate flow). `as any` callers passing it must not leak it.\n      const {\n        name,\n        slug,\n        description,\n        logo_url,\n        badge_url,\n        base_url,\n        sender_name,\n        sender_email,\n        require_email_verification,\n        invite_only,\n        oauth,\n        vanity_slug,\n        enabled_capabilities,\n        workspace_mode,\n        capability_config,\n        allow_org_creation,\n        invitation_mode,\n        max_parallel_tools_global,\n        max_concurrent_executions_per_workspace,\n        max_concurrent_executions_per_tenant,\n        payment_provider,\n        portal_defaults,\n        allowed_server_ips,\n        login_lockout_threshold,\n        login_lockout_window_seconds,\n        login_lockout_duration_seconds,\n        system_email_method,\n        mfa_policy,\n        public_registry,\n        voice_max_sessions_per_workspace,\n        voice_session_timeout_minutes,\n        billing_contact_emails,\n      } = attrs;\n\n      return rb.execute<Application>(\n        patchAdminApplicationsById,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"application\",\n              attributes: {\n                name,\n                slug,\n                description,\n                logo_url,\n                badge_url,\n                base_url,\n                sender_name,\n                sender_email,\n                require_email_verification,\n                invite_only,\n                oauth,\n                vanity_slug,\n                enabled_capabilities,\n                workspace_mode,\n                capability_config,\n                allow_org_creation,\n                invitation_mode,\n                max_parallel_tools_global,\n                max_concurrent_executions_per_workspace,\n                max_concurrent_executions_per_tenant,\n                payment_provider,\n                portal_defaults,\n                allowed_server_ips,\n                login_lockout_threshold,\n                login_lockout_window_seconds,\n                login_lockout_duration_seconds,\n                system_email_method,\n                mfa_policy,\n                public_registry,\n                voice_max_sessions_per_workspace,\n                voice_session_timeout_minutes,\n                billing_contact_emails,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Deletes an application.\n     *\n     * @param id - Application UUID.\n     * @param options - Optional request options.\n     * @returns `true` on success.\n     *\n     * @example\n     * ```ts\n     * await admin.applications.delete(\"uuid\");\n     * ```\n     */\n    delete: async (id: string, options?: RequestOptions): Promise<true> => {\n      return rb.executeDelete(\n        deleteAdminApplicationsById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Sets compliance tags on an application (platform admin only).\n     *\n     * Compliance tags indicate regulatory frameworks the application\n     * adheres to (e.g. GDPR, HIPAA, SOC2). Tags drive data-handling controls\n     * such as HIPAA session timeouts, BAA-safe provider routing, telemetry\n     * redaction, and webhook/body handling.\n     *\n     * This is a dedicated action separate from the general update to enforce\n     * platform-admin-only access.\n     *\n     * @param id - Application UUID.\n     * @param complianceTags - Array of compliance tag strings.\n     * @param options - Optional request options.\n     * @returns The updated Application.\n     *\n     * @example\n     * ```ts\n     * const app = await admin.applications.updateComplianceTags(\"uuid\", [\n     *   \"GDPR\",\n     *   \"HIPAA\",\n     *   \"SOC2\",\n     * ]);\n     * ```\n     */\n    updateComplianceTags: async (\n      id: string,\n      complianceTags: string[],\n      options?: RequestOptions,\n    ): Promise<Application> => {\n      return rb.execute<Application>(\n        patchAdminApplicationsByIdComplianceTags,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"application\",\n              attributes: { compliance_tags: complianceTags },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Grants credits to the application's billing account.\n     *\n     * @param id - Application UUID.\n     * @param amount - Number of credits to grant.\n     * @param tenantId - Target tenant UUID for credit allocation.\n     * @param options - Optional request options.\n     * @returns The updated Application.\n     *\n     * @example\n     * ```ts\n     * const app = await admin.applications.grantCredits(\"app-uuid\", 1000, \"tenant-uuid\");\n     * ```\n     */\n    grantCredits: async (\n      id: string,\n      amount: number,\n      tenantId: string,\n      options?: RequestOptions,\n    ): Promise<Application> => {\n      return rb.execute<Application>(\n        patchAdminApplicationsByIdGrantCredits,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"application\",\n              attributes: { amount, tenant_id: tenantId },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Allocates credits from the application's account to a tenant.\n     *\n     * @param id - Application UUID.\n     * @param amount - Number of credits to allocate to the application's own billing account.\n     * @param description - Optional description for the credit transaction.\n     * @param options - Optional request options.\n     * @returns The updated Application.\n     *\n     * @example\n     * ```ts\n     * const app = await admin.applications.allocateCredits(\"app-uuid\", 500);\n     * ```\n     */\n    allocateCredits: async (\n      id: string,\n      amount: number,\n      description?: string,\n      options?: RequestOptions,\n    ): Promise<Application> => {\n      return rb.execute<Application>(\n        patchAdminApplicationsByIdAllocateCredits,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"application\",\n              attributes: { amount, description },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Atomically provision an ISV Application — Aggregate authoring (§4.10.5).\n     *\n     * Composes Application + (optional) BrandIdentity + (optional)\n     * EmailTemplate overrides + (optional) initial WholesaleAgreement in a\n     * single transaction. `Application.:create`'s after-actions still run\n     * inside the transaction, so the new Application also gets a billing\n     * liability account, a default `sk_app_` API key, system email templates,\n     * and system legal documents automatically.\n     *\n     * **Idempotency:** keyed on `spec.slug`. Re-running with the same slug\n     * returns `status: \"unchanged\"` with the existing entity ids — no new\n     * BrandIdentity / EmailTemplate / WholesaleAgreement rows are written.\n     *\n     * **Authorization:** any authenticated caller may call this endpoint.\n     * The inner `Application.:create` enforces `IsIsvTenantOwner` against\n     * `spec.owner_id` and rolls the entire transaction back if the actor\n     * doesn't own/admin that tenant. `initial_wholesale_agreement` is\n     * platform-admin-only; non-admin callers are rejected up-front with\n     * `wholesale_agreement_requires_platform_admin`.\n     *\n     * @param spec - Application provisioning spec (see ApplicationProvisionSpec).\n     * @param options - Optional request options.\n     * @returns Provision result with `status` + per-entity ids.\n     *\n     * @example\n     * ```typescript\n     * // ISV self-serve provision (no WholesaleAgreement).\n     * const result = await admin.applications.provision({\n     *   name: \"My SaaS\",\n     *   slug: \"my-saas\",\n     *   owner_id: \"tenant-uuid\",\n     *   workspace_mode: \"single\",\n     *   payment_provider: \"qorpay\",\n     *   brand_identity: {\n     *     voice: \"Friendly but precise\",\n     *     values: [\"clarity\", \"trust\"],\n     *     logo_url: \"https://example.com/logo.png\",\n     *   },\n     *   initial_bundles: [\"crm\", \"scheduling\"],\n     *   email_templates: {\n     *     invitation: { subject: \"Join {{scope.name}}!\" },\n     *   },\n     * });\n     * console.log(result.entity_ids.application_id);\n     * ```\n     */\n    provision: async (\n      spec: ApplicationProvisionSpec,\n      options?: RequestOptions,\n    ): Promise<ApplicationProvisionResult> => {\n      const result = await rb.execute<{ result: ApplicationProvisionResult }>(\n        postAdminApplicationsProvision,\n        {\n          body: {\n            data: {\n              spec: spec as unknown as { [key: string]: unknown },\n            },\n          },\n        },\n        options,\n      );\n      return (result as unknown as { result: ApplicationProvisionResult })\n        .result;\n    },\n  };\n}\n\n/**\n * Spec accepted by `admin.applications.provision()`. Loose-typed nested\n * objects mirror the server-side Ash resources — see\n * `lib/gpt_core/tenancy/services/application_provisioner.ex` for the\n * authoritative shape.\n */\nexport interface ApplicationProvisionSpec {\n  /** Required. Display name. */\n  name: string;\n  /** Required. URL-safe identifier, also the idempotency key. */\n  slug: string;\n  /** Required. ISV tenant id that will own the new Application. */\n  owner_id: string;\n  description?: string;\n  logo_url?: string;\n  badge_url?: string;\n  base_url?: string;\n  sender_name?: string;\n  sender_email?: string;\n  workspace_mode?: \"single\" | \"multi\";\n  payment_provider?: \"qorpay\" | \"stripe\";\n  billing_contact_emails?: string[];\n  system_email_method?: \"link\" | \"code\";\n  mfa_policy?: \"required\" | \"tenant_choice\" | \"user_choice\";\n  invitation_mode?: \"open\" | \"admin_only\";\n  allow_org_creation?: boolean;\n  require_email_verification?: boolean;\n  default_free_credits?: number;\n  vanity_slug?: string;\n  oauth?: OAuthConfig;\n  public_registry?: boolean;\n  allowed_server_ips?: string[];\n  portal_defaults?: { [key: string]: unknown };\n  compliance_tags?: string[];\n  /** Bundle keys to enable. Defaults to the standard bundle set when omitted. */\n  initial_bundles?: string[];\n  /**\n   * Optional tenant-scoped BrandIdentity to create alongside the Application.\n   * Skipped on idempotent re-run.\n   */\n  brand_identity?: {\n    voice?: string;\n    values?: string[];\n    target_audience?: string;\n    industry?: string;\n    website_url?: string;\n    logo_url?: string;\n    color_palette?: { [key: string]: unknown };\n    description?: string;\n    [key: string]: unknown;\n  };\n  /**\n   * ISV overrides for system email templates (keyed by template slug, e.g.\n   * `\"invitation\"`, `\"verification\"`, `\"password_reset\"`). Skipped on\n   * idempotent re-run.\n   */\n  email_templates?: {\n    [slug: string]: {\n      subject?: string;\n      body_markdown?: string;\n      primary_color?: string;\n      name?: string;\n      enabled?: boolean;\n    };\n  };\n  /**\n   * Optional initial commercial WholesaleAgreement. **Platform-admin-only.**\n   * Non-admin callers receive a `wholesale_agreement_requires_platform_admin`\n   * error and the whole provision is rejected up-front.\n   */\n  initial_wholesale_agreement?: {\n    permitted_capability_tiers?: string[];\n    overdraft_limit_credits?: number;\n    refund_reversal_days?: number;\n    settlement_frequency?: string;\n    effective_date?: string;\n    notes?: string;\n    [key: string]: unknown;\n  };\n}\n\n/** Result envelope returned by `admin.applications.provision()`. */\nexport interface ApplicationProvisionResult {\n  status: \"created\" | \"unchanged\";\n  entity_ids: {\n    application_id: string;\n    brand_identity_id: string | null;\n    email_template_ids: string[];\n    wholesale_agreement_id: string | null;\n  };\n}\n","// Hand-written — this namespace calls plain Phoenix routes (GET /sys/capabilities\n// and GET /isv/capabilities), not Ash JSON:API resources. Do NOT regenerate\n// with mix update.sdks.\n\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/**\n * One bundle entry returned by the capability catalog endpoints.\n *\n * After the C1 bundle collapse (2026-05-11), bundles are the user-facing unit\n * ISVs opt into. Each bundle aggregates one or more leaf capabilities (see\n * `members`) and belongs to a tier (`standard` or `premium`).\n */\nexport interface Bundle {\n  /** Bundle atom key as a string (e.g., `\"crm\"`, `\"integrations_crm\"`). */\n  key: string;\n  /** Human-readable name suitable for marketing surfaces. */\n  name: string;\n  /** Short description of what the bundle includes. */\n  description: string;\n  /** `\"standard\"` or `\"premium\"`. */\n  tier: string;\n  /**\n   * Premium gate bucket (`\"scale\" | \"compliance_governance\" | \"premium_ai\" |\n   * \"premium_connectors\" | \"niche\"`). `null` for standard-tier bundles.\n   */\n  gate_bucket: string | null;\n  /** Leaf capability atom keys that compose this bundle. */\n  members: string[];\n  /** Free-form descriptive tags (e.g., `[\"forms\", \"ai\"]`). */\n  tags: string[];\n}\n\n/**\n * Bundle entry annotated for a specific application (ISV view).\n *\n * Extends `Bundle` with per-application enablement state returned by\n * `GET /isv/capabilities`.\n */\nexport interface AnnotatedBundle extends Bundle {\n  /** Whether the authenticated application currently has this bundle enabled. */\n  enabled: boolean;\n  /**\n   * Whether this bundle can be enabled on the application's current plan.\n   * `true` when the tier is `\"standard\"` OR the plan grants `:premium` tier.\n   */\n  can_enable: boolean;\n  /**\n   * `true` when the bundle is premium-tier AND the application's plan does\n   * NOT grant `:premium`. Surfaced as a hint to drive plan upgrade flows.\n   */\n  missing_premium_plan: boolean;\n}\n\n/**\n * One opt-in capability entry. Opt-in capabilities are app-wide toggles that\n * are NOT part of a bundle (e.g., `ai_workload_routing`).\n */\nexport interface OptInCapability {\n  key: string;\n  name: string;\n  description: string;\n  /** Present on the ISV view, omitted on the admin view. */\n  enabled?: boolean;\n}\n\n/**\n * Raw leaf capability entry from the internal taxonomy. Returned only when\n * the caller passes `?include=catalog`. Most callers should prefer\n * `Bundle.members` for the canonical bundle → leaf mapping.\n */\nexport interface Capability {\n  key: string;\n  name: string;\n  description: string;\n  category: string;\n  domain: string;\n  /** Bundle assignment — bundle key, `\"implicit_core\"`, or `\"opt_in_standalone\"`. */\n  bundle: string;\n  /** `\"ga\" | \"beta\" | \"preview\" | \"planned\"`. */\n  status: string;\n  tags: string[];\n  docs_url: string | null;\n}\n\n/** Default response shape for `GET /sys/capabilities` (admin view). */\nexport interface AdminBundleCatalog {\n  bundles: Bundle[];\n  opt_in_capabilities: OptInCapability[];\n  /** Present only when `?include=catalog` was passed. */\n  capabilities?: Capability[];\n}\n\n/** Default response shape for `GET /isv/capabilities` (ISV view). */\nexport interface AnnotatedBundleCatalog {\n  bundles: AnnotatedBundle[];\n  opt_in_capabilities: OptInCapability[];\n  /** Present only when `?include=catalog` was passed. */\n  capabilities?: Capability[];\n}\n\n/** Options accepted by the capability list methods. */\nexport interface ListCapabilitiesOptions extends RequestOptions {\n  /**\n   * When `true`, requests `?include=catalog` and the server appends the raw\n   * leaf-capability catalog (`capabilities`) alongside the bundle list.\n   */\n  includeCatalog?: boolean;\n}\n\nfunction withCatalogQuery(url: string, includeCatalog: boolean | undefined) {\n  return includeCatalog ? `${url}?include=catalog` : url;\n}\n\nexport function createCapabilitiesNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List the bundle catalog (platform admin view — no per-application\n     * annotations).\n     *\n     * Returns every bundle defined in the registry. Pass `includeCatalog: true`\n     * to also receive the raw leaf-capability catalog under `capabilities`.\n     *\n     * Requires a platform admin key (`sk_sys_`).\n     *\n     * @param options - Optional request options + `includeCatalog`.\n     * @returns The bundle catalog plus opt-in capabilities, plus the raw leaf\n     *   catalog when `includeCatalog: true`.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: \"sk_sys_...\" });\n     * const { bundles, opt_in_capabilities } = await admin.capabilities.list();\n     * const premium = bundles.filter((b) => b.tier === \"premium\");\n     * ```\n     */\n    list: async (\n      options?: ListCapabilitiesOptions,\n    ): Promise<AdminBundleCatalog> => {\n      return rb.rawGet<AdminBundleCatalog>(\n        withCatalogQuery(\"/sys/capabilities\", options?.includeCatalog),\n        options,\n      );\n    },\n\n    /**\n     * List the bundle catalog annotated for the authenticated application\n     * (ISV view).\n     *\n     * Returns every bundle with `enabled`, `can_enable`, and\n     * `missing_premium_plan` annotations reflecting the application's\n     * `enabled_capabilities` set and its plan's `capability_tiers`. Pass\n     * `includeCatalog: true` to also receive the raw leaf catalog.\n     *\n     * Requires an ISV application key (`sk_app_`, `sk_srv_`).\n     *\n     * @param options - Optional request options + `includeCatalog`.\n     * @returns The annotated bundle catalog plus opt-in capabilities.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n     * const { bundles } = await admin.capabilities.listForApplication();\n     * const upgradeNeeded = bundles.filter((b) => b.missing_premium_plan);\n     * ```\n     */\n    listForApplication: async (\n      options?: ListCapabilitiesOptions,\n    ): Promise<AnnotatedBundleCatalog> => {\n      return rb.rawGet<AnnotatedBundleCatalog>(\n        withCatalogQuery(\"/isv/capabilities\", options?.includeCatalog),\n        options,\n      );\n    },\n\n    /**\n     * Get a single bundle by key from the platform admin catalog.\n     *\n     * Convenience method that fetches the full catalog and returns the bundle\n     * matching `key`, or `null` if not found.\n     *\n     * Requires a platform admin key (`sk_sys_`).\n     *\n     * @param key - The bundle atom key as a string (e.g., `\"integrations_crm\"`).\n     * @param options - Optional request options.\n     * @returns The matching `Bundle`, or `null`.\n     *\n     * @example\n     * ```typescript\n     * const bundle = await admin.capabilities.get(\"integrations_crm\");\n     * if (bundle) console.log(bundle.tier); // \"premium\"\n     * ```\n     */\n    get: async (\n      key: string,\n      options?: RequestOptions,\n    ): Promise<Bundle | null> => {\n      const catalog = await rb.rawGet<AdminBundleCatalog>(\n        \"/sys/capabilities\",\n        options,\n      );\n      return catalog.bundles.find((b) => b.key === key) ?? null;\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport {\n  postAdminContentGenerateText,\n  postAdminContentGenerateImage,\n  postAdminContentEditImage,\n  postAdminContentRewriteTone,\n  postAdminContentShorten,\n  postAdminContentRefine,\n  postAdminContentSuggestTopics,\n  postAdminContentGenerateImagePrompt,\n  postAdminContentGenerateHashtags,\n  postAdminContentSeoEnrich,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\nexport function createContentNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Generate text from a prompt, optionally informed by brand identity.\n     * @param attributes - { prompt, workspace_id, brand_identity_id?, task? }\n     * @returns { text: string }\n     * @example\n     * ```typescript\n     * const result = await admin.content.generateText({\n     *   prompt: \"Write about AI analytics\",\n     *   workspace_id: \"ws_abc\",\n     * });\n     * ```\n     */\n    generateText: async (\n      attributes: {\n        prompt: string;\n        workspace_id: string;\n        brand_identity_id?: string;\n        task?: string;\n      },\n      options?: RequestOptions,\n    ) => {\n      const { prompt, workspace_id, brand_identity_id, task } = attributes;\n      return rb.execute(\n        postAdminContentGenerateText,\n        {\n          body: {\n            data: { prompt, workspace_id, brand_identity_id, task },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Generate an image from a text prompt via Gemini.\n     * @param attributes - { prompt, workspace_id, style? }\n     * @returns { url: string, provider: string }\n     * @example\n     * ```typescript\n     * const result = await admin.content.generateImage({\n     *   prompt: \"A futuristic city skyline\",\n     *   workspace_id: \"ws_abc\",\n     * });\n     * ```\n     */\n    generateImage: async (\n      attributes: {\n        prompt: string;\n        workspace_id: string;\n        style?: string;\n      },\n      options?: RequestOptions,\n    ) => {\n      const { prompt, workspace_id, style } = attributes;\n      return rb.execute(\n        postAdminContentGenerateImage,\n        {\n          body: {\n            data: { prompt, workspace_id, style },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Edit an existing image using natural language instructions.\n     * @param attributes - { image_url, instructions, workspace_id }\n     * @returns { url: string, provider: string }\n     * @example\n     * ```typescript\n     * const result = await admin.content.editImage({\n     *   image_url: \"https://example.com/photo.png\",\n     *   instructions: \"Remove the background\",\n     *   workspace_id: \"ws_abc\",\n     * });\n     * ```\n     */\n    editImage: async (\n      attributes: {\n        image_url: string;\n        instructions: string;\n        workspace_id: string;\n      },\n      options?: RequestOptions,\n    ) => {\n      const { image_url, instructions, workspace_id } = attributes;\n      return rb.execute(\n        postAdminContentEditImage,\n        {\n          body: {\n            data: { image_url, instructions, workspace_id },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Rewrite text in a different tone.\n     * @param attributes - { text, target_tone, workspace_id, max_length? }\n     * @returns { rewritten_text: string }\n     * @example\n     * ```typescript\n     * const result = await admin.content.rewriteTone({\n     *   text: \"We are pleased to announce our new product.\",\n     *   target_tone: \"casual\",\n     *   workspace_id: \"ws_abc\",\n     * });\n     * ```\n     */\n    rewriteTone: async (\n      attributes: {\n        text: string;\n        target_tone: string;\n        workspace_id: string;\n        max_length?: number;\n      },\n      options?: RequestOptions,\n    ) => {\n      const { text, target_tone, workspace_id, max_length } = attributes;\n      return rb.execute(\n        postAdminContentRewriteTone,\n        {\n          body: {\n            data: { text, target_tone, workspace_id, max_length },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Shorten text to a target character count.\n     * @param attributes - { text, max_chars, workspace_id, platform? }\n     * @returns { shortened_text: string }\n     * @example\n     * ```typescript\n     * const result = await admin.content.shorten({\n     *   text: \"This is a long piece of content that needs shortening.\",\n     *   max_chars: 280,\n     *   workspace_id: \"ws_abc\",\n     * });\n     * ```\n     */\n    shorten: async (\n      attributes: {\n        text: string;\n        max_chars: number;\n        workspace_id: string;\n        platform?: string;\n      },\n      options?: RequestOptions,\n    ) => {\n      const { text, max_chars, workspace_id, platform } = attributes;\n      return rb.execute(\n        postAdminContentShorten,\n        {\n          body: {\n            data: { text, max_chars, workspace_id, platform },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Refine text based on freeform instructions.\n     * @param attributes - { text, instructions, workspace_id }\n     * @returns { refined_text: string }\n     * @example\n     * ```typescript\n     * const result = await admin.content.refine({\n     *   text: \"Draft blog post content here.\",\n     *   instructions: \"Make it more engaging and add a call to action\",\n     *   workspace_id: \"ws_abc\",\n     * });\n     * ```\n     */\n    refine: async (\n      attributes: {\n        text: string;\n        instructions: string;\n        workspace_id: string;\n      },\n      options?: RequestOptions,\n    ) => {\n      const { text, instructions, workspace_id } = attributes;\n      return rb.execute(\n        postAdminContentRefine,\n        {\n          body: {\n            data: { text, instructions, workspace_id },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Suggest content topics based on industry and audience.\n     * @param attributes - { workspace_id, industry?, brand_identity_id?, count? }\n     * @returns { suggestions: string }\n     * @example\n     * ```typescript\n     * const result = await admin.content.suggestTopics({\n     *   workspace_id: \"ws_abc\",\n     *   industry: \"fintech\",\n     *   count: 5,\n     * });\n     * ```\n     */\n    suggestTopics: async (\n      attributes: {\n        workspace_id: string;\n        industry?: string;\n        brand_identity_id?: string;\n        count?: number;\n      },\n      options?: RequestOptions,\n    ) => {\n      const { workspace_id, industry, brand_identity_id, count } = attributes;\n      return rb.execute(\n        postAdminContentSuggestTopics,\n        {\n          body: {\n            data: { workspace_id, industry, brand_identity_id, count },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Generate an image generation prompt from marketing copy.\n     * @param attributes - { marketing_copy, workspace_id, style? }\n     * @returns { image_prompt: string }\n     * @example\n     * ```typescript\n     * const result = await admin.content.generateImagePrompt({\n     *   marketing_copy: \"Launch your brand into the future\",\n     *   workspace_id: \"ws_abc\",\n     * });\n     * ```\n     */\n    generateImagePrompt: async (\n      attributes: {\n        marketing_copy: string;\n        workspace_id: string;\n        style?: string;\n      },\n      options?: RequestOptions,\n    ) => {\n      const { marketing_copy, workspace_id, style } = attributes;\n      return rb.execute(\n        postAdminContentGenerateImagePrompt,\n        {\n          body: {\n            data: { marketing_copy, workspace_id, style },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Generate scored hashtags for content.\n     * @param attributes - { text, platform, workspace_id, industry?, count? }\n     * @returns { hashtags: Array<{ tag: string, score: number }> }\n     * @example\n     * ```typescript\n     * const result = await admin.content.generateHashtags({\n     *   text: \"Check out our new AI-powered analytics tool\",\n     *   platform: \"instagram\",\n     *   workspace_id: \"ws_abc\",\n     * });\n     * ```\n     */\n    generateHashtags: async (\n      attributes: {\n        text: string;\n        platform: string;\n        workspace_id: string;\n        industry?: string;\n        count?: number;\n      },\n      options?: RequestOptions,\n    ) => {\n      const { text, platform, workspace_id, industry, count } = attributes;\n      return rb.execute(\n        postAdminContentGenerateHashtags,\n        {\n          body: {\n            data: { text, platform, workspace_id, industry, count },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Analyze content for SEO optimization against target keywords.\n     * @param attributes - { text, target_keywords, workspace_id }\n     * @returns { analysis: { keyword_coverage, suggestions, seo_score } }\n     * @example\n     * ```typescript\n     * const result = await admin.content.seoEnrich({\n     *   text: \"Our product helps businesses grow\",\n     *   target_keywords: [\"growth\", \"business\", \"scale\"],\n     *   workspace_id: \"ws_abc\",\n     * });\n     * ```\n     */\n    seoEnrich: async (\n      attributes: {\n        text: string;\n        target_keywords: string[];\n        workspace_id: string;\n      },\n      options?: RequestOptions,\n    ) => {\n      const { text, target_keywords, workspace_id } = attributes;\n      return rb.execute(\n        postAdminContentSeoEnrich,\n        {\n          body: {\n            data: { text, target_keywords, workspace_id },\n          },\n        },\n        options,\n      );\n    },\n  };\n}\n","/**\n * JSON:API pagination links\n */\nexport interface PaginationLinks {\n  self?: string;\n  first?: string;\n  last?: string;\n  prev?: string | null;\n  next?: string | null;\n}\n\n/**\n * JSON:API response with pagination\n */\nexport interface PaginatedResponse<T> {\n  data: T[];\n  links?: PaginationLinks;\n  meta?: {\n    total_count?: number;\n    page_count?: number;\n    current_page?: number;\n  };\n}\n\n/**\n * Options for paginated requests\n */\nexport interface PaginationOptions {\n  /**\n   * Page size (number of items per page)\n   */\n  pageSize?: number;\n\n  /**\n   * Maximum total items to fetch (default: unlimited for paginateAll, 10000 for paginateToArray)\n   */\n  limit?: number;\n\n  /**\n   * Maximum number of pages to fetch (default: 500)\n   * Safety limit to prevent infinite pagination loops\n   */\n  maxPages?: number;\n\n  /**\n   * Optional logger for warnings. If not provided, falls back to console.\n   */\n  logger?: { warn: (...args: unknown[]) => void };\n}\n\n/**\n * Default maximum pages to prevent infinite pagination loops\n */\nconst DEFAULT_MAX_PAGES = 500;\n\n/**\n * Async iterator for paginated results.\n * Security: Enforces max pages limit to prevent infinite pagination loops.\n */\nexport async function* paginateAll<T>(\n  fetcher: (page: number, pageSize: number) => Promise<PaginatedResponse<T>>,\n  options: PaginationOptions = {},\n): AsyncIterableIterator<T> {\n  const pageSize = options.pageSize || 20;\n  const limit = options.limit;\n  const maxPages = options.maxPages ?? DEFAULT_MAX_PAGES;\n  const logger =\n    options.logger ?? (typeof console !== \"undefined\" ? console : undefined);\n  let page = 1;\n  let totalYielded = 0;\n\n  while (true) {\n    // Security: Check page count to prevent infinite loops\n    if (page > maxPages) {\n      logger?.warn(\n        `[GPT Platform SDK] Pagination stopped: reached maximum page limit (${maxPages}). ` +\n          `Use options.maxPages to increase or options.limit to cap total items.`,\n      );\n      return;\n    }\n\n    const response = await fetcher(page, pageSize);\n\n    // Yield each item\n    for (const item of response.data) {\n      yield item;\n      totalYielded++;\n\n      // Stop if we've hit the limit\n      if (limit && totalYielded >= limit) {\n        return;\n      }\n    }\n\n    // Stop if no more pages\n    if (!response.links?.next || response.data.length === 0) {\n      break;\n    }\n\n    page++;\n  }\n}\n\n/**\n * Default maximum items to prevent memory exhaustion\n */\nconst DEFAULT_LIMIT = 10000;\n\n/**\n * Helper to collect all paginated results into an array\n * Security: Enforces default limit to prevent DoS via infinite pagination\n */\nexport async function paginateToArray<T>(\n  fetcher: (page: number, pageSize: number) => Promise<PaginatedResponse<T>>,\n  options: PaginationOptions = {},\n): Promise<T[]> {\n  const safeOptions = {\n    pageSize: options.pageSize || 20,\n    // Security: Apply default limit to prevent unbounded memory usage\n    limit: options.limit ?? DEFAULT_LIMIT,\n    logger: options.logger,\n  };\n\n  const results: T[] = [];\n  for await (const item of paginateAll(fetcher, safeOptions)) {\n    results.push(item);\n  }\n  return results;\n}\n","// Hand-maintained — override generation\nimport {\n  deleteAdminApiKeysById,\n  getAdminApiKeys,\n  getAdminApiKeysActive,\n  getAdminApiKeysById,\n  getAdminApiKeysStats,\n  patchAdminApiKeysById,\n  patchAdminApiKeysByIdResetPeriod,\n  patchAdminApiKeysByIdRevoke,\n  patchAdminApiKeysByIdRotate,\n  patchAdminApiKeysByIdSetBudget,\n  postAdminApiKeys,\n} from \"../_internal/sdk.gen\";\nimport type { ApiKey } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport type { JsonApiQueryWithPage } from \"../namespace-types\";\nimport { paginateToArray } from \"../pagination\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/** Attributes for creating an API key. */\nexport type CreateApiKeyAttributes = {\n  name?: string;\n  key_type?: \"user\" | \"application\" | \"system\" | \"server\";\n  scopes?: string[];\n  application_id?: string;\n  tenant_id?: string;\n  user_id?: string;\n  workspace_id?: string;\n  credit_limit?: number;\n  credit_limit_period?: \"daily\" | \"weekly\" | \"monthly\" | \"yearly\" | \"lifetime\";\n  rate_limit_requests?: number;\n  rate_limit_period_seconds?: number;\n  expires_at?: string;\n  token?: string;\n};\n\n/** Attributes for updating an API key. */\nexport type UpdateApiKeyAttributes = {\n  name?: string;\n  scopes?: string[];\n  credit_limit?: number;\n  credit_limit_period?: \"daily\" | \"weekly\" | \"monthly\" | \"yearly\" | \"lifetime\";\n  rate_limit_requests?: number;\n  rate_limit_period_seconds?: number;\n};\n\n/** API key usage statistics entry. */\nexport interface ApiKeyUsageStat {\n  api_key_id?: string;\n  request_count?: number;\n  date?: string;\n  [key: string]: unknown;\n}\n\nfunction buildApiKeyPageQuery(\n  page?: number,\n  pageSize?: number,\n): JsonApiQueryWithPage {\n  return {\n    query: {\n      ...(page && { \"page[number]\": page }),\n      ...(pageSize && { \"page[size]\": pageSize }),\n    },\n  };\n}\n\n/**\n * Manages API keys across all tenants.\n *\n * Provides platform-level key administration including allocation of credits,\n * revocation (with credit reclaim), and rotation (new token, same metadata).\n * Keys returned are scoped to the actor's authorization level.\n */\nexport function createApiKeysNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Lists API keys. Supports keyset and offset pagination.\n     *\n     * Returns keys scoped to the actor — users see only their own keys,\n     * ISV owners see keys for their application.\n     *\n     * @param options - Optional request options.\n     * @returns Array of ApiKey objects.\n     * @example\n     * ```typescript\n     * const keys = await admin.apiKeys.list({ page: 1, pageSize: 25 });\n     * ```\n     */\n    list: async (\n      options?: { page?: number; pageSize?: number } & RequestOptions,\n    ): Promise<ApiKey[]> => {\n      return rb.execute<ApiKey[]>(\n        getAdminApiKeys,\n        buildApiKeyPageQuery(options?.page, options?.pageSize),\n        options,\n      );\n    },\n\n    /**\n     * List all API keys by following every page.\n     * @param options - Optional request options.\n     * @returns Complete array of API keys visible to the actor.\n     * @example\n     * ```typescript\n     * const allKeys = await admin.apiKeys.listAll();\n     * ```\n     */\n    listAll: async (options?: RequestOptions): Promise<ApiKey[]> => {\n      return paginateToArray(\n        rb.createPaginatedFetcher<ApiKey>(\n          getAdminApiKeys,\n          buildApiKeyPageQuery,\n          options,\n        ),\n      );\n    },\n\n    /**\n     * Fetches a single API key by ID.\n     *\n     * @param id - API key ID.\n     * @param options - Optional request options.\n     * @returns The ApiKey record.\n     * @example\n     * ```typescript\n     * const key = await admin.apiKeys.get(\"key_123\");\n     * ```\n     */\n    get: async (id: string, options?: RequestOptions): Promise<ApiKey> => {\n      return rb.execute<ApiKey>(getAdminApiKeysById, { path: { id } }, options);\n    },\n\n    /**\n     * Revokes an API key, setting its status to `revoked` and recording the\n     * revocation timestamp.\n     *\n     * Triggers smart credit reclaim: any unspent credits allocated to this key\n     * are returned to the App Treasury or Tenant Wallet. Prefer this over\n     * hard deletion to preserve the audit trail.\n     *\n     * @param id - API key ID.\n     * @param options - Optional request options.\n     * @returns Updated ApiKey with status `revoked`.\n     * @example\n     * ```typescript\n     * const revoked = await admin.apiKeys.revoke(\"key_123\");\n     * console.log(revoked.status);\n     * ```\n     */\n    revoke: async (id: string, options?: RequestOptions): Promise<ApiKey> => {\n      return rb.execute<ApiKey>(\n        patchAdminApiKeysByIdRevoke,\n        { path: { id }, body: { data: { id, type: \"api-key\" } } },\n        options,\n      );\n    },\n\n    /**\n     * Rotates an API key by generating a new token while preserving the key's\n     * ID, metadata, and configuration.\n     *\n     * The new raw token is returned once in the `generated_api_key` field and\n     * cannot be retrieved again. All active sessions using the old token are\n     * immediately invalidated.\n     *\n     * @param id - API key ID.\n     * @param options - Optional request options.\n     * @returns Updated ApiKey with the new token in `generated_api_key`.\n     * @example\n     * ```typescript\n     * const rotated = await admin.apiKeys.rotate(\"key_123\");\n     * console.log(rotated.generated_api_key);\n     * ```\n     */\n    rotate: async (id: string, options?: RequestOptions): Promise<ApiKey> => {\n      return rb.execute<ApiKey>(\n        patchAdminApiKeysByIdRotate,\n        { path: { id }, body: { data: { id, type: \"api-key\" } } },\n        options,\n      );\n    },\n\n    /**\n     * Create a new API key.\n     * @param attributes - Key attributes (name, key_type, scopes, etc.)\n     * @returns Created API key with generated token\n     * @example\n     * ```typescript\n     * const key = await admin.apiKeys.create({\n     *   name: \"Operations key\",\n     *   key_type: \"server\",\n     *   scopes: [\"threads:read\"],\n     * });\n     * ```\n     */\n    create: async (\n      attributes: CreateApiKeyAttributes,\n      options?: RequestOptions,\n    ): Promise<ApiKey> => {\n      const {\n        name,\n        key_type,\n        scopes,\n        application_id,\n        tenant_id,\n        user_id,\n        workspace_id,\n        credit_limit,\n        credit_limit_period,\n        rate_limit_requests,\n        rate_limit_period_seconds,\n        expires_at,\n        token,\n      } = attributes;\n\n      return rb.execute<ApiKey>(\n        postAdminApiKeys,\n        {\n          body: {\n            data: {\n              type: \"api-key\",\n              attributes: {\n                name,\n                key_type,\n                scopes,\n                application_id,\n                tenant_id,\n                user_id,\n                workspace_id,\n                credit_limit,\n                credit_limit_period,\n                rate_limit_requests,\n                rate_limit_period_seconds,\n                expires_at,\n                token,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Update an API key's configuration.\n     * @param id - API key ID\n     * @param attributes - Attributes to update (name, scopes, rate limits)\n     * @returns Updated API key\n     * @example\n     * ```typescript\n     * const key = await admin.apiKeys.update(\"key_123\", {\n     *   scopes: [\"threads:read\", \"threads:write\"],\n     * });\n     * ```\n     */\n    update: async (\n      id: string,\n      attributes: UpdateApiKeyAttributes,\n      options?: RequestOptions,\n    ): Promise<ApiKey> => {\n      const {\n        name,\n        scopes,\n        credit_limit,\n        credit_limit_period,\n        rate_limit_requests,\n        rate_limit_period_seconds,\n      } = attributes;\n\n      return rb.execute<ApiKey>(\n        patchAdminApiKeysById,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"api-key\",\n              attributes: {\n                name,\n                scopes,\n                credit_limit,\n                credit_limit_period,\n                rate_limit_requests,\n                rate_limit_period_seconds,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Delete an API key permanently.\n     * @param id - API key ID\n     * @param options - Optional request options\n     * @returns `true` when deletion succeeds\n     * @example\n     * ```typescript\n     * await admin.apiKeys.delete(\"key_123\");\n     * ```\n     */\n    delete: async (id: string, options?: RequestOptions): Promise<true> => {\n      return rb.executeDelete(\n        deleteAdminApiKeysById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Set or remove a credit budget for an API key.\n     * @param id - API key ID\n     * @param creditLimit - Max credits per period (null to remove)\n     * @param creditLimitPeriod - Budget period (null to remove)\n     * @returns Updated API key\n     * @example\n     * ```typescript\n     * await admin.apiKeys.setBudget(\"key_123\", 10_000, \"monthly\");\n     * await admin.apiKeys.setBudget(\"key_123\", null, null);\n     * ```\n     */\n    setBudget: async (\n      id: string,\n      creditLimit: number | null,\n      creditLimitPeriod:\n        | \"daily\"\n        | \"weekly\"\n        | \"monthly\"\n        | \"yearly\"\n        | \"lifetime\"\n        | null,\n      options?: RequestOptions,\n    ): Promise<ApiKey> => {\n      return rb.execute<ApiKey>(\n        patchAdminApiKeysByIdSetBudget,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"api-key\",\n              attributes: {\n                credit_limit: creditLimit,\n                credit_limit_period: creditLimitPeriod,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Get API key usage statistics grouped by key type.\n     * @param options - Optional request options.\n     * @returns Array of usage stat records\n     * @example\n     * ```typescript\n     * const stats = await admin.apiKeys.usageStats();\n     * ```\n     */\n    usageStats: async (\n      options?: { page?: number; pageSize?: number } & RequestOptions,\n    ): Promise<ApiKeyUsageStat[]> => {\n      return rb.execute<ApiKeyUsageStat[]>(\n        getAdminApiKeysStats,\n        buildApiKeyPageQuery(options?.page, options?.pageSize),\n        options,\n      );\n    },\n\n    /**\n     * Fetch all API key usage-stat pages. Returns an aggregated usage view\n     * across every page — credits used per period, request counts, last-used\n     * timestamps — for ops dashboards or billing reconciliation.\n     * @param options - Optional request options.\n     * @returns Complete array of usage stat records.\n     * @example\n     * ```typescript\n     * const usage = await admin.apiKeys.usageStatsAll();\n     * const overBudget = usage.filter((u) => u.period_credits_used >= u.credit_limit);\n     * ```\n     */\n    usageStatsAll: async (\n      options?: RequestOptions,\n    ): Promise<ApiKeyUsageStat[]> => {\n      return paginateToArray(\n        rb.createPaginatedFetcher<ApiKeyUsageStat>(\n          getAdminApiKeysStats,\n          buildApiKeyPageQuery,\n          options,\n        ),\n      );\n    },\n\n    /**\n     * List only active (non-revoked) API keys.\n     * @param options - Optional request options.\n     * @returns Array of active API keys\n     * @example\n     * ```typescript\n     * const activeKeys = await admin.apiKeys.active();\n     * ```\n     */\n    active: async (\n      options?: { page?: number; pageSize?: number } & RequestOptions,\n    ): Promise<ApiKey[]> => {\n      return rb.execute<ApiKey[]>(\n        getAdminApiKeysActive,\n        buildApiKeyPageQuery(options?.page, options?.pageSize),\n        options,\n      );\n    },\n\n    /**\n     * List all active API keys by following every page.\n     * @param options - Optional request options.\n     * @returns Complete array of active API keys.\n     * @example\n     * ```typescript\n     * const allActive = await admin.apiKeys.activeAll();\n     * ```\n     */\n    activeAll: async (options?: RequestOptions): Promise<ApiKey[]> => {\n      return paginateToArray(\n        rb.createPaginatedFetcher<ApiKey>(\n          getAdminApiKeysActive,\n          buildApiKeyPageQuery,\n          options,\n        ),\n      );\n    },\n\n    /**\n     * Reset the budget period for an API key (resets period_credits_used to 0).\n     * @param id - API key ID\n     * @returns Updated API key\n     * @example\n     * ```typescript\n     * const key = await admin.apiKeys.resetBudgetPeriod(\"key_123\");\n     * ```\n     */\n    resetBudgetPeriod: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<ApiKey> => {\n      return rb.execute<ApiKey>(\n        patchAdminApiKeysByIdResetPeriod,\n        {\n          path: { id },\n          body: { data: { id, type: \"api-key\", attributes: {} } },\n        },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport type { ExecutionEvent } from \"../execution-events\";\nimport type { RequestOptions } from \"../base-client\";\nimport type { StreamOptions } from \"../streaming\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/** A reference to a file in Storage for multimodal agent input. */\nexport interface FileInput {\n  /** The UUID of the storage file (from `storage.requestUpload`). */\n  storage_file_id: string;\n  /** Optional label for this file (used in the LLM prompt as \"--- File: {label} ---\"). */\n  label?: string;\n}\n\n/**\n * Execution record returned by the agent execution API.\n */\nexport interface Execution {\n  id: string;\n  agent_id: string;\n  workspace_id: string;\n  status:\n    | \"pending\"\n    | \"running\"\n    | \"completed\"\n    | \"failed\"\n    | \"cancelled\"\n    | \"awaiting_approval\";\n  input: Record<string, unknown>;\n  result: Record<string, unknown> | null;\n  triggered_by_user_id: string | null;\n  total_tokens: number | null;\n  total_credits_charged: string | null;\n  model_used: string | null;\n  requested_model_id: string | null;\n  file_inputs?: FileInput[] | null;\n  started_at: string | null;\n  completed_at: string | null;\n  created_at: string;\n}\n\n/**\n * Cost estimate returned by the estimate endpoint.\n */\nexport interface ExecutionEstimate {\n  type: \"execution-estimate\";\n  attributes: {\n    min_credits: string;\n    max_credits: string;\n    max_iterations: number;\n    estimated_tokens: { min: number; max: number };\n    model: string;\n  };\n}\n\n/**\n * A node in the execution delegation tree.\n */\nexport interface ExecutionTreeNode {\n  type: \"execution-tree-node\";\n  id: string;\n  attributes: {\n    status: Execution[\"status\"];\n    depth: number;\n    delegation_mode: string | null;\n    own_credits_charged: string | null;\n    child_credits_total: string | null;\n    child_execution_count: number;\n    started_at: string | null;\n    completed_at: string | null;\n  };\n  relationships: {\n    agent: { data: { type: \"agent\"; id: string } };\n    parent_execution: { data: { type: \"agent-execution\"; id: string } | null };\n  };\n  children: ExecutionTreeNode[];\n}\n\n/**\n * Agent execution namespace factory.\n *\n * Provides full lifecycle management for agent executions via the ISV API.\n * Supports starting executions, streaming SSE events, human-in-the-loop\n * approval/denial, cancellation, and multi-agent delegation tree queries.\n *\n * @param rb - The request builder used for API communication.\n * @returns Executions namespace with full lifecycle methods.\n */\nexport function createExecutionsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Start a new agent execution.\n     *\n     * @param agentId - The UUID of the agent to execute.\n     * @param input - Input data for the agent (task description, documents, etc.).\n     * @param opts - Additional execution options.\n     * @param opts.workspace_id - The workspace to execute in. Required when workspace\n     *   is not inferrable from the API key.\n     * @param opts.model_id - Override model for this execution only (e.g., \"anthropic/claude-sonnet-4\").\n     *   Highest priority in the model resolution chain.\n     * @param opts.file_inputs - Array of {@link FileInput} references for multimodal input.\n     *   Each entry points to a Storage file that will be injected into the agent's LLM context.\n     * @returns The created execution record with status `pending`.\n     *\n     * @example\n     * const exec = await admin.executions.start('agt_01...', {\n     *   task: 'Process invoice batch',\n     * }, { workspace_id: 'ws_abc123' });\n     *\n     * @example\n     * // With model override\n     * const exec = await admin.executions.start(\n     *   'agt_01...',\n     *   { task: 'Complex analysis' },\n     *   { workspace_id: 'ws_abc123', model_id: 'anthropic/claude-sonnet-4' },\n     * );\n     */\n    async start(\n      agentId: string,\n      input: Record<string, unknown>,\n      opts?: {\n        workspace_id?: string;\n        model_id?: string;\n        file_inputs?: FileInput[];\n      } & RequestOptions,\n    ): Promise<Execution> {\n      const { workspace_id, model_id, file_inputs, ...reqOptions } = opts ?? {};\n      const body: Record<string, unknown> = { input };\n      if (workspace_id) body.workspace_id = workspace_id;\n      if (model_id) body.model_id = model_id;\n      if (file_inputs?.length) body.file_inputs = file_inputs;\n      return rb.rawPost<Execution>(\n        `/isv/agents/${agentId}/execute`,\n        body,\n        Object.keys(reqOptions).length > 0 ? reqOptions : undefined,\n      );\n    },\n\n    /**\n     * Estimate credits required for an execution without running it.\n     *\n     * @param agentId - The UUID of the agent.\n     * @param input - The input the agent would process.\n     * @param opts - Additional options.\n     * @param opts.workspace_id - The workspace to estimate for. Required when workspace\n     *   is not inferrable from the API key.\n     * @returns Cost estimate with min/max credit ranges.\n     *\n     * @example\n     * const estimate = await admin.executions.estimate('agt_01...', {\n     *   task: 'Process batch',\n     * }, { workspace_id: 'ws_abc123' });\n     * console.log(`Estimated: ${estimate.min_credits} - ${estimate.max_credits}`);\n     */\n    async estimate(\n      agentId: string,\n      input: Record<string, unknown>,\n      opts?: { workspace_id?: string } & RequestOptions,\n    ): Promise<ExecutionEstimate> {\n      const { workspace_id, ...reqOptions } = opts ?? {};\n      const body: Record<string, unknown> = { input };\n      if (workspace_id) body.workspace_id = workspace_id;\n      return rb.rawPost<ExecutionEstimate>(\n        `/isv/agents/${agentId}/estimate`,\n        body,\n        Object.keys(reqOptions).length > 0 ? reqOptions : undefined,\n      );\n    },\n\n    /**\n     * List agent executions.\n     *\n     * @param opts - Optional filtering and request options.\n     * @param opts.workspace_id - Filter to a specific workspace. Required when workspace\n     *   is not inferrable from the API key.\n     * @returns Array of execution records.\n     *\n     * @example\n     * const executions = await admin.executions.list({ workspace_id: 'ws_abc123' });\n     */\n    async list(\n      opts?: { workspace_id?: string } & RequestOptions,\n    ): Promise<Execution[]> {\n      const { workspace_id, ...reqOptions } = opts ?? {};\n      const query = workspace_id\n        ? `?workspace_id=${encodeURIComponent(workspace_id)}`\n        : \"\";\n      return rb.rawGet<Execution[]>(\n        `/isv/agent-executions${query}`,\n        Object.keys(reqOptions).length > 0 ? reqOptions : undefined,\n      );\n    },\n\n    /**\n     * Get a single execution by ID.\n     *\n     * @param id - Execution UUID.\n     * @param options - Optional request options.\n     * @returns The execution record.\n     *\n     * @example\n     * const exec = await admin.executions.get('exec_01...');\n     * console.log(exec.status, exec.total_tokens);\n     */\n    async get(id: string, options?: RequestOptions): Promise<Execution> {\n      return rb.rawGet<Execution>(`/isv/agent-executions/${id}`, options);\n    },\n\n    /**\n     * Stream execution events via Server-Sent Events.\n     * Returns an async iterator of typed execution events.\n     *\n     * @param id - Execution UUID to stream.\n     * @param options - Optional request and stream options.\n     * @returns Async iterator of ExecutionEvent objects.\n     *\n     * @example\n     * const stream = await admin.executions.stream(exec.id);\n     * for await (const event of stream) {\n     *   if (event.type === 'token_delta') process.stdout.write(event.data.content);\n     *   if (event.type === 'done') console.log('Complete');\n     * }\n     */\n    async stream(\n      id: string,\n      options?: RequestOptions & StreamOptions,\n    ): Promise<AsyncIterableIterator<ExecutionEvent>> {\n      return rb.streamGetRequest(\n        `/isv/agent-executions/${id}/stream`,\n        options,\n      ) as Promise<AsyncIterableIterator<ExecutionEvent>>;\n    },\n\n    /**\n     * Approve a pending human-in-the-loop tool call.\n     *\n     * @param id - Execution UUID awaiting approval.\n     * @param options - Optional request options.\n     * @returns The updated execution record.\n     *\n     * @example\n     * await admin.executions.approve('exec_01...');\n     */\n    async approve(id: string, options?: RequestOptions): Promise<Execution> {\n      return rb.rawPost<Execution>(\n        `/isv/agent-executions/${id}/approve`,\n        undefined,\n        options,\n      );\n    },\n\n    /**\n     * Deny a pending human-in-the-loop tool call.\n     *\n     * @param id - Execution UUID awaiting approval.\n     * @param reason - Human-readable reason for rejection.\n     * @param options - Optional request options.\n     * @returns The updated execution record.\n     *\n     * @example\n     * await admin.executions.deny('exec_01...', 'Not authorized to send emails');\n     */\n    async deny(\n      id: string,\n      reason: string,\n      options?: RequestOptions,\n    ): Promise<Execution> {\n      return rb.rawPost<Execution>(\n        `/isv/agent-executions/${id}/deny`,\n        { reason },\n        options,\n      );\n    },\n\n    /**\n     * Cancel an in-progress execution.\n     *\n     * @param id - Execution UUID to cancel.\n     * @param options - Optional request options.\n     * @returns The updated execution record with `cancelled` status.\n     *\n     * @example\n     * await admin.executions.cancel('exec_01...');\n     */\n    async cancel(id: string, options?: RequestOptions): Promise<Execution> {\n      return rb.rawPost<Execution>(\n        `/isv/agent-executions/${id}/cancel`,\n        undefined,\n        options,\n      );\n    },\n\n    /**\n     * List child executions spawned by a parent execution (multi-agent delegation).\n     *\n     * @param id - Parent execution UUID.\n     * @param options - Optional request options.\n     * @returns Array of child execution records.\n     *\n     * @example\n     * const children = await admin.executions.children('exec_01...');\n     */\n    async children(id: string, options?: RequestOptions): Promise<Execution[]> {\n      return rb.rawGet<Execution[]>(\n        `/isv/agent-executions/${id}/children`,\n        options,\n      );\n    },\n\n    /**\n     * Get the full execution tree for a root execution.\n     * Includes all nested child executions and their statuses.\n     *\n     * @param id - Root execution UUID.\n     * @param options - Optional request options.\n     * @returns Hierarchical execution tree structure.\n     *\n     * @example\n     * const tree = await admin.executions.tree('exec_01...');\n     */\n    async tree(\n      id: string,\n      options?: RequestOptions,\n    ): Promise<ExecutionTreeNode> {\n      return rb.rawGet<ExecutionTreeNode>(\n        `/isv/agent-executions/${id}/tree`,\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport {\n  getAdminStorageStats,\n  getAdminBuckets,\n  getAdminBucketsById,\n  getAdminBucketsByIdStats,\n  getAdminStorageFiles,\n  getAdminStorageFilesById,\n  patchAdminStorageFilesByIdArchive,\n  patchAdminStorageFilesByIdRestore,\n  patchAdminStorageFilesByIdConfirmUpload,\n  patchAdminStorageFilesByIdSoftDelete,\n  patchAdminStorageFilesByIdTag,\n  patchAdminStorageFilesByIdUpdateMetadata,\n  getAdminStorageFilesByChecksum,\n  getAdminStorageFilesChildren,\n  getAdminStorageRecommendations,\n  getAdminStorageRecommendationsPending,\n  patchAdminStorageRecommendationsByIdAccept,\n  patchAdminStorageRecommendationsByIdDismiss,\n} from \"../_internal/sdk.gen\";\nimport type {\n  Bucket,\n  StorageFile,\n  StorageRecommendation,\n  StorageStats,\n} from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/**\n * Platform-level storage management.\n *\n * Provides access to global storage statistics and bucket administration.\n * Buckets are provisioned in GCS (production) or MinIO (development).\n * Processing-type (internal) buckets are excluded from listings by default.\n */\nexport function createStorageNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Retrieves platform-wide storage statistics.\n     *\n     * Pass a `workspaceId` to scope results to a single workspace.\n     *\n     * @param workspaceId - Optional workspace ID to filter statistics.\n     * @param options - Optional request options.\n     * @returns Storage statistics record with byte counts and file totals.\n     */\n    stats: async (\n      workspaceId?: string,\n      options?: RequestOptions,\n    ): Promise<StorageStats[]> => {\n      const params = workspaceId\n        ? { query: { \"filter[workspace_id]\": workspaceId } }\n        : {};\n      return rb.execute<StorageStats[]>(getAdminStorageStats, params, options);\n    },\n\n    buckets: {\n      /**\n       * Lists all storage buckets, excluding processing-type buckets by default.\n       *\n       * @param options - Optional request options.\n       * @returns Array of Bucket objects.\n       */\n      list: async (options?: RequestOptions): Promise<Bucket[]> => {\n        return rb.execute<Bucket[]>(getAdminBuckets, {}, options);\n      },\n\n      /**\n       * Fetches a single bucket by ID.\n       *\n       * @param id - Bucket ID.\n       * @param options - Optional request options.\n       * @returns The Bucket record.\n       */\n      get: async (id: string, options?: RequestOptions): Promise<Bucket> => {\n        return rb.execute<Bucket>(\n          getAdminBucketsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Fetches a bucket with the `storage_used` calculation.\n       *\n       * Returns total bytes across all workspace files stored in this bucket.\n       *\n       * @param id - Bucket ID.\n       * @param options - Optional request options.\n       * @returns Bucket record including computed `storage_used` field.\n       */\n      stats: async (id: string, options?: RequestOptions): Promise<Bucket> => {\n        return rb.execute<Bucket>(\n          getAdminBucketsByIdStats,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Sub-namespace for admin storage file operations.\n     */\n    files: {\n      /** Lists storage files. */\n      list: async (options?: RequestOptions): Promise<StorageFile[]> => {\n        return rb.execute<StorageFile[]>(getAdminStorageFiles, {}, options);\n      },\n\n      /** Retrieves a single storage file by ID. */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<StorageFile> => {\n        return rb.execute<StorageFile>(\n          getAdminStorageFilesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Archives a file. */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<StorageFile> => {\n        return rb.execute<StorageFile>(\n          patchAdminStorageFilesByIdArchive,\n          { path: { id }, body: { data: { id, type: \"storage-file\" } } },\n          options,\n        );\n      },\n\n      /** Restores an archived file. */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<StorageFile> => {\n        return rb.execute<StorageFile>(\n          patchAdminStorageFilesByIdRestore,\n          { path: { id }, body: { data: { id, type: \"storage-file\" } } },\n          options,\n        );\n      },\n\n      /** Confirms a presigned upload. */\n      confirmUpload: async (\n        id: string,\n        attributes?: Record<string, unknown>,\n        options?: RequestOptions,\n      ): Promise<StorageFile> => {\n        return rb.execute<StorageFile>(\n          patchAdminStorageFilesByIdConfirmUpload,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"storage-file\",\n                attributes: attributes ?? {},\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Soft-deletes a file. */\n      softDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<StorageFile> => {\n        return rb.execute<StorageFile>(\n          patchAdminStorageFilesByIdSoftDelete,\n          { path: { id }, body: { data: { id, type: \"storage-file\" } } },\n          options,\n        );\n      },\n\n      /** Replaces tags on a file. */\n      tag: async (\n        id: string,\n        tags: string[],\n        options?: RequestOptions,\n      ): Promise<StorageFile> => {\n        return rb.execute<StorageFile>(\n          patchAdminStorageFilesByIdTag,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"storage-file\", attributes: { tags } },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Merges new metadata into the file's existing metadata. */\n      updateMetadata: async (\n        id: string,\n        newMetadata: Record<string, unknown>,\n        options?: RequestOptions,\n      ): Promise<StorageFile> => {\n        return rb.execute<StorageFile>(\n          patchAdminStorageFilesByIdUpdateMetadata,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"storage-file\",\n                attributes: { new_metadata: newMetadata },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Finds files by checksum for deduplication. */\n      byChecksum: async (\n        checksum: string,\n        options?: RequestOptions,\n      ): Promise<StorageFile[]> => {\n        return rb.execute<StorageFile[]>(\n          getAdminStorageFilesByChecksum,\n          { query: { checksum } },\n          options,\n        );\n      },\n\n      /** Lists child files for a parent ID. */\n      listChildren: async (\n        parentId: string,\n        options?: RequestOptions,\n      ): Promise<StorageFile[]> => {\n        return rb.execute<StorageFile[]>(\n          getAdminStorageFilesChildren,\n          { query: { parent_id: parentId } },\n          options,\n        );\n      },\n\n      /**\n       * Generate a short-lived presigned download URL for a file.\n       *\n       * @param id - The UUID of the file to download.\n       * @param params - Optional parameters (e.g., custom `expires_in` seconds).\n       * @param options - Optional request options.\n       * @returns A promise resolving to the presigned URL and its expiry.\n       */\n      requestDownloadUrl: async (\n        id: string,\n        params?: { expires_in?: number },\n        options?: RequestOptions,\n      ): Promise<{ url: string; expires_at: string }> => {\n        return rb.rawPost<{ url: string; expires_at: string }>(\n          `/isv/storage-files/${id}/download-url`,\n          params?.expires_in != null\n            ? { data: { expires_in: params.expires_in } }\n            : undefined,\n          options,\n        );\n      },\n    },\n\n    /**\n     * Sub-namespace for AI-generated storage recommendations.\n     *\n     * Recommendations include duplicate detection, stale file cleanup,\n     * and retention policy improvements.\n     */\n    recommendations: {\n      /** Lists all recommendations. */\n      list: async (\n        options?: RequestOptions,\n      ): Promise<StorageRecommendation[]> => {\n        return rb.execute<StorageRecommendation[]>(\n          getAdminStorageRecommendations,\n          {},\n          options,\n        );\n      },\n\n      /** Lists pending (unresolved) recommendations. */\n      listPending: async (\n        options?: RequestOptions,\n      ): Promise<StorageRecommendation[]> => {\n        return rb.execute<StorageRecommendation[]>(\n          getAdminStorageRecommendationsPending,\n          {},\n          options,\n        );\n      },\n\n      /** Accepts a recommendation. */\n      accept: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<StorageRecommendation> => {\n        return rb.execute<StorageRecommendation>(\n          patchAdminStorageRecommendationsByIdAccept,\n          {\n            path: { id },\n            body: { data: { id, type: \"storage-recommendation\" } },\n          },\n          options,\n        );\n      },\n\n      /** Dismisses a recommendation. */\n      dismiss: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<StorageRecommendation> => {\n        return rb.execute<StorageRecommendation>(\n          patchAdminStorageRecommendationsByIdDismiss,\n          {\n            path: { id },\n            body: { data: { id, type: \"storage-recommendation\" } },\n          },\n          options,\n        );\n      },\n    },\n  };\n}\n","/**\n * Type utilities for namespace implementations.\n * These types bridge the gap between our ergonomic namespace APIs\n * and the OpenAPI-generated generic types.\n */\n\n/**\n * JSON:API page parameter structure\n */\nexport type JsonApiPageParams = {\n  number?: number;\n  size?: number;\n  [key: string]: unknown;\n};\n\n/**\n * JSON:API query parameters with pagination\n */\nexport type JsonApiQueryWithPage = {\n  query: {\n    page?: JsonApiPageParams;\n    [key: string]: unknown;\n  };\n  [key: string]: unknown;\n};\n\n/**\n * JSON:API data envelope for POST/PATCH requests\n */\nexport type JsonApiDataEnvelope<T extends string = string> = {\n  data: {\n    type: T;\n    attributes: Record<string, unknown>;\n    [key: string]: unknown;\n  };\n  [key: string]: unknown;\n};\n\n/**\n * JSON:API body parameter\n */\nexport type JsonApiBody<T extends string = string> = {\n  body: JsonApiDataEnvelope<T>;\n  [key: string]: unknown;\n};\n\n/**\n * Empty body (for endpoints that require a body but no data)\n */\nexport type EmptyBody = {\n  body: Record<string, never>;\n  [key: string]: unknown;\n};\n\n/**\n * Path parameters\n */\nexport type PathParams = {\n  path: Record<string, string>;\n  [key: string]: unknown;\n};\n\n/**\n * Query parameter dictionary (generic index signature)\n */\nexport type QueryParamDict = { [key: string]: unknown };\n\n/**\n * File upload body (File, Blob, or FormData)\n * This is cast as unknown because the OpenAPI generated types expect JSON:API structure,\n * but file uploads use multipart/form-data or binary content.\n */\nexport type FileUploadBody = {\n  body: File | Blob | FormData;\n  [key: string]: unknown;\n};\n\n/**\n * Helper to construct query params with page\n */\nexport function buildPageQuery(\n  page?: number,\n  pageSize?: number,\n): JsonApiQueryWithPage {\n  return {\n    query: {\n      page: {\n        ...(page && { number: page }),\n        ...(pageSize && { size: pageSize }),\n      },\n    },\n  };\n}\n\n/**\n * Helper to construct JSON:API body\n */\nexport function buildJsonApiBody<T extends string>(\n  type: T,\n  attributes: Record<string, unknown>,\n): JsonApiBody<T> {\n  return {\n    body: {\n      data: {\n        type,\n        attributes,\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport {\n  deleteAdminUsersById,\n  getAdminUsers,\n  getAdminUsersById,\n  getAdminUsersByEmail,\n  patchAdminUsersById,\n  patchAdminUsersByIdAdmin,\n  patchAdminUsersByIdAdminEmail,\n  patchAdminUsersByIdConfirmEmail,\n  patchAdminUsersByIdResetPassword,\n  postAdminUsersAuthRegisterViaInvitation,\n} from \"../_internal/sdk.gen\";\nimport type { User } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\nimport { paginateToArray } from \"../pagination\";\nimport { buildPageQuery } from \"../namespace-types\";\nimport type { JsonApiQueryWithPage } from \"../namespace-types\";\n\n/** Attributes for admin-level user updates (platform admin flags, password reset). */\nexport type AdminUpdateUserAttributes = {\n  is_platform_admin?: boolean;\n  password?: string;\n  password_confirmation?: string;\n};\n\n/**\n * Attributes accepted when a user updates their own preferences via PATCH /admin/users/:id.\n * Mirrors the `:update` action's `accept` list. Self-scoped — non-admin callers\n * can only update their own record.\n */\nexport type UpdateUserAttributes = {\n  theme_preference?: string | null;\n};\n\nexport function createUsersNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List all users (paginated).\n     * @param options - Optional page and pageSize along with request options\n     * @returns Array of users\n     * @example\n     * ```typescript\n     * const users = await admin.users.list({ page: 1, pageSize: 50 });\n     * ```\n     */\n    list: async (\n      options?: { page?: number; pageSize?: number } & RequestOptions,\n    ): Promise<User[]> => {\n      return rb.execute<User[]>(\n        getAdminUsers,\n        buildPageQuery(options?.page, options?.pageSize),\n        options,\n      );\n    },\n\n    /**\n     * List all users (fetches all pages automatically).\n     * @param options - Optional request options.\n     * @returns Complete array of all users\n     * @example\n     * ```typescript\n     * const users = await admin.users.listAll();\n     * ```\n     */\n    listAll: async (options?: RequestOptions): Promise<User[]> => {\n      return paginateToArray(\n        rb.createPaginatedFetcher<User>(\n          getAdminUsers,\n          (page, pageSize): JsonApiQueryWithPage => ({\n            query: { page: { number: page, size: pageSize } },\n          }),\n          options,\n        ),\n      );\n    },\n\n    /**\n     * Get a user by ID.\n     * @param id - User ID\n     * @returns User object\n     * @example\n     * ```typescript\n     * const user = await admin.users.get(\"user_123\");\n     * ```\n     */\n    get: async (id: string, options?: RequestOptions): Promise<User> => {\n      return rb.execute<User>(getAdminUsersById, { path: { id } }, options);\n    },\n\n    /**\n     * Look up a user by email address.\n     * @param email - Email address to search\n     * @returns User object\n     * @example\n     * ```typescript\n     * const user = await admin.users.getByEmail(\"ada@example.com\");\n     * ```\n     */\n    getByEmail: async (\n      email: string,\n      options?: RequestOptions,\n    ): Promise<User> => {\n      return rb.execute<User>(\n        getAdminUsersByEmail,\n        { query: { email } },\n        options,\n      );\n    },\n\n    /**\n     * Update a user's own preferences (currently `theme_preference`).\n     * Self-scoped via policy: non-admin callers can only update their own record.\n     * @param id - User ID\n     * @param attributes - User preference attributes to update\n     * @returns Updated user\n     * @example\n     * ```typescript\n     * await admin.users.update(\"user_123\", { theme_preference: \"dark\" });\n     * ```\n     */\n    update: async (\n      id: string,\n      attributes: UpdateUserAttributes,\n      options?: RequestOptions,\n    ): Promise<User> => {\n      const { theme_preference } = attributes;\n      return rb.execute<User>(\n        patchAdminUsersById,\n        {\n          path: { id },\n          body: {\n            data: { id, type: \"user\", attributes: { theme_preference } },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Update a user's admin-level attributes (is_platform_admin, is_app_admin).\n     * @param id - User ID\n     * @param attributes - Admin attributes to update\n     * @returns Updated user\n     * @example\n     * ```typescript\n     * await admin.users.adminUpdate(\"user_123\", { is_platform_admin: true });\n     * ```\n     */\n    adminUpdate: async (\n      id: string,\n      attributes: AdminUpdateUserAttributes,\n      options?: RequestOptions,\n    ): Promise<User> => {\n      const { is_platform_admin, password, password_confirmation } = attributes;\n\n      return rb.execute<User>(\n        patchAdminUsersByIdAdmin,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"user\",\n              attributes: {\n                is_platform_admin,\n                password,\n                password_confirmation,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Change a user's email address (admin action).\n     * @param id - User ID\n     * @param email - New email address\n     * @returns Updated user\n     * @example\n     * ```typescript\n     * await admin.users.adminUpdateEmail(\"user_123\", \"new@example.com\");\n     * ```\n     */\n    adminUpdateEmail: async (\n      id: string,\n      email: string,\n      options?: RequestOptions,\n    ): Promise<User> => {\n      // Server action `admin_update_email` declares `argument :new_email`,\n      // so the request body must send `new_email` under attributes (not\n      // `email`). Verified against sdks/oas/openapi_base.json — schema\n      // requires data.attributes.new_email.\n      return rb.execute<User>(\n        patchAdminUsersByIdAdminEmail,\n        {\n          path: { id },\n          body: {\n            data: { id, type: \"user\", attributes: { new_email: email } },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Confirm a user's email address (admin bypass).\n     * @param id - User ID\n     * @returns Updated user\n     * @example\n     * ```typescript\n     * await admin.users.confirmEmail(\"user_123\");\n     * ```\n     */\n    confirmEmail: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<User> => {\n      return rb.execute<User>(\n        patchAdminUsersByIdConfirmEmail,\n        { path: { id }, body: { data: { id, type: \"user\", attributes: {} } } },\n        options,\n      );\n    },\n\n    /**\n     * Trigger a password reset email for a user (admin action).\n     * @param id - User ID\n     * @returns Updated user\n     * @example\n     * ```typescript\n     * await admin.users.triggerPasswordReset(\"user_123\");\n     * ```\n     */\n    triggerPasswordReset: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<User> => {\n      return rb.execute<User>(\n        patchAdminUsersByIdResetPassword,\n        { path: { id }, body: { data: { id, type: \"user\", attributes: {} } } },\n        options,\n      );\n    },\n\n    /**\n     * Register a new user via invitation token — skips personal tenant creation,\n     * accepts the invitation, and creates the appropriate AccessGrant.\n     * @param email - Email address (must match the invitation)\n     * @param password - Password (min 8 characters)\n     * @param passwordConfirmation - Must match password\n     * @param invitationToken - Raw invitation token from the invitation email\n     * @param attrs - Optional extra attributes (first_name, last_name)\n     * @returns Created user with JWT token\n     * @example\n     * ```typescript\n     * const user = await admin.users.registerViaInvitation(\n     *   \"ada@example.com\",\n     *   \"correct horse battery staple\",\n     *   \"correct horse battery staple\",\n     *   \"invitation-token\",\n     *   { first_name: \"Ada\", last_name: \"Lovelace\" },\n     * );\n     * ```\n     */\n    registerViaInvitation: async (\n      email: string,\n      password: string,\n      passwordConfirmation: string,\n      invitationToken: string,\n      attrs?: { first_name?: string; last_name?: string },\n      options?: RequestOptions,\n    ): Promise<User> => {\n      const { first_name, last_name } = attrs ?? {};\n\n      return rb.execute<User>(\n        postAdminUsersAuthRegisterViaInvitation,\n        {\n          body: {\n            data: {\n              type: \"user\",\n              attributes: {\n                email,\n                password,\n                password_confirmation: passwordConfirmation,\n                invitation_token: invitationToken,\n                first_name,\n                last_name,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Delete a user and all associated data.\n     * @param id - User ID\n     * @param options - Optional request options.\n     * @returns `true` when deletion succeeds.\n     * @example\n     * ```typescript\n     * await admin.users.delete(\"user_123\");\n     * ```\n     */\n    delete: async (id: string, options?: RequestOptions): Promise<true> => {\n      return rb.executeDelete(deleteAdminUsersById, { path: { id } }, options);\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport {\n  deleteAdminVoiceTranscriptionJobsById,\n  getAdminVoiceRecordings,\n  getAdminVoiceRecordingsById,\n  getAdminVoiceRecordingsSessionBySessionId,\n  getAdminVoiceSessions,\n  getAdminVoiceSessionsById,\n  getAdminVoiceSessionsWorkspaceByWorkspaceId,\n  getAdminVoiceTranscriptionJobs,\n  getAdminVoiceTranscriptionJobsById,\n  getAdminVoiceTranscriptionJobsMine,\n  getAdminVoiceTranscriptionJobsWorkspaceByWorkspaceId,\n  getAdminVoiceTranscriptionResults,\n  getAdminVoiceTranscriptionResultsById,\n  getAdminVoiceTranscriptionResultsSessionBySessionId,\n  postAdminVoiceTranscriptionJobs,\n} from \"../_internal/sdk.gen\";\nimport type {\n  TranscriptionJob,\n  VoiceRecording,\n  VoiceSession,\n  VoiceTranscriptionResult,\n} from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { buildPageQuery } from \"../namespace-types\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/** Attributes for creating a transcription job (admin). */\nexport interface TranscriptionJobCreateAttributes {\n  language?: string;\n  model_size?: \"base\" | \"medium\" | \"large\" | \"large-v3\";\n  enable_diarization?: boolean;\n  num_speakers?: number;\n  initial_prompt?: string;\n  pii_mode?: \"none\" | \"tokenize\" | \"tokenize_encrypt\";\n  metadata?: Record<string, unknown>;\n}\n\n/** Options for minting a LiveKit token for an additional participant. */\nexport interface VoiceParticipantTokenOptions {\n  participantIdentity: string;\n  participantName?: string;\n  canPublish?: boolean;\n}\n\n/** Response from participant token minting. */\nexport interface VoiceParticipantTokenResult {\n  livekit_token: string;\n  livekit_room: string;\n  participant_identity: string;\n}\n\n/**\n * Admin-level voice session, recording, and transcription management.\n *\n * Provides cross-workspace visibility into voice sessions, recordings,\n * and transcription results for ISV administrators and platform operators.\n */\nexport function createVoiceNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Voice session management — admin view across all workspaces.\n     */\n    sessions: {\n      /**\n       * List voice sessions across all workspaces.\n       *\n       * @param options - Optional pagination, filter, and request options.\n       * @returns Array of VoiceSession objects.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * // List all active sessions\n       * const activeSessions = await admin.voice.sessions.list({ status: \"active\" });\n       * // List sessions from the last 24 hours\n       * const recentSessions = await admin.voice.sessions.list({\n       *   insertedAfter: new Date(Date.now() - 86400000).toISOString()\n       * });\n       * ```\n       */\n      list: async (\n        options?: {\n          page?: number;\n          pageSize?: number;\n          status?: \"active\" | \"ended\" | \"failed\" | \"timed_out\";\n          insertedAfter?: string;\n          insertedBefore?: string;\n        } & RequestOptions,\n      ): Promise<VoiceSession[]> => {\n        const filters: Record<string, string> = {};\n        if (options?.status) filters[\"filter[status]\"] = options.status;\n        if (options?.insertedAfter)\n          filters[\"filter[inserted_after]\"] = options.insertedAfter;\n        if (options?.insertedBefore)\n          filters[\"filter[inserted_before]\"] = options.insertedBefore;\n        return rb.execute<VoiceSession[]>(\n          getAdminVoiceSessions,\n          {\n            ...buildPageQuery(options?.page, options?.pageSize),\n            query: filters,\n          },\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single voice session by ID.\n       *\n       * @param id - The UUID of the voice session.\n       * @param options - Optional request options.\n       * @returns The VoiceSession.\n       *\n       * @example\n       * ```typescript\n       * const session = await admin.voice.sessions.get('session-uuid');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<VoiceSession> => {\n        return rb.execute<VoiceSession>(\n          getAdminVoiceSessionsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List voice sessions in a specific workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional pagination and request options.\n       * @returns Array of VoiceSession objects in the workspace.\n       *\n       * @example\n       * ```typescript\n       * const sessions = await admin.voice.sessions.listByWorkspace('ws-uuid');\n       * ```\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<VoiceSession[]> => {\n        return rb.execute<VoiceSession[]>(\n          getAdminVoiceSessionsWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n\n      /**\n       * Mint a LiveKit token for an additional participant in an active session.\n       *\n       * This uses the ISV-scoped participant-token endpoint because the\n       * generated admin OpenAPI surface does not include custom controller\n       * routes.\n       */\n      issueParticipantToken: async (\n        id: string,\n        params: VoiceParticipantTokenOptions,\n        options?: RequestOptions,\n      ): Promise<VoiceParticipantTokenResult> => {\n        return rb.rawPost<VoiceParticipantTokenResult>(\n          `/isv/voice/sessions/${encodeURIComponent(id)}/participant-tokens`,\n          {\n            data: {\n              participant_identity: params.participantIdentity,\n              participant_name: params.participantName,\n              can_publish: params.canPublish,\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Remove a participant from an active session's LiveKit room.\n       */\n      removeParticipant: async (\n        id: string,\n        participantIdentity: string,\n        options?: RequestOptions,\n      ): Promise<void> => {\n        await rb.rawDelete<void>(\n          `/isv/voice/sessions/${encodeURIComponent(id)}/participants/${encodeURIComponent(\n            participantIdentity,\n          )}`,\n          options,\n        );\n      },\n    },\n\n    /**\n     * Voice recording management — admin view.\n     */\n    recordings: {\n      /**\n       * List voice recordings.\n       *\n       * @param options - Optional pagination and request options.\n       * @returns Array of VoiceRecording objects.\n       *\n       * @example\n       * ```typescript\n       * const recordings = await admin.voice.recordings.list();\n       * ```\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<VoiceRecording[]> => {\n        return rb.execute<VoiceRecording[]>(\n          getAdminVoiceRecordings,\n          buildPageQuery(options?.page, options?.pageSize),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single recording by ID.\n       *\n       * @param id - The UUID of the recording.\n       * @param options - Optional request options.\n       * @returns The VoiceRecording.\n       *\n       * @example\n       * ```typescript\n       * const recording = await admin.voice.recordings.get('recording-uuid');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<VoiceRecording> => {\n        return rb.execute<VoiceRecording>(\n          getAdminVoiceRecordingsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List all recordings for a specific voice session.\n       *\n       * @param sessionId - The UUID of the voice session.\n       * @param options - Optional request options.\n       * @returns Array of VoiceRecording objects for the session.\n       *\n       * @example\n       * ```typescript\n       * const recordings = await admin.voice.recordings.bySession('session-uuid');\n       * ```\n       */\n      bySession: async (\n        sessionId: string,\n        options?: RequestOptions,\n      ): Promise<VoiceRecording[]> => {\n        return rb.execute<VoiceRecording[]>(\n          getAdminVoiceRecordingsSessionBySessionId,\n          { path: { session_id: sessionId } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Transcription result management — admin view.\n     */\n    transcriptionResults: {\n      /**\n       * List transcription results.\n       *\n       * @param options - Optional pagination and request options.\n       * @returns Array of VoiceTranscriptionResult objects.\n       *\n       * @example\n       * ```typescript\n       * const results = await admin.voice.transcriptionResults.list();\n       * ```\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<VoiceTranscriptionResult[]> => {\n        return rb.execute<VoiceTranscriptionResult[]>(\n          getAdminVoiceTranscriptionResults,\n          buildPageQuery(options?.page, options?.pageSize),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single transcription result by ID.\n       *\n       * @param id - The UUID of the transcription result.\n       * @param options - Optional request options.\n       * @returns The VoiceTranscriptionResult.\n       *\n       * @example\n       * ```typescript\n       * const result = await admin.voice.transcriptionResults.get('result-uuid');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<VoiceTranscriptionResult> => {\n        return rb.execute<VoiceTranscriptionResult>(\n          getAdminVoiceTranscriptionResultsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List transcription results for a specific voice session.\n       *\n       * @param sessionId - The UUID of the voice session.\n       * @param options - Optional pagination and request options.\n       * @returns Array of VoiceTranscriptionResult objects for the session.\n       *\n       * @example\n       * ```typescript\n       * const results = await admin.voice.transcriptionResults.bySession('session-uuid');\n       * ```\n       */\n      bySession: async (\n        sessionId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<VoiceTranscriptionResult[]> => {\n        return rb.execute<VoiceTranscriptionResult[]>(\n          getAdminVoiceTranscriptionResultsSessionBySessionId,\n          {\n            path: { session_id: sessionId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Transcription job management — admin view.\n     *\n     * Transcription jobs enable chunked, progressive transcription of long\n     * audio recordings. Each job tracks uploaded chunks, assembly status,\n     * and the final assembled transcript.\n     */\n    transcriptionJobs: {\n      /**\n       * List transcription jobs across all workspaces.\n       *\n       * @param options - Optional pagination and request options.\n       * @returns Array of TranscriptionJob objects.\n       *\n       * @example\n       * ```typescript\n       * const jobs = await admin.voice.transcriptionJobs.list();\n       * ```\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<TranscriptionJob[]> => {\n        return rb.execute<TranscriptionJob[]>(\n          getAdminVoiceTranscriptionJobs,\n          buildPageQuery(options?.page, options?.pageSize),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single transcription job by ID.\n       *\n       * @param id - The UUID of the transcription job.\n       * @param options - Optional request options.\n       * @returns The TranscriptionJob.\n       *\n       * @example\n       * ```typescript\n       * const job = await admin.voice.transcriptionJobs.get('job-uuid');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<TranscriptionJob> => {\n        return rb.execute<TranscriptionJob>(\n          getAdminVoiceTranscriptionJobsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List transcription jobs owned by the current actor.\n       *\n       * @param options - Optional pagination and request options.\n       * @returns Array of TranscriptionJob objects.\n       *\n       * @example\n       * ```typescript\n       * const myJobs = await admin.voice.transcriptionJobs.listMine();\n       * ```\n       */\n      listMine: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<TranscriptionJob[]> => {\n        return rb.execute<TranscriptionJob[]>(\n          getAdminVoiceTranscriptionJobsMine,\n          buildPageQuery(options?.page, options?.pageSize),\n          options,\n        );\n      },\n\n      /**\n       * List transcription jobs in a specific workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional pagination and request options.\n       * @returns Array of TranscriptionJob objects in the workspace.\n       *\n       * @example\n       * ```typescript\n       * const jobs = await admin.voice.transcriptionJobs.listByWorkspace('ws-uuid');\n       * ```\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<TranscriptionJob[]> => {\n        return rb.execute<TranscriptionJob[]>(\n          getAdminVoiceTranscriptionJobsWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n\n      /**\n       * Create a new transcription job.\n       *\n       * @param data - Job creation attributes (language, model_size, etc.).\n       * @param options - Optional request options.\n       * @returns The created TranscriptionJob.\n       *\n       * @example\n       * ```typescript\n       * const job = await admin.voice.transcriptionJobs.create({\n       *   language: \"en\",\n       *   model_size: \"large-v3\",\n       * });\n       * ```\n       */\n      create: async (\n        data?: TranscriptionJobCreateAttributes,\n        options?: RequestOptions,\n      ): Promise<TranscriptionJob> => {\n        return rb.execute<TranscriptionJob>(\n          postAdminVoiceTranscriptionJobs,\n          {\n            body: {\n              data: {\n                type: \"transcription-job\",\n                attributes: data ?? {},\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a transcription job by ID.\n       *\n       * @param id - The UUID of the transcription job to delete.\n       * @param options - Optional request options.\n       *\n       * @example\n       * ```typescript\n       * await admin.voice.transcriptionJobs.destroy('job-uuid');\n       * ```\n       */\n      destroy: async (id: string, options?: RequestOptions): Promise<void> => {\n        return rb.execute<void>(\n          deleteAdminVoiceTranscriptionJobsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/**\n * Audit log entry returned by the admin audit API.\n *\n * Note: `ip_address` and `user_agent` are intentionally excluded —\n * those fields are `public?: false` in the resource definition.\n */\nexport interface AuditLog {\n  id: string;\n  action: string;\n  resource_type: string;\n  resource_id: string;\n  changes: Record<string, unknown> | null;\n  target_type: string | null;\n  target_id: string | null;\n  target_name: string | null;\n  tenant_id: string | null;\n  workspace_id: string | null;\n  actor_id: string | null;\n  /** Human-readable actor name — \"System\" for automated actions. Loaded via calculation. */\n  actor_display_name: string | null;\n  created_at: string;\n}\n\n/** Parameters for the paginated audit log list. */\nexport type AuditListParams = {\n  /** Keyset cursor — fetch entries after this position (forward pagination). */\n  after?: string;\n  /** Keyset cursor — fetch entries before this position (backward pagination). */\n  before?: string;\n  /** Max results to return. Default: 50. */\n  limit?: number;\n  /** Offset for offset-based pagination. */\n  offset?: number;\n  /** Sort field, e.g. `created_at` or `-created_at`. */\n  sort?: string;\n};\n\n/** Parameters for the tenant activity feed. */\nexport type ActivityFeedParams = {\n  /** Required. Tenant UUID to scope the feed. */\n  tenantId: string;\n  /** Optional workspace UUID to narrow results to a single workspace. */\n  workspaceId?: string;\n  /** Optional action type filter, e.g. `\"document.analyzed\"`. */\n  activityType?: string;\n  /** Optional actor UUID — returns only actions performed by this actor. */\n  actorId?: string;\n  /** ISO-8601 timestamp — return only entries after this datetime. */\n  fromDate?: string;\n  /** ISO-8601 timestamp — return only entries before this datetime. */\n  toDate?: string;\n  /** Max results to return. Default: 50. */\n  limit?: number;\n  /** Offset for offset-based pagination. */\n  offset?: number;\n};\n\n/** Parameters for the count-by-action aggregate. */\nexport type CountByActionParams = {\n  /** Required. Tenant UUID. */\n  tenantId: string;\n  /** Optional workspace UUID to narrow results. */\n  workspaceId?: string;\n};\n\n/** Single row from the count-by-action aggregate. */\nexport type CountByActionResult = { action: string; count: number };\n\n/** Parameters for requesting a bulk compliance export. */\nexport type ExportParams = {\n  /** Export format. */\n  format: \"csv\" | \"json\";\n  /** Required. Tenant UUID — exports only logs for this tenant. */\n  tenantId: string;\n  /** ISO-8601 timestamp — export only entries after this datetime. */\n  fromDate?: string;\n  /** ISO-8601 timestamp — export only entries before this datetime. */\n  toDate?: string;\n};\n\n/** Result returned when an export is enqueued. */\nexport type ExportResult = { jobId: string; status: string };\n\n/**\n * Audit log namespace factory.\n *\n * Provides compliance-oriented access to audit log entries: paginated listing,\n * tenant activity feeds, per-action aggregates, and async bulk exports.\n *\n * ## Required scopes for `sk_srv_` keys\n *\n * | Method            | Required scope  |\n * |-------------------|----------------|\n * | `list`            | `audit:read`   |\n * | `activityFeed`    | `audit:read`   |\n * | `countByAction`   | `audit:read`   |\n * | `requestExport`   | `audit:write`  |\n *\n * `sk_srv_` keys are granted all available scopes by default, so these\n * methods work out of the box. Narrower custom keys must explicitly include\n * the required scope when the key is created.\n *\n * @param rb - The request builder used for API communication.\n * @returns Audit namespace with `list`, `activityFeed`, `countByAction`, and `requestExport`.\n */\nexport function createAuditNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List audit log entries with keyset or offset pagination.\n     *\n     * Returns up to `limit` (default 50) entries sorted by `created_at` descending.\n     * The `actor_display_name` calculation is included automatically.\n     *\n     * @param params - Optional pagination and sort parameters.\n     * @param options - Optional request options.\n     * @returns Array of AuditLog entries.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     *\n     * // First page (default limit 50)\n     * const page1 = await admin.audit.list();\n     *\n     * // Next page using keyset cursor\n     * const page2 = await admin.audit.list({ after: page1.at(-1)?.id, limit: 25 });\n     * ```\n     */\n    async list(\n      params: AuditListParams = {},\n      options?: RequestOptions,\n    ): Promise<AuditLog[]> {\n      const parts: string[] = [];\n      if (params.limit !== undefined) parts.push(`page[limit]=${params.limit}`);\n      if (params.offset !== undefined)\n        parts.push(`page[offset]=${params.offset}`);\n      if (params.after)\n        parts.push(`page[after]=${encodeURIComponent(params.after)}`);\n      if (params.before)\n        parts.push(`page[before]=${encodeURIComponent(params.before)}`);\n      if (params.sort) parts.push(`sort=${encodeURIComponent(params.sort)}`);\n      const qs = parts.length ? `?${parts.join(\"&\")}` : \"\";\n      return rb.rawGet<AuditLog[]>(`/admin/audit-logs${qs}`, options);\n    },\n\n    /**\n     * Fetch a paginated, time-sorted activity feed scoped to a tenant.\n     *\n     * Optionally filter by workspace, action type, actor, or date range.\n     * Results are sorted by `created_at` descending (most recent first).\n     *\n     * @param params - Feed parameters. `tenantId` is required.\n     * @param options - Optional request options.\n     * @returns Array of AuditLog entries matching the filters.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     *\n     * // All activity for a tenant in the last 24h\n     * const feed = await admin.audit.activityFeed({\n     *   tenantId: 'tenant-uuid',\n     *   fromDate: new Date(Date.now() - 86400000).toISOString(),\n     * });\n     *\n     * // Narrow to a specific workspace and actor\n     * const focused = await admin.audit.activityFeed({\n     *   tenantId: 'tenant-uuid',\n     *   workspaceId: 'ws-uuid',\n     *   actorId: 'user-uuid',\n     *   limit: 20,\n     * });\n     * ```\n     */\n    async activityFeed(\n      params: ActivityFeedParams,\n      options?: RequestOptions,\n    ): Promise<AuditLog[]> {\n      if (!params.tenantId) throw new Error(\"tenantId is required\");\n      const parts: string[] = [\n        `tenant_id=${encodeURIComponent(params.tenantId)}`,\n      ];\n      if (params.workspaceId)\n        parts.push(`workspace_id=${encodeURIComponent(params.workspaceId)}`);\n      if (params.activityType)\n        parts.push(`activity_type=${encodeURIComponent(params.activityType)}`);\n      if (params.actorId)\n        parts.push(`actor_id=${encodeURIComponent(params.actorId)}`);\n      if (params.fromDate)\n        parts.push(`from_date=${encodeURIComponent(params.fromDate)}`);\n      if (params.toDate)\n        parts.push(`to_date=${encodeURIComponent(params.toDate)}`);\n      if (params.limit !== undefined) parts.push(`limit=${params.limit}`);\n      if (params.offset !== undefined) parts.push(`offset=${params.offset}`);\n      return rb.rawGet<AuditLog[]>(\n        `/admin/audit-logs/activity?${parts.join(\"&\")}`,\n        options,\n      );\n    },\n\n    /**\n     * Return per-action counts for a tenant, sorted by frequency descending.\n     *\n     * Useful for anomaly dashboards and compliance reporting.\n     *\n     * @param params - `tenantId` is required. `workspaceId` narrows to one workspace.\n     * @param options - Optional request options.\n     * @returns Array of `{ action, count }` objects sorted by count descending.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     *\n     * const counts = await admin.audit.countByAction({ tenantId: 'tenant-uuid' });\n     * // [{ action: \"document.analyzed\", count: 1240 }, { action: \"user.login\", count: 98 }, ...]\n     * ```\n     */\n    async countByAction(\n      params: CountByActionParams,\n      options?: RequestOptions,\n    ): Promise<CountByActionResult[]> {\n      if (!params.tenantId) throw new Error(\"tenantId is required\");\n      const parts: string[] = [\n        `tenant_id=${encodeURIComponent(params.tenantId)}`,\n      ];\n      if (params.workspaceId)\n        parts.push(`workspace_id=${encodeURIComponent(params.workspaceId)}`);\n      return rb.rawGet<CountByActionResult[]>(\n        `/admin/audit-logs/count-by-action?${parts.join(\"&\")}`,\n        options,\n      );\n    },\n\n    /**\n     * Enqueue a bulk compliance export of audit logs for a tenant.\n     *\n     * The export is processed asynchronously by the `ExportAuditLogsWorker` Oban job.\n     * The caller receives a job ID and status immediately; the file URL is published\n     * to `audit:export:{tenant_id}` via PubSub when ready (see `AuditExportCompleted`).\n     *\n     * @param params - Export parameters. `tenantId` and `format` are required.\n     * @param options - Optional request options.\n     * @returns `{ jobId, status }` — the Oban job ID and initial status (`\"enqueued\"`).\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     *\n     * // Request a CSV export of the last 30 days\n     * const thirty = new Date();\n     * thirty.setDate(thirty.getDate() - 30);\n     * const result = await admin.audit.requestExport({\n     *   format: 'csv',\n     *   tenantId: 'tenant-uuid',\n     *   fromDate: thirty.toISOString(),\n     * });\n     * console.log(`Export job ${result.jobId} enqueued`);\n     * ```\n     */\n    async requestExport(\n      params: ExportParams,\n      options?: RequestOptions,\n    ): Promise<ExportResult> {\n      if (!params.tenantId) throw new Error(\"tenantId is required\");\n      // Generic Ash action — flat body under `data`, no `type`/`attributes` wrapper.\n      // OpenAPI: additionalProperties:false; properties: format, tenant_id, from_date, to_date.\n      const data: Record<string, unknown> = {\n        format: params.format,\n        tenant_id: params.tenantId,\n      };\n      if (params.fromDate) data.from_date = params.fromDate;\n      if (params.toDate) data.to_date = params.toDate;\n      return rb.rawPost<ExportResult>(\n        `/admin/audit-logs/export`,\n        { data },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport {\n  getAdminWebhookConfigs,\n  postAdminWebhookConfigs,\n  getAdminWebhookConfigsById,\n  patchAdminWebhookConfigsById,\n  deleteAdminWebhookConfigsById,\n  postAdminWebhookConfigsByIdTest,\n  postAdminWebhookConfigsByIdReplay,\n  patchAdminWebhookConfigsByIdRotateSecret,\n  postAdminWebhookConfigsBulkEnable,\n  postAdminWebhookConfigsBulkDisable,\n  getAdminWebhookConfigsByIdEvents,\n  getAdminWebhookConfigsStats,\n  getAdminWebhookDeliveries,\n  getAdminWebhookDeliveriesById,\n  postAdminWebhookDeliveriesByIdRetry,\n  postAdminWebhookDeliveriesBulkRetry,\n} from \"../_internal/sdk.gen\";\nimport type { WebhookConfig, WebhookDelivery } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/** Attributes for creating a new webhook configuration. */\nexport type CreateWebhookConfigAttributes = {\n  name: string;\n  url: string;\n  events?: string[];\n  enabled?: boolean;\n  secret?: string;\n  application_id?: string;\n  tenant_id?: string | null;\n  tenant_ids?: string[] | null;\n  workspace_ids?: string[] | null;\n  filter_expression?: Record<string, unknown> | null;\n};\n\n/**\n * Attributes for updating a webhook configuration.\n *\n * Note: `secret` is intentionally absent — the resource `:update` action does\n * not accept it. Use `rotateSecret` to change the HMAC signing secret.\n */\nexport type UpdateWebhookConfigAttributes = {\n  name?: string;\n  url?: string;\n  events?: string[];\n  enabled?: boolean;\n  filter_expression?: Record<string, unknown> | null;\n  tenant_ids?: string[] | null;\n  workspace_ids?: string[] | null;\n};\n\n/**\n * Webhook infrastructure management.\n *\n * Administers webhook endpoint configurations (`configs`) and their delivery\n * records (`deliveries`). Webhook events are dispatched asynchronously via\n * the WebhookSender Oban worker and signed with an HMAC secret for verification.\n */\nexport function createWebhooksNamespace(rb: RequestBuilder) {\n  return {\n    configs: {\n      /**\n       * Lists all webhook configurations.\n       *\n       * @param options - Optional request options.\n       * @returns Array of WebhookConfig objects.\n       */\n      list: async (options?: RequestOptions): Promise<WebhookConfig[]> => {\n        return rb.execute<WebhookConfig[]>(getAdminWebhookConfigs, {}, options);\n      },\n\n      /**\n       * Registers a new webhook endpoint to receive platform events.\n       *\n       * Scope constraints (`tenant_id`, `tenant_ids`, `workspace_ids`) and payload\n       * filters (`filter_expression`) are all accepted on create — no follow-up\n       * update call is required. The `application_id` is inferred from the API key\n       * if not supplied.\n       *\n       * The `secret` in the response is shown exactly once. Store it immediately —\n       * it is used to verify `X-GptCore-Signature` headers on every delivery.\n       *\n       * @param attributes - Webhook configuration attributes.\n       * @param options - Optional request options.\n       * @returns The created WebhookConfig, including the plaintext `secret`.\n       *\n       * @example\n       * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n       *\n       * const config = await admin.webhooks.configs.create({\n       *   name: \"case-decisions-to-zapier\",\n       *   url: \"https://hooks.zapier.com/hooks/catch/...\",\n       *   events: [\"case.decided\"],\n       *   workspace_ids: [\"<workspace-uuid>\"],\n       *   filter_expression: {\n       *     path: \"data.case.priority\",\n       *     op: \"eq\",\n       *     value: \"urgent\"\n       *   }\n       * });\n       *\n       * @see docs/domains/communication.md — Filter DSL and scoping reference\n       */\n      create: async (\n        attributes: CreateWebhookConfigAttributes,\n        options?: RequestOptions,\n      ): Promise<WebhookConfig> => {\n        const {\n          name,\n          url,\n          events,\n          enabled,\n          secret,\n          application_id,\n          tenant_id,\n          tenant_ids,\n          workspace_ids,\n          filter_expression,\n        } = attributes;\n        return rb.execute<WebhookConfig>(\n          postAdminWebhookConfigs,\n          {\n            body: {\n              data: {\n                type: \"webhook-config\",\n                attributes: {\n                  name,\n                  url,\n                  events,\n                  enabled,\n                  secret,\n                  application_id,\n                  tenant_id,\n                  tenant_ids,\n                  workspace_ids,\n                  filter_expression,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Fetches a single webhook configuration by ID.\n       *\n       * @param id - WebhookConfig ID.\n       * @param options - Optional request options.\n       * @returns The WebhookConfig.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<WebhookConfig> => {\n        return rb.execute<WebhookConfig>(\n          getAdminWebhookConfigsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Updates webhook endpoint settings.\n       *\n       * `filter_expression` accepts `eq`, `not_eq`, `contains`, `in`, and `not_null`\n       * operators against dot-notation paths into the event payload (e.g.\n       * `\"data.status\"`). Expressions are fail-open: malformed or unresolvable\n       * expressions pass all events rather than blocking delivery.\n       *\n       * To change the HMAC signing secret, use `rotateSecret` instead.\n       *\n       * @param id - WebhookConfig ID.\n       * @param attributes - Partial attributes to update.\n       * @param options - Optional request options.\n       * @returns Updated WebhookConfig.\n       *\n       * @example\n       * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n       *\n       * const config = await admin.webhooks.configs.update(\"<config-uuid>\", {\n       *   enabled: false,\n       *   events: [\"case.decided\", \"case.reopened\"],\n       * });\n       *\n       * @see docs/domains/communication.md — Filter DSL and scoping reference\n       */\n      update: async (\n        id: string,\n        attributes: UpdateWebhookConfigAttributes,\n        options?: RequestOptions,\n      ): Promise<WebhookConfig> => {\n        const {\n          name,\n          url,\n          events,\n          enabled,\n          filter_expression,\n          tenant_ids,\n          workspace_ids,\n        } = attributes;\n        return rb.execute<WebhookConfig>(\n          patchAdminWebhookConfigsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"webhook-config\",\n                attributes: {\n                  name,\n                  url,\n                  events,\n                  enabled,\n                  filter_expression,\n                  tenant_ids,\n                  workspace_ids,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently deletes a webhook configuration.\n       *\n       * This action cannot be undone. Associated delivery records are preserved.\n       *\n       * @param id - WebhookConfig ID.\n       * @param options - Optional request options.\n       * @returns `true` on success.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminWebhookConfigsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Sends a realistic sample payload to the webhook URL.\n       *\n       * Verifies connectivity and signature verification by enqueuing a\n       * WebhookSender Oban job tagged with `test: true`. Use this to confirm\n       * the endpoint is reachable and parsing HMAC signatures correctly before\n       * subscribing to live events.\n       *\n       * @param id - WebhookConfig ID.\n       * @param options - Optional request options.\n       * @returns The WebhookConfig on success.\n       *\n       * @example\n       * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n       *\n       * await admin.webhooks.configs.test(\"<config-uuid>\");\n       */\n      test: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<WebhookConfig> => {\n        return rb.execute<WebhookConfig>(\n          postAdminWebhookConfigsByIdTest,\n          { path: { id }, body: { data: {} } },\n          options,\n        );\n      },\n\n      /**\n       * Generates a new HMAC-SHA256 signing secret for a webhook configuration,\n       * immediately invalidating the old one.\n       *\n       * The new secret is returned in the response and is the only time it will\n       * be visible in plaintext — store it securely immediately.\n       *\n       * @param id - WebhookConfig ID.\n       * @param options - Optional request options.\n       * @returns The WebhookConfig with the new `attributes.secret` populated.\n       *\n       * @example\n       * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n       *\n       * const rotated = await admin.webhooks.configs.rotateSecret(\"<config-uuid>\");\n       * // Persist rotated.secret immediately — shown only once.\n       */\n      rotateSecret: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<WebhookConfig> => {\n        return rb.execute<WebhookConfig>(\n          patchAdminWebhookConfigsByIdRotateSecret,\n          { path: { id }, body: { data: { id, type: \"webhook-config\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Enables multiple webhook configurations by ID in a single batch call.\n       *\n       * Only configs the actor is authorized to update are affected. Returns\n       * a count of how many configs were enabled.\n       *\n       * @param ids - Array of WebhookConfig IDs to enable.\n       * @param options - Optional request options.\n       * @returns An object with `success: true` and the count of enabled configs.\n       *\n       * @example\n       * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n       *\n       * const { count } = await admin.webhooks.configs.bulkEnable([\n       *   \"<config-uuid-1>\",\n       *   \"<config-uuid-2>\",\n       * ]);\n       */\n      bulkEnable: async (\n        ids: string[],\n        options?: RequestOptions,\n      ): Promise<{ success: boolean; count: number }> => {\n        return rb.execute<{ success: boolean; count: number }>(\n          postAdminWebhookConfigsBulkEnable,\n          { body: { data: { ids } } },\n          options,\n        );\n      },\n\n      /**\n       * Disables multiple webhook configurations by ID in a single batch call.\n       *\n       * Only configs the actor is authorized to update are affected. Returns\n       * a count of how many configs were disabled.\n       *\n       * @param ids - Array of WebhookConfig IDs to disable.\n       * @param options - Optional request options.\n       * @returns An object with `success: true` and the count of disabled configs.\n       *\n       * @example\n       * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n       *\n       * const { count } = await admin.webhooks.configs.bulkDisable([\n       *   \"<config-uuid-1>\",\n       *   \"<config-uuid-2>\",\n       * ]);\n       */\n      bulkDisable: async (\n        ids: string[],\n        options?: RequestOptions,\n      ): Promise<{ success: boolean; count: number }> => {\n        return rb.execute<{ success: boolean; count: number }>(\n          postAdminWebhookConfigsBulkDisable,\n          { body: { data: { ids } } },\n          options,\n        );\n      },\n\n      /**\n       * Re-delivers a range of historical platform events to a webhook endpoint.\n       *\n       * Use this when an endpoint was down or misconfigured during a window of\n       * events and you need to retroactively process those events.\n       *\n       * @param id - WebhookConfig ID to replay events to.\n       * @param options - Optional request options.\n       * @returns The WebhookConfig annotated with replay job metadata.\n       *\n       * @example\n       * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n       *\n       * await admin.webhooks.configs.replay(\"<config-uuid>\");\n       */\n      replay: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<WebhookConfig> => {\n        return rb.execute<WebhookConfig>(\n          postAdminWebhookConfigsByIdReplay,\n          { path: { id }, body: { data: {} } },\n          options,\n        );\n      },\n\n      /**\n       * Returns aggregated delivery statistics across all webhook configurations.\n       *\n       * Provides counts of total, successful, failed, and pending deliveries\n       * along with average latency metrics. Useful for monitoring webhook\n       * health across the platform.\n       *\n       * @param options - Optional request options.\n       * @returns An object containing delivery statistics.\n       *\n       * @example\n       * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n       *\n       * const stats = await admin.webhooks.configs.stats();\n       * console.log(stats.failed, stats.pending);\n       */\n      stats: async (\n        options?: RequestOptions,\n      ): Promise<Record<string, unknown>> => {\n        return rb.execute<Record<string, unknown>>(\n          getAdminWebhookConfigsStats,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Lists the webhook event types this specific configuration is\n       * authorized to subscribe to.\n       *\n       * Unlike the top-level `listEventTypes()` (which returns the global\n       * platform catalog), this endpoint authorizes the caller against the\n       * specific webhook config first, then returns its resolvable event\n       * catalog. Use it to validate the `events` array for one config.\n       *\n       * @param id - WebhookConfig ID.\n       * @param options - Optional request options.\n       * @returns A promise resolving to the event type descriptors available\n       *   to this configuration.\n       *\n       * @example\n       * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n       *\n       * const events = await admin.webhooks.configs.listEvents(\"<config-uuid>\");\n       */\n      listEvents: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<Record<string, unknown>> => {\n        return rb.execute<Record<string, unknown>>(\n          getAdminWebhookConfigsByIdEvents,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Lists all available webhook event types supported by the platform.\n     *\n     * Returns the complete event catalog. Use this to discover which event\n     * types exist, understand their payload shape, and validate the `events`\n     * array when registering or updating webhook configs.\n     *\n     * @param options - Optional request options.\n     * @returns A promise that resolves to an array of event type descriptors,\n     *   each with `type`, `description`, and `data_object`.\n     *\n     * @example\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * const types = await admin.webhooks.listEventTypes();\n     * console.log(types.map(t => t.type));\n     */\n    listEventTypes: async (\n      options?: RequestOptions,\n    ): Promise<\n      Array<{ type: string; description: string; data_object: string }>\n    > => {\n      return rb.rawGet<\n        Array<{ type: string; description: string; data_object: string }>\n      >(\"/webhook-event-types\", options);\n    },\n\n    deliveries: {\n      /**\n       * Lists all webhook delivery records across all configurations.\n       *\n       * Each delivery record tracks the attempt count, status, payload, and\n       * response for a single event dispatch.\n       *\n       * @param options - Optional request options.\n       * @returns Array of WebhookDelivery objects.\n       */\n      list: async (options?: RequestOptions): Promise<WebhookDelivery[]> => {\n        return rb.execute<WebhookDelivery[]>(\n          getAdminWebhookDeliveries,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Fetches a single delivery record by ID.\n       *\n       * @param id - WebhookDelivery ID.\n       * @param options - Optional request options.\n       * @returns The WebhookDelivery.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<WebhookDelivery> => {\n        return rb.execute<WebhookDelivery>(\n          getAdminWebhookDeliveriesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Re-enqueues a failed or pending delivery for immediate re-dispatch.\n       *\n       * Sets the delivery status to `retrying` and inserts a new WebhookSender\n       * Oban job. Use this to recover from transient endpoint failures without\n       * waiting for the automatic retry schedule.\n       *\n       * @param id - WebhookDelivery ID.\n       * @param options - Optional request options.\n       * @returns Updated WebhookDelivery with status `retrying`.\n       *\n       * @example\n       * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n       *\n       * await admin.webhooks.deliveries.retry(\"<delivery-uuid>\");\n       */\n      retry: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<WebhookDelivery> => {\n        return rb.execute<WebhookDelivery>(\n          postAdminWebhookDeliveriesByIdRetry,\n          { path: { id }, body: { data: {} } },\n          options,\n        );\n      },\n\n      /**\n       * Sets multiple delivery records to `retrying` status in bulk.\n       *\n       * Authorization is actor-scoped — only deliveries the actor can update\n       * are affected. Use this to recover from endpoint outages without\n       * retrying each delivery individually.\n       *\n       * @param ids - Array of WebhookDelivery IDs to retry.\n       * @param options - Optional request options.\n       * @returns An object with `success: true` and the count of queued retries.\n       *\n       * @example\n       * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n       *\n       * const { count } = await admin.webhooks.deliveries.bulkRetry([\n       *   \"<delivery-uuid-1>\",\n       *   \"<delivery-uuid-2>\",\n       * ]);\n       */\n      bulkRetry: async (\n        ids: string[],\n        options?: RequestOptions,\n      ): Promise<{ success: boolean; count: number }> => {\n        return rb.execute<{ success: boolean; count: number }>(\n          postAdminWebhookDeliveriesBulkRetry,\n          { body: { data: { ids } } },\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport {\n  getAdminEmailMarketingCampaignsById,\n  getAdminEmailMarketingCampaignsWorkspaceByWorkspaceId,\n  postAdminEmailMarketingCampaigns,\n  patchAdminEmailMarketingCampaignsById,\n  postAdminEmailMarketingCampaignsByIdSend,\n  postAdminEmailMarketingCampaignsByIdImportRecipients,\n  postAdminEmailMarketingCampaignsByIdGenerateEmails,\n  postAdminEmailMarketingCampaignsByIdOptimizeSubjects,\n  postAdminEmailMarketingCampaignsByIdOptimizeSendTimes,\n  postAdminEmailMarketingCampaignsByIdAnalyze,\n  postAdminEmailMarketingCampaignsByIdCreateFollowup,\n  postAdminEmailMarketingCampaignsByIdExport,\n  deleteAdminEmailMarketingCampaignsById,\n  getAdminEmailMarketingTemplatesById,\n  getAdminEmailMarketingTemplatesWorkspaceByWorkspaceId,\n  postAdminEmailMarketingTemplates,\n  patchAdminEmailMarketingTemplatesById,\n  deleteAdminEmailMarketingTemplatesById,\n  patchAdminEmailMarketingTemplatesByIdPublish,\n  patchAdminEmailMarketingTemplatesByIdUnpublish,\n  patchAdminEmailMarketingTemplatesByIdArchive,\n  patchAdminEmailMarketingTemplatesByIdRestore,\n  patchAdminEmailMarketingTemplatesByIdRollback,\n  patchAdminEmailMarketingTemplatesByIdPreview,\n  postAdminEmailMarketingTemplatesCompile,\n  getAdminEmailTemplateVersionsTemplateByTemplateId,\n  getAdminEmailTemplateVersionsByTemplateIdVersionsByVersionNumber,\n  getAdminEmailMarketingGeneratedEmailsById,\n  patchAdminEmailMarketingGeneratedEmailsById,\n  patchAdminEmailMarketingGeneratedEmailsByIdApprove,\n  patchAdminEmailMarketingGeneratedEmailsByIdReject,\n  patchAdminEmailMarketingGeneratedEmailsByIdSchedule,\n  getAdminEmailMarketingGeneratedEmailsCampaignByCampaignId,\n  getAdminCampaignsSequencesById,\n  postAdminCampaignsSequences,\n  patchAdminCampaignsSequencesById,\n  getAdminCampaignsSequencesWorkspaceByWorkspaceId,\n  deleteAdminCampaignsSequencesById,\n  patchAdminCampaignsSequencesByIdActivate,\n  patchAdminCampaignsSequencesByIdPause,\n  patchAdminCampaignsSequencesByIdComplete,\n  patchAdminCampaignsSequencesByIdResume,\n  getAdminCampaignsRecipientsById,\n  getAdminCampaignsRecipientsCampaignByCampaignId,\n  getAdminCampaignsSequenceStepsById,\n  postAdminCampaignsSequenceSteps,\n  patchAdminCampaignsSequenceStepsById,\n  deleteAdminCampaignsSequenceStepsById,\n  getAdminCampaignsSequenceStepsSequenceBySequenceId,\n  getAdminSocialCampaignsById,\n  getAdminSocialCampaigns,\n  postAdminSocialCampaigns,\n  patchAdminSocialCampaignsById,\n  deleteAdminSocialCampaignsById,\n  patchAdminSocialCampaignsByIdSchedule,\n  patchAdminSocialCampaignsByIdCancel,\n  postAdminSocialCampaignsByIdGenerateMasterCopy,\n  postAdminSocialCampaignsByIdAdaptForPlatforms,\n  postAdminSocialCampaignsByIdPreviewAdaptations,\n} from \"../_internal/sdk.gen\";\nimport type {\n  Campaign,\n  EmailMarketingTemplate,\n  EmailMarketingGeneratedEmail,\n  EmailMarketingSequence,\n  EmailMarketingRecipient,\n  EmailMarketingSequenceStep,\n  EmailTemplateVersion,\n  SocialCampaign,\n} from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { buildPageQuery } from \"../namespace-types\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/** Attributes for creating a campaign via admin API. */\nexport type CreateCampaignAttributes = {\n  workspace_id: string;\n  name: string;\n  template_id: string;\n  description?: string;\n  sender_profile_id?: string;\n  include_tracking_pixel?: boolean;\n  include_unsubscribe_link?: boolean;\n  unsubscribe_message?: string;\n};\n\n/** Attributes for updating a campaign via admin API (PATCH semantics). */\nexport type UpdateCampaignAttributes = {\n  name?: string;\n  scheduled_at?: string;\n  [key: string]: unknown;\n};\n\n/** Attributes for creating a follow-up campaign. */\nexport type CreateFollowupCampaignAttributes = {\n  name?: string;\n  [key: string]: unknown;\n};\n\n/** Attributes for sending a campaign. */\nexport type SendCampaignAttributes = {\n  workspace_id: string;\n  connector_id: string;\n  connector_type: string;\n};\n\n/** Attributes for AI campaign analysis. */\nexport type AnalyzeCampaignAttributes = {\n  campaign_stats?: Record<string, unknown>;\n  tracking_summary?: string;\n  recipient_segments?: string;\n};\n\n/** Attributes for send time optimization. */\nexport type OptimizeSendTimesAttributes = {\n  recipient_emails: string[];\n  timezone_data?: Record<string, unknown>;\n  campaign_stats?: Record<string, unknown>;\n};\n\n/** Attributes for optimizing subject lines with AI. */\nexport type OptimizeSubjectsAttributes = {\n  original_subject: string;\n  campaign_description: string;\n  audience_description: string;\n};\n\n/** Attributes for exporting campaign data. */\nexport type ExportCampaignAttributes = {\n  workspace_id: string;\n  format?: string;\n  export_type?: string;\n};\n\n/** Attributes for creating a template via admin API. */\nexport type CreateTemplateAttributes = {\n  name: string;\n  type?: string;\n  subject_template?: string;\n  body_template?: string;\n  body_mjml?: string;\n  ai_instructions?: string;\n  variables?: string[];\n  template_format?: string;\n};\n\n/** Attributes for updating a template via admin API. */\nexport type UpdateTemplateAttributes = {\n  name?: string;\n  subject_template?: string;\n  body_template?: string;\n  ai_instructions?: string;\n  variables?: string[];\n  [key: string]: unknown;\n};\n\n/** Attributes for updating a generated email via admin API. */\nexport type UpdateGeneratedEmailAttributes = {\n  subject?: string;\n  body?: string;\n  [key: string]: unknown;\n};\n\n/** Attributes for creating a sequence via admin API. */\nexport type CreateSequenceAttributes = {\n  workspace_id: string;\n  name: string;\n  [key: string]: unknown;\n};\n\n/** Attributes for updating a sequence via admin API (PATCH semantics). */\nexport type UpdateSequenceAttributes = {\n  name?: string;\n  [key: string]: unknown;\n};\n\n/** Attributes for creating a sequence step via admin API. */\nexport type CreateSequenceStepAttributes = {\n  sequence_id: string;\n  [key: string]: unknown;\n};\n\n/** Attributes for updating a sequence step via admin API (PATCH semantics). */\nexport type UpdateSequenceStepAttributes = {\n  [key: string]: unknown;\n};\n\n/** Result of a stateless MJML compilation. */\nexport interface MjmlCompileResult {\n  /** Compiled HTML output. Empty string if errors present. */\n  html: string;\n  /** Variable names extracted from {{variable}} patterns. */\n  variables: string[];\n  /** MJML parser errors. */\n  errors: string[];\n}\n\n/** @public Result of an AI-powered campaign performance analysis. */\nexport type CampaignAnalysisResult = Record<string, unknown>;\n\n/** Attributes for creating a social campaign via admin API. */\nexport type CreateSocialCampaignAttributes = {\n  name: string;\n  content_brief?: string;\n  target_platforms?: string[];\n  media_urls?: string[];\n  seo_keywords?: string[];\n  brand_identity_id?: string;\n};\n\n/** Attributes for updating a social campaign via admin API (PATCH semantics). */\nexport type UpdateSocialCampaignAttributes = {\n  name?: string;\n  content_brief?: string;\n  target_platforms?: string[];\n  media_urls?: string[];\n  seo_keywords?: string[];\n  brand_identity_id?: string;\n};\n\n/** Attributes for scheduling a social campaign. */\nexport type ScheduleSocialCampaignAttributes = {\n  scheduled_at: string;\n};\n\n/** Attributes for adapting a social campaign's master copy for target platforms. */\nexport type AdaptForPlatformsAttributes = {\n  campaign_id: string;\n  workspace_id: string;\n  social_account_id: string;\n};\n\n/** Attributes for generating master copy for a social campaign. */\nexport type GenerateMasterCopyAttributes = {\n  campaign_id: string;\n  workspace_id: string;\n};\n\n/** Attributes for previewing platform adaptations without creating posts. */\nexport type PreviewAdaptationsAttributes = {\n  campaign_id: string;\n  workspace_id: string;\n};\n\nexport function createCampaignsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Campaigns -- email campaign orchestration.\n     *\n     * A campaign represents a single bulk email send (or a scheduled future\n     * send) targeting a list of recipients. Campaigns can be created from\n     * templates, analysed with AI for performance insights, have their send\n     * times AI-optimised, and spawn follow-up campaigns automatically.\n     */\n    campaigns: {\n      /**\n       * Fetch a single campaign by its unique ID.\n       *\n       * @param id - The unique identifier of the campaign to retrieve.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching {@link Campaign}.\n       */\n      get: async (id: string, options?: RequestOptions): Promise<Campaign> => {\n        return rb.execute<Campaign>(\n          getAdminEmailMarketingCampaignsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List campaigns for a workspace with optional pagination.\n       *\n       * @param workspaceId - The ID of the workspace whose campaigns to list.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to an array of {@link Campaign} records.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<Campaign[]> => {\n        return rb.execute<Campaign[]>(\n          getAdminEmailMarketingCampaignsWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n\n      /**\n       * Create a new email campaign.\n       *\n       * @param attributes - Campaign attributes including `workspace_id`, `name`, and `template_id`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created {@link Campaign}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const campaign = await admin.campaigns.campaigns.create({\n       *   workspace_id: 'ws_abc123',\n       *   name: 'Q2 Product Update',\n       *   subject: 'What\\'s new in Q2 2026',\n       *   template_id: 'tmpl_product_update',\n       *   sender_profile_id: 'sp_noreply',\n       * });\n       * console.log(campaign.id); // 'camp_...'\n       * ```\n       */\n      create: async (\n        attributes: CreateCampaignAttributes,\n        options?: RequestOptions,\n      ): Promise<Campaign> => {\n        return rb.execute<Campaign>(\n          postAdminEmailMarketingCampaigns,\n          { body: { data: { type: \"campaign\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing campaign's attributes (PATCH semantics).\n       *\n       * @param id - The unique identifier of the campaign to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link Campaign}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const campaign = await admin.campaigns.campaigns.update('camp_abc123', {\n       *   subject: 'Revised subject line for A/B test',\n       *   scheduled_at: '2026-04-01T09:00:00Z',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCampaignAttributes,\n        options?: RequestOptions,\n      ): Promise<Campaign> => {\n        return rb.execute<Campaign>(\n          patchAdminEmailMarketingCampaignsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"campaign\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Trigger immediate delivery of a campaign to all recipients.\n       *\n       * @param id - The unique identifier of the campaign to send.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link Campaign}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * await admin.campaigns.campaigns.send('camp_abc123');\n       * console.log('Campaign queued for delivery');\n       * ```\n       */\n      send: async (\n        id: string,\n        attributes?: SendCampaignAttributes,\n        options?: RequestOptions,\n      ): Promise<Campaign> => {\n        const { workspace_id, connector_id, connector_type } = attributes ?? {};\n        return rb.execute<Campaign>(\n          postAdminEmailMarketingCampaignsByIdSend,\n          {\n            path: { id },\n            body: {\n              data: {\n                campaign_id: id,\n                workspace_id,\n                connector_id,\n                connector_type,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Request an AI-powered performance analysis of a sent campaign.\n       *\n       * @param id - The unique identifier of the campaign to analyse.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the AI-generated analysis report payload.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const report = await admin.campaigns.campaigns.analyze('camp_abc123');\n       * console.log(report); // AI narrative with metrics breakdown\n       * ```\n       */\n      analyze: async (\n        id: string,\n        attributes?: AnalyzeCampaignAttributes,\n        options?: RequestOptions,\n      ): Promise<CampaignAnalysisResult> => {\n        const { campaign_stats, tracking_summary, recipient_segments } =\n          attributes ?? {};\n        return rb.execute<CampaignAnalysisResult>(\n          postAdminEmailMarketingCampaignsByIdAnalyze,\n          {\n            path: { id },\n            body: {\n              data: {\n                campaign_id: id,\n                campaign_stats,\n                tracking_summary,\n                recipient_segments,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Use AI to determine the optimal send time for a campaign.\n       *\n       * @param id - The unique identifier of the campaign to optimise.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the optimisation result payload.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const result = await admin.campaigns.campaigns.optimizeSendTimes('camp_abc123');\n       * // result contains recommended_send_at and supporting rationale\n       * console.log(result);\n       * ```\n       */\n      optimizeSendTimes: async (\n        id: string,\n        attributes?: OptimizeSendTimesAttributes,\n        options?: RequestOptions,\n      ): Promise<Campaign> => {\n        const { recipient_emails, timezone_data, campaign_stats } =\n          attributes ?? {};\n        return rb.execute<Campaign>(\n          postAdminEmailMarketingCampaignsByIdOptimizeSendTimes,\n          {\n            path: { id },\n            body: { data: { recipient_emails, timezone_data, campaign_stats } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Create a follow-up campaign targeted at non-engaged recipients.\n       *\n       * @param id - The ID of the original campaign to follow up on.\n       * @param attributes - Additional attributes for the follow-up campaign.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created follow-up {@link Campaign}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * // Create a follow-up 3 days after the original send\n       * const followUp = await admin.campaigns.campaigns.createFollowup(\n       *   'camp_abc123',\n       *   {\n       *     subject: 'Did you miss our Spring Sale?',\n       *     scheduled_at: '2026-04-04T09:00:00Z',\n       *   },\n       * );\n       * console.log('Follow-up campaign:', followUp);\n       * ```\n       */\n      createFollowup: async (\n        id: string,\n        attributes: CreateFollowupCampaignAttributes,\n        options?: RequestOptions,\n      ): Promise<Campaign> => {\n        const { name } = attributes;\n        return rb.execute<Campaign>(\n          postAdminEmailMarketingCampaignsByIdCreateFollowup,\n          {\n            path: { id },\n            body: { data: { campaign_id: id, name } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Import recipients from a CSV file stored in platform storage.\n       *\n       * @param id - The campaign ID to import recipients into.\n       * @param attributes - Import configuration including `csv_storage_key` and `workspace_id`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the import job details.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const result = await admin.campaigns.campaigns.importRecipients('camp_abc', {\n       *   csv_storage_key: 'uploads/recipients.csv',\n       *   workspace_id: 'ws_abc123',\n       * });\n       * console.log(result.job_id);\n       * ```\n       */\n      importRecipients: async (\n        id: string,\n        attributes: {\n          csv_storage_key: string;\n          column_mapping?: Record<string, string>;\n          workspace_id: string;\n        },\n        options?: RequestOptions,\n      ): Promise<Record<string, unknown>> => {\n        const { csv_storage_key, column_mapping, workspace_id } = attributes;\n        return rb.execute<Record<string, unknown>>(\n          postAdminEmailMarketingCampaignsByIdImportRecipients,\n          {\n            path: { id },\n            body: {\n              data: {\n                campaign_id: id,\n                csv_storage_key,\n                column_mapping,\n                workspace_id,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Trigger AI-powered email generation for all campaign recipients.\n       *\n       * @param id - The campaign ID to generate emails for.\n       * @param workspaceId - The workspace ID.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the generation job details.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const result = await admin.campaigns.campaigns.generateEmails('camp_abc', 'ws_abc123');\n       * console.log(result.job_id);\n       * ```\n       */\n      generateEmails: async (\n        id: string,\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<Record<string, unknown>> => {\n        return rb.execute<Record<string, unknown>>(\n          postAdminEmailMarketingCampaignsByIdGenerateEmails,\n          {\n            path: { id },\n            body: {\n              data: { campaign_id: id, workspace_id: workspaceId },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Generate A/B test subject line variants using AI.\n       *\n       * @param id - The campaign ID to optimize subjects for.\n       * @param attributes - Subject optimization parameters.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the optimization result with variant suggestions.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const result = await admin.campaigns.campaigns.optimizeSubjects('camp_abc', {\n       *   original_subject: 'Spring Sale!',\n       *   campaign_description: 'Seasonal discount promotion',\n       *   audience_description: 'Existing customers aged 25-45',\n       * });\n       * ```\n       */\n      optimizeSubjects: async (\n        id: string,\n        attributes: OptimizeSubjectsAttributes,\n        options?: RequestOptions,\n      ): Promise<Record<string, unknown>> => {\n        const { original_subject, campaign_description, audience_description } =\n          attributes;\n        return rb.execute<Record<string, unknown>>(\n          postAdminEmailMarketingCampaignsByIdOptimizeSubjects,\n          {\n            path: { id },\n            body: {\n              data: {\n                campaign_id: id,\n                original_subject,\n                campaign_description,\n                audience_description,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Export campaign data (recipients, results, or analytics) as CSV.\n       *\n       * @param id - The campaign ID to export.\n       * @param attributes - Export configuration including `workspace_id`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the export job details.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const result = await admin.campaigns.campaigns.export('camp_abc', {\n       *   workspace_id: 'ws_abc123',\n       *   export_type: 'recipients',\n       * });\n       * console.log(result.job_id);\n       * ```\n       */\n      export: async (\n        id: string,\n        attributes: ExportCampaignAttributes,\n        options?: RequestOptions,\n      ): Promise<Record<string, unknown>> => {\n        const { workspace_id, format, export_type } = attributes;\n        return rb.execute<Record<string, unknown>>(\n          postAdminEmailMarketingCampaignsByIdExport,\n          {\n            path: { id },\n            body: {\n              data: { campaign_id: id, workspace_id, format, export_type },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a campaign.\n       *\n       * @param id - The unique identifier of the campaign to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminEmailMarketingCampaignsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Templates -- reusable MJML-based email layout templates with versioning.\n     *\n     * Templates define the HTML and/or plain-text structure of an email.\n     * They support live MJML compilation, publish/unpublish lifecycle,\n     * archive/restore, rollback, and immutable version snapshots.\n     */\n    templates: {\n      /**\n       * Fetch a single template by its unique ID.\n       *\n       * @param id - The unique identifier of the template to retrieve.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching {@link EmailMarketingTemplate}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingTemplate> => {\n        return rb.execute<EmailMarketingTemplate>(\n          getAdminEmailMarketingTemplatesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List all email templates for a workspace with optional pagination.\n       *\n       * @param workspaceId - The ID of the workspace whose templates to list.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to an array of {@link EmailMarketingTemplate} records.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<EmailMarketingTemplate[]> => {\n        return rb.execute<EmailMarketingTemplate[]>(\n          getAdminEmailMarketingTemplatesWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n\n      /**\n       * Create a new email template.\n       *\n       * @param attributes - Template attributes including `name`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created {@link EmailMarketingTemplate}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const template = await admin.campaigns.templates.create({\n       *   name: \"Welcome Email\",\n       *   body_mjml: \"<mjml>...</mjml>\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingTemplate> => {\n        return rb.execute<EmailMarketingTemplate>(\n          postAdminEmailMarketingTemplates,\n          { body: { data: { type: \"email-marketing-template\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing template's attributes (PATCH semantics).\n       *\n       * @param id - The unique identifier of the template to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link EmailMarketingTemplate}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const updated = await admin.campaigns.templates.update(\"tmpl_123\", { name: \"New Name\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingTemplate> => {\n        return rb.execute<EmailMarketingTemplate>(\n          patchAdminEmailMarketingTemplatesById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"email-marketing-template\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a template.\n       *\n       * @param id - The unique identifier of the template to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminEmailMarketingTemplatesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Publish a template, creating an immutable version snapshot.\n       *\n       * @param id - The unique identifier of the template to publish.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the published {@link EmailMarketingTemplate}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const template = await admin.campaigns.templates.publish(\"tmpl_123\");\n       * console.log(template.current_version); // 1\n       * ```\n       */\n      publish: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingTemplate> => {\n        return rb.execute<EmailMarketingTemplate>(\n          patchAdminEmailMarketingTemplatesByIdPublish,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-marketing-template\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Unpublish a template, reverting it to draft state.\n       *\n       * @param id - The unique identifier of the template to unpublish.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link EmailMarketingTemplate}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * await admin.campaigns.templates.unpublish(\"tmpl_123\");\n       * ```\n       */\n      unpublish: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingTemplate> => {\n        return rb.execute<EmailMarketingTemplate>(\n          patchAdminEmailMarketingTemplatesByIdUnpublish,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-marketing-template\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Archive a template, removing it from active listings.\n       *\n       * @param id - The unique identifier of the template to archive.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the archived {@link EmailMarketingTemplate}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * await admin.campaigns.templates.archive(\"tmpl_123\");\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingTemplate> => {\n        return rb.execute<EmailMarketingTemplate>(\n          patchAdminEmailMarketingTemplatesByIdArchive,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-marketing-template\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Restore an archived template back to active state.\n       *\n       * @param id - The unique identifier of the template to restore.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the restored {@link EmailMarketingTemplate}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * await admin.campaigns.templates.restore(\"tmpl_123\");\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingTemplate> => {\n        return rb.execute<EmailMarketingTemplate>(\n          patchAdminEmailMarketingTemplatesByIdRestore,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-marketing-template\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Roll back a template's MJML source to a previous version.\n       *\n       * Does NOT auto-publish. Call `publish` after reviewing the restored content.\n       *\n       * @param id - The unique identifier of the template to roll back.\n       * @param versionNumber - The version number to restore from.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link EmailMarketingTemplate}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const template = await admin.campaigns.templates.rollback(\"tmpl_123\", 2);\n       * ```\n       */\n      rollback: async (\n        id: string,\n        versionNumber: number,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingTemplate> => {\n        return rb.execute<EmailMarketingTemplate>(\n          patchAdminEmailMarketingTemplatesByIdRollback,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"email-marketing-template\",\n                attributes: { version_number: versionNumber },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Render a saved template with variable overrides for preview.\n       *\n       * @param id - The unique identifier of the template to preview.\n       * @param variables - Key/value map of variable substitutions.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the preview result.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const { preview_html } = await admin.campaigns.templates.preview(\"tmpl_123\", { first_name: \"Jane\" });\n       * ```\n       */\n      preview: async (\n        id: string,\n        variables: Record<string, string>,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingTemplate> => {\n        return rb.execute<EmailMarketingTemplate>(\n          patchAdminEmailMarketingTemplatesByIdPreview,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"email-marketing-template\",\n                attributes: { variables },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Stateless MJML compilation. Does not save. Use for live preview in builder UI.\n       *\n       * @param mjml - Raw MJML source string to compile.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the compilation result including HTML, variables, and errors.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const result = await admin.campaigns.templates.compile(\"<mjml>...</mjml>\");\n       * console.log(result.html, result.variables);\n       * ```\n       */\n      compile: async (\n        mjml: string,\n        options?: RequestOptions,\n      ): Promise<MjmlCompileResult> => {\n        return rb.execute<MjmlCompileResult>(\n          postAdminEmailMarketingTemplatesCompile,\n          {\n            body: {\n              data: { body_mjml: mjml },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * List all version snapshots for a template, ordered by version_number descending.\n       *\n       * @param templateId - The ID of the template whose versions to list.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to an array of {@link EmailTemplateVersion} records.\n       */\n      versions: async (\n        templateId: string,\n        options?: RequestOptions,\n      ): Promise<EmailTemplateVersion[]> => {\n        return rb.execute<EmailTemplateVersion[]>(\n          getAdminEmailTemplateVersionsTemplateByTemplateId,\n          { path: { template_id: templateId } },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a specific template version by template ID and version number.\n       *\n       * @param templateId - The ID of the template.\n       * @param versionNumber - The version number to fetch.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the full {@link EmailTemplateVersion}.\n       */\n      getVersion: async (\n        templateId: string,\n        versionNumber: number,\n        options?: RequestOptions,\n      ): Promise<EmailTemplateVersion> => {\n        return rb.execute<EmailTemplateVersion>(\n          getAdminEmailTemplateVersionsByTemplateIdVersionsByVersionNumber,\n          {\n            path: {\n              template_id: templateId,\n              version_number: versionNumber,\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Generated Emails -- AI-personalised email drafts awaiting human review.\n     *\n     * When a campaign uses AI personalisation, the platform generates an\n     * individual email draft for each recipient. These drafts sit in a review\n     * queue until a human approves or rejects them.\n     */\n    generatedEmails: {\n      /**\n       * Fetch a single AI-generated email draft by its unique ID.\n       *\n       * @param id - The unique identifier of the generated email to retrieve.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching {@link EmailMarketingGeneratedEmail}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingGeneratedEmail> => {\n        return rb.execute<EmailMarketingGeneratedEmail>(\n          getAdminEmailMarketingGeneratedEmailsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Update an AI-generated email draft before approval.\n       *\n       * @param id - The unique identifier of the generated email to update.\n       * @param attributes - Key/value map of attributes to change (e.g. `subject`, `body`).\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link EmailMarketingGeneratedEmail}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const email = await admin.campaigns.generatedEmails.update('gen_abc123', {\n       *   subject: 'Personalised just for you, Jane',\n       *   body_html: '<p>Hi Jane, ...</p>',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateGeneratedEmailAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingGeneratedEmail> => {\n        return rb.execute<EmailMarketingGeneratedEmail>(\n          patchAdminEmailMarketingGeneratedEmailsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"email-marketing-generated-email\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Approve a generated email draft and move it to the sending queue.\n       *\n       * @param id - The unique identifier of the generated email to approve.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link EmailMarketingGeneratedEmail}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const approved = await admin.campaigns.generatedEmails.approve('gen_abc123');\n       * console.log(approved.attributes.status); // 'queued'\n       * ```\n       */\n      approve: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingGeneratedEmail> => {\n        return rb.execute<EmailMarketingGeneratedEmail>(\n          patchAdminEmailMarketingGeneratedEmailsByIdApprove,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-marketing-generated-email\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Reject an AI-generated email draft. The email will not be sent.\n       *\n       * @param id - The unique identifier of the generated email to reject.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link EmailMarketingGeneratedEmail}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const rejected = await admin.campaigns.generatedEmails.reject('gen_abc123');\n       * console.log(rejected.attributes.status); // 'rejected'\n       * ```\n       */\n      reject: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingGeneratedEmail> => {\n        return rb.execute<EmailMarketingGeneratedEmail>(\n          patchAdminEmailMarketingGeneratedEmailsByIdReject,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-marketing-generated-email\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Schedule a generated email for delivery at a specific time.\n       *\n       * @param id - The unique identifier of the generated email to schedule.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link EmailMarketingGeneratedEmail}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const scheduled = await admin.campaigns.generatedEmails.schedule('gen_abc123');\n       * ```\n       */\n      schedule: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingGeneratedEmail> => {\n        return rb.execute<EmailMarketingGeneratedEmail>(\n          patchAdminEmailMarketingGeneratedEmailsByIdSchedule,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-marketing-generated-email\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * List all generated emails for a specific campaign.\n       *\n       * @param campaignId - The ID of the campaign whose generated emails to list.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise resolving to an array of {@link EmailMarketingGeneratedEmail}.\n       */\n      listByCampaign: async (\n        campaignId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<EmailMarketingGeneratedEmail[]> => {\n        return rb.execute<EmailMarketingGeneratedEmail[]>(\n          getAdminEmailMarketingGeneratedEmailsCampaignByCampaignId,\n          {\n            path: { campaign_id: campaignId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Sequences -- multi-step drip campaign automation.\n     *\n     * A sequence is a timed series of emails automatically sent to enrolled\n     * contacts over days or weeks. Each step in the sequence has a delay and\n     * references a template or inline content.\n     */\n    sequences: {\n      /**\n       * Fetch a single sequence by its unique ID.\n       *\n       * @param id - The unique identifier of the sequence to retrieve.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching {@link EmailMarketingSequence}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSequence> => {\n        return rb.execute<EmailMarketingSequence>(\n          getAdminCampaignsSequencesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new email sequence.\n       *\n       * @param attributes - Sequence attributes including `workspace_id` and `name`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created {@link EmailMarketingSequence}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const sequence = await admin.campaigns.sequences.create({\n       *   workspace_id: 'ws_abc123',\n       *   name: 'New User Onboarding',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateSequenceAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSequence> => {\n        return rb.execute<EmailMarketingSequence>(\n          postAdminCampaignsSequences,\n          { body: { data: { type: \"email-marketing-sequence\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing sequence's attributes (PATCH semantics).\n       *\n       * @param id - The unique identifier of the sequence to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link EmailMarketingSequence}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const updated = await admin.campaigns.sequences.update('seq_abc', { name: 'Revised Drip' });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateSequenceAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSequence> => {\n        return rb.execute<EmailMarketingSequence>(\n          patchAdminCampaignsSequencesById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"email-marketing-sequence\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * List all sequences for a workspace with optional pagination.\n       *\n       * @param workspaceId - The ID of the workspace whose sequences to list.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to an array of {@link EmailMarketingSequence} records.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<EmailMarketingSequence[]> => {\n        return rb.execute<EmailMarketingSequence[]>(\n          getAdminCampaignsSequencesWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a sequence.\n       *\n       * @param id - The unique identifier of the sequence to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminCampaignsSequencesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Activate a sequence to start delivering emails to enrolled contacts.\n       *\n       * @param id - The unique identifier of the sequence to activate.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link EmailMarketingSequence}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const active = await admin.campaigns.sequences.activate('seq_abc123');\n       * console.log(active.attributes.status); // 'active'\n       * ```\n       */\n      activate: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSequence> => {\n        return rb.execute<EmailMarketingSequence>(\n          patchAdminCampaignsSequencesByIdActivate,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-marketing-sequence\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Pause a running sequence, suspending all pending deliveries.\n       *\n       * @param id - The unique identifier of the sequence to pause.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link EmailMarketingSequence}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const paused = await admin.campaigns.sequences.pause('seq_abc123');\n       * console.log(paused.attributes.status); // 'paused'\n       * ```\n       */\n      pause: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSequence> => {\n        return rb.execute<EmailMarketingSequence>(\n          patchAdminCampaignsSequencesByIdPause,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-marketing-sequence\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Mark a sequence as complete, finalizing all deliveries.\n       *\n       * @param id - The unique identifier of the sequence to complete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link EmailMarketingSequence}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const completed = await admin.campaigns.sequences.complete('seq_abc123');\n       * ```\n       */\n      complete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSequence> => {\n        return rb.execute<EmailMarketingSequence>(\n          patchAdminCampaignsSequencesByIdComplete,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-marketing-sequence\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Resume a paused sequence from where it left off.\n       *\n       * @param id - The unique identifier of the sequence to resume.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link EmailMarketingSequence}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const sequence = await admin.campaigns.sequences.resume('seq_abc123');\n       * console.log(sequence); // sequence with status: 'active'\n       * ```\n       */\n      resume: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSequence> => {\n        return rb.execute<EmailMarketingSequence>(\n          patchAdminCampaignsSequencesByIdResume,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-marketing-sequence\" } },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Recipients -- campaign audience members.\n     *\n     * Each recipient represents one email address on a campaign's send list,\n     * with optional merge fields for personalisation.\n     */\n    recipients: {\n      /**\n       * Fetch a single recipient by its unique ID.\n       *\n       * @param id - The unique identifier of the recipient.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the {@link EmailMarketingRecipient}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingRecipient> => {\n        return rb.execute<EmailMarketingRecipient>(\n          getAdminCampaignsRecipientsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List all recipients for a specific campaign.\n       *\n       * @param campaignId - The ID of the campaign whose recipients to list.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise resolving to an array of {@link EmailMarketingRecipient} records.\n       */\n      listByCampaign: async (\n        campaignId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<EmailMarketingRecipient[]> => {\n        return rb.execute<EmailMarketingRecipient[]>(\n          getAdminCampaignsRecipientsCampaignByCampaignId,\n          {\n            path: { campaign_id: campaignId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Sequence Steps -- individual steps within a drip sequence.\n     *\n     * Each step defines a timed email delivery within a sequence, with a\n     * delay offset and template or inline content.\n     */\n    sequenceSteps: {\n      /**\n       * Fetch a single sequence step by its unique ID.\n       *\n       * @param id - The unique identifier of the sequence step.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the {@link EmailMarketingSequenceStep}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSequenceStep> => {\n        return rb.execute<EmailMarketingSequenceStep>(\n          getAdminCampaignsSequenceStepsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new step within a sequence.\n       *\n       * @param attributes - Step attributes including `sequence_id`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the newly created {@link EmailMarketingSequenceStep}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const step = await admin.campaigns.sequenceSteps.create({\n       *   sequence_id: 'seq_abc123',\n       *   delay_days: 3,\n       *   template_id: 'tmpl_reminder',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateSequenceStepAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSequenceStep> => {\n        return rb.execute<EmailMarketingSequenceStep>(\n          postAdminCampaignsSequenceSteps,\n          {\n            body: {\n              data: {\n                type: \"email-marketing-sequence-step\",\n                attributes,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing sequence step's attributes (PATCH semantics).\n       *\n       * @param id - The unique identifier of the sequence step to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the updated {@link EmailMarketingSequenceStep}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const step = await admin.campaigns.sequenceSteps.update('step_abc123', {\n       *   delay_days: 5,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateSequenceStepAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSequenceStep> => {\n        return rb.execute<EmailMarketingSequenceStep>(\n          patchAdminCampaignsSequenceStepsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"email-marketing-sequence-step\",\n                attributes,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a sequence step.\n       *\n       * @param id - The unique identifier of the sequence step to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminCampaignsSequenceStepsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List all steps in a specific sequence.\n       *\n       * @param sequenceId - The ID of the sequence whose steps to list.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise resolving to an array of {@link EmailMarketingSequenceStep} records.\n       */\n      listBySequence: async (\n        sequenceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<EmailMarketingSequenceStep[]> => {\n        return rb.execute<EmailMarketingSequenceStep[]>(\n          getAdminCampaignsSequenceStepsSequenceBySequenceId,\n          {\n            path: { sequence_id: sequenceId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Social Campaigns -- AI-powered social media campaign management.\n     *\n     * A social campaign takes a content brief, generates master copy via AI,\n     * adapts it for each target platform (Facebook, Instagram, LinkedIn, etc.)\n     * with appropriate tone and constraints, and creates individual SocialPost\n     * records for scheduling and publishing.\n     */\n    socialCampaigns: {\n      /**\n       * Fetch a single social campaign by its unique ID.\n       *\n       * @param id - The unique identifier of the social campaign to retrieve.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching {@link SocialCampaign}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SocialCampaign> => {\n        return rb.execute<SocialCampaign>(\n          getAdminSocialCampaignsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List all social campaigns with optional pagination.\n       *\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to an array of {@link SocialCampaign} records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<SocialCampaign[]> => {\n        return rb.execute<SocialCampaign[]>(\n          getAdminSocialCampaigns,\n          {\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n\n      /**\n       * Create a new social campaign.\n       *\n       * The campaign starts in `draft` status. Use {@link generateMasterCopy}\n       * to produce AI-generated content from the content brief, then\n       * {@link adaptForPlatforms} to create platform-specific posts.\n       *\n       * @param attributes - Social campaign attributes including `name`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created {@link SocialCampaign}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const campaign = await admin.campaigns.socialCampaigns.create({\n       *   name: 'Product Launch',\n       *   content_brief: 'Exciting new features for Q2',\n       *   target_platforms: ['instagram', 'linkedin'],\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateSocialCampaignAttributes,\n        options?: RequestOptions,\n      ): Promise<SocialCampaign> => {\n        return rb.execute<SocialCampaign>(\n          postAdminSocialCampaigns,\n          { body: { data: { type: \"social-campaign\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing social campaign's attributes (PATCH semantics).\n       *\n       * @param id - The unique identifier of the social campaign to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link SocialCampaign}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const updated = await admin.campaigns.socialCampaigns.update('sc_abc123', {\n       *   content_brief: 'Updated brief with new messaging',\n       *   target_platforms: ['instagram', 'linkedin', 'twitter'],\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateSocialCampaignAttributes,\n        options?: RequestOptions,\n      ): Promise<SocialCampaign> => {\n        return rb.execute<SocialCampaign>(\n          patchAdminSocialCampaignsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"social-campaign\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a social campaign.\n       *\n       * @param id - The unique identifier of the social campaign to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminSocialCampaignsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Schedule a social campaign for future publishing.\n       *\n       * Transitions the campaign to `scheduled` status with the given timestamp.\n       *\n       * @param id - The unique identifier of the social campaign to schedule.\n       * @param attributes - Must include `scheduled_at` (ISO 8601 datetime).\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link SocialCampaign}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const scheduled = await admin.campaigns.socialCampaigns.schedule('sc_abc123', {\n       *   scheduled_at: '2026-04-01T09:00:00Z',\n       * });\n       * ```\n       */\n      schedule: async (\n        id: string,\n        attributes: ScheduleSocialCampaignAttributes,\n        options?: RequestOptions,\n      ): Promise<SocialCampaign> => {\n        return rb.execute<SocialCampaign>(\n          patchAdminSocialCampaignsByIdSchedule,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"social-campaign\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Cancel a social campaign.\n       *\n       * Only campaigns in `draft`, `generating`, `review`, or `scheduled`\n       * status can be cancelled.\n       *\n       * @param id - The unique identifier of the social campaign to cancel.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated {@link SocialCampaign}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const cancelled = await admin.campaigns.socialCampaigns.cancel('sc_abc123');\n       * console.log(cancelled.attributes.status); // 'cancelled'\n       * ```\n       */\n      cancel: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SocialCampaign> => {\n        return rb.execute<SocialCampaign>(\n          patchAdminSocialCampaignsByIdCancel,\n          {\n            path: { id },\n            body: { data: { id, type: \"social-campaign\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Generate master copy from the campaign's content brief using AI.\n       *\n       * Transitions the campaign to `review` status on success. The generated\n       * master copy is stored on the campaign and can then be adapted for\n       * individual platforms via {@link adaptForPlatforms}.\n       *\n       * @param id - The unique identifier of the social campaign.\n       * @param attributes - Must include `campaign_id` and `workspace_id`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the generation result including master copy text.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const result = await admin.campaigns.socialCampaigns.generateMasterCopy('sc_abc', {\n       *   campaign_id: 'sc_abc',\n       *   workspace_id: 'ws_abc123',\n       * });\n       * console.log(result.master_copy);\n       * ```\n       */\n      generateMasterCopy: async (\n        id: string,\n        attributes: GenerateMasterCopyAttributes,\n        options?: RequestOptions,\n      ): Promise<Record<string, unknown>> => {\n        const { campaign_id, workspace_id } = attributes;\n        return rb.execute<Record<string, unknown>>(\n          postAdminSocialCampaignsByIdGenerateMasterCopy,\n          { path: { id }, body: { data: { campaign_id, workspace_id } } },\n          options,\n        );\n      },\n\n      /**\n       * Adapt the campaign's master copy for each target platform.\n       *\n       * Creates individual SocialPost draft records for each platform with\n       * platform-appropriate tone, length, and formatting.\n       *\n       * @param id - The unique identifier of the social campaign.\n       * @param attributes - Must include `campaign_id`, `workspace_id`, and `social_account_id`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the adaptation result with post creation counts.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const result = await admin.campaigns.socialCampaigns.adaptForPlatforms('sc_abc', {\n       *   campaign_id: 'sc_abc',\n       *   workspace_id: 'ws_abc123',\n       *   social_account_id: 'sa_xyz',\n       * });\n       * console.log(result.posts_created, result.failures);\n       * ```\n       */\n      adaptForPlatforms: async (\n        id: string,\n        attributes: AdaptForPlatformsAttributes,\n        options?: RequestOptions,\n      ): Promise<Record<string, unknown>> => {\n        const { campaign_id, workspace_id, social_account_id } = attributes;\n        return rb.execute<Record<string, unknown>>(\n          postAdminSocialCampaignsByIdAdaptForPlatforms,\n          {\n            path: { id },\n            body: { data: { campaign_id, workspace_id, social_account_id } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Preview adapted copy for each target platform without creating posts.\n       *\n       * Useful for reviewing AI-generated adaptations before committing them\n       * as SocialPost records.\n       *\n       * @param id - The unique identifier of the social campaign.\n       * @param attributes - Must include `campaign_id` and `workspace_id`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to preview adaptations per platform.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const result = await admin.campaigns.socialCampaigns.previewAdaptations('sc_abc', {\n       *   campaign_id: 'sc_abc',\n       *   workspace_id: 'ws_abc123',\n       * });\n       * console.log(result.adaptations); // [{platform: 'instagram', content: '...'}, ...]\n       * ```\n       */\n      previewAdaptations: async (\n        id: string,\n        attributes: PreviewAdaptationsAttributes,\n        options?: RequestOptions,\n      ): Promise<Record<string, unknown>> => {\n        const { campaign_id, workspace_id } = attributes;\n        return rb.execute<Record<string, unknown>>(\n          postAdminSocialCampaignsByIdPreviewAdaptations,\n          { path: { id }, body: { data: { campaign_id, workspace_id } } },\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport {\n  // Outbound emails\n  getAdminEmailOutboundEmailsById,\n  getAdminEmailOutboundEmailsWorkspaceByWorkspaceId,\n  getAdminEmailOutboundEmailsWorkspaceByWorkspaceIdContactByContactRefId,\n  postAdminEmailOutboundEmails,\n  postAdminEmailOutboundEmailsComposeWithAi,\n  patchAdminEmailOutboundEmailsById,\n  deleteAdminEmailOutboundEmailsById,\n  patchAdminEmailOutboundEmailsByIdSend,\n  patchAdminEmailOutboundEmailsByIdSchedule,\n  patchAdminEmailOutboundEmailsByIdCancelSchedule,\n  // Sender profiles\n  getAdminEmailMarketingSenderProfilesById,\n  getAdminEmailMarketingSenderProfilesWorkspaceByWorkspaceId,\n  postAdminEmailMarketingSenderProfiles,\n  patchAdminEmailMarketingSenderProfilesById,\n  deleteAdminEmailMarketingSenderProfilesById,\n  patchAdminEmailMarketingSenderProfilesByIdValidateDns,\n  patchAdminEmailMarketingSenderProfilesByIdSetDefault,\n  // Tracking events\n  getAdminEmailTrackingEventsById,\n  getAdminEmailTrackingEventsWorkspaceByWorkspaceId,\n  // Unsubscribers\n  getAdminEmailMarketingUnsubscribersById,\n  getAdminEmailMarketingUnsubscribersWorkspaceByWorkspaceId,\n  // Recipients\n  getAdminEmailRecipientsById,\n  getAdminEmailRecipientsEmailByOutboundEmailId,\n  postAdminEmailRecipients,\n  deleteAdminEmailRecipientsById,\n  // Inclusions\n  getAdminEmailInclusionsById,\n  getAdminEmailInclusionsEmailByOutboundEmailId,\n  postAdminEmailInclusions,\n  patchAdminEmailInclusionsById,\n  deleteAdminEmailInclusionsById,\n  // Inbound addresses\n  getAdminEmailInboundAddressesById,\n  getAdminEmailInboundAddressesWorkspaceByWorkspaceId,\n  postAdminEmailInboundAddresses,\n  patchAdminEmailInboundAddressesById,\n  deleteAdminEmailInboundAddressesById,\n  patchAdminEmailInboundAddressesByIdRotateToken,\n  patchAdminEmailInboundAddressesByIdDisable,\n  patchAdminEmailInboundAddressesByIdEnable,\n  // Inbound received\n  getAdminEmailInboundReceivedById,\n  getAdminEmailInboundReceivedWorkspaceByWorkspaceId,\n  getAdminEmailInboundReceivedAddressByInboundAddressId,\n  // Send limits\n  getAdminEmailSendLimitsById,\n  getAdminEmailSendLimitsWorkspaceByWorkspaceId,\n} from \"../_internal/sdk.gen\";\nimport type {\n  EmailOutboundEmail,\n  EmailMarketingSenderProfile,\n  EmailTrackingEvent,\n  EmailUnsubscriber,\n  EmailRecipient,\n  EmailInclusion,\n  EmailInboundAddress,\n  EmailInboundEmail,\n} from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { buildPageQuery } from \"../namespace-types\";\nimport { RequestBuilder } from \"../request-builder\";\n\n// ---------------------------------------------------------------------------\n// Shared value types\n// ---------------------------------------------------------------------------\n\n/** Context reference type — links an email to a domain entity for history tracking. */\nexport type ContextRefType = \"custom\" | \"deal\" | \"session\" | \"ticket\";\n\n/** Inclusion content category. */\nexport type InclusionType =\n  | \"chart\"\n  | \"custom\"\n  | \"goal\"\n  | \"metric\"\n  | \"resource\"\n  | \"supplement\";\n\n/** Recipient role on an outbound email. */\nexport type RecipientType = \"to\" | \"cc\" | \"bcc\";\n\n/** Inbound email routing target. */\nexport type InboundRoutingTarget = \"extraction\" | \"agent\" | \"invoices\" | \"crm\";\n\n/**\n * A file attachment on an outbound email.\n *\n * Upload the file to platform storage first, then reference its\n * `storage_key` here. Maximum 10 attachments per email.\n */\nexport interface EmailAttachment {\n  /** Platform storage key returned by the upload API. */\n  storage_key: string;\n  /** Display filename shown to the recipient. */\n  filename: string;\n  /** MIME type (e.g. `\"application/pdf\"`). */\n  content_type: string;\n}\n\n// ---------------------------------------------------------------------------\n// Outbound email types\n// ---------------------------------------------------------------------------\n\n/** Daily send quota record for a workspace. */\nexport interface EmailSendLimit {\n  id: string;\n  date: string;\n  workspace_id: string;\n  limit_with_unsubscribe: number;\n  limit_without_unsubscribe: number;\n  sent_with_unsubscribe: number;\n  sent_without_unsubscribe: number;\n  remaining_with_unsubscribe?: number;\n  remaining_without_unsubscribe?: number;\n  inserted_at: string;\n  updated_at: string;\n}\n\n/**\n * Attributes for creating an outbound email draft.\n *\n * Workspace is resolved from the authenticated actor — do not pass\n * `workspace_id`.\n */\nexport interface CreateOutboundEmailAttributes {\n  /** Email subject line. Required. */\n  subject: string;\n  /** HTML body content. */\n  body_html?: string;\n  /** Plain-text body (fallback for non-HTML clients). */\n  body_text?: string;\n  /** Sender profile to use. Falls back to workspace default if omitted. */\n  sender_profile_id?: string;\n  /** CRM contact reference for tracking. */\n  contact_ref_id?: string;\n  /** ID of the linked domain entity. */\n  context_ref_id?: string;\n  /** Type of the linked domain entity. */\n  context_ref_type?: ContextRefType;\n  /** Append a CAN-SPAM unsubscribe link to the email footer. */\n  include_unsubscribe_link?: boolean;\n  /** File attachments (max 10). */\n  attachments?: EmailAttachment[];\n}\n\n/**\n * Attributes for updating an outbound email (PATCH semantics).\n *\n * Only emails in `draft` status can be updated.\n */\nexport interface UpdateOutboundEmailAttributes {\n  /** Updated subject line. */\n  subject?: string;\n  /** Updated HTML body. */\n  body_html?: string;\n  /** Updated plain-text body. */\n  body_text?: string;\n  /** Change the sender profile. */\n  sender_profile_id?: string;\n  /** Toggle unsubscribe link. */\n  include_unsubscribe_link?: boolean;\n  /** Replace the attachment list. */\n  attachments?: EmailAttachment[];\n}\n\n// ---------------------------------------------------------------------------\n// Sender profile types\n// ---------------------------------------------------------------------------\n\n/**\n * Attributes for creating a sender profile.\n *\n * Workspace is resolved from the authenticated actor — do not pass\n * `workspace_id`.\n */\nexport interface CreateSenderProfileAttributes {\n  /** Sender email address. Must be unique per workspace. */\n  email: string;\n  /** Display name shown in the From header. */\n  name: string;\n  /** Physical mailing address (CAN-SPAM compliance). */\n  address?: string;\n  /** Company name for the email footer. */\n  company?: string;\n  /** Set as the workspace default on creation. */\n  is_default?: boolean;\n  /** Contact phone number. */\n  phone?: string;\n  /** HTML signature block. */\n  signature?: string;\n}\n\n/** Attributes for updating a sender profile (PATCH semantics). */\nexport interface UpdateSenderProfileAttributes {\n  /** Updated display name. */\n  name?: string;\n  /** Updated mailing address. */\n  address?: string;\n  /** Updated company name. */\n  company?: string;\n  /** DKIM selector override. */\n  dkim_selector?: string;\n  /** Change default status. */\n  is_default?: boolean;\n  /** Updated phone number. */\n  phone?: string;\n  /** Updated HTML signature. */\n  signature?: string;\n}\n\n// ---------------------------------------------------------------------------\n// Recipient types\n// ---------------------------------------------------------------------------\n\n/** Attributes for adding a recipient to an outbound email. */\nexport interface CreateRecipientAttributes {\n  /** ID of the outbound email. */\n  outbound_email_id: string;\n  /** Recipient email address. */\n  email: string;\n  /** Recipient display name. */\n  name?: string;\n  /** Role: primary (`to`), carbon copy (`cc`), or blind copy (`bcc`). */\n  recipient_type?: RecipientType;\n}\n\n// ---------------------------------------------------------------------------\n// Inclusion types\n// ---------------------------------------------------------------------------\n\n/** Attributes for attaching a structured data inclusion to a draft email. */\nexport interface CreateInclusionAttributes {\n  /** ID of the outbound email. */\n  outbound_email_id: string;\n  /** Content category. */\n  inclusion_type: InclusionType;\n  /** Platform object ID referenced by this inclusion. */\n  ref_id?: string;\n  /** Display title. */\n  title?: string;\n  /** Structured payload (shape depends on `inclusion_type`). */\n  data?: Record<string, unknown>;\n  /** Ordering position (0-indexed). */\n  position?: number;\n}\n\n/** Attributes for updating an inclusion (PATCH semantics). */\nexport interface UpdateInclusionAttributes {\n  /** Updated display title. */\n  title?: string;\n  /** Pre-rendered HTML. */\n  rendered_html?: string;\n  /** Updated structured payload. */\n  data?: Record<string, unknown>;\n  /** Updated ordering position. */\n  position?: number;\n}\n\n// ---------------------------------------------------------------------------\n// Inbound address types\n// ---------------------------------------------------------------------------\n\n/**\n * Attributes for creating an inbound address.\n *\n * Unlike outbound resources, `workspace_id` is an explicit argument here.\n */\nexport interface CreateInboundAddressAttributes {\n  /** Workspace to create the address in. */\n  workspace_id: string;\n  /** Human-readable label. */\n  name: string;\n  /** Where received emails are routed. */\n  routing_target: InboundRoutingTarget;\n  /** Routing-target-specific configuration. */\n  handler_config?: Record<string, unknown>;\n  /** Max attachment size in MB (1–100, default 25). */\n  max_attachment_size_mb?: number;\n  /** Restrict accepted MIME types. `null` allows all. */\n  allowed_mime_types?: string[] | null;\n  /** Max emails per day (1–10,000, default 100). */\n  daily_receive_limit?: number;\n}\n\n/** Attributes for updating an inbound address (PATCH semantics). */\nexport interface UpdateInboundAddressAttributes {\n  /** Updated label. */\n  name?: string;\n  /** Change routing target. */\n  routing_target?: InboundRoutingTarget;\n  /** Updated routing configuration. */\n  handler_config?: Record<string, unknown>;\n  /** Updated max attachment size in MB. */\n  max_attachment_size_mb?: number;\n  /** Updated MIME type restrictions. */\n  allowed_mime_types?: string[] | null;\n  /** Updated daily receive limit. */\n  daily_receive_limit?: number;\n}\n\n// ---------------------------------------------------------------------------\n// AI composition types\n// ---------------------------------------------------------------------------\n\n/**\n * Parameters for AI-assisted email composition.\n *\n * Workspace is resolved from the authenticated actor — do not pass it.\n */\nexport interface ComposeWithAiAttributes {\n  /** Email addresses of primary recipients. */\n  to: string[];\n  /** AI drafting instructions. */\n  prompt: string;\n  /** Structured context data passed to the AI. */\n  context?: Record<string, unknown>;\n  /** Sender profile ID — uses workspace default if omitted. */\n  sender_profile_id?: string;\n  /** CRM contact reference. */\n  contact_ref_id?: string;\n  /** Link the composed email to a domain entity. */\n  context_ref_type?: ContextRefType;\n  /** ID of the linked domain entity. */\n  context_ref_id?: string;\n  /** Include a CAN-SPAM unsubscribe link. */\n  include_unsubscribe_link?: boolean;\n}\n\n// ---------------------------------------------------------------------------\n// Namespace factory\n// ---------------------------------------------------------------------------\n\n/**\n * Admin-level email namespace — full cross-workspace email management.\n *\n * Provides ISV administrators with complete outbound email lifecycle,\n * sender profile management, recipient/inclusion CRUD, inbound address\n * routing, and tracking event visibility across all workspaces.\n */\nexport function createEmailNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Outbound Emails — full lifecycle management.\n     */\n    outboundEmails: {\n      /**\n       * Get an outbound email by ID.\n       *\n       * @param id - The outbound email ID.\n       * @param options - Optional request-level overrides.\n       * @returns The requested {@link EmailOutboundEmail}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailOutboundEmail> => {\n        return rb.execute<EmailOutboundEmail>(\n          getAdminEmailOutboundEmailsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List outbound emails for a workspace.\n       *\n       * @param workspaceId - The workspace ID.\n       * @param options - Pagination and request-level overrides.\n       * @returns An array of {@link EmailOutboundEmail} records.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<EmailOutboundEmail[]> => {\n        return rb.execute<EmailOutboundEmail[]>(\n          getAdminEmailOutboundEmailsWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n\n      /**\n       * List emails sent to a specific contact within a workspace.\n       *\n       * @param workspaceId - The workspace ID.\n       * @param contactRefId - The CRM contact reference ID.\n       * @param options - Pagination and request-level overrides.\n       * @returns An array of {@link EmailOutboundEmail} records.\n       */\n      listByContact: async (\n        workspaceId: string,\n        contactRefId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<EmailOutboundEmail[]> => {\n        return rb.execute<EmailOutboundEmail[]>(\n          getAdminEmailOutboundEmailsWorkspaceByWorkspaceIdContactByContactRefId,\n          {\n            path: { workspace_id: workspaceId, contact_ref_id: contactRefId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n\n      /**\n       * Create an outbound email draft.\n       *\n       * Workspace is resolved from the authenticated actor.\n       *\n       * @param attributes - Email attributes. `subject` is required.\n       * @param options - Optional request-level overrides.\n       * @returns The newly created {@link EmailOutboundEmail} draft.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * const draft = await admin.email.outboundEmails.create({\n       *   subject: 'Admin notification',\n       *   body_html: '<p>Hello</p>',\n       *   sender_profile_id: 'sp_noreply',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateOutboundEmailAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailOutboundEmail> => {\n        return rb.execute<EmailOutboundEmail>(\n          postAdminEmailOutboundEmails,\n          { body: { data: { type: \"email-outbound-email\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * AI-draft an email from a prompt and structured context.\n       *\n       * @param attributes - AI composition parameters. `to` and `prompt` are required.\n       * @param options - Optional request-level overrides.\n       * @returns The AI-generated {@link EmailOutboundEmail} draft.\n       */\n      composeWithAi: async (\n        attributes: ComposeWithAiAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailOutboundEmail> => {\n        return rb.execute<EmailOutboundEmail>(\n          postAdminEmailOutboundEmailsComposeWithAi,\n          { body: { data: { type: \"email-outbound-email\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update a draft outbound email (PATCH semantics).\n       *\n       * Only emails in `draft` status can be updated.\n       *\n       * @param id - The outbound email ID.\n       * @param attributes - Fields to update.\n       * @param options - Optional request-level overrides.\n       * @returns The updated {@link EmailOutboundEmail}.\n       */\n      update: async (\n        id: string,\n        attributes: UpdateOutboundEmailAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailOutboundEmail> => {\n        return rb.execute<EmailOutboundEmail>(\n          patchAdminEmailOutboundEmailsById,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-outbound-email\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a draft outbound email.\n       *\n       * @param id - The outbound email ID.\n       * @param options - Optional request-level overrides.\n       * @returns `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminEmailOutboundEmailsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Send a draft email immediately.\n       *\n       * @param id - The outbound email ID.\n       * @param options - Optional request-level overrides.\n       * @returns The email in `ready` status.\n       */\n      send: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailOutboundEmail> => {\n        return rb.execute<EmailOutboundEmail>(\n          patchAdminEmailOutboundEmailsByIdSend,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-outbound-email\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Schedule a draft for future delivery.\n       *\n       * @param id - The outbound email ID.\n       * @param attributes - Must include `scheduled_for` as ISO 8601 datetime.\n       * @param options - Optional request-level overrides.\n       * @returns The email in `scheduled` status.\n       */\n      schedule: async (\n        id: string,\n        attributes: { scheduled_for: string },\n        options?: RequestOptions,\n      ): Promise<EmailOutboundEmail> => {\n        return rb.execute<EmailOutboundEmail>(\n          patchAdminEmailOutboundEmailsByIdSchedule,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-outbound-email\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Cancel a scheduled email (returns to `draft` status).\n       *\n       * @param id - The outbound email ID.\n       * @param options - Optional request-level overrides.\n       * @returns The email back in `draft` status.\n       */\n      cancelSchedule: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailOutboundEmail> => {\n        return rb.execute<EmailOutboundEmail>(\n          patchAdminEmailOutboundEmailsByIdCancelSchedule,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-outbound-email\" } },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Sender Profiles — verified from-address identities.\n     */\n    senderProfiles: {\n      /**\n       * Get a sender profile by ID.\n       *\n       * @param id - The sender profile ID.\n       * @param options - Optional request-level overrides.\n       * @returns The requested {@link EmailMarketingSenderProfile}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSenderProfile> => {\n        return rb.execute<EmailMarketingSenderProfile>(\n          getAdminEmailMarketingSenderProfilesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List sender profiles for a workspace.\n       *\n       * @param workspaceId - The workspace ID.\n       * @param options - Pagination and request-level overrides.\n       * @returns An array of {@link EmailMarketingSenderProfile} records.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<EmailMarketingSenderProfile[]> => {\n        return rb.execute<EmailMarketingSenderProfile[]>(\n          getAdminEmailMarketingSenderProfilesWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n\n      /**\n       * Create a new sender profile.\n       *\n       * Workspace is resolved from the authenticated actor.\n       *\n       * @param attributes - Profile attributes. `email` and `name` are required.\n       * @param options - Optional request-level overrides.\n       * @returns The newly created {@link EmailMarketingSenderProfile}.\n       */\n      create: async (\n        attributes: CreateSenderProfileAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSenderProfile> => {\n        return rb.execute<EmailMarketingSenderProfile>(\n          postAdminEmailMarketingSenderProfiles,\n          {\n            body: {\n              data: { type: \"email-marketing-sender-profile\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update a sender profile (PATCH semantics).\n       *\n       * @param id - The sender profile ID.\n       * @param attributes - Fields to update.\n       * @param options - Optional request-level overrides.\n       * @returns The updated {@link EmailMarketingSenderProfile}.\n       */\n      update: async (\n        id: string,\n        attributes: UpdateSenderProfileAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSenderProfile> => {\n        return rb.execute<EmailMarketingSenderProfile>(\n          patchAdminEmailMarketingSenderProfilesById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"email-marketing-sender-profile\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a sender profile.\n       *\n       * @param id - The sender profile ID.\n       * @param options - Optional request-level overrides.\n       * @returns `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminEmailMarketingSenderProfilesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Trigger DNS validation (SPF/DKIM/DMARC).\n       *\n       * @param id - The sender profile ID.\n       * @param options - Optional request-level overrides.\n       * @returns The profile (DNS status may still be pending).\n       */\n      validateDns: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSenderProfile> => {\n        return rb.execute<EmailMarketingSenderProfile>(\n          patchAdminEmailMarketingSenderProfilesByIdValidateDns,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-marketing-sender-profile\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Set a sender profile as the workspace default.\n       *\n       * @param id - The sender profile ID.\n       * @param options - Optional request-level overrides.\n       * @returns The profile with `is_default` set to `true`.\n       */\n      setDefault: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailMarketingSenderProfile> => {\n        return rb.execute<EmailMarketingSenderProfile>(\n          patchAdminEmailMarketingSenderProfilesByIdSetDefault,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-marketing-sender-profile\" } },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Recipients — to/cc/bcc addresses on an outbound email.\n     */\n    recipients: {\n      /**\n       * Get a recipient by ID.\n       *\n       * @param id - The recipient record ID.\n       * @param options - Optional request-level overrides.\n       * @returns The requested {@link EmailRecipient}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailRecipient> => {\n        return rb.execute<EmailRecipient>(\n          getAdminEmailRecipientsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Add a recipient to an outbound email.\n       *\n       * @param attributes - Recipient details. `outbound_email_id` and `email` are required.\n       * @param options - Optional request-level overrides.\n       * @returns The newly created {@link EmailRecipient}.\n       */\n      create: async (\n        attributes: CreateRecipientAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailRecipient> => {\n        return rb.execute<EmailRecipient>(\n          postAdminEmailRecipients,\n          { body: { data: { type: \"email-recipient\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Remove a recipient from an outbound email.\n       *\n       * @param id - The recipient record ID.\n       * @param options - Optional request-level overrides.\n       * @returns `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminEmailRecipientsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List all recipients for an outbound email.\n       *\n       * @param outboundEmailId - The outbound email ID.\n       * @param options - Optional request-level overrides.\n       * @returns An array of {@link EmailRecipient} records.\n       */\n      listByEmail: async (\n        outboundEmailId: string,\n        options?: RequestOptions,\n      ): Promise<EmailRecipient[]> => {\n        return rb.execute<EmailRecipient[]>(\n          getAdminEmailRecipientsEmailByOutboundEmailId,\n          { path: { outbound_email_id: outboundEmailId } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Inclusions — structured data embedded in email bodies.\n     */\n    inclusions: {\n      /**\n       * Get an inclusion by ID.\n       *\n       * @param id - The inclusion ID.\n       * @param options - Optional request-level overrides.\n       * @returns The requested {@link EmailInclusion}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailInclusion> => {\n        return rb.execute<EmailInclusion>(\n          getAdminEmailInclusionsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Attach a structured data inclusion to a draft email.\n       *\n       * @param attributes - Inclusion details. `outbound_email_id` and `inclusion_type` are required.\n       * @param options - Optional request-level overrides.\n       * @returns The newly created {@link EmailInclusion}.\n       */\n      create: async (\n        attributes: CreateInclusionAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailInclusion> => {\n        return rb.execute<EmailInclusion>(\n          postAdminEmailInclusions,\n          { body: { data: { type: \"email-inclusion\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an inclusion (PATCH semantics).\n       *\n       * @param id - The inclusion ID.\n       * @param attributes - Fields to update.\n       * @param options - Optional request-level overrides.\n       * @returns The updated {@link EmailInclusion}.\n       */\n      update: async (\n        id: string,\n        attributes: UpdateInclusionAttributes,\n        options?: RequestOptions,\n      ): Promise<EmailInclusion> => {\n        return rb.execute<EmailInclusion>(\n          patchAdminEmailInclusionsById,\n          {\n            path: { id },\n            body: { data: { id, type: \"email-inclusion\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Remove an inclusion from a draft email.\n       *\n       * @param id - The inclusion ID.\n       * @param options - Optional request-level overrides.\n       * @returns `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminEmailInclusionsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List all inclusions for an outbound email.\n       *\n       * @param outboundEmailId - The outbound email ID.\n       * @param options - Optional request-level overrides.\n       * @returns An array of {@link EmailInclusion} records.\n       */\n      listByEmail: async (\n        outboundEmailId: string,\n        options?: RequestOptions,\n      ): Promise<EmailInclusion[]> => {\n        return rb.execute<EmailInclusion[]>(\n          getAdminEmailInclusionsEmailByOutboundEmailId,\n          { path: { outbound_email_id: outboundEmailId } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Tracking Events — open/click/bounce event history. Read-only.\n     */\n    trackingEvents: {\n      /**\n       * Get a tracking event by ID.\n       *\n       * @param id - The tracking event ID.\n       * @param options - Optional request-level overrides.\n       * @returns The requested {@link EmailTrackingEvent}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailTrackingEvent> => {\n        return rb.execute<EmailTrackingEvent>(\n          getAdminEmailTrackingEventsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List tracking events for a workspace.\n       *\n       * @param workspaceId - The workspace ID.\n       * @param options - Pagination and request-level overrides.\n       * @returns An array of {@link EmailTrackingEvent} records.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<EmailTrackingEvent[]> => {\n        return rb.execute<EmailTrackingEvent[]>(\n          getAdminEmailTrackingEventsWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Unsubscribers — CAN-SPAM global unsubscribe registry. Read-only.\n     */\n    unsubscribers: {\n      /**\n       * Get an unsubscribe record by ID.\n       *\n       * @param id - The unsubscriber record ID.\n       * @param options - Optional request-level overrides.\n       * @returns The requested {@link EmailUnsubscriber}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailUnsubscriber> => {\n        return rb.execute<EmailUnsubscriber>(\n          getAdminEmailMarketingUnsubscribersById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List unsubscriber records for a workspace.\n       *\n       * @param workspaceId - The workspace ID.\n       * @param options - Pagination and request-level overrides.\n       * @returns An array of {@link EmailUnsubscriber} records.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<EmailUnsubscriber[]> => {\n        return rb.execute<EmailUnsubscriber[]>(\n          getAdminEmailMarketingUnsubscribersWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Send Limits — daily send quota records.\n     */\n    sendLimits: {\n      /**\n       * Get a send limit record by ID.\n       *\n       * @param id - The send limit record ID.\n       * @param options - Optional request-level overrides.\n       * @returns The requested {@link EmailSendLimit} record.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EmailSendLimit> => {\n        return rb.execute<EmailSendLimit>(\n          getAdminEmailSendLimitsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List send limit records for a workspace (historical).\n       *\n       * @param workspaceId - The workspace ID.\n       * @param options - Pagination and request-level overrides.\n       * @returns An array of {@link EmailSendLimit} records.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<EmailSendLimit[]> => {\n        return rb.execute<EmailSendLimit[]>(\n          getAdminEmailSendLimitsWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Inbound Addresses — workspace-scoped email addresses for receiving mail.\n     */\n    inbound: {\n      addresses: {\n        /**\n         * Get an inbound address by ID.\n         *\n         * @param id - The inbound address ID.\n         * @param options - Optional request-level overrides.\n         * @returns The requested {@link EmailInboundAddress}.\n         */\n        get: async (\n          id: string,\n          options?: RequestOptions,\n        ): Promise<EmailInboundAddress> => {\n          return rb.execute<EmailInboundAddress>(\n            getAdminEmailInboundAddressesById,\n            { path: { id } },\n            options,\n          );\n        },\n\n        /**\n         * Create a new inbound address.\n         *\n         * `workspace_id` is an explicit required parameter.\n         *\n         * @param attributes - Address configuration.\n         * @param options - Optional request-level overrides.\n         * @returns The newly created {@link EmailInboundAddress}.\n         */\n        create: async (\n          attributes: CreateInboundAddressAttributes,\n          options?: RequestOptions,\n        ): Promise<EmailInboundAddress> => {\n          return rb.execute<EmailInboundAddress>(\n            postAdminEmailInboundAddresses,\n            {\n              body: {\n                data: { type: \"email-inbound-address\", attributes },\n              },\n            },\n            options,\n          );\n        },\n\n        /**\n         * Update an inbound address (PATCH semantics).\n         *\n         * @param id - The inbound address ID.\n         * @param attributes - Fields to update.\n         * @param options - Optional request-level overrides.\n         * @returns The updated {@link EmailInboundAddress}.\n         */\n        update: async (\n          id: string,\n          attributes: UpdateInboundAddressAttributes,\n          options?: RequestOptions,\n        ): Promise<EmailInboundAddress> => {\n          return rb.execute<EmailInboundAddress>(\n            patchAdminEmailInboundAddressesById,\n            {\n              path: { id },\n              body: {\n                data: { id, type: \"email-inbound-address\", attributes },\n              },\n            },\n            options,\n          );\n        },\n\n        /**\n         * Delete an inbound address.\n         *\n         * @param id - The inbound address ID.\n         * @param options - Optional request-level overrides.\n         * @returns `true` on successful deletion.\n         */\n        delete: async (id: string, options?: RequestOptions): Promise<true> => {\n          return rb.executeDelete(\n            deleteAdminEmailInboundAddressesById,\n            { path: { id } },\n            options,\n          );\n        },\n\n        /**\n         * Rotate the inbound address token (invalidates the old token).\n         *\n         * @param id - The inbound address ID.\n         * @param options - Optional request-level overrides.\n         * @returns The address with the new token.\n         */\n        rotateToken: async (\n          id: string,\n          options?: RequestOptions,\n        ): Promise<EmailInboundAddress> => {\n          return rb.execute<EmailInboundAddress>(\n            patchAdminEmailInboundAddressesByIdRotateToken,\n            {\n              path: { id },\n              body: { data: { id, type: \"email-inbound-address\" } },\n            },\n            options,\n          );\n        },\n\n        /**\n         * Disable an inbound address.\n         *\n         * @param id - The inbound address ID.\n         * @param options - Optional request-level overrides.\n         * @returns The address with `is_active` set to `false`.\n         */\n        disable: async (\n          id: string,\n          options?: RequestOptions,\n        ): Promise<EmailInboundAddress> => {\n          return rb.execute<EmailInboundAddress>(\n            patchAdminEmailInboundAddressesByIdDisable,\n            {\n              path: { id },\n              body: { data: { id, type: \"email-inbound-address\" } },\n            },\n            options,\n          );\n        },\n\n        /**\n         * Re-enable a disabled inbound address.\n         *\n         * @param id - The inbound address ID.\n         * @param options - Optional request-level overrides.\n         * @returns The address with `is_active` set to `true`.\n         */\n        enable: async (\n          id: string,\n          options?: RequestOptions,\n        ): Promise<EmailInboundAddress> => {\n          return rb.execute<EmailInboundAddress>(\n            patchAdminEmailInboundAddressesByIdEnable,\n            {\n              path: { id },\n              body: { data: { id, type: \"email-inbound-address\" } },\n            },\n            options,\n          );\n        },\n\n        /**\n         * List all inbound addresses in a workspace.\n         *\n         * @param workspaceId - The workspace ID.\n         * @param options - Pagination and request-level overrides.\n         * @returns An array of {@link EmailInboundAddress} records.\n         */\n        listByWorkspace: async (\n          workspaceId: string,\n          options?: { page?: number; pageSize?: number } & RequestOptions,\n        ): Promise<EmailInboundAddress[]> => {\n          return rb.execute<EmailInboundAddress[]>(\n            getAdminEmailInboundAddressesWorkspaceByWorkspaceId,\n            {\n              path: { workspace_id: workspaceId },\n              ...buildPageQuery(options?.page, options?.pageSize),\n            },\n            options,\n          );\n        },\n      },\n\n      /** Received — read-only log of received inbound emails. */\n      received: {\n        /**\n         * Get a received inbound email by ID.\n         *\n         * @param id - The inbound email ID.\n         * @param options - Optional request-level overrides.\n         * @returns The requested {@link EmailInboundEmail}.\n         */\n        get: async (\n          id: string,\n          options?: RequestOptions,\n        ): Promise<EmailInboundEmail> => {\n          return rb.execute<EmailInboundEmail>(\n            getAdminEmailInboundReceivedById,\n            { path: { id } },\n            options,\n          );\n        },\n\n        /**\n         * List received emails by inbound address.\n         *\n         * @param addressId - The inbound address ID.\n         * @param options - Pagination and request-level overrides.\n         * @returns An array of {@link EmailInboundEmail} records.\n         */\n        listByAddress: async (\n          addressId: string,\n          options?: { page?: number; pageSize?: number } & RequestOptions,\n        ): Promise<EmailInboundEmail[]> => {\n          return rb.execute<EmailInboundEmail[]>(\n            getAdminEmailInboundReceivedAddressByInboundAddressId,\n            {\n              path: { inbound_address_id: addressId },\n              ...buildPageQuery(options?.page, options?.pageSize),\n            },\n            options,\n          );\n        },\n\n        /**\n         * List all received emails in a workspace.\n         *\n         * @param workspaceId - The workspace ID.\n         * @param options - Pagination and request-level overrides.\n         * @returns An array of {@link EmailInboundEmail} records.\n         */\n        listByWorkspace: async (\n          workspaceId: string,\n          options?: { page?: number; pageSize?: number } & RequestOptions,\n        ): Promise<EmailInboundEmail[]> => {\n          return rb.execute<EmailInboundEmail[]>(\n            getAdminEmailInboundReceivedWorkspaceByWorkspaceId,\n            {\n              path: { workspace_id: workspaceId },\n              ...buildPageQuery(options?.page, options?.pageSize),\n            },\n            options,\n          );\n        },\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport {\n  getAdminWallet,\n  patchAdminWalletPlan,\n  patchAdminWalletCredits,\n  getAdminWalletUsage,\n  getAdminPlans,\n  getAdminPlansById,\n  postAdminPlans,\n  patchAdminPlansById,\n  patchAdminPlansByIdDeprecate,\n  patchAdminPlansByIdScheduleSunset,\n  patchAdminPlansByIdArchive,\n  deleteAdminPlansById,\n  getAdminPricingStrategies,\n  getAdminPricingStrategiesById,\n  postAdminPricingStrategies,\n  patchAdminPricingStrategiesById,\n  getAdminTenantPricingOverrides,\n  getAdminTenantPricingOverridesById,\n  postAdminTenantPricingOverrides,\n  patchAdminTenantPricingOverridesById,\n  deleteAdminTenantPricingOverridesById,\n  getAdminIsvPricingOverrides,\n  getAdminIsvPricingOverridesById,\n  postAdminIsvPricingOverrides,\n  patchAdminIsvPricingOverridesById,\n  getAdminWholesaleAgreements,\n  getAdminWholesaleAgreementsById,\n  postAdminWholesaleAgreements,\n  patchAdminWholesaleAgreementsById,\n  postAdminWholesaleAgreementsByIdGrantSignupCredits,\n  getAdminWholesaleAgreementsByIdSignupGrantStatus,\n  getAdminSettlementStatements,\n  getAdminSettlementStatementsById,\n  patchAdminSettlementStatementsByIdMarkPaid,\n  patchAdminSettlementStatementsByIdMarkReconciled,\n  patchAdminSettlementStatementsByIdMarkDisputed,\n  getAdminSettlements,\n  getAdminSettlementsById,\n  postAdminSettlements,\n  patchAdminApplicationsByIdGrantCredits,\n  getAdminFeatureDefinitions,\n  getAdminFeatureDefinitionsById,\n  getAdminFeatureDefinitionsByApplicationByApplicationId,\n  postAdminFeatureDefinitions,\n  patchAdminFeatureDefinitionsById,\n  deleteAdminFeatureDefinitionsById,\n  getAdminPlanFeatureAllocations,\n  getAdminPlanFeatureAllocationsById,\n  getAdminPlanFeatureAllocationsByPlanByPlanId,\n  postAdminPlanFeatureAllocations,\n  patchAdminPlanFeatureAllocationsById,\n  deleteAdminPlanFeatureAllocationsById,\n  getAdminFeatureUsages,\n  getAdminFeatureUsagesById,\n  getAdminFeatureUsagesByTenantByTenantId,\n  getAdminUsageEvents,\n  getAdminUsageEventsById,\n  getAdminUsageEventsByUser,\n  getAdminUsageEventsSummary,\n  getAdminCompositeOperations,\n  getAdminCompositeOperationsById,\n  postAdminCompositeOperations,\n  patchAdminCompositeOperationsById,\n  deleteAdminCompositeOperationsById,\n  postAdminPlanBundlesPublish,\n  postAdminPlanBundlesPreviewEconomics,\n  getAdminPlanBundlesTemplates,\n  getAdminPlanBundlesCanEnable,\n  postAdminBillingCapabilityRevocationsPreviewCascade,\n  getAdminSubscriptionsCapabilityRevoked,\n  getAdminSubscriptions,\n  patchAdminSubscriptionsByIdSetRateLimitOverrides,\n} from \"../_internal/sdk.gen\";\nimport type {\n  Wallet,\n  Plan,\n  PricingStrategy,\n  TenantPricingOverride,\n  IsvPricingOverride,\n  WholesaleAgreement,\n  SettlementStatement,\n  Settlement,\n  FeatureDefinition,\n  PlanFeatureAllocation,\n  FeatureUsage,\n  UsageEvent,\n  CompositeOperation,\n  Subscription,\n  Application,\n} from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { buildPageQuery } from \"../namespace-types\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/**\n * Attributes for creating a subscription plan.\n *\n * @example\n * ```typescript\n * // Free tier (under platform ceiling of 1000 req/min).\n * await admin.billing.plans.create({\n *   name: \"Free\",\n *   slug: \"free\",\n *   monthly_price: { amount: \"0.00\", currency: \"USD\" },\n *   monthly_credits: 0,\n *   rate_limit_requests: 100,\n *   rate_limit_period_seconds: 60,\n * });\n *\n * // Pro tier (paid; no platform ceiling).\n * await admin.billing.plans.create({\n *   name: \"Pro\",\n *   slug: \"pro\",\n *   monthly_price: { amount: \"49.00\", currency: \"USD\" },\n *   monthly_credits: 10_000,\n *   rate_limit_requests: 10_000,\n *   rate_limit_period_seconds: 60,\n *   concurrent_operations_limit: 25,\n * });\n *\n * // Per-customer override (tightening one tenant below their plan's default).\n * await admin.billing.subscriptions.setRateLimitOverrides(subscriptionId, {\n *   rate_limit_requests_override: 50,\n *   rate_limit_period_seconds_override: 60,\n * });\n * ```\n */\nexport type CreatePlanAttributes = {\n  name: string;\n  slug: string;\n  monthly_price: { amount: string; currency: string };\n  monthly_credits: number;\n  capability_tiers?: string[];\n  is_addon?: boolean;\n  /**\n   * Credits allocated per seat at renewal for seat-type plans.\n   * When set, renewal allocates `credits_per_seat × active_seat_count` credits.\n   * Ignored for non-seat plans.\n   */\n  credits_per_seat?: number;\n  /**\n   * Per-plan request-count ceiling for the `:tenant_plan` HammerRateLimit\n   * scope. Tenants on this plan can make up to this many requests per\n   * `rate_limit_period_seconds`. Nullable — when `null` or omitted, the\n   * plug falls back to the next link in the resolution chain\n   * (per-ApiKey override, then plug-static default).\n   *\n   * Must be `>= 1` when set. Zero-priced plans (free tier) are additionally\n   * capped at the platform-set ceiling\n   * (`config :gpt_core, :platform_free_tier_max_rpm`, default 1000). Exceeding\n   * the ceiling on a free-tier plan returns\n   * `422 :free_tier_rate_limit_exceeds_platform_ceiling`.\n   */\n  rate_limit_requests?: number | null;\n  /**\n   * Window in seconds for `rate_limit_requests`. Must be `>= 1` when set.\n   * Typical: `60` (per minute), `3600` (per hour). Nullable — falls through\n   * the same resolution chain as `rate_limit_requests`.\n   */\n  rate_limit_period_seconds?: number | null;\n  /**\n   * Maximum number of concurrent in-flight billable operations per tenant.\n   * Attribute is accepted and persisted for future enforcement; runtime\n   * enforcement is NOT in scope today (only `rate_limit_requests` /\n   * `rate_limit_period_seconds` drive the live plug). Must be `>= 1` when set.\n   */\n  concurrent_operations_limit?: number | null;\n};\n\n/**\n * Attributes for updating a subscription plan.\n *\n * Extends `CreatePlanAttributes` with two optional acknowledgement arguments\n * threaded through Phase 3 of the plan-versioning pin-policy work:\n *\n * - `ack_plan_revision` — set `true` to acknowledge that this edit changes\n *   pricing-relevant attributes on a `Plan` with active subscribers. Without\n *   it, the API returns `422 :plan_edit_affects_subscribers` and refuses the\n *   edit (warn-then-confirm gate). Existing subscribers stay pinned to their\n *   original snapshot regardless — the gate exists so the ISV can confirm the\n *   change is intentional and accept that NEW subscribers will receive the\n *   updated terms.\n * - `reason` — required when `ack_plan_revision: true`. Free-form string ≤ 280\n *   chars recorded on the `audit:plan_revised_with_active_subscribers` audit\n *   row alongside actor + counts.\n *\n * Pass neither when editing a Plan with zero active subscribers — the edit\n * proceeds normally.\n */\nexport type UpdatePlanAttributes = Partial<CreatePlanAttributes> & {\n  /**\n   * Acknowledge that this edit affects existing subscribers' Plan revision.\n   * Required when the Plan has ≥ 1 active subscriber AND the edit changes any\n   * pricing-relevant attribute. See the type description for details.\n   */\n  ack_plan_revision?: boolean;\n  /**\n   * Free-form reason for the edit (≤ 280 chars). Required when\n   * `ack_plan_revision: true`; recorded on the\n   * `audit:plan_revised_with_active_subscribers` audit row.\n   */\n  reason?: string;\n};\n\n/** Attributes for creating a pricing strategy. */\nexport type CreatePricingStrategyAttributes = {\n  service_id: string;\n  metric?: string;\n  floor_price: { amount: string; currency: string };\n  margin_percent?: number;\n};\n\n/** Attributes for creating a tenant pricing override. */\nexport type CreateTenantPricingOverrideAttributes = {\n  service_id: string;\n  tenant_id: string;\n  application_id: string;\n  floor_price: { amount: string; currency: string };\n  margin_percent?: number;\n  expires_at?: string;\n  reason: string;\n};\n\n/** Attributes for creating a wholesale agreement. */\nexport type CreateWholesaleAgreementAttributes = {\n  isv_tenant_id: string;\n  settlement_frequency?: \"monthly\" | \"weekly\" | \"daily\";\n  hold_days?: number;\n  minimum_payout_cents?: number;\n  permitted_capability_tiers?: Array<\"core\" | \"standard\" | \"premium\">;\n  overdraft_limit_credits?: number | null;\n  per_seat_fee_cents?: number | null;\n  refund_reversal_days?: number | null;\n  /**\n   * Per-ISV one-time signup-grant amount in credits, deposited to the\n   * `Platform:Application:*` wholesale account when the ISV-tenant's first\n   * Application is created (after proof-of-life passes). Pass `null` (or omit)\n   * to fall back to the platform default\n   * (`config :gpt_core, :default_isv_signup_grant_credits`).\n   */\n  signup_grant_credits?: number | null;\n  minimum_retail_floors?: Array<{\n    service_id: string;\n    minimum: { amount: string; currency: string };\n  }>;\n  layer1_dunning_config?: Record<string, unknown> | null;\n  notes?: string | null;\n  effective_date?: string | null;\n};\n\n/** Shape returned by `wholesaleAgreements.grantSignupCredits` and `getSignupGrantStatus`. */\nexport type SignupGrantStatus = {\n  id?: string;\n  isv_tenant_id?: string;\n  application_id?: string;\n  status?: \"pending\" | \"granted\" | \"insufficient_proof_of_life\";\n  credits?: number | null;\n  source?: \"default\" | \"pre_seeded\";\n  proof_of_life_path?:\n    | \"pre_seeded\"\n    | \"admin_manual\"\n    | \"email_plus_card\"\n    | \"unknown\"\n    | null;\n  granted_at?: string | null;\n  reason?: string | null;\n};\n\n/** Attributes for creating a platform-managed ISV pricing override. */\nexport type CreateIsvPricingOverrideAttributes = {\n  application_id: string;\n  operation_key: string;\n  rate_credits?: number | null;\n  margin_percent?: number | null;\n  is_enabled?: boolean | null;\n  notes?: string | null;\n};\n\n/** Attributes accepted when updating a platform-managed ISV pricing override. */\nexport type UpdateIsvPricingOverrideAttributes = Pick<\n  CreateIsvPricingOverrideAttributes,\n  \"rate_credits\" | \"margin_percent\" | \"is_enabled\" | \"notes\"\n>;\n\n/** Attributes for initiating a settlement. */\nexport type CreateSettlementAttributes = {\n  period_start: string;\n  period_end: string;\n  isv_tenant_id: string;\n};\n\n/** Attributes for creating a feature definition. */\nexport type CreateFeatureDefinitionAttributes = {\n  key: string;\n  name: string;\n  metering_mode: \"unlimited\" | \"counted\" | \"credit_cost\";\n  default_limit?: number;\n  credit_cost?: number;\n  platform_capability?: string;\n  metadata?: Record<string, unknown>;\n};\n\n/** Attributes for creating a plan-feature allocation. */\nexport type CreatePlanFeatureAllocationAttributes = {\n  plan_id: string;\n  feature_definition_id: string;\n  enabled?: boolean;\n  limit?: number;\n  credit_cost?: number;\n  activation_cost?: number;\n};\n\n/**\n * Admin billing namespace — wallet management, plans, pricing, and wholesale economics.\n *\n * Accessed via `admin.billing.*`. All operations require `sk_srv_` or `sk_sys_` API keys.\n * These bypass tenant-level authorization and are for platform admin use only.\n */\nexport function createBillingNamespace(rb: RequestBuilder) {\n  return {\n    wallet: {\n      /**\n       * Fetch the wallet for the current authenticated context.\n       *\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the {@link Wallet}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * const wallet = await admin.billing.wallet.get();\n       * console.log(`Balance: ${wallet.attributes?.balance_credits} credits`);\n       * ```\n       */\n      get: async (options?: RequestOptions): Promise<Wallet> => {\n        return rb.execute<Wallet>(getAdminWallet, {}, options);\n      },\n\n      /**\n       * Change the subscription plan on the wallet.\n       *\n       * Upgrades charge a prorated amount immediately against the default payment\n       * method. Downgrades are deferred to the end of the current billing period.\n       *\n       * @param walletId - The wallet UUID from `wallet.get()`.\n       * @param planSlug - The slug of the target plan (e.g. `\"pro-monthly\"`).\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the updated {@link Wallet}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * const wallet = await admin.billing.wallet.get();\n       * await admin.billing.wallet.changePlan(wallet.id as string, 'enterprise-annual');\n       * ```\n       */\n      changePlan: async (\n        walletId: string,\n        planSlug: string,\n        options?: RequestOptions,\n      ): Promise<Wallet> => {\n        return rb.execute<Wallet>(\n          patchAdminWalletPlan,\n          {\n            body: {\n              data: {\n                id: walletId,\n                type: \"wallet-public\",\n                attributes: { plan_slug: planSlug },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Purchase a credit package (\"credit-package\") for the wallet.\n       *\n       * Application owners can author the credit-package catalog through the\n       * platform API; this admin wallet helper consumes an existing package by\n       * slug for top-ups.\n       *\n       * @param walletId - The wallet UUID from `wallet.get()`.\n       * @param packageSlug - The slug of the credit package to purchase.\n       * @param paymentMethodId - Optional payment method UUID. Uses the default if omitted.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the updated {@link Wallet}.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * const wallet = await admin.billing.wallet.get();\n       * await admin.billing.wallet.adjustCredits(wallet.id as string, 'starter-1000');\n       * ```\n       */\n      adjustCredits: async (\n        walletId: string,\n        packageSlug: string,\n        paymentMethodId?: string,\n        options?: RequestOptions,\n      ): Promise<Wallet> => {\n        const attributes: Record<string, unknown> = {\n          package_slug: packageSlug,\n        };\n        if (paymentMethodId !== undefined) {\n          attributes.payment_method_id = paymentMethodId;\n        }\n        return rb.execute<Wallet>(\n          patchAdminWalletCredits,\n          {\n            body: {\n              data: {\n                id: walletId,\n                type: \"wallet-public\",\n                attributes,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Get credit usage history for the wallet.\n       *\n       * @param tenantId - Optional tenant ID to scope the usage query.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to a {@link Wallet} with usage data.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * const usage = await admin.billing.wallet.getUsage('tenant_abc123');\n       * ```\n       */\n      getUsage: async (\n        tenantId?: string,\n        options?: RequestOptions,\n      ): Promise<Wallet> => {\n        const query: Record<string, unknown> = {};\n        if (tenantId !== undefined) {\n          query.tenant_id = tenantId;\n        }\n        return rb.execute<Wallet>(\n          getAdminWalletUsage,\n          Object.keys(query).length > 0 ? { query } : {},\n          options,\n        );\n      },\n    },\n\n    /**\n     * Plan management — create, read, update, delete subscription plans available to tenants.\n     *\n     * Plans define subscription tiers with monthly prices, credit grants, storage quotas,\n     * and capability tiers. ISVs configure their plan catalogue here.\n     */\n    plans: {\n      /**\n       * List all plans for the application.\n       *\n       * @param options - Optional request options.\n       * @returns Array of `Plan` objects.\n       */\n      list: async (options?: RequestOptions): Promise<Plan[]> => {\n        return rb.execute<Plan[]>(getAdminPlans, {}, options);\n      },\n\n      /**\n       * Get a plan by ID.\n       *\n       * @param planId - The plan UUID.\n       * @param options - Optional request options.\n       * @returns The matching `Plan`.\n       */\n      get: async (planId: string, options?: RequestOptions): Promise<Plan> => {\n        return rb.execute<Plan>(\n          getAdminPlansById,\n          { path: { id: planId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new plan.\n       *\n       * @param attrs - Plan attributes (name, slug, monthly_price, monthly_credits, etc.)\n       * @param options - Optional request options.\n       * @returns The newly created `Plan`.\n       *\n       * @example\n       * ```typescript\n       * const plan = await admin.billing.plans.create({\n       *   name: \"Pro\",\n       *   slug: \"pro\",\n       *   monthly_price: { amount: \"49.00\", currency: \"USD\" },\n       *   monthly_credits: 10000,\n       * });\n       * ```\n       */\n      create: async (\n        attrs: CreatePlanAttributes,\n        options?: RequestOptions,\n      ): Promise<Plan> => {\n        return rb.execute<Plan>(\n          postAdminPlans,\n          { body: { data: { type: \"plan\", attributes: attrs } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing plan.\n       *\n       * When the Plan has ≥ 1 active subscriber AND the edit changes any\n       * pricing-relevant attribute (`monthly_price`, `monthly_credits`,\n       * `billing_interval`, `capability_tiers`, `plan_tier`, seats/storage\n       * limits, `credits_per_seat`), the API returns `422\n       * :plan_edit_affects_subscribers` unless the caller passes\n       * `ack_plan_revision: true` + a `reason` string. Existing subscribers\n       * always remain pinned to their original snapshot — the gate exists so\n       * the ISV explicitly confirms the change is intentional and accepts\n       * that NEW subscribers will receive the updated terms.\n       *\n       * @param planId - The plan UUID.\n       * @param attrs - Attributes to update. Pass `ack_plan_revision: true` +\n       *   `reason` when editing a Plan with active subscribers.\n       *\n       * @example\n       * ```typescript\n       * // Routine edit on a plan without active subscribers — no ack needed.\n       * await admin.billing.plans.update(planId, { name: 'Pro (renamed)' });\n       *\n       * // Pricing edit on a plan with active subscribers — ack required.\n       * await admin.billing.plans.update(planId, {\n       *   monthly_price: { amount: '29.00', currency: 'USD' },\n       *   ack_plan_revision: true,\n       *   reason: 'Raising headline price to match competitive market rates.',\n       * });\n       * ```\n       */\n      update: async (\n        planId: string,\n        attrs: UpdatePlanAttributes,\n        options?: RequestOptions,\n      ): Promise<Plan> => {\n        return rb.execute<Plan>(\n          patchAdminPlansById,\n          {\n            path: { id: planId },\n            body: { data: { id: planId, type: \"plan\", attributes: attrs } },\n          },\n          options,\n        );\n      },\n\n      /** Delete a plan by ID. */\n      delete: async (\n        planId: string,\n        options?: RequestOptions,\n      ): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminPlansById,\n          { path: { id: planId } },\n          options,\n        );\n      },\n\n      /**\n       * Transition an `:active` plan to `:deprecated`.\n       *\n       * Deprecated plans are hidden from public catalogs and reject new\n       * subscriptions, but existing subscribers continue renewing on this\n       * plan. Use this before scheduling a sunset to stop new sign-ups while\n       * giving existing subscribers a graceful runway.\n       *\n       * Rejected when the plan is not currently `:active`.\n       *\n       * Requires Platform Admin or Application Owner role.\n       *\n       * @param planId - UUID of the plan to deprecate.\n       * @param options - Optional request-level overrides.\n       * @returns The updated `Plan` with `lifecycle_status: \"deprecated\"`.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_sys_...' });\n       *\n       * // Full plan lifecycle:\n       * //   1. Stop new sign-ups while existing subscribers keep their plan.\n       * const deprecated = await admin.billing.plans.deprecatePlan(planId);\n       *\n       * //   2. Later, when ready to retire the plan entirely:\n       * await admin.billing.plans.scheduleSunset(\n       *   planId,\n       *   '2026-12-01T00:00:00Z',\n       *   replacementPlanId,\n       * );\n       *\n       * //   3. PlanSunsetWorker force-migrates remaining subscribers at sunset_at,\n       * //      then transitions the plan to :archived automatically.\n       * const archived = await admin.billing.plans.listPlansByLifecycleStatus(\n       *   appId,\n       *   'archived',\n       * );\n       * ```\n       */\n      deprecatePlan: async (\n        planId: string,\n        options?: RequestOptions,\n      ): Promise<Plan> => {\n        return rb.execute<Plan>(\n          patchAdminPlansByIdDeprecate,\n          {\n            path: { id: planId },\n            body: { data: { id: planId, type: \"plan\", attributes: {} } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Schedule a plan for sunset.\n       *\n       * At `sunsetAt`, remaining subscribers will be force-migrated to\n       * `replacementPlanId` by the `PlanSunsetWorker` (hourly cron). The plan\n       * transitions to `:sunset_pending` immediately. When migration completes,\n       * the worker transitions the plan to `:archived`.\n       *\n       * Constraints:\n       * - The plan must be `:active` or `:deprecated`.\n       * - `sunsetAt` must be at least 1 hour in the future.\n       * - `replacementPlanId` is **required** when the plan has active\n       *   subscribers (no-orphan-subscribers invariant). When provided, it\n       *   must reference an `:active` Plan in the same Application.\n       *\n       * Subscribers receive 30 / 7 / 1-day countdown email reminders leading up\n       * to `sunsetAt` (the schedule itself is communicated via the\n       * `billing.plan.sunset_scheduled` webhook fired by this action).\n       *\n       * Requires Platform Admin or Application Owner role.\n       *\n       * @param planId - UUID of the plan to schedule for sunset.\n       * @param sunsetAt - ISO-8601 timestamp at which subscribers are\n       *   force-migrated (must be ≥ 1 hour in the future).\n       * @param replacementPlanId - UUID of the replacement plan. Required\n       *   when active subscribers remain on the plan; optional otherwise.\n       * @param options - Optional request-level overrides.\n       * @returns The updated `Plan` with `lifecycle_status: \"sunset_pending\"`.\n       */\n      scheduleSunset: async (\n        planId: string,\n        sunsetAt: string,\n        replacementPlanId?: string,\n        options?: RequestOptions,\n      ): Promise<Plan> => {\n        const attributes: Record<string, string> = { sunset_at: sunsetAt };\n        if (replacementPlanId !== undefined) {\n          attributes.replacement_plan_id = replacementPlanId;\n        }\n        return rb.execute<Plan>(\n          patchAdminPlansByIdScheduleSunset,\n          {\n            path: { id: planId },\n            body: { data: { id: planId, type: \"plan\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Transition a `:sunset_pending` plan to `:archived`.\n       *\n       * This is a terminal state. The action is rejected if any active\n       * subscribers remain on the plan — typically `PlanSunsetWorker` calls\n       * this automatically after force-migration completes, but it can be\n       * invoked manually if all subscribers have already moved off the plan\n       * by other means.\n       *\n       * Requires Platform Admin or Application Owner role.\n       *\n       * @param planId - UUID of the plan to archive.\n       * @param options - Optional request-level overrides.\n       * @returns The updated `Plan` with `lifecycle_status: \"archived\"`.\n       */\n      archivePlan: async (\n        planId: string,\n        options?: RequestOptions,\n      ): Promise<Plan> => {\n        return rb.execute<Plan>(\n          patchAdminPlansByIdArchive,\n          {\n            path: { id: planId },\n            body: { data: { id: planId, type: \"plan\", attributes: {} } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * List plans for an application, optionally scoped to a lifecycle stage.\n       *\n       * Sends a filtered `GET /admin/plans?filter[application_id]=…&filter[lifecycle_status]=…`\n       * request. Useful for surfacing only `:active` plans in a pricing page,\n       * auditing `:archived` plans, or watching `:sunset_pending` plans.\n       *\n       * @param applicationId - UUID of the application to scope to.\n       * @param lifecycleStatus - Optional lifecycle filter. Omit to list all\n       *   plans regardless of lifecycle stage.\n       * @param options - Optional request-level overrides.\n       * @returns Array of matching `Plan` objects.\n       *\n       * @example\n       * ```typescript\n       * const active = await admin.billing.plans.listPlansByLifecycleStatus(\n       *   appId,\n       *   'active',\n       * );\n       * const pending = await admin.billing.plans.listPlansByLifecycleStatus(\n       *   appId,\n       *   'sunset_pending',\n       * );\n       * ```\n       */\n      listPlansByLifecycleStatus: async (\n        applicationId: string,\n        lifecycleStatus?:\n          | \"active\"\n          | \"deprecated\"\n          | \"sunset_pending\"\n          | \"archived\",\n        options?: RequestOptions,\n      ): Promise<Plan[]> => {\n        const filter: Record<string, string> = {\n          application_id: applicationId,\n        };\n        if (lifecycleStatus !== undefined) {\n          filter.lifecycle_status = lifecycleStatus;\n        }\n        return rb.execute<Plan[]>(\n          getAdminPlans,\n          { query: { filter } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Pricing strategy management — configure per-service floor prices and margins\n     * for your application. These are the Tier 2 prices in the 5-tier pricing resolution.\n     */\n    pricingStrategies: {\n      /**\n       * List all pricing strategies for the application.\n       *\n       * @param options - Optional request options.\n       * @returns Array of `PricingStrategy` objects.\n       */\n      list: async (options?: RequestOptions): Promise<PricingStrategy[]> => {\n        return rb.execute<PricingStrategy[]>(\n          getAdminPricingStrategies,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Get a pricing strategy by ID.\n       *\n       * @param id - The pricing strategy UUID.\n       * @param options - Optional request options.\n       * @returns The matching `PricingStrategy`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<PricingStrategy> => {\n        return rb.execute<PricingStrategy>(\n          getAdminPricingStrategiesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a pricing strategy for a service.\n       *\n       * @param attrs - Strategy attributes: `service_id`, `metric`, `floor_price`, `margin_percent`.\n       *   The `floor_price` cannot be below the ISV minimum retail floor set in the WholesaleAgreement.\n       */\n      create: async (\n        attrs: CreatePricingStrategyAttributes,\n        options?: RequestOptions,\n      ): Promise<PricingStrategy> => {\n        return rb.execute<PricingStrategy>(\n          postAdminPricingStrategies,\n          { body: { data: { type: \"pricing-strategy\", attributes: attrs } } },\n          options,\n        );\n      },\n\n      /**\n       * Update a pricing strategy.\n       *\n       * @param id - The pricing strategy UUID.\n       * @param attrs - Attributes to update (`floor_price`, `margin_percent`).\n       */\n      update: async (\n        id: string,\n        attrs: Partial<CreatePricingStrategyAttributes>,\n        options?: RequestOptions,\n      ): Promise<PricingStrategy> => {\n        return rb.execute<PricingStrategy>(\n          patchAdminPricingStrategiesById,\n          {\n            path: { id },\n            body: { data: { id, type: \"pricing-strategy\", attributes: attrs } },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Tenant pricing override management — set per-tenant, per-service custom prices.\n     * These are Tier 1 in the 5-tier pricing resolution (highest priority).\n     *\n     * Use for enterprise contracts, volume discounts, and promotional pricing.\n     * Always provide a `reason` for audit trail purposes.\n     */\n    tenantPricingOverrides: {\n      /**\n       * List all tenant pricing overrides for the application.\n       *\n       * @param options - Optional request options.\n       * @returns Array of `TenantPricingOverride` objects.\n       */\n      list: async (\n        options?: RequestOptions,\n      ): Promise<TenantPricingOverride[]> => {\n        return rb.execute<TenantPricingOverride[]>(\n          getAdminTenantPricingOverrides,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Get a tenant pricing override by ID.\n       *\n       * @param id - The tenant pricing override UUID.\n       * @param options - Optional request options.\n       * @returns The matching `TenantPricingOverride`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<TenantPricingOverride> => {\n        return rb.execute<TenantPricingOverride>(\n          getAdminTenantPricingOverridesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a tenant-specific pricing override.\n       *\n       * @param attrs - Override attributes: `service_id`, `tenant_id`, `application_id`,\n       *   `floor_price`, `margin_percent`, `expires_at`, `reason`.\n       *   The `reason` field is required for audit compliance.\n       */\n      create: async (\n        attrs: CreateTenantPricingOverrideAttributes,\n        options?: RequestOptions,\n      ): Promise<TenantPricingOverride> => {\n        return rb.execute<TenantPricingOverride>(\n          postAdminTenantPricingOverrides,\n          {\n            body: {\n              data: { type: \"tenant-pricing-override\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update a tenant pricing override.\n       *\n       * @param id - The override UUID.\n       * @param attrs - Attributes to update (`floor_price`, `margin_percent`, `expires_at`, `reason`).\n       */\n      update: async (\n        id: string,\n        attrs: Partial<CreateTenantPricingOverrideAttributes>,\n        options?: RequestOptions,\n      ): Promise<TenantPricingOverride> => {\n        return rb.execute<TenantPricingOverride>(\n          patchAdminTenantPricingOverridesById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"tenant-pricing-override\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a tenant pricing override. The tenant's pricing reverts to the\n       * PricingStrategy (or platform default) immediately.\n       *\n       * @param id - The override UUID to delete.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminTenantPricingOverridesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Wholesale agreement management — configure the economic relationship between\n     * your ISV account and the platform. Defines take rates, minimum retail floors,\n     * and settlement terms.\n     *\n     * Wholesale agreements are typically configured once during ISV onboarding and\n     * updated only when contract terms change.\n     */\n    wholesaleAgreements: {\n      /** List all wholesale agreements for the ISV account. */\n      list: async (options?: RequestOptions): Promise<WholesaleAgreement[]> => {\n        return rb.execute<WholesaleAgreement[]>(\n          getAdminWholesaleAgreements,\n          {},\n          options,\n        );\n      },\n\n      /** Get a wholesale agreement by ID. */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<WholesaleAgreement> => {\n        return rb.execute<WholesaleAgreement>(\n          getAdminWholesaleAgreementsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a wholesale agreement.\n       *\n       * @param attrs - Agreement attributes: `model` (`\"percentage\"` or `\"interchange_plus\"`),\n       *   `take_rate_percent`, `minimum_retail_floors`, `settlement_frequency`, etc.\n       */\n      create: async (\n        attrs: CreateWholesaleAgreementAttributes,\n        options?: RequestOptions,\n      ): Promise<WholesaleAgreement> => {\n        return rb.execute<WholesaleAgreement>(\n          postAdminWholesaleAgreements,\n          {\n            body: { data: { type: \"wholesale-agreement\", attributes: attrs } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update a wholesale agreement.\n       *\n       * @param id - The wholesale agreement UUID.\n       * @param attrs - Attributes to update.\n       */\n      update: async (\n        id: string,\n        attrs: Partial<CreateWholesaleAgreementAttributes>,\n        options?: RequestOptions,\n      ): Promise<WholesaleAgreement> => {\n        return rb.execute<WholesaleAgreement>(\n          patchAdminWholesaleAgreementsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"wholesale-agreement\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Issue a Platform-Admin manual signup-grant on the wholesale account.\n       *\n       * Normally the signup grant fires automatically on the ISV-tenant's first\n       * Application creation via `IsvSignupGrantProvisioner`. This method is the\n       * explicit manual override — useful when sales is onboarding an ISV outside\n       * the automatic proof-of-life path, or when granting promotional credits.\n       *\n       * The grant is recorded as a `PlatformUsageEvent` row with\n       * `operation_type: \"signup_grant\"` and `reason` persisted on metadata.\n       * Re-running this method is NOT idempotent — every call fires a fresh\n       * grant.\n       *\n       * Requires a `sk_sys_` platform-admin API key.\n       *\n       * @param id - The wholesale agreement UUID.\n       * @param credits - Grant amount in credits (must be positive).\n       * @param reason - Optional free-form rationale (≤ 280 chars) — persisted\n       *   on the resulting `PlatformUsageEvent.metadata` for auditability.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_sys_...' });\n       * await admin.billing.wholesaleAgreements.grantSignupCredits(\n       *   'wa-uuid',\n       *   25_000,\n       *   'sales-onboarding promo Q3-2026',\n       * );\n       * ```\n       */\n      grantSignupCredits: async (\n        id: string,\n        credits: number,\n        reason?: string,\n        options?: RequestOptions,\n      ): Promise<SignupGrantStatus> => {\n        const body: { data: { credits: number; reason?: string | null } } = {\n          data: { credits },\n        };\n        if (reason !== undefined) body.data.reason = reason;\n\n        const response = await rb.execute<{ result: SignupGrantStatus }>(\n          postAdminWholesaleAgreementsByIdGrantSignupCredits,\n          {\n            path: { id },\n            body,\n          },\n          options,\n        );\n\n        // F-22: wrap_in_result?: true is unconditional on the server route;\n        // a missing `result` key is a contract violation, not an alternate\n        // response shape. Throw instead of casting the entire response as\n        // SignupGrantStatus.\n        if (response?.result === undefined) {\n          throw new Error(\n            \"grantSignupCredits: server response missing `result` key\",\n          );\n        }\n\n        return response.result;\n      },\n\n      /**\n       * Read the current signup-grant state for a wholesale agreement.\n       *\n       * Returns the grant lifecycle status (`pending` / `granted` /\n       * `insufficient_proof_of_life`), the configured credit amount, the\n       * resolved proof-of-life path, and (when granted) the timestamp of the\n       * most recent grant.\n       *\n       * Requires a `sk_sys_` platform-admin API key.\n       *\n       * @param id - The wholesale agreement UUID.\n       *\n       * @example\n       * ```typescript\n       * const status = await admin.billing.wholesaleAgreements.getSignupGrantStatus('wa-uuid');\n       * if (status.status === 'granted') {\n       *   console.log(`Granted ${status.credits} credits at ${status.granted_at}`);\n       * }\n       * ```\n       */\n      getSignupGrantStatus: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SignupGrantStatus> => {\n        const response = await rb.execute<{ result: SignupGrantStatus }>(\n          getAdminWholesaleAgreementsByIdSignupGrantStatus,\n          {\n            path: { id },\n          },\n          options,\n        );\n\n        // F-22: wrap_in_result?: true is unconditional on the server route.\n        if (response?.result === undefined) {\n          throw new Error(\n            \"getSignupGrantStatus: server response missing `result` key\",\n          );\n        }\n\n        return response.result;\n      },\n    },\n\n    /**\n     * ISV pricing override management — platform-owned per-application Schedule A\n     * operation overrides. These are Layer 1 economics and use operation keys\n     * from platform pricing config, not tenant-facing feature keys.\n     */\n    isvPricingOverrides: {\n      /** List all platform-managed ISV pricing overrides. */\n      list: async (options?: RequestOptions): Promise<IsvPricingOverride[]> => {\n        return rb.execute<IsvPricingOverride[]>(\n          getAdminIsvPricingOverrides,\n          {},\n          options,\n        );\n      },\n\n      /** Get a platform-managed ISV pricing override by ID. */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<IsvPricingOverride> => {\n        return rb.execute<IsvPricingOverride>(\n          getAdminIsvPricingOverridesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Create a platform-managed ISV pricing override. */\n      create: async (\n        attrs: CreateIsvPricingOverrideAttributes,\n        options?: RequestOptions,\n      ): Promise<IsvPricingOverride> => {\n        return rb.execute<IsvPricingOverride>(\n          postAdminIsvPricingOverrides,\n          {\n            body: {\n              data: { type: \"isv-pricing-override\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Update mutable fields on a platform-managed ISV pricing override. */\n      update: async (\n        id: string,\n        attrs: UpdateIsvPricingOverrideAttributes,\n        options?: RequestOptions,\n      ): Promise<IsvPricingOverride> => {\n        return rb.execute<IsvPricingOverride>(\n          patchAdminIsvPricingOverridesById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"isv-pricing-override\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Settlement statement management — Layer 1 platform-to-ISV statements.\n     *\n     * These are distinct from legacy `settlements`; statements are the auditable\n     * period documents generated from immutable platform usage events.\n     */\n    settlementStatements: {\n      /** List all settlement statements. */\n      list: async (\n        options?: RequestOptions,\n      ): Promise<SettlementStatement[]> => {\n        return rb.execute<SettlementStatement[]>(\n          getAdminSettlementStatements,\n          {},\n          options,\n        );\n      },\n\n      /** Get a settlement statement by ID. */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SettlementStatement> => {\n        return rb.execute<SettlementStatement>(\n          getAdminSettlementStatementsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Mark a settlement statement paid. */\n      markPaid: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SettlementStatement> => {\n        return rb.execute<SettlementStatement>(\n          patchAdminSettlementStatementsByIdMarkPaid,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"settlement-statement\", attributes: {} },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Mark a settlement statement reconciled. */\n      markReconciled: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SettlementStatement> => {\n        return rb.execute<SettlementStatement>(\n          patchAdminSettlementStatementsByIdMarkReconciled,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"settlement-statement\", attributes: {} },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Mark a settlement statement disputed. */\n      markDisputed: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SettlementStatement> => {\n        return rb.execute<SettlementStatement>(\n          patchAdminSettlementStatementsByIdMarkDisputed,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"settlement-statement\", attributes: {} },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Settlement management — view and initiate ISV revenue settlements.\n     *\n     * The platform calculates net position (retail collected minus wholesale owed)\n     * and releases settlements based on your WholesaleAgreement terms.\n     */\n    settlements: {\n      /** List all settlements for the ISV account. */\n      list: async (options?: RequestOptions): Promise<Settlement[]> => {\n        return rb.execute<Settlement[]>(getAdminSettlements, {}, options);\n      },\n\n      /** Get a settlement by ID. */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<Settlement> => {\n        return rb.execute<Settlement>(\n          getAdminSettlementsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Initiate a settlement calculation for a given period.\n       *\n       * @param attrs - Settlement attributes: `period_start`, `period_end`, `isv_tenant_id`.\n       */\n      create: async (\n        attrs: CreateSettlementAttributes,\n        options?: RequestOptions,\n      ): Promise<Settlement> => {\n        return rb.execute<Settlement>(\n          postAdminSettlements,\n          { body: { data: { type: \"settlement\", attributes: attrs } } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Account credit management — grant promotional or purchased credits to tenant applications.\n     *\n     * Use this for:\n     * - Onboarding bonuses\n     * - Service credits (compensation for downtime)\n     * - Referral rewards\n     * - Marketing campaigns\n     */\n    accounts: {\n      /**\n       * Grant credits to an application (and its tenants).\n       *\n       * @param applicationId - The application UUID.\n       * @param opts - Credit grant options: `amount` (integer credits), `tenant_id`,\n       *   and optional `description`.\n       *\n       * @example\n       * ```typescript\n       * // Apology credits — permanent, no expiry\n       * await admin.billing.accounts.grantCredits(applicationId, {\n       *   amount: 10000,\n       *   tenant_id: 'tenant_abc123',\n       *   description: 'Service incident 2026-03-04 compensation',\n       * });\n       *\n       * // Promotional trial credits\n       * await admin.billing.accounts.grantCredits(applicationId, {\n       *   amount: 25000,\n       *   tenant_id: 'tenant_abc123',\n       * });\n       * ```\n       */\n      grantCredits: async (\n        applicationId: string,\n        opts: {\n          amount: number;\n          tenant_id: string;\n          description?: string | null;\n        },\n        options?: RequestOptions,\n      ): Promise<Application> => {\n        const attributes: Record<string, unknown> = {\n          amount: opts.amount,\n          tenant_id: opts.tenant_id,\n        };\n        if (opts.description !== undefined)\n          attributes.description = opts.description;\n\n        return rb.execute<Application>(\n          patchAdminApplicationsByIdGrantCredits,\n          {\n            path: { id: applicationId },\n            body: {\n              data: { id: applicationId, type: \"application\", attributes },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Feature definition management — define ISV-specific features with metering modes.\n     *\n     * Feature definitions describe what features an ISV application offers (e.g. \"meal_plans\",\n     * \"report_generation\") and how they are metered (unlimited, counted, or credit-cost).\n     */\n    featureDefinitions: {\n      /**\n       * List all feature definitions.\n       *\n       * @param options - Optional request options.\n       * @returns Array of `FeatureDefinition` objects.\n       */\n      list: async (options?: RequestOptions): Promise<FeatureDefinition[]> => {\n        return rb.execute<FeatureDefinition[]>(\n          getAdminFeatureDefinitions,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Get a feature definition by ID.\n       *\n       * @param id - The feature definition UUID.\n       * @param options - Optional request options.\n       * @returns The matching `FeatureDefinition`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<FeatureDefinition> => {\n        return rb.execute<FeatureDefinition>(\n          getAdminFeatureDefinitionsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List feature definitions for a specific application. */\n      listByApplication: async (\n        applicationId: string,\n        options?: RequestOptions,\n      ): Promise<FeatureDefinition[]> => {\n        return rb.execute<FeatureDefinition[]>(\n          getAdminFeatureDefinitionsByApplicationByApplicationId,\n          { path: { application_id: applicationId } },\n          options,\n        );\n      },\n\n      /** Create a new feature definition. */\n      create: async (\n        attrs: CreateFeatureDefinitionAttributes,\n        options?: RequestOptions,\n      ): Promise<FeatureDefinition> => {\n        return rb.execute<FeatureDefinition>(\n          postAdminFeatureDefinitions,\n          {\n            body: {\n              data: { type: \"feature-definition\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Update a feature definition. */\n      update: async (\n        id: string,\n        attrs: Partial<CreateFeatureDefinitionAttributes>,\n        options?: RequestOptions,\n      ): Promise<FeatureDefinition> => {\n        return rb.execute<FeatureDefinition>(\n          patchAdminFeatureDefinitionsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"feature-definition\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Delete a feature definition. */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminFeatureDefinitionsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Plan-feature allocation management — configure per-plan overrides for features.\n     *\n     * Allocations link feature definitions to plans, allowing per-plan limits,\n     * credit costs, activation costs, and enable/disable toggles.\n     */\n    planFeatureAllocations: {\n      /**\n       * List all plan-feature allocations.\n       *\n       * @param options - Optional request options.\n       * @returns Array of `PlanFeatureAllocation` objects.\n       */\n      list: async (\n        options?: RequestOptions,\n      ): Promise<PlanFeatureAllocation[]> => {\n        return rb.execute<PlanFeatureAllocation[]>(\n          getAdminPlanFeatureAllocations,\n          {},\n          options,\n        );\n      },\n\n      /** Get a plan-feature allocation by ID. */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<PlanFeatureAllocation> => {\n        return rb.execute<PlanFeatureAllocation>(\n          getAdminPlanFeatureAllocationsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List allocations for a specific plan. */\n      listByPlan: async (\n        planId: string,\n        options?: RequestOptions,\n      ): Promise<PlanFeatureAllocation[]> => {\n        return rb.execute<PlanFeatureAllocation[]>(\n          getAdminPlanFeatureAllocationsByPlanByPlanId,\n          { path: { plan_id: planId } },\n          options,\n        );\n      },\n\n      /** Create a plan-feature allocation. */\n      create: async (\n        attrs: CreatePlanFeatureAllocationAttributes,\n        options?: RequestOptions,\n      ): Promise<PlanFeatureAllocation> => {\n        return rb.execute<PlanFeatureAllocation>(\n          postAdminPlanFeatureAllocations,\n          {\n            body: {\n              data: {\n                type: \"plan-feature-allocation\",\n                attributes: attrs,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Update a plan-feature allocation. */\n      update: async (\n        id: string,\n        attrs: Partial<CreatePlanFeatureAllocationAttributes>,\n        options?: RequestOptions,\n      ): Promise<PlanFeatureAllocation> => {\n        return rb.execute<PlanFeatureAllocation>(\n          patchAdminPlanFeatureAllocationsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"plan-feature-allocation\",\n                attributes: attrs,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Delete a plan-feature allocation. */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminPlanFeatureAllocationsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Feature usage tracking — view per-tenant feature usage records.\n     *\n     * Usage records track how many times each tenant has used a feature in the\n     * current billing cycle. Read-only in the admin SDK.\n     */\n    featureUsages: {\n      /**\n       * List all feature usage records.\n       *\n       * @param options - Optional request options, including pagination via `page` and `pageSize`.\n       * @returns Array of `FeatureUsage` records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<FeatureUsage[]> => {\n        return rb.execute<FeatureUsage[]>(\n          getAdminFeatureUsages,\n          buildPageQuery(options?.page, options?.pageSize),\n          options,\n        );\n      },\n\n      /**\n       * Get a feature usage record by ID.\n       *\n       * @param id - The feature usage record UUID.\n       * @param options - Optional request options.\n       * @returns The matching `FeatureUsage` record.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<FeatureUsage> => {\n        return rb.execute<FeatureUsage>(\n          getAdminFeatureUsagesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List usage records for a specific tenant. */\n      listByTenant: async (\n        tenantId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<FeatureUsage[]> => {\n        return rb.execute<FeatureUsage[]>(\n          getAdminFeatureUsagesByTenantByTenantId,\n          {\n            path: { tenant_id: tenantId },\n            ...buildPageQuery(options?.page, options?.pageSize),\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Usage event tracking — view per-tenant usage events for billing and cost visibility.\n     *\n     * Usage events record individual billable operations (LLM calls, extractions, etc.)\n     * with credits charged, operation type, and metadata. Use for tenant usage dashboards\n     * and ISV cost visibility reports.\n     */\n    usageEvents: {\n      /**\n       * List usage events for a tenant within a date range.\n       *\n       * Defaults to the last 30 days. Use for tenant usage dashboards and\n       * ISV cost visibility reports.\n       *\n       * @param tenantId - The tenant ID to scope the query.\n       * @param filters - Optional date range filters.\n       * @param filters.startDate - ISO 8601 start date (default: 30 days ago).\n       * @param filters.endDate - ISO 8601 end date (default: now).\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to an array of {@link UsageEvent} objects.\n       */\n      list: async (\n        tenantId: string,\n        filters?: {\n          startDate?: string;\n          endDate?: string;\n          page?: number;\n          pageSize?: number;\n        },\n        options?: RequestOptions,\n      ): Promise<UsageEvent[]> => {\n        const pageQuery = buildPageQuery(filters?.page, filters?.pageSize);\n        const query: Record<string, unknown> = {\n          tenant_id: tenantId,\n          ...pageQuery.query,\n        };\n        if (filters?.startDate) query.start_date = filters.startDate;\n        if (filters?.endDate) query.end_date = filters.endDate;\n        return rb.execute<UsageEvent[]>(\n          getAdminUsageEvents,\n          { query },\n          options,\n        );\n      },\n\n      /** Get a usage event by ID.\n       *\n       * @param id - The usage event ID.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to a {@link UsageEvent} object.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<UsageEvent> => {\n        return rb.execute<UsageEvent>(\n          getAdminUsageEventsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List usage events for a specific user within a date range.\n       *\n       * Defaults to the last 30 days. Use for per-user usage breakdown.\n       *\n       * @param tenantId - The tenant ID to scope the query.\n       * @param userId - The user ID to filter by.\n       * @param filters - Optional date range filters.\n       * @param filters.startDate - ISO 8601 start date (default: 30 days ago).\n       * @param filters.endDate - ISO 8601 end date (default: now).\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to an array of {@link UsageEvent} objects.\n       */\n      listByUser: async (\n        tenantId: string,\n        userId: string,\n        filters?: {\n          startDate?: string;\n          endDate?: string;\n          page?: number;\n          pageSize?: number;\n        },\n        options?: RequestOptions,\n      ): Promise<UsageEvent[]> => {\n        const pageQuery = buildPageQuery(filters?.page, filters?.pageSize);\n        const query: Record<string, unknown> = {\n          tenant_id: tenantId,\n          user_id: userId,\n          ...pageQuery.query,\n        };\n        if (filters?.startDate) query.start_date = filters.startDate;\n        if (filters?.endDate) query.end_date = filters.endDate;\n        return rb.execute<UsageEvent[]>(\n          getAdminUsageEventsByUser,\n          { query },\n          options,\n        );\n      },\n\n      /**\n       * Get usage summary for a tenant within a date range.\n       *\n       * Returns usage events for dashboard aggregation. Defaults to last 30 days.\n       *\n       * @param tenantId - The tenant ID to scope the query.\n       * @param filters - Optional date range filters.\n       * @param filters.startDate - ISO 8601 start date (default: 30 days ago).\n       * @param filters.endDate - ISO 8601 end date (default: now).\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to an array of {@link UsageEvent} objects.\n       */\n      summary: async (\n        tenantId: string,\n        filters?: {\n          startDate?: string;\n          endDate?: string;\n          page?: number;\n          pageSize?: number;\n        },\n        options?: RequestOptions,\n      ): Promise<UsageEvent[]> => {\n        const pageQuery = buildPageQuery(filters?.page, filters?.pageSize);\n        const query: Record<string, unknown> = {\n          tenant_id: tenantId,\n          ...pageQuery.query,\n        };\n        if (filters?.startDate) query.start_date = filters.startDate;\n        if (filters?.endDate) query.end_date = filters.endDate;\n        return rb.execute<UsageEvent[]>(\n          getAdminUsageEventsSummary,\n          { query },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Estimate capacity for a credit budget across an operations mix.\n     *\n     * ISV-facing endpoint that calculates how many of each operation\n     * a given credit budget supports.\n     *\n     * @param params - Estimation parameters.\n     * @param params.creditBudget - Total credits to estimate capacity for.\n     * @param params.operationsMix - List of operations with weights (should sum to ~1.0).\n     * @param options - Optional request-level overrides.\n     * @returns A promise resolving to an {@link EstimateCapacityResponse} with capacity breakdown per operation.\n     *\n     * @example\n     * ```typescript\n     * const result = await admin.billing.estimateCapacity({\n     *   creditBudget: 100000,\n     *   operationsMix: [\n     *     { operationKey: \"clinical_note_generation\", weight: 0.5 },\n     *     { operationKey: \"llm_input_tokens\", weight: 0.5 },\n     *   ],\n     * });\n     * console.log(result.capacity);\n     * ```\n     */\n    estimateCapacity: async (\n      params: {\n        creditBudget: number;\n        operationsMix: Array<{ operationKey: string; weight: number }>;\n      },\n      options?: RequestOptions,\n    ): Promise<EstimateCapacityResponse> => {\n      return rb.rawPost<EstimateCapacityResponse>(\n        \"/isv/billing/estimate-capacity\",\n        {\n          credit_budget: params.creditBudget,\n          operations_mix: params.operationsMix.map((op) => ({\n            operation_key: op.operationKey,\n            weight: op.weight,\n          })),\n        },\n        options,\n      );\n    },\n\n    /**\n     * Composite operation management — define ISV feature-to-operation mappings\n     * for pricing estimation and capacity calculators.\n     *\n     * Composite operations map user-facing features (e.g., \"AI Clinical Notes\")\n     * to platform operations (e.g., LLM tokens + agent steps). The pricing\n     * estimator sums Schedule A rates for each component.\n     */\n    compositeOperations: {\n      /**\n       * List all composite operations for the application.\n       *\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to an array of {@link CompositeOperation}.\n       */\n      list: async (options?: RequestOptions): Promise<CompositeOperation[]> => {\n        return rb.execute<CompositeOperation[]>(\n          getAdminCompositeOperations,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Get a composite operation by ID.\n       *\n       * @param id - The composite operation UUID.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to a {@link CompositeOperation}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CompositeOperation> => {\n        return rb.execute<CompositeOperation>(\n          getAdminCompositeOperationsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a composite operation.\n       *\n       * @param attrs - Composite operation attributes.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the created {@link CompositeOperation}.\n       *\n       * @example\n       * ```typescript\n       * const op = await admin.billing.compositeOperations.create({\n       *   key: \"clinical_note_generation\",\n       *   display_name: \"AI Clinical Notes\",\n       *   components: [\n       *     { operation_key: \"llm_input_tokens\", quantity: 2000, unit: \"tokens\" },\n       *     { operation_key: \"agent_execution_step\", quantity: 3, unit: \"steps\" },\n       *   ],\n       *   default_model: \"gpt-4o\",\n       *   is_public: true,\n       * });\n       * ```\n       */\n      create: async (\n        attrs: CreateCompositeOperationAttributes,\n        options?: RequestOptions,\n      ): Promise<CompositeOperation> => {\n        return rb.execute<CompositeOperation>(\n          postAdminCompositeOperations,\n          {\n            body: {\n              data: { type: \"composite-operation\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update a composite operation.\n       *\n       * @param id - The composite operation UUID.\n       * @param attrs - Attributes to update.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the updated {@link CompositeOperation}.\n       */\n      update: async (\n        id: string,\n        attrs: Partial<CreateCompositeOperationAttributes>,\n        options?: RequestOptions,\n      ): Promise<CompositeOperation> => {\n        return rb.execute<CompositeOperation>(\n          patchAdminCompositeOperationsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"composite-operation\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a composite operation.\n       *\n       * @param id - The composite operation UUID.\n       * @param options - Optional request-level overrides.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminCompositeOperationsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Aggregate-authoring surface for ISV plan publishing (§4.10).\n     *\n     * `planBundles` composes six existing Billing resources (Plan,\n     * FeatureDefinition, PlanFeatureAllocation, CompositeOperation,\n     * CreditPackage, PricingStrategy) into one atomic call. Four endpoints:\n     *\n     * - `publish` — atomic + idempotent + dry-run + hard-block on below-floor\n     *   margin (with `ackBelowFloor: true, reason: \"...\"` override).\n     * - `previewEconomics` — pure CFO modeling: per-tier wholesale spend,\n     *   retail revenue, blended margin, sensitivity bands.\n     * - `listTemplates` — four starter templates (seat-based, metered,\n     *   freemium-with-overage, developer-tier-prosumer). Every numeric and\n     *   money field is `\"placeholder_unset\"` — replace before publishing.\n     * - `canEnable` — four-gate resolver across WholesaleAgreement /\n     *   Application bundles / Plan tiers / FeatureDefinition.\n     */\n    planBundles: {\n      /**\n       * Atomically publish a plan bundle. Runs the §4.9 pre-publish checklist\n       * (capability refs, permitted tiers, Schedule A ops, blended-margin\n       * floor, placeholder sentinels) and either persists everything inside\n       * one transaction or returns the offending payload — no orphan rows.\n       *\n       * Below-floor publishes are HARD-BLOCKED unless both `ackBelowFloor:\n       * true` and a non-empty `reason` (≤ 280 chars) are supplied. An\n       * acknowledged below-floor publish writes an\n       * `audit:plan_published_below_floor` audit row after the transaction\n       * commits.\n       *\n       * Re-publishing the same `plan.slug` upserts cleanly (idempotent on\n       * resource identities — `Plan.slug`, `FeatureDefinition.key`,\n       * `CreditPackage.slug`, etc.).\n       *\n       * @param bundle - The full PlanBundleSpec.\n       * @param opts - Optional flags (`dryRun`, `ackBelowFloor`, `reason`).\n       * @param options - Optional request options.\n       * @returns Atomic publish result with entity ids + per-gate checklist.\n       *\n       * @example\n       * ```typescript\n       * // Agentless SDK happy path (spec §4.9.1):\n       * // 1. Start from a template; replace every placeholder.\n       * const [seatBased] = await admin.billing.planBundles.listTemplates({\n       *   vertical: \"vertical-saas\",\n       * });\n       *\n       * const bundle: PlanBundleSpec = {\n       *   ...seatBased.bundle,\n       *   plan: {\n       *     ...seatBased.bundle.plan,\n       *     slug: \"pro\",\n       *     name: \"Pro\",\n       *     monthly_price: { amount: \"499.00\", currency: \"USD\" },\n       *     monthly_credits: 50_000,\n       *   },\n       * };\n       *\n       * // 2. Dry-run first — surface every checklist gate without persisting.\n       * const dry = await admin.billing.planBundles.publish(bundle, {\n       *   dryRun: true,\n       * });\n       * if (dry.checklist.gate_4_margin_floor === \"red\") {\n       *   // Adjust pricing OR explicitly acknowledge below-floor.\n       * }\n       *\n       * // 3. Publish for real.\n       * const published = await admin.billing.planBundles.publish(bundle);\n       * console.log(published.entity_ids.plan_id);\n       * ```\n       */\n      publish: async (\n        bundle: PlanBundleSpec,\n        opts?: PlanBundlePublishOptions,\n        options?: RequestOptions,\n      ): Promise<PlanBundlePublishResult> => {\n        const result = await rb.execute<{ result: PlanBundlePublishResult }>(\n          postAdminPlanBundlesPublish,\n          {\n            body: {\n              data: {\n                bundle: bundle as unknown as { [key: string]: unknown },\n                dry_run: opts?.dryRun ?? false,\n                ack_below_floor: opts?.ackBelowFloor ?? false,\n                reason: opts?.reason ?? null,\n                application_id: opts?.applicationId ?? null,\n              },\n            },\n          },\n          options,\n        );\n        return (result as unknown as { result: PlanBundlePublishResult })\n          .result;\n      },\n\n      /**\n       * CFO modeling for a plan bundle. Pure computation — no side effects.\n       *\n       * Computes per-tier expected wholesale spend, retail revenue, blended\n       * margin, and sensitivity bands (±20% / ±50% on cost basis and usage).\n       * Optionally accepts a `mix` parameter describing the tier-mix\n       * assumption; defaults to a sample mix derived from\n       * `plan.capability_tiers`.\n       *\n       * @param bundle - The PlanBundleSpec to model.\n       * @param mix - Optional tier-mix assumption. Falls back to defaults.\n       * @param options - Optional request options.\n       * @returns Per-tier economics + blended margin + sensitivity bands.\n       *\n       * @example\n       * ```typescript\n       * const preview = await admin.billing.planBundles.previewEconomics(\n       *   bundle,\n       *   { core: { count: 100 }, premium: { count: 10 } },\n       * );\n       * console.log(preview.blended_margin_pct);\n       * ```\n       */\n      previewEconomics: async (\n        bundle: PlanBundleSpec,\n        mix?: PlanBundleMix,\n        options?: RequestOptions,\n      ): Promise<{ [key: string]: unknown }> => {\n        const result = await rb.execute<{ result: { [key: string]: unknown } }>(\n          postAdminPlanBundlesPreviewEconomics,\n          {\n            body: {\n              data: {\n                bundle: bundle as unknown as { [key: string]: unknown },\n                mix: (mix ?? null) as unknown as { [key: string]: unknown },\n              },\n            },\n          },\n          options,\n        );\n        return (result as unknown as { result: { [key: string]: unknown } })\n          .result;\n      },\n\n      /**\n       * Returns the four starter plan-bundle templates. Every numeric and\n       * money field is `\"placeholder_unset\"` — the ISV MUST replace every\n       * placeholder before calling `publish()` (which refuses to publish a\n       * bundle containing the sentinel).\n       *\n       * @param filter - Optional `vertical` filter.\n       * @param options - Optional request options.\n       * @returns Array of `PlanBundleTemplate` records.\n       *\n       * @example\n       * ```typescript\n       * const all = await admin.billing.planBundles.listTemplates();\n       * const saas = await admin.billing.planBundles.listTemplates({\n       *   vertical: \"vertical-saas\",\n       * });\n       * ```\n       */\n      listTemplates: async (\n        filter?: { vertical?: string },\n        options?: RequestOptions,\n      ): Promise<PlanBundleTemplate[]> => {\n        const result = await rb.execute<{\n          result: { templates: PlanBundleTemplate[]; count: number };\n        }>(\n          getAdminPlanBundlesTemplates,\n          filter?.vertical ? { query: { vertical: filter.vertical } } : {},\n          options,\n        );\n        return (\n          result as unknown as { result: { templates: PlanBundleTemplate[] } }\n        ).result.templates;\n      },\n\n      /**\n       * Four-gate resolver answering \"can this capability be enabled for this\n       * Application (and optionally this Plan)?\". Replaces the manual\n       * reproduction of the gating chain by dashboards.\n       *\n       * Gates evaluated:\n       *   1. `wholesale_agreement.permitted_capability_tiers`\n       *   2. `application.bundles` (via `enabled_capabilities`)\n       *   3. `plan.capability_tiers` (skipped when `planSlug` omitted)\n       *   4. `feature_definition.platform_capability` (skipped when no\n       *      FeatureDefinition references this capability)\n       *\n       * @param args - `applicationId` + `capabilityKey` (required), `planSlug` (optional).\n       * @param options - Optional request options.\n       * @returns Per-gate breakdown with `allowed` boolean.\n       *\n       * @example\n       * ```typescript\n       * const verdict = await admin.billing.planBundles.canEnable({\n       *   applicationId: \"app-uuid\",\n       *   planSlug: \"pro\",\n       *   capabilityKey: \"news_monitoring\",\n       * });\n       * if (!verdict.allowed) console.log(verdict.checks);\n       * ```\n       */\n      canEnable: async (\n        args: {\n          applicationId: string;\n          capabilityKey: string;\n          planSlug?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<CanEnableResult> => {\n        const query: { [key: string]: string } = {\n          application_id: args.applicationId,\n          capability_key: args.capabilityKey,\n        };\n        if (args.planSlug) query.plan_slug = args.planSlug;\n\n        const result = await rb.execute<{ result: CanEnableResult }>(\n          getAdminPlanBundlesCanEnable,\n          { query },\n          options,\n        );\n        return (result as unknown as { result: CanEnableResult }).result;\n      },\n    },\n\n    /**\n     * Capability-revocation cascade management — dry-run preview and listing\n     * of subscriptions in the capability-revocation grace period.\n     *\n     * Use before calling `Tenancy.disable_capability` to assess billing impact.\n     * Zero `affected_count` means the disable is safe to proceed without notifying tenants.\n     */\n    capabilityRevocations: {\n      /**\n       * Preview which subscriptions would be affected by disabling a capability\n       * on an Application, **without applying any changes**.\n       *\n       * Delegates to the server-side `CapabilityRevocationCascade` with\n       * `dry_run: true`. No subscriptions are transitioned, no events are emitted,\n       * and no tenant notifications fire.\n       *\n       * Requires a `sk_sys_` platform-admin API key.\n       *\n       * @param applicationId - UUID of the Application whose capability is being\n       *   considered for disablement.\n       * @param capability - The capability atom name (e.g. `\"meeting_intelligence\"`).\n       * @param options - Optional request-level overrides.\n       * @returns A {@link CapabilityRevocationPreview} with `affected_count` and\n       *   `subscription_ids` — review before calling `disable_capability`.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_sys_...' });\n       *\n       * // Safe-check before disabling the capability on the Application.\n       * const preview = await admin.billing.capabilityRevocations.previewCascade(\n       *   'app-uuid-here',\n       *   'meeting_intelligence',\n       * );\n       *\n       * if (preview.affected_count > 0) {\n       *   console.log(`⚠️  ${preview.affected_count} subscriptions will enter grace period:`);\n       *   preview.subscription_ids.forEach(id => console.log(`  - ${id}`));\n       * } else {\n       *   console.log('✓ No active subscriptions affected — safe to disable.');\n       * }\n       * ```\n       */\n      previewCascade: async (\n        applicationId: string,\n        capability: string,\n        options?: RequestOptions,\n      ): Promise<CapabilityRevocationPreview> => {\n        const result = await rb.execute<{\n          result: CapabilityRevocationPreview;\n        }>(\n          postAdminBillingCapabilityRevocationsPreviewCascade,\n          {\n            body: {\n              data: { application_id: applicationId, capability },\n            },\n          },\n          options,\n        );\n        return (result as unknown as { result: CapabilityRevocationPreview })\n          .result;\n      },\n    },\n\n    /**\n     * Subscriptions namespace — manage and query billing subscriptions.\n     *\n     * The `listCapabilityRevoked` method lists subscriptions in the\n     * `:capability_revoked_grace` state (and optionally `:canceled_capability_revoked`)\n     * for platform-admin triage after an ISV disables a capability.\n     *\n     * The `listSubscriptionsByPlanRevision` method lists subscribers pinned to\n     * a specific Plan revision — used to audit which subscribers remain on the\n     * old pricing terms before deprecating or sunsetting a plan.\n     */\n    subscriptions: {\n      /**\n       * List subscriptions in the capability-revocation grace period.\n       *\n       * Defaults to grace-only (`:capability_revoked_grace`). Pass\n       * `includeCanceled: true` to also return `:canceled_capability_revoked`\n       * subscriptions that already passed their `current_period_end`.\n       *\n       * Both `applicationId` and `capability` are optional filters. Omit both\n       * to list all revoked subscriptions across the platform.\n       *\n       * Requires a `sk_sys_` platform-admin API key.\n       *\n       * @param filters - Optional filter parameters.\n       * @param filters.applicationId - Scope to subscriptions whose plan belongs\n       *   to a specific Application UUID.\n       * @param filters.capability - Scope to a specific revoked capability name\n       *   (e.g. `\"meeting_intelligence\"`).\n       * @param filters.includeCanceled - When `true`, includes\n       *   `:canceled_capability_revoked` subscriptions (default: `false`).\n       * @param options - Optional request-level overrides.\n       * @returns An array of {@link Subscription} objects in revocation state,\n       *   sorted by `revoked_at` descending.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_sys_...' });\n       *\n       * // List all grace-period subscriptions for an Application.\n       * const graceList = await admin.billing.subscriptions.listCapabilityRevoked({\n       *   applicationId: 'app-uuid-here',\n       * });\n       * console.log(`${graceList.length} subscriptions in grace period`);\n       *\n       * // Also include already-canceled ones for full audit.\n       * const fullList = await admin.billing.subscriptions.listCapabilityRevoked({\n       *   applicationId: 'app-uuid-here',\n       *   capability: 'meeting_intelligence',\n       *   includeCanceled: true,\n       * });\n       * ```\n       */\n      listCapabilityRevoked: async (\n        filters?: {\n          applicationId?: string;\n          capability?: string;\n          includeCanceled?: boolean;\n        },\n        options?: RequestOptions,\n      ): Promise<Subscription[]> => {\n        const query: Record<string, unknown> = {};\n        if (filters?.applicationId !== undefined) {\n          query.application_id = filters.applicationId;\n        }\n        if (filters?.capability !== undefined) {\n          query.capability = filters.capability;\n        }\n        if (filters?.includeCanceled === true) {\n          query.include_canceled = true;\n        }\n        return rb.execute<Subscription[]>(\n          getAdminSubscriptionsCapabilityRevoked,\n          Object.keys(query).length > 0 ? { query } : {},\n          options,\n        );\n      },\n\n      /**\n       * List subscriptions pinned to a specific Plan revision.\n       *\n       * Each Subscription carries an immutable `plan_revision_id` audit tag of\n       * the form `\"<plan_slug>:<plan_updated_at_unix_microseconds>\"` captured\n       * at create time (Phase 1 of the plan-versioning pin-policy work). When\n       * an ISV edits a Plan, existing subscribers keep their original pinned\n       * revision; only NEW subscribers see the new revision. This method lets\n       * the ISV (or platform admin) enumerate subscribers grouped by which\n       * revision they are still on — useful for deciding whether the old\n       * revision is sparse enough to deprecate the plan, or for force-migrating\n       * stragglers off an outdated revision before sunset.\n       *\n       * Internally calls `GET /admin/subscriptions?filter[plan_id]=…&filter[plan_revision_id]=…`.\n       * The Subscription resource exposes `plan_id` and `plan_revision_id` as\n       * public attributes, so AshJsonApi's default filter parser handles this\n       * with no extra read action.\n       *\n       * Pass `revisionId` to scope to a single revision; omit it to return all\n       * subscribers on the plan regardless of revision (group the results by\n       * `attributes.plan_revision_id` client-side to inspect drift).\n       *\n       * Requires Platform Admin or the Application Owner whose application\n       * owns the plan.\n       *\n       * @param planId - UUID of the Plan to scope to.\n       * @param revisionId - Optional `<slug>:<unix_microseconds>` revision tag.\n       *   Omit to return all subscribers on the plan regardless of revision.\n       * @param options - Optional request-level overrides.\n       * @returns Array of {@link Subscription} objects (single page; the\n       *   underlying `GET /admin/subscriptions` supports JSON:API pagination\n       *   via `options.query.page` if a deeper drill-in is needed).\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * // Find every subscriber still pinned to the pre-price-bump revision\n       * // before we sunset the plan.\n       * const stale = await admin.billing.subscriptions\n       *   .listSubscriptionsByPlanRevision(\n       *     'plan-uuid',\n       *     'pro-monthly:1715812345678901',\n       *   );\n       * console.log(`${stale.length} subscribers still on the old revision`);\n       *\n       * // Snapshot all subscribers on the plan and bucket them by revision.\n       * const all = await admin.billing.subscriptions\n       *   .listSubscriptionsByPlanRevision('plan-uuid');\n       * const byRevision = all.reduce<Record<string, number>>((acc, sub) => {\n       *   const rev = sub.attributes?.plan_revision_id ?? '(unpinned)';\n       *   acc[rev] = (acc[rev] ?? 0) + 1;\n       *   return acc;\n       * }, {});\n       * console.log(byRevision);\n       * ```\n       */\n      listSubscriptionsByPlanRevision: async (\n        planId: string,\n        revisionId?: string,\n        options?: RequestOptions,\n      ): Promise<Subscription[]> => {\n        const filter: Record<string, string> = { plan_id: planId };\n        if (revisionId !== undefined) {\n          filter.plan_revision_id = revisionId;\n        }\n        return rb.execute<Subscription[]>(\n          getAdminSubscriptions,\n          { query: { filter } },\n          options,\n        );\n      },\n\n      /**\n       * Set per-subscription rate-limit overrides.\n       *\n       * Restricted to Platform Admin and Application Owner. Tenant owners\n       * are forbidden — overrides are platform/ISV concessions, not\n       * customer-writable. Pass any subset of the three override fields;\n       * `null` clears an existing override and the subscription falls back\n       * to the plan-level limit. Resolution chain (first non-nil):\n       *\n       *   subscription override > plan default > per-ApiKey override\n       *     > plug-static default\n       *\n       * Calls `PATCH /admin/subscriptions/:id/set-rate-limit-overrides`.\n       *\n       * @param subscriptionId - UUID of the subscription to update.\n       * @param overrides - Override values. `null` clears; `undefined` is a\n       *   no-op (only the keys you supply are touched).\n       * @param options - Optional request-level overrides.\n       * @returns The updated {@link Subscription} with the new override values.\n       *\n       * @example\n       * ```typescript\n       * // Tighten one tenant to 50 req/min for the next billing cycle.\n       * await admin.billing.subscriptions.setRateLimitOverrides(\n       *   subscriptionId,\n       *   {\n       *     rate_limit_requests_override: 50,\n       *     rate_limit_period_seconds_override: 60,\n       *   },\n       * );\n       *\n       * // Clear all overrides (subscription returns to plan defaults).\n       * await admin.billing.subscriptions.setRateLimitOverrides(\n       *   subscriptionId,\n       *   {\n       *     rate_limit_requests_override: null,\n       *     rate_limit_period_seconds_override: null,\n       *     concurrent_operations_limit_override: null,\n       *   },\n       * );\n       * ```\n       */\n      setRateLimitOverrides: async (\n        subscriptionId: string,\n        overrides: {\n          rate_limit_requests_override?: number | null;\n          rate_limit_period_seconds_override?: number | null;\n          concurrent_operations_limit_override?: number | null;\n        },\n        options?: RequestOptions,\n      ): Promise<Subscription> => {\n        return rb.execute<Subscription>(\n          patchAdminSubscriptionsByIdSetRateLimitOverrides,\n          {\n            path: { id: subscriptionId },\n            body: {\n              data: {\n                id: subscriptionId,\n                type: \"subscription\",\n                attributes: overrides,\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n  };\n}\n\n/** Attributes for creating a composite operation. */\nexport type CreateCompositeOperationAttributes = {\n  key: string;\n  display_name: string;\n  application_id?: string;\n  description?: string;\n  components?: Array<{\n    operation_key: string;\n    quantity: number;\n    unit?: string;\n  }>;\n  default_model?: string;\n  is_public?: boolean;\n  sort_order?: number;\n};\n\n/** Response from the estimate-capacity endpoint. */\nexport interface EstimateCapacityResponse {\n  credit_budget: number;\n  capacity: Array<{\n    operation_key: string;\n    display_name: string;\n    allocated_credits: number;\n    credits_per_use: number;\n    estimated_count: number;\n    is_estimate: boolean;\n  }>;\n  is_estimate: boolean;\n}\n\n/**\n * Aggregate-authoring spec for `admin.billing.planBundles.publish` /\n * `previewEconomics`. Mirrors the §4.10 contract: a single payload composing\n * Plan + FeatureDefinitions + PlanFeatureAllocations + CompositeOperations +\n * CreditPackages + PricingStrategies.\n *\n * The fields are intentionally loose-typed (the server-side Ash resources are\n * the source of truth for nested shapes — see `lib/gpt_core/billing/`).\n * Replace `placeholder_unset` sentinel values returned by `listTemplates()`\n * before calling `publish()`.\n */\nexport interface PlanBundleSpec {\n  plan: {\n    slug: string;\n    name?: string;\n    monthly_price?: { amount: string; currency: string };\n    monthly_credits?: number;\n    capability_tiers?: string[];\n    [key: string]: unknown;\n  };\n  feature_definitions?: Array<{\n    key: string;\n    platform_capability?: string;\n    [key: string]: unknown;\n  }>;\n  plan_feature_allocations?: Array<{\n    feature_key: string;\n    credit_cost?: number;\n    enabled?: boolean;\n    [key: string]: unknown;\n  }>;\n  composite_operations?: Array<{\n    key?: string;\n    feature_key?: string;\n    components?: Array<{\n      operation_key: string;\n      quantity: number;\n      unit?: string;\n    }>;\n    [key: string]: unknown;\n  }>;\n  credit_packages?: Array<{\n    slug: string;\n    credits: number;\n    price?: { amount: string; currency: string };\n    [key: string]: unknown;\n  }>;\n  pricing_strategies?: Array<{\n    service_id: string;\n    [key: string]: unknown;\n  }>;\n}\n\n/**\n * Tier-mix assumption supplied to `previewEconomics`. Keys are tier slugs\n * (`\"core\"`, `\"standard\"`, `\"premium\"`); values are per-tier subscriber\n * counts and average ops/month per feature. When omitted, the server uses\n * a sample mix derived from `plan.capability_tiers`.\n */\nexport interface PlanBundleMix {\n  [tier_slug: string]: {\n    count: number;\n    avg_ops_per_month?: { [feature_key: string]: number };\n  };\n}\n\n/** Optional flags accepted by `planBundles.publish()`. */\nexport interface PlanBundlePublishOptions {\n  /** Run the §4.9 pre-publish checklist without persisting. */\n  dryRun?: boolean;\n  /** Override the §4.5 margin floor hard-block. Requires `reason`. */\n  ackBelowFloor?: boolean;\n  /** ≤ 280 chars. Required when `ackBelowFloor: true`. */\n  reason?: string;\n  /** Resolved from the x-application-key header when omitted. */\n  applicationId?: string;\n}\n\n/** Result envelope returned by `planBundles.publish()`. */\nexport interface PlanBundlePublishResult {\n  status: \"ok\" | \"dry_run\" | \"below_floor_blocked\";\n  entity_ids: {\n    plan_id: string | null;\n    feature_definition_ids: string[];\n    plan_feature_allocation_ids: string[];\n    composite_operation_ids: string[];\n    credit_package_ids: string[];\n    pricing_strategy_ids: string[];\n  };\n  checklist: {\n    gate_1_capability_refs: string;\n    gate_2_permitted_tiers: string;\n    gate_3_schedule_a_ops: string;\n    gate_4_margin_floor: string;\n    gate_5_placeholder_unset: string;\n  };\n  audit_event_emitted: boolean;\n  audit_row_id: string | null;\n}\n\n/** Single template entry returned by `planBundles.listTemplates()`. */\nexport interface PlanBundleTemplate {\n  slug: string;\n  vertical?: string;\n  pattern?: string;\n  description?: string;\n  schema_version?: string;\n  bundle: PlanBundleSpec;\n  [key: string]: unknown;\n}\n\n/** Result envelope returned by `planBundles.canEnable()`. */\nexport interface CanEnableResult {\n  allowed: boolean;\n  checks: Array<{\n    gate: string;\n    status: \"pass\" | \"fail\" | \"skip\";\n    reason: string;\n  }>;\n}\n\n/**\n * Result returned by `billing.capabilityRevocations.previewCascade()`.\n *\n * Reports how many subscriptions would enter the `:capability_revoked_grace`\n * period if the capability were disabled, and which subscription IDs they are.\n * `dry_run` is always `true` — no changes are applied.\n */\nexport interface CapabilityRevocationPreview {\n  /** Number of active subscriptions that would be affected. */\n  affected_count: number;\n  /** UUIDs of the affected subscriptions. */\n  subscription_ids: string[];\n  /** Always `true` for this operation. */\n  dry_run: true;\n}\n","// Hand-maintained — safe to edit directly.\n// Admin Portal namespace for managing invitations and change requests.\n\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n// --- Response types ---\n\nexport interface PortalInvitation {\n  id: string;\n  type: \"portal-invitation\";\n  attributes: {\n    email: string;\n    expires_at: string;\n    accepted_at: string | null;\n    inserted_at: string;\n    updated_at: string;\n  };\n  relationships?: {\n    tenant?: { data: { id: string; type: string } };\n    invited_by?: { data: { id: string; type: string } };\n  };\n}\n\nexport interface PortalChangeRequest {\n  id: string;\n  type: \"portal-change-request\";\n  attributes: {\n    field_name: string;\n    old_value: string | null;\n    new_value: string;\n    status: string;\n    reviewed_at: string | null;\n    inserted_at: string;\n    updated_at: string;\n  };\n  relationships?: {\n    portal_user?: { data: { id: string; type: string } };\n    tenant?: { data: { id: string; type: string } };\n    reviewed_by?: { data: { id: string; type: string } | null };\n  };\n}\n\nexport function createPortalNamespace(rb: RequestBuilder) {\n  return {\n    invitations: {\n      /**\n       * List all portal invitations.\n       */\n      list: async (options?: RequestOptions): Promise<PortalInvitation[]> => {\n        const response = await rb.rawGet<{ data: PortalInvitation[] }>(\n          \"/portal-invitations\",\n          options,\n        );\n        return response.data;\n      },\n\n      /**\n       * Create a new portal invitation.\n       * @param email - Email to invite\n       * @param tenantId - Tenant to invite into\n       * @param invitedById - User who is sending the invitation\n       */\n      create: async (\n        email: string,\n        tenantId: string,\n        invitedById: string,\n        options?: RequestOptions,\n      ): Promise<PortalInvitation> => {\n        const response = await rb.rawPost<{ data: PortalInvitation }>(\n          \"/portal-invitations\",\n          {\n            data: {\n              type: \"portal-invitation\",\n              attributes: {\n                email,\n                tenant_id: tenantId,\n                invited_by_id: invitedById,\n              },\n            },\n          },\n          options,\n        );\n        return response.data;\n      },\n\n      /**\n       * Delete a portal invitation.\n       * @param id - Invitation ID\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<void> => {\n        return rb.rawDelete(`/portal-invitations/${id}`, options);\n      },\n    },\n\n    changeRequests: {\n      /**\n       * List all portal change requests.\n       */\n      list: async (\n        options?: RequestOptions,\n      ): Promise<PortalChangeRequest[]> => {\n        const response = await rb.rawGet<{ data: PortalChangeRequest[] }>(\n          \"/portal-change-requests\",\n          options,\n        );\n        return response.data;\n      },\n\n      /**\n       * Approve a change request.\n       * @param id - Change request ID\n       * @param reviewedById - Admin user approving\n       */\n      approve: async (\n        id: string,\n        reviewedById: string,\n        options?: RequestOptions,\n      ): Promise<PortalChangeRequest> => {\n        const response = await rb.rawPatch<{ data: PortalChangeRequest }>(\n          `/portal-change-requests/${id}/approve`,\n          {\n            data: {\n              type: \"portal-change-request\",\n              id,\n              attributes: { reviewed_by_id: reviewedById },\n            },\n          },\n          options,\n        );\n        return response.data;\n      },\n\n      /**\n       * Reject a change request.\n       * @param id - Change request ID\n       * @param reviewedById - Admin user rejecting\n       */\n      reject: async (\n        id: string,\n        reviewedById: string,\n        options?: RequestOptions,\n      ): Promise<PortalChangeRequest> => {\n        const response = await rb.rawPatch<{ data: PortalChangeRequest }>(\n          `/portal-change-requests/${id}/reject`,\n          {\n            data: {\n              type: \"portal-change-request\",\n              id,\n              attributes: { reviewed_by_id: reviewedById },\n            },\n          },\n          options,\n        );\n        return response.data;\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport {\n  getAdminSocialAccountsWorkspaceByWorkspaceId,\n  getAdminSocialAccountsPlatformByPlatform,\n  getAdminSocialAccountsById,\n  postAdminSocialAccounts,\n  patchAdminSocialAccountsById,\n  deleteAdminSocialAccountsById,\n  patchAdminSocialAccountsByIdEnablePosting,\n  patchAdminSocialAccountsByIdDisablePosting,\n  patchAdminSocialAccountsByIdDeactivate,\n  postAdminSocialPosts,\n  getAdminSocialPostsById,\n  patchAdminSocialPostsById,\n  deleteAdminSocialPostsById,\n  patchAdminSocialPostsByIdSchedule,\n  patchAdminSocialPostsByIdPublish,\n  patchAdminSocialPostsByIdCancel,\n  patchAdminSocialPostsByIdRetry,\n  patchAdminSocialPostsByIdSeo,\n  getAdminSocialPostsScheduled,\n  getAdminSocialPostsAccountBySocialAccountId,\n  getAdminSocialPostsCampaignBySocialCampaignId,\n  getAdminSocialMetricsById,\n  getAdminSocialMetricsPostBySocialPostId,\n  getAdminSocialMetricsPostBySocialPostIdLatest,\n  getAdminSocialMetricsAccountBySocialAccountId,\n  getAdminSocialMetricsCampaignBySocialCampaignId,\n  getAdminSocialPostsWorkspaceByWorkspaceId,\n  getAdminSocialCampaigns,\n  getAdminSocialCampaignsById,\n  postAdminSocialCampaigns,\n  patchAdminSocialCampaignsById,\n  deleteAdminSocialCampaignsById,\n  patchAdminSocialCampaignsByIdSchedule,\n  patchAdminSocialCampaignsByIdCancel,\n  postAdminSocialCampaignsByIdGenerateMasterCopy,\n  postAdminSocialCampaignsByIdAdaptForPlatforms,\n  postAdminSocialCampaignsByIdPreviewAdaptations,\n  getAdminSocialTrendingHistoryById,\n  getAdminSocialTrendingHistoryWorkspaceByWorkspaceId,\n  postAdminSocialTrendingHistory,\n  deleteAdminSocialTrendingHistoryById,\n  getAdminSocialTrendingItemsById,\n  getAdminSocialTrendingItemsSnapshotBySnapshotId,\n  getAdminSocialTrendingWatchesById,\n  getAdminSocialTrendingWatchesWorkspaceByWorkspaceId,\n  postAdminSocialTrendingWatches,\n  patchAdminSocialTrendingWatchesById,\n  deleteAdminSocialTrendingWatchesById,\n  patchAdminSocialTrendingWatchesByIdMarkTriggered,\n  getAdminSocialTrendingHistoryRange,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n// ── Typed attribute interfaces ──────────────────────────────────────────────\n// These match the `accept` lists on the corresponding Ash resource actions.\n// workspace_id is NEVER an accepted attribute on CRUD actions — it is resolved\n// from the authenticated actor's context.\n\n/** Attributes accepted by `POST /social/accounts` (create action). */\nexport interface SocialAccountCreateAttributes {\n  platform: string;\n  platform_user_id?: string;\n  display_name?: string;\n  avatar_url?: string;\n  account_type?: string;\n  is_active?: boolean;\n  posting_enabled?: boolean;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes accepted by `PATCH /social/accounts/:id` (update action). */\nexport interface SocialAccountUpdateAttributes {\n  display_name?: string;\n  avatar_url?: string;\n  metadata?: Record<string, unknown>;\n  last_verified_at?: string;\n}\n\n/** Attributes accepted by `POST /social/posts` (create action). */\nexport interface SocialPostCreateAttributes {\n  platform: string;\n  content: string;\n  media_urls?: string[];\n  hashtags?: string[];\n  link_url?: string;\n  link_metadata?: Record<string, unknown>;\n  max_retries?: number;\n  social_account_id: string;\n  social_campaign_id?: string;\n}\n\n/** Attributes accepted by `PATCH /social/posts/:id` (update action). */\nexport interface SocialPostUpdateAttributes {\n  content?: string;\n  media_urls?: string[];\n  hashtags?: string[];\n  link_url?: string;\n  link_metadata?: Record<string, unknown>;\n  platform_metadata?: Record<string, unknown>;\n}\n\n/** Attributes accepted by `POST /social/campaigns` (create action). */\nexport interface SocialCampaignCreateAttributes {\n  /** Required. Campaign name. */\n  name: string;\n  /** Content brief that the AI will use to generate master copy. */\n  content_brief?: string;\n  /** Target platforms, e.g. [\"twitter\", \"linkedin\", \"instagram\"]. */\n  target_platforms?: string[];\n  /** Media URLs to include in generated posts. */\n  media_urls?: string[];\n  /** SEO keywords for content optimization. */\n  seo_keywords?: string[];\n  /** Optional brand identity UUID for tone/style guidance. */\n  brand_identity_id?: string;\n}\n\n/** Attributes accepted by `PATCH /social/campaigns/:id` (update action). */\nexport interface SocialCampaignUpdateAttributes {\n  name?: string;\n  content_brief?: string;\n  target_platforms?: string[];\n  media_urls?: string[];\n  seo_keywords?: string[];\n  brand_identity_id?: string;\n}\n\n/**\n * Social media management namespace — accounts, posts, metrics, and campaigns.\n *\n * Covers the full social publishing lifecycle: connect accounts, create and\n * schedule posts, collect engagement metrics, and run AI-powered social campaigns.\n *\n * @example\n * ```typescript\n * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n *\n * // List connected accounts\n * const accounts = await admin.social.accounts.listByWorkspace('ws_abc');\n *\n * // Create and schedule a post\n * const post = await admin.social.posts.create({ ... });\n * await admin.social.posts.schedule(post.id, '2026-03-10T12:00:00Z');\n *\n * // Get latest metrics\n * const metrics = await admin.social.metrics.latestForPost(post.id);\n * ```\n */\nexport function createSocialNamespace(rb: RequestBuilder) {\n  return {\n    /** Social account management — connect, enable/disable, and deactivate accounts. */\n    accounts: {\n      /** List social accounts for a workspace. */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSocialAccountsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /** List social accounts by platform (e.g. \"twitter\", \"instagram\"). */\n      listByPlatform: async (platform: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSocialAccountsPlatformByPlatform,\n          { path: { platform } },\n          options,\n        );\n      },\n\n      /** Get a single social account by ID. */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSocialAccountsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Connect a new social account. */\n      create: async (\n        attributes: SocialAccountCreateAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSocialAccounts,\n          {\n            body: {\n              data: { type: \"social-account\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Update a social account. */\n      update: async (\n        id: string,\n        attributes: SocialAccountUpdateAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSocialAccountsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"social-account\", id, attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Delete a social account. */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminSocialAccountsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Enable posting on an account. */\n      enablePosting: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          patchAdminSocialAccountsByIdEnablePosting,\n          {\n            path: { id },\n            body: {\n              data: { type: \"social-account\", id, attributes: {} },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Disable posting on an account. */\n      disablePosting: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          patchAdminSocialAccountsByIdDisablePosting,\n          {\n            path: { id },\n            body: {\n              data: { type: \"social-account\", id, attributes: {} },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Deactivate (disconnect) an account. */\n      deactivate: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          patchAdminSocialAccountsByIdDeactivate,\n          {\n            path: { id },\n            body: {\n              data: { type: \"social-account\", id, attributes: {} },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /** Social post management — create, schedule, publish, cancel, and retry posts. */\n    posts: {\n      /** Create a new social post draft. */\n      create: async (\n        attributes: SocialPostCreateAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSocialPosts,\n          {\n            body: {\n              data: { type: \"social-post\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Get a single post by ID. */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(getAdminSocialPostsById, { path: { id } }, options);\n      },\n\n      /** Update a draft post. */\n      update: async (\n        id: string,\n        attributes: SocialPostUpdateAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSocialPostsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"social-post\", id, attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Delete a post. */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminSocialPostsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Schedule a post for future publishing. */\n      schedule: async (\n        id: string,\n        scheduledAt: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSocialPostsByIdSchedule,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"social-post\",\n                id,\n                attributes: { scheduled_at: scheduledAt },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Publish a post immediately. */\n      publishNow: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          patchAdminSocialPostsByIdPublish,\n          {\n            path: { id },\n            body: {\n              data: { type: \"social-post\", id, attributes: {} },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Cancel a scheduled or draft post. */\n      cancel: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          patchAdminSocialPostsByIdCancel,\n          {\n            path: { id },\n            body: {\n              data: { type: \"social-post\", id, attributes: {} },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Retry a failed post. */\n      retry: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          patchAdminSocialPostsByIdRetry,\n          {\n            path: { id },\n            body: {\n              data: { type: \"social-post\", id, attributes: {} },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Update SEO metadata on a post. */\n      updateSeo: async (\n        id: string,\n        attributes: {\n          seo_score?: number;\n          seo_analysis?: Record<string, unknown>;\n        },\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSocialPostsByIdSeo,\n          {\n            path: { id },\n            body: {\n              data: { type: \"social-post\", id, attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /** List scheduled posts. */\n      listScheduled: async (options?: RequestOptions) => {\n        return rb.execute(getAdminSocialPostsScheduled, {}, options);\n      },\n\n      /** List posts by account. */\n      listByAccount: async (\n        socialAccountId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSocialPostsAccountBySocialAccountId,\n          { path: { social_account_id: socialAccountId } },\n          options,\n        );\n      },\n\n      /** List posts by campaign. */\n      listByCampaign: async (\n        socialCampaignId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSocialPostsCampaignBySocialCampaignId,\n          { path: { social_campaign_id: socialCampaignId } },\n          options,\n        );\n      },\n\n      /** List all posts for a workspace. */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSocialPostsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n    },\n\n    /** Post engagement metrics — impressions, reach, likes, comments, and more. */\n    metrics: {\n      /** Get a single metric record by ID. */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(getAdminSocialMetricsById, { path: { id } }, options);\n      },\n\n      /** List all metrics for a post. */\n      listByPost: async (socialPostId: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSocialMetricsPostBySocialPostId,\n          { path: { social_post_id: socialPostId } },\n          options,\n        );\n      },\n\n      /** Get the latest metric per collection window for a post. */\n      latestForPost: async (socialPostId: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSocialMetricsPostBySocialPostIdLatest,\n          { path: { social_post_id: socialPostId } },\n          options,\n        );\n      },\n\n      /** Aggregate metrics across all posts for a social account. */\n      byAccount: async (socialAccountId: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSocialMetricsAccountBySocialAccountId,\n          { path: { social_account_id: socialAccountId } },\n          options,\n        );\n      },\n\n      /** Aggregate metrics across all posts in a social campaign. */\n      byCampaign: async (\n        socialCampaignId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSocialMetricsCampaignBySocialCampaignId,\n          { path: { social_campaign_id: socialCampaignId } },\n          options,\n        );\n      },\n    },\n\n    /** AI-powered social campaigns — generate master copy and adapt for platforms. */\n    campaigns: {\n      /**\n       * List all social campaigns across workspaces.\n       *\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to an array of social campaign records.\n       */\n      list: async (options?: RequestOptions) => {\n        return rb.execute(getAdminSocialCampaigns, {}, options);\n      },\n\n      /**\n       * Fetch a single social campaign by its unique ID.\n       *\n       * @param id - The unique identifier of the social campaign to retrieve.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching social campaign record.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSocialCampaignsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new social campaign.\n       *\n       * The campaign starts in `draft` status. Use `generateMasterCopy` to\n       * produce AI-generated content from the content brief, then\n       * `adaptForPlatforms` to create platform-specific posts.\n       *\n       * @param workspaceId - Workspace ID (passed as query parameter for tenant resolution).\n       * @param attributes - Campaign attributes (name, content_brief, etc.).\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created social campaign record.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const campaign = await admin.social.campaigns.create('ws_abc123', {\n       *   name: 'Product Launch',\n       *   content_brief: 'Exciting new features for Q2',\n       *   target_platforms: ['instagram', 'linkedin'],\n       * });\n       * ```\n       */\n      create: async (\n        workspaceId: string,\n        attributes: SocialCampaignCreateAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSocialCampaigns,\n          {\n            query: { workspace_id: workspaceId },\n            body: {\n              data: { type: \"social-campaign\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing social campaign's attributes (PATCH semantics).\n       *\n       * @param id - The unique identifier of the social campaign to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated social campaign record.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const updated = await admin.social.campaigns.update('sc_abc123', {\n       *   content_brief: 'Updated brief with new messaging',\n       *   target_platforms: ['instagram', 'linkedin', 'twitter'],\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: SocialCampaignUpdateAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSocialCampaignsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"social-campaign\", id, attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a social campaign.\n       *\n       * @param id - The unique identifier of the social campaign to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves once the campaign has been deleted.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * await admin.social.campaigns.delete('sc_abc123');\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminSocialCampaignsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Schedule a social campaign for future publishing.\n       *\n       * Transitions the campaign to `scheduled` status with the given timestamp.\n       *\n       * @param id - The unique identifier of the social campaign to schedule.\n       * @param scheduledAt - The ISO 8601 datetime at which to publish the campaign.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated social campaign record.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const scheduled = await admin.social.campaigns.schedule(\n       *   'sc_abc123',\n       *   '2026-04-01T09:00:00Z',\n       * );\n       * ```\n       */\n      schedule: async (\n        id: string,\n        scheduledAt: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSocialCampaignsByIdSchedule,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"social-campaign\",\n                id,\n                attributes: { scheduled_at: scheduledAt },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Cancel a social campaign.\n       *\n       * Only campaigns in `draft`, `generating`, `review`, or `scheduled`\n       * status can be cancelled.\n       *\n       * @param id - The unique identifier of the social campaign to cancel.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated social campaign record.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const cancelled = await admin.social.campaigns.cancel('sc_abc123');\n       * console.log(cancelled.attributes.status); // 'cancelled'\n       * ```\n       */\n      cancel: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          patchAdminSocialCampaignsByIdCancel,\n          {\n            path: { id },\n            body: {\n              data: { type: \"social-campaign\", id, attributes: {} },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Generate master copy from the campaign's content brief using AI.\n       *\n       * Transitions the campaign to `review` status on success. The generated\n       * master copy is stored on the campaign and can then be adapted for\n       * individual platforms via `adaptForPlatforms`.\n       *\n       * @param id - The unique identifier of the social campaign.\n       * @param workspaceId - The workspace ID that owns the campaign.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the generation result including master copy text.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const result = await admin.social.campaigns.generateMasterCopy(\n       *   'sc_abc123',\n       *   'ws_abc123',\n       * );\n       * console.log(result.master_copy);\n       * ```\n       */\n      generateMasterCopy: async (\n        id: string,\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSocialCampaignsByIdGenerateMasterCopy,\n          {\n            path: { id },\n            body: {\n              data: {\n                campaign_id: id,\n                workspace_id: workspaceId,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Adapt the campaign's master copy for each target platform.\n       *\n       * Creates individual SocialPost draft records for each platform with\n       * platform-appropriate tone, length, and formatting.\n       *\n       * @param id - The unique identifier of the social campaign.\n       * @param workspaceId - The workspace ID that owns the campaign.\n       * @param socialAccountId - The social account to attribute the created posts to.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the adaptation result with post creation counts.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const result = await admin.social.campaigns.adaptForPlatforms(\n       *   'sc_abc123',\n       *   'ws_abc123',\n       *   'sa_xyz',\n       * );\n       * console.log(result.posts_created, result.failures);\n       * ```\n       */\n      adaptForPlatforms: async (\n        id: string,\n        workspaceId: string,\n        socialAccountId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSocialCampaignsByIdAdaptForPlatforms,\n          {\n            path: { id },\n            body: {\n              data: {\n                campaign_id: id,\n                workspace_id: workspaceId,\n                social_account_id: socialAccountId,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Preview adapted copy per platform without creating SocialPost records.\n       *\n       * Returns the AI-adapted text for each target platform so the user can\n       * review before committing via `adaptForPlatforms`.\n       *\n       * @param id - Campaign UUID.\n       * @param workspaceId - Workspace UUID.\n       * @param options - Optional request options.\n       * @returns `{ adaptations: [{ platform: string, content: string }] }`\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       *\n       * const result = await admin.social.campaigns.previewAdaptations(\n       *   'sc_abc123',\n       *   'ws_abc123',\n       * );\n       * console.log(result.adaptations); // [{platform: 'instagram', content: '...'}, ...]\n       * ```\n       */\n      previewAdaptations: async (\n        id: string,\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSocialCampaignsByIdPreviewAdaptations,\n          {\n            path: { id },\n            body: {\n              data: {\n                campaign_id: id,\n                workspace_id: workspaceId,\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /** Trending content discovery — snapshots, items, and watch alerts. */\n    trending: {\n      /**\n       * Get a trending snapshot by ID.\n       * @param id - Snapshot UUID\n       * @returns TrendingSnapshot with metadata (query, enrichment level, item count)\n       * @example\n       * ```typescript\n       * const snapshot = await admin.social.trending.get('snap_abc');\n       * ```\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSocialTrendingHistoryById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List trending snapshots for a workspace.\n       * @param workspaceId - Workspace UUID\n       * @returns Array of TrendingSnapshot records\n       * @example\n       * ```typescript\n       * const snapshots = await admin.social.trending.listByWorkspace('ws_abc');\n       * ```\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSocialTrendingHistoryWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a trending snapshot (trigger on-demand collection).\n       * @param attributes - Snapshot attributes (workspace_id, enrichment_level, etc.)\n       * @returns Created TrendingSnapshot\n       * @example\n       * ```typescript\n       * const snapshot = await admin.social.trending.create({\n       *   workspace_id: 'ws_abc',\n       *   enrichment_level: 'scored',\n       *   fetched_at: new Date().toISOString(),\n       * });\n       * ```\n       */\n      create: async (\n        attributes: {\n          workspace_id: string;\n          enrichment_level?: \"raw\" | \"scored\" | \"summarized\" | \"full\";\n          query?: string;\n          source_breakdown?: Record<string, unknown>;\n          item_count?: number;\n          fetched_at?: string;\n        },\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSocialTrendingHistory,\n          {\n            body: {\n              data: { type: \"trending-snapshot\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Delete a trending snapshot by ID. */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminSocialTrendingHistoryById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List trending snapshots within a date range.\n       * @param from - Start date (ISO 8601 string)\n       * @param to - End date (ISO 8601 string)\n       * @returns Array of TrendingSnapshot records in the range\n       * @example\n       * ```typescript\n       * const snapshots = await admin.social.trending.listByDateRange(\n       *   '2026-03-01T00:00:00Z',\n       *   '2026-03-21T23:59:59Z',\n       * );\n       * ```\n       */\n      listByDateRange: async (\n        from: string,\n        to: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSocialTrendingHistoryRange,\n          { query: { from, to } },\n          options,\n        );\n      },\n\n      /** Trending snapshot items — individual content pieces within a snapshot. */\n      items: {\n        /** Get a single trending item by ID. */\n        get: async (id: string, options?: RequestOptions) => {\n          return rb.execute(\n            getAdminSocialTrendingItemsById,\n            { path: { id } },\n            options,\n          );\n        },\n\n        /**\n         * List trending items for a snapshot.\n         * @param snapshotId - Parent snapshot UUID\n         * @returns Array of TrendingSnapshotItem records\n         * @example\n         * ```typescript\n         * const items = await admin.social.trending.items.listBySnapshot('snap_abc');\n         * ```\n         */\n        listBySnapshot: async (\n          snapshotId: string,\n          options?: RequestOptions,\n        ) => {\n          return rb.execute(\n            getAdminSocialTrendingItemsSnapshotBySnapshotId,\n            { path: { snapshot_id: snapshotId } },\n            options,\n          );\n        },\n      },\n    },\n\n    /** Trending watch alerts — monitor topics and get notified on matches. */\n    watches: {\n      /**\n       * Get a trending watch by ID.\n       * @param id - Watch UUID\n       * @returns TrendingWatch with conditions and notification config\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSocialTrendingWatchesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List trending watches for a workspace.\n       * @param workspaceId - Workspace UUID\n       * @returns Array of TrendingWatch records\n       * @example\n       * ```typescript\n       * const watches = await admin.social.watches.listByWorkspace('ws_abc');\n       * ```\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSocialTrendingWatchesWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new trending watch alert.\n       * @param attributes - Watch attributes (name, query, conditions, notification_config)\n       * @returns Created TrendingWatch\n       * @example\n       * ```typescript\n       * const watch = await admin.social.watches.create({\n       *   workspace_id: 'ws_abc',\n       *   name: 'AI Industry News',\n       *   query: 'artificial intelligence',\n       *   conditions: { min_score: 0.7 },\n       *   notification_config: { channel: 'webhook', url: 'https://...' },\n       * });\n       * ```\n       */\n      create: async (\n        attributes: {\n          workspace_id: string;\n          name: string;\n          query: string;\n          sources?: string[];\n          conditions?: Record<string, unknown>;\n          notification_config?: Record<string, unknown>;\n          enabled?: boolean;\n        },\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSocialTrendingWatches,\n          {\n            body: {\n              data: { type: \"trending-watch\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update a trending watch.\n       * @param id - Watch UUID\n       * @param attributes - Fields to update (name, query, conditions, enabled, etc.)\n       */\n      update: async (\n        id: string,\n        attributes: {\n          name?: string;\n          query?: string;\n          sources?: string[];\n          conditions?: Record<string, unknown>;\n          notification_config?: Record<string, unknown>;\n          enabled?: boolean;\n        },\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSocialTrendingWatchesById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"trending-watch\", id, attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Delete a trending watch by ID. */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminSocialTrendingWatchesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Mark a watch as triggered (updates last_triggered_at).\n       * @param id - Watch UUID\n       */\n      markTriggered: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          patchAdminSocialTrendingWatchesByIdMarkTriggered,\n          {\n            path: { id },\n            body: {\n              data: { type: \"trending-watch\", id, attributes: {} },\n            },\n          },\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport type {\n  ConnectorInstance,\n  Credential,\n  OauthAppConfig,\n  SyncLog,\n} from \"../_internal/types.gen\";\nimport {\n  getAdminConnectorsById,\n  getAdminConnectorsWorkspaceByWorkspaceId,\n  postAdminConnectors,\n  patchAdminConnectorsById,\n  deleteAdminConnectorsById,\n  getAdminConnectorsCredentials,\n  getAdminConnectorsCredentialsById,\n  postAdminConnectorsCredentialsByIdRefresh,\n  getAdminConnectorsOauthAppConfigs,\n  getAdminConnectorsOauthAppConfigsById,\n  postAdminConnectorsOauthAppConfigs,\n  patchAdminConnectorsOauthAppConfigsById,\n  deleteAdminConnectorsOauthAppConfigsById,\n  postAdminConnectorsOauthInitiate,\n  postAdminConnectorsOauthCallback,\n  getAdminConnectorsSyncLogs,\n  getAdminConnectorsSyncLogsById,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/**\n * Attributes accepted by the ConnectorInstance `:create` action.\n * Mirrors `connector_instance.ex :create accept` list.\n */\nexport interface CreateConnectorInstanceAttributes {\n  workspace_id: string;\n  name: string;\n  connector_type: string;\n  config?: Record<string, unknown>;\n  enabled?: boolean;\n  sync_interval_minutes?: number;\n  metadata?: Record<string, unknown>;\n}\n\n/**\n * Attributes accepted by the ConnectorInstance `:update` action.\n * Mirrors `connector_instance.ex :update accept` list.\n */\nexport interface UpdateConnectorInstanceAttributes {\n  name?: string;\n  config?: Record<string, unknown>;\n  enabled?: boolean;\n  sync_interval_minutes?: number;\n  health_status?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/**\n * Attributes for creating an OAuthAppConfig.\n * Mirrors `oauth_app_config.ex :create` accept list. `platform` and\n * `scope_type` are required by the resource; `application_id`/`tenant_id`\n * are required depending on `scope_type` (enforced server-side).\n */\nexport interface CreateOAuthAppConfigAttributes {\n  platform:\n    | \"facebook\"\n    | \"instagram\"\n    | \"threads\"\n    | \"twitter\"\n    | \"linkedin\"\n    | \"reddit\"\n    | \"bluesky\";\n  client_id: string;\n  client_secret: string;\n  scopes?: string[];\n  scope_type: \"application\" | \"tenant\";\n  application_id?: string;\n  tenant_id?: string;\n}\n\n/**\n * Attributes for updating an OAuthAppConfig.\n * Mirrors `oauth_app_config.ex :update` accept list.\n */\nexport interface UpdateOAuthAppConfigAttributes {\n  client_id?: string;\n  client_secret?: string;\n  scopes?: string[];\n}\n\n/** Attributes for creating a ConnectorTool via ISV API. */\nexport interface CreateConnectorToolAttributes {\n  name: string;\n  display_name: string;\n  description: string;\n  execution_type: \"http\" | \"mcp\";\n  method?: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\";\n  path_template?: string;\n  parameters?: Record<string, unknown>[];\n  request_body_schema?: Record<string, unknown>;\n  headers?: Record<string, string>;\n  mcp_server_url?: string;\n  mcp_tool_name?: string;\n  mcp_input_schema?: Record<string, unknown>;\n  timeout_ms?: number;\n  rate_limit_per_minute?: number;\n  workspace_id: string;\n}\n\n/** Attributes for updating a ConnectorTool. */\nexport interface UpdateConnectorToolAttributes {\n  display_name?: string;\n  description?: string;\n  method?: string;\n  path_template?: string;\n  parameters?: Record<string, unknown>[];\n  request_body_schema?: Record<string, unknown>;\n  headers?: Record<string, string>;\n  timeout_ms?: number;\n}\n\n/**\n * A ConnectorTool record as returned by the ISV API.\n *\n * The ISV controller (`lib/gpt_core_web/controllers/isv_connector_tool_controller.ex`)\n * is NOT an AshJsonApi endpoint — it returns a flat map wrapped in `{data: ...}`,\n * not the JSON:API `{id, type, attributes}` envelope.\n */\nexport interface ConnectorTool {\n  id: string;\n  name: string;\n  display_name: string | null;\n  description: string | null;\n  execution_type: \"http\" | \"mcp\";\n  method: string | null;\n  path_template: string | null;\n  parameters: Record<string, unknown>[] | null;\n  headers: Record<string, string> | null;\n  response_mapping: Record<string, unknown> | null;\n  request_body_schema: Record<string, unknown> | null;\n  confirmation_level: string | null;\n  rate_limit_per_minute: number | null;\n  timeout_ms: number | null;\n  retry_count: number | null;\n  retry_backoff_ms: number | null;\n  retryable_status_codes: number[] | null;\n  mock_response: Record<string, unknown> | null;\n  test_parameters: Record<string, unknown> | null;\n  source_metadata: Record<string, unknown> | null;\n  status: \"draft\" | \"active\" | \"inactive\";\n  version: number;\n  source: string | null;\n  connector_instance_id: string;\n}\n\n/**\n * Admin connectors namespace — ISV-level connector management.\n *\n * Provides full CRUD for connector instances, credentials, OAuth app configs,\n * sync logs, and ISV-defined connector tools.\n *\n * @example\n * ```typescript\n * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n *\n * // Manage OAuth app configs\n * const configs = await admin.connectors.oauthAppConfigs.list();\n *\n * // Manage ISV-defined connector tools\n * const tools = await admin.connectors.tools.list('connector-id-123');\n * ```\n */\nexport function createConnectorsNamespace(rb: RequestBuilder) {\n  return {\n    /** Connector instances — configured external system connections. */\n    instances: {\n      /**\n       * List connector instances for a workspace.\n       *\n       * @param workspaceId - UUID of the workspace whose connector instances to list.\n       * @returns Array of `ConnectorInstance` records.\n       * @example\n       * ```typescript\n       * const instances = await admin.connectors.instances.list(workspaceId);\n       * ```\n       */\n      list: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<ConnectorInstance[]> =>\n        rb.execute<ConnectorInstance[]>(\n          getAdminConnectorsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        ),\n\n      /**\n       * Get a connector instance by ID.\n       *\n       * @param id - UUID of the `ConnectorInstance` to fetch.\n       * @returns The matching `ConnectorInstance` record.\n       * @example\n       * ```typescript\n       * const instance = await admin.connectors.instances.get(instanceId);\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ConnectorInstance> =>\n        rb.execute<ConnectorInstance>(\n          getAdminConnectorsById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Create a connector instance.\n       *\n       * @param attributes - Required fields (`workspace_id`, `name`, `connector_type`) plus optional `config`, `enabled`, `sync_interval_minutes`, `metadata`.\n       * @returns The newly created `ConnectorInstance`.\n       * @example\n       * ```typescript\n       * const instance = await admin.connectors.instances.create({\n       *   workspace_id: workspaceId,\n       *   name: \"Acme Salesforce\",\n       *   connector_type: \"salesforce\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateConnectorInstanceAttributes,\n        options?: RequestOptions,\n      ): Promise<ConnectorInstance> => {\n        const {\n          workspace_id,\n          name,\n          connector_type,\n          config,\n          enabled,\n          sync_interval_minutes,\n          metadata,\n        } = attributes;\n\n        return rb.execute<ConnectorInstance>(\n          postAdminConnectors,\n          {\n            body: {\n              data: {\n                type: \"connector-instance\",\n                attributes: {\n                  workspace_id,\n                  name,\n                  connector_type,\n                  ...(config !== undefined && { config }),\n                  ...(enabled !== undefined && { enabled }),\n                  ...(sync_interval_minutes !== undefined && {\n                    sync_interval_minutes,\n                  }),\n                  ...(metadata !== undefined && { metadata }),\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update a connector instance.\n       *\n       * @param id - UUID of the `ConnectorInstance` to update.\n       * @param attributes - Mutable fields: `name`, `config`, `enabled`, `sync_interval_minutes`, `health_status`, `metadata`. Omit any field to leave it unchanged.\n       * @returns The updated `ConnectorInstance`.\n       * @example\n       * ```typescript\n       * await admin.connectors.instances.update(instanceId, {\n       *   name: \"Acme Salesforce — Production\",\n       *   enabled: true,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateConnectorInstanceAttributes,\n        options?: RequestOptions,\n      ): Promise<ConnectorInstance> => {\n        const {\n          name,\n          config,\n          enabled,\n          sync_interval_minutes,\n          health_status,\n          metadata,\n        } = attributes;\n\n        return rb.execute<ConnectorInstance>(\n          patchAdminConnectorsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"connector-instance\",\n                id,\n                attributes: {\n                  ...(name !== undefined && { name }),\n                  ...(config !== undefined && { config }),\n                  ...(enabled !== undefined && { enabled }),\n                  ...(sync_interval_minutes !== undefined && {\n                    sync_interval_minutes,\n                  }),\n                  ...(health_status !== undefined && { health_status }),\n                  ...(metadata !== undefined && { metadata }),\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a connector instance (hard delete — also destroys credentials).\n       *\n       * @param id - UUID of the `ConnectorInstance` to delete.\n       * @returns `true` once the deletion completes.\n       * @example\n       * ```typescript\n       * await admin.connectors.instances.delete(instanceId);\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> =>\n        rb.executeDelete(deleteAdminConnectorsById, { path: { id } }, options),\n    },\n\n    /** Credentials — OAuth tokens and API keys. */\n    credentials: {\n      /**\n       * List all credentials across the admin's workspaces.\n       *\n       * @param options - Optional per-request configuration (e.g. abort `signal`, extra `headers`).\n       * @returns Array of `Credential` records visible to the calling admin actor.\n       * @example\n       * ```typescript\n       * const credentials = await admin.connectors.credentials.list();\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<Credential[]> =>\n        rb.execute<Credential[]>(getAdminConnectorsCredentials, {}, options),\n\n      /**\n       * Get a credential by ID.\n       *\n       * @param id - UUID of the `Credential` to fetch.\n       * @returns The matching `Credential` record (secret material is never returned in full — only metadata).\n       * @example\n       * ```typescript\n       * const credential = await admin.connectors.credentials.get(credentialId);\n       * ```\n       */\n      get: async (id: string, options?: RequestOptions): Promise<Credential> =>\n        rb.execute<Credential>(\n          getAdminConnectorsCredentialsById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Refresh an OAuth credential, exchanging the stored refresh token for\n       * a new access token. Returns the updated credential.\n       *\n       * @param id - UUID of the `Credential` to refresh.\n       * @param workspaceId - UUID of the workspace the credential belongs to (used for tenant scoping).\n       * @returns The refreshed `Credential` with rotated access token metadata.\n       * @example\n       * ```typescript\n       * const refreshed = await admin.connectors.credentials.refresh(\n       *   credentialId,\n       *   workspaceId,\n       * );\n       * ```\n       */\n      refresh: async (\n        id: string,\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<Credential> =>\n        rb.execute<Credential>(\n          postAdminConnectorsCredentialsByIdRefresh,\n          {\n            path: { id },\n            body: {\n              data: {\n                workspace_id: workspaceId,\n              },\n            },\n          },\n          options,\n        ),\n    },\n\n    /** Sync log access — read-only audit of sync activity. */\n    sync: {\n      /**\n       * List sync logs for the admin's workspaces.\n       *\n       * @param options - Optional per-request configuration (e.g. abort `signal`, extra `headers`).\n       * @returns Array of `SyncLog` records describing recent sync activity.\n       * @example\n       * ```typescript\n       * const logs = await admin.connectors.sync.logs();\n       * ```\n       */\n      logs: async (options?: RequestOptions): Promise<SyncLog[]> =>\n        rb.execute<SyncLog[]>(getAdminConnectorsSyncLogs, {}, options),\n\n      /**\n       * Get a single sync log by ID.\n       *\n       * @param id - UUID of the `SyncLog` to fetch.\n       * @returns The matching `SyncLog` record.\n       * @example\n       * ```typescript\n       * const log = await admin.connectors.sync.log(syncLogId);\n       * ```\n       */\n      log: async (id: string, options?: RequestOptions): Promise<SyncLog> =>\n        rb.execute<SyncLog>(\n          getAdminConnectorsSyncLogsById,\n          { path: { id } },\n          options,\n        ),\n    },\n\n    /** OAuth — initiate and complete OAuth authorization flows. */\n    oauth: {\n      /**\n       * Get the OAuth authorization URL for a connector type.\n       * Returns `{ auth_url, state }`; redirect the user to `auth_url` and\n       * pass `state` back to `oauth.callback` to complete the flow.\n       *\n       * @param connectorType - Connector slug (e.g. `\"salesforce\"`, `\"sharepoint\"`, `\"hubspot\"`) registered in `AdapterRegistry`.\n       * @param workspaceId - UUID of the workspace the resulting credential will belong to.\n       * @returns Object with `auth_url` (provider authorization URL to redirect the browser to) and opaque `state` (echo back in the callback).\n       * @example\n       * ```typescript\n       * const { auth_url, state } = await admin.connectors.oauth.connect(\n       *   \"salesforce\",\n       *   workspaceId,\n       * );\n       * window.location.href = auth_url;\n       * ```\n       */\n      connect: async (\n        connectorType: string,\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<{ auth_url: string; state: string }> =>\n        rb.execute<{ auth_url: string; state: string }>(\n          postAdminConnectorsOauthInitiate,\n          {\n            body: {\n              data: {\n                connector_type: connectorType,\n                workspace_id: workspaceId,\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Exchange an OAuth authorization code for a stored credential.\n       *\n       * @param connectorType - Connector slug previously passed to `oauth.connect`.\n       * @param code - Authorization code received from the provider redirect.\n       * @param state - Opaque value originally returned by `oauth.connect`; verified server-side.\n       * @param workspaceId - UUID of the workspace the credential will be persisted to.\n       * @param redirectUri - Optional override for the OAuth redirect URI. Must match the value used in `oauth.connect` if supplied.\n       * @returns The `ConnectorInstance` linked to the newly stored credential.\n       * @example\n       * ```typescript\n       * const instance = await admin.connectors.oauth.callback(\n       *   \"salesforce\",\n       *   code,\n       *   state,\n       *   workspaceId,\n       * );\n       * ```\n       */\n      callback: async (\n        connectorType: string,\n        code: string,\n        state: string,\n        workspaceId: string,\n        redirectUri?: string,\n        options?: RequestOptions,\n      ): Promise<ConnectorInstance> =>\n        rb.execute<ConnectorInstance>(\n          postAdminConnectorsOauthCallback,\n          {\n            body: {\n              data: {\n                connector_type: connectorType,\n                code,\n                state,\n                workspace_id: workspaceId,\n                ...(redirectUri !== undefined && {\n                  redirect_uri: redirectUri,\n                }),\n              },\n            },\n          },\n          options,\n        ),\n    },\n\n    /** OAuth App Configs — ISV-managed OAuth client credentials per connector type. */\n    oauthAppConfigs: {\n      /**\n       * List all OAuth app configs.\n       *\n       * @param options - Optional per-request configuration (e.g. abort `signal`, extra `headers`).\n       * @returns Array of `OauthAppConfig` records visible to the calling admin actor.\n       * @example\n       * ```typescript\n       * const configs = await admin.connectors.oauthAppConfigs.list();\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<OauthAppConfig[]> =>\n        rb.execute<OauthAppConfig[]>(\n          getAdminConnectorsOauthAppConfigs,\n          {},\n          options,\n        ),\n\n      /**\n       * Get an OAuth app config by ID.\n       *\n       * @param id - UUID of the `OAuthAppConfig` to fetch.\n       * @returns The matching `OauthAppConfig` record.\n       * @example\n       * ```typescript\n       * const config = await admin.connectors.oauthAppConfigs.get(configId);\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<OauthAppConfig> =>\n        rb.execute<OauthAppConfig>(\n          getAdminConnectorsOauthAppConfigsById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Create an OAuth app config.\n       *\n       * Exactly one of `application_id` / `tenant_id` must match the\n       * `scope_type`. `platform` is required and must be one of the social\n       * platforms supported by OAuthAppConfig.\n       *\n       * @param attributes - Required `platform`, `client_id`, `client_secret`, `scope_type`; plus the matching `application_id` or `tenant_id` and optional `scopes`.\n       * @returns The newly created `OauthAppConfig`.\n       * @example\n       * ```typescript\n       * await admin.connectors.oauthAppConfigs.create({\n       *   platform: \"linkedin\",\n       *   client_id: \"xxx\",\n       *   client_secret: \"yyy\",\n       *   scope_type: \"application\",\n       *   application_id: appId,\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateOAuthAppConfigAttributes,\n        options?: RequestOptions,\n      ): Promise<OauthAppConfig> => {\n        const {\n          platform,\n          client_id,\n          client_secret,\n          scopes,\n          scope_type,\n          application_id,\n          tenant_id,\n        } = attributes;\n        return rb.execute<OauthAppConfig>(\n          postAdminConnectorsOauthAppConfigs,\n          {\n            body: {\n              data: {\n                type: \"oauth-app-config\",\n                attributes: {\n                  platform,\n                  client_id,\n                  client_secret,\n                  scope_type,\n                  ...(scopes !== undefined && { scopes }),\n                  ...(application_id !== undefined && { application_id }),\n                  ...(tenant_id !== undefined && { tenant_id }),\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update an OAuth app config. Only the mutable credential fields\n       * (`client_id`, `client_secret`, `scopes`) can be updated.\n       *\n       * @param id - UUID of the `OAuthAppConfig` to update.\n       * @param attributes - Optional `client_id`, `client_secret`, `scopes`. Omit any field to leave it unchanged.\n       * @returns The updated `OauthAppConfig`.\n       * @example\n       * ```typescript\n       * await admin.connectors.oauthAppConfigs.update(configId, {\n       *   client_secret: \"rotated-secret\",\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateOAuthAppConfigAttributes,\n        options?: RequestOptions,\n      ): Promise<OauthAppConfig> => {\n        const { client_id, client_secret, scopes } = attributes;\n        return rb.execute<OauthAppConfig>(\n          patchAdminConnectorsOauthAppConfigsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"oauth-app-config\",\n                id,\n                attributes: {\n                  ...(client_id !== undefined && { client_id }),\n                  ...(client_secret !== undefined && { client_secret }),\n                  ...(scopes !== undefined && { scopes }),\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete an OAuth app config.\n       *\n       * @param id - UUID of the `OAuthAppConfig` to delete.\n       * @returns `true` once the deletion completes.\n       * @example\n       * ```typescript\n       * await admin.connectors.oauthAppConfigs.delete(configId);\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminConnectorsOauthAppConfigsById,\n          { path: { id } },\n          options,\n        ),\n    },\n\n    /**\n     * ISV-Defined Connector Tools — custom API integration tools.\n     *\n     * These use custom Phoenix controller routes (not JSON:API), so methods\n     * make raw HTTP calls via the request builder.\n     */\n    tools: {\n      /**\n       * List all tools defined for a connector instance, including drafts.\n       *\n       * @param connectorId - UUID of the parent `ConnectorInstance`.\n       * @returns Array of `ConnectorTool` records (draft, active, and inactive).\n       * @example\n       * ```typescript\n       * const tools = await admin.connectors.tools.list(connectorId);\n       * ```\n       */\n      list: async (\n        connectorId: string,\n        options?: RequestOptions,\n      ): Promise<ConnectorTool[]> =>\n        rb.rawGet<ConnectorTool[]>(\n          `/isv/connectors/${connectorId}/tools`,\n          options,\n        ),\n\n      /**\n       * Get a specific tool by ID.\n       *\n       * @param connectorId - UUID of the parent `ConnectorInstance`.\n       * @param toolId - UUID of the `ConnectorTool` to fetch.\n       * @returns The matching `ConnectorTool` record.\n       * @example\n       * ```typescript\n       * const tool = await admin.connectors.tools.get(connectorId, toolId);\n       * ```\n       */\n      get: async (\n        connectorId: string,\n        toolId: string,\n        options?: RequestOptions,\n      ): Promise<ConnectorTool> =>\n        rb.rawGet<ConnectorTool>(\n          `/isv/connectors/${connectorId}/tools/${toolId}`,\n          options,\n        ),\n\n      /**\n       * Create a new connector tool. Tools start in `status: \"draft\"` —\n       * call `tools.activate()` to enable them.\n       *\n       * @param connectorId - UUID of the parent `ConnectorInstance` the tool belongs to.\n       * @param attributes - Tool definition: `name`, `display_name`, `description`, `execution_type`, `workspace_id`, plus HTTP-specific (`method`, `path_template`, `parameters`, etc.) or MCP-specific (`mcp_server_url`, `mcp_tool_name`, `mcp_input_schema`) fields.\n       * @returns The newly created `ConnectorTool` in draft status.\n       * @example\n       * ```typescript\n       * const tool = await admin.connectors.tools.create(connectorId, {\n       *   name: \"list_contacts\",\n       *   display_name: \"List Contacts\",\n       *   description: \"Retrieve contacts from the CRM\",\n       *   execution_type: \"http\",\n       *   method: \"get\",\n       *   path_template: \"/api/v1/contacts\",\n       *   workspace_id: workspaceId,\n       * });\n       * ```\n       */\n      create: async (\n        connectorId: string,\n        attributes: CreateConnectorToolAttributes,\n        options?: RequestOptions,\n      ): Promise<ConnectorTool> =>\n        rb.rawPost<ConnectorTool>(\n          `/isv/connectors/${connectorId}/tools`,\n          attributes,\n          options,\n        ),\n\n      /**\n       * Update a connector tool. Updating attributes increments the tool\n       * version and busts the workspace tool cache.\n       *\n       * @param connectorId - UUID of the parent `ConnectorInstance`.\n       * @param toolId - UUID of the `ConnectorTool` to update.\n       * @param attributes - Mutable fields: `display_name`, `description`, `method`, `path_template`, `parameters`, `request_body_schema`, `headers`, `timeout_ms`. Omit any field to leave it unchanged.\n       * @returns The updated `ConnectorTool` with an incremented `version`.\n       * @example\n       * ```typescript\n       * await admin.connectors.tools.update(connectorId, toolId, {\n       *   description: \"Updated description\",\n       * });\n       * ```\n       */\n      update: async (\n        connectorId: string,\n        toolId: string,\n        attributes: UpdateConnectorToolAttributes,\n        options?: RequestOptions,\n      ): Promise<ConnectorTool> =>\n        rb.rawPatch<ConnectorTool>(\n          `/isv/connectors/${connectorId}/tools/${toolId}`,\n          attributes,\n          options,\n        ),\n\n      /**\n       * Delete a connector tool.\n       *\n       * @param connectorId - UUID of the parent `ConnectorInstance`.\n       * @param toolId - UUID of the `ConnectorTool` to delete.\n       * @returns `true` once the deletion completes.\n       * @example\n       * ```typescript\n       * await admin.connectors.tools.delete(connectorId, toolId);\n       * ```\n       */\n      delete: async (\n        connectorId: string,\n        toolId: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.rawDelete<true>(\n          `/isv/connectors/${connectorId}/tools/${toolId}`,\n          options,\n        ),\n\n      /**\n       * Activate a draft or inactive tool. MCP tools are health-checked\n       * before activation; unreachable servers reject the call.\n       *\n       * @param connectorId - UUID of the parent `ConnectorInstance`.\n       * @param toolId - UUID of the `ConnectorTool` to activate.\n       * @returns The updated `ConnectorTool` with `status: \"active\"`.\n       * @example\n       * ```typescript\n       * await admin.connectors.tools.activate(connectorId, toolId);\n       * ```\n       */\n      activate: async (\n        connectorId: string,\n        toolId: string,\n        options?: RequestOptions,\n      ): Promise<ConnectorTool> =>\n        rb.rawPost<ConnectorTool>(\n          `/isv/connectors/${connectorId}/tools/${toolId}/activate`,\n          undefined,\n          options,\n        ),\n\n      /**\n       * Deactivate an active tool.\n       *\n       * @param connectorId - UUID of the parent `ConnectorInstance`.\n       * @param toolId - UUID of the `ConnectorTool` to deactivate.\n       * @returns The updated `ConnectorTool` with `status: \"inactive\"`.\n       * @example\n       * ```typescript\n       * await admin.connectors.tools.deactivate(connectorId, toolId);\n       * ```\n       */\n      deactivate: async (\n        connectorId: string,\n        toolId: string,\n        options?: RequestOptions,\n      ): Promise<ConnectorTool> =>\n        rb.rawPost<ConnectorTool>(\n          `/isv/connectors/${connectorId}/tools/${toolId}/deactivate`,\n          undefined,\n          options,\n        ),\n\n      /**\n       * Test-execute a tool using its stored `test_parameters` (mock run).\n       * Returns the provider response for verification before activation.\n       *\n       * @param connectorId - UUID of the parent `ConnectorInstance`.\n       * @param toolId - UUID of the `ConnectorTool` to test-execute.\n       * @returns The raw provider response payload (shape varies by tool).\n       * @example\n       * ```typescript\n       * const result = await admin.connectors.tools.test(connectorId, toolId);\n       * ```\n       */\n      test: async (\n        connectorId: string,\n        toolId: string,\n        options?: RequestOptions,\n      ): Promise<Record<string, unknown>> =>\n        rb.rawPost<Record<string, unknown>>(\n          `/isv/connectors/${connectorId}/tools/${toolId}/test`,\n          undefined,\n          options,\n        ),\n\n      /**\n       * Import tools from an OpenAPI spec. The server parses the spec,\n       * ranks endpoints by usefulness, and persists the top matches as\n       * draft tools.\n       *\n       * @param connectorId - UUID of the parent `ConnectorInstance` the imported tools will belong to.\n       * @param spec - Import payload — typically `{ spec_url }` (URL to fetch) or `{ spec }` (inline OpenAPI document), plus optional `limit` and AI-ranking knobs.\n       * @returns Array of newly created `ConnectorTool` records, all in `status: \"draft\"`.\n       * @example\n       * ```typescript\n       * const result = await admin.connectors.tools.import(connectorId, {\n       *   spec_url: \"https://api.example.com/openapi.json\",\n       *   limit: 20,\n       * });\n       * ```\n       */\n      import: async (\n        connectorId: string,\n        spec: Record<string, unknown>,\n        options?: RequestOptions,\n      ): Promise<ConnectorTool[]> =>\n        rb.rawPost<ConnectorTool[]>(\n          `/isv/connectors/${connectorId}/tools/import`,\n          spec,\n          options,\n        ),\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport type {\n  BrowserSession,\n  CrawlerJob,\n  CrawlerResult,\n  CrawlerSchedule,\n  CrawlerSiteConfig,\n  NewsMonitor,\n  NewsSummary,\n} from \"../_internal/types.gen\";\nimport {\n  getAdminCrawlerJobs,\n  getAdminCrawlerJobsById,\n  postAdminCrawlerJobs,\n  patchAdminCrawlerJobsByIdCancel,\n  deleteAdminCrawlerJobsById,\n  getAdminCrawlerSchedules,\n  getAdminCrawlerSchedulesById,\n  postAdminCrawlerSchedules,\n  patchAdminCrawlerSchedulesById,\n  patchAdminCrawlerSchedulesByIdEnable,\n  patchAdminCrawlerSchedulesByIdDisable,\n  patchAdminCrawlerSchedulesByIdTrigger,\n  deleteAdminCrawlerSchedulesById,\n  getAdminCrawlerResults,\n  getAdminCrawlerResultsById,\n  getAdminCrawlerSiteConfigs,\n  getAdminCrawlerSiteConfigsById,\n  postAdminCrawlerSiteConfigs,\n  patchAdminCrawlerSiteConfigsById,\n  deleteAdminCrawlerSiteConfigsById,\n  getAdminCrawlerNewsMonitors,\n  getAdminCrawlerNewsMonitorsById,\n  postAdminCrawlerNewsMonitors,\n  patchAdminCrawlerNewsMonitorsById,\n  patchAdminCrawlerNewsMonitorsByIdPause,\n  patchAdminCrawlerNewsMonitorsByIdResume,\n  patchAdminCrawlerNewsMonitorsByIdArchive,\n  deleteAdminCrawlerNewsMonitorsById,\n  getAdminCrawlerNewsSummaries,\n  getAdminCrawlerNewsSummariesById,\n  getAdminCrawlerBrowserSessions,\n  getAdminCrawlerBrowserSessionsById,\n  postAdminCrawlerBrowserSessions,\n  patchAdminCrawlerBrowserSessionsByIdRefresh,\n  deleteAdminCrawlerBrowserSessionsById,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { buildPageQuery } from \"../namespace-types\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/**\n * Attributes accepted when creating a NewsMonitor via the admin SDK (B11\n * `:news_monitoring` capability). Typed explicitly — passing extra\n * properties is rejected server-side (additionalProperties: false).\n *\n * Use `frequency: \"daily\"` only — `\"hourly\"` and `\"twice_daily\"`\n * are tier-gated by `ValidateMonitorFrequencyAllowed` and rejected on\n * standard-tier applications until the premium frequency capability ships.\n */\nexport type CreateNewsMonitorAttributes = {\n  name: string;\n  topic: string;\n  source_urls: string[];\n  frequency?: \"daily\" | \"twice_daily\" | \"hourly\";\n  summary_model?: \"default\" | \"balanced\" | \"accurate\";\n  tags?: string[];\n  metadata?: Record<string, unknown>;\n};\n\n/**\n * Attributes accepted when updating a NewsMonitor (PATCH semantics).\n *\n * Same tier-gating note as create: pass `frequency: \"daily\"` only —\n * `\"hourly\"` and `\"twice_daily\"` are gated by\n * `ValidateMonitorFrequencyAllowed` and rejected on standard-tier\n * applications until the premium frequency capability ships.\n */\nexport type UpdateNewsMonitorAttributes = {\n  name?: string;\n  topic?: string;\n  source_urls?: string[];\n  frequency?: \"daily\" | \"twice_daily\" | \"hourly\";\n  summary_model?: \"default\" | \"balanced\" | \"accurate\";\n  tags?: string[];\n  metadata?: Record<string, unknown>;\n};\n\nfunction buildCreateNewsMonitorAttributes(\n  attributes: CreateNewsMonitorAttributes,\n) {\n  const { name, topic, source_urls, frequency, summary_model, tags, metadata } =\n    attributes;\n\n  return { name, topic, source_urls, frequency, summary_model, tags, metadata };\n}\n\nfunction buildUpdateNewsMonitorAttributes(\n  attributes: UpdateNewsMonitorAttributes,\n) {\n  const { name, topic, source_urls, frequency, summary_model, tags, metadata } =\n    attributes;\n\n  return { name, topic, source_urls, frequency, summary_model, tags, metadata };\n}\n\n/**\n * Attributes accepted when creating a crawl job via the admin SDK.\n * Mirrors `crawl_job.ex :create` accept list — passing extra properties\n * is rejected server-side (additionalProperties: false).\n */\nexport type AdminCreateCrawlerJobAttributes = {\n  // TODO(F-33): workspace_id derivation decision deferred.\n  workspace_id: string;\n  url: string;\n  mode?: \"single\" | \"site\" | \"sitemap\";\n  strategy?: \"native\" | \"sidecar\" | \"auto\";\n  depth?: number;\n  max_pages?: number;\n  include_patterns?: string[];\n  exclude_patterns?: string[];\n  output_format?: \"markdown\" | \"html\" | \"text\" | \"snapshot\";\n  callback_url?: string;\n  schedule_id?: string;\n  metadata?: Record<string, unknown>;\n  browser_steps?: Array<Record<string, unknown>>;\n};\n\n/**\n * Attributes accepted when creating a crawl schedule via the admin SDK.\n * Mirrors `crawl_schedule.ex :create` accept list.\n */\nexport type AdminCreateCrawlerScheduleAttributes = {\n  // TODO(F-33): workspace_id derivation decision deferred.\n  workspace_id: string;\n  name: string;\n  url: string;\n  mode?: \"single\" | \"site\" | \"sitemap\";\n  frequency?: \"hourly\" | \"daily\" | \"weekly\" | \"monthly\";\n  // TODO(F-39): cron_expression to be dropped — accepted but never read.\n  cron_expression?: string;\n  crawl_config?: Record<string, unknown>;\n  notify_on_change?: boolean;\n  next_run_at?: string;\n  news_monitor_id?: string;\n};\n\n/**\n * Attributes accepted when updating a crawl schedule via the admin SDK.\n * Mirrors `crawl_schedule.ex :update` accept list. To pause/resume use\n * `enable()` / `disable()` — `enabled` is not part of the update accept.\n */\nexport type AdminUpdateCrawlerScheduleAttributes = {\n  name?: string;\n  url?: string;\n  mode?: \"single\" | \"site\" | \"sitemap\";\n  frequency?: \"hourly\" | \"daily\" | \"weekly\" | \"monthly\";\n  // TODO(F-39): cron_expression to be dropped — accepted but never read.\n  cron_expression?: string;\n  crawl_config?: Record<string, unknown>;\n  notify_on_change?: boolean;\n  news_monitor_id?: string;\n};\n\n/**\n * Attributes accepted when creating a SiteConfig via the admin SDK.\n * Mirrors `site_config.ex :create` accept list. Includes the auth-aware\n * `browser_auth_session_id` + `browser_fallback_strategy` fields.\n */\nexport type AdminCreateSiteConfigAttributes = {\n  // TODO(F-33): workspace_id derivation decision deferred.\n  workspace_id: string;\n  domain: string;\n  rate_limit_rpm?: number;\n  preferred_strategy?: \"native\" | \"sidecar\" | \"auto\" | \"browser_session\";\n  requires_js?: boolean;\n  custom_headers?: Record<string, string>;\n  user_agent?: string;\n  respect_robots?: boolean;\n  browser_auth_session_id?: string;\n  browser_fallback_strategy?: \"native\" | \"sidecar\";\n};\n\n/**\n * Attributes accepted when updating a SiteConfig via the admin SDK.\n * Mirrors `site_config.ex :update` accept list.\n */\nexport type AdminUpdateSiteConfigAttributes = {\n  rate_limit_rpm?: number;\n  preferred_strategy?: \"native\" | \"sidecar\" | \"auto\" | \"browser_session\";\n  requires_js?: boolean;\n  custom_headers?: Record<string, string>;\n  user_agent?: string;\n  respect_robots?: boolean;\n  browser_auth_session_id?: string;\n  browser_fallback_strategy?: \"native\" | \"sidecar\";\n};\n\n/**\n * Attributes accepted when creating a BrowserSession via the admin SDK.\n * Mirrors `browser_session.ex :create` accept list. `session_state` is\n * encrypted at rest via `EncryptSessionState` change.\n */\nexport type AdminCreateBrowserSessionAttributes = {\n  // TODO(F-33): workspace_id derivation decision deferred.\n  workspace_id: string;\n  domain: string;\n  session_state: string;\n  expires_at?: string;\n};\n\n/**\n * Attributes accepted when refreshing a BrowserSession. Mirrors\n * `browser_session.ex :refresh` accept list — only `session_state` may\n * be rotated; the refresh action re-encrypts and stamps `last_used_at`.\n */\nexport type AdminRefreshBrowserSessionAttributes = {\n  session_state: string;\n};\n\nfunction buildAdminCreateCrawlerJobAttributes(\n  attributes: AdminCreateCrawlerJobAttributes,\n) {\n  const {\n    workspace_id,\n    url,\n    mode,\n    strategy,\n    depth,\n    max_pages,\n    include_patterns,\n    exclude_patterns,\n    output_format,\n    callback_url,\n    schedule_id,\n    metadata,\n    browser_steps,\n  } = attributes;\n\n  return {\n    workspace_id,\n    url,\n    mode,\n    strategy,\n    depth,\n    max_pages,\n    include_patterns,\n    exclude_patterns,\n    output_format,\n    callback_url,\n    schedule_id,\n    metadata,\n    browser_steps,\n  };\n}\n\nfunction buildAdminCreateCrawlerScheduleAttributes(\n  attributes: AdminCreateCrawlerScheduleAttributes,\n) {\n  const {\n    workspace_id,\n    name,\n    url,\n    mode,\n    frequency,\n    cron_expression,\n    crawl_config,\n    notify_on_change,\n    next_run_at,\n    news_monitor_id,\n  } = attributes;\n\n  return {\n    workspace_id,\n    name,\n    url,\n    mode,\n    frequency,\n    cron_expression,\n    crawl_config,\n    notify_on_change,\n    next_run_at,\n    news_monitor_id,\n  };\n}\n\nfunction buildAdminUpdateCrawlerScheduleAttributes(\n  attributes: AdminUpdateCrawlerScheduleAttributes,\n) {\n  const {\n    name,\n    url,\n    mode,\n    frequency,\n    cron_expression,\n    crawl_config,\n    notify_on_change,\n    news_monitor_id,\n  } = attributes;\n\n  return {\n    name,\n    url,\n    mode,\n    frequency,\n    cron_expression,\n    crawl_config,\n    notify_on_change,\n    news_monitor_id,\n  };\n}\n\nfunction buildAdminCreateSiteConfigAttributes(\n  attributes: AdminCreateSiteConfigAttributes,\n) {\n  const {\n    workspace_id,\n    domain,\n    rate_limit_rpm,\n    preferred_strategy,\n    requires_js,\n    custom_headers,\n    user_agent,\n    respect_robots,\n    browser_auth_session_id,\n    browser_fallback_strategy,\n  } = attributes;\n\n  return {\n    workspace_id,\n    domain,\n    rate_limit_rpm,\n    preferred_strategy,\n    requires_js,\n    custom_headers,\n    user_agent,\n    respect_robots,\n    browser_auth_session_id,\n    browser_fallback_strategy,\n  };\n}\n\nfunction buildAdminUpdateSiteConfigAttributes(\n  attributes: AdminUpdateSiteConfigAttributes,\n) {\n  const {\n    rate_limit_rpm,\n    preferred_strategy,\n    requires_js,\n    custom_headers,\n    user_agent,\n    respect_robots,\n    browser_auth_session_id,\n    browser_fallback_strategy,\n  } = attributes;\n\n  return {\n    rate_limit_rpm,\n    preferred_strategy,\n    requires_js,\n    custom_headers,\n    user_agent,\n    respect_robots,\n    browser_auth_session_id,\n    browser_fallback_strategy,\n  };\n}\n\nfunction buildAdminCreateBrowserSessionAttributes(\n  attributes: AdminCreateBrowserSessionAttributes,\n) {\n  const { workspace_id, domain, session_state, expires_at } = attributes;\n\n  return { workspace_id, domain, session_state, expires_at };\n}\n\nfunction buildAdminRefreshBrowserSessionAttributes(\n  attributes: AdminRefreshBrowserSessionAttributes,\n) {\n  const { session_state } = attributes;\n\n  return { session_state };\n}\n\n/**\n * Admin crawler namespace — full crawl lifecycle management including site configs.\n *\n * Extends the client crawler namespace with SiteConfig CRUD (per-domain rate limits,\n * strategy preferences, custom headers) which is admin-only.\n *\n * @example\n * ```typescript\n * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n *\n * // List all crawl jobs\n * const jobs = await admin.crawler.jobs.list();\n *\n * // Configure per-domain crawl settings\n * const config = await admin.crawler.siteConfigs.create({\n *   workspace_id: 'ws_abc',\n *   domain: 'docs.example.com',\n *   rate_limit_rpm: 30,\n * });\n * ```\n */\nexport function createCrawlerNamespace(rb: RequestBuilder) {\n  return {\n    /** Crawl job management — create, cancel, delete jobs. */\n    jobs: {\n      /**\n       * List crawl jobs across all workspaces visible to the admin actor.\n       *\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to an array of {@link CrawlerJob} records.\n       *\n       * @example\n       * ```typescript\n       * const jobs = await admin.crawler.jobs.list();\n       * console.log(`${jobs.length} jobs across all workspaces`);\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<CrawlerJob[]> => {\n        return rb.execute<CrawlerJob[]>(getAdminCrawlerJobs, {}, options);\n      },\n\n      /**\n       * Fetch a single crawl job by id.\n       *\n       * @param id - The crawl job id.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the matching {@link CrawlerJob}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CrawlerJob> => {\n        return rb.execute<CrawlerJob>(\n          getAdminCrawlerJobsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Start a new crawl job (admin context — may target any workspace).\n       *\n       * @param attributes - Crawl job attributes; must include `workspace_id`\n       *   and `url`. Extra properties are dropped by the destructure helper\n       *   before they reach the server.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the newly created {@link CrawlerJob}.\n       *\n       * @example\n       * ```typescript\n       * const job = await admin.crawler.jobs.create({\n       *   workspace_id: 'ws_abc',\n       *   url: 'https://docs.example.com',\n       *   mode: 'site',\n       *   depth: 2,\n       * });\n       * ```\n       */\n      create: async (\n        attributes: AdminCreateCrawlerJobAttributes,\n        options?: RequestOptions,\n      ): Promise<CrawlerJob> => {\n        const bodyAttributes = buildAdminCreateCrawlerJobAttributes(attributes);\n\n        return rb.execute<CrawlerJob>(\n          postAdminCrawlerJobs,\n          {\n            body: {\n              data: { type: \"crawler-job\", attributes: bodyAttributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Cancel an in-progress crawl job. Sends a PATCH with no attributes.\n       *\n       * @param id - The crawl job id.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the updated {@link CrawlerJob}\n       *   with `status: 'cancelled'`.\n       *\n       * @example\n       * ```typescript\n       * await admin.crawler.jobs.cancel('cjob_abc');\n       * ```\n       */\n      cancel: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CrawlerJob> => {\n        return rb.execute<CrawlerJob>(\n          patchAdminCrawlerJobsByIdCancel,\n          { path: { id }, body: { data: { id, type: \"crawler-job\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a crawl job and its associated results.\n       *\n       * @param id - The crawl job id.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to `true` on successful deletion.\n       *\n       * @example\n       * ```typescript\n       * await admin.crawler.jobs.delete('cjob_abc');\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminCrawlerJobsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /** Crawl schedule management — CRUD + enable/disable/trigger. */\n    schedules: {\n      /**\n       * List crawl schedules across all workspaces visible to the admin actor.\n       *\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to an array of {@link CrawlerSchedule} records.\n       *\n       * @example\n       * ```typescript\n       * const schedules = await admin.crawler.schedules.list();\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<CrawlerSchedule[]> => {\n        return rb.execute<CrawlerSchedule[]>(\n          getAdminCrawlerSchedules,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Fetch a single crawl schedule by id.\n       *\n       * @param id - The schedule id.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the matching {@link CrawlerSchedule}.\n       *\n       * @example\n       * ```typescript\n       * const schedule = await admin.crawler.schedules.get('sched_abc');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CrawlerSchedule> => {\n        return rb.execute<CrawlerSchedule>(\n          getAdminCrawlerSchedulesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new recurring crawl schedule. To pause/resume use\n       * `enable()` / `disable()` — `enabled` is not part of the accept list.\n       *\n       * @param attributes - Schedule attributes; must include `workspace_id`,\n       *   `name`, and `url`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the newly created {@link CrawlerSchedule}.\n       *\n       * @example\n       * ```typescript\n       * const schedule = await admin.crawler.schedules.create({\n       *   workspace_id: 'ws_abc',\n       *   name: 'Daily docs',\n       *   url: 'https://docs.example.com',\n       *   frequency: 'daily',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: AdminCreateCrawlerScheduleAttributes,\n        options?: RequestOptions,\n      ): Promise<CrawlerSchedule> => {\n        const bodyAttributes =\n          buildAdminCreateCrawlerScheduleAttributes(attributes);\n\n        return rb.execute<CrawlerSchedule>(\n          postAdminCrawlerSchedules,\n          {\n            body: {\n              data: { type: \"crawler-schedule\", attributes: bodyAttributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing crawl schedule (PATCH semantics).\n       *\n       * @param id - The schedule id.\n       * @param attributes - Attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the updated {@link CrawlerSchedule}.\n       *\n       * @example\n       * ```typescript\n       * await admin.crawler.schedules.update('csched_abc', {\n       *   frequency: 'weekly',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: AdminUpdateCrawlerScheduleAttributes,\n        options?: RequestOptions,\n      ): Promise<CrawlerSchedule> => {\n        const bodyAttributes =\n          buildAdminUpdateCrawlerScheduleAttributes(attributes);\n\n        return rb.execute<CrawlerSchedule>(\n          patchAdminCrawlerSchedulesById,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"crawler-schedule\",\n                attributes: bodyAttributes,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Enable a paused crawl schedule. Sends a PATCH with no attributes.\n       *\n       * @param id - The schedule id.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the updated {@link CrawlerSchedule}.\n       *\n       * @example\n       * ```typescript\n       * await admin.crawler.schedules.enable('csched_abc');\n       * ```\n       */\n      enable: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CrawlerSchedule> => {\n        return rb.execute<CrawlerSchedule>(\n          patchAdminCrawlerSchedulesByIdEnable,\n          { path: { id }, body: { data: { id, type: \"crawler-schedule\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Disable a crawl schedule (pause without deleting). Sends a PATCH\n       * with no attributes.\n       *\n       * @param id - The schedule id.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the updated {@link CrawlerSchedule}.\n       *\n       * @example\n       * ```typescript\n       * await admin.crawler.schedules.disable('csched_abc');\n       * ```\n       */\n      disable: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CrawlerSchedule> => {\n        return rb.execute<CrawlerSchedule>(\n          patchAdminCrawlerSchedulesByIdDisable,\n          { path: { id }, body: { data: { id, type: \"crawler-schedule\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Trigger a scheduled crawl immediately. Sends a PATCH with no\n       * attributes; stamps `last_run_at` and enqueues a job.\n       *\n       * @param id - The schedule id.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the updated {@link CrawlerSchedule}.\n       *\n       * @example\n       * ```typescript\n       * await admin.crawler.schedules.trigger('csched_abc');\n       * ```\n       */\n      trigger: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CrawlerSchedule> => {\n        return rb.execute<CrawlerSchedule>(\n          patchAdminCrawlerSchedulesByIdTrigger,\n          { path: { id }, body: { data: { id, type: \"crawler-schedule\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a crawl schedule.\n       *\n       * @param id - The schedule id.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to `true` on successful deletion.\n       *\n       * @example\n       * ```typescript\n       * await admin.crawler.schedules.delete('csched_abc');\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminCrawlerSchedulesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /** Crawl result access — read extracted page content. */\n    results: {\n      /**\n       * List crawl results across all jobs visible to the admin actor.\n       *\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to an array of {@link CrawlerResult} records.\n       *\n       * @example\n       * ```typescript\n       * const results = await admin.crawler.results.list();\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<CrawlerResult[]> => {\n        return rb.execute<CrawlerResult[]>(getAdminCrawlerResults, {}, options);\n      },\n\n      /**\n       * Fetch a single crawl result by id, including the extracted page\n       * content (URL, title, Markdown body, metadata).\n       *\n       * @param id - The crawl result id.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the matching {@link CrawlerResult}.\n       *\n       * @example\n       * ```typescript\n       * const result = await admin.crawler.results.get('res_abc');\n       * console.log(result.markdown);\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CrawlerResult> => {\n        return rb.execute<CrawlerResult>(\n          getAdminCrawlerResultsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /** Site configuration — per-domain crawl settings (admin-only). */\n    siteConfigs: {\n      /**\n       * List site configurations across all workspaces.\n       *\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to an array of {@link CrawlerSiteConfig} records.\n       */\n      list: async (options?: RequestOptions): Promise<CrawlerSiteConfig[]> => {\n        return rb.execute<CrawlerSiteConfig[]>(\n          getAdminCrawlerSiteConfigs,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Fetch a single site configuration by id.\n       *\n       * @param id - The site config id.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the matching {@link CrawlerSiteConfig}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CrawlerSiteConfig> => {\n        return rb.execute<CrawlerSiteConfig>(\n          getAdminCrawlerSiteConfigsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create per-domain crawl settings (rate limit, strategy, custom\n       * headers, robots.txt preference, browser-auth session binding).\n       *\n       * @param attributes - Site config attributes; must include\n       *   `workspace_id` and `domain`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the newly created {@link CrawlerSiteConfig}.\n       *\n       * @example\n       * ```typescript\n       * const config = await admin.crawler.siteConfigs.create({\n       *   workspace_id: 'ws_abc',\n       *   domain: 'docs.example.com',\n       *   rate_limit_rpm: 30,\n       *   preferred_strategy: 'auto',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: AdminCreateSiteConfigAttributes,\n        options?: RequestOptions,\n      ): Promise<CrawlerSiteConfig> => {\n        const bodyAttributes = buildAdminCreateSiteConfigAttributes(attributes);\n\n        return rb.execute<CrawlerSiteConfig>(\n          postAdminCrawlerSiteConfigs,\n          {\n            body: {\n              data: { type: \"crawler-site-config\", attributes: bodyAttributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing site configuration (PATCH semantics).\n       *\n       * @param id - The site config id.\n       * @param attributes - Site config attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the updated {@link CrawlerSiteConfig}.\n       *\n       * @example\n       * ```typescript\n       * await admin.crawler.siteConfigs.update('sc_abc', {\n       *   rate_limit_rpm: 60,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: AdminUpdateSiteConfigAttributes,\n        options?: RequestOptions,\n      ): Promise<CrawlerSiteConfig> => {\n        const bodyAttributes = buildAdminUpdateSiteConfigAttributes(attributes);\n\n        return rb.execute<CrawlerSiteConfig>(\n          patchAdminCrawlerSiteConfigsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"crawler-site-config\",\n                attributes: bodyAttributes,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a site configuration.\n       *\n       * @param id - The site config id.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to `true` on successful deletion.\n       *\n       * @example\n       * ```typescript\n       * await admin.crawler.siteConfigs.delete('sc_abc');\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminCrawlerSiteConfigsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * News Monitors — workspace-scoped news monitoring configurations\n     * (B11, `:news_monitoring` capability). Same surface as the client SDK\n     * — Admin mounts the same routes under `/admin/crawler/news-monitors`.\n     *\n     * Mutating endpoints return HTTP 403 with code\n     * `news_monitoring_capability_disabled` when the workspace's\n     * Application lacks the capability.\n     */\n    newsMonitors: {\n      /**\n       * List NewsMonitors for the current workspace context, with offset\n       * pagination support. Mirrors `admin.crawler.newsMonitors.list` on\n       * the client SDK.\n       *\n       * @param options - Pagination (`page`, `pageSize`) + request options.\n       * @returns A `Promise<NewsMonitor[]>` resolving to the monitors page.\n       * @example\n       * ```ts\n       * const monitors = await admin.crawler.newsMonitors.list({ page: 1, pageSize: 25 });\n       * ```\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<NewsMonitor[]> => {\n        return rb.execute<NewsMonitor[]>(\n          getAdminCrawlerNewsMonitors,\n          buildPageQuery(options?.page, options?.pageSize),\n          options,\n        );\n      },\n\n      /**\n       * Get a NewsMonitor by id.\n       *\n       * @param id - NewsMonitor UUID.\n       * @param options - Request options.\n       * @returns A `Promise<NewsMonitor>`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<NewsMonitor> => {\n        return rb.execute<NewsMonitor>(\n          getAdminCrawlerNewsMonitorsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a NewsMonitor. Capability-gated on `:news_monitoring` —\n       * returns HTTP 403 `news_monitoring_capability_disabled` when the\n       * workspace's Application lacks the capability.\n       *\n       * @param attributes - Create attributes (typed; extra properties rejected server-side).\n       * @param options - Request options.\n       * @returns A `Promise<NewsMonitor>`.\n       * @example\n       * ```ts\n       * const monitor = await admin.crawler.newsMonitors.create({\n       *   name: \"policy-monitor\",\n       *   topic: \"policy updates\",\n       *   source_urls: [\"https://example.com/news\"],\n       *   frequency: \"daily\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateNewsMonitorAttributes,\n        options?: RequestOptions,\n      ): Promise<NewsMonitor> => {\n        const bodyAttributes = buildCreateNewsMonitorAttributes(attributes);\n\n        return rb.execute<NewsMonitor>(\n          postAdminCrawlerNewsMonitors,\n          {\n            body: {\n              data: { type: \"news-monitor\", attributes: bodyAttributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update a NewsMonitor (PATCH). Capability-gated on\n       * `:news_monitoring`.\n       *\n       * @param id - NewsMonitor UUID.\n       * @param attributes - Update attributes (PATCH semantics — only\n       *   provided fields are modified).\n       * @param options - Request options.\n       * @returns A `Promise<NewsMonitor>`.\n       * @example\n       * ```ts\n       * await admin.crawler.newsMonitors.update(id, { topic: \"new topic\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateNewsMonitorAttributes,\n        options?: RequestOptions,\n      ): Promise<NewsMonitor> => {\n        const bodyAttributes = buildUpdateNewsMonitorAttributes(attributes);\n\n        return rb.execute<NewsMonitor>(\n          patchAdminCrawlerNewsMonitorsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"news-monitor\", attributes: bodyAttributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Pause a NewsMonitor — sets status to `:paused`. The scheduler\n       * skips paused monitors.\n       *\n       * @param id - NewsMonitor UUID.\n       * @param options - Request options.\n       * @returns A `Promise<NewsMonitor>` with `status: \"paused\"`.\n       * @example\n       * ```ts\n       * await admin.crawler.newsMonitors.pause(monitorId);\n       * ```\n       */\n      pause: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<NewsMonitor> => {\n        return rb.execute<NewsMonitor>(\n          patchAdminCrawlerNewsMonitorsByIdPause,\n          { path: { id }, body: { data: { id, type: \"news-monitor\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Resume a paused NewsMonitor — sets status back to `:active`.\n       *\n       * @param id - NewsMonitor UUID.\n       * @param options - Request options.\n       * @returns A `Promise<NewsMonitor>` with `status: \"active\"`.\n       * @example\n       * ```ts\n       * await admin.crawler.newsMonitors.resume(monitorId);\n       * ```\n       */\n      resume: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<NewsMonitor> => {\n        return rb.execute<NewsMonitor>(\n          patchAdminCrawlerNewsMonitorsByIdResume,\n          { path: { id }, body: { data: { id, type: \"news-monitor\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Archive a NewsMonitor — sets status to `:archived` (terminal).\n       * Archived monitors are excluded from scheduler sweeps.\n       *\n       * @param id - NewsMonitor UUID.\n       * @param options - Request options.\n       * @returns A `Promise<NewsMonitor>` with `status: \"archived\"`.\n       *\n       * @example\n       * ```ts\n       * await admin.crawler.newsMonitors.archive(monitorId);\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<NewsMonitor> => {\n        return rb.execute<NewsMonitor>(\n          patchAdminCrawlerNewsMonitorsByIdArchive,\n          { path: { id }, body: { data: { id, type: \"news-monitor\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a NewsMonitor.\n       *\n       * @param id - NewsMonitor UUID.\n       * @param options - Request options.\n       * @returns A `Promise<true>` on success.\n       *\n       * @example\n       * ```ts\n       * await admin.crawler.newsMonitors.delete(monitorId);\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminCrawlerNewsMonitorsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * News Summaries — read-only access to AI-generated summaries produced\n     * by NewsMonitor runs.\n     */\n    newsSummaries: {\n      /**\n       * List NewsSummaries for the current workspace context, with offset\n       * pagination support. Mirrors the client SDK list shape.\n       *\n       * @param options - Pagination (`page`, `pageSize`) + request options.\n       * @returns A `Promise<NewsSummary[]>`.\n       *\n       * @example\n       * ```typescript\n       * const summaries = await admin.crawler.newsSummaries.list({ pageSize: 50 });\n       * ```\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<NewsSummary[]> => {\n        return rb.execute<NewsSummary[]>(\n          getAdminCrawlerNewsSummaries,\n          buildPageQuery(options?.page, options?.pageSize),\n          options,\n        );\n      },\n\n      /**\n       * Get a NewsSummary by id.\n       *\n       * @param id - NewsSummary UUID.\n       * @param options - Request options.\n       * @returns A `Promise<NewsSummary>`.\n       *\n       * @example\n       * ```typescript\n       * const summary = await admin.crawler.newsSummaries.get('sum_abc');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<NewsSummary> => {\n        return rb.execute<NewsSummary>(\n          getAdminCrawlerNewsSummariesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Browser Sessions — encrypted, per-domain authenticated session\n     * state used by `:browser_session` strategy crawls. `session_state`\n     * is encrypted at rest via `EncryptSessionState` and is NEVER\n     * returned in API responses (marked sensitive on the resource).\n     *\n     * ISVs configure these to support authenticated crawling without\n     * repeating the login flow on every scheduled run.\n     */\n    browserSessions: {\n      /**\n       * List browser sessions across all workspaces visible to the admin\n       * actor.\n       *\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to an array of {@link BrowserSession} records.\n       */\n      list: async (options?: RequestOptions): Promise<BrowserSession[]> => {\n        return rb.execute<BrowserSession[]>(\n          getAdminCrawlerBrowserSessions,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Fetch a single browser session by id.\n       *\n       * @param id - The browser session id.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the matching {@link BrowserSession}.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<BrowserSession> => {\n        return rb.execute<BrowserSession>(\n          getAdminCrawlerBrowserSessionsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new browser session for a domain. `session_state` is\n       * encrypted via the `EncryptSessionState` change before persistence.\n       *\n       * @param attributes - Session attributes; must include `workspace_id`,\n       *   `domain`, and `session_state`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the newly created {@link BrowserSession}.\n       *\n       * @example\n       * ```typescript\n       * const session = await admin.crawler.browserSessions.create({\n       *   workspace_id: 'ws_abc',\n       *   domain: 'example.com',\n       *   session_state: JSON.stringify({ cookies: [...] }),\n       *   expires_at: '2026-06-01T00:00:00Z',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: AdminCreateBrowserSessionAttributes,\n        options?: RequestOptions,\n      ): Promise<BrowserSession> => {\n        const bodyAttributes =\n          buildAdminCreateBrowserSessionAttributes(attributes);\n\n        return rb.execute<BrowserSession>(\n          postAdminCrawlerBrowserSessions,\n          {\n            body: {\n              data: { type: \"browser-session\", attributes: bodyAttributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Refresh a browser session by rotating `session_state`. Re-encrypts\n       * the new state and stamps `last_used_at`. Only `session_state` may\n       * be modified via this endpoint.\n       *\n       * @param id - The browser session id.\n       * @param attributes - Refresh attributes — only `session_state`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to the refreshed {@link BrowserSession}.\n       *\n       * @example\n       * ```typescript\n       * await admin.crawler.browserSessions.refresh(sessionId, {\n       *   session_state: JSON.stringify({ cookies: [...] }),\n       * });\n       * ```\n       */\n      refresh: async (\n        id: string,\n        attributes: AdminRefreshBrowserSessionAttributes,\n        options?: RequestOptions,\n      ): Promise<BrowserSession> => {\n        const bodyAttributes =\n          buildAdminRefreshBrowserSessionAttributes(attributes);\n\n        return rb.execute<BrowserSession>(\n          patchAdminCrawlerBrowserSessionsByIdRefresh,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"browser-session\",\n                attributes: bodyAttributes,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a browser session.\n       *\n       * @param id - The browser session id.\n       * @param options - Optional request-level overrides.\n       * @returns A promise resolving to `true` on successful deletion.\n       *\n       * @example\n       * ```typescript\n       * await admin.crawler.browserSessions.delete(sessionId);\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminCrawlerBrowserSessionsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n  };\n}\n\nexport type AdminCrawlerAPI = ReturnType<typeof createCrawlerNamespace>;\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport type {\n  ChunkEntityLink,\n  ExtractionAnalysis,\n  ExtractionAgent,\n  ExtractionDocument,\n  ExtractionResult,\n  ExtractionBatch,\n  ExtractionExport,\n  ExtractionWorkflow,\n  ConfigEnum,\n  PostProcessingHook,\n  SchemaDiscovery,\n  ShadowComparison,\n  TrainingAnalytics,\n  FieldMappingResult,\n  DocumentStats,\n  OperationSuccess,\n  PresignedUrl,\n} from \"../_internal/types.gen\";\nimport {\n  // Documents\n  getAdminExtractionDocuments,\n  getAdminExtractionDocumentsById,\n  deleteAdminExtractionDocumentsById,\n  getAdminExtractionDocumentsByIdView,\n  getAdminExtractionDocumentsByIdStatus,\n  patchAdminExtractionDocumentsByIdStatus,\n  patchAdminExtractionDocumentsByIdReprocess,\n  patchAdminExtractionDocumentsByIdCancel,\n  patchAdminExtractionDocumentsByIdDismiss,\n  patchAdminExtractionDocumentsByIdExclude,\n  patchAdminExtractionDocumentsByIdInclude,\n  patchAdminExtractionDocumentsByIdRestore,\n  patchAdminExtractionDocumentsByIdVerification,\n  patchAdminExtractionDocumentsByIdMarkTrained,\n  patchAdminExtractionDocumentsByIdDismissTraining,\n  patchAdminExtractionDocumentsByIdFinishUpload,\n  postAdminExtractionDocumentsBeginUpload,\n  postAdminExtractionDocumentsFindOrBeginUpload,\n  postAdminDocumentsPresignedUpload,\n  postAdminExtractionDocumentsUpload,\n  postAdminExtractionDocumentsBulkReprocess,\n  postAdminDocumentsBulkDelete,\n  getAdminDocumentsStats,\n  getAdminExtractionDocumentsWorkspaceThroughput,\n  getAdminExtractionDocumentsWorkspaceByWorkspaceId,\n  getAdminExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus,\n  getAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,\n  getAdminExtractionDocumentsWorkspaceByWorkspaceIdTrained,\n  getAdminExtractionDocumentsWorkspaceByWorkspaceIdTrashed,\n  getAdminExtractionDocumentsWorkspaceByWorkspaceIdExcluded,\n  postAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,\n  // Results\n  getAdminExtractionResults,\n  getAdminExtractionResultsById,\n  patchAdminExtractionResultsById,\n  deleteAdminExtractionResultsById,\n  getAdminExtractionResultsDocumentByDocumentId,\n  getAdminExtractionResultsDocumentByDocumentIdHistory,\n  getAdminExtractionResultsDocumentByDocumentIdPartial,\n  patchAdminExtractionResultsByIdRegenerate,\n  patchAdminExtractionResultsByIdSaveCorrections,\n  getAdminExtractionResultsWorkspaceByWorkspaceId,\n  // Batches\n  getAdminExtractionBatchesById,\n  deleteAdminExtractionBatchesById,\n  postAdminExtractionBatches,\n  getAdminExtractionBatchesWorkspaceByWorkspaceId,\n  getAdminExtractionBatchesByIdUploadUrls,\n  postAdminExtractionBatchesByIdFinishAll,\n  // Exports\n  getAdminWorkspacesByWorkspaceIdExtractionExports,\n  postAdminWorkspacesByWorkspaceIdExtractionExports,\n  getAdminWorkspacesByWorkspaceIdExtractionExportsById,\n  // Workflows\n  getAdminExtractionWorkflows,\n  postAdminExtractionWorkflows,\n  getAdminExtractionWorkflowsById,\n  patchAdminExtractionWorkflowsById,\n  deleteAdminExtractionWorkflowsById,\n  // Config enums\n  getAdminExtractionConfigEnums,\n  postAdminExtractionConfigEnums,\n  getAdminExtractionConfigEnumsById,\n  patchAdminExtractionConfigEnumsById,\n  // Schema discoveries\n  postAdminExtractionSchemaDiscoveries,\n  getAdminExtractionSchemaDiscoveriesById,\n  postAdminExtractionSchemaDiscoveriesBootstrap,\n  // Field mappings\n  getAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMapping,\n  postAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMapping,\n  // Shadow comparisons\n  getAdminExtractionShadowComparisons,\n  getAdminExtractionShadowComparisonsById,\n  postAdminExtractionShadowComparisons,\n  deleteAdminExtractionShadowComparisonsById,\n  getAdminExtractionShadowComparisonsAnalysis,\n  // Post-processing hooks\n  getAdminPostProcessingHooks,\n  getAdminPostProcessingHooksById,\n  postAdminPostProcessingHooks,\n  patchAdminPostProcessingHooksById,\n  deleteAdminPostProcessingHooksById,\n  // Training analytics\n  getAdminWorkspacesByWorkspaceIdTrainingAnalytics,\n  getAdminWorkspacesAnalyticsBatch,\n  // Extraction agents\n  getAdminExtractionAgents,\n  getAdminExtractionAgentsById,\n  postAdminExtractionAgentsPredict,\n  // Extraction analyses\n  getAdminExtractionAnalyses,\n  getAdminExtractionAnalysesById,\n  // Chunk entity links\n  getAdminExtractionChunkEntityLinks,\n  getAdminExtractionChunkEntityLinksById,\n  getAdminExtractionChunkEntityLinksDocumentByDocumentId,\n  getAdminExtractionChunkEntityLinksChunkByDocumentChunkId,\n  getAdminExtractionChunkEntityLinksEntityByGraphNodeId,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n// ---------------------------------------------------------------------------\n// Shared shape aliases (F-C7 — give named shape to dynamic arrays)\n// ---------------------------------------------------------------------------\n\n/**\n * A single field correction submitted to `results.saveCorrections`.\n *\n * `value` is intentionally unconstrained — agent schemas decide the type.\n */\nexport interface ExtractionCorrectionRow {\n  field?: string;\n  name?: string;\n  value?: unknown;\n  notes?: string;\n}\n\n/**\n * A single source→target column mapping for `fieldMappings.create`.\n *\n * Admin callers typically use the `source`/`target` pair; `source_column` /\n * `target_field` are accepted as aliases.\n */\nexport interface FieldMappingEntry {\n  source_column?: string;\n  target_field?: string;\n  source?: string;\n  target?: string;\n  confidence?: number;\n}\n\n/**\n * A single step in an `ExtractionWorkflow.steps` array.\n *\n * Shape is intentionally loose — user-authored `config` values depend on\n * step type and are server-validated.\n */\nexport interface ExtractionWorkflowStep {\n  name?: string;\n  type?: string;\n  agent_id?: string;\n  agent_source?: string;\n  config?: Record<string, unknown>;\n  order?: number;\n  outputs?: string[];\n}\n\n/**\n * A single inferred field returned by schema discovery.\n *\n * `examples` mirror whatever the LLM extracted — no narrowing.\n */\nexport interface SchemaDiscoveryField {\n  name?: string;\n  field_type?: string;\n  description?: string;\n  examples?: unknown[];\n  confidence?: number;\n}\n\n/**\n * A single row inside `ExtractionResult.rows` (tabular extraction output).\n *\n * Keys are user-defined field names.\n */\nexport type ExtractionRowResultRow = Record<string, unknown>;\n\n// ---------------------------------------------------------------------------\n// Typed attribute interfaces (F-C3 — no catch-all index signatures)\n// ---------------------------------------------------------------------------\n\n/**\n * Attributes for updating document processing status.\n *\n * Mirrors `Document.update_status` accept list: `status`, `progress`,\n * `error_message`, `pages`, `billed_credits`, `domain`, `document_type`,\n * `municipality`, `state`, `classification_confidence`, `avg_confidence`,\n * `completed_at`, `processed_at`, `training_metadata`, `agent_id`,\n * `agent_version_id`, `schema_revision`, `char_count`, `word_count`,\n * `line_count`, `image_width`, `image_height`.\n */\nexport interface UpdateDocumentStatusAttributes {\n  status: string;\n  progress?: number;\n  error_message?: string | null;\n  pages?: number;\n  billed_credits?: number;\n  domain?: string;\n  document_type?: string;\n  municipality?: string;\n  state?: string;\n  classification_confidence?: number;\n  avg_confidence?: number;\n  completed_at?: string;\n  processed_at?: string;\n  training_metadata?: Record<string, unknown>;\n  agent_id?: string;\n  agent_version_id?: string;\n  schema_revision?: number;\n  char_count?: number;\n  word_count?: number;\n  line_count?: number;\n  image_width?: number;\n  image_height?: number;\n}\n\n/**\n * Attributes for updating document verification.\n *\n * Mirrors `Document.update_verification` accept list.\n */\nexport interface UpdateDocumentVerificationAttributes {\n  verification_status?: \"partially_verified\" | \"fully_verified\" | string;\n  verified_by_user_id?: string;\n  last_verified_at?: string;\n  avg_confidence?: number;\n}\n\n/**\n * Attributes for beginning a document upload.\n *\n * Mirrors `Document.begin_upload` accept list + `content_type` action\n * argument.\n */\nexport interface AdminBeginUploadAttributes {\n  filename: string;\n  file_type: string;\n  workspace_id: string;\n  content_type?: string;\n  file_size_bytes?: number;\n  file_hash?: string;\n  parent_document_id?: string;\n  batch_id?: string;\n}\n\n/**\n * Attributes for finding or beginning a document upload.\n *\n * Mirrors `Document.find_or_begin_upload` action arguments.\n */\nexport interface AdminFindOrBeginUploadAttributes {\n  filename: string;\n  file_type: string;\n  workspace_id: string;\n  file_hash?: string;\n  file_size_bytes?: number;\n  content_type?: string;\n  parent_document_id?: string;\n  batch_id?: string;\n  force?: boolean;\n}\n\n/**\n * Attributes for direct document upload.\n *\n * Mirrors `Document.upload` accept list.\n */\nexport interface AdminUploadDocumentAttributes {\n  filename: string;\n  file_type: string;\n  workspace_id: string;\n  storage_path?: string;\n  file_size_bytes?: number;\n  file_hash?: string;\n  parent_document_id?: string;\n  bucket_name?: string;\n}\n\n/**\n * Request attributes for bulk-reprocessing multiple documents (admin).\n *\n * Mirrors `BulkReprocessResult.:bulk_reprocess` arguments. `workspace_id`\n * and `document_ids` are both required; the server returns a 400 otherwise.\n */\nexport interface AdminBulkReprocessAttributes {\n  workspace_id: string;\n  document_ids: string[];\n  schema_version_id?: string;\n}\n\nexport type AdminWorkspaceThroughputWindow = \"today\" | \"7d\" | \"30d\";\n\nexport type AdminWorkspaceThroughputBucket = {\n  start_at: string;\n  end_at: string;\n  count: number;\n  unit: \"hour\" | \"day\";\n};\n\nexport type AdminWorkspaceThroughput = {\n  metrics: {\n    decided: number;\n    completed: number;\n    failed: number;\n    median_cycle_seconds: number | null;\n  };\n  buckets: AdminWorkspaceThroughputBucket[];\n};\n\n/** Attributes for requesting a presigned upload URL. */\nexport interface AdminPresignedUploadAttributes {\n  filename: string;\n  mime_type: string;\n  size_bytes: number;\n  workspace_id: string;\n}\n\n/** Result of a batch finish-all operation. */\nexport interface AdminBatchFinishAllResult {\n  processed_count?: number;\n  results?: Record<string, unknown>;\n}\n\n/**\n * Attributes for updating an extraction result.\n *\n * Mirrors the `ExtractionResult :update` accept list: `status`,\n * `credits_used`, `processing_time_ms`, `extracted_fields`,\n * `classification_confidence`, `domain`, `document_type`, `municipality`,\n * `state`. `review_status` is the UI-facing alias.\n */\nexport interface AdminUpdateResultAttributes {\n  review_status?: string;\n  status?: string;\n  classification_confidence?: number;\n  domain?: string;\n  document_type?: string;\n  municipality?: string;\n  state?: string;\n}\n\n/**\n * Attributes for regenerating an extraction result.\n *\n * Mirrors the `:regenerate` action arguments: `feedback`, `fields_to_retry`,\n * `schema_version_id`.\n */\nexport interface AdminRegenerateResultAttributes {\n  feedback?: string;\n  fields_to_retry?: string[];\n  schema_version_id?: string;\n}\n\n/** Attributes for saving corrections to an extraction result. */\nexport interface AdminSaveCorrectionsAttributes {\n  corrections: ExtractionCorrectionRow[];\n}\n\n/**\n * Attributes for creating an extraction batch.\n *\n * Mirrors `Batch :create` accept list (`workspace_id`, `name`, `user_label`).\n * `agent_id` and `document_ids` are accepted as supplemental server-side\n * arguments in some deployments.\n */\nexport interface AdminCreateBatchAttributes {\n  name?: string;\n  user_label?: string;\n  agent_id?: string;\n  workspace_id: string;\n  document_ids?: string[];\n}\n\n/**\n * Attributes for creating an extraction export.\n *\n * Mirrors `Export :create` accept list (`workspace_id`, `format`, `config`).\n */\nexport interface AdminCreateExportAttributes {\n  format: \"csv\" | \"json\" | \"xlsx\";\n  agent_id?: string;\n  config?: Record<string, unknown>;\n}\n\n/**\n * Attributes for creating an extraction workflow.\n *\n * Mirrors `ExtractionWorkflow :create` accept list: `name`, `description`,\n * `trigger`, `steps`, `workspace_id`, `enabled`.\n */\nexport interface AdminCreateWorkflowAttributes {\n  name: string;\n  description?: string;\n  trigger?: \"on_upload\" | \"on_schedule\" | \"manual\";\n  steps?: ExtractionWorkflowStep[];\n  workspace_id?: string;\n  enabled?: boolean;\n}\n\n/**\n * Attributes for updating an extraction workflow.\n *\n * Mirrors `ExtractionWorkflow :update` accept list.\n */\nexport interface AdminUpdateWorkflowAttributes {\n  name?: string;\n  description?: string;\n  trigger?: \"on_upload\" | \"on_schedule\" | \"manual\";\n  steps?: ExtractionWorkflowStep[];\n  enabled?: boolean;\n}\n\n/**\n * Attributes for creating a config enum.\n *\n * Mirrors `ConfigEnum :create` accept list: `type`, `value`, `label`,\n * `description`, `is_active`, `sort_order`.\n */\nexport interface AdminCreateConfigEnumAttributes {\n  type: string;\n  value: string;\n  label?: string;\n  description?: string;\n  is_active?: boolean;\n  sort_order?: number;\n}\n\n/**\n * Attributes for updating a config enum.\n *\n * Mirrors `ConfigEnum :update` accept list: `label`, `description`,\n * `is_active`, `sort_order`.\n */\nexport interface AdminUpdateConfigEnumAttributes {\n  label?: string;\n  description?: string;\n  is_active?: boolean;\n  sort_order?: number;\n}\n\n/**\n * Attributes for creating a schema discovery.\n *\n * Mirrors the three `:create` variants in `SchemaDiscovery`: combinations of\n * `agent_id`, `document_id`, `workspace_id`, `advanced_mode`,\n * `discovered_fields`, `suggested_name`, `source`.\n */\nexport interface AdminCreateSchemaDiscoveryAttributes {\n  agent_id?: string;\n  document_id?: string;\n  workspace_id?: string;\n  advanced_mode?: boolean;\n  suggested_name?: string;\n  discovered_fields?: SchemaDiscoveryField[];\n  source?: string;\n}\n\n/** Attributes for bootstrapping schema discovery. */\nexport interface AdminBootstrapSchemaDiscoveryAttributes {\n  workspace_id?: string;\n  advanced_mode?: boolean;\n  source?: string;\n}\n\n/**\n * Attributes for creating/updating field mappings.\n *\n * Mirrors `FieldMappingConfirmation :confirm` accept list:\n * `mappings`, `add_to_schema`, `ignored_fields`, `confirmed`.\n */\nexport interface AdminFieldMappingAttributes {\n  confirmed: boolean;\n  mappings: FieldMappingEntry[];\n  add_to_schema?: FieldMappingEntry[];\n  ignored_fields?: string[];\n}\n\n/**\n * Attributes for creating a post-processing hook.\n *\n * Mirrors `PostProcessingHook :create` accept list.\n */\nexport interface AdminCreatePostProcessingHookAttributes {\n  name: string;\n  trigger?: \"after_extraction\" | \"after_validation\" | \"before_downstream\";\n  type?: \"webhook\" | \"oban_worker\" | \"reactor_step\";\n  config?: Record<string, unknown>;\n  field_filter?: string[];\n  can_modify?: boolean;\n  order?: number;\n  enabled?: boolean;\n  workspace_id: string;\n  application_id?: string;\n}\n\n/**\n * Attributes for updating a post-processing hook.\n *\n * Mirrors `PostProcessingHook :update` accept list.\n */\nexport interface AdminUpdatePostProcessingHookAttributes {\n  name?: string;\n  trigger?: \"after_extraction\" | \"after_validation\" | \"before_downstream\";\n  type?: \"webhook\" | \"oban_worker\" | \"reactor_step\";\n  config?: Record<string, unknown>;\n  field_filter?: string[];\n  can_modify?: boolean;\n  order?: number;\n  enabled?: boolean;\n}\n\n/** Attributes for predicting the best extraction agent for a document. */\nexport interface AdminPredictExtractionAgentAttributes {\n  name?: string;\n  description?: string;\n  file_content?: string;\n  document_id?: string;\n}\n\n/**\n * Attributes for creating a shadow comparison.\n *\n * Mirrors `ShadowComparison :create` accept list. `document_id` and\n * `workspace_id` are the conventional seed inputs; other fields are\n * computed server-side.\n */\nexport interface AdminCreateShadowComparisonAttributes {\n  document_id?: string;\n  workspace_id?: string;\n  mime_type?: string;\n  filename?: string;\n  file_size?: number;\n  page_count?: number;\n  primary_extractor?: string;\n  shadow_extractor?: string;\n}\n\n// ---------------------------------------------------------------------------\n// Namespace\n// ---------------------------------------------------------------------------\n\n/**\n * Admin extraction namespace — full document processing pipeline management.\n *\n * Sub-namespaces: documents, results, batches, exports, workflows,\n * configEnums, schemaDiscoveries, fieldMappings, postProcessingHooks,\n * trainingAnalytics, extractionAgents.\n *\n * @example\n * ```typescript\n * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n *\n * // List documents for a workspace\n * const docs = await admin.extraction.documents.listByWorkspace(workspaceId);\n *\n * // Get extraction result history\n * const history = await admin.extraction.results.history(documentId);\n *\n * // Create a batch upload\n * const batch = await admin.extraction.batches.create({ workspace_id: '...' });\n * ```\n */\nexport function createExtractionNamespace(rb: RequestBuilder) {\n  return {\n    /** Document lifecycle — upload, process, review, train, bulk operations. */\n    documents: {\n      /**\n       * Lists all extraction documents across the platform.\n       *\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of extraction document objects.\n       *\n       * @example\n       * ```typescript\n       * const docs = await admin.extraction.documents.list();\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<ExtractionDocument[]> => {\n        return rb.execute<ExtractionDocument[]>(\n          getAdminExtractionDocuments,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Retrieves a single extraction document by its unique identifier.\n       *\n       * @param id - The UUID of the document to retrieve.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The matching extraction document object.\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.extraction.documents.get('doc-uuid');\n       * console.log(doc.status, doc.filename);\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          getAdminExtractionDocumentsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Permanently deletes an extraction document and its associated results.\n       *\n       * @param id - The UUID of the document to delete.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns `true` when the deletion succeeds.\n       *\n       * @example\n       * ```typescript\n       * await admin.extraction.documents.delete('doc-uuid');\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminExtractionDocumentsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves the rendered view of a document, including page images and\n       * overlay data for visual inspection.\n       *\n       * @param id - The UUID of the document.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The document object with rendered view data.\n       *\n       * @example\n       * ```typescript\n       * const view = await admin.extraction.documents.view('doc-uuid');\n       * ```\n       */\n      view: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          getAdminExtractionDocumentsByIdView,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves the current processing status of a document, including\n       * progress percentage and any error details.\n       *\n       * @param id - The UUID of the document.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The document object with current status fields.\n       *\n       * @example\n       * ```typescript\n       * const { status, progress_percent } = await admin.extraction.documents.status('doc-uuid');\n       * console.log(`Status: ${status} (${progress_percent}%)`);\n       * ```\n       */\n      status: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          getAdminExtractionDocumentsByIdStatus,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Updates the processing status of a document. Used by admin tooling to\n       * manually transition a document between pipeline states.\n       *\n       * @param id - The UUID of the document to update.\n       * @param attributes - The status attributes to set.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The updated extraction document object.\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.extraction.documents.updateStatus('doc-uuid', {\n       *   status: 'completed',\n       * });\n       * ```\n       */\n      updateStatus: async (\n        id: string,\n        attributes: UpdateDocumentStatusAttributes,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          patchAdminExtractionDocumentsByIdStatus,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"extraction-document\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Reprocesses a completed or failed document through the extraction\n       * pipeline from scratch.\n       *\n       * @param id - The UUID of the document to reprocess.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The document object with its new processing status.\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.extraction.documents.reprocess('doc-uuid');\n       * console.log(`Reprocessing: ${doc.status}`);\n       * ```\n       */\n      reprocess: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          patchAdminExtractionDocumentsByIdReprocess,\n          { path: { id }, body: { data: { id, type: \"extraction-document\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Cancels a document that is currently queued or being processed.\n       *\n       * @param id - The UUID of the document to cancel.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The document object with its updated (cancelled) status.\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.extraction.documents.cancel('doc-uuid');\n       * ```\n       */\n      cancel: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          patchAdminExtractionDocumentsByIdCancel,\n          { path: { id }, body: { data: { id, type: \"extraction-document\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Dismisses a document from the review queue without changing its\n       * underlying data or verification status.\n       *\n       * @param id - The UUID of the document to dismiss.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The updated extraction document object.\n       *\n       * @example\n       * ```typescript\n       * await admin.extraction.documents.dismiss('doc-uuid');\n       * ```\n       */\n      dismiss: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          patchAdminExtractionDocumentsByIdDismiss,\n          { path: { id }, body: { data: { id, type: \"extraction-document\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Excludes a document from the training dataset. Excluded documents are\n       * not used when retraining extraction models.\n       *\n       * @param id - The UUID of the document to exclude.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The updated extraction document object.\n       *\n       * @example\n       * ```typescript\n       * await admin.extraction.documents.exclude('doc-uuid');\n       * ```\n       */\n      exclude: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          patchAdminExtractionDocumentsByIdExclude,\n          { path: { id }, body: { data: { id, type: \"extraction-document\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Re-includes a previously excluded document in the training dataset.\n       *\n       * @param id - The UUID of the document to include.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The updated extraction document object.\n       *\n       * @example\n       * ```typescript\n       * await admin.extraction.documents.include('doc-uuid');\n       * ```\n       */\n      include: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          patchAdminExtractionDocumentsByIdInclude,\n          { path: { id }, body: { data: { id, type: \"extraction-document\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Restores a soft-deleted (trashed) document back to active status.\n       *\n       * @param id - The UUID of the document to restore.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The restored extraction document object.\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.extraction.documents.restore('doc-uuid');\n       * console.log(`Restored: ${doc.filename}`);\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          patchAdminExtractionDocumentsByIdRestore,\n          { path: { id }, body: { data: { id, type: \"extraction-document\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Updates the verification status of a document. Used during the human\n       * review step to confirm or reject extracted data.\n       *\n       * @param id - The UUID of the document to update.\n       * @param attributes - Verification attributes to set.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The updated extraction document object.\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.extraction.documents.updateVerification('doc-uuid', {\n       *   verification_status: 'verified',\n       *   avg_confidence: 0.95,\n       * });\n       * ```\n       */\n      updateVerification: async (\n        id: string,\n        attributes: UpdateDocumentVerificationAttributes,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          patchAdminExtractionDocumentsByIdVerification,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"extraction-document\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Marks a document as trained, indicating its extraction results have been\n       * incorporated into the model training set.\n       *\n       * @param id - The UUID of the document to mark as trained.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The updated extraction document object.\n       *\n       * @example\n       * ```typescript\n       * await admin.extraction.documents.markTrained('doc-uuid');\n       * ```\n       */\n      markTrained: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          patchAdminExtractionDocumentsByIdMarkTrained,\n          { path: { id }, body: { data: { id, type: \"extraction-document\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Dismisses the training flag on a document without un-training it.\n       * Useful for clearing training notifications in the review UI.\n       *\n       * @param id - The UUID of the document.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The updated extraction document object.\n       *\n       * @example\n       * ```typescript\n       * await admin.extraction.documents.dismissTraining('doc-uuid');\n       * ```\n       */\n      dismissTraining: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          patchAdminExtractionDocumentsByIdDismissTraining,\n          { path: { id }, body: { data: { id, type: \"extraction-document\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Signals the server that a multi-part upload has completed and the\n       * document is ready for processing.\n       *\n       * @param id - The UUID of the document whose upload is being finalized.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The document object transitioned to processing state.\n       *\n       * @example\n       * ```typescript\n       * await admin.extraction.documents.finishUpload('doc-uuid');\n       * ```\n       */\n      finishUpload: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        return rb.execute<ExtractionDocument>(\n          patchAdminExtractionDocumentsByIdFinishUpload,\n          { path: { id }, body: { data: { id, type: \"extraction-document\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Begins a new document upload and returns a presigned URL for direct\n       * browser-to-storage upload.\n       *\n       * @param attributes - Upload attributes including the filename and optional metadata.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns A presigned URL object for uploading the file.\n       *\n       * @example\n       * ```typescript\n       * const presigned = await admin.extraction.documents.beginUpload({\n       *   filename: 'invoice-2026.pdf',\n       *   file_type: 'pdf',\n       *   workspace_id: 'ws-uuid',\n       *   content_type: 'application/pdf',\n       * });\n       * // Upload file to presigned.upload_url\n       * ```\n       */\n      beginUpload: async (\n        attributes: AdminBeginUploadAttributes,\n        options?: RequestOptions,\n      ): Promise<PresignedUrl> => {\n        return rb.execute<PresignedUrl>(\n          postAdminExtractionDocumentsBeginUpload,\n          {\n            body: {\n              data: { type: \"extraction-document\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Finds an existing document by file hash (for deduplication) or begins a\n       * new upload if no match is found.\n       *\n       * @param attributes - Attributes for finding or beginning the upload.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns A presigned URL object (or a reference to the existing document).\n       *\n       * @example\n       * ```typescript\n       * const result = await admin.extraction.documents.findOrBeginUpload({\n       *   filename: 'invoice-2026.pdf',\n       *   file_type: 'pdf',\n       *   workspace_id: 'ws-uuid',\n       *   file_hash: 'blake3:abc123...',\n       *   content_type: 'application/pdf',\n       * });\n       * ```\n       */\n      findOrBeginUpload: async (\n        attributes: AdminFindOrBeginUploadAttributes,\n        options?: RequestOptions,\n      ): Promise<PresignedUrl> => {\n        return rb.execute<PresignedUrl>(\n          postAdminExtractionDocumentsFindOrBeginUpload,\n          {\n            body: {\n              data: { type: \"extraction-document\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Requests a presigned upload URL for direct S3-compatible upload of a\n       * document. Validates file type and size server-side, then returns a URL\n       * the client PUTs the raw bytes to. Distinct from `beginUpload`, which\n       * creates the Document record up front; `presignedUpload` only returns\n       * a URL + storage path without creating the Document row.\n       *\n       * @param attributes - filename, mime_type, size_bytes (max 50 MB), workspace_id.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns A presigned URL object (`upload_url`, `storage_path`, `expires_in`).\n       *\n       * @example\n       * ```typescript\n       * const presigned = await admin.extraction.documents.presignedUpload({\n       *   filename: 'invoice.pdf',\n       *   mime_type: 'application/pdf',\n       *   size_bytes: 512000,\n       *   workspace_id: 'ws-uuid',\n       * });\n       * ```\n       */\n      presignedUpload: async (\n        attributes: AdminPresignedUploadAttributes,\n        options?: RequestOptions,\n      ): Promise<PresignedUrl> => {\n        const { filename, mime_type, size_bytes, workspace_id } = attributes;\n        return rb.execute<PresignedUrl>(\n          postAdminDocumentsPresignedUpload,\n          {\n            body: {\n              data: {\n                type: \"presigned-url\",\n                attributes: { filename, mime_type, size_bytes, workspace_id },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Uploads a document directly in a single shot. The server handles storage\n       * placement and immediately enqueues the document for processing.\n       *\n       * @param attributes - Upload attributes including filename and optional storage path.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The created extraction document object.\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.extraction.documents.upload({\n       *   filename: 'contract.pdf',\n       *   file_type: 'pdf',\n       *   workspace_id: 'ws-uuid',\n       *   storage_path: 'workspaces/ws-uuid/contract.pdf',\n       * });\n       * ```\n       */\n      upload: async (\n        attributes: AdminUploadDocumentAttributes,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument> => {\n        const {\n          filename,\n          file_type,\n          workspace_id,\n          storage_path,\n          file_size_bytes,\n          file_hash,\n          parent_document_id,\n          bucket_name,\n        } = attributes;\n        return rb.execute<ExtractionDocument>(\n          postAdminExtractionDocumentsUpload,\n          {\n            body: {\n              data: {\n                type: \"extraction-document\",\n                attributes: {\n                  filename,\n                  file_type,\n                  workspace_id,\n                  ...(storage_path !== undefined ? { storage_path } : {}),\n                  ...(file_size_bytes !== undefined ? { file_size_bytes } : {}),\n                  ...(file_hash !== undefined ? { file_hash } : {}),\n                  ...(parent_document_id !== undefined\n                    ? { parent_document_id }\n                    : {}),\n                  ...(bucket_name !== undefined ? { bucket_name } : {}),\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Reprocesses multiple documents in a single bulk operation.\n       *\n       * @param attrs - Bulk reprocess attributes: `workspace_id` and `document_ids` are required.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An operation success result with the count of enqueued documents.\n       *\n       * @example\n       * ```typescript\n       * const result = await admin.extraction.documents.bulkReprocess({\n       *   workspace_id: 'ws-uuid',\n       *   document_ids: ['doc-uuid-1', 'doc-uuid-2'],\n       * });\n       * console.log(`Enqueued: ${result.enqueued_count}`);\n       * ```\n       */\n      bulkReprocess: async (\n        attrs: AdminBulkReprocessAttributes,\n        options?: RequestOptions,\n      ): Promise<OperationSuccess> => {\n        const { workspace_id, document_ids, schema_version_id } = attrs;\n        return rb.execute<OperationSuccess>(\n          postAdminExtractionDocumentsBulkReprocess,\n          {\n            body: {\n              data: {\n                type: \"bulk-reprocess-result\",\n                attributes: {\n                  workspace_id,\n                  document_ids,\n                  ...(schema_version_id ? { schema_version_id } : {}),\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently deletes multiple documents in a single bulk operation.\n       *\n       * @param ids - An array of document UUIDs to delete.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An operation success result with the count of deleted documents.\n       *\n       * @example\n       * ```typescript\n       * const result = await admin.extraction.documents.bulkDelete([\n       *   'doc-uuid-1',\n       *   'doc-uuid-2',\n       * ]);\n       * console.log(`Deleted: ${result.deleted_count}`);\n       * ```\n       */\n      bulkDelete: async (\n        ids: string[],\n        options?: RequestOptions,\n      ): Promise<OperationSuccess> => {\n        return rb.execute<OperationSuccess>(\n          postAdminDocumentsBulkDelete,\n          {\n            body: {\n              data: { type: \"operation-success\", attributes: { ids } },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves platform-wide document statistics including counts by status.\n       *\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns Aggregate document statistics.\n       *\n       * @example\n       * ```typescript\n       * const stats = await admin.extraction.documents.stats();\n       * console.log(`Total: ${stats.total}, Failed: ${stats.failed}`);\n       * ```\n       */\n      stats: async (options?: RequestOptions): Promise<DocumentStats> => {\n        return rb.execute<DocumentStats>(getAdminDocumentsStats, {}, options);\n      },\n\n      /**\n       * Retrieve throughput metrics and time buckets for a workspace.\n       *\n       * @param workspaceId - Workspace UUID to scope the admin request.\n       * @param window - Optional reporting window. Defaults to `7d` server-side.\n       * @param options - Optional request settings.\n       * @returns Throughput metrics and completed-document buckets.\n       */\n      workspaceThroughput: async (\n        workspaceId: string,\n        window?: AdminWorkspaceThroughputWindow,\n        options?: RequestOptions,\n      ): Promise<AdminWorkspaceThroughput> => {\n        return rb.execute<AdminWorkspaceThroughput>(\n          getAdminExtractionDocumentsWorkspaceThroughput,\n          {\n            query: {\n              workspace_id: workspaceId,\n              ...(window ? { window } : {}),\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Lists all extraction documents belonging to a specific workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of extraction documents for the workspace.\n       *\n       * @example\n       * ```typescript\n       * const docs = await admin.extraction.documents.listByWorkspace('ws-uuid');\n       * ```\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument[]> => {\n        return rb.execute<ExtractionDocument[]>(\n          getAdminExtractionDocumentsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Lists documents filtered by processing status within a workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param status - The processing status to filter by (e.g. `\"completed\"`, `\"failed\"`).\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of extraction documents matching the status filter.\n       *\n       * @example\n       * ```typescript\n       * const failed = await admin.extraction.documents.listByStatus('ws-uuid', 'failed');\n       * console.log(`${failed.length} failed documents`);\n       * ```\n       */\n      listByStatus: async (\n        workspaceId: string,\n        status: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument[]> => {\n        return rb.execute<ExtractionDocument[]>(\n          getAdminExtractionDocumentsWorkspaceByWorkspaceIdByStatusByStatus,\n          { path: { workspace_id: workspaceId, status } },\n          options,\n        );\n      },\n\n      /**\n       * Returns the review queue for a workspace — documents awaiting human\n       * verification of their extraction results.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of documents in the review queue.\n       *\n       * @example\n       * ```typescript\n       * const queue = await admin.extraction.documents.reviewQueue('ws-uuid');\n       * console.log(`${queue.length} documents awaiting review`);\n       * ```\n       */\n      reviewQueue: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument[]> => {\n        return rb.execute<ExtractionDocument[]>(\n          getAdminExtractionDocumentsWorkspaceByWorkspaceIdReviewQueue,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Lists documents that have been marked as trained within a workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of trained extraction documents.\n       *\n       * @example\n       * ```typescript\n       * const trained = await admin.extraction.documents.listTrained('ws-uuid');\n       * ```\n       */\n      listTrained: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument[]> => {\n        return rb.execute<ExtractionDocument[]>(\n          getAdminExtractionDocumentsWorkspaceByWorkspaceIdTrained,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Lists soft-deleted (trashed) documents for a workspace. These can be\n       * restored via the `restore` method.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of trashed extraction documents.\n       *\n       * @example\n       * ```typescript\n       * const trashed = await admin.extraction.documents.listTrashed('ws-uuid');\n       * ```\n       */\n      listTrashed: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument[]> => {\n        return rb.execute<ExtractionDocument[]>(\n          getAdminExtractionDocumentsWorkspaceByWorkspaceIdTrashed,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Lists documents that have been excluded from the training dataset\n       * within a workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of excluded extraction documents.\n       *\n       * @example\n       * ```typescript\n       * const excluded = await admin.extraction.documents.listExcluded('ws-uuid');\n       * ```\n       */\n      listExcluded: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionDocument[]> => {\n        return rb.execute<ExtractionDocument[]>(\n          getAdminExtractionDocumentsWorkspaceByWorkspaceIdExcluded,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Dismisses all trained-flagged documents in a workspace in one operation.\n       * Useful for clearing training notifications after a batch review.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An operation success result with the dismissed count.\n       *\n       * @example\n       * ```typescript\n       * const result = await admin.extraction.documents.dismissAllTrained('ws-uuid');\n       * console.log(`Dismissed ${result.dismissed_count} documents`);\n       * ```\n       */\n      dismissAllTrained: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<OperationSuccess> => {\n        return rb.execute<OperationSuccess>(\n          postAdminWorkspacesByWorkspaceIdExtractionDocumentsDismissAllTrained,\n          {\n            path: { workspace_id: workspaceId },\n            body: { data: { type: \"bulk-dismissal-result\" } },\n          },\n          options,\n        );\n      },\n    },\n\n    /** Extraction result management — CRUD, history, corrections, regeneration. */\n    results: {\n      /**\n       * Lists all extraction results across the platform.\n       *\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of extraction result objects.\n       *\n       * @example\n       * ```typescript\n       * const results = await admin.extraction.results.list();\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<ExtractionResult[]> => {\n        return rb.execute<ExtractionResult[]>(\n          getAdminExtractionResults,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Retrieves a single extraction result by its unique identifier.\n       *\n       * @param id - The UUID of the extraction result.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The matching extraction result object.\n       *\n       * @example\n       * ```typescript\n       * const result = await admin.extraction.results.get('result-uuid');\n       * console.log(result.extracted_data);\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionResult> => {\n        return rb.execute<ExtractionResult>(\n          getAdminExtractionResultsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Updates an extraction result's metadata (e.g. review status).\n       *\n       * @param id - The UUID of the extraction result to update.\n       * @param attributes - The attributes to update.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The updated extraction result object.\n       *\n       * @example\n       * ```typescript\n       * const result = await admin.extraction.results.update('result-uuid', {\n       *   review_status: 'approved',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: AdminUpdateResultAttributes,\n        options?: RequestOptions,\n      ): Promise<ExtractionResult> => {\n        return rb.execute<ExtractionResult>(\n          patchAdminExtractionResultsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"extraction-result\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently deletes an extraction result.\n       *\n       * @param id - The UUID of the extraction result to delete.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns `true` when the deletion succeeds.\n       *\n       * @example\n       * ```typescript\n       * await admin.extraction.results.delete('result-uuid');\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminExtractionResultsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves all extraction results for a specific document.\n       *\n       * @param documentId - The UUID of the parent document.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of extraction results for the document.\n       *\n       * @example\n       * ```typescript\n       * const results = await admin.extraction.results.byDocument('doc-uuid');\n       * ```\n       */\n      byDocument: async (\n        documentId: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionResult[]> => {\n        return rb.execute<ExtractionResult[]>(\n          getAdminExtractionResultsDocumentByDocumentId,\n          { path: { document_id: documentId } },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves the version history of extraction results for a document,\n       * showing how results have changed over reprocessing cycles.\n       *\n       * @param documentId - The UUID of the parent document.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of historical extraction result versions.\n       *\n       * @example\n       * ```typescript\n       * const history = await admin.extraction.results.history('doc-uuid');\n       * console.log(`${history.length} result versions`);\n       * ```\n       */\n      history: async (\n        documentId: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionResult[]> => {\n        return rb.execute<ExtractionResult[]>(\n          getAdminExtractionResultsDocumentByDocumentIdHistory,\n          { path: { document_id: documentId } },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves partial (in-progress) extraction results for a document that\n       * is still being processed.\n       *\n       * @param documentId - The UUID of the parent document.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of partial extraction results available so far.\n       *\n       * @example\n       * ```typescript\n       * const partial = await admin.extraction.results.partial('doc-uuid');\n       * ```\n       */\n      partial: async (\n        documentId: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionResult[]> => {\n        return rb.execute<ExtractionResult[]>(\n          getAdminExtractionResultsDocumentByDocumentIdPartial,\n          { path: { document_id: documentId } },\n          options,\n        );\n      },\n\n      /**\n       * Regenerates an extraction result, optionally incorporating human\n       * feedback or restricting which fields to retry.\n       *\n       * @param id - The UUID of the extraction result to regenerate.\n       * @param attributes - Regeneration parameters (feedback, fields to retry).\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The regenerated extraction result object.\n       *\n       * @example\n       * ```typescript\n       * const result = await admin.extraction.results.regenerate('result-uuid', {\n       *   feedback: 'The date field was parsed incorrectly.',\n       *   fields_to_retry: ['invoice_date', 'due_date'],\n       * });\n       * ```\n       */\n      regenerate: async (\n        id: string,\n        attributes: AdminRegenerateResultAttributes,\n        options?: RequestOptions,\n      ): Promise<ExtractionResult> => {\n        return rb.execute<ExtractionResult>(\n          patchAdminExtractionResultsByIdRegenerate,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"extraction-result\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Saves manual corrections to an extraction result. The corrections are\n       * stored alongside the original data and can be used for model training.\n       *\n       * @param id - The UUID of the extraction result to correct.\n       * @param attributes - The corrections to save.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The updated extraction result object with corrections applied.\n       *\n       * @example\n       * ```typescript\n       * const result = await admin.extraction.results.saveCorrections('result-uuid', {\n       *   corrections: [\n       *     { field: 'invoice_number', value: 'INV-2026-001' },\n       *     { field: 'total_amount', value: 1250.00 },\n       *   ],\n       * });\n       * ```\n       */\n      saveCorrections: async (\n        id: string,\n        attributes: AdminSaveCorrectionsAttributes,\n        options?: RequestOptions,\n      ): Promise<ExtractionResult> => {\n        return rb.execute<ExtractionResult>(\n          patchAdminExtractionResultsByIdSaveCorrections,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"extraction-result\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Lists all extraction results belonging to a specific workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of extraction results for the workspace.\n       *\n       * @example\n       * ```typescript\n       * const results = await admin.extraction.results.listByWorkspace('ws-uuid');\n       * ```\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionResult[]> => {\n        return rb.execute<ExtractionResult[]>(\n          getAdminExtractionResultsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n    },\n\n    /** Batch upload management — create batches, get upload URLs. */\n    batches: {\n      /**\n       * Retrieves a single extraction batch by its unique identifier.\n       *\n       * @param id - The UUID of the batch.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The matching extraction batch object.\n       *\n       * @example\n       * ```typescript\n       * const batch = await admin.extraction.batches.get('batch-uuid');\n       * console.log(`Batch: ${batch.name}, ${batch.document_count} docs`);\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionBatch> => {\n        return rb.execute<ExtractionBatch>(\n          getAdminExtractionBatchesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Permanently deletes an extraction batch.\n       *\n       * @param id - The UUID of the batch to delete.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns `true` when the deletion succeeds.\n       *\n       * @example\n       * ```typescript\n       * await admin.extraction.batches.delete('batch-uuid');\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminExtractionBatchesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Creates a new extraction batch for grouping document uploads.\n       *\n       * @param attributes - Batch creation attributes including workspace ID.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The newly created extraction batch object.\n       *\n       * @example\n       * ```typescript\n       * const batch = await admin.extraction.batches.create({\n       *   name: 'Q1 Invoices',\n       *   workspace_id: 'ws-uuid',\n       *   agent_id: 'agent-uuid',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: AdminCreateBatchAttributes,\n        options?: RequestOptions,\n      ): Promise<ExtractionBatch> => {\n        return rb.execute<ExtractionBatch>(\n          postAdminExtractionBatches,\n          {\n            body: {\n              data: { type: \"extraction-batch\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Lists all extraction batches belonging to a specific workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of extraction batches for the workspace.\n       *\n       * @example\n       * ```typescript\n       * const batches = await admin.extraction.batches.listByWorkspace('ws-uuid');\n       * ```\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionBatch[]> => {\n        return rb.execute<ExtractionBatch[]>(\n          getAdminExtractionBatchesWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves presigned upload URLs for all documents in a batch, enabling\n       * parallel direct-to-storage uploads.\n       *\n       * @param id - The UUID of the batch.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of presigned URL objects, one per document slot.\n       *\n       * @example\n       * ```typescript\n       * const urls = await admin.extraction.batches.getUploadUrls('batch-uuid');\n       * // Upload files in parallel to each presigned URL\n       * await Promise.all(urls.map((u, i) => fetch(u.upload_url, {\n       *   method: 'PUT',\n       *   body: files[i],\n       * })));\n       * ```\n       */\n      getUploadUrls: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<PresignedUrl[]> => {\n        return rb.execute<PresignedUrl[]>(\n          getAdminExtractionBatchesByIdUploadUrls,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Finish upload for all documents in a batch that are awaiting processing.\n       *\n       * Calls `:finish_upload` on each document in the batch that is still in\n       * `:queued` status and returns processed count plus per-document results.\n       *\n       * @param batchId - The UUID of the extraction batch.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An operation result with processed count and per-document outcomes.\n       *\n       * @example\n       * ```typescript\n       * const result = await admin.extraction.batches.finishAll('batch-uuid');\n       * console.log(result.processed_count);\n       * ```\n       */\n      finishAll: async (\n        batchId: string,\n        options?: RequestOptions,\n      ): Promise<AdminBatchFinishAllResult> => {\n        const result = await rb.execute<\n          AdminBatchFinishAllResult & {\n            attributes?: AdminBatchFinishAllResult;\n          }\n        >(\n          postAdminExtractionBatchesByIdFinishAll,\n          {\n            path: { id: batchId },\n            body: { data: { batch_id: batchId } },\n          },\n          options,\n        );\n\n        return result.attributes ?? result;\n      },\n    },\n\n    /** Export management — create and retrieve data exports. */\n    exports: {\n      /**\n       * Lists all extraction exports for a workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of extraction export objects.\n       *\n       * @example\n       * ```typescript\n       * const exports = await admin.extraction.exports.list('ws-uuid');\n       * ```\n       */\n      list: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionExport[]> => {\n        return rb.execute<ExtractionExport[]>(\n          getAdminWorkspacesByWorkspaceIdExtractionExports,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Creates a new data export for a workspace in the specified format.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param attributes - Export creation attributes including format.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The newly created extraction export object.\n       *\n       * @example\n       * ```typescript\n       * const exp = await admin.extraction.exports.create('ws-uuid', {\n       *   format: 'csv',\n       *   agent_id: 'agent-uuid',\n       * });\n       * console.log(`Export ${exp.id} created, status: ${exp.status}`);\n       * ```\n       */\n      create: async (\n        workspaceId: string,\n        attributes: AdminCreateExportAttributes,\n        options?: RequestOptions,\n      ): Promise<ExtractionExport> => {\n        return rb.execute<ExtractionExport>(\n          postAdminWorkspacesByWorkspaceIdExtractionExports,\n          {\n            path: { workspace_id: workspaceId },\n            body: {\n              data: { type: \"extraction-export\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves a single extraction export by ID within a workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param id - The UUID of the export to retrieve.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The matching extraction export object, including download URL\n       *   when the export is complete.\n       *\n       * @example\n       * ```typescript\n       * const exp = await admin.extraction.exports.get('ws-uuid', 'export-uuid');\n       * if (exp.status === 'completed') {\n       *   console.log(`Download: ${exp.download_url}`);\n       * }\n       * ```\n       */\n      get: async (\n        workspaceId: string,\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionExport> => {\n        return rb.execute<ExtractionExport>(\n          getAdminWorkspacesByWorkspaceIdExtractionExportsById,\n          { path: { workspace_id: workspaceId, id } },\n          options,\n        );\n      },\n    },\n\n    /** Workflow management — configurable extraction pipelines. */\n    workflows: {\n      /**\n       * Lists all extraction workflows across the platform.\n       *\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of extraction workflow objects.\n       *\n       * @example\n       * ```typescript\n       * const workflows = await admin.extraction.workflows.list();\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<ExtractionWorkflow[]> => {\n        return rb.execute<ExtractionWorkflow[]>(\n          getAdminExtractionWorkflows,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Creates a new extraction workflow with the specified configuration.\n       *\n       * @param attributes - Workflow creation attributes including name.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The newly created extraction workflow object.\n       *\n       * @example\n       * ```typescript\n       * const workflow = await admin.extraction.workflows.create({\n       *   name: 'Invoice Processing',\n       *   workspace_id: 'ws-uuid',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: AdminCreateWorkflowAttributes,\n        options?: RequestOptions,\n      ): Promise<ExtractionWorkflow> => {\n        return rb.execute<ExtractionWorkflow>(\n          postAdminExtractionWorkflows,\n          {\n            body: {\n              data: { type: \"extraction-workflow\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves a single extraction workflow by its unique identifier.\n       *\n       * @param id - The UUID of the workflow.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The matching extraction workflow object.\n       *\n       * @example\n       * ```typescript\n       * const workflow = await admin.extraction.workflows.get('workflow-uuid');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionWorkflow> => {\n        return rb.execute<ExtractionWorkflow>(\n          getAdminExtractionWorkflowsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Updates an existing extraction workflow's configuration.\n       *\n       * @param id - The UUID of the workflow to update.\n       * @param attributes - The attributes to update.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The updated extraction workflow object.\n       *\n       * @example\n       * ```typescript\n       * const workflow = await admin.extraction.workflows.update('workflow-uuid', {\n       *   name: 'Updated Invoice Pipeline',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: AdminUpdateWorkflowAttributes,\n        options?: RequestOptions,\n      ): Promise<ExtractionWorkflow> => {\n        return rb.execute<ExtractionWorkflow>(\n          patchAdminExtractionWorkflowsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"extraction-workflow\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently deletes an extraction workflow.\n       *\n       * @param id - The UUID of the workflow to delete.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns `true` when the deletion succeeds.\n       *\n       * @example\n       * ```typescript\n       * await admin.extraction.workflows.delete('workflow-uuid');\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminExtractionWorkflowsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /** Config enum management — dropdown and validation values. */\n    configEnums: {\n      /**\n       * Lists all config enums used for extraction field validation and\n       * dropdown options.\n       *\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of config enum objects.\n       *\n       * @example\n       * ```typescript\n       * const enums = await admin.extraction.configEnums.list();\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<ConfigEnum[]> => {\n        return rb.execute<ConfigEnum[]>(\n          getAdminExtractionConfigEnums,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Creates a new config enum value for use in extraction field dropdowns\n       * and validation.\n       *\n       * @param attributes - Config enum creation attributes.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The newly created config enum object.\n       *\n       * @example\n       * ```typescript\n       * const enumVal = await admin.extraction.configEnums.create({\n       *   type: 'document_category',\n       *   value: 'invoice',\n       *   label: 'Invoice',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: AdminCreateConfigEnumAttributes,\n        options?: RequestOptions,\n      ): Promise<ConfigEnum> => {\n        return rb.execute<ConfigEnum>(\n          postAdminExtractionConfigEnums,\n          {\n            body: {\n              data: { type: \"config-enum\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves a single config enum by its unique identifier.\n       *\n       * @param id - The UUID of the config enum.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The matching config enum object.\n       *\n       * @example\n       * ```typescript\n       * const enumVal = await admin.extraction.configEnums.get('enum-uuid');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ConfigEnum> => {\n        return rb.execute<ConfigEnum>(\n          getAdminExtractionConfigEnumsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Updates an existing config enum's label or other mutable attributes.\n       *\n       * @param id - The UUID of the config enum to update.\n       * @param attributes - The attributes to update.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The updated config enum object.\n       *\n       * @example\n       * ```typescript\n       * const enumVal = await admin.extraction.configEnums.update('enum-uuid', {\n       *   label: 'Updated Label',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: AdminUpdateConfigEnumAttributes,\n        options?: RequestOptions,\n      ): Promise<ConfigEnum> => {\n        return rb.execute<ConfigEnum>(\n          patchAdminExtractionConfigEnumsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"config-enum\", attributes },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /** Schema discovery — AI-powered field schema detection. */\n    schemaDiscoveries: {\n      /**\n       * Runs schema discovery on documents to automatically detect extraction\n       * field schemas using AI.\n       *\n       * @param attributes - Schema discovery attributes (document or workspace scope).\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The created schema discovery object with detected fields.\n       *\n       * @example\n       * ```typescript\n       * const discovery = await admin.extraction.schemaDiscoveries.create({\n       *   document_id: 'doc-uuid',\n       *   workspace_id: 'ws-uuid',\n       * });\n       * console.log(discovery.suggested_fields);\n       * ```\n       */\n      create: async (\n        attributes: AdminCreateSchemaDiscoveryAttributes,\n        options?: RequestOptions,\n      ): Promise<SchemaDiscovery> => {\n        return rb.execute<SchemaDiscovery>(\n          postAdminExtractionSchemaDiscoveries,\n          {\n            body: {\n              data: { type: \"schema-discovery\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves a schema discovery result by its unique identifier.\n       *\n       * @param id - The UUID of the schema discovery.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The matching schema discovery object.\n       *\n       * @example\n       * ```typescript\n       * const discovery = await admin.extraction.schemaDiscoveries.get('discovery-uuid');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchemaDiscovery> => {\n        return rb.execute<SchemaDiscovery>(\n          getAdminExtractionSchemaDiscoveriesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Bootstraps schema discovery for a workspace, analyzing existing\n       * documents to suggest an initial extraction schema.\n       *\n       * @param attributes - Bootstrap attributes (workspace scope).\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The bootstrapped schema discovery object.\n       *\n       * @example\n       * ```typescript\n       * const discovery = await admin.extraction.schemaDiscoveries.bootstrap({\n       *   workspace_id: 'ws-uuid',\n       * });\n       * ```\n       */\n      bootstrap: async (\n        attributes: AdminBootstrapSchemaDiscoveryAttributes,\n        options?: RequestOptions,\n      ): Promise<SchemaDiscovery> => {\n        return rb.execute<SchemaDiscovery>(\n          postAdminExtractionSchemaDiscoveriesBootstrap,\n          {\n            body: {\n              data: { type: \"schema-discovery\", attributes },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /** Field mapping — document-to-schema field alignment. */\n    fieldMappings: {\n      /**\n       * Retrieves the current field mapping for a document within a workspace,\n       * showing how extracted fields align with the schema.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param documentId - The UUID of the document.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The field mapping result for the document.\n       *\n       * @example\n       * ```typescript\n       * const mapping = await admin.extraction.fieldMappings.get('ws-uuid', 'doc-uuid');\n       * console.log(mapping.mappings);\n       * ```\n       */\n      get: async (\n        workspaceId: string,\n        documentId: string,\n        options?: RequestOptions,\n      ): Promise<FieldMappingResult> => {\n        return rb.execute<FieldMappingResult>(\n          getAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMapping,\n          { path: { workspace_id: workspaceId, document_id: documentId } },\n          options,\n        );\n      },\n\n      /**\n       * Creates or updates the field mapping for a document, confirming how\n       * extracted fields should map to schema fields.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param documentId - The UUID of the document.\n       * @param attributes - The mapping attributes including confirmation and mappings.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The created or updated field mapping result.\n       *\n       * @example\n       * ```typescript\n       * const mapping = await admin.extraction.fieldMappings.create(\n       *   'ws-uuid',\n       *   'doc-uuid',\n       *   {\n       *     confirmed: true,\n       *     mappings: [\n       *       { source: 'inv_num', target: 'invoice_number' },\n       *       { source: 'amt', target: 'total_amount' },\n       *     ],\n       *   },\n       * );\n       * ```\n       */\n      create: async (\n        workspaceId: string,\n        documentId: string,\n        attributes: AdminFieldMappingAttributes,\n        options?: RequestOptions,\n      ): Promise<FieldMappingResult> => {\n        return rb.execute<FieldMappingResult>(\n          postAdminWorkspacesByWorkspaceIdExtractionByDocumentIdMapping,\n          {\n            path: { workspace_id: workspaceId, document_id: documentId },\n            body: {\n              data: { type: \"field-mapping-confirmation\", attributes },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /** Shadow comparison results — primary vs shadow extractor quality metrics. */\n    shadowComparisons: {\n      /**\n       * Lists all shadow comparison records across the platform.\n       *\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of shadow comparison objects.\n       *\n       * @example\n       * ```typescript\n       * const comparisons = await admin.extraction.shadowComparisons.list();\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<ShadowComparison[]> => {\n        return rb.execute<ShadowComparison[]>(\n          getAdminExtractionShadowComparisons,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Retrieves a single shadow comparison by its unique identifier.\n       *\n       * @param id - The UUID of the shadow comparison.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The matching shadow comparison object.\n       *\n       * @example\n       * ```typescript\n       * const comparison = await admin.extraction.shadowComparisons.get('comparison-uuid');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ShadowComparison> => {\n        return rb.execute<ShadowComparison>(\n          getAdminExtractionShadowComparisonsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Creates a new shadow comparison record to compare the output of the\n       * primary extractor against a shadow extractor for quality evaluation.\n       *\n       * @param attributes - Shadow comparison creation attributes.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The newly created shadow comparison object.\n       *\n       * @example\n       * ```typescript\n       * const comparison = await admin.extraction.shadowComparisons.create({\n       *   document_id: 'doc-uuid',\n       *   workspace_id: 'ws-uuid',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: AdminCreateShadowComparisonAttributes,\n        options?: RequestOptions,\n      ): Promise<ShadowComparison> => {\n        return rb.execute<ShadowComparison>(\n          postAdminExtractionShadowComparisons,\n          {\n            body: {\n              data: { type: \"shadow-comparison\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently deletes a shadow comparison record.\n       *\n       * @param id - The UUID of the shadow comparison to delete.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns `true` when the deletion succeeds.\n       *\n       * @example\n       * ```typescript\n       * await admin.extraction.shadowComparisons.delete('comparison-uuid');\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminExtractionShadowComparisonsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves the aggregated analysis report comparing primary vs shadow\n       * extractor performance across all shadow comparison records.\n       *\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of shadow comparison analysis results.\n       *\n       * @example\n       * ```typescript\n       * const analysis = await admin.extraction.shadowComparisons.analysis();\n       * ```\n       */\n      analysis: async (\n        options?: RequestOptions,\n      ): Promise<ShadowComparison[]> => {\n        return rb.execute<ShadowComparison[]>(\n          getAdminExtractionShadowComparisonsAnalysis,\n          {},\n          options,\n        );\n      },\n    },\n\n    /** Content analysis results — PII detection, OCR quality, entity extraction. */\n    analyses: {\n      /**\n       * Lists all extraction analysis records across the platform, including\n       * PII detection results and OCR quality metrics.\n       *\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of extraction analysis objects.\n       *\n       * @example\n       * ```typescript\n       * const analyses = await admin.extraction.analyses.list();\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<ExtractionAnalysis[]> => {\n        return rb.execute<ExtractionAnalysis[]>(\n          getAdminExtractionAnalyses,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Retrieves a single extraction analysis by its unique identifier.\n       *\n       * @param id - The UUID of the extraction analysis.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The matching extraction analysis object.\n       *\n       * @example\n       * ```typescript\n       * const analysis = await admin.extraction.analyses.get('analysis-uuid');\n       * console.log(analysis.pii_detected, analysis.ocr_confidence);\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionAnalysis> => {\n        return rb.execute<ExtractionAnalysis>(\n          getAdminExtractionAnalysesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /** Post-processing hooks — configurable hooks that execute after extraction. */\n    postProcessingHooks: {\n      /**\n       * Lists all post-processing hooks across the platform.\n       *\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of post-processing hook objects.\n       *\n       * @example\n       * ```typescript\n       * const hooks = await admin.extraction.postProcessingHooks.list();\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<PostProcessingHook[]> => {\n        return rb.execute<PostProcessingHook[]>(\n          getAdminPostProcessingHooks,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Retrieves a single post-processing hook by its unique identifier.\n       *\n       * @param id - The UUID of the hook.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The matching post-processing hook object.\n       *\n       * @example\n       * ```typescript\n       * const hook = await admin.extraction.postProcessingHooks.get('hook-uuid');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<PostProcessingHook> => {\n        return rb.execute<PostProcessingHook>(\n          getAdminPostProcessingHooksById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Creates a new post-processing hook for the extraction pipeline.\n       *\n       * @param attributes - Hook creation attributes including name, trigger, and type.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The newly created post-processing hook object.\n       *\n       * @example\n       * ```typescript\n       * const hook = await admin.extraction.postProcessingHooks.create({\n       *   name: 'Notify on extraction',\n       *   trigger: 'after_extraction',\n       *   type: 'webhook',\n       *   config: { url: 'https://example.com/hook' },\n       *   workspace_id: 'ws-uuid',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: AdminCreatePostProcessingHookAttributes,\n        options?: RequestOptions,\n      ): Promise<PostProcessingHook> => {\n        return rb.execute<PostProcessingHook>(\n          postAdminPostProcessingHooks,\n          {\n            body: {\n              data: { type: \"post-processing-hook\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Updates an existing post-processing hook's configuration.\n       *\n       * @param id - The UUID of the hook to update.\n       * @param attributes - The attributes to update.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The updated post-processing hook object.\n       *\n       * @example\n       * ```typescript\n       * const hook = await admin.extraction.postProcessingHooks.update('hook-uuid', {\n       *   enabled: false,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: AdminUpdatePostProcessingHookAttributes,\n        options?: RequestOptions,\n      ): Promise<PostProcessingHook> => {\n        return rb.execute<PostProcessingHook>(\n          patchAdminPostProcessingHooksById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"post-processing-hook\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently deletes a post-processing hook.\n       *\n       * @param id - The UUID of the hook to delete.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns `true` when the deletion succeeds.\n       *\n       * @example\n       * ```typescript\n       * await admin.extraction.postProcessingHooks.delete('hook-uuid');\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminPostProcessingHooksById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /** Training analytics — workspace-level extraction training metrics. */\n    trainingAnalytics: {\n      /**\n       * Retrieves training analytics for a specific workspace, including\n       * accuracy trends, correction counts, and low-confidence documents.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The training analytics object for the workspace.\n       *\n       * @example\n       * ```typescript\n       * const analytics = await admin.extraction.trainingAnalytics.forWorkspace('ws-uuid');\n       * console.log(analytics.avg_confidence, analytics.total_examples);\n       * ```\n       */\n      forWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<TrainingAnalytics> => {\n        return rb.execute<TrainingAnalytics>(\n          getAdminWorkspacesByWorkspaceIdTrainingAnalytics,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Retrieves training analytics for multiple workspaces in a single\n       * request (max 50). Pass workspace IDs as a comma-separated string.\n       *\n       * @param workspaceIds - Comma-separated workspace UUIDs.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of training analytics objects.\n       *\n       * @example\n       * ```typescript\n       * const batch = await admin.extraction.trainingAnalytics.batch('ws-1,ws-2,ws-3');\n       * ```\n       */\n      batch: async (\n        workspaceIds: string,\n        options?: RequestOptions,\n      ): Promise<TrainingAnalytics[]> => {\n        return rb.execute<TrainingAnalytics[]>(\n          getAdminWorkspacesAnalyticsBatch,\n          { query: { workspace_ids: workspaceIds } },\n          options,\n        );\n      },\n    },\n\n    /** Extraction agents — list and predict best extraction agents for documents. */\n    extractionAgents: {\n      /**\n       * Lists all available extraction agents (system agents tagged with\n       * \"extraction\" category).\n       *\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of extraction agent objects.\n       *\n       * @example\n       * ```typescript\n       * const agents = await admin.extraction.extractionAgents.list();\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<ExtractionAgent[]> => {\n        return rb.execute<ExtractionAgent[]>(\n          getAdminExtractionAgents,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Retrieves a single extraction agent by its unique identifier.\n       *\n       * @param id - The UUID of the extraction agent.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The matching extraction agent object.\n       *\n       * @example\n       * ```typescript\n       * const agent = await admin.extraction.extractionAgents.get('agent-uuid');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ExtractionAgent> => {\n        return rb.execute<ExtractionAgent>(\n          getAdminExtractionAgentsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Predicts the best extraction agent for a given document based on its\n       * name, description, or file content.\n       *\n       * @param attributes - Prediction input attributes.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns A prediction result with recommended agents.\n       *\n       * @example\n       * ```typescript\n       * const prediction = await admin.extraction.extractionAgents.predict({\n       *   name: 'invoice.pdf',\n       *   description: 'Monthly vendor invoice',\n       *   file_content: 'Invoice #12345...',\n       * });\n       * ```\n       */\n      predict: async (\n        attributes: AdminPredictExtractionAgentAttributes,\n        options?: RequestOptions,\n      ): Promise<unknown> => {\n        const { name, description, file_content, document_id } = attributes;\n        return rb.execute<unknown>(\n          postAdminExtractionAgentsPredict,\n          {\n            body: {\n              data: { name, description, file_content, document_id },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /** Chunk-entity links — bridge between document chunks and knowledge graph entities. */\n    chunkEntityLinks: {\n      /**\n       * Lists all chunk-entity links across the platform.\n       *\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of chunk-entity link objects.\n       *\n       * @example\n       * ```typescript\n       * const links = await admin.extraction.chunkEntityLinks.list();\n       * ```\n       */\n      list: async (options?: RequestOptions): Promise<ChunkEntityLink[]> => {\n        return rb.execute<ChunkEntityLink[]>(\n          getAdminExtractionChunkEntityLinks,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Retrieves a single chunk-entity link by its unique identifier.\n       *\n       * @param id - The UUID of the chunk-entity link.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns The matching chunk-entity link object.\n       *\n       * @example\n       * ```typescript\n       * const link = await admin.extraction.chunkEntityLinks.get('link-uuid');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ChunkEntityLink> => {\n        return rb.execute<ChunkEntityLink>(\n          getAdminExtractionChunkEntityLinksById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Lists all chunk-entity links for a specific document.\n       *\n       * @param documentId - The UUID of the document.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of chunk-entity links for the document.\n       *\n       * @example\n       * ```typescript\n       * const links = await admin.extraction.chunkEntityLinks.byDocument('doc-uuid');\n       * ```\n       */\n      byDocument: async (\n        documentId: string,\n        options?: RequestOptions,\n      ): Promise<ChunkEntityLink[]> => {\n        return rb.execute<ChunkEntityLink[]>(\n          getAdminExtractionChunkEntityLinksDocumentByDocumentId,\n          { path: { document_id: documentId } },\n          options,\n        );\n      },\n\n      /**\n       * Lists all chunk-entity links for a specific document chunk.\n       *\n       * @param documentChunkId - The UUID of the document chunk.\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of chunk-entity links for the chunk.\n       *\n       * @example\n       * ```typescript\n       * const links = await admin.extraction.chunkEntityLinks.byChunk('chunk-uuid');\n       * ```\n       */\n      byChunk: async (\n        documentChunkId: string,\n        options?: RequestOptions,\n      ): Promise<ChunkEntityLink[]> => {\n        return rb.execute<ChunkEntityLink[]>(\n          getAdminExtractionChunkEntityLinksChunkByDocumentChunkId,\n          { path: { document_chunk_id: documentChunkId } },\n          options,\n        );\n      },\n\n      /**\n       * Lists all chunk-entity links for a specific knowledge graph entity.\n       *\n       * @param graphNodeId - The UUID of the graph node (entity).\n       * @param options - Optional request options (abort signal, custom headers).\n       * @returns An array of chunk-entity links for the entity.\n       *\n       * @example\n       * ```typescript\n       * const links = await admin.extraction.chunkEntityLinks.byEntity('node-uuid');\n       * ```\n       */\n      byEntity: async (\n        graphNodeId: string,\n        options?: RequestOptions,\n      ): Promise<ChunkEntityLink[]> => {\n        return rb.execute<ChunkEntityLink[]>(\n          getAdminExtractionChunkEntityLinksEntityByGraphNodeId,\n          { path: { graph_node_id: graphNodeId } },\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport type {\n  SchedulingEventType,\n  SchedulingEvent,\n  SchedulingParticipant,\n  SchedulingBooking,\n  SchedulingCalendarSync,\n  SchedulingLocation,\n  SchedulingAvailabilityRule,\n  SchedulingReminder,\n} from \"../_internal/types.gen\";\nimport {\n  // Locations\n  getAdminSchedulingLocations,\n  getAdminSchedulingLocationsById,\n  getAdminSchedulingLocationsByType,\n  postAdminSchedulingLocations,\n  patchAdminSchedulingLocationsById,\n  patchAdminSchedulingLocationsByIdDeactivate,\n  // EventTypes\n  getAdminSchedulingEventTypes,\n  getAdminSchedulingEventTypesById,\n  postAdminSchedulingEventTypes,\n  patchAdminSchedulingEventTypesById,\n  // Events\n  getAdminSchedulingEvents,\n  getAdminSchedulingEventsById,\n  postAdminSchedulingEvents,\n  patchAdminSchedulingEventsById,\n  patchAdminSchedulingEventsByIdCancel,\n  patchAdminSchedulingEventsByIdComplete,\n  patchAdminSchedulingEventsByIdReschedule,\n  getAdminSchedulingEventsByDateRange,\n  getAdminSchedulingEventsByParticipant,\n  // Participants\n  getAdminSchedulingParticipants,\n  getAdminSchedulingParticipantsById,\n  postAdminSchedulingParticipants,\n  patchAdminSchedulingParticipantsById,\n  patchAdminSchedulingParticipantsByIdRespond,\n  deleteAdminSchedulingParticipantsById,\n  // AvailabilityRules\n  getAdminSchedulingAvailabilityRules,\n  getAdminSchedulingAvailabilityRulesById,\n  postAdminSchedulingAvailabilityRules,\n  patchAdminSchedulingAvailabilityRulesById,\n  deleteAdminSchedulingAvailabilityRulesById,\n  // Bookings\n  getAdminSchedulingBookings,\n  getAdminSchedulingBookingsById,\n  postAdminSchedulingBookings,\n  patchAdminSchedulingBookingsByIdConfirm,\n  patchAdminSchedulingBookingsByIdCancel,\n  patchAdminSchedulingBookingsByIdReschedule,\n  patchAdminSchedulingBookingsByIdMarkNoShow,\n  // Reminders\n  getAdminSchedulingReminders,\n  getAdminSchedulingRemindersById,\n  postAdminSchedulingReminders,\n  patchAdminSchedulingRemindersByIdCancel,\n  // CalendarSyncs\n  getAdminSchedulingCalendarSyncs,\n  getAdminSchedulingCalendarSyncsById,\n  postAdminSchedulingCalendarSyncs,\n  patchAdminSchedulingCalendarSyncsById,\n  patchAdminSchedulingCalendarSyncsByIdPause,\n  patchAdminSchedulingCalendarSyncsByIdResume,\n  deleteAdminSchedulingCalendarSyncsById,\n  patchAdminSchedulingEventTypesByIdArchive,\n  getAdminSchedulingEventTypesBySlug,\n  getAdminSchedulingBookingsByBooker,\n  getAdminSchedulingAvailabilityRulesByUser,\n  getAdminSchedulingAvailabilityRulesByEventType,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n// F-C8 — closed typed Create/Update interfaces mirror the resource accept\n// lists. F-C15 / F-C18 — list methods accept pagination + workspace_id where\n// the underlying action requires it.\n\ntype ListPaginationOptions = {\n  page?: number;\n  pageSize?: number;\n} & RequestOptions;\n\nfunction withPaginationQuery(\n  options: ListPaginationOptions | undefined,\n  base: Record<string, unknown> = {},\n): Record<string, unknown> {\n  const query: Record<string, unknown> = { ...base };\n  if (options?.page !== undefined) query[\"page[number]\"] = options.page;\n  if (options?.pageSize !== undefined) query[\"page[size]\"] = options.pageSize;\n  return query;\n}\n\n/** Attributes accepted when creating a Location. */\nexport type CreateAdminSchedulingLocationAttributes = {\n  workspace_id: string;\n  name: string;\n  type: \"venue\" | \"room\" | \"virtual\" | \"resource\";\n  address?: string;\n  city?: string;\n  state?: string;\n  country?: string;\n  postal_code?: string;\n  latitude?: number;\n  longitude?: number;\n  url?: string;\n  capacity?: number;\n  instructions?: string;\n  is_active?: boolean;\n  metadata?: Record<string, unknown>;\n};\n\n/** Attributes accepted when updating a Location (PATCH semantics). */\nexport type UpdateAdminSchedulingLocationAttributes = Partial<\n  Omit<CreateAdminSchedulingLocationAttributes, \"workspace_id\">\n>;\n\n/** Attributes accepted when creating an EventType. */\nexport type CreateAdminSchedulingEventTypeAttributes = {\n  name: string;\n  duration_minutes: number;\n  slug?: string;\n  description?: string;\n  buffer_before_minutes?: number;\n  buffer_after_minutes?: number;\n  min_notice_minutes?: number;\n  max_advance_days?: number;\n  location_type?: \"video\" | \"phone\" | \"in_person\";\n  location_id?: string;\n  location?: Record<string, unknown>;\n  default_reminder_offsets?: number[];\n  booking_enabled?: boolean;\n  capacity?: number;\n  requires_approval?: boolean;\n  booking_cooldown_minutes?: number;\n  intake_form_schema?: Record<string, unknown>;\n  billing_operation?: string;\n  color?: string;\n  metadata?: Record<string, unknown>;\n  status?: \"active\" | \"archived\";\n  workspace_id?: string;\n  /**\n   * F-A26 — when set, anonymous bookings against this event type use this\n   * user as the linked Event's `organizer_user_id`, enabling the exclusion\n   * constraint to block double-booking.\n   */\n  owner_user_id?: string;\n};\n\n/** Attributes accepted when updating an EventType (PATCH semantics). */\nexport type UpdateAdminSchedulingEventTypeAttributes = Partial<\n  Omit<CreateAdminSchedulingEventTypeAttributes, \"workspace_id\">\n>;\n\n/** Attributes accepted when creating an Event. */\nexport type CreateAdminSchedulingEventAttributes = {\n  start_time: string;\n  end_time: string;\n  title?: string;\n  description?: string;\n  timezone?: string;\n  status?: \"draft\" | \"confirmed\" | \"cancelled\" | \"completed\";\n  location_type?: \"video\" | \"phone\" | \"in_person\";\n  location_id?: string;\n  location?: Record<string, unknown>;\n  recurrence_rule?: Record<string, unknown>;\n  recurrence_parent_id?: string;\n  source?: \"platform\" | \"external\" | \"booking\" | \"agent\" | \"automation\";\n  external_calendar_id?: string;\n  notes?: string;\n  metadata?: Record<string, unknown>;\n  event_type_id?: string;\n  workspace_id?: string;\n  organizer_user_id?: string;\n};\n\n/** Attributes accepted when updating an Event (PATCH semantics). */\nexport type UpdateAdminSchedulingEventAttributes = {\n  title?: string;\n  description?: string;\n  timezone?: string;\n  location_type?: \"video\" | \"phone\" | \"in_person\";\n  location_id?: string;\n  location?: Record<string, unknown>;\n  notes?: string;\n  metadata?: Record<string, unknown>;\n};\n\n/** Attributes for cancelling an Event. */\nexport type CancelAdminSchedulingEventAttributes = {\n  cancellation_reason?: string;\n};\n\n/** Attributes accepted when creating a Participant. `email` is required server-side. */\nexport type CreateAdminSchedulingParticipantAttributes = {\n  event_id: string;\n  email: string;\n  name?: string;\n  phone?: string;\n  role?: string;\n  status?: string;\n  contact_id?: string;\n  user_id?: string;\n  metadata?: Record<string, unknown>;\n  workspace_id?: string;\n};\n\n/** Attributes accepted when updating a Participant. */\nexport type UpdateAdminSchedulingParticipantAttributes = {\n  name?: string;\n  phone?: string;\n  role?: string;\n  metadata?: Record<string, unknown>;\n};\n\n/** Attributes accepted when creating an AvailabilityRule. */\nexport type CreateAdminSchedulingAvailabilityRuleAttributes = {\n  workspace_id: string;\n  type: \"recurring\" | \"override\";\n  event_type_id?: string;\n  user_id?: string;\n  location_id?: string;\n  name?: string;\n  priority?: number;\n  weekly_schedule?: Record<string, unknown>;\n  date_overrides?: Record<string, unknown>[];\n  timezone?: string;\n  effective_from?: string;\n  effective_until?: string;\n  is_active?: boolean;\n  metadata?: Record<string, unknown>;\n};\n\n/** Attributes accepted when updating an AvailabilityRule. */\nexport type UpdateAdminSchedulingAvailabilityRuleAttributes = Partial<\n  Omit<CreateAdminSchedulingAvailabilityRuleAttributes, \"workspace_id\">\n>;\n\n/** Attributes accepted when creating a Booking. `booker_email`/`booker_name` required. */\nexport type CreateAdminSchedulingBookingAttributes = {\n  event_type_id: string;\n  start_time: string;\n  end_time: string;\n  booker_name: string;\n  booker_email: string;\n  booker_phone?: string;\n  booker_timezone?: string;\n  booker_contact_id?: string;\n  booked_by_user_id?: string;\n  intake_responses?: Record<string, unknown>;\n  party_size?: number;\n  metadata?: Record<string, unknown>;\n  workspace_id?: string;\n};\n\n/** Attributes for cancelling a Booking. */\nexport type CancelAdminSchedulingBookingAttributes = {\n  cancellation_reason?: string;\n  cancelled_by?: \"booker\" | \"organizer\" | \"system\";\n};\n\n/** Attributes for rescheduling a Booking. */\nexport type RescheduleAdminSchedulingBookingAttributes = {\n  new_start_time: string;\n  new_end_time: string;\n};\n\n/** Attributes accepted when creating a Reminder. */\nexport type CreateAdminSchedulingReminderAttributes = {\n  event_id: string;\n  minutes_before: number;\n  scheduled_at: string;\n  channel: \"email\" | \"sms\" | \"whatsapp\" | \"slack\" | \"webhook\";\n  workspace_id: string;\n  status?: \"pending\" | \"sent\" | \"failed\" | \"cancelled\";\n  recipient_participant_id?: string;\n  metadata?: Record<string, unknown>;\n};\n\n/** Attributes accepted when creating a CalendarSync. BAA required for HIPAA workspaces. */\nexport type CreateAdminSchedulingCalendarSyncAttributes = {\n  workspace_id: string;\n  user_id: string;\n  connector_id: string;\n  provider: \"google\" | \"outlook\";\n  calendar_external_id: string;\n  calendar_name?: string;\n  sync_direction?: \"push\" | \"pull\" | \"bidirectional\";\n  role?: \"conflict_check\" | \"add_events\" | \"both\";\n  sync_method?: \"poll\";\n  poll_interval_minutes?: number;\n  settings?: Record<string, unknown>;\n  metadata?: Record<string, unknown>;\n  baa_attestation?: {\n    type: \"google_workspace_baa\" | \"microsoft_baa\" | \"other\";\n    attested_at: string;\n    attested_by_user_id: string;\n    attestation_text: string;\n    platform_acknowledgment: string;\n  };\n};\n\n/** Attributes accepted when updating a CalendarSync. No `enabled` — use pause/resume. */\nexport type UpdateAdminSchedulingCalendarSyncAttributes = {\n  calendar_name?: string;\n  sync_direction?: \"push\" | \"pull\" | \"bidirectional\";\n  role?: \"conflict_check\" | \"add_events\" | \"both\";\n  sync_method?: \"poll\";\n  poll_interval_minutes?: number;\n  settings?: Record<string, unknown>;\n  metadata?: Record<string, unknown>;\n};\n\n/**\n * Admin scheduling namespace — full scheduling domain management.\n *\n * Provides CRUD and lifecycle operations for all 8 scheduling resources:\n * locations, event types, events, participants, availability rules,\n * bookings, reminders, and calendar syncs.\n *\n * @example\n * ```typescript\n * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n *\n * // Create a location\n * const loc = await admin.scheduling.locations.create({\n *   workspace_id: 'ws_abc', name: 'Room A', type: 'room',\n * });\n *\n * // List events by date range\n * const events = await admin.scheduling.events.listByDateRange(\n *   'ws_abc', '2026-04-01T00:00:00Z', '2026-04-30T23:59:59Z',\n * );\n * ```\n */\nexport function createSchedulingNamespace(rb: RequestBuilder) {\n  return {\n    /** Locations — reusable venue/resource registry. */\n    locations: {\n      /**\n       * List locations in a workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional pagination and request options.\n       * @returns A page of `SchedulingLocation` records.\n       */\n      list: async (\n        workspaceId: string,\n        options?: ListPaginationOptions,\n      ): Promise<SchedulingLocation[]> => {\n        return rb.execute<SchedulingLocation[]>(\n          getAdminSchedulingLocations,\n          {\n            query: withPaginationQuery(options, { workspace_id: workspaceId }),\n          },\n          options,\n        );\n      },\n\n      /**\n       * List locations filtered by type.\n       *\n       * @param type - One of \"venue\", \"room\", \"virtual\", \"resource\".\n       * @param options - Optional request options.\n       * @returns A list of `SchedulingLocation` records of the given type.\n       */\n      listByType: async (\n        type: \"venue\" | \"room\" | \"virtual\" | \"resource\",\n        options?: RequestOptions,\n      ): Promise<SchedulingLocation[]> => {\n        return rb.execute<SchedulingLocation[]>(\n          getAdminSchedulingLocationsByType,\n          { query: { type } },\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single location by ID.\n       *\n       * @param id - The UUID of the location.\n       * @param options - Optional request options.\n       * @returns The matching `SchedulingLocation`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingLocation> => {\n        return rb.execute<SchedulingLocation>(\n          getAdminSchedulingLocationsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new location.\n       *\n       * @param attributes - Location attributes. `workspace_id`, `name`,\n       *   and `type` are required.\n       * @param options - Optional request options.\n       * @returns The newly created `SchedulingLocation`.\n       *\n       * @example\n       * ```typescript\n       * const loc = await admin.scheduling.locations.create({\n       *   workspace_id: 'ws_abc',\n       *   name: 'Conference Room A',\n       *   type: 'room',\n       *   capacity: 12,\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateAdminSchedulingLocationAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingLocation> => {\n        return rb.execute<SchedulingLocation>(\n          postAdminSchedulingLocations,\n          { body: { data: { type: \"scheduling-location\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update a location's mutable fields.\n       *\n       * @param id - The UUID of the location.\n       * @param attributes - Subset of attributes to change.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingLocation`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.locations.update('loc_abc', {\n       *   capacity: 24,\n       *   instructions: 'Use side entrance',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateAdminSchedulingLocationAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingLocation> => {\n        return rb.execute<SchedulingLocation>(\n          patchAdminSchedulingLocationsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"scheduling-location\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Deactivate a location. The record is preserved but no longer offered\n       * for new event types or bookings.\n       *\n       * @param id - The UUID of the location to deactivate.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingLocation` with `is_active: false`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.locations.deactivate('loc_abc');\n       * ```\n       */\n      deactivate: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingLocation> => {\n        return rb.execute<SchedulingLocation>(\n          patchAdminSchedulingLocationsByIdDeactivate,\n          {\n            path: { id },\n            body: { data: { id, type: \"scheduling-location\" } },\n          },\n          options,\n        );\n      },\n    },\n\n    /** Event Types — reusable templates for bookable appointment slots. */\n    eventTypes: {\n      /**\n       * List event types in a workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional pagination and request options.\n       * @returns A page of `SchedulingEventType` records.\n       */\n      list: async (\n        workspaceId: string,\n        options?: ListPaginationOptions,\n      ): Promise<SchedulingEventType[]> => {\n        return rb.execute<SchedulingEventType[]>(\n          getAdminSchedulingEventTypes,\n          {\n            query: withPaginationQuery(options, { workspace_id: workspaceId }),\n          },\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single event type by ID.\n       *\n       * @param id - The UUID of the event type.\n       * @param options - Optional request options.\n       * @returns The matching `SchedulingEventType`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingEventType> => {\n        return rb.execute<SchedulingEventType>(\n          getAdminSchedulingEventTypesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new event type.\n       *\n       * @param attributes - Event type attributes. `name` and\n       *   `duration_minutes` are required.\n       * @param options - Optional request options.\n       * @returns The newly created `SchedulingEventType`.\n       *\n       * @example\n       * ```typescript\n       * const et = await admin.scheduling.eventTypes.create({\n       *   name: '30-Minute Consultation',\n       *   duration_minutes: 30,\n       *   location_type: 'video',\n       *   workspace_id: 'ws_abc',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateAdminSchedulingEventTypeAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingEventType> => {\n        return rb.execute<SchedulingEventType>(\n          postAdminSchedulingEventTypes,\n          { body: { data: { type: \"scheduling-event-type\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an event type. Slug cannot be changed.\n       *\n       * @param id - The UUID of the event type.\n       * @param attributes - Subset of attributes to change.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingEventType`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.eventTypes.update('et_abc', {\n       *   duration_minutes: 45,\n       *   requires_approval: true,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateAdminSchedulingEventTypeAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingEventType> => {\n        return rb.execute<SchedulingEventType>(\n          patchAdminSchedulingEventTypesById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"scheduling-event-type\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Archive an event type. Existing bookings are preserved; no new\n       * bookings can be made against an archived type.\n       *\n       * @param id - The UUID of the event type to archive.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingEventType`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.eventTypes.archive('et_abc');\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingEventType> => {\n        return rb.execute<SchedulingEventType>(\n          patchAdminSchedulingEventTypesByIdArchive,\n          {\n            path: { id },\n            body: { data: { id, type: \"scheduling-event-type\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Look up an event type by its public slug within a workspace.\n       *\n       * @param slug - The slug (URL-friendly identifier).\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional request options.\n       * @returns The matching `SchedulingEventType`.\n       */\n      getBySlug: async (\n        slug: string,\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingEventType> => {\n        return rb.execute<SchedulingEventType>(\n          getAdminSchedulingEventTypesBySlug,\n          { query: { slug, workspace_id: workspaceId } },\n          options,\n        );\n      },\n    },\n\n    /** Events — scheduled occurrences between workspace members. */\n    events: {\n      /**\n       * List events in a workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional pagination and request options.\n       * @returns A page of `SchedulingEvent` records.\n       */\n      list: async (\n        workspaceId: string,\n        options?: ListPaginationOptions,\n      ): Promise<SchedulingEvent[]> => {\n        return rb.execute<SchedulingEvent[]>(\n          getAdminSchedulingEvents,\n          {\n            query: withPaginationQuery(options, { workspace_id: workspaceId }),\n          },\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single event by ID.\n       *\n       * @param id - The UUID of the event.\n       * @param options - Optional request options.\n       * @returns The matching `SchedulingEvent`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingEvent> => {\n        return rb.execute<SchedulingEvent>(\n          getAdminSchedulingEventsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a scheduled event.\n       *\n       * @param attributes - Event attributes. `start_time` and `end_time`\n       *   are required.\n       * @param options - Optional request options.\n       * @returns The newly created `SchedulingEvent`.\n       *\n       * @example\n       * ```typescript\n       * const ev = await admin.scheduling.events.create({\n       *   workspace_id: 'ws_abc',\n       *   title: 'Team Sync',\n       *   start_time: '2026-04-07T09:00:00Z',\n       *   end_time: '2026-04-07T09:30:00Z',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateAdminSchedulingEventAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingEvent> => {\n        return rb.execute<SchedulingEvent>(\n          postAdminSchedulingEvents,\n          { body: { data: { type: \"scheduling-event\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update event metadata (title, description, location, notes,\n       * timezone). Use `reschedule` to move the time.\n       *\n       * @param id - The UUID of the event.\n       * @param attributes - Subset of attributes to change.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingEvent`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.events.update('se_abc', {\n       *   title: 'Team Sync — agenda updated',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateAdminSchedulingEventAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingEvent> => {\n        return rb.execute<SchedulingEvent>(\n          patchAdminSchedulingEventsById,\n          {\n            path: { id },\n            body: { data: { id, type: \"scheduling-event\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Cancel an event.\n       *\n       * @param id - The UUID of the event to cancel.\n       * @param attributes - Optional `{ cancellation_reason }`.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingEvent` with `status: \"cancelled\"`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.events.cancel('se_abc', {\n       *   cancellation_reason: 'Conflicting booking',\n       * });\n       * ```\n       */\n      cancel: async (\n        id: string,\n        attributes?: CancelAdminSchedulingEventAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingEvent> => {\n        return rb.execute<SchedulingEvent>(\n          patchAdminSchedulingEventsByIdCancel,\n          {\n            path: { id },\n            body: attributes\n              ? { data: { id, type: \"scheduling-event\", attributes } }\n              : { data: { id, type: \"scheduling-event\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Mark an event as completed.\n       *\n       * @param id - The UUID of the event.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingEvent` with `status: \"completed\"`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.events.complete('se_abc');\n       * ```\n       */\n      complete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingEvent> => {\n        return rb.execute<SchedulingEvent>(\n          patchAdminSchedulingEventsByIdComplete,\n          { path: { id }, body: { data: { id, type: \"scheduling-event\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Reschedule an event to a new time window.\n       *\n       * @param id - The UUID of the event.\n       * @param attributes - `{ new_start_time, new_end_time }` — both required.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingEvent` at the new time.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.events.reschedule('se_abc', {\n       *   new_start_time: '2026-04-07T10:00:00Z',\n       *   new_end_time: '2026-04-07T10:30:00Z',\n       * });\n       * ```\n       */\n      reschedule: async (\n        id: string,\n        attributes: { new_start_time: string; new_end_time: string },\n        options?: RequestOptions,\n      ): Promise<SchedulingEvent> => {\n        return rb.execute<SchedulingEvent>(\n          patchAdminSchedulingEventsByIdReschedule,\n          {\n            path: { id },\n            body: { data: { id, type: \"scheduling-event\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * List events within a date range.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param startTime - ISO-8601 start of range.\n       * @param endTime - ISO-8601 end of range.\n       * @param options - Optional request options.\n       * @returns Matching `SchedulingEvent` records.\n       */\n      listByDateRange: async (\n        workspaceId: string,\n        startTime: string,\n        endTime: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingEvent[]> => {\n        return rb.execute<SchedulingEvent[]>(\n          getAdminSchedulingEventsByDateRange,\n          {\n            query: {\n              workspace_id: workspaceId,\n              start_time: startTime,\n              end_time: endTime,\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * List events for a participant within a workspace, scoped by their\n       * email address.\n       *\n       * @param email - The participant's email.\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional request options.\n       * @returns Matching `SchedulingEvent` records.\n       */\n      listByParticipant: async (\n        email: string,\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingEvent[]> => {\n        return rb.execute<SchedulingEvent[]>(\n          getAdminSchedulingEventsByParticipant,\n          { query: { email, workspace_id: workspaceId } },\n          options,\n        );\n      },\n    },\n\n    /** Participants — people attending scheduling events. */\n    participants: {\n      /**\n       * List participants for a specific event.\n       *\n       * @param eventId - The UUID of the **event** (NOT a participant).\n       * @param options - Optional pagination and request options.\n       * @returns Participant records for the event.\n       */\n      list: async (\n        eventId: string,\n        options?: ListPaginationOptions,\n      ): Promise<SchedulingParticipant[]> => {\n        return rb.execute<SchedulingParticipant[]>(\n          getAdminSchedulingParticipants,\n          { query: withPaginationQuery(options, { event_id: eventId }) },\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a participant by ID.\n       *\n       * @param id - The UUID of the participant.\n       * @param options - Optional request options.\n       * @returns The matching `SchedulingParticipant`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingParticipant> => {\n        return rb.execute<SchedulingParticipant>(\n          getAdminSchedulingParticipantsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Add a participant to an event.\n       *\n       * @param attributes - Participant attributes. `event_id` and `email`\n       *   are required.\n       * @param options - Optional request options.\n       * @returns The newly created `SchedulingParticipant`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.participants.create({\n       *   event_id: 'se_abc',\n       *   email: 'alice@example.com',\n       *   name: 'Alice',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateAdminSchedulingParticipantAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingParticipant> => {\n        return rb.execute<SchedulingParticipant>(\n          postAdminSchedulingParticipants,\n          {\n            body: {\n              data: { type: \"scheduling-participant\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update a participant's metadata. Use `respond` for RSVP changes.\n       *\n       * @param id - The UUID of the participant.\n       * @param attributes - Subset of attributes to change.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingParticipant`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.participants.update('pp_abc', {\n       *   role: 'organizer',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateAdminSchedulingParticipantAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingParticipant> => {\n        return rb.execute<SchedulingParticipant>(\n          patchAdminSchedulingParticipantsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"scheduling-participant\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Record a participant's RSVP response.\n       *\n       * @param id - The UUID of the participant.\n       * @param status - One of \"accepted\" | \"declined\" | \"tentative\".\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingParticipant`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.participants.respond('pp_abc', 'accepted');\n       * ```\n       */\n      respond: async (\n        id: string,\n        status: \"accepted\" | \"declined\" | \"tentative\",\n        options?: RequestOptions,\n      ): Promise<SchedulingParticipant> => {\n        return rb.execute<SchedulingParticipant>(\n          patchAdminSchedulingParticipantsByIdRespond,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"scheduling-participant\",\n                attributes: { status },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Remove a participant from an event.\n       *\n       * @param id - The UUID of the participant.\n       * @param options - Optional request options.\n       * @returns `true` on success.\n       */\n      remove: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminSchedulingParticipantsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /** Availability Rules — when someone/something is bookable. */\n    availabilityRules: {\n      /**\n       * List availability rules in a workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional pagination and request options.\n       * @returns A page of `SchedulingAvailabilityRule` records.\n       */\n      list: async (\n        workspaceId: string,\n        options?: ListPaginationOptions,\n      ): Promise<SchedulingAvailabilityRule[]> => {\n        return rb.execute<SchedulingAvailabilityRule[]>(\n          getAdminSchedulingAvailabilityRules,\n          {\n            query: withPaginationQuery(options, { workspace_id: workspaceId }),\n          },\n          options,\n        );\n      },\n\n      /**\n       * Retrieve an availability rule by ID.\n       *\n       * @param id - The UUID of the rule.\n       * @param options - Optional request options.\n       * @returns The matching `SchedulingAvailabilityRule`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingAvailabilityRule> => {\n        return rb.execute<SchedulingAvailabilityRule>(\n          getAdminSchedulingAvailabilityRulesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create an availability rule.\n       *\n       * @param attributes - Rule attributes. `workspace_id` and `type`\n       *   are required.\n       * @param options - Optional request options.\n       * @returns The newly created `SchedulingAvailabilityRule`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.availabilityRules.create({\n       *   workspace_id: 'ws_abc',\n       *   type: 'recurring',\n       *   user_id: 'usr_def',\n       *   weekly_schedule: { mon: [{ start: '09:00', end: '17:00' }] },\n       *   timezone: 'America/New_York',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateAdminSchedulingAvailabilityRuleAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingAvailabilityRule> => {\n        return rb.execute<SchedulingAvailabilityRule>(\n          postAdminSchedulingAvailabilityRules,\n          {\n            body: {\n              data: { type: \"scheduling-availability-rule\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update an availability rule.\n       *\n       * @param id - The UUID of the rule.\n       * @param attributes - Subset of attributes to change.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingAvailabilityRule`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.availabilityRules.update('ar_abc', {\n       *   is_active: false,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateAdminSchedulingAvailabilityRuleAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingAvailabilityRule> => {\n        return rb.execute<SchedulingAvailabilityRule>(\n          patchAdminSchedulingAvailabilityRulesById,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"scheduling-availability-rule\",\n                attributes,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete an availability rule.\n       *\n       * @param id - The UUID of the rule.\n       * @param options - Optional request options.\n       * @returns `true` on success.\n       */\n      destroy: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminSchedulingAvailabilityRulesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List availability rules for a specific user.\n       *\n       * @param userId - The UUID of the user.\n       * @param options - Optional request options.\n       * @returns Matching `SchedulingAvailabilityRule` records.\n       */\n      listByUser: async (\n        userId: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingAvailabilityRule[]> => {\n        return rb.execute<SchedulingAvailabilityRule[]>(\n          getAdminSchedulingAvailabilityRulesByUser,\n          { query: { user_id: userId } },\n          options,\n        );\n      },\n\n      /**\n       * List availability rules for a specific event type.\n       *\n       * @param eventTypeId - The UUID of the event type.\n       * @param options - Optional request options.\n       * @returns Matching `SchedulingAvailabilityRule` records.\n       */\n      listByEventType: async (\n        eventTypeId: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingAvailabilityRule[]> => {\n        return rb.execute<SchedulingAvailabilityRule[]>(\n          getAdminSchedulingAvailabilityRulesByEventType,\n          { query: { event_type_id: eventTypeId } },\n          options,\n        );\n      },\n    },\n\n    /** Bookings — external party appointment requests. */\n    bookings: {\n      /**\n       * List bookings in a workspace.\n       *\n       * @param workspaceId - The UUID of the workspace.\n       * @param options - Optional pagination and request options.\n       * @returns A page of `SchedulingBooking` records.\n       */\n      list: async (\n        workspaceId: string,\n        options?: ListPaginationOptions,\n      ): Promise<SchedulingBooking[]> => {\n        return rb.execute<SchedulingBooking[]>(\n          getAdminSchedulingBookings,\n          {\n            query: withPaginationQuery(options, { workspace_id: workspaceId }),\n          },\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a booking by ID.\n       *\n       * @param id - The UUID of the booking.\n       * @param options - Optional request options.\n       * @returns The matching `SchedulingBooking`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingBooking> => {\n        return rb.execute<SchedulingBooking>(\n          getAdminSchedulingBookingsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a booking.\n       *\n       * @param attributes - Booking attributes. `event_type_id`,\n       *   `start_time`, `end_time`, `booker_name`, `booker_email`\n       *   are all required.\n       * @param options - Optional request options.\n       * @returns The newly created `SchedulingBooking`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.bookings.create({\n       *   event_type_id: 'et_abc',\n       *   start_time: '2026-04-07T09:00:00Z',\n       *   end_time: '2026-04-07T09:30:00Z',\n       *   booker_name: 'Alice',\n       *   booker_email: 'alice@example.com',\n       *   workspace_id: 'ws_abc',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateAdminSchedulingBookingAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingBooking> => {\n        return rb.execute<SchedulingBooking>(\n          postAdminSchedulingBookings,\n          { body: { data: { type: \"scheduling-booking\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Confirm a pending booking.\n       *\n       * @param id - The UUID of the booking.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingBooking` with `status: \"confirmed\"`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.bookings.confirm('sb_abc');\n       * ```\n       */\n      confirm: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingBooking> => {\n        return rb.execute<SchedulingBooking>(\n          patchAdminSchedulingBookingsByIdConfirm,\n          { path: { id }, body: { data: { id, type: \"scheduling-booking\" } } },\n          options,\n        );\n      },\n\n      /**\n       * Cancel a booking.\n       *\n       * @param id - The UUID of the booking.\n       * @param attributes - Optional `{ cancellation_reason, cancelled_by }`.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingBooking` with `status: \"cancelled\"`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.bookings.cancel('sb_abc', {\n       *   cancellation_reason: 'Schedule conflict',\n       *   cancelled_by: 'organizer',\n       * });\n       * ```\n       */\n      cancel: async (\n        id: string,\n        attributes?: CancelAdminSchedulingBookingAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingBooking> => {\n        return rb.execute<SchedulingBooking>(\n          patchAdminSchedulingBookingsByIdCancel,\n          {\n            path: { id },\n            body: attributes\n              ? { data: { id, type: \"scheduling-booking\", attributes } }\n              : { data: { id, type: \"scheduling-booking\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Reschedule a booking. Both `new_start_time` and `new_end_time`\n       * are required.\n       *\n       * @param id - The UUID of the booking.\n       * @param attributes - `{ new_start_time, new_end_time }`.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingBooking` at the new time.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.bookings.reschedule('sb_abc', {\n       *   new_start_time: '2026-04-22T14:00:00Z',\n       *   new_end_time: '2026-04-22T14:30:00Z',\n       * });\n       * ```\n       */\n      reschedule: async (\n        id: string,\n        attributes: RescheduleAdminSchedulingBookingAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingBooking> => {\n        return rb.execute<SchedulingBooking>(\n          patchAdminSchedulingBookingsByIdReschedule,\n          {\n            path: { id },\n            body: { data: { id, type: \"scheduling-booking\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Mark a booking as a no-show after the scheduled time has passed.\n       *\n       * @param id - The UUID of the booking.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingBooking` with `status: \"no_show\"`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.bookings.markNoShow('sb_abc');\n       * ```\n       */\n      markNoShow: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingBooking> => {\n        return rb.execute<SchedulingBooking>(\n          patchAdminSchedulingBookingsByIdMarkNoShow,\n          { path: { id }, body: { data: { id, type: \"scheduling-booking\" } } },\n          options,\n        );\n      },\n\n      /**\n       * List bookings filtered by booker email address.\n       *\n       * @param email - The booker's email address.\n       * @param options - Optional request options.\n       * @returns Matching `SchedulingBooking` records.\n       */\n      listByBooker: async (\n        email: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingBooking[]> => {\n        return rb.execute<SchedulingBooking[]>(\n          getAdminSchedulingBookingsByBooker,\n          { query: { booker_email: email } },\n          options,\n        );\n      },\n    },\n\n    /** Reminders — scheduled notifications tied to events. */\n    reminders: {\n      /**\n       * List pending reminders.\n       *\n       * @param options - Optional pagination and request options.\n       * @returns Pending `SchedulingReminder` records.\n       */\n      list: async (\n        options?: ListPaginationOptions,\n      ): Promise<SchedulingReminder[]> => {\n        return rb.execute<SchedulingReminder[]>(\n          getAdminSchedulingReminders,\n          { query: withPaginationQuery(options) },\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a reminder by ID.\n       *\n       * @param id - The UUID of the reminder.\n       * @param options - Optional request options.\n       * @returns The matching `SchedulingReminder`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingReminder> => {\n        return rb.execute<SchedulingReminder>(\n          getAdminSchedulingRemindersById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a reminder. Normally created by the platform's\n       * `ScheduleReminders` change on Event/Booking creation.\n       *\n       * @param attributes - Reminder attributes. `event_id`,\n       *   `minutes_before`, `scheduled_at`, `channel`, `workspace_id`\n       *   are required.\n       * @param options - Optional request options.\n       * @returns The newly created `SchedulingReminder`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.reminders.create({\n       *   event_id: 'se_abc',\n       *   minutes_before: 60,\n       *   scheduled_at: '2026-04-07T08:00:00Z',\n       *   channel: 'email',\n       *   workspace_id: 'ws_abc',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateAdminSchedulingReminderAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingReminder> => {\n        return rb.execute<SchedulingReminder>(\n          postAdminSchedulingReminders,\n          { body: { data: { type: \"scheduling-reminder\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Cancel a pending reminder.\n       *\n       * @param id - The UUID of the reminder.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingReminder` with `status: \"cancelled\"`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.reminders.cancel('rm_abc');\n       * ```\n       */\n      cancel: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingReminder> => {\n        return rb.execute<SchedulingReminder>(\n          patchAdminSchedulingRemindersByIdCancel,\n          { path: { id }, body: { data: { id, type: \"scheduling-reminder\" } } },\n          options,\n        );\n      },\n    },\n\n    /** Calendar Syncs — bi-directional external calendar integrations. */\n    calendarSyncs: {\n      /**\n       * List calendar syncs.\n       *\n       * @param options - Optional pagination and request options.\n       * @returns A page of `SchedulingCalendarSync` records.\n       */\n      list: async (\n        options?: ListPaginationOptions,\n      ): Promise<SchedulingCalendarSync[]> => {\n        return rb.execute<SchedulingCalendarSync[]>(\n          getAdminSchedulingCalendarSyncs,\n          { query: withPaginationQuery(options) },\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a calendar sync by ID.\n       *\n       * @param id - The UUID of the sync.\n       * @param options - Optional request options.\n       * @returns The matching `SchedulingCalendarSync`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingCalendarSync> => {\n        return rb.execute<SchedulingCalendarSync>(\n          getAdminSchedulingCalendarSyncsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a calendar sync. Required: `workspace_id`, `user_id`,\n       * `connector_id`, `provider`, `calendar_external_id`. For HIPAA\n       * workspaces, `baa_attestation` is also required.\n       *\n       * @param attributes - Calendar sync attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `SchedulingCalendarSync`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.calendarSyncs.create({\n       *   workspace_id: 'ws_abc',\n       *   user_id: 'usr_def',\n       *   connector_id: 'cn_oauth_xyz',\n       *   provider: 'google',\n       *   calendar_external_id: 'primary',\n       *   role: 'both',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateAdminSchedulingCalendarSyncAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingCalendarSync> => {\n        return rb.execute<SchedulingCalendarSync>(\n          postAdminSchedulingCalendarSyncs,\n          {\n            body: {\n              data: { type: \"scheduling-calendar-sync\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update a calendar sync. There is NO `enabled` field — use\n       * `pause()` / `resume()` to toggle sync state.\n       *\n       * @param id - The UUID of the sync.\n       * @param attributes - Subset of attributes to change.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingCalendarSync`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.calendarSyncs.update('cs_abc', {\n       *   role: 'add_events',\n       *   poll_interval_minutes: 10,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateAdminSchedulingCalendarSyncAttributes,\n        options?: RequestOptions,\n      ): Promise<SchedulingCalendarSync> => {\n        return rb.execute<SchedulingCalendarSync>(\n          patchAdminSchedulingCalendarSyncsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"scheduling-calendar-sync\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Pause a calendar sync. Sync workers skip paused syncs.\n       *\n       * @param id - The UUID of the sync.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingCalendarSync` with `sync_status: \"paused\"`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.calendarSyncs.pause('cs_abc');\n       * ```\n       */\n      pause: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingCalendarSync> => {\n        return rb.execute<SchedulingCalendarSync>(\n          patchAdminSchedulingCalendarSyncsByIdPause,\n          {\n            path: { id },\n            body: { data: { id, type: \"scheduling-calendar-sync\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Resume a paused calendar sync. Resets `error_count` to 0.\n       *\n       * @param id - The UUID of the sync.\n       * @param options - Optional request options.\n       * @returns The updated `SchedulingCalendarSync` with `sync_status: \"active\"`.\n       *\n       * @example\n       * ```typescript\n       * await admin.scheduling.calendarSyncs.resume('cs_abc');\n       * ```\n       */\n      resume: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<SchedulingCalendarSync> => {\n        return rb.execute<SchedulingCalendarSync>(\n          patchAdminSchedulingCalendarSyncsByIdResume,\n          {\n            path: { id },\n            body: { data: { id, type: \"scheduling-calendar-sync\" } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a calendar sync.\n       *\n       * @param id - The UUID of the sync.\n       * @param options - Optional request options.\n       * @returns `true` on success.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminSchedulingCalendarSyncsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport {\n  // --- Contacts ---\n  getAdminCrmContactsById,\n  getAdminCrmContactsWorkspaceByWorkspaceId,\n  getAdminCrmContactsWorkspaceByWorkspaceIdArchived,\n  postAdminCrmContacts,\n  patchAdminCrmContactsById,\n  patchAdminCrmContactsByIdArchive,\n  postAdminCrmContactsByIdUnarchive,\n  deleteAdminCrmContactsById,\n  // --- Companies ---\n  getAdminCrmCompaniesById,\n  getAdminCrmCompaniesWorkspaceByWorkspaceId,\n  postAdminCrmCompanies,\n  patchAdminCrmCompaniesById,\n  deleteAdminCrmCompaniesById,\n  // --- Deals ---\n  getAdminCrmDealsById,\n  getAdminCrmDealsWorkspaceByWorkspaceId,\n  postAdminCrmDeals,\n  patchAdminCrmDealsById,\n  patchAdminCrmDealsByIdMoveStage,\n  deleteAdminCrmDealsById,\n  // --- Activities ---\n  getAdminCrmActivitiesById,\n  getAdminCrmActivitiesWorkspaceByWorkspaceId,\n  postAdminCrmActivities,\n  patchAdminCrmActivitiesById,\n  deleteAdminCrmActivitiesById,\n  // --- Pipelines ---\n  getAdminCrmPipelinesById,\n  getAdminCrmPipelinesWorkspaceByWorkspaceId,\n  postAdminCrmPipelines,\n  patchAdminCrmPipelinesById,\n  deleteAdminCrmPipelinesById,\n  // --- Pipeline Stages ---\n  getAdminCrmPipelineStagesById,\n  getAdminCrmPipelineStagesPipelineByPipelineId,\n  postAdminCrmPipelineStages,\n  patchAdminCrmPipelineStagesById,\n  deleteAdminCrmPipelineStagesById,\n  // --- Relationships ---\n  getAdminCrmRelationshipsById,\n  getAdminCrmRelationshipsWorkspaceByWorkspaceId,\n  postAdminCrmRelationships,\n  deleteAdminCrmRelationshipsById,\n  // --- Relationship Types ---\n  getAdminCrmRelationshipTypesById,\n  getAdminCrmRelationshipTypes,\n  postAdminCrmRelationshipTypes,\n  patchAdminCrmRelationshipTypesById,\n  deleteAdminCrmRelationshipTypesById,\n  // --- Custom Entities ---\n  getAdminCrmCustomEntitiesById,\n  getAdminCrmCustomEntitiesWorkspaceByWorkspaceId,\n  postAdminCrmCustomEntities,\n  patchAdminCrmCustomEntitiesById,\n  deleteAdminCrmCustomEntitiesById,\n  // --- Custom Entity Versions ---\n  getAdminCrmCustomEntitiesByEntityIdVersions,\n  getAdminCrmCustomEntitiesByEntityIdVersionsById,\n  // --- Deal Products ---\n  getAdminCrmDealProducts,\n  getAdminCrmDealProductsById,\n  postAdminCrmDealProducts,\n  deleteAdminCrmDealProductsById,\n  // --- Exports ---\n  getAdminCrmExportsById,\n  getAdminCrmExportsWorkspaceByWorkspaceId,\n  postAdminCrmExports,\n  patchAdminCrmExportsByIdRefreshUrl,\n  // --- ISV: Entity Types ---\n  getAdminIsvCrmEntityTypesById,\n  getAdminIsvCrmEntityTypesApplicationByApplicationId,\n  postAdminIsvCrmEntityTypes,\n  patchAdminIsvCrmEntityTypesById,\n  deleteAdminIsvCrmEntityTypesById,\n  // --- ISV: Field Definitions ---\n  getAdminCrmFieldDefinitionsById,\n  getAdminCrmFieldDefinitionsEntityTypeByEntityType,\n  postAdminCrmFieldDefinitions,\n  patchAdminCrmFieldDefinitionsById,\n  deleteAdminCrmFieldDefinitionsById,\n  // --- ISV: Channel Capture Config ---\n  getAdminIsvCrmChannelCaptureConfigById,\n  postAdminIsvCrmChannelCaptureConfig,\n  patchAdminIsvCrmChannelCaptureConfigById,\n  // --- ISV: Sync Configs ---\n  getAdminCrmSyncConfigsWorkspaceByWorkspaceId,\n  postAdminCrmSyncConfigs,\n  patchAdminCrmSyncConfigsById,\n  deleteAdminCrmSyncConfigsById,\n  // --- Addresses ---\n  getAdminCrmAddressesById,\n  getAdminCrmAddressesEntityByEntityTypeByEntityId,\n  postAdminCrmAddresses,\n  patchAdminCrmAddressesById,\n  patchAdminCrmAddressesByIdSetPrimary,\n  deleteAdminCrmAddressesById,\n  // --- Phone Numbers ---\n  getAdminCrmPhoneNumbersById,\n  getAdminCrmPhoneNumbersEntityByEntityTypeByEntityId,\n  postAdminCrmPhoneNumbers,\n  patchAdminCrmPhoneNumbersById,\n  patchAdminCrmPhoneNumbersByIdSetPrimary,\n  deleteAdminCrmPhoneNumbersById,\n  // --- Email Addresses ---\n  getAdminCrmEmailAddressesById,\n  getAdminCrmEmailAddressesEntityByEntityTypeByEntityId,\n  postAdminCrmEmailAddresses,\n  patchAdminCrmEmailAddressesById,\n  patchAdminCrmEmailAddressesByIdSetPrimary,\n  deleteAdminCrmEmailAddressesById,\n  // --- Social Profiles ---\n  getAdminCrmSocialProfilesById,\n  getAdminCrmSocialProfilesEntityByEntityTypeByEntityId,\n  postAdminCrmSocialProfiles,\n  patchAdminCrmSocialProfilesById,\n  deleteAdminCrmSocialProfilesById,\n  // --- Websites ---\n  getAdminCrmWebsitesById,\n  getAdminCrmWebsitesEntityByEntityTypeByEntityId,\n  postAdminCrmWebsites,\n  patchAdminCrmWebsitesById,\n  patchAdminCrmWebsitesByIdSetPrimary,\n  deleteAdminCrmWebsitesById,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/** Attributes accepted when creating a CRM contact. */\nexport type CreateCrmContactAttributes = {\n  workspace_id: string;\n  first_name?: string;\n  last_name?: string;\n  prefix?: string;\n  suffix?: string;\n  middle_name?: string;\n  email?: string;\n  phone?: string;\n  title?: string;\n  date_of_birth?: string;\n  sex?: \"male\" | \"female\" | \"other\";\n  timezone?: string;\n  locale?: string;\n  lifecycle_stage?: string;\n  source?: string;\n  owner_id?: string | null;\n  external_owner_id?: string;\n  avatar_url?: string;\n  properties?: Record<string, unknown>;\n  tags?: string[];\n  portal_user_id?: string;\n};\n\n/** Attributes accepted when updating a CRM contact (PATCH semantics). */\nexport type UpdateCrmContactAttributes = {\n  first_name?: string;\n  last_name?: string;\n  prefix?: string;\n  suffix?: string;\n  middle_name?: string;\n  email?: string;\n  phone?: string;\n  title?: string;\n  date_of_birth?: string;\n  sex?: \"male\" | \"female\" | \"other\";\n  timezone?: string;\n  locale?: string;\n  lifecycle_stage?: string;\n  owner_id?: string | null;\n  external_owner_id?: string;\n  avatar_url?: string;\n  properties?: Record<string, unknown>;\n  tags?: string[];\n  portal_user_id?: string;\n};\n\n// ── Identity resource types ──────────────────────────────────────────\n\n/** Attributes accepted when creating a CRM address. */\nexport type CreateCrmAddressAttributes = {\n  workspace_id: string;\n  entity_type: \"contact\" | \"company\";\n  entity_id: string;\n  label?:\n    | \"home\"\n    | \"work\"\n    | \"billing\"\n    | \"shipping\"\n    | \"headquarters\"\n    | \"branch\"\n    | \"other\";\n  is_primary?: boolean;\n  line1?: string;\n  line2?: string;\n  city?: string;\n  state?: string;\n  postal_code?: string;\n  country?: string;\n  latitude?: number;\n  longitude?: number;\n};\n\n/** Attributes accepted when updating a CRM address. */\nexport type UpdateCrmAddressAttributes = {\n  label?:\n    | \"home\"\n    | \"work\"\n    | \"billing\"\n    | \"shipping\"\n    | \"headquarters\"\n    | \"branch\"\n    | \"other\";\n  is_primary?: boolean;\n  line1?: string;\n  line2?: string;\n  city?: string;\n  state?: string;\n  postal_code?: string;\n  country?: string;\n  latitude?: number;\n  longitude?: number;\n};\n\n/** Attributes accepted when creating a CRM phone number. */\nexport type CreateCrmPhoneNumberAttributes = {\n  workspace_id: string;\n  entity_type: \"contact\" | \"company\";\n  entity_id: string;\n  number: string;\n  label?: \"mobile\" | \"work\" | \"home\" | \"fax\" | \"main\" | \"other\";\n  is_primary?: boolean;\n  country_code?: string;\n  extension?: string;\n};\n\n/** Attributes accepted when updating a CRM phone number. */\nexport type UpdateCrmPhoneNumberAttributes = {\n  number?: string;\n  label?: \"mobile\" | \"work\" | \"home\" | \"fax\" | \"main\" | \"other\";\n  is_primary?: boolean;\n  country_code?: string;\n  extension?: string;\n};\n\n/** Attributes accepted when creating a CRM email address. */\nexport type CreateCrmEmailAddressAttributes = {\n  workspace_id: string;\n  entity_type: \"contact\" | \"company\";\n  entity_id: string;\n  email: string;\n  label?: \"work\" | \"personal\" | \"billing\" | \"support\" | \"other\";\n  is_primary?: boolean;\n  is_verified?: boolean;\n};\n\n/** Attributes accepted when updating a CRM email address. */\nexport type UpdateCrmEmailAddressAttributes = {\n  email?: string;\n  label?: \"work\" | \"personal\" | \"billing\" | \"support\" | \"other\";\n  is_primary?: boolean;\n  is_verified?: boolean;\n};\n\n/** Attributes accepted when creating a CRM social profile. */\nexport type CreateCrmSocialProfileAttributes = {\n  workspace_id: string;\n  entity_type: \"contact\" | \"company\";\n  entity_id: string;\n  platform:\n    | \"linkedin\"\n    | \"twitter\"\n    | \"facebook\"\n    | \"instagram\"\n    | \"github\"\n    | \"youtube\"\n    | \"tiktok\"\n    | \"other\";\n  handle?: string;\n  url?: string;\n};\n\n/** Attributes accepted when updating a CRM social profile. */\nexport type UpdateCrmSocialProfileAttributes = {\n  handle?: string;\n  url?: string;\n};\n\n/** Attributes accepted when creating a CRM website. */\nexport type CreateCrmWebsiteAttributes = {\n  workspace_id: string;\n  entity_type: \"contact\" | \"company\";\n  entity_id: string;\n  url: string;\n  label?: \"main\" | \"careers\" | \"blog\" | \"docs\" | \"portfolio\" | \"other\";\n  is_primary?: boolean;\n};\n\n/** Attributes accepted when updating a CRM website. */\nexport type UpdateCrmWebsiteAttributes = {\n  url?: string;\n  label?: \"main\" | \"careers\" | \"blog\" | \"docs\" | \"portfolio\" | \"other\";\n  is_primary?: boolean;\n};\n\n// ── Company types ──────────────────────────────────────────────────\n\n/** Attributes accepted when creating a CRM company. */\nexport type CreateCrmCompanyAttributes = {\n  workspace_id: string;\n  name: string;\n  domain?: string;\n  industry?: string;\n  employee_count?: number;\n  annual_revenue?: number;\n  location?: string;\n  description?: string;\n  type?:\n    | \"public\"\n    | \"private\"\n    | \"nonprofit\"\n    | \"government\"\n    | \"partnership\"\n    | \"other\";\n  founded_date?: string;\n  tax_id?: string;\n  owner_id?: string | null;\n  external_owner_id?: string;\n  lifecycle_stage?: string;\n};\n\n/** Attributes accepted when updating a CRM company (PATCH semantics). */\nexport type UpdateCrmCompanyAttributes = {\n  name?: string;\n  domain?: string;\n  industry?: string;\n  employee_count?: number;\n  annual_revenue?: number;\n  location?: string;\n  description?: string;\n  type?:\n    | \"public\"\n    | \"private\"\n    | \"nonprofit\"\n    | \"government\"\n    | \"partnership\"\n    | \"other\";\n  founded_date?: string;\n  tax_id?: string;\n  owner_id?: string | null;\n  external_owner_id?: string;\n  lifecycle_stage?: string;\n};\n\n// ── Deal types ─────────────────────────────────────────────────────\n\n/** Attributes accepted when creating a CRM deal. */\nexport type CreateCrmDealAttributes = {\n  workspace_id: string;\n  name: string;\n  amount?: number;\n  currency?: string;\n  close_date?: string;\n  probability?: number;\n  source?: string;\n  status?: string;\n  lost_reason?: string;\n  properties?: Record<string, unknown>;\n  owner_id?: string | null;\n  external_owner_id?: string;\n  pipeline_id?: string;\n  pipeline_stage_id?: string;\n  company_id?: string;\n  application_id?: string;\n};\n\n/** Attributes accepted when updating a CRM deal (PATCH semantics). */\nexport type UpdateCrmDealAttributes = {\n  name?: string;\n  amount?: number;\n  currency?: string;\n  close_date?: string;\n  probability?: number;\n  status?: string;\n  lost_reason?: string;\n  properties?: Record<string, unknown>;\n  owner_id?: string | null;\n  external_owner_id?: string;\n  pipeline_id?: string;\n  pipeline_stage_id?: string;\n  company_id?: string;\n  ai_risk_score?: number;\n  ai_forecast_category?: string;\n  ai_next_action?: string;\n};\n\n/** Attributes accepted when moving a deal to a different pipeline stage. */\nexport type MoveDealStageAttributes = {\n  stage_id: string;\n};\n\n// ── Activity types ─────────────────────────────────────────────────\n\n/** Attributes accepted when creating a CRM activity. */\nexport type CreateCrmActivityAttributes = {\n  workspace_id: string;\n  type: string;\n  subject?: string;\n  body?: string;\n  occurred_at?: string;\n  duration_seconds?: number;\n  direction?: string;\n  source?: string;\n  source_ref?: string;\n  sentiment?: string;\n  properties?: Record<string, unknown>;\n  content_hash?: string;\n  ai_summary?: string;\n  application_id?: string;\n};\n\n/** Attributes accepted when updating a CRM activity (PATCH semantics). */\nexport type UpdateCrmActivityAttributes = {\n  subject?: string;\n  body?: string;\n  sentiment?: string;\n  properties?: Record<string, unknown>;\n  ai_summary?: string;\n  ai_action_items?: string[];\n};\n\n// ── Pipeline types ─────────────────────────────────────────────────\n\n/** Attributes accepted when creating a CRM pipeline. */\nexport type CreateCrmPipelineAttributes = {\n  workspace_id: string;\n  name: string;\n};\n\n/** Attributes accepted when updating a CRM pipeline (PATCH semantics). */\nexport type UpdateCrmPipelineAttributes = {\n  name?: string;\n};\n\n// ── Pipeline Stage types ───────────────────────────────────────────\n\n/** Attributes accepted when creating a pipeline stage. */\nexport type CreateCrmPipelineStageAttributes = {\n  pipeline_id: string;\n  name: string;\n  order?: number;\n};\n\n/** Attributes accepted when updating a pipeline stage (PATCH semantics). */\nexport type UpdateCrmPipelineStageAttributes = {\n  name?: string;\n  order?: number;\n};\n\n// ── Relationship types ─────────────────────────────────────────────\n\n/** Attributes accepted when creating a relationship. */\nexport type CreateCrmRelationshipAttributes = {\n  relationship_type_id: string;\n  from_entity_type: string;\n  from_entity_id: string;\n  to_entity_type: string;\n  to_entity_id: string;\n};\n\n/** Attributes accepted when creating a relationship type. */\nexport type CreateCrmRelationshipTypeAttributes = {\n  label: string;\n  inverse_label?: string;\n  from_entity_type: string;\n  to_entity_type: string;\n};\n\n/** Attributes accepted when updating a relationship type (PATCH semantics). */\nexport type UpdateCrmRelationshipTypeAttributes = {\n  label?: string;\n  inverse_label?: string;\n};\n\n// ── Custom Entity types ────────────────────────────────────────────\n\n/** Attributes accepted when creating a custom entity. */\nexport type CreateCrmCustomEntityAttributes = {\n  workspace_id: string;\n  entity_type: string;\n  properties?: Record<string, unknown>;\n  owner_id?: string | null;\n  external_owner_id?: string;\n};\n\n/** Attributes accepted when updating a custom entity (PATCH semantics). */\nexport type UpdateCrmCustomEntityAttributes = {\n  properties?: Record<string, unknown>;\n  owner_id?: string | null;\n  external_owner_id?: string;\n};\n\n// ── Deal Product types ─────────────────────────────────────────────\n\n/** Attributes accepted when creating a deal product. */\nexport type CreateCrmDealProductAttributes = {\n  deal_id: string;\n  product_id: string;\n  workspace_id: string;\n  quantity?: number;\n  unit_price?: number;\n  properties?: Record<string, unknown>;\n};\n\n// ── Export types ────────────────────────────────────────────────────\n\n/** Attributes accepted when creating a data export job. */\nexport type CreateCrmDataExportAttributes = {\n  workspace_id: string;\n  entity_type: \"contact\" | \"custom_entity\" | \"activity\";\n  entity_subtype?: string;\n  format: \"json\" | \"csv\";\n  include?: string[];\n  filters?: Array<{ field: string; op: string; value?: unknown }>;\n};\n\n// ── ISV: Custom Entity Type types ──────────────────────────────────\n\n/** Attributes accepted when creating a custom entity type. */\nexport type CreateCrmCustomEntityTypeAttributes = {\n  application_id: string;\n  name: string;\n  slug: string;\n  icon?: string;\n  field_definitions?: Record<string, unknown>[];\n  relationships_config?: Record<string, unknown>;\n  pipelineable?: boolean;\n  searchable?: boolean;\n  include_alias?: string;\n};\n\n/** Attributes accepted when updating a custom entity type (PATCH semantics). */\nexport type UpdateCrmCustomEntityTypeAttributes = {\n  name?: string;\n  icon?: string;\n  field_definitions?: Record<string, unknown>[];\n  relationships_config?: Record<string, unknown>;\n  pipelineable?: boolean;\n  searchable?: boolean;\n  include_alias?: string;\n};\n\n// ── ISV: Custom Field Definition types ─────────────────────────────\n\n/** Attributes accepted when creating a custom field definition. */\nexport type CreateCrmCustomFieldDefinitionAttributes = {\n  application_id: string;\n  entity_type: string;\n  name: string;\n  label?: string;\n  field_type: string;\n  required?: boolean;\n  default_value?: unknown;\n  options?: unknown[];\n  validation_rules?: Record<string, unknown>;\n  searchable?: boolean;\n  filterable?: boolean;\n  sort_order?: number;\n};\n\n/** Attributes accepted when updating a custom field definition (PATCH semantics). */\nexport type UpdateCrmCustomFieldDefinitionAttributes = {\n  label?: string;\n  required?: boolean;\n  default_value?: unknown;\n  options?: unknown[];\n  validation_rules?: Record<string, unknown>;\n  searchable?: boolean;\n  filterable?: boolean;\n  sort_order?: number;\n};\n\n// ── ISV: Channel Capture Config types ──────────────────────────────\n\n/** Attributes accepted when creating a channel capture config. */\nexport type CreateCrmChannelCaptureConfigAttributes = {\n  workspace_id: string;\n  application_id: string;\n  enabled?: boolean;\n  channel_types?: string[];\n  auto_create_contacts?: boolean;\n  pii_scan_enabled?: boolean;\n  content_retention_days?: number;\n};\n\n/** Attributes accepted when updating a channel capture config (PATCH semantics). */\nexport type UpdateCrmChannelCaptureConfigAttributes = {\n  enabled?: boolean;\n  channel_types?: string[];\n  auto_create_contacts?: boolean;\n  pii_scan_enabled?: boolean;\n  content_retention_days?: number;\n};\n\n// ── ISV: Sync Config types ─────────────────────────────────────────\n\n/** Attributes accepted when creating a sync config. */\nexport type CreateCrmSyncConfigAttributes = {\n  workspace_id: string;\n  application_id: string;\n  connector_instance_id: string;\n  enabled?: boolean;\n  auto_create_contacts?: boolean;\n  pii_scan_enabled?: boolean;\n  entity_type_filters?: string[];\n};\n\n/** Attributes accepted when updating a sync config (PATCH semantics). */\nexport type UpdateCrmSyncConfigAttributes = {\n  enabled?: boolean;\n  auto_create_contacts?: boolean;\n  pii_scan_enabled?: boolean;\n  entity_type_filters?: string[];\n};\n\n// ── Graph & AI param types ─────────────────────────────────────────\n\n/** Parameters for finding paths between two CRM entities via the relationship graph. */\nexport type CrmGraphPathsParams = {\n  from_type: string;\n  from_id: string;\n  to_type: string;\n  to_id: string;\n  max_hops?: number;\n  relationship_types?: string;\n  fresh?: boolean;\n};\n\n/** Parameters for getting entities related to a given entity within N hops. */\nexport type CrmGraphRelatedParams = {\n  entity_type: string;\n  entity_id: string;\n  max_depth?: number;\n  relationship_types?: string;\n  fresh?: boolean;\n};\n\n/** Parameters for computing relationship strength between two entities. */\nexport type CrmGraphStrengthParams = {\n  from_type: string;\n  from_id: string;\n  to_type: string;\n  to_id: string;\n  fresh?: boolean;\n};\n\n/** Parameters for merging two CRM entities (contacts or companies). */\nexport type CrmMergeParams = {\n  workspace_id: string;\n  primary_id: string;\n  secondary_id: string;\n};\n\n/** Parameters for hybrid CRM search. */\nexport type CrmSearchParams = {\n  workspace_id: string;\n  q: string;\n  types?: string;\n  mode?: \"hybrid\" | \"lexical\" | \"semantic\";\n};\n\n/**\n * CRM management namespace — contacts, companies, deals, pipelines, and ISV configuration.\n *\n * Covers the full CRM lifecycle: manage contacts and companies, track deals through\n * pipelines, log activities, configure custom entity types and fields, and set up\n * channel capture and sync configurations.\n */\nexport function createCrmNamespace(rb: RequestBuilder) {\n  return {\n    // ========== Contacts ==========\n\n    /**\n     * Fetch a single contact by their unique ID.\n     *\n     * @param id - The unique identifier of the contact to retrieve.\n     * @param options - Optional request-level overrides.\n     * @returns A promise that resolves to the matching contact resource.\n     */\n    get: async (id: string, options?: RequestOptions) => {\n      return rb.execute(getAdminCrmContactsById, { path: { id } }, options);\n    },\n\n    /**\n     * List contacts in a workspace.\n     *\n     * @param workspaceId - The workspace whose contacts should be listed.\n     * @param options - Optional pagination controls and request-level overrides.\n     * @returns A promise that resolves to a JSON:API list of contact resources.\n     */\n    listByWorkspace: async (workspaceId: string, options?: RequestOptions) => {\n      return rb.execute(\n        getAdminCrmContactsWorkspaceByWorkspaceId,\n        { path: { workspace_id: workspaceId } },\n        options,\n      );\n    },\n\n    /**\n     * List archived contacts in a workspace.\n     *\n     * @param workspaceId - The workspace whose archived contacts should be listed.\n     * @param options - Optional pagination controls and request-level overrides.\n     * @returns A promise that resolves to a JSON:API list of archived contact resources.\n     */\n    listArchived: async (workspaceId: string, options?: RequestOptions) => {\n      return rb.execute(\n        getAdminCrmContactsWorkspaceByWorkspaceIdArchived,\n        { path: { workspace_id: workspaceId } },\n        options,\n      );\n    },\n\n    /**\n     * Create a new contact in the CRM.\n     *\n     * @param attributes - Contact attributes. Must include `workspace_id`. Common\n     *   optional fields are `first_name`, `last_name`, `email`, `phone`, and\n     *   `lifecycle_stage`.\n     * @param options - Optional request-level overrides.\n     * @returns A promise that resolves to the newly created contact resource.\n     *\n     * @example\n     * ```ts\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * const contact = await admin.crm.create({\n     *   workspace_id: 'ws_xyz789',\n     *   first_name: 'Jane',\n     *   email: 'jane@example.com',\n     * });\n     * ```\n     */\n    create: async (\n      attributes: CreateCrmContactAttributes,\n      options?: RequestOptions,\n    ) => {\n      return rb.execute(\n        postAdminCrmContacts,\n        { body: { data: { type: \"crm-contact\", attributes } } },\n        options,\n      );\n    },\n\n    /**\n     * Update an existing contact's attributes (PATCH semantics — only fields\n     * present in `attributes` are changed).\n     *\n     * @param id - The unique identifier of the contact to update.\n     * @param attributes - Key/value map of attributes to change.\n     * @param options - Optional request-level overrides.\n     * @returns A promise that resolves to the updated contact resource.\n     *\n     * @example\n     * ```ts\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * await admin.crm.update('con_abc123', {\n     *   lifecycle_stage: 'customer',\n     *   tags: ['vip'],\n     * });\n     * ```\n     */\n    update: async (\n      id: string,\n      attributes: UpdateCrmContactAttributes,\n      options?: RequestOptions,\n    ) => {\n      return rb.execute(\n        patchAdminCrmContactsById,\n        {\n          path: { id },\n          body: { data: { type: \"crm-contact\", id, attributes } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Archive (soft-delete) a contact. The contact is hidden from default\n     * listings but can be restored via {@link unarchive}.\n     *\n     * @param id - The unique identifier of the contact to archive.\n     * @param options - Optional request-level overrides.\n     * @returns A promise that resolves to the updated contact resource.\n     *\n     * @example\n     * ```ts\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * await admin.crm.archive('con_abc123');\n     * ```\n     */\n    archive: async (id: string, options?: RequestOptions) => {\n      return rb.execute(\n        patchAdminCrmContactsByIdArchive,\n        {\n          path: { id },\n          body: { data: { type: \"crm-contact\", id, attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Restore an archived contact.\n     *\n     * @param id - The unique identifier of the archived contact to restore.\n     * @param workspaceId - The workspace that owns the contact, required to\n     *   scope the restore.\n     * @param options - Optional request-level overrides.\n     * @returns A promise that resolves to the restored contact resource.\n     *\n     * @example\n     * ```ts\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * await admin.crm.unarchive('con_abc123', 'ws_xyz789');\n     * ```\n     */\n    unarchive: async (\n      id: string,\n      workspaceId: string,\n      options?: RequestOptions,\n    ) => {\n      return rb.execute(\n        postAdminCrmContactsByIdUnarchive,\n        {\n          path: { id },\n          body: { data: { workspace_id: workspaceId } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Permanently delete a contact. This is an irreversible hard delete; for\n     * recoverable removal use {@link archive} instead.\n     *\n     * @param id - The unique identifier of the contact to delete.\n     * @param options - Optional request-level overrides.\n     * @returns A promise that resolves to `true` on successful deletion.\n     */\n    delete: async (id: string, options?: RequestOptions) => {\n      return rb.execute(deleteAdminCrmContactsById, { path: { id } }, options);\n    },\n\n    // ========== Companies ==========\n\n    companies: {\n      /**\n       * Fetch a single company by its unique ID.\n       *\n       * @param id - The unique identifier of the company.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching company resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(getAdminCrmCompaniesById, { path: { id } }, options);\n      },\n\n      /**\n       * List companies in a workspace.\n       *\n       * @param workspaceId - The workspace whose companies should be listed.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of company resources.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmCompaniesWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new company.\n       *\n       * @param attributes - Company attributes. Must include `workspace_id` and\n       *   `name`. Common optional fields are `domain`, `industry`, and `type`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created company resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.companies.create({\n       *   workspace_id: 'ws_xyz789',\n       *   name: 'Acme Corp',\n       *   domain: 'acme.com',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmCompanyAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmCompanies,\n          { body: { data: { type: \"crm-company\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing company (PATCH semantics).\n       *\n       * @param id - The unique identifier of the company to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated company resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.companies.update('co_abc123', {\n       *   employee_count: 500,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmCompanyAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmCompaniesById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-company\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a company.\n       *\n       * @param id - The unique identifier of the company to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmCompaniesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== Deals ==========\n\n    deals: {\n      /**\n       * Fetch a single deal by its unique ID.\n       *\n       * @param id - The unique identifier of the deal.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching deal resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(getAdminCrmDealsById, { path: { id } }, options);\n      },\n\n      /**\n       * List deals in a workspace.\n       *\n       * @param workspaceId - The workspace whose deals should be listed.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of deal resources.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmDealsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new deal.\n       *\n       * @param attributes - Deal attributes. Must include `workspace_id` and\n       *   `name`. Common optional fields are `amount`, `pipeline_id`, and\n       *   `pipeline_stage_id`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created deal resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.deals.create({\n       *   workspace_id: 'ws_xyz789',\n       *   name: 'Enterprise Deal',\n       *   amount: 50000,\n       *   pipeline_id: 'pip_abc123',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmDealAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmDeals,\n          { body: { data: { type: \"crm-deal\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing deal (PATCH semantics).\n       *\n       * @param id - The unique identifier of the deal to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated deal resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.deals.update('deal_abc123', {\n       *   amount: 75000,\n       *   status: 'won',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmDealAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmDealsById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-deal\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Move a deal to a different pipeline stage.\n       *\n       * @param id - The unique identifier of the deal to move.\n       * @param attributes - Move parameters. `stage_id` is the destination\n       *   pipeline stage.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated deal resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.deals.moveStage('deal_abc123', {\n       *   stage_id: 'stg_xyz789',\n       * });\n       * ```\n       */\n      moveStage: async (\n        id: string,\n        attributes: MoveDealStageAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmDealsByIdMoveStage,\n          {\n            path: { id },\n            body: { data: { type: \"crm-deal\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a deal.\n       *\n       * @param id - The unique identifier of the deal to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(deleteAdminCrmDealsById, { path: { id } }, options);\n      },\n    },\n\n    // ========== Activities ==========\n\n    activities: {\n      /**\n       * Fetch a single activity by its unique ID.\n       *\n       * @param id - The unique identifier of the activity.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching activity resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(getAdminCrmActivitiesById, { path: { id } }, options);\n      },\n\n      /**\n       * List activities in a workspace.\n       *\n       * @param workspaceId - The workspace whose activities should be listed.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of activity resources.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmActivitiesWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new activity (call, email, meeting, etc.) on the timeline.\n       *\n       * @param attributes - Activity attributes. Must include `workspace_id`\n       *   and `type`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created activity resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.activities.create({\n       *   workspace_id: 'ws_xyz789',\n       *   type: 'call',\n       *   subject: 'Discovery call',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmActivityAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmActivities,\n          { body: { data: { type: \"crm-activity\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing activity (PATCH semantics).\n       *\n       * @param id - The unique identifier of the activity to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated activity resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.activities.update('act_abc123', {\n       *   ai_summary: 'Client interested in enterprise plan',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmActivityAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmActivitiesById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-activity\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete an activity.\n       *\n       * @param id - The unique identifier of the activity to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmActivitiesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== Pipelines ==========\n\n    pipelines: {\n      /**\n       * Fetch a single pipeline by its unique ID.\n       *\n       * @param id - The unique identifier of the pipeline.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching pipeline resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(getAdminCrmPipelinesById, { path: { id } }, options);\n      },\n\n      /**\n       * List pipelines in a workspace.\n       *\n       * @param workspaceId - The workspace whose pipelines should be listed.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of pipeline resources.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmPipelinesWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new pipeline.\n       *\n       * @param attributes - Pipeline attributes. Must include `workspace_id`\n       *   and `name`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created pipeline resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.pipelines.create({\n       *   workspace_id: 'ws_xyz789',\n       *   name: 'Sales Pipeline',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmPipelineAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmPipelines,\n          { body: { data: { type: \"crm-pipeline\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing pipeline (PATCH semantics).\n       *\n       * @param id - The unique identifier of the pipeline to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated pipeline resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.pipelines.update('pip_abc123', {\n       *   name: 'Enterprise Sales',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmPipelineAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmPipelinesById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-pipeline\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a pipeline.\n       *\n       * @param id - The unique identifier of the pipeline to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmPipelinesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== Pipeline Stages ==========\n\n    pipelineStages: {\n      /**\n       * Fetch a single pipeline stage by its unique ID.\n       *\n       * @param id - The unique identifier of the stage.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching stage resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminCrmPipelineStagesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List stages for a specific pipeline, ordered by their `order` field.\n       *\n       * @param pipelineId - The pipeline whose stages should be listed.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of stage resources.\n       */\n      listByPipeline: async (pipelineId: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminCrmPipelineStagesPipelineByPipelineId,\n          { path: { pipeline_id: pipelineId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new pipeline stage.\n       *\n       * @param attributes - Stage attributes. Must include `pipeline_id` and\n       *   `name`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created stage resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.pipelineStages.create({\n       *   pipeline_id: 'pip_abc123',\n       *   name: 'Qualification',\n       *   order: 1,\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmPipelineStageAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmPipelineStages,\n          { body: { data: { type: \"crm-pipeline-stage\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing pipeline stage (PATCH semantics).\n       *\n       * @param id - The unique identifier of the stage to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated stage resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.pipelineStages.update('stg_abc123', {\n       *   name: 'Negotiation',\n       *   order: 3,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmPipelineStageAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmPipelineStagesById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-pipeline-stage\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a pipeline stage.\n       *\n       * @param id - The unique identifier of the stage to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmPipelineStagesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== Relationships ==========\n\n    relationships: {\n      /**\n       * Fetch a single relationship by its unique ID.\n       *\n       * @param id - The unique identifier of the relationship.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching relationship resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminCrmRelationshipsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List relationships in a workspace.\n       *\n       * @param workspaceId - The workspace whose relationships should be listed.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of relationship resources.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmRelationshipsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a directed relationship between two CRM entities.\n       *\n       * @param attributes - Relationship attributes including\n       *   `relationship_type_id`, `from_entity_type`, `from_entity_id`,\n       *   `to_entity_type`, and `to_entity_id`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created relationship resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.relationships.create({\n       *   relationship_type_id: 'rt_abc123',\n       *   from_entity_type: 'company',\n       *   from_entity_id: 'co_xyz789',\n       *   to_entity_type: 'contact',\n       *   to_entity_id: 'con_abc123',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmRelationshipAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmRelationships,\n          { body: { data: { type: \"crm-relationship\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a relationship.\n       *\n       * @param id - The unique identifier of the relationship to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmRelationshipsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== Relationship Types ==========\n\n    relationshipTypes: {\n      /**\n       * Fetch a single relationship type by its unique ID.\n       *\n       * @param id - The unique identifier of the relationship type.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching relationship-type resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminCrmRelationshipTypesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List all relationship types.\n       *\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of relationship-type resources.\n       */\n      list: async (options?: RequestOptions) => {\n        return rb.execute(getAdminCrmRelationshipTypes, {}, options);\n      },\n\n      /**\n       * Create a new relationship type.\n       *\n       * @param attributes - Relationship-type attributes including `label`,\n       *   `from_entity_type`, and `to_entity_type`. Optionally provide an\n       *   `inverse_label` for the reverse direction.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created relationship-type resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.relationshipTypes.create({\n       *   label: 'employs',\n       *   inverse_label: 'employed_by',\n       *   from_entity_type: 'company',\n       *   to_entity_type: 'contact',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmRelationshipTypeAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmRelationshipTypes,\n          { body: { data: { type: \"crm-relationship-type\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing relationship type (PATCH semantics).\n       *\n       * @param id - The unique identifier of the relationship type to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated relationship-type resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.relationshipTypes.update('rt_abc123', {\n       *   label: 'hires',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmRelationshipTypeAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmRelationshipTypesById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-relationship-type\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a relationship type.\n       *\n       * @param id - The unique identifier of the relationship type to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmRelationshipTypesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== Custom Entities ==========\n\n    customEntities: {\n      /**\n       * Fetch a single custom entity by its unique ID.\n       *\n       * @param id - The unique identifier of the custom entity.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching custom-entity resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminCrmCustomEntitiesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List custom entities in a workspace.\n       *\n       * @param workspaceId - The workspace whose custom entities should be listed.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of custom-entity resources.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmCustomEntitiesWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new custom entity instance.\n       *\n       * @param attributes - Custom-entity attributes. Must include\n       *   `workspace_id` and `entity_type` (the slug of a registered custom\n       *   entity type).\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created custom-entity resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.customEntities.create({\n       *   workspace_id: 'ws_xyz789',\n       *   entity_type: 'vehicle',\n       *   properties: { make: 'Toyota', model: 'Camry' },\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmCustomEntityAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmCustomEntities,\n          { body: { data: { type: \"crm-custom-entity\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing custom entity (PATCH semantics).\n       *\n       * @param id - The unique identifier of the custom entity to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated custom-entity resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.customEntities.update('ce_abc123', {\n       *   properties: { mileage: 15000 },\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmCustomEntityAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmCustomEntitiesById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-custom-entity\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a custom entity.\n       *\n       * @param id - The unique identifier of the custom entity to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmCustomEntitiesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List historical versions for a custom entity.\n       *\n       * @param entityId - The custom entity whose versions should be listed.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of version resources.\n       */\n      listVersions: async (entityId: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminCrmCustomEntitiesByEntityIdVersions,\n          { path: { entity_id: entityId } },\n          options,\n        );\n      },\n\n      /**\n       * Get a specific historical version of a custom entity.\n       *\n       * @param entityId - The custom entity whose version should be retrieved.\n       * @param versionId - The version identifier.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching version resource.\n       */\n      getVersion: async (\n        entityId: string,\n        versionId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmCustomEntitiesByEntityIdVersionsById,\n          { path: { entity_id: entityId, id: versionId } },\n          options,\n        );\n      },\n    },\n\n    // ========== Deal Products ==========\n\n    dealProducts: {\n      /**\n       * List deal products (line items associating deals with products).\n       *\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of deal-product resources.\n       */\n      list: async (options?: RequestOptions) => {\n        return rb.execute(getAdminCrmDealProducts, {}, options);\n      },\n\n      /**\n       * Fetch a single deal product by its unique ID.\n       *\n       * @param id - The unique identifier of the deal product.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching deal-product resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminCrmDealProductsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new deal product line item.\n       *\n       * @param attributes - Deal-product attributes. Must include `deal_id`,\n       *   `product_id`, and `workspace_id`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created deal-product resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.dealProducts.create({\n       *   deal_id: 'deal_abc123',\n       *   product_id: 'prod_xyz789',\n       *   workspace_id: 'ws_xyz789',\n       *   quantity: 5,\n       *   unit_price: 9999,\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmDealProductAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmDealProducts,\n          { body: { data: { type: \"crm-deal-product\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a deal product line item.\n       *\n       * @param id - The unique identifier of the deal product to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmDealProductsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== Exports ==========\n\n    exports: {\n      /**\n       * Fetch a single data export job by its unique ID.\n       *\n       * @param id - The unique identifier of the export job.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching export-job resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(getAdminCrmExportsById, { path: { id } }, options);\n      },\n\n      /**\n       * List data export jobs in a workspace.\n       *\n       * @param workspaceId - The workspace whose export jobs should be listed.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of export-job resources.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmExportsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new data export job. The job is processed asynchronously and\n       * a pre-signed download URL is generated when complete.\n       *\n       * @param attributes - Export attributes including `workspace_id`,\n       *   `entity_type`, and `format`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created export-job resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.exports.create({\n       *   workspace_id: 'ws_xyz789',\n       *   entity_type: 'contact',\n       *   format: 'csv',\n       *   include: ['first_name', 'last_name', 'email'],\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmDataExportAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmExports,\n          { body: { data: { type: \"crm-data-export-job\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Refresh the pre-signed download URL for a completed export job. Use\n       * when the original URL has expired but the underlying export file is\n       * still available.\n       *\n       * @param id - The unique identifier of the export job.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated export-job resource\n       *   with a fresh download URL.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.exports.refreshUrl('exp_abc123');\n       * ```\n       */\n      refreshUrl: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          patchAdminCrmExportsByIdRefreshUrl,\n          {\n            path: { id },\n            body: { data: { type: \"crm-data-export-job\", id, attributes: {} } },\n          },\n          options,\n        );\n      },\n    },\n\n    // ========== ISV: Entity Types ==========\n\n    entityTypes: {\n      /**\n       * Fetch a single ISV custom entity type by its unique ID.\n       *\n       * @param id - The unique identifier of the entity type.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching entity-type resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminIsvCrmEntityTypesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List custom entity types registered for an application.\n       *\n       * @param applicationId - The application whose entity types should be listed.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of entity-type resources.\n       */\n      listByApplication: async (\n        applicationId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminIsvCrmEntityTypesApplicationByApplicationId,\n          { path: { application_id: applicationId } },\n          options,\n        );\n      },\n\n      /**\n       * Register a new custom entity type for an application.\n       *\n       * @param attributes - Entity-type attributes. Must include\n       *   `application_id`, `name`, and `slug`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created entity-type resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.entityTypes.create({\n       *   application_id: 'app_abc123',\n       *   name: 'Vehicle',\n       *   slug: 'vehicle',\n       *   pipelineable: true,\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmCustomEntityTypeAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminIsvCrmEntityTypes,\n          { body: { data: { type: \"crm-custom-entity-type\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing custom entity type (PATCH semantics).\n       *\n       * @param id - The unique identifier of the entity type to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated entity-type resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.entityTypes.update('et_abc123', {\n       *   pipelineable: false,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmCustomEntityTypeAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminIsvCrmEntityTypesById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-custom-entity-type\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a custom entity type. All instances of the type\n       * become orphaned; consider archiving instances first.\n       *\n       * @param id - The unique identifier of the entity type to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminIsvCrmEntityTypesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== ISV: Field Definitions ==========\n\n    fieldDefinitions: {\n      /**\n       * Fetch a single field definition by its unique ID.\n       *\n       * @param id - The unique identifier of the field definition.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching field-definition resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminCrmFieldDefinitionsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List field definitions registered for an entity type.\n       *\n       * @param entityType - The entity type slug whose field definitions\n       *   should be listed (e.g. `'contact'`, `'company'`, or a custom slug).\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of field-definition resources.\n       */\n      listByEntityType: async (\n        entityType: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmFieldDefinitionsEntityTypeByEntityType,\n          { path: { entity_type: entityType } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new custom field definition for an entity type.\n       *\n       * @param attributes - Field-definition attributes. Must include\n       *   `application_id`, `entity_type`, `name`, and `field_type`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created field-definition resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.fieldDefinitions.create({\n       *   application_id: 'app_abc123',\n       *   entity_type: 'contact',\n       *   name: 'loyalty_tier',\n       *   field_type: 'select',\n       *   options: ['bronze', 'silver', 'gold'],\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmCustomFieldDefinitionAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmFieldDefinitions,\n          {\n            body: { data: { type: \"crm-custom-field-definition\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing field definition (PATCH semantics).\n       *\n       * @param id - The unique identifier of the field definition to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated field-definition resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.fieldDefinitions.update('fd_abc123', {\n       *   required: true,\n       *   sort_order: 5,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmCustomFieldDefinitionAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmFieldDefinitionsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"crm-custom-field-definition\", id, attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a field definition.\n       *\n       * @param id - The unique identifier of the field definition to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmFieldDefinitionsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== ISV: Channel Capture Config ==========\n\n    channelCaptureConfig: {\n      /**\n       * Fetch a channel capture configuration by its unique ID.\n       *\n       * @param id - The unique identifier of the configuration.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching configuration resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminIsvCrmChannelCaptureConfigById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create or upsert a channel capture configuration. Controls whether\n       * incoming channel messages are captured into the CRM and how PII is\n       * scanned and retained.\n       *\n       * @param attributes - Capture-config attributes. Must include\n       *   `workspace_id` and `application_id`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created configuration resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.channelCaptureConfig.create({\n       *   workspace_id: 'ws_xyz789',\n       *   application_id: 'app_abc123',\n       *   enabled: true,\n       *   channel_types: ['whatsapp', 'email'],\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmChannelCaptureConfigAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminIsvCrmChannelCaptureConfig,\n          {\n            body: { data: { type: \"crm-channel-capture-config\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing channel capture configuration (PATCH semantics).\n       *\n       * @param id - The unique identifier of the configuration to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated configuration resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.channelCaptureConfig.update('ccc_abc123', {\n       *   enabled: false,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmChannelCaptureConfigAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminIsvCrmChannelCaptureConfigById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"crm-channel-capture-config\", id, attributes },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    // ========== ISV: Sync Configs ==========\n\n    syncConfigs: {\n      /**\n       * List CRM sync configurations in a workspace.\n       *\n       * @param workspaceId - The workspace whose sync configs should be listed.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of sync-config resources.\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmSyncConfigsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new sync configuration linking a connector instance to the CRM.\n       *\n       * @param attributes - Sync-config attributes. Must include\n       *   `workspace_id`, `application_id`, and `connector_instance_id`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created sync-config resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.syncConfigs.create({\n       *   workspace_id: 'ws_xyz789',\n       *   application_id: 'app_abc123',\n       *   connector_instance_id: 'ci_xyz789',\n       *   enabled: true,\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmSyncConfigAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmSyncConfigs,\n          { body: { data: { type: \"crm-sync-config\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing sync configuration (PATCH semantics).\n       *\n       * @param id - The unique identifier of the sync config to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated sync-config resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.syncConfigs.update('sc_abc123', {\n       *   enabled: false,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmSyncConfigAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmSyncConfigsById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-sync-config\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Permanently delete a sync configuration.\n       *\n       * @param id - The unique identifier of the sync config to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmSyncConfigsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ── Identity Resources ─────────────────────────────────────────────\n\n    /**\n     * Addresses — physical/mailing addresses for contacts and companies.\n     */\n    addresses: {\n      /**\n       * Fetch a single address by its unique ID.\n       *\n       * @param id - The unique identifier of the address.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching address resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(getAdminCrmAddressesById, { path: { id } }, options);\n      },\n      /**\n       * Create a new address attached to a contact or company.\n       *\n       * @param attributes - Address attributes. Must include `workspace_id`,\n       *   `entity_type`, and `entity_id`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created address resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.addresses.create({\n       *   workspace_id: 'ws_xyz789',\n       *   entity_type: 'contact',\n       *   entity_id: 'con_abc123',\n       *   line1: '123 Main St',\n       *   city: 'Springfield',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmAddressAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmAddresses,\n          { body: { data: { type: \"crm-address\", attributes } } },\n          options,\n        );\n      },\n      /**\n       * Update an existing address (PATCH semantics).\n       *\n       * @param id - The unique identifier of the address to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated address resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.addresses.update('addr_abc123', {\n       *   city: 'Chicago',\n       *   state: 'IL',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmAddressAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmAddressesById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-address\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /**\n       * Permanently delete an address.\n       *\n       * @param id - The unique identifier of the address to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmAddressesById,\n          { path: { id } },\n          options,\n        );\n      },\n      /**\n       * Mark an address as the primary for its parent entity. The previously\n       * primary address (if any) is automatically demoted.\n       *\n       * @param id - The unique identifier of the address to mark primary.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated address resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.addresses.setPrimary('addr_abc123');\n       * ```\n       */\n      setPrimary: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          patchAdminCrmAddressesByIdSetPrimary,\n          {\n            path: { id },\n            body: { data: { type: \"crm-address\", id, attributes: {} } },\n          },\n          options,\n        );\n      },\n      /**\n       * List addresses attached to a specific contact or company.\n       *\n       * @param entityType - Either `'contact'` or `'company'`.\n       * @param entityId - The unique identifier of the parent entity.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of address resources.\n       */\n      listByEntity: async (\n        entityType: \"contact\" | \"company\",\n        entityId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmAddressesEntityByEntityTypeByEntityId,\n          { path: { entity_type: entityType, entity_id: entityId } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Phone numbers — phone numbers for contacts and companies.\n     */\n    phoneNumbers: {\n      /**\n       * Fetch a single phone number by its unique ID.\n       *\n       * @param id - The unique identifier of the phone number.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching phone-number resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminCrmPhoneNumbersById,\n          { path: { id } },\n          options,\n        );\n      },\n      /**\n       * Create a new phone number attached to a contact or company.\n       *\n       * @param attributes - Phone-number attributes. Must include\n       *   `workspace_id`, `entity_type`, `entity_id`, and `number`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created phone-number resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.phoneNumbers.create({\n       *   workspace_id: 'ws_xyz789',\n       *   entity_type: 'contact',\n       *   entity_id: 'con_abc123',\n       *   number: '+15551234567',\n       *   label: 'mobile',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmPhoneNumberAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmPhoneNumbers,\n          { body: { data: { type: \"crm-phone-number\", attributes } } },\n          options,\n        );\n      },\n      /**\n       * Update an existing phone number (PATCH semantics).\n       *\n       * @param id - The unique identifier of the phone number to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated phone-number resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.phoneNumbers.update('ph_abc123', {\n       *   number: '+15559876543',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmPhoneNumberAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmPhoneNumbersById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-phone-number\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /**\n       * Permanently delete a phone number.\n       *\n       * @param id - The unique identifier of the phone number to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmPhoneNumbersById,\n          { path: { id } },\n          options,\n        );\n      },\n      /**\n       * Mark a phone number as the primary for its parent entity. The\n       * previously primary phone (if any) is automatically demoted.\n       *\n       * @param id - The unique identifier of the phone number to mark primary.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated phone-number resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.phoneNumbers.setPrimary('ph_abc123');\n       * ```\n       */\n      setPrimary: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          patchAdminCrmPhoneNumbersByIdSetPrimary,\n          {\n            path: { id },\n            body: { data: { type: \"crm-phone-number\", id, attributes: {} } },\n          },\n          options,\n        );\n      },\n      /**\n       * List phone numbers attached to a specific contact or company.\n       *\n       * @param entityType - Either `'contact'` or `'company'`.\n       * @param entityId - The unique identifier of the parent entity.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of phone-number resources.\n       */\n      listByEntity: async (\n        entityType: \"contact\" | \"company\",\n        entityId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmPhoneNumbersEntityByEntityTypeByEntityId,\n          { path: { entity_type: entityType, entity_id: entityId } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Email addresses — email addresses for contacts and companies.\n     */\n    emailAddresses: {\n      /**\n       * Fetch a single email address by its unique ID.\n       *\n       * @param id - The unique identifier of the email address.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching email-address resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminCrmEmailAddressesById,\n          { path: { id } },\n          options,\n        );\n      },\n      /**\n       * Create a new email address attached to a contact or company.\n       *\n       * @param attributes - Email-address attributes. Must include\n       *   `workspace_id`, `entity_type`, `entity_id`, and `email`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created email-address resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.emailAddresses.create({\n       *   workspace_id: 'ws_xyz789',\n       *   entity_type: 'contact',\n       *   entity_id: 'con_abc123',\n       *   email: 'jane@example.com',\n       *   label: 'work',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmEmailAddressAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmEmailAddresses,\n          { body: { data: { type: \"crm-email-address\", attributes } } },\n          options,\n        );\n      },\n      /**\n       * Update an existing email address (PATCH semantics).\n       *\n       * @param id - The unique identifier of the email address to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated email-address resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.emailAddresses.update('em_abc123', {\n       *   is_verified: true,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmEmailAddressAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmEmailAddressesById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-email-address\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /**\n       * Permanently delete an email address.\n       *\n       * @param id - The unique identifier of the email address to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmEmailAddressesById,\n          { path: { id } },\n          options,\n        );\n      },\n      /**\n       * Mark an email address as the primary for its parent entity. The\n       * previously primary email (if any) is automatically demoted.\n       *\n       * @param id - The unique identifier of the email address to mark primary.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated email-address resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.emailAddresses.setPrimary('em_abc123');\n       * ```\n       */\n      setPrimary: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          patchAdminCrmEmailAddressesByIdSetPrimary,\n          {\n            path: { id },\n            body: { data: { type: \"crm-email-address\", id, attributes: {} } },\n          },\n          options,\n        );\n      },\n      /**\n       * List email addresses attached to a specific contact or company.\n       *\n       * @param entityType - Either `'contact'` or `'company'`.\n       * @param entityId - The unique identifier of the parent entity.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of email-address resources.\n       */\n      listByEntity: async (\n        entityType: \"contact\" | \"company\",\n        entityId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmEmailAddressesEntityByEntityTypeByEntityId,\n          { path: { entity_type: entityType, entity_id: entityId } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Social profiles — social media profiles for contacts and companies.\n     */\n    socialProfiles: {\n      /**\n       * Fetch a single social profile by its unique ID.\n       *\n       * @param id - The unique identifier of the social profile.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching social-profile resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminCrmSocialProfilesById,\n          { path: { id } },\n          options,\n        );\n      },\n      /**\n       * Create a new social profile attached to a contact or company.\n       *\n       * @param attributes - Social-profile attributes. Must include\n       *   `workspace_id`, `entity_type`, `entity_id`, and `platform`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created social-profile resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.socialProfiles.create({\n       *   workspace_id: 'ws_xyz789',\n       *   entity_type: 'contact',\n       *   entity_id: 'con_abc123',\n       *   platform: 'linkedin',\n       *   url: 'https://linkedin.com/in/janedoe',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmSocialProfileAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmSocialProfiles,\n          { body: { data: { type: \"crm-social-profile\", attributes } } },\n          options,\n        );\n      },\n      /**\n       * Update an existing social profile (PATCH semantics).\n       *\n       * @param id - The unique identifier of the social profile to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated social-profile resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.socialProfiles.update('sp_abc123', {\n       *   handle: '@janedoe',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmSocialProfileAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmSocialProfilesById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-social-profile\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /**\n       * Permanently delete a social profile.\n       *\n       * @param id - The unique identifier of the social profile to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmSocialProfilesById,\n          { path: { id } },\n          options,\n        );\n      },\n      /**\n       * List social profiles attached to a specific contact or company.\n       *\n       * @param entityType - Either `'contact'` or `'company'`.\n       * @param entityId - The unique identifier of the parent entity.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of social-profile resources.\n       */\n      listByEntity: async (\n        entityType: \"contact\" | \"company\",\n        entityId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmSocialProfilesEntityByEntityTypeByEntityId,\n          { path: { entity_type: entityType, entity_id: entityId } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Websites — website URLs for contacts and companies.\n     */\n    websites: {\n      /**\n       * Fetch a single website by its unique ID.\n       *\n       * @param id - The unique identifier of the website.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the matching website resource.\n       */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(getAdminCrmWebsitesById, { path: { id } }, options);\n      },\n      /**\n       * Create a new website attached to a contact or company.\n       *\n       * @param attributes - Website attributes. Must include `workspace_id`,\n       *   `entity_type`, `entity_id`, and `url`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the newly created website resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.websites.create({\n       *   workspace_id: 'ws_xyz789',\n       *   entity_type: 'company',\n       *   entity_id: 'co_abc123',\n       *   url: 'https://acme.com',\n       *   label: 'main',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCrmWebsiteAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminCrmWebsites,\n          { body: { data: { type: \"crm-website\", attributes } } },\n          options,\n        );\n      },\n      /**\n       * Update an existing website (PATCH semantics).\n       *\n       * @param id - The unique identifier of the website to update.\n       * @param attributes - Key/value map of attributes to change.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated website resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.websites.update('web_abc123', {\n       *   url: 'https://www.acme.com',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCrmWebsiteAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminCrmWebsitesById,\n          {\n            path: { id },\n            body: { data: { type: \"crm-website\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /**\n       * Permanently delete a website.\n       *\n       * @param id - The unique identifier of the website to delete.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to `true` on successful deletion.\n       */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          deleteAdminCrmWebsitesById,\n          { path: { id } },\n          options,\n        );\n      },\n      /**\n       * Mark a website as the primary for its parent entity. The previously\n       * primary website (if any) is automatically demoted.\n       *\n       * @param id - The unique identifier of the website to mark primary.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the updated website resource.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.websites.setPrimary('web_abc123');\n       * ```\n       */\n      setPrimary: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          patchAdminCrmWebsitesByIdSetPrimary,\n          {\n            path: { id },\n            body: { data: { type: \"crm-website\", id, attributes: {} } },\n          },\n          options,\n        );\n      },\n      /**\n       * List websites attached to a specific contact or company.\n       *\n       * @param entityType - Either `'contact'` or `'company'`.\n       * @param entityId - The unique identifier of the parent entity.\n       * @param options - Optional pagination controls and request-level overrides.\n       * @returns A promise that resolves to a JSON:API list of website resources.\n       */\n      listByEntity: async (\n        entityType: \"contact\" | \"company\",\n        entityId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminCrmWebsitesEntityByEntityTypeByEntityId,\n          { path: { entity_type: entityType, entity_id: entityId } },\n          options,\n        );\n      },\n    },\n\n    // ========== Graph Traversal ==========\n\n    /**\n     * Graph traversal sub-namespace for querying the CRM relationship graph.\n     */\n    graph: {\n      /**\n       * Find paths between two CRM entities via the relationship graph.\n       *\n       * @param params - Path-search parameters including endpoints and an\n       *   optional `max_hops` limit.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the path-search response.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.graph.paths({\n       *   from_type: 'contact',\n       *   from_id: 'con_abc123',\n       *   to_type: 'company',\n       *   to_id: 'co_xyz789',\n       *   max_hops: 3,\n       * });\n       * ```\n       */\n      async paths(\n        params: CrmGraphPathsParams,\n        options?: RequestOptions,\n      ): Promise<unknown> {\n        const qs = new URLSearchParams();\n        qs.set(\"from_type\", params.from_type);\n        qs.set(\"from_id\", params.from_id);\n        qs.set(\"to_type\", params.to_type);\n        qs.set(\"to_id\", params.to_id);\n        if (params.max_hops != null)\n          qs.set(\"max_hops\", String(params.max_hops));\n        if (params.relationship_types)\n          qs.set(\"relationship_types\", params.relationship_types);\n        if (params.fresh) qs.set(\"fresh\", \"true\");\n        return rb.rawGet(`/crm/graph/paths?${qs}`, options);\n      },\n\n      /**\n       * List entities related to a given entity within N hops in the graph.\n       *\n       * @param params - Traversal parameters including the seed entity and an\n       *   optional `max_depth`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the related-entities response.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.graph.related({\n       *   entity_type: 'contact',\n       *   entity_id: 'con_abc123',\n       *   max_depth: 2,\n       * });\n       * ```\n       */\n      async related(\n        params: CrmGraphRelatedParams,\n        options?: RequestOptions,\n      ): Promise<unknown> {\n        const qs = new URLSearchParams();\n        qs.set(\"entity_type\", params.entity_type);\n        qs.set(\"entity_id\", params.entity_id);\n        if (params.max_depth != null) qs.set(\"depth\", String(params.max_depth));\n        if (params.relationship_types)\n          qs.set(\"relationship_types\", params.relationship_types);\n        if (params.fresh) qs.set(\"fresh\", \"true\");\n        return rb.rawGet(`/crm/graph/related?${qs}`, options);\n      },\n\n      /**\n       * Compute the relationship-strength score between two entities.\n       *\n       * @param params - The endpoint pair to score.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the strength-score response.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.graph.strength({\n       *   from_type: 'contact',\n       *   from_id: 'con_abc123',\n       *   to_type: 'company',\n       *   to_id: 'co_xyz789',\n       * });\n       * ```\n       */\n      async strength(\n        params: CrmGraphStrengthParams,\n        options?: RequestOptions,\n      ): Promise<unknown> {\n        const qs = new URLSearchParams();\n        qs.set(\"a_type\", params.from_type);\n        qs.set(\"a_id\", params.from_id);\n        qs.set(\"b_type\", params.to_type);\n        qs.set(\"b_id\", params.to_id);\n        if (params.fresh) qs.set(\"fresh\", \"true\");\n        return rb.rawGet(`/crm/graph/strength?${qs}`, options);\n      },\n    },\n\n    // ========== AI Augmentation ==========\n\n    /**\n     * AI augmentation sub-namespace for CRM intelligence features.\n     */\n    ai: {\n      /**\n       * List staged AI entity extractions awaiting human review.\n       *\n       * @param workspaceId - The workspace whose staged extractions should be listed.\n       * @param options - Optional `entity_type` / `status` filters and\n       *   request-level overrides.\n       * @returns A promise that resolves to the list of staged extractions.\n       */\n      async stagedExtractions(\n        workspaceId: string,\n        options?: { entity_type?: string; status?: string } & RequestOptions,\n      ): Promise<unknown> {\n        const qs = new URLSearchParams();\n        qs.set(\"workspace_id\", workspaceId);\n        if (options?.entity_type) qs.set(\"entity_type\", options.entity_type);\n        if (options?.status) qs.set(\"status\", options.status);\n        return rb.rawGet(`/crm/staged-extractions?${qs}`, options);\n      },\n\n      /**\n       * Approve a staged extraction. Approval materialises the staged record\n       * as a real CRM entity.\n       *\n       * @param id - The unique identifier of the staged extraction to approve.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the approval response.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.ai.approveExtraction('ext_abc123');\n       * ```\n       */\n      async approveExtraction(\n        id: string,\n        options?: RequestOptions,\n      ): Promise<unknown> {\n        return rb.rawPost(`/crm/staged-extractions/${id}/approve`, {}, options);\n      },\n\n      /**\n       * Reject a staged extraction. The staged record is marked rejected and\n       * no entity is created.\n       *\n       * @param id - The unique identifier of the staged extraction to reject.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the rejection response.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.ai.rejectExtraction('ext_abc123');\n       * ```\n       */\n      async rejectExtraction(\n        id: string,\n        options?: RequestOptions,\n      ): Promise<unknown> {\n        return rb.rawPost(`/crm/staged-extractions/${id}/reject`, {}, options);\n      },\n\n      /**\n       * List duplicate-entity candidates detected in a workspace.\n       *\n       * @param workspaceId - The workspace to scan for duplicates.\n       * @param options - Optional `entity_type` / `status` filters and\n       *   request-level overrides.\n       * @returns A promise that resolves to the list of duplicate candidates.\n       */\n      async duplicates(\n        workspaceId: string,\n        options?: { entity_type?: string; status?: string } & RequestOptions,\n      ): Promise<unknown> {\n        const qs = new URLSearchParams();\n        qs.set(\"workspace_id\", workspaceId);\n        if (options?.entity_type) qs.set(\"entity_type\", options.entity_type);\n        if (options?.status) qs.set(\"status\", options.status);\n        return rb.rawGet(`/crm/duplicates?${qs}`, options);\n      },\n\n      /**\n       * Merge two contacts into one — the primary absorbs the secondary's\n       * relationships, activities, and identity records, and the secondary is\n       * deleted.\n       *\n       * @param params - Merge parameters identifying the workspace, primary,\n       *   and secondary contact IDs.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the merge response.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.ai.mergeContacts({\n       *   workspace_id: 'ws_xyz789',\n       *   primary_id: 'con_keep',\n       *   secondary_id: 'con_dupe',\n       * });\n       * ```\n       */\n      async mergeContacts(\n        params: CrmMergeParams,\n        options?: RequestOptions,\n      ): Promise<unknown> {\n        return rb.rawPost(\"/crm/merge/contacts\", { data: params }, options);\n      },\n\n      /**\n       * Merge two companies into one — the primary absorbs the secondary's\n       * relationships, contacts, and identity records, and the secondary is\n       * deleted.\n       *\n       * @param params - Merge parameters identifying the workspace, primary,\n       *   and secondary company IDs.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the merge response.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.ai.mergeCompanies({\n       *   workspace_id: 'ws_xyz789',\n       *   primary_id: 'co_keep',\n       *   secondary_id: 'co_dupe',\n       * });\n       * ```\n       */\n      async mergeCompanies(\n        params: CrmMergeParams,\n        options?: RequestOptions,\n      ): Promise<unknown> {\n        return rb.rawPost(\"/crm/merge/companies\", { data: params }, options);\n      },\n\n      /**\n       * Hybrid CRM search combining lexical and semantic ranking.\n       *\n       * @param params - Search parameters including the workspace, query\n       *   string, and optional `types` and `mode`.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the search results.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.ai.search({\n       *   workspace_id: 'ws_xyz789',\n       *   q: 'acme',\n       *   mode: 'hybrid',\n       * });\n       * ```\n       */\n      async search(\n        params: CrmSearchParams,\n        options?: RequestOptions,\n      ): Promise<unknown> {\n        const qs = new URLSearchParams();\n        qs.set(\"workspace_id\", params.workspace_id);\n        qs.set(\"q\", params.q);\n        if (params.types) qs.set(\"types\", params.types);\n        if (params.mode) qs.set(\"mode\", params.mode);\n        return rb.rawGet(`/crm/search?${qs}`, options);\n      },\n\n      /**\n       * Run AI deal forecasting for a workspace. Recomputes risk and forecast\n       * categories across all open deals.\n       *\n       * @param workspaceId - The workspace whose deals should be forecast.\n       * @param options - Optional request-level overrides.\n       * @returns A promise that resolves to the forecast response.\n       *\n       * @example\n       * ```ts\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * await admin.crm.ai.forecast('ws_xyz789');\n       * ```\n       */\n      async forecast(\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<unknown> {\n        return rb.rawPost(\n          \"/crm/forecast\",\n          { workspace_id: workspaceId },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Bulk transfer ownership of CRM entities to a new owner.\n     * The caller must have access to the specified workspace — requests for\n     * inaccessible workspaces will return empty results.\n     * @param resourceType - One of: contacts, deals, companies, custom-entities\n     * @param params - Transfer parameters\n     * @param params.workspace_id - Workspace ID (must be accessible to the caller)\n     * @param params.resource_ids - Array of entity IDs to transfer (max 100)\n     * @param params.owner_id - New owner user ID, or null to unassign\n     * @param options - Optional request options (headers, abort signal, etc.)\n     * @returns Transfer result with count of transferred entities\n     * @example\n     * ```typescript\n     * const result = await admin.crm.bulkTransferOwnership('contacts', {\n     *   workspace_id: 'ws_123',\n     *   resource_ids: ['id1', 'id2'],\n     *   owner_id: 'user_456',\n     * });\n     * ```\n     */\n    bulkTransferOwnership: async (\n      resourceType: \"contacts\" | \"deals\" | \"companies\" | \"custom-entities\",\n      params: {\n        workspace_id: string;\n        resource_ids: string[];\n        owner_id?: string | null;\n      },\n      options?: RequestOptions,\n    ): Promise<{\n      transferred: number;\n      owner_id: string | null;\n      failed?: number;\n    }> => {\n      return rb.rawPost<{\n        transferred: number;\n        owner_id: string | null;\n        failed?: number;\n      }>(\n        `/crm/${resourceType}/bulk-transfer-ownership`,\n        {\n          workspace_id: params.workspace_id,\n          resource_ids: params.resource_ids,\n          owner_id: params.owner_id ?? null,\n        },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport {\n  // --- Tickets ---\n  getAdminSupportTicketsById,\n  getAdminSupportTicketsWorkspaceByWorkspaceId,\n  postAdminSupportTickets,\n  patchAdminSupportTicketsById,\n  patchAdminSupportTicketsByIdAssign,\n  patchAdminSupportTicketsByIdResolve,\n  patchAdminSupportTicketsByIdClose,\n  patchAdminSupportTicketsByIdReopen,\n  patchAdminSupportTicketsByIdMerge,\n  deleteAdminSupportTicketsById,\n  // --- Ticket Messages ---\n  getAdminSupportTicketMessagesTicketByTicketId,\n  postAdminSupportTicketMessages,\n  // --- Ticket Attachments ---\n  getAdminSupportTicketAttachmentsMessageByTicketMessageId,\n  postAdminSupportTicketAttachments,\n  // --- Ticket Ratings ---\n  postAdminSupportTicketRatings,\n  // --- Tags ---\n  getAdminSupportTagsWorkspaceByWorkspaceId,\n  postAdminSupportTags,\n  deleteAdminSupportTagsById,\n  // --- Queues ---\n  getAdminSupportQueuesById,\n  getAdminSupportQueuesApplicationByApplicationId,\n  postAdminSupportQueues,\n  patchAdminSupportQueuesById,\n  deleteAdminSupportQueuesById,\n  // --- Queue Members ---\n  getAdminSupportQueueMembersQueueByQueueId,\n  getAdminSupportQueueMembersApplicationByApplicationId,\n  postAdminSupportQueueMembers,\n  patchAdminSupportQueueMembersById,\n  deleteAdminSupportQueueMembersById,\n  // --- Routing Rules ---\n  getAdminSupportRoutingRulesById,\n  getAdminSupportRoutingRulesApplicationByApplicationId,\n  postAdminSupportRoutingRules,\n  patchAdminSupportRoutingRulesById,\n  deleteAdminSupportRoutingRulesById,\n  // --- SLA Policies ---\n  getAdminSupportSlaPoliciesById,\n  getAdminSupportSlaPoliciesApplicationByApplicationId,\n  postAdminSupportSlaPolicies,\n  patchAdminSupportSlaPoliciesById,\n  deleteAdminSupportSlaPoliciesById,\n  // --- AI Config ---\n  postAdminSupportAiConfigs,\n  getAdminSupportAiConfigsWorkspaceByWorkspaceId,\n  // --- Channel Capture Config ---\n  postAdminSupportChannelCaptureConfigs,\n  getAdminSupportChannelCaptureConfigsWorkspaceByWorkspaceId,\n  // --- Sync Config ---\n  postAdminSupportSyncConfigs,\n  getAdminSupportSyncConfigsWorkspaceByWorkspaceId,\n  patchAdminSupportSyncConfigsById,\n  deleteAdminSupportSyncConfigsById,\n  // --- Canned Responses ---\n  getAdminSupportCannedResponsesWorkspaceByWorkspaceId,\n  postAdminSupportCannedResponses,\n  patchAdminSupportCannedResponsesById,\n  deleteAdminSupportCannedResponsesById,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/**\n * Support domain namespace — tickets, queues, SLA policies, routing, and AI configuration.\n *\n * Covers the full support lifecycle: manage tickets through assign/resolve/close/reopen/merge,\n * configure queues with AI modes, set SLA policies, define routing rules, and manage\n * canned responses and channel capture configs.\n */\nexport function createSupportNamespace(rb: RequestBuilder) {\n  return {\n    // --- Tickets ---\n    tickets: {\n      /** Get a support ticket by ID */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSupportTicketsById,\n          { path: { id } },\n          options,\n        );\n      },\n      /** List tickets for a workspace */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSupportTicketsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n      /** Create a new support ticket */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSupportTickets,\n          { body: { data: { type: \"support-ticket\", attributes } } },\n          options,\n        );\n      },\n      /** Update a support ticket */\n      update: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSupportTicketsById,\n          {\n            path: { id },\n            body: { data: { type: \"support-ticket\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /** Assign a ticket to an agent or queue */\n      assign: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSupportTicketsByIdAssign,\n          {\n            path: { id },\n            body: { data: { type: \"support-ticket\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /** Resolve a ticket */\n      resolve: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSupportTicketsByIdResolve,\n          {\n            path: { id },\n            body: { data: { type: \"support-ticket\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /** Close a resolved ticket */\n      close: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSupportTicketsByIdClose,\n          {\n            path: { id },\n            body: { data: { type: \"support-ticket\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /** Reopen a closed or resolved ticket */\n      reopen: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSupportTicketsByIdReopen,\n          {\n            path: { id },\n            body: { data: { type: \"support-ticket\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /** Merge a ticket into another ticket */\n      merge: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSupportTicketsByIdMerge,\n          {\n            path: { id },\n            body: { data: { type: \"support-ticket\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /** Delete a support ticket */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminSupportTicketsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // --- Messages ---\n    messages: {\n      /** List messages for a ticket */\n      listByTicket: async (ticketId: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSupportTicketMessagesTicketByTicketId,\n          { path: { ticket_id: ticketId } },\n          options,\n        );\n      },\n      /** Create a message on a ticket */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSupportTicketMessages,\n          { body: { data: { type: \"support-ticket-message\", attributes } } },\n          options,\n        );\n      },\n    },\n\n    // --- Attachments ---\n    attachments: {\n      /** List attachments for a ticket message */\n      listByMessage: async (messageId: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSupportTicketAttachmentsMessageByTicketMessageId,\n          { path: { ticket_message_id: messageId } },\n          options,\n        );\n      },\n      /** Create an attachment on a ticket message */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSupportTicketAttachments,\n          { body: { data: { type: \"support-ticket-attachment\", attributes } } },\n          options,\n        );\n      },\n    },\n\n    // --- Ratings ---\n    ratings: {\n      /** Create or update a satisfaction rating for a ticket */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSupportTicketRatings,\n          { body: { data: { type: \"support-ticket-rating\", attributes } } },\n          options,\n        );\n      },\n    },\n\n    // --- Tags ---\n    tags: {\n      /** List tags for a workspace */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSupportTagsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n      /** Create a tag */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSupportTags,\n          { body: { data: { type: \"support-tag\", attributes } } },\n          options,\n        );\n      },\n      /** Delete a tag */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminSupportTagsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // --- Queues ---\n    queues: {\n      /** Get a queue by ID */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(getAdminSupportQueuesById, { path: { id } }, options);\n      },\n      /** List queues for an application */\n      listByApplication: async (\n        applicationId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSupportQueuesApplicationByApplicationId,\n          { path: { application_id: applicationId } },\n          options,\n        );\n      },\n      /** Create a queue */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSupportQueues,\n          { body: { data: { type: \"support-queue\", attributes } } },\n          options,\n        );\n      },\n      /** Update a queue */\n      update: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSupportQueuesById,\n          {\n            path: { id },\n            body: { data: { type: \"support-queue\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /** Delete a queue */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminSupportQueuesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // --- Queue Members ---\n    queueMembers: {\n      /** List members of a queue */\n      listByQueue: async (queueId: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSupportQueueMembersQueueByQueueId,\n          { path: { queue_id: queueId } },\n          options,\n        );\n      },\n      /** List all queue members for an application */\n      listByApplication: async (\n        applicationId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSupportQueueMembersApplicationByApplicationId,\n          { path: { application_id: applicationId } },\n          options,\n        );\n      },\n      /** Add a member to a queue */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSupportQueueMembers,\n          { body: { data: { type: \"support-queue-member\", attributes } } },\n          options,\n        );\n      },\n      /** Update a queue member */\n      update: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSupportQueueMembersById,\n          {\n            path: { id },\n            body: { data: { type: \"support-queue-member\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /** Remove a member from a queue */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminSupportQueueMembersById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // --- Routing Rules ---\n    routingRules: {\n      /** Get a routing rule by ID */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSupportRoutingRulesById,\n          { path: { id } },\n          options,\n        );\n      },\n      /** List routing rules for an application */\n      listByApplication: async (\n        applicationId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSupportRoutingRulesApplicationByApplicationId,\n          { path: { application_id: applicationId } },\n          options,\n        );\n      },\n      /** Create a routing rule */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSupportRoutingRules,\n          { body: { data: { type: \"support-routing-rule\", attributes } } },\n          options,\n        );\n      },\n      /** Update a routing rule */\n      update: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSupportRoutingRulesById,\n          {\n            path: { id },\n            body: { data: { type: \"support-routing-rule\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /** Delete a routing rule */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminSupportRoutingRulesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // --- SLA Policies ---\n    slaPolicies: {\n      /** Get an SLA policy by ID */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute(\n          getAdminSupportSlaPoliciesById,\n          { path: { id } },\n          options,\n        );\n      },\n      /** List SLA policies for an application */\n      listByApplication: async (\n        applicationId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSupportSlaPoliciesApplicationByApplicationId,\n          { path: { application_id: applicationId } },\n          options,\n        );\n      },\n      /** Create an SLA policy */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSupportSlaPolicies,\n          { body: { data: { type: \"support-sla-policy\", attributes } } },\n          options,\n        );\n      },\n      /** Update an SLA policy */\n      update: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSupportSlaPoliciesById,\n          {\n            path: { id },\n            body: { data: { type: \"support-sla-policy\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /** Delete an SLA policy */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminSupportSlaPoliciesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // --- AI Config ---\n    aiConfig: {\n      /** Get AI config for a workspace */\n      getForWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSupportAiConfigsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n      /** Create or update AI config */\n      upsert: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSupportAiConfigs,\n          { body: { data: { type: \"support-ai-config\", attributes } } },\n          options,\n        );\n      },\n    },\n\n    // --- Channel Capture Config ---\n    channelCaptureConfig: {\n      /** Get channel capture config for a workspace */\n      getForWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSupportChannelCaptureConfigsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n      /** Create or update channel capture config */\n      upsert: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSupportChannelCaptureConfigs,\n          {\n            body: {\n              data: { type: \"support-channel-capture-config\", attributes },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    // --- Sync Config ---\n    syncConfig: {\n      /** List sync configs for a workspace */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSupportSyncConfigsWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n      /** Create a sync config */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSupportSyncConfigs,\n          { body: { data: { type: \"support-sync-config\", attributes } } },\n          options,\n        );\n      },\n      /** Update a sync config */\n      update: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSupportSyncConfigsById,\n          {\n            path: { id },\n            body: { data: { type: \"support-sync-config\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /** Delete a sync config */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminSupportSyncConfigsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // --- Canned Responses ---\n    cannedResponses: {\n      /** List canned responses for a workspace */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          getAdminSupportCannedResponsesWorkspaceByWorkspaceId,\n          { path: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n      /** Create a canned response */\n      create: async (\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          postAdminSupportCannedResponses,\n          { body: { data: { type: \"support-canned-response\", attributes } } },\n          options,\n        );\n      },\n      /** Update a canned response */\n      update: async (\n        id: string,\n        attributes: Record<string, unknown>,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute(\n          patchAdminSupportCannedResponsesById,\n          {\n            path: { id },\n            body: { data: { type: \"support-canned-response\", id, attributes } },\n          },\n          options,\n        );\n      },\n      /** Delete a canned response */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminSupportCannedResponsesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport type {\n  Case,\n  CaseType,\n  CaseDocumentLink,\n  CaseEntityLink,\n  CasePipelineLink,\n} from \"../_internal/types.gen\";\nimport {\n  getAdminCasesAttention,\n  getAdminCasesAttentionSummary,\n  getAdminCases,\n  getAdminCasesById,\n  postAdminCases,\n  patchAdminCasesById,\n  patchAdminCasesByIdTransitionState,\n  patchAdminCasesByIdAssignOwner,\n  patchAdminCasesByIdDecide,\n  patchAdminCasesByIdReopen,\n  patchAdminCasesByIdClose,\n  deleteAdminCasesById,\n  getAdminCaseTypes,\n  getAdminCaseTypesById,\n  postAdminCaseTypes,\n  patchAdminCaseTypesById,\n  patchAdminCaseTypesByIdActivate,\n  patchAdminCaseTypesByIdDeactivate,\n  deleteAdminCaseTypesById,\n  getAdminCaseDocumentLinks,\n  getAdminCaseDocumentLinksById,\n  postAdminCaseDocumentLinks,\n  deleteAdminCaseDocumentLinksById,\n  getAdminCaseEntityLinks,\n  getAdminCaseEntityLinksById,\n  postAdminCaseEntityLinks,\n  deleteAdminCaseEntityLinksById,\n  getAdminCasePipelineLinks,\n  getAdminCasePipelineLinksById,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\nimport { buildPageQuery } from \"../namespace-types\";\n\n/** Attributes accepted when creating a new Case (admin surface). */\nexport type CreateCaseAttributes = {\n  workspace_id: string;\n  case_type_id: string;\n  title: string;\n  summary?: string;\n  state?: string;\n  priority?: \"low\" | \"normal\" | \"high\" | \"urgent\";\n  sla_due_at?: string;\n  opened_at?: string;\n  contact_id?: string | null;\n  deal_id?: string | null;\n  invoice_id?: string | null;\n  custom_fields?: Record<string, unknown>;\n  owner_id?: string | null;\n};\n\n/** Attributes accepted when updating an existing Case (PATCH semantics). */\nexport type UpdateCaseAttributes = {\n  title?: string;\n  summary?: string;\n  priority?: \"low\" | \"normal\" | \"high\" | \"urgent\";\n  sla_due_at?: string;\n  contact_id?: string | null;\n  deal_id?: string | null;\n  invoice_id?: string | null;\n  custom_fields?: Record<string, unknown>;\n  owner_id?: string | null;\n};\n\n/** Arguments accepted when transitioning a Case to a new state. */\nexport type TransitionCaseAttributes = { state: string };\n\n/** Arguments accepted when assigning a Case owner. */\nexport type AssignCaseOwnerAttributes = { owner_id: string | null };\n\n/** Arguments accepted when recording a decision on a Case. */\nexport type DecideCaseAttributes = {\n  decision_outcome: string;\n  /**\n   * Optional free-text notes captured with the decision. Required (server-side\n   * validation) when the resolved `DecisionOutcome` has `requires_note: true`.\n   */\n  notes?: string;\n};\n\n/**\n * `:reopen` takes no arguments on the server — callers pass an empty body.\n * Retained as a named type so callers can write `{}` against a stable name.\n */\nexport type ReopenCaseAttributes = Record<string, never>;\n\n/**\n * `:close` takes no arguments on the server — callers pass an empty body.\n * Retained as a named type so callers can write `{}` against a stable name.\n */\nexport type CloseCaseAttributes = Record<string, never>;\n\n/** Options accepted by the admin workspace attention list primitive. */\nexport type AdminCaseAttentionListOptions = {\n  /** Maximum number of open cases to return. Server caps this at 25. */\n  limit?: number;\n} & RequestOptions;\n\n/** Workspace-scoped open Case SLA summary. */\nexport type AdminCaseAttentionSummary = {\n  open: number;\n  sla_overdue: number;\n  sla_within_24h: number;\n  sla_within_7d: number;\n};\n\n/** Attributes accepted when creating a CaseType (admin surface). */\nexport type CreateCaseTypeAttributes = {\n  workspace_id: string;\n  slug: string;\n  name: string;\n  description?: string;\n  schema_family_id?: string | null;\n  is_active?: boolean;\n  state_machine: Record<string, unknown>;\n  grouping_rules?: Record<string, unknown>;\n  routing_rules?: Record<string, unknown>;\n  required_reviews?: Record<string, unknown>;\n  expected_document_types?: string[];\n  decision_outcomes?: Array<Record<string, unknown>>;\n};\n\n/** Attributes accepted when updating a CaseType (PATCH semantics). */\nexport type UpdateCaseTypeAttributes = {\n  name?: string;\n  description?: string;\n  schema_family_id?: string | null;\n  state_machine?: Record<string, unknown>;\n  grouping_rules?: Record<string, unknown>;\n  routing_rules?: Record<string, unknown>;\n  required_reviews?: Record<string, unknown>;\n  expected_document_types?: string[];\n  decision_outcomes?: Array<Record<string, unknown>>;\n  is_active?: boolean;\n};\n\nexport type CreateCaseDocumentLinkAttributes = {\n  workspace_id: string;\n  case_id: string;\n  document_id: string;\n  role?: \"primary\" | \"evidence\" | \"supporting\";\n};\n\nexport type CreateCaseEntityLinkAttributes = {\n  workspace_id: string;\n  case_id: string;\n  entity_type:\n    | \"extracted_person\"\n    | \"extracted_org\"\n    | \"extracted_location\"\n    | \"custom\";\n  entity_id: string;\n  metadata?: Record<string, unknown>;\n};\n\nfunction buildCreateCaseAttributes(attributes: CreateCaseAttributes) {\n  const {\n    workspace_id,\n    case_type_id,\n    title,\n    summary,\n    state,\n    priority,\n    sla_due_at,\n    opened_at,\n    contact_id,\n    deal_id,\n    invoice_id,\n    custom_fields,\n    owner_id,\n  } = attributes;\n\n  return {\n    workspace_id,\n    case_type_id,\n    title,\n    summary,\n    state,\n    priority,\n    sla_due_at,\n    opened_at,\n    contact_id,\n    deal_id,\n    invoice_id,\n    custom_fields,\n    owner_id,\n  };\n}\n\nfunction buildUpdateCaseAttributes(attributes: UpdateCaseAttributes) {\n  const {\n    title,\n    summary,\n    priority,\n    sla_due_at,\n    contact_id,\n    deal_id,\n    invoice_id,\n    custom_fields,\n    owner_id,\n  } = attributes;\n\n  return {\n    title,\n    summary,\n    priority,\n    sla_due_at,\n    contact_id,\n    deal_id,\n    invoice_id,\n    custom_fields,\n    owner_id,\n  };\n}\n\nfunction buildCreateCaseTypeAttributes(attributes: CreateCaseTypeAttributes) {\n  const {\n    workspace_id,\n    slug,\n    name,\n    description,\n    schema_family_id,\n    is_active,\n    state_machine,\n    grouping_rules,\n    routing_rules,\n    required_reviews,\n    expected_document_types,\n    decision_outcomes,\n  } = attributes;\n\n  return {\n    workspace_id,\n    slug,\n    name,\n    description,\n    schema_family_id,\n    is_active,\n    state_machine,\n    grouping_rules,\n    routing_rules,\n    required_reviews,\n    expected_document_types,\n    decision_outcomes,\n  };\n}\n\nfunction buildUpdateCaseTypeAttributes(attributes: UpdateCaseTypeAttributes) {\n  const {\n    name,\n    description,\n    schema_family_id,\n    state_machine,\n    grouping_rules,\n    routing_rules,\n    required_reviews,\n    expected_document_types,\n    decision_outcomes,\n    is_active,\n  } = attributes;\n\n  return {\n    name,\n    description,\n    schema_family_id,\n    state_machine,\n    grouping_rules,\n    routing_rules,\n    required_reviews,\n    expected_document_types,\n    decision_outcomes,\n    is_active,\n  };\n}\n\nfunction buildCaseDocumentLinkAttributes(\n  attributes: CreateCaseDocumentLinkAttributes,\n) {\n  const { workspace_id, case_id, document_id, role } = attributes;\n  return { workspace_id, case_id, document_id, role };\n}\n\nfunction buildCaseEntityLinkAttributes(\n  attributes: CreateCaseEntityLinkAttributes,\n) {\n  const { workspace_id, case_id, entity_type, entity_id, metadata } =\n    attributes;\n\n  return { workspace_id, case_id, entity_type, entity_id, metadata };\n}\n\n/**\n * Admin Cases namespace — ISV-admin surface for the operational case aggregate.\n *\n * Mirrors the client-API Cases namespace at `/admin/cases` and `/admin/case-*`\n * paths. Used by ISV back-office callers with `sk_srv_` server keys.\n */\nexport function createCasesNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Cases — operational case aggregate with state machine workflow.\n     *\n     * A Case is identified by a workspace-scoped `reference_number`\n     * (`CASE-{YYYY}-{SEQ:5}`) and has exactly one CaseType that governs its\n     * valid states and decision outcomes. Admin callers act on behalf of the\n     * platform/ISV with `sk_srv_` keys at `/admin/cases`.\n     */\n    cases: {\n      /**\n       * List admin-visible Cases.\n       *\n       * @param options - Optional pagination and request settings.\n       * @returns A promise resolving to Case records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<Case[]> => {\n        return rb.execute<Case[]>(\n          getAdminCases,\n          { ...buildPageQuery(options?.page, options?.pageSize) },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a Case by id.\n       *\n       * @param id - Case id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the Case.\n       */\n      get: async (id: string, options?: RequestOptions): Promise<Case> => {\n        return rb.execute<Case>(getAdminCasesById, { path: { id } }, options);\n      },\n\n      /**\n       * List open Cases ordered for attention in a workspace.\n       *\n       * @param workspaceId - Workspace UUID to scope the admin request.\n       * @param options - Optional limit and request settings.\n       * @returns A promise resolving to open Case records.\n       */\n      attentionList: async (\n        workspaceId: string,\n        options?: AdminCaseAttentionListOptions,\n      ): Promise<Case[]> => {\n        return rb.execute<Case[]>(\n          getAdminCasesAttention,\n          {\n            query: {\n              workspace_id: workspaceId,\n              ...(options?.limit ? { limit: options.limit } : {}),\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Return open Case SLA counts for a workspace.\n       *\n       * @param workspaceId - Workspace UUID to scope the admin request.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to open/SLA bucket counts.\n       */\n      attentionSummary: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<AdminCaseAttentionSummary> => {\n        return rb.execute<AdminCaseAttentionSummary>(\n          getAdminCasesAttentionSummary,\n          { query: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a Case from the admin surface.\n       *\n       * @param attributes - Accepted Case create attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the created Case.\n       * @example\n       * ```typescript\n       * await admin.cases.cases.create({ workspace_id, case_type_id, title });\n       * ```\n       */\n      create: async (\n        attributes: CreateCaseAttributes,\n        options?: RequestOptions,\n      ): Promise<Case> => {\n        const bodyAttributes = buildCreateCaseAttributes(attributes);\n\n        return rb.execute<Case>(\n          postAdminCases,\n          { body: { data: { type: \"case\", attributes: bodyAttributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update mutable Case fields.\n       *\n       * @param id - Case id.\n       * @param attributes - Accepted Case update attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the updated Case.\n       * @example\n       * ```typescript\n       * await admin.cases.cases.update(caseId, { priority: \"high\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCaseAttributes,\n        options?: RequestOptions,\n      ): Promise<Case> => {\n        const bodyAttributes = buildUpdateCaseAttributes(attributes);\n\n        return rb.execute<Case>(\n          patchAdminCasesById,\n          {\n            path: { id },\n            body: { data: { type: \"case\", id, attributes: bodyAttributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Transition a Case to another state.\n       *\n       * @param id - Case id.\n       * @param attributes - Transition target state.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the transitioned Case.\n       * @example\n       * ```typescript\n       * await admin.cases.cases.transitionState(caseId, { state: \"under_review\" });\n       * ```\n       */\n      transitionState: async (\n        id: string,\n        attributes: TransitionCaseAttributes,\n        options?: RequestOptions,\n      ): Promise<Case> => {\n        const { state } = attributes;\n\n        return rb.execute<Case>(\n          patchAdminCasesByIdTransitionState,\n          {\n            path: { id },\n            body: { data: { type: \"case\", id, attributes: { state } } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Assign or clear a Case owner.\n       *\n       * @param id - Case id.\n       * @param attributes - Owner assignment attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the updated Case.\n       * @example\n       * ```typescript\n       * await admin.cases.cases.assignOwner(caseId, { owner_id: userId });\n       * ```\n       */\n      assignOwner: async (\n        id: string,\n        attributes: AssignCaseOwnerAttributes,\n        options?: RequestOptions,\n      ): Promise<Case> => {\n        const { owner_id } = attributes;\n\n        return rb.execute<Case>(\n          patchAdminCasesByIdAssignOwner,\n          {\n            path: { id },\n            body: { data: { type: \"case\", id, attributes: { owner_id } } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Record an irreversible decision on a Case. Requires `cases:decide` scope.\n       * Terminal decisions auto-cascade to `close`.\n       *\n       * @param id - Case id.\n       * @param attributes - Decision outcome and optional notes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the decided Case.\n       * @example\n       * ```typescript\n       * await admin.cases.cases.decide(caseId, { decision_outcome: \"approved\" });\n       * ```\n       */\n      decide: async (\n        id: string,\n        attributes: DecideCaseAttributes,\n        options?: RequestOptions,\n      ): Promise<Case> => {\n        const { decision_outcome, notes } = attributes;\n\n        return rb.execute<Case>(\n          patchAdminCasesByIdDecide,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"case\",\n                id,\n                attributes: { decision_outcome, notes },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Reopen a decided Case.\n       *\n       * @param id - Case id.\n       * @param attributes - Empty reopen attributes object.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the reopened Case.\n       * @example\n       * ```typescript\n       * await admin.cases.cases.reopen(caseId);\n       * ```\n       */\n      reopen: async (\n        id: string,\n        attributes: ReopenCaseAttributes = {},\n        options?: RequestOptions,\n      ): Promise<Case> => {\n        void attributes;\n\n        return rb.execute<Case>(\n          patchAdminCasesByIdReopen,\n          { path: { id }, body: { data: { type: \"case\", id } } },\n          options,\n        );\n      },\n\n      /**\n       * Close a Case.\n       *\n       * @param id - Case id.\n       * @param attributes - Empty close attributes object.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the closed Case.\n       * @example\n       * ```typescript\n       * await admin.cases.cases.close(caseId);\n       * ```\n       */\n      close: async (\n        id: string,\n        attributes: CloseCaseAttributes = {},\n        options?: RequestOptions,\n      ): Promise<Case> => {\n        void attributes;\n\n        return rb.execute<Case>(\n          patchAdminCasesByIdClose,\n          { path: { id }, body: { data: { type: \"case\", id } } },\n          options,\n        );\n      },\n\n      /**\n       * Delete a Case.\n       *\n       * @param id - Case id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to true when the delete succeeds.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminCasesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * CaseTypes — workspace-scoped configuration records that govern Cases.\n     *\n     * A CaseType declares the state machine, grouping rules, routing rules,\n     * required reviews, and decision outcomes for all Cases of that type.\n     * Identity: `(workspace_id, slug)`.\n     */\n    caseTypes: {\n      /**\n       * List admin-visible CaseType definitions.\n       *\n       * @param options - Optional pagination and request settings.\n       * @returns A promise resolving to CaseType records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<CaseType[]> => {\n        return rb.execute<CaseType[]>(\n          getAdminCaseTypes,\n          { ...buildPageQuery(options?.page, options?.pageSize) },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a CaseType by id.\n       *\n       * @param id - CaseType id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the CaseType.\n       */\n      get: async (id: string, options?: RequestOptions): Promise<CaseType> => {\n        return rb.execute<CaseType>(\n          getAdminCaseTypesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a CaseType.\n       *\n       * @param attributes - Accepted CaseType create attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the created CaseType.\n       * @example\n       * ```typescript\n       * await admin.cases.caseTypes.create({ workspace_id, slug, name, state_machine });\n       * ```\n       */\n      create: async (\n        attributes: CreateCaseTypeAttributes,\n        options?: RequestOptions,\n      ): Promise<CaseType> => {\n        const bodyAttributes = buildCreateCaseTypeAttributes(attributes);\n\n        return rb.execute<CaseType>(\n          postAdminCaseTypes,\n          {\n            body: { data: { type: \"case-type\", attributes: bodyAttributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update mutable CaseType fields.\n       *\n       * @param id - CaseType id.\n       * @param attributes - Accepted CaseType update attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the updated CaseType.\n       * @example\n       * ```typescript\n       * await admin.cases.caseTypes.update(caseTypeId, { name: \"Escalations\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCaseTypeAttributes,\n        options?: RequestOptions,\n      ): Promise<CaseType> => {\n        const bodyAttributes = buildUpdateCaseTypeAttributes(attributes);\n\n        return rb.execute<CaseType>(\n          patchAdminCaseTypesById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"case-type\", id, attributes: bodyAttributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Activate a CaseType.\n       *\n       * @param id - CaseType id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the activated CaseType.\n       * @example\n       * ```typescript\n       * await admin.cases.caseTypes.activate(caseTypeId);\n       * ```\n       */\n      activate: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CaseType> => {\n        return rb.execute<CaseType>(\n          patchAdminCaseTypesByIdActivate,\n          { path: { id }, body: { data: { type: \"case-type\", id } } },\n          options,\n        );\n      },\n\n      /**\n       * Deactivate a CaseType.\n       *\n       * @param id - CaseType id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the deactivated CaseType.\n       * @example\n       * ```typescript\n       * await admin.cases.caseTypes.deactivate(caseTypeId);\n       * ```\n       */\n      deactivate: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CaseType> => {\n        return rb.execute<CaseType>(\n          patchAdminCaseTypesByIdDeactivate,\n          { path: { id }, body: { data: { type: \"case-type\", id } } },\n          options,\n        );\n      },\n\n      /**\n       * Delete a CaseType.\n       *\n       * @param id - CaseType id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to true when the delete succeeds.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminCaseTypesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * CaseDocumentLinks — many-to-many join between Cases and Extraction documents.\n     *\n     * `document_id` is a weak cross-tier foreign key (no DB constraint). Roles\n     * are `:primary`, `:evidence` (default), or `:supporting`.\n     */\n    documents: {\n      /**\n       * List admin-visible CaseDocumentLink records.\n       *\n       * @param options - Optional pagination and request settings.\n       * @returns A promise resolving to CaseDocumentLink records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<CaseDocumentLink[]> => {\n        return rb.execute<CaseDocumentLink[]>(\n          getAdminCaseDocumentLinks,\n          { ...buildPageQuery(options?.page, options?.pageSize) },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a CaseDocumentLink by id.\n       *\n       * @param id - CaseDocumentLink id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the CaseDocumentLink.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CaseDocumentLink> => {\n        return rb.execute<CaseDocumentLink>(\n          getAdminCaseDocumentLinksById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Attach a document to a Case.\n       *\n       * @param attributes - Accepted CaseDocumentLink create attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the created CaseDocumentLink.\n       * @example\n       * ```typescript\n       * await admin.cases.documents.create({ workspace_id, case_id, document_id });\n       * ```\n       */\n      create: async (\n        attributes: CreateCaseDocumentLinkAttributes,\n        options?: RequestOptions,\n      ): Promise<CaseDocumentLink> => {\n        const bodyAttributes = buildCaseDocumentLinkAttributes(attributes);\n\n        return rb.execute<CaseDocumentLink>(\n          postAdminCaseDocumentLinks,\n          {\n            body: {\n              data: {\n                type: \"case-document-link\",\n                attributes: bodyAttributes,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a CaseDocumentLink.\n       *\n       * @param id - CaseDocumentLink id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to true when the delete succeeds.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminCaseDocumentLinksById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * CaseEntityLinks — polymorphic join attaching external entities to Cases.\n     *\n     * `entity_type` may be `:extracted_person`, `:extracted_org`,\n     * `:extracted_location`, or `:custom`. For the first three,\n     * `entity_id` must be a valid UUID.\n     */\n    entities: {\n      /**\n       * List admin-visible CaseEntityLink records.\n       *\n       * @param options - Optional pagination and request settings.\n       * @returns A promise resolving to CaseEntityLink records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<CaseEntityLink[]> => {\n        return rb.execute<CaseEntityLink[]>(\n          getAdminCaseEntityLinks,\n          { ...buildPageQuery(options?.page, options?.pageSize) },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a CaseEntityLink by id.\n       *\n       * @param id - CaseEntityLink id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the CaseEntityLink.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CaseEntityLink> => {\n        return rb.execute<CaseEntityLink>(\n          getAdminCaseEntityLinksById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Link an external entity to a Case.\n       *\n       * @param attributes - Accepted CaseEntityLink create attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the created CaseEntityLink.\n       * @example\n       * ```typescript\n       * await admin.cases.entities.create({ workspace_id, case_id, entity_type: \"custom\", entity_id });\n       * ```\n       */\n      create: async (\n        attributes: CreateCaseEntityLinkAttributes,\n        options?: RequestOptions,\n      ): Promise<CaseEntityLink> => {\n        const bodyAttributes = buildCaseEntityLinkAttributes(attributes);\n\n        return rb.execute<CaseEntityLink>(\n          postAdminCaseEntityLinks,\n          {\n            body: {\n              data: { type: \"case-entity-link\", attributes: bodyAttributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a CaseEntityLink.\n       *\n       * @param id - CaseEntityLink id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to true when the delete succeeds.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminCaseEntityLinksById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * CasePipelineLinks — read-only join attaching pipeline executions to Cases.\n     *\n     * **Read-only over HTTP.** These records are populated automatically by the\n     * Cases EventHandler when an `Agents.PipelineExecutionStarted` event carries\n     * a `case_id` in its input. No `create` or `delete` HTTP routes exist —\n     * admin consumers MUST NOT attempt POST/DELETE on this sub-namespace.\n     */\n    pipelines: {\n      /**\n       * List admin-visible CasePipelineLink records.\n       *\n       * @param options - Optional pagination and request settings.\n       * @returns A promise resolving to CasePipelineLink records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<CasePipelineLink[]> => {\n        return rb.execute<CasePipelineLink[]>(\n          getAdminCasePipelineLinks,\n          { ...buildPageQuery(options?.page, options?.pageSize) },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a CasePipelineLink by id.\n       *\n       * @param id - CasePipelineLink id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the CasePipelineLink.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CasePipelineLink> => {\n        return rb.execute<CasePipelineLink>(\n          getAdminCasePipelineLinksById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport type {\n  Contract,\n  ContractClause,\n  ContractRenewalAlert,\n} from \"../_internal/types.gen\";\nimport {\n  getAdminContracts,\n  getAdminContractsById,\n  postAdminContracts,\n  patchAdminContractsById,\n  deleteAdminContractsById,\n  getAdminContractClauses,\n  getAdminContractClausesById,\n  getAdminContractRenewalAlerts,\n  getAdminContractRenewalAlertsById,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\nimport { buildPageQuery } from \"../namespace-types\";\n\n/** Attributes accepted when creating a manual Contract (admin surface). */\nexport type CreateContractAttributes = {\n  source_system: \"salesforce\" | \"hubspot\" | \"manual\";\n  source_id: string;\n  title: string;\n  status?: \"draft\" | \"active\" | \"expired\" | \"terminated\" | \"renewed\";\n  counterparty_name?: string | null;\n  start_date?: string | null;\n  end_date?: string | null;\n  renewal_date?: string | null;\n  auto_renewal?: boolean;\n  renewal_notice_days?: number | null;\n  total_value_amount?: string | null;\n  total_value_currency?: string | null;\n  body_text?: string | null;\n  custom_fields?: Record<string, unknown>;\n  external_url?: string | null;\n};\n\n/** Attributes accepted when updating a Contract (admin surface, all optional). */\nexport type UpdateContractAttributes = {\n  title?: string;\n  status?: \"draft\" | \"active\" | \"expired\" | \"terminated\" | \"renewed\";\n  counterparty_name?: string | null;\n  start_date?: string | null;\n  end_date?: string | null;\n  renewal_date?: string | null;\n  auto_renewal?: boolean;\n  renewal_notice_days?: number | null;\n  total_value_amount?: string | null;\n  total_value_currency?: string | null;\n  body_text?: string | null;\n  custom_fields?: Record<string, unknown>;\n  external_url?: string | null;\n};\n\n/**\n * Destructure CreateContractAttributes to prevent extra-property leakage in\n * the JSON:API body (B2 lesson — additionalProperties: false).\n */\nfunction buildCreateContractAttributes(attributes: CreateContractAttributes) {\n  const {\n    source_system,\n    source_id,\n    title,\n    status,\n    counterparty_name,\n    start_date,\n    end_date,\n    renewal_date,\n    auto_renewal,\n    renewal_notice_days,\n    total_value_amount,\n    total_value_currency,\n    body_text,\n    custom_fields,\n    external_url,\n  } = attributes;\n\n  return {\n    source_system,\n    source_id,\n    title,\n    status,\n    counterparty_name,\n    start_date,\n    end_date,\n    renewal_date,\n    auto_renewal,\n    renewal_notice_days,\n    total_value_amount,\n    total_value_currency,\n    body_text,\n    custom_fields,\n    external_url,\n  };\n}\n\nfunction buildUpdateContractAttributes(attributes: UpdateContractAttributes) {\n  const {\n    title,\n    status,\n    counterparty_name,\n    start_date,\n    end_date,\n    renewal_date,\n    auto_renewal,\n    renewal_notice_days,\n    total_value_amount,\n    total_value_currency,\n    body_text,\n    custom_fields,\n    external_url,\n  } = attributes;\n\n  return {\n    title,\n    status,\n    counterparty_name,\n    start_date,\n    end_date,\n    renewal_date,\n    auto_renewal,\n    renewal_notice_days,\n    total_value_amount,\n    total_value_currency,\n    body_text,\n    custom_fields,\n    external_url,\n  };\n}\n\n/**\n * Admin surface for the Contracts domain — full CRUD across Contract,\n * ContractClause, and ContractRenewalAlert. Capability-gated on\n * `:contract_tracking`. ISV-admin keys (`sk_srv_`) authorize via\n * `contracts:read` and `contracts:write` scopes.\n *\n * @example\n * ```typescript\n * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n * const list = await admin.contracts.contracts.list();\n * const c = await admin.contracts.contracts.create({\n *   source_system: \"manual\",\n *   source_id: \"msa-2026-001\",\n *   title: \"Vendor MSA\",\n *   auto_renewal: false,\n * });\n * ```\n */\nexport function createContractsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Contract aggregates — admin surface (full CRUD).\n     */\n    contracts: {\n      /**\n       * List Contracts across the workspace (admin scope).\n       *\n       * @param options - Optional pagination and request settings.\n       * @returns A promise resolving to Contract records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<Contract[]> => {\n        return rb.execute<Contract[]>(\n          getAdminContracts,\n          { ...buildPageQuery(options?.page, options?.pageSize) },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a Contract by id (admin scope).\n       *\n       * @param id - Contract id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the Contract.\n       */\n      get: async (id: string, options?: RequestOptions): Promise<Contract> => {\n        return rb.execute<Contract>(\n          getAdminContractsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a manual Contract (admin scope). Salesforce/HubSpot rows\n       * arrive via the connector sync pipeline; admin-initiated creates\n       * should set `source_system: \"manual\"`.\n       *\n       * Body shape: `{ data: { type: \"contract\", attributes: {...} } }`.\n       *\n       * @param attributes - Accepted Contract create attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the created Contract.\n       * @example\n       * ```typescript\n       * await admin.contracts.contracts.create({\n       *   source_system: \"manual\",\n       *   source_id: \"msa-2026-001\",\n       *   title: \"Vendor MSA\",\n       *   auto_renewal: false,\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateContractAttributes,\n        options?: RequestOptions,\n      ): Promise<Contract> => {\n        const bodyAttributes = buildCreateContractAttributes(attributes);\n\n        return rb.execute<Contract>(\n          postAdminContracts,\n          { body: { data: { type: \"contract\", attributes: bodyAttributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update mutable Contract fields (admin scope).\n       *\n       * Body shape: `{ data: { type: \"contract\", id, attributes: {...} } }`.\n       *\n       * @param id - Contract id.\n       * @param attributes - Accepted Contract update attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the updated Contract.\n       * @example\n       * ```typescript\n       * await admin.contracts.contracts.update(\"contract-uuid\", {\n       *   status: \"renewed\",\n       *   renewal_date: \"2027-01-01\",\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateContractAttributes,\n        options?: RequestOptions,\n      ): Promise<Contract> => {\n        const bodyAttributes = buildUpdateContractAttributes(attributes);\n\n        return rb.execute<Contract>(\n          patchAdminContractsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"contract\", id, attributes: bodyAttributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a Contract (admin scope). Cascades to ContractClause and\n       * ContractRenewalAlert via Postgres `on_delete: :delete`.\n       *\n       * @param id - Contract id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to `true` on success.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminContractsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * ContractClause records — admin read surface.\n     */\n    clauses: {\n      /**\n       * List ContractClause records for a specific Contract (admin scope).\n       *\n       * @param contractId - Contract id to scope the listing.\n       * @param options - Optional pagination and request settings.\n       * @returns A promise resolving to ContractClause records.\n       */\n      listForContract: async (\n        contractId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<ContractClause[]> => {\n        return rb.execute<ContractClause[]>(\n          getAdminContractClauses,\n          {\n            query: {\n              \"filter[contract_id]\": contractId,\n              ...buildPageQuery(options?.page, options?.pageSize),\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a single ContractClause by id (admin scope).\n       *\n       * @param id - ContractClause id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the ContractClause.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ContractClause> => {\n        return rb.execute<ContractClause>(\n          getAdminContractClausesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * ContractRenewalAlert ledger entries — admin read surface.\n     */\n    renewalAlerts: {\n      /**\n       * List ContractRenewalAlert ledger entries (admin scope).\n       *\n       * @param options - Optional pagination and request settings.\n       * @returns A promise resolving to ContractRenewalAlert records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<ContractRenewalAlert[]> => {\n        return rb.execute<ContractRenewalAlert[]>(\n          getAdminContractRenewalAlerts,\n          { ...buildPageQuery(options?.page, options?.pageSize) },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a single ContractRenewalAlert by id (admin scope).\n       *\n       * @param id - ContractRenewalAlert id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the ContractRenewalAlert.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ContractRenewalAlert> => {\n        return rb.execute<ContractRenewalAlert>(\n          getAdminContractRenewalAlertsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\n/**\n * # Meetings SDK namespace (admin surface)\n *\n * ## PHI and encryption at rest (post PR-A)\n *\n * All free-text and free-form fields on the three Meetings resources are\n * PHI-class and are encrypted at rest with AES-256-GCM via AshCloak\n * (HKDF-SHA256 from the platform vault). Seven attributes are stored as\n * ciphertext at the database layer:\n *\n * | Resource             | Field            | Default response                       |\n * |----------------------|------------------|----------------------------------------|\n * | meetings.meetings    | summary_text     | decrypted                              |\n * | meetings.meetings    | key_topics       | decrypted                              |\n * | meetings.meetings    | decisions        | decrypted                              |\n * | meetings.meetings    | attendees        | decrypted                              |\n * | meetings.transcripts | transcript_text  | OMITTED — opt-in via sparse fieldset   |\n * | meetings.transcripts | segments         | OMITTED — opt-in via sparse fieldset   |\n * | meetings.actionItems | task_text        | decrypted                              |\n *\n * `MeetingTranscript` PHI requires the sparse-fieldset opt-in. Use the\n * `includePhi: true` flag on `transcripts.list` / `transcripts.get` (which\n * injects `fields[meeting-transcript]=transcript_text,segments`) or send\n * the query parameter directly. Sorting / filtering / aggregating on\n * encrypted fields is not supported.\n *\n * ## Capability & error codes\n *\n * Capability-gated on `:meeting_intelligence`. ISV-admin keys (`sk_srv_`)\n * authorize via `meetings:read` and `meetings:write` scopes.\n *\n * - `meeting_intelligence_capability_disabled` (HTTP 403) — surfaced by\n *   every facade-dispatch endpoint and propagates to read / write\n *   endpoints when the Application has not enabled\n *   `:meeting_intelligence`. Error body shape:\n *   `{ errors: [{ code, detail, status: \"403\" }] }`.\n */\n\nimport type {\n  Meeting,\n  MeetingTranscript,\n  MeetingActionItem,\n} from \"../_internal/types.gen\";\nimport {\n  getAdminMeetings,\n  getAdminMeetingsById,\n  postAdminMeetings,\n  patchAdminMeetingsById,\n  deleteAdminMeetingsById,\n  getAdminMeetingTranscripts,\n  getAdminMeetingTranscriptsById,\n  getAdminMeetingActionItems,\n  getAdminMeetingActionItemsById,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\nimport { buildPageQuery } from \"../namespace-types\";\n\n/**\n * Per-attendee metadata. PHI — the parent `attendees` map is encrypted at\n * rest via AshCloak. The shape is server-validated by `ValidAttendees`\n * (max 1000 entries; key length <= 254; value length <= 200). All members\n * are optional; only the email key is required.\n */\nexport type MeetingAttendee = {\n  /** Display name of the attendee. */\n  name?: string;\n  /** Free-form role string (e.g., \"host\", \"presenter\"). */\n  role?: string;\n  /** Whether the attendee is optional for the meeting. */\n  optional?: boolean;\n  /** RSVP / response status (e.g., \"accepted\", \"declined\", \"tentative\", \"needs_action\"). */\n  response_status?: string;\n};\n\n/** Attributes accepted when creating a Meeting (admin surface). */\nexport type CreateMeetingAttributes = {\n  source_system: \"microsoft_365\" | \"google_calendar\" | \"manual\";\n  source_id: string;\n  title: string;\n  status?: \"scheduled\" | \"in_progress\" | \"completed\" | \"cancelled\";\n  start_time?: string | null;\n  end_time?: string | null;\n  organizer_email?: string | null;\n  /**\n   * Map of attendee email -> attendee metadata. PHI — encrypted at rest\n   * (AshCloak). Server-side validated for shape and size.\n   */\n  attendees?: Record<string, MeetingAttendee>;\n  join_url?: string | null;\n  location?: string | null;\n  /** ISV-defined freeform metadata. */\n  custom_fields?: Record<string, unknown>;\n  external_url?: string | null;\n};\n\n/** Attributes accepted when updating a Meeting (admin surface, all optional). */\nexport type UpdateMeetingAttributes = {\n  title?: string;\n  status?: \"scheduled\" | \"in_progress\" | \"completed\" | \"cancelled\";\n  start_time?: string | null;\n  end_time?: string | null;\n  organizer_email?: string | null;\n  /**\n   * Map of attendee email -> attendee metadata. PHI — encrypted at rest\n   * (AshCloak). PATCH semantics: omit the key to leave the stored value\n   * unchanged; send `{}` to replace with an empty map. The server replaces\n   * (not merges) the persisted value when this attribute is present.\n   */\n  attendees?: Record<string, MeetingAttendee>;\n  join_url?: string | null;\n  location?: string | null;\n  /**\n   * ISV-defined freeform metadata. PATCH semantics: omit to leave the\n   * stored value unchanged; send `{}` to replace with an empty map.\n   */\n  custom_fields?: Record<string, unknown>;\n  external_url?: string | null;\n};\n\n/**\n * Destructure CreateMeetingAttributes to prevent extra-property leakage in\n * the JSON:API body (B2 lesson — additionalProperties: false).\n */\nfunction buildCreateMeetingAttributes(attributes: CreateMeetingAttributes) {\n  const {\n    source_system,\n    source_id,\n    title,\n    status,\n    start_time,\n    end_time,\n    organizer_email,\n    attendees,\n    join_url,\n    location,\n    custom_fields,\n    external_url,\n  } = attributes;\n\n  return {\n    source_system,\n    source_id,\n    title,\n    status,\n    start_time,\n    end_time,\n    organizer_email,\n    attendees,\n    join_url,\n    location,\n    custom_fields,\n    external_url,\n  };\n}\n\nfunction buildUpdateMeetingAttributes(attributes: UpdateMeetingAttributes) {\n  const {\n    title,\n    status,\n    start_time,\n    end_time,\n    organizer_email,\n    attendees,\n    join_url,\n    location,\n    custom_fields,\n    external_url,\n  } = attributes;\n\n  return {\n    title,\n    status,\n    start_time,\n    end_time,\n    organizer_email,\n    attendees,\n    join_url,\n    location,\n    custom_fields,\n    external_url,\n  };\n}\n\n/**\n * Admin surface for the Meetings domain — full CRUD on Meeting plus read\n * access to MeetingTranscript and MeetingActionItem. Capability-gated on\n * `:meeting_intelligence`. ISV-admin keys (`sk_srv_`) authorize via\n * `meetings:read` and `meetings:write` scopes.\n *\n * Sub-resources:\n * - `meetings` — Meeting aggregates. `summary_text` / `key_topics` /\n *   `decisions` are PHI-adjacent + system-stamped (LLM output of\n *   `:apply_processing`); `attendees` is PHI. All four are AshCloak-\n *   encrypted at rest and decrypted by default on read.\n * - `transcripts` — MeetingTranscript records (1:1 with Meeting).\n *   `transcript_text` and `segments` are PHI, encrypted at rest, and\n *   require sparse-fieldset opt-in via `includePhi: true`.\n * - `actionItems` — MeetingActionItem rows. `task_text` is PHI,\n *   encrypted at rest, decrypted on read.\n *\n * Sync, transcript upload, and processing flows are NOT exposed as SDK\n * methods — they reach end users via AshAi tools + the Meetings facade.\n * Every facade-dispatch endpoint can return HTTP 403 with code\n * `meeting_intelligence_capability_disabled` when the workspace's\n * Application lacks `:meeting_intelligence`.\n *\n * @example\n * ```typescript\n * const admin = new GptAdmin({ apiKey: \"sk_srv_...\" });\n *\n * // List meetings across the workspace\n * const meetings = await admin.meetings.meetings.list();\n *\n * // Create a manual meeting\n * const m = await admin.meetings.meetings.create({\n *   source_system: \"manual\",\n *   source_id: \"manual-2026-001\",\n *   title: \"Quarterly Planning\",\n * });\n *\n * // List action items\n * const items = await admin.meetings.actionItems.list();\n *\n * // Opt in to PHI on a transcript read\n * const t = await admin.meetings.transcripts.get(transcriptId, {\n *   includePhi: true,\n * });\n * ```\n */\nexport function createMeetingsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Meeting aggregates — admin surface (full CRUD).\n     */\n    meetings: {\n      /**\n       * List Meetings across the workspace (admin scope).\n       *\n       * @param options - Optional pagination and request settings.\n       * @returns A promise resolving to Meeting records.\n       * @throws GptApiError with code\n       *   `meeting_intelligence_capability_disabled` (HTTP 403) when the\n       *   workspace's Application lacks the capability.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<Meeting[]> => {\n        return rb.execute<Meeting[]>(\n          getAdminMeetings,\n          { ...buildPageQuery(options?.page, options?.pageSize) },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a Meeting by id.\n       *\n       * @param id - Meeting id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the Meeting.\n       * @throws GptApiError with code\n       *   `meeting_intelligence_capability_disabled` (HTTP 403) when the\n       *   workspace's Application lacks the capability.\n       */\n      get: async (id: string, options?: RequestOptions): Promise<Meeting> => {\n        return rb.execute<Meeting>(\n          getAdminMeetingsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a manual Meeting. The `source_system` MUST be `\"manual\"` for\n       * caller-initiated creates — Microsoft 365 and Google Calendar rows\n       * arrive via the connector sync pipeline (`:sync_upsert`, system-only).\n       *\n       * Body shape: `{ data: { type: \"meeting\", attributes: {...} } }`.\n       *\n       * @param attributes - Accepted Meeting create attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the created Meeting.\n       * @throws GptApiError with code\n       *   `meeting_intelligence_capability_disabled` (HTTP 403) when the\n       *   workspace's Application lacks the capability.\n       *\n       * @example\n       * ```typescript\n       * await admin.meetings.meetings.create({\n       *   source_system: \"manual\",\n       *   source_id: \"manual-1\",\n       *   title: \"Standup\",\n       *   status: \"scheduled\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateMeetingAttributes,\n        options?: RequestOptions,\n      ): Promise<Meeting> => {\n        const bodyAttributes = buildCreateMeetingAttributes(attributes);\n\n        return rb.execute<Meeting>(\n          postAdminMeetings,\n          { body: { data: { type: \"meeting\", attributes: bodyAttributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update mutable Meeting fields.\n       *\n       * Note: `attendees` and `custom_fields` use REPLACE semantics on\n       * PATCH (omit to leave unchanged; send `{}` to clear).\n       *\n       * @param id - Meeting id.\n       * @param attributes - Accepted Meeting update attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the updated Meeting.\n       * @throws GptApiError with code\n       *   `meeting_intelligence_capability_disabled` (HTTP 403) when the\n       *   workspace's Application lacks the capability.\n       *\n       * @example\n       * ```typescript\n       * await admin.meetings.meetings.update(meetingId, {\n       *   status: \"completed\",\n       *   end_time: \"2026-05-10T16:30:00Z\",\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateMeetingAttributes,\n        options?: RequestOptions,\n      ): Promise<Meeting> => {\n        const bodyAttributes = buildUpdateMeetingAttributes(attributes);\n\n        return rb.execute<Meeting>(\n          patchAdminMeetingsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"meeting\", id, attributes: bodyAttributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a Meeting. Cascades to its MeetingTranscript and\n       * MeetingActionItem rows at the FK level. A single\n       * `meetings.meeting.deleted` event covers the entire subtree — no\n       * per-child events fire on cascade.\n       *\n       * @param id - Meeting id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to `true` on success.\n       * @throws GptApiError with code\n       *   `meeting_intelligence_capability_disabled` (HTTP 403) when the\n       *   workspace's Application lacks the capability.\n       *\n       * @example\n       * ```typescript\n       * await admin.meetings.meetings.delete(meetingId);\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminMeetingsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * MeetingTranscript records — one per Meeting.\n     *\n     * **PHI default-deny contract (post PR-A):** `transcript_text` and\n     * `segments` are encrypted at rest via AshCloak and are NOT returned\n     * by default. Use `includePhi: true` on `list` / `get` to opt in via\n     * sparse fieldsets (`fields[meeting-transcript]=transcript_text,segments`).\n     * Downstream PHI handling (storage, redaction, retention) is the\n     * ISV's responsibility under their own HIPAA / data-protection\n     * controls.\n     */\n    transcripts: {\n      /**\n       * List MeetingTranscript records across the workspace.\n       *\n       * Pass `includePhi: true` to opt in to the AshCloak-encrypted PHI\n       * fields (`transcript_text`, `segments`) via sparse fieldset.\n       *\n       * @param options - Optional pagination, PHI opt-in, and request settings.\n       * @returns A promise resolving to MeetingTranscript records.\n       * @throws GptApiError with code\n       *   `meeting_intelligence_capability_disabled` (HTTP 403) when the\n       *   workspace's Application lacks the capability.\n       */\n      list: async (\n        options?: {\n          page?: number;\n          pageSize?: number;\n          includePhi?: boolean;\n        } & RequestOptions,\n      ): Promise<MeetingTranscript[]> => {\n        const base = buildPageQuery(options?.page, options?.pageSize);\n        const params: { query: Record<string, unknown> } = {\n          query: { ...base.query },\n        };\n        if (options?.includePhi) {\n          params.query[\"fields[meeting-transcript]\"] =\n            \"transcript_text,segments\";\n        }\n        return rb.execute<MeetingTranscript[]>(\n          getAdminMeetingTranscripts,\n          params,\n          options,\n        );\n      },\n\n      /**\n       * Fetch a MeetingTranscript by id.\n       *\n       * Pass `includePhi: true` to opt in to the AshCloak-encrypted PHI\n       * fields (`transcript_text`, `segments`) via sparse fieldset.\n       *\n       * @param id - MeetingTranscript id.\n       * @param options - Optional PHI opt-in and request settings.\n       * @returns A promise resolving to the MeetingTranscript.\n       * @throws GptApiError with code\n       *   `meeting_intelligence_capability_disabled` (HTTP 403) when the\n       *   workspace's Application lacks the capability.\n       *\n       * @example\n       * ```typescript\n       * const t = await admin.meetings.transcripts.get(id, {\n       *   includePhi: true,\n       * });\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions & { includePhi?: boolean },\n      ): Promise<MeetingTranscript> => {\n        const params: {\n          path: { id: string };\n          query?: Record<string, unknown>;\n        } = { path: { id } };\n        if (options?.includePhi) {\n          params.query = {\n            \"fields[meeting-transcript]\": \"transcript_text,segments\",\n          };\n        }\n        return rb.execute<MeetingTranscript>(\n          getAdminMeetingTranscriptsById,\n          params,\n          options,\n        );\n      },\n    },\n\n    /**\n     * MeetingActionItem records — typed action items extracted by the\n     * `MeetingProcessor` LLM pipeline. `task_text` is PHI (may contain\n     * participant names), encrypted at rest via AshCloak, decrypted on\n     * read.\n     */\n    actionItems: {\n      /**\n       * List MeetingActionItem records across the workspace.\n       *\n       * @param options - Optional pagination and request settings.\n       * @returns A promise resolving to MeetingActionItem records.\n       * @throws GptApiError with code\n       *   `meeting_intelligence_capability_disabled` (HTTP 403) when the\n       *   workspace's Application lacks the capability.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<MeetingActionItem[]> => {\n        return rb.execute<MeetingActionItem[]>(\n          getAdminMeetingActionItems,\n          { ...buildPageQuery(options?.page, options?.pageSize) },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a MeetingActionItem by id.\n       *\n       * @param id - MeetingActionItem id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the MeetingActionItem.\n       * @throws GptApiError with code\n       *   `meeting_intelligence_capability_disabled` (HTTP 403) when the\n       *   workspace's Application lacks the capability.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<MeetingActionItem> => {\n        return rb.execute<MeetingActionItem>(\n          getAdminMeetingActionItemsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n  };\n}\n\n/** Public type alias for the admin meetings namespace return shape. */\nexport type MeetingsAPI = ReturnType<typeof createMeetingsNamespace>;\n","// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n\nimport type {\n  Review,\n  ReviewQueue,\n  ReviewQueueMembership,\n} from \"../_internal/types.gen\";\nimport {\n  deleteAdminReviewQueueMembershipsById,\n  deleteAdminReviewQueuesById,\n  getAdminReviewQueueMemberships,\n  getAdminReviewQueueMembershipsById,\n  getAdminReviewQueues,\n  getAdminReviewQueuesById,\n  getAdminReviewQueuesSummaries,\n  getAdminReviews,\n  getAdminReviewsById,\n  patchAdminReviewQueuesById,\n  patchAdminReviewsByIdApprove,\n  patchAdminReviewsByIdAssign,\n  patchAdminReviewsByIdClaim,\n  patchAdminReviewsByIdCorrect,\n  patchAdminReviewsByIdEscalate,\n  patchAdminReviewsByIdReject,\n  patchAdminReviewsByIdUnclaim,\n  postAdminReviewQueueMemberships,\n  postAdminReviewQueues,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { buildPageQuery } from \"../namespace-types\";\nimport { RequestBuilder } from \"../request-builder\";\n\nexport type AdminReviewPriority = \"low\" | \"normal\" | \"high\" | \"urgent\";\nexport type AdminReviewQueueMembershipRole = \"member\" | \"supervisor\";\n\n/** Workspace-scoped review queue summary row. */\nexport type AdminReviewQueueSummary = {\n  queue_id: string;\n  slug: string;\n  name: string;\n  pending_count: number;\n  sla_overdue_count: number;\n};\n\nexport type AdminCreateReviewQueueAttributes = {\n  workspace_id: string;\n  name: string;\n  slug: string;\n  description?: string | null;\n  default_sla_minutes?: number | null;\n};\n\nexport type AdminUpdateReviewQueueAttributes = {\n  name?: string;\n  description?: string | null;\n  default_sla_minutes?: number | null;\n  is_archived?: boolean;\n};\n\nexport type AdminCreateReviewQueueMembershipAttributes = {\n  workspace_id: string;\n  queue_id: string;\n  user_id: string;\n  membership_role?: AdminReviewQueueMembershipRole;\n};\n\nexport type AdminAssignReviewAttributes = {\n  assigned_user_id: string | null;\n};\n\nexport type AdminApproveReviewAttributes = {\n  decision_payload?: Record<string, unknown> | null;\n  notes?: string | null;\n};\n\nexport type AdminRejectReviewAttributes = {\n  decision_payload?: Record<string, unknown> | null;\n  notes?: string | null;\n};\n\nexport type AdminCorrectReviewAttributes = {\n  correction_payload?: Record<string, unknown> | null;\n  notes?: string | null;\n};\n\nexport type AdminEscalateReviewAttributes = {\n  queue_id?: string;\n  assigned_user_id?: string | null;\n  priority?: AdminReviewPriority;\n};\n\nfunction buildCreateQueueAttributes(\n  attributes: AdminCreateReviewQueueAttributes,\n) {\n  const { workspace_id, name, slug, description, default_sla_minutes } =\n    attributes;\n\n  return { workspace_id, name, slug, description, default_sla_minutes };\n}\n\nfunction buildUpdateQueueAttributes(\n  attributes: AdminUpdateReviewQueueAttributes,\n) {\n  const { name, description, default_sla_minutes, is_archived } = attributes;\n\n  return { name, description, default_sla_minutes, is_archived };\n}\n\nfunction buildCreateMembershipAttributes(\n  attributes: AdminCreateReviewQueueMembershipAttributes,\n) {\n  const { workspace_id, queue_id, user_id, membership_role } = attributes;\n\n  return { workspace_id, queue_id, user_id, membership_role };\n}\n\n/**\n * Reviews namespace — admin access to human-review queues, memberships, and lifecycle actions.\n *\n * Admin callers can inspect review queues, grant queue membership, and drive\n * review lifecycle transitions through the JSON:API resources.\n */\nexport function createReviewsNamespace(rb: RequestBuilder) {\n  return {\n    /** Review records and lifecycle transitions. */\n    reviews: {\n      /**\n       * List Reviews visible to the admin caller.\n       *\n       * @param options - Optional pagination and request settings.\n       * @returns A promise resolving to Review records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<Review[]> => {\n        return rb.execute<Review[]>(\n          getAdminReviews,\n          { ...buildPageQuery(options?.page, options?.pageSize) },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a Review by id.\n       *\n       * @param id - Review id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the Review.\n       */\n      get: async (id: string, options?: RequestOptions): Promise<Review> => {\n        return rb.execute<Review>(\n          getAdminReviewsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Assign a Review to a user or clear the assignee.\n       *\n       * @param id - Review id.\n       * @param attributes - Assignment attributes accepted by the Review action.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the assigned Review.\n       * @example\n       * ```typescript\n       * await admin.reviews.reviews.assign(reviewId, { assigned_user_id: userId });\n       * ```\n       */\n      assign: async (\n        id: string,\n        attributes: AdminAssignReviewAttributes,\n        options?: RequestOptions,\n      ): Promise<Review> => {\n        const { assigned_user_id } = attributes;\n\n        return rb.execute<Review>(\n          patchAdminReviewsByIdAssign,\n          {\n            path: { id },\n            body: {\n              data: { type: \"review\", id, attributes: { assigned_user_id } },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Claim an open or assigned Review for the current reviewer.\n       *\n       * @param id - Review id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the claimed Review.\n       * @example\n       * ```typescript\n       * await admin.reviews.reviews.claim(reviewId);\n       * ```\n       */\n      claim: async (id: string, options?: RequestOptions): Promise<Review> => {\n        return rb.execute<Review>(\n          patchAdminReviewsByIdClaim,\n          { path: { id }, body: { data: { type: \"review\", id } } },\n          options,\n        );\n      },\n\n      /**\n       * Release a claimed Review back to its queue or assignee.\n       *\n       * @param id - Review id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the unclaimed Review.\n       * @example\n       * ```typescript\n       * await admin.reviews.reviews.unclaim(reviewId);\n       * ```\n       */\n      unclaim: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<Review> => {\n        return rb.execute<Review>(\n          patchAdminReviewsByIdUnclaim,\n          { path: { id }, body: { data: { type: \"review\", id } } },\n          options,\n        );\n      },\n\n      /**\n       * Approve a Review and attach an optional decision payload.\n       *\n       * @param id - Review id.\n       * @param attributes - Approval decision attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the approved Review.\n       * @example\n       * ```typescript\n       * await admin.reviews.reviews.approve(reviewId, { notes: \"Verified\" });\n       * ```\n       */\n      approve: async (\n        id: string,\n        attributes: AdminApproveReviewAttributes = {},\n        options?: RequestOptions,\n      ): Promise<Review> => {\n        const { decision_payload, notes } = attributes;\n\n        return rb.execute<Review>(\n          patchAdminReviewsByIdApprove,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"review\",\n                id,\n                attributes: { decision_payload, notes },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Reject a Review and attach an optional decision payload.\n       *\n       * @param id - Review id.\n       * @param attributes - Rejection decision attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the rejected Review.\n       * @example\n       * ```typescript\n       * await admin.reviews.reviews.reject(reviewId, { notes: \"Missing consent\" });\n       * ```\n       */\n      reject: async (\n        id: string,\n        attributes: AdminRejectReviewAttributes = {},\n        options?: RequestOptions,\n      ): Promise<Review> => {\n        const { decision_payload, notes } = attributes;\n\n        return rb.execute<Review>(\n          patchAdminReviewsByIdReject,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"review\",\n                id,\n                attributes: { decision_payload, notes },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Correct a Review with field-level correction data.\n       *\n       * @param id - Review id.\n       * @param attributes - Correction payload and optional notes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the corrected Review.\n       * @example\n       * ```typescript\n       * await admin.reviews.reviews.correct(reviewId, { correction_payload: { total: 42 } });\n       * ```\n       */\n      correct: async (\n        id: string,\n        attributes: AdminCorrectReviewAttributes = {},\n        options?: RequestOptions,\n      ): Promise<Review> => {\n        const { correction_payload, notes } = attributes;\n\n        return rb.execute<Review>(\n          patchAdminReviewsByIdCorrect,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"review\",\n                id,\n                attributes: { correction_payload, notes },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Escalate a Review to another queue, assignee, or priority.\n       *\n       * @param id - Review id.\n       * @param attributes - Escalation attributes accepted by the Review action.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the escalated Review.\n       * @example\n       * ```typescript\n       * await admin.reviews.reviews.escalate(reviewId, { queue_id: supervisorQueueId });\n       * ```\n       */\n      escalate: async (\n        id: string,\n        attributes: AdminEscalateReviewAttributes,\n        options?: RequestOptions,\n      ): Promise<Review> => {\n        const { queue_id, assigned_user_id, priority } = attributes;\n\n        return rb.execute<Review>(\n          patchAdminReviewsByIdEscalate,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"review\",\n                id,\n                attributes: { queue_id, assigned_user_id, priority },\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /** Review queues used to route human work. */\n    queues: {\n      /**\n       * List ReviewQueues visible to the admin caller.\n       *\n       * @param options - Optional pagination and request settings.\n       * @returns A promise resolving to ReviewQueue records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<ReviewQueue[]> => {\n        return rb.execute<ReviewQueue[]>(\n          getAdminReviewQueues,\n          { ...buildPageQuery(options?.page, options?.pageSize) },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a ReviewQueue by id.\n       *\n       * @param id - ReviewQueue id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the ReviewQueue.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ReviewQueue> => {\n        return rb.execute<ReviewQueue>(\n          getAdminReviewQueuesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Return review queue summary rows for a workspace.\n       *\n       * @param workspaceId - Workspace UUID to scope the admin request.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to non-archived queue summary rows.\n       */\n      summaries: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<AdminReviewQueueSummary[]> => {\n        return rb.execute<AdminReviewQueueSummary[]>(\n          getAdminReviewQueuesSummaries,\n          { query: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Create a ReviewQueue.\n       *\n       * @param attributes - Accepted ReviewQueue create attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the created ReviewQueue.\n       * @example\n       * ```typescript\n       * await admin.reviews.queues.create({ workspace_id, name, slug });\n       * ```\n       */\n      create: async (\n        attributes: AdminCreateReviewQueueAttributes,\n        options?: RequestOptions,\n      ): Promise<ReviewQueue> => {\n        const bodyAttributes = buildCreateQueueAttributes(attributes);\n\n        return rb.execute<ReviewQueue>(\n          postAdminReviewQueues,\n          {\n            body: {\n              data: { type: \"review-queue\", attributes: bodyAttributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update mutable ReviewQueue fields.\n       *\n       * @param id - ReviewQueue id.\n       * @param attributes - Accepted ReviewQueue update attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the updated ReviewQueue.\n       * @example\n       * ```typescript\n       * await admin.reviews.queues.update(queueId, { is_archived: true });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: AdminUpdateReviewQueueAttributes,\n        options?: RequestOptions,\n      ): Promise<ReviewQueue> => {\n        const bodyAttributes = buildUpdateQueueAttributes(attributes);\n\n        return rb.execute<ReviewQueue>(\n          patchAdminReviewQueuesById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"review-queue\", id, attributes: bodyAttributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a ReviewQueue.\n       *\n       * @param id - ReviewQueue id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to true when the delete succeeds.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminReviewQueuesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /** Review queue memberships for reviewer and supervisor access. */\n    memberships: {\n      /**\n       * List ReviewQueueMembership records visible to the admin caller.\n       *\n       * @param options - Optional pagination and request settings.\n       * @returns A promise resolving to ReviewQueueMembership records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<ReviewQueueMembership[]> => {\n        return rb.execute<ReviewQueueMembership[]>(\n          getAdminReviewQueueMemberships,\n          { ...buildPageQuery(options?.page, options?.pageSize) },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a ReviewQueueMembership by id.\n       *\n       * @param id - ReviewQueueMembership id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the ReviewQueueMembership.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ReviewQueueMembership> => {\n        return rb.execute<ReviewQueueMembership>(\n          getAdminReviewQueueMembershipsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Grant a user membership on a ReviewQueue.\n       *\n       * @param attributes - Accepted ReviewQueueMembership create attributes.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to the created ReviewQueueMembership.\n       * @example\n       * ```typescript\n       * await admin.reviews.memberships.create({ workspace_id, queue_id, user_id });\n       * ```\n       */\n      create: async (\n        attributes: AdminCreateReviewQueueMembershipAttributes,\n        options?: RequestOptions,\n      ): Promise<ReviewQueueMembership> => {\n        const bodyAttributes = buildCreateMembershipAttributes(attributes);\n\n        return rb.execute<ReviewQueueMembership>(\n          postAdminReviewQueueMemberships,\n          {\n            body: {\n              data: {\n                type: \"review-queue-membership\",\n                attributes: bodyAttributes,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Revoke a ReviewQueueMembership.\n       *\n       * @param id - ReviewQueueMembership id.\n       * @param options - Optional request settings.\n       * @returns A promise resolving to true when the delete succeeds.\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminReviewQueueMembershipsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — custom Phoenix controller (not AshJsonApi)\nimport type { RequestOptions } from \"../base-client\";\nimport type { RequestBuilder } from \"../request-builder\";\n\n/** Performance tier classification based on model pricing. */\nexport type ModelTier = \"high_performance\" | \"standard\" | \"economy\";\n\n/** Model information returned by the catalog API. */\nexport interface ModelInfo {\n  /** OpenRouter model ID (e.g., \"anthropic/claude-sonnet-4\"). */\n  id: string;\n  /** Human-readable model name. */\n  name: string;\n  /** Maximum context window size in tokens. */\n  context_length: number;\n  /** Performance tier classification. */\n  tier: ModelTier;\n  /** Model capabilities (e.g., \"vision\", \"long_context\"). */\n  capabilities: string[];\n  /** Model categories (e.g., \"general\", \"reasoning\", \"coding\"). */\n  categories: string[];\n}\n\n/** Options for filtering the model catalog listing. */\nexport interface ListModelsOptions {\n  /** Filter by performance tier. */\n  tier?: ModelTier;\n  /** Filter by category (e.g., \"reasoning\", \"coding\"). */\n  category?: string;\n}\n\n/**\n * Models namespace factory (admin/ISV surface).\n *\n * Provides read-only access to the platform model catalog with tier\n * classification. Pricing data is intentionally excluded.\n *\n * @param rb - The request builder used for API communication.\n * @returns Models namespace with `list` and `get`.\n */\nexport function createModelsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List available models with tier classification.\n     *\n     * @param options - Optional filters for tier and category.\n     * @param reqOptions - Optional request options.\n     * @returns Array of available models.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     *\n     * // All models\n     * const models = await admin.models.list();\n     *\n     * // Filter by tier\n     * const standard = await admin.models.list({ tier: \"standard\" });\n     * ```\n     */\n    async list(\n      options?: ListModelsOptions,\n      reqOptions?: RequestOptions,\n    ): Promise<ModelInfo[]> {\n      const params = new URLSearchParams();\n      if (options?.tier) params.set(\"tier\", options.tier);\n      if (options?.category) params.set(\"category\", options.category);\n      const query = params.toString();\n      const path = query ? `/isv/models?${query}` : \"/isv/models\";\n      return rb.rawGet<ModelInfo[]>(path, reqOptions);\n    },\n\n    /**\n     * Get a single model by ID.\n     *\n     * @param modelId - The model ID (e.g., \"anthropic/claude-sonnet-4\").\n     *   Do NOT URL-encode — model IDs contain literal slashes.\n     * @param reqOptions - Optional request options.\n     * @returns Model details with tier classification.\n     *\n     * @example\n     * ```typescript\n     * const model = await admin.models.get(\"anthropic/claude-sonnet-4\");\n     * console.log(model.tier); // \"high_performance\"\n     * ```\n     */\n    async get(\n      modelId: string,\n      reqOptions?: RequestOptions,\n    ): Promise<ModelInfo> {\n      return rb.rawGet<ModelInfo>(`/isv/models/${modelId}`, reqOptions);\n    },\n  };\n}\n","// Hand-maintained — admin AI/LLM management namespace\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport {\n  getAdminSysAiConfig,\n  getAdminSysAiConfigById,\n  postAdminSysAiConfig,\n  patchAdminSysAiConfigById,\n  getAdminLlmAnalytics,\n  getAdminLlmAnalyticsById,\n  postAdminLlmAnalytics,\n  getAdminLlmAnalyticsCosts,\n  getAdminLlmAnalyticsSummary,\n  getAdminLlmAnalyticsUsage,\n  getAdminLlmAnalyticsWorkspace,\n  getAdminLlmAnalyticsPlatform,\n  getAdminSysSemanticCacheStats,\n  postAdminSysSemanticCacheClear,\n} from \"../_internal/sdk.gen\";\nimport type { LlmAnalytics } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport type { RequestBuilder } from \"../request-builder\";\n\n// ---------------------------------------------------------------------------\n// Typed attribute interfaces\n// ---------------------------------------------------------------------------\n\n/** LLM provider configuration for an application. */\nexport interface ProviderConfig {\n  id?: string;\n  cloud_model?: string;\n  embedding_model?: string;\n  vector_dimensions?: number;\n  model_overrides?: Record<string, string>;\n  fallback_chains?: Record<string, unknown> | null;\n  pricing_floor_percent?: number | null;\n  workload_backends?: Record<string, unknown> | null;\n}\n\n/**\n * Attributes accepted by the LLM analytics `:record` create action.\n *\n * Mirrors the server `GptCore.LLM.LlmAnalytics` `:record` accept list.\n * Note: the model attribute is `model_id` (NOT `model`). Decimal fields\n * (`cost_usd`, `wholesale_cost_usd`, `audio_seconds`) accept either a\n * number or a string to preserve precision over the wire.\n */\nexport interface RecordLlmAnalyticsAttributes {\n  model_id: string;\n  tenant_id?: string;\n  workspace_id?: string;\n  user_id?: string;\n  agent_id?: string;\n  provider?: string;\n  task?: string;\n  workload?: string;\n  input_tokens?: number;\n  output_tokens?: number;\n  total_tokens?: number;\n  audio_seconds?: number | string;\n  image_pages?: number;\n  image_tokens?: number;\n  character_count?: number;\n  latency_ms?: number;\n  cost_usd?: number | string;\n  wholesale_cost_usd?: number | string;\n  confidence_score?: number;\n  metadata?: Record<string, unknown>;\n  usage_event_id?: string;\n}\n\n/** LLM analytics cost breakdown. */\nexport interface LlmCostBreakdown {\n  total_usd?: number;\n  total_tokens?: number;\n  by_model?: Array<{\n    name?: string;\n    usd?: number;\n    tokens?: number;\n  }>;\n}\n\n/** LLM analytics summary. */\nexport interface LlmAnalyticsSummary {\n  total_requests?: number;\n  avg_latency_ms?: number;\n}\n\n/** LLM analytics usage time-series. */\nexport interface LlmAnalyticsUsage {\n  data_points?: Array<{\n    timestamp?: string;\n    tokens?: number;\n    requests?: number;\n  }>;\n}\n\n/** LLM workspace-level metrics. */\nexport interface LlmWorkspaceMetrics {\n  top_agents?: Array<{ name?: string }>;\n}\n\n/** LLM platform-level summary metrics. */\nexport interface LlmPlatformSummary {\n  total_requests?: number;\n  total_tokens?: number;\n  total_usd?: number;\n}\n\n/**\n * Creates the `ai` namespace for the admin SDK, providing methods for\n * LLM provider configuration, analytics, and semantic cache management.\n *\n * @param rb - The `RequestBuilder` instance bound to the authenticated client.\n * @returns An object containing AI management sub-namespaces.\n *\n * @example\n * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n *\n * // List provider configs\n * const configs = await admin.ai.providerConfig.list();\n *\n * // Get analytics summary\n * const summary = await admin.ai.analytics.summary();\n *\n * // Clear semantic cache\n * await admin.ai.cache.clear(true);\n */\nexport function createAiNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Sub-namespace for managing LLM provider configurations.\n     *\n     * Provider configs control which LLM provider and model an application\n     * uses for inference. Each application can have its own config.\n     */\n    providerConfig: {\n      /**\n       * Lists all provider configurations.\n       *\n       * @param options - Optional request options.\n       * @returns A promise that resolves to an array of provider config objects.\n       *\n       * @example\n       * const configs = await admin.ai.providerConfig.list();\n       * console.log(`Provider configs: ${configs.length}`);\n       */\n      list: async (options?: RequestOptions): Promise<ProviderConfig[]> => {\n        return rb.execute<ProviderConfig[]>(getAdminSysAiConfig, {}, options);\n      },\n\n      /**\n       * Gets a provider configuration by ID.\n       *\n       * @param id - The UUID of the provider config.\n       * @param options - Optional request options.\n       * @returns A promise that resolves to the provider config object.\n       *\n       * @example\n       * const config = await admin.ai.providerConfig.get('cfg_01HXYZ...');\n       * console.log(`Model: ${config.cloud_model}`);\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ProviderConfig> => {\n        return rb.execute<ProviderConfig>(\n          getAdminSysAiConfigById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Creates or upserts a provider configuration.\n       *\n       * @param attributes - The provider config attributes.\n       * @param options - Optional request options.\n       * @returns A promise that resolves to the created provider config.\n       *\n       * @example\n       * const config = await admin.ai.providerConfig.create({\n       *   cloud_model: 'google/gemini-2.5-pro',\n       *   embedding_model: 'text-embedding-004',\n       * });\n       */\n      create: async (\n        attributes: Partial<ProviderConfig>,\n        options?: RequestOptions,\n      ): Promise<ProviderConfig> => {\n        const {\n          id,\n          cloud_model,\n          embedding_model,\n          vector_dimensions,\n          model_overrides,\n          fallback_chains,\n          pricing_floor_percent,\n          workload_backends,\n        } = attributes;\n        return rb.execute<ProviderConfig>(\n          postAdminSysAiConfig,\n          {\n            body: {\n              data: {\n                type: \"ai-config\",\n                attributes: {\n                  id,\n                  cloud_model,\n                  embedding_model,\n                  vector_dimensions,\n                  model_overrides,\n                  fallback_chains,\n                  pricing_floor_percent,\n                  workload_backends,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Updates a provider configuration by ID.\n       *\n       * @param id - The UUID of the provider config to update.\n       * @param attributes - The attributes to update.\n       * @param options - Optional request options.\n       * @returns A promise that resolves to the updated provider config.\n       *\n       * @example\n       * const updated = await admin.ai.providerConfig.update('cfg_01HXYZ...', {\n       *   cloud_model: 'gpt-4o-mini',\n       * });\n       */\n      update: async (\n        id: string,\n        attributes: Partial<ProviderConfig>,\n        options?: RequestOptions,\n      ): Promise<ProviderConfig> => {\n        const {\n          cloud_model,\n          embedding_model,\n          vector_dimensions,\n          model_overrides,\n          fallback_chains,\n          pricing_floor_percent,\n          workload_backends,\n        } = attributes;\n        return rb.execute<ProviderConfig>(\n          patchAdminSysAiConfigById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"ai-config\",\n                id,\n                attributes: {\n                  cloud_model,\n                  embedding_model,\n                  vector_dimensions,\n                  model_overrides,\n                  fallback_chains,\n                  pricing_floor_percent,\n                  workload_backends,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Sub-namespace for querying LLM analytics and usage metrics.\n     *\n     * Provides admin-level access to token usage, costs, and platform-wide\n     * metrics across all tenants and workspaces.\n     */\n    analytics: {\n      /**\n       * Lists raw LLM analytics records.\n       *\n       * @param options - Optional request options.\n       * @returns A promise that resolves to an array of analytics records.\n       *\n       * @example\n       * const records = await admin.ai.analytics.list();\n       * console.log(`Total records: ${records.length}`);\n       */\n      list: async (options?: RequestOptions): Promise<LlmAnalytics[]> => {\n        return rb.execute<LlmAnalytics[]>(getAdminLlmAnalytics, {}, options);\n      },\n\n      /**\n       * Gets a single LLM analytics record by ID.\n       *\n       * @param id - The UUID of the analytics record.\n       * @param options - Optional request options.\n       * @returns A promise that resolves to the analytics record.\n       *\n       * @example\n       * const record = await admin.ai.analytics.get(\"lla_01HXYZ...\");\n       * console.log(record.attributes?.model_id);\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<LlmAnalytics> => {\n        return rb.execute<LlmAnalytics>(\n          getAdminLlmAnalyticsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Records a new LLM analytics entry.\n       *\n       * @param attributes - The analytics entry attributes.\n       * @param options - Optional request options.\n       * @returns A promise that resolves to the created record.\n       *\n       * @example\n       * const entry = await admin.ai.analytics.record({\n       *   model_id: \"gpt-4o-mini\",\n       *   provider: \"openrouter\",\n       *   task: \"completion\",\n       *   workload: \"chat\",\n       *   input_tokens: 1200,\n       *   output_tokens: 350,\n       *   total_tokens: 1550,\n       *   latency_ms: 820,\n       *   cost_usd: \"0.0042\",\n       * });\n       * console.log(entry.id);\n       */\n      record: async (\n        attributes: RecordLlmAnalyticsAttributes,\n        options?: RequestOptions,\n      ): Promise<LlmAnalytics> => {\n        const {\n          tenant_id,\n          workspace_id,\n          user_id,\n          agent_id,\n          model_id,\n          provider,\n          task,\n          workload,\n          input_tokens,\n          output_tokens,\n          total_tokens,\n          audio_seconds,\n          image_pages,\n          image_tokens,\n          character_count,\n          latency_ms,\n          cost_usd,\n          wholesale_cost_usd,\n          confidence_score,\n          metadata,\n          usage_event_id,\n        } = attributes;\n        return rb.execute<LlmAnalytics>(\n          postAdminLlmAnalytics,\n          {\n            body: {\n              data: {\n                type: \"llm-analytics\",\n                attributes: {\n                  tenant_id,\n                  workspace_id,\n                  user_id,\n                  agent_id,\n                  model_id,\n                  provider,\n                  task,\n                  workload,\n                  input_tokens,\n                  output_tokens,\n                  total_tokens,\n                  audio_seconds,\n                  image_pages,\n                  image_tokens,\n                  character_count,\n                  latency_ms,\n                  cost_usd,\n                  wholesale_cost_usd,\n                  confidence_score,\n                  metadata,\n                  usage_event_id,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Returns a token cost breakdown grouped by model and time period.\n       *\n       * @param options - Optional request options.\n       * @returns A promise that resolves to a cost breakdown object.\n       *\n       * @example\n       * const costs = await admin.ai.analytics.costs();\n       * console.log(`Total spend: $${costs.total_usd}`);\n       */\n      costs: async (options?: RequestOptions): Promise<LlmCostBreakdown> => {\n        return rb.execute<LlmCostBreakdown>(\n          getAdminLlmAnalyticsCosts,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Returns a high-level summary of LLM usage, optionally filtered by date range.\n       *\n       * @param params - Optional filter parameters.\n       * @param params.startDate - ISO 8601 start date for the summary period.\n       * @param params.endDate - ISO 8601 end date for the summary period.\n       * @param options - Optional request options.\n       * @returns A promise that resolves to a summary metrics object.\n       *\n       * @example\n       * const summary = await admin.ai.analytics.summary();\n       * const filtered = await admin.ai.analytics.summary({\n       *   startDate: \"2026-01-01\",\n       *   endDate: \"2026-03-31\",\n       * });\n       */\n      summary: async (\n        params?: { startDate?: string; endDate?: string },\n        options?: RequestOptions,\n      ): Promise<LlmAnalyticsSummary> => {\n        const query: Record<string, string> = {};\n        if (params?.startDate) query.start_date = params.startDate;\n        if (params?.endDate) query.end_date = params.endDate;\n        return rb.execute<LlmAnalyticsSummary>(\n          getAdminLlmAnalyticsSummary,\n          { query },\n          options,\n        );\n      },\n\n      /**\n       * Returns time-series LLM usage data points.\n       *\n       * @param options - Optional request options.\n       * @returns A promise that resolves to usage time-series data.\n       *\n       * @example\n       * const usage = await admin.ai.analytics.usage();\n       * for (const point of usage.data_points) {\n       *   console.log(`${point.timestamp}: ${point.tokens} tokens`);\n       * }\n       */\n      usage: async (options?: RequestOptions): Promise<LlmAnalyticsUsage> => {\n        return rb.execute<LlmAnalyticsUsage>(\n          getAdminLlmAnalyticsUsage,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Returns workspace-scoped LLM metrics.\n       *\n       * @param workspaceId - The UUID of the workspace to query metrics for.\n       * @param options - Optional request options.\n       * @returns A promise that resolves to workspace metrics.\n       *\n       * @example\n       * const metrics = await admin.ai.analytics.workspace(\"ws_abc123\");\n       */\n      workspace: async (\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<LlmWorkspaceMetrics> => {\n        return rb.execute<LlmWorkspaceMetrics>(\n          getAdminLlmAnalyticsWorkspace,\n          { query: { workspace_id: workspaceId } },\n          options,\n        );\n      },\n\n      /**\n       * Returns platform-wide LLM summary across all applications and tenants.\n       *\n       * @param options - Optional request options.\n       * @returns A promise that resolves to platform summary metrics.\n       *\n       * @example\n       * const platform = await admin.ai.analytics.platformSummary();\n       * console.log(`Platform total: $${platform.total_usd}`);\n       */\n      platformSummary: async (\n        options?: RequestOptions,\n      ): Promise<LlmPlatformSummary> => {\n        return rb.execute<LlmPlatformSummary>(\n          getAdminLlmAnalyticsPlatform,\n          {},\n          options,\n        );\n      },\n    },\n\n    /**\n     * Sub-namespace for semantic cache management.\n     *\n     * The semantic cache stores LLM prompt/response pairs indexed by vector\n     * similarity. Admins can inspect cache entries and clear the cache.\n     */\n    cache: {\n      /**\n       * Gets semantic cache statistics.\n       *\n       * @param options - Optional request options.\n       * @returns A promise that resolves to the cache stats (entry counts,\n       *   hit/miss totals, and storage metrics).\n       *\n       * @example\n       * const stats = await admin.ai.cache.stats();\n       * console.log(stats);\n       */\n      stats: async (options?: RequestOptions): Promise<unknown> => {\n        return rb.execute<unknown>(getAdminSysSemanticCacheStats, {}, options);\n      },\n\n      /**\n       * Clears the semantic cache.\n       *\n       * Removes all cached prompt/response pairs. This is irreversible.\n       * Requires `confirm: true` as a safety gate.\n       *\n       * @param confirm - Must be `true` to confirm the destructive operation.\n       * @param options - Optional request options.\n       * @returns A promise that resolves when the cache is cleared.\n       *\n       * @example\n       * await admin.ai.cache.clear(true);\n       * console.log('Semantic cache cleared');\n       */\n      clear: async (\n        confirm: boolean,\n        options?: RequestOptions,\n      ): Promise<unknown> => {\n        return rb.execute<unknown>(\n          postAdminSysSemanticCacheClear,\n          {\n            body: {\n              data: {\n                type: \"semantic-cache-entry\",\n                attributes: { confirm },\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n  };\n}\n","import { RequestBuilder } from \"../request-builder\";\n\nexport interface ClusterMember {\n  id: string;\n  type: \"contact\" | \"company\" | \"unknown\";\n  name: string;\n}\n\nexport interface CrmCluster {\n  cluster_id: string;\n  label: string;\n  summary: string;\n  members: ClusterMember[];\n  modularity: number;\n  size: number;\n}\n\nexport function createCrmClustersNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Discovers relationship clusters in the workspace CRM using community detection.\n     * Each cluster is automatically labeled by AI.\n     *\n     * @param workspaceId - The workspace ID to discover clusters for\n     * @returns Array of discovered clusters with AI-generated labels\n     * @example\n     * ```typescript\n     * const { data } = await admin.crmClusters.discover('workspace-uuid');\n     * ```\n     */\n    async discover(workspaceId: string): Promise<CrmCluster[]> {\n      return rb.rawGet<CrmCluster[]>(\n        `/isv/crm/clusters?workspace_id=${encodeURIComponent(workspaceId)}`,\n      );\n    },\n  };\n}\n","import { RequestBuilder } from \"../request-builder\";\nimport type { RequestOptions } from \"../base-client\";\nimport type {\n  LegalDocument,\n  AccessLog,\n  AmendmentRequest,\n  AuditChainEntry,\n  BreachNotification,\n  BreachNotificationArtifact,\n  BreachIncident,\n  BusinessAssociateAgreement,\n  CdeScopeReport,\n  ComplianceDocumentTemplate,\n  ComplianceOfficerDesignation,\n  CompliancePolicy,\n  ComplianceRequirement,\n  ComplianceRequirementCompletion,\n  ConsentRecord,\n  DataProtectionImpactAssessment,\n  DataSubjectRequest,\n  DataTransferRecord,\n  DisclosureLog,\n  EphiAsset,\n  EphiDataFlow,\n  LegalAcceptance,\n  PolicyReviewSchedule,\n  ProcessingActivity,\n  RetentionPolicy,\n  RiskAssessment,\n  ScanResult as ComplianceScanResult,\n} from \"../_internal/types.gen\";\nimport {\n  getAdminAccessLogs,\n  getAdminAccessLogsById,\n  getAdminAuditChainEntries,\n  getAdminAuditChainEntriesById,\n  getAdminAmendmentRequests,\n  getAdminAmendmentRequestsById,\n  postAdminAmendmentRequests,\n  patchAdminAmendmentRequestsByIdApply,\n  patchAdminAmendmentRequestsByIdApprove,\n  patchAdminAmendmentRequestsByIdDeny,\n  patchAdminAmendmentRequestsByIdReview,\n  getAdminBreachNotifications,\n  getAdminBreachNotificationsById,\n  getAdminBreachNotificationArtifacts,\n  getAdminBreachNotificationArtifactsById,\n  postAdminBreachNotificationArtifacts,\n  patchAdminBreachNotificationArtifactsById,\n  patchAdminBreachNotificationArtifactsByIdSend,\n  getAdminBusinessAssociateAgreements,\n  getAdminBusinessAssociateAgreementsById,\n  postAdminBusinessAssociateAgreements,\n  patchAdminBusinessAssociateAgreementsById,\n  patchAdminBusinessAssociateAgreementsByIdSign,\n  patchAdminBusinessAssociateAgreementsByIdTerminate,\n  deleteAdminCdeScopeReportsById,\n  getAdminCdeScopeReports,\n  getAdminCdeScopeReportsById,\n  postAdminCdeScopeReports,\n  getAdminComplianceDocumentTemplates,\n  getAdminComplianceDocumentTemplatesById,\n  postAdminComplianceDocumentTemplates,\n  patchAdminComplianceDocumentTemplatesById,\n  postAdminComplianceDocumentTemplatesClone,\n  getAdminComplianceOfficerDesignations,\n  getAdminComplianceOfficerDesignationsById,\n  postAdminComplianceOfficerDesignations,\n  patchAdminComplianceOfficerDesignationsByIdRevoke,\n  deleteAdminComplianceRequirementsById,\n  getAdminComplianceRequirements,\n  getAdminComplianceRequirementsById,\n  postAdminComplianceRequirements,\n  patchAdminComplianceRequirementsById,\n  getAdminComplianceRequirementCompletions,\n  getAdminComplianceRequirementCompletionsById,\n  postAdminComplianceRequirementCompletions,\n  getAdminConsentRecords,\n  getAdminConsentRecordsActive,\n  getAdminConsentRecordsById,\n  postAdminConsentRecords,\n  patchAdminConsentRecordsByIdWithdraw,\n  getAdminDataTransferRecords,\n  getAdminDataTransferRecordsById,\n  postAdminDataTransferRecords,\n  deleteAdminDataTransferRecordsById,\n  getAdminDisclosureLogs,\n  getAdminDisclosureLogsById,\n  getAdminDisclosureLogsBySubject,\n  postAdminDisclosureLogs,\n  getAdminEphiAssets,\n  getAdminEphiAssetsById,\n  postAdminEphiAssets,\n  patchAdminEphiAssetsById,\n  getAdminEphiDataFlows,\n  getAdminEphiDataFlowsById,\n  postAdminEphiDataFlows,\n  patchAdminEphiDataFlowsById,\n  getAdminImpactAssessments,\n  getAdminImpactAssessmentsById,\n  postAdminImpactAssessments,\n  patchAdminImpactAssessmentsById,\n  patchAdminImpactAssessmentsByIdApprove,\n  getAdminLegalAcceptances,\n  getAdminLegalAcceptancesById,\n  getAdminLegalAcceptancesLatest,\n  getAdminLegalDocuments,\n  getAdminLegalDocumentsById,\n  postAdminLegalDocuments,\n  patchAdminLegalDocumentsById,\n  deleteAdminLegalDocumentsById,\n  getAdminLegalDocumentsByLocale,\n  getAdminLegalDocumentsForApplication,\n  patchAdminLegalDocumentsByIdPublish,\n  patchAdminLegalDocumentsByIdUnpublish,\n  getAdminPolicyReviewSchedules,\n  getAdminPolicyReviewSchedulesById,\n  postAdminPolicyReviewSchedules,\n  patchAdminPolicyReviewSchedulesByIdCompleteReview,\n  patchAdminPolicyReviewSchedulesByIdMarkDue,\n  patchAdminPolicyReviewSchedulesByIdMarkOverdue,\n  getAdminBreachIncidents,\n  getAdminBreachIncidentsById,\n  postAdminBreachIncidents,\n  patchAdminBreachIncidentsByIdStatus,\n  getAdminDataSubjectRequests,\n  getAdminDataSubjectRequestsById,\n  postAdminDataSubjectRequests,\n  patchAdminDataSubjectRequestsByIdStatus,\n  getAdminProcessingActivities,\n  getAdminProcessingActivitiesById,\n  postAdminProcessingActivities,\n  deleteAdminProcessingActivitiesById,\n  getAdminRetentionPolicies,\n  getAdminRetentionPoliciesById,\n  postAdminRetentionPolicies,\n  patchAdminRetentionPoliciesById,\n  deleteAdminRetentionPoliciesById,\n  getAdminRiskAssessments,\n  getAdminRiskAssessmentsById,\n  postAdminRiskAssessments,\n  patchAdminRiskAssessmentsByIdStatus,\n  deleteAdminRiskAssessmentsById,\n  getAdminScanResults,\n  getAdminScanResultsById,\n} from \"../_internal/sdk.gen\";\n\nexport interface ScanDetection {\n  type: string;\n  original: string;\n  redacted: string;\n}\n\nexport interface ScanResult {\n  clean: boolean;\n  detections: ScanDetection[];\n  scrubbed_preview: string;\n}\n\n/** Attributes accepted when creating a breach incident (admin). */\nexport type CreateBreachIncidentAttributes = {\n  incident_type:\n    | \"data_breach\"\n    | \"unauthorized_access\"\n    | \"data_loss\"\n    | \"system_compromise\"\n    | \"insider_threat\";\n  description: string;\n  affected_count?: number;\n  discovery_date: string;\n  status?:\n    | \"identified\"\n    | \"investigating\"\n    | \"notifying\"\n    | \"resolved\"\n    | \"false_positive\";\n};\n\n/** Attributes accepted when updating a breach incident's status (admin). */\nexport type UpdateBreachIncidentStatusAttributes = {\n  status?:\n    | \"identified\"\n    | \"investigating\"\n    | \"notifying\"\n    | \"resolved\"\n    | \"false_positive\";\n  privacy_officer_notified?: boolean;\n  regulator_notified?: boolean;\n  remediation_notes?: string;\n};\n\n/** Attributes accepted when creating a data subject request (admin). */\nexport type CreateDataSubjectRequestAttributes = {\n  request_type:\n    | \"access\"\n    | \"erasure\"\n    | \"portability\"\n    | \"rectification\"\n    | \"restriction\"\n    | \"hipaa_access\"\n    | \"hipaa_amendment\"\n    | \"hipaa_restriction\"\n    | \"hipaa_disclosure_accounting\";\n  data_subject_email: string;\n  requested_by: string;\n  notes?: string;\n  workspace_id?: string;\n};\n\n/** Attributes accepted when updating a data subject request's status (admin). */\nexport type UpdateDataSubjectRequestStatusAttributes = {\n  status?: \"pending\" | \"in_progress\" | \"completed\" | \"denied\" | \"cancelled\";\n  resolution_notes?: string;\n};\n\n/** Attributes accepted when creating a retention policy (admin). */\nexport type CreateRetentionPolicyAttributes = {\n  data_type: string;\n  retention_days: number;\n  action_on_expiry: \"delete\" | \"archive\" | \"anonymize\";\n  enabled?: boolean;\n  workspace_id?: string;\n};\n\n/** Attributes accepted when updating a retention policy (admin, PATCH semantics). */\nexport type UpdateRetentionPolicyAttributes = {\n  retention_days?: number;\n  action_on_expiry?: \"delete\" | \"archive\" | \"anonymize\";\n  enabled?: boolean;\n};\n\n/** Attributes accepted when creating a risk assessment (admin). */\nexport type CreateRiskAssessmentAttributes = {\n  workspace_id: string;\n  /**\n   * Risk assessment type. Must be one of the resource's `@assessment_types`\n   * enum values (`risk_assessment.ex`): security, privacy, operational,\n   * compliance. The SDK previously declared additional `\"vendor\"` and\n   * `\"hipaa\"` members — both rejected by the server with `is invalid`\n   * (F-7).\n   */\n  assessment_type: \"security\" | \"privacy\" | \"operational\" | \"compliance\";\n  risk_level: \"low\" | \"medium\" | \"high\" | \"critical\";\n  status?: \"draft\" | \"in_review\" | \"approved\" | \"expired\";\n  findings?: { [key: string]: unknown };\n  mitigations?: { [key: string]: unknown };\n  /**\n   * F-29: write-only — `reviewer_id` is `public?: false` on `RiskAssessment`.\n   * Not returned in API responses.\n   */\n  reviewer_id?: string;\n  expires_at?: string;\n  processing_activity_id?: string;\n  dpia_id?: string;\n};\n\n/** Attributes accepted when updating a risk assessment's status (admin). */\nexport type UpdateRiskAssessmentStatusAttributes = {\n  status?: \"draft\" | \"in_review\" | \"approved\" | \"expired\";\n  /**\n   * F-29: write-only — not returned in API responses.\n   */\n  reviewer_id?: string;\n  approved_at?: string;\n  expires_at?: string;\n};\n\nexport type ConsentPurpose =\n  | \"ai_document_processing\"\n  | \"data_analytics\"\n  | \"marketing_communications\"\n  | \"third_party_sharing\"\n  | \"session_recording\";\n\nexport type LegalDocumentAcceptanceType =\n  | \"terms_of_service\"\n  | \"privacy_policy\"\n  | \"baa\"\n  | \"dpa\"\n  | \"scc\"\n  | \"npp\"\n  | \"security_policy\"\n  | \"incident_response_plan\"\n  | \"contingency_plan\"\n  | \"access_control_policy\"\n  | \"risk_management_plan\"\n  | \"training_policy\"\n  | \"sanction_policy\"\n  | \"breach_notification_policy\"\n  | \"system_activity_review\"\n  | \"data_retention_policy\"\n  | \"minimum_necessary_policy\"\n  | \"authorization_form\";\n\nexport type LawfulBasis =\n  | \"consent\"\n  | \"contract\"\n  | \"legal_obligation\"\n  | \"vital_interests\"\n  | \"public_task\"\n  | \"legitimate_interest\";\n\nexport type ProcessingActivityStatus = \"active\" | \"archived\";\n\nexport type ImpactAssessmentRiskLevel = \"low\" | \"medium\" | \"high\" | \"critical\";\n\nexport type ImpactAssessmentStatus =\n  | \"draft\"\n  | \"in_review\"\n  | \"approved\"\n  | \"rejected\";\n\nexport type TransferMechanism =\n  | \"scc\"\n  | \"bcr\"\n  | \"adequacy_decision\"\n  | \"derogation\"\n  | \"consent\";\n\nexport type BreachNotificationArtifactType =\n  | \"individual_notification\"\n  | \"hhs_report\"\n  | \"media_notice\"\n  | \"state_ag_report\";\n\nexport type BreachNotificationArtifactStatus = \"draft\" | \"reviewed\" | \"sent\";\n\nexport type BusinessAssociateAgreementCounterpartyType =\n  | \"covered_entity\"\n  | \"business_associate\"\n  | \"subcontractor\";\n\nexport type BusinessAssociateAgreementDirection = \"upstream\" | \"downstream\";\n\nexport type BusinessAssociateAgreementRenewalType =\n  | \"auto_renew\"\n  | \"manual_renew\"\n  | \"fixed_term\";\n\nexport type EphiAssetType =\n  | \"database\"\n  | \"application\"\n  | \"api_service\"\n  | \"storage\"\n  | \"network\"\n  | \"endpoint_device\"\n  | \"backup_system\";\n\nexport type EphiAssetClassification =\n  | \"ephi_primary\"\n  | \"ephi_secondary\"\n  | \"ephi_transit\"\n  | \"non_ephi\";\n\nexport type EphiAssetLocation = \"cloud\" | \"on_premise\" | \"hybrid\";\n\nexport type EphiAssetBaaStatus = \"in_place\" | \"needed\" | \"not_applicable\";\n\nexport type EphiAssetStatus = \"active\" | \"decommissioning\" | \"decommissioned\";\n\nexport type EphiDataFlowType =\n  | \"api_call\"\n  | \"database_replication\"\n  | \"file_transfer\"\n  | \"event_stream\"\n  | \"user_access\";\n\nexport type EphiDataFlowEncryption = \"encrypted\" | \"unencrypted\" | \"partial\";\n\nexport type EphiDataFlowFrequency =\n  | \"real_time\"\n  | \"batch_daily\"\n  | \"on_demand\"\n  | \"scheduled\";\n\nexport type PolicyReviewScheduleStatus = \"current\" | \"review_due\" | \"overdue\";\n\nexport type ComplianceTemplateType =\n  | \"baa\"\n  | \"npp\"\n  | \"privacy_policy\"\n  | \"security_policy\"\n  | \"incident_response_plan\"\n  | \"contingency_plan\"\n  | \"access_control_policy\"\n  | \"risk_management_plan\"\n  | \"training_policy\"\n  | \"sanction_policy\"\n  | \"breach_notification_policy\"\n  | \"system_activity_review\"\n  | \"data_retention_policy\"\n  | \"minimum_necessary_policy\"\n  | \"authorization_form\"\n  | \"dpa\";\n\nexport type RegulatoryFramework = \"hipaa\" | \"gdpr\" | \"pci_dss\" | \"sox\";\n\nexport type ComplianceOfficerRole =\n  | \"security_officer\"\n  | \"privacy_officer\"\n  | \"compliance_officer\";\n\nexport type ComplianceRequirementType =\n  | \"training\"\n  | \"policy_acknowledgement\"\n  | \"background_check\"\n  | \"certification\"\n  | \"attestation\";\n\nexport type CdeScopeBoundary = \"in_scope\" | \"out_of_scope\" | \"connected\";\n\n/** Attributes accepted when granting GDPR/HIPAA consent (admin). */\nexport type GrantConsentRecordAttributes = {\n  user_id?: string;\n  purpose: ConsentPurpose;\n  description?: string;\n  ip_address?: string;\n  user_agent?: string;\n};\n\n/** Attributes accepted when appending a HIPAA disclosure log (admin). */\nexport type CreateDisclosureLogAttributes = {\n  workspace_id: string;\n  subject_type: string;\n  subject_id: string;\n  resource_type: string;\n  resource_id: string;\n  recipient_name: string;\n  recipient_type:\n    | \"llm_provider\"\n    | \"integration_partner\"\n    | \"healthcare_provider\"\n    | \"health_plan\"\n    | \"government\"\n    | \"other\";\n  purpose:\n    | \"treatment\"\n    | \"payment\"\n    | \"operations\"\n    | \"legal\"\n    | \"research\"\n    | \"public_health\"\n    | \"other\";\n  phi_categories?: string[];\n  disclosure_method:\n    | \"api_call\"\n    | \"email\"\n    | \"webhook\"\n    | \"file_transfer\"\n    | \"manual\";\n  legal_basis?: string;\n  disclosed_by_id?: string;\n  disclosed_at: string;\n  metadata?: { [key: string]: unknown };\n};\n\n/** Attributes accepted when creating a GDPR processing activity (admin). */\nexport type CreateProcessingActivityAttributes = {\n  workspace_id: string;\n  name: string;\n  purpose: string;\n  data_categories?: string[];\n  data_subjects?: string[];\n  recipients?: string[];\n  retention_period?: string;\n  legal_basis?: LawfulBasis;\n  transfer_countries?: string[];\n  security_measures?: string;\n  status?: ProcessingActivityStatus;\n  ephi_classification?: \"contains_ephi\" | \"no_ephi\";\n  asset_ids?: string[];\n  minimum_necessary_justification?: string;\n  last_reviewed_at?: string;\n  review_frequency_days?: number;\n};\n\n/** Attributes accepted when creating a DPIA (admin). */\nexport type CreateImpactAssessmentAttributes = {\n  workspace_id: string;\n  title: string;\n  description: string;\n  processing_activity_id?: string;\n  risk_level: ImpactAssessmentRiskLevel;\n  status?: ImpactAssessmentStatus;\n  assessor?: string;\n  findings?: string;\n  mitigations?: string;\n};\n\n/** Attributes accepted when updating a DPIA (admin). */\nexport type UpdateImpactAssessmentAttributes = {\n  title?: string;\n  description?: string;\n  risk_level?: ImpactAssessmentRiskLevel;\n  status?: ImpactAssessmentStatus;\n  findings?: string;\n  mitigations?: string;\n};\n\n/** Attributes accepted when approving a DPIA (admin). */\nexport type ApproveImpactAssessmentAttributes = {\n  approved_by?: string;\n};\n\n/** Attributes accepted when creating a GDPR data transfer record (admin). */\nexport type CreateDataTransferRecordAttributes = {\n  workspace_id: string;\n  source_jurisdiction: string;\n  destination_jurisdiction: string;\n  transfer_mechanism: TransferMechanism;\n  data_categories?: string[];\n  legal_basis?: string;\n};\n\n/** Attributes accepted when creating a breach notification artifact (admin). */\nexport type CreateBreachNotificationArtifactAttributes = {\n  workspace_id: string;\n  breach_incident_id: string;\n  artifact_type: BreachNotificationArtifactType;\n  content: string;\n  recipient_count?: number;\n  metadata?: { [key: string]: unknown };\n};\n\n/** Attributes accepted when updating a breach notification artifact (admin). */\nexport type UpdateBreachNotificationArtifactAttributes = {\n  status?: BreachNotificationArtifactStatus;\n  content?: string;\n  recipient_count?: number;\n  metadata?: { [key: string]: unknown };\n};\n\n/** Attributes accepted when creating a Business Associate Agreement (admin). */\nexport type CreateBusinessAssociateAgreementAttributes = {\n  application_id: string;\n  workspace_id?: string;\n  counterparty_name: string;\n  counterparty_type: BusinessAssociateAgreementCounterpartyType;\n  direction: BusinessAssociateAgreementDirection;\n  effective_date: string;\n  expiration_date?: string;\n  renewal_type: BusinessAssociateAgreementRenewalType;\n  renewal_reminder_days?: number;\n  phi_scope?: string[];\n  ephi_asset_id?: string;\n  counterparty_signatory?: string;\n  legal_document_id?: string;\n};\n\n/** Attributes accepted when updating a Business Associate Agreement (admin). */\nexport type UpdateBusinessAssociateAgreementAttributes = {\n  counterparty_name?: string;\n  counterparty_type?: BusinessAssociateAgreementCounterpartyType;\n  direction?: BusinessAssociateAgreementDirection;\n  effective_date?: string;\n  expiration_date?: string;\n  renewal_type?: BusinessAssociateAgreementRenewalType;\n  renewal_reminder_days?: number;\n  phi_scope?: string[];\n  counterparty_signatory?: string;\n  legal_document_id?: string;\n};\n\n/** Attributes accepted when signing a Business Associate Agreement (admin). */\nexport type SignBusinessAssociateAgreementAttributes = {\n  signed_by_id?: string;\n  counterparty_signatory?: string;\n};\n\n/** Attributes accepted when terminating a Business Associate Agreement (admin). */\nexport type TerminateBusinessAssociateAgreementAttributes = {\n  termination_reason?: string;\n};\n\n/** Attributes accepted when creating a HIPAA amendment request (admin). */\nexport type CreateAmendmentRequestAttributes = {\n  workspace_id: string;\n  subject_type: string;\n  subject_id: string;\n  resource_type: string;\n  resource_id: string;\n  domain: string;\n  request_reason: string;\n  requested_changes: { [key: string]: unknown };\n};\n\n/** Attributes accepted when beginning amendment review (admin). */\nexport type ReviewAmendmentRequestAttributes = {\n  reviewed_by_id?: string;\n};\n\n/** Attributes accepted when denying an amendment request (admin). */\nexport type DenyAmendmentRequestAttributes = {\n  denial_reason?: string;\n};\n\n/** Attributes accepted when creating an ePHI asset (admin). */\nexport type CreateEphiAssetAttributes = {\n  application_id: string;\n  workspace_id?: string;\n  name: string;\n  asset_type: EphiAssetType;\n  classification: EphiAssetClassification;\n  owner?: string;\n  location: EphiAssetLocation;\n  provider?: string;\n  data_categories?: string[];\n  encryption_at_rest: boolean;\n  encryption_in_transit: boolean;\n  baa_status: EphiAssetBaaStatus;\n  baa_document_id?: string;\n  last_assessed_at?: string;\n  next_assessment_due?: string;\n  status?: EphiAssetStatus;\n  notes?: string;\n  metadata?: { [key: string]: unknown };\n};\n\n/** Attributes accepted when updating an ePHI asset (admin). */\nexport type UpdateEphiAssetAttributes = Omit<\n  Partial<CreateEphiAssetAttributes>,\n  \"application_id\" | \"workspace_id\"\n>;\n\n/** Attributes accepted when creating an ePHI data flow (admin). */\nexport type CreateEphiDataFlowAttributes = {\n  application_id: string;\n  workspace_id?: string;\n  source_asset_id: string;\n  destination_asset_id: string;\n  data_categories?: string[];\n  flow_type: EphiDataFlowType;\n  protocol?: string;\n  encryption: EphiDataFlowEncryption;\n  frequency: EphiDataFlowFrequency;\n  description?: string;\n  is_active?: boolean;\n  metadata?: { [key: string]: unknown };\n};\n\n/** Attributes accepted when updating an ePHI data flow (admin). */\nexport type UpdateEphiDataFlowAttributes = Omit<\n  Partial<CreateEphiDataFlowAttributes>,\n  \"application_id\" | \"workspace_id\"\n>;\n\n/** Attributes accepted when creating a policy review schedule (admin). */\nexport type CreatePolicyReviewScheduleAttributes = {\n  application_id: string;\n  legal_document_id: string;\n  review_frequency_days?: number;\n  next_review_due: string;\n  status?: PolicyReviewScheduleStatus;\n  review_notes?: string;\n  last_reviewed_at?: string;\n  last_reviewed_by_id?: string;\n};\n\n/** Attributes accepted when completing a policy review (admin). */\nexport type CompletePolicyReviewAttributes = {\n  review_notes?: string;\n  last_reviewed_by_id?: string;\n};\n\n/** Attributes accepted when creating a compliance document template (admin). */\nexport type CreateComplianceDocumentTemplateAttributes = {\n  template_type: ComplianceTemplateType;\n  regulatory_framework: RegulatoryFramework;\n  title: string;\n  content_template: string;\n  required_variables?: string[];\n  version: string;\n  is_platform_managed?: boolean;\n  application_id?: string;\n};\n\n/** Attributes accepted when updating a compliance document template (admin). */\nexport type UpdateComplianceDocumentTemplateAttributes = {\n  title?: string;\n  content_template?: string;\n  required_variables?: string[];\n  version?: string;\n};\n\n/** Attributes accepted when cloning a compliance document template (admin). */\nexport type CloneComplianceDocumentTemplateAttributes = Omit<\n  CreateComplianceDocumentTemplateAttributes,\n  \"is_platform_managed\"\n>;\n\n/** Attributes accepted when creating a compliance officer designation (admin). */\nexport type CreateComplianceOfficerDesignationAttributes = {\n  application_id: string;\n  role: ComplianceOfficerRole;\n  user_id: string;\n  designated_at: string;\n  designated_by_id: string;\n};\n\n/** Attributes accepted when creating a compliance requirement (admin). */\nexport type CreateComplianceRequirementAttributes = {\n  application_id: string;\n  requirement_type: ComplianceRequirementType;\n  legal_document_id?: string;\n  title: string;\n  description?: string;\n  required_for_roles?: string[];\n  deadline?: string;\n  is_blocking?: boolean;\n  recurring?: boolean;\n  recurrence_days?: number;\n  framework?: string;\n};\n\n/** Attributes accepted when updating a compliance requirement (admin). */\nexport type UpdateComplianceRequirementAttributes = Omit<\n  Partial<CreateComplianceRequirementAttributes>,\n  \"application_id\" | \"requirement_type\" | \"legal_document_id\"\n>;\n\n/** Attributes accepted when creating a compliance requirement completion (admin). */\nexport type CreateComplianceRequirementCompletionAttributes = {\n  user_id: string;\n  completed_at: string;\n  evidence?: { [key: string]: unknown };\n  requirement_id: string;\n};\n\n/** Attributes accepted when creating a PCI-DSS CDE scope report (admin). */\nexport type CreateCdeScopeReportAttributes = {\n  workspace_id: string;\n  scope_boundary: CdeScopeBoundary;\n  data_flow_map?: { [key: string]: unknown };\n  assessor_notes?: string;\n};\n\nexport type CreateLegalDocumentAttributes = {\n  document_type: string;\n  title: string;\n  content: string;\n  version: string;\n  locale?: string;\n  region?: string;\n  is_active?: boolean;\n  requires_acceptance?: boolean;\n  application_id?: string;\n  active_from?: string;\n  active_until?: string;\n};\n\nexport type UpdateLegalDocumentAttributes = Partial<\n  Omit<CreateLegalDocumentAttributes, \"document_type\" | \"application_id\">\n>;\n\nexport type CreateCompliancePolicyAttributes = {\n  application_id: string;\n  compliance_tag: string;\n  strategy:\n    | \"redact_before_storage\"\n    | \"encrypt_and_track\"\n    | \"flag_only\"\n    | \"block\";\n};\n\nexport type UpdateCompliancePolicyAttributes = Partial<\n  Pick<CreateCompliancePolicyAttributes, \"strategy\">\n>;\n\n/** Regulatory framework readiness summary. */\nexport interface ComplianceFrameworkReadiness {\n  framework: string;\n  requirements_met: number;\n  total_requirements: number;\n  coverage_percentage: number;\n  gaps: string[];\n}\n\n/** Aggregated compliance posture snapshot for a workspace. */\nexport interface CompliancePosture {\n  workspace_id: string;\n  open_breaches: number;\n  total_breaches: number;\n  breach_breakdown: Record<string, number>;\n  overdue_dsrs: number;\n  pending_dsrs: number;\n  total_dsrs: number;\n  risk_assessments_by_level: Record<string, number>;\n  expiring_risk_assessments: number;\n  active_retention_policies: number;\n  total_retention_policies: number;\n  pii_scans_last_30d: number;\n  pii_scan_breakdown: Record<string, number>;\n  workspace_consents: number;\n  total_consent_subjects: number;\n  frameworks: ComplianceFrameworkReadiness[];\n}\n\nfunction buildPageQuery(\n  page?: number,\n  pageSize?: number,\n): { query: Record<string, unknown> } {\n  const query: Record<string, unknown> = {};\n  if (page !== undefined) query[\"page[offset]\"] = page;\n  if (pageSize !== undefined) query[\"page[limit]\"] = pageSize;\n  return { query };\n}\n\ntype JsonApiQueryOptions = {\n  filter?: Record<string, unknown>;\n  sort?: string;\n  include?: string;\n  fields?: Record<string, unknown>;\n  page?: number;\n  pageSize?: number;\n} & RequestOptions;\n\nfunction buildJsonApiQuery(options?: JsonApiQueryOptions): {\n  query: Record<string, unknown>;\n} {\n  const query: Record<string, unknown> = {};\n\n  if (options?.filter !== undefined) query.filter = options.filter;\n  if (options?.sort !== undefined) query.sort = options.sort;\n  if (options?.include !== undefined) query.include = options.include;\n  if (options?.fields !== undefined) query.fields = options.fields;\n  if (options?.page !== undefined) query[\"page[offset]\"] = options.page;\n  if (options?.pageSize !== undefined) query[\"page[limit]\"] = options.pageSize;\n\n  return { query };\n}\n\nexport function createComplianceNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Scans text for PII and PHI violations (HIPAA Safe Harbor).\n     *\n     * @param text - The text to scan for compliance violations\n     * @returns Scan result with clean flag, detections, and scrubbed preview\n     * @example\n     * ```typescript\n     * const result = await admin.compliance.scan('Patient DOB: 03/15/1985');\n     * ```\n     */\n    async scan(text: string): Promise<ScanResult> {\n      return rb.rawPost<ScanResult>(\"/isv/compliance/scan\", { text });\n    },\n\n    /**\n     * Legal document management — CRUD, publish/unpublish, locale/application filtering.\n     *\n     * Legal documents are versioned and locale-aware. Draft documents can be\n     * edited freely; published documents are visible to end users and drive\n     * the consent flow. Use `publish` / `unpublish` to control visibility.\n     */\n    legalDocuments: {\n      /**\n       * List legal documents with optional pagination.\n       *\n       * @param options - Optional page number, page size, and request options.\n       * @returns An array of `LegalDocument` records.\n       *\n       * @example\n       * ```typescript\n       * const docs = await admin.compliance.legalDocuments.list();\n       * ```\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<LegalDocument[]> => {\n        return rb.execute<LegalDocument[]>(\n          getAdminLegalDocuments,\n          buildPageQuery(options?.page, options?.pageSize),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single legal document by ID.\n       *\n       * @param id - The UUID of the legal document.\n       * @param options - Optional request options.\n       * @returns The matching `LegalDocument`.\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.compliance.legalDocuments.get('doc-uuid');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<LegalDocument> => {\n        return rb.execute<LegalDocument>(\n          getAdminLegalDocumentsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new legal document (initially in draft status).\n       *\n       * @param attributes - Legal document attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `LegalDocument`.\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.compliance.legalDocuments.create({\n       *   document_type: 'privacy_policy',\n       *   title: 'Privacy Policy v2.0',\n       *   content: '# Privacy Policy\\n...',\n       *   version: '2.0.0',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateLegalDocumentAttributes,\n        options?: RequestOptions,\n      ): Promise<LegalDocument> => {\n        return rb.execute<LegalDocument>(\n          postAdminLegalDocuments,\n          { body: { data: { type: \"legal-document\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update a legal document.\n       *\n       * @param id - The UUID of the legal document to update.\n       * @param attributes - Attribute map of fields to change.\n       * @param options - Optional request options.\n       * @returns The updated `LegalDocument`.\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.compliance.legalDocuments.update('doc-uuid', {\n       *   content: '# Updated Policy\\n...',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateLegalDocumentAttributes,\n        options?: RequestOptions,\n      ): Promise<LegalDocument> => {\n        return rb.execute<LegalDocument>(\n          patchAdminLegalDocumentsById,\n          {\n            path: { id },\n            body: { data: { type: \"legal-document\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a legal document.\n       *\n       * @param id - The UUID of the legal document to delete.\n       * @param options - Optional request options.\n       * @returns `true` on successful deletion.\n       *\n       * @example\n       * ```typescript\n       * await admin.compliance.legalDocuments.delete('doc-uuid');\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminLegalDocumentsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Retrieve legal documents filtered by locale.\n       *\n       * @param locale - A BCP-47 locale string (e.g., `\"en\"`, `\"fr-FR\"`).\n       * @param options - Optional request options.\n       * @returns An array of published `LegalDocument` records for that locale.\n       *\n       * @example\n       * ```typescript\n       * const docs = await admin.compliance.legalDocuments.byLocale('fr-FR');\n       * ```\n       */\n      byLocale: async (\n        locale: string,\n        options?: RequestOptions,\n      ): Promise<LegalDocument[]> => {\n        return rb.execute<LegalDocument[]>(\n          getAdminLegalDocumentsByLocale,\n          { query: { locale } },\n          options,\n        );\n      },\n\n      /**\n       * Retrieve legal documents for the current application.\n       *\n       * @param options - Optional request options.\n       * @returns An array of `LegalDocument` records for the current application.\n       *\n       * @example\n       * ```typescript\n       * const docs = await admin.compliance.legalDocuments.forApplication();\n       * ```\n       */\n      forApplication: async (\n        options?: RequestOptions,\n      ): Promise<LegalDocument[]> => {\n        return rb.execute<LegalDocument[]>(\n          getAdminLegalDocumentsForApplication,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Publish a legal document, making it visible to end users.\n       *\n       * @param id - The UUID of the legal document to publish.\n       * @param options - Optional request options.\n       * @returns The updated `LegalDocument` with `is_active: true`.\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.compliance.legalDocuments.publish('doc-uuid');\n       * ```\n       */\n      publish: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<LegalDocument> => {\n        return rb.execute<LegalDocument>(\n          patchAdminLegalDocumentsByIdPublish,\n          {\n            path: { id },\n            body: { data: { type: \"legal-document\", id, attributes: {} } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Unpublish a legal document, hiding it from end users.\n       *\n       * @param id - The UUID of the legal document to unpublish.\n       * @param options - Optional request options.\n       * @returns The updated `LegalDocument` with `is_active: false`.\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.compliance.legalDocuments.unpublish('doc-uuid');\n       * ```\n       */\n      unpublish: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<LegalDocument> => {\n        return rb.execute<LegalDocument>(\n          patchAdminLegalDocumentsByIdUnpublish,\n          {\n            path: { id },\n            body: { data: { type: \"legal-document\", id, attributes: {} } },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Application compliance-policy CRUD exposed through the admin controller.\n     *\n     * This surface is intentionally nested under `admin.compliance` rather than\n     * introducing a separate top-level namespace.\n     */\n    compliancePolicies: {\n      /**\n       * List compliance policies for a single application.\n       *\n       * @param applicationId - Application UUID filter. Required by the admin controller.\n       * @param options - Optional request options.\n       * @returns Compliance-policy resource objects for that application.\n       */\n      list: async (\n        applicationId: string,\n        options?: RequestOptions,\n      ): Promise<CompliancePolicy[]> => {\n        return rb.rawGet<CompliancePolicy[]>(\n          `/admin/compliance-policies?application_id=${encodeURIComponent(applicationId)}`,\n          options,\n        );\n      },\n\n      /**\n       * Retrieve one compliance policy by ID.\n       *\n       * @param id - Compliance-policy UUID.\n       * @param options - Optional request options.\n       * @returns The matching compliance-policy resource object.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CompliancePolicy> => {\n        return rb.rawGet<CompliancePolicy>(\n          `/admin/compliance-policies/${id}`,\n          options,\n        );\n      },\n\n      /**\n       * Create a compliance policy for an application/tag pair.\n       *\n       * @param attributes - JSON:API attributes for the new compliance policy.\n       * @param options - Optional request options.\n       * @returns The created compliance-policy resource object.\n       *\n       * @example\n       * ```typescript\n       * const policy = await admin.compliance.compliancePolicies.create({\n       *   application_id: \"application-uuid\",\n       *   tag_id: \"tag-uuid\",\n       *   enforcement_mode: \"block\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCompliancePolicyAttributes,\n        options?: RequestOptions,\n      ): Promise<CompliancePolicy> => {\n        return rb.rawPost<CompliancePolicy>(\n          \"/admin/compliance-policies\",\n          { data: { type: \"compliance-policy\", attributes } },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing compliance policy.\n       *\n       * @param id - Compliance-policy UUID.\n       * @param attributes - JSON:API attributes to patch.\n       * @param options - Optional request options.\n       * @returns The updated compliance-policy resource object.\n       *\n       * @example\n       * ```typescript\n       * const policy = await admin.compliance.compliancePolicies.update(\"policy-uuid\", {\n       *   enforcement_mode: \"warn\",\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateCompliancePolicyAttributes,\n        options?: RequestOptions,\n      ): Promise<CompliancePolicy> => {\n        return rb.rawPatch<CompliancePolicy>(\n          `/admin/compliance-policies/${id}`,\n          { data: { type: \"compliance-policy\", id, attributes } },\n          options,\n        );\n      },\n\n      /**\n       * Delete a compliance policy.\n       *\n       * @param id - Compliance-policy UUID.\n       * @param options - Optional request options.\n       * @returns `true` on successful deletion.\n       *\n       * @example\n       * ```typescript\n       * await admin.compliance.compliancePolicies.delete(\"policy-uuid\");\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        await rb.rawDelete(`/admin/compliance-policies/${id}`, options);\n        return true;\n      },\n    },\n\n    /**\n     * Get aggregated compliance posture for a workspace.\n     *\n     * Returns breach stats, DSR metrics, risk assessments, retention policies,\n     * PII scan coverage, consent tracking, and regulatory framework readiness\n     * in a single call.\n     *\n     * @param params - Must include `workspace_id`\n     * @param options - Request options\n     * @returns Compliance posture snapshot\n     *\n     * @example\n     * ```typescript\n     * const posture = await admin.compliance.getPosture({ workspace_id: \"...\" });\n     * console.log(posture.open_breaches, posture.frameworks);\n     * ```\n     */\n    getPosture: async (\n      params: { workspace_id: string },\n      options?: RequestOptions,\n    ): Promise<CompliancePosture> =>\n      rb.rawGet<CompliancePosture>(\n        `/admin/compliance/posture?workspace_id=${encodeURIComponent(params.workspace_id)}`,\n        options,\n      ),\n\n    /**\n     * Scan Results — immutable PII/PHI scan audit records.\n     *\n     * Read-only admin namespace for reviewing content scan outcomes and the\n     * strategy applied to each scanned payload.\n     */\n    scanResults: {\n      /**\n       * List scan results with optional filtering, sorting, and pagination.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `ScanResult` resource records.\n       *\n       * @example\n       * ```typescript\n       * const scans = await admin.compliance.scanResults.list({\n       *   filter: { strategy_applied: \"redact_before_storage\" },\n       *   pageSize: 50,\n       * });\n       * ```\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<ComplianceScanResult[]> => {\n        return rb.execute<ComplianceScanResult[]>(\n          getAdminScanResults,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single scan result by ID.\n       *\n       * @param id - The UUID of the scan result.\n       * @param options - Optional request options.\n       * @returns The matching `ScanResult`.\n       *\n       * @example\n       * ```typescript\n       * const scan = await admin.compliance.scanResults.get(\"scan-uuid\");\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ComplianceScanResult> => {\n        return rb.execute<ComplianceScanResult>(\n          getAdminScanResultsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Access Logs — HIPAA access accounting records.\n     *\n     * Read-only admin namespace for immutable access audit entries written by\n     * the compliance domain.\n     */\n    accessLogs: {\n      /**\n       * List access log entries with optional filtering, sorting, and pagination.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `AccessLog` records.\n       *\n       * @example\n       * ```typescript\n       * const logs = await admin.compliance.accessLogs.list({\n       *   filter: { resource_type: \"patient_record\" },\n       *   pageSize: 50,\n       * });\n       * ```\n       */\n      list: async (options?: JsonApiQueryOptions): Promise<AccessLog[]> => {\n        return rb.execute<AccessLog[]>(\n          getAdminAccessLogs,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single access log entry by ID.\n       *\n       * @param id - The UUID of the access log entry.\n       * @param options - Optional request options.\n       * @returns The matching `AccessLog`.\n       *\n       * @example\n       * ```typescript\n       * const log = await admin.compliance.accessLogs.get(\"access-log-uuid\");\n       * ```\n       */\n      get: async (id: string, options?: RequestOptions): Promise<AccessLog> => {\n        return rb.execute<AccessLog>(\n          getAdminAccessLogsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Audit Chain Entries — tamper-evident compliance audit trail.\n     *\n     * Read-only admin namespace for verifying hash-chain continuity and\n     * inspecting signed compliance event payloads.\n     */\n    auditChainEntries: {\n      /**\n       * List audit chain entries with optional filtering, sorting, and pagination.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `AuditChainEntry` records.\n       *\n       * @example\n       * ```typescript\n       * const entries = await admin.compliance.auditChainEntries.list({\n       *   sort: \"sequence_number\",\n       *   pageSize: 100,\n       * });\n       * ```\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<AuditChainEntry[]> => {\n        return rb.execute<AuditChainEntry[]>(\n          getAdminAuditChainEntries,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single audit chain entry by ID.\n       *\n       * @param id - The UUID of the audit chain entry.\n       * @param options - Optional request options.\n       * @returns The matching `AuditChainEntry`.\n       *\n       * @example\n       * ```typescript\n       * const entry = await admin.compliance.auditChainEntries.get(\"entry-uuid\");\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<AuditChainEntry> => {\n        return rb.execute<AuditChainEntry>(\n          getAdminAuditChainEntriesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Disclosure Logs — HIPAA accounting of PHI disclosures.\n     *\n     * Append-only admin namespace for recording and reviewing disclosures to\n     * third parties.\n     */\n    disclosureLogs: {\n      /**\n       * List disclosure logs with optional filtering, sorting, and pagination.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `DisclosureLog` records.\n       *\n       * @example\n       * ```typescript\n       * const disclosures = await admin.compliance.disclosureLogs.list({\n       *   filter: { recipient_type: \"llm_provider\" },\n       * });\n       * ```\n       */\n      list: async (options?: JsonApiQueryOptions): Promise<DisclosureLog[]> => {\n        return rb.execute<DisclosureLog[]>(\n          getAdminDisclosureLogs,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single disclosure log by ID.\n       *\n       * @param id - The UUID of the disclosure log.\n       * @param options - Optional request options.\n       * @returns The matching `DisclosureLog`.\n       *\n       * @example\n       * ```typescript\n       * const disclosure = await admin.compliance.disclosureLogs.get(\"disclosure-uuid\");\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<DisclosureLog> => {\n        return rb.execute<DisclosureLog>(\n          getAdminDisclosureLogsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List disclosures for a specific data subject.\n       *\n       * @param subjectType - Subject type, such as `\"patient\"` or `\"contact\"`.\n       * @param subjectId - Subject UUID.\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of matching `DisclosureLog` records.\n       *\n       * @example\n       * ```typescript\n       * const history = await admin.compliance.disclosureLogs.listBySubject(\n       *   \"patient\",\n       *   \"patient-uuid\",\n       * );\n       * ```\n       */\n      listBySubject: async (\n        subjectType: string,\n        subjectId: string,\n        options?: JsonApiQueryOptions,\n      ): Promise<DisclosureLog[]> => {\n        return rb.execute<DisclosureLog[]>(\n          getAdminDisclosureLogsBySubject,\n          {\n            query: {\n              ...buildJsonApiQuery(options).query,\n              subject_type: subjectType,\n              subject_id: subjectId,\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Append a PHI disclosure log.\n       *\n       * @param attributes - Disclosure accounting attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `DisclosureLog`.\n       *\n       * @example\n       * ```typescript\n       * const disclosure = await admin.compliance.disclosureLogs.create({\n       *   workspace_id: \"workspace-uuid\",\n       *   subject_type: \"patient\",\n       *   subject_id: \"patient-uuid\",\n       *   resource_type: \"clinical_note\",\n       *   resource_id: \"note-uuid\",\n       *   recipient_name: \"OpenRouter\",\n       *   recipient_type: \"llm_provider\",\n       *   purpose: \"treatment\",\n       *   disclosure_method: \"api_call\",\n       *   disclosed_at: new Date().toISOString(),\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateDisclosureLogAttributes,\n        options?: RequestOptions,\n      ): Promise<DisclosureLog> => {\n        const {\n          workspace_id,\n          subject_type,\n          subject_id,\n          resource_type,\n          resource_id,\n          recipient_name,\n          recipient_type,\n          purpose,\n          phi_categories,\n          disclosure_method,\n          legal_basis,\n          disclosed_by_id,\n          disclosed_at,\n          metadata,\n        } = attributes;\n\n        return rb.execute<DisclosureLog>(\n          postAdminDisclosureLogs,\n          {\n            body: {\n              data: {\n                type: \"disclosure-log\",\n                attributes: {\n                  workspace_id,\n                  subject_type,\n                  subject_id,\n                  resource_type,\n                  resource_id,\n                  recipient_name,\n                  recipient_type,\n                  purpose,\n                  phi_categories,\n                  disclosure_method,\n                  legal_basis,\n                  disclosed_by_id,\n                  disclosed_at,\n                  metadata,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Consent Records — purpose-specific GDPR/HIPAA consent lifecycle.\n     *\n     * Admin namespace for reviewing active consent, granting consent on behalf\n     * of users, and withdrawing existing consent grants.\n     */\n    consentRecords: {\n      /**\n       * List consent records with optional filtering, sorting, and pagination.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `ConsentRecord` records.\n       *\n       * @example\n       * ```typescript\n       * const records = await admin.compliance.consentRecords.list({\n       *   filter: { status: \"granted\" },\n       * });\n       * ```\n       */\n      list: async (options?: JsonApiQueryOptions): Promise<ConsentRecord[]> => {\n        return rb.execute<ConsentRecord[]>(\n          getAdminConsentRecords,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single consent record by ID.\n       *\n       * @param id - The UUID of the consent record.\n       * @param options - Optional request options.\n       * @returns The matching `ConsentRecord`.\n       *\n       * @example\n       * ```typescript\n       * const record = await admin.compliance.consentRecords.get(\"consent-uuid\");\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ConsentRecord> => {\n        return rb.execute<ConsentRecord>(\n          getAdminConsentRecordsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List active consent records for a user.\n       *\n       * @param userId - User UUID.\n       * @param options - Optional JSON:API query and request options.\n       * @returns Active `ConsentRecord` records for the user.\n       *\n       * @example\n       * ```typescript\n       * const active = await admin.compliance.consentRecords.listActive(\"user-uuid\");\n       * ```\n       */\n      listActive: async (\n        userId: string,\n        options?: JsonApiQueryOptions,\n      ): Promise<ConsentRecord[]> => {\n        return rb.execute<ConsentRecord[]>(\n          getAdminConsentRecordsActive,\n          {\n            query: {\n              ...buildJsonApiQuery(options).query,\n              user_id: userId,\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Grant consent for a processing purpose.\n       *\n       * @param attributes - Consent grant attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `ConsentRecord`.\n       *\n       * @example\n       * ```typescript\n       * const record = await admin.compliance.consentRecords.grant({\n       *   user_id: \"user-uuid\",\n       *   purpose: \"ai_document_processing\",\n       *   description: \"AI document processing consent\",\n       * });\n       * ```\n       */\n      grant: async (\n        attributes: GrantConsentRecordAttributes,\n        options?: RequestOptions,\n      ): Promise<ConsentRecord> => {\n        const { user_id, purpose, description, ip_address, user_agent } =\n          attributes;\n\n        return rb.execute<ConsentRecord>(\n          postAdminConsentRecords,\n          {\n            body: {\n              data: {\n                type: \"consent-record\",\n                attributes: {\n                  user_id,\n                  purpose,\n                  description,\n                  ip_address,\n                  user_agent,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Withdraw an existing consent grant.\n       *\n       * @param id - The UUID of the consent record to withdraw.\n       * @param options - Optional request options.\n       * @returns The withdrawn `ConsentRecord`.\n       *\n       * @example\n       * ```typescript\n       * const record = await admin.compliance.consentRecords.withdraw(\"consent-uuid\");\n       * ```\n       */\n      withdraw: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ConsentRecord> => {\n        return rb.execute<ConsentRecord>(\n          patchAdminConsentRecordsByIdWithdraw,\n          {\n            path: { id },\n            body: { data: { type: \"consent-record\", id } },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Legal Acceptances — immutable ToS/privacy-policy acceptance audit trail.\n     *\n     * Read-only admin namespace for reviewing legal-document acceptance records.\n     */\n    legalAcceptances: {\n      /**\n       * List legal acceptances with optional filtering, sorting, and pagination.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `LegalAcceptance` records.\n       *\n       * @example\n       * ```typescript\n       * const acceptances = await admin.compliance.legalAcceptances.list({\n       *   filter: { document_type: \"privacy_policy\" },\n       * });\n       * ```\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<LegalAcceptance[]> => {\n        return rb.execute<LegalAcceptance[]>(\n          getAdminLegalAcceptances,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single legal acceptance by ID.\n       *\n       * @param id - The UUID of the legal acceptance.\n       * @param options - Optional request options.\n       * @returns The matching `LegalAcceptance`.\n       *\n       * @example\n       * ```typescript\n       * const acceptance = await admin.compliance.legalAcceptances.get(\"acceptance-uuid\");\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<LegalAcceptance> => {\n        return rb.execute<LegalAcceptance>(\n          getAdminLegalAcceptancesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Retrieve the latest acceptance for a user and document type.\n       *\n       * @param userId - User UUID.\n       * @param documentType - Legal document type.\n       * @param options - Optional JSON:API query and request options.\n       * @returns Latest matching `LegalAcceptance`.\n       *\n       * @example\n       * ```typescript\n       * const latest = await admin.compliance.legalAcceptances.listLatest(\n       *   \"user-uuid\",\n       *   \"terms_of_service\",\n       * );\n       * ```\n       */\n      listLatest: async (\n        userId: string,\n        documentType: LegalDocumentAcceptanceType,\n        options?: JsonApiQueryOptions,\n      ): Promise<LegalAcceptance[]> => {\n        return rb.execute<LegalAcceptance[]>(\n          getAdminLegalAcceptancesLatest,\n          {\n            query: {\n              ...buildJsonApiQuery(options).query,\n              user_id: userId,\n              document_type: documentType,\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Processing Activities — GDPR Article 30 ROPA entries.\n     *\n     * Admin namespace for documenting processing purposes, legal bases, data\n     * categories, recipients, and security measures.\n     */\n    processingActivities: {\n      /**\n       * List processing activities with optional filtering, sorting, and pagination.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `ProcessingActivity` records.\n       *\n       * @example\n       * ```typescript\n       * const activities = await admin.compliance.processingActivities.list({\n       *   filter: { status: \"active\" },\n       * });\n       * ```\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<ProcessingActivity[]> => {\n        return rb.execute<ProcessingActivity[]>(\n          getAdminProcessingActivities,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single processing activity by ID.\n       *\n       * @param id - The UUID of the processing activity.\n       * @param options - Optional request options.\n       * @returns The matching `ProcessingActivity`.\n       *\n       * @example\n       * ```typescript\n       * const activity = await admin.compliance.processingActivities.get(\"activity-uuid\");\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ProcessingActivity> => {\n        return rb.execute<ProcessingActivity>(\n          getAdminProcessingActivitiesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a processing activity.\n       *\n       * @param attributes - Processing activity attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `ProcessingActivity`.\n       *\n       * @example\n       * ```typescript\n       * const activity = await admin.compliance.processingActivities.create({\n       *   workspace_id: \"workspace-uuid\",\n       *   name: \"AI document processing\",\n       *   purpose: \"Extract structured fields from uploaded documents\",\n       *   legal_basis: \"consent\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateProcessingActivityAttributes,\n        options?: RequestOptions,\n      ): Promise<ProcessingActivity> => {\n        const {\n          workspace_id,\n          name,\n          purpose,\n          data_categories,\n          data_subjects,\n          recipients,\n          retention_period,\n          legal_basis,\n          transfer_countries,\n          security_measures,\n          status,\n          ephi_classification,\n          asset_ids,\n          minimum_necessary_justification,\n          last_reviewed_at,\n          review_frequency_days,\n        } = attributes;\n\n        return rb.execute<ProcessingActivity>(\n          postAdminProcessingActivities,\n          {\n            body: {\n              data: {\n                type: \"processing-activity\",\n                attributes: {\n                  workspace_id,\n                  name,\n                  purpose,\n                  data_categories,\n                  data_subjects,\n                  recipients,\n                  retention_period,\n                  legal_basis,\n                  transfer_countries,\n                  security_measures,\n                  status,\n                  ephi_classification,\n                  asset_ids,\n                  minimum_necessary_justification,\n                  last_reviewed_at,\n                  review_frequency_days,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a processing activity.\n       *\n       * @param id - The UUID of the processing activity to delete.\n       * @param options - Optional request options.\n       * @returns `true` on successful deletion.\n       *\n       * @example\n       * ```typescript\n       * await admin.compliance.processingActivities.delete(\"activity-uuid\");\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminProcessingActivitiesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Impact Assessments — GDPR Article 35 DPIA workflow.\n     *\n     * Admin namespace for creating, updating, and approving data protection\n     * impact assessments.\n     */\n    impactAssessments: {\n      /**\n       * List impact assessments with optional filtering, sorting, and pagination.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `DataProtectionImpactAssessment` records.\n       *\n       * @example\n       * ```typescript\n       * const dpias = await admin.compliance.impactAssessments.list({\n       *   filter: { status: \"in_review\" },\n       * });\n       * ```\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<DataProtectionImpactAssessment[]> => {\n        return rb.execute<DataProtectionImpactAssessment[]>(\n          getAdminImpactAssessments,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single impact assessment by ID.\n       *\n       * @param id - The UUID of the impact assessment.\n       * @param options - Optional request options.\n       * @returns The matching `DataProtectionImpactAssessment`.\n       *\n       * @example\n       * ```typescript\n       * const dpia = await admin.compliance.impactAssessments.get(\"dpia-uuid\");\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<DataProtectionImpactAssessment> => {\n        return rb.execute<DataProtectionImpactAssessment>(\n          getAdminImpactAssessmentsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create an impact assessment.\n       *\n       * @param attributes - Impact assessment attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `DataProtectionImpactAssessment`.\n       *\n       * @example\n       * ```typescript\n       * const dpia = await admin.compliance.impactAssessments.create({\n       *   workspace_id: \"workspace-uuid\",\n       *   title: \"AI document processing DPIA\",\n       *   description: \"Assessment of high-risk document processing\",\n       *   risk_level: \"high\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateImpactAssessmentAttributes,\n        options?: RequestOptions,\n      ): Promise<DataProtectionImpactAssessment> => {\n        const {\n          workspace_id,\n          title,\n          description,\n          processing_activity_id,\n          risk_level,\n          status,\n          assessor,\n          findings,\n          mitigations,\n        } = attributes;\n\n        return rb.execute<DataProtectionImpactAssessment>(\n          postAdminImpactAssessments,\n          {\n            body: {\n              data: {\n                type: \"data-protection-impact-assessment\",\n                attributes: {\n                  workspace_id,\n                  title,\n                  description,\n                  processing_activity_id,\n                  risk_level,\n                  status,\n                  assessor,\n                  findings,\n                  mitigations,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update an impact assessment.\n       *\n       * @param id - The UUID of the impact assessment.\n       * @param attributes - Fields to update.\n       * @param options - Optional request options.\n       * @returns The updated `DataProtectionImpactAssessment`.\n       *\n       * @example\n       * ```typescript\n       * const dpia = await admin.compliance.impactAssessments.update(\"dpia-uuid\", {\n       *   status: \"in_review\",\n       *   findings: \"Residual risk documented\",\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateImpactAssessmentAttributes,\n        options?: RequestOptions,\n      ): Promise<DataProtectionImpactAssessment> => {\n        const {\n          title,\n          description,\n          risk_level,\n          status,\n          findings,\n          mitigations,\n        } = attributes;\n\n        return rb.execute<DataProtectionImpactAssessment>(\n          patchAdminImpactAssessmentsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"data-protection-impact-assessment\",\n                id,\n                attributes: {\n                  title,\n                  description,\n                  risk_level,\n                  status,\n                  findings,\n                  mitigations,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Approve an impact assessment.\n       *\n       * @param id - The UUID of the impact assessment.\n       * @param attributes - Optional approval attributes.\n       * @param options - Optional request options.\n       * @returns The approved `DataProtectionImpactAssessment`.\n       *\n       * @example\n       * ```typescript\n       * const dpia = await admin.compliance.impactAssessments.approve(\"dpia-uuid\", {\n       *   approved_by: \"Privacy Officer\",\n       * });\n       * ```\n       */\n      approve: async (\n        id: string,\n        attributes: ApproveImpactAssessmentAttributes = {},\n        options?: RequestOptions,\n      ): Promise<DataProtectionImpactAssessment> => {\n        const { approved_by } = attributes;\n\n        return rb.execute<DataProtectionImpactAssessment>(\n          patchAdminImpactAssessmentsByIdApprove,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"data-protection-impact-assessment\",\n                id,\n                attributes: { approved_by },\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Data Transfer Records — GDPR Chapter V cross-border transfer log.\n     *\n     * Admin namespace for documenting source and destination jurisdictions,\n     * legal transfer mechanisms, and data categories.\n     */\n    dataTransferRecords: {\n      /**\n       * List data transfer records with optional filtering, sorting, and pagination.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `DataTransferRecord` records.\n       *\n       * @example\n       * ```typescript\n       * const transfers = await admin.compliance.dataTransferRecords.list({\n       *   filter: { destination_jurisdiction: \"US\" },\n       * });\n       * ```\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<DataTransferRecord[]> => {\n        return rb.execute<DataTransferRecord[]>(\n          getAdminDataTransferRecords,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single data transfer record by ID.\n       *\n       * @param id - The UUID of the data transfer record.\n       * @param options - Optional request options.\n       * @returns The matching `DataTransferRecord`.\n       *\n       * @example\n       * ```typescript\n       * const transfer = await admin.compliance.dataTransferRecords.get(\"transfer-uuid\");\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<DataTransferRecord> => {\n        return rb.execute<DataTransferRecord>(\n          getAdminDataTransferRecordsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a data transfer record.\n       *\n       * @param attributes - Data transfer attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `DataTransferRecord`.\n       *\n       * @example\n       * ```typescript\n       * const transfer = await admin.compliance.dataTransferRecords.create({\n       *   workspace_id: \"workspace-uuid\",\n       *   source_jurisdiction: \"DE\",\n       *   destination_jurisdiction: \"US\",\n       *   transfer_mechanism: \"scc\",\n       *   data_categories: [\"clinical_notes\"],\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateDataTransferRecordAttributes,\n        options?: RequestOptions,\n      ): Promise<DataTransferRecord> => {\n        const {\n          workspace_id,\n          source_jurisdiction,\n          destination_jurisdiction,\n          transfer_mechanism,\n          data_categories,\n          legal_basis,\n        } = attributes;\n\n        return rb.execute<DataTransferRecord>(\n          postAdminDataTransferRecords,\n          {\n            body: {\n              data: {\n                type: \"data-transfer-record\",\n                attributes: {\n                  workspace_id,\n                  source_jurisdiction,\n                  destination_jurisdiction,\n                  transfer_mechanism,\n                  data_categories,\n                  legal_basis,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a data transfer record.\n       *\n       * @param id - The UUID of the data transfer record to delete.\n       * @param options - Optional request options.\n       * @returns `true` on successful deletion.\n       *\n       * @example\n       * ```typescript\n       * await admin.compliance.dataTransferRecords.delete(\"transfer-uuid\");\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminDataTransferRecordsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Breach Notifications — legacy HIPAA breach notification records.\n     *\n     * Read-only admin namespace for historical breach notification rows. New\n     * breach work should use breach incidents and notification artifacts.\n     */\n    breachNotifications: {\n      /**\n       * List breach notifications with optional filtering, sorting, and pagination.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `BreachNotification` records.\n       *\n       * @example\n       * ```typescript\n       * const notifications = await admin.compliance.breachNotifications.list();\n       * ```\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<BreachNotification[]> => {\n        return rb.execute<BreachNotification[]>(\n          getAdminBreachNotifications,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single breach notification by ID.\n       *\n       * @param id - The UUID of the breach notification.\n       * @param options - Optional request options.\n       * @returns The matching `BreachNotification`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<BreachNotification> => {\n        return rb.execute<BreachNotification>(\n          getAdminBreachNotificationsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Breach Notification Artifacts — generated HIPAA notification documents.\n     *\n     * Admin namespace for drafting, reviewing, and sending notification\n     * artifacts tied to breach incidents.\n     */\n    breachNotificationArtifacts: {\n      /**\n       * List breach notification artifacts.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `BreachNotificationArtifact` records.\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<BreachNotificationArtifact[]> => {\n        return rb.execute<BreachNotificationArtifact[]>(\n          getAdminBreachNotificationArtifacts,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single breach notification artifact by ID.\n       *\n       * @param id - Breach notification artifact UUID.\n       * @param options - Optional request options.\n       * @returns The matching `BreachNotificationArtifact`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<BreachNotificationArtifact> => {\n        return rb.execute<BreachNotificationArtifact>(\n          getAdminBreachNotificationArtifactsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a breach notification artifact.\n       *\n       * @param attributes - Artifact draft attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `BreachNotificationArtifact`.\n       *\n       * @example\n       * ```typescript\n       * const artifact = await admin.compliance.breachNotificationArtifacts.create({\n       *   workspace_id: \"workspace-uuid\",\n       *   breach_incident_id: \"incident-uuid\",\n       *   artifact_type: \"individual_notification\",\n       *   content: \"Notification body\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateBreachNotificationArtifactAttributes,\n        options?: RequestOptions,\n      ): Promise<BreachNotificationArtifact> => {\n        const {\n          workspace_id,\n          breach_incident_id,\n          artifact_type,\n          content,\n          recipient_count,\n          metadata,\n        } = attributes;\n\n        return rb.execute<BreachNotificationArtifact>(\n          postAdminBreachNotificationArtifacts,\n          {\n            body: {\n              data: {\n                type: \"breach-notification-artifact\",\n                attributes: {\n                  workspace_id,\n                  breach_incident_id,\n                  artifact_type,\n                  content,\n                  recipient_count,\n                  metadata,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update a breach notification artifact.\n       *\n       * @param id - Artifact UUID.\n       * @param attributes - Fields to update.\n       * @param options - Optional request options.\n       * @returns The updated `BreachNotificationArtifact`.\n       *\n       * @example\n       * ```typescript\n       * const artifact = await admin.compliance.breachNotificationArtifacts.update(\n       *   \"artifact-uuid\",\n       *   { status: \"reviewed\" },\n       * );\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateBreachNotificationArtifactAttributes,\n        options?: RequestOptions,\n      ): Promise<BreachNotificationArtifact> => {\n        const { status, content, recipient_count, metadata } = attributes;\n\n        return rb.execute<BreachNotificationArtifact>(\n          patchAdminBreachNotificationArtifactsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"breach-notification-artifact\",\n                id,\n                attributes: { status, content, recipient_count, metadata },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Mark a breach notification artifact as sent.\n       *\n       * @param id - Artifact UUID.\n       * @param options - Optional request options.\n       * @returns The sent `BreachNotificationArtifact`.\n       *\n       * @example\n       * ```typescript\n       * const artifact = await admin.compliance.breachNotificationArtifacts.send(\"artifact-uuid\");\n       * ```\n       */\n      send: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<BreachNotificationArtifact> => {\n        return rb.execute<BreachNotificationArtifact>(\n          patchAdminBreachNotificationArtifactsByIdSend,\n          {\n            path: { id },\n            body: { data: { type: \"breach-notification-artifact\", id } },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Business Associate Agreements — HIPAA BAA tracking.\n     *\n     * Admin namespace for creating, signing, updating, and terminating BAAs.\n     */\n    businessAssociateAgreements: {\n      /**\n       * List Business Associate Agreements.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `BusinessAssociateAgreement` records.\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<BusinessAssociateAgreement[]> => {\n        return rb.execute<BusinessAssociateAgreement[]>(\n          getAdminBusinessAssociateAgreements,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single Business Associate Agreement by ID.\n       *\n       * @param id - Business Associate Agreement UUID.\n       * @param options - Optional request options.\n       * @returns The matching `BusinessAssociateAgreement`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<BusinessAssociateAgreement> => {\n        return rb.execute<BusinessAssociateAgreement>(\n          getAdminBusinessAssociateAgreementsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a Business Associate Agreement.\n       *\n       * @param attributes - BAA attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `BusinessAssociateAgreement`.\n       *\n       * @example\n       * ```typescript\n       * const baa = await admin.compliance.businessAssociateAgreements.create({\n       *   application_id: \"application-uuid\",\n       *   counterparty_name: \"Acme Analytics\",\n       *   counterparty_type: \"business_associate\",\n       *   direction: \"downstream\",\n       *   effective_date: \"2026-05-16\",\n       *   renewal_type: \"manual_renew\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateBusinessAssociateAgreementAttributes,\n        options?: RequestOptions,\n      ): Promise<BusinessAssociateAgreement> => {\n        const {\n          application_id,\n          workspace_id,\n          counterparty_name,\n          counterparty_type,\n          direction,\n          effective_date,\n          expiration_date,\n          renewal_type,\n          renewal_reminder_days,\n          phi_scope,\n          ephi_asset_id,\n          counterparty_signatory,\n          legal_document_id,\n        } = attributes;\n\n        return rb.execute<BusinessAssociateAgreement>(\n          postAdminBusinessAssociateAgreements,\n          {\n            body: {\n              data: {\n                type: \"business-associate-agreement\",\n                attributes: {\n                  application_id,\n                  workspace_id,\n                  counterparty_name,\n                  counterparty_type,\n                  direction,\n                  effective_date,\n                  expiration_date,\n                  renewal_type,\n                  renewal_reminder_days,\n                  phi_scope,\n                  ephi_asset_id,\n                  counterparty_signatory,\n                  legal_document_id,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update a Business Associate Agreement.\n       *\n       * @param id - BAA UUID.\n       * @param attributes - Fields to update.\n       * @param options - Optional request options.\n       * @returns The updated `BusinessAssociateAgreement`.\n       *\n       * @example\n       * ```typescript\n       * const baa = await admin.compliance.businessAssociateAgreements.update(\"baa-uuid\", {\n       *   renewal_reminder_days: 120,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateBusinessAssociateAgreementAttributes,\n        options?: RequestOptions,\n      ): Promise<BusinessAssociateAgreement> => {\n        const {\n          counterparty_name,\n          counterparty_type,\n          direction,\n          effective_date,\n          expiration_date,\n          renewal_type,\n          renewal_reminder_days,\n          phi_scope,\n          counterparty_signatory,\n          legal_document_id,\n        } = attributes;\n\n        return rb.execute<BusinessAssociateAgreement>(\n          patchAdminBusinessAssociateAgreementsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"business-associate-agreement\",\n                id,\n                attributes: {\n                  counterparty_name,\n                  counterparty_type,\n                  direction,\n                  effective_date,\n                  expiration_date,\n                  renewal_type,\n                  renewal_reminder_days,\n                  phi_scope,\n                  counterparty_signatory,\n                  legal_document_id,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Sign a Business Associate Agreement.\n       *\n       * @param id - BAA UUID.\n       * @param attributes - Signature attributes.\n       * @param options - Optional request options.\n       * @returns The active `BusinessAssociateAgreement`.\n       *\n       * @example\n       * ```typescript\n       * const baa = await admin.compliance.businessAssociateAgreements.sign(\"baa-uuid\", {\n       *   signed_by_id: \"user-uuid\",\n       * });\n       * ```\n       */\n      sign: async (\n        id: string,\n        attributes: SignBusinessAssociateAgreementAttributes = {},\n        options?: RequestOptions,\n      ): Promise<BusinessAssociateAgreement> => {\n        const { signed_by_id, counterparty_signatory } = attributes;\n\n        return rb.execute<BusinessAssociateAgreement>(\n          patchAdminBusinessAssociateAgreementsByIdSign,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"business-associate-agreement\",\n                id,\n                attributes: { signed_by_id, counterparty_signatory },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Terminate a Business Associate Agreement.\n       *\n       * @param id - BAA UUID.\n       * @param attributes - Termination attributes.\n       * @param options - Optional request options.\n       * @returns The terminated `BusinessAssociateAgreement`.\n       *\n       * @example\n       * ```typescript\n       * const baa = await admin.compliance.businessAssociateAgreements.terminate(\"baa-uuid\", {\n       *   termination_reason: \"Vendor offboarded\",\n       * });\n       * ```\n       */\n      terminate: async (\n        id: string,\n        attributes: TerminateBusinessAssociateAgreementAttributes = {},\n        options?: RequestOptions,\n      ): Promise<BusinessAssociateAgreement> => {\n        const { termination_reason } = attributes;\n\n        return rb.execute<BusinessAssociateAgreement>(\n          patchAdminBusinessAssociateAgreementsByIdTerminate,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"business-associate-agreement\",\n                id,\n                attributes: { termination_reason },\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Amendment Requests — HIPAA PHI amendment workflow.\n     *\n     * Admin namespace for request, review, approval, denial, and application.\n     */\n    amendmentRequests: {\n      /**\n       * List amendment requests.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `AmendmentRequest` records.\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<AmendmentRequest[]> => {\n        return rb.execute<AmendmentRequest[]>(\n          getAdminAmendmentRequests,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single amendment request by ID.\n       *\n       * @param id - Amendment request UUID.\n       * @param options - Optional request options.\n       * @returns The matching `AmendmentRequest`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<AmendmentRequest> => {\n        return rb.execute<AmendmentRequest>(\n          getAdminAmendmentRequestsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create an amendment request.\n       *\n       * @param attributes - Amendment request attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `AmendmentRequest`.\n       *\n       * @example\n       * ```typescript\n       * const request = await admin.compliance.amendmentRequests.create({\n       *   workspace_id: \"workspace-uuid\",\n       *   subject_type: \"patient\",\n       *   subject_id: \"patient-uuid\",\n       *   resource_type: \"clinical_note\",\n       *   resource_id: \"note-uuid\",\n       *   domain: \"clinical\",\n       *   request_reason: \"Incorrect medication dosage\",\n       *   requested_changes: { medication_dosage: \"10mg\" },\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateAmendmentRequestAttributes,\n        options?: RequestOptions,\n      ): Promise<AmendmentRequest> => {\n        const {\n          workspace_id,\n          subject_type,\n          subject_id,\n          resource_type,\n          resource_id,\n          domain,\n          request_reason,\n          requested_changes,\n        } = attributes;\n\n        return rb.execute<AmendmentRequest>(\n          postAdminAmendmentRequests,\n          {\n            body: {\n              data: {\n                type: \"amendment-request\",\n                attributes: {\n                  workspace_id,\n                  subject_type,\n                  subject_id,\n                  resource_type,\n                  resource_id,\n                  domain,\n                  request_reason,\n                  requested_changes,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Begin reviewing an amendment request.\n       *\n       * @param id - Amendment request UUID.\n       * @param attributes - Review attributes.\n       * @param options - Optional request options.\n       * @returns The reviewed `AmendmentRequest`.\n       *\n       * @example\n       * ```typescript\n       * const request = await admin.compliance.amendmentRequests.review(\"request-uuid\", {\n       *   reviewed_by_id: \"admin-user-uuid\",\n       * });\n       * ```\n       */\n      review: async (\n        id: string,\n        attributes: ReviewAmendmentRequestAttributes = {},\n        options?: RequestOptions,\n      ): Promise<AmendmentRequest> => {\n        const { reviewed_by_id } = attributes;\n\n        return rb.execute<AmendmentRequest>(\n          patchAdminAmendmentRequestsByIdReview,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"amendment-request\",\n                id,\n                attributes: { reviewed_by_id },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Approve an amendment request.\n       *\n       * @param id - Amendment request UUID.\n       * @param options - Optional request options.\n       * @returns The approved `AmendmentRequest`.\n       *\n       * @example\n       * ```typescript\n       * const request = await admin.compliance.amendmentRequests.approve(\"request-uuid\");\n       * ```\n       */\n      approve: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<AmendmentRequest> => {\n        return rb.execute<AmendmentRequest>(\n          patchAdminAmendmentRequestsByIdApprove,\n          {\n            path: { id },\n            body: { data: { type: \"amendment-request\", id } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Deny an amendment request.\n       *\n       * @param id - Amendment request UUID.\n       * @param attributes - Denial attributes.\n       * @param options - Optional request options.\n       * @returns The denied `AmendmentRequest`.\n       *\n       * @example\n       * ```typescript\n       * const request = await admin.compliance.amendmentRequests.deny(\"request-uuid\", {\n       *   denial_reason: \"Requested change is not supported by the source record.\",\n       * });\n       * ```\n       */\n      deny: async (\n        id: string,\n        attributes: DenyAmendmentRequestAttributes = {},\n        options?: RequestOptions,\n      ): Promise<AmendmentRequest> => {\n        const { denial_reason } = attributes;\n\n        return rb.execute<AmendmentRequest>(\n          patchAdminAmendmentRequestsByIdDeny,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"amendment-request\",\n                id,\n                attributes: { denial_reason },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Mark an approved amendment as applied.\n       *\n       * @param id - Amendment request UUID.\n       * @param options - Optional request options.\n       * @returns The applied `AmendmentRequest`.\n       *\n       * @example\n       * ```typescript\n       * const request = await admin.compliance.amendmentRequests.applyAmendment(\"request-uuid\");\n       * ```\n       */\n      applyAmendment: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<AmendmentRequest> => {\n        return rb.execute<AmendmentRequest>(\n          patchAdminAmendmentRequestsByIdApply,\n          {\n            path: { id },\n            body: { data: { type: \"amendment-request\", id } },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * ePHI Assets — HIPAA technology asset inventory.\n     */\n    ephiAssets: {\n      /**\n       * List ePHI assets.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `EphiAsset` records.\n       */\n      list: async (options?: JsonApiQueryOptions): Promise<EphiAsset[]> => {\n        return rb.execute<EphiAsset[]>(\n          getAdminEphiAssets,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single ePHI asset by ID.\n       *\n       * @param id - ePHI asset UUID.\n       * @param options - Optional request options.\n       * @returns The matching `EphiAsset`.\n       */\n      get: async (id: string, options?: RequestOptions): Promise<EphiAsset> => {\n        return rb.execute<EphiAsset>(\n          getAdminEphiAssetsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create an ePHI asset.\n       *\n       * @param attributes - ePHI asset attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `EphiAsset`.\n       *\n       * @example\n       * ```typescript\n       * const asset = await admin.compliance.ephiAssets.create({\n       *   application_id: \"application-uuid\",\n       *   name: \"Clinical database\",\n       *   asset_type: \"database\",\n       *   classification: \"ephi_primary\",\n       *   location: \"cloud\",\n       *   encryption_at_rest: true,\n       *   encryption_in_transit: true,\n       *   baa_status: \"in_place\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateEphiAssetAttributes,\n        options?: RequestOptions,\n      ): Promise<EphiAsset> => {\n        const {\n          application_id,\n          workspace_id,\n          name,\n          asset_type,\n          classification,\n          owner,\n          location,\n          provider,\n          data_categories,\n          encryption_at_rest,\n          encryption_in_transit,\n          baa_status,\n          baa_document_id,\n          last_assessed_at,\n          next_assessment_due,\n          status,\n          notes,\n          metadata,\n        } = attributes;\n\n        return rb.execute<EphiAsset>(\n          postAdminEphiAssets,\n          {\n            body: {\n              data: {\n                type: \"ephi-asset\",\n                attributes: {\n                  application_id,\n                  workspace_id,\n                  name,\n                  asset_type,\n                  classification,\n                  owner,\n                  location,\n                  provider,\n                  data_categories,\n                  encryption_at_rest,\n                  encryption_in_transit,\n                  baa_status,\n                  baa_document_id,\n                  last_assessed_at,\n                  next_assessment_due,\n                  status,\n                  notes,\n                  metadata,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update an ePHI asset.\n       *\n       * @param id - ePHI asset UUID.\n       * @param attributes - Fields to update.\n       * @param options - Optional request options.\n       * @returns The updated `EphiAsset`.\n       *\n       * @example\n       * ```typescript\n       * const asset = await admin.compliance.ephiAssets.update(\"asset-uuid\", {\n       *   baa_status: \"in_place\",\n       *   next_assessment_due: \"2027-05-16\",\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateEphiAssetAttributes,\n        options?: RequestOptions,\n      ): Promise<EphiAsset> => {\n        const {\n          name,\n          asset_type,\n          classification,\n          owner,\n          location,\n          provider,\n          data_categories,\n          encryption_at_rest,\n          encryption_in_transit,\n          baa_status,\n          baa_document_id,\n          last_assessed_at,\n          next_assessment_due,\n          status,\n          notes,\n          metadata,\n        } = attributes;\n\n        return rb.execute<EphiAsset>(\n          patchAdminEphiAssetsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"ephi-asset\",\n                id,\n                attributes: {\n                  name,\n                  asset_type,\n                  classification,\n                  owner,\n                  location,\n                  provider,\n                  data_categories,\n                  encryption_at_rest,\n                  encryption_in_transit,\n                  baa_status,\n                  baa_document_id,\n                  last_assessed_at,\n                  next_assessment_due,\n                  status,\n                  notes,\n                  metadata,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * ePHI Data Flows — system-to-system PHI movement map.\n     */\n    ephiDataFlows: {\n      /**\n       * List ePHI data flows.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `EphiDataFlow` records.\n       */\n      list: async (options?: JsonApiQueryOptions): Promise<EphiDataFlow[]> => {\n        return rb.execute<EphiDataFlow[]>(\n          getAdminEphiDataFlows,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single ePHI data flow by ID.\n       *\n       * @param id - ePHI data flow UUID.\n       * @param options - Optional request options.\n       * @returns The matching `EphiDataFlow`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<EphiDataFlow> => {\n        return rb.execute<EphiDataFlow>(\n          getAdminEphiDataFlowsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create an ePHI data flow.\n       *\n       * @param attributes - ePHI data flow attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `EphiDataFlow`.\n       *\n       * @example\n       * ```typescript\n       * const flow = await admin.compliance.ephiDataFlows.create({\n       *   application_id: \"application-uuid\",\n       *   source_asset_id: \"asset-source-uuid\",\n       *   destination_asset_id: \"asset-destination-uuid\",\n       *   data_categories: [\"demographics\", \"clinical_notes\"],\n       *   flow_type: \"api\",\n       *   protocol: \"https\",\n       *   encryption: \"tls_1_3\",\n       *   frequency: \"real_time\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateEphiDataFlowAttributes,\n        options?: RequestOptions,\n      ): Promise<EphiDataFlow> => {\n        const {\n          application_id,\n          workspace_id,\n          source_asset_id,\n          destination_asset_id,\n          data_categories,\n          flow_type,\n          protocol,\n          encryption,\n          frequency,\n          description,\n          is_active,\n          metadata,\n        } = attributes;\n\n        return rb.execute<EphiDataFlow>(\n          postAdminEphiDataFlows,\n          {\n            body: {\n              data: {\n                type: \"ephi-data-flow\",\n                attributes: {\n                  application_id,\n                  workspace_id,\n                  source_asset_id,\n                  destination_asset_id,\n                  data_categories,\n                  flow_type,\n                  protocol,\n                  encryption,\n                  frequency,\n                  description,\n                  is_active,\n                  metadata,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update an ePHI data flow.\n       *\n       * @param id - ePHI data flow UUID.\n       * @param attributes - Fields to update.\n       * @param options - Optional request options.\n       * @returns The updated `EphiDataFlow`.\n       *\n       * @example\n       * ```typescript\n       * const flow = await admin.compliance.ephiDataFlows.update(\"flow-uuid\", {\n       *   is_active: false,\n       *   description: \"Retired after vendor offboarding.\",\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateEphiDataFlowAttributes,\n        options?: RequestOptions,\n      ): Promise<EphiDataFlow> => {\n        const {\n          source_asset_id,\n          destination_asset_id,\n          data_categories,\n          flow_type,\n          protocol,\n          encryption,\n          frequency,\n          description,\n          is_active,\n          metadata,\n        } = attributes;\n\n        return rb.execute<EphiDataFlow>(\n          patchAdminEphiDataFlowsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"ephi-data-flow\",\n                id,\n                attributes: {\n                  source_asset_id,\n                  destination_asset_id,\n                  data_categories,\n                  flow_type,\n                  protocol,\n                  encryption,\n                  frequency,\n                  description,\n                  is_active,\n                  metadata,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Policy Review Schedules — HIPAA policy review cadence tracking.\n     *\n     * Admin namespace for scheduling, completing, and marking policy reviews.\n     */\n    policyReviewSchedules: {\n      /**\n       * List policy review schedules.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `PolicyReviewSchedule` records.\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<PolicyReviewSchedule[]> => {\n        return rb.execute<PolicyReviewSchedule[]>(\n          getAdminPolicyReviewSchedules,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single policy review schedule by ID.\n       *\n       * @param id - Policy review schedule UUID.\n       * @param options - Optional request options.\n       * @returns The matching `PolicyReviewSchedule`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<PolicyReviewSchedule> => {\n        return rb.execute<PolicyReviewSchedule>(\n          getAdminPolicyReviewSchedulesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a policy review schedule.\n       *\n       * @param attributes - Policy review schedule attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `PolicyReviewSchedule`.\n       *\n       * @example\n       * ```typescript\n       * const schedule = await admin.compliance.policyReviewSchedules.create({\n       *   application_id: \"application-uuid\",\n       *   legal_document_id: \"document-uuid\",\n       *   next_review_due: \"2027-05-16\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreatePolicyReviewScheduleAttributes,\n        options?: RequestOptions,\n      ): Promise<PolicyReviewSchedule> => {\n        const {\n          application_id,\n          legal_document_id,\n          review_frequency_days,\n          next_review_due,\n          status,\n          review_notes,\n          last_reviewed_at,\n          last_reviewed_by_id,\n        } = attributes;\n\n        return rb.execute<PolicyReviewSchedule>(\n          postAdminPolicyReviewSchedules,\n          {\n            body: {\n              data: {\n                type: \"policy-review-schedule\",\n                attributes: {\n                  application_id,\n                  legal_document_id,\n                  review_frequency_days,\n                  next_review_due,\n                  status,\n                  review_notes,\n                  last_reviewed_at,\n                  last_reviewed_by_id,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Complete a policy review.\n       *\n       * @param id - Policy review schedule UUID.\n       * @param attributes - Review completion attributes.\n       * @param options - Optional request options.\n       * @returns The updated `PolicyReviewSchedule`.\n       *\n       * @example\n       * ```typescript\n       * const schedule = await admin.compliance.policyReviewSchedules.completeReview(\n       *   \"schedule-uuid\",\n       *   { review_notes: \"Reviewed without changes\" },\n       * );\n       * ```\n       */\n      completeReview: async (\n        id: string,\n        attributes: CompletePolicyReviewAttributes = {},\n        options?: RequestOptions,\n      ): Promise<PolicyReviewSchedule> => {\n        const { review_notes, last_reviewed_by_id } = attributes;\n\n        return rb.execute<PolicyReviewSchedule>(\n          patchAdminPolicyReviewSchedulesByIdCompleteReview,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"policy-review-schedule\",\n                id,\n                attributes: { review_notes, last_reviewed_by_id },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Mark a policy review schedule due.\n       *\n       * @param id - Policy review schedule UUID.\n       * @param options - Optional request options.\n       * @returns The updated `PolicyReviewSchedule`.\n       *\n       * @example\n       * ```typescript\n       * const schedule = await admin.compliance.policyReviewSchedules.markDue(\"schedule-uuid\");\n       * ```\n       */\n      markDue: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<PolicyReviewSchedule> => {\n        return rb.execute<PolicyReviewSchedule>(\n          patchAdminPolicyReviewSchedulesByIdMarkDue,\n          {\n            path: { id },\n            body: { data: { type: \"policy-review-schedule\", id } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Mark a policy review schedule overdue.\n       *\n       * @param id - Policy review schedule UUID.\n       * @param options - Optional request options.\n       * @returns The updated `PolicyReviewSchedule`.\n       *\n       * @example\n       * ```typescript\n       * const schedule = await admin.compliance.policyReviewSchedules.markOverdue(\"schedule-uuid\");\n       * ```\n       */\n      markOverdue: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<PolicyReviewSchedule> => {\n        return rb.execute<PolicyReviewSchedule>(\n          patchAdminPolicyReviewSchedulesByIdMarkOverdue,\n          {\n            path: { id },\n            body: { data: { type: \"policy-review-schedule\", id } },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Compliance Document Templates — policy and procedure templates.\n     *\n     * Admin namespace for platform templates and application-specific clones.\n     */\n    complianceDocumentTemplates: {\n      /**\n       * List compliance document templates.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `ComplianceDocumentTemplate` records.\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<ComplianceDocumentTemplate[]> => {\n        return rb.execute<ComplianceDocumentTemplate[]>(\n          getAdminComplianceDocumentTemplates,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single compliance document template by ID.\n       *\n       * @param id - Template UUID.\n       * @param options - Optional request options.\n       * @returns The matching `ComplianceDocumentTemplate`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ComplianceDocumentTemplate> => {\n        return rb.execute<ComplianceDocumentTemplate>(\n          getAdminComplianceDocumentTemplatesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a compliance document template.\n       *\n       * @param attributes - Template attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `ComplianceDocumentTemplate`.\n       *\n       * @example\n       * ```typescript\n       * const template = await admin.compliance.complianceDocumentTemplates.create({\n       *   template_type: \"security_policy\",\n       *   regulatory_framework: \"hipaa\",\n       *   title: \"Security Policy\",\n       *   content_template: \"# Security Policy\",\n       *   version: \"1.0.0\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateComplianceDocumentTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<ComplianceDocumentTemplate> => {\n        const {\n          template_type,\n          regulatory_framework,\n          title,\n          content_template,\n          required_variables,\n          version,\n          is_platform_managed,\n          application_id,\n        } = attributes;\n\n        return rb.execute<ComplianceDocumentTemplate>(\n          postAdminComplianceDocumentTemplates,\n          {\n            body: {\n              data: {\n                type: \"compliance-document-template\",\n                attributes: {\n                  template_type,\n                  regulatory_framework,\n                  title,\n                  content_template,\n                  required_variables,\n                  version,\n                  is_platform_managed,\n                  application_id,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update a compliance document template.\n       *\n       * @param id - Template UUID.\n       * @param attributes - Fields to update.\n       * @param options - Optional request options.\n       * @returns The updated `ComplianceDocumentTemplate`.\n       *\n       * @example\n       * ```typescript\n       * const template = await admin.compliance.complianceDocumentTemplates.update(\n       *   \"template-uuid\",\n       *   { version: \"1.0.1\" },\n       * );\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateComplianceDocumentTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<ComplianceDocumentTemplate> => {\n        const { title, content_template, required_variables, version } =\n          attributes;\n\n        return rb.execute<ComplianceDocumentTemplate>(\n          patchAdminComplianceDocumentTemplatesById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"compliance-document-template\",\n                id,\n                attributes: {\n                  title,\n                  content_template,\n                  required_variables,\n                  version,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Clone a compliance document template for an application.\n       *\n       * @param attributes - Clone attributes.\n       * @param options - Optional request options.\n       * @returns The cloned `ComplianceDocumentTemplate`.\n       *\n       * @example\n       * ```typescript\n       * const template = await admin.compliance.complianceDocumentTemplates.clone({\n       *   application_id: \"application-uuid\",\n       *   template_type: \"npp\",\n       *   regulatory_framework: \"hipaa\",\n       *   title: \"Notice of Privacy Practices\",\n       *   content_template: \"# NPP\",\n       *   version: \"1.0.0\",\n       * });\n       * ```\n       */\n      clone: async (\n        attributes: CloneComplianceDocumentTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<ComplianceDocumentTemplate> => {\n        const {\n          template_type,\n          regulatory_framework,\n          title,\n          content_template,\n          required_variables,\n          version,\n          application_id,\n        } = attributes;\n\n        return rb.execute<ComplianceDocumentTemplate>(\n          postAdminComplianceDocumentTemplatesClone,\n          {\n            body: {\n              data: {\n                type: \"compliance-document-template\",\n                attributes: {\n                  template_type,\n                  regulatory_framework,\n                  title,\n                  content_template,\n                  required_variables,\n                  version,\n                  application_id,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Compliance Officer Designations — HIPAA officer role assignments.\n     */\n    complianceOfficerDesignations: {\n      /**\n       * List compliance officer designations.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `ComplianceOfficerDesignation` records.\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<ComplianceOfficerDesignation[]> => {\n        return rb.execute<ComplianceOfficerDesignation[]>(\n          getAdminComplianceOfficerDesignations,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a compliance officer designation by ID.\n       *\n       * @param id - Designation UUID.\n       * @param options - Optional request options.\n       * @returns The matching `ComplianceOfficerDesignation`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ComplianceOfficerDesignation> => {\n        return rb.execute<ComplianceOfficerDesignation>(\n          getAdminComplianceOfficerDesignationsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a compliance officer designation.\n       *\n       * @param attributes - Designation attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `ComplianceOfficerDesignation`.\n       *\n       * @example\n       * ```typescript\n       * const designation = await admin.compliance.complianceOfficerDesignations.create({\n       *   application_id: \"application-uuid\",\n       *   role: \"privacy_officer\",\n       *   user_id: \"user-uuid\",\n       *   designated_at: new Date().toISOString(),\n       *   designated_by_id: \"admin-user-uuid\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateComplianceOfficerDesignationAttributes,\n        options?: RequestOptions,\n      ): Promise<ComplianceOfficerDesignation> => {\n        const {\n          application_id,\n          role,\n          user_id,\n          designated_at,\n          designated_by_id,\n        } = attributes;\n\n        return rb.execute<ComplianceOfficerDesignation>(\n          postAdminComplianceOfficerDesignations,\n          {\n            body: {\n              data: {\n                type: \"compliance-officer-designation\",\n                attributes: {\n                  application_id,\n                  role,\n                  user_id,\n                  designated_at,\n                  designated_by_id,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Revoke a compliance officer designation.\n       *\n       * @param id - Designation UUID.\n       * @param options - Optional request options.\n       * @returns The revoked `ComplianceOfficerDesignation`.\n       *\n       * @example\n       * ```typescript\n       * const designation = await admin.compliance.complianceOfficerDesignations.revoke(\"designation-uuid\");\n       * ```\n       */\n      revoke: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ComplianceOfficerDesignation> => {\n        return rb.execute<ComplianceOfficerDesignation>(\n          patchAdminComplianceOfficerDesignationsByIdRevoke,\n          {\n            path: { id },\n            body: { data: { type: \"compliance-officer-designation\", id } },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Compliance Requirements — workforce training and attestation rules.\n     */\n    complianceRequirements: {\n      /**\n       * List compliance requirements.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `ComplianceRequirement` records.\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<ComplianceRequirement[]> => {\n        return rb.execute<ComplianceRequirement[]>(\n          getAdminComplianceRequirements,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a compliance requirement by ID.\n       *\n       * @param id - Requirement UUID.\n       * @param options - Optional request options.\n       * @returns The matching `ComplianceRequirement`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ComplianceRequirement> => {\n        return rb.execute<ComplianceRequirement>(\n          getAdminComplianceRequirementsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a compliance requirement.\n       *\n       * @param attributes - Requirement attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `ComplianceRequirement`.\n       *\n       * @example\n       * ```typescript\n       * const requirement = await admin.compliance.complianceRequirements.create({\n       *   application_id: \"application-uuid\",\n       *   requirement_type: \"training\",\n       *   title: \"Annual HIPAA training\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateComplianceRequirementAttributes,\n        options?: RequestOptions,\n      ): Promise<ComplianceRequirement> => {\n        const {\n          application_id,\n          requirement_type,\n          legal_document_id,\n          title,\n          description,\n          required_for_roles,\n          deadline,\n          is_blocking,\n          recurring,\n          recurrence_days,\n          framework,\n        } = attributes;\n\n        return rb.execute<ComplianceRequirement>(\n          postAdminComplianceRequirements,\n          {\n            body: {\n              data: {\n                type: \"compliance-requirement\",\n                attributes: {\n                  application_id,\n                  requirement_type,\n                  legal_document_id,\n                  title,\n                  description,\n                  required_for_roles,\n                  deadline,\n                  is_blocking,\n                  recurring,\n                  recurrence_days,\n                  framework,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update a compliance requirement.\n       *\n       * @param id - Requirement UUID.\n       * @param attributes - Fields to update.\n       * @param options - Optional request options.\n       * @returns The updated `ComplianceRequirement`.\n       *\n       * @example\n       * ```typescript\n       * const requirement = await admin.compliance.complianceRequirements.update(\n       *   \"requirement-uuid\",\n       *   { is_blocking: true },\n       * );\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateComplianceRequirementAttributes,\n        options?: RequestOptions,\n      ): Promise<ComplianceRequirement> => {\n        const {\n          title,\n          description,\n          required_for_roles,\n          deadline,\n          is_blocking,\n          recurring,\n          recurrence_days,\n          framework,\n        } = attributes;\n\n        return rb.execute<ComplianceRequirement>(\n          patchAdminComplianceRequirementsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"compliance-requirement\",\n                id,\n                attributes: {\n                  title,\n                  description,\n                  required_for_roles,\n                  deadline,\n                  is_blocking,\n                  recurring,\n                  recurrence_days,\n                  framework,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a compliance requirement.\n       *\n       * @param id - Requirement UUID.\n       * @param options - Optional request options.\n       * @returns `true` on successful deletion.\n       *\n       * @example\n       * ```typescript\n       * await admin.compliance.complianceRequirements.delete(\"requirement-uuid\");\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminComplianceRequirementsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Compliance Requirement Completions — append-only completion records.\n     */\n    complianceRequirementCompletions: {\n      /**\n       * List compliance requirement completions.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `ComplianceRequirementCompletion` records.\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<ComplianceRequirementCompletion[]> => {\n        return rb.execute<ComplianceRequirementCompletion[]>(\n          getAdminComplianceRequirementCompletions,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a compliance requirement completion by ID.\n       *\n       * @param id - Completion UUID.\n       * @param options - Optional request options.\n       * @returns The matching `ComplianceRequirementCompletion`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ComplianceRequirementCompletion> => {\n        return rb.execute<ComplianceRequirementCompletion>(\n          getAdminComplianceRequirementCompletionsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a compliance requirement completion.\n       *\n       * @param attributes - Completion attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `ComplianceRequirementCompletion`.\n       *\n       * @example\n       * ```typescript\n       * const completion = await admin.compliance.complianceRequirementCompletions.create({\n       *   user_id: \"user-uuid\",\n       *   requirement_id: \"requirement-uuid\",\n       *   completed_at: new Date().toISOString(),\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateComplianceRequirementCompletionAttributes,\n        options?: RequestOptions,\n      ): Promise<ComplianceRequirementCompletion> => {\n        const { user_id, completed_at, evidence, requirement_id } = attributes;\n\n        return rb.execute<ComplianceRequirementCompletion>(\n          postAdminComplianceRequirementCompletions,\n          {\n            body: {\n              data: {\n                type: \"compliance-requirement-completion\",\n                attributes: { user_id, completed_at, evidence, requirement_id },\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * CDE Scope Reports — PCI-DSS Cardholder Data Environment scope reports.\n     */\n    cdeScopeReports: {\n      /**\n       * List CDE scope reports.\n       *\n       * @param options - Optional JSON:API query and request options.\n       * @returns An array of `CdeScopeReport` records.\n       */\n      list: async (\n        options?: JsonApiQueryOptions,\n      ): Promise<CdeScopeReport[]> => {\n        return rb.execute<CdeScopeReport[]>(\n          getAdminCdeScopeReports,\n          buildJsonApiQuery(options),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a CDE scope report by ID.\n       *\n       * @param id - CDE scope report UUID.\n       * @param options - Optional request options.\n       * @returns The matching `CdeScopeReport`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<CdeScopeReport> => {\n        return rb.execute<CdeScopeReport>(\n          getAdminCdeScopeReportsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a CDE scope report.\n       *\n       * @param attributes - CDE scope report attributes.\n       * @param options - Optional request options.\n       * @returns The newly created `CdeScopeReport`.\n       *\n       * @example\n       * ```typescript\n       * const report = await admin.compliance.cdeScopeReports.create({\n       *   workspace_id: \"workspace-uuid\",\n       *   scope_boundary: \"connected\",\n       *   data_flow_map: { payments: [\"tokenized_checkout\"] },\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateCdeScopeReportAttributes,\n        options?: RequestOptions,\n      ): Promise<CdeScopeReport> => {\n        const { workspace_id, scope_boundary, data_flow_map, assessor_notes } =\n          attributes;\n\n        return rb.execute<CdeScopeReport>(\n          postAdminCdeScopeReports,\n          {\n            body: {\n              data: {\n                type: \"cde-scope-report\",\n                attributes: {\n                  workspace_id,\n                  scope_boundary,\n                  data_flow_map,\n                  assessor_notes,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a CDE scope report.\n       *\n       * @param id - CDE scope report UUID.\n       * @param options - Optional request options.\n       * @returns `true` on successful deletion.\n       *\n       * @example\n       * ```typescript\n       * await admin.compliance.cdeScopeReports.delete(\"report-uuid\");\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminCdeScopeReportsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Breach Incidents — data breach tracking for ISV administrators.\n     *\n     * Provides the same lifecycle management as the client namespace, but\n     * scoped to the ISV's admin surface (`/admin/breach-incidents/`).\n     */\n    breachIncidents: {\n      /**\n       * List breach incidents.\n       *\n       * @param options - Optional page number, page size, and request options.\n       * @returns An array of `BreachIncident` records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<BreachIncident[]> => {\n        return rb.execute<BreachIncident[]>(\n          getAdminBreachIncidents,\n          buildPageQuery(options?.page, options?.pageSize),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single breach incident by ID.\n       *\n       * @param id - The UUID of the breach incident.\n       * @param options - Optional request options.\n       * @returns The matching `BreachIncident`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<BreachIncident> => {\n        return rb.execute<BreachIncident>(\n          getAdminBreachIncidentsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Report a new breach incident.\n       *\n       * @param attributes - Incident details. `incident_type` and `discovery_date` are required.\n       * @param options - Optional request options.\n       * @returns The newly created `BreachIncident`.\n       *\n       * @example\n       * ```typescript\n       * const incident = await admin.compliance.breachIncidents.create({\n       *   workspace_id: \"workspace-uuid\",\n       *   incident_type: \"unauthorized_access\",\n       *   severity: \"high\",\n       *   discovery_date: new Date().toISOString(),\n       *   description: \"Unauthorized read of patient records from internal IP.\",\n       *   affected_count: 12,\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateBreachIncidentAttributes,\n        options?: RequestOptions,\n      ): Promise<BreachIncident> => {\n        return rb.execute<BreachIncident>(\n          postAdminBreachIncidents,\n          { body: { data: { type: \"breach-incident\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update the status of a breach incident.\n       *\n       * @param id - The UUID of the breach incident.\n       * @param attributes - Status update fields.\n       * @param options - Optional request options.\n       * @returns The updated `BreachIncident`.\n       *\n       * @example\n       * ```typescript\n       * const incident = await admin.compliance.breachIncidents.updateStatus(\"incident-uuid\", {\n       *   status: \"contained\",\n       * });\n       * ```\n       */\n      updateStatus: async (\n        id: string,\n        attributes: UpdateBreachIncidentStatusAttributes,\n        options?: RequestOptions,\n      ): Promise<BreachIncident> => {\n        return rb.execute<BreachIncident>(\n          patchAdminBreachIncidentsByIdStatus,\n          {\n            path: { id },\n            body: { data: { type: \"breach-incident\", id, attributes } },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Data Subject Requests — GDPR/HIPAA DSR lifecycle for ISV administrators.\n     *\n     * Manage data subject access, erasure, and other rights requests from the\n     * admin surface (`/admin/data-subject-requests/`).\n     */\n    dataSubjectRequests: {\n      /**\n       * List data subject requests.\n       *\n       * @param options - Optional page number, page size, and request options.\n       * @returns An array of `DataSubjectRequest` records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<DataSubjectRequest[]> => {\n        return rb.execute<DataSubjectRequest[]>(\n          getAdminDataSubjectRequests,\n          buildPageQuery(options?.page, options?.pageSize),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single data subject request by ID.\n       *\n       * @param id - The UUID of the data subject request.\n       * @param options - Optional request options.\n       * @returns The matching `DataSubjectRequest`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<DataSubjectRequest> => {\n        return rb.execute<DataSubjectRequest>(\n          getAdminDataSubjectRequestsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Open a new data subject request.\n       *\n       * @param attributes - Request details. `request_type`, `data_subject_email`, and `requested_by` are required.\n       * @param options - Optional request options.\n       * @returns The newly created `DataSubjectRequest`.\n       *\n       * @example\n       * ```typescript\n       * const request = await admin.compliance.dataSubjectRequests.create({\n       *   workspace_id: \"workspace-uuid\",\n       *   request_type: \"access\",\n       *   data_subject_email: \"patient@example.com\",\n       *   requested_by: \"privacy-officer@example.com\",\n       *   due_date: \"2026-06-15\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateDataSubjectRequestAttributes,\n        options?: RequestOptions,\n      ): Promise<DataSubjectRequest> => {\n        return rb.execute<DataSubjectRequest>(\n          postAdminDataSubjectRequests,\n          { body: { data: { type: \"data-subject-request\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update the status of a data subject request.\n       *\n       * @param id - The UUID of the data subject request.\n       * @param attributes - Status update fields.\n       * @param options - Optional request options.\n       * @returns The updated `DataSubjectRequest`.\n       *\n       * @example\n       * ```typescript\n       * const request = await admin.compliance.dataSubjectRequests.updateStatus(\"request-uuid\", {\n       *   status: \"completed\",\n       * });\n       * ```\n       */\n      updateStatus: async (\n        id: string,\n        attributes: UpdateDataSubjectRequestStatusAttributes,\n        options?: RequestOptions,\n      ): Promise<DataSubjectRequest> => {\n        return rb.execute<DataSubjectRequest>(\n          patchAdminDataSubjectRequestsByIdStatus,\n          {\n            path: { id },\n            body: { data: { type: \"data-subject-request\", id, attributes } },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Retention Policies — data lifecycle rules for ISV administrators.\n     *\n     * Create and manage retention policies from the admin surface\n     * (`/admin/retention-policies/`).\n     */\n    retentionPolicies: {\n      /**\n       * List retention policies.\n       *\n       * @param options - Optional page number, page size, and request options.\n       * @returns An array of `RetentionPolicy` records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<RetentionPolicy[]> => {\n        return rb.execute<RetentionPolicy[]>(\n          getAdminRetentionPolicies,\n          buildPageQuery(options?.page, options?.pageSize),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single retention policy by ID.\n       *\n       * @param id - The UUID of the retention policy.\n       * @param options - Optional request options.\n       * @returns The matching `RetentionPolicy`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<RetentionPolicy> => {\n        return rb.execute<RetentionPolicy>(\n          getAdminRetentionPoliciesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new retention policy.\n       *\n       * @param attributes - Policy attributes. `data_type`, `retention_days`, and `action_on_expiry` are required.\n       * @param options - Optional request options.\n       * @returns The newly created `RetentionPolicy`.\n       *\n       * @example\n       * ```typescript\n       * const policy = await admin.compliance.retentionPolicies.create({\n       *   workspace_id: \"workspace-uuid\",\n       *   data_type: \"clinical_notes\",\n       *   retention_days: 2555,\n       *   action_on_expiry: \"archive\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateRetentionPolicyAttributes,\n        options?: RequestOptions,\n      ): Promise<RetentionPolicy> => {\n        return rb.execute<RetentionPolicy>(\n          postAdminRetentionPolicies,\n          { body: { data: { type: \"retention-policy\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update a retention policy.\n       *\n       * @param id - The UUID of the retention policy to update.\n       * @param attributes - Fields to change.\n       * @param options - Optional request options.\n       * @returns The updated `RetentionPolicy`.\n       *\n       * @example\n       * ```typescript\n       * const policy = await admin.compliance.retentionPolicies.update(\"policy-uuid\", {\n       *   retention_days: 3650,\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateRetentionPolicyAttributes,\n        options?: RequestOptions,\n      ): Promise<RetentionPolicy> => {\n        return rb.execute<RetentionPolicy>(\n          patchAdminRetentionPoliciesById,\n          {\n            path: { id },\n            body: { data: { type: \"retention-policy\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a retention policy.\n       *\n       * @param id - The UUID of the retention policy to delete.\n       * @param options - Optional request options.\n       * @returns `true` on successful deletion.\n       *\n       * @example\n       * ```typescript\n       * await admin.compliance.retentionPolicies.delete(\"policy-uuid\");\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminRetentionPoliciesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Risk Assessments — formal risk evaluation for ISV administrators.\n     *\n     * Create, review, and manage risk assessments from the admin surface\n     * (`/admin/risk-assessments/`).\n     */\n    riskAssessments: {\n      /**\n       * List risk assessments.\n       *\n       * @param options - Optional page number, page size, and request options.\n       * @returns An array of `RiskAssessment` records.\n       */\n      list: async (\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ): Promise<RiskAssessment[]> => {\n        return rb.execute<RiskAssessment[]>(\n          getAdminRiskAssessments,\n          buildPageQuery(options?.page, options?.pageSize),\n          options,\n        );\n      },\n\n      /**\n       * Retrieve a single risk assessment by ID.\n       *\n       * @param id - The UUID of the risk assessment.\n       * @param options - Optional request options.\n       * @returns The matching `RiskAssessment`.\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<RiskAssessment> => {\n        return rb.execute<RiskAssessment>(\n          getAdminRiskAssessmentsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a new risk assessment.\n       *\n       * @param attributes - Assessment attributes. `workspace_id`, `assessment_type`, and `risk_level` are required.\n       * @param options - Optional request options.\n       * @returns The newly created `RiskAssessment`.\n       *\n       * @example\n       * ```typescript\n       * const assessment = await admin.compliance.riskAssessments.create({\n       *   workspace_id: \"workspace-uuid\",\n       *   assessment_type: \"hipaa_security_risk\",\n       *   risk_level: \"medium\",\n       *   title: \"Annual HIPAA security risk assessment\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateRiskAssessmentAttributes,\n        options?: RequestOptions,\n      ): Promise<RiskAssessment> => {\n        return rb.execute<RiskAssessment>(\n          postAdminRiskAssessments,\n          { body: { data: { type: \"risk-assessment\", attributes } } },\n          options,\n        );\n      },\n\n      /**\n       * Update the status of a risk assessment.\n       *\n       * @param id - The UUID of the risk assessment.\n       * @param attributes - Status update fields.\n       * @param options - Optional request options.\n       * @returns The updated `RiskAssessment`.\n       *\n       * @example\n       * ```typescript\n       * const assessment = await admin.compliance.riskAssessments.updateStatus(\"assessment-uuid\", {\n       *   status: \"reviewed\",\n       * });\n       * ```\n       */\n      updateStatus: async (\n        id: string,\n        attributes: UpdateRiskAssessmentStatusAttributes,\n        options?: RequestOptions,\n      ): Promise<RiskAssessment> => {\n        return rb.execute<RiskAssessment>(\n          patchAdminRiskAssessmentsByIdStatus,\n          {\n            path: { id },\n            body: { data: { type: \"risk-assessment\", id, attributes } },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a risk assessment.\n       *\n       * @param id - The UUID of the risk assessment to delete.\n       * @param options - Optional request options.\n       * @returns `true` on successful deletion.\n       *\n       * @example\n       * ```typescript\n       * await admin.compliance.riskAssessments.delete(\"assessment-uuid\");\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> => {\n        return rb.executeDelete(\n          deleteAdminRiskAssessmentsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n  };\n}\n","/**\n * Pipeline node execution tracking — read-only access to per-node execution\n * status, timing, and output data within pipeline executions.\n */\n\n// Generated functions — verify names against sdk.gen.ts after mix update.sdks\nimport {\n  getAdminPipelineNodeExecutionsById,\n  getAdminPipelineNodeExecutionsByExecutionByPipelineExecutionId,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport type { RequestBuilder } from \"../request-builder\";\n\n/** Node execution status */\nexport type PipelineNodeExecutionStatus =\n  | \"pending\"\n  | \"running\"\n  | \"completed\"\n  | \"failed\"\n  | \"skipped\";\n\n/** Pipeline node execution response type */\nexport interface PipelineNodeExecution {\n  id: string;\n  pipeline_execution_id: string;\n  pipeline_node_id: string;\n  node_key: string;\n  node_type: \"prompt\" | \"command\" | \"connector_exec\" | \"checkpoint\";\n  phase?: \"define\" | \"plan\" | \"build\" | \"verify\" | \"review\" | \"ship\" | null;\n  status: PipelineNodeExecutionStatus;\n  agent_execution_id?: string | null;\n  input?: Record<string, unknown> | null;\n  output?: Record<string, unknown> | null;\n  error?: Record<string, unknown> | null;\n  tokens_used?: number | null;\n  credits_charged?: string | null;\n  duration_ms?: number | null;\n  started_at?: string | null;\n  completed_at?: string | null;\n  quality_scores?: Record<string, unknown> | null;\n  criteria?: Array<Record<string, unknown>> | null;\n  inserted_at: string;\n  updated_at: string;\n}\n\n/**\n * Creates the pipeline node executions namespace with read-only operations.\n *\n * @example\n * ```typescript\n * const nodeExecs = await admin.pipelineNodeExecutions.listByExecution(executionId);\n * const nodeExec = await admin.pipelineNodeExecutions.get(nodeExecId);\n * ```\n */\nexport function createPipelineNodeExecutionsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Get a pipeline node execution by ID.\n     *\n     * @param id - Pipeline node execution UUID\n     * @param options - Request options\n     * @returns The pipeline node execution\n     */\n    async get(\n      id: string,\n      options?: RequestOptions,\n    ): Promise<PipelineNodeExecution> {\n      const response = await rb.execute<PipelineNodeExecution>(\n        getAdminPipelineNodeExecutionsById,\n        {\n          params: { path: { id } },\n          ...options,\n        },\n      );\n      return response;\n    },\n\n    /**\n     * List node executions for a pipeline execution.\n     *\n     * @param pipelineExecutionId - Pipeline execution UUID\n     * @param options - Request options\n     * @returns Array of node executions for the pipeline execution\n     */\n    async listByExecution(\n      pipelineExecutionId: string,\n      options?: RequestOptions,\n    ): Promise<PipelineNodeExecution[]> {\n      const response = await rb.execute<PipelineNodeExecution[]>(\n        getAdminPipelineNodeExecutionsByExecutionByPipelineExecutionId,\n        {\n          params: { path: { pipeline_execution_id: pipelineExecutionId } },\n          ...options,\n        },\n      );\n      return response;\n    },\n  };\n}\n","/**\n * Pipeline node management — create, update, delete, and query individual\n * nodes within multi-node agent pipelines.\n *\n * Pipeline nodes represent individual steps in a pipeline DAG. Each node has\n * a type (prompt, command, connector_exec, checkpoint), an optional phase\n * (define, plan, build, verify, review, ship), and dependency declarations.\n */\n\n// Generated functions — verify names against sdk.gen.ts after mix update.sdks\nimport {\n  getAdminPipelineNodes,\n  getAdminPipelineNodesById,\n  getAdminPipelineNodesByPipelineByPipelineId,\n  postAdminPipelineNodes,\n  patchAdminPipelineNodesById,\n  deleteAdminPipelineNodesById,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport type { RequestBuilder } from \"../request-builder\";\n\n/** Node type classification */\nexport type PipelineNodeType =\n  | \"prompt\"\n  | \"command\"\n  | \"connector_exec\"\n  | \"checkpoint\";\n\n/** Lifecycle phase for ISV portal workflow */\nexport type PipelineNodePhase =\n  | \"define\"\n  | \"plan\"\n  | \"build\"\n  | \"verify\"\n  | \"review\"\n  | \"ship\";\n\n/** Pipeline node response type */\nexport interface PipelineNode {\n  id: string;\n  pipeline_id: string;\n  node_key: string;\n  node_type: PipelineNodeType;\n  label: string;\n  description?: string | null;\n  position_x: number;\n  position_y: number;\n  order: number;\n  phase?: PipelineNodePhase | null;\n  agent_id?: string | null;\n  prompt_template?: string | null;\n  model_id?: string | null;\n  tool_grants?: string[] | null;\n  action_type?: string | null;\n  action_config?: Record<string, unknown> | null;\n  connector_type?: string | null;\n  command_template?: string | null;\n  slot_definitions?: Record<string, unknown> | null;\n  approval_message?: string | null;\n  depends_on: string[];\n  inputs?: Record<string, unknown> | null;\n  output_schema?: Record<string, unknown> | null;\n  timeout_ms?: number | null;\n  max_retries: number;\n  condition?: Record<string, unknown> | null;\n  acceptance_criteria?: Array<Record<string, unknown>> | null;\n  feedback_loop_acknowledged: boolean;\n  inserted_at: string;\n  updated_at: string;\n}\n\n/** Attributes for creating a pipeline node */\nexport interface CreatePipelineNodeAttributes {\n  /** UUID of the parent pipeline (required) */\n  pipeline_id: string;\n  /** Unique key within the pipeline, lowercase snake_case (required) */\n  node_key: string;\n  /** Node type classification (required) */\n  node_type: PipelineNodeType;\n  /** Human-readable label (required) */\n  label: string;\n  /** Optional description */\n  description?: string;\n  /** Canvas X position */\n  position_x?: number;\n  /** Canvas Y position */\n  position_y?: number;\n  /** Execution order within phase */\n  order?: number;\n  /** Lifecycle phase */\n  phase?: PipelineNodePhase;\n  /** Agent to execute (for prompt nodes) */\n  agent_id?: string;\n  /** Prompt template (for prompt nodes without agent_id) */\n  prompt_template?: string;\n  /** LLM model override */\n  model_id?: string;\n  /** Tool grants for the agent */\n  tool_grants?: string[];\n  /** Action type (for command nodes) */\n  action_type?: string;\n  /** Action configuration */\n  action_config?: Record<string, unknown>;\n  /** Connector type (for connector_exec nodes) */\n  connector_type?: string;\n  /** Command template */\n  command_template?: string;\n  /** Slot definitions for input/output mapping */\n  slot_definitions?: Record<string, unknown>;\n  /** Approval message (for checkpoint nodes) */\n  approval_message?: string;\n  /** Node IDs this node depends on */\n  depends_on?: string[];\n  /** Input mappings (dot-path resolution) */\n  inputs?: Record<string, unknown>;\n  /** Expected output JSON Schema */\n  output_schema?: Record<string, unknown>;\n  /** Execution timeout in milliseconds */\n  timeout_ms?: number;\n  /** Maximum retry attempts */\n  max_retries?: number;\n  /** Conditional execution rule */\n  condition?: Record<string, unknown>;\n  /** Acceptance criteria for quality gating */\n  acceptance_criteria?: Array<Record<string, unknown>>;\n  /** Acknowledge feedback loop in DAG */\n  feedback_loop_acknowledged?: boolean;\n}\n\n/** Attributes for updating a pipeline node (all optional) */\nexport interface UpdatePipelineNodeAttributes {\n  label?: string;\n  description?: string;\n  position_x?: number;\n  position_y?: number;\n  order?: number;\n  phase?: PipelineNodePhase;\n  agent_id?: string;\n  prompt_template?: string;\n  model_id?: string;\n  tool_grants?: string[];\n  action_type?: string;\n  action_config?: Record<string, unknown>;\n  connector_type?: string;\n  command_template?: string;\n  slot_definitions?: Record<string, unknown>;\n  approval_message?: string;\n  depends_on?: string[];\n  inputs?: Record<string, unknown>;\n  output_schema?: Record<string, unknown>;\n  timeout_ms?: number;\n  max_retries?: number;\n  condition?: Record<string, unknown>;\n  acceptance_criteria?: Array<Record<string, unknown>>;\n  feedback_loop_acknowledged?: boolean;\n}\n\n/**\n * Creates the pipeline nodes namespace with typed CRUD operations.\n *\n * @example\n * ```typescript\n * const node = await admin.pipelineNodes.create({\n *   pipeline_id: pipelineId,\n *   node_key: \"clarify_intent\",\n *   node_type: \"prompt\",\n *   label: \"Clarify Intent\",\n *   agent_id: agentId,\n *   phase: \"define\",\n *   depends_on: [],\n * });\n *\n * const nodes = await admin.pipelineNodes.listByPipeline(pipelineId);\n * ```\n */\nexport function createPipelineNodesNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List all pipeline nodes across all pipelines (global index, policy-scoped).\n     * For pipeline-specific listing, prefer {@link listByPipeline}.\n     *\n     * @param options - Request options (filters, pagination, includes)\n     * @returns Array of pipeline nodes\n     */\n    async list(options?: RequestOptions): Promise<PipelineNode[]> {\n      const response = await rb.execute<PipelineNode[]>(getAdminPipelineNodes, {\n        ...options,\n      });\n      return response;\n    },\n\n    /**\n     * Get a pipeline node by ID.\n     *\n     * @param id - Pipeline node UUID\n     * @param options - Request options\n     * @returns The pipeline node\n     */\n    async get(id: string, options?: RequestOptions): Promise<PipelineNode> {\n      const response = await rb.execute<PipelineNode>(\n        getAdminPipelineNodesById,\n        {\n          params: { path: { id } },\n          ...options,\n        },\n      );\n      return response;\n    },\n\n    /**\n     * List pipeline nodes for a specific pipeline.\n     *\n     * @param pipelineId - Pipeline UUID\n     * @param options - Request options\n     * @returns Array of pipeline nodes belonging to the pipeline\n     */\n    async listByPipeline(\n      pipelineId: string,\n      options?: RequestOptions,\n    ): Promise<PipelineNode[]> {\n      const response = await rb.execute<PipelineNode[]>(\n        getAdminPipelineNodesByPipelineByPipelineId,\n        {\n          params: { path: { pipeline_id: pipelineId } },\n          ...options,\n        },\n      );\n      return response;\n    },\n\n    /**\n     * Create a new pipeline node.\n     *\n     * @param attributes - Node attributes (pipeline_id, node_key, node_type, label required)\n     * @param options - Request options\n     * @returns The created pipeline node\n     */\n    async create(\n      attributes: CreatePipelineNodeAttributes,\n      options?: RequestOptions,\n    ): Promise<PipelineNode> {\n      const {\n        pipeline_id,\n        node_key,\n        node_type,\n        label,\n        description,\n        position_x,\n        position_y,\n        order,\n        phase,\n        agent_id,\n        prompt_template,\n        model_id,\n        tool_grants,\n        action_type,\n        action_config,\n        connector_type,\n        command_template,\n        slot_definitions,\n        approval_message,\n        depends_on,\n        inputs,\n        output_schema,\n        timeout_ms,\n        max_retries,\n        condition,\n        acceptance_criteria,\n        feedback_loop_acknowledged,\n      } = attributes;\n\n      const response = await rb.execute<PipelineNode>(postAdminPipelineNodes, {\n        body: {\n          data: {\n            type: \"pipeline-node\",\n            attributes: {\n              pipeline_id,\n              node_key,\n              node_type,\n              label,\n              description,\n              position_x,\n              position_y,\n              order,\n              phase,\n              agent_id,\n              prompt_template,\n              model_id,\n              tool_grants,\n              action_type,\n              action_config,\n              connector_type,\n              command_template,\n              slot_definitions,\n              approval_message,\n              depends_on,\n              inputs,\n              output_schema,\n              timeout_ms,\n              max_retries,\n              condition,\n              acceptance_criteria,\n              feedback_loop_acknowledged,\n            },\n          },\n        },\n        ...options,\n      });\n      return response;\n    },\n\n    /**\n     * Update a pipeline node.\n     *\n     * @param id - Pipeline node UUID\n     * @param attributes - Attributes to update\n     * @param options - Request options\n     * @returns The updated pipeline node\n     */\n    async update(\n      id: string,\n      attributes: UpdatePipelineNodeAttributes,\n      options?: RequestOptions,\n    ): Promise<PipelineNode> {\n      const {\n        label,\n        description,\n        position_x,\n        position_y,\n        order,\n        phase,\n        agent_id,\n        prompt_template,\n        model_id,\n        tool_grants,\n        action_type,\n        action_config,\n        connector_type,\n        command_template,\n        slot_definitions,\n        approval_message,\n        depends_on,\n        inputs,\n        output_schema,\n        timeout_ms,\n        max_retries,\n        condition,\n        acceptance_criteria,\n        feedback_loop_acknowledged,\n      } = attributes;\n\n      const response = await rb.execute<PipelineNode>(\n        patchAdminPipelineNodesById,\n        {\n          params: { path: { id } },\n          body: {\n            data: {\n              type: \"pipeline-node\",\n              id,\n              attributes: {\n                label,\n                description,\n                position_x,\n                position_y,\n                order,\n                phase,\n                agent_id,\n                prompt_template,\n                model_id,\n                tool_grants,\n                action_type,\n                action_config,\n                connector_type,\n                command_template,\n                slot_definitions,\n                approval_message,\n                depends_on,\n                inputs,\n                output_schema,\n                timeout_ms,\n                max_retries,\n                condition,\n                acceptance_criteria,\n                feedback_loop_acknowledged,\n              },\n            },\n          },\n          ...options,\n        },\n      );\n      return response;\n    },\n\n    /**\n     * Delete a pipeline node.\n     *\n     * @param id - Pipeline node UUID\n     * @param options - Request options\n     */\n    async delete(id: string, options?: RequestOptions): Promise<void> {\n      await rb.execute(deleteAdminPipelineNodesById, {\n        params: { path: { id } },\n        ...options,\n      });\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Pipeline management namespace for agent execution pipelines\n\nimport {\n  getAdminPipelines,\n  getAdminPipelinesById,\n  getAdminPipelinesBySlugBySlug,\n  postAdminPipelines,\n  patchAdminPipelinesById,\n  deleteAdminPipelinesById,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport type { RequestBuilder } from \"../request-builder\";\n\n// Local function — trigger returns :map, incompatible with AshJsonApi post route type.\n// Exposed via custom Phoenix controller at POST /admin/pipelines/{id}/trigger instead.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst postAdminPipelinesByIdTrigger = (options: Record<string, any>) =>\n  (options.client ?? null).post({\n    url: \"/admin/pipelines/{id}/trigger\",\n    ...options,\n    headers: { \"Content-Type\": \"application/vnd.api+json\", ...options.headers },\n  });\n\n/** A reference to a file in Storage for multimodal agent input. */\nexport interface FileInput {\n  /** The UUID of the storage file (from `storage.requestUpload`). */\n  storage_file_id: string;\n  /** Optional label for this file (used in the LLM prompt as \"--- File: {label} ---\"). */\n  label?: string;\n}\n\n/** A pipeline resource. */\nexport interface Pipeline {\n  id: string;\n  name: string;\n  description: string | null;\n  application_id: string | null;\n  workspace_id: string | null;\n  trigger_type: \"manual\" | \"event\" | \"schedule\";\n  system_slug: string | null;\n  is_active: boolean;\n  workflow_type:\n    | \"build\"\n    | \"troubleshoot\"\n    | \"security_scan\"\n    | \"analyze\"\n    | \"evaluate\"\n    | \"custom\"\n    | null;\n  workflow_label: string | null;\n  pipeline_nodes_count: number;\n  inserted_at: string;\n  updated_at: string;\n}\n\n/** Attributes for creating a new pipeline. */\nexport interface CreatePipelineAttributes {\n  /** Pipeline name. */\n  name: string;\n  /** Optional description. */\n  description?: string;\n  /** Application that owns this pipeline. */\n  application_id?: string;\n  /** Workspace scope (null = application-level). */\n  workspace_id?: string;\n  /** How the pipeline is triggered: manual, event, or schedule. */\n  trigger_type?: \"manual\" | \"event\" | \"schedule\";\n  /** Stable identifier that survives database resets. Immutable after creation. Unique per application. */\n  system_slug?: string;\n  /** Workflow classification for ISV portal routing. */\n  workflow_type?:\n    | \"build\"\n    | \"troubleshoot\"\n    | \"security_scan\"\n    | \"analyze\"\n    | \"evaluate\"\n    | \"custom\";\n  /** Human-readable workflow label for display. */\n  workflow_label?: string;\n  /** DAG node graph definition. */\n  nodes: Record<\n    string,\n    | {\n        type?: \"agent\";\n        agent_id: string;\n        inputs?: Record<string, string>;\n        depends_on?: string[];\n        /** Optional condition — when false, node is skipped. */\n        condition?: {\n          /** Dot-path into execution context (e.g., \"pipeline_input.input_mode\") */\n          field: string;\n          /** Comparison operator */\n          op: \"eq\" | \"neq\" | \"in\" | \"present\";\n          /** Expected value(s) — not required for \"present\" */\n          value?: string | number | boolean | string[];\n        };\n      }\n    | {\n        type: \"approval\";\n        description?: string;\n        depends_on: string[];\n      }\n  >;\n  /** Whether the pipeline is active. */\n  is_active?: boolean;\n}\n\n/** Attributes for updating a pipeline. */\nexport interface UpdatePipelineAttributes {\n  name?: string;\n  description?: string;\n  nodes?: CreatePipelineAttributes[\"nodes\"];\n  is_active?: boolean;\n  trigger_type?: \"manual\" | \"event\" | \"schedule\";\n  /** Workflow classification for ISV portal routing. */\n  workflow_type?:\n    | \"build\"\n    | \"troubleshoot\"\n    | \"security_scan\"\n    | \"analyze\"\n    | \"evaluate\"\n    | \"custom\";\n  /** Human-readable workflow label for display. */\n  workflow_label?: string;\n}\n\n/** Attributes for triggering a pipeline execution. */\nexport interface TriggerPipelineAttributes {\n  /** Workspace context for execution. */\n  workspace_id: string;\n  /** Input data passed to the first pipeline node. */\n  input?: Record<string, unknown>;\n  /** Optional file references for multimodal pipeline input. */\n  file_inputs?: FileInput[];\n}\n\n/**\n * Creates the pipelines namespace for managing agent execution pipelines.\n *\n * @param rb - The request builder used for API communication.\n * @returns Pipelines namespace with CRUD + trigger methods.\n *\n * @example\n * ```typescript\n * // Create a pipeline\n * const pipeline = await admin.pipelines.create({\n *   name: \"Post-Session Pipeline\",\n *   application_id: appId,\n *   nodes: {\n *     metrics: { agent_id: metricsAgentId, inputs: {}, depends_on: [] },\n *     goals: { agent_id: goalsAgentId, inputs: { context: \"metrics.output\" }, depends_on: [\"metrics\"] },\n *   },\n * });\n *\n * // Trigger execution\n * const result = await admin.pipelines.trigger(pipeline.id, {\n *   workspace_id: wsId,\n *   input: { transcript: \"...\" },\n * });\n * ```\n */\nexport function createPipelinesNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List all pipelines.\n     *\n     * @param options - Optional request options.\n     * @returns Array of pipelines.\n     */\n    async list(options?: RequestOptions) {\n      return rb.execute(getAdminPipelines, {}, options);\n    },\n\n    /**\n     * Get a pipeline by ID.\n     *\n     * @param id - Pipeline UUID.\n     * @param options - Optional request options.\n     * @returns Pipeline resource.\n     */\n    async get(id: string, options?: RequestOptions) {\n      return rb.execute(getAdminPipelinesById, { path: { id } }, options);\n    },\n\n    /**\n     * Get a pipeline by its system slug, scoped to an application.\n     *\n     * @param slug - Pipeline system slug.\n     * @param options - Optional request options.\n     * @returns Pipeline resource, or not-found error.\n     *\n     * @example\n     * ```typescript\n     * const pipeline = await admin.pipelines.getBySlug(\"post-session-documentation\");\n     * ```\n     */\n    async getBySlug(slug: string, options?: RequestOptions) {\n      return rb.execute(\n        getAdminPipelinesBySlugBySlug,\n        { path: { slug } },\n        options,\n      );\n    },\n\n    /**\n     * Create a new pipeline.\n     *\n     * @param attributes - Pipeline configuration including node DAG.\n     * @param options - Optional request options.\n     * @returns Created pipeline resource.\n     */\n    async create(\n      attributes: CreatePipelineAttributes,\n      options?: RequestOptions,\n    ) {\n      return rb.execute(\n        postAdminPipelines,\n        { body: { data: { type: \"pipeline\", attributes } } },\n        options,\n      );\n    },\n\n    /**\n     * Update an existing pipeline.\n     *\n     * @param id - Pipeline UUID.\n     * @param attributes - Fields to update.\n     * @param options - Optional request options.\n     * @returns Updated pipeline resource.\n     */\n    async update(\n      id: string,\n      attributes: UpdatePipelineAttributes,\n      options?: RequestOptions,\n    ) {\n      return rb.execute(\n        patchAdminPipelinesById,\n        { path: { id }, body: { data: { type: \"pipeline\", id, attributes } } },\n        options,\n      );\n    },\n\n    /**\n     * Delete a pipeline.\n     *\n     * @param id - Pipeline UUID.\n     * @param options - Optional request options.\n     */\n    async delete(id: string, options?: RequestOptions) {\n      return rb.execute(deleteAdminPipelinesById, { path: { id } }, options);\n    },\n\n    /**\n     * List pipelines filtered by workflow type.\n     *\n     * @param workflowType - One of: 'build' | 'troubleshoot' | 'security_scan' | 'analyze' | 'evaluate' | 'custom'\n     * @param options - Optional request options.\n     * @returns Array of pipelines matching the workflow type.\n     *\n     * @example\n     * ```typescript\n     * const pipelines = await admin.pipelines.listByWorkflowType('build');\n     * ```\n     */\n    async listByWorkflowType(\n      workflowType:\n        | \"build\"\n        | \"troubleshoot\"\n        | \"security_scan\"\n        | \"analyze\"\n        | \"evaluate\"\n        | \"custom\",\n      options?: RequestOptions,\n    ): Promise<Pipeline[]> {\n      return rb.rawGet<Pipeline[]>(\n        `/admin/pipelines/by-workflow-type?workflow_type=${encodeURIComponent(workflowType)}`,\n        options,\n      );\n    },\n\n    /**\n     * Trigger pipeline execution.\n     *\n     * @param id - Pipeline UUID.\n     * @param attributes - Execution parameters including workspace_id and input.\n     * @param options - Optional request options.\n     * @returns `{ execution_id: string }` — async. Use `pipelineExecutions.get()` to poll status.\n     */\n    async trigger(\n      id: string,\n      attributes: TriggerPipelineAttributes,\n      options?: RequestOptions,\n    ) {\n      const { workspace_id, input, file_inputs } = attributes;\n      return rb.execute(\n        postAdminPipelinesByIdTrigger,\n        {\n          path: { id },\n          body: {\n            data: {\n              type: \"pipeline\",\n              attributes: {\n                pipeline_id: id,\n                workspace_id,\n                input,\n                file_inputs,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — PipelineExecution HITL checkpoint management\n\nimport type { RequestOptions } from \"../base-client\";\nimport type { RequestBuilder } from \"../request-builder\";\n\n/** Status of a pipeline execution. */\nexport type PipelineExecutionStatus =\n  | \"running\"\n  | \"awaiting_approval\"\n  | \"approved\"\n  | \"rejected\"\n  | \"completed\"\n  | \"failed\"\n  | \"expired\";\n\n/** A pipeline execution resource. */\nexport interface PipelineExecution {\n  id: string;\n  pipeline_id: string;\n  workspace_id: string | null;\n  status: PipelineExecutionStatus;\n  input: Record<string, unknown>;\n  node_outputs: Record<string, unknown>;\n  checkpoint_node: string | null;\n  checkpoint_data: Record<string, unknown> | null;\n  checkpoint_notes: string | null;\n  checkpoint_refinements: Array<{\n    node_id: string;\n    instruction: string;\n    timestamp: string;\n  }>;\n  checkpoint_session_id: string | null;\n  started_at: string;\n  completed_at: string | null;\n}\n\n/** Attributes for editing checkpoint data before approval. */\nexport interface UpdateCheckpointAttributes {\n  /** RD-edited output data. Corrected values flow into downstream nodes. */\n  checkpoint_data?: Record<string, unknown>;\n}\n\n/** Attributes for requesting AI refinement of a checkpoint node. */\nexport interface AiRefineAttributes {\n  /** The node ID to re-run with the instruction. */\n  node_id: string;\n  /** Natural language instruction for the refinement. */\n  instruction: string;\n}\n\n// Named request functions — match pipelines.ts convention\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst getAdminPipelineExecutionsById = (options: Record<string, any>) =>\n  (options.client ?? null).get({\n    url: \"/admin/pipeline-executions/{id}\",\n    ...options,\n  });\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst getAdminPipelineExecutions = (options: Record<string, any>) =>\n  (options.client ?? null).get({\n    url: \"/admin/pipeline-executions\",\n    ...options,\n  });\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst patchAdminPipelineExecutionsByIdApprove = (\n  options: Record<string, any>,\n) =>\n  (options.client ?? null).patch({\n    url: \"/admin/pipeline-executions/{id}/approve\",\n    ...options,\n    headers: { \"Content-Type\": \"application/vnd.api+json\", ...options.headers },\n  });\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst patchAdminPipelineExecutionsByIdReject = (options: Record<string, any>) =>\n  (options.client ?? null).patch({\n    url: \"/admin/pipeline-executions/{id}/reject\",\n    ...options,\n    headers: { \"Content-Type\": \"application/vnd.api+json\", ...options.headers },\n  });\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst patchAdminPipelineExecutionsByIdCheckpoint = (\n  options: Record<string, any>,\n) =>\n  (options.client ?? null).patch({\n    url: \"/admin/pipeline-executions/{id}/checkpoint\",\n    ...options,\n    headers: { \"Content-Type\": \"application/vnd.api+json\", ...options.headers },\n  });\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst patchAdminPipelineExecutionsByIdNote = (options: Record<string, any>) =>\n  (options.client ?? null).patch({\n    url: \"/admin/pipeline-executions/{id}/note\",\n    ...options,\n    headers: { \"Content-Type\": \"application/vnd.api+json\", ...options.headers },\n  });\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst patchAdminPipelineExecutionsByIdRefine = (options: Record<string, any>) =>\n  (options.client ?? null).patch({\n    url: \"/admin/pipeline-executions/{id}/refine\",\n    ...options,\n    headers: { \"Content-Type\": \"application/vnd.api+json\", ...options.headers },\n  });\n\n/**\n * Creates the pipelineExecutions namespace for managing HITL pipeline checkpoints.\n *\n * @param rb - The request builder used for API communication.\n * @returns Pipeline executions namespace.\n *\n * @example\n * ```typescript\n * // Poll status after triggering\n * const execution = await admin.pipelineExecutions.get(executionId);\n * if (execution.status === \"awaiting_approval\") {\n *   await admin.pipelineExecutions.updateCheckpoint(executionId, {\n *     checkpoint_data: { ...correctedValues },\n *   });\n *   await admin.pipelineExecutions.addNote(executionId, \"Corrected HbA1c from 7.8 to 7.2\");\n *   await admin.pipelineExecutions.approve(executionId);\n * }\n * ```\n */\nexport function createPipelineExecutionsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Get a pipeline execution by ID.\n     *\n     * @param id - Execution UUID.\n     * @param options - Optional request options.\n     * @returns PipelineExecution resource.\n     */\n    async get(id: string, options?: RequestOptions) {\n      return rb.execute(\n        getAdminPipelineExecutionsById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * List pipeline executions for a workspace.\n     *\n     * @param workspaceId - Workspace UUID to filter by.\n     * @param filters - Optional additional filters (status).\n     * @param options - Optional request options.\n     * @returns Array of PipelineExecution resources.\n     */\n    async list(\n      workspaceId: string,\n      filters?: { status?: PipelineExecutionStatus },\n      options?: RequestOptions,\n    ) {\n      return rb.execute(\n        getAdminPipelineExecutions,\n        { query: { workspace_id: workspaceId, ...filters } },\n        options,\n      );\n    },\n\n    /**\n     * Approve the current checkpoint. Pipeline resumes with current checkpoint_data.\n     * Only valid when status === \"awaiting_approval\".\n     *\n     * @param id - Execution UUID.\n     * @param options - Optional request options.\n     */\n    async approve(id: string, options?: RequestOptions) {\n      return rb.execute(\n        patchAdminPipelineExecutionsByIdApprove,\n        {\n          path: { id },\n          body: {\n            data: { type: \"pipeline-execution\", id, attributes: {} },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Reject the current checkpoint. Pipeline halts — no downstream nodes run.\n     * Only valid when status === \"awaiting_approval\".\n     *\n     * @param id - Execution UUID.\n     * @param options - Optional request options.\n     */\n    async reject(id: string, options?: RequestOptions) {\n      return rb.execute(\n        patchAdminPipelineExecutionsByIdReject,\n        {\n          path: { id },\n          body: {\n            data: { type: \"pipeline-execution\", id, attributes: {} },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Edit checkpoint_data before approving.\n     * Only valid when status === \"awaiting_approval\".\n     * Corrected values flow into all downstream pipeline nodes.\n     *\n     * @param id - Execution UUID.\n     * @param attributes - Fields to update.\n     * @param options - Optional request options.\n     */\n    async updateCheckpoint(\n      id: string,\n      attributes: UpdateCheckpointAttributes,\n      options?: RequestOptions,\n    ) {\n      return rb.execute(\n        patchAdminPipelineExecutionsByIdCheckpoint,\n        {\n          path: { id },\n          body: {\n            data: { type: \"pipeline-execution\", id, attributes },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Set the checkpoint note. Replaces any existing note.\n     * Only valid when status === \"awaiting_approval\".\n     *\n     * @param id - Execution UUID.\n     * @param note - Note text.\n     * @param options - Optional request options.\n     */\n    async addNote(id: string, note: string, options?: RequestOptions) {\n      return rb.execute(\n        patchAdminPipelineExecutionsByIdNote,\n        {\n          path: { id },\n          body: {\n            data: {\n              type: \"pipeline-execution\",\n              id,\n              attributes: { checkpoint_notes: note },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Request AI refinement of a specific checkpoint node.\n     * Only valid when status === \"awaiting_approval\".\n     *\n     * @param id - Execution UUID.\n     * @param nodeId - The node ID to re-run with the instruction.\n     * @param instruction - Natural language instruction for the refinement.\n     * @param options - Optional request options.\n     */\n    async aiRefine(\n      id: string,\n      nodeId: string,\n      instruction: string,\n      options?: RequestOptions,\n    ) {\n      return rb.execute(\n        patchAdminPipelineExecutionsByIdRefine,\n        {\n          path: { id },\n          body: {\n            data: {\n              type: \"pipeline-execution\",\n              id,\n              attributes: { node_id: nodeId, instruction },\n            },\n          },\n        },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly.\n\nimport {\n  getAdminTenants,\n  getAdminTenantsById,\n  postAdminTenants,\n  patchAdminTenantsById,\n  deleteAdminTenantsById,\n  postAdminTenantsByIdCredit,\n  postAdminTenantsByIdSchedulePurge,\n  patchAdminTenantsByIdTransferOwnership,\n  patchAdminTenantsByIdBranding,\n  patchAdminTenantsByIdAutoTopUp,\n  patchAdminTenantsByIdConvertToOrg,\n  patchAdminTenantsByIdSuspend,\n  patchAdminTenantsByIdUnsuspend,\n  patchAdminTenantsByIdCancel,\n  patchAdminTenantsByIdArchive,\n  patchAdminTenantsByIdDeactivate,\n  patchAdminTenantsByIdReactivate,\n  postAdminTenantsOrg,\n  postAdminTenantsPersonal,\n  postAdminTenantsIsv,\n  getAdminTenantsByTenantIdDocumentStats,\n  getAdminTenantsByTenantIdStats,\n  getAdminTenantsByTenantIdWorkspaceStats,\n} from \"../_internal/sdk.gen\";\nimport type { Tenant } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/** Attributes accepted when creating a tenant. */\nexport type CreateTenantAttributes = {\n  name: string;\n  slug?: string;\n  owner_id?: string;\n  parent_id?: string;\n  application_id?: string;\n  kind?: string;\n  logo_url?: string;\n  badge_url?: string;\n  training_price_credits?: number;\n  plan_tier?: string;\n  is_personal?: boolean;\n  vanity_slug?: string;\n  portal_overrides?: Record<string, unknown>;\n};\n\n/** Attributes accepted when creating an organization tenant. */\nexport type CreateOrgTenantAttributes = {\n  name: string;\n  slug?: string;\n  application_id?: string;\n};\n\n/** Attributes accepted when creating an ISV tenant. */\nexport type CreateIsvTenantAttributes = {\n  name: string;\n  slug?: string;\n  owner_id?: string;\n  logo_url?: string;\n  badge_url?: string;\n  kind?: string;\n  initial_credits?: number;\n};\n\n/** Attributes accepted when converting a personal tenant to an organization. */\nexport type ConvertToOrgAttributes = {\n  name: string;\n  slug?: string;\n  application_id?: string;\n};\n\n/** Attributes accepted when creating a personal tenant. */\nexport type CreatePersonalTenantAttributes = Record<string, never>;\n\n/** Attributes accepted when updating a tenant (PATCH semantics). */\nexport type UpdateTenantAttributes = {\n  name?: string;\n  slug?: string;\n  kind?: string;\n  parent_id?: string;\n  logo_url?: string;\n  badge_url?: string;\n  description?: string;\n  contact_email?: string;\n  contact_phone?: string;\n  training_price_credits?: number;\n  vanity_slug?: string;\n  plan_tier?: string;\n  storage_spending_cap_bytes?: number;\n  portal_overrides?: Record<string, unknown>;\n  metadata?: Record<string, unknown>;\n  /**\n   * Tenant-level MFA enforcement policy (D1).\n   *\n   * - `\"required\"`: every request scoped to this tenant must present a session\n   *   JWT with `mfa_satisfied: true`. Triggers the per-request `RequireTenantMfa`\n   *   plug — clients receive `401 tenant_mfa_required` and call\n   *   `client.identity.mfa.upgrade({ code })` to refresh.\n   * - `\"user_choice\"`: defer to per-user opt-in (default).\n   */\n  mfa_policy?: \"required\" | \"user_choice\";\n};\n\n/** Attributes for updating branding. */\nexport type UpdateBrandingAttributes = {\n  logo_url?: string;\n  badge_url?: string;\n};\n\n/** Attributes for auto top-up configuration. */\nexport type UpdateAutoTopUpAttributes = {\n  enabled: boolean;\n  threshold: number;\n  amount: number;\n  package_id?: string;\n};\n\nexport interface TenantLifecycleResult {\n  data: {\n    id: string;\n    status: string;\n  };\n}\n\nexport function createTenantsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List all tenants visible to the current actor.\n     *\n     * @param options - Optional request options (pagination, filters, sorting).\n     * @returns A list of `Tenant` records.\n     *\n     * @example\n     * ```ts\n     * const tenants = await admin.tenants.list();\n     * ```\n     */\n    list: async (options?: RequestOptions): Promise<Tenant[]> => {\n      return rb.execute<Tenant[]>(getAdminTenants, {}, options);\n    },\n\n    /**\n     * Get a tenant by ID.\n     *\n     * @param id - The UUID of the tenant.\n     * @param options - Optional request options.\n     * @returns The `Tenant` record.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.get(\"tenant-uuid\");\n     * ```\n     */\n    get: async (id: string, options?: RequestOptions): Promise<Tenant> => {\n      return rb.execute<Tenant>(getAdminTenantsById, { path: { id } }, options);\n    },\n\n    /**\n     * Create a new tenant.\n     *\n     * @param attributes - Tenant attributes (name is required).\n     * @param options - Optional request options.\n     * @returns The created `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.create({ name: \"Acme Corp\" });\n     * ```\n     */\n    create: async (\n      attributes: CreateTenantAttributes,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      const {\n        name,\n        slug,\n        owner_id,\n        parent_id,\n        application_id,\n        kind,\n        logo_url,\n        badge_url,\n        training_price_credits,\n        plan_tier,\n        is_personal,\n        vanity_slug,\n        portal_overrides,\n      } = attributes;\n\n      return rb.execute<Tenant>(\n        postAdminTenants,\n        {\n          body: {\n            data: {\n              type: \"tenant\",\n              attributes: {\n                name,\n                slug,\n                owner_id,\n                parent_id,\n                application_id,\n                kind,\n                logo_url,\n                badge_url,\n                training_price_credits,\n                plan_tier,\n                is_personal,\n                vanity_slug,\n                portal_overrides,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Update a tenant.\n     *\n     * @param id - The UUID of the tenant.\n     * @param attributes - Fields to update.\n     * @param options - Optional request options.\n     * @returns The updated `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.update(\"tenant-uuid\", { name: \"New Name\" });\n     * ```\n     */\n    update: async (\n      id: string,\n      attributes: UpdateTenantAttributes,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      const {\n        name,\n        slug,\n        kind,\n        parent_id,\n        logo_url,\n        badge_url,\n        description,\n        contact_email,\n        contact_phone,\n        training_price_credits,\n        vanity_slug,\n        plan_tier,\n        storage_spending_cap_bytes,\n        portal_overrides,\n        metadata,\n        mfa_policy,\n      } = attributes;\n\n      return rb.execute<Tenant>(\n        patchAdminTenantsById,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"tenant\",\n              attributes: {\n                name,\n                slug,\n                kind,\n                parent_id,\n                logo_url,\n                badge_url,\n                description,\n                contact_email,\n                contact_phone,\n                training_price_credits,\n                vanity_slug,\n                plan_tier,\n                storage_spending_cap_bytes,\n                portal_overrides,\n                metadata,\n                mfa_policy,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Delete a tenant.\n     *\n     * @param id - The UUID of the tenant.\n     * @param options - Optional request options.\n     *\n     * @example\n     * ```ts\n     * await admin.tenants.delete(\"tenant-uuid\");\n     * ```\n     *\n     * @returns Resolves when the tenant has been deleted.\n     */\n    delete: async (id: string, options?: RequestOptions): Promise<void> => {\n      return rb.execute<void>(\n        deleteAdminTenantsById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Allocate credits to a tenant.\n     *\n     * @param id - The UUID of the tenant.\n     * @param amount - Number of credits to allocate.\n     * @param options - Optional request options.\n     * @returns The updated `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.credit(\"tenant-uuid\", 1000);\n     * ```\n     */\n    credit: async (\n      id: string,\n      amount: number,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      return rb.execute<Tenant>(\n        postAdminTenantsByIdCredit,\n        {\n          path: { id },\n          body: { data: { type: \"tenant\", attributes: { amount } } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Schedule a tenant for data purge.\n     *\n     * @param id - The UUID of the tenant.\n     * @param options - Optional request options.\n     * @returns The updated `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.schedulePurge(\"tenant-uuid\");\n     * ```\n     */\n    schedulePurge: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      return rb.execute<Tenant>(\n        postAdminTenantsByIdSchedulePurge,\n        {\n          path: { id },\n          body: { data: { type: \"tenant\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Probe the tenant's storage backend. HEADs each of the tenant's three\n     * buckets (`public`, `private`, `processing`) in GCS/MinIO and returns\n     * a per-bucket status report.\n     *\n     * Platform-admin only. Returns `status: \"ok\"` when every bucket DB row\n     * exists AND every HEAD succeeds; `status: \"partial\"` otherwise.\n     *\n     * @param id - The UUID of the tenant.\n     * @param options - Optional request options.\n     * @returns The verification report.\n     *\n     * @example\n     * ```ts\n     * const report = await admin.tenants.verifyStorage(\"tenant-uuid\");\n     * // { tenant_id, status: \"ok\", buckets: [{ name, type, db_ok, gcs_ok }] }\n     * ```\n     */\n    verifyStorage: async (\n      id: string,\n      _options?: RequestOptions,\n    ): Promise<{\n      tenant_id: string;\n      status: \"ok\" | \"partial\";\n      buckets: Array<{\n        name: string;\n        type: \"public\" | \"private\" | \"processing\";\n        db_ok: boolean;\n        gcs_ok: boolean;\n      }>;\n    }> => {\n      const result = await rb.rawPost<{\n        data: {\n          tenant_id: string;\n          status: \"ok\" | \"partial\";\n          buckets: Array<{\n            name: string;\n            type: \"public\" | \"private\" | \"processing\";\n            db_ok: boolean;\n            gcs_ok: boolean;\n          }>;\n        };\n      }>(`/admin/tenants/${id}/verify-storage`, {});\n\n      return result.data;\n    },\n\n    /**\n     * Transfer ownership of a tenant to another admin member.\n     *\n     * @param id - The UUID of the tenant.\n     * @param newOwnerId - The UUID of the new owner (must be an admin member).\n     * @param options - Optional request options.\n     * @returns The updated `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.transferOwnership(\"tenant-uuid\", \"user-uuid\");\n     * ```\n     */\n    transferOwnership: async (\n      id: string,\n      newOwnerId: string,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      return rb.execute<Tenant>(\n        patchAdminTenantsByIdTransferOwnership,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"tenant\",\n              attributes: { new_owner_id: newOwnerId },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Update tenant branding (logo and badge).\n     *\n     * @param id - The UUID of the tenant.\n     * @param attributes - Branding attributes to update.\n     * @param options - Optional request options.\n     * @returns The updated `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.updateBranding(\"tenant-uuid\", {\n     *   logo_url: \"https://example.com/logo.png\",\n     * });\n     * ```\n     */\n    updateBranding: async (\n      id: string,\n      attributes: UpdateBrandingAttributes,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      const { logo_url, badge_url } = attributes;\n\n      return rb.execute<Tenant>(\n        patchAdminTenantsByIdBranding,\n        {\n          path: { id },\n          body: {\n            data: { id, type: \"tenant\", attributes: { logo_url, badge_url } },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Update auto top-up configuration for a tenant.\n     *\n     * @param id - The UUID of the tenant.\n     * @param attributes - Auto top-up settings.\n     * @param options - Optional request options.\n     * @returns The updated `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.updateAutoTopUp(\"tenant-uuid\", {\n     *   enabled: true,\n     *   threshold: 100,\n     *   amount: 500,\n     * });\n     * ```\n     */\n    updateAutoTopUp: async (\n      id: string,\n      attributes: UpdateAutoTopUpAttributes,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      const { enabled, threshold, amount, package_id } = attributes;\n\n      return rb.execute<Tenant>(\n        patchAdminTenantsByIdAutoTopUp,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"tenant\",\n              attributes: { enabled, threshold, amount, package_id },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Convert a personal tenant to an organization.\n     *\n     * @param id - The UUID of the personal tenant.\n     * @param attributes - Organization attributes for the converted tenant.\n     * @param options - Optional request options.\n     * @returns The updated `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.convertToOrg(\"tenant-uuid\", {\n     *   name: \"My Company\",\n     *   slug: \"my-company\",\n     * });\n     * ```\n     */\n    convertToOrg: async (\n      id: string,\n      attributes: ConvertToOrgAttributes,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      const { name, slug, application_id } = attributes;\n\n      return rb.execute<Tenant>(\n        patchAdminTenantsByIdConvertToOrg,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"tenant\",\n              attributes: { name, slug, application_id },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Create an organization tenant.\n     *\n     * @param attributes - Tenant attributes (name is required).\n     * @param options - Optional request options.\n     * @returns The created `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.createOrg({ name: \"New Org\" });\n     * ```\n     */\n    createOrg: async (\n      attributes: CreateOrgTenantAttributes,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      const { name, slug, application_id } = attributes;\n\n      return rb.execute<Tenant>(\n        postAdminTenantsOrg,\n        {\n          body: {\n            data: {\n              type: \"tenant\",\n              attributes: { name, slug, application_id },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Create a personal tenant.\n     *\n     * @param attributes - Empty attributes object; personal tenant fields are derived from the actor.\n     * @param options - Optional request options.\n     * @returns The created `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.createPersonal({});\n     * ```\n     */\n    createPersonal: async (\n      _attributes?: CreatePersonalTenantAttributes,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      return rb.execute<Tenant>(\n        postAdminTenantsPersonal,\n        {\n          body: { data: { type: \"tenant\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Create an ISV tenant.\n     *\n     * @param attributes - Tenant attributes (name is required).\n     * @param options - Optional request options.\n     * @returns The created `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.createIsv({ name: \"ISV Tenant\" });\n     * ```\n     */\n    createIsv: async (\n      attributes: CreateIsvTenantAttributes,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      const {\n        name,\n        slug,\n        owner_id,\n        logo_url,\n        badge_url,\n        kind,\n        initial_credits,\n      } = attributes;\n\n      return rb.execute<Tenant>(\n        postAdminTenantsIsv,\n        {\n          body: {\n            data: {\n              type: \"tenant\",\n              attributes: {\n                name,\n                slug,\n                owner_id,\n                logo_url,\n                badge_url,\n                kind,\n                initial_credits,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Suspend a tenant, preventing billing charges and access.\n     *\n     * @param id - The UUID of the tenant.\n     * @param reason - Human-readable reason for suspension.\n     * @param options - Optional request options.\n     * @returns The updated `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.suspend(\"tenant-uuid\", \"Non-payment\");\n     * ```\n     */\n    suspend: async (\n      id: string,\n      reason: string,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      return rb.execute<Tenant>(\n        patchAdminTenantsByIdSuspend,\n        {\n          path: { id },\n          body: {\n            data: { id, type: \"tenant\", attributes: { reason } },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Restore a suspended tenant to active status.\n     *\n     * @param id - The UUID of the tenant.\n     * @param options - Optional request options.\n     * @returns The updated `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.unsuspend(\"tenant-uuid\");\n     * ```\n     */\n    unsuspend: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      return rb.execute<Tenant>(\n        patchAdminTenantsByIdUnsuspend,\n        {\n          path: { id },\n          body: { data: { id, type: \"tenant\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Permanently cancel a tenant.\n     *\n     * @param id - The UUID of the tenant.\n     * @param options - Optional request options.\n     * @returns The updated `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.cancel(\"tenant-uuid\");\n     * ```\n     */\n    cancel: async (id: string, options?: RequestOptions): Promise<Tenant> => {\n      return rb.execute<Tenant>(\n        patchAdminTenantsByIdCancel,\n        {\n          path: { id },\n          body: { data: { id, type: \"tenant\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Archive an inactive or orphan tenant.\n     *\n     * Archives the tenant by setting status to :archived. Data is preserved;\n     * this differs from `cancel` (permanent termination triggering data purge)\n     * and the admin `destroy` cascade. Restricted to platform admin tier.\n     *\n     * @param id - The UUID of the tenant to archive.\n     * @param options - Optional request options.\n     * @returns The archived `Tenant` with status: \"archived\".\n     *\n     * @example\n     * ```ts\n     * const admin = new GptAdmin({ apiKey: 'sk_sys_...' });\n     * const tenant = await admin.tenants.archive(\"tenant-uuid\");\n     * ```\n     */\n    archive: async (id: string, options?: RequestOptions): Promise<Tenant> => {\n      return rb.execute<Tenant>(\n        patchAdminTenantsByIdArchive,\n        {\n          path: { id },\n          body: { data: { id, type: \"tenant\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Deactivate a tenant, hiding it from normal tenant selection.\n     *\n     * @param id - The UUID of the tenant.\n     * @param options - Optional request options.\n     * @returns The updated `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.deactivate(\"tenant-uuid\");\n     * ```\n     */\n    deactivate: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      return rb.execute<Tenant>(\n        patchAdminTenantsByIdDeactivate,\n        {\n          path: { id },\n          body: { data: { id, type: \"tenant\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Reactivate a deactivated tenant.\n     *\n     * @param id - The UUID of the tenant.\n     * @param options - Optional request options.\n     * @returns The updated `Tenant`.\n     *\n     * @example\n     * ```ts\n     * const tenant = await admin.tenants.reactivate(\"tenant-uuid\");\n     * ```\n     */\n    reactivate: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Tenant> => {\n      return rb.execute<Tenant>(\n        patchAdminTenantsByIdReactivate,\n        {\n          path: { id },\n          body: { data: { id, type: \"tenant\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Get document statistics for a tenant.\n     *\n     * @param tenantId - The UUID of the tenant.\n     * @param options - Optional request options.\n     * @returns Document statistics.\n     *\n     * @example\n     * ```ts\n     * const stats = await admin.tenants.getDocumentStats(\"tenant-uuid\");\n     * ```\n     */\n    getDocumentStats: async (\n      tenantId: string,\n      options?: RequestOptions,\n    ): Promise<unknown> => {\n      return rb.execute<unknown>(\n        getAdminTenantsByTenantIdDocumentStats,\n        { path: { tenant_id: tenantId } },\n        options,\n      );\n    },\n\n    /**\n     * Get general statistics for a tenant.\n     *\n     * @param tenantId - The UUID of the tenant.\n     * @param options - Optional request options.\n     * @returns Tenant statistics.\n     *\n     * @example\n     * ```ts\n     * const stats = await admin.tenants.getStats(\"tenant-uuid\");\n     * ```\n     */\n    getStats: async (\n      tenantId: string,\n      options?: RequestOptions,\n    ): Promise<unknown> => {\n      return rb.execute<unknown>(\n        getAdminTenantsByTenantIdStats,\n        { path: { tenant_id: tenantId } },\n        options,\n      );\n    },\n\n    /**\n     * Get per-workspace document statistics for a tenant.\n     *\n     * @param tenantId - The UUID of the tenant.\n     * @param options - Optional request options.\n     * @returns Workspace-level document statistics.\n     *\n     * @example\n     * ```ts\n     * const stats = await admin.tenants.getWorkspaceStats(\"tenant-uuid\");\n     * ```\n     */\n    getWorkspaceStats: async (\n      tenantId: string,\n      options?: RequestOptions,\n    ): Promise<unknown> => {\n      return rb.execute<unknown>(\n        getAdminTenantsByTenantIdWorkspaceStats,\n        { path: { tenant_id: tenantId } },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport { RequestBuilder } from \"../request-builder\";\nimport type {\n  AccessGrant,\n  PostAdminAccessGrantsData,\n  PatchAdminAccessGrantsByIdData,\n} from \"../_internal/types.gen\";\n\nexport type { AccessGrant };\n\nexport interface AccessGrantListResult {\n  data: AccessGrant[];\n  meta?: { total?: number };\n}\n\nexport interface AccessGrantResult {\n  data: AccessGrant;\n}\n\nexport interface AccessGrantListParams {\n  subject_id?: string;\n  subject_type?: \"user\" | \"application\";\n  object_id?: string;\n  object_type?: \"tenant\" | \"workspace\";\n  relation?:\n    | \"tenant_admin\"\n    | \"tenant_member\"\n    | \"workspace_admin\"\n    | \"workspace_editor\"\n    | \"workspace_viewer\";\n}\n\nexport function createAccessGrantsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List access grants. Filter by subject or object using query params.\n     *\n     * Filter params are serialized as JSON:API `filter[<field>]` query keys,\n     * which is what the server-side AshJsonApi route accepts. Plain bare\n     * keys (`?subject_id=...`) are silently ignored by the server.\n     *\n     * @param params - Optional filter parameters (subject_id, subject_type, object_id, object_type, relation)\n     * @returns Paginated list of access grants\n     * @example\n     * const grants = await admin.accessGrants.list({ subject_id: userId });\n     */\n    async list(params?: AccessGrantListParams): Promise<AccessGrantListResult> {\n      const filters: Record<string, string> = {};\n      if (params?.subject_id) filters[\"filter[subject_id]\"] = params.subject_id;\n      if (params?.subject_type)\n        filters[\"filter[subject_type]\"] = params.subject_type;\n      if (params?.object_id) filters[\"filter[object_id]\"] = params.object_id;\n      if (params?.object_type)\n        filters[\"filter[object_type]\"] = params.object_type;\n      if (params?.relation) filters[\"filter[relation]\"] = params.relation;\n      const query =\n        Object.keys(filters).length > 0\n          ? `?${new URLSearchParams(filters).toString()}`\n          : \"\";\n      return rb.rawGet<AccessGrantListResult>(`/admin/access-grants${query}`);\n    },\n\n    /**\n     * Get a single access grant by ID.\n     *\n     * @param id - AccessGrant UUID\n     * @returns The access grant record\n     * @example\n     * const grant = await admin.accessGrants.get(\"grant-uuid\");\n     */\n    async get(id: string): Promise<AccessGrantResult> {\n      return rb.rawGet<AccessGrantResult>(`/admin/access-grants/${id}`);\n    },\n\n    /**\n     * Create a new access grant, giving a subject (user or application) a relation to an object (tenant or workspace).\n     *\n     * @param attrs - Grant attributes (subject_type, subject_id, relation, object_type, object_id, expires_at)\n     * @returns The created access grant\n     * @example\n     * const grant = await admin.accessGrants.create({\n     *   data: {\n     *     type: \"access-grant\",\n     *     attributes: {\n     *       subject_type: \"user\",\n     *       subject_id: \"user-uuid\",\n     *       relation: \"workspace_editor\",\n     *       object_type: \"workspace\",\n     *       object_id: \"workspace-uuid\",\n     *     },\n     *   },\n     * });\n     */\n    async create(\n      attrs: PostAdminAccessGrantsData[\"body\"],\n    ): Promise<AccessGrantResult> {\n      return rb.rawPost<AccessGrantResult>(`/admin/access-grants`, attrs);\n    },\n\n    /**\n     * Update an existing access grant (relation, custom_permissions, expires_at).\n     *\n     * @param id - AccessGrant UUID\n     * @param attrs - Attributes to update\n     * @returns The updated access grant\n     * @example\n     * const updated = await admin.accessGrants.update(\"grant-uuid\", {\n     *   data: { type: \"access-grant\", id: \"grant-uuid\", attributes: { expires_at: \"2027-01-01T00:00:00Z\" } },\n     * });\n     */\n    async update(\n      id: string,\n      attrs: PatchAdminAccessGrantsByIdData[\"body\"],\n    ): Promise<AccessGrantResult> {\n      return rb.rawPatch<AccessGrantResult>(\n        `/admin/access-grants/${id}`,\n        attrs,\n      );\n    },\n\n    /**\n     * Revoke (delete) an access grant.\n     *\n     * @param id - AccessGrant UUID\n     * @returns void\n     * @example\n     * await admin.accessGrants.revoke(\"grant-uuid\");\n     */\n    async revoke(id: string): Promise<void> {\n      return rb.rawDelete<void>(`/admin/access-grants/${id}`);\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport { RequestBuilder } from \"../request-builder\";\nimport type {\n  Role,\n  PostAdminRolesData,\n  PatchAdminRolesByIdData,\n} from \"../_internal/types.gen\";\n\nexport type { Role };\n\nexport interface RoleListResult {\n  data: Role[];\n  meta?: { total?: number };\n}\n\nexport interface RoleResult {\n  data: Role;\n}\n\nexport interface RoleListParams {\n  application_id?: string;\n  is_system_default?: boolean;\n}\n\nexport function createRolesNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List all roles for the current application.\n     *\n     * Filter params are serialized as JSON:API `filter[<field>]` query keys,\n     * which is what the server-side AshJsonApi route accepts. Plain bare\n     * keys (`?application_id=...`) are silently ignored by the server.\n     *\n     * @param params - Optional filter parameters (application_id, is_system_default)\n     * @returns Paginated list of roles\n     * @example\n     * const roles = await admin.roles.list({ application_id: appId });\n     */\n    async list(params?: RoleListParams): Promise<RoleListResult> {\n      const filters: Record<string, string> = {};\n      if (params?.application_id) {\n        filters[\"filter[application_id]\"] = params.application_id;\n      }\n      if (params?.is_system_default !== undefined) {\n        filters[\"filter[is_system_default]\"] = String(params.is_system_default);\n      }\n      const query =\n        Object.keys(filters).length > 0\n          ? `?${new URLSearchParams(filters).toString()}`\n          : \"\";\n      return rb.rawGet<RoleListResult>(`/admin/roles${query}`);\n    },\n\n    /**\n     * Get a single role by ID.\n     *\n     * @param id - Role UUID\n     * @returns The role record\n     * @example\n     * const role = await admin.roles.get(\"role-uuid\");\n     */\n    async get(id: string): Promise<RoleResult> {\n      return rb.rawGet<RoleResult>(`/admin/roles/${id}`);\n    },\n\n    /**\n     * Create a new role with a set of permissions.\n     *\n     * @param attrs - Role attributes (name, permissions, description)\n     * @returns The created role\n     * @example\n     * const role = await admin.roles.create({\n     *   data: {\n     *     type: \"role\",\n     *     attributes: {\n     *       name: \"Document Manager\",\n     *       permissions: [\"extract:document:read:all\", \"extract:document:ingest:all\"],\n     *     },\n     *   },\n     * });\n     */\n    async create(attrs: PostAdminRolesData[\"body\"]): Promise<RoleResult> {\n      return rb.rawPost<RoleResult>(`/admin/roles`, attrs);\n    },\n\n    /**\n     * Update an existing role's name or permissions.\n     *\n     * @param id - Role UUID\n     * @param attrs - Attributes to update\n     * @returns The updated role\n     * @example\n     * const updated = await admin.roles.update(\"role-uuid\", {\n     *   data: { type: \"role\", id: \"role-uuid\", attributes: { name: \"Senior Document Manager\" } },\n     * });\n     */\n    async update(\n      id: string,\n      attrs: PatchAdminRolesByIdData[\"body\"],\n    ): Promise<RoleResult> {\n      return rb.rawPatch<RoleResult>(`/admin/roles/${id}`, attrs);\n    },\n\n    /**\n     * Delete a role.\n     *\n     * @param id - Role UUID\n     * @returns void\n     * @example\n     * await admin.roles.destroy(\"role-uuid\");\n     */\n    async destroy(id: string): Promise<void> {\n      return rb.rawDelete<void>(`/admin/roles/${id}`);\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport { RequestBuilder } from \"../request-builder\";\nimport type {\n  Permission,\n  PermissionMeta,\n  PermissionPreset,\n} from \"../_internal/types.gen\";\n\nexport type { Permission, PermissionMeta, PermissionPreset };\n\nexport interface PermissionListResult {\n  data: Permission[];\n  meta?: { total?: number };\n}\n\nexport interface PermissionResult {\n  data: Permission;\n}\n\nexport interface PermissionMetaResult {\n  data: PermissionMeta;\n}\n\nexport interface PermissionPresetListResult {\n  data: PermissionPreset[];\n  meta?: { total?: number };\n}\n\nexport interface PermissionPresetResult {\n  data: PermissionPreset;\n}\n\nexport interface PermissionListParams {\n  app?: string;\n  context?: \"workspace\" | \"tenant\" | \"own\";\n  category?: string;\n}\n\nexport interface PermissionPresetListParams {\n  context?: \"tenant\" | \"workspace\";\n  app?: string;\n}\n\nexport function createPermissionsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List all registered platform permissions.\n     *\n     * Optionally filter by `app`, `context`, or `category` query params.\n     *\n     * @param params - Optional filter parameters (app, context, category)\n     * @returns List of permissions\n     * @example\n     * const perms = await admin.permissions.list({ context: \"workspace\" });\n     */\n    async list(params?: PermissionListParams): Promise<PermissionListResult> {\n      const query = params\n        ? `?${new URLSearchParams(params as Record<string, string>).toString()}`\n        : \"\";\n      return rb.rawGet<PermissionListResult>(`/admin/permissions${query}`);\n    },\n\n    /**\n     * Get a single permission by its ID string (e.g., \"extract:document:read:all\").\n     *\n     * @param id - Permission ID string\n     * @returns The permission record\n     * @example\n     * const perm = await admin.permissions.get(\"extract:document:read:all\");\n     */\n    async get(id: string): Promise<PermissionResult> {\n      return rb.rawGet<PermissionResult>(\n        `/admin/permissions/${encodeURIComponent(id)}`,\n      );\n    },\n\n    /**\n     * Get permission system metadata (version, apps, scopes, categories, cache TTL).\n     *\n     * @returns Permission system metadata\n     * @example\n     * const meta = await admin.permissions.meta();\n     */\n    async meta(): Promise<PermissionMetaResult> {\n      return rb.rawGet<PermissionMetaResult>(`/admin/permissions/meta`);\n    },\n\n    /**\n     * List permission presets (pre-defined role bundles).\n     *\n     * Optionally filter by `context` (tenant, workspace) or `app`.\n     *\n     * @param params - Optional filter parameters (context, app)\n     * @returns List of permission presets\n     * @example\n     * const presets = await admin.permissions.listPresets({ context: \"tenant\" });\n     */\n    async listPresets(\n      params?: PermissionPresetListParams,\n    ): Promise<PermissionPresetListResult> {\n      const query = params\n        ? `?${new URLSearchParams(params as Record<string, string>).toString()}`\n        : \"\";\n      return rb.rawGet<PermissionPresetListResult>(\n        `/admin/permissions/presets${query}`,\n      );\n    },\n\n    /**\n     * Get a single permission preset by its composite ID (e.g., \"workspace:org:admin\").\n     *\n     * @param id - Preset composite ID\n     * @returns The permission preset\n     * @example\n     * const preset = await admin.permissions.getPreset(\"workspace:org:admin\");\n     */\n    async getPreset(id: string): Promise<PermissionPresetResult> {\n      return rb.rawGet<PermissionPresetResult>(\n        `/admin/permissions/presets/${encodeURIComponent(id)}`,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\n// F-6: Exposes the admin audit surface for ownership transfers.\n// This SDK is NOT available on the client package by design — ownership\n// audit logs are tenant-scope administration, not end-user data.\nimport { RequestBuilder } from \"../request-builder\";\n\nexport interface OwnershipTransfer {\n  id: string;\n  type: \"ownership-transfer\";\n  attributes: {\n    resource_type: string;\n    resource_id: string;\n    from_user_id: string | null;\n    to_user_id: string | null;\n    transferred_by_type: \"user\" | \"application\";\n    transferred_by_id: string;\n    workspace_id: string;\n    reason: string | null;\n    inserted_at: string;\n  };\n}\n\nexport interface OwnershipTransferListResult {\n  data: OwnershipTransfer[];\n  meta?: { total?: number };\n}\n\nexport interface OwnershipTransferListParams {\n  workspace_id: string;\n  resource_type?: string;\n  from_user_id?: string;\n  to_user_id?: string;\n}\n\nexport function createOwnershipTransfersNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List ownership transfer audit records scoped to a workspace.\n     *\n     * Requires `authorization:read` scope on the API key, or a session user\n     * with workspace access. Cross-tenant workspace_id values are rejected\n     * (returns Forbidden).\n     *\n     * @param params - Filter parameters. `workspace_id` is required.\n     * @returns Paginated list of ownership transfer records, newest first\n     * @example\n     * const transfers = await admin.ownershipTransfers.list({\n     *   workspace_id: \"workspace-uuid\",\n     *   resource_type: \"agent\",\n     * });\n     */\n    async list(\n      params: OwnershipTransferListParams,\n    ): Promise<OwnershipTransferListResult> {\n      const query = `?${new URLSearchParams(\n        params as unknown as Record<string, string>,\n      ).toString()}`;\n      return rb.rawGet<OwnershipTransferListResult>(\n        `/admin/ownership-transfers${query}`,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport {\n  deleteAdminThreadsById,\n  getAdminThreads,\n  getAdminThreadsById,\n  getAdminThreadsByIdMessages,\n  getAdminThreadsSearch,\n  getAdminThreadsStats,\n  getAdminThreadsWorkspaceStats,\n  patchAdminThreadsById,\n  patchAdminThreadsByIdArchive,\n  patchAdminThreadsByIdUnarchive,\n  postAdminThreadsByIdComplete,\n  postAdminThreadsByIdExport,\n  postAdminThreadsByIdFork,\n  postAdminThreadsByIdMessages,\n  postAdminThreadsByIdSummarize,\n} from \"../_internal/sdk.gen\";\nimport type {\n  ChatThread as Thread,\n  ChatMessage as Message,\n  ChatThreadStats as ThreadStats,\n  ChatThreadWorkspaceStats as ThreadWorkspaceStats,\n} from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\nimport { buildPageQuery } from \"../namespace-types\";\n\n/** Attributes accepted when sending a message to a thread. */\nexport type SendMessageAttributes = {\n  role?: \"user\" | \"assistant\" | \"system\" | \"tool\";\n  metadata?: Record<string, unknown>;\n};\n\n/** Attributes accepted when updating a thread (PATCH semantics). */\nexport type UpdateThreadAttributes = {\n  title?: string;\n  context_summary?: string;\n  metadata?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\n/**\n * Admin-level threads namespace — cross-workspace thread management.\n *\n * Provides ISV administrators with visibility and control over chat threads\n * across all workspaces. Supports listing, inspection, moderation, and\n * lifecycle management (archive, fork, export, summarize, complete).\n *\n * @param rb - The `RequestBuilder` instance bound to the authenticated admin client.\n * @returns An object containing all admin thread-management methods.\n *\n * @example\n * ```typescript\n * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n * const threads = await admin.threads.list({ page: 1, pageSize: 25 });\n * console.log(`Total threads returned: ${threads.length}`);\n * ```\n */\nexport function createThreadsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Lists threads with optional pagination.\n     *\n     * Returns threads across all workspaces accessible to the admin key.\n     *\n     * @param options - Optional pagination and request options.\n     * @returns A promise resolving to an array of thread objects.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * const threads = await admin.threads.list({ page: 1, pageSize: 50 });\n     * ```\n     */\n    list: async (\n      options?: { page?: number; pageSize?: number } & RequestOptions,\n    ): Promise<Thread[]> => {\n      return rb.execute<Thread[]>(\n        getAdminThreads,\n        buildPageQuery(options?.page, options?.pageSize),\n        options,\n      );\n    },\n\n    /**\n     * Fetches a single thread by its ID.\n     *\n     * @param id - The UUID of the thread to retrieve.\n     * @param options - Optional request options.\n     * @returns A promise resolving to the full thread object.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * const thread = await admin.threads.get('thr_01HXYZ...');\n     * console.log(thread);\n     * ```\n     */\n    get: async (id: string, options?: RequestOptions): Promise<Thread> => {\n      return rb.execute<Thread>(getAdminThreadsById, { path: { id } }, options);\n    },\n\n    /**\n     * Updates one or more attributes of a thread (PATCH semantics).\n     *\n     * @param id - The UUID of the thread to update.\n     * @param attributes - Partial thread attributes to apply.\n     * @param options - Optional request options.\n     * @returns A promise resolving to the updated thread object.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * const updated = await admin.threads.update('thr_01HXYZ...', { title: 'Reviewed' });\n     * ```\n     */\n    update: async (\n      id: string,\n      attributes: UpdateThreadAttributes,\n      options?: RequestOptions,\n    ): Promise<Thread> => {\n      return rb.execute<Thread>(\n        patchAdminThreadsById,\n        {\n          path: { id },\n          body: { data: { id, type: \"chat-thread\", attributes } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Permanently deletes a thread and all its messages.\n     *\n     * @param id - The UUID of the thread to delete.\n     * @param options - Optional request options.\n     * @returns A promise resolving to `true` on success.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * await admin.threads.delete('thr_01HXYZ...');\n     * ```\n     */\n    delete: async (id: string, options?: RequestOptions): Promise<true> => {\n      return rb.executeDelete(\n        deleteAdminThreadsById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Full-text search threads by title or context summary.\n     *\n     * @param query - The search query string.\n     * @param options - Optional request options.\n     * @returns A promise resolving to an array of matching thread objects.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * const results = await admin.threads.search('invoice review');\n     * ```\n     */\n    search: async (\n      query: string,\n      options?: RequestOptions,\n    ): Promise<Thread[]> => {\n      return rb.execute<Thread[]>(\n        getAdminThreadsSearch,\n        { query: { filter: { query } } },\n        options,\n      );\n    },\n\n    /**\n     * Archives a thread, soft-deleting it from default listings.\n     *\n     * @param id - The UUID of the thread to archive.\n     * @param options - Optional request options.\n     * @returns A promise resolving to the updated thread object.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * await admin.threads.archive('thr_01HXYZ...');\n     * ```\n     */\n    archive: async (id: string, options?: RequestOptions): Promise<Thread> => {\n      return rb.execute<Thread>(\n        patchAdminThreadsByIdArchive,\n        { path: { id }, body: { data: { id, type: \"thread\" } } },\n        options,\n      );\n    },\n\n    /**\n     * Restores a previously archived thread.\n     *\n     * @param id - The UUID of the archived thread to restore.\n     * @param options - Optional request options.\n     * @returns A promise resolving to the restored thread object.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * await admin.threads.unarchive('thr_01HXYZ...');\n     * ```\n     */\n    unarchive: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Thread> => {\n      return rb.execute<Thread>(\n        patchAdminThreadsByIdUnarchive,\n        { path: { id }, body: { data: { id, type: \"thread\" } } },\n        options,\n      );\n    },\n\n    /**\n     * Generates an AI summary of the thread's conversation history.\n     *\n     * @param id - The UUID of the thread to summarize.\n     * @param options - Optional request options.\n     * @returns A promise resolving to the thread with a populated summary.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * const thread = await admin.threads.summarize('thr_01HXYZ...');\n     * ```\n     */\n    summarize: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Thread> => {\n      return rb.execute<Thread>(\n        postAdminThreadsByIdSummarize,\n        { path: { id }, body: { data: {} } },\n        options,\n      );\n    },\n\n    /**\n     * Forks a thread, creating a new copy with all messages.\n     *\n     * @param id - The UUID of the thread to fork.\n     * @param options - Optional request options.\n     * @returns A promise resolving to the newly created fork.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * const fork = await admin.threads.fork('thr_01HXYZ...');\n     * ```\n     */\n    fork: async (\n      id: string,\n      title?: string,\n      options?: RequestOptions,\n    ): Promise<Thread> => {\n      return rb.execute<Thread>(\n        postAdminThreadsByIdFork,\n        {\n          path: { id },\n          body: title\n            ? { data: { type: \"chat-thread\", attributes: { title } } }\n            : {},\n        },\n        options,\n      );\n    },\n\n    /**\n     * Exports a thread and its messages in JSON, Markdown, or plain text.\n     *\n     * @param id - The UUID of the thread to export.\n     * @param format - Export format: `'json'` (default), `'markdown'`, or `'text'`.\n     * @param options - Optional request options.\n     * @returns A promise resolving to the export payload.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * const exported = await admin.threads.export('thr_01HXYZ...', 'markdown');\n     * ```\n     */\n    export: async (\n      id: string,\n      format: \"json\" | \"markdown\" | \"text\" = \"json\",\n      options?: RequestOptions,\n    ): Promise<Thread> => {\n      return rb.execute<Thread>(\n        postAdminThreadsByIdExport,\n        {\n          path: { id },\n          body: { data: { type: \"chat-thread\", format } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Triggers AI inference on a thread without a new user message.\n     *\n     * @param id - The UUID of the thread to complete.\n     * @param options - Optional request options.\n     * @returns A promise resolving to the updated thread after the AI response is saved.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * const thread = await admin.threads.complete('thr_01HXYZ...');\n     * ```\n     */\n    complete: async (id: string, options?: RequestOptions): Promise<Thread> => {\n      return rb.execute<Thread>(\n        postAdminThreadsByIdComplete,\n        { path: { id }, body: { data: { type: \"chat-thread\" } } },\n        options,\n      );\n    },\n\n    /**\n     * Returns platform-wide chat statistics (admin only).\n     *\n     * @param options - Optional request options.\n     * @returns A promise resolving to platform-level thread/message stats.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * const stats = await admin.threads.platformStats();\n     * console.log(`Total threads: ${stats.total_threads}`);\n     * ```\n     */\n    platformStats: async (options?: RequestOptions): Promise<ThreadStats> => {\n      return rb.execute<ThreadStats>(getAdminThreadsStats, {}, options);\n    },\n\n    /**\n     * Returns workspace-scoped chat statistics.\n     *\n     * @param options - Optional request options.\n     * @returns A promise resolving to workspace-level thread/message stats.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     * const stats = await admin.threads.workspaceStats();\n     * ```\n     */\n    workspaceStats: async (\n      options?: RequestOptions,\n    ): Promise<ThreadWorkspaceStats> => {\n      return rb.execute<ThreadWorkspaceStats>(\n        getAdminThreadsWorkspaceStats,\n        {},\n        options,\n      );\n    },\n\n    /**\n     * Sub-namespace for managing messages within a thread.\n     */\n    messages: {\n      /**\n       * Lists all messages in a thread.\n       *\n       * @param threadId - The UUID of the thread.\n       * @param options - Optional request options.\n       * @returns A promise resolving to an array of message objects.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * const messages = await admin.threads.messages.list('thr_01HXYZ...');\n       * ```\n       */\n      list: async (\n        threadId: string,\n        options?: RequestOptions,\n      ): Promise<Message[]> => {\n        return rb.execute<Message[]>(\n          getAdminThreadsByIdMessages,\n          { path: { id: threadId } },\n          options,\n        );\n      },\n\n      /**\n       * Sends a message to a thread and triggers AI processing.\n       *\n       * @param threadId - The UUID of the thread.\n       * @param content - The message content to send.\n       * @param attributes - Optional extra attributes (role, metadata, attachments).\n       * @param options - Optional request options.\n       * @returns A promise resolving to the thread with the AI response.\n       *\n       * @example\n       * ```typescript\n       * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n       * const result = await admin.threads.messages.send('thr_01HXYZ...', 'Analyze this data');\n       * ```\n       */\n      send: async (\n        threadId: string,\n        content: string,\n        attributes?: SendMessageAttributes,\n        options?: RequestOptions,\n      ): Promise<Message> => {\n        const { role, metadata } = attributes ?? {};\n        return rb.execute<Message>(\n          postAdminThreadsByIdMessages,\n          {\n            path: { id: threadId },\n            body: {\n              data: {\n                type: \"chat-thread\",\n                attributes: { content, role, metadata },\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport type {\n  ClinicalDocument as RawClinicalDocument,\n  ClinicalClientGoal as RawClinicalClientGoal,\n  ClinicalClientMedication as RawClinicalClientMedication,\n  ClinicalClientResourceAssignment as RawClinicalClientResourceAssignment,\n  ClinicalClientSupplement as RawClinicalClientSupplement,\n  ClinicalDelivery as RawClinicalDelivery,\n  ClinicalGoalTemplate as RawClinicalGoalTemplate,\n  ClinicalGoalTemplateCategory as RawClinicalGoalTemplateCategory,\n  ClinicalGoalTemplateCollection as RawClinicalGoalTemplateCollection,\n  ClinicalGoalTemplateCollectionMembership as RawClinicalGoalTemplateCollectionMembership,\n  ClinicalHealthMetric as RawClinicalHealthMetric,\n  ClinicalIntakeTarget as RawClinicalIntakeTarget,\n  ClinicalMealPlan as RawClinicalMealPlan,\n  ClinicalNote as RawClinicalNote,\n  ClinicalNoteTemplate as RawClinicalNoteTemplate,\n  ClinicalNoteVersion as RawClinicalNoteVersion,\n  ClinicalPatient as RawClinicalPatient,\n  ClinicalInsuranceAuthorization as RawClinicalInsuranceAuthorization,\n  ClinicalPatientInsurance as RawClinicalPatientInsurance,\n  ClinicalPracticeResource as RawClinicalPracticeResource,\n  ClinicalPracticeResourceCategory as RawClinicalPracticeResourceCategory,\n  ClinicalPracticeTool as RawClinicalPracticeTool,\n  ClinicalPracticeToolCategory as RawClinicalPracticeToolCategory,\n  ClinicalSession as RawClinicalSession,\n  ClinicalSupplementRecCache as RawClinicalSupplementRecCache,\n  ClinicalSupplementTemplate as RawClinicalSupplementTemplate,\n  ClinicalSupplementTemplateCollection as RawClinicalSupplementTemplateCollection,\n  ClinicalSupplementTemplateCollectionMembership as RawClinicalSupplementTemplateCollectionMembership,\n} from \"../_internal/types.gen\";\n\nimport type { FlatResource } from \"../json-api\";\n\nimport {\n  // Documents\n  deleteAdminClinicalDocumentsById,\n  getAdminClinicalDocuments,\n  getAdminClinicalDocumentsById,\n  getAdminClinicalDocumentsPatientsByIdDocuments,\n  patchAdminClinicalDocumentsById,\n  patchAdminClinicalDocumentsByIdTransitionStatus,\n  postAdminClinicalDocuments,\n  // Client Goals\n  getAdminClinicalClientGoals,\n  getAdminClinicalClientGoalsById,\n  patchAdminClinicalClientGoalsById,\n  patchAdminClinicalClientGoalsByIdApprove,\n  patchAdminClinicalClientGoalsByIdReject,\n  postAdminClinicalClientGoals,\n  postAdminClinicalClientGoalsFromTemplate,\n  // Client Resource Assignments\n  getAdminClinicalClientResourceAssignments,\n  getAdminClinicalClientResourceAssignmentsById,\n  patchAdminClinicalClientResourceAssignmentsById,\n  postAdminClinicalClientResourceAssignments,\n  // Client Medications\n  getAdminClinicalClientMedications,\n  getAdminClinicalClientMedicationsById,\n  patchAdminClinicalClientMedicationsById,\n  postAdminClinicalClientMedications,\n  // Client Supplements\n  getAdminClinicalClientSupplements,\n  getAdminClinicalClientSupplementsById,\n  patchAdminClinicalClientSupplementsById,\n  postAdminClinicalClientSupplements,\n  // Deliveries\n  getAdminClinicalDeliveries,\n  getAdminClinicalDeliveriesById,\n  getAdminClinicalDeliveriesBySession,\n  patchAdminClinicalDeliveriesById,\n  postAdminClinicalDeliveries,\n  // Goal Template Collections\n  deleteAdminClinicalGoalTemplateCollectionMembershipsById,\n  deleteAdminClinicalGoalTemplateCollectionsById,\n  getAdminClinicalGoalTemplateCollectionMembershipsById,\n  getAdminClinicalGoalTemplateCollectionMembershipsCollectionByCollectionId,\n  getAdminClinicalGoalTemplateCollections,\n  getAdminClinicalGoalTemplateCollectionsById,\n  patchAdminClinicalGoalTemplateCollectionMembershipsById,\n  patchAdminClinicalGoalTemplateCollectionsById,\n  postAdminClinicalGoalTemplateCollectionMemberships,\n  postAdminClinicalGoalTemplateCollections,\n  // Goal Templates (existing)\n  getAdminClinicalGoalTemplates,\n  getAdminClinicalGoalTemplatesById,\n  getAdminClinicalGoalTemplatesCategories,\n  getAdminClinicalGoalTemplatesCategoriesCatalog,\n  getAdminClinicalGoalTemplatesCatalog,\n  getAdminClinicalGoalTemplatesCatalogById,\n  getAdminClinicalGoalTemplatesMine,\n  patchAdminClinicalGoalTemplatesById,\n  patchAdminClinicalGoalTemplatesCatalogById,\n  postAdminClinicalGoalTemplates,\n  postAdminClinicalGoalTemplatesCatalog,\n  postAdminClinicalGoalTemplatesFromExisting,\n  // Insurance Authorizations\n  getAdminClinicalInsuranceAuthorizations,\n  getAdminClinicalInsuranceAuthorizationsById,\n  getAdminClinicalInsuranceAuthorizationsByWorkspace,\n  getAdminClinicalInsuranceAuthorizationsExpiring,\n  postAdminClinicalInsuranceAuthorizations,\n  patchAdminClinicalInsuranceAuthorizationsById,\n  patchAdminClinicalInsuranceAuthorizationsByIdIncrement,\n  deleteAdminClinicalInsuranceAuthorizationsById,\n  // Health Metrics\n  getAdminClinicalHealthMetrics,\n  getAdminClinicalHealthMetricsById,\n  getAdminClinicalHealthMetricsBySession,\n  getAdminClinicalHealthMetricsByType,\n  patchAdminClinicalHealthMetricsById,\n  postAdminClinicalHealthMetrics,\n  // Intake Targets\n  getAdminClinicalIntakeTargets,\n  getAdminClinicalIntakeTargetsById,\n  getAdminClinicalIntakeTargetsActiveByPatientId,\n  getAdminClinicalIntakeTargetsByWorkspace,\n  postAdminClinicalIntakeTargets,\n  patchAdminClinicalIntakeTargetsById,\n  // Meal Plans\n  getAdminClinicalMealPlans,\n  getAdminClinicalMealPlansById,\n  getAdminClinicalMealPlansByWorkspace,\n  patchAdminClinicalMealPlansById,\n  postAdminClinicalMealPlans,\n  getAdminClinicalMealPlansByPatient,\n  getAdminClinicalMealPlansByMealSchedule,\n  patchAdminClinicalMealPlansByIdApprove,\n  // Notes\n  getAdminClinicalNotes,\n  getAdminClinicalNotesById,\n  getAdminClinicalNotesByPatient,\n  getAdminClinicalNotesByWorkspace,\n  getAdminClinicalNotesByNoteIdVersions,\n  getAdminClinicalNotesByNoteIdVersionsById,\n  patchAdminClinicalNotesById,\n  patchAdminClinicalNotesByIdApprove,\n  patchAdminClinicalNotesByIdReject,\n  postAdminClinicalNotes,\n  // Patients\n  deleteAdminClinicalPatientsById,\n  getAdminClinicalPatients,\n  getAdminClinicalPatientsById,\n  getAdminClinicalPatientsByIdGoals,\n  getAdminClinicalPatientsByIdHealthMetrics,\n  getAdminClinicalPatientsByIdResourceAssignments,\n  getAdminClinicalPatientsByIdMedications,\n  getAdminClinicalPatientsByIdSupplements,\n  patchAdminClinicalPatientsById,\n  postAdminClinicalPatients,\n  // Practice Resources (existing)\n  getAdminClinicalPracticeResources,\n  getAdminClinicalPracticeResourcesById,\n  getAdminClinicalPracticeResourcesCatalog,\n  getAdminClinicalPracticeResourcesCatalogById,\n  patchAdminClinicalPracticeResourcesById,\n  patchAdminClinicalPracticeResourcesCatalogById,\n  postAdminClinicalPracticeResources,\n  postAdminClinicalPracticeResourcesCatalog,\n  // Practice Resource Categories\n  getAdminClinicalPracticeResourcesCategories,\n  getAdminClinicalPracticeResourcesCategoriesCatalog,\n  // Practice Tools (existing)\n  getAdminClinicalPracticeTools,\n  getAdminClinicalPracticeToolsById,\n  getAdminClinicalPracticeToolsCatalog,\n  getAdminClinicalPracticeToolsCatalogById,\n  getAdminClinicalPracticeToolsCategoriesCatalog,\n  patchAdminClinicalPracticeToolsById,\n  patchAdminClinicalPracticeToolsCatalogById,\n  postAdminClinicalPracticeTools,\n  postAdminClinicalPracticeToolsCatalog,\n  // Sessions\n  deleteAdminClinicalSessionsById,\n  getAdminClinicalSessions,\n  getAdminClinicalSessionsById,\n  getAdminClinicalSessionsByIdMealPlans,\n  getAdminClinicalSessionsByIdSessionNotes,\n  getAdminClinicalSessionsByPatient,\n  patchAdminClinicalSessionsById,\n  postAdminClinicalSessions,\n  // Supplement Rec Cache\n  getAdminClinicalSupplementRecCache,\n  getAdminClinicalSupplementRecCacheById,\n  patchAdminClinicalSupplementRecCacheById,\n  // Soft-delete: archive\n  patchAdminClinicalClientGoalsByIdArchive,\n  patchAdminClinicalClientResourceAssignmentsByIdArchive,\n  patchAdminClinicalClientMedicationsByIdArchive,\n  patchAdminClinicalClientSupplementsByIdArchive,\n  patchAdminClinicalGoalTemplatesByIdArchive,\n  patchAdminClinicalHealthMetricsByIdArchive,\n  patchAdminClinicalIntakeTargetsByIdArchive,\n  patchAdminClinicalMealPlansByIdArchive,\n  patchAdminClinicalNotesByIdArchive,\n  patchAdminClinicalPracticeResourcesByIdArchive,\n  patchAdminClinicalPracticeToolsByIdArchive,\n  // Soft-delete: restore\n  patchAdminClinicalClientGoalsByIdRestore,\n  patchAdminClinicalClientResourceAssignmentsByIdRestore,\n  patchAdminClinicalClientMedicationsByIdRestore,\n  patchAdminClinicalClientSupplementsByIdRestore,\n  patchAdminClinicalGoalTemplatesByIdRestore,\n  patchAdminClinicalHealthMetricsByIdRestore,\n  patchAdminClinicalIntakeTargetsByIdRestore,\n  patchAdminClinicalMealPlansByIdRestore,\n  patchAdminClinicalNotesByIdRestore,\n  patchAdminClinicalPracticeResourcesByIdRestore,\n  patchAdminClinicalPracticeToolsByIdRestore,\n  // Soft-delete: permanent delete\n  deleteAdminClinicalClientGoalsByIdPermanent,\n  deleteAdminClinicalClientResourceAssignmentsByIdPermanent,\n  deleteAdminClinicalClientMedicationsByIdPermanent,\n  deleteAdminClinicalClientSupplementsByIdPermanent,\n  deleteAdminClinicalGoalTemplatesByIdPermanent,\n  deleteAdminClinicalHealthMetricsByIdPermanent,\n  deleteAdminClinicalIntakeTargetsByIdPermanent,\n  deleteAdminClinicalMealPlansByIdPermanent,\n  deleteAdminClinicalNotesByIdPermanent,\n  deleteAdminClinicalPracticeResourcesByIdPermanent,\n  deleteAdminClinicalPracticeToolsByIdPermanent,\n  // Soft-delete: list archived\n  getAdminClinicalClientGoalsArchived,\n  getAdminClinicalClientResourceAssignmentsArchived,\n  getAdminClinicalClientMedicationsArchived,\n  getAdminClinicalClientSupplementsArchived,\n  getAdminClinicalGoalTemplatesArchived,\n  getAdminClinicalHealthMetricsArchived,\n  getAdminClinicalIntakeTargetsArchived,\n  getAdminClinicalMealPlansArchived,\n  getAdminClinicalNotesArchived,\n  getAdminClinicalPracticeResourcesArchived,\n  getAdminClinicalPracticeToolsArchived,\n  // Catalog soft-delete\n  patchAdminClinicalPracticeResourcesCatalogByIdArchive,\n  patchAdminClinicalPracticeResourcesCatalogByIdRestore,\n  deleteAdminClinicalPracticeResourcesCatalogByIdPermanent,\n  getAdminClinicalPracticeResourcesCatalogArchived,\n  patchAdminClinicalPracticeToolsCatalogByIdArchive,\n  patchAdminClinicalPracticeToolsCatalogByIdRestore,\n  deleteAdminClinicalPracticeToolsCatalogByIdPermanent,\n  getAdminClinicalPracticeToolsCatalogArchived,\n  patchAdminClinicalGoalTemplatesCatalogByIdArchive,\n  patchAdminClinicalGoalTemplatesCatalogByIdRestore,\n  deleteAdminClinicalGoalTemplatesCatalogByIdPermanent,\n  getAdminClinicalGoalTemplatesCatalogArchived,\n  // Goal associations\n  getAdminClinicalGoalAssociations,\n  getAdminClinicalGoalAssociationsById,\n  postAdminClinicalGoalAssociations,\n  deleteAdminClinicalGoalAssociationsById,\n  // Supplement Templates\n  getAdminClinicalSupplementTemplates,\n  getAdminClinicalSupplementTemplatesById,\n  getAdminClinicalSupplementTemplatesMine,\n  getAdminClinicalSupplementTemplatesArchived,\n  getAdminClinicalSupplementTemplatesCatalog,\n  getAdminClinicalSupplementTemplatesCatalogById,\n  getAdminClinicalSupplementTemplatesCatalogArchived,\n  postAdminClinicalSupplementTemplates,\n  postAdminClinicalSupplementTemplatesCatalog,\n  postAdminClinicalSupplementTemplatesFromExisting,\n  patchAdminClinicalSupplementTemplatesById,\n  patchAdminClinicalSupplementTemplatesByIdArchive,\n  patchAdminClinicalSupplementTemplatesByIdRestore,\n  patchAdminClinicalSupplementTemplatesCatalogById,\n  patchAdminClinicalSupplementTemplatesCatalogByIdArchive,\n  patchAdminClinicalSupplementTemplatesCatalogByIdRestore,\n  deleteAdminClinicalSupplementTemplatesByIdPermanent,\n  deleteAdminClinicalSupplementTemplatesCatalogByIdPermanent,\n  // Supplement Template Collections\n  getAdminClinicalSupplementTemplateCollections,\n  getAdminClinicalSupplementTemplateCollectionsById,\n  postAdminClinicalSupplementTemplateCollections,\n  patchAdminClinicalSupplementTemplateCollectionsById,\n  deleteAdminClinicalSupplementTemplateCollectionsById,\n  // Supplement Template Collection Memberships\n  getAdminClinicalSupplementTemplateCollectionMembershipsById,\n  getAdminClinicalSupplementTemplateCollectionMembershipsCollectionByCollectionId,\n  postAdminClinicalSupplementTemplateCollectionMemberships,\n  patchAdminClinicalSupplementTemplateCollectionMembershipsById,\n  deleteAdminClinicalSupplementTemplateCollectionMembershipsById,\n  // Patient Insurance\n  getAdminClinicalPatientInsurance,\n  getAdminClinicalPatientInsuranceById,\n  getAdminClinicalPatientInsuranceByWorkspace,\n  postAdminClinicalPatientInsurance,\n  patchAdminClinicalPatientInsuranceById,\n  deleteAdminClinicalPatientInsuranceById,\n  getAdminClinicalPatientsByIdInsuranceRecords,\n  // Note templates\n  getAdminClinicalNoteTemplates,\n  getAdminClinicalNoteTemplatesById,\n  getAdminClinicalNoteTemplatesMine,\n  postAdminClinicalNoteTemplates,\n  postAdminClinicalNoteTemplatesFromExisting,\n  patchAdminClinicalNoteTemplatesById,\n  patchAdminClinicalNoteTemplatesByIdArchive,\n  patchAdminClinicalNoteTemplatesByIdRestore,\n  deleteAdminClinicalNoteTemplatesByIdPermanent,\n  getAdminClinicalNoteTemplatesArchived,\n  getAdminClinicalNoteTemplatesCatalog,\n  getAdminClinicalNoteTemplatesCatalogById,\n  postAdminClinicalNoteTemplatesCatalog,\n  patchAdminClinicalNoteTemplatesCatalogById,\n  patchAdminClinicalNoteTemplatesCatalogByIdArchive,\n  patchAdminClinicalNoteTemplatesCatalogByIdRestore,\n  deleteAdminClinicalNoteTemplatesCatalogByIdPermanent,\n  getAdminClinicalNoteTemplatesCatalogArchived,\n} from \"../_internal/sdk.gen\";\n\nimport { RequestBuilder } from \"../request-builder\";\nimport type { RequestOptions } from \"../base-client\";\n\n// Flattened resource types — matches what the SDK runtime returns after JSON:API unwrapping.\n// Generated types in types.gen.ts keep the nested { attributes: {...} } envelope;\n// these flatten to { id, type, ...attributes } which is what callers actually receive.\nexport type ClinicalDocument = FlatResource<RawClinicalDocument>;\nexport type ClinicalClientGoal = FlatResource<RawClinicalClientGoal>;\nexport type ClinicalClientResourceAssignment =\n  FlatResource<RawClinicalClientResourceAssignment>;\nexport type ClinicalClientMedication =\n  FlatResource<RawClinicalClientMedication>;\nexport type ClinicalClientSupplement =\n  FlatResource<RawClinicalClientSupplement> & {\n    /** Consecutive adherent check-in periods (taken or partial). Nil for supplements without frequency. Loaded on demand. */\n    current_streak?: number | null;\n    /** All-time longest adherent streak. Nil for supplements without frequency. Loaded on demand. */\n    longest_streak?: number | null;\n    /** Adherence rate for current calendar month (0-1 decimal). Nil for supplements without frequency. Loaded on demand. */\n    adherence_rate?: number | null;\n    /** Most recent check-in date (YYYY-MM-DD). Nil if no check-ins. Loaded on demand. */\n    last_check_in_date?: string | null;\n  };\nexport type ClinicalDelivery = FlatResource<RawClinicalDelivery>;\nexport type ClinicalGoalTemplate = FlatResource<RawClinicalGoalTemplate>;\nexport type ClinicalGoalTemplateCategory =\n  FlatResource<RawClinicalGoalTemplateCategory>;\n/** Flattened goal template collection. */\nexport type ClinicalGoalTemplateCollection =\n  FlatResource<RawClinicalGoalTemplateCollection>;\n/** Flattened goal template collection membership. */\nexport type ClinicalGoalTemplateCollectionMembership =\n  FlatResource<RawClinicalGoalTemplateCollectionMembership>;\nexport type ClinicalHealthMetric = FlatResource<RawClinicalHealthMetric>;\nexport type ClinicalIntakeTarget = FlatResource<RawClinicalIntakeTarget>;\nexport type ClinicalMealPlan = FlatResource<RawClinicalMealPlan>;\nexport type ClinicalNote = FlatResource<RawClinicalNote>;\nexport type ClinicalNoteTemplate = FlatResource<RawClinicalNoteTemplate>;\nexport type ClinicalNoteVersion = FlatResource<RawClinicalNoteVersion>;\nexport type ClinicalPatient = FlatResource<RawClinicalPatient>;\nexport type ClinicalInsuranceAuthorization =\n  FlatResource<RawClinicalInsuranceAuthorization>;\nexport type ClinicalPatientInsurance =\n  FlatResource<RawClinicalPatientInsurance>;\nexport type ClinicalPracticeResource =\n  FlatResource<RawClinicalPracticeResource>;\nexport type ClinicalPracticeResourceCategory =\n  FlatResource<RawClinicalPracticeResourceCategory>;\nexport type ClinicalPracticeTool = FlatResource<RawClinicalPracticeTool>;\nexport type ClinicalPracticeToolCategory =\n  FlatResource<RawClinicalPracticeToolCategory>;\nexport type ClinicalSession = FlatResource<RawClinicalSession>;\nexport type ClinicalSupplementRecCache =\n  FlatResource<RawClinicalSupplementRecCache>;\n/** Flattened supplement template. */\nexport type ClinicalSupplementTemplate =\n  FlatResource<RawClinicalSupplementTemplate>;\n/** Flattened supplement template collection. */\nexport type ClinicalSupplementTemplateCollection =\n  FlatResource<RawClinicalSupplementTemplateCollection>;\n/** Flattened supplement template collection membership. */\nexport type ClinicalSupplementTemplateCollectionMembership =\n  FlatResource<RawClinicalSupplementTemplateCollectionMembership>;\n\n// ---------------------------------------------------------------------------\n// Types\n// ---------------------------------------------------------------------------\n\n/** Standard JSON:API list parameters for clinical resources. */\nexport interface ClinicalListParams {\n  /** Filter results. */\n  filter?: Record<string, unknown>;\n  /** Sort by field(s). Prefix with '-' for descending. */\n  sort?: string;\n  /** Pagination parameters. */\n  page?: { count?: boolean; limit?: number; offset?: number };\n  /** Include related resources (comma-separated). */\n  include?: string;\n}\n\n/** List parameters for workspace-scoped clinical resources. */\nexport interface ClinicalWorkspaceListParams extends ClinicalListParams {\n  workspace_id: string;\n}\n\nexport interface ClinicalAnalyticsOverview {\n  total_patients: number;\n  total_sessions: number;\n  active_patients_last_30d: number;\n}\n\nexport interface ClinicalPipelineAnalytics {\n  pipeline_runs_last_30d: number;\n  completion_rate: number;\n  awaiting_approval_count: number;\n}\n\nexport interface CreateClinicalPatientAttributes {\n  workspace_id: string;\n  contact_id?: string;\n  assigned_user_id?: string;\n  status?: string;\n  timezone?: string;\n  state?: string;\n  tags?: string[];\n  date_of_birth?: string;\n  sex?: string;\n  height_inches?: string;\n  weight_lbs?: string;\n  goal_weight_lbs?: string;\n  activity_level?: string;\n  eating_style?: string[];\n  meals_per_day?: number;\n  snacks_per_day?: number;\n  conditions?: string[];\n  food_aversions?: string[];\n  food_allergies?: string[];\n  food_preferences?: string[];\n  target_calories_override?: number;\n  protein_pct?: string;\n  carbs_pct?: string;\n  fat_pct?: string;\n  protein_unit?: string;\n  protein_per_weight?: string;\n  followup_interval_value?: number;\n  followup_interval_unit?: string;\n  primary_insurance?: string;\n  diagnosis_codes?: string[];\n  referring_physician_name?: string;\n  referring_physician_phone?: string;\n  referring_physician_fax?: string;\n  // Intake context\n  chief_concern?: string;\n  referral_source?:\n    | \"self\"\n    | \"physician\"\n    | \"insurance\"\n    | \"employer_wellness\"\n    | \"other\";\n  surgical_history?: string;\n  preferred_name?: string;\n  enrollment_type?:\n    | \"initial_consultation\"\n    | \"transfer\"\n    | \"group_enrollment\"\n    | \"readmission\";\n  profile_data?: Record<string, unknown>;\n  external_ids?: Record<string, string>;\n  metadata?: Record<string, unknown>;\n}\n\nexport interface UpdateClinicalPatientAttributes {\n  contact_id?: string;\n  assigned_user_id?: string;\n  status?: string;\n  timezone?: string;\n  state?: string;\n  tags?: string[];\n  date_of_birth?: string;\n  sex?: string;\n  height_inches?: string;\n  weight_lbs?: string;\n  goal_weight_lbs?: string;\n  activity_level?: string;\n  eating_style?: string[];\n  meals_per_day?: number;\n  snacks_per_day?: number;\n  conditions?: string[];\n  food_aversions?: string[];\n  food_allergies?: string[];\n  food_preferences?: string[];\n  target_calories_override?: number;\n  protein_pct?: string;\n  carbs_pct?: string;\n  fat_pct?: string;\n  protein_unit?: string;\n  protein_per_weight?: string;\n  followup_interval_value?: number;\n  followup_interval_unit?: string;\n  primary_insurance?: string;\n  diagnosis_codes?: string[];\n  referring_physician_name?: string;\n  referring_physician_phone?: string;\n  referring_physician_fax?: string;\n  // Intake context\n  chief_concern?: string;\n  referral_source?:\n    | \"self\"\n    | \"physician\"\n    | \"insurance\"\n    | \"employer_wellness\"\n    | \"other\";\n  surgical_history?: string;\n  preferred_name?: string;\n  enrollment_type?:\n    | \"initial_consultation\"\n    | \"transfer\"\n    | \"group_enrollment\"\n    | \"readmission\";\n  profile_data?: Record<string, unknown>;\n  external_ids?: Record<string, string>;\n  metadata?: Record<string, unknown>;\n}\n\nexport interface CreateClientMedicationAttributes {\n  workspace_id: string;\n  patient_id: string;\n  status?: \"active\" | \"discontinued\" | \"on_hold\" | \"pending_review\";\n  name: string;\n  generic_name?: string;\n  ndc_code?: string;\n  dosage?: string;\n  frequency?: string;\n  instructions?: string;\n  route?: string;\n  prescriber_name?: string;\n  prescriber_npi?: string;\n  pharmacy_name?: string;\n  pharmacy_phone?: string;\n  prescribed_at?: string;\n  start_date?: string;\n  end_date?: string;\n  refill_date?: string;\n  refills_remaining?: number;\n  indication?: string;\n  clinical_notes?: string;\n  source?: string;\n  interaction_flags?: string[];\n  external_ids?: Record<string, string>;\n  metadata?: Record<string, unknown>;\n}\n\nexport interface UpdateClientMedicationAttributes {\n  status?: \"active\" | \"discontinued\" | \"on_hold\" | \"pending_review\";\n  name?: string;\n  generic_name?: string;\n  ndc_code?: string;\n  dosage?: string;\n  frequency?: string;\n  instructions?: string;\n  route?: string;\n  prescriber_name?: string;\n  prescriber_npi?: string;\n  pharmacy_name?: string;\n  pharmacy_phone?: string;\n  prescribed_at?: string;\n  start_date?: string;\n  end_date?: string;\n  refill_date?: string;\n  refills_remaining?: number;\n  indication?: string;\n  clinical_notes?: string;\n  source?: string;\n  interaction_flags?: string[];\n  external_ids?: Record<string, string>;\n  metadata?: Record<string, unknown>;\n}\n\nexport interface CreateGoalTemplateAttributes {\n  workspace_id: string;\n  goal_type: string;\n  frequency?: \"daily\" | \"weekly\";\n  title: string;\n  description?: string;\n  action_steps?: string[];\n  priority?: \"high\" | \"medium\" | \"low\";\n  category?: string;\n  timeframe?: string;\n  tool_ids?: string[];\n  metadata?: Record<string, unknown>;\n  tags?: string[];\n  target_value?: string;\n  unit?: string;\n  linked_metric_type?: string;\n  difficulty?: \"beginner\" | \"intermediate\" | \"advanced\";\n  evidence_base?: string;\n  instructions?: string;\n  suggested_duration_days?: number;\n  applicable_conditions?: string[];\n  age_groups?: string[];\n  source_reference?: string;\n}\n\nexport interface UpdateGoalTemplateAttributes {\n  goal_type?: string;\n  frequency?: \"daily\" | \"weekly\";\n  title?: string;\n  description?: string;\n  action_steps?: string[];\n  priority?: \"high\" | \"medium\" | \"low\";\n  category?: string;\n  timeframe?: string;\n  tool_ids?: string[];\n  metadata?: Record<string, unknown>;\n  is_active?: boolean;\n  tags?: string[];\n  target_value?: string;\n  unit?: string;\n  linked_metric_type?: string;\n  difficulty?: \"beginner\" | \"intermediate\" | \"advanced\";\n  evidence_base?: string;\n  instructions?: string;\n  suggested_duration_days?: number;\n  applicable_conditions?: string[];\n  age_groups?: string[];\n  source_reference?: string;\n}\n\nexport interface CreateFromExistingAttributes {\n  workspace_id: string;\n  source_template_id: string;\n}\n\n/** Attributes accepted when creating a goal template collection. */\nexport interface CreateGoalTemplateCollectionAttributes {\n  workspace_id: string;\n  name: string;\n  description?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes accepted when updating a goal template collection. */\nexport interface UpdateGoalTemplateCollectionAttributes {\n  name?: string;\n  description?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes accepted when adding a template to a collection. */\nexport interface CreateCollectionMembershipAttributes {\n  collection_id: string;\n  template_id: string;\n  sort_order?: number;\n}\n\n/** Attributes accepted when updating a collection membership. */\nexport interface UpdateCollectionMembershipAttributes {\n  sort_order?: number;\n}\n\nexport interface CreatePracticeToolAttributes {\n  workspace_id: string;\n  name: string;\n  description?: string;\n  tool_type?: string;\n  url?: string;\n  platform?: string;\n  is_active?: boolean;\n  category?: string;\n  pricing_model?: \"free\" | \"freemium\" | \"paid\" | \"prescription\";\n  supported_platforms?: string[];\n  integrations?: string[];\n  website_url?: string;\n  app_store_url?: string;\n  play_store_url?: string;\n  icon_url?: string;\n  logo_url?: string;\n  rating?: string;\n  privacy_rating?: \"hipaa_compliant\" | \"hipaa_partial\" | \"standard\" | \"unknown\";\n  tags?: string[];\n  metadata?: Record<string, unknown>;\n}\n\nexport interface UpdatePracticeToolAttributes {\n  name?: string;\n  description?: string;\n  tool_type?: string;\n  url?: string;\n  platform?: string;\n  is_active?: boolean;\n  category?: string;\n  pricing_model?: \"free\" | \"freemium\" | \"paid\" | \"prescription\";\n  supported_platforms?: string[];\n  integrations?: string[];\n  website_url?: string;\n  app_store_url?: string;\n  play_store_url?: string;\n  icon_url?: string;\n  logo_url?: string;\n  rating?: string;\n  privacy_rating?: \"hipaa_compliant\" | \"hipaa_partial\" | \"standard\" | \"unknown\";\n  tags?: string[];\n  metadata?: Record<string, unknown>;\n}\n\nexport interface CreatePracticeResourceAttributes {\n  workspace_id: string;\n  title: string;\n  description?: string;\n  resource_type?:\n    | \"article\"\n    | \"video\"\n    | \"handout\"\n    | \"worksheet\"\n    | \"tool_link\"\n    | \"infographic\"\n    | \"audio\"\n    | \"recipe\"\n    | \"checklist\"\n    | \"protocol\"\n    | \"assessment\"\n    | \"exercise\"\n    | \"template\"\n    | \"presentation\"\n    | \"ebook\"\n    | \"other\";\n  url?: string;\n  tags?: string[];\n  is_active?: boolean;\n  content_format?:\n    | \"pdf\"\n    | \"html\"\n    | \"video_embed\"\n    | \"external_link\"\n    | \"interactive\";\n  preview_url?: string;\n  language?: string;\n  reading_level?: \"basic\" | \"intermediate\" | \"advanced\" | \"clinical\";\n  audience?: \"patient\" | \"practitioner\" | \"both\";\n  author?: string;\n  license?: string;\n  estimated_duration_minutes?: number;\n  applicable_conditions?: string[];\n  related_goal_types?: string[];\n  icon_url?: string;\n  category?: string;\n  condition_tags?: string[];\n  metadata?: Record<string, unknown>;\n}\n\nexport interface CreateCatalogGoalTemplateAttributes {\n  goal_type: string;\n  frequency?: \"daily\" | \"weekly\";\n  title: string;\n  description?: string;\n  action_steps?: string[];\n  priority?: \"high\" | \"medium\" | \"low\";\n  category?: string;\n  timeframe?: string;\n  tool_ids?: string[];\n  metadata?: Record<string, unknown>;\n  tags?: string[];\n  target_value?: string;\n  unit?: string;\n  linked_metric_type?: string;\n  difficulty?: \"beginner\" | \"intermediate\" | \"advanced\";\n  evidence_base?: string;\n  instructions?: string;\n  suggested_duration_days?: number;\n  applicable_conditions?: string[];\n  age_groups?: string[];\n  source_reference?: string;\n}\n\nexport interface UpdateCatalogGoalTemplateAttributes extends UpdateGoalTemplateAttributes {}\n\nexport interface CreateCatalogPracticeToolAttributes {\n  name: string;\n  description?: string;\n  tool_type?: string;\n  url?: string;\n  platform?: string;\n  is_active?: boolean;\n  category?: string;\n  pricing_model?: \"free\" | \"freemium\" | \"paid\" | \"prescription\";\n  supported_platforms?: string[];\n  integrations?: string[];\n  website_url?: string;\n  app_store_url?: string;\n  play_store_url?: string;\n  icon_url?: string;\n  logo_url?: string;\n  rating?: string;\n  privacy_rating?: \"hipaa_compliant\" | \"hipaa_partial\" | \"standard\" | \"unknown\";\n  tags?: string[];\n  metadata?: Record<string, unknown>;\n}\n\nexport interface UpdateCatalogPracticeToolAttributes extends UpdatePracticeToolAttributes {}\n\nexport interface CreateCatalogPracticeResourceAttributes {\n  title: string;\n  description?: string;\n  resource_type?:\n    | \"article\"\n    | \"video\"\n    | \"handout\"\n    | \"worksheet\"\n    | \"tool_link\"\n    | \"infographic\"\n    | \"audio\"\n    | \"recipe\"\n    | \"checklist\"\n    | \"protocol\"\n    | \"assessment\"\n    | \"exercise\"\n    | \"template\"\n    | \"presentation\"\n    | \"ebook\"\n    | \"other\";\n  url?: string;\n  tags?: string[];\n  is_active?: boolean;\n  content_format?:\n    | \"pdf\"\n    | \"html\"\n    | \"video_embed\"\n    | \"external_link\"\n    | \"interactive\";\n  preview_url?: string;\n  language?: string;\n  reading_level?: \"basic\" | \"intermediate\" | \"advanced\" | \"clinical\";\n  audience?: \"patient\" | \"practitioner\" | \"both\";\n  author?: string;\n  license?: string;\n  estimated_duration_minutes?: number;\n  applicable_conditions?: string[];\n  related_goal_types?: string[];\n  icon_url?: string;\n  category?: string;\n  condition_tags?: string[];\n  metadata?: Record<string, unknown>;\n}\n\nexport interface UpdatePracticeResourceAttributes {\n  title?: string;\n  description?: string;\n  resource_type?:\n    | \"article\"\n    | \"video\"\n    | \"handout\"\n    | \"worksheet\"\n    | \"tool_link\"\n    | \"infographic\"\n    | \"audio\"\n    | \"recipe\"\n    | \"checklist\"\n    | \"protocol\"\n    | \"assessment\"\n    | \"exercise\"\n    | \"template\"\n    | \"presentation\"\n    | \"ebook\"\n    | \"other\";\n  url?: string;\n  tags?: string[];\n  is_active?: boolean;\n  content_format?:\n    | \"pdf\"\n    | \"html\"\n    | \"video_embed\"\n    | \"external_link\"\n    | \"interactive\";\n  preview_url?: string;\n  language?: string;\n  reading_level?: \"basic\" | \"intermediate\" | \"advanced\" | \"clinical\";\n  audience?: \"patient\" | \"practitioner\" | \"both\";\n  author?: string;\n  license?: string;\n  estimated_duration_minutes?: number;\n  applicable_conditions?: string[];\n  related_goal_types?: string[];\n  icon_url?: string;\n  category?: string;\n  condition_tags?: string[];\n  metadata?: Record<string, unknown>;\n}\n\nexport interface UpdateCatalogPracticeResourceAttributes extends UpdatePracticeResourceAttributes {}\n\n/** A practice resource category with usage count. */\nexport interface PracticeResourceCategory {\n  category: string;\n  resource_count: number;\n}\n\nexport interface CreateInsuranceAuthorizationAttributes {\n  insurance_record_id: string;\n  authorized_units: number;\n  unit_type: \"visits\" | \"hours\";\n  used_units?: number;\n  cpt_codes_authorized?: string[];\n  authorization_start?: string;\n  authorization_end?: string;\n  reauthorization_reminder?: string;\n  status?: \"active\" | \"exhausted\" | \"expired\" | \"cancelled\";\n  notes?: string;\n  metadata?: Record<string, unknown>;\n}\n\nexport interface UpdateInsuranceAuthorizationAttributes {\n  authorized_units?: number;\n  used_units?: number;\n  unit_type?: \"visits\" | \"hours\";\n  cpt_codes_authorized?: string[];\n  authorization_start?: string;\n  authorization_end?: string;\n  reauthorization_reminder?: string;\n  status?: \"active\" | \"exhausted\" | \"expired\" | \"cancelled\";\n  notes?: string;\n  metadata?: Record<string, unknown>;\n}\n\nexport interface CreatePatientInsuranceAttributes {\n  patient_id: string;\n  rank: \"primary\" | \"secondary\" | \"tertiary\";\n  carrier_name?: string;\n  plan_name?: string;\n  plan_type?:\n    | \"ppo\"\n    | \"hmo\"\n    | \"epo\"\n    | \"pos\"\n    | \"hdhp\"\n    | \"medicaid\"\n    | \"medicare\"\n    | \"tricare\"\n    | \"other\";\n  member_id?: string;\n  group_number?: string;\n  subscriber_name?: string;\n  subscriber_relationship?: \"self\" | \"spouse\" | \"child\" | \"other\";\n  coverage_start?: string;\n  coverage_end?: string;\n  copay_amount?: string;\n  authorization_number?: string;\n  payer_id?: string;\n  status?: \"active\" | \"inactive\" | \"pending_verification\";\n  metadata?: Record<string, unknown>;\n}\n\nexport interface UpdatePatientInsuranceAttributes {\n  rank?: \"primary\" | \"secondary\" | \"tertiary\";\n  carrier_name?: string;\n  plan_name?: string;\n  plan_type?:\n    | \"ppo\"\n    | \"hmo\"\n    | \"epo\"\n    | \"pos\"\n    | \"hdhp\"\n    | \"medicaid\"\n    | \"medicare\"\n    | \"tricare\"\n    | \"other\";\n  member_id?: string;\n  group_number?: string;\n  subscriber_name?: string;\n  subscriber_relationship?: \"self\" | \"spouse\" | \"child\" | \"other\";\n  coverage_start?: string;\n  coverage_end?: string;\n  copay_amount?: string;\n  authorization_number?: string;\n  payer_id?: string;\n  status?: \"active\" | \"inactive\" | \"pending_verification\";\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes for creating a clinical session. */\nexport interface CreateClinicalSessionAttributes {\n  workspace_id: string;\n  patient_id: string;\n  owner_id?: string;\n  external_owner_id?: string;\n  event_id?: string;\n  session_type?: string;\n  session_status?: string;\n  session_format?: string;\n  session_date?: string;\n  duration_minutes?: number;\n  transcript_storage_key?: string;\n  transcript?: string;\n  session_summary?: string;\n  notes?: string;\n  external_ids?: Record<string, string>;\n  prep_execution_id?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes for updating a clinical session (PATCH semantics). */\nexport interface UpdateClinicalSessionAttributes {\n  owner_id?: string;\n  external_owner_id?: string;\n  event_id?: string;\n  pipeline_execution_id?: string;\n  session_type?: string;\n  session_status?: string;\n  session_format?: string;\n  session_date?: string;\n  duration_minutes?: number;\n  transcript_storage_key?: string;\n  transcript?: string;\n  session_summary?: string;\n  notes?: string;\n  external_ids?: Record<string, string>;\n  prep_execution_id?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes for creating a clinical note. */\nexport interface CreateClinicalNoteAttributes {\n  workspace_id: string;\n  session_id: string;\n  pipeline_execution_id?: string;\n  note_type?: string;\n  note_content?: string;\n  amends_note_id?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes for updating a clinical note (PATCH semantics). */\nexport interface UpdateClinicalNoteAttributes {\n  pipeline_execution_id?: string;\n  note_type?: string;\n  note_content?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes for creating a health metric. */\nexport interface CreateHealthMetricAttributes {\n  workspace_id: string;\n  patient_id: string;\n  session_id?: string;\n  pipeline_execution_id?: string;\n  metric_type: string;\n  metric_category?: string;\n  /** Decimal value as string (JSON:API convention — avoids floating-point precision loss). */\n  value_numeric?: string;\n  value_text?: string;\n  unit?: string;\n  measured_at?: string;\n  source?: string;\n  extracted_from?: string;\n  /** Decimal value as string (JSON:API convention — avoids floating-point precision loss). */\n  confidence?: string;\n  raw_extract?: string;\n  metadata?: Record<string, unknown>;\n  context_tags?: string[];\n}\n\n/** Attributes for updating a health metric (PATCH semantics). */\nexport interface UpdateHealthMetricAttributes {\n  metric_type?: string;\n  metric_category?: string;\n  /** Decimal value as string (JSON:API convention — avoids floating-point precision loss). */\n  value_numeric?: string;\n  value_text?: string;\n  unit?: string;\n  measured_at?: string;\n  source?: string;\n  /** Decimal value as string (JSON:API convention — avoids floating-point precision loss). */\n  confidence?: string;\n  metadata?: Record<string, unknown>;\n  context_tags?: string[];\n}\n\nexport interface HealthMetricSummaryParams {\n  patient_id: string;\n  metric_type?: string;\n  from_date?: string;\n  to_date?: string;\n  group_by?: \"day\" | \"week\" | \"month\";\n}\n\nexport interface HealthMetricSummaryPeriod {\n  period: string;\n  metric_type?: string;\n  count: number;\n  avg: string | null;\n  min: string | null;\n  max: string | null;\n  tag_counts: Record<string, number>;\n}\n\n/** Attributes for creating a meal plan. */\nexport interface CreateMealPlanAttributes {\n  workspace_id: string;\n  patient_id?: string;\n  session_id?: string;\n  pipeline_execution_id?: string;\n  status?: string;\n  plan_type?: string;\n  goal_calories?: number;\n  parent_plan_id?: string;\n  metadata?: Record<string, unknown>;\n  clinical_rationale?: string;\n  hydration_guidelines?: string;\n  intro_paragraph?: string;\n  remember_message?: string;\n  nutrition_targets?: Record<string, unknown>;\n  hand_portions?: Record<string, unknown>;\n  additional_tips?: string[];\n  food_group_targets?: Record<string, unknown>[];\n  next_steps?: string[];\n  meal_schedule_id?: string;\n}\n\n/** Attributes for updating a meal plan (PATCH semantics). */\nexport interface UpdateMealPlanAttributes {\n  status?: string;\n  plan_type?: string;\n  goal_calories?: number;\n  metadata?: Record<string, unknown>;\n  clinical_rationale?: string;\n  hydration_guidelines?: string;\n  intro_paragraph?: string;\n  remember_message?: string;\n  nutrition_targets?: Record<string, unknown>;\n  hand_portions?: Record<string, unknown>;\n  additional_tips?: string[];\n  food_group_targets?: Record<string, unknown>[];\n  next_steps?: string[];\n  meal_schedule_id?: string;\n}\n\n/** Attributes for creating a client goal. */\nexport interface CreateClientGoalAttributes {\n  workspace_id: string;\n  patient_id: string;\n  status?:\n    | \"active\"\n    | \"completed\"\n    | \"abandoned\"\n    | \"paused\"\n    | \"achieved\"\n    | \"discontinued\";\n  goal_type: string;\n  frequency?: \"daily\" | \"weekly\";\n  title: string;\n  description?: string;\n  /** Decimal value as string (JSON:API convention). */\n  target_value?: string;\n  /** Decimal value as string (JSON:API convention). */\n  current_value?: string;\n  unit?: string;\n  target_date?: string;\n  linked_metric_type?: string;\n  tool_ids?: string[];\n  action_steps?: string[];\n  priority?: \"high\" | \"medium\" | \"low\";\n  category?: string;\n  timeframe?: string;\n  position?: number;\n  source?: \"manual\" | \"session\" | \"template\";\n  session_id?: string;\n  template_id?: string;\n  email_sent_at?: string;\n  metadata?: Record<string, unknown>;\n  progress_notes?: string;\n  achieved_at?: string;\n}\n\n/** Attributes for creating a client goal from a template. */\nexport interface CreateGoalFromTemplateAttributes {\n  workspace_id: string;\n  template_id: string;\n  patient_id: string;\n}\n\n/** Attributes for updating a client goal (PATCH semantics). */\nexport interface UpdateClientGoalAttributes {\n  status?:\n    | \"active\"\n    | \"completed\"\n    | \"abandoned\"\n    | \"paused\"\n    | \"achieved\"\n    | \"discontinued\";\n  goal_type?: string;\n  frequency?: \"daily\" | \"weekly\";\n  title?: string;\n  description?: string;\n  /** Decimal value as string (JSON:API convention). */\n  target_value?: string;\n  /** Decimal value as string (JSON:API convention). */\n  current_value?: string;\n  unit?: string;\n  target_date?: string;\n  linked_metric_type?: string;\n  tool_ids?: string[];\n  action_steps?: string[];\n  priority?: \"high\" | \"medium\" | \"low\";\n  category?: string;\n  timeframe?: string;\n  position?: number;\n  source?: \"manual\" | \"session\" | \"template\";\n  session_id?: string;\n  template_id?: string;\n  email_sent_at?: string;\n  metadata?: Record<string, unknown>;\n  progress_notes?: string;\n  achieved_at?: string;\n}\n\n/** Item in a batch update request. */\nexport interface BatchUpdateGoalItem {\n  id: string;\n  attributes: UpdateClientGoalAttributes;\n}\n\n/** Server response from a batch update operation. */\nexport interface BatchUpdateGoalResponse {\n  updated: number;\n}\n\n/** Per-goal failure record returned from batch approve/reject operations. */\nexport interface BatchReviewGoalFailure {\n  id: string;\n  reason: string;\n}\n\n/** Minimal goal projection returned from batch approve/reject operations. */\nexport interface BatchReviewedGoal {\n  id: string;\n  patient_id: string;\n  review_status: \"none\" | \"draft\" | \"approved\" | \"rejected\";\n  status: ClinicalClientGoal[\"status\"];\n  reviewed_by_id: string | null;\n  reviewed_at: string | null;\n  title: string;\n}\n\n/** Server response from `clientGoals.batchApprove`. */\nexport interface BatchApproveGoalsResponse {\n  approved: BatchReviewedGoal[];\n  failed: BatchReviewGoalFailure[];\n}\n\n/** Server response from `clientGoals.batchReject`. */\nexport interface BatchRejectGoalsResponse {\n  rejected: BatchReviewedGoal[];\n  failed: BatchReviewGoalFailure[];\n}\n\n/** Server response from a goal history request. */\nexport interface GoalHistoryEvent {\n  action: \"goal_created\" | \"goal_updated\" | \"goal_archived\" | \"goal_restored\";\n  changes?: { field: string; old: string | null; new: string | null }[];\n  actor_id?: string;\n  created_at: string;\n}\n\nexport interface GoalHistoryResponse {\n  events: GoalHistoryEvent[];\n}\n\n/** Attributes for creating a goal association. */\nexport interface CreateGoalAssociationAttributes {\n  entity_type:\n    | \"meal_plan\"\n    | \"session\"\n    | \"health_metric\"\n    | \"recipe\"\n    | \"supplement\";\n  entity_id: string;\n  notes?: string;\n}\n\n/** A goal-entity association record. */\nexport interface GoalAssociation {\n  id: string;\n  client_goal_id: string;\n  entity_type:\n    | \"meal_plan\"\n    | \"session\"\n    | \"health_metric\"\n    | \"recipe\"\n    | \"supplement\";\n  entity_id: string;\n  notes?: string;\n  inserted_at: string;\n}\n\n/** Attributes for creating a client supplement. */\nexport interface CreateClientSupplementAttributes {\n  workspace_id: string;\n  patient_id: string;\n  status?: string;\n  name: string;\n  dosage?: string;\n  frequency?: string;\n  instructions?: string;\n  rationale_client?: string;\n  rationale_clinical?: string;\n  fullscript_product_id?: string;\n  fullscript_variant_id?: string;\n  prescribed_at?: string;\n  discontinued_at?: string;\n  metadata?: Record<string, unknown>;\n  route?: string;\n  source?: string;\n  fullscript_treatment_plan_id?: string;\n  interaction_flags?: string[];\n  protocol_template_id?: string;\n}\n\n/** Attributes for updating a client supplement (PATCH semantics). */\nexport interface UpdateClientSupplementAttributes {\n  status?: string;\n  name?: string;\n  dosage?: string;\n  frequency?: string;\n  instructions?: string;\n  rationale_client?: string;\n  rationale_clinical?: string;\n  fullscript_product_id?: string;\n  fullscript_variant_id?: string;\n  prescribed_at?: string;\n  discontinued_at?: string;\n  metadata?: Record<string, unknown>;\n  route?: string;\n  source?: string;\n  fullscript_treatment_plan_id?: string;\n  interaction_flags?: string[];\n  protocol_template_id?: string;\n}\n\n/** A single item in a supplement batch update request. */\nexport interface BatchUpdateSupplementItem {\n  /** ClientSupplement UUID to update. */\n  id: string;\n  /** Fields to update (PATCH semantics). */\n  attributes: UpdateClientSupplementAttributes;\n}\n\n/** Response from a supplement batch update. */\nexport interface BatchUpdateSupplementResponse {\n  /** Number of successfully updated supplements. */\n  updated: number;\n  /** Updated supplement records. */\n  results: ClinicalClientSupplement[];\n}\n\n/** A supplement check-in record. */\nexport interface SupplementCheckIn {\n  id: string;\n  supplement_id: string;\n  /** ISO 8601 date (YYYY-MM-DD). */\n  check_in_date: string;\n  /** Whether the supplement was taken, skipped, or partially taken. */\n  status: \"taken\" | \"skipped\" | \"partial\";\n  notes?: string | null;\n  metadata?: Record<string, unknown>;\n  created_at?: string;\n  updated_at?: string;\n}\n\n/** Attributes for creating a supplement check-in. */\nexport interface CreateSupplementCheckInAttributes {\n  /** ISO 8601 date (YYYY-MM-DD). No future dates allowed. */\n  check_in_date: string;\n  /** Whether the supplement was taken, skipped, or partially taken. */\n  status: \"taken\" | \"skipped\" | \"partial\";\n  notes?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes for updating a supplement check-in. */\nexport interface UpdateSupplementCheckInAttributes {\n  status?: \"taken\" | \"skipped\" | \"partial\";\n  notes?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Parameters for listing supplement check-ins. */\nexport interface ListSupplementCheckInsParams {\n  /** Filter: only check-ins on or after this date (YYYY-MM-DD). */\n  start_date?: string;\n  /** Filter: only check-ins on or before this date (YYYY-MM-DD). */\n  end_date?: string;\n}\n\n/** A single item in a supplement check-in batch upsert. */\nexport interface BatchSupplementCheckInItem {\n  /** ISO 8601 date (YYYY-MM-DD). No future dates. */\n  check_in_date: string;\n  status: \"taken\" | \"skipped\" | \"partial\";\n  notes?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Response from a supplement check-in batch upsert. */\nexport interface BatchSupplementCheckInResponse {\n  created: number;\n  updated: number;\n  failed: number;\n  results: SupplementCheckIn[];\n}\n\n/** Attributes for creating a supplement template. */\nexport interface CreateSupplementTemplateAttributes {\n  workspace_id: string;\n  name: string;\n  description?: string;\n  category?: string;\n  applicable_conditions?: string[];\n  supplements: SupplementTemplateItemDefinition[];\n  metadata?: Record<string, unknown>;\n  tags?: string[];\n  source_catalog_id?: string;\n}\n\n/** Attributes for updating a supplement template (PATCH semantics). */\nexport interface UpdateSupplementTemplateAttributes {\n  name?: string;\n  description?: string;\n  category?: string;\n  applicable_conditions?: string[];\n  supplements?: SupplementTemplateItemDefinition[];\n  metadata?: Record<string, unknown>;\n  tags?: string[];\n  is_active?: boolean;\n}\n\n/** Catalog supplement template creation attributes. Same as workspace but without workspace_id. */\nexport interface CreateCatalogSupplementTemplateAttributes {\n  name: string;\n  description?: string;\n  category?: string;\n  applicable_conditions?: string[];\n  supplements: SupplementTemplateItemDefinition[];\n  metadata?: Record<string, unknown>;\n  tags?: string[];\n}\n\n/** Catalog supplement template update attributes. */\nexport interface UpdateCatalogSupplementTemplateAttributes {\n  name?: string;\n  description?: string;\n  category?: string;\n  applicable_conditions?: string[];\n  supplements?: SupplementTemplateItemDefinition[];\n  metadata?: Record<string, unknown>;\n  tags?: string[];\n  is_active?: boolean;\n}\n\n/** A supplement definition within a template. */\nexport interface SupplementTemplateItemDefinition {\n  name: string;\n  dosage?: string;\n  frequency?: string;\n  route?: string;\n  instructions?: string;\n  rationale_client?: string;\n  rationale_clinical?: string;\n}\n\n/** Attributes for creating a template from an existing one. */\nexport interface CreateFromExistingSupplementTemplateAttributes {\n  workspace_id: string;\n  source_template_id: string;\n}\n\n/** Response from applying a supplement template to a patient. */\nexport interface ApplySupplementTemplateResponse {\n  template_id: string;\n  results: Array<{ id?: string; status: string; error?: string }>;\n}\n\n/** Attributes for creating a supplement template collection. */\nexport interface CreateSupplementTemplateCollectionAttributes {\n  workspace_id: string;\n  name: string;\n  description?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes for updating a supplement template collection. */\nexport interface UpdateSupplementTemplateCollectionAttributes {\n  name?: string;\n  description?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes for creating a supplement template collection membership. */\nexport interface CreateSupplementCollectionMembershipAttributes {\n  collection_id: string;\n  template_id: string;\n  sort_order?: number;\n}\n\n/** Attributes for updating a supplement template collection membership. */\nexport interface UpdateSupplementCollectionMembershipAttributes {\n  sort_order?: number;\n}\n\n/** Attributes for creating a clinical delivery. */\nexport interface CreateClinicalDeliveryAttributes {\n  workspace_id: string;\n  patient_id: string;\n  session_id?: string;\n  delivery_type?: string;\n  status?: string;\n  email_message_id?: string;\n  included_goal_ids?: string[];\n  included_supplement_ids?: string[];\n  included_resource_ids?: string[];\n  delivered_at?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes for updating a clinical delivery (PATCH semantics). */\nexport interface UpdateClinicalDeliveryAttributes {\n  status?: string;\n  delivered_at?: string;\n  email_message_id?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes for creating a client resource assignment. */\nexport interface CreateClientResourceAssignmentAttributes {\n  workspace_id: string;\n  patient_id: string;\n  resource_id: string;\n  assigned_by_id?: string;\n  status?: string;\n  assigned_at?: string;\n  notes?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes for updating a client resource assignment (PATCH semantics). */\nexport interface UpdateClientResourceAssignmentAttributes {\n  status?: string;\n  completed_at?: string;\n  notes?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes for updating a supplement recommendation cache entry. */\nexport interface UpdateSupplementRecCacheAttributes {\n  status?: string;\n  recommendations?: Record<string, unknown>;\n  generated_at?: string;\n  expires_at?: string;\n}\n\n// ---- Soft-delete & resource management response types ----\n\n/** Result of a tag rename operation. */\nexport interface TagRenameResult {\n  updated_count: number;\n}\n\n/** Result of a tag delete operation. */\nexport interface TagDeleteResult {\n  updated_count: number;\n}\n\n/** Result of a tag merge operation. */\nexport interface TagMergeResult {\n  updated_count: number;\n}\n\n/** Parameters for importing resources from a URL. */\nexport interface ImportFromUrlParams {\n  url: string;\n  workspace_id: string;\n}\n\n/** Duplicate detection statistics for a resource type in a workspace. */\nexport interface DuplicateStats {\n  total_resources: number;\n  duplicate_groups: number;\n  affected_resources: number;\n}\n\n/** A group of duplicate resources identified by similarity. */\nexport interface DuplicateGroup {\n  group_id: string;\n  resource_ids: string[];\n  match_type: string;\n  confidence: number;\n  sample_title: string;\n  count: number;\n}\n\n/** Result of resolving a duplicate group. */\nexport interface DuplicateResolveResult {\n  kept: string;\n  archived: string[];\n}\n\n// ---------------------------------------------------------------------------\n// Namespace factory\n// ---------------------------------------------------------------------------\n\n/**\n * Creates the admin clinical namespace.\n *\n * @param rb - The request builder instance\n * @returns Analytics, goalTemplates, practiceTools, and practiceResources sub-namespaces\n */\n/** Attributes for creating a clinical intake target. */\nexport interface CreateIntakeTargetAttributes {\n  workspace_id: string;\n  patient_id: string;\n  is_active?: boolean;\n  weight_kg: number;\n  height_cm: number;\n  age: number;\n  sex: \"male\" | \"female\";\n  activity_level:\n    | \"sedentary\"\n    | \"lightly_active\"\n    | \"moderately_active\"\n    | \"very_active\"\n    | \"extremely_active\";\n  weight_method: \"actual\" | \"ideal\" | \"adjusted\";\n  weight_used_kg: number;\n  bmr: number;\n  tdee: number;\n  goal_direction: \"lose\" | \"maintain\" | \"gain\";\n  rate_lbs_per_week?: number | null;\n  calorie_adjustment: number;\n  target_calories: number;\n  macro_mode: \"percentage\" | \"body_weight_protein\" | \"hybrid\";\n  protein_pct: number;\n  carbs_pct: number;\n  fat_pct: number;\n  protein_g_per_kg?: number | null;\n  protein_grams: number;\n  carbs_grams: number;\n  fat_grams: number;\n  simple_carbs_pct?: number | null;\n  fruit_pct?: number | null;\n  vegetables_pct?: number | null;\n  meals_per_day: number;\n  snacks_per_day: number;\n  hydration_ml: number;\n  condition_rules?: string[];\n  notes?: string | null;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes for updating a clinical intake target. */\nexport interface UpdateIntakeTargetAttributes {\n  weight_kg?: number;\n  height_cm?: number;\n  age?: number;\n  sex?: \"male\" | \"female\";\n  activity_level?:\n    | \"sedentary\"\n    | \"lightly_active\"\n    | \"moderately_active\"\n    | \"very_active\"\n    | \"extremely_active\";\n  weight_method?: \"actual\" | \"ideal\" | \"adjusted\";\n  weight_used_kg?: number;\n  bmr?: number;\n  tdee?: number;\n  goal_direction?: \"lose\" | \"maintain\" | \"gain\";\n  rate_lbs_per_week?: number | null;\n  calorie_adjustment?: number;\n  target_calories?: number;\n  macro_mode?: \"percentage\" | \"body_weight_protein\" | \"hybrid\";\n  protein_pct?: number;\n  carbs_pct?: number;\n  fat_pct?: number;\n  protein_g_per_kg?: number | null;\n  protein_grams?: number;\n  carbs_grams?: number;\n  fat_grams?: number;\n  simple_carbs_pct?: number | null;\n  fruit_pct?: number | null;\n  vegetables_pct?: number | null;\n  meals_per_day?: number;\n  snacks_per_day?: number;\n  hydration_ml?: number;\n  condition_rules?: string[];\n  notes?: string | null;\n  metadata?: Record<string, unknown>;\n}\n\nexport type DocumentType = string;\n\nexport type ExtractionStatus =\n  | \"pending\"\n  | \"processing\"\n  | \"completed\"\n  | \"failed\"\n  | \"skipped\";\n\nexport interface CreateDocumentAttributes {\n  workspace_id: string;\n  patient_id: string;\n  storage_file_id: string;\n  title: string;\n  document_type: DocumentType;\n  source_platform: string;\n  source_date?: string;\n  contact_id?: string;\n  import_id?: string;\n  expires_at?: string;\n}\n\nexport interface UpdateDocumentAttributes {\n  title?: string;\n  document_type?: DocumentType;\n  source_platform?: string;\n  source_date?: string;\n  contact_id?: string;\n  expires_at?: string;\n}\n\nexport interface ListDocumentsOptions {\n  filter?: Record<string, unknown>;\n  page?: { offset?: number; limit?: number };\n  sort?: string;\n}\n\nexport interface ListDocumentsByPatientOptions {\n  page?: { offset?: number; limit?: number };\n}\n\nexport function createClinicalNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * ISV clinical analytics — overview and pipeline metrics.\n     */\n    analytics: {\n      async overview(\n        workspaceId: string,\n        params?: Record<string, string>,\n        options?: RequestOptions,\n      ): Promise<ClinicalAnalyticsOverview> {\n        const qs = new URLSearchParams({\n          workspace_id: workspaceId,\n          ...params,\n        });\n        return rb.rawGet<ClinicalAnalyticsOverview>(\n          `/isv/clinical/analytics/overview?${qs.toString()}`,\n          options,\n        );\n      },\n\n      async pipeline(\n        workspaceId: string,\n        params?: Record<string, string>,\n        options?: RequestOptions,\n      ): Promise<ClinicalPipelineAnalytics> {\n        const qs = new URLSearchParams({\n          workspace_id: workspaceId,\n          ...params,\n        });\n        return rb.rawGet<ClinicalPipelineAnalytics>(\n          `/isv/clinical/analytics/pipeline?${qs.toString()}`,\n          options,\n        );\n      },\n    },\n\n    /**\n     * Manage reusable clinical goal templates.\n     */\n    goalTemplates: {\n      /**\n       * List goal templates in a workspace.\n       *\n       * @param params - Must include `workspace_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalGoalTemplate} records\n       */\n      list: async (\n        params: {\n          workspace_id: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate[]> =>\n        rb.execute<ClinicalGoalTemplate[]>(\n          getAdminClinicalGoalTemplates,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * List practitioner's personal templates.\n       *\n       * @param params - Must include `created_by_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalGoalTemplate} records\n       */\n      listMine: async (\n        params: { created_by_id: string },\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate[]> =>\n        rb.execute<ClinicalGoalTemplate[]>(\n          getAdminClinicalGoalTemplatesMine,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * List distinct goal template categories with counts.\n       *\n       * @param params - Must include `workspace_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalGoalTemplateCategory} records\n       */\n      listCategories: async (\n        params: { workspace_id: string },\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplateCategory[]> =>\n        rb.execute<ClinicalGoalTemplateCategory[]>(\n          getAdminClinicalGoalTemplatesCategories,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * Get a single goal template by ID.\n       *\n       * @param id - GoalTemplate UUID\n       * @param options - Request options\n       * @returns {@link ClinicalGoalTemplate} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate> =>\n        rb.execute<ClinicalGoalTemplate>(\n          getAdminClinicalGoalTemplatesById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Create a new goal template.\n       *\n       * @param attributes - Must include `workspace_id`, `goal_type`, and `title`\n       * @param options - Request options\n       * @returns Created {@link ClinicalGoalTemplate} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.goalTemplates.create({ workspace_id: \"...\" });\n       * ```\n       */\n      create: async (\n        attributes: CreateGoalTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate> =>\n        rb.execute<ClinicalGoalTemplate>(\n          postAdminClinicalGoalTemplates,\n          { body: { data: { type: \"clinical-goal-template\", attributes } } },\n          options,\n        ),\n\n      /**\n       * Create a personalized template from an existing one.\n       *\n       * @param attributes - Must include `workspace_id` and `source_template_id`\n       * @param options - Request options\n       * @returns Created {@link ClinicalGoalTemplate} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.goalTemplates.createFromExisting({ workspace_id: \"...\", source_template_id: \"...\" });\n       * ```\n       */\n      createFromExisting: async (\n        attributes: CreateFromExistingAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate> =>\n        rb.execute<ClinicalGoalTemplate>(\n          postAdminClinicalGoalTemplatesFromExisting,\n          { body: { data: { type: \"clinical-goal-template\", attributes } } },\n          options,\n        ),\n\n      /**\n       * Update a goal template.\n       *\n       * @param id - GoalTemplate UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalGoalTemplate} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.goalTemplates.update(\"uuid\", { status: \"active\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateGoalTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate> =>\n        rb.execute<ClinicalGoalTemplate>(\n          patchAdminClinicalGoalTemplatesById,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-goal-template\", id, attributes } },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a goal template.\n       *\n       * @deprecated Use `archive()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - GoalTemplate UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalGoalTemplate} record\n       */\n      delete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate> =>\n        rb.execute<ClinicalGoalTemplate>(\n          patchAdminClinicalGoalTemplatesByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-goal-template\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a goal template.\n       *\n       * @param id - GoalTemplate UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalGoalTemplate} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.goalTemplates.archive(\"uuid\");\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate> =>\n        rb.execute<ClinicalGoalTemplate>(\n          patchAdminClinicalGoalTemplatesByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-goal-template\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived goal template.\n       *\n       * @param id - GoalTemplate UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalGoalTemplate} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.goalTemplates.restore(\"uuid\");\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate> =>\n        rb.execute<ClinicalGoalTemplate>(\n          patchAdminClinicalGoalTemplatesByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-goal-template\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a goal template. This action is irreversible.\n       *\n       * @param id - GoalTemplate UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.goalTemplates.permanentDelete(\"uuid\");\n       * ```\n       */\n      permanentDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalGoalTemplatesByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived goal templates in a workspace.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalGoalTemplate} records\n       */\n      listArchived: async (\n        params: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate[]> =>\n        rb.execute<ClinicalGoalTemplate[]>(\n          getAdminClinicalGoalTemplatesArchived,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * List application-level catalog goal templates.\n       *\n       * @param params - Must include `application_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalGoalTemplate} catalog records\n       */\n      listCatalog: async (\n        params: {\n          application_id: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate[]> =>\n        rb.execute<ClinicalGoalTemplate[]>(\n          getAdminClinicalGoalTemplatesCatalog,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * Get a catalog goal template by ID.\n       *\n       * @param id - GoalTemplate UUID\n       * @param options - Request options\n       * @returns {@link ClinicalGoalTemplate} catalog record\n       */\n      getCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate> =>\n        rb.execute<ClinicalGoalTemplate>(\n          getAdminClinicalGoalTemplatesCatalogById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Create an application-level catalog goal template.\n       *\n       * @param attributes - Must include `goal_type` and `title`\n       * @param options - Request options\n       * @returns Created {@link ClinicalGoalTemplate} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.goalTemplates.createCatalog({ title: \"New\" });\n       * ```\n       */\n      createCatalog: async (\n        attributes: CreateCatalogGoalTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate> =>\n        rb.execute<ClinicalGoalTemplate>(\n          postAdminClinicalGoalTemplatesCatalog,\n          { body: { data: { type: \"clinical-goal-template\", attributes } } },\n          options,\n        ),\n\n      /**\n       * Update a catalog goal template.\n       *\n       * @param id - GoalTemplate UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalGoalTemplate} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.goalTemplates.updateCatalog(\"uuid\", { status: \"active\" });\n       * ```\n       */\n      updateCatalog: async (\n        id: string,\n        attributes: UpdateCatalogGoalTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate> =>\n        rb.execute<ClinicalGoalTemplate>(\n          patchAdminClinicalGoalTemplatesCatalogById,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-goal-template\", id, attributes } },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a catalog goal template.\n       *\n       * @deprecated Use `archiveCatalog()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - GoalTemplate UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalGoalTemplate} catalog record\n       */\n      deleteCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate> =>\n        rb.execute<ClinicalGoalTemplate>(\n          patchAdminClinicalGoalTemplatesCatalogByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-goal-template\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a catalog goal template.\n       *\n       * @param id - GoalTemplate UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalGoalTemplate} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.goalTemplates.archiveCatalog(\"uuid\");\n       * ```\n       */\n      archiveCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate> =>\n        rb.execute<ClinicalGoalTemplate>(\n          patchAdminClinicalGoalTemplatesCatalogByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-goal-template\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived catalog goal template.\n       *\n       * @param id - GoalTemplate UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalGoalTemplate} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.goalTemplates.restoreCatalog(\"uuid\");\n       * ```\n       */\n      restoreCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate> =>\n        rb.execute<ClinicalGoalTemplate>(\n          patchAdminClinicalGoalTemplatesCatalogByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-goal-template\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a catalog goal template. This action is irreversible.\n       *\n       * @param id - GoalTemplate UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.goalTemplates.permanentDeleteCatalog(\"uuid\");\n       * ```\n       */\n      permanentDeleteCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalGoalTemplatesCatalogByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived catalog goal templates.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalGoalTemplate} catalog records\n       */\n      listArchivedCatalog: async (\n        params?: ClinicalListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplate[]> =>\n        rb.execute<ClinicalGoalTemplate[]>(\n          getAdminClinicalGoalTemplatesCatalogArchived,\n          { query: params ?? {} },\n          options,\n        ),\n\n      /**\n       * List distinct catalog goal template categories with counts.\n       *\n       * @param params - Must include `application_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalGoalTemplateCategory} records\n       */\n      listCatalogCategories: async (\n        params: { application_id: string },\n        options?: RequestOptions,\n      ): Promise<ClinicalGoalTemplateCategory[]> =>\n        rb.execute<ClinicalGoalTemplateCategory[]>(\n          getAdminClinicalGoalTemplatesCategoriesCatalog,\n          { query: params },\n          options,\n        ),\n\n      tags: {\n        rename: async (\n          workspaceId: string,\n          oldTag: string,\n          newTag: string,\n          options?: RequestOptions,\n        ): Promise<TagRenameResult> =>\n          rb.rawPatch<TagRenameResult>(\n            `/clinical/goal-templates/tags/rename`,\n            { workspace_id: workspaceId, old_tag: oldTag, new_tag: newTag },\n            options,\n          ),\n\n        delete: async (\n          workspaceId: string,\n          tag: string,\n          options?: RequestOptions,\n        ): Promise<TagDeleteResult> =>\n          rb.rawDelete<TagDeleteResult>(\n            `/clinical/goal-templates/tags/${encodeURIComponent(tag)}?workspace_id=${encodeURIComponent(workspaceId)}`,\n            options,\n          ),\n\n        merge: async (\n          workspaceId: string,\n          sourceTags: string[],\n          targetTag: string,\n          options?: RequestOptions,\n        ): Promise<TagMergeResult> =>\n          rb.rawPost<TagMergeResult>(\n            `/clinical/goal-templates/tags/merge`,\n            {\n              workspace_id: workspaceId,\n              source_tags: sourceTags,\n              target_tag: targetTag,\n            },\n            options,\n          ),\n      },\n\n      imports: {\n        fromFile: async (\n          workspaceId: string,\n          file: File | Blob,\n          options?: RequestOptions,\n        ): Promise<Record<string, unknown>> => {\n          const formData = new FormData();\n          formData.append(\"file\", file);\n          formData.append(\"workspace_id\", workspaceId);\n          return rb.rawPostMultipart<Record<string, unknown>>(\n            `/clinical/goal-templates/imports/file`,\n            formData,\n            options,\n          );\n        },\n\n        fromUrl: async (\n          workspaceId: string,\n          url: string,\n          options?: RequestOptions,\n        ): Promise<Record<string, unknown>> =>\n          rb.rawPost<Record<string, unknown>>(\n            `/clinical/goal-templates/imports/url`,\n            { workspace_id: workspaceId, url },\n            options,\n          ),\n      },\n\n      duplicates: {\n        getStats: async (\n          workspaceId: string,\n          options?: RequestOptions,\n        ): Promise<DuplicateStats> =>\n          rb.rawGet<DuplicateStats>(\n            `/clinical/goal-templates/duplicates?workspace_id=${encodeURIComponent(workspaceId)}`,\n            options,\n          ),\n\n        listGroups: async (\n          workspaceId: string,\n          opts?: { threshold?: number; limit?: number },\n          options?: RequestOptions,\n        ): Promise<DuplicateGroup[]> => {\n          const qs = new URLSearchParams({ workspace_id: workspaceId });\n          if (opts?.threshold !== undefined)\n            qs.set(\"threshold\", String(opts.threshold));\n          if (opts?.limit !== undefined) qs.set(\"limit\", String(opts.limit));\n          return rb.rawGet<DuplicateGroup[]>(\n            `/clinical/goal-templates/duplicates/groups?${qs.toString()}`,\n            options,\n          );\n        },\n\n        resolve: async (\n          workspaceId: string,\n          groupId: string,\n          keepId: string,\n          options?: RequestOptions,\n        ): Promise<DuplicateResolveResult> =>\n          rb.rawPost<DuplicateResolveResult>(\n            `/clinical/goal-templates/duplicates/resolve`,\n            { workspace_id: workspaceId, group_id: groupId, keep_id: keepId },\n            options,\n          ),\n      },\n\n      // ── GoalTemplateCollection ─────────────────────────────────\n\n      collections: {\n        /** Get a goal template collection by ID. */\n        async get(id: string, options?: RequestOptions) {\n          return rb.execute<ClinicalGoalTemplateCollection>(\n            getAdminClinicalGoalTemplateCollectionsById,\n            { path: { id } },\n            options,\n          );\n        },\n\n        /** List goal template collections for a workspace. */\n        async list(\n          params: {\n            workspace_id: string;\n            page?: { offset?: number; limit?: number };\n          },\n          options?: RequestOptions,\n        ) {\n          return rb.execute<ClinicalGoalTemplateCollection[]>(\n            getAdminClinicalGoalTemplateCollections,\n            { query: params },\n            options,\n          );\n        },\n\n        /** Create a goal template collection. */\n        async create(\n          attrs: CreateGoalTemplateCollectionAttributes,\n          options?: RequestOptions,\n        ) {\n          return rb.execute<ClinicalGoalTemplateCollection>(\n            postAdminClinicalGoalTemplateCollections,\n            {\n              body: {\n                data: {\n                  type: \"clinical-goal-template-collection\",\n                  attributes: attrs,\n                },\n              },\n            },\n            options,\n          );\n        },\n\n        /** Update a goal template collection. */\n        async update(\n          id: string,\n          attrs: UpdateGoalTemplateCollectionAttributes,\n          options?: RequestOptions,\n        ) {\n          return rb.execute<ClinicalGoalTemplateCollection>(\n            patchAdminClinicalGoalTemplateCollectionsById,\n            {\n              path: { id },\n              body: {\n                data: {\n                  type: \"clinical-goal-template-collection\",\n                  id,\n                  attributes: attrs,\n                },\n              },\n            },\n            options,\n          );\n        },\n\n        /** Delete a goal template collection. */\n        async delete(id: string, options?: RequestOptions) {\n          return rb.execute<void>(\n            deleteAdminClinicalGoalTemplateCollectionsById,\n            { path: { id } },\n            options,\n          );\n        },\n\n        // ── CollectionMembership (nested) ──────────────────────────\n\n        templates: {\n          /** Get a collection membership by ID. */\n          async get(id: string, options?: RequestOptions) {\n            return rb.execute<ClinicalGoalTemplateCollectionMembership>(\n              getAdminClinicalGoalTemplateCollectionMembershipsById,\n              { path: { id } },\n              options,\n            );\n          },\n\n          /** List templates in a collection. */\n          async list(\n            collectionId: string,\n            options?: RequestOptions & {\n              page?: { offset?: number; limit?: number };\n            },\n          ) {\n            return rb.execute<ClinicalGoalTemplateCollectionMembership[]>(\n              getAdminClinicalGoalTemplateCollectionMembershipsCollectionByCollectionId,\n              {\n                path: { collection_id: collectionId },\n                query: {\n                  ...(options?.page ? { page: options.page } : {}),\n                },\n              },\n              options,\n            );\n          },\n\n          /** Add a template to a collection. Upserts on (collection_id, template_id). */\n          async create(\n            attrs: CreateCollectionMembershipAttributes,\n            options?: RequestOptions,\n          ) {\n            return rb.execute<ClinicalGoalTemplateCollectionMembership>(\n              postAdminClinicalGoalTemplateCollectionMemberships,\n              {\n                body: {\n                  data: {\n                    type: \"clinical-goal-template-collection-membership\",\n                    attributes: attrs,\n                  },\n                },\n              },\n              options,\n            );\n          },\n\n          /** Update a collection membership (e.g., sort order). */\n          async update(\n            id: string,\n            attrs: UpdateCollectionMembershipAttributes,\n            options?: RequestOptions,\n          ) {\n            return rb.execute<ClinicalGoalTemplateCollectionMembership>(\n              patchAdminClinicalGoalTemplateCollectionMembershipsById,\n              {\n                path: { id },\n                body: {\n                  data: {\n                    type: \"clinical-goal-template-collection-membership\",\n                    id,\n                    attributes: attrs,\n                  },\n                },\n              },\n              options,\n            );\n          },\n\n          /** Remove a template from a collection. */\n          async delete(id: string, options?: RequestOptions) {\n            return rb.execute<void>(\n              deleteAdminClinicalGoalTemplateCollectionMembershipsById,\n              { path: { id } },\n              options,\n            );\n          },\n        },\n      },\n    },\n\n    /**\n     * Manage clinical note templates — reusable SOAP/ADIME/progress note scaffolds.\n     *\n     * Templates carry placeholder strings substituted at apply time. Dual-scoped:\n     * workspace OR application catalog. Template `sections` are NOT PHI — they\n     * hold scaffolds only.\n     */\n    noteTemplates: {\n      list: async (\n        params: {\n          workspace_id: string;\n          page?: { offset?: number; limit?: number };\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate[]> =>\n        rb.execute<ClinicalNoteTemplate[]>(\n          getAdminClinicalNoteTemplates,\n          { query: params },\n          options,\n        ),\n\n      listMine: async (\n        params: {\n          created_by_id: string;\n          page?: { offset?: number; limit?: number };\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate[]> =>\n        rb.execute<ClinicalNoteTemplate[]>(\n          getAdminClinicalNoteTemplatesMine,\n          { query: params },\n          options,\n        ),\n\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate> =>\n        rb.execute<ClinicalNoteTemplate>(\n          getAdminClinicalNoteTemplatesById,\n          { path: { id } },\n          options,\n        ),\n\n      create: async (\n        attributes: {\n          workspace_id: string;\n          note_type: \"soap\" | \"adime\" | \"progress\" | \"discharge\" | \"addendum\";\n          title: string;\n          description?: string;\n          sections: Record<string, string>;\n          category?: string;\n          tags?: string[];\n          metadata?: Record<string, unknown>;\n          source_catalog_id?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate> =>\n        rb.execute<ClinicalNoteTemplate>(\n          postAdminClinicalNoteTemplates,\n          { body: { data: { type: \"clinical-note-template\", attributes } } },\n          options,\n        ),\n\n      createFromExisting: async (\n        attributes: { workspace_id: string; source_template_id: string },\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate> =>\n        rb.execute<ClinicalNoteTemplate>(\n          postAdminClinicalNoteTemplatesFromExisting,\n          { body: { data: { type: \"clinical-note-template\", attributes } } },\n          options,\n        ),\n\n      update: async (\n        id: string,\n        attributes: {\n          note_type?: \"soap\" | \"adime\" | \"progress\" | \"discharge\" | \"addendum\";\n          title?: string;\n          description?: string;\n          sections?: Record<string, string>;\n          category?: string;\n          tags?: string[];\n          metadata?: Record<string, unknown>;\n          is_active?: boolean;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate> =>\n        rb.execute<ClinicalNoteTemplate>(\n          patchAdminClinicalNoteTemplatesById,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-note-template\", id, attributes } },\n          },\n          options,\n        ),\n\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate> =>\n        rb.execute<ClinicalNoteTemplate>(\n          patchAdminClinicalNoteTemplatesByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-note-template\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate> =>\n        rb.execute<ClinicalNoteTemplate>(\n          patchAdminClinicalNoteTemplatesByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-note-template\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      permanentDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalNoteTemplatesByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      listArchived: async (\n        params: {\n          workspace_id: string;\n          page?: { offset?: number; limit?: number };\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate[]> =>\n        rb.execute<ClinicalNoteTemplate[]>(\n          getAdminClinicalNoteTemplatesArchived,\n          { query: params },\n          options,\n        ),\n\n      getCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate> =>\n        rb.execute<ClinicalNoteTemplate>(\n          getAdminClinicalNoteTemplatesCatalogById,\n          { path: { id } },\n          options,\n        ),\n\n      createCatalog: async (\n        attributes: {\n          note_type: \"soap\" | \"adime\" | \"progress\" | \"discharge\" | \"addendum\";\n          title: string;\n          description?: string;\n          sections: Record<string, string>;\n          category?: string;\n          tags?: string[];\n          metadata?: Record<string, unknown>;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate> =>\n        rb.execute<ClinicalNoteTemplate>(\n          postAdminClinicalNoteTemplatesCatalog,\n          { body: { data: { type: \"clinical-note-template\", attributes } } },\n          options,\n        ),\n\n      updateCatalog: async (\n        id: string,\n        attributes: {\n          note_type?: \"soap\" | \"adime\" | \"progress\" | \"discharge\" | \"addendum\";\n          title?: string;\n          description?: string;\n          sections?: Record<string, string>;\n          category?: string;\n          tags?: string[];\n          metadata?: Record<string, unknown>;\n          is_active?: boolean;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate> =>\n        rb.execute<ClinicalNoteTemplate>(\n          patchAdminClinicalNoteTemplatesCatalogById,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-note-template\", id, attributes } },\n          },\n          options,\n        ),\n\n      listCatalog: async (\n        params?: { filter?: Record<string, unknown>; sort?: string },\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate[]> =>\n        rb.execute<ClinicalNoteTemplate[]>(\n          getAdminClinicalNoteTemplatesCatalog,\n          { query: params ?? {} },\n          options,\n        ),\n\n      archiveCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate> =>\n        rb.execute<ClinicalNoteTemplate>(\n          patchAdminClinicalNoteTemplatesCatalogByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-note-template\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      restoreCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate> =>\n        rb.execute<ClinicalNoteTemplate>(\n          patchAdminClinicalNoteTemplatesCatalogByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-note-template\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      permanentDeleteCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalNoteTemplatesCatalogByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      listArchivedCatalog: async (\n        params?: { filter?: Record<string, unknown>; sort?: string },\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteTemplate[]> =>\n        rb.execute<ClinicalNoteTemplate[]>(\n          getAdminClinicalNoteTemplatesCatalogArchived,\n          { query: params ?? {} },\n          options,\n        ),\n    },\n\n    /**\n     * Manage reusable clinical supplement templates.\n     */\n    supplementTemplates: {\n      /**\n       * List supplement templates in a workspace.\n       *\n       * @param params - Must include `workspace_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalSupplementTemplate} records\n       */\n      list: async (\n        params: {\n          workspace_id: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate[]> =>\n        rb.execute<ClinicalSupplementTemplate[]>(\n          getAdminClinicalSupplementTemplates,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * List practitioner's personal supplement templates.\n       *\n       * @param params - Must include `created_by_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalSupplementTemplate} records\n       */\n      listMine: async (\n        params: { created_by_id: string },\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate[]> =>\n        rb.execute<ClinicalSupplementTemplate[]>(\n          getAdminClinicalSupplementTemplatesMine,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * Get a single supplement template by ID.\n       *\n       * @param id - SupplementTemplate UUID\n       * @param options - Request options\n       * @returns {@link ClinicalSupplementTemplate} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate> =>\n        rb.execute<ClinicalSupplementTemplate>(\n          getAdminClinicalSupplementTemplatesById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Create a new supplement template.\n       *\n       * @param attributes - Must include `workspace_id`, `name`, and `supplements`\n       * @param options - Request options\n       * @returns Created {@link ClinicalSupplementTemplate} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.supplementTemplates.create({ workspace_id: \"...\" });\n       * ```\n       */\n      create: async (\n        attributes: CreateSupplementTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate> =>\n        rb.execute<ClinicalSupplementTemplate>(\n          postAdminClinicalSupplementTemplates,\n          {\n            body: {\n              data: {\n                type: \"clinical-supplement-template\",\n                attributes,\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Create a personalized template from an existing one.\n       *\n       * @param attributes - Must include `workspace_id` and `source_template_id`\n       * @param options - Request options\n       * @returns Created {@link ClinicalSupplementTemplate} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.supplementTemplates.createFromExisting({ workspace_id: \"...\", source_template_id: \"...\" });\n       * ```\n       */\n      createFromExisting: async (\n        attributes: CreateFromExistingSupplementTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate> =>\n        rb.execute<ClinicalSupplementTemplate>(\n          postAdminClinicalSupplementTemplatesFromExisting,\n          {\n            body: {\n              data: {\n                type: \"clinical-supplement-template\",\n                attributes,\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Update a supplement template.\n       *\n       * @param id - SupplementTemplate UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalSupplementTemplate} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.supplementTemplates.update(\"uuid\", { status: \"active\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateSupplementTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate> =>\n        rb.execute<ClinicalSupplementTemplate>(\n          patchAdminClinicalSupplementTemplatesById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-supplement-template\",\n                id,\n                attributes,\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a supplement template.\n       *\n       * @deprecated Use `archive()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - SupplementTemplate UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalSupplementTemplate} record\n       */\n      delete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate> =>\n        rb.execute<ClinicalSupplementTemplate>(\n          patchAdminClinicalSupplementTemplatesByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-supplement-template\",\n                id,\n                attributes: {},\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a supplement template.\n       *\n       * @param id - SupplementTemplate UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalSupplementTemplate} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.supplementTemplates.archive(\"uuid\");\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate> =>\n        rb.execute<ClinicalSupplementTemplate>(\n          patchAdminClinicalSupplementTemplatesByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-supplement-template\",\n                id,\n                attributes: {},\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived supplement template.\n       *\n       * @param id - SupplementTemplate UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalSupplementTemplate} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.supplementTemplates.restore(\"uuid\");\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate> =>\n        rb.execute<ClinicalSupplementTemplate>(\n          patchAdminClinicalSupplementTemplatesByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-supplement-template\",\n                id,\n                attributes: {},\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a supplement template. This action is irreversible.\n       *\n       * @param id - SupplementTemplate UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.supplementTemplates.permanentDelete(\"uuid\");\n       * ```\n       */\n      permanentDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalSupplementTemplatesByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived supplement templates in a workspace.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalSupplementTemplate} records\n       */\n      listArchived: async (\n        params: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate[]> =>\n        rb.execute<ClinicalSupplementTemplate[]>(\n          getAdminClinicalSupplementTemplatesArchived,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * List application-level catalog supplement templates.\n       *\n       * @param params - Must include `application_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalSupplementTemplate} catalog records\n       */\n      listCatalog: async (\n        params: {\n          application_id: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate[]> =>\n        rb.execute<ClinicalSupplementTemplate[]>(\n          getAdminClinicalSupplementTemplatesCatalog,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * Get a catalog supplement template by ID.\n       *\n       * @param id - SupplementTemplate UUID\n       * @param options - Request options\n       * @returns {@link ClinicalSupplementTemplate} catalog record\n       */\n      getCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate> =>\n        rb.execute<ClinicalSupplementTemplate>(\n          getAdminClinicalSupplementTemplatesCatalogById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Create an application-level catalog supplement template.\n       *\n       * @param attributes - Must include `name` and `supplements`\n       * @param options - Request options\n       * @returns Created {@link ClinicalSupplementTemplate} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.supplementTemplates.createCatalog({ title: \"New\" });\n       * ```\n       */\n      createCatalog: async (\n        attributes: CreateCatalogSupplementTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate> =>\n        rb.execute<ClinicalSupplementTemplate>(\n          postAdminClinicalSupplementTemplatesCatalog,\n          {\n            body: {\n              data: {\n                type: \"clinical-supplement-template\",\n                attributes,\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Update a catalog supplement template.\n       *\n       * @param id - SupplementTemplate UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalSupplementTemplate} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.supplementTemplates.updateCatalog(\"uuid\", { status: \"active\" });\n       * ```\n       */\n      updateCatalog: async (\n        id: string,\n        attributes: UpdateCatalogSupplementTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate> =>\n        rb.execute<ClinicalSupplementTemplate>(\n          patchAdminClinicalSupplementTemplatesCatalogById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-supplement-template\",\n                id,\n                attributes,\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a catalog supplement template.\n       *\n       * @deprecated Use `archiveCatalog()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - SupplementTemplate UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalSupplementTemplate} catalog record\n       */\n      deleteCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate> =>\n        rb.execute<ClinicalSupplementTemplate>(\n          patchAdminClinicalSupplementTemplatesCatalogByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-supplement-template\",\n                id,\n                attributes: {},\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a catalog supplement template.\n       *\n       * @param id - SupplementTemplate UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalSupplementTemplate} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.supplementTemplates.archiveCatalog(\"uuid\");\n       * ```\n       */\n      archiveCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate> =>\n        rb.execute<ClinicalSupplementTemplate>(\n          patchAdminClinicalSupplementTemplatesCatalogByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-supplement-template\",\n                id,\n                attributes: {},\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived catalog supplement template.\n       *\n       * @param id - SupplementTemplate UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalSupplementTemplate} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.supplementTemplates.restoreCatalog(\"uuid\");\n       * ```\n       */\n      restoreCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate> =>\n        rb.execute<ClinicalSupplementTemplate>(\n          patchAdminClinicalSupplementTemplatesCatalogByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-supplement-template\",\n                id,\n                attributes: {},\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a catalog supplement template. This action is irreversible.\n       *\n       * @param id - SupplementTemplate UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.supplementTemplates.permanentDeleteCatalog(\"uuid\");\n       * ```\n       */\n      permanentDeleteCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalSupplementTemplatesCatalogByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived catalog supplement templates.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalSupplementTemplate} catalog records\n       */\n      listArchivedCatalog: async (\n        params?: ClinicalListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementTemplate[]> =>\n        rb.execute<ClinicalSupplementTemplate[]>(\n          getAdminClinicalSupplementTemplatesCatalogArchived,\n          { query: params ?? {} },\n          options,\n        ),\n\n      /**\n       * Apply a supplement template to a patient, creating client supplements.\n       *\n       * @param templateId - SupplementTemplate UUID\n       * @param patientId - Patient UUID or CRM Contact UUID\n       * @param workspaceId - Workspace UUID\n       * @param options - Request options\n       * @returns {@link ApplySupplementTemplateResponse} with per-supplement results\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.supplementTemplates.applyToPatient({ template_id: \"...\", patient_id: \"...\" });\n       * ```\n       */\n      applyToPatient: async (\n        templateId: string,\n        patientId: string,\n        workspaceId: string,\n        options?: RequestOptions,\n      ): Promise<ApplySupplementTemplateResponse> =>\n        rb.rawPost<ApplySupplementTemplateResponse>(\n          `/admin/clinical/supplement-templates/${templateId}/apply`,\n          { patient_id: patientId, workspace_id: workspaceId },\n          options,\n        ),\n\n      // ── SupplementTemplateCollection ─────────────────────────────\n\n      collections: {\n        /** Get a supplement template collection by ID. */\n        async get(id: string, options?: RequestOptions) {\n          return rb.execute<ClinicalSupplementTemplateCollection>(\n            getAdminClinicalSupplementTemplateCollectionsById,\n            { path: { id } },\n            options,\n          );\n        },\n\n        /** List supplement template collections for a workspace. */\n        async list(\n          params: {\n            workspace_id: string;\n            page?: { offset?: number; limit?: number };\n          },\n          options?: RequestOptions,\n        ) {\n          return rb.execute<ClinicalSupplementTemplateCollection[]>(\n            getAdminClinicalSupplementTemplateCollections,\n            { query: params },\n            options,\n          );\n        },\n\n        /** Create a supplement template collection. */\n        async create(\n          attrs: CreateSupplementTemplateCollectionAttributes,\n          options?: RequestOptions,\n        ) {\n          return rb.execute<ClinicalSupplementTemplateCollection>(\n            postAdminClinicalSupplementTemplateCollections,\n            {\n              body: {\n                data: {\n                  type: \"clinical-supplement-template-collection\",\n                  attributes: attrs,\n                },\n              },\n            },\n            options,\n          );\n        },\n\n        /** Update a supplement template collection. */\n        async update(\n          id: string,\n          attrs: UpdateSupplementTemplateCollectionAttributes,\n          options?: RequestOptions,\n        ) {\n          return rb.execute<ClinicalSupplementTemplateCollection>(\n            patchAdminClinicalSupplementTemplateCollectionsById,\n            {\n              path: { id },\n              body: {\n                data: {\n                  type: \"clinical-supplement-template-collection\",\n                  id,\n                  attributes: attrs,\n                },\n              },\n            },\n            options,\n          );\n        },\n\n        /** Delete a supplement template collection. */\n        async delete(id: string, options?: RequestOptions) {\n          return rb.execute<void>(\n            deleteAdminClinicalSupplementTemplateCollectionsById,\n            { path: { id } },\n            options,\n          );\n        },\n\n        // ── CollectionMembership (nested) ──────────────────────────\n\n        templates: {\n          /** Get a collection membership by ID. */\n          async get(id: string, options?: RequestOptions) {\n            return rb.execute<ClinicalSupplementTemplateCollectionMembership>(\n              getAdminClinicalSupplementTemplateCollectionMembershipsById,\n              { path: { id } },\n              options,\n            );\n          },\n\n          /** List templates in a collection. */\n          async list(\n            collectionId: string,\n            options?: RequestOptions & {\n              page?: { offset?: number; limit?: number };\n            },\n          ) {\n            return rb.execute<ClinicalSupplementTemplateCollectionMembership[]>(\n              getAdminClinicalSupplementTemplateCollectionMembershipsCollectionByCollectionId,\n              {\n                path: { collection_id: collectionId },\n                query: {\n                  ...(options?.page ? { page: options.page } : {}),\n                },\n              },\n              options,\n            );\n          },\n\n          /** Add a template to a collection. Upserts on (collection_id, template_id). */\n          async create(\n            attrs: CreateSupplementCollectionMembershipAttributes,\n            options?: RequestOptions,\n          ) {\n            return rb.execute<ClinicalSupplementTemplateCollectionMembership>(\n              postAdminClinicalSupplementTemplateCollectionMemberships,\n              {\n                body: {\n                  data: {\n                    type: \"clinical-supplement-template-collection-membership\",\n                    attributes: attrs,\n                  },\n                },\n              },\n              options,\n            );\n          },\n\n          /** Update a collection membership (e.g., sort order). */\n          async update(\n            id: string,\n            attrs: UpdateSupplementCollectionMembershipAttributes,\n            options?: RequestOptions,\n          ) {\n            return rb.execute<ClinicalSupplementTemplateCollectionMembership>(\n              patchAdminClinicalSupplementTemplateCollectionMembershipsById,\n              {\n                path: { id },\n                body: {\n                  data: {\n                    type: \"clinical-supplement-template-collection-membership\",\n                    id,\n                    attributes: attrs,\n                  },\n                },\n              },\n              options,\n            );\n          },\n\n          /** Remove a template from a collection. */\n          async delete(id: string, options?: RequestOptions) {\n            return rb.execute<void>(\n              deleteAdminClinicalSupplementTemplateCollectionMembershipsById,\n              { path: { id } },\n              options,\n            );\n          },\n        },\n      },\n    },\n\n    /**\n     * Manage practice-level tools (apps, wearables, platforms).\n     */\n    practiceTools: {\n      /**\n       * List practice tools in a workspace.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of {@link ClinicalPracticeTool} records\n       */\n      list: async (\n        params: {\n          workspace_id: string;\n          /** Server-side filters. Common: `tool_type`, `category`, `is_active`. */\n          filter?: {\n            tool_type?: string;\n            category?: string;\n            is_active?: boolean;\n            [key: string]: unknown;\n          };\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool[]> =>\n        rb.execute<ClinicalPracticeTool[]>(\n          getAdminClinicalPracticeTools,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * Get a single practice tool by ID.\n       *\n       * @param id - PracticeTool UUID\n       * @param options - Request options\n       * @returns {@link ClinicalPracticeTool} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool> =>\n        rb.execute<ClinicalPracticeTool>(\n          getAdminClinicalPracticeToolsById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Create a new practice tool.\n       *\n       * @param attributes - Must include `workspace_id` and `name`\n       * @param options - Request options\n       * @returns Created {@link ClinicalPracticeTool} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceTools.create({ workspace_id: \"...\" });\n       * ```\n       */\n      create: async (\n        attributes: CreatePracticeToolAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool> =>\n        rb.execute<ClinicalPracticeTool>(\n          postAdminClinicalPracticeTools,\n          { body: { data: { type: \"clinical-practice-tool\", attributes } } },\n          options,\n        ),\n\n      /**\n       * Update a practice tool.\n       *\n       * @param id - PracticeTool UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalPracticeTool} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceTools.update(\"uuid\", { status: \"active\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdatePracticeToolAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool> =>\n        rb.execute<ClinicalPracticeTool>(\n          patchAdminClinicalPracticeToolsById,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-practice-tool\", id, attributes } },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a practice tool.\n       *\n       * @deprecated Use `archive()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - PracticeTool UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalPracticeTool} record\n       */\n      delete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool> =>\n        rb.execute<ClinicalPracticeTool>(\n          patchAdminClinicalPracticeToolsByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-tool\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a practice tool.\n       *\n       * @param id - PracticeTool UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalPracticeTool} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceTools.archive(\"uuid\");\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool> =>\n        rb.execute<ClinicalPracticeTool>(\n          patchAdminClinicalPracticeToolsByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-tool\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived practice tool.\n       *\n       * @param id - PracticeTool UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalPracticeTool} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceTools.restore(\"uuid\");\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool> =>\n        rb.execute<ClinicalPracticeTool>(\n          patchAdminClinicalPracticeToolsByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-tool\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a practice tool. This action is irreversible.\n       *\n       * @param id - PracticeTool UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceTools.permanentDelete(\"uuid\");\n       * ```\n       */\n      permanentDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalPracticeToolsByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived practice tools in a workspace.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalPracticeTool} records\n       */\n      listArchived: async (\n        params: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool[]> =>\n        rb.execute<ClinicalPracticeTool[]>(\n          getAdminClinicalPracticeToolsArchived,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * List application-level catalog practice tools.\n       *\n       * @param params - Must include `application_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalPracticeTool} catalog records\n       */\n      listCatalog: async (\n        params: {\n          application_id: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool[]> =>\n        rb.execute<ClinicalPracticeTool[]>(\n          getAdminClinicalPracticeToolsCatalog,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * Get a catalog practice tool by ID.\n       *\n       * @param id - PracticeTool UUID\n       * @param options - Request options\n       * @returns {@link ClinicalPracticeTool} catalog record\n       */\n      getCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool> =>\n        rb.execute<ClinicalPracticeTool>(\n          getAdminClinicalPracticeToolsCatalogById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Create an application-level catalog practice tool.\n       *\n       * @param attributes - Must include `name`\n       * @param options - Request options\n       * @returns Created {@link ClinicalPracticeTool} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceTools.createCatalog({ title: \"New\" });\n       * ```\n       */\n      createCatalog: async (\n        attributes: CreateCatalogPracticeToolAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool> =>\n        rb.execute<ClinicalPracticeTool>(\n          postAdminClinicalPracticeToolsCatalog,\n          { body: { data: { type: \"clinical-practice-tool\", attributes } } },\n          options,\n        ),\n\n      /**\n       * Update a catalog practice tool.\n       *\n       * @param id - PracticeTool UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalPracticeTool} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceTools.updateCatalog(\"uuid\", { status: \"active\" });\n       * ```\n       */\n      updateCatalog: async (\n        id: string,\n        attributes: UpdateCatalogPracticeToolAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool> =>\n        rb.execute<ClinicalPracticeTool>(\n          patchAdminClinicalPracticeToolsCatalogById,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-practice-tool\", id, attributes } },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a catalog practice tool.\n       *\n       * @deprecated Use `archiveCatalog()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - PracticeTool UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalPracticeTool} catalog record\n       */\n      deleteCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool> =>\n        rb.execute<ClinicalPracticeTool>(\n          patchAdminClinicalPracticeToolsCatalogByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-tool\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a catalog practice tool.\n       *\n       * @param id - PracticeTool UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalPracticeTool} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceTools.archiveCatalog(\"uuid\");\n       * ```\n       */\n      archiveCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool> =>\n        rb.execute<ClinicalPracticeTool>(\n          patchAdminClinicalPracticeToolsCatalogByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-tool\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived catalog practice tool.\n       *\n       * @param id - PracticeTool UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalPracticeTool} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceTools.restoreCatalog(\"uuid\");\n       * ```\n       */\n      restoreCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool> =>\n        rb.execute<ClinicalPracticeTool>(\n          patchAdminClinicalPracticeToolsCatalogByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-tool\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a catalog practice tool. This action is irreversible.\n       *\n       * @param id - PracticeTool UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceTools.permanentDeleteCatalog(\"uuid\");\n       * ```\n       */\n      permanentDeleteCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalPracticeToolsCatalogByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived catalog practice tools.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalPracticeTool} catalog records\n       */\n      listArchivedCatalog: async (\n        params?: ClinicalListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeTool[]> =>\n        rb.execute<ClinicalPracticeTool[]>(\n          getAdminClinicalPracticeToolsCatalogArchived,\n          { query: params ?? {} },\n          options,\n        ),\n\n      /**\n       * List distinct catalog practice tool categories with counts.\n       *\n       * @param params - Must include `application_id`\n       * @param options - Request options\n       * @returns Array of category records\n       */\n      listCatalogCategories: async (\n        params: { application_id: string },\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeToolCategory[]> =>\n        rb.execute<ClinicalPracticeToolCategory[]>(\n          getAdminClinicalPracticeToolsCategoriesCatalog,\n          { query: params },\n          options,\n        ),\n\n      tags: {\n        rename: async (\n          workspaceId: string,\n          oldTag: string,\n          newTag: string,\n          options?: RequestOptions,\n        ): Promise<TagRenameResult> =>\n          rb.rawPatch<TagRenameResult>(\n            `/clinical/practice-tools/tags/rename`,\n            { workspace_id: workspaceId, old_tag: oldTag, new_tag: newTag },\n            options,\n          ),\n\n        delete: async (\n          workspaceId: string,\n          tag: string,\n          options?: RequestOptions,\n        ): Promise<TagDeleteResult> =>\n          rb.rawDelete<TagDeleteResult>(\n            `/clinical/practice-tools/tags/${encodeURIComponent(tag)}?workspace_id=${encodeURIComponent(workspaceId)}`,\n            options,\n          ),\n\n        merge: async (\n          workspaceId: string,\n          sourceTags: string[],\n          targetTag: string,\n          options?: RequestOptions,\n        ): Promise<TagMergeResult> =>\n          rb.rawPost<TagMergeResult>(\n            `/clinical/practice-tools/tags/merge`,\n            {\n              workspace_id: workspaceId,\n              source_tags: sourceTags,\n              target_tag: targetTag,\n            },\n            options,\n          ),\n      },\n\n      imports: {\n        fromFile: async (\n          workspaceId: string,\n          file: File | Blob,\n          options?: RequestOptions,\n        ): Promise<Record<string, unknown>> => {\n          const formData = new FormData();\n          formData.append(\"file\", file);\n          formData.append(\"workspace_id\", workspaceId);\n          return rb.rawPostMultipart<Record<string, unknown>>(\n            `/clinical/practice-tools/imports/file`,\n            formData,\n            options,\n          );\n        },\n\n        fromUrl: async (\n          workspaceId: string,\n          url: string,\n          options?: RequestOptions,\n        ): Promise<Record<string, unknown>> =>\n          rb.rawPost<Record<string, unknown>>(\n            `/clinical/practice-tools/imports/url`,\n            { workspace_id: workspaceId, url },\n            options,\n          ),\n      },\n\n      duplicates: {\n        getStats: async (\n          workspaceId: string,\n          options?: RequestOptions,\n        ): Promise<DuplicateStats> =>\n          rb.rawGet<DuplicateStats>(\n            `/clinical/practice-tools/duplicates?workspace_id=${encodeURIComponent(workspaceId)}`,\n            options,\n          ),\n\n        listGroups: async (\n          workspaceId: string,\n          opts?: { threshold?: number; limit?: number },\n          options?: RequestOptions,\n        ): Promise<DuplicateGroup[]> => {\n          const qs = new URLSearchParams({ workspace_id: workspaceId });\n          if (opts?.threshold !== undefined)\n            qs.set(\"threshold\", String(opts.threshold));\n          if (opts?.limit !== undefined) qs.set(\"limit\", String(opts.limit));\n          return rb.rawGet<DuplicateGroup[]>(\n            `/clinical/practice-tools/duplicates/groups?${qs.toString()}`,\n            options,\n          );\n        },\n\n        resolve: async (\n          workspaceId: string,\n          groupId: string,\n          keepId: string,\n          options?: RequestOptions,\n        ): Promise<DuplicateResolveResult> =>\n          rb.rawPost<DuplicateResolveResult>(\n            `/clinical/practice-tools/duplicates/resolve`,\n            { workspace_id: workspaceId, group_id: groupId, keep_id: keepId },\n            options,\n          ),\n      },\n    },\n\n    /**\n     * Manage practice-level educational resources.\n     */\n    practiceResources: {\n      /**\n       * List practice resources in a workspace.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of {@link ClinicalPracticeResource} records\n       */\n      list: async (\n        params: {\n          workspace_id: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource[]> =>\n        rb.execute<ClinicalPracticeResource[]>(\n          getAdminClinicalPracticeResources,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * Get a single practice resource by ID.\n       *\n       * @param id - PracticeResource UUID\n       * @param options - Request options\n       * @returns {@link ClinicalPracticeResource} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource> =>\n        rb.execute<ClinicalPracticeResource>(\n          getAdminClinicalPracticeResourcesById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Create a new practice resource.\n       *\n       * @param attributes - Must include `workspace_id` and `title`\n       * @param options - Request options\n       * @returns Created {@link ClinicalPracticeResource} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceResources.create({ workspace_id: \"...\" });\n       * ```\n       */\n      create: async (\n        attributes: CreatePracticeResourceAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource> =>\n        rb.execute<ClinicalPracticeResource>(\n          postAdminClinicalPracticeResources,\n          {\n            body: { data: { type: \"clinical-practice-resource\", attributes } },\n          },\n          options,\n        ),\n\n      /**\n       * Update a practice resource.\n       *\n       * @param id - PracticeResource UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalPracticeResource} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceResources.update(\"uuid\", { status: \"active\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdatePracticeResourceAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource> =>\n        rb.execute<ClinicalPracticeResource>(\n          patchAdminClinicalPracticeResourcesById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-resource\", id, attributes },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a practice resource.\n       *\n       * @deprecated Use `archive()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - PracticeResource UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalPracticeResource} record\n       */\n      delete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource> =>\n        rb.execute<ClinicalPracticeResource>(\n          patchAdminClinicalPracticeResourcesByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-resource\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a practice resource.\n       *\n       * @param id - PracticeResource UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalPracticeResource} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceResources.archive(\"uuid\");\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource> =>\n        rb.execute<ClinicalPracticeResource>(\n          patchAdminClinicalPracticeResourcesByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-resource\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived practice resource.\n       *\n       * @param id - PracticeResource UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalPracticeResource} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceResources.restore(\"uuid\");\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource> =>\n        rb.execute<ClinicalPracticeResource>(\n          patchAdminClinicalPracticeResourcesByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-resource\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a practice resource. This action is irreversible.\n       *\n       * @param id - PracticeResource UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceResources.permanentDelete(\"uuid\");\n       * ```\n       */\n      permanentDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalPracticeResourcesByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived practice resources in a workspace.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalPracticeResource} records\n       */\n      listArchived: async (\n        params: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource[]> =>\n        rb.execute<ClinicalPracticeResource[]>(\n          getAdminClinicalPracticeResourcesArchived,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * List application-level catalog practice resources.\n       *\n       * @param params - Must include `application_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalPracticeResource} catalog records\n       */\n      listCatalog: async (\n        params: {\n          application_id: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource[]> =>\n        rb.execute<ClinicalPracticeResource[]>(\n          getAdminClinicalPracticeResourcesCatalog,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * Get a catalog practice resource by ID.\n       *\n       * @param id - PracticeResource UUID\n       * @param options - Request options\n       * @returns {@link ClinicalPracticeResource} catalog record\n       */\n      getCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource> =>\n        rb.execute<ClinicalPracticeResource>(\n          getAdminClinicalPracticeResourcesCatalogById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Create an application-level catalog practice resource.\n       *\n       * @param attributes - Must include `title`\n       * @param options - Request options\n       * @returns Created {@link ClinicalPracticeResource} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceResources.createCatalog({ title: \"New\" });\n       * ```\n       */\n      createCatalog: async (\n        attributes: CreateCatalogPracticeResourceAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource> =>\n        rb.execute<ClinicalPracticeResource>(\n          postAdminClinicalPracticeResourcesCatalog,\n          {\n            body: { data: { type: \"clinical-practice-resource\", attributes } },\n          },\n          options,\n        ),\n\n      /**\n       * Update a catalog practice resource.\n       *\n       * @param id - PracticeResource UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalPracticeResource} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceResources.updateCatalog(\"uuid\", { status: \"active\" });\n       * ```\n       */\n      updateCatalog: async (\n        id: string,\n        attributes: UpdateCatalogPracticeResourceAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource> =>\n        rb.execute<ClinicalPracticeResource>(\n          patchAdminClinicalPracticeResourcesCatalogById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-resource\", id, attributes },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a catalog practice resource.\n       *\n       * @deprecated Use `archiveCatalog()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - PracticeResource UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalPracticeResource} catalog record\n       */\n      deleteCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource> =>\n        rb.execute<ClinicalPracticeResource>(\n          patchAdminClinicalPracticeResourcesCatalogByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-resource\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a catalog practice resource.\n       *\n       * @param id - PracticeResource UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalPracticeResource} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceResources.archiveCatalog(\"uuid\");\n       * ```\n       */\n      archiveCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource> =>\n        rb.execute<ClinicalPracticeResource>(\n          patchAdminClinicalPracticeResourcesCatalogByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-resource\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived catalog practice resource.\n       *\n       * @param id - PracticeResource UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalPracticeResource} catalog record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceResources.restoreCatalog(\"uuid\");\n       * ```\n       */\n      restoreCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource> =>\n        rb.execute<ClinicalPracticeResource>(\n          patchAdminClinicalPracticeResourcesCatalogByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-practice-resource\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a catalog practice resource. This action is irreversible.\n       *\n       * @param id - PracticeResource UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.practiceResources.permanentDeleteCatalog(\"uuid\");\n       * ```\n       */\n      permanentDeleteCatalog: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalPracticeResourcesCatalogByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived catalog practice resources.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalPracticeResource} catalog records\n       */\n      listArchivedCatalog: async (\n        params?: ClinicalListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalPracticeResource[]> =>\n        rb.execute<ClinicalPracticeResource[]>(\n          getAdminClinicalPracticeResourcesCatalogArchived,\n          { query: params ?? {} },\n          options,\n        ),\n\n      /**\n       * List distinct practice resource categories in a workspace.\n       *\n       * @param params - Must include `workspace_id`\n       * @param options - Request options\n       * @returns Array of category records\n       *\n       * @example\n       * ```typescript\n       * const cats = await admin.clinical.practiceResources.listCategories({\n       *   workspace_id: \"...\"\n       * });\n       * ```\n       */\n      listCategories: async (\n        params: { workspace_id: string },\n        options?: RequestOptions,\n      ): Promise<PracticeResourceCategory[]> =>\n        rb.execute<PracticeResourceCategory[]>(\n          getAdminClinicalPracticeResourcesCategories,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * List distinct catalog practice resource categories.\n       *\n       * @param params - Must include `application_id`\n       * @param options - Request options\n       * @returns Array of category records\n       *\n       * @example\n       * ```typescript\n       * const cats = await admin.clinical.practiceResources.listCatalogCategories({\n       *   application_id: \"...\"\n       * });\n       * ```\n       */\n      listCatalogCategories: async (\n        params: { application_id: string },\n        options?: RequestOptions,\n      ): Promise<PracticeResourceCategory[]> =>\n        rb.execute<PracticeResourceCategory[]>(\n          getAdminClinicalPracticeResourcesCategoriesCatalog,\n          { query: params },\n          options,\n        ),\n\n      tags: {\n        rename: async (\n          workspaceId: string,\n          oldTag: string,\n          newTag: string,\n          options?: RequestOptions,\n        ): Promise<TagRenameResult> =>\n          rb.rawPatch<TagRenameResult>(\n            `/clinical/practice-resources/tags/rename`,\n            { workspace_id: workspaceId, old_tag: oldTag, new_tag: newTag },\n            options,\n          ),\n\n        delete: async (\n          workspaceId: string,\n          tag: string,\n          options?: RequestOptions,\n        ): Promise<TagDeleteResult> =>\n          rb.rawDelete<TagDeleteResult>(\n            `/clinical/practice-resources/tags/${encodeURIComponent(tag)}?workspace_id=${encodeURIComponent(workspaceId)}`,\n            options,\n          ),\n\n        merge: async (\n          workspaceId: string,\n          sourceTags: string[],\n          targetTag: string,\n          options?: RequestOptions,\n        ): Promise<TagMergeResult> =>\n          rb.rawPost<TagMergeResult>(\n            `/clinical/practice-resources/tags/merge`,\n            {\n              workspace_id: workspaceId,\n              source_tags: sourceTags,\n              target_tag: targetTag,\n            },\n            options,\n          ),\n      },\n\n      imports: {\n        fromFile: async (\n          workspaceId: string,\n          file: File | Blob,\n          options?: RequestOptions,\n        ): Promise<Record<string, unknown>> => {\n          const formData = new FormData();\n          formData.append(\"file\", file);\n          formData.append(\"workspace_id\", workspaceId);\n          return rb.rawPostMultipart<Record<string, unknown>>(\n            `/clinical/practice-resources/imports/file`,\n            formData,\n            options,\n          );\n        },\n\n        fromUrl: async (\n          workspaceId: string,\n          url: string,\n          options?: RequestOptions,\n        ): Promise<Record<string, unknown>> =>\n          rb.rawPost<Record<string, unknown>>(\n            `/clinical/practice-resources/imports/url`,\n            { workspace_id: workspaceId, url },\n            options,\n          ),\n      },\n\n      duplicates: {\n        getStats: async (\n          workspaceId: string,\n          options?: RequestOptions,\n        ): Promise<DuplicateStats> =>\n          rb.rawGet<DuplicateStats>(\n            `/clinical/practice-resources/duplicates?workspace_id=${encodeURIComponent(workspaceId)}`,\n            options,\n          ),\n\n        listGroups: async (\n          workspaceId: string,\n          opts?: { threshold?: number; limit?: number },\n          options?: RequestOptions,\n        ): Promise<DuplicateGroup[]> => {\n          const qs = new URLSearchParams({ workspace_id: workspaceId });\n          if (opts?.threshold !== undefined)\n            qs.set(\"threshold\", String(opts.threshold));\n          if (opts?.limit !== undefined) qs.set(\"limit\", String(opts.limit));\n          return rb.rawGet<DuplicateGroup[]>(\n            `/clinical/practice-resources/duplicates/groups?${qs.toString()}`,\n            options,\n          );\n        },\n\n        resolve: async (\n          workspaceId: string,\n          groupId: string,\n          keepId: string,\n          options?: RequestOptions,\n        ): Promise<DuplicateResolveResult> =>\n          rb.rawPost<DuplicateResolveResult>(\n            `/clinical/practice-resources/duplicates/resolve`,\n            { workspace_id: workspaceId, group_id: groupId, keep_id: keepId },\n            options,\n          ),\n      },\n    },\n\n    // ─── New sub-namespaces (10 missing from finalize-domain audit) ───────────\n\n    /** Manage clinical patient records. */\n    patients: {\n      /**\n       * List patients, optionally filtered by workspace.\n       *\n       * @param params - Filter/sort parameters (optionally include `workspace_id`)\n       * @param options - Request options\n       * @returns Array of {@link ClinicalPatient} records\n       */\n      list: async (\n        params: {\n          workspace_id?: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalPatient[]> =>\n        rb.execute<ClinicalPatient[]>(\n          getAdminClinicalPatients,\n          { query: params },\n          options,\n        ),\n      /**\n       * Get a patient by ID.\n       *\n       * @param id - Patient UUID\n       * @param options - Request options\n       * @returns {@link ClinicalPatient} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPatient> =>\n        rb.execute<ClinicalPatient>(\n          getAdminClinicalPatientsById,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * Create a patient.\n       *\n       * @param attributes - Patient attributes (must include `workspace_id`)\n       * @param options - Request options\n       * @returns Created {@link ClinicalPatient} record\n       * @example\n       * ```typescript\n       * await admin.clinical.patients.create({ workspace_id: \"...\", preferred_name: \"Alex\" });\n       * ```\n       */\n      create: async (\n        attributes: CreateClinicalPatientAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalPatient> =>\n        rb.execute<ClinicalPatient>(\n          postAdminClinicalPatients,\n          { body: { data: { type: \"clinical-patient\", attributes } } },\n          options,\n        ),\n      /**\n       * Update a patient.\n       *\n       * @param id - Patient UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalPatient} record\n       * @example\n       * ```typescript\n       * await admin.clinical.patients.update(\"uuid\", { preferred_name: \"Alex\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateClinicalPatientAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalPatient> =>\n        rb.execute<ClinicalPatient>(\n          patchAdminClinicalPatientsById,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-patient\", id, attributes } },\n          },\n          options,\n        ),\n      /**\n       * Delete a patient.\n       *\n       * @param id - Patient UUID\n       * @param options - Request options\n       * @returns `true` on success\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalPatientsById,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * List goals for a patient.\n       *\n       * @param id - Patient UUID\n       * @param options - Request options\n       * @returns Array of {@link ClinicalClientGoal} records\n       */\n      goals: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientGoal[]> =>\n        rb.execute<ClinicalClientGoal[]>(\n          getAdminClinicalPatientsByIdGoals,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * List health metrics for a patient.\n       *\n       * @param id - Patient UUID\n       * @param options - Request options\n       * @returns Array of {@link ClinicalHealthMetric} records\n       */\n      healthMetrics: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalHealthMetric[]> =>\n        rb.execute<ClinicalHealthMetric[]>(\n          getAdminClinicalPatientsByIdHealthMetrics,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * List supplements for a patient.\n       *\n       * @param id - Patient UUID\n       * @param options - Request options\n       * @returns Array of {@link ClinicalClientSupplement} records\n       */\n      supplements: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientSupplement[]> =>\n        rb.execute<ClinicalClientSupplement[]>(\n          getAdminClinicalPatientsByIdSupplements,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * List medications for a patient.\n       *\n       * @param id - Patient UUID\n       * @param options - Request options\n       * @returns Array of {@link ClinicalClientMedication} records\n       */\n      medications: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientMedication[]> =>\n        rb.execute<ClinicalClientMedication[]>(\n          getAdminClinicalPatientsByIdMedications,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * List resource assignments for a patient.\n       *\n       * @param id - Patient UUID\n       * @param options - Request options\n       * @returns Array of {@link ClinicalClientResourceAssignment} records\n       */\n      resourceAssignments: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientResourceAssignment[]> =>\n        rb.execute<ClinicalClientResourceAssignment[]>(\n          getAdminClinicalPatientsByIdResourceAssignments,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List insurance records for a patient (related resource).\n       *\n       * @param id - Patient UUID or CRM contact ID\n       * @param options - Request options\n       * @returns Array of {@link ClinicalPatientInsurance} records\n       */\n      insuranceRecords: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPatientInsurance[]> =>\n        rb.execute<ClinicalPatientInsurance[]>(\n          getAdminClinicalPatientsByIdInsuranceRecords,\n          { path: { id } },\n          options,\n        ),\n    },\n\n    /** Manage clinical sessions. */\n    sessions: {\n      /**\n       * List clinical sessions.\n       *\n       * @param params - Filter/sort parameters (optionally include `workspace_id`)\n       * @param options - Request options\n       * @returns Array of {@link ClinicalSession} records\n       */\n      list: async (\n        params: {\n          workspace_id?: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalSession[]> =>\n        rb.execute<ClinicalSession[]>(\n          getAdminClinicalSessions,\n          { query: params },\n          options,\n        ),\n      /**\n       * List sessions for a given patient.\n       *\n       * @param params - Must include `patient_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalSession} records\n       */\n      listByPatient: async (\n        params: { patient_id: string; filter?: Record<string, unknown> },\n        options?: RequestOptions,\n      ): Promise<ClinicalSession[]> =>\n        rb.execute<ClinicalSession[]>(\n          getAdminClinicalSessionsByPatient,\n          { query: params },\n          options,\n        ),\n      /**\n       * Get a session by ID.\n       *\n       * @param id - Session UUID\n       * @param options - Request options\n       * @returns {@link ClinicalSession} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalSession> =>\n        rb.execute<ClinicalSession>(\n          getAdminClinicalSessionsById,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * Create a clinical session.\n       *\n       * @param attributes - Session attributes\n       * @param options - Request options\n       * @returns Created {@link ClinicalSession} record\n       * @example\n       * ```typescript\n       * await admin.clinical.sessions.create({ workspace_id: \"...\", patient_id: \"...\" });\n       * ```\n       */\n      create: async (\n        attributes: CreateClinicalSessionAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalSession> =>\n        rb.execute<ClinicalSession>(\n          postAdminClinicalSessions,\n          { body: { data: { type: \"clinical-session\", attributes } } },\n          options,\n        ),\n      /**\n       * Update a session.\n       *\n       * @param id - Session UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalSession} record\n       * @example\n       * ```typescript\n       * await admin.clinical.sessions.update(\"uuid\", { status: \"completed\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateClinicalSessionAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalSession> =>\n        rb.execute<ClinicalSession>(\n          patchAdminClinicalSessionsById,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-session\", id, attributes } },\n          },\n          options,\n        ),\n      /**\n       * Delete a session.\n       *\n       * @param id - Session UUID\n       * @param options - Request options\n       * @returns `true` on success\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalSessionsById,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * List notes attached to a session.\n       *\n       * @param id - Session UUID\n       * @param options - Request options\n       * @returns Array of {@link ClinicalNote} records\n       */\n      notes: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNote[]> =>\n        rb.execute<ClinicalNote[]>(\n          getAdminClinicalSessionsByIdSessionNotes,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * List meal plans attached to a session.\n       *\n       * @param id - Session UUID\n       * @param options - Request options\n       * @returns Array of {@link ClinicalMealPlan} records\n       */\n      mealPlans: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalMealPlan[]> =>\n        rb.execute<ClinicalMealPlan[]>(\n          getAdminClinicalSessionsByIdMealPlans,\n          { path: { id } },\n          options,\n        ),\n    },\n\n    /** Manage clinical notes with approve/reject workflow. */\n    notes: {\n      /**\n       * List clinical notes, optionally filtered by session.\n       *\n       * @param params - Filter/sort parameters (optionally include `session_id`)\n       * @param options - Request options\n       * @returns Array of {@link ClinicalNote} records\n       */\n      list: async (\n        params: {\n          session_id?: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalNote[]> =>\n        rb.execute<ClinicalNote[]>(\n          getAdminClinicalNotes,\n          { query: params },\n          options,\n        ),\n      /**\n       * List all notes for a patient across all sessions.\n       *\n       * @param patientId - Patient UUID\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of {@link ClinicalNote} records\n       */\n      listByPatient: async (\n        patientId: string,\n        params?: { filter?: Record<string, unknown>; sort?: string },\n        options?: RequestOptions,\n      ): Promise<ClinicalNote[]> =>\n        rb.execute<ClinicalNote[]>(\n          getAdminClinicalNotesByPatient,\n          { query: { patient_id: patientId, ...params } },\n          options,\n        ),\n      /**\n       * List all notes in a workspace.\n       *\n       * @param workspaceId - Workspace UUID\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of {@link ClinicalNote} records\n       */\n      listByWorkspace: async (\n        workspaceId: string,\n        params?: { filter?: Record<string, unknown>; sort?: string },\n        options?: RequestOptions,\n      ): Promise<ClinicalNote[]> =>\n        rb.execute<ClinicalNote[]>(\n          getAdminClinicalNotesByWorkspace,\n          { query: { workspace_id: workspaceId, ...params } },\n          options,\n        ),\n      /**\n       * Get a note by ID.\n       *\n       * @param id - Note UUID\n       * @param options - Request options\n       * @returns {@link ClinicalNote} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNote> =>\n        rb.execute<ClinicalNote>(\n          getAdminClinicalNotesById,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * Create a clinical note.\n       *\n       * @param attributes - Note attributes\n       * @param options - Request options\n       * @returns Created {@link ClinicalNote} record\n       * @example\n       * ```typescript\n       * await admin.clinical.notes.create({ workspace_id: \"...\", session_id: \"...\" });\n       * ```\n       */\n      create: async (\n        attributes: CreateClinicalNoteAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalNote> =>\n        rb.execute<ClinicalNote>(\n          postAdminClinicalNotes,\n          { body: { data: { type: \"clinical-note\", attributes } } },\n          options,\n        ),\n      /**\n       * Update a note.\n       *\n       * @param id - Note UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalNote} record\n       * @example\n       * ```typescript\n       * await admin.clinical.notes.update(\"uuid\", { content: \"...\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateClinicalNoteAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalNote> =>\n        rb.execute<ClinicalNote>(\n          patchAdminClinicalNotesById,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-note\", id, attributes } },\n          },\n          options,\n        ),\n      /**\n       * Archive (soft-delete) a note.\n       *\n       * @deprecated Use `archive()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - Note UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalNote} record\n       */\n      delete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNote> =>\n        rb.execute<ClinicalNote>(\n          patchAdminClinicalNotesByIdArchive,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-note\", id, attributes: {} } },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a note.\n       *\n       * @param id - Note UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalNote} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.notes.archive(\"uuid\");\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNote> =>\n        rb.execute<ClinicalNote>(\n          patchAdminClinicalNotesByIdArchive,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-note\", id, attributes: {} } },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived note.\n       *\n       * @param id - Note UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalNote} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.notes.restore(\"uuid\");\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNote> =>\n        rb.execute<ClinicalNote>(\n          patchAdminClinicalNotesByIdRestore,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-note\", id, attributes: {} } },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a note. This action is irreversible.\n       *\n       * @param id - Note UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.notes.permanentDelete(\"uuid\");\n       * ```\n       */\n      permanentDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalNotesByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived notes in a workspace.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalNote} records\n       */\n      listArchived: async (\n        params: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalNote[]> =>\n        rb.execute<ClinicalNote[]>(\n          getAdminClinicalNotesArchived,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * Approve a clinical note (HITL workflow).\n       *\n       * Marks the note as clinician-reviewed and approved, transitioning it\n       * to `status: \"approved\"`. Only notes in `draft` status can be approved.\n       * Creates an immutable NoteVersion snapshot.\n       *\n       * @param id - Note UUID\n       * @param reviewedById - UUID of the reviewer (required)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalNote} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.notes.approve(\"uuid\", \"reviewer_uuid\");\n       * ```\n       */\n      approve: async (\n        id: string,\n        reviewedById: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNote> =>\n        rb.execute<ClinicalNote>(\n          patchAdminClinicalNotesByIdApprove,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-note\",\n                id,\n                attributes: { reviewed_by_id: reviewedById },\n              },\n            },\n          },\n          options,\n        ),\n      /**\n       * Reject a clinical note (HITL workflow).\n       *\n       * Marks the note as rejected, transitioning it to `status: \"rejected\"`.\n       * Only notes in `draft` status can be rejected.\n       *\n       * @param id - Note UUID\n       * @param reviewedById - UUID of the reviewer (required)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalNote} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.notes.reject(\"uuid\", \"reviewer_uuid\");\n       * ```\n       */\n      reject: async (\n        id: string,\n        reviewedById: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNote> =>\n        rb.execute<ClinicalNote>(\n          patchAdminClinicalNotesByIdReject,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-note\",\n                id,\n                attributes: { reviewed_by_id: reviewedById },\n              },\n            },\n          },\n          options,\n        ),\n      /**\n       * Co-sign an approved clinical note (two-clinician sign-off).\n       *\n       * Requires `clinical:note:cosign` workspace permission AND the note must\n       * have been approved with `requires_cosign: true`. The cosigner must\n       * differ from the original reviewer.\n       *\n       * @param id - Note UUID\n       * @param cosignedById - UUID of the second clinician\n       * @param options - Request options\n       * @returns Sparse note shape: only the cosign-relevant attrs are populated.\n       *\n       * @example\n       * ```typescript\n       * const cosigned = await admin.clinical.notes.cosign('note_abc', 'user_xyz');\n       * console.log(cosigned.cosigned_at);\n       * ```\n       */\n      cosign: async (\n        id: string,\n        cosignedById: string,\n        options?: RequestOptions,\n      ): Promise<{\n        type: \"clinical-note\";\n        id: string;\n        status: string;\n        requires_cosign: boolean;\n        cosigned_by_id: string | null;\n        cosigned_at: string | null;\n      }> =>\n        rb.rawPatch(\n          `/clinical/notes/${encodeURIComponent(id)}/cosign`,\n          { cosigned_by_id: cosignedById },\n          options,\n        ),\n      /**\n       * Replace the tag list on a note. Allowed at any status — never snapshots\n       * a new version.\n       *\n       * @param id - Note UUID\n       * @param tags - Replacement tag array (max 32 non-empty strings)\n       * @param options - Request options\n       * @returns Sparse note shape with the new tag array.\n       *\n       * @example\n       * ```typescript\n       * const tagged = await admin.clinical.notes.tag('note_abc', ['urgent']);\n       * ```\n       */\n      tag: async (\n        id: string,\n        tags: string[],\n        options?: RequestOptions,\n      ): Promise<{\n        type: \"clinical-note\";\n        id: string;\n        tags: string[];\n      }> =>\n        rb.rawPatch(\n          `/clinical/notes/${encodeURIComponent(id)}/tags`,\n          { tags },\n          options,\n        ),\n      /**\n       * Apply a note template to a clinical session. Renders placeholders\n       * server-side and creates a draft ClinicalNote.\n       *\n       * The response has `Cache-Control: no-store, private` because it contains\n       * PHI snippets.\n       *\n       * @param attributes - `template_id`, `session_id`, optional `placeholders`\n       * @param options - Request options\n       * @returns Sparse {@link ClinicalNote} shape for the new draft note\n       * @example\n       * ```typescript\n       * const note = await admin.clinical.notes.fromTemplate({\n       *   template_id: \"tmpl_abc\",\n       *   session_id: \"sess_123\",\n       * });\n       * console.log(note.id, note.status);\n       * ```\n       */\n      fromTemplate: async (\n        attributes: {\n          template_id: string;\n          session_id: string;\n          placeholders?: Record<string, string>;\n        },\n        options?: RequestOptions,\n      ): Promise<{\n        type: \"clinical-note\";\n        id: string;\n        status: string;\n        note_type: string;\n        session_id: string;\n        source_template_id: string;\n      }> => rb.rawPost(`/clinical/notes/from-template`, attributes, options),\n\n      /**\n       * Diff two versions of a clinical note. Section-mode when both versions\n       * carry `sections`; text-mode (Myers) otherwise. Response carries\n       * `Cache-Control: no-store, private`.\n       *\n       * @param noteId - Note UUID\n       * @param fromVersion - Version number to diff from\n       * @param toVersion - Version number to diff to\n       * @param options - Request options\n       * @returns Diff result with `mode`, `ops`, `identical`, and version numbers\n       * @example\n       * ```typescript\n       * const diff = await admin.clinical.notes.diffVersions('note_abc', 1, 2);\n       * if (!diff.identical) console.log(diff.mode, diff.ops);\n       * ```\n       */\n      diffVersions: async (\n        noteId: string,\n        fromVersion: number,\n        toVersion: number,\n        options?: RequestOptions,\n      ): Promise<{\n        mode: \"section\" | \"text\";\n        ops: unknown[];\n        identical: boolean;\n        from_version: number;\n        to_version: number;\n      }> => {\n        // Request-builder unwraps `{data: {...}}` and flattens any JSON:API\n        // resource by spreading `attributes` to the top level — so diff fields\n        // land directly on `res`, NOT under `res.attributes`.\n        const res = await rb.rawGet<{\n          type: string;\n          id: string;\n          mode: \"section\" | \"text\";\n          ops: unknown[];\n          identical: boolean;\n          from_version: number;\n          to_version: number;\n        }>(\n          `/clinical/notes/${encodeURIComponent(noteId)}/versions/diff?from=${fromVersion}&to=${toVersion}`,\n          options,\n        );\n        return {\n          mode: res.mode,\n          ops: res.ops,\n          identical: res.identical,\n          from_version: res.from_version,\n          to_version: res.to_version,\n        };\n      },\n      /**\n       * Semantic search over approved clinical notes. Returns IDs + similarity\n       * + redacted snippet. Response carries `Cache-Control: no-store, private`.\n       *\n       * @param attributes - `query` plus optional `patient_id`, `session_id`, `limit`, `min_similarity`\n       * @param options - Request options\n       * @returns Array of search results with `similarity` and `snippet`\n       * @example\n       * ```typescript\n       * const results = await admin.clinical.notes.search({\n       *   query: \"elevated glucose\",\n       *   limit: 5,\n       * });\n       * for (const r of results) console.log(r.similarity, r.snippet);\n       * ```\n       */\n      search: async (\n        attributes: {\n          query: string;\n          patient_id?: string;\n          session_id?: string;\n          limit?: number;\n          min_similarity?: number;\n        },\n        options?: RequestOptions,\n      ): Promise<\n        Array<{\n          note_id: string;\n          session_id: string | null;\n          patient_id: string | null;\n          similarity: number;\n          snippet: string;\n        }>\n      > => {\n        // After unwrap + flattenResource, attributes are spread onto the top\n        // level (no `.attributes` wrapper survives).\n        const res = await rb.rawPost<{\n          type: string;\n          query: string;\n          results: Array<{\n            note_id: string;\n            session_id: string | null;\n            patient_id: string | null;\n            similarity: number;\n            snippet: string;\n          }>;\n        }>(`/clinical/notes/search`, attributes, options);\n        return res.results;\n      },\n      /**\n       * List immutable version snapshots for a clinical note.\n       *\n       * @param noteId - Note UUID\n       * @param options - Request options\n       * @returns Array of {@link ClinicalNoteVersion} records\n       */\n      versions: async (\n        noteId: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteVersion[]> =>\n        rb.execute<ClinicalNoteVersion[]>(\n          getAdminClinicalNotesByNoteIdVersions,\n          { path: { note_id: noteId } },\n          options,\n        ),\n      /**\n       * Get a specific note version snapshot.\n       *\n       * @param noteId - Note UUID\n       * @param id - NoteVersion UUID\n       * @param options - Request options\n       * @returns {@link ClinicalNoteVersion} record\n       */\n      getVersion: async (\n        noteId: string,\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalNoteVersion> =>\n        rb.execute<ClinicalNoteVersion>(\n          getAdminClinicalNotesByNoteIdVersionsById,\n          { path: { note_id: noteId, id } },\n          options,\n        ),\n    },\n\n    /** Manage clinical health metrics. */\n    healthMetrics: {\n      /**\n       * List health metrics, optionally filtered by patient.\n       *\n       * @param params - Filter/sort parameters (optionally include `patient_id`)\n       * @param options - Request options\n       * @returns Array of {@link ClinicalHealthMetric} records\n       */\n      list: async (\n        params: {\n          patient_id?: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalHealthMetric[]> =>\n        rb.execute<ClinicalHealthMetric[]>(\n          getAdminClinicalHealthMetrics,\n          { query: params },\n          options,\n        ),\n      /**\n       * List health metrics captured during a session.\n       *\n       * @param params - Must include `session_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalHealthMetric} records\n       */\n      listBySession: async (\n        params: { session_id: string; filter?: Record<string, unknown> },\n        options?: RequestOptions,\n      ): Promise<ClinicalHealthMetric[]> =>\n        rb.execute<ClinicalHealthMetric[]>(\n          getAdminClinicalHealthMetricsBySession,\n          { query: params },\n          options,\n        ),\n      /**\n       * Get a health metric by ID.\n       *\n       * @param id - HealthMetric UUID\n       * @param options - Request options\n       * @returns {@link ClinicalHealthMetric} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalHealthMetric> =>\n        rb.execute<ClinicalHealthMetric>(\n          getAdminClinicalHealthMetricsById,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * Create a health metric.\n       *\n       * @param attributes - Health metric attributes\n       * @param options - Request options\n       * @returns Created {@link ClinicalHealthMetric} record\n       * @example\n       * ```typescript\n       * await admin.clinical.healthMetrics.create({\n       *   workspace_id: \"...\",\n       *   patient_id: \"...\",\n       *   metric_type: \"weight\",\n       *   value: \"180.5\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateHealthMetricAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalHealthMetric> =>\n        rb.execute<ClinicalHealthMetric>(\n          postAdminClinicalHealthMetrics,\n          { body: { data: { type: \"clinical-health-metric\", attributes } } },\n          options,\n        ),\n      /**\n       * Update a health metric.\n       *\n       * @param id - HealthMetric UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalHealthMetric} record\n       * @example\n       * ```typescript\n       * await admin.clinical.healthMetrics.update(\"uuid\", { value: \"181.0\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateHealthMetricAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalHealthMetric> =>\n        rb.execute<ClinicalHealthMetric>(\n          patchAdminClinicalHealthMetricsById,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-health-metric\", id, attributes } },\n          },\n          options,\n        ),\n      /**\n       * Archive (soft-delete) a health metric.\n       *\n       * @deprecated Use `archive()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - HealthMetric UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalHealthMetric} record\n       */\n      delete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalHealthMetric> =>\n        rb.execute<ClinicalHealthMetric>(\n          patchAdminClinicalHealthMetricsByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-health-metric\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a health metric.\n       *\n       * @param id - HealthMetric UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalHealthMetric} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.healthMetrics.archive(\"uuid\");\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalHealthMetric> =>\n        rb.execute<ClinicalHealthMetric>(\n          patchAdminClinicalHealthMetricsByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-health-metric\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived health metric.\n       *\n       * @param id - HealthMetric UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalHealthMetric} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.healthMetrics.restore(\"uuid\");\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalHealthMetric> =>\n        rb.execute<ClinicalHealthMetric>(\n          patchAdminClinicalHealthMetricsByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-health-metric\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a health metric. This action is irreversible.\n       *\n       * @param id - HealthMetric UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.healthMetrics.permanentDelete(\"uuid\");\n       * ```\n       */\n      permanentDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalHealthMetricsByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived health metrics in a workspace.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalHealthMetric} records\n       */\n      listArchived: async (\n        params: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalHealthMetric[]> =>\n        rb.execute<ClinicalHealthMetric[]>(\n          getAdminClinicalHealthMetricsArchived,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * Get aggregated health metric statistics grouped by time period.\n       *\n       * Returns per-period count, avg, min, max, and context tag frequency counts.\n       * Useful for trend dashboards, adherence heatmaps, and barrier analysis.\n       *\n       * @param params - Summary parameters\n       * @param params.patient_id - Patient UUID (required)\n       * @param params.metric_type - Filter to specific metric type (optional — omit for all types)\n       * @param params.from_date - ISO 8601 datetime start (optional)\n       * @param params.to_date - ISO 8601 datetime end (optional)\n       * @param params.group_by - Grouping period: \"day\" | \"week\" | \"month\" (default: \"day\")\n       * @param options - Request options\n       * @returns Array of {@link HealthMetricSummaryPeriod} records\n       *\n       * @example\n       * ```typescript\n       * const summary = await admin.clinical.healthMetrics.summary({\n       *   patient_id: 'pat_abc',\n       *   metric_type: 'weight',\n       *   from_date: '2026-03-01T00:00:00Z',\n       *   to_date: '2026-03-31T23:59:59Z',\n       *   group_by: 'day',\n       * });\n       * ```\n       */\n      summary: async (\n        params: HealthMetricSummaryParams,\n        options?: RequestOptions,\n      ): Promise<HealthMetricSummaryPeriod[]> =>\n        rb.rawPost<HealthMetricSummaryPeriod[]>(\n          \"/admin/clinical/health-metrics/summary\",\n          {\n            patient_id: params.patient_id,\n            metric_type: params.metric_type,\n            from_date: params.from_date,\n            to_date: params.to_date,\n            group_by: params.group_by,\n          },\n          options,\n        ),\n\n      /**\n       * List health metrics filtered by patient and metric type with optional date range.\n       *\n       * @param params - Filter parameters\n       * @param params.patient_id - Patient UUID (required)\n       * @param params.metric_type - Metric type string (required)\n       * @param params.from_date - ISO 8601 datetime start (optional)\n       * @param params.to_date - ISO 8601 datetime end (optional)\n       * @param options - Request options\n       * @returns Array of {@link ClinicalHealthMetric} records\n       */\n      listByType: async (\n        params: {\n          patient_id: string;\n          metric_type: string;\n          from_date?: string;\n          to_date?: string;\n          filter?: Record<string, unknown>;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalHealthMetric[]> =>\n        rb.execute<ClinicalHealthMetric[]>(\n          getAdminClinicalHealthMetricsByType,\n          {\n            query: {\n              filter: {\n                ...params.filter,\n                patient_id: params.patient_id,\n                metric_type: params.metric_type,\n                ...(params.from_date && { from_date: params.from_date }),\n                ...(params.to_date && { to_date: params.to_date }),\n              },\n            },\n          },\n          options,\n        ),\n    },\n\n    /**\n     * Manage per-patient nutrition intake targets.\n     *\n     * Each target is a point-in-time snapshot of the calculation inputs and outputs\n     * an RD used to derive daily calorie and macronutrient goals.\n     */\n    intakeTargets: {\n      /**\n       * Create a new intake target for a patient.\n       *\n       * When `is_active` is `true` (default), any previously active target\n       * for the same patient is automatically deactivated.\n       *\n       * @param attributes - Intake target attributes including workspace_id and patient_id\n       * @param options - Request options\n       * @returns Created {@link ClinicalIntakeTarget} record\n       *\n       * @example\n       * ```typescript\n       * const target = await admin.clinical.intakeTargets.create({\n       *   workspace_id: 'ws_123',\n       *   patient_id: 'pat_456',\n       *   weight_kg: 70,\n       *   height_cm: 170,\n       *   age: 35,\n       *   sex: 'female',\n       *   activity_level: 'moderately_active',\n       *   weight_method: 'actual',\n       *   weight_used_kg: 70,\n       *   bmr: 1400,\n       *   tdee: 2170,\n       *   goal_direction: 'lose',\n       *   rate_lbs_per_week: 1,\n       *   calorie_adjustment: -500,\n       *   target_calories: 1670,\n       *   macro_mode: 'percentage',\n       *   protein_pct: 30,\n       *   carbs_pct: 40,\n       *   fat_pct: 30,\n       *   protein_grams: 125.3,\n       *   carbs_grams: 167,\n       *   fat_grams: 55.7,\n       *   meals_per_day: 3,\n       *   snacks_per_day: 2,\n       *   hydration_ml: 2500,\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateIntakeTargetAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalIntakeTarget> =>\n        rb.execute<ClinicalIntakeTarget>(\n          postAdminClinicalIntakeTargets,\n          {\n            body: {\n              data: { type: \"clinical-intake-target\", attributes },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Get a single intake target by ID.\n       *\n       * @param id - IntakeTarget UUID\n       * @param options - Request options\n       * @returns {@link ClinicalIntakeTarget} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalIntakeTarget> =>\n        rb.execute<ClinicalIntakeTarget>(\n          getAdminClinicalIntakeTargetsById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Update an intake target.\n       *\n       * Note: `is_active` cannot be changed via update. Create a new active\n       * target to supersede the current one.\n       *\n       * @param id - IntakeTarget UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalIntakeTarget} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.intakeTargets.update(\"uuid\", { status: \"active\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateIntakeTargetAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalIntakeTarget> =>\n        rb.execute<ClinicalIntakeTarget>(\n          patchAdminClinicalIntakeTargetsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-intake-target\", id, attributes },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * List intake targets for a patient.\n       *\n       * @param patientId - Patient UUID or CRM Contact UUID\n       * @param opts - Pagination options\n       * @param options - Request options\n       * @returns Array of {@link ClinicalIntakeTarget} records (newest first)\n       */\n      listByPatient: async (\n        patientId: string,\n        opts?: { page?: { offset?: number; limit?: number } },\n        options?: RequestOptions,\n      ): Promise<ClinicalIntakeTarget[]> =>\n        rb.execute<ClinicalIntakeTarget[]>(\n          getAdminClinicalIntakeTargets,\n          {\n            query: {\n              \"filter[patient_id]\": patientId,\n              ...(opts?.page && {\n                \"page[offset]\": opts.page.offset,\n                \"page[limit]\": opts.page.limit,\n              }),\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Get the currently active intake target for a patient.\n       *\n       * @param patientId - Patient UUID or CRM Contact UUID\n       * @param options - Request options\n       * @returns Array with single {@link ClinicalIntakeTarget} or empty array\n       */\n      getActive: async (\n        patientId: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalIntakeTarget[]> =>\n        rb.execute<ClinicalIntakeTarget[]>(\n          getAdminClinicalIntakeTargetsActiveByPatientId,\n          { path: { patient_id: patientId } },\n          options,\n        ),\n\n      /**\n       * List all intake targets in a workspace (admin view).\n       *\n       * @param params - Must include `workspace_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalIntakeTarget} records\n       */\n      listByWorkspace: async (\n        params: {\n          workspace_id: string;\n          page?: { offset?: number; limit?: number };\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalIntakeTarget[]> =>\n        rb.execute<ClinicalIntakeTarget[]>(\n          getAdminClinicalIntakeTargetsByWorkspace,\n          {\n            query: {\n              \"filter[workspace_id]\": params.workspace_id,\n              ...(params.page && {\n                \"page[offset]\": params.page.offset,\n                \"page[limit]\": params.page.limit,\n              }),\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) an intake target.\n       *\n       * @param id - IntakeTarget UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalIntakeTarget} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.intakeTargets.archive(\"uuid\");\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalIntakeTarget> =>\n        rb.execute<ClinicalIntakeTarget>(\n          patchAdminClinicalIntakeTargetsByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-intake-target\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived intake target.\n       *\n       * @param id - IntakeTarget UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalIntakeTarget} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.intakeTargets.restore(\"uuid\");\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalIntakeTarget> =>\n        rb.execute<ClinicalIntakeTarget>(\n          patchAdminClinicalIntakeTargetsByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-intake-target\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete an intake target.\n       *\n       * @param id - IntakeTarget UUID\n       * @param options - Request options\n       * @returns `true` on successful deletion\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.intakeTargets.permanentDelete(\"uuid\");\n       * ```\n       */\n      permanentDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalIntakeTargetsByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived intake targets in a workspace.\n       *\n       * @param workspaceId - Workspace UUID\n       * @param opts - Pagination options\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalIntakeTarget} records\n       */\n      listArchived: async (\n        workspaceId: string,\n        opts?: { page?: { offset?: number; limit?: number } },\n        options?: RequestOptions,\n      ): Promise<ClinicalIntakeTarget[]> =>\n        rb.execute<ClinicalIntakeTarget[]>(\n          getAdminClinicalIntakeTargetsArchived,\n          {\n            query: {\n              \"filter[workspace_id]\": workspaceId,\n              ...(opts?.page && {\n                \"page[offset]\": opts.page.offset,\n                \"page[limit]\": opts.page.limit,\n              }),\n            },\n          },\n          options,\n        ),\n    },\n\n    /** Manage clinical meal plans. */\n    mealPlans: {\n      /**\n       * List meal plans, optionally filtered by session.\n       *\n       * @param params - Filter/sort parameters (optionally include `session_id`)\n       * @param options - Request options\n       * @returns Array of {@link ClinicalMealPlan} records\n       */\n      list: async (\n        params: {\n          session_id?: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalMealPlan[]> =>\n        rb.execute<ClinicalMealPlan[]>(\n          getAdminClinicalMealPlans,\n          { query: params },\n          options,\n        ),\n      /**\n       * List meal plans in a workspace.\n       *\n       * @param params - Must include `workspace_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalMealPlan} records\n       */\n      listByWorkspace: async (\n        params: { workspace_id: string; filter?: Record<string, unknown> },\n        options?: RequestOptions,\n      ): Promise<ClinicalMealPlan[]> =>\n        rb.execute<ClinicalMealPlan[]>(\n          getAdminClinicalMealPlansByWorkspace,\n          { query: params },\n          options,\n        ),\n      /**\n       * List all meal plans for a patient across all sessions.\n       *\n       * @param patientId - Patient UUID\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of {@link ClinicalMealPlan} records\n       */\n      listByPatient: async (\n        patientId: string,\n        params?: { filter?: Record<string, unknown>; sort?: string },\n        options?: RequestOptions,\n      ): Promise<ClinicalMealPlan[]> =>\n        rb.execute<ClinicalMealPlan[]>(\n          getAdminClinicalMealPlansByPatient,\n          { query: { patient_id: patientId, ...params } },\n          options,\n        ),\n      /**\n       * Get a meal plan by ID.\n       *\n       * @param id - MealPlan UUID\n       * @param options - Request options\n       * @returns {@link ClinicalMealPlan} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalMealPlan> =>\n        rb.execute<ClinicalMealPlan>(\n          getAdminClinicalMealPlansById,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * Create a meal plan.\n       *\n       * @param attributes - Meal plan attributes\n       * @param options - Request options\n       * @returns Created {@link ClinicalMealPlan} record\n       * @example\n       * ```typescript\n       * await admin.clinical.mealPlans.create({ workspace_id: \"...\", session_id: \"...\" });\n       * ```\n       */\n      create: async (\n        attributes: CreateMealPlanAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalMealPlan> =>\n        rb.execute<ClinicalMealPlan>(\n          postAdminClinicalMealPlans,\n          { body: { data: { type: \"clinical-meal-plan\", attributes } } },\n          options,\n        ),\n      /**\n       * Update a meal plan.\n       *\n       * @param id - MealPlan UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalMealPlan} record\n       * @example\n       * ```typescript\n       * await admin.clinical.mealPlans.update(\"uuid\", { name: \"Phase 2\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateMealPlanAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalMealPlan> =>\n        rb.execute<ClinicalMealPlan>(\n          patchAdminClinicalMealPlansById,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-meal-plan\", id, attributes } },\n          },\n          options,\n        ),\n      /**\n       * Archive (soft-delete) a meal plan.\n       *\n       * @deprecated Use `archive()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - MealPlan UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalMealPlan} record\n       */\n      delete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalMealPlan> =>\n        rb.execute<ClinicalMealPlan>(\n          patchAdminClinicalMealPlansByIdArchive,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-meal-plan\", id, attributes: {} } },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a meal plan.\n       *\n       * @param id - MealPlan UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalMealPlan} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.mealPlans.archive(\"uuid\");\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalMealPlan> =>\n        rb.execute<ClinicalMealPlan>(\n          patchAdminClinicalMealPlansByIdArchive,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-meal-plan\", id, attributes: {} } },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived meal plan.\n       *\n       * @param id - MealPlan UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalMealPlan} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.mealPlans.restore(\"uuid\");\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalMealPlan> =>\n        rb.execute<ClinicalMealPlan>(\n          patchAdminClinicalMealPlansByIdRestore,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-meal-plan\", id, attributes: {} } },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a meal plan. This action is irreversible.\n       *\n       * @param id - MealPlan UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.mealPlans.permanentDelete(\"uuid\");\n       * ```\n       */\n      permanentDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalMealPlansByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived meal plans in a workspace.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalMealPlan} records\n       */\n      listArchived: async (\n        params: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalMealPlan[]> =>\n        rb.execute<ClinicalMealPlan[]>(\n          getAdminClinicalMealPlansArchived,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * Approve a meal plan. Validates required clinical fields.\n       *\n       * @param id - MealPlan UUID\n       * @param options - Request options\n       * @returns Approved {@link ClinicalMealPlan} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.mealPlans.approve(\"uuid\", \"reviewer_uuid\");\n       * ```\n       */\n      approve: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalMealPlan> =>\n        rb.execute<ClinicalMealPlan>(\n          patchAdminClinicalMealPlansByIdApprove,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-meal-plan\", id } },\n          },\n          options,\n        ),\n\n      /**\n       * List meal plans linked to a specific meal schedule.\n       *\n       * @param mealScheduleId - MealSchedule UUID\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of {@link ClinicalMealPlan} records\n       */\n      listByMealSchedule: async (\n        mealScheduleId: string,\n        params?: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalMealPlan[]> =>\n        rb.execute<ClinicalMealPlan[]>(\n          getAdminClinicalMealPlansByMealSchedule,\n          {\n            query: {\n              ...params,\n              filter: { meal_schedule_id: mealScheduleId },\n            },\n          },\n          options,\n        ),\n    },\n\n    /** Manage patient clinical goals. */\n    clientGoals: {\n      /**\n       * List client goals, optionally filtered by patient.\n       *\n       * @param params - Filter/sort parameters (optionally include `patient_id`)\n       * @param options - Request options\n       * @returns Array of {@link ClinicalClientGoal} records\n       */\n      list: async (\n        params: {\n          patient_id?: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalClientGoal[]> =>\n        rb.execute<ClinicalClientGoal[]>(\n          getAdminClinicalClientGoals,\n          { query: params },\n          options,\n        ),\n      /**\n       * Get a client goal by ID.\n       *\n       * @param id - ClientGoal UUID\n       * @param options - Request options\n       * @returns {@link ClinicalClientGoal} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientGoal> =>\n        rb.execute<ClinicalClientGoal>(\n          getAdminClinicalClientGoalsById,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * Create a client goal.\n       *\n       * @param attributes - Goal attributes\n       * @param options - Request options\n       * @returns Created {@link ClinicalClientGoal} record\n       * @example\n       * ```typescript\n       * await admin.clinical.clientGoals.create({ workspace_id: \"...\", patient_id: \"...\", title: \"Drink 64oz water/day\" });\n       * ```\n       */\n      create: async (\n        attributes: CreateClientGoalAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientGoal> =>\n        rb.execute<ClinicalClientGoal>(\n          postAdminClinicalClientGoals,\n          { body: { data: { type: \"clinical-client-goal\", attributes } } },\n          options,\n        ),\n      /**\n       * Create a client goal from a goal template.\n       *\n       * @param attributes - Must include `workspace_id`, `patient_id`, and `template_id`\n       * @param options - Request options\n       * @returns Created {@link ClinicalClientGoal} record\n       * @example\n       * ```typescript\n       * await admin.clinical.clientGoals.createFromTemplate({\n       *   workspace_id: \"...\",\n       *   patient_id: \"...\",\n       *   template_id: \"...\",\n       * });\n       * ```\n       */\n      createFromTemplate: async (\n        attributes: CreateGoalFromTemplateAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientGoal> =>\n        rb.execute<ClinicalClientGoal>(\n          postAdminClinicalClientGoalsFromTemplate,\n          { body: { data: { type: \"clinical-client-goal\", attributes } } },\n          options,\n        ),\n      /**\n       * Update a client goal.\n       *\n       * @param id - ClientGoal UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalClientGoal} record\n       * @example\n       * ```typescript\n       * await admin.clinical.clientGoals.update(\"uuid\", { status: \"active\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateClientGoalAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientGoal> =>\n        rb.execute<ClinicalClientGoal>(\n          patchAdminClinicalClientGoalsById,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-client-goal\", id, attributes } },\n          },\n          options,\n        ),\n      /**\n       * Archive (soft-delete) a client goal.\n       *\n       * @deprecated Use `archive()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - ClientGoal UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalClientGoal} record\n       */\n      delete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientGoal> =>\n        rb.execute<ClinicalClientGoal>(\n          patchAdminClinicalClientGoalsByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-client-goal\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a client goal.\n       *\n       * @param id - ClientGoal UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalClientGoal} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.clientGoals.archive(\"uuid\");\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientGoal> =>\n        rb.execute<ClinicalClientGoal>(\n          patchAdminClinicalClientGoalsByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-client-goal\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived client goal.\n       *\n       * @param id - ClientGoal UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalClientGoal} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.clientGoals.restore(\"uuid\");\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientGoal> =>\n        rb.execute<ClinicalClientGoal>(\n          patchAdminClinicalClientGoalsByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-client-goal\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a client goal. This action is irreversible.\n       *\n       * @param id - ClientGoal UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.clientGoals.permanentDelete(\"uuid\");\n       * ```\n       */\n      permanentDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalClientGoalsByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived client goals in a workspace.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalClientGoal} records\n       */\n      listArchived: async (\n        params: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientGoal[]> =>\n        rb.execute<ClinicalClientGoal[]>(\n          getAdminClinicalClientGoalsArchived,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * Batch update multiple client goals atomically.\n       *\n       * @param updates - Array of `{ id, attributes }` pairs (max 25)\n       * @param options - Request options\n       * @returns `{ updated: number }` — count of updated goals\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.clientGoals.batchUpdate([\n       *   { id: \"goal-1\", attributes: { status: \"achieved\" } },\n       * ]);\n       * ```\n       */\n      batchUpdate: async (\n        updates: BatchUpdateGoalItem[],\n        options?: RequestOptions,\n      ): Promise<BatchUpdateGoalResponse> =>\n        rb.rawPost<BatchUpdateGoalResponse>(\n          \"/clinical/client-goals/batch\",\n          { updates },\n          options,\n        ),\n\n      /**\n       * Approve a client goal (HITL workflow).\n       *\n       * Marks the goal clinician-reviewed and approved. Lifecycle `status`\n       * is unchanged. Only goals with `review_status` of `\"none\"` or\n       * `\"draft\"` can be approved.\n       *\n       * @param id - ClientGoal UUID\n       * @param reviewedById - UUID of the reviewer\n       * @param options - Request options\n       * @returns Approved {@link ClinicalClientGoal} record\n       * @example\n       * ```typescript\n       * await admin.clinical.clientGoals.approve(\"goal_abc\", \"user_xyz\");\n       * ```\n       */\n      approve: async (\n        id: string,\n        reviewedById: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientGoal> =>\n        rb.execute<ClinicalClientGoal>(\n          patchAdminClinicalClientGoalsByIdApprove,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-client-goal\",\n                id,\n                attributes: { reviewed_by_id: reviewedById },\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Reject a client goal (HITL workflow).\n       *\n       * Marks the goal clinician-rejected, transitioning lifecycle `status`\n       * to `\"discontinued\"`. Only goals with `review_status` of `\"none\"`\n       * or `\"draft\"` can be rejected.\n       *\n       * @param id - ClientGoal UUID\n       * @param reviewedById - UUID of the reviewer\n       * @param options - Request options\n       * @returns Rejected {@link ClinicalClientGoal} record\n       * @example\n       * ```typescript\n       * await admin.clinical.clientGoals.reject(\"goal_abc\", \"user_xyz\");\n       * ```\n       */\n      reject: async (\n        id: string,\n        reviewedById: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientGoal> =>\n        rb.execute<ClinicalClientGoal>(\n          patchAdminClinicalClientGoalsByIdReject,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-client-goal\",\n                id,\n                attributes: { reviewed_by_id: reviewedById },\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Atomically approve up to 50 client goals in the active workspace.\n       *\n       * Returns `{ approved, failed }` — per-goal validation failures end\n       * up in `failed` with a per-id reason.\n       *\n       * @param opts - `goalIds` (max 50) and `reviewedById` for the reviewer\n       * @param options - Request options\n       * @returns {@link BatchApproveGoalsResponse} with approved + failed lists\n       * @example\n       * ```typescript\n       * const res = await admin.clinical.clientGoals.batchApprove({\n       *   goalIds: [\"g1\", \"g2\"],\n       *   reviewedById: \"user_xyz\",\n       * });\n       * ```\n       */\n      batchApprove: async (\n        opts: { goalIds: string[]; reviewedById: string },\n        options?: RequestOptions,\n      ): Promise<BatchApproveGoalsResponse> =>\n        rb.rawPost<BatchApproveGoalsResponse>(\n          \"/clinical/client-goals/batch-approve\",\n          { goal_ids: opts.goalIds, reviewed_by_id: opts.reviewedById },\n          options,\n        ),\n\n      /**\n       * Atomically reject up to 50 client goals in the active workspace.\n       *\n       * Rejected goals also transition lifecycle `status` to\n       * `\"discontinued\"`.\n       *\n       * @param opts - `goalIds` (max 50) and `reviewedById` for the reviewer\n       * @param options - Request options\n       * @returns {@link BatchRejectGoalsResponse} with rejected + failed lists\n       * @example\n       * ```typescript\n       * const res = await admin.clinical.clientGoals.batchReject({\n       *   goalIds: [\"g1\", \"g2\"],\n       *   reviewedById: \"user_xyz\",\n       * });\n       * ```\n       */\n      batchReject: async (\n        opts: { goalIds: string[]; reviewedById: string },\n        options?: RequestOptions,\n      ): Promise<BatchRejectGoalsResponse> =>\n        rb.rawPost<BatchRejectGoalsResponse>(\n          \"/clinical/client-goals/batch-reject\",\n          { goal_ids: opts.goalIds, reviewed_by_id: opts.reviewedById },\n          options,\n        ),\n\n      /**\n       * Get change history for a client goal.\n       *\n       * @param goalId - ClientGoal UUID\n       * @param options - Request options\n       * @returns Chronological list of goal change events\n       *\n       * @example\n       * ```typescript\n       * const events = await admin.clinical.clientGoals.history(\"uuid\");\n       * ```\n       */\n      history: async (\n        goalId: string,\n        options?: RequestOptions,\n      ): Promise<GoalHistoryResponse> =>\n        rb.rawGet<GoalHistoryResponse>(\n          `/clinical/client-goals/${goalId}/history`,\n          options,\n        ),\n\n      /**\n       * Associate a goal with a clinical entity.\n       *\n       * @param goalId - ClientGoal UUID\n       * @param attributes - Association attributes\n       * @param options - Request options\n       * @returns Created {@link GoalAssociation} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.clientGoals.associate(\"uuid\", { entity_id: \"...\" });\n       * ```\n       */\n      associate: async (\n        goalId: string,\n        attributes: CreateGoalAssociationAttributes,\n        options?: RequestOptions,\n      ): Promise<GoalAssociation> =>\n        rb.execute<GoalAssociation>(\n          postAdminClinicalGoalAssociations,\n          {\n            body: {\n              data: {\n                type: \"clinical-goal-association\",\n                attributes: {\n                  client_goal_id: goalId,\n                  entity_type: attributes.entity_type,\n                  entity_id: attributes.entity_id,\n                  ...(attributes.notes !== undefined && {\n                    notes: attributes.notes,\n                  }),\n                },\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Remove a goal-entity association.\n       *\n       * @param _goalId - ClientGoal UUID (for SDK consistency)\n       * @param associationId - GoalAssociation UUID\n       * @param options - Request options\n       * @returns `true` on successful deletion\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.clientGoals.dissociate(\"uuid\", \"assoc_uuid\");\n       * ```\n       */\n      dissociate: async (\n        _goalId: string,\n        associationId: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalGoalAssociationsById,\n          { path: { id: associationId } },\n          options,\n        ),\n\n      /**\n       * Get a single goal association by ID.\n       *\n       * @param associationId - GoalAssociation UUID\n       * @param options - Request options\n       * @returns {@link GoalAssociation} record\n       */\n      getAssociation: async (\n        associationId: string,\n        options?: RequestOptions,\n      ): Promise<GoalAssociation> =>\n        rb.execute<GoalAssociation>(\n          getAdminClinicalGoalAssociationsById,\n          { path: { id: associationId } },\n          options,\n        ),\n\n      /**\n       * List all associations for a goal.\n       *\n       * @param goalId - ClientGoal UUID\n       * @param options - Request options\n       * @returns Array of {@link GoalAssociation} records\n       */\n      associations: async (\n        goalId: string,\n        options?: RequestOptions,\n      ): Promise<GoalAssociation[]> =>\n        rb.execute<GoalAssociation[]>(\n          getAdminClinicalGoalAssociations,\n          { query: { filter: { client_goal_id: goalId } } },\n          options,\n        ),\n\n      /**\n       * Find all goals associated with a specific entity (reverse lookup).\n       *\n       * @param params - Entity type and ID to search by\n       * @param options - Request options\n       * @returns Array of {@link GoalAssociation} records\n       */\n      associatedGoals: async (\n        params: { entity_type: string; entity_id: string },\n        options?: RequestOptions,\n      ): Promise<GoalAssociation[]> =>\n        rb.rawGet<GoalAssociation[]>(\n          `/clinical/goal-associations?entity_type=${params.entity_type}&entity_id=${params.entity_id}`,\n          options,\n        ),\n    },\n\n    /** Manage patient supplement prescriptions. */\n    clientSupplements: {\n      /**\n       * List client supplements, optionally filtered by patient.\n       *\n       * @param params - Filter/sort parameters (optionally include `patient_id`)\n       * @param options - Request options\n       * @returns Array of {@link ClinicalClientSupplement} records\n       */\n      list: async (\n        params: {\n          patient_id?: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalClientSupplement[]> =>\n        rb.execute<ClinicalClientSupplement[]>(\n          getAdminClinicalClientSupplements,\n          { query: params },\n          options,\n        ),\n      /**\n       * Get a client supplement by ID.\n       *\n       * @param id - ClientSupplement UUID\n       * @param options - Request options\n       * @returns {@link ClinicalClientSupplement} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientSupplement> =>\n        rb.execute<ClinicalClientSupplement>(\n          getAdminClinicalClientSupplementsById,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * Create a client supplement prescription.\n       *\n       * @param attributes - Supplement attributes\n       * @param options - Request options\n       * @returns Created {@link ClinicalClientSupplement} record\n       * @example\n       * ```typescript\n       * await admin.clinical.clientSupplements.create({\n       *   workspace_id: \"...\",\n       *   patient_id: \"...\",\n       *   name: \"Vitamin D3\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateClientSupplementAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientSupplement> =>\n        rb.execute<ClinicalClientSupplement>(\n          postAdminClinicalClientSupplements,\n          {\n            body: { data: { type: \"clinical-client-supplement\", attributes } },\n          },\n          options,\n        ),\n      /**\n       * Update a client supplement.\n       *\n       * @param id - ClientSupplement UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalClientSupplement} record\n       * @example\n       * ```typescript\n       * await admin.clinical.clientSupplements.update(\"uuid\", { dosage: \"2000 IU\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateClientSupplementAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientSupplement> =>\n        rb.execute<ClinicalClientSupplement>(\n          patchAdminClinicalClientSupplementsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-client-supplement\", id, attributes },\n            },\n          },\n          options,\n        ),\n      /**\n       * Archive (soft-delete) a client supplement.\n       *\n       * @deprecated Use `archive()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - ClientSupplement UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalClientSupplement} record\n       */\n      delete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientSupplement> =>\n        rb.execute<ClinicalClientSupplement>(\n          patchAdminClinicalClientSupplementsByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-client-supplement\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a client supplement.\n       *\n       * @param id - ClientSupplement UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalClientSupplement} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.clientSupplements.archive(\"uuid\");\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientSupplement> =>\n        rb.execute<ClinicalClientSupplement>(\n          patchAdminClinicalClientSupplementsByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-client-supplement\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived client supplement.\n       *\n       * @param id - ClientSupplement UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalClientSupplement} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.clientSupplements.restore(\"uuid\");\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientSupplement> =>\n        rb.execute<ClinicalClientSupplement>(\n          patchAdminClinicalClientSupplementsByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-client-supplement\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a client supplement. This action is irreversible.\n       *\n       * @param id - ClientSupplement UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.clientSupplements.permanentDelete(\"uuid\");\n       * ```\n       */\n      permanentDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalClientSupplementsByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived client supplements in a workspace.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalClientSupplement} records\n       */\n      listArchived: async (\n        params: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientSupplement[]> =>\n        rb.execute<ClinicalClientSupplement[]>(\n          getAdminClinicalClientSupplementsArchived,\n          { query: params },\n          options,\n        ),\n\n      /**\n       * Create multiple client supplements in a single request.\n       *\n       * @param attrs - Bulk creation attributes with workspace_id and supplements array\n       * @param options - Request options\n       * @returns Array of creation results with id and status per supplement\n       *\n       * @example\n       * ```typescript\n       * const results = await admin.clinical.clientSupplements.bulkCreate({\n       *   workspace_id: 'ws_123',\n       *   supplements: [\n       *     { patient_id: 'pat_1', name: 'Vitamin D3', source: 'fullscript' },\n       *     { patient_id: 'pat_1', name: 'Omega-3', source: 'fullscript' },\n       *   ],\n       * });\n       * ```\n       */\n      bulkCreate: async (\n        attrs: {\n          workspace_id: string;\n          supplements: Array<Record<string, unknown>>;\n        },\n        options?: RequestOptions,\n      ): Promise<Array<{ id?: string; status: string; error?: string }>> =>\n        rb.rawPost<Array<{ id?: string; status: string; error?: string }>>(\n          `/admin/clinical/client-supplements/bulk`,\n          { data: attrs },\n          options,\n        ),\n\n      /**\n       * Batch update multiple client supplements atomically.\n       *\n       * @param updates - Array of `{ id, attributes }` pairs (max 25)\n       * @param options - Request options\n       * @returns `{ updated: number, results: ClinicalClientSupplement[] }`\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.clientSupplements.batchUpdate([\n       *   { id: \"supp-1\", attributes: { dosage: \"2000 IU\" } },\n       *   { id: \"supp-2\", attributes: { status: \"discontinued\" } },\n       * ]);\n       * ```\n       */\n      batchUpdate: async (\n        updates: BatchUpdateSupplementItem[],\n        options?: RequestOptions,\n      ): Promise<BatchUpdateSupplementResponse> =>\n        rb.rawPost<BatchUpdateSupplementResponse>(\n          \"/admin/clinical/client-supplements/batch\",\n          { updates },\n          options,\n        ),\n\n      /**\n       * Supplement adherence check-ins.\n       *\n       * Track daily supplement compliance with status-based check-ins.\n       * `taken` and `partial` count as adherent (contribute to streaks and adherence rate).\n       * `skipped` breaks streaks and does not count toward adherence.\n       */\n      checkIns: {\n        /**\n         * Record a supplement check-in.\n         *\n         * @param supplementId - ClientSupplement UUID\n         * @param attributes - Check-in attributes (date, status, optional notes)\n         * @param options - Request options\n         * @returns Created {@link SupplementCheckIn}\n         *\n         * @example\n         * ```typescript\n         * const checkIn = await admin.clinical.clientSupplements.checkIns.create(\n         *   \"supp-uuid\",\n         *   { check_in_date: \"2026-04-04\", status: \"taken\" },\n         * );\n         * ```\n         */\n        create: async (\n          supplementId: string,\n          attributes: CreateSupplementCheckInAttributes,\n          options?: RequestOptions,\n        ) =>\n          rb.rawPost<{ data: SupplementCheckIn }>(\n            `/admin/clinical/client-supplements/${supplementId}/check-ins`,\n            { data: attributes },\n            options,\n          ),\n\n        /**\n         * List check-ins for a supplement, optionally filtered by date range.\n         *\n         * @param supplementId - ClientSupplement UUID\n         * @param params - Optional date range filter\n         * @param options - Request options\n         * @returns Array of {@link SupplementCheckIn}\n         *\n         * @example\n         * ```typescript\n         * const checkIns = await admin.clinical.clientSupplements.checkIns.list(\n         *   \"supp-uuid\",\n         *   { start_date: \"2026-03-01\", end_date: \"2026-03-31\" },\n         * );\n         * ```\n         */\n        list: async (\n          supplementId: string,\n          params?: ListSupplementCheckInsParams,\n          options?: RequestOptions,\n        ) => {\n          const searchParams = new URLSearchParams();\n          if (params?.start_date)\n            searchParams.set(\"start_date\", params.start_date);\n          if (params?.end_date) searchParams.set(\"end_date\", params.end_date);\n          const qs = searchParams.toString();\n          return rb.rawGet<{ data: SupplementCheckIn[] }>(\n            `/admin/clinical/client-supplements/${supplementId}/check-ins${qs ? `?${qs}` : \"\"}`,\n            options,\n          );\n        },\n\n        /**\n         * Update a supplement check-in.\n         *\n         * @param supplementId - ClientSupplement UUID\n         * @param checkInId - SupplementCheckIn UUID\n         * @param attributes - Fields to update\n         * @param options - Request options\n         * @returns Updated {@link SupplementCheckIn}\n         *\n         * @example\n         * ```typescript\n         * await admin.clinical.clientSupplements.checkIns.update(\"uuid\", { status: \"active\" });\n         * ```\n         */\n        update: async (\n          supplementId: string,\n          checkInId: string,\n          attributes: UpdateSupplementCheckInAttributes,\n          options?: RequestOptions,\n        ) =>\n          rb.rawPatch<{ data: SupplementCheckIn }>(\n            `/admin/clinical/client-supplements/${supplementId}/check-ins/${checkInId}`,\n            { data: attributes },\n            options,\n          ),\n\n        /**\n         * Delete a supplement check-in.\n         *\n         * @param supplementId - ClientSupplement UUID\n         * @param checkInId - SupplementCheckIn UUID\n         * @param options - Request options\n         * @returns Resolves when the check-in has been deleted\n         */\n        delete: async (\n          supplementId: string,\n          checkInId: string,\n          options?: RequestOptions,\n        ) =>\n          rb.rawDelete(\n            `/admin/clinical/client-supplements/${supplementId}/check-ins/${checkInId}`,\n            options,\n          ),\n\n        /**\n         * Batch upsert supplement check-ins (max 31 items).\n         *\n         * Creates new check-ins or updates existing ones for the same (supplement, date) pair.\n         *\n         * @param supplementId - ClientSupplement UUID\n         * @param items - Array of check-in items (max 31)\n         * @param options - Request options\n         * @returns `{ created, updated, failed, results }` counts\n         *\n         * @example\n         * ```typescript\n         * const result = await admin.clinical.clientSupplements.checkIns.batchUpsert(\n         *   \"supp-uuid\",\n         *   [\n         *     { check_in_date: \"2026-04-01\", status: \"taken\" },\n         *     { check_in_date: \"2026-04-02\", status: \"partial\", notes: \"Half dose\" },\n         *     { check_in_date: \"2026-04-03\", status: \"skipped\", notes: \"Upset stomach\" },\n         *   ],\n         * );\n         * ```\n         */\n        batchUpsert: async (\n          supplementId: string,\n          items: BatchSupplementCheckInItem[],\n          options?: RequestOptions,\n        ) =>\n          rb.rawPost<{\n            data: BatchSupplementCheckInResponse;\n          }>(\n            `/admin/clinical/client-supplements/${supplementId}/check-ins/batch`,\n            { data: { items } },\n            options,\n          ),\n      },\n    },\n\n    /**\n     * Manage insurance authorization lifecycle tracking (authorized units, used units, expiry).\n     */\n    insuranceAuthorizations: {\n      /**\n       * List insurance authorizations, filtered by insurance record.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of {@link ClinicalInsuranceAuthorization} records\n       */\n      list: async (\n        params?: ClinicalListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalInsuranceAuthorization[]> =>\n        rb.execute<ClinicalInsuranceAuthorization[]>(\n          getAdminClinicalInsuranceAuthorizations,\n          { query: params ?? {} },\n          options,\n        ),\n\n      /**\n       * Get a single insurance authorization by ID.\n       *\n       * @param id - InsuranceAuthorization UUID\n       * @param options - Request options\n       * @returns {@link ClinicalInsuranceAuthorization} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalInsuranceAuthorization> =>\n        rb.execute<ClinicalInsuranceAuthorization>(\n          getAdminClinicalInsuranceAuthorizationsById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Create an insurance authorization.\n       *\n       * @param attributes - Authorization creation attributes\n       * @param options - Request options\n       * @returns Created {@link ClinicalInsuranceAuthorization} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.insuranceAuthorizations.create({ workspace_id: \"...\" });\n       * ```\n       */\n      create: async (\n        attributes: CreateInsuranceAuthorizationAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalInsuranceAuthorization> =>\n        rb.execute<ClinicalInsuranceAuthorization>(\n          postAdminClinicalInsuranceAuthorizations,\n          {\n            body: {\n              data: {\n                type: \"clinical-insurance-authorization\",\n                attributes,\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Update an insurance authorization.\n       *\n       * @param id - InsuranceAuthorization UUID\n       * @param attributes - Fields to update\n       * @param options - Request options\n       * @returns Updated {@link ClinicalInsuranceAuthorization} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.insuranceAuthorizations.update(\"uuid\", { status: \"active\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateInsuranceAuthorizationAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalInsuranceAuthorization> =>\n        rb.execute<ClinicalInsuranceAuthorization>(\n          patchAdminClinicalInsuranceAuthorizationsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-insurance-authorization\",\n                id,\n                attributes,\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Increment used units on an authorization.\n       *\n       * @param id - InsuranceAuthorization UUID\n       * @param units - Number of units to increment (default: 1)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalInsuranceAuthorization} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.insuranceAuthorizations.increment(\"uuid\");\n       * ```\n       */\n      increment: async (\n        id: string,\n        units?: number,\n        options?: RequestOptions,\n      ): Promise<ClinicalInsuranceAuthorization> =>\n        rb.execute<ClinicalInsuranceAuthorization>(\n          patchAdminClinicalInsuranceAuthorizationsByIdIncrement,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-insurance-authorization\",\n                id,\n                attributes: { units: units ?? 1 },\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * List expiring authorizations (low remaining units).\n       *\n       * @param params - Filter parameters\n       * @param options - Request options\n       * @returns Array of {@link ClinicalInsuranceAuthorization} records\n       */\n      listExpiring: async (\n        params?: ClinicalListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalInsuranceAuthorization[]> =>\n        rb.execute<ClinicalInsuranceAuthorization[]>(\n          getAdminClinicalInsuranceAuthorizationsExpiring,\n          { query: params ?? {} },\n          options,\n        ),\n\n      /**\n       * Delete an insurance authorization (hard delete).\n       *\n       * @param id - InsuranceAuthorization UUID\n       * @param options - Request options\n       * @returns Resolves when the authorization has been deleted\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<void> =>\n        rb.execute<void>(\n          deleteAdminClinicalInsuranceAuthorizationsById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List all authorizations in a workspace.\n       *\n       * @param params - Must include workspace_id, supports pagination\n       * @param options - Request options\n       * @returns Array of {@link ClinicalInsuranceAuthorization} records\n       */\n      listByWorkspace: async (\n        params: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalInsuranceAuthorization[]> =>\n        rb.execute<ClinicalInsuranceAuthorization[]>(\n          getAdminClinicalInsuranceAuthorizationsByWorkspace,\n          { query: params },\n          options,\n        ),\n    },\n\n    patientInsurance: {\n      /**\n       * List insurance records, filtered by patient or workspace.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of {@link ClinicalPatientInsurance} records\n       */\n      list: async (\n        params?: ClinicalListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalPatientInsurance[]> =>\n        rb.execute<ClinicalPatientInsurance[]>(\n          getAdminClinicalPatientInsurance,\n          { query: params ?? {} },\n          options,\n        ),\n\n      /**\n       * Get a single insurance record by ID.\n       *\n       * @param id - PatientInsurance UUID\n       * @param options - Request options\n       * @returns {@link ClinicalPatientInsurance} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalPatientInsurance> =>\n        rb.execute<ClinicalPatientInsurance>(\n          getAdminClinicalPatientInsuranceById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Create an insurance record for a patient.\n       *\n       * @param attributes - Insurance creation attributes\n       * @param options - Request options\n       * @returns Created {@link ClinicalPatientInsurance} record\n       * @example\n       * ```typescript\n       * const insurance = await admin.clinical.patientInsurance.create({\n       *   patient_id: patientId,\n       *   rank: \"primary\",\n       *   carrier_name: \"Aetna\",\n       *   member_id: \"MEM123456\",\n       *   plan_type: \"ppo\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreatePatientInsuranceAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalPatientInsurance> =>\n        rb.execute<ClinicalPatientInsurance>(\n          postAdminClinicalPatientInsurance,\n          {\n            body: {\n              data: { type: \"clinical-patient-insurance\", attributes },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Update an insurance record.\n       *\n       * @param id - PatientInsurance UUID\n       * @param attributes - Fields to update\n       * @param options - Request options\n       * @returns Updated {@link ClinicalPatientInsurance} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.patientInsurance.update(\"uuid\", { status: \"active\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdatePatientInsuranceAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalPatientInsurance> =>\n        rb.execute<ClinicalPatientInsurance>(\n          patchAdminClinicalPatientInsuranceById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-patient-insurance\", id, attributes },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Delete an insurance record (hard delete).\n       *\n       * @param id - PatientInsurance UUID\n       * @param options - Request options\n       * @returns Resolves when the insurance record has been deleted\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<void> =>\n        rb.execute<void>(\n          deleteAdminClinicalPatientInsuranceById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List all insurance records in a workspace (admin only).\n       *\n       * @param params - Must include workspace_id, supports pagination\n       * @param options - Request options\n       * @returns Array of {@link ClinicalPatientInsurance} records\n       */\n      listByWorkspace: async (\n        params: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalPatientInsurance[]> =>\n        rb.execute<ClinicalPatientInsurance[]>(\n          getAdminClinicalPatientInsuranceByWorkspace,\n          { query: params },\n          options,\n        ),\n    },\n\n    /**\n     * Manage medication prescriptions for clinical patients.\n     */\n    clientMedications: {\n      /**\n       * List medication prescriptions.\n       *\n       * @param params - Optional filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of {@link ClinicalClientMedication} records\n       */\n      list: async (\n        params?: ClinicalListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientMedication[]> =>\n        rb.execute<ClinicalClientMedication[]>(\n          getAdminClinicalClientMedications,\n          { query: params ?? {} },\n          options,\n        ),\n\n      /**\n       * Get a medication prescription by ID.\n       *\n       * @param id - ClientMedication UUID\n       * @param options - Request options\n       * @returns {@link ClinicalClientMedication} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientMedication> =>\n        rb.execute<ClinicalClientMedication>(\n          getAdminClinicalClientMedicationsById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Create a new medication prescription.\n       *\n       * @param attributes - Medication attributes\n       * @param options - Request options\n       * @returns Created {@link ClinicalClientMedication} record\n       * @example\n       * ```typescript\n       * await admin.clinical.clientMedications.create({\n       *   workspace_id: \"...\",\n       *   patient_id: \"...\",\n       *   name: \"Metformin\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateClientMedicationAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientMedication> =>\n        rb.execute<ClinicalClientMedication>(\n          postAdminClinicalClientMedications,\n          {\n            body: { data: { type: \"clinical-client-medication\", attributes } },\n          },\n          options,\n        ),\n\n      /**\n       * Update a medication prescription.\n       *\n       * @param id - ClientMedication UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalClientMedication} record\n       * @example\n       * ```typescript\n       * await admin.clinical.clientMedications.update(\"uuid\", { dosage: \"500 mg\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateClientMedicationAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientMedication> =>\n        rb.execute<ClinicalClientMedication>(\n          patchAdminClinicalClientMedicationsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-client-medication\", id, attributes },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Delete (archive) a medication prescription.\n       *\n       * @deprecated Use {@link archive} instead.\n       * @param id - ClientMedication UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalClientMedication} record\n       */\n      delete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientMedication> =>\n        rb.execute<ClinicalClientMedication>(\n          patchAdminClinicalClientMedicationsByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-client-medication\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a medication prescription.\n       *\n       * @param id - ClientMedication UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalClientMedication} record\n       * @example\n       * ```typescript\n       * await admin.clinical.clientMedications.archive(\"uuid\");\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientMedication> =>\n        rb.execute<ClinicalClientMedication>(\n          patchAdminClinicalClientMedicationsByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-client-medication\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived medication prescription.\n       *\n       * @param id - ClientMedication UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalClientMedication} record\n       * @example\n       * ```typescript\n       * await admin.clinical.clientMedications.restore(\"uuid\");\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientMedication> =>\n        rb.execute<ClinicalClientMedication>(\n          patchAdminClinicalClientMedicationsByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-client-medication\", id, attributes: {} },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a medication prescription. This action is irreversible.\n       *\n       * @param id - ClientMedication UUID\n       * @param options - Request options\n       * @returns `true` on success\n       * @example\n       * ```typescript\n       * await admin.clinical.clientMedications.permanentDelete(\"uuid\");\n       * ```\n       */\n      permanentDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalClientMedicationsByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived (soft-deleted) medication prescriptions.\n       *\n       * @param params - Optional workspace-scoped filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalClientMedication} records\n       */\n      listArchived: async (\n        params?: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientMedication[]> =>\n        rb.execute<ClinicalClientMedication[]>(\n          getAdminClinicalClientMedicationsArchived,\n          { query: params ?? {} },\n          options,\n        ),\n\n      /**\n       * Create multiple medication prescriptions in a single request.\n       *\n       * @param attrs - `workspace_id` plus a `medications` array\n       * @param options - Request options\n       * @returns Per-medication result records with status and optional error\n       * @example\n       * ```typescript\n       * await admin.clinical.clientMedications.bulkCreate({\n       *   workspace_id: \"...\",\n       *   medications: [{ patient_id: \"...\", name: \"Metformin\" }],\n       * });\n       * ```\n       */\n      bulkCreate: async (\n        attrs: {\n          workspace_id: string;\n          medications: Array<\n            Omit<CreateClientMedicationAttributes, \"workspace_id\">\n          >;\n        },\n        options?: RequestOptions,\n      ): Promise<Array<{ id?: string; status: string; error?: string }>> =>\n        rb.rawPost<Array<{ id?: string; status: string; error?: string }>>(\n          `/admin/clinical/client-medications/bulk`,\n          { data: attrs },\n          options,\n        ),\n    },\n\n    /** View and update clinical delivery audit records. */\n    deliveries: {\n      /**\n       * List delivery records, optionally filtered by patient.\n       *\n       * @param params - Filter/sort parameters (optionally include `patient_id`)\n       * @param options - Request options\n       * @returns Array of {@link ClinicalDelivery} records\n       */\n      list: async (\n        params: {\n          patient_id?: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalDelivery[]> =>\n        rb.execute<ClinicalDelivery[]>(\n          getAdminClinicalDeliveries,\n          { query: params },\n          options,\n        ),\n      /**\n       * List delivery records for a session.\n       *\n       * @param params - Must include `session_id`\n       * @param options - Request options\n       * @returns Array of {@link ClinicalDelivery} records\n       */\n      listBySession: async (\n        params: { session_id: string; filter?: Record<string, unknown> },\n        options?: RequestOptions,\n      ): Promise<ClinicalDelivery[]> =>\n        rb.execute<ClinicalDelivery[]>(\n          getAdminClinicalDeliveriesBySession,\n          { query: params },\n          options,\n        ),\n      /**\n       * Get a delivery record by ID.\n       *\n       * @param id - Delivery UUID\n       * @param options - Request options\n       * @returns {@link ClinicalDelivery} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalDelivery> =>\n        rb.execute<ClinicalDelivery>(\n          getAdminClinicalDeliveriesById,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * Create a delivery audit record.\n       *\n       * @param attributes - Delivery attributes\n       * @param options - Request options\n       * @returns Created {@link ClinicalDelivery} record\n       * @example\n       * ```typescript\n       * await admin.clinical.deliveries.create({ workspace_id: \"...\", session_id: \"...\" });\n       * ```\n       */\n      create: async (\n        attributes: CreateClinicalDeliveryAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalDelivery> =>\n        rb.execute<ClinicalDelivery>(\n          postAdminClinicalDeliveries,\n          { body: { data: { type: \"clinical-delivery\", attributes } } },\n          options,\n        ),\n      /**\n       * Update a delivery record.\n       *\n       * @param id - Delivery UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalDelivery} record\n       * @example\n       * ```typescript\n       * await admin.clinical.deliveries.update(\"uuid\", { status: \"delivered\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateClinicalDeliveryAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalDelivery> =>\n        rb.execute<ClinicalDelivery>(\n          patchAdminClinicalDeliveriesById,\n          {\n            path: { id },\n            body: { data: { type: \"clinical-delivery\", id, attributes } },\n          },\n          options,\n        ),\n    },\n\n    /** Manage practice resource assignments to patients. */\n    clientResourceAssignments: {\n      /**\n       * List resource assignments, optionally filtered by patient.\n       *\n       * @param params - Filter/sort parameters (optionally include `patient_id`)\n       * @param options - Request options\n       * @returns Array of {@link ClinicalClientResourceAssignment} records\n       */\n      list: async (\n        params: {\n          patient_id?: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalClientResourceAssignment[]> =>\n        rb.execute<ClinicalClientResourceAssignment[]>(\n          getAdminClinicalClientResourceAssignments,\n          { query: params },\n          options,\n        ),\n      /**\n       * Get a resource assignment by ID.\n       *\n       * @param id - ClientResourceAssignment UUID\n       * @param options - Request options\n       * @returns {@link ClinicalClientResourceAssignment} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientResourceAssignment> =>\n        rb.execute<ClinicalClientResourceAssignment>(\n          getAdminClinicalClientResourceAssignmentsById,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * Create a resource assignment.\n       *\n       * @param attributes - Assignment attributes\n       * @param options - Request options\n       * @returns Created {@link ClinicalClientResourceAssignment} record\n       * @example\n       * ```typescript\n       * await admin.clinical.clientResourceAssignments.create({\n       *   workspace_id: \"...\",\n       *   patient_id: \"...\",\n       *   resource_id: \"...\",\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateClientResourceAssignmentAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientResourceAssignment> =>\n        rb.execute<ClinicalClientResourceAssignment>(\n          postAdminClinicalClientResourceAssignments,\n          {\n            body: {\n              data: { type: \"clinical-client-resource-assignment\", attributes },\n            },\n          },\n          options,\n        ),\n      /**\n       * Update a resource assignment.\n       *\n       * @param id - ClientResourceAssignment UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalClientResourceAssignment} record\n       * @example\n       * ```typescript\n       * await admin.clinical.clientResourceAssignments.update(\"uuid\", { status: \"active\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateClientResourceAssignmentAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientResourceAssignment> =>\n        rb.execute<ClinicalClientResourceAssignment>(\n          patchAdminClinicalClientResourceAssignmentsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-client-resource-assignment\",\n                id,\n                attributes,\n              },\n            },\n          },\n          options,\n        ),\n      /**\n       * Archive (soft-delete) a resource assignment.\n       *\n       * @deprecated Use `archive()` instead. Now performs soft-delete, not permanent deletion.\n       * @param id - ClientResourceAssignment UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalClientResourceAssignment} record\n       */\n      delete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientResourceAssignment> =>\n        rb.execute<ClinicalClientResourceAssignment>(\n          patchAdminClinicalClientResourceAssignmentsByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-client-resource-assignment\",\n                id,\n                attributes: {},\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Archive (soft-delete) a resource assignment.\n       *\n       * @param id - ClientResourceAssignment UUID\n       * @param options - Request options\n       * @returns Archived {@link ClinicalClientResourceAssignment} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.clientResourceAssignments.archive(\"uuid\");\n       * ```\n       */\n      archive: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientResourceAssignment> =>\n        rb.execute<ClinicalClientResourceAssignment>(\n          patchAdminClinicalClientResourceAssignmentsByIdArchive,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-client-resource-assignment\",\n                id,\n                attributes: {},\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Restore an archived resource assignment.\n       *\n       * @param id - ClientResourceAssignment UUID\n       * @param options - Request options\n       * @returns Restored {@link ClinicalClientResourceAssignment} record\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.clientResourceAssignments.restore(\"uuid\");\n       * ```\n       */\n      restore: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientResourceAssignment> =>\n        rb.execute<ClinicalClientResourceAssignment>(\n          patchAdminClinicalClientResourceAssignmentsByIdRestore,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-client-resource-assignment\",\n                id,\n                attributes: {},\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Permanently delete a resource assignment. This action is irreversible.\n       *\n       * @param id - ClientResourceAssignment UUID\n       * @param options - Request options\n       * @returns `true` on success\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.clientResourceAssignments.permanentDelete(\"uuid\");\n       * ```\n       */\n      permanentDelete: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<true> =>\n        rb.executeDelete(\n          deleteAdminClinicalClientResourceAssignmentsByIdPermanent,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List archived resource assignments in a workspace.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of archived {@link ClinicalClientResourceAssignment} records\n       */\n      listArchived: async (\n        params: ClinicalWorkspaceListParams,\n        options?: RequestOptions,\n      ): Promise<ClinicalClientResourceAssignment[]> =>\n        rb.execute<ClinicalClientResourceAssignment[]>(\n          getAdminClinicalClientResourceAssignmentsArchived,\n          { query: params },\n          options,\n        ),\n    },\n\n    /** View AI supplement recommendation cache entries. */\n    supplementRecCache: {\n      /**\n       * List supplement recommendation cache entries, optionally filtered by patient.\n       *\n       * @param params - Filter/sort parameters (optionally include `patient_id`)\n       * @param options - Request options\n       * @returns Array of {@link ClinicalSupplementRecCache} records\n       */\n      list: async (\n        params: {\n          patient_id?: string;\n          filter?: Record<string, unknown>;\n          sort?: string;\n        },\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementRecCache[]> =>\n        rb.execute<ClinicalSupplementRecCache[]>(\n          getAdminClinicalSupplementRecCache,\n          { query: params },\n          options,\n        ),\n      /**\n       * Get a supplement recommendation cache entry by ID.\n       *\n       * @param id - SupplementRecCache UUID\n       * @param options - Request options\n       * @returns {@link ClinicalSupplementRecCache} record\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementRecCache> =>\n        rb.execute<ClinicalSupplementRecCache>(\n          getAdminClinicalSupplementRecCacheById,\n          { path: { id } },\n          options,\n        ),\n      /**\n       * Update a supplement recommendation cache entry.\n       *\n       * @param id - SupplementRecCache UUID\n       * @param attributes - Fields to update (PATCH semantics)\n       * @param options - Request options\n       * @returns Updated {@link ClinicalSupplementRecCache} record\n       * @example\n       * ```typescript\n       * await admin.clinical.supplementRecCache.update(\"uuid\", { status: \"applied\" });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateSupplementRecCacheAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalSupplementRecCache> =>\n        rb.execute<ClinicalSupplementRecCache>(\n          patchAdminClinicalSupplementRecCacheById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"clinical-supplement-rec-cache\", id, attributes },\n            },\n          },\n          options,\n        ),\n    },\n\n    /**\n     * Manage clinical documents (lab results, imaging, referrals, etc.) for ISV administration.\n     */\n    documents: {\n      /**\n       * List all clinical documents with optional filtering.\n       *\n       * @param params - Filter/pagination parameters\n       * @param options - Request options\n       * @returns Array of {@link ClinicalDocument} records\n       *\n       * @example\n       * ```typescript\n       * const docs = await admin.clinical.documents.list({\n       *   filter: { workspace_id: 'ws_123', extraction_status: 'pending' },\n       * });\n       * ```\n       */\n      list: async (\n        params?: ListDocumentsOptions,\n        options?: RequestOptions,\n      ): Promise<ClinicalDocument[]> =>\n        rb.execute<ClinicalDocument[]>(\n          getAdminClinicalDocuments,\n          { query: params ?? {} },\n          options,\n        ),\n\n      /**\n       * Create a new clinical document record linked to a patient.\n       *\n       * @param attributes - Document attributes including `patient_id`, `storage_file_id`, and `document_type` (any ISV-defined string, e.g. \"chart_note\", \"lab_report\", \"treatment_plan\")\n       * @param options - Request options\n       * @returns The created {@link ClinicalDocument}\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.clinical.documents.create({\n       *   workspace_id: 'ws_789',\n       *   patient_id: 'pat_123',\n       *   storage_file_id: 'sf_456',\n       *   title: 'Annual Lab Results',\n       *   document_type: 'lab_report',\n       *   source_platform: 'labcorp',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateDocumentAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalDocument> =>\n        rb.execute<ClinicalDocument>(\n          postAdminClinicalDocuments,\n          {\n            body: {\n              data: {\n                type: \"clinical-document\",\n                attributes,\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Retrieve a clinical document by ID.\n       *\n       * @param id - Document ID\n       * @param options - Request options\n       * @returns The {@link ClinicalDocument}\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.clinical.documents.get('doc_123');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<ClinicalDocument> =>\n        rb.execute<ClinicalDocument>(\n          getAdminClinicalDocumentsById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * Update a clinical document.\n       *\n       * @param id - Document ID\n       * @param attributes - Fields to update (`title`, `document_type`, `source_platform`, `source_date`, `contact_id`, `expires_at`)\n       * @param options - Request options\n       * @returns The updated {@link ClinicalDocument}\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.clinical.documents.update('doc_123', {\n       *   title: 'Updated Lab Results',\n       * });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateDocumentAttributes,\n        options?: RequestOptions,\n      ): Promise<ClinicalDocument> =>\n        rb.execute<ClinicalDocument>(\n          patchAdminClinicalDocumentsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-document\",\n                id,\n                attributes,\n              },\n            },\n          },\n          options,\n        ),\n\n      /**\n       * Delete a clinical document permanently.\n       *\n       * @param id - Document ID\n       * @param options - Request options\n       * @returns void\n       *\n       * @example\n       * ```typescript\n       * await admin.clinical.documents.delete('doc_123');\n       * ```\n       */\n      delete: async (id: string, options?: RequestOptions): Promise<void> =>\n        rb.execute<void>(\n          deleteAdminClinicalDocumentsById,\n          { path: { id } },\n          options,\n        ),\n\n      /**\n       * List clinical documents for a specific patient.\n       *\n       * @param patientId - Patient ID (or CRM contact ID — resolved automatically)\n       * @param params - Optional pagination parameters\n       * @param options - Request options\n       * @returns Array of {@link ClinicalDocument} records\n       *\n       * @example\n       * ```typescript\n       * const docs = await admin.clinical.documents.listByPatient('pat_123', {\n       *   page: { offset: 0, limit: 20 },\n       * });\n       * ```\n       */\n      listByPatient: async (\n        patientId: string,\n        params?: ListDocumentsByPatientOptions,\n        options?: RequestOptions,\n      ): Promise<ClinicalDocument[]> =>\n        rb.execute<ClinicalDocument[]>(\n          getAdminClinicalDocumentsPatientsByIdDocuments,\n          { path: { id: patientId }, query: params ?? {} },\n          options,\n        ),\n\n      /**\n       * Transition the extraction status of a clinical document.\n       *\n       * @param id - Document ID\n       * @param status - New extraction status\n       * @param options - Request options\n       * @returns The updated {@link ClinicalDocument}\n       *\n       * @example\n       * ```typescript\n       * const doc = await admin.clinical.documents.transitionStatus(\n       *   'doc_123',\n       *   'completed',\n       * );\n       * ```\n       */\n      transitionStatus: async (\n        id: string,\n        status: ExtractionStatus,\n        options?: RequestOptions,\n      ): Promise<ClinicalDocument> =>\n        rb.execute<ClinicalDocument>(\n          patchAdminClinicalDocumentsByIdTransitionStatus,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"clinical-document\",\n                id,\n                attributes: { extraction_status: status },\n              },\n            },\n          },\n          options,\n        ),\n    },\n  };\n}\n","// Hand-maintained — override generation\n\nimport {\n  getAdminWorkspaces,\n  getAdminWorkspacesById,\n  postAdminWorkspaces,\n  patchAdminWorkspacesById,\n  deleteAdminWorkspacesById,\n  getAdminWorkspacesMine,\n  getAdminWorkspacesShared,\n  patchAdminWorkspacesByIdAllocate,\n  patchAdminWorkspacesByIdStorageSettings,\n  patchAdminWorkspacesByIdPopulateHashes,\n  patchAdminWorkspacesByIdGoLive,\n  patchAdminWorkspacesByIdTakeOffline,\n} from \"../_internal/sdk.gen\";\nimport type { Workspace } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/** Attributes accepted when creating a workspace. Mirrors the `accept` list of\n * the `:create` action in `lib/gpt_core/tenancy/resources/workspace.ex`. */\nexport interface CreateWorkspaceAttributes {\n  name: string;\n  slug: string;\n  tenant_id: string;\n  is_default?: boolean;\n  low_balance_threshold?: number;\n  expires_at?: string;\n  description?: string;\n  renewal_params?: Record<string, unknown>;\n  settings?: Record<string, unknown>;\n  app?: string;\n  deduplicate_uploads?: boolean;\n  vanity_slug?: string;\n}\n\n/** Attributes accepted when updating a workspace. Mirrors the `accept` list of\n * the `:update` action in `lib/gpt_core/tenancy/resources/workspace.ex`. */\nexport interface UpdateWorkspaceAttributes {\n  name?: string;\n  slug?: string;\n  low_balance_threshold?: number;\n  is_default?: boolean;\n  settings?: Record<string, unknown>;\n  application_id?: string;\n  deduplicate_uploads?: boolean;\n  vanity_slug?: string;\n  properties?: Record<string, unknown>;\n}\n\nexport type AdminWorkspaceHomeSnapshotWindow = \"today\" | \"7d\" | \"30d\";\n\nexport type AdminPanelEnvelope<T> =\n  | { status: \"ok\"; data: T }\n  | { status: \"unavailable\"; reason: string };\n\nexport type AdminWorkspaceHomeSnapshotCase = {\n  id: string;\n  title: string;\n  state: string;\n  priority: string;\n  sla_due_at: string | null;\n  sla_tone: \"default\" | \"warn\" | \"danger\";\n  opened_at: string | null;\n};\n\nexport type AdminWorkspaceHomeSnapshotAttentionSummary = {\n  open: number;\n  sla_overdue: number;\n  sla_within_24h: number;\n  sla_within_7d: number;\n};\n\nexport type AdminWorkspaceHomeSnapshotReviewQueue = {\n  queue_id: string;\n  slug: string;\n  name: string;\n  pending_count: number;\n  sla_overdue_count: number;\n};\n\nexport type AdminWorkspaceHomeSnapshotThroughputBucket = {\n  start_at: string;\n  end_at: string;\n  count: number;\n  unit: \"hour\" | \"day\";\n};\n\nexport type AdminWorkspaceHomeSnapshotThroughput = {\n  metrics: {\n    decided: number;\n    completed: number;\n    failed: number;\n    median_cycle_seconds: number | null;\n  };\n  buckets: AdminWorkspaceHomeSnapshotThroughputBucket[];\n};\n\nexport type AdminWorkspaceHomeSnapshotActivity = {\n  id: string;\n  action: string;\n  resource_type: string | null;\n  resource_id: string | null;\n  target_type: string | null;\n  target_id: string | null;\n  target_name: string | null;\n  created_at: string | null;\n};\n\nexport type AdminWorkspaceHomeSnapshotClinicalReview = {\n  pending_notes: number;\n  pending_meal_plans: number;\n  pending_goals: number;\n  phi_flagged_notes: number;\n  expiring_authorizations: number;\n};\n\nexport type AdminWorkspaceHomeSnapshot = {\n  workspace_id: string;\n  tenant_id: string;\n  window: AdminWorkspaceHomeSnapshotWindow;\n  generated_at: string;\n  attention: AdminPanelEnvelope<{\n    items: AdminWorkspaceHomeSnapshotCase[];\n    summary: AdminWorkspaceHomeSnapshotAttentionSummary;\n  }>;\n  review_queues: AdminPanelEnvelope<AdminWorkspaceHomeSnapshotReviewQueue[]>;\n  throughput: AdminPanelEnvelope<AdminWorkspaceHomeSnapshotThroughput>;\n  activity: AdminPanelEnvelope<AdminWorkspaceHomeSnapshotActivity[]>;\n  clinical_review: AdminPanelEnvelope<AdminWorkspaceHomeSnapshotClinicalReview>;\n};\n\nexport function createWorkspacesNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List all workspaces visible to the current actor.\n     *\n     * @param options - Optional request options (pagination, filters, sorting).\n     * @returns A list of `Workspace` records.\n     *\n     * @example\n     * ```ts\n     * const workspaces = await admin.workspaces.list();\n     * ```\n     */\n    list: async (options?: RequestOptions): Promise<Workspace[]> => {\n      return rb.execute<Workspace[]>(getAdminWorkspaces, {}, options);\n    },\n\n    /**\n     * Get a workspace by ID.\n     *\n     * @param id - The UUID of the workspace.\n     * @param options - Optional request options.\n     * @returns The `Workspace` record.\n     *\n     * @example\n     * ```ts\n     * const workspace = await admin.workspaces.get(\"workspace-uuid\");\n     * ```\n     */\n    get: async (id: string, options?: RequestOptions): Promise<Workspace> => {\n      return rb.execute<Workspace>(\n        getAdminWorkspacesById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Retrieve the composite workspace home snapshot.\n     *\n     * @param workspaceId - Workspace UUID.\n     * @param window - Optional reporting window. Defaults to `7d` server-side.\n     * @param options - Optional request settings.\n     * @returns Attention, review queue, throughput, and activity panels.\n     * @example\n     * const snapshot = await admin.workspaces.homeSnapshot(\n     *   \"workspace-uuid\",\n     *   \"30d\",\n     * );\n     */\n    homeSnapshot: async (\n      workspaceId: string,\n      window?: AdminWorkspaceHomeSnapshotWindow,\n      options?: RequestOptions,\n    ): Promise<AdminWorkspaceHomeSnapshot> => {\n      const query = window ? `?window=${encodeURIComponent(window)}` : \"\";\n\n      return rb.rawGet<AdminWorkspaceHomeSnapshot>(\n        `/admin/workspaces/${encodeURIComponent(workspaceId)}/home-snapshot${query}`,\n        options,\n      );\n    },\n\n    /**\n     * Create a new workspace.\n     *\n     * @param attributes - Workspace attributes.\n     * @param options - Optional request options.\n     * @returns The created `Workspace`.\n     *\n     * @example\n     * ```ts\n     * const workspace = await admin.workspaces.create({ name: \"Engineering\" });\n     * ```\n     */\n    create: async (\n      attributes: CreateWorkspaceAttributes,\n      options?: RequestOptions,\n    ): Promise<Workspace> => {\n      const {\n        name,\n        slug,\n        tenant_id,\n        is_default,\n        low_balance_threshold,\n        expires_at,\n        description,\n        renewal_params,\n        settings,\n        app,\n        deduplicate_uploads,\n        vanity_slug,\n      } = attributes;\n\n      return rb.execute<Workspace>(\n        postAdminWorkspaces,\n        {\n          body: {\n            data: {\n              type: \"workspace\",\n              attributes: {\n                name,\n                slug,\n                tenant_id,\n                is_default,\n                low_balance_threshold,\n                expires_at,\n                description,\n                renewal_params,\n                settings,\n                app,\n                deduplicate_uploads,\n                vanity_slug,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Update a workspace.\n     *\n     * @param id - The UUID of the workspace.\n     * @param attributes - Fields to update.\n     * @param options - Optional request options.\n     * @returns The updated `Workspace`.\n     *\n     * @example\n     * ```ts\n     * const workspace = await admin.workspaces.update(\"workspace-uuid\", { name: \"New Name\" });\n     * ```\n     */\n    update: async (\n      id: string,\n      attributes: UpdateWorkspaceAttributes,\n      options?: RequestOptions,\n    ): Promise<Workspace> => {\n      const {\n        name,\n        slug,\n        low_balance_threshold,\n        is_default,\n        settings,\n        application_id,\n        deduplicate_uploads,\n        vanity_slug,\n        properties,\n      } = attributes;\n\n      return rb.execute<Workspace>(\n        patchAdminWorkspacesById,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"workspace\",\n              attributes: {\n                name,\n                slug,\n                low_balance_threshold,\n                is_default,\n                settings,\n                application_id,\n                deduplicate_uploads,\n                vanity_slug,\n                properties,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Delete a workspace.\n     *\n     * @param id - The UUID of the workspace.\n     * @param options - Optional request options.\n     * @returns `true` on success.\n     *\n     * @example\n     * ```ts\n     * await admin.workspaces.delete(\"workspace-uuid\");\n     * ```\n     */\n    delete: async (id: string, options?: RequestOptions): Promise<true> => {\n      return rb.executeDelete(\n        deleteAdminWorkspacesById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Transition a workspace to `:active` status via the `:go_live` action.\n     *\n     * @param id - UUID of the workspace.\n     * @param options - Optional request options.\n     * @returns The updated `Workspace` with `status: \"active\"`.\n     * @example\n     * const workspace = await admin.workspaces.goLive(\"workspace-uuid\");\n     */\n    goLive: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Workspace> => {\n      return rb.execute<Workspace>(\n        patchAdminWorkspacesByIdGoLive,\n        {\n          path: { id },\n          body: { data: { id, type: \"workspace\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Transition a workspace to `:suspended` status via the `:take_offline`\n     * action.\n     *\n     * @param id - UUID of the workspace.\n     * @param options - Optional request options.\n     * @returns The updated `Workspace` with `status: \"suspended\"`.\n     * @example\n     * const workspace = await admin.workspaces.takeOffline(\"workspace-uuid\");\n     */\n    takeOffline: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Workspace> => {\n      return rb.execute<Workspace>(\n        patchAdminWorkspacesByIdTakeOffline,\n        {\n          path: { id },\n          body: { data: { id, type: \"workspace\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * List workspaces owned by the current user.\n     *\n     * @param options - Optional request options.\n     * @returns A list of `Workspace` records.\n     *\n     * @example\n     * ```ts\n     * const mine = await admin.workspaces.mine();\n     * ```\n     */\n    mine: async (options?: RequestOptions): Promise<Workspace[]> => {\n      return rb.execute<Workspace[]>(getAdminWorkspacesMine, {}, options);\n    },\n\n    /**\n     * List workspaces shared with the current user.\n     *\n     * @param options - Optional request options.\n     * @returns A list of `Workspace` records.\n     *\n     * @example\n     * ```ts\n     * const shared = await admin.workspaces.shared();\n     * ```\n     */\n    shared: async (options?: RequestOptions): Promise<Workspace[]> => {\n      return rb.execute<Workspace[]>(getAdminWorkspacesShared, {}, options);\n    },\n\n    /**\n     * Allocate credits to a workspace.\n     *\n     * @param id - The UUID of the workspace.\n     * @param amount - Number of credits to allocate.\n     * @param options - Optional request options.\n     * @returns The updated `Workspace`.\n     *\n     * @example\n     * ```ts\n     * const workspace = await admin.workspaces.allocateCredits(\"workspace-uuid\", 500);\n     * ```\n     */\n    allocateCredits: async (\n      id: string,\n      amount: number,\n      options?: RequestOptions,\n    ): Promise<Workspace> => {\n      return rb.execute<Workspace>(\n        patchAdminWorkspacesByIdAllocate,\n        {\n          path: { id },\n          body: {\n            data: { id, type: \"workspace\", attributes: { amount } },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Update storage settings for a workspace.\n     *\n     * @param id - The UUID of the workspace.\n     * @param settings - Storage settings to update.\n     * @param options - Optional request options.\n     * @returns The updated `Workspace`.\n     *\n     * @example\n     * ```ts\n     * const workspace = await admin.workspaces.updateStorageSettings(\"workspace-uuid\", {\n     *   max_storage_bytes: 10737418240,\n     * });\n     * ```\n     */\n    updateStorageSettings: async (\n      id: string,\n      settings: Record<string, unknown>,\n      options?: RequestOptions,\n    ): Promise<Workspace> => {\n      return rb.execute<Workspace>(\n        patchAdminWorkspacesByIdStorageSettings,\n        {\n          path: { id },\n          body: { data: { id, type: \"workspace\", attributes: { settings } } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Populate content hashes for all documents in a workspace.\n     *\n     * @param id - The UUID of the workspace.\n     * @param options - Optional request options.\n     * @returns The updated `Workspace`.\n     *\n     * @example\n     * ```ts\n     * const workspace = await admin.workspaces.populateHashes(\"workspace-uuid\");\n     * ```\n     */\n    populateHashes: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Workspace> => {\n      return rb.execute<Workspace>(\n        patchAdminWorkspacesByIdPopulateHashes,\n        {\n          path: { id },\n          body: { data: { id, type: \"workspace\", attributes: {} } },\n        },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\n\nimport {\n  getAdminInvitations,\n  postAdminInvitations,\n  getAdminInvitationsMe,\n  getAdminInvitationsConsumeByToken,\n  postAdminInvitationsAcceptByToken,\n  patchAdminInvitationsByIdAccept,\n  patchAdminInvitationsByIdAcceptById,\n  patchAdminInvitationsByIdAcceptByUser,\n  patchAdminInvitationsByIdDecline,\n  patchAdminInvitationsByIdRevoke,\n  patchAdminInvitationsByIdResend,\n} from \"../_internal/sdk.gen\";\nimport type { Invitation } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/**\n * Attributes accepted by the `:invite` action on Invitation. Mirrors the\n * server-side accept list in `lib/gpt_core/tenancy/resources/invitation.ex`.\n */\nexport interface InviteAttributes {\n  /** Email of the invitee. */\n  email: string;\n  /** Whether the invitation targets a tenant or workspace. */\n  scope_type: \"tenant\" | \"workspace\";\n  /** UUID of the tenant or workspace the invitee is being added to. */\n  scope_id: string;\n  /** Role granted once the invitation is accepted. */\n  role: \"admin\" | \"member\" | \"editor\" | \"viewer\";\n  /** Override the inviter (defaults to the authenticated actor). */\n  inviter_id?: string;\n  /** Application the invitation is anchored to (controls branding / email). */\n  application_id?: string;\n  /** Optional message embedded in the invitation email (<= 500 chars). */\n  custom_message?: string;\n  /** Extra permission strings applied alongside the base role. */\n  permissions?: string[];\n  /**\n   * Per-call override of the Application's `system_email_method` for this\n   * invitation. When omitted, falls back to the Application default.\n   */\n  email_method?: \"link\" | \"code\";\n}\n\nexport function createInvitationsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List all invitations visible to the current actor.\n     *\n     * @param options - Optional request options (pagination, filters, sorting).\n     * @returns A list of `Invitation` records.\n     *\n     * @example\n     * ```ts\n     * const invitations = await admin.invitations.list();\n     * ```\n     */\n    list: async (options?: RequestOptions): Promise<Invitation[]> => {\n      return rb.execute<Invitation[]>(getAdminInvitations, {}, options);\n    },\n\n    /**\n     * Create a new invitation.\n     *\n     * @param attributes - Invitation attributes (email, role, scope, etc.).\n     *   Pass `email_method: \"code\"` to send a 6-character short code instead\n     *   of a click-through link — required for non-web ISVs (SF plugin,\n     *   future mobile apps) whose Application has no `base_url` to redirect\n     *   to.\n     * @param options - Optional request options.\n     * @returns The created `Invitation`.\n     *\n     * @example\n     * ```ts\n     * // Default (link-mode) invitation\n     * const invitation = await admin.invitations.create({\n     *   email: \"user@example.com\",\n     *   scope_type: \"tenant\",\n     *   scope_id: \"tenant-uuid\",\n     *   role: \"member\",\n     * });\n     *\n     * // Code-mode invitation (for non-web ISV clients)\n     * const invitation = await admin.invitations.create({\n     *   email: \"sf-user@example.com\",\n     *   scope_type: \"tenant\",\n     *   scope_id: \"tenant-uuid\",\n     *   role: \"member\",\n     *   email_method: \"code\",\n     * });\n     * // The recipient receives a 6-character code; they pass it to\n     * // admin.invitations.acceptByToken(code, email).\n     * ```\n     */\n    create: async (\n      attributes: InviteAttributes,\n      options?: RequestOptions,\n    ): Promise<Invitation> => {\n      const {\n        email,\n        scope_type,\n        scope_id,\n        role,\n        inviter_id,\n        application_id,\n        custom_message,\n        permissions,\n        email_method,\n      } = attributes;\n\n      return rb.execute<Invitation>(\n        postAdminInvitations,\n        {\n          body: {\n            data: {\n              type: \"invitation\",\n              attributes: {\n                email,\n                scope_type,\n                scope_id,\n                role,\n                inviter_id,\n                application_id,\n                custom_message,\n                permissions,\n                email_method,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * List invitations addressed to the current user.\n     *\n     * @param options - Optional request options.\n     * @returns A list of `Invitation` records.\n     *\n     * @example\n     * ```ts\n     * const mine = await admin.invitations.mine();\n     * ```\n     */\n    mine: async (options?: RequestOptions): Promise<Invitation[]> => {\n      return rb.execute<Invitation[]>(getAdminInvitationsMe, {}, options);\n    },\n\n    /**\n     * Look up an invitation by its token.\n     *\n     * @param token - The invitation token.\n     * @param options - Optional request options.\n     * @returns The `Invitation` record.\n     *\n     * @example\n     * ```ts\n     * const invitation = await admin.invitations.getByToken(\"abc123\");\n     * ```\n     */\n    getByToken: async (\n      token: string,\n      options?: RequestOptions,\n    ): Promise<Invitation> => {\n      return rb.execute<Invitation>(\n        getAdminInvitationsConsumeByToken,\n        { path: { token } },\n        options,\n      );\n    },\n\n    /**\n     * Accept an invitation by its token (unauthenticated flow).\n     *\n     * Accepts either the long opaque invitation token (link-mode emails) or\n     * the 6-character short code (code-mode emails).\n     *\n     * **`email` is required when `token` is a 6-character short code.** The\n     * server scopes the short-code lookup by email; omitting `email` for a\n     * short code returns a `code_invalid` 401 even if the code is correct.\n     * For long opaque tokens, `email` is optional and ignored.\n     *\n     * @param token - The invitation token (long opaque token OR 6-char short code).\n     * @param email - The invitee's email. Required for short-code mode.\n     * @param options - Optional request options.\n     * @returns The accepted `Invitation`.\n     *\n     * @throws ApiError with `code === \"code_invalid\"` (HTTP 401) — token/code did not match.\n     * @throws ApiError with `code === \"code_expired\"` (HTTP 401) — code or invitation expired.\n     * @throws ApiError with `code === \"too_many_attempts\"` (HTTP 429) — rate-limited; check `meta.locked_until`.\n     *\n     * @example\n     * ```ts\n     * // Link-mode: long opaque token from the invitation email\n     * const invitation = await admin.invitations.acceptByToken(\"opaque-base64-token\");\n     *\n     * // Code-mode: 6-character short code (email is required)\n     * const invitation = await admin.invitations.acceptByToken(\"ABC234\", \"user@example.com\");\n     * ```\n     */\n    acceptByToken: async (\n      token: string,\n      email?: string,\n      options?: RequestOptions,\n    ): Promise<Invitation> => {\n      return rb.execute<Invitation>(\n        postAdminInvitationsAcceptByToken,\n        {\n          body: {\n            data: {\n              type: \"invitation\",\n              attributes: { token, email },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Accept an invitation by ID (authenticated flow).\n     *\n     * @param id - The UUID of the invitation.\n     * @param options - Optional request options.\n     * @returns The accepted `Invitation`.\n     *\n     * @example\n     * ```ts\n     * const invitation = await admin.invitations.accept(\"invitation-uuid\");\n     * ```\n     */\n    accept: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Invitation> => {\n      return rb.execute<Invitation>(\n        patchAdminInvitationsByIdAccept,\n        {\n          path: { id },\n          body: { data: { id, type: \"invitation\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Accept an invitation by ID (authenticated User flow with no raw token).\n     *\n     * Use this when a user discovered the invitation via `mine()` /\n     * `listAllMe` and has the invitation `id` but no raw URL token. The\n     * action validates that `actor.email == invitation.email` and rejects\n     * system actors (`sk_srv_` / `sk_sys_`) — server-side flows must use\n     * `acceptByUser` with an explicit `user_id`.\n     *\n     * @param id - The UUID of the invitation.\n     * @param options - Optional request options.\n     * @returns The accepted `Invitation`.\n     *\n     * @example\n     * ```ts\n     * const invitation = await admin.invitations.acceptById(\"invitation-uuid\");\n     * ```\n     */\n    acceptById: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Invitation> => {\n      return rb.execute<Invitation>(\n        patchAdminInvitationsByIdAcceptById,\n        {\n          path: { id },\n          body: { data: { id, type: \"invitation\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Accept an invitation on behalf of a specific user.\n     *\n     * @param id - The UUID of the invitation.\n     * @param userId - The UUID of the user accepting the invitation. Must match\n     *   the invitation's target email.\n     * @param options - Optional request options.\n     * @returns The accepted `Invitation`.\n     *\n     * @example\n     * ```ts\n     * const invitation = await admin.invitations.acceptByUser(\n     *   \"invitation-uuid\",\n     *   \"user-uuid\",\n     * );\n     * ```\n     */\n    acceptByUser: async (\n      id: string,\n      userId: string,\n      options?: RequestOptions,\n    ): Promise<Invitation> => {\n      return rb.execute<Invitation>(\n        patchAdminInvitationsByIdAcceptByUser,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"invitation\",\n              attributes: { user_id: userId },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Decline an invitation.\n     *\n     * @param id - The UUID of the invitation.\n     * @param options - Optional request options.\n     * @returns The declined `Invitation`.\n     *\n     * @example\n     * ```ts\n     * const invitation = await admin.invitations.decline(\"invitation-uuid\");\n     * ```\n     */\n    decline: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Invitation> => {\n      return rb.execute<Invitation>(\n        patchAdminInvitationsByIdDecline,\n        {\n          path: { id },\n          body: { data: { id, type: \"invitation\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Revoke a pending invitation.\n     *\n     * @param id - The UUID of the invitation.\n     * @param options - Optional request options.\n     * @returns The revoked `Invitation`.\n     *\n     * @example\n     * ```ts\n     * const invitation = await admin.invitations.revoke(\"invitation-uuid\");\n     * ```\n     */\n    revoke: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Invitation> => {\n      return rb.execute<Invitation>(\n        patchAdminInvitationsByIdRevoke,\n        {\n          path: { id },\n          body: { data: { id, type: \"invitation\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Resend an invitation email.\n     *\n     * @param id - The UUID of the invitation.\n     * @param options - Optional request options.\n     * @returns The resent `Invitation`.\n     *\n     * @example\n     * ```ts\n     * const invitation = await admin.invitations.resend(\"invitation-uuid\");\n     * ```\n     */\n    resend: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<Invitation> => {\n      return rb.execute<Invitation>(\n        patchAdminInvitationsByIdResend,\n        {\n          path: { id },\n          body: { data: { id, type: \"invitation\", attributes: {} } },\n        },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\n\nimport {\n  getAdminBrandIdentities,\n  getAdminBrandIdentitiesById,\n  postAdminBrandIdentities,\n  patchAdminBrandIdentitiesById,\n  deleteAdminBrandIdentitiesById,\n  getAdminBrandIdentitiesByTenantByTenantId,\n  getAdminBrandIdentitiesByWorkspaceByWorkspaceId,\n  getAdminBrandIdentitiesDefaultTenantByTenantId,\n  getAdminBrandIdentitiesDefaultWorkspaceByWorkspaceId,\n  patchAdminBrandIdentitiesByIdSetDefault,\n  patchAdminBrandIdentitiesByIdUnsetDefault,\n} from \"../_internal/sdk.gen\";\nimport type { BrandIdentity } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/** Attributes accepted when creating a brand identity. */\nexport type CreateBrandIdentityAttributes = {\n  /** Required. Display name for this brand identity. */\n  name: string;\n  /** Tenant UUID — required for tenant-scoped identities. */\n  tenant_id: string;\n  /** Optional workspace UUID — set for workspace-level overrides, omit for tenant-level. */\n  workspace_id?: string;\n  /** Brand voice description (e.g. \"Professional but approachable\"). */\n  voice?: string;\n  /** Brand values as an array of strings (e.g. [\"innovation\", \"integrity\"]). */\n  values?: string[];\n  /** Target audience description. */\n  target_audience?: string;\n  /** Industry vertical. */\n  industry?: string;\n  /** Brand website URL. */\n  website_url?: string;\n  /** Logo image URL. */\n  logo_url?: string;\n  /** Color palette map (e.g. { primary: \"#0066CC\", secondary: \"#FF0000\" }). */\n  color_palette?: Record<string, string>;\n  /** General description of this brand identity. */\n  description?: string;\n  /** Whether this is the default identity at its scope level. */\n  is_default?: boolean;\n};\n\n/** Attributes accepted when updating a brand identity (PATCH semantics). */\nexport type UpdateBrandIdentityAttributes = Partial<\n  Omit<CreateBrandIdentityAttributes, \"workspace_id\" | \"tenant_id\">\n>;\n\nexport function createBrandIdentitiesNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List all brand identities visible to the current actor.\n     *\n     * @param options - Optional request options (pagination, filters, sorting).\n     * @returns A list of `BrandIdentity` records.\n     *\n     * @example\n     * ```ts\n     * const identities = await admin.brandIdentities.list();\n     * ```\n     */\n    list: async (options?: RequestOptions): Promise<BrandIdentity[]> => {\n      return rb.execute<BrandIdentity[]>(getAdminBrandIdentities, {}, options);\n    },\n\n    /**\n     * Get a brand identity by ID.\n     *\n     * @param id - The UUID of the brand identity.\n     * @param options - Optional request options.\n     * @returns The `BrandIdentity` record.\n     *\n     * @example\n     * ```ts\n     * const identity = await admin.brandIdentities.get(\"brand-uuid\");\n     * ```\n     */\n    get: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<BrandIdentity> => {\n      return rb.execute<BrandIdentity>(\n        getAdminBrandIdentitiesById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Create a new brand identity.\n     *\n     * @param attributes - Brand identity attributes.\n     * @param options - Optional request options.\n     * @returns The created `BrandIdentity`.\n     *\n     * @example\n     * ```ts\n     * const identity = await admin.brandIdentities.create({\n     *   name: \"Corporate Brand\",\n     *   primary_color: \"#0066CC\",\n     * });\n     * ```\n     */\n    create: async (\n      attributes: CreateBrandIdentityAttributes,\n      options?: RequestOptions,\n    ): Promise<BrandIdentity> => {\n      const {\n        name,\n        tenant_id,\n        workspace_id,\n        voice,\n        values,\n        target_audience,\n        industry,\n        website_url,\n        logo_url,\n        color_palette,\n        description,\n        is_default,\n      } = attributes;\n      return rb.execute<BrandIdentity>(\n        postAdminBrandIdentities,\n        {\n          body: {\n            data: {\n              type: \"brand-identity\",\n              attributes: {\n                name,\n                tenant_id,\n                workspace_id,\n                voice,\n                values,\n                target_audience,\n                industry,\n                website_url,\n                logo_url,\n                color_palette,\n                description,\n                is_default,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Update a brand identity.\n     *\n     * @param id - The UUID of the brand identity.\n     * @param attributes - Fields to update.\n     * @param options - Optional request options.\n     * @returns The updated `BrandIdentity`.\n     *\n     * @example\n     * ```ts\n     * const identity = await admin.brandIdentities.update(\"brand-uuid\", {\n     *   primary_color: \"#FF0000\",\n     * });\n     * ```\n     */\n    update: async (\n      id: string,\n      attributes: UpdateBrandIdentityAttributes,\n      options?: RequestOptions,\n    ): Promise<BrandIdentity> => {\n      const {\n        name,\n        voice,\n        values,\n        target_audience,\n        industry,\n        website_url,\n        logo_url,\n        color_palette,\n        description,\n        is_default,\n      } = attributes;\n      return rb.execute<BrandIdentity>(\n        patchAdminBrandIdentitiesById,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"brand-identity\",\n              attributes: {\n                name,\n                voice,\n                values,\n                target_audience,\n                industry,\n                website_url,\n                logo_url,\n                color_palette,\n                description,\n                is_default,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Delete a brand identity.\n     *\n     * @param id - The UUID of the brand identity.\n     * @param options - Optional request options.\n     * @returns `true` on success.\n     *\n     * @example\n     * ```ts\n     * await admin.brandIdentities.delete(\"brand-uuid\");\n     * ```\n     */\n    delete: async (id: string, options?: RequestOptions): Promise<true> => {\n      return rb.executeDelete(\n        deleteAdminBrandIdentitiesById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * List brand identities for a specific tenant.\n     *\n     * @param tenantId - The UUID of the tenant.\n     * @param options - Optional request options.\n     * @returns A list of `BrandIdentity` records.\n     *\n     * @example\n     * ```ts\n     * const identities = await admin.brandIdentities.listByTenant(\"tenant-uuid\");\n     * ```\n     */\n    listByTenant: async (\n      tenantId: string,\n      options?: RequestOptions,\n    ): Promise<BrandIdentity[]> => {\n      return rb.execute<BrandIdentity[]>(\n        getAdminBrandIdentitiesByTenantByTenantId,\n        { path: { tenant_id: tenantId } },\n        options,\n      );\n    },\n\n    /**\n     * List brand identities for a specific workspace.\n     *\n     * @param workspaceId - The UUID of the workspace.\n     * @param options - Optional request options.\n     * @returns A list of `BrandIdentity` records.\n     *\n     * @example\n     * ```ts\n     * const identities = await admin.brandIdentities.listByWorkspace(\"workspace-uuid\");\n     * ```\n     */\n    listByWorkspace: async (\n      workspaceId: string,\n      options?: RequestOptions,\n    ): Promise<BrandIdentity[]> => {\n      return rb.execute<BrandIdentity[]>(\n        getAdminBrandIdentitiesByWorkspaceByWorkspaceId,\n        { path: { workspace_id: workspaceId } },\n        options,\n      );\n    },\n\n    /**\n     * Get the default brand identity for a tenant.\n     *\n     * @param tenantId - The UUID of the tenant.\n     * @param options - Optional request options.\n     * @returns The default `BrandIdentity` for the tenant.\n     *\n     * @example\n     * ```ts\n     * const identity = await admin.brandIdentities.getDefaultForTenant(\"tenant-uuid\");\n     * ```\n     */\n    getDefaultForTenant: async (\n      tenantId: string,\n      options?: RequestOptions,\n    ): Promise<BrandIdentity> => {\n      return rb.execute<BrandIdentity>(\n        getAdminBrandIdentitiesDefaultTenantByTenantId,\n        { path: { tenant_id: tenantId } },\n        options,\n      );\n    },\n\n    /**\n     * Get the default brand identity for a workspace.\n     *\n     * @param workspaceId - The UUID of the workspace.\n     * @param options - Optional request options.\n     * @returns The default `BrandIdentity` for the workspace.\n     *\n     * @example\n     * ```ts\n     * const identity = await admin.brandIdentities.getDefaultForWorkspace(\"workspace-uuid\");\n     * ```\n     */\n    getDefaultForWorkspace: async (\n      workspaceId: string,\n      options?: RequestOptions,\n    ): Promise<BrandIdentity> => {\n      return rb.execute<BrandIdentity>(\n        getAdminBrandIdentitiesDefaultWorkspaceByWorkspaceId,\n        { path: { workspace_id: workspaceId } },\n        options,\n      );\n    },\n\n    /**\n     * Set a brand identity as the default.\n     *\n     * @param id - The UUID of the brand identity.\n     * @param options - Optional request options.\n     * @returns The updated `BrandIdentity`.\n     *\n     * @example\n     * ```ts\n     * const identity = await admin.brandIdentities.setDefault(\"brand-uuid\");\n     * ```\n     */\n    setDefault: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<BrandIdentity> => {\n      return rb.execute<BrandIdentity>(\n        patchAdminBrandIdentitiesByIdSetDefault,\n        {\n          path: { id },\n          body: { data: { id, type: \"brand-identity\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Unset a brand identity as the default.\n     *\n     * @param id - The UUID of the brand identity.\n     * @param options - Optional request options.\n     * @returns The updated `BrandIdentity`.\n     *\n     * @example\n     * ```ts\n     * const identity = await admin.brandIdentities.unsetDefault(\"brand-uuid\");\n     * ```\n     */\n    unsetDefault: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<BrandIdentity> => {\n      return rb.execute<BrandIdentity>(\n        patchAdminBrandIdentitiesByIdUnsetDefault,\n        {\n          path: { id },\n          body: { data: { id, type: \"brand-identity\", attributes: {} } },\n        },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\n\nimport {\n  getAdminPlatformTones,\n  getAdminPlatformTonesById,\n  postAdminPlatformTones,\n  patchAdminPlatformTonesById,\n  deleteAdminPlatformTonesById,\n  getAdminPlatformTonesByBrandByBrandIdentityId,\n} from \"../_internal/sdk.gen\";\nimport type { PlatformTone } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/** Attributes accepted when creating a platform tone. */\nexport type CreatePlatformToneAttributes = {\n  /** Required. Social platform this tone applies to. */\n  platform:\n    | \"facebook\"\n    | \"instagram\"\n    | \"threads\"\n    | \"twitter\"\n    | \"linkedin\"\n    | \"reddit\"\n    | \"bluesky\";\n  /** Required. Brand identity UUID this tone belongs to. */\n  brand_identity_id: string;\n  /** Tone preset. Default: \"casual\". */\n  tone?:\n    | \"casual\"\n    | \"professional\"\n    | \"humorous\"\n    | \"inspirational\"\n    | \"educational\"\n    | \"promotional\";\n  /** Emoji usage policy. Default: \"minimal\". */\n  emoji_policy?: \"none\" | \"minimal\" | \"moderate\" | \"heavy\";\n  /** Number of hashtags to include. Default: 5. */\n  hashtag_count?: number;\n  /** Maximum character length for posts on this platform. */\n  max_length?: number;\n  /** Call-to-action text to include in generated copy. */\n  call_to_action?: string;\n  /** Free-form instructions for AI content generation on this platform. */\n  custom_instructions?: string;\n};\n\n/** Attributes accepted when updating a platform tone (PATCH semantics). */\nexport type UpdatePlatformToneAttributes = Partial<\n  Omit<CreatePlatformToneAttributes, \"brand_identity_id\" | \"platform\">\n>;\n\nexport function createPlatformTonesNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List all platform tones visible to the current actor.\n     *\n     * @param options - Optional request options (pagination, filters, sorting).\n     * @returns A list of `PlatformTone` records.\n     *\n     * @example\n     * ```ts\n     * const tones = await admin.platformTones.list();\n     * ```\n     */\n    list: async (options?: RequestOptions): Promise<PlatformTone[]> => {\n      return rb.execute<PlatformTone[]>(getAdminPlatformTones, {}, options);\n    },\n\n    /**\n     * Get a platform tone by ID.\n     *\n     * @param id - The UUID of the platform tone.\n     * @param options - Optional request options.\n     * @returns The `PlatformTone` record.\n     *\n     * @example\n     * ```ts\n     * const tone = await admin.platformTones.get(\"tone-uuid\");\n     * ```\n     */\n    get: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<PlatformTone> => {\n      return rb.execute<PlatformTone>(\n        getAdminPlatformTonesById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Create a new platform tone.\n     *\n     * @param attributes - Platform tone attributes.\n     * @param options - Optional request options.\n     * @returns The created `PlatformTone`.\n     *\n     * @example\n     * ```ts\n     * const tone = await admin.platformTones.create({\n     *   name: \"Professional\",\n     *   description: \"Formal business communication tone\",\n     * });\n     * ```\n     */\n    create: async (\n      attributes: CreatePlatformToneAttributes,\n      options?: RequestOptions,\n    ): Promise<PlatformTone> => {\n      const {\n        platform,\n        brand_identity_id,\n        tone,\n        emoji_policy,\n        hashtag_count,\n        max_length,\n        call_to_action,\n        custom_instructions,\n      } = attributes;\n      return rb.execute<PlatformTone>(\n        postAdminPlatformTones,\n        {\n          body: {\n            data: {\n              type: \"platform-tone\",\n              attributes: {\n                platform,\n                brand_identity_id,\n                tone,\n                emoji_policy,\n                hashtag_count,\n                max_length,\n                call_to_action,\n                custom_instructions,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Update a platform tone.\n     *\n     * @param id - The UUID of the platform tone.\n     * @param attributes - Fields to update.\n     * @param options - Optional request options.\n     * @returns The updated `PlatformTone`.\n     *\n     * @example\n     * ```ts\n     * const tone = await admin.platformTones.update(\"tone-uuid\", {\n     *   name: \"Casual\",\n     * });\n     * ```\n     */\n    update: async (\n      id: string,\n      attributes: UpdatePlatformToneAttributes,\n      options?: RequestOptions,\n    ): Promise<PlatformTone> => {\n      const {\n        tone,\n        emoji_policy,\n        hashtag_count,\n        max_length,\n        call_to_action,\n        custom_instructions,\n      } = attributes;\n      return rb.execute<PlatformTone>(\n        patchAdminPlatformTonesById,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"platform-tone\",\n              attributes: {\n                tone,\n                emoji_policy,\n                hashtag_count,\n                max_length,\n                call_to_action,\n                custom_instructions,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Delete a platform tone.\n     *\n     * @param id - The UUID of the platform tone.\n     * @param options - Optional request options.\n     * @returns `true` on success.\n     *\n     * @example\n     * ```ts\n     * await admin.platformTones.delete(\"tone-uuid\");\n     * ```\n     */\n    delete: async (id: string, options?: RequestOptions): Promise<true> => {\n      return rb.executeDelete(\n        deleteAdminPlatformTonesById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * List platform tones for a specific brand identity.\n     *\n     * @param brandIdentityId - The UUID of the brand identity.\n     * @param options - Optional request options.\n     * @returns A list of `PlatformTone` records.\n     *\n     * @example\n     * ```ts\n     * const tones = await admin.platformTones.listByBrand(\"brand-uuid\");\n     * ```\n     */\n    listByBrand: async (\n      brandIdentityId: string,\n      options?: RequestOptions,\n    ): Promise<PlatformTone[]> => {\n      return rb.execute<PlatformTone[]>(\n        getAdminPlatformTonesByBrandByBrandIdentityId,\n        { path: { brand_identity_id: brandIdentityId } },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\n\nimport {\n  getAdminClaimedDomains,\n  getAdminClaimedDomainsById,\n  postAdminClaimedDomains,\n  patchAdminClaimedDomainsById,\n  deleteAdminClaimedDomainsById,\n  patchAdminClaimedDomainsByIdVerify,\n  patchAdminClaimedDomainsByIdRevoke,\n} from \"../_internal/sdk.gen\";\nimport type { ClaimedDomain } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/** Attributes accepted when creating a ClaimedDomain. Mirrors the `accept`\n * list of the `:create` action in\n * `lib/gpt_core/tenancy/resources/claimed_domain.ex`. */\nexport interface CreateClaimedDomainAttributes {\n  /** The DNS domain being claimed (e.g. \"acme.com\"). */\n  domain: string;\n  /** UUID of the tenant claiming this domain. */\n  tenant_id: string;\n  /** How the domain will be verified. */\n  verification_method?: \"dns_txt\" | \"dns_cname\" | \"meta_tag\" | \"manual\";\n  /** Tenant role assigned to auto-joined users. */\n  default_role?: \"admin\" | \"member\";\n  /** Workspace UUIDs that auto-joined users are added to. */\n  auto_join_workspace_ids?: string[];\n  /** Workspace role assigned in each auto-join workspace. */\n  default_workspace_role?: \"admin\" | \"editor\" | \"viewer\";\n}\n\n/** Attributes accepted when updating a ClaimedDomain (PATCH semantics). */\nexport interface UpdateClaimedDomainAttributes {\n  default_role?: \"admin\" | \"member\";\n  auto_join_workspace_ids?: string[];\n  default_workspace_role?: \"admin\" | \"editor\" | \"viewer\";\n}\n\n/**\n * Enterprise domain-claiming admin namespace — create, verify, revoke, and\n * manage DNS domains that auto-route new user registrations to a tenant.\n *\n * Claimed domains enable the \"enterprise SSO-lite\" flow: when a user signs\n * up with an email on a verified claimed domain, they join the tenant\n * automatically with the configured default role instead of landing in a\n * personal tenant.\n */\nexport function createClaimedDomainsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List all claimed domains visible to the current actor.\n     *\n     * @param options - Optional request options.\n     * @returns An array of `ClaimedDomain` records.\n     *\n     * @example\n     * ```ts\n     * const domains = await admin.claimedDomains.list();\n     * ```\n     */\n    list: async (options?: RequestOptions): Promise<ClaimedDomain[]> => {\n      return rb.execute<ClaimedDomain[]>(getAdminClaimedDomains, {}, options);\n    },\n\n    /**\n     * Get a claimed domain by UUID.\n     *\n     * @param id - UUID of the claimed domain.\n     * @param options - Optional request options.\n     * @returns The matching `ClaimedDomain`.\n     *\n     * @example\n     * ```ts\n     * const domain = await admin.claimedDomains.get(\"cd-01\");\n     * ```\n     */\n    get: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<ClaimedDomain> => {\n      return rb.execute<ClaimedDomain>(\n        getAdminClaimedDomainsById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Claim a new DNS domain for a tenant. Requires enterprise tier. The\n     * record starts in `:pending` status with a DNS verification token.\n     *\n     * @param attributes - Domain + verification configuration.\n     * @param options - Optional request options.\n     * @returns The newly created `ClaimedDomain`.\n     *\n     * @example\n     * ```ts\n     * const domain = await admin.claimedDomains.create({\n     *   domain: \"acme.com\",\n     *   tenant_id: \"tenant-01\",\n     *   verification_method: \"dns_txt\",\n     *   default_role: \"member\",\n     * });\n     * ```\n     */\n    create: async (\n      attributes: CreateClaimedDomainAttributes,\n      options?: RequestOptions,\n    ): Promise<ClaimedDomain> => {\n      const {\n        domain,\n        tenant_id,\n        verification_method,\n        default_role,\n        auto_join_workspace_ids,\n        default_workspace_role,\n      } = attributes;\n\n      return rb.execute<ClaimedDomain>(\n        postAdminClaimedDomains,\n        {\n          body: {\n            data: {\n              type: \"claimed-domain\",\n              attributes: {\n                domain,\n                tenant_id,\n                verification_method,\n                default_role,\n                auto_join_workspace_ids,\n                default_workspace_role,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Update the auto-join configuration on a claimed domain. Domain name\n     * and tenant cannot be changed — create a new record instead.\n     *\n     * @param id - UUID of the claimed domain.\n     * @param attributes - Fields to update.\n     * @param options - Optional request options.\n     * @returns The updated `ClaimedDomain`.\n     *\n     * @example\n     * ```ts\n     * const domain = await admin.claimedDomains.update(\"cd-01\", {\n     *   default_role: \"admin\",\n     * });\n     * ```\n     */\n    update: async (\n      id: string,\n      attributes: UpdateClaimedDomainAttributes,\n      options?: RequestOptions,\n    ): Promise<ClaimedDomain> => {\n      const { default_role, auto_join_workspace_ids, default_workspace_role } =\n        attributes;\n\n      return rb.execute<ClaimedDomain>(\n        patchAdminClaimedDomainsById,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"claimed-domain\",\n              attributes: {\n                default_role,\n                auto_join_workspace_ids,\n                default_workspace_role,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Mark a pending claimed domain as verified. Called after the DNS\n     * verification token is confirmed out-of-band.\n     *\n     * @param id - UUID of the claimed domain.\n     * @param options - Optional request options.\n     * @returns The verified `ClaimedDomain`.\n     *\n     * @example\n     * ```ts\n     * const domain = await admin.claimedDomains.verify(\"cd-01\");\n     * ```\n     */\n    verify: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<ClaimedDomain> => {\n      return rb.execute<ClaimedDomain>(\n        patchAdminClaimedDomainsByIdVerify,\n        {\n          path: { id },\n          body: {\n            data: { id, type: \"claimed-domain\", attributes: {} },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Revoke a claimed domain. Auto-join behavior stops immediately; existing\n     * users remain in the tenant.\n     *\n     * @param id - UUID of the claimed domain.\n     * @param options - Optional request options.\n     * @returns The revoked `ClaimedDomain`.\n     *\n     * @example\n     * ```ts\n     * const domain = await admin.claimedDomains.revoke(\"cd-01\");\n     * ```\n     */\n    revoke: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<ClaimedDomain> => {\n      return rb.execute<ClaimedDomain>(\n        patchAdminClaimedDomainsByIdRevoke,\n        {\n          path: { id },\n          body: {\n            data: { id, type: \"claimed-domain\", attributes: {} },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Permanently delete a claimed domain record.\n     *\n     * @param id - UUID of the claimed domain.\n     * @param options - Optional request options.\n     * @returns `true` when deletion succeeds.\n     *\n     * @example\n     * ```ts\n     * await admin.claimedDomains.delete(\"cd-01\");\n     * ```\n     */\n    delete: async (id: string, options?: RequestOptions): Promise<true> => {\n      return rb.executeDelete(\n        deleteAdminClaimedDomainsById,\n        { path: { id } },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\n\nimport {\n  getAdminSystemMessages,\n  getAdminSystemMessagesById,\n  postAdminSystemMessages,\n  patchAdminSystemMessagesById,\n  deleteAdminSystemMessagesById,\n  patchAdminSystemMessagesByIdPublish,\n  patchAdminSystemMessagesByIdUnpublish,\n} from \"../_internal/sdk.gen\";\nimport type { SystemMessage } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/** The kind of platform-wide system message. */\nexport type SystemMessageType =\n  | \"tos\"\n  | \"privacy_policy\"\n  | \"welcome\"\n  | \"announcement\";\n\n/** Attributes accepted when creating a system message. */\nexport type CreateSystemMessageAttributes = {\n  /** Required. The kind of system message. */\n  type: SystemMessageType;\n  /** Required. Human-readable title shown to users. */\n  title: string;\n  /** Required. Markdown body content. */\n  content: string;\n  /** Semantic version of this message. Default: \"1.0.0\". */\n  version?: string;\n  /**\n   * For ToS: forces users to re-accept even if they accepted a previous\n   * version. Default: false.\n   */\n  requires_acceptance?: boolean;\n  /**\n   * Whether the message is live. When true at creation, `published_at` is\n   * set automatically. Default: false.\n   */\n  is_active?: boolean;\n};\n\n/** Attributes accepted when updating a system message (PATCH semantics). */\nexport type UpdateSystemMessageAttributes = Partial<\n  Omit<CreateSystemMessageAttributes, \"type\">\n>;\n\n/**\n * Creates the system-messages namespace, providing platform-admin management\n * of platform-wide system messages — Terms of Service, privacy policies,\n * welcome messages, and announcements.\n *\n * Accessed via `admin.systemMessages.*`. All write operations require a\n * platform-admin actor (`sk_sys_` key); other actors are denied by policy.\n *\n * @param rb - The internal `RequestBuilder` instance used to execute API calls.\n * @returns An object exposing list/get/create/update/delete plus the\n *   `publish` and `unpublish` lifecycle transitions.\n */\nexport function createSystemMessagesNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Lists all platform-wide system messages.\n     *\n     * @param options - Optional request options (pagination, filters, sorting).\n     * @returns A promise resolving to an array of `SystemMessage` records.\n     *\n     * @example\n     * ```ts\n     * const messages = await admin.systemMessages.list();\n     * ```\n     */\n    list: async (options?: RequestOptions): Promise<SystemMessage[]> => {\n      return rb.execute<SystemMessage[]>(getAdminSystemMessages, {}, options);\n    },\n\n    /**\n     * Fetches a single system message by its unique identifier.\n     *\n     * @param id - The UUID of the system message.\n     * @param options - Optional request options.\n     * @returns A promise resolving to the matching `SystemMessage` record.\n     *\n     * @example\n     * ```ts\n     * const tos = await admin.systemMessages.get(\"msg-uuid\");\n     * ```\n     */\n    get: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<SystemMessage> => {\n      return rb.execute<SystemMessage>(\n        getAdminSystemMessagesById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Creates a new platform-wide system message. If `is_active` is true at\n     * creation time, `published_at` is set automatically. Requires a\n     * platform-admin actor.\n     *\n     * @param attributes - The system message attributes.\n     * @param options - Optional request options.\n     * @returns A promise resolving to the created `SystemMessage`.\n     *\n     * @example\n     * ```ts\n     * const announcement = await admin.systemMessages.create({\n     *   type: \"announcement\",\n     *   title: \"Scheduled maintenance\",\n     *   content: \"We will be down Sunday 02:00–03:00 UTC.\",\n     *   is_active: true,\n     * });\n     * ```\n     */\n    create: async (\n      attributes: CreateSystemMessageAttributes,\n      options?: RequestOptions,\n    ): Promise<SystemMessage> => {\n      const { type, title, content, version, requires_acceptance, is_active } =\n        attributes;\n      return rb.execute<SystemMessage>(\n        postAdminSystemMessages,\n        {\n          body: {\n            data: {\n              type: \"system-message\",\n              attributes: {\n                type,\n                title,\n                content,\n                version,\n                requires_acceptance,\n                is_active,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Edits a system message's content, title, or version. Use `publish` /\n     * `unpublish` for lifecycle transitions rather than toggling `is_active`\n     * here. Requires a platform-admin actor.\n     *\n     * @param id - The UUID of the system message to update.\n     * @param attributes - The fields to change.\n     * @param options - Optional request options.\n     * @returns A promise resolving to the updated `SystemMessage`.\n     *\n     * @example\n     * ```ts\n     * const updated = await admin.systemMessages.update(\"msg-uuid\", {\n     *   content: \"Revised policy text.\",\n     *   version: \"1.1.0\",\n     * });\n     * ```\n     */\n    update: async (\n      id: string,\n      attributes: UpdateSystemMessageAttributes,\n      options?: RequestOptions,\n    ): Promise<SystemMessage> => {\n      const { title, content, version, requires_acceptance, is_active } =\n        attributes;\n      return rb.execute<SystemMessage>(\n        patchAdminSystemMessagesById,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"system-message\",\n              attributes: {\n                title,\n                content,\n                version,\n                requires_acceptance,\n                is_active,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Permanently deletes a system message. Requires a platform-admin actor.\n     *\n     * @param id - The UUID of the system message to delete.\n     * @param options - Optional request options.\n     * @returns A promise resolving to `true` on success.\n     *\n     * @example\n     * ```ts\n     * await admin.systemMessages.delete(\"msg-uuid\");\n     * ```\n     */\n    delete: async (id: string, options?: RequestOptions): Promise<true> => {\n      await rb.execute(\n        deleteAdminSystemMessagesById,\n        { path: { id } },\n        options,\n      );\n      return true;\n    },\n\n    /**\n     * Activates a system message so it is visible to all authenticated users.\n     * Sets `is_active: true` and records `published_at` on first publish\n     * (preserved on subsequent re-activations). Requires a platform-admin\n     * actor.\n     *\n     * @param id - The UUID of the system message to publish.\n     * @param options - Optional request options.\n     * @returns A promise resolving to the updated `SystemMessage`.\n     *\n     * @example\n     * ```ts\n     * const live = await admin.systemMessages.publish(\"msg-uuid\");\n     * ```\n     */\n    publish: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<SystemMessage> => {\n      return rb.execute<SystemMessage>(\n        patchAdminSystemMessagesByIdPublish,\n        {\n          path: { id },\n          body: { data: { id, type: \"system-message\" } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Deactivates a system message, removing it from the live feed without\n     * deleting it. Use `publish` to re-activate. Requires a platform-admin\n     * actor.\n     *\n     * @param id - The UUID of the system message to unpublish.\n     * @param options - Optional request options.\n     * @returns A promise resolving to the updated `SystemMessage`.\n     *\n     * @example\n     * ```ts\n     * const hidden = await admin.systemMessages.unpublish(\"msg-uuid\");\n     * ```\n     */\n    unpublish: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<SystemMessage> => {\n      return rb.execute<SystemMessage>(\n        patchAdminSystemMessagesByIdUnpublish,\n        {\n          path: { id },\n          body: { data: { id, type: \"system-message\" } },\n        },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\n\n/**\n * Request parameters for obtaining a scoped channel token.\n *\n * Available channel patterns:\n * - `\"audit\"` — Audit log events (log created, export completed, anomaly detected)\n * - `\"chat_thread\"` — Chat thread messages\n * - `\"voice\"` — Voice session events\n * - `\"agent_execution\"` — Agent execution progress (tokens, tools, approvals)\n * - `\"pipeline_execution\"` — Pipeline HITL checkpoint events (reached, approved, rejected)\n * - `\"activity\"` — Workspace activity feed\n * - `\"workspace\"` — Workspace-level notifications\n * - `\"extraction_export\"` — Document extraction exports\n * - `\"campaigns_export\"` — Campaign export progress\n * - `\"email_builder\"` — Email builder live preview\n * - `\"watcher\"` — File watcher events\n * - `\"crm\"` — CRM entity changes (contacts, companies, deals, activities, relationships)\n * - `\"cases\"` — Case workflow events scoped by `cases:{workspaceId}`: case lifecycle (created, updated, destroyed, state_transitioned, owner_assigned, decided, reopened, closed), document/entity/pipeline link lifecycle (attached, detached), case type lifecycle (created, updated, activated, deactivated) — 18 event types, IDs + enums only.\n * - `\"contracts\"` — Contract lifecycle events scoped by `contracts:{workspaceId}`: contract_synced, contract_created, contract_updated, contract_clause_extracted, contract_renewal_due, contract_renewal_alert_sent — 6 event types, IDs + enums only, no `body_text` payload content.\n * - `\"meetings\"` — Meeting lifecycle events scoped by `meetings:{workspaceId}`: meeting_synced, meeting_created, meeting_updated, meeting_transcript_ready, meeting_processed, meeting_action_item_created, meeting_transcript_fetch_skipped — 7 event types, IDs + non-PHI metadata only (no `transcript_text`, `summary_text`, `task_text`, or `attendees` payload content). ISVs hydrate transcript and action item content via authenticated GET routes.\n * - `\"scheduling\"` — Scheduling events (bookings, cancellations, rescheduling)\n * - `\"clinical\"` — Clinical events (patients, sessions, notes) — IDs only, no PHI\n * - `\"import\"` — Per-import progress events (topic: `import:{importId}`) — validation, progress, completion, failure\n * - `\"social\"` — Social media events (accounts, posts, metrics, trending, campaigns)\n * - `\"connectors\"` — Connector events (lifecycle, credential rotation/refresh, sync completion/failure, tool lifecycle)\n * - `\"forms\"` — AI form generation events (`generation_completed`, `generation_failed`) on the `forms:{workspace_id}` topic\n * - `\"reviews\"` — Review workflow events scoped by `reviews:{workspaceId}`: review lifecycle (created, assigned, claimed, unclaimed, approved, rejected, corrected, escalated, expired), queue lifecycle (created, archived), queue membership lifecycle (granted, revoked) — IDs + enums only.\n * - `\"authorization\"` — Authorization events scoped by `authorization:{tenantId}`: access grant lifecycle (created, updated, revoked), role lifecycle (created, updated), permission changes (granted, revoked), ownership cascade (nullified on access revocation) — IDs + enums only, no permission strings or custom_permissions contents. `ComplianceTagsChanged` is application-scoped and delivered via webhooks only.\n */\nexport interface ChannelTokenRequest {\n  /** The workspace UUID to scope the token to. */\n  workspaceId: string;\n  /** Channel patterns to authorize (e.g., [\"chat_thread\", \"voice\"]). */\n  channels: string[];\n}\n\n/** Response from the channel token endpoint. */\nexport interface ChannelTokenResponse {\n  /** The scoped channel token (prefixed with \"cht_\"). */\n  channelToken: string;\n  /** ISO 8601 expiry timestamp. */\n  expiresAt: string;\n  /** Authorized channel patterns. */\n  channels: string[];\n  /** The workspace this token is scoped to. */\n  workspaceId: string;\n}\n\n/** Raw response shape from the channel token endpoint (snake_case). */\ninterface RawChannelTokenResponse {\n  channel_token: string;\n  expires_at: string;\n  channels: string[];\n  workspace_id: string;\n}\n\n/** Map snake_case API response to camelCase SDK type. */\nfunction mapResponse(raw: RawChannelTokenResponse): ChannelTokenResponse {\n  return {\n    channelToken: raw.channel_token,\n    expiresAt: raw.expires_at,\n    channels: raw.channels,\n    workspaceId: raw.workspace_id,\n  };\n}\n\n/**\n * Creates the channels namespace for the admin SDK.\n *\n * Uses the ISV endpoint (`POST /isv/channels/token`).\n *\n * @example\n * ```typescript\n * const result = await admin.channels.authorize({\n *   workspaceId: \"ws-uuid\",\n *   channels: [\"chat_thread\"],\n * });\n * ```\n */\nexport function createChannelsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Exchange the current bearer token for a scoped channel token.\n     *\n     * **Important:** This endpoint requires user context (Bearer token from a\n     * `sk_tenant_` key). Server keys (`sk_srv_`, `sk_sys_`) are explicitly\n     * rejected — channel tokens are scoped to end-user sessions.\n     *\n     * @param request - Workspace and channel scope\n     * @param options - Request options (signal, etc.)\n     * @returns Channel token response\n     */\n    async authorize(\n      request: ChannelTokenRequest,\n      options?: RequestOptions,\n    ): Promise<ChannelTokenResponse> {\n      const raw = await rb.rawPost<RawChannelTokenResponse>(\n        \"/isv/channels/token\",\n        {\n          workspace_id: request.workspaceId,\n          channels: request.channels,\n        },\n        options,\n      );\n      return mapResponse(raw);\n    },\n  };\n}\n","// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport type { RequestBuilder, ListResponse } from \"../request-builder\";\nimport type { RequestOptions } from \"../base-client\";\n\n// ── Types ──────────────────────────────────────────────────────────────\n\n/** Import adapter metadata returned by listAdapters. */\nexport interface ImportAdapter {\n  key: string;\n  display_name: string;\n  domain: string;\n  required_bundle: string;\n  commit_strategy: \"atomic\" | \"chunked\";\n  required_fields: string[];\n  optional_fields: string[];\n}\n\n/** Import job record. */\nexport interface Import {\n  id: string;\n  adapter_key: string;\n  status:\n    | \"pending\"\n    | \"parsing\"\n    | \"validated\"\n    | \"validation_failed\"\n    | \"committing\"\n    | \"completed\"\n    | \"commit_failed\"\n    | \"cancelled\";\n  source_type: \"csv\" | \"url\" | \"api_batch\";\n  source_ref: string | null;\n  column_mapping: Record<string, string> | null;\n  metadata: Record<string, unknown>;\n  row_count: number;\n  created_count: number;\n  updated_count: number;\n  failed_count: number;\n  error_report: Array<{ row: number; errors: string[] }> | null;\n  commit_strategy: \"atomic\" | \"chunked\";\n  workspace_id: string;\n  inserted_at: string;\n  updated_at: string;\n}\n\n/** Per-row outcome for chunked imports. */\nexport interface ImportRow {\n  id: string;\n  import_id: string;\n  workspace_id: string;\n  row_index: number;\n  status: \"pending\" | \"committed\" | \"updated\" | \"failed\";\n  error_messages: string[] | null;\n  created_resource_id: string | null;\n  created_resource_type: string | null;\n  inserted_at: string;\n  updated_at: string;\n}\n\n// ── Namespace Factory ──────────────────────────────────────────────────\n\nexport function createImportsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List available import adapter types for the current application.\n     * @returns Array of adapter metadata objects\n     * @example\n     * const adapters = await admin.imports.listAdapters();\n     * // [{ key: \"clinical:goal\", display_name: \"Clinical Goals\", ... }]\n     */\n    listAdapters: async (options?: RequestOptions): Promise<ImportAdapter[]> =>\n      rb.rawGet<ImportAdapter[]>(`/isv/imports/adapters`, options),\n\n    /**\n     * Submit a JSON batch import.\n     * @param params - adapter key, workspace_id, and rows array\n     * @returns Import job with id and initial status\n     * @example\n     * const result = await admin.imports.batch({\n     *   adapter: \"clinical:goal\",\n     *   workspace_id: \"ws_123\",\n     *   rows: [{ contact_id: \"...\", title: \"Increase water intake\", goal_type: \"hydration\" }]\n     * });\n     */\n    batch: async (\n      params: {\n        adapter: string;\n        workspace_id: string;\n        rows: Record<string, unknown>[];\n        metadata?: Record<string, unknown>;\n      },\n      options?: RequestOptions,\n    ): Promise<{ import_id: string; status: string }> =>\n      rb.rawPost<{ import_id: string; status: string }>(\n        `/isv/imports/batch`,\n        {\n          adapter_key: params.adapter,\n          workspace_id: params.workspace_id,\n          rows: params.rows,\n          metadata: params.metadata,\n        },\n        options,\n      ),\n\n    /**\n     * Upload a CSV file for import.\n     * @param file - CSV file (File or Blob)\n     * @param params - adapter key and workspace_id\n     * @returns Import job with id and initial status\n     * @example\n     * const result = await admin.imports.upload(csvFile, {\n     *   adapter: \"clinical:patient_bundle\",\n     *   workspace_id: \"ws_123\"\n     * });\n     */\n    upload: async (\n      file: File | Blob,\n      params: {\n        adapter: string;\n        workspace_id: string;\n        column_mapping?: Record<string, string>;\n        metadata?: Record<string, unknown>;\n      },\n      options?: RequestOptions,\n    ): Promise<{ data: { import_id: string; status: string } }> => {\n      const formData = new FormData();\n      formData.append(\"file\", file);\n      formData.append(\"adapter_key\", params.adapter);\n      formData.append(\"workspace_id\", params.workspace_id);\n      if (params.column_mapping)\n        formData.append(\n          \"column_mapping\",\n          JSON.stringify(params.column_mapping),\n        );\n      if (params.metadata)\n        formData.append(\"metadata\", JSON.stringify(params.metadata));\n      return rb.rawPostMultipart<{\n        data: { import_id: string; status: string };\n      }>(`/isv/imports/upload`, formData, options);\n    },\n\n    /**\n     * List imports for a workspace with optional filters.\n     * @param params - workspace_id required, adapter and status optional\n     * @returns List of imports with pagination metadata\n     * @example\n     * const { data: imports, meta } = await admin.imports.list({ workspace_id: \"ws_123\" });\n     * console.log(`${meta.count} total imports`);\n     */\n    list: async (\n      params: {\n        workspace_id: string;\n        adapter?: string;\n        status?: string;\n        offset?: number;\n        limit?: number;\n      },\n      options?: RequestOptions,\n    ): Promise<ListResponse<Import>> =>\n      rb.rawGetList<Import>(\n        `/isv/imports?workspace_id=${params.workspace_id}${params.adapter ? `&adapter_key=${params.adapter}` : \"\"}${params.status ? `&status=${params.status}` : \"\"}${params.offset !== undefined ? `&offset=${params.offset}` : \"\"}${params.limit !== undefined ? `&limit=${params.limit}` : \"\"}`,\n        options,\n      ),\n\n    /**\n     * Get a single import by ID.\n     * @param id - Import UUID\n     * @returns Full import record including error_report\n     * @example\n     * const imp = await admin.imports.get(\"uuid-here\");\n     */\n    get: async (id: string, options?: RequestOptions): Promise<Import> =>\n      rb.rawGet<Import>(`/isv/imports/${id}`, options),\n\n    /**\n     * Get per-row outcomes for a chunked import.\n     * @param importId - Import UUID\n     * @param params - Pagination options\n     * @returns List of row outcomes with pagination metadata\n     * @example\n     * const { data: rows, meta } = await admin.imports.rows(\"uuid-here\", { offset: 0, limit: 50 });\n     * console.log(`${meta.count} total rows`);\n     */\n    rows: async (\n      importId: string,\n      params?: { offset?: number; limit?: number },\n      options?: RequestOptions,\n    ): Promise<ListResponse<ImportRow>> =>\n      rb.rawGetList<ImportRow>(\n        `/isv/imports/${importId}/rows${params?.offset !== undefined ? `?offset=${params.offset}` : \"\"}${params?.limit !== undefined ? `${params?.offset !== undefined ? \"&\" : \"?\"}limit=${params.limit}` : \"\"}`,\n        options,\n      ),\n\n    /**\n     * Confirm a validated import for commit.\n     * @param id - Import UUID\n     * @param params - workspace_id for authorization\n     * @returns Updated import with status \"committing\"\n     * @example\n     * await admin.imports.confirm(\"uuid-here\", { workspace_id: \"ws_123\" });\n     */\n    confirm: async (\n      id: string,\n      params: { workspace_id: string },\n      options?: RequestOptions,\n    ): Promise<{ import_id: string; status: string }> =>\n      rb.rawPost<{ import_id: string; status: string }>(\n        `/isv/imports/${id}/confirm`,\n        params,\n        options,\n      ),\n\n    /**\n     * Cancel a validated import.\n     * @param id - Import UUID\n     * @param params - workspace_id for authorization\n     * @returns Updated import with status \"cancelled\"\n     * @example\n     * await admin.imports.cancel(\"uuid-here\", { workspace_id: \"ws_123\" });\n     */\n    cancel: async (\n      id: string,\n      params: { workspace_id: string },\n      options?: RequestOptions,\n    ): Promise<{ import_id: string; status: string }> =>\n      rb.rawPost<{ import_id: string; status: string }>(\n        `/isv/imports/${id}/cancel`,\n        params,\n        options,\n      ),\n  };\n}\n","// Hand-maintained — override generation\n// Documents domain: HTML→PDF generation and report delivery (admin/ISV surface).\n\nimport type { RequestBuilder } from \"../request-builder\";\nimport type { RequestOptions } from \"../base-client\";\n\n// ── Types ──────────────────────────────────────────────────────────────\n\n/** Parameters for generating a PDF from HTML. */\nexport interface GeneratePdfParams {\n  /** HTML content to convert to PDF (max 2MB). */\n  html: string;\n  /** Output filename (default: \"document.pdf\"). */\n  filename?: string;\n  /**\n   * When true, stores the PDF in platform Storage and returns a storage_key.\n   * When false, returns the PDF as base64-encoded string.\n   * Default: false.\n   */\n  store?: boolean;\n  /** Workspace ID — required when store is true. */\n  workspace_id?: string;\n}\n\n/** Response when store is true. */\nexport interface GeneratePdfStoredResponse {\n  storage_key: string;\n  /** UUID of the StorageFile record. Use with `storage.files.requestDownloadUrl(file_id)` to get a presigned download URL. */\n  file_id: string;\n}\n\n/** Union response from generatePdf (when store is true). */\nexport type GeneratePdfResponse = GeneratePdfStoredResponse;\n\n/** Parameters for generating a PDF and emailing it. */\nexport interface EmailReportParams {\n  /** HTML content to convert to PDF (max 2MB). */\n  html: string;\n  /** Recipient email address. */\n  to: string;\n  /** Email subject line. */\n  subject: string;\n  /** HTML body for the email (default: generic attachment note). */\n  body_html?: string;\n  /** PDF attachment filename (default: \"report.pdf\"). */\n  filename?: string;\n  /** Also store the PDF in platform Storage. */\n  store?: boolean;\n  /** Workspace ID — required when store is true. */\n  workspace_id?: string;\n}\n\n/** Response from emailReport. */\nexport interface EmailReportResponse {\n  /** Whether the email was sent successfully. */\n  sent: boolean;\n  /** Storage key if store was true, null otherwise. */\n  storage_key: string | null;\n  /** Error message if storage failed (email still sent). */\n  storage_error?: string;\n}\n\n// ── Namespace Factory ──────────────────────────────────────────────────\n\n/**\n * HTML-to-PDF generation and report delivery (ISV / Platform Admin surface).\n *\n * Converts HTML to PDF via the platform's Gotenberg microservice and optionally\n * stores the result in platform Storage or emails it as an attachment.\n *\n * Accessed via `admin.documents.*`.\n *\n * @param rb - The internal `RequestBuilder` instance used to execute API calls.\n * @returns An object containing `generatePdf` and `emailReport` methods.\n *\n * @example\n * ```typescript\n * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n *\n * // Generate and store a PDF\n * const result = await admin.documents.generatePdf({\n *   html: '<html><body><h1>Invoice</h1></body></html>',\n *   store: true,\n *   workspace_id: 'ws-123',\n * });\n *\n * // Generate and email a PDF\n * await admin.documents.emailReport({\n *   html: '<html><body><h1>Monthly Report</h1></body></html>',\n *   to: 'client@example.com',\n *   subject: 'Monthly Report — March 2026',\n * });\n * ```\n */\nexport function createDocumentsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Generate a PDF from HTML content and store it in platform Storage.\n     *\n     * Always pass `store: true` and `workspace_id` to get a JSON response with\n     * a `storage_key`. Without `store: true`, the server returns raw\n     * `application/pdf` binary which cannot be parsed as JSON by this SDK method.\n     *\n     * HTML input is capped at 2MB by the server.\n     *\n     * @param params - PDF generation parameters. Set `store: true` and provide\n     *   `workspace_id` for JSON response.\n     * @param options - Optional request options (abort signal, custom headers).\n     * @returns A storage key reference for the generated PDF.\n     *\n     * @example\n     * ```typescript\n     * const { storage_key } = await admin.documents.generatePdf({\n     *   html: '<html><body>Report</body></html>',\n     *   store: true,\n     *   workspace_id: 'ws-123',\n     * });\n     * ```\n     */\n    generatePdf: async (\n      params: GeneratePdfParams,\n      options?: RequestOptions,\n    ): Promise<GeneratePdfResponse> => {\n      return rb.rawPost<GeneratePdfResponse>(\n        \"/isv/documents/pdf\",\n        params,\n        options,\n      );\n    },\n\n    /**\n     * Generate a PDF from HTML and email it as an attachment.\n     *\n     * The PDF is generated server-side and delivered via platform SMTP.\n     * Optionally stores the PDF in platform Storage alongside the email delivery.\n     *\n     * If storage fails but the email succeeds, the response includes\n     * `storage_error` with the failure reason (email is still delivered).\n     *\n     * @param params - Email report parameters.\n     * @param options - Optional request options (abort signal, custom headers).\n     * @returns Delivery status, optional storage key, and any storage error.\n     *\n     * @example\n     * ```typescript\n     * const result = await admin.documents.emailReport({\n     *   html: '<html><body><h1>Q1 Summary</h1></body></html>',\n     *   to: 'finance@company.com',\n     *   subject: 'Q1 Financial Summary',\n     * });\n     * console.log(result.sent); // true\n     * ```\n     */\n    emailReport: async (\n      params: EmailReportParams,\n      options?: RequestOptions,\n    ): Promise<EmailReportResponse> => {\n      return rb.rawPost<EmailReportResponse>(\n        \"/isv/documents/pdf/email\",\n        params,\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport type {\n  InvoicesInvoice,\n  InvoicesLine,\n  InvoicesPayment,\n  InvoicesTemplate,\n  InvoicesRule,\n  InvoicesRecurringSchedule,\n  InvoicesContact,\n  InvoicesActivity,\n  InvoicesQuoteRequest,\n} from \"../_internal/types.gen\";\n\nimport {\n  // Invoice\n  getAdminInvoicesById,\n  getAdminInvoicesWorkspaceByWorkspaceId,\n  postAdminInvoices,\n  patchAdminInvoicesById,\n  deleteAdminInvoicesById,\n  patchAdminInvoicesByIdSubmitForApproval,\n  patchAdminInvoicesByIdApprove,\n  patchAdminInvoicesByIdSend,\n  patchAdminInvoicesByIdMarkViewed,\n  patchAdminInvoicesByIdVoid,\n  patchAdminInvoicesByIdMarkOverdue,\n  patchAdminInvoicesByIdDispute,\n  patchAdminInvoicesByIdResolveDispute,\n  patchAdminInvoicesByIdSchedulePayment,\n  patchAdminInvoicesByIdMarkPaid,\n  patchAdminInvoicesByIdApplyAiSuggestions,\n  // Lines\n  getAdminInvoicesLinesById,\n  postAdminInvoicesLines,\n  patchAdminInvoicesLinesById,\n  deleteAdminInvoicesLinesById,\n  // Payments\n  getAdminInvoicesPaymentsById,\n  postAdminInvoicesPayments,\n  deleteAdminInvoicesPaymentsById,\n  // Templates\n  getAdminInvoicesTemplatesById,\n  postAdminInvoicesTemplates,\n  patchAdminInvoicesTemplatesById,\n  deleteAdminInvoicesTemplatesById,\n  // Rules\n  getAdminInvoicesRulesById,\n  postAdminInvoicesRules,\n  patchAdminInvoicesRulesById,\n  deleteAdminInvoicesRulesById,\n  patchAdminInvoicesRulesByIdDeactivate,\n  // Recurring Schedules\n  getAdminInvoicesRecurringSchedulesById,\n  postAdminInvoicesRecurringSchedules,\n  patchAdminInvoicesRecurringSchedulesById,\n  deleteAdminInvoicesRecurringSchedulesById,\n  patchAdminInvoicesRecurringSchedulesByIdPause,\n  patchAdminInvoicesRecurringSchedulesByIdResume,\n  // Contacts\n  getAdminInvoicesContactsById,\n  getAdminInvoicesContactsWorkspaceByWorkspaceId,\n  postAdminInvoicesContacts,\n  patchAdminInvoicesContactsById,\n  deleteAdminInvoicesContactsById,\n  // Activities\n  getAdminInvoicesActivitiesById,\n  // Quote Requests\n  getAdminQuoteRequestsById,\n  getAdminQuoteRequestsWorkspaceByWorkspaceId,\n  postAdminQuoteRequests,\n  patchAdminQuoteRequestsById,\n  deleteAdminQuoteRequestsById,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\nimport { buildPageQuery } from \"../namespace-types\";\n\n// ── Attribute interfaces ────────────────────────────────────────────\n\nexport type CreateInvoiceAttributes = {\n  workspace_id: string;\n  direction?: string;\n  source?: string;\n  reference_number?: string;\n  contact_id?: string;\n  issue_date?: string;\n  due_date?: string;\n  currency?: string;\n  subtotal?: number;\n  tax_total?: number;\n  total?: number;\n  amount_paid?: number;\n  amount_due?: number;\n  payment_terms?: string;\n  notes?: string;\n  metadata?: Record<string, unknown>;\n  ai_confidence?: number;\n  ai_suggestions?: Record<string, unknown>;\n  template_id?: string;\n  recurring_schedule_id?: string;\n  extraction_result_id?: string;\n  billing_address?: Record<string, unknown>;\n  shipping_address?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\nexport type UpdateInvoiceAttributes = {\n  reference_number?: string;\n  contact_id?: string;\n  issue_date?: string;\n  due_date?: string;\n  currency?: string;\n  payment_terms?: string;\n  notes?: string;\n  metadata?: Record<string, unknown>;\n  subtotal?: number;\n  tax_total?: number;\n  total?: number;\n  amount_paid?: number;\n  amount_due?: number;\n  billing_address?: Record<string, unknown>;\n  shipping_address?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\nexport type CreateInvoiceLineAttributes = {\n  invoice_id: string;\n  position?: number;\n  description?: string;\n  quantity?: number;\n  unit_price?: number;\n  tax_rate?: number;\n  gl_code?: string;\n  category?: string;\n  ai_suggested_gl?: string;\n  ai_gl_confidence?: number;\n  metadata?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\nexport type UpdateInvoiceLineAttributes = {\n  position?: number;\n  description?: string;\n  quantity?: number;\n  unit_price?: number;\n  tax_rate?: number;\n  gl_code?: string;\n  category?: string;\n  ai_suggested_gl?: string;\n  ai_gl_confidence?: number;\n  metadata?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\nexport type CreatePaymentAttributes = {\n  invoice_id: string;\n  amount: number;\n  currency?: string;\n  method?: string;\n  reference?: string;\n  provider_transaction_id?: string;\n  paid_at?: string;\n  notes?: string;\n  metadata?: Record<string, unknown>;\n  provider?: string;\n  [key: string]: unknown;\n};\n\nexport type CreateTemplateAttributes = {\n  workspace_id: string;\n  name: string;\n  description?: string;\n  layout?: Record<string, unknown>;\n  default_payment_terms?: string;\n  default_notes?: string;\n  branding?: Record<string, unknown>;\n  is_default?: boolean;\n  metadata?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\nexport type UpdateTemplateAttributes = {\n  name?: string;\n  description?: string;\n  layout?: Record<string, unknown>;\n  default_payment_terms?: string;\n  default_notes?: string;\n  branding?: Record<string, unknown>;\n  is_default?: boolean;\n  metadata?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\nexport type CreateRuleAttributes = {\n  workspace_id: string;\n  name: string;\n  rule_type?: string;\n  source?: string;\n  conditions?: Record<string, unknown>;\n  actions?: Record<string, unknown>;\n  confidence?: number;\n  active?: boolean;\n  metadata?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\nexport type UpdateRuleAttributes = {\n  name?: string;\n  conditions?: Record<string, unknown>;\n  actions?: Record<string, unknown>;\n  confidence?: number;\n  active?: boolean;\n  metadata?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\nexport type CreateRecurringScheduleAttributes = {\n  workspace_id: string;\n  contact_id?: string;\n  template_id?: string;\n  name: string;\n  frequency?: string;\n  start_date?: string;\n  end_date?: string;\n  next_run_date?: string;\n  line_items?: Record<string, unknown>[];\n  auto_send?: boolean;\n  active?: boolean;\n  metadata?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\nexport type UpdateRecurringScheduleAttributes = {\n  name?: string;\n  contact_id?: string;\n  template_id?: string;\n  frequency?: string;\n  end_date?: string;\n  line_items?: Record<string, unknown>[];\n  auto_send?: boolean;\n  metadata?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\nexport type CreateContactAttributes = {\n  workspace_id: string;\n  name: string;\n  email?: string;\n  phone?: string;\n  tax_id?: string;\n  type?: string;\n  payment_terms_default?: string;\n  notes?: string;\n  metadata?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\nexport type UpdateContactAttributes = {\n  name?: string;\n  email?: string;\n  phone?: string;\n  tax_id?: string;\n  type?: string;\n  payment_terms_default?: string;\n  notes?: string;\n  metadata?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\n/** A single line item on a quote request. */\nexport type QuoteRequestLineItem = {\n  description?: string | null;\n  quantity?: number | null;\n  unit_price?: string | null;\n  currency?: string | null;\n  [key: string]: unknown;\n};\n\n/** Attributes accepted when creating a quote request via the admin API. */\nexport type CreateQuoteRequestAttributes = {\n  workspace_id: string;\n  submitted_via_form_id?: string | null;\n  submitted_via_submission_id?: string | null;\n  requester_contact_id?: string | null;\n  requester_email?: string | null;\n  requester_name?: string | null;\n  line_items?: QuoteRequestLineItem[];\n  notes?: string | null;\n  status?:\n    | \"received\"\n    | \"under_review\"\n    | \"quoted\"\n    | \"rejected\"\n    | \"accepted\"\n    | \"expired\";\n  expires_at?: string | null;\n  metadata?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\n/** Attributes accepted when updating a quote request via the admin API (PATCH semantics). */\nexport type UpdateQuoteRequestAttributes = {\n  requester_contact_id?: string | null;\n  requester_email?: string | null;\n  requester_name?: string | null;\n  line_items?: QuoteRequestLineItem[];\n  notes?: string | null;\n  status?:\n    | \"received\"\n    | \"under_review\"\n    | \"quoted\"\n    | \"rejected\"\n    | \"accepted\"\n    | \"expired\";\n  expires_at?: string | null;\n  metadata?: Record<string, unknown>;\n  [key: string]: unknown;\n};\n\n// ── Re-export entity types for subpath imports ──────────────────────\n\nexport type {\n  InvoicesInvoice,\n  InvoicesLine,\n  InvoicesPayment,\n  InvoicesTemplate,\n  InvoicesRule,\n  InvoicesRecurringSchedule,\n  InvoicesContact,\n  InvoicesActivity,\n  InvoicesQuoteRequest,\n};\n\nexport function createInvoicesNamespace(rb: RequestBuilder) {\n  return {\n    // ========== Invoices ==========\n\n    invoices: {\n      /** Get an invoice by ID. */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesInvoice>(\n          getAdminInvoicesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List invoices by workspace. */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ) => {\n        return rb.execute<InvoicesInvoice[]>(\n          getAdminInvoicesWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            },\n          },\n          options,\n        );\n      },\n\n      /** Create an invoice. */\n      create: async (\n        attributes: CreateInvoiceAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesInvoice>(\n          postAdminInvoices,\n          {\n            body: { data: { type: \"invoices-invoice\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /** Update an invoice. */\n      update: async (\n        id: string,\n        attributes: UpdateInvoiceAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesInvoice>(\n          patchAdminInvoicesById,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-invoice\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /** Delete an invoice. */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.executeDelete(\n          deleteAdminInvoicesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Submit an invoice for approval. */\n      submitForApproval: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesInvoice>(\n          patchAdminInvoicesByIdSubmitForApproval,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-invoice\" } },\n          },\n          options,\n        );\n      },\n\n      /** Approve an invoice. */\n      approve: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesInvoice>(\n          patchAdminInvoicesByIdApprove,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-invoice\" } },\n          },\n          options,\n        );\n      },\n\n      /** Send an invoice. */\n      send: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesInvoice>(\n          patchAdminInvoicesByIdSend,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-invoice\" } },\n          },\n          options,\n        );\n      },\n\n      /** Mark an invoice as viewed. */\n      markViewed: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesInvoice>(\n          patchAdminInvoicesByIdMarkViewed,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-invoice\" } },\n          },\n          options,\n        );\n      },\n\n      /** Void an invoice. */\n      void: async (\n        id: string,\n        voidedReason: string,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesInvoice>(\n          patchAdminInvoicesByIdVoid,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"invoices-invoice\",\n                attributes: { voided_reason: voidedReason },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Mark an invoice as overdue. */\n      markOverdue: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesInvoice>(\n          patchAdminInvoicesByIdMarkOverdue,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-invoice\" } },\n          },\n          options,\n        );\n      },\n\n      /** Dispute an invoice. */\n      dispute: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesInvoice>(\n          patchAdminInvoicesByIdDispute,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-invoice\" } },\n          },\n          options,\n        );\n      },\n\n      /** Resolve a dispute on an invoice. */\n      resolveDispute: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesInvoice>(\n          patchAdminInvoicesByIdResolveDispute,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-invoice\" } },\n          },\n          options,\n        );\n      },\n\n      /** Schedule a payment for an invoice. */\n      schedulePayment: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesInvoice>(\n          patchAdminInvoicesByIdSchedulePayment,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-invoice\" } },\n          },\n          options,\n        );\n      },\n\n      /** Mark an invoice as paid. */\n      markPaid: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesInvoice>(\n          patchAdminInvoicesByIdMarkPaid,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-invoice\" } },\n          },\n          options,\n        );\n      },\n\n      /** Apply AI suggestions to an invoice. */\n      applyAiSuggestions: async (\n        id: string,\n        acceptedKeys: string[],\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesInvoice>(\n          patchAdminInvoicesByIdApplyAiSuggestions,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"invoices-invoice\",\n                attributes: { accepted_keys: acceptedKeys },\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    // ========== Lines ==========\n\n    lines: {\n      /** Get a line item by ID. */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesLine>(\n          getAdminInvoicesLinesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Create a line item. */\n      create: async (\n        attributes: CreateInvoiceLineAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesLine>(\n          postAdminInvoicesLines,\n          {\n            body: { data: { type: \"invoices-line\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /** Update a line item. */\n      update: async (\n        id: string,\n        attributes: UpdateInvoiceLineAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesLine>(\n          patchAdminInvoicesLinesById,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-line\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /** Delete a line item. */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.executeDelete(\n          deleteAdminInvoicesLinesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== Payments ==========\n\n    payments: {\n      /** Get a payment by ID. */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesPayment>(\n          getAdminInvoicesPaymentsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Record a payment against an invoice. */\n      create: async (\n        attributes: CreatePaymentAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesPayment>(\n          postAdminInvoicesPayments,\n          {\n            body: { data: { type: \"invoices-payment\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /** Delete a payment. */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.executeDelete(\n          deleteAdminInvoicesPaymentsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== Templates ==========\n\n    templates: {\n      /** Get a template by ID. */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesTemplate>(\n          getAdminInvoicesTemplatesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Create a template. */\n      create: async (\n        attributes: CreateTemplateAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesTemplate>(\n          postAdminInvoicesTemplates,\n          {\n            body: { data: { type: \"invoices-template\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /** Update a template. */\n      update: async (\n        id: string,\n        attributes: UpdateTemplateAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesTemplate>(\n          patchAdminInvoicesTemplatesById,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-template\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /** Delete a template. */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.executeDelete(\n          deleteAdminInvoicesTemplatesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== Rules ==========\n\n    rules: {\n      /** Get a rule by ID. */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesRule>(\n          getAdminInvoicesRulesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Create a rule. */\n      create: async (\n        attributes: CreateRuleAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesRule>(\n          postAdminInvoicesRules,\n          {\n            body: { data: { type: \"invoices-rule\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /** Update a rule. */\n      update: async (\n        id: string,\n        attributes: UpdateRuleAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesRule>(\n          patchAdminInvoicesRulesById,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-rule\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /** Delete a rule. */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.executeDelete(\n          deleteAdminInvoicesRulesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Deactivate a rule. */\n      deactivate: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesRule>(\n          patchAdminInvoicesRulesByIdDeactivate,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-rule\" } },\n          },\n          options,\n        );\n      },\n    },\n\n    // ========== Recurring Schedules ==========\n\n    recurringSchedules: {\n      /** Get a recurring schedule by ID. */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesRecurringSchedule>(\n          getAdminInvoicesRecurringSchedulesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Create a recurring schedule. */\n      create: async (\n        attributes: CreateRecurringScheduleAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesRecurringSchedule>(\n          postAdminInvoicesRecurringSchedules,\n          {\n            body: {\n              data: { type: \"invoices-recurring-schedule\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Update a recurring schedule. */\n      update: async (\n        id: string,\n        attributes: UpdateRecurringScheduleAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesRecurringSchedule>(\n          patchAdminInvoicesRecurringSchedulesById,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"invoices-recurring-schedule\",\n                attributes,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Delete a recurring schedule. */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.executeDelete(\n          deleteAdminInvoicesRecurringSchedulesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Pause a recurring schedule. */\n      pause: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesRecurringSchedule>(\n          patchAdminInvoicesRecurringSchedulesByIdPause,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-recurring-schedule\" } },\n          },\n          options,\n        );\n      },\n\n      /** Resume a recurring schedule. */\n      resume: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesRecurringSchedule>(\n          patchAdminInvoicesRecurringSchedulesByIdResume,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-recurring-schedule\" } },\n          },\n          options,\n        );\n      },\n    },\n\n    // ========== Contacts ==========\n\n    contacts: {\n      /** Get an invoices contact by ID. */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesContact>(\n          getAdminInvoicesContactsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List invoices contacts by workspace. */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ) => {\n        return rb.execute<InvoicesContact[]>(\n          getAdminInvoicesContactsWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            },\n          },\n          options,\n        );\n      },\n\n      /** Create an invoices contact. */\n      create: async (\n        attributes: CreateContactAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesContact>(\n          postAdminInvoicesContacts,\n          {\n            body: { data: { type: \"invoices-contact\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /** Update an invoices contact. */\n      update: async (\n        id: string,\n        attributes: UpdateContactAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesContact>(\n          patchAdminInvoicesContactsById,\n          {\n            path: { id },\n            body: { data: { id, type: \"invoices-contact\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /** Delete an invoices contact. */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.executeDelete(\n          deleteAdminInvoicesContactsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== Quote Requests ==========\n\n    quoteRequests: {\n      /** Get a quote request by ID. */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesQuoteRequest>(\n          getAdminQuoteRequestsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List quote requests in a workspace. */\n      listByWorkspace: async (\n        workspaceId: string,\n        options?: { page?: number; pageSize?: number } & RequestOptions,\n      ) => {\n        return rb.execute<InvoicesQuoteRequest[]>(\n          getAdminQuoteRequestsWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            },\n          },\n          options,\n        );\n      },\n\n      /** Create a quote request directly via the admin API. */\n      create: async (\n        attributes: CreateQuoteRequestAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesQuoteRequest>(\n          postAdminQuoteRequests,\n          {\n            body: { data: { type: \"invoices-quote-request\", attributes } },\n          },\n          options,\n        );\n      },\n\n      /** Update a quote request (PATCH semantics). */\n      update: async (\n        id: string,\n        attributes: UpdateQuoteRequestAttributes,\n        options?: RequestOptions,\n      ) => {\n        return rb.execute<InvoicesQuoteRequest>(\n          patchAdminQuoteRequestsById,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"invoices-quote-request\", attributes },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Permanently delete a quote request. */\n      delete: async (id: string, options?: RequestOptions) => {\n        return rb.executeDelete(\n          deleteAdminQuoteRequestsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ========== Activities ==========\n\n    activities: {\n      /** Get an activity by ID. */\n      get: async (id: string, options?: RequestOptions) => {\n        return rb.execute<InvoicesActivity>(\n          getAdminInvoicesActivitiesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs). Do NOT add `return {};`.\n\nimport type {\n  RecipesRecipe,\n  RecipesIngredient,\n  RecipesFoodItem,\n  RecipesRecipeNutrition,\n  RecipesTag,\n  RecipesRecipeTag,\n  RecipesRecipeFavorite,\n  RecipesRecipeCollection,\n  RecipesCollectionRecipe,\n  RecipesEnrichmentJob,\n  RecipesMealSchedule,\n  RecipesScheduledMeal,\n  RecipesNutritionSummary,\n  RecipesShoppingList,\n  RecipesShoppingListItem,\n} from \"../_internal/types.gen\";\n\nimport {\n  // Recipe\n  getAdminRecipesById,\n  getAdminRecipesWorkspaceByWorkspaceId,\n  getAdminRecipesWorkspaceByWorkspaceIdContactByContactId,\n  getAdminRecipesWorkspaceByWorkspaceIdPublished,\n  postAdminRecipes,\n  postAdminRecipesImport,\n  patchAdminRecipesById,\n  deleteAdminRecipesById,\n  patchAdminRecipesByIdReEnrich,\n  patchAdminRecipesByIdArchive,\n  patchAdminRecipesByIdRestore,\n  // Ingredient\n  getAdminRecipesIngredientsById,\n  getAdminRecipesIngredientsRecipeByRecipeId,\n  postAdminRecipesIngredients,\n  patchAdminRecipesIngredientsById,\n  deleteAdminRecipesIngredientsById,\n  // FoodItem\n  getAdminRecipesFoodItemsById,\n  getAdminRecipesFoodItemsApplicationByApplicationId,\n  postAdminRecipesFoodItems,\n  patchAdminRecipesFoodItemsById,\n  deleteAdminRecipesFoodItemsById,\n  // RecipeNutrition\n  getAdminRecipesRecipeNutritionsById,\n  getAdminRecipesRecipeNutritionsRecipeByRecipeId,\n  postAdminRecipesRecipeNutritions,\n  patchAdminRecipesRecipeNutritionsById,\n  // Tag\n  getAdminRecipesTagsById,\n  getAdminRecipesTagsApplicationByApplicationId,\n  postAdminRecipesTags,\n  patchAdminRecipesTagsById,\n  deleteAdminRecipesTagsById,\n  // RecipeFavorite\n  getAdminRecipesFavoritesById,\n  getAdminRecipesFavoritesWorkspaceByWorkspaceId,\n  getAdminRecipesFavoritesRecipeByRecipeId,\n  postAdminRecipesFavorites,\n  patchAdminRecipesFavoritesById,\n  deleteAdminRecipesFavoritesById,\n  // RecipeCollection\n  getAdminRecipesCollectionsById,\n  getAdminRecipesCollectionsWorkspaceByWorkspaceId,\n  postAdminRecipesCollections,\n  patchAdminRecipesCollectionsById,\n  deleteAdminRecipesCollectionsById,\n  // CollectionRecipe\n  getAdminRecipesCollectionRecipesById,\n  getAdminRecipesCollectionRecipesCollectionByCollectionId,\n  postAdminRecipesCollectionRecipes,\n  patchAdminRecipesCollectionRecipesById,\n  deleteAdminRecipesCollectionRecipesById,\n  // RecipeTag\n  getAdminRecipesRecipeTagsById,\n  getAdminRecipesRecipeTagsRecipeByRecipeId,\n  postAdminRecipesRecipeTags,\n  deleteAdminRecipesRecipeTagsById,\n  // EnrichmentJob\n  getAdminRecipesEnrichmentJobsById,\n  getAdminRecipesEnrichmentJobsRecipeByRecipeId,\n  // MealSchedule\n  getAdminRecipesMealSchedulesById,\n  getAdminRecipesMealSchedulesWorkspaceByWorkspaceId,\n  postAdminRecipesMealSchedules,\n  patchAdminRecipesMealSchedulesById,\n  deleteAdminRecipesMealSchedulesById,\n  // ScheduledMeal\n  getAdminRecipesScheduledMealsById,\n  getAdminRecipesScheduledMealsMealScheduleByMealScheduleId,\n  postAdminRecipesScheduledMeals,\n  patchAdminRecipesScheduledMealsById,\n  deleteAdminRecipesScheduledMealsById,\n  // NutritionSummary\n  getAdminRecipesNutritionSummariesById,\n  getAdminRecipesNutritionSummariesMealScheduleByMealScheduleId,\n  // ShoppingList\n  getAdminRecipesShoppingListsById,\n  getAdminRecipesShoppingListsWorkspaceByWorkspaceId,\n  postAdminRecipesShoppingLists,\n  patchAdminRecipesShoppingListsById,\n  deleteAdminRecipesShoppingListsById,\n  // ShoppingListItem\n  getAdminRecipesShoppingListItemsById,\n  getAdminRecipesShoppingListItemsShoppingListByShoppingListId,\n  postAdminRecipesShoppingListItems,\n  patchAdminRecipesShoppingListItemsById,\n  deleteAdminRecipesShoppingListItemsById,\n  // New actions\n  postAdminRecipesBulkImport,\n  postAdminRecipesShoppingListsGenerate,\n  postAdminRecipesShoppingListsRegenerate,\n} from \"../_internal/sdk.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\nimport { buildPageQuery } from \"../namespace-types\";\n\n// ── Attribute interfaces ────────────────────────────────────────────\n\n/** Attributes accepted when creating a recipe. */\nexport interface CreateRecipeAttributes {\n  workspace_id: string;\n  contact_id?: string;\n  application_id?: string;\n  title: string;\n  description?: string;\n  instructions?: string;\n  source_type?: \"owned\" | \"external\" | \"imported\";\n  source_uri?: string;\n  source_provider?: string;\n  prep_time_minutes?: number;\n  cook_time_minutes?: number;\n  total_time_minutes?: number;\n  servings?: number;\n  difficulty?: \"easy\" | \"medium\" | \"hard\";\n  cuisine_type?: string;\n  image_url?: string;\n  image_urls?: string[];\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes accepted when importing an external recipe. */\nexport interface ImportRecipeAttributes {\n  workspace_id: string;\n  contact_id?: string;\n  application_id?: string;\n  title: string;\n  description?: string;\n  instructions?: string;\n  source_uri?: string;\n  source_url?: string;\n  source_name?: string;\n  source_provider?: string;\n  /** Write-only — raw connector response stored server-side but never returned in API responses. */\n  source_data?: Record<string, unknown>;\n  prep_time_minutes?: number;\n  cook_time_minutes?: number;\n  total_time_minutes?: number;\n  servings?: number;\n  difficulty?: \"easy\" | \"medium\" | \"hard\";\n  cuisine_type?: string;\n  image_url?: string;\n  image_urls?: string[];\n  metadata?: Record<string, unknown>;\n}\n\n/** Error entry in a bulk import failure. */\nexport interface BulkImportError {\n  index?: number;\n  errors?: Array<{\n    field?: string;\n    message?: string;\n    code?: string;\n  }>;\n}\n\n/** Result of a bulk import operation. */\nexport interface BulkImportResult {\n  imported: RecipesRecipe[];\n  failed: BulkImportError[];\n}\n\n/** Attributes accepted when updating a recipe. */\nexport interface UpdateRecipeAttributes {\n  title?: string;\n  description?: string;\n  instructions?: string;\n  prep_time_minutes?: number;\n  cook_time_minutes?: number;\n  total_time_minutes?: number;\n  servings?: number;\n  difficulty?: \"easy\" | \"medium\" | \"hard\";\n  cuisine_type?: string;\n  image_url?: string;\n  image_urls?: string[];\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes accepted when creating an ingredient. */\nexport interface CreateIngredientAttributes {\n  recipe_id: string;\n  food_item_id?: string;\n  name: string;\n  quantity?: number;\n  unit?: string;\n  preparation_note?: string;\n  sort_order?: number;\n  food_group?: string;\n}\n\n/** Attributes accepted when updating an ingredient. */\nexport interface UpdateIngredientAttributes {\n  food_item_id?: string;\n  name?: string;\n  quantity?: number;\n  unit?: string;\n  preparation_note?: string;\n  sort_order?: number;\n  food_group?: string;\n}\n\n/** Attributes accepted when creating a food item. */\nexport interface CreateFoodItemAttributes {\n  application_id: string;\n  name: string;\n  external_id?: string;\n  external_source?: string;\n  nutrition_per_100g?: Record<string, unknown>;\n  food_group?: string;\n  allergens?: string[];\n  default_unit?: string;\n  unit_conversions?: Record<string, unknown>;\n}\n\n/** Attributes accepted when updating a food item. */\nexport interface UpdateFoodItemAttributes {\n  name?: string;\n  nutrition_per_100g?: Record<string, unknown>;\n  food_group?: string;\n  allergens?: string[];\n  default_unit?: string;\n  unit_conversions?: Record<string, unknown>;\n}\n\n/** Attributes accepted when creating recipe nutrition. */\nexport interface CreateRecipeNutritionAttributes {\n  recipe_id: string;\n  source?: \"computed\" | \"external\" | \"manual\";\n  calories?: number;\n  protein_g?: number;\n  carbs_g?: number;\n  fat_g?: number;\n  fiber_g?: number;\n  sugar_g?: number;\n  sodium_mg?: number;\n  full_nutrients?: Record<string, unknown>;\n}\n\n/** Attributes accepted when updating recipe nutrition. */\nexport interface UpdateRecipeNutritionAttributes {\n  source?: \"computed\" | \"external\" | \"manual\";\n  calories?: number;\n  protein_g?: number;\n  carbs_g?: number;\n  fat_g?: number;\n  fiber_g?: number;\n  sugar_g?: number;\n  sodium_mg?: number;\n  full_nutrients?: Record<string, unknown>;\n}\n\n/** Attributes accepted when creating a tag. */\nexport interface CreateTagAttributes {\n  application_id: string;\n  category: \"cuisine\" | \"diet\" | \"health\" | \"course\" | \"technique\" | \"custom\";\n  name: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes accepted when updating a tag. */\nexport interface UpdateTagAttributes {\n  name?: string;\n  category?: \"cuisine\" | \"diet\" | \"health\" | \"course\" | \"technique\" | \"custom\";\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes accepted when creating a recipe-tag association. */\nexport interface CreateRecipeTagAttributes {\n  recipe_id: string;\n  tag_id: string;\n}\n\n/** Attributes accepted when creating a recipe favorite. */\nexport interface CreateRecipeFavoriteAttributes {\n  workspace_id: string;\n  contact_id?: string;\n  recipe_id: string;\n  notes?: string;\n  meal_type?: string;\n  /** Integer rating value. */\n  rating?: number;\n}\n\n/** Attributes accepted when updating a recipe favorite. */\nexport interface UpdateRecipeFavoriteAttributes {\n  notes?: string;\n  meal_type?: string;\n  /** Integer rating value. */\n  rating?: number;\n}\n\n/** Attributes accepted when creating a recipe collection. */\nexport interface CreateRecipeCollectionAttributes {\n  workspace_id: string;\n  contact_id?: string;\n  name: string;\n  description?: string;\n  scope?: \"workspace\" | \"contact\";\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes accepted when updating a recipe collection. */\nexport interface UpdateRecipeCollectionAttributes {\n  name?: string;\n  description?: string;\n  metadata?: Record<string, unknown>;\n}\n\n/** Attributes accepted when adding a recipe to a collection. */\nexport interface CreateCollectionRecipeAttributes {\n  collection_id: string;\n  recipe_id: string;\n  sort_order?: number;\n}\n\n/** Attributes accepted when updating a collection recipe. */\nexport interface UpdateCollectionRecipeAttributes {\n  sort_order?: number;\n}\n\n/** Attributes accepted when creating a meal schedule. */\nexport interface CreateMealScheduleAttributes {\n  workspace_id: string;\n  contact_id?: string;\n  name: string;\n  start_date?: string;\n  end_date?: string;\n  status?: \"draft\" | \"active\" | \"completed\";\n}\n\n/** Attributes accepted when updating a meal schedule. */\nexport interface UpdateMealScheduleAttributes {\n  name?: string;\n  start_date?: string;\n  end_date?: string;\n  status?: \"draft\" | \"active\" | \"completed\";\n}\n\n/** Attributes accepted when creating a scheduled meal. */\nexport interface CreateScheduledMealAttributes {\n  meal_schedule_id: string;\n  recipe_id: string;\n  date: string;\n  meal_type: \"breakfast\" | \"lunch\" | \"dinner\" | \"snack\";\n  servings?: number;\n}\n\n/** Attributes accepted when updating a scheduled meal. */\nexport interface UpdateScheduledMealAttributes {\n  date?: string;\n  meal_type?: \"breakfast\" | \"lunch\" | \"dinner\" | \"snack\";\n  servings?: number;\n}\n\n/** Attributes accepted when creating a shopping list. */\nexport interface CreateShoppingListAttributes {\n  workspace_id: string;\n  contact_id?: string;\n  meal_schedule_id?: string;\n  name: string;\n  status?: \"draft\" | \"active\" | \"completed\";\n}\n\n/** Attributes accepted when updating a shopping list. */\nexport interface UpdateShoppingListAttributes {\n  name?: string;\n  status?: \"draft\" | \"active\" | \"completed\";\n}\n\n/** Attributes accepted when creating a shopping list item. */\nexport interface CreateShoppingListItemAttributes {\n  shopping_list_id: string;\n  name: string;\n  total_quantity?: number;\n  unit?: string;\n  food_group?: string;\n  checked?: boolean;\n}\n\n/** Attributes accepted when updating a shopping list item. */\nexport interface UpdateShoppingListItemAttributes {\n  name?: string;\n  total_quantity?: number;\n  unit?: string;\n  food_group?: string;\n  checked?: boolean;\n}\n\n// ── Pagination ──────────────────────────────────────────────────────\n\nexport type ListOptions = { page?: number; pageSize?: number } & RequestOptions;\n\n/** Options for listing recipe collections. */\nexport interface CollectionListOptions extends ListOptions {\n  /** Filter to a specific contact's collections. */\n  contactId?: string;\n  /** Filter by collection scope. */\n  scope?: \"workspace\" | \"contact\";\n  /** Sort field(s). Prefix with '-' for descending (e.g. '-inserted_at'). */\n  sort?: string;\n}\n\n// ── Namespace ───────────────────────────────────────────────────────\n\nexport type RecipesAPI = ReturnType<typeof createRecipesNamespace>;\n\nexport function createRecipesNamespace(rb: RequestBuilder) {\n  return {\n    // ── Recipe ────────────────────────────────────────────────────\n\n    /** Get a recipe by ID. */\n    async get(id: string, options?: RequestOptions) {\n      return rb.execute<RecipesRecipe>(\n        getAdminRecipesById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /** List recipes in a workspace (optional status filter, created_by filter). */\n    async list(\n      workspaceId: string,\n      options?: ListOptions & {\n        filter?: { status?: string; created_by?: string };\n      },\n    ) {\n      return rb.execute<RecipesRecipe[]>(\n        getAdminRecipesWorkspaceByWorkspaceId,\n        {\n          path: { workspace_id: workspaceId },\n          query: {\n            ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            ...(options?.filter?.status\n              ? { status: options.filter.status }\n              : {}),\n            ...(options?.filter?.created_by\n              ? { created_by: options.filter.created_by }\n              : {}),\n          },\n        },\n        options,\n      );\n    },\n\n    /** List recipes for a contact in a workspace. */\n    async listByContact(\n      workspaceId: string,\n      contactId: string,\n      options?: ListOptions,\n    ) {\n      return rb.execute<RecipesRecipe[]>(\n        getAdminRecipesWorkspaceByWorkspaceIdContactByContactId,\n        {\n          path: { workspace_id: workspaceId, contact_id: contactId },\n          query: { ...buildPageQuery(options?.page, options?.pageSize)?.query },\n        },\n        options,\n      );\n    },\n\n    /** List published recipes for a workspace. */\n    async listPublished(workspaceId: string, options?: ListOptions) {\n      return rb.execute<RecipesRecipe[]>(\n        getAdminRecipesWorkspaceByWorkspaceIdPublished,\n        {\n          path: { workspace_id: workspaceId },\n          query: { ...buildPageQuery(options?.page, options?.pageSize)?.query },\n        },\n        options,\n      );\n    },\n\n    /** Create a recipe. */\n    async create(attrs: CreateRecipeAttributes, options?: RequestOptions) {\n      return rb.execute<RecipesRecipe>(\n        postAdminRecipes,\n        { body: { data: { type: \"recipes-recipe\", attributes: attrs } } },\n        options,\n      );\n    },\n\n    /** Import an external recipe. */\n    async import(attrs: ImportRecipeAttributes, options?: RequestOptions) {\n      return rb.execute<RecipesRecipe>(\n        postAdminRecipesImport,\n        { body: { data: { type: \"recipes-recipe\", attributes: attrs } } },\n        options,\n      );\n    },\n\n    /**\n     * Bulk import recipes with dedup via source_uri.\n     *\n     * @param recipes - Array of recipe attribute maps\n     * @param options - Request options\n     * @returns Object with `imported` and `failed` arrays\n     */\n    async bulkImport(\n      recipes: ImportRecipeAttributes[],\n      options?: RequestOptions,\n    ): Promise<BulkImportResult> {\n      return rb.execute<BulkImportResult>(\n        postAdminRecipesBulkImport,\n        { body: { data: { recipes } } },\n        options,\n      );\n    },\n\n    /** Update a recipe. */\n    async update(\n      id: string,\n      attrs: UpdateRecipeAttributes,\n      options?: RequestOptions,\n    ) {\n      return rb.execute<RecipesRecipe>(\n        patchAdminRecipesById,\n        {\n          path: { id },\n          body: { data: { type: \"recipes-recipe\", id, attributes: attrs } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Re-enqueue AI enrichment for a recipe.\n     * Resets enrichment_status to pending and triggers the enrichment pipeline.\n     *\n     * @param id - Recipe ID\n     * @param options - Request options\n     * @returns The updated recipe\n     */\n    async reEnrich(id: string, options?: RequestOptions) {\n      return rb.execute<RecipesRecipe>(\n        patchAdminRecipesByIdReEnrich,\n        { path: { id }, body: { data: { type: \"recipes-recipe\", id } } },\n        options,\n      );\n    },\n\n    /** Archive a recipe. */\n    async archive(id: string, options?: RequestOptions) {\n      return rb.execute<RecipesRecipe>(\n        patchAdminRecipesByIdArchive,\n        { path: { id }, body: { data: { type: \"recipes-recipe\", id } } },\n        options,\n      );\n    },\n\n    /** Restore an archived recipe. */\n    async restore(id: string, options?: RequestOptions) {\n      return rb.execute<RecipesRecipe>(\n        patchAdminRecipesByIdRestore,\n        { path: { id }, body: { data: { type: \"recipes-recipe\", id } } },\n        options,\n      );\n    },\n\n    /** Delete a recipe. */\n    async delete(id: string, options?: RequestOptions) {\n      return rb.execute<void>(\n        deleteAdminRecipesById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    // ── Ingredient ────────────────────────────────────────────────\n\n    ingredients: {\n      /** Get an ingredient by ID. */\n      async get(id: string, options?: RequestOptions) {\n        return rb.execute<RecipesIngredient>(\n          getAdminRecipesIngredientsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List ingredients for a recipe. */\n      async list(recipeId: string, options?: ListOptions) {\n        return rb.execute<RecipesIngredient[]>(\n          getAdminRecipesIngredientsRecipeByRecipeId,\n          {\n            path: { recipe_id: recipeId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            },\n          },\n          options,\n        );\n      },\n\n      /** Create an ingredient. */\n      async create(\n        attrs: CreateIngredientAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesIngredient>(\n          postAdminRecipesIngredients,\n          { body: { data: { type: \"recipes-ingredient\", attributes: attrs } } },\n          options,\n        );\n      },\n\n      /** Update an ingredient. */\n      async update(\n        id: string,\n        attrs: UpdateIngredientAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesIngredient>(\n          patchAdminRecipesIngredientsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"recipes-ingredient\", id, attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Delete an ingredient. */\n      async delete(id: string, options?: RequestOptions) {\n        return rb.execute<void>(\n          deleteAdminRecipesIngredientsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ── FoodItem ──────────────────────────────────────────────────\n\n    foodItems: {\n      /** Get a food item by ID. */\n      async get(id: string, options?: RequestOptions) {\n        return rb.execute<RecipesFoodItem>(\n          getAdminRecipesFoodItemsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List food items for an application. */\n      async list(applicationId: string, options?: ListOptions) {\n        return rb.execute<RecipesFoodItem[]>(\n          getAdminRecipesFoodItemsApplicationByApplicationId,\n          {\n            path: { application_id: applicationId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            },\n          },\n          options,\n        );\n      },\n\n      /** Create a food item. */\n      async create(attrs: CreateFoodItemAttributes, options?: RequestOptions) {\n        return rb.execute<RecipesFoodItem>(\n          postAdminRecipesFoodItems,\n          { body: { data: { type: \"recipes-food-item\", attributes: attrs } } },\n          options,\n        );\n      },\n\n      /** Update a food item. */\n      async update(\n        id: string,\n        attrs: UpdateFoodItemAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesFoodItem>(\n          patchAdminRecipesFoodItemsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"recipes-food-item\", id, attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Delete a food item. */\n      async delete(id: string, options?: RequestOptions) {\n        return rb.execute<void>(\n          deleteAdminRecipesFoodItemsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ── RecipeNutrition ───────────────────────────────────────────\n\n    nutrition: {\n      /** Get recipe nutrition by ID. */\n      async get(id: string, options?: RequestOptions) {\n        return rb.execute<RecipesRecipeNutrition>(\n          getAdminRecipesRecipeNutritionsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** Get nutrition data for a recipe by recipe ID. */\n      async getByRecipe(recipeId: string, options?: ListOptions) {\n        return rb.execute<RecipesRecipeNutrition[]>(\n          getAdminRecipesRecipeNutritionsRecipeByRecipeId,\n          {\n            path: { recipe_id: recipeId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            },\n          },\n          options,\n        );\n      },\n\n      /** Create recipe nutrition. */\n      async create(\n        attrs: CreateRecipeNutritionAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesRecipeNutrition>(\n          postAdminRecipesRecipeNutritions,\n          {\n            body: {\n              data: { type: \"recipes-recipe-nutrition\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Update recipe nutrition. */\n      async update(\n        id: string,\n        attrs: UpdateRecipeNutritionAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesRecipeNutrition>(\n          patchAdminRecipesRecipeNutritionsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"recipes-recipe-nutrition\", id, attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    // ── Tag ───────────────────────────────────────────────────────\n\n    tags: {\n      /** Get a tag by ID. */\n      async get(id: string, options?: RequestOptions) {\n        return rb.execute<RecipesTag>(\n          getAdminRecipesTagsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List tags for an application. */\n      async list(applicationId: string, options?: ListOptions) {\n        return rb.execute<RecipesTag[]>(\n          getAdminRecipesTagsApplicationByApplicationId,\n          {\n            path: { application_id: applicationId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            },\n          },\n          options,\n        );\n      },\n\n      /** Create a tag. */\n      async create(attrs: CreateTagAttributes, options?: RequestOptions) {\n        return rb.execute<RecipesTag>(\n          postAdminRecipesTags,\n          { body: { data: { type: \"recipes-tag\", attributes: attrs } } },\n          options,\n        );\n      },\n\n      /** Update a tag. */\n      async update(\n        id: string,\n        attrs: UpdateTagAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesTag>(\n          patchAdminRecipesTagsById,\n          {\n            path: { id },\n            body: { data: { type: \"recipes-tag\", id, attributes: attrs } },\n          },\n          options,\n        );\n      },\n\n      /** Delete a tag. */\n      async delete(id: string, options?: RequestOptions) {\n        return rb.execute<void>(\n          deleteAdminRecipesTagsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ── RecipeTag ──────────────────────────────────────────────────\n\n    recipeTags: {\n      /** Get a recipe-tag association by ID. */\n      async get(id: string, options?: RequestOptions) {\n        return rb.execute<RecipesRecipeTag>(\n          getAdminRecipesRecipeTagsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List recipe-tag associations for a recipe. */\n      async listByRecipe(recipeId: string, options?: ListOptions) {\n        return rb.execute<RecipesRecipeTag[]>(\n          getAdminRecipesRecipeTagsRecipeByRecipeId,\n          {\n            path: { recipe_id: recipeId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            },\n          },\n          options,\n        );\n      },\n\n      /** Create a recipe-tag association (upsert). */\n      async create(attrs: CreateRecipeTagAttributes, options?: RequestOptions) {\n        return rb.execute<RecipesRecipeTag>(\n          postAdminRecipesRecipeTags,\n          { body: { data: { type: \"recipes-recipe-tag\", attributes: attrs } } },\n          options,\n        );\n      },\n\n      /** Delete a recipe-tag association. */\n      async delete(id: string, options?: RequestOptions) {\n        return rb.execute<void>(\n          deleteAdminRecipesRecipeTagsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ── RecipeFavorite ────────────────────────────────────────────\n\n    favorites: {\n      /** Get a favorite by ID. */\n      async get(id: string, options?: RequestOptions) {\n        return rb.execute<RecipesRecipeFavorite>(\n          getAdminRecipesFavoritesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List favorites for a workspace. */\n      async list(workspaceId: string, options?: ListOptions) {\n        return rb.execute<RecipesRecipeFavorite[]>(\n          getAdminRecipesFavoritesWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            },\n          },\n          options,\n        );\n      },\n\n      /** List favorites for a recipe. */\n      async listByRecipe(recipeId: string, options?: ListOptions) {\n        return rb.execute<RecipesRecipeFavorite[]>(\n          getAdminRecipesFavoritesRecipeByRecipeId,\n          {\n            path: { recipe_id: recipeId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            },\n          },\n          options,\n        );\n      },\n\n      /** Create a recipe favorite. */\n      async create(\n        attrs: CreateRecipeFavoriteAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesRecipeFavorite>(\n          postAdminRecipesFavorites,\n          {\n            body: {\n              data: { type: \"recipes-recipe-favorite\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Update a recipe favorite. */\n      async update(\n        id: string,\n        attrs: UpdateRecipeFavoriteAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesRecipeFavorite>(\n          patchAdminRecipesFavoritesById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"recipes-recipe-favorite\", id, attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Delete a recipe favorite. */\n      async delete(id: string, options?: RequestOptions) {\n        return rb.execute<void>(\n          deleteAdminRecipesFavoritesById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    // ── RecipeCollection ──────────────────────────────────────────\n\n    collections: {\n      /** Get a collection by ID. */\n      async get(id: string, options?: RequestOptions) {\n        return rb.execute<RecipesRecipeCollection>(\n          getAdminRecipesCollectionsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List collections for a workspace with optional filters. */\n      async list(workspaceId: string, options?: CollectionListOptions) {\n        return rb.execute<RecipesRecipeCollection[]>(\n          getAdminRecipesCollectionsWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n              ...(options?.contactId ? { contact_id: options.contactId } : {}),\n              ...(options?.scope ? { scope: options.scope } : {}),\n              ...(options?.sort ? { sort: options.sort } : {}),\n            },\n          },\n          options,\n        );\n      },\n\n      /** Create a recipe collection. */\n      async create(\n        attrs: CreateRecipeCollectionAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesRecipeCollection>(\n          postAdminRecipesCollections,\n          {\n            body: {\n              data: { type: \"recipes-recipe-collection\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Update a recipe collection. */\n      async update(\n        id: string,\n        attrs: UpdateRecipeCollectionAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesRecipeCollection>(\n          patchAdminRecipesCollectionsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                type: \"recipes-recipe-collection\",\n                id,\n                attributes: attrs,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Delete a recipe collection. */\n      async delete(id: string, options?: RequestOptions) {\n        return rb.execute<void>(\n          deleteAdminRecipesCollectionsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      // ── CollectionRecipe (nested) ─────────────────────────────\n\n      recipes: {\n        /** Get a collection recipe entry by ID. */\n        async get(id: string, options?: RequestOptions) {\n          return rb.execute<RecipesCollectionRecipe>(\n            getAdminRecipesCollectionRecipesById,\n            { path: { id } },\n            options,\n          );\n        },\n\n        /** List recipes in a collection. */\n        async list(collectionId: string, options?: ListOptions) {\n          return rb.execute<RecipesCollectionRecipe[]>(\n            getAdminRecipesCollectionRecipesCollectionByCollectionId,\n            {\n              path: { collection_id: collectionId },\n              query: {\n                ...buildPageQuery(options?.page, options?.pageSize)?.query,\n              },\n            },\n            options,\n          );\n        },\n\n        /** Add a recipe to a collection. */\n        async create(\n          attrs: CreateCollectionRecipeAttributes,\n          options?: RequestOptions,\n        ) {\n          return rb.execute<RecipesCollectionRecipe>(\n            postAdminRecipesCollectionRecipes,\n            {\n              body: {\n                data: { type: \"recipes-collection-recipe\", attributes: attrs },\n              },\n            },\n            options,\n          );\n        },\n\n        /** Update sort order of a collection recipe. */\n        async update(\n          id: string,\n          attrs: UpdateCollectionRecipeAttributes,\n          options?: RequestOptions,\n        ) {\n          return rb.execute<RecipesCollectionRecipe>(\n            patchAdminRecipesCollectionRecipesById,\n            {\n              path: { id },\n              body: {\n                data: {\n                  type: \"recipes-collection-recipe\",\n                  id,\n                  attributes: attrs,\n                },\n              },\n            },\n            options,\n          );\n        },\n\n        /** Remove a recipe from a collection. */\n        async delete(id: string, options?: RequestOptions) {\n          return rb.execute<void>(\n            deleteAdminRecipesCollectionRecipesById,\n            { path: { id } },\n            options,\n          );\n        },\n      },\n    },\n\n    // ── EnrichmentJob ─────────────────────────────────────────────\n\n    enrichmentJobs: {\n      /** Get an enrichment job by ID. */\n      async get(id: string, options?: RequestOptions) {\n        return rb.execute<RecipesEnrichmentJob>(\n          getAdminRecipesEnrichmentJobsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List enrichment jobs for a recipe. */\n      async list(recipeId: string, options?: ListOptions) {\n        return rb.execute<RecipesEnrichmentJob[]>(\n          getAdminRecipesEnrichmentJobsRecipeByRecipeId,\n          {\n            path: { recipe_id: recipeId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    // ── MealSchedule ──────────────────────────────────────────────\n\n    mealSchedules: {\n      /** Get a meal schedule by ID. */\n      async get(id: string, options?: RequestOptions) {\n        return rb.execute<RecipesMealSchedule>(\n          getAdminRecipesMealSchedulesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List meal schedules for a workspace. */\n      async list(workspaceId: string, options?: ListOptions) {\n        return rb.execute<RecipesMealSchedule[]>(\n          getAdminRecipesMealSchedulesWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            },\n          },\n          options,\n        );\n      },\n\n      /** Create a meal schedule. */\n      async create(\n        attrs: CreateMealScheduleAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesMealSchedule>(\n          postAdminRecipesMealSchedules,\n          {\n            body: {\n              data: { type: \"recipes-meal-schedule\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Update a meal schedule. */\n      async update(\n        id: string,\n        attrs: UpdateMealScheduleAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesMealSchedule>(\n          patchAdminRecipesMealSchedulesById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"recipes-meal-schedule\", id, attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Delete a meal schedule. */\n      async delete(id: string, options?: RequestOptions) {\n        return rb.execute<void>(\n          deleteAdminRecipesMealSchedulesById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      // ── ScheduledMeal (nested) ────────────────────────────────\n\n      meals: {\n        /** Get a scheduled meal by ID. */\n        async get(id: string, options?: RequestOptions) {\n          return rb.execute<RecipesScheduledMeal>(\n            getAdminRecipesScheduledMealsById,\n            { path: { id } },\n            options,\n          );\n        },\n\n        /** List scheduled meals for a meal schedule. */\n        async list(mealScheduleId: string, options?: ListOptions) {\n          return rb.execute<RecipesScheduledMeal[]>(\n            getAdminRecipesScheduledMealsMealScheduleByMealScheduleId,\n            {\n              path: { meal_schedule_id: mealScheduleId },\n              query: {\n                ...buildPageQuery(options?.page, options?.pageSize)?.query,\n              },\n            },\n            options,\n          );\n        },\n\n        /** Create a scheduled meal. */\n        async create(\n          attrs: CreateScheduledMealAttributes,\n          options?: RequestOptions,\n        ) {\n          return rb.execute<RecipesScheduledMeal>(\n            postAdminRecipesScheduledMeals,\n            {\n              body: {\n                data: { type: \"recipes-scheduled-meal\", attributes: attrs },\n              },\n            },\n            options,\n          );\n        },\n\n        /** Update a scheduled meal. */\n        async update(\n          id: string,\n          attrs: UpdateScheduledMealAttributes,\n          options?: RequestOptions,\n        ) {\n          return rb.execute<RecipesScheduledMeal>(\n            patchAdminRecipesScheduledMealsById,\n            {\n              path: { id },\n              body: {\n                data: { type: \"recipes-scheduled-meal\", id, attributes: attrs },\n              },\n            },\n            options,\n          );\n        },\n\n        /** Delete a scheduled meal. */\n        async delete(id: string, options?: RequestOptions) {\n          return rb.execute<void>(\n            deleteAdminRecipesScheduledMealsById,\n            { path: { id } },\n            options,\n          );\n        },\n      },\n\n      // ── NutritionSummary (nested) ─────────────────────────────\n\n      nutritionSummaries: {\n        /** Get a nutrition summary by ID. */\n        async get(id: string, options?: RequestOptions) {\n          return rb.execute<RecipesNutritionSummary>(\n            getAdminRecipesNutritionSummariesById,\n            { path: { id } },\n            options,\n          );\n        },\n\n        /** List nutrition summaries for a meal schedule. */\n        async list(mealScheduleId: string, options?: ListOptions) {\n          return rb.execute<RecipesNutritionSummary[]>(\n            getAdminRecipesNutritionSummariesMealScheduleByMealScheduleId,\n            {\n              path: { meal_schedule_id: mealScheduleId },\n              query: {\n                ...buildPageQuery(options?.page, options?.pageSize)?.query,\n              },\n            },\n            options,\n          );\n        },\n      },\n    },\n\n    // ── ShoppingList ──────────────────────────────────────────────\n\n    shoppingLists: {\n      /** Get a shopping list by ID. */\n      async get(id: string, options?: RequestOptions) {\n        return rb.execute<RecipesShoppingList>(\n          getAdminRecipesShoppingListsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /** List shopping lists for a workspace. */\n      async list(workspaceId: string, options?: ListOptions) {\n        return rb.execute<RecipesShoppingList[]>(\n          getAdminRecipesShoppingListsWorkspaceByWorkspaceId,\n          {\n            path: { workspace_id: workspaceId },\n            query: {\n              ...buildPageQuery(options?.page, options?.pageSize)?.query,\n            },\n          },\n          options,\n        );\n      },\n\n      /** Create a shopping list. */\n      async create(\n        attrs: CreateShoppingListAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesShoppingList>(\n          postAdminRecipesShoppingLists,\n          {\n            body: {\n              data: { type: \"recipes-shopping-list\", attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Update a shopping list. */\n      async update(\n        id: string,\n        attrs: UpdateShoppingListAttributes,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesShoppingList>(\n          patchAdminRecipesShoppingListsById,\n          {\n            path: { id },\n            body: {\n              data: { type: \"recipes-shopping-list\", id, attributes: attrs },\n            },\n          },\n          options,\n        );\n      },\n\n      /** Delete a shopping list. */\n      async delete(id: string, options?: RequestOptions) {\n        return rb.execute<void>(\n          deleteAdminRecipesShoppingListsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Generate a shopping list from a meal schedule.\n       * Aggregates all ingredients from scheduled meals.\n       *\n       * @param mealScheduleId - MealSchedule UUID\n       * @param workspaceId - Workspace UUID\n       * @param options - Request options\n       * @returns Generated shopping list record\n       */\n      async generate(\n        mealScheduleId: string,\n        workspaceId: string,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesShoppingList>(\n          postAdminRecipesShoppingListsGenerate,\n          {\n            body: {\n              data: {\n                meal_schedule_id: mealScheduleId,\n                workspace_id: workspaceId,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Regenerate an existing shopping list from its linked meal schedule.\n       * Deletes existing items and recreates from current scheduled meals.\n       *\n       * @param shoppingListId - ShoppingList UUID\n       * @param workspaceId - Workspace UUID\n       * @param options - Request options\n       * @returns Regenerated shopping list record\n       */\n      async regenerate(\n        shoppingListId: string,\n        workspaceId: string,\n        options?: RequestOptions,\n      ) {\n        return rb.execute<RecipesShoppingList>(\n          postAdminRecipesShoppingListsRegenerate,\n          {\n            body: {\n              data: {\n                shopping_list_id: shoppingListId,\n                workspace_id: workspaceId,\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      // ── ShoppingListItem (nested) ─────────────────────────────\n\n      items: {\n        /** Get a shopping list item by ID. */\n        async get(id: string, options?: RequestOptions) {\n          return rb.execute<RecipesShoppingListItem>(\n            getAdminRecipesShoppingListItemsById,\n            { path: { id } },\n            options,\n          );\n        },\n\n        /** List items in a shopping list. */\n        async list(shoppingListId: string, options?: ListOptions) {\n          return rb.execute<RecipesShoppingListItem[]>(\n            getAdminRecipesShoppingListItemsShoppingListByShoppingListId,\n            {\n              path: { shopping_list_id: shoppingListId },\n              query: {\n                ...buildPageQuery(options?.page, options?.pageSize)?.query,\n              },\n            },\n            options,\n          );\n        },\n\n        /** Create a shopping list item. */\n        async create(\n          attrs: CreateShoppingListItemAttributes,\n          options?: RequestOptions,\n        ) {\n          return rb.execute<RecipesShoppingListItem>(\n            postAdminRecipesShoppingListItems,\n            {\n              body: {\n                data: { type: \"recipes-shopping-list-item\", attributes: attrs },\n              },\n            },\n            options,\n          );\n        },\n\n        /** Update a shopping list item. */\n        async update(\n          id: string,\n          attrs: UpdateShoppingListItemAttributes,\n          options?: RequestOptions,\n        ) {\n          return rb.execute<RecipesShoppingListItem>(\n            patchAdminRecipesShoppingListItemsById,\n            {\n              path: { id },\n              body: {\n                data: {\n                  type: \"recipes-shopping-list-item\",\n                  id,\n                  attributes: attrs,\n                },\n              },\n            },\n            options,\n          );\n        },\n\n        /** Delete a shopping list item. */\n        async delete(id: string, options?: RequestOptions) {\n          return rb.execute<void>(\n            deleteAdminRecipesShoppingListItemsById,\n            { path: { id } },\n            options,\n          );\n        },\n      },\n    },\n  };\n}\n","// Hand-maintained — safe to edit directly. See lib/gpt_core/sdk/CLAUDE.md for context.\n// mix update.sdks preserves this file (only overwrites empty stubs).\n\nimport {\n  getAdminPreferences,\n  getAdminPreferencesByKey,\n  postAdminPreferencesUpsert,\n  deleteAdminPreferencesByKey,\n} from \"../_internal/sdk.gen\";\nimport { RequestBuilder } from \"../request-builder\";\nimport type { RequestOptions } from \"../base-client\";\n\n/**\n * User-scoped, workspace-isolated preference storage.\n *\n * Stores arbitrary JSONB data keyed by context string.\n * Preferences are scoped to the authenticated user and current workspace.\n */\nexport interface UserPreference {\n  id: string;\n  workspaceId: string;\n  contextKey: string;\n  preferences: Record<string, unknown>;\n  createdAt: string;\n  updatedAt: string;\n}\n\n/** Attributes for upserting a user preference. */\nexport interface UpsertPreferenceAttributes {\n  /** Scoping key (e.g., \"health-metrics:client_abc123\") */\n  context_key: string;\n  /** Arbitrary preference data — full replacement on upsert */\n  preferences: Record<string, unknown>;\n}\n\n/**\n * Creates the preferences namespace with SDK methods.\n *\n * @example\n * ```typescript\n * // Save chart preferences\n * await sdk.preferences.upsert(\"health-metrics:abc\", { chartOrder: [\"weight\", \"hba1c\"] });\n *\n * // Retrieve preferences\n * const prefs = await sdk.preferences.get(\"health-metrics:abc\");\n *\n * // List all with prefix\n * const all = await sdk.preferences.list({ prefix: \"health-metrics:\" });\n *\n * // Delete\n * await sdk.preferences.delete(\"health-metrics:abc\");\n * ```\n */\nexport function createPreferencesNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Get preference data by context key.\n     *\n     * @param contextKey - The context key to look up\n     * @returns The preferences JSONB object, or null if not found\n     *\n     * @example\n     * ```typescript\n     * const prefs = await sdk.preferences.get(\"health-metrics:client123\");\n     * if (prefs) {\n     *   console.log(prefs.chartOrder);\n     * }\n     * ```\n     */\n    async get(\n      contextKey: string,\n      options?: RequestOptions,\n    ): Promise<Record<string, unknown> | null> {\n      try {\n        const result = await rb.execute(\n          getAdminPreferencesByKey,\n          {\n            query: { context_key: contextKey },\n          },\n          options,\n        );\n        const data = (result as any)?.data;\n        return data?.attributes?.preferences ?? null;\n      } catch (err: any) {\n        if (err?.status === 404) return null;\n        throw err;\n      }\n    },\n\n    /**\n     * Create or replace a user preference.\n     *\n     * @param contextKey - The context key\n     * @param data - Arbitrary preference data (full replacement)\n     * @returns The full UserPreference record\n     *\n     * @example\n     * ```typescript\n     * const pref = await sdk.preferences.upsert(\"ui:sidebar\", { collapsed: true });\n     * ```\n     */\n    async upsert(\n      contextKey: string,\n      data: Record<string, unknown>,\n      options?: RequestOptions,\n    ): Promise<UserPreference> {\n      const result = await rb.execute(\n        postAdminPreferencesUpsert,\n        {\n          body: {\n            data: {\n              type: \"user-preference\",\n              attributes: {\n                context_key: contextKey,\n                preferences: data,\n              } as UpsertPreferenceAttributes,\n            },\n          },\n        },\n        options,\n      );\n      const record = (result as any)?.data;\n      return {\n        id: record.id,\n        workspaceId: record.attributes.workspace_id,\n        contextKey: record.attributes.context_key,\n        preferences: record.attributes.preferences,\n        createdAt: record.attributes.inserted_at,\n        updatedAt: record.attributes.updated_at,\n      };\n    },\n\n    /**\n     * Delete a preference by context key.\n     *\n     * Single-request delete via the `destroy_by_key` action.\n     *\n     * @param contextKey - The context key to delete\n     *\n     * @example\n     * ```typescript\n     * await sdk.preferences.delete(\"health-metrics:client123\");\n     * ```\n     */\n    async delete(contextKey: string, options?: RequestOptions): Promise<void> {\n      await rb.execute(\n        deleteAdminPreferencesByKey,\n        {\n          query: { context_key: contextKey },\n        },\n        options,\n      );\n    },\n\n    /**\n     * List all preferences for the current user in the current workspace.\n     *\n     * @param opts - Optional filter options\n     * @param opts.prefix - Filter context keys starting with this prefix\n     * @returns Array of UserPreference records\n     *\n     * @example\n     * ```typescript\n     * const all = await sdk.preferences.list();\n     * const healthOnly = await sdk.preferences.list({ prefix: \"health-metrics:\" });\n     * ```\n     */\n    async list(\n      opts?: { prefix?: string },\n      options?: RequestOptions,\n    ): Promise<UserPreference[]> {\n      const query: Record<string, string> = {};\n      if (opts?.prefix) {\n        query.prefix = opts.prefix;\n      }\n\n      const result = await rb.execute(getAdminPreferences, { query }, options);\n      const records = (result as any)?.data ?? [];\n      return records.map((record: any) => ({\n        id: record.id,\n        workspaceId: record.attributes.workspace_id,\n        contextKey: record.attributes.context_key,\n        preferences: record.attributes.preferences,\n        createdAt: record.attributes.inserted_at,\n        updatedAt: record.attributes.updated_at,\n      }));\n    },\n  };\n}\n\nexport type PreferencesAPI = ReturnType<typeof createPreferencesNamespace>;\n","// Hand-maintained — override generation\nimport type { RequestOptions } from \"../base-client\";\nimport type { RequestBuilder } from \"../request-builder\";\n\n// ---------------------------------------------------------------------------\n// Types\n// ---------------------------------------------------------------------------\n\n/** Registry catalog — a named collection of registry items. */\nexport type RegistryCatalog = {\n  id: string;\n  name: string;\n  slug: string;\n  scope: \"platform\" | \"application\";\n  framework: \"vue\" | \"react\" | \"svelte\";\n  description?: string;\n  homepage?: string;\n  application_id?: string;\n  inserted_at: string;\n  updated_at: string;\n};\n\n/** Registry item — a single component definition in a catalog. */\nexport type RegistryItem = {\n  id: string;\n  name: string;\n  item_type:\n    | \"component\"\n    | \"block\"\n    | \"hook\"\n    | \"ui\"\n    | \"page\"\n    | \"lib\"\n    | \"theme\"\n    | \"style\"\n    | \"base\"\n    | \"font\"\n    | \"file\"\n    | \"item\";\n  title: string;\n  description?: string;\n  status: \"draft\" | \"published\" | \"deprecated\";\n  min_sdk_version?: string;\n  sdk_package: \"client\" | \"admin\" | \"both\" | \"none\";\n  tags: string[];\n  active_version_id?: string;\n  catalog_id: string;\n  inserted_at: string;\n  updated_at: string;\n};\n\n/** Registry version — immutable snapshot of a registry item. */\nexport type RegistryVersion = {\n  id: string;\n  version: string;\n  registry_item_json: Record<string, unknown>;\n  changelog?: string;\n  min_sdk_version?: string;\n  checksum: string;\n  registry_item_id: string;\n  inserted_at: string;\n  updated_at: string;\n};\n\n// ---------------------------------------------------------------------------\n// Attribute types\n// ---------------------------------------------------------------------------\n\n/** Attributes for creating a registry item. */\nexport type CreateRegistryItemAttributes = {\n  catalog_id: string;\n  name: string;\n  item_type: RegistryItem[\"item_type\"];\n  title: string;\n  description?: string;\n  status?: RegistryItem[\"status\"];\n  min_sdk_version?: string;\n  sdk_package?: RegistryItem[\"sdk_package\"];\n  tags?: string[];\n};\n\n/** Attributes for updating a registry item. */\nexport type UpdateRegistryItemAttributes = {\n  title?: string;\n  description?: string;\n  min_sdk_version?: string;\n  sdk_package?: RegistryItem[\"sdk_package\"];\n  tags?: string[];\n  status?: RegistryItem[\"status\"];\n  /**\n   * Set the active version directly. Prefer `versions.activate()` instead —\n   * it performs ownership validation and broadcasts publish events.\n   */\n  active_version_id?: string;\n};\n\n/** Attributes for creating a registry version. */\nexport type CreateRegistryVersionAttributes = {\n  version: string;\n  registry_item_json: Record<string, unknown>;\n  changelog?: string;\n  min_sdk_version?: string;\n};\n\n/** Filter options for listing registry items. */\nexport type ListItemsOptions = {\n  catalog_id?: string;\n  status?: RegistryItem[\"status\"];\n};\n\n/** Filter options for listing catalogs. */\nexport type ListCatalogsOptions = {\n  scope?: RegistryCatalog[\"scope\"];\n  framework?: RegistryCatalog[\"framework\"];\n};\n\n// ---------------------------------------------------------------------------\n// Namespace factory\n// ---------------------------------------------------------------------------\n\n/**\n * Creates the `registry` namespace for the admin SDK.\n *\n * Provides full platform-level access to registry catalogs, items,\n * and versions for component distribution management.\n *\n * @param rb - The RequestBuilder bound to the authenticated admin client.\n * @returns An object with items and catalogs sub-namespaces.\n *\n * @example\n * ```ts\n * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n * const items = await admin.registry.items.list();\n * const catalog = await admin.registry.catalogs.get(catalogId);\n * ```\n */\nexport function createRegistryNamespace(rb: RequestBuilder) {\n  return {\n    items: {\n      /**\n       * Lists all registry items, optionally filtered.\n       *\n       * @param filters - Optional filters (catalog_id, status).\n       * @param options - Optional request options.\n       * @returns Array of RegistryItem objects.\n       *\n       * @example\n       * ```ts\n       * const items = await admin.registry.items.list({ catalog_id: '...' });\n       * ```\n       */\n      list: async (\n        filters?: ListItemsOptions,\n        options?: RequestOptions,\n      ): Promise<RegistryItem[]> => {\n        const params = new URLSearchParams();\n        if (filters?.catalog_id) params.set(\"catalog_id\", filters.catalog_id);\n        if (filters?.status) params.set(\"status\", filters.status);\n        const qs = params.toString();\n        return rb.rawGet<RegistryItem[]>(\n          `/sys/registry/items${qs ? `?${qs}` : \"\"}`,\n          options,\n        );\n      },\n\n      /**\n       * Fetches a single registry item by ID.\n       *\n       * @param id - The UUID of the registry item.\n       * @param options - Optional request options.\n       * @returns The RegistryItem record.\n       *\n       * @example\n       * ```ts\n       * const item = await admin.registry.items.get('uuid...');\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<RegistryItem> => {\n        return rb.rawGet<RegistryItem>(`/sys/registry/items/${id}`, options);\n      },\n\n      /**\n       * Fetches a registry item by its kebab-case name.\n       *\n       * @param name - The kebab-case name of the item (e.g., \"data-table\").\n       * @param filters - Optional catalog_id filter.\n       * @param options - Optional request options.\n       * @returns The RegistryItem record.\n       *\n       * @example\n       * ```ts\n       * const item = await admin.registry.items.getByName('data-table');\n       * ```\n       */\n      getByName: async (\n        name: string,\n        filters?: { catalog_id?: string },\n        options?: RequestOptions,\n      ): Promise<RegistryItem> => {\n        const params = new URLSearchParams();\n        if (filters?.catalog_id) params.set(\"catalog_id\", filters.catalog_id);\n        const qs = params.toString();\n        return rb.rawGet<RegistryItem>(\n          `/sys/registry/items/by-name/${encodeURIComponent(name)}${qs ? `?${qs}` : \"\"}`,\n          options,\n        );\n      },\n\n      /**\n       * Creates a new registry item.\n       *\n       * @param attributes - The item attributes.\n       * @param options - Optional request options.\n       * @returns The created RegistryItem.\n       *\n       * @example\n       * ```ts\n       * const item = await admin.registry.items.create({\n       *   catalog_id: '...',\n       *   name: 'my-component',\n       *   item_type: 'component',\n       *   title: 'My Component',\n       * });\n       * ```\n       */\n      create: async (\n        attributes: CreateRegistryItemAttributes,\n        options?: RequestOptions,\n      ): Promise<RegistryItem> => {\n        const {\n          catalog_id,\n          name,\n          item_type,\n          title,\n          description,\n          status,\n          min_sdk_version,\n          sdk_package,\n          tags,\n        } = attributes;\n        return rb.rawPost<RegistryItem>(\n          \"/sys/registry/items\",\n          {\n            data: {\n              attributes: {\n                catalog_id,\n                name,\n                item_type,\n                title,\n                ...(description !== undefined && { description }),\n                ...(status !== undefined && { status }),\n                ...(min_sdk_version !== undefined && { min_sdk_version }),\n                ...(sdk_package !== undefined && { sdk_package }),\n                ...(tags !== undefined && { tags }),\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Updates a registry item's metadata.\n       *\n       * @param id - The UUID of the registry item.\n       * @param attributes - The attributes to update.\n       * @param options - Optional request options.\n       * @returns The updated RegistryItem.\n       *\n       * @example\n       * ```ts\n       * const updated = await admin.registry.items.update(id, { title: 'New Title' });\n       * ```\n       */\n      update: async (\n        id: string,\n        attributes: UpdateRegistryItemAttributes,\n        options?: RequestOptions,\n      ): Promise<RegistryItem> => {\n        const {\n          title,\n          description,\n          min_sdk_version,\n          sdk_package,\n          tags,\n          status,\n          active_version_id,\n        } = attributes;\n        return rb.rawPatch<RegistryItem>(\n          `/sys/registry/items/${id}`,\n          {\n            data: {\n              attributes: {\n                ...(title !== undefined && { title }),\n                ...(description !== undefined && { description }),\n                ...(min_sdk_version !== undefined && { min_sdk_version }),\n                ...(sdk_package !== undefined && { sdk_package }),\n                ...(tags !== undefined && { tags }),\n                ...(status !== undefined && { status }),\n                ...(active_version_id !== undefined && { active_version_id }),\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Deprecates a registry item (sets status to \"deprecated\").\n       * The server never hard-deletes — all items are soft-deprecated.\n       *\n       * @param id - The UUID of the registry item.\n       * @param options - Optional request options.\n       * @returns The deprecated RegistryItem.\n       *\n       * @example\n       * ```ts\n       * const deprecated = await admin.registry.items.deprecate(id);\n       * ```\n       */\n      deprecate: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<RegistryItem> => {\n        return rb.rawDelete<RegistryItem>(`/sys/registry/items/${id}`, options);\n      },\n\n      versions: {\n        /**\n         * Lists all versions for a registry item.\n         *\n         * @param itemId - The UUID of the parent registry item.\n         * @param options - Optional request options.\n         * @returns Array of RegistryVersion objects.\n         *\n         * @example\n         * ```ts\n         * const versions = await admin.registry.items.versions.list(itemId);\n         * ```\n         */\n        list: async (\n          itemId: string,\n          options?: RequestOptions,\n        ): Promise<RegistryVersion[]> => {\n          return rb.rawGet<RegistryVersion[]>(\n            `/sys/registry/items/${itemId}/versions`,\n            options,\n          );\n        },\n\n        /**\n         * Fetches a specific version by ID.\n         *\n         * @param itemId - The UUID of the parent registry item.\n         * @param versionId - The UUID of the version.\n         * @param options - Optional request options.\n         * @returns The RegistryVersion record.\n         *\n         * @example\n         * ```ts\n         * const version = await admin.registry.items.versions.get(itemId, versionId);\n         * ```\n         */\n        get: async (\n          itemId: string,\n          versionId: string,\n          options?: RequestOptions,\n        ): Promise<RegistryVersion> => {\n          return rb.rawGet<RegistryVersion>(\n            `/sys/registry/items/${itemId}/versions/${versionId}`,\n            options,\n          );\n        },\n\n        /**\n         * Creates a new version for a registry item.\n         * Automatically sets the item's active_version_id and\n         * transitions draft items to published.\n         *\n         * @param itemId - The UUID of the parent registry item.\n         * @param attributes - Version attributes (version string, JSON payload).\n         * @param options - Optional request options.\n         * @returns The created RegistryVersion.\n         *\n         * @example\n         * ```ts\n         * const version = await admin.registry.items.versions.create(itemId, {\n         *   version: '1.0.0',\n         *   registry_item_json: { name: 'button', type: 'registry:ui', files: [...] },\n         * });\n         * ```\n         */\n        create: async (\n          itemId: string,\n          attributes: CreateRegistryVersionAttributes,\n          options?: RequestOptions,\n        ): Promise<RegistryVersion> => {\n          const { version, registry_item_json, changelog, min_sdk_version } =\n            attributes;\n          return rb.rawPost<RegistryVersion>(\n            `/sys/registry/items/${itemId}/versions`,\n            {\n              data: {\n                attributes: {\n                  version,\n                  registry_item_json,\n                  ...(changelog !== undefined && { changelog }),\n                  ...(min_sdk_version !== undefined && { min_sdk_version }),\n                },\n              },\n            },\n            options,\n          );\n        },\n\n        /**\n         * Activates an existing version on its parent item.\n         * Sets active_version_id and transitions draft items to published.\n         *\n         * @param itemId - The UUID of the parent registry item.\n         * @param versionId - The UUID of the version to activate.\n         * @param options - Optional request options.\n         * @returns The updated RegistryItem with new active_version_id.\n         *\n         * @example\n         * ```ts\n         * const item = await admin.registry.items.versions.activate(itemId, versionId);\n         * ```\n         */\n        activate: async (\n          itemId: string,\n          versionId: string,\n          options?: RequestOptions,\n        ): Promise<RegistryItem> => {\n          return rb.rawPost<RegistryItem>(\n            `/sys/registry/items/${itemId}/activate`,\n            { data: { version_id: versionId } },\n            options,\n          );\n        },\n      },\n    },\n\n    catalogs: {\n      /**\n       * Lists all registry catalogs, optionally filtered.\n       *\n       * @param filters - Optional filters (scope, framework).\n       * @param options - Optional request options.\n       * @returns Array of RegistryCatalog objects.\n       *\n       * @example\n       * ```ts\n       * const catalogs = await admin.registry.catalogs.list({ framework: 'vue' });\n       * ```\n       */\n      list: async (\n        filters?: ListCatalogsOptions,\n        options?: RequestOptions,\n      ): Promise<RegistryCatalog[]> => {\n        const params = new URLSearchParams();\n        if (filters?.scope) params.set(\"scope\", filters.scope);\n        if (filters?.framework) params.set(\"framework\", filters.framework);\n        const qs = params.toString();\n        return rb.rawGet<RegistryCatalog[]>(\n          `/sys/registry/catalogs${qs ? `?${qs}` : \"\"}`,\n          options,\n        );\n      },\n\n      /**\n       * Fetches a single catalog by ID.\n       *\n       * @param id - The UUID of the catalog.\n       * @param options - Optional request options.\n       * @returns The RegistryCatalog record.\n       *\n       * @example\n       * ```ts\n       * const catalog = await admin.registry.catalogs.get(catalogId);\n       * ```\n       */\n      get: async (\n        id: string,\n        options?: RequestOptions,\n      ): Promise<RegistryCatalog> => {\n        return rb.rawGet<RegistryCatalog>(\n          `/sys/registry/catalogs/${id}`,\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport {\n  deleteAdminUserProfilesById,\n  getAdminUserProfiles,\n  getAdminUserProfilesById,\n  getAdminUserProfilesMe,\n  patchAdminUserProfilesById,\n  patchAdminUserProfilesByIdAcceptLegalDocument,\n  patchAdminUserProfilesByIdDismissAnnouncement,\n  patchAdminUserProfilesByIdDismissWelcome,\n  postAdminUserProfiles,\n} from \"../_internal/sdk.gen\";\nimport type { UserProfile } from \"../_internal/types.gen\";\nimport type { RequestOptions } from \"../base-client\";\nimport { RequestBuilder } from \"../request-builder\";\nimport { paginateToArray } from \"../pagination\";\nimport { buildPageQuery } from \"../namespace-types\";\nimport type { JsonApiQueryWithPage } from \"../namespace-types\";\n\n/** Attributes accepted when creating a user profile (admin). Mirrors resource accept list. */\n/**\n * Legal document types accepted by `admin.userProfiles.acceptLegalDocument`.\n * Mirrors the platform `LegalAcceptance.document_type` constraint.\n */\nexport type LegalDocumentType =\n  | \"terms_of_service\"\n  | \"privacy_policy\"\n  | \"baa\"\n  | \"dpa\"\n  | \"scc\"\n  | \"npp\"\n  | \"security_policy\"\n  | \"incident_response_plan\"\n  | \"contingency_plan\"\n  | \"access_control_policy\"\n  | \"risk_management_plan\"\n  | \"training_policy\"\n  | \"sanction_policy\"\n  | \"breach_notification_policy\"\n  | \"system_activity_review\"\n  | \"data_retention_policy\"\n  | \"minimum_necessary_policy\"\n  | \"authorization_form\";\n\nexport type CreateUserProfileAttributes = {\n  /** Required on admin surface: which user owns this profile. */\n  user_id: string;\n  first_name?: string;\n  last_name?: string;\n  avatar_url?: string;\n  bio?: string;\n  social_links?: Record<string, string>;\n  preferences?: Record<string, unknown>;\n};\n\n/** Attributes accepted when updating a user profile (admin). Mirrors resource accept list. */\nexport type UpdateUserProfileAttributes = {\n  first_name?: string;\n  last_name?: string;\n  avatar_url?: string;\n  bio?: string;\n  social_links?: Record<string, string>;\n  preferences?: Record<string, unknown>;\n};\n\n/**\n * Manages user profiles across all tenants (admin).\n *\n * Provides platform-level profile administration including ToS acceptance,\n * welcome/announcement dismissals, and profile CRUD.\n */\nexport function createUserProfilesNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Delete a user profile.\n     * @param id - User profile ID.\n     * @param options - Optional request options.\n     * @returns `true` when deletion succeeds.\n     * @example\n     * ```typescript\n     * await admin.userProfiles.delete(\"profile_123\");\n     * ```\n     */\n    delete: async (id: string, options?: RequestOptions): Promise<true> => {\n      return rb.executeDelete(\n        deleteAdminUserProfilesById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * List user profiles with optional pagination.\n     * @param options - Optional page, pageSize, and request options.\n     * @returns Array of user profiles.\n     * @example\n     * ```typescript\n     * const profiles = await admin.userProfiles.list({ page: 1, pageSize: 25 });\n     * ```\n     */\n    list: async (\n      options?: { page?: number; pageSize?: number } & RequestOptions,\n    ): Promise<UserProfile[]> => {\n      return rb.execute<UserProfile[]>(\n        getAdminUserProfiles,\n        buildPageQuery(options?.page, options?.pageSize),\n        options,\n      );\n    },\n\n    /**\n     * List all user profiles by fetching every page.\n     * @param options - Optional request options.\n     * @returns Complete array of user profiles.\n     * @example\n     * ```typescript\n     * const profiles = await admin.userProfiles.listAll();\n     * ```\n     */\n    listAll: async (options?: RequestOptions): Promise<UserProfile[]> => {\n      return paginateToArray(\n        rb.createPaginatedFetcher<UserProfile>(\n          getAdminUserProfiles,\n          (page, pageSize): JsonApiQueryWithPage => ({\n            query: { page: { number: page, size: pageSize } },\n          }),\n          options,\n        ),\n      );\n    },\n\n    /**\n     * Get a user profile by ID.\n     * @param id - User profile ID.\n     * @param options - Optional request options.\n     * @returns The requested user profile.\n     * @example\n     * ```typescript\n     * const profile = await admin.userProfiles.get(\"profile_123\");\n     * ```\n     */\n    get: async (id: string, options?: RequestOptions): Promise<UserProfile> => {\n      return rb.execute<UserProfile>(\n        getAdminUserProfilesById,\n        { path: { id } },\n        options,\n      );\n    },\n\n    /**\n     * Create a user profile.\n     * @param attributes.user_id - Required target user that owns this profile; admin keys do not infer it from the actor.\n     * @param attributes - Profile attributes to create.\n     * @param options - Optional request options.\n     * @returns The created user profile.\n     * @example\n     * ```typescript\n     * await admin.userProfiles.create({ user_id: \"user_123\", first_name: \"Ada\" });\n     * ```\n     */\n    create: async (\n      attributes: CreateUserProfileAttributes,\n      options?: RequestOptions,\n    ): Promise<UserProfile> => {\n      const {\n        first_name,\n        last_name,\n        avatar_url,\n        bio,\n        social_links,\n        preferences,\n        user_id,\n      } = attributes;\n\n      return rb.execute<UserProfile>(\n        postAdminUserProfiles,\n        {\n          body: {\n            data: {\n              type: \"user-profile\",\n              attributes: {\n                first_name,\n                last_name,\n                avatar_url,\n                bio,\n                social_links,\n                preferences,\n                user_id,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Update a user profile.\n     * @param id - User profile ID.\n     * @param attributes - Profile attributes to update.\n     * @param options - Optional request options.\n     * @returns The updated user profile.\n     * @example\n     * ```typescript\n     * await admin.userProfiles.update(\"profile_123\", { first_name: \"Ada\" });\n     * ```\n     */\n    update: async (\n      id: string,\n      attributes: UpdateUserProfileAttributes,\n      options?: RequestOptions,\n    ): Promise<UserProfile> => {\n      const {\n        first_name,\n        last_name,\n        avatar_url,\n        bio,\n        social_links,\n        preferences,\n      } = attributes;\n\n      return rb.execute<UserProfile>(\n        patchAdminUserProfilesById,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"user-profile\",\n              attributes: {\n                first_name,\n                last_name,\n                avatar_url,\n                bio,\n                social_links,\n                preferences,\n              },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Get the current user's profile.\n     * @param options - Optional request options.\n     * @returns The current caller's user profile.\n     * @example\n     * ```typescript\n     * const profile = await admin.userProfiles.me();\n     * ```\n     */\n    me: async (options?: RequestOptions): Promise<UserProfile> => {\n      return rb.execute<UserProfile>(getAdminUserProfilesMe, {}, options);\n    },\n\n    /**\n     * Accept a legal document at a given version. Generic over document\n     * type — same shape for ToS, Privacy Policy, BAA, DPA, and any other\n     * document the platform tracks. Records a `LegalAcceptance` row scoped\n     * to the calling application; for `terms_of_service` the platform also\n     * auto-grants `:ai_document_processing` consent.\n     *\n     * Replaces the legacy `acceptTos(id, version, ppVersion?)`. Accept one\n     * document per call. RFI-C5-R.\n     *\n     * @param id - Profile ID\n     * @param documentType - Legal document type (e.g. \"terms_of_service\",\n     *                       \"privacy_policy\", \"baa\")\n     * @param version - The active version of that document\n     * @param options - Optional request options.\n     * @returns The updated user profile.\n     * @example\n     * ```typescript\n     * await admin.userProfiles.acceptLegalDocument(\n     *   \"profile_123\",\n     *   \"terms_of_service\",\n     *   \"2026-04-01\",\n     * );\n     * ```\n     */\n    acceptLegalDocument: async (\n      id: string,\n      documentType: LegalDocumentType,\n      version: string,\n      options?: RequestOptions,\n    ): Promise<UserProfile> => {\n      return rb.execute<UserProfile>(\n        patchAdminUserProfilesByIdAcceptLegalDocument,\n        {\n          path: { id },\n          body: {\n            data: {\n              id,\n              type: \"user-profile\",\n              attributes: { document_type: documentType, version },\n            },\n          },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Dismiss the welcome message for this profile.\n     * @param id - User profile ID.\n     * @param options - Optional request options.\n     * @returns The updated user profile.\n     * @example\n     * ```typescript\n     * await admin.userProfiles.dismissWelcome(\"profile_123\");\n     * ```\n     */\n    dismissWelcome: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<UserProfile> => {\n      return rb.execute<UserProfile>(\n        patchAdminUserProfilesByIdDismissWelcome,\n        {\n          path: { id },\n          body: { data: { id, type: \"user-profile\", attributes: {} } },\n        },\n        options,\n      );\n    },\n\n    /**\n     * Dismiss the announcement banner for this profile.\n     * @param id - User profile ID.\n     * @param options - Optional request options.\n     * @returns The updated user profile.\n     * @example\n     * ```typescript\n     * await admin.userProfiles.dismissAnnouncement(\"profile_123\");\n     * ```\n     */\n    dismissAnnouncement: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<UserProfile> => {\n      return rb.execute<UserProfile>(\n        patchAdminUserProfilesByIdDismissAnnouncement,\n        {\n          path: { id },\n          body: { data: { id, type: \"user-profile\", attributes: {} } },\n        },\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — custom Phoenix controller (not AshJsonApi)\nimport type { RequestOptions } from \"../base-client\";\nimport type { RequestBuilder } from \"../request-builder\";\n\n/** A single namespace within a surface, containing scopes and a description. */\nexport interface ScopeNamespace {\n  /** Human-readable description of this namespace. */\n  description: string;\n  /** List of scope strings (e.g., \"extraction:read\", \"extraction:create\"). */\n  scopes: string[];\n}\n\n/** A surface grouping: description, applicable key types, and namespaced scopes. */\nexport interface ScopeSurface {\n  /** Human-readable description of this API surface. */\n  description: string;\n  /** API key prefixes applicable to this surface. */\n  key_types: string[];\n  /** Scopes organized by namespace. */\n  namespaces: Record<string, ScopeNamespace>;\n}\n\n/** Full scope catalog response from GET /scopes. */\nexport interface ScopeCatalog {\n  /** End-user operations (sk_app_, sk_tenant_ + Bearer). */\n  client: ScopeSurface;\n  /** ISV/tenant administration (sk_srv_, sk_tenant_ + Bearer). */\n  isv: ScopeSurface;\n  /** Platform operations (sk_sys_) — all scopes. */\n  platform: ScopeSurface;\n}\n\n/**\n * Scopes namespace factory (admin surface).\n *\n * Provides read-only access to the platform scope catalog, organized\n * by API surface and namespace. Useful when building API key creation\n * UIs where ISVs select scopes for server keys.\n *\n * @param rb - The request builder used for API communication.\n * @returns Scopes namespace with `list`.\n */\nexport function createScopesNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * List all available API key scopes grouped by surface and namespace.\n     *\n     * @param reqOptions - Optional request options.\n     * @returns Scope catalog with client, isv, and platform surfaces.\n     *\n     * @example\n     * ```typescript\n     * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n     *\n     * const catalog = await admin.scopes.list();\n     *\n     * // Get all ISV-relevant scopes for server key creation\n     * for (const [ns, info] of Object.entries(catalog.isv.namespaces)) {\n     *   console.log(`${ns}: ${info.scopes.join(', ')}`);\n     * }\n     * ```\n     */\n    async list(reqOptions?: RequestOptions): Promise<ScopeCatalog> {\n      return rb.rawGet<ScopeCatalog>(\"/scopes\", reqOptions);\n    },\n  };\n}\n","// Hand-maintained — override generation\nimport type { RequestOptions } from \"../base-client\";\nimport type { RequestBuilder } from \"../request-builder\";\n\n// ---------------------------------------------------------------------------\n// Types\n// ---------------------------------------------------------------------------\n\n/** A platform theme record — shadcn-compatible design token bundle. */\nexport type Theme = {\n  id: string;\n  name: string;\n  slug: string;\n  description?: string | null;\n  tokens: Record<string, unknown>;\n  preset:\n    | \"neutral\"\n    | \"healthcare\"\n    | \"legal\"\n    | \"ios\"\n    | \"material\"\n    | \"fluent\"\n    | \"slds\"\n    | \"polaris\"\n    | \"custom\";\n  tenant_id?: string | null;\n  application_id?: string | null;\n  workspace_id?: string | null;\n  is_system: boolean;\n  source_registry_url?: string | null;\n  inserted_at: string;\n  updated_at: string;\n};\n\n/** A single contrast-check entry produced by the contrast report. */\nexport type ContrastEntry = {\n  pair: string;\n  ratio: number;\n  aa: boolean;\n  aaa: boolean;\n};\n\n/** Result of the contrast-report action on a theme. */\nexport type ThemeContrastReport = {\n  passing: ContrastEntry[];\n  warnings: ContrastEntry[];\n};\n\n// ---------------------------------------------------------------------------\n// Attribute types\n// ---------------------------------------------------------------------------\n\n/** Attributes for creating a theme. */\nexport type CreateThemeAttributes = {\n  /** Required. Human-readable theme name. */\n  name: string;\n  /** Required. URL-safe slug — immutable after creation. */\n  slug: string;\n  /** Optional description of this theme. */\n  description?: string;\n  /** Design token map (shadcn registry-item.json subset). Defaults to empty object. */\n  tokens?: Record<string, unknown>;\n  /** Design preset. Defaults to \"neutral\". */\n  preset?:\n    | \"neutral\"\n    | \"healthcare\"\n    | \"legal\"\n    | \"ios\"\n    | \"material\"\n    | \"fluent\"\n    | \"slds\"\n    | \"polaris\"\n    | \"custom\";\n  /** Scoping — omit for platform-wide themes. */\n  tenant_id?: string;\n  /** Scoping — omit for platform-wide themes. */\n  application_id?: string;\n  /** Scoping — omit for platform-wide themes. */\n  workspace_id?: string;\n  /** Platform-only flag. Marks the theme as a built-in system theme. */\n  is_system?: boolean;\n  /** Original shadcn/UI registry URL this theme was imported from. */\n  source_registry_url?: string;\n};\n\n/** Attributes for updating a theme (PATCH semantics — all fields optional). */\nexport type UpdateThemeAttributes = {\n  name?: string;\n  description?: string;\n  tokens?: Record<string, unknown>;\n  preset?:\n    | \"neutral\"\n    | \"healthcare\"\n    | \"legal\"\n    | \"ios\"\n    | \"material\"\n    | \"fluent\"\n    | \"slds\"\n    | \"polaris\"\n    | \"custom\";\n  is_system?: boolean;\n  source_registry_url?: string;\n};\n\n/** Arguments for the import-from-url action. */\nexport type ImportThemeFromUrlArgs = {\n  /** Public URL of a shadcn/UI registry-item.json file. */\n  url: string;\n  /** Override the imported theme's name. */\n  name?: string;\n  /** Override the imported theme's slug. */\n  slug?: string;\n  /** Scope the imported theme to an application. */\n  application_id?: string;\n  /** Scope the imported theme to a workspace. */\n  workspace_id?: string;\n};\n\n/** Result of import-from-url — the created theme plus any fields stripped during import. */\nexport type ImportThemeFromUrlResult = {\n  theme: Theme;\n  stripped_fields: string[];\n};\n\n// ---------------------------------------------------------------------------\n// Namespace factory\n// ---------------------------------------------------------------------------\n\n/**\n * Creates the `themes` namespace for the admin SDK.\n *\n * Provides full platform-level access to theme management including CRUD,\n * registry import, and WCAG contrast reporting across all workspaces.\n *\n * @param rb - The RequestBuilder bound to the authenticated admin client.\n * @returns An object with all theme-related methods.\n *\n * @example\n * ```ts\n * const admin = new GptAdmin({ apiKey: 'sk_srv_...' });\n * const themes = await admin.themes.list();\n * const theme = await admin.themes.get(themeId);\n * ```\n */\nexport function createThemesNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * Lists all themes visible to the current actor.\n     *\n     * @param options - Optional request options (pagination, filters, sorting).\n     * @returns A list of `Theme` records.\n     *\n     * @example\n     * ```ts\n     * const themes = await admin.themes.list();\n     * ```\n     */\n    list: async (options?: RequestOptions): Promise<Theme[]> => {\n      return rb.rawGet<Theme[]>(\"/isv/themes\", options);\n    },\n\n    /**\n     * Fetches a single theme by ID.\n     *\n     * @param id - The UUID of the theme.\n     * @param options - Optional request options.\n     * @returns The `Theme` record.\n     *\n     * @example\n     * ```ts\n     * const theme = await admin.themes.get(\"theme-uuid\");\n     * ```\n     */\n    get: async (id: string, options?: RequestOptions): Promise<Theme> => {\n      return rb.rawGet<Theme>(`/isv/themes/${id}`, options);\n    },\n\n    /**\n     * Creates a new theme.\n     *\n     * @param attributes - Theme attributes (name, slug, tokens, preset, scoping).\n     * @param options - Optional request options.\n     * @returns The created `Theme`.\n     *\n     * @example\n     * ```ts\n     * const theme = await admin.themes.create({\n     *   name: \"Healthcare Dark\",\n     *   slug: \"healthcare-dark\",\n     *   preset: \"healthcare\",\n     *   tokens: { \"--primary\": \"210 100% 56%\" },\n     * });\n     * ```\n     */\n    create: async (\n      attributes: CreateThemeAttributes,\n      options?: RequestOptions,\n    ): Promise<Theme> => {\n      return rb.rawPost<Theme>(\n        \"/isv/themes\",\n        { data: { type: \"theme\", attributes } },\n        options,\n      );\n    },\n\n    /**\n     * Updates a theme by ID (PATCH semantics — only send fields to change).\n     *\n     * @param id - The UUID of the theme.\n     * @param attributes - Fields to update.\n     * @param options - Optional request options.\n     * @returns The updated `Theme`.\n     *\n     * @example\n     * ```ts\n     * const updated = await admin.themes.update(\"theme-uuid\", {\n     *   name: \"Healthcare Dark v2\",\n     * });\n     * ```\n     */\n    update: async (\n      id: string,\n      attributes: UpdateThemeAttributes,\n      options?: RequestOptions,\n    ): Promise<Theme> => {\n      return rb.rawPatch<Theme>(\n        `/isv/themes/${id}`,\n        { data: { id, type: \"theme\", attributes } },\n        options,\n      );\n    },\n\n    /**\n     * Permanently deletes a theme by ID.\n     *\n     * @param id - The UUID of the theme to delete.\n     * @param options - Optional request options.\n     * @returns `true` on success.\n     *\n     * @example\n     * ```ts\n     * await admin.themes.destroy(\"theme-uuid\");\n     * ```\n     */\n    destroy: async (id: string, options?: RequestOptions): Promise<true> => {\n      await rb.rawDelete<void>(`/isv/themes/${id}`, options);\n      return true;\n    },\n\n    /**\n     * Imports a theme from a public shadcn/UI registry-item.json URL.\n     *\n     * The server fetches the URL, parses the registry item JSON, maps\n     * design tokens into the platform token schema, and creates the theme.\n     * Fields not recognised by the platform schema are stripped and returned\n     * in `stripped_fields` so callers can audit what was dropped.\n     *\n     * @param args - URL (required) plus optional overrides and scoping.\n     * @param options - Optional request options.\n     * @returns The imported `Theme` record and the `stripped_fields` array.\n     *\n     * @example\n     * ```ts\n     * const { theme, stripped_fields } = await admin.themes.importFromUrl({\n     *   url: \"https://ui.shadcn.com/registry/themes/rose.json\",\n     *   name: \"Rose\",\n     *   application_id: \"app-uuid\",\n     * });\n     * if (stripped_fields.length > 0) {\n     *   console.warn(\"Dropped fields:\", stripped_fields);\n     * }\n     * ```\n     */\n    importFromUrl: async (\n      args: ImportThemeFromUrlArgs,\n      options?: RequestOptions,\n    ): Promise<ImportThemeFromUrlResult> => {\n      return rb.rawPost<ImportThemeFromUrlResult>(\n        \"/isv/themes/import-from-url\",\n        { data: { type: \"theme\", attributes: args } },\n        options,\n      );\n    },\n\n    /**\n     * Returns a WCAG contrast report for the theme's token set.\n     *\n     * Evaluates foreground/background colour pairs defined in the theme's\n     * tokens against WCAG 2.1 AA and AAA contrast ratio thresholds.\n     *\n     * @param id - The UUID of the theme.\n     * @param options - Optional request options.\n     * @returns `passing` and `warnings` arrays of contrast entries.\n     *\n     * @example\n     * ```ts\n     * const { passing, warnings } = await admin.themes.getContrastReport(\"theme-uuid\");\n     * if (warnings.length > 0) {\n     *   console.warn(\"Contrast warnings:\", warnings);\n     * }\n     * ```\n     */\n    getContrastReport: async (\n      id: string,\n      options?: RequestOptions,\n    ): Promise<ThemeContrastReport> => {\n      return rb.rawGet<ThemeContrastReport>(\n        `/isv/themes/${id}/contrast-report`,\n        options,\n      );\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Regenerate with: mix update.sdks (this file is preserved across regenerations)\n\nimport { RequestBuilder } from \"../request-builder\";\nimport type { RequestOptions } from \"../base-client\";\nimport type {\n  FormDeployment,\n  FormGenerationJob,\n  FormVersion,\n  WorkspaceFormConfig,\n} from \"../_internal/types.gen\";\nimport {\n  deleteAdminFormDeploymentsById,\n  deleteAdminWorkspaceFormConfigsById,\n  getAdminFormDeployments,\n  getAdminFormDeploymentsById,\n  getAdminFormGenerations,\n  getAdminFormGenerationsById,\n  getAdminWorkspaceFormConfigs,\n  getAdminWorkspaceFormConfigsById,\n  patchAdminFormDeploymentsById,\n  patchAdminFormDeploymentsByIdAcceptUpdate,\n  patchAdminFormGenerationsByIdCancel,\n  patchAdminFormVersionsByIdClassifyField,\n  patchAdminWorkspaceFormConfigsById,\n  postAdminFormDeployments,\n  postAdminFormGenerations,\n  postAdminWorkspaceFormConfigs,\n} from \"../_internal/sdk.gen\";\n\nexport type {\n  FormDeployment,\n  FormGenerationJob,\n  FormVersion,\n  WorkspaceFormConfig,\n};\n\n/**\n * Mirror of `GptCore.Tenancy.SealPolicy` embedded resource. Simple\n * fields use `\"sealed\" | \"open\"` atoms; per-field pinning uses\n * string arrays.\n *\n * KEEP IN SYNC with the duplicate definition in\n * `sdks/ts/packages/client/src/namespaces/forms.ts`. The admin SDK\n * intentionally does not depend on the client SDK, so this type is\n * maintained in two places. When `GptCore.Tenancy.SealPolicy` gains\n * a field, update both.\n */\nexport type SealPolicyShape = {\n  prompt_template?: \"sealed\" | \"open\";\n  instructions?: \"sealed\" | \"open\";\n  default_instructions?: \"sealed\" | \"open\";\n  model_id?: \"sealed\" | \"open\";\n  temperature?: \"sealed\" | \"open\";\n  execution_mode?: \"sealed\" | \"open\";\n  output_schema_locked?: \"sealed\" | \"open\";\n  layout_locked?: \"sealed\" | \"open\";\n  logic_locked?: \"sealed\" | \"open\";\n  theme_locked?: \"sealed\" | \"open\";\n  output_schema?: \"sealed\" | \"open\";\n  layout_tree?: \"sealed\" | \"open\";\n  logic_rules?: \"sealed\" | \"open\";\n  theme_id?: \"sealed\" | \"open\";\n  theme_overrides?: \"sealed\" | \"open\";\n  custom_css?: \"sealed\" | \"open\";\n  assistant_agent_version_id?: \"sealed\" | \"open\";\n  access_mode?: \"sealed\" | \"open\";\n  allowed_origins?: \"sealed\" | \"open\";\n  min_submit_delay_ms?: \"sealed\" | \"open\";\n  disclose_logic_trace?: \"sealed\" | \"open\";\n  data_retention_days?: \"sealed\" | \"open\";\n  abandonment_threshold_days?: \"sealed\" | \"open\";\n  public_key_jwk?: \"sealed\" | \"open\";\n  output_schema_pins?: string[];\n  input_schema_pins?: string[];\n  tool_grant_pins?: string[];\n};\n\n/**\n * Attributes for creating a `FormDeployment` (admin SDK mirror of the\n * client SDK `CreateFormDeploymentAttributes`).\n */\nexport type CreateFormDeploymentAttributes = {\n  form_id: string;\n  application_id: string;\n  tenant_id: string;\n  pinned_version_id?: string | null;\n  effective_version_id: string;\n  is_application_default?: boolean;\n  auto_deploy?: boolean;\n  allow_tenant_clone?: boolean;\n  overrides?: Record<string, unknown>;\n  seal_policy?: SealPolicyShape;\n};\n\nexport type UpdateFormDeploymentAttributes = {\n  pinned_version_id?: string | null;\n  is_application_default?: boolean;\n  auto_deploy?: boolean;\n  allow_tenant_clone?: boolean;\n  overrides?: Record<string, unknown>;\n  seal_policy?: SealPolicyShape;\n};\n\nexport type CreateWorkspaceFormConfigAttributes = {\n  workspace_id: string;\n  form_deployment_id: string;\n  overrides?: Record<string, unknown>;\n  schema_overrides?: Record<string, unknown>;\n};\n\nexport type UpdateWorkspaceFormConfigAttributes = {\n  overrides?: Record<string, unknown>;\n  schema_overrides?: Record<string, unknown>;\n};\n\n/**\n * One of the 8 fixed classes from `Compliance.FieldClassificationRegistry`.\n * Mirrors the client SDK's `ProtectionClass` type — kept inline because the\n * admin package doesn't depend on the client package.\n */\nexport type ProtectionClass =\n  | \"public\"\n  | \"pii\"\n  | \"pii_sensitive\"\n  | \"phi\"\n  | \"pci_pan\"\n  | \"pci_cvv\"\n  | \"secret\"\n  | \"custom\";\n\n/**\n * Input for `admin.forms.versions.classifyField`.\n *\n * Matches the resource's `:classify_field` action arguments:\n *   - `fieldPath` (required) — the property name in output_schema.properties\n *   - `protectionClass` (required) — one of the 8 ProtectionClass atoms\n *   - `customLabel` (required if protectionClass === \"custom\"; otherwise optional)\n */\nexport interface ClassifyFieldInput {\n  fieldPath: string;\n  protectionClass: ProtectionClass;\n  customLabel?: string;\n}\n\n/**\n * Attributes accepted when creating a form-generation job (admin).\n *\n * Matches the resource `accept` list on\n * `GptCore.Forms.Resources.FormGenerationJob` (`:create`):\n * `[:prompt, :application_id, :actor_user_id]`.\n */\nexport interface CreateFormGenerationJobInput {\n  /** Natural-language description of the form to generate. */\n  prompt: string;\n  /** Application UUID the job belongs to (drives tenant resolution). */\n  application_id: string;\n  /** Optional User UUID for audit trail; omit for purely server-driven runs. */\n  actor_user_id?: string | null;\n}\n\n/** Filter + pagination args for `forms.generations.list`. */\nexport interface ListFormGenerationsArgs {\n  /** Workspace UUID — required by the resource's tenant filter. */\n  workspace_id: string;\n  /** Optional status filter; omit to return all jobs. */\n  status?: \"pending\" | \"running\" | \"completed\" | \"failed\";\n  /** Page size (JSON:API `page[limit]`). */\n  limit?: number;\n  /** Page offset (JSON:API `page[offset]`). */\n  offset?: number;\n}\n\n/**\n * AI Form Generation (Slice 5).\n *\n * Creates a pending `FormGenerationJob`, enqueues the worker, and returns the\n * job row immediately. Poll `get` until `status` is `completed` or `failed`,\n * or subscribe to the `generation_completed` / `generation_failed` events on\n * the `forms:{workspace_id}` channel.\n */\nexport function createFormsNamespace(rb: RequestBuilder) {\n  return {\n    /**\n     * AI form-generation job lifecycle: create, poll, list, cancel.\n     */\n    generations: {\n      /**\n       * Kick off a new AI form generation. Returns a `:pending` job; the\n       * worker transitions it through `:running` to `:completed` or `:failed`.\n       *\n       * @param input - Prompt, application_id, and optional actor_user_id.\n       * @param options - Optional request options.\n       * @returns The newly created `FormGenerationJob` (status `:pending`).\n       *\n       * @example\n       * ```typescript\n       * const job = await admin.forms.generations.create({\n       *   prompt: \"HIPAA-compliant patient intake form\",\n       *   application_id: \"<app-uuid>\",\n       * });\n       * ```\n       */\n      create(\n        input: CreateFormGenerationJobInput,\n        options?: RequestOptions,\n      ): Promise<FormGenerationJob> {\n        const { prompt, application_id, actor_user_id } = input;\n        return rb.execute<FormGenerationJob>(\n          postAdminFormGenerations,\n          {\n            body: {\n              data: {\n                type: \"form-generation-job\",\n                attributes: {\n                  prompt,\n                  application_id,\n                  actor_user_id: actor_user_id ?? null,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Fetch a single job by id.\n       *\n       * @param id - Job UUID.\n       * @param options - Optional request options.\n       * @returns The matching `FormGenerationJob`.\n       */\n      get(id: string, options?: RequestOptions): Promise<FormGenerationJob> {\n        return rb.execute<FormGenerationJob>(\n          getAdminFormGenerationsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * List jobs for a workspace; optionally filter by status.\n       *\n       * @param args - Workspace ID (required), optional status, limit, offset.\n       * @param options - Optional request options.\n       * @returns Array of `FormGenerationJob` rows ordered by `started_at` desc.\n       *\n       * @example\n       * ```typescript\n       * const jobs = await admin.forms.generations.list({\n       *   workspace_id: \"<ws-uuid>\",\n       *   status: \"completed\",\n       *   limit: 50,\n       * });\n       * ```\n       */\n      list(\n        args: ListFormGenerationsArgs,\n        options?: RequestOptions,\n      ): Promise<FormGenerationJob[]> {\n        const query: Record<string, string> = {\n          \"filter[workspace_id]\": args.workspace_id,\n        };\n        if (args.status) query[\"filter[status]\"] = args.status;\n        if (args.limit !== undefined) query[\"page[limit]\"] = String(args.limit);\n        if (args.offset !== undefined)\n          query[\"page[offset]\"] = String(args.offset);\n\n        return rb.execute<FormGenerationJob[]>(\n          getAdminFormGenerations,\n          { query },\n          options,\n        );\n      },\n\n      /**\n       * Cancel a pending or running job.\n       *\n       * **Idempotent when the job is already terminal at call time** —\n       * cancelling a job whose loaded status is `:completed` or `:failed`\n       * returns the row unchanged.\n       *\n       * **Concurrent-transition note:** if the worker transitions the job\n       * to a terminal state between the server-side load and the SQL\n       * UPDATE, the server returns a stale-record 4xx. Re-fetch the job\n       * via `get` to observe the actual terminal state — the worker's\n       * outcome is preserved.\n       *\n       * Routed as `PATCH /form-generations/:id/cancel` (the resource exposes\n       * a `:cancel` update action; DELETE was avoided because AshJsonApi\n       * does not support DELETE bodies for state-transitions).\n       *\n       * @param id - Job UUID.\n       * @param options - Optional request options.\n       * @returns The updated `FormGenerationJob` row.\n       *\n       * @example\n       * ```typescript\n       * const job = await admin.forms.generations.cancel(jobId);\n       * ```\n       */\n      cancel(id: string, options?: RequestOptions): Promise<FormGenerationJob> {\n        return rb.execute<FormGenerationJob>(\n          patchAdminFormGenerationsByIdCancel,\n          {\n            path: { id },\n            body: {\n              data: { id, type: \"form-generation-job\", attributes: {} },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Form version administrative operations.\n     */\n    versions: {\n      /**\n       * Set the protection class for a single field on a form version.\n       *\n       * Mutates `output_schema.properties[fieldPath][\"x-protection-class\"]`\n       * in place (does NOT create a new version row). Broadcasts a\n       * `forms.version.published` event with `classification_deltas`.\n       *\n       * Authorization: `sk_sys_` keys (platform admin) OR `sk_srv_`/`sk_app_`\n       * keys carrying the `forms:admin` scope.\n       *\n       * @param formVersionId - UUID of the form version to mutate.\n       * @param input - Field path, target class, and (for `custom`) custom label.\n       * @param options - Optional request options.\n       * @returns The updated `FormVersion` row.\n       *\n       * @example\n       * ```typescript\n       * await admin.forms.versions.classifyField(\"ver-uuid\", {\n       *   fieldPath: \"patient.ssn\",\n       *   protectionClass: \"pii_sensitive\",\n       * });\n       * ```\n       */\n      classifyField(\n        formVersionId: string,\n        input: ClassifyFieldInput,\n        options?: RequestOptions,\n      ): Promise<FormVersion> {\n        const { fieldPath, protectionClass, customLabel } = input;\n\n        return rb.execute<FormVersion>(\n          patchAdminFormVersionsByIdClassifyField,\n          {\n            path: { id: formVersionId },\n            body: {\n              data: {\n                id: formVersionId,\n                type: \"form-version\",\n                attributes: {\n                  field_path: fieldPath,\n                  protection_class: protectionClass,\n                  ...(customLabel !== undefined && {\n                    custom_label: customLabel,\n                  }),\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Form deployment governance — application-scoped deployments binding\n     * a Form to an Application with version pinning, typed seal policy,\n     * and update-tracking lifecycle. Capability-gated by\n     * `:forms_deployment_governance` (premium tier).\n     */\n    deployments: {\n      /**\n       * List all FormDeployments visible to the actor's application context.\n       *\n       * @param options - Optional request options.\n       * @returns Promise resolving to an array of `FormDeployment` records.\n       */\n      list(options?: RequestOptions): Promise<FormDeployment[]> {\n        return rb.execute<FormDeployment[]>(\n          getAdminFormDeployments,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Fetch a single FormDeployment by id.\n       *\n       * @param id - UUID of the FormDeployment.\n       * @param options - Optional request options.\n       * @returns Promise resolving to the requested `FormDeployment`.\n       */\n      get(id: string, options?: RequestOptions): Promise<FormDeployment> {\n        return rb.execute<FormDeployment>(\n          getAdminFormDeploymentsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a FormDeployment binding a Form to an Application. Tracking\n       * mode (no `pinned_version_id`) follows the form's active version;\n       * pinned mode freezes a specific version until the ISV calls\n       * `acceptUpdate` after a tracking-worker notification.\n       *\n       * @param attributes - Typed create attributes including `form_id`,\n       *   `application_id`, `tenant_id`, optional `pinned_version_id`,\n       *   `effective_version_id`, `seal_policy`, and lifecycle flags.\n       * @param options - Optional request options.\n       * @returns Promise resolving to the created `FormDeployment`.\n       *\n       * @example\n       *   const deployment = await admin.forms.deployments.create({\n       *     form_id, application_id, tenant_id,\n       *     effective_version_id: version.id,\n       *     seal_policy: { custom_css: \"sealed\", output_schema_pins: [\"fld_protected\"] },\n       *   });\n       */\n      create(\n        attributes: CreateFormDeploymentAttributes,\n        options?: RequestOptions,\n      ): Promise<FormDeployment> {\n        const {\n          form_id,\n          application_id,\n          tenant_id,\n          pinned_version_id,\n          effective_version_id,\n          is_application_default,\n          auto_deploy,\n          allow_tenant_clone,\n          overrides,\n          seal_policy,\n        } = attributes;\n        return rb.execute<FormDeployment>(\n          postAdminFormDeployments,\n          {\n            body: {\n              data: {\n                type: \"form-deployment\",\n                attributes: {\n                  form_id,\n                  application_id,\n                  tenant_id,\n                  pinned_version_id,\n                  effective_version_id,\n                  is_application_default,\n                  auto_deploy,\n                  allow_tenant_clone,\n                  overrides,\n                  seal_policy,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing FormDeployment. `effective_version_id`,\n       * `application_id`, `tenant_id`, and `form_id` are immutable —\n       * use `create` to bind a new deployment.\n       *\n       * @param id - UUID of the FormDeployment to update.\n       * @param attributes - Patch attributes. Pass only the fields to change.\n       * @param options - Optional request options.\n       * @returns Promise resolving to the updated `FormDeployment`.\n       *\n       * @example\n       *   await admin.forms.deployments.update(deployment.id, {\n       *     auto_deploy: true,\n       *     seal_policy: { ...existing, theme_id: \"sealed\" },\n       *   });\n       */\n      update(\n        id: string,\n        attributes: UpdateFormDeploymentAttributes,\n        options?: RequestOptions,\n      ): Promise<FormDeployment> {\n        const {\n          pinned_version_id,\n          is_application_default,\n          auto_deploy,\n          allow_tenant_clone,\n          overrides,\n          seal_policy,\n        } = attributes;\n        return rb.execute<FormDeployment>(\n          patchAdminFormDeploymentsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"form-deployment\",\n                attributes: {\n                  pinned_version_id,\n                  is_application_default,\n                  auto_deploy,\n                  allow_tenant_clone,\n                  overrides,\n                  seal_policy,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Promote `available_version_id` to `effective_version_id` after the\n       * `FormVersionTrackingWorker` has notified this deployment of a new\n       * version. Resets `update_available` to false. Errors when no update\n       * is pending.\n       *\n       * @param id - UUID of the FormDeployment.\n       * @param options - Optional request options.\n       * @returns Promise resolving to the deployment with promoted version.\n       *\n       * @example\n       *   await admin.forms.deployments.acceptUpdate(deployment.id);\n       */\n      acceptUpdate(\n        id: string,\n        options?: RequestOptions,\n      ): Promise<FormDeployment> {\n        return rb.execute<FormDeployment>(\n          patchAdminFormDeploymentsByIdAcceptUpdate,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"form-deployment\",\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a FormDeployment. Capability-gated — emits\n       * `[:gpt_core, :forms, :deployment_governance, :rejected]` telemetry\n       * if the owning Application lacks `:forms_deployment_governance`.\n       *\n       * @param id - UUID of the FormDeployment to delete.\n       * @param options - Optional request options.\n       * @returns Promise resolving to `true` on success.\n       *\n       * @example\n       *   await admin.forms.deployments.destroy(deployment.id);\n       */\n      destroy(id: string, options?: RequestOptions): Promise<boolean> {\n        return rb.execute<boolean>(\n          deleteAdminFormDeploymentsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n\n    /**\n     * Workspace form configs — workspace-level overrides applied on top\n     * of a parent `FormDeployment`, gated by the deployment's seal policy.\n     */\n    workspaceConfigs: {\n      /**\n       * List all WorkspaceFormConfigs visible to the actor's tenant context.\n       *\n       * @param options - Optional request options.\n       * @returns Promise resolving to an array of `WorkspaceFormConfig` records.\n       */\n      list(options?: RequestOptions): Promise<WorkspaceFormConfig[]> {\n        return rb.execute<WorkspaceFormConfig[]>(\n          getAdminWorkspaceFormConfigs,\n          {},\n          options,\n        );\n      },\n\n      /**\n       * Fetch a single WorkspaceFormConfig by id.\n       *\n       * @param id - UUID of the WorkspaceFormConfig.\n       * @param options - Optional request options.\n       * @returns Promise resolving to the requested `WorkspaceFormConfig`.\n       */\n      get(id: string, options?: RequestOptions): Promise<WorkspaceFormConfig> {\n        return rb.execute<WorkspaceFormConfig>(\n          getAdminWorkspaceFormConfigsById,\n          { path: { id } },\n          options,\n        );\n      },\n\n      /**\n       * Create a workspace-level override for a parent FormDeployment.\n       * `overrides` apply to simple fields gated by `seal_policy.<field>`;\n       * `schema_overrides` apply to output_schema/input_schema add/remove/\n       * label gated by `seal_policy.*_pins`.\n       *\n       * @param attributes - Typed create attributes including\n       *   `workspace_id`, `form_deployment_id`, and optional `overrides` /\n       *   `schema_overrides` maps.\n       * @param options - Optional request options.\n       * @returns Promise resolving to the created `WorkspaceFormConfig`.\n       *\n       * @example\n       *   await admin.forms.workspaceConfigs.create({\n       *     workspace_id: ws.id,\n       *     form_deployment_id: deployment.id,\n       *     overrides: { custom_css: \".x { color: blue; }\" },\n       *   });\n       */\n      create(\n        attributes: CreateWorkspaceFormConfigAttributes,\n        options?: RequestOptions,\n      ): Promise<WorkspaceFormConfig> {\n        const {\n          workspace_id,\n          form_deployment_id,\n          overrides,\n          schema_overrides,\n        } = attributes;\n        return rb.execute<WorkspaceFormConfig>(\n          postAdminWorkspaceFormConfigs,\n          {\n            body: {\n              data: {\n                type: \"workspace-form-config\",\n                attributes: {\n                  workspace_id,\n                  form_deployment_id,\n                  overrides,\n                  schema_overrides,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Update an existing WorkspaceFormConfig. `workspace_id` and\n       * `form_deployment_id` are immutable.\n       *\n       * @param id - UUID of the WorkspaceFormConfig to update.\n       * @param attributes - Patch attributes. Pass only the fields to change.\n       * @param options - Optional request options.\n       * @returns Promise resolving to the updated `WorkspaceFormConfig`.\n       *\n       * @example\n       *   await admin.forms.workspaceConfigs.update(config.id, {\n       *     overrides: { ...config.overrides, custom_css: \".x { color: green; }\" },\n       *   });\n       */\n      update(\n        id: string,\n        attributes: UpdateWorkspaceFormConfigAttributes,\n        options?: RequestOptions,\n      ): Promise<WorkspaceFormConfig> {\n        const { overrides, schema_overrides } = attributes;\n        return rb.execute<WorkspaceFormConfig>(\n          patchAdminWorkspaceFormConfigsById,\n          {\n            path: { id },\n            body: {\n              data: {\n                id,\n                type: \"workspace-form-config\",\n                attributes: {\n                  overrides,\n                  schema_overrides,\n                },\n              },\n            },\n          },\n          options,\n        );\n      },\n\n      /**\n       * Delete a WorkspaceFormConfig. Capability-gated by\n       * `:forms_deployment_governance`.\n       *\n       * @param id - UUID of the WorkspaceFormConfig to delete.\n       * @param options - Optional request options.\n       * @returns Promise resolving to `true` on success.\n       *\n       * @example\n       *   await admin.forms.workspaceConfigs.destroy(config.id);\n       */\n      destroy(id: string, options?: RequestOptions): Promise<boolean> {\n        return rb.execute<boolean>(\n          deleteAdminWorkspaceFormConfigsById,\n          { path: { id } },\n          options,\n        );\n      },\n    },\n  };\n}\n","// Hand-maintained — override generation\n// Regenerate with: mix update.sdks (manually merge new namespaces after regeneration)\n\nimport { BaseClient, type BaseClientConfig } from \"./base-client\";\nimport { RequestBuilder } from \"./request-builder\";\nimport { createAgentsNamespace } from \"./namespaces/agents\";\nimport { createAccountsNamespace } from \"./namespaces/accounts\";\nimport { createApplicationsNamespace } from \"./namespaces/applications\";\nimport { createCapabilitiesNamespace } from \"./namespaces/capabilities\";\nimport { createContentNamespace } from \"./namespaces/content\";\nimport { createApiKeysNamespace } from \"./namespaces/apiKeys\";\nimport { createExecutionsNamespace } from \"./namespaces/executions\";\nimport { createStorageNamespace } from \"./namespaces/storage\";\nimport { createUsersNamespace } from \"./namespaces/users\";\nimport { createVoiceNamespace } from \"./namespaces/voice\";\nimport { createAuditNamespace } from \"./namespaces/audit\";\nimport { createWebhooksNamespace } from \"./namespaces/webhooks-ns\";\nimport { createCampaignsNamespace } from \"./namespaces/campaigns\";\nimport { createEmailNamespace } from \"./namespaces/email\";\nimport { createBillingNamespace } from \"./namespaces/billing\";\nimport { createPortalNamespace } from \"./namespaces/portal\";\nimport { createSocialNamespace } from \"./namespaces/social\";\nimport { createConnectorsNamespace } from \"./namespaces/connectors\";\nimport { createCrawlerNamespace } from \"./namespaces/crawler\";\nimport { createExtractionNamespace } from \"./namespaces/extraction\";\nimport { createSchedulingNamespace } from \"./namespaces/scheduling\";\nimport { createCrmNamespace } from \"./namespaces/crm\";\nimport { createSupportNamespace } from \"./namespaces/support\";\nimport { createCasesNamespace } from \"./namespaces/cases\";\nimport { createContractsNamespace } from \"./namespaces/contracts\";\nimport { createMeetingsNamespace } from \"./namespaces/meetings\";\nimport { createReviewsNamespace } from \"./namespaces/reviews\";\nimport { createModelsNamespace } from \"./namespaces/models\";\nimport { createAiNamespace } from \"./namespaces/ai\";\nimport { createCrmClustersNamespace } from \"./namespaces/crm-clusters\";\nimport { createComplianceNamespace } from \"./namespaces/compliance\";\nimport { createPipelineNodeExecutionsNamespace } from \"./namespaces/pipeline-node-executions\";\nimport { createPipelineNodesNamespace } from \"./namespaces/pipeline-nodes\";\nimport { createPipelinesNamespace } from \"./namespaces/pipelines\";\nimport { createPipelineExecutionsNamespace } from \"./namespaces/pipeline-executions\";\nimport { createTenantsNamespace } from \"./namespaces/tenants\";\nimport { createAccessGrantsNamespace } from \"./namespaces/access-grants\";\nimport { createRolesNamespace } from \"./namespaces/roles\";\nimport { createPermissionsNamespace } from \"./namespaces/permissions\";\nimport { createOwnershipTransfersNamespace } from \"./namespaces/ownership-transfers\";\nimport { createThreadsNamespace } from \"./namespaces/threads\";\nimport { createClinicalNamespace } from \"./namespaces/clinical\";\nimport { createWorkspacesNamespace } from \"./namespaces/workspaces\";\nimport { createInvitationsNamespace } from \"./namespaces/invitations\";\nimport { createBrandIdentitiesNamespace } from \"./namespaces/brand-identities\";\nimport { createPlatformTonesNamespace } from \"./namespaces/platform-tones\";\nimport { createClaimedDomainsNamespace } from \"./namespaces/claimed-domains\";\nimport { createSystemMessagesNamespace } from \"./namespaces/system-messages\";\nimport { createChannelsNamespace } from \"./namespaces/channels\";\nimport { createImportsNamespace } from \"./namespaces/imports\";\nimport { createDocumentsNamespace } from \"./namespaces/documents\";\nimport { createInvoicesNamespace } from \"./namespaces/invoices\";\nimport { createRecipesNamespace } from \"./namespaces/recipes\";\nimport { createPreferencesNamespace } from \"./namespaces/preferences\";\nimport { createRegistryNamespace } from \"./namespaces/registry\";\nimport { createUserProfilesNamespace } from \"./namespaces/userProfiles\";\nimport { createScopesNamespace } from \"./namespaces/scopes\";\nimport { createThemesNamespace } from \"./namespaces/themes\";\nimport { createFormsNamespace } from \"./namespaces/forms\";\n\nexport class GptAdmin extends BaseClient {\n  /** Agent management, versioning, training, and field templates */\n  public readonly agents;\n\n  /** ISV application management — create, configure, and manage platform applications */\n  public readonly applications;\n\n  /** Billing account management */\n  public readonly accounts;\n\n  /** Platform capability catalog (admin view — full catalog, no app annotations) */\n  public readonly capabilities;\n\n  /** API key management */\n  public readonly apiKeys;\n\n  /** Agent execution management and streaming */\n  public readonly executions;\n\n  /** Storage operations and bucket management */\n  public readonly storage;\n\n  /** User management across all tenants */\n  public readonly users;\n\n  /** Voice session, recording, and transcription management */\n  public readonly voice;\n\n  /** Compliance audit log access — paginated listing, activity feeds, aggregates, and bulk exports */\n  public readonly audit;\n\n  /** Webhook configuration and delivery management */\n  public readonly webhooks;\n\n  /** AI content generation — text, images, tone rewriting, hashtags, SEO */\n  public readonly content;\n\n  /** Campaign management across all workspaces */\n  public readonly campaigns;\n\n  /** Outbound email and sender profile management across all workspaces */\n  public readonly email;\n\n  /** Tenant wallet management — credit adjustments, plan changes, usage history */\n  public readonly billing;\n\n  /** Portal management: invitations, change request review */\n  public readonly portal;\n\n  /** Social media accounts, posts, metrics, and AI-powered campaigns */\n  public readonly social;\n\n  /** Connector management: instances, credentials, OAuth configs, ISV tools */\n  public readonly connectors;\n\n  /** Web crawling, content extraction, and site configuration management */\n  public readonly crawler;\n\n  /** Scheduling: locations, event types, events, participants, bookings, availability, reminders, calendar syncs */\n  public readonly scheduling;\n\n  /** CRM management — contacts, companies, deals, pipelines, ISV entity type and field configuration */\n  public readonly crm;\n\n  /** Extraction pipeline: documents, results, batches, exports, workflows, analysis */\n  public readonly extraction;\n\n  /** Support domain: tickets, queues, SLA policies, routing, AI config, canned responses */\n  public readonly support;\n\n  /** Cases domain: operational case aggregate, state machine workflow, decisions, links */\n  public readonly cases;\n\n  /** Contracts domain: AI contract lifecycle, clauses, renewal alerts (capability: contract_tracking) */\n  public readonly contracts;\n\n  /** Meetings domain: AI meeting intelligence — meetings, transcripts, action items (capability: meeting_intelligence) */\n  public readonly meetings;\n\n  /** Reviews domain: human review queues, memberships, and lifecycle transitions */\n  public readonly reviews;\n\n  /** Model catalog — available models with tier classification */\n  public readonly models;\n\n  /** AI/LLM management — provider configs, analytics, semantic cache */\n  public readonly ai;\n\n  /** CRM cluster discovery — AI-labeled relationship clusters via community detection */\n  public readonly crmClusters;\n\n  /** Compliance scanning — PII/PHI detection and redaction (HIPAA Safe Harbor) */\n  public readonly compliance;\n\n  /** Agent pipeline management — create, configure, and trigger multi-node agent pipelines */\n  public readonly pipelines;\n\n  /** Pipeline execution management — HITL checkpoint lifecycle (approve, reject, edit, refine) */\n  public readonly pipelineExecutions;\n\n  /** Pipeline node management — create, update, delete, and query individual pipeline nodes */\n  public readonly pipelineNodes;\n\n  /** Pipeline node execution tracking — per-node execution status and output data */\n  public readonly pipelineNodeExecutions;\n\n  /** Tenant lifecycle management — suspend, unsuspend, cancel */\n  public readonly tenants;\n\n  /** ReBAC access grant management — create, list, update, and revoke grants */\n  public readonly accessGrants;\n\n  /** Role management — named permission bundles for workspace access control */\n  public readonly roles;\n\n  /** Permission registry — platform permissions, presets, and metadata */\n  public readonly permissions;\n\n  /** Ownership transfer audit log — read-only workspace-scoped history */\n  public readonly ownershipTransfers;\n\n  /** Chat thread management — cross-workspace thread inspection, moderation, and lifecycle */\n  public readonly threads;\n\n  /** Clinical analytics — ISV-level overview and pipeline metrics */\n  public readonly clinical;\n\n  /** Workspace management — create, configure, allocate credits, storage settings */\n  public readonly workspaces;\n\n  /** Invitation management — create, accept, decline, revoke, resend */\n  public readonly invitations;\n\n  /** Brand identity management — create, update, set/unset default, per-tenant/workspace */\n  public readonly brandIdentities;\n\n  /** Platform tone management — create, update, delete, per-brand listing */\n  public readonly platformTones;\n\n  /** Claimed domain management — enterprise DNS claiming, verify/revoke lifecycle */\n  public readonly claimedDomains;\n\n  /** Platform-wide system messages — ToS, privacy policy, welcome, announcements */\n  public readonly systemMessages;\n\n  /** HTML→PDF generation and report delivery */\n  public readonly documents;\n\n  /** Scoped channel tokens for WebSocket authentication */\n  public readonly channels;\n\n  /** Unified import hub — CSV/JSON batch imports across Clinical, CRM, and Catalog */\n  public readonly imports;\n\n  /** Bidirectional invoicing — invoices, lines, payments, templates, rules, recurring schedules, contacts */\n  public readonly invoices;\n\n  /** Recipe management, meal planning, shopping lists, nutrition tracking, and AI enrichment */\n  public readonly recipes;\n\n  /** Registry management — catalogs, items, versions, publishing */\n  public readonly registry;\n\n  /** User-scoped, workspace-isolated preference storage */\n  public readonly preferences;\n\n  /** User profile management — CRUD, ToS acceptance, welcome/announcement dismissals */\n  public readonly userProfiles;\n\n  /** Available API key scopes grouped by surface and namespace */\n  public readonly scopes;\n\n  /** Theme management — CRUD, registry import, and WCAG contrast reporting */\n  public readonly themes;\n\n  /** AI form generation (Slice 5) — async LLM-driven form authoring */\n  public readonly forms;\n\n  constructor(config?: BaseClientConfig) {\n    super(config);\n    const rb = new RequestBuilder(\n      this.clientInstance,\n      () => this.getHeaders(),\n      <T>(d: unknown) => this.unwrap<T>(d),\n      <T>(fn: () => Promise<T>) => this.requestWithRetry(fn),\n      () => this.config.baseUrl,\n    );\n\n    this.agents = createAgentsNamespace(rb);\n    this.applications = createApplicationsNamespace(rb);\n    this.accounts = createAccountsNamespace(rb);\n    this.capabilities = createCapabilitiesNamespace(rb);\n    this.apiKeys = createApiKeysNamespace(rb);\n    this.extraction = createExtractionNamespace(rb);\n    this.documents = createDocumentsNamespace(rb);\n    this.executions = createExecutionsNamespace(rb);\n    this.storage = createStorageNamespace(rb);\n    this.users = createUsersNamespace(rb);\n    this.voice = createVoiceNamespace(rb);\n    this.audit = createAuditNamespace(rb);\n    this.webhooks = createWebhooksNamespace(rb);\n    this.content = createContentNamespace(rb);\n    this.campaigns = createCampaignsNamespace(rb);\n    this.email = createEmailNamespace(rb);\n    this.billing = createBillingNamespace(rb);\n    this.portal = createPortalNamespace(rb);\n    this.social = createSocialNamespace(rb);\n    this.connectors = createConnectorsNamespace(rb);\n    this.crawler = createCrawlerNamespace(rb);\n    this.scheduling = createSchedulingNamespace(rb);\n    this.crm = createCrmNamespace(rb);\n    this.support = createSupportNamespace(rb);\n    this.cases = createCasesNamespace(rb);\n    this.contracts = createContractsNamespace(rb);\n    this.meetings = createMeetingsNamespace(rb);\n    this.reviews = createReviewsNamespace(rb);\n    this.models = createModelsNamespace(rb);\n    this.ai = createAiNamespace(rb);\n    this.crmClusters = createCrmClustersNamespace(rb);\n    this.compliance = createComplianceNamespace(rb);\n    this.pipelines = createPipelinesNamespace(rb);\n    this.pipelineExecutions = createPipelineExecutionsNamespace(rb);\n    this.pipelineNodes = createPipelineNodesNamespace(rb);\n    this.pipelineNodeExecutions = createPipelineNodeExecutionsNamespace(rb);\n    this.tenants = createTenantsNamespace(rb);\n    this.accessGrants = createAccessGrantsNamespace(rb);\n    this.roles = createRolesNamespace(rb);\n    this.permissions = createPermissionsNamespace(rb);\n    this.ownershipTransfers = createOwnershipTransfersNamespace(rb);\n    this.threads = createThreadsNamespace(rb);\n    this.clinical = createClinicalNamespace(rb);\n    this.workspaces = createWorkspacesNamespace(rb);\n    this.invitations = createInvitationsNamespace(rb);\n    this.brandIdentities = createBrandIdentitiesNamespace(rb);\n    this.platformTones = createPlatformTonesNamespace(rb);\n    this.claimedDomains = createClaimedDomainsNamespace(rb);\n    this.systemMessages = createSystemMessagesNamespace(rb);\n    this.channels = createChannelsNamespace(rb);\n    this.imports = createImportsNamespace(rb);\n    this.invoices = createInvoicesNamespace(rb);\n    this.recipes = createRecipesNamespace(rb);\n    this.registry = createRegistryNamespace(rb);\n    this.preferences = createPreferencesNamespace(rb);\n    this.userProfiles = createUserProfilesNamespace(rb);\n    this.scopes = createScopesNamespace(rb);\n    this.themes = createThemesNamespace(rb);\n    this.forms = createFormsNamespace(rb);\n  }\n}\n","export * from \"./gpt-admin\";\nexport * from \"./_internal/types.gen\";\nexport { DEFAULT_API_VERSION, SDK_VERSION } from \"./base-client\";\nexport type { FlatResource } from \"./json-api\";\nexport type {\n  VoiceAPI,\n  AdminModelsAPI,\n  AdminApplicationsAPI,\n  AdminEmailAPI,\n  AdminBillingAPI,\n  AdminSchedulingAPI,\n  AdminReviewsAPI,\n  InvoicesAPI,\n  RecipesAPI,\n  AdminFormsAPI,\n  AdminMeetingsAPI,\n} from \"./namespaces\";\n\n// Meetings (PR B10 + PR-A PHI encryption-at-rest)\nexport { createMeetingsNamespace } from \"./namespaces/meetings\";\nexport type {\n  CreateMeetingAttributes,\n  UpdateMeetingAttributes,\n  MeetingAttendee,\n} from \"./namespaces/meetings\";\n\n// Crawler namespace + admin-only attribute types\n// (BrowserSession / CrawlerJob / CrawlerResult / CrawlerSchedule /\n// CrawlerSiteConfig / NewsMonitor / NewsSummary are exported via the\n// top-of-file `export * from \"./_internal/types.gen\"`.)\nexport { createCrawlerNamespace } from \"./namespaces/crawler\";\nexport type {\n  AdminCreateCrawlerJobAttributes,\n  AdminCreateCrawlerScheduleAttributes,\n  AdminUpdateCrawlerScheduleAttributes,\n  AdminCreateSiteConfigAttributes,\n  AdminUpdateSiteConfigAttributes,\n  AdminCreateBrowserSessionAttributes,\n  AdminRefreshBrowserSessionAttributes,\n  CreateNewsMonitorAttributes,\n  UpdateNewsMonitorAttributes,\n  AdminCrawlerAPI,\n} from \"./namespaces/crawler\";\nexport type {\n  AdminApproveReviewAttributes,\n  AdminAssignReviewAttributes,\n  AdminCorrectReviewAttributes,\n  AdminCreateReviewQueueAttributes,\n  AdminCreateReviewQueueMembershipAttributes,\n  AdminEscalateReviewAttributes,\n  AdminRejectReviewAttributes,\n  AdminReviewPriority,\n  AdminReviewQueueMembershipRole,\n  AdminUpdateReviewQueueAttributes,\n} from \"./namespaces\";\n\n// Forms (Slice 5) namespace helper types\nexport type {\n  FormGenerationJob,\n  CreateFormGenerationJobInput,\n  ListFormGenerationsArgs,\n  // Slice 5.5 — field-level data classification\n  ClassifyFieldInput,\n  ProtectionClass,\n  // B7 — Form deployment governance\n  CreateFormDeploymentAttributes,\n  UpdateFormDeploymentAttributes,\n  CreateWorkspaceFormConfigAttributes,\n  UpdateWorkspaceFormConfigAttributes,\n  SealPolicyShape,\n} from \"./namespaces/forms\";\n\n// Application namespace helper types\nexport type {\n  CreateApplicationAttributes,\n  UpdateApplicationAttributes,\n  CurrentApplicationResult,\n  OAuthConfig,\n} from \"./namespaces/applications\";\n\n// API key namespace helper types\nexport type {\n  CreateApiKeyAttributes,\n  ApiKeyUsageStat,\n  UpdateApiKeyAttributes,\n} from \"./namespaces/apiKeys\";\n\n// Invitation namespace helper types\nexport type { InviteAttributes } from \"./namespaces/invitations\";\n\n// User namespace helper types\nexport type {\n  AdminUpdateUserAttributes,\n  UpdateUserAttributes,\n} from \"./namespaces/users\";\n\n// User profile namespace helper types\nexport type {\n  CreateUserProfileAttributes,\n  UpdateUserProfileAttributes,\n  LegalDocumentType,\n} from \"./namespaces/userProfiles\";\n\n// Tenant namespace helper types\nexport type {\n  ConvertToOrgAttributes,\n  CreateIsvTenantAttributes,\n  CreateOrgTenantAttributes,\n  CreatePersonalTenantAttributes,\n  CreateTenantAttributes,\n  UpdateAutoTopUpAttributes,\n  UpdateBrandingAttributes,\n  UpdateTenantAttributes,\n} from \"./namespaces/tenants\";\n\n// Claimed domain namespace helper types\nexport type {\n  CreateClaimedDomainAttributes,\n  UpdateClaimedDomainAttributes,\n} from \"./namespaces/claimed-domains\";\n\n// System message namespace helper types\nexport type {\n  SystemMessageType,\n  CreateSystemMessageAttributes,\n  UpdateSystemMessageAttributes,\n} from \"./namespaces/system-messages\";\n\n// Model catalog types\nexport type {\n  ModelTier,\n  ModelInfo,\n  ListModelsOptions,\n} from \"./namespaces/models\";\n\n// Billing namespace helper types\nexport type {\n  CreatePlanAttributes,\n  UpdatePlanAttributes,\n  CreatePricingStrategyAttributes,\n  CreateTenantPricingOverrideAttributes,\n  CreateWholesaleAgreementAttributes,\n  CreateSettlementAttributes,\n  CreateFeatureDefinitionAttributes,\n  CreatePlanFeatureAllocationAttributes,\n  CreateCompositeOperationAttributes,\n  EstimateCapacityResponse,\n  SignupGrantStatus,\n  CapabilityRevocationPreview,\n  CanEnableResult,\n  PlanBundleSpec,\n  PlanBundlePublishResult,\n  PlanBundleMix,\n  PlanBundlePublishOptions,\n  PlanBundleTemplate,\n  CreateIsvPricingOverrideAttributes,\n  UpdateIsvPricingOverrideAttributes,\n} from \"./namespaces/billing\";\n\n// Execution namespace helper types\nexport type { Execution, FileInput } from \"./namespaces/executions\";\n\n// Agent namespace helper types\nexport type {\n  CreateAgentVersionAttributes,\n  CreateTrainingExampleAttributes,\n  UpdateTrainingExampleAttributes,\n  CreateFieldTemplateAttributes,\n  TeachAttributes,\n  RestoreVersionAttributes,\n  AgentExportBundle,\n  BulkDeleteResult,\n} from \"./namespaces/agents\";\n\n// Pipeline namespace helper types\nexport type {\n  CreatePipelineAttributes,\n  UpdatePipelineAttributes,\n  TriggerPipelineAttributes,\n} from \"./namespaces/pipelines\";\n\n// PipelineExecution namespace types\nexport type {\n  PipelineExecution,\n  PipelineExecutionStatus,\n  UpdateCheckpointAttributes,\n  AiRefineAttributes,\n} from \"./namespaces/pipeline-executions\";\n\n// PipelineNode namespace types\nexport type {\n  PipelineNode,\n  PipelineNodeType,\n  PipelineNodePhase,\n  CreatePipelineNodeAttributes,\n  UpdatePipelineNodeAttributes,\n} from \"./namespaces/pipeline-nodes\";\n\n// PipelineNodeExecution namespace types\nexport type {\n  PipelineNodeExecution,\n  PipelineNodeExecutionStatus,\n} from \"./namespaces/pipeline-node-executions\";\n\nexport * from \"./errors\";\nexport type {\n  StreamOptions,\n  StreamMessageChunk,\n  StreamTokenEvent,\n  StreamToolCallEvent,\n  StreamToolResultEvent,\n  StreamIterationCompleteEvent,\n  StreamApprovalRequiredEvent,\n  StreamDoneEvent,\n  StreamDoneMetadata,\n  StreamErrorEvent,\n} from \"./streaming\";\nexport type {\n  ExecutionEvent,\n  TokenDeltaEvent,\n  ToolCallEvent,\n  ToolResultEvent,\n  IterationCompleteEvent,\n  ApprovalRequiredEvent,\n  DoneEvent,\n  ErrorEvent,\n} from \"./execution-events\";\n\n// Thread namespace helper types\nexport type { UpdateThreadAttributes } from \"./namespaces/threads\";\n\n// Channels namespace types\nexport { createChannelsNamespace } from \"./namespaces/channels\";\nexport type {\n  ChannelTokenRequest,\n  ChannelTokenResponse,\n} from \"./namespaces/channels\";\n\n// Clinical namespace types\nexport type {\n  ClinicalAnalyticsOverview,\n  ClinicalPipelineAnalytics,\n  ClinicalClientGoal,\n  ClinicalClientResourceAssignment,\n  ClinicalClientSupplement,\n  ClinicalDelivery,\n  ClinicalGoalTemplate,\n  ClinicalGoalTemplateCategory,\n  ClinicalHealthMetric,\n  ClinicalInsuranceAuthorization,\n  ClinicalMealPlan,\n  ClinicalNote,\n  ClinicalNoteVersion,\n  ClinicalPatient,\n  ClinicalPatientInsurance,\n  ClinicalPracticeResource,\n  ClinicalPracticeTool,\n  ClinicalPracticeToolCategory,\n  ClinicalSession,\n  ClinicalSupplementRecCache,\n  CreateClinicalPatientAttributes,\n  UpdateClinicalPatientAttributes,\n  CreateGoalTemplateAttributes,\n  UpdateGoalTemplateAttributes,\n  CreateFromExistingAttributes,\n  CreateInsuranceAuthorizationAttributes,\n  UpdateInsuranceAuthorizationAttributes,\n  CreatePatientInsuranceAttributes,\n  UpdatePatientInsuranceAttributes,\n  CreatePracticeToolAttributes,\n  UpdatePracticeToolAttributes,\n  CreatePracticeResourceAttributes,\n  UpdatePracticeResourceAttributes,\n  CreateCatalogGoalTemplateAttributes,\n  UpdateCatalogGoalTemplateAttributes,\n  CreateCatalogPracticeToolAttributes,\n  UpdateCatalogPracticeToolAttributes,\n  CreateCatalogPracticeResourceAttributes,\n  UpdateCatalogPracticeResourceAttributes,\n  ClinicalDocument,\n  CreateDocumentAttributes,\n  UpdateDocumentAttributes,\n  DocumentType,\n  ExtractionStatus,\n} from \"./namespaces/clinical\";\n\n// Audit namespace\nexport { createAuditNamespace } from \"./namespaces/audit\";\n\n// Audit namespace types.\n// `AuditLog` is intentionally re-exported as `AuditLogEntry` to avoid a\n// collision with the generated `AuditLog` symbol from\n// `_internal/types.gen.ts` (Ash JSON:API schema name). The hand-maintained\n// `AuditLog` interface in `namespaces/audit.ts` is the public contract; the\n// generated type is internal infrastructure surfaced via `export *` and\n// is not the canonical shape ISVs should depend on. Renaming the public\n// interface to drop the alias would be a breaking SDK change and require a\n// major version bump — see F-C5 in the audit review (2026-05-15).\nexport type {\n  AuditLog as AuditLogEntry,\n  AuditListParams,\n  ActivityFeedParams as AuditActivityFeedParams,\n  CountByActionParams,\n  CountByActionResult,\n  ExportParams as AuditExportParams,\n  ExportResult as AuditExportResult,\n} from \"./namespaces/audit\";\n\n// Authorization namespace types\nexport type {\n  Role,\n  RoleListResult,\n  RoleResult,\n  RoleListParams,\n} from \"./namespaces/roles\";\nexport type {\n  AccessGrant,\n  AccessGrantListResult,\n  AccessGrantResult,\n  AccessGrantListParams,\n} from \"./namespaces/access-grants\";\nexport type {\n  Permission,\n  PermissionMeta,\n  PermissionPreset,\n  PermissionListResult,\n  PermissionResult,\n  PermissionMetaResult,\n  PermissionPresetListResult,\n  PermissionPresetResult,\n  PermissionListParams,\n  PermissionPresetListParams,\n} from \"./namespaces/permissions\";\nexport type {\n  OwnershipTransfer,\n  OwnershipTransferListResult,\n  OwnershipTransferListParams,\n} from \"./namespaces/ownership-transfers\";\n// Compliance attribute types (F-27)\n// Previously only `CreateCompliancePolicyAttributes` + update were exported.\n// Admin namespace exposes additional create/update interfaces that ISVs\n// writing typed wrappers couldn't reach without subpath imports.\nexport type {\n  CreateCompliancePolicyAttributes,\n  UpdateCompliancePolicyAttributes,\n  CreateBreachIncidentAttributes,\n  UpdateBreachIncidentStatusAttributes,\n  CreateDataSubjectRequestAttributes,\n  UpdateDataSubjectRequestStatusAttributes,\n  CreateRetentionPolicyAttributes,\n  UpdateRetentionPolicyAttributes,\n  CreateRiskAssessmentAttributes,\n  UpdateRiskAssessmentStatusAttributes,\n  CreateLegalDocumentAttributes,\n  UpdateLegalDocumentAttributes,\n} from \"./namespaces/compliance\";\n\n// Social namespace types\nexport type {\n  SocialAccount,\n  SocialPost,\n  PostMetric,\n  TrendingSnapshot,\n  TrendingSnapshotItem,\n  TrendingWatch,\n} from \"./_internal/types.gen\";\nexport type { AdminSocialAPI } from \"./namespaces\";\n\n// Campaigns namespace helper types\nexport type {\n  CreateCampaignAttributes,\n  CreateTemplateAttributes,\n  UpdateTemplateAttributes,\n  UpdateGeneratedEmailAttributes,\n  CreateSequenceAttributes,\n} from \"./namespaces/campaigns\";\n\n// Invoices namespace helper types\nexport type {\n  CreateInvoiceAttributes,\n  UpdateInvoiceAttributes,\n  CreateInvoiceLineAttributes,\n  UpdateInvoiceLineAttributes,\n  CreatePaymentAttributes,\n  CreateTemplateAttributes as CreateInvoiceTemplateAttributes,\n  UpdateTemplateAttributes as UpdateInvoiceTemplateAttributes,\n  CreateRuleAttributes,\n  UpdateRuleAttributes,\n  CreateRecurringScheduleAttributes,\n  UpdateRecurringScheduleAttributes,\n  CreateContactAttributes as CreateInvoiceContactAttributes,\n  UpdateContactAttributes as UpdateInvoiceContactAttributes,\n} from \"./namespaces/invoices\";\n\n// Import hub types\nexport { createImportsNamespace } from \"./namespaces/imports\";\nexport type { Import, ImportRow, ImportAdapter } from \"./namespaces/imports\";\nexport type { ListResponse } from \"./request-builder\";\n\n// Connectors namespace helper types\nexport type {\n  CreateConnectorInstanceAttributes,\n  UpdateConnectorInstanceAttributes,\n  ConnectorTool,\n  CreateOAuthAppConfigAttributes,\n  UpdateOAuthAppConfigAttributes,\n  CreateConnectorToolAttributes,\n  UpdateConnectorToolAttributes,\n} from \"./namespaces/connectors\";\n\nexport type {\n  ListSystemAgentsParams,\n  SystemAgentSummary,\n} from \"./namespaces/agents\";\n\n// AI / LLM namespace helper types\nexport type {\n  ProviderConfig,\n  LlmCostBreakdown,\n  LlmAnalyticsSummary,\n  LlmAnalyticsUsage,\n  LlmWorkspaceMetrics,\n  LlmPlatformSummary,\n  RecordLlmAnalyticsAttributes,\n} from \"./namespaces/ai\";\n\n// Re-export GptAdmin as default export for ESM compatibility\n// This allows: import GptAdmin from '@gpt-platform/admin'\nimport { GptAdmin } from \"./gpt-admin\";\nexport default GptAdmin;\n"],"mappings":";AAyEO,IAAM,qBAAqB;AAAA,EAChC,gBAAgB,CAAI,SAClB,KAAK;AAAA,IAAU;AAAA,IAAM,CAAC,MAAM,UAC1B,OAAO,UAAU,WAAW,MAAM,SAAS,IAAI;AAAA,EACjD;AACJ;;;ACUO,IAAM,kBAAkB,CAAkB;AAAA,EAC/C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAA8D;AAC5D,MAAI;AAEJ,QAAM,QACJ,eACC,CAAC,OAAe,IAAI,QAAQ,CAAC,Y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