@connectedxm/admin-sdk

中文文档
16.13.0发布于 2026/11/07MITTypeScriptESM + CJS近 30 天下载 7934

OpenAPI client for @connectedxm/admin-sdk

原始使用文档
文档目录8 节
  1. @connectedxm/[email protected]
  2. Building
  3. Publishing
  4. Consuming
  5. Documentation
  6. Documentation For Authorization
  7. ApiKeyAuth
  8. OrganizationId

@connectedxm/[email protected]

This generator creates TypeScript/JavaScript client that utilizes axios. The generated Node module can be used in the following environments:

Environment

  • Node.js
  • Webpack
  • Browserify

Language level

  • ES5 - you must have a Promises/A+ library installed
  • ES6

Module system

  • CommonJS
  • ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via package.json. (Reference)

Building

To build and compile the typescript sources to javascript use:

npm install
npm run build

Publishing

First build the package then run npm publish

Consuming

navigate to the folder of your consuming project and run one of the following commands.

published:

npm install @connectedxm/[email protected] --save

unPublished (not recommended):

npm install PATH_TO_GENERATED_PACKAGE --save

Documentation

All URIs are relative to https://admin-api.connected.dev

Per-endpoint and per-model reference pages are generated into the docs/ directory of this package. They are intentionally not linked here: npm and GitHub resolve relative links against the source repository, where the generated SDK is not committed, so the links would all 404.

For browsable API documentation see the published OpenAPI reference.

Documentation For Authorization

Authentication schemes defined for the API:

ApiKeyAuth

  • Type: API key
  • API key parameter name: api-key
  • Location: HTTP header

OrganizationId

  • Type: API key
  • API key parameter name: organization
  • Location: HTTP header

版本与发布记录

@connectedxm/admin-sdk 共发布 214 个版本,首次发布于 2026/01/25;过去 12 个月发布了 214 个版本。

版本发布日期距今
16.13.0latest2026/11/073 天前
16.12.02026/11/073 天前
16.11.02026/11/073 天前
16.10.12026/11/064 天前
16.10.02026/11/064 天前
16.9.12026/11/064 天前

关于 @connectedxm/admin-sdk 的常见问题

@connectedxm/admin-sdk 是什么?

OpenAPI client for @connectedxm/admin-sdk

如何安装 @connectedxm/admin-sdk?

在项目目录运行 npm install @connectedxm/admin-sdk,或使用 pnpm add / yarn add / bun add。

@connectedxm/admin-sdk 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@connectedxm/admin-sdk 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@connectedxm/admin-sdk 可以商用吗?

@connectedxm/admin-sdk 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@connectedxm/admin-sdk 的下载量有多少?

根据 npm 官方下载统计,@connectedxm/admin-sdk 在 2026/10/11 – 2026/11/09 这 30 天内被下载 7,934 次,日均约 264 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@connectedxm/admin-sdk 还在维护吗?

最新版本 16.13.0 发布于 2026/11/07(3 天前);至今共发布 214 个版本,其中过去 12 个月发布了 214 个;首次发布于 2026/01/25。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。