Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: associations #187

Merged
merged 28 commits into from
Aug 16, 2023
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
bb65117
standardize association naming
hvinder Aug 7, 2023
eb589d5
create a union type for association
hvinder Aug 7, 2023
879ee1b
hubspot association ids
hvinder Aug 7, 2023
e29eddf
hubspot contact -> deal association
hvinder Aug 7, 2023
88257bd
hubspot company -> deal association
hvinder Aug 7, 2023
9cf2774
hubspot event -> deal association
hvinder Aug 8, 2023
3f0a6a9
hubspot lead -> deal association
hvinder Aug 8, 2023
432591b
hubspot task -> deal association
hvinder Aug 8, 2023
7c8cc68
sfdc note -> deal association
hvinder Aug 10, 2023
977ed8e
sfdc task -> deal association
hvinder Aug 10, 2023
e224df0
sfdc event -> deal & event -> contact association
hvinder Aug 10, 2023
22c8977
fix import
hvinder Aug 10, 2023
774deb6
fix import
hvinder Aug 10, 2023
f603d98
zoho note -> deal association
hvinder Aug 10, 2023
c89f342
zoho event -> deal association
hvinder Aug 11, 2023
4e1e4b8
zoho task -> deal association
hvinder Aug 11, 2023
0132bde
zoho contact -> deal association
hvinder Aug 13, 2023
1ef0ecc
zoho company -> deal association
hvinder Aug 13, 2023
d975db7
sfdc company -> deal association
hvinder Aug 14, 2023
65957d4
Merge branch 'main' of github.com:revertinc/Revert into feat/associat…
hvinder Aug 14, 2023
9a66afb
enable sdk deploy to s3
hvinder Aug 14, 2023
a6f6ddc
sfdc contact -> deal association
hvinder Aug 14, 2023
f356e00
zoho contact -> deal association payload fixed
hvinder Aug 14, 2023
3345d09
minor changes
hvinder Aug 14, 2023
2961daa
Address comments
hvinder Aug 14, 2023
0fefff4
Handle errors better
hvinder Aug 15, 2023
59f6d07
Handle standard errors
hvinder Aug 16, 2023
a66d6bb
fern types for association
hvinder Aug 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
sfdc note -> deal association
hvinder committed Aug 10, 2023
commit 7c8cc680a624a4989fd97386dcd9f26a1aec3970
3 changes: 3 additions & 0 deletions packages/backend/models/unified/note.ts
Original file line number Diff line number Diff line change
@@ -63,6 +63,9 @@ export function toSalesforceNote(unified: UnifiedNote): any {
const salesforceNote: any = {
Id: unified.remoteId,
Body: unified.content,
...(unified.associations?.dealId && {
parentId: unified.associations.dealId,
}),
};

// Map custom fields