Closed rflihxyz closed 2 weeks ago
Extend CloseConnectionService
to Support Custom Fields:
async fetchCustomFields(projectId: string) {
const CREDENTIALS = (await this.cService.getCredentials(projectId, this.type)) as OAuth2AuthData;
const accessToken = this.cryptoService.decrypt(CREDENTIALS.access_token);
const res = await axios.get('https://api.close.com/api/v1/custom_field/', {
headers: { 'Authorization': `Bearer ${accessToken}` }
});
return res.data;
}
Update handleCallback
Method:
const customFields = await this.fetchCustomFields(projectId);
// Store customFields in the database or process as needed
Update handleTokenRefresh
Method:
const customFields = await this.fetchCustomFields(projectId);
// Update customFields in the database or process as needed
Database Schema Update:
ALTER TABLE connections ADD COLUMN custom_fields JSONB;
/packages/api/src/@core/connections/crm/services/close/close.service.ts /packages/api/src/@core/connections/crm/services/close
/bounty $200
## 💎 $200 bounty • Panora (YC S24)
### Steps to solve:
1. Start working: Comment
/attempt #455
with your implementation plan2. Submit work: Create a pull request including
/claim #455
in the PR body to claim the bounty3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
### Additional opportunities:
* 🔴 Livestream on Algora TV while solving this bounty & earn $200 upon merge! Make sure to have your camera and microphone on. Comment /livestream
once live
Thank you for contributing to panoratech/Panora!
Add a bounty • Share on socials
Attempt | Started (GMT+0) | Solution |
---|---|---|
🔴 @lovishduggal | Jun 4, 2024, 9:31:57 AM | WIP |
🟢 @abhishek818 | Jun 4, 2024, 10:10:23 AM | WIP |
🟢 @neo773 | Jun 4, 2024, 10:21:46 AM | WIP |
🟢 @rajeshj11 | Jun 5, 2024, 12:23:22 PM | #484 |
Hey @lovishduggal, our community can help you build this connector - feel free to checkout our discord to receive support
/attempt #455
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@abhishek818 | 4 bounties from 3 projects | JavaScript, TypeScript |
Cancel attempt |
@rflihxyz Can i get this assigned ? Seems the other guy closed his attempt.
/attempt #455
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@neo773 | 118 bounties from 25 projects | TypeScript, Rust, Go & more |
Cancel attempt |
/attempt #455
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@rajeshj11 | 4 bounties from 3 projects | JavaScript, TypeScript, HTML |
Cancel attempt |
Hey @rflihxyz! After reviewing my work, I've realized that I wasn't aware you were using nestJS. Currently, I'm more familiar with MERN and NextJS, but I'm really interested in learning nestJS in the near future. Once I've gained proficiency in it, I'd love to circle back to your project and contribute. Thank you for being so understanding and accommodating.
💡 @rajeshj11 submitted a pull request that claims the bounty. You can visit your bounty board to reward.
🎉🎈 @rajeshj11 has been awarded $200! 🎈🎊
Category
CRM
Platforms
Close.com
Expected Objects