Skip to content

feat(marketplace): connection access (routes 25–27) and OAuth sign-in start (route 28) - #91

Merged
Domantas merged 4 commits into
mainfrom
audit/marketplace-access
Oct 13, 2026
Merged

Domantas merged 4 commits into
mainfrom
audit/marketplace-access

Conversation

@Domantas

@Domantas Domantas commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

What changed

  • Hub types regenerated from the running gateway (private stack), twice on this branch: refactoringV2 509156d57 (item access) and 515275038 (item oauth). Access matrix / role package / custom policy types (GetMarketplaceIntegrationAccess*, SetMarketplaceIntegrationRoleAccess, SaveMarketplaceIntegrationCustomAccess*, MarketplaceAccess*Dto, MarketplaceAccessLevel), StartMarketplaceIntegrationSignIn*, and the additive fields TestMarketplaceIntegrationResponse.accessChanges, MarketplaceAccessRoleDto.defaultNotApplied, MarketplaceValidationStepResultDto.errorCode, MarketplaceIntegrationDto.signedIn / signedInBy / signedInAt / tokenExpiresAt, MarketplaceIntegrationListProjection.signedIn / signedInAt, MarketplaceListingDto.connectSteps / oauthRedirectUrl. Api types untouched. Route 29 (OAuth callback) is not in the metadata — no method.
  • Routes 25–28 in hub.code: getMarketplaceIntegrationAccess, setMarketplaceIntegrationRoleAccess, saveMarketplaceIntegrationCustomAccess, startMarketplaceIntegrationSignIn — spliced from generate-endpoints (Code module only; the hand helper getMarketplaceFunctionRunDetails stays), generated tests + docs sections; tests/hub/marketplace-access.test.ts and marketplace-oauth.test.ts pin the id in the path, no body on the GET, the role / ticks in the PUT / POST body, and read the additive fields.
  • Tests: typecheck, lint, format:check clean; vitest 59 files / 977 passed (+10).

Evidence

Task file: typegen docs/tasks/marketplace-access-sdks.md (branch audit/marketplace-access2, worktree ~/Projects/norbix/worktrees/typegen/marketplace-access2). Gateway items: docs/testing/testing-plan/11b-marketplace/items/access.md and oauth.md.

Expected release: v4.24.0 (last v4.23.0) (feat → minor). Additive only — no breaking change.

🤖 Generated with Claude Code

Domantas and others added 2 commits October 13, 2026 15:56
…57 (access, routes 25–27)

Adds the access matrix, role package and custom policy types
(GetMarketplaceIntegrationAccess*, SetMarketplaceIntegrationRoleAccess,
SaveMarketplaceIntegrationCustomAccess*, MarketplaceAccess*Dto,
MarketplaceAccessLevel) and the additive fields
TestMarketplaceIntegrationResponse.accessChanges,
MarketplaceAccessRoleDto.defaultNotApplied and
MarketplaceValidationStepResultDto.errorCode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…policy (routes 25–27)

CodeModule gains getMarketplaceIntegrationAccess (GET .../access),
setMarketplaceIntegrationRoleAccess (PUT .../access/roles) and
saveMarketplaceIntegrationCustomAccess (POST .../access/roles/custom),
spliced from the generate-endpoints output (Code module only; the hand
helper getMarketplaceFunctionRunDetails stays), with their generated
tests and docs sections. marketplace-access.test.ts pins the id in the
path, no body on the GET, the role / ticks in the PUT / POST body, and
reads accessChanges and the step errorCode from the Test response.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

🚀 Release preview

Next version on merge to main: none

semantic-release dry-run output
[1:27:51 PM] [semantic-release] › ℹ  Running semantic-release version 25.0.9
[1:27:51 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/npm"
[1:27:51 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/github"
[1:27:51 PM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
[1:27:51 PM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
[1:27:51 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/npm"
[1:27:51 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/npm"
[1:27:51 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/github"
[1:27:51 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/npm"
[1:27:51 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/github"
[1:27:51 PM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/github"
[1:27:51 PM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/github"
[1:27:52 PM] [semantic-release] › ℹ  This test run was triggered on the branch refs/pull/91/merge, while semantic-release is configured to only publish from main, therefore a new version won’t be published.

If next_version is none, your commits don't trigger a release. Use feat: for minor (breaking changes too, until launch), fix: / perf: for patch.

Domantas and others added 2 commits October 13, 2026 16:23
…38 (oauth, route 28)

Adds StartMarketplaceIntegrationSignIn / StartMarketplaceIntegrationSignInResponse
(authorizeUrl, redirectUrl, expiresAt) and the additive fields
MarketplaceIntegrationDto.signedIn / signedInBy / signedInAt / tokenExpiresAt,
MarketplaceIntegrationListProjection.signedIn / signedInAt and
MarketplaceListingDto.connectSteps / oauthRedirectUrl. Route 29 (the
OAuth callback) is not in the type metadata.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…in start (route 28)

CodeModule gains startMarketplaceIntegrationSignIn
(POST .../integrations/{IntegrationViewId}/oauth/start), spliced from the
generate-endpoints output with its generated test and docs section.
marketplace-oauth.test.ts pins the id in the path only and reads
authorizeUrl / redirectUrl, and the new signedIn / signedInBy /
tokenExpiresAt fields of a connection. Route 29 (the callback) is not in
the type metadata and has no method.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas Domantas changed the title feat(marketplace): connection access matrix, role package and custom policy (routes 25–27) feat(marketplace): connection access (routes 25–27) and OAuth sign-in start (route 28) Oct 13, 2026
@Domantas
Domantas merged commit 9ad58f3 into main Oct 13, 2026
10 checks passed
@Domantas
Domantas deleted the audit/marketplace-access branch October 13, 2026 13:43
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 4.24.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant