Skip to content

[api-v3] Update Server API schema version v3.5.2 - #269

Open
erayaydin wants to merge 1 commit into
api-v3from
feat/update-schema-v3.5.2
Open

[api-v3] Update Server API schema version v3.5.2#269
erayaydin wants to merge 1 commit into
api-v3from
feat/update-schema-v3.5.2

Conversation

@erayaydin

Copy link
Copy Markdown
Member

Pin pnpm version to 9 and update the schema file to the Server API schema version 3.5.2. Generate type with the new schema file.

@changeset-bot

changeset-bot Bot commented Aug 3, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ded6765

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

⚠️ This PR doesn't contain any changesets. If there are user-facing changes, don't forget to run:

pnpm exec changeset

to create a changeset.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 95.73% 224/234
🟢 Branches 89.74% 70/78
🟢 Functions 97.78% 44/45
🟢 Lines 95.69% 222/232

Test suite run success

83 tests passing in 11 suites.

Report generated by 🧪jest coverage report action from ded6765

Show full coverage report
St File % Stmts % Branch % Funcs % Lines Uncovered Line #s
🟢 All files 95.72 89.74 97.77 95.68
🟢  src 94.56 86.2 96.55 94.53
🟢   index.ts 100 100 100 100
🟢   responseUtils.ts 100 100 100 100
🟢   sealedResults.ts 100 100 100 100
🟢   serverApiClient.ts 89.55 72.72 90 89.55 37,73,140,144,203,234,332
🟢   types.ts 100 100 100 100
🟢   urlUtils.ts 95.23 87.5 100 95.12 37,47
🟡   utils.ts 75 100 100 75 6
🟢   webhook.ts 100 100 100 100
🟢  src/errors 100 100 100 100
🟢   apiErrors.ts 100 100 100 100
🟢   getRetryAfter.ts 100 100 100 100
🟢   handleErrorResponse.ts 100 100 100 100
🟢   unsealError.ts 100 100 100 100

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Node SDK’s Server API v3 schema + generated TypeScript types to match the newer upstream schema, and pins the repo’s pnpm version for more reproducible installs.

Changes:

  • Updated resources/fingerprint-server-api.yaml with new/expanded Smart Signals (VPN/Proxy ML scores, RareDevice, Labels) and new event-query filters.
  • Regenerated src/generatedApiTypes.ts from the updated OpenAPI schema.
  • Pinned pnpm via packageManager in package.json.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/generatedApiTypes.ts Regenerated API types reflecting new schema fields/enums and new product types.
resources/fingerprint-server-api.yaml OpenAPI schema updates for v3.5.2 (new signals/filters and updated descriptions/enums).
package.json Adds packageManager to pin pnpm 9.x precisely for consistent tooling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +2188 to +2199
RareDevice:
type: object
additionalProperties: false
description: >
Rare device details (present if the device is considered rare)

> This Smart Signal is currently in beta and only available to select
customers. If you are interested, please [contact our support
team](https://fingerprint.com/support/).
properties:
result:
type: boolean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants