calendlyr 0.6.0 → 0.7.1
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 +7 -2
- data/README.md +59 -140
- 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 +37 -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,76 @@
|
|
1
|
+
{
|
2
|
+
"collection": [
|
3
|
+
{
|
4
|
+
"uri": "https://api.calendly.com/event_type_memberships/AAAAAAAAAAAAAAAA",
|
5
|
+
"event_type": {
|
6
|
+
"uri": "https://api.calendly.com/event_types/AAAAAAAAAAAAAAAA",
|
7
|
+
"name": "15 Minute Meeting",
|
8
|
+
"active": true,
|
9
|
+
"slug": "acmesales",
|
10
|
+
"scheduling_url": "https://calendly.com/acmesales",
|
11
|
+
"duration": 30,
|
12
|
+
"kind": "solo",
|
13
|
+
"pooling_type": "round_robin",
|
14
|
+
"type": "StandardEventType",
|
15
|
+
"color": "#fff200",
|
16
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
17
|
+
"updated_at": "2019-08-07T06:05:04.321123Z",
|
18
|
+
"internal_note": "Internal note",
|
19
|
+
"description_plain": "15 Minute Meeting",
|
20
|
+
"description_html": "<p>15 Minute Meeting</p>",
|
21
|
+
"profile": {
|
22
|
+
"type": "User",
|
23
|
+
"name": "Tamara Jones",
|
24
|
+
"owner": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA"
|
25
|
+
},
|
26
|
+
"secret": true,
|
27
|
+
"booking_method": "poll",
|
28
|
+
"custom_questions": [
|
29
|
+
{
|
30
|
+
"name": "string",
|
31
|
+
"type": "string",
|
32
|
+
"position": 0,
|
33
|
+
"enabled": true,
|
34
|
+
"required": true,
|
35
|
+
"answer_choices": [
|
36
|
+
"string"
|
37
|
+
],
|
38
|
+
"include_other": true
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"deleted_at": "2019-01-02T03:04:05.678123Z",
|
42
|
+
"admin_managed": true,
|
43
|
+
"locations": [
|
44
|
+
{
|
45
|
+
"kind": "inbound_call",
|
46
|
+
"phone_number": 380934567654,
|
47
|
+
"additional_info": "Additional information about location"
|
48
|
+
}
|
49
|
+
],
|
50
|
+
"position": 0
|
51
|
+
},
|
52
|
+
"member": {
|
53
|
+
"uri": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA",
|
54
|
+
"name": "John Doe",
|
55
|
+
"slug": "acmesales",
|
56
|
+
"email": "test@example.com",
|
57
|
+
"scheduling_url": "https://calendly.com/acmesales",
|
58
|
+
"timezone": "America/New York",
|
59
|
+
"avatar_url": "https://01234567890.cloudfront.net/uploads/user/avatar/0123456/a1b2c3d4.png",
|
60
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
61
|
+
"updated_at": "2019-08-07T06:05:04.321123Z",
|
62
|
+
"current_organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
|
63
|
+
"resource_type": "User"
|
64
|
+
},
|
65
|
+
"updated_at": "2019-01-02T03:04:05.678123Z",
|
66
|
+
"created_at": "2019-01-02T03:04:05.678123Z"
|
67
|
+
}
|
68
|
+
],
|
69
|
+
"pagination": {
|
70
|
+
"count": 20,
|
71
|
+
"next_page": "https://api.calendly.com/event_types?count=1&page_token=sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi",
|
72
|
+
"previous_page": "https://api.calendly.com/event_types?count=1&page_token=VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H",
|
73
|
+
"next_page_token": "sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi",
|
74
|
+
"previous_page_token": "VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H"
|
75
|
+
}
|
76
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
{
|
2
|
+
"resource": {
|
3
|
+
"uri": "https://api.calendly.com/event_types/AAAAAAAAAAAAAAAA",
|
4
|
+
"name": "15 Minute Meeting",
|
5
|
+
"active": true,
|
6
|
+
"slug": "acmesales",
|
7
|
+
"scheduling_url": "https://calendly.com/acmesales",
|
8
|
+
"duration": 30,
|
9
|
+
"kind": "solo",
|
10
|
+
"pooling_type": "round_robin",
|
11
|
+
"type": "StandardEventType",
|
12
|
+
"color": "#fff200",
|
13
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
14
|
+
"updated_at": "2019-08-07T06:05:04.321123Z",
|
15
|
+
"internal_note": "Internal note",
|
16
|
+
"description_plain": "15 Minute Meeting",
|
17
|
+
"description_html": "<p>15 Minute Meeting</p>",
|
18
|
+
"profile": {
|
19
|
+
"type": "User",
|
20
|
+
"name": "Tamara Jones",
|
21
|
+
"owner": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA"
|
22
|
+
},
|
23
|
+
"secret": true,
|
24
|
+
"booking_method": "poll",
|
25
|
+
"custom_questions": [
|
26
|
+
{
|
27
|
+
"name": "string",
|
28
|
+
"type": "string",
|
29
|
+
"position": 0,
|
30
|
+
"enabled": true,
|
31
|
+
"required": true,
|
32
|
+
"answer_choices": [
|
33
|
+
"string"
|
34
|
+
],
|
35
|
+
"include_other": true
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"deleted_at": "2019-01-02T03:04:05.678123Z",
|
39
|
+
"admin_managed": true,
|
40
|
+
"locations": [
|
41
|
+
{}
|
42
|
+
],
|
43
|
+
"position": 0
|
44
|
+
}
|
45
|
+
}
|
@@ -4,6 +4,7 @@
|
|
4
4
|
"uri": "https://api.calendly.com/event_types/AAAAAAAAAAAAAAAA",
|
5
5
|
"name": "15 Minute Meeting",
|
6
6
|
"active": true,
|
7
|
+
"booking_method": "instant",
|
7
8
|
"slug": "acmesales",
|
8
9
|
"scheduling_url": "https://calendly.com/acmesales",
|
9
10
|
"duration": 30,
|
@@ -11,8 +12,8 @@
|
|
11
12
|
"pooling_type": "round_robin",
|
12
13
|
"type": "StandardEventType",
|
13
14
|
"color": "#fff200",
|
14
|
-
"created_at": "2019-01-02T03:04:05.
|
15
|
-
"updated_at": "2019-08-07T06:05:04.
|
15
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
16
|
+
"updated_at": "2019-08-07T06:05:04.321123Z",
|
16
17
|
"internal_note": "Internal note",
|
17
18
|
"description_plain": "15 Minute Meeting",
|
18
19
|
"description_html": "<p>15 Minute Meeting</p>",
|
@@ -22,6 +23,16 @@
|
|
22
23
|
"owner": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA"
|
23
24
|
},
|
24
25
|
"secret": true,
|
26
|
+
"deleted_at": null,
|
27
|
+
"admin_managed": false,
|
28
|
+
"locations": [
|
29
|
+
{
|
30
|
+
"kind": "inbound_call",
|
31
|
+
"phone_number": 380934567654,
|
32
|
+
"additional_info": "Additional information about location"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"position": 0,
|
25
36
|
"custom_questions": [
|
26
37
|
{
|
27
38
|
"name": "Company Name",
|
@@ -82,7 +93,10 @@
|
|
82
93
|
}
|
83
94
|
],
|
84
95
|
"pagination": {
|
85
|
-
"count":
|
86
|
-
"next_page": "https://api.calendly.com/event_types?count=1&page_token=sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi"
|
96
|
+
"count": 20,
|
97
|
+
"next_page": "https://api.calendly.com/event_types?count=1&page_token=sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi",
|
98
|
+
"previous_page": "https://api.calendly.com/event_types?count=1&page_token=VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H",
|
99
|
+
"next_page_token": "sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi",
|
100
|
+
"previous_page_token": "VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H"
|
87
101
|
}
|
88
102
|
}
|
@@ -3,6 +3,7 @@
|
|
3
3
|
"uri": "https://api.calendly.com/event_types/AAAAAAAAAAAAAAAA",
|
4
4
|
"name": "15 Minute Meeting",
|
5
5
|
"active": true,
|
6
|
+
"booking_method": "instant",
|
6
7
|
"slug": "acmesales",
|
7
8
|
"scheduling_url": "https://calendly.com/acmesales",
|
8
9
|
"duration": 30,
|
@@ -10,8 +11,8 @@
|
|
10
11
|
"pooling_type": "round_robin",
|
11
12
|
"type": "StandardEventType",
|
12
13
|
"color": "#fff200",
|
13
|
-
"created_at": "2019-01-02T03:04:05.
|
14
|
-
"updated_at": "2019-08-07T06:05:04.
|
14
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
15
|
+
"updated_at": "2019-08-07T06:05:04.321123Z",
|
15
16
|
"internal_note": "Internal note",
|
16
17
|
"description_plain": "15 Minute Meeting",
|
17
18
|
"description_html": "<p>15 Minute Meeting</p>",
|
@@ -21,6 +22,16 @@
|
|
21
22
|
"owner": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA"
|
22
23
|
},
|
23
24
|
"secret": true,
|
25
|
+
"deleted_at": null,
|
26
|
+
"admin_managed": false,
|
27
|
+
"locations": [
|
28
|
+
{
|
29
|
+
"kind": "inbound_call",
|
30
|
+
"phone_number": 380934567654,
|
31
|
+
"additional_info": "Additional information about location"
|
32
|
+
}
|
33
|
+
],
|
34
|
+
"position": 0,
|
24
35
|
"custom_questions": [
|
25
36
|
{
|
26
37
|
"name": "Company Name",
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{
|
2
|
+
"resource": {
|
3
|
+
"uri": "https://api.calendly.com/invitee_no_shows/639fa667-4c1b-4b20-93b5-1b1969d67dc6",
|
4
|
+
"invitee": "https://api.calendly.com/scheduled_events/GBGBDCAADAEDCRZ2/invitees/7c1dbe46-bd84-42e2-9b97-05e2fb379bfe",
|
5
|
+
"created_at": "2019-01-02T03:04:05.678123Z"
|
6
|
+
}
|
7
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{
|
2
|
+
"resource": {
|
3
|
+
"uri": "https://api.calendly.com/invitee_no_shows/639fa667-4c1b-4b20-93b5-1b1969d67dc6",
|
4
|
+
"invitee": "https://api.calendly.com/scheduled_events/GBGBDCAADAEDCRZ2/invitees/7c1dbe46-bd84-42e2-9b97-05e2fb379bfe",
|
5
|
+
"created_at": "2019-01-02T03:04:05.678123Z"
|
6
|
+
}
|
7
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
{
|
2
|
+
"collection": [
|
3
|
+
{
|
4
|
+
"uri": "https://api.calendly.com/group_relationships/AAAAAAAAAAAAAAAA",
|
5
|
+
"role": "member",
|
6
|
+
"owner": {
|
7
|
+
"type": "OrganizationMembership",
|
8
|
+
"uri": "https://api.calendly.com/organization_memberships/AAAAAAAAAAAAAAAA",
|
9
|
+
"role": "user",
|
10
|
+
"user": {
|
11
|
+
"uri": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA",
|
12
|
+
"name": "John Doe",
|
13
|
+
"slug": "acmesales",
|
14
|
+
"email": "test@example.com",
|
15
|
+
"scheduling_url": "https://calendly.com/acmesales",
|
16
|
+
"timezone": "America/New York",
|
17
|
+
"avatar_url": "https://01234567890.cloudfront.net/uploads/user/avatar/0123456/a1b2c3d4.png",
|
18
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
19
|
+
"updated_at": "2019-08-07T06:05:04.321123Z"
|
20
|
+
},
|
21
|
+
"organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
|
22
|
+
"updated_at": "2019-08-07T06:05:04.321123Z",
|
23
|
+
"created_at": "2019-01-02T03:04:05.678123Z"
|
24
|
+
},
|
25
|
+
"organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
|
26
|
+
"group": "https://api.calendly.com/groups/AAAAAAAAAAAAAAAA",
|
27
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
28
|
+
"updated_at": "2019-08-07T06:05:04.321123Z"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"uri": "https://api.calendly.com/group_relationships/AAAAAAAAAAAAAAAA",
|
32
|
+
"role": "admin",
|
33
|
+
"owner": {
|
34
|
+
"type": "OrganizationMembership",
|
35
|
+
"uri": "https://api.calendly.com/organization_memberships/AAAAAAAAAAAAAAAA",
|
36
|
+
"role": "user",
|
37
|
+
"user": {
|
38
|
+
"uri": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA",
|
39
|
+
"name": "John Doe",
|
40
|
+
"slug": "acmesales",
|
41
|
+
"email": "test@example.com",
|
42
|
+
"scheduling_url": "https://calendly.com/acmesales",
|
43
|
+
"timezone": "America/New York",
|
44
|
+
"avatar_url": "https://01234567890.cloudfront.net/uploads/user/avatar/0123456/a1b2c3d4.png",
|
45
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
46
|
+
"updated_at": "2019-08-07T06:05:04.321123Z"
|
47
|
+
},
|
48
|
+
"organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
|
49
|
+
"updated_at": "2019-08-07T06:05:04.321123Z",
|
50
|
+
"created_at": "2019-01-02T03:04:05.678123Z"
|
51
|
+
},
|
52
|
+
"organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
|
53
|
+
"group": "https://api.calendly.com/groups/AAAAAAAAAAAAAAAA",
|
54
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
55
|
+
"updated_at": "2019-08-07T06:05:04.321123Z"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"uri": "https://api.calendly.com/group_relationships/AAAAAAAAAAAAAAAA",
|
59
|
+
"role": "member",
|
60
|
+
"owner": {
|
61
|
+
"type": "OrganizationInvitation",
|
62
|
+
"uri": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA/invitations/BBBBBBBBBBBBBBBB",
|
63
|
+
"organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
|
64
|
+
"email": "test@example.com",
|
65
|
+
"status": "pending",
|
66
|
+
"created_at": "2019-08-07T06:05:04.321123Z",
|
67
|
+
"updated_at": "2019-01-02T03:04:05.678123Z",
|
68
|
+
"last_sent_at": "2019-01-02T03:04:05.678123Z"
|
69
|
+
},
|
70
|
+
"organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
|
71
|
+
"group": "https://api.calendly.com/groups/AAAAAAAAAAAAAAAA",
|
72
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
73
|
+
"updated_at": "2019-08-07T06:05:04.321123Z"
|
74
|
+
}
|
75
|
+
],
|
76
|
+
"pagination": {
|
77
|
+
"count": 20,
|
78
|
+
"next_page": "https://api.calendly.com/group_relationships?count=1&page_token=sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi",
|
79
|
+
"previous_page": "https://api.calendly.com/group_relationships?count=1&page_token=VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H",
|
80
|
+
"next_page_token": "sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi",
|
81
|
+
"previous_page_token": "VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H"
|
82
|
+
}
|
83
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
{
|
2
|
+
"resource": {
|
3
|
+
"uri": "https://api.calendly.com/group_relationships/AAAAAAAAAAAAAAAA",
|
4
|
+
"role": "member",
|
5
|
+
"owner": {
|
6
|
+
"type": "OrganizationMembership",
|
7
|
+
"uri": "https://api.calendly.com/organization_memberships/AAAAAAAAAAAAAAAA",
|
8
|
+
"role": "user",
|
9
|
+
"user": {
|
10
|
+
"uri": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA",
|
11
|
+
"name": "John Doe",
|
12
|
+
"slug": "acmesales",
|
13
|
+
"email": "test@example.com",
|
14
|
+
"scheduling_url": "https://calendly.com/acmesales",
|
15
|
+
"timezone": "America/New York",
|
16
|
+
"avatar_url": "https://01234567890.cloudfront.net/uploads/user/avatar/0123456/a1b2c3d4.png",
|
17
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
18
|
+
"updated_at": "2019-08-07T06:05:04.321123Z"
|
19
|
+
},
|
20
|
+
"organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
|
21
|
+
"updated_at": "2019-08-07T06:05:04.321123Z",
|
22
|
+
"created_at": "2019-01-02T03:04:05.678123Z"
|
23
|
+
},
|
24
|
+
"organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
|
25
|
+
"group": "https://api.calendly.com/groups/AAAAAAAAAAAAAAAA",
|
26
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
27
|
+
"updated_at": "2019-08-07T06:05:04.321123Z"
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"collection": [
|
3
|
+
{
|
4
|
+
"uri": "https://api.calendly.com/groups/AAAAAAAAAAAAAAAA",
|
5
|
+
"name": "Sales Team",
|
6
|
+
"organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
|
7
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
8
|
+
"updated_at": "2019-08-07T06:05:04.321123Z",
|
9
|
+
"member_count": 0
|
10
|
+
}
|
11
|
+
],
|
12
|
+
"pagination": {
|
13
|
+
"count": 20,
|
14
|
+
"next_page": "https://api.calendly.com/event_types?count=1&page_token=sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi",
|
15
|
+
"previous_page": "https://api.calendly.com/event_types?count=1&page_token=VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H",
|
16
|
+
"next_page_token": "sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi",
|
17
|
+
"previous_page_token": "VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H"
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{
|
2
|
+
"resource": {
|
3
|
+
"uri": "https://api.calendly.com/groups/AAAAAAAAAAAAAAAA",
|
4
|
+
"name": "Sales Team",
|
5
|
+
"organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
|
6
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
7
|
+
"updated_at": "2019-08-07T06:05:04.321123Z"
|
8
|
+
}
|
9
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"occurred_at": "2020-01-02T03:04:05.678Z",
|
3
|
+
"uri": "https://api.calendly.com/activity_log_entries/ALFKJELNCLKSJDLKFJGELKJ",
|
4
|
+
"namespace": "User",
|
5
|
+
"action": "Add",
|
6
|
+
"actor": {
|
7
|
+
"uri": "https://api.calendly.com/users/SDLKJENFJKD123",
|
8
|
+
"type": "User",
|
9
|
+
"organization": {
|
10
|
+
"uri": "https://api.calendly.com/organizations/LKJENFLKE293847",
|
11
|
+
"role": "Owner"
|
12
|
+
},
|
13
|
+
"group": {
|
14
|
+
"uri": "https://api.calendly.com/groups/123987DJLKJEF",
|
15
|
+
"name": "Development",
|
16
|
+
"role": "Admin"
|
17
|
+
},
|
18
|
+
"display_name": "Test User",
|
19
|
+
"alternative_identifier": "testuser@example.com"
|
20
|
+
},
|
21
|
+
"fully_qualified_name": "User.Add",
|
22
|
+
"details": {},
|
23
|
+
"organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAA"
|
24
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"type": "calendly",
|
3
|
+
"start_time": "2020-01-02T20:00:00.000000Z",
|
4
|
+
"end_time": "2020-01-02T20:30:00.000000Z",
|
5
|
+
"buffered_start_time": "2020-01-02T19:30:00.000000Z",
|
6
|
+
"buffered_end_time": "2020-01-02T21:00:00.000000Z",
|
7
|
+
"event": {
|
8
|
+
"uri": "https://api.calendly.com/scheduled_events/abc123"
|
9
|
+
}
|
10
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
{
|
2
|
+
"uri": "https://api.calendly.com/user_availability_schedule/abc123",
|
3
|
+
"default": true,
|
4
|
+
"name": "Working Hours",
|
5
|
+
"user": "https://api.calendly.com/users/abc123",
|
6
|
+
"rules": [
|
7
|
+
{
|
8
|
+
"type": "wday",
|
9
|
+
"intervals": [
|
10
|
+
{
|
11
|
+
"from": "08:30",
|
12
|
+
"to": "17:00"
|
13
|
+
}
|
14
|
+
],
|
15
|
+
"wday": "monday"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"type": "wday",
|
19
|
+
"intervals": [
|
20
|
+
{
|
21
|
+
"from": "08:30",
|
22
|
+
"to": "17:00"
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"wday": "tuesday"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"type": "wday",
|
29
|
+
"intervals": [],
|
30
|
+
"wday": "wednesday"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"type": "wday",
|
34
|
+
"intervals": [
|
35
|
+
{
|
36
|
+
"from": "08:30",
|
37
|
+
"to": "17:00"
|
38
|
+
}
|
39
|
+
],
|
40
|
+
"wday": "thursday"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"type": "wday",
|
44
|
+
"intervals": [
|
45
|
+
{
|
46
|
+
"from": "08:30",
|
47
|
+
"to": "17:00"
|
48
|
+
}
|
49
|
+
],
|
50
|
+
"wday": "friday"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"type": "wday",
|
54
|
+
"intervals": [],
|
55
|
+
"wday": "saturday"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"type": "date",
|
59
|
+
"intervals": [
|
60
|
+
{
|
61
|
+
"from": "08:30",
|
62
|
+
"to": "09:30"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"date": "2028-12-31"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"timezone": "America\\/New_York"
|
69
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
{
|
2
|
+
"uri": "https://api.calendly.com/scheduled_events/GBGBDCAADAEDCRZ2",
|
3
|
+
"name": "15 Minute Meeting",
|
4
|
+
"meeting_notes_plain": "Internal meeting notes",
|
5
|
+
"meeting_notes_html": "<p>Internal meeting notes</p>",
|
6
|
+
"status": "active",
|
7
|
+
"start_time": "2019-08-24T14:15:22.123456Z",
|
8
|
+
"end_time": "2019-08-24T14:15:22.123456Z",
|
9
|
+
"event_type": "https://api.calendly.com/event_types/GBGBDCAADAEDCRZ2",
|
10
|
+
"location": {
|
11
|
+
"type": "physical",
|
12
|
+
"location": "string",
|
13
|
+
"additional_info": "string"
|
14
|
+
},
|
15
|
+
"invitees_counter": {
|
16
|
+
"total": 0,
|
17
|
+
"active": 0,
|
18
|
+
"limit": 0
|
19
|
+
},
|
20
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
21
|
+
"updated_at": "2019-01-02T03:04:05.678123Z",
|
22
|
+
"event_memberships": [
|
23
|
+
{
|
24
|
+
"user": "https://api.calendly.com/users/GBGBDCAADAEDCRZ2",
|
25
|
+
"user_email": "user@example.com",
|
26
|
+
"user_name": "John Smith"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"event_guests": [
|
30
|
+
{
|
31
|
+
"email": "user@example.com",
|
32
|
+
"created_at": "2019-08-24T14:15:22.123456Z",
|
33
|
+
"updated_at": "2019-08-24T14:15:22.123456Z"
|
34
|
+
}
|
35
|
+
]
|
36
|
+
}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
{
|
2
|
+
"uri": "https://api.calendly.com/event_types/AAAAAAAAAAAAAAAA",
|
3
|
+
"name": "15 Minute Meeting",
|
4
|
+
"active": true,
|
5
|
+
"booking_method": "instant",
|
6
|
+
"slug": "acmesales",
|
7
|
+
"scheduling_url": "https://calendly.com/acmesales",
|
8
|
+
"duration": 30,
|
9
|
+
"kind": "solo",
|
10
|
+
"pooling_type": "round_robin",
|
11
|
+
"type": "StandardEventType",
|
12
|
+
"color": "#fff200",
|
13
|
+
"created_at": "2019-01-02T03:04:05.678123Z",
|
14
|
+
"updated_at": "2019-08-07T06:05:04.321123Z",
|
15
|
+
"internal_note": "Event type note",
|
16
|
+
"description_plain": "Event type description",
|
17
|
+
"description_html": "<p>Event type description</p>",
|
18
|
+
"profile": {
|
19
|
+
"type": "User",
|
20
|
+
"name": "Tamara Jones",
|
21
|
+
"owner": "https://api.calendly.com/users/ABC123"
|
22
|
+
},
|
23
|
+
"secret": true,
|
24
|
+
"deleted_at": null,
|
25
|
+
"admin_managed": false,
|
26
|
+
"locations": [
|
27
|
+
{
|
28
|
+
"kind": "inbound_call",
|
29
|
+
"phone_number": 380934567654,
|
30
|
+
"additional_info": "Additional information about location"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"position": 0,
|
34
|
+
"custom_questions": [
|
35
|
+
{
|
36
|
+
"name": "Company Name",
|
37
|
+
"type": "string",
|
38
|
+
"position": 0,
|
39
|
+
"enabled": true,
|
40
|
+
"required": true,
|
41
|
+
"answer_choices": null,
|
42
|
+
"include_other": false
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"name": "What would you like to discuss?",
|
46
|
+
"type": "text",
|
47
|
+
"position": 0,
|
48
|
+
"enabled": true,
|
49
|
+
"required": true,
|
50
|
+
"answer_choices": null,
|
51
|
+
"include_other": false
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"name": "Number of employees",
|
55
|
+
"answer_choices": [
|
56
|
+
"1",
|
57
|
+
"2-10",
|
58
|
+
"11-20",
|
59
|
+
"20+"
|
60
|
+
],
|
61
|
+
"enabled": true,
|
62
|
+
"include_other": true,
|
63
|
+
"position": 2,
|
64
|
+
"required": false,
|
65
|
+
"type": "single_select"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"name": "Multi-Select Question",
|
69
|
+
"answer_choices": [
|
70
|
+
"Answer 1",
|
71
|
+
"Answer 2",
|
72
|
+
"Answer 3",
|
73
|
+
"Answer 4"
|
74
|
+
],
|
75
|
+
"enabled": true,
|
76
|
+
"include_other": true,
|
77
|
+
"position": 2,
|
78
|
+
"required": false,
|
79
|
+
"type": "multi_select"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"name": "Phone Number",
|
83
|
+
"type": "phone_number",
|
84
|
+
"position": 0,
|
85
|
+
"enabled": true,
|
86
|
+
"required": true,
|
87
|
+
"answer_choices": null,
|
88
|
+
"include_other": false
|
89
|
+
}
|
90
|
+
]
|
91
|
+
}
|