File tree Expand file tree Collapse file tree 8 files changed +31
-30
lines changed Expand file tree Collapse file tree 8 files changed +31
-30
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ import calCom from "../../cal_com.app.mjs";
33export default {
44 key : "cal_com-create-booking" ,
55 name : "Create Booking" ,
6- description : "Create a new booking. [See the docs here ](https://developer.cal.com/api/api-reference/bookings#create-a-new-booking)" ,
7- version : "0.0.1 " ,
6+ description : "Create a new booking. [See the documentation ](https://developer.cal.com/api/api-reference/bookings#create-a-new-booking)" ,
7+ version : "0.0.2 " ,
88 type : "action" ,
99 props : {
1010 calCom,
11- eventType : {
11+ eventTypeId : {
1212 propDefinition : [
1313 calCom ,
14- "eventType " ,
14+ "eventTypeId " ,
1515 ] ,
1616 } ,
1717 name : {
@@ -33,12 +33,12 @@ export default {
3333 startTime : {
3434 type : "string" ,
3535 label : "Start Time" ,
36- description : "The start time of the new booking in **ISO 8601** format" ,
36+ description : "The start time of the new booking in **ISO 8601** format. E.g. `2025-04-21T20:28:00` " ,
3737 } ,
3838 endTime : {
3939 type : "string" ,
4040 label : "End Time" ,
41- description : "The end time of the new booking in **ISO 8601** format" ,
41+ description : "The end time of the new booking in **ISO 8601** format. E.g. `2025-04-21T20:28:00` " ,
4242 } ,
4343 recurringCount : {
4444 type : "integer" ,
@@ -61,7 +61,7 @@ export default {
6161 } ,
6262 async run ( { $ } ) {
6363 const data = {
64- eventTypeId : this . eventType ,
64+ eventTypeId : this . eventTypeId ,
6565 name : this . name ,
6666 email : this . email ,
6767 title : this . title ,
Original file line number Diff line number Diff line change @@ -3,24 +3,25 @@ import calCom from "../../cal_com.app.mjs";
33export default {
44 key : "cal_com-delete-booking" ,
55 name : "Delete Booking" ,
6- description : "Delete an existing booking by its ID. [See the docs here ](https://developer.cal.com/api/api-reference/bookings)" ,
7- version : "0.0.1 " ,
6+ description : "Delete an existing booking by its ID. [See the documentation ](https://developer.cal.com/api/api-reference/bookings)" ,
7+ version : "0.0.2 " ,
88 type : "action" ,
99 props : {
1010 calCom,
11- booking : {
11+ bookingId : {
1212 propDefinition : [
1313 calCom ,
14- "booking " ,
14+ "bookingId " ,
1515 ( ) => ( {
1616 filterCancelled : true ,
1717 } ) ,
1818 ] ,
19+ description : "The identifier of the booking to delete" ,
1920 } ,
2021 } ,
2122 async run ( { $ } ) {
22- const response = await this . calCom . deleteBooking ( this . booking , $ ) ;
23- $ . export ( "$summary" , `Successfully deleted booking with ID ${ this . booking } ` ) ;
23+ const response = await this . calCom . deleteBooking ( this . bookingId , $ ) ;
24+ $ . export ( "$summary" , `Successfully deleted booking with ID ${ this . bookingId } ` ) ;
2425 return response ;
2526 } ,
2627} ;
Original file line number Diff line number Diff line change @@ -3,21 +3,21 @@ import calCom from "../../cal_com.app.mjs";
33export default {
44 key : "cal_com-get-booking" ,
55 name : "Get Booking" ,
6- description : "Retrieve a booking by its ID. [See the docs here ](https://developer.cal.com/api/api-reference/bookings#find-a-booking)" ,
7- version : "0.0.1 " ,
6+ description : "Retrieve a booking by its ID. [See the documentation ](https://developer.cal.com/api/api-reference/bookings#find-a-booking)" ,
7+ version : "0.0.2 " ,
88 type : "action" ,
99 props : {
1010 calCom,
11- booking : {
11+ bookingId : {
1212 propDefinition : [
1313 calCom ,
14- "booking " ,
14+ "bookingId " ,
1515 ] ,
1616 } ,
1717 } ,
1818 async run ( { $ } ) {
19- const response = await this . calCom . getBooking ( this . booking , $ ) ;
20- $ . export ( "$summary" , `Successfully retrieved booking with ID ${ this . booking } ` ) ;
19+ const response = await this . calCom . getBooking ( this . bookingId , $ ) ;
20+ $ . export ( "$summary" , `Successfully retrieved booking with ID ${ this . bookingId } ` ) ;
2121 return response ;
2222 } ,
2323} ;
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ export default {
99 type : "app" ,
1010 app : "cal_com" ,
1111 propDefinitions : {
12- booking : {
12+ bookingId : {
1313 type : "string" ,
14- label : "Booking" ,
15- description : "The booking to retrieve" ,
14+ label : "Booking ID " ,
15+ description : "The identifier of the booking to retrieve" ,
1616 async options ( { filterCancelled = false } ) {
1717 const { bookings = [ ] } = await this . listBookings ( ) ;
1818 const filteredBookings = filterCancelled
@@ -24,10 +24,10 @@ export default {
2424 } ) ) ;
2525 } ,
2626 } ,
27- eventType : {
27+ eventTypeId : {
2828 type : "string" ,
29- label : "Event Type" ,
30- description : "Event type of the new booking" ,
29+ label : "Event Type ID " ,
30+ description : "The identifier of the event type of the new booking" ,
3131 async options ( ) {
3232 const { event_types : eventTypes } = await this . listEventTypes ( ) ;
3333 return eventTypes . map ( ( type ) => ( {
Original file line number Diff line number Diff line change 11{
22 "name" : " @pipedream/cal_com" ,
3- "version" : " 0.0.4 " ,
3+ "version" : " 0.0.5 " ,
44 "description" : " Pipedream Cal.com Components" ,
55 "main" : " cal_com.app.mjs" ,
66 "keywords" : [
1313 "access" : " public"
1414 },
1515 "dependencies" : {
16- "@pipedream/platform" : " ^1.1.1 " ,
16+ "@pipedream/platform" : " ^3.0.3 " ,
1717 "async-retry" : " ^1.3.3"
1818 }
1919}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export default {
55 key : "cal_com-booking-cancelled" ,
66 name : "Booking Cancelled" ,
77 description : "Emit new event when a booking is cancelled." ,
8- version : "0.0.1 " ,
8+ version : "0.0.2 " ,
99 type : "source" ,
1010 dedupe : "unique" ,
1111 methods : {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export default {
55 key : "cal_com-booking-created" ,
66 name : "New Booking Created" ,
77 description : "Emit new event when a new booking is created." ,
8- version : "0.0.1 " ,
8+ version : "0.0.2 " ,
99 type : "source" ,
1010 dedupe : "unique" ,
1111 methods : {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export default {
55 key : "cal_com-booking-rescheduled" ,
66 name : "Booking Rescheduled" ,
77 description : "Emit new event when a booking is rescheduled." ,
8- version : "0.0.1 " ,
8+ version : "0.0.2 " ,
99 type : "source" ,
1010 dedupe : "unique" ,
1111 methods : {
You can’t perform that action at this time.
0 commit comments