Skip to content

Commit

Permalink
chore: remove duplicate client code
Browse files Browse the repository at this point in the history
  • Loading branch information
kishanprmr committed Dec 27, 2024
1 parent 5a90d84 commit 3c9be15
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 776 deletions.
2 changes: 1 addition & 1 deletion packages/pieces/community/hubspot/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@activepieces/piece-hubspot",
"version": "0.5.9"
"version": "0.6.0"
}
321 changes: 0 additions & 321 deletions packages/pieces/community/hubspot/src/lib/common/client.ts

This file was deleted.

37 changes: 19 additions & 18 deletions packages/pieces/community/hubspot/src/lib/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,25 @@ export const DEFAULT_LINE_ITEM_PROPERTIES = [
'hs_term_in_months',
];



export const DEFAULT_TASK_PROPERTIES = [
'hs_task_body',
'hubspot_owner_id',
'hs_task_subject',
'hs_task_status',
'hs_task_priority',
'hs_task_type',
'hs_created_by',
'hs_repeat_status',
'hs_task_completion_date',
'hs_task_is_completed',
'hs_timestamp',
'hs_queue_membership_ids',
'hs_lastmodifieddate',
'hs_createdate',
];

export const STANDARD_OBJECT_TYPES = [
{
label: 'Contacts',
Expand All @@ -156,21 +175,3 @@ export const STANDARD_OBJECT_TYPES = [
},
];



export const DEFAULT_TASK_PROPERTIES = [
'hs_task_body',
'hubspot_owner_id',
'hs_task_subject',
'hs_task_status',
'hs_task_priority',
'hs_task_type',
'hs_created_by',
'hs_repeat_status',
'hs_task_completion_date',
'hs_task_is_completed',
'hs_timestamp',
'hs_queue_membership_ids',
'hs_lastmodifieddate',
'hs_createdate',
];
Loading

0 comments on commit 3c9be15

Please sign in to comment.