calendlyr 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +7 -8
- data/CHANGELOG.md +2 -2
- data/README.md +46 -127
- data/calendlyr.gemspec +0 -1
- data/docs/resources/activity_log/list_activity_log_entries.md +34 -0
- data/docs/resources/availabilities/availability_rule.md +5 -0
- data/docs/resources/availabilities/user_availability_schedule.md +50 -0
- data/docs/resources/availabilities/user_busy_time.md +28 -0
- data/docs/resources/data_compliance.md +19 -0
- data/docs/resources/event_types/available_time.md +21 -0
- data/docs/resources/event_types/event_type.md +55 -0
- data/docs/resources/event_types/membership.md +29 -0
- data/docs/resources/event_types/profile.md +13 -0
- data/docs/resources/events/cancellation.md +18 -0
- data/docs/resources/events/event.md +62 -0
- data/docs/resources/events/guest.md +5 -0
- data/docs/resources/events/invitee.md +28 -0
- data/docs/resources/events/invitee_no_show.md +49 -0
- data/docs/resources/groups/group.md +56 -0
- data/docs/resources/groups/relationship.md +54 -0
- data/docs/resources/organizations/invitation.md +65 -0
- data/docs/resources/organizations/membership.md +58 -0
- data/docs/resources/organizations/organization.md +149 -0
- data/docs/resources/pagination.md +21 -0
- data/docs/resources/routing_forms/routing_form.md +48 -0
- data/docs/resources/routing_forms/submission.md +40 -0
- data/docs/resources/scheduling_link.md +26 -0
- data/docs/resources/share.md +28 -0
- data/docs/resources/user.md +111 -0
- data/docs/resources/webhooks/invitee_payload.md +42 -0
- data/docs/resources/webhooks/payload.md +5 -0
- data/docs/resources/webhooks/subscription.md +96 -0
- data/lib/calendlyr/client.rb +18 -2
- data/lib/calendlyr/collection.rb +2 -2
- data/lib/calendlyr/error.rb +42 -1
- data/lib/calendlyr/object.rb +6 -2
- data/lib/calendlyr/objects/activity_log.rb +11 -0
- data/lib/calendlyr/objects/availabilities/rule.rb +4 -0
- data/lib/calendlyr/objects/availabilities/user_busy_time.rb +7 -0
- data/lib/calendlyr/objects/availabilities/user_schedule.rb +13 -0
- data/lib/calendlyr/objects/event.rb +11 -0
- data/lib/calendlyr/objects/event_type.rb +15 -0
- data/lib/calendlyr/objects/event_types/available_time.rb +4 -0
- data/lib/calendlyr/objects/event_types/membership.rb +11 -0
- data/lib/calendlyr/objects/event_types/profile.rb +7 -0
- data/lib/calendlyr/objects/events/cancellation.rb +4 -0
- data/lib/calendlyr/objects/events/guest.rb +4 -0
- data/lib/calendlyr/objects/events/invitee.rb +11 -0
- data/lib/calendlyr/objects/events/invitee_no_show.rb +7 -0
- data/lib/calendlyr/objects/group.rb +15 -0
- data/lib/calendlyr/objects/groups/relationship.rb +15 -0
- data/lib/calendlyr/objects/organization.rb +67 -0
- data/lib/calendlyr/objects/organizations/invitation.rb +15 -0
- data/lib/calendlyr/objects/organizations/membership.rb +15 -0
- data/lib/calendlyr/objects/routing_form.rb +11 -0
- data/lib/calendlyr/objects/routing_forms/submission.rb +7 -0
- data/lib/calendlyr/objects/scheduling_link.rb +9 -0
- data/lib/calendlyr/objects/share.rb +9 -0
- data/lib/calendlyr/objects/user.rb +31 -0
- data/lib/calendlyr/objects/webhooks/invitee_payload.rb +15 -0
- data/lib/calendlyr/objects/webhooks/payload.rb +4 -0
- data/lib/calendlyr/objects/webhooks/subscription.rb +23 -0
- data/lib/calendlyr/resource.rb +2 -2
- data/lib/calendlyr/resources/availability.rb +19 -0
- data/lib/calendlyr/resources/data_compliance.rb +4 -0
- data/lib/calendlyr/resources/event.rb +40 -0
- data/lib/calendlyr/resources/event_type.rb +28 -0
- data/lib/calendlyr/resources/group.rb +22 -0
- data/lib/calendlyr/resources/organization.rb +40 -0
- data/lib/calendlyr/resources/outgoing_communication.rb +8 -0
- data/lib/calendlyr/resources/routing_form.rb +22 -0
- data/lib/calendlyr/resources/{scheduling_links.rb → scheduling_link.rb} +2 -2
- data/lib/calendlyr/resources/share.rb +8 -0
- data/lib/calendlyr/resources/user.rb +11 -0
- data/lib/calendlyr/resources/webhook.rb +25 -0
- data/lib/calendlyr/version.rb +1 -1
- data/lib/calendlyr.rb +70 -18
- data/test/calendlyr/objects/activity_log_test.rb +26 -0
- data/test/calendlyr/objects/availabilities/rule_test.rb +24 -0
- data/test/calendlyr/objects/availabilities/user_busy_time_test.rb +21 -0
- data/test/calendlyr/objects/availabilities/user_schedule_test.rb +26 -0
- data/test/calendlyr/objects/event_test.rb +32 -0
- data/test/calendlyr/objects/event_type_test.rb +43 -0
- data/test/calendlyr/objects/event_types/available_time_test.rb +20 -0
- data/test/calendlyr/objects/event_types/membership_test.rb +32 -0
- data/test/calendlyr/objects/event_types/profile_test.rb +23 -0
- data/test/calendlyr/objects/events/cancellation_test.rb +16 -0
- data/test/calendlyr/objects/events/guest_test.rb +16 -0
- data/test/calendlyr/objects/events/invitee_no_show_test.rb +23 -0
- data/test/calendlyr/objects/events/invitee_test.rb +35 -0
- data/test/calendlyr/objects/group_test.rb +40 -0
- data/test/calendlyr/objects/groups/relationship_test.rb +43 -0
- data/test/calendlyr/objects/organization_test.rb +157 -0
- data/test/calendlyr/objects/organizations/invitation_test.rb +34 -0
- data/test/calendlyr/objects/organizations/membership_test.rb +38 -0
- data/test/calendlyr/objects/routing_form_test.rb +26 -0
- data/test/calendlyr/objects/routing_forms/submission_test.rb +22 -0
- data/test/calendlyr/objects/scheduling_link_test.rb +17 -0
- data/test/calendlyr/objects/share_test.rb +19 -0
- data/test/calendlyr/objects/user_test.rb +81 -0
- data/test/calendlyr/objects/webhooks/invite_payload_test.rb +42 -0
- data/test/calendlyr/objects/webhooks/payload_test.rb +16 -0
- data/test/calendlyr/objects/webhooks/subscription_test.rb +42 -0
- data/test/calendlyr/resource_test.rb +12 -3
- data/test/calendlyr/resources/availabilities/user_busy_times_test.rb +31 -0
- data/test/calendlyr/resources/availabilities/user_schedules_test.rb +37 -0
- data/test/calendlyr/resources/data_compliance_test.rb +11 -0
- data/test/calendlyr/resources/event_types/membership_test.rb +22 -0
- data/test/calendlyr/resources/event_types_test.rb +55 -10
- data/test/calendlyr/resources/events/invitee_test.rb +31 -0
- data/test/calendlyr/resources/events_test.rb +22 -10
- data/test/calendlyr/resources/groups_test.rb +26 -0
- data/test/calendlyr/resources/organizations_test.rb +36 -100
- data/test/calendlyr/resources/outgoing_communications_test.rb +16 -0
- data/test/calendlyr/resources/scheduling_links_test.rb +1 -1
- data/test/calendlyr/resources/users_test.rb +9 -33
- data/test/calendlyr/resources/webhooks_test.rb +22 -13
- data/test/fixtures/activity_log/list.json +38 -0
- data/test/fixtures/availabilities/user_busy_times_list.json +39 -0
- data/test/fixtures/availabilities/user_schedules_list.json +93 -0
- data/test/fixtures/availabilities/user_schedules_retrieve.json +22 -0
- data/test/fixtures/data_compliance/delete_scheduled_event_data.json +1 -0
- data/test/fixtures/event_invitees/list.json +6 -6
- data/test/fixtures/event_invitees/retrieve.json +3 -3
- data/test/fixtures/event_type_available_times/list.json +22 -0
- data/test/fixtures/event_type_hosts/list.json +76 -0
- data/test/fixtures/event_types/create_one_off.json +45 -0
- data/test/fixtures/event_types/list.json +18 -4
- data/test/fixtures/event_types/retrieve.json +13 -2
- data/test/fixtures/events/cancel_invitee.json +8 -0
- data/test/fixtures/events/create_invitee_no_show.json +7 -0
- data/test/fixtures/events/delete_invitee_no_show.json +1 -0
- data/test/fixtures/events/retrieve_invitee_no_show.json +7 -0
- data/test/fixtures/group_relationships/list.json +83 -0
- data/test/fixtures/group_relationships/retrieve.json +29 -0
- data/test/fixtures/groups/list.json +19 -0
- data/test/fixtures/groups/retrieve.json +9 -0
- data/test/fixtures/objects/activity_log.json +24 -0
- data/test/fixtures/objects/availabilities/rule.json +10 -0
- data/test/fixtures/objects/availabilities/user_busy_time.json +10 -0
- data/test/fixtures/objects/availabilities/user_schedule.json +69 -0
- data/test/fixtures/objects/availability_rule.json +10 -0
- data/test/fixtures/objects/event.json +36 -0
- data/test/fixtures/objects/event_type.json +91 -0
- data/test/fixtures/objects/event_type_host.json +65 -0
- data/test/fixtures/objects/event_types/available_time.json +6 -0
- data/test/fixtures/objects/event_types/membership.json +65 -0
- data/test/fixtures/objects/event_types/profile.json +5 -0
- data/test/fixtures/objects/events/cancellation.json +6 -0
- data/test/fixtures/objects/events/guest.json +5 -0
- data/test/fixtures/objects/events/invitee.json +46 -0
- data/test/fixtures/objects/events/invitee_no_show.json +5 -0
- data/test/fixtures/objects/group.json +7 -0
- data/test/fixtures/objects/groups/relationship.json +27 -0
- data/test/fixtures/objects/organization.json +8 -0
- data/test/fixtures/objects/organizations/invitation.json +10 -0
- data/test/fixtures/objects/organizations/membership.json +18 -0
- data/test/fixtures/objects/routing_form.json +28 -0
- data/test/fixtures/objects/routing_forms/submission.json +27 -0
- data/test/fixtures/objects/scheduling_links/event_type.json +5 -0
- data/test/fixtures/objects/share.json +43 -0
- data/test/fixtures/objects/user.json +13 -0
- data/test/fixtures/objects/webhooks/invite_payload.json +83 -0
- data/test/fixtures/objects/webhooks/payload.json +66 -0
- data/test/fixtures/objects/webhooks/subscription.json +15 -0
- data/test/fixtures/organization_memberships/list.json +29 -0
- data/test/fixtures/organization_memberships/retrieve.json +20 -0
- data/test/fixtures/organizations/list_invitations.json +4 -4
- data/test/fixtures/organizations/list_memberships.json +12 -9
- data/test/fixtures/organizations/retrieve_invitation.json +3 -3
- data/test/fixtures/organizations/retrieve_membership.json +3 -3
- data/test/fixtures/outgoing_communications/list.json +26 -0
- data/test/fixtures/resources/401.json +2 -2
- data/test/fixtures/resources/403.json +1 -1
- data/test/fixtures/resources/403_payment_required.json +4 -0
- data/test/fixtures/resources/424.json +4 -0
- data/test/fixtures/routing_forms/list.json +39 -0
- data/test/fixtures/routing_forms/list_routing_form_submission.json +38 -0
- data/test/fixtures/routing_forms/retrieve.json +30 -0
- data/test/fixtures/routing_forms/retrieve_routing_form_submission.json +29 -0
- data/test/fixtures/shares/create.json +45 -0
- data/test/fixtures/user_availability_schedules/list.json +93 -0
- data/test/fixtures/user_availability_schedules/retrieve.json +22 -0
- data/test/fixtures/user_busy_times/list.json +39 -0
- data/test/fixtures/users/reload.json +5 -4
- data/test/fixtures/users/retrieve.json +5 -4
- data/test/fixtures/webhooks/create.json +4 -4
- data/test/fixtures/webhooks/list.json +4 -4
- data/test/fixtures/webhooks/retrieve.json +4 -4
- data/test/fixtures/webhooks/sample.json +105 -0
- metadata +159 -62
- data/lib/calendlyr/objects/event_invitees.rb +0 -4
- data/lib/calendlyr/objects/event_types.rb +0 -4
- data/lib/calendlyr/objects/events.rb +0 -4
- data/lib/calendlyr/objects/invitations.rb +0 -11
- data/lib/calendlyr/objects/memberships.rb +0 -7
- data/lib/calendlyr/objects/organizations.rb +0 -35
- data/lib/calendlyr/objects/scheduling_links.rb +0 -4
- data/lib/calendlyr/objects/users.rb +0 -19
- data/lib/calendlyr/objects/webhooks.rb +0 -11
- data/lib/calendlyr/resources/event_invitees.rb +0 -12
- data/lib/calendlyr/resources/event_types.rb +0 -12
- data/lib/calendlyr/resources/events.rb +0 -12
- data/lib/calendlyr/resources/organizations.rb +0 -33
- data/lib/calendlyr/resources/users.rb +0 -11
- data/lib/calendlyr/resources/webhooks.rb +0 -21
- data/test/calendlyr/resources/event_invitees_test.rb +0 -29
- data/test/fixtures/resources/409.json +0 -4
@@ -0,0 +1,38 @@
|
|
1
|
+
{
|
2
|
+
"collection": [
|
3
|
+
{
|
4
|
+
"uri": "https://api.calendly.com/routing_form_submissions/AAAAAAAAAAAAAAAA",
|
5
|
+
"routing_form": "https://api.calendly.com/routing_forms/AAAAAAAAAAAAAAAA",
|
6
|
+
"questions_and_answers": [
|
7
|
+
{
|
8
|
+
"question_uuid": "123e4567-e89b-12d3-a456-426614174000",
|
9
|
+
"question": "What is your industry?",
|
10
|
+
"answer": "IT & Software"
|
11
|
+
}
|
12
|
+
],
|
13
|
+
"tracking": {
|
14
|
+
"utm_campaign": null,
|
15
|
+
"utm_source": null,
|
16
|
+
"utm_medium": null,
|
17
|
+
"utm_content": null,
|
18
|
+
"utm_term": null,
|
19
|
+
"salesforce_uuid": null
|
20
|
+
},
|
21
|
+
"result": {
|
22
|
+
"type": "event_type",
|
23
|
+
"value": "https://api.calendly.com/event_types/GBGBDCAADAEDCRZ2"
|
24
|
+
},
|
25
|
+
"submitter": "https://calendly.com/scheduled_events/AAAAAAAAAAAAAAAA/invitees/AAAAAAAAAAAAAAAA",
|
26
|
+
"submitter_type": "Invitee",
|
27
|
+
"created_at": "2022-05-15T03:04:05.678Z",
|
28
|
+
"updated_at": "2022-05-15T06:05:04.321Z"
|
29
|
+
}
|
30
|
+
],
|
31
|
+
"pagination": {
|
32
|
+
"count": 20,
|
33
|
+
"next_page": "https://api.calendly.com/routing_form_submissions?count=1&page_token=d8T0LKQ1XsC2utmPlI7TFPpHX4SSfoGl",
|
34
|
+
"previous_page": "https://api.calendly.com/routing_form_submissions?count=1&page_token=VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H",
|
35
|
+
"next_page_token": "d8T0LKQ1XsC2utmPlI7TFPpHX4SSfoGl",
|
36
|
+
"previous_page_token": "VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H"
|
37
|
+
}
|
38
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"resource": {
|
3
|
+
"uri": "https://api.calendly.com/routing_forms/AAAAAAAAAAAAAAAA",
|
4
|
+
"organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
|
5
|
+
"name": "ACME Demo",
|
6
|
+
"status": "published",
|
7
|
+
"questions": [
|
8
|
+
{
|
9
|
+
"uuid": "123e4567-e89b-12d3-a456-426614174000",
|
10
|
+
"name": "What is your industry?",
|
11
|
+
"type": "select",
|
12
|
+
"required": true,
|
13
|
+
"answer_choices": [
|
14
|
+
"IT & Software",
|
15
|
+
"Financial Services",
|
16
|
+
"Entertainment"
|
17
|
+
]
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"uuid": "1213f8f1-57fd-45ee-88e9-1978d35b5cad",
|
21
|
+
"name": "Email",
|
22
|
+
"type": "email",
|
23
|
+
"required": true,
|
24
|
+
"answer_choices": null
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"created_at": "2022-05-15T03:04:05.678Z",
|
28
|
+
"updated_at": "2022-05-15T06:05:04.321Z"
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
{
|
2
|
+
"resource": {
|
3
|
+
"uri": "https://api.calendly.com/routing_form_submissions/AAAAAAAAAAAAAAAA",
|
4
|
+
"routing_form": "https://api.calendly.com/routing_forms/AAAAAAAAAAAAAAAA",
|
5
|
+
"questions_and_answers": [
|
6
|
+
{
|
7
|
+
"question_uuid": "123e4567-e89b-12d3-a456-426614174000",
|
8
|
+
"question": "What is your industry?",
|
9
|
+
"answer": "IT & Software"
|
10
|
+
}
|
11
|
+
],
|
12
|
+
"tracking": {
|
13
|
+
"utm_campaign": null,
|
14
|
+
"utm_source": null,
|
15
|
+
"utm_medium": null,
|
16
|
+
"utm_content": null,
|
17
|
+
"utm_term": null,
|
18
|
+
"salesforce_uuid": null
|
19
|
+
},
|
20
|
+
"result": {
|
21
|
+
"type": "event_type",
|
22
|
+
"value": "https://api.calendly.com/event_types/GBGBDCAADAEDCRZ2"
|
23
|
+
},
|
24
|
+
"submitter": "https://calendly.com/scheduled_events/AAAAAAAAAAAAAAAA/invitees/AAAAAAAAAAAAAAAA",
|
25
|
+
"submitter_type": "Invitee",
|
26
|
+
"created_at": "2022-05-15T03:04:05.678Z",
|
27
|
+
"updated_at": "2022-05-15T06:05:04.321Z"
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
{
|
2
|
+
"resource": {
|
3
|
+
"scheduling_links": [
|
4
|
+
{
|
5
|
+
"booking_url": "https://calendly.com/d/abcd-brv8/15-minute-meeting",
|
6
|
+
"owner": "https://api.calendly.com/event_types/AAAAAAAAAAAAAAAA",
|
7
|
+
"owner_type": "EventType"
|
8
|
+
}
|
9
|
+
],
|
10
|
+
"share_override": {
|
11
|
+
"name": "15 Minute Meeting",
|
12
|
+
"duration": 60,
|
13
|
+
"period_type": "fixed",
|
14
|
+
"start_date": "2019-01-02",
|
15
|
+
"end_date": "2019-01-03",
|
16
|
+
"max_booking_time": 300,
|
17
|
+
"hide_location": true,
|
18
|
+
"location_configurations": [
|
19
|
+
{
|
20
|
+
"location": "123 Abc St.",
|
21
|
+
"additional_info": "Example additional info",
|
22
|
+
"phone_number": "+1 888-888-8888",
|
23
|
+
"position": 0,
|
24
|
+
"kind": "physical"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"availability_rule": {
|
28
|
+
"rules": [
|
29
|
+
{
|
30
|
+
"type": "wday",
|
31
|
+
"wday": "friday",
|
32
|
+
"date": "2019-01-02",
|
33
|
+
"intervals": [
|
34
|
+
{
|
35
|
+
"from": "07:00",
|
36
|
+
"to": "11:00"
|
37
|
+
}
|
38
|
+
]
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"timezone": "America/New_York"
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
@@ -0,0 +1,93 @@
|
|
1
|
+
{
|
2
|
+
"collection": [
|
3
|
+
{
|
4
|
+
"uri": "https://api.calendly.com/user_availability_schedule/abc123",
|
5
|
+
"default": true,
|
6
|
+
"name": "Working Hours",
|
7
|
+
"user": "https://api.calendly.com/users/abc123",
|
8
|
+
"timezone": "America/New_York",
|
9
|
+
"rules": [
|
10
|
+
{
|
11
|
+
"type": "wday",
|
12
|
+
"intervals": [
|
13
|
+
{
|
14
|
+
"from": "08:30",
|
15
|
+
"to": "09:30"
|
16
|
+
}
|
17
|
+
],
|
18
|
+
"wday": "sunday",
|
19
|
+
"date": "2022-12-31"
|
20
|
+
}
|
21
|
+
]
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"uri": "https://api.calendly.com/user_availability_schedule/abc456",
|
25
|
+
"default": false,
|
26
|
+
"name": "Evening Hours",
|
27
|
+
"user": "https://api.calendly.com/users/abc123",
|
28
|
+
"timezone": "America/New_York",
|
29
|
+
"rules": [
|
30
|
+
{
|
31
|
+
"type": "wday",
|
32
|
+
"intervals": [
|
33
|
+
{
|
34
|
+
"from": "08:30",
|
35
|
+
"to": "17:00"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"wday": "monday"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"type": "wday",
|
42
|
+
"intervals": [
|
43
|
+
{
|
44
|
+
"from": "08:30",
|
45
|
+
"to": "17:00"
|
46
|
+
}
|
47
|
+
],
|
48
|
+
"wday": "tuesday"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"type": "wday",
|
52
|
+
"intervals": [],
|
53
|
+
"wday": "wednesday"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"type": "wday",
|
57
|
+
"intervals": [
|
58
|
+
{
|
59
|
+
"from": "08:30",
|
60
|
+
"to": "17:00"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"wday": "thursday"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"type": "wday",
|
67
|
+
"intervals": [
|
68
|
+
{
|
69
|
+
"from": "08:30",
|
70
|
+
"to": "17:00"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"wday": "friday"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"type": "wday",
|
77
|
+
"intervals": [],
|
78
|
+
"wday": "saturday"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"type": "date",
|
82
|
+
"intervals": [
|
83
|
+
{
|
84
|
+
"from": "08:30",
|
85
|
+
"to": "09:30"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"date": "2028-12-31"
|
89
|
+
}
|
90
|
+
]
|
91
|
+
}
|
92
|
+
]
|
93
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"resource": {
|
3
|
+
"uri": "https://api.calendly.com/user_availability_schedule/abc123",
|
4
|
+
"default": true,
|
5
|
+
"name": "Working Hours",
|
6
|
+
"user": "https://api.calendly.com/users/abc123",
|
7
|
+
"timezone": "America/New_York",
|
8
|
+
"rules": [
|
9
|
+
{
|
10
|
+
"type": "wday",
|
11
|
+
"intervals": [
|
12
|
+
{
|
13
|
+
"from": "08:30",
|
14
|
+
"to": "09:30"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"wday": "sunday",
|
18
|
+
"date": "2022-12-31"
|
19
|
+
}
|
20
|
+
]
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
{
|
2
|
+
"collection": [
|
3
|
+
{
|
4
|
+
"type": "calendly",
|
5
|
+
"start_time": "2020-01-02T20:00:00.000000Z",
|
6
|
+
"end_time": "2020-01-02T20:30:00.000000Z",
|
7
|
+
"buffered_start_time": "2020-01-02T19:30:00.000000Z",
|
8
|
+
"buffered_end_time": "2020-01-02T21:00:00.000000Z",
|
9
|
+
"event": {
|
10
|
+
"uri": "https://api.calendly.com/scheduled_events/abc123"
|
11
|
+
}
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"type": "calendly",
|
15
|
+
"start_time": "2020-01-05T20:00:00.000000Z",
|
16
|
+
"end_time": "2020-01-05T20:30:00.000000Z",
|
17
|
+
"buffered_start_time": "2020-01-05T19:30:00.000000Z",
|
18
|
+
"buffered_end_time": "2020-01-05T21:00:00.000000Z",
|
19
|
+
"event": {
|
20
|
+
"uri": "https://api.calendly.com/scheduled_events/abc12345"
|
21
|
+
}
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"type": "reserved",
|
25
|
+
"start_time": "2020-01-07T17:00:00.000000Z",
|
26
|
+
"end_time": "2020-01-07T17:30:00.000000Z"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"type": "reserved",
|
30
|
+
"start_time": "2020-01-07T18:00:00.000000Z",
|
31
|
+
"end_time": "2020-01-07T18:30:00.000000Z"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"type": "external",
|
35
|
+
"start_time": "2020-01-07T20:00:00.000000Z",
|
36
|
+
"end_time": "2020-01-07T20:30:00.000000Z"
|
37
|
+
}
|
38
|
+
]
|
39
|
+
}
|
@@ -1,14 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"resource": {
|
3
|
-
"uri": "https://api.calendly.com/users/
|
3
|
+
"uri": "https://api.calendly.com/users/abc123",
|
4
4
|
"name": "John Doe Reloaded",
|
5
5
|
"slug": "acmesales",
|
6
6
|
"email": "test@example.com",
|
7
7
|
"scheduling_url": "https://calendly.com/acmesales",
|
8
8
|
"timezone": "America/New York",
|
9
9
|
"avatar_url": "https://01234567890.cloudfront.net/uploads/user/avatar/0123456/a1b2c3d4.png",
|
10
|
-
"created_at": "2019-01-02T03:04:05.
|
11
|
-
"updated_at": "2019-08-07T06:05:04.
|
12
|
-
"current_organization": "https://api.calendly.com/organizations/
|
10
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
11
|
+
"updated_at": "2019-08-07T06:05:04.321123Z",
|
12
|
+
"current_organization": "https://api.calendly.com/organizations/abc123",
|
13
|
+
"resource_type": "User"
|
13
14
|
}
|
14
15
|
}
|
@@ -1,14 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"resource": {
|
3
|
-
"uri": "https://api.calendly.com/users/
|
3
|
+
"uri": "https://api.calendly.com/users/abc123",
|
4
4
|
"name": "John Doe",
|
5
5
|
"slug": "acmesales",
|
6
6
|
"email": "test@example.com",
|
7
7
|
"scheduling_url": "https://calendly.com/acmesales",
|
8
8
|
"timezone": "America/New York",
|
9
9
|
"avatar_url": "https://01234567890.cloudfront.net/uploads/user/avatar/0123456/a1b2c3d4.png",
|
10
|
-
"created_at": "2019-01-02T03:04:05.
|
11
|
-
"updated_at": "2019-08-07T06:05:04.
|
12
|
-
"current_organization": "https://api.calendly.com/organizations/
|
10
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
11
|
+
"updated_at": "2019-08-07T06:05:04.321123Z",
|
12
|
+
"current_organization": "https://api.calendly.com/organizations/abc123",
|
13
|
+
"resource_type": "User"
|
13
14
|
}
|
14
15
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"resource": {
|
3
|
-
"uri": "https://api.calendly.com/webhook_subscriptions/
|
3
|
+
"uri": "https://api.calendly.com/webhook_subscriptions/abc123",
|
4
4
|
"callback_url": "https://blah.foo/bar",
|
5
5
|
"created_at": "2019-08-24T14:15:22Z",
|
6
6
|
"updated_at": "2019-08-24T14:15:22Z",
|
@@ -10,8 +10,8 @@
|
|
10
10
|
"invitee.created"
|
11
11
|
],
|
12
12
|
"scope": "user",
|
13
|
-
"organization": "https://api.calendly.com/organizations/
|
14
|
-
"user": "https://api.calendly.com/users/
|
15
|
-
"creator": "https://api.calendly.com/users/
|
13
|
+
"organization": "https://api.calendly.com/organizations/abc123",
|
14
|
+
"user": "https://api.calendly.com/users/abc123",
|
15
|
+
"creator": "https://api.calendly.com/users/abc123"
|
16
16
|
}
|
17
17
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"collection": [
|
3
3
|
{
|
4
|
-
"uri": "https://api.calendly.com/webhook_subscriptions/
|
4
|
+
"uri": "https://api.calendly.com/webhook_subscriptions/abc123",
|
5
5
|
"callback_url": "https://blah.foo/bar",
|
6
6
|
"created_at": "2019-08-24T14:15:22Z",
|
7
7
|
"updated_at": "2019-08-24T14:15:22Z",
|
@@ -11,9 +11,9 @@
|
|
11
11
|
"invitee.created"
|
12
12
|
],
|
13
13
|
"scope": "user",
|
14
|
-
"organization": "https://api.calendly.com/organizations/
|
15
|
-
"user": "https://api.calendly.com/users/
|
16
|
-
"creator": "https://api.calendly.com/users/
|
14
|
+
"organization": "https://api.calendly.com/organizations/abc123",
|
15
|
+
"user": "https://api.calendly.com/users/abc123",
|
16
|
+
"creator": "https://api.calendly.com/users/abc123"
|
17
17
|
}
|
18
18
|
],
|
19
19
|
"pagination": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"resource": {
|
3
|
-
"uri": "https://api.calendly.com/webhook_subscriptions/
|
3
|
+
"uri": "https://api.calendly.com/webhook_subscriptions/abc123",
|
4
4
|
"callback_url": "https://blah.foo/bar",
|
5
5
|
"created_at": "2019-08-24T14:15:22Z",
|
6
6
|
"updated_at": "2019-08-24T14:15:22Z",
|
@@ -10,8 +10,8 @@
|
|
10
10
|
"invitee.created"
|
11
11
|
],
|
12
12
|
"scope": "user",
|
13
|
-
"organization": "https://api.calendly.com/organizations/
|
14
|
-
"user": "https://api.calendly.com/users/
|
15
|
-
"creator": "https://api.calendly.com/users/
|
13
|
+
"organization": "https://api.calendly.com/organizations/abc123",
|
14
|
+
"user": "https://api.calendly.com/users/abc123",
|
15
|
+
"creator": "https://api.calendly.com/users/abc123"
|
16
16
|
}
|
17
17
|
}
|
@@ -0,0 +1,105 @@
|
|
1
|
+
{
|
2
|
+
"event": "invitee.created",
|
3
|
+
"created_at": "2019-08-24T14:15:22Z",
|
4
|
+
"created_by": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA",
|
5
|
+
"payload": {
|
6
|
+
"uri": "https://calendly.com/scheduled_events/AAAAAAAAAAAAAAAA/invitees/AAAAAAAAAAAAAAAA",
|
7
|
+
"email": "test@example.com",
|
8
|
+
"first_name": "John",
|
9
|
+
"last_name": "Doe",
|
10
|
+
"name": "John Doe",
|
11
|
+
"status": "active",
|
12
|
+
"questions_and_answers": [
|
13
|
+
{
|
14
|
+
"question": "string",
|
15
|
+
"answer": "string",
|
16
|
+
"position": 0
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"timezone": "string",
|
20
|
+
"event": "https://api.calendly.com/scheduled_events/AAAAAAAAAAAAAAAA",
|
21
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
22
|
+
"updated_at": "2019-08-07T06:05:04.321123Z",
|
23
|
+
"tracking": {
|
24
|
+
"utm_campaign": "string",
|
25
|
+
"utm_source": "string",
|
26
|
+
"utm_medium": "string",
|
27
|
+
"utm_content": "string",
|
28
|
+
"utm_term": "string",
|
29
|
+
"salesforce_uuid": "string"
|
30
|
+
},
|
31
|
+
"text_reminder_number": "+1 404-555-1234",
|
32
|
+
"rescheduled": true,
|
33
|
+
"old_invitee": "http://example.com",
|
34
|
+
"new_invitee": "http://example.com",
|
35
|
+
"cancel_url": "http://example.com",
|
36
|
+
"reschedule_url": "http://example.com",
|
37
|
+
"routing_form_submission": "https://api.calendly.com/routing_form_submissions/AAAAAAAAAAAAAAAA",
|
38
|
+
"cancellation": {
|
39
|
+
"canceled_by": "string",
|
40
|
+
"reason": "string",
|
41
|
+
"canceler_type": "host",
|
42
|
+
"created_at": "2019-01-02T03:04:05.678123Z"
|
43
|
+
},
|
44
|
+
"payment": {
|
45
|
+
"external_id": "string",
|
46
|
+
"provider": "stripe",
|
47
|
+
"amount": 0,
|
48
|
+
"currency": "AUD",
|
49
|
+
"terms": "sample terms of payment (up to 1,024 characters)",
|
50
|
+
"successful": true
|
51
|
+
},
|
52
|
+
"no_show": {
|
53
|
+
"uri": "string",
|
54
|
+
"created_at": "2019-01-02T03:04:05.678123Z"
|
55
|
+
},
|
56
|
+
"reconfirmation": {
|
57
|
+
"created_at": "2020-11-23T17:51:18.341657Z",
|
58
|
+
"confirmed_at": "2020-11-23T17:51:18.341657Z"
|
59
|
+
},
|
60
|
+
"scheduling_method": "instant_book",
|
61
|
+
"invitee_scheduled_by": "http://example.com",
|
62
|
+
"scheduled_event": {
|
63
|
+
"uri": "https://api.calendly.com/scheduled_events/GBGBDCAADAEDCRZ2",
|
64
|
+
"name": "15 Minute Meeting",
|
65
|
+
"meeting_notes_plain": "15 Minute Meeting",
|
66
|
+
"meeting_notes_html": "<p>15 Minute Meeting</p>",
|
67
|
+
"status": "active",
|
68
|
+
"start_time": "2019-08-24T14:15:22Z",
|
69
|
+
"end_time": "2019-08-24T14:15:22Z",
|
70
|
+
"event_type": "https://api.calendly.com/event_types/GBGBDCAADAEDCRZ2",
|
71
|
+
"location": {
|
72
|
+
"type": "physical",
|
73
|
+
"location": "Calendly Office",
|
74
|
+
"additional_info": "Please check in at the main lobby."
|
75
|
+
},
|
76
|
+
"invitees_counter": {
|
77
|
+
"total": 0,
|
78
|
+
"active": 0,
|
79
|
+
"limit": 0
|
80
|
+
},
|
81
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
82
|
+
"updated_at": "2019-01-02T03:04:05.678123Z",
|
83
|
+
"event_memberships": [
|
84
|
+
{
|
85
|
+
"user": "https://api.calendly.com/users/GBGBDCAADAEDCRZ2",
|
86
|
+
"user_email": "user@example.com",
|
87
|
+
"user_name": "John Smith"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"event_guests": [
|
91
|
+
{
|
92
|
+
"email": "user@example.com",
|
93
|
+
"created_at": "2019-08-24T14:15:22Z",
|
94
|
+
"updated_at": "2019-08-24T14:15:22Z"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"cancellation": {
|
98
|
+
"canceled_by": "string",
|
99
|
+
"reason": "string",
|
100
|
+
"canceler_type": "host",
|
101
|
+
"created_at": "2019-01-02T03:04:05.678123Z"
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|