File tree Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 1+ import { OBJECT_TYPE } from "../../common/constants.mjs" ;
2+ import common from "../common/common-update-object.mjs" ;
3+ import hubspot from "../../hubspot.app.mjs" ;
4+
5+ export default {
6+ ...common ,
7+ key : "hubspot-update-deal" ,
8+ name : "Update Deal" ,
9+ description : "Update a deal in Hubspot. [See the documentation](https://developers.hubspot.com/beta-docs/guides/api/crm/objects/deals#update-deals)" ,
10+ version : "0.0.1" ,
11+ type : "action" ,
12+ methods : {
13+ ...common . methods ,
14+ getObjectType ( ) {
15+ return OBJECT_TYPE . DEAL ;
16+ } ,
17+ } ,
18+ props : {
19+ hubspot,
20+ objectId : {
21+ propDefinition : [
22+ hubspot ,
23+ "objectId" ,
24+ ( ) => ( {
25+ objectType : "deal" ,
26+ } ) ,
27+ ] ,
28+ } ,
29+ ...common . props ,
30+ } ,
31+ } ;
Original file line number Diff line number Diff line change 11{
22 "name" : " @pipedream/hubspot" ,
3- "version" : " 0.10.2 " ,
3+ "version" : " 0.11.0 " ,
44 "description" : " Pipedream Hubspot Components" ,
55 "main" : " hubspot.app.mjs" ,
66 "keywords" : [
You can’t perform that action at this time.
0 commit comments