[api-v3] Update Server API schema version v3.5.2 - #269
Conversation
|
pnpm exec changesetto create a changeset. |
Coverage report
Test suite run success83 tests passing in 11 suites. Report generated by 🧪jest coverage report action from ded6765 Show full coverage report
|
There was a problem hiding this comment.
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.yamlwith new/expanded Smart Signals (VPN/Proxy ML scores, RareDevice, Labels) and new event-query filters. - Regenerated
src/generatedApiTypes.tsfrom the updated OpenAPI schema. - Pinned pnpm via
packageManagerinpackage.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.
| 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 |
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.