npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@autional/api-verification

v0.4.0

Published

Autional Verification API — auto-generated TypeScript client from verification-service

Readme

@autional/api-verification

Autional Verification API — auto-generated TypeScript client from verification-service (30 functions).

Auto-generated by python sdk/scripts/generate-api-packages.py. Do not edit by hand.

Functions

| Function | Method | Path | Description | |----------|--------|------|-------------| | getAdminVerifications(client, params?) | GET | /admin/verifications | 查询认证列表 | | getAdminVerificationsExport(client, params?) | GET | /admin/verifications/export | 导出认证记录 | | deleteAdminVerificationsGuardians(client, data: RemoveGuardianRequest) | DELETE | /admin/verifications/guardians | 管理员解除监护关系 | | getAdminVerificationsGuardians(client, params?) | GET | /admin/verifications/guardians | 管理员查询监护关系 | | getAdminVerificationsProviders(client, params?) | GET | /admin/verifications/providers | 列出提供方配置 | | postAdminVerificationsProviders(client, data: CreateProviderConfigRequest) | POST | /admin/verifications/providers | 创建提供方配置 | | deleteAdminVerificationsProvidersByProviders(client, providerConfigId: string) | DELETE | /admin/verifications/providers/{provider_config_id} | 删除提供方配置 | | getAdminVerificationsProvidersByProviders(client, providerConfigId: string) | GET | /admin/verifications/providers/{provider_config_id} | 获取提供方配置详情 | | putAdminVerificationsProvidersByProviders(client, providerConfigId: string, data: UpdateProviderConfigRequest) | PUT | /admin/verifications/providers/{provider_config_id} | 更新提供方配置 | | getAdminVerificationsStats(client) | GET | /admin/verifications/stats | 获取认证统计 | | getAdminVerificationsByVerifications(client, verificationId: string) | GET | /admin/verifications/{verification_id} | 获取认证详情 | | postAdminVerificationsManualReviewByVerifications(client, verificationId: string, data: ManualReviewRequest) | POST | /admin/verifications/{verification_id}/manual-review | 转入人工审核 | | postAdminVerificationsOverrideByVerifications(client, verificationId: string, data: OverrideRequest) | POST | /admin/verifications/{verification_id}/override | 人工覆盖认证状态 | | postAdminVerificationsResetByVerifications(client, verificationId: string) | POST | /admin/verifications/{verification_id}/reset | 重置重试计数 | | postAdminVerificationsResolveReviewByVerifications(client, verificationId: string, data: ResolveReviewRequest) | POST | /admin/verifications/{verification_id}/resolve-review | 解决人工审核 | | postVerificationConsent(client, data: GrantConsentRequest, params?) | POST | /verification/consent | 授权同意 | | deleteVerificationGuardians(client, data: RemoveGuardianRequest) | DELETE | /verification/guardians | 解除监护关系 | | postVerificationGuardians(client, data: CreateGuardianRequest) | POST | /verification/guardians | 创建监护关系 | | getVerificationGuardiansMinors(client) | GET | /verification/guardians/minors | 获取我的被监护人列表 | | putVerificationGuardiansByGuardians(client, guardianId: string, data: UpdateGuardianRequest) | PUT | /verification/guardians/{guardian_id} | 更新监护关系 | | postVerificationGuardiansConsentByGuardians(client, guardianId: string, data: GuardianConsentRequest) | POST | /verification/guardians/{guardian_id}/consent | 监护人授权同意 | | postVerificationGuardiansVerifyByGuardians(client, guardianId: string) | POST | /verification/guardians/{guardian_id}/verify | 监护人身份验证 | | postVerificationLivenessBegin(client, data: BeginLivenessRequest) | POST | /verification/liveness/begin | 开始活体检测 | | postVerificationLivenessVerify(client, data: CompleteLivenessRequest) | POST | /verification/liveness/verify | 完成活体检测 | | getVerificationMe(client) | GET | /verification/me | 获取我的认证状态 | | getVerificationMeDetail(client) | GET | /verification/me/detail | 获取我的认证详情 | | getVerificationMinorsGuardians(client, params?) | GET | /verification/minors/guardians | 获取未成年用户的监护人列表 | | putVerificationMinorsProtection(client, data: SetMinorProtectionRequest) | PUT | /verification/minors/protection | 设置未成年人保护配置 | | postVerificationOcr(client, data: SubmitOCRRequest) | POST | /verification/ocr | 提交OCR识别 | | postVerificationVerify(client, data: SubmitVerificationRequest, params?) | POST | /verification/verify | 提交身份核验 |

Install

npm install @autional/core @autional/api-verification

Quick Start

import { Autional, browserPlatform } from '@autional/core';
import { getVerificationMe } from '@autional/api-verification';

const autional = new Autional({
  appId: 'my-app',
  issuer: 'https://auth.example.com', // your Autional server URL
  platform: browserPlatform,
});
await autional.initialize();

// 返回值已由 ApiClient 解包为载荷(不是 { code, data, message } 信封)
const result = await getVerificationMe(autional.api);
console.log(result);

Conventions

  • Every function takes the ApiClient as its first argument (autional.api).
  • Field names convert automatically: camelCase at the call site, snake_case on the wire.
  • Return values are unwrapped payloads, not { code, data, message } envelopes.

See the root SDK README for tokens, refresh, and OAuth flows.