Repository navigation
feat(marketplace): connection access (routes 25–27) and OAuth sign-in start (route 28) - #91
Merged
Merged
Conversation
…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>
🚀 Release previewNext version on merge to semantic-release dry-run output
|
…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>
|
🎉 This PR is included in version 4.24.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
GetMarketplaceIntegrationAccess*,SetMarketplaceIntegrationRoleAccess,SaveMarketplaceIntegrationCustomAccess*,MarketplaceAccess*Dto,MarketplaceAccessLevel),StartMarketplaceIntegrationSignIn*, and the additive fieldsTestMarketplaceIntegrationResponse.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.hub.code:getMarketplaceIntegrationAccess,setMarketplaceIntegrationRoleAccess,saveMarketplaceIntegrationCustomAccess,startMarketplaceIntegrationSignIn— spliced fromgenerate-endpoints(Code module only; the hand helpergetMarketplaceFunctionRunDetailsstays), generated tests + docs sections;tests/hub/marketplace-access.test.tsandmarketplace-oauth.test.tspin the id in the path, no body on the GET, the role / ticks in the PUT / POST body, and read the additive fields.Evidence
Task file: typegen
docs/tasks/marketplace-access-sdks.md(branchaudit/marketplace-access2, worktree~/Projects/norbix/worktrees/typegen/marketplace-access2). Gateway items:docs/testing/testing-plan/11b-marketplace/items/access.mdandoauth.md.Expected release: v4.24.0 (last v4.23.0) (feat → minor). Additive only — no breaking change.
🤖 Generated with Claude Code