Skip to content

feat: add subscription history API key permission from api-specifications#2411 - #232

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/dx-1028-sdk-spec-sync-f9a6
Draft

feat: add subscription history API key permission from api-specifications#2411#232
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/dx-1028-sdk-spec-sync-f9a6

Conversation

@cursor

@cursor cursor Bot commented Jul 27, 2026

Copy link
Copy Markdown

Summary

Adds the public subscription_history.read API key permission introduced by api-specifications#2411. This implements DX-1028.

Spec-to-SDK mapping

Spec change SDK files changed
Add subscription_history.read to the public API key permission union src/enums/api-key/api-key-permission.ts
Accept and preserve the permission in API key webhook payloads src/__tests__/mocks/notifications/api-key-updated.mock.ts (exercised by the shared notification parser test)
Document and version the additive public change CHANGELOG.md, package.json (3.9.0)

Intentionally excluded

  • No subscription-history resource was added because the endpoint implementation is tracked separately in DX-1026/api-specifications#2419.
  • No notification types, entities, event classes, or exports changed because all five API key events already share ApiKeyPermission[] and pass the array through.
  • Internal-only permissions and API key CRUD models remain excluded.

Validation

  • pnpm install --frozen-lockfile — passed
  • pnpm build — passed
  • pnpm typecheck:tests — passed
  • pnpm test --runInBand — 34 suites and 275 tests passed
  • pnpm lint — passed

Created by an automated spec-sync agent.

Open in Web View Automation 

Co-authored-by: Jed Patterson <jed.patterson@paddle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants