calendlyr 0.6.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +7 -8
  3. data/CHANGELOG.md +7 -2
  4. data/README.md +59 -140
  5. data/calendlyr.gemspec +0 -1
  6. data/docs/resources/activity_log/list_activity_log_entries.md +34 -0
  7. data/docs/resources/availabilities/availability_rule.md +5 -0
  8. data/docs/resources/availabilities/user_availability_schedule.md +50 -0
  9. data/docs/resources/availabilities/user_busy_time.md +28 -0
  10. data/docs/resources/data_compliance.md +19 -0
  11. data/docs/resources/event_types/available_time.md +21 -0
  12. data/docs/resources/event_types/event_type.md +55 -0
  13. data/docs/resources/event_types/membership.md +29 -0
  14. data/docs/resources/event_types/profile.md +13 -0
  15. data/docs/resources/events/cancellation.md +18 -0
  16. data/docs/resources/events/event.md +62 -0
  17. data/docs/resources/events/guest.md +5 -0
  18. data/docs/resources/events/invitee.md +28 -0
  19. data/docs/resources/events/invitee_no_show.md +49 -0
  20. data/docs/resources/groups/group.md +56 -0
  21. data/docs/resources/groups/relationship.md +54 -0
  22. data/docs/resources/organizations/invitation.md +65 -0
  23. data/docs/resources/organizations/membership.md +58 -0
  24. data/docs/resources/organizations/organization.md +149 -0
  25. data/docs/resources/pagination.md +21 -0
  26. data/docs/resources/routing_forms/routing_form.md +48 -0
  27. data/docs/resources/routing_forms/submission.md +40 -0
  28. data/docs/resources/scheduling_link.md +26 -0
  29. data/docs/resources/share.md +28 -0
  30. data/docs/resources/user.md +111 -0
  31. data/docs/resources/webhooks/invitee_payload.md +42 -0
  32. data/docs/resources/webhooks/payload.md +5 -0
  33. data/docs/resources/webhooks/subscription.md +96 -0
  34. data/lib/calendlyr/client.rb +18 -2
  35. data/lib/calendlyr/collection.rb +2 -2
  36. data/lib/calendlyr/error.rb +37 -1
  37. data/lib/calendlyr/object.rb +6 -2
  38. data/lib/calendlyr/objects/activity_log.rb +11 -0
  39. data/lib/calendlyr/objects/availabilities/rule.rb +4 -0
  40. data/lib/calendlyr/objects/availabilities/user_busy_time.rb +7 -0
  41. data/lib/calendlyr/objects/availabilities/user_schedule.rb +13 -0
  42. data/lib/calendlyr/objects/event.rb +11 -0
  43. data/lib/calendlyr/objects/event_type.rb +15 -0
  44. data/lib/calendlyr/objects/event_types/available_time.rb +4 -0
  45. data/lib/calendlyr/objects/event_types/membership.rb +11 -0
  46. data/lib/calendlyr/objects/event_types/profile.rb +7 -0
  47. data/lib/calendlyr/objects/events/cancellation.rb +4 -0
  48. data/lib/calendlyr/objects/events/guest.rb +4 -0
  49. data/lib/calendlyr/objects/events/invitee.rb +11 -0
  50. data/lib/calendlyr/objects/events/invitee_no_show.rb +7 -0
  51. data/lib/calendlyr/objects/group.rb +15 -0
  52. data/lib/calendlyr/objects/groups/relationship.rb +15 -0
  53. data/lib/calendlyr/objects/organization.rb +67 -0
  54. data/lib/calendlyr/objects/organizations/invitation.rb +15 -0
  55. data/lib/calendlyr/objects/organizations/membership.rb +15 -0
  56. data/lib/calendlyr/objects/routing_form.rb +11 -0
  57. data/lib/calendlyr/objects/routing_forms/submission.rb +7 -0
  58. data/lib/calendlyr/objects/scheduling_link.rb +9 -0
  59. data/lib/calendlyr/objects/share.rb +9 -0
  60. data/lib/calendlyr/objects/user.rb +31 -0
  61. data/lib/calendlyr/objects/webhooks/invitee_payload.rb +15 -0
  62. data/lib/calendlyr/objects/webhooks/payload.rb +4 -0
  63. data/lib/calendlyr/objects/webhooks/subscription.rb +23 -0
  64. data/lib/calendlyr/resource.rb +2 -2
  65. data/lib/calendlyr/resources/availability.rb +19 -0
  66. data/lib/calendlyr/resources/data_compliance.rb +4 -0
  67. data/lib/calendlyr/resources/event.rb +40 -0
  68. data/lib/calendlyr/resources/event_type.rb +28 -0
  69. data/lib/calendlyr/resources/group.rb +22 -0
  70. data/lib/calendlyr/resources/organization.rb +40 -0
  71. data/lib/calendlyr/resources/outgoing_communication.rb +8 -0
  72. data/lib/calendlyr/resources/routing_form.rb +22 -0
  73. data/lib/calendlyr/resources/{scheduling_links.rb → scheduling_link.rb} +2 -2
  74. data/lib/calendlyr/resources/share.rb +8 -0
  75. data/lib/calendlyr/resources/user.rb +11 -0
  76. data/lib/calendlyr/resources/webhook.rb +25 -0
  77. data/lib/calendlyr/version.rb +1 -1
  78. data/lib/calendlyr.rb +70 -18
  79. data/test/calendlyr/objects/activity_log_test.rb +26 -0
  80. data/test/calendlyr/objects/availabilities/rule_test.rb +24 -0
  81. data/test/calendlyr/objects/availabilities/user_busy_time_test.rb +21 -0
  82. data/test/calendlyr/objects/availabilities/user_schedule_test.rb +26 -0
  83. data/test/calendlyr/objects/event_test.rb +32 -0
  84. data/test/calendlyr/objects/event_type_test.rb +43 -0
  85. data/test/calendlyr/objects/event_types/available_time_test.rb +20 -0
  86. data/test/calendlyr/objects/event_types/membership_test.rb +32 -0
  87. data/test/calendlyr/objects/event_types/profile_test.rb +23 -0
  88. data/test/calendlyr/objects/events/cancellation_test.rb +16 -0
  89. data/test/calendlyr/objects/events/guest_test.rb +16 -0
  90. data/test/calendlyr/objects/events/invitee_no_show_test.rb +23 -0
  91. data/test/calendlyr/objects/events/invitee_test.rb +35 -0
  92. data/test/calendlyr/objects/group_test.rb +40 -0
  93. data/test/calendlyr/objects/groups/relationship_test.rb +43 -0
  94. data/test/calendlyr/objects/organization_test.rb +157 -0
  95. data/test/calendlyr/objects/organizations/invitation_test.rb +34 -0
  96. data/test/calendlyr/objects/organizations/membership_test.rb +38 -0
  97. data/test/calendlyr/objects/routing_form_test.rb +26 -0
  98. data/test/calendlyr/objects/routing_forms/submission_test.rb +22 -0
  99. data/test/calendlyr/objects/scheduling_link_test.rb +17 -0
  100. data/test/calendlyr/objects/share_test.rb +19 -0
  101. data/test/calendlyr/objects/user_test.rb +81 -0
  102. data/test/calendlyr/objects/webhooks/invite_payload_test.rb +42 -0
  103. data/test/calendlyr/objects/webhooks/payload_test.rb +16 -0
  104. data/test/calendlyr/objects/webhooks/subscription_test.rb +42 -0
  105. data/test/calendlyr/resource_test.rb +12 -3
  106. data/test/calendlyr/resources/availabilities/user_busy_times_test.rb +31 -0
  107. data/test/calendlyr/resources/availabilities/user_schedules_test.rb +37 -0
  108. data/test/calendlyr/resources/data_compliance_test.rb +11 -0
  109. data/test/calendlyr/resources/event_types/membership_test.rb +22 -0
  110. data/test/calendlyr/resources/event_types_test.rb +55 -10
  111. data/test/calendlyr/resources/events/invitee_test.rb +31 -0
  112. data/test/calendlyr/resources/events_test.rb +22 -10
  113. data/test/calendlyr/resources/groups_test.rb +26 -0
  114. data/test/calendlyr/resources/organizations_test.rb +36 -100
  115. data/test/calendlyr/resources/outgoing_communications_test.rb +16 -0
  116. data/test/calendlyr/resources/scheduling_links_test.rb +1 -1
  117. data/test/calendlyr/resources/users_test.rb +9 -33
  118. data/test/calendlyr/resources/webhooks_test.rb +22 -13
  119. data/test/fixtures/activity_log/list.json +38 -0
  120. data/test/fixtures/availabilities/user_busy_times_list.json +39 -0
  121. data/test/fixtures/availabilities/user_schedules_list.json +93 -0
  122. data/test/fixtures/availabilities/user_schedules_retrieve.json +22 -0
  123. data/test/fixtures/data_compliance/delete_scheduled_event_data.json +1 -0
  124. data/test/fixtures/event_invitees/list.json +6 -6
  125. data/test/fixtures/event_invitees/retrieve.json +3 -3
  126. data/test/fixtures/event_type_available_times/list.json +22 -0
  127. data/test/fixtures/event_type_hosts/list.json +76 -0
  128. data/test/fixtures/event_types/create_one_off.json +45 -0
  129. data/test/fixtures/event_types/list.json +18 -4
  130. data/test/fixtures/event_types/retrieve.json +13 -2
  131. data/test/fixtures/events/cancel_invitee.json +8 -0
  132. data/test/fixtures/events/create_invitee_no_show.json +7 -0
  133. data/test/fixtures/events/delete_invitee_no_show.json +1 -0
  134. data/test/fixtures/events/retrieve_invitee_no_show.json +7 -0
  135. data/test/fixtures/group_relationships/list.json +83 -0
  136. data/test/fixtures/group_relationships/retrieve.json +29 -0
  137. data/test/fixtures/groups/list.json +19 -0
  138. data/test/fixtures/groups/retrieve.json +9 -0
  139. data/test/fixtures/objects/activity_log.json +24 -0
  140. data/test/fixtures/objects/availabilities/rule.json +10 -0
  141. data/test/fixtures/objects/availabilities/user_busy_time.json +10 -0
  142. data/test/fixtures/objects/availabilities/user_schedule.json +69 -0
  143. data/test/fixtures/objects/availability_rule.json +10 -0
  144. data/test/fixtures/objects/event.json +36 -0
  145. data/test/fixtures/objects/event_type.json +91 -0
  146. data/test/fixtures/objects/event_type_host.json +65 -0
  147. data/test/fixtures/objects/event_types/available_time.json +6 -0
  148. data/test/fixtures/objects/event_types/membership.json +65 -0
  149. data/test/fixtures/objects/event_types/profile.json +5 -0
  150. data/test/fixtures/objects/events/cancellation.json +6 -0
  151. data/test/fixtures/objects/events/guest.json +5 -0
  152. data/test/fixtures/objects/events/invitee.json +46 -0
  153. data/test/fixtures/objects/events/invitee_no_show.json +5 -0
  154. data/test/fixtures/objects/group.json +7 -0
  155. data/test/fixtures/objects/groups/relationship.json +27 -0
  156. data/test/fixtures/objects/organization.json +8 -0
  157. data/test/fixtures/objects/organizations/invitation.json +10 -0
  158. data/test/fixtures/objects/organizations/membership.json +18 -0
  159. data/test/fixtures/objects/routing_form.json +28 -0
  160. data/test/fixtures/objects/routing_forms/submission.json +27 -0
  161. data/test/fixtures/objects/scheduling_links/event_type.json +5 -0
  162. data/test/fixtures/objects/share.json +43 -0
  163. data/test/fixtures/objects/user.json +13 -0
  164. data/test/fixtures/objects/webhooks/invite_payload.json +83 -0
  165. data/test/fixtures/objects/webhooks/payload.json +66 -0
  166. data/test/fixtures/objects/webhooks/subscription.json +15 -0
  167. data/test/fixtures/organization_memberships/list.json +29 -0
  168. data/test/fixtures/organization_memberships/retrieve.json +20 -0
  169. data/test/fixtures/organizations/list_invitations.json +4 -4
  170. data/test/fixtures/organizations/list_memberships.json +12 -9
  171. data/test/fixtures/organizations/retrieve_invitation.json +3 -3
  172. data/test/fixtures/organizations/retrieve_membership.json +3 -3
  173. data/test/fixtures/outgoing_communications/list.json +26 -0
  174. data/test/fixtures/resources/401.json +2 -2
  175. data/test/fixtures/resources/403.json +1 -1
  176. data/test/fixtures/resources/403_payment_required.json +4 -0
  177. data/test/fixtures/resources/424.json +4 -0
  178. data/test/fixtures/routing_forms/list.json +39 -0
  179. data/test/fixtures/routing_forms/list_routing_form_submission.json +38 -0
  180. data/test/fixtures/routing_forms/retrieve.json +30 -0
  181. data/test/fixtures/routing_forms/retrieve_routing_form_submission.json +29 -0
  182. data/test/fixtures/shares/create.json +45 -0
  183. data/test/fixtures/user_availability_schedules/list.json +93 -0
  184. data/test/fixtures/user_availability_schedules/retrieve.json +22 -0
  185. data/test/fixtures/user_busy_times/list.json +39 -0
  186. data/test/fixtures/users/reload.json +5 -4
  187. data/test/fixtures/users/retrieve.json +5 -4
  188. data/test/fixtures/webhooks/create.json +4 -4
  189. data/test/fixtures/webhooks/list.json +4 -4
  190. data/test/fixtures/webhooks/retrieve.json +4 -4
  191. data/test/fixtures/webhooks/sample.json +105 -0
  192. metadata +159 -62
  193. data/lib/calendlyr/objects/event_invitees.rb +0 -4
  194. data/lib/calendlyr/objects/event_types.rb +0 -4
  195. data/lib/calendlyr/objects/events.rb +0 -4
  196. data/lib/calendlyr/objects/invitations.rb +0 -11
  197. data/lib/calendlyr/objects/memberships.rb +0 -7
  198. data/lib/calendlyr/objects/organizations.rb +0 -35
  199. data/lib/calendlyr/objects/scheduling_links.rb +0 -4
  200. data/lib/calendlyr/objects/users.rb +0 -19
  201. data/lib/calendlyr/objects/webhooks.rb +0 -11
  202. data/lib/calendlyr/resources/event_invitees.rb +0 -12
  203. data/lib/calendlyr/resources/event_types.rb +0 -12
  204. data/lib/calendlyr/resources/events.rb +0 -12
  205. data/lib/calendlyr/resources/organizations.rb +0 -33
  206. data/lib/calendlyr/resources/users.rb +0 -11
  207. data/lib/calendlyr/resources/webhooks.rb +0 -21
  208. data/test/calendlyr/resources/event_invitees_test.rb +0 -29
  209. data/test/fixtures/resources/409.json +0 -4
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "collection": [
3
3
  {
4
- "uri": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA/invitations/AAAAAAAAAAAAAAAA",
5
- "organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
4
+ "uri": "https://api.calendly.com/organizations/abc123/invitations/abc123",
5
+ "organization": "https://api.calendly.com/organizations/abc123",
6
6
  "email": "test@example.com",
7
7
  "status": "accepted",
8
8
  "created_at": "2019-08-07T06:05:04.321Z",
9
9
  "updated_at": "2019-01-02T03:04:05.678Z",
10
10
  "last_sent_at": "2019-01-02T03:04:05.678Z",
11
- "user": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA"
11
+ "user": "https://api.calendly.com/users/abc123"
12
12
  }
13
13
  ],
14
14
  "pagination": {
15
15
  "count": 1,
16
- "next_page": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA/invitations?count=1&page_token=sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi"
16
+ "next_page": "https://api.calendly.com/organizations/abc123/invitations?count=1&page_token=sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi"
17
17
  }
18
18
  }
@@ -1,26 +1,29 @@
1
1
  {
2
2
  "collection": [
3
3
  {
4
- "uri": "https://api.calendly.com/organization_memberships/AAAAAAAAAAAAAAAA",
4
+ "uri": "https://api.calendly.com/organization_memberships/abc123",
5
5
  "role": "admin",
6
6
  "user": {
7
- "uri": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA",
7
+ "uri": "https://api.calendly.com/users/abc123",
8
8
  "name": "John Doe",
9
9
  "slug": "acmesales",
10
10
  "email": "test@example.com",
11
11
  "scheduling_url": "https://calendly.com/acmesales",
12
12
  "timezone": "America/New York",
13
13
  "avatar_url": "https://01234567890.cloudfront.net/uploads/user/avatar/0123456/a1b2c3d4.png",
14
- "created_at": "2019-01-02T03:04:05.678Z",
15
- "updated_at": "2019-08-07T06:05:04.321Z"
14
+ "created_at": "2019-01-02T03:04:05.678123Z",
15
+ "updated_at": "2019-08-07T06:05:04.321123Z"
16
16
  },
17
- "organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
18
- "updated_at": "2019-08-07T06:05:04.321Z",
19
- "created_at": "2019-01-02T03:04:05.678Z"
17
+ "organization": "https://api.calendly.com/organizations/abc123",
18
+ "updated_at": "2019-08-07T06:05:04.321123Z",
19
+ "created_at": "2019-01-02T03:04:05.678123Z"
20
20
  }
21
21
  ],
22
22
  "pagination": {
23
- "count": 1,
24
- "next_page": "https://api.calendly.com/organization_memberships/AAAAAAAAAAAAAAAA?count=1&page_token=sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi"
23
+ "count": 20,
24
+ "next_page": "https://api.calendly.com/organization_memberships/abc123?count=1&page_token=sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi",
25
+ "previous_page": "https://api.calendly.com/organization_memberships/abc123?count=1&page_token=VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H",
26
+ "next_page_token": "sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi",
27
+ "previous_page_token": "VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H"
25
28
  }
26
29
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "resource": {
3
- "uri": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA/invitations/AAAAAAAAAAAAAAAA",
4
- "organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
3
+ "uri": "https://api.calendly.com/organizations/abc123/invitations/abc123",
4
+ "organization": "https://api.calendly.com/organizations/abc123",
5
5
  "email": "test@example.com",
6
6
  "status": "accepted",
7
7
  "created_at": "2019-08-07T06:05:04.321Z",
8
8
  "updated_at": "2019-01-02T03:04:05.678Z",
9
9
  "last_sent_at": "2019-01-02T03:04:05.678Z",
10
- "user": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA"
10
+ "user": "https://api.calendly.com/users/abc123"
11
11
  }
12
12
  }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "resource": {
3
- "uri": "https://api.calendly.com/organization_memberships/AAAAAAAAAAAAAAAA",
3
+ "uri": "https://api.calendly.com/organization_memberships/abc123",
4
4
  "role": "admin",
5
5
  "user": {
6
- "uri": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA",
6
+ "uri": "https://api.calendly.com/users/abc123",
7
7
  "name": "John Doe",
8
8
  "slug": "acmesales",
9
9
  "email": "test@example.com",
@@ -13,7 +13,7 @@
13
13
  "created_at": "2019-01-02T03:04:05.678Z",
14
14
  "updated_at": "2019-08-07T06:05:04.321Z"
15
15
  },
16
- "organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
16
+ "organization": "https://api.calendly.com/organizations/abc123",
17
17
  "updated_at": "2019-08-07T06:05:04.321Z",
18
18
  "created_at": "2019-01-02T03:04:05.678Z"
19
19
  }
@@ -0,0 +1,26 @@
1
+ {
2
+ "collection": [
3
+ {
4
+ "type": "sms",
5
+ "to": "+14047549876",
6
+ "from": "+14042916667",
7
+ "subject": "",
8
+ "body": "Your scheduled event is coming up.",
9
+ "sender_uri": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA",
10
+ "sender_email": "user@example.com",
11
+ "event_type_uri": "https://api.calendly.com/event_types/AAAAAAAAAAAAAAAA",
12
+ "event_uri": "https://api.calendly.com/scheduled_events/ABCDABCDABCDABCD",
13
+ "sent_at": "2023-09-24T11:12:13.145Z",
14
+ "created_at": "2023-09-24T11:12:13.145Z",
15
+ "scheduling_url": "https://calendly.com/event/name"
16
+ }
17
+ ],
18
+ "pagination": {
19
+ "count": 20,
20
+ "next_page": "https://api.calendly.com/event_types?count=1&page_token=sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi",
21
+ "previous_page": "https://api.calendly.com/event_types?count=1&page_token=VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H",
22
+ "next_page_token": "sNjq4TvMDfUHEl7zHRR0k0E1PCEJWvdi",
23
+ "previous_page_token": "VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H"
24
+ },
25
+ "total_count": 0
26
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
- "title": "Invalid Argument",
3
- "message": "The supplied parameters are invalid.",
2
+ "title": "Unauthenticated",
3
+ "message": "The access token is invalid",
4
4
  "details": [
5
5
  {
6
6
  "parameter": "string",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "title": "Permission Denied",
3
- "message": "This user is not in your organization",
3
+ "message": "You do not have permission to access this resource.",
4
4
  "details": [
5
5
  {
6
6
  "parameter": "string",
@@ -0,0 +1,4 @@
1
+ {
2
+ "title": "Permission Denied",
3
+ "message": "Please upgrade your Calendly account to Enterprise. You do not have permission to access this resource."
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "title": "External Calendar Error",
3
+ "message": "There is a problem accessing your calendar."
4
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "collection": [
3
+ {
4
+ "uri": "https://api.calendly.com/routing_forms/AAAAAAAAAAAAAAAA",
5
+ "organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA",
6
+ "name": "ACME Demo",
7
+ "status": "published",
8
+ "questions": [
9
+ {
10
+ "uuid": "123e4567-e89b-12d3-a456-426614174000",
11
+ "name": "What is your industry?",
12
+ "type": "select",
13
+ "required": true,
14
+ "answer_choices": [
15
+ "IT & Software",
16
+ "Financial Services",
17
+ "Entertainment"
18
+ ]
19
+ },
20
+ {
21
+ "uuid": "1213f8f1-57fd-45ee-88e9-1978d35b5cad",
22
+ "name": "Email",
23
+ "type": "email",
24
+ "required": true,
25
+ "answer_choices": null
26
+ }
27
+ ],
28
+ "created_at": "2022-05-15T03:04:05.678Z",
29
+ "updated_at": "2022-05-15T06:05:04.321Z"
30
+ }
31
+ ],
32
+ "pagination": {
33
+ "count": 20,
34
+ "next_page": "https://api.calendly.com/routing_forms?count=1&page_token=d8T0LKQ1XsC2utmPlI7TFPpHX4SSfoGl",
35
+ "previous_page": "https://api.calendly.com/routing_forms?count=1&page_token=VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H",
36
+ "next_page_token": "d8T0LKQ1XsC2utmPlI7TFPpHX4SSfoGl",
37
+ "previous_page_token": "VJs2rfDYeY8ahZpq0QI1O114LJkNjd7H"
38
+ }
39
+ }
@@ -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/AAAAAAAAAAAAAAAA",
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.678Z",
11
- "updated_at": "2019-08-07T06:05:04.321Z",
12
- "current_organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA"
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/AAAAAAAAAAAAAAAA",
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.678Z",
11
- "updated_at": "2019-08-07T06:05:04.321Z",
12
- "current_organization": "https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA"
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/AAAAAAAAAAAAAAAA",
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/AAAAAAAAAAAAAAAA",
14
- "user": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA",
15
- "creator": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA"
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/AAAAAAAAAAAAAAAA",
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/AAAAAAAAAAAAAAAA",
15
- "user": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA",
16
- "creator": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA"
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/AAAAAAAAAAAAAAAA",
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/AAAAAAAAAAAAAAAA",
14
- "user": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA",
15
- "creator": "https://api.calendly.com/users/AAAAAAAAAAAAAAAA"
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
  }