Skip to content

Commit 02f7286

Browse files
committed
new source
1 parent 5d7fcf0 commit 02f7286

File tree

3 files changed

+79
-1
lines changed

3 files changed

+79
-1
lines changed

components/acuity_scheduling/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/acuity_scheduling",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "Pipedream Acuity Scheduling Components",
55
"main": "acuity_scheduling.app.mjs",
66
"keywords": [
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import common from "../common/base.mjs";
2+
import sampleEmit from "./test-event.mjs";
3+
4+
export default {
5+
...common,
6+
key: "acuity_scheduling-appointment-rescheduled-instant",
7+
name: "New Appointment Rescheduled (Instant)",
8+
description: "Emit new event when an appointment is rescheduled.",
9+
version: "0.0.1",
10+
type: "source",
11+
dedupe: "unique",
12+
methods: {
13+
getEvent() {
14+
return "appointment.rescheduled";
15+
},
16+
getSummary(details) {
17+
return `New appointment rescheduled with Id: ${details.id}`;
18+
},
19+
},
20+
sampleEmit,
21+
};
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
export default {
2+
"id": 54321,
3+
"firstName": "Bob",
4+
"lastName": "McTest",
5+
"phone": "",
6+
"email": "[email protected]",
7+
"date": "June 17, 2013",
8+
"time": "10:15am",
9+
"endTime": "11:15am",
10+
"dateCreated": "July 2, 2013",
11+
"datetime": "2013-06-17T10:15:00-0700",
12+
"price": "10.00",
13+
"paid": "no",
14+
"amountPaid": "0.00",
15+
"type": "Regular Visit",
16+
"appointmentTypeID": 1,
17+
"classID": null,
18+
"duration": "60",
19+
"calendar": "My Calendar",
20+
"calendarID": 27238,
21+
"canClientCancel": false,
22+
"canClientReschedule": false,
23+
"location": "",
24+
"certificate": null,
25+
"confirmationPage": "https://acuityscheduling.com/schedule.php?owner=11145481&id[]=1220aa9f41091c50c0cc659385cfa1d0&action=appt",
26+
"formsText": "...",
27+
"notes": "Notes",
28+
"timezone": "America/New_York",
29+
"scheduledBy": null,
30+
"forms": [
31+
{
32+
"id": 1,
33+
"name": "Example Intake Form",
34+
"values": [
35+
{
36+
"value": "yes",
37+
"name": "Is this your first visit?",
38+
"fieldID": 1,
39+
"id": 21502993
40+
},
41+
{
42+
"value": "Ninja",
43+
"name": "What is your goal for this appointment?",
44+
"fieldID": 2,
45+
"id": 21502994
46+
}
47+
]
48+
}
49+
],
50+
"labels": [
51+
{
52+
"id": 3,
53+
"name": "Completed",
54+
"color": "pink"
55+
}
56+
],
57+
}

0 commit comments

Comments
 (0)