Repository navigation
Conversation
|
Thank you for following the naming conventions for pull request titles! 🙏 |
mini0n-ai
force-pushed
the
fix/bounty-algora-revertinc-revert-551-551
branch
from
September 4, 2026 15:53
9fa2d27 to
48e6872
Compare
This branch has not been deployed
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.
Summary
Adds support for Workable as an ATS integration within Revert APIs, enabling users to establish connection credentials via Workable API Access Tokens (direct connection) and OAuth2 authorization code flows.
Resolves #551
/claim #551
Key Changes
schema.prisma): Addedworkabletoenum TP_IDfor database-backed connection modeling.constants/common.ts): RegisteredworkableinATS_TP_ID,mapIntegrationIdToIntegrationName, and definedDEFAULT_SCOPE[TP_ID.workable].authHandlers/workable.ts): ImplementedWorkableAuthHandlerwith:handleBasicAuth(): Securely persists Workable API access tokens intoxprisma.connectionsand emitssendConnectionAddedEvent.handleOAuth(): Handles standard OAuth2 code token exchange with Workable's token endpoint (https://oauth.workable.com/oauth/token).routes/v1/ats/auth.ts): DispatchesTP_ID.workablecallbacks to the appropriate handler.services/metadata.ts): Exposes Workable integration details in the metadata catalogue.workable.test.ts): Added unit tests verifying provider mappings, default scopes, and handler exports.Testing & Verification
bun test packages/backend/routes/v1/ats/authHandlers/workable.test.ts): 100% pass (3/3 tests).Bounty Payout Address (USDC on Base):
0xf50Bdf054542974Eef886cBBCDa8c533A65C58F8